Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data Query = Query' {}
- newQuery :: Query
- query_creationTime :: Lens' Query (Maybe UTCTime)
- query_queryId :: Lens' Query (Maybe Text)
- query_queryStatus :: Lens' Query (Maybe QueryStatus)
Documentation
A SQL string of criteria about events that you want to collect in an event data store.
See: newQuery
smart constructor.
Query' | |
|
Instances
FromJSON Query Source # | |
Generic Query Source # | |
Read Query Source # | |
Show Query Source # | |
NFData Query Source # | |
Defined in Amazonka.CloudTrail.Types.Query | |
Eq Query Source # | |
Hashable Query Source # | |
Defined in Amazonka.CloudTrail.Types.Query | |
type Rep Query Source # | |
Defined in Amazonka.CloudTrail.Types.Query type Rep Query = D1 ('MetaData "Query" "Amazonka.CloudTrail.Types.Query" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "Query'" 'PrefixI 'True) (S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "queryId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "queryStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe QueryStatus))))) |
Create a value of Query
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:creationTime:Query'
, query_creationTime
- The creation time of a query.
$sel:queryId:Query'
, query_queryId
- The ID of a query.
$sel:queryStatus:Query'
, query_queryStatus
- The status of the query. This can be QUEUED
, RUNNING
, FINISHED
,
FAILED
, TIMED_OUT
, or CANCELLED
.
query_queryStatus :: Lens' Query (Maybe QueryStatus) Source #
The status of the query. This can be QUEUED
, RUNNING
, FINISHED
,
FAILED
, TIMED_OUT
, or CANCELLED
.