update_connections_billing_mode
async
¶
update_connections_billing_mode(
connection_ids: ConnectionIdList,
billing_mode: RequestBillingMode,
*,
config_overrides: Optional[AsyncDirectConnectClientConfig] = None,
) -> UpdateConnectionsBillingModeResponse
Updates the billing mode for the specified Direct Connect connections. You can update the billing mode for up to 200 connections in a single request.
Parameters:
-
connection_ids(ConnectionIdList) –The IDs of the connections to update. You can specify from 1 to 200 connections.
-
billing_mode(RequestBillingMode) –The billing mode to apply to the specified connections. The valid values are
PayAsYouGo,FlatRateTier1,FlatRateTier2,FlatRateTier3,FlatRateTier4, andFlatRateTier5.
Raises:
-
DirectConnectClientException–One or more parameters are not valid.
-
DirectConnectServerException–A server-side error occurred.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_direct_connect/_services/async_direct_connect.py
4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 | |