libZSservicesZSamazonka-amplifyZSamazonka-amplify
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.Amplify.GenerateAccessLogs

Description

Returns the website access logs for a specific time range using a presigned URL.

Synopsis

Creating a Request

data GenerateAccessLogs Source #

The request structure for the generate access logs request.

See: newGenerateAccessLogs smart constructor.

Constructors

GenerateAccessLogs' 

Fields

  • startTime :: Maybe POSIX

    The time at which the logs should start. The time range specified is inclusive of the start time.

  • endTime :: Maybe POSIX

    The time at which the logs should end. The time range specified is inclusive of the end time.

  • domainName :: Text

    The name of the domain.

  • appId :: Text

    The unique ID for an Amplify app.

Instances

Instances details
Eq GenerateAccessLogs Source # 
Instance details

Defined in Amazonka.Amplify.GenerateAccessLogs

Read GenerateAccessLogs Source # 
Instance details

Defined in Amazonka.Amplify.GenerateAccessLogs

Show GenerateAccessLogs Source # 
Instance details

Defined in Amazonka.Amplify.GenerateAccessLogs

Generic GenerateAccessLogs Source # 
Instance details

Defined in Amazonka.Amplify.GenerateAccessLogs

Associated Types

type Rep GenerateAccessLogs :: Type -> Type #

NFData GenerateAccessLogs Source # 
Instance details

Defined in Amazonka.Amplify.GenerateAccessLogs

Methods

rnf :: GenerateAccessLogs -> () #

Hashable GenerateAccessLogs Source # 
Instance details

Defined in Amazonka.Amplify.GenerateAccessLogs

ToJSON GenerateAccessLogs Source # 
Instance details

Defined in Amazonka.Amplify.GenerateAccessLogs

AWSRequest GenerateAccessLogs Source # 
Instance details

Defined in Amazonka.Amplify.GenerateAccessLogs

Associated Types

type AWSResponse GenerateAccessLogs #

ToHeaders GenerateAccessLogs Source # 
Instance details

Defined in Amazonka.Amplify.GenerateAccessLogs

ToPath GenerateAccessLogs Source # 
Instance details

Defined in Amazonka.Amplify.GenerateAccessLogs

ToQuery GenerateAccessLogs Source # 
Instance details

Defined in Amazonka.Amplify.GenerateAccessLogs

type Rep GenerateAccessLogs Source # 
Instance details

Defined in Amazonka.Amplify.GenerateAccessLogs

type Rep GenerateAccessLogs = D1 ('MetaData "GenerateAccessLogs" "Amazonka.Amplify.GenerateAccessLogs" "libZSservicesZSamazonka-amplifyZSamazonka-amplify" 'False) (C1 ('MetaCons "GenerateAccessLogs'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))) :*: (S1 ('MetaSel ('Just "domainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "appId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse GenerateAccessLogs Source # 
Instance details

Defined in Amazonka.Amplify.GenerateAccessLogs

newGenerateAccessLogs Source #

Create a value of GenerateAccessLogs 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:startTime:GenerateAccessLogs', generateAccessLogs_startTime - The time at which the logs should start. The time range specified is inclusive of the start time.

$sel:endTime:GenerateAccessLogs', generateAccessLogs_endTime - The time at which the logs should end. The time range specified is inclusive of the end time.

$sel:domainName:GenerateAccessLogs', generateAccessLogs_domainName - The name of the domain.

$sel:appId:GenerateAccessLogs', generateAccessLogs_appId - The unique ID for an Amplify app.

Request Lenses

generateAccessLogs_startTime :: Lens' GenerateAccessLogs (Maybe UTCTime) Source #

The time at which the logs should start. The time range specified is inclusive of the start time.

generateAccessLogs_endTime :: Lens' GenerateAccessLogs (Maybe UTCTime) Source #

The time at which the logs should end. The time range specified is inclusive of the end time.

generateAccessLogs_appId :: Lens' GenerateAccessLogs Text Source #

The unique ID for an Amplify app.

Destructuring the Response

data GenerateAccessLogsResponse Source #

The result structure for the generate access logs request.

See: newGenerateAccessLogsResponse smart constructor.

Constructors

GenerateAccessLogsResponse' 

Fields

Instances

Instances details
Eq GenerateAccessLogsResponse Source # 
Instance details

Defined in Amazonka.Amplify.GenerateAccessLogs

Read GenerateAccessLogsResponse Source # 
Instance details

Defined in Amazonka.Amplify.GenerateAccessLogs

Show GenerateAccessLogsResponse Source # 
Instance details

Defined in Amazonka.Amplify.GenerateAccessLogs

Generic GenerateAccessLogsResponse Source # 
Instance details

Defined in Amazonka.Amplify.GenerateAccessLogs

Associated Types

type Rep GenerateAccessLogsResponse :: Type -> Type #

NFData GenerateAccessLogsResponse Source # 
Instance details

Defined in Amazonka.Amplify.GenerateAccessLogs

type Rep GenerateAccessLogsResponse Source # 
Instance details

Defined in Amazonka.Amplify.GenerateAccessLogs

type Rep GenerateAccessLogsResponse = D1 ('MetaData "GenerateAccessLogsResponse" "Amazonka.Amplify.GenerateAccessLogs" "libZSservicesZSamazonka-amplifyZSamazonka-amplify" 'False) (C1 ('MetaCons "GenerateAccessLogsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "logUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGenerateAccessLogsResponse Source #

Create a value of GenerateAccessLogsResponse 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:logUrl:GenerateAccessLogsResponse', generateAccessLogsResponse_logUrl - The pre-signed URL for the requested access logs.

$sel:httpStatus:GenerateAccessLogsResponse', generateAccessLogsResponse_httpStatus - The response's http status code.

Response Lenses

generateAccessLogsResponse_logUrl :: Lens' GenerateAccessLogsResponse (Maybe Text) Source #

The pre-signed URL for the requested access logs.