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

Description

Gets an Amazon Web Services Migration Hub Refactor Spaces environment.

Synopsis

Creating a Request

data GetEnvironment Source #

See: newGetEnvironment smart constructor.

Constructors

GetEnvironment' 

Fields

Instances

Instances details
ToHeaders GetEnvironment Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.GetEnvironment

ToPath GetEnvironment Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.GetEnvironment

ToQuery GetEnvironment Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.GetEnvironment

AWSRequest GetEnvironment Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.GetEnvironment

Associated Types

type AWSResponse GetEnvironment #

Generic GetEnvironment Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.GetEnvironment

Associated Types

type Rep GetEnvironment :: Type -> Type #

Read GetEnvironment Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.GetEnvironment

Show GetEnvironment Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.GetEnvironment

NFData GetEnvironment Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.GetEnvironment

Methods

rnf :: GetEnvironment -> () #

Eq GetEnvironment Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.GetEnvironment

Hashable GetEnvironment Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.GetEnvironment

type AWSResponse GetEnvironment Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.GetEnvironment

type Rep GetEnvironment Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.GetEnvironment

type Rep GetEnvironment = D1 ('MetaData "GetEnvironment" "Amazonka.MigrationHubReFactorSpaces.GetEnvironment" "amazonka-migration-hub-refactor-spaces-2.0-IgAA0SWWxlS8R7imIzpgpS" 'False) (C1 ('MetaCons "GetEnvironment'" 'PrefixI 'True) (S1 ('MetaSel ('Just "environmentIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetEnvironment Source #

Create a value of GetEnvironment 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:environmentIdentifier:GetEnvironment', getEnvironment_environmentIdentifier - The ID of the environment.

Request Lenses

Destructuring the Response

data GetEnvironmentResponse Source #

See: newGetEnvironmentResponse smart constructor.

Constructors

GetEnvironmentResponse' 

Fields

Instances

Instances details
Generic GetEnvironmentResponse Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.GetEnvironment

Associated Types

type Rep GetEnvironmentResponse :: Type -> Type #

Show GetEnvironmentResponse Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.GetEnvironment

NFData GetEnvironmentResponse Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.GetEnvironment

Methods

rnf :: GetEnvironmentResponse -> () #

Eq GetEnvironmentResponse Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.GetEnvironment

type Rep GetEnvironmentResponse Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.GetEnvironment

type Rep GetEnvironmentResponse = D1 ('MetaData "GetEnvironmentResponse" "Amazonka.MigrationHubReFactorSpaces.GetEnvironment" "amazonka-migration-hub-refactor-spaces-2.0-IgAA0SWWxlS8R7imIzpgpS" 'False) (C1 ('MetaCons "GetEnvironmentResponse'" '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 "error") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ErrorResponse)) :*: 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 "transitGatewayId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))))

newGetEnvironmentResponse Source #

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

GetEnvironmentResponse, getEnvironmentResponse_arn - The Amazon Resource Name (ARN) of the environment.

GetEnvironmentResponse, getEnvironmentResponse_createdTime - A timestamp that indicates when the environment is created.

GetEnvironmentResponse, getEnvironmentResponse_description - The description of the environment.

GetEnvironmentResponse, getEnvironmentResponse_environmentId - The unique identifier of the environment.

GetEnvironmentResponse, getEnvironmentResponse_error - Any error associated with the environment resource.

GetEnvironmentResponse, getEnvironmentResponse_lastUpdatedTime - A timestamp that indicates when the environment was last updated.

GetEnvironmentResponse, getEnvironmentResponse_name - The name of the environment.

GetEnvironmentResponse, getEnvironmentResponse_networkFabricType - The network fabric type of the environment.

GetEnvironmentResponse, getEnvironmentResponse_ownerAccountId - The Amazon Web Services account ID of the environment owner.

GetEnvironmentResponse, getEnvironmentResponse_state - The current state of the environment.

GetEnvironmentResponse, getEnvironmentResponse_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.

GetEnvironmentResponse, getEnvironmentResponse_transitGatewayId - The ID of the transit gateway set up by the environment.

$sel:httpStatus:GetEnvironmentResponse', getEnvironmentResponse_httpStatus - The response's http status code.

Response Lenses

getEnvironmentResponse_arn :: Lens' GetEnvironmentResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the environment.

getEnvironmentResponse_createdTime :: Lens' GetEnvironmentResponse (Maybe UTCTime) Source #

A timestamp that indicates when the environment is created.

getEnvironmentResponse_error :: Lens' GetEnvironmentResponse (Maybe ErrorResponse) Source #

Any error associated with the environment resource.

getEnvironmentResponse_lastUpdatedTime :: Lens' GetEnvironmentResponse (Maybe UTCTime) Source #

A timestamp that indicates when the environment was last updated.

getEnvironmentResponse_ownerAccountId :: Lens' GetEnvironmentResponse (Maybe Text) Source #

The Amazon Web Services account ID of the environment owner.

getEnvironmentResponse_tags :: Lens' GetEnvironmentResponse (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.

getEnvironmentResponse_transitGatewayId :: Lens' GetEnvironmentResponse (Maybe Text) Source #

The ID of the transit gateway set up by the environment.