Returns information about the Snow Family service limit for your account, and also the number of Snow devices your account has in use.
The default service limit for the number of Snow devices that you can have at one time is 1. If you want to increase your service limit, contact Amazon Web Services Support.
Raises:
capo_snowball.errors.UnknownServiceError: The service returned an error code this client does not model.
Examples:
To see your Snowball service limit and the number of Snowballs you have in use
Returns information about the Snowball service limit for your account, and also the number of Snowballs your account has in use.
The default service limit for the number of Snowballs that you can have at one time is 1. If you want to increase your service limit, contact AWS Support.
>>> client.get_snowball_usage()
Source code in docs_src/capo_snowball/_services/snowball.py
| def get_snowball_usage(
self, *, config_overrides: Optional[SnowballClientConfig] = None
) -> "capo_snowball.types.get_snowball_usage_result.GetSnowballUsageResult":
"""<p>Returns information about the Snow Family service limit for your account, and also the number of Snow devices your account has in use.</p> <p>The default service limit for the number of Snow devices that you can have at one time is 1. If you want to increase your service limit, contact Amazon Web Services Support.</p>
Raises:
capo_snowball.errors.UnknownServiceError: The service returned an error code this client does not model.
Examples:
To see your Snowball service limit and the number of Snowballs you have in use
Returns information about the Snowball service limit for your account, and also the number of Snowballs your account has in use.
The default service limit for the number of Snowballs that you can have at one time is 1. If you want to increase your service limit, contact AWS Support.
>>> client.get_snowball_usage()
"""
def _handler(
req: "OperationRequest[capo_snowball.types.get_snowball_usage_request.GetSnowballUsageRequest]",
) -> OperationResponse[
"capo_snowball.types.get_snowball_usage_result.GetSnowballUsageResult"
]:
import capo_snowball._operations.awsie_snowball_job_management_service.get_snowball_usage
output, http_response = (
capo_snowball._operations.awsie_snowball_job_management_service.get_snowball_usage.get_snowball_usage(
req.options, req.input
)
)
return OperationResponse(output=output, response=http_response)
interceptors_, options_ = self.operation_options(
config_overrides, OperationLogging("GetSnowballUsage")
)
input_: capo_snowball.types.get_snowball_usage_request.GetSnowballUsageRequest = {}
response = execute_pipeline(
OperationRequest(input=input_, options=options_),
handler=_handler,
interceptors=list(interceptors_),
)
response.response.close()
return response.output
|