amazonka-ec2-2.0: Amazon Elastic Compute Cloud SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.EC2.ModifyInstanceEventStartTime

Description

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

Synopsis

Creating a Request

data ModifyInstanceEventStartTime Source #

See: newModifyInstanceEventStartTime smart constructor.

Constructors

ModifyInstanceEventStartTime' 

Fields

  • dryRun :: Maybe Bool

    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 :: Text

    The ID of the instance with the scheduled event.

  • instanceEventId :: Text

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

  • notBefore :: ISO8601

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

Instances

Instances details
ToHeaders ModifyInstanceEventStartTime Source # 
Instance details

Defined in Amazonka.EC2.ModifyInstanceEventStartTime

ToPath ModifyInstanceEventStartTime Source # 
Instance details

Defined in Amazonka.EC2.ModifyInstanceEventStartTime

ToQuery ModifyInstanceEventStartTime Source # 
Instance details

Defined in Amazonka.EC2.ModifyInstanceEventStartTime

AWSRequest ModifyInstanceEventStartTime Source # 
Instance details

Defined in Amazonka.EC2.ModifyInstanceEventStartTime

Generic ModifyInstanceEventStartTime Source # 
Instance details

Defined in Amazonka.EC2.ModifyInstanceEventStartTime

Associated Types

type Rep ModifyInstanceEventStartTime :: Type -> Type #

Read ModifyInstanceEventStartTime Source # 
Instance details

Defined in Amazonka.EC2.ModifyInstanceEventStartTime

Show ModifyInstanceEventStartTime Source # 
Instance details

Defined in Amazonka.EC2.ModifyInstanceEventStartTime

NFData ModifyInstanceEventStartTime Source # 
Instance details

Defined in Amazonka.EC2.ModifyInstanceEventStartTime

Eq ModifyInstanceEventStartTime Source # 
Instance details

Defined in Amazonka.EC2.ModifyInstanceEventStartTime

Hashable ModifyInstanceEventStartTime Source # 
Instance details

Defined in Amazonka.EC2.ModifyInstanceEventStartTime

type AWSResponse ModifyInstanceEventStartTime Source # 
Instance details

Defined in Amazonka.EC2.ModifyInstanceEventStartTime

type Rep ModifyInstanceEventStartTime Source # 
Instance details

Defined in Amazonka.EC2.ModifyInstanceEventStartTime

type Rep ModifyInstanceEventStartTime = D1 ('MetaData "ModifyInstanceEventStartTime" "Amazonka.EC2.ModifyInstanceEventStartTime" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "ModifyInstanceEventStartTime'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "dryRun") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "instanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "instanceEventId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "notBefore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601))))

newModifyInstanceEventStartTime Source #

Create a value of ModifyInstanceEventStartTime with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:dryRun:ModifyInstanceEventStartTime', modifyInstanceEventStartTime_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.

ModifyInstanceEventStartTime, modifyInstanceEventStartTime_instanceId - The ID of the instance with the scheduled event.

ModifyInstanceEventStartTime, modifyInstanceEventStartTime_instanceEventId - The ID of the event whose date and time you are modifying.

ModifyInstanceEventStartTime, modifyInstanceEventStartTime_notBefore - The new date and time when the event will take place.

Request Lenses

modifyInstanceEventStartTime_dryRun :: Lens' ModifyInstanceEventStartTime (Maybe Bool) Source #

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.

modifyInstanceEventStartTime_instanceId :: Lens' ModifyInstanceEventStartTime Text Source #

The ID of the instance with the scheduled event.

modifyInstanceEventStartTime_instanceEventId :: Lens' ModifyInstanceEventStartTime Text Source #

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

modifyInstanceEventStartTime_notBefore :: Lens' ModifyInstanceEventStartTime UTCTime Source #

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

Destructuring the Response

data ModifyInstanceEventStartTimeResponse Source #

Constructors

ModifyInstanceEventStartTimeResponse' 

Fields

Instances

Instances details
Generic ModifyInstanceEventStartTimeResponse Source # 
Instance details

Defined in Amazonka.EC2.ModifyInstanceEventStartTime

Read ModifyInstanceEventStartTimeResponse Source # 
Instance details

Defined in Amazonka.EC2.ModifyInstanceEventStartTime

Show ModifyInstanceEventStartTimeResponse Source # 
Instance details

Defined in Amazonka.EC2.ModifyInstanceEventStartTime

NFData ModifyInstanceEventStartTimeResponse Source # 
Instance details

Defined in Amazonka.EC2.ModifyInstanceEventStartTime

Eq ModifyInstanceEventStartTimeResponse Source # 
Instance details

Defined in Amazonka.EC2.ModifyInstanceEventStartTime

type Rep ModifyInstanceEventStartTimeResponse Source # 
Instance details

Defined in Amazonka.EC2.ModifyInstanceEventStartTime

type Rep ModifyInstanceEventStartTimeResponse = D1 ('MetaData "ModifyInstanceEventStartTimeResponse" "Amazonka.EC2.ModifyInstanceEventStartTime" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "ModifyInstanceEventStartTimeResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "event") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InstanceStatusEvent)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newModifyInstanceEventStartTimeResponse Source #

Create a value of ModifyInstanceEventStartTimeResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:event:ModifyInstanceEventStartTimeResponse', modifyInstanceEventStartTimeResponse_event - Information about the event.

$sel:httpStatus:ModifyInstanceEventStartTimeResponse', modifyInstanceEventStartTimeResponse_httpStatus - The response's http status code.

Response Lenses