getFieldLevelEncryption2020_05_31 method
Get the field-level encryption configuration information.
May throw AccessDenied. May throw NoSuchFieldLevelEncryptionConfig.
Parameter id
:
Request the ID for the field-level encryption configuration information.
Implementation
Future<GetFieldLevelEncryptionResult> getFieldLevelEncryption2020_05_31({
required String id,
}) async {
ArgumentError.checkNotNull(id, 'id');
final $result = await _protocol.sendRaw(
method: 'GET',
requestUri:
'/2020-05-31/field-level-encryption/${Uri.encodeComponent(id)}',
exceptionFnMap: _exceptionFns,
);
final $elem = await _s.xmlFromResponse($result);
return GetFieldLevelEncryptionResult(
fieldLevelEncryption: FieldLevelEncryption.fromXml($elem),
eTag: _s.extractHeaderStringValue($result.headers, 'ETag'),
);
}