list_business_support_subscription_history
async
¶
list_business_support_subscription_history(
*,
config_overrides: Optional[AsyncBillingClientConfig] = None,
billing_month: Optional[BusinessSupportBillingMonth] = None,
account_id: Optional[AccountId] = None,
start_date: Optional[datetime] = None,
end_date: Optional[datetime] = None,
max_results: Optional[int] = None,
next_token: Optional[PageToken] = None,
) -> ListBusinessSupportSubscriptionHistoryResponse
Returns the history of Business Support subscription contracts across accounts.
Parameters:
-
billing_month(Optional[BusinessSupportBillingMonth], default:None) –The billing month to retrieve subscription contracts for, in YYYY-MM format. If you don't specify a value, defaults to the current month.
-
account_id(Optional[AccountId], default:None) –The account ID to filter results to a specific account. If you don't specify a value, the response includes subscription history for all accounts.
-
start_date(Optional[datetime], default:None) –The start date to filter subscription contracts from.
-
end_date(Optional[datetime], default:None) –The end date to filter subscription contracts to.
-
max_results(Optional[int], default:None) –The maximum number of results to return per page. Default is 100.
-
next_token(Optional[PageToken], default:None) –The pagination token for the next page of results.
Raises:
-
AccessDeniedException–You don't have sufficient access to perform this action.
-
InternalServerException–The request processing failed because of an unknown error, exception, or failure.
-
ResourceNotFoundException–The specified ARN in the request doesn't exist.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input fails to satisfy the constraints specified by an Amazon Web Services service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_billing/_services/async_billing.py
1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 | |