Documentation ¶
Index ¶
- type AssumeRoleInput
- type AssumeRoleResponse
- type AssumeRoleResult
- type AssumedRoleUser
- type CallerIdentityResult
- type Credentials
- type GetCallerIdentityRequest
- type GetCallerIdentityResponse
- type GetSessionTokenInput
- type GetSessionTokenResponse
- type PolicyDescriptorType
- type ProvidedContext
- type SessionTokenResponse
- type SessionTokenResult
- type Tag
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssumeRoleInput ¶
type AssumeRoleInput struct { Action string `schema:"Action"` Version string `schema:"Version"` DurationSeconds *int64 `schema:"DurationSeconds,omitempty" min:"900" type:"integer"` ExternalId *string `schema:"ExternalId,omitempty" min:"2" type:"string"` Policy *string `schema:"Policy,omitempty" min:"1" type:"string"` PolicyArns []*PolicyDescriptorType `schema:"PolicyArns,omitempty" type:"list"` ProvidedContexts []*ProvidedContext `schema:"ProvidedContexts,omitempty" type:"list"` RoleArn *string `schema:"RoleArn,omitempty" min:"20" type:"string" required:"true"` RoleSessionName *string `schema:"RoleSessionName,omitempty" min:"2" type:"string" required:"true"` SerialNumber *string `schema:"SerialNumber,omitempty" min:"9" type:"string"` SourceIdentity *string `schema:"SourceIdentity,omitempty" min:"2" type:"string"` Tags []*Tag `schema:"Tags,omitempty" type:"list"` TokenCode *string `schema:"TokenCode,omitempty" min:"6" type:"string"` TransitiveTagKeys []*string `schema:"TransitiveTagKeys,omitempty" type:"list"` }
type AssumeRoleResponse ¶
type AssumeRoleResponse struct { AssumeRoleResult AssumeRoleResult `xml:"AssumeRoleResult"` ResponseMetadata struct { RequestID string `xml:"RequestId,omitempty"` } `xml:"ResponseMetadata,omitempty"` }
type AssumeRoleResult ¶
type AssumeRoleResult struct { AssumedRoleUser AssumedRoleUser `xml:"AssumeRoleUser"` Credentials Credentials `xml:"Credentials,omitempty"` PackedPolicySize int `xml:"PackedPolicySize,omitempty"` SourceIdentity string `xml:"SourceIdentity,omitempty"` }
type AssumedRoleUser ¶
type CallerIdentityResult ¶
type Credentials ¶
type GetCallerIdentityRequest ¶
type GetCallerIdentityRequest struct { Action string `schema:"Action"` Version string `schema:"Version"` }
https://docs.aws.amazon.com/sdk-for-go/api/service/sts/#STS.GetCallerIdentityRequest
type GetCallerIdentityResponse ¶
type GetCallerIdentityResponse struct { CallerIdentityResult CallerIdentityResult `xml:"GetCallerIdentityResult"` ResponseMetadata struct { RequestID string `xml:"RequestId,omitempty"` } `xml:"ResponseMetadata,omitempty"` }
type GetSessionTokenInput ¶
type GetSessionTokenInput struct { Action string `schema:"Action"` Version string `schema:"Version"` DurationSeconds *int64 `schema:"DurationSeconds,omitempty" min:"900" type:"integer"` SerialNumber *string `schema:"SerialNumber,omitempty" min:"9" type:"string"` TokenCode *string `schema:"TokenCode,omitempty" min:"6" type:"string"` }
https://docs.aws.amazon.com/sdk-for-go/api/service/sts/#GetSessionTokenInput
type GetSessionTokenResponse ¶
type GetSessionTokenResponse struct { SessionTokenResult SessionTokenResult `xml:"GetSessionTokenResult"` ResponseMetadata struct { RequestID string `xml:"RequestId,omitempty"` } `xml:"ResponseMetadata,omitempty"` }
type PolicyDescriptorType ¶
type PolicyDescriptorType struct {
Arn *string `schema:"PolicyDescriptorType,omitempty" locationName:"arn" min:"20" type:"string"`
}
https://docs.aws.amazon.com/sdk-for-go/api/service/sts/#AssumeRoleInput
type ProvidedContext ¶
type SessionTokenResponse ¶
type SessionTokenResult ¶
type SessionTokenResult struct {
Credentials Credentials `xml:"Credentials,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.