amazonka-apigateway-2.0: Amazon API Gateway 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.APIGateway.UpdateDeployment

Description

Changes information about a Deployment resource.

Synopsis

Creating a Request

data UpdateDeployment Source #

Requests API Gateway to change information about a Deployment resource.

See: newUpdateDeployment smart constructor.

Constructors

UpdateDeployment' 

Fields

Instances

Instances details
ToJSON UpdateDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateDeployment

ToHeaders UpdateDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateDeployment

ToPath UpdateDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateDeployment

ToQuery UpdateDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateDeployment

AWSRequest UpdateDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateDeployment

Associated Types

type AWSResponse UpdateDeployment #

Generic UpdateDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateDeployment

Associated Types

type Rep UpdateDeployment :: Type -> Type #

Read UpdateDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateDeployment

Show UpdateDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateDeployment

NFData UpdateDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateDeployment

Methods

rnf :: UpdateDeployment -> () #

Eq UpdateDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateDeployment

Hashable UpdateDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateDeployment

type AWSResponse UpdateDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateDeployment

type Rep UpdateDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.UpdateDeployment

type Rep UpdateDeployment = D1 ('MetaData "UpdateDeployment" "Amazonka.APIGateway.UpdateDeployment" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'False) (C1 ('MetaCons "UpdateDeployment'" 'PrefixI 'True) (S1 ('MetaSel ('Just "patchOperations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PatchOperation])) :*: (S1 ('MetaSel ('Just "restApiId") '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:

$sel:patchOperations:UpdateDeployment', updateDeployment_patchOperations - For more information about supported patch operations, see Patch Operations.

UpdateDeployment, updateDeployment_restApiId - The string identifier of the associated RestApi.

UpdateDeployment, updateDeployment_deploymentId - The replacement identifier for the Deployment resource to change information about.

Request Lenses

updateDeployment_patchOperations :: Lens' UpdateDeployment (Maybe [PatchOperation]) Source #

For more information about supported patch operations, see Patch Operations.

updateDeployment_restApiId :: Lens' UpdateDeployment Text Source #

The string identifier of the associated RestApi.

updateDeployment_deploymentId :: Lens' UpdateDeployment Text Source #

The replacement identifier for the Deployment resource to change information about.

Destructuring the Response

data Deployment Source #

An immutable representation of a RestApi resource that can be called by users using Stages. 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
FromJSON Deployment Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Deployment

Generic Deployment Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Deployment

Associated Types

type Rep Deployment :: Type -> Type #

Read Deployment Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Deployment

Show Deployment Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Deployment

NFData Deployment Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Deployment

Methods

rnf :: Deployment -> () #

Eq Deployment Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Deployment

Hashable Deployment Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Deployment

type Rep Deployment Source # 
Instance details

Defined in Amazonka.APIGateway.Types.Deployment

type Rep Deployment = D1 ('MetaData "Deployment" "Amazonka.APIGateway.Types.Deployment" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'False) (C1 ('MetaCons "Deployment'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "apiSummary") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text (HashMap Text MethodSnapshot)))) :*: S1 ('MetaSel ('Just "createdDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "id") '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:apiSummary:Deployment', deployment_apiSummary - A summary of the RestApi at the date and time that the deployment resource was created.

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

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

$sel:id:Deployment', deployment_id - The identifier for the deployment resource.

Response Lenses

deployment_apiSummary :: Lens' Deployment (Maybe (HashMap Text (HashMap Text MethodSnapshot))) Source #

A summary of the RestApi at the date and time that the deployment resource was created.

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

The date and time that the deployment resource was created.

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

The description for the deployment resource.

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

The identifier for the deployment resource.