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 free trial status for multiple Amazon Web Services accounts.
Synopsis
- data BatchGetFreeTrialInfo = BatchGetFreeTrialInfo' {}
- newBatchGetFreeTrialInfo :: NonEmpty Text -> BatchGetFreeTrialInfo
- batchGetFreeTrialInfo_accountIds :: Lens' BatchGetFreeTrialInfo (NonEmpty Text)
- data BatchGetFreeTrialInfoResponse = BatchGetFreeTrialInfoResponse' {}
- newBatchGetFreeTrialInfoResponse :: Int -> BatchGetFreeTrialInfoResponse
- batchGetFreeTrialInfoResponse_httpStatus :: Lens' BatchGetFreeTrialInfoResponse Int
- batchGetFreeTrialInfoResponse_accounts :: Lens' BatchGetFreeTrialInfoResponse [FreeTrialAccountInfo]
- batchGetFreeTrialInfoResponse_failedAccounts :: Lens' BatchGetFreeTrialInfoResponse [FreeTrialInfoError]
Creating a Request
data BatchGetFreeTrialInfo Source #
See: newBatchGetFreeTrialInfo
smart constructor.
BatchGetFreeTrialInfo' | |
|
Instances
newBatchGetFreeTrialInfo Source #
Create a value of BatchGetFreeTrialInfo
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:accountIds:BatchGetFreeTrialInfo'
, batchGetFreeTrialInfo_accountIds
- The account IDs to get free trial status for.
Request Lenses
batchGetFreeTrialInfo_accountIds :: Lens' BatchGetFreeTrialInfo (NonEmpty Text) Source #
The account IDs to get free trial status for.
Destructuring the Response
data BatchGetFreeTrialInfoResponse Source #
See: newBatchGetFreeTrialInfoResponse
smart constructor.
BatchGetFreeTrialInfoResponse' | |
|
Instances
newBatchGetFreeTrialInfoResponse Source #
Create a value of BatchGetFreeTrialInfoResponse
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:httpStatus:BatchGetFreeTrialInfoResponse'
, batchGetFreeTrialInfoResponse_httpStatus
- The response's http status code.
$sel:accounts:BatchGetFreeTrialInfoResponse'
, batchGetFreeTrialInfoResponse_accounts
- An array of objects that provide Amazon Inspector free trial details for
each of the requested accounts.
$sel:failedAccounts:BatchGetFreeTrialInfoResponse'
, batchGetFreeTrialInfoResponse_failedAccounts
- An array of objects detailing any accounts that free trial data could
not be returned for.
Response Lenses
batchGetFreeTrialInfoResponse_httpStatus :: Lens' BatchGetFreeTrialInfoResponse Int Source #
The response's http status code.
batchGetFreeTrialInfoResponse_accounts :: Lens' BatchGetFreeTrialInfoResponse [FreeTrialAccountInfo] Source #
An array of objects that provide Amazon Inspector free trial details for each of the requested accounts.
batchGetFreeTrialInfoResponse_failedAccounts :: Lens' BatchGetFreeTrialInfoResponse [FreeTrialInfoError] Source #
An array of objects detailing any accounts that free trial data could not be returned for.