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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-servicecatalog/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
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#accept_languageString

The language code.

  • en - English (default)

  • jp - Japanese

  • zh - Chinese

Returns:

  • (String)


55
56
57
58
59
60
61
# File 'gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/types.rb', line 55

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

#portfolio_idString

The portfolio identifier.

Returns:

  • (String)


55
56
57
58
59
60
61
# File 'gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/types.rb', line 55

class AcceptPortfolioShareInput < Struct.new(
  :accept_language,
  :portfolio_id,
  :portfolio_share_type)
  SENSITIVE = []
  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)


55
56
57
58
59
60
61
# File 'gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/types.rb', line 55

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