DataZone / Client / associate_environment_role

associate_environment_role#

DataZone.Client.associate_environment_role(**kwargs)#

Associates the environment role in Amazon DataZone.

See also: AWS API Documentation

Request Syntax

response = client.associate_environment_role(
    domainIdentifier='string',
    environmentIdentifier='string',
    environmentRoleArn='string'
)
Parameters:
  • domainIdentifier (string) –

    [REQUIRED]

    The ID of the Amazon DataZone domain in which the environment role is associated.

  • environmentIdentifier (string) –

    [REQUIRED]

    The ID of the Amazon DataZone environment.

  • environmentRoleArn (string) –

    [REQUIRED]

    The ARN of the environment role.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • DataZone.Client.exceptions.InternalServerException

  • DataZone.Client.exceptions.ResourceNotFoundException

  • DataZone.Client.exceptions.AccessDeniedException

  • DataZone.Client.exceptions.ThrottlingException

  • DataZone.Client.exceptions.ConflictException

  • DataZone.Client.exceptions.ValidationException

  • DataZone.Client.exceptions.UnauthorizedException