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

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


6158
6159
6160
6161
6162
6163
6164
# File 'gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/types.rb', line 6158

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

#portfolio_idString

The portfolio identifier.

Returns:

  • (String)


6158
6159
6160
6161
6162
6163
6164
# File 'gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/types.rb', line 6158

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


6158
6159
6160
6161
6162
6163
6164
# File 'gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/types.rb', line 6158

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