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

Description

Creates an Amazon Web Services Migration Hub Refactor Spaces application. The account that owns the environment also owns the applications created inside the environment, regardless of the account that creates the application. Refactor Spaces provisions an Amazon API Gateway, API Gateway VPC link, and Network Load Balancer for the application proxy inside your account.

Synopsis

Creating a Request

data CreateApplication Source #

See: newCreateApplication smart constructor.

Constructors

CreateApplication' 

Fields

Instances

Instances details
ToJSON CreateApplication Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.CreateApplication

ToHeaders CreateApplication Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.CreateApplication

ToPath CreateApplication Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.CreateApplication

ToQuery CreateApplication Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.CreateApplication

AWSRequest CreateApplication Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.CreateApplication

Associated Types

type AWSResponse CreateApplication #

Generic CreateApplication Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.CreateApplication

Associated Types

type Rep CreateApplication :: Type -> Type #

Show CreateApplication Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.CreateApplication

NFData CreateApplication Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.CreateApplication

Methods

rnf :: CreateApplication -> () #

Eq CreateApplication Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.CreateApplication

Hashable CreateApplication Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.CreateApplication

type AWSResponse CreateApplication Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.CreateApplication

type Rep CreateApplication Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.CreateApplication

type Rep CreateApplication = D1 ('MetaData "CreateApplication" "Amazonka.MigrationHubReFactorSpaces.CreateApplication" "amazonka-migration-hub-refactor-spaces-2.0-IgAA0SWWxlS8R7imIzpgpS" 'False) (C1 ('MetaCons "CreateApplication'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "apiGatewayProxy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ApiGatewayProxyInput)) :*: (S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive (HashMap Text Text)))))) :*: ((S1 ('MetaSel ('Just "environmentIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "proxyType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ProxyType) :*: S1 ('MetaSel ('Just "vpcId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newCreateApplication Source #

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

CreateApplication, createApplication_apiGatewayProxy - A wrapper object holding the API Gateway endpoint type and stage name for the proxy.

$sel:clientToken:CreateApplication', createApplication_clientToken - A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

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

$sel:environmentIdentifier:CreateApplication', createApplication_environmentIdentifier - The unique identifier of the environment.

CreateApplication, createApplication_name - The name to use for the application.

CreateApplication, createApplication_proxyType - The proxy type of the proxy created within the application.

CreateApplication, createApplication_vpcId - The ID of the virtual private cloud (VPC).

Request Lenses

createApplication_apiGatewayProxy :: Lens' CreateApplication (Maybe ApiGatewayProxyInput) Source #

A wrapper object holding the API Gateway endpoint type and stage name for the proxy.

createApplication_clientToken :: Lens' CreateApplication (Maybe Text) Source #

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

createApplication_tags :: Lens' CreateApplication (Maybe (HashMap Text Text)) Source #

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

createApplication_environmentIdentifier :: Lens' CreateApplication Text Source #

The unique identifier of the environment.

createApplication_name :: Lens' CreateApplication Text Source #

The name to use for the application.

createApplication_proxyType :: Lens' CreateApplication ProxyType Source #

The proxy type of the proxy created within the application.

createApplication_vpcId :: Lens' CreateApplication Text Source #

The ID of the virtual private cloud (VPC).

Destructuring the Response

data CreateApplicationResponse Source #

See: newCreateApplicationResponse smart constructor.

Constructors

CreateApplicationResponse' 

Fields

Instances

Instances details
Generic CreateApplicationResponse Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.CreateApplication

Associated Types

type Rep CreateApplicationResponse :: Type -> Type #

Show CreateApplicationResponse Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.CreateApplication

NFData CreateApplicationResponse Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.CreateApplication

Eq CreateApplicationResponse Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.CreateApplication

type Rep CreateApplicationResponse Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.CreateApplication

type Rep CreateApplicationResponse = D1 ('MetaData "CreateApplicationResponse" "Amazonka.MigrationHubReFactorSpaces.CreateApplication" "amazonka-migration-hub-refactor-spaces-2.0-IgAA0SWWxlS8R7imIzpgpS" 'False) (C1 ('MetaCons "CreateApplicationResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "apiGatewayProxy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ApiGatewayProxyInput)) :*: (S1 ('MetaSel ('Just "applicationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "createdByAccountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "createdTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (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 "ownerAccountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "proxyType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProxyType)))) :*: ((S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ApplicationState)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive (HashMap Text Text))))) :*: (S1 ('MetaSel ('Just "vpcId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))))

newCreateApplicationResponse Source #

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

CreateApplication, createApplicationResponse_apiGatewayProxy - A wrapper object holding the API Gateway endpoint type and stage name for the proxy.

CreateApplicationResponse, createApplicationResponse_applicationId - The unique identifier of the application.

CreateApplicationResponse, createApplicationResponse_arn - The Amazon Resource Name (ARN) of the application. The format for this ARN is arn:aws:refactor-spaces:region:account-id:resource-type/resource-id . For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.

CreateApplicationResponse, createApplicationResponse_createdByAccountId - The Amazon Web Services account ID of application creator.

CreateApplicationResponse, createApplicationResponse_createdTime - A timestamp that indicates when the application is created.

CreateApplicationResponse, createApplicationResponse_environmentId - The ID of the environment in which the application is created.

CreateApplicationResponse, createApplicationResponse_lastUpdatedTime - A timestamp that indicates when the application was last updated.

CreateApplication, createApplicationResponse_name - The name of the application.

CreateApplicationResponse, createApplicationResponse_ownerAccountId - The Amazon Web Services account ID of the application owner (which is always the same as the environment owner account ID).

CreateApplication, createApplicationResponse_proxyType - The proxy type of the proxy created within the application.

CreateApplicationResponse, createApplicationResponse_state - The current state of the application.

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

CreateApplication, createApplicationResponse_vpcId - The ID of the Amazon VPC.

$sel:httpStatus:CreateApplicationResponse', createApplicationResponse_httpStatus - The response's http status code.

Response Lenses

createApplicationResponse_apiGatewayProxy :: Lens' CreateApplicationResponse (Maybe ApiGatewayProxyInput) Source #

A wrapper object holding the API Gateway endpoint type and stage name for the proxy.

createApplicationResponse_arn :: Lens' CreateApplicationResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the application. The format for this ARN is arn:aws:refactor-spaces:region:account-id:resource-type/resource-id . For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.

createApplicationResponse_createdByAccountId :: Lens' CreateApplicationResponse (Maybe Text) Source #

The Amazon Web Services account ID of application creator.

createApplicationResponse_createdTime :: Lens' CreateApplicationResponse (Maybe UTCTime) Source #

A timestamp that indicates when the application is created.

createApplicationResponse_environmentId :: Lens' CreateApplicationResponse (Maybe Text) Source #

The ID of the environment in which the application is created.

createApplicationResponse_lastUpdatedTime :: Lens' CreateApplicationResponse (Maybe UTCTime) Source #

A timestamp that indicates when the application was last updated.

createApplicationResponse_ownerAccountId :: Lens' CreateApplicationResponse (Maybe Text) Source #

The Amazon Web Services account ID of the application owner (which is always the same as the environment owner account ID).

createApplicationResponse_proxyType :: Lens' CreateApplicationResponse (Maybe ProxyType) Source #

The proxy type of the proxy created within the application.

createApplicationResponse_tags :: Lens' CreateApplicationResponse (Maybe (HashMap Text Text)) Source #

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