Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClientPool ¶
func NewClientPool(ctx context.Context, profiles []string, regions []string) (map[ClientKey]Client, error)
NewClientPool creates an AWS client for each permutation of the given profiles and regions. If profiles, regions, or both are empty, credentials and regions are picked up via the usual default provider chain, respectively. For example, if regions are empty, the region is first looked for via the according region environment variable or second the default region for each profile is used from `~/.aws/config`.
Types ¶
type Client ¶
type Client struct { AccountID string Region string Profile string Accessanalyzerconn *accessanalyzer.Client Acmconn *acm.Client Acmpcaconn *acmpca.Client Apigatewayconn *apigateway.Client Apigatewayv2conn *apigatewayv2.Client Applicationautoscalingconn *applicationautoscaling.Client Appmeshconn *appmesh.Client Apprunnerconn *apprunner.Client Appsyncconn *appsync.Client Athenaconn *athena.Client Autoscalingconn *autoscaling.Client Autoscalingplansconn *autoscalingplans.Client Backupconn *backup.Client Batchconn *batch.Client Budgetsconn *budgets.Client Cloud9conn *cloud9.Client Cloudformationconn *cloudformation.Client Cloudfrontconn *cloudfront.Client Cloudhsmv2conn *cloudhsmv2.Client Cloudtrailconn *cloudtrail.Client Cloudwatchconn *cloudwatch.Client Cloudwatcheventsconn *cloudwatchevents.Client Cloudwatchlogsconn *cloudwatchlogs.Client Codeartifactconn *codeartifact.Client Codebuildconn *codebuild.Client Codecommitconn *codecommit.Client Codedeployconn *codedeploy.Client Codepipelineconn *codepipeline.Client Codestarconnectionsconn *codestarconnections.Client Codestarnotificationsconn *codestarnotifications.Client Cognitoidentityconn *cognitoidentity.Client Cognitoidentityproviderconn *cognitoidentityprovider.Client Configserviceconn *configservice.Client Costandusagereportserviceconn *costandusagereportservice.Client Databasemigrationserviceconn *databasemigrationservice.Client Datapipelineconn *datapipeline.Client Datasyncconn *datasync.Client Daxconn *dax.Client Devicefarmconn *devicefarm.Client Directconnectconn *directconnect.Client Directoryserviceconn *directoryservice.Client Dlmconn *dlm.Client Docdbconn *docdb.Client Dynamodbconn *dynamodb.Client Ec2conn *ec2.Client Ecrconn *ecr.Client Ecrpublicconn *ecrpublic.Client Ecsconn *ecs.Client Efsconn *efs.Client Eksconn *eks.Client Elasticacheconn *elasticache.Client Elasticbeanstalkconn *elasticbeanstalk.Client Elasticloadbalancingconn *elasticloadbalancing.Client Elasticloadbalancingv2conn *elasticloadbalancingv2.Client Elasticsearchserviceconn *elasticsearchservice.Client Elastictranscoderconn *elastictranscoder.Client Emrconn *emr.Client Firehoseconn *firehose.Client Fmsconn *fms.Client Fsxconn *fsx.Client Gameliftconn *gamelift.Client Glacierconn *glacier.Client Globalacceleratorconn *globalaccelerator.Client Glueconn *glue.Client Guarddutyconn *guardduty.Client Iamconn *iam.Client Imagebuilderconn *imagebuilder.Client Inspectorconn *inspector.Client Iotconn *iot.Client Kafkaconn *kafka.Client Kinesisconn *kinesis.Client Kinesisanalyticsconn *kinesisanalytics.Client Kinesisanalyticsv2conn *kinesisanalyticsv2.Client Kinesisvideoconn *kinesisvideo.Client Kmsconn *kms.Client Lakeformationconn *lakeformation.Client Lambdaconn *lambda.Client Lexmodelbuildingserviceconn *lexmodelbuildingservice.Client Licensemanagerconn *licensemanager.Client Lightsailconn *lightsail.Client Macieconn *macie.Client Macie2conn *macie2.Client Mediaconvertconn *mediaconvert.Client Mediapackageconn *mediapackage.Client Mediastoreconn *mediastore.Client Mqconn *mq.Client Mwaaconn *mwaa.Client Neptuneconn *neptune.Client Networkfirewallconn *networkfirewall.Client Opsworksconn *opsworks.Client Organizationsconn *organizations.Client Pinpointconn *pinpoint.Client Qldbconn *qldb.Client Quicksightconn *quicksight.Client Ramconn *ram.Client Rdsconn *rds.Client Redshiftconn *redshift.Client Resourcegroupsconn *resourcegroups.Client Route53conn *route53.Client Route53resolverconn *route53resolver.Client S3conn *s3.Client S3controlconn *s3control.Client S3outpostsconn *s3outposts.Client Sagemakerconn *sagemaker.Client Secretsmanagerconn *secretsmanager.Client Securityhubconn *securityhub.Client Servicecatalogconn *servicecatalog.Client Servicediscoveryconn *servicediscovery.Client Servicequotasconn *servicequotas.Client Sesconn *ses.Client Sfnconn *sfn.Client Shieldconn *shield.Client Signerconn *signer.Client Snsconn *sns.Client Sqsconn *sqs.Client Ssmconn *ssm.Client Ssoadminconn *ssoadmin.Client Storagegatewayconn *storagegateway.Client Stsconn *sts.Client Swfconn *swf.Client Syntheticsconn *synthetics.Client Timestreamwriteconn *timestreamwrite.Client Transferconn *transfer.Client Wafconn *waf.Client Wafregionalconn *wafregional.Client Wafv2conn *wafv2.Client Worklinkconn *worklink.Client Workspacesconn *workspaces.Client Xrayconn *xray.Client }
Click to show internal directories.
Click to hide internal directories.