Skip to content

Commit 9674a96

Browse files
committed
feat(ssl): fix docs 2
1 parent acd0abb commit 9674a96

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

doc/source/sdk/guides/apig.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1424,7 +1424,7 @@ Deleting an SSL Certificate
14241424
This example demonstrates how to delete an SSL certificate
14251425
from the API Gateway.
14261426

1427-
.. literalinclude:: ../examples/apig/delete_ssl_certificate.py
1427+
.. literalinclude:: ../examples/apig/delete_ssl_cert.py
14281428
:lines: 16-20
14291429

14301430
Modifying an SSL Certificate

doc/source/sdk/resources/apig/v2/ssl_domain.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ The SslDomain Class
88
The ``SslDomain`` class inherits from
99
:class:`~otcextensions.sdk.sdk_resource.Resource`.
1010

11-
.. autoclass:: otcextensions.sdk.apig.v2.ssl_certificate.SslDomain
11+
.. autoclass:: otcextensions.sdk.apig.v2.ssl_domain.SslDomain
1212
:members:

otcextensions/sdk/apig/v2/_proxy.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3393,10 +3393,10 @@ def domains_for_certificate(self, ssl_certificate, **attrs):
33933393
)
33943394

33953395
def bind_ssl_certificates_for_domain(self, ssl_certificate, **attrs):
3396-
"""
3397-
List all SSL certificates bound to a domain
3396+
"""List all SSL certificates bound to a domain
33983397
This method retrieves all SSL certificates that are currently bound
33993398
to the specified domain within an API Gateway instance.
3399+
34003400
:param ssl_certificate: The ID or an instance of
34013401
:class:`~otcextensions.sdk.apig.v2.ssl_certificate.SslCertificate`
34023402
:param attrs: Optional query parameters for filtering the list
@@ -3414,8 +3414,7 @@ def bind_ssl_certificates_for_domain(self, ssl_certificate, **attrs):
34143414
)
34153415

34163416
def unbind_ssl_certificates_for_domain(self, ssl_certificate, **attrs):
3417-
"""
3418-
Unbind an SSL certificate from a domain
3417+
"""Unbind an SSL certificate from a domain
34193418
This method unbinds the specified SSL certificate from a domain
34203419
within an API Gateway instance.
34213420

0 commit comments

Comments
 (0)