amazonka-proton-2.0: Amazon Proton 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.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
ToJSON DeleteServiceTemplate Source # 
Instance details

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

AWSRequest DeleteServiceTemplate Source # 
Instance details

Defined in Amazonka.Proton.DeleteServiceTemplate

Associated Types

type AWSResponse DeleteServiceTemplate #

Generic DeleteServiceTemplate Source # 
Instance details

Defined in Amazonka.Proton.DeleteServiceTemplate

Associated Types

type Rep DeleteServiceTemplate :: Type -> Type #

Read DeleteServiceTemplate Source # 
Instance details

Defined in Amazonka.Proton.DeleteServiceTemplate

Show DeleteServiceTemplate Source # 
Instance details

Defined in Amazonka.Proton.DeleteServiceTemplate

NFData DeleteServiceTemplate Source # 
Instance details

Defined in Amazonka.Proton.DeleteServiceTemplate

Methods

rnf :: DeleteServiceTemplate -> () #

Eq DeleteServiceTemplate Source # 
Instance details

Defined in Amazonka.Proton.DeleteServiceTemplate

Hashable DeleteServiceTemplate Source # 
Instance details

Defined in Amazonka.Proton.DeleteServiceTemplate

type AWSResponse 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" "amazonka-proton-2.0-LlJ92rKPVfGGXHsLqGeI74" 'False) (C1 ('MetaCons "DeleteServiceTemplate'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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:

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

Defined in Amazonka.Proton.DeleteServiceTemplate

Associated Types

type Rep DeleteServiceTemplateResponse :: Type -> Type #

Show DeleteServiceTemplateResponse Source # 
Instance details

Defined in Amazonka.Proton.DeleteServiceTemplate

NFData DeleteServiceTemplateResponse Source # 
Instance details

Defined in Amazonka.Proton.DeleteServiceTemplate

Eq 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" "amazonka-proton-2.0-LlJ92rKPVfGGXHsLqGeI74" '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 detailed data of the service template being deleted.

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

Response Lenses