Skip to content

FISClient#

Index > FIS > FISClient

Auto-generated documentation for FIS type annotations stubs module types-aiobotocore-fis.

FISClient#

Type annotations and code completion for session.create_client("fis") boto3 documentation

FISClient usage example

from aiobotocore.session import get_session
from types_aiobotocore_fis.client import FISClient

session = get_session()
async with session.create_client("fis") as client:
    client: FISClient

Exceptions#

aiobotocore client exceptions are generated in runtime. This class provides code completion for session.create_client("fis").exceptions structure.

FISClient.exceptions usage example

async with session.create_client("fis") as client:
    try:
        do_something(client)
    except (
            client.ClientError,
        client.ConflictException,
        client.ResourceNotFoundException,
        client.ServiceQuotaExceededException,
        client.ValidationException,
    ) as e:
        print(e)
FISClient usage type checking example

from types_aiobotocore_fis.client import Exceptions

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

Methods#

can_paginate#

Check if an operation can be paginated.

Type annotations and code completion for session.create_client("fis").can_paginate method. boto3 documentation

# can_paginate method definition

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

close#

Closes underlying endpoint connections.

Type annotations and code completion for session.create_client("fis").close method. boto3 documentation

# close method definition

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

create_experiment_template#

Creates an experiment template.

Type annotations and code completion for session.create_client("fis").create_experiment_template method. boto3 documentation

# create_experiment_template method definition

await def create_experiment_template(
    self,
    *,
    clientToken: str,
    description: str,
    stopConditions: Sequence[CreateExperimentTemplateStopConditionInputTypeDef],  # (1)
    actions: Mapping[str, CreateExperimentTemplateActionInputTypeDef],  # (2)
    roleArn: str,
    targets: Mapping[str, CreateExperimentTemplateTargetInputTypeDef] = ...,  # (3)
    tags: Mapping[str, str] = ...,
    logConfiguration: CreateExperimentTemplateLogConfigurationInputTypeDef = ...,  # (4)
) -> CreateExperimentTemplateResponseTypeDef:  # (5)
    ...
  1. See CreateExperimentTemplateStopConditionInputTypeDef
  2. See CreateExperimentTemplateActionInputTypeDef
  3. See CreateExperimentTemplateTargetInputTypeDef
  4. See CreateExperimentTemplateLogConfigurationInputTypeDef
  5. See CreateExperimentTemplateResponseTypeDef
# create_experiment_template method usage example with argument unpacking

kwargs: CreateExperimentTemplateRequestRequestTypeDef = {  # (1)
    "clientToken": ...,
    "description": ...,
    "stopConditions": ...,
    "actions": ...,
    "roleArn": ...,
}

parent.create_experiment_template(**kwargs)
  1. See CreateExperimentTemplateRequestRequestTypeDef

delete_experiment_template#

Deletes the specified experiment template.

Type annotations and code completion for session.create_client("fis").delete_experiment_template method. boto3 documentation

# delete_experiment_template method definition

await def delete_experiment_template(
    self,
    *,
    id: str,
) -> DeleteExperimentTemplateResponseTypeDef:  # (1)
    ...
  1. See DeleteExperimentTemplateResponseTypeDef
# delete_experiment_template method usage example with argument unpacking

kwargs: DeleteExperimentTemplateRequestRequestTypeDef = {  # (1)
    "id": ...,
}

parent.delete_experiment_template(**kwargs)
  1. See DeleteExperimentTemplateRequestRequestTypeDef

generate_presigned_url#

Generate a presigned url given a client, its method, and arguments.

Type annotations and code completion for session.create_client("fis").generate_presigned_url method. boto3 documentation

# generate_presigned_url method definition

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

get_action#

Gets information about the specified FIS action.

Type annotations and code completion for session.create_client("fis").get_action method. boto3 documentation

# get_action method definition

await def get_action(
    self,
    *,
    id: str,
) -> GetActionResponseTypeDef:  # (1)
    ...
  1. See GetActionResponseTypeDef
# get_action method usage example with argument unpacking

kwargs: GetActionRequestRequestTypeDef = {  # (1)
    "id": ...,
}

parent.get_action(**kwargs)
  1. See GetActionRequestRequestTypeDef

get_experiment#

Gets information about the specified experiment.

Type annotations and code completion for session.create_client("fis").get_experiment method. boto3 documentation

# get_experiment method definition

await def get_experiment(
    self,
    *,
    id: str,
) -> GetExperimentResponseTypeDef:  # (1)
    ...
  1. See GetExperimentResponseTypeDef
# get_experiment method usage example with argument unpacking

kwargs: GetExperimentRequestRequestTypeDef = {  # (1)
    "id": ...,
}

parent.get_experiment(**kwargs)
  1. See GetExperimentRequestRequestTypeDef

get_experiment_template#

Gets information about the specified experiment template.

Type annotations and code completion for session.create_client("fis").get_experiment_template method. boto3 documentation

# get_experiment_template method definition

await def get_experiment_template(
    self,
    *,
    id: str,
) -> GetExperimentTemplateResponseTypeDef:  # (1)
    ...
  1. See GetExperimentTemplateResponseTypeDef
# get_experiment_template method usage example with argument unpacking

kwargs: GetExperimentTemplateRequestRequestTypeDef = {  # (1)
    "id": ...,
}

parent.get_experiment_template(**kwargs)
  1. See GetExperimentTemplateRequestRequestTypeDef

get_target_resource_type#

Gets information about the specified resource type.

Type annotations and code completion for session.create_client("fis").get_target_resource_type method. boto3 documentation

# get_target_resource_type method definition

await def get_target_resource_type(
    self,
    *,
    resourceType: str,
) -> GetTargetResourceTypeResponseTypeDef:  # (1)
    ...
  1. See GetTargetResourceTypeResponseTypeDef
# get_target_resource_type method usage example with argument unpacking

kwargs: GetTargetResourceTypeRequestRequestTypeDef = {  # (1)
    "resourceType": ...,
}

parent.get_target_resource_type(**kwargs)
  1. See GetTargetResourceTypeRequestRequestTypeDef

list_actions#

Lists the available FIS actions.

Type annotations and code completion for session.create_client("fis").list_actions method. boto3 documentation

# list_actions method definition

await def list_actions(
    self,
    *,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListActionsResponseTypeDef:  # (1)
    ...
  1. See ListActionsResponseTypeDef
# list_actions method usage example with argument unpacking

kwargs: ListActionsRequestRequestTypeDef = {  # (1)
    "maxResults": ...,
}

parent.list_actions(**kwargs)
  1. See ListActionsRequestRequestTypeDef

list_experiment_templates#

Lists your experiment templates.

Type annotations and code completion for session.create_client("fis").list_experiment_templates method. boto3 documentation

# list_experiment_templates method definition

await def list_experiment_templates(
    self,
    *,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListExperimentTemplatesResponseTypeDef:  # (1)
    ...
  1. See ListExperimentTemplatesResponseTypeDef
# list_experiment_templates method usage example with argument unpacking

kwargs: ListExperimentTemplatesRequestRequestTypeDef = {  # (1)
    "maxResults": ...,
}

parent.list_experiment_templates(**kwargs)
  1. See ListExperimentTemplatesRequestRequestTypeDef

list_experiments#

Lists your experiments.

Type annotations and code completion for session.create_client("fis").list_experiments method. boto3 documentation

# list_experiments method definition

await def list_experiments(
    self,
    *,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListExperimentsResponseTypeDef:  # (1)
    ...
  1. See ListExperimentsResponseTypeDef
# list_experiments method usage example with argument unpacking

kwargs: ListExperimentsRequestRequestTypeDef = {  # (1)
    "maxResults": ...,
}

parent.list_experiments(**kwargs)
  1. See ListExperimentsRequestRequestTypeDef

list_tags_for_resource#

Lists the tags for the specified resource.

Type annotations and code completion for session.create_client("fis").list_tags_for_resource method. boto3 documentation

# list_tags_for_resource method definition

await def list_tags_for_resource(
    self,
    *,
    resourceArn: str,
) -> ListTagsForResourceResponseTypeDef:  # (1)
    ...
  1. See ListTagsForResourceResponseTypeDef
# list_tags_for_resource method usage example with argument unpacking

kwargs: ListTagsForResourceRequestRequestTypeDef = {  # (1)
    "resourceArn": ...,
}

parent.list_tags_for_resource(**kwargs)
  1. See ListTagsForResourceRequestRequestTypeDef

list_target_resource_types#

Lists the target resource types.

Type annotations and code completion for session.create_client("fis").list_target_resource_types method. boto3 documentation

# list_target_resource_types method definition

await def list_target_resource_types(
    self,
    *,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListTargetResourceTypesResponseTypeDef:  # (1)
    ...
  1. See ListTargetResourceTypesResponseTypeDef
# list_target_resource_types method usage example with argument unpacking

kwargs: ListTargetResourceTypesRequestRequestTypeDef = {  # (1)
    "maxResults": ...,
}

parent.list_target_resource_types(**kwargs)
  1. See ListTargetResourceTypesRequestRequestTypeDef

start_experiment#

Starts running an experiment from the specified experiment template.

Type annotations and code completion for session.create_client("fis").start_experiment method. boto3 documentation

# start_experiment method definition

await def start_experiment(
    self,
    *,
    clientToken: str,
    experimentTemplateId: str,
    tags: Mapping[str, str] = ...,
) -> StartExperimentResponseTypeDef:  # (1)
    ...
  1. See StartExperimentResponseTypeDef
# start_experiment method usage example with argument unpacking

kwargs: StartExperimentRequestRequestTypeDef = {  # (1)
    "clientToken": ...,
    "experimentTemplateId": ...,
}

parent.start_experiment(**kwargs)
  1. See StartExperimentRequestRequestTypeDef

stop_experiment#

Stops the specified experiment.

Type annotations and code completion for session.create_client("fis").stop_experiment method. boto3 documentation

# stop_experiment method definition

await def stop_experiment(
    self,
    *,
    id: str,
) -> StopExperimentResponseTypeDef:  # (1)
    ...
  1. See StopExperimentResponseTypeDef
# stop_experiment method usage example with argument unpacking

kwargs: StopExperimentRequestRequestTypeDef = {  # (1)
    "id": ...,
}

parent.stop_experiment(**kwargs)
  1. See StopExperimentRequestRequestTypeDef

tag_resource#

Applies the specified tags to the specified resource.

Type annotations and code completion for session.create_client("fis").tag_resource method. boto3 documentation

# tag_resource method definition

await def tag_resource(
    self,
    *,
    resourceArn: str,
    tags: Mapping[str, str],
) -> Dict[str, Any]:
    ...
# tag_resource method usage example with argument unpacking

kwargs: TagResourceRequestRequestTypeDef = {  # (1)
    "resourceArn": ...,
    "tags": ...,
}

parent.tag_resource(**kwargs)
  1. See TagResourceRequestRequestTypeDef

untag_resource#

Removes the specified tags from the specified resource.

Type annotations and code completion for session.create_client("fis").untag_resource method. boto3 documentation

# untag_resource method definition

await def untag_resource(
    self,
    *,
    resourceArn: str,
    tagKeys: Sequence[str] = ...,
) -> Dict[str, Any]:
    ...
# untag_resource method usage example with argument unpacking

kwargs: UntagResourceRequestRequestTypeDef = {  # (1)
    "resourceArn": ...,
}

parent.untag_resource(**kwargs)
  1. See UntagResourceRequestRequestTypeDef

update_experiment_template#

Updates the specified experiment template.

Type annotations and code completion for session.create_client("fis").update_experiment_template method. boto3 documentation

# update_experiment_template method definition

await def update_experiment_template(
    self,
    *,
    id: str,
    description: str = ...,
    stopConditions: Sequence[UpdateExperimentTemplateStopConditionInputTypeDef] = ...,  # (1)
    targets: Mapping[str, UpdateExperimentTemplateTargetInputTypeDef] = ...,  # (2)
    actions: Mapping[str, UpdateExperimentTemplateActionInputItemTypeDef] = ...,  # (3)
    roleArn: str = ...,
    logConfiguration: UpdateExperimentTemplateLogConfigurationInputTypeDef = ...,  # (4)
) -> UpdateExperimentTemplateResponseTypeDef:  # (5)
    ...
  1. See UpdateExperimentTemplateStopConditionInputTypeDef
  2. See UpdateExperimentTemplateTargetInputTypeDef
  3. See UpdateExperimentTemplateActionInputItemTypeDef
  4. See UpdateExperimentTemplateLogConfigurationInputTypeDef
  5. See UpdateExperimentTemplateResponseTypeDef
# update_experiment_template method usage example with argument unpacking

kwargs: UpdateExperimentTemplateRequestRequestTypeDef = {  # (1)
    "id": ...,
}

parent.update_experiment_template(**kwargs)
  1. See UpdateExperimentTemplateRequestRequestTypeDef

__aenter__#

Type annotations and code completion for session.create_client("fis").__aenter__ method. boto3 documentation

# __aenter__ method definition

await def __aenter__(
    self,
) -> FISClient:
    ...

__aexit__#

Type annotations and code completion for session.create_client("fis").__aexit__ method. boto3 documentation

# __aexit__ method definition

await def __aexit__(
    self,
    exc_type: Any,
    exc_val: Any,
    exc_tb: Any,
) -> Any:
    ...