| 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 |
Amazonka.GroundStation.GetMinuteUsage
Description
Returns the number of minutes used by account.
Synopsis
- data GetMinuteUsage = GetMinuteUsage' {}
- newGetMinuteUsage :: Natural -> Natural -> GetMinuteUsage
- getMinuteUsage_month :: Lens' GetMinuteUsage Natural
- getMinuteUsage_year :: Lens' GetMinuteUsage Natural
- data GetMinuteUsageResponse = GetMinuteUsageResponse' {}
- newGetMinuteUsageResponse :: Int -> GetMinuteUsageResponse
- getMinuteUsageResponse_estimatedMinutesRemaining :: Lens' GetMinuteUsageResponse (Maybe Int)
- getMinuteUsageResponse_isReservedMinutesCustomer :: Lens' GetMinuteUsageResponse (Maybe Bool)
- getMinuteUsageResponse_totalReservedMinuteAllocation :: Lens' GetMinuteUsageResponse (Maybe Int)
- getMinuteUsageResponse_totalScheduledMinutes :: Lens' GetMinuteUsageResponse (Maybe Int)
- getMinuteUsageResponse_upcomingMinutesScheduled :: Lens' GetMinuteUsageResponse (Maybe Int)
- getMinuteUsageResponse_httpStatus :: Lens' GetMinuteUsageResponse Int
Creating a Request
data GetMinuteUsage Source #
See: newGetMinuteUsage smart constructor.
Constructors
| GetMinuteUsage' | |
Instances
Create a value of GetMinuteUsage 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:month:GetMinuteUsage', getMinuteUsage_month - The month being requested, with a value of 1-12.
$sel:year:GetMinuteUsage', getMinuteUsage_year - The year being requested, in the format of YYYY.
Request Lenses
getMinuteUsage_month :: Lens' GetMinuteUsage Natural Source #
The month being requested, with a value of 1-12.
getMinuteUsage_year :: Lens' GetMinuteUsage Natural Source #
The year being requested, in the format of YYYY.
Destructuring the Response
data GetMinuteUsageResponse Source #
See: newGetMinuteUsageResponse smart constructor.
Constructors
| GetMinuteUsageResponse' | |
Fields
| |
Instances
newGetMinuteUsageResponse Source #
Create a value of GetMinuteUsageResponse 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:estimatedMinutesRemaining:GetMinuteUsageResponse', getMinuteUsageResponse_estimatedMinutesRemaining - Estimated number of minutes remaining for an account, specific to the
month being requested.
$sel:isReservedMinutesCustomer:GetMinuteUsageResponse', getMinuteUsageResponse_isReservedMinutesCustomer - Returns whether or not an account has signed up for the reserved minutes
pricing plan, specific to the month being requested.
$sel:totalReservedMinuteAllocation:GetMinuteUsageResponse', getMinuteUsageResponse_totalReservedMinuteAllocation - Total number of reserved minutes allocated, specific to the month being
requested.
$sel:totalScheduledMinutes:GetMinuteUsageResponse', getMinuteUsageResponse_totalScheduledMinutes - Total scheduled minutes for an account, specific to the month being
requested.
$sel:upcomingMinutesScheduled:GetMinuteUsageResponse', getMinuteUsageResponse_upcomingMinutesScheduled - Upcoming minutes scheduled for an account, specific to the month being
requested.
$sel:httpStatus:GetMinuteUsageResponse', getMinuteUsageResponse_httpStatus - The response's http status code.
Response Lenses
getMinuteUsageResponse_estimatedMinutesRemaining :: Lens' GetMinuteUsageResponse (Maybe Int) Source #
Estimated number of minutes remaining for an account, specific to the month being requested.
getMinuteUsageResponse_isReservedMinutesCustomer :: Lens' GetMinuteUsageResponse (Maybe Bool) Source #
Returns whether or not an account has signed up for the reserved minutes pricing plan, specific to the month being requested.
getMinuteUsageResponse_totalReservedMinuteAllocation :: Lens' GetMinuteUsageResponse (Maybe Int) Source #
Total number of reserved minutes allocated, specific to the month being requested.
getMinuteUsageResponse_totalScheduledMinutes :: Lens' GetMinuteUsageResponse (Maybe Int) Source #
Total scheduled minutes for an account, specific to the month being requested.
getMinuteUsageResponse_upcomingMinutesScheduled :: Lens' GetMinuteUsageResponse (Maybe Int) Source #
Upcoming minutes scheduled for an account, specific to the month being requested.
getMinuteUsageResponse_httpStatus :: Lens' GetMinuteUsageResponse Int Source #
The response's http status code.