Skip to content

describe_change_set async

describe_change_set(
    catalog: Catalog,
    change_set_id: ResourceId,
    *,
    config_overrides: Optional[AsyncMarketplaceCatalogClientConfig] = None,
) -> DescribeChangeSetResponse

Provides information about a given change set.

Parameters:

  • catalog (Catalog) –

    Required. The catalog related to the request. Fixed value: AWSMarketplace

  • change_set_id (ResourceId) –

    Required. The unique identifier for the StartChangeSet request that you want to describe the details for.

Raises:

Source code in docs_src/capo_marketplace_catalog/_services/async_marketplace_catalog.py
async def describe_change_set(
    self,
    catalog: "capo_marketplace_catalog.types.catalog.Catalog",
    change_set_id: "capo_marketplace_catalog.types.resource_id.ResourceId",
    *,
    config_overrides: Optional[AsyncMarketplaceCatalogClientConfig] = None,
) -> "capo_marketplace_catalog.types.describe_change_set_response.DescribeChangeSetResponse":
    """<p>Provides information about a given change set.</p>

    Args:
        catalog: <p>Required. The catalog related to the request. Fixed value: <code>AWSMarketplace</code> </p>
        change_set_id: <p>Required. The unique identifier for the <code>StartChangeSet</code> request that you want to describe the details for.</p>

    Raises:
        capo_marketplace_catalog.errors.access_denied_exception.AccessDeniedException: <p>Access is denied.</p> <p>HTTP status code: 403</p>
        capo_marketplace_catalog.errors.internal_service_exception.InternalServiceException: <p>There was an internal service exception.</p> <p>HTTP status code: 500</p>
        capo_marketplace_catalog.errors.resource_not_found_exception.ResourceNotFoundException: <p>The specified resource wasn't found.</p> <p>HTTP status code: 404</p>
        capo_marketplace_catalog.errors.throttling_exception.ThrottlingException: <p>Too many requests.</p> <p>HTTP status code: 429</p>
        capo_marketplace_catalog.errors.validation_exception.ValidationException: <p>An error occurred during validation.</p> <p>HTTP status code: 422</p>
        capo_marketplace_catalog.errors.UnknownServiceError: The service returned an error code this client does not model.
    """

    async def _handler(
        req: "AsyncOperationRequest[capo_marketplace_catalog.types.describe_change_set_request.DescribeChangeSetRequest]",
    ) -> AsyncOperationResponse[
        "capo_marketplace_catalog.types.describe_change_set_response.DescribeChangeSetResponse"
    ]:
        import capo_marketplace_catalog._operations.awsmp_seymour.describe_change_set

        (
            output,
            http_response,
        ) = await capo_marketplace_catalog._operations.awsmp_seymour.describe_change_set.async_describe_change_set(
            req.options, req.input
        )
        return AsyncOperationResponse(output=output, response=http_response)

    interceptors_, options_ = self.operation_options(
        config_overrides, OperationLogging("DescribeChangeSet")
    )
    input_: capo_marketplace_catalog.types.describe_change_set_request.DescribeChangeSetRequest = {
        "catalog": catalog,
        "change_set_id": change_set_id,
    }

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