libZSservicesZSamazonka-protonZSamazonka-proton
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.Proton.DeleteServiceTemplate

Description

If no other major or minor versions of the service template exist, delete the service template.

Synopsis

Creating a Request

data DeleteServiceTemplate Source #

See: newDeleteServiceTemplate smart constructor.

Constructors

DeleteServiceTemplate' 

Fields

  • name :: Text

    The name of the service template to delete.

Instances

Instances details
Eq DeleteServiceTemplate Source # 
Instance details

Defined in Amazonka.Proton.DeleteServiceTemplate

Read DeleteServiceTemplate Source # 
Instance details

Defined in Amazonka.Proton.DeleteServiceTemplate

Show DeleteServiceTemplate Source # 
Instance details

Defined in Amazonka.Proton.DeleteServiceTemplate

Generic DeleteServiceTemplate Source # 
Instance details

Defined in Amazonka.Proton.DeleteServiceTemplate

Associated Types

type Rep DeleteServiceTemplate :: Type -> Type #

NFData DeleteServiceTemplate Source # 
Instance details

Defined in Amazonka.Proton.DeleteServiceTemplate

Methods

rnf :: DeleteServiceTemplate -> () #

Hashable DeleteServiceTemplate Source # 
Instance details

Defined in Amazonka.Proton.DeleteServiceTemplate

ToJSON DeleteServiceTemplate Source # 
Instance details

Defined in Amazonka.Proton.DeleteServiceTemplate

AWSRequest DeleteServiceTemplate Source # 
Instance details

Defined in Amazonka.Proton.DeleteServiceTemplate

Associated Types

type AWSResponse DeleteServiceTemplate #

ToHeaders DeleteServiceTemplate Source # 
Instance details

Defined in Amazonka.Proton.DeleteServiceTemplate

ToPath DeleteServiceTemplate Source # 
Instance details

Defined in Amazonka.Proton.DeleteServiceTemplate

ToQuery DeleteServiceTemplate Source # 
Instance details

Defined in Amazonka.Proton.DeleteServiceTemplate

type Rep DeleteServiceTemplate Source # 
Instance details

Defined in Amazonka.Proton.DeleteServiceTemplate

type Rep DeleteServiceTemplate = D1 ('MetaData "DeleteServiceTemplate" "Amazonka.Proton.DeleteServiceTemplate" "libZSservicesZSamazonka-protonZSamazonka-proton" 'False) (C1 ('MetaCons "DeleteServiceTemplate'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteServiceTemplate Source # 
Instance details

Defined in Amazonka.Proton.DeleteServiceTemplate

newDeleteServiceTemplate Source #

Create a value of DeleteServiceTemplate 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:name:DeleteServiceTemplate', deleteServiceTemplate_name - The name of the service template to delete.

Request Lenses

deleteServiceTemplate_name :: Lens' DeleteServiceTemplate Text Source #

The name of the service template to delete.

Destructuring the Response

data DeleteServiceTemplateResponse Source #

See: newDeleteServiceTemplateResponse smart constructor.

Constructors

DeleteServiceTemplateResponse' 

Fields

Instances

Instances details
Eq DeleteServiceTemplateResponse Source # 
Instance details

Defined in Amazonka.Proton.DeleteServiceTemplate

Show DeleteServiceTemplateResponse Source # 
Instance details

Defined in Amazonka.Proton.DeleteServiceTemplate

Generic DeleteServiceTemplateResponse Source # 
Instance details

Defined in Amazonka.Proton.DeleteServiceTemplate

Associated Types

type Rep DeleteServiceTemplateResponse :: Type -> Type #

NFData DeleteServiceTemplateResponse Source # 
Instance details

Defined in Amazonka.Proton.DeleteServiceTemplate

type Rep DeleteServiceTemplateResponse Source # 
Instance details

Defined in Amazonka.Proton.DeleteServiceTemplate

type Rep DeleteServiceTemplateResponse = D1 ('MetaData "DeleteServiceTemplateResponse" "Amazonka.Proton.DeleteServiceTemplate" "libZSservicesZSamazonka-protonZSamazonka-proton" 'False) (C1 ('MetaCons "DeleteServiceTemplateResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "serviceTemplate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ServiceTemplate)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteServiceTemplateResponse Source #

Create a value of DeleteServiceTemplateResponse 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:serviceTemplate:DeleteServiceTemplateResponse', deleteServiceTemplateResponse_serviceTemplate - The service template detail data that's returned by AWS Proton.

$sel:httpStatus:DeleteServiceTemplateResponse', deleteServiceTemplateResponse_httpStatus - The response's http status code.

Response Lenses

deleteServiceTemplateResponse_serviceTemplate :: Lens' DeleteServiceTemplateResponse (Maybe ServiceTemplate) Source #

The service template detail data that's returned by AWS Proton.