AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

RoleAliasDescription

import "github.com/aws/aws-sdk-go/service/iot"

type RoleAliasDescription struct { CreationDate *time.Time `locationName:"creationDate" type:"timestamp"` CredentialDurationSeconds *int64 `locationName:"credentialDurationSeconds" min:"900" type:"integer"` LastModifiedDate *time.Time `locationName:"lastModifiedDate" type:"timestamp"` Owner *string `locationName:"owner" min:"12" type:"string"` RoleAlias *string `locationName:"roleAlias" min:"1" type:"string"` RoleAliasArn *string `locationName:"roleAliasArn" type:"string"` RoleArn *string `locationName:"roleArn" min:"20" type:"string"` }

Role alias description.

CreationDate

Type: *time.Time

The UNIX timestamp of when the role alias was created.

CredentialDurationSeconds

Type: *int64

The number of seconds for which the credential is valid.

LastModifiedDate

Type: *time.Time

The UNIX timestamp of when the role alias was last modified.

Owner

Type: *string

The role alias owner.

RoleAlias

Type: *string

The role alias.

RoleAliasArn

Type: *string

The ARN of the role alias.

RoleArn

Type: *string

The role ARN.

Method

GoString

func (s RoleAliasDescription) GoString() string

GoString returns the string representation

SetCreationDate

func (s *RoleAliasDescription) SetCreationDate(v time.Time) *RoleAliasDescription

SetCreationDate sets the CreationDate field's value.

SetCredentialDurationSeconds

func (s *RoleAliasDescription) SetCredentialDurationSeconds(v int64) *RoleAliasDescription

SetCredentialDurationSeconds sets the CredentialDurationSeconds field's value.

SetLastModifiedDate

func (s *RoleAliasDescription) SetLastModifiedDate(v time.Time) *RoleAliasDescription

SetLastModifiedDate sets the LastModifiedDate field's value.

SetOwner

func (s *RoleAliasDescription) SetOwner(v string) *RoleAliasDescription

SetOwner sets the Owner field's value.

SetRoleAlias

func (s *RoleAliasDescription) SetRoleAlias(v string) *RoleAliasDescription

SetRoleAlias sets the RoleAlias field's value.

SetRoleAliasArn

func (s *RoleAliasDescription) SetRoleAliasArn(v string) *RoleAliasDescription

SetRoleAliasArn sets the RoleAliasArn field's value.

SetRoleArn

func (s *RoleAliasDescription) SetRoleArn(v string) *RoleAliasDescription

SetRoleArn sets the RoleArn field's value.

String

func (s RoleAliasDescription) String() string

String returns the string representation

On this page: