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.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
ToJSON UpdateDeployment Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.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

AWSRequest UpdateDeployment Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.UpdateDeployment

Associated Types

type AWSResponse UpdateDeployment #

Generic UpdateDeployment Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.UpdateDeployment

Associated Types

type Rep UpdateDeployment :: Type -> Type #

Read UpdateDeployment Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.UpdateDeployment

Show UpdateDeployment Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.UpdateDeployment

NFData UpdateDeployment Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.UpdateDeployment

Methods

rnf :: UpdateDeployment -> () #

Eq UpdateDeployment Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.UpdateDeployment

Hashable UpdateDeployment Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.UpdateDeployment

type AWSResponse 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" "amazonka-apigatewayv2-2.0-4MZ8oueToeLOWomgegceF" '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))))

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:

UpdateDeployment, updateDeployment_description - The description for the deployment resource.

UpdateDeployment, updateDeployment_apiId - The API identifier.

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
Generic UpdateDeploymentResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.UpdateDeployment

Associated Types

type Rep UpdateDeploymentResponse :: Type -> Type #

Read UpdateDeploymentResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.UpdateDeployment

Show UpdateDeploymentResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.UpdateDeployment

NFData UpdateDeploymentResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.UpdateDeployment

Eq 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" "amazonka-apigatewayv2-2.0-4MZ8oueToeLOWomgegceF" 'False) (C1 ('MetaCons "UpdateDeploymentResponse'" '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)))))

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:

UpdateDeploymentResponse, updateDeploymentResponse_autoDeployed - Specifies whether a deployment was automatically released.

UpdateDeploymentResponse, updateDeploymentResponse_createdDate - The date and time when the Deployment resource was created.

UpdateDeployment, updateDeploymentResponse_deploymentId - The identifier for the deployment.

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

UpdateDeploymentResponse, updateDeploymentResponse_deploymentStatusMessage - May contain additional feedback on the status of an API deployment.

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

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

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