Skip to content

describe_trust_store_revocations

describe_trust_store_revocations(
    *,
    config_overrides: Optional[ElasticLoadBalancingv2ClientConfig] = None,
    trust_store_arn: Optional[TrustStoreArn] = None,
    revocation_ids: Optional[RevocationIds] = None,
    marker: Optional[Marker] = None,
    page_size: Optional[PageSize] = None,
) -> DescribeTrustStoreRevocationsOutput

Describes the revocation files in use by the specified trust store or revocation files.

Parameters:

  • trust_store_arn (Optional[TrustStoreArn], default: None ) –

    The Amazon Resource Name (ARN) of the trust store.

  • revocation_ids (Optional[RevocationIds], default: None ) –

    The revocation IDs of the revocation files you want to describe.

  • marker (Optional[Marker], default: None ) –

    The marker for the next set of results. (You received this marker from a previous call.)

  • page_size (Optional[PageSize], default: None ) –

    The maximum number of results to return with this call.

Raises:

Source code in docs_src/capo_elastic_load_balancing_v2/_services/elastic_load_balancingv2.py
def describe_trust_store_revocations(
    self,
    *,
    config_overrides: Optional[ElasticLoadBalancingv2ClientConfig] = None,
    trust_store_arn: Optional[
        "capo_elastic_load_balancing_v2.types.trust_store_arn.TrustStoreArn"
    ] = None,
    revocation_ids: Optional[
        "capo_elastic_load_balancing_v2.types.revocation_ids.RevocationIds"
    ] = None,
    marker: Optional["capo_elastic_load_balancing_v2.types.marker.Marker"] = None,
    page_size: Optional[
        "capo_elastic_load_balancing_v2.types.page_size.PageSize"
    ] = None,
) -> "capo_elastic_load_balancing_v2.types.describe_trust_store_revocations_output.DescribeTrustStoreRevocationsOutput":
    """<p>Describes the revocation files in use by the specified trust store or revocation files.</p>

    Args:
        trust_store_arn: <p>The Amazon Resource Name (ARN) of the trust store.</p>
        revocation_ids: <p>The revocation IDs of the revocation files you want to describe.</p>
        marker: <p>The marker for the next set of results. (You received this marker from a previous call.)</p>
        page_size: <p>The maximum number of results to return with this call.</p>

    Raises:
        capo_elastic_load_balancing_v2.errors.revocation_id_not_found_exception.RevocationIdNotFoundException: <p>The specified revocation ID does not exist.</p>
        capo_elastic_load_balancing_v2.errors.trust_store_not_found_exception.TrustStoreNotFoundException: <p>The specified trust store does not exist.</p>
        capo_elastic_load_balancing_v2.errors.UnknownServiceError: The service returned an error code this client does not model.
    """

    def _handler(
        req: "OperationRequest[capo_elastic_load_balancing_v2.types.describe_trust_store_revocations_input.DescribeTrustStoreRevocationsInput]",
    ) -> OperationResponse[
        "capo_elastic_load_balancing_v2.types.describe_trust_store_revocations_output.DescribeTrustStoreRevocationsOutput"
    ]:
        import capo_elastic_load_balancing_v2._operations.elastic_load_balancing_v10.describe_trust_store_revocations

        output, http_response = (
            capo_elastic_load_balancing_v2._operations.elastic_load_balancing_v10.describe_trust_store_revocations.describe_trust_store_revocations(
                req.options, req.input
            )
        )
        return OperationResponse(output=output, response=http_response)

    interceptors_, options_ = self.operation_options(
        config_overrides, OperationLogging("DescribeTrustStoreRevocations")
    )
    input_: capo_elastic_load_balancing_v2.types.describe_trust_store_revocations_input.DescribeTrustStoreRevocationsInput = {}
    if trust_store_arn is not None:
        input_["trust_store_arn"] = trust_store_arn
    if revocation_ids is not None:
        input_["revocation_ids"] = revocation_ids
    if marker is not None:
        input_["marker"] = marker
    if page_size is not None:
        input_["page_size"] = page_size

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