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

Description

Delete an Proton component resource.

For more information about components, see Proton components in the Proton User Guide.

Synopsis

Creating a Request

data DeleteComponent Source #

See: newDeleteComponent smart constructor.

Constructors

DeleteComponent' 

Fields

  • name :: Text

    The name of the component to delete.

Instances

Instances details
ToJSON DeleteComponent Source # 
Instance details

Defined in Amazonka.Proton.DeleteComponent

ToHeaders DeleteComponent Source # 
Instance details

Defined in Amazonka.Proton.DeleteComponent

ToPath DeleteComponent Source # 
Instance details

Defined in Amazonka.Proton.DeleteComponent

ToQuery DeleteComponent Source # 
Instance details

Defined in Amazonka.Proton.DeleteComponent

AWSRequest DeleteComponent Source # 
Instance details

Defined in Amazonka.Proton.DeleteComponent

Associated Types

type AWSResponse DeleteComponent #

Generic DeleteComponent Source # 
Instance details

Defined in Amazonka.Proton.DeleteComponent

Associated Types

type Rep DeleteComponent :: Type -> Type #

Read DeleteComponent Source # 
Instance details

Defined in Amazonka.Proton.DeleteComponent

Show DeleteComponent Source # 
Instance details

Defined in Amazonka.Proton.DeleteComponent

NFData DeleteComponent Source # 
Instance details

Defined in Amazonka.Proton.DeleteComponent

Methods

rnf :: DeleteComponent -> () #

Eq DeleteComponent Source # 
Instance details

Defined in Amazonka.Proton.DeleteComponent

Hashable DeleteComponent Source # 
Instance details

Defined in Amazonka.Proton.DeleteComponent

type AWSResponse DeleteComponent Source # 
Instance details

Defined in Amazonka.Proton.DeleteComponent

type Rep DeleteComponent Source # 
Instance details

Defined in Amazonka.Proton.DeleteComponent

type Rep DeleteComponent = D1 ('MetaData "DeleteComponent" "Amazonka.Proton.DeleteComponent" "amazonka-proton-2.0-LlJ92rKPVfGGXHsLqGeI74" 'False) (C1 ('MetaCons "DeleteComponent'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeleteComponent Source #

Create a value of DeleteComponent 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:

DeleteComponent, deleteComponent_name - The name of the component to delete.

Request Lenses

deleteComponent_name :: Lens' DeleteComponent Text Source #

The name of the component to delete.

Destructuring the Response

data DeleteComponentResponse Source #

See: newDeleteComponentResponse smart constructor.

Constructors

DeleteComponentResponse' 

Fields

Instances

Instances details
Generic DeleteComponentResponse Source # 
Instance details

Defined in Amazonka.Proton.DeleteComponent

Associated Types

type Rep DeleteComponentResponse :: Type -> Type #

Show DeleteComponentResponse Source # 
Instance details

Defined in Amazonka.Proton.DeleteComponent

NFData DeleteComponentResponse Source # 
Instance details

Defined in Amazonka.Proton.DeleteComponent

Methods

rnf :: DeleteComponentResponse -> () #

Eq DeleteComponentResponse Source # 
Instance details

Defined in Amazonka.Proton.DeleteComponent

type Rep DeleteComponentResponse Source # 
Instance details

Defined in Amazonka.Proton.DeleteComponent

type Rep DeleteComponentResponse = D1 ('MetaData "DeleteComponentResponse" "Amazonka.Proton.DeleteComponent" "amazonka-proton-2.0-LlJ92rKPVfGGXHsLqGeI74" 'False) (C1 ('MetaCons "DeleteComponentResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "component") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Component)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteComponentResponse Source #

Create a value of DeleteComponentResponse 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:component:DeleteComponentResponse', deleteComponentResponse_component - The detailed data of the component being deleted.

$sel:httpStatus:DeleteComponentResponse', deleteComponentResponse_httpStatus - The response's http status code.

Response Lenses

deleteComponentResponse_component :: Lens' DeleteComponentResponse (Maybe Component) Source #

The detailed data of the component being deleted.