You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::SSM::Types::DescribeMaintenanceWindowsForTargetRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing DescribeMaintenanceWindowsForTargetRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  targets: [ # required
    {
      key: "TargetKey",
      values: ["TargetValue"],
    },
  ],
  resource_type: "INSTANCE", # required, accepts INSTANCE, RESOURCE_GROUP
  max_results: 1,
  next_token: "NextToken",
}

Instance Attribute Summary collapse

Instance Attribute Details

#max_resultsInteger

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.

Returns:

  • (Integer)

    The maximum number of items to return for this call.

#next_tokenString

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

Returns:

  • (String)

    The token for the next set of items to return.

#resource_typeString

The type of resource you want to retrieve information about. For example, \"INSTANCE\".

Possible values:

  • INSTANCE
  • RESOURCE_GROUP

Returns:

  • (String)

    The type of resource you want to retrieve information about.

#targetsArray<Types::Target>

The instance ID or key/value pair to retrieve information about.

Returns:

  • (Array<Types::Target>)

    The instance ID or key/value pair to retrieve information about.