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

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


4836
4837
4838
4839
4840
4841
4842
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 4836

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)


4836
4837
4838
4839
4840
4841
4842
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 4836

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)


4836
4837
4838
4839
4840
4841
4842
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 4836

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:



4836
4837
4838
4839
4840
4841
4842
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 4836

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