describeAccountLimits method

Future<DescribeAccountLimitsOutput> describeAccountLimits({
  1. String? nextToken,
})

Retrieves your account's AWS CloudFormation limits, such as the maximum number of stacks that you can create in your account. For more information about account limits, see AWS CloudFormation Limits in the AWS CloudFormation User Guide.

Parameter nextToken : A string that identifies the next page of limits that you want to retrieve.

Implementation

Future<DescribeAccountLimitsOutput> describeAccountLimits({
  String? nextToken,
}) async {
  _s.validateStringLength(
    'nextToken',
    nextToken,
    1,
    1024,
  );
  final $request = <String, dynamic>{};
  nextToken?.also((arg) => $request['NextToken'] = arg);
  final $result = await _protocol.send(
    $request,
    action: 'DescribeAccountLimits',
    version: '2010-05-15',
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    shape: shapes['DescribeAccountLimitsInput'],
    shapes: shapes,
    resultWrapper: 'DescribeAccountLimitsResult',
  );
  return DescribeAccountLimitsOutput.fromXml($result);
}