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
  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)


4687
4688
4689
4690
4691
4692
4693
# File 'lib/aws-sdk-ssm/types.rb', line 4687

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


4687
4688
4689
4690
4691
4692
4693
# File 'lib/aws-sdk-ssm/types.rb', line 4687

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

#resource_typeString

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

Returns:

  • (String)


4687
4688
4689
4690
4691
4692
4693
# File 'lib/aws-sdk-ssm/types.rb', line 4687

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

#targetsArray<Types::Target>

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

Returns:



4687
4688
4689
4690
4691
4692
4693
# File 'lib/aws-sdk-ssm/types.rb', line 4687

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