- SEE ALSO
- BUGS and CONTRIBUTIONS
Paws::OpsWorksCM::DescribeEvents - Arguments for method DescribeEvents on Paws::OpsWorksCM
This class represents the parameters used for calling the method DescribeEvents on the AWS OpsWorks for Chef Automate service. Use the attributes of this class as arguments to method DescribeEvents.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeEvents.
my $opsworks-cm = Paws->service('OpsWorksCM'); my $DescribeEventsResponse = $opsworks -cm->DescribeEvents( ServerName => 'MyServerName', MaxResults => 1, # OPTIONAL NextToken => 'MyNextToken', # OPTIONAL ); # Results: my $NextToken = $DescribeEventsResponse->NextToken; my $ServerEvents = $DescribeEventsResponse->ServerEvents; # Returns a L<Paws::OpsWorksCM::DescribeEventsResponse> 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/opsworks-cm/latest/APIReference/API_DescribeEvents.html
To receive a paginated response, use this parameter to specify the maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a
NextToken value that you can assign to the
NextToken request parameter to get the next set of results.
NextToken is a string that is returned in some command responses. It indicates that not all entries have been returned, and that you must run at least one more request to get remaining items. To get remaining results, call
DescribeEvents again, and assign the token from the previous results as the value of the
nextToken parameter. If there are no more results, the response object's
nextToken parameter value is
null. Setting a
nextToken value that was not returned in your previous results causes an
InvalidNextTokenException to occur.
The name of the server for which you want to view events.
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