getEncryptionConfiguration method

Future<GetEncryptionConfigurationResponse> getEncryptionConfiguration()

Retrieves the encryption configuration for resources and data in Amazon Web Services IoT FleetWise.

May throw AccessDeniedException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Implementation

Future<GetEncryptionConfigurationResponse>
    getEncryptionConfiguration() async {
  final headers = <String, String>{
    'Content-Type': 'application/x-amz-json-1.0',
    'X-Amz-Target': 'IoTAutobahnControlPlane.GetEncryptionConfiguration'
  };
  final jsonResponse = await _protocol.send(
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    // TODO queryParams
    headers: headers,
  );

  return GetEncryptionConfigurationResponse.fromJson(jsonResponse.body);
}