Skip to content

Retrieves information about upcoming executions of a maintenance window

Description

Retrieves information about upcoming executions of a maintenance window.

Usage

ssm_describe_maintenance_window_schedule(WindowId, Targets,
  ResourceType, Filters, MaxResults, NextToken)

Arguments

  • WindowId

    The ID of the maintenance window to retrieve information about.

  • Targets

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

  • ResourceType

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

  • Filters

    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.

  • MaxResults

    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.

  • NextToken

    The token for the next set of items to return. (You received this token from a previous call.)

Value

A list with the following syntax:

list(
  ScheduledWindowExecutions = list(
    list(
      WindowId = "string",
      Name = "string",
      ExecutionTime = "string"
    )
  ),
  NextToken = "string"
)

Request syntax

svc$describe_maintenance_window_schedule(
  WindowId = "string",
  Targets = list(
    list(
      Key = "string",
      Values = list(
        "string"
      )
    )
  ),
  ResourceType = "INSTANCE"|"RESOURCE_GROUP",
  Filters = list(
    list(
      Key = "string",
      Values = list(
        "string"
      )
    )
  ),
  MaxResults = 123,
  NextToken = "string"
)