libZSservicesZSamazonka-groundstationZSamazonka-groundstation
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.GroundStation.GetMinuteUsage

Description

Returns the number of minutes used by account.

Synopsis

Creating a Request

data GetMinuteUsage Source #

See: newGetMinuteUsage smart constructor.

Constructors

GetMinuteUsage' 

Fields

  • month :: Int

    The month being requested, with a value of 1-12.

  • year :: Int

    The year being requested, in the format of YYYY.

Instances

Instances details
Eq GetMinuteUsage Source # 
Instance details

Defined in Amazonka.GroundStation.GetMinuteUsage

Read GetMinuteUsage Source # 
Instance details

Defined in Amazonka.GroundStation.GetMinuteUsage

Show GetMinuteUsage Source # 
Instance details

Defined in Amazonka.GroundStation.GetMinuteUsage

Generic GetMinuteUsage Source # 
Instance details

Defined in Amazonka.GroundStation.GetMinuteUsage

Associated Types

type Rep GetMinuteUsage :: Type -> Type #

NFData GetMinuteUsage Source # 
Instance details

Defined in Amazonka.GroundStation.GetMinuteUsage

Methods

rnf :: GetMinuteUsage -> () #

Hashable GetMinuteUsage Source # 
Instance details

Defined in Amazonka.GroundStation.GetMinuteUsage

ToJSON GetMinuteUsage Source # 
Instance details

Defined in Amazonka.GroundStation.GetMinuteUsage

AWSRequest GetMinuteUsage Source # 
Instance details

Defined in Amazonka.GroundStation.GetMinuteUsage

Associated Types

type AWSResponse GetMinuteUsage #

ToHeaders GetMinuteUsage Source # 
Instance details

Defined in Amazonka.GroundStation.GetMinuteUsage

ToPath GetMinuteUsage Source # 
Instance details

Defined in Amazonka.GroundStation.GetMinuteUsage

ToQuery GetMinuteUsage Source # 
Instance details

Defined in Amazonka.GroundStation.GetMinuteUsage

type Rep GetMinuteUsage Source # 
Instance details

Defined in Amazonka.GroundStation.GetMinuteUsage

type Rep GetMinuteUsage = D1 ('MetaData "GetMinuteUsage" "Amazonka.GroundStation.GetMinuteUsage" "libZSservicesZSamazonka-groundstationZSamazonka-groundstation" 'False) (C1 ('MetaCons "GetMinuteUsage'" 'PrefixI 'True) (S1 ('MetaSel ('Just "month") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "year") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))
type AWSResponse GetMinuteUsage Source # 
Instance details

Defined in Amazonka.GroundStation.GetMinuteUsage

newGetMinuteUsage Source #

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 Int Source #

The month being requested, with a value of 1-12.

getMinuteUsage_year :: Lens' GetMinuteUsage Int Source #

The year being requested, in the format of YYYY.

Destructuring the Response

data GetMinuteUsageResponse Source #

See: newGetMinuteUsageResponse smart constructor.

Constructors

GetMinuteUsageResponse' 

Fields

Instances

Instances details
Eq GetMinuteUsageResponse Source # 
Instance details

Defined in Amazonka.GroundStation.GetMinuteUsage

Read GetMinuteUsageResponse Source # 
Instance details

Defined in Amazonka.GroundStation.GetMinuteUsage

Show GetMinuteUsageResponse Source # 
Instance details

Defined in Amazonka.GroundStation.GetMinuteUsage

Generic GetMinuteUsageResponse Source # 
Instance details

Defined in Amazonka.GroundStation.GetMinuteUsage

Associated Types

type Rep GetMinuteUsageResponse :: Type -> Type #

NFData GetMinuteUsageResponse Source # 
Instance details

Defined in Amazonka.GroundStation.GetMinuteUsage

Methods

rnf :: GetMinuteUsageResponse -> () #

type Rep GetMinuteUsageResponse Source # 
Instance details

Defined in Amazonka.GroundStation.GetMinuteUsage

type Rep GetMinuteUsageResponse = D1 ('MetaData "GetMinuteUsageResponse" "Amazonka.GroundStation.GetMinuteUsage" "libZSservicesZSamazonka-groundstationZSamazonka-groundstation" 'False) (C1 ('MetaCons "GetMinuteUsageResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "isReservedMinutesCustomer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "upcomingMinutesScheduled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "totalScheduledMinutes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))) :*: (S1 ('MetaSel ('Just "totalReservedMinuteAllocation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "estimatedMinutesRemaining") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

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: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:upcomingMinutesScheduled:GetMinuteUsageResponse', getMinuteUsageResponse_upcomingMinutesScheduled - Upcoming minutes scheduled for an account, specific to the month being requested.

$sel:totalScheduledMinutes:GetMinuteUsageResponse', getMinuteUsageResponse_totalScheduledMinutes - Total scheduled minutes for an account, specific to the month being requested.

$sel:totalReservedMinuteAllocation:GetMinuteUsageResponse', getMinuteUsageResponse_totalReservedMinuteAllocation - Total number of reserved minutes allocated, specific to the month being requested.

$sel:estimatedMinutesRemaining:GetMinuteUsageResponse', getMinuteUsageResponse_estimatedMinutesRemaining - Estimated number of minutes remaining for an account, specific to the month being requested.

$sel:httpStatus:GetMinuteUsageResponse', getMinuteUsageResponse_httpStatus - The response's http status code.

Response Lenses

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_upcomingMinutesScheduled :: Lens' GetMinuteUsageResponse (Maybe Int) Source #

Upcoming minutes scheduled for an account, 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_totalReservedMinuteAllocation :: Lens' GetMinuteUsageResponse (Maybe Int) Source #

Total number of reserved minutes allocated, specific to the month being requested.

getMinuteUsageResponse_estimatedMinutesRemaining :: Lens' GetMinuteUsageResponse (Maybe Int) Source #

Estimated number of minutes remaining for an account, specific to the month being requested.