AWS SDK for C++  1.9.20
AWS SDK for C++
Functions
Aws::S3Control::S3ControlEndpoint Namespace Reference

Functions

AWS_S3CONTROL_API Aws::String ForRegion (const Aws::String &regionName, bool useDualStack=false, bool hasOutpostId=false)
 
AWS_S3CONTROL_API Aws::String ForOutpostsArn (const S3ControlARN &arn, const Aws::String &regionNameOverride="", bool useDualStack=false, const Aws::String &endpointOverride="")
 

Function Documentation

◆ ForOutpostsArn()

AWS_S3CONTROL_API Aws::String Aws::S3Control::S3ControlEndpoint::ForOutpostsArn ( const S3ControlARN arn,
const Aws::String regionNameOverride = "",
bool  useDualStack = false,
const Aws::String endpointOverride = "" 
)

Compute endpoint based on Outposts ARN.

Parameters
arnThe S3 Outposts ARN
regionNameOverrideOverride region name in ARN if it's not empty

◆ ForRegion()

AWS_S3CONTROL_API Aws::String Aws::S3Control::S3ControlEndpoint::ForRegion ( const Aws::String regionName,
bool  useDualStack = false,
bool  hasOutpostId = false 
)

Compute endpoint based on region.

Parameters
regionNameThe AWS region used in the endpoint
useDualStackUsing dual-stack endpoint if true
hasOutpostIdUsing s3-outposts as service name if true