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 |
Provides the number of days left for each data source used in the free trial period.
Synopsis
- data GetRemainingFreeTrialDays = GetRemainingFreeTrialDays' {
- accountIds :: Maybe (NonEmpty Text)
- detectorId :: Text
- newGetRemainingFreeTrialDays :: Text -> GetRemainingFreeTrialDays
- getRemainingFreeTrialDays_accountIds :: Lens' GetRemainingFreeTrialDays (Maybe (NonEmpty Text))
- getRemainingFreeTrialDays_detectorId :: Lens' GetRemainingFreeTrialDays Text
- data GetRemainingFreeTrialDaysResponse = GetRemainingFreeTrialDaysResponse' {}
- newGetRemainingFreeTrialDaysResponse :: Int -> GetRemainingFreeTrialDaysResponse
- getRemainingFreeTrialDaysResponse_accounts :: Lens' GetRemainingFreeTrialDaysResponse (Maybe [AccountFreeTrialInfo])
- getRemainingFreeTrialDaysResponse_unprocessedAccounts :: Lens' GetRemainingFreeTrialDaysResponse (Maybe [UnprocessedAccount])
- getRemainingFreeTrialDaysResponse_httpStatus :: Lens' GetRemainingFreeTrialDaysResponse Int
Creating a Request
data GetRemainingFreeTrialDays Source #
See: newGetRemainingFreeTrialDays
smart constructor.
GetRemainingFreeTrialDays' | |
|
Instances
newGetRemainingFreeTrialDays Source #
Create a value of GetRemainingFreeTrialDays
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:
GetRemainingFreeTrialDays
, getRemainingFreeTrialDays_accountIds
- A list of account identifiers of the GuardDuty member account.
GetRemainingFreeTrialDays
, getRemainingFreeTrialDays_detectorId
- The unique ID of the detector of the GuardDuty member account.
Request Lenses
getRemainingFreeTrialDays_accountIds :: Lens' GetRemainingFreeTrialDays (Maybe (NonEmpty Text)) Source #
A list of account identifiers of the GuardDuty member account.
getRemainingFreeTrialDays_detectorId :: Lens' GetRemainingFreeTrialDays Text Source #
The unique ID of the detector of the GuardDuty member account.
Destructuring the Response
data GetRemainingFreeTrialDaysResponse Source #
See: newGetRemainingFreeTrialDaysResponse
smart constructor.
GetRemainingFreeTrialDaysResponse' | |
|
Instances
newGetRemainingFreeTrialDaysResponse Source #
Create a value of GetRemainingFreeTrialDaysResponse
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:accounts:GetRemainingFreeTrialDaysResponse'
, getRemainingFreeTrialDaysResponse_accounts
- The member accounts which were included in a request and were processed
successfully.
$sel:unprocessedAccounts:GetRemainingFreeTrialDaysResponse'
, getRemainingFreeTrialDaysResponse_unprocessedAccounts
- The member account that was included in a request but for which the
request could not be processed.
$sel:httpStatus:GetRemainingFreeTrialDaysResponse'
, getRemainingFreeTrialDaysResponse_httpStatus
- The response's http status code.
Response Lenses
getRemainingFreeTrialDaysResponse_accounts :: Lens' GetRemainingFreeTrialDaysResponse (Maybe [AccountFreeTrialInfo]) Source #
The member accounts which were included in a request and were processed successfully.
getRemainingFreeTrialDaysResponse_unprocessedAccounts :: Lens' GetRemainingFreeTrialDaysResponse (Maybe [UnprocessedAccount]) Source #
The member account that was included in a request but for which the request could not be processed.
getRemainingFreeTrialDaysResponse_httpStatus :: Lens' GetRemainingFreeTrialDaysResponse Int Source #
The response's http status code.