Skip to content

disallow_intermediate_table async

disallow_intermediate_table(
    membership_identifier: MembershipIdentifier,
    intermediate_table_name: DisplayName,
    *,
    config_overrides: Optional[AsyncCleanRoomsClientConfig] = None,
    include_descendants: Optional[bool] = None,
) -> DisallowIntermediateTableOutput

Marks an intermediate table as invalid when it references the caller's base table. The data provider (base table owner) calls this operation, not the intermediate table owner. By default, the operation also marks all descendant intermediate tables as invalid.

Parameters:

  • membership_identifier (MembershipIdentifier) –

    The unique identifier of the membership that contains the intermediate table to disallow.

  • intermediate_table_name (DisplayName) –

    The name of the intermediate table to disallow.

  • include_descendants (Optional[bool], default: None ) –

    Specifies whether to cascade the disallow action to descendant intermediate tables. Default is true.

Raises:

Source code in docs_src/capo_cleanrooms/_services/async_clean_rooms.py
async def disallow_intermediate_table(
    self,
    membership_identifier: "capo_cleanrooms.types.membership_identifier.MembershipIdentifier",
    intermediate_table_name: "capo_cleanrooms.types.display_name.DisplayName",
    *,
    config_overrides: Optional[AsyncCleanRoomsClientConfig] = None,
    include_descendants: Optional[bool] = None,
) -> "capo_cleanrooms.types.disallow_intermediate_table_output.DisallowIntermediateTableOutput":
    """<p>Marks an intermediate table as invalid when it references the caller's base table. The data provider (base table owner) calls this operation, not the intermediate table owner. By default, the operation also marks all descendant intermediate tables as invalid.</p>

    Args:
        membership_identifier: <p>The unique identifier of the membership that contains the intermediate table to disallow.</p>
        intermediate_table_name: <p>The name of the intermediate table to disallow.</p>
        include_descendants: <p>Specifies whether to cascade the disallow action to descendant intermediate tables. Default is <code>true</code>.</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.disallow_intermediate_table_input.DisallowIntermediateTableInput]",
    ) -> AsyncOperationResponse[
        "capo_cleanrooms.types.disallow_intermediate_table_output.DisallowIntermediateTableOutput"
    ]:
        import capo_cleanrooms._operations.aws_bastion_control_plane_service_lambda.disallow_intermediate_table

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

    interceptors_, options_ = self.operation_options(
        config_overrides, OperationLogging("DisallowIntermediateTable")
    )
    input_: capo_cleanrooms.types.disallow_intermediate_table_input.DisallowIntermediateTableInput = {
        "membership_identifier": membership_identifier,
        "intermediate_table_name": intermediate_table_name,
    }
    if include_descendants is not None:
        input_["include_descendants"] = include_descendants

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