AWS Resilience Hub 2020-04-30
- Client: Aws\ResilienceHub\ResilienceHubClient
- Service ID: resiliencehub
- Version: 2020-04-30
This page describes the parameters and results for the operations of the AWS Resilience Hub (2020-04-30), and shows how to use the Aws\ResilienceHub\ResilienceHubClient object to call the described operations. This documentation is specific to the 2020-04-30 API version of the service.
Operation Summary
Each of the following operations can be created from a client using
$client->getCommand('CommandName')
, where "CommandName" is the
name of one of the following operations. Note: a command is a value that
encapsulates an operation and the parameters used to create an HTTP request.
You can also create and send a command immediately using the magic methods
available on a client object: $client->commandName(/* parameters */)
.
You can send the command asynchronously (returning a promise) by appending the
word "Async" to the operation name: $client->commandNameAsync(/* parameters */)
.
- AddDraftAppVersionResourceMappings ( array $params = [] )
Adds the resource mapping for the draft application version.
- CreateApp ( array $params = [] )
Creates an Resilience Hub application.
- CreateAppVersionAppComponent ( array $params = [] )
Creates a new Application Component in the Resilience Hub application.
- CreateAppVersionResource ( array $params = [] )
Adds a resource to the Resilience Hub application and assigns it to the specified Application Components.
- CreateRecommendationTemplate ( array $params = [] )
Creates a new recommendation template for the Resilience Hub application.
- CreateResiliencyPolicy ( array $params = [] )
Creates a resiliency policy for an application.
- DeleteApp ( array $params = [] )
Deletes an Resilience Hub application.
- DeleteAppAssessment ( array $params = [] )
Deletes an Resilience Hub application assessment.
- DeleteAppInputSource ( array $params = [] )
Deletes the input source and all of its imported resources from the Resilience Hub application.
- DeleteAppVersionAppComponent ( array $params = [] )
Deletes an Application Component from the Resilience Hub application.
- DeleteAppVersionResource ( array $params = [] )
Deletes a resource from the Resilience Hub application.
- DeleteRecommendationTemplate ( array $params = [] )
Deletes a recommendation template.
- DeleteResiliencyPolicy ( array $params = [] )
Deletes a resiliency policy.
- DescribeApp ( array $params = [] )
Describes an Resilience Hub application.
- DescribeAppAssessment ( array $params = [] )
Describes an assessment for an Resilience Hub application.
- DescribeAppVersion ( array $params = [] )
Describes the Resilience Hub application version.
- DescribeAppVersionAppComponent ( array $params = [] )
Describes an Application Component in the Resilience Hub application.
- DescribeAppVersionResource ( array $params = [] )
Describes a resource of the Resilience Hub application.
- DescribeAppVersionResourcesResolutionStatus ( array $params = [] )
Returns the resolution status for the specified resolution identifier for an application version.
- DescribeAppVersionTemplate ( array $params = [] )
Describes details about an Resilience Hub application.
- DescribeDraftAppVersionResourcesImportStatus ( array $params = [] )
Describes the status of importing resources to an application version.
- DescribeResiliencyPolicy ( array $params = [] )
Describes a specified resiliency policy for an Resilience Hub application.
- ImportResourcesToDraftAppVersion ( array $params = [] )
Imports resources to Resilience Hub application draft version from different input sources.
- ListAlarmRecommendations ( array $params = [] )
Lists the alarm recommendations for an Resilience Hub application.
- ListAppAssessments ( array $params = [] )
Lists the assessments for an Resilience Hub application.
- ListAppComponentCompliances ( array $params = [] )
Lists the compliances for an Resilience Hub Application Component.
- ListAppComponentRecommendations ( array $params = [] )
Lists the recommendations for an Resilience Hub Application Component.
- ListAppInputSources ( array $params = [] )
Lists all the input sources of the Resilience Hub application.
- ListAppVersionAppComponents ( array $params = [] )
Lists all the Application Components in the Resilience Hub application.
- ListAppVersionResourceMappings ( array $params = [] )
Lists how the resources in an application version are mapped/sourced from.
- ListAppVersionResources ( array $params = [] )
Lists all the resources in an Resilience Hub application.
- ListAppVersions ( array $params = [] )
Lists the different versions for the Resilience Hub applications.
- ListApps ( array $params = [] )
Lists your Resilience Hub applications.
- ListRecommendationTemplates ( array $params = [] )
Lists the recommendation templates for the Resilience Hub applications.
- ListResiliencyPolicies ( array $params = [] )
Lists the resiliency policies for the Resilience Hub applications.
- ListSopRecommendations ( array $params = [] )
Lists the standard operating procedure (SOP) recommendations for the Resilience Hub applications.
- ListSuggestedResiliencyPolicies ( array $params = [] )
Lists the suggested resiliency policies for the Resilience Hub applications.
- ListTagsForResource ( array $params = [] )
Lists the tags for your resources in your Resilience Hub applications.
- ListTestRecommendations ( array $params = [] )
Lists the test recommendations for the Resilience Hub application.
- ListUnsupportedAppVersionResources ( array $params = [] )
Lists the resources that are not currently supported in Resilience Hub.
- PublishAppVersion ( array $params = [] )
Publishes a new version of a specific Resilience Hub application.
- PutDraftAppVersionTemplate ( array $params = [] )
Adds or updates the app template for an Resilience Hub application draft version.
- RemoveDraftAppVersionResourceMappings ( array $params = [] )
Removes resource mappings from a draft application version.
- ResolveAppVersionResources ( array $params = [] )
Resolves the resources for an application version.
- StartAppAssessment ( array $params = [] )
Creates a new application assessment for an application.
- TagResource ( array $params = [] )
Applies one or more tags to a resource.
- UntagResource ( array $params = [] )
Removes one or more tags from a resource.
- UpdateApp ( array $params = [] )
Updates an application.
- UpdateAppVersion ( array $params = [] )
Updates the Resilience Hub application version.
- UpdateAppVersionAppComponent ( array $params = [] )
Updates an existing Application Component in the Resilience Hub application.
- UpdateAppVersionResource ( array $params = [] )
Updates the resource details in the Resilience Hub application.
- UpdateResiliencyPolicy ( array $params = [] )
Updates a resiliency policy.
Paginators
Paginators handle automatically iterating over paginated API results. Paginators are associated with specific API operations, and they accept the parameters that the corresponding API operation accepts. You can get a paginator from a client class using getPaginator($paginatorName, $operationParameters). This client supports the following paginators:
- ListAlarmRecommendations
- ListAppAssessments
- ListAppComponentCompliances
- ListAppComponentRecommendations
- ListAppInputSources
- ListAppVersionAppComponents
- ListAppVersionResourceMappings
- ListAppVersionResources
- ListAppVersions
- ListApps
- ListRecommendationTemplates
- ListResiliencyPolicies
- ListSopRecommendations
- ListSuggestedResiliencyPolicies
- ListTestRecommendations
- ListUnsupportedAppVersionResources
Operations
AddDraftAppVersionResourceMappings
$result = $client->addDraftAppVersionResourceMappings
([/* ... */]); $promise = $client->addDraftAppVersionResourceMappingsAsync
([/* ... */]);
Adds the resource mapping for the draft application version. You can also update an existing resource mapping to a new physical resource.
Parameter Syntax
$result = $client->addDraftAppVersionResourceMappings([ 'appArn' => '<string>', // REQUIRED 'resourceMappings' => [ // REQUIRED [ 'appRegistryAppName' => '<string>', 'eksSourceName' => '<string>', 'logicalStackName' => '<string>', 'mappingType' => 'CfnStack|Resource|AppRegistryApp|ResourceGroup|Terraform|EKS', // REQUIRED 'physicalResourceId' => [ // REQUIRED 'awsAccountId' => '<string>', 'awsRegion' => '<string>', 'identifier' => '<string>', // REQUIRED 'type' => 'Arn|Native', // REQUIRED ], 'resourceGroupName' => '<string>', 'resourceName' => '<string>', 'terraformSourceName' => '<string>', ], // ... ], ]);
Parameter Details
Members
- appArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. - resourceMappings
-
- Required: Yes
- Type: Array of ResourceMapping structures
Mappings used to map logical resources from the template to physical resources. You can use the mapping type
CFN_STACK
if the application template uses a logical stack name. Or you can map individual resources by using the mapping typeRESOURCE
. We recommend using the mapping typeCFN_STACK
if the application is backed by a CloudFormation stack.
Result Syntax
[ 'appArn' => '<string>', 'appVersion' => '<string>', 'resourceMappings' => [ [ 'appRegistryAppName' => '<string>', 'eksSourceName' => '<string>', 'logicalStackName' => '<string>', 'mappingType' => 'CfnStack|Resource|AppRegistryApp|ResourceGroup|Terraform|EKS', 'physicalResourceId' => [ 'awsAccountId' => '<string>', 'awsRegion' => '<string>', 'identifier' => '<string>', 'type' => 'Arn|Native', ], 'resourceGroupName' => '<string>', 'resourceName' => '<string>', 'terraformSourceName' => '<string>', ], // ... ], ]
Result Details
Members
- appArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. - appVersion
-
- Required: Yes
- Type: string
The version of the application.
- resourceMappings
-
- Required: Yes
- Type: Array of ResourceMapping structures
Mappings used to map logical resources from the template to physical resources. You can use the mapping type
CFN_STACK
if the application template uses a logical stack name. Or you can map individual resources by using the mapping typeRESOURCE
. We recommend using the mapping typeCFN_STACK
if the application is backed by a CloudFormation stack.
Errors
-
This exception occurs when there is an internal failure in the Resilience Hub service.
-
This exception occurs when the specified resource could not be found.
-
This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
-
This exception occurs when you have exceeded the limit on the number of requests per second.
-
This exception occurs when a request is not valid.
-
You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
CreateApp
$result = $client->createApp
([/* ... */]); $promise = $client->createAppAsync
([/* ... */]);
Creates an Resilience Hub application. An Resilience Hub application is a collection of Amazon Web Services resources structured to prevent and recover Amazon Web Services application disruptions. To describe a Resilience Hub application, you provide an application name, resources from one or more–up to five–CloudFormation stacks, and an appropriate resiliency policy.
After you create an Resilience Hub application, you publish it so that you can run a resiliency assessment on it. You can then use recommendations from the assessment to improve resiliency by running another assessment, comparing results, and then iterating the process until you achieve your goals for recovery time objective (RTO) and recovery point objective (RPO).
Parameter Syntax
$result = $client->createApp([ 'assessmentSchedule' => 'Disabled|Daily', 'clientToken' => '<string>', 'description' => '<string>', 'name' => '<string>', // REQUIRED 'policyArn' => '<string>', 'tags' => ['<string>', ...], ]);
Parameter Details
Members
- assessmentSchedule
-
- Type: string
Assessment execution schedule with 'Daily' or 'Disabled' values.
- clientToken
-
- Type: string
Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. You should not reuse the same client token for other API requests.
- description
-
- Type: string
The optional description for an app.
- name
-
- Required: Yes
- Type: string
The name for the application.
- policyArn
-
- Type: string
The Amazon Resource Name (ARN) of the resiliency policy. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:resiliency-policy/policy-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. - tags
-
- Type: Associative array of custom strings keys (TagKey) to strings
The tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key/value pair.
Result Syntax
[ 'app' => [ 'appArn' => '<string>', 'assessmentSchedule' => 'Disabled|Daily', 'complianceStatus' => 'PolicyBreached|PolicyMet|NotAssessed|ChangesDetected', 'creationTime' => <DateTime>, 'description' => '<string>', 'lastAppComplianceEvaluationTime' => <DateTime>, 'lastResiliencyScoreEvaluationTime' => <DateTime>, 'name' => '<string>', 'policyArn' => '<string>', 'resiliencyScore' => <float>, 'status' => 'Active|Deleting', 'tags' => ['<string>', ...], ], ]
Result Details
Members
- app
-
- Required: Yes
- Type: App structure
The created application returned as an object with details including compliance status, creation time, description, resiliency score, and more.
Errors
-
This exception occurs when there is an internal failure in the Resilience Hub service.
-
This exception occurs when the specified resource could not be found.
-
This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
-
ServiceQuotaExceededException:
This exception occurs when you have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.
-
This exception occurs when you have exceeded the limit on the number of requests per second.
-
This exception occurs when a request is not valid.
-
You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
CreateAppVersionAppComponent
$result = $client->createAppVersionAppComponent
([/* ... */]); $promise = $client->createAppVersionAppComponentAsync
([/* ... */]);
Creates a new Application Component in the Resilience Hub application.
This API updates the Resilience Hub application draft version. To use this Application Component for running assessments, you must publish the Resilience Hub application using the PublishAppVersion
API.
Parameter Syntax
$result = $client->createAppVersionAppComponent([ 'additionalInfo' => [ '<String128WithoutWhitespace>' => ['<string>', ...], // ... ], 'appArn' => '<string>', // REQUIRED 'clientToken' => '<string>', 'id' => '<string>', 'name' => '<string>', // REQUIRED 'type' => '<string>', // REQUIRED ]);
Parameter Details
Members
- additionalInfo
-
- Type: Associative array of custom strings keys (String128WithoutWhitespace) to stringss
Currently, there is no supported additional information for Application Components.
- appArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. - clientToken
-
- Type: string
Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. You should not reuse the same client token for other API requests.
- id
-
- Type: string
The identifier of the Application Component.
- name
-
- Required: Yes
- Type: string
The name of the Application Component.
- type
-
- Required: Yes
- Type: string
The type of Application Component. For more information about the types of Application Component, see Grouping resources in an AppComponent.
Result Syntax
[ 'appArn' => '<string>', 'appComponent' => [ 'additionalInfo' => [ '<String128WithoutWhitespace>' => ['<string>', ...], // ... ], 'id' => '<string>', 'name' => '<string>', 'type' => '<string>', ], 'appVersion' => '<string>', ]
Result Details
Members
- appArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. - appComponent
-
- Type: AppComponent structure
The list of Application Components that belong to this resource.
- appVersion
-
- Required: Yes
- Type: string
The AWS Resilience Hub application version.
Errors
-
This exception occurs when there is an internal failure in the Resilience Hub service.
-
This exception occurs when the specified resource could not be found.
-
This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
-
ServiceQuotaExceededException:
This exception occurs when you have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.
-
This exception occurs when you have exceeded the limit on the number of requests per second.
-
This exception occurs when a request is not valid.
-
You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
CreateAppVersionResource
$result = $client->createAppVersionResource
([/* ... */]); $promise = $client->createAppVersionResourceAsync
([/* ... */]);
Adds a resource to the Resilience Hub application and assigns it to the specified Application Components. If you specify a new Application Component, Resilience Hub will automatically create the Application Component.
-
This action has no effect outside Resilience Hub.
-
This API updates the Resilience Hub application draft version. To use this resource for running resiliency assessments, you must publish the Resilience Hub application using the
PublishAppVersion
API. -
To update application version with new
physicalResourceID
, you must callResolveAppVersionResources
API.
Parameter Syntax
$result = $client->createAppVersionResource([ 'additionalInfo' => [ '<String128WithoutWhitespace>' => ['<string>', ...], // ... ], 'appArn' => '<string>', // REQUIRED 'appComponents' => ['<string>', ...], // REQUIRED 'awsAccountId' => '<string>', 'awsRegion' => '<string>', 'clientToken' => '<string>', 'logicalResourceId' => [ // REQUIRED 'eksSourceName' => '<string>', 'identifier' => '<string>', // REQUIRED 'logicalStackName' => '<string>', 'resourceGroupName' => '<string>', 'terraformSourceName' => '<string>', ], 'physicalResourceId' => '<string>', // REQUIRED 'resourceName' => '<string>', // REQUIRED 'resourceType' => '<string>', // REQUIRED ]);
Parameter Details
Members
- additionalInfo
-
- Type: Associative array of custom strings keys (String128WithoutWhitespace) to stringss
Currently, there is no supported additional information for resources.
- appArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. - appComponents
-
- Required: Yes
- Type: Array of strings
The list of Application Components that this resource belongs to. If an Application Component is not part of the AWS Resilience Hub application, it will be added.
- awsAccountId
-
- Type: string
The Amazon Web Services account that owns the physical resource.
- awsRegion
-
- Type: string
The Amazon Web Services region that owns the physical resource.
- clientToken
-
- Type: string
Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. You should not reuse the same client token for other API requests.
- logicalResourceId
-
- Required: Yes
- Type: LogicalResourceId structure
The logical identifier of the resource.
- physicalResourceId
-
- Required: Yes
- Type: string
The physical identifier of the resource.
- resourceName
-
- Required: Yes
- Type: string
The name of the resource.
- resourceType
-
- Required: Yes
- Type: string
The type of resource.
Result Syntax
[ 'appArn' => '<string>', 'appVersion' => '<string>', 'physicalResource' => [ 'additionalInfo' => [ '<String128WithoutWhitespace>' => ['<string>', ...], // ... ], 'appComponents' => [ [ 'additionalInfo' => [ '<String128WithoutWhitespace>' => ['<string>', ...], // ... ], 'id' => '<string>', 'name' => '<string>', 'type' => '<string>', ], // ... ], 'excluded' => true || false, 'logicalResourceId' => [ 'eksSourceName' => '<string>', 'identifier' => '<string>', 'logicalStackName' => '<string>', 'resourceGroupName' => '<string>', 'terraformSourceName' => '<string>', ], 'physicalResourceId' => [ 'awsAccountId' => '<string>', 'awsRegion' => '<string>', 'identifier' => '<string>', 'type' => 'Arn|Native', ], 'resourceName' => '<string>', 'resourceType' => '<string>', ], ]
Result Details
Members
- appArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. - appVersion
-
- Required: Yes
- Type: string
The AWS Resilience Hub application version.
- physicalResource
-
- Type: PhysicalResource structure
Defines a physical resource. A physical resource is a resource that exists in your account. It can be identified using an Amazon Resource Name (ARN) or a Resilience Hub-native identifier.
Errors
-
This exception occurs when there is an internal failure in the Resilience Hub service.
-
This exception occurs when the specified resource could not be found.
-
This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
-
ServiceQuotaExceededException:
This exception occurs when you have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.
-
This exception occurs when you have exceeded the limit on the number of requests per second.
-
This exception occurs when a request is not valid.
-
You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
CreateRecommendationTemplate
$result = $client->createRecommendationTemplate
([/* ... */]); $promise = $client->createRecommendationTemplateAsync
([/* ... */]);
Creates a new recommendation template for the Resilience Hub application.
Parameter Syntax
$result = $client->createRecommendationTemplate([ 'assessmentArn' => '<string>', // REQUIRED 'bucketName' => '<string>', 'clientToken' => '<string>', 'format' => 'CfnYaml|CfnJson', 'name' => '<string>', // REQUIRED 'recommendationIds' => ['<string>', ...], 'recommendationTypes' => ['<string>', ...], 'tags' => ['<string>', ...], ]);
Parameter Details
Members
- assessmentArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app-assessment/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. - bucketName
-
- Type: string
The name of the Amazon S3 bucket that will contain the recommendation template.
- clientToken
-
- Type: string
Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. You should not reuse the same client token for other API requests.
- format
-
- Type: string
The format for the recommendation template.
- CfnJson
-
The template is CloudFormation JSON.
- CfnYaml
-
The template is CloudFormation YAML.
- name
-
- Required: Yes
- Type: string
The name for the recommendation template.
- recommendationIds
-
- Type: Array of strings
Identifiers for the recommendations used to create a recommendation template.
- recommendationTypes
-
- Type: Array of strings
An array of strings that specify the recommendation template type or types.
- Alarm
-
The template is an AlarmRecommendation template.
- Sop
-
The template is a SopRecommendation template.
- Test
-
The template is a TestRecommendation template.
- tags
-
- Type: Associative array of custom strings keys (TagKey) to strings
The tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key/value pair.
Result Syntax
[ 'recommendationTemplate' => [ 'appArn' => '<string>', 'assessmentArn' => '<string>', 'endTime' => <DateTime>, 'format' => 'CfnYaml|CfnJson', 'message' => '<string>', 'name' => '<string>', 'needsReplacements' => true || false, 'recommendationIds' => ['<string>', ...], 'recommendationTemplateArn' => '<string>', 'recommendationTypes' => ['<string>', ...], 'startTime' => <DateTime>, 'status' => 'Pending|InProgress|Failed|Success', 'tags' => ['<string>', ...], 'templatesLocation' => [ 'bucket' => '<string>', 'prefix' => '<string>', ], ], ]
Result Details
Members
- recommendationTemplate
-
- Type: RecommendationTemplate structure
The newly created recommendation template, returned as an object. This object includes the template's name, format, status, tags, Amazon S3 bucket location, and more.
Errors
-
This exception occurs when there is an internal failure in the Resilience Hub service.
-
This exception occurs when the specified resource could not be found.
-
This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
-
ServiceQuotaExceededException:
This exception occurs when you have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.
-
This exception occurs when you have exceeded the limit on the number of requests per second.
-
This exception occurs when a request is not valid.
-
You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
CreateResiliencyPolicy
$result = $client->createResiliencyPolicy
([/* ... */]); $promise = $client->createResiliencyPolicyAsync
([/* ... */]);
Creates a resiliency policy for an application.
Parameter Syntax
$result = $client->createResiliencyPolicy([ 'clientToken' => '<string>', 'dataLocationConstraint' => 'AnyLocation|SameContinent|SameCountry', 'policy' => [ // REQUIRED '<DisruptionType>' => [ 'rpoInSecs' => <integer>, // REQUIRED 'rtoInSecs' => <integer>, // REQUIRED ], // ... ], 'policyDescription' => '<string>', 'policyName' => '<string>', // REQUIRED 'tags' => ['<string>', ...], 'tier' => 'MissionCritical|Critical|Important|CoreServices|NonCritical', // REQUIRED ]);
Parameter Details
Members
- clientToken
-
- Type: string
Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. You should not reuse the same client token for other API requests.
- dataLocationConstraint
-
- Type: string
Specifies a high-level geographical location constraint for where your resilience policy data can be stored.
- policy
-
- Required: Yes
- Type: Associative array of custom strings keys (DisruptionType) to FailurePolicy structures
The type of resiliency policy to be created, including the recovery time objective (RTO) and recovery point objective (RPO) in seconds.
- policyDescription
-
- Type: string
The description for the policy.
- policyName
-
- Required: Yes
- Type: string
The name of the policy
- tags
-
- Type: Associative array of custom strings keys (TagKey) to strings
The tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key/value pair.
- tier
-
- Required: Yes
- Type: string
The tier for this resiliency policy, ranging from the highest severity (
MissionCritical
) to lowest (NonCritical
).
Result Syntax
[ 'policy' => [ 'creationTime' => <DateTime>, 'dataLocationConstraint' => 'AnyLocation|SameContinent|SameCountry', 'estimatedCostTier' => 'L1|L2|L3|L4', 'policy' => [ '<DisruptionType>' => [ 'rpoInSecs' => <integer>, 'rtoInSecs' => <integer>, ], // ... ], 'policyArn' => '<string>', 'policyDescription' => '<string>', 'policyName' => '<string>', 'tags' => ['<string>', ...], 'tier' => 'MissionCritical|Critical|Important|CoreServices|NonCritical', ], ]
Result Details
Members
- policy
-
- Required: Yes
- Type: ResiliencyPolicy structure
The type of resiliency policy that was created, including the recovery time objective (RTO) and recovery point objective (RPO) in seconds.
Errors
-
This exception occurs when there is an internal failure in the Resilience Hub service.
-
This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
-
ServiceQuotaExceededException:
This exception occurs when you have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.
-
This exception occurs when you have exceeded the limit on the number of requests per second.
-
This exception occurs when a request is not valid.
-
You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
DeleteApp
$result = $client->deleteApp
([/* ... */]); $promise = $client->deleteAppAsync
([/* ... */]);
Deletes an Resilience Hub application. This is a destructive action that can't be undone.
Parameter Syntax
$result = $client->deleteApp([ 'appArn' => '<string>', // REQUIRED 'clientToken' => '<string>', 'forceDelete' => true || false, ]);
Parameter Details
Members
- appArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. - clientToken
-
- Type: string
Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. You should not reuse the same client token for other API requests.
- forceDelete
-
- Type: boolean
A boolean option to force the deletion of an Resilience Hub application.
Result Syntax
[ 'appArn' => '<string>', ]
Result Details
Members
- appArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
Errors
-
This exception occurs when there is an internal failure in the Resilience Hub service.
-
This exception occurs when the specified resource could not be found.
-
This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
-
This exception occurs when you have exceeded the limit on the number of requests per second.
-
This exception occurs when a request is not valid.
DeleteAppAssessment
$result = $client->deleteAppAssessment
([/* ... */]); $promise = $client->deleteAppAssessmentAsync
([/* ... */]);
Deletes an Resilience Hub application assessment. This is a destructive action that can't be undone.
Parameter Syntax
$result = $client->deleteAppAssessment([ 'assessmentArn' => '<string>', // REQUIRED 'clientToken' => '<string>', ]);
Parameter Details
Members
- assessmentArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app-assessment/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. - clientToken
-
- Type: string
Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. You should not reuse the same client token for other API requests.
Result Syntax
[ 'assessmentArn' => '<string>', 'assessmentStatus' => 'Pending|InProgress|Failed|Success', ]
Result Details
Members
- assessmentArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app-assessment/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. - assessmentStatus
-
- Required: Yes
- Type: string
The current status of the assessment for the resiliency policy.
Errors
-
This exception occurs when there is an internal failure in the Resilience Hub service.
-
This exception occurs when the specified resource could not be found.
-
This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
-
This exception occurs when you have exceeded the limit on the number of requests per second.
-
This exception occurs when a request is not valid.
-
You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
DeleteAppInputSource
$result = $client->deleteAppInputSource
([/* ... */]); $promise = $client->deleteAppInputSourceAsync
([/* ... */]);
Deletes the input source and all of its imported resources from the Resilience Hub application.
Parameter Syntax
$result = $client->deleteAppInputSource([ 'appArn' => '<string>', // REQUIRED 'clientToken' => '<string>', 'eksSourceClusterNamespace' => [ 'eksClusterArn' => '<string>', // REQUIRED 'namespace' => '<string>', // REQUIRED ], 'sourceArn' => '<string>', 'terraformSource' => [ 's3StateFileUrl' => '<string>', // REQUIRED ], ]);
Parameter Details
Members
- appArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. - clientToken
-
- Type: string
Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. You should not reuse the same client token for other API requests.
- eksSourceClusterNamespace
-
- Type: EksSourceClusterNamespace structure
The namespace on your Amazon Elastic Kubernetes Service cluster that you want to delete from the Resilience Hub application.
- sourceArn
-
- Type: string
The Amazon Resource Name (ARN) of the imported resource you want to remove from the Resilience Hub application. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
- terraformSource
-
- Type: TerraformSource structure
The imported Terraform s3 state file you want to remove from the Resilience Hub application.
Result Syntax
[ 'appArn' => '<string>', 'appInputSource' => [ 'eksSourceClusterNamespace' => [ 'eksClusterArn' => '<string>', 'namespace' => '<string>', ], 'importType' => 'CfnStack|Resource|AppRegistryApp|ResourceGroup|Terraform|EKS', 'resourceCount' => <integer>, 'sourceArn' => '<string>', 'sourceName' => '<string>', 'terraformSource' => [ 's3StateFileUrl' => '<string>', ], ], ]
Result Details
Members
- appArn
-
- Type: string
The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. - appInputSource
-
- Type: AppInputSource structure
The name of the input source from where the application resource is imported from.
Errors
-
This exception occurs when there is an internal failure in the Resilience Hub service.
-
This exception occurs when the specified resource could not be found.
-
This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
-
This exception occurs when you have exceeded the limit on the number of requests per second.
-
This exception occurs when a request is not valid.
-
You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
DeleteAppVersionAppComponent
$result = $client->deleteAppVersionAppComponent
([/* ... */]); $promise = $client->deleteAppVersionAppComponentAsync
([/* ... */]);
Deletes an Application Component from the Resilience Hub application.
-
This API updates the Resilience Hub application draft version. To use this Application Component for running assessments, you must publish the Resilience Hub application using the
PublishAppVersion
API. -
You will not be able to delete an Application Component if it has resources associated with it.
Parameter Syntax
$result = $client->deleteAppVersionAppComponent([ 'appArn' => '<string>', // REQUIRED 'clientToken' => '<string>', 'id' => '<string>', // REQUIRED ]);
Parameter Details
Members
- appArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. - clientToken
-
- Type: string
Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. You should not reuse the same client token for other API requests.
- id
-
- Required: Yes
- Type: string
The identifier of the Application Component.
Result Syntax
[ 'appArn' => '<string>', 'appComponent' => [ 'additionalInfo' => [ '<String128WithoutWhitespace>' => ['<string>', ...], // ... ], 'id' => '<string>', 'name' => '<string>', 'type' => '<string>', ], 'appVersion' => '<string>', ]
Result Details
Members
- appArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. - appComponent
-
- Type: AppComponent structure
The list of Application Components that belong to this resource.
- appVersion
-
- Required: Yes
- Type: string
The AWS Resilience Hub application version.
Errors
-
This exception occurs when there is an internal failure in the Resilience Hub service.
-
This exception occurs when the specified resource could not be found.
-
This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
-
This exception occurs when you have exceeded the limit on the number of requests per second.
-
This exception occurs when a request is not valid.
-
You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
DeleteAppVersionResource
$result = $client->deleteAppVersionResource
([/* ... */]); $promise = $client->deleteAppVersionResourceAsync
([/* ... */]);
Deletes a resource from the Resilience Hub application.
-
You can only delete a manually added resource. To exclude non-manually added resources, use the
UpdateAppVersionResource
API. -
This action has no effect outside Resilience Hub.
-
This API updates the Resilience Hub application draft version. To use this resource for running resiliency assessments, you must publish the Resilience Hub application using the
PublishAppVersion
API.
Parameter Syntax
$result = $client->deleteAppVersionResource([ 'appArn' => '<string>', // REQUIRED 'awsAccountId' => '<string>', 'awsRegion' => '<string>', 'clientToken' => '<string>', 'logicalResourceId' => [ 'eksSourceName' => '<string>', 'identifier' => '<string>', // REQUIRED 'logicalStackName' => '<string>', 'resourceGroupName' => '<string>', 'terraformSourceName' => '<string>', ], 'physicalResourceId' => '<string>', 'resourceName' => '<string>', ]);
Parameter Details
Members
- appArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. - awsAccountId
-
- Type: string
The Amazon Web Services account that owns the physical resource.
- awsRegion
-
- Type: string
The Amazon Web Services region that owns the physical resource.
- clientToken
-
- Type: string
Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. You should not reuse the same client token for other API requests.
- logicalResourceId
-
- Type: LogicalResourceId structure
The logical identifier of the resource.
- physicalResourceId
-
- Type: string
The physical identifier of the resource.
- resourceName
-
- Type: string
The name of the resource.
Result Syntax
[ 'appArn' => '<string>', 'appVersion' => '<string>', 'physicalResource' => [ 'additionalInfo' => [ '<String128WithoutWhitespace>' => ['<string>', ...], // ... ], 'appComponents' => [ [ 'additionalInfo' => [ '<String128WithoutWhitespace>' => ['<string>', ...], // ... ], 'id' => '<string>', 'name' => '<string>', 'type' => '<string>', ], // ... ], 'excluded' => true || false, 'logicalResourceId' => [ 'eksSourceName' => '<string>', 'identifier' => '<string>', 'logicalStackName' => '<string>', 'resourceGroupName' => '<string>', 'terraformSourceName' => '<string>', ], 'physicalResourceId' => [ 'awsAccountId' => '<string>', 'awsRegion' => '<string>', 'identifier' => '<string>', 'type' => 'Arn|Native', ], 'resourceName' => '<string>', 'resourceType' => '<string>', ], ]
Result Details
Members
- appArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. - appVersion
-
- Required: Yes
- Type: string
The AWS Resilience Hub application version.
- physicalResource
-
- Type: PhysicalResource structure
Defines a physical resource. A physical resource is a resource that exists in your account. It can be identified using an Amazon Resource Name (ARN) or a Resilience Hub-native identifier.
Errors
-
This exception occurs when there is an internal failure in the Resilience Hub service.
-
This exception occurs when the specified resource could not be found.
-
This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
-
This exception occurs when you have exceeded the limit on the number of requests per second.
-
This exception occurs when a request is not valid.
-
You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
DeleteRecommendationTemplate
$result = $client->deleteRecommendationTemplate
([/* ... */]); $promise = $client->deleteRecommendationTemplateAsync
([/* ... */]);
Deletes a recommendation template. This is a destructive action that can't be undone.
Parameter Syntax
$result = $client->deleteRecommendationTemplate([ 'clientToken' => '<string>', 'recommendationTemplateArn' => '<string>', // REQUIRED ]);
Parameter Details
Members
- clientToken
-
- Type: string
Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. You should not reuse the same client token for other API requests.
- recommendationTemplateArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) for a recommendation template.
Result Syntax
[ 'recommendationTemplateArn' => '<string>', 'status' => 'Pending|InProgress|Failed|Success', ]
Result Details
Members
Errors
-
This exception occurs when there is an internal failure in the Resilience Hub service.
-
This exception occurs when the specified resource could not be found.
-
This exception occurs when you have exceeded the limit on the number of requests per second.
-
This exception occurs when a request is not valid.
-
You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
DeleteResiliencyPolicy
$result = $client->deleteResiliencyPolicy
([/* ... */]); $promise = $client->deleteResiliencyPolicyAsync
([/* ... */]);
Deletes a resiliency policy. This is a destructive action that can't be undone.
Parameter Syntax
$result = $client->deleteResiliencyPolicy([ 'clientToken' => '<string>', 'policyArn' => '<string>', // REQUIRED ]);
Parameter Details
Members
- clientToken
-
- Type: string
Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. You should not reuse the same client token for other API requests.
- policyArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the resiliency policy. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:resiliency-policy/policy-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
Result Syntax
[ 'policyArn' => '<string>', ]
Result Details
Members
- policyArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the resiliency policy. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:resiliency-policy/policy-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
Errors
-
This exception occurs when there is an internal failure in the Resilience Hub service.
-
This exception occurs when the specified resource could not be found.
-
This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
-
This exception occurs when you have exceeded the limit on the number of requests per second.
-
This exception occurs when a request is not valid.
-
You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
DescribeApp
$result = $client->describeApp
([/* ... */]); $promise = $client->describeAppAsync
([/* ... */]);
Describes an Resilience Hub application.
Parameter Syntax
$result = $client->describeApp([ 'appArn' => '<string>', // REQUIRED ]);
Parameter Details
Members
- appArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
Result Syntax
[ 'app' => [ 'appArn' => '<string>', 'assessmentSchedule' => 'Disabled|Daily', 'complianceStatus' => 'PolicyBreached|PolicyMet|NotAssessed|ChangesDetected', 'creationTime' => <DateTime>, 'description' => '<string>', 'lastAppComplianceEvaluationTime' => <DateTime>, 'lastResiliencyScoreEvaluationTime' => <DateTime>, 'name' => '<string>', 'policyArn' => '<string>', 'resiliencyScore' => <float>, 'status' => 'Active|Deleting', 'tags' => ['<string>', ...], ], ]
Result Details
Members
- app
-
- Required: Yes
- Type: App structure
The specified application, returned as an object with details including compliance status, creation time, description, resiliency score, and more.
Errors
-
This exception occurs when there is an internal failure in the Resilience Hub service.
-
This exception occurs when the specified resource could not be found.
-
This exception occurs when you have exceeded the limit on the number of requests per second.
-
This exception occurs when a request is not valid.
-
You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
DescribeAppAssessment
$result = $client->describeAppAssessment
([/* ... */]); $promise = $client->describeAppAssessmentAsync
([/* ... */]);
Describes an assessment for an Resilience Hub application.
Parameter Syntax
$result = $client->describeAppAssessment([ 'assessmentArn' => '<string>', // REQUIRED ]);
Parameter Details
Members
- assessmentArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app-assessment/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
Result Syntax
[ 'assessment' => [ 'appArn' => '<string>', 'appVersion' => '<string>', 'assessmentArn' => '<string>', 'assessmentName' => '<string>', 'assessmentStatus' => 'Pending|InProgress|Failed|Success', 'compliance' => [ '<DisruptionType>' => [ 'achievableRpoInSecs' => <integer>, 'achievableRtoInSecs' => <integer>, 'complianceStatus' => 'PolicyBreached|PolicyMet', 'currentRpoInSecs' => <integer>, 'currentRtoInSecs' => <integer>, 'message' => '<string>', 'rpoDescription' => '<string>', 'rpoReferenceId' => '<string>', 'rtoDescription' => '<string>', 'rtoReferenceId' => '<string>', ], // ... ], 'complianceStatus' => 'PolicyBreached|PolicyMet', 'cost' => [ 'amount' => <float>, 'currency' => '<string>', 'frequency' => 'Hourly|Daily|Monthly|Yearly', ], 'endTime' => <DateTime>, 'invoker' => 'User|System', 'message' => '<string>', 'policy' => [ 'creationTime' => <DateTime>, 'dataLocationConstraint' => 'AnyLocation|SameContinent|SameCountry', 'estimatedCostTier' => 'L1|L2|L3|L4', 'policy' => [ '<DisruptionType>' => [ 'rpoInSecs' => <integer>, 'rtoInSecs' => <integer>, ], // ... ], 'policyArn' => '<string>', 'policyDescription' => '<string>', 'policyName' => '<string>', 'tags' => ['<string>', ...], 'tier' => 'MissionCritical|Critical|Important|CoreServices|NonCritical', ], 'resiliencyScore' => [ 'disruptionScore' => [<float>, ...], 'score' => <float>, ], 'resourceErrorsDetails' => [ 'hasMoreErrors' => true || false, 'resourceErrors' => [ [ 'logicalResourceId' => '<string>', 'physicalResourceId' => '<string>', 'reason' => '<string>', ], // ... ], ], 'startTime' => <DateTime>, 'tags' => ['<string>', ...], ], ]
Result Details
Members
- assessment
-
- Required: Yes
- Type: AppAssessment structure
The assessment for an Resilience Hub application, returned as an object. This object includes Amazon Resource Names (ARNs), compliance information, compliance status, cost, messages, resiliency scores, and more.
Errors
-
This exception occurs when there is an internal failure in the Resilience Hub service.
-
This exception occurs when the specified resource could not be found.
-
This exception occurs when you have exceeded the limit on the number of requests per second.
-
This exception occurs when a request is not valid.
-
You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
DescribeAppVersion
$result = $client->describeAppVersion
([/* ... */]); $promise = $client->describeAppVersionAsync
([/* ... */]);
Describes the Resilience Hub application version.
Parameter Syntax
$result = $client->describeAppVersion([ 'appArn' => '<string>', // REQUIRED 'appVersion' => '<string>', // REQUIRED ]);
Parameter Details
Members
- appArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. - appVersion
-
- Required: Yes
- Type: string
The AWS Resilience Hub application version.
Result Syntax
[ 'additionalInfo' => [ '<String128WithoutWhitespace>' => ['<string>', ...], // ... ], 'appArn' => '<string>', 'appVersion' => '<string>', ]
Result Details
Members
- additionalInfo
-
- Type: Associative array of custom strings keys (String128WithoutWhitespace) to stringss
Additional configuration parameters for an AWS Resilience Hub application.
Currently, this parameter supports only failover region and account.
- appArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. - appVersion
-
- Required: Yes
- Type: string
The AWS Resilience Hub application version.
Errors
-
This exception occurs when there is an internal failure in the Resilience Hub service.
-
This exception occurs when the specified resource could not be found.
-
This exception occurs when you have exceeded the limit on the number of requests per second.
-
This exception occurs when a request is not valid.
-
You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
DescribeAppVersionAppComponent
$result = $client->describeAppVersionAppComponent
([/* ... */]); $promise = $client->describeAppVersionAppComponentAsync
([/* ... */]);
Describes an Application Component in the Resilience Hub application.
Parameter Syntax
$result = $client->describeAppVersionAppComponent([ 'appArn' => '<string>', // REQUIRED 'appVersion' => '<string>', // REQUIRED 'id' => '<string>', // REQUIRED ]);
Parameter Details
Members
- appArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. - appVersion
-
- Required: Yes
- Type: string
The AWS Resilience Hub application version.
- id
-
- Required: Yes
- Type: string
The identifier of the Application Component.
Result Syntax
[ 'appArn' => '<string>', 'appComponent' => [ 'additionalInfo' => [ '<String128WithoutWhitespace>' => ['<string>', ...], // ... ], 'id' => '<string>', 'name' => '<string>', 'type' => '<string>', ], 'appVersion' => '<string>', ]
Result Details
Members
- appArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. - appComponent
-
- Type: AppComponent structure
The list of Application Components that belong to this resource.
- appVersion
-
- Required: Yes
- Type: string
The AWS Resilience Hub application version.
Errors
-
This exception occurs when there is an internal failure in the Resilience Hub service.
-
This exception occurs when the specified resource could not be found.
-
This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
-
This exception occurs when you have exceeded the limit on the number of requests per second.
-
This exception occurs when a request is not valid.
-
You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
DescribeAppVersionResource
$result = $client->describeAppVersionResource
([/* ... */]); $promise = $client->describeAppVersionResourceAsync
([/* ... */]);
Describes a resource of the Resilience Hub application.
This API accepts only one of the following parameters to descibe the resource:
-
resourceName
-
logicalResourceId
-
physicalResourceId
(Along withphysicalResourceId
, you can also provideawsAccountId
, andawsRegion
)
Parameter Syntax
$result = $client->describeAppVersionResource([ 'appArn' => '<string>', // REQUIRED 'appVersion' => '<string>', // REQUIRED 'awsAccountId' => '<string>', 'awsRegion' => '<string>', 'logicalResourceId' => [ 'eksSourceName' => '<string>', 'identifier' => '<string>', // REQUIRED 'logicalStackName' => '<string>', 'resourceGroupName' => '<string>', 'terraformSourceName' => '<string>', ], 'physicalResourceId' => '<string>', 'resourceName' => '<string>', ]);
Parameter Details
Members
- appArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. - appVersion
-
- Required: Yes
- Type: string
The AWS Resilience Hub application version.
- awsAccountId
-
- Type: string
The Amazon Web Services account that owns the physical resource.
- awsRegion
-
- Type: string
The Amazon Web Services region that owns the physical resource.
- logicalResourceId
-
- Type: LogicalResourceId structure
The logical identifier of the resource.
- physicalResourceId
-
- Type: string
The physical identifier of the resource.
- resourceName
-
- Type: string
The name of the resource.
Result Syntax
[ 'appArn' => '<string>', 'appVersion' => '<string>', 'physicalResource' => [ 'additionalInfo' => [ '<String128WithoutWhitespace>' => ['<string>', ...], // ... ], 'appComponents' => [ [ 'additionalInfo' => [ '<String128WithoutWhitespace>' => ['<string>', ...], // ... ], 'id' => '<string>', 'name' => '<string>', 'type' => '<string>', ], // ... ], 'excluded' => true || false, 'logicalResourceId' => [ 'eksSourceName' => '<string>', 'identifier' => '<string>', 'logicalStackName' => '<string>', 'resourceGroupName' => '<string>', 'terraformSourceName' => '<string>', ], 'physicalResourceId' => [ 'awsAccountId' => '<string>', 'awsRegion' => '<string>', 'identifier' => '<string>', 'type' => 'Arn|Native', ], 'resourceName' => '<string>', 'resourceType' => '<string>', ], ]
Result Details
Members
- appArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. - appVersion
-
- Required: Yes
- Type: string
The AWS Resilience Hub application version.
- physicalResource
-
- Type: PhysicalResource structure
Defines a physical resource. A physical resource is a resource that exists in your account. It can be identified using an Amazon Resource Name (ARN) or a Resilience Hub-native identifier.
Errors
-
This exception occurs when there is an internal failure in the Resilience Hub service.
-
This exception occurs when the specified resource could not be found.
-
This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
-
This exception occurs when you have exceeded the limit on the number of requests per second.
-
This exception occurs when a request is not valid.
-
You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
DescribeAppVersionResourcesResolutionStatus
$result = $client->describeAppVersionResourcesResolutionStatus
([/* ... */]); $promise = $client->describeAppVersionResourcesResolutionStatusAsync
([/* ... */]);
Returns the resolution status for the specified resolution identifier for an application version. If resolutionId
is not specified, the current resolution status is returned.
Parameter Syntax
$result = $client->describeAppVersionResourcesResolutionStatus([ 'appArn' => '<string>', // REQUIRED 'appVersion' => '<string>', // REQUIRED 'resolutionId' => '<string>', ]);
Parameter Details
Members
- appArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. - appVersion
-
- Required: Yes
- Type: string
The version of the application.
- resolutionId
-
- Type: string
The identifier for a specific resolution.
Result Syntax
[ 'appArn' => '<string>', 'appVersion' => '<string>', 'errorMessage' => '<string>', 'resolutionId' => '<string>', 'status' => 'Pending|InProgress|Failed|Success', ]
Result Details
Members
- appArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. - appVersion
-
- Required: Yes
- Type: string
The version of the application.
- errorMessage
-
- Type: string
The returned error message for the request.
- resolutionId
-
- Required: Yes
- Type: string
The identifier for a specific resolution.
- status
-
- Required: Yes
- Type: string
The status of the action.
Errors
-
This exception occurs when there is an internal failure in the Resilience Hub service.
-
This exception occurs when the specified resource could not be found.
-
This exception occurs when you have exceeded the limit on the number of requests per second.
-
This exception occurs when a request is not valid.
-
You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
DescribeAppVersionTemplate
$result = $client->describeAppVersionTemplate
([/* ... */]); $promise = $client->describeAppVersionTemplateAsync
([/* ... */]);
Describes details about an Resilience Hub application.
Parameter Syntax
$result = $client->describeAppVersionTemplate([ 'appArn' => '<string>', // REQUIRED 'appVersion' => '<string>', // REQUIRED ]);
Parameter Details
Members
- appArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. - appVersion
-
- Required: Yes
- Type: string
The version of the application.
Result Syntax
[ 'appArn' => '<string>', 'appTemplateBody' => '<string>', 'appVersion' => '<string>', ]
Result Details
Members
- appArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. - appTemplateBody
-
- Required: Yes
- Type: string
A JSON string that provides information about your application structure. To learn more about the
appTemplateBody
template, see the sample template provided in the Examples section.The
appTemplateBody
JSON string has the following structure:-
resources
The list of logical resources that needs to be included in the Resilience Hub application.
Type: Array
Don't add the resources that you want to exclude.
Each
resources
array item includes the following fields:-
logicalResourceId
The logical identifier of the resource.
Type: Object
Each
logicalResourceId
object includes the following fields:-
identifier
The identifier of the resource.
Type: String
-
logicalStackName
The name of the CloudFormation stack this resource belongs to.
Type: String
-
resourceGroupName
The name of the resource group this resource belongs to.
Type: String
-
terraformSourceName
The name of the Terraform S3 state file this resource belongs to.
Type: String
-
-
type
The type of resource.
Type: string
-
name
The name of the resource.
Type: String
-
additionalInfo
Additional configuration parameters for an AWS Resilience Hub application.
Currently, this parameter accepts a key-value mapping (in a string format) of only one failover region and one associated account.
Key:
"failover-regions"
Value:
"[{"region":"<REGION>", "accounts":[{"id":"<ACCOUNT_ID>"}]}]"
-
-
appComponents
The list of Application Components that this resource belongs to. If an Application Component is not part of the AWS Resilience Hub application, it will be added.
Type: Array
Each
appComponents
array item includes the following fields:-
name
The name of the Application Component.
Type: String
-
type
The type of Application Component. For more information about the types of Application Component, see Grouping resources in an AppComponent.
Type: String
-
resourceNames
The list of included resources that are assigned to the Application Component.
Type: Array of strings
-
additionalInfo
Additional configuration parameters for an AWS Resilience Hub application.
Currently, this parameter accepts a key-value mapping (in a string format) of only one failover region and one associated account.
Key:
"failover-regions"
Value:
"[{"region":"<REGION>", "accounts":[{"id":"<ACCOUNT_ID>"}]}]"
-
-
excludedResources
The list of logical resource identifiers to be excluded from the application.
Type: Array
Don't add the resources that you want to include.
Each
excludedResources
array item includes the following fields:-
logicalResourceIds
The logical identifier of the resource.
Type: Object
You can configure only one of the following fields:
-
logicalStackName
-
resourceGroupName
-
terraformSourceName
Each
logicalResourceIds
object includes the following fields:-
identifier
The identifier of the resource.
Type: String
-
logicalStackName
The name of the CloudFormation stack this resource belongs to.
Type: String
-
resourceGroupName
The name of the resource group this resource belongs to.
Type: String
-
terraformSourceName
The name of the Terraform S3 state file this resource belongs to.
Type: String
-
-
-
version
The AWS Resilience Hub application version.
-
additionalInfo
Additional configuration parameters for an AWS Resilience Hub application.
Currently, this parameter accepts a key-value mapping (in a string format) of only one failover region and one associated account.
Key:
"failover-regions"
Value:
"[{"region":"<REGION>", "accounts":[{"id":"<ACCOUNT_ID>"}]}]"
- appVersion
-
- Required: Yes
- Type: string
The version of the application.
Errors
-
This exception occurs when there is an internal failure in the Resilience Hub service.
-
This exception occurs when the specified resource could not be found.
-
This exception occurs when you have exceeded the limit on the number of requests per second.
-
This exception occurs when a request is not valid.
-
You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
DescribeDraftAppVersionResourcesImportStatus
$result = $client->describeDraftAppVersionResourcesImportStatus
([/* ... */]); $promise = $client->describeDraftAppVersionResourcesImportStatusAsync
([/* ... */]);
Describes the status of importing resources to an application version.
If you get a 404 error with ResourceImportStatusNotFoundAppMetadataException
, you must call importResourcesToDraftAppVersion
after creating the application and before calling describeDraftAppVersionResourcesImportStatus
to obtain the status.
Parameter Syntax
$result = $client->describeDraftAppVersionResourcesImportStatus([ 'appArn' => '<string>', // REQUIRED ]);
Parameter Details
Members
- appArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
Result Syntax
[ 'appArn' => '<string>', 'appVersion' => '<string>', 'errorMessage' => '<string>', 'status' => 'Pending|InProgress|Failed|Success', 'statusChangeTime' => <DateTime>, ]
Result Details
Members
- appArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. - appVersion
-
- Required: Yes
- Type: string
The version of the application.
- errorMessage
-
- Type: string
The returned error message for the request.
- status
-
- Required: Yes
- Type: string
The status of the action.
- statusChangeTime
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp for when the status last changed.
Errors
-
This exception occurs when there is an internal failure in the Resilience Hub service.
-
This exception occurs when the specified resource could not be found.
-
This exception occurs when you have exceeded the limit on the number of requests per second.
-
This exception occurs when a request is not valid.
-
You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
DescribeResiliencyPolicy
$result = $client->describeResiliencyPolicy
([/* ... */]); $promise = $client->describeResiliencyPolicyAsync
([/* ... */]);
Describes a specified resiliency policy for an Resilience Hub application. The returned policy object includes creation time, data location constraints, the Amazon Resource Name (ARN) for the policy, tags, tier, and more.
Parameter Syntax
$result = $client->describeResiliencyPolicy([ 'policyArn' => '<string>', // REQUIRED ]);
Parameter Details
Members
- policyArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the resiliency policy. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:resiliency-policy/policy-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
Result Syntax
[ 'policy' => [ 'creationTime' => <DateTime>, 'dataLocationConstraint' => 'AnyLocation|SameContinent|SameCountry', 'estimatedCostTier' => 'L1|L2|L3|L4', 'policy' => [ '<DisruptionType>' => [ 'rpoInSecs' => <integer>, 'rtoInSecs' => <integer>, ], // ... ], 'policyArn' => '<string>', 'policyDescription' => '<string>', 'policyName' => '<string>', 'tags' => ['<string>', ...], 'tier' => 'MissionCritical|Critical|Important|CoreServices|NonCritical', ], ]
Result Details
Members
- policy
-
- Required: Yes
- Type: ResiliencyPolicy structure
Information about the specific resiliency policy, returned as an object. This object includes creation time, data location constraints, its name, description, tags, the recovery time objective (RTO) and recovery point objective (RPO) in seconds, and more.
Errors
-
This exception occurs when there is an internal failure in the Resilience Hub service.
-
This exception occurs when the specified resource could not be found.
-
This exception occurs when you have exceeded the limit on the number of requests per second.
-
This exception occurs when a request is not valid.
-
You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
ImportResourcesToDraftAppVersion
$result = $client->importResourcesToDraftAppVersion
([/* ... */]); $promise = $client->importResourcesToDraftAppVersionAsync
([/* ... */]);
Imports resources to Resilience Hub application draft version from different input sources. For more information about the input sources supported by Resilience Hub, see Discover the structure and describe your Resilience Hub application.
Parameter Syntax
$result = $client->importResourcesToDraftAppVersion([ 'appArn' => '<string>', // REQUIRED 'eksSources' => [ [ 'eksClusterArn' => '<string>', // REQUIRED 'namespaces' => ['<string>', ...], // REQUIRED ], // ... ], 'importStrategy' => 'AddOnly|ReplaceAll', 'sourceArns' => ['<string>', ...], 'terraformSources' => [ [ 's3StateFileUrl' => '<string>', // REQUIRED ], // ... ], ]);
Parameter Details
Members
- appArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. - eksSources
-
- Type: Array of EksSource structures
The input sources of the Amazon Elastic Kubernetes Service resources you need to import.
- importStrategy
-
- Type: string
The import strategy you would like to set to import resources into Resilience Hub application.
- sourceArns
-
- Type: Array of strings
The Amazon Resource Names (ARNs) for the resources.
- terraformSources
-
- Type: Array of TerraformSource structures
A list of terraform file s3 URLs you need to import.
Result Syntax
[ 'appArn' => '<string>', 'appVersion' => '<string>', 'eksSources' => [ [ 'eksClusterArn' => '<string>', 'namespaces' => ['<string>', ...], ], // ... ], 'sourceArns' => ['<string>', ...], 'status' => 'Pending|InProgress|Failed|Success', 'terraformSources' => [ [ 's3StateFileUrl' => '<string>', ], // ... ], ]
Result Details
Members
- appArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. - appVersion
-
- Required: Yes
- Type: string
The version of the application.
- eksSources
-
- Type: Array of EksSource structures
The input sources of the Amazon Elastic Kubernetes Service resources you have imported.
- sourceArns
-
- Type: Array of strings
The Amazon Resource Names (ARNs) for the resources you have imported.
- status
-
- Required: Yes
- Type: string
The status of the action.
- terraformSources
-
- Type: Array of TerraformSource structures
A list of terraform file s3 URLs you have imported.
Errors
-
This exception occurs when there is an internal failure in the Resilience Hub service.
-
This exception occurs when the specified resource could not be found.
-
This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
-
This exception occurs when you have exceeded the limit on the number of requests per second.
-
This exception occurs when a request is not valid.
-
You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
ListAlarmRecommendations
$result = $client->listAlarmRecommendations
([/* ... */]); $promise = $client->listAlarmRecommendationsAsync
([/* ... */]);
Lists the alarm recommendations for an Resilience Hub application.
Parameter Syntax
$result = $client->listAlarmRecommendations([ 'assessmentArn' => '<string>', // REQUIRED 'maxResults' => <integer>, 'nextToken' => '<string>', ]);
Parameter Details
Members
- assessmentArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app-assessment/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. - maxResults
-
- Type: int
The maximum number of results to include in the response. If more results exist than the specified
MaxResults
value, a token is included in the response so that the remaining results can be retrieved. - nextToken
-
- Type: string
Null, or the token from a previous call to get the next set of results.
Result Syntax
[ 'alarmRecommendations' => [ [ 'appComponentName' => '<string>', 'description' => '<string>', 'items' => [ [ 'alreadyImplemented' => true || false, 'resourceId' => '<string>', 'targetAccountId' => '<string>', 'targetRegion' => '<string>', ], // ... ], 'name' => '<string>', 'prerequisite' => '<string>', 'recommendationId' => '<string>', 'referenceId' => '<string>', 'type' => 'Metric|Composite|Canary|Logs|Event', ], // ... ], 'nextToken' => '<string>', ]
Result Details
Members
- alarmRecommendations
-
- Required: Yes
- Type: Array of AlarmRecommendation structures
The alarm recommendations for an Resilience Hub application, returned as an object. This object includes Application Component names, descriptions, information about whether a recommendation has already been implemented or not, prerequisites, and more.
- nextToken
-
- Type: string
The token for the next set of results, or null if there are no more results.
Errors
-
This exception occurs when there is an internal failure in the Resilience Hub service.
-
This exception occurs when the specified resource could not be found.
-
This exception occurs when you have exceeded the limit on the number of requests per second.
-
This exception occurs when a request is not valid.
-
You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
ListAppAssessments
$result = $client->listAppAssessments
([/* ... */]); $promise = $client->listAppAssessmentsAsync
([/* ... */]);
Lists the assessments for an Resilience Hub application. You can use request parameters to refine the results for the response object.
Parameter Syntax
$result = $client->listAppAssessments([ 'appArn' => '<string>', 'assessmentName' => '<string>', 'assessmentStatus' => ['<string>', ...], 'complianceStatus' => 'PolicyBreached|PolicyMet', 'invoker' => 'User|System', 'maxResults' => <integer>, 'nextToken' => '<string>', 'reverseOrder' => true || false, ]);
Parameter Details
Members
- appArn
-
- Type: string
The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. - assessmentName
-
- Type: string
The name for the assessment.
- assessmentStatus
-
- Type: Array of strings
The current status of the assessment for the resiliency policy.
- complianceStatus
-
- Type: string
The current status of compliance for the resiliency policy.
- invoker
-
- Type: string
Specifies the entity that invoked a specific assessment, either a
User
or theSystem
. - maxResults
-
- Type: int
The maximum number of results to include in the response. If more results exist than the specified
MaxResults
value, a token is included in the response so that the remaining results can be retrieved. - nextToken
-
- Type: string
Null, or the token from a previous call to get the next set of results.
- reverseOrder
-
- Type: boolean
The default is to sort by ascending startTime. To sort by descending startTime, set reverseOrder to
true
.
Result Syntax
[ 'assessmentSummaries' => [ [ 'appArn' => '<string>', 'appVersion' => '<string>', 'assessmentArn' => '<string>', 'assessmentName' => '<string>', 'assessmentStatus' => 'Pending|InProgress|Failed|Success', 'complianceStatus' => 'PolicyBreached|PolicyMet', 'cost' => [ 'amount' => <float>, 'currency' => '<string>', 'frequency' => 'Hourly|Daily|Monthly|Yearly', ], 'endTime' => <DateTime>, 'invoker' => 'User|System', 'message' => '<string>', 'resiliencyScore' => <float>, 'startTime' => <DateTime>, ], // ... ], 'nextToken' => '<string>', ]
Result Details
Members
- assessmentSummaries
-
- Required: Yes
- Type: Array of AppAssessmentSummary structures
The summaries for the specified assessments, returned as an object. This object includes application versions, associated Amazon Resource Numbers (ARNs), cost, messages, resiliency scores, and more.
- nextToken
-
- Type: string
The token for the next set of results, or null if there are no more results.
Errors
-
This exception occurs when there is an internal failure in the Resilience Hub service.
-
This exception occurs when the specified resource could not be found.
-
This exception occurs when you have exceeded the limit on the number of requests per second.
-
This exception occurs when a request is not valid.
-
You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
ListAppComponentCompliances
$result = $client->listAppComponentCompliances
([/* ... */]); $promise = $client->listAppComponentCompliancesAsync
([/* ... */]);
Lists the compliances for an Resilience Hub Application Component.
Parameter Syntax
$result = $client->listAppComponentCompliances([ 'assessmentArn' => '<string>', // REQUIRED 'maxResults' => <integer>, 'nextToken' => '<string>', ]);
Parameter Details
Members
- assessmentArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app-assessment/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. - maxResults
-
- Type: int
The maximum number of results to include in the response. If more results exist than the specified
MaxResults
value, a token is included in the response so that the remaining results can be retrieved. - nextToken
-
- Type: string
Null, or the token from a previous call to get the next set of results.
Result Syntax
[ 'componentCompliances' => [ [ 'appComponentName' => '<string>', 'compliance' => [ '<DisruptionType>' => [ 'achievableRpoInSecs' => <integer>, 'achievableRtoInSecs' => <integer>, 'complianceStatus' => 'PolicyBreached|PolicyMet', 'currentRpoInSecs' => <integer>, 'currentRtoInSecs' => <integer>, 'message' => '<string>', 'rpoDescription' => '<string>', 'rpoReferenceId' => '<string>', 'rtoDescription' => '<string>', 'rtoReferenceId' => '<string>', ], // ... ], 'cost' => [ 'amount' => <float>, 'currency' => '<string>', 'frequency' => 'Hourly|Daily|Monthly|Yearly', ], 'message' => '<string>', 'resiliencyScore' => [ 'disruptionScore' => [<float>, ...], 'score' => <float>, ], 'status' => 'PolicyBreached|PolicyMet', ], // ... ], 'nextToken' => '<string>', ]
Result Details
Members
- componentCompliances
-
- Required: Yes
- Type: Array of AppComponentCompliance structures
The compliances for an Resilience Hub Application Component, returned as an object. This object contains the names of the Application Components, compliances, costs, resiliency scores, outage scores, and more.
- nextToken
-
- Type: string
The token for the next set of results, or null if there are no more results.
Errors
-
This exception occurs when there is an internal failure in the Resilience Hub service.
-
This exception occurs when the specified resource could not be found.
-
This exception occurs when you have exceeded the limit on the number of requests per second.
-
This exception occurs when a request is not valid.
-
You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
ListAppComponentRecommendations
$result = $client->listAppComponentRecommendations
([/* ... */]); $promise = $client->listAppComponentRecommendationsAsync
([/* ... */]);
Lists the recommendations for an Resilience Hub Application Component.
Parameter Syntax
$result = $client->listAppComponentRecommendations([ 'assessmentArn' => '<string>', // REQUIRED 'maxResults' => <integer>, 'nextToken' => '<string>', ]);
Parameter Details
Members
- assessmentArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app-assessment/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. - maxResults
-
- Type: int
The maximum number of results to include in the response. If more results exist than the specified
MaxResults
value, a token is included in the response so that the remaining results can be retrieved. - nextToken
-
- Type: string
Null, or the token from a previous call to get the next set of results.
Result Syntax
[ 'componentRecommendations' => [ [ 'appComponentName' => '<string>', 'configRecommendations' => [ [ 'appComponentName' => '<string>', 'compliance' => [ '<DisruptionType>' => [ 'achievableRpoInSecs' => <integer>, 'achievableRtoInSecs' => <integer>, 'complianceStatus' => 'PolicyBreached|PolicyMet', 'currentRpoInSecs' => <integer>, 'currentRtoInSecs' => <integer>, 'message' => '<string>', 'rpoDescription' => '<string>', 'rpoReferenceId' => '<string>', 'rtoDescription' => '<string>', 'rtoReferenceId' => '<string>', ], // ... ], 'cost' => [ 'amount' => <float>, 'currency' => '<string>', 'frequency' => 'Hourly|Daily|Monthly|Yearly', ], 'description' => '<string>', 'haArchitecture' => 'MultiSite|WarmStandby|PilotLight|BackupAndRestore|NoRecoveryPlan', 'name' => '<string>', 'optimizationType' => 'LeastCost|LeastChange|BestAZRecovery|LeastErrors|BestAttainable|BestRegionRecovery', 'recommendationCompliance' => [ '<DisruptionType>' => [ 'expectedComplianceStatus' => 'PolicyBreached|PolicyMet', 'expectedRpoDescription' => '<string>', 'expectedRpoInSecs' => <integer>, 'expectedRtoDescription' => '<string>', 'expectedRtoInSecs' => <integer>, ], // ... ], 'referenceId' => '<string>', 'suggestedChanges' => ['<string>', ...], ], // ... ], 'recommendationStatus' => 'BreachedUnattainable|BreachedCanMeet|MetCanImprove', ], // ... ], 'nextToken' => '<string>', ]
Result Details
Members
- componentRecommendations
-
- Required: Yes
- Type: Array of ComponentRecommendation structures
The recommendations for an Resilience Hub Application Component, returned as an object. This object contains the names of the Application Components, configuration recommendations, and recommendation statuses.
- nextToken
-
- Type: string
The token for the next set of results, or null if there are no more results.
Errors
-
This exception occurs when there is an internal failure in the Resilience Hub service.
-
This exception occurs when the specified resource could not be found.
-
This exception occurs when you have exceeded the limit on the number of requests per second.
-
This exception occurs when a request is not valid.
-
You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
ListAppInputSources
$result = $client->listAppInputSources
([/* ... */]); $promise = $client->listAppInputSourcesAsync
([/* ... */]);
Lists all the input sources of the Resilience Hub application. For more information about the input sources supported by Resilience Hub, see Discover the structure and describe your Resilience Hub application.
Parameter Syntax
$result = $client->listAppInputSources([ 'appArn' => '<string>', // REQUIRED 'appVersion' => '<string>', // REQUIRED 'maxResults' => <integer>, 'nextToken' => '<string>', ]);
Parameter Details
Members
- appArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. - appVersion
-
- Required: Yes
- Type: string
The AWS Resilience Hub application version.
- maxResults
-
- Type: int
Maximum number of input sources to be displayed per Resilience Hub application.
- nextToken
-
- Type: string
Null, or the token from a previous call to get the next set of results.
Result Syntax
[ 'appInputSources' => [ [ 'eksSourceClusterNamespace' => [ 'eksClusterArn' => '<string>', 'namespace' => '<string>', ], 'importType' => 'CfnStack|Resource|AppRegistryApp|ResourceGroup|Terraform|EKS', 'resourceCount' => <integer>, 'sourceArn' => '<string>', 'sourceName' => '<string>', 'terraformSource' => [ 's3StateFileUrl' => '<string>', ], ], // ... ], 'nextToken' => '<string>', ]
Result Details
Members
- appInputSources
-
- Required: Yes
- Type: Array of AppInputSource structures
The list of Resilience Hub application input sources.
- nextToken
-
- Type: string
The token for the next set of results, or null if there are no more results.
Errors
-
This exception occurs when there is an internal failure in the Resilience Hub service.
-
This exception occurs when the specified resource could not be found.
-
This exception occurs when you have exceeded the limit on the number of requests per second.
-
This exception occurs when a request is not valid.
-
You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
ListAppVersionAppComponents
$result = $client->listAppVersionAppComponents
([/* ... */]); $promise = $client->listAppVersionAppComponentsAsync
([/* ... */]);
Lists all the Application Components in the Resilience Hub application.
Parameter Syntax
$result = $client->listAppVersionAppComponents([ 'appArn' => '<string>', // REQUIRED 'appVersion' => '<string>', // REQUIRED 'maxResults' => <integer>, 'nextToken' => '<string>', ]);
Parameter Details
Members
- appArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. - appVersion
-
- Required: Yes
- Type: string
The version of the Application Component.
- maxResults
-
- Type: int
Maximum number of Application Components to be displayed per AWS Resilience Hub application version.
- nextToken
-
- Type: string
Null, or the token from a previous call to get the next set of results.
Result Syntax
[ 'appArn' => '<string>', 'appComponents' => [ [ 'additionalInfo' => [ '<String128WithoutWhitespace>' => ['<string>', ...], // ... ], 'id' => '<string>', 'name' => '<string>', 'type' => '<string>', ], // ... ], 'appVersion' => '<string>', 'nextToken' => '<string>', ]
Result Details
Members
- appArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. - appComponents
-
- Type: Array of AppComponent structures
Defines an Application Component.
- appVersion
-
- Required: Yes
- Type: string
The AWS Resilience Hub application version.
- nextToken
-
- Type: string
The token for the next set of results, or null if there are no more results.
Errors
-
This exception occurs when there is an internal failure in the Resilience Hub service.
-
This exception occurs when the specified resource could not be found.
-
This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
-
This exception occurs when you have exceeded the limit on the number of requests per second.
-
This exception occurs when a request is not valid.
-
You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
ListAppVersionResourceMappings
$result = $client->listAppVersionResourceMappings
([/* ... */]); $promise = $client->listAppVersionResourceMappingsAsync
([/* ... */]);
Lists how the resources in an application version are mapped/sourced from. Mappings can be physical resource identifiers, CloudFormation stacks, resource-groups, or an application registry app.
Parameter Syntax
$result = $client->listAppVersionResourceMappings([ 'appArn' => '<string>', // REQUIRED 'appVersion' => '<string>', // REQUIRED 'maxResults' => <integer>, 'nextToken' => '<string>', ]);
Parameter Details
Members
- appArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. - appVersion
-
- Required: Yes
- Type: string
The version of the application.
- maxResults
-
- Type: int
The maximum number of results to include in the response. If more results exist than the specified
MaxResults
value, a token is included in the response so that the remaining results can be retrieved. - nextToken
-
- Type: string
Null, or the token from a previous call to get the next set of results.
Result Syntax
[ 'nextToken' => '<string>', 'resourceMappings' => [ [ 'appRegistryAppName' => '<string>', 'eksSourceName' => '<string>', 'logicalStackName' => '<string>', 'mappingType' => 'CfnStack|Resource|AppRegistryApp|ResourceGroup|Terraform|EKS', 'physicalResourceId' => [ 'awsAccountId' => '<string>', 'awsRegion' => '<string>', 'identifier' => '<string>', 'type' => 'Arn|Native', ], 'resourceGroupName' => '<string>', 'resourceName' => '<string>', 'terraformSourceName' => '<string>', ], // ... ], ]
Result Details
Members
- nextToken
-
- Type: string
The token for the next set of results, or null if there are no more results.
- resourceMappings
-
- Required: Yes
- Type: Array of ResourceMapping structures
Mappings used to map logical resources from the template to physical resources. You can use the mapping type
CFN_STACK
if the application template uses a logical stack name. Or you can map individual resources by using the mapping typeRESOURCE
. We recommend using the mapping typeCFN_STACK
if the application is backed by a CloudFormation stack.
Errors
-
This exception occurs when there is an internal failure in the Resilience Hub service.
-
This exception occurs when the specified resource could not be found.
-
This exception occurs when you have exceeded the limit on the number of requests per second.
-
This exception occurs when a request is not valid.
-
You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
ListAppVersionResources
$result = $client->listAppVersionResources
([/* ... */]); $promise = $client->listAppVersionResourcesAsync
([/* ... */]);
Lists all the resources in an Resilience Hub application.
Parameter Syntax
$result = $client->listAppVersionResources([ 'appArn' => '<string>', // REQUIRED 'appVersion' => '<string>', // REQUIRED 'maxResults' => <integer>, 'nextToken' => '<string>', 'resolutionId' => '<string>', ]);
Parameter Details
Members
- appArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. - appVersion
-
- Required: Yes
- Type: string
The version of the application.
- maxResults
-
- Type: int
The maximum number of results to include in the response. If more results exist than the specified
MaxResults
value, a token is included in the response so that the remaining results can be retrieved. - nextToken
-
- Type: string
Null, or the token from a previous call to get the next set of results.
- resolutionId
-
- Type: string
The identifier for a specific resolution.
Result Syntax
[ 'nextToken' => '<string>', 'physicalResources' => [ [ 'additionalInfo' => [ '<String128WithoutWhitespace>' => ['<string>', ...], // ... ], 'appComponents' => [ [ 'additionalInfo' => [ '<String128WithoutWhitespace>' => ['<string>', ...], // ... ], 'id' => '<string>', 'name' => '<string>', 'type' => '<string>', ], // ... ], 'excluded' => true || false, 'logicalResourceId' => [ 'eksSourceName' => '<string>', 'identifier' => '<string>', 'logicalStackName' => '<string>', 'resourceGroupName' => '<string>', 'terraformSourceName' => '<string>', ], 'physicalResourceId' => [ 'awsAccountId' => '<string>', 'awsRegion' => '<string>', 'identifier' => '<string>', 'type' => 'Arn|Native', ], 'resourceName' => '<string>', 'resourceType' => '<string>', ], // ... ], 'resolutionId' => '<string>', ]
Result Details
Members
- nextToken
-
- Type: string
The token for the next set of results, or null if there are no more results.
- physicalResources
-
- Required: Yes
- Type: Array of PhysicalResource structures
The physical resources in the application version.
- resolutionId
-
- Required: Yes
- Type: string
The ID for a specific resolution.
Errors
-
This exception occurs when there is an internal failure in the Resilience Hub service.
-
This exception occurs when the specified resource could not be found.
-
This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
-
This exception occurs when you have exceeded the limit on the number of requests per second.
-
This exception occurs when a request is not valid.
-
You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
ListAppVersions
$result = $client->listAppVersions
([/* ... */]); $promise = $client->listAppVersionsAsync
([/* ... */]);
Lists the different versions for the Resilience Hub applications.
Parameter Syntax
$result = $client->listAppVersions([ 'appArn' => '<string>', // REQUIRED 'maxResults' => <integer>, 'nextToken' => '<string>', ]);
Parameter Details
Members
- appArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. - maxResults
-
- Type: int
The maximum number of results to include in the response. If more results exist than the specified
MaxResults
value, a token is included in the response so that the remaining results can be retrieved. - nextToken
-
- Type: string
Null, or the token from a previous call to get the next set of results.
Result Syntax
[ 'appVersions' => [ [ 'appVersion' => '<string>', ], // ... ], 'nextToken' => '<string>', ]
Result Details
Members
- appVersions
-
- Required: Yes
- Type: Array of AppVersionSummary structures
The version of the application.
- nextToken
-
- Type: string
The token for the next set of results, or null if there are no more results.
Errors
-
This exception occurs when there is an internal failure in the Resilience Hub service.
-
This exception occurs when the specified resource could not be found.
-
This exception occurs when a request is not valid.
-
You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
ListApps
$result = $client->listApps
([/* ... */]); $promise = $client->listAppsAsync
([/* ... */]);
Lists your Resilience Hub applications.
You can filter applications using only one filter at a time or without using any filter. If you try to filter applications using multiple filters, you will get the following error:
An error occurred (ValidationException) when calling the ListApps operation: Only one filter is supported for this operation.
Parameter Syntax
$result = $client->listApps([ 'appArn' => '<string>', 'maxResults' => <integer>, 'name' => '<string>', 'nextToken' => '<string>', ]);
Parameter Details
Members
- appArn
-
- Type: string
The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. - maxResults
-
- Type: int
The maximum number of results to include in the response. If more results exist than the specified
MaxResults
value, a token is included in the response so that the remaining results can be retrieved. - name
-
- Type: string
The name for the one of the listed applications.
- nextToken
-
- Type: string
Null, or the token from a previous call to get the next set of results.
Result Syntax
[ 'appSummaries' => [ [ 'appArn' => '<string>', 'assessmentSchedule' => 'Disabled|Daily', 'complianceStatus' => 'PolicyBreached|PolicyMet|NotAssessed|ChangesDetected', 'creationTime' => <DateTime>, 'description' => '<string>', 'name' => '<string>', 'resiliencyScore' => <float>, 'status' => 'Active|Deleting', ], // ... ], 'nextToken' => '<string>', ]
Result Details
Members
- appSummaries
-
- Required: Yes
- Type: Array of AppSummary structures
Summaries for the Resilience Hub application.
- nextToken
-
- Type: string
The token for the next set of results, or null if there are no more results.
Errors
-
This exception occurs when there is an internal failure in the Resilience Hub service.
-
This exception occurs when you have exceeded the limit on the number of requests per second.
-
This exception occurs when a request is not valid.
-
You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
ListRecommendationTemplates
$result = $client->listRecommendationTemplates
([/* ... */]); $promise = $client->listRecommendationTemplatesAsync
([/* ... */]);
Lists the recommendation templates for the Resilience Hub applications.
Parameter Syntax
$result = $client->listRecommendationTemplates([ 'assessmentArn' => '<string>', // REQUIRED 'maxResults' => <integer>, 'name' => '<string>', 'nextToken' => '<string>', 'recommendationTemplateArn' => '<string>', 'reverseOrder' => true || false, 'status' => ['<string>', ...], ]);
Parameter Details
Members
- assessmentArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app-assessment/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. - maxResults
-
- Type: int
The maximum number of results to include in the response. If more results exist than the specified
MaxResults
value, a token is included in the response so that the remaining results can be retrieved. - name
-
- Type: string
The name for one of the listed recommendation templates.
- nextToken
-
- Type: string
Null, or the token from a previous call to get the next set of results.
- recommendationTemplateArn
-
- Type: string
The Amazon Resource Name (ARN) for a recommendation template.
- reverseOrder
-
- Type: boolean
The default is to sort by ascending startTime. To sort by descending startTime, set reverseOrder to
true
. - status
-
- Type: Array of strings
The status of the action.
Result Syntax
[ 'nextToken' => '<string>', 'recommendationTemplates' => [ [ 'appArn' => '<string>', 'assessmentArn' => '<string>', 'endTime' => <DateTime>, 'format' => 'CfnYaml|CfnJson', 'message' => '<string>', 'name' => '<string>', 'needsReplacements' => true || false, 'recommendationIds' => ['<string>', ...], 'recommendationTemplateArn' => '<string>', 'recommendationTypes' => ['<string>', ...], 'startTime' => <DateTime>, 'status' => 'Pending|InProgress|Failed|Success', 'tags' => ['<string>', ...], 'templatesLocation' => [ 'bucket' => '<string>', 'prefix' => '<string>', ], ], // ... ], ]
Result Details
Members
- nextToken
-
- Type: string
The token for the next set of results, or null if there are no more results.
- recommendationTemplates
-
- Type: Array of RecommendationTemplate structures
The recommendation templates for the Resilience Hub applications.
Errors
-
This exception occurs when there is an internal failure in the Resilience Hub service.
-
This exception occurs when you have exceeded the limit on the number of requests per second.
-
This exception occurs when a request is not valid.
-
You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
ListResiliencyPolicies
$result = $client->listResiliencyPolicies
([/* ... */]); $promise = $client->listResiliencyPoliciesAsync
([/* ... */]);
Lists the resiliency policies for the Resilience Hub applications.
Parameter Syntax
$result = $client->listResiliencyPolicies([ 'maxResults' => <integer>, 'nextToken' => '<string>', 'policyName' => '<string>', ]);
Parameter Details
Members
- maxResults
-
- Type: int
The maximum number of results to include in the response. If more results exist than the specified
MaxResults
value, a token is included in the response so that the remaining results can be retrieved. - nextToken
-
- Type: string
Null, or the token from a previous call to get the next set of results.
- policyName
-
- Type: string
The name of the policy
Result Syntax
[ 'nextToken' => '<string>', 'resiliencyPolicies' => [ [ 'creationTime' => <DateTime>, 'dataLocationConstraint' => 'AnyLocation|SameContinent|SameCountry', 'estimatedCostTier' => 'L1|L2|L3|L4', 'policy' => [ '<DisruptionType>' => [ 'rpoInSecs' => <integer>, 'rtoInSecs' => <integer>, ], // ... ], 'policyArn' => '<string>', 'policyDescription' => '<string>', 'policyName' => '<string>', 'tags' => ['<string>', ...], 'tier' => 'MissionCritical|Critical|Important|CoreServices|NonCritical', ], // ... ], ]
Result Details
Members
- nextToken
-
- Type: string
The token for the next set of results, or null if there are no more results.
- resiliencyPolicies
-
- Required: Yes
- Type: Array of ResiliencyPolicy structures
The resiliency policies for the Resilience Hub applications.
Errors
-
This exception occurs when there is an internal failure in the Resilience Hub service.
-
This exception occurs when the specified resource could not be found.
-
This exception occurs when you have exceeded the limit on the number of requests per second.
-
This exception occurs when a request is not valid.
-
You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
ListSopRecommendations
$result = $client->listSopRecommendations
([/* ... */]); $promise = $client->listSopRecommendationsAsync
([/* ... */]);
Lists the standard operating procedure (SOP) recommendations for the Resilience Hub applications.
Parameter Syntax
$result = $client->listSopRecommendations([ 'assessmentArn' => '<string>', // REQUIRED 'maxResults' => <integer>, 'nextToken' => '<string>', ]);
Parameter Details
Members
- assessmentArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app-assessment/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. - maxResults
-
- Type: int
The maximum number of results to include in the response. If more results exist than the specified
MaxResults
value, a token is included in the response so that the remaining results can be retrieved. - nextToken
-
- Type: string
Null, or the token from a previous call to get the next set of results.
Result Syntax
[ 'nextToken' => '<string>', 'sopRecommendations' => [ [ 'appComponentName' => '<string>', 'description' => '<string>', 'items' => [ [ 'alreadyImplemented' => true || false, 'resourceId' => '<string>', 'targetAccountId' => '<string>', 'targetRegion' => '<string>', ], // ... ], 'name' => '<string>', 'prerequisite' => '<string>', 'recommendationId' => '<string>', 'referenceId' => '<string>', 'serviceType' => 'SSM', ], // ... ], ]
Result Details
Members
- nextToken
-
- Type: string
The token for the next set of results, or null if there are no more results.
- sopRecommendations
-
- Required: Yes
- Type: Array of SopRecommendation structures
The standard operating procedure (SOP) recommendations for the Resilience Hub applications.
Errors
-
This exception occurs when there is an internal failure in the Resilience Hub service.
-
This exception occurs when the specified resource could not be found.
-
This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
-
This exception occurs when you have exceeded the limit on the number of requests per second.
-
This exception occurs when a request is not valid.
-
You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
ListSuggestedResiliencyPolicies
$result = $client->listSuggestedResiliencyPolicies
([/* ... */]); $promise = $client->listSuggestedResiliencyPoliciesAsync
([/* ... */]);
Lists the suggested resiliency policies for the Resilience Hub applications.
Parameter Syntax
$result = $client->listSuggestedResiliencyPolicies([ 'maxResults' => <integer>, 'nextToken' => '<string>', ]);
Parameter Details
Members
- maxResults
-
- Type: int
The maximum number of results to include in the response. If more results exist than the specified
MaxResults
value, a token is included in the response so that the remaining results can be retrieved. - nextToken
-
- Type: string
Null, or the token from a previous call to get the next set of results.
Result Syntax
[ 'nextToken' => '<string>', 'resiliencyPolicies' => [ [ 'creationTime' => <DateTime>, 'dataLocationConstraint' => 'AnyLocation|SameContinent|SameCountry', 'estimatedCostTier' => 'L1|L2|L3|L4', 'policy' => [ '<DisruptionType>' => [ 'rpoInSecs' => <integer>, 'rtoInSecs' => <integer>, ], // ... ], 'policyArn' => '<string>', 'policyDescription' => '<string>', 'policyName' => '<string>', 'tags' => ['<string>', ...], 'tier' => 'MissionCritical|Critical|Important|CoreServices|NonCritical', ], // ... ], ]
Result Details
Members
- nextToken
-
- Type: string
The token for the next set of results, or null if there are no more results.
- resiliencyPolicies
-
- Required: Yes
- Type: Array of ResiliencyPolicy structures
The suggested resiliency policies for the Resilience Hub applications.
Errors
-
This exception occurs when there is an internal failure in the Resilience Hub service.
-
This exception occurs when the specified resource could not be found.
-
This exception occurs when you have exceeded the limit on the number of requests per second.
-
This exception occurs when a request is not valid.
-
You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
ListTagsForResource
$result = $client->listTagsForResource
([/* ... */]); $promise = $client->listTagsForResourceAsync
([/* ... */]);
Lists the tags for your resources in your Resilience Hub applications.
Parameter Syntax
$result = $client->listTagsForResource([ 'resourceArn' => '<string>', // REQUIRED ]);
Parameter Details
Members
Result Syntax
[ 'tags' => ['<string>', ...], ]
Result Details
Members
Errors
-
This exception occurs when there is an internal failure in the Resilience Hub service.
-
This exception occurs when the specified resource could not be found.
-
This exception occurs when you have exceeded the limit on the number of requests per second.
-
This exception occurs when a request is not valid.
-
You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
ListTestRecommendations
$result = $client->listTestRecommendations
([/* ... */]); $promise = $client->listTestRecommendationsAsync
([/* ... */]);
Lists the test recommendations for the Resilience Hub application.
Parameter Syntax
$result = $client->listTestRecommendations([ 'assessmentArn' => '<string>', // REQUIRED 'maxResults' => <integer>, 'nextToken' => '<string>', ]);
Parameter Details
Members
- assessmentArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app-assessment/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. - maxResults
-
- Type: int
The maximum number of results to include in the response. If more results exist than the specified
MaxResults
value, a token is included in the response so that the remaining results can be retrieved. - nextToken
-
- Type: string
Null, or the token from a previous call to get the next set of results.
Result Syntax
[ 'nextToken' => '<string>', 'testRecommendations' => [ [ 'appComponentName' => '<string>', 'dependsOnAlarms' => ['<string>', ...], 'description' => '<string>', 'intent' => '<string>', 'items' => [ [ 'alreadyImplemented' => true || false, 'resourceId' => '<string>', 'targetAccountId' => '<string>', 'targetRegion' => '<string>', ], // ... ], 'name' => '<string>', 'prerequisite' => '<string>', 'recommendationId' => '<string>', 'referenceId' => '<string>', 'risk' => 'Small|Medium|High', 'type' => 'Software|Hardware|AZ|Region', ], // ... ], ]
Result Details
Members
- nextToken
-
- Type: string
The token for the next set of results, or null if there are no more results.
- testRecommendations
-
- Required: Yes
- Type: Array of TestRecommendation structures
The test recommendations for the Resilience Hub application.
Errors
-
This exception occurs when there is an internal failure in the Resilience Hub service.
-
This exception occurs when the specified resource could not be found.
-
This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
-
This exception occurs when you have exceeded the limit on the number of requests per second.
-
This exception occurs when a request is not valid.
-
You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
ListUnsupportedAppVersionResources
$result = $client->listUnsupportedAppVersionResources
([/* ... */]); $promise = $client->listUnsupportedAppVersionResourcesAsync
([/* ... */]);
Lists the resources that are not currently supported in Resilience Hub. An unsupported resource is a resource that exists in the object that was used to create an app, but is not supported by Resilience Hub.
Parameter Syntax
$result = $client->listUnsupportedAppVersionResources([ 'appArn' => '<string>', // REQUIRED 'appVersion' => '<string>', // REQUIRED 'maxResults' => <integer>, 'nextToken' => '<string>', 'resolutionId' => '<string>', ]);
Parameter Details
Members
- appArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. - appVersion
-
- Required: Yes
- Type: string
The version of the application.
- maxResults
-
- Type: int
The maximum number of results to include in the response. If more results exist than the specified
MaxResults
value, a token is included in the response so that the remaining results can be retrieved. - nextToken
-
- Type: string
Null, or the token from a previous call to get the next set of results.
- resolutionId
-
- Type: string
The identifier for a specific resolution.
Result Syntax
[ 'nextToken' => '<string>', 'resolutionId' => '<string>', 'unsupportedResources' => [ [ 'logicalResourceId' => [ 'eksSourceName' => '<string>', 'identifier' => '<string>', 'logicalStackName' => '<string>', 'resourceGroupName' => '<string>', 'terraformSourceName' => '<string>', ], 'physicalResourceId' => [ 'awsAccountId' => '<string>', 'awsRegion' => '<string>', 'identifier' => '<string>', 'type' => 'Arn|Native', ], 'resourceType' => '<string>', 'unsupportedResourceStatus' => '<string>', ], // ... ], ]
Result Details
Members
- nextToken
-
- Type: string
The token for the next set of results, or null if there are no more results.
- resolutionId
-
- Required: Yes
- Type: string
The identifier for a specific resolution.
- unsupportedResources
-
- Required: Yes
- Type: Array of UnsupportedResource structures
The unsupported resources for the application.
Errors
-
This exception occurs when there is an internal failure in the Resilience Hub service.
-
This exception occurs when the specified resource could not be found.
-
This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
-
This exception occurs when you have exceeded the limit on the number of requests per second.
-
This exception occurs when a request is not valid.
-
You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
PublishAppVersion
$result = $client->publishAppVersion
([/* ... */]); $promise = $client->publishAppVersionAsync
([/* ... */]);
Publishes a new version of a specific Resilience Hub application.
Parameter Syntax
$result = $client->publishAppVersion([ 'appArn' => '<string>', // REQUIRED ]);
Parameter Details
Members
- appArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
Result Syntax
[ 'appArn' => '<string>', 'appVersion' => '<string>', ]
Result Details
Members
- appArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. - appVersion
-
- Type: string
The version of the application.
Errors
-
This exception occurs when there is an internal failure in the Resilience Hub service.
-
This exception occurs when the specified resource could not be found.
-
This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
-
This exception occurs when you have exceeded the limit on the number of requests per second.
-
This exception occurs when a request is not valid.
-
You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
PutDraftAppVersionTemplate
$result = $client->putDraftAppVersionTemplate
([/* ... */]); $promise = $client->putDraftAppVersionTemplateAsync
([/* ... */]);
Adds or updates the app template for an Resilience Hub application draft version.
Parameter Syntax
$result = $client->putDraftAppVersionTemplate([ 'appArn' => '<string>', // REQUIRED 'appTemplateBody' => '<string>', // REQUIRED ]);
Parameter Details
Members
- appArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. - appTemplateBody
-
- Required: Yes
- Type: string
A JSON string that provides information about your application structure. To learn more about the
appTemplateBody
template, see the sample template provided in the Examples section.The
appTemplateBody
JSON string has the following structure:-
resources
The list of logical resources that needs to be included in the Resilience Hub application.
Type: Array
Don't add the resources that you want to exclude.
Each
resources
array item includes the following fields:-
logicalResourceId
The logical identifier of the resource.
Type: Object
Each
logicalResourceId
object includes the following fields:-
identifier
The identifier of the resource.
Type: String
-
logicalStackName
The name of the CloudFormation stack this resource belongs to.
Type: String
-
resourceGroupName
The name of the resource group this resource belongs to.
Type: String
-
terraformSourceName
The name of the Terraform S3 state file this resource belongs to.
Type: String
-
-
type
The type of resource.
Type: string
-
name
The name of the resource.
Type: String
-
additionalInfo
Additional configuration parameters for an AWS Resilience Hub application.
Currently, this parameter accepts a key-value mapping (in a string format) of only one failover region and one associated account.
Key:
"failover-regions"
Value:
"[{"region":"<REGION>", "accounts":[{"id":"<ACCOUNT_ID>"}]}]"
-
-
appComponents
The list of Application Components that this resource belongs to. If an Application Component is not part of the AWS Resilience Hub application, it will be added.
Type: Array
Each
appComponents
array item includes the following fields:-
name
The name of the Application Component.
Type: String
-
type
The type of Application Component. For more information about the types of Application Component, see Grouping resources in an AppComponent.
Type: String
-
resourceNames
The list of included resources that are assigned to the Application Component.
Type: Array of strings
-
additionalInfo
Additional configuration parameters for an AWS Resilience Hub application.
Currently, this parameter accepts a key-value mapping (in a string format) of only one failover region and one associated account.
Key:
"failover-regions"
Value:
"[{"region":"<REGION>", "accounts":[{"id":"<ACCOUNT_ID>"}]}]"
-
-
excludedResources
The list of logical resource identifiers to be excluded from the application.
Type: Array
Don't add the resources that you want to include.
Each
excludedResources
array item includes the following fields:-
logicalResourceIds
The logical identifier of the resource.
Type: Object
You can configure only one of the following fields:
-
logicalStackName
-
resourceGroupName
-
terraformSourceName
Each
logicalResourceIds
object includes the following fields:-
identifier
The identifier of the resource.
Type: String
-
logicalStackName
The name of the CloudFormation stack this resource belongs to.
Type: String
-
resourceGroupName
The name of the resource group this resource belongs to.
Type: String
-
terraformSourceName
The name of the Terraform S3 state file this resource belongs to.
Type: String
-
-
-
version
The AWS Resilience Hub application version.
-
additionalInfo
Additional configuration parameters for an AWS Resilience Hub application.
Currently, this parameter accepts a key-value mapping (in a string format) of only one failover region and one associated account.
Key:
"failover-regions"
Value:
"[{"region":"<REGION>", "accounts":[{"id":"<ACCOUNT_ID>"}]}]"
Result Syntax
[ 'appArn' => '<string>', 'appVersion' => '<string>', ]
Result Details
Members
- appArn
-
- Type: string
The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. - appVersion
-
- Type: string
The version of the application.
Errors
-
This exception occurs when there is an internal failure in the Resilience Hub service.
-
This exception occurs when the specified resource could not be found.
-
This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
-
This exception occurs when you have exceeded the limit on the number of requests per second.
-
This exception occurs when a request is not valid.
-
You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
RemoveDraftAppVersionResourceMappings
$result = $client->removeDraftAppVersionResourceMappings
([/* ... */]); $promise = $client->removeDraftAppVersionResourceMappingsAsync
([/* ... */]);
Removes resource mappings from a draft application version.
Parameter Syntax
$result = $client->removeDraftAppVersionResourceMappings([ 'appArn' => '<string>', // REQUIRED 'appRegistryAppNames' => ['<string>', ...], 'eksSourceNames' => ['<string>', ...], 'logicalStackNames' => ['<string>', ...], 'resourceGroupNames' => ['<string>', ...], 'resourceNames' => ['<string>', ...], 'terraformSourceNames' => ['<string>', ...], ]);
Parameter Details
Members
- appArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. - appRegistryAppNames
-
- Type: Array of strings
The names of the registered applications you want to remove from the resource mappings.
- eksSourceNames
-
- Type: Array of strings
The names of the Amazon Elastic Kubernetes Service clusters and namespaces you want to remove from the resource mappings.
This parameter accepts values in "eks-cluster/namespace" format.
- logicalStackNames
-
- Type: Array of strings
The names of the CloudFormation stacks you want to remove from the resource mappings.
- resourceGroupNames
-
- Type: Array of strings
The names of the resource groups you want to remove from the resource mappings.
- resourceNames
-
- Type: Array of strings
The names of the resources you want to remove from the resource mappings.
- terraformSourceNames
-
- Type: Array of strings
The names of the Terraform sources you want to remove from the resource mappings.
Result Syntax
[ 'appArn' => '<string>', 'appVersion' => '<string>', ]
Result Details
Members
- appArn
-
- Type: string
The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. - appVersion
-
- Type: string
The version of the application.
Errors
-
This exception occurs when there is an internal failure in the Resilience Hub service.
-
This exception occurs when the specified resource could not be found.
-
This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
-
This exception occurs when you have exceeded the limit on the number of requests per second.
-
This exception occurs when a request is not valid.
-
You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
ResolveAppVersionResources
$result = $client->resolveAppVersionResources
([/* ... */]); $promise = $client->resolveAppVersionResourcesAsync
([/* ... */]);
Resolves the resources for an application version.
Parameter Syntax
$result = $client->resolveAppVersionResources([ 'appArn' => '<string>', // REQUIRED 'appVersion' => '<string>', // REQUIRED ]);
Parameter Details
Members
- appArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. - appVersion
-
- Required: Yes
- Type: string
The version of the application.
Result Syntax
[ 'appArn' => '<string>', 'appVersion' => '<string>', 'resolutionId' => '<string>', 'status' => 'Pending|InProgress|Failed|Success', ]
Result Details
Members
- appArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. - appVersion
-
- Required: Yes
- Type: string
The version of the application.
- resolutionId
-
- Required: Yes
- Type: string
The identifier for a specific resolution.
- status
-
- Required: Yes
- Type: string
The status of the action.
Errors
-
This exception occurs when there is an internal failure in the Resilience Hub service.
-
This exception occurs when the specified resource could not be found.
-
This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
-
This exception occurs when you have exceeded the limit on the number of requests per second.
-
This exception occurs when a request is not valid.
-
You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
StartAppAssessment
$result = $client->startAppAssessment
([/* ... */]); $promise = $client->startAppAssessmentAsync
([/* ... */]);
Creates a new application assessment for an application.
Parameter Syntax
$result = $client->startAppAssessment([ 'appArn' => '<string>', // REQUIRED 'appVersion' => '<string>', // REQUIRED 'assessmentName' => '<string>', // REQUIRED 'clientToken' => '<string>', 'tags' => ['<string>', ...], ]);
Parameter Details
Members
- appArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. - appVersion
-
- Required: Yes
- Type: string
The version of the application.
- assessmentName
-
- Required: Yes
- Type: string
The name for the assessment.
- clientToken
-
- Type: string
Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. You should not reuse the same client token for other API requests.
- tags
-
- Type: Associative array of custom strings keys (TagKey) to strings
The tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key/value pair.
Result Syntax
[ 'assessment' => [ 'appArn' => '<string>', 'appVersion' => '<string>', 'assessmentArn' => '<string>', 'assessmentName' => '<string>', 'assessmentStatus' => 'Pending|InProgress|Failed|Success', 'compliance' => [ '<DisruptionType>' => [ 'achievableRpoInSecs' => <integer>, 'achievableRtoInSecs' => <integer>, 'complianceStatus' => 'PolicyBreached|PolicyMet', 'currentRpoInSecs' => <integer>, 'currentRtoInSecs' => <integer>, 'message' => '<string>', 'rpoDescription' => '<string>', 'rpoReferenceId' => '<string>', 'rtoDescription' => '<string>', 'rtoReferenceId' => '<string>', ], // ... ], 'complianceStatus' => 'PolicyBreached|PolicyMet', 'cost' => [ 'amount' => <float>, 'currency' => '<string>', 'frequency' => 'Hourly|Daily|Monthly|Yearly', ], 'endTime' => <DateTime>, 'invoker' => 'User|System', 'message' => '<string>', 'policy' => [ 'creationTime' => <DateTime>, 'dataLocationConstraint' => 'AnyLocation|SameContinent|SameCountry', 'estimatedCostTier' => 'L1|L2|L3|L4', 'policy' => [ '<DisruptionType>' => [ 'rpoInSecs' => <integer>, 'rtoInSecs' => <integer>, ], // ... ], 'policyArn' => '<string>', 'policyDescription' => '<string>', 'policyName' => '<string>', 'tags' => ['<string>', ...], 'tier' => 'MissionCritical|Critical|Important|CoreServices|NonCritical', ], 'resiliencyScore' => [ 'disruptionScore' => [<float>, ...], 'score' => <float>, ], 'resourceErrorsDetails' => [ 'hasMoreErrors' => true || false, 'resourceErrors' => [ [ 'logicalResourceId' => '<string>', 'physicalResourceId' => '<string>', 'reason' => '<string>', ], // ... ], ], 'startTime' => <DateTime>, 'tags' => ['<string>', ...], ], ]
Result Details
Members
- assessment
-
- Required: Yes
- Type: AppAssessment structure
The assessment created.
Errors
-
This exception occurs when there is an internal failure in the Resilience Hub service.
-
This exception occurs when the specified resource could not be found.
-
This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
-
ServiceQuotaExceededException:
This exception occurs when you have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.
-
This exception occurs when you have exceeded the limit on the number of requests per second.
-
This exception occurs when a request is not valid.
-
You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
TagResource
$result = $client->tagResource
([/* ... */]); $promise = $client->tagResourceAsync
([/* ... */]);
Applies one or more tags to a resource.
Parameter Syntax
$result = $client->tagResource([ 'resourceArn' => '<string>', // REQUIRED 'tags' => ['<string>', ...], // REQUIRED ]);
Parameter Details
Members
Result Syntax
[]
Result Details
Errors
-
This exception occurs when there is an internal failure in the Resilience Hub service.
-
This exception occurs when the specified resource could not be found.
-
This exception occurs when you have exceeded the limit on the number of requests per second.
-
This exception occurs when a request is not valid.
-
You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
UntagResource
$result = $client->untagResource
([/* ... */]); $promise = $client->untagResourceAsync
([/* ... */]);
Removes one or more tags from a resource.
Parameter Syntax
$result = $client->untagResource([ 'resourceArn' => '<string>', // REQUIRED 'tagKeys' => ['<string>', ...], // REQUIRED ]);
Parameter Details
Members
Result Syntax
[]
Result Details
Errors
-
This exception occurs when there is an internal failure in the Resilience Hub service.
-
This exception occurs when the specified resource could not be found.
-
This exception occurs when you have exceeded the limit on the number of requests per second.
-
This exception occurs when a request is not valid.
-
You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
UpdateApp
$result = $client->updateApp
([/* ... */]); $promise = $client->updateAppAsync
([/* ... */]);
Updates an application.
Parameter Syntax
$result = $client->updateApp([ 'appArn' => '<string>', // REQUIRED 'assessmentSchedule' => 'Disabled|Daily', 'clearResiliencyPolicyArn' => true || false, 'description' => '<string>', 'policyArn' => '<string>', ]);
Parameter Details
Members
- appArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. - assessmentSchedule
-
- Type: string
Assessment execution schedule with 'Daily' or 'Disabled' values.
- clearResiliencyPolicyArn
-
- Type: boolean
Specifies if the resiliency policy ARN should be cleared.
- description
-
- Type: string
The optional description for an app.
- policyArn
-
- Type: string
The Amazon Resource Name (ARN) of the resiliency policy. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:resiliency-policy/policy-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
Result Syntax
[ 'app' => [ 'appArn' => '<string>', 'assessmentSchedule' => 'Disabled|Daily', 'complianceStatus' => 'PolicyBreached|PolicyMet|NotAssessed|ChangesDetected', 'creationTime' => <DateTime>, 'description' => '<string>', 'lastAppComplianceEvaluationTime' => <DateTime>, 'lastResiliencyScoreEvaluationTime' => <DateTime>, 'name' => '<string>', 'policyArn' => '<string>', 'resiliencyScore' => <float>, 'status' => 'Active|Deleting', 'tags' => ['<string>', ...], ], ]
Result Details
Members
- app
-
- Required: Yes
- Type: App structure
The specified application, returned as an object with details including compliance status, creation time, description, resiliency score, and more.
Errors
-
This exception occurs when there is an internal failure in the Resilience Hub service.
-
This exception occurs when the specified resource could not be found.
-
This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
-
This exception occurs when you have exceeded the limit on the number of requests per second.
-
This exception occurs when a request is not valid.
-
You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
UpdateAppVersion
$result = $client->updateAppVersion
([/* ... */]); $promise = $client->updateAppVersionAsync
([/* ... */]);
Updates the Resilience Hub application version.
This API updates the Resilience Hub application draft version. To use this information for running resiliency assessments, you must publish the Resilience Hub application using the PublishAppVersion
API.
Parameter Syntax
$result = $client->updateAppVersion([ 'additionalInfo' => [ '<String128WithoutWhitespace>' => ['<string>', ...], // ... ], 'appArn' => '<string>', // REQUIRED ]);
Parameter Details
Members
- additionalInfo
-
- Type: Associative array of custom strings keys (String128WithoutWhitespace) to stringss
Additional configuration parameters for an AWS Resilience Hub application.
Currently, this parameter accepts a key-value mapping (in a string format) of only one failover region and one associated account.
Key:
"failover-regions"
Value:
"[{"region":"<REGION>", "accounts":[{"id":"<ACCOUNT_ID>"}]}]"
- appArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
Result Syntax
[ 'additionalInfo' => [ '<String128WithoutWhitespace>' => ['<string>', ...], // ... ], 'appArn' => '<string>', 'appVersion' => '<string>', ]
Result Details
Members
- additionalInfo
-
- Type: Associative array of custom strings keys (String128WithoutWhitespace) to stringss
Additional configuration parameters for an AWS Resilience Hub application.
Currently, this parameter supports only failover region and account.
- appArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. - appVersion
-
- Required: Yes
- Type: string
The AWS Resilience Hub application version.
Errors
-
This exception occurs when there is an internal failure in the Resilience Hub service.
-
This exception occurs when the specified resource could not be found.
-
This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
-
This exception occurs when you have exceeded the limit on the number of requests per second.
-
This exception occurs when a request is not valid.
-
You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
UpdateAppVersionAppComponent
$result = $client->updateAppVersionAppComponent
([/* ... */]); $promise = $client->updateAppVersionAppComponentAsync
([/* ... */]);
Updates an existing Application Component in the Resilience Hub application.
This API updates the Resilience Hub application draft version. To use this Application Component for running assessments, you must publish the Resilience Hub application using the PublishAppVersion
API.
Parameter Syntax
$result = $client->updateAppVersionAppComponent([ 'additionalInfo' => [ '<String128WithoutWhitespace>' => ['<string>', ...], // ... ], 'appArn' => '<string>', // REQUIRED 'id' => '<string>', // REQUIRED 'name' => '<string>', 'type' => '<string>', ]);
Parameter Details
Members
- additionalInfo
-
- Type: Associative array of custom strings keys (String128WithoutWhitespace) to stringss
Currently, there is no supported additional information for Application Components.
- appArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. - id
-
- Required: Yes
- Type: string
The identifier of the Application Component.
- name
-
- Type: string
The name of the Application Component.
- type
-
- Type: string
The type of Application Component. For more information about the types of Application Component, see Grouping resources in an AppComponent.
Result Syntax
[ 'appArn' => '<string>', 'appComponent' => [ 'additionalInfo' => [ '<String128WithoutWhitespace>' => ['<string>', ...], // ... ], 'id' => '<string>', 'name' => '<string>', 'type' => '<string>', ], 'appVersion' => '<string>', ]
Result Details
Members
- appArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. - appComponent
-
- Type: AppComponent structure
The list of Application Components that belong to this resource.
- appVersion
-
- Required: Yes
- Type: string
The AWS Resilience Hub application version.
Errors
-
This exception occurs when there is an internal failure in the Resilience Hub service.
-
This exception occurs when the specified resource could not be found.
-
This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
-
This exception occurs when you have exceeded the limit on the number of requests per second.
-
This exception occurs when a request is not valid.
-
You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
UpdateAppVersionResource
$result = $client->updateAppVersionResource
([/* ... */]); $promise = $client->updateAppVersionResourceAsync
([/* ... */]);
Updates the resource details in the Resilience Hub application.
-
This action has no effect outside Resilience Hub.
-
This API updates the Resilience Hub application draft version. To use this resource for running resiliency assessments, you must publish the Resilience Hub application using the
PublishAppVersion
API. -
To update application version with new
physicalResourceID
, you must callResolveAppVersionResources
API.
Parameter Syntax
$result = $client->updateAppVersionResource([ 'additionalInfo' => [ '<String128WithoutWhitespace>' => ['<string>', ...], // ... ], 'appArn' => '<string>', // REQUIRED 'appComponents' => ['<string>', ...], 'awsAccountId' => '<string>', 'awsRegion' => '<string>', 'excluded' => true || false, 'logicalResourceId' => [ 'eksSourceName' => '<string>', 'identifier' => '<string>', // REQUIRED 'logicalStackName' => '<string>', 'resourceGroupName' => '<string>', 'terraformSourceName' => '<string>', ], 'physicalResourceId' => '<string>', 'resourceName' => '<string>', 'resourceType' => '<string>', ]);
Parameter Details
Members
- additionalInfo
-
- Type: Associative array of custom strings keys (String128WithoutWhitespace) to stringss
Currently, there is no supported additional information for resources.
- appArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. - appComponents
-
- Type: Array of strings
The list of Application Components that this resource belongs to. If an Application Component is not part of the AWS Resilience Hub application, it will be added.
- awsAccountId
-
- Type: string
The Amazon Web Services account that owns the physical resource.
- awsRegion
-
- Type: string
The Amazon Web Services region that owns the physical resource.
- excluded
-
- Type: boolean
Indicates if a resource is excluded from an Resilience Hub application.
You can exclude only imported resources from an Resilience Hub application.
- logicalResourceId
-
- Type: LogicalResourceId structure
The logical identifier of the resource.
- physicalResourceId
-
- Type: string
The physical identifier of the resource.
- resourceName
-
- Type: string
The name of the resource.
- resourceType
-
- Type: string
The type of resource.
Result Syntax
[ 'appArn' => '<string>', 'appVersion' => '<string>', 'physicalResource' => [ 'additionalInfo' => [ '<String128WithoutWhitespace>' => ['<string>', ...], // ... ], 'appComponents' => [ [ 'additionalInfo' => [ '<String128WithoutWhitespace>' => ['<string>', ...], // ... ], 'id' => '<string>', 'name' => '<string>', 'type' => '<string>', ], // ... ], 'excluded' => true || false, 'logicalResourceId' => [ 'eksSourceName' => '<string>', 'identifier' => '<string>', 'logicalStackName' => '<string>', 'resourceGroupName' => '<string>', 'terraformSourceName' => '<string>', ], 'physicalResourceId' => [ 'awsAccountId' => '<string>', 'awsRegion' => '<string>', 'identifier' => '<string>', 'type' => 'Arn|Native', ], 'resourceName' => '<string>', 'resourceType' => '<string>', ], ]
Result Details
Members
- appArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. - appVersion
-
- Required: Yes
- Type: string
The AWS Resilience Hub application version.
- physicalResource
-
- Type: PhysicalResource structure
Defines a physical resource. A physical resource is a resource that exists in your account. It can be identified using an Amazon Resource Name (ARN) or a Resilience Hub-native identifier.
Errors
-
This exception occurs when there is an internal failure in the Resilience Hub service.
-
This exception occurs when the specified resource could not be found.
-
This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
-
ServiceQuotaExceededException:
This exception occurs when you have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.
-
This exception occurs when you have exceeded the limit on the number of requests per second.
-
This exception occurs when a request is not valid.
-
You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
UpdateResiliencyPolicy
$result = $client->updateResiliencyPolicy
([/* ... */]); $promise = $client->updateResiliencyPolicyAsync
([/* ... */]);
Updates a resiliency policy.
Parameter Syntax
$result = $client->updateResiliencyPolicy([ 'dataLocationConstraint' => 'AnyLocation|SameContinent|SameCountry', 'policy' => [ '<DisruptionType>' => [ 'rpoInSecs' => <integer>, // REQUIRED 'rtoInSecs' => <integer>, // REQUIRED ], // ... ], 'policyArn' => '<string>', // REQUIRED 'policyDescription' => '<string>', 'policyName' => '<string>', 'tier' => 'MissionCritical|Critical|Important|CoreServices|NonCritical', ]);
Parameter Details
Members
- dataLocationConstraint
-
- Type: string
Specifies a high-level geographical location constraint for where your resilience policy data can be stored.
- policy
-
- Type: Associative array of custom strings keys (DisruptionType) to FailurePolicy structures
The type of resiliency policy to be created, including the recovery time objective (RTO) and recovery point objective (RPO) in seconds.
- policyArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the resiliency policy. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:resiliency-policy/policy-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. - policyDescription
-
- Type: string
The description for the policy.
- policyName
-
- Type: string
The name of the policy
- tier
-
- Type: string
The tier for this resiliency policy, ranging from the highest severity (
MissionCritical
) to lowest (NonCritical
).
Result Syntax
[ 'policy' => [ 'creationTime' => <DateTime>, 'dataLocationConstraint' => 'AnyLocation|SameContinent|SameCountry', 'estimatedCostTier' => 'L1|L2|L3|L4', 'policy' => [ '<DisruptionType>' => [ 'rpoInSecs' => <integer>, 'rtoInSecs' => <integer>, ], // ... ], 'policyArn' => '<string>', 'policyDescription' => '<string>', 'policyName' => '<string>', 'tags' => ['<string>', ...], 'tier' => 'MissionCritical|Critical|Important|CoreServices|NonCritical', ], ]
Result Details
Members
- policy
-
- Required: Yes
- Type: ResiliencyPolicy structure
The type of resiliency policy that was updated, including the recovery time objective (RTO) and recovery point objective (RPO) in seconds.
Errors
-
This exception occurs when there is an internal failure in the Resilience Hub service.
-
This exception occurs when the specified resource could not be found.
-
This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
-
This exception occurs when you have exceeded the limit on the number of requests per second.
-
This exception occurs when a request is not valid.
-
You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
Shapes
AccessDeniedException
Description
You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions.
Members
AlarmRecommendation
Description
Defines a recommendation for a CloudWatch alarm.
Members
- appComponentName
-
- Type: string
The Application Component for the CloudWatch alarm recommendation.
- description
-
- Type: string
The description of the recommendation.
- items
-
- Type: Array of RecommendationItem structures
The list of CloudWatch alarm recommendations.
- name
-
- Required: Yes
- Type: string
The name of the alarm recommendation.
- prerequisite
-
- Type: string
The prerequisite for the alarm recommendation.
- recommendationId
-
- Required: Yes
- Type: string
The identifier of the alarm recommendation.
- referenceId
-
- Required: Yes
- Type: string
The reference identifier of the alarm recommendation.
- type
-
- Required: Yes
- Type: string
The type of alarm recommendation.
App
Description
Defines an Resilience Hub application.
Members
- appArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. - assessmentSchedule
-
- Type: string
Assessment execution schedule with 'Daily' or 'Disabled' values.
- complianceStatus
-
- Type: string
The current status of compliance for the resiliency policy.
- creationTime
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp for when the app was created.
- description
-
- Type: string
The optional description for an app.
- lastAppComplianceEvaluationTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp for the most recent compliance evaluation.
- lastResiliencyScoreEvaluationTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp for the most recent resiliency score evaluation.
- name
-
- Required: Yes
- Type: string
The name for the application.
- policyArn
-
- Type: string
The Amazon Resource Name (ARN) of the resiliency policy. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:resiliency-policy/policy-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. - resiliencyScore
-
- Type: double
The current resiliency score for the application.
- status
-
- Type: string
The status of the application.
- tags
-
- Type: Associative array of custom strings keys (TagKey) to strings
The tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key/value pair.
AppAssessment
Description
Defines an application assessment.
Members
- appArn
-
- Type: string
The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. - appVersion
-
- Type: string
The version of the application.
- assessmentArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app-assessment/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. - assessmentName
-
- Type: string
The name of the assessment.
- assessmentStatus
-
- Required: Yes
- Type: string
The current status of the assessment for the resiliency policy.
- compliance
-
- Type: Associative array of custom strings keys (DisruptionType) to DisruptionCompliance structures
The application compliance against the resiliency policy.
- complianceStatus
-
- Type: string
The current status of the compliance for the resiliency policy.
- cost
-
- Type: Cost structure
The cost for the application.
- endTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The end time for the action.
- invoker
-
- Required: Yes
- Type: string
The entity that invoked the assessment.
- message
-
- Type: string
Error or warning message from the assessment execution
- policy
-
- Type: ResiliencyPolicy structure
The resiliency policy.
- resiliencyScore
-
- Type: ResiliencyScore structure
The current resiliency score for the application.
- resourceErrorsDetails
-
- Type: ResourceErrorsDetails structure
A resource error object containing a list of errors retrieving an application's resources.
- startTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The starting time for the action.
- tags
-
- Type: Associative array of custom strings keys (TagKey) to strings
The tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key/value pair.
AppAssessmentSummary
Description
Defines an application assessment summary.
Members
- appArn
-
- Type: string
The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. - appVersion
-
- Type: string
The version of the application.
- assessmentArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app-assessment/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. - assessmentName
-
- Type: string
The name of the assessment.
- assessmentStatus
-
- Required: Yes
- Type: string
The current status of the assessment for the resiliency policy.
- complianceStatus
-
- Type: string
The current status of compliance for the resiliency policy.
- cost
-
- Type: Cost structure
The cost for the application.
- endTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The end time for the action.
- invoker
-
- Type: string
The entity that invoked the assessment.
- message
-
- Type: string
The message from the assessment run.
- resiliencyScore
-
- Type: double
The current resiliency score for the application.
- startTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The starting time for the action.
AppComponent
Description
Defines an Application Component.
Members
- additionalInfo
-
- Type: Associative array of custom strings keys (String128WithoutWhitespace) to stringss
Additional configuration parameters for an AWS Resilience Hub application.
Currently, this parameter accepts a key-value mapping (in a string format) of only one failover region and one associated account.
Key:
"failover-regions"
Value:
"[{"region":"<REGION>", "accounts":[{"id":"<ACCOUNT_ID>"}]}]"
- id
-
- Type: string
Unique identifier of the Application Component.
- name
-
- Required: Yes
- Type: string
The name of the Application Component.
- type
-
- Required: Yes
- Type: string
The type of Application Component.
AppComponentCompliance
Description
Defines the compliance of an Application Component against the resiliency policy.
Members
- appComponentName
-
- Type: string
The name of the Application Component.
- compliance
-
- Type: Associative array of custom strings keys (DisruptionType) to DisruptionCompliance structures
The compliance of the Application Component against the resiliency policy.
- cost
-
- Type: Cost structure
The cost for the application.
- message
-
- Type: string
The compliance message.
- resiliencyScore
-
- Type: ResiliencyScore structure
The current resiliency score for the application.
- status
-
- Type: string
The status of the action.
AppInputSource
Description
The list of Resilience Hub application input sources.
Members
- eksSourceClusterNamespace
-
- Type: EksSourceClusterNamespace structure
The namespace on your Amazon Elastic Kubernetes Service cluster.
- importType
-
- Required: Yes
- Type: string
The resource type of the input source.
- resourceCount
-
- Type: int
The number of resources.
- sourceArn
-
- Type: string
The Amazon Resource Name (ARN) of the input source. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide.
- sourceName
-
- Type: string
The name of the input source.
- terraformSource
-
- Type: TerraformSource structure
The name of the Terraform s3 state file.
AppSummary
Description
Defines an application summary.
Members
- appArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. - assessmentSchedule
-
- Type: string
Assessment execution schedule with 'Daily' or 'Disabled' values.
- complianceStatus
-
- Type: string
The current status of compliance for the resiliency policy.
- creationTime
-
- Required: Yes
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp for when the app was created.
- description
-
- Type: string
The optional description for an app.
- name
-
- Required: Yes
- Type: string
The name of the application.
- resiliencyScore
-
- Type: double
The current resiliency score for the application.
- status
-
- Type: string
The status of the application.
AppVersionSummary
Description
The version of the application.
Members
ComponentRecommendation
Description
Defines recommendations for an Resilience Hub Application Component, returned as an object. This object contains component names, configuration recommendations, and recommendation statuses.
Members
- appComponentName
-
- Required: Yes
- Type: string
The name of the Application Component.
- configRecommendations
-
- Required: Yes
- Type: Array of ConfigRecommendation structures
The list of recommendations.
- recommendationStatus
-
- Required: Yes
- Type: string
The recommendation status.
ConfigRecommendation
Description
Defines a configuration recommendation.
Members
- appComponentName
-
- Type: string
The name of the Application Component.
- compliance
-
- Type: Associative array of custom strings keys (DisruptionType) to DisruptionCompliance structures
The current compliance against the resiliency policy before applying the configuration change.
- cost
-
- Type: Cost structure
The cost for the application.
- description
-
- Type: string
The optional description for an app.
- haArchitecture
-
- Type: string
The architecture type.
- name
-
- Required: Yes
- Type: string
The name of the recommendation configuration.
- optimizationType
-
- Required: Yes
- Type: string
The type of optimization.
- recommendationCompliance
-
- Type: Associative array of custom strings keys (DisruptionType) to RecommendationDisruptionCompliance structures
The expected compliance against the resiliency policy after applying the configuration change.
- referenceId
-
- Required: Yes
- Type: string
The reference identifier for the recommendation configuration.
- suggestedChanges
-
- Type: Array of strings
List of the suggested configuration changes.
ConflictException
Description
This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.
Members
Cost
Description
Defines a cost object.
Members
DisruptionCompliance
Description
Defines the compliance against the resiliency policy for a disruption.
Members
- achievableRpoInSecs
-
- Type: int
The Recovery Point Objective (RPO) that is achievable, in seconds.
- achievableRtoInSecs
-
- Type: int
The Recovery Time Objective (RTO) that is achievable, in seconds
- complianceStatus
-
- Required: Yes
- Type: string
The current status of compliance for the resiliency policy.
- currentRpoInSecs
-
- Type: int
The current RPO, in seconds.
- currentRtoInSecs
-
- Type: int
The current RTO, in seconds.
- message
-
- Type: string
The disruption compliance message.
- rpoDescription
-
- Type: string
The RPO description.
- rpoReferenceId
-
- Type: string
The RPO reference identifier.
- rtoDescription
-
- Type: string
The RTO description.
- rtoReferenceId
-
- Type: string
The RTO reference identifier.
EksSource
Description
The input source of the Amazon Elastic Kubernetes Service cluster.
Members
- eksClusterArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the Amazon Elastic Kubernetes Service cluster. The format for this ARN is: arn:
aws
:eks:region
:account-id
:cluster/cluster-name
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. - namespaces
-
- Required: Yes
- Type: Array of strings
The list of namespaces located on your Amazon Elastic Kubernetes Service cluster.
EksSourceClusterNamespace
Description
The input source of the namespace that is located on your Amazon Elastic Kubernetes Service cluster.
Members
- eksClusterArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the Amazon Elastic Kubernetes Service cluster. The format for this ARN is: arn:
aws
:eks:region
:account-id
:cluster/cluster-name
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. - namespace
-
- Required: Yes
- Type: string
Name of the namespace that is located on your Amazon Elastic Kubernetes Service cluster.
FailurePolicy
Description
Defines a failure policy.
Members
InternalServerException
Description
This exception occurs when there is an internal failure in the Resilience Hub service.
Members
LogicalResourceId
Description
Defines a logical resource identifier.
Members
- eksSourceName
-
- Type: string
The name of the Amazon Elastic Kubernetes Service cluster and namespace this resource belongs to.
This parameter accepts values in "eks-cluster/namespace" format.
- identifier
-
- Required: Yes
- Type: string
The identifier of the resource.
- logicalStackName
-
- Type: string
The name of the CloudFormation stack this resource belongs to.
- resourceGroupName
-
- Type: string
The name of the resource group that this resource belongs to.
- terraformSourceName
-
- Type: string
The name of the Terraform S3 state file this resource belongs to.
PhysicalResource
Description
Defines a physical resource. A physical resource is a resource that exists in your account. It can be identified using an Amazon Resource Name (ARN) or an Resilience Hub-native identifier.
Members
- additionalInfo
-
- Type: Associative array of custom strings keys (String128WithoutWhitespace) to stringss
Additional configuration parameters for an AWS Resilience Hub application.
Currently, this parameter accepts a key-value mapping (in a string format) of only one failover region and one associated account.
Key:
"failover-regions"
Value:
"[{"region":"<REGION>", "accounts":[{"id":"<ACCOUNT_ID>"}]}]"
- appComponents
-
- Type: Array of AppComponent structures
The application components that belong to this resource.
- excluded
-
- Type: boolean
Indicates if a resource is included or excluded from the assessment.
- logicalResourceId
-
- Required: Yes
- Type: LogicalResourceId structure
The logical identifier of the resource.
- physicalResourceId
-
- Required: Yes
- Type: PhysicalResourceId structure
The physical identifier of the resource.
- resourceName
-
- Type: string
The name of the resource.
- resourceType
-
- Required: Yes
- Type: string
The type of resource.
PhysicalResourceId
Description
Defines a physical resource identifier.
Members
- awsAccountId
-
- Type: string
The Amazon Web Services account that owns the physical resource.
- awsRegion
-
- Type: string
The Amazon Web Services Region that the physical resource is located in.
- identifier
-
- Required: Yes
- Type: string
The identifier of the physical resource.
- type
-
- Required: Yes
- Type: string
Specifies the type of physical resource identifier.
- Arn
-
The resource identifier is an Amazon Resource Name (ARN) .
- Native
-
The resource identifier is an Resilience Hub-native identifier.
RecommendationDisruptionCompliance
Description
Defines a disruption compliance recommendation.
Members
- expectedComplianceStatus
-
- Required: Yes
- Type: string
The expected compliance status after applying the recommended configuration change.
- expectedRpoDescription
-
- Type: string
The expected Recovery Point Objective (RPO) description after applying the recommended configuration change.
- expectedRpoInSecs
-
- Type: int
The expected RPO after applying the recommended configuration change.
- expectedRtoDescription
-
- Type: string
The expected Recovery Time Objective (RTO) description after applying the recommended configuration change.
- expectedRtoInSecs
-
- Type: int
The expected RTO after applying the recommended configuration change.
RecommendationItem
Description
Defines a recommendation.
Members
RecommendationTemplate
Description
Defines a recommendation template created with the CreateRecommendationTemplate action.
Members
- appArn
-
- Type: string
The Amazon Resource Name (ARN) of the AWS Resilience Hub application. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. - assessmentArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:app-assessment/app-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. - endTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The end time for the action.
- format
-
- Required: Yes
- Type: string
The format of the recommendation template.
- CfnJson
-
The template is CloudFormation JSON.
- CfnYaml
-
The template is CloudFormation YAML.
- message
-
- Type: string
The message for the recommendation template.
- name
-
- Required: Yes
- Type: string
The name for the recommendation template.
- needsReplacements
-
- Type: boolean
Indicates if replacements are needed.
- recommendationIds
-
- Type: Array of strings
Identifiers for the recommendations used in the recommendation template.
- recommendationTemplateArn
-
- Required: Yes
- Type: string
The Amazon Resource Name (ARN) for the recommendation template.
- recommendationTypes
-
- Required: Yes
- Type: Array of strings
An array of strings that specify the recommendation template type or types.
- Alarm
-
The template is an AlarmRecommendation template.
- Sop
-
The template is a SopRecommendation template.
- Test
-
The template is a TestRecommendation template.
- startTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The start time for the action.
- status
-
- Required: Yes
- Type: string
The status of the action.
- tags
-
- Type: Associative array of custom strings keys (TagKey) to strings
The tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key/value pair.
- templatesLocation
-
- Type: S3Location structure
The file location of the template.
ResiliencyPolicy
Description
Defines a resiliency policy.
Members
- creationTime
-
- Type: timestamp (string|DateTime or anything parsable by strtotime)
The timestamp for when the resiliency policy was created.
- dataLocationConstraint
-
- Type: string
Specifies a high-level geographical location constraint for where your resilience policy data can be stored.
- estimatedCostTier
-
- Type: string
Specifies the estimated cost tier of the resiliency policy.
- policy
-
- Type: Associative array of custom strings keys (DisruptionType) to FailurePolicy structures
The resiliency policy.
- policyArn
-
- Type: string
The Amazon Resource Name (ARN) of the resiliency policy. The format for this ARN is: arn:
partition
:resiliencehub:region
:account
:resiliency-policy/policy-id
. For more information about ARNs, see Amazon Resource Names (ARNs) in the AWS General Reference guide. - policyDescription
-
- Type: string
The description for the policy.
- policyName
-
- Type: string
The name of the policy
- tags
-
- Type: Associative array of custom strings keys (TagKey) to strings
The tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key/value pair.
- tier
-
- Type: string
The tier for this resiliency policy, ranging from the highest severity (
MissionCritical
) to lowest (NonCritical
).
ResiliencyScore
Description
The overall resiliency score, returned as an object that includes the disruption score and outage score.
Members
ResourceError
Description
Defines application resource errors.
Members
ResourceErrorsDetails
Description
A list of errors retrieving an application's resources.
Members
- hasMoreErrors
-
- Type: boolean
This indicates if there are more errors not listed in the resourceErrors list.
- resourceErrors
-
- Type: Array of ResourceError structures
A list of errors retrieving an application's resources.
ResourceMapping
Description
Defines a resource mapping.
Members
- appRegistryAppName
-
- Type: string
The name of the application this resource is mapped to.
- eksSourceName
-
- Type: string
The name of the Amazon Elastic Kubernetes Service cluster and namespace this resource belongs to.
This parameter accepts values in "eks-cluster/namespace" format.
- logicalStackName
-
- Type: string
The name of the CloudFormation stack this resource is mapped to.
- mappingType
-
- Required: Yes
- Type: string
Specifies the type of resource mapping.
- AppRegistryApp
-
The resource is mapped to another application. The name of the application is contained in the
appRegistryAppName
property. - CfnStack
-
The resource is mapped to a CloudFormation stack. The name of the CloudFormation stack is contained in the
logicalStackName
property. - Resource
-
The resource is mapped to another resource. The name of the resource is contained in the
resourceName
property. - ResourceGroup
-
The resource is mapped to an Resource Groups. The name of the resource group is contained in the
resourceGroupName
property.
- physicalResourceId
-
- Required: Yes
- Type: PhysicalResourceId structure
The identifier of this resource.
- resourceGroupName
-
- Type: string
The name of the resource group this resource is mapped to.
- resourceName
-
- Type: string
The name of the resource this resource is mapped to.
- terraformSourceName
-
- Type: string
The short name of the Terraform source.
ResourceNotFoundException
Description
This exception occurs when the specified resource could not be found.
Members
S3Location
Description
The location of the Amazon S3 bucket.
Members
ServiceQuotaExceededException
Description
This exception occurs when you have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.
Members
SopRecommendation
Description
Defines a standard operating procedure (SOP) recommendation.
Members
- appComponentName
-
- Type: string
The name of the Application Component.
- description
-
- Type: string
The description of the SOP recommendation.
- items
-
- Type: Array of RecommendationItem structures
The recommendation items.
- name
-
- Type: string
The name of the SOP recommendation.
- prerequisite
-
- Type: string
The prerequisite for the SOP recommendation.
- recommendationId
-
- Required: Yes
- Type: string
Identifier for the SOP recommendation.
- referenceId
-
- Required: Yes
- Type: string
The reference identifier for the SOP recommendation.
- serviceType
-
- Required: Yes
- Type: string
The service type.
TerraformSource
Description
The Terraform s3 state file you need to import.
Members
TestRecommendation
Description
Defines a test recommendation.
Members
- appComponentName
-
- Type: string
The name of the Application Component.
- dependsOnAlarms
-
- Type: Array of strings
A list of recommended alarms that are used in the test and must be exported before or with the test.
- description
-
- Type: string
The description for the test recommendation.
- intent
-
- Type: string
The intent of the test recommendation.
- items
-
- Type: Array of RecommendationItem structures
The test recommendation items.
- name
-
- Type: string
The name of the test recommendation.
- prerequisite
-
- Type: string
The prerequisite of the test recommendation.
- recommendationId
-
- Type: string
Identifier for the test recommendation.
- referenceId
-
- Required: Yes
- Type: string
The reference identifier for the test recommendation.
- risk
-
- Type: string
The level of risk for this test recommendation.
- type
-
- Type: string
The type of test recommendation.
ThrottlingException
Description
This exception occurs when you have exceeded the limit on the number of requests per second.
Members
UnsupportedResource
Description
Defines a resource that is not supported by Resilience Hub.
Members
- logicalResourceId
-
- Required: Yes
- Type: LogicalResourceId structure
The logical resource identifier for the unsupported resource.
- physicalResourceId
-
- Required: Yes
- Type: PhysicalResourceId structure
The physical resource identifier for the unsupported resource.
- resourceType
-
- Required: Yes
- Type: string
The type of resource.
- unsupportedResourceStatus
-
- Type: string
The status of unsupported resource.