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
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.
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)
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
def add_draft_app_version_resource_mappings(
self,
*,
appArn: str,
resourceMappings: Sequence[ResourceMappingTypeDef], # (1)
) -> AddDraftAppVersionResourceMappingsResponseTypeDef: # (2)
...
kwargs: AddDraftAppVersionResourceMappingsRequestRequestTypeDef = { # (1)
"appArn": ...,
"resourceMappings": ...,
}
parent.add_draft_app_version_resource_mappings(**kwargs)
can_paginate
Check if an operation can be paginated.
Type annotations and code completion for boto3.client("resiliencehub").can_paginate
method.
boto3 documentation
close
Closes underlying endpoint connections.
Type annotations and code completion for boto3.client("resiliencehub").close
method.
boto3 documentation
create_app
Creates an AWS Resilience Hub application.
Type annotations and code completion for boto3.client("resiliencehub").create_app
method.
boto3 documentation
def create_app(
self,
*,
name: str,
assessmentSchedule: AppAssessmentScheduleTypeType = ..., # (1)
clientToken: str = ...,
description: str = ...,
policyArn: str = ...,
tags: Mapping[str, str] = ...,
) -> CreateAppResponseTypeDef: # (2)
...
kwargs: CreateAppRequestRequestTypeDef = { # (1)
"name": ...,
}
parent.create_app(**kwargs)
create_app_version_app_component
Creates a new Application Component in the AWS Resilience Hub application.
Type annotations and code completion for boto3.client("resiliencehub").create_app_version_app_component
method.
boto3 documentation
def create_app_version_app_component(
self,
*,
appArn: str,
name: str,
type: str,
additionalInfo: Mapping[str, Sequence[str]] = ...,
clientToken: str = ...,
id: str = ...,
) -> CreateAppVersionAppComponentResponseTypeDef: # (1)
...
kwargs: CreateAppVersionAppComponentRequestRequestTypeDef = { # (1)
"appArn": ...,
"name": ...,
"type": ...,
}
parent.create_app_version_app_component(**kwargs)
create_app_version_resource
Adds a resource to the AWS Resilience Hub applicationand assigns it to the specified Application Components.
Type annotations and code completion for boto3.client("resiliencehub").create_app_version_resource
method.
boto3 documentation
def create_app_version_resource(
self,
*,
appArn: str,
appComponents: Sequence[str],
logicalResourceId: LogicalResourceIdTypeDef, # (1)
physicalResourceId: str,
resourceName: str,
resourceType: str,
additionalInfo: Mapping[str, Sequence[str]] = ...,
awsAccountId: str = ...,
awsRegion: str = ...,
clientToken: str = ...,
) -> CreateAppVersionResourceResponseTypeDef: # (2)
...
kwargs: CreateAppVersionResourceRequestRequestTypeDef = { # (1)
"appArn": ...,
"appComponents": ...,
"logicalResourceId": ...,
"physicalResourceId": ...,
"resourceName": ...,
"resourceType": ...,
}
parent.create_app_version_resource(**kwargs)
create_recommendation_template
Creates a new recommendation template for the AWS Resilience Hub application.
Type annotations and code completion for boto3.client("resiliencehub").create_recommendation_template
method.
boto3 documentation
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)
...
- See TemplateFormatType
- See RenderRecommendationTypeType
- See CreateRecommendationTemplateResponseTypeDef
kwargs: CreateRecommendationTemplateRequestRequestTypeDef = { # (1)
"assessmentArn": ...,
"name": ...,
}
parent.create_recommendation_template(**kwargs)
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
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)
...
- See DisruptionTypeType FailurePolicyTypeDef
- See ResiliencyPolicyTierType
- See DataLocationConstraintType
- See CreateResiliencyPolicyResponseTypeDef
kwargs: CreateResiliencyPolicyRequestRequestTypeDef = { # (1)
"policy": ...,
"policyName": ...,
"tier": ...,
}
parent.create_resiliency_policy(**kwargs)
delete_app
Deletes an AWS Resilience Hub application.
Type annotations and code completion for boto3.client("resiliencehub").delete_app
method.
boto3 documentation
def delete_app(
self,
*,
appArn: str,
clientToken: str = ...,
forceDelete: bool = ...,
) -> DeleteAppResponseTypeDef: # (1)
...
kwargs: DeleteAppRequestRequestTypeDef = { # (1)
"appArn": ...,
}
parent.delete_app(**kwargs)
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
def delete_app_assessment(
self,
*,
assessmentArn: str,
clientToken: str = ...,
) -> DeleteAppAssessmentResponseTypeDef: # (1)
...
kwargs: DeleteAppAssessmentRequestRequestTypeDef = { # (1)
"assessmentArn": ...,
}
parent.delete_app_assessment(**kwargs)
delete_app_input_source
Deletes the input source and all of its imported resources from the AWS Resilience Hub application.
Type annotations and code completion for boto3.client("resiliencehub").delete_app_input_source
method.
boto3 documentation
def delete_app_input_source(
self,
*,
appArn: str,
clientToken: str = ...,
sourceArn: str = ...,
terraformSource: TerraformSourceTypeDef = ..., # (1)
) -> DeleteAppInputSourceResponseTypeDef: # (2)
...
kwargs: DeleteAppInputSourceRequestRequestTypeDef = { # (1)
"appArn": ...,
}
parent.delete_app_input_source(**kwargs)
delete_app_version_app_component
Deletes an Application Component from the AWS Resilience Hub application.
Type annotations and code completion for boto3.client("resiliencehub").delete_app_version_app_component
method.
boto3 documentation
def delete_app_version_app_component(
self,
*,
appArn: str,
id: str,
clientToken: str = ...,
) -> DeleteAppVersionAppComponentResponseTypeDef: # (1)
...
kwargs: DeleteAppVersionAppComponentRequestRequestTypeDef = { # (1)
"appArn": ...,
"id": ...,
}
parent.delete_app_version_app_component(**kwargs)
delete_app_version_resource
Deletes a resource from the AWS Resilience Hub application.
Type annotations and code completion for boto3.client("resiliencehub").delete_app_version_resource
method.
boto3 documentation
def delete_app_version_resource(
self,
*,
appArn: str,
awsAccountId: str = ...,
awsRegion: str = ...,
clientToken: str = ...,
logicalResourceId: LogicalResourceIdTypeDef = ..., # (1)
physicalResourceId: str = ...,
resourceName: str = ...,
) -> DeleteAppVersionResourceResponseTypeDef: # (2)
...
kwargs: DeleteAppVersionResourceRequestRequestTypeDef = { # (1)
"appArn": ...,
}
parent.delete_app_version_resource(**kwargs)
delete_recommendation_template
Deletes a recommendation template.
Type annotations and code completion for boto3.client("resiliencehub").delete_recommendation_template
method.
boto3 documentation
def delete_recommendation_template(
self,
*,
recommendationTemplateArn: str,
clientToken: str = ...,
) -> DeleteRecommendationTemplateResponseTypeDef: # (1)
...
kwargs: DeleteRecommendationTemplateRequestRequestTypeDef = { # (1)
"recommendationTemplateArn": ...,
}
parent.delete_recommendation_template(**kwargs)
delete_resiliency_policy
Deletes a resiliency policy.
Type annotations and code completion for boto3.client("resiliencehub").delete_resiliency_policy
method.
boto3 documentation
def delete_resiliency_policy(
self,
*,
policyArn: str,
clientToken: str = ...,
) -> DeleteResiliencyPolicyResponseTypeDef: # (1)
...
kwargs: DeleteResiliencyPolicyRequestRequestTypeDef = { # (1)
"policyArn": ...,
}
parent.delete_resiliency_policy(**kwargs)
describe_app
Describes an AWS Resilience Hub application.
Type annotations and code completion for boto3.client("resiliencehub").describe_app
method.
boto3 documentation
kwargs: DescribeAppRequestRequestTypeDef = { # (1)
"appArn": ...,
}
parent.describe_app(**kwargs)
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
def describe_app_assessment(
self,
*,
assessmentArn: str,
) -> DescribeAppAssessmentResponseTypeDef: # (1)
...
kwargs: DescribeAppAssessmentRequestRequestTypeDef = { # (1)
"assessmentArn": ...,
}
parent.describe_app_assessment(**kwargs)
describe_app_version
Describes the AWS Resilience Hub application version.
Type annotations and code completion for boto3.client("resiliencehub").describe_app_version
method.
boto3 documentation
def describe_app_version(
self,
*,
appArn: str,
appVersion: str,
) -> DescribeAppVersionResponseTypeDef: # (1)
...
kwargs: DescribeAppVersionRequestRequestTypeDef = { # (1)
"appArn": ...,
"appVersion": ...,
}
parent.describe_app_version(**kwargs)
describe_app_version_app_component
Describes an Application Component in the AWS Resilience Hub application.
Type annotations and code completion for boto3.client("resiliencehub").describe_app_version_app_component
method.
boto3 documentation
def describe_app_version_app_component(
self,
*,
appArn: str,
appVersion: str,
id: str,
) -> DescribeAppVersionAppComponentResponseTypeDef: # (1)
...
kwargs: DescribeAppVersionAppComponentRequestRequestTypeDef = { # (1)
"appArn": ...,
"appVersion": ...,
"id": ...,
}
parent.describe_app_version_app_component(**kwargs)
describe_app_version_resource
Describes a resource of the AWS Resilience Hub application.
Type annotations and code completion for boto3.client("resiliencehub").describe_app_version_resource
method.
boto3 documentation
def describe_app_version_resource(
self,
*,
appArn: str,
appVersion: str,
awsAccountId: str = ...,
awsRegion: str = ...,
logicalResourceId: LogicalResourceIdTypeDef = ..., # (1)
physicalResourceId: str = ...,
resourceName: str = ...,
) -> DescribeAppVersionResourceResponseTypeDef: # (2)
...
kwargs: DescribeAppVersionResourceRequestRequestTypeDef = { # (1)
"appArn": ...,
"appVersion": ...,
}
parent.describe_app_version_resource(**kwargs)
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
def describe_app_version_resources_resolution_status(
self,
*,
appArn: str,
appVersion: str,
resolutionId: str = ...,
) -> DescribeAppVersionResourcesResolutionStatusResponseTypeDef: # (1)
...
kwargs: DescribeAppVersionResourcesResolutionStatusRequestRequestTypeDef = { # (1)
"appArn": ...,
"appVersion": ...,
}
parent.describe_app_version_resources_resolution_status(**kwargs)
describe_app_version_template
Describes details about an AWS Resilience Hub application.
Type annotations and code completion for boto3.client("resiliencehub").describe_app_version_template
method.
boto3 documentation
def describe_app_version_template(
self,
*,
appArn: str,
appVersion: str,
) -> DescribeAppVersionTemplateResponseTypeDef: # (1)
...
kwargs: DescribeAppVersionTemplateRequestRequestTypeDef = { # (1)
"appArn": ...,
"appVersion": ...,
}
parent.describe_app_version_template(**kwargs)
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
def describe_draft_app_version_resources_import_status(
self,
*,
appArn: str,
) -> DescribeDraftAppVersionResourcesImportStatusResponseTypeDef: # (1)
...
kwargs: DescribeDraftAppVersionResourcesImportStatusRequestRequestTypeDef = { # (1)
"appArn": ...,
}
parent.describe_draft_app_version_resources_import_status(**kwargs)
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
def describe_resiliency_policy(
self,
*,
policyArn: str,
) -> DescribeResiliencyPolicyResponseTypeDef: # (1)
...
kwargs: DescribeResiliencyPolicyRequestRequestTypeDef = { # (1)
"policyArn": ...,
}
parent.describe_resiliency_policy(**kwargs)
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
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 to AWS 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
def import_resources_to_draft_app_version(
self,
*,
appArn: str,
importStrategy: ResourceImportStrategyTypeType = ..., # (1)
sourceArns: Sequence[str] = ...,
terraformSources: Sequence[TerraformSourceTypeDef] = ..., # (2)
) -> ImportResourcesToDraftAppVersionResponseTypeDef: # (3)
...
- See ResourceImportStrategyTypeType
- See TerraformSourceTypeDef
- See ImportResourcesToDraftAppVersionResponseTypeDef
kwargs: ImportResourcesToDraftAppVersionRequestRequestTypeDef = { # (1)
"appArn": ...,
}
parent.import_resources_to_draft_app_version(**kwargs)
list_alarm_recommendations
Lists the alarm recommendations for an AWS Resilience Hub application.
Type annotations and code completion for boto3.client("resiliencehub").list_alarm_recommendations
method.
boto3 documentation
def list_alarm_recommendations(
self,
*,
assessmentArn: str,
maxResults: int = ...,
nextToken: str = ...,
) -> ListAlarmRecommendationsResponseTypeDef: # (1)
...
kwargs: ListAlarmRecommendationsRequestRequestTypeDef = { # (1)
"assessmentArn": ...,
}
parent.list_alarm_recommendations(**kwargs)
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
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)
...
- See AssessmentStatusType
- See ComplianceStatusType
- See AssessmentInvokerType
- See ListAppAssessmentsResponseTypeDef
kwargs: ListAppAssessmentsRequestRequestTypeDef = { # (1)
"appArn": ...,
}
parent.list_app_assessments(**kwargs)
list_app_component_compliances
Lists the compliances for an AWS Resilience Hub Application Component.
Type annotations and code completion for boto3.client("resiliencehub").list_app_component_compliances
method.
boto3 documentation
def list_app_component_compliances(
self,
*,
assessmentArn: str,
maxResults: int = ...,
nextToken: str = ...,
) -> ListAppComponentCompliancesResponseTypeDef: # (1)
...
kwargs: ListAppComponentCompliancesRequestRequestTypeDef = { # (1)
"assessmentArn": ...,
}
parent.list_app_component_compliances(**kwargs)
list_app_component_recommendations
Lists the recommendations for an AWS Resilience Hub Application Component.
Type annotations and code completion for boto3.client("resiliencehub").list_app_component_recommendations
method.
boto3 documentation
def list_app_component_recommendations(
self,
*,
assessmentArn: str,
maxResults: int = ...,
nextToken: str = ...,
) -> ListAppComponentRecommendationsResponseTypeDef: # (1)
...
kwargs: ListAppComponentRecommendationsRequestRequestTypeDef = { # (1)
"assessmentArn": ...,
}
parent.list_app_component_recommendations(**kwargs)
list_app_input_sources
Lists all the input sources of the AWS Resilience Hub application.
Type annotations and code completion for boto3.client("resiliencehub").list_app_input_sources
method.
boto3 documentation
def list_app_input_sources(
self,
*,
appArn: str,
appVersion: str,
maxResults: int = ...,
nextToken: str = ...,
) -> ListAppInputSourcesResponseTypeDef: # (1)
...
kwargs: ListAppInputSourcesRequestRequestTypeDef = { # (1)
"appArn": ...,
"appVersion": ...,
}
parent.list_app_input_sources(**kwargs)
list_app_version_app_components
Lists all the Application Components in the AWS Resilience Hub application.
Type annotations and code completion for boto3.client("resiliencehub").list_app_version_app_components
method.
boto3 documentation
def list_app_version_app_components(
self,
*,
appArn: str,
appVersion: str,
maxResults: int = ...,
nextToken: str = ...,
) -> ListAppVersionAppComponentsResponseTypeDef: # (1)
...
kwargs: ListAppVersionAppComponentsRequestRequestTypeDef = { # (1)
"appArn": ...,
"appVersion": ...,
}
parent.list_app_version_app_components(**kwargs)
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
def list_app_version_resource_mappings(
self,
*,
appArn: str,
appVersion: str,
maxResults: int = ...,
nextToken: str = ...,
) -> ListAppVersionResourceMappingsResponseTypeDef: # (1)
...
kwargs: ListAppVersionResourceMappingsRequestRequestTypeDef = { # (1)
"appArn": ...,
"appVersion": ...,
}
parent.list_app_version_resource_mappings(**kwargs)
list_app_version_resources
Lists all the resources in an AWS Resilience Hub application.
Type annotations and code completion for boto3.client("resiliencehub").list_app_version_resources
method.
boto3 documentation
def list_app_version_resources(
self,
*,
appArn: str,
appVersion: str,
maxResults: int = ...,
nextToken: str = ...,
resolutionId: str = ...,
) -> ListAppVersionResourcesResponseTypeDef: # (1)
...
kwargs: ListAppVersionResourcesRequestRequestTypeDef = { # (1)
"appArn": ...,
"appVersion": ...,
}
parent.list_app_version_resources(**kwargs)
list_app_versions
Lists the different versions for the AWS Resilience Hub applications.
Type annotations and code completion for boto3.client("resiliencehub").list_app_versions
method.
boto3 documentation
def list_app_versions(
self,
*,
appArn: str,
maxResults: int = ...,
nextToken: str = ...,
) -> ListAppVersionsResponseTypeDef: # (1)
...
kwargs: ListAppVersionsRequestRequestTypeDef = { # (1)
"appArn": ...,
}
parent.list_app_versions(**kwargs)
list_apps
Lists your AWS Resilience Hub applications.
Type annotations and code completion for boto3.client("resiliencehub").list_apps
method.
boto3 documentation
def list_apps(
self,
*,
appArn: str = ...,
maxResults: int = ...,
name: str = ...,
nextToken: str = ...,
) -> ListAppsResponseTypeDef: # (1)
...
kwargs: ListAppsRequestRequestTypeDef = { # (1)
"appArn": ...,
}
parent.list_apps(**kwargs)
list_recommendation_templates
Lists the recommendation templates for the AWS Resilience Hub applications.
Type annotations and code completion for boto3.client("resiliencehub").list_recommendation_templates
method.
boto3 documentation
def list_recommendation_templates(
self,
*,
assessmentArn: str,
maxResults: int = ...,
name: str = ...,
nextToken: str = ...,
recommendationTemplateArn: str = ...,
reverseOrder: bool = ...,
status: Sequence[RecommendationTemplateStatusType] = ..., # (1)
) -> ListRecommendationTemplatesResponseTypeDef: # (2)
...
kwargs: ListRecommendationTemplatesRequestRequestTypeDef = { # (1)
"assessmentArn": ...,
}
parent.list_recommendation_templates(**kwargs)
list_resiliency_policies
Lists the resiliency policies for the AWS Resilience Hub applications.
Type annotations and code completion for boto3.client("resiliencehub").list_resiliency_policies
method.
boto3 documentation
def list_resiliency_policies(
self,
*,
maxResults: int = ...,
nextToken: str = ...,
policyName: str = ...,
) -> ListResiliencyPoliciesResponseTypeDef: # (1)
...
kwargs: ListResiliencyPoliciesRequestRequestTypeDef = { # (1)
"maxResults": ...,
}
parent.list_resiliency_policies(**kwargs)
list_sop_recommendations
Lists the standard operating procedure (SOP) recommendations for the AWS Resilience Hub applications.
Type annotations and code completion for boto3.client("resiliencehub").list_sop_recommendations
method.
boto3 documentation
def list_sop_recommendations(
self,
*,
assessmentArn: str,
maxResults: int = ...,
nextToken: str = ...,
) -> ListSopRecommendationsResponseTypeDef: # (1)
...
kwargs: ListSopRecommendationsRequestRequestTypeDef = { # (1)
"assessmentArn": ...,
}
parent.list_sop_recommendations(**kwargs)
list_suggested_resiliency_policies
Lists the suggested resiliency policies for the AWS Resilience Hub applications.
Type annotations and code completion for boto3.client("resiliencehub").list_suggested_resiliency_policies
method.
boto3 documentation
def list_suggested_resiliency_policies(
self,
*,
maxResults: int = ...,
nextToken: str = ...,
) -> ListSuggestedResiliencyPoliciesResponseTypeDef: # (1)
...
kwargs: ListSuggestedResiliencyPoliciesRequestRequestTypeDef = { # (1)
"maxResults": ...,
}
parent.list_suggested_resiliency_policies(**kwargs)
list_tags_for_resource
Lists the tags for your resources in your AWS Resilience Hub applications.
Type annotations and code completion for boto3.client("resiliencehub").list_tags_for_resource
method.
boto3 documentation
def list_tags_for_resource(
self,
*,
resourceArn: str,
) -> ListTagsForResourceResponseTypeDef: # (1)
...
kwargs: ListTagsForResourceRequestRequestTypeDef = { # (1)
"resourceArn": ...,
}
parent.list_tags_for_resource(**kwargs)
list_test_recommendations
Lists the test recommendations for the AWS Resilience Hub application.
Type annotations and code completion for boto3.client("resiliencehub").list_test_recommendations
method.
boto3 documentation
def list_test_recommendations(
self,
*,
assessmentArn: str,
maxResults: int = ...,
nextToken: str = ...,
) -> ListTestRecommendationsResponseTypeDef: # (1)
...
kwargs: ListTestRecommendationsRequestRequestTypeDef = { # (1)
"assessmentArn": ...,
}
parent.list_test_recommendations(**kwargs)
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
def list_unsupported_app_version_resources(
self,
*,
appArn: str,
appVersion: str,
maxResults: int = ...,
nextToken: str = ...,
resolutionId: str = ...,
) -> ListUnsupportedAppVersionResourcesResponseTypeDef: # (1)
...
kwargs: ListUnsupportedAppVersionResourcesRequestRequestTypeDef = { # (1)
"appArn": ...,
"appVersion": ...,
}
parent.list_unsupported_app_version_resources(**kwargs)
publish_app_version
Publishes a new version of a specific AWS Resilience Hub application.
Type annotations and code completion for boto3.client("resiliencehub").publish_app_version
method.
boto3 documentation
def publish_app_version(
self,
*,
appArn: str,
) -> PublishAppVersionResponseTypeDef: # (1)
...
kwargs: PublishAppVersionRequestRequestTypeDef = { # (1)
"appArn": ...,
}
parent.publish_app_version(**kwargs)
put_draft_app_version_template
Adds or updates the app template for an AWS Resilience Hub application draft version.
Type annotations and code completion for boto3.client("resiliencehub").put_draft_app_version_template
method.
boto3 documentation
def put_draft_app_version_template(
self,
*,
appArn: str,
appTemplateBody: str,
) -> PutDraftAppVersionTemplateResponseTypeDef: # (1)
...
kwargs: PutDraftAppVersionTemplateRequestRequestTypeDef = { # (1)
"appArn": ...,
"appTemplateBody": ...,
}
parent.put_draft_app_version_template(**kwargs)
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
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)
...
kwargs: RemoveDraftAppVersionResourceMappingsRequestRequestTypeDef = { # (1)
"appArn": ...,
}
parent.remove_draft_app_version_resource_mappings(**kwargs)
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
def resolve_app_version_resources(
self,
*,
appArn: str,
appVersion: str,
) -> ResolveAppVersionResourcesResponseTypeDef: # (1)
...
kwargs: ResolveAppVersionResourcesRequestRequestTypeDef = { # (1)
"appArn": ...,
"appVersion": ...,
}
parent.resolve_app_version_resources(**kwargs)
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
def start_app_assessment(
self,
*,
appArn: str,
appVersion: str,
assessmentName: str,
clientToken: str = ...,
tags: Mapping[str, str] = ...,
) -> StartAppAssessmentResponseTypeDef: # (1)
...
kwargs: StartAppAssessmentRequestRequestTypeDef = { # (1)
"appArn": ...,
"appVersion": ...,
"assessmentName": ...,
}
parent.start_app_assessment(**kwargs)
tag_resource
Applies one or more tags to a resource.
Type annotations and code completion for boto3.client("resiliencehub").tag_resource
method.
boto3 documentation
def tag_resource(
self,
*,
resourceArn: str,
tags: Mapping[str, str],
) -> Dict[str, Any]:
...
kwargs: TagResourceRequestRequestTypeDef = { # (1)
"resourceArn": ...,
"tags": ...,
}
parent.tag_resource(**kwargs)
untag_resource
Removes one or more tags from a resource.
Type annotations and code completion for boto3.client("resiliencehub").untag_resource
method.
boto3 documentation
def untag_resource(
self,
*,
resourceArn: str,
tagKeys: Sequence[str],
) -> Dict[str, Any]:
...
kwargs: UntagResourceRequestRequestTypeDef = { # (1)
"resourceArn": ...,
"tagKeys": ...,
}
parent.untag_resource(**kwargs)
update_app
Updates an application.
Type annotations and code completion for boto3.client("resiliencehub").update_app
method.
boto3 documentation
def update_app(
self,
*,
appArn: str,
assessmentSchedule: AppAssessmentScheduleTypeType = ..., # (1)
clearResiliencyPolicyArn: bool = ...,
description: str = ...,
policyArn: str = ...,
) -> UpdateAppResponseTypeDef: # (2)
...
kwargs: UpdateAppRequestRequestTypeDef = { # (1)
"appArn": ...,
}
parent.update_app(**kwargs)
update_app_version
Updates the AWS Resilience Hub application version.
Type annotations and code completion for boto3.client("resiliencehub").update_app_version
method.
boto3 documentation
def update_app_version(
self,
*,
appArn: str,
additionalInfo: Mapping[str, Sequence[str]] = ...,
) -> UpdateAppVersionResponseTypeDef: # (1)
...
kwargs: UpdateAppVersionRequestRequestTypeDef = { # (1)
"appArn": ...,
}
parent.update_app_version(**kwargs)
update_app_version_app_component
Updates an existing Application Component in the AWS Resilience Hub application.
Type annotations and code completion for boto3.client("resiliencehub").update_app_version_app_component
method.
boto3 documentation
def update_app_version_app_component(
self,
*,
appArn: str,
id: str,
additionalInfo: Mapping[str, Sequence[str]] = ...,
name: str = ...,
type: str = ...,
) -> UpdateAppVersionAppComponentResponseTypeDef: # (1)
...
kwargs: UpdateAppVersionAppComponentRequestRequestTypeDef = { # (1)
"appArn": ...,
"id": ...,
}
parent.update_app_version_app_component(**kwargs)
update_app_version_resource
Updates the resource details in the AWS Resilience Hub application.
Type annotations and code completion for boto3.client("resiliencehub").update_app_version_resource
method.
boto3 documentation
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)
...
kwargs: UpdateAppVersionResourceRequestRequestTypeDef = { # (1)
"appArn": ...,
}
parent.update_app_version_resource(**kwargs)
update_resiliency_policy
Updates a resiliency policy.
Type annotations and code completion for boto3.client("resiliencehub").update_resiliency_policy
method.
boto3 documentation
def update_resiliency_policy(
self,
*,
policyArn: str,
dataLocationConstraint: DataLocationConstraintType = ..., # (1)
policy: Mapping[DisruptionTypeType, FailurePolicyTypeDef] = ..., # (2)
policyDescription: str = ...,
policyName: str = ...,
tier: ResiliencyPolicyTierType = ..., # (3)
) -> UpdateResiliencyPolicyResponseTypeDef: # (4)
...