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 RejectPortfolioShare operation. Rejects an offer to share the specified portfolio.

Inheritance Hierarchy

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

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

Syntax

C#
public class RejectPortfolioShareRequest : AmazonServiceCatalogRequest
         IAmazonWebServiceRequest

The RejectPortfolioShareRequest 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 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

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