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

Class: Aws::IAM::Types::UpdateRoleDescriptionRequest

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

Overview

Note:

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

{
  role_name: "roleNameType", # required
  description: "roleDescriptionType", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionString

The new description that you want to apply to the specified role.

Returns:

  • (String)


8240
8241
8242
8243
8244
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 8240

class UpdateRoleDescriptionRequest < Struct.new(
  :role_name,
  :description)
  include Aws::Structure
end

#role_nameString

The name of the role that you want to modify.

Returns:

  • (String)


8240
8241
8242
8243
8244
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 8240

class UpdateRoleDescriptionRequest < Struct.new(
  :role_name,
  :description)
  include Aws::Structure
end