associate_benefit_application_resource
async
¶
associate_benefit_application_resource(
catalog: CatalogName,
benefit_application_identifier: BenefitApplicationIdentifier,
resource_arn: Arn,
*,
config_overrides: Optional[AsyncPartnerCentralBenefitsClientConfig] = None,
) -> AssociateBenefitApplicationResourceOutput
Links an AWS resource to an existing benefit application for tracking and management purposes.
Parameters:
-
catalog(CatalogName) –The catalog identifier that specifies which benefit catalog the application belongs to.
-
benefit_application_identifier(BenefitApplicationIdentifier) –The unique identifier of the benefit application to associate the resource with.
-
resource_arn(Arn) –The Amazon Resource Name (ARN) of the AWS resource to associate with the benefit application.
Raises:
-
AccessDeniedException–Thrown when the caller does not have sufficient permissions to perform the requested operation.
-
ConflictException–Thrown when the request conflicts with the current state of the resource, such as attempting to modify a resource that has been changed by another process.
-
InternalServerException–Thrown when an unexpected error occurs on the server side during request processing.
-
ResourceNotFoundException–Thrown when the requested resource cannot be found or does not exist.
-
ThrottlingException–Thrown when the request rate exceeds the allowed limits and the request is being throttled.
-
ValidationException–Thrown when the request contains invalid parameters or fails input validation requirements.
-
UnknownServiceError–The service returned an error code this client does not model.