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

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-servicecatalog/types.rb

Overview

Note:

When making an API call, you may pass AcceptPortfolioShareInput data as a 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)


53
54
55
56
57
58
# File 'lib/aws-sdk-servicecatalog/types.rb', line 53

class AcceptPortfolioShareInput < Struct.new(
  :accept_language,
  :portfolio_id,
  :portfolio_share_type)
  include Aws::Structure
end

#portfolio_idString

The portfolio identifier.

Returns:

  • (String)


53
54
55
56
57
58
# File 'lib/aws-sdk-servicecatalog/types.rb', line 53

class AcceptPortfolioShareInput < Struct.new(
  :accept_language,
  :portfolio_id,
  :portfolio_share_type)
  include Aws::Structure
end

#portfolio_share_typeString

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

  • ‘AWS_ORGANIZATIONS` - Accept portfolios shared by the master 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`

Returns:

  • (String)


53
54
55
56
57
58
# File 'lib/aws-sdk-servicecatalog/types.rb', line 53

class AcceptPortfolioShareInput < Struct.new(
  :accept_language,
  :portfolio_id,
  :portfolio_share_type)
  include Aws::Structure
end