Skip to content

get_data_integration_event

get_data_integration_event(
    instance_id: UUID,
    event_id: UUID,
    *,
    config_overrides: Optional[SupplyChainClientConfig] = None,
) -> GetDataIntegrationEventResponse

Enables you to programmatically view an Amazon Web Services Supply Chain Data Integration Event. Developers can view the eventType, eventGroupId, eventTimestamp, datasetTarget, datasetLoadExecution.

Parameters:

  • instance_id (UUID) –

    The Amazon Web Services Supply Chain instance identifier.

  • event_id (UUID) –

    The unique event identifier.

Raises:

Examples:

Successful GetDataIntegrationEvent

>>> client.get_data_integration_event(instance_id='8928ae12-15e5-4441-825d-ec2184f0a43a', event_id='19739c8e-cd2e-4cbc-a2f7-0dc43239f042')
Source code in docs_src/capo_supplychain/_services/supply_chain.py
def get_data_integration_event(
    self,
    instance_id: "capo_supplychain.types.uuid.UUID",
    event_id: "capo_supplychain.types.uuid.UUID",
    *,
    config_overrides: Optional[SupplyChainClientConfig] = None,
) -> "capo_supplychain.types.get_data_integration_event_response.GetDataIntegrationEventResponse":
    """<p>Enables you to programmatically view an Amazon Web Services Supply Chain Data Integration Event. Developers can view the eventType, eventGroupId, eventTimestamp, datasetTarget, datasetLoadExecution.</p>

    Args:
        instance_id: <p>The Amazon Web Services Supply Chain instance identifier.</p>
        event_id: <p>The unique event identifier.</p>

    Raises:
        capo_supplychain.errors.access_denied_exception.AccessDeniedException: <p>You do not have the required privileges to perform this action.</p>
        capo_supplychain.errors.conflict_exception.ConflictException: <p>Updating or deleting a resource can cause an inconsistent state.</p>
        capo_supplychain.errors.internal_server_exception.InternalServerException: <p>Unexpected error during processing of request.</p>
        capo_supplychain.errors.resource_not_found_exception.ResourceNotFoundException: <p>Request references a resource which does not exist.</p>
        capo_supplychain.errors.service_quota_exceeded_exception.ServiceQuotaExceededException: <p>Request would cause a service quota to be exceeded.</p>
        capo_supplychain.errors.throttling_exception.ThrottlingException: <p>Request was denied due to request throttling.</p>
        capo_supplychain.errors.validation_exception.ValidationException: <p>The input does not satisfy the constraints specified by an AWS service.</p>
        capo_supplychain.errors.UnknownServiceError: The service returned an error code this client does not model.

    Examples:
        Successful GetDataIntegrationEvent

        >>> client.get_data_integration_event(instance_id='8928ae12-15e5-4441-825d-ec2184f0a43a', event_id='19739c8e-cd2e-4cbc-a2f7-0dc43239f042')
    """

    def _handler(
        req: "OperationRequest[capo_supplychain.types.get_data_integration_event_request.GetDataIntegrationEventRequest]",
    ) -> OperationResponse[
        "capo_supplychain.types.get_data_integration_event_response.GetDataIntegrationEventResponse"
    ]:
        import capo_supplychain._operations.galaxy_public_api_gateway.get_data_integration_event

        output, http_response = (
            capo_supplychain._operations.galaxy_public_api_gateway.get_data_integration_event.get_data_integration_event(
                req.options, req.input
            )
        )
        return OperationResponse(output=output, response=http_response)

    interceptors_, options_ = self.operation_options(
        config_overrides, OperationLogging("GetDataIntegrationEvent")
    )
    input_: capo_supplychain.types.get_data_integration_event_request.GetDataIntegrationEventRequest = {
        "instance_id": instance_id,
        "event_id": event_id,
    }

    response = execute_pipeline(
        OperationRequest(input=input_, options=options_),
        handler=_handler,
        interceptors=list(interceptors_),
    )
    response.response.close()
    return response.output