amazonka-dynamodb-dax-2.0: Amazon DynamoDB Accelerator (DAX) 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.DAX.DescribeEvents

Description

Returns events related to DAX clusters and parameter groups. You can obtain events specific to a particular DAX cluster or parameter group by providing the name as a parameter.

By default, only the events occurring within the last 24 hours are returned; however, you can retrieve up to 14 days' worth of events if necessary.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeEvents Source #

See: newDescribeEvents smart constructor.

Constructors

DescribeEvents' 

Fields

  • duration :: Maybe Int

    The number of minutes' worth of events to retrieve.

  • endTime :: Maybe POSIX

    The end of the time interval for which to retrieve events, specified in ISO 8601 format.

  • maxResults :: Maybe Int

    The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.

    The value for MaxResults must be between 20 and 100.

  • nextToken :: Maybe Text

    An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults.

  • sourceName :: Maybe Text

    The identifier of the event source for which events will be returned. If not specified, then all sources are included in the response.

  • sourceType :: Maybe SourceType

    The event source to retrieve events for. If no value is specified, all events are returned.

  • startTime :: Maybe POSIX

    The beginning of the time interval to retrieve events for, specified in ISO 8601 format.

Instances

Instances details
ToJSON DescribeEvents Source # 
Instance details

Defined in Amazonka.DAX.DescribeEvents

ToHeaders DescribeEvents Source # 
Instance details

Defined in Amazonka.DAX.DescribeEvents

ToPath DescribeEvents Source # 
Instance details

Defined in Amazonka.DAX.DescribeEvents

ToQuery DescribeEvents Source # 
Instance details

Defined in Amazonka.DAX.DescribeEvents

AWSPager DescribeEvents Source # 
Instance details

Defined in Amazonka.DAX.DescribeEvents

AWSRequest DescribeEvents Source # 
Instance details

Defined in Amazonka.DAX.DescribeEvents

Associated Types

type AWSResponse DescribeEvents #

Generic DescribeEvents Source # 
Instance details

Defined in Amazonka.DAX.DescribeEvents

Associated Types

type Rep DescribeEvents :: Type -> Type #

Read DescribeEvents Source # 
Instance details

Defined in Amazonka.DAX.DescribeEvents

Show DescribeEvents Source # 
Instance details

Defined in Amazonka.DAX.DescribeEvents

NFData DescribeEvents Source # 
Instance details

Defined in Amazonka.DAX.DescribeEvents

Methods

rnf :: DescribeEvents -> () #

Eq DescribeEvents Source # 
Instance details

Defined in Amazonka.DAX.DescribeEvents

Hashable DescribeEvents Source # 
Instance details

Defined in Amazonka.DAX.DescribeEvents

type AWSResponse DescribeEvents Source # 
Instance details

Defined in Amazonka.DAX.DescribeEvents

type Rep DescribeEvents Source # 
Instance details

Defined in Amazonka.DAX.DescribeEvents

newDescribeEvents :: DescribeEvents Source #

Create a value of DescribeEvents 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:duration:DescribeEvents', describeEvents_duration - The number of minutes' worth of events to retrieve.

$sel:endTime:DescribeEvents', describeEvents_endTime - The end of the time interval for which to retrieve events, specified in ISO 8601 format.

$sel:maxResults:DescribeEvents', describeEvents_maxResults - The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.

The value for MaxResults must be between 20 and 100.

DescribeEvents, describeEvents_nextToken - An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults.

DescribeEvents, describeEvents_sourceName - The identifier of the event source for which events will be returned. If not specified, then all sources are included in the response.

DescribeEvents, describeEvents_sourceType - The event source to retrieve events for. If no value is specified, all events are returned.

$sel:startTime:DescribeEvents', describeEvents_startTime - The beginning of the time interval to retrieve events for, specified in ISO 8601 format.

Request Lenses

describeEvents_duration :: Lens' DescribeEvents (Maybe Int) Source #

The number of minutes' worth of events to retrieve.

describeEvents_endTime :: Lens' DescribeEvents (Maybe UTCTime) Source #

The end of the time interval for which to retrieve events, specified in ISO 8601 format.

describeEvents_maxResults :: Lens' DescribeEvents (Maybe Int) Source #

The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.

The value for MaxResults must be between 20 and 100.

describeEvents_nextToken :: Lens' DescribeEvents (Maybe Text) Source #

An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults.

describeEvents_sourceName :: Lens' DescribeEvents (Maybe Text) Source #

The identifier of the event source for which events will be returned. If not specified, then all sources are included in the response.

describeEvents_sourceType :: Lens' DescribeEvents (Maybe SourceType) Source #

The event source to retrieve events for. If no value is specified, all events are returned.

describeEvents_startTime :: Lens' DescribeEvents (Maybe UTCTime) Source #

The beginning of the time interval to retrieve events for, specified in ISO 8601 format.

Destructuring the Response

data DescribeEventsResponse Source #

See: newDescribeEventsResponse smart constructor.

Constructors

DescribeEventsResponse' 

Fields

Instances

Instances details
Generic DescribeEventsResponse Source # 
Instance details

Defined in Amazonka.DAX.DescribeEvents

Associated Types

type Rep DescribeEventsResponse :: Type -> Type #

Read DescribeEventsResponse Source # 
Instance details

Defined in Amazonka.DAX.DescribeEvents

Show DescribeEventsResponse Source # 
Instance details

Defined in Amazonka.DAX.DescribeEvents

NFData DescribeEventsResponse Source # 
Instance details

Defined in Amazonka.DAX.DescribeEvents

Methods

rnf :: DescribeEventsResponse -> () #

Eq DescribeEventsResponse Source # 
Instance details

Defined in Amazonka.DAX.DescribeEvents

type Rep DescribeEventsResponse Source # 
Instance details

Defined in Amazonka.DAX.DescribeEvents

type Rep DescribeEventsResponse = D1 ('MetaData "DescribeEventsResponse" "Amazonka.DAX.DescribeEvents" "amazonka-dynamodb-dax-2.0-FwsdPL1z9NS2dTys8oHQ2n" 'False) (C1 ('MetaCons "DescribeEventsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "events") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Event])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeEventsResponse Source #

Create a value of DescribeEventsResponse 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:events:DescribeEventsResponse', describeEventsResponse_events - An array of events. Each element in the array represents one event.

DescribeEvents, describeEventsResponse_nextToken - Provides an identifier to allow retrieval of paginated results.

$sel:httpStatus:DescribeEventsResponse', describeEventsResponse_httpStatus - The response's http status code.

Response Lenses

describeEventsResponse_events :: Lens' DescribeEventsResponse (Maybe [Event]) Source #

An array of events. Each element in the array represents one event.

describeEventsResponse_nextToken :: Lens' DescribeEventsResponse (Maybe Text) Source #

Provides an identifier to allow retrieval of paginated results.