amazonka-cloud9-2.0: Amazon Cloud9 SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Cloud9.CreateEnvironmentMembership

Description

Adds an environment member to an Cloud9 development environment.

Synopsis

Creating a Request

data CreateEnvironmentMembership Source #

See: newCreateEnvironmentMembership smart constructor.

Constructors

CreateEnvironmentMembership' 

Fields

  • environmentId :: Text

    The ID of the environment that contains the environment member you want to add.

  • userArn :: Text

    The Amazon Resource Name (ARN) of the environment member you want to add.

  • permissions :: MemberPermissions

    The 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.

Instances

Instances details
ToJSON CreateEnvironmentMembership Source # 
Instance details

Defined in Amazonka.Cloud9.CreateEnvironmentMembership

ToHeaders CreateEnvironmentMembership Source # 
Instance details

Defined in Amazonka.Cloud9.CreateEnvironmentMembership

ToPath CreateEnvironmentMembership Source # 
Instance details

Defined in Amazonka.Cloud9.CreateEnvironmentMembership

ToQuery CreateEnvironmentMembership Source # 
Instance details

Defined in Amazonka.Cloud9.CreateEnvironmentMembership

AWSRequest CreateEnvironmentMembership Source # 
Instance details

Defined in Amazonka.Cloud9.CreateEnvironmentMembership

Generic CreateEnvironmentMembership Source # 
Instance details

Defined in Amazonka.Cloud9.CreateEnvironmentMembership

Associated Types

type Rep CreateEnvironmentMembership :: Type -> Type #

Read CreateEnvironmentMembership Source # 
Instance details

Defined in Amazonka.Cloud9.CreateEnvironmentMembership

Show CreateEnvironmentMembership Source # 
Instance details

Defined in Amazonka.Cloud9.CreateEnvironmentMembership

NFData CreateEnvironmentMembership Source # 
Instance details

Defined in Amazonka.Cloud9.CreateEnvironmentMembership

Eq CreateEnvironmentMembership Source # 
Instance details

Defined in Amazonka.Cloud9.CreateEnvironmentMembership

Hashable CreateEnvironmentMembership Source # 
Instance details

Defined in Amazonka.Cloud9.CreateEnvironmentMembership

type AWSResponse CreateEnvironmentMembership Source # 
Instance details

Defined in Amazonka.Cloud9.CreateEnvironmentMembership

type Rep CreateEnvironmentMembership Source # 
Instance details

Defined in Amazonka.Cloud9.CreateEnvironmentMembership

type Rep CreateEnvironmentMembership = D1 ('MetaData "CreateEnvironmentMembership" "Amazonka.Cloud9.CreateEnvironmentMembership" "amazonka-cloud9-2.0-7b5PlMySrOa4RK8dYvmjDd" 'False) (C1 ('MetaCons "CreateEnvironmentMembership'" 'PrefixI 'True) (S1 ('MetaSel ('Just "environmentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "userArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "permissions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 MemberPermissions))))

newCreateEnvironmentMembership Source #

Create a value of CreateEnvironmentMembership with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

CreateEnvironmentMembership, createEnvironmentMembership_environmentId - The ID of the environment that contains the environment member you want to add.

CreateEnvironmentMembership, createEnvironmentMembership_userArn - The Amazon Resource Name (ARN) of the environment member you want to add.

CreateEnvironmentMembership, createEnvironmentMembership_permissions - The 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.

Request Lenses

createEnvironmentMembership_environmentId :: Lens' CreateEnvironmentMembership Text Source #

The ID of the environment that contains the environment member you want to add.

createEnvironmentMembership_userArn :: Lens' CreateEnvironmentMembership Text Source #

The Amazon Resource Name (ARN) of the environment member you want to add.

createEnvironmentMembership_permissions :: Lens' CreateEnvironmentMembership MemberPermissions Source #

The 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.

Destructuring the Response

data CreateEnvironmentMembershipResponse Source #

Constructors

CreateEnvironmentMembershipResponse' 

Fields

Instances

Instances details
Generic CreateEnvironmentMembershipResponse Source # 
Instance details

Defined in Amazonka.Cloud9.CreateEnvironmentMembership

Read CreateEnvironmentMembershipResponse Source # 
Instance details

Defined in Amazonka.Cloud9.CreateEnvironmentMembership

Show CreateEnvironmentMembershipResponse Source # 
Instance details

Defined in Amazonka.Cloud9.CreateEnvironmentMembership

NFData CreateEnvironmentMembershipResponse Source # 
Instance details

Defined in Amazonka.Cloud9.CreateEnvironmentMembership

Eq CreateEnvironmentMembershipResponse Source # 
Instance details

Defined in Amazonka.Cloud9.CreateEnvironmentMembership

type Rep CreateEnvironmentMembershipResponse Source # 
Instance details

Defined in Amazonka.Cloud9.CreateEnvironmentMembership

type Rep CreateEnvironmentMembershipResponse = D1 ('MetaData "CreateEnvironmentMembershipResponse" "Amazonka.Cloud9.CreateEnvironmentMembership" "amazonka-cloud9-2.0-7b5PlMySrOa4RK8dYvmjDd" 'False) (C1 ('MetaCons "CreateEnvironmentMembershipResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "membership") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 EnvironmentMember)))

newCreateEnvironmentMembershipResponse Source #

Create a value of CreateEnvironmentMembershipResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:CreateEnvironmentMembershipResponse', createEnvironmentMembershipResponse_httpStatus - The response's http status code.

$sel:membership:CreateEnvironmentMembershipResponse', createEnvironmentMembershipResponse_membership - Information about the environment member that was added.

Response Lenses