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

Class: Aws::Cloud9::Types::UpdateEnvironmentMembershipRequest

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

Overview

Note:

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

{
  environment_id: "EnvironmentId", # required
  user_arn: "UserArn", # required
  permissions: "read-write", # required, accepts read-write, read-only
}

Instance Attribute Summary collapse

Instance Attribute Details

#environment_idString

The ID of the environment for the environment member whose settings you want to change.

Returns:

  • (String)


512
513
514
515
516
517
# File 'gems/aws-sdk-cloud9/lib/aws-sdk-cloud9/types.rb', line 512

class UpdateEnvironmentMembershipRequest < Struct.new(
  :environment_id,
  :user_arn,
  :permissions)
  include Aws::Structure
end

#permissionsString

The replacement type of environment member permissions you want to associate with this environment member. Available values include:

  • read-only: Has read-only access to the environment.

  • read-write: Has read-write access to the environment.

Returns:

  • (String)


512
513
514
515
516
517
# File 'gems/aws-sdk-cloud9/lib/aws-sdk-cloud9/types.rb', line 512

class UpdateEnvironmentMembershipRequest < Struct.new(
  :environment_id,
  :user_arn,
  :permissions)
  include Aws::Structure
end

#user_arnString

The Amazon Resource Name (ARN) of the environment member whose settings you want to change.

Returns:

  • (String)


512
513
514
515
516
517
# File 'gems/aws-sdk-cloud9/lib/aws-sdk-cloud9/types.rb', line 512

class UpdateEnvironmentMembershipRequest < Struct.new(
  :environment_id,
  :user_arn,
  :permissions)
  include Aws::Structure
end