deleteFieldLevelEncryptionConfig2019_03_26 method
Remove a field-level encryption configuration.
May throw AccessDenied. May throw InvalidIfMatchVersion. May throw NoSuchFieldLevelEncryptionConfig. May throw PreconditionFailed. May throw FieldLevelEncryptionConfigInUse.
Parameter id
:
The ID of the configuration you want to delete from CloudFront.
Parameter ifMatch
:
The value of the ETag
header that you received when
retrieving the configuration identity to delete. For example:
E2QWRUHAPOMQZL
.
Implementation
Future<void> deleteFieldLevelEncryptionConfig2019_03_26({
required String id,
String? ifMatch,
}) async {
ArgumentError.checkNotNull(id, 'id');
final headers = <String, String>{
if (ifMatch != null) 'If-Match': ifMatch.toString(),
};
await _protocol.send(
method: 'DELETE',
requestUri:
'/2019-03-26/field-level-encryption/${Uri.encodeComponent(id)}',
headers: headers,
exceptionFnMap: _exceptionFns,
);
}