disassociateDRTLogBucket method
Removes the Shield Response Team's (SRT) access to the specified Amazon S3 bucket containing the logs that you shared previously.
May throw AccessDeniedForDependencyException.
May throw InternalErrorException.
May throw InvalidOperationException.
May throw NoAssociatedRoleException.
May throw OptimisticLockException.
May throw ResourceNotFoundException.
Parameter logBucket :
The Amazon S3 bucket that contains the logs that you want to share.
Implementation
Future<void> disassociateDRTLogBucket({
required String logBucket,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'AWSShield_20160616.DisassociateDRTLogBucket'
};
await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'LogBucket': logBucket,
},
);
}