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 |
Stops a specified import.
Synopsis
- data StopImport = StopImport' {}
- newStopImport :: Text -> StopImport
- stopImport_importId :: Lens' StopImport Text
- data StopImportResponse = StopImportResponse' {
- createdTimestamp :: Maybe POSIX
- destinations :: Maybe (NonEmpty Text)
- endEventTime :: Maybe POSIX
- importId :: Maybe Text
- importSource :: Maybe ImportSource
- importStatistics :: Maybe ImportStatistics
- importStatus :: Maybe ImportStatus
- startEventTime :: Maybe POSIX
- updatedTimestamp :: Maybe POSIX
- httpStatus :: Int
- newStopImportResponse :: Int -> StopImportResponse
- stopImportResponse_createdTimestamp :: Lens' StopImportResponse (Maybe UTCTime)
- stopImportResponse_destinations :: Lens' StopImportResponse (Maybe (NonEmpty Text))
- stopImportResponse_endEventTime :: Lens' StopImportResponse (Maybe UTCTime)
- stopImportResponse_importId :: Lens' StopImportResponse (Maybe Text)
- stopImportResponse_importSource :: Lens' StopImportResponse (Maybe ImportSource)
- stopImportResponse_importStatistics :: Lens' StopImportResponse (Maybe ImportStatistics)
- stopImportResponse_importStatus :: Lens' StopImportResponse (Maybe ImportStatus)
- stopImportResponse_startEventTime :: Lens' StopImportResponse (Maybe UTCTime)
- stopImportResponse_updatedTimestamp :: Lens' StopImportResponse (Maybe UTCTime)
- stopImportResponse_httpStatus :: Lens' StopImportResponse Int
Creating a Request
data StopImport Source #
See: newStopImport
smart constructor.
Instances
:: Text | |
-> StopImport |
Create a value of StopImport
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:
StopImport
, stopImport_importId
- The ID of the import.
Request Lenses
stopImport_importId :: Lens' StopImport Text Source #
The ID of the import.
Destructuring the Response
data StopImportResponse Source #
See: newStopImportResponse
smart constructor.
StopImportResponse' | |
|
Instances
newStopImportResponse Source #
Create a value of StopImportResponse
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:
StopImportResponse
, stopImportResponse_createdTimestamp
- The timestamp of the import's creation.
StopImportResponse
, stopImportResponse_destinations
- The ARN of the destination event data store.
$sel:endEventTime:StopImportResponse'
, stopImportResponse_endEventTime
- Used with StartEventTime
to bound a StartImport
request, and limit
imported trail events to only those events logged within a specified
time period.
StopImport
, stopImportResponse_importId
- The ID for the import.
$sel:importSource:StopImportResponse'
, stopImportResponse_importSource
- The source S3 bucket for the import.
$sel:importStatistics:StopImportResponse'
, stopImportResponse_importStatistics
- Returns information on the stopped import.
StopImportResponse
, stopImportResponse_importStatus
- The status of the import.
$sel:startEventTime:StopImportResponse'
, stopImportResponse_startEventTime
- Used with EndEventTime
to bound a StartImport
request, and limit
imported trail events to only those events logged within a specified
time period.
StopImportResponse
, stopImportResponse_updatedTimestamp
- The timestamp of the import's last update.
$sel:httpStatus:StopImportResponse'
, stopImportResponse_httpStatus
- The response's http status code.
Response Lenses
stopImportResponse_createdTimestamp :: Lens' StopImportResponse (Maybe UTCTime) Source #
The timestamp of the import's creation.
stopImportResponse_destinations :: Lens' StopImportResponse (Maybe (NonEmpty Text)) Source #
The ARN of the destination event data store.
stopImportResponse_endEventTime :: Lens' StopImportResponse (Maybe UTCTime) Source #
Used with StartEventTime
to bound a StartImport
request, and limit
imported trail events to only those events logged within a specified
time period.
stopImportResponse_importId :: Lens' StopImportResponse (Maybe Text) Source #
The ID for the import.
stopImportResponse_importSource :: Lens' StopImportResponse (Maybe ImportSource) Source #
The source S3 bucket for the import.
stopImportResponse_importStatistics :: Lens' StopImportResponse (Maybe ImportStatistics) Source #
Returns information on the stopped import.
stopImportResponse_importStatus :: Lens' StopImportResponse (Maybe ImportStatus) Source #
The status of the import.
stopImportResponse_startEventTime :: Lens' StopImportResponse (Maybe UTCTime) Source #
Used with EndEventTime
to bound a StartImport
request, and limit
imported trail events to only those events logged within a specified
time period.
stopImportResponse_updatedTimestamp :: Lens' StopImportResponse (Maybe UTCTime) Source #
The timestamp of the import's last update.
stopImportResponse_httpStatus :: Lens' StopImportResponse Int Source #
The response's http status code.