delete_portfolio_share
(**kwargs)¶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.
See also: AWS API Documentation
Request Syntax
response = client.delete_portfolio_share(
AcceptLanguage='string',
PortfolioId='string',
AccountId='string',
OrganizationNode={
'Type': 'ORGANIZATION'|'ORGANIZATIONAL_UNIT'|'ACCOUNT',
'Value': 'string'
}
)
The language code.
en
- English (default)jp
- Japanesezh
- Chinese[REQUIRED]
The portfolio identifier.
The organization node to whom you are going to stop sharing.
The organization node type.
The identifier of the organization node.
dict
Response Syntax
{
'PortfolioShareToken': 'string'
}
Response Structure
(dict) --
PortfolioShareToken (string) --
The portfolio share unique identifier. This will only be returned if delete is made to an organization node.
Exceptions
ServiceCatalog.Client.exceptions.ResourceNotFoundException
ServiceCatalog.Client.exceptions.InvalidParametersException
ServiceCatalog.Client.exceptions.OperationNotSupportedException
ServiceCatalog.Client.exceptions.InvalidStateException