deleteSecurityProfile method
Deletes a security profile.
May throw AccessDeniedException.
May throw InternalServiceException.
May throw InvalidParameterException.
May throw InvalidRequestException.
May throw ResourceInUseException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
Parameter instanceId :
The identifier of the Connect Customer instance. You can find
the instance ID in the Amazon Resource Name (ARN) of the instance.
Parameter securityProfileId :
The identifier for the security profle.
Implementation
Future<void> deleteSecurityProfile({
required String instanceId,
required String securityProfileId,
}) async {
await _protocol.send(
payload: null,
method: 'DELETE',
requestUri:
'/security-profiles/${Uri.encodeComponent(instanceId)}/${Uri.encodeComponent(securityProfileId)}',
exceptionFnMap: _exceptionFns,
);
}