getEventDataStore method
Returns information about an event data store specified as either an ARN or the ID portion of the ARN.
May throw EventDataStoreARNInvalidException.
May throw EventDataStoreNotFoundException.
May throw InvalidParameterException.
May throw NoManagementAccountSLRExistsException.
May throw OperationNotPermittedException.
May throw UnsupportedOperationException.
Parameter eventDataStore :
The ARN (or ID suffix of the ARN) of the event data store about which you
want information.
Implementation
Future<GetEventDataStoreResponse> getEventDataStore({
required String eventDataStore,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'CloudTrail_20131101.GetEventDataStore'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'EventDataStore': eventDataStore,
},
);
return GetEventDataStoreResponse.fromJson(jsonResponse.body);
}