diff --git a/.changelog/36568.txt b/.changelog/36568.txt new file mode 100644 index 00000000000..ac36dddd268 --- /dev/null +++ b/.changelog/36568.txt @@ -0,0 +1,3 @@ +```release-note:enhancement +resource/aws_appsync_api_key: Add `api_key_id` attribute +``` diff --git a/go.mod b/go.mod index 7814509023f..1740d9de65b 100644 --- a/go.mod +++ b/go.mod @@ -6,194 +6,195 @@ require ( github.com/ProtonMail/go-crypto v1.1.0-alpha.2 github.com/YakDriver/go-version v0.1.0 github.com/YakDriver/regexache v0.23.0 - github.com/aws/aws-sdk-go v1.54.4 - github.com/aws/aws-sdk-go-v2 v1.29.0 - github.com/aws/aws-sdk-go-v2/config v1.27.20 - github.com/aws/aws-sdk-go-v2/credentials v1.17.20 - github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.7 - github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.17.0 - github.com/aws/aws-sdk-go-v2/service/accessanalyzer v1.31.0 - github.com/aws/aws-sdk-go-v2/service/account v1.18.0 - github.com/aws/aws-sdk-go-v2/service/acm v1.27.0 - github.com/aws/aws-sdk-go-v2/service/acmpca v1.31.0 - github.com/aws/aws-sdk-go-v2/service/amp v1.26.0 - github.com/aws/aws-sdk-go-v2/service/amplify v1.22.0 - github.com/aws/aws-sdk-go-v2/service/apigateway v1.24.0 - github.com/aws/aws-sdk-go-v2/service/apigatewayv2 v1.21.0 - github.com/aws/aws-sdk-go-v2/service/appconfig v1.30.0 - github.com/aws/aws-sdk-go-v2/service/appfabric v1.8.0 - github.com/aws/aws-sdk-go-v2/service/appflow v1.42.0 - github.com/aws/aws-sdk-go-v2/service/appintegrations v1.26.0 - github.com/aws/aws-sdk-go-v2/service/applicationautoscaling v1.28.0 - github.com/aws/aws-sdk-go-v2/service/applicationinsights v1.25.0 - github.com/aws/aws-sdk-go-v2/service/applicationsignals v1.1.0 - github.com/aws/aws-sdk-go-v2/service/apprunner v1.29.0 - github.com/aws/aws-sdk-go-v2/service/appstream v1.35.0 - github.com/aws/aws-sdk-go-v2/service/athena v1.42.0 - github.com/aws/aws-sdk-go-v2/service/auditmanager v1.34.0 - github.com/aws/aws-sdk-go-v2/service/autoscaling v1.41.0 - github.com/aws/aws-sdk-go-v2/service/autoscalingplans v1.21.0 - github.com/aws/aws-sdk-go-v2/service/backup v1.35.0 - github.com/aws/aws-sdk-go-v2/service/batch v1.40.0 - github.com/aws/aws-sdk-go-v2/service/bcmdataexports v1.4.0 - github.com/aws/aws-sdk-go-v2/service/bedrock v1.9.0 - github.com/aws/aws-sdk-go-v2/service/bedrockagent v1.13.0 - github.com/aws/aws-sdk-go-v2/service/budgets v1.24.0 - github.com/aws/aws-sdk-go-v2/service/chatbot v1.3.0 - github.com/aws/aws-sdk-go-v2/service/chimesdkmediapipelines v1.16.0 - github.com/aws/aws-sdk-go-v2/service/chimesdkvoice v1.16.0 - github.com/aws/aws-sdk-go-v2/service/cleanrooms v1.13.0 - github.com/aws/aws-sdk-go-v2/service/cloud9 v1.25.0 - github.com/aws/aws-sdk-go-v2/service/cloudcontrol v1.19.0 - github.com/aws/aws-sdk-go-v2/service/cloudformation v1.52.0 - github.com/aws/aws-sdk-go-v2/service/cloudfront v1.37.0 - github.com/aws/aws-sdk-go-v2/service/cloudfrontkeyvaluestore v1.5.0 - github.com/aws/aws-sdk-go-v2/service/cloudhsmv2 v1.23.0 - github.com/aws/aws-sdk-go-v2/service/cloudsearch v1.23.0 - github.com/aws/aws-sdk-go-v2/service/cloudtrail v1.41.0 - github.com/aws/aws-sdk-go-v2/service/cloudwatch v1.39.0 - github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs v1.36.0 - github.com/aws/aws-sdk-go-v2/service/codeartifact v1.28.0 - github.com/aws/aws-sdk-go-v2/service/codebuild v1.39.0 - github.com/aws/aws-sdk-go-v2/service/codecatalyst v1.14.0 - github.com/aws/aws-sdk-go-v2/service/codecommit v1.23.0 - github.com/aws/aws-sdk-go-v2/service/codedeploy v1.26.0 - github.com/aws/aws-sdk-go-v2/service/codeguruprofiler v1.21.0 - github.com/aws/aws-sdk-go-v2/service/codegurureviewer v1.26.0 - github.com/aws/aws-sdk-go-v2/service/codepipeline v1.29.0 - github.com/aws/aws-sdk-go-v2/service/codestarconnections v1.26.0 - github.com/aws/aws-sdk-go-v2/service/codestarnotifications v1.23.0 - github.com/aws/aws-sdk-go-v2/service/cognitoidentity v1.24.0 - github.com/aws/aws-sdk-go-v2/service/comprehend v1.32.0 - github.com/aws/aws-sdk-go-v2/service/computeoptimizer v1.35.0 - github.com/aws/aws-sdk-go-v2/service/configservice v1.47.0 - github.com/aws/aws-sdk-go-v2/service/connectcases v1.18.0 - github.com/aws/aws-sdk-go-v2/service/controltower v1.15.0 - github.com/aws/aws-sdk-go-v2/service/costandusagereportservice v1.24.0 - github.com/aws/aws-sdk-go-v2/service/costexplorer v1.39.0 - github.com/aws/aws-sdk-go-v2/service/costoptimizationhub v1.5.0 - github.com/aws/aws-sdk-go-v2/service/customerprofiles v1.37.0 - github.com/aws/aws-sdk-go-v2/service/datasync v1.39.0 - github.com/aws/aws-sdk-go-v2/service/datazone v1.10.0 - github.com/aws/aws-sdk-go-v2/service/dax v1.20.0 - github.com/aws/aws-sdk-go-v2/service/devicefarm v1.23.0 - github.com/aws/aws-sdk-go-v2/service/devopsguru v1.31.0 - github.com/aws/aws-sdk-go-v2/service/directoryservice v1.26.0 - github.com/aws/aws-sdk-go-v2/service/dlm v1.25.0 - github.com/aws/aws-sdk-go-v2/service/docdb v1.35.0 - github.com/aws/aws-sdk-go-v2/service/docdbelastic v1.10.0 - github.com/aws/aws-sdk-go-v2/service/drs v1.27.0 - github.com/aws/aws-sdk-go-v2/service/dynamodb v1.33.0 - github.com/aws/aws-sdk-go-v2/service/ec2 v1.165.0 - github.com/aws/aws-sdk-go-v2/service/ecr v1.29.0 - github.com/aws/aws-sdk-go-v2/service/ecrpublic v1.24.0 - github.com/aws/aws-sdk-go-v2/service/ecs v1.43.0 - github.com/aws/aws-sdk-go-v2/service/eks v1.44.0 - github.com/aws/aws-sdk-go-v2/service/elasticache v1.39.0 - github.com/aws/aws-sdk-go-v2/service/elasticbeanstalk v1.24.0 - github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2 v1.32.0 - github.com/aws/aws-sdk-go-v2/service/emr v1.40.0 - github.com/aws/aws-sdk-go-v2/service/emrserverless v1.22.0 - github.com/aws/aws-sdk-go-v2/service/eventbridge v1.32.0 - github.com/aws/aws-sdk-go-v2/service/evidently v1.20.0 - github.com/aws/aws-sdk-go-v2/service/finspace v1.25.0 - github.com/aws/aws-sdk-go-v2/service/firehose v1.30.0 - github.com/aws/aws-sdk-go-v2/service/fis v1.25.0 - github.com/aws/aws-sdk-go-v2/service/fms v1.34.0 - github.com/aws/aws-sdk-go-v2/service/glacier v1.23.0 - github.com/aws/aws-sdk-go-v2/service/globalaccelerator v1.25.0 - github.com/aws/aws-sdk-go-v2/service/groundstation v1.28.0 - github.com/aws/aws-sdk-go-v2/service/guardduty v1.44.0 - github.com/aws/aws-sdk-go-v2/service/healthlake v1.25.0 - github.com/aws/aws-sdk-go-v2/service/iam v1.33.0 - github.com/aws/aws-sdk-go-v2/service/identitystore v1.24.0 - github.com/aws/aws-sdk-go-v2/service/inspector2 v1.27.0 - github.com/aws/aws-sdk-go-v2/service/internetmonitor v1.15.0 - github.com/aws/aws-sdk-go-v2/service/ivschat v1.13.0 - github.com/aws/aws-sdk-go-v2/service/kafka v1.34.0 - github.com/aws/aws-sdk-go-v2/service/kendra v1.51.0 - github.com/aws/aws-sdk-go-v2/service/keyspaces v1.11.0 - github.com/aws/aws-sdk-go-v2/service/kinesis v1.28.0 - github.com/aws/aws-sdk-go-v2/service/kms v1.34.0 - github.com/aws/aws-sdk-go-v2/service/lakeformation v1.34.0 - github.com/aws/aws-sdk-go-v2/service/lambda v1.55.0 - github.com/aws/aws-sdk-go-v2/service/launchwizard v1.5.0 - github.com/aws/aws-sdk-go-v2/service/lexmodelsv2 v1.44.0 - github.com/aws/aws-sdk-go-v2/service/lightsail v1.39.0 - github.com/aws/aws-sdk-go-v2/service/lookoutmetrics v1.28.0 - github.com/aws/aws-sdk-go-v2/service/m2 v1.14.0 - github.com/aws/aws-sdk-go-v2/service/mediaconnect v1.29.0 - github.com/aws/aws-sdk-go-v2/service/mediaconvert v1.56.0 - github.com/aws/aws-sdk-go-v2/service/medialive v1.53.0 - github.com/aws/aws-sdk-go-v2/service/mediapackage v1.31.0 - github.com/aws/aws-sdk-go-v2/service/mediapackagev2 v1.13.0 - github.com/aws/aws-sdk-go-v2/service/mediastore v1.21.0 - github.com/aws/aws-sdk-go-v2/service/mq v1.23.0 - github.com/aws/aws-sdk-go-v2/service/mwaa v1.28.0 - github.com/aws/aws-sdk-go-v2/service/neptunegraph v1.9.0 - github.com/aws/aws-sdk-go-v2/service/oam v1.12.0 - github.com/aws/aws-sdk-go-v2/service/opensearchserverless v1.12.0 - github.com/aws/aws-sdk-go-v2/service/organizations v1.28.0 - github.com/aws/aws-sdk-go-v2/service/osis v1.11.0 - github.com/aws/aws-sdk-go-v2/service/paymentcryptography v1.11.0 - github.com/aws/aws-sdk-go-v2/service/pcaconnectorad v1.6.0 - github.com/aws/aws-sdk-go-v2/service/pipes v1.13.0 - github.com/aws/aws-sdk-go-v2/service/polly v1.41.0 - github.com/aws/aws-sdk-go-v2/service/pricing v1.29.0 - github.com/aws/aws-sdk-go-v2/service/qbusiness v1.7.0 - github.com/aws/aws-sdk-go-v2/service/qldb v1.22.0 - github.com/aws/aws-sdk-go-v2/service/ram v1.26.0 - github.com/aws/aws-sdk-go-v2/service/rbin v1.17.0 - github.com/aws/aws-sdk-go-v2/service/rds v1.80.0 - github.com/aws/aws-sdk-go-v2/service/redshift v1.45.0 - github.com/aws/aws-sdk-go-v2/service/redshiftdata v1.26.0 - github.com/aws/aws-sdk-go-v2/service/redshiftserverless v1.19.0 - github.com/aws/aws-sdk-go-v2/service/rekognition v1.41.0 - github.com/aws/aws-sdk-go-v2/service/resourceexplorer2 v1.11.0 - github.com/aws/aws-sdk-go-v2/service/resourcegroups v1.23.0 - github.com/aws/aws-sdk-go-v2/service/resourcegroupstaggingapi v1.22.0 - github.com/aws/aws-sdk-go-v2/service/rolesanywhere v1.12.0 - github.com/aws/aws-sdk-go-v2/service/route53 v1.41.0 - github.com/aws/aws-sdk-go-v2/service/route53domains v1.24.0 - github.com/aws/aws-sdk-go-v2/service/route53profiles v1.1.0 - github.com/aws/aws-sdk-go-v2/service/rum v1.18.0 - github.com/aws/aws-sdk-go-v2/service/s3 v1.56.0 - github.com/aws/aws-sdk-go-v2/service/s3control v1.45.0 - github.com/aws/aws-sdk-go-v2/service/scheduler v1.9.0 - github.com/aws/aws-sdk-go-v2/service/schemas v1.25.0 - github.com/aws/aws-sdk-go-v2/service/secretsmanager v1.31.0 - github.com/aws/aws-sdk-go-v2/service/securityhub v1.50.0 - github.com/aws/aws-sdk-go-v2/service/securitylake v1.15.0 - github.com/aws/aws-sdk-go-v2/service/servicecatalogappregistry v1.27.0 - github.com/aws/aws-sdk-go-v2/service/servicediscovery v1.30.0 - github.com/aws/aws-sdk-go-v2/service/servicequotas v1.22.0 - github.com/aws/aws-sdk-go-v2/service/sesv2 v1.31.0 - github.com/aws/aws-sdk-go-v2/service/shield v1.26.0 - github.com/aws/aws-sdk-go-v2/service/signer v1.23.0 - github.com/aws/aws-sdk-go-v2/service/sns v1.30.0 - github.com/aws/aws-sdk-go-v2/service/sqs v1.33.0 - github.com/aws/aws-sdk-go-v2/service/ssm v1.51.0 - github.com/aws/aws-sdk-go-v2/service/ssmcontacts v1.23.0 - github.com/aws/aws-sdk-go-v2/service/ssmincidents v1.31.0 - github.com/aws/aws-sdk-go-v2/service/ssmsap v1.14.0 - github.com/aws/aws-sdk-go-v2/service/sso v1.21.0 - github.com/aws/aws-sdk-go-v2/service/ssoadmin v1.26.0 - github.com/aws/aws-sdk-go-v2/service/sts v1.29.0 - github.com/aws/aws-sdk-go-v2/service/swf v1.24.0 - github.com/aws/aws-sdk-go-v2/service/synthetics v1.25.0 - github.com/aws/aws-sdk-go-v2/service/timestreaminfluxdb v1.1.0 - github.com/aws/aws-sdk-go-v2/service/timestreamwrite v1.26.0 - github.com/aws/aws-sdk-go-v2/service/transcribe v1.38.0 - github.com/aws/aws-sdk-go-v2/service/transfer v1.49.0 - github.com/aws/aws-sdk-go-v2/service/verifiedpermissions v1.16.0 - github.com/aws/aws-sdk-go-v2/service/vpclattice v1.9.0 - github.com/aws/aws-sdk-go-v2/service/waf v1.22.0 - github.com/aws/aws-sdk-go-v2/service/wafregional v1.22.0 - github.com/aws/aws-sdk-go-v2/service/wafv2 v1.50.0 - github.com/aws/aws-sdk-go-v2/service/wellarchitected v1.31.0 - github.com/aws/aws-sdk-go-v2/service/workspaces v1.40.0 - github.com/aws/aws-sdk-go-v2/service/workspacesweb v1.19.0 - github.com/aws/aws-sdk-go-v2/service/xray v1.26.0 + github.com/aws/aws-sdk-go v1.54.5 + github.com/aws/aws-sdk-go-v2 v1.30.0 + github.com/aws/aws-sdk-go-v2/config v1.27.21 + github.com/aws/aws-sdk-go-v2/credentials v1.17.21 + github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.8 + github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.17.1 + github.com/aws/aws-sdk-go-v2/service/accessanalyzer v1.31.1 + github.com/aws/aws-sdk-go-v2/service/account v1.18.1 + github.com/aws/aws-sdk-go-v2/service/acm v1.27.1 + github.com/aws/aws-sdk-go-v2/service/acmpca v1.31.1 + github.com/aws/aws-sdk-go-v2/service/amp v1.26.1 + github.com/aws/aws-sdk-go-v2/service/amplify v1.22.1 + github.com/aws/aws-sdk-go-v2/service/apigateway v1.24.1 + github.com/aws/aws-sdk-go-v2/service/apigatewayv2 v1.21.1 + github.com/aws/aws-sdk-go-v2/service/appconfig v1.30.1 + github.com/aws/aws-sdk-go-v2/service/appfabric v1.8.1 + github.com/aws/aws-sdk-go-v2/service/appflow v1.42.1 + github.com/aws/aws-sdk-go-v2/service/appintegrations v1.26.1 + github.com/aws/aws-sdk-go-v2/service/applicationautoscaling v1.28.1 + github.com/aws/aws-sdk-go-v2/service/applicationinsights v1.25.1 + github.com/aws/aws-sdk-go-v2/service/applicationsignals v1.1.1 + github.com/aws/aws-sdk-go-v2/service/apprunner v1.29.1 + github.com/aws/aws-sdk-go-v2/service/appstream v1.35.1 + github.com/aws/aws-sdk-go-v2/service/appsync v1.33.1 + github.com/aws/aws-sdk-go-v2/service/athena v1.43.0 + github.com/aws/aws-sdk-go-v2/service/auditmanager v1.34.1 + github.com/aws/aws-sdk-go-v2/service/autoscaling v1.41.1 + github.com/aws/aws-sdk-go-v2/service/autoscalingplans v1.21.1 + github.com/aws/aws-sdk-go-v2/service/backup v1.35.1 + github.com/aws/aws-sdk-go-v2/service/batch v1.40.1 + github.com/aws/aws-sdk-go-v2/service/bcmdataexports v1.4.1 + github.com/aws/aws-sdk-go-v2/service/bedrock v1.9.1 + github.com/aws/aws-sdk-go-v2/service/bedrockagent v1.13.1 + github.com/aws/aws-sdk-go-v2/service/budgets v1.24.1 + github.com/aws/aws-sdk-go-v2/service/chatbot v1.3.1 + github.com/aws/aws-sdk-go-v2/service/chimesdkmediapipelines v1.16.1 + github.com/aws/aws-sdk-go-v2/service/chimesdkvoice v1.16.1 + github.com/aws/aws-sdk-go-v2/service/cleanrooms v1.13.1 + github.com/aws/aws-sdk-go-v2/service/cloud9 v1.25.1 + github.com/aws/aws-sdk-go-v2/service/cloudcontrol v1.19.1 + github.com/aws/aws-sdk-go-v2/service/cloudformation v1.52.1 + github.com/aws/aws-sdk-go-v2/service/cloudfront v1.37.1 + github.com/aws/aws-sdk-go-v2/service/cloudfrontkeyvaluestore v1.5.1 + github.com/aws/aws-sdk-go-v2/service/cloudhsmv2 v1.23.1 + github.com/aws/aws-sdk-go-v2/service/cloudsearch v1.23.1 + github.com/aws/aws-sdk-go-v2/service/cloudtrail v1.41.1 + github.com/aws/aws-sdk-go-v2/service/cloudwatch v1.39.1 + github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs v1.36.1 + github.com/aws/aws-sdk-go-v2/service/codeartifact v1.28.1 + github.com/aws/aws-sdk-go-v2/service/codebuild v1.39.1 + github.com/aws/aws-sdk-go-v2/service/codecatalyst v1.14.1 + github.com/aws/aws-sdk-go-v2/service/codecommit v1.23.1 + github.com/aws/aws-sdk-go-v2/service/codedeploy v1.26.1 + github.com/aws/aws-sdk-go-v2/service/codeguruprofiler v1.21.1 + github.com/aws/aws-sdk-go-v2/service/codegurureviewer v1.26.1 + github.com/aws/aws-sdk-go-v2/service/codepipeline v1.29.1 + github.com/aws/aws-sdk-go-v2/service/codestarconnections v1.26.1 + github.com/aws/aws-sdk-go-v2/service/codestarnotifications v1.23.1 + github.com/aws/aws-sdk-go-v2/service/cognitoidentity v1.24.1 + github.com/aws/aws-sdk-go-v2/service/comprehend v1.32.1 + github.com/aws/aws-sdk-go-v2/service/computeoptimizer v1.35.1 + github.com/aws/aws-sdk-go-v2/service/configservice v1.47.1 + github.com/aws/aws-sdk-go-v2/service/connectcases v1.18.1 + github.com/aws/aws-sdk-go-v2/service/controltower v1.15.1 + github.com/aws/aws-sdk-go-v2/service/costandusagereportservice v1.25.0 + github.com/aws/aws-sdk-go-v2/service/costexplorer v1.39.1 + github.com/aws/aws-sdk-go-v2/service/costoptimizationhub v1.5.1 + github.com/aws/aws-sdk-go-v2/service/customerprofiles v1.37.1 + github.com/aws/aws-sdk-go-v2/service/datasync v1.39.1 + github.com/aws/aws-sdk-go-v2/service/datazone v1.10.1 + github.com/aws/aws-sdk-go-v2/service/dax v1.20.1 + github.com/aws/aws-sdk-go-v2/service/devicefarm v1.23.1 + github.com/aws/aws-sdk-go-v2/service/devopsguru v1.31.1 + github.com/aws/aws-sdk-go-v2/service/directoryservice v1.26.1 + github.com/aws/aws-sdk-go-v2/service/dlm v1.25.1 + github.com/aws/aws-sdk-go-v2/service/docdb v1.35.1 + github.com/aws/aws-sdk-go-v2/service/docdbelastic v1.10.1 + github.com/aws/aws-sdk-go-v2/service/drs v1.27.1 + github.com/aws/aws-sdk-go-v2/service/dynamodb v1.33.1 + github.com/aws/aws-sdk-go-v2/service/ec2 v1.165.1 + github.com/aws/aws-sdk-go-v2/service/ecr v1.29.1 + github.com/aws/aws-sdk-go-v2/service/ecrpublic v1.24.1 + github.com/aws/aws-sdk-go-v2/service/ecs v1.43.1 + github.com/aws/aws-sdk-go-v2/service/eks v1.44.1 + github.com/aws/aws-sdk-go-v2/service/elasticache v1.39.1 + github.com/aws/aws-sdk-go-v2/service/elasticbeanstalk v1.24.1 + github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2 v1.32.1 + github.com/aws/aws-sdk-go-v2/service/emr v1.40.1 + github.com/aws/aws-sdk-go-v2/service/emrserverless v1.22.1 + github.com/aws/aws-sdk-go-v2/service/eventbridge v1.32.1 + github.com/aws/aws-sdk-go-v2/service/evidently v1.20.1 + github.com/aws/aws-sdk-go-v2/service/finspace v1.25.1 + github.com/aws/aws-sdk-go-v2/service/firehose v1.30.1 + github.com/aws/aws-sdk-go-v2/service/fis v1.25.1 + github.com/aws/aws-sdk-go-v2/service/fms v1.34.1 + github.com/aws/aws-sdk-go-v2/service/glacier v1.23.1 + github.com/aws/aws-sdk-go-v2/service/globalaccelerator v1.25.1 + github.com/aws/aws-sdk-go-v2/service/groundstation v1.28.1 + github.com/aws/aws-sdk-go-v2/service/guardduty v1.44.1 + github.com/aws/aws-sdk-go-v2/service/healthlake v1.25.1 + github.com/aws/aws-sdk-go-v2/service/iam v1.33.1 + github.com/aws/aws-sdk-go-v2/service/identitystore v1.24.1 + github.com/aws/aws-sdk-go-v2/service/inspector2 v1.27.1 + github.com/aws/aws-sdk-go-v2/service/internetmonitor v1.15.1 + github.com/aws/aws-sdk-go-v2/service/ivschat v1.13.1 + github.com/aws/aws-sdk-go-v2/service/kafka v1.34.1 + github.com/aws/aws-sdk-go-v2/service/kendra v1.51.1 + github.com/aws/aws-sdk-go-v2/service/keyspaces v1.11.1 + github.com/aws/aws-sdk-go-v2/service/kinesis v1.28.1 + github.com/aws/aws-sdk-go-v2/service/kms v1.34.1 + github.com/aws/aws-sdk-go-v2/service/lakeformation v1.34.1 + github.com/aws/aws-sdk-go-v2/service/lambda v1.55.1 + github.com/aws/aws-sdk-go-v2/service/launchwizard v1.5.1 + github.com/aws/aws-sdk-go-v2/service/lexmodelsv2 v1.44.1 + github.com/aws/aws-sdk-go-v2/service/lightsail v1.39.1 + github.com/aws/aws-sdk-go-v2/service/lookoutmetrics v1.28.1 + github.com/aws/aws-sdk-go-v2/service/m2 v1.14.1 + github.com/aws/aws-sdk-go-v2/service/mediaconnect v1.29.1 + github.com/aws/aws-sdk-go-v2/service/mediaconvert v1.56.1 + github.com/aws/aws-sdk-go-v2/service/medialive v1.53.1 + github.com/aws/aws-sdk-go-v2/service/mediapackage v1.31.1 + github.com/aws/aws-sdk-go-v2/service/mediapackagev2 v1.13.1 + github.com/aws/aws-sdk-go-v2/service/mediastore v1.21.1 + github.com/aws/aws-sdk-go-v2/service/mq v1.23.1 + github.com/aws/aws-sdk-go-v2/service/mwaa v1.28.1 + github.com/aws/aws-sdk-go-v2/service/neptunegraph v1.9.1 + github.com/aws/aws-sdk-go-v2/service/oam v1.12.1 + github.com/aws/aws-sdk-go-v2/service/opensearchserverless v1.12.1 + github.com/aws/aws-sdk-go-v2/service/organizations v1.28.1 + github.com/aws/aws-sdk-go-v2/service/osis v1.11.1 + github.com/aws/aws-sdk-go-v2/service/paymentcryptography v1.11.1 + github.com/aws/aws-sdk-go-v2/service/pcaconnectorad v1.6.1 + github.com/aws/aws-sdk-go-v2/service/pipes v1.13.1 + github.com/aws/aws-sdk-go-v2/service/polly v1.41.1 + github.com/aws/aws-sdk-go-v2/service/pricing v1.29.1 + github.com/aws/aws-sdk-go-v2/service/qbusiness v1.7.1 + github.com/aws/aws-sdk-go-v2/service/qldb v1.22.1 + github.com/aws/aws-sdk-go-v2/service/ram v1.26.1 + github.com/aws/aws-sdk-go-v2/service/rbin v1.17.1 + github.com/aws/aws-sdk-go-v2/service/rds v1.80.1 + github.com/aws/aws-sdk-go-v2/service/redshift v1.45.1 + github.com/aws/aws-sdk-go-v2/service/redshiftdata v1.26.1 + github.com/aws/aws-sdk-go-v2/service/redshiftserverless v1.19.1 + github.com/aws/aws-sdk-go-v2/service/rekognition v1.41.1 + github.com/aws/aws-sdk-go-v2/service/resourceexplorer2 v1.11.1 + github.com/aws/aws-sdk-go-v2/service/resourcegroups v1.23.1 + github.com/aws/aws-sdk-go-v2/service/resourcegroupstaggingapi v1.22.1 + github.com/aws/aws-sdk-go-v2/service/rolesanywhere v1.12.1 + github.com/aws/aws-sdk-go-v2/service/route53 v1.41.1 + github.com/aws/aws-sdk-go-v2/service/route53domains v1.24.1 + github.com/aws/aws-sdk-go-v2/service/route53profiles v1.1.1 + github.com/aws/aws-sdk-go-v2/service/rum v1.18.1 + github.com/aws/aws-sdk-go-v2/service/s3 v1.56.1 + github.com/aws/aws-sdk-go-v2/service/s3control v1.45.1 + github.com/aws/aws-sdk-go-v2/service/scheduler v1.9.1 + github.com/aws/aws-sdk-go-v2/service/schemas v1.25.1 + github.com/aws/aws-sdk-go-v2/service/secretsmanager v1.31.1 + github.com/aws/aws-sdk-go-v2/service/securityhub v1.50.1 + github.com/aws/aws-sdk-go-v2/service/securitylake v1.15.1 + github.com/aws/aws-sdk-go-v2/service/servicecatalogappregistry v1.27.1 + github.com/aws/aws-sdk-go-v2/service/servicediscovery v1.30.1 + github.com/aws/aws-sdk-go-v2/service/servicequotas v1.22.1 + github.com/aws/aws-sdk-go-v2/service/sesv2 v1.31.1 + github.com/aws/aws-sdk-go-v2/service/shield v1.26.1 + github.com/aws/aws-sdk-go-v2/service/signer v1.23.1 + github.com/aws/aws-sdk-go-v2/service/sns v1.30.1 + github.com/aws/aws-sdk-go-v2/service/sqs v1.33.1 + github.com/aws/aws-sdk-go-v2/service/ssm v1.51.1 + github.com/aws/aws-sdk-go-v2/service/ssmcontacts v1.23.1 + github.com/aws/aws-sdk-go-v2/service/ssmincidents v1.31.1 + github.com/aws/aws-sdk-go-v2/service/ssmsap v1.14.1 + github.com/aws/aws-sdk-go-v2/service/sso v1.21.1 + github.com/aws/aws-sdk-go-v2/service/ssoadmin v1.26.1 + github.com/aws/aws-sdk-go-v2/service/sts v1.29.1 + github.com/aws/aws-sdk-go-v2/service/swf v1.24.1 + github.com/aws/aws-sdk-go-v2/service/synthetics v1.25.1 + github.com/aws/aws-sdk-go-v2/service/timestreaminfluxdb v1.1.1 + github.com/aws/aws-sdk-go-v2/service/timestreamwrite v1.26.1 + github.com/aws/aws-sdk-go-v2/service/transcribe v1.38.1 + github.com/aws/aws-sdk-go-v2/service/transfer v1.49.1 + github.com/aws/aws-sdk-go-v2/service/verifiedpermissions v1.16.1 + github.com/aws/aws-sdk-go-v2/service/vpclattice v1.9.1 + github.com/aws/aws-sdk-go-v2/service/waf v1.22.1 + github.com/aws/aws-sdk-go-v2/service/wafregional v1.22.1 + github.com/aws/aws-sdk-go-v2/service/wafv2 v1.50.1 + github.com/aws/aws-sdk-go-v2/service/wellarchitected v1.31.1 + github.com/aws/aws-sdk-go-v2/service/workspaces v1.40.1 + github.com/aws/aws-sdk-go-v2/service/workspacesweb v1.19.1 + github.com/aws/aws-sdk-go-v2/service/xray v1.26.1 github.com/aws/smithy-go v1.20.2 github.com/beevik/etree v1.4.0 github.com/cedar-policy/cedar-go v0.0.0-20240318205125-470d1fe984bb @@ -248,16 +249,16 @@ require ( github.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect github.com/armon/go-radix v1.0.0 // indirect github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.2 // indirect - github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.11 // indirect - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.11 // indirect + github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.12 // indirect + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.12 // indirect github.com/aws/aws-sdk-go-v2/internal/ini v1.8.0 // indirect - github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.11 // indirect + github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.12 // indirect github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.11.2 // indirect - github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.3.13 // indirect - github.com/aws/aws-sdk-go-v2/service/internal/endpoint-discovery v1.9.12 // indirect - github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.11.13 // indirect - github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.17.11 // indirect - github.com/aws/aws-sdk-go-v2/service/ssooidc v1.25.0 // indirect + github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.3.14 // indirect + github.com/aws/aws-sdk-go-v2/service/internal/endpoint-discovery v1.9.13 // indirect + github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.11.14 // indirect + github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.17.12 // indirect + github.com/aws/aws-sdk-go-v2/service/ssooidc v1.25.1 // indirect github.com/bgentry/speakeasy v0.1.0 // indirect github.com/boombuler/barcode v1.0.1 // indirect github.com/bufbuild/protocompile v0.6.0 // indirect diff --git a/go.sum b/go.sum index 9bbd96de6b7..d82438079ca 100644 --- a/go.sum +++ b/go.sum @@ -22,404 +22,406 @@ github.com/apparentlymart/go-textseg/v15 v15.0.0 h1:uYvfpb3DyLSCGWnctWKGj857c6ew github.com/apparentlymart/go-textseg/v15 v15.0.0/go.mod h1:K8XmNZdhEBkdlyDdvbmmsvpAG721bKi0joRfFdHIWJ4= github.com/armon/go-radix v1.0.0 h1:F4z6KzEeeQIMeLFa97iZU6vupzoecKdU5TX24SNppXI= github.com/armon/go-radix v1.0.0/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= -github.com/aws/aws-sdk-go v1.54.4 h1:xZga3fPu7uxVgh83DIaQlb7r0cixFx1xKiiROTWAhpU= -github.com/aws/aws-sdk-go v1.54.4/go.mod h1:eRwEWoyTWFMVYVQzKMNHWP5/RV4xIUGMQfXQHfHkpNU= -github.com/aws/aws-sdk-go-v2 v1.29.0 h1:uMlEecEwgp2gs6CsM6ugquNHr6mg0LHylPBR8u5Ojac= -github.com/aws/aws-sdk-go-v2 v1.29.0/go.mod h1:ffIFB97e2yNsv4aTSGkqtHnppsIJzw7G7BReUZ3jCXM= +github.com/aws/aws-sdk-go v1.54.5 h1:uOYrME3NWf7/J7orDdhZbF8IQCNkE7OZHATdzWS0ok0= +github.com/aws/aws-sdk-go v1.54.5/go.mod h1:eRwEWoyTWFMVYVQzKMNHWP5/RV4xIUGMQfXQHfHkpNU= +github.com/aws/aws-sdk-go-v2 v1.30.0 h1:6qAwtzlfcTtcL8NHtbDQAqgM5s6NDipQTkPxyH/6kAA= +github.com/aws/aws-sdk-go-v2 v1.30.0/go.mod h1:ffIFB97e2yNsv4aTSGkqtHnppsIJzw7G7BReUZ3jCXM= github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.2 h1:x6xsQXGSmW6frevwDA+vi/wqhp1ct18mVXYN08/93to= github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.2/go.mod h1:lPprDr1e6cJdyYeGXnRaJoP4Md+cDBvi2eOj00BlGmg= -github.com/aws/aws-sdk-go-v2/config v1.27.20 h1:oQSn/KNUMV54X0FBEDQQ2ymNfcKyMT81ar8gyvMzzqs= -github.com/aws/aws-sdk-go-v2/config v1.27.20/go.mod h1:IbEMotJrWc3Bh7++HXZDlviHZP7kHrkHU3PNl9e17po= -github.com/aws/aws-sdk-go-v2/credentials v1.17.20 h1:VYTCplAeOeBv5InTtrmF61OIwD4aHKryg3KZ6hf7dsI= -github.com/aws/aws-sdk-go-v2/credentials v1.17.20/go.mod h1:ktubcFYvbN8++72jVM9IJoQH6Q2TP+Z7r2VbV1AaESU= -github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.7 h1:54QUEXjkE1SlxHmRA3gBXA52j/ZSAgdOfAFGv1NsPCY= -github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.7/go.mod h1:bQRjJsdSMzmo/qbtGeBtPbIMp1IgQ+9R9jYJLm12uJA= -github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.17.0 h1:51p4kCxB/9+QvBtg0KfwgTu10yiHuB9SrjbUE0d/vgw= -github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.17.0/go.mod h1:FtmZRmuRxdLBk4P/JcvZncfbwvLobQYktVaVAF8cx9A= -github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.11 h1:ltkhl3I9ddcRR3Dsy+7bOFFq546O8OYsfNEXVIyuOSE= -github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.11/go.mod h1:H4D8JoCFNJwnT7U5U8iwgG24n71Fx2I/ZP/18eYFr9g= -github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.11 h1:+BgX2AY7yV4ggSwa80z/yZIJX+e0jnNxjMLVyfpSXM0= -github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.11/go.mod h1:DlBATBSDCz30BCdRFldmyLsAzJwi2pdQ+YSdJTHhTUI= +github.com/aws/aws-sdk-go-v2/config v1.27.21 h1:yPX3pjGCe2hJsetlmGNB4Mngu7UPmvWPzzWCv1+boeM= +github.com/aws/aws-sdk-go-v2/config v1.27.21/go.mod h1:4XtlEU6DzNai8RMbjSF5MgGZtYvrhBP/aKZcRtZAVdM= +github.com/aws/aws-sdk-go-v2/credentials v1.17.21 h1:pjAqgzfgFhTv5grc7xPHtXCAaMapzmwA7aU+c/SZQGw= +github.com/aws/aws-sdk-go-v2/credentials v1.17.21/go.mod h1:nhK6PtBlfHTUDVmBLr1dg+WHCOCK+1Fu/WQyVHPsgNQ= +github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.8 h1:FR+oWPFb/8qMVYMWN98bUZAGqPvLHiyqg1wqQGfUAXY= +github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.8/go.mod h1:EgSKcHiuuakEIxJcKGzVNWh5srVAQ3jKaSrBGRYvM48= +github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.17.1 h1:D9VqWMuw7lJAX6d5eINfRQ/PkvtcJAK3Qmd6f6xEeUw= +github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.17.1/go.mod h1:ckvBx7codI4wzc5inOfDp5ZbK7TjMFa7eXwmLvXQrRk= +github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.12 h1:SJ04WXGTwnHlWIODtC5kJzKbeuHt+OUNOgKg7nfnUGw= +github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.12/go.mod h1:FkpvXhA92gb3GE9LD6Og0pHHycTxW7xGpnEh5E7Opwo= +github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.12 h1:hb5KgeYfObi5MHkSSZMEudnIvX30iB+E21evI4r6BnQ= +github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.12/go.mod h1:CroKe/eWJdyfy9Vx4rljP5wTUjNJfb+fPz1uMYUhEGM= github.com/aws/aws-sdk-go-v2/internal/ini v1.8.0 h1:hT8rVHwugYE2lEfdFE0QWVo81lF7jMrYJVDWI+f+VxU= github.com/aws/aws-sdk-go-v2/internal/ini v1.8.0/go.mod h1:8tu/lYfQfFe6IGnaOdrpVgEL2IrrDOf6/m9RQum4NkY= -github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.11 h1:jJ2dythFP5oNunvwc3gBsINl3ZPt/InVm4a5OAr3tag= -github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.11/go.mod h1:SNkot0zeLtgjP54/6BGuyG12pBcXi77jV5nbEsPgPzg= -github.com/aws/aws-sdk-go-v2/service/accessanalyzer v1.31.0 h1:sM+N/AhxM0oPE2A+8iTYQ+jtYw4guFv+M37NSN3IUNM= -github.com/aws/aws-sdk-go-v2/service/accessanalyzer v1.31.0/go.mod h1:AbqbSr5/I8pLape+l0cXw8huuLmmW6hbk+NJzPiV8lg= -github.com/aws/aws-sdk-go-v2/service/account v1.18.0 h1:+pXg+HCr8fs/Y+yLuiALewjJ17xluA3d4Y7MvY8Ntt8= -github.com/aws/aws-sdk-go-v2/service/account v1.18.0/go.mod h1:4BVmMMaWjTz/Qb4wgcGF9WKNB5xbUvbEYQ1dV28Cjtc= -github.com/aws/aws-sdk-go-v2/service/acm v1.27.0 h1:TMHvKbOxYvIOWQjKjXKGWYiLHC0PsWO90+5Q19jaZW4= -github.com/aws/aws-sdk-go-v2/service/acm v1.27.0/go.mod h1:yNwraJajyXG0CXINndTEJjBRe6mztLyGuwxXRR9Mhpc= -github.com/aws/aws-sdk-go-v2/service/acmpca v1.31.0 h1:Wptawuh60SdMXHHVfKDj53JMHzzAS5M+TMwv8bI2RmM= -github.com/aws/aws-sdk-go-v2/service/acmpca v1.31.0/go.mod h1:i1DwOkVvZwXG1iZZGoFV+dpM2YZXwD/iK62HRDMGnC4= -github.com/aws/aws-sdk-go-v2/service/amp v1.26.0 h1:0Jagg+Frwq6spIAqhlL1MGaiN88iNWIaNl7Tfi3auSM= -github.com/aws/aws-sdk-go-v2/service/amp v1.26.0/go.mod h1:9tLXwv/RtSeYC+dCJYE4ung6GVaWlBDqNgGBGK3iUqk= -github.com/aws/aws-sdk-go-v2/service/amplify v1.22.0 h1:PN8oZ7yRpzFAyx9iSX1xlwtxsWaIVvncW4iYisqGaDA= -github.com/aws/aws-sdk-go-v2/service/amplify v1.22.0/go.mod h1:eB7zMwDOZm527WOxYKa7VyHLp8dcVEUD9JpCczepKhs= -github.com/aws/aws-sdk-go-v2/service/apigateway v1.24.0 h1:Cos+utTtPG8mSuYTEyetXJdYsRzSqN09Z4Kv/rDgf2E= -github.com/aws/aws-sdk-go-v2/service/apigateway v1.24.0/go.mod h1:s7TCkwGkWXJCMGM1bxTU5v+mmtgfoPWE+hs8I9Qzhlo= -github.com/aws/aws-sdk-go-v2/service/apigatewayv2 v1.21.0 h1:xyP23z+l970ebhCqrNbayxqN0w5ispKvdnaOeaXMNZ0= -github.com/aws/aws-sdk-go-v2/service/apigatewayv2 v1.21.0/go.mod h1:mU2L10FRxydiAqsbOzaVq70Y5MHQohDwDyFw4Fu2GIs= -github.com/aws/aws-sdk-go-v2/service/appconfig v1.30.0 h1:pQWQjXVrVyIXk2aWCxjhCiUmM+zIMfZdiyrtm9GAEC8= -github.com/aws/aws-sdk-go-v2/service/appconfig v1.30.0/go.mod h1:IjrKbSqKQ0srC0s9LMN4KxRSmxv0xlePl/ORBtpMhWk= -github.com/aws/aws-sdk-go-v2/service/appfabric v1.8.0 h1:FTpvnBAfIHc/sXTS+QiGgTRercCD/yIzs7jm1YmJw9I= -github.com/aws/aws-sdk-go-v2/service/appfabric v1.8.0/go.mod h1:UeUkeICXydru3Efh6fktw5FiEs1hqg6TgvHw1ygJmak= -github.com/aws/aws-sdk-go-v2/service/appflow v1.42.0 h1:ey8eexxAmSeyC1Vu50DuMEoKzKePmbi9EHEJEeo/mW4= -github.com/aws/aws-sdk-go-v2/service/appflow v1.42.0/go.mod h1:T6e7RTxTAfm31RqbHJJRJs9aY9HJW5fEEmSMTeskI0k= -github.com/aws/aws-sdk-go-v2/service/appintegrations v1.26.0 h1:kLUWmnf29cThAQm7No0flo3BL4Rfk2sN+ip9eezjkSY= -github.com/aws/aws-sdk-go-v2/service/appintegrations v1.26.0/go.mod h1:FEhHqncLj7R+PU9QhAPDgMzwAsHGIXZ98rCedWwSfTY= -github.com/aws/aws-sdk-go-v2/service/applicationautoscaling v1.28.0 h1:4WPtF/0EXZIca7qCh+FUJX3Y/8cQ74/e/OHPCGER3l8= -github.com/aws/aws-sdk-go-v2/service/applicationautoscaling v1.28.0/go.mod h1:asZnTFVkzwvpaXxDG/A8GX8hHBHKlP9SxK+S4YTzWIs= -github.com/aws/aws-sdk-go-v2/service/applicationinsights v1.25.0 h1:Ia8i2uaLSv4Tf4q/hpbX29RQFTTD5Y6xXoysx8kP6Sc= -github.com/aws/aws-sdk-go-v2/service/applicationinsights v1.25.0/go.mod h1:ISL5+44fOp3YrbemFOPOQY6vMHwrpGIv2DUG3Y3ONXE= -github.com/aws/aws-sdk-go-v2/service/applicationsignals v1.1.0 h1:vljpVeJryJTc7jf2mS2STCcQaAW6LQF3x5GWrmntbys= -github.com/aws/aws-sdk-go-v2/service/applicationsignals v1.1.0/go.mod h1:zuRwtacIdGnoc0eEcpuG0VOhSsCG94/e4VBqT1KVJLI= -github.com/aws/aws-sdk-go-v2/service/apprunner v1.29.0 h1:2mq4wcqtUnXRWiET9g9fb4BCM58u4k7cV40aKNFKMlY= -github.com/aws/aws-sdk-go-v2/service/apprunner v1.29.0/go.mod h1:8rZ+Aao3XWYvbqtYCK3VjTnZvBe3DcT7KoVZxjSMg+k= -github.com/aws/aws-sdk-go-v2/service/appstream v1.35.0 h1:9L19kRzVtNUIiz0NQnvgJypzplJPG9JOEjBy/wyuN3E= -github.com/aws/aws-sdk-go-v2/service/appstream v1.35.0/go.mod h1:ATnlc2aY3z5XskWJEWKTza4/wpVPrOwFtJ9HI8Buv+c= -github.com/aws/aws-sdk-go-v2/service/athena v1.42.0 h1:Sr0bdGcjjjdbKnfbG3E9/yFA3NjfdqjMNfdYeWbeI84= -github.com/aws/aws-sdk-go-v2/service/athena v1.42.0/go.mod h1:icVkUXsjL0BclkZQGcj8HhOHhV8VXLHp+eRy0GPlT+I= -github.com/aws/aws-sdk-go-v2/service/auditmanager v1.34.0 h1:81lVxLdg3myFI+42mmuzde474/7ITz3Dr14h2XgH928= -github.com/aws/aws-sdk-go-v2/service/auditmanager v1.34.0/go.mod h1:GEg56OI9X8fYbWmcN713VVeY6fKcgK5TRnZDSy5T2fg= -github.com/aws/aws-sdk-go-v2/service/autoscaling v1.41.0 h1:TwUcxCwi9aILTyZ/Ua4Hxd6jmvzQHVyngMvoN35PPts= -github.com/aws/aws-sdk-go-v2/service/autoscaling v1.41.0/go.mod h1:7o4x9MEil/+SnU9vtXrLMLrEOrrR+jZxm4SsRQKXayo= -github.com/aws/aws-sdk-go-v2/service/autoscalingplans v1.21.0 h1:thL+4Wxgd+D4VWr9/BWFHVvaDWezaBC7ciRklNMkvgk= -github.com/aws/aws-sdk-go-v2/service/autoscalingplans v1.21.0/go.mod h1:xBZfNNPlWOEfS9s6uh8DFk/qeRrEFWxUdersMay5Tt4= -github.com/aws/aws-sdk-go-v2/service/backup v1.35.0 h1:Rslqrh+EzDX0dZIfgCZ61TEoN0wuksFmvS+MyO3LKvI= -github.com/aws/aws-sdk-go-v2/service/backup v1.35.0/go.mod h1:eNW1wQTY8Fy+Sl0meiqzuE0IKKbN3vBN6H8st2K8msU= -github.com/aws/aws-sdk-go-v2/service/batch v1.40.0 h1:jel/D32IZ/GID2mCCWOcvS5q9j+rzbR8flyOmgus5wI= -github.com/aws/aws-sdk-go-v2/service/batch v1.40.0/go.mod h1:Q4rnVSoW0d1+ayvXY9yyAtVCHYz8yXBys2PJmPFQeCA= -github.com/aws/aws-sdk-go-v2/service/bcmdataexports v1.4.0 h1:zJt5mo1zyx1l2lVU4HOTKYXWH/cw0Xc33rZtmg/TRoU= -github.com/aws/aws-sdk-go-v2/service/bcmdataexports v1.4.0/go.mod h1:sSLqjK2+Wg8fqOso0TNnHnD0IMaDwOWhJALolz84MDI= -github.com/aws/aws-sdk-go-v2/service/bedrock v1.9.0 h1:wZRiGdDO5M5YgFtHlO0GkRND03oBOr44K2qdMry3biM= -github.com/aws/aws-sdk-go-v2/service/bedrock v1.9.0/go.mod h1:9RHg4c320Tf1hxX1IIyJ1siGS2ry+B+7SqBkoybQ/2U= -github.com/aws/aws-sdk-go-v2/service/bedrockagent v1.13.0 h1:pr+lctXgiRFMhm8M1+woYe6AEGHf6PHT0y6QwQDCyw4= -github.com/aws/aws-sdk-go-v2/service/bedrockagent v1.13.0/go.mod h1:vorT3phLE0Jez8CRI60hVQCdDjzPxXohhErZOqz/uHI= -github.com/aws/aws-sdk-go-v2/service/budgets v1.24.0 h1:K+zmh8LUtZCnGGTf7mbdpgp12Rb+ZNm485tu1XxzwZ0= -github.com/aws/aws-sdk-go-v2/service/budgets v1.24.0/go.mod h1:TtEJrSZX2gBPB0KhgTo0OfmvpXObcOeHW/UE/6C2Kew= -github.com/aws/aws-sdk-go-v2/service/chatbot v1.3.0 h1:z/npc7c0BgFzQXSVLw9FZFm2GAVO/B9luB/1lgUqZIY= -github.com/aws/aws-sdk-go-v2/service/chatbot v1.3.0/go.mod h1:P7199G/FaCnRmyNJKhre84iGg8D0a5rIh8SksFcCs+A= -github.com/aws/aws-sdk-go-v2/service/chimesdkmediapipelines v1.16.0 h1:ESa6Z9SbR2b8dsMo6G8JIAt6wHgPV22LC/2M/ZAqMkk= -github.com/aws/aws-sdk-go-v2/service/chimesdkmediapipelines v1.16.0/go.mod h1:G4GvQuBcVMBqWh+CN6uPsqHRvssUyzsbj0IQGjapUFo= -github.com/aws/aws-sdk-go-v2/service/chimesdkvoice v1.16.0 h1:tfLMmT43ctr13Bn67fTnVfz3gDbtei4tdJapNTeg2WQ= -github.com/aws/aws-sdk-go-v2/service/chimesdkvoice v1.16.0/go.mod h1:BC8CIP0PsZAhUDixYPaZFx8VoeHrpLk5GrxXQfYa4CA= -github.com/aws/aws-sdk-go-v2/service/cleanrooms v1.13.0 h1:QebHv7d+bOVJBy4W7GimKQEcOGbKDGdel1ZarIEUbVw= -github.com/aws/aws-sdk-go-v2/service/cleanrooms v1.13.0/go.mod h1:aDektKdR9DtsOVmx2qZES53exu/JieOEE+RY02edx1E= -github.com/aws/aws-sdk-go-v2/service/cloud9 v1.25.0 h1:32mBVHktTOMYts6uLhRcmQKKObM5mCW45u/eVSawkis= -github.com/aws/aws-sdk-go-v2/service/cloud9 v1.25.0/go.mod h1:nI/COcoOpplZFJfSSkr9HkhwE0Zuq+Ar677fvfEyn0U= -github.com/aws/aws-sdk-go-v2/service/cloudcontrol v1.19.0 h1:TzWMznMQZ8NIfIpp7+QdqanvNMh/rYen3M/cvm13NO4= -github.com/aws/aws-sdk-go-v2/service/cloudcontrol v1.19.0/go.mod h1:jM1vnDSlhghsGirQ3nAwPVN+VBJs5f0ndAAqMEVshQU= -github.com/aws/aws-sdk-go-v2/service/cloudformation v1.52.0 h1:o4KYr8Mz5/6270WLfIq7Bg+s8BDzlqBeyoUR8WsNaJM= -github.com/aws/aws-sdk-go-v2/service/cloudformation v1.52.0/go.mod h1:mTlG5ftvrnlCepKl3O6LMvbj3BUSbpKIXoIFkKiC6gQ= -github.com/aws/aws-sdk-go-v2/service/cloudfront v1.37.0 h1:e94R6zDJ4r3VPvtnJERAGR6G1dpcA2P8gjMkvpV7KaY= -github.com/aws/aws-sdk-go-v2/service/cloudfront v1.37.0/go.mod h1:I2pHP163WgKrZYYUHB0TYqy0CTLaTXXPOjhBcN909og= -github.com/aws/aws-sdk-go-v2/service/cloudfrontkeyvaluestore v1.5.0 h1:CxSxQho9OyQauJgWoy2ceyicHyf9m2+bZuSbcV8q9EI= -github.com/aws/aws-sdk-go-v2/service/cloudfrontkeyvaluestore v1.5.0/go.mod h1:js3OHqsvjHfBGiR3cKxje/bu9CIbZ6kODi0AfRKoC2k= -github.com/aws/aws-sdk-go-v2/service/cloudhsmv2 v1.23.0 h1:jmiHtI0dyjUmlTieA5wHr5CD0OjFj5X48yqkFQT58Tc= -github.com/aws/aws-sdk-go-v2/service/cloudhsmv2 v1.23.0/go.mod h1:OnOsdWLQoghWto7y/M5yCvSuxI7zLyjbUBQE5R+D9P0= -github.com/aws/aws-sdk-go-v2/service/cloudsearch v1.23.0 h1:EvxViEG4aJ75SYrbHy1AdNrxkOKF1Pu/gbbCo2uPB+w= -github.com/aws/aws-sdk-go-v2/service/cloudsearch v1.23.0/go.mod h1:VfcR30AxMSIuSqrYLb8n3N2YitWfSqrmLiX0Cat0xnY= -github.com/aws/aws-sdk-go-v2/service/cloudtrail v1.41.0 h1:SLgkiFKAfLqUJyDIZeNhfqExA3xVNP5zRzZqIKMTFzo= -github.com/aws/aws-sdk-go-v2/service/cloudtrail v1.41.0/go.mod h1:ZoPhg3Mqkoqi5Z3+h8ArMfns6QxH1UgPLsi2WvDx9KQ= -github.com/aws/aws-sdk-go-v2/service/cloudwatch v1.39.0 h1:mPSDewf6WAU9Csb5UvJbQjdTrh1YRqIXz8qSI7ZjFvQ= -github.com/aws/aws-sdk-go-v2/service/cloudwatch v1.39.0/go.mod h1:DI/WW2qdeZn0yFmzR/JZqxCEI/kPPV7CMj5+j6IEsyo= -github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs v1.36.0 h1:lFn5aoo8DlyBWy2FynTLPSlfdjdyPN/y9LYb7uojWXE= -github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs v1.36.0/go.mod h1:eFPFaDAUICetgvWBzn0jH6D5zu6/+/CbtuqlaGFSMrQ= -github.com/aws/aws-sdk-go-v2/service/codeartifact v1.28.0 h1:3jegt/XwhjmG+lweNnn6o+3GUWohGDB03JT5Qyhjy6w= -github.com/aws/aws-sdk-go-v2/service/codeartifact v1.28.0/go.mod h1:5pydPuwwmrII/A6KAwA+CzmTOegfqI4etP2efFxdVBg= -github.com/aws/aws-sdk-go-v2/service/codebuild v1.39.0 h1:z7A3wnYlRMPAaL/3rgOhfunZNgCkxYxWeX+IrBLNdEI= -github.com/aws/aws-sdk-go-v2/service/codebuild v1.39.0/go.mod h1:60OtE7cK691Mwi3yzgjMsK0p/fox2f2ABxb9I8tfRqs= -github.com/aws/aws-sdk-go-v2/service/codecatalyst v1.14.0 h1:xyMh2lYk7iXCbrdkmErQiXCrIR09gSMS5ywYhBRPNmg= -github.com/aws/aws-sdk-go-v2/service/codecatalyst v1.14.0/go.mod h1:jjBzkVPPhrZuyXg/Fzxz8YxBjCw1kTVoB2kH3cSYIts= -github.com/aws/aws-sdk-go-v2/service/codecommit v1.23.0 h1:tVN59Z3FGpGh4DMv/qrgsjplKXdm5NrHKpIVvvTgwxo= -github.com/aws/aws-sdk-go-v2/service/codecommit v1.23.0/go.mod h1:9wxPodN0jhDQk1X/hiWrvQSCgIzuwTc+5zY/tLStRJM= -github.com/aws/aws-sdk-go-v2/service/codedeploy v1.26.0 h1:+GRYZ5t75fFMudQOW+IGH6zxaEy8NQQtt+oK9m8JbJY= -github.com/aws/aws-sdk-go-v2/service/codedeploy v1.26.0/go.mod h1:Q6sDZXeOksdwhHVQ+aKMMos5eoRV/BdBEBufkclSyBA= -github.com/aws/aws-sdk-go-v2/service/codeguruprofiler v1.21.0 h1:C4lbzhM44DVeKSTYl5/mpRLdAx2mlsq//Cisko5LUzo= -github.com/aws/aws-sdk-go-v2/service/codeguruprofiler v1.21.0/go.mod h1:cmA9tSWcBVnogTkJ9HxXr4vmgvLJ+J0wy3oBRbnKMIM= -github.com/aws/aws-sdk-go-v2/service/codegurureviewer v1.26.0 h1:cJgrzf0XSfwyEfyMd6pGBAXLEuWrpbaAdX/gm5i0c/M= -github.com/aws/aws-sdk-go-v2/service/codegurureviewer v1.26.0/go.mod h1:mKa4tKUsRWgMnvtDnvkIbOlGRlHWxM5S3ApXs4oZzC0= -github.com/aws/aws-sdk-go-v2/service/codepipeline v1.29.0 h1:v6PeeRF76JIfftHvIrBXApPmj5TF9ZgqoZaRgEkXpHo= -github.com/aws/aws-sdk-go-v2/service/codepipeline v1.29.0/go.mod h1:AeH5FpEbbnjaAk9kqyJVk2eH9e0XLkHbI40fEF+hjpA= -github.com/aws/aws-sdk-go-v2/service/codestarconnections v1.26.0 h1:hMxeMa8aEe0DsAF+KgHkINyJ1qeiJ9pqL7xb4Q4PuIc= -github.com/aws/aws-sdk-go-v2/service/codestarconnections v1.26.0/go.mod h1:yYtKu78blthI45EdP2M6dbgLImAr9glsPhUFRdGcs3A= -github.com/aws/aws-sdk-go-v2/service/codestarnotifications v1.23.0 h1:q7gj1bSG1S1AdtUbxmMJfMSBNTB7lYNpOS9F3rgLOxo= -github.com/aws/aws-sdk-go-v2/service/codestarnotifications v1.23.0/go.mod h1:Epw+lxzb3qOMd+3gZhVuoh7S13h6BXP1W1dqWj6ANm4= -github.com/aws/aws-sdk-go-v2/service/cognitoidentity v1.24.0 h1:dYD6qKzSwJKa1/z0ZKp/82l5OaRHz1kDgcyPxR8RRK8= -github.com/aws/aws-sdk-go-v2/service/cognitoidentity v1.24.0/go.mod h1:GCf4z4EUKj4Y4N5kxbJfa+l//qsgbbHDe1dj+1yYT4E= -github.com/aws/aws-sdk-go-v2/service/comprehend v1.32.0 h1:lbxacb9zGdGOLLVNN/fE1NO5ppYS6tZLNMyvSwU3DiE= -github.com/aws/aws-sdk-go-v2/service/comprehend v1.32.0/go.mod h1:sY0SMZ1KRagJ2ED5/F8S0A0oPz1brRzJnXF/gkvie1E= -github.com/aws/aws-sdk-go-v2/service/computeoptimizer v1.35.0 h1:HfCj8YhWHZzBGWwSBIWsRUyuaVcD0l3gtfpZZLu7Wko= -github.com/aws/aws-sdk-go-v2/service/computeoptimizer v1.35.0/go.mod h1:/PxDjyK/SWyUdk5mrq663qUeAdFjOyAVWQ/q0dNcZZI= -github.com/aws/aws-sdk-go-v2/service/configservice v1.47.0 h1:U6EQANOy4eB5aP93NBhgBo4XAlVy/qf6CTNTZpvTUVA= -github.com/aws/aws-sdk-go-v2/service/configservice v1.47.0/go.mod h1:io3I6nvqdgD1Nq2x6xK0leLo+IsY2LsQXxFrPMZBYfs= -github.com/aws/aws-sdk-go-v2/service/connectcases v1.18.0 h1:A6GY24qgYzvWAAs8TyLmyrvX05IKsMtOPCFy/xu/BTE= -github.com/aws/aws-sdk-go-v2/service/connectcases v1.18.0/go.mod h1:4g9AskDE1lsSbaHVkLCn+6vYai+u+agS7PCd9+wQzLA= -github.com/aws/aws-sdk-go-v2/service/controltower v1.15.0 h1:bSxrwYKhquIB85XSZ4yhVjdDx74tzY/97O722vAJhko= -github.com/aws/aws-sdk-go-v2/service/controltower v1.15.0/go.mod h1:CFcv6L4uZ+mpY5bcbJ9HHPXTjBG9BpIz3AOTSpCvdqw= -github.com/aws/aws-sdk-go-v2/service/costandusagereportservice v1.24.0 h1:HQI7FIQ9lSI5JpXMBwG6NQ/CvgUEQA4dcqvtpZ5grkY= -github.com/aws/aws-sdk-go-v2/service/costandusagereportservice v1.24.0/go.mod h1:3yHlvQo34SVrOeLt2z+XmhkBla7cl9PPnNbkH/09UaU= -github.com/aws/aws-sdk-go-v2/service/costexplorer v1.39.0 h1:Ybb0Chz4woaBvA5zBg5BkLflE7k19mUNNnGfdliCuFw= -github.com/aws/aws-sdk-go-v2/service/costexplorer v1.39.0/go.mod h1:M0zVr8zXYjiaPaJxzCdjPSL5DTzPDqD9cwxIqRCweTY= -github.com/aws/aws-sdk-go-v2/service/costoptimizationhub v1.5.0 h1:/sQS4Bbg7o0FT8sgTigUyjupfxeaNPy+aiCFYTD+9Pw= -github.com/aws/aws-sdk-go-v2/service/costoptimizationhub v1.5.0/go.mod h1:1rwIiJ8X0cE5Z/ohGae7APa/y0WnxKmMLM+Qro3Y2r8= -github.com/aws/aws-sdk-go-v2/service/customerprofiles v1.37.0 h1:Mysy3wqQ/8WZ853AL2Q6uEIMkyxJ2N1DLqeAFdirXns= -github.com/aws/aws-sdk-go-v2/service/customerprofiles v1.37.0/go.mod h1:25enS+qI7PKn+dIzAvhXH+0b74F5M6bxVL1Dbu3Yqrg= -github.com/aws/aws-sdk-go-v2/service/datasync v1.39.0 h1:lUNkpy/yBLaZOWEcQfIxD4A2V1QMXSHHtPWgU0WFkjY= -github.com/aws/aws-sdk-go-v2/service/datasync v1.39.0/go.mod h1:GDwumRrPG+UoXowosbT8ISPlywOEbeq+whAdap2ROzo= -github.com/aws/aws-sdk-go-v2/service/datazone v1.10.0 h1:67U19JujMHzGz3XK0ScEJnoyW8+nh5c4V+sMVTyw1p4= -github.com/aws/aws-sdk-go-v2/service/datazone v1.10.0/go.mod h1:l5uHXSeaVLtPNDHVtgk1nzjjwf/+BwcpXgON9gckMvo= -github.com/aws/aws-sdk-go-v2/service/dax v1.20.0 h1:f3MqW79KuP3qHavzUZK55OaP5GC91Xgu5ZCx0oN+tUI= -github.com/aws/aws-sdk-go-v2/service/dax v1.20.0/go.mod h1:crF1xZ0UuNSBKA9n/GZESG+AcLeHutdVrrRvEKW2sqM= -github.com/aws/aws-sdk-go-v2/service/devicefarm v1.23.0 h1:K9wGwAuzW472zGzdk4ERM0wNXvyWk6grlVLlJlpwhgI= -github.com/aws/aws-sdk-go-v2/service/devicefarm v1.23.0/go.mod h1:doNhXXr3bB+0nzrBU5aL9MmqR/+63f4LTvDOTDn+9Jo= -github.com/aws/aws-sdk-go-v2/service/devopsguru v1.31.0 h1:UMzMSn+nZ3Fi/RvCzCjYmx19Ny4zJeq8vOJh5+e3MnY= -github.com/aws/aws-sdk-go-v2/service/devopsguru v1.31.0/go.mod h1:aQ7PIqC5CXP5kp2bYZWavDiqyopZKCThO0PXGGs7PBM= -github.com/aws/aws-sdk-go-v2/service/directoryservice v1.26.0 h1:4u9ThMW+3Wnab1KDLVrHO/1V8RoyWgCTVlr2j5kgryI= -github.com/aws/aws-sdk-go-v2/service/directoryservice v1.26.0/go.mod h1:FyvpPxwx5ncLB8b0z7sqBECy614PP2F2KqJC1kFyUxE= -github.com/aws/aws-sdk-go-v2/service/dlm v1.25.0 h1:QPV1oGvIWQuvfm4D8kU4kI6WNuQfHTJ5uA99I/cOhp4= -github.com/aws/aws-sdk-go-v2/service/dlm v1.25.0/go.mod h1:CTM0SjMDpZOBu+azuk1Mw3jC5UhPwq4MrO0pPHtBEu4= -github.com/aws/aws-sdk-go-v2/service/docdb v1.35.0 h1:XU0oBaQK9KPr4yP0ZtC4g/5yOOoaCNcnPB6m3E0YfCs= -github.com/aws/aws-sdk-go-v2/service/docdb v1.35.0/go.mod h1:tguc8Z/5tYRQ/zTREVtoGjTp1K9eZdJMqN0YCAagBXw= -github.com/aws/aws-sdk-go-v2/service/docdbelastic v1.10.0 h1:32T80uFHi4ZMWpUXYpjcQLzGfRONpVagB1G+VbxYUC8= -github.com/aws/aws-sdk-go-v2/service/docdbelastic v1.10.0/go.mod h1:7Y6c5EtsLSYirM00nWqsJg/fIfboU0L+AfwMICufcJk= -github.com/aws/aws-sdk-go-v2/service/drs v1.27.0 h1:5/H3aq02wXrDhncP60kSbUoyOTGPahR/t3dW9c5Y4YU= -github.com/aws/aws-sdk-go-v2/service/drs v1.27.0/go.mod h1:T+TlvSk14iPkBLujzsTEaPZ36cOyaz2MLH1ttuIwQCA= -github.com/aws/aws-sdk-go-v2/service/dynamodb v1.33.0 h1:PkT1xMKymZEvR8n5WM97XdLWwxQGxnDrqMaquPLI0UY= -github.com/aws/aws-sdk-go-v2/service/dynamodb v1.33.0/go.mod h1:IpoHTdKbzTZUkF67mAGOcqndO7LA8yzMF9FbJbeAKIk= -github.com/aws/aws-sdk-go-v2/service/ec2 v1.165.0 h1:FQpJS76mmmo21FZn9FAutjAIxotNkiGXUYfUQN/RfGA= -github.com/aws/aws-sdk-go-v2/service/ec2 v1.165.0/go.mod h1:+dDvvbkwmJCZGzsSlsqEtJ6XhyG/hD2FHjIfpqcNl+o= -github.com/aws/aws-sdk-go-v2/service/ecr v1.29.0 h1:5eON4rBQMHFTX7thxv4EQpRrombmiMsv3+wCEPewk+c= -github.com/aws/aws-sdk-go-v2/service/ecr v1.29.0/go.mod h1:2BLsspQpxT8gg3dM6G5CZGXhrE/EpX8PeL2lsZ0zDKc= -github.com/aws/aws-sdk-go-v2/service/ecrpublic v1.24.0 h1:5F9MRX4tyEdZ8L+7op99b+ie+1bxaKCf+i1QlCnochM= -github.com/aws/aws-sdk-go-v2/service/ecrpublic v1.24.0/go.mod h1:Q1viq/XwLL61fNLG8k0mZmDEvHaGn98QcNewkxHXDSY= -github.com/aws/aws-sdk-go-v2/service/ecs v1.43.0 h1:efgv9/bmag2npefcjkoLA7LIN2CfoUh2l3Zory7mhkk= -github.com/aws/aws-sdk-go-v2/service/ecs v1.43.0/go.mod h1:30V0YAIaqPu/zgtVeuLmUht809PnYNOK8PUov7YE0fA= -github.com/aws/aws-sdk-go-v2/service/eks v1.44.0 h1:+nNKonJ9cFCp07GTRc4ftQcw1Px/dyTvei1fHTpu+5M= -github.com/aws/aws-sdk-go-v2/service/eks v1.44.0/go.mod h1:l3Ce8Ls3SoCaqheT2UV5qfDw2Md+xCvjEVmtI+9ynpo= -github.com/aws/aws-sdk-go-v2/service/elasticache v1.39.0 h1:g054qAZjl0D2ISEUYfh1EvDV2Z6g8s3X606Q9iV6r/0= -github.com/aws/aws-sdk-go-v2/service/elasticache v1.39.0/go.mod h1:AKYnQqdlH5hq65hpj73kZvAIu2JZnaBRxsGsu39JmM8= -github.com/aws/aws-sdk-go-v2/service/elasticbeanstalk v1.24.0 h1:luQaJXM8g3MRZPEbMzQ2ut3dx6QnG0sO1OYIe5VPCR4= -github.com/aws/aws-sdk-go-v2/service/elasticbeanstalk v1.24.0/go.mod h1:72t1RRQNbuAt0wYiYmw6IshZETm5gkmr75zFrZopFLU= -github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2 v1.32.0 h1:iMTooAw0vUOiY6byiaVQgtFUE2GsudZ9DTJwnmKb+K4= -github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2 v1.32.0/go.mod h1:7dAQkaiNMiZGo0h3l5Il1v9E3eiqKW3DugEQmmJHoqo= -github.com/aws/aws-sdk-go-v2/service/emr v1.40.0 h1:hWsQlAEHgHJIW2gkW+d+J4tPqZ9LRGBkvInZ3Mje9+A= -github.com/aws/aws-sdk-go-v2/service/emr v1.40.0/go.mod h1:5xmrleryUdXi+uFipHwKiDgUwIgZbGXn6hs7PZjnZTQ= -github.com/aws/aws-sdk-go-v2/service/emrserverless v1.22.0 h1:vW/D2ptwtnwjALuTz6FU5yENgTmFTH+3Cgsl43rDbMA= -github.com/aws/aws-sdk-go-v2/service/emrserverless v1.22.0/go.mod h1:ea+Ml3AQot2+q3j9zK/zyMaL3f1HoQq/wc3vR1FPTh8= -github.com/aws/aws-sdk-go-v2/service/eventbridge v1.32.0 h1:MyjnZtMEPJrI33u9+HPgqhFGi65sj+UOpfttPnoLQ8I= -github.com/aws/aws-sdk-go-v2/service/eventbridge v1.32.0/go.mod h1:MCMQtekAJCrg/M8lJrKVoVbsMl2MAU44RCKLdE5tQ4k= -github.com/aws/aws-sdk-go-v2/service/evidently v1.20.0 h1:QdYEs3DC8oWu4cV8FnrLBZjFFrW5vDrTpeUxxOsUQJ0= -github.com/aws/aws-sdk-go-v2/service/evidently v1.20.0/go.mod h1:sPuFaQ/DeK2FsJ1KzyLj8sO5g2IV8+0V28VCVk1hk8o= -github.com/aws/aws-sdk-go-v2/service/finspace v1.25.0 h1:FelLYQ5vrVsgI4r3Q1hJJfKYbcRaj7kncgncF+sCm+Y= -github.com/aws/aws-sdk-go-v2/service/finspace v1.25.0/go.mod h1:rSCRrHyvoKMZxPznz9FMC1lwK8DE4qLURw2rzMiEEMQ= -github.com/aws/aws-sdk-go-v2/service/firehose v1.30.0 h1:xDay+EZfe0OZKrx/Wtjhcweie3w+m01gpyexTebEA6U= -github.com/aws/aws-sdk-go-v2/service/firehose v1.30.0/go.mod h1:GST/Kf+NkoLXbC7wXkaqnXQV1F/Pt6ezlK8Sza3QdDY= -github.com/aws/aws-sdk-go-v2/service/fis v1.25.0 h1:LzC+g87pqfTlpT5779D86/jp55HgqjyLFz49aI8bkNM= -github.com/aws/aws-sdk-go-v2/service/fis v1.25.0/go.mod h1:gApaUrNvjKaFimyr9E09MaCHTN6N2nRtApRVS3rYb7A= -github.com/aws/aws-sdk-go-v2/service/fms v1.34.0 h1:btGAO2JhzkxagPmb6u4oY3UdxQYeRJv09rVSj9YObqU= -github.com/aws/aws-sdk-go-v2/service/fms v1.34.0/go.mod h1:pzeU9c8sSZiL0SlAjY/jFBvsYDZnk052Rbq+E/NdcHU= -github.com/aws/aws-sdk-go-v2/service/glacier v1.23.0 h1:aq0q+CifJj5URlsqSdZA8+LeSCl+RkxXZYEu2kXkTuM= -github.com/aws/aws-sdk-go-v2/service/glacier v1.23.0/go.mod h1:Ydh2fORQhB33j3aeqFzzRqxyFJdr1j2a3eoAH9jJ348= -github.com/aws/aws-sdk-go-v2/service/globalaccelerator v1.25.0 h1:9P29s6K5fEDh1oOgjj+FRxYF1IwI73+vi7wycuy/FKA= -github.com/aws/aws-sdk-go-v2/service/globalaccelerator v1.25.0/go.mod h1:BAqdH8ZBbv0JdKe7r9DxlU/FmF4WGIYEsJuV6g4tIf0= -github.com/aws/aws-sdk-go-v2/service/groundstation v1.28.0 h1:IrOlyBLb6XjB/iz0NoUSDjLCUYCHKKVxSrZUExb8tZ4= -github.com/aws/aws-sdk-go-v2/service/groundstation v1.28.0/go.mod h1:gdMcdxtsqAvXMXqQpRmq8p06d7z6EAHb8mAP18K7duU= -github.com/aws/aws-sdk-go-v2/service/guardduty v1.44.0 h1:1sIp9dUD3J7rPIHS9PvwJI7mIWtFP6e8RHy+RiUQZFo= -github.com/aws/aws-sdk-go-v2/service/guardduty v1.44.0/go.mod h1:tfSfErj83MbzhHCZiUT/h5Pgz6HTAn47ZdO00icaNnU= -github.com/aws/aws-sdk-go-v2/service/healthlake v1.25.0 h1:hmrbocHNj8wkYbVx2IQ6D2GMBfbbqZurALwI7O/gRCA= -github.com/aws/aws-sdk-go-v2/service/healthlake v1.25.0/go.mod h1:3mevB7W93YhBpe7d4SW9jxiQdg5dlhL8U/r3sE1loU4= -github.com/aws/aws-sdk-go-v2/service/iam v1.33.0 h1:p2xoaDPoghFBgtHndpM8//LauNkAU4/SXZn6HSfl4qM= -github.com/aws/aws-sdk-go-v2/service/iam v1.33.0/go.mod h1:mycyYpCERRrn4zwk6/qOtnw5poVSrDb1pHY+RLPfIkA= -github.com/aws/aws-sdk-go-v2/service/identitystore v1.24.0 h1:qEAorzngBK3F06xk2s6tJRYJW8iCQM9YS0AA71ZQ9Ak= -github.com/aws/aws-sdk-go-v2/service/identitystore v1.24.0/go.mod h1:kO/aFGBHyBYc3iZZM/V6o1CX3KwmKL7dLOkptnVLz60= -github.com/aws/aws-sdk-go-v2/service/inspector2 v1.27.0 h1:X6iYhpr/T3elhQ+Kvnx8Hyz+cZMtTWb7OPQc8OU5KtM= -github.com/aws/aws-sdk-go-v2/service/inspector2 v1.27.0/go.mod h1:P3o/FYtRp9xLTWmIxZHgiZ7IMFc6naXeBeZANkms7DI= +github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.12 h1:DXFWyt7ymx/l1ygdyTTS0X923e+Q2wXIxConJzrgwc0= +github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.12/go.mod h1:mVOr/LbvaNySK1/BTy4cBOCjhCNY2raWBwK4v+WR5J4= +github.com/aws/aws-sdk-go-v2/service/accessanalyzer v1.31.1 h1:xiBxyVn3snq4T4ULkhluYUDouVWa0/bvCacJaaW5Zaw= +github.com/aws/aws-sdk-go-v2/service/accessanalyzer v1.31.1/go.mod h1:joyQCMQ4RuIAyFlaxemD0fvhbfv+A+j8OdMUJHpyxWk= +github.com/aws/aws-sdk-go-v2/service/account v1.18.1 h1:GRinAnafboH983+FkLjFO1eMOa3+TcgjQvqb0JMDE4M= +github.com/aws/aws-sdk-go-v2/service/account v1.18.1/go.mod h1:E9NGq+OLfDPiiLj3cl+4srGmNYytb/UB2DPEGvEhAQI= +github.com/aws/aws-sdk-go-v2/service/acm v1.27.1 h1:EMnuoQ/WR4/VNE8QmFrXq4u0BZH2Xhc9Yr41xZlths0= +github.com/aws/aws-sdk-go-v2/service/acm v1.27.1/go.mod h1:wHw2SsqkXuys0SArqz+Rb7LGvujWSnlPByxCm6q7kus= +github.com/aws/aws-sdk-go-v2/service/acmpca v1.31.1 h1:FAk92O6prrubKEZOPq1EaB09B3G7crDIrmSiRdcQDrY= +github.com/aws/aws-sdk-go-v2/service/acmpca v1.31.1/go.mod h1:5GKFDOiJPtkP6jyRx8AB0vRap2JYPyD5pKJQALHIn9s= +github.com/aws/aws-sdk-go-v2/service/amp v1.26.1 h1:svGkgUKZDc5SNSiP6BgcOe/6sPmwBniltU6uHmxrjqo= +github.com/aws/aws-sdk-go-v2/service/amp v1.26.1/go.mod h1:mBtHxQRTrzQB0G5oap7IcgP9Ny5p9BJSGhWnuQ+35EY= +github.com/aws/aws-sdk-go-v2/service/amplify v1.22.1 h1:4ViQJ+tm0D5a+aAdJlPsw+tsxAxbN/ChdbyCWtVRnPg= +github.com/aws/aws-sdk-go-v2/service/amplify v1.22.1/go.mod h1:IlSHwknO6vYVWAMPddUNS+RIJEFDawvLl9NMmMoXBgU= +github.com/aws/aws-sdk-go-v2/service/apigateway v1.24.1 h1:20jy3+l7bQA6tJ1nJxg8+l+1Xm9KrDslNVvc8HvLoEI= +github.com/aws/aws-sdk-go-v2/service/apigateway v1.24.1/go.mod h1:gcUX4UmbhON3+0ij28aojD7vaMPqsRYFefqwxCLbUnw= +github.com/aws/aws-sdk-go-v2/service/apigatewayv2 v1.21.1 h1:qbbxz47vQdGzvLeHS8xmvp3shV0n8cAnmred+Ehj6qQ= +github.com/aws/aws-sdk-go-v2/service/apigatewayv2 v1.21.1/go.mod h1:3tgssMs7RA6rZoI6K9w6Nc6gCmhadTFAOU+OXh4tPkQ= +github.com/aws/aws-sdk-go-v2/service/appconfig v1.30.1 h1:h2JzyyqbvuXD2I0HombM5CsbmFbB3jcVeF/WhX8AjCk= +github.com/aws/aws-sdk-go-v2/service/appconfig v1.30.1/go.mod h1:rOJ1yTzhpIWjgop8XniA+nanxF4jpyUnLcX1s0gaShg= +github.com/aws/aws-sdk-go-v2/service/appfabric v1.8.1 h1:TbZ4cm8Mvw+auu0xQk7m6iFg9p+uFC97cUzYKZObt/s= +github.com/aws/aws-sdk-go-v2/service/appfabric v1.8.1/go.mod h1:9QTxY84kkzjBDUHp8mErDspSgpA6e8A/1AvU2AvYJ7I= +github.com/aws/aws-sdk-go-v2/service/appflow v1.42.1 h1:zxPjTkoh8wIgVg/R7NCG9t5X7UhZjAf+RrL49J9uv3g= +github.com/aws/aws-sdk-go-v2/service/appflow v1.42.1/go.mod h1:rsZVlJIXpHihdPFV4ehYl9nO3VJ61ido6ccJGXVFTYQ= +github.com/aws/aws-sdk-go-v2/service/appintegrations v1.26.1 h1:ubkE7GDCrVnbeQXCSYdKd+yLdyPlnNowDgWKifhNItQ= +github.com/aws/aws-sdk-go-v2/service/appintegrations v1.26.1/go.mod h1:TewkvUJ7j870qbp0WQu+JcGEprz+ts5eSw/2qabcIqg= +github.com/aws/aws-sdk-go-v2/service/applicationautoscaling v1.28.1 h1:ANEJvQOBqUqBkacz03QaTZoievYqZ6BGSFsTfS6LEEQ= +github.com/aws/aws-sdk-go-v2/service/applicationautoscaling v1.28.1/go.mod h1:yS6PzOMIdA8mF/UCbekP9fRHwd9AdZpBuTfBShvOgG4= +github.com/aws/aws-sdk-go-v2/service/applicationinsights v1.25.1 h1:TtRLnoTa+KzpQTtfxIUNmTPd4afNXpTMenzkkna8Xhk= +github.com/aws/aws-sdk-go-v2/service/applicationinsights v1.25.1/go.mod h1:KNQm1mLx1brArm7jx7ssJ1xTczUkVj/PsDEJUfam1Q4= +github.com/aws/aws-sdk-go-v2/service/applicationsignals v1.1.1 h1:4f1B5azmuPT6Q5wWxjf5U0TJzAH3st8wP5gfxz8l49M= +github.com/aws/aws-sdk-go-v2/service/applicationsignals v1.1.1/go.mod h1:ihPVq+A4BcK86La1KEUY8mM0k0egpal2f8SMhBeLIIY= +github.com/aws/aws-sdk-go-v2/service/apprunner v1.29.1 h1:ZI0Je1AGcU4AM3xMsMsA4xgrKzNgFSkQR/w6Ihi+rZA= +github.com/aws/aws-sdk-go-v2/service/apprunner v1.29.1/go.mod h1:RWEXpKx8evWnba3DAfAupnzlM2ejdWNBOII/udFrJlg= +github.com/aws/aws-sdk-go-v2/service/appstream v1.35.1 h1:wlll0kVBQVfZB2oNqDG1CooV5xRezoYPQ0vUvxnf8g0= +github.com/aws/aws-sdk-go-v2/service/appstream v1.35.1/go.mod h1:qLT0nQAYhXj8LLa7fmLvx8nYTRIQ5y+CH06QfU/CPic= +github.com/aws/aws-sdk-go-v2/service/appsync v1.33.1 h1:zbMPXMPrM9hYWySGW6xm2AA4GtBmhqU+rYxit+8vJis= +github.com/aws/aws-sdk-go-v2/service/appsync v1.33.1/go.mod h1:t1V04AJ0mgXsmSkac1UpykISXNIEr6Gkgx8JgYpEKpk= +github.com/aws/aws-sdk-go-v2/service/athena v1.43.0 h1:9gG6ddaduB/vNXa62sI5BSXXZ6ohbN6zYrowdKeOLxU= +github.com/aws/aws-sdk-go-v2/service/athena v1.43.0/go.mod h1:IgZ3BPAIcafbIEndBsCEZSo559W16aD6m6sRcGO97gM= +github.com/aws/aws-sdk-go-v2/service/auditmanager v1.34.1 h1:0vWu89NdYkrqiXodXViT9UxT5WO70ZsZ4gQme7UQzaY= +github.com/aws/aws-sdk-go-v2/service/auditmanager v1.34.1/go.mod h1:9AVNQ9gOvNkX8AzDT2lXI1iZkL5vqbgv+zcNRYL4bVI= +github.com/aws/aws-sdk-go-v2/service/autoscaling v1.41.1 h1:ZNokD9M3On22Qscssyi3iQAzkoeOJxnE5NANNCzPzIA= +github.com/aws/aws-sdk-go-v2/service/autoscaling v1.41.1/go.mod h1:5XY8CFGBv6dZp/thbk8FRIAWjqNckM7PsL848KHdzjI= +github.com/aws/aws-sdk-go-v2/service/autoscalingplans v1.21.1 h1:YHR0n0eUY964ffHangUAvM/vjJUYoj1058G4/xoZG+c= +github.com/aws/aws-sdk-go-v2/service/autoscalingplans v1.21.1/go.mod h1:BltrhZlEEwdnaSFsqZUiZA7tJk4Ie9JQ2P1r1qCpsIs= +github.com/aws/aws-sdk-go-v2/service/backup v1.35.1 h1:JDoVIgC8dzbc1GBH1rYQYcovRh92RDIrywal3fZrQlA= +github.com/aws/aws-sdk-go-v2/service/backup v1.35.1/go.mod h1:443Jou0o4i+ea/y6mOvo8zgIkvXDJ3pdCWjZ/YFfk5Q= +github.com/aws/aws-sdk-go-v2/service/batch v1.40.1 h1:khjAF2CScjXDGdCKZqkB6W95os0Ro+b/CFHT5nGQ+nU= +github.com/aws/aws-sdk-go-v2/service/batch v1.40.1/go.mod h1:9B+DcqWg4/hcorXHhkK/ZT68/LgEcWwlvlWXD0XAGoU= +github.com/aws/aws-sdk-go-v2/service/bcmdataexports v1.4.1 h1:UieVxA3h0rBI3DisJ1dFhRlR4lReFx8QkMPD6lIB6d0= +github.com/aws/aws-sdk-go-v2/service/bcmdataexports v1.4.1/go.mod h1:4Zm38MntGZFvQR6CPPC21lI1TvT94ZVEdEi4xBRnHZQ= +github.com/aws/aws-sdk-go-v2/service/bedrock v1.9.1 h1:e2FZRSG0h0nA/sdRJJXtOnbMXPvAFUoyRNWG3oTioyc= +github.com/aws/aws-sdk-go-v2/service/bedrock v1.9.1/go.mod h1:4e+Wd418o5s7L7NChi9vWNjMkJtm/yi6NmWy5efcACk= +github.com/aws/aws-sdk-go-v2/service/bedrockagent v1.13.1 h1:DD/97H5KizWQP3Dj051VHjObCpWtAThIjMjoz71kn0w= +github.com/aws/aws-sdk-go-v2/service/bedrockagent v1.13.1/go.mod h1:IFBd2ljkmZvNdvCS/0IDWQ1/zSkebKueBo7+IZLre54= +github.com/aws/aws-sdk-go-v2/service/budgets v1.24.1 h1:idyO38YS22rDYGpk/1vusjuHyTt3TepwjLPAhlzeBJU= +github.com/aws/aws-sdk-go-v2/service/budgets v1.24.1/go.mod h1:9WRJ9/p51FEA92MA9pMZkDN2h5YBHcVU/hFqq8E/2c0= +github.com/aws/aws-sdk-go-v2/service/chatbot v1.3.1 h1:WlvYO/q57AA6zvtFKiQAtsWqCHeG1d9wlhDGUU9f7tw= +github.com/aws/aws-sdk-go-v2/service/chatbot v1.3.1/go.mod h1:/h+o63KFyzK+/JkYgChKyjVJHgC61vQUDixoXedtRd8= +github.com/aws/aws-sdk-go-v2/service/chimesdkmediapipelines v1.16.1 h1:/ig2xIYS5wtZtNQm2JvcJEk2MHf9Np09nM7Qo81xMAw= +github.com/aws/aws-sdk-go-v2/service/chimesdkmediapipelines v1.16.1/go.mod h1:K7Zis8oztyCOfruXbrO07OFAdciHATEpuQJ6flJPgyQ= +github.com/aws/aws-sdk-go-v2/service/chimesdkvoice v1.16.1 h1:03VekFsZgpSMWICYT8j/pdOxSBQjN1IYmRWuZeYMiFI= +github.com/aws/aws-sdk-go-v2/service/chimesdkvoice v1.16.1/go.mod h1:Cj5LyJm1YKQZcJ7ZL82TEF6KZnjvnCt4Tv+DAl7otHM= +github.com/aws/aws-sdk-go-v2/service/cleanrooms v1.13.1 h1:WRpeBgByda+zUWmca7DKsI42exYNYqoLjKtn9HC82Ug= +github.com/aws/aws-sdk-go-v2/service/cleanrooms v1.13.1/go.mod h1:cPdw/jsG/67Lcgfqy/LJ/FzguR0HUbxEKBQDixh0LHc= +github.com/aws/aws-sdk-go-v2/service/cloud9 v1.25.1 h1:mKH2nvCvTExFQCEWOjXfMtuF7y6bAwwx33JF2GpzsLk= +github.com/aws/aws-sdk-go-v2/service/cloud9 v1.25.1/go.mod h1:v2nyYCd5sx1XwKx/1wUuEGa97kbdrqfGXTlmg/w6lyg= +github.com/aws/aws-sdk-go-v2/service/cloudcontrol v1.19.1 h1:xje03QCAf/8b1Ntsx/QR4oTn0tMIshVT/OUAilcwcO0= +github.com/aws/aws-sdk-go-v2/service/cloudcontrol v1.19.1/go.mod h1:4hiczFeqZEQy8yX5/uY1rgXKnOXam6GAoWZrFEfoyMY= +github.com/aws/aws-sdk-go-v2/service/cloudformation v1.52.1 h1:Ts+mCjOtt8o2k2vnWnX/0sE0eSmEVWBvfJkNrNMQlAo= +github.com/aws/aws-sdk-go-v2/service/cloudformation v1.52.1/go.mod h1:IrWhabzdTEc651GAq7rgst/SYcEqqcD7Avr82m28AAU= +github.com/aws/aws-sdk-go-v2/service/cloudfront v1.37.1 h1:oOm9MhuUpAWAmjcXwkTsYBzXzFIDbVYje6P5jPkG3kU= +github.com/aws/aws-sdk-go-v2/service/cloudfront v1.37.1/go.mod h1:Pri+xMTktTIOpTg/yYeCYgk4vOrv6sZLcB467ePRIoU= +github.com/aws/aws-sdk-go-v2/service/cloudfrontkeyvaluestore v1.5.1 h1:kMR6y3b2eXF9NzHqGlH3cDxC2S6KfuBXJb5+m++KWLo= +github.com/aws/aws-sdk-go-v2/service/cloudfrontkeyvaluestore v1.5.1/go.mod h1:aXg8JNvonDQbjiNPMSZ5G5/VEH1ZJSsM8u2tFKn1dbk= +github.com/aws/aws-sdk-go-v2/service/cloudhsmv2 v1.23.1 h1:SmnVTefyghNfnuGXMnJsHEYn2S90RCpUlOKf0e2YnMI= +github.com/aws/aws-sdk-go-v2/service/cloudhsmv2 v1.23.1/go.mod h1:iqbEItGSpoAow7uFw27QZ6qylNKKa94QP8UK6tjzSq4= +github.com/aws/aws-sdk-go-v2/service/cloudsearch v1.23.1 h1:fTsQs8LBzM87p5KJdJAfF43VMMWFPFcD9HuX//D6kQ4= +github.com/aws/aws-sdk-go-v2/service/cloudsearch v1.23.1/go.mod h1:C0foT3p9IlsG0bMtL0457lvntFeu6Qgt9VumKlI7zkg= +github.com/aws/aws-sdk-go-v2/service/cloudtrail v1.41.1 h1:dSDDTrkL0JUsAtLxE4MXeUlDHuSrYz+S2h/5/j2AHDQ= +github.com/aws/aws-sdk-go-v2/service/cloudtrail v1.41.1/go.mod h1:t612HtnZuwt6UkB/JMxewOHaeRI5VklfVj6UcwOwfCk= +github.com/aws/aws-sdk-go-v2/service/cloudwatch v1.39.1 h1:U2qFeD0atfYsNMX7pVPvTG+vI7jCoelcWomOK7F8b34= +github.com/aws/aws-sdk-go-v2/service/cloudwatch v1.39.1/go.mod h1:6cstKfQIguQDuWrHKYhjod025+J7n0AR+azv5t9HYBY= +github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs v1.36.1 h1:9S1OsS3TCTUwBcK6K6EUYKyEb7sc3lNvf4KJY9WrMfQ= +github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs v1.36.1/go.mod h1:u4Wxjs4U9OLN1HDFLAFTnS0mDC8kh23RCV8ctQSxpT0= +github.com/aws/aws-sdk-go-v2/service/codeartifact v1.28.1 h1:1OfXVziIGFVm5FHvDkWogdHUkXlZZwqe/0LCbxnmfYA= +github.com/aws/aws-sdk-go-v2/service/codeartifact v1.28.1/go.mod h1:XKoFW8gDY8bULuq8+sKHrMqsbnVi9MTkeJmf69ZxoLk= +github.com/aws/aws-sdk-go-v2/service/codebuild v1.39.1 h1:bnzjHm+ogGF+ldBxE/QX4LS8EdmvVmo2crELrUH8Vko= +github.com/aws/aws-sdk-go-v2/service/codebuild v1.39.1/go.mod h1:8M+F8tdWjmhBbEBrYZNEIqyaewVROyMpGbjAE0ezzaE= +github.com/aws/aws-sdk-go-v2/service/codecatalyst v1.14.1 h1:/VqrREr150QUHg2sT3HyXruh75wgxNF/ovXJrNirwHo= +github.com/aws/aws-sdk-go-v2/service/codecatalyst v1.14.1/go.mod h1:ssdLO5gMVtYjJywV9Qif/BMcJIF7TMrygQzP0FjZsJg= +github.com/aws/aws-sdk-go-v2/service/codecommit v1.23.1 h1:fUkMJntkDjreA6z/OjWu3Yo6GgflOb89MwJqkiKIhLc= +github.com/aws/aws-sdk-go-v2/service/codecommit v1.23.1/go.mod h1:owSVfGgLWi8lpG+Ek9ngwErdBD9WJJJCNGYZDEb0JgM= +github.com/aws/aws-sdk-go-v2/service/codedeploy v1.26.1 h1:heUpqHgpEb36T8Tz2T/YgIhvGyrosFMniRcZ1tysvew= +github.com/aws/aws-sdk-go-v2/service/codedeploy v1.26.1/go.mod h1:rCdAG15aLhGEozOHpWNOEV3ZsT3FWDaOyxt2Vm+F2H8= +github.com/aws/aws-sdk-go-v2/service/codeguruprofiler v1.21.1 h1:kVltQrvq9OLClU0dErOa8X+oCup2MAnwYraJmIP12c0= +github.com/aws/aws-sdk-go-v2/service/codeguruprofiler v1.21.1/go.mod h1:dHJf1FKp+UCZB8TzqD9It5mtH5bAgiJUPaw6NsCr18s= +github.com/aws/aws-sdk-go-v2/service/codegurureviewer v1.26.1 h1:cWPRG82xZJvCPgWxU0whZ8oiKUPkZdDFSyWNNCq1pjk= +github.com/aws/aws-sdk-go-v2/service/codegurureviewer v1.26.1/go.mod h1:SLJpIkjNr4PoJp6i2gdclwswNmGkBsp2mx2+dfy7DKI= +github.com/aws/aws-sdk-go-v2/service/codepipeline v1.29.1 h1:AmUVmQ2xPDib5oF4EgCx7+YW6RETtbtFfxhGbHi+EB0= +github.com/aws/aws-sdk-go-v2/service/codepipeline v1.29.1/go.mod h1:na6xq+0NoaHlXbCYTRvrULaHmLNSByUleyJy9euDhtQ= +github.com/aws/aws-sdk-go-v2/service/codestarconnections v1.26.1 h1:wxAB1UmknXKQcaJ3/NYLERUJ7UMHmjAxC79qSDZ+gzE= +github.com/aws/aws-sdk-go-v2/service/codestarconnections v1.26.1/go.mod h1:2tYDH2oM9SobFKK8e1Tld+gNzFBoJ1tJx9BFE5WVd1Q= +github.com/aws/aws-sdk-go-v2/service/codestarnotifications v1.23.1 h1:Y6zYm5uoyV4eJyhLWyZ0CrMG7oGiGu0Q0AKDA+FInFk= +github.com/aws/aws-sdk-go-v2/service/codestarnotifications v1.23.1/go.mod h1:eLxEKHbDZAZ21Kd9MoiVwTHuKNBfYSNgqp9IvtqodsA= +github.com/aws/aws-sdk-go-v2/service/cognitoidentity v1.24.1 h1:grnSpw0UYD7mZpV4cbIrHroG5geUkLdZG9Nw6y+2mY4= +github.com/aws/aws-sdk-go-v2/service/cognitoidentity v1.24.1/go.mod h1:GjlJPEWhuchMZu+5ANvFJ40v2D/Yf15GKtSQrEii9g8= +github.com/aws/aws-sdk-go-v2/service/comprehend v1.32.1 h1:aaO83HGlxNkzuusYpfQKLb5p8Nh5fT9Z0AZGOMCgV0s= +github.com/aws/aws-sdk-go-v2/service/comprehend v1.32.1/go.mod h1:sceZD+zPJMiCXh57FxceWpqgNsNWST11mkCKKOxPzus= +github.com/aws/aws-sdk-go-v2/service/computeoptimizer v1.35.1 h1:YcD0FWopQ45wJls0DhI7jxEZ7eyupwep0rbRVKIILS8= +github.com/aws/aws-sdk-go-v2/service/computeoptimizer v1.35.1/go.mod h1:l1VImHHo3aeITpaaUdoeWkUwo6rCKz4Nc4oRYThfP6k= +github.com/aws/aws-sdk-go-v2/service/configservice v1.47.1 h1:w1ARKEDr+JYVWNgAJQtZEYI88FS8FKv9aVdg7K67ri4= +github.com/aws/aws-sdk-go-v2/service/configservice v1.47.1/go.mod h1:ExWsfT5TTjMkpt5HfiMCozowniFm1bxIZi6Z2DHjxGM= +github.com/aws/aws-sdk-go-v2/service/connectcases v1.18.1 h1:i6Gm6+KRs0TXIDETJzGdqol+y0Q02/2swZ0mtVFwTnU= +github.com/aws/aws-sdk-go-v2/service/connectcases v1.18.1/go.mod h1:3I7C4pcZ++MDSDCHDkXEF+jGqs80Ggi4rnCNn/m0SHA= +github.com/aws/aws-sdk-go-v2/service/controltower v1.15.1 h1:QD/r0AtUhuGca+6P5dRFNrGLdhYEHttfCj62CoaWP48= +github.com/aws/aws-sdk-go-v2/service/controltower v1.15.1/go.mod h1:LVHPyB4s5aE7rvy2BHULX+2C2b8GTSwX6oAcBoDuYcw= +github.com/aws/aws-sdk-go-v2/service/costandusagereportservice v1.25.0 h1:W9SVpLBFNnPgQtMQbGhlb6+VjsfITm0hBYLK0xMC48E= +github.com/aws/aws-sdk-go-v2/service/costandusagereportservice v1.25.0/go.mod h1:1tpevg2QD6gPbSIPaWZFsyy3r/u70iJqg0uUHrgjOG8= +github.com/aws/aws-sdk-go-v2/service/costexplorer v1.39.1 h1:oBVbeqeAVABwx7nPjHtrkjdWCsKw32zr0kem/ObNqtg= +github.com/aws/aws-sdk-go-v2/service/costexplorer v1.39.1/go.mod h1:NqSDny+Te4J9JM5IyrP0aywQVU51U/T7H9wZN3AQfe8= +github.com/aws/aws-sdk-go-v2/service/costoptimizationhub v1.5.1 h1:r1eywILs7CqOrHlCVk+VzRN+dakDAFLG3AP4aFpMFz4= +github.com/aws/aws-sdk-go-v2/service/costoptimizationhub v1.5.1/go.mod h1:U++BfU7vu4wWCcbgEYJ1U3tGPhYS3yFmns/IcUyQQCU= +github.com/aws/aws-sdk-go-v2/service/customerprofiles v1.37.1 h1:Q8qaVCxMxlq/dtyhsxeem0coJpHCt+yiGI0wGhdxXlg= +github.com/aws/aws-sdk-go-v2/service/customerprofiles v1.37.1/go.mod h1:lhwc41j8YUBkPGK3VpX8+Ze/xrltyjVIJRJBerL5KVw= +github.com/aws/aws-sdk-go-v2/service/datasync v1.39.1 h1:uxWLMp0jcdV4Y4geESJoK/sRJZ5UR5ZXbsmO80o5G8w= +github.com/aws/aws-sdk-go-v2/service/datasync v1.39.1/go.mod h1:avtAoHgeYzxVtm41THxtBvtIYGwEiORu1qqOx9ozx9E= +github.com/aws/aws-sdk-go-v2/service/datazone v1.10.1 h1:uXlr3EF5ahh6++5dHGmAsYDe42uP/0c1Lcf53XulTlQ= +github.com/aws/aws-sdk-go-v2/service/datazone v1.10.1/go.mod h1:X60rbZ2iaL0HHJLO94rPQZVVd9nyXV+s601q/8zCIT8= +github.com/aws/aws-sdk-go-v2/service/dax v1.20.1 h1:TsVZKgA0lRq/tARfiabTJpxDp4SvhUN9oaGp6ysvsl8= +github.com/aws/aws-sdk-go-v2/service/dax v1.20.1/go.mod h1:GNQa0lb+sN8wYxvVveXs6NYj7QE/ln1S6Zq8vdLvluI= +github.com/aws/aws-sdk-go-v2/service/devicefarm v1.23.1 h1:YuAiH2QWZQBW37X1MtgZmS+vLVAZPnfZKcW/5b7LhGk= +github.com/aws/aws-sdk-go-v2/service/devicefarm v1.23.1/go.mod h1:K8JyqC+I7Itibe+jCmhUvk4SKjuImxIVEDRD+FcgDE0= +github.com/aws/aws-sdk-go-v2/service/devopsguru v1.31.1 h1:GocOtSzQdS21YCifZ9tRWrOfXDJ07zxNrng0sA3lWmE= +github.com/aws/aws-sdk-go-v2/service/devopsguru v1.31.1/go.mod h1:cBYCVQQq4hoCGXmrFB4Ydp8RLiJQydstjQ6rpIWW77w= +github.com/aws/aws-sdk-go-v2/service/directoryservice v1.26.1 h1:o73eXOlXE32xnr0Dawi5gzVLbdeVfYnQlKwqbbvTCcA= +github.com/aws/aws-sdk-go-v2/service/directoryservice v1.26.1/go.mod h1:+1wFFZEpA+srGWrQRLcXBLvpK2AaAAIyUDzu/9XNP98= +github.com/aws/aws-sdk-go-v2/service/dlm v1.25.1 h1:PfGJEDIwkbHdha9Tl1bVea77oLyx40ytCYuJh6sm+g4= +github.com/aws/aws-sdk-go-v2/service/dlm v1.25.1/go.mod h1:fzgnfuz0rPeHLhymW+pQGStjpxyBj1Ejk4AjG9YcPZg= +github.com/aws/aws-sdk-go-v2/service/docdb v1.35.1 h1:ONQmD3KEK/HEN9Fd+DX97tN4spsRb8EigGX+Q2hkefE= +github.com/aws/aws-sdk-go-v2/service/docdb v1.35.1/go.mod h1:F8EZZZUOZ0QNB1wiYJ5LQuzQUvXg0RPfMkZfYVglEH8= +github.com/aws/aws-sdk-go-v2/service/docdbelastic v1.10.1 h1:GUkKn+uh75Hy8oXWSZV2cffzYiOg1jSmoKVSRNOlfRo= +github.com/aws/aws-sdk-go-v2/service/docdbelastic v1.10.1/go.mod h1:FdbKmJnx2hriStRrPI7xrFVytgWoR0mVYPSLyZ/ftnw= +github.com/aws/aws-sdk-go-v2/service/drs v1.27.1 h1:iA5bnw47mK5BGe2bvk0JMwa+hrU5QI3ailkfospq26o= +github.com/aws/aws-sdk-go-v2/service/drs v1.27.1/go.mod h1:mADrs2xVSpoXKhmqO7etp2NgsCqvA/Si7tMITr7mnEk= +github.com/aws/aws-sdk-go-v2/service/dynamodb v1.33.1 h1:9UiObaZsmKoR1k/dE6z/3laTkhkV0xnYXT8jIpMhuz8= +github.com/aws/aws-sdk-go-v2/service/dynamodb v1.33.1/go.mod h1:zU5eWYw3HNkPtcrFwBAdMv3+h3dFpmB0ng7z8wOuSPc= +github.com/aws/aws-sdk-go-v2/service/ec2 v1.165.1 h1:LkSnU1c9JKJyXYcwpWgQGuwctwv3pDenMUgH2CmLd1A= +github.com/aws/aws-sdk-go-v2/service/ec2 v1.165.1/go.mod h1:Wv7N3iFOKVsZNIaw9MOBUmwCkX6VMmQQRFhMrHtNGno= +github.com/aws/aws-sdk-go-v2/service/ecr v1.29.1 h1:ywNLJrn/Qn4enDsz/XnKlvpnLqvJxFGQV2BltWltbis= +github.com/aws/aws-sdk-go-v2/service/ecr v1.29.1/go.mod h1:WadVIk+UrTvWuAsCp6BKGX4i2snurpz8mPWhJQnS7Dg= +github.com/aws/aws-sdk-go-v2/service/ecrpublic v1.24.1 h1:Eq9i/mvOlGghiKe9NtsmeD9Wlwg8p4fbsqrMb3nWirM= +github.com/aws/aws-sdk-go-v2/service/ecrpublic v1.24.1/go.mod h1:VtOgEoLEPV1YADuq+Z2XOK6/wKkGW2YK6DjChZ/GvDs= +github.com/aws/aws-sdk-go-v2/service/ecs v1.43.1 h1:Js5l/9hBLI4/enHaCezHxxoC0AQ1kh+h9TBjZEFIg1c= +github.com/aws/aws-sdk-go-v2/service/ecs v1.43.1/go.mod h1:a0NMSy8O5qyPn5Z8Lf0z/vyXry5Z60Vw23fYD1oRu/Y= +github.com/aws/aws-sdk-go-v2/service/eks v1.44.1 h1:onUAzZXDsyXzyrmOGw/9p8Csl1NZkTDEs4URZ8covUY= +github.com/aws/aws-sdk-go-v2/service/eks v1.44.1/go.mod h1:dg9l/W4hXygeRNydRB4LWKY/MwHJhfUomGJUBwI29Dw= +github.com/aws/aws-sdk-go-v2/service/elasticache v1.39.1 h1:XUOyv5Q0uypaCKkv1svwnhB9X76sRDoLUelBjzlFrL4= +github.com/aws/aws-sdk-go-v2/service/elasticache v1.39.1/go.mod h1:RHxzPy8YHOOIEFxK5WYIsDA8TEDIBd8A0BenmqV9PKw= +github.com/aws/aws-sdk-go-v2/service/elasticbeanstalk v1.24.1 h1:JQpNrllBoHIKSzwLVFK/XYsUJBhDNvIaYVBQNf/9vk0= +github.com/aws/aws-sdk-go-v2/service/elasticbeanstalk v1.24.1/go.mod h1:JuMMy9DnDaLMb0pYz4v0kavMGRd+Me6kn5S9KWIUd4I= +github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2 v1.32.1 h1:whB9mAd0jcYqVF75rVASYdPPBEfZwGFLBq9rz0cHCoI= +github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2 v1.32.1/go.mod h1:EjPhusEHOS2hFIJFR3PfI4ndJLkhm3VKTWv0U5m+VR4= +github.com/aws/aws-sdk-go-v2/service/emr v1.40.1 h1:wH3N7EEy/KgQFvnH0qnrfAECHvlJ6DPiLlNJUgZEZO0= +github.com/aws/aws-sdk-go-v2/service/emr v1.40.1/go.mod h1:mw5LOzaQgE+8Oy0dfhvHeiZTZporvugTccq121K12PQ= +github.com/aws/aws-sdk-go-v2/service/emrserverless v1.22.1 h1:PxYDKli6t4c4ZR9pUhdva/5c3ssvNvzmqoNFZxFQJG8= +github.com/aws/aws-sdk-go-v2/service/emrserverless v1.22.1/go.mod h1:sufrIA6wP/EydjURB33dtQreCXBm4ENL92tw6u6MmUU= +github.com/aws/aws-sdk-go-v2/service/eventbridge v1.32.1 h1:CC/texhRBbrlvDnholIlzoCXIPacah42iMJ5Qw17ZQQ= +github.com/aws/aws-sdk-go-v2/service/eventbridge v1.32.1/go.mod h1:3j+pcA1J4w7o1Sgt9maYlr+AXL6qPLjkmM+9oYTu+8Y= +github.com/aws/aws-sdk-go-v2/service/evidently v1.20.1 h1:VQ3R9AC/NnbJTYOG1t8leoOU/lZ5MeF4Wd3hKG1TCEQ= +github.com/aws/aws-sdk-go-v2/service/evidently v1.20.1/go.mod h1:bcnYJJZnP2/iAYSYBZr757pfeusnDvsr/w/nxYjLSu4= +github.com/aws/aws-sdk-go-v2/service/finspace v1.25.1 h1:AzE9MtNhz2ShTfmv0E9hAbCEiQ0tbLbi6MJ8G3rBLX8= +github.com/aws/aws-sdk-go-v2/service/finspace v1.25.1/go.mod h1:wFw2JQRHqId9j7TLuud2hVySpj3Kl2FyDTzk11U7VlI= +github.com/aws/aws-sdk-go-v2/service/firehose v1.30.1 h1:rUjrt0TdN9J3fXoAR48jQYPZG9CuTFFx8sRvNeewsFA= +github.com/aws/aws-sdk-go-v2/service/firehose v1.30.1/go.mod h1:OfHMrSBBxqqMlNKxYS+qN1iEIlak7LmjQokzFocNdEw= +github.com/aws/aws-sdk-go-v2/service/fis v1.25.1 h1:3QgBUXHUBlAR0C7U4NnW06AOFCu+k35NLNQebJ/ZFi0= +github.com/aws/aws-sdk-go-v2/service/fis v1.25.1/go.mod h1:ZNsquchu106IZ++PAiwBDjmcOeALzBSPMHKNgwnsFwg= +github.com/aws/aws-sdk-go-v2/service/fms v1.34.1 h1:syweqXph4uS8LY+MjwsSt29N457s1U/4B/9OUE02fI4= +github.com/aws/aws-sdk-go-v2/service/fms v1.34.1/go.mod h1:9tSGhVWwdYbj0TKzLzvZpsEwRCdzcVi/HC4YNKEsLQ8= +github.com/aws/aws-sdk-go-v2/service/glacier v1.23.1 h1:nUOHgAUOnQth5+fMWgCQiOEqH73fgqmueimUYJE/7rQ= +github.com/aws/aws-sdk-go-v2/service/glacier v1.23.1/go.mod h1:29ythAZEVnLPIOCpzENgCzvZLoAHt8S8BHryPpm8EyI= +github.com/aws/aws-sdk-go-v2/service/globalaccelerator v1.25.1 h1:7C51ZbOLStv+VJwdiKGzJeKK0LPX6+XTJv199Q9xe0U= +github.com/aws/aws-sdk-go-v2/service/globalaccelerator v1.25.1/go.mod h1:VSQN6t3mMZfL/CEC2sg+MaSDv7A9sTFFhIB82k7zexA= +github.com/aws/aws-sdk-go-v2/service/groundstation v1.28.1 h1:XTtOVIG/v1yaff76zGqNLB9LDW/+hY7dQTuwvh4y5Qo= +github.com/aws/aws-sdk-go-v2/service/groundstation v1.28.1/go.mod h1:GF6S/WXbeYIIdbsIAKsYdEvndnn8wksiolvsk27TaBo= +github.com/aws/aws-sdk-go-v2/service/guardduty v1.44.1 h1:0LOU9mO7AI2rjuuO9p8iymDR3jhY91d+P7XEjJkaa7w= +github.com/aws/aws-sdk-go-v2/service/guardduty v1.44.1/go.mod h1:pqOGHA5mcb0tdNBQq7QjwhyXebpFvflQ2eU36zxgctM= +github.com/aws/aws-sdk-go-v2/service/healthlake v1.25.1 h1:vehsCmdxi8vX7GK7ft1hlU0ZxTzbYnew192DukNngCQ= +github.com/aws/aws-sdk-go-v2/service/healthlake v1.25.1/go.mod h1:WzKPsp14R9Vt2jhmMuZ79TMmmv/CnEVz3bI4eKRst7E= +github.com/aws/aws-sdk-go-v2/service/iam v1.33.1 h1:0dcMo3330L9LIckl+4iujMoq0AdR8LMK0TtgrjHUi6M= +github.com/aws/aws-sdk-go-v2/service/iam v1.33.1/go.mod h1:sX/naR5tYtlGFN0Bjg9VPNgYNg/rqiDUuKTW9peFnZk= +github.com/aws/aws-sdk-go-v2/service/identitystore v1.24.1 h1:g2WNVRtXDsxOA+VEMXXzw8gvXFdUrkXehiFsPFzSi9w= +github.com/aws/aws-sdk-go-v2/service/identitystore v1.24.1/go.mod h1:XnTkN4iDJq8dN7VBZZDZ5NOEup8V3s/POj4uBlSy574= +github.com/aws/aws-sdk-go-v2/service/inspector2 v1.27.1 h1:MrCy2Qee++yNI4t0adjhDrVi9xKhpPLiweIUy9HwJIc= +github.com/aws/aws-sdk-go-v2/service/inspector2 v1.27.1/go.mod h1:5FPrmv5Cwaq8Fri4puvds50dVPMgGZlU5inTlDs1UJQ= github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.11.2 h1:Ji0DY1xUsUr3I8cHps0G+XM3WWU16lP6yG8qu1GAZAs= github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.11.2/go.mod h1:5CsjAbs3NlGQyZNFACh+zztPDI7fU6eW9QsxjfnuBKg= -github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.3.13 h1:zmKtGN1dMQDVBsfCePykMQmTfWY+jlaUTv55RF5b31w= -github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.3.13/go.mod h1:1UzMv5n56AjbPR9834o5YLw5dH6baIsY60Ib84s1NCc= -github.com/aws/aws-sdk-go-v2/service/internal/endpoint-discovery v1.9.12 h1:IXSDCqEfL4oe4plEt0GkjkuI9T3tbVH91udMp7ZwV20= -github.com/aws/aws-sdk-go-v2/service/internal/endpoint-discovery v1.9.12/go.mod h1:47OjVuK2ib5x+7RLlacLxhZRlTnjlXAwal1BSXwj7Tk= -github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.11.13 h1:3A8vxp65nZy6aMlSCBvpIyxIbAN0DOSxaPDZuzasxuU= -github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.11.13/go.mod h1:IxJ/pMQ/Y+MDFGo6pQRyqzKKwtGMHb5IWp5PXSQr8dM= -github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.17.11 h1:QNkz5KqOUdeq1D0AP9r7Af6hNKyb0fnFa/L4DEKTp+Q= -github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.17.11/go.mod h1:c7R1eDLOU5hQ4f66TYzyAT2AeLLtw5khZJpbGCo1cYU= -github.com/aws/aws-sdk-go-v2/service/internetmonitor v1.15.0 h1:qhosmDiiChXUik7EonQCa/Ar86wkN+RNJtrvw038FBc= -github.com/aws/aws-sdk-go-v2/service/internetmonitor v1.15.0/go.mod h1:k4kMkKa2GC60pwx/7o9Lo1FafY/IweWPzEJDly2q5Q0= -github.com/aws/aws-sdk-go-v2/service/ivschat v1.13.0 h1:tat1j8oYFZ3U+RjCPAsG2v/EeNA0tjNFFN/vejX7mYI= -github.com/aws/aws-sdk-go-v2/service/ivschat v1.13.0/go.mod h1:6d4tg8VqAxfgtTKzz2dJMvIWHrW+l0naowqFqVqxcjU= -github.com/aws/aws-sdk-go-v2/service/kafka v1.34.0 h1:07HKBDj5blE+fyVtyf1WEihzADVfP9dsdt2b22VPAls= -github.com/aws/aws-sdk-go-v2/service/kafka v1.34.0/go.mod h1:cFxsTlC46RM+GLxW922zvCPnV3p5ovUm3w/pG2iO+bU= -github.com/aws/aws-sdk-go-v2/service/kendra v1.51.0 h1:I8uZn+5HgbBpggnM2RGbk3u6izgQbi/TyatI3HqkZiA= -github.com/aws/aws-sdk-go-v2/service/kendra v1.51.0/go.mod h1:wiwrggxiDODtt1K/GizZ/rk6qZbdayC6nkvCT8Db+g4= -github.com/aws/aws-sdk-go-v2/service/keyspaces v1.11.0 h1:aVZsfw2eRODAto3hjFSJJhp89yQHt6pk254nkc9X4tI= -github.com/aws/aws-sdk-go-v2/service/keyspaces v1.11.0/go.mod h1:hljEHeYMeOpHEAt8JfmTPBhgu1UECQR+LIKJohUS0fA= -github.com/aws/aws-sdk-go-v2/service/kinesis v1.28.0 h1:GlBz4i/73k7KGfgv2RV207nl5GgHEPqym/pZp/f5Oho= -github.com/aws/aws-sdk-go-v2/service/kinesis v1.28.0/go.mod h1:CgU0Lb1UkyogQXjSZ97CI4HRc3G0Ts1+ZTNFIPAfkHU= -github.com/aws/aws-sdk-go-v2/service/kms v1.34.0 h1:GKrvkdgKYFjn5XMwzuuN+e9St/TnJwJl2rEisSfP6r8= -github.com/aws/aws-sdk-go-v2/service/kms v1.34.0/go.mod h1:AStnoP2Hj6IHB5nHbVw2mEiGjLpOJPxY+XOc2xcKTvU= -github.com/aws/aws-sdk-go-v2/service/lakeformation v1.34.0 h1:OwdIAzsPYUOCkkhCey8NDOJo+SIvfkIvyDeUhaN7cOE= -github.com/aws/aws-sdk-go-v2/service/lakeformation v1.34.0/go.mod h1:64y5I6zkuDp4//8B4gC0aMaigXFzuZnCMTXZmilApvY= -github.com/aws/aws-sdk-go-v2/service/lambda v1.55.0 h1:vrwMgAOU8ZXrWs0QZOOAFRdWFNxoL2DdH4doD0BkmU4= -github.com/aws/aws-sdk-go-v2/service/lambda v1.55.0/go.mod h1:ZVT/r5NG5Fxjaw7rgDmOYVu0y2KELlQCcda/f+yypUQ= -github.com/aws/aws-sdk-go-v2/service/launchwizard v1.5.0 h1:KWPToB4PQaUswu9OYsizvFBhANLrjZQcgm+reIDIhAs= -github.com/aws/aws-sdk-go-v2/service/launchwizard v1.5.0/go.mod h1:POsVs9pgDb9GcDnU28jI0MYcJ8dmZXa69drFSWv9j/4= -github.com/aws/aws-sdk-go-v2/service/lexmodelsv2 v1.44.0 h1:aOjZLUohIyhQAa55T5YbADhbSD14shA3Uy9iFaMkLNA= -github.com/aws/aws-sdk-go-v2/service/lexmodelsv2 v1.44.0/go.mod h1:o5ds6PGmBWFEalpuvHogbw/eWsTRVoWwSoKYPk8JQzY= -github.com/aws/aws-sdk-go-v2/service/lightsail v1.39.0 h1:nuwAO6+IALIMkohEh60AYmoMLyOHwRRB9jqmuA9Cu0M= -github.com/aws/aws-sdk-go-v2/service/lightsail v1.39.0/go.mod h1:8ufD2bOz/z8yVDnlaHqy9ejN9UUzjwjSLxAwHkHoshI= -github.com/aws/aws-sdk-go-v2/service/lookoutmetrics v1.28.0 h1:5xgnUWghApxJQjFglJ4YzHddQuhPh9SXJpLfI4TKRQM= -github.com/aws/aws-sdk-go-v2/service/lookoutmetrics v1.28.0/go.mod h1:b/iu0Uj2AdaFrGlaGX8/J3O5lmURNPaH5ogZZTr64gU= -github.com/aws/aws-sdk-go-v2/service/m2 v1.14.0 h1:DFwW52UPdLPUqPx/lzSNM3U/E6NJJLlahyNh+x6AL1o= -github.com/aws/aws-sdk-go-v2/service/m2 v1.14.0/go.mod h1:V4zGgD3V7LsrsD8Ce+dkAw64+o86KjLa+fL75fxPly0= -github.com/aws/aws-sdk-go-v2/service/mediaconnect v1.29.0 h1:A63CzSzHPkVkCFkpU56Da804IDNpay5TbiwRrryheHY= -github.com/aws/aws-sdk-go-v2/service/mediaconnect v1.29.0/go.mod h1:HlbpoiCoiec/aSqe19eep/AWYHDOwDg1zBSeBpgfPLo= -github.com/aws/aws-sdk-go-v2/service/mediaconvert v1.56.0 h1:Xah+rTdeRrUzz+/bxMp8fTjwGdgxv/kek7myjnkBkAQ= -github.com/aws/aws-sdk-go-v2/service/mediaconvert v1.56.0/go.mod h1:8zjF2Dt1bDZJGqfLtqoRMllSkfyiHaanYvkVP7XW4Pk= -github.com/aws/aws-sdk-go-v2/service/medialive v1.53.0 h1:TrESOVo6H5c7ZtjKp1Vf7hfL0UqmqmRJYiIbqfwT9lw= -github.com/aws/aws-sdk-go-v2/service/medialive v1.53.0/go.mod h1:Nw5GLwYZvqZ6dV/jbnzsObMzpy8/Wk+9LvABHWtZoZM= -github.com/aws/aws-sdk-go-v2/service/mediapackage v1.31.0 h1:hnshAIgbRHjGKVnhp+k6lBHhBgkW/z8dy3HkLnjgzeg= -github.com/aws/aws-sdk-go-v2/service/mediapackage v1.31.0/go.mod h1:KjnRZNMI89hQn1kvHJAKW6ZiiSfb8eCFMAK1RmEhU+U= -github.com/aws/aws-sdk-go-v2/service/mediapackagev2 v1.13.0 h1:fp+EzoLjY/IEyNI+pvHyn/P7EP7ReUXvhVxtNGkHArY= -github.com/aws/aws-sdk-go-v2/service/mediapackagev2 v1.13.0/go.mod h1:GP1Y0gWRh63ZrCgNTep18xMtfJ+UxvQh3ySWeP6dwTI= -github.com/aws/aws-sdk-go-v2/service/mediastore v1.21.0 h1:v8U8FO3M2QjA7yTgC9oyD64A6I6h9AJfApgTB2xvQmg= -github.com/aws/aws-sdk-go-v2/service/mediastore v1.21.0/go.mod h1:Zm+Mm7zDSLiJMmrQAckI0LS+u5k/isK4wHM0MCbexYk= -github.com/aws/aws-sdk-go-v2/service/mq v1.23.0 h1:7PvX/V1CmtXt/gvQwBl2yM4bbw2ERLZGXmotTAacdpY= -github.com/aws/aws-sdk-go-v2/service/mq v1.23.0/go.mod h1:s6bdv+6LzsWAQCi2Xu+WEi74KpyAT65pwbdGIub4LvU= -github.com/aws/aws-sdk-go-v2/service/mwaa v1.28.0 h1:bKi7qpSkeRbkpWHCwlAgMMXnwYu4JqfzyWmob0N9tbI= -github.com/aws/aws-sdk-go-v2/service/mwaa v1.28.0/go.mod h1:6i04FP47GX97vfirLHyRGHyzDHsDyhz0m+wIEv/DfeM= -github.com/aws/aws-sdk-go-v2/service/neptunegraph v1.9.0 h1:6c6bLYsKD2/IhHDlbQKC6LfsHbN1olRDdBPJdwCAKlE= -github.com/aws/aws-sdk-go-v2/service/neptunegraph v1.9.0/go.mod h1:hRUpppMdU4Ez82Bv44GhZ0lgwWjbqoxk4rlj+MoIIFk= -github.com/aws/aws-sdk-go-v2/service/oam v1.12.0 h1:NyYwBx/auaIYoPvHUPHUpE4p5jzaFqhL1qmxfk9+HhA= -github.com/aws/aws-sdk-go-v2/service/oam v1.12.0/go.mod h1:QmR858iis15nB1JSbLooR6zK+ZC3zZfwW9bDdv/taAM= -github.com/aws/aws-sdk-go-v2/service/opensearchserverless v1.12.0 h1:K7v/cjRbKXWy4qJDtrZ9D+N7Bcv1YYgiV0u8p8a++jc= -github.com/aws/aws-sdk-go-v2/service/opensearchserverless v1.12.0/go.mod h1:BUJisSmzHH8bDzBUuS8oibm+tTkabL1edIok+oaXwrA= -github.com/aws/aws-sdk-go-v2/service/organizations v1.28.0 h1:tm2U9o4/Pj6Sj1WYshqyTr3eF0sZviLn/UIElhyeBTA= -github.com/aws/aws-sdk-go-v2/service/organizations v1.28.0/go.mod h1:gsyCAmtG8IgmzfqBQiduGEOhBrIVAZsGv7S4rCvXFRM= -github.com/aws/aws-sdk-go-v2/service/osis v1.11.0 h1:DO6ZBGQ1e8dkEO/dyFBfCfA3EyhYvUpVSsNNvZ1WlGc= -github.com/aws/aws-sdk-go-v2/service/osis v1.11.0/go.mod h1:NnA7zLCoOx+mhlSrIJjU/rtThQOcrTPch5shRttwTds= -github.com/aws/aws-sdk-go-v2/service/paymentcryptography v1.11.0 h1:sA2XaV1iNxcrLysD9S2c/m/aHapZl+DenPCX7lWgHdU= -github.com/aws/aws-sdk-go-v2/service/paymentcryptography v1.11.0/go.mod h1:R5vo8yPCzJaUJnKYDgUdtvz9CGTXPfI4KZ1ebwFN+zA= -github.com/aws/aws-sdk-go-v2/service/pcaconnectorad v1.6.0 h1:rWpuyP9zpzrMw9av+5Yhc+vCYWBW8LoQmd3D9ODFrco= -github.com/aws/aws-sdk-go-v2/service/pcaconnectorad v1.6.0/go.mod h1:v/8Whq6U3QgxFH/PRElHRVbQz64BRaGVq0FDXfUksRM= -github.com/aws/aws-sdk-go-v2/service/pipes v1.13.0 h1:dCbHGnHY2lcM3oR3dMJSGN/X+QykH7m5V0JGpcmLRMw= -github.com/aws/aws-sdk-go-v2/service/pipes v1.13.0/go.mod h1:WyWitPfg1KQr8e1VCNJKlMENK1RWQH60LYNfOKRsmRE= -github.com/aws/aws-sdk-go-v2/service/polly v1.41.0 h1:4019JiZsZ1RkUzO3Zh+tlAqOFmS5LTxPQ9ZzVdXxpWU= -github.com/aws/aws-sdk-go-v2/service/polly v1.41.0/go.mod h1:d2gHPwQLpV4GJ9VOFgRHjPHtRzR5sT1X+cK/c9+ES60= -github.com/aws/aws-sdk-go-v2/service/pricing v1.29.0 h1:EV2bGIhwWstC+xobp+dqY6SkXkizoIf/BOm2rlA6Oj4= -github.com/aws/aws-sdk-go-v2/service/pricing v1.29.0/go.mod h1:ybiXcXGCPNkoeZ0SWEhW2YqAuof+VoFaY92Hmt9wEZg= -github.com/aws/aws-sdk-go-v2/service/qbusiness v1.7.0 h1:08Sqhl9+MFQSvAjdaqrmkEnEg4owTYH8faulWkfjawk= -github.com/aws/aws-sdk-go-v2/service/qbusiness v1.7.0/go.mod h1:fE5HSf36IsNrPZsx3eSnTRrXPILIHAZfVOmYL3frUrU= -github.com/aws/aws-sdk-go-v2/service/qldb v1.22.0 h1:3IhtqPixRMbRL2hszlzFUjANJrK37XyIeSJcPB27U0Y= -github.com/aws/aws-sdk-go-v2/service/qldb v1.22.0/go.mod h1:4hd2SxINA5DfjEnSXOTVKIDfMBu3f3f8ix/Awrg8xZo= -github.com/aws/aws-sdk-go-v2/service/ram v1.26.0 h1:xOXgRYmVnffog74K2oOdmpF4AFGuxvD5sf4JoblH9/E= -github.com/aws/aws-sdk-go-v2/service/ram v1.26.0/go.mod h1:VSstQuq+G3Snk52pK7hxgW5e+/aRPBAHXVf8HokEyDY= -github.com/aws/aws-sdk-go-v2/service/rbin v1.17.0 h1:MwHcvJqUyY+U38k8cREkl49Sj1f4uH5Th6VrDcXqfjk= -github.com/aws/aws-sdk-go-v2/service/rbin v1.17.0/go.mod h1:omAuKAoQMFWf8ZUkd+d9/apTKhIiiBVqbkDH9LogoVs= -github.com/aws/aws-sdk-go-v2/service/rds v1.80.0 h1:8VoBRoKh2paHslGSveRqxSiPnFbXfiYxBG1/EzSDzC8= -github.com/aws/aws-sdk-go-v2/service/rds v1.80.0/go.mod h1:yLcoHSwyRp/AKOXNQUGzdF+u3zfNIco3sx+j5AU7VL8= -github.com/aws/aws-sdk-go-v2/service/redshift v1.45.0 h1:/UkJsgFo45+8hPrHTOwOnKotD6nCaGbrqQ+Q+yme59w= -github.com/aws/aws-sdk-go-v2/service/redshift v1.45.0/go.mod h1:DQY+HM2caihCnHUIHr6W621GBD3SELTotJ2X/y/0rbg= -github.com/aws/aws-sdk-go-v2/service/redshiftdata v1.26.0 h1:9XGFu3yf8TmjxD8l9V5G/+5LFvy8bcc91YTaWMzW+aA= -github.com/aws/aws-sdk-go-v2/service/redshiftdata v1.26.0/go.mod h1:EjEwXgwEm6KWNVBnzTf0CoJJcbm/lCvQgJL5uAXVZiA= -github.com/aws/aws-sdk-go-v2/service/redshiftserverless v1.19.0 h1:GbLcRmDKU3ZWJyjHVUMZVQKHCulQCgnvHUQHQ4XfVSM= -github.com/aws/aws-sdk-go-v2/service/redshiftserverless v1.19.0/go.mod h1:q3rWe+TdHxcC3LAjI9MD0o95xCMuJcE9nRcA4E1nYI8= -github.com/aws/aws-sdk-go-v2/service/rekognition v1.41.0 h1:qTjv3yq39ZDWuFxSg7VthLkMPB6415pN95LbsHrQuGg= -github.com/aws/aws-sdk-go-v2/service/rekognition v1.41.0/go.mod h1:62kYN/bu2HmN5D4DDPGEPp2RSk88DBkZMmc9BN6W1aU= -github.com/aws/aws-sdk-go-v2/service/resourceexplorer2 v1.11.0 h1:FdTAqyJJEQNaLv+gQqSWHmcY8vysdcMy9fOhOIRaaSQ= -github.com/aws/aws-sdk-go-v2/service/resourceexplorer2 v1.11.0/go.mod h1:P7I9alD1m2weZzSd6C55oS5bb3IB4ou1XqEhE1W5pug= -github.com/aws/aws-sdk-go-v2/service/resourcegroups v1.23.0 h1:joVrhKXPEIDeFoF+QDwGpv7VTRoDuMLCEs/u/u+ctBI= -github.com/aws/aws-sdk-go-v2/service/resourcegroups v1.23.0/go.mod h1:yYz0Ti5szl4rvf7hiI9FsYPf22Vjy0No4k7v7H4Ms28= -github.com/aws/aws-sdk-go-v2/service/resourcegroupstaggingapi v1.22.0 h1:8zPwiUeRAMzLU5dZ+jL23bTVoy0TdKJyZ6LH0lOKzZU= -github.com/aws/aws-sdk-go-v2/service/resourcegroupstaggingapi v1.22.0/go.mod h1:wp1n/0IPV/MOvs/sgqlwhdd8TsFLWC1ggUCNpicniDk= -github.com/aws/aws-sdk-go-v2/service/rolesanywhere v1.12.0 h1:PkRTzjDe1p4NjpF3jlexR8SqYse7FCZ9F2irAFT4/RY= -github.com/aws/aws-sdk-go-v2/service/rolesanywhere v1.12.0/go.mod h1:GGzMuBJGT+INpSiVyJDD/SP87wRW+Nj1lEFSp9tyhxk= -github.com/aws/aws-sdk-go-v2/service/route53 v1.41.0 h1:tvIBVabBmCMZvPFtT18HQbSjskzVEcSvdJIAjLQmP78= -github.com/aws/aws-sdk-go-v2/service/route53 v1.41.0/go.mod h1:rJl5QZ1ntzfPi2g3u1p8LQk78tbKj0JNmaNG1a9u97A= -github.com/aws/aws-sdk-go-v2/service/route53domains v1.24.0 h1:oJ2TcKRuwWuFwbwCH/ocaLP3EpCTca4B0wqNb6PopKE= -github.com/aws/aws-sdk-go-v2/service/route53domains v1.24.0/go.mod h1:L2ps9ionyOaplG4vh51jyIRUK+xB7vjMqnObxXsRoK0= -github.com/aws/aws-sdk-go-v2/service/route53profiles v1.1.0 h1:+RSaYW0xatoiE7wGJDcgwRjfZt++9GLWzQGExrCsfDI= -github.com/aws/aws-sdk-go-v2/service/route53profiles v1.1.0/go.mod h1:b93TJwGXxTHjsiJ0atSd1B1SS+t+f0reUP1NpSm5pCY= -github.com/aws/aws-sdk-go-v2/service/rum v1.18.0 h1:nSB1+P1J8uhiktco2Q2YHS6QKnmvUTMxLQsi8ToV6fA= -github.com/aws/aws-sdk-go-v2/service/rum v1.18.0/go.mod h1:uF2wf6A021PjiTu0/JUkme349nPtPSYHHtxlustC4QI= -github.com/aws/aws-sdk-go-v2/service/s3 v1.56.0 h1:NZIFz15bhrWwewGU0tdUGsisKPQxvzy3O4dL5jgBDKw= -github.com/aws/aws-sdk-go-v2/service/s3 v1.56.0/go.mod h1:ha/DkVoeDtS0XwRKyOiXP2J4Vzo3zpiE0yGi7Ej0X3o= -github.com/aws/aws-sdk-go-v2/service/s3control v1.45.0 h1:pY/fn04jwUb3WfjWNNGdt3uAT7ZwBx/qz4S5gKWvfpc= -github.com/aws/aws-sdk-go-v2/service/s3control v1.45.0/go.mod h1:6cnOOx7AsrCBX6NlwKmGYi5fz385yqFJxQwBGMDyc6A= -github.com/aws/aws-sdk-go-v2/service/scheduler v1.9.0 h1:rS3lP/TQoPU2rnw3edOtSkvTtOQox64KAeTuArky5cg= -github.com/aws/aws-sdk-go-v2/service/scheduler v1.9.0/go.mod h1:iq8U67MA8PgyLvjYbALIXJTtEazl1nnlJOlfxKx7VkA= -github.com/aws/aws-sdk-go-v2/service/schemas v1.25.0 h1:i4RLQp/sF2ej3Mf+ylkSWsjQ+LNZehcGpb+di3JZ9ac= -github.com/aws/aws-sdk-go-v2/service/schemas v1.25.0/go.mod h1:h7U1z78PLCbVBZyHNFrrnQaLsBl5jS9HBFKZUfyAY+M= -github.com/aws/aws-sdk-go-v2/service/secretsmanager v1.31.0 h1:ZyB15ar3Z+zYlFbg0p9cRwu8MjanG70q+wR8/QI/Ehw= -github.com/aws/aws-sdk-go-v2/service/secretsmanager v1.31.0/go.mod h1:hLeitfWsmqj2EFJWsXyz4GSpqG/aqrHXSd4lCH0q07U= -github.com/aws/aws-sdk-go-v2/service/securityhub v1.50.0 h1:DjIkaU2Y4kwx3steK44v6zoo5BNS5BWq/CK6VeFXVOQ= -github.com/aws/aws-sdk-go-v2/service/securityhub v1.50.0/go.mod h1:OgnzWiYEqZl+wyDa3tNNLjodrEQoHATqSsf5retzEsk= -github.com/aws/aws-sdk-go-v2/service/securitylake v1.15.0 h1:h0Hc0HeqRiCdQNxFuN5/T6Dyk8WmJ41ys42ikIRBozM= -github.com/aws/aws-sdk-go-v2/service/securitylake v1.15.0/go.mod h1:80i7dDYRHz+6goSHA9aYAAKLsAgF/YG45mtBkQXLu9I= -github.com/aws/aws-sdk-go-v2/service/servicecatalogappregistry v1.27.0 h1:McGMz1MxHynEh00FRagW/NbSf6JjW6XtSBky4DWSeWg= -github.com/aws/aws-sdk-go-v2/service/servicecatalogappregistry v1.27.0/go.mod h1:LpcM0C8kqecwfaNeK7yRlyOt0gLuzCYwKcnK39ADOsI= -github.com/aws/aws-sdk-go-v2/service/servicediscovery v1.30.0 h1:FCRBlq0ym8/3kr5/tQKLg7tsz5nTOmdqtArNWdvAdNA= -github.com/aws/aws-sdk-go-v2/service/servicediscovery v1.30.0/go.mod h1:w6z+TqchBg7RF3FtvUGs08faCSYfwlbGf7x5ipuWDKU= -github.com/aws/aws-sdk-go-v2/service/servicequotas v1.22.0 h1:J1RxKkbJvOydBLiNGR1T5HUjJ+Qjmh+n4p+V7Cpkhn8= -github.com/aws/aws-sdk-go-v2/service/servicequotas v1.22.0/go.mod h1:XnoYordEM2qP1jnnHqMsm55wgdm0VubxjUu3UKiB6ZE= -github.com/aws/aws-sdk-go-v2/service/sesv2 v1.31.0 h1:nDUPSj4veXxQuuX2khp5rW3bvyZZPnB0LGiNjSKz3Jo= -github.com/aws/aws-sdk-go-v2/service/sesv2 v1.31.0/go.mod h1:xpE4aMOs0Lby0U2ymdxGdON1soWCmqK8wOIWBgb4BZ4= -github.com/aws/aws-sdk-go-v2/service/shield v1.26.0 h1:SgqIGzWtN2CY53hi36SVmZ4Ygtu6b/E2LETPpnvarfQ= -github.com/aws/aws-sdk-go-v2/service/shield v1.26.0/go.mod h1:WRG9BjqyyYMcN8Z+MpQDdE1qDdEn0YtLxksG60UJDjA= -github.com/aws/aws-sdk-go-v2/service/signer v1.23.0 h1:RCoquPxZDbw6PJV5rgV04HgcOPSja1RDMcJf36Ssnlc= -github.com/aws/aws-sdk-go-v2/service/signer v1.23.0/go.mod h1:cMnMMZdfAEsZ1XeUOYC3rKFnK3a6G53qiAljLUvbuOc= -github.com/aws/aws-sdk-go-v2/service/sns v1.30.0 h1:Xq0gjRipdyccCsbojaEGsqUzD7N8j/911+ga/mS/KOs= -github.com/aws/aws-sdk-go-v2/service/sns v1.30.0/go.mod h1:2VCr8FDGRUdGmTpcKWHyziQnfgJo0ToZYvFflybzxAg= -github.com/aws/aws-sdk-go-v2/service/sqs v1.33.0 h1:7iapmBjPo27AGV5MnJZK9xN2TDScmy9YqYGBb0+9rQA= -github.com/aws/aws-sdk-go-v2/service/sqs v1.33.0/go.mod h1:Ls5D7SrhpvEuUmmQs+cbsguHYQLyeUGHtu0pBl3AqHA= -github.com/aws/aws-sdk-go-v2/service/ssm v1.51.0 h1:RJuxHYRQquxK8vDzCKGwSNOPrfZlu8bLRSLKZQXPpT4= -github.com/aws/aws-sdk-go-v2/service/ssm v1.51.0/go.mod h1:pBcd0Bm+W3KEHKQHtPg7cK9dsP+2gvDaQTYrqXqk194= -github.com/aws/aws-sdk-go-v2/service/ssmcontacts v1.23.0 h1:wA7oJ7pxznRmpGzrrYIKO8y0n+WIzklHTWBo32iN0OY= -github.com/aws/aws-sdk-go-v2/service/ssmcontacts v1.23.0/go.mod h1:xzt1f/KRs/6k/nlcOw34T9CSdPgCi4veERocWz488EM= -github.com/aws/aws-sdk-go-v2/service/ssmincidents v1.31.0 h1:z9+1A3GPG1fK93uGvonnGNR5IrfGL2uv23FlhqZ5nPc= -github.com/aws/aws-sdk-go-v2/service/ssmincidents v1.31.0/go.mod h1:/ZlBCvFGploAXe+70lJ5B56ZiFsMJ9dtKjVl2nw1YSA= -github.com/aws/aws-sdk-go-v2/service/ssmsap v1.14.0 h1:hPwOshVCyWuinI9fAhJsY8HYl9EvPX8VfoQvUyxk5Dw= -github.com/aws/aws-sdk-go-v2/service/ssmsap v1.14.0/go.mod h1:UwEu2wMK9SX1hpj5a6Vvq/xqFHq9iDdkvOXY8yzlw/s= -github.com/aws/aws-sdk-go-v2/service/sso v1.21.0 h1:P0zUA+5liaoNILI/btBBQHC09PFPyRJr+w+Xt9KHKck= -github.com/aws/aws-sdk-go-v2/service/sso v1.21.0/go.mod h1:0bmRzdsq9/iNyP02H4UV0ZRjFx6qQBqRvfCJ4trFgjE= -github.com/aws/aws-sdk-go-v2/service/ssoadmin v1.26.0 h1:EqRK4n81uTTWxi337dAtJ0hc+y/bb0BZmdvsMIQnO2k= -github.com/aws/aws-sdk-go-v2/service/ssoadmin v1.26.0/go.mod h1:PwPJuZ11g2G1p93H7eho8tDWF9dKeKC5LSdHoQiMKo0= -github.com/aws/aws-sdk-go-v2/service/ssooidc v1.25.0 h1:jPV8U9r3msO9ECm9geW8PGjU/rz8vfPTPmIBbA83W3M= -github.com/aws/aws-sdk-go-v2/service/ssooidc v1.25.0/go.mod h1:B3G77bQDCmhp0RV0P/J9Kd4/qsymdWVhzTe3btAtywE= -github.com/aws/aws-sdk-go-v2/service/sts v1.29.0 h1:dqW4XRwPE/poWSqVntpeXLHzpPK6AOfKmL9QWDYl9aw= -github.com/aws/aws-sdk-go-v2/service/sts v1.29.0/go.mod h1:j8+hrxlmLR8ZQo6ytTAls/JFrt5bVisuS6PD8gw2VBw= -github.com/aws/aws-sdk-go-v2/service/swf v1.24.0 h1:YgPeQKzzVAaWRtwj/ovFoEnihwwjYz8M0Wi9OC33btc= -github.com/aws/aws-sdk-go-v2/service/swf v1.24.0/go.mod h1:2d8TknRULCwm+Z3SRJAc+RKXH69TRaKZX3tra+atvRg= -github.com/aws/aws-sdk-go-v2/service/synthetics v1.25.0 h1:Y/GdHJ3dQughvff9znLmc0ll/z4XKq7AFt49eS9cdL0= -github.com/aws/aws-sdk-go-v2/service/synthetics v1.25.0/go.mod h1:SUij8hDbgZ1D1gSyfM0DlaJ0MNn8lMNyrwXPGzVzoeg= -github.com/aws/aws-sdk-go-v2/service/timestreaminfluxdb v1.1.0 h1:6MJ3GEx2SfeIgJ6Lz9drlWSCAIlFY9FB6q4UaJWjW0k= -github.com/aws/aws-sdk-go-v2/service/timestreaminfluxdb v1.1.0/go.mod h1:MQ2A6JqwaOyHWZ9/X6aLasQzwENEh3lrN3S4QQABGQw= -github.com/aws/aws-sdk-go-v2/service/timestreamwrite v1.26.0 h1:O/DNMp52fWip+R6+r7Gv2mM5nhxP7yguQAaubSn/PvQ= -github.com/aws/aws-sdk-go-v2/service/timestreamwrite v1.26.0/go.mod h1:kNfpzthakWe9UqaJqCXAfAfTtNahf0u8nHvn4I7UQFo= -github.com/aws/aws-sdk-go-v2/service/transcribe v1.38.0 h1:nvNlvVnfja9AxLpPis0inO6TfrrKE8wJn9ie1b43PCE= -github.com/aws/aws-sdk-go-v2/service/transcribe v1.38.0/go.mod h1:/maZhUhTzl0CpiFVRphpvolzHafQbUxb6KiZ4zFmLLA= -github.com/aws/aws-sdk-go-v2/service/transfer v1.49.0 h1:UXdzHgO6jsEpsFOyOpAV6DoBExpiESRqbbNwHG4DKIw= -github.com/aws/aws-sdk-go-v2/service/transfer v1.49.0/go.mod h1:mNpqi2+uajhgdbbTQA8/REXyccSTy8+oDAH9LCy4fWs= -github.com/aws/aws-sdk-go-v2/service/verifiedpermissions v1.16.0 h1:vcy97DbO72iIUHLhoeGUSwQBgwESRz0/RE6ori2qRPE= -github.com/aws/aws-sdk-go-v2/service/verifiedpermissions v1.16.0/go.mod h1:KKWkumFpy/2QsK0oMNLVNhTK8Hj30DNeQ2kedEsW6u8= -github.com/aws/aws-sdk-go-v2/service/vpclattice v1.9.0 h1:AjgOeauxg/8dA7+xM2CuxrJmAzDQgiwTGgfrXtJznuo= -github.com/aws/aws-sdk-go-v2/service/vpclattice v1.9.0/go.mod h1:GVgqis1OIPeYVZo9/tC5P6TbO+eqPj6j5AMBLJocKgA= -github.com/aws/aws-sdk-go-v2/service/waf v1.22.0 h1:VF0/BiT3DB/Evkf0HUdPrjuGz5mYAj5MRNM+XP57Yy4= -github.com/aws/aws-sdk-go-v2/service/waf v1.22.0/go.mod h1:zEuwy5BLf2Ax04YWoX+aOFQldspfNSw6cOzh2c1FE9o= -github.com/aws/aws-sdk-go-v2/service/wafregional v1.22.0 h1:BoaV3DB54jcoeaXpa0cS/0AYbGND0+pUinh78WNEAsk= -github.com/aws/aws-sdk-go-v2/service/wafregional v1.22.0/go.mod h1:tcc5r0O8/SAAZ90CgLsFJuu+YN06mKOQTBv7BvgSywA= -github.com/aws/aws-sdk-go-v2/service/wafv2 v1.50.0 h1:+R3R+PHVgzeN6iQ7y8aBX/4MPYDmDmd0DfFV1xfYdNk= -github.com/aws/aws-sdk-go-v2/service/wafv2 v1.50.0/go.mod h1:W5X+xXQU61asHCukaIpOuGjfOy8v24iRNES44MpIRBI= -github.com/aws/aws-sdk-go-v2/service/wellarchitected v1.31.0 h1:acyDLMysdSfKfQJxBENybpz10ztsLITWza447ip6wII= -github.com/aws/aws-sdk-go-v2/service/wellarchitected v1.31.0/go.mod h1:DIUvkoJg5kC9K4j342eAK6anceSNNUO7iwa2vhYsBsc= -github.com/aws/aws-sdk-go-v2/service/workspaces v1.40.0 h1:rk4tLvt53j6msxrSS2tn2pFXPo4Q2mj7Kt5HAnPKFQU= -github.com/aws/aws-sdk-go-v2/service/workspaces v1.40.0/go.mod h1:ARJ/HUyRaIhxIiym/cCJJ6OqBowtZNh7jmVeTPPqrjo= -github.com/aws/aws-sdk-go-v2/service/workspacesweb v1.19.0 h1:KRE7Xj1nVszmqd6fCLO5FDSl913kA3O8Z9eHJ4F4YBk= -github.com/aws/aws-sdk-go-v2/service/workspacesweb v1.19.0/go.mod h1:5d3kNhMcAt3bG+iJ/XOOMJrXLN9Cls07mGxoqln4dFg= -github.com/aws/aws-sdk-go-v2/service/xray v1.26.0 h1:pP/IrtNrY9zP1aBaXoy+ebt7qJ9fDIS/TP+3IT54+/o= -github.com/aws/aws-sdk-go-v2/service/xray v1.26.0/go.mod h1:2Hhdl4R0u2M3H3KnTXK8VPQSt0QSyFwW1eu7WW6bOqw= +github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.3.14 h1:oWccitSnByVU74rQRHac4gLfDqjB6Z1YQGOY/dXKedI= +github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.3.14/go.mod h1:8SaZBlQdCLrc/2U3CEO48rYj9uR8qRsPRkmzwNM52pM= +github.com/aws/aws-sdk-go-v2/service/internal/endpoint-discovery v1.9.13 h1:TiBHJdrItjSsvfMRMNEPvu4gFqor6aghaQ5mS18i77c= +github.com/aws/aws-sdk-go-v2/service/internal/endpoint-discovery v1.9.13/go.mod h1:XN5B38yJn1XZvhyCeTzU5Ypha6+7UzVGj2w+aN0zn3k= +github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.11.14 h1:zSDPny/pVnkqABXYRicYuPf9z2bTqfH13HT3v6UheIk= +github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.11.14/go.mod h1:3TTcI5JSzda1nw/pkVC9dhgLre0SNBFj2lYS4GctXKI= +github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.17.12 h1:tzha+v1SCEBpXWEuw6B/+jm4h5z8hZbTpXz0zRZqTnw= +github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.17.12/go.mod h1:n+nt2qjHGoseWeLHt1vEr6ZRCCxIN2KcNpJxBcYQSwI= +github.com/aws/aws-sdk-go-v2/service/internetmonitor v1.15.1 h1:xQv1YON3lQ/1YKM9LXQ1KYddz3xec93OSk0cPmY7BGE= +github.com/aws/aws-sdk-go-v2/service/internetmonitor v1.15.1/go.mod h1:hZAlj3tvGG9afdu1J1fEuiAsGHL/nzYhzjlOFojJ2AM= +github.com/aws/aws-sdk-go-v2/service/ivschat v1.13.1 h1:tUAfCwMmFEXX1i74o+BTvd2Xr0iU1eqnnJ/8jIr1lZs= +github.com/aws/aws-sdk-go-v2/service/ivschat v1.13.1/go.mod h1:AJOtOziOUyo94xRigSdj1pjB8lrtegZTMiw4NkA2rqU= +github.com/aws/aws-sdk-go-v2/service/kafka v1.34.1 h1:AgBv2EgMXguYPz1fpSyj51JuC6vXGNP0Wz3NNeHQLog= +github.com/aws/aws-sdk-go-v2/service/kafka v1.34.1/go.mod h1:/iV7HuLjhE4JD+xswkqjipO9tv7EPUbO+1QlaxB6BTA= +github.com/aws/aws-sdk-go-v2/service/kendra v1.51.1 h1:RfQPkqz555MsIkD0i0XIUQlj12QQ9ij+GI/NW9Pu3sw= +github.com/aws/aws-sdk-go-v2/service/kendra v1.51.1/go.mod h1:nwwYQj97ME0q/3Ak01ABehQiLqupYNI24pfxT9cIMuA= +github.com/aws/aws-sdk-go-v2/service/keyspaces v1.11.1 h1:eMMWq0lgwP++zZVZ/K+W2Zx3fnbjUYFsDgFyXGus4ts= +github.com/aws/aws-sdk-go-v2/service/keyspaces v1.11.1/go.mod h1:zddI8paRYz+rwAu/0jBwGANi8rV3dk7Pcyj/trdu/N8= +github.com/aws/aws-sdk-go-v2/service/kinesis v1.28.1 h1:kKV5YQgCYvyOHf2Fw7UZsXOiR4J82rS4uNhvNtk5YDA= +github.com/aws/aws-sdk-go-v2/service/kinesis v1.28.1/go.mod h1:mCOLFKtbzhBey1ZcvC5Vd8bp7Lo40VCLJzDJjP6iGOY= +github.com/aws/aws-sdk-go-v2/service/kms v1.34.1 h1:VsKBn6WADI3Nn3WjBMzeRww9WHXeVLi7zyuSrqjRCBQ= +github.com/aws/aws-sdk-go-v2/service/kms v1.34.1/go.mod h1:5F6kXrPBxv0l1t8EO44GuG4W82jGJwaRE0B+suEGnNY= +github.com/aws/aws-sdk-go-v2/service/lakeformation v1.34.1 h1:nQrZAsHVBVQRB7aJ6/f7a7u/DVaWu15HiWWJTEFJSpU= +github.com/aws/aws-sdk-go-v2/service/lakeformation v1.34.1/go.mod h1:vZzOCXUmJE5S2FgqCy7GOReT6b6riPfdS+wps2gwQlk= +github.com/aws/aws-sdk-go-v2/service/lambda v1.55.1 h1:Drh1jXr7mTcSXyjEgCIMijskUz/5FXgdjJcqXGQnjhs= +github.com/aws/aws-sdk-go-v2/service/lambda v1.55.1/go.mod h1:5drdANY67aOvUNJLjBEg2HXeCXkk0MDurqsJs73TXVQ= +github.com/aws/aws-sdk-go-v2/service/launchwizard v1.5.1 h1:SkoH8/0+c53BBHAsjoZXJoZy0EdmnOb4cUhMxn8BQR4= +github.com/aws/aws-sdk-go-v2/service/launchwizard v1.5.1/go.mod h1:2P/sUIiKxD3ohzL1CgjLDZnOksgIDUDffU7z54Ul1tA= +github.com/aws/aws-sdk-go-v2/service/lexmodelsv2 v1.44.1 h1:pQuAnpqqsmBAALIN7W4sn06zV6Qv9PMbfeJ3imaGX4Y= +github.com/aws/aws-sdk-go-v2/service/lexmodelsv2 v1.44.1/go.mod h1:DACyUyjpYCDpjEE/3px9kWeIr8vC0SNyORyaSru35DQ= +github.com/aws/aws-sdk-go-v2/service/lightsail v1.39.1 h1:OIdINTNLFOqm7t91ew7+CgcIkvDCCTuK4rBuREBAC2Q= +github.com/aws/aws-sdk-go-v2/service/lightsail v1.39.1/go.mod h1:nP29+6YQpLvD/o/8SXaaSVFdRdPCpLLZv6MVAFiPqIQ= +github.com/aws/aws-sdk-go-v2/service/lookoutmetrics v1.28.1 h1:ImufVLN7bEElrVC05pkpZqw6eYiHX6KFFO9iWqUEzhc= +github.com/aws/aws-sdk-go-v2/service/lookoutmetrics v1.28.1/go.mod h1:Kbb0YMyrxzk1zlYncMv4/afaB0KvQWDiRFT9vuVpUGQ= +github.com/aws/aws-sdk-go-v2/service/m2 v1.14.1 h1:oOStgQy7APtRye8/QWEKaY+rL1xASmFYJtPjjYtIHMs= +github.com/aws/aws-sdk-go-v2/service/m2 v1.14.1/go.mod h1:YxWYSbAEqBGH03gk0jcobKzW6Kq0yd2N08PdoxEsgTg= +github.com/aws/aws-sdk-go-v2/service/mediaconnect v1.29.1 h1:6tFXjY3Lz997P+k0zHVoSRxJdkzTOc8Ns2RRtGeFKg4= +github.com/aws/aws-sdk-go-v2/service/mediaconnect v1.29.1/go.mod h1:s7Som/VmhvLO1c2ODsd6VelNFoDvzy0ZpWAcVmnLTnE= +github.com/aws/aws-sdk-go-v2/service/mediaconvert v1.56.1 h1:Ipwvv5Mot7I/ofXBNsM05LUZfEHKWrdqFH6EaVrom2U= +github.com/aws/aws-sdk-go-v2/service/mediaconvert v1.56.1/go.mod h1:cf2y51+iaui3t0evj14KJibqFP4kMqFuNRIa9huKEsw= +github.com/aws/aws-sdk-go-v2/service/medialive v1.53.1 h1:z/OtXeoNPytEQXEklZ/79rM5dLRtFaqwri/9vCItY2Y= +github.com/aws/aws-sdk-go-v2/service/medialive v1.53.1/go.mod h1:NVacuK6xVc9bKwz4CsVcD20aY7F9Y9BZ4WG0TFZimhg= +github.com/aws/aws-sdk-go-v2/service/mediapackage v1.31.1 h1:qpO+Oc7bKrc7+fvU5O7sFnB4s0CND/6Fv8M7yvMal08= +github.com/aws/aws-sdk-go-v2/service/mediapackage v1.31.1/go.mod h1:kfUZB7t0Yqho3G49zepbeCFSQgTnUTHuyMGCOu8RQOc= +github.com/aws/aws-sdk-go-v2/service/mediapackagev2 v1.13.1 h1:avU2E/Yu+4SrcV9Nb7M4ifdjGiXRR7nJx4FvfO3YL4M= +github.com/aws/aws-sdk-go-v2/service/mediapackagev2 v1.13.1/go.mod h1:v83XUctBgyBJnYoHykOj3YsRNnzK8LlHGyS5HJoBIzU= +github.com/aws/aws-sdk-go-v2/service/mediastore v1.21.1 h1:SU4k8WNXxRUQgmAmtiwHJTsJiPLZ1ItN93vef2+D5KM= +github.com/aws/aws-sdk-go-v2/service/mediastore v1.21.1/go.mod h1:z1b7kZLDuNTSrUbA/mDLaRJ2ivlTjqr0H4aoBx6x7PU= +github.com/aws/aws-sdk-go-v2/service/mq v1.23.1 h1:TcIIYgAH1voIS33mcUFIdts9qJ4+mzGbnHExAzmjNPM= +github.com/aws/aws-sdk-go-v2/service/mq v1.23.1/go.mod h1:qo6k2hLt3/Oi0fTndXhdMCg005TzoqT313YrYMorrNI= +github.com/aws/aws-sdk-go-v2/service/mwaa v1.28.1 h1:fzBc0gfOfrlcyP/COVDt8iGVUnQ4FX/qaasEAUeDLy0= +github.com/aws/aws-sdk-go-v2/service/mwaa v1.28.1/go.mod h1:a46hMp6jog7U6rhMxmp0wwcGvPTJINQkc6EevZb7SNs= +github.com/aws/aws-sdk-go-v2/service/neptunegraph v1.9.1 h1:UjByGYRBlhjY4l8Lun62K3Z62Wks84q3UasnDDJoz5I= +github.com/aws/aws-sdk-go-v2/service/neptunegraph v1.9.1/go.mod h1:5q3YTQennpO1/KB7rU71vW/9PjLC4PuosEi2xDEw5OY= +github.com/aws/aws-sdk-go-v2/service/oam v1.12.1 h1:LZrULRkfrmZVE8OHqwI8tKFEFxpjZl6ll7Bn2MCCVwg= +github.com/aws/aws-sdk-go-v2/service/oam v1.12.1/go.mod h1:yiUaEYA1zVxtz/EGgf8NE7rT56sLKGqQwQrWg/GhGu8= +github.com/aws/aws-sdk-go-v2/service/opensearchserverless v1.12.1 h1:BRAM7tTwHJojSOhiyUkPh2Z/hOco7OkayTf6MYFOF5w= +github.com/aws/aws-sdk-go-v2/service/opensearchserverless v1.12.1/go.mod h1:JhHI5YxjlRL5IqQPcijTGs8e7B0mVLLk1fpssVqjZaY= +github.com/aws/aws-sdk-go-v2/service/organizations v1.28.1 h1:dfjBY/IdKIGBvE46uNHYFW9csLGt683je80+fAFiLmw= +github.com/aws/aws-sdk-go-v2/service/organizations v1.28.1/go.mod h1:asny2SDsK1rwPKbuQ+s8f5y1hWpYenP4CqsxOymkudc= +github.com/aws/aws-sdk-go-v2/service/osis v1.11.1 h1:PvMmCkbmm6+IaStuc45PjM/IykBDYUHnJQBMCLJwWsk= +github.com/aws/aws-sdk-go-v2/service/osis v1.11.1/go.mod h1:RBQgmsqEtnAxY9OVxzJkFVRQ0u1l6+SLtAw4HpjpKwE= +github.com/aws/aws-sdk-go-v2/service/paymentcryptography v1.11.1 h1:F/5ouMfQxLkRO53C8HVHFuOzMmugJEXJpgFuft9noyA= +github.com/aws/aws-sdk-go-v2/service/paymentcryptography v1.11.1/go.mod h1:VHsagvynhabHbLl4DtdjtWQ8GgmZl6qw/Sc4ix78QWs= +github.com/aws/aws-sdk-go-v2/service/pcaconnectorad v1.6.1 h1:QdWiKfoRzXamzsL/ejbnWI/bPrtHDmoxAnqLD5h2Qwg= +github.com/aws/aws-sdk-go-v2/service/pcaconnectorad v1.6.1/go.mod h1:heR4dYebTI0Gcj2jn6OK8m/She92XlTGexlkG+CSkcI= +github.com/aws/aws-sdk-go-v2/service/pipes v1.13.1 h1:nDGPNXJPc/Zyjdenbkmfe8+qJaXy16R0CCZNpAJzsYk= +github.com/aws/aws-sdk-go-v2/service/pipes v1.13.1/go.mod h1:98vnplOvsabKozsg0U14ges5xzrrVAkK+0fkc29WxFY= +github.com/aws/aws-sdk-go-v2/service/polly v1.41.1 h1:+hSr0DpeXsDLIUzQy9Mtc0MHr+RWj5fwLTBVr/OkUeo= +github.com/aws/aws-sdk-go-v2/service/polly v1.41.1/go.mod h1:SoN8AjKOVVC/pBAa6CsFaqqEKAF3ZIuG6iTW3XkQm/Y= +github.com/aws/aws-sdk-go-v2/service/pricing v1.29.1 h1:IwnxNjvhqtPQNNW93xBVTzRKJ3BI9GSEDu1w+YMXfUI= +github.com/aws/aws-sdk-go-v2/service/pricing v1.29.1/go.mod h1:yZMXOzGy2QtzacpvpWaptEuYXWoFcINn04FUjnNn39w= +github.com/aws/aws-sdk-go-v2/service/qbusiness v1.7.1 h1:xHupkKEZm928HDycbYl7WBMNYuDzPOJ+sR8UL/B32rM= +github.com/aws/aws-sdk-go-v2/service/qbusiness v1.7.1/go.mod h1:EU7zeEUzGV+vjgr9IjhW5QhjlgY5s7wjBsvpD1XCZbE= +github.com/aws/aws-sdk-go-v2/service/qldb v1.22.1 h1:gpLL+eTaS4W3jVH88x811rgYLbUeGdtKenQgvZA6nBk= +github.com/aws/aws-sdk-go-v2/service/qldb v1.22.1/go.mod h1:zd8pWnlLZxx2dk3k1ekl9WJOdTZW0v10+lZnPUFztLs= +github.com/aws/aws-sdk-go-v2/service/ram v1.26.1 h1:1UcUsMsHB7ZnpcUYNwBTX90hFjIZrhf8Xu00R9Vo+Kg= +github.com/aws/aws-sdk-go-v2/service/ram v1.26.1/go.mod h1:e/3wE+afnOAeolpqyg8fKAQK/kKya+ycDW62/X4vjK8= +github.com/aws/aws-sdk-go-v2/service/rbin v1.17.1 h1:lQRI9dPRfnj8s57U52zoxia7k61brR+0AoTylUnlHMA= +github.com/aws/aws-sdk-go-v2/service/rbin v1.17.1/go.mod h1:K4NSpziaXU08Y9AWCbnq6hP+wFRSlqYCTI15CBWM/bA= +github.com/aws/aws-sdk-go-v2/service/rds v1.80.1 h1:o0DyV3AWeuAwrBVeoW/kCZJi4oGCBHPS3E5Ppmc3fLE= +github.com/aws/aws-sdk-go-v2/service/rds v1.80.1/go.mod h1:lmaCww9B42S2WBaJNa5v+HeRpoGO+9gO+SwYJtNV8mw= +github.com/aws/aws-sdk-go-v2/service/redshift v1.45.1 h1:AdnF43k4XVzTTtVXtqyy2v20RiptDLmUX7ZuokdF5I0= +github.com/aws/aws-sdk-go-v2/service/redshift v1.45.1/go.mod h1:3S2IEN/LSwonlc30Hoyu06jBj/YOz6m+uHffkCJ2D3o= +github.com/aws/aws-sdk-go-v2/service/redshiftdata v1.26.1 h1:QOxr2Mgm2O4Syt7ROT2UCNDVPvcEjoBW/5DnlWw3GAc= +github.com/aws/aws-sdk-go-v2/service/redshiftdata v1.26.1/go.mod h1:z1qDE+l45V0J/hAmZ8d9cO5MY207kz5YH6o3kVB2quk= +github.com/aws/aws-sdk-go-v2/service/redshiftserverless v1.19.1 h1:VRAjP3iJ684rhGmZ1LRy+8SARfnfrOB6NeT9XaccflA= +github.com/aws/aws-sdk-go-v2/service/redshiftserverless v1.19.1/go.mod h1:+b6LJEQpqKMBA7Jw1fgpWngaZWiJtYGHtW4mm3awuos= +github.com/aws/aws-sdk-go-v2/service/rekognition v1.41.1 h1:BsFFOLs6CTuzC8dxiAtrdtw8sjCoJydGiLXKPVjK1bg= +github.com/aws/aws-sdk-go-v2/service/rekognition v1.41.1/go.mod h1:Tjh59zYOtIXSVQpJMxIWqkj/SONo8Crc0s6Z6CjBG1w= +github.com/aws/aws-sdk-go-v2/service/resourceexplorer2 v1.11.1 h1:o2MkvVZAahZX3ttqVmJJeCRAmIHQ98iJsLlmHXFjuCM= +github.com/aws/aws-sdk-go-v2/service/resourceexplorer2 v1.11.1/go.mod h1:Hq2k/Ovak4zs70o1r39jzn+jOfwsBaWYq79KY5ntvH4= +github.com/aws/aws-sdk-go-v2/service/resourcegroups v1.23.1 h1:aR4MioMW7hiNGTcoz8rngzPF7U4oBssCr/N7oaNyr30= +github.com/aws/aws-sdk-go-v2/service/resourcegroups v1.23.1/go.mod h1:gCiBxW2zE+VgC/gSU5a0gteSBjqo3uS906dLJoQgItw= +github.com/aws/aws-sdk-go-v2/service/resourcegroupstaggingapi v1.22.1 h1:73im9DnuBD4+G8hHsbqb0NSA+n6QJ5ApFk6/YeOz8k8= +github.com/aws/aws-sdk-go-v2/service/resourcegroupstaggingapi v1.22.1/go.mod h1:p5FuKT8Rj4fnlT84Pzy7itV11NZ39Fwm/Y52S8Lg1Oc= +github.com/aws/aws-sdk-go-v2/service/rolesanywhere v1.12.1 h1:jdwVopS0EMYP6xs/BxSW6iOkchLUHI4Le93HEMX5v8A= +github.com/aws/aws-sdk-go-v2/service/rolesanywhere v1.12.1/go.mod h1:cPPSRXGdLg1+Fguh3QNNOyXfic3QtIQllMs+GAIX5ic= +github.com/aws/aws-sdk-go-v2/service/route53 v1.41.1 h1:8evgBTGIqkBj8zWFZrjBExvC1/3Bgod5EHsmwmnHEy4= +github.com/aws/aws-sdk-go-v2/service/route53 v1.41.1/go.mod h1:aIGJVylrqjjBnf2NU2O1oHOOoBDFvHw6hy/GhelYksQ= +github.com/aws/aws-sdk-go-v2/service/route53domains v1.24.1 h1:G1w6P2mCgHTsLLjiUAADion/UFrbeSMEAiIpuQZnXQs= +github.com/aws/aws-sdk-go-v2/service/route53domains v1.24.1/go.mod h1:c9sryrQoAKXDmxmV4D+5Tfcczro2hDyt93xqoht4KeM= +github.com/aws/aws-sdk-go-v2/service/route53profiles v1.1.1 h1:TK06zMXS9HYhqlBogMcUKorOl/13WaYtu0iD+6PQeJI= +github.com/aws/aws-sdk-go-v2/service/route53profiles v1.1.1/go.mod h1:cIiUrh4zaUDalfCK/INCBLTrM+RrISQioyShnlQPy58= +github.com/aws/aws-sdk-go-v2/service/rum v1.18.1 h1:YvOEWP/vJSdtWOzJ6JVkdUNBMb0pGuCaKtFMQ1pT0uQ= +github.com/aws/aws-sdk-go-v2/service/rum v1.18.1/go.mod h1:SRAqBhlI73DxLJk++4NzMaTk08X8Ko1cTmLxo6Jencs= +github.com/aws/aws-sdk-go-v2/service/s3 v1.56.1 h1:wsg9Z/vNnCmxWikfGIoOlnExtEU459cR+2d+iDJ8elo= +github.com/aws/aws-sdk-go-v2/service/s3 v1.56.1/go.mod h1:8rDw3mVwmvIWWX/+LWY3PPIMZuwnQdJMCt0iVFVT3qw= +github.com/aws/aws-sdk-go-v2/service/s3control v1.45.1 h1:ZLpS2OLxDU5kJmsORex4Iyd/1v386lW6U6tI3dg38yU= +github.com/aws/aws-sdk-go-v2/service/s3control v1.45.1/go.mod h1:D3MZ3krIqgoG3twJxe/NfHatuUiQ+Qp76TEqrX7K4pY= +github.com/aws/aws-sdk-go-v2/service/scheduler v1.9.1 h1:A46/5P4BsP3XUqm+ehaa3GzdqSUm63hElZkZjv60pto= +github.com/aws/aws-sdk-go-v2/service/scheduler v1.9.1/go.mod h1:YR4bk2KhPbe9Ryes7kRZ/U3kRX6DdfS6xFfUc7RGj5Q= +github.com/aws/aws-sdk-go-v2/service/schemas v1.25.1 h1:2qFVrrqZxRQVxuZ/2nnpLvm9mRAELSQWczpbt7oR62c= +github.com/aws/aws-sdk-go-v2/service/schemas v1.25.1/go.mod h1:kyEvFeyc6CvoylCMY2yXBWnsqKs3TLc3QY2Bt70Wk2A= +github.com/aws/aws-sdk-go-v2/service/secretsmanager v1.31.1 h1:fMhrWVym3nTAcf3eT9XsYcfN1kgQ/7ZuVLGHjPAn6Ms= +github.com/aws/aws-sdk-go-v2/service/secretsmanager v1.31.1/go.mod h1:tBCf2+VgRT/Lk9KIlKpTxyCunzxHcP8BFPqcck5I9mM= +github.com/aws/aws-sdk-go-v2/service/securityhub v1.50.1 h1:kT/0nz4Fgb7/xZpIUubXmFrNQHQ4KPaBA2ebGGCE2F4= +github.com/aws/aws-sdk-go-v2/service/securityhub v1.50.1/go.mod h1:0eCNhMYahG4Yj7uBDm9BTq8KoLmBmhxt4d36PfZ/uPU= +github.com/aws/aws-sdk-go-v2/service/securitylake v1.15.1 h1:vTyA6riZZ7n7qI0vlNHaXgqv8D5oiRCuHwEj1gd1soM= +github.com/aws/aws-sdk-go-v2/service/securitylake v1.15.1/go.mod h1:GPJabMy3AdBJjL6YRzu3LNbw+11OuvzZwjmMpmZhkjg= +github.com/aws/aws-sdk-go-v2/service/servicecatalogappregistry v1.27.1 h1:WJR9PhUdNULh+L+C/ByCFFB8ldkTfj4c9HKiWV+esgk= +github.com/aws/aws-sdk-go-v2/service/servicecatalogappregistry v1.27.1/go.mod h1:VHl0eZ8oYU2D0/BeBYTO5bJ6V1riuxCBQGEAjF+6Jx0= +github.com/aws/aws-sdk-go-v2/service/servicediscovery v1.30.1 h1:N19/J0IqsoNlkbXLe+JYWLjOyGmRijt6dw0+MaL/9wE= +github.com/aws/aws-sdk-go-v2/service/servicediscovery v1.30.1/go.mod h1:uuMsqZ2ATDqrzaAldWWuEUd9KGqi1NmnjroG6Eoe7W4= +github.com/aws/aws-sdk-go-v2/service/servicequotas v1.22.1 h1:QsHvqtdy0mGzpg/A+1lZX1ilf05Vuh2rSBzNJ3f3T1I= +github.com/aws/aws-sdk-go-v2/service/servicequotas v1.22.1/go.mod h1:PyGv4oTed21K85Eu27j4u/8QyMlMHI0MivoNzziG6fg= +github.com/aws/aws-sdk-go-v2/service/sesv2 v1.31.1 h1:Bz5SPXOgdFOs0y+zt0KoqyAweD6UrOSQ0trsLCulttQ= +github.com/aws/aws-sdk-go-v2/service/sesv2 v1.31.1/go.mod h1:uwzHo1t7tjKs3mo+X9wAMis1rCp23oGR4zXfKROKv28= +github.com/aws/aws-sdk-go-v2/service/shield v1.26.1 h1:vlqoPRFrhs/djRKnrPNJvzzVLIsMWITGgP4gHIzprSU= +github.com/aws/aws-sdk-go-v2/service/shield v1.26.1/go.mod h1:1aUTOI7FTFp3ng7NH3C0UqDkbofoLb7NLcd/ufvlHdY= +github.com/aws/aws-sdk-go-v2/service/signer v1.23.1 h1:H91003y5gB7UfahQ58w6GeMZfiNPTxTarpNj8fAJvfc= +github.com/aws/aws-sdk-go-v2/service/signer v1.23.1/go.mod h1:KaQ1Ix0kfyv+PTMN9u3/+VRUeAMi59yzMpTkbQPXNr0= +github.com/aws/aws-sdk-go-v2/service/sns v1.30.1 h1:49R5Uh0Vi4Y21UHfLzmLmg7hwqQLyBmWqS0Vh+EpV2A= +github.com/aws/aws-sdk-go-v2/service/sns v1.30.1/go.mod h1:khPCTZaFImcuDtOLDqiveVdpQL53OXkK+/yoyao+kzk= +github.com/aws/aws-sdk-go-v2/service/sqs v1.33.1 h1:m/7a5OgAZQDWJlSbZLWg4BAlbXbY6j+dDDjPY8rZ7kA= +github.com/aws/aws-sdk-go-v2/service/sqs v1.33.1/go.mod h1:4kCM5tMCkys9PFbuGHP+LjpxlsA5oMRUs3QvnWo11BM= +github.com/aws/aws-sdk-go-v2/service/ssm v1.51.1 h1:MuFdaoXYgw4CPsiSa2G/T5CGOuSk90lb/eSTa+lRp9I= +github.com/aws/aws-sdk-go-v2/service/ssm v1.51.1/go.mod h1:pC8vyMIahlJIUKdXBto0R+JzoTK7+iEplKqq7DbWodY= +github.com/aws/aws-sdk-go-v2/service/ssmcontacts v1.23.1 h1:a8tzj/cicbel7pGZYjF3JOJRtyLeWYPCzqL2Plr7LM4= +github.com/aws/aws-sdk-go-v2/service/ssmcontacts v1.23.1/go.mod h1:LBJz2C528vpvnKXpS1lW139rq7ZYnRPkTgm1RcewafU= +github.com/aws/aws-sdk-go-v2/service/ssmincidents v1.31.1 h1:I1k+UQhRcltDoFauDzAnYsKiXKlE6ZNYzsn7PbMpN/o= +github.com/aws/aws-sdk-go-v2/service/ssmincidents v1.31.1/go.mod h1:Qi+hKH0d2ekPABDWOkiVWkHnpZiWqhbiVhh/MasyRPo= +github.com/aws/aws-sdk-go-v2/service/ssmsap v1.14.1 h1:Fo7XgyYfeEqzCeAxUvefMJneqoL689TSclyB6SzcAWE= +github.com/aws/aws-sdk-go-v2/service/ssmsap v1.14.1/go.mod h1:Pvu3mUuN20em83awAVvDXGvlTlZ40nw283BOrWG6EYI= +github.com/aws/aws-sdk-go-v2/service/sso v1.21.1 h1:sd0BsnAvLH8gsp2e3cbaIr+9D7T1xugueQ7V/zUAsS4= +github.com/aws/aws-sdk-go-v2/service/sso v1.21.1/go.mod h1:lcQG/MmxydijbeTOp04hIuJwXGWPZGI3bwdFDGRTv14= +github.com/aws/aws-sdk-go-v2/service/ssoadmin v1.26.1 h1:IB7M3gfihqPbP4oXGenFluKta7S2OWMU5otcvclmA0w= +github.com/aws/aws-sdk-go-v2/service/ssoadmin v1.26.1/go.mod h1:N/A1nm/r9ruAvskqhfpLEymbJtLJQV1s4HR9Mn8JUnY= +github.com/aws/aws-sdk-go-v2/service/ssooidc v1.25.1 h1:1uEFNNskK/I1KoZ9Q8wJxMz5V9jyBlsiaNrM7vA3YUQ= +github.com/aws/aws-sdk-go-v2/service/ssooidc v1.25.1/go.mod h1:z0P8K+cBIsFXUr5rzo/psUeJ20XjPN0+Nn8067Nd+E4= +github.com/aws/aws-sdk-go-v2/service/sts v1.29.1 h1:myX5CxqXE0QMZNja6FA1/FSE3Vu1rVmeUmpJMMzeZg0= +github.com/aws/aws-sdk-go-v2/service/sts v1.29.1/go.mod h1:N2mQiucsO0VwK9CYuS4/c2n6Smeh1v47Rz3dWCPFLdE= +github.com/aws/aws-sdk-go-v2/service/swf v1.24.1 h1:5SKFgvzgDg00ML7tvbxgahJf/2hei+Y+CBFLhcKGdTE= +github.com/aws/aws-sdk-go-v2/service/swf v1.24.1/go.mod h1:pFCXXy2Q3UFWoAzZaZ1Hha+sV7+vSV7PMc1bfhn/frM= +github.com/aws/aws-sdk-go-v2/service/synthetics v1.25.1 h1:It6Hgms3aJvkldek7bAgatZX59x2ORMF1WRnoCvOBE4= +github.com/aws/aws-sdk-go-v2/service/synthetics v1.25.1/go.mod h1:YX/Ra26SfE8jG/qhzVUH67snS1e/ipvk+g0deQiKznU= +github.com/aws/aws-sdk-go-v2/service/timestreaminfluxdb v1.1.1 h1:DKIdl+mjQdvpT+UxQqdJzagpVi/byLd86+LqVa5lrfs= +github.com/aws/aws-sdk-go-v2/service/timestreaminfluxdb v1.1.1/go.mod h1:QBXvMbzNfHCVQ1pPiJ3VfIvYQ2Lakda/CDjs2eyFVus= +github.com/aws/aws-sdk-go-v2/service/timestreamwrite v1.26.1 h1:zmrL3QlVMeFFoSY7eeTxvyVkvXwbzH+4CkNk+IcCQ6c= +github.com/aws/aws-sdk-go-v2/service/timestreamwrite v1.26.1/go.mod h1:3c9FWFZFRg26pEXRBa9hJ7z7kFmfJZLOM3IvfO0QcDs= +github.com/aws/aws-sdk-go-v2/service/transcribe v1.38.1 h1:KzLj8Ndp0FW7CWo/r53IMhZ9EBo7xKvqYONf8B81hzQ= +github.com/aws/aws-sdk-go-v2/service/transcribe v1.38.1/go.mod h1:lTU0fIPy0DJqbtogTN+QlxFPJZGHrBW+GJuhVbLAsd0= +github.com/aws/aws-sdk-go-v2/service/transfer v1.49.1 h1:qtw+AYR7f9UggfBqz7gUntNOk+UWh3zdYdcSWDwKXL8= +github.com/aws/aws-sdk-go-v2/service/transfer v1.49.1/go.mod h1:GlVT65BhLN/ia7JsqqUHcLGamdRDLRJgG+OidHKnqbI= +github.com/aws/aws-sdk-go-v2/service/verifiedpermissions v1.16.1 h1:d+8Gw9BYBXV3NirQNHLOSS3jC5SAI2s83rmaPKExqiA= +github.com/aws/aws-sdk-go-v2/service/verifiedpermissions v1.16.1/go.mod h1:18uGZxP22gTNTF7s3Hytn5a38uGwKbKV/twAlF5RGrU= +github.com/aws/aws-sdk-go-v2/service/vpclattice v1.9.1 h1:wgOGWcWNKmEpKBwDWGZAz9svWXelZb3AXhPho+k3gHs= +github.com/aws/aws-sdk-go-v2/service/vpclattice v1.9.1/go.mod h1:rx5U6Ai/YvQkHmufCxvqqA1edhy4/B7TDtgj6IcRlPM= +github.com/aws/aws-sdk-go-v2/service/waf v1.22.1 h1:tThCZniinFeLPAoazNu7mim/ipCKZKIjT2UZrxUQcQU= +github.com/aws/aws-sdk-go-v2/service/waf v1.22.1/go.mod h1:4o8nB9c6IGaAzCdx9maPjeKpwAVzEy3f/6yQtbEoBTs= +github.com/aws/aws-sdk-go-v2/service/wafregional v1.22.1 h1:au7mSQqu+gxxQuG1P0YCgM0w0OP4Sk7rReHVWtua+dY= +github.com/aws/aws-sdk-go-v2/service/wafregional v1.22.1/go.mod h1:wI+EyfF4sTj905uEIaSiflGusqxkizZ8BEsfjgglmCE= +github.com/aws/aws-sdk-go-v2/service/wafv2 v1.50.1 h1:cp9UYbI4IOMNczk/1PeGkUWfZH5xbdPGBgVVJs4MvgE= +github.com/aws/aws-sdk-go-v2/service/wafv2 v1.50.1/go.mod h1:LKpRTYGj4TQXkDRIdcH6U/BdiVSh+IPmXExACuDK+nQ= +github.com/aws/aws-sdk-go-v2/service/wellarchitected v1.31.1 h1:CzuwkrjJx71qGieDJofWaXlGXo7rBqbaC+sbaiuGo/M= +github.com/aws/aws-sdk-go-v2/service/wellarchitected v1.31.1/go.mod h1:/nDTaO0dBchAbqwQrPFl81YyuxR8KLcJP67XzIIOrbg= +github.com/aws/aws-sdk-go-v2/service/workspaces v1.40.1 h1:B3Y0d+jwez16NFDUGmEhXhx96EuwH07ERfHyMCjwDEQ= +github.com/aws/aws-sdk-go-v2/service/workspaces v1.40.1/go.mod h1:u1LDClOljTCdY66v1x8jRqAzqr7f2tYSPbaOv+40PKM= +github.com/aws/aws-sdk-go-v2/service/workspacesweb v1.19.1 h1:1XvY5lu415RgtZjBRI/X3RtIg4rlmJCGVBa1g6UWNTs= +github.com/aws/aws-sdk-go-v2/service/workspacesweb v1.19.1/go.mod h1:9OLCaeqeG3cHCH1RoADMg3n0dQjxzbxwfxmKM+ALcl4= +github.com/aws/aws-sdk-go-v2/service/xray v1.26.1 h1:HYDnKTBHT0bDROhdSvrBOWO/hR3dk4zvQBxs1Hy8HsY= +github.com/aws/aws-sdk-go-v2/service/xray v1.26.1/go.mod h1:hzagwUFkLbUYjoG391sGdiWWfZacwrwp5GZQQLz1sxg= github.com/aws/smithy-go v1.20.2 h1:tbp628ireGtzcHDDmLT/6ADHidqnwgF57XOXZe6tp4Q= github.com/aws/smithy-go v1.20.2/go.mod h1:krry+ya/rV9RDcV/Q16kpu6ypI4K2czasz0NC3qS14E= github.com/beevik/etree v1.4.0 h1:oz1UedHRepuY3p4N5OjE0nK1WLCqtzHf25bxplKOHLs= diff --git a/internal/conns/awsclient_gen.go b/internal/conns/awsclient_gen.go index c5dd41c8819..14a2b6eec00 100644 --- a/internal/conns/awsclient_gen.go +++ b/internal/conns/awsclient_gen.go @@ -21,6 +21,7 @@ import ( applicationsignals_sdkv2 "github.com/aws/aws-sdk-go-v2/service/applicationsignals" apprunner_sdkv2 "github.com/aws/aws-sdk-go-v2/service/apprunner" appstream_sdkv2 "github.com/aws/aws-sdk-go-v2/service/appstream" + appsync_sdkv2 "github.com/aws/aws-sdk-go-v2/service/appsync" athena_sdkv2 "github.com/aws/aws-sdk-go-v2/service/athena" auditmanager_sdkv2 "github.com/aws/aws-sdk-go-v2/service/auditmanager" autoscaling_sdkv2 "github.com/aws/aws-sdk-go-v2/service/autoscaling" @@ -187,7 +188,6 @@ import ( workspacesweb_sdkv2 "github.com/aws/aws-sdk-go-v2/service/workspacesweb" xray_sdkv2 "github.com/aws/aws-sdk-go-v2/service/xray" appmesh_sdkv1 "github.com/aws/aws-sdk-go/service/appmesh" - appsync_sdkv1 "github.com/aws/aws-sdk-go/service/appsync" batch_sdkv1 "github.com/aws/aws-sdk-go/service/batch" chime_sdkv1 "github.com/aws/aws-sdk-go/service/chime" cognitoidentityprovider_sdkv1 "github.com/aws/aws-sdk-go/service/cognitoidentityprovider" @@ -320,8 +320,8 @@ func (c *AWSClient) AppStreamClient(ctx context.Context) *appstream_sdkv2.Client return errs.Must(client[*appstream_sdkv2.Client](ctx, c, names.AppStream, make(map[string]any))) } -func (c *AWSClient) AppSyncConn(ctx context.Context) *appsync_sdkv1.AppSync { - return errs.Must(conn[*appsync_sdkv1.AppSync](ctx, c, names.AppSync, make(map[string]any))) +func (c *AWSClient) AppSyncClient(ctx context.Context) *appsync_sdkv2.Client { + return errs.Must(client[*appsync_sdkv2.Client](ctx, c, names.AppSync, make(map[string]any))) } func (c *AWSClient) ApplicationInsightsClient(ctx context.Context) *applicationinsights_sdkv2.Client { diff --git a/internal/sdkv2/state.go b/internal/sdkv2/state.go new file mode 100644 index 00000000000..fe2bb36a2b0 --- /dev/null +++ b/internal/sdkv2/state.go @@ -0,0 +1,13 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + +package sdkv2 + +import ( + "strings" +) + +// ToUpperSchemaStateFunc converts a string value to uppercase before storing it in state. +func ToUpperSchemaStateFunc(v interface{}) string { + return strings.ToUpper(v.(string)) +} diff --git a/internal/sdkv2/state_test.go b/internal/sdkv2/state_test.go new file mode 100644 index 00000000000..dcb7d943271 --- /dev/null +++ b/internal/sdkv2/state_test.go @@ -0,0 +1,23 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + +package sdkv2 + +import ( + "testing" + + "github.com/google/go-cmp/cmp" +) + +func TestToUpperSchemaStateFunc(t *testing.T) { + t.Parallel() + + var input interface{} = "in-state" + want := "IN-STATE" + + got := ToUpperSchemaStateFunc(input) + + if diff := cmp.Diff(got, want); diff != "" { + t.Errorf("unexpected diff (+want, -got): %s", diff) + } +} diff --git a/internal/service/appsync/api_cache.go b/internal/service/appsync/api_cache.go index 188e409268a..dd8ad2f6f81 100644 --- a/internal/service/appsync/api_cache.go +++ b/internal/service/appsync/api_cache.go @@ -6,47 +6,42 @@ package appsync import ( "context" "log" + "time" - "github.com/aws/aws-sdk-go/aws" - "github.com/aws/aws-sdk-go/service/appsync" - "github.com/hashicorp/aws-sdk-go-base/v2/awsv1shim/v2/tfawserr" + "github.com/aws/aws-sdk-go-v2/aws" + "github.com/aws/aws-sdk-go-v2/service/appsync" + awstypes "github.com/aws/aws-sdk-go-v2/service/appsync/types" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" + "github.com/hashicorp/terraform-plugin-sdk/v2/helper/retry" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" "github.com/hashicorp/terraform-provider-aws/internal/conns" + "github.com/hashicorp/terraform-provider-aws/internal/enum" + "github.com/hashicorp/terraform-provider-aws/internal/errs" "github.com/hashicorp/terraform-provider-aws/internal/errs/sdkdiag" "github.com/hashicorp/terraform-provider-aws/internal/tfresource" "github.com/hashicorp/terraform-provider-aws/names" ) -// @SDKResource("aws_appsync_api_cache") -func ResourceAPICache() *schema.Resource { +// @SDKResource("aws_appsync_api_cache", name="API Cache") +func resourceAPICache() *schema.Resource { return &schema.Resource{ CreateWithoutTimeout: resourceAPICacheCreate, ReadWithoutTimeout: resourceAPICacheRead, UpdateWithoutTimeout: resourceAPICacheUpdate, DeleteWithoutTimeout: resourceAPICacheDelete, + Importer: &schema.ResourceImporter{ StateContext: schema.ImportStatePassthroughContext, }, Schema: map[string]*schema.Schema{ - "api_id": { - Type: schema.TypeString, - Required: true, - }, "api_caching_behavior": { - Type: schema.TypeString, - Required: true, - ValidateFunc: validation.StringInSlice(appsync.ApiCachingBehavior_Values(), false), + Type: schema.TypeString, + Required: true, + ValidateDiagFunc: enum.Validate[awstypes.ApiCachingBehavior](), }, - names.AttrType: { - Type: schema.TypeString, - Required: true, - ValidateFunc: validation.StringInSlice(appsync.ApiCacheType_Values(), false), - }, - "ttl": { - Type: schema.TypeInt, + "api_id": { + Type: schema.TypeString, Required: true, }, "at_rest_encryption_enabled": { @@ -59,40 +54,49 @@ func ResourceAPICache() *schema.Resource { Optional: true, ForceNew: true, }, + "ttl": { + Type: schema.TypeInt, + Required: true, + }, + names.AttrType: { + Type: schema.TypeString, + Required: true, + ValidateDiagFunc: enum.Validate[awstypes.ApiCacheType](), + }, }, } } func resourceAPICacheCreate(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics { var diags diag.Diagnostics - conn := meta.(*conns.AWSClient).AppSyncConn(ctx) + conn := meta.(*conns.AWSClient).AppSyncClient(ctx) apiID := d.Get("api_id").(string) - - params := &appsync.CreateApiCacheInput{ + input := &appsync.CreateApiCacheInput{ + ApiCachingBehavior: awstypes.ApiCachingBehavior(d.Get("api_caching_behavior").(string)), ApiId: aws.String(apiID), - Type: aws.String(d.Get(names.AttrType).(string)), - ApiCachingBehavior: aws.String(d.Get("api_caching_behavior").(string)), - Ttl: aws.Int64(int64(d.Get("ttl").(int))), + Ttl: int64(d.Get("ttl").(int)), + Type: awstypes.ApiCacheType(d.Get(names.AttrType).(string)), } if v, ok := d.GetOk("at_rest_encryption_enabled"); ok { - params.AtRestEncryptionEnabled = aws.Bool(v.(bool)) + input.AtRestEncryptionEnabled = v.(bool) } if v, ok := d.GetOk("transit_encryption_enabled"); ok { - params.TransitEncryptionEnabled = aws.Bool(v.(bool)) + input.TransitEncryptionEnabled = v.(bool) } - _, err := conn.CreateApiCacheWithContext(ctx, params) + _, err := conn.CreateApiCache(ctx, input) + if err != nil { - return sdkdiag.AppendErrorf(diags, "creating Appsync API Cache: %s", err) + return sdkdiag.AppendErrorf(diags, "creating Appsync API Cache (%s): %s", apiID, err) } d.SetId(apiID) - if err := waitAPICacheAvailable(ctx, conn, d.Id()); err != nil { - return sdkdiag.AppendErrorf(diags, "waiting for Appsync API Cache (%s) availability: %s", d.Id(), err) + if _, err := waitAPICacheAvailable(ctx, conn, d.Id()); err != nil { + return sdkdiag.AppendErrorf(diags, "waiting for Appsync API Cache (%s) create: %s", d.Id(), err) } return append(diags, resourceAPICacheRead(ctx, d, meta)...) @@ -100,9 +104,10 @@ func resourceAPICacheCreate(ctx context.Context, d *schema.ResourceData, meta in func resourceAPICacheRead(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics { var diags diag.Diagnostics - conn := meta.(*conns.AWSClient).AppSyncConn(ctx) + conn := meta.(*conns.AWSClient).AppSyncClient(ctx) + + cache, err := findAPICacheByID(ctx, conn, d.Id()) - cache, err := FindAPICacheByID(ctx, conn, d.Id()) if !d.IsNewResource() && tfresource.NotFound(err) { log.Printf("[WARN] AppSync API Cache (%s) not found, removing from state", d.Id()) d.SetId("") @@ -110,46 +115,47 @@ func resourceAPICacheRead(ctx context.Context, d *schema.ResourceData, meta inte } if err != nil { - return sdkdiag.AppendErrorf(diags, "getting Appsync API Cache %q: %s", d.Id(), err) + return sdkdiag.AppendErrorf(diags, "reading Appsync API Cache (%s): %s", d.Id(), err) } - d.Set("api_id", d.Id()) - d.Set(names.AttrType, cache.Type) d.Set("api_caching_behavior", cache.ApiCachingBehavior) - d.Set("ttl", cache.Ttl) + d.Set("api_id", d.Id()) d.Set("at_rest_encryption_enabled", cache.AtRestEncryptionEnabled) d.Set("transit_encryption_enabled", cache.TransitEncryptionEnabled) + d.Set("ttl", cache.Ttl) + d.Set(names.AttrType, cache.Type) return diags } func resourceAPICacheUpdate(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics { var diags diag.Diagnostics - conn := meta.(*conns.AWSClient).AppSyncConn(ctx) + conn := meta.(*conns.AWSClient).AppSyncClient(ctx) - params := &appsync.UpdateApiCacheInput{ + input := &appsync.UpdateApiCacheInput{ ApiId: aws.String(d.Id()), } - if d.HasChange(names.AttrType) { - params.Type = aws.String(d.Get(names.AttrType).(string)) - } - if d.HasChange("api_caching_behavior") { - params.ApiCachingBehavior = aws.String(d.Get("api_caching_behavior").(string)) + input.ApiCachingBehavior = awstypes.ApiCachingBehavior(d.Get("api_caching_behavior").(string)) } if d.HasChange("ttl") { - params.Ttl = aws.Int64(int64(d.Get("ttl").(int))) + input.Ttl = int64(d.Get("ttl").(int)) + } + + if d.HasChange(names.AttrType) { + input.Type = awstypes.ApiCacheType(d.Get(names.AttrType).(string)) } - _, err := conn.UpdateApiCacheWithContext(ctx, params) + _, err := conn.UpdateApiCache(ctx, input) + if err != nil { return sdkdiag.AppendErrorf(diags, "updating Appsync API Cache %q: %s", d.Id(), err) } - if err := waitAPICacheAvailable(ctx, conn, d.Id()); err != nil { - return sdkdiag.AppendErrorf(diags, "waiting for Appsync API Cache (%s) availability: %s", d.Id(), err) + if _, err := waitAPICacheAvailable(ctx, conn, d.Id()); err != nil { + return sdkdiag.AppendErrorf(diags, "waiting for Appsync API Cache (%s) update: %s", d.Id(), err) } return append(diags, resourceAPICacheRead(ctx, d, meta)...) @@ -157,22 +163,105 @@ func resourceAPICacheUpdate(ctx context.Context, d *schema.ResourceData, meta in func resourceAPICacheDelete(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics { var diags diag.Diagnostics - conn := meta.(*conns.AWSClient).AppSyncConn(ctx) + conn := meta.(*conns.AWSClient).AppSyncClient(ctx) - input := &appsync.DeleteApiCacheInput{ + log.Printf("[INFO] Deleting Appsync API Cache: %s", d.Id()) + _, err := conn.DeleteApiCache(ctx, &appsync.DeleteApiCacheInput{ ApiId: aws.String(d.Id()), + }) + + if errs.IsA[*awstypes.NotFoundException](err) { + return diags + } + + if err != nil { + return sdkdiag.AppendErrorf(diags, "deleting Appsync API Cache (%s): %s", d.Id(), err) + } + + if _, err := waitAPICacheDeleted(ctx, conn, d.Id()); err != nil { + return sdkdiag.AppendErrorf(diags, "waiting for Appsync API Cache (%s) delete: %s", d.Id(), err) + } + + return diags +} + +func findAPICacheByID(ctx context.Context, conn *appsync.Client, id string) (*awstypes.ApiCache, error) { + input := &appsync.GetApiCacheInput{ + ApiId: aws.String(id), } - _, err := conn.DeleteApiCacheWithContext(ctx, input) + + output, err := conn.GetApiCache(ctx, input) + + if errs.IsA[*awstypes.NotFoundException](err) { + return nil, &retry.NotFoundError{ + LastError: err, + LastRequest: input, + } + } + if err != nil { - if tfawserr.ErrCodeEquals(err, appsync.ErrCodeNotFoundException) { - return diags + return nil, err + } + + if output == nil || output.ApiCache == nil { + return nil, tfresource.NewEmptyResultError(input) + } + + return output.ApiCache, nil +} + +func statusAPICache(ctx context.Context, conn *appsync.Client, name string) retry.StateRefreshFunc { + return func() (interface{}, string, error) { + output, err := findAPICacheByID(ctx, conn, name) + + if tfresource.NotFound(err) { + return nil, "", nil + } + + if err != nil { + return nil, "", err } - return sdkdiag.AppendErrorf(diags, "deleting Appsync API Cache: %s", err) + + return output, string(output.Status), nil } +} - if err := waitAPICacheDeleted(ctx, conn, d.Id()); err != nil { - return sdkdiag.AppendErrorf(diags, "waiting for Appsync API Cache (%s) to be deleted: %s", d.Id(), err) +func waitAPICacheAvailable(ctx context.Context, conn *appsync.Client, id string) (*awstypes.ApiCache, error) { //nolint:unparam + const ( + timeout = 60 * time.Minute + ) + stateConf := &retry.StateChangeConf{ + Pending: enum.Slice(awstypes.ApiCacheStatusCreating, awstypes.ApiCacheStatusModifying), + Target: enum.Slice(awstypes.ApiCacheStatusAvailable), + Refresh: statusAPICache(ctx, conn, id), + Timeout: timeout, } - return diags + outputRaw, err := stateConf.WaitForStateContext(ctx) + + if output, ok := outputRaw.(*awstypes.ApiCache); ok { + return output, err + } + + return nil, err +} + +func waitAPICacheDeleted(ctx context.Context, conn *appsync.Client, id string) (*awstypes.ApiCache, error) { + const ( + timeout = 60 * time.Minute + ) + stateConf := &retry.StateChangeConf{ + Pending: enum.Slice(awstypes.ApiCacheStatusDeleting), + Target: []string{}, + Refresh: statusAPICache(ctx, conn, id), + Timeout: timeout, + } + + outputRaw, err := stateConf.WaitForStateContext(ctx) + + if output, ok := outputRaw.(*awstypes.ApiCache); ok { + return output, err + } + + return nil, err } diff --git a/internal/service/appsync/api_cache_test.go b/internal/service/appsync/api_cache_test.go index dd4be59fc4c..e3a7c4f8876 100644 --- a/internal/service/appsync/api_cache_test.go +++ b/internal/service/appsync/api_cache_test.go @@ -8,7 +8,7 @@ import ( "fmt" "testing" - "github.com/aws/aws-sdk-go/service/appsync" + awstypes "github.com/aws/aws-sdk-go-v2/service/appsync/types" sdkacctest "github.com/hashicorp/terraform-plugin-testing/helper/acctest" "github.com/hashicorp/terraform-plugin-testing/helper/resource" "github.com/hashicorp/terraform-plugin-testing/terraform" @@ -21,12 +21,12 @@ import ( func testAccAPICache_basic(t *testing.T) { ctx := acctest.Context(t) - var apiCache appsync.ApiCache + var apiCache awstypes.ApiCache resourceName := "aws_appsync_api_cache.test" rName := sdkacctest.RandomWithPrefix(acctest.ResourcePrefix) resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckAPICacheDestroy(ctx), @@ -51,12 +51,12 @@ func testAccAPICache_basic(t *testing.T) { func testAccAPICache_disappears(t *testing.T) { ctx := acctest.Context(t) - var apiCache appsync.ApiCache + var apiCache awstypes.ApiCache resourceName := "aws_appsync_api_cache.test" rName := sdkacctest.RandomWithPrefix(acctest.ResourcePrefix) resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckAPICacheDestroy(ctx), @@ -75,40 +75,46 @@ func testAccAPICache_disappears(t *testing.T) { func testAccCheckAPICacheDestroy(ctx context.Context) resource.TestCheckFunc { return func(s *terraform.State) error { - conn := acctest.Provider.Meta().(*conns.AWSClient).AppSyncConn(ctx) + conn := acctest.Provider.Meta().(*conns.AWSClient).AppSyncClient(ctx) + for _, rs := range s.RootModule().Resources { if rs.Type != "aws_appsync_api_cache" { continue } _, err := tfappsync.FindAPICacheByID(ctx, conn, rs.Primary.ID) - if err == nil { - if tfresource.NotFound(err) { - return nil - } + + if tfresource.NotFound(err) { + continue + } + + if err != nil { return err } - return nil + return fmt.Errorf("Appsync API Cache %s still exists", rs.Primary.ID) } + return nil } } -func testAccCheckAPICacheExists(ctx context.Context, resourceName string, apiCache *appsync.ApiCache) resource.TestCheckFunc { +func testAccCheckAPICacheExists(ctx context.Context, n string, v *awstypes.ApiCache) resource.TestCheckFunc { return func(s *terraform.State) error { - rs, ok := s.RootModule().Resources[resourceName] + rs, ok := s.RootModule().Resources[n] if !ok { - return fmt.Errorf("Appsync Api Cache Not found in state: %s", resourceName) + return fmt.Errorf("Not found: %s", n) } - conn := acctest.Provider.Meta().(*conns.AWSClient).AppSyncConn(ctx) - cache, err := tfappsync.FindAPICacheByID(ctx, conn, rs.Primary.ID) + conn := acctest.Provider.Meta().(*conns.AWSClient).AppSyncClient(ctx) + + output, err := tfappsync.FindAPICacheByID(ctx, conn, rs.Primary.ID) + if err != nil { return err } - *apiCache = *cache + *v = *output return nil } diff --git a/internal/service/appsync/api_key.go b/internal/service/appsync/api_key.go index fbdf814b82a..fbdca7da916 100644 --- a/internal/service/appsync/api_key.go +++ b/internal/service/appsync/api_key.go @@ -10,43 +10,52 @@ import ( "strings" "time" - "github.com/aws/aws-sdk-go/aws" - "github.com/aws/aws-sdk-go/service/appsync" - "github.com/hashicorp/aws-sdk-go-base/v2/awsv1shim/v2/tfawserr" + "github.com/aws/aws-sdk-go-v2/aws" + "github.com/aws/aws-sdk-go-v2/service/appsync" + awstypes "github.com/aws/aws-sdk-go-v2/service/appsync/types" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" + "github.com/hashicorp/terraform-plugin-sdk/v2/helper/retry" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" "github.com/hashicorp/terraform-provider-aws/internal/conns" + "github.com/hashicorp/terraform-provider-aws/internal/errs" "github.com/hashicorp/terraform-provider-aws/internal/errs/sdkdiag" + tfslices "github.com/hashicorp/terraform-provider-aws/internal/slices" + "github.com/hashicorp/terraform-provider-aws/internal/tfresource" "github.com/hashicorp/terraform-provider-aws/names" ) -// @SDKResource("aws_appsync_api_key") -func ResourceAPIKey() *schema.Resource { +// @SDKResource("aws_appsync_api_key", name="API Key") +func resourceAPIKey() *schema.Resource { return &schema.Resource{ CreateWithoutTimeout: resourceAPIKeyCreate, ReadWithoutTimeout: resourceAPIKeyRead, UpdateWithoutTimeout: resourceAPIKeyUpdate, DeleteWithoutTimeout: resourceAPIKeyDelete, + Importer: &schema.ResourceImporter{ StateContext: schema.ImportStatePassthroughContext, }, Schema: map[string]*schema.Schema{ + "api_id": { + Type: schema.TypeString, + Required: true, + }, + "api_key_id": { + Type: schema.TypeString, + Computed: true, + }, names.AttrDescription: { Type: schema.TypeString, Optional: true, Default: "Managed by Terraform", }, - "api_id": { - Type: schema.TypeString, - Required: true, - }, "expires": { Type: schema.TypeString, Optional: true, DiffSuppressFunc: func(k, old, new string, d *schema.ResourceData) bool { - // Ignore unsetting value + // Ignore unsetting value. if old != "" && new == "" { return true } @@ -65,75 +74,85 @@ func ResourceAPIKey() *schema.Resource { func resourceAPIKeyCreate(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics { var diags diag.Diagnostics - conn := meta.(*conns.AWSClient).AppSyncConn(ctx) + conn := meta.(*conns.AWSClient).AppSyncClient(ctx) apiID := d.Get("api_id").(string) - - params := &appsync.CreateApiKeyInput{ + input := &appsync.CreateApiKeyInput{ ApiId: aws.String(apiID), Description: aws.String(d.Get(names.AttrDescription).(string)), } + if v, ok := d.GetOk("expires"); ok { t, _ := time.Parse(time.RFC3339, v.(string)) - params.Expires = aws.Int64(t.Unix()) + input.Expires = t.Unix() } - resp, err := conn.CreateApiKeyWithContext(ctx, params) + + output, err := conn.CreateApiKey(ctx, input) + if err != nil { return sdkdiag.AppendErrorf(diags, "creating Appsync API Key: %s", err) } - d.SetId(fmt.Sprintf("%s:%s", apiID, aws.StringValue(resp.ApiKey.Id))) + d.SetId(apiKeyCreateResourceID(apiID, aws.ToString(output.ApiKey.Id))) + return append(diags, resourceAPIKeyRead(ctx, d, meta)...) } func resourceAPIKeyRead(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics { var diags diag.Diagnostics - conn := meta.(*conns.AWSClient).AppSyncConn(ctx) + conn := meta.(*conns.AWSClient).AppSyncClient(ctx) - apiID, keyID, err := DecodeAPIKeyID(d.Id()) + apiID, keyID, err := apiKeyParseResourceID(d.Id()) if err != nil { - return sdkdiag.AppendErrorf(diags, "reading Appsync API Key (%s): %s", d.Id(), err) + return sdkdiag.AppendFromErr(diags, err) } - key, err := GetAPIKey(ctx, apiID, keyID, conn) - if err != nil { - return sdkdiag.AppendErrorf(diags, "reading Appsync API Key (%s): %s", d.Id(), err) - } - if key == nil && !d.IsNewResource() { + key, err := findAPIKeyByTwoPartKey(ctx, conn, apiID, keyID) + + if !d.IsNewResource() && tfresource.NotFound(err) { log.Printf("[WARN] AppSync API Key (%s) not found, removing from state", d.Id()) d.SetId("") return diags } + if err != nil { + return sdkdiag.AppendErrorf(diags, "reading Appsync API Key (%s): %s", d.Id(), err) + } + d.Set("api_id", apiID) - d.Set(names.AttrKey, key.Id) + d.Set("api_key_id", keyID) d.Set(names.AttrDescription, key.Description) - d.Set("expires", time.Unix(aws.Int64Value(key.Expires), 0).UTC().Format(time.RFC3339)) + d.Set("expires", time.Unix(key.Expires, 0).UTC().Format(time.RFC3339)) + d.Set(names.AttrKey, key.Id) + return diags } func resourceAPIKeyUpdate(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics { var diags diag.Diagnostics - conn := meta.(*conns.AWSClient).AppSyncConn(ctx) + conn := meta.(*conns.AWSClient).AppSyncClient(ctx) - apiID, keyID, err := DecodeAPIKeyID(d.Id()) + apiID, keyID, err := apiKeyParseResourceID(d.Id()) if err != nil { - return sdkdiag.AppendErrorf(diags, "updating Appsync API Key (%s): %s", d.Id(), err) + return sdkdiag.AppendFromErr(diags, err) } - params := &appsync.UpdateApiKeyInput{ + input := &appsync.UpdateApiKeyInput{ ApiId: aws.String(apiID), Id: aws.String(keyID), } + if d.HasChange(names.AttrDescription) { - params.Description = aws.String(d.Get(names.AttrDescription).(string)) + input.Description = aws.String(d.Get(names.AttrDescription).(string)) } + if d.HasChange("expires") { t, _ := time.Parse(time.RFC3339, d.Get("expires").(string)) - params.Expires = aws.Int64(t.Unix()) + input.Expires = t.Unix() } - _, err = conn.UpdateApiKeyWithContext(ctx, params) + _, err = conn.UpdateApiKey(ctx, input) + if err != nil { return sdkdiag.AppendErrorf(diags, "updating Appsync API Key (%s): %s", d.Id(), err) } @@ -143,54 +162,96 @@ func resourceAPIKeyUpdate(ctx context.Context, d *schema.ResourceData, meta inte func resourceAPIKeyDelete(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics { var diags diag.Diagnostics - conn := meta.(*conns.AWSClient).AppSyncConn(ctx) + conn := meta.(*conns.AWSClient).AppSyncClient(ctx) - apiID, keyID, err := DecodeAPIKeyID(d.Id()) + apiID, keyID, err := apiKeyParseResourceID(d.Id()) if err != nil { - return sdkdiag.AppendErrorf(diags, "deleting Appsync API Key (%s): %s", d.Id(), err) + return sdkdiag.AppendFromErr(diags, err) } - input := &appsync.DeleteApiKeyInput{ + log.Printf("[INFO] Deleting Appsync API Key: %s", d.Id()) + _, err = conn.DeleteApiKey(ctx, &appsync.DeleteApiKeyInput{ ApiId: aws.String(apiID), Id: aws.String(keyID), + }) + + if errs.IsA[*awstypes.NotFoundException](err) { + return diags } - _, err = conn.DeleteApiKeyWithContext(ctx, input) + if err != nil { - if tfawserr.ErrCodeEquals(err, appsync.ErrCodeNotFoundException) { - return diags - } return sdkdiag.AppendErrorf(diags, "deleting Appsync API Key (%s): %s", d.Id(), err) } return diags } -func DecodeAPIKeyID(id string) (string, string, error) { - parts := strings.Split(id, ":") - if len(parts) != 2 { - return "", "", fmt.Errorf("Unexpected format of ID (%q), expected API-ID:API-KEY-ID", id) +const apiKeyResourceIDSeparator = ":" + +func apiKeyCreateResourceID(apiID, keyID string) string { + parts := []string{apiID, keyID} + id := strings.Join(parts, apiKeyResourceIDSeparator) + + return id +} + +func apiKeyParseResourceID(id string) (string, string, error) { + parts := strings.Split(id, apiKeyResourceIDSeparator) + + if len(parts) != 2 || parts[0] == "" || parts[1] == "" { + return "", "", fmt.Errorf("unexpected format for ID (%[1]s), expected API-ID%[2]sAPI-KEY-ID", id, apiKeyResourceIDSeparator) } + return parts[0], parts[1], nil } -func GetAPIKey(ctx context.Context, apiID, keyID string, conn *appsync.AppSync) (*appsync.ApiKey, error) { - input := &appsync.ListApiKeysInput{ - ApiId: aws.String(apiID), +func findAPIKey(ctx context.Context, conn *appsync.Client, input *appsync.ListApiKeysInput, filter tfslices.Predicate[*awstypes.ApiKey]) (*awstypes.ApiKey, error) { + output, err := findAPIKeys(ctx, conn, input, filter) + + if err != nil { + return nil, err } - for { - resp, err := conn.ListApiKeysWithContext(ctx, input) - if err != nil { - return nil, err + + return tfresource.AssertSingleValueResult(output) +} + +func findAPIKeys(ctx context.Context, conn *appsync.Client, input *appsync.ListApiKeysInput, filter tfslices.Predicate[*awstypes.ApiKey]) ([]awstypes.ApiKey, error) { + var output []awstypes.ApiKey + + err := listAPIKeysPages(ctx, conn, input, func(page *appsync.ListApiKeysOutput, lastPage bool) bool { + if page == nil { + return !lastPage } - for _, apiKey := range resp.ApiKeys { - if aws.StringValue(apiKey.Id) == keyID { - return apiKey, nil + + for _, v := range page.ApiKeys { + if filter(&v) { + output = append(output, v) } } - if resp.NextToken == nil { - break + + return !lastPage + }) + + if errs.IsA[*awstypes.NotFoundException](err) { + return nil, &retry.NotFoundError{ + LastError: err, + LastRequest: input, } - input.NextToken = resp.NextToken } - return nil, nil + + if err != nil { + return nil, err + } + + return output, nil +} + +func findAPIKeyByTwoPartKey(ctx context.Context, conn *appsync.Client, apiID, keyID string) (*awstypes.ApiKey, error) { + input := &appsync.ListApiKeysInput{ + ApiId: aws.String(apiID), + } + + return findAPIKey(ctx, conn, input, func(v *awstypes.ApiKey) bool { + return aws.ToString(v.Id) == keyID + }) } diff --git a/internal/service/appsync/api_key_test.go b/internal/service/appsync/api_key_test.go index e552094a157..b7331674857 100644 --- a/internal/service/appsync/api_key_test.go +++ b/internal/service/appsync/api_key_test.go @@ -10,27 +10,26 @@ import ( "time" "github.com/YakDriver/regexache" - "github.com/aws/aws-sdk-go/aws" - "github.com/aws/aws-sdk-go/service/appsync" - "github.com/hashicorp/aws-sdk-go-base/v2/awsv1shim/v2/tfawserr" + awstypes "github.com/aws/aws-sdk-go-v2/service/appsync/types" sdkacctest "github.com/hashicorp/terraform-plugin-testing/helper/acctest" "github.com/hashicorp/terraform-plugin-testing/helper/resource" "github.com/hashicorp/terraform-plugin-testing/terraform" "github.com/hashicorp/terraform-provider-aws/internal/acctest" "github.com/hashicorp/terraform-provider-aws/internal/conns" tfappsync "github.com/hashicorp/terraform-provider-aws/internal/service/appsync" + "github.com/hashicorp/terraform-provider-aws/internal/tfresource" "github.com/hashicorp/terraform-provider-aws/names" ) func testAccAPIKey_basic(t *testing.T) { ctx := acctest.Context(t) - var apiKey appsync.ApiKey + var apiKey awstypes.ApiKey dateAfterSevenDays := time.Now().UTC().Add(time.Hour * 24 * time.Duration(7)).Truncate(time.Hour) resourceName := "aws_appsync_api_key.test" rName := sdkacctest.RandomWithPrefix(acctest.ResourcePrefix) resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckAPIKeyDestroy(ctx), @@ -55,12 +54,12 @@ func testAccAPIKey_basic(t *testing.T) { func testAccAPIKey_description(t *testing.T) { ctx := acctest.Context(t) - var apiKey appsync.ApiKey + var apiKey awstypes.ApiKey resourceName := "aws_appsync_api_key.test" rName := sdkacctest.RandomWithPrefix(acctest.ResourcePrefix) resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckAPIKeyDestroy(ctx), @@ -90,14 +89,14 @@ func testAccAPIKey_description(t *testing.T) { func testAccAPIKey_expires(t *testing.T) { ctx := acctest.Context(t) - var apiKey appsync.ApiKey + var apiKey awstypes.ApiKey dateAfterTenDays := time.Now().UTC().Add(time.Hour * 24 * time.Duration(10)).Truncate(time.Hour) dateAfterTwentyDays := time.Now().UTC().Add(time.Hour * 24 * time.Duration(20)).Truncate(time.Hour) resourceName := "aws_appsync_api_key.test" rName := sdkacctest.RandomWithPrefix(acctest.ResourcePrefix) resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckAPIKeyDestroy(ctx), @@ -127,66 +126,54 @@ func testAccAPIKey_expires(t *testing.T) { func testAccCheckAPIKeyDestroy(ctx context.Context) resource.TestCheckFunc { return func(s *terraform.State) error { - conn := acctest.Provider.Meta().(*conns.AWSClient).AppSyncConn(ctx) + conn := acctest.Provider.Meta().(*conns.AWSClient).AppSyncClient(ctx) + for _, rs := range s.RootModule().Resources { if rs.Type != "aws_appsync_api_key" { continue } - apiID, keyID, err := tfappsync.DecodeAPIKeyID(rs.Primary.ID) - if err != nil { - return err - } + _, err := tfappsync.FindAPIKeyByTwoPartKey(ctx, conn, rs.Primary.Attributes["api_id"], rs.Primary.Attributes["api_key_id"]) - apiKey, err := tfappsync.GetAPIKey(ctx, apiID, keyID, conn) - if err == nil { - if tfawserr.ErrCodeEquals(err, appsync.ErrCodeNotFoundException) { - return nil - } - return err + if tfresource.NotFound(err) { + continue } - if apiKey != nil && aws.StringValue(apiKey.Id) == keyID { - return fmt.Errorf("Appsync API Key ID %q still exists", rs.Primary.ID) + if err != nil { + return err } - return nil + return fmt.Errorf("Appsync API Key %s still exists", rs.Primary.ID) } + return nil } } -func testAccCheckAPIKeyExists(ctx context.Context, resourceName string, apiKey *appsync.ApiKey) resource.TestCheckFunc { +func testAccCheckAPIKeyExists(ctx context.Context, n string, v *awstypes.ApiKey) resource.TestCheckFunc { return func(s *terraform.State) error { - rs, ok := s.RootModule().Resources[resourceName] + rs, ok := s.RootModule().Resources[n] if !ok { - return fmt.Errorf("Appsync API Key Not found in state: %s", resourceName) + return fmt.Errorf("Not found: %s", n) } - apiID, keyID, err := tfappsync.DecodeAPIKeyID(rs.Primary.ID) - if err != nil { - return err - } + conn := acctest.Provider.Meta().(*conns.AWSClient).AppSyncClient(ctx) + + output, err := tfappsync.FindAPIKeyByTwoPartKey(ctx, conn, rs.Primary.Attributes["api_id"], rs.Primary.Attributes["api_key_id"]) - conn := acctest.Provider.Meta().(*conns.AWSClient).AppSyncConn(ctx) - key, err := tfappsync.GetAPIKey(ctx, apiID, keyID, conn) if err != nil { return err } - if key == nil || key.Id == nil { - return fmt.Errorf("Appsync API Key %q not found", rs.Primary.ID) - } - - *apiKey = *key + *v = *output return nil } } -func testAccCheckAPIKeyExpiresDate(apiKey *appsync.ApiKey, expectedTime time.Time) resource.TestCheckFunc { +func testAccCheckAPIKeyExpiresDate(apiKey *awstypes.ApiKey, expectedTime time.Time) resource.TestCheckFunc { return func(s *terraform.State) error { - apiKeyExpiresTime := time.Unix(aws.Int64Value(apiKey.Expires), 0) + apiKeyExpiresTime := time.Unix(apiKey.Expires, 0) if !apiKeyExpiresTime.Equal(expectedTime) { return fmt.Errorf("Appsync API Key expires difference: got %s and expected %s", apiKeyExpiresTime.Format(time.RFC3339), expectedTime.Format(time.RFC3339)) } diff --git a/internal/service/appsync/appsync_test.go b/internal/service/appsync/appsync_test.go index 16622c4122e..a25ca0d604e 100644 --- a/internal/service/appsync/appsync_test.go +++ b/internal/service/appsync/appsync_test.go @@ -4,7 +4,6 @@ package appsync_test import ( - "os" "testing" "github.com/hashicorp/terraform-provider-aws/internal/acctest" @@ -113,15 +112,3 @@ func TestAccAppSync_serial(t *testing.T) { acctest.RunSerialTests2Levels(t, testCases, 0) } - -func getCertDomain(t *testing.T) string { - value := os.Getenv("AWS_APPSYNC_DOMAIN_NAME_CERTIFICATE_DOMAIN") - if value == "" { - t.Skip( - "Environment variable AWS_APPSYNC_DOMAIN_NAME_CERTIFICATE_DOMAIN is not set. " + - "This environment variable must be set to any non-empty value " + - "to enable the test.") - } - - return value -} diff --git a/internal/service/appsync/datasource.go b/internal/service/appsync/datasource.go index 5d84ef17a3a..b520af2976f 100644 --- a/internal/service/appsync/datasource.go +++ b/internal/service/appsync/datasource.go @@ -10,22 +10,25 @@ import ( "strings" "github.com/YakDriver/regexache" - "github.com/aws/aws-sdk-go/aws" - "github.com/aws/aws-sdk-go/service/appsync" - "github.com/hashicorp/aws-sdk-go-base/v2/awsv1shim/v2/tfawserr" + "github.com/aws/aws-sdk-go-v2/aws" + "github.com/aws/aws-sdk-go-v2/service/appsync" + awstypes "github.com/aws/aws-sdk-go-v2/service/appsync/types" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/retry" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" "github.com/hashicorp/terraform-provider-aws/internal/conns" + "github.com/hashicorp/terraform-provider-aws/internal/enum" + "github.com/hashicorp/terraform-provider-aws/internal/errs" "github.com/hashicorp/terraform-provider-aws/internal/errs/sdkdiag" + "github.com/hashicorp/terraform-provider-aws/internal/sdkv2" "github.com/hashicorp/terraform-provider-aws/internal/tfresource" "github.com/hashicorp/terraform-provider-aws/internal/verify" "github.com/hashicorp/terraform-provider-aws/names" ) -// @SDKResource("aws_appsync_datasource") -func ResourceDataSource() *schema.Resource { +// @SDKResource("aws_appsync_datasource", name="Data Source") +func resourceDataSource() *schema.Resource { return &schema.Resource{ CreateWithoutTimeout: resourceDataSourceCreate, ReadWithoutTimeout: resourceDataSourceRead, @@ -144,10 +147,10 @@ func ResourceDataSource() *schema.Resource { Elem: &schema.Resource{ Schema: map[string]*schema.Schema{ "authorization_type": { - Type: schema.TypeString, - Optional: true, - Default: appsync.AuthorizationTypeAwsIam, - ValidateFunc: validation.StringInSlice(appsync.AuthorizationType_Values(), true), + Type: schema.TypeString, + Optional: true, + Default: awstypes.AuthorizationTypeAwsIam, + ValidateDiagFunc: enum.Validate[awstypes.AuthorizationType](), }, "aws_iam_config": { Type: schema.TypeList, @@ -254,10 +257,10 @@ func ResourceDataSource() *schema.Resource { }, }, names.AttrSourceType: { - Type: schema.TypeString, - Optional: true, - Default: appsync.RelationalDatabaseSourceTypeRdsHttpEndpoint, - ValidateFunc: validation.StringInSlice(appsync.RelationalDatabaseSourceType_Values(), true), + Type: schema.TypeString, + Optional: true, + Default: awstypes.RelationalDatabaseSourceTypeRdsHttpEndpoint, + ValidateDiagFunc: enum.Validate[awstypes.RelationalDatabaseSourceType](), }, }, }, @@ -269,12 +272,10 @@ func ResourceDataSource() *schema.Resource { ValidateFunc: verify.ValidARN, }, names.AttrType: { - Type: schema.TypeString, - Required: true, - ValidateFunc: validation.StringInSlice(appsync.DataSourceType_Values(), true), - StateFunc: func(v interface{}) string { - return strings.ToUpper(v.(string)) - }, + Type: schema.TypeString, + Required: true, + ValidateDiagFunc: enum.Validate[awstypes.DataSourceType](), + StateFunc: sdkv2.ToUpperSchemaStateFunc, }, }, } @@ -282,14 +283,16 @@ func ResourceDataSource() *schema.Resource { func resourceDataSourceCreate(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics { var diags diag.Diagnostics - conn := meta.(*conns.AWSClient).AppSyncConn(ctx) + conn := meta.(*conns.AWSClient).AppSyncClient(ctx) region := meta.(*conns.AWSClient).Region + apiID := d.Get("api_id").(string) name := d.Get(names.AttrName).(string) + id := dataSourceCreateResourceID(apiID, name) input := &appsync.CreateDataSourceInput{ - ApiId: aws.String(d.Get("api_id").(string)), + ApiId: aws.String(apiID), Name: aws.String(name), - Type: aws.String(d.Get(names.AttrType).(string)), + Type: awstypes.DataSourceType(d.Get(names.AttrType).(string)), } if v, ok := d.GetOk(names.AttrDescription); ok { @@ -328,28 +331,27 @@ func resourceDataSourceCreate(ctx context.Context, d *schema.ResourceData, meta input.ServiceRoleArn = aws.String(v.(string)) } - _, err := conn.CreateDataSourceWithContext(ctx, input) + _, err := conn.CreateDataSource(ctx, input) if err != nil { - return sdkdiag.AppendErrorf(diags, "creating Appsync Data Source (%s): %s", name, err) + return sdkdiag.AppendErrorf(diags, "creating Appsync Data Source (%s): %s", id, err) } - d.SetId(d.Get("api_id").(string) + "-" + d.Get(names.AttrName).(string)) + d.SetId(id) return append(diags, resourceDataSourceRead(ctx, d, meta)...) } func resourceDataSourceRead(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics { var diags diag.Diagnostics - conn := meta.(*conns.AWSClient).AppSyncConn(ctx) - - apiID, name, err := DecodeID(d.Id()) + conn := meta.(*conns.AWSClient).AppSyncClient(ctx) + apiID, name, err := dataSourceParseResourceID(d.Id()) if err != nil { return sdkdiag.AppendFromErr(diags, err) } - dataSource, err := FindDataSourceByTwoPartKey(ctx, conn, apiID, name) + dataSource, err := findDataSourceByTwoPartKey(ctx, conn, apiID, name) if tfresource.NotFound(err) && !d.IsNewResource() { log.Printf("[WARN] AppSync Datasource %q not found, removing from state", d.Id()) @@ -394,11 +396,10 @@ func resourceDataSourceRead(ctx context.Context, d *schema.ResourceData, meta in func resourceDataSourceUpdate(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics { var diags diag.Diagnostics - conn := meta.(*conns.AWSClient).AppSyncConn(ctx) + conn := meta.(*conns.AWSClient).AppSyncClient(ctx) region := meta.(*conns.AWSClient).Region - apiID, name, err := DecodeID(d.Id()) - + apiID, name, err := dataSourceParseResourceID(d.Id()) if err != nil { return sdkdiag.AppendFromErr(diags, err) } @@ -406,7 +407,7 @@ func resourceDataSourceUpdate(ctx context.Context, d *schema.ResourceData, meta input := &appsync.UpdateDataSourceInput{ ApiId: aws.String(apiID), Name: aws.String(name), - Type: aws.String(d.Get(names.AttrType).(string)), + Type: awstypes.DataSourceType(d.Get(names.AttrType).(string)), } if v, ok := d.GetOk(names.AttrDescription); ok { @@ -441,7 +442,7 @@ func resourceDataSourceUpdate(ctx context.Context, d *schema.ResourceData, meta input.ServiceRoleArn = aws.String(v.(string)) } - _, err = conn.UpdateDataSourceWithContext(ctx, input) + _, err = conn.UpdateDataSource(ctx, input) if err != nil { return sdkdiag.AppendErrorf(diags, "updating Appsync Data Source (%s): %s", d.Id(), err) @@ -452,22 +453,20 @@ func resourceDataSourceUpdate(ctx context.Context, d *schema.ResourceData, meta func resourceDataSourceDelete(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics { var diags diag.Diagnostics - conn := meta.(*conns.AWSClient).AppSyncConn(ctx) - - apiID, name, err := DecodeID(d.Id()) + conn := meta.(*conns.AWSClient).AppSyncClient(ctx) + apiID, name, err := dataSourceParseResourceID(d.Id()) if err != nil { return sdkdiag.AppendFromErr(diags, err) } - input := &appsync.DeleteDataSourceInput{ + log.Printf("[INFO] Deleting Appsync Data Source: %s", d.Id()) + _, err = conn.DeleteDataSource(ctx, &appsync.DeleteDataSourceInput{ ApiId: aws.String(apiID), Name: aws.String(name), - } - - _, err = conn.DeleteDataSourceWithContext(ctx, input) + }) - if tfawserr.ErrCodeEquals(err, appsync.ErrCodeNotFoundException) { + if errs.IsA[*awstypes.NotFoundException](err) { return diags } @@ -478,15 +477,34 @@ func resourceDataSourceDelete(ctx context.Context, d *schema.ResourceData, meta return diags } -func FindDataSourceByTwoPartKey(ctx context.Context, conn *appsync.AppSync, apiID, name string) (*appsync.DataSource, error) { +const dataSourceResourceIDSeparator = "-" + +func dataSourceCreateResourceID(apiID, name string) string { + parts := []string{apiID, name} + id := strings.Join(parts, dataSourceResourceIDSeparator) + + return id +} + +func dataSourceParseResourceID(id string) (string, string, error) { + parts := strings.SplitN(id, dataSourceResourceIDSeparator, 2) + + if len(parts) != 2 || parts[0] == "" || parts[1] == "" { + return "", "", fmt.Errorf("unexpected format for ID (%[1]s), expected API-ID%[2]sDATA-SOURCE-NAME", id, dataSourceResourceIDSeparator) + } + + return parts[0], parts[1], nil +} + +func findDataSourceByTwoPartKey(ctx context.Context, conn *appsync.Client, apiID, name string) (*awstypes.DataSource, error) { input := &appsync.GetDataSourceInput{ ApiId: aws.String(apiID), Name: aws.String(name), } - output, err := conn.GetDataSourceWithContext(ctx, input) + output, err := conn.GetDataSource(ctx, input) - if tfawserr.ErrCodeEquals(err, appsync.ErrCodeNotFoundException) { + if errs.IsA[*awstypes.NotFoundException](err) { return nil, &retry.NotFoundError{ LastError: err, LastRequest: input, @@ -504,421 +522,391 @@ func FindDataSourceByTwoPartKey(ctx context.Context, conn *appsync.AppSync, apiI return output.DataSource, nil } -func DecodeID(id string) (string, string, error) { - idParts := strings.SplitN(id, "-", 2) - if len(idParts) != 2 { - return "", "", fmt.Errorf("expected ID in format ApiID-DataSourceName, received: %s", id) - } - return idParts[0], idParts[1], nil -} - -func expandDynamoDBDataSourceConfig(l []interface{}, currentRegion string) *appsync.DynamodbDataSourceConfig { - if len(l) == 0 || l[0] == nil { +func expandDynamoDBDataSourceConfig(tfList []interface{}, currentRegion string) *awstypes.DynamodbDataSourceConfig { + if len(tfList) == 0 || tfList[0] == nil { return nil } - configured := l[0].(map[string]interface{}) - - result := &appsync.DynamodbDataSourceConfig{ + tfMap := tfList[0].(map[string]interface{}) + apiObject := &awstypes.DynamodbDataSourceConfig{ AwsRegion: aws.String(currentRegion), - TableName: aws.String(configured[names.AttrTableName].(string)), + TableName: aws.String(tfMap[names.AttrTableName].(string)), } - if v, ok := configured[names.AttrRegion]; ok && v.(string) != "" { - result.AwsRegion = aws.String(v.(string)) + if v, ok := tfMap["delta_sync_config"].([]interface{}); ok && len(v) > 0 { + apiObject.DeltaSyncConfig = expandDeltaSyncConfig(v) } - if v, ok := configured["use_caller_credentials"]; ok { - result.UseCallerCredentials = aws.Bool(v.(bool)) + if v, ok := tfMap[names.AttrRegion]; ok && v.(string) != "" { + apiObject.AwsRegion = aws.String(v.(string)) } - if v, ok := configured["versioned"]; ok { - result.Versioned = aws.Bool(v.(bool)) + if v, ok := tfMap["use_caller_credentials"]; ok { + apiObject.UseCallerCredentials = v.(bool) } - if v, ok := configured["delta_sync_config"].([]interface{}); ok && len(v) > 0 { - result.DeltaSyncConfig = expandDynamoDBDataSourceDeltaSyncConfig(v) + if v, ok := tfMap["versioned"]; ok { + apiObject.Versioned = v.(bool) } - return result + return apiObject } -func expandDynamoDBDataSourceDeltaSyncConfig(l []interface{}) *appsync.DeltaSyncConfig { - if len(l) == 0 || l[0] == nil { +func expandDeltaSyncConfig(tfList []interface{}) *awstypes.DeltaSyncConfig { + if len(tfList) == 0 || tfList[0] == nil { return nil } - configured := l[0].(map[string]interface{}) + tfMap := tfList[0].(map[string]interface{}) + apiObject := &awstypes.DeltaSyncConfig{} - result := &appsync.DeltaSyncConfig{} - - if v, ok := configured["base_table_ttl"].(int); ok { - result.BaseTableTTL = aws.Int64(int64(v)) + if v, ok := tfMap["base_table_ttl"].(int); ok { + apiObject.BaseTableTTL = int64(v) } - if v, ok := configured["delta_sync_table_ttl"].(int); ok { - result.DeltaSyncTableTTL = aws.Int64(int64(v)) + if v, ok := tfMap["delta_sync_table_ttl"].(int); ok { + apiObject.DeltaSyncTableTTL = int64(v) } - if v, ok := configured["delta_sync_table_name"].(string); ok { - result.DeltaSyncTableName = aws.String(v) + if v, ok := tfMap["delta_sync_table_name"].(string); ok { + apiObject.DeltaSyncTableName = aws.String(v) } - return result + return apiObject } -func flattenDynamoDBDataSourceConfig(config *appsync.DynamodbDataSourceConfig) []map[string]interface{} { - if config == nil { +func flattenDynamoDBDataSourceConfig(apiObject *awstypes.DynamodbDataSourceConfig) []interface{} { + if apiObject == nil { return nil } - result := map[string]interface{}{ - names.AttrRegion: aws.StringValue(config.AwsRegion), - names.AttrTableName: aws.StringValue(config.TableName), - } - - if config.UseCallerCredentials != nil { - result["use_caller_credentials"] = aws.BoolValue(config.UseCallerCredentials) - } - - if config.Versioned != nil { - result["versioned"] = aws.BoolValue(config.Versioned) + tfMap := map[string]interface{}{ + names.AttrRegion: aws.ToString(apiObject.AwsRegion), + names.AttrTableName: aws.ToString(apiObject.TableName), + "use_caller_credentials": apiObject.UseCallerCredentials, + "versioned": apiObject.Versioned, } - if config.DeltaSyncConfig != nil { - result["delta_sync_config"] = flattenDynamoDBDataSourceDeltaSyncConfig(config.DeltaSyncConfig) + if apiObject.DeltaSyncConfig != nil { + tfMap["delta_sync_config"] = flattenDeltaSyncConfig(apiObject.DeltaSyncConfig) } - return []map[string]interface{}{result} + return []interface{}{tfMap} } -func flattenDynamoDBDataSourceDeltaSyncConfig(config *appsync.DeltaSyncConfig) []map[string]interface{} { - if config == nil { +func flattenDeltaSyncConfig(apiObject *awstypes.DeltaSyncConfig) []interface{} { + if apiObject == nil { return nil } - result := map[string]interface{}{} - - if config.DeltaSyncTableName != nil { - result["delta_sync_table_name"] = aws.StringValue(config.DeltaSyncTableName) - } - - if config.BaseTableTTL != nil { - result["base_table_ttl"] = aws.Int64Value(config.BaseTableTTL) + tfMap := map[string]interface{}{ + "base_table_ttl": apiObject.BaseTableTTL, + "delta_sync_table_ttl": apiObject.DeltaSyncTableTTL, } - if config.DeltaSyncTableTTL != nil { - result["delta_sync_table_ttl"] = aws.Int64Value(config.DeltaSyncTableTTL) + if apiObject.DeltaSyncTableName != nil { + tfMap["delta_sync_table_name"] = aws.ToString(apiObject.DeltaSyncTableName) } - return []map[string]interface{}{result} + return []interface{}{tfMap} } -func expandElasticsearchDataSourceConfig(l []interface{}, currentRegion string) *appsync.ElasticsearchDataSourceConfig { - if len(l) == 0 || l[0] == nil { +func expandElasticsearchDataSourceConfig(tfList []interface{}, currentRegion string) *awstypes.ElasticsearchDataSourceConfig { + if len(tfList) == 0 || tfList[0] == nil { return nil } - configured := l[0].(map[string]interface{}) - - result := &appsync.ElasticsearchDataSourceConfig{ + tfMap := tfList[0].(map[string]interface{}) + apiObject := &awstypes.ElasticsearchDataSourceConfig{ AwsRegion: aws.String(currentRegion), - Endpoint: aws.String(configured[names.AttrEndpoint].(string)), + Endpoint: aws.String(tfMap[names.AttrEndpoint].(string)), } - if v, ok := configured[names.AttrRegion]; ok && v.(string) != "" { - result.AwsRegion = aws.String(v.(string)) + if v, ok := tfMap[names.AttrRegion]; ok && v.(string) != "" { + apiObject.AwsRegion = aws.String(v.(string)) } - return result + return apiObject } -func expandOpenSearchServiceDataSourceConfig(l []interface{}, currentRegion string) *appsync.OpenSearchServiceDataSourceConfig { - if len(l) == 0 || l[0] == nil { +func expandOpenSearchServiceDataSourceConfig(tfList []interface{}, currentRegion string) *awstypes.OpenSearchServiceDataSourceConfig { + if len(tfList) == 0 || tfList[0] == nil { return nil } - configured := l[0].(map[string]interface{}) - - result := &appsync.OpenSearchServiceDataSourceConfig{ + tfMap := tfList[0].(map[string]interface{}) + apiObject := &awstypes.OpenSearchServiceDataSourceConfig{ AwsRegion: aws.String(currentRegion), - Endpoint: aws.String(configured[names.AttrEndpoint].(string)), + Endpoint: aws.String(tfMap[names.AttrEndpoint].(string)), } - if v, ok := configured[names.AttrRegion]; ok && v.(string) != "" { - result.AwsRegion = aws.String(v.(string)) + if v, ok := tfMap[names.AttrRegion]; ok && v.(string) != "" { + apiObject.AwsRegion = aws.String(v.(string)) } - return result + return apiObject } -func flattenElasticsearchDataSourceConfig(config *appsync.ElasticsearchDataSourceConfig) []map[string]interface{} { - if config == nil { +func flattenElasticsearchDataSourceConfig(apiObject *awstypes.ElasticsearchDataSourceConfig) []interface{} { + if apiObject == nil { return nil } - result := map[string]interface{}{ - names.AttrEndpoint: aws.StringValue(config.Endpoint), - names.AttrRegion: aws.StringValue(config.AwsRegion), + tfMap := map[string]interface{}{ + names.AttrEndpoint: aws.ToString(apiObject.Endpoint), + names.AttrRegion: aws.ToString(apiObject.AwsRegion), } - return []map[string]interface{}{result} + return []interface{}{tfMap} } -func flattenOpenSearchServiceDataSourceConfig(config *appsync.OpenSearchServiceDataSourceConfig) []map[string]interface{} { - if config == nil { +func flattenOpenSearchServiceDataSourceConfig(apiObject *awstypes.OpenSearchServiceDataSourceConfig) []interface{} { + if apiObject == nil { return nil } - result := map[string]interface{}{ - names.AttrEndpoint: aws.StringValue(config.Endpoint), - names.AttrRegion: aws.StringValue(config.AwsRegion), + tfMap := map[string]interface{}{ + names.AttrEndpoint: aws.ToString(apiObject.Endpoint), + names.AttrRegion: aws.ToString(apiObject.AwsRegion), } - return []map[string]interface{}{result} + return []interface{}{tfMap} } -func expandHTTPDataSourceConfig(l []interface{}) *appsync.HttpDataSourceConfig { - if len(l) == 0 || l[0] == nil { +func expandHTTPDataSourceConfig(tfList []interface{}) *awstypes.HttpDataSourceConfig { + if len(tfList) == 0 || tfList[0] == nil { return nil } - configured := l[0].(map[string]interface{}) - - result := &appsync.HttpDataSourceConfig{ - Endpoint: aws.String(configured[names.AttrEndpoint].(string)), + tfMap := tfList[0].(map[string]interface{}) + apiObject := &awstypes.HttpDataSourceConfig{ + Endpoint: aws.String(tfMap[names.AttrEndpoint].(string)), } - if v, ok := configured["authorization_config"].([]interface{}); ok && len(v) > 0 { - result.AuthorizationConfig = expandHTTPDataSourceAuthorizationConfig(v) + if v, ok := tfMap["authorization_config"].([]interface{}); ok && len(v) > 0 { + apiObject.AuthorizationConfig = expandAuthorizationConfig(v) } - return result + return apiObject } -func flattenHTTPDataSourceConfig(config *appsync.HttpDataSourceConfig) []map[string]interface{} { - if config == nil { +func flattenHTTPDataSourceConfig(apiObject *awstypes.HttpDataSourceConfig) []interface{} { + if apiObject == nil { return nil } - result := map[string]interface{}{ - names.AttrEndpoint: aws.StringValue(config.Endpoint), + tfMap := map[string]interface{}{ + names.AttrEndpoint: aws.ToString(apiObject.Endpoint), } - if config.AuthorizationConfig != nil { - result["authorization_config"] = flattenHTTPDataSourceAuthorizationConfig(config.AuthorizationConfig) + if apiObject.AuthorizationConfig != nil { + tfMap["authorization_config"] = flattenAuthorizationConfig(apiObject.AuthorizationConfig) } - return []map[string]interface{}{result} + return []interface{}{tfMap} } -func expandHTTPDataSourceAuthorizationConfig(l []interface{}) *appsync.AuthorizationConfig { - if len(l) == 0 || l[0] == nil { +func expandAuthorizationConfig(tfList []interface{}) *awstypes.AuthorizationConfig { + if len(tfList) == 0 || tfList[0] == nil { return nil } - configured := l[0].(map[string]interface{}) - - result := &appsync.AuthorizationConfig{ - AuthorizationType: aws.String(configured["authorization_type"].(string)), + tfMap := tfList[0].(map[string]interface{}) + apiObject := &awstypes.AuthorizationConfig{ + AuthorizationType: awstypes.AuthorizationType(tfMap["authorization_type"].(string)), } - if v, ok := configured["aws_iam_config"].([]interface{}); ok && len(v) > 0 { - result.AwsIamConfig = expandHTTPDataSourceIAMConfig(v) + if v, ok := tfMap["aws_iam_config"].([]interface{}); ok && len(v) > 0 { + apiObject.AwsIamConfig = expandIAMConfig(v) } - return result + return apiObject } -func flattenHTTPDataSourceAuthorizationConfig(config *appsync.AuthorizationConfig) []map[string]interface{} { - if config == nil { +func flattenAuthorizationConfig(apiObject *awstypes.AuthorizationConfig) []interface{} { + if apiObject == nil { return nil } - result := map[string]interface{}{ - "authorization_type": aws.StringValue(config.AuthorizationType), + tfMap := map[string]interface{}{ + "authorization_type": apiObject.AuthorizationType, } - if config.AwsIamConfig != nil { - result["aws_iam_config"] = flattenHTTPDataSourceIAMConfig(config.AwsIamConfig) + if apiObject.AwsIamConfig != nil { + tfMap["aws_iam_config"] = flattenIAMConfig(apiObject.AwsIamConfig) } - return []map[string]interface{}{result} + return []interface{}{tfMap} } -func expandHTTPDataSourceIAMConfig(l []interface{}) *appsync.AwsIamConfig { - if len(l) == 0 || l[0] == nil { +func expandIAMConfig(tfList []interface{}) *awstypes.AwsIamConfig { + if len(tfList) == 0 || tfList[0] == nil { return nil } - configured := l[0].(map[string]interface{}) + tfMap := tfList[0].(map[string]interface{}) + apiObject := &awstypes.AwsIamConfig{} - result := &appsync.AwsIamConfig{} - - if v, ok := configured["signing_region"].(string); ok && v != "" { - result.SigningRegion = aws.String(v) + if v, ok := tfMap["signing_region"].(string); ok && v != "" { + apiObject.SigningRegion = aws.String(v) } - if v, ok := configured["signing_service_name"].(string); ok && v != "" { - result.SigningServiceName = aws.String(v) + if v, ok := tfMap["signing_service_name"].(string); ok && v != "" { + apiObject.SigningServiceName = aws.String(v) } - return result + return apiObject } -func flattenHTTPDataSourceIAMConfig(config *appsync.AwsIamConfig) []map[string]interface{} { - if config == nil { +func flattenIAMConfig(apiObject *awstypes.AwsIamConfig) []interface{} { + if apiObject == nil { return nil } - result := map[string]interface{}{ - "signing_region": aws.StringValue(config.SigningRegion), - "signing_service_name": aws.StringValue(config.SigningServiceName), + tfMap := map[string]interface{}{ + "signing_region": aws.ToString(apiObject.SigningRegion), + "signing_service_name": aws.ToString(apiObject.SigningServiceName), } - return []map[string]interface{}{result} + return []interface{}{tfMap} } -func expandLambdaDataSourceConfig(l []interface{}) *appsync.LambdaDataSourceConfig { - if len(l) == 0 || l[0] == nil { +func expandLambdaDataSourceConfig(tfList []interface{}) *awstypes.LambdaDataSourceConfig { + if len(tfList) == 0 || tfList[0] == nil { return nil } - configured := l[0].(map[string]interface{}) - - result := &appsync.LambdaDataSourceConfig{ - LambdaFunctionArn: aws.String(configured[names.AttrFunctionARN].(string)), + tfMap := tfList[0].(map[string]interface{}) + apiObject := &awstypes.LambdaDataSourceConfig{ + LambdaFunctionArn: aws.String(tfMap[names.AttrFunctionARN].(string)), } - return result + return apiObject } -func flattenLambdaDataSourceConfig(config *appsync.LambdaDataSourceConfig) []map[string]interface{} { - if config == nil { +func flattenLambdaDataSourceConfig(apiObject *awstypes.LambdaDataSourceConfig) []interface{} { + if apiObject == nil { return nil } - result := map[string]interface{}{ - names.AttrFunctionARN: aws.StringValue(config.LambdaFunctionArn), + tfMap := map[string]interface{}{ + names.AttrFunctionARN: aws.ToString(apiObject.LambdaFunctionArn), } - return []map[string]interface{}{result} + return []interface{}{tfMap} } -func expandRelationalDatabaseDataSourceConfig(l []interface{}, currentRegion string) *appsync.RelationalDatabaseDataSourceConfig { - if len(l) == 0 || l[0] == nil { +func expandRelationalDatabaseDataSourceConfig(tfList []interface{}, currentRegion string) *awstypes.RelationalDatabaseDataSourceConfig { + if len(tfList) == 0 || tfList[0] == nil { return nil } - configured := l[0].(map[string]interface{}) - - result := &appsync.RelationalDatabaseDataSourceConfig{ - RelationalDatabaseSourceType: aws.String(configured[names.AttrSourceType].(string)), - RdsHttpEndpointConfig: testAccDataSourceConfig_expandRDSHTTPEndpoint(configured["http_endpoint_config"].([]interface{}), currentRegion), + tfMap := tfList[0].(map[string]interface{}) + apiObject := &awstypes.RelationalDatabaseDataSourceConfig{ + RelationalDatabaseSourceType: awstypes.RelationalDatabaseSourceType(tfMap[names.AttrSourceType].(string)), + RdsHttpEndpointConfig: expandRDSHTTPEndpointConfig(tfMap["http_endpoint_config"].([]interface{}), currentRegion), } - return result + return apiObject } -func flattenRelationalDatabaseDataSourceConfig(config *appsync.RelationalDatabaseDataSourceConfig) []map[string]interface{} { - if config == nil { +func flattenRelationalDatabaseDataSourceConfig(apiObject *awstypes.RelationalDatabaseDataSourceConfig) []interface{} { + if apiObject == nil { return nil } - result := map[string]interface{}{ - names.AttrSourceType: aws.StringValue(config.RelationalDatabaseSourceType), - "http_endpoint_config": flattenRDSHTTPEndpointConfig(config.RdsHttpEndpointConfig), + tfMap := map[string]interface{}{ + names.AttrSourceType: apiObject.RelationalDatabaseSourceType, + "http_endpoint_config": flattenRDSHTTPEndpointConfig(apiObject.RdsHttpEndpointConfig), } - return []map[string]interface{}{result} + return []interface{}{tfMap} } -func expandEventBridgeDataSourceConfig(l []interface{}) *appsync.EventBridgeDataSourceConfig { - if len(l) == 0 || l[0] == nil { +func expandEventBridgeDataSourceConfig(tfList []interface{}) *awstypes.EventBridgeDataSourceConfig { + if len(tfList) == 0 || tfList[0] == nil { return nil } - configured := l[0].(map[string]interface{}) - - result := &appsync.EventBridgeDataSourceConfig{ - EventBusArn: aws.String(configured["event_bus_arn"].(string)), + tfMap := tfList[0].(map[string]interface{}) + apiObject := &awstypes.EventBridgeDataSourceConfig{ + EventBusArn: aws.String(tfMap["event_bus_arn"].(string)), } - return result + return apiObject } -func flattenEventBridgeDataSourceConfig(config *appsync.EventBridgeDataSourceConfig) []map[string]interface{} { - if config == nil { +func flattenEventBridgeDataSourceConfig(apiObject *awstypes.EventBridgeDataSourceConfig) []interface{} { + if apiObject == nil { return nil } - result := map[string]interface{}{ - "event_bus_arn": aws.StringValue(config.EventBusArn), + tfMap := map[string]interface{}{ + "event_bus_arn": aws.ToString(apiObject.EventBusArn), } - return []map[string]interface{}{result} + return []interface{}{tfMap} } -func testAccDataSourceConfig_expandRDSHTTPEndpoint(l []interface{}, currentRegion string) *appsync.RdsHttpEndpointConfig { - if len(l) == 0 || l[0] == nil { +func expandRDSHTTPEndpointConfig(tfList []interface{}, currentRegion string) *awstypes.RdsHttpEndpointConfig { + if len(tfList) == 0 || tfList[0] == nil { return nil } - configured := l[0].(map[string]interface{}) - - result := &appsync.RdsHttpEndpointConfig{ + tfMap := tfList[0].(map[string]interface{}) + apiObject := &awstypes.RdsHttpEndpointConfig{ AwsRegion: aws.String(currentRegion), } - if v, ok := configured[names.AttrRegion]; ok && v.(string) != "" { - result.AwsRegion = aws.String(v.(string)) + if v, ok := tfMap[names.AttrRegion]; ok && v.(string) != "" { + apiObject.AwsRegion = aws.String(v.(string)) } - if v, ok := configured["aws_secret_store_arn"]; ok && v.(string) != "" { - result.AwsSecretStoreArn = aws.String(v.(string)) + if v, ok := tfMap["aws_secret_store_arn"]; ok && v.(string) != "" { + apiObject.AwsSecretStoreArn = aws.String(v.(string)) } - if v, ok := configured[names.AttrDatabaseName]; ok && v.(string) != "" { - result.DatabaseName = aws.String(v.(string)) + if v, ok := tfMap[names.AttrDatabaseName]; ok && v.(string) != "" { + apiObject.DatabaseName = aws.String(v.(string)) } - if v, ok := configured["db_cluster_identifier"]; ok && v.(string) != "" { - result.DbClusterIdentifier = aws.String(v.(string)) + if v, ok := tfMap["db_cluster_identifier"]; ok && v.(string) != "" { + apiObject.DbClusterIdentifier = aws.String(v.(string)) } - if v, ok := configured[names.AttrSchema]; ok && v.(string) != "" { - result.Schema = aws.String(v.(string)) + if v, ok := tfMap[names.AttrSchema]; ok && v.(string) != "" { + apiObject.Schema = aws.String(v.(string)) } - return result + return apiObject } -func flattenRDSHTTPEndpointConfig(config *appsync.RdsHttpEndpointConfig) []map[string]interface{} { - if config == nil { +func flattenRDSHTTPEndpointConfig(apiObject *awstypes.RdsHttpEndpointConfig) []interface{} { + if apiObject == nil { return nil } - result := map[string]interface{}{} + tfMap := map[string]interface{}{} - if config.AwsRegion != nil { - result[names.AttrRegion] = aws.StringValue(config.AwsRegion) + if apiObject.AwsRegion != nil { + tfMap[names.AttrRegion] = aws.ToString(apiObject.AwsRegion) } - if config.AwsSecretStoreArn != nil { - result["aws_secret_store_arn"] = aws.StringValue(config.AwsSecretStoreArn) + if apiObject.AwsSecretStoreArn != nil { + tfMap["aws_secret_store_arn"] = aws.ToString(apiObject.AwsSecretStoreArn) } - if config.DatabaseName != nil { - result[names.AttrDatabaseName] = aws.StringValue(config.DatabaseName) + if apiObject.DatabaseName != nil { + tfMap[names.AttrDatabaseName] = aws.ToString(apiObject.DatabaseName) } - if config.DbClusterIdentifier != nil { - result["db_cluster_identifier"] = aws.StringValue(config.DbClusterIdentifier) + if apiObject.DbClusterIdentifier != nil { + tfMap["db_cluster_identifier"] = aws.ToString(apiObject.DbClusterIdentifier) } - if config.Schema != nil { - result[names.AttrSchema] = aws.StringValue(config.Schema) + if apiObject.Schema != nil { + tfMap[names.AttrSchema] = aws.ToString(apiObject.Schema) } - return []map[string]interface{}{result} + return []interface{}{tfMap} } diff --git a/internal/service/appsync/datasource_test.go b/internal/service/appsync/datasource_test.go index 5f7e82abcda..e56e181944c 100644 --- a/internal/service/appsync/datasource_test.go +++ b/internal/service/appsync/datasource_test.go @@ -9,7 +9,6 @@ import ( "testing" "github.com/YakDriver/regexache" - "github.com/aws/aws-sdk-go/service/appsync" sdkacctest "github.com/hashicorp/terraform-plugin-testing/helper/acctest" "github.com/hashicorp/terraform-plugin-testing/helper/resource" "github.com/hashicorp/terraform-plugin-testing/terraform" @@ -27,7 +26,7 @@ func testAccDataSource_basic(t *testing.T) { resourceName := "aws_appsync_datasource.test" resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckDataSourceDestroy(ctx), @@ -64,7 +63,7 @@ func testAccDataSource_description(t *testing.T) { resourceName := "aws_appsync_datasource.test" resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckDataSourceDestroy(ctx), @@ -98,7 +97,7 @@ func testAccDataSource_DynamoDB_region(t *testing.T) { resourceName := "aws_appsync_datasource.test" resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckDataSourceDestroy(ctx), @@ -134,7 +133,7 @@ func testAccDataSource_DynamoDB_useCallerCredentials(t *testing.T) { resourceName := "aws_appsync_datasource.test" resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckDataSourceDestroy(ctx), @@ -171,7 +170,7 @@ func TestAccAppSyncDataSource_Elasticsearch_region(t *testing.T) { // Keep this test Parallel as it takes considerably longer to run than any non-Elasticsearch tests. resource.ParallelTest(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckDataSourceDestroy(ctx), @@ -208,7 +207,7 @@ func TestAccAppSyncDataSource_OpenSearchService_region(t *testing.T) { // Keep this test Parallel as it takes considerably longer to run than any non-OpenSearchService tests. resource.ParallelTest(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckDataSourceDestroy(ctx), @@ -244,7 +243,7 @@ func testAccDataSource_HTTP_endpoint(t *testing.T) { resourceName := "aws_appsync_datasource.test" resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckDataSourceDestroy(ctx), @@ -282,7 +281,7 @@ func testAccDataSource_type(t *testing.T) { resourceName := "aws_appsync_datasource.test" resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckDataSourceDestroy(ctx), @@ -313,7 +312,7 @@ func testAccDataSource_Type_dynamoDB(t *testing.T) { resourceName := "aws_appsync_datasource.test" resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckDataSourceDestroy(ctx), @@ -346,7 +345,7 @@ func TestAccAppSyncDataSource_Type_elasticSearch(t *testing.T) { // Keep this test Parallel as it takes considerably longer to run than any non-Elasticsearch tests. resource.ParallelTest(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckDataSourceDestroy(ctx), @@ -379,7 +378,7 @@ func TestAccAppSyncDataSource_Type_openSearchService(t *testing.T) { // Keep this test Parallel as it takes considerably longer to run than any non-OpenSearchService tests. resource.ParallelTest(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckDataSourceDestroy(ctx), @@ -410,7 +409,7 @@ func testAccDataSource_Type_http(t *testing.T) { resourceName := "aws_appsync_datasource.test" resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckDataSourceDestroy(ctx), @@ -439,7 +438,7 @@ func testAccDataSource_Type_httpAuth(t *testing.T) { resourceName := "aws_appsync_datasource.test" resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckDataSourceDestroy(ctx), @@ -473,7 +472,7 @@ func testAccDataSource_Type_relationalDatabase(t *testing.T) { resourceName := "aws_appsync_datasource.test" resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckDataSourceDestroy(ctx), @@ -502,7 +501,7 @@ func testAccDataSource_Type_relationalDatabaseWithOptions(t *testing.T) { resourceName := "aws_appsync_datasource.test" resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckDataSourceDestroy(ctx), @@ -535,7 +534,7 @@ func testAccDataSource_Type_lambda(t *testing.T) { resourceName := "aws_appsync_datasource.test" resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckDataSourceDestroy(ctx), @@ -567,7 +566,7 @@ func testAccDataSource_Type_eventBridge(t *testing.T) { resourceName := "aws_appsync_datasource.test" resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckDataSourceDestroy(ctx), @@ -597,7 +596,7 @@ func testAccDataSource_Type_none(t *testing.T) { resourceName := "aws_appsync_datasource.test" resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckDataSourceDestroy(ctx), @@ -620,19 +619,14 @@ func testAccDataSource_Type_none(t *testing.T) { func testAccCheckDataSourceDestroy(ctx context.Context) resource.TestCheckFunc { return func(s *terraform.State) error { - conn := acctest.Provider.Meta().(*conns.AWSClient).AppSyncConn(ctx) + conn := acctest.Provider.Meta().(*conns.AWSClient).AppSyncClient(ctx) + for _, rs := range s.RootModule().Resources { if rs.Type != "aws_appsync_datasource" { continue } - apiID, name, err := tfappsync.DecodeID(rs.Primary.ID) - - if err != nil { - return err - } - - _, err = tfappsync.FindDataSourceByTwoPartKey(ctx, conn, apiID, name) + _, err := tfappsync.FindDataSourceByTwoPartKey(ctx, conn, rs.Primary.Attributes["api_id"], rs.Primary.Attributes[names.AttrName]) if tfresource.NotFound(err) { continue @@ -649,26 +643,16 @@ func testAccCheckDataSourceDestroy(ctx context.Context) resource.TestCheckFunc { } } -func testAccCheckExistsDataSource(ctx context.Context, name string) resource.TestCheckFunc { +func testAccCheckExistsDataSource(ctx context.Context, n string) resource.TestCheckFunc { return func(s *terraform.State) error { - rs, ok := s.RootModule().Resources[name] + rs, ok := s.RootModule().Resources[n] if !ok { - return fmt.Errorf("Not found: %s", name) - } - - if rs.Primary.ID == "" { - return fmt.Errorf("No Appsync Data Source ID found: %s", name) - } - - apiID, name, err := tfappsync.DecodeID(rs.Primary.ID) - - if err != nil { - return err + return fmt.Errorf("Not found: %s", n) } - conn := acctest.Provider.Meta().(*conns.AWSClient).AppSyncConn(ctx) + conn := acctest.Provider.Meta().(*conns.AWSClient).AppSyncClient(ctx) - _, err = tfappsync.FindDataSourceByTwoPartKey(ctx, conn, apiID, name) + _, err := tfappsync.FindDataSourceByTwoPartKey(ctx, conn, rs.Primary.Attributes["api_id"], rs.Primary.Attributes[names.AttrName]) return err } diff --git a/internal/service/appsync/domain_name.go b/internal/service/appsync/domain_name.go index ea231219ed9..137f572ef18 100644 --- a/internal/service/appsync/domain_name.go +++ b/internal/service/appsync/domain_name.go @@ -5,30 +5,31 @@ package appsync import ( "context" - "fmt" "log" "time" - "github.com/aws/aws-sdk-go/aws" - "github.com/aws/aws-sdk-go/service/appsync" - "github.com/hashicorp/aws-sdk-go-base/v2/awsv1shim/v2/tfawserr" + "github.com/aws/aws-sdk-go-v2/aws" + "github.com/aws/aws-sdk-go-v2/service/appsync" + awstypes "github.com/aws/aws-sdk-go-v2/service/appsync/types" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/retry" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-provider-aws/internal/conns" + "github.com/hashicorp/terraform-provider-aws/internal/errs" "github.com/hashicorp/terraform-provider-aws/internal/errs/sdkdiag" "github.com/hashicorp/terraform-provider-aws/internal/tfresource" "github.com/hashicorp/terraform-provider-aws/internal/verify" "github.com/hashicorp/terraform-provider-aws/names" ) -// @SDKResource("aws_appsync_domain_name") -func ResourceDomainName() *schema.Resource { +// @SDKResource("aws_appsync_domain_name", name="Domain Name") +func resourceDomainName() *schema.Resource { return &schema.Resource{ CreateWithoutTimeout: resourceDomainNameCreate, ReadWithoutTimeout: resourceDomainNameRead, UpdateWithoutTimeout: resourceDomainNameUpdate, DeleteWithoutTimeout: resourceDomainNameDelete, + Importer: &schema.ResourceImporter{ StateContext: schema.ImportStatePassthroughContext, }, @@ -63,63 +64,67 @@ func ResourceDomainName() *schema.Resource { func resourceDomainNameCreate(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics { var diags diag.Diagnostics - conn := meta.(*conns.AWSClient).AppSyncConn(ctx) + conn := meta.(*conns.AWSClient).AppSyncClient(ctx) - params := &appsync.CreateDomainNameInput{ + domainName := d.Get(names.AttrDomainName).(string) + input := &appsync.CreateDomainNameInput{ CertificateArn: aws.String(d.Get(names.AttrCertificateARN).(string)), Description: aws.String(d.Get(names.AttrDescription).(string)), - DomainName: aws.String(d.Get(names.AttrDomainName).(string)), + DomainName: aws.String(domainName), } - resp, err := conn.CreateDomainNameWithContext(ctx, params) + output, err := conn.CreateDomainName(ctx, input) + if err != nil { - return sdkdiag.AppendErrorf(diags, "creating Appsync Domain Name: %s", err) + return sdkdiag.AppendErrorf(diags, "creating Appsync Domain Name (%s): %s", domainName, err) } - d.SetId(aws.StringValue(resp.DomainNameConfig.DomainName)) + d.SetId(aws.ToString(output.DomainNameConfig.DomainName)) return append(diags, resourceDomainNameRead(ctx, d, meta)...) } func resourceDomainNameRead(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics { var diags diag.Diagnostics - conn := meta.(*conns.AWSClient).AppSyncConn(ctx) + conn := meta.(*conns.AWSClient).AppSyncClient(ctx) - domainName, err := FindDomainNameByID(ctx, conn, d.Id()) - if domainName == nil && !d.IsNewResource() { + domainName, err := findDomainNameByID(ctx, conn, d.Id()) + + if !d.IsNewResource() && tfresource.NotFound(err) { log.Printf("[WARN] AppSync Domain Name (%s) not found, removing from state", d.Id()) d.SetId("") return diags } if err != nil { - return sdkdiag.AppendErrorf(diags, "getting Appsync Domain Name %q: %s", d.Id(), err) + return sdkdiag.AppendErrorf(diags, "reading Appsync Domain Name (%s): %s", d.Id(), err) } - d.Set(names.AttrDomainName, domainName.DomainName) - d.Set(names.AttrDescription, domainName.Description) + d.Set("appsync_domain_name", domainName.AppsyncDomainName) d.Set(names.AttrCertificateARN, domainName.CertificateArn) + d.Set(names.AttrDescription, domainName.Description) + d.Set(names.AttrDomainName, domainName.DomainName) d.Set(names.AttrHostedZoneID, domainName.HostedZoneId) - d.Set("appsync_domain_name", domainName.AppsyncDomainName) return diags } func resourceDomainNameUpdate(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics { var diags diag.Diagnostics - conn := meta.(*conns.AWSClient).AppSyncConn(ctx) + conn := meta.(*conns.AWSClient).AppSyncClient(ctx) - params := &appsync.UpdateDomainNameInput{ + input := &appsync.UpdateDomainNameInput{ DomainName: aws.String(d.Id()), } if d.HasChange(names.AttrDescription) { - params.Description = aws.String(d.Get(names.AttrDescription).(string)) + input.Description = aws.String(d.Get(names.AttrDescription).(string)) } - _, err := conn.UpdateDomainNameWithContext(ctx, params) + _, err := conn.UpdateDomainName(ctx, input) + if err != nil { - return sdkdiag.AppendErrorf(diags, "updating Appsync Domain Name %q: %s", d.Id(), err) + return sdkdiag.AppendErrorf(diags, "updating Appsync Domain Name (%s): %s", d.Id(), err) } return append(diags, resourceDomainNameRead(ctx, d, meta)...) @@ -127,29 +132,46 @@ func resourceDomainNameUpdate(ctx context.Context, d *schema.ResourceData, meta func resourceDomainNameDelete(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics { var diags diag.Diagnostics - conn := meta.(*conns.AWSClient).AppSyncConn(ctx) + conn := meta.(*conns.AWSClient).AppSyncClient(ctx) + + log.Printf("[INFO] Deleting Appsync Domain Name: %s", d.Id()) + const ( + timeout = 5 * time.Minute + ) + _, err := tfresource.RetryWhenIsA[*awstypes.ConcurrentModificationException](ctx, timeout, func() (interface{}, error) { + return conn.DeleteDomainName(ctx, &appsync.DeleteDomainNameInput{ + DomainName: aws.String(d.Id()), + }) + }) - input := &appsync.DeleteDomainNameInput{ - DomainName: aws.String(d.Id()), + if err != nil { + return sdkdiag.AppendErrorf(diags, "deleting Appsync Domain Name (%s): %s", d.Id(), err) } - err := retry.RetryContext(ctx, 5*time.Minute, func() *retry.RetryError { - _, err := conn.DeleteDomainNameWithContext(ctx, input) - if tfawserr.ErrCodeEquals(err, appsync.ErrCodeConcurrentModificationException) { - return retry.RetryableError(fmt.Errorf("deleting Appsync Domain Name %q: %w", d.Id(), err)) - } - if err != nil { - return retry.NonRetryableError(err) - } + return diags +} - return nil - }) - if tfresource.TimedOut(err) { - _, err = conn.DeleteDomainNameWithContext(ctx, input) +func findDomainNameByID(ctx context.Context, conn *appsync.Client, id string) (*awstypes.DomainNameConfig, error) { + input := &appsync.GetDomainNameInput{ + DomainName: aws.String(id), } + + output, err := conn.GetDomainName(ctx, input) + + if errs.IsA[*awstypes.NotFoundException](err) { + return nil, &retry.NotFoundError{ + LastError: err, + LastRequest: input, + } + } + if err != nil { - return sdkdiag.AppendErrorf(diags, "deleting Appsync Domain Name %q: %s", d.Id(), err) + return nil, err } - return diags + if output == nil || output.DomainNameConfig == nil { + return nil, tfresource.NewEmptyResultError(input) + } + + return output.DomainNameConfig, nil } diff --git a/internal/service/appsync/domain_name_api_association.go b/internal/service/appsync/domain_name_api_association.go index dda172514f4..32e0d3dc016 100644 --- a/internal/service/appsync/domain_name_api_association.go +++ b/internal/service/appsync/domain_name_api_association.go @@ -5,25 +5,32 @@ package appsync import ( "context" + "errors" "log" + "time" - "github.com/aws/aws-sdk-go/aws" - "github.com/aws/aws-sdk-go/service/appsync" - "github.com/hashicorp/aws-sdk-go-base/v2/awsv1shim/v2/tfawserr" + "github.com/aws/aws-sdk-go-v2/aws" + "github.com/aws/aws-sdk-go-v2/service/appsync" + awstypes "github.com/aws/aws-sdk-go-v2/service/appsync/types" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" + "github.com/hashicorp/terraform-plugin-sdk/v2/helper/retry" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-provider-aws/internal/conns" + "github.com/hashicorp/terraform-provider-aws/internal/enum" + "github.com/hashicorp/terraform-provider-aws/internal/errs" "github.com/hashicorp/terraform-provider-aws/internal/errs/sdkdiag" + "github.com/hashicorp/terraform-provider-aws/internal/tfresource" "github.com/hashicorp/terraform-provider-aws/names" ) -// @SDKResource("aws_appsync_domain_name_api_association") -func ResourceDomainNameAPIAssociation() *schema.Resource { +// @SDKResource("aws_appsync_domain_name_api_association", name="Domain Name API Association") +func resourceDomainNameAPIAssociation() *schema.Resource { return &schema.Resource{ CreateWithoutTimeout: resourceDomainNameAPIAssociationCreate, ReadWithoutTimeout: resourceDomainNameAPIAssociationRead, UpdateWithoutTimeout: resourceDomainNameAPIAssociationUpdate, DeleteWithoutTimeout: resourceDomainNameAPIAssociationDelete, + Importer: &schema.ResourceImporter{ StateContext: schema.ImportStatePassthroughContext, }, @@ -44,22 +51,24 @@ func ResourceDomainNameAPIAssociation() *schema.Resource { func resourceDomainNameAPIAssociationCreate(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics { var diags diag.Diagnostics - conn := meta.(*conns.AWSClient).AppSyncConn(ctx) + conn := meta.(*conns.AWSClient).AppSyncClient(ctx) - params := &appsync.AssociateApiInput{ + domainName := d.Get(names.AttrDomainName).(string) + input := &appsync.AssociateApiInput{ ApiId: aws.String(d.Get("api_id").(string)), - DomainName: aws.String(d.Get(names.AttrDomainName).(string)), + DomainName: aws.String(domainName), } - resp, err := conn.AssociateApiWithContext(ctx, params) + output, err := conn.AssociateApi(ctx, input) + if err != nil { - return sdkdiag.AppendErrorf(diags, "creating Appsync Domain Name API Association: %s", err) + return sdkdiag.AppendErrorf(diags, "creating Appsync Domain Name API Association (%s): %s", domainName, err) } - d.SetId(aws.StringValue(resp.ApiAssociation.DomainName)) + d.SetId(aws.ToString(output.ApiAssociation.DomainName)) - if err := waitDomainNameAPIAssociation(ctx, conn, d.Id()); err != nil { - return sdkdiag.AppendErrorf(diags, "waiting for Appsync Domain Name API (%s) Association: %s", d.Id(), err) + if _, err := waitDomainNameAPIAssociation(ctx, conn, d.Id()); err != nil { + return sdkdiag.AppendErrorf(diags, "waiting for Appsync Domain Name API Association (%s) create: %s", d.Id(), err) } return append(diags, resourceDomainNameAPIAssociationRead(ctx, d, meta)...) @@ -67,41 +76,43 @@ func resourceDomainNameAPIAssociationCreate(ctx context.Context, d *schema.Resou func resourceDomainNameAPIAssociationRead(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics { var diags diag.Diagnostics - conn := meta.(*conns.AWSClient).AppSyncConn(ctx) + conn := meta.(*conns.AWSClient).AppSyncClient(ctx) + + association, err := findDomainNameAPIAssociationByID(ctx, conn, d.Id()) - association, err := FindDomainNameAPIAssociationByID(ctx, conn, d.Id()) - if association == nil && !d.IsNewResource() { + if !d.IsNewResource() && tfresource.NotFound(err) { log.Printf("[WARN] Appsync Domain Name API Association (%s) not found, removing from state", d.Id()) d.SetId("") return diags } if err != nil { - return sdkdiag.AppendErrorf(diags, "getting Appsync Domain Name API Association %q: %s", d.Id(), err) + return sdkdiag.AppendErrorf(diags, "reading Appsync Domain Name API Association (%s): %s", d.Id(), err) } - d.Set(names.AttrDomainName, association.DomainName) d.Set("api_id", association.ApiId) + d.Set(names.AttrDomainName, association.DomainName) return diags } func resourceDomainNameAPIAssociationUpdate(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics { var diags diag.Diagnostics - conn := meta.(*conns.AWSClient).AppSyncConn(ctx) + conn := meta.(*conns.AWSClient).AppSyncClient(ctx) - params := &appsync.AssociateApiInput{ + input := &appsync.AssociateApiInput{ ApiId: aws.String(d.Get("api_id").(string)), - DomainName: aws.String(d.Get(names.AttrDomainName).(string)), + DomainName: aws.String(d.Id()), } - _, err := conn.AssociateApiWithContext(ctx, params) + _, err := conn.AssociateApi(ctx, input) + if err != nil { - return sdkdiag.AppendErrorf(diags, "creating Appsync Domain Name API Association: %s", err) + return sdkdiag.AppendErrorf(diags, "updating Appsync Domain Name API Association (%s): %s", d.Id(), err) } - if err := waitDomainNameAPIAssociation(ctx, conn, d.Id()); err != nil { - return sdkdiag.AppendErrorf(diags, "waiting for Appsync Domain Name API (%s) Association: %s", d.Id(), err) + if _, err := waitDomainNameAPIAssociation(ctx, conn, d.Id()); err != nil { + return sdkdiag.AppendErrorf(diags, "waiting for Appsync Domain Name API Association (%s) update: %s", d.Id(), err) } return append(diags, resourceDomainNameAPIAssociationRead(ctx, d, meta)...) @@ -109,22 +120,107 @@ func resourceDomainNameAPIAssociationUpdate(ctx context.Context, d *schema.Resou func resourceDomainNameAPIAssociationDelete(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics { var diags diag.Diagnostics - conn := meta.(*conns.AWSClient).AppSyncConn(ctx) + conn := meta.(*conns.AWSClient).AppSyncClient(ctx) - input := &appsync.DisassociateApiInput{ + log.Printf("[INFO] Deleting Appsync Domain Name API Association: %s", d.Id()) + _, err := conn.DisassociateApi(ctx, &appsync.DisassociateApiInput{ DomainName: aws.String(d.Id()), + }) + + if errs.IsA[*awstypes.NotFoundException](err) { + return diags } - _, err := conn.DisassociateApiWithContext(ctx, input) + if err != nil { - if tfawserr.ErrCodeEquals(err, appsync.ErrCodeNotFoundException) { - return diags - } - return sdkdiag.AppendErrorf(diags, "deleting Appsync Domain Name API Association: %s", err) + return sdkdiag.AppendErrorf(diags, "deleting Appsync Domain Name API Association (%s): %s", d.Id(), err) } - if err := waitDomainNameAPIDisassociation(ctx, conn, d.Id()); err != nil { - return sdkdiag.AppendErrorf(diags, "waiting for Appsync Domain Name API (%s) Disassociation: %s", d.Id(), err) + if _, err := waitDomainNameAPIDisassociation(ctx, conn, d.Id()); err != nil { + return sdkdiag.AppendErrorf(diags, "waiting for Appsync Domain Name API Association (%s) delete: %s", d.Id(), err) } return diags } + +func findDomainNameAPIAssociationByID(ctx context.Context, conn *appsync.Client, id string) (*awstypes.ApiAssociation, error) { + input := &appsync.GetApiAssociationInput{ + DomainName: aws.String(id), + } + + output, err := conn.GetApiAssociation(ctx, input) + + if errs.IsA[*awstypes.NotFoundException](err) { + return nil, &retry.NotFoundError{ + LastError: err, + LastRequest: input, + } + } + + if err != nil { + return nil, err + } + + if output == nil || output.ApiAssociation == nil { + return nil, tfresource.NewEmptyResultError(input) + } + + return output.ApiAssociation, nil +} + +func statusDomainNameAPIAssociation(ctx context.Context, conn *appsync.Client, id string) retry.StateRefreshFunc { + return func() (interface{}, string, error) { + output, err := findDomainNameAPIAssociationByID(ctx, conn, id) + + if tfresource.NotFound(err) { + return nil, "", nil + } + + if err != nil { + return nil, "", err + } + + return output, string(output.AssociationStatus), nil + } +} + +func waitDomainNameAPIAssociation(ctx context.Context, conn *appsync.Client, id string) (*awstypes.ApiAssociation, error) { //nolint:unparam + const ( + domainNameAPIAssociationTimeout = 60 * time.Minute + ) + stateConf := &retry.StateChangeConf{ + Pending: enum.Slice(awstypes.AssociationStatusProcessing), + Target: enum.Slice(awstypes.AssociationStatusSuccess), + Refresh: statusDomainNameAPIAssociation(ctx, conn, id), + Timeout: domainNameAPIAssociationTimeout, + } + + outputRaw, err := stateConf.WaitForStateContext(ctx) + + if output, ok := outputRaw.(*awstypes.ApiAssociation); ok { + tfresource.SetLastError(err, errors.New(aws.ToString(output.DeploymentDetail))) + return output, err + } + + return nil, err +} + +func waitDomainNameAPIDisassociation(ctx context.Context, conn *appsync.Client, id string) (*awstypes.ApiAssociation, error) { + const ( + timeout = 60 * time.Minute + ) + stateConf := &retry.StateChangeConf{ + Pending: enum.Slice(awstypes.AssociationStatusProcessing), + Target: []string{}, + Refresh: statusDomainNameAPIAssociation(ctx, conn, id), + Timeout: timeout, + } + + outputRaw, err := stateConf.WaitForStateContext(ctx) + + if output, ok := outputRaw.(*awstypes.ApiAssociation); ok { + tfresource.SetLastError(err, errors.New(aws.ToString(output.DeploymentDetail))) + return output, err + } + + return nil, err +} diff --git a/internal/service/appsync/domain_name_api_association_test.go b/internal/service/appsync/domain_name_api_association_test.go index a85e62b4c70..f7a1b6d1c89 100644 --- a/internal/service/appsync/domain_name_api_association_test.go +++ b/internal/service/appsync/domain_name_api_association_test.go @@ -8,30 +8,28 @@ import ( "fmt" "testing" - "github.com/aws/aws-sdk-go/aws" - "github.com/aws/aws-sdk-go/service/appsync" - "github.com/hashicorp/aws-sdk-go-base/v2/awsv1shim/v2/tfawserr" + awstypes "github.com/aws/aws-sdk-go-v2/service/appsync/types" sdkacctest "github.com/hashicorp/terraform-plugin-testing/helper/acctest" "github.com/hashicorp/terraform-plugin-testing/helper/resource" "github.com/hashicorp/terraform-plugin-testing/terraform" "github.com/hashicorp/terraform-provider-aws/internal/acctest" "github.com/hashicorp/terraform-provider-aws/internal/conns" tfappsync "github.com/hashicorp/terraform-provider-aws/internal/service/appsync" + "github.com/hashicorp/terraform-provider-aws/internal/tfresource" "github.com/hashicorp/terraform-provider-aws/names" ) func testAccDomainNameAPIAssociation_basic(t *testing.T) { ctx := acctest.Context(t) - var association appsync.ApiAssociation - appsyncCertDomain := getCertDomain(t) - + var association awstypes.ApiAssociation + appsyncCertDomain := acctest.SkipIfEnvVarNotSet(t, "AWS_APPSYNC_DOMAIN_NAME_CERTIFICATE_DOMAIN") rName := sdkacctest.RandString(8) resourceName := "aws_appsync_domain_name_api_association.test" resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), - ProtoV5ProviderFactories: acctest.ProtoV5FactoriesAlternate(ctx, t), + ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckDomainNameAPIAssociationDestroy(ctx), Steps: []resource.TestStep{ { @@ -61,16 +59,15 @@ func testAccDomainNameAPIAssociation_basic(t *testing.T) { func testAccDomainNameAPIAssociation_disappears(t *testing.T) { ctx := acctest.Context(t) - var association appsync.ApiAssociation - appsyncCertDomain := getCertDomain(t) - + var association awstypes.ApiAssociation + appsyncCertDomain := acctest.SkipIfEnvVarNotSet(t, "AWS_APPSYNC_DOMAIN_NAME_CERTIFICATE_DOMAIN") rName := sdkacctest.RandString(8) resourceName := "aws_appsync_domain_name_api_association.test" resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), - ProtoV5ProviderFactories: acctest.ProtoV5FactoriesAlternate(ctx, t), + ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckDomainNameAPIAssociationDestroy(ctx), Steps: []resource.TestStep{ { @@ -87,57 +84,54 @@ func testAccDomainNameAPIAssociation_disappears(t *testing.T) { func testAccCheckDomainNameAPIAssociationDestroy(ctx context.Context) resource.TestCheckFunc { return func(s *terraform.State) error { - conn := acctest.Provider.Meta().(*conns.AWSClient).AppSyncConn(ctx) + conn := acctest.Provider.Meta().(*conns.AWSClient).AppSyncClient(ctx) + for _, rs := range s.RootModule().Resources { if rs.Type != "aws_appsync_domain_name" { continue } - association, err := tfappsync.FindDomainNameAPIAssociationByID(ctx, conn, rs.Primary.ID) - if err == nil { - if tfawserr.ErrCodeEquals(err, appsync.ErrCodeNotFoundException) { - return nil - } - return err + _, err := tfappsync.FindDomainNameAPIAssociationByID(ctx, conn, rs.Primary.ID) + + if tfresource.NotFound(err) { + continue } - if association != nil && aws.StringValue(association.DomainName) == rs.Primary.ID { - return fmt.Errorf("Appsync Domain Name ID %q still exists", rs.Primary.ID) + if err != nil { + return err } - return nil + return fmt.Errorf("Appsync Domain Name API Association %s still exists", rs.Primary.ID) } + return nil } } -func testAccCheckDomainNameAPIAssociationExists(ctx context.Context, resourceName string, DomainNameAPIAssociation *appsync.ApiAssociation) resource.TestCheckFunc { +func testAccCheckDomainNameAPIAssociationExists(ctx context.Context, n string, v *awstypes.ApiAssociation) resource.TestCheckFunc { return func(s *terraform.State) error { - rs, ok := s.RootModule().Resources[resourceName] + rs, ok := s.RootModule().Resources[n] if !ok { - return fmt.Errorf("Appsync Domain Name Not found in state: %s", resourceName) + return fmt.Errorf("Not found: %s", n) } - conn := acctest.Provider.Meta().(*conns.AWSClient).AppSyncConn(ctx) - association, err := tfappsync.FindDomainNameAPIAssociationByID(ctx, conn, rs.Primary.ID) + conn := acctest.Provider.Meta().(*conns.AWSClient).AppSyncClient(ctx) + + output, err := tfappsync.FindDomainNameAPIAssociationByID(ctx, conn, rs.Primary.ID) + if err != nil { return err } - if association == nil || association.DomainName == nil { - return fmt.Errorf("Appsync Domain Name %q not found", rs.Primary.ID) - } - - *DomainNameAPIAssociation = *association + *v = *output return nil } } -func testAccDomainNameAPIAssociationBaseConfig(domain, rName string) string { - return acctest.ConfigAlternateRegionProvider() + fmt.Sprintf(` +func testAccDomainNameAPIAssociationConfig_base(domain, rName string) string { + return fmt.Sprintf(` data "aws_acm_certificate" "test" { - provider = "awsalternate" domain = "*.%[1]s" most_recent = true } @@ -155,16 +149,16 @@ resource "aws_appsync_graphql_api" "test" { } func testAccDomainNameAPIAssociationConfig_basic(domain, rName string) string { - return testAccDomainNameAPIAssociationBaseConfig(domain, rName) + ` + return acctest.ConfigCompose(testAccDomainNameAPIAssociationConfig_base(domain, rName), ` resource "aws_appsync_domain_name_api_association" "test" { api_id = aws_appsync_graphql_api.test.id domain_name = aws_appsync_domain_name.test.domain_name } -` +`) } func testAccDomainNameAPIAssociationConfig_updated(domain, rName string) string { - return testAccDomainNameAPIAssociationBaseConfig(domain, rName) + fmt.Sprintf(` + return acctest.ConfigCompose(testAccDomainNameAPIAssociationConfig_base(domain, rName), ` resource "aws_appsync_graphql_api" "test2" { authentication_type = "API_KEY" name = "%[1]s-2" diff --git a/internal/service/appsync/domain_name_test.go b/internal/service/appsync/domain_name_test.go index 4b28e443be8..36710ed83f7 100644 --- a/internal/service/appsync/domain_name_test.go +++ b/internal/service/appsync/domain_name_test.go @@ -8,31 +8,29 @@ import ( "fmt" "testing" - "github.com/aws/aws-sdk-go/aws" - "github.com/aws/aws-sdk-go/service/appsync" - "github.com/hashicorp/aws-sdk-go-base/v2/awsv1shim/v2/tfawserr" + awstypes "github.com/aws/aws-sdk-go-v2/service/appsync/types" sdkacctest "github.com/hashicorp/terraform-plugin-testing/helper/acctest" "github.com/hashicorp/terraform-plugin-testing/helper/resource" "github.com/hashicorp/terraform-plugin-testing/terraform" "github.com/hashicorp/terraform-provider-aws/internal/acctest" "github.com/hashicorp/terraform-provider-aws/internal/conns" tfappsync "github.com/hashicorp/terraform-provider-aws/internal/service/appsync" + "github.com/hashicorp/terraform-provider-aws/internal/tfresource" "github.com/hashicorp/terraform-provider-aws/names" ) func testAccDomainName_basic(t *testing.T) { ctx := acctest.Context(t) - var domainName appsync.DomainNameConfig - appsyncCertDomain := getCertDomain(t) - + var domainName awstypes.DomainNameConfig + appsyncCertDomain := acctest.SkipIfEnvVarNotSet(t, "AWS_APPSYNC_DOMAIN_NAME_CERTIFICATE_DOMAIN") rName := sdkacctest.RandString(8) acmCertificateResourceName := "data.aws_acm_certificate.test" resourceName := "aws_appsync_domain_name.test" resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), - ProtoV5ProviderFactories: acctest.ProtoV5FactoriesAlternate(ctx, t), + ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckDomainNameDestroy(ctx), Steps: []resource.TestStep{ { @@ -54,16 +52,15 @@ func testAccDomainName_basic(t *testing.T) { func testAccDomainName_description(t *testing.T) { ctx := acctest.Context(t) - var domainName appsync.DomainNameConfig - appsyncCertDomain := getCertDomain(t) - + var domainName awstypes.DomainNameConfig + appsyncCertDomain := acctest.SkipIfEnvVarNotSet(t, "AWS_APPSYNC_DOMAIN_NAME_CERTIFICATE_DOMAIN") rName := sdkacctest.RandString(8) resourceName := "aws_appsync_domain_name.test" resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), - ProtoV5ProviderFactories: acctest.ProtoV5FactoriesAlternate(ctx, t), + ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckDomainNameDestroy(ctx), Steps: []resource.TestStep{ { @@ -91,16 +88,15 @@ func testAccDomainName_description(t *testing.T) { func testAccDomainName_disappears(t *testing.T) { ctx := acctest.Context(t) - var domainName appsync.DomainNameConfig - appsyncCertDomain := getCertDomain(t) - + var domainName awstypes.DomainNameConfig + appsyncCertDomain := acctest.SkipIfEnvVarNotSet(t, "AWS_APPSYNC_DOMAIN_NAME_CERTIFICATE_DOMAIN") rName := sdkacctest.RandString(8) resourceName := "aws_appsync_domain_name.test" resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), - ProtoV5ProviderFactories: acctest.ProtoV5FactoriesAlternate(ctx, t), + ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckDomainNameDestroy(ctx), Steps: []resource.TestStep{ { @@ -117,57 +113,54 @@ func testAccDomainName_disappears(t *testing.T) { func testAccCheckDomainNameDestroy(ctx context.Context) resource.TestCheckFunc { return func(s *terraform.State) error { - conn := acctest.Provider.Meta().(*conns.AWSClient).AppSyncConn(ctx) + conn := acctest.Provider.Meta().(*conns.AWSClient).AppSyncClient(ctx) + for _, rs := range s.RootModule().Resources { if rs.Type != "aws_appsync_domain_name" { continue } - domainName, err := tfappsync.FindDomainNameByID(ctx, conn, rs.Primary.ID) - if err == nil { - if tfawserr.ErrCodeEquals(err, appsync.ErrCodeNotFoundException) { - return nil - } - return err + _, err := tfappsync.FindDomainNameByID(ctx, conn, rs.Primary.ID) + + if tfresource.NotFound(err) { + continue } - if domainName != nil && aws.StringValue(domainName.DomainName) == rs.Primary.ID { - return fmt.Errorf("Appsync Domain Name ID %q still exists", rs.Primary.ID) + if err != nil { + return err } - return nil + return fmt.Errorf("Appsync Domain Name %s still exists", rs.Primary.ID) } + return nil } } -func testAccCheckDomainNameExists(ctx context.Context, resourceName string, domainName *appsync.DomainNameConfig) resource.TestCheckFunc { +func testAccCheckDomainNameExists(ctx context.Context, n string, v *awstypes.DomainNameConfig) resource.TestCheckFunc { return func(s *terraform.State) error { - rs, ok := s.RootModule().Resources[resourceName] + rs, ok := s.RootModule().Resources[n] if !ok { - return fmt.Errorf("Appsync Domain Name Not found in state: %s", resourceName) + return fmt.Errorf("Not found: %s", n) } - conn := acctest.Provider.Meta().(*conns.AWSClient).AppSyncConn(ctx) - domain, err := tfappsync.FindDomainNameByID(ctx, conn, rs.Primary.ID) + conn := acctest.Provider.Meta().(*conns.AWSClient).AppSyncClient(ctx) + + output, err := tfappsync.FindDomainNameByID(ctx, conn, rs.Primary.ID) + if err != nil { return err } - if domain == nil || domain.DomainName == nil { - return fmt.Errorf("Appsync Domain Name %q not found", rs.Primary.ID) - } - - *domainName = *domain + *v = *output return nil } } -func testAccDomainNameBaseConfig(domain string) string { - return acctest.ConfigAlternateRegionProvider() + fmt.Sprintf(` +func testAccDomainNameConfig_base(domain string) string { + return fmt.Sprintf(` data "aws_acm_certificate" "test" { - provider = "awsalternate" domain = "*.%[1]s" most_recent = true } @@ -175,20 +168,20 @@ data "aws_acm_certificate" "test" { } func testAccDomainNameConfig_description(rName, domain, desc string) string { - return testAccDomainNameBaseConfig(domain) + fmt.Sprintf(` + return acctest.ConfigCompose(testAccDomainNameConfig_base(domain), fmt.Sprintf(` resource "aws_appsync_domain_name" "test" { domain_name = "%[2]s.%[1]s" certificate_arn = data.aws_acm_certificate.test.arn description = %[3]q } -`, domain, rName, desc) +`, domain, rName, desc)) } func testAccDomainNameConfig_basic(rName, domain string) string { - return testAccDomainNameBaseConfig(domain) + fmt.Sprintf(` + return acctest.ConfigCompose(testAccDomainNameConfig_base(domain), fmt.Sprintf(` resource "aws_appsync_domain_name" "test" { domain_name = "%[2]s.%[1]s" certificate_arn = data.aws_acm_certificate.test.arn } -`, domain, rName) +`, domain, rName)) } diff --git a/internal/service/appsync/exports_test.go b/internal/service/appsync/exports_test.go new file mode 100644 index 00000000000..8a96bc50732 --- /dev/null +++ b/internal/service/appsync/exports_test.go @@ -0,0 +1,28 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + +package appsync + +// Exports for use in tests only. +var ( + ResourceAPICache = resourceAPICache + ResourceAPIKey = resourceAPIKey + ResourceDataSource = resourceDataSource + ResourceDomainName = resourceDomainName + ResourceDomainNameAPIAssociation = resourceDomainNameAPIAssociation + ResourceFunction = resourceFunction + ResourceGraphQLAPI = resourceGraphQLAPI + ResourceResolver = resourceResolver + ResourceType = resourceType + + DefaultAuthorizerResultTTLInSeconds = defaultAuthorizerResultTTLInSeconds + FindAPICacheByID = findAPICacheByID + FindAPIKeyByTwoPartKey = findAPIKeyByTwoPartKey + FindDataSourceByTwoPartKey = findDataSourceByTwoPartKey + FindDomainNameAPIAssociationByID = findDomainNameAPIAssociationByID + FindDomainNameByID = findDomainNameByID + FindFunctionByTwoPartKey = findFunctionByTwoPartKey + FindGraphQLAPIByID = findGraphQLAPIByID + FindResolverByThreePartKey = findResolverByThreePartKey + FindTypeByThreePartKey = findTypeByThreePartKey +) diff --git a/internal/service/appsync/find.go b/internal/service/appsync/find.go deleted file mode 100644 index 05906df4040..00000000000 --- a/internal/service/appsync/find.go +++ /dev/null @@ -1,113 +0,0 @@ -// Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 - -package appsync - -import ( - "context" - - "github.com/aws/aws-sdk-go/aws" - "github.com/aws/aws-sdk-go/service/appsync" - "github.com/hashicorp/aws-sdk-go-base/v2/awsv1shim/v2/tfawserr" - "github.com/hashicorp/terraform-plugin-sdk/v2/helper/retry" - "github.com/hashicorp/terraform-provider-aws/internal/tfresource" -) - -func FindAPICacheByID(ctx context.Context, conn *appsync.AppSync, id string) (*appsync.ApiCache, error) { - input := &appsync.GetApiCacheInput{ - ApiId: aws.String(id), - } - out, err := conn.GetApiCacheWithContext(ctx, input) - - if tfawserr.ErrCodeEquals(err, appsync.ErrCodeNotFoundException) { - return nil, &retry.NotFoundError{ - LastError: err, - LastRequest: input, - } - } - - if err != nil { - return nil, err - } - - if out == nil { - return nil, tfresource.NewEmptyResultError(input) - } - - return out.ApiCache, nil -} - -func FindDomainNameByID(ctx context.Context, conn *appsync.AppSync, id string) (*appsync.DomainNameConfig, error) { - input := &appsync.GetDomainNameInput{ - DomainName: aws.String(id), - } - out, err := conn.GetDomainNameWithContext(ctx, input) - - if tfawserr.ErrCodeEquals(err, appsync.ErrCodeNotFoundException) { - return nil, &retry.NotFoundError{ - LastError: err, - LastRequest: input, - } - } - - if err != nil { - return nil, err - } - - if out == nil { - return nil, tfresource.NewEmptyResultError(input) - } - - return out.DomainNameConfig, nil -} - -func FindDomainNameAPIAssociationByID(ctx context.Context, conn *appsync.AppSync, id string) (*appsync.ApiAssociation, error) { - input := &appsync.GetApiAssociationInput{ - DomainName: aws.String(id), - } - out, err := conn.GetApiAssociationWithContext(ctx, input) - - if tfawserr.ErrCodeEquals(err, appsync.ErrCodeNotFoundException) { - return nil, &retry.NotFoundError{ - LastError: err, - LastRequest: input, - } - } - - if err != nil { - return nil, err - } - - if out == nil { - return nil, tfresource.NewEmptyResultError(input) - } - - return out.ApiAssociation, nil -} - -func FindTypeByThreePartKey(ctx context.Context, conn *appsync.AppSync, apiID, format, name string) (*appsync.Type, error) { - input := &appsync.GetTypeInput{ - ApiId: aws.String(apiID), - Format: aws.String(format), - TypeName: aws.String(name), - } - - output, err := conn.GetTypeWithContext(ctx, input) - - if tfawserr.ErrCodeEquals(err, appsync.ErrCodeNotFoundException) { - return nil, &retry.NotFoundError{ - LastError: err, - LastRequest: input, - } - } - - if err != nil { - return nil, err - } - - if output == nil || output.Type == nil { - return nil, tfresource.NewEmptyResultError(input) - } - - return output.Type, nil -} diff --git a/internal/service/appsync/function.go b/internal/service/appsync/function.go index 1007441b65c..4bf0e1a7c9f 100644 --- a/internal/service/appsync/function.go +++ b/internal/service/appsync/function.go @@ -10,20 +10,28 @@ import ( "strings" "github.com/YakDriver/regexache" - "github.com/aws/aws-sdk-go/aws" - "github.com/aws/aws-sdk-go/service/appsync" - "github.com/hashicorp/aws-sdk-go-base/v2/awsv1shim/v2/tfawserr" + "github.com/aws/aws-sdk-go-v2/aws" + "github.com/aws/aws-sdk-go-v2/service/appsync" + awstypes "github.com/aws/aws-sdk-go-v2/service/appsync/types" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" + "github.com/hashicorp/terraform-plugin-sdk/v2/helper/retry" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" "github.com/hashicorp/terraform-provider-aws/internal/conns" + "github.com/hashicorp/terraform-provider-aws/internal/enum" + "github.com/hashicorp/terraform-provider-aws/internal/errs" "github.com/hashicorp/terraform-provider-aws/internal/errs/sdkdiag" + "github.com/hashicorp/terraform-provider-aws/internal/tfresource" "github.com/hashicorp/terraform-provider-aws/internal/verify" "github.com/hashicorp/terraform-provider-aws/names" ) -// @SDKResource("aws_appsync_function") -func ResourceFunction() *schema.Resource { +const ( + functionVersion2018_05_29 = "2018-05-29" +) + +// @SDKResource("aws_appsync_function", name="Function") +func resourceFunction() *schema.Resource { return &schema.Resource{ CreateWithoutTimeout: resourceFunctionCreate, ReadWithoutTimeout: resourceFunctionRead, @@ -67,7 +75,7 @@ func ResourceFunction() *schema.Resource { Optional: true, Computed: true, ValidateFunc: validation.StringInSlice([]string{ - "2018-05-29", + functionVersion2018_05_29, }, true), }, "max_batch_size": { @@ -96,9 +104,9 @@ func ResourceFunction() *schema.Resource { Elem: &schema.Resource{ Schema: map[string]*schema.Schema{ names.AttrName: { - Type: schema.TypeString, - Required: true, - ValidateFunc: validation.StringInSlice(appsync.RuntimeName_Values(), false), + Type: schema.TypeString, + Required: true, + ValidateDiagFunc: enum.Validate[awstypes.RuntimeName](), }, "runtime_version": { Type: schema.TypeString, @@ -114,14 +122,14 @@ func ResourceFunction() *schema.Resource { Elem: &schema.Resource{ Schema: map[string]*schema.Schema{ "conflict_detection": { - Type: schema.TypeString, - Optional: true, - ValidateFunc: validation.StringInSlice(appsync.ConflictDetectionType_Values(), false), + Type: schema.TypeString, + Optional: true, + ValidateDiagFunc: enum.Validate[awstypes.ConflictDetectionType](), }, "conflict_handler": { - Type: schema.TypeString, - Optional: true, - ValidateFunc: validation.StringInSlice(appsync.ConflictHandlerType_Values(), false), + Type: schema.TypeString, + Optional: true, + ValidateDiagFunc: enum.Validate[awstypes.ConflictHandlerType](), }, "lambda_conflict_handler_config": { Type: schema.TypeList, @@ -146,15 +154,15 @@ func ResourceFunction() *schema.Resource { func resourceFunctionCreate(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics { var diags diag.Diagnostics - conn := meta.(*conns.AWSClient).AppSyncConn(ctx) + conn := meta.(*conns.AWSClient).AppSyncClient(ctx) apiID := d.Get("api_id").(string) - + name := d.Get(names.AttrName).(string) input := &appsync.CreateFunctionInput{ ApiId: aws.String(apiID), DataSourceName: aws.String(d.Get("data_source").(string)), FunctionVersion: aws.String(d.Get("function_version").(string)), - Name: aws.String(d.Get(names.AttrName).(string)), + Name: aws.String(name), } if v, ok := d.GetOk("code"); ok { @@ -165,92 +173,87 @@ func resourceFunctionCreate(ctx context.Context, d *schema.ResourceData, meta in input.Description = aws.String(v.(string)) } + if v, ok := d.GetOk("max_batch_size"); ok { + input.MaxBatchSize = int32(v.(int)) + } + if v, ok := d.GetOk("request_mapping_template"); ok { input.RequestMappingTemplate = aws.String(v.(string)) - input.FunctionVersion = aws.String("2018-05-29") + input.FunctionVersion = aws.String(functionVersion2018_05_29) } if v, ok := d.GetOk("response_mapping_template"); ok { input.ResponseMappingTemplate = aws.String(v.(string)) } - if v, ok := d.GetOkExists("max_batch_size"); ok { - input.MaxBatchSize = aws.Int64(int64(v.(int))) + if v, ok := d.GetOk("runtime"); ok && len(v.([]interface{})) > 0 { + input.Runtime = expandRuntime(v.([]interface{})) } if v, ok := d.GetOk("sync_config"); ok && len(v.([]interface{})) > 0 { input.SyncConfig = expandSyncConfig(v.([]interface{})) } - if v, ok := d.GetOk("runtime"); ok && len(v.([]interface{})) > 0 { - input.Runtime = expandRuntime(v.([]interface{})) - } + output, err := conn.CreateFunction(ctx, input) - resp, err := conn.CreateFunctionWithContext(ctx, input) if err != nil { return sdkdiag.AppendErrorf(diags, "creating AppSync Function: %s", err) } - d.SetId(fmt.Sprintf("%s-%s", apiID, aws.StringValue(resp.FunctionConfiguration.FunctionId))) + d.SetId(functionCreateResourceID(apiID, aws.ToString(output.FunctionConfiguration.FunctionId))) return append(diags, resourceFunctionRead(ctx, d, meta)...) } func resourceFunctionRead(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics { var diags diag.Diagnostics - conn := meta.(*conns.AWSClient).AppSyncConn(ctx) + conn := meta.(*conns.AWSClient).AppSyncClient(ctx) - apiID, functionID, err := DecodeFunctionID(d.Id()) + apiID, functionID, err := functionParseResourceID(d.Id()) if err != nil { - return sdkdiag.AppendErrorf(diags, "reading AppSync Function (%s): %s", d.Id(), err) + return sdkdiag.AppendFromErr(diags, err) } - input := &appsync.GetFunctionInput{ - ApiId: aws.String(apiID), - FunctionId: aws.String(functionID), - } + function, err := findFunctionByTwoPartKey(ctx, conn, apiID, functionID) - resp, err := conn.GetFunctionWithContext(ctx, input) - if tfawserr.ErrCodeEquals(err, appsync.ErrCodeNotFoundException) && !d.IsNewResource() { + if !d.IsNewResource() && tfresource.NotFound(err) { log.Printf("[WARN] AppSync Function (%s) not found, removing from state", d.Id()) d.SetId("") return diags } + if err != nil { - return sdkdiag.AppendErrorf(diags, "reading AppSync Function (%s): %s", d.Id(), err) + return sdkdiag.AppendErrorf(diags, "reading Appsync Function (%s): %s", d.Id(), err) } - function := resp.FunctionConfiguration d.Set("api_id", apiID) - d.Set("function_id", functionID) + d.Set(names.AttrARN, function.FunctionArn) + d.Set("code", function.Code) d.Set("data_source", function.DataSourceName) d.Set(names.AttrDescription, function.Description) - d.Set(names.AttrARN, function.FunctionArn) + d.Set("function_id", functionID) d.Set("function_version", function.FunctionVersion) + d.Set("max_batch_size", function.MaxBatchSize) d.Set(names.AttrName, function.Name) d.Set("request_mapping_template", function.RequestMappingTemplate) d.Set("response_mapping_template", function.ResponseMappingTemplate) - d.Set("max_batch_size", function.MaxBatchSize) - d.Set("code", function.Code) - - if err := d.Set("sync_config", flattenSyncConfig(function.SyncConfig)); err != nil { - return sdkdiag.AppendErrorf(diags, "setting sync_config: %s", err) - } - if err := d.Set("runtime", flattenRuntime(function.Runtime)); err != nil { return sdkdiag.AppendErrorf(diags, "setting runtime: %s", err) } + if err := d.Set("sync_config", flattenSyncConfig(function.SyncConfig)); err != nil { + return sdkdiag.AppendErrorf(diags, "setting sync_config: %s", err) + } return diags } func resourceFunctionUpdate(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics { var diags diag.Diagnostics - conn := meta.(*conns.AWSClient).AppSyncConn(ctx) + conn := meta.(*conns.AWSClient).AppSyncClient(ctx) - apiID, functionID, err := DecodeFunctionID(d.Id()) + apiID, functionID, err := functionParseResourceID(d.Id()) if err != nil { - return sdkdiag.AppendErrorf(diags, "updating AppSync Function (%s): %s", d.Id(), err) + return sdkdiag.AppendFromErr(diags, err) } input := &appsync.UpdateFunctionInput{ @@ -261,12 +264,16 @@ func resourceFunctionUpdate(ctx context.Context, d *schema.ResourceData, meta in Name: aws.String(d.Get(names.AttrName).(string)), } + if v, ok := d.GetOk("code"); ok { + input.Code = aws.String(v.(string)) + } + if v, ok := d.GetOk(names.AttrDescription); ok { input.Description = aws.String(v.(string)) } - if v, ok := d.GetOk("code"); ok { - input.Code = aws.String(v.(string)) + if v, ok := d.GetOk("max_batch_size"); ok { + input.MaxBatchSize = int32(v.(int)) } if v, ok := d.GetOk("request_mapping_template"); ok { @@ -277,19 +284,16 @@ func resourceFunctionUpdate(ctx context.Context, d *schema.ResourceData, meta in input.ResponseMappingTemplate = aws.String(v.(string)) } - if v, ok := d.GetOk("max_batch_size"); ok { - input.MaxBatchSize = aws.Int64(int64(v.(int))) + if v, ok := d.GetOk("runtime"); ok && len(v.([]interface{})) > 0 { + input.Runtime = expandRuntime(v.([]interface{})) } if v, ok := d.GetOk("sync_config"); ok && len(v.([]interface{})) > 0 { input.SyncConfig = expandSyncConfig(v.([]interface{})) } - if v, ok := d.GetOk("runtime"); ok && len(v.([]interface{})) > 0 { - input.Runtime = expandRuntime(v.([]interface{})) - } + _, err = conn.UpdateFunction(ctx, input) - _, err = conn.UpdateFunctionWithContext(ctx, input) if err != nil { return sdkdiag.AppendErrorf(diags, "updating AppSync Function (%s): %s", d.Id(), err) } @@ -299,22 +303,23 @@ func resourceFunctionUpdate(ctx context.Context, d *schema.ResourceData, meta in func resourceFunctionDelete(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics { var diags diag.Diagnostics - conn := meta.(*conns.AWSClient).AppSyncConn(ctx) + conn := meta.(*conns.AWSClient).AppSyncClient(ctx) - apiID, functionID, err := DecodeFunctionID(d.Id()) + apiID, functionID, err := functionParseResourceID(d.Id()) if err != nil { - return sdkdiag.AppendErrorf(diags, "deleting AppSync Function (%s): %s", d.Id(), err) + return sdkdiag.AppendFromErr(diags, err) } - input := &appsync.DeleteFunctionInput{ + log.Printf("[INFO] Deleting Appsync Function: %s", d.Id()) + _, err = conn.DeleteFunction(ctx, &appsync.DeleteFunctionInput{ ApiId: aws.String(apiID), FunctionId: aws.String(functionID), - } + }) - _, err = conn.DeleteFunctionWithContext(ctx, input) - if tfawserr.ErrCodeEquals(err, appsync.ErrCodeNotFoundException) { + if errs.IsA[*awstypes.NotFoundException](err) { return diags } + if err != nil { return sdkdiag.AppendErrorf(diags, "deleting AppSync Function (%s): %s", d.Id(), err) } @@ -322,109 +327,143 @@ func resourceFunctionDelete(ctx context.Context, d *schema.ResourceData, meta in return diags } -func DecodeFunctionID(id string) (string, string, error) { - idParts := strings.SplitN(id, "-", 2) - if len(idParts) != 2 { - return "", "", fmt.Errorf("expected ID in format ApiID-FunctionID, received: %s", id) +const functionResourceIDSeparator = "-" + +func functionCreateResourceID(apiID, functionID string) string { + parts := []string{apiID, functionID} + id := strings.Join(parts, functionResourceIDSeparator) + + return id +} + +func functionParseResourceID(id string) (string, string, error) { + parts := strings.SplitN(id, functionResourceIDSeparator, 2) + + if len(parts) != 2 || parts[0] == "" || parts[1] == "" { + return "", "", fmt.Errorf("unexpected format for ID (%[1]s), expected API-ID%[2]sFUNCTION-ID", id, functionResourceIDSeparator) } - return idParts[0], idParts[1], nil + + return parts[0], parts[1], nil } -func expandRuntime(l []interface{}) *appsync.AppSyncRuntime { - if len(l) == 0 || l[0] == nil { - return nil +func findFunctionByTwoPartKey(ctx context.Context, conn *appsync.Client, apiID, functionID string) (*awstypes.FunctionConfiguration, error) { + input := &appsync.GetFunctionInput{ + ApiId: aws.String(apiID), + FunctionId: aws.String(functionID), } - configured := l[0].(map[string]interface{}) + output, err := conn.GetFunction(ctx, input) - result := &appsync.AppSyncRuntime{} + if errs.IsA[*awstypes.NotFoundException](err) { + return nil, &retry.NotFoundError{ + LastError: err, + LastRequest: input, + } + } - if v, ok := configured[names.AttrName].(string); ok { - result.Name = aws.String(v) + if err != nil { + return nil, err } - if v, ok := configured["runtime_version"].(string); ok { - result.RuntimeVersion = aws.String(v) + if output == nil || output.FunctionConfiguration == nil { + return nil, tfresource.NewEmptyResultError(input) } - return result + return output.FunctionConfiguration, nil } -func flattenRuntime(config *appsync.AppSyncRuntime) []map[string]interface{} { - if config == nil { +func expandRuntime(tfList []interface{}) *awstypes.AppSyncRuntime { + if len(tfList) == 0 || tfList[0] == nil { return nil } - result := map[string]interface{}{ - names.AttrName: aws.StringValue(config.Name), - "runtime_version": aws.StringValue(config.RuntimeVersion), + tfMap := tfList[0].(map[string]interface{}) + apiObject := &awstypes.AppSyncRuntime{} + + if v, ok := tfMap[names.AttrName].(string); ok { + apiObject.Name = awstypes.RuntimeName(v) + } + + if v, ok := tfMap["runtime_version"].(string); ok { + apiObject.RuntimeVersion = aws.String(v) } - return []map[string]interface{}{result} + return apiObject } -func expandSyncConfig(l []interface{}) *appsync.SyncConfig { - if len(l) == 0 || l[0] == nil { +func flattenRuntime(apiObject *awstypes.AppSyncRuntime) []interface{} { + if apiObject == nil { return nil } - configured := l[0].(map[string]interface{}) + tfMap := map[string]interface{}{ + names.AttrName: apiObject.Name, + "runtime_version": aws.ToString(apiObject.RuntimeVersion), + } - result := &appsync.SyncConfig{} + return []interface{}{tfMap} +} - if v, ok := configured["conflict_detection"].(string); ok { - result.ConflictDetection = aws.String(v) +func expandSyncConfig(tfList []interface{}) *awstypes.SyncConfig { + if len(tfList) == 0 || tfList[0] == nil { + return nil } - if v, ok := configured["conflict_handler"].(string); ok { - result.ConflictHandler = aws.String(v) + tfMap := tfList[0].(map[string]interface{}) + apiObject := &awstypes.SyncConfig{} + + if v, ok := tfMap["conflict_detection"].(string); ok { + apiObject.ConflictDetection = awstypes.ConflictDetectionType(v) + } + + if v, ok := tfMap["conflict_handler"].(string); ok { + apiObject.ConflictHandler = awstypes.ConflictHandlerType(v) } - if v, ok := configured["lambda_conflict_handler_config"].([]interface{}); ok && len(v) > 0 { - result.LambdaConflictHandlerConfig = expandLambdaConflictHandlerConfig(v) + if v, ok := tfMap["lambda_conflict_handler_config"].([]interface{}); ok && len(v) > 0 { + apiObject.LambdaConflictHandlerConfig = expandLambdaConflictHandlerConfig(v) } - return result + return apiObject } -func flattenSyncConfig(config *appsync.SyncConfig) []map[string]interface{} { - if config == nil { +func flattenSyncConfig(apiObject *awstypes.SyncConfig) []interface{} { + if apiObject == nil { return nil } - result := map[string]interface{}{ - "conflict_detection": aws.StringValue(config.ConflictDetection), - "conflict_handler": aws.StringValue(config.ConflictHandler), - "lambda_conflict_handler_config": flattenLambdaConflictHandlerConfig(config.LambdaConflictHandlerConfig), + tfMap := map[string]interface{}{ + "conflict_detection": apiObject.ConflictDetection, + "conflict_handler": apiObject.ConflictHandler, + "lambda_conflict_handler_config": flattenLambdaConflictHandlerConfig(apiObject.LambdaConflictHandlerConfig), } - return []map[string]interface{}{result} + return []interface{}{tfMap} } -func expandLambdaConflictHandlerConfig(l []interface{}) *appsync.LambdaConflictHandlerConfig { - if len(l) == 0 || l[0] == nil { +func expandLambdaConflictHandlerConfig(tfList []interface{}) *awstypes.LambdaConflictHandlerConfig { + if len(tfList) == 0 || tfList[0] == nil { return nil } - configured := l[0].(map[string]interface{}) - - result := &appsync.LambdaConflictHandlerConfig{} + tfMap := tfList[0].(map[string]interface{}) + apiObject := &awstypes.LambdaConflictHandlerConfig{} - if v, ok := configured["lambda_conflict_handler_arn"].(string); ok { - result.LambdaConflictHandlerArn = aws.String(v) + if v, ok := tfMap["lambda_conflict_handler_arn"].(string); ok { + apiObject.LambdaConflictHandlerArn = aws.String(v) } - return result + return apiObject } -func flattenLambdaConflictHandlerConfig(config *appsync.LambdaConflictHandlerConfig) []map[string]interface{} { - if config == nil { +func flattenLambdaConflictHandlerConfig(apiObject *awstypes.LambdaConflictHandlerConfig) []interface{} { + if apiObject == nil { return nil } - result := map[string]interface{}{ - "lambda_conflict_handler_arn": aws.StringValue(config.LambdaConflictHandlerArn), + tfMap := map[string]interface{}{ + "lambda_conflict_handler_arn": aws.ToString(apiObject.LambdaConflictHandlerArn), } - return []map[string]interface{}{result} + return []interface{}{tfMap} } diff --git a/internal/service/appsync/function_test.go b/internal/service/appsync/function_test.go index 193e5734725..64077312e8a 100644 --- a/internal/service/appsync/function_test.go +++ b/internal/service/appsync/function_test.go @@ -9,15 +9,14 @@ import ( "testing" "github.com/YakDriver/regexache" - "github.com/aws/aws-sdk-go/aws" - "github.com/aws/aws-sdk-go/service/appsync" - "github.com/hashicorp/aws-sdk-go-base/v2/awsv1shim/v2/tfawserr" + awstypes "github.com/aws/aws-sdk-go-v2/service/appsync/types" sdkacctest "github.com/hashicorp/terraform-plugin-testing/helper/acctest" "github.com/hashicorp/terraform-plugin-testing/helper/resource" "github.com/hashicorp/terraform-plugin-testing/terraform" "github.com/hashicorp/terraform-provider-aws/internal/acctest" "github.com/hashicorp/terraform-provider-aws/internal/conns" tfappsync "github.com/hashicorp/terraform-provider-aws/internal/service/appsync" + "github.com/hashicorp/terraform-provider-aws/internal/tfresource" "github.com/hashicorp/terraform-provider-aws/names" ) @@ -27,10 +26,10 @@ func testAccFunction_basic(t *testing.T) { rName2 := fmt.Sprintf("tfexample%s", sdkacctest.RandString(8)) rName3 := fmt.Sprintf("tfexample%s", sdkacctest.RandString(8)) resourceName := "aws_appsync_function.test" - var config appsync.FunctionConfiguration + var config awstypes.FunctionConfiguration resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckFunctionDestroy(ctx), @@ -70,10 +69,10 @@ func testAccFunction_code(t *testing.T) { rName1 := fmt.Sprintf("tfacctest%d", sdkacctest.RandInt()) rName2 := fmt.Sprintf("tfexample%s", sdkacctest.RandString(8)) resourceName := "aws_appsync_function.test" - var config appsync.FunctionConfiguration + var config awstypes.FunctionConfiguration resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckFunctionDestroy(ctx), @@ -113,10 +112,10 @@ func testAccFunction_syncConfig(t *testing.T) { ctx := acctest.Context(t) rName := fmt.Sprintf("tfacctest%d", sdkacctest.RandInt()) resourceName := "aws_appsync_function.test" - var config appsync.FunctionConfiguration + var config awstypes.FunctionConfiguration resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckFunctionDestroy(ctx), @@ -144,10 +143,10 @@ func testAccFunction_description(t *testing.T) { rName1 := fmt.Sprintf("tfacctest%d", sdkacctest.RandInt()) rName2 := fmt.Sprintf("tfexample%s", sdkacctest.RandString(8)) resourceName := "aws_appsync_function.test" - var config appsync.FunctionConfiguration + var config awstypes.FunctionConfiguration resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckFunctionDestroy(ctx), @@ -180,10 +179,10 @@ func testAccFunction_responseMappingTemplate(t *testing.T) { rName1 := fmt.Sprintf("tfacctest%d", sdkacctest.RandInt()) rName2 := fmt.Sprintf("tfexample%s", sdkacctest.RandString(8)) resourceName := "aws_appsync_function.test" - var config appsync.FunctionConfiguration + var config awstypes.FunctionConfiguration resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckFunctionDestroy(ctx), @@ -208,10 +207,10 @@ func testAccFunction_disappears(t *testing.T) { rName1 := fmt.Sprintf("tfacctest%d", sdkacctest.RandInt()) rName2 := fmt.Sprintf("tfexample%s", sdkacctest.RandString(8)) resourceName := "aws_appsync_function.test" - var config appsync.FunctionConfiguration + var config awstypes.FunctionConfiguration resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckFunctionDestroy(ctx), @@ -230,60 +229,46 @@ func testAccFunction_disappears(t *testing.T) { func testAccCheckFunctionDestroy(ctx context.Context) resource.TestCheckFunc { return func(s *terraform.State) error { - conn := acctest.Provider.Meta().(*conns.AWSClient).AppSyncConn(ctx) + conn := acctest.Provider.Meta().(*conns.AWSClient).AppSyncClient(ctx) + for _, rs := range s.RootModule().Resources { if rs.Type != "aws_appsync_function" { continue } - apiID, functionID, err := tfappsync.DecodeFunctionID(rs.Primary.ID) - if err != nil { - return err - } + _, err := tfappsync.FindFunctionByTwoPartKey(ctx, conn, rs.Primary.Attributes["api_id"], rs.Primary.Attributes["function_id"]) - input := &appsync.GetFunctionInput{ - ApiId: aws.String(apiID), - FunctionId: aws.String(functionID), + if tfresource.NotFound(err) { + continue } - _, err = conn.GetFunctionWithContext(ctx, input) if err != nil { - if tfawserr.ErrCodeEquals(err, appsync.ErrCodeNotFoundException) { - return nil - } return err } + + return fmt.Errorf("Appsync Function %s still exists", rs.Primary.ID) } + return nil } } -func testAccCheckFunctionExists(ctx context.Context, name string, config *appsync.FunctionConfiguration) resource.TestCheckFunc { +func testAccCheckFunctionExists(ctx context.Context, n string, v *awstypes.FunctionConfiguration) resource.TestCheckFunc { return func(s *terraform.State) error { - rs, ok := s.RootModule().Resources[name] + rs, ok := s.RootModule().Resources[n] if !ok { - return fmt.Errorf("Not found: %s", name) + return fmt.Errorf("Not found: %s", n) } - conn := acctest.Provider.Meta().(*conns.AWSClient).AppSyncConn(ctx) - - apiID, functionID, err := tfappsync.DecodeFunctionID(rs.Primary.ID) - if err != nil { - return err - } - - input := &appsync.GetFunctionInput{ - ApiId: aws.String(apiID), - FunctionId: aws.String(functionID), - } + conn := acctest.Provider.Meta().(*conns.AWSClient).AppSyncClient(ctx) - output, err := conn.GetFunctionWithContext(ctx, input) + output, err := tfappsync.FindFunctionByTwoPartKey(ctx, conn, rs.Primary.Attributes["api_id"], rs.Primary.Attributes["function_id"]) if err != nil { return err } - *config = *output.FunctionConfiguration + *v = *output return nil } diff --git a/internal/service/appsync/generate.go b/internal/service/appsync/generate.go index 3efb706569b..7e26da3e015 100644 --- a/internal/service/appsync/generate.go +++ b/internal/service/appsync/generate.go @@ -1,7 +1,8 @@ // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 -//go:generate go run ../../generate/tags/main.go -ListTags -ServiceTagsMap -UpdateTags +//go:generate go run ../../generate/listpages/main.go -AWSSDKVersion=2 -ListOps=ListApiKeys,ListDomainNames,ListGraphqlApis +//go:generate go run ../../generate/tags/main.go -AWSSDKVersion=2 -ListTags -ServiceTagsMap -UpdateTags -KVTValues -SkipTypesImp //go:generate go run ../../generate/servicepackage/main.go // ONLY generate directives and package declaration! Do not add anything else to this file. diff --git a/internal/service/appsync/graphql_api.go b/internal/service/appsync/graphql_api.go index 005f8f6c637..f5cc5f6315c 100644 --- a/internal/service/appsync/graphql_api.go +++ b/internal/service/appsync/graphql_api.go @@ -11,14 +11,16 @@ import ( "time" "github.com/YakDriver/regexache" - "github.com/aws/aws-sdk-go/aws" - "github.com/aws/aws-sdk-go/service/appsync" - "github.com/hashicorp/aws-sdk-go-base/v2/awsv1shim/v2/tfawserr" + "github.com/aws/aws-sdk-go-v2/aws" + "github.com/aws/aws-sdk-go-v2/service/appsync" + awstypes "github.com/aws/aws-sdk-go-v2/service/appsync/types" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/retry" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" "github.com/hashicorp/terraform-provider-aws/internal/conns" + "github.com/hashicorp/terraform-provider-aws/internal/enum" + "github.com/hashicorp/terraform-provider-aws/internal/errs" "github.com/hashicorp/terraform-provider-aws/internal/errs/sdkdiag" tftags "github.com/hashicorp/terraform-provider-aws/internal/tags" "github.com/hashicorp/terraform-provider-aws/internal/tfresource" @@ -26,13 +28,15 @@ import ( "github.com/hashicorp/terraform-provider-aws/names" ) -var validateAuthorizerResultTTLInSeconds = validation.IntBetween(0, 3600) - -const DefaultAuthorizerResultTTLInSeconds = 300 +const ( + defaultAuthorizerResultTTLInSeconds = 300 +) // @SDKResource("aws_appsync_graphql_api", name="GraphQL API") // @Tags(identifierAttribute="arn") -func ResourceGraphQLAPI() *schema.Resource { +func resourceGraphQLAPI() *schema.Resource { + validateAuthorizerResultTTLInSeconds := validation.IntBetween(0, 3600) + return &schema.Resource{ CreateWithoutTimeout: resourceGraphQLAPICreate, ReadWithoutTimeout: resourceGraphQLAPIRead, @@ -50,9 +54,9 @@ func ResourceGraphQLAPI() *schema.Resource { Elem: &schema.Resource{ Schema: map[string]*schema.Schema{ "authentication_type": { - Type: schema.TypeString, - Required: true, - ValidateFunc: validation.StringInSlice(appsync.AuthenticationType_Values(), false), + Type: schema.TypeString, + Required: true, + ValidateDiagFunc: enum.Validate[awstypes.AuthenticationType](), }, "lambda_authorizer_config": { Type: schema.TypeList, @@ -63,7 +67,7 @@ func ResourceGraphQLAPI() *schema.Resource { "authorizer_result_ttl_in_seconds": { Type: schema.TypeInt, Optional: true, - Default: DefaultAuthorizerResultTTLInSeconds, + Default: defaultAuthorizerResultTTLInSeconds, ValidateFunc: validateAuthorizerResultTTLInSeconds, }, "authorizer_uri": { @@ -132,15 +136,15 @@ func ResourceGraphQLAPI() *schema.Resource { Computed: true, }, "authentication_type": { - Type: schema.TypeString, - Required: true, - ValidateFunc: validation.StringInSlice(appsync.AuthenticationType_Values(), false), + Type: schema.TypeString, + Required: true, + ValidateDiagFunc: enum.Validate[awstypes.AuthenticationType](), }, "introspection_config": { - Type: schema.TypeString, - Optional: true, - Default: appsync.GraphQLApiIntrospectionConfigEnabled, - ValidateFunc: validation.StringInSlice(appsync.GraphQLApiIntrospectionConfig_Values(), false), + Type: schema.TypeString, + Optional: true, + Default: awstypes.GraphQLApiIntrospectionConfigEnabled, + ValidateDiagFunc: enum.Validate[awstypes.GraphQLApiIntrospectionConfig](), }, "lambda_authorizer_config": { Type: schema.TypeList, @@ -151,7 +155,7 @@ func ResourceGraphQLAPI() *schema.Resource { "authorizer_result_ttl_in_seconds": { Type: schema.TypeInt, Optional: true, - Default: DefaultAuthorizerResultTTLInSeconds, + Default: defaultAuthorizerResultTTLInSeconds, ValidateFunc: validateAuthorizerResultTTLInSeconds, }, "authorizer_uri": { @@ -182,23 +186,17 @@ func ResourceGraphQLAPI() *schema.Resource { Default: false, }, "field_log_level": { - Type: schema.TypeString, - Required: true, - ValidateFunc: validation.StringInSlice(appsync.FieldLogLevel_Values(), false), + Type: schema.TypeString, + Required: true, + ValidateDiagFunc: enum.Validate[awstypes.FieldLogLevel](), }, }, }, }, names.AttrName: { - Type: schema.TypeString, - Required: true, - ValidateFunc: func(v interface{}, k string) (ws []string, errors []error) { - value := v.(string) - if !regexache.MustCompile(`[A-Za-z_][0-9A-Za-z_]*`).MatchString(value) { - errors = append(errors, fmt.Errorf("%q must match [A-Za-z_][0-9A-Za-z_]*", k)) - } - return - }, + Type: schema.TypeString, + Required: true, + ValidateFunc: validation.StringMatch(regexache.MustCompile(`[A-Za-z_][0-9A-Za-z_]*`), ""), }, "openid_connect_config": { Type: schema.TypeList, @@ -264,9 +262,9 @@ func ResourceGraphQLAPI() *schema.Resource { Computed: true, }, names.AttrDefaultAction: { - Type: schema.TypeString, - Required: true, - ValidateFunc: validation.StringInSlice(appsync.DefaultAction_Values(), false), + Type: schema.TypeString, + Required: true, + ValidateDiagFunc: enum.Validate[awstypes.DefaultAction](), }, names.AttrUserPoolID: { Type: schema.TypeString, @@ -276,11 +274,11 @@ func ResourceGraphQLAPI() *schema.Resource { }, }, "visibility": { - Type: schema.TypeString, - Optional: true, - ForceNew: true, - Default: appsync.GraphQLApiVisibilityGlobal, - ValidateFunc: validation.StringInSlice(appsync.GraphQLApiVisibility_Values(), false), + Type: schema.TypeString, + Optional: true, + ForceNew: true, + Default: awstypes.GraphQLApiVisibilityGlobal, + ValidateDiagFunc: enum.Validate[awstypes.GraphQLApiVisibility](), }, "xray_enabled": { Type: schema.TypeBool, @@ -294,62 +292,62 @@ func ResourceGraphQLAPI() *schema.Resource { func resourceGraphQLAPICreate(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics { var diags diag.Diagnostics - conn := meta.(*conns.AWSClient).AppSyncConn(ctx) + conn := meta.(*conns.AWSClient).AppSyncClient(ctx) name := d.Get(names.AttrName).(string) input := &appsync.CreateGraphqlApiInput{ - AuthenticationType: aws.String(d.Get("authentication_type").(string)), + AuthenticationType: awstypes.AuthenticationType(d.Get("authentication_type").(string)), Name: aws.String(name), Tags: getTagsIn(ctx), } if v, ok := d.GetOk("additional_authentication_provider"); ok { - input.AdditionalAuthenticationProviders = expandGraphQLAPIAdditionalAuthProviders(v.([]interface{}), meta.(*conns.AWSClient).Region) + input.AdditionalAuthenticationProviders = expandAdditionalAuthenticationProviders(v.([]interface{}), meta.(*conns.AWSClient).Region) + } + + if v, ok := d.GetOk("introspection_config"); ok { + input.IntrospectionConfig = awstypes.GraphQLApiIntrospectionConfig(v.(string)) } if v, ok := d.GetOk("lambda_authorizer_config"); ok { - input.LambdaAuthorizerConfig = expandGraphQLAPILambdaAuthorizerConfig(v.([]interface{})) + input.LambdaAuthorizerConfig = expandLambdaAuthorizerConfig(v.([]interface{})) } if v, ok := d.GetOk("log_config"); ok { - input.LogConfig = expandGraphQLAPILogConfig(v.([]interface{})) + input.LogConfig = expandLogConfig(v.([]interface{})) } if v, ok := d.GetOk("openid_connect_config"); ok { - input.OpenIDConnectConfig = expandGraphQLAPIOpenIDConnectConfig(v.([]interface{})) - } - - if v, ok := d.GetOk("user_pool_config"); ok { - input.UserPoolConfig = expandGraphQLAPIUserPoolConfig(v.([]interface{}), meta.(*conns.AWSClient).Region) - } - - if v, ok := d.GetOk("introspection_config"); ok { - input.IntrospectionConfig = aws.String(v.(string)) + input.OpenIDConnectConfig = expandOpenIDConnectConfig(v.([]interface{})) } if v, ok := d.GetOk("query_depth_limit"); ok { - input.QueryDepthLimit = aws.Int64(int64(v.(int))) + input.QueryDepthLimit = int32(v.(int)) } if v, ok := d.GetOk("resolver_count_limit"); ok { - input.ResolverCountLimit = aws.Int64(int64(v.(int))) + input.ResolverCountLimit = int32(v.(int)) + } + + if v, ok := d.GetOk("user_pool_config"); ok { + input.UserPoolConfig = expandUserPoolConfig(v.([]interface{}), meta.(*conns.AWSClient).Region) } if v, ok := d.GetOk("xray_enabled"); ok { - input.XrayEnabled = aws.Bool(v.(bool)) + input.XrayEnabled = v.(bool) } if v, ok := d.GetOk("visibility"); ok { - input.Visibility = aws.String(v.(string)) + input.Visibility = awstypes.GraphQLApiVisibility(v.(string)) } - output, err := conn.CreateGraphqlApiWithContext(ctx, input) + output, err := conn.CreateGraphqlApi(ctx, input) if err != nil { return sdkdiag.AppendErrorf(diags, "creating AppSync GraphQL API (%s): %s", name, err) } - d.SetId(aws.StringValue(output.GraphqlApi.ApiId)) + d.SetId(aws.ToString(output.GraphqlApi.ApiId)) if v, ok := d.GetOk(names.AttrSchema); ok { if err := putSchema(ctx, conn, d.Id(), v.(string), d.Timeout(schema.TimeoutCreate)); err != nil { @@ -362,9 +360,9 @@ func resourceGraphQLAPICreate(ctx context.Context, d *schema.ResourceData, meta func resourceGraphQLAPIRead(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics { var diags diag.Diagnostics - conn := meta.(*conns.AWSClient).AppSyncConn(ctx) + conn := meta.(*conns.AWSClient).AppSyncClient(ctx) - api, err := FindGraphQLAPIByID(ctx, conn, d.Id()) + api, err := findGraphQLAPIByID(ctx, conn, d.Id()) if !d.IsNewResource() && tfresource.NotFound(err) { log.Printf("[WARN] AppSync GraphQL API (%s) not found, removing from state", d.Id()) @@ -376,32 +374,30 @@ func resourceGraphQLAPIRead(ctx context.Context, d *schema.ResourceData, meta in return sdkdiag.AppendErrorf(diags, "reading AppSync GraphQL API (%s): %s", d.Id(), err) } - if err := d.Set("additional_authentication_provider", flattenGraphQLAPIAdditionalAuthenticationProviders(api.AdditionalAuthenticationProviders)); err != nil { + if err := d.Set("additional_authentication_provider", flattenAdditionalAuthenticationProviders(api.AdditionalAuthenticationProviders)); err != nil { return sdkdiag.AppendErrorf(diags, "setting additional_authentication_provider: %s", err) } d.Set(names.AttrARN, api.Arn) d.Set("authentication_type", api.AuthenticationType) - if err := d.Set("lambda_authorizer_config", flattenGraphQLAPILambdaAuthorizerConfig(api.LambdaAuthorizerConfig)); err != nil { + d.Set("introspection_config", api.IntrospectionConfig) + if err := d.Set("lambda_authorizer_config", flattenLambdaAuthorizerConfig(api.LambdaAuthorizerConfig)); err != nil { return sdkdiag.AppendErrorf(diags, "setting lambda_authorizer_config: %s", err) } - if err := d.Set("log_config", flattenGraphQLAPILogConfig(api.LogConfig)); err != nil { + if err := d.Set("log_config", flattenLogConfig(api.LogConfig)); err != nil { return sdkdiag.AppendErrorf(diags, "setting log_config: %s", err) } - if err := d.Set("openid_connect_config", flattenGraphQLAPIOpenIDConnectConfig(api.OpenIDConnectConfig)); err != nil { + d.Set(names.AttrName, api.Name) + if err := d.Set("openid_connect_config", flattenOpenIDConnectConfig(api.OpenIDConnectConfig)); err != nil { return sdkdiag.AppendErrorf(diags, "setting openid_connect_config: %s", err) } - d.Set("introspection_config", api.IntrospectionConfig) - d.Set(names.AttrName, api.Name) d.Set("query_depth_limit", api.QueryDepthLimit) d.Set("resolver_count_limit", api.ResolverCountLimit) - d.Set("uris", aws.StringValueMap(api.Uris)) - if err := d.Set("user_pool_config", flattenGraphQLAPIUserPoolConfig(api.UserPoolConfig)); err != nil { + d.Set("uris", api.Uris) + if err := d.Set("user_pool_config", flattenUserPoolConfig(api.UserPoolConfig)); err != nil { return sdkdiag.AppendErrorf(diags, "setting user_pool_config: %s", err) } d.Set("visibility", api.Visibility) - if err := d.Set("xray_enabled", api.XrayEnabled); err != nil { - return sdkdiag.AppendErrorf(diags, "setting xray_enabled: %s", err) - } + d.Set("xray_enabled", api.XrayEnabled) setTagsOut(ctx, api.Tags) @@ -410,52 +406,52 @@ func resourceGraphQLAPIRead(ctx context.Context, d *schema.ResourceData, meta in func resourceGraphQLAPIUpdate(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics { var diags diag.Diagnostics - conn := meta.(*conns.AWSClient).AppSyncConn(ctx) + conn := meta.(*conns.AWSClient).AppSyncClient(ctx) if d.HasChangesExcept(names.AttrTags, names.AttrTagsAll) { input := &appsync.UpdateGraphqlApiInput{ ApiId: aws.String(d.Id()), - AuthenticationType: aws.String(d.Get("authentication_type").(string)), + AuthenticationType: awstypes.AuthenticationType(d.Get("authentication_type").(string)), Name: aws.String(d.Get(names.AttrName).(string)), } if v, ok := d.GetOk("additional_authentication_provider"); ok { - input.AdditionalAuthenticationProviders = expandGraphQLAPIAdditionalAuthProviders(v.([]interface{}), meta.(*conns.AWSClient).Region) + input.AdditionalAuthenticationProviders = expandAdditionalAuthenticationProviders(v.([]interface{}), meta.(*conns.AWSClient).Region) + } + + if v, ok := d.GetOk("introspection_config"); ok { + input.IntrospectionConfig = awstypes.GraphQLApiIntrospectionConfig(v.(string)) } if v, ok := d.GetOk("lambda_authorizer_config"); ok { - input.LambdaAuthorizerConfig = expandGraphQLAPILambdaAuthorizerConfig(v.([]interface{})) + input.LambdaAuthorizerConfig = expandLambdaAuthorizerConfig(v.([]interface{})) } if v, ok := d.GetOk("log_config"); ok { - input.LogConfig = expandGraphQLAPILogConfig(v.([]interface{})) + input.LogConfig = expandLogConfig(v.([]interface{})) } if v, ok := d.GetOk("openid_connect_config"); ok { - input.OpenIDConnectConfig = expandGraphQLAPIOpenIDConnectConfig(v.([]interface{})) - } - - if v, ok := d.GetOk("user_pool_config"); ok { - input.UserPoolConfig = expandGraphQLAPIUserPoolConfig(v.([]interface{}), meta.(*conns.AWSClient).Region) - } - - if v, ok := d.GetOk("introspection_config"); ok { - input.IntrospectionConfig = aws.String(v.(string)) + input.OpenIDConnectConfig = expandOpenIDConnectConfig(v.([]interface{})) } if v, ok := d.GetOk("query_depth_limit"); ok { - input.QueryDepthLimit = aws.Int64(int64(v.(int))) + input.QueryDepthLimit = int32(v.(int)) } if v, ok := d.GetOk("resolver_count_limit"); ok { - input.ResolverCountLimit = aws.Int64(int64(v.(int))) + input.ResolverCountLimit = int32(v.(int)) + } + + if v, ok := d.GetOk("user_pool_config"); ok { + input.UserPoolConfig = expandUserPoolConfig(v.([]interface{}), meta.(*conns.AWSClient).Region) } if v, ok := d.GetOk("xray_enabled"); ok { - input.XrayEnabled = aws.Bool(v.(bool)) + input.XrayEnabled = v.(bool) } - _, err := conn.UpdateGraphqlApiWithContext(ctx, input) + _, err := conn.UpdateGraphqlApi(ctx, input) if err != nil { return sdkdiag.AppendErrorf(diags, "updating AppSync GraphQL API (%s): %s", d.Id(), err) @@ -463,7 +459,7 @@ func resourceGraphQLAPIUpdate(ctx context.Context, d *schema.ResourceData, meta if d.HasChange(names.AttrSchema) { if v, ok := d.GetOk(names.AttrSchema); ok { - if err := putSchema(ctx, conn, d.Id(), v.(string), d.Timeout(schema.TimeoutCreate)); err != nil { + if err := putSchema(ctx, conn, d.Id(), v.(string), d.Timeout(schema.TimeoutUpdate)); err != nil { return sdkdiag.AppendFromErr(diags, err) } } @@ -475,14 +471,14 @@ func resourceGraphQLAPIUpdate(ctx context.Context, d *schema.ResourceData, meta func resourceGraphQLAPIDelete(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics { var diags diag.Diagnostics - conn := meta.(*conns.AWSClient).AppSyncConn(ctx) + conn := meta.(*conns.AWSClient).AppSyncClient(ctx) log.Printf("[DEBUG] Deleting AppSync GraphQL API: %s", d.Id()) - _, err := conn.DeleteGraphqlApiWithContext(ctx, &appsync.DeleteGraphqlApiInput{ + _, err := conn.DeleteGraphqlApi(ctx, &appsync.DeleteGraphqlApiInput{ ApiId: aws.String(d.Id()), }) - if tfawserr.ErrCodeEquals(err, appsync.ErrCodeNotFoundException) { + if errs.IsA[*awstypes.NotFoundException](err) { return diags } @@ -493,33 +489,33 @@ func resourceGraphQLAPIDelete(ctx context.Context, d *schema.ResourceData, meta return diags } -func putSchema(ctx context.Context, conn *appsync.AppSync, apiID, definition string, timeout time.Duration) error { +func putSchema(ctx context.Context, conn *appsync.Client, apiID, definition string, timeout time.Duration) error { input := &appsync.StartSchemaCreationInput{ ApiId: aws.String(apiID), Definition: ([]byte)(definition), } - _, err := conn.StartSchemaCreationWithContext(ctx, input) + _, err := conn.StartSchemaCreation(ctx, input) if err != nil { return fmt.Errorf("creating AppSync GraphQL API (%s) schema: %w", apiID, err) } - if err := waitSchemaCreated(ctx, conn, apiID, timeout); err != nil { + if _, err := waitSchemaCreated(ctx, conn, apiID, timeout); err != nil { return fmt.Errorf("waiting for AppSync GraphQL API (%s) schema create: %w", apiID, err) } return nil } -func FindGraphQLAPIByID(ctx context.Context, conn *appsync.AppSync, id string) (*appsync.GraphqlApi, error) { +func findGraphQLAPIByID(ctx context.Context, conn *appsync.Client, id string) (*awstypes.GraphqlApi, error) { input := &appsync.GetGraphqlApiInput{ ApiId: aws.String(id), } - output, err := conn.GetGraphqlApiWithContext(ctx, input) + output, err := conn.GetGraphqlApi(ctx, input) - if tfawserr.ErrCodeEquals(err, appsync.ErrCodeNotFoundException) { + if errs.IsA[*awstypes.NotFoundException](err) { return nil, &retry.NotFoundError{ LastError: err, LastRequest: input, @@ -537,14 +533,14 @@ func FindGraphQLAPIByID(ctx context.Context, conn *appsync.AppSync, id string) ( return output.GraphqlApi, nil } -func findSchemaCreationStatusByID(ctx context.Context, conn *appsync.AppSync, id string) (*appsync.GetSchemaCreationStatusOutput, error) { +func findSchemaCreationStatusByID(ctx context.Context, conn *appsync.Client, id string) (*appsync.GetSchemaCreationStatusOutput, error) { input := &appsync.GetSchemaCreationStatusInput{ ApiId: aws.String(id), } - output, err := conn.GetSchemaCreationStatusWithContext(ctx, input) + output, err := conn.GetSchemaCreationStatus(ctx, input) - if tfawserr.ErrCodeEquals(err, appsync.ErrCodeNotFoundException) { + if errs.IsA[*awstypes.NotFoundException](err) { return nil, &retry.NotFoundError{ LastError: err, LastRequest: input, @@ -562,7 +558,7 @@ func findSchemaCreationStatusByID(ctx context.Context, conn *appsync.AppSync, id return output, nil } -func statusSchemaCreation(ctx context.Context, conn *appsync.AppSync, id string) retry.StateRefreshFunc { +func statusSchemaCreation(ctx context.Context, conn *appsync.Client, id string) retry.StateRefreshFunc { return func() (interface{}, string, error) { output, err := findSchemaCreationStatusByID(ctx, conn, id) @@ -574,14 +570,14 @@ func statusSchemaCreation(ctx context.Context, conn *appsync.AppSync, id string) return nil, "", err } - return output, aws.StringValue(output.Status), nil + return output, string(output.Status), nil } } -func waitSchemaCreated(ctx context.Context, conn *appsync.AppSync, id string, timeout time.Duration) error { +func waitSchemaCreated(ctx context.Context, conn *appsync.Client, id string, timeout time.Duration) (*appsync.GetSchemaCreationStatusOutput, error) { stateConf := &retry.StateChangeConf{ - Pending: []string{appsync.SchemaStatusProcessing}, - Target: []string{appsync.SchemaStatusActive, appsync.SchemaStatusSuccess}, + Pending: enum.Slice(awstypes.SchemaStatusProcessing), + Target: enum.Slice(awstypes.SchemaStatusActive, awstypes.SchemaStatusSuccess), Refresh: statusSchemaCreation(ctx, conn, id), Timeout: timeout, } @@ -589,254 +585,245 @@ func waitSchemaCreated(ctx context.Context, conn *appsync.AppSync, id string, ti outputRaw, err := stateConf.WaitForStateContext(ctx) if output, ok := outputRaw.(*appsync.GetSchemaCreationStatusOutput); ok { - tfresource.SetLastError(err, errors.New(aws.StringValue(output.Details))) + tfresource.SetLastError(err, errors.New(aws.ToString(output.Details))) + return output, err } - return err + return nil, err } -func expandGraphQLAPILogConfig(l []interface{}) *appsync.LogConfig { - if len(l) < 1 || l[0] == nil { +func expandLogConfig(tfList []interface{}) *awstypes.LogConfig { + if len(tfList) < 1 || tfList[0] == nil { return nil } - m := l[0].(map[string]interface{}) - - logConfig := &appsync.LogConfig{ - CloudWatchLogsRoleArn: aws.String(m["cloudwatch_logs_role_arn"].(string)), - FieldLogLevel: aws.String(m["field_log_level"].(string)), - ExcludeVerboseContent: aws.Bool(m["exclude_verbose_content"].(bool)), + tfMap := tfList[0].(map[string]interface{}) + apiObject := &awstypes.LogConfig{ + CloudWatchLogsRoleArn: aws.String(tfMap["cloudwatch_logs_role_arn"].(string)), + ExcludeVerboseContent: tfMap["exclude_verbose_content"].(bool), + FieldLogLevel: awstypes.FieldLogLevel(tfMap["field_log_level"].(string)), } - return logConfig + return apiObject } -func expandGraphQLAPIOpenIDConnectConfig(l []interface{}) *appsync.OpenIDConnectConfig { - if len(l) < 1 || l[0] == nil { +func expandOpenIDConnectConfig(tfList []interface{}) *awstypes.OpenIDConnectConfig { + if len(tfList) < 1 || tfList[0] == nil { return nil } - m := l[0].(map[string]interface{}) - - openIDConnectConfig := &appsync.OpenIDConnectConfig{ - Issuer: aws.String(m[names.AttrIssuer].(string)), + tfMap := tfList[0].(map[string]interface{}) + apiObject := &awstypes.OpenIDConnectConfig{ + Issuer: aws.String(tfMap[names.AttrIssuer].(string)), } - if v, ok := m["auth_ttl"].(int); ok && v != 0 { - openIDConnectConfig.AuthTTL = aws.Int64(int64(v)) + if v, ok := tfMap["auth_ttl"].(int); ok && v != 0 { + apiObject.AuthTTL = int64(v) } - if v, ok := m[names.AttrClientID].(string); ok && v != "" { - openIDConnectConfig.ClientId = aws.String(v) + if v, ok := tfMap[names.AttrClientID].(string); ok && v != "" { + apiObject.ClientId = aws.String(v) } - if v, ok := m["iat_ttl"].(int); ok && v != 0 { - openIDConnectConfig.IatTTL = aws.Int64(int64(v)) + if v, ok := tfMap["iat_ttl"].(int); ok && v != 0 { + apiObject.IatTTL = int64(v) } - return openIDConnectConfig + return apiObject } -func expandGraphQLAPIUserPoolConfig(l []interface{}, currentRegion string) *appsync.UserPoolConfig { - if len(l) < 1 || l[0] == nil { +func expandUserPoolConfig(tfList []interface{}, currentRegion string) *awstypes.UserPoolConfig { + if len(tfList) < 1 || tfList[0] == nil { return nil } - m := l[0].(map[string]interface{}) - - userPoolConfig := &appsync.UserPoolConfig{ + tfMap := tfList[0].(map[string]interface{}) + apiObject := &awstypes.UserPoolConfig{ AwsRegion: aws.String(currentRegion), - DefaultAction: aws.String(m[names.AttrDefaultAction].(string)), - UserPoolId: aws.String(m[names.AttrUserPoolID].(string)), + DefaultAction: awstypes.DefaultAction(tfMap[names.AttrDefaultAction].(string)), + UserPoolId: aws.String(tfMap[names.AttrUserPoolID].(string)), } - if v, ok := m["app_id_client_regex"].(string); ok && v != "" { - userPoolConfig.AppIdClientRegex = aws.String(v) + if v, ok := tfMap["app_id_client_regex"].(string); ok && v != "" { + apiObject.AppIdClientRegex = aws.String(v) } - if v, ok := m["aws_region"].(string); ok && v != "" { - userPoolConfig.AwsRegion = aws.String(v) + if v, ok := tfMap["aws_region"].(string); ok && v != "" { + apiObject.AwsRegion = aws.String(v) } - return userPoolConfig + return apiObject } -func expandGraphQLAPILambdaAuthorizerConfig(l []interface{}) *appsync.LambdaAuthorizerConfig { - if len(l) < 1 || l[0] == nil { +func expandLambdaAuthorizerConfig(tfList []interface{}) *awstypes.LambdaAuthorizerConfig { + if len(tfList) < 1 || tfList[0] == nil { return nil } - m := l[0].(map[string]interface{}) - - lambdaAuthorizerConfig := &appsync.LambdaAuthorizerConfig{ - AuthorizerResultTtlInSeconds: aws.Int64(int64(m["authorizer_result_ttl_in_seconds"].(int))), - AuthorizerUri: aws.String(m["authorizer_uri"].(string)), + tfMap := tfList[0].(map[string]interface{}) + apiObject := &awstypes.LambdaAuthorizerConfig{ + AuthorizerResultTtlInSeconds: int32(tfMap["authorizer_result_ttl_in_seconds"].(int)), + AuthorizerUri: aws.String(tfMap["authorizer_uri"].(string)), } - if v, ok := m["identity_validation_expression"].(string); ok && v != "" { - lambdaAuthorizerConfig.IdentityValidationExpression = aws.String(v) + if v, ok := tfMap["identity_validation_expression"].(string); ok && v != "" { + apiObject.IdentityValidationExpression = aws.String(v) } - return lambdaAuthorizerConfig + return apiObject } -func expandGraphQLAPIAdditionalAuthProviders(items []interface{}, currentRegion string) []*appsync.AdditionalAuthenticationProvider { - if len(items) < 1 { +func expandAdditionalAuthenticationProviders(tfList []interface{}, currentRegion string) []awstypes.AdditionalAuthenticationProvider { + if len(tfList) < 1 { return nil } - additionalAuthProviders := make([]*appsync.AdditionalAuthenticationProvider, 0, len(items)) - for _, l := range items { - if l == nil { + apiObjects := make([]awstypes.AdditionalAuthenticationProvider, 0) + for _, tfMapRaw := range tfList { + tfMap, ok := tfMapRaw.(map[string]interface{}) + if !ok { continue } - m := l.(map[string]interface{}) - additionalAuthProvider := &appsync.AdditionalAuthenticationProvider{ - AuthenticationType: aws.String(m["authentication_type"].(string)), + apiObject := awstypes.AdditionalAuthenticationProvider{ + AuthenticationType: awstypes.AuthenticationType(tfMap["authentication_type"].(string)), } - if v, ok := m["openid_connect_config"]; ok { - additionalAuthProvider.OpenIDConnectConfig = expandGraphQLAPIOpenIDConnectConfig(v.([]interface{})) + if v, ok := tfMap["lambda_authorizer_config"]; ok { + apiObject.LambdaAuthorizerConfig = expandLambdaAuthorizerConfig(v.([]interface{})) } - if v, ok := m["user_pool_config"]; ok { - additionalAuthProvider.UserPoolConfig = expandGraphQLAPICognitoUserPoolConfig(v.([]interface{}), currentRegion) + if v, ok := tfMap["openid_connect_config"]; ok { + apiObject.OpenIDConnectConfig = expandOpenIDConnectConfig(v.([]interface{})) } - if v, ok := m["lambda_authorizer_config"]; ok { - additionalAuthProvider.LambdaAuthorizerConfig = expandGraphQLAPILambdaAuthorizerConfig(v.([]interface{})) + if v, ok := tfMap["user_pool_config"]; ok { + apiObject.UserPoolConfig = expandCognitoUserPoolConfig(v.([]interface{}), currentRegion) } - additionalAuthProviders = append(additionalAuthProviders, additionalAuthProvider) + apiObjects = append(apiObjects, apiObject) } - return additionalAuthProviders + return apiObjects } -func expandGraphQLAPICognitoUserPoolConfig(l []interface{}, currentRegion string) *appsync.CognitoUserPoolConfig { - if len(l) < 1 || l[0] == nil { +func expandCognitoUserPoolConfig(tfList []interface{}, currentRegion string) *awstypes.CognitoUserPoolConfig { + if len(tfList) < 1 || tfList[0] == nil { return nil } - m := l[0].(map[string]interface{}) - - userPoolConfig := &appsync.CognitoUserPoolConfig{ + tfMap := tfList[0].(map[string]interface{}) + apiObject := &awstypes.CognitoUserPoolConfig{ AwsRegion: aws.String(currentRegion), - UserPoolId: aws.String(m[names.AttrUserPoolID].(string)), + UserPoolId: aws.String(tfMap[names.AttrUserPoolID].(string)), } - if v, ok := m["app_id_client_regex"].(string); ok && v != "" { - userPoolConfig.AppIdClientRegex = aws.String(v) + if v, ok := tfMap["app_id_client_regex"].(string); ok && v != "" { + apiObject.AppIdClientRegex = aws.String(v) } - if v, ok := m["aws_region"].(string); ok && v != "" { - userPoolConfig.AwsRegion = aws.String(v) + if v, ok := tfMap["aws_region"].(string); ok && v != "" { + apiObject.AwsRegion = aws.String(v) } - return userPoolConfig + return apiObject } -func flattenGraphQLAPILogConfig(logConfig *appsync.LogConfig) []interface{} { - if logConfig == nil { +func flattenLogConfig(apiObject *awstypes.LogConfig) []interface{} { + if apiObject == nil { return []interface{}{} } - m := map[string]interface{}{ - "cloudwatch_logs_role_arn": aws.StringValue(logConfig.CloudWatchLogsRoleArn), - "field_log_level": aws.StringValue(logConfig.FieldLogLevel), - "exclude_verbose_content": aws.BoolValue(logConfig.ExcludeVerboseContent), + tfMap := map[string]interface{}{ + "cloudwatch_logs_role_arn": aws.ToString(apiObject.CloudWatchLogsRoleArn), + "exclude_verbose_content": apiObject.ExcludeVerboseContent, + "field_log_level": apiObject.FieldLogLevel, } - return []interface{}{m} + return []interface{}{tfMap} } -func flattenGraphQLAPIOpenIDConnectConfig(openIDConnectConfig *appsync.OpenIDConnectConfig) []interface{} { - if openIDConnectConfig == nil { +func flattenOpenIDConnectConfig(apiObject *awstypes.OpenIDConnectConfig) []interface{} { + if apiObject == nil { return []interface{}{} } - m := map[string]interface{}{ - "auth_ttl": aws.Int64Value(openIDConnectConfig.AuthTTL), - names.AttrClientID: aws.StringValue(openIDConnectConfig.ClientId), - "iat_ttl": aws.Int64Value(openIDConnectConfig.IatTTL), - names.AttrIssuer: aws.StringValue(openIDConnectConfig.Issuer), + tfMap := map[string]interface{}{ + "auth_ttl": apiObject.AuthTTL, + names.AttrClientID: aws.ToString(apiObject.ClientId), + "iat_ttl": apiObject.IatTTL, + names.AttrIssuer: aws.ToString(apiObject.Issuer), } - return []interface{}{m} + return []interface{}{tfMap} } -func flattenGraphQLAPIUserPoolConfig(userPoolConfig *appsync.UserPoolConfig) []interface{} { - if userPoolConfig == nil { +func flattenUserPoolConfig(apiObject *awstypes.UserPoolConfig) []interface{} { + if apiObject == nil { return []interface{}{} } - m := map[string]interface{}{ - "aws_region": aws.StringValue(userPoolConfig.AwsRegion), - names.AttrDefaultAction: aws.StringValue(userPoolConfig.DefaultAction), - names.AttrUserPoolID: aws.StringValue(userPoolConfig.UserPoolId), + tfMap := map[string]interface{}{ + "aws_region": aws.ToString(apiObject.AwsRegion), + names.AttrDefaultAction: apiObject.DefaultAction, + names.AttrUserPoolID: aws.ToString(apiObject.UserPoolId), } - if userPoolConfig.AppIdClientRegex != nil { - m["app_id_client_regex"] = aws.StringValue(userPoolConfig.AppIdClientRegex) + if apiObject.AppIdClientRegex != nil { + tfMap["app_id_client_regex"] = aws.ToString(apiObject.AppIdClientRegex) } - return []interface{}{m} + return []interface{}{tfMap} } -func flattenGraphQLAPILambdaAuthorizerConfig(lambdaAuthorizerConfig *appsync.LambdaAuthorizerConfig) []interface{} { - if lambdaAuthorizerConfig == nil { +func flattenLambdaAuthorizerConfig(apiObject *awstypes.LambdaAuthorizerConfig) []interface{} { + if apiObject == nil { return []interface{}{} } - m := map[string]interface{}{ - "authorizer_uri": aws.StringValue(lambdaAuthorizerConfig.AuthorizerUri), - } - - if lambdaAuthorizerConfig.AuthorizerResultTtlInSeconds != nil { - m["authorizer_result_ttl_in_seconds"] = aws.Int64Value(lambdaAuthorizerConfig.AuthorizerResultTtlInSeconds) - } else { - m["authorizer_result_ttl_in_seconds"] = DefaultAuthorizerResultTTLInSeconds + tfMap := map[string]interface{}{ + "authorizer_result_ttl_in_seconds": apiObject.AuthorizerResultTtlInSeconds, + "authorizer_uri": aws.ToString(apiObject.AuthorizerUri), } - if lambdaAuthorizerConfig.IdentityValidationExpression != nil { - m["identity_validation_expression"] = aws.StringValue(lambdaAuthorizerConfig.IdentityValidationExpression) + if apiObject.IdentityValidationExpression != nil { + tfMap["identity_validation_expression"] = aws.ToString(apiObject.IdentityValidationExpression) } - return []interface{}{m} + return []interface{}{tfMap} } -func flattenGraphQLAPIAdditionalAuthenticationProviders(additionalAuthenticationProviders []*appsync.AdditionalAuthenticationProvider) []interface{} { - if len(additionalAuthenticationProviders) == 0 { +func flattenAdditionalAuthenticationProviders(apiObjects []awstypes.AdditionalAuthenticationProvider) []interface{} { + if len(apiObjects) == 0 { return []interface{}{} } - result := make([]interface{}, len(additionalAuthenticationProviders)) - for i, provider := range additionalAuthenticationProviders { - result[i] = map[string]interface{}{ - "authentication_type": aws.StringValue(provider.AuthenticationType), - "lambda_authorizer_config": flattenGraphQLAPILambdaAuthorizerConfig(provider.LambdaAuthorizerConfig), - "openid_connect_config": flattenGraphQLAPIOpenIDConnectConfig(provider.OpenIDConnectConfig), - "user_pool_config": flattenGraphQLAPICognitoUserPoolConfig(provider.UserPoolConfig), + tfList := make([]interface{}, len(apiObjects)) + for i, apiObject := range apiObjects { + tfList[i] = map[string]interface{}{ + "authentication_type": apiObject.AuthenticationType, + "lambda_authorizer_config": flattenLambdaAuthorizerConfig(apiObject.LambdaAuthorizerConfig), + "openid_connect_config": flattenOpenIDConnectConfig(apiObject.OpenIDConnectConfig), + "user_pool_config": flattenCognitoUserPoolConfig(apiObject.UserPoolConfig), } } - return result + return tfList } -func flattenGraphQLAPICognitoUserPoolConfig(userPoolConfig *appsync.CognitoUserPoolConfig) []interface{} { - if userPoolConfig == nil { +func flattenCognitoUserPoolConfig(apiObject *awstypes.CognitoUserPoolConfig) []interface{} { + if apiObject == nil { return []interface{}{} } - m := map[string]interface{}{ - "aws_region": aws.StringValue(userPoolConfig.AwsRegion), - names.AttrUserPoolID: aws.StringValue(userPoolConfig.UserPoolId), + tfMap := map[string]interface{}{ + "aws_region": aws.ToString(apiObject.AwsRegion), + names.AttrUserPoolID: aws.ToString(apiObject.UserPoolId), } - if userPoolConfig.AppIdClientRegex != nil { - m["app_id_client_regex"] = aws.StringValue(userPoolConfig.AppIdClientRegex) + if apiObject.AppIdClientRegex != nil { + tfMap["app_id_client_regex"] = aws.ToString(apiObject.AppIdClientRegex) } - return []interface{}{m} + return []interface{}{tfMap} } diff --git a/internal/service/appsync/graphql_api_test.go b/internal/service/appsync/graphql_api_test.go index d8fcf253307..cf2ddcd7a0a 100644 --- a/internal/service/appsync/graphql_api_test.go +++ b/internal/service/appsync/graphql_api_test.go @@ -10,7 +10,7 @@ import ( "testing" "github.com/YakDriver/regexache" - "github.com/aws/aws-sdk-go/service/appsync" + awstypes "github.com/aws/aws-sdk-go-v2/service/appsync/types" sdkacctest "github.com/hashicorp/terraform-plugin-testing/helper/acctest" "github.com/hashicorp/terraform-plugin-testing/helper/resource" "github.com/hashicorp/terraform-plugin-testing/terraform" @@ -23,12 +23,12 @@ import ( func testAccGraphQLAPI_basic(t *testing.T) { ctx := acctest.Context(t) - var api1 appsync.GraphqlApi + var api1 awstypes.GraphqlApi rName := sdkacctest.RandomWithPrefix(acctest.ResourcePrefix) resourceName := "aws_appsync_graphql_api.test" resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckGraphQLAPIDestroy(ctx), @@ -66,12 +66,12 @@ func testAccGraphQLAPI_basic(t *testing.T) { func testAccGraphQLAPI_disappears(t *testing.T) { ctx := acctest.Context(t) - var api1 appsync.GraphqlApi + var api1 awstypes.GraphqlApi rName := sdkacctest.RandomWithPrefix(acctest.ResourcePrefix) resourceName := "aws_appsync_graphql_api.test" resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckGraphQLAPIDestroy(ctx), @@ -90,12 +90,12 @@ func testAccGraphQLAPI_disappears(t *testing.T) { func testAccGraphQLAPI_schema(t *testing.T) { ctx := acctest.Context(t) - var api1, api2 appsync.GraphqlApi + var api1, api2 awstypes.GraphqlApi rName := sdkacctest.RandomWithPrefix(acctest.ResourcePrefix) resourceName := "aws_appsync_graphql_api.test" resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckGraphQLAPIDestroy(ctx), @@ -137,12 +137,12 @@ func testAccGraphQLAPI_schema(t *testing.T) { func testAccGraphQLAPI_authenticationType(t *testing.T) { ctx := acctest.Context(t) - var api1, api2 appsync.GraphqlApi + var api1, api2 awstypes.GraphqlApi rName := sdkacctest.RandomWithPrefix(acctest.ResourcePrefix) resourceName := "aws_appsync_graphql_api.test" resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckGraphQLAPIDestroy(ctx), @@ -172,12 +172,12 @@ func testAccGraphQLAPI_authenticationType(t *testing.T) { func testAccGraphQLAPI_AuthenticationType_apiKey(t *testing.T) { ctx := acctest.Context(t) - var api1 appsync.GraphqlApi + var api1 awstypes.GraphqlApi rName := sdkacctest.RandomWithPrefix(acctest.ResourcePrefix) resourceName := "aws_appsync_graphql_api.test" resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckGraphQLAPIDestroy(ctx), @@ -202,12 +202,12 @@ func testAccGraphQLAPI_AuthenticationType_apiKey(t *testing.T) { func testAccGraphQLAPI_AuthenticationType_iam(t *testing.T) { ctx := acctest.Context(t) - var api1 appsync.GraphqlApi + var api1 awstypes.GraphqlApi rName := sdkacctest.RandomWithPrefix(acctest.ResourcePrefix) resourceName := "aws_appsync_graphql_api.test" resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckGraphQLAPIDestroy(ctx), @@ -232,13 +232,13 @@ func testAccGraphQLAPI_AuthenticationType_iam(t *testing.T) { func testAccGraphQLAPI_AuthenticationType_amazonCognitoUserPools(t *testing.T) { ctx := acctest.Context(t) - var api1 appsync.GraphqlApi + var api1 awstypes.GraphqlApi rName := sdkacctest.RandomWithPrefix(acctest.ResourcePrefix) cognitoUserPoolResourceName := "aws_cognito_user_pool.test" resourceName := "aws_appsync_graphql_api.test" resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckGraphQLAPIDestroy(ctx), @@ -265,12 +265,12 @@ func testAccGraphQLAPI_AuthenticationType_amazonCognitoUserPools(t *testing.T) { func testAccGraphQLAPI_AuthenticationType_openIDConnect(t *testing.T) { ctx := acctest.Context(t) - var api1 appsync.GraphqlApi + var api1 awstypes.GraphqlApi rName := sdkacctest.RandomWithPrefix(acctest.ResourcePrefix) resourceName := "aws_appsync_graphql_api.test" resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckGraphQLAPIDestroy(ctx), @@ -295,13 +295,13 @@ func testAccGraphQLAPI_AuthenticationType_openIDConnect(t *testing.T) { func testAccGraphQLAPI_AuthenticationType_lambda(t *testing.T) { ctx := acctest.Context(t) - var api1 appsync.GraphqlApi + var api1 awstypes.GraphqlApi rName := sdkacctest.RandomWithPrefix(acctest.ResourcePrefix) resourceName := "aws_appsync_graphql_api.test" lambdaAuthorizerResourceName := "aws_lambda_function.test" resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckGraphQLAPIDestroy(ctx), @@ -328,13 +328,13 @@ func testAccGraphQLAPI_AuthenticationType_lambda(t *testing.T) { func testAccGraphQLAPI_log(t *testing.T) { ctx := acctest.Context(t) - var api1 appsync.GraphqlApi + var api1 awstypes.GraphqlApi rName := sdkacctest.RandomWithPrefix(acctest.ResourcePrefix) iamRoleResourceName := "aws_iam_role.test" resourceName := "aws_appsync_graphql_api.test" resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckGraphQLAPIDestroy(ctx), @@ -360,13 +360,13 @@ func testAccGraphQLAPI_log(t *testing.T) { func testAccGraphQLAPI_Log_fieldLogLevel(t *testing.T) { ctx := acctest.Context(t) - var api1, api2, api3 appsync.GraphqlApi + var api1, api2, api3 awstypes.GraphqlApi rName := sdkacctest.RandomWithPrefix(acctest.ResourcePrefix) iamRoleResourceName := "aws_iam_role.test" resourceName := "aws_appsync_graphql_api.test" resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckGraphQLAPIDestroy(ctx), @@ -412,13 +412,13 @@ func testAccGraphQLAPI_Log_fieldLogLevel(t *testing.T) { func testAccGraphQLAPI_Log_excludeVerboseContent(t *testing.T) { ctx := acctest.Context(t) - var api1, api2 appsync.GraphqlApi + var api1, api2 awstypes.GraphqlApi rName := sdkacctest.RandomWithPrefix(acctest.ResourcePrefix) iamRoleResourceName := "aws_iam_role.test" resourceName := "aws_appsync_graphql_api.test" resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckGraphQLAPIDestroy(ctx), @@ -455,12 +455,12 @@ func testAccGraphQLAPI_Log_excludeVerboseContent(t *testing.T) { func testAccGraphQLAPI_OpenIDConnect_authTTL(t *testing.T) { ctx := acctest.Context(t) - var api1, api2 appsync.GraphqlApi + var api1, api2 awstypes.GraphqlApi rName := sdkacctest.RandomWithPrefix(acctest.ResourcePrefix) resourceName := "aws_appsync_graphql_api.test" resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckGraphQLAPIDestroy(ctx), @@ -496,12 +496,12 @@ func testAccGraphQLAPI_OpenIDConnect_authTTL(t *testing.T) { func testAccGraphQLAPI_OpenIDConnect_clientID(t *testing.T) { ctx := acctest.Context(t) - var api1, api2 appsync.GraphqlApi + var api1, api2 awstypes.GraphqlApi rName := sdkacctest.RandomWithPrefix(acctest.ResourcePrefix) resourceName := "aws_appsync_graphql_api.test" resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckGraphQLAPIDestroy(ctx), @@ -537,12 +537,12 @@ func testAccGraphQLAPI_OpenIDConnect_clientID(t *testing.T) { func testAccGraphQLAPI_OpenIDConnect_iatTTL(t *testing.T) { ctx := acctest.Context(t) - var api1, api2 appsync.GraphqlApi + var api1, api2 awstypes.GraphqlApi rName := sdkacctest.RandomWithPrefix(acctest.ResourcePrefix) resourceName := "aws_appsync_graphql_api.test" resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckGraphQLAPIDestroy(ctx), @@ -578,12 +578,12 @@ func testAccGraphQLAPI_OpenIDConnect_iatTTL(t *testing.T) { func testAccGraphQLAPI_OpenIDConnect_issuer(t *testing.T) { ctx := acctest.Context(t) - var api1, api2 appsync.GraphqlApi + var api1, api2 awstypes.GraphqlApi rName := sdkacctest.RandomWithPrefix(acctest.ResourcePrefix) resourceName := "aws_appsync_graphql_api.test" resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckGraphQLAPIDestroy(ctx), @@ -617,13 +617,13 @@ func testAccGraphQLAPI_OpenIDConnect_issuer(t *testing.T) { func testAccGraphQLAPI_name(t *testing.T) { ctx := acctest.Context(t) - var api1, api2 appsync.GraphqlApi + var api1, api2 awstypes.GraphqlApi rName1 := sdkacctest.RandomWithPrefix(acctest.ResourcePrefix) rName2 := sdkacctest.RandomWithPrefix(acctest.ResourcePrefix) resourceName := "aws_appsync_graphql_api.test" resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckGraphQLAPIDestroy(ctx), @@ -648,13 +648,13 @@ func testAccGraphQLAPI_name(t *testing.T) { func testAccGraphQLAPI_UserPool_region(t *testing.T) { ctx := acctest.Context(t) - var api1, api2 appsync.GraphqlApi + var api1, api2 awstypes.GraphqlApi rName := sdkacctest.RandomWithPrefix(acctest.ResourcePrefix) cognitoUserPoolResourceName := "aws_cognito_user_pool.test" resourceName := "aws_appsync_graphql_api.test" resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckGraphQLAPIDestroy(ctx), @@ -692,13 +692,13 @@ func testAccGraphQLAPI_UserPool_region(t *testing.T) { func testAccGraphQLAPI_UserPool_defaultAction(t *testing.T) { ctx := acctest.Context(t) - var api1, api2 appsync.GraphqlApi + var api1, api2 awstypes.GraphqlApi rName := sdkacctest.RandomWithPrefix(acctest.ResourcePrefix) cognitoUserPoolResourceName := "aws_cognito_user_pool.test" resourceName := "aws_appsync_graphql_api.test" resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckGraphQLAPIDestroy(ctx), @@ -736,13 +736,13 @@ func testAccGraphQLAPI_UserPool_defaultAction(t *testing.T) { func testAccGraphQLAPI_LambdaAuthorizerConfig_authorizerURI(t *testing.T) { ctx := acctest.Context(t) - var api1, api2 appsync.GraphqlApi + var api1, api2 awstypes.GraphqlApi rName := sdkacctest.RandomWithPrefix(acctest.ResourcePrefix) resourceName := "aws_appsync_graphql_api.test" lambdaAuthorizerResourceName := "aws_lambda_function.test" resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckGraphQLAPIDestroy(ctx), @@ -776,13 +776,13 @@ func testAccGraphQLAPI_LambdaAuthorizerConfig_authorizerURI(t *testing.T) { func testAccGraphQLAPI_LambdaAuthorizerConfig_identityValidationExpression(t *testing.T) { ctx := acctest.Context(t) - var api1, api2 appsync.GraphqlApi + var api1, api2 awstypes.GraphqlApi rName := sdkacctest.RandomWithPrefix(acctest.ResourcePrefix) resourceName := "aws_appsync_graphql_api.test" lambdaAuthorizerResourceName := "aws_lambda_function.test" resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckGraphQLAPIDestroy(ctx), @@ -818,12 +818,12 @@ func testAccGraphQLAPI_LambdaAuthorizerConfig_identityValidationExpression(t *te func testAccGraphQLAPI_LambdaAuthorizerConfig_authorizerResultTTLInSeconds(t *testing.T) { ctx := acctest.Context(t) - var api1, api2, api3, api4 appsync.GraphqlApi + var api1, api2, api3, api4 awstypes.GraphqlApi rName := sdkacctest.RandomWithPrefix(acctest.ResourcePrefix) resourceName := "aws_appsync_graphql_api.test" resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckGraphQLAPIDestroy(ctx), @@ -875,12 +875,12 @@ func testAccGraphQLAPI_LambdaAuthorizerConfig_authorizerResultTTLInSeconds(t *te func testAccGraphQLAPI_tags(t *testing.T) { ctx := acctest.Context(t) - var api1 appsync.GraphqlApi + var api1 awstypes.GraphqlApi rName := sdkacctest.RandomWithPrefix(acctest.ResourcePrefix) resourceName := "aws_appsync_graphql_api.test" resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckGraphQLAPIDestroy(ctx), @@ -921,12 +921,12 @@ func testAccGraphQLAPI_tags(t *testing.T) { func testAccGraphQLAPI_AdditionalAuthentication_apiKey(t *testing.T) { ctx := acctest.Context(t) - var api1 appsync.GraphqlApi + var api1 awstypes.GraphqlApi rName := sdkacctest.RandomWithPrefix(acctest.ResourcePrefix) resourceName := "aws_appsync_graphql_api.test" resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckGraphQLAPIDestroy(ctx), @@ -956,12 +956,12 @@ func testAccGraphQLAPI_AdditionalAuthentication_apiKey(t *testing.T) { func testAccGraphQLAPI_AdditionalAuthentication_iam(t *testing.T) { ctx := acctest.Context(t) - var api1 appsync.GraphqlApi + var api1 awstypes.GraphqlApi rName := sdkacctest.RandomWithPrefix(acctest.ResourcePrefix) resourceName := "aws_appsync_graphql_api.test" resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckGraphQLAPIDestroy(ctx), @@ -991,13 +991,13 @@ func testAccGraphQLAPI_AdditionalAuthentication_iam(t *testing.T) { func testAccGraphQLAPI_AdditionalAuthentication_cognitoUserPools(t *testing.T) { ctx := acctest.Context(t) - var api1 appsync.GraphqlApi + var api1 awstypes.GraphqlApi rName := sdkacctest.RandomWithPrefix(acctest.ResourcePrefix) cognitoUserPoolResourceName := "aws_cognito_user_pool.test" resourceName := "aws_appsync_graphql_api.test" resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckGraphQLAPIDestroy(ctx), @@ -1028,12 +1028,12 @@ func testAccGraphQLAPI_AdditionalAuthentication_cognitoUserPools(t *testing.T) { func testAccGraphQLAPI_AdditionalAuthentication_openIDConnect(t *testing.T) { ctx := acctest.Context(t) - var api1 appsync.GraphqlApi + var api1 awstypes.GraphqlApi rName := sdkacctest.RandomWithPrefix(acctest.ResourcePrefix) resourceName := "aws_appsync_graphql_api.test" resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckGraphQLAPIDestroy(ctx), @@ -1064,13 +1064,13 @@ func testAccGraphQLAPI_AdditionalAuthentication_openIDConnect(t *testing.T) { func testAccGraphQLAPI_AdditionalAuthentication_lambda(t *testing.T) { ctx := acctest.Context(t) - var api1 appsync.GraphqlApi + var api1 awstypes.GraphqlApi rName := sdkacctest.RandomWithPrefix(acctest.ResourcePrefix) resourceName := "aws_appsync_graphql_api.test" lambdaAuthorizerResourceName := "aws_lambda_function.test" resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckGraphQLAPIDestroy(ctx), @@ -1103,14 +1103,14 @@ func testAccGraphQLAPI_AdditionalAuthentication_lambda(t *testing.T) { func testAccGraphQLAPI_AdditionalAuthentication_multiple(t *testing.T) { ctx := acctest.Context(t) - var api1 appsync.GraphqlApi + var api1 awstypes.GraphqlApi rName := sdkacctest.RandomWithPrefix(acctest.ResourcePrefix) cognitoUserPoolResourceName := "aws_cognito_user_pool.test" lambdaAuthorizerResourceName := "aws_lambda_function.test" resourceName := "aws_appsync_graphql_api.test" resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckGraphQLAPIDestroy(ctx), @@ -1155,12 +1155,12 @@ func testAccGraphQLAPI_AdditionalAuthentication_multiple(t *testing.T) { func testAccGraphQLAPI_xrayEnabled(t *testing.T) { ctx := acctest.Context(t) - var api1, api2 appsync.GraphqlApi + var api1, api2 awstypes.GraphqlApi rName := sdkacctest.RandomWithPrefix(acctest.ResourcePrefix) resourceName := "aws_appsync_graphql_api.test" resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckGraphQLAPIDestroy(ctx), @@ -1185,12 +1185,12 @@ func testAccGraphQLAPI_xrayEnabled(t *testing.T) { func testAccGraphQLAPI_visibility(t *testing.T) { ctx := acctest.Context(t) - var api1 appsync.GraphqlApi + var api1 awstypes.GraphqlApi rName := sdkacctest.RandomWithPrefix(acctest.ResourcePrefix) resourceName := "aws_appsync_graphql_api.test" resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckGraphQLAPIDestroy(ctx), @@ -1214,12 +1214,12 @@ func testAccGraphQLAPI_visibility(t *testing.T) { func testAccGraphQLAPI_introspectionConfig(t *testing.T) { ctx := acctest.Context(t) - var api1 appsync.GraphqlApi + var api1 awstypes.GraphqlApi rName := sdkacctest.RandomWithPrefix(acctest.ResourcePrefix) resourceName := "aws_appsync_graphql_api.test" resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckGraphQLAPIDestroy(ctx), @@ -1242,12 +1242,12 @@ func testAccGraphQLAPI_introspectionConfig(t *testing.T) { func testAccGraphQLAPI_queryDepthLimit(t *testing.T) { ctx := acctest.Context(t) - var api1 appsync.GraphqlApi + var api1 awstypes.GraphqlApi rName := sdkacctest.RandomWithPrefix(acctest.ResourcePrefix) resourceName := "aws_appsync_graphql_api.test" resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckGraphQLAPIDestroy(ctx), @@ -1270,12 +1270,12 @@ func testAccGraphQLAPI_queryDepthLimit(t *testing.T) { func testAccGraphQLAPI_resolverCountLimit(t *testing.T) { ctx := acctest.Context(t) - var api1 appsync.GraphqlApi + var api1 awstypes.GraphqlApi rName := sdkacctest.RandomWithPrefix(acctest.ResourcePrefix) resourceName := "aws_appsync_graphql_api.test" resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckGraphQLAPIDestroy(ctx), @@ -1298,7 +1298,8 @@ func testAccGraphQLAPI_resolverCountLimit(t *testing.T) { func testAccCheckGraphQLAPIDestroy(ctx context.Context) resource.TestCheckFunc { return func(s *terraform.State) error { - conn := acctest.Provider.Meta().(*conns.AWSClient).AppSyncConn(ctx) + conn := acctest.Provider.Meta().(*conns.AWSClient).AppSyncClient(ctx) + for _, rs := range s.RootModule().Resources { if rs.Type != "aws_appsync_graphql_api" { continue @@ -1320,18 +1321,14 @@ func testAccCheckGraphQLAPIDestroy(ctx context.Context) resource.TestCheckFunc { } } -func testAccCheckGraphQLAPIExists(ctx context.Context, n string, v *appsync.GraphqlApi) resource.TestCheckFunc { +func testAccCheckGraphQLAPIExists(ctx context.Context, n string, v *awstypes.GraphqlApi) resource.TestCheckFunc { return func(s *terraform.State) error { rs, ok := s.RootModule().Resources[n] if !ok { return fmt.Errorf("Not found: %s", n) } - if rs.Primary.ID == "" { - return fmt.Errorf("No AppSync GraphQL API ID is set") - } - - conn := acctest.Provider.Meta().(*conns.AWSClient).AppSyncConn(ctx) + conn := acctest.Provider.Meta().(*conns.AWSClient).AppSyncClient(ctx) output, err := tfappsync.FindGraphQLAPIByID(ctx, conn, rs.Primary.ID) @@ -1352,9 +1349,9 @@ func testAccCheckGraphQLAPITypeExists(ctx context.Context, n, typeName string) r return fmt.Errorf("Not found: %s", n) } - conn := acctest.Provider.Meta().(*conns.AWSClient).AppSyncConn(ctx) + conn := acctest.Provider.Meta().(*conns.AWSClient).AppSyncClient(ctx) - _, err := tfappsync.FindTypeByThreePartKey(ctx, conn, rs.Primary.ID, appsync.OutputTypeSdl, typeName) + _, err := tfappsync.FindTypeByThreePartKey(ctx, conn, rs.Primary.ID, awstypes.TypeDefinitionFormatSdl, typeName) return err } @@ -1576,7 +1573,7 @@ resource "aws_lambda_function" "test" { function_name = %[1]q handler = "lambdatest.handler" role = aws_iam_role.test.arn - runtime = "nodejs14.x" + runtime = "nodejs20.x" publish = true } diff --git a/internal/service/appsync/list_pages_gen.go b/internal/service/appsync/list_pages_gen.go new file mode 100644 index 00000000000..e91b9807591 --- /dev/null +++ b/internal/service/appsync/list_pages_gen.go @@ -0,0 +1,59 @@ +// Code generated by "internal/generate/listpages/main.go -AWSSDKVersion=2 -ListOps=ListApiKeys,ListDomainNames,ListGraphqlApis"; DO NOT EDIT. + +package appsync + +import ( + "context" + + "github.com/aws/aws-sdk-go-v2/aws" + "github.com/aws/aws-sdk-go-v2/service/appsync" +) + +func listAPIKeysPages(ctx context.Context, conn *appsync.Client, input *appsync.ListApiKeysInput, fn func(*appsync.ListApiKeysOutput, bool) bool) error { + for { + output, err := conn.ListApiKeys(ctx, input) + if err != nil { + return err + } + + lastPage := aws.ToString(output.NextToken) == "" + if !fn(output, lastPage) || lastPage { + break + } + + input.NextToken = output.NextToken + } + return nil +} +func listDomainNamesPages(ctx context.Context, conn *appsync.Client, input *appsync.ListDomainNamesInput, fn func(*appsync.ListDomainNamesOutput, bool) bool) error { + for { + output, err := conn.ListDomainNames(ctx, input) + if err != nil { + return err + } + + lastPage := aws.ToString(output.NextToken) == "" + if !fn(output, lastPage) || lastPage { + break + } + + input.NextToken = output.NextToken + } + return nil +} +func listGraphQLAPIsPages(ctx context.Context, conn *appsync.Client, input *appsync.ListGraphqlApisInput, fn func(*appsync.ListGraphqlApisOutput, bool) bool) error { + for { + output, err := conn.ListGraphqlApis(ctx, input) + if err != nil { + return err + } + + lastPage := aws.ToString(output.NextToken) == "" + if !fn(output, lastPage) || lastPage { + break + } + + input.NextToken = output.NextToken + } + return nil +} diff --git a/internal/service/appsync/resolver.go b/internal/service/appsync/resolver.go index 1d5fe08f8a7..772de89f585 100644 --- a/internal/service/appsync/resolver.go +++ b/internal/service/appsync/resolver.go @@ -10,13 +10,16 @@ import ( "strings" "time" - "github.com/aws/aws-sdk-go/aws" - "github.com/aws/aws-sdk-go/service/appsync" - "github.com/hashicorp/aws-sdk-go-base/v2/awsv1shim/v2/tfawserr" + "github.com/aws/aws-sdk-go-v2/aws" + "github.com/aws/aws-sdk-go-v2/service/appsync" + awstypes "github.com/aws/aws-sdk-go-v2/service/appsync/types" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" + "github.com/hashicorp/terraform-plugin-sdk/v2/helper/retry" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" "github.com/hashicorp/terraform-provider-aws/internal/conns" + "github.com/hashicorp/terraform-provider-aws/internal/enum" + "github.com/hashicorp/terraform-provider-aws/internal/errs" "github.com/hashicorp/terraform-provider-aws/internal/errs/sdkdiag" "github.com/hashicorp/terraform-provider-aws/internal/flex" "github.com/hashicorp/terraform-provider-aws/internal/tfresource" @@ -25,7 +28,7 @@ import ( ) // @SDKResource("aws_appsync_resolver", name="Resolver) -func ResourceResolver() *schema.Resource { +func resourceResolver() *schema.Resource { return &schema.Resource{ CreateWithoutTimeout: resourceResolverCreate, ReadWithoutTimeout: resourceResolverRead, @@ -84,10 +87,10 @@ func ResourceResolver() *schema.Resource { ForceNew: true, }, "kind": { - Type: schema.TypeString, - Optional: true, - Default: appsync.ResolverKindUnit, - ValidateFunc: validation.StringInSlice(appsync.ResolverKind_Values(), true), + Type: schema.TypeString, + Optional: true, + Default: awstypes.ResolverKindUnit, + ValidateDiagFunc: enum.Validate[awstypes.ResolverKind](), }, "max_batch_size": { Type: schema.TypeInt, @@ -127,9 +130,9 @@ func ResourceResolver() *schema.Resource { Elem: &schema.Resource{ Schema: map[string]*schema.Schema{ names.AttrName: { - Type: schema.TypeString, - Required: true, - ValidateFunc: validation.StringInSlice(appsync.RuntimeName_Values(), false), + Type: schema.TypeString, + Required: true, + ValidateDiagFunc: enum.Validate[awstypes.RuntimeName](), }, "runtime_version": { Type: schema.TypeString, @@ -145,14 +148,14 @@ func ResourceResolver() *schema.Resource { Elem: &schema.Resource{ Schema: map[string]*schema.Schema{ "conflict_detection": { - Type: schema.TypeString, - Optional: true, - ValidateFunc: validation.StringInSlice(appsync.ConflictDetectionType_Values(), false), + Type: schema.TypeString, + Optional: true, + ValidateDiagFunc: enum.Validate[awstypes.ConflictDetectionType](), }, "conflict_handler": { - Type: schema.TypeString, - Optional: true, - ValidateFunc: validation.StringInSlice(appsync.ConflictHandlerType_Values(), false), + Type: schema.TypeString, + Optional: true, + ValidateDiagFunc: enum.Validate[awstypes.ConflictHandlerType](), }, "lambda_conflict_handler_config": { Type: schema.TypeList, @@ -182,32 +185,33 @@ func ResourceResolver() *schema.Resource { func resourceResolverCreate(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics { var diags diag.Diagnostics - conn := meta.(*conns.AWSClient).AppSyncConn(ctx) + conn := meta.(*conns.AWSClient).AppSyncClient(ctx) apiID, typeName, fieldName := d.Get("api_id").(string), d.Get(names.AttrType).(string), d.Get(names.AttrField).(string) + id := resolverCreateResourceID(apiID, typeName, fieldName) input := &appsync.CreateResolverInput{ ApiId: aws.String(apiID), FieldName: aws.String(fieldName), - Kind: aws.String(d.Get("kind").(string)), + Kind: awstypes.ResolverKind(d.Get("kind").(string)), TypeName: aws.String(typeName), } - if v, ok := d.GetOk("code"); ok { - input.Code = aws.String(v.(string)) - } - - if v, ok := d.GetOkExists("max_batch_size"); ok { - input.MaxBatchSize = aws.Int64(int64(v.(int))) + if v, ok := d.GetOk("caching_config"); ok { + input.CachingConfig = expandResolverCachingConfig(v.([]interface{})) } - if v, ok := d.GetOk("sync_config"); ok && len(v.([]interface{})) > 0 { - input.SyncConfig = expandSyncConfig(v.([]interface{})) + if v, ok := d.GetOk("code"); ok { + input.Code = aws.String(v.(string)) } if v, ok := d.GetOk("data_source"); ok { input.DataSourceName = aws.String(v.(string)) } + if v, ok := d.GetOk("max_batch_size"); ok { + input.MaxBatchSize = int32(v.(int)) + } + if v, ok := d.GetOk("pipeline_config"); ok && len(v.([]interface{})) > 0 { input.PipelineConfig = expandPipelineConfig(v.([]interface{})) } @@ -220,94 +224,79 @@ func resourceResolverCreate(ctx context.Context, d *schema.ResourceData, meta in input.ResponseMappingTemplate = aws.String(v.(string)) } - if v, ok := d.GetOk("caching_config"); ok { - input.CachingConfig = expandResolverCachingConfig(v.([]interface{})) - } - if v, ok := d.GetOk("runtime"); ok && len(v.([]interface{})) > 0 { input.Runtime = expandRuntime(v.([]interface{})) } - mutexKey := "appsync-schema-" + apiID - conns.GlobalMutexKV.Lock(mutexKey) - defer conns.GlobalMutexKV.Unlock(mutexKey) + if v, ok := d.GetOk("sync_config"); ok && len(v.([]interface{})) > 0 { + input.SyncConfig = expandSyncConfig(v.([]interface{})) + } - _, err := tfresource.RetryWhenAWSErrCodeEquals(ctx, 2*time.Minute, func() (interface{}, error) { - return conn.CreateResolverWithContext(ctx, input) - }, appsync.ErrCodeConcurrentModificationException) + _, err := retryResolverOp(ctx, apiID, func() (interface{}, error) { + return conn.CreateResolver(ctx, input) + }) if err != nil { - return sdkdiag.AppendErrorf(diags, "creating AppSync Resolver: %s", err) + return sdkdiag.AppendErrorf(diags, "creating AppSync Resolver (%s): %s", id, err) } - d.SetId(apiID + "-" + typeName + "-" + fieldName) + d.SetId(id) return append(diags, resourceResolverRead(ctx, d, meta)...) } func resourceResolverRead(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics { var diags diag.Diagnostics - conn := meta.(*conns.AWSClient).AppSyncConn(ctx) + conn := meta.(*conns.AWSClient).AppSyncClient(ctx) - apiID, typeName, fieldName, err := DecodeResolverID(d.Id()) + apiID, typeName, fieldName, err := resolverParseResourceID(d.Id()) if err != nil { return sdkdiag.AppendFromErr(diags, err) } - input := &appsync.GetResolverInput{ - ApiId: aws.String(apiID), - TypeName: aws.String(typeName), - FieldName: aws.String(fieldName), - } - - resp, err := conn.GetResolverWithContext(ctx, input) + resolver, err := findResolverByThreePartKey(ctx, conn, apiID, typeName, fieldName) - if tfawserr.ErrCodeEquals(err, appsync.ErrCodeNotFoundException) && !d.IsNewResource() { + if !d.IsNewResource() && tfresource.NotFound(err) { log.Printf("[WARN] AppSync Resolver (%s) not found, removing from state", d.Id()) d.SetId("") return diags } if err != nil { - return sdkdiag.AppendErrorf(diags, "reading AppSync Resolver (%s): %s", d.Id(), err) + return sdkdiag.AppendErrorf(diags, "reading Appsync Resolver (%s): %s", d.Id(), err) } - resolver := resp.Resolver d.Set("api_id", apiID) d.Set(names.AttrARN, resolver.ResolverArn) - d.Set(names.AttrType, resolver.TypeName) - d.Set(names.AttrField, resolver.FieldName) + if err := d.Set("caching_config", flattenCachingConfig(resolver.CachingConfig)); err != nil { + return sdkdiag.AppendErrorf(diags, "setting caching_config: %s", err) + } + d.Set("code", resolver.Code) d.Set("data_source", resolver.DataSourceName) - d.Set("request_template", resolver.RequestMappingTemplate) - d.Set("response_template", resolver.ResponseMappingTemplate) + d.Set(names.AttrField, resolver.FieldName) d.Set("kind", resolver.Kind) d.Set("max_batch_size", resolver.MaxBatchSize) - d.Set("code", resolver.Code) - - if err := d.Set("sync_config", flattenSyncConfig(resolver.SyncConfig)); err != nil { - return sdkdiag.AppendErrorf(diags, "setting sync_config: %s", err) - } - if err := d.Set("pipeline_config", flattenPipelineConfig(resolver.PipelineConfig)); err != nil { return sdkdiag.AppendErrorf(diags, "setting pipeline_config: %s", err) } - - if err := d.Set("caching_config", flattenCachingConfig(resolver.CachingConfig)); err != nil { - return sdkdiag.AppendErrorf(diags, "setting caching_config: %s", err) - } - + d.Set("request_template", resolver.RequestMappingTemplate) + d.Set("response_template", resolver.ResponseMappingTemplate) if err := d.Set("runtime", flattenRuntime(resolver.Runtime)); err != nil { return sdkdiag.AppendErrorf(diags, "setting runtime: %s", err) } + if err := d.Set("sync_config", flattenSyncConfig(resolver.SyncConfig)); err != nil { + return sdkdiag.AppendErrorf(diags, "setting sync_config: %s", err) + } + d.Set(names.AttrType, resolver.TypeName) return diags } func resourceResolverUpdate(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics { var diags diag.Diagnostics - conn := meta.(*conns.AWSClient).AppSyncConn(ctx) + conn := meta.(*conns.AWSClient).AppSyncClient(ctx) - apiID, typeName, fieldName, err := DecodeResolverID(d.Id()) + apiID, typeName, fieldName, err := resolverParseResourceID(d.Id()) if err != nil { return sdkdiag.AppendFromErr(diags, err) } @@ -315,10 +304,14 @@ func resourceResolverUpdate(ctx context.Context, d *schema.ResourceData, meta in input := &appsync.UpdateResolverInput{ ApiId: aws.String(apiID), FieldName: aws.String(fieldName), - Kind: aws.String(d.Get("kind").(string)), + Kind: awstypes.ResolverKind(d.Get("kind").(string)), TypeName: aws.String(typeName), } + if v, ok := d.GetOk("caching_config"); ok { + input.CachingConfig = expandResolverCachingConfig(v.([]interface{})) + } + if v, ok := d.GetOk("code"); ok { input.Code = aws.String(v.(string)) } @@ -327,10 +320,14 @@ func resourceResolverUpdate(ctx context.Context, d *schema.ResourceData, meta in input.DataSourceName = aws.String(v.(string)) } + if v, ok := d.GetOk("max_batch_size"); ok { + input.MaxBatchSize = int32(v.(int)) + } + if v, ok := d.GetOk("pipeline_config"); ok { config := v.([]interface{})[0].(map[string]interface{}) - input.PipelineConfig = &appsync.PipelineConfig{ - Functions: flex.ExpandStringList(config["functions"].([]interface{})), + input.PipelineConfig = &awstypes.PipelineConfig{ + Functions: flex.ExpandStringValueList(config["functions"].([]interface{})), } } @@ -342,29 +339,17 @@ func resourceResolverUpdate(ctx context.Context, d *schema.ResourceData, meta in input.ResponseMappingTemplate = aws.String(v.(string)) } - if v, ok := d.GetOk("caching_config"); ok { - input.CachingConfig = expandResolverCachingConfig(v.([]interface{})) - } - - if v, ok := d.GetOkExists("max_batch_size"); ok { - input.MaxBatchSize = aws.Int64(int64(v.(int))) + if v, ok := d.GetOk("runtime"); ok && len(v.([]interface{})) > 0 { + input.Runtime = expandRuntime(v.([]interface{})) } if v, ok := d.GetOk("sync_config"); ok && len(v.([]interface{})) > 0 { input.SyncConfig = expandSyncConfig(v.([]interface{})) } - if v, ok := d.GetOk("runtime"); ok && len(v.([]interface{})) > 0 { - input.Runtime = expandRuntime(v.([]interface{})) - } - - mutexKey := "appsync-schema-" + apiID - conns.GlobalMutexKV.Lock(mutexKey) - defer conns.GlobalMutexKV.Unlock(mutexKey) - - _, err = tfresource.RetryWhenAWSErrCodeEquals(ctx, 2*time.Minute, func() (interface{}, error) { - return conn.UpdateResolverWithContext(ctx, input) - }, appsync.ErrCodeConcurrentModificationException) + _, err = retryResolverOp(ctx, apiID, func() (interface{}, error) { + return conn.UpdateResolver(ctx, input) + }) if err != nil { return sdkdiag.AppendErrorf(diags, "updating AppSync Resolver (%s): %s", d.Id(), err) @@ -375,28 +360,23 @@ func resourceResolverUpdate(ctx context.Context, d *schema.ResourceData, meta in func resourceResolverDelete(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics { var diags diag.Diagnostics - conn := meta.(*conns.AWSClient).AppSyncConn(ctx) + conn := meta.(*conns.AWSClient).AppSyncClient(ctx) - apiID, typeName, fieldName, err := DecodeResolverID(d.Id()) + apiID, typeName, fieldName, err := resolverParseResourceID(d.Id()) if err != nil { return sdkdiag.AppendFromErr(diags, err) } - input := &appsync.DeleteResolverInput{ - ApiId: aws.String(apiID), - FieldName: aws.String(fieldName), - TypeName: aws.String(typeName), - } - - mutexKey := "appsync-schema-" + apiID - conns.GlobalMutexKV.Lock(mutexKey) - defer conns.GlobalMutexKV.Unlock(mutexKey) - - _, err = tfresource.RetryWhenAWSErrCodeEquals(ctx, 2*time.Minute, func() (interface{}, error) { - return conn.DeleteResolverWithContext(ctx, input) - }, appsync.ErrCodeConcurrentModificationException) + log.Printf("[INFO] Deleting Appsync Resolver: %s", d.Id()) + _, err = retryResolverOp(ctx, apiID, func() (interface{}, error) { + return conn.DeleteResolver(ctx, &appsync.DeleteResolverInput{ + ApiId: aws.String(apiID), + FieldName: aws.String(fieldName), + TypeName: aws.String(typeName), + }) + }) - if tfawserr.ErrCodeEquals(err, appsync.ErrCodeNotFoundException) { + if errs.IsA[*awstypes.NotFoundException](err) { return diags } @@ -407,77 +387,124 @@ func resourceResolverDelete(ctx context.Context, d *schema.ResourceData, meta in return diags } -func DecodeResolverID(id string) (string, string, string, error) { - idParts := strings.SplitN(id, "-", 3) - if len(idParts) != 3 { - return "", "", "", fmt.Errorf("expected ID in format ApiID-TypeName-FieldName, received: %s", id) +const resolverResourceIDSeparator = "-" + +func resolverCreateResourceID(apiID, typeName, fieldName string) string { + parts := []string{apiID, typeName, fieldName} + id := strings.Join(parts, resolverResourceIDSeparator) + + return id +} + +func resolverParseResourceID(id string) (string, string, string, error) { + parts := strings.SplitN(id, resolverResourceIDSeparator, 3) + + if len(parts) != 3 || parts[0] == "" || parts[1] == "" || parts[2] == "" { + return "", "", "", fmt.Errorf("unexpected format for ID (%[1]s), expected API-ID%[2]sTYPE-NAME%[2]sFIELD-NAME", id, resolverResourceIDSeparator) } - return idParts[0], idParts[1], idParts[2], nil + + return parts[0], parts[1], parts[2], nil } -func expandResolverCachingConfig(l []interface{}) *appsync.CachingConfig { - if len(l) < 1 || l[0] == nil { - return nil +func retryResolverOp(ctx context.Context, apiID string, f func() (interface{}, error)) (interface{}, error) { //nolint:unparam + mutexKey := "appsync-schema-" + apiID + conns.GlobalMutexKV.Lock(mutexKey) + defer conns.GlobalMutexKV.Unlock(mutexKey) + + const ( + timeout = 2 * time.Minute + ) + return tfresource.RetryWhenIsA[*awstypes.ConcurrentModificationException](ctx, timeout, f) +} + +func findResolverByThreePartKey(ctx context.Context, conn *appsync.Client, apiID, typeName, fieldName string) (*awstypes.Resolver, error) { + input := &appsync.GetResolverInput{ + ApiId: aws.String(apiID), + FieldName: aws.String(fieldName), + TypeName: aws.String(typeName), } - m := l[0].(map[string]interface{}) + output, err := conn.GetResolver(ctx, input) - cachingConfig := &appsync.CachingConfig{ - CachingKeys: flex.ExpandStringSet(m["caching_keys"].(*schema.Set)), + if errs.IsA[*awstypes.NotFoundException](err) { + return nil, &retry.NotFoundError{ + LastError: err, + LastRequest: input, + } } - if v, ok := m["ttl"].(int); ok && v != 0 { - cachingConfig.Ttl = aws.Int64(int64(v)) + if err != nil { + return nil, err } - return cachingConfig + if output == nil || output.Resolver == nil { + return nil, tfresource.NewEmptyResultError(input) + } + + return output.Resolver, nil } -func expandPipelineConfig(l []interface{}) *appsync.PipelineConfig { - if len(l) < 1 || l[0] == nil { +func expandResolverCachingConfig(tfList []interface{}) *awstypes.CachingConfig { + if len(tfList) < 1 || tfList[0] == nil { return nil } - m := l[0].(map[string]interface{}) + tfMap := tfList[0].(map[string]interface{}) + apiObject := &awstypes.CachingConfig{ + CachingKeys: flex.ExpandStringValueSet(tfMap["caching_keys"].(*schema.Set)), + } + + if v, ok := tfMap["ttl"].(int); ok && v != 0 { + apiObject.Ttl = int64(v) + } + + return apiObject +} + +func expandPipelineConfig(tfList []interface{}) *awstypes.PipelineConfig { + if len(tfList) < 1 || tfList[0] == nil { + return nil + } - config := &appsync.PipelineConfig{} + tfMap := tfList[0].(map[string]interface{}) + apiObject := &awstypes.PipelineConfig{} - if v, ok := m["functions"].([]interface{}); ok && len(v) > 0 { - config.Functions = flex.ExpandStringList(v) + if v, ok := tfMap["functions"].([]interface{}); ok && len(v) > 0 { + apiObject.Functions = flex.ExpandStringValueList(v) } - return config + return apiObject } -func flattenPipelineConfig(c *appsync.PipelineConfig) []interface{} { - if c == nil { +func flattenPipelineConfig(apiObject *awstypes.PipelineConfig) []interface{} { + if apiObject == nil { return nil } - if len(c.Functions) == 0 { + if len(apiObject.Functions) == 0 { return nil } - m := map[string]interface{}{ - "functions": flex.FlattenStringList(c.Functions), + tfMap := map[string]interface{}{ + "functions": apiObject.Functions, } - return []interface{}{m} + return []interface{}{tfMap} } -func flattenCachingConfig(c *appsync.CachingConfig) []interface{} { - if c == nil { +func flattenCachingConfig(apiObject *awstypes.CachingConfig) []interface{} { + if apiObject == nil { return nil } - if len(c.CachingKeys) == 0 && aws.Int64Value(c.Ttl) == 0 { + if len(apiObject.CachingKeys) == 0 && apiObject.Ttl == 0 { return nil } - m := map[string]interface{}{ - "caching_keys": flex.FlattenStringSet(c.CachingKeys), - "ttl": int(aws.Int64Value(c.Ttl)), + tfMap := map[string]interface{}{ + "caching_keys": apiObject.CachingKeys, + "ttl": apiObject.Ttl, } - return []interface{}{m} + return []interface{}{tfMap} } diff --git a/internal/service/appsync/resolver_test.go b/internal/service/appsync/resolver_test.go index 22427f358df..300dcef8cbe 100644 --- a/internal/service/appsync/resolver_test.go +++ b/internal/service/appsync/resolver_test.go @@ -9,26 +9,25 @@ import ( "testing" "github.com/YakDriver/regexache" - "github.com/aws/aws-sdk-go/aws" - "github.com/aws/aws-sdk-go/service/appsync" - "github.com/hashicorp/aws-sdk-go-base/v2/awsv1shim/v2/tfawserr" + awstypes "github.com/aws/aws-sdk-go-v2/service/appsync/types" sdkacctest "github.com/hashicorp/terraform-plugin-testing/helper/acctest" "github.com/hashicorp/terraform-plugin-testing/helper/resource" "github.com/hashicorp/terraform-plugin-testing/terraform" "github.com/hashicorp/terraform-provider-aws/internal/acctest" "github.com/hashicorp/terraform-provider-aws/internal/conns" tfappsync "github.com/hashicorp/terraform-provider-aws/internal/service/appsync" + "github.com/hashicorp/terraform-provider-aws/internal/tfresource" "github.com/hashicorp/terraform-provider-aws/names" ) func testAccResolver_basic(t *testing.T) { ctx := acctest.Context(t) - var resolver1 appsync.Resolver + var resolver1 awstypes.Resolver rName := fmt.Sprintf("tfacctest%d", sdkacctest.RandInt()) resourceName := "aws_appsync_resolver.test" resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckResolverDestroy(ctx), @@ -56,12 +55,12 @@ func testAccResolver_basic(t *testing.T) { func testAccResolver_code(t *testing.T) { ctx := acctest.Context(t) - var resolver1 appsync.Resolver + var resolver1 awstypes.Resolver rName := fmt.Sprintf("tfacctest%d", sdkacctest.RandInt()) resourceName := "aws_appsync_resolver.test" resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckResolverDestroy(ctx), @@ -86,12 +85,12 @@ func testAccResolver_code(t *testing.T) { func testAccResolver_syncConfig(t *testing.T) { ctx := acctest.Context(t) - var resolver1 appsync.Resolver + var resolver1 awstypes.Resolver rName := fmt.Sprintf("tfacctest%d", sdkacctest.RandInt()) resourceName := "aws_appsync_resolver.test" resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckResolverDestroy(ctx), @@ -116,14 +115,12 @@ func testAccResolver_syncConfig(t *testing.T) { func testAccResolver_disappears(t *testing.T) { ctx := acctest.Context(t) - var api1 appsync.GraphqlApi - var resolver1 appsync.Resolver + var resolver1 awstypes.Resolver rName := fmt.Sprintf("tfacctest%d", sdkacctest.RandInt()) - appsyncGraphqlApiResourceName := "aws_appsync_graphql_api.test" resourceName := "aws_appsync_resolver.test" resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckResolverDestroy(ctx), @@ -131,7 +128,6 @@ func testAccResolver_disappears(t *testing.T) { { Config: testAccResolverConfig_basic(rName), Check: resource.ComposeTestCheckFunc( - testAccCheckGraphQLAPIExists(ctx, appsyncGraphqlApiResourceName, &api1), testAccCheckResolverExists(ctx, resourceName, &resolver1), acctest.CheckResourceDisappears(ctx, acctest.Provider, tfappsync.ResourceResolver(), resourceName), ), @@ -143,12 +139,12 @@ func testAccResolver_disappears(t *testing.T) { func testAccResolver_dataSource(t *testing.T) { ctx := acctest.Context(t) - var resolver1, resolver2 appsync.Resolver + var resolver1, resolver2 awstypes.Resolver rName := fmt.Sprintf("tfacctest%d", sdkacctest.RandInt()) resourceName := "aws_appsync_resolver.test" resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckResolverDestroy(ctx), @@ -178,12 +174,12 @@ func testAccResolver_dataSource(t *testing.T) { func testAccResolver_DataSource_lambda(t *testing.T) { ctx := acctest.Context(t) - var resolver appsync.Resolver + var resolver awstypes.Resolver rName := fmt.Sprintf("tfacctest%d", sdkacctest.RandInt()) resourceName := "aws_appsync_resolver.test" resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckResolverDestroy(ctx), @@ -206,12 +202,12 @@ func testAccResolver_DataSource_lambda(t *testing.T) { func testAccResolver_requestTemplate(t *testing.T) { ctx := acctest.Context(t) - var resolver1, resolver2 appsync.Resolver + var resolver1, resolver2 awstypes.Resolver rName := fmt.Sprintf("tfacctest%d", sdkacctest.RandInt()) resourceName := "aws_appsync_resolver.test" resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckResolverDestroy(ctx), @@ -241,12 +237,12 @@ func testAccResolver_requestTemplate(t *testing.T) { func testAccResolver_responseTemplate(t *testing.T) { ctx := acctest.Context(t) - var resolver1, resolver2 appsync.Resolver + var resolver1, resolver2 awstypes.Resolver rName := fmt.Sprintf("tfacctest%d", sdkacctest.RandInt()) resourceName := "aws_appsync_resolver.test" resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckResolverDestroy(ctx), @@ -276,12 +272,12 @@ func testAccResolver_responseTemplate(t *testing.T) { func testAccResolver_multipleResolvers(t *testing.T) { ctx := acctest.Context(t) - var resolver appsync.Resolver + var resolver awstypes.Resolver rName := fmt.Sprintf("tfacctest%d", sdkacctest.RandInt()) resourceName := "aws_appsync_resolver.test" resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckResolverDestroy(ctx), @@ -307,12 +303,12 @@ func testAccResolver_multipleResolvers(t *testing.T) { func testAccResolver_pipeline(t *testing.T) { ctx := acctest.Context(t) - var resolver appsync.Resolver + var resolver awstypes.Resolver rName := fmt.Sprintf("tfacctest%d", sdkacctest.RandInt()) resourceName := "aws_appsync_resolver.test" resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckResolverDestroy(ctx), @@ -336,12 +332,12 @@ func testAccResolver_pipeline(t *testing.T) { func testAccResolver_caching(t *testing.T) { ctx := acctest.Context(t) - var resolver appsync.Resolver + var resolver awstypes.Resolver rName := fmt.Sprintf("tfacctest%d", sdkacctest.RandInt()) resourceName := "aws_appsync_resolver.test" resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckResolverDestroy(ctx), @@ -365,69 +361,46 @@ func testAccResolver_caching(t *testing.T) { func testAccCheckResolverDestroy(ctx context.Context) resource.TestCheckFunc { return func(s *terraform.State) error { - conn := acctest.Provider.Meta().(*conns.AWSClient).AppSyncConn(ctx) + conn := acctest.Provider.Meta().(*conns.AWSClient).AppSyncClient(ctx) + for _, rs := range s.RootModule().Resources { if rs.Type != "aws_appsync_resolver" { continue } - apiID, typeName, fieldName, err := tfappsync.DecodeResolverID(rs.Primary.ID) - - if err != nil { - return err - } - - input := &appsync.GetResolverInput{ - ApiId: aws.String(apiID), - TypeName: aws.String(typeName), - FieldName: aws.String(fieldName), - } - - _, err = conn.GetResolverWithContext(ctx, input) + _, err := tfappsync.FindResolverByThreePartKey(ctx, conn, rs.Primary.Attributes["api_id"], rs.Primary.Attributes[names.AttrType], rs.Primary.Attributes[names.AttrField]) - if tfawserr.ErrCodeEquals(err, appsync.ErrCodeNotFoundException) { + if tfresource.NotFound(err) { continue } if err != nil { return err } + + return fmt.Errorf("Appsync Resolver %s still exists", rs.Primary.ID) } + return nil } } -func testAccCheckResolverExists(ctx context.Context, name string, resolver *appsync.Resolver) resource.TestCheckFunc { +func testAccCheckResolverExists(ctx context.Context, n string, v *awstypes.Resolver) resource.TestCheckFunc { return func(s *terraform.State) error { - rs, ok := s.RootModule().Resources[name] + rs, ok := s.RootModule().Resources[n] if !ok { - return fmt.Errorf("Not found: %s", name) - } - if rs.Primary.ID == "" { - return fmt.Errorf("Resource has no ID: %s", name) - } - - apiID, typeName, fieldName, err := tfappsync.DecodeResolverID(rs.Primary.ID) - - if err != nil { - return err + return fmt.Errorf("Not found: %s", n) } - conn := acctest.Provider.Meta().(*conns.AWSClient).AppSyncConn(ctx) - - input := &appsync.GetResolverInput{ - ApiId: aws.String(apiID), - TypeName: aws.String(typeName), - FieldName: aws.String(fieldName), - } + conn := acctest.Provider.Meta().(*conns.AWSClient).AppSyncClient(ctx) - output, err := conn.GetResolverWithContext(ctx, input) + output, err := tfappsync.FindResolverByThreePartKey(ctx, conn, rs.Primary.Attributes["api_id"], rs.Primary.Attributes[names.AttrType], rs.Primary.Attributes[names.AttrField]) if err != nil { return err } - *resolver = *output.Resolver + *v = *output return nil } @@ -473,7 +446,7 @@ resource "aws_appsync_datasource" "test" { } func testAccResolverConfig_basic(rName string) string { - return testAccResolverConfig_base(rName) + ` + return acctest.ConfigCompose(testAccResolverConfig_base(rName), ` resource "aws_appsync_resolver" "test" { api_id = aws_appsync_graphql_api.test.id field = "singlePost" @@ -499,11 +472,11 @@ EOF #end EOF } -` +`) } func testAccResolverConfig_dataSource(rName string) string { - return testAccResolverConfig_base(rName) + ` + return acctest.ConfigCompose(testAccResolverConfig_base(rName), ` resource "aws_appsync_datasource" "test2" { api_id = aws_appsync_graphql_api.test.id name = "test_ds_2" @@ -539,14 +512,14 @@ EOF #end EOF } -` +`) } func testAccResolverConfig_dataSourceLambda(rName string) string { - return testAccDatasourceConfig_baseLambda(rName) + fmt.Sprintf(` + return acctest.ConfigCompose(testAccDatasourceConfig_baseLambda(rName), fmt.Sprintf(` resource "aws_appsync_graphql_api" "test" { authentication_type = "API_KEY" - name = %q + name = %[1]q schema = < 0 { return tags @@ -74,7 +73,7 @@ func getTagsIn(ctx context.Context) map[string]*string { } // setTagsOut sets appsync service tags in Context. -func setTagsOut(ctx context.Context, tags map[string]*string) { +func setTagsOut(ctx context.Context, tags map[string]string) { if inContext, ok := tftags.FromContext(ctx); ok { inContext.TagsOut = option.Some(KeyValueTags(ctx, tags)) } @@ -83,7 +82,7 @@ func setTagsOut(ctx context.Context, tags map[string]*string) { // updateTags updates appsync service tags. // The identifier is typically the Amazon Resource Name (ARN), although // it may also be a different identifier depending on the service. -func updateTags(ctx context.Context, conn appsynciface.AppSyncAPI, identifier string, oldTagsMap, newTagsMap any) error { +func updateTags(ctx context.Context, conn *appsync.Client, identifier string, oldTagsMap, newTagsMap any, optFns ...func(*appsync.Options)) error { oldTags := tftags.New(ctx, oldTagsMap) newTags := tftags.New(ctx, newTagsMap) @@ -94,10 +93,10 @@ func updateTags(ctx context.Context, conn appsynciface.AppSyncAPI, identifier st if len(removedTags) > 0 { input := &appsync.UntagResourceInput{ ResourceArn: aws.String(identifier), - TagKeys: aws.StringSlice(removedTags.Keys()), + TagKeys: removedTags.Keys(), } - _, err := conn.UntagResourceWithContext(ctx, input) + _, err := conn.UntagResource(ctx, input, optFns...) if err != nil { return fmt.Errorf("untagging resource (%s): %w", identifier, err) @@ -112,7 +111,7 @@ func updateTags(ctx context.Context, conn appsynciface.AppSyncAPI, identifier st Tags: Tags(updatedTags), } - _, err := conn.TagResourceWithContext(ctx, input) + _, err := conn.TagResource(ctx, input, optFns...) if err != nil { return fmt.Errorf("tagging resource (%s): %w", identifier, err) @@ -125,5 +124,5 @@ func updateTags(ctx context.Context, conn appsynciface.AppSyncAPI, identifier st // UpdateTags updates appsync service tags. // It is called from outside this package. func (p *servicePackage) UpdateTags(ctx context.Context, meta any, identifier string, oldTags, newTags any) error { - return updateTags(ctx, meta.(*conns.AWSClient).AppSyncConn(ctx), identifier, oldTags, newTags) + return updateTags(ctx, meta.(*conns.AWSClient).AppSyncClient(ctx), identifier, oldTags, newTags) } diff --git a/internal/service/appsync/type.go b/internal/service/appsync/type.go index 06009b9e942..b208a850a52 100644 --- a/internal/service/appsync/type.go +++ b/internal/service/appsync/type.go @@ -9,25 +9,28 @@ import ( "log" "strings" - "github.com/aws/aws-sdk-go/aws" - "github.com/aws/aws-sdk-go/service/appsync" - "github.com/hashicorp/aws-sdk-go-base/v2/awsv1shim/v2/tfawserr" + "github.com/aws/aws-sdk-go-v2/aws" + "github.com/aws/aws-sdk-go-v2/service/appsync" + awstypes "github.com/aws/aws-sdk-go-v2/service/appsync/types" "github.com/hashicorp/terraform-plugin-sdk/v2/diag" + "github.com/hashicorp/terraform-plugin-sdk/v2/helper/retry" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation" "github.com/hashicorp/terraform-provider-aws/internal/conns" + "github.com/hashicorp/terraform-provider-aws/internal/enum" + "github.com/hashicorp/terraform-provider-aws/internal/errs" "github.com/hashicorp/terraform-provider-aws/internal/errs/sdkdiag" "github.com/hashicorp/terraform-provider-aws/internal/tfresource" "github.com/hashicorp/terraform-provider-aws/names" ) -// @SDKResource("aws_appsync_type") -func ResourceType() *schema.Resource { +// @SDKResource("aws_appsync_type", name="Type") +func resourceType() *schema.Resource { return &schema.Resource{ CreateWithoutTimeout: resourceTypeCreate, ReadWithoutTimeout: resourceTypeRead, UpdateWithoutTimeout: resourceTypeUpdate, DeleteWithoutTimeout: resourceTypeDelete, + Importer: &schema.ResourceImporter{ StateContext: schema.ImportStatePassthroughContext, }, @@ -51,9 +54,9 @@ func ResourceType() *schema.Resource { Required: true, }, names.AttrFormat: { - Type: schema.TypeString, - Required: true, - ValidateFunc: validation.StringInSlice(appsync.TypeDefinitionFormat_Values(), false), + Type: schema.TypeString, + Required: true, + ValidateDiagFunc: enum.Validate[awstypes.TypeDefinitionFormat](), }, names.AttrName: { Type: schema.TypeString, @@ -65,36 +68,37 @@ func ResourceType() *schema.Resource { func resourceTypeCreate(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics { var diags diag.Diagnostics - conn := meta.(*conns.AWSClient).AppSyncConn(ctx) + conn := meta.(*conns.AWSClient).AppSyncClient(ctx) apiID := d.Get("api_id").(string) - - params := &appsync.CreateTypeInput{ + input := &appsync.CreateTypeInput{ ApiId: aws.String(apiID), Definition: aws.String(d.Get("definition").(string)), - Format: aws.String(d.Get(names.AttrFormat).(string)), + Format: awstypes.TypeDefinitionFormat(d.Get(names.AttrFormat).(string)), } - out, err := conn.CreateTypeWithContext(ctx, params) + output, err := conn.CreateType(ctx, input) + if err != nil { return sdkdiag.AppendErrorf(diags, "creating Appsync Type: %s", err) } - d.SetId(fmt.Sprintf("%s:%s:%s", apiID, aws.StringValue(out.Type.Format), aws.StringValue(out.Type.Name))) + d.SetId(typeCreateResourceID(apiID, output.Type.Format, aws.ToString(output.Type.Name))) return append(diags, resourceTypeRead(ctx, d, meta)...) } func resourceTypeRead(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics { var diags diag.Diagnostics - conn := meta.(*conns.AWSClient).AppSyncConn(ctx) + conn := meta.(*conns.AWSClient).AppSyncClient(ctx) - apiID, format, name, err := DecodeTypeID(d.Id()) + apiID, format, name, err := typeParseResourceID(d.Id()) if err != nil { - return sdkdiag.AppendErrorf(diags, "reading Appsync Type %q: %s", d.Id(), err) + return sdkdiag.AppendFromErr(diags, err) } - resp, err := FindTypeByThreePartKey(ctx, conn, apiID, format, name) + resp, err := findTypeByThreePartKey(ctx, conn, apiID, format, name) + if !d.IsNewResource() && tfresource.NotFound(err) { log.Printf("[WARN] AppSync Type (%s) not found, removing from state", d.Id()) d.SetId("") @@ -117,18 +121,24 @@ func resourceTypeRead(ctx context.Context, d *schema.ResourceData, meta interfac func resourceTypeUpdate(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics { var diags diag.Diagnostics - conn := meta.(*conns.AWSClient).AppSyncConn(ctx) + conn := meta.(*conns.AWSClient).AppSyncClient(ctx) - params := &appsync.UpdateTypeInput{ - ApiId: aws.String(d.Get("api_id").(string)), - Format: aws.String(d.Get(names.AttrFormat).(string)), - TypeName: aws.String(d.Get(names.AttrName).(string)), + apiID, format, name, err := typeParseResourceID(d.Id()) + if err != nil { + return sdkdiag.AppendFromErr(diags, err) + } + + input := &appsync.UpdateTypeInput{ + ApiId: aws.String(apiID), Definition: aws.String(d.Get("definition").(string)), + Format: format, + TypeName: aws.String(name), } - _, err := conn.UpdateTypeWithContext(ctx, params) + _, err = conn.UpdateType(ctx, input) + if err != nil { - return sdkdiag.AppendErrorf(diags, "updating Appsync Type %q: %s", d.Id(), err) + return sdkdiag.AppendErrorf(diags, "updating Appsync Type (%s): %s", d.Id(), err) } return append(diags, resourceTypeRead(ctx, d, meta)...) @@ -136,27 +146,72 @@ func resourceTypeUpdate(ctx context.Context, d *schema.ResourceData, meta interf func resourceTypeDelete(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics { var diags diag.Diagnostics - conn := meta.(*conns.AWSClient).AppSyncConn(ctx) + conn := meta.(*conns.AWSClient).AppSyncClient(ctx) - input := &appsync.DeleteTypeInput{ - ApiId: aws.String(d.Get("api_id").(string)), - TypeName: aws.String(d.Get(names.AttrName).(string)), + apiID, _, name, err := typeParseResourceID(d.Id()) + if err != nil { + return sdkdiag.AppendFromErr(diags, err) } - _, err := conn.DeleteTypeWithContext(ctx, input) + + log.Printf("[INFO] Deleting Appsync Type: %s", d.Id()) + _, err = conn.DeleteType(ctx, &appsync.DeleteTypeInput{ + ApiId: aws.String(apiID), + TypeName: aws.String(name), + }) + + if errs.IsA[*awstypes.NotFoundException](err) { + return diags + } + if err != nil { - if tfawserr.ErrCodeEquals(err, appsync.ErrCodeNotFoundException) { - return diags - } - return sdkdiag.AppendErrorf(diags, "deleting Appsync Type: %s", err) + return sdkdiag.AppendErrorf(diags, "deleting Appsync Type (%s): %s", d.Id(), err) } return diags } -func DecodeTypeID(id string) (string, string, string, error) { - parts := strings.Split(id, ":") - if len(parts) != 3 { - return "", "", "", fmt.Errorf("Unexpected format of ID (%q), expected API-ID:FORMAT:TYPE-NAME", id) +const typeResourceIDSeparator = ":" + +func typeCreateResourceID(apiID string, format awstypes.TypeDefinitionFormat, name string) string { + parts := []string{apiID, string(format), name} // nosemgrep:ci.typed-enum-conversion + id := strings.Join(parts, typeResourceIDSeparator) + + return id +} + +func typeParseResourceID(id string) (string, awstypes.TypeDefinitionFormat, string, error) { + parts := strings.Split(id, typeResourceIDSeparator) + + if len(parts) != 3 || parts[0] == "" || parts[1] == "" || parts[2] == "" { + return "", "", "", fmt.Errorf("unexpected format for ID (%[1]s), expected API-ID%[2]sFORMAT%[2]sTYPE-NAME", id, typeResourceIDSeparator) + } + + return parts[0], awstypes.TypeDefinitionFormat(parts[1]), parts[2], nil +} + +func findTypeByThreePartKey(ctx context.Context, conn *appsync.Client, apiID string, format awstypes.TypeDefinitionFormat, name string) (*awstypes.Type, error) { + input := &appsync.GetTypeInput{ + ApiId: aws.String(apiID), + Format: format, + TypeName: aws.String(name), + } + + output, err := conn.GetType(ctx, input) + + if errs.IsA[*awstypes.NotFoundException](err) { + return nil, &retry.NotFoundError{ + LastError: err, + LastRequest: input, + } } - return parts[0], parts[1], parts[2], nil + + if err != nil { + return nil, err + } + + if output == nil || output.Type == nil { + return nil, tfresource.NewEmptyResultError(input) + } + + return output.Type, nil } diff --git a/internal/service/appsync/type_test.go b/internal/service/appsync/type_test.go index e4cf8ab4ab6..4decf95f45d 100644 --- a/internal/service/appsync/type_test.go +++ b/internal/service/appsync/type_test.go @@ -9,7 +9,7 @@ import ( "testing" "github.com/YakDriver/regexache" - "github.com/aws/aws-sdk-go/service/appsync" + awstypes "github.com/aws/aws-sdk-go-v2/service/appsync/types" sdkacctest "github.com/hashicorp/terraform-plugin-testing/helper/acctest" "github.com/hashicorp/terraform-plugin-testing/helper/resource" "github.com/hashicorp/terraform-plugin-testing/terraform" @@ -22,12 +22,12 @@ import ( func testAccType_basic(t *testing.T) { ctx := acctest.Context(t) - var typ appsync.Type + var typ awstypes.Type resourceName := "aws_appsync_type.test" rName := sdkacctest.RandomWithPrefix(acctest.ResourcePrefix) resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckTypeDestroy(ctx), @@ -53,12 +53,12 @@ func testAccType_basic(t *testing.T) { func testAccType_disappears(t *testing.T) { ctx := acctest.Context(t) - var typ appsync.Type + var typ awstypes.Type resourceName := "aws_appsync_type.test" rName := sdkacctest.RandomWithPrefix(acctest.ResourcePrefix) resource.Test(t, resource.TestCase{ - PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, appsync.EndpointsID) }, + PreCheck: func() { acctest.PreCheck(ctx, t); acctest.PreCheckPartitionHasService(t, names.AppSyncEndpointID) }, ErrorCheck: acctest.ErrorCheck(t, names.AppSyncServiceID), ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories, CheckDestroy: testAccCheckTypeDestroy(ctx), @@ -77,51 +77,46 @@ func testAccType_disappears(t *testing.T) { func testAccCheckTypeDestroy(ctx context.Context) resource.TestCheckFunc { return func(s *terraform.State) error { - conn := acctest.Provider.Meta().(*conns.AWSClient).AppSyncConn(ctx) + conn := acctest.Provider.Meta().(*conns.AWSClient).AppSyncClient(ctx) for _, rs := range s.RootModule().Resources { if rs.Type != "aws_appsync_type" { continue } - apiID, format, name, err := tfappsync.DecodeTypeID(rs.Primary.ID) - if err != nil { - return err + _, err := tfappsync.FindTypeByThreePartKey(ctx, conn, rs.Primary.Attributes["api_id"], awstypes.TypeDefinitionFormat(rs.Primary.Attributes[names.AttrFormat]), rs.Primary.Attributes[names.AttrName]) + + if tfresource.NotFound(err) { + continue } - _, err = tfappsync.FindTypeByThreePartKey(ctx, conn, apiID, format, name) - if err == nil { - if tfresource.NotFound(err) { - return nil - } + if err != nil { return err } - return nil + return fmt.Errorf("Appsync Type %s still exists", rs.Primary.ID) } + return nil } } -func testAccCheckTypeExists(ctx context.Context, resourceName string, typ *appsync.Type) resource.TestCheckFunc { +func testAccCheckTypeExists(ctx context.Context, n string, v *awstypes.Type) resource.TestCheckFunc { return func(s *terraform.State) error { - rs, ok := s.RootModule().Resources[resourceName] + rs, ok := s.RootModule().Resources[n] if !ok { - return fmt.Errorf("Appsync Type Not found in state: %s", resourceName) + return fmt.Errorf("Not found: %s", n) } - apiID, format, name, err := tfappsync.DecodeTypeID(rs.Primary.ID) - if err != nil { - return err - } + conn := acctest.Provider.Meta().(*conns.AWSClient).AppSyncClient(ctx) + + output, err := tfappsync.FindTypeByThreePartKey(ctx, conn, rs.Primary.Attributes["api_id"], awstypes.TypeDefinitionFormat(rs.Primary.Attributes[names.AttrFormat]), rs.Primary.Attributes[names.AttrName]) - conn := acctest.Provider.Meta().(*conns.AWSClient).AppSyncConn(ctx) - out, err := tfappsync.FindTypeByThreePartKey(ctx, conn, apiID, format, name) if err != nil { return err } - *typ = *out + *v = *output return nil } diff --git a/internal/service/appsync/wait.go b/internal/service/appsync/wait.go deleted file mode 100644 index 59bd7cb9c48..00000000000 --- a/internal/service/appsync/wait.go +++ /dev/null @@ -1,71 +0,0 @@ -// Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 - -package appsync - -import ( - "context" - "time" - - "github.com/aws/aws-sdk-go/service/appsync" - "github.com/hashicorp/terraform-plugin-sdk/v2/helper/retry" -) - -const ( - apiCacheAvailableTimeout = 60 * time.Minute - apiCacheDeletedTimeout = 60 * time.Minute - domainNameAPIAssociationTimeout = 60 * time.Minute - domainNameAPIDisassociationTimeout = 60 * time.Minute -) - -func waitAPICacheAvailable(ctx context.Context, conn *appsync.AppSync, id string) error { - stateConf := &retry.StateChangeConf{ - Pending: []string{appsync.ApiCacheStatusCreating, appsync.ApiCacheStatusModifying}, - Target: []string{appsync.ApiCacheStatusAvailable}, - Refresh: StatusAPICache(ctx, conn, id), - Timeout: apiCacheAvailableTimeout, - } - - _, err := stateConf.WaitForStateContext(ctx) - - return err -} - -func waitAPICacheDeleted(ctx context.Context, conn *appsync.AppSync, id string) error { - stateConf := &retry.StateChangeConf{ - Pending: []string{appsync.ApiCacheStatusDeleting}, - Target: []string{}, - Refresh: StatusAPICache(ctx, conn, id), - Timeout: apiCacheDeletedTimeout, - } - - _, err := stateConf.WaitForStateContext(ctx) - - return err -} - -func waitDomainNameAPIAssociation(ctx context.Context, conn *appsync.AppSync, id string) error { - stateConf := &retry.StateChangeConf{ - Pending: []string{appsync.AssociationStatusProcessing}, - Target: []string{appsync.AssociationStatusSuccess}, - Refresh: statusDomainNameAPIAssociation(ctx, conn, id), - Timeout: domainNameAPIAssociationTimeout, - } - - _, err := stateConf.WaitForStateContext(ctx) - - return err -} - -func waitDomainNameAPIDisassociation(ctx context.Context, conn *appsync.AppSync, id string) error { - stateConf := &retry.StateChangeConf{ - Pending: []string{appsync.AssociationStatusProcessing}, - Target: []string{}, - Refresh: statusDomainNameAPIAssociation(ctx, conn, id), - Timeout: domainNameAPIDisassociationTimeout, - } - - _, err := stateConf.WaitForStateContext(ctx) - - return err -} diff --git a/names/data/names_data.hcl b/names/data/names_data.hcl index d658e30bb0e..3880af55ab7 100644 --- a/names/data/names_data.hcl +++ b/names/data/names_data.hcl @@ -697,7 +697,7 @@ service "appsync" { sdk { id = "AppSync" - client_version = [1] + client_version = [2] } names { @@ -707,6 +707,7 @@ service "appsync" { client { go_v1_client_typename = "AppSync" + skip_client_generate = true } endpoint_info { diff --git a/names/names.go b/names/names.go index 8d2aab5841f..5bb09f15a1e 100644 --- a/names/names.go +++ b/names/names.go @@ -26,88 +26,89 @@ import ( // Endpoint constants defined by the AWS SDK v1 but not defined in the AWS SDK v2. const ( - AccessAnalyzerEndpointID = "access-analyzer" ACMPCAEndpointID = "acm-pca" AMPEndpointID = "aps" - AppStreamEndpointID = "appstream2" - ApplicationAutoscalingEndpointID = "application-autoscaling" - AppFabricEndpointID = "appfabric" - AppIntegrationsEndpointID = "app-integrations" - AppConfigEndpointID = "appconfig" - AmplifyEndpointID = "amplify" APIGatewayID = "apigateway" APIGatewayV2EndpointID = "apigateway" + AccessAnalyzerEndpointID = "access-analyzer" + AmplifyEndpointID = "amplify" + AppConfigEndpointID = "appconfig" + AppFabricEndpointID = "appfabric" + AppIntegrationsEndpointID = "app-integrations" + AppStreamEndpointID = "appstream2" + AppSyncEndpointID = "appsync" + ApplicationAutoscalingEndpointID = "application-autoscaling" ApplicationInsightsEndpointID = "applicationinsights" AthenaEndpointID = "athena" AuditManagerEndpointID = "auditmanager" AutoScalingPlansEndpointID = "autoscaling-plans" + BCMDataExportsEndpointID = "bcm-data-exports" BackupEndpointID = "backup" BatchEndpointID = "batch" BedrockAgentEndpointID = "bedrockagent" BedrockEndpointID = "bedrock" - BCMDataExportsEndpointID = "bcm-data-exports" BudgetsEndpointID = "budgets" ChimeSDKMediaPipelinesEndpointID = "media-pipelines-chime" ChimeSDKVoiceEndpointID = "voice-chime" + Cloud9EndpointID = "cloud9" CloudFormationEndpointID = "cloudformation" CloudFrontEndpointID = "cloudfront" CloudSearchEndpointID = "cloudsearch" CloudWatchEndpointID = "monitoring" - Cloud9EndpointID = "cloud9" CodeArtifactEndpointID = "codeartifact" CodeGuruReviewerEndpointID = "codeguru-reviewer" CodeStarConnectionsEndpointID = "codestar-connections" CognitoIdentityEndpointID = "cognito-identity" ComprehendEndpointID = "comprehend" ConfigServiceEndpointID = "config" - DeviceFarmEndpointID = "devicefarm" - DevOpsGuruEndpointID = "devops-guru" DLMEndpointID = "dlm" + DevOpsGuruEndpointID = "devops-guru" + DeviceFarmEndpointID = "devicefarm" ECREndpointID = "api.ecr" EKSEndpointID = "eks" EMREndpointID = "elasticmapreduce" EventsEndpointID = "events" EvidentlyEndpointID = "evidently" FMSEndpointID = "fms" + IVSChatEndpointID = "ivschat" IdentityStoreEndpointID = "identitystore" Inspector2EndpointID = "inspector2" - IVSChatEndpointID = "ivschat" - KendraEndpointID = "kendra" KMSEndpointID = "kms" + KendraEndpointID = "kendra" LambdaEndpointID = "lambda" LexV2ModelsEndpointID = "models-v2-lex" M2EndpointID = "m2" + MQEndpointID = "mq" MediaConvertEndpointID = "mediaconvert" MediaLiveEndpointID = "medialive" - MQEndpointID = "mq" ObservabilityAccessManagerEndpointID = "oam" - OpenSearchServerlessEndpointID = "aoss" OpenSearchIngestionEndpointID = "osis" + OpenSearchServerlessEndpointID = "aoss" PaymentCryptographyEndpointID = "paymentcryptography" PipesEndpointID = "pipes" PollyEndpointID = "polly" QLDBEndpointID = "qldb" - RedshiftServerlessEndpointID = "redshift-serverless" + RUMEndpointID = "rum" RedshiftEndpointID = "redshift" + RedshiftServerlessEndpointID = "redshift-serverless" RekognitionEndpointID = "rekognition" ResourceExplorer2EndpointID = "resource-explorer-2" RolesAnywhereEndpointID = "rolesanywhere" Route53DomainsEndpointID = "route53domains" - RUMEndpointID = "rum" - SchemasEndpointID = "schemas" + SSMEndpointID = "ssm" + SSMIncidentsEndpointID = "ssm-incidents" + SSOAdminEndpointID = "sso" + STSEndpointID = "sts" SchedulerEndpointID = "scheduler" + SchemasEndpointID = "schemas" ServiceCatalogAppRegistryEndpointID = "servicecatalog-appregistry" ServiceDiscoveryEndpointID = "servicediscovery" ServiceQuotasEndpointID = "servicequotas" ShieldEndpointID = "shield" - SSMEndpointID = "ssm" - SSMIncidentsEndpointID = "ssm-incidents" - SSOAdminEndpointID = "sso" - STSEndpointID = "sts" TranscribeEndpointID = "transcribe" TransferEndpointID = "transfer" - VerifiedPermissionsEndpointID = "verifiedpermissions" VPCLatticeEndpointID = "vpc-lattice" + VerifiedPermissionsEndpointID = "verifiedpermissions" WAFEndpointID = "waf" WAFRegionalEndpointID = "waf-regional" ) diff --git a/tools/tfsdk2fw/go.mod b/tools/tfsdk2fw/go.mod index 19e8c41dd5e..68365ae10dd 100644 --- a/tools/tfsdk2fw/go.mod +++ b/tools/tfsdk2fw/go.mod @@ -18,205 +18,206 @@ require ( github.com/agext/levenshtein v1.2.3 // indirect github.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect github.com/armon/go-radix v1.0.0 // indirect - github.com/aws/aws-sdk-go v1.54.4 // indirect - github.com/aws/aws-sdk-go-v2 v1.29.0 // indirect + github.com/aws/aws-sdk-go v1.54.5 // indirect + github.com/aws/aws-sdk-go-v2 v1.30.0 // indirect github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.2 // indirect - github.com/aws/aws-sdk-go-v2/config v1.27.20 // indirect - github.com/aws/aws-sdk-go-v2/credentials v1.17.20 // indirect - github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.7 // indirect - github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.17.0 // indirect - github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.11 // indirect - github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.11 // indirect + github.com/aws/aws-sdk-go-v2/config v1.27.21 // indirect + github.com/aws/aws-sdk-go-v2/credentials v1.17.21 // indirect + github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.8 // indirect + github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.17.1 // indirect + github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.12 // indirect + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.12 // indirect github.com/aws/aws-sdk-go-v2/internal/ini v1.8.0 // indirect - github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.11 // indirect - github.com/aws/aws-sdk-go-v2/service/accessanalyzer v1.31.0 // indirect - github.com/aws/aws-sdk-go-v2/service/account v1.18.0 // indirect - github.com/aws/aws-sdk-go-v2/service/acm v1.27.0 // indirect - github.com/aws/aws-sdk-go-v2/service/acmpca v1.31.0 // indirect - github.com/aws/aws-sdk-go-v2/service/amp v1.26.0 // indirect - github.com/aws/aws-sdk-go-v2/service/amplify v1.22.0 // indirect - github.com/aws/aws-sdk-go-v2/service/apigateway v1.24.0 // indirect - github.com/aws/aws-sdk-go-v2/service/apigatewayv2 v1.21.0 // indirect - github.com/aws/aws-sdk-go-v2/service/appconfig v1.30.0 // indirect - github.com/aws/aws-sdk-go-v2/service/appfabric v1.8.0 // indirect - github.com/aws/aws-sdk-go-v2/service/appflow v1.42.0 // indirect - github.com/aws/aws-sdk-go-v2/service/appintegrations v1.26.0 // indirect - github.com/aws/aws-sdk-go-v2/service/applicationautoscaling v1.28.0 // indirect - github.com/aws/aws-sdk-go-v2/service/applicationinsights v1.25.0 // indirect - github.com/aws/aws-sdk-go-v2/service/applicationsignals v1.1.0 // indirect - github.com/aws/aws-sdk-go-v2/service/apprunner v1.29.0 // indirect - github.com/aws/aws-sdk-go-v2/service/appstream v1.35.0 // indirect - github.com/aws/aws-sdk-go-v2/service/athena v1.42.0 // indirect - github.com/aws/aws-sdk-go-v2/service/auditmanager v1.34.0 // indirect - github.com/aws/aws-sdk-go-v2/service/autoscaling v1.41.0 // indirect - github.com/aws/aws-sdk-go-v2/service/autoscalingplans v1.21.0 // indirect - github.com/aws/aws-sdk-go-v2/service/backup v1.35.0 // indirect - github.com/aws/aws-sdk-go-v2/service/batch v1.40.0 // indirect - github.com/aws/aws-sdk-go-v2/service/bcmdataexports v1.4.0 // indirect - github.com/aws/aws-sdk-go-v2/service/bedrock v1.9.0 // indirect - github.com/aws/aws-sdk-go-v2/service/bedrockagent v1.13.0 // indirect - github.com/aws/aws-sdk-go-v2/service/budgets v1.24.0 // indirect - github.com/aws/aws-sdk-go-v2/service/chatbot v1.3.0 // indirect - github.com/aws/aws-sdk-go-v2/service/chimesdkmediapipelines v1.16.0 // indirect - github.com/aws/aws-sdk-go-v2/service/chimesdkvoice v1.16.0 // indirect - github.com/aws/aws-sdk-go-v2/service/cleanrooms v1.13.0 // indirect - github.com/aws/aws-sdk-go-v2/service/cloud9 v1.25.0 // indirect - github.com/aws/aws-sdk-go-v2/service/cloudcontrol v1.19.0 // indirect - github.com/aws/aws-sdk-go-v2/service/cloudformation v1.52.0 // indirect - github.com/aws/aws-sdk-go-v2/service/cloudfront v1.37.0 // indirect - github.com/aws/aws-sdk-go-v2/service/cloudfrontkeyvaluestore v1.5.0 // indirect - github.com/aws/aws-sdk-go-v2/service/cloudhsmv2 v1.23.0 // indirect - github.com/aws/aws-sdk-go-v2/service/cloudsearch v1.23.0 // indirect - github.com/aws/aws-sdk-go-v2/service/cloudtrail v1.41.0 // indirect - github.com/aws/aws-sdk-go-v2/service/cloudwatch v1.39.0 // indirect - github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs v1.36.0 // indirect - github.com/aws/aws-sdk-go-v2/service/codeartifact v1.28.0 // indirect - github.com/aws/aws-sdk-go-v2/service/codebuild v1.39.0 // indirect - github.com/aws/aws-sdk-go-v2/service/codecatalyst v1.14.0 // indirect - github.com/aws/aws-sdk-go-v2/service/codecommit v1.23.0 // indirect - github.com/aws/aws-sdk-go-v2/service/codedeploy v1.26.0 // indirect - github.com/aws/aws-sdk-go-v2/service/codeguruprofiler v1.21.0 // indirect - github.com/aws/aws-sdk-go-v2/service/codegurureviewer v1.26.0 // indirect - github.com/aws/aws-sdk-go-v2/service/codepipeline v1.29.0 // indirect - github.com/aws/aws-sdk-go-v2/service/codestarconnections v1.26.0 // indirect - github.com/aws/aws-sdk-go-v2/service/codestarnotifications v1.23.0 // indirect - github.com/aws/aws-sdk-go-v2/service/cognitoidentity v1.24.0 // indirect - github.com/aws/aws-sdk-go-v2/service/comprehend v1.32.0 // indirect - github.com/aws/aws-sdk-go-v2/service/computeoptimizer v1.35.0 // indirect - github.com/aws/aws-sdk-go-v2/service/configservice v1.47.0 // indirect - github.com/aws/aws-sdk-go-v2/service/connectcases v1.18.0 // indirect - github.com/aws/aws-sdk-go-v2/service/controltower v1.15.0 // indirect - github.com/aws/aws-sdk-go-v2/service/costandusagereportservice v1.24.0 // indirect - github.com/aws/aws-sdk-go-v2/service/costexplorer v1.39.0 // indirect - github.com/aws/aws-sdk-go-v2/service/costoptimizationhub v1.5.0 // indirect - github.com/aws/aws-sdk-go-v2/service/customerprofiles v1.37.0 // indirect - github.com/aws/aws-sdk-go-v2/service/datasync v1.39.0 // indirect - github.com/aws/aws-sdk-go-v2/service/datazone v1.10.0 // indirect - github.com/aws/aws-sdk-go-v2/service/dax v1.20.0 // indirect - github.com/aws/aws-sdk-go-v2/service/devicefarm v1.23.0 // indirect - github.com/aws/aws-sdk-go-v2/service/devopsguru v1.31.0 // indirect - github.com/aws/aws-sdk-go-v2/service/directoryservice v1.26.0 // indirect - github.com/aws/aws-sdk-go-v2/service/dlm v1.25.0 // indirect - github.com/aws/aws-sdk-go-v2/service/docdb v1.35.0 // indirect - github.com/aws/aws-sdk-go-v2/service/docdbelastic v1.10.0 // indirect - github.com/aws/aws-sdk-go-v2/service/drs v1.27.0 // indirect - github.com/aws/aws-sdk-go-v2/service/dynamodb v1.33.0 // indirect - github.com/aws/aws-sdk-go-v2/service/ec2 v1.165.0 // indirect - github.com/aws/aws-sdk-go-v2/service/ecr v1.29.0 // indirect - github.com/aws/aws-sdk-go-v2/service/ecrpublic v1.24.0 // indirect - github.com/aws/aws-sdk-go-v2/service/ecs v1.43.0 // indirect - github.com/aws/aws-sdk-go-v2/service/eks v1.44.0 // indirect - github.com/aws/aws-sdk-go-v2/service/elasticache v1.39.0 // indirect - github.com/aws/aws-sdk-go-v2/service/elasticbeanstalk v1.24.0 // indirect - github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2 v1.32.0 // indirect - github.com/aws/aws-sdk-go-v2/service/emr v1.40.0 // indirect - github.com/aws/aws-sdk-go-v2/service/emrserverless v1.22.0 // indirect - github.com/aws/aws-sdk-go-v2/service/eventbridge v1.32.0 // indirect - github.com/aws/aws-sdk-go-v2/service/evidently v1.20.0 // indirect - github.com/aws/aws-sdk-go-v2/service/finspace v1.25.0 // indirect - github.com/aws/aws-sdk-go-v2/service/firehose v1.30.0 // indirect - github.com/aws/aws-sdk-go-v2/service/fis v1.25.0 // indirect - github.com/aws/aws-sdk-go-v2/service/fms v1.34.0 // indirect - github.com/aws/aws-sdk-go-v2/service/glacier v1.23.0 // indirect - github.com/aws/aws-sdk-go-v2/service/globalaccelerator v1.25.0 // indirect - github.com/aws/aws-sdk-go-v2/service/groundstation v1.28.0 // indirect - github.com/aws/aws-sdk-go-v2/service/guardduty v1.44.0 // indirect - github.com/aws/aws-sdk-go-v2/service/healthlake v1.25.0 // indirect - github.com/aws/aws-sdk-go-v2/service/iam v1.33.0 // indirect - github.com/aws/aws-sdk-go-v2/service/identitystore v1.24.0 // indirect - github.com/aws/aws-sdk-go-v2/service/inspector2 v1.27.0 // indirect + github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.12 // indirect + github.com/aws/aws-sdk-go-v2/service/accessanalyzer v1.31.1 // indirect + github.com/aws/aws-sdk-go-v2/service/account v1.18.1 // indirect + github.com/aws/aws-sdk-go-v2/service/acm v1.27.1 // indirect + github.com/aws/aws-sdk-go-v2/service/acmpca v1.31.1 // indirect + github.com/aws/aws-sdk-go-v2/service/amp v1.26.1 // indirect + github.com/aws/aws-sdk-go-v2/service/amplify v1.22.1 // indirect + github.com/aws/aws-sdk-go-v2/service/apigateway v1.24.1 // indirect + github.com/aws/aws-sdk-go-v2/service/apigatewayv2 v1.21.1 // indirect + github.com/aws/aws-sdk-go-v2/service/appconfig v1.30.1 // indirect + github.com/aws/aws-sdk-go-v2/service/appfabric v1.8.1 // indirect + github.com/aws/aws-sdk-go-v2/service/appflow v1.42.1 // indirect + github.com/aws/aws-sdk-go-v2/service/appintegrations v1.26.1 // indirect + github.com/aws/aws-sdk-go-v2/service/applicationautoscaling v1.28.1 // indirect + github.com/aws/aws-sdk-go-v2/service/applicationinsights v1.25.1 // indirect + github.com/aws/aws-sdk-go-v2/service/applicationsignals v1.1.1 // indirect + github.com/aws/aws-sdk-go-v2/service/apprunner v1.29.1 // indirect + github.com/aws/aws-sdk-go-v2/service/appstream v1.35.1 // indirect + github.com/aws/aws-sdk-go-v2/service/appsync v1.33.1 // indirect + github.com/aws/aws-sdk-go-v2/service/athena v1.43.0 // indirect + github.com/aws/aws-sdk-go-v2/service/auditmanager v1.34.1 // indirect + github.com/aws/aws-sdk-go-v2/service/autoscaling v1.41.1 // indirect + github.com/aws/aws-sdk-go-v2/service/autoscalingplans v1.21.1 // indirect + github.com/aws/aws-sdk-go-v2/service/backup v1.35.1 // indirect + github.com/aws/aws-sdk-go-v2/service/batch v1.40.1 // indirect + github.com/aws/aws-sdk-go-v2/service/bcmdataexports v1.4.1 // indirect + github.com/aws/aws-sdk-go-v2/service/bedrock v1.9.1 // indirect + github.com/aws/aws-sdk-go-v2/service/bedrockagent v1.13.1 // indirect + github.com/aws/aws-sdk-go-v2/service/budgets v1.24.1 // indirect + github.com/aws/aws-sdk-go-v2/service/chatbot v1.3.1 // indirect + github.com/aws/aws-sdk-go-v2/service/chimesdkmediapipelines v1.16.1 // indirect + github.com/aws/aws-sdk-go-v2/service/chimesdkvoice v1.16.1 // indirect + github.com/aws/aws-sdk-go-v2/service/cleanrooms v1.13.1 // indirect + github.com/aws/aws-sdk-go-v2/service/cloud9 v1.25.1 // indirect + github.com/aws/aws-sdk-go-v2/service/cloudcontrol v1.19.1 // indirect + github.com/aws/aws-sdk-go-v2/service/cloudformation v1.52.1 // indirect + github.com/aws/aws-sdk-go-v2/service/cloudfront v1.37.1 // indirect + github.com/aws/aws-sdk-go-v2/service/cloudfrontkeyvaluestore v1.5.1 // indirect + github.com/aws/aws-sdk-go-v2/service/cloudhsmv2 v1.23.1 // indirect + github.com/aws/aws-sdk-go-v2/service/cloudsearch v1.23.1 // indirect + github.com/aws/aws-sdk-go-v2/service/cloudtrail v1.41.1 // indirect + github.com/aws/aws-sdk-go-v2/service/cloudwatch v1.39.1 // indirect + github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs v1.36.1 // indirect + github.com/aws/aws-sdk-go-v2/service/codeartifact v1.28.1 // indirect + github.com/aws/aws-sdk-go-v2/service/codebuild v1.39.1 // indirect + github.com/aws/aws-sdk-go-v2/service/codecatalyst v1.14.1 // indirect + github.com/aws/aws-sdk-go-v2/service/codecommit v1.23.1 // indirect + github.com/aws/aws-sdk-go-v2/service/codedeploy v1.26.1 // indirect + github.com/aws/aws-sdk-go-v2/service/codeguruprofiler v1.21.1 // indirect + github.com/aws/aws-sdk-go-v2/service/codegurureviewer v1.26.1 // indirect + github.com/aws/aws-sdk-go-v2/service/codepipeline v1.29.1 // indirect + github.com/aws/aws-sdk-go-v2/service/codestarconnections v1.26.1 // indirect + github.com/aws/aws-sdk-go-v2/service/codestarnotifications v1.23.1 // indirect + github.com/aws/aws-sdk-go-v2/service/cognitoidentity v1.24.1 // indirect + github.com/aws/aws-sdk-go-v2/service/comprehend v1.32.1 // indirect + github.com/aws/aws-sdk-go-v2/service/computeoptimizer v1.35.1 // indirect + github.com/aws/aws-sdk-go-v2/service/configservice v1.47.1 // indirect + github.com/aws/aws-sdk-go-v2/service/connectcases v1.18.1 // indirect + github.com/aws/aws-sdk-go-v2/service/controltower v1.15.1 // indirect + github.com/aws/aws-sdk-go-v2/service/costandusagereportservice v1.25.0 // indirect + github.com/aws/aws-sdk-go-v2/service/costexplorer v1.39.1 // indirect + github.com/aws/aws-sdk-go-v2/service/costoptimizationhub v1.5.1 // indirect + github.com/aws/aws-sdk-go-v2/service/customerprofiles v1.37.1 // indirect + github.com/aws/aws-sdk-go-v2/service/datasync v1.39.1 // indirect + github.com/aws/aws-sdk-go-v2/service/datazone v1.10.1 // indirect + github.com/aws/aws-sdk-go-v2/service/dax v1.20.1 // indirect + github.com/aws/aws-sdk-go-v2/service/devicefarm v1.23.1 // indirect + github.com/aws/aws-sdk-go-v2/service/devopsguru v1.31.1 // indirect + github.com/aws/aws-sdk-go-v2/service/directoryservice v1.26.1 // indirect + github.com/aws/aws-sdk-go-v2/service/dlm v1.25.1 // indirect + github.com/aws/aws-sdk-go-v2/service/docdb v1.35.1 // indirect + github.com/aws/aws-sdk-go-v2/service/docdbelastic v1.10.1 // indirect + github.com/aws/aws-sdk-go-v2/service/drs v1.27.1 // indirect + github.com/aws/aws-sdk-go-v2/service/dynamodb v1.33.1 // indirect + github.com/aws/aws-sdk-go-v2/service/ec2 v1.165.1 // indirect + github.com/aws/aws-sdk-go-v2/service/ecr v1.29.1 // indirect + github.com/aws/aws-sdk-go-v2/service/ecrpublic v1.24.1 // indirect + github.com/aws/aws-sdk-go-v2/service/ecs v1.43.1 // indirect + github.com/aws/aws-sdk-go-v2/service/eks v1.44.1 // indirect + github.com/aws/aws-sdk-go-v2/service/elasticache v1.39.1 // indirect + github.com/aws/aws-sdk-go-v2/service/elasticbeanstalk v1.24.1 // indirect + github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2 v1.32.1 // indirect + github.com/aws/aws-sdk-go-v2/service/emr v1.40.1 // indirect + github.com/aws/aws-sdk-go-v2/service/emrserverless v1.22.1 // indirect + github.com/aws/aws-sdk-go-v2/service/eventbridge v1.32.1 // indirect + github.com/aws/aws-sdk-go-v2/service/evidently v1.20.1 // indirect + github.com/aws/aws-sdk-go-v2/service/finspace v1.25.1 // indirect + github.com/aws/aws-sdk-go-v2/service/firehose v1.30.1 // indirect + github.com/aws/aws-sdk-go-v2/service/fis v1.25.1 // indirect + github.com/aws/aws-sdk-go-v2/service/fms v1.34.1 // indirect + github.com/aws/aws-sdk-go-v2/service/glacier v1.23.1 // indirect + github.com/aws/aws-sdk-go-v2/service/globalaccelerator v1.25.1 // indirect + github.com/aws/aws-sdk-go-v2/service/groundstation v1.28.1 // indirect + github.com/aws/aws-sdk-go-v2/service/guardduty v1.44.1 // indirect + github.com/aws/aws-sdk-go-v2/service/healthlake v1.25.1 // indirect + github.com/aws/aws-sdk-go-v2/service/iam v1.33.1 // indirect + github.com/aws/aws-sdk-go-v2/service/identitystore v1.24.1 // indirect + github.com/aws/aws-sdk-go-v2/service/inspector2 v1.27.1 // indirect github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.11.2 // indirect - github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.3.13 // indirect - github.com/aws/aws-sdk-go-v2/service/internal/endpoint-discovery v1.9.12 // indirect - github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.11.13 // indirect - github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.17.11 // indirect - github.com/aws/aws-sdk-go-v2/service/internetmonitor v1.15.0 // indirect - github.com/aws/aws-sdk-go-v2/service/ivschat v1.13.0 // indirect - github.com/aws/aws-sdk-go-v2/service/kafka v1.34.0 // indirect - github.com/aws/aws-sdk-go-v2/service/kendra v1.51.0 // indirect - github.com/aws/aws-sdk-go-v2/service/keyspaces v1.11.0 // indirect - github.com/aws/aws-sdk-go-v2/service/kinesis v1.28.0 // indirect - github.com/aws/aws-sdk-go-v2/service/kms v1.34.0 // indirect - github.com/aws/aws-sdk-go-v2/service/lakeformation v1.34.0 // indirect - github.com/aws/aws-sdk-go-v2/service/lambda v1.55.0 // indirect - github.com/aws/aws-sdk-go-v2/service/launchwizard v1.5.0 // indirect - github.com/aws/aws-sdk-go-v2/service/lexmodelsv2 v1.44.0 // indirect - github.com/aws/aws-sdk-go-v2/service/lightsail v1.39.0 // indirect - github.com/aws/aws-sdk-go-v2/service/lookoutmetrics v1.28.0 // indirect - github.com/aws/aws-sdk-go-v2/service/m2 v1.14.0 // indirect - github.com/aws/aws-sdk-go-v2/service/mediaconnect v1.29.0 // indirect - github.com/aws/aws-sdk-go-v2/service/mediaconvert v1.56.0 // indirect - github.com/aws/aws-sdk-go-v2/service/medialive v1.53.0 // indirect - github.com/aws/aws-sdk-go-v2/service/mediapackage v1.31.0 // indirect - github.com/aws/aws-sdk-go-v2/service/mediapackagev2 v1.13.0 // indirect - github.com/aws/aws-sdk-go-v2/service/mediastore v1.21.0 // indirect - github.com/aws/aws-sdk-go-v2/service/mq v1.23.0 // indirect - github.com/aws/aws-sdk-go-v2/service/mwaa v1.28.0 // indirect - github.com/aws/aws-sdk-go-v2/service/neptunegraph v1.9.0 // indirect - github.com/aws/aws-sdk-go-v2/service/oam v1.12.0 // indirect - github.com/aws/aws-sdk-go-v2/service/opensearchserverless v1.12.0 // indirect - github.com/aws/aws-sdk-go-v2/service/organizations v1.28.0 // indirect - github.com/aws/aws-sdk-go-v2/service/osis v1.11.0 // indirect - github.com/aws/aws-sdk-go-v2/service/paymentcryptography v1.11.0 // indirect - github.com/aws/aws-sdk-go-v2/service/pcaconnectorad v1.6.0 // indirect - github.com/aws/aws-sdk-go-v2/service/pipes v1.13.0 // indirect - github.com/aws/aws-sdk-go-v2/service/polly v1.41.0 // indirect - github.com/aws/aws-sdk-go-v2/service/pricing v1.29.0 // indirect - github.com/aws/aws-sdk-go-v2/service/qbusiness v1.7.0 // indirect - github.com/aws/aws-sdk-go-v2/service/qldb v1.22.0 // indirect - github.com/aws/aws-sdk-go-v2/service/ram v1.26.0 // indirect - github.com/aws/aws-sdk-go-v2/service/rbin v1.17.0 // indirect - github.com/aws/aws-sdk-go-v2/service/rds v1.80.0 // indirect - github.com/aws/aws-sdk-go-v2/service/redshift v1.45.0 // indirect - github.com/aws/aws-sdk-go-v2/service/redshiftdata v1.26.0 // indirect - github.com/aws/aws-sdk-go-v2/service/redshiftserverless v1.19.0 // indirect - github.com/aws/aws-sdk-go-v2/service/rekognition v1.41.0 // indirect - github.com/aws/aws-sdk-go-v2/service/resourceexplorer2 v1.11.0 // indirect - github.com/aws/aws-sdk-go-v2/service/resourcegroups v1.23.0 // indirect - github.com/aws/aws-sdk-go-v2/service/resourcegroupstaggingapi v1.22.0 // indirect - github.com/aws/aws-sdk-go-v2/service/rolesanywhere v1.12.0 // indirect - github.com/aws/aws-sdk-go-v2/service/route53 v1.41.0 // indirect - github.com/aws/aws-sdk-go-v2/service/route53domains v1.24.0 // indirect - github.com/aws/aws-sdk-go-v2/service/route53profiles v1.1.0 // indirect - github.com/aws/aws-sdk-go-v2/service/rum v1.18.0 // indirect - github.com/aws/aws-sdk-go-v2/service/s3 v1.56.0 // indirect - github.com/aws/aws-sdk-go-v2/service/s3control v1.45.0 // indirect - github.com/aws/aws-sdk-go-v2/service/scheduler v1.9.0 // indirect - github.com/aws/aws-sdk-go-v2/service/schemas v1.25.0 // indirect - github.com/aws/aws-sdk-go-v2/service/secretsmanager v1.31.0 // indirect - github.com/aws/aws-sdk-go-v2/service/securityhub v1.50.0 // indirect - github.com/aws/aws-sdk-go-v2/service/securitylake v1.15.0 // indirect - github.com/aws/aws-sdk-go-v2/service/servicecatalogappregistry v1.27.0 // indirect - github.com/aws/aws-sdk-go-v2/service/servicediscovery v1.30.0 // indirect - github.com/aws/aws-sdk-go-v2/service/servicequotas v1.22.0 // indirect - github.com/aws/aws-sdk-go-v2/service/sesv2 v1.31.0 // indirect - github.com/aws/aws-sdk-go-v2/service/shield v1.26.0 // indirect - github.com/aws/aws-sdk-go-v2/service/signer v1.23.0 // indirect - github.com/aws/aws-sdk-go-v2/service/sns v1.30.0 // indirect - github.com/aws/aws-sdk-go-v2/service/sqs v1.33.0 // indirect - github.com/aws/aws-sdk-go-v2/service/ssm v1.51.0 // indirect - github.com/aws/aws-sdk-go-v2/service/ssmcontacts v1.23.0 // indirect - github.com/aws/aws-sdk-go-v2/service/ssmincidents v1.31.0 // indirect - github.com/aws/aws-sdk-go-v2/service/ssmsap v1.14.0 // indirect - github.com/aws/aws-sdk-go-v2/service/sso v1.21.0 // indirect - github.com/aws/aws-sdk-go-v2/service/ssoadmin v1.26.0 // indirect - github.com/aws/aws-sdk-go-v2/service/ssooidc v1.25.0 // indirect - github.com/aws/aws-sdk-go-v2/service/sts v1.29.0 // indirect - github.com/aws/aws-sdk-go-v2/service/swf v1.24.0 // indirect - github.com/aws/aws-sdk-go-v2/service/synthetics v1.25.0 // indirect - github.com/aws/aws-sdk-go-v2/service/timestreaminfluxdb v1.1.0 // indirect - github.com/aws/aws-sdk-go-v2/service/timestreamwrite v1.26.0 // indirect - github.com/aws/aws-sdk-go-v2/service/transcribe v1.38.0 // indirect - github.com/aws/aws-sdk-go-v2/service/transfer v1.49.0 // indirect - github.com/aws/aws-sdk-go-v2/service/verifiedpermissions v1.16.0 // indirect - github.com/aws/aws-sdk-go-v2/service/vpclattice v1.9.0 // indirect - github.com/aws/aws-sdk-go-v2/service/waf v1.22.0 // indirect - github.com/aws/aws-sdk-go-v2/service/wafregional v1.22.0 // indirect - github.com/aws/aws-sdk-go-v2/service/wafv2 v1.50.0 // indirect - github.com/aws/aws-sdk-go-v2/service/wellarchitected v1.31.0 // indirect - github.com/aws/aws-sdk-go-v2/service/workspaces v1.40.0 // indirect - github.com/aws/aws-sdk-go-v2/service/workspacesweb v1.19.0 // indirect - github.com/aws/aws-sdk-go-v2/service/xray v1.26.0 // indirect + github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.3.14 // indirect + github.com/aws/aws-sdk-go-v2/service/internal/endpoint-discovery v1.9.13 // indirect + github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.11.14 // indirect + github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.17.12 // indirect + github.com/aws/aws-sdk-go-v2/service/internetmonitor v1.15.1 // indirect + github.com/aws/aws-sdk-go-v2/service/ivschat v1.13.1 // indirect + github.com/aws/aws-sdk-go-v2/service/kafka v1.34.1 // indirect + github.com/aws/aws-sdk-go-v2/service/kendra v1.51.1 // indirect + github.com/aws/aws-sdk-go-v2/service/keyspaces v1.11.1 // indirect + github.com/aws/aws-sdk-go-v2/service/kinesis v1.28.1 // indirect + github.com/aws/aws-sdk-go-v2/service/kms v1.34.1 // indirect + github.com/aws/aws-sdk-go-v2/service/lakeformation v1.34.1 // indirect + github.com/aws/aws-sdk-go-v2/service/lambda v1.55.1 // indirect + github.com/aws/aws-sdk-go-v2/service/launchwizard v1.5.1 // indirect + github.com/aws/aws-sdk-go-v2/service/lexmodelsv2 v1.44.1 // indirect + github.com/aws/aws-sdk-go-v2/service/lightsail v1.39.1 // indirect + github.com/aws/aws-sdk-go-v2/service/lookoutmetrics v1.28.1 // indirect + github.com/aws/aws-sdk-go-v2/service/m2 v1.14.1 // indirect + github.com/aws/aws-sdk-go-v2/service/mediaconnect v1.29.1 // indirect + github.com/aws/aws-sdk-go-v2/service/mediaconvert v1.56.1 // indirect + github.com/aws/aws-sdk-go-v2/service/medialive v1.53.1 // indirect + github.com/aws/aws-sdk-go-v2/service/mediapackage v1.31.1 // indirect + github.com/aws/aws-sdk-go-v2/service/mediapackagev2 v1.13.1 // indirect + github.com/aws/aws-sdk-go-v2/service/mediastore v1.21.1 // indirect + github.com/aws/aws-sdk-go-v2/service/mq v1.23.1 // indirect + github.com/aws/aws-sdk-go-v2/service/mwaa v1.28.1 // indirect + github.com/aws/aws-sdk-go-v2/service/neptunegraph v1.9.1 // indirect + github.com/aws/aws-sdk-go-v2/service/oam v1.12.1 // indirect + github.com/aws/aws-sdk-go-v2/service/opensearchserverless v1.12.1 // indirect + github.com/aws/aws-sdk-go-v2/service/organizations v1.28.1 // indirect + github.com/aws/aws-sdk-go-v2/service/osis v1.11.1 // indirect + github.com/aws/aws-sdk-go-v2/service/paymentcryptography v1.11.1 // indirect + github.com/aws/aws-sdk-go-v2/service/pcaconnectorad v1.6.1 // indirect + github.com/aws/aws-sdk-go-v2/service/pipes v1.13.1 // indirect + github.com/aws/aws-sdk-go-v2/service/polly v1.41.1 // indirect + github.com/aws/aws-sdk-go-v2/service/pricing v1.29.1 // indirect + github.com/aws/aws-sdk-go-v2/service/qbusiness v1.7.1 // indirect + github.com/aws/aws-sdk-go-v2/service/qldb v1.22.1 // indirect + github.com/aws/aws-sdk-go-v2/service/ram v1.26.1 // indirect + github.com/aws/aws-sdk-go-v2/service/rbin v1.17.1 // indirect + github.com/aws/aws-sdk-go-v2/service/rds v1.80.1 // indirect + github.com/aws/aws-sdk-go-v2/service/redshift v1.45.1 // indirect + github.com/aws/aws-sdk-go-v2/service/redshiftdata v1.26.1 // indirect + github.com/aws/aws-sdk-go-v2/service/redshiftserverless v1.19.1 // indirect + github.com/aws/aws-sdk-go-v2/service/rekognition v1.41.1 // indirect + github.com/aws/aws-sdk-go-v2/service/resourceexplorer2 v1.11.1 // indirect + github.com/aws/aws-sdk-go-v2/service/resourcegroups v1.23.1 // indirect + github.com/aws/aws-sdk-go-v2/service/resourcegroupstaggingapi v1.22.1 // indirect + github.com/aws/aws-sdk-go-v2/service/rolesanywhere v1.12.1 // indirect + github.com/aws/aws-sdk-go-v2/service/route53 v1.41.1 // indirect + github.com/aws/aws-sdk-go-v2/service/route53domains v1.24.1 // indirect + github.com/aws/aws-sdk-go-v2/service/route53profiles v1.1.1 // indirect + github.com/aws/aws-sdk-go-v2/service/rum v1.18.1 // indirect + github.com/aws/aws-sdk-go-v2/service/s3 v1.56.1 // indirect + github.com/aws/aws-sdk-go-v2/service/s3control v1.45.1 // indirect + github.com/aws/aws-sdk-go-v2/service/scheduler v1.9.1 // indirect + github.com/aws/aws-sdk-go-v2/service/schemas v1.25.1 // indirect + github.com/aws/aws-sdk-go-v2/service/secretsmanager v1.31.1 // indirect + github.com/aws/aws-sdk-go-v2/service/securityhub v1.50.1 // indirect + github.com/aws/aws-sdk-go-v2/service/securitylake v1.15.1 // indirect + github.com/aws/aws-sdk-go-v2/service/servicecatalogappregistry v1.27.1 // indirect + github.com/aws/aws-sdk-go-v2/service/servicediscovery v1.30.1 // indirect + github.com/aws/aws-sdk-go-v2/service/servicequotas v1.22.1 // indirect + github.com/aws/aws-sdk-go-v2/service/sesv2 v1.31.1 // indirect + github.com/aws/aws-sdk-go-v2/service/shield v1.26.1 // indirect + github.com/aws/aws-sdk-go-v2/service/signer v1.23.1 // indirect + github.com/aws/aws-sdk-go-v2/service/sns v1.30.1 // indirect + github.com/aws/aws-sdk-go-v2/service/sqs v1.33.1 // indirect + github.com/aws/aws-sdk-go-v2/service/ssm v1.51.1 // indirect + github.com/aws/aws-sdk-go-v2/service/ssmcontacts v1.23.1 // indirect + github.com/aws/aws-sdk-go-v2/service/ssmincidents v1.31.1 // indirect + github.com/aws/aws-sdk-go-v2/service/ssmsap v1.14.1 // indirect + github.com/aws/aws-sdk-go-v2/service/sso v1.21.1 // indirect + github.com/aws/aws-sdk-go-v2/service/ssoadmin v1.26.1 // indirect + github.com/aws/aws-sdk-go-v2/service/ssooidc v1.25.1 // indirect + github.com/aws/aws-sdk-go-v2/service/sts v1.29.1 // indirect + github.com/aws/aws-sdk-go-v2/service/swf v1.24.1 // indirect + github.com/aws/aws-sdk-go-v2/service/synthetics v1.25.1 // indirect + github.com/aws/aws-sdk-go-v2/service/timestreaminfluxdb v1.1.1 // indirect + github.com/aws/aws-sdk-go-v2/service/timestreamwrite v1.26.1 // indirect + github.com/aws/aws-sdk-go-v2/service/transcribe v1.38.1 // indirect + github.com/aws/aws-sdk-go-v2/service/transfer v1.49.1 // indirect + github.com/aws/aws-sdk-go-v2/service/verifiedpermissions v1.16.1 // indirect + github.com/aws/aws-sdk-go-v2/service/vpclattice v1.9.1 // indirect + github.com/aws/aws-sdk-go-v2/service/waf v1.22.1 // indirect + github.com/aws/aws-sdk-go-v2/service/wafregional v1.22.1 // indirect + github.com/aws/aws-sdk-go-v2/service/wafv2 v1.50.1 // indirect + github.com/aws/aws-sdk-go-v2/service/wellarchitected v1.31.1 // indirect + github.com/aws/aws-sdk-go-v2/service/workspaces v1.40.1 // indirect + github.com/aws/aws-sdk-go-v2/service/workspacesweb v1.19.1 // indirect + github.com/aws/aws-sdk-go-v2/service/xray v1.26.1 // indirect github.com/aws/smithy-go v1.20.2 // indirect github.com/beevik/etree v1.4.0 // indirect github.com/bgentry/speakeasy v0.1.0 // indirect diff --git a/tools/tfsdk2fw/go.sum b/tools/tfsdk2fw/go.sum index f988c65a712..8c79c3fc4b5 100644 --- a/tools/tfsdk2fw/go.sum +++ b/tools/tfsdk2fw/go.sum @@ -22,404 +22,406 @@ github.com/apparentlymart/go-textseg/v15 v15.0.0 h1:uYvfpb3DyLSCGWnctWKGj857c6ew github.com/apparentlymart/go-textseg/v15 v15.0.0/go.mod h1:K8XmNZdhEBkdlyDdvbmmsvpAG721bKi0joRfFdHIWJ4= github.com/armon/go-radix v1.0.0 h1:F4z6KzEeeQIMeLFa97iZU6vupzoecKdU5TX24SNppXI= github.com/armon/go-radix v1.0.0/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= -github.com/aws/aws-sdk-go v1.54.4 h1:xZga3fPu7uxVgh83DIaQlb7r0cixFx1xKiiROTWAhpU= -github.com/aws/aws-sdk-go v1.54.4/go.mod h1:eRwEWoyTWFMVYVQzKMNHWP5/RV4xIUGMQfXQHfHkpNU= -github.com/aws/aws-sdk-go-v2 v1.29.0 h1:uMlEecEwgp2gs6CsM6ugquNHr6mg0LHylPBR8u5Ojac= -github.com/aws/aws-sdk-go-v2 v1.29.0/go.mod h1:ffIFB97e2yNsv4aTSGkqtHnppsIJzw7G7BReUZ3jCXM= +github.com/aws/aws-sdk-go v1.54.5 h1:uOYrME3NWf7/J7orDdhZbF8IQCNkE7OZHATdzWS0ok0= +github.com/aws/aws-sdk-go v1.54.5/go.mod h1:eRwEWoyTWFMVYVQzKMNHWP5/RV4xIUGMQfXQHfHkpNU= +github.com/aws/aws-sdk-go-v2 v1.30.0 h1:6qAwtzlfcTtcL8NHtbDQAqgM5s6NDipQTkPxyH/6kAA= +github.com/aws/aws-sdk-go-v2 v1.30.0/go.mod h1:ffIFB97e2yNsv4aTSGkqtHnppsIJzw7G7BReUZ3jCXM= github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.2 h1:x6xsQXGSmW6frevwDA+vi/wqhp1ct18mVXYN08/93to= github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.2/go.mod h1:lPprDr1e6cJdyYeGXnRaJoP4Md+cDBvi2eOj00BlGmg= -github.com/aws/aws-sdk-go-v2/config v1.27.20 h1:oQSn/KNUMV54X0FBEDQQ2ymNfcKyMT81ar8gyvMzzqs= -github.com/aws/aws-sdk-go-v2/config v1.27.20/go.mod h1:IbEMotJrWc3Bh7++HXZDlviHZP7kHrkHU3PNl9e17po= -github.com/aws/aws-sdk-go-v2/credentials v1.17.20 h1:VYTCplAeOeBv5InTtrmF61OIwD4aHKryg3KZ6hf7dsI= -github.com/aws/aws-sdk-go-v2/credentials v1.17.20/go.mod h1:ktubcFYvbN8++72jVM9IJoQH6Q2TP+Z7r2VbV1AaESU= -github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.7 h1:54QUEXjkE1SlxHmRA3gBXA52j/ZSAgdOfAFGv1NsPCY= -github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.7/go.mod h1:bQRjJsdSMzmo/qbtGeBtPbIMp1IgQ+9R9jYJLm12uJA= -github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.17.0 h1:51p4kCxB/9+QvBtg0KfwgTu10yiHuB9SrjbUE0d/vgw= -github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.17.0/go.mod h1:FtmZRmuRxdLBk4P/JcvZncfbwvLobQYktVaVAF8cx9A= -github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.11 h1:ltkhl3I9ddcRR3Dsy+7bOFFq546O8OYsfNEXVIyuOSE= -github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.11/go.mod h1:H4D8JoCFNJwnT7U5U8iwgG24n71Fx2I/ZP/18eYFr9g= -github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.11 h1:+BgX2AY7yV4ggSwa80z/yZIJX+e0jnNxjMLVyfpSXM0= -github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.11/go.mod h1:DlBATBSDCz30BCdRFldmyLsAzJwi2pdQ+YSdJTHhTUI= +github.com/aws/aws-sdk-go-v2/config v1.27.21 h1:yPX3pjGCe2hJsetlmGNB4Mngu7UPmvWPzzWCv1+boeM= +github.com/aws/aws-sdk-go-v2/config v1.27.21/go.mod h1:4XtlEU6DzNai8RMbjSF5MgGZtYvrhBP/aKZcRtZAVdM= +github.com/aws/aws-sdk-go-v2/credentials v1.17.21 h1:pjAqgzfgFhTv5grc7xPHtXCAaMapzmwA7aU+c/SZQGw= +github.com/aws/aws-sdk-go-v2/credentials v1.17.21/go.mod h1:nhK6PtBlfHTUDVmBLr1dg+WHCOCK+1Fu/WQyVHPsgNQ= +github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.8 h1:FR+oWPFb/8qMVYMWN98bUZAGqPvLHiyqg1wqQGfUAXY= +github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.8/go.mod h1:EgSKcHiuuakEIxJcKGzVNWh5srVAQ3jKaSrBGRYvM48= +github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.17.1 h1:D9VqWMuw7lJAX6d5eINfRQ/PkvtcJAK3Qmd6f6xEeUw= +github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.17.1/go.mod h1:ckvBx7codI4wzc5inOfDp5ZbK7TjMFa7eXwmLvXQrRk= +github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.12 h1:SJ04WXGTwnHlWIODtC5kJzKbeuHt+OUNOgKg7nfnUGw= +github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.12/go.mod h1:FkpvXhA92gb3GE9LD6Og0pHHycTxW7xGpnEh5E7Opwo= +github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.12 h1:hb5KgeYfObi5MHkSSZMEudnIvX30iB+E21evI4r6BnQ= +github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.12/go.mod h1:CroKe/eWJdyfy9Vx4rljP5wTUjNJfb+fPz1uMYUhEGM= github.com/aws/aws-sdk-go-v2/internal/ini v1.8.0 h1:hT8rVHwugYE2lEfdFE0QWVo81lF7jMrYJVDWI+f+VxU= github.com/aws/aws-sdk-go-v2/internal/ini v1.8.0/go.mod h1:8tu/lYfQfFe6IGnaOdrpVgEL2IrrDOf6/m9RQum4NkY= -github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.11 h1:jJ2dythFP5oNunvwc3gBsINl3ZPt/InVm4a5OAr3tag= -github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.11/go.mod h1:SNkot0zeLtgjP54/6BGuyG12pBcXi77jV5nbEsPgPzg= -github.com/aws/aws-sdk-go-v2/service/accessanalyzer v1.31.0 h1:sM+N/AhxM0oPE2A+8iTYQ+jtYw4guFv+M37NSN3IUNM= -github.com/aws/aws-sdk-go-v2/service/accessanalyzer v1.31.0/go.mod h1:AbqbSr5/I8pLape+l0cXw8huuLmmW6hbk+NJzPiV8lg= -github.com/aws/aws-sdk-go-v2/service/account v1.18.0 h1:+pXg+HCr8fs/Y+yLuiALewjJ17xluA3d4Y7MvY8Ntt8= -github.com/aws/aws-sdk-go-v2/service/account v1.18.0/go.mod h1:4BVmMMaWjTz/Qb4wgcGF9WKNB5xbUvbEYQ1dV28Cjtc= -github.com/aws/aws-sdk-go-v2/service/acm v1.27.0 h1:TMHvKbOxYvIOWQjKjXKGWYiLHC0PsWO90+5Q19jaZW4= -github.com/aws/aws-sdk-go-v2/service/acm v1.27.0/go.mod h1:yNwraJajyXG0CXINndTEJjBRe6mztLyGuwxXRR9Mhpc= -github.com/aws/aws-sdk-go-v2/service/acmpca v1.31.0 h1:Wptawuh60SdMXHHVfKDj53JMHzzAS5M+TMwv8bI2RmM= -github.com/aws/aws-sdk-go-v2/service/acmpca v1.31.0/go.mod h1:i1DwOkVvZwXG1iZZGoFV+dpM2YZXwD/iK62HRDMGnC4= -github.com/aws/aws-sdk-go-v2/service/amp v1.26.0 h1:0Jagg+Frwq6spIAqhlL1MGaiN88iNWIaNl7Tfi3auSM= -github.com/aws/aws-sdk-go-v2/service/amp v1.26.0/go.mod h1:9tLXwv/RtSeYC+dCJYE4ung6GVaWlBDqNgGBGK3iUqk= -github.com/aws/aws-sdk-go-v2/service/amplify v1.22.0 h1:PN8oZ7yRpzFAyx9iSX1xlwtxsWaIVvncW4iYisqGaDA= -github.com/aws/aws-sdk-go-v2/service/amplify v1.22.0/go.mod h1:eB7zMwDOZm527WOxYKa7VyHLp8dcVEUD9JpCczepKhs= -github.com/aws/aws-sdk-go-v2/service/apigateway v1.24.0 h1:Cos+utTtPG8mSuYTEyetXJdYsRzSqN09Z4Kv/rDgf2E= -github.com/aws/aws-sdk-go-v2/service/apigateway v1.24.0/go.mod h1:s7TCkwGkWXJCMGM1bxTU5v+mmtgfoPWE+hs8I9Qzhlo= -github.com/aws/aws-sdk-go-v2/service/apigatewayv2 v1.21.0 h1:xyP23z+l970ebhCqrNbayxqN0w5ispKvdnaOeaXMNZ0= -github.com/aws/aws-sdk-go-v2/service/apigatewayv2 v1.21.0/go.mod h1:mU2L10FRxydiAqsbOzaVq70Y5MHQohDwDyFw4Fu2GIs= -github.com/aws/aws-sdk-go-v2/service/appconfig v1.30.0 h1:pQWQjXVrVyIXk2aWCxjhCiUmM+zIMfZdiyrtm9GAEC8= -github.com/aws/aws-sdk-go-v2/service/appconfig v1.30.0/go.mod h1:IjrKbSqKQ0srC0s9LMN4KxRSmxv0xlePl/ORBtpMhWk= -github.com/aws/aws-sdk-go-v2/service/appfabric v1.8.0 h1:FTpvnBAfIHc/sXTS+QiGgTRercCD/yIzs7jm1YmJw9I= -github.com/aws/aws-sdk-go-v2/service/appfabric v1.8.0/go.mod h1:UeUkeICXydru3Efh6fktw5FiEs1hqg6TgvHw1ygJmak= -github.com/aws/aws-sdk-go-v2/service/appflow v1.42.0 h1:ey8eexxAmSeyC1Vu50DuMEoKzKePmbi9EHEJEeo/mW4= -github.com/aws/aws-sdk-go-v2/service/appflow v1.42.0/go.mod h1:T6e7RTxTAfm31RqbHJJRJs9aY9HJW5fEEmSMTeskI0k= -github.com/aws/aws-sdk-go-v2/service/appintegrations v1.26.0 h1:kLUWmnf29cThAQm7No0flo3BL4Rfk2sN+ip9eezjkSY= -github.com/aws/aws-sdk-go-v2/service/appintegrations v1.26.0/go.mod h1:FEhHqncLj7R+PU9QhAPDgMzwAsHGIXZ98rCedWwSfTY= -github.com/aws/aws-sdk-go-v2/service/applicationautoscaling v1.28.0 h1:4WPtF/0EXZIca7qCh+FUJX3Y/8cQ74/e/OHPCGER3l8= -github.com/aws/aws-sdk-go-v2/service/applicationautoscaling v1.28.0/go.mod h1:asZnTFVkzwvpaXxDG/A8GX8hHBHKlP9SxK+S4YTzWIs= -github.com/aws/aws-sdk-go-v2/service/applicationinsights v1.25.0 h1:Ia8i2uaLSv4Tf4q/hpbX29RQFTTD5Y6xXoysx8kP6Sc= -github.com/aws/aws-sdk-go-v2/service/applicationinsights v1.25.0/go.mod h1:ISL5+44fOp3YrbemFOPOQY6vMHwrpGIv2DUG3Y3ONXE= -github.com/aws/aws-sdk-go-v2/service/applicationsignals v1.1.0 h1:vljpVeJryJTc7jf2mS2STCcQaAW6LQF3x5GWrmntbys= -github.com/aws/aws-sdk-go-v2/service/applicationsignals v1.1.0/go.mod h1:zuRwtacIdGnoc0eEcpuG0VOhSsCG94/e4VBqT1KVJLI= -github.com/aws/aws-sdk-go-v2/service/apprunner v1.29.0 h1:2mq4wcqtUnXRWiET9g9fb4BCM58u4k7cV40aKNFKMlY= -github.com/aws/aws-sdk-go-v2/service/apprunner v1.29.0/go.mod h1:8rZ+Aao3XWYvbqtYCK3VjTnZvBe3DcT7KoVZxjSMg+k= -github.com/aws/aws-sdk-go-v2/service/appstream v1.35.0 h1:9L19kRzVtNUIiz0NQnvgJypzplJPG9JOEjBy/wyuN3E= -github.com/aws/aws-sdk-go-v2/service/appstream v1.35.0/go.mod h1:ATnlc2aY3z5XskWJEWKTza4/wpVPrOwFtJ9HI8Buv+c= -github.com/aws/aws-sdk-go-v2/service/athena v1.42.0 h1:Sr0bdGcjjjdbKnfbG3E9/yFA3NjfdqjMNfdYeWbeI84= -github.com/aws/aws-sdk-go-v2/service/athena v1.42.0/go.mod h1:icVkUXsjL0BclkZQGcj8HhOHhV8VXLHp+eRy0GPlT+I= -github.com/aws/aws-sdk-go-v2/service/auditmanager v1.34.0 h1:81lVxLdg3myFI+42mmuzde474/7ITz3Dr14h2XgH928= -github.com/aws/aws-sdk-go-v2/service/auditmanager v1.34.0/go.mod h1:GEg56OI9X8fYbWmcN713VVeY6fKcgK5TRnZDSy5T2fg= -github.com/aws/aws-sdk-go-v2/service/autoscaling v1.41.0 h1:TwUcxCwi9aILTyZ/Ua4Hxd6jmvzQHVyngMvoN35PPts= -github.com/aws/aws-sdk-go-v2/service/autoscaling v1.41.0/go.mod h1:7o4x9MEil/+SnU9vtXrLMLrEOrrR+jZxm4SsRQKXayo= -github.com/aws/aws-sdk-go-v2/service/autoscalingplans v1.21.0 h1:thL+4Wxgd+D4VWr9/BWFHVvaDWezaBC7ciRklNMkvgk= -github.com/aws/aws-sdk-go-v2/service/autoscalingplans v1.21.0/go.mod h1:xBZfNNPlWOEfS9s6uh8DFk/qeRrEFWxUdersMay5Tt4= -github.com/aws/aws-sdk-go-v2/service/backup v1.35.0 h1:Rslqrh+EzDX0dZIfgCZ61TEoN0wuksFmvS+MyO3LKvI= -github.com/aws/aws-sdk-go-v2/service/backup v1.35.0/go.mod h1:eNW1wQTY8Fy+Sl0meiqzuE0IKKbN3vBN6H8st2K8msU= -github.com/aws/aws-sdk-go-v2/service/batch v1.40.0 h1:jel/D32IZ/GID2mCCWOcvS5q9j+rzbR8flyOmgus5wI= -github.com/aws/aws-sdk-go-v2/service/batch v1.40.0/go.mod h1:Q4rnVSoW0d1+ayvXY9yyAtVCHYz8yXBys2PJmPFQeCA= -github.com/aws/aws-sdk-go-v2/service/bcmdataexports v1.4.0 h1:zJt5mo1zyx1l2lVU4HOTKYXWH/cw0Xc33rZtmg/TRoU= -github.com/aws/aws-sdk-go-v2/service/bcmdataexports v1.4.0/go.mod h1:sSLqjK2+Wg8fqOso0TNnHnD0IMaDwOWhJALolz84MDI= -github.com/aws/aws-sdk-go-v2/service/bedrock v1.9.0 h1:wZRiGdDO5M5YgFtHlO0GkRND03oBOr44K2qdMry3biM= -github.com/aws/aws-sdk-go-v2/service/bedrock v1.9.0/go.mod h1:9RHg4c320Tf1hxX1IIyJ1siGS2ry+B+7SqBkoybQ/2U= -github.com/aws/aws-sdk-go-v2/service/bedrockagent v1.13.0 h1:pr+lctXgiRFMhm8M1+woYe6AEGHf6PHT0y6QwQDCyw4= -github.com/aws/aws-sdk-go-v2/service/bedrockagent v1.13.0/go.mod h1:vorT3phLE0Jez8CRI60hVQCdDjzPxXohhErZOqz/uHI= -github.com/aws/aws-sdk-go-v2/service/budgets v1.24.0 h1:K+zmh8LUtZCnGGTf7mbdpgp12Rb+ZNm485tu1XxzwZ0= -github.com/aws/aws-sdk-go-v2/service/budgets v1.24.0/go.mod h1:TtEJrSZX2gBPB0KhgTo0OfmvpXObcOeHW/UE/6C2Kew= -github.com/aws/aws-sdk-go-v2/service/chatbot v1.3.0 h1:z/npc7c0BgFzQXSVLw9FZFm2GAVO/B9luB/1lgUqZIY= -github.com/aws/aws-sdk-go-v2/service/chatbot v1.3.0/go.mod h1:P7199G/FaCnRmyNJKhre84iGg8D0a5rIh8SksFcCs+A= -github.com/aws/aws-sdk-go-v2/service/chimesdkmediapipelines v1.16.0 h1:ESa6Z9SbR2b8dsMo6G8JIAt6wHgPV22LC/2M/ZAqMkk= -github.com/aws/aws-sdk-go-v2/service/chimesdkmediapipelines v1.16.0/go.mod h1:G4GvQuBcVMBqWh+CN6uPsqHRvssUyzsbj0IQGjapUFo= -github.com/aws/aws-sdk-go-v2/service/chimesdkvoice v1.16.0 h1:tfLMmT43ctr13Bn67fTnVfz3gDbtei4tdJapNTeg2WQ= -github.com/aws/aws-sdk-go-v2/service/chimesdkvoice v1.16.0/go.mod h1:BC8CIP0PsZAhUDixYPaZFx8VoeHrpLk5GrxXQfYa4CA= -github.com/aws/aws-sdk-go-v2/service/cleanrooms v1.13.0 h1:QebHv7d+bOVJBy4W7GimKQEcOGbKDGdel1ZarIEUbVw= -github.com/aws/aws-sdk-go-v2/service/cleanrooms v1.13.0/go.mod h1:aDektKdR9DtsOVmx2qZES53exu/JieOEE+RY02edx1E= -github.com/aws/aws-sdk-go-v2/service/cloud9 v1.25.0 h1:32mBVHktTOMYts6uLhRcmQKKObM5mCW45u/eVSawkis= -github.com/aws/aws-sdk-go-v2/service/cloud9 v1.25.0/go.mod h1:nI/COcoOpplZFJfSSkr9HkhwE0Zuq+Ar677fvfEyn0U= -github.com/aws/aws-sdk-go-v2/service/cloudcontrol v1.19.0 h1:TzWMznMQZ8NIfIpp7+QdqanvNMh/rYen3M/cvm13NO4= -github.com/aws/aws-sdk-go-v2/service/cloudcontrol v1.19.0/go.mod h1:jM1vnDSlhghsGirQ3nAwPVN+VBJs5f0ndAAqMEVshQU= -github.com/aws/aws-sdk-go-v2/service/cloudformation v1.52.0 h1:o4KYr8Mz5/6270WLfIq7Bg+s8BDzlqBeyoUR8WsNaJM= -github.com/aws/aws-sdk-go-v2/service/cloudformation v1.52.0/go.mod h1:mTlG5ftvrnlCepKl3O6LMvbj3BUSbpKIXoIFkKiC6gQ= -github.com/aws/aws-sdk-go-v2/service/cloudfront v1.37.0 h1:e94R6zDJ4r3VPvtnJERAGR6G1dpcA2P8gjMkvpV7KaY= -github.com/aws/aws-sdk-go-v2/service/cloudfront v1.37.0/go.mod h1:I2pHP163WgKrZYYUHB0TYqy0CTLaTXXPOjhBcN909og= -github.com/aws/aws-sdk-go-v2/service/cloudfrontkeyvaluestore v1.5.0 h1:CxSxQho9OyQauJgWoy2ceyicHyf9m2+bZuSbcV8q9EI= -github.com/aws/aws-sdk-go-v2/service/cloudfrontkeyvaluestore v1.5.0/go.mod h1:js3OHqsvjHfBGiR3cKxje/bu9CIbZ6kODi0AfRKoC2k= -github.com/aws/aws-sdk-go-v2/service/cloudhsmv2 v1.23.0 h1:jmiHtI0dyjUmlTieA5wHr5CD0OjFj5X48yqkFQT58Tc= -github.com/aws/aws-sdk-go-v2/service/cloudhsmv2 v1.23.0/go.mod h1:OnOsdWLQoghWto7y/M5yCvSuxI7zLyjbUBQE5R+D9P0= -github.com/aws/aws-sdk-go-v2/service/cloudsearch v1.23.0 h1:EvxViEG4aJ75SYrbHy1AdNrxkOKF1Pu/gbbCo2uPB+w= -github.com/aws/aws-sdk-go-v2/service/cloudsearch v1.23.0/go.mod h1:VfcR30AxMSIuSqrYLb8n3N2YitWfSqrmLiX0Cat0xnY= -github.com/aws/aws-sdk-go-v2/service/cloudtrail v1.41.0 h1:SLgkiFKAfLqUJyDIZeNhfqExA3xVNP5zRzZqIKMTFzo= -github.com/aws/aws-sdk-go-v2/service/cloudtrail v1.41.0/go.mod h1:ZoPhg3Mqkoqi5Z3+h8ArMfns6QxH1UgPLsi2WvDx9KQ= -github.com/aws/aws-sdk-go-v2/service/cloudwatch v1.39.0 h1:mPSDewf6WAU9Csb5UvJbQjdTrh1YRqIXz8qSI7ZjFvQ= -github.com/aws/aws-sdk-go-v2/service/cloudwatch v1.39.0/go.mod h1:DI/WW2qdeZn0yFmzR/JZqxCEI/kPPV7CMj5+j6IEsyo= -github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs v1.36.0 h1:lFn5aoo8DlyBWy2FynTLPSlfdjdyPN/y9LYb7uojWXE= -github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs v1.36.0/go.mod h1:eFPFaDAUICetgvWBzn0jH6D5zu6/+/CbtuqlaGFSMrQ= -github.com/aws/aws-sdk-go-v2/service/codeartifact v1.28.0 h1:3jegt/XwhjmG+lweNnn6o+3GUWohGDB03JT5Qyhjy6w= -github.com/aws/aws-sdk-go-v2/service/codeartifact v1.28.0/go.mod h1:5pydPuwwmrII/A6KAwA+CzmTOegfqI4etP2efFxdVBg= -github.com/aws/aws-sdk-go-v2/service/codebuild v1.39.0 h1:z7A3wnYlRMPAaL/3rgOhfunZNgCkxYxWeX+IrBLNdEI= -github.com/aws/aws-sdk-go-v2/service/codebuild v1.39.0/go.mod h1:60OtE7cK691Mwi3yzgjMsK0p/fox2f2ABxb9I8tfRqs= -github.com/aws/aws-sdk-go-v2/service/codecatalyst v1.14.0 h1:xyMh2lYk7iXCbrdkmErQiXCrIR09gSMS5ywYhBRPNmg= -github.com/aws/aws-sdk-go-v2/service/codecatalyst v1.14.0/go.mod h1:jjBzkVPPhrZuyXg/Fzxz8YxBjCw1kTVoB2kH3cSYIts= -github.com/aws/aws-sdk-go-v2/service/codecommit v1.23.0 h1:tVN59Z3FGpGh4DMv/qrgsjplKXdm5NrHKpIVvvTgwxo= -github.com/aws/aws-sdk-go-v2/service/codecommit v1.23.0/go.mod h1:9wxPodN0jhDQk1X/hiWrvQSCgIzuwTc+5zY/tLStRJM= -github.com/aws/aws-sdk-go-v2/service/codedeploy v1.26.0 h1:+GRYZ5t75fFMudQOW+IGH6zxaEy8NQQtt+oK9m8JbJY= -github.com/aws/aws-sdk-go-v2/service/codedeploy v1.26.0/go.mod h1:Q6sDZXeOksdwhHVQ+aKMMos5eoRV/BdBEBufkclSyBA= -github.com/aws/aws-sdk-go-v2/service/codeguruprofiler v1.21.0 h1:C4lbzhM44DVeKSTYl5/mpRLdAx2mlsq//Cisko5LUzo= -github.com/aws/aws-sdk-go-v2/service/codeguruprofiler v1.21.0/go.mod h1:cmA9tSWcBVnogTkJ9HxXr4vmgvLJ+J0wy3oBRbnKMIM= -github.com/aws/aws-sdk-go-v2/service/codegurureviewer v1.26.0 h1:cJgrzf0XSfwyEfyMd6pGBAXLEuWrpbaAdX/gm5i0c/M= -github.com/aws/aws-sdk-go-v2/service/codegurureviewer v1.26.0/go.mod h1:mKa4tKUsRWgMnvtDnvkIbOlGRlHWxM5S3ApXs4oZzC0= -github.com/aws/aws-sdk-go-v2/service/codepipeline v1.29.0 h1:v6PeeRF76JIfftHvIrBXApPmj5TF9ZgqoZaRgEkXpHo= -github.com/aws/aws-sdk-go-v2/service/codepipeline v1.29.0/go.mod h1:AeH5FpEbbnjaAk9kqyJVk2eH9e0XLkHbI40fEF+hjpA= -github.com/aws/aws-sdk-go-v2/service/codestarconnections v1.26.0 h1:hMxeMa8aEe0DsAF+KgHkINyJ1qeiJ9pqL7xb4Q4PuIc= -github.com/aws/aws-sdk-go-v2/service/codestarconnections v1.26.0/go.mod h1:yYtKu78blthI45EdP2M6dbgLImAr9glsPhUFRdGcs3A= -github.com/aws/aws-sdk-go-v2/service/codestarnotifications v1.23.0 h1:q7gj1bSG1S1AdtUbxmMJfMSBNTB7lYNpOS9F3rgLOxo= -github.com/aws/aws-sdk-go-v2/service/codestarnotifications v1.23.0/go.mod h1:Epw+lxzb3qOMd+3gZhVuoh7S13h6BXP1W1dqWj6ANm4= -github.com/aws/aws-sdk-go-v2/service/cognitoidentity v1.24.0 h1:dYD6qKzSwJKa1/z0ZKp/82l5OaRHz1kDgcyPxR8RRK8= -github.com/aws/aws-sdk-go-v2/service/cognitoidentity v1.24.0/go.mod h1:GCf4z4EUKj4Y4N5kxbJfa+l//qsgbbHDe1dj+1yYT4E= -github.com/aws/aws-sdk-go-v2/service/comprehend v1.32.0 h1:lbxacb9zGdGOLLVNN/fE1NO5ppYS6tZLNMyvSwU3DiE= -github.com/aws/aws-sdk-go-v2/service/comprehend v1.32.0/go.mod h1:sY0SMZ1KRagJ2ED5/F8S0A0oPz1brRzJnXF/gkvie1E= -github.com/aws/aws-sdk-go-v2/service/computeoptimizer v1.35.0 h1:HfCj8YhWHZzBGWwSBIWsRUyuaVcD0l3gtfpZZLu7Wko= -github.com/aws/aws-sdk-go-v2/service/computeoptimizer v1.35.0/go.mod h1:/PxDjyK/SWyUdk5mrq663qUeAdFjOyAVWQ/q0dNcZZI= -github.com/aws/aws-sdk-go-v2/service/configservice v1.47.0 h1:U6EQANOy4eB5aP93NBhgBo4XAlVy/qf6CTNTZpvTUVA= -github.com/aws/aws-sdk-go-v2/service/configservice v1.47.0/go.mod h1:io3I6nvqdgD1Nq2x6xK0leLo+IsY2LsQXxFrPMZBYfs= -github.com/aws/aws-sdk-go-v2/service/connectcases v1.18.0 h1:A6GY24qgYzvWAAs8TyLmyrvX05IKsMtOPCFy/xu/BTE= -github.com/aws/aws-sdk-go-v2/service/connectcases v1.18.0/go.mod h1:4g9AskDE1lsSbaHVkLCn+6vYai+u+agS7PCd9+wQzLA= -github.com/aws/aws-sdk-go-v2/service/controltower v1.15.0 h1:bSxrwYKhquIB85XSZ4yhVjdDx74tzY/97O722vAJhko= -github.com/aws/aws-sdk-go-v2/service/controltower v1.15.0/go.mod h1:CFcv6L4uZ+mpY5bcbJ9HHPXTjBG9BpIz3AOTSpCvdqw= -github.com/aws/aws-sdk-go-v2/service/costandusagereportservice v1.24.0 h1:HQI7FIQ9lSI5JpXMBwG6NQ/CvgUEQA4dcqvtpZ5grkY= -github.com/aws/aws-sdk-go-v2/service/costandusagereportservice v1.24.0/go.mod h1:3yHlvQo34SVrOeLt2z+XmhkBla7cl9PPnNbkH/09UaU= -github.com/aws/aws-sdk-go-v2/service/costexplorer v1.39.0 h1:Ybb0Chz4woaBvA5zBg5BkLflE7k19mUNNnGfdliCuFw= -github.com/aws/aws-sdk-go-v2/service/costexplorer v1.39.0/go.mod h1:M0zVr8zXYjiaPaJxzCdjPSL5DTzPDqD9cwxIqRCweTY= -github.com/aws/aws-sdk-go-v2/service/costoptimizationhub v1.5.0 h1:/sQS4Bbg7o0FT8sgTigUyjupfxeaNPy+aiCFYTD+9Pw= -github.com/aws/aws-sdk-go-v2/service/costoptimizationhub v1.5.0/go.mod h1:1rwIiJ8X0cE5Z/ohGae7APa/y0WnxKmMLM+Qro3Y2r8= -github.com/aws/aws-sdk-go-v2/service/customerprofiles v1.37.0 h1:Mysy3wqQ/8WZ853AL2Q6uEIMkyxJ2N1DLqeAFdirXns= -github.com/aws/aws-sdk-go-v2/service/customerprofiles v1.37.0/go.mod h1:25enS+qI7PKn+dIzAvhXH+0b74F5M6bxVL1Dbu3Yqrg= -github.com/aws/aws-sdk-go-v2/service/datasync v1.39.0 h1:lUNkpy/yBLaZOWEcQfIxD4A2V1QMXSHHtPWgU0WFkjY= -github.com/aws/aws-sdk-go-v2/service/datasync v1.39.0/go.mod h1:GDwumRrPG+UoXowosbT8ISPlywOEbeq+whAdap2ROzo= -github.com/aws/aws-sdk-go-v2/service/datazone v1.10.0 h1:67U19JujMHzGz3XK0ScEJnoyW8+nh5c4V+sMVTyw1p4= -github.com/aws/aws-sdk-go-v2/service/datazone v1.10.0/go.mod h1:l5uHXSeaVLtPNDHVtgk1nzjjwf/+BwcpXgON9gckMvo= -github.com/aws/aws-sdk-go-v2/service/dax v1.20.0 h1:f3MqW79KuP3qHavzUZK55OaP5GC91Xgu5ZCx0oN+tUI= -github.com/aws/aws-sdk-go-v2/service/dax v1.20.0/go.mod h1:crF1xZ0UuNSBKA9n/GZESG+AcLeHutdVrrRvEKW2sqM= -github.com/aws/aws-sdk-go-v2/service/devicefarm v1.23.0 h1:K9wGwAuzW472zGzdk4ERM0wNXvyWk6grlVLlJlpwhgI= -github.com/aws/aws-sdk-go-v2/service/devicefarm v1.23.0/go.mod h1:doNhXXr3bB+0nzrBU5aL9MmqR/+63f4LTvDOTDn+9Jo= -github.com/aws/aws-sdk-go-v2/service/devopsguru v1.31.0 h1:UMzMSn+nZ3Fi/RvCzCjYmx19Ny4zJeq8vOJh5+e3MnY= -github.com/aws/aws-sdk-go-v2/service/devopsguru v1.31.0/go.mod h1:aQ7PIqC5CXP5kp2bYZWavDiqyopZKCThO0PXGGs7PBM= -github.com/aws/aws-sdk-go-v2/service/directoryservice v1.26.0 h1:4u9ThMW+3Wnab1KDLVrHO/1V8RoyWgCTVlr2j5kgryI= -github.com/aws/aws-sdk-go-v2/service/directoryservice v1.26.0/go.mod h1:FyvpPxwx5ncLB8b0z7sqBECy614PP2F2KqJC1kFyUxE= -github.com/aws/aws-sdk-go-v2/service/dlm v1.25.0 h1:QPV1oGvIWQuvfm4D8kU4kI6WNuQfHTJ5uA99I/cOhp4= -github.com/aws/aws-sdk-go-v2/service/dlm v1.25.0/go.mod h1:CTM0SjMDpZOBu+azuk1Mw3jC5UhPwq4MrO0pPHtBEu4= -github.com/aws/aws-sdk-go-v2/service/docdb v1.35.0 h1:XU0oBaQK9KPr4yP0ZtC4g/5yOOoaCNcnPB6m3E0YfCs= -github.com/aws/aws-sdk-go-v2/service/docdb v1.35.0/go.mod h1:tguc8Z/5tYRQ/zTREVtoGjTp1K9eZdJMqN0YCAagBXw= -github.com/aws/aws-sdk-go-v2/service/docdbelastic v1.10.0 h1:32T80uFHi4ZMWpUXYpjcQLzGfRONpVagB1G+VbxYUC8= -github.com/aws/aws-sdk-go-v2/service/docdbelastic v1.10.0/go.mod h1:7Y6c5EtsLSYirM00nWqsJg/fIfboU0L+AfwMICufcJk= -github.com/aws/aws-sdk-go-v2/service/drs v1.27.0 h1:5/H3aq02wXrDhncP60kSbUoyOTGPahR/t3dW9c5Y4YU= -github.com/aws/aws-sdk-go-v2/service/drs v1.27.0/go.mod h1:T+TlvSk14iPkBLujzsTEaPZ36cOyaz2MLH1ttuIwQCA= -github.com/aws/aws-sdk-go-v2/service/dynamodb v1.33.0 h1:PkT1xMKymZEvR8n5WM97XdLWwxQGxnDrqMaquPLI0UY= -github.com/aws/aws-sdk-go-v2/service/dynamodb v1.33.0/go.mod h1:IpoHTdKbzTZUkF67mAGOcqndO7LA8yzMF9FbJbeAKIk= -github.com/aws/aws-sdk-go-v2/service/ec2 v1.165.0 h1:FQpJS76mmmo21FZn9FAutjAIxotNkiGXUYfUQN/RfGA= -github.com/aws/aws-sdk-go-v2/service/ec2 v1.165.0/go.mod h1:+dDvvbkwmJCZGzsSlsqEtJ6XhyG/hD2FHjIfpqcNl+o= -github.com/aws/aws-sdk-go-v2/service/ecr v1.29.0 h1:5eON4rBQMHFTX7thxv4EQpRrombmiMsv3+wCEPewk+c= -github.com/aws/aws-sdk-go-v2/service/ecr v1.29.0/go.mod h1:2BLsspQpxT8gg3dM6G5CZGXhrE/EpX8PeL2lsZ0zDKc= -github.com/aws/aws-sdk-go-v2/service/ecrpublic v1.24.0 h1:5F9MRX4tyEdZ8L+7op99b+ie+1bxaKCf+i1QlCnochM= -github.com/aws/aws-sdk-go-v2/service/ecrpublic v1.24.0/go.mod h1:Q1viq/XwLL61fNLG8k0mZmDEvHaGn98QcNewkxHXDSY= -github.com/aws/aws-sdk-go-v2/service/ecs v1.43.0 h1:efgv9/bmag2npefcjkoLA7LIN2CfoUh2l3Zory7mhkk= -github.com/aws/aws-sdk-go-v2/service/ecs v1.43.0/go.mod h1:30V0YAIaqPu/zgtVeuLmUht809PnYNOK8PUov7YE0fA= -github.com/aws/aws-sdk-go-v2/service/eks v1.44.0 h1:+nNKonJ9cFCp07GTRc4ftQcw1Px/dyTvei1fHTpu+5M= -github.com/aws/aws-sdk-go-v2/service/eks v1.44.0/go.mod h1:l3Ce8Ls3SoCaqheT2UV5qfDw2Md+xCvjEVmtI+9ynpo= -github.com/aws/aws-sdk-go-v2/service/elasticache v1.39.0 h1:g054qAZjl0D2ISEUYfh1EvDV2Z6g8s3X606Q9iV6r/0= -github.com/aws/aws-sdk-go-v2/service/elasticache v1.39.0/go.mod h1:AKYnQqdlH5hq65hpj73kZvAIu2JZnaBRxsGsu39JmM8= -github.com/aws/aws-sdk-go-v2/service/elasticbeanstalk v1.24.0 h1:luQaJXM8g3MRZPEbMzQ2ut3dx6QnG0sO1OYIe5VPCR4= -github.com/aws/aws-sdk-go-v2/service/elasticbeanstalk v1.24.0/go.mod h1:72t1RRQNbuAt0wYiYmw6IshZETm5gkmr75zFrZopFLU= -github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2 v1.32.0 h1:iMTooAw0vUOiY6byiaVQgtFUE2GsudZ9DTJwnmKb+K4= -github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2 v1.32.0/go.mod h1:7dAQkaiNMiZGo0h3l5Il1v9E3eiqKW3DugEQmmJHoqo= -github.com/aws/aws-sdk-go-v2/service/emr v1.40.0 h1:hWsQlAEHgHJIW2gkW+d+J4tPqZ9LRGBkvInZ3Mje9+A= -github.com/aws/aws-sdk-go-v2/service/emr v1.40.0/go.mod h1:5xmrleryUdXi+uFipHwKiDgUwIgZbGXn6hs7PZjnZTQ= -github.com/aws/aws-sdk-go-v2/service/emrserverless v1.22.0 h1:vW/D2ptwtnwjALuTz6FU5yENgTmFTH+3Cgsl43rDbMA= -github.com/aws/aws-sdk-go-v2/service/emrserverless v1.22.0/go.mod h1:ea+Ml3AQot2+q3j9zK/zyMaL3f1HoQq/wc3vR1FPTh8= -github.com/aws/aws-sdk-go-v2/service/eventbridge v1.32.0 h1:MyjnZtMEPJrI33u9+HPgqhFGi65sj+UOpfttPnoLQ8I= -github.com/aws/aws-sdk-go-v2/service/eventbridge v1.32.0/go.mod h1:MCMQtekAJCrg/M8lJrKVoVbsMl2MAU44RCKLdE5tQ4k= -github.com/aws/aws-sdk-go-v2/service/evidently v1.20.0 h1:QdYEs3DC8oWu4cV8FnrLBZjFFrW5vDrTpeUxxOsUQJ0= -github.com/aws/aws-sdk-go-v2/service/evidently v1.20.0/go.mod h1:sPuFaQ/DeK2FsJ1KzyLj8sO5g2IV8+0V28VCVk1hk8o= -github.com/aws/aws-sdk-go-v2/service/finspace v1.25.0 h1:FelLYQ5vrVsgI4r3Q1hJJfKYbcRaj7kncgncF+sCm+Y= -github.com/aws/aws-sdk-go-v2/service/finspace v1.25.0/go.mod h1:rSCRrHyvoKMZxPznz9FMC1lwK8DE4qLURw2rzMiEEMQ= -github.com/aws/aws-sdk-go-v2/service/firehose v1.30.0 h1:xDay+EZfe0OZKrx/Wtjhcweie3w+m01gpyexTebEA6U= -github.com/aws/aws-sdk-go-v2/service/firehose v1.30.0/go.mod h1:GST/Kf+NkoLXbC7wXkaqnXQV1F/Pt6ezlK8Sza3QdDY= -github.com/aws/aws-sdk-go-v2/service/fis v1.25.0 h1:LzC+g87pqfTlpT5779D86/jp55HgqjyLFz49aI8bkNM= -github.com/aws/aws-sdk-go-v2/service/fis v1.25.0/go.mod h1:gApaUrNvjKaFimyr9E09MaCHTN6N2nRtApRVS3rYb7A= -github.com/aws/aws-sdk-go-v2/service/fms v1.34.0 h1:btGAO2JhzkxagPmb6u4oY3UdxQYeRJv09rVSj9YObqU= -github.com/aws/aws-sdk-go-v2/service/fms v1.34.0/go.mod h1:pzeU9c8sSZiL0SlAjY/jFBvsYDZnk052Rbq+E/NdcHU= -github.com/aws/aws-sdk-go-v2/service/glacier v1.23.0 h1:aq0q+CifJj5URlsqSdZA8+LeSCl+RkxXZYEu2kXkTuM= -github.com/aws/aws-sdk-go-v2/service/glacier v1.23.0/go.mod h1:Ydh2fORQhB33j3aeqFzzRqxyFJdr1j2a3eoAH9jJ348= -github.com/aws/aws-sdk-go-v2/service/globalaccelerator v1.25.0 h1:9P29s6K5fEDh1oOgjj+FRxYF1IwI73+vi7wycuy/FKA= -github.com/aws/aws-sdk-go-v2/service/globalaccelerator v1.25.0/go.mod h1:BAqdH8ZBbv0JdKe7r9DxlU/FmF4WGIYEsJuV6g4tIf0= -github.com/aws/aws-sdk-go-v2/service/groundstation v1.28.0 h1:IrOlyBLb6XjB/iz0NoUSDjLCUYCHKKVxSrZUExb8tZ4= -github.com/aws/aws-sdk-go-v2/service/groundstation v1.28.0/go.mod h1:gdMcdxtsqAvXMXqQpRmq8p06d7z6EAHb8mAP18K7duU= -github.com/aws/aws-sdk-go-v2/service/guardduty v1.44.0 h1:1sIp9dUD3J7rPIHS9PvwJI7mIWtFP6e8RHy+RiUQZFo= -github.com/aws/aws-sdk-go-v2/service/guardduty v1.44.0/go.mod h1:tfSfErj83MbzhHCZiUT/h5Pgz6HTAn47ZdO00icaNnU= -github.com/aws/aws-sdk-go-v2/service/healthlake v1.25.0 h1:hmrbocHNj8wkYbVx2IQ6D2GMBfbbqZurALwI7O/gRCA= -github.com/aws/aws-sdk-go-v2/service/healthlake v1.25.0/go.mod h1:3mevB7W93YhBpe7d4SW9jxiQdg5dlhL8U/r3sE1loU4= -github.com/aws/aws-sdk-go-v2/service/iam v1.33.0 h1:p2xoaDPoghFBgtHndpM8//LauNkAU4/SXZn6HSfl4qM= -github.com/aws/aws-sdk-go-v2/service/iam v1.33.0/go.mod h1:mycyYpCERRrn4zwk6/qOtnw5poVSrDb1pHY+RLPfIkA= -github.com/aws/aws-sdk-go-v2/service/identitystore v1.24.0 h1:qEAorzngBK3F06xk2s6tJRYJW8iCQM9YS0AA71ZQ9Ak= -github.com/aws/aws-sdk-go-v2/service/identitystore v1.24.0/go.mod h1:kO/aFGBHyBYc3iZZM/V6o1CX3KwmKL7dLOkptnVLz60= -github.com/aws/aws-sdk-go-v2/service/inspector2 v1.27.0 h1:X6iYhpr/T3elhQ+Kvnx8Hyz+cZMtTWb7OPQc8OU5KtM= -github.com/aws/aws-sdk-go-v2/service/inspector2 v1.27.0/go.mod h1:P3o/FYtRp9xLTWmIxZHgiZ7IMFc6naXeBeZANkms7DI= +github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.12 h1:DXFWyt7ymx/l1ygdyTTS0X923e+Q2wXIxConJzrgwc0= +github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.12/go.mod h1:mVOr/LbvaNySK1/BTy4cBOCjhCNY2raWBwK4v+WR5J4= +github.com/aws/aws-sdk-go-v2/service/accessanalyzer v1.31.1 h1:xiBxyVn3snq4T4ULkhluYUDouVWa0/bvCacJaaW5Zaw= +github.com/aws/aws-sdk-go-v2/service/accessanalyzer v1.31.1/go.mod h1:joyQCMQ4RuIAyFlaxemD0fvhbfv+A+j8OdMUJHpyxWk= +github.com/aws/aws-sdk-go-v2/service/account v1.18.1 h1:GRinAnafboH983+FkLjFO1eMOa3+TcgjQvqb0JMDE4M= +github.com/aws/aws-sdk-go-v2/service/account v1.18.1/go.mod h1:E9NGq+OLfDPiiLj3cl+4srGmNYytb/UB2DPEGvEhAQI= +github.com/aws/aws-sdk-go-v2/service/acm v1.27.1 h1:EMnuoQ/WR4/VNE8QmFrXq4u0BZH2Xhc9Yr41xZlths0= +github.com/aws/aws-sdk-go-v2/service/acm v1.27.1/go.mod h1:wHw2SsqkXuys0SArqz+Rb7LGvujWSnlPByxCm6q7kus= +github.com/aws/aws-sdk-go-v2/service/acmpca v1.31.1 h1:FAk92O6prrubKEZOPq1EaB09B3G7crDIrmSiRdcQDrY= +github.com/aws/aws-sdk-go-v2/service/acmpca v1.31.1/go.mod h1:5GKFDOiJPtkP6jyRx8AB0vRap2JYPyD5pKJQALHIn9s= +github.com/aws/aws-sdk-go-v2/service/amp v1.26.1 h1:svGkgUKZDc5SNSiP6BgcOe/6sPmwBniltU6uHmxrjqo= +github.com/aws/aws-sdk-go-v2/service/amp v1.26.1/go.mod h1:mBtHxQRTrzQB0G5oap7IcgP9Ny5p9BJSGhWnuQ+35EY= +github.com/aws/aws-sdk-go-v2/service/amplify v1.22.1 h1:4ViQJ+tm0D5a+aAdJlPsw+tsxAxbN/ChdbyCWtVRnPg= +github.com/aws/aws-sdk-go-v2/service/amplify v1.22.1/go.mod h1:IlSHwknO6vYVWAMPddUNS+RIJEFDawvLl9NMmMoXBgU= +github.com/aws/aws-sdk-go-v2/service/apigateway v1.24.1 h1:20jy3+l7bQA6tJ1nJxg8+l+1Xm9KrDslNVvc8HvLoEI= +github.com/aws/aws-sdk-go-v2/service/apigateway v1.24.1/go.mod h1:gcUX4UmbhON3+0ij28aojD7vaMPqsRYFefqwxCLbUnw= +github.com/aws/aws-sdk-go-v2/service/apigatewayv2 v1.21.1 h1:qbbxz47vQdGzvLeHS8xmvp3shV0n8cAnmred+Ehj6qQ= +github.com/aws/aws-sdk-go-v2/service/apigatewayv2 v1.21.1/go.mod h1:3tgssMs7RA6rZoI6K9w6Nc6gCmhadTFAOU+OXh4tPkQ= +github.com/aws/aws-sdk-go-v2/service/appconfig v1.30.1 h1:h2JzyyqbvuXD2I0HombM5CsbmFbB3jcVeF/WhX8AjCk= +github.com/aws/aws-sdk-go-v2/service/appconfig v1.30.1/go.mod h1:rOJ1yTzhpIWjgop8XniA+nanxF4jpyUnLcX1s0gaShg= +github.com/aws/aws-sdk-go-v2/service/appfabric v1.8.1 h1:TbZ4cm8Mvw+auu0xQk7m6iFg9p+uFC97cUzYKZObt/s= +github.com/aws/aws-sdk-go-v2/service/appfabric v1.8.1/go.mod h1:9QTxY84kkzjBDUHp8mErDspSgpA6e8A/1AvU2AvYJ7I= +github.com/aws/aws-sdk-go-v2/service/appflow v1.42.1 h1:zxPjTkoh8wIgVg/R7NCG9t5X7UhZjAf+RrL49J9uv3g= +github.com/aws/aws-sdk-go-v2/service/appflow v1.42.1/go.mod h1:rsZVlJIXpHihdPFV4ehYl9nO3VJ61ido6ccJGXVFTYQ= +github.com/aws/aws-sdk-go-v2/service/appintegrations v1.26.1 h1:ubkE7GDCrVnbeQXCSYdKd+yLdyPlnNowDgWKifhNItQ= +github.com/aws/aws-sdk-go-v2/service/appintegrations v1.26.1/go.mod h1:TewkvUJ7j870qbp0WQu+JcGEprz+ts5eSw/2qabcIqg= +github.com/aws/aws-sdk-go-v2/service/applicationautoscaling v1.28.1 h1:ANEJvQOBqUqBkacz03QaTZoievYqZ6BGSFsTfS6LEEQ= +github.com/aws/aws-sdk-go-v2/service/applicationautoscaling v1.28.1/go.mod h1:yS6PzOMIdA8mF/UCbekP9fRHwd9AdZpBuTfBShvOgG4= +github.com/aws/aws-sdk-go-v2/service/applicationinsights v1.25.1 h1:TtRLnoTa+KzpQTtfxIUNmTPd4afNXpTMenzkkna8Xhk= +github.com/aws/aws-sdk-go-v2/service/applicationinsights v1.25.1/go.mod h1:KNQm1mLx1brArm7jx7ssJ1xTczUkVj/PsDEJUfam1Q4= +github.com/aws/aws-sdk-go-v2/service/applicationsignals v1.1.1 h1:4f1B5azmuPT6Q5wWxjf5U0TJzAH3st8wP5gfxz8l49M= +github.com/aws/aws-sdk-go-v2/service/applicationsignals v1.1.1/go.mod h1:ihPVq+A4BcK86La1KEUY8mM0k0egpal2f8SMhBeLIIY= +github.com/aws/aws-sdk-go-v2/service/apprunner v1.29.1 h1:ZI0Je1AGcU4AM3xMsMsA4xgrKzNgFSkQR/w6Ihi+rZA= +github.com/aws/aws-sdk-go-v2/service/apprunner v1.29.1/go.mod h1:RWEXpKx8evWnba3DAfAupnzlM2ejdWNBOII/udFrJlg= +github.com/aws/aws-sdk-go-v2/service/appstream v1.35.1 h1:wlll0kVBQVfZB2oNqDG1CooV5xRezoYPQ0vUvxnf8g0= +github.com/aws/aws-sdk-go-v2/service/appstream v1.35.1/go.mod h1:qLT0nQAYhXj8LLa7fmLvx8nYTRIQ5y+CH06QfU/CPic= +github.com/aws/aws-sdk-go-v2/service/appsync v1.33.1 h1:zbMPXMPrM9hYWySGW6xm2AA4GtBmhqU+rYxit+8vJis= +github.com/aws/aws-sdk-go-v2/service/appsync v1.33.1/go.mod h1:t1V04AJ0mgXsmSkac1UpykISXNIEr6Gkgx8JgYpEKpk= +github.com/aws/aws-sdk-go-v2/service/athena v1.43.0 h1:9gG6ddaduB/vNXa62sI5BSXXZ6ohbN6zYrowdKeOLxU= +github.com/aws/aws-sdk-go-v2/service/athena v1.43.0/go.mod h1:IgZ3BPAIcafbIEndBsCEZSo559W16aD6m6sRcGO97gM= +github.com/aws/aws-sdk-go-v2/service/auditmanager v1.34.1 h1:0vWu89NdYkrqiXodXViT9UxT5WO70ZsZ4gQme7UQzaY= +github.com/aws/aws-sdk-go-v2/service/auditmanager v1.34.1/go.mod h1:9AVNQ9gOvNkX8AzDT2lXI1iZkL5vqbgv+zcNRYL4bVI= +github.com/aws/aws-sdk-go-v2/service/autoscaling v1.41.1 h1:ZNokD9M3On22Qscssyi3iQAzkoeOJxnE5NANNCzPzIA= +github.com/aws/aws-sdk-go-v2/service/autoscaling v1.41.1/go.mod h1:5XY8CFGBv6dZp/thbk8FRIAWjqNckM7PsL848KHdzjI= +github.com/aws/aws-sdk-go-v2/service/autoscalingplans v1.21.1 h1:YHR0n0eUY964ffHangUAvM/vjJUYoj1058G4/xoZG+c= +github.com/aws/aws-sdk-go-v2/service/autoscalingplans v1.21.1/go.mod h1:BltrhZlEEwdnaSFsqZUiZA7tJk4Ie9JQ2P1r1qCpsIs= +github.com/aws/aws-sdk-go-v2/service/backup v1.35.1 h1:JDoVIgC8dzbc1GBH1rYQYcovRh92RDIrywal3fZrQlA= +github.com/aws/aws-sdk-go-v2/service/backup v1.35.1/go.mod h1:443Jou0o4i+ea/y6mOvo8zgIkvXDJ3pdCWjZ/YFfk5Q= +github.com/aws/aws-sdk-go-v2/service/batch v1.40.1 h1:khjAF2CScjXDGdCKZqkB6W95os0Ro+b/CFHT5nGQ+nU= +github.com/aws/aws-sdk-go-v2/service/batch v1.40.1/go.mod h1:9B+DcqWg4/hcorXHhkK/ZT68/LgEcWwlvlWXD0XAGoU= +github.com/aws/aws-sdk-go-v2/service/bcmdataexports v1.4.1 h1:UieVxA3h0rBI3DisJ1dFhRlR4lReFx8QkMPD6lIB6d0= +github.com/aws/aws-sdk-go-v2/service/bcmdataexports v1.4.1/go.mod h1:4Zm38MntGZFvQR6CPPC21lI1TvT94ZVEdEi4xBRnHZQ= +github.com/aws/aws-sdk-go-v2/service/bedrock v1.9.1 h1:e2FZRSG0h0nA/sdRJJXtOnbMXPvAFUoyRNWG3oTioyc= +github.com/aws/aws-sdk-go-v2/service/bedrock v1.9.1/go.mod h1:4e+Wd418o5s7L7NChi9vWNjMkJtm/yi6NmWy5efcACk= +github.com/aws/aws-sdk-go-v2/service/bedrockagent v1.13.1 h1:DD/97H5KizWQP3Dj051VHjObCpWtAThIjMjoz71kn0w= +github.com/aws/aws-sdk-go-v2/service/bedrockagent v1.13.1/go.mod h1:IFBd2ljkmZvNdvCS/0IDWQ1/zSkebKueBo7+IZLre54= +github.com/aws/aws-sdk-go-v2/service/budgets v1.24.1 h1:idyO38YS22rDYGpk/1vusjuHyTt3TepwjLPAhlzeBJU= +github.com/aws/aws-sdk-go-v2/service/budgets v1.24.1/go.mod h1:9WRJ9/p51FEA92MA9pMZkDN2h5YBHcVU/hFqq8E/2c0= +github.com/aws/aws-sdk-go-v2/service/chatbot v1.3.1 h1:WlvYO/q57AA6zvtFKiQAtsWqCHeG1d9wlhDGUU9f7tw= +github.com/aws/aws-sdk-go-v2/service/chatbot v1.3.1/go.mod h1:/h+o63KFyzK+/JkYgChKyjVJHgC61vQUDixoXedtRd8= +github.com/aws/aws-sdk-go-v2/service/chimesdkmediapipelines v1.16.1 h1:/ig2xIYS5wtZtNQm2JvcJEk2MHf9Np09nM7Qo81xMAw= +github.com/aws/aws-sdk-go-v2/service/chimesdkmediapipelines v1.16.1/go.mod h1:K7Zis8oztyCOfruXbrO07OFAdciHATEpuQJ6flJPgyQ= +github.com/aws/aws-sdk-go-v2/service/chimesdkvoice v1.16.1 h1:03VekFsZgpSMWICYT8j/pdOxSBQjN1IYmRWuZeYMiFI= +github.com/aws/aws-sdk-go-v2/service/chimesdkvoice v1.16.1/go.mod h1:Cj5LyJm1YKQZcJ7ZL82TEF6KZnjvnCt4Tv+DAl7otHM= +github.com/aws/aws-sdk-go-v2/service/cleanrooms v1.13.1 h1:WRpeBgByda+zUWmca7DKsI42exYNYqoLjKtn9HC82Ug= +github.com/aws/aws-sdk-go-v2/service/cleanrooms v1.13.1/go.mod h1:cPdw/jsG/67Lcgfqy/LJ/FzguR0HUbxEKBQDixh0LHc= +github.com/aws/aws-sdk-go-v2/service/cloud9 v1.25.1 h1:mKH2nvCvTExFQCEWOjXfMtuF7y6bAwwx33JF2GpzsLk= +github.com/aws/aws-sdk-go-v2/service/cloud9 v1.25.1/go.mod h1:v2nyYCd5sx1XwKx/1wUuEGa97kbdrqfGXTlmg/w6lyg= +github.com/aws/aws-sdk-go-v2/service/cloudcontrol v1.19.1 h1:xje03QCAf/8b1Ntsx/QR4oTn0tMIshVT/OUAilcwcO0= +github.com/aws/aws-sdk-go-v2/service/cloudcontrol v1.19.1/go.mod h1:4hiczFeqZEQy8yX5/uY1rgXKnOXam6GAoWZrFEfoyMY= +github.com/aws/aws-sdk-go-v2/service/cloudformation v1.52.1 h1:Ts+mCjOtt8o2k2vnWnX/0sE0eSmEVWBvfJkNrNMQlAo= +github.com/aws/aws-sdk-go-v2/service/cloudformation v1.52.1/go.mod h1:IrWhabzdTEc651GAq7rgst/SYcEqqcD7Avr82m28AAU= +github.com/aws/aws-sdk-go-v2/service/cloudfront v1.37.1 h1:oOm9MhuUpAWAmjcXwkTsYBzXzFIDbVYje6P5jPkG3kU= +github.com/aws/aws-sdk-go-v2/service/cloudfront v1.37.1/go.mod h1:Pri+xMTktTIOpTg/yYeCYgk4vOrv6sZLcB467ePRIoU= +github.com/aws/aws-sdk-go-v2/service/cloudfrontkeyvaluestore v1.5.1 h1:kMR6y3b2eXF9NzHqGlH3cDxC2S6KfuBXJb5+m++KWLo= +github.com/aws/aws-sdk-go-v2/service/cloudfrontkeyvaluestore v1.5.1/go.mod h1:aXg8JNvonDQbjiNPMSZ5G5/VEH1ZJSsM8u2tFKn1dbk= +github.com/aws/aws-sdk-go-v2/service/cloudhsmv2 v1.23.1 h1:SmnVTefyghNfnuGXMnJsHEYn2S90RCpUlOKf0e2YnMI= +github.com/aws/aws-sdk-go-v2/service/cloudhsmv2 v1.23.1/go.mod h1:iqbEItGSpoAow7uFw27QZ6qylNKKa94QP8UK6tjzSq4= +github.com/aws/aws-sdk-go-v2/service/cloudsearch v1.23.1 h1:fTsQs8LBzM87p5KJdJAfF43VMMWFPFcD9HuX//D6kQ4= +github.com/aws/aws-sdk-go-v2/service/cloudsearch v1.23.1/go.mod h1:C0foT3p9IlsG0bMtL0457lvntFeu6Qgt9VumKlI7zkg= +github.com/aws/aws-sdk-go-v2/service/cloudtrail v1.41.1 h1:dSDDTrkL0JUsAtLxE4MXeUlDHuSrYz+S2h/5/j2AHDQ= +github.com/aws/aws-sdk-go-v2/service/cloudtrail v1.41.1/go.mod h1:t612HtnZuwt6UkB/JMxewOHaeRI5VklfVj6UcwOwfCk= +github.com/aws/aws-sdk-go-v2/service/cloudwatch v1.39.1 h1:U2qFeD0atfYsNMX7pVPvTG+vI7jCoelcWomOK7F8b34= +github.com/aws/aws-sdk-go-v2/service/cloudwatch v1.39.1/go.mod h1:6cstKfQIguQDuWrHKYhjod025+J7n0AR+azv5t9HYBY= +github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs v1.36.1 h1:9S1OsS3TCTUwBcK6K6EUYKyEb7sc3lNvf4KJY9WrMfQ= +github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs v1.36.1/go.mod h1:u4Wxjs4U9OLN1HDFLAFTnS0mDC8kh23RCV8ctQSxpT0= +github.com/aws/aws-sdk-go-v2/service/codeartifact v1.28.1 h1:1OfXVziIGFVm5FHvDkWogdHUkXlZZwqe/0LCbxnmfYA= +github.com/aws/aws-sdk-go-v2/service/codeartifact v1.28.1/go.mod h1:XKoFW8gDY8bULuq8+sKHrMqsbnVi9MTkeJmf69ZxoLk= +github.com/aws/aws-sdk-go-v2/service/codebuild v1.39.1 h1:bnzjHm+ogGF+ldBxE/QX4LS8EdmvVmo2crELrUH8Vko= +github.com/aws/aws-sdk-go-v2/service/codebuild v1.39.1/go.mod h1:8M+F8tdWjmhBbEBrYZNEIqyaewVROyMpGbjAE0ezzaE= +github.com/aws/aws-sdk-go-v2/service/codecatalyst v1.14.1 h1:/VqrREr150QUHg2sT3HyXruh75wgxNF/ovXJrNirwHo= +github.com/aws/aws-sdk-go-v2/service/codecatalyst v1.14.1/go.mod h1:ssdLO5gMVtYjJywV9Qif/BMcJIF7TMrygQzP0FjZsJg= +github.com/aws/aws-sdk-go-v2/service/codecommit v1.23.1 h1:fUkMJntkDjreA6z/OjWu3Yo6GgflOb89MwJqkiKIhLc= +github.com/aws/aws-sdk-go-v2/service/codecommit v1.23.1/go.mod h1:owSVfGgLWi8lpG+Ek9ngwErdBD9WJJJCNGYZDEb0JgM= +github.com/aws/aws-sdk-go-v2/service/codedeploy v1.26.1 h1:heUpqHgpEb36T8Tz2T/YgIhvGyrosFMniRcZ1tysvew= +github.com/aws/aws-sdk-go-v2/service/codedeploy v1.26.1/go.mod h1:rCdAG15aLhGEozOHpWNOEV3ZsT3FWDaOyxt2Vm+F2H8= +github.com/aws/aws-sdk-go-v2/service/codeguruprofiler v1.21.1 h1:kVltQrvq9OLClU0dErOa8X+oCup2MAnwYraJmIP12c0= +github.com/aws/aws-sdk-go-v2/service/codeguruprofiler v1.21.1/go.mod h1:dHJf1FKp+UCZB8TzqD9It5mtH5bAgiJUPaw6NsCr18s= +github.com/aws/aws-sdk-go-v2/service/codegurureviewer v1.26.1 h1:cWPRG82xZJvCPgWxU0whZ8oiKUPkZdDFSyWNNCq1pjk= +github.com/aws/aws-sdk-go-v2/service/codegurureviewer v1.26.1/go.mod h1:SLJpIkjNr4PoJp6i2gdclwswNmGkBsp2mx2+dfy7DKI= +github.com/aws/aws-sdk-go-v2/service/codepipeline v1.29.1 h1:AmUVmQ2xPDib5oF4EgCx7+YW6RETtbtFfxhGbHi+EB0= +github.com/aws/aws-sdk-go-v2/service/codepipeline v1.29.1/go.mod h1:na6xq+0NoaHlXbCYTRvrULaHmLNSByUleyJy9euDhtQ= +github.com/aws/aws-sdk-go-v2/service/codestarconnections v1.26.1 h1:wxAB1UmknXKQcaJ3/NYLERUJ7UMHmjAxC79qSDZ+gzE= +github.com/aws/aws-sdk-go-v2/service/codestarconnections v1.26.1/go.mod h1:2tYDH2oM9SobFKK8e1Tld+gNzFBoJ1tJx9BFE5WVd1Q= +github.com/aws/aws-sdk-go-v2/service/codestarnotifications v1.23.1 h1:Y6zYm5uoyV4eJyhLWyZ0CrMG7oGiGu0Q0AKDA+FInFk= +github.com/aws/aws-sdk-go-v2/service/codestarnotifications v1.23.1/go.mod h1:eLxEKHbDZAZ21Kd9MoiVwTHuKNBfYSNgqp9IvtqodsA= +github.com/aws/aws-sdk-go-v2/service/cognitoidentity v1.24.1 h1:grnSpw0UYD7mZpV4cbIrHroG5geUkLdZG9Nw6y+2mY4= +github.com/aws/aws-sdk-go-v2/service/cognitoidentity v1.24.1/go.mod h1:GjlJPEWhuchMZu+5ANvFJ40v2D/Yf15GKtSQrEii9g8= +github.com/aws/aws-sdk-go-v2/service/comprehend v1.32.1 h1:aaO83HGlxNkzuusYpfQKLb5p8Nh5fT9Z0AZGOMCgV0s= +github.com/aws/aws-sdk-go-v2/service/comprehend v1.32.1/go.mod h1:sceZD+zPJMiCXh57FxceWpqgNsNWST11mkCKKOxPzus= +github.com/aws/aws-sdk-go-v2/service/computeoptimizer v1.35.1 h1:YcD0FWopQ45wJls0DhI7jxEZ7eyupwep0rbRVKIILS8= +github.com/aws/aws-sdk-go-v2/service/computeoptimizer v1.35.1/go.mod h1:l1VImHHo3aeITpaaUdoeWkUwo6rCKz4Nc4oRYThfP6k= +github.com/aws/aws-sdk-go-v2/service/configservice v1.47.1 h1:w1ARKEDr+JYVWNgAJQtZEYI88FS8FKv9aVdg7K67ri4= +github.com/aws/aws-sdk-go-v2/service/configservice v1.47.1/go.mod h1:ExWsfT5TTjMkpt5HfiMCozowniFm1bxIZi6Z2DHjxGM= +github.com/aws/aws-sdk-go-v2/service/connectcases v1.18.1 h1:i6Gm6+KRs0TXIDETJzGdqol+y0Q02/2swZ0mtVFwTnU= +github.com/aws/aws-sdk-go-v2/service/connectcases v1.18.1/go.mod h1:3I7C4pcZ++MDSDCHDkXEF+jGqs80Ggi4rnCNn/m0SHA= +github.com/aws/aws-sdk-go-v2/service/controltower v1.15.1 h1:QD/r0AtUhuGca+6P5dRFNrGLdhYEHttfCj62CoaWP48= +github.com/aws/aws-sdk-go-v2/service/controltower v1.15.1/go.mod h1:LVHPyB4s5aE7rvy2BHULX+2C2b8GTSwX6oAcBoDuYcw= +github.com/aws/aws-sdk-go-v2/service/costandusagereportservice v1.25.0 h1:W9SVpLBFNnPgQtMQbGhlb6+VjsfITm0hBYLK0xMC48E= +github.com/aws/aws-sdk-go-v2/service/costandusagereportservice v1.25.0/go.mod h1:1tpevg2QD6gPbSIPaWZFsyy3r/u70iJqg0uUHrgjOG8= +github.com/aws/aws-sdk-go-v2/service/costexplorer v1.39.1 h1:oBVbeqeAVABwx7nPjHtrkjdWCsKw32zr0kem/ObNqtg= +github.com/aws/aws-sdk-go-v2/service/costexplorer v1.39.1/go.mod h1:NqSDny+Te4J9JM5IyrP0aywQVU51U/T7H9wZN3AQfe8= +github.com/aws/aws-sdk-go-v2/service/costoptimizationhub v1.5.1 h1:r1eywILs7CqOrHlCVk+VzRN+dakDAFLG3AP4aFpMFz4= +github.com/aws/aws-sdk-go-v2/service/costoptimizationhub v1.5.1/go.mod h1:U++BfU7vu4wWCcbgEYJ1U3tGPhYS3yFmns/IcUyQQCU= +github.com/aws/aws-sdk-go-v2/service/customerprofiles v1.37.1 h1:Q8qaVCxMxlq/dtyhsxeem0coJpHCt+yiGI0wGhdxXlg= +github.com/aws/aws-sdk-go-v2/service/customerprofiles v1.37.1/go.mod h1:lhwc41j8YUBkPGK3VpX8+Ze/xrltyjVIJRJBerL5KVw= +github.com/aws/aws-sdk-go-v2/service/datasync v1.39.1 h1:uxWLMp0jcdV4Y4geESJoK/sRJZ5UR5ZXbsmO80o5G8w= +github.com/aws/aws-sdk-go-v2/service/datasync v1.39.1/go.mod h1:avtAoHgeYzxVtm41THxtBvtIYGwEiORu1qqOx9ozx9E= +github.com/aws/aws-sdk-go-v2/service/datazone v1.10.1 h1:uXlr3EF5ahh6++5dHGmAsYDe42uP/0c1Lcf53XulTlQ= +github.com/aws/aws-sdk-go-v2/service/datazone v1.10.1/go.mod h1:X60rbZ2iaL0HHJLO94rPQZVVd9nyXV+s601q/8zCIT8= +github.com/aws/aws-sdk-go-v2/service/dax v1.20.1 h1:TsVZKgA0lRq/tARfiabTJpxDp4SvhUN9oaGp6ysvsl8= +github.com/aws/aws-sdk-go-v2/service/dax v1.20.1/go.mod h1:GNQa0lb+sN8wYxvVveXs6NYj7QE/ln1S6Zq8vdLvluI= +github.com/aws/aws-sdk-go-v2/service/devicefarm v1.23.1 h1:YuAiH2QWZQBW37X1MtgZmS+vLVAZPnfZKcW/5b7LhGk= +github.com/aws/aws-sdk-go-v2/service/devicefarm v1.23.1/go.mod h1:K8JyqC+I7Itibe+jCmhUvk4SKjuImxIVEDRD+FcgDE0= +github.com/aws/aws-sdk-go-v2/service/devopsguru v1.31.1 h1:GocOtSzQdS21YCifZ9tRWrOfXDJ07zxNrng0sA3lWmE= +github.com/aws/aws-sdk-go-v2/service/devopsguru v1.31.1/go.mod h1:cBYCVQQq4hoCGXmrFB4Ydp8RLiJQydstjQ6rpIWW77w= +github.com/aws/aws-sdk-go-v2/service/directoryservice v1.26.1 h1:o73eXOlXE32xnr0Dawi5gzVLbdeVfYnQlKwqbbvTCcA= +github.com/aws/aws-sdk-go-v2/service/directoryservice v1.26.1/go.mod h1:+1wFFZEpA+srGWrQRLcXBLvpK2AaAAIyUDzu/9XNP98= +github.com/aws/aws-sdk-go-v2/service/dlm v1.25.1 h1:PfGJEDIwkbHdha9Tl1bVea77oLyx40ytCYuJh6sm+g4= +github.com/aws/aws-sdk-go-v2/service/dlm v1.25.1/go.mod h1:fzgnfuz0rPeHLhymW+pQGStjpxyBj1Ejk4AjG9YcPZg= +github.com/aws/aws-sdk-go-v2/service/docdb v1.35.1 h1:ONQmD3KEK/HEN9Fd+DX97tN4spsRb8EigGX+Q2hkefE= +github.com/aws/aws-sdk-go-v2/service/docdb v1.35.1/go.mod h1:F8EZZZUOZ0QNB1wiYJ5LQuzQUvXg0RPfMkZfYVglEH8= +github.com/aws/aws-sdk-go-v2/service/docdbelastic v1.10.1 h1:GUkKn+uh75Hy8oXWSZV2cffzYiOg1jSmoKVSRNOlfRo= +github.com/aws/aws-sdk-go-v2/service/docdbelastic v1.10.1/go.mod h1:FdbKmJnx2hriStRrPI7xrFVytgWoR0mVYPSLyZ/ftnw= +github.com/aws/aws-sdk-go-v2/service/drs v1.27.1 h1:iA5bnw47mK5BGe2bvk0JMwa+hrU5QI3ailkfospq26o= +github.com/aws/aws-sdk-go-v2/service/drs v1.27.1/go.mod h1:mADrs2xVSpoXKhmqO7etp2NgsCqvA/Si7tMITr7mnEk= +github.com/aws/aws-sdk-go-v2/service/dynamodb v1.33.1 h1:9UiObaZsmKoR1k/dE6z/3laTkhkV0xnYXT8jIpMhuz8= +github.com/aws/aws-sdk-go-v2/service/dynamodb v1.33.1/go.mod h1:zU5eWYw3HNkPtcrFwBAdMv3+h3dFpmB0ng7z8wOuSPc= +github.com/aws/aws-sdk-go-v2/service/ec2 v1.165.1 h1:LkSnU1c9JKJyXYcwpWgQGuwctwv3pDenMUgH2CmLd1A= +github.com/aws/aws-sdk-go-v2/service/ec2 v1.165.1/go.mod h1:Wv7N3iFOKVsZNIaw9MOBUmwCkX6VMmQQRFhMrHtNGno= +github.com/aws/aws-sdk-go-v2/service/ecr v1.29.1 h1:ywNLJrn/Qn4enDsz/XnKlvpnLqvJxFGQV2BltWltbis= +github.com/aws/aws-sdk-go-v2/service/ecr v1.29.1/go.mod h1:WadVIk+UrTvWuAsCp6BKGX4i2snurpz8mPWhJQnS7Dg= +github.com/aws/aws-sdk-go-v2/service/ecrpublic v1.24.1 h1:Eq9i/mvOlGghiKe9NtsmeD9Wlwg8p4fbsqrMb3nWirM= +github.com/aws/aws-sdk-go-v2/service/ecrpublic v1.24.1/go.mod h1:VtOgEoLEPV1YADuq+Z2XOK6/wKkGW2YK6DjChZ/GvDs= +github.com/aws/aws-sdk-go-v2/service/ecs v1.43.1 h1:Js5l/9hBLI4/enHaCezHxxoC0AQ1kh+h9TBjZEFIg1c= +github.com/aws/aws-sdk-go-v2/service/ecs v1.43.1/go.mod h1:a0NMSy8O5qyPn5Z8Lf0z/vyXry5Z60Vw23fYD1oRu/Y= +github.com/aws/aws-sdk-go-v2/service/eks v1.44.1 h1:onUAzZXDsyXzyrmOGw/9p8Csl1NZkTDEs4URZ8covUY= +github.com/aws/aws-sdk-go-v2/service/eks v1.44.1/go.mod h1:dg9l/W4hXygeRNydRB4LWKY/MwHJhfUomGJUBwI29Dw= +github.com/aws/aws-sdk-go-v2/service/elasticache v1.39.1 h1:XUOyv5Q0uypaCKkv1svwnhB9X76sRDoLUelBjzlFrL4= +github.com/aws/aws-sdk-go-v2/service/elasticache v1.39.1/go.mod h1:RHxzPy8YHOOIEFxK5WYIsDA8TEDIBd8A0BenmqV9PKw= +github.com/aws/aws-sdk-go-v2/service/elasticbeanstalk v1.24.1 h1:JQpNrllBoHIKSzwLVFK/XYsUJBhDNvIaYVBQNf/9vk0= +github.com/aws/aws-sdk-go-v2/service/elasticbeanstalk v1.24.1/go.mod h1:JuMMy9DnDaLMb0pYz4v0kavMGRd+Me6kn5S9KWIUd4I= +github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2 v1.32.1 h1:whB9mAd0jcYqVF75rVASYdPPBEfZwGFLBq9rz0cHCoI= +github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2 v1.32.1/go.mod h1:EjPhusEHOS2hFIJFR3PfI4ndJLkhm3VKTWv0U5m+VR4= +github.com/aws/aws-sdk-go-v2/service/emr v1.40.1 h1:wH3N7EEy/KgQFvnH0qnrfAECHvlJ6DPiLlNJUgZEZO0= +github.com/aws/aws-sdk-go-v2/service/emr v1.40.1/go.mod h1:mw5LOzaQgE+8Oy0dfhvHeiZTZporvugTccq121K12PQ= +github.com/aws/aws-sdk-go-v2/service/emrserverless v1.22.1 h1:PxYDKli6t4c4ZR9pUhdva/5c3ssvNvzmqoNFZxFQJG8= +github.com/aws/aws-sdk-go-v2/service/emrserverless v1.22.1/go.mod h1:sufrIA6wP/EydjURB33dtQreCXBm4ENL92tw6u6MmUU= +github.com/aws/aws-sdk-go-v2/service/eventbridge v1.32.1 h1:CC/texhRBbrlvDnholIlzoCXIPacah42iMJ5Qw17ZQQ= +github.com/aws/aws-sdk-go-v2/service/eventbridge v1.32.1/go.mod h1:3j+pcA1J4w7o1Sgt9maYlr+AXL6qPLjkmM+9oYTu+8Y= +github.com/aws/aws-sdk-go-v2/service/evidently v1.20.1 h1:VQ3R9AC/NnbJTYOG1t8leoOU/lZ5MeF4Wd3hKG1TCEQ= +github.com/aws/aws-sdk-go-v2/service/evidently v1.20.1/go.mod h1:bcnYJJZnP2/iAYSYBZr757pfeusnDvsr/w/nxYjLSu4= +github.com/aws/aws-sdk-go-v2/service/finspace v1.25.1 h1:AzE9MtNhz2ShTfmv0E9hAbCEiQ0tbLbi6MJ8G3rBLX8= +github.com/aws/aws-sdk-go-v2/service/finspace v1.25.1/go.mod h1:wFw2JQRHqId9j7TLuud2hVySpj3Kl2FyDTzk11U7VlI= +github.com/aws/aws-sdk-go-v2/service/firehose v1.30.1 h1:rUjrt0TdN9J3fXoAR48jQYPZG9CuTFFx8sRvNeewsFA= +github.com/aws/aws-sdk-go-v2/service/firehose v1.30.1/go.mod h1:OfHMrSBBxqqMlNKxYS+qN1iEIlak7LmjQokzFocNdEw= +github.com/aws/aws-sdk-go-v2/service/fis v1.25.1 h1:3QgBUXHUBlAR0C7U4NnW06AOFCu+k35NLNQebJ/ZFi0= +github.com/aws/aws-sdk-go-v2/service/fis v1.25.1/go.mod h1:ZNsquchu106IZ++PAiwBDjmcOeALzBSPMHKNgwnsFwg= +github.com/aws/aws-sdk-go-v2/service/fms v1.34.1 h1:syweqXph4uS8LY+MjwsSt29N457s1U/4B/9OUE02fI4= +github.com/aws/aws-sdk-go-v2/service/fms v1.34.1/go.mod h1:9tSGhVWwdYbj0TKzLzvZpsEwRCdzcVi/HC4YNKEsLQ8= +github.com/aws/aws-sdk-go-v2/service/glacier v1.23.1 h1:nUOHgAUOnQth5+fMWgCQiOEqH73fgqmueimUYJE/7rQ= +github.com/aws/aws-sdk-go-v2/service/glacier v1.23.1/go.mod h1:29ythAZEVnLPIOCpzENgCzvZLoAHt8S8BHryPpm8EyI= +github.com/aws/aws-sdk-go-v2/service/globalaccelerator v1.25.1 h1:7C51ZbOLStv+VJwdiKGzJeKK0LPX6+XTJv199Q9xe0U= +github.com/aws/aws-sdk-go-v2/service/globalaccelerator v1.25.1/go.mod h1:VSQN6t3mMZfL/CEC2sg+MaSDv7A9sTFFhIB82k7zexA= +github.com/aws/aws-sdk-go-v2/service/groundstation v1.28.1 h1:XTtOVIG/v1yaff76zGqNLB9LDW/+hY7dQTuwvh4y5Qo= +github.com/aws/aws-sdk-go-v2/service/groundstation v1.28.1/go.mod h1:GF6S/WXbeYIIdbsIAKsYdEvndnn8wksiolvsk27TaBo= +github.com/aws/aws-sdk-go-v2/service/guardduty v1.44.1 h1:0LOU9mO7AI2rjuuO9p8iymDR3jhY91d+P7XEjJkaa7w= +github.com/aws/aws-sdk-go-v2/service/guardduty v1.44.1/go.mod h1:pqOGHA5mcb0tdNBQq7QjwhyXebpFvflQ2eU36zxgctM= +github.com/aws/aws-sdk-go-v2/service/healthlake v1.25.1 h1:vehsCmdxi8vX7GK7ft1hlU0ZxTzbYnew192DukNngCQ= +github.com/aws/aws-sdk-go-v2/service/healthlake v1.25.1/go.mod h1:WzKPsp14R9Vt2jhmMuZ79TMmmv/CnEVz3bI4eKRst7E= +github.com/aws/aws-sdk-go-v2/service/iam v1.33.1 h1:0dcMo3330L9LIckl+4iujMoq0AdR8LMK0TtgrjHUi6M= +github.com/aws/aws-sdk-go-v2/service/iam v1.33.1/go.mod h1:sX/naR5tYtlGFN0Bjg9VPNgYNg/rqiDUuKTW9peFnZk= +github.com/aws/aws-sdk-go-v2/service/identitystore v1.24.1 h1:g2WNVRtXDsxOA+VEMXXzw8gvXFdUrkXehiFsPFzSi9w= +github.com/aws/aws-sdk-go-v2/service/identitystore v1.24.1/go.mod h1:XnTkN4iDJq8dN7VBZZDZ5NOEup8V3s/POj4uBlSy574= +github.com/aws/aws-sdk-go-v2/service/inspector2 v1.27.1 h1:MrCy2Qee++yNI4t0adjhDrVi9xKhpPLiweIUy9HwJIc= +github.com/aws/aws-sdk-go-v2/service/inspector2 v1.27.1/go.mod h1:5FPrmv5Cwaq8Fri4puvds50dVPMgGZlU5inTlDs1UJQ= github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.11.2 h1:Ji0DY1xUsUr3I8cHps0G+XM3WWU16lP6yG8qu1GAZAs= github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.11.2/go.mod h1:5CsjAbs3NlGQyZNFACh+zztPDI7fU6eW9QsxjfnuBKg= -github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.3.13 h1:zmKtGN1dMQDVBsfCePykMQmTfWY+jlaUTv55RF5b31w= -github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.3.13/go.mod h1:1UzMv5n56AjbPR9834o5YLw5dH6baIsY60Ib84s1NCc= -github.com/aws/aws-sdk-go-v2/service/internal/endpoint-discovery v1.9.12 h1:IXSDCqEfL4oe4plEt0GkjkuI9T3tbVH91udMp7ZwV20= -github.com/aws/aws-sdk-go-v2/service/internal/endpoint-discovery v1.9.12/go.mod h1:47OjVuK2ib5x+7RLlacLxhZRlTnjlXAwal1BSXwj7Tk= -github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.11.13 h1:3A8vxp65nZy6aMlSCBvpIyxIbAN0DOSxaPDZuzasxuU= -github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.11.13/go.mod h1:IxJ/pMQ/Y+MDFGo6pQRyqzKKwtGMHb5IWp5PXSQr8dM= -github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.17.11 h1:QNkz5KqOUdeq1D0AP9r7Af6hNKyb0fnFa/L4DEKTp+Q= -github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.17.11/go.mod h1:c7R1eDLOU5hQ4f66TYzyAT2AeLLtw5khZJpbGCo1cYU= -github.com/aws/aws-sdk-go-v2/service/internetmonitor v1.15.0 h1:qhosmDiiChXUik7EonQCa/Ar86wkN+RNJtrvw038FBc= -github.com/aws/aws-sdk-go-v2/service/internetmonitor v1.15.0/go.mod h1:k4kMkKa2GC60pwx/7o9Lo1FafY/IweWPzEJDly2q5Q0= -github.com/aws/aws-sdk-go-v2/service/ivschat v1.13.0 h1:tat1j8oYFZ3U+RjCPAsG2v/EeNA0tjNFFN/vejX7mYI= -github.com/aws/aws-sdk-go-v2/service/ivschat v1.13.0/go.mod h1:6d4tg8VqAxfgtTKzz2dJMvIWHrW+l0naowqFqVqxcjU= -github.com/aws/aws-sdk-go-v2/service/kafka v1.34.0 h1:07HKBDj5blE+fyVtyf1WEihzADVfP9dsdt2b22VPAls= -github.com/aws/aws-sdk-go-v2/service/kafka v1.34.0/go.mod h1:cFxsTlC46RM+GLxW922zvCPnV3p5ovUm3w/pG2iO+bU= -github.com/aws/aws-sdk-go-v2/service/kendra v1.51.0 h1:I8uZn+5HgbBpggnM2RGbk3u6izgQbi/TyatI3HqkZiA= -github.com/aws/aws-sdk-go-v2/service/kendra v1.51.0/go.mod h1:wiwrggxiDODtt1K/GizZ/rk6qZbdayC6nkvCT8Db+g4= -github.com/aws/aws-sdk-go-v2/service/keyspaces v1.11.0 h1:aVZsfw2eRODAto3hjFSJJhp89yQHt6pk254nkc9X4tI= -github.com/aws/aws-sdk-go-v2/service/keyspaces v1.11.0/go.mod h1:hljEHeYMeOpHEAt8JfmTPBhgu1UECQR+LIKJohUS0fA= -github.com/aws/aws-sdk-go-v2/service/kinesis v1.28.0 h1:GlBz4i/73k7KGfgv2RV207nl5GgHEPqym/pZp/f5Oho= -github.com/aws/aws-sdk-go-v2/service/kinesis v1.28.0/go.mod h1:CgU0Lb1UkyogQXjSZ97CI4HRc3G0Ts1+ZTNFIPAfkHU= -github.com/aws/aws-sdk-go-v2/service/kms v1.34.0 h1:GKrvkdgKYFjn5XMwzuuN+e9St/TnJwJl2rEisSfP6r8= -github.com/aws/aws-sdk-go-v2/service/kms v1.34.0/go.mod h1:AStnoP2Hj6IHB5nHbVw2mEiGjLpOJPxY+XOc2xcKTvU= -github.com/aws/aws-sdk-go-v2/service/lakeformation v1.34.0 h1:OwdIAzsPYUOCkkhCey8NDOJo+SIvfkIvyDeUhaN7cOE= -github.com/aws/aws-sdk-go-v2/service/lakeformation v1.34.0/go.mod h1:64y5I6zkuDp4//8B4gC0aMaigXFzuZnCMTXZmilApvY= -github.com/aws/aws-sdk-go-v2/service/lambda v1.55.0 h1:vrwMgAOU8ZXrWs0QZOOAFRdWFNxoL2DdH4doD0BkmU4= -github.com/aws/aws-sdk-go-v2/service/lambda v1.55.0/go.mod h1:ZVT/r5NG5Fxjaw7rgDmOYVu0y2KELlQCcda/f+yypUQ= -github.com/aws/aws-sdk-go-v2/service/launchwizard v1.5.0 h1:KWPToB4PQaUswu9OYsizvFBhANLrjZQcgm+reIDIhAs= -github.com/aws/aws-sdk-go-v2/service/launchwizard v1.5.0/go.mod h1:POsVs9pgDb9GcDnU28jI0MYcJ8dmZXa69drFSWv9j/4= -github.com/aws/aws-sdk-go-v2/service/lexmodelsv2 v1.44.0 h1:aOjZLUohIyhQAa55T5YbADhbSD14shA3Uy9iFaMkLNA= -github.com/aws/aws-sdk-go-v2/service/lexmodelsv2 v1.44.0/go.mod h1:o5ds6PGmBWFEalpuvHogbw/eWsTRVoWwSoKYPk8JQzY= -github.com/aws/aws-sdk-go-v2/service/lightsail v1.39.0 h1:nuwAO6+IALIMkohEh60AYmoMLyOHwRRB9jqmuA9Cu0M= -github.com/aws/aws-sdk-go-v2/service/lightsail v1.39.0/go.mod h1:8ufD2bOz/z8yVDnlaHqy9ejN9UUzjwjSLxAwHkHoshI= -github.com/aws/aws-sdk-go-v2/service/lookoutmetrics v1.28.0 h1:5xgnUWghApxJQjFglJ4YzHddQuhPh9SXJpLfI4TKRQM= -github.com/aws/aws-sdk-go-v2/service/lookoutmetrics v1.28.0/go.mod h1:b/iu0Uj2AdaFrGlaGX8/J3O5lmURNPaH5ogZZTr64gU= -github.com/aws/aws-sdk-go-v2/service/m2 v1.14.0 h1:DFwW52UPdLPUqPx/lzSNM3U/E6NJJLlahyNh+x6AL1o= -github.com/aws/aws-sdk-go-v2/service/m2 v1.14.0/go.mod h1:V4zGgD3V7LsrsD8Ce+dkAw64+o86KjLa+fL75fxPly0= -github.com/aws/aws-sdk-go-v2/service/mediaconnect v1.29.0 h1:A63CzSzHPkVkCFkpU56Da804IDNpay5TbiwRrryheHY= -github.com/aws/aws-sdk-go-v2/service/mediaconnect v1.29.0/go.mod h1:HlbpoiCoiec/aSqe19eep/AWYHDOwDg1zBSeBpgfPLo= -github.com/aws/aws-sdk-go-v2/service/mediaconvert v1.56.0 h1:Xah+rTdeRrUzz+/bxMp8fTjwGdgxv/kek7myjnkBkAQ= -github.com/aws/aws-sdk-go-v2/service/mediaconvert v1.56.0/go.mod h1:8zjF2Dt1bDZJGqfLtqoRMllSkfyiHaanYvkVP7XW4Pk= -github.com/aws/aws-sdk-go-v2/service/medialive v1.53.0 h1:TrESOVo6H5c7ZtjKp1Vf7hfL0UqmqmRJYiIbqfwT9lw= -github.com/aws/aws-sdk-go-v2/service/medialive v1.53.0/go.mod h1:Nw5GLwYZvqZ6dV/jbnzsObMzpy8/Wk+9LvABHWtZoZM= -github.com/aws/aws-sdk-go-v2/service/mediapackage v1.31.0 h1:hnshAIgbRHjGKVnhp+k6lBHhBgkW/z8dy3HkLnjgzeg= -github.com/aws/aws-sdk-go-v2/service/mediapackage v1.31.0/go.mod h1:KjnRZNMI89hQn1kvHJAKW6ZiiSfb8eCFMAK1RmEhU+U= -github.com/aws/aws-sdk-go-v2/service/mediapackagev2 v1.13.0 h1:fp+EzoLjY/IEyNI+pvHyn/P7EP7ReUXvhVxtNGkHArY= -github.com/aws/aws-sdk-go-v2/service/mediapackagev2 v1.13.0/go.mod h1:GP1Y0gWRh63ZrCgNTep18xMtfJ+UxvQh3ySWeP6dwTI= -github.com/aws/aws-sdk-go-v2/service/mediastore v1.21.0 h1:v8U8FO3M2QjA7yTgC9oyD64A6I6h9AJfApgTB2xvQmg= -github.com/aws/aws-sdk-go-v2/service/mediastore v1.21.0/go.mod h1:Zm+Mm7zDSLiJMmrQAckI0LS+u5k/isK4wHM0MCbexYk= -github.com/aws/aws-sdk-go-v2/service/mq v1.23.0 h1:7PvX/V1CmtXt/gvQwBl2yM4bbw2ERLZGXmotTAacdpY= -github.com/aws/aws-sdk-go-v2/service/mq v1.23.0/go.mod h1:s6bdv+6LzsWAQCi2Xu+WEi74KpyAT65pwbdGIub4LvU= -github.com/aws/aws-sdk-go-v2/service/mwaa v1.28.0 h1:bKi7qpSkeRbkpWHCwlAgMMXnwYu4JqfzyWmob0N9tbI= -github.com/aws/aws-sdk-go-v2/service/mwaa v1.28.0/go.mod h1:6i04FP47GX97vfirLHyRGHyzDHsDyhz0m+wIEv/DfeM= -github.com/aws/aws-sdk-go-v2/service/neptunegraph v1.9.0 h1:6c6bLYsKD2/IhHDlbQKC6LfsHbN1olRDdBPJdwCAKlE= -github.com/aws/aws-sdk-go-v2/service/neptunegraph v1.9.0/go.mod h1:hRUpppMdU4Ez82Bv44GhZ0lgwWjbqoxk4rlj+MoIIFk= -github.com/aws/aws-sdk-go-v2/service/oam v1.12.0 h1:NyYwBx/auaIYoPvHUPHUpE4p5jzaFqhL1qmxfk9+HhA= -github.com/aws/aws-sdk-go-v2/service/oam v1.12.0/go.mod h1:QmR858iis15nB1JSbLooR6zK+ZC3zZfwW9bDdv/taAM= -github.com/aws/aws-sdk-go-v2/service/opensearchserverless v1.12.0 h1:K7v/cjRbKXWy4qJDtrZ9D+N7Bcv1YYgiV0u8p8a++jc= -github.com/aws/aws-sdk-go-v2/service/opensearchserverless v1.12.0/go.mod h1:BUJisSmzHH8bDzBUuS8oibm+tTkabL1edIok+oaXwrA= -github.com/aws/aws-sdk-go-v2/service/organizations v1.28.0 h1:tm2U9o4/Pj6Sj1WYshqyTr3eF0sZviLn/UIElhyeBTA= -github.com/aws/aws-sdk-go-v2/service/organizations v1.28.0/go.mod h1:gsyCAmtG8IgmzfqBQiduGEOhBrIVAZsGv7S4rCvXFRM= -github.com/aws/aws-sdk-go-v2/service/osis v1.11.0 h1:DO6ZBGQ1e8dkEO/dyFBfCfA3EyhYvUpVSsNNvZ1WlGc= -github.com/aws/aws-sdk-go-v2/service/osis v1.11.0/go.mod h1:NnA7zLCoOx+mhlSrIJjU/rtThQOcrTPch5shRttwTds= -github.com/aws/aws-sdk-go-v2/service/paymentcryptography v1.11.0 h1:sA2XaV1iNxcrLysD9S2c/m/aHapZl+DenPCX7lWgHdU= -github.com/aws/aws-sdk-go-v2/service/paymentcryptography v1.11.0/go.mod h1:R5vo8yPCzJaUJnKYDgUdtvz9CGTXPfI4KZ1ebwFN+zA= -github.com/aws/aws-sdk-go-v2/service/pcaconnectorad v1.6.0 h1:rWpuyP9zpzrMw9av+5Yhc+vCYWBW8LoQmd3D9ODFrco= -github.com/aws/aws-sdk-go-v2/service/pcaconnectorad v1.6.0/go.mod h1:v/8Whq6U3QgxFH/PRElHRVbQz64BRaGVq0FDXfUksRM= -github.com/aws/aws-sdk-go-v2/service/pipes v1.13.0 h1:dCbHGnHY2lcM3oR3dMJSGN/X+QykH7m5V0JGpcmLRMw= -github.com/aws/aws-sdk-go-v2/service/pipes v1.13.0/go.mod h1:WyWitPfg1KQr8e1VCNJKlMENK1RWQH60LYNfOKRsmRE= -github.com/aws/aws-sdk-go-v2/service/polly v1.41.0 h1:4019JiZsZ1RkUzO3Zh+tlAqOFmS5LTxPQ9ZzVdXxpWU= -github.com/aws/aws-sdk-go-v2/service/polly v1.41.0/go.mod h1:d2gHPwQLpV4GJ9VOFgRHjPHtRzR5sT1X+cK/c9+ES60= -github.com/aws/aws-sdk-go-v2/service/pricing v1.29.0 h1:EV2bGIhwWstC+xobp+dqY6SkXkizoIf/BOm2rlA6Oj4= -github.com/aws/aws-sdk-go-v2/service/pricing v1.29.0/go.mod h1:ybiXcXGCPNkoeZ0SWEhW2YqAuof+VoFaY92Hmt9wEZg= -github.com/aws/aws-sdk-go-v2/service/qbusiness v1.7.0 h1:08Sqhl9+MFQSvAjdaqrmkEnEg4owTYH8faulWkfjawk= -github.com/aws/aws-sdk-go-v2/service/qbusiness v1.7.0/go.mod h1:fE5HSf36IsNrPZsx3eSnTRrXPILIHAZfVOmYL3frUrU= -github.com/aws/aws-sdk-go-v2/service/qldb v1.22.0 h1:3IhtqPixRMbRL2hszlzFUjANJrK37XyIeSJcPB27U0Y= -github.com/aws/aws-sdk-go-v2/service/qldb v1.22.0/go.mod h1:4hd2SxINA5DfjEnSXOTVKIDfMBu3f3f8ix/Awrg8xZo= -github.com/aws/aws-sdk-go-v2/service/ram v1.26.0 h1:xOXgRYmVnffog74K2oOdmpF4AFGuxvD5sf4JoblH9/E= -github.com/aws/aws-sdk-go-v2/service/ram v1.26.0/go.mod h1:VSstQuq+G3Snk52pK7hxgW5e+/aRPBAHXVf8HokEyDY= -github.com/aws/aws-sdk-go-v2/service/rbin v1.17.0 h1:MwHcvJqUyY+U38k8cREkl49Sj1f4uH5Th6VrDcXqfjk= -github.com/aws/aws-sdk-go-v2/service/rbin v1.17.0/go.mod h1:omAuKAoQMFWf8ZUkd+d9/apTKhIiiBVqbkDH9LogoVs= -github.com/aws/aws-sdk-go-v2/service/rds v1.80.0 h1:8VoBRoKh2paHslGSveRqxSiPnFbXfiYxBG1/EzSDzC8= -github.com/aws/aws-sdk-go-v2/service/rds v1.80.0/go.mod h1:yLcoHSwyRp/AKOXNQUGzdF+u3zfNIco3sx+j5AU7VL8= -github.com/aws/aws-sdk-go-v2/service/redshift v1.45.0 h1:/UkJsgFo45+8hPrHTOwOnKotD6nCaGbrqQ+Q+yme59w= -github.com/aws/aws-sdk-go-v2/service/redshift v1.45.0/go.mod h1:DQY+HM2caihCnHUIHr6W621GBD3SELTotJ2X/y/0rbg= -github.com/aws/aws-sdk-go-v2/service/redshiftdata v1.26.0 h1:9XGFu3yf8TmjxD8l9V5G/+5LFvy8bcc91YTaWMzW+aA= -github.com/aws/aws-sdk-go-v2/service/redshiftdata v1.26.0/go.mod h1:EjEwXgwEm6KWNVBnzTf0CoJJcbm/lCvQgJL5uAXVZiA= -github.com/aws/aws-sdk-go-v2/service/redshiftserverless v1.19.0 h1:GbLcRmDKU3ZWJyjHVUMZVQKHCulQCgnvHUQHQ4XfVSM= -github.com/aws/aws-sdk-go-v2/service/redshiftserverless v1.19.0/go.mod h1:q3rWe+TdHxcC3LAjI9MD0o95xCMuJcE9nRcA4E1nYI8= -github.com/aws/aws-sdk-go-v2/service/rekognition v1.41.0 h1:qTjv3yq39ZDWuFxSg7VthLkMPB6415pN95LbsHrQuGg= -github.com/aws/aws-sdk-go-v2/service/rekognition v1.41.0/go.mod h1:62kYN/bu2HmN5D4DDPGEPp2RSk88DBkZMmc9BN6W1aU= -github.com/aws/aws-sdk-go-v2/service/resourceexplorer2 v1.11.0 h1:FdTAqyJJEQNaLv+gQqSWHmcY8vysdcMy9fOhOIRaaSQ= -github.com/aws/aws-sdk-go-v2/service/resourceexplorer2 v1.11.0/go.mod h1:P7I9alD1m2weZzSd6C55oS5bb3IB4ou1XqEhE1W5pug= -github.com/aws/aws-sdk-go-v2/service/resourcegroups v1.23.0 h1:joVrhKXPEIDeFoF+QDwGpv7VTRoDuMLCEs/u/u+ctBI= -github.com/aws/aws-sdk-go-v2/service/resourcegroups v1.23.0/go.mod h1:yYz0Ti5szl4rvf7hiI9FsYPf22Vjy0No4k7v7H4Ms28= -github.com/aws/aws-sdk-go-v2/service/resourcegroupstaggingapi v1.22.0 h1:8zPwiUeRAMzLU5dZ+jL23bTVoy0TdKJyZ6LH0lOKzZU= -github.com/aws/aws-sdk-go-v2/service/resourcegroupstaggingapi v1.22.0/go.mod h1:wp1n/0IPV/MOvs/sgqlwhdd8TsFLWC1ggUCNpicniDk= -github.com/aws/aws-sdk-go-v2/service/rolesanywhere v1.12.0 h1:PkRTzjDe1p4NjpF3jlexR8SqYse7FCZ9F2irAFT4/RY= -github.com/aws/aws-sdk-go-v2/service/rolesanywhere v1.12.0/go.mod h1:GGzMuBJGT+INpSiVyJDD/SP87wRW+Nj1lEFSp9tyhxk= -github.com/aws/aws-sdk-go-v2/service/route53 v1.41.0 h1:tvIBVabBmCMZvPFtT18HQbSjskzVEcSvdJIAjLQmP78= -github.com/aws/aws-sdk-go-v2/service/route53 v1.41.0/go.mod h1:rJl5QZ1ntzfPi2g3u1p8LQk78tbKj0JNmaNG1a9u97A= -github.com/aws/aws-sdk-go-v2/service/route53domains v1.24.0 h1:oJ2TcKRuwWuFwbwCH/ocaLP3EpCTca4B0wqNb6PopKE= -github.com/aws/aws-sdk-go-v2/service/route53domains v1.24.0/go.mod h1:L2ps9ionyOaplG4vh51jyIRUK+xB7vjMqnObxXsRoK0= -github.com/aws/aws-sdk-go-v2/service/route53profiles v1.1.0 h1:+RSaYW0xatoiE7wGJDcgwRjfZt++9GLWzQGExrCsfDI= -github.com/aws/aws-sdk-go-v2/service/route53profiles v1.1.0/go.mod h1:b93TJwGXxTHjsiJ0atSd1B1SS+t+f0reUP1NpSm5pCY= -github.com/aws/aws-sdk-go-v2/service/rum v1.18.0 h1:nSB1+P1J8uhiktco2Q2YHS6QKnmvUTMxLQsi8ToV6fA= -github.com/aws/aws-sdk-go-v2/service/rum v1.18.0/go.mod h1:uF2wf6A021PjiTu0/JUkme349nPtPSYHHtxlustC4QI= -github.com/aws/aws-sdk-go-v2/service/s3 v1.56.0 h1:NZIFz15bhrWwewGU0tdUGsisKPQxvzy3O4dL5jgBDKw= -github.com/aws/aws-sdk-go-v2/service/s3 v1.56.0/go.mod h1:ha/DkVoeDtS0XwRKyOiXP2J4Vzo3zpiE0yGi7Ej0X3o= -github.com/aws/aws-sdk-go-v2/service/s3control v1.45.0 h1:pY/fn04jwUb3WfjWNNGdt3uAT7ZwBx/qz4S5gKWvfpc= -github.com/aws/aws-sdk-go-v2/service/s3control v1.45.0/go.mod h1:6cnOOx7AsrCBX6NlwKmGYi5fz385yqFJxQwBGMDyc6A= -github.com/aws/aws-sdk-go-v2/service/scheduler v1.9.0 h1:rS3lP/TQoPU2rnw3edOtSkvTtOQox64KAeTuArky5cg= -github.com/aws/aws-sdk-go-v2/service/scheduler v1.9.0/go.mod h1:iq8U67MA8PgyLvjYbALIXJTtEazl1nnlJOlfxKx7VkA= -github.com/aws/aws-sdk-go-v2/service/schemas v1.25.0 h1:i4RLQp/sF2ej3Mf+ylkSWsjQ+LNZehcGpb+di3JZ9ac= -github.com/aws/aws-sdk-go-v2/service/schemas v1.25.0/go.mod h1:h7U1z78PLCbVBZyHNFrrnQaLsBl5jS9HBFKZUfyAY+M= -github.com/aws/aws-sdk-go-v2/service/secretsmanager v1.31.0 h1:ZyB15ar3Z+zYlFbg0p9cRwu8MjanG70q+wR8/QI/Ehw= -github.com/aws/aws-sdk-go-v2/service/secretsmanager v1.31.0/go.mod h1:hLeitfWsmqj2EFJWsXyz4GSpqG/aqrHXSd4lCH0q07U= -github.com/aws/aws-sdk-go-v2/service/securityhub v1.50.0 h1:DjIkaU2Y4kwx3steK44v6zoo5BNS5BWq/CK6VeFXVOQ= -github.com/aws/aws-sdk-go-v2/service/securityhub v1.50.0/go.mod h1:OgnzWiYEqZl+wyDa3tNNLjodrEQoHATqSsf5retzEsk= -github.com/aws/aws-sdk-go-v2/service/securitylake v1.15.0 h1:h0Hc0HeqRiCdQNxFuN5/T6Dyk8WmJ41ys42ikIRBozM= -github.com/aws/aws-sdk-go-v2/service/securitylake v1.15.0/go.mod h1:80i7dDYRHz+6goSHA9aYAAKLsAgF/YG45mtBkQXLu9I= -github.com/aws/aws-sdk-go-v2/service/servicecatalogappregistry v1.27.0 h1:McGMz1MxHynEh00FRagW/NbSf6JjW6XtSBky4DWSeWg= -github.com/aws/aws-sdk-go-v2/service/servicecatalogappregistry v1.27.0/go.mod h1:LpcM0C8kqecwfaNeK7yRlyOt0gLuzCYwKcnK39ADOsI= -github.com/aws/aws-sdk-go-v2/service/servicediscovery v1.30.0 h1:FCRBlq0ym8/3kr5/tQKLg7tsz5nTOmdqtArNWdvAdNA= -github.com/aws/aws-sdk-go-v2/service/servicediscovery v1.30.0/go.mod h1:w6z+TqchBg7RF3FtvUGs08faCSYfwlbGf7x5ipuWDKU= -github.com/aws/aws-sdk-go-v2/service/servicequotas v1.22.0 h1:J1RxKkbJvOydBLiNGR1T5HUjJ+Qjmh+n4p+V7Cpkhn8= -github.com/aws/aws-sdk-go-v2/service/servicequotas v1.22.0/go.mod h1:XnoYordEM2qP1jnnHqMsm55wgdm0VubxjUu3UKiB6ZE= -github.com/aws/aws-sdk-go-v2/service/sesv2 v1.31.0 h1:nDUPSj4veXxQuuX2khp5rW3bvyZZPnB0LGiNjSKz3Jo= -github.com/aws/aws-sdk-go-v2/service/sesv2 v1.31.0/go.mod h1:xpE4aMOs0Lby0U2ymdxGdON1soWCmqK8wOIWBgb4BZ4= -github.com/aws/aws-sdk-go-v2/service/shield v1.26.0 h1:SgqIGzWtN2CY53hi36SVmZ4Ygtu6b/E2LETPpnvarfQ= -github.com/aws/aws-sdk-go-v2/service/shield v1.26.0/go.mod h1:WRG9BjqyyYMcN8Z+MpQDdE1qDdEn0YtLxksG60UJDjA= -github.com/aws/aws-sdk-go-v2/service/signer v1.23.0 h1:RCoquPxZDbw6PJV5rgV04HgcOPSja1RDMcJf36Ssnlc= -github.com/aws/aws-sdk-go-v2/service/signer v1.23.0/go.mod h1:cMnMMZdfAEsZ1XeUOYC3rKFnK3a6G53qiAljLUvbuOc= -github.com/aws/aws-sdk-go-v2/service/sns v1.30.0 h1:Xq0gjRipdyccCsbojaEGsqUzD7N8j/911+ga/mS/KOs= -github.com/aws/aws-sdk-go-v2/service/sns v1.30.0/go.mod h1:2VCr8FDGRUdGmTpcKWHyziQnfgJo0ToZYvFflybzxAg= -github.com/aws/aws-sdk-go-v2/service/sqs v1.33.0 h1:7iapmBjPo27AGV5MnJZK9xN2TDScmy9YqYGBb0+9rQA= -github.com/aws/aws-sdk-go-v2/service/sqs v1.33.0/go.mod h1:Ls5D7SrhpvEuUmmQs+cbsguHYQLyeUGHtu0pBl3AqHA= -github.com/aws/aws-sdk-go-v2/service/ssm v1.51.0 h1:RJuxHYRQquxK8vDzCKGwSNOPrfZlu8bLRSLKZQXPpT4= -github.com/aws/aws-sdk-go-v2/service/ssm v1.51.0/go.mod h1:pBcd0Bm+W3KEHKQHtPg7cK9dsP+2gvDaQTYrqXqk194= -github.com/aws/aws-sdk-go-v2/service/ssmcontacts v1.23.0 h1:wA7oJ7pxznRmpGzrrYIKO8y0n+WIzklHTWBo32iN0OY= -github.com/aws/aws-sdk-go-v2/service/ssmcontacts v1.23.0/go.mod h1:xzt1f/KRs/6k/nlcOw34T9CSdPgCi4veERocWz488EM= -github.com/aws/aws-sdk-go-v2/service/ssmincidents v1.31.0 h1:z9+1A3GPG1fK93uGvonnGNR5IrfGL2uv23FlhqZ5nPc= -github.com/aws/aws-sdk-go-v2/service/ssmincidents v1.31.0/go.mod h1:/ZlBCvFGploAXe+70lJ5B56ZiFsMJ9dtKjVl2nw1YSA= -github.com/aws/aws-sdk-go-v2/service/ssmsap v1.14.0 h1:hPwOshVCyWuinI9fAhJsY8HYl9EvPX8VfoQvUyxk5Dw= -github.com/aws/aws-sdk-go-v2/service/ssmsap v1.14.0/go.mod h1:UwEu2wMK9SX1hpj5a6Vvq/xqFHq9iDdkvOXY8yzlw/s= -github.com/aws/aws-sdk-go-v2/service/sso v1.21.0 h1:P0zUA+5liaoNILI/btBBQHC09PFPyRJr+w+Xt9KHKck= -github.com/aws/aws-sdk-go-v2/service/sso v1.21.0/go.mod h1:0bmRzdsq9/iNyP02H4UV0ZRjFx6qQBqRvfCJ4trFgjE= -github.com/aws/aws-sdk-go-v2/service/ssoadmin v1.26.0 h1:EqRK4n81uTTWxi337dAtJ0hc+y/bb0BZmdvsMIQnO2k= -github.com/aws/aws-sdk-go-v2/service/ssoadmin v1.26.0/go.mod h1:PwPJuZ11g2G1p93H7eho8tDWF9dKeKC5LSdHoQiMKo0= -github.com/aws/aws-sdk-go-v2/service/ssooidc v1.25.0 h1:jPV8U9r3msO9ECm9geW8PGjU/rz8vfPTPmIBbA83W3M= -github.com/aws/aws-sdk-go-v2/service/ssooidc v1.25.0/go.mod h1:B3G77bQDCmhp0RV0P/J9Kd4/qsymdWVhzTe3btAtywE= -github.com/aws/aws-sdk-go-v2/service/sts v1.29.0 h1:dqW4XRwPE/poWSqVntpeXLHzpPK6AOfKmL9QWDYl9aw= -github.com/aws/aws-sdk-go-v2/service/sts v1.29.0/go.mod h1:j8+hrxlmLR8ZQo6ytTAls/JFrt5bVisuS6PD8gw2VBw= -github.com/aws/aws-sdk-go-v2/service/swf v1.24.0 h1:YgPeQKzzVAaWRtwj/ovFoEnihwwjYz8M0Wi9OC33btc= -github.com/aws/aws-sdk-go-v2/service/swf v1.24.0/go.mod h1:2d8TknRULCwm+Z3SRJAc+RKXH69TRaKZX3tra+atvRg= -github.com/aws/aws-sdk-go-v2/service/synthetics v1.25.0 h1:Y/GdHJ3dQughvff9znLmc0ll/z4XKq7AFt49eS9cdL0= -github.com/aws/aws-sdk-go-v2/service/synthetics v1.25.0/go.mod h1:SUij8hDbgZ1D1gSyfM0DlaJ0MNn8lMNyrwXPGzVzoeg= -github.com/aws/aws-sdk-go-v2/service/timestreaminfluxdb v1.1.0 h1:6MJ3GEx2SfeIgJ6Lz9drlWSCAIlFY9FB6q4UaJWjW0k= -github.com/aws/aws-sdk-go-v2/service/timestreaminfluxdb v1.1.0/go.mod h1:MQ2A6JqwaOyHWZ9/X6aLasQzwENEh3lrN3S4QQABGQw= -github.com/aws/aws-sdk-go-v2/service/timestreamwrite v1.26.0 h1:O/DNMp52fWip+R6+r7Gv2mM5nhxP7yguQAaubSn/PvQ= -github.com/aws/aws-sdk-go-v2/service/timestreamwrite v1.26.0/go.mod h1:kNfpzthakWe9UqaJqCXAfAfTtNahf0u8nHvn4I7UQFo= -github.com/aws/aws-sdk-go-v2/service/transcribe v1.38.0 h1:nvNlvVnfja9AxLpPis0inO6TfrrKE8wJn9ie1b43PCE= -github.com/aws/aws-sdk-go-v2/service/transcribe v1.38.0/go.mod h1:/maZhUhTzl0CpiFVRphpvolzHafQbUxb6KiZ4zFmLLA= -github.com/aws/aws-sdk-go-v2/service/transfer v1.49.0 h1:UXdzHgO6jsEpsFOyOpAV6DoBExpiESRqbbNwHG4DKIw= -github.com/aws/aws-sdk-go-v2/service/transfer v1.49.0/go.mod h1:mNpqi2+uajhgdbbTQA8/REXyccSTy8+oDAH9LCy4fWs= -github.com/aws/aws-sdk-go-v2/service/verifiedpermissions v1.16.0 h1:vcy97DbO72iIUHLhoeGUSwQBgwESRz0/RE6ori2qRPE= -github.com/aws/aws-sdk-go-v2/service/verifiedpermissions v1.16.0/go.mod h1:KKWkumFpy/2QsK0oMNLVNhTK8Hj30DNeQ2kedEsW6u8= -github.com/aws/aws-sdk-go-v2/service/vpclattice v1.9.0 h1:AjgOeauxg/8dA7+xM2CuxrJmAzDQgiwTGgfrXtJznuo= -github.com/aws/aws-sdk-go-v2/service/vpclattice v1.9.0/go.mod h1:GVgqis1OIPeYVZo9/tC5P6TbO+eqPj6j5AMBLJocKgA= -github.com/aws/aws-sdk-go-v2/service/waf v1.22.0 h1:VF0/BiT3DB/Evkf0HUdPrjuGz5mYAj5MRNM+XP57Yy4= -github.com/aws/aws-sdk-go-v2/service/waf v1.22.0/go.mod h1:zEuwy5BLf2Ax04YWoX+aOFQldspfNSw6cOzh2c1FE9o= -github.com/aws/aws-sdk-go-v2/service/wafregional v1.22.0 h1:BoaV3DB54jcoeaXpa0cS/0AYbGND0+pUinh78WNEAsk= -github.com/aws/aws-sdk-go-v2/service/wafregional v1.22.0/go.mod h1:tcc5r0O8/SAAZ90CgLsFJuu+YN06mKOQTBv7BvgSywA= -github.com/aws/aws-sdk-go-v2/service/wafv2 v1.50.0 h1:+R3R+PHVgzeN6iQ7y8aBX/4MPYDmDmd0DfFV1xfYdNk= -github.com/aws/aws-sdk-go-v2/service/wafv2 v1.50.0/go.mod h1:W5X+xXQU61asHCukaIpOuGjfOy8v24iRNES44MpIRBI= -github.com/aws/aws-sdk-go-v2/service/wellarchitected v1.31.0 h1:acyDLMysdSfKfQJxBENybpz10ztsLITWza447ip6wII= -github.com/aws/aws-sdk-go-v2/service/wellarchitected v1.31.0/go.mod h1:DIUvkoJg5kC9K4j342eAK6anceSNNUO7iwa2vhYsBsc= -github.com/aws/aws-sdk-go-v2/service/workspaces v1.40.0 h1:rk4tLvt53j6msxrSS2tn2pFXPo4Q2mj7Kt5HAnPKFQU= -github.com/aws/aws-sdk-go-v2/service/workspaces v1.40.0/go.mod h1:ARJ/HUyRaIhxIiym/cCJJ6OqBowtZNh7jmVeTPPqrjo= -github.com/aws/aws-sdk-go-v2/service/workspacesweb v1.19.0 h1:KRE7Xj1nVszmqd6fCLO5FDSl913kA3O8Z9eHJ4F4YBk= -github.com/aws/aws-sdk-go-v2/service/workspacesweb v1.19.0/go.mod h1:5d3kNhMcAt3bG+iJ/XOOMJrXLN9Cls07mGxoqln4dFg= -github.com/aws/aws-sdk-go-v2/service/xray v1.26.0 h1:pP/IrtNrY9zP1aBaXoy+ebt7qJ9fDIS/TP+3IT54+/o= -github.com/aws/aws-sdk-go-v2/service/xray v1.26.0/go.mod h1:2Hhdl4R0u2M3H3KnTXK8VPQSt0QSyFwW1eu7WW6bOqw= +github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.3.14 h1:oWccitSnByVU74rQRHac4gLfDqjB6Z1YQGOY/dXKedI= +github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.3.14/go.mod h1:8SaZBlQdCLrc/2U3CEO48rYj9uR8qRsPRkmzwNM52pM= +github.com/aws/aws-sdk-go-v2/service/internal/endpoint-discovery v1.9.13 h1:TiBHJdrItjSsvfMRMNEPvu4gFqor6aghaQ5mS18i77c= +github.com/aws/aws-sdk-go-v2/service/internal/endpoint-discovery v1.9.13/go.mod h1:XN5B38yJn1XZvhyCeTzU5Ypha6+7UzVGj2w+aN0zn3k= +github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.11.14 h1:zSDPny/pVnkqABXYRicYuPf9z2bTqfH13HT3v6UheIk= +github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.11.14/go.mod h1:3TTcI5JSzda1nw/pkVC9dhgLre0SNBFj2lYS4GctXKI= +github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.17.12 h1:tzha+v1SCEBpXWEuw6B/+jm4h5z8hZbTpXz0zRZqTnw= +github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.17.12/go.mod h1:n+nt2qjHGoseWeLHt1vEr6ZRCCxIN2KcNpJxBcYQSwI= +github.com/aws/aws-sdk-go-v2/service/internetmonitor v1.15.1 h1:xQv1YON3lQ/1YKM9LXQ1KYddz3xec93OSk0cPmY7BGE= +github.com/aws/aws-sdk-go-v2/service/internetmonitor v1.15.1/go.mod h1:hZAlj3tvGG9afdu1J1fEuiAsGHL/nzYhzjlOFojJ2AM= +github.com/aws/aws-sdk-go-v2/service/ivschat v1.13.1 h1:tUAfCwMmFEXX1i74o+BTvd2Xr0iU1eqnnJ/8jIr1lZs= +github.com/aws/aws-sdk-go-v2/service/ivschat v1.13.1/go.mod h1:AJOtOziOUyo94xRigSdj1pjB8lrtegZTMiw4NkA2rqU= +github.com/aws/aws-sdk-go-v2/service/kafka v1.34.1 h1:AgBv2EgMXguYPz1fpSyj51JuC6vXGNP0Wz3NNeHQLog= +github.com/aws/aws-sdk-go-v2/service/kafka v1.34.1/go.mod h1:/iV7HuLjhE4JD+xswkqjipO9tv7EPUbO+1QlaxB6BTA= +github.com/aws/aws-sdk-go-v2/service/kendra v1.51.1 h1:RfQPkqz555MsIkD0i0XIUQlj12QQ9ij+GI/NW9Pu3sw= +github.com/aws/aws-sdk-go-v2/service/kendra v1.51.1/go.mod h1:nwwYQj97ME0q/3Ak01ABehQiLqupYNI24pfxT9cIMuA= +github.com/aws/aws-sdk-go-v2/service/keyspaces v1.11.1 h1:eMMWq0lgwP++zZVZ/K+W2Zx3fnbjUYFsDgFyXGus4ts= +github.com/aws/aws-sdk-go-v2/service/keyspaces v1.11.1/go.mod h1:zddI8paRYz+rwAu/0jBwGANi8rV3dk7Pcyj/trdu/N8= +github.com/aws/aws-sdk-go-v2/service/kinesis v1.28.1 h1:kKV5YQgCYvyOHf2Fw7UZsXOiR4J82rS4uNhvNtk5YDA= +github.com/aws/aws-sdk-go-v2/service/kinesis v1.28.1/go.mod h1:mCOLFKtbzhBey1ZcvC5Vd8bp7Lo40VCLJzDJjP6iGOY= +github.com/aws/aws-sdk-go-v2/service/kms v1.34.1 h1:VsKBn6WADI3Nn3WjBMzeRww9WHXeVLi7zyuSrqjRCBQ= +github.com/aws/aws-sdk-go-v2/service/kms v1.34.1/go.mod h1:5F6kXrPBxv0l1t8EO44GuG4W82jGJwaRE0B+suEGnNY= +github.com/aws/aws-sdk-go-v2/service/lakeformation v1.34.1 h1:nQrZAsHVBVQRB7aJ6/f7a7u/DVaWu15HiWWJTEFJSpU= +github.com/aws/aws-sdk-go-v2/service/lakeformation v1.34.1/go.mod h1:vZzOCXUmJE5S2FgqCy7GOReT6b6riPfdS+wps2gwQlk= +github.com/aws/aws-sdk-go-v2/service/lambda v1.55.1 h1:Drh1jXr7mTcSXyjEgCIMijskUz/5FXgdjJcqXGQnjhs= +github.com/aws/aws-sdk-go-v2/service/lambda v1.55.1/go.mod h1:5drdANY67aOvUNJLjBEg2HXeCXkk0MDurqsJs73TXVQ= +github.com/aws/aws-sdk-go-v2/service/launchwizard v1.5.1 h1:SkoH8/0+c53BBHAsjoZXJoZy0EdmnOb4cUhMxn8BQR4= +github.com/aws/aws-sdk-go-v2/service/launchwizard v1.5.1/go.mod h1:2P/sUIiKxD3ohzL1CgjLDZnOksgIDUDffU7z54Ul1tA= +github.com/aws/aws-sdk-go-v2/service/lexmodelsv2 v1.44.1 h1:pQuAnpqqsmBAALIN7W4sn06zV6Qv9PMbfeJ3imaGX4Y= +github.com/aws/aws-sdk-go-v2/service/lexmodelsv2 v1.44.1/go.mod h1:DACyUyjpYCDpjEE/3px9kWeIr8vC0SNyORyaSru35DQ= +github.com/aws/aws-sdk-go-v2/service/lightsail v1.39.1 h1:OIdINTNLFOqm7t91ew7+CgcIkvDCCTuK4rBuREBAC2Q= +github.com/aws/aws-sdk-go-v2/service/lightsail v1.39.1/go.mod h1:nP29+6YQpLvD/o/8SXaaSVFdRdPCpLLZv6MVAFiPqIQ= +github.com/aws/aws-sdk-go-v2/service/lookoutmetrics v1.28.1 h1:ImufVLN7bEElrVC05pkpZqw6eYiHX6KFFO9iWqUEzhc= +github.com/aws/aws-sdk-go-v2/service/lookoutmetrics v1.28.1/go.mod h1:Kbb0YMyrxzk1zlYncMv4/afaB0KvQWDiRFT9vuVpUGQ= +github.com/aws/aws-sdk-go-v2/service/m2 v1.14.1 h1:oOStgQy7APtRye8/QWEKaY+rL1xASmFYJtPjjYtIHMs= +github.com/aws/aws-sdk-go-v2/service/m2 v1.14.1/go.mod h1:YxWYSbAEqBGH03gk0jcobKzW6Kq0yd2N08PdoxEsgTg= +github.com/aws/aws-sdk-go-v2/service/mediaconnect v1.29.1 h1:6tFXjY3Lz997P+k0zHVoSRxJdkzTOc8Ns2RRtGeFKg4= +github.com/aws/aws-sdk-go-v2/service/mediaconnect v1.29.1/go.mod h1:s7Som/VmhvLO1c2ODsd6VelNFoDvzy0ZpWAcVmnLTnE= +github.com/aws/aws-sdk-go-v2/service/mediaconvert v1.56.1 h1:Ipwvv5Mot7I/ofXBNsM05LUZfEHKWrdqFH6EaVrom2U= +github.com/aws/aws-sdk-go-v2/service/mediaconvert v1.56.1/go.mod h1:cf2y51+iaui3t0evj14KJibqFP4kMqFuNRIa9huKEsw= +github.com/aws/aws-sdk-go-v2/service/medialive v1.53.1 h1:z/OtXeoNPytEQXEklZ/79rM5dLRtFaqwri/9vCItY2Y= +github.com/aws/aws-sdk-go-v2/service/medialive v1.53.1/go.mod h1:NVacuK6xVc9bKwz4CsVcD20aY7F9Y9BZ4WG0TFZimhg= +github.com/aws/aws-sdk-go-v2/service/mediapackage v1.31.1 h1:qpO+Oc7bKrc7+fvU5O7sFnB4s0CND/6Fv8M7yvMal08= +github.com/aws/aws-sdk-go-v2/service/mediapackage v1.31.1/go.mod h1:kfUZB7t0Yqho3G49zepbeCFSQgTnUTHuyMGCOu8RQOc= +github.com/aws/aws-sdk-go-v2/service/mediapackagev2 v1.13.1 h1:avU2E/Yu+4SrcV9Nb7M4ifdjGiXRR7nJx4FvfO3YL4M= +github.com/aws/aws-sdk-go-v2/service/mediapackagev2 v1.13.1/go.mod h1:v83XUctBgyBJnYoHykOj3YsRNnzK8LlHGyS5HJoBIzU= +github.com/aws/aws-sdk-go-v2/service/mediastore v1.21.1 h1:SU4k8WNXxRUQgmAmtiwHJTsJiPLZ1ItN93vef2+D5KM= +github.com/aws/aws-sdk-go-v2/service/mediastore v1.21.1/go.mod h1:z1b7kZLDuNTSrUbA/mDLaRJ2ivlTjqr0H4aoBx6x7PU= +github.com/aws/aws-sdk-go-v2/service/mq v1.23.1 h1:TcIIYgAH1voIS33mcUFIdts9qJ4+mzGbnHExAzmjNPM= +github.com/aws/aws-sdk-go-v2/service/mq v1.23.1/go.mod h1:qo6k2hLt3/Oi0fTndXhdMCg005TzoqT313YrYMorrNI= +github.com/aws/aws-sdk-go-v2/service/mwaa v1.28.1 h1:fzBc0gfOfrlcyP/COVDt8iGVUnQ4FX/qaasEAUeDLy0= +github.com/aws/aws-sdk-go-v2/service/mwaa v1.28.1/go.mod h1:a46hMp6jog7U6rhMxmp0wwcGvPTJINQkc6EevZb7SNs= +github.com/aws/aws-sdk-go-v2/service/neptunegraph v1.9.1 h1:UjByGYRBlhjY4l8Lun62K3Z62Wks84q3UasnDDJoz5I= +github.com/aws/aws-sdk-go-v2/service/neptunegraph v1.9.1/go.mod h1:5q3YTQennpO1/KB7rU71vW/9PjLC4PuosEi2xDEw5OY= +github.com/aws/aws-sdk-go-v2/service/oam v1.12.1 h1:LZrULRkfrmZVE8OHqwI8tKFEFxpjZl6ll7Bn2MCCVwg= +github.com/aws/aws-sdk-go-v2/service/oam v1.12.1/go.mod h1:yiUaEYA1zVxtz/EGgf8NE7rT56sLKGqQwQrWg/GhGu8= +github.com/aws/aws-sdk-go-v2/service/opensearchserverless v1.12.1 h1:BRAM7tTwHJojSOhiyUkPh2Z/hOco7OkayTf6MYFOF5w= +github.com/aws/aws-sdk-go-v2/service/opensearchserverless v1.12.1/go.mod h1:JhHI5YxjlRL5IqQPcijTGs8e7B0mVLLk1fpssVqjZaY= +github.com/aws/aws-sdk-go-v2/service/organizations v1.28.1 h1:dfjBY/IdKIGBvE46uNHYFW9csLGt683je80+fAFiLmw= +github.com/aws/aws-sdk-go-v2/service/organizations v1.28.1/go.mod h1:asny2SDsK1rwPKbuQ+s8f5y1hWpYenP4CqsxOymkudc= +github.com/aws/aws-sdk-go-v2/service/osis v1.11.1 h1:PvMmCkbmm6+IaStuc45PjM/IykBDYUHnJQBMCLJwWsk= +github.com/aws/aws-sdk-go-v2/service/osis v1.11.1/go.mod h1:RBQgmsqEtnAxY9OVxzJkFVRQ0u1l6+SLtAw4HpjpKwE= +github.com/aws/aws-sdk-go-v2/service/paymentcryptography v1.11.1 h1:F/5ouMfQxLkRO53C8HVHFuOzMmugJEXJpgFuft9noyA= +github.com/aws/aws-sdk-go-v2/service/paymentcryptography v1.11.1/go.mod h1:VHsagvynhabHbLl4DtdjtWQ8GgmZl6qw/Sc4ix78QWs= +github.com/aws/aws-sdk-go-v2/service/pcaconnectorad v1.6.1 h1:QdWiKfoRzXamzsL/ejbnWI/bPrtHDmoxAnqLD5h2Qwg= +github.com/aws/aws-sdk-go-v2/service/pcaconnectorad v1.6.1/go.mod h1:heR4dYebTI0Gcj2jn6OK8m/She92XlTGexlkG+CSkcI= +github.com/aws/aws-sdk-go-v2/service/pipes v1.13.1 h1:nDGPNXJPc/Zyjdenbkmfe8+qJaXy16R0CCZNpAJzsYk= +github.com/aws/aws-sdk-go-v2/service/pipes v1.13.1/go.mod h1:98vnplOvsabKozsg0U14ges5xzrrVAkK+0fkc29WxFY= +github.com/aws/aws-sdk-go-v2/service/polly v1.41.1 h1:+hSr0DpeXsDLIUzQy9Mtc0MHr+RWj5fwLTBVr/OkUeo= +github.com/aws/aws-sdk-go-v2/service/polly v1.41.1/go.mod h1:SoN8AjKOVVC/pBAa6CsFaqqEKAF3ZIuG6iTW3XkQm/Y= +github.com/aws/aws-sdk-go-v2/service/pricing v1.29.1 h1:IwnxNjvhqtPQNNW93xBVTzRKJ3BI9GSEDu1w+YMXfUI= +github.com/aws/aws-sdk-go-v2/service/pricing v1.29.1/go.mod h1:yZMXOzGy2QtzacpvpWaptEuYXWoFcINn04FUjnNn39w= +github.com/aws/aws-sdk-go-v2/service/qbusiness v1.7.1 h1:xHupkKEZm928HDycbYl7WBMNYuDzPOJ+sR8UL/B32rM= +github.com/aws/aws-sdk-go-v2/service/qbusiness v1.7.1/go.mod h1:EU7zeEUzGV+vjgr9IjhW5QhjlgY5s7wjBsvpD1XCZbE= +github.com/aws/aws-sdk-go-v2/service/qldb v1.22.1 h1:gpLL+eTaS4W3jVH88x811rgYLbUeGdtKenQgvZA6nBk= +github.com/aws/aws-sdk-go-v2/service/qldb v1.22.1/go.mod h1:zd8pWnlLZxx2dk3k1ekl9WJOdTZW0v10+lZnPUFztLs= +github.com/aws/aws-sdk-go-v2/service/ram v1.26.1 h1:1UcUsMsHB7ZnpcUYNwBTX90hFjIZrhf8Xu00R9Vo+Kg= +github.com/aws/aws-sdk-go-v2/service/ram v1.26.1/go.mod h1:e/3wE+afnOAeolpqyg8fKAQK/kKya+ycDW62/X4vjK8= +github.com/aws/aws-sdk-go-v2/service/rbin v1.17.1 h1:lQRI9dPRfnj8s57U52zoxia7k61brR+0AoTylUnlHMA= +github.com/aws/aws-sdk-go-v2/service/rbin v1.17.1/go.mod h1:K4NSpziaXU08Y9AWCbnq6hP+wFRSlqYCTI15CBWM/bA= +github.com/aws/aws-sdk-go-v2/service/rds v1.80.1 h1:o0DyV3AWeuAwrBVeoW/kCZJi4oGCBHPS3E5Ppmc3fLE= +github.com/aws/aws-sdk-go-v2/service/rds v1.80.1/go.mod h1:lmaCww9B42S2WBaJNa5v+HeRpoGO+9gO+SwYJtNV8mw= +github.com/aws/aws-sdk-go-v2/service/redshift v1.45.1 h1:AdnF43k4XVzTTtVXtqyy2v20RiptDLmUX7ZuokdF5I0= +github.com/aws/aws-sdk-go-v2/service/redshift v1.45.1/go.mod h1:3S2IEN/LSwonlc30Hoyu06jBj/YOz6m+uHffkCJ2D3o= +github.com/aws/aws-sdk-go-v2/service/redshiftdata v1.26.1 h1:QOxr2Mgm2O4Syt7ROT2UCNDVPvcEjoBW/5DnlWw3GAc= +github.com/aws/aws-sdk-go-v2/service/redshiftdata v1.26.1/go.mod h1:z1qDE+l45V0J/hAmZ8d9cO5MY207kz5YH6o3kVB2quk= +github.com/aws/aws-sdk-go-v2/service/redshiftserverless v1.19.1 h1:VRAjP3iJ684rhGmZ1LRy+8SARfnfrOB6NeT9XaccflA= +github.com/aws/aws-sdk-go-v2/service/redshiftserverless v1.19.1/go.mod h1:+b6LJEQpqKMBA7Jw1fgpWngaZWiJtYGHtW4mm3awuos= +github.com/aws/aws-sdk-go-v2/service/rekognition v1.41.1 h1:BsFFOLs6CTuzC8dxiAtrdtw8sjCoJydGiLXKPVjK1bg= +github.com/aws/aws-sdk-go-v2/service/rekognition v1.41.1/go.mod h1:Tjh59zYOtIXSVQpJMxIWqkj/SONo8Crc0s6Z6CjBG1w= +github.com/aws/aws-sdk-go-v2/service/resourceexplorer2 v1.11.1 h1:o2MkvVZAahZX3ttqVmJJeCRAmIHQ98iJsLlmHXFjuCM= +github.com/aws/aws-sdk-go-v2/service/resourceexplorer2 v1.11.1/go.mod h1:Hq2k/Ovak4zs70o1r39jzn+jOfwsBaWYq79KY5ntvH4= +github.com/aws/aws-sdk-go-v2/service/resourcegroups v1.23.1 h1:aR4MioMW7hiNGTcoz8rngzPF7U4oBssCr/N7oaNyr30= +github.com/aws/aws-sdk-go-v2/service/resourcegroups v1.23.1/go.mod h1:gCiBxW2zE+VgC/gSU5a0gteSBjqo3uS906dLJoQgItw= +github.com/aws/aws-sdk-go-v2/service/resourcegroupstaggingapi v1.22.1 h1:73im9DnuBD4+G8hHsbqb0NSA+n6QJ5ApFk6/YeOz8k8= +github.com/aws/aws-sdk-go-v2/service/resourcegroupstaggingapi v1.22.1/go.mod h1:p5FuKT8Rj4fnlT84Pzy7itV11NZ39Fwm/Y52S8Lg1Oc= +github.com/aws/aws-sdk-go-v2/service/rolesanywhere v1.12.1 h1:jdwVopS0EMYP6xs/BxSW6iOkchLUHI4Le93HEMX5v8A= +github.com/aws/aws-sdk-go-v2/service/rolesanywhere v1.12.1/go.mod h1:cPPSRXGdLg1+Fguh3QNNOyXfic3QtIQllMs+GAIX5ic= +github.com/aws/aws-sdk-go-v2/service/route53 v1.41.1 h1:8evgBTGIqkBj8zWFZrjBExvC1/3Bgod5EHsmwmnHEy4= +github.com/aws/aws-sdk-go-v2/service/route53 v1.41.1/go.mod h1:aIGJVylrqjjBnf2NU2O1oHOOoBDFvHw6hy/GhelYksQ= +github.com/aws/aws-sdk-go-v2/service/route53domains v1.24.1 h1:G1w6P2mCgHTsLLjiUAADion/UFrbeSMEAiIpuQZnXQs= +github.com/aws/aws-sdk-go-v2/service/route53domains v1.24.1/go.mod h1:c9sryrQoAKXDmxmV4D+5Tfcczro2hDyt93xqoht4KeM= +github.com/aws/aws-sdk-go-v2/service/route53profiles v1.1.1 h1:TK06zMXS9HYhqlBogMcUKorOl/13WaYtu0iD+6PQeJI= +github.com/aws/aws-sdk-go-v2/service/route53profiles v1.1.1/go.mod h1:cIiUrh4zaUDalfCK/INCBLTrM+RrISQioyShnlQPy58= +github.com/aws/aws-sdk-go-v2/service/rum v1.18.1 h1:YvOEWP/vJSdtWOzJ6JVkdUNBMb0pGuCaKtFMQ1pT0uQ= +github.com/aws/aws-sdk-go-v2/service/rum v1.18.1/go.mod h1:SRAqBhlI73DxLJk++4NzMaTk08X8Ko1cTmLxo6Jencs= +github.com/aws/aws-sdk-go-v2/service/s3 v1.56.1 h1:wsg9Z/vNnCmxWikfGIoOlnExtEU459cR+2d+iDJ8elo= +github.com/aws/aws-sdk-go-v2/service/s3 v1.56.1/go.mod h1:8rDw3mVwmvIWWX/+LWY3PPIMZuwnQdJMCt0iVFVT3qw= +github.com/aws/aws-sdk-go-v2/service/s3control v1.45.1 h1:ZLpS2OLxDU5kJmsORex4Iyd/1v386lW6U6tI3dg38yU= +github.com/aws/aws-sdk-go-v2/service/s3control v1.45.1/go.mod h1:D3MZ3krIqgoG3twJxe/NfHatuUiQ+Qp76TEqrX7K4pY= +github.com/aws/aws-sdk-go-v2/service/scheduler v1.9.1 h1:A46/5P4BsP3XUqm+ehaa3GzdqSUm63hElZkZjv60pto= +github.com/aws/aws-sdk-go-v2/service/scheduler v1.9.1/go.mod h1:YR4bk2KhPbe9Ryes7kRZ/U3kRX6DdfS6xFfUc7RGj5Q= +github.com/aws/aws-sdk-go-v2/service/schemas v1.25.1 h1:2qFVrrqZxRQVxuZ/2nnpLvm9mRAELSQWczpbt7oR62c= +github.com/aws/aws-sdk-go-v2/service/schemas v1.25.1/go.mod h1:kyEvFeyc6CvoylCMY2yXBWnsqKs3TLc3QY2Bt70Wk2A= +github.com/aws/aws-sdk-go-v2/service/secretsmanager v1.31.1 h1:fMhrWVym3nTAcf3eT9XsYcfN1kgQ/7ZuVLGHjPAn6Ms= +github.com/aws/aws-sdk-go-v2/service/secretsmanager v1.31.1/go.mod h1:tBCf2+VgRT/Lk9KIlKpTxyCunzxHcP8BFPqcck5I9mM= +github.com/aws/aws-sdk-go-v2/service/securityhub v1.50.1 h1:kT/0nz4Fgb7/xZpIUubXmFrNQHQ4KPaBA2ebGGCE2F4= +github.com/aws/aws-sdk-go-v2/service/securityhub v1.50.1/go.mod h1:0eCNhMYahG4Yj7uBDm9BTq8KoLmBmhxt4d36PfZ/uPU= +github.com/aws/aws-sdk-go-v2/service/securitylake v1.15.1 h1:vTyA6riZZ7n7qI0vlNHaXgqv8D5oiRCuHwEj1gd1soM= +github.com/aws/aws-sdk-go-v2/service/securitylake v1.15.1/go.mod h1:GPJabMy3AdBJjL6YRzu3LNbw+11OuvzZwjmMpmZhkjg= +github.com/aws/aws-sdk-go-v2/service/servicecatalogappregistry v1.27.1 h1:WJR9PhUdNULh+L+C/ByCFFB8ldkTfj4c9HKiWV+esgk= +github.com/aws/aws-sdk-go-v2/service/servicecatalogappregistry v1.27.1/go.mod h1:VHl0eZ8oYU2D0/BeBYTO5bJ6V1riuxCBQGEAjF+6Jx0= +github.com/aws/aws-sdk-go-v2/service/servicediscovery v1.30.1 h1:N19/J0IqsoNlkbXLe+JYWLjOyGmRijt6dw0+MaL/9wE= +github.com/aws/aws-sdk-go-v2/service/servicediscovery v1.30.1/go.mod h1:uuMsqZ2ATDqrzaAldWWuEUd9KGqi1NmnjroG6Eoe7W4= +github.com/aws/aws-sdk-go-v2/service/servicequotas v1.22.1 h1:QsHvqtdy0mGzpg/A+1lZX1ilf05Vuh2rSBzNJ3f3T1I= +github.com/aws/aws-sdk-go-v2/service/servicequotas v1.22.1/go.mod h1:PyGv4oTed21K85Eu27j4u/8QyMlMHI0MivoNzziG6fg= +github.com/aws/aws-sdk-go-v2/service/sesv2 v1.31.1 h1:Bz5SPXOgdFOs0y+zt0KoqyAweD6UrOSQ0trsLCulttQ= +github.com/aws/aws-sdk-go-v2/service/sesv2 v1.31.1/go.mod h1:uwzHo1t7tjKs3mo+X9wAMis1rCp23oGR4zXfKROKv28= +github.com/aws/aws-sdk-go-v2/service/shield v1.26.1 h1:vlqoPRFrhs/djRKnrPNJvzzVLIsMWITGgP4gHIzprSU= +github.com/aws/aws-sdk-go-v2/service/shield v1.26.1/go.mod h1:1aUTOI7FTFp3ng7NH3C0UqDkbofoLb7NLcd/ufvlHdY= +github.com/aws/aws-sdk-go-v2/service/signer v1.23.1 h1:H91003y5gB7UfahQ58w6GeMZfiNPTxTarpNj8fAJvfc= +github.com/aws/aws-sdk-go-v2/service/signer v1.23.1/go.mod h1:KaQ1Ix0kfyv+PTMN9u3/+VRUeAMi59yzMpTkbQPXNr0= +github.com/aws/aws-sdk-go-v2/service/sns v1.30.1 h1:49R5Uh0Vi4Y21UHfLzmLmg7hwqQLyBmWqS0Vh+EpV2A= +github.com/aws/aws-sdk-go-v2/service/sns v1.30.1/go.mod h1:khPCTZaFImcuDtOLDqiveVdpQL53OXkK+/yoyao+kzk= +github.com/aws/aws-sdk-go-v2/service/sqs v1.33.1 h1:m/7a5OgAZQDWJlSbZLWg4BAlbXbY6j+dDDjPY8rZ7kA= +github.com/aws/aws-sdk-go-v2/service/sqs v1.33.1/go.mod h1:4kCM5tMCkys9PFbuGHP+LjpxlsA5oMRUs3QvnWo11BM= +github.com/aws/aws-sdk-go-v2/service/ssm v1.51.1 h1:MuFdaoXYgw4CPsiSa2G/T5CGOuSk90lb/eSTa+lRp9I= +github.com/aws/aws-sdk-go-v2/service/ssm v1.51.1/go.mod h1:pC8vyMIahlJIUKdXBto0R+JzoTK7+iEplKqq7DbWodY= +github.com/aws/aws-sdk-go-v2/service/ssmcontacts v1.23.1 h1:a8tzj/cicbel7pGZYjF3JOJRtyLeWYPCzqL2Plr7LM4= +github.com/aws/aws-sdk-go-v2/service/ssmcontacts v1.23.1/go.mod h1:LBJz2C528vpvnKXpS1lW139rq7ZYnRPkTgm1RcewafU= +github.com/aws/aws-sdk-go-v2/service/ssmincidents v1.31.1 h1:I1k+UQhRcltDoFauDzAnYsKiXKlE6ZNYzsn7PbMpN/o= +github.com/aws/aws-sdk-go-v2/service/ssmincidents v1.31.1/go.mod h1:Qi+hKH0d2ekPABDWOkiVWkHnpZiWqhbiVhh/MasyRPo= +github.com/aws/aws-sdk-go-v2/service/ssmsap v1.14.1 h1:Fo7XgyYfeEqzCeAxUvefMJneqoL689TSclyB6SzcAWE= +github.com/aws/aws-sdk-go-v2/service/ssmsap v1.14.1/go.mod h1:Pvu3mUuN20em83awAVvDXGvlTlZ40nw283BOrWG6EYI= +github.com/aws/aws-sdk-go-v2/service/sso v1.21.1 h1:sd0BsnAvLH8gsp2e3cbaIr+9D7T1xugueQ7V/zUAsS4= +github.com/aws/aws-sdk-go-v2/service/sso v1.21.1/go.mod h1:lcQG/MmxydijbeTOp04hIuJwXGWPZGI3bwdFDGRTv14= +github.com/aws/aws-sdk-go-v2/service/ssoadmin v1.26.1 h1:IB7M3gfihqPbP4oXGenFluKta7S2OWMU5otcvclmA0w= +github.com/aws/aws-sdk-go-v2/service/ssoadmin v1.26.1/go.mod h1:N/A1nm/r9ruAvskqhfpLEymbJtLJQV1s4HR9Mn8JUnY= +github.com/aws/aws-sdk-go-v2/service/ssooidc v1.25.1 h1:1uEFNNskK/I1KoZ9Q8wJxMz5V9jyBlsiaNrM7vA3YUQ= +github.com/aws/aws-sdk-go-v2/service/ssooidc v1.25.1/go.mod h1:z0P8K+cBIsFXUr5rzo/psUeJ20XjPN0+Nn8067Nd+E4= +github.com/aws/aws-sdk-go-v2/service/sts v1.29.1 h1:myX5CxqXE0QMZNja6FA1/FSE3Vu1rVmeUmpJMMzeZg0= +github.com/aws/aws-sdk-go-v2/service/sts v1.29.1/go.mod h1:N2mQiucsO0VwK9CYuS4/c2n6Smeh1v47Rz3dWCPFLdE= +github.com/aws/aws-sdk-go-v2/service/swf v1.24.1 h1:5SKFgvzgDg00ML7tvbxgahJf/2hei+Y+CBFLhcKGdTE= +github.com/aws/aws-sdk-go-v2/service/swf v1.24.1/go.mod h1:pFCXXy2Q3UFWoAzZaZ1Hha+sV7+vSV7PMc1bfhn/frM= +github.com/aws/aws-sdk-go-v2/service/synthetics v1.25.1 h1:It6Hgms3aJvkldek7bAgatZX59x2ORMF1WRnoCvOBE4= +github.com/aws/aws-sdk-go-v2/service/synthetics v1.25.1/go.mod h1:YX/Ra26SfE8jG/qhzVUH67snS1e/ipvk+g0deQiKznU= +github.com/aws/aws-sdk-go-v2/service/timestreaminfluxdb v1.1.1 h1:DKIdl+mjQdvpT+UxQqdJzagpVi/byLd86+LqVa5lrfs= +github.com/aws/aws-sdk-go-v2/service/timestreaminfluxdb v1.1.1/go.mod h1:QBXvMbzNfHCVQ1pPiJ3VfIvYQ2Lakda/CDjs2eyFVus= +github.com/aws/aws-sdk-go-v2/service/timestreamwrite v1.26.1 h1:zmrL3QlVMeFFoSY7eeTxvyVkvXwbzH+4CkNk+IcCQ6c= +github.com/aws/aws-sdk-go-v2/service/timestreamwrite v1.26.1/go.mod h1:3c9FWFZFRg26pEXRBa9hJ7z7kFmfJZLOM3IvfO0QcDs= +github.com/aws/aws-sdk-go-v2/service/transcribe v1.38.1 h1:KzLj8Ndp0FW7CWo/r53IMhZ9EBo7xKvqYONf8B81hzQ= +github.com/aws/aws-sdk-go-v2/service/transcribe v1.38.1/go.mod h1:lTU0fIPy0DJqbtogTN+QlxFPJZGHrBW+GJuhVbLAsd0= +github.com/aws/aws-sdk-go-v2/service/transfer v1.49.1 h1:qtw+AYR7f9UggfBqz7gUntNOk+UWh3zdYdcSWDwKXL8= +github.com/aws/aws-sdk-go-v2/service/transfer v1.49.1/go.mod h1:GlVT65BhLN/ia7JsqqUHcLGamdRDLRJgG+OidHKnqbI= +github.com/aws/aws-sdk-go-v2/service/verifiedpermissions v1.16.1 h1:d+8Gw9BYBXV3NirQNHLOSS3jC5SAI2s83rmaPKExqiA= +github.com/aws/aws-sdk-go-v2/service/verifiedpermissions v1.16.1/go.mod h1:18uGZxP22gTNTF7s3Hytn5a38uGwKbKV/twAlF5RGrU= +github.com/aws/aws-sdk-go-v2/service/vpclattice v1.9.1 h1:wgOGWcWNKmEpKBwDWGZAz9svWXelZb3AXhPho+k3gHs= +github.com/aws/aws-sdk-go-v2/service/vpclattice v1.9.1/go.mod h1:rx5U6Ai/YvQkHmufCxvqqA1edhy4/B7TDtgj6IcRlPM= +github.com/aws/aws-sdk-go-v2/service/waf v1.22.1 h1:tThCZniinFeLPAoazNu7mim/ipCKZKIjT2UZrxUQcQU= +github.com/aws/aws-sdk-go-v2/service/waf v1.22.1/go.mod h1:4o8nB9c6IGaAzCdx9maPjeKpwAVzEy3f/6yQtbEoBTs= +github.com/aws/aws-sdk-go-v2/service/wafregional v1.22.1 h1:au7mSQqu+gxxQuG1P0YCgM0w0OP4Sk7rReHVWtua+dY= +github.com/aws/aws-sdk-go-v2/service/wafregional v1.22.1/go.mod h1:wI+EyfF4sTj905uEIaSiflGusqxkizZ8BEsfjgglmCE= +github.com/aws/aws-sdk-go-v2/service/wafv2 v1.50.1 h1:cp9UYbI4IOMNczk/1PeGkUWfZH5xbdPGBgVVJs4MvgE= +github.com/aws/aws-sdk-go-v2/service/wafv2 v1.50.1/go.mod h1:LKpRTYGj4TQXkDRIdcH6U/BdiVSh+IPmXExACuDK+nQ= +github.com/aws/aws-sdk-go-v2/service/wellarchitected v1.31.1 h1:CzuwkrjJx71qGieDJofWaXlGXo7rBqbaC+sbaiuGo/M= +github.com/aws/aws-sdk-go-v2/service/wellarchitected v1.31.1/go.mod h1:/nDTaO0dBchAbqwQrPFl81YyuxR8KLcJP67XzIIOrbg= +github.com/aws/aws-sdk-go-v2/service/workspaces v1.40.1 h1:B3Y0d+jwez16NFDUGmEhXhx96EuwH07ERfHyMCjwDEQ= +github.com/aws/aws-sdk-go-v2/service/workspaces v1.40.1/go.mod h1:u1LDClOljTCdY66v1x8jRqAzqr7f2tYSPbaOv+40PKM= +github.com/aws/aws-sdk-go-v2/service/workspacesweb v1.19.1 h1:1XvY5lu415RgtZjBRI/X3RtIg4rlmJCGVBa1g6UWNTs= +github.com/aws/aws-sdk-go-v2/service/workspacesweb v1.19.1/go.mod h1:9OLCaeqeG3cHCH1RoADMg3n0dQjxzbxwfxmKM+ALcl4= +github.com/aws/aws-sdk-go-v2/service/xray v1.26.1 h1:HYDnKTBHT0bDROhdSvrBOWO/hR3dk4zvQBxs1Hy8HsY= +github.com/aws/aws-sdk-go-v2/service/xray v1.26.1/go.mod h1:hzagwUFkLbUYjoG391sGdiWWfZacwrwp5GZQQLz1sxg= github.com/aws/smithy-go v1.20.2 h1:tbp628ireGtzcHDDmLT/6ADHidqnwgF57XOXZe6tp4Q= github.com/aws/smithy-go v1.20.2/go.mod h1:krry+ya/rV9RDcV/Q16kpu6ypI4K2czasz0NC3qS14E= github.com/beevik/etree v1.4.0 h1:oz1UedHRepuY3p4N5OjE0nK1WLCqtzHf25bxplKOHLs=