getPublicKeyConfig2018_11_05 method
Return public key configuration informaation
May throw AccessDenied. May throw NoSuchPublicKey.
Parameter id
:
Request the ID for the public key configuration.
Implementation
Future<GetPublicKeyConfigResult> getPublicKeyConfig2018_11_05({
required String id,
}) async {
ArgumentError.checkNotNull(id, 'id');
final $result = await _protocol.sendRaw(
method: 'GET',
requestUri: '/2018-11-05/public-key/${Uri.encodeComponent(id)}/config',
exceptionFnMap: _exceptionFns,
);
final $elem = await _s.xmlFromResponse($result);
return GetPublicKeyConfigResult(
publicKeyConfig: PublicKeyConfig.fromXml($elem),
eTag: _s.extractHeaderStringValue($result.headers, 'ETag'),
);
}