package
1.0.3
Repository: https://github.com/os-m/aws-sdk-go.git
Documentation: pkg.go.dev

# Functions

AddScheme adds the HTTP or HTTPS schemes to a endpoint URL if there is no scheme.
AwsCnPartition returns the Resolver for AWS China.
AwsIsoBPartition returns the Resolver for AWS ISOB (US).
AwsIsoEPartition returns the Resolver for AWS ISOE (Europe).
AwsIsoFPartition returns the Resolver for AWS ISOF.
AwsIsoPartition returns the Resolver for AWS ISO (US).
AwsPartition returns the Resolver for AWS Standard.
AwsUsGovPartition returns the Resolver for AWS GovCloud (US).
DecodeModel unmarshals a Regions and Endpoint model definition file into a endpoint Resolver.
DefaultPartitions returns a list of the partitions the SDK is bundled with.
DefaultResolver returns an Endpoint resolver that will be able to resolve endpoints for: AWS Standard, AWS China, AWS GovCloud (US), AWS ISO (US), AWS ISOB (US), AWS ISOE (Europe), and AWS ISOF.
DisableSSLOption sets the DisableSSL options.
GetS3UsEast1RegionalEndpoint function returns the S3UsEast1RegionalEndpointFlag based on the input string provided in env config or shared config by the user.
GetSTSRegionalEndpoint function returns the STSRegionalEndpointFlag based on the input string provided in env config or shared config by the user.
NewUnknownEndpointError builds and returns UnknownEndpointError.
NewUnknownServiceError builds and returns UnknownServiceError.
PartitionForRegion returns the first partition which includes the region passed in.
RegionsForService returns a map of regions for the partition and service.
ResolveUnknownServiceOption sets the ResolveUnknownService option.
StrictMatchingOption sets the StrictMatching option.
STSRegionalEndpointOption enables the STS endpoint resolver behavior to resolve STS endpoint to their regional endpoint, instead of the global endpoint.
UseDualStackEndpointOption sets the UseDualStackEndpoint option to enabled.
UseDualStackOption sets the UseDualStack option.
UseFIPSEndpointOption sets the UseFIPSEndpoint option to enabled.

# Constants

A4b.
AcmPca.
Acm.
Africa (Cape Town).
Asia Pacific (Hong Kong).
Apigateway.
ApiMediatailor.
ApiPricing.
ApiSagemaker.
Asia Pacific (Tokyo).
Asia Pacific (Seoul).
Asia Pacific (Osaka).
ApplicationAutoscaling.
Appstream2.
Appsync.
Asia Pacific (Mumbai).
Asia Pacific (Hyderabad).
Asia Pacific (Singapore).
Asia Pacific (Sydney).
Asia Pacific (Jakarta).
Asia Pacific (Melbourne).
Athena.
AutoscalingPlans.
Autoscaling.
AWS China partition.
AWS ISOB (US) partition.
AWS ISOE (Europe) partition.
AWS ISOF partition.
AWS ISO (US) partition.
AWS Standard partition.
AWS GovCloud (US) partition.
Batch.
Budgets.
Canada (Central).
Canada West (Calgary).
Ce.
Chime.
Cloud9.
Clouddirectory.
Cloudformation.
Cloudfront.
Cloudhsm.
Cloudhsmv2.
Cloudsearch.
Cloudtrail.
China (Beijing).
China (Ningxia).
Codebuild.
Codecommit.
Codedeploy.
Codepipeline.
Codestar.
CognitoIdentity.
CognitoIdp.
CognitoSync.
Comprehend.
Config.
Cur.
Datapipeline.
Dax.
Devicefarm.
Directconnect.
Discovery.
Dms.
Ds.
DualStackEndpointStateDisabled disables dual-stack endpoint resolution for endpoints.
DualStackEndpointStateEnabled enable dual-stack endpoint resolution for endpoints.
DualStackEndpointStateUnset is the default value behavior for dual-stack endpoint resolution.
Dynamodb.
Enumeration values for EC2IMDSEndpointModeState.
Enumeration values for EC2IMDSEndpointModeState.
Enumeration values for EC2IMDSEndpointModeState.
Ec2metadata.
Ec2.
Ecr.
Ecs.
Elasticache.
Elasticbeanstalk.
Elasticfilesystem.
Elasticloadbalancing.
Elasticmapreduce.
Elastictranscoder.
Email.
EntitlementMarketplace.
Es.
Europe (Frankfurt).
Europe (Zurich).
EU ISOE West.
Europe (Stockholm).
Europe (Milan).
Europe (Spain).
Europe (Ireland).
Europe (London).
Europe (Paris).
Events.
FIPSEndpointStateDisabled disables FIPS endpoint resolution for endpoints.
FIPSEndpointStateEnabled enables FIPS endpoint resolution for service endpoints.
FIPSEndpointStateUnset is the default value behavior for FIPS endpoint resolution.
Firehose.
Fms.
Gamelift.
Glacier.
Glue.
Greengrass.
Guardduty.
Health.
Iam.
Israel (Tel Aviv).
Importexport.
Inspector.
Iotanalytics.
Iot.
Kinesisanalytics.
Kinesis.
Kinesisvideo.
Kms.
Lambda.
LegacyS3UsEast1Endpoint represents when S3 Regional Endpoint flag is specified to use legacy endpoints.
LegacySTSEndpoint represents when STS Regional Endpoint flag is specified to use legacy endpoints.
Lightsail.
Logs.
Machinelearning.
Marketplacecommerceanalytics.
Middle East (UAE).
Mediaconvert.
Medialive.
Mediapackage.
Mediastore.
Middle East (Bahrain).
MeteringMarketplace.
Mgh.
Mobileanalytics.
ModelsLex.
Monitoring.
MturkRequester.
Neptune.
OpsworksCm.
Opsworks.
Organizations.
Pinpoint.
Polly.
Rds.
Redshift.
RegionalS3UsEast1Endpoint represents when S3 Regional Endpoint flag is specified to use regional endpoints.
RegionalSTSEndpoint represents when STS Regional Endpoint flag is specified to use regional endpoints.
Rekognition.
ResourceGroups.
Route53domains.
Route53.
RuntimeLex.
RuntimeSagemaker.
S3Control.
S3.
South America (Sao Paulo).
Sagemaker.
Sdb.
Secretsmanager.
Serverlessrepo.
Servicecatalog.
Servicediscovery.
Shield.
Sms.
Snowball.
Sns.
Sqs.
Ssm.
States.
Storagegateway.
StreamsDynamodb.
Sts.
Support.
Swf.
Tagging.
Transfer.
Translate.
UnsetS3UsEast1Endpoint represents that S3 Regional Endpoint flag is not specified.
UnsetSTSEndpoint represents that STS Regional Endpoint flag is not specified.
US East (N.
US East (Ohio).
AWS GovCloud (US-East).
AWS GovCloud (US-West).
US ISOB East (Ohio).
US ISO East.
US ISO WEST.
US West (N.
US West (Oregon).
WafRegional.
Waf.
Workdocs.
Workmail.
Workspaces.
Xray.

# Structs

A DecodeModelOptions are the options for how the endpoints model definition are decoded.
A Endpoint provides information about endpoints, and provides the ability to resolve that endpoint for the service, and the region the endpoint represents.
A EndpointNotFoundError is returned when in StrictMatching mode, and the endpoint for the service and region cannot be found in any of the partitions.
Options provide the configuration needed to direct how the endpoints will be resolved.
A Partition provides the ability to enumerate the partition's regions and services.
A Region provides information about a region, and ability to resolve an endpoint from the context of a region, given a service.
A ResolvedEndpoint is an endpoint that has been resolved based on a partition service, and region.
A Service provides information about a service, and ability to resolve an endpoint from the context of a service, given a region.
A UnknownEndpointError is returned when in StrictMatching mode and the service is valid, but the region does not resolve to an endpoint.
A UnknownServiceError is returned when the service does not resolve to an endpoint.

# Interfaces

EnumPartitions a provides a way to retrieve the underlying partitions that make up the SDK's default Resolver, or any resolver decoded from a model file.
A Logger is a minimalistic interface for the SDK to log messages to.
A Resolver provides the interface for functionality to resolve endpoints.

# Type aliases

DualStackEndpointState is a constant to describe the dual-stack endpoint resolution behavior.
EC2IMDSEndpointModeState is an enum configuration variable describing the client endpoint mode.
FIPSEndpointState is a constant to describe the FIPS endpoint resolution behavior.
ResolverFunc is a helper utility that wraps a function so it satisfies the Resolver interface.
S3UsEast1RegionalEndpoint is an enum for the states of the S3 us-east-1 Regional Endpoint options.
STSRegionalEndpoint is an enum for the states of the STS Regional Endpoint options.