create_autonomous_database_wallet
async
¶
create_autonomous_database_wallet(
autonomous_database_id: ResourceIdOrArn,
*,
config_overrides: Optional[AsyncodbClientConfig] = None,
wallet_type: Optional[WalletType] = None,
password: Optional[SensitiveString] = None,
password_source: Optional[WalletPasswordSource] = None,
password_source_configuration: Optional[
WalletPasswordSourceConfigurationInput
] = None,
client_token: Optional[GeneralInputString] = None,
) -> CreateAutonomousDatabaseWalletOutput
Creates a new wallet for the specified Autonomous Database.
Parameters:
-
autonomous_database_id(ResourceIdOrArn) –The unique identifier of the Autonomous Database to create a wallet for.
-
wallet_type(Optional[WalletType], default:None) –The type of wallet to create, either a regional wallet or an instance wallet.
-
password(Optional[SensitiveString], default:None) –The password to encrypt the keys inside the wallet.
-
password_source(Optional[WalletPasswordSource], default:None) –The source of the password for encrypting the wallet. When set to
CUSTOMER_MANAGED_AWS_SECRET, the password is retrieved from an Amazon Web Services Secrets Manager secret. -
password_source_configuration(Optional[WalletPasswordSourceConfigurationInput], default:None) –The configuration of the password source for the Autonomous Database wallet.
-
client_token(Optional[GeneralInputString], default:None) –A client-provided token to ensure the idempotency of the request.
Raises:
-
AccessDeniedException–You don't have sufficient access to perform this action. Make sure you have the required permissions and try again.
-
InternalServerException–Occurs when there is an internal failure in the Oracle Database@Amazon Web Services service. Wait and try again.
-
ResourceNotFoundException–The operation tried to access a resource that doesn't exist. Make sure you provided the correct resource and try again.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The request has failed validation because it is missing required fields or has invalid inputs.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_odb/_services/async_odb.py
2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 | |