ServiceCatalog / Client / associate_product_with_portfolio

associate_product_with_portfolio#

ServiceCatalog.Client.associate_product_with_portfolio(**kwargs)#

Associates the specified product with the specified portfolio.

A delegated admin is authorized to invoke this command.

See also: AWS API Documentation

Request Syntax

response = client.associate_product_with_portfolio(
    AcceptLanguage='string',
    ProductId='string',
    PortfolioId='string',
    SourcePortfolioId='string'
)
Parameters:
  • AcceptLanguage (string) –

    The language code.

    • jp - Japanese

    • zh - Chinese

  • ProductId (string) –

    [REQUIRED]

    The product identifier.

  • PortfolioId (string) –

    [REQUIRED]

    The portfolio identifier.

  • SourcePortfolioId (string) – The identifier of the source portfolio.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • ServiceCatalog.Client.exceptions.InvalidParametersException

  • ServiceCatalog.Client.exceptions.ResourceNotFoundException

  • ServiceCatalog.Client.exceptions.LimitExceededException