PartnerCentralBenefits / Client / associate_benefit_application_resource

associate_benefit_application_resource

PartnerCentralBenefits.Client.associate_benefit_application_resource(**kwargs)

Links an AWS resource to an existing benefit application for tracking and management purposes.

See also: AWS API Documentation

Request Syntax

response = client.associate_benefit_application_resource(
    Catalog='string',
    BenefitApplicationIdentifier='string',
    ResourceArn='string'
)
Parameters:
  • Catalog (string) –

    [REQUIRED]

    The catalog identifier that specifies which benefit catalog the application belongs to.

  • BenefitApplicationIdentifier (string) –

    [REQUIRED]

    The unique identifier of the benefit application to associate the resource with.

  • ResourceArn (string) –

    [REQUIRED]

    The Amazon Resource Name (ARN) of the AWS resource to associate with the benefit application.

Return type:

dict

Returns:

Response Syntax

{
    'Id': 'string',
    'Arn': 'string',
    'Revision': 'string'
}

Response Structure

  • (dict) –

    • Id (string) –

      The unique identifier of the benefit application after the resource association.

    • Arn (string) –

      The Amazon Resource Name (ARN) of the benefit application after the resource association.

    • Revision (string) –

      The updated revision number of the benefit application after the resource association.

Exceptions

  • PartnerCentralBenefits.Client.exceptions.ValidationException

  • PartnerCentralBenefits.Client.exceptions.AccessDeniedException

  • PartnerCentralBenefits.Client.exceptions.InternalServerException

  • PartnerCentralBenefits.Client.exceptions.ConflictException

  • PartnerCentralBenefits.Client.exceptions.ThrottlingException

  • PartnerCentralBenefits.Client.exceptions.ResourceNotFoundException