The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::ServiceCatalog::CreatePortfolioShare - Arguments for method CreatePortfolioShare on Paws::ServiceCatalog

DESCRIPTION

This class represents the parameters used for calling the method CreatePortfolioShare on the AWS Service Catalog service. Use the attributes of this class as arguments to method CreatePortfolioShare.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreatePortfolioShare.

SYNOPSIS

    my $servicecatalog = Paws->service('ServiceCatalog');
    my $CreatePortfolioShareOutput = $servicecatalog->CreatePortfolioShare(
      PortfolioId      => 'MyId',
      AcceptLanguage   => 'MyAcceptLanguage',    # OPTIONAL
      AccountId        => 'MyAccountId',         # OPTIONAL
      OrganizationNode => {
        Type => 'ORGANIZATION'
        ,    # values: ORGANIZATION, ORGANIZATIONAL_UNIT, ACCOUNT; OPTIONAL
        Value => 'MyOrganizationNodeValue',    # OPTIONAL
      },    # OPTIONAL
      ShareTagOptions => 1,    # OPTIONAL
    );

    # Results:
    my $PortfolioShareToken = $CreatePortfolioShareOutput->PortfolioShareToken;

    # Returns a L<Paws::ServiceCatalog::CreatePortfolioShareOutput> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/servicecatalog/CreatePortfolioShare

ATTRIBUTES

AcceptLanguage => Str

The language code.

  • en - English (default)

  • jp - Japanese

  • zh - Chinese

AccountId => Str

The AWS account ID. For example, 123456789012.

OrganizationNode => Paws::ServiceCatalog::OrganizationNode

The organization node to whom you are going to share. If OrganizationNode is passed in, PortfolioShare will be created for the node an ListOrganizationPortfolioAccessd its children (when applies), and a PortfolioShareToken will be returned in the output in order for the administrator to monitor the status of the PortfolioShare creation process.

REQUIRED PortfolioId => Str

The portfolio identifier.

ShareTagOptions => Bool

Enables or disables TagOptions sharing when creating the portfolio share. If this flag is not provided, TagOptions sharing is disabled.

SEE ALSO

This class forms part of Paws, documenting arguments for method CreatePortfolioShare in Paws::ServiceCatalog

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues