libZSservicesZSamazonka-apigatewayZSamazonka-apigateway
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.APIGateway.DeleteModel

Description

Deletes a model.

Synopsis

Creating a Request

data DeleteModel Source #

Request to delete an existing model in an existing RestApi resource.

See: newDeleteModel smart constructor.

Constructors

DeleteModel' 

Fields

  • restApiId :: Text
    Required
    The string identifier of the associated RestApi.
  • modelName :: Text
    Required
    The name of the model to delete.

Instances

Instances details
Eq DeleteModel Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteModel

Read DeleteModel Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteModel

Show DeleteModel Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteModel

Generic DeleteModel Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteModel

Associated Types

type Rep DeleteModel :: Type -> Type #

NFData DeleteModel Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteModel

Methods

rnf :: DeleteModel -> () #

Hashable DeleteModel Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteModel

AWSRequest DeleteModel Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteModel

Associated Types

type AWSResponse DeleteModel #

ToHeaders DeleteModel Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteModel

Methods

toHeaders :: DeleteModel -> [Header] #

ToPath DeleteModel Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteModel

ToQuery DeleteModel Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteModel

type Rep DeleteModel Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteModel

type Rep DeleteModel = D1 ('MetaData "DeleteModel" "Amazonka.APIGateway.DeleteModel" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "DeleteModel'" 'PrefixI 'True) (S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "modelName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteModel Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteModel

newDeleteModel Source #

Create a value of DeleteModel 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:restApiId:DeleteModel', deleteModel_restApiId - [Required] The string identifier of the associated RestApi.

$sel:modelName:DeleteModel', deleteModel_modelName - [Required] The name of the model to delete.

Request Lenses

deleteModel_restApiId :: Lens' DeleteModel Text Source #

Required
The string identifier of the associated RestApi.

deleteModel_modelName :: Lens' DeleteModel Text Source #

Required
The name of the model to delete.

Destructuring the Response

data DeleteModelResponse Source #

See: newDeleteModelResponse smart constructor.

Constructors

DeleteModelResponse' 

Instances

Instances details
Eq DeleteModelResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteModel

Read DeleteModelResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteModel

Show DeleteModelResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteModel

Generic DeleteModelResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteModel

Associated Types

type Rep DeleteModelResponse :: Type -> Type #

NFData DeleteModelResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteModel

Methods

rnf :: DeleteModelResponse -> () #

type Rep DeleteModelResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteModel

type Rep DeleteModelResponse = D1 ('MetaData "DeleteModelResponse" "Amazonka.APIGateway.DeleteModel" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "DeleteModelResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteModelResponse :: DeleteModelResponse Source #

Create a value of DeleteModelResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.