libZSservicesZSamazonka-lightsailZSamazonka-lightsail
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Lightsail.GetRelationalDatabaseEvents

Description

Returns a list of events for a specific database in Amazon Lightsail.

This operation returns paginated results.

Synopsis

Creating a Request

data GetRelationalDatabaseEvents Source #

See: newGetRelationalDatabaseEvents smart constructor.

Constructors

GetRelationalDatabaseEvents' 

Fields

  • durationInMinutes :: Maybe Int

    The number of minutes in the past from which to retrieve events. For example, to get all events from the past 2 hours, enter 120.

    Default: 60

    The minimum is 1 and the maximum is 14 days (20160 minutes).

  • pageToken :: Maybe Text

    The token to advance to the next page of results from your request.

    To get a page token, perform an initial GetRelationalDatabaseEvents request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.

  • relationalDatabaseName :: Text

    The name of the database from which to get events.

Instances

Instances details
Eq GetRelationalDatabaseEvents Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseEvents

Read GetRelationalDatabaseEvents Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseEvents

Show GetRelationalDatabaseEvents Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseEvents

Generic GetRelationalDatabaseEvents Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseEvents

Associated Types

type Rep GetRelationalDatabaseEvents :: Type -> Type #

NFData GetRelationalDatabaseEvents Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseEvents

Hashable GetRelationalDatabaseEvents Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseEvents

ToJSON GetRelationalDatabaseEvents Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseEvents

AWSPager GetRelationalDatabaseEvents Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseEvents

AWSRequest GetRelationalDatabaseEvents Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseEvents

ToHeaders GetRelationalDatabaseEvents Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseEvents

ToPath GetRelationalDatabaseEvents Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseEvents

ToQuery GetRelationalDatabaseEvents Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseEvents

type Rep GetRelationalDatabaseEvents Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseEvents

type Rep GetRelationalDatabaseEvents = D1 ('MetaData "GetRelationalDatabaseEvents" "Amazonka.Lightsail.GetRelationalDatabaseEvents" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" 'False) (C1 ('MetaCons "GetRelationalDatabaseEvents'" 'PrefixI 'True) (S1 ('MetaSel ('Just "durationInMinutes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "pageToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "relationalDatabaseName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse GetRelationalDatabaseEvents Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseEvents

newGetRelationalDatabaseEvents Source #

Create a value of GetRelationalDatabaseEvents 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:durationInMinutes:GetRelationalDatabaseEvents', getRelationalDatabaseEvents_durationInMinutes - The number of minutes in the past from which to retrieve events. For example, to get all events from the past 2 hours, enter 120.

Default: 60

The minimum is 1 and the maximum is 14 days (20160 minutes).

$sel:pageToken:GetRelationalDatabaseEvents', getRelationalDatabaseEvents_pageToken - The token to advance to the next page of results from your request.

To get a page token, perform an initial GetRelationalDatabaseEvents request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.

$sel:relationalDatabaseName:GetRelationalDatabaseEvents', getRelationalDatabaseEvents_relationalDatabaseName - The name of the database from which to get events.

Request Lenses

getRelationalDatabaseEvents_durationInMinutes :: Lens' GetRelationalDatabaseEvents (Maybe Int) Source #

The number of minutes in the past from which to retrieve events. For example, to get all events from the past 2 hours, enter 120.

Default: 60

The minimum is 1 and the maximum is 14 days (20160 minutes).

getRelationalDatabaseEvents_pageToken :: Lens' GetRelationalDatabaseEvents (Maybe Text) Source #

The token to advance to the next page of results from your request.

To get a page token, perform an initial GetRelationalDatabaseEvents request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.

Destructuring the Response

data GetRelationalDatabaseEventsResponse Source #

Constructors

GetRelationalDatabaseEventsResponse' 

Fields

  • nextPageToken :: Maybe Text

    The token to advance to the next page of results from your request.

    A next page token is not returned if there are no more results to display.

    To get the next page of results, perform another GetRelationalDatabaseEvents request and specify the next page token using the pageToken parameter.

  • relationalDatabaseEvents :: Maybe [RelationalDatabaseEvent]

    An object describing the result of your get relational database events request.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq GetRelationalDatabaseEventsResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseEvents

Read GetRelationalDatabaseEventsResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseEvents

Show GetRelationalDatabaseEventsResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseEvents

Generic GetRelationalDatabaseEventsResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseEvents

NFData GetRelationalDatabaseEventsResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseEvents

type Rep GetRelationalDatabaseEventsResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetRelationalDatabaseEvents

type Rep GetRelationalDatabaseEventsResponse = D1 ('MetaData "GetRelationalDatabaseEventsResponse" "Amazonka.Lightsail.GetRelationalDatabaseEvents" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" 'False) (C1 ('MetaCons "GetRelationalDatabaseEventsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextPageToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "relationalDatabaseEvents") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [RelationalDatabaseEvent])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetRelationalDatabaseEventsResponse Source #

Create a value of GetRelationalDatabaseEventsResponse 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:nextPageToken:GetRelationalDatabaseEventsResponse', getRelationalDatabaseEventsResponse_nextPageToken - The token to advance to the next page of results from your request.

A next page token is not returned if there are no more results to display.

To get the next page of results, perform another GetRelationalDatabaseEvents request and specify the next page token using the pageToken parameter.

$sel:relationalDatabaseEvents:GetRelationalDatabaseEventsResponse', getRelationalDatabaseEventsResponse_relationalDatabaseEvents - An object describing the result of your get relational database events request.

$sel:httpStatus:GetRelationalDatabaseEventsResponse', getRelationalDatabaseEventsResponse_httpStatus - The response's http status code.

Response Lenses

getRelationalDatabaseEventsResponse_nextPageToken :: Lens' GetRelationalDatabaseEventsResponse (Maybe Text) Source #

The token to advance to the next page of results from your request.

A next page token is not returned if there are no more results to display.

To get the next page of results, perform another GetRelationalDatabaseEvents request and specify the next page token using the pageToken parameter.

getRelationalDatabaseEventsResponse_relationalDatabaseEvents :: Lens' GetRelationalDatabaseEventsResponse (Maybe [RelationalDatabaseEvent]) Source #

An object describing the result of your get relational database events request.