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.Types.Deployment

Description

 
Synopsis

Documentation

data Deployment Source #

An immutable representation of an API that can be called by users. A Deployment must be associated with a Stage for it to be callable over the internet.

See: newDeployment smart constructor.

Constructors

Deployment' 

Fields

Instances

Instances details
Eq Deployment Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.Deployment

Read Deployment Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.Deployment

Show Deployment Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.Deployment

Generic Deployment Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.Deployment

Associated Types

type Rep Deployment :: Type -> Type #

NFData Deployment Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.Deployment

Methods

rnf :: Deployment -> () #

Hashable Deployment Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.Deployment

FromJSON Deployment Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.Deployment

type Rep Deployment Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.Deployment

type Rep Deployment = D1 ('MetaData "Deployment" "Amazonka.ApiGatewayV2.Types.Deployment" "libZSservicesZSamazonka-apigatewayv2ZSamazonka-apigatewayv2" 'False) (C1 ('MetaCons "Deployment'" '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))))))

newDeployment :: Deployment Source #

Create a value of Deployment 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:Deployment', deployment_deploymentId - The identifier for the deployment.

$sel:autoDeployed:Deployment', deployment_autoDeployed - Specifies whether a deployment was automatically released.

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

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

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

$sel:description:Deployment', deployment_description - The description for the deployment.

deployment_deploymentId :: Lens' Deployment (Maybe Text) Source #

The identifier for the deployment.

deployment_autoDeployed :: Lens' Deployment (Maybe Bool) Source #

Specifies whether a deployment was automatically released.

deployment_deploymentStatusMessage :: Lens' Deployment (Maybe Text) Source #

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

deployment_createdDate :: Lens' Deployment (Maybe UTCTime) Source #

The date and time when the Deployment resource was created.

deployment_deploymentStatus :: Lens' Deployment (Maybe DeploymentStatus) Source #

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

deployment_description :: Lens' Deployment (Maybe Text) Source #

The description for the deployment.