Skip to content

update_id_mapping_table async

update_id_mapping_table(
    id_mapping_table_identifier: UUID,
    membership_identifier: MembershipIdentifier,
    *,
    config_overrides: Optional[AsyncCleanRoomsClientConfig] = None,
    description: Optional[ResourceDescription] = None,
    kms_key_arn: Optional[KMSKeyArn] = None,
) -> UpdateIdMappingTableOutput

Provides the details that are necessary to update an ID mapping table.

Parameters:

  • id_mapping_table_identifier (UUID) –

    The unique identifier of the ID mapping table that you want to update.

  • membership_identifier (MembershipIdentifier) –

    The unique identifier of the membership that contains the ID mapping table that you want to update.

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

    A new description for the ID mapping table.

  • kms_key_arn (Optional[KMSKeyArn], default: None ) –

    The Amazon Resource Name (ARN) of the Amazon Web Services KMS key.

Raises:

Source code in docs_src/capo_cleanrooms/_services/async_clean_rooms.py
async def update_id_mapping_table(
    self,
    id_mapping_table_identifier: "capo_cleanrooms.types.uuid.UUID",
    membership_identifier: "capo_cleanrooms.types.membership_identifier.MembershipIdentifier",
    *,
    config_overrides: Optional[AsyncCleanRoomsClientConfig] = None,
    description: Optional[
        "capo_cleanrooms.types.resource_description.ResourceDescription"
    ] = None,
    kms_key_arn: Optional["capo_cleanrooms.types.kms_key_arn.KMSKeyArn"] = None,
) -> "capo_cleanrooms.types.update_id_mapping_table_output.UpdateIdMappingTableOutput":
    """<p>Provides the details that are necessary to update an ID mapping table.</p>

    Args:
        id_mapping_table_identifier: <p>The unique identifier of the ID mapping table that you want to update.</p>
        membership_identifier: <p>The unique identifier of the membership that contains the ID mapping table that you want to update.</p>
        description: <p>A new description for the ID mapping table.</p>
        kms_key_arn: <p>The Amazon Resource Name (ARN) of the Amazon Web Services KMS key.</p>

    Raises:
        capo_cleanrooms.errors.access_denied_exception.AccessDeniedException: <p>Caller does not have sufficient access to perform this action.</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_id_mapping_table_input.UpdateIdMappingTableInput]",
    ) -> AsyncOperationResponse[
        "capo_cleanrooms.types.update_id_mapping_table_output.UpdateIdMappingTableOutput"
    ]:
        import capo_cleanrooms._operations.aws_bastion_control_plane_service_lambda.update_id_mapping_table

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

    interceptors_, options_ = self.operation_options(
        config_overrides, OperationLogging("UpdateIdMappingTable")
    )
    input_: capo_cleanrooms.types.update_id_mapping_table_input.UpdateIdMappingTableInput = {
        "id_mapping_table_identifier": id_mapping_table_identifier,
        "membership_identifier": membership_identifier,
    }
    if description is not None:
        input_["description"] = description
    if kms_key_arn is not None:
        input_["kms_key_arn"] = kms_key_arn

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