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

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 DescribeMaintenanceWindowsForTargetRequest data as a hash:

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

Constant Summary collapse

SENSITIVE =
[]

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)

6375
6376
6377
6378
6379
6380
6381
6382
# File 'lib/aws-sdk-ssm/types.rb', line 6375

class DescribeMaintenanceWindowsForTargetRequest < Struct.new(
  :targets,
  :resource_type,
  :max_results,
  :next_token)
  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)

6375
6376
6377
6378
6379
6380
6381
6382
# File 'lib/aws-sdk-ssm/types.rb', line 6375

class DescribeMaintenanceWindowsForTargetRequest < Struct.new(
  :targets,
  :resource_type,
  :max_results,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end

#resource_typeString

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

Returns:

  • (String)

6375
6376
6377
6378
6379
6380
6381
6382
# File 'lib/aws-sdk-ssm/types.rb', line 6375

class DescribeMaintenanceWindowsForTargetRequest < Struct.new(
  :targets,
  :resource_type,
  :max_results,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end

#targetsArray<Types::Target>

The managed node ID or key-value pair to retrieve information about.

Returns:


6375
6376
6377
6378
6379
6380
6381
6382
# File 'lib/aws-sdk-ssm/types.rb', line 6375

class DescribeMaintenanceWindowsForTargetRequest < Struct.new(
  :targets,
  :resource_type,
  :max_results,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end