amazonka-cloudtrail-2.0: Amazon CloudTrail 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.CloudTrail.GetImport

Description

Returns information about a specific import.

Synopsis

Creating a Request

data GetImport Source #

See: newGetImport smart constructor.

Constructors

GetImport' 

Fields

Instances

Instances details
ToJSON GetImport Source # 
Instance details

Defined in Amazonka.CloudTrail.GetImport

ToHeaders GetImport Source # 
Instance details

Defined in Amazonka.CloudTrail.GetImport

Methods

toHeaders :: GetImport -> [Header] #

ToPath GetImport Source # 
Instance details

Defined in Amazonka.CloudTrail.GetImport

ToQuery GetImport Source # 
Instance details

Defined in Amazonka.CloudTrail.GetImport

AWSRequest GetImport Source # 
Instance details

Defined in Amazonka.CloudTrail.GetImport

Associated Types

type AWSResponse GetImport #

Generic GetImport Source # 
Instance details

Defined in Amazonka.CloudTrail.GetImport

Associated Types

type Rep GetImport :: Type -> Type #

Read GetImport Source # 
Instance details

Defined in Amazonka.CloudTrail.GetImport

Show GetImport Source # 
Instance details

Defined in Amazonka.CloudTrail.GetImport

NFData GetImport Source # 
Instance details

Defined in Amazonka.CloudTrail.GetImport

Methods

rnf :: GetImport -> () #

Eq GetImport Source # 
Instance details

Defined in Amazonka.CloudTrail.GetImport

Hashable GetImport Source # 
Instance details

Defined in Amazonka.CloudTrail.GetImport

type AWSResponse GetImport Source # 
Instance details

Defined in Amazonka.CloudTrail.GetImport

type Rep GetImport Source # 
Instance details

Defined in Amazonka.CloudTrail.GetImport

type Rep GetImport = D1 ('MetaData "GetImport" "Amazonka.CloudTrail.GetImport" "amazonka-cloudtrail-2.0-6vmpMB1YeZzDIMmexWGsF3" 'False) (C1 ('MetaCons "GetImport'" 'PrefixI 'True) (S1 ('MetaSel ('Just "importId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetImport Source #

Arguments

:: Text

GetImport

-> GetImport 

Create a value of GetImport 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:

GetImport, getImport_importId - The ID for the import.

Request Lenses

getImport_importId :: Lens' GetImport Text Source #

The ID for the import.

Destructuring the Response

data GetImportResponse Source #

See: newGetImportResponse smart constructor.

Constructors

GetImportResponse' 

Fields

Instances

Instances details
Generic GetImportResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetImport

Associated Types

type Rep GetImportResponse :: Type -> Type #

Read GetImportResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetImport

Show GetImportResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetImport

NFData GetImportResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetImport

Methods

rnf :: GetImportResponse -> () #

Eq GetImportResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetImport

type Rep GetImportResponse Source # 
Instance details

Defined in Amazonka.CloudTrail.GetImport

newGetImportResponse Source #

Create a value of GetImportResponse 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:

GetImportResponse, getImportResponse_createdTimestamp - The timestamp of the import's creation.

GetImportResponse, getImportResponse_destinations - The ARN of the destination event data store.

$sel:endEventTime:GetImportResponse', getImportResponse_endEventTime - Used with StartEventTime to bound a StartImport request, and limit imported trail events to only those events logged within a specified time period.

GetImport, getImportResponse_importId - The ID of the import.

$sel:importSource:GetImportResponse', getImportResponse_importSource - The source S3 bucket.

$sel:importStatistics:GetImportResponse', getImportResponse_importStatistics - Provides statistics for the import. CloudTrail does not update import statistics in real-time. Returned values for parameters such as EventsCompleted may be lower than the actual value, because CloudTrail updates statistics incrementally over the course of the import.

GetImportResponse, getImportResponse_importStatus - The status of the import.

$sel:startEventTime:GetImportResponse', getImportResponse_startEventTime - Used with EndEventTime to bound a StartImport request, and limit imported trail events to only those events logged within a specified time period.

GetImportResponse, getImportResponse_updatedTimestamp - The timestamp of when the import was updated.

$sel:httpStatus:GetImportResponse', getImportResponse_httpStatus - The response's http status code.

Response Lenses

getImportResponse_createdTimestamp :: Lens' GetImportResponse (Maybe UTCTime) Source #

The timestamp of the import's creation.

getImportResponse_destinations :: Lens' GetImportResponse (Maybe (NonEmpty Text)) Source #

The ARN of the destination event data store.

getImportResponse_endEventTime :: Lens' GetImportResponse (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.

getImportResponse_importStatistics :: Lens' GetImportResponse (Maybe ImportStatistics) Source #

Provides statistics for the import. CloudTrail does not update import statistics in real-time. Returned values for parameters such as EventsCompleted may be lower than the actual value, because CloudTrail updates statistics incrementally over the course of the import.

getImportResponse_startEventTime :: Lens' GetImportResponse (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.

getImportResponse_updatedTimestamp :: Lens' GetImportResponse (Maybe UTCTime) Source #

The timestamp of when the import was updated.

getImportResponse_httpStatus :: Lens' GetImportResponse Int Source #

The response's http status code.