list_business_support_subscription_history
¶
list_business_support_subscription_history(
*,
config_overrides: Optional[BillingClientConfig] = 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/billing.py
1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 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 | |