Class: Aws::SSM::Types::DescribeMaintenanceWindowScheduleRequest

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

{
  window_id: "MaintenanceWindowId",
  targets: [
    {
      key: "TargetKey",
      values: ["TargetValue"],
    },
  ],
  resource_type: "INSTANCE", # accepts INSTANCE, RESOURCE_GROUP
  filters: [
    {
      key: "PatchOrchestratorFilterKey",
      values: ["PatchOrchestratorFilterValue"],
    },
  ],
  max_results: 1,
  next_token: "NextToken",
}

Instance Attribute Summary collapse

Instance Attribute Details

#filtersArray<Types::PatchOrchestratorFilter>

Filters used to limit the range of results. For example, you can limit maintenance window executions to only those scheduled before or after a certain date and time.

Returns:



5050
5051
5052
5053
5054
5055
5056
5057
5058
# File 'lib/aws-sdk-ssm/types.rb', line 5050

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

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


5050
5051
5052
5053
5054
5055
5056
5057
5058
# File 'lib/aws-sdk-ssm/types.rb', line 5050

class DescribeMaintenanceWindowScheduleRequest < Struct.new(
  :window_id,
  :targets,
  :resource_type,
  :filters,
  :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)


5050
5051
5052
5053
5054
5055
5056
5057
5058
# File 'lib/aws-sdk-ssm/types.rb', line 5050

class DescribeMaintenanceWindowScheduleRequest < Struct.new(
  :window_id,
  :targets,
  :resource_type,
  :filters,
  :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)


5050
5051
5052
5053
5054
5055
5056
5057
5058
# File 'lib/aws-sdk-ssm/types.rb', line 5050

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

#targetsArray<Types::Target>

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

Returns:



5050
5051
5052
5053
5054
5055
5056
5057
5058
# File 'lib/aws-sdk-ssm/types.rb', line 5050

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

#window_idString

The ID of the maintenance window to retrieve information about.

Returns:

  • (String)


5050
5051
5052
5053
5054
5055
5056
5057
5058
# File 'lib/aws-sdk-ssm/types.rb', line 5050

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