getFieldLevelEncryptionConfig2017_10_30 method
Future<GetFieldLevelEncryptionConfigResult>
getFieldLevelEncryptionConfig2017_10_30({
- required String id,
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<GetFieldLevelEncryptionConfigResult>
getFieldLevelEncryptionConfig2017_10_30({
required String id,
}) async {
ArgumentError.checkNotNull(id, 'id');
final $result = await _protocol.sendRaw(
method: 'GET',
requestUri:
'/2017-10-30/field-level-encryption/${Uri.encodeComponent(id)}/config',
exceptionFnMap: _exceptionFns,
);
final $elem = await _s.xmlFromResponse($result);
return GetFieldLevelEncryptionConfigResult(
fieldLevelEncryptionConfig: FieldLevelEncryptionConfig.fromXml($elem),
eTag: _s.extractHeaderStringValue($result.headers, 'ETag'),
);
}