amazonka-apigatewayv2-2.0: Amazon ApiGatewayV2 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.ApiGatewayV2.CreateDeployment

Description

Creates a Deployment for an API.

Synopsis

Creating a Request

data CreateDeployment Source #

Creates a new Deployment resource to represent a deployment.

See: newCreateDeployment smart constructor.

Constructors

CreateDeployment' 

Fields

Instances

Instances details
ToJSON CreateDeployment Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateDeployment

ToHeaders CreateDeployment Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateDeployment

ToPath CreateDeployment Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateDeployment

ToQuery CreateDeployment Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateDeployment

AWSRequest CreateDeployment Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateDeployment

Associated Types

type AWSResponse CreateDeployment #

Generic CreateDeployment Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateDeployment

Associated Types

type Rep CreateDeployment :: Type -> Type #

Read CreateDeployment Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateDeployment

Show CreateDeployment Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateDeployment

NFData CreateDeployment Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateDeployment

Methods

rnf :: CreateDeployment -> () #

Eq CreateDeployment Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateDeployment

Hashable CreateDeployment Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateDeployment

type AWSResponse CreateDeployment Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateDeployment

type Rep CreateDeployment Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateDeployment

type Rep CreateDeployment = D1 ('MetaData "CreateDeployment" "Amazonka.ApiGatewayV2.CreateDeployment" "amazonka-apigatewayv2-2.0-4MZ8oueToeLOWomgegceF" 'False) (C1 ('MetaCons "CreateDeployment'" 'PrefixI 'True) (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "stageName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "apiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newCreateDeployment Source #

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

CreateDeployment, createDeployment_description - The description for the deployment resource.

CreateDeployment, createDeployment_stageName - The name of the Stage resource for the Deployment resource to create.

CreateDeployment, createDeployment_apiId - The API identifier.

Request Lenses

createDeployment_description :: Lens' CreateDeployment (Maybe Text) Source #

The description for the deployment resource.

createDeployment_stageName :: Lens' CreateDeployment (Maybe Text) Source #

The name of the Stage resource for the Deployment resource to create.

Destructuring the Response

data CreateDeploymentResponse Source #

See: newCreateDeploymentResponse smart constructor.

Constructors

CreateDeploymentResponse' 

Fields

Instances

Instances details
Generic CreateDeploymentResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateDeployment

Associated Types

type Rep CreateDeploymentResponse :: Type -> Type #

Read CreateDeploymentResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateDeployment

Show CreateDeploymentResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateDeployment

NFData CreateDeploymentResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateDeployment

Eq CreateDeploymentResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateDeployment

type Rep CreateDeploymentResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateDeployment

type Rep CreateDeploymentResponse = D1 ('MetaData "CreateDeploymentResponse" "Amazonka.ApiGatewayV2.CreateDeployment" "amazonka-apigatewayv2-2.0-4MZ8oueToeLOWomgegceF" 'False) (C1 ('MetaCons "CreateDeploymentResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "autoDeployed") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "createdDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: S1 ('MetaSel ('Just "deploymentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "deploymentStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DeploymentStatus)) :*: S1 ('MetaSel ('Just "deploymentStatusMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newCreateDeploymentResponse Source #

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

CreateDeploymentResponse, createDeploymentResponse_autoDeployed - Specifies whether a deployment was automatically released.

CreateDeploymentResponse, createDeploymentResponse_createdDate - The date and time when the Deployment resource was created.

CreateDeploymentResponse, createDeploymentResponse_deploymentId - The identifier for the deployment.

CreateDeploymentResponse, createDeploymentResponse_deploymentStatus - The status of the deployment: PENDING, FAILED, or SUCCEEDED.

CreateDeploymentResponse, createDeploymentResponse_deploymentStatusMessage - May contain additional feedback on the status of an API deployment.

CreateDeployment, createDeploymentResponse_description - The description for the deployment.

$sel:httpStatus:CreateDeploymentResponse', createDeploymentResponse_httpStatus - The response's http status code.

Response Lenses

createDeploymentResponse_autoDeployed :: Lens' CreateDeploymentResponse (Maybe Bool) Source #

Specifies whether a deployment was automatically released.

createDeploymentResponse_createdDate :: Lens' CreateDeploymentResponse (Maybe UTCTime) Source #

The date and time when the Deployment resource was created.

createDeploymentResponse_deploymentStatus :: Lens' CreateDeploymentResponse (Maybe DeploymentStatus) Source #

The status of the deployment: PENDING, FAILED, or SUCCEEDED.

createDeploymentResponse_deploymentStatusMessage :: Lens' CreateDeploymentResponse (Maybe Text) Source #

May contain additional feedback on the status of an API deployment.