getFieldLevelEncryptionProfile2019_03_26 method

Future<GetFieldLevelEncryptionProfileResult> getFieldLevelEncryptionProfile2019_03_26({
  1. required String id,
})

Get the field-level encryption profile information.

May throw AccessDenied. May throw NoSuchFieldLevelEncryptionProfile.

Parameter id : Get the ID for the field-level encryption profile information.

Implementation

Future<GetFieldLevelEncryptionProfileResult>
    getFieldLevelEncryptionProfile2019_03_26({
  required String id,
}) async {
  ArgumentError.checkNotNull(id, 'id');
  final $result = await _protocol.sendRaw(
    method: 'GET',
    requestUri:
        '/2019-03-26/field-level-encryption-profile/${Uri.encodeComponent(id)}',
    exceptionFnMap: _exceptionFns,
  );
  final $elem = await _s.xmlFromResponse($result);
  return GetFieldLevelEncryptionProfileResult(
    fieldLevelEncryptionProfile: FieldLevelEncryptionProfile.fromXml($elem),
    eTag: _s.extractHeaderStringValue($result.headers, 'ETag'),
  );
}