Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

d/aws_service: Migrate from AWS SDK for Go v1 #39455

Merged
merged 256 commits into from
Sep 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
256 commits
Select commit Hold shift + click to select a range
7ce80e1
go get github.com/aws/aws-sdk-go-v2/feature/s3/manager.
ewbankkit Sep 24, 2024
843c437
go get github.com/aws/aws-sdk-go-v2/service/accessanalyzer.
ewbankkit Sep 24, 2024
06b844a
go get github.com/aws/aws-sdk-go-v2/service/account.
ewbankkit Sep 24, 2024
1be3b8e
go get github.com/aws/aws-sdk-go-v2/service/acm.
ewbankkit Sep 24, 2024
eb073f2
go get github.com/aws/aws-sdk-go-v2/service/acmpca.
ewbankkit Sep 24, 2024
02ae4c3
go get github.com/aws/aws-sdk-go-v2/service/amp.
ewbankkit Sep 24, 2024
5276225
go get github.com/aws/aws-sdk-go-v2/service/amplify.
ewbankkit Sep 24, 2024
227842b
go get github.com/aws/aws-sdk-go-v2/service/apigateway.
ewbankkit Sep 24, 2024
f490648
go get github.com/aws/aws-sdk-go-v2/service/apigatewayv2.
ewbankkit Sep 24, 2024
ff3c828
go get github.com/aws/aws-sdk-go-v2/service/appconfig.
ewbankkit Sep 24, 2024
195034e
go get github.com/aws/aws-sdk-go-v2/service/appfabric.
ewbankkit Sep 24, 2024
3b48748
go get github.com/aws/aws-sdk-go-v2/service/appflow.
ewbankkit Sep 24, 2024
bab8c28
go get github.com/aws/aws-sdk-go-v2/service/appintegrations.
ewbankkit Sep 24, 2024
b71d673
go get github.com/aws/aws-sdk-go-v2/service/applicationautoscaling.
ewbankkit Sep 24, 2024
9f002ab
go get github.com/aws/aws-sdk-go-v2/service/applicationinsights.
ewbankkit Sep 24, 2024
b3cea37
go get github.com/aws/aws-sdk-go-v2/service/applicationsignals.
ewbankkit Sep 24, 2024
9cf4b63
go get github.com/aws/aws-sdk-go-v2/service/appmesh.
ewbankkit Sep 24, 2024
d332f2b
go get github.com/aws/aws-sdk-go-v2/service/apprunner.
ewbankkit Sep 24, 2024
de57b9b
go get github.com/aws/aws-sdk-go-v2/service/appstream.
ewbankkit Sep 24, 2024
add95de
go get github.com/aws/aws-sdk-go-v2/service/appsync.
ewbankkit Sep 24, 2024
2ca3b30
go get github.com/aws/aws-sdk-go-v2/service/athena.
ewbankkit Sep 24, 2024
190c070
go get github.com/aws/aws-sdk-go-v2/service/auditmanager.
ewbankkit Sep 24, 2024
79e844c
go get github.com/aws/aws-sdk-go-v2/service/autoscaling.
ewbankkit Sep 24, 2024
1d68529
go get github.com/aws/aws-sdk-go-v2/service/autoscalingplans.
ewbankkit Sep 24, 2024
1977180
go get github.com/aws/aws-sdk-go-v2/service/backup.
ewbankkit Sep 24, 2024
511a3fc
go get github.com/aws/aws-sdk-go-v2/service/batch.
ewbankkit Sep 24, 2024
cc47f7f
go get github.com/aws/aws-sdk-go-v2/service/bcmdataexports.
ewbankkit Sep 24, 2024
77e4dd3
go get github.com/aws/aws-sdk-go-v2/service/bedrock.
ewbankkit Sep 24, 2024
2039aa6
go get github.com/aws/aws-sdk-go-v2/service/bedrockagent.
ewbankkit Sep 24, 2024
6b07036
go get github.com/aws/aws-sdk-go-v2/service/budgets.
ewbankkit Sep 24, 2024
8cae6f1
go get github.com/aws/aws-sdk-go-v2/service/chatbot.
ewbankkit Sep 24, 2024
9505418
go get github.com/aws/aws-sdk-go-v2/service/chime.
ewbankkit Sep 24, 2024
46f4d1e
go get github.com/aws/aws-sdk-go-v2/service/chimesdkmediapipelines.
ewbankkit Sep 24, 2024
1979f12
go get github.com/aws/aws-sdk-go-v2/service/chimesdkvoice.
ewbankkit Sep 24, 2024
925a2ef
go get github.com/aws/aws-sdk-go-v2/service/cleanrooms.
ewbankkit Sep 24, 2024
ea61ae9
go get github.com/aws/aws-sdk-go-v2/service/cloud9.
ewbankkit Sep 24, 2024
2aad67d
go get github.com/aws/aws-sdk-go-v2/service/cloudcontrol.
ewbankkit Sep 24, 2024
bdcd937
go get github.com/aws/aws-sdk-go-v2/service/cloudformation.
ewbankkit Sep 24, 2024
a901c86
go get github.com/aws/aws-sdk-go-v2/service/cloudfront.
ewbankkit Sep 24, 2024
d7e6595
go get github.com/aws/aws-sdk-go-v2/service/cloudfrontkeyvaluestore.
ewbankkit Sep 24, 2024
5ecd3b9
go get github.com/aws/aws-sdk-go-v2/service/cloudhsmv2.
ewbankkit Sep 24, 2024
5f7bd3d
go get github.com/aws/aws-sdk-go-v2/service/cloudsearch.
ewbankkit Sep 24, 2024
59b1ae9
go get github.com/aws/aws-sdk-go-v2/service/cloudtrail.
ewbankkit Sep 24, 2024
7448982
go get github.com/aws/aws-sdk-go-v2/service/cloudwatch.
ewbankkit Sep 24, 2024
3306254
go get github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs.
ewbankkit Sep 24, 2024
346328c
go get github.com/aws/aws-sdk-go-v2/service/codeartifact.
ewbankkit Sep 24, 2024
f9d1a85
go get github.com/aws/aws-sdk-go-v2/service/codebuild.
ewbankkit Sep 24, 2024
b088f26
go get github.com/aws/aws-sdk-go-v2/service/codecatalyst.
ewbankkit Sep 24, 2024
108dbde
go get github.com/aws/aws-sdk-go-v2/service/codecommit.
ewbankkit Sep 24, 2024
80fef30
go get github.com/aws/aws-sdk-go-v2/service/codedeploy.
ewbankkit Sep 24, 2024
b96f8a4
go get github.com/aws/aws-sdk-go-v2/service/codeguruprofiler.
ewbankkit Sep 24, 2024
eac57a8
go get github.com/aws/aws-sdk-go-v2/service/codegurureviewer.
ewbankkit Sep 24, 2024
3a15a4d
go get github.com/aws/aws-sdk-go-v2/service/codepipeline.
ewbankkit Sep 24, 2024
6f58966
go get github.com/aws/aws-sdk-go-v2/service/codestarconnections.
ewbankkit Sep 24, 2024
d288a52
go get github.com/aws/aws-sdk-go-v2/service/codestarnotifications.
ewbankkit Sep 24, 2024
eb92ae0
go get github.com/aws/aws-sdk-go-v2/service/cognitoidentity.
ewbankkit Sep 24, 2024
d3cbbf3
go get github.com/aws/aws-sdk-go-v2/service/cognitoidentityprovider.
ewbankkit Sep 24, 2024
6c1e3d9
go get github.com/aws/aws-sdk-go-v2/service/comprehend.
ewbankkit Sep 24, 2024
918a9dc
go get github.com/aws/aws-sdk-go-v2/service/computeoptimizer.
ewbankkit Sep 24, 2024
6787a74
go get github.com/aws/aws-sdk-go-v2/service/configservice.
ewbankkit Sep 24, 2024
2680de6
go get github.com/aws/aws-sdk-go-v2/service/connect.
ewbankkit Sep 24, 2024
5682be6
go get github.com/aws/aws-sdk-go-v2/service/connectcases.
ewbankkit Sep 24, 2024
33a941f
go get github.com/aws/aws-sdk-go-v2/service/controltower.
ewbankkit Sep 24, 2024
6b09179
go get github.com/aws/aws-sdk-go-v2/service/costandusagereportservice.
ewbankkit Sep 24, 2024
f52c750
go get github.com/aws/aws-sdk-go-v2/service/costexplorer.
ewbankkit Sep 24, 2024
78840e5
go get github.com/aws/aws-sdk-go-v2/service/costoptimizationhub.
ewbankkit Sep 24, 2024
ccd24d6
go get github.com/aws/aws-sdk-go-v2/service/customerprofiles.
ewbankkit Sep 24, 2024
14b756b
go get github.com/aws/aws-sdk-go-v2/service/databasemigrationservice.
ewbankkit Sep 24, 2024
518d04e
go get github.com/aws/aws-sdk-go-v2/service/databrew.
ewbankkit Sep 24, 2024
c823322
go get github.com/aws/aws-sdk-go-v2/service/dataexchange.
ewbankkit Sep 24, 2024
754ee90
go get github.com/aws/aws-sdk-go-v2/service/datapipeline.
ewbankkit Sep 24, 2024
5989197
go get github.com/aws/aws-sdk-go-v2/service/datasync.
ewbankkit Sep 24, 2024
5c9220a
go get github.com/aws/aws-sdk-go-v2/service/datazone.
ewbankkit Sep 24, 2024
0843715
go get github.com/aws/aws-sdk-go-v2/service/dax.
ewbankkit Sep 24, 2024
37126dc
go get github.com/aws/aws-sdk-go-v2/service/detective.
ewbankkit Sep 24, 2024
50d9034
go get github.com/aws/aws-sdk-go-v2/service/devicefarm.
ewbankkit Sep 24, 2024
a8025b6
go get github.com/aws/aws-sdk-go-v2/service/devopsguru.
ewbankkit Sep 24, 2024
e690ab7
go get github.com/aws/aws-sdk-go-v2/service/directconnect.
ewbankkit Sep 24, 2024
c3743f5
go get github.com/aws/aws-sdk-go-v2/service/directoryservice.
ewbankkit Sep 24, 2024
dc8d113
go get github.com/aws/aws-sdk-go-v2/service/dlm.
ewbankkit Sep 24, 2024
73b1752
go get github.com/aws/aws-sdk-go-v2/service/docdb.
ewbankkit Sep 24, 2024
7dfead9
go get github.com/aws/aws-sdk-go-v2/service/docdbelastic.
ewbankkit Sep 24, 2024
1e5e18a
go get github.com/aws/aws-sdk-go-v2/service/drs.
ewbankkit Sep 24, 2024
045a561
go get github.com/aws/aws-sdk-go-v2/service/dynamodb.
ewbankkit Sep 24, 2024
5053f0d
go get github.com/aws/aws-sdk-go-v2/service/ec2.
ewbankkit Sep 24, 2024
050574a
go get github.com/aws/aws-sdk-go-v2/service/ecr.
ewbankkit Sep 24, 2024
9ae90d8
go get github.com/aws/aws-sdk-go-v2/service/ecrpublic.
ewbankkit Sep 24, 2024
cadf581
go get github.com/aws/aws-sdk-go-v2/service/ecs.
ewbankkit Sep 24, 2024
0051a57
go get github.com/aws/aws-sdk-go-v2/service/efs.
ewbankkit Sep 24, 2024
a75bc3b
go get github.com/aws/aws-sdk-go-v2/service/eks.
ewbankkit Sep 24, 2024
2630974
go get github.com/aws/aws-sdk-go-v2/service/elasticache.
ewbankkit Sep 24, 2024
5745be6
go get github.com/aws/aws-sdk-go-v2/service/elasticbeanstalk.
ewbankkit Sep 24, 2024
a5d51e1
go get github.com/aws/aws-sdk-go-v2/service/elasticloadbalancing.
ewbankkit Sep 24, 2024
fed0195
go get github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2.
ewbankkit Sep 24, 2024
117e6a3
go get github.com/aws/aws-sdk-go-v2/service/elasticsearchservice.
ewbankkit Sep 24, 2024
d7088b3
go get github.com/aws/aws-sdk-go-v2/service/elastictranscoder.
ewbankkit Sep 24, 2024
01c3a7c
go get github.com/aws/aws-sdk-go-v2/service/emr.
ewbankkit Sep 24, 2024
ec4a46d
go get github.com/aws/aws-sdk-go-v2/service/emrcontainers.
ewbankkit Sep 24, 2024
0c44506
go get github.com/aws/aws-sdk-go-v2/service/emrserverless.
ewbankkit Sep 24, 2024
5fbe672
go get github.com/aws/aws-sdk-go-v2/service/eventbridge.
ewbankkit Sep 24, 2024
c06a8f4
go get github.com/aws/aws-sdk-go-v2/service/evidently.
ewbankkit Sep 24, 2024
874fb5d
go get github.com/aws/aws-sdk-go-v2/service/finspace.
ewbankkit Sep 24, 2024
90d9d1f
go get github.com/aws/aws-sdk-go-v2/service/firehose.
ewbankkit Sep 24, 2024
143295a
go get github.com/aws/aws-sdk-go-v2/service/fis.
ewbankkit Sep 24, 2024
43fcacd
go get github.com/aws/aws-sdk-go-v2/service/fms.
ewbankkit Sep 24, 2024
2396b4f
go get github.com/aws/aws-sdk-go-v2/service/fsx.
ewbankkit Sep 24, 2024
3618a58
go get github.com/aws/aws-sdk-go-v2/service/gamelift.
ewbankkit Sep 24, 2024
6558b14
go get github.com/aws/aws-sdk-go-v2/service/glacier.
ewbankkit Sep 24, 2024
b312ba9
go get github.com/aws/aws-sdk-go-v2/service/globalaccelerator.
ewbankkit Sep 24, 2024
d1814fc
go get github.com/aws/aws-sdk-go-v2/service/glue.
ewbankkit Sep 24, 2024
88fe903
go get github.com/aws/aws-sdk-go-v2/service/grafana.
ewbankkit Sep 24, 2024
09a02fa
go get github.com/aws/aws-sdk-go-v2/service/greengrass.
ewbankkit Sep 24, 2024
3a27446
go get github.com/aws/aws-sdk-go-v2/service/groundstation.
ewbankkit Sep 24, 2024
f88b5c9
go get github.com/aws/aws-sdk-go-v2/service/guardduty.
ewbankkit Sep 24, 2024
01da2c4
go get github.com/aws/aws-sdk-go-v2/service/healthlake.
ewbankkit Sep 24, 2024
26b85b0
go get github.com/aws/aws-sdk-go-v2/service/iam.
ewbankkit Sep 24, 2024
0e107da
go get github.com/aws/aws-sdk-go-v2/service/identitystore.
ewbankkit Sep 24, 2024
8c45b5c
go get github.com/aws/aws-sdk-go-v2/service/inspector.
ewbankkit Sep 24, 2024
7833d12
go get github.com/aws/aws-sdk-go-v2/service/inspector2.
ewbankkit Sep 24, 2024
7727879
go get github.com/aws/aws-sdk-go-v2/service/internetmonitor.
ewbankkit Sep 24, 2024
cbae0ed
go get github.com/aws/aws-sdk-go-v2/service/iot.
ewbankkit Sep 24, 2024
8f59edf
go get github.com/aws/aws-sdk-go-v2/service/iotanalytics.
ewbankkit Sep 24, 2024
06387f8
go get github.com/aws/aws-sdk-go-v2/service/iotevents.
ewbankkit Sep 24, 2024
d8c0d90
go get github.com/aws/aws-sdk-go-v2/service/ivs.
ewbankkit Sep 24, 2024
a2c21f0
go get github.com/aws/aws-sdk-go-v2/service/ivschat.
ewbankkit Sep 24, 2024
386a3ad
go get github.com/aws/aws-sdk-go-v2/service/kafka.
ewbankkit Sep 24, 2024
b2fa33d
go get github.com/aws/aws-sdk-go-v2/service/kafkaconnect.
ewbankkit Sep 24, 2024
587ec8e
go get github.com/aws/aws-sdk-go-v2/service/kendra.
ewbankkit Sep 24, 2024
9058e83
go get github.com/aws/aws-sdk-go-v2/service/keyspaces.
ewbankkit Sep 24, 2024
4047405
go get github.com/aws/aws-sdk-go-v2/service/kinesis.
ewbankkit Sep 24, 2024
ddac759
go get github.com/aws/aws-sdk-go-v2/service/kinesisanalytics.
ewbankkit Sep 24, 2024
f4f27b8
go get github.com/aws/aws-sdk-go-v2/service/kinesisanalyticsv2.
ewbankkit Sep 24, 2024
b2911bc
go get github.com/aws/aws-sdk-go-v2/service/kinesisvideo.
ewbankkit Sep 24, 2024
d93c958
go get github.com/aws/aws-sdk-go-v2/service/kms.
ewbankkit Sep 24, 2024
6575cd9
go get github.com/aws/aws-sdk-go-v2/service/lakeformation.
ewbankkit Sep 24, 2024
d6b34f6
go get github.com/aws/aws-sdk-go-v2/service/lambda.
ewbankkit Sep 24, 2024
b825b2f
go get github.com/aws/aws-sdk-go-v2/service/launchwizard.
ewbankkit Sep 24, 2024
c300af7
go get github.com/aws/aws-sdk-go-v2/service/lexmodelbuildingservice.
ewbankkit Sep 24, 2024
b3e115e
go get github.com/aws/aws-sdk-go-v2/service/lexmodelsv2.
ewbankkit Sep 24, 2024
c04f31a
go get github.com/aws/aws-sdk-go-v2/service/licensemanager.
ewbankkit Sep 24, 2024
c53ce62
go get github.com/aws/aws-sdk-go-v2/service/lightsail.
ewbankkit Sep 24, 2024
e89bd1a
go get github.com/aws/aws-sdk-go-v2/service/location.
ewbankkit Sep 24, 2024
0d41081
go get github.com/aws/aws-sdk-go-v2/service/lookoutmetrics.
ewbankkit Sep 24, 2024
eff1adf
go get github.com/aws/aws-sdk-go-v2/service/m2.
ewbankkit Sep 24, 2024
e9d8c01
go get github.com/aws/aws-sdk-go-v2/service/macie2.
ewbankkit Sep 24, 2024
5cc600c
go get github.com/aws/aws-sdk-go-v2/service/mediaconnect.
ewbankkit Sep 24, 2024
b645cb2
go get github.com/aws/aws-sdk-go-v2/service/mediaconvert.
ewbankkit Sep 24, 2024
801e11f
go get github.com/aws/aws-sdk-go-v2/service/medialive.
ewbankkit Sep 24, 2024
ef1ac20
go get github.com/aws/aws-sdk-go-v2/service/mediapackage.
ewbankkit Sep 24, 2024
0a5d640
go get github.com/aws/aws-sdk-go-v2/service/mediapackagev2.
ewbankkit Sep 24, 2024
4167885
go get github.com/aws/aws-sdk-go-v2/service/mediastore.
ewbankkit Sep 24, 2024
fe2bbe0
go get github.com/aws/aws-sdk-go-v2/service/memorydb.
ewbankkit Sep 24, 2024
f14af9b
go get github.com/aws/aws-sdk-go-v2/service/mq.
ewbankkit Sep 24, 2024
44daa6d
go get github.com/aws/aws-sdk-go-v2/service/mwaa.
ewbankkit Sep 24, 2024
b894787
go get github.com/aws/aws-sdk-go-v2/service/neptune.
ewbankkit Sep 24, 2024
33c9779
go get github.com/aws/aws-sdk-go-v2/service/neptunegraph.
ewbankkit Sep 24, 2024
3f8ab74
go get github.com/aws/aws-sdk-go-v2/service/networkfirewall.
ewbankkit Sep 24, 2024
de2ac5b
go get github.com/aws/aws-sdk-go-v2/service/networkmanager.
ewbankkit Sep 24, 2024
d4c68fb
go get github.com/aws/aws-sdk-go-v2/service/networkmonitor.
ewbankkit Sep 24, 2024
134a18b
go get github.com/aws/aws-sdk-go-v2/service/oam.
ewbankkit Sep 24, 2024
77574e7
go get github.com/aws/aws-sdk-go-v2/service/opensearch.
ewbankkit Sep 24, 2024
ce2c020
go get github.com/aws/aws-sdk-go-v2/service/opensearchserverless.
ewbankkit Sep 24, 2024
cd92af5
go get github.com/aws/aws-sdk-go-v2/service/opsworks.
ewbankkit Sep 24, 2024
ee40030
go get github.com/aws/aws-sdk-go-v2/service/organizations.
ewbankkit Sep 24, 2024
66694d8
go get github.com/aws/aws-sdk-go-v2/service/osis.
ewbankkit Sep 24, 2024
05baee7
go get github.com/aws/aws-sdk-go-v2/service/outposts.
ewbankkit Sep 24, 2024
92d338e
go get github.com/aws/aws-sdk-go-v2/service/paymentcryptography.
ewbankkit Sep 24, 2024
4e414ee
go get github.com/aws/aws-sdk-go-v2/service/pcaconnectorad.
ewbankkit Sep 24, 2024
8164de9
go get github.com/aws/aws-sdk-go-v2/service/pcs.
ewbankkit Sep 24, 2024
d4f88bd
go get github.com/aws/aws-sdk-go-v2/service/pinpoint.
ewbankkit Sep 24, 2024
8cf0ac3
go get github.com/aws/aws-sdk-go-v2/service/pinpointsmsvoicev2.
ewbankkit Sep 24, 2024
edc5026
go get github.com/aws/aws-sdk-go-v2/service/pipes.
ewbankkit Sep 24, 2024
b9f24c3
go get github.com/aws/aws-sdk-go-v2/service/polly.
ewbankkit Sep 24, 2024
ceac7e3
go get github.com/aws/aws-sdk-go-v2/service/pricing.
ewbankkit Sep 24, 2024
ed868f2
go get github.com/aws/aws-sdk-go-v2/service/qbusiness.
ewbankkit Sep 24, 2024
a6614ed
go get github.com/aws/aws-sdk-go-v2/service/qldb.
ewbankkit Sep 24, 2024
c64bdca
go get github.com/aws/aws-sdk-go-v2/service/quicksight.
ewbankkit Sep 24, 2024
0ecd0ae
go get github.com/aws/aws-sdk-go-v2/service/ram.
ewbankkit Sep 24, 2024
1326920
go get github.com/aws/aws-sdk-go-v2/service/rbin.
ewbankkit Sep 24, 2024
981a3cb
go get github.com/aws/aws-sdk-go-v2/service/rds.
ewbankkit Sep 24, 2024
c4d0682
go get github.com/aws/aws-sdk-go-v2/service/redshift.
ewbankkit Sep 24, 2024
2e5510b
go get github.com/aws/aws-sdk-go-v2/service/redshiftdata.
ewbankkit Sep 24, 2024
5ef5d90
go get github.com/aws/aws-sdk-go-v2/service/redshiftserverless.
ewbankkit Sep 24, 2024
1c8d547
go get github.com/aws/aws-sdk-go-v2/service/rekognition.
ewbankkit Sep 24, 2024
aff0f61
go get github.com/aws/aws-sdk-go-v2/service/resiliencehub.
ewbankkit Sep 24, 2024
a93d927
go get github.com/aws/aws-sdk-go-v2/service/resourceexplorer2.
ewbankkit Sep 24, 2024
1b20b2f
go get github.com/aws/aws-sdk-go-v2/service/resourcegroups.
ewbankkit Sep 24, 2024
5a9e5c8
go get github.com/aws/aws-sdk-go-v2/service/resourcegroupstaggingapi.
ewbankkit Sep 24, 2024
301c1f4
go get github.com/aws/aws-sdk-go-v2/service/rolesanywhere.
ewbankkit Sep 24, 2024
5cef9b2
go get github.com/aws/aws-sdk-go-v2/service/route53.
ewbankkit Sep 24, 2024
e273e60
go get github.com/aws/aws-sdk-go-v2/service/route53domains.
ewbankkit Sep 24, 2024
eb3a2c8
go get github.com/aws/aws-sdk-go-v2/service/route53profiles.
ewbankkit Sep 24, 2024
656987f
go get github.com/aws/aws-sdk-go-v2/service/route53recoverycontrolcon…
ewbankkit Sep 24, 2024
7a7bcbe
go get github.com/aws/aws-sdk-go-v2/service/route53recoveryreadiness.
ewbankkit Sep 24, 2024
79ee925
go get github.com/aws/aws-sdk-go-v2/service/route53resolver.
ewbankkit Sep 24, 2024
bea0ade
go get github.com/aws/aws-sdk-go-v2/service/rum.
ewbankkit Sep 24, 2024
cb76a73
go get github.com/aws/aws-sdk-go-v2/service/s3control.
ewbankkit Sep 24, 2024
742b4bc
go get github.com/aws/aws-sdk-go-v2/service/s3outposts.
ewbankkit Sep 24, 2024
4a1e4cf
go get github.com/aws/aws-sdk-go-v2/service/sagemaker.
ewbankkit Sep 24, 2024
e5e79b2
go get github.com/aws/aws-sdk-go-v2/service/scheduler.
ewbankkit Sep 24, 2024
6f4cd16
go get github.com/aws/aws-sdk-go-v2/service/schemas.
ewbankkit Sep 24, 2024
b1b7860
go get github.com/aws/aws-sdk-go-v2/service/secretsmanager.
ewbankkit Sep 24, 2024
5ae84e4
go get github.com/aws/aws-sdk-go-v2/service/securityhub.
ewbankkit Sep 24, 2024
c72799f
go get github.com/aws/aws-sdk-go-v2/service/securitylake.
ewbankkit Sep 24, 2024
3eee181
go get github.com/aws/aws-sdk-go-v2/service/serverlessapplicationrepo…
ewbankkit Sep 24, 2024
73a030f
go get github.com/aws/aws-sdk-go-v2/service/servicecatalog.
ewbankkit Sep 24, 2024
edafcb5
go get github.com/aws/aws-sdk-go-v2/service/servicecatalogappregistry.
ewbankkit Sep 24, 2024
caf5d0e
go get github.com/aws/aws-sdk-go-v2/service/servicediscovery.
ewbankkit Sep 24, 2024
0e47ab3
go get github.com/aws/aws-sdk-go-v2/service/servicequotas.
ewbankkit Sep 24, 2024
9ff90d4
go get github.com/aws/aws-sdk-go-v2/service/ses.
ewbankkit Sep 24, 2024
cc3c94c
go get github.com/aws/aws-sdk-go-v2/service/sesv2.
ewbankkit Sep 24, 2024
0ccaba0
go get github.com/aws/aws-sdk-go-v2/service/sfn.
ewbankkit Sep 24, 2024
0a1fe2b
go get github.com/aws/aws-sdk-go-v2/service/shield.
ewbankkit Sep 24, 2024
5ddbde0
go get github.com/aws/aws-sdk-go-v2/service/signer.
ewbankkit Sep 24, 2024
f8e7d44
go get github.com/aws/aws-sdk-go-v2/service/sns.
ewbankkit Sep 24, 2024
35795b7
go get github.com/aws/aws-sdk-go-v2/service/sqs.
ewbankkit Sep 24, 2024
382dbd3
go get github.com/aws/aws-sdk-go-v2/service/ssm.
ewbankkit Sep 24, 2024
40c4017
go get github.com/aws/aws-sdk-go-v2/service/ssmcontacts.
ewbankkit Sep 24, 2024
f05fb1d
go get github.com/aws/aws-sdk-go-v2/service/ssmincidents.
ewbankkit Sep 24, 2024
07f91d0
go get github.com/aws/aws-sdk-go-v2/service/ssmsap.
ewbankkit Sep 24, 2024
c4ecdb0
go get github.com/aws/aws-sdk-go-v2/service/ssoadmin.
ewbankkit Sep 24, 2024
c904f23
go get github.com/aws/aws-sdk-go-v2/service/storagegateway.
ewbankkit Sep 24, 2024
eb52d25
go get github.com/aws/aws-sdk-go-v2/service/swf.
ewbankkit Sep 24, 2024
f29c4ba
go get github.com/aws/aws-sdk-go-v2/service/synthetics.
ewbankkit Sep 24, 2024
8f5450a
go get github.com/aws/aws-sdk-go-v2/service/timestreaminfluxdb.
ewbankkit Sep 24, 2024
1b00e76
go get github.com/aws/aws-sdk-go-v2/service/timestreamwrite.
ewbankkit Sep 24, 2024
3450344
go get github.com/aws/aws-sdk-go-v2/service/transcribe.
ewbankkit Sep 24, 2024
2b1824a
go get github.com/aws/aws-sdk-go-v2/service/transfer.
ewbankkit Sep 24, 2024
1b8e74c
go get github.com/aws/aws-sdk-go-v2/service/verifiedpermissions.
ewbankkit Sep 24, 2024
7396b4c
go get github.com/aws/aws-sdk-go-v2/service/vpclattice.
ewbankkit Sep 24, 2024
1d1c247
go get github.com/aws/aws-sdk-go-v2/service/waf.
ewbankkit Sep 24, 2024
18ef6f2
go get github.com/aws/aws-sdk-go-v2/service/wafregional.
ewbankkit Sep 24, 2024
c29cbad
go get github.com/aws/aws-sdk-go-v2/service/wafv2.
ewbankkit Sep 24, 2024
ad6a593
go get github.com/aws/aws-sdk-go-v2/service/wellarchitected.
ewbankkit Sep 24, 2024
bf397ba
go get github.com/aws/aws-sdk-go-v2/service/worklink.
ewbankkit Sep 24, 2024
7537639
go get github.com/aws/aws-sdk-go-v2/service/workspaces.
ewbankkit Sep 24, 2024
49bb485
go get github.com/aws/aws-sdk-go-v2/service/workspacesweb.
ewbankkit Sep 24, 2024
1fda2ed
go get github.com/aws/aws-sdk-go-v2/service/xray.
ewbankkit Sep 24, 2024
95ec94b
Run 'make clean-tidy'.
ewbankkit Sep 24, 2024
ba7f0a6
flex: Use 'github.com/aws/aws-sdk-go-v2/aws' in unit tests.
ewbankkit Sep 24, 2024
14cf39c
err.IsUnsupportedOperationInPartitionError: Remove AWS SDK for Go v1 …
ewbankkit Sep 24, 2024
bcad8c8
Remove 'TestBackoffDelayer'.
ewbankkit Sep 24, 2024
e1e86b5
ConfigureProvider: Use 'aws-sdk-go-base.endpoints'.
ewbankkit Sep 24, 2024
d483941
costoptimizationhub: Improve 'findPreferences'.
ewbankkit Sep 24, 2024
82076b5
'acctest.PreCheckCECostAllocationTagPayerAccount' -> 'ce.testAccPreCh…
ewbankkit Sep 24, 2024
adbdb56
'acctest.PreCheckCECostCategoryPayerAccount' -> 'ce.testAccPreCheckCo…
ewbankkit Sep 24, 2024
7b66d40
'acctest.PreCheckCloudSearchAccountAllowListed' -> 'cloudsearch.testA…
ewbankkit Sep 24, 2024
4a8b3f6
acctest: Use 'github.com/aws/aws-sdk-go-v2/aws/arn'.
ewbankkit Sep 24, 2024
583b03a
acctest: Use 'github.com/aws/aws-sdk-go-v2/aws'.
ewbankkit Sep 24, 2024
4a02b3c
acctest: Use 'aws-sdk-go-base.endpoints'.
ewbankkit Sep 24, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .changelog/29034.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
```release-note:enhancement
resource/aws_quicksight_data_source: Support secret_arn as credentials
resource/aws_quicksight_data_source: Add `credentials.secret_arn` argument
```
492 changes: 246 additions & 246 deletions go.mod

Large diffs are not rendered by default.

984 changes: 492 additions & 492 deletions go.sum

Large diffs are not rendered by default.

78 changes: 14 additions & 64 deletions internal/acctest/acctest.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ import (
"time"

"github.com/YakDriver/regexache"
"github.com/aws/aws-sdk-go-v2/aws"
"github.com/aws/aws-sdk-go-v2/aws/arn"
accounttypes "github.com/aws/aws-sdk-go-v2/service/account/types"
"github.com/aws/aws-sdk-go-v2/service/acmpca"
acmpcatypes "github.com/aws/aws-sdk-go-v2/service/acmpca/types"
"github.com/aws/aws-sdk-go-v2/service/cloudsearch"
"github.com/aws/aws-sdk-go-v2/service/cognitoidentityprovider"
"github.com/aws/aws-sdk-go-v2/service/costexplorer"
"github.com/aws/aws-sdk-go-v2/service/directoryservice"
dstypes "github.com/aws/aws-sdk-go-v2/service/directoryservice/types"
ec2types "github.com/aws/aws-sdk-go-v2/service/ec2/types"
Expand All @@ -41,10 +41,8 @@ import (
ssoadmintypes "github.com/aws/aws-sdk-go-v2/service/ssoadmin/types"
"github.com/aws/aws-sdk-go-v2/service/wafv2"
wafv2types "github.com/aws/aws-sdk-go-v2/service/wafv2/types"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/arn"
"github.com/aws/aws-sdk-go/aws/endpoints"
tfawserr_sdkv1 "github.com/hashicorp/aws-sdk-go-base/v2/awsv1shim/v2/tfawserr"
"github.com/hashicorp/aws-sdk-go-base/v2/endpoints"
tfawserr_sdkv2 "github.com/hashicorp/aws-sdk-go-base/v2/tfawserr"
"github.com/hashicorp/terraform-plugin-go/tfprotov5"
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
Expand Down Expand Up @@ -1067,54 +1065,6 @@ func PreCheckCognitoIdentityProvider(ctx context.Context, t *testing.T) {
}
}

func PreCheckCECostAllocationTagPayerAccount(ctx context.Context, t *testing.T) {
t.Helper()

conn := Provider.Meta().(*conns.AWSClient).CEClient(ctx)

_, err := conn.ListCostAllocationTags(ctx, &costexplorer.ListCostAllocationTagsInput{})

if errs.MessageContains(err, "AccessDeniedException", "Linked account doesn't have access to") {
t.Skip("skipping tests; this AWS account must be a payer account")
}

if err != nil {
t.Fatalf("listing Cost Explorer Cost Allocation Tags: %s", err)
}
}

func PreCheckCECostCategoryPayerAccount(ctx context.Context, t *testing.T) {
t.Helper()

conn := Provider.Meta().(*conns.AWSClient).CEClient(ctx)

_, err := conn.ListCostCategoryDefinitions(ctx, &costexplorer.ListCostCategoryDefinitionsInput{})

if errs.MessageContains(err, "AccessDeniedException", "Linked account doesn't have access to") {
t.Skip("skipping tests; this AWS account must be a payer account")
}

if err != nil {
t.Fatalf("listing Cost Explorer Cost Categories: %s", err)
}
}

func PreCheckCloudSearchAccountAllowListed(ctx context.Context, t *testing.T) {
t.Helper()

conn := Provider.Meta().(*conns.AWSClient).CloudSearchClient(ctx)

_, err := conn.ListDomainNames(ctx, &cloudsearch.ListDomainNamesInput{})

if errs.MessageContains(err, "NotAuthorized", "New domain creation not supported on this account") {
t.Skip("skipping tests; this AWS account does not support new CloudSearch domain creation")
}

if err != nil {
t.Fatalf("listing CloudSearch Domain Names: %s", err)
}
}

func PreCheckInspector2(ctx context.Context, t *testing.T) {
t.Helper()

Expand Down Expand Up @@ -1186,7 +1136,7 @@ func PreCheckOrganizationManagementAccountWithProvider(ctx context.Context, t *t
t.Fatalf("getting current identity: %s", err)
}

if aws.StringValue(organization.MasterAccountId) != aws.StringValue(callerIdentity.Account) {
if aws.ToString(organization.MasterAccountId) != aws.ToString(callerIdentity.Account) {
t.Skip("this AWS account must be the management account of an AWS Organization")
}
}
Expand All @@ -1208,7 +1158,7 @@ func PreCheckOrganizationMemberAccountWithProvider(ctx context.Context, t *testi
t.Fatalf("getting current identity: %s", err)
}

if aws.StringValue(organization.MasterAccountId) == aws.StringValue(callerIdentity.Account) {
if aws.ToString(organization.MasterAccountId) == aws.ToString(callerIdentity.Account) {
t.Skip("this AWS account must not be the management account of an AWS Organization")
}
}
Expand Down Expand Up @@ -2078,7 +2028,7 @@ func CheckACMPCACertificateAuthorityActivateRootCA(ctx context.Context, certific
return fmt.Errorf("attempting to activate ACM PCA %s Certificate Authority", v)
}

arn := aws.StringValue(certificateAuthority.Arn)
arn := aws.ToString(certificateAuthority.Arn)

getCsrOutput, err := conn.GetCertificateAuthorityCsr(ctx, &acmpca.GetCertificateAuthorityCsrInput{
CertificateAuthorityArn: aws.String(arn),
Expand All @@ -2090,7 +2040,7 @@ func CheckACMPCACertificateAuthorityActivateRootCA(ctx context.Context, certific

issueCertOutput, err := conn.IssueCertificate(ctx, &acmpca.IssueCertificateInput{
CertificateAuthorityArn: aws.String(arn),
Csr: []byte(aws.StringValue(getCsrOutput.Csr)),
Csr: []byte(aws.ToString(getCsrOutput.Csr)),
IdempotencyToken: aws.String(id.UniqueId()),
SigningAlgorithm: certificateAuthority.CertificateAuthorityConfiguration.SigningAlgorithm,
TemplateArn: aws.String(fmt.Sprintf("arn:%s:acm-pca:::template/RootCACertificate/V1", Partition())),
Expand Down Expand Up @@ -2128,7 +2078,7 @@ func CheckACMPCACertificateAuthorityActivateRootCA(ctx context.Context, certific

_, err = conn.ImportCertificateAuthorityCertificate(ctx, &acmpca.ImportCertificateAuthorityCertificateInput{
CertificateAuthorityArn: aws.String(arn),
Certificate: []byte(aws.StringValue(getCertOutput.Certificate)),
Certificate: []byte(aws.ToString(getCertOutput.Certificate)),
})

if err != nil {
Expand All @@ -2147,7 +2097,7 @@ func CheckACMPCACertificateAuthorityActivateSubordinateCA(ctx context.Context, r
return fmt.Errorf("attempting to activate ACM PCA %s Certificate Authority", v)
}

arn := aws.StringValue(certificateAuthority.Arn)
arn := aws.ToString(certificateAuthority.Arn)

getCsrOutput, err := conn.GetCertificateAuthorityCsr(ctx, &acmpca.GetCertificateAuthorityCsrInput{
CertificateAuthorityArn: aws.String(arn),
Expand All @@ -2157,11 +2107,11 @@ func CheckACMPCACertificateAuthorityActivateSubordinateCA(ctx context.Context, r
return fmt.Errorf("getting ACM PCA Certificate Authority (%s) CSR: %w", arn, err)
}

rootCertificateAuthorityArn := aws.StringValue(rootCertificateAuthority.Arn)
rootCertificateAuthorityArn := aws.ToString(rootCertificateAuthority.Arn)

issueCertOutput, err := conn.IssueCertificate(ctx, &acmpca.IssueCertificateInput{
CertificateAuthorityArn: aws.String(rootCertificateAuthorityArn),
Csr: []byte(aws.StringValue(getCsrOutput.Csr)),
Csr: []byte(aws.ToString(getCsrOutput.Csr)),
IdempotencyToken: aws.String(id.UniqueId()),
SigningAlgorithm: certificateAuthority.CertificateAuthorityConfiguration.SigningAlgorithm,
TemplateArn: aws.String(fmt.Sprintf("arn:%s:acm-pca:::template/SubordinateCACertificate_PathLen0/V1", Partition())),
Expand All @@ -2185,7 +2135,7 @@ func CheckACMPCACertificateAuthorityActivateSubordinateCA(ctx context.Context, r
err = waiter.Wait(ctx, params, CertificateIssueTimeout)

if err != nil {
return fmt.Errorf("waiting for ACM PCA Certificate Authority (%s) Subordinate CA certificate (%s) to become ISSUED: %w", arn, aws.StringValue(issueCertOutput.CertificateArn), err)
return fmt.Errorf("waiting for ACM PCA Certificate Authority (%s) Subordinate CA certificate (%s) to become ISSUED: %w", arn, aws.ToString(issueCertOutput.CertificateArn), err)
}

getCertOutput, err := conn.GetCertificate(ctx, &acmpca.GetCertificateInput{
Expand All @@ -2199,8 +2149,8 @@ func CheckACMPCACertificateAuthorityActivateSubordinateCA(ctx context.Context, r

_, err = conn.ImportCertificateAuthorityCertificate(ctx, &acmpca.ImportCertificateAuthorityCertificateInput{
CertificateAuthorityArn: aws.String(arn),
Certificate: []byte(aws.StringValue(getCertOutput.Certificate)),
CertificateChain: []byte(aws.StringValue(getCertOutput.CertificateChain)),
Certificate: []byte(aws.ToString(getCertOutput.Certificate)),
CertificateChain: []byte(aws.ToString(getCertOutput.CertificateChain)),
})

if err != nil {
Expand Down
52 changes: 0 additions & 52 deletions internal/conns/backoff_delayer_test.go

This file was deleted.

4 changes: 2 additions & 2 deletions internal/conns/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ import (

aws_sdkv2 "github.com/aws/aws-sdk-go-v2/aws"
imds_sdkv2 "github.com/aws/aws-sdk-go-v2/feature/ec2/imds"
endpoints_sdkv1 "github.com/aws/aws-sdk-go/aws/endpoints"
awsbase "github.com/hashicorp/aws-sdk-go-base/v2"
awsbasev1 "github.com/hashicorp/aws-sdk-go-base/v2/awsv1shim/v2"
basediag "github.com/hashicorp/aws-sdk-go-base/v2/diag"
"github.com/hashicorp/aws-sdk-go-base/v2/endpoints"
"github.com/hashicorp/aws-sdk-go-base/v2/logging"
basevalidation "github.com/hashicorp/aws-sdk-go-base/v2/validation"
"github.com/hashicorp/terraform-plugin-log/tflog"
Expand Down Expand Up @@ -202,7 +202,7 @@ func (c *Config) ConfigureProvider(ctx context.Context, client *AWSClient) (*AWS
}

dnsSuffix := "amazonaws.com"
if p, ok := endpoints_sdkv1.PartitionForRegion(endpoints_sdkv1.DefaultPartitions(), c.Region); ok {
if p, ok := endpoints.PartitionForRegion(endpoints.DefaultPartitions(), c.Region); ok {
dnsSuffix = p.DNSSuffix()
}

Expand Down
41 changes: 16 additions & 25 deletions internal/errs/unsupported.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
package errs

import (
tfawserr_sdkv1 "github.com/hashicorp/aws-sdk-go-base/v2/awsv1shim/v2/tfawserr"
tfawserr_sdkv2 "github.com/hashicorp/aws-sdk-go-base/v2/tfawserr"
"github.com/hashicorp/aws-sdk-go-base/v2/tfawserr"
"github.com/hashicorp/terraform-provider-aws/names"
)

Expand Down Expand Up @@ -42,73 +41,65 @@ func IsUnsupportedOperationInPartitionError(partition string, err error) bool {
return false
}

if errCodeContains(err, errCodeAccessDenied) {
if tfawserr.ErrCodeContains(err, errCodeAccessDenied) {
return true
}

if errCodeContains(err, errCodeAuthorizationError) {
if tfawserr.ErrCodeContains(err, errCodeAuthorizationError) {
return true
}

if errCodeContains(err, errCodeInternalException) {
if tfawserr.ErrCodeContains(err, errCodeInternalException) {
return true
}

if errCodeContains(err, errCodeInternalServiceError) {
if tfawserr.ErrCodeContains(err, errCodeInternalServiceError) {
return true
}

if errCodeContains(err, errCodeInvalidAction) {
if tfawserr.ErrCodeContains(err, errCodeInvalidAction) {
return true
}

if errCodeContains(err, errCodeInvalidParameterException) {
if tfawserr.ErrCodeContains(err, errCodeInvalidParameterException) {
return true
}

if errCodeContains(err, errCodeInvalidParameterValue) {
if tfawserr.ErrCodeContains(err, errCodeInvalidParameterValue) {
return true
}

if errCodeContains(err, errCodeInvalidRequest) {
if tfawserr.ErrCodeContains(err, errCodeInvalidRequest) {
return true
}

if errCodeContains(err, errCodeOperationDisabledException) {
if tfawserr.ErrCodeContains(err, errCodeOperationDisabledException) {
return true
}

if errCodeContains(err, errCodeOperationNotPermitted) {
if tfawserr.ErrCodeContains(err, errCodeOperationNotPermitted) {
return true
}

if errCodeContains(err, errCodeUnknownOperationException) {
if tfawserr.ErrCodeContains(err, errCodeUnknownOperationException) {
return true
}

if errCodeContains(err, errCodeUnsupportedFeatureException) {
if tfawserr.ErrCodeContains(err, errCodeUnsupportedFeatureException) {
return true
}

if errCodeContains(err, errCodeUnsupportedOperation) {
if tfawserr.ErrCodeContains(err, errCodeUnsupportedOperation) {
return true
}

if errMessageContains(err, errCodeValidationError, "not support tagging") {
if tfawserr.ErrMessageContains(err, errCodeValidationError, "not support tagging") {
return true
}

if errCodeContains(err, errCodeValidationException) {
if tfawserr.ErrCodeContains(err, errCodeValidationException) {
return true
}

return false
}

func errCodeContains(err error, code string) bool {
return tfawserr_sdkv1.ErrCodeContains(err, code) || tfawserr_sdkv2.ErrCodeContains(err, code)
}

func errMessageContains(err error, code, message string) bool {
return tfawserr_sdkv1.ErrMessageContains(err, code, message) || tfawserr_sdkv2.ErrMessageContains(err, code, message)
}
2 changes: 1 addition & 1 deletion internal/flex/flex_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"strings"
"testing"

"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go-v2/aws"
"github.com/google/go-cmp/cmp"
)

Expand Down
Loading
Loading