Skip to content

CloudFormationClient.deactivate_type

rboto-cloudformation==0.4.0 · Service index · Types

Model summary (excerpt): Deactivates a public third-party extension, such as a resource or module, or a CloudFormation Hook when you no longer use it. Deactivating an extension deletes the configuration details that are associated with it. To temporarily disable a CloudFormation Hook instead, you can use SetTypeConfiguration . Once deactivated, an extension can't be used in any CloudFormation operation. This includes...

Install and imports

python -m pip install "rboto[cloudformation]==0.4.0"
from rboto import CloudFormationClient
from rboto_cloudformation.types import (
    DeactivateTypeOutput,
    ThirdPartyType,
)

Signature

async def deactivate_type(
    *,
    type_name: str | None = None,
    type: ThirdPartyType | None = None,
    arn: str | None = None,
) -> DeactivateTypeOutput: ...

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)
type_name No The type name of the extension in this account and Region. If you specified a type name alias when enabling the extension, use the type name alias. Conditional: You must specify either Arn , or TypeName and Type .
type No The extension type. Conditional: You must specify either Arn , or TypeName and Type .
arn No The Amazon Resource Name (ARN) for the extension in this account and Region. Conditional: You must specify either Arn , or TypeName and Type .

Output

DeactivateTypeOutput.

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

No fields.

| 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.

DeactivateTypeOutput, ThirdPartyType

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_cloudformation.exceptions:

CFNRegistryError, TypeNotFoundError.

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

Service guide · Pinned model