createInputSecurityGroup method
Creates a Input Security Group
May throw BadGatewayException.
May throw BadRequestException.
May throw ForbiddenException.
May throw GatewayTimeoutException.
May throw InternalServerErrorException.
May throw TooManyRequestsException.
Parameter tags :
A collection of key-value pairs.
Parameter whitelistRules :
List of IPv4 CIDR addresses to whitelist
Implementation
Future<CreateInputSecurityGroupResponse> createInputSecurityGroup({
Map<String, String>? tags,
List<InputWhitelistRuleCidr>? whitelistRules,
}) async {
final $payload = <String, dynamic>{
if (tags != null) 'tags': tags,
if (whitelistRules != null) 'whitelistRules': whitelistRules,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/prod/inputSecurityGroups',
exceptionFnMap: _exceptionFns,
);
return CreateInputSecurityGroupResponse.fromJson(response);
}