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

Description

Stops sharing the specified portfolio with the specified account or organization node. Shares to an organization node can only be deleted by the management account of an organization or by a delegated administrator.

Note that if a delegated admin is de-registered, portfolio shares created from that account are removed.

Synopsis

Creating a Request

data DeletePortfolioShare Source #

See: newDeletePortfolioShare smart constructor.

Constructors

DeletePortfolioShare' 

Fields

Instances

Instances details
ToJSON DeletePortfolioShare Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeletePortfolioShare

ToHeaders DeletePortfolioShare Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeletePortfolioShare

ToPath DeletePortfolioShare Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeletePortfolioShare

ToQuery DeletePortfolioShare Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeletePortfolioShare

AWSRequest DeletePortfolioShare Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeletePortfolioShare

Associated Types

type AWSResponse DeletePortfolioShare #

Generic DeletePortfolioShare Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeletePortfolioShare

Associated Types

type Rep DeletePortfolioShare :: Type -> Type #

Read DeletePortfolioShare Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeletePortfolioShare

Show DeletePortfolioShare Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeletePortfolioShare

NFData DeletePortfolioShare Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeletePortfolioShare

Methods

rnf :: DeletePortfolioShare -> () #

Eq DeletePortfolioShare Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeletePortfolioShare

Hashable DeletePortfolioShare Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeletePortfolioShare

type AWSResponse DeletePortfolioShare Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeletePortfolioShare

type Rep DeletePortfolioShare Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeletePortfolioShare

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

newDeletePortfolioShare Source #

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

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

$sel:accountId:DeletePortfolioShare', deletePortfolioShare_accountId - The Amazon Web Services account ID.

$sel:organizationNode:DeletePortfolioShare', deletePortfolioShare_organizationNode - The organization node to whom you are going to stop sharing.

DeletePortfolioShare, deletePortfolioShare_portfolioId - The portfolio identifier.

Request Lenses

deletePortfolioShare_acceptLanguage :: Lens' DeletePortfolioShare (Maybe Text) Source #

The language code.

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

deletePortfolioShare_organizationNode :: Lens' DeletePortfolioShare (Maybe OrganizationNode) Source #

The organization node to whom you are going to stop sharing.

Destructuring the Response

data DeletePortfolioShareResponse Source #

See: newDeletePortfolioShareResponse smart constructor.

Constructors

DeletePortfolioShareResponse' 

Fields

Instances

Instances details
Generic DeletePortfolioShareResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeletePortfolioShare

Associated Types

type Rep DeletePortfolioShareResponse :: Type -> Type #

Read DeletePortfolioShareResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeletePortfolioShare

Show DeletePortfolioShareResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeletePortfolioShare

NFData DeletePortfolioShareResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeletePortfolioShare

Eq DeletePortfolioShareResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeletePortfolioShare

type Rep DeletePortfolioShareResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeletePortfolioShare

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

newDeletePortfolioShareResponse Source #

Create a value of DeletePortfolioShareResponse 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:portfolioShareToken:DeletePortfolioShareResponse', deletePortfolioShareResponse_portfolioShareToken - The portfolio share unique identifier. This will only be returned if delete is made to an organization node.

$sel:httpStatus:DeletePortfolioShareResponse', deletePortfolioShareResponse_httpStatus - The response's http status code.

Response Lenses

deletePortfolioShareResponse_portfolioShareToken :: Lens' DeletePortfolioShareResponse (Maybe Text) Source #

The portfolio share unique identifier. This will only be returned if delete is made to an organization node.