Skip to content

get_signed_bluinsights_url async

get_signed_bluinsights_url(
    *, config_overrides: Optional[Asyncm2ClientConfig] = None
) -> GetSignedBluinsightsUrlResponse

Gets a single sign-on URL that can be used to connect to AWS Blu Insights.

Raises:

Source code in docs_src/capo_m2/_services/async_m2.py
async def get_signed_bluinsights_url(
    self, *, config_overrides: Optional[Asyncm2ClientConfig] = None
) -> "capo_m2.types.get_signed_bluinsights_url_response.GetSignedBluinsightsUrlResponse":
    """<p>Gets a single sign-on URL that can be used to connect to AWS Blu Insights.</p>

    Raises:
        capo_m2.errors.access_denied_exception.AccessDeniedException: <p>The account or role doesn't have the right permissions to make the request.</p>
        capo_m2.errors.internal_server_exception.InternalServerException: <p>An unexpected error occurred during the processing of the request.</p>
        capo_m2.errors.throttling_exception.ThrottlingException: <p>The number of requests made exceeds the limit.</p>
        capo_m2.errors.UnknownServiceError: The service returned an error code this client does not model.
    """

    async def _handler(
        req: "AsyncOperationRequest[None]",
    ) -> AsyncOperationResponse[
        "capo_m2.types.get_signed_bluinsights_url_response.GetSignedBluinsightsUrlResponse"
    ]:
        import capo_m2._operations.aws_supernova_control_plane_service.get_signed_bluinsights_url

        (
            output,
            http_response,
        ) = await capo_m2._operations.aws_supernova_control_plane_service.get_signed_bluinsights_url.async_get_signed_bluinsights_url(
            req.options
        )
        return AsyncOperationResponse(output=output, response=http_response)

    interceptors_, options_ = self.operation_options(
        config_overrides, OperationLogging("GetSignedBluinsightsUrl")
    )

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