libZSservicesZSamazonka-apigatewayv2ZSamazonka-apigatewayv2
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq CreateDeployment Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateDeployment

Read CreateDeployment Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateDeployment

Show CreateDeployment Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateDeployment

Generic CreateDeployment Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateDeployment

Associated Types

type Rep CreateDeployment :: Type -> Type #

NFData CreateDeployment Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateDeployment

Methods

rnf :: CreateDeployment -> () #

Hashable CreateDeployment Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateDeployment

ToJSON CreateDeployment Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateDeployment

AWSRequest CreateDeployment Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateDeployment

Associated Types

type AWSResponse 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

type Rep CreateDeployment Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateDeployment

type Rep CreateDeployment = D1 ('MetaData "CreateDeployment" "Amazonka.ApiGatewayV2.CreateDeployment" "libZSservicesZSamazonka-apigatewayv2ZSamazonka-apigatewayv2" 'False) (C1 ('MetaCons "CreateDeployment'" 'PrefixI 'True) (S1 ('MetaSel ('Just "stageName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "apiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse CreateDeployment Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateDeployment

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:

$sel:stageName:CreateDeployment', createDeployment_stageName - The name of the Stage resource for the Deployment resource to create.

$sel:description:CreateDeployment', createDeployment_description - The description for the deployment resource.

$sel:apiId:CreateDeployment', createDeployment_apiId - The API identifier.

Request Lenses

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

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

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

The description for the deployment resource.

Destructuring the Response

data CreateDeploymentResponse Source #

See: newCreateDeploymentResponse smart constructor.

Constructors

CreateDeploymentResponse' 

Fields

Instances

Instances details
Eq CreateDeploymentResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateDeployment

Read CreateDeploymentResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateDeployment

Show CreateDeploymentResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateDeployment

Generic CreateDeploymentResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.CreateDeployment

Associated Types

type Rep CreateDeploymentResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-apigatewayv2ZSamazonka-apigatewayv2" 'False) (C1 ('MetaCons "CreateDeploymentResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "deploymentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "autoDeployed") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "deploymentStatusMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "createdDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "deploymentStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DeploymentStatus))) :*: (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:

$sel:deploymentId:CreateDeploymentResponse', createDeploymentResponse_deploymentId - The identifier for the deployment.

$sel:autoDeployed:CreateDeploymentResponse', createDeploymentResponse_autoDeployed - Specifies whether a deployment was automatically released.

$sel:deploymentStatusMessage:CreateDeploymentResponse', createDeploymentResponse_deploymentStatusMessage - May contain additional feedback on the status of an API deployment.

$sel:createdDate:CreateDeploymentResponse', createDeploymentResponse_createdDate - The date and time when the Deployment resource was created.

$sel:deploymentStatus:CreateDeploymentResponse', createDeploymentResponse_deploymentStatus - The status of the deployment: PENDING, FAILED, or SUCCEEDED.

$sel:description: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_deploymentStatusMessage :: Lens' CreateDeploymentResponse (Maybe Text) Source #

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

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.