You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::ServiceCatalog::Types::AcceptPortfolioShareInput

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing AcceptPortfolioShareInput as input to an Aws::Client method, you can use a vanilla Hash:

{
  accept_language: "AcceptLanguage",
  portfolio_id: "Id", # required
  portfolio_share_type: "IMPORTED", # accepts IMPORTED, AWS_SERVICECATALOG, AWS_ORGANIZATIONS
}

Instance Attribute Summary collapse

Instance Attribute Details

#accept_languageString

The language code.

  • en - English (default)

  • jp - Japanese

  • zh - Chinese

Returns:

  • (String)

    The language code.

#portfolio_idString

The portfolio identifier.

Returns:

  • (String)

    The portfolio identifier.

#portfolio_share_typeString

The type of shared portfolios to accept. The default is to accept imported portfolios.

  • AWS_ORGANIZATIONS - Accept portfolios shared by the management account of your organization.

  • IMPORTED - Accept imported portfolios.

  • AWS_SERVICECATALOG - Not supported. (Throws ResourceNotFoundException.)

For example, aws servicecatalog accept-portfolio-share --portfolio-id "port-2qwzkwxt3y5fk" --portfolio-share-type AWS_ORGANIZATIONS

Possible values:

  • IMPORTED
  • AWS_SERVICECATALOG
  • AWS_ORGANIZATIONS

Returns:

  • (String)

    The type of shared portfolios to accept.