/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.simplesystemsmanagement.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.AmazonWebServiceRequest; /** * * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class DescribeAvailablePatchesRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *

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

*

* Windows Server *

*

* Supported keys for Windows Server managed node patches include the following: *

* *

* Linux *

* *

* When specifying filters for Linux patches, you must specify a key-pair for PRODUCT. For example, * using the Command Line Interface (CLI), the following command fails: *

*

* aws ssm describe-available-patches --filters Key=CVE_ID,Values=CVE-2018-3615 *

*

* However, the following command succeeds: *

*

* aws ssm describe-available-patches --filters Key=PRODUCT,Values=AmazonLinux2018.03 Key=CVE_ID,Values=CVE-2018-3615 *

*
*

* Supported keys for Linux managed node patches include the following: *

* */ private com.amazonaws.internal.SdkInternalList filters; /** *

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

*/ private Integer maxResults; /** *

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

*/ private String nextToken; /** *

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

*

* Windows Server *

*

* Supported keys for Windows Server managed node patches include the following: *

* *

* Linux *

* *

* When specifying filters for Linux patches, you must specify a key-pair for PRODUCT. For example, * using the Command Line Interface (CLI), the following command fails: *

*

* aws ssm describe-available-patches --filters Key=CVE_ID,Values=CVE-2018-3615 *

*

* However, the following command succeeds: *

*

* aws ssm describe-available-patches --filters Key=PRODUCT,Values=AmazonLinux2018.03 Key=CVE_ID,Values=CVE-2018-3615 *

*
*

* Supported keys for Linux managed node patches include the following: *

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

*

* Windows Server *

*

* Supported keys for Windows Server managed node patches include the following: *

* *

* Linux *

* *

* When specifying filters for Linux patches, you must specify a key-pair for PRODUCT. For * example, using the Command Line Interface (CLI), the following command fails: *

*

* aws ssm describe-available-patches --filters Key=CVE_ID,Values=CVE-2018-3615 *

*

* However, the following command succeeds: *

*

* aws ssm describe-available-patches --filters Key=PRODUCT,Values=AmazonLinux2018.03 Key=CVE_ID,Values=CVE-2018-3615 *

*
*

* Supported keys for Linux managed node patches include the following: *

*