You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::IoT::Types::UpdateRoleAliasRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb

Overview

Note:

When making an API call, you may pass UpdateRoleAliasRequest data as a hash:

{
  role_alias: "RoleAlias", # required
  role_arn: "RoleArn",
  credential_duration_seconds: 1,
}

Instance Attribute Summary collapse

Instance Attribute Details

#credential_duration_secondsInteger

The number of seconds the credential will be valid.

Returns:

  • (Integer)


7953
7954
7955
7956
7957
7958
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 7953

class UpdateRoleAliasRequest < Struct.new(
  :role_alias,
  :role_arn,
  :credential_duration_seconds)
  include Aws::Structure
end

#role_aliasString

The role alias to update.

Returns:

  • (String)


7953
7954
7955
7956
7957
7958
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 7953

class UpdateRoleAliasRequest < Struct.new(
  :role_alias,
  :role_arn,
  :credential_duration_seconds)
  include Aws::Structure
end

#role_arnString

The role ARN.

Returns:

  • (String)


7953
7954
7955
7956
7957
7958
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 7953

class UpdateRoleAliasRequest < Struct.new(
  :role_alias,
  :role_arn,
  :credential_duration_seconds)
  include Aws::Structure
end