amazonka-ec2-2.0: Amazon Elastic Compute Cloud 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.EC2.GetAwsNetworkPerformanceData

Description

Gets network performance data.

This operation returns paginated results.

Synopsis

Creating a Request

data GetAwsNetworkPerformanceData Source #

See: newGetAwsNetworkPerformanceData smart constructor.

Constructors

GetAwsNetworkPerformanceData' 

Fields

  • dataQueries :: Maybe [DataQuery]

    A list of network performance data queries.

  • dryRun :: Maybe Bool

    Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

  • endTime :: Maybe ISO8601

    The ending time for the performance data request. The end time must be formatted as yyyy-mm-ddThh:mm:ss. For example, 2022-06-12T12:00:00.000Z.

  • maxResults :: Maybe Int

    The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

  • nextToken :: Maybe Text

    The token for the next page of results.

  • startTime :: Maybe ISO8601

    The starting time for the performance data request. The starting time must be formatted as yyyy-mm-ddThh:mm:ss. For example, 2022-06-10T12:00:00.000Z.

Instances

Instances details
ToHeaders GetAwsNetworkPerformanceData Source # 
Instance details

Defined in Amazonka.EC2.GetAwsNetworkPerformanceData

ToPath GetAwsNetworkPerformanceData Source # 
Instance details

Defined in Amazonka.EC2.GetAwsNetworkPerformanceData

ToQuery GetAwsNetworkPerformanceData Source # 
Instance details

Defined in Amazonka.EC2.GetAwsNetworkPerformanceData

AWSPager GetAwsNetworkPerformanceData Source # 
Instance details

Defined in Amazonka.EC2.GetAwsNetworkPerformanceData

AWSRequest GetAwsNetworkPerformanceData Source # 
Instance details

Defined in Amazonka.EC2.GetAwsNetworkPerformanceData

Generic GetAwsNetworkPerformanceData Source # 
Instance details

Defined in Amazonka.EC2.GetAwsNetworkPerformanceData

Associated Types

type Rep GetAwsNetworkPerformanceData :: Type -> Type #

Read GetAwsNetworkPerformanceData Source # 
Instance details

Defined in Amazonka.EC2.GetAwsNetworkPerformanceData

Show GetAwsNetworkPerformanceData Source # 
Instance details

Defined in Amazonka.EC2.GetAwsNetworkPerformanceData

NFData GetAwsNetworkPerformanceData Source # 
Instance details

Defined in Amazonka.EC2.GetAwsNetworkPerformanceData

Eq GetAwsNetworkPerformanceData Source # 
Instance details

Defined in Amazonka.EC2.GetAwsNetworkPerformanceData

Hashable GetAwsNetworkPerformanceData Source # 
Instance details

Defined in Amazonka.EC2.GetAwsNetworkPerformanceData

type AWSResponse GetAwsNetworkPerformanceData Source # 
Instance details

Defined in Amazonka.EC2.GetAwsNetworkPerformanceData

type Rep GetAwsNetworkPerformanceData Source # 
Instance details

Defined in Amazonka.EC2.GetAwsNetworkPerformanceData

type Rep GetAwsNetworkPerformanceData = D1 ('MetaData "GetAwsNetworkPerformanceData" "Amazonka.EC2.GetAwsNetworkPerformanceData" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "GetAwsNetworkPerformanceData'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "dataQueries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DataQuery])) :*: (S1 ('MetaSel ('Just "dryRun") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)))) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601))))))

newGetAwsNetworkPerformanceData :: GetAwsNetworkPerformanceData Source #

Create a value of GetAwsNetworkPerformanceData 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:dataQueries:GetAwsNetworkPerformanceData', getAwsNetworkPerformanceData_dataQueries - A list of network performance data queries.

$sel:dryRun:GetAwsNetworkPerformanceData', getAwsNetworkPerformanceData_dryRun - Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

GetAwsNetworkPerformanceData, getAwsNetworkPerformanceData_endTime - The ending time for the performance data request. The end time must be formatted as yyyy-mm-ddThh:mm:ss. For example, 2022-06-12T12:00:00.000Z.

$sel:maxResults:GetAwsNetworkPerformanceData', getAwsNetworkPerformanceData_maxResults - The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

GetAwsNetworkPerformanceData, getAwsNetworkPerformanceData_nextToken - The token for the next page of results.

GetAwsNetworkPerformanceData, getAwsNetworkPerformanceData_startTime - The starting time for the performance data request. The starting time must be formatted as yyyy-mm-ddThh:mm:ss. For example, 2022-06-10T12:00:00.000Z.

Request Lenses

getAwsNetworkPerformanceData_dryRun :: Lens' GetAwsNetworkPerformanceData (Maybe Bool) Source #

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

getAwsNetworkPerformanceData_endTime :: Lens' GetAwsNetworkPerformanceData (Maybe UTCTime) Source #

The ending time for the performance data request. The end time must be formatted as yyyy-mm-ddThh:mm:ss. For example, 2022-06-12T12:00:00.000Z.

getAwsNetworkPerformanceData_maxResults :: Lens' GetAwsNetworkPerformanceData (Maybe Int) Source #

The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

getAwsNetworkPerformanceData_startTime :: Lens' GetAwsNetworkPerformanceData (Maybe UTCTime) Source #

The starting time for the performance data request. The starting time must be formatted as yyyy-mm-ddThh:mm:ss. For example, 2022-06-10T12:00:00.000Z.

Destructuring the Response

data GetAwsNetworkPerformanceDataResponse Source #

Constructors

GetAwsNetworkPerformanceDataResponse' 

Fields

Instances

Instances details
Generic GetAwsNetworkPerformanceDataResponse Source # 
Instance details

Defined in Amazonka.EC2.GetAwsNetworkPerformanceData

Read GetAwsNetworkPerformanceDataResponse Source # 
Instance details

Defined in Amazonka.EC2.GetAwsNetworkPerformanceData

Show GetAwsNetworkPerformanceDataResponse Source # 
Instance details

Defined in Amazonka.EC2.GetAwsNetworkPerformanceData

NFData GetAwsNetworkPerformanceDataResponse Source # 
Instance details

Defined in Amazonka.EC2.GetAwsNetworkPerformanceData

Eq GetAwsNetworkPerformanceDataResponse Source # 
Instance details

Defined in Amazonka.EC2.GetAwsNetworkPerformanceData

type Rep GetAwsNetworkPerformanceDataResponse Source # 
Instance details

Defined in Amazonka.EC2.GetAwsNetworkPerformanceData

type Rep GetAwsNetworkPerformanceDataResponse = D1 ('MetaData "GetAwsNetworkPerformanceDataResponse" "Amazonka.EC2.GetAwsNetworkPerformanceData" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "GetAwsNetworkPerformanceDataResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dataResponses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DataResponse])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetAwsNetworkPerformanceDataResponse Source #

Create a value of GetAwsNetworkPerformanceDataResponse 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:dataResponses:GetAwsNetworkPerformanceDataResponse', getAwsNetworkPerformanceDataResponse_dataResponses - The list of data responses.

GetAwsNetworkPerformanceData, getAwsNetworkPerformanceDataResponse_nextToken - The token to use to retrieve the next page of results. This value is null when there are no more results to return.

$sel:httpStatus:GetAwsNetworkPerformanceDataResponse', getAwsNetworkPerformanceDataResponse_httpStatus - The response's http status code.

Response Lenses

getAwsNetworkPerformanceDataResponse_nextToken :: Lens' GetAwsNetworkPerformanceDataResponse (Maybe Text) Source #

The token to use to retrieve the next page of results. This value is null when there are no more results to return.