Retrieves the ca certificate bundle.
This action returns a pre-signed S3 URI which is active for ten minutes.
Parameters:
-
trust_store_arn
(Optional[TrustStoreArn], default:
None
)
–
The Amazon Resource Name (ARN) of the trust store.
Raises:
Source code in docs_src/capo_elastic_load_balancing_v2/_services/async_elastic_load_balancingv2.py
| async def get_trust_store_ca_certificates_bundle(
self,
*,
config_overrides: Optional[AsyncElasticLoadBalancingv2ClientConfig] = None,
trust_store_arn: Optional[
"capo_elastic_load_balancing_v2.types.trust_store_arn.TrustStoreArn"
] = None,
) -> "capo_elastic_load_balancing_v2.types.get_trust_store_ca_certificates_bundle_output.GetTrustStoreCaCertificatesBundleOutput":
"""<p>Retrieves the ca certificate bundle.</p> <p>This action returns a pre-signed S3 URI which is active for ten minutes.</p>
Args:
trust_store_arn: <p>The Amazon Resource Name (ARN) of the trust store.</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.
"""
async def _handler(
req: "AsyncOperationRequest[capo_elastic_load_balancing_v2.types.get_trust_store_ca_certificates_bundle_input.GetTrustStoreCaCertificatesBundleInput]",
) -> AsyncOperationResponse[
"capo_elastic_load_balancing_v2.types.get_trust_store_ca_certificates_bundle_output.GetTrustStoreCaCertificatesBundleOutput"
]:
import capo_elastic_load_balancing_v2._operations.elastic_load_balancing_v10.get_trust_store_ca_certificates_bundle
(
output,
http_response,
) = await capo_elastic_load_balancing_v2._operations.elastic_load_balancing_v10.get_trust_store_ca_certificates_bundle.async_get_trust_store_ca_certificates_bundle(
req.options, req.input
)
return AsyncOperationResponse(output=output, response=http_response)
interceptors_, options_ = self.operation_options(
config_overrides, OperationLogging("GetTrustStoreCaCertificatesBundle")
)
input_: capo_elastic_load_balancing_v2.types.get_trust_store_ca_certificates_bundle_input.GetTrustStoreCaCertificatesBundleInput = {}
if trust_store_arn is not None:
input_["trust_store_arn"] = trust_store_arn
response = await aexecute_pipeline(
AsyncOperationRequest(input=input_, options=options_),
handler=_handler,
interceptors=list(interceptors_),
)
await response.response.aclose()
return response.output
|