Skip to content

Commit 0448339

Browse files
authored
Update legacy documentation links (boto#3635)
1 parent 21f2554 commit 0448339

7 files changed

Lines changed: 9 additions & 12 deletions

File tree

.changes/1.12.0.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
},
1212
{
1313
"category": "Events",
14-
"description": "This migrates the event system to using sevice ids instead of either client name or endpoint prefix. This prevents issues that might arise when a service changes their endpoint prefix, also fixes a long-standing bug where you could not register an event to a particular service if it happened to share its endpoint prefix with another service (e.g. ``autoscaling`` and ``application-autoscaling`` both use the endpoint prefix ``autoscaling``). Please see the `upgrade notes <https://botocore.amazonaws.com/v1/documentation/api/latest/index.html#upgrade-notes>`_ to determine if you are impacted and how to proceed if you are.",
14+
"description": "This migrates the event system to using sevice ids instead of either client name or endpoint prefix. This prevents issues that might arise when a service changes their endpoint prefix, also fixes a long-standing bug where you could not register an event to a particular service if it happened to share its endpoint prefix with another service (e.g. ``autoscaling`` and ``application-autoscaling`` both use the endpoint prefix ``autoscaling``). Please see the `upgrade notes <https://docs.aws.amazon.com/botocore/latest/#upgrade-notes>`_ to determine if you are impacted and how to proceed if you are.",
1515
"type": "feature"
1616
}
1717
]

CHANGELOG.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18685,7 +18685,7 @@ AWS Marketplace OfferSets support for opportunities
1868518685

1868618686
* api-change:``logs``: Update logs client to latest version
1868718687
* api-change:``config``: Update config client to latest version
18688-
* feature:Events: This migrates the event system to using sevice ids instead of either client name or endpoint prefix. This prevents issues that might arise when a service changes their endpoint prefix, also fixes a long-standing bug where you could not register an event to a particular service if it happened to share its endpoint prefix with another service (e.g. ``autoscaling`` and ``application-autoscaling`` both use the endpoint prefix ``autoscaling``). Please see the `upgrade notes <https://botocore.amazonaws.com/v1/documentation/api/latest/index.html#upgrade-notes>`_ to determine if you are impacted and how to proceed if you are.
18688+
* feature:Events: This migrates the event system to using sevice ids instead of either client name or endpoint prefix. This prevents issues that might arise when a service changes their endpoint prefix, also fixes a long-standing bug where you could not register an event to a particular service if it happened to share its endpoint prefix with another service (e.g. ``autoscaling`` and ``application-autoscaling`` both use the endpoint prefix ``autoscaling``). Please see the `upgrade notes <https://docs.aws.amazon.com/botocore/latest/#upgrade-notes>`_ to determine if you are impacted and how to proceed if you are.
1868918689

1869018690

1869118691
1.11.9

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ Then, set up a default region (in e.g. ``~/.aws/config``):
7171
[default]
7272
region=us-east-1
7373
74-
Other credentials configuration method can be found `here <https://boto3.amazonaws.com/v1/documentation/api/latest/guide/credentials.html>`__
74+
Other credentials configuration method can be found `here <https://docs.aws.amazon.com/boto3/latest/guide/credentials.html>`__
7575

7676
Then, from a Python interpreter:
7777

botocore/docs/client.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -209,8 +209,7 @@ def _add_model_driven_method(self, section, method_name):
209209

210210
class ClientExceptionsDocumenter:
211211
_USER_GUIDE_LINK = (
212-
'https://boto3.amazonaws.com/'
213-
'v1/documentation/api/latest/guide/error-handling.html'
212+
'https://docs.aws.amazon.com/boto3/latest/guide/error-handling.html'
214213
)
215214
_GENERIC_ERROR_SHAPE = DocumentedShape(
216215
name='Error',
@@ -402,8 +401,7 @@ def _add_response_params(self, section, shape):
402401

403402
class ClientContextParamsDocumenter:
404403
_CONFIG_GUIDE_LINK = (
405-
'https://boto3.amazonaws.com/'
406-
'v1/documentation/api/latest/guide/configuration.html'
404+
'https://docs.aws.amazon.com/boto3/latest/guide/configuration.html'
407405
)
408406

409407
OMITTED_CONTEXT_PARAMS = {

botocore/docs/paginator.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ def __init__(self, client, service_paginator_model, root_docs_path):
2828
self._service_paginator_model = service_paginator_model
2929
self._root_docs_path = root_docs_path
3030
self._USER_GUIDE_LINK = (
31-
'https://boto3.amazonaws.com/'
32-
'v1/documentation/api/latest/guide/paginators.html'
31+
'https://docs.aws.amazon.com/boto3/latest/guide/paginators.html'
3332
)
3433

3534
def document_paginators(self, section):

botocore/docs/waiter.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ def __init__(self, client, service_waiter_model, root_docs_path):
2828
self._service_waiter_model = service_waiter_model
2929
self._root_docs_path = root_docs_path
3030
self._USER_GUIDE_LINK = (
31-
'https://boto3.amazonaws.com/'
32-
'v1/documentation/api/latest/guide/clients.html#waiters'
31+
'https://docs.aws.amazon.com/'
32+
'boto3/latest/guide/clients.html#waiters'
3333
)
3434

3535
def document_waiters(self, section):

docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Botocore Documentation
22

3-
Documentation for botocore can be found [here](https://botocore.amazonaws.com/v1/documentation/api/latest/index.html)
3+
Documentation for botocore can be found [here](https://docs.aws.amazon.com/botocore/latest/)
44

55
## Generating Documentation
66

0 commit comments

Comments
 (0)