describe_app_version_resource
¶
describe_app_version_resource(
app_arn: Arn,
app_version: EntityVersion,
*,
config_overrides: Optional[resiliencehubClientConfig] = None,
resource_name: Optional[EntityName] = None,
logical_resource_id: Optional[LogicalResourceId] = None,
physical_resource_id: Optional[String2048] = None,
aws_region: Optional[AwsRegion] = None,
aws_account_id: Optional[CustomerId] = None,
) -> DescribeAppVersionResourceResponse
Describes a resource of the Resilience Hub application.
This API accepts only one of the following parameters to describe the resource:
-
resourceName -
logicalResourceId -
physicalResourceId(Along withphysicalResourceId, you can also provideawsAccountId, andawsRegion)
Parameters:
-
app_arn(Arn) –Amazon Resource Name (ARN) of the 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 Amazon Web Services General Reference guide. -
app_version(EntityVersion) –Resilience Hub application version.
-
resource_name(Optional[EntityName], default:None) –Name of the resource.
-
logical_resource_id(Optional[LogicalResourceId], default:None) –Logical identifier of the resource.
-
physical_resource_id(Optional[String2048], default:None) –Physical identifier of the resource.
-
aws_region(Optional[AwsRegion], default:None) –Amazon Web Services region that owns the physical resource.
-
aws_account_id(Optional[CustomerId], default:None) –Amazon Web Services account that owns the physical resource.
Raises:
-
AccessDeniedException–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.
-
ConflictException–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.
-
InternalServerException–This exception occurs when there is an internal failure in the Resilience Hub service.
-
ResourceNotFoundException–This exception occurs when the specified resource could not be found.
-
ThrottlingException–This exception occurs when you have exceeded the limit on the number of requests per second.
-
ValidationException–This exception occurs when a request is not valid.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_resiliencehub/_services/resiliencehub.py
1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 | |