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

Description

Updates a Deployment.

Synopsis

Creating a Request

data UpdateDeployment Source #

Updates a Deployment.

See: newUpdateDeployment smart constructor.

Constructors

UpdateDeployment' 

Fields

Instances

Instances details
Eq UpdateDeployment Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.UpdateDeployment

Read UpdateDeployment Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.UpdateDeployment

Show UpdateDeployment Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.UpdateDeployment

Generic UpdateDeployment Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.UpdateDeployment

Associated Types

type Rep UpdateDeployment :: Type -> Type #

NFData UpdateDeployment Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.UpdateDeployment

Methods

rnf :: UpdateDeployment -> () #

Hashable UpdateDeployment Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.UpdateDeployment

ToJSON UpdateDeployment Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.UpdateDeployment

AWSRequest UpdateDeployment Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.UpdateDeployment

Associated Types

type AWSResponse UpdateDeployment #

ToHeaders UpdateDeployment Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.UpdateDeployment

ToPath UpdateDeployment Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.UpdateDeployment

ToQuery UpdateDeployment Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.UpdateDeployment

type Rep UpdateDeployment Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.UpdateDeployment

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

Defined in Amazonka.ApiGatewayV2.UpdateDeployment

newUpdateDeployment Source #

Create a value of UpdateDeployment 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:description:UpdateDeployment', updateDeployment_description - The description for the deployment resource.

$sel:apiId:UpdateDeployment', updateDeployment_apiId - The API identifier.

$sel:deploymentId:UpdateDeployment', updateDeployment_deploymentId - The deployment ID.

Request Lenses

updateDeployment_description :: Lens' UpdateDeployment (Maybe Text) Source #

The description for the deployment resource.

Destructuring the Response

data UpdateDeploymentResponse Source #

See: newUpdateDeploymentResponse smart constructor.

Constructors

UpdateDeploymentResponse' 

Fields

Instances

Instances details
Eq UpdateDeploymentResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.UpdateDeployment

Read UpdateDeploymentResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.UpdateDeployment

Show UpdateDeploymentResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.UpdateDeployment

Generic UpdateDeploymentResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.UpdateDeployment

Associated Types

type Rep UpdateDeploymentResponse :: Type -> Type #

NFData UpdateDeploymentResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.UpdateDeployment

type Rep UpdateDeploymentResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.UpdateDeployment

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

newUpdateDeploymentResponse Source #

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

$sel:autoDeployed:UpdateDeploymentResponse', updateDeploymentResponse_autoDeployed - Specifies whether a deployment was automatically released.

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

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

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

$sel:description:UpdateDeployment', updateDeploymentResponse_description - The description for the deployment.

$sel:httpStatus:UpdateDeploymentResponse', updateDeploymentResponse_httpStatus - The response's http status code.

Response Lenses

updateDeploymentResponse_autoDeployed :: Lens' UpdateDeploymentResponse (Maybe Bool) Source #

Specifies whether a deployment was automatically released.

updateDeploymentResponse_deploymentStatusMessage :: Lens' UpdateDeploymentResponse (Maybe Text) Source #

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

updateDeploymentResponse_createdDate :: Lens' UpdateDeploymentResponse (Maybe UTCTime) Source #

The date and time when the Deployment resource was created.

updateDeploymentResponse_deploymentStatus :: Lens' UpdateDeploymentResponse (Maybe DeploymentStatus) Source #

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