revokeDBSecurityGroupIngress method

Future<RevokeDBSecurityGroupIngressResult> revokeDBSecurityGroupIngress({
  1. required String dBSecurityGroupName,
  2. String? cidrip,
  3. String? eC2SecurityGroupId,
  4. String? eC2SecurityGroupName,
  5. String? eC2SecurityGroupOwnerId,
})

Implementation

Future<RevokeDBSecurityGroupIngressResult> revokeDBSecurityGroupIngress({
  required String dBSecurityGroupName,
  String? cidrip,
  String? eC2SecurityGroupId,
  String? eC2SecurityGroupName,
  String? eC2SecurityGroupOwnerId,
}) async {
  ArgumentError.checkNotNull(dBSecurityGroupName, 'dBSecurityGroupName');
  final $request = <String, dynamic>{};
  $request['DBSecurityGroupName'] = dBSecurityGroupName;
  cidrip?.also((arg) => $request['CIDRIP'] = arg);
  eC2SecurityGroupId?.also((arg) => $request['EC2SecurityGroupId'] = arg);
  eC2SecurityGroupName?.also((arg) => $request['EC2SecurityGroupName'] = arg);
  eC2SecurityGroupOwnerId
      ?.also((arg) => $request['EC2SecurityGroupOwnerId'] = arg);
  final $result = await _protocol.send(
    $request,
    action: 'RevokeDBSecurityGroupIngress',
    version: '2013-02-12',
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    shape: shapes['RevokeDBSecurityGroupIngressMessage'],
    shapes: shapes,
    resultWrapper: 'RevokeDBSecurityGroupIngressResult',
  );
  return RevokeDBSecurityGroupIngressResult.fromXml($result);
}