amazonka-migration-hub-refactor-spaces-2.0: Amazon Migration Hub Refactor Spaces 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.MigrationHubReFactorSpaces.CreateEnvironment

Description

Creates an Amazon Web Services Migration Hub Refactor Spaces environment. The caller owns the environment resource, and all Refactor Spaces applications, services, and routes created within the environment. They are referred to as the environment owner. The environment owner has cross-account visibility and control of Refactor Spaces resources that are added to the environment by other accounts that the environment is shared with. When creating an environment, Refactor Spaces provisions a transit gateway in your account.

Synopsis

Creating a Request

data CreateEnvironment Source #

See: newCreateEnvironment smart constructor.

Constructors

CreateEnvironment' 

Fields

Instances

Instances details
ToJSON CreateEnvironment Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.CreateEnvironment

ToHeaders CreateEnvironment Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.CreateEnvironment

ToPath CreateEnvironment Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.CreateEnvironment

ToQuery CreateEnvironment Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.CreateEnvironment

AWSRequest CreateEnvironment Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.CreateEnvironment

Associated Types

type AWSResponse CreateEnvironment #

Generic CreateEnvironment Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.CreateEnvironment

Associated Types

type Rep CreateEnvironment :: Type -> Type #

Show CreateEnvironment Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.CreateEnvironment

NFData CreateEnvironment Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.CreateEnvironment

Methods

rnf :: CreateEnvironment -> () #

Eq CreateEnvironment Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.CreateEnvironment

Hashable CreateEnvironment Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.CreateEnvironment

type AWSResponse CreateEnvironment Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.CreateEnvironment

type Rep CreateEnvironment Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.CreateEnvironment

type Rep CreateEnvironment = D1 ('MetaData "CreateEnvironment" "Amazonka.MigrationHubReFactorSpaces.CreateEnvironment" "amazonka-migration-hub-refactor-spaces-2.0-IgAA0SWWxlS8R7imIzpgpS" 'False) (C1 ('MetaCons "CreateEnvironment'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive (HashMap Text Text)))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "networkFabricType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 NetworkFabricType)))))

newCreateEnvironment Source #

Create a value of CreateEnvironment 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:clientToken:CreateEnvironment', createEnvironment_clientToken - A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

CreateEnvironment, createEnvironment_description - The description of the environment.

CreateEnvironment, createEnvironment_tags - The tags to assign to the environment. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair.

CreateEnvironment, createEnvironment_name - The name of the environment.

CreateEnvironment, createEnvironment_networkFabricType - The network fabric type of the environment.

Request Lenses

createEnvironment_clientToken :: Lens' CreateEnvironment (Maybe Text) Source #

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

createEnvironment_description :: Lens' CreateEnvironment (Maybe Text) Source #

The description of the environment.

createEnvironment_tags :: Lens' CreateEnvironment (Maybe (HashMap Text Text)) Source #

The tags to assign to the environment. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair.

Destructuring the Response

data CreateEnvironmentResponse Source #

See: newCreateEnvironmentResponse smart constructor.

Constructors

CreateEnvironmentResponse' 

Fields

Instances

Instances details
Generic CreateEnvironmentResponse Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.CreateEnvironment

Associated Types

type Rep CreateEnvironmentResponse :: Type -> Type #

Show CreateEnvironmentResponse Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.CreateEnvironment

NFData CreateEnvironmentResponse Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.CreateEnvironment

Eq CreateEnvironmentResponse Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.CreateEnvironment

type Rep CreateEnvironmentResponse Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.CreateEnvironment

type Rep CreateEnvironmentResponse = D1 ('MetaData "CreateEnvironmentResponse" "Amazonka.MigrationHubReFactorSpaces.CreateEnvironment" "amazonka-migration-hub-refactor-spaces-2.0-IgAA0SWWxlS8R7imIzpgpS" 'False) (C1 ('MetaCons "CreateEnvironmentResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "createdTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "environmentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "lastUpdatedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))))) :*: ((S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "networkFabricType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NetworkFabricType)) :*: S1 ('MetaSel ('Just "ownerAccountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EnvironmentState)) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive (HashMap Text Text)))) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))))

newCreateEnvironmentResponse Source #

Create a value of CreateEnvironmentResponse 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:

CreateEnvironmentResponse, createEnvironmentResponse_arn - The Amazon Resource Name (ARN) of the environment.

CreateEnvironmentResponse, createEnvironmentResponse_createdTime - A timestamp that indicates when the environment is created.

CreateEnvironment, createEnvironmentResponse_description - A description of the environment.

CreateEnvironmentResponse, createEnvironmentResponse_environmentId - The unique identifier of the environment.

CreateEnvironmentResponse, createEnvironmentResponse_lastUpdatedTime - A timestamp that indicates when the environment was last updated.

CreateEnvironment, createEnvironmentResponse_name - The name of the environment.

CreateEnvironment, createEnvironmentResponse_networkFabricType - The network fabric type of the environment.

CreateEnvironmentResponse, createEnvironmentResponse_ownerAccountId - The Amazon Web Services account ID of environment owner.

CreateEnvironmentResponse, createEnvironmentResponse_state - The current state of the environment.

CreateEnvironment, createEnvironmentResponse_tags - The tags assigned to the created environment. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair..

$sel:httpStatus:CreateEnvironmentResponse', createEnvironmentResponse_httpStatus - The response's http status code.

Response Lenses

createEnvironmentResponse_arn :: Lens' CreateEnvironmentResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the environment.

createEnvironmentResponse_createdTime :: Lens' CreateEnvironmentResponse (Maybe UTCTime) Source #

A timestamp that indicates when the environment is created.

createEnvironmentResponse_lastUpdatedTime :: Lens' CreateEnvironmentResponse (Maybe UTCTime) Source #

A timestamp that indicates when the environment was last updated.

createEnvironmentResponse_ownerAccountId :: Lens' CreateEnvironmentResponse (Maybe Text) Source #

The Amazon Web Services account ID of environment owner.

createEnvironmentResponse_tags :: Lens' CreateEnvironmentResponse (Maybe (HashMap Text Text)) Source #

The tags assigned to the created environment. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair..