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.

UpdateRoleAliasInput

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

type UpdateRoleAliasInput struct { CredentialDurationSeconds *int64 `locationName:"credentialDurationSeconds" min:"900" type:"integer"` RoleAlias *string `location:"uri" locationName:"roleAlias" min:"1" type:"string" required:"true"` RoleArn *string `locationName:"roleArn" min:"20" type:"string"` }

CredentialDurationSeconds

Type: *int64

The number of seconds the credential will be valid.

RoleAlias

Type: *string

The role alias to update.

RoleAlias is a required field

RoleArn

Type: *string

The role ARN.

Method

GoString

func (s UpdateRoleAliasInput) GoString() string

GoString returns the string representation

SetCredentialDurationSeconds

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

SetCredentialDurationSeconds sets the CredentialDurationSeconds field's value.

SetRoleAlias

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

SetRoleAlias sets the RoleAlias field's value.

SetRoleArn

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

SetRoleArn sets the RoleArn field's value.

String

func (s UpdateRoleAliasInput) String() string

String returns the string representation

Validate

func (s *UpdateRoleAliasInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: