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

Class: Aws::IAM::Types::RemoveRoleFromInstanceProfileRequest

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 RemoveRoleFromInstanceProfileRequest data as a hash:

{
  instance_profile_name: "instanceProfileNameType", # required
  role_name: "roleNameType", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#instance_profile_nameString

The name of the instance profile to update.

This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-

Returns:

  • (String)


6501
6502
6503
6504
6505
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 6501

class RemoveRoleFromInstanceProfileRequest < Struct.new(
  :instance_profile_name,
  :role_name)
  include Aws::Structure
end

#role_nameString

The name of the role to remove.

This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

Returns:

  • (String)


6501
6502
6503
6504
6505
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 6501

class RemoveRoleFromInstanceProfileRequest < Struct.new(
  :instance_profile_name,
  :role_name)
  include Aws::Structure
end