reject_portfolio_share
(**kwargs)¶Rejects an offer to share the specified portfolio.
See also: AWS API Documentation
Request Syntax
response = client.reject_portfolio_share(
AcceptLanguage='string',
PortfolioId='string',
PortfolioShareType='IMPORTED'|'AWS_SERVICECATALOG'|'AWS_ORGANIZATIONS'
)
The language code.
en
- English (default)jp
- Japanesezh
- Chinese[REQUIRED]
The portfolio identifier.
The type of shared portfolios to reject. The default is to reject imported portfolios.
AWS_ORGANIZATIONS
- Reject portfolios shared by the management account of your organization.IMPORTED
- Reject imported portfolios.AWS_SERVICECATALOG
- Not supported. (Throws ResourceNotFoundException.)For example, aws servicecatalog reject-portfolio-share --portfolio-id "port-2qwzkwxt3y5fk" --portfolio-share-type AWS_ORGANIZATIONS
dict
Response Syntax
{}
Response Structure
Exceptions
ServiceCatalog.Client.exceptions.ResourceNotFoundException