Skip to content

SecretsManagerClient.disassociate_cross_account_replica

rboto-secrets-manager==0.4.0 · Service index · Types

Model summary (excerpt): Removes the link between a primary secret in your account and a cross-account replica secret, and stops replication to the replica secret. Call this operation on the primary secret. This action removes the replica association created by AssociateCrossAccountReplica . Disassociating the replica from the primary does not delete the replica secret or convert the replica secret to a standalone...

Install and imports

python -m pip install "rboto[secrets-manager]==0.4.0"
from rboto import SecretsManagerClient
from rboto_secrets_manager.types import (
    DisassociateCrossAccountReplicaOutput,
)

Signature

async def disassociate_cross_account_replica(
    *,
    secret_id: str,
    cross_account_replica_arn: str,
) -> DisassociateCrossAccountReplicaOutput: ...

Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.

Arguments

Argument Required Model notes (excerpt)
secret_id Yes The ARN or name of the primary secret in your account. For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN .
cross_account_replica_arn Yes The ARN of the cross-account replica secret to unlink from the primary secret.

Output

DisassociateCrossAccountReplicaOutput.

Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.

Field Type Presence References
arn str | None Always present —
cross_account_replica_arn str | None Always present —

| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.

DisassociateCrossAccountReplicaOutput

Follow these links for nested inputs and outputs; recursive types link back to the same type page.

Pagination and streaming

No generated paginator for this operation.

No output stream.

Errors

Import from rboto_secrets_manager.exceptions:

InternalServiceError, InvalidParameterError, InvalidRequestError, ResourceNotFoundError.

Other service failures use the service base error; credential, transport and timeout failures use shared errors.

Service guide · Pinned model