Class: Aws::SSM::Types::DescribeInstancePatchesRequest

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-ssm/types.rb

Overview

Note:

When making an API call, you may pass DescribeInstancePatchesRequest data as a hash:

{
  instance_id: "InstanceId", # required
  filters: [
    {
      key: "PatchOrchestratorFilterKey",
      values: ["PatchOrchestratorFilterValue"],
    },
  ],
  next_token: "NextToken",
  max_results: 1,
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#filtersArray<Types::PatchOrchestratorFilter>

Each element in the array is a structure containing a key-value pair.

Supported keys for `DescribeInstancePatches`include the following:

  • Classification

    Sample values: `Security` | `SecurityUpdates`

  • KBId

    Sample values: `KB4480056` | `java-1.7.0-openjdk.x86_64`

  • Severity

    Sample values: `Important` | `Medium` | `Low`

  • State

    Sample values: `Installed` | `InstalledOther` | `InstalledPendingReboot`

Returns:


5819
5820
5821
5822
5823
5824
5825
5826
# File 'lib/aws-sdk-ssm/types.rb', line 5819

class DescribeInstancePatchesRequest < Struct.new(
  :instance_id,
  :filters,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end

#instance_idString

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

Returns:

  • (String)

5819
5820
5821
5822
5823
5824
5825
5826
# File 'lib/aws-sdk-ssm/types.rb', line 5819

class DescribeInstancePatchesRequest < Struct.new(
  :instance_id,
  :filters,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end

#max_resultsInteger

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

Returns:

  • (Integer)

5819
5820
5821
5822
5823
5824
5825
5826
# File 'lib/aws-sdk-ssm/types.rb', line 5819

class DescribeInstancePatchesRequest < Struct.new(
  :instance_id,
  :filters,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end

#next_tokenString

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

Returns:

  • (String)

5819
5820
5821
5822
5823
5824
5825
5826
# File 'lib/aws-sdk-ssm/types.rb', line 5819

class DescribeInstancePatchesRequest < Struct.new(
  :instance_id,
  :filters,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end