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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ssm/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)


5605
5606
5607
5608
5609
5610
5611
5612
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 5605

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)


5605
5606
5607
5608
5609
5610
5611
5612
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 5605

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)


5605
5606
5607
5608
5609
5610
5611
5612
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 5605

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

#targetsArray<Types::Target>

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

Returns:



5605
5606
5607
5608
5609
5610
5611
5612
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 5605

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