Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RegionalGetCallerIdentityURLTemplate = "https://sts.{region}.amazonaws.com?Action=GetCallerIdentity&Version=2011-06-15"
Functions ¶
This section is empty.
Types ¶
type GetCallerIdentityResponse ¶
type GetCallerIdentityResponse struct { XMLName xml.Name `xml:"https://sts.amazonaws.com/doc/2011-06-15/ GetCallerIdentityResponse"` GetCallerIdentityResult GetCallerIdentityResult `xml:"GetCallerIdentityResult"` ResponseMetadata ResponseMetadata `xml:"ResponseMetadata"` }
GetCallerIdentityResponse is the raw, outer XML response from the GetCallerIdentity API call.
type GetCallerIdentityResult ¶
type GetCallerIdentityResult struct { Arn string `xml:"Arn"` UserId string `xml:"UserId"` Account string `xml:"Account"` }
GetCallerIdentityResult https://docs.aws.amazon.com/STS/latest/APIReference/API_GetCallerIdentity.html
type Region ¶
type Region string
const ( Region_US_EAST_1 Region = "us-east-1" Region_US_EAST_2 Region = "us-east-2" Region_US_WEST_1 Region = "us-west-1" Region_US_WEST_2 Region = "us-west-2" Region_EU_WEST_1 Region = "eu-west-1" Region_EU_CENTRAL_1 Region = "eu-central-1" Region_EU_NORTH_1 Region = "eu-north-1" Region_AP_SOUTHEAST_1 Region = "ap-southeast-1" Region_AP_SOUTHEAST_2 Region = "ap-southeast-2" Region_AP_NORTHEAST_1 Region = "ap-northeast-1" Region_AP_NORTHEAST_2 Region = "ap-northeast-2" Region_AP_SOUTH_1 Region = "ap-south-1" Region_SA_EAST_1 Region = "sa-east-1" Region_CA_CENTRAL_1 Region = "ca-central-1" Region_ME_SOUTH_1 Region = "me-south-1" Region_AF_SOUTH_1 Region = "af-south-1" Region_EU_WEST_2 Region = "eu-west-2" Region_EU_SOUTH_1 Region = "eu-south-1" Region_AP_EAST_1 Region = "ap-east-1" Region_EU_WEST_3 Region = "eu-west-3" Region_EU_NORTHEAST_1 Region = "eu-northeast-1" Region_AP_NORTHEAST_3 Region = "ap-northeast-3" )
func (Region) MarshalJSON ¶
func (*Region) UnmarshalJSON ¶
type ResponseMetadata ¶
type ResponseMetadata any
Click to show internal directories.
Click to hide internal directories.