Retrieves the details of a certificate association with a responder gateway.
Parameters:
-
gateway_id
(GatewayId)
–
The unique identifier of the gateway.
-
acm_certificate_arn
(AcmCertificateArn)
–
The Amazon Resource Name (ARN) of the ACM certificate.
Raises:
Examples:
Get certificate association details from a responder gateway
Retrieve details of an ACM certificate association with a responder gateway
>>> client.get_certificate_association(gateway_id='rtb-gw-12345678', acm_certificate_arn='arn:aws:acm:us-east-1:123456789012:certificate/12345678-1234-1234-1234-123456789012')
Source code in docs_src/capo_rtbfabric/_services/rtb_fabric.py
| def get_certificate_association(
self,
gateway_id: "capo_rtbfabric.types.gateway_id.GatewayId",
acm_certificate_arn: "capo_rtbfabric.types.acm_certificate_arn.AcmCertificateArn",
*,
config_overrides: Optional[RTBFabricClientConfig] = None,
) -> "capo_rtbfabric.types.get_certificate_association_response.GetCertificateAssociationResponse":
"""<p>Retrieves the details of a certificate association with a responder gateway.</p>
Args:
gateway_id: <p>The unique identifier of the gateway.</p>
acm_certificate_arn: <p>The Amazon Resource Name (ARN) of the ACM certificate.</p>
Raises:
capo_rtbfabric.errors.access_denied_exception.AccessDeniedException: <p>The request could not be completed because you do not have sufficient access to perform this action.</p>
capo_rtbfabric.errors.internal_server_exception.InternalServerException: <p>The request could not be completed because of an internal server error. Try your call again.</p>
capo_rtbfabric.errors.resource_not_found_exception.ResourceNotFoundException: <p>The request could not be completed because the resource does not exist.</p>
capo_rtbfabric.errors.throttling_exception.ThrottlingException: <p>The request was denied due to request throttling.</p>
capo_rtbfabric.errors.validation_exception.ValidationException: <p>The request could not be completed because it fails satisfy the constraints specified by the service.</p>
capo_rtbfabric.errors.UnknownServiceError: The service returned an error code this client does not model.
Examples:
Get certificate association details from a responder gateway
Retrieve details of an ACM certificate association with a responder gateway
>>> client.get_certificate_association(gateway_id='rtb-gw-12345678', acm_certificate_arn='arn:aws:acm:us-east-1:123456789012:certificate/12345678-1234-1234-1234-123456789012')
"""
def _handler(
req: "OperationRequest[capo_rtbfabric.types.get_certificate_association_request.GetCertificateAssociationRequest]",
) -> OperationResponse[
"capo_rtbfabric.types.get_certificate_association_response.GetCertificateAssociationResponse"
]:
import capo_rtbfabric._operations.rtb_fabric.get_certificate_association
output, http_response = (
capo_rtbfabric._operations.rtb_fabric.get_certificate_association.get_certificate_association(
req.options, req.input
)
)
return OperationResponse(output=output, response=http_response)
interceptors_, options_ = self.operation_options(
config_overrides, OperationLogging("GetCertificateAssociation")
)
input_: capo_rtbfabric.types.get_certificate_association_request.GetCertificateAssociationRequest = {
"gateway_id": gateway_id,
"acm_certificate_arn": acm_certificate_arn,
}
response = execute_pipeline(
OperationRequest(input=input_, options=options_),
handler=_handler,
interceptors=list(interceptors_),
)
response.response.close()
return response.output
|