Describes the current Elastic Load Balancing resource limits for your AWS account.
For more information, see Limits for Your Classic Load Balancer in the Classic Load Balancers Guide.
Parameters:
-
marker
(Optional[Marker], default:
None
)
–
The marker for the next set of results. (You received this marker from a previous call.)
-
page_size
(Optional[PageSize], default:
None
)
–
The maximum number of results to return with this call.
Raises:
Source code in docs_src/capo_elastic_load_balancing/_services/elastic_load_balancing.py
| def describe_account_limits(
self,
*,
config_overrides: Optional[ElasticLoadBalancingClientConfig] = None,
marker: Optional["capo_elastic_load_balancing.types.marker.Marker"] = None,
page_size: Optional[
"capo_elastic_load_balancing.types.page_size.PageSize"
] = None,
) -> "capo_elastic_load_balancing.types.describe_account_limits_output.DescribeAccountLimitsOutput":
"""<p>Describes the current Elastic Load Balancing resource limits for your AWS account.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-limits.html">Limits for Your Classic Load Balancer</a> in the <i>Classic Load Balancers Guide</i>.</p>
Args:
marker: <p>The marker for the next set of results. (You received this marker from a previous call.)</p>
page_size: <p>The maximum number of results to return with this call.</p>
Raises:
capo_elastic_load_balancing.errors.UnknownServiceError: The service returned an error code this client does not model.
"""
def _handler(
req: "OperationRequest[capo_elastic_load_balancing.types.describe_account_limits_input.DescribeAccountLimitsInput]",
) -> OperationResponse[
"capo_elastic_load_balancing.types.describe_account_limits_output.DescribeAccountLimitsOutput"
]:
import capo_elastic_load_balancing._operations.elastic_load_balancing_v7.describe_account_limits
output, http_response = (
capo_elastic_load_balancing._operations.elastic_load_balancing_v7.describe_account_limits.describe_account_limits(
req.options, req.input
)
)
return OperationResponse(output=output, response=http_response)
interceptors_, options_ = self.operation_options(
config_overrides, OperationLogging("DescribeAccountLimits")
)
input_: capo_elastic_load_balancing.types.describe_account_limits_input.DescribeAccountLimitsInput = {}
if marker is not None:
input_["marker"] = marker
if page_size is not None:
input_["page_size"] = page_size
response = execute_pipeline(
OperationRequest(input=input_, options=options_),
handler=_handler,
interceptors=list(interceptors_),
)
response.response.close()
return response.output
|