disassociate_drt_log_bucket
async
¶
disassociate_drt_log_bucket(
log_bucket: LogBucket, *, config_overrides: Optional[AsyncShieldClientConfig] = None
) -> DisassociateDRTLogBucketResponse
Removes the Shield Response Team's (SRT) access to the specified Amazon S3 bucket containing the logs that you shared previously.
Parameters:
-
log_bucket(LogBucket) –The Amazon S3 bucket that contains the logs that you want to share.
Raises:
-
AccessDeniedForDependencyException–In order to grant the necessary access to the Shield Response Team (SRT) the user submitting the request must have the
iam:PassRolepermission. This error indicates the user did not have the appropriate permissions. For more information, see Granting a User Permissions to Pass a Role to an Amazon Web Services Service. -
InternalErrorException–Exception that indicates that a problem occurred with the service infrastructure. You can retry the request.
-
InvalidOperationException–Exception that indicates that the operation would not cause any change to occur.
-
NoAssociatedRoleException–The ARN of the role that you specified does not exist.
-
OptimisticLockException–Exception that indicates that the resource state has been modified by another client. Retrieve the resource and then retry your request.
-
ResourceNotFoundException–Exception indicating the specified resource does not exist. If available, this exception includes details in additional properties.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_shield/_services/async_shield.py
1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 | |