WellArchitected / Client / associate_profiles

associate_profiles#

WellArchitected.Client.associate_profiles(**kwargs)#

Associate a profile with a workload.

See also: AWS API Documentation

Request Syntax

response = client.associate_profiles(
    WorkloadId='string',
    ProfileArns=[
        'string',
    ]
)
Parameters:
  • WorkloadId (string) –

    [REQUIRED]

    The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

  • ProfileArns (list) –

    [REQUIRED]

    The list of profile ARNs to associate with the workload.

    • (string) –

Returns:

None

Exceptions

  • WellArchitected.Client.exceptions.ValidationException

  • WellArchitected.Client.exceptions.ResourceNotFoundException

  • WellArchitected.Client.exceptions.ConflictException

  • WellArchitected.Client.exceptions.InternalServerException

  • WellArchitected.Client.exceptions.AccessDeniedException

  • WellArchitected.Client.exceptions.ThrottlingException