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

Description

Gets a Deployment.

Synopsis

Creating a Request

data GetDeployment Source #

See: newGetDeployment smart constructor.

Constructors

GetDeployment' 

Fields

Instances

Instances details
ToHeaders GetDeployment Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetDeployment

ToPath GetDeployment Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetDeployment

ToQuery GetDeployment Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetDeployment

AWSRequest GetDeployment Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetDeployment

Associated Types

type AWSResponse GetDeployment #

Generic GetDeployment Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetDeployment

Associated Types

type Rep GetDeployment :: Type -> Type #

Read GetDeployment Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetDeployment

Show GetDeployment Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetDeployment

NFData GetDeployment Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetDeployment

Methods

rnf :: GetDeployment -> () #

Eq GetDeployment Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetDeployment

Hashable GetDeployment Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetDeployment

type AWSResponse GetDeployment Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetDeployment

type Rep GetDeployment Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetDeployment

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

newGetDeployment Source #

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

GetDeployment, getDeployment_apiId - The API identifier.

GetDeployment, getDeployment_deploymentId - The deployment ID.

Request Lenses

Destructuring the Response

data GetDeploymentResponse Source #

See: newGetDeploymentResponse smart constructor.

Constructors

GetDeploymentResponse' 

Fields

Instances

Instances details
Generic GetDeploymentResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetDeployment

Associated Types

type Rep GetDeploymentResponse :: Type -> Type #

Read GetDeploymentResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetDeployment

Show GetDeploymentResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetDeployment

NFData GetDeploymentResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetDeployment

Methods

rnf :: GetDeploymentResponse -> () #

Eq GetDeploymentResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetDeployment

type Rep GetDeploymentResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.GetDeployment

type Rep GetDeploymentResponse = D1 ('MetaData "GetDeploymentResponse" "Amazonka.ApiGatewayV2.GetDeployment" "amazonka-apigatewayv2-2.0-4MZ8oueToeLOWomgegceF" 'False) (C1 ('MetaCons "GetDeploymentResponse'" '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)))))

newGetDeploymentResponse Source #

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

GetDeploymentResponse, getDeploymentResponse_autoDeployed - Specifies whether a deployment was automatically released.

GetDeploymentResponse, getDeploymentResponse_createdDate - The date and time when the Deployment resource was created.

GetDeployment, getDeploymentResponse_deploymentId - The identifier for the deployment.

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

GetDeploymentResponse, getDeploymentResponse_deploymentStatusMessage - May contain additional feedback on the status of an API deployment.

GetDeploymentResponse, getDeploymentResponse_description - The description for the deployment.

$sel:httpStatus:GetDeploymentResponse', getDeploymentResponse_httpStatus - The response's http status code.

Response Lenses

getDeploymentResponse_autoDeployed :: Lens' GetDeploymentResponse (Maybe Bool) Source #

Specifies whether a deployment was automatically released.

getDeploymentResponse_createdDate :: Lens' GetDeploymentResponse (Maybe UTCTime) Source #

The date and time when the Deployment resource was created.

getDeploymentResponse_deploymentStatus :: Lens' GetDeploymentResponse (Maybe DeploymentStatus) Source #

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

getDeploymentResponse_deploymentStatusMessage :: Lens' GetDeploymentResponse (Maybe Text) Source #

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