Paws::SSM::DescribeInstancePatches - Arguments for method DescribeInstancePatches on Paws::SSM


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

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


    my $ssm = Paws->service('SSM');
    my $DescribeInstancePatchesResult = $ssm->DescribeInstancePatches(
      InstanceId => 'MyInstanceId',
      Filters    => [
          Key    => 'MyPatchOrchestratorFilterKey', # min: 1, max: 128; OPTIONAL
          Values => [
            'MyPatchOrchestratorFilterValue', ...    # min: 1, max: 256
          ],                                         # OPTIONAL
      ],                                             # OPTIONAL
      MaxResults => 1,                               # OPTIONAL
      NextToken  => 'MyNextToken',                   # OPTIONAL

    # Results:
    my $NextToken = $DescribeInstancePatchesResult->NextToken;
    my $Patches   = $DescribeInstancePatchesResult->Patches;

    # Returns a L<Paws::SSM::DescribeInstancePatchesResult> 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


Filters => ArrayRef[Paws::SSM::PatchOrchestratorFilter]

Each entry in the array is a structure containing:

Key (string, between 1 and 128 characters)

Values (array of strings, each string between 1 and 256 characters)

REQUIRED InstanceId => Str

The ID of the instance whose patch state information should be retrieved.

MaxResults => Int

The maximum number of patches to return (per page).

NextToken => Str

The token for the next set of items to return. (You received this token from a previous call.)


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


The source code is located here:

Please report bugs to: