Class: Aws::ServiceCatalog::Types::RejectPortfolioShareInput

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 RejectPortfolioShareInput 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)


4988
4989
4990
4991
4992
4993
# File 'lib/aws-sdk-servicecatalog/types.rb', line 4988

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

#portfolio_idString

The portfolio identifier.

Returns:

  • (String)


4988
4989
4990
4991
4992
4993
# File 'lib/aws-sdk-servicecatalog/types.rb', line 4988

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

#portfolio_share_typeString

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

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

Returns:

  • (String)


4988
4989
4990
4991
4992
4993
# File 'lib/aws-sdk-servicecatalog/types.rb', line 4988

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