Skip to content

update_configured_table_association async

update_configured_table_association(
    configured_table_association_identifier: ConfiguredTableAssociationIdentifier,
    membership_identifier: MembershipIdentifier,
    *,
    config_overrides: Optional[AsyncCleanRoomsClientConfig] = None,
    description: Optional[TableDescription] = None,
    role_arn: Optional[RoleArn] = None,
) -> UpdateConfiguredTableAssociationOutput

Updates a configured table association.

Parameters:

  • configured_table_association_identifier (ConfiguredTableAssociationIdentifier) –

    The unique identifier for the configured table association to update. Currently accepts the configured table association ID.

  • membership_identifier (MembershipIdentifier) –

    The unique ID for the membership that the configured table association belongs to.

  • description (Optional[TableDescription], default: None ) –

    A new description for the configured table association.

  • role_arn (Optional[RoleArn], default: None ) –

    The service will assume this role to access catalog metadata and query the table.

Raises:

Source code in docs_src/capo_cleanrooms/_services/async_clean_rooms.py
async def update_configured_table_association(
    self,
    configured_table_association_identifier: "capo_cleanrooms.types.configured_table_association_identifier.ConfiguredTableAssociationIdentifier",
    membership_identifier: "capo_cleanrooms.types.membership_identifier.MembershipIdentifier",
    *,
    config_overrides: Optional[AsyncCleanRoomsClientConfig] = None,
    description: Optional[
        "capo_cleanrooms.types.table_description.TableDescription"
    ] = None,
    role_arn: Optional["capo_cleanrooms.types.role_arn.RoleArn"] = None,
) -> "capo_cleanrooms.types.update_configured_table_association_output.UpdateConfiguredTableAssociationOutput":
    """<p>Updates a configured table association.</p>

    Args:
        configured_table_association_identifier: <p>The unique identifier for the configured table association to update. Currently accepts the configured table association ID.</p>
        membership_identifier: <p>The unique ID for the membership that the configured table association belongs to.</p>
        description: <p>A new description for the configured table association.</p>
        role_arn: <p>The service will assume this role to access catalog metadata and query the table.</p>

    Raises:
        capo_cleanrooms.errors.access_denied_exception.AccessDeniedException: <p>Caller does not have sufficient access to perform this action.</p>
        capo_cleanrooms.errors.conflict_exception.ConflictException: <p>Updating or deleting a resource can cause an inconsistent state.</p>
        capo_cleanrooms.errors.internal_server_exception.InternalServerException: <p>Unexpected error during processing of request.</p>
        capo_cleanrooms.errors.resource_not_found_exception.ResourceNotFoundException: <p>Request references a resource which does not exist.</p>
        capo_cleanrooms.errors.throttling_exception.ThrottlingException: <p>Request was denied due to request throttling.</p>
        capo_cleanrooms.errors.validation_exception.ValidationException: <p>The input fails to satisfy the specified constraints.</p>
        capo_cleanrooms.errors.UnknownServiceError: The service returned an error code this client does not model.
    """

    async def _handler(
        req: "AsyncOperationRequest[capo_cleanrooms.types.update_configured_table_association_input.UpdateConfiguredTableAssociationInput]",
    ) -> AsyncOperationResponse[
        "capo_cleanrooms.types.update_configured_table_association_output.UpdateConfiguredTableAssociationOutput"
    ]:
        import capo_cleanrooms._operations.aws_bastion_control_plane_service_lambda.update_configured_table_association

        (
            output,
            http_response,
        ) = await capo_cleanrooms._operations.aws_bastion_control_plane_service_lambda.update_configured_table_association.async_update_configured_table_association(
            req.options, req.input
        )
        return AsyncOperationResponse(output=output, response=http_response)

    interceptors_, options_ = self.operation_options(
        config_overrides, OperationLogging("UpdateConfiguredTableAssociation")
    )
    input_: capo_cleanrooms.types.update_configured_table_association_input.UpdateConfiguredTableAssociationInput = {
        "configured_table_association_identifier": configured_table_association_identifier,
        "membership_identifier": membership_identifier,
    }
    if description is not None:
        input_["description"] = description
    if role_arn is not None:
        input_["role_arn"] = role_arn

    response = await aexecute_pipeline(
        AsyncOperationRequest(input=input_, options=options_),
        handler=_handler,
        interceptors=list(interceptors_),
    )
    await response.response.aclose()
    return response.output