Skip to content

AppflowClient#

Index > Appflow > AppflowClient

Auto-generated documentation for Appflow type annotations stubs module mypy-boto3-appflow.

AppflowClient#

Type annotations and code completion for boto3.client("appflow"). boto3 documentation

# AppflowClient usage example

from boto3.session import Session
from mypy_boto3_appflow.client import AppflowClient

def get_appflow_client() -> AppflowClient:
    return Session().client("appflow")

Exceptions#

boto3 client exceptions are generated in runtime. This class provides code completion for boto3.client("appflow").exceptions structure.

# Exceptions.exceptions usage example

client = boto3.client("appflow")

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

from mypy_boto3_appflow.client import Exceptions

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

Methods#

can_paginate#

Check if an operation can be paginated.

Type annotations and code completion for boto3.client("appflow").can_paginate method. boto3 documentation

# can_paginate method definition

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

cancel_flow_executions#

Cancels active runs for a flow.

Type annotations and code completion for boto3.client("appflow").cancel_flow_executions method. boto3 documentation

# cancel_flow_executions method definition

def cancel_flow_executions(
    self,
    *,
    flowName: str,
    executionIds: Sequence[str] = ...,
) -> CancelFlowExecutionsResponseTypeDef:  # (1)
    ...
  1. See CancelFlowExecutionsResponseTypeDef
# cancel_flow_executions method usage example with argument unpacking

kwargs: CancelFlowExecutionsRequestRequestTypeDef = {  # (1)
    "flowName": ...,
}

parent.cancel_flow_executions(**kwargs)
  1. See CancelFlowExecutionsRequestRequestTypeDef

close#

Closes underlying endpoint connections.

Type annotations and code completion for boto3.client("appflow").close method. boto3 documentation

# close method definition

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

create_connector_profile#

Creates a new connector profile associated with your Amazon Web Services account.

Type annotations and code completion for boto3.client("appflow").create_connector_profile method. boto3 documentation

# create_connector_profile method definition

def create_connector_profile(
    self,
    *,
    connectorProfileName: str,
    connectorType: ConnectorTypeType,  # (1)
    connectionMode: ConnectionModeType,  # (2)
    connectorProfileConfig: ConnectorProfileConfigTypeDef,  # (3)
    kmsArn: str = ...,
    connectorLabel: str = ...,
    clientToken: str = ...,
) -> CreateConnectorProfileResponseTypeDef:  # (4)
    ...
  1. See ConnectorTypeType
  2. See ConnectionModeType
  3. See ConnectorProfileConfigTypeDef
  4. See CreateConnectorProfileResponseTypeDef
# create_connector_profile method usage example with argument unpacking

kwargs: CreateConnectorProfileRequestRequestTypeDef = {  # (1)
    "connectorProfileName": ...,
    "connectorType": ...,
    "connectionMode": ...,
    "connectorProfileConfig": ...,
}

parent.create_connector_profile(**kwargs)
  1. See CreateConnectorProfileRequestRequestTypeDef

create_flow#

Enables your application to create a new flow using Amazon AppFlow.

Type annotations and code completion for boto3.client("appflow").create_flow method. boto3 documentation

# create_flow method definition

def create_flow(
    self,
    *,
    flowName: str,
    triggerConfig: Union[TriggerConfigTypeDef, TriggerConfigOutputTypeDef],  # (1)
    sourceFlowConfig: Union[SourceFlowConfigTypeDef, SourceFlowConfigOutputTypeDef],  # (2)
    destinationFlowConfigList: Sequence[Union[DestinationFlowConfigTypeDef, DestinationFlowConfigOutputTypeDef]],  # (3)
    tasks: Sequence[Union[TaskTypeDef, TaskOutputTypeDef]],  # (4)
    description: str = ...,
    kmsArn: str = ...,
    tags: Mapping[str, str] = ...,
    metadataCatalogConfig: MetadataCatalogConfigTypeDef = ...,  # (5)
    clientToken: str = ...,
) -> CreateFlowResponseTypeDef:  # (6)
    ...
  1. See TriggerConfigTypeDef TriggerConfigOutputTypeDef
  2. See SourceFlowConfigTypeDef SourceFlowConfigOutputTypeDef
  3. See DestinationFlowConfigTypeDef DestinationFlowConfigOutputTypeDef
  4. See TaskTypeDef TaskOutputTypeDef
  5. See MetadataCatalogConfigTypeDef
  6. See CreateFlowResponseTypeDef
# create_flow method usage example with argument unpacking

kwargs: CreateFlowRequestRequestTypeDef = {  # (1)
    "flowName": ...,
    "triggerConfig": ...,
    "sourceFlowConfig": ...,
    "destinationFlowConfigList": ...,
    "tasks": ...,
}

parent.create_flow(**kwargs)
  1. See CreateFlowRequestRequestTypeDef

delete_connector_profile#

Enables you to delete an existing connector profile.

Type annotations and code completion for boto3.client("appflow").delete_connector_profile method. boto3 documentation

# delete_connector_profile method definition

def delete_connector_profile(
    self,
    *,
    connectorProfileName: str,
    forceDelete: bool = ...,
) -> Dict[str, Any]:
    ...
# delete_connector_profile method usage example with argument unpacking

kwargs: DeleteConnectorProfileRequestRequestTypeDef = {  # (1)
    "connectorProfileName": ...,
}

parent.delete_connector_profile(**kwargs)
  1. See DeleteConnectorProfileRequestRequestTypeDef

delete_flow#

Enables your application to delete an existing flow.

Type annotations and code completion for boto3.client("appflow").delete_flow method. boto3 documentation

# delete_flow method definition

def delete_flow(
    self,
    *,
    flowName: str,
    forceDelete: bool = ...,
) -> Dict[str, Any]:
    ...
# delete_flow method usage example with argument unpacking

kwargs: DeleteFlowRequestRequestTypeDef = {  # (1)
    "flowName": ...,
}

parent.delete_flow(**kwargs)
  1. See <