The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more

NAME

Paws::WellArchitected::ListWorkloadShares - Arguments for method ListWorkloadShares on Paws::WellArchitected

DESCRIPTION

This class represents the parameters used for calling the method ListWorkloadShares on the AWS Well-Architected Tool service. Use the attributes of this class as arguments to method ListWorkloadShares.

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

SYNOPSIS

my $wellarchitected = Paws->service('WellArchitected');
my $ListWorkloadSharesOutput = $wellarchitected->ListWorkloadShares(
WorkloadId => 'MyWorkloadId',
MaxResults => 1, # OPTIONAL
NextToken => 'MyNextToken', # OPTIONAL
SharedWithPrefix => 'MySharedWithPrefix', # OPTIONAL
);
# Results:
my $NextToken = $ListWorkloadSharesOutput->NextToken;
my $WorkloadId = $ListWorkloadSharesOutput->WorkloadId;
my $WorkloadShareSummaries =
$ListWorkloadSharesOutput->WorkloadShareSummaries;
# Returns a L<Paws::WellArchitected::ListWorkloadSharesOutput> 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/wellarchitected/ListWorkloadShares

ATTRIBUTES

MaxResults => Int

The maximum number of results to return for this request.

NextToken => Str

SharedWithPrefix => Str

The AWS account ID or IAM role with which the workload is shared.

REQUIRED WorkloadId => Str

SEE ALSO

This class forms part of Paws, documenting arguments for method ListWorkloadShares in Paws::WellArchitected

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