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::SSM::DescribeOpsItems - Arguments for method DescribeOpsItems on Paws::SSM

DESCRIPTION

This class represents the parameters used for calling the method DescribeOpsItems on the Amazon Simple Systems Manager (SSM) service. Use the attributes of this class as arguments to method DescribeOpsItems.

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

SYNOPSIS

    my $ssm = Paws->service('SSM');
    my $DescribeOpsItemsResponse = $ssm->DescribeOpsItems(
      MaxResults     => 1,             # OPTIONAL
      NextToken      => 'MyString',    # OPTIONAL
      OpsItemFilters => [
        {
          Key => 'Status'
          , # values: Status, CreatedBy, Source, Priority, Title, OpsItemId, CreatedTime, LastModifiedTime, ActualStartTime, ActualEndTime, PlannedStartTime, PlannedEndTime, OperationalData, OperationalDataKey, OperationalDataValue, ResourceId, AutomationId, Category, Severity, OpsItemType, ChangeRequestByRequesterArn, ChangeRequestByRequesterName, ChangeRequestByApproverArn, ChangeRequestByApproverName, ChangeRequestByTemplate, ChangeRequestByTargetsResourceGroup
          Operator => 'Equal',  # values: Equal, Contains, GreaterThan, LessThan
          Values   => [ 'MyOpsItemFilterValue', ... ],

        },
        ...
      ],    # OPTIONAL
    );

    # Results:
    my $NextToken        = $DescribeOpsItemsResponse->NextToken;
    my $OpsItemSummaries = $DescribeOpsItemsResponse->OpsItemSummaries;

    # Returns a L<Paws::SSM::DescribeOpsItemsResponse> 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/ssm/DescribeOpsItems

ATTRIBUTES

MaxResults => Int

The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.

NextToken => Str

A token to start the list. Use this token to get the next set of results.

OpsItemFilters => ArrayRef[Paws::SSM::OpsItemFilter]

One or more filters to limit the response.

  • Key: CreatedTime

    Operations: GreaterThan, LessThan

  • Key: LastModifiedBy

    Operations: Contains, Equals

  • Key: LastModifiedTime

    Operations: GreaterThan, LessThan

  • Key: Priority

    Operations: Equals

  • Key: Source

    Operations: Contains, Equals

  • Key: Status

    Operations: Equals

  • Key: Title

    Operations: Contains

  • Key: OperationalData*

    Operations: Equals

  • Key: OperationalDataKey

    Operations: Equals

  • Key: OperationalDataValue

    Operations: Equals, Contains

  • Key: OpsItemId

    Operations: Equals

  • Key: ResourceId

    Operations: Contains

  • Key: AutomationId

    Operations: Equals

*If you filter the response by using the OperationalData operator, specify a key-value pair by using the following JSON format: {"key":"key_name","value":"a_value"}

SEE ALSO

This class forms part of Paws, documenting arguments for method DescribeOpsItems in Paws::SSM

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