initializeService method
Initializes the ODB service for the first time in an account.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ThrottlingException.
May throw ValidationException.
Parameter ociIdentityDomain :
The Oracle Cloud Infrastructure (OCI) identity domain configuration for
service initialization.
Implementation
Future<void> initializeService({
bool? ociIdentityDomain,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.0',
'X-Amz-Target': 'Odb.InitializeService'
};
await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
if (ociIdentityDomain != null) 'ociIdentityDomain': ociIdentityDomain,
},
);
}