Skip to content

ResilienceHubClient#

Index > ResilienceHub > ResilienceHubClient

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

ResilienceHubClient#

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

# ResilienceHubClient usage example

from boto3.session import Session
from types_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.

# Exceptions.exceptions usage example

client = boto3.client("resiliencehub")

try:
    do_something(client)
except (
    client.exceptions.AccessDeniedException,
    client.exceptions.ClientError,
    client.exceptions.ConflictException,
    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 types_boto3_resiliencehub.client import Exceptions

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

Methods#

can_paginate#

Type annotations and code completion for boto3.client("resiliencehub").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("resiliencehub").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:
    ...

accept_resource_grouping_recommendations#

Accepts the resource grouping recommendations suggested by Resilience Hub for your application.

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

# accept_resource_grouping_recommendations method definition

def accept_resource_grouping_recommendations(
    self,
    *,
    appArn: str,
    entries: Sequence[AcceptGroupingRecommendationEntryTypeDef],  # (1)
) -> AcceptResourceGroupingRecommendationsResponseTypeDef:  # (2)
    ...
  1. See AcceptGroupingRecommendationEntryTypeDef
  2. See AcceptResourceGroupingRecommendationsResponseTypeDef
# accept_resource_grouping_recommendations method usage example with argument unpacking

kwargs: AcceptResourceGroupingRecommendationsRequestRequestTypeDef = {  # (1)
    "appArn": ...,
    "entries": ...,
}

parent.accept_resource_grouping_recommendations(**kwargs)
  1. See AcceptResourceGroupingRecommendationsRequestRequestTypeDef

add_draft_app_version_resource_mappings#

Adds the source of resource-maps to the draft version of an application.

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

# add_draft_app_version_resource_mappings method definition

def add_draft_app_version_resource_mappings(
    self,
    *,
    appArn: str,
    resourceMappings: Sequence[ResourceMappingTypeDef],  # (1)
) -> AddDraftAppVersionResourceMappingsResponseTypeDef:  # (2)
    ...
  1. See ResourceMappingTypeDef
  2. See AddDraftAppVersionResourceMappingsResponseTypeDef
# add_draft_app_version_resource_mappings method usage example with argument unpacking

kwargs: AddDraftAppVersionResourceMappingsRequestRequestTypeDef = {  # (1)
    "appArn": ...,
    "resourceMappings": ...,
}

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

batch_update_recommendation_status#

Enables you to include or exclude one or more operational recommendations.

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

# batch_update_recommendation_status method definition

def batch_update_recommendation_status(
    self,
    *,
    appArn: str,
    requestEntries: Sequence[UpdateRecommendationStatusRequestEntryTypeDef],  # (1)
) -> BatchUpdateRecommendationStatusResponseTypeDef:  # (2)
    ...
  1. See UpdateRecommendationStatusRequestEntryTypeDef
  2. See BatchUpdateRecommendationStatusResponseTypeDef
# batch_update_recommendation_status method usage example with argument unpacking

kwargs: BatchUpdateRecommendationStatusRequestRequestTypeDef = {  # (1)
    "appArn": ...,
    "requestEntries": ...,
}

parent.batch_update_recommendation_status(**kwargs)
  1. See BatchUpdateRecommendationStatusRequestRequestTypeDef

create_app#

Creates an Resilience Hub application.

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

# create_app method definition

def create_app(
    self,
    *,
    name: str,
    assessmentSchedule: AppAssessmentScheduleTypeType = ...,  # (1)
    awsApplicationArn: str = ...,
    clientToken: str = ...,
    description: str = ...,
    eventSubscriptions: Sequence[EventSubscriptionTypeDef] = ...,  # (2)
    permissionModel: PermissionModelTypeDef = ...,  # (3)
    policyArn: str = ...,
    tags: Mapping[str, str] = ...,
) -> CreateAppResponseTypeDef:  # (4)
    ...
  1. See AppAssessmentScheduleTypeType
  2. See EventSubscriptionTypeDef
  3. See PermissionModelTypeDef
  4. See CreateAppResponseTypeDef
# create_app method usage example with argument unpacking

kwargs: CreateAppRequestRequestTypeDef = {  # (1)
    "name": ...,
}

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

create_app_version_app_component#

Creates a new Application Component in the Resilience Hub application.

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

# create_app_version_app_component method definition

def create_app_version_app_component(
    self,
    *,
    appArn: str,
    name: str,
    type: str,
    additionalInfo: Mapping[str, Sequence[str]] = ...,
    clientToken: str = ...,
    id: str = ...,
) -> CreateAppVersionAppComponentResponseTypeDef:  # (1)
    ...
  1. See CreateAppVersionAppComponentResponseTypeDef
# create_app_version_app_component method usage example with argument unpacking

kwargs: CreateAppVersionAppComponentRequestRequestTypeDef = {  # (1)
    "appArn": ...,
    "name": ...,
    "type": ...,
}

parent.create_app_version_app_component(**kwargs)
  1. See CreateAppVersionAppComponentRequestRequestTypeDef

create_app_version_resource#

Adds a resource to the Resilience Hub application and assigns it to the specified Application Components.

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

# create_app_version_resource method definition

def create_app_version_resource(
    self,
    *,
    appArn: str,
    appComponents: Sequence[str],
    logicalResourceId: LogicalResourceIdTypeDef,  # (1)
    physicalResourceId: str,
    resourceType: str,
    additionalInfo: Mapping[str, Sequence[str]] = ...,
    awsAccountId: str = ...,
    awsRegion: str = ...,
    clientToken: str = ...,
    resourceName: str = ...,
) -> CreateAppVersionResourceResponseTypeDef:  # (2)
    ...
  1. See LogicalResourceIdTypeDef
  2. See CreateAppVersionResourceResponseTypeDef
# create_app_version_resource method usage example with argument unpacking

kwargs: CreateAppVersionResourceRequestRequestTypeDef = {  # (1)
    "appArn": ...,
    "appComponents": ...,
    "logicalResourceId": ...,
    "physicalResourceId": ...,
    "resourceType": ...,
}

parent.create_app_version_resource(**kwargs)
  1. See CreateAppVersionResourceRequestRequestTypeDef

create_recommendation_template#

Creates a new recommendation template for the Resilience Hub application.

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

# create_recommendation_template 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
# create_recommendation_template method usage example with argument unpacking

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

# create_resiliency_policy 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
# create_resiliency_policy method usage example with argument unpacking

kwargs: CreateResiliencyPolicyRequestRequestTypeDef = {  # (1)
    "policy": ...,
    "policyName": ...,
    "tier": ...,
}

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

delete_app#

Deletes an Resilience Hub application.

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

# delete_app method definition

def delete_app(
    self,
    *,
    appArn: str,
    clientToken: str = ...,
    forceDelete: bool = ...,
) -> DeleteAppResponseTypeDef:  # (1)
    ...
  1. See DeleteAppResponseTypeDef
# delete_app method usage example with argument unpacking

kwargs: DeleteAppRequestRequestTypeDef = {  # (1)
    "appArn": ...,
}

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

delete_app_assessment#

Deletes an Resilience Hub application assessment.

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

# delete_app_assessment method definition

def delete_app_assessment(
    self,
    *,
    assessmentArn: str,
    clientToken: str = ...,
) -> DeleteAppAssessmentResponseTypeDef:  # (1)
    ...
  1. See DeleteAppAssessmentResponseTypeDef
# delete_app_assessment method usage example with argument unpacking

kwargs: DeleteAppAssessmentRequestRequestTypeDef = {  # (1)
    "assessmentArn": ...,
}

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

delete_app_input_source#

Deletes the input source and all of its imported resources from the Resilience Hub application.

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

# delete_app_input_source method definition

def delete_app_input_source(
    self,
    *,
    appArn: str,
    clientToken: str = ...,
    eksSourceClusterNamespace: EksSourceClusterNamespaceTypeDef = ...,  # (1)
    sourceArn: str = ...,
    terraformSource: TerraformSourceTypeDef = ...,  # (2)
) -> DeleteAppInputSourceResponseTypeDef:  # (3)
    ...
  1. See EksSourceClusterNamespaceTypeDef
  2. See TerraformSourceTypeDef
  3. See DeleteAppInputSourceResponseTypeDef
# delete_app_input_source method usage example with argument unpacking

kwargs: DeleteAppInputSourceRequestRequestTypeDef = {  # (1)
    "appArn": ...,
}

parent.delete_app_input_source(**kwargs)
  1. See DeleteAppInputSourceRequestRequestTypeDef

delete_app_version_app_component#

Deletes an Application Component from the Resilience Hub application.

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

# delete_app_version_app_component method definition

def delete_app_version_app_component(
    self,
    *,
    appArn: str,
    id: str,
    clientToken: str = ...,
) -> DeleteAppVersionAppComponentResponseTypeDef:  # (1)
    ...
  1. See DeleteAppVersionAppComponentResponseTypeDef
# delete_app_version_app_component method usage example with argument unpacking

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

parent.delete_app_version_app_component(**kwargs)
  1. See DeleteAppVersionAppComponentRequestRequestTypeDef

delete_app_version_resource#

Deletes a resource from the Resilience Hub application.

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

# delete_app_version_resource method definition

def delete_app_version_resource(
    self,
    *,
    appArn: str,
    awsAccountId: str = ...,
    awsRegion: str = ...,
    clientToken: str = ...,
    logicalResourceId: LogicalResourceIdTypeDef = ...,  # (1)
    physicalResourceId: str = ...,
    resourceName: str = ...,
) -> DeleteAppVersionResourceResponseTypeDef:  # (2)
    ...
  1. See LogicalResourceIdTypeDef
  2. See DeleteAppVersionResourceResponseTypeDef
# delete_app_version_resource method usage example with argument unpacking

kwargs: DeleteAppVersionResourceRequestRequestTypeDef = {  # (1)
    "appArn": ...,
}

parent.delete_app_version_resource(**kwargs)
  1. See DeleteAppVersionResourceRequestRequestTypeDef

delete_recommendation_template#

Deletes a recommendation template.

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

# delete_recommendation_template method definition

def delete_recommendation_template(
    self,
    *,
    recommendationTemplateArn: str,
    clientToken: str = ...,
) -> DeleteRecommendationTemplateResponseTypeDef:  # (1)
    ...
  1. See DeleteRecommendationTemplateResponseTypeDef
# delete_recommendation_template method usage example with argument unpacking

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

# delete_resiliency_policy method definition

def delete_resiliency_policy(
    self,
    *,
    policyArn: str,
    clientToken: str = ...,
) -> DeleteResiliencyPolicyResponseTypeDef:  # (1)
    ...
  1. See DeleteResiliencyPolicyResponseTypeDef
# delete_resiliency_policy method usage example with argument unpacking

kwargs: DeleteResiliencyPolicyRequestRequestTypeDef = {  # (1)
    "policyArn": ...,
}

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

describe_app#

Describes an Resilience Hub application.

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

# describe_app method definition

def describe_app(
    self,
    *,
    appArn: str,
) -> DescribeAppResponseTypeDef:  # (1)
    ...
  1. See DescribeAppResponseTypeDef
# describe_app method usage example with argument unpacking

kwargs: DescribeAppRequestRequestTypeDef = {  # (1)
    "appArn": ...,
}

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

describe_app_assessment#

Describes an assessment for an Resilience Hub application.

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

# describe_app_assessment method definition

def describe_app_assessment(
    self,
    *,
    assessmentArn: str,
) -> DescribeAppAssessmentResponseTypeDef:  # (1)
    ...
  1. See DescribeAppAssessmentResponseTypeDef
# describe_app_assessment method usage example with argument unpacking

kwargs: DescribeAppAssessmentRequestRequestTypeDef = {  # (1)
    "assessmentArn": ...,
}

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

describe_app_version#

Describes the Resilience Hub application version.

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

# describe_app_version method definition

def describe_app_version(
    self,
    *,
    appArn: str,
    appVersion: str,
) -> DescribeAppVersionResponseTypeDef:  # (1)
    ...
  1. See DescribeAppVersionResponseTypeDef
# describe_app_version method usage example with argument unpacking

kwargs: DescribeAppVersionRequestRequestTypeDef = {  # (1)
    "appArn": ...,
    "appVersion": ...,
}

parent.describe_app_version(**kwargs)
  1. See DescribeAppVersionRequestRequestTypeDef

describe_app_version_app_component#

Describes an Application Component in the Resilience Hub application.

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

# describe_app_version_app_component method definition

def describe_app_version_app_component(
    self,
    *,
    appArn: str,
    appVersion: str,
    id: str,
) -> DescribeAppVersionAppComponentResponseTypeDef:  # (1)
    ...
  1. See DescribeAppVersionAppComponentResponseTypeDef
# describe_app_version_app_component method usage example with argument unpacking

kwargs: DescribeAppVersionAppComponentRequestRequestTypeDef = {  # (1)
    "appArn": ...,
    "appVersion": ...,
    "id": ...,
}

parent.describe_app_version_app_component(**kwargs)
  1. See DescribeAppVersionAppComponentRequestRequestTypeDef

describe_app_version_resource#

Describes a resource of the Resilience Hub application.

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

# describe_app_version_resource method definition

def describe_app_version_resource(
    self,
    *,
    appArn: str,
    appVersion: str,
    awsAccountId: str = ...,
    awsRegion: str = ...,
    logicalResourceId: LogicalResourceIdTypeDef = ...,  # (1)
    physicalResourceId: str = ...,
    resourceName: str = ...,
) -> DescribeAppVersionResourceResponseTypeDef:  # (2)
    ...
  1. See LogicalResourceIdTypeDef
  2. See DescribeAppVersionResourceResponseTypeDef
# describe_app_version_resource method usage example with argument unpacking

kwargs: DescribeAppVersionResourceRequestRequestTypeDef = {  # (1)
    "appArn": ...,
    "appVersion": ...,
}

parent.describe_app_version_resource(**kwargs)
  1. See DescribeAppVersionResourceRequestRequestTypeDef

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

# describe_app_version_resources_resolution_status method definition

def describe_app_version_resources_resolution_status(
    self,
    *,
    appArn: str,
    appVersion: str,
    resolutionId: str = ...,
) -> DescribeAppVersionResourcesResolutionStatusResponseTypeDef:  # (1)
    ...
  1. See DescribeAppVersionResourcesResolutionStatusResponseTypeDef
# describe_app_version_resources_resolution_status method usage example with argument unpacking

kwargs: DescribeAppVersionResourcesResolutionStatusRequestRequestTypeDef = {  # (1)
    "appArn": ...,
    "appVersion": ...,
}

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

describe_app_version_template#

Describes details about an Resilience Hub application.

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

# describe_app_version_template method definition

def describe_app_version_template(
    self,
    *,
    appArn: str,
    appVersion: str,
) -> DescribeAppVersionTemplateResponseTypeDef:  # (1)
    ...
  1. See DescribeAppVersionTemplateResponseTypeDef
# describe_app_version_template method usage example with argument unpacking

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

# describe_draft_app_version_resources_import_status method definition

def describe_draft_app_version_resources_import_status(
    self,
    *,
    appArn: str,
) -> DescribeDraftAppVersionResourcesImportStatusResponseTypeDef:  # (1)
    ...
  1. See DescribeDraftAppVersionResourcesImportStatusResponseTypeDef
# describe_draft_app_version_resources_import_status method usage example with argument unpacking

kwargs: DescribeDraftAppVersionResourcesImportStatusRequestRequestTypeDef = {  # (1)
    "appArn": ...,
}

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

describe_metrics_export#

Describes the metrics of the application configuration being exported.

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

# describe_metrics_export method definition

def describe_metrics_export(
    self,
    *,
    metricsExportId: str,
) -> DescribeMetricsExportResponseTypeDef:  # (1)
    ...
  1. See DescribeMetricsExportResponseTypeDef
# describe_metrics_export method usage example with argument unpacking

kwargs: DescribeMetricsExportRequestRequestTypeDef = {  # (1)
    "metricsExportId": ...,
}

parent.describe_metrics_export(**kwargs)
  1. See DescribeMetricsExportRequestRequestTypeDef

describe_resiliency_policy#

Describes a specified resiliency policy for an Resilience Hub application.

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

# describe_resiliency_policy method definition

def describe_resiliency_policy(
    self,
    *,
    policyArn: str,
) -> DescribeResiliencyPolicyResponseTypeDef:  # (1)
    ...
  1. See DescribeResiliencyPolicyResponseTypeDef
# describe_resiliency_policy method usage example with argument unpacking

kwargs: DescribeResiliencyPolicyRequestRequestTypeDef = {  # (1)
    "policyArn": ...,
}

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

describe_resource_grouping_recommendation_task#

Describes the resource grouping recommendation tasks run by Resilience Hub for your application.

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

# describe_resource_grouping_recommendation_task method definition

def describe_resource_grouping_recommendation_task(
    self,
    *,
    appArn: str,
    groupingId: str = ...,
) -> DescribeResourceGroupingRecommendationTaskResponseTypeDef:  # (1)
    ...
  1. See DescribeResourceGroupingRecommendationTaskResponseTypeDef
# describe_resource_grouping_recommendation_task method usage example with argument unpacking

kwargs: DescribeResourceGroupingRecommendationTaskRequestRequestTypeDef = {  # (1)
    "appArn": ...,
}

parent.describe_resource_grouping_recommendation_task(**kwargs)
  1. See DescribeResourceGroupingRecommendationTaskRequestRequestTypeDef

import_resources_to_draft_app_version#

Imports resources to Resilience Hub application draft version from different input sources.

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

# import_resources_to_draft_app_version method definition

def import_resources_to_draft_app_version(
    self,
    *,
    appArn: str,
    eksSources: Sequence[EksSourceUnionTypeDef] = ...,  # (1)
    importStrategy: ResourceImportStrategyTypeType = ...,  # (2)
    sourceArns: Sequence[str] = ...,
    terraformSources: Sequence[TerraformSourceTypeDef] = ...,  # (3)
) -> ImportResourcesToDraftAppVersionResponseTypeDef:  # (4)
    ...
  1. See EksSourceTypeDef EksSourceOutputTypeDef
  2. See ResourceImportStrategyTypeType
  3. See TerraformSourceTypeDef
  4. See ImportResourcesToDraftAppVersionResponseTypeDef
# import_resources_to_draft_app_version method usage example with argument unpacking

kwargs: ImportResourcesToDraftAppVersionRequestRequestTypeDef = {  # (1)
    "appArn": ...,
}

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

list_alarm_recommendations#

Lists the alarm recommendations for an Resilience Hub application.

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

# list_alarm_recommendations method definition

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

kwargs: ListAlarmRecommendationsRequestRequestTypeDef = {  # (1)
    "assessmentArn": ...,
}

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

list_app_assessment_compliance_drifts#

List of compliance drifts that were detected while running an assessment.

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

# list_app_assessment_compliance_drifts method definition

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

kwargs: ListAppAssessmentComplianceDriftsRequestRequestTypeDef = {  # (1)
    "assessmentArn": ...,
}

parent.list_app_assessment_compliance_drifts(**kwargs)
  1. See ListAppAssessmentComplianceDriftsRequestRequestTypeDef

list_app_assessment_resource_drifts#

List of resource drifts that were detected while running an assessment.

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

# list_app_assessment_resource_drifts method definition

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

kwargs: ListAppAssessmentResourceDriftsRequestRequestTypeDef = {  # (1)
    "assessmentArn": ...,
}

parent.list_app_assessment_resource_drifts(**kwargs)
  1. See ListAppAssessmentResourceDriftsRequestRequestTypeDef

list_app_assessments#

Lists the assessments for an Resilience Hub application.

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

# list_app_assessments 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
# list_app_assessments method usage example with argument unpacking

kwargs: ListAppAssessmentsRequestRequestTypeDef = {  # (1)
    "appArn": ...,
}

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

list_app_component_compliances#

Lists the compliances for an Resilience Hub Application Component.

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

# list_app_component_compliances method definition

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

kwargs: ListAppComponentCompliancesRequestRequestTypeDef = {  # (1)
    "assessmentArn": ...,
}

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

list_app_component_recommendations#

Lists the recommendations for an Resilience Hub Application Component.

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

# list_app_component_recommendations method definition

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

kwargs: ListAppComponentRecommendationsRequestRequestTypeDef = {  # (1)
    "assessmentArn": ...,
}

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

list_app_input_sources#

Lists all the input sources of the Resilience Hub application.

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

# list_app_input_sources method definition

def list_app_input_sources(
    self,
    *,
    appArn: str,
    appVersion: str,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListAppInputSourcesResponseTypeDef:  # (1)
    ...
  1. See ListAppInputSourcesResponseTypeDef
# list_app_input_sources method usage example with argument unpacking

kwargs: ListAppInputSourcesRequestRequestTypeDef = {  # (1)
    "appArn": ...,
    "appVersion": ...,
}

parent.list_app_input_sources(**kwargs)
  1. See ListAppInputSourcesRequestRequestTypeDef

list_app_version_app_components#

Lists all the Application Components in the Resilience Hub application.

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

# list_app_version_app_components method definition

def list_app_version_app_components(
    self,
    *,
    appArn: str,
    appVersion: str,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListAppVersionAppComponentsResponseTypeDef:  # (1)
    ...
  1. See ListAppVersionAppComponentsResponseTypeDef
# list_app_version_app_components method usage example with argument unpacking

kwargs: ListAppVersionAppComponentsRequestRequestTypeDef = {  # (1)
    "appArn": ...,
    "appVersion": ...,
}

parent.list_app_version_app_components(**kwargs)
  1. See ListAppVersionAppComponentsRequestRequestTypeDef

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

# list_app_version_resource_mappings method definition

def list_app_version_resource_mappings(
    self,
    *,
    appArn: str,
    appVersion: str,
    maxResults: int = ...,
    nextToken: str = ...,
) -> ListAppVersionResourceMappingsResponseTypeDef:  # (1)
    ...
  1. See ListAppVersionResourceMappingsResponseTypeDef
# list_app_version_resource_mappings method usage example with argument unpacking

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 Resilience Hub application.

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

# list_app_version_resources method definition

def list_app_version_resources(
    self,
    *,
    appArn: str,
    appVersion: str,
    maxResults: int = ...,
    nextToken: str = ...,
    resolutionId: str = ...,
) -> ListAppVersionResourcesResponseTypeDef:  # (1)
    ...
  1. See ListAppVersionResourcesResponseTypeDef
# list_app_version_resources method usage example with argument unpacking

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

# list_app_versions method definition

def list_app_versions(
    self,
    *,
    appArn: str,
    endTime: TimestampTypeDef = ...,
    maxResults: int = ...,
    nextToken: str = ...,
    startTime: TimestampTypeDef = ...,
) -> ListAppVersionsResponseTypeDef:  # (1)
    ...
  1. See ListAppVersionsResponseTypeDef
# list_app_versions method usage example with argument unpacking

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

# list_apps method definition

def list_apps(
    self,
    *,
    appArn: str = ...,
    awsApplicationArn: str = ...,
    fromLastAssessmentTime: TimestampTypeDef = ...,
    maxResults: int = ...,
    name: str = ...,
    nextToken: str = ...,
    reverseOrder: bool = ...,
    toLastAssessmentTime: TimestampTypeDef = ...,
) -> ListAppsResponseTypeDef:  # (1)
    ...
  1. See ListAppsResponseTypeDef
# list_apps method usage example with argument unpacking

kwargs: ListAppsRequestRequestTypeDef = {  # (1)
    "appArn": ...,
}

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

list_metrics#

Lists the metrics that can be exported.

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

# list_metrics method definition

def list_metrics(
    self,
    *,
    conditions: Sequence[ConditionTypeDef] = ...,  # (1)
    dataSource: str = ...,
    fields: Sequence[FieldTypeDef] = ...,  # (2)
    maxResults: int = ...,
    nextToken: str = ...,
    sorts: Sequence[SortTypeDef] = ...,  # (3)
) -> ListMetricsResponseTypeDef:  # (4)
    ...
  1. See ConditionTypeDef
  2. See FieldTypeDef
  3. See SortTypeDef
  4. See ListMetricsResponseTypeDef
# list_metrics method usage example with argument unpacking

kwargs: ListMetricsRequestRequestTypeDef = {  # (1)
    "conditions": ...,
}

parent.list_metrics(**kwargs)
  1. See ListMetricsRequestRequestTypeDef

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

# list_recommendation_templates 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
# list_recommendation_templates method usage example with argument unpacking

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

# list_resiliency_policies method definition

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

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

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

list_resource_grouping_recommendations#

Lists the resource grouping recommendations suggested by Resilience Hub for your application.

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

# list_resource_grouping_recommendations method definition

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

kwargs: ListResourceGroupingRecommendationsRequestRequestTypeDef = {  # (1)
    "appArn": ...,
}

parent.list_resource_grouping_recommendations(**kwargs)
  1. See ListResourceGroupingRecommendationsRequestRequestTypeDef

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

# list_sop_recommendations method definition

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

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

# list_suggested_resiliency_policies method definition

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

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

# list_tags_for_resource method definition

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

# list_test_recommendations method definition

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

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

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

# list_unsupported_app_version_resources method definition

def list_unsupported_app_version_resources(
    self,
    *,
    appArn: str,
    appVersion: str,
    maxResults: int = ...,
    nextToken: str = ...,
    resolutionId: str = ...,
) -> ListUnsupportedAppVersionResourcesResponseTypeDef:  # (1)
    ...
  1. See ListUnsupportedAppVersionResourcesResponseTypeDef
# list_unsupported_app_version_resources method usage example with argument unpacking

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

# publish_app_version method definition

def publish_app_version(
    self,
    *,
    appArn: str,
    versionName: str = ...,
) -> PublishAppVersionResponseTypeDef:  # (1)
    ...
  1. See PublishAppVersionResponseTypeDef
# publish_app_version method usage example with argument unpacking

kwargs: PublishAppVersionRequestRequestTypeDef = {  # (1)
    "appArn": ...,
}

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

put_draft_app_version_template#

Adds or updates the app template for an Resilience Hub application draft version.

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

# put_draft_app_version_template method definition

def put_draft_app_version_template(
    self,
    *,
    appArn: str,
    appTemplateBody: str,
) -> PutDraftAppVersionTemplateResponseTypeDef:  # (1)
    ...
  1. See PutDraftAppVersionTemplateResponseTypeDef
# put_draft_app_version_template method usage example with argument unpacking

kwargs: PutDraftAppVersionTemplateRequestRequestTypeDef = {  # (1)
    "appArn": ...,
    "appTemplateBody": ...,
}

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

reject_resource_grouping_recommendations#

Rejects resource grouping recommendations.

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

# reject_resource_grouping_recommendations method definition

def reject_resource_grouping_recommendations(
    self,
    *,
    appArn: str,
    entries: Sequence[RejectGroupingRecommendationEntryTypeDef],  # (1)
) -> RejectResourceGroupingRecommendationsResponseTypeDef:  # (2)
    ...
  1. See RejectGroupingRecommendationEntryTypeDef
  2. See RejectResourceGroupingRecommendationsResponseTypeDef
# reject_resource_grouping_recommendations method usage example with argument unpacking

kwargs: RejectResourceGroupingRecommendationsRequestRequestTypeDef = {  # (1)
    "appArn": ...,
    "entries": ...,
}

parent.reject_resource_grouping_recommendations(**kwargs)
  1. See RejectResourceGroupingRecommendationsRequestRequestTypeDef

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

# remove_draft_app_version_resource_mappings method definition

def remove_draft_app_version_resource_mappings(
    self,
    *,
    appArn: str,
    appRegistryAppNames: Sequence[str] = ...,
    eksSourceNames: Sequence[str] = ...,
    logicalStackNames: Sequence[str] = ...,
    resourceGroupNames: Sequence[str] = ...,
    resourceNames: Sequence[str] = ...,
    terraformSourceNames: Sequence[str] = ...,
) -> RemoveDraftAppVersionResourceMappingsResponseTypeDef:  # (1)
    ...
  1. See RemoveDraftAppVersionResourceMappingsResponseTypeDef
# remove_draft_app_version_resource_mappings method usage example with argument unpacking

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

# resolve_app_version_resources method definition

def resolve_app_version_resources(
    self,
    *,
    appArn: str,
    appVersion: str,
) -> ResolveAppVersionResourcesResponseTypeDef:  # (1)
    ...
  1. See ResolveAppVersionResourcesResponseTypeDef
# resolve_app_version_resources method usage example with argument unpacking

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

# start_app_assessment method definition

def start_app_assessment(
    self,
    *,
    appArn: str,
    appVersion: str,
    assessmentName: str,
    clientToken: str = ...,
    tags: Mapping[str, str] = ...,
) -> StartAppAssessmentResponseTypeDef:  # (1)
    ...
  1. See StartAppAssessmentResponseTypeDef
# start_app_assessment method usage example with argument unpacking

kwargs: StartAppAssessmentRequestRequestTypeDef = {  # (1)
    "appArn": ...,
    "appVersion": ...,
    "assessmentName": ...,
}

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

start_metrics_export#

Initiates the export task of metrics.

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

# start_metrics_export method definition

def start_metrics_export(
    self,
    *,
    bucketName: str = ...,
    clientToken: str = ...,
) -> StartMetricsExportResponseTypeDef:  # (1)
    ...
  1. See StartMetricsExportResponseTypeDef
# start_metrics_export method usage example with argument unpacking

kwargs: StartMetricsExportRequestRequestTypeDef = {  # (1)
    "bucketName": ...,
}

parent.start_metrics_export(**kwargs)
  1. See StartMetricsExportRequestRequestTypeDef

start_resource_grouping_recommendation_task#

Starts grouping recommendation task.

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

# start_resource_grouping_recommendation_task method definition

def start_resource_grouping_recommendation_task(
    self,
    *,
    appArn: str,
) -> StartResourceGroupingRecommendationTaskResponseTypeDef:  # (1)
    ...
  1. See StartResourceGroupingRecommendationTaskResponseTypeDef
# start_resource_grouping_recommendation_task method usage example with argument unpacking

kwargs: StartResourceGroupingRecommendationTaskRequestRequestTypeDef = {  # (1)
    "appArn": ...,
}

parent.start_resource_grouping_recommendation_task(**kwargs)
  1. See StartResourceGroupingRecommendationTaskRequestRequestTypeDef

tag_resource#

Applies one or more tags to a resource.

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

# tag_resource method definition

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 one or more tags from a resource.

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

# untag_resource method definition

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

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

# update_app method definition

def update_app(
    self,
    *,
    appArn: str,
    assessmentSchedule: AppAssessmentScheduleTypeType = ...,  # (1)
    clearResiliencyPolicyArn: bool = ...,
    description: str = ...,
    eventSubscriptions: Sequence[EventSubscriptionTypeDef] = ...,  # (2)
    permissionModel: PermissionModelTypeDef = ...,  # (3)
    policyArn: str = ...,
) -> UpdateAppResponseTypeDef:  # (4)
    ...
  1. See AppAssessmentScheduleTypeType
  2. See EventSubscriptionTypeDef
  3. See PermissionModelTypeDef
  4. See UpdateAppResponseTypeDef
# update_app method usage example with argument unpacking

kwargs: UpdateAppRequestRequestTypeDef = {  # (1)
    "appArn": ...,
}

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

update_app_version#

Updates the Resilience Hub application version.

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

# update_app_version method definition

def update_app_version(
    self,
    *,
    appArn: str,
    additionalInfo: Mapping[str, Sequence[str]] = ...,
) -> UpdateAppVersionResponseTypeDef:  # (1)
    ...
  1. See UpdateAppVersionResponseTypeDef
# update_app_version method usage example with argument unpacking

kwargs: UpdateAppVersionRequestRequestTypeDef = {  # (1)
    "appArn": ...,
}

parent.update_app_version(**kwargs)
  1. See UpdateAppVersionRequestRequestTypeDef

update_app_version_app_component#

Updates an existing Application Component in the Resilience Hub application.

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

# update_app_version_app_component method definition

def update_app_version_app_component(
    self,
    *,
    appArn: str,
    id: str,
    additionalInfo: Mapping[str, Sequence[str]] = ...,
    name: str = ...,
    type: str = ...,
) -> UpdateAppVersionAppComponentResponseTypeDef:  # (1)
    ...
  1. See UpdateAppVersionAppComponentResponseTypeDef
# update_app_version_app_component method usage example with argument unpacking

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

parent.update_app_version_app_component(**kwargs)
  1. See UpdateAppVersionAppComponentRequestRequestTypeDef

update_app_version_resource#

Updates the resource details in the Resilience Hub application.

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

# update_app_version_resource method definition

def update_app_version_resource(
    self,
    *,
    appArn: str,
    additionalInfo: Mapping[str, Sequence[str]] = ...,
    appComponents: Sequence[str] = ...,
    awsAccountId: str = ...,
    awsRegion: str = ...,
    excluded: bool = ...,
    logicalResourceId: LogicalResourceIdTypeDef = ...,  # (1)
    physicalResourceId: str = ...,
    resourceName: str = ...,
    resourceType: str = ...,
) -> UpdateAppVersionResourceResponseTypeDef:  # (2)
    ...
  1. See LogicalResourceIdTypeDef
  2. See UpdateAppVersionResourceResponseTypeDef
# update_app_version_resource method usage example with argument unpacking

kwargs: UpdateAppVersionResourceRequestRequestTypeDef = {  # (1)
    "appArn": ...,
}

parent.update_app_version_resource(**kwargs)
  1. See UpdateAppVersionResourceRequestRequestTypeDef

update_resiliency_policy#

Updates a resiliency policy.

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

# update_resiliency_policy 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
# update_resiliency_policy method usage example with argument unpacking

kwargs: UpdateResiliencyPolicyRequestRequestTypeDef = {  # (1)
    "policyArn": ...,
}

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

get_paginator#

Type annotations and code completion for boto3.client("resiliencehub").get_paginator method with overloads.