Skip to content

describe_trust_stores

describe_trust_stores(
    *,
    config_overrides: Optional[ElasticLoadBalancingv2ClientConfig] = None,
    trust_store_arns: Optional[TrustStoreArns] = None,
    names: Optional[TrustStoreNames] = None,
    marker: Optional[Marker] = None,
    page_size: Optional[PageSize] = None,
) -> DescribeTrustStoresOutput

Describes all trust stores for the specified account.

Parameters:

  • trust_store_arns (Optional[TrustStoreArns], default: None ) –

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

  • names (Optional[TrustStoreNames], default: None ) –

    The names of the trust stores.

  • 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_stores(
    self,
    *,
    config_overrides: Optional[ElasticLoadBalancingv2ClientConfig] = None,
    trust_store_arns: Optional[
        "capo_elastic_load_balancing_v2.types.trust_store_arns.TrustStoreArns"
    ] = None,
    names: Optional[
        "capo_elastic_load_balancing_v2.types.trust_store_names.TrustStoreNames"
    ] = 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_stores_output.DescribeTrustStoresOutput":
    """<p>Describes all trust stores for the specified account.</p>

    Args:
        trust_store_arns: <p>The Amazon Resource Name (ARN) of the trust store.</p>
        names: <p>The names of the trust stores.</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.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_stores_input.DescribeTrustStoresInput]",
    ) -> OperationResponse[
        "capo_elastic_load_balancing_v2.types.describe_trust_stores_output.DescribeTrustStoresOutput"
    ]:
        import capo_elastic_load_balancing_v2._operations.elastic_load_balancing_v10.describe_trust_stores

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

    interceptors_, options_ = self.operation_options(
        config_overrides, OperationLogging("DescribeTrustStores")
    )
    input_: capo_elastic_load_balancing_v2.types.describe_trust_stores_input.DescribeTrustStoresInput = {}
    if trust_store_arns is not None:
        input_["trust_store_arns"] = trust_store_arns
    if names is not None:
        input_["names"] = names
    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