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.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
Eq DeletePortfolioShare Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeletePortfolioShare

Read DeletePortfolioShare Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeletePortfolioShare

Show DeletePortfolioShare Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeletePortfolioShare

Generic DeletePortfolioShare Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeletePortfolioShare

Associated Types

type Rep DeletePortfolioShare :: Type -> Type #

NFData DeletePortfolioShare Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeletePortfolioShare

Methods

rnf :: DeletePortfolioShare -> () #

Hashable DeletePortfolioShare Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeletePortfolioShare

ToJSON DeletePortfolioShare Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeletePortfolioShare

AWSRequest DeletePortfolioShare Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeletePortfolioShare

Associated Types

type AWSResponse 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

type Rep DeletePortfolioShare Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeletePortfolioShare

type Rep DeletePortfolioShare = D1 ('MetaData "DeletePortfolioShare" "Amazonka.ServiceCatalog.DeletePortfolioShare" "libZSservicesZSamazonka-servicecatalogZSamazonka-servicecatalog" 'False) (C1 ('MetaCons "DeletePortfolioShare'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "acceptLanguage") '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))))
type AWSResponse DeletePortfolioShare Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeletePortfolioShare

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:accountId:DeletePortfolioShare', deletePortfolioShare_accountId - The AWS account ID.

$sel:acceptLanguage:DeletePortfolioShare', deletePortfolioShare_acceptLanguage - The language code.

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

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

$sel:portfolioId: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
Eq DeletePortfolioShareResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeletePortfolioShare

Read DeletePortfolioShareResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeletePortfolioShare

Show DeletePortfolioShareResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeletePortfolioShare

Generic DeletePortfolioShareResponse Source # 
Instance details

Defined in Amazonka.ServiceCatalog.DeletePortfolioShare

Associated Types

type Rep DeletePortfolioShareResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-servicecatalogZSamazonka-servicecatalog" '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.