libZSservicesZSamazonka-servicecatalogZSamazonka-servicecatalog
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.ServiceCatalog.DeletePortfolio

Description

Deletes the specified portfolio.

You cannot delete a portfolio if it was shared with you or if it has associated products, users, constraints, or shared accounts.

A delegated admin is authorized to invoke this command.

Synopsis

Creating a Request

data DeletePortfolio Source #

See: newDeletePortfolio smart constructor.

Constructors

DeletePortfolio' 

Fields

Instances

Instances details
Eq DeletePortfolio Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeletePortfolio

Read DeletePortfolio Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeletePortfolio

Show DeletePortfolio Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeletePortfolio

Generic DeletePortfolio Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeletePortfolio

Associated Types

type Rep DeletePortfolio :: Type -> Type #

NFData DeletePortfolio Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeletePortfolio

Methods

rnf :: DeletePortfolio -> () #

Hashable DeletePortfolio Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeletePortfolio

ToJSON DeletePortfolio Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeletePortfolio

AWSRequest DeletePortfolio Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeletePortfolio

Associated Types

type AWSResponse DeletePortfolio #

ToHeaders DeletePortfolio Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeletePortfolio

ToPath DeletePortfolio Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeletePortfolio

ToQuery DeletePortfolio Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeletePortfolio

type Rep DeletePortfolio Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeletePortfolio

type Rep DeletePortfolio = D1 ('MetaData "DeletePortfolio" "Amazonka.ServiceCatalog.DeletePortfolio" "libZSservicesZSamazonka-servicecatalogZSamazonka-servicecatalog" 'False) (C1 ('MetaCons "DeletePortfolio'" 'PrefixI 'True) (S1 ('MetaSel ('Just "acceptLanguage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeletePortfolio Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeletePortfolio

newDeletePortfolio Source #

Create a value of DeletePortfolio 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:DeletePortfolio', deletePortfolio_acceptLanguage - The language code.

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

$sel:id:DeletePortfolio', deletePortfolio_id - The portfolio identifier.

Request Lenses

deletePortfolio_acceptLanguage :: Lens' DeletePortfolio (Maybe Text) Source #

The language code.

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

deletePortfolio_id :: Lens' DeletePortfolio Text Source #

The portfolio identifier.

Destructuring the Response

data DeletePortfolioResponse Source #

See: newDeletePortfolioResponse smart constructor.

Constructors

DeletePortfolioResponse' 

Fields

Instances

Instances details
Eq DeletePortfolioResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeletePortfolio

Read DeletePortfolioResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeletePortfolio

Show DeletePortfolioResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeletePortfolio

Generic DeletePortfolioResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeletePortfolio

Associated Types

type Rep DeletePortfolioResponse :: Type -> Type #

NFData DeletePortfolioResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeletePortfolio

Methods

rnf :: DeletePortfolioResponse -> () #

type Rep DeletePortfolioResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeletePortfolio

type Rep DeletePortfolioResponse = D1 ('MetaData "DeletePortfolioResponse" "Amazonka.ServiceCatalog.DeletePortfolio" "libZSservicesZSamazonka-servicecatalogZSamazonka-servicecatalog" 'False) (C1 ('MetaCons "DeletePortfolioResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeletePortfolioResponse Source #

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

Response Lenses