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 |
Gets network performance data.
This operation returns paginated results.
Synopsis
- data GetAwsNetworkPerformanceData = GetAwsNetworkPerformanceData' {}
- newGetAwsNetworkPerformanceData :: GetAwsNetworkPerformanceData
- getAwsNetworkPerformanceData_dataQueries :: Lens' GetAwsNetworkPerformanceData (Maybe [DataQuery])
- getAwsNetworkPerformanceData_dryRun :: Lens' GetAwsNetworkPerformanceData (Maybe Bool)
- getAwsNetworkPerformanceData_endTime :: Lens' GetAwsNetworkPerformanceData (Maybe UTCTime)
- getAwsNetworkPerformanceData_maxResults :: Lens' GetAwsNetworkPerformanceData (Maybe Int)
- getAwsNetworkPerformanceData_nextToken :: Lens' GetAwsNetworkPerformanceData (Maybe Text)
- getAwsNetworkPerformanceData_startTime :: Lens' GetAwsNetworkPerformanceData (Maybe UTCTime)
- data GetAwsNetworkPerformanceDataResponse = GetAwsNetworkPerformanceDataResponse' {
- dataResponses :: Maybe [DataResponse]
- nextToken :: Maybe Text
- httpStatus :: Int
- newGetAwsNetworkPerformanceDataResponse :: Int -> GetAwsNetworkPerformanceDataResponse
- getAwsNetworkPerformanceDataResponse_dataResponses :: Lens' GetAwsNetworkPerformanceDataResponse (Maybe [DataResponse])
- getAwsNetworkPerformanceDataResponse_nextToken :: Lens' GetAwsNetworkPerformanceDataResponse (Maybe Text)
- getAwsNetworkPerformanceDataResponse_httpStatus :: Lens' GetAwsNetworkPerformanceDataResponse Int
Creating a Request
data GetAwsNetworkPerformanceData Source #
See: newGetAwsNetworkPerformanceData
smart constructor.
GetAwsNetworkPerformanceData' | |
|
Instances
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_dataQueries :: Lens' GetAwsNetworkPerformanceData (Maybe [DataQuery]) Source #
A list of network performance data queries.
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_nextToken :: Lens' GetAwsNetworkPerformanceData (Maybe Text) Source #
The token for the next page of results.
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 #
See: newGetAwsNetworkPerformanceDataResponse
smart constructor.
GetAwsNetworkPerformanceDataResponse' | |
|
Instances
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_dataResponses :: Lens' GetAwsNetworkPerformanceDataResponse (Maybe [DataResponse]) Source #
The list of data responses.
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.
getAwsNetworkPerformanceDataResponse_httpStatus :: Lens' GetAwsNetworkPerformanceDataResponse Int Source #
The response's http status code.