Skip to content

Modify Instance Event Start Time

ec2_modify_instance_event_start_time R Documentation

Modifies the start time for a scheduled Amazon EC2 instance event

Description

Modifies the start time for a scheduled Amazon EC2 instance event.

Usage

ec2_modify_instance_event_start_time(DryRun, InstanceId,
  InstanceEventId, NotBefore)

Arguments

DryRun

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

InstanceId

[required] The ID of the instance with the scheduled event.

InstanceEventId

[required] The ID of the event whose date and time you are modifying.

NotBefore

[required] The new date and time when the event will take place.

Value

A list with the following syntax:

list(
  Event = list(
    InstanceEventId = "string",
    Code = "instance-reboot"|"system-reboot"|"system-maintenance"|"instance-retirement"|"instance-stop",
    Description = "string",
    NotAfter = as.POSIXct(
      "2015-01-01"
    ),
    NotBefore = as.POSIXct(
      "2015-01-01"
    ),
    NotBeforeDeadline = as.POSIXct(
      "2015-01-01"
    )
  )
)

Request syntax

svc$modify_instance_event_start_time(
  DryRun = TRUE|FALSE,
  InstanceId = "string",
  InstanceEventId = "string",
  NotBefore = as.POSIXct(
    "2015-01-01"
  )
)