Skip to content

ResilienceHubClient

Index > ResilienceHub > ResilienceHubClient

Auto-generated documentation for ResilienceHub type annotations stubs module mypy-boto3-resiliencehub.

ResilienceHubClient

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

Usage example
from boto3.session import Session
from mypy_boto3_resiliencehub.client import ResilienceHubClient

def get_resiliencehub_client() -> ResilienceHubClient:
    return Session().client("resiliencehub")

Exceptions

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

Usage example
client = boto3.client("resiliencehub")

try:
    do_something(client)
except (
    client.AccessDeniedException,
    client.ClientError,
    client.ConflictException,
    client.InternalServerException,
    client.ResourceNotFoundException,
    client.ServiceQuotaExceededException,
    client.ThrottlingException,
    client.ValidationException,
) as e:
    print(e)
Type checking example
from mypy_boto3_resiliencehub.client import Exceptions

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

Methods

add_draft_app_version_resource_mappings

Adds the resource mapping for the draft application version.

Type annotations and code completion for boto3.client("resiliencehub").add_draft_app_version_resource_mappings method. boto3 documentation

Method definition
def add_draft_app_version_resource_mappings(
    self,
    *,
    appArn: str,
    resourceMappings: Sequence[ResourceMappingTypeDef],  # (1)
) -> AddDraftAppVersionResourceMappingsResponseTypeDef:  # (2)
    ...
  1. See ResourceMappingTypeDef
  2. See AddDraftAppVersionResourceMappingsResponseTypeDef
Usage example with kwargs
kwargs: AddDraftAppVersionResourceMappingsRequestRequestTypeDef = {  # (1)
    "appArn": ...,
    "resourceMappings": ...,
}

parent.add_draft_app_version_resource_mappings(**kwargs)
  1. See AddDraftAppVersionResourceMappingsRequestRequestTypeDef

can_paginate

Check if an operation can be paginated.

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

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

close

Closes underlying endpoint connections.

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

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

create_app

Creates a Resilience Hub application.

Type annotations and code completion for boto3.client("resiliencehub").create_app method. boto3 documentation

Method definition
def create_app(
    self,
    *,
    name: str,
    assessmentSchedule: AppAssessmentScheduleTypeType = ...,  # (1)
    clientToken: str = ...,
    description: str = ...,
    policyArn: str = ...,
    tags: Mapping[str, str] = ...,
) -> CreateAppResponseTypeDef:  # (2)
    ...
  1. See AppAssessmentScheduleTypeType
  2. See CreateAppResponseTypeDef
Usage example with kwargs
kwargs: CreateAppRequestRequestTypeDef = {  # (1)
    "name": ...,
}

parent.create_app(**kwargs)
  1. See CreateAppRequestRequestTypeDef

create_recommendation_template

Creates a new recommendation template.

Type annotations and code completion for boto3.client("resiliencehub").create_recommendation_template method. boto3 documentation

Method definition
def create_recommendation_template(
    self,
    *,
    assessmentArn: str,
    name: str,
    bucketName: str = ...,
    clientToken: str = ...,
    format: TemplateFormatType = ...,  # (1)
    recommendationIds: Sequence[str] = ...,
    recommendationTypes: Sequence[RenderRecommendationTypeType] = ...,  # (2)
    tags: Mapping[str, str] = ...,
) -> CreateRecommendationTemplateResponseTypeDef:  # (3)
    ...
  1. See TemplateFormatType
  2. See RenderRecommendationTypeType
  3. See CreateRecommendationTemplateResponseTypeDef
Usage example with kwargs
kwargs: CreateRecommendationTemplateRequestRequestTypeDef = {  # (1)
    "assessmentArn": ...,
    "name": ...,
}

parent.create_recommendation_template(**kwargs)
  1. See CreateRecommendationTemplateRequestRequestTypeDef

create_resiliency_policy

Creates a resiliency policy for an application.

Type annotations and code completion for boto3.client("resiliencehub").create_resiliency_policy method. boto3 documentation

Method definition
def create_resiliency_policy(
    self,
    *,
    policy: Mapping[DisruptionTypeType, FailurePolicyTypeDef],  # (1)
    policyName: str,
    tier: ResiliencyPolicyTierType,  # (2)
    clientToken: str = ...,
    dataLocationConstraint: DataLocationConstraintType = ...,  # (3)
    policyDescription: str = ...,
    tags: Mapping[str, str] = ...,
) -> CreateResiliencyPolicyResponseTypeDef:  # (4)
    ...
  1. See DisruptionTypeType FailurePolicyTypeDef
  2. See ResiliencyPolicyTierType
  3. See DataLocationConstraintType
  4. See CreateResiliencyPolicyResponseTypeDef
Usage example with kwargs
kwargs: CreateResiliencyPolicyRequestRequestTypeDef = {  # (1)
    "policy": ...,
    "policyName": ...,
    "tier": ...,
}

parent.create_resiliency_policy(**kwargs)
  1. See CreateResiliencyPolicyRequestRequestTypeDef

delete_app

Deletes an AWS Resilience Hub application.

Type annotations and code completion for boto3.client("resiliencehub").delete_app method. boto3 documentation

Method definition
def delete_app(
    self,
    *,
    appArn: str,
    clientToken: str = ...,
    forceDelete: bool = ...,
) -> DeleteAppResponseTypeDef:  # (1)
    ...
  1. See DeleteAppResponseTypeDef
Usage example with kwargs
kwargs: DeleteAppRequestRequestTypeDef = {  # (1)
    "appArn": ...,
}

parent.delete_app(**kwargs)
  1. See DeleteAppRequestRequestTypeDef

delete_app_assessment

Deletes an AWS Resilience Hub application assessment.

Type annotations and code completion for boto3.client("resiliencehub").delete_app_assessment method. boto3 documentation

Method definition
def delete_app_assessment(
    self,
    *,
    assessmentArn: str,
    clientToken: str = ...,
) -> DeleteAppAssessmentResponseTypeDef:  # (1)
    ...
  1. See DeleteAppAssessmentResponseTypeDef
Usage example with kwargs
kwargs: DeleteAppAssessmentRequestRequestTypeDef = {  # (1)
    "assessmentArn": ...,
}

parent.delete_app_assessment(**kwargs)
  1. See DeleteAppAssessmentRequestRequestTypeDef

delete_recommendation_template

Deletes a recommendation template.

Type annotations and code completion for boto3.client("resiliencehub").delete_recommendation_template method. boto3 documentation

Method definition
def delete_recommendation_template(
    self,
    *,
    recommendationTemplateArn: str,
    clientToken: str = ...,
) -> DeleteRecommendationTemplateResponseTypeDef:  # (1)
    ...
  1. See DeleteRecommendationTemplateResponseTypeDef
Usage example with kwargs
kwargs: DeleteRecommendationTemplateRequestRequestTypeDef = {  # (1)
    "recommendationTemplateArn": ...,
}

parent.delete_recommendation_template(**kwargs)
  1. See DeleteRecommendationTemplateRequestRequestTypeDef

delete_resiliency_policy

Deletes a resiliency policy.

Type annotations and code completion for boto3.client("resiliencehub").delete_resiliency_policy method. boto3 documentation

Method definition
def delete_resiliency_policy(
    self,
    *,
    policyArn: str,
    clientToken: str = ...,
) -> DeleteResiliencyPolicyResponseTypeDef:  # (1)
    ...
  1. See DeleteResiliencyPolicyResponseTypeDef
Usage example with kwargs
kwargs: DeleteResiliencyPolicyRequestRequestTypeDef = {  # (1)
    "policyArn": ...,
}

parent.delete_resiliency_policy(**kwargs)
  1. See DeleteResiliencyPolicyRequestRequestTypeDef

describe_app

Describes an AWS Resilience Hub application.

Type annotations and code completion for boto3.client("resiliencehub").describe_app method. boto3 documentation

Method definition
def describe_app(
    self,
    *,
    appArn: str,
) -> DescribeAppResponseTypeDef:  # (1)
    ...
  1. See DescribeAppResponseTypeDef
Usage example with kwargs
kwargs: DescribeAppRequestRequestTypeDef = {  # (1)
    "appArn": ...,
}

parent.describe_app(**kwargs)
  1. See DescribeAppRequestRequestTypeDef

describe_app_assessment

Describes an assessment for an AWS Resilience Hub application.

Type annotations and code completion for boto3.client("resiliencehub").describe_app_assessment method. boto3 documentation

Method definition
def describe_app_assessment(
    self,
    *,
    assessmentArn: str,
) -> DescribeAppAssessmentResponseTypeDef:  # (1)
    ...
  1. See DescribeAppAssessmentResponseTypeDef
Usage example with kwargs
kwargs: DescribeAppAssessmentRequestRequestTypeDef = {  # (1)
    "assessmentArn": ...,
}

parent.describe_app_assessment(**kwargs)
  1. See DescribeAppAssessmentRequestRequestTypeDef

describe_app_version_resources_resolution_status

Returns the resolution status for the specified resolution identifier for an application version.

Type annotations and code completion for boto3.client("resiliencehub").describe_app_version_resources_resolution_status method. boto3 documentation

Method definition
def describe_app_version_resources_resolution_status(
    self,
    *,
    appArn: str,
    appVersion: str,
    resolutionId: str = ...,
) -> DescribeAppVersionResourcesResolutionStatusResponseTypeDef:  # (1)
    ...
  1. See DescribeAppVersionResourcesResolutionStatusResponseTypeDef
Usage example with kwargs
kwargs: DescribeAppVersionResourcesResolutionStatusRequestRequestTypeDef = {  # (1)
    "appArn": ...,
    "appVersion": ...,
}

parent.describe_app_version_resources_resolution_status(**kwargs)
  1. See DescribeAppVersionResourcesResolutionStatusRequestRequestTypeDef

describe_app_version_template

Describes details about an AWS Resilience Hub See also: AWS API Documentation.

Type annotations and code completion for boto3.client("resiliencehub").describe_app_version_template method. boto3 documentation

Method definition
def describe_app_version_template(
    self,
    *,
    appArn: str,
    appVersion: str,
) -> DescribeAppVersionTemplateResponseTypeDef:  # (1)
    ...
  1. See DescribeAppVersionTemplateResponseTypeDef
Usage example with kwargs
kwargs: DescribeAppVersionTemplateRequestRequestTypeDef = {  # (1)
    "appArn": ...,
    "appVersion": ...,
}

parent.describe_app_version_template(**kwargs)
  1. See DescribeAppVersionTemplateRequestRequestTypeDef

describe_draft_app_version_resources_import_status

Describes the status of importing resources to an application version.

Type annotations and code completion for boto3.client("resiliencehub").describe_draft_app_version_resources_import_status method. boto3 documentation

Method definition
def describe_draft_app_version_resources_import_status(
    self,
    *,
    appArn: str,
) -> DescribeDraftAppVersionResourcesImportStatusResponseTypeDef:  # (1)
    ...
  1. See DescribeDraftAppVersionResourcesImportStatusResponseTypeDef
Usage example with kwargs
kwargs: DescribeDraftAppVersionResourcesImportStatusRequestRequestTypeDef = {  # (1)
    "appArn": ...,
}

parent.describe_draft_app_version_resources_import_status(**kwargs)
  1. See DescribeDraftAppVersionResourcesImportStatusRequestRequestTypeDef

describe_resiliency_policy

Describes a specified resiliency policy for an AWS Resilience Hub application.

Type annotations and code completion for boto3.client("resiliencehub").describe_resiliency_policy method. boto3 documentation

Method definition
def describe_resiliency_policy(
    self,
    *,
    policyArn: str,
) -> DescribeResiliencyPolicyResponseTypeDef:  # (1)
    ...
  1. See DescribeResiliencyPolicyResponseTypeDef
Usage example with kwargs
kwargs: DescribeResiliencyPolicyRequestRequestTypeDef = {  # (1)
    "policyArn": ...,
}

parent.describe_resiliency_policy(**kwargs)
  1. See DescribeResiliencyPolicyRequestRequestTypeDef

generate_presigned_url

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

Type annotations and code completion for boto3.client("resiliencehub").generate_presigned_url method. boto3 documentation

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

import_resources_to_draft_app_version

Imports resources from sources such as a CloudFormation stack, resource-groups, or application registry app to a draft application version.

Type annotations and code completion for boto3.client("resiliencehub").import_resources_to_draft_app_version method. boto3 documentation

Method definition
def import_resources_to_draft_app_version(
    self,
    *,
    appArn: str,
    sourceArns: Sequence[str] = ...,
    terraformSources: Sequence[TerraformSourceTypeDef] = ...,  # (1)
) -> ImportResourcesToDraftAppVersionResponseTypeDef:  # (2)
    ...
  1. See TerraformSourceTypeDef
  2. See ImportResourcesToDraftAppVersionResponseTypeDef
Usage example with kwargs
kwargs: ImportResourcesToDraftAppVersionRequestRequestTypeDef = {  # (1)
    "appArn": ...,
}

parent.import_resources_to_draft_app_version(**kwargs)
  1. See ImportResourcesToDraftAppVersionRequestRequestTypeDef

list_alarm_recommendations

Lists the alarm recommendations for a AWS Resilience Hub application.

Type annotations and code completion for boto3.client("resiliencehub").list_alarm_recommendations method. boto3 documentation

Method definition
def list_alarm_recommendations(
    self,
    *,
    assessmentArn: str,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListAlarmRecommendationsResponseTypeDef:  # (1)
    ...
  1. See ListAlarmRecommendationsResponseTypeDef
Usage example with kwargs
kwargs: ListAlarmRecommendationsRequestRequestTypeDef = {  # (1)
    "assessmentArn": ...,
}

parent.list_alarm_recommendations(**kwargs)
  1. See ListAlarmRecommendationsRequestRequestTypeDef

list_app_assessments

Lists the assessments for an AWS Resilience Hub application.

Type annotations and code completion for boto3.client("resiliencehub").list_app_assessments method. boto3 documentation

Method definition
def list_app_assessments(
    self,
    *,
    appArn: str = ...,
    assessmentName: str = ...,
    assessmentStatus: Sequence[AssessmentStatusType] = ...,  # (1)
    complianceStatus: ComplianceStatusType = ...,  # (2)
    invoker: AssessmentInvokerType = ...,  # (3)
    maxResults: int = ...,
    nextToken: str = ...,
    reverseOrder: bool = ...,
) -> ListAppAssessmentsResponseTypeDef:  # (4)
    ...
  1. See AssessmentStatusType
  2. See ComplianceStatusType
  3. See AssessmentInvokerType
  4. See ListAppAssessmentsResponseTypeDef
Usage example with kwargs
kwargs: ListAppAssessmentsRequestRequestTypeDef = {  # (1)
    "appArn": ...,
}

parent.list_app_assessments(**kwargs)
  1. See ListAppAssessmentsRequestRequestTypeDef

list_app_component_compliances

Lists the compliances for an AWS Resilience Hub component.

Type annotations and code completion for boto3.client("resiliencehub").list_app_component_compliances method. boto3 documentation

Method definition
def list_app_component_compliances(
    self,
    *,
    assessmentArn: str,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListAppComponentCompliancesResponseTypeDef:  # (1)
    ...
  1. See ListAppComponentCompliancesResponseTypeDef
Usage example with kwargs
kwargs: ListAppComponentCompliancesRequestRequestTypeDef = {  # (1)
    "assessmentArn": ...,
}

parent.list_app_component_compliances(**kwargs)
  1. See ListAppComponentCompliancesRequestRequestTypeDef

list_app_component_recommendations

Lists the recommendations for an AWS Resilience Hub component.

Type annotations and code completion for boto3.client("resiliencehub").list_app_component_recommendations method. boto3 documentation

Method definition
def list_app_component_recommendations(
    self,
    *,
    assessmentArn: str,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListAppComponentRecommendationsResponseTypeDef:  # (1)
    ...
  1. See ListAppComponentRecommendationsResponseTypeDef
Usage example with kwargs
kwargs: ListAppComponentRecommendationsRequestRequestTypeDef = {  # (1)
    "assessmentArn": ...,
}

parent.list_app_component_recommendations(**kwargs)
  1. See ListAppComponentRecommendationsRequestRequestTypeDef

list_app_version_resource_mappings

Lists how the resources in an application version are mapped/sourced from.

Type annotations and code completion for boto3.client("resiliencehub").list_app_version_resource_mappings method. boto3 documentation

Method definition
def list_app_version_resource_mappings(
    self,
    *,
    appArn: str,
    appVersion: str,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListAppVersionResourceMappingsResponseTypeDef:  # (1)
    ...
  1. See ListAppVersionResourceMappingsResponseTypeDef
Usage example with kwargs
kwargs: ListAppVersionResourceMappingsRequestRequestTypeDef = {  # (1)
    "appArn": ...,
    "appVersion": ...,
}

parent.list_app_version_resource_mappings(**kwargs)
  1. See ListAppVersionResourceMappingsRequestRequestTypeDef

list_app_version_resources

Lists all the resources in an application version.

Type annotations and code completion for boto3.client("resiliencehub").list_app_version_resources method. boto3 documentation

Method definition
def list_app_version_resources(
    self,
    *,
    appArn: str,
    appVersion: str,
    maxResults: int = ...,
    nextToken: str = ...,
    resolutionId: str = ...,
) -> ListAppVersionResourcesResponseTypeDef:  # (1)
    ...
  1. See ListAppVersionResourcesResponseTypeDef
Usage example with kwargs
kwargs: ListAppVersionResourcesRequestRequestTypeDef = {  # (1)
    "appArn": ...,
    "appVersion": ...,
}

parent.list_app_version_resources(**kwargs)
  1. See ListAppVersionResourcesRequestRequestTypeDef

list_app_versions

Lists the different versions for the Resilience Hub applications.

Type annotations and code completion for boto3.client("resiliencehub").list_app_versions method. boto3 documentation

Method definition
def list_app_versions(
    self,
    *,
    appArn: str,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListAppVersionsResponseTypeDef:  # (1)
    ...
  1. See ListAppVersionsResponseTypeDef
Usage example with kwargs
kwargs: ListAppVersionsRequestRequestTypeDef = {  # (1)
    "appArn": ...,
}

parent.list_app_versions(**kwargs)
  1. See ListAppVersionsRequestRequestTypeDef

list_apps

Lists your Resilience Hub applications.

Type annotations and code completion for boto3.client("resiliencehub").list_apps method. boto3 documentation

Method definition
def list_apps(
    self,
    *,
    appArn: str = ...,
    maxResults: int = ...,
    name: str = ...,
    nextToken: str = ...,
) -> ListAppsResponseTypeDef:  # (1)
    ...
  1. See ListAppsResponseTypeDef
Usage example with kwargs
kwargs: ListAppsRequestRequestTypeDef = {  # (1)
    "appArn": ...,
}

parent.list_apps(**kwargs)
  1. See ListAppsRequestRequestTypeDef

list_recommendation_templates

Lists the recommendation templates for the Resilience Hub applications.

Type annotations and code completion for boto3.client("resiliencehub").list_recommendation_templates method. boto3 documentation

Method definition
def list_recommendation_templates(
    self,
    *,
    assessmentArn: str,
    maxResults: int = ...,
    name: str = ...,
    nextToken: str = ...,
    recommendationTemplateArn: str = ...,
    reverseOrder: bool = ...,
    status: Sequence[RecommendationTemplateStatusType] = ...,  # (1)
) -> ListRecommendationTemplatesResponseTypeDef:  # (2)
    ...
  1. See RecommendationTemplateStatusType
  2. See ListRecommendationTemplatesResponseTypeDef
Usage example with kwargs
kwargs: ListRecommendationTemplatesRequestRequestTypeDef = {  # (1)
    "assessmentArn": ...,
}

parent.list_recommendation_templates(**kwargs)
  1. See ListRecommendationTemplatesRequestRequestTypeDef

list_resiliency_policies

Lists the resiliency policies for the Resilience Hub applications.

Type annotations and code completion for boto3.client("resiliencehub").list_resiliency_policies method. boto3 documentation

Method definition
def list_resiliency_policies(
    self,
    *,
    maxResults: int = ...,
    nextToken: str = ...,
    policyName: str = ...,
) -> ListResiliencyPoliciesResponseTypeDef:  # (1)
    ...
  1. See ListResiliencyPoliciesResponseTypeDef
Usage example with kwargs
kwargs: ListResiliencyPoliciesRequestRequestTypeDef = {  # (1)
    "maxResults": ...,
}

parent.list_resiliency_policies(**kwargs)
  1. See ListResiliencyPoliciesRequestRequestTypeDef

list_sop_recommendations

Lists the standard operating procedure (SOP) recommendations for the Resilience Hub applications.

Type annotations and code completion for boto3.client("resiliencehub").list_sop_recommendations method. boto3 documentation

Method definition
def list_sop_recommendations(
    self,
    *,
    assessmentArn: str,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListSopRecommendationsResponseTypeDef:  # (1)
    ...
  1. See ListSopRecommendationsResponseTypeDef
Usage example with kwargs
kwargs: ListSopRecommendationsRequestRequestTypeDef = {  # (1)
    "assessmentArn": ...,
}

parent.list_sop_recommendations(**kwargs)
  1. See ListSopRecommendationsRequestRequestTypeDef

list_suggested_resiliency_policies

Lists the suggested resiliency policies for the Resilience Hub applications.

Type annotations and code completion for boto3.client("resiliencehub").list_suggested_resiliency_policies method. boto3 documentation

Method definition
def list_suggested_resiliency_policies(
    self,
    *,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListSuggestedResiliencyPoliciesResponseTypeDef:  # (1)
    ...
  1. See ListSuggestedResiliencyPoliciesResponseTypeDef
Usage example with kwargs
kwargs: ListSuggestedResiliencyPoliciesRequestRequestTypeDef = {  # (1)
    "maxResults": ...,
}

parent.list_suggested_resiliency_policies(**kwargs)
  1. See ListSuggestedResiliencyPoliciesRequestRequestTypeDef

list_tags_for_resource

Lists the tags for your resources in your Resilience Hub applications.

Type annotations and code completion for boto3.client("resiliencehub").list_tags_for_resource method. boto3 documentation

Method definition
def list_tags_for_resource(
    self,
    *,
    resourceArn: str,
) -> ListTagsForResourceResponseTypeDef:  # (1)
    ...
  1. See ListTagsForResourceResponseTypeDef
Usage example with kwargs
kwargs: ListTagsForResourceRequestRequestTypeDef = {  # (1)
    "resourceArn": ...,
}

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

list_test_recommendations

Lists the test recommendations for the Resilience Hub application.

Type annotations and code completion for boto3.client("resiliencehub").list_test_recommendations method. boto3 documentation

Method definition
def list_test_recommendations(
    self,
    *,
    assessmentArn: str,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListTestRecommendationsResponseTypeDef:  # (1)
    ...
  1. See ListTestRecommendationsResponseTypeDef
Usage example with kwargs
kwargs: ListTestRecommendationsRequestRequestTypeDef = {  # (1)
    "assessmentArn": ...,
}

parent.list_test_recommendations(**kwargs)
  1. See ListTestRecommendationsRequestRequestTypeDef

list_unsupported_app_version_resources

Lists the resources that are not currently supported in AWS Resilience Hub.

Type annotations and code completion for boto3.client("resiliencehub").list_unsupported_app_version_resources method. boto3 documentation

Method definition
def list_unsupported_app_version_resources(
    self,
    *,
    appArn: str,
    appVersion: str,
    maxResults: int = ...,
    nextToken: str = ...,
    resolutionId: str = ...,
) -> ListUnsupportedAppVersionResourcesResponseTypeDef:  # (1)
    ...
  1. See ListUnsupportedAppVersionResourcesResponseTypeDef
Usage example with kwargs
kwargs: ListUnsupportedAppVersionResourcesRequestRequestTypeDef = {  # (1)
    "appArn": ...,
    "appVersion": ...,
}

parent.list_unsupported_app_version_resources(**kwargs)
  1. See ListUnsupportedAppVersionResourcesRequestRequestTypeDef

publish_app_version

Publishes a new version of a specific Resilience Hub application.

Type annotations and code completion for boto3.client("resiliencehub").publish_app_version method. boto3 documentation

Method definition
def publish_app_version(
    self,
    *,
    appArn: str,
) -> PublishAppVersionResponseTypeDef:  # (1)
    ...
  1. See PublishAppVersionResponseTypeDef
Usage example with kwargs
kwargs: PublishAppVersionRequestRequestTypeDef = {  # (1)
    "appArn": ...,
}

parent.publish_app_version(**kwargs)
  1. See PublishAppVersionRequestRequestTypeDef

put_draft_app_version_template

Adds or updates the app template for a draft version of a Resilience Hub app.

Type annotations and code completion for boto3.client("resiliencehub").put_draft_app_version_template method. boto3 documentation

Method definition
def put_draft_app_version_template(
    self,
    *,
    appArn: str,
    appTemplateBody: str,
) -> PutDraftAppVersionTemplateResponseTypeDef:  # (1)
    ...
  1. See PutDraftAppVersionTemplateResponseTypeDef
Usage example with kwargs
kwargs: PutDraftAppVersionTemplateRequestRequestTypeDef = {  # (1)
    "appArn": ...,
    "appTemplateBody": ...,
}

parent.put_draft_app_version_template(**kwargs)
  1. See PutDraftAppVersionTemplateRequestRequestTypeDef

remove_draft_app_version_resource_mappings

Removes resource mappings from a draft application version.

Type annotations and code completion for boto3.client("resiliencehub").remove_draft_app_version_resource_mappings method. boto3 documentation

Method definition
def remove_draft_app_version_resource_mappings(
    self,
    *,
    appArn: str,
    appRegistryAppNames: Sequence[str] = ...,
    logicalStackNames: Sequence[str] = ...,
    resourceGroupNames: Sequence[str] = ...,
    resourceNames: Sequence[str] = ...,
    terraformSourceNames: Sequence[str] = ...,
) -> RemoveDraftAppVersionResourceMappingsResponseTypeDef:  # (1)
    ...
  1. See RemoveDraftAppVersionResourceMappingsResponseTypeDef
Usage example with kwargs
kwargs: RemoveDraftAppVersionResourceMappingsRequestRequestTypeDef = {  # (1)
    "appArn": ...,
}

parent.remove_draft_app_version_resource_mappings(**kwargs)
  1. See RemoveDraftAppVersionResourceMappingsRequestRequestTypeDef

resolve_app_version_resources

Resolves the resources for an application version.

Type annotations and code completion for boto3.client("resiliencehub").resolve_app_version_resources method. boto3 documentation

Method definition
def resolve_app_version_resources(
    self,
    *,
    appArn: str,
    appVersion: str,
) -> ResolveAppVersionResourcesResponseTypeDef:  # (1)
    ...
  1. See ResolveAppVersionResourcesResponseTypeDef
Usage example with kwargs
kwargs: ResolveAppVersionResourcesRequestRequestTypeDef = {  # (1)
    "appArn": ...,
    "appVersion": ...,
}

parent.resolve_app_version_resources(**kwargs)
  1. See ResolveAppVersionResourcesRequestRequestTypeDef

start_app_assessment

Creates a new application assessment for an application.

Type annotations and code completion for boto3.client("resiliencehub").start_app_assessment method. boto3 documentation

Method definition
def start_app_assessment(
    self,
    *,
    appArn: str,
    appVersion: str,
    assessmentName: str,
    clientToken: str = ...,
    tags: Mapping[str, str] = ...,
) -> StartAppAssessmentResponseTypeDef:  # (1)
    ...
  1. See StartAppAssessmentResponseTypeDef
Usage example with kwargs
kwargs: StartAppAssessmentRequestRequestTypeDef = {  # (1)
    "appArn": ...,
    "appVersion": ...,
    "assessmentName": ...,
}

parent.start_app_assessment(**kwargs)
  1. See StartAppAssessmentRequestRequestTypeDef

tag_resource

Applies one or more tags to a resource.

Type annotations and code completion for boto3.client("resiliencehub").tag_resource method. boto3 documentation

Method definition
def tag_resource(
    self,
    *,
    resourceArn: str,
    tags: Mapping[str, str],
) -> Dict[str, Any]:
    ...
Usage example with kwargs
kwargs: TagResourceRequestRequestTypeDef = {  # (1)
    "resourceArn": ...,
    "tags": ...,
}

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

untag_resource

Removes one or more tags from a resource.

Type annotations and code completion for boto3.client("resiliencehub").untag_resource method. boto3 documentation

Method definition
def untag_resource(
    self,
    *,
    resourceArn: str,
    tagKeys: Sequence[str],
) -> Dict[str, Any]:
    ...
Usage example with kwargs
kwargs: UntagResourceRequestRequestTypeDef = {  # (1)
    "resourceArn": ...,
    "tagKeys": ...,
}

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

update_app

Updates an application.

Type annotations and code completion for boto3.client("resiliencehub").update_app method. boto3 documentation

Method definition
def update_app(
    self,
    *,
    appArn: str,
    assessmentSchedule: AppAssessmentScheduleTypeType = ...,  # (1)
    clearResiliencyPolicyArn: bool = ...,
    description: str = ...,
    policyArn: str = ...,
) -> UpdateAppResponseTypeDef:  # (2)
    ...
  1. See AppAssessmentScheduleTypeType
  2. See UpdateAppResponseTypeDef
Usage example with kwargs
kwargs: UpdateAppRequestRequestTypeDef = {  # (1)
    "appArn": ...,
}

parent.update_app(**kwargs)
  1. See UpdateAppRequestRequestTypeDef

update_resiliency_policy

Updates a resiliency policy.

Type annotations and code completion for boto3.client("resiliencehub").update_resiliency_policy method. boto3 documentation

Method definition
def update_resiliency_policy(
    self,
    *,
    policyArn: str,
    dataLocationConstraint: DataLocationConstraintType = ...,  # (1)
    policy: Mapping[DisruptionTypeType, FailurePolicyTypeDef] = ...,  # (2)
    policyDescription: str = ...,
    policyName: str = ...,
    tier: ResiliencyPolicyTierType = ...,  # (3)
) -> UpdateResiliencyPolicyResponseTypeDef:  # (4)
    ...
  1. See DataLocationConstraintType
  2. See DisruptionTypeType FailurePolicyTypeDef
  3. See ResiliencyPolicyTierType
  4. See UpdateResiliencyPolicyResponseTypeDef
Usage example with kwargs
kwargs: UpdateResiliencyPolicyRequestRequestTypeDef = {  # (1)
    "policyArn": ...,
}

parent.update_resiliency_policy(**kwargs)
  1. See UpdateResiliencyPolicyRequestRequestTypeDef