NAME
Paws::CodeStarNotifications::ListTargets - Arguments for method ListTargets on Paws::CodeStarNotifications
DESCRIPTION
This class represents the parameters used for calling the method ListTargets on the AWS CodeStar Notifications service. Use the attributes of this class as arguments to method ListTargets.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListTargets.
SYNOPSIS
my $codestar-notifications = Paws->service('CodeStarNotifications');
my $ListTargetsResult = $codestar -notifications->ListTargets(
Filters => [
{
Name =>
'TARGET_TYPE', # values: TARGET_TYPE, TARGET_ADDRESS, TARGET_STATUS
Value => 'MyListTargetsFilterValue',
},
...
], # OPTIONAL
MaxResults => 1, # OPTIONAL
NextToken => 'MyNextToken', # OPTIONAL
);
# Results:
my $NextToken = $ListTargetsResult->NextToken;
my $Targets = $ListTargetsResult->Targets;
# Returns a L<Paws::CodeStarNotifications::ListTargetsResult> 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/codestar-notifications/ListTargets
ATTRIBUTES
Filters => ArrayRef[Paws::CodeStarNotifications::ListTargetsFilter]
The filters to use to return information by service or resource type. Valid filters include target type, target address, and target status.
A filter with the same name can appear more than once when used with OR statements. Filters with different names should be applied with AND statements.
MaxResults => Int
A non-negative integer used to limit the number of returned results. The maximum number of results that can be returned is 100.
NextToken => Str
An enumeration token that, when provided in a request, returns the next batch of the results.
SEE ALSO
This class forms part of Paws, documenting arguments for method ListTargets in Paws::CodeStarNotifications
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