AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the AcceptPortfolioShare operation. Accepts an offer to share the specified portfolio.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.ServiceCatalog.AmazonServiceCatalogRequest
      Amazon.ServiceCatalog.Model.AcceptPortfolioShareRequest

Namespace: Amazon.ServiceCatalog.Model
Assembly: AWSSDK.ServiceCatalog.dll
Version: 3.x.y.z

Syntax

C#
public class AcceptPortfolioShareRequest : AmazonServiceCatalogRequest
         IAmazonWebServiceRequest

The AcceptPortfolioShareRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property AcceptLanguage System.String

Gets and sets the property AcceptLanguage.

The language code.

  • jp - Japanese

  • zh - Chinese

Public Property PortfolioId System.String

Gets and sets the property PortfolioId.

The portfolio identifier.

Public Property PortfolioShareType Amazon.ServiceCatalog.PortfolioShareType

Gets and sets the property PortfolioShareType.

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

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5