Skip to content

RuntimeforBedrockDataAutomationClient#

Index > RuntimeforBedrockDataAutomation > RuntimeforBedrockDataAutomationClient

Auto-generated documentation for RuntimeforBedrockDataAutomation type annotations stubs module mypy-boto3-bedrock-data-automation-runtime.

RuntimeforBedrockDataAutomationClient#

Type annotations and code completion for boto3.client("bedrock-data-automation-runtime"). boto3 documentation

# RuntimeforBedrockDataAutomationClient usage example

from boto3.session import Session
from mypy_boto3_bedrock_data_automation_runtime.client import RuntimeforBedrockDataAutomationClient

def get_bedrock-data-automation-runtime_client() -> RuntimeforBedrockDataAutomationClient:
    return Session().client("bedrock-data-automation-runtime")

Exceptions#

boto3 client exceptions are generated in runtime. This class provides code completion for boto3.client("bedrock-data-automation-runtime").exceptions structure.

# Exceptions.exceptions usage example

client = boto3.client("bedrock-data-automation-runtime")

try:
    do_something(client)
except (
    client.exceptions.AccessDeniedException,
    client.exceptions.ClientError,
    client.exceptions.InternalServerException,
    client.exceptions.ResourceNotFoundException,
    client.exceptions.ServiceQuotaExceededException,
    client.exceptions.ThrottlingException,
    client.exceptions.ValidationException,
) as e:
    print(e)
# Exceptions.exceptions type checking example

from mypy_boto3_bedrock_data_automation_runtime.client import Exceptions

def handle_error(exc: Exceptions.AccessDeniedException) -> None:
    ...

Methods#

can_paginate#

Type annotations and code completion for boto3.client("bedrock-data-automation-runtime").can_paginate method. boto3 documentation

# can_paginate method definition

def can_paginate(
    self,
    operation_name: str,
) -> bool:
    ...

generate_presigned_url#

Type annotations and code completion for boto3.client("bedrock-data-automation-runtime").generate_presigned_url method. boto3 documentation

# generate_presigned_url method definition

def generate_presigned_url(
    self,
    ClientMethod: str,
    Params: Mapping[str, Any] = ...,
    ExpiresIn: int = 3600,
    HttpMethod: str = ...,
) -> str:
    ...

close#

Type annotations and code completion for boto3.client("bedrock-data-automation-runtime").close method. boto3 documentation

# close method definition

def close(
    self,
) -> None:
    ...

get_data_automation_status#

API used to get data automation status.

Type annotations and code completion for boto3.client("bedrock-data-automation-runtime").get_data_automation_status method. boto3 documentation

# get_data_automation_status method definition

def get_data_automation_status(
    self,
    *,
    invocationArn: str,
) -> GetDataAutomationStatusResponseTypeDef:  # (1)
    ...
  1. See GetDataAutomationStatusResponseTypeDef
# get_data_automation_status method usage example with argument unpacking

kwargs: GetDataAutomationStatusRequestRequestTypeDef = {  # (1)
    "invocationArn": ...,
}

parent.get_data_automation_status(**kwargs)
  1. See GetDataAutomationStatusRequestRequestTypeDef

invoke_data_automation_async#

Async API: Invoke data automation.

Type annotations and code completion for boto3.client("bedrock-data-automation-runtime").invoke_data_automation_async method. boto3 documentation

# invoke_data_automation_async method definition

def invoke_data_automation_async(
    self,
    *,
    inputConfiguration: InputConfigurationTypeDef,  # (1)
    outputConfiguration: OutputConfigurationTypeDef,  # (2)
    clientToken: str = ...,
    dataAutomationConfiguration: DataAutomationConfigurationTypeDef = ...,  # (3)
    encryptionConfiguration: EncryptionConfigurationTypeDef = ...,  # (4)
    notificationConfiguration: NotificationConfigurationTypeDef = ...,  # (5)
    blueprints: Sequence[BlueprintTypeDef] = ...,  # (6)
) -> InvokeDataAutomationAsyncResponseTypeDef:  # (7)
    ...
  1. See InputConfigurationTypeDef
  2. See OutputConfigurationTypeDef
  3. See DataAutomationConfigurationTypeDef
  4. See EncryptionConfigurationTypeDef
  5. See NotificationConfigurationTypeDef
  6. See BlueprintTypeDef
  7. See InvokeDataAutomationAsyncResponseTypeDef
# invoke_data_automation_async method usage example with argument unpacking

kwargs: InvokeDataAutomationAsyncRequestRequestTypeDef = {  # (1)
    "inputConfiguration": ...,
    "outputConfiguration": ...,
}

parent.invoke_data_automation_async(**kwargs)
  1. See InvokeDataAutomationAsyncRequestRequestTypeDef