getCloudExadataInfrastructure method

Future<GetCloudExadataInfrastructureOutput> getCloudExadataInfrastructure({
  1. required String cloudExadataInfrastructureId,
})

Returns information about the specified Exadata infrastructure.

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

Parameter cloudExadataInfrastructureId : The unique identifier of the Exadata infrastructure.

Implementation

Future<GetCloudExadataInfrastructureOutput> getCloudExadataInfrastructure({
  required String cloudExadataInfrastructureId,
}) async {
  final headers = <String, String>{
    'Content-Type': 'application/x-amz-json-1.0',
    'X-Amz-Target': 'Odb.GetCloudExadataInfrastructure'
  };
  final jsonResponse = await _protocol.send(
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    // TODO queryParams
    headers: headers,
    payload: {
      'cloudExadataInfrastructureId': cloudExadataInfrastructureId,
    },
  );

  return GetCloudExadataInfrastructureOutput.fromJson(jsonResponse.body);
}