Documentation ¶
Index ¶
Constants ¶
View Source
const ( Product = "Sts" Style = "RPC" Version = "2015-04-01" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type API ¶
type API struct {
openapi.Service
}
func (API) AssumeRole ¶
func (api API) AssumeRole(RoleArn, RoleSessionName string, optional openapi.M) (*AssumeRoleResponse, error)
AssumeRole version 2015-04-01
required parameters:
name: RoleArn, type: string name: RoleSessionName, type: string
optional parameters:
name: DurationSeconds, type: int64 name: Policy, type: string name: _method, type: string, optional values: GET|POST name: _region, type: string
func (API) AssumeRoleWithServiceIdentity ¶
func (api API) AssumeRoleWithServiceIdentity(AssumeRoleFor, RoleArn, RoleSessionName string, optional openapi.M) (*AssumeRoleWithServiceIdentityResponse, error)
AssumeRoleWithServiceIdentity version 2015-04-01
required parameters:
name: AssumeRoleFor, type: string name: RoleArn, type: string name: RoleSessionName, type: string
optional parameters:
name: DurationSeconds, type: int64 name: Policy, type: string name: _method, type: string, optional values: GET|POST name: _region, type: string
type AssumeRoleResponse ¶
type AssumeRoleResponse struct { AssumedRoleUser struct { Arn string AssumedRoleId string } Credentials struct { AccessKeyId string AccessKeySecret string Expiration string SecurityToken string } }
AssumeRoleResponse represents the response of the api AssumeRole.
type AssumeRoleWithServiceIdentityResponse ¶
type AssumeRoleWithServiceIdentityResponse struct { AssumedRoleUser struct { Arn string AssumedRoleId string } Credentials struct { AccessKeyId string AccessKeySecret string Expiration string SecurityToken string } }
AssumeRoleWithServiceIdentityResponse represents the response of the api AssumeRoleWithServiceIdentity.
Click to show internal directories.
Click to hide internal directories.