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)
...
- See AcceptGroupingRecommendationEntryTypeDef
- See AcceptResourceGroupingRecommendationsResponseTypeDef
# accept_resource_grouping_recommendations method usage example with argument unpacking
kwargs: AcceptResourceGroupingRecommendationsRequestRequestTypeDef = { # (1)
"appArn": ...,
"entries": ...,
}
parent.accept_resource_grouping_recommendations(**kwargs)
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)
...
# 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)
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)
...
- See UpdateRecommendationStatusRequestEntryTypeDef
- See BatchUpdateRecommendationStatusResponseTypeDef
# batch_update_recommendation_status method usage example with argument unpacking
kwargs: BatchUpdateRecommendationStatusRequestRequestTypeDef = { # (1)
"appArn": ...,
"requestEntries": ...,
}
parent.batch_update_recommendation_status(**kwargs)
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)
...
- See AppAssessmentScheduleTypeType
- See EventSubscriptionTypeDef
- See PermissionModelTypeDef
- See CreateAppResponseTypeDef
# create_app method usage example with argument unpacking
kwargs: CreateAppRequestRequestTypeDef = { # (1)
"name": ...,
}
parent.create_app(**kwargs)
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)
...
# create_app_version_app_component method usage example with argument unpacking
kwargs: CreateAppVersionAppComponentRequestRequestTypeDef = { # (1)
"appArn": ...,
"name": ...,
"type": ...,
}
parent.create_app_version_app_component(**kwargs)
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)
...
# create_app_version_resource method usage example with argument unpacking
kwargs: CreateAppVersionResourceRequestRequestTypeDef = { # (1)
"appArn": ...,
"appComponents": ...,
"logicalResourceId": ...,
"physicalResourceId": ...,
"resourceType": ...,
}
parent.create_app_version_resource(**kwargs)
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)
...
- See TemplateFormatType
- See RenderRecommendationTypeType
- See CreateRecommendationTemplateResponseTypeDef
# create_recommendation_template method usage example with argument unpacking
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
# 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)
...
- See DisruptionTypeType FailurePolicyTypeDef
- See ResiliencyPolicyTierType
- See DataLocationConstraintType
- See CreateResiliencyPolicyResponseTypeDef
# create_resiliency_policy method usage example with argument unpacking
kwargs: CreateResiliencyPolicyRequestRequestTypeDef = { # (1)
"policy": ...,
"policyName": ...,
"tier": ...,
}
parent.create_resiliency_policy(**kwargs)
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)
...
# delete_app method usage example with argument unpacking
kwargs: DeleteAppRequestRequestTypeDef = { # (1)
"appArn": ...,
}
parent.delete_app(**kwargs)
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)
...
# delete_app_assessment method usage example with argument unpacking
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 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)
...
- See EksSourceClusterNamespaceTypeDef
- See TerraformSourceTypeDef
- See DeleteAppInputSourceResponseTypeDef
# delete_app_input_source method usage example with argument unpacking
kwargs: DeleteAppInputSourceRequestRequestTypeDef = { # (1)
"appArn": ...,
}
parent.delete_app_input_source(**kwargs)
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)
...
# delete_app_version_app_component method usage example with argument unpacking
kwargs: DeleteAppVersionAppComponentRequestRequestTypeDef = { # (1)
"appArn": ...,
"id": ...,
}
parent.delete_app_version_app_component(**kwargs)
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)
...
# delete_app_version_resource method usage example with argument unpacking
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
# delete_recommendation_template method definition
def delete_recommendation_template(
self,
*,
recommendationTemplateArn: str,
clientToken: str = ...,
) -> DeleteRecommendationTemplateResponseTypeDef: # (1)
...
# delete_recommendation_template method usage example with argument unpacking
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
# delete_resiliency_policy method definition
def delete_resiliency_policy(
self,
*,
policyArn: str,
clientToken: str = ...,
) -> DeleteResiliencyPolicyResponseTypeDef: # (1)
...
# delete_resiliency_policy method usage example with argument unpacking
kwargs: DeleteResiliencyPolicyRequestRequestTypeDef = { # (1)
"policyArn": ...,
}
parent.delete_resiliency_policy(**kwargs)
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)
...
# describe_app method usage example with argument unpacking
kwargs: DescribeAppRequestRequestTypeDef = { # (1)
"appArn": ...,
}
parent.describe_app(**kwargs)
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)
...
# describe_app_assessment method usage example with argument unpacking
kwargs: DescribeAppAssessmentRequestRequestTypeDef = { # (1)
"assessmentArn": ...,
}
parent.describe_app_assessment(**kwargs)
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)
...
# describe_app_version method usage example with argument unpacking
kwargs: DescribeAppVersionRequestRequestTypeDef = { # (1)
"appArn": ...,
"appVersion": ...,
}
parent.describe_app_version(**kwargs)
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)
...
# describe_app_version_app_component method usage example with argument unpacking
kwargs: DescribeAppVersionAppComponentRequestRequestTypeDef = { # (1)
"appArn": ...,
"appVersion": ...,
"id": ...,
}
parent.describe_app_version_app_component(**kwargs)
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)
...
# describe_app_version_resource method usage example with argument unpacking
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
# describe_app_version_resources_resolution_status method definition
def describe_app_version_resources_resolution_status(
self,
*,
appArn: str,
appVersion: str,
resolutionId: str = ...,
) -> DescribeAppVersionResourcesResolutionStatusResponseTypeDef: # (1)
...
# 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)
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)
...
# describe_app_version_template method usage example with argument unpacking
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
# describe_draft_app_version_resources_import_status method definition
def describe_draft_app_version_resources_import_status(
self,
*,
appArn: str,
) -> DescribeDraftAppVersionResourcesImportStatusResponseTypeDef: # (1)
...
# 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)
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)
...
# describe_metrics_export method usage example with argument unpacking
kwargs: DescribeMetricsExportRequestRequestTypeDef = { # (1)
"metricsExportId": ...,
}
parent.describe_metrics_export(**kwargs)
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)
...
# describe_resiliency_policy method usage example with argument unpacking
kwargs: DescribeResiliencyPolicyRequestRequestTypeDef = { # (1)
"policyArn": ...,
}
parent.describe_resiliency_policy(**kwargs)
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)
...
# describe_resource_grouping_recommendation_task method usage example with argument unpacking
kwargs: DescribeResourceGroupingRecommendationTaskRequestRequestTypeDef = { # (1)
"appArn": ...,
}
parent.describe_resource_grouping_recommendation_task(**kwargs)
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)
...
- See EksSourceTypeDef EksSourceOutputTypeDef
- See ResourceImportStrategyTypeType
- See TerraformSourceTypeDef
- 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)
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)
...
# list_alarm_recommendations method usage example with argument unpacking
kwargs: ListAlarmRecommendationsRequestRequestTypeDef = { # (1)
"assessmentArn": ...,
}
parent.list_alarm_recommendations(**kwargs)
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)
...
# list_app_assessment_compliance_drifts method usage example with argument unpacking
kwargs: ListAppAssessmentComplianceDriftsRequestRequestTypeDef = { # (1)
"assessmentArn": ...,
}
parent.list_app_assessment_compliance_drifts(**kwargs)
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)
...
# list_app_assessment_resource_drifts method usage example with argument unpacking
kwargs: ListAppAssessmentResourceDriftsRequestRequestTypeDef = { # (1)
"assessmentArn": ...,
}
parent.list_app_assessment_resource_drifts(**kwargs)
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)
...
- See AssessmentStatusType
- See ComplianceStatusType
- See AssessmentInvokerType
- See ListAppAssessmentsResponseTypeDef
# list_app_assessments method usage example with argument unpacking
kwargs: ListAppAssessmentsRequestRequestTypeDef = { # (1)
"appArn": ...,
}
parent.list_app_assessments(**kwargs)
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)
...
# list_app_component_compliances method usage example with argument unpacking
kwargs: ListAppComponentCompliancesRequestRequestTypeDef = { # (1)
"assessmentArn": ...,
}
parent.list_app_component_compliances(**kwargs)
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)
...
# list_app_component_recommendations method usage example with argument unpacking
kwargs: ListAppComponentRecommendationsRequestRequestTypeDef = { # (1)
"assessmentArn": ...,
}
parent.list_app_component_recommendations(**kwargs)
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)
...
# list_app_input_sources method usage example with argument unpacking
kwargs: ListAppInputSourcesRequestRequestTypeDef = { # (1)
"appArn": ...,
"appVersion": ...,
}
parent.list_app_input_sources(**kwargs)
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)
...
# list_app_version_app_components method usage example with argument unpacking
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
# list_app_version_resource_mappings method definition
def list_app_version_resource_mappings(
self,
*,
appArn: str,
appVersion: str,
maxResults: int = ...,
nextToken: str = ...,
) -> ListAppVersionResourceMappingsResponseTypeDef: # (1)
...
# list_app_version_resource_mappings method usage example with argument unpacking
kwargs: ListAppVersionResourceMappingsRequestRequestTypeDef = { # (1)
"appArn": ...,
"appVersion": ...,
}
parent.list_app_version_resource_mappings(**kwargs)
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)
...
# list_app_version_resources method usage example with argument unpacking
kwargs: ListAppVersionResourcesRequestRequestTypeDef = { # (1)
"appArn": ...,
"appVersion": ...,
}
parent.list_app_version_resources(**kwargs)
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)
...
# list_app_versions method usage example with argument unpacking
kwargs: ListAppVersionsRequestRequestTypeDef = { # (1)
"appArn": ...,
}
parent.list_app_versions(**kwargs)
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)
...
# list_apps method usage example with argument unpacking
kwargs: ListAppsRequestRequestTypeDef = { # (1)
"appArn": ...,
}
parent.list_apps(**kwargs)
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)
...
- See ConditionTypeDef
- See FieldTypeDef
- See SortTypeDef
- See ListMetricsResponseTypeDef
# list_metrics method usage example with argument unpacking
kwargs: ListMetricsRequestRequestTypeDef = { # (1)
"conditions": ...,
}
parent.list_metrics(**kwargs)
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)
...
# list_recommendation_templates method usage example with argument unpacking
kwargs: ListRecommendationTemplatesRequestRequestTypeDef = { # (1)
"assessmentArn": ...,
}
parent.list_recommendation_templates(**kwargs)
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)
...
# list_resiliency_policies method usage example with argument unpacking
kwargs: ListResiliencyPoliciesRequestRequestTypeDef = { # (1)
"maxResults": ...,
}
parent.list_resiliency_policies(**kwargs)
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)
...
# list_resource_grouping_recommendations method usage example with argument unpacking
kwargs: ListResourceGroupingRecommendationsRequestRequestTypeDef = { # (1)
"appArn": ...,
}
parent.list_resource_grouping_recommendations(**kwargs)
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)
...
# list_sop_recommendations method usage example with argument unpacking
kwargs: ListSopRecommendationsRequestRequestTypeDef = { # (1)
"assessmentArn": ...,
}
parent.list_sop_recommendations(**kwargs)
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)
...
# list_suggested_resiliency_policies method usage example with argument unpacking
kwargs: ListSuggestedResiliencyPoliciesRequestRequestTypeDef = { # (1)
"maxResults": ...,
}
parent.list_suggested_resiliency_policies(**kwargs)
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)
...
# list_tags_for_resource method usage example with argument unpacking
kwargs: ListTagsForResourceRequestRequestTypeDef = { # (1)
"resourceArn": ...,
}
parent.list_tags_for_resource(**kwargs)
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)
...
# list_test_recommendations method usage example with argument unpacking
kwargs: ListTestRecommendationsRequestRequestTypeDef = { # (1)
"assessmentArn": ...,
}
parent.list_test_recommendations(**kwargs)
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)
...
# list_unsupported_app_version_resources method usage example with argument unpacking
kwargs: ListUnsupportedAppVersionResourcesRequestRequestTypeDef = { # (1)
"appArn": ...,
"appVersion": ...,
}
parent.list_unsupported_app_version_resources(**kwargs)
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)
...
# publish_app_version method usage example with argument unpacking
kwargs: PublishAppVersionRequestRequestTypeDef = { # (1)
"appArn": ...,
}
parent.publish_app_version(**kwargs)
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)
...
# put_draft_app_version_template method usage example with argument unpacking
kwargs: PutDraftAppVersionTemplateRequestRequestTypeDef = { # (1)
"appArn": ...,
"appTemplateBody": ...,
}
parent.put_draft_app_version_template(**kwargs)
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)
...
- See RejectGroupingRecommendationEntryTypeDef
- See RejectResourceGroupingRecommendationsResponseTypeDef
# reject_resource_grouping_recommendations method usage example with argument unpacking
kwargs: RejectResourceGroupingRecommendationsRequestRequestTypeDef = { # (1)
"appArn": ...,
"entries": ...,
}
parent.reject_resource_grouping_recommendations(**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
# 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)
...
# remove_draft_app_version_resource_mappings method usage example with argument unpacking
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
# resolve_app_version_resources method definition
def resolve_app_version_resources(
self,
*,
appArn: str,
appVersion: str,
) -> ResolveAppVersionResourcesResponseTypeDef: # (1)
...
# resolve_app_version_resources method usage example with argument unpacking
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
# start_app_assessment method definition
def start_app_assessment(
self,
*,
appArn: str,
appVersion: str,
assessmentName: str,
clientToken: str = ...,
tags: Mapping[str, str] = ...,
) -> StartAppAssessmentResponseTypeDef: # (1)
...
# start_app_assessment method usage example with argument unpacking
kwargs: StartAppAssessmentRequestRequestTypeDef = { # (1)
"appArn": ...,
"appVersion": ...,
"assessmentName": ...,
}
parent.start_app_assessment(**kwargs)
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)
...
# start_metrics_export method usage example with argument unpacking
kwargs: StartMetricsExportRequestRequestTypeDef = { # (1)
"bucketName": ...,
}
parent.start_metrics_export(**kwargs)
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)
...
# start_resource_grouping_recommendation_task method usage example with argument unpacking
kwargs: StartResourceGroupingRecommendationTaskRequestRequestTypeDef = { # (1)
"appArn": ...,
}
parent.start_resource_grouping_recommendation_task(**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
# 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)
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)
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)
...
- See AppAssessmentScheduleTypeType
- See EventSubscriptionTypeDef
- See PermissionModelTypeDef
- See UpdateAppResponseTypeDef
# update_app method usage example with argument unpacking
kwargs: UpdateAppRequestRequestTypeDef = { # (1)
"appArn": ...,
}
parent.update_app(**kwargs)
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)
...
# update_app_version method usage example with argument unpacking
kwargs: UpdateAppVersionRequestRequestTypeDef = { # (1)
"appArn": ...,
}
parent.update_app_version(**kwargs)
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)
...
# update_app_version_app_component method usage example with argument unpacking
kwargs: UpdateAppVersionAppComponentRequestRequestTypeDef = { # (1)
"appArn": ...,
"id": ...,
}
parent.update_app_version_app_component(**kwargs)
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)
...
# update_app_version_resource method usage example with argument unpacking
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
# 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)
...
- See DataLocationConstraintType
- See DisruptionTypeType FailurePolicyTypeDef
- See ResiliencyPolicyTierType
- See UpdateResiliencyPolicyResponseTypeDef
# update_resiliency_policy method usage example with argument unpacking
kwargs: UpdateResiliencyPolicyRequestRequestTypeDef = { # (1)
"policyArn": ...,
}
parent.update_resiliency_policy(**kwargs)
get_paginator#
Type annotations and code completion for boto3.client("resiliencehub").get_paginator
method with overloads.
client.get_paginator("list_app_assessment_resource_drifts")
-> ListAppAssessmentResourceDriftsPaginatorclient.get_paginator("list_metrics")
-> ListMetricsPaginatorclient.get_paginator("list_resource_grouping_recommendations")
-> ListResourceGroupingRecommendationsPaginator