describeIpRestriction method
Provides a summary and status of IP rules.
May throw AccessDeniedException.
May throw InternalFailureException.
May throw InvalidParameterValueException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
Parameter awsAccountId :
The ID of the Amazon Web Services account that contains the IP rules.
Implementation
Future<DescribeIpRestrictionResponse> describeIpRestriction({
required String awsAccountId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/accounts/${Uri.encodeComponent(awsAccountId)}/ip-restriction',
exceptionFnMap: _exceptionFns,
);
return DescribeIpRestrictionResponse.fromJson(response);
}