getFieldLevelEncryptionProfileConfig2018_06_18 method

Future<GetFieldLevelEncryptionProfileConfigResult> getFieldLevelEncryptionProfileConfig2018_06_18(
  1. {@required String id}
)

Get the field-level encryption profile configuration information.

May throw AccessDenied. May throw NoSuchFieldLevelEncryptionProfile.

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

Implementation

Future<GetFieldLevelEncryptionProfileConfigResult>
    getFieldLevelEncryptionProfileConfig2018_06_18({
  @_s.required String id,
}) async {
  ArgumentError.checkNotNull(id, 'id');
  final $result = await _protocol.sendRaw(
    method: 'GET',
    requestUri:
        '/2018-06-18/field-level-encryption-profile/${Uri.encodeComponent(id)}/config',
    exceptionFnMap: _exceptionFns,
  );
  final $elem = await _s.xmlFromResponse($result);
  return GetFieldLevelEncryptionProfileConfigResult(
    fieldLevelEncryptionProfileConfig:
        FieldLevelEncryptionProfileConfig.fromXml($elem),
    eTag: _s.extractHeaderStringValue($result.headers, 'ETag'),
  );
}