amazonka-servicecatalog-2.0: Amazon Service Catalog 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.ServiceCatalog.DeleteProduct

Description

Deletes the specified product.

You cannot delete a product if it was shared with you or is associated with a portfolio.

A delegated admin is authorized to invoke this command.

Synopsis

Creating a Request

data DeleteProduct Source #

See: newDeleteProduct smart constructor.

Constructors

DeleteProduct' 

Fields

Instances

Instances details
ToJSON DeleteProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeleteProduct

ToHeaders DeleteProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeleteProduct

ToPath DeleteProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeleteProduct

ToQuery DeleteProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeleteProduct

AWSRequest DeleteProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeleteProduct

Associated Types

type AWSResponse DeleteProduct #

Generic DeleteProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeleteProduct

Associated Types

type Rep DeleteProduct :: Type -> Type #

Read DeleteProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeleteProduct

Show DeleteProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeleteProduct

NFData DeleteProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeleteProduct

Methods

rnf :: DeleteProduct -> () #

Eq DeleteProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeleteProduct

Hashable DeleteProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeleteProduct

type AWSResponse DeleteProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeleteProduct

type Rep DeleteProduct Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeleteProduct

type Rep DeleteProduct = D1 ('MetaData "DeleteProduct" "Amazonka.ServiceCatalog.DeleteProduct" "amazonka-servicecatalog-2.0-HQc7wwDA1XY4nlo6issXoI" 'False) (C1 ('MetaCons "DeleteProduct'" 'PrefixI 'True) (S1 ('MetaSel ('Just "acceptLanguage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeleteProduct Source #

Create a value of DeleteProduct 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:acceptLanguage:DeleteProduct', deleteProduct_acceptLanguage - The language code.

  • en - English (default)
  • jp - Japanese
  • zh - Chinese

DeleteProduct, deleteProduct_id - The product identifier.

Request Lenses

deleteProduct_acceptLanguage :: Lens' DeleteProduct (Maybe Text) Source #

The language code.

  • en - English (default)
  • jp - Japanese
  • zh - Chinese

deleteProduct_id :: Lens' DeleteProduct Text Source #

The product identifier.

Destructuring the Response

data DeleteProductResponse Source #

See: newDeleteProductResponse smart constructor.

Constructors

DeleteProductResponse' 

Fields

Instances

Instances details
Generic DeleteProductResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeleteProduct

Associated Types

type Rep DeleteProductResponse :: Type -> Type #

Read DeleteProductResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeleteProduct

Show DeleteProductResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeleteProduct

NFData DeleteProductResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeleteProduct

Methods

rnf :: DeleteProductResponse -> () #

Eq DeleteProductResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeleteProduct

type Rep DeleteProductResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeleteProduct

type Rep DeleteProductResponse = D1 ('MetaData "DeleteProductResponse" "Amazonka.ServiceCatalog.DeleteProduct" "amazonka-servicecatalog-2.0-HQc7wwDA1XY4nlo6issXoI" 'False) (C1 ('MetaCons "DeleteProductResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteProductResponse Source #

Create a value of DeleteProductResponse 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:httpStatus:DeleteProductResponse', deleteProductResponse_httpStatus - The response's http status code.

Response Lenses