Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- testbed/boto__botocore/tests/functional/__init__.py +83 -0
- testbed/boto__botocore/tests/functional/conftest.py +27 -0
- testbed/boto__botocore/tests/functional/endpoint-rules/application-signals/endpoint-tests-1.json +201 -0
- testbed/boto__botocore/tests/functional/endpoint-rules/apptest/endpoint-tests-1.json +314 -0
- testbed/boto__botocore/tests/functional/endpoint-rules/artifact/endpoint-tests-1.json +314 -0
- testbed/boto__botocore/tests/functional/endpoint-rules/b2bi/endpoint-tests-1.json +314 -0
- testbed/boto__botocore/tests/functional/endpoint-rules/bcm-data-exports/endpoint-tests-1.json +149 -0
- testbed/boto__botocore/tests/functional/endpoint-rules/bedrock-agent-runtime/endpoint-tests-1.json +314 -0
- testbed/boto__botocore/tests/functional/endpoint-rules/bedrock-agent/endpoint-tests-1.json +314 -0
- testbed/boto__botocore/tests/functional/endpoint-rules/bedrock-runtime/endpoint-tests-1.json +314 -0
- testbed/boto__botocore/tests/functional/endpoint-rules/bedrock/endpoint-tests-1.json +314 -0
- testbed/boto__botocore/tests/functional/endpoint-rules/chatbot/endpoint-tests-1.json +314 -0
- testbed/boto__botocore/tests/functional/endpoint-rules/cleanroomsml/endpoint-tests-1.json +314 -0
- testbed/boto__botocore/tests/functional/endpoint-rules/cloudfront-keyvaluestore/endpoint-tests-1.json +198 -0
- testbed/boto__botocore/tests/functional/endpoint-rules/codeconnections/endpoint-tests-1.json +314 -0
- testbed/boto__botocore/tests/functional/endpoint-rules/controlcatalog/endpoint-tests-1.json +314 -0
- testbed/boto__botocore/tests/functional/endpoint-rules/cost-optimization-hub/endpoint-tests-1.json +314 -0
- testbed/boto__botocore/tests/functional/endpoint-rules/datazone/endpoint-tests-1.json +119 -0
- testbed/boto__botocore/tests/functional/endpoint-rules/deadline/endpoint-tests-1.json +314 -0
- testbed/boto__botocore/tests/functional/endpoint-rules/ds-data/endpoint-tests-1.json +314 -0
- testbed/boto__botocore/tests/functional/endpoint-rules/eks-auth/endpoint-tests-1.json +119 -0
- testbed/boto__botocore/tests/functional/endpoint-rules/elastic-inference/endpoint-tests-1.json +379 -0
- testbed/boto__botocore/tests/functional/endpoint-rules/elastictranscoder/endpoint-tests-1.json +405 -0
- testbed/boto__botocore/tests/functional/endpoint-rules/freetier/endpoint-tests-1.json +170 -0
- testbed/boto__botocore/tests/functional/endpoint-rules/inspector-scan/endpoint-tests-1.json +314 -0
- testbed/boto__botocore/tests/functional/endpoint-rules/iot1click-devices/endpoint-tests-1.json +314 -0
- testbed/boto__botocore/tests/functional/endpoint-rules/iot1click-projects/endpoint-tests-1.json +392 -0
- testbed/boto__botocore/tests/functional/endpoint-rules/iotfleethub/endpoint-tests-1.json +509 -0
- testbed/boto__botocore/tests/functional/endpoint-rules/kinesisvideo/endpoint-tests-1.json +509 -0
- testbed/boto__botocore/tests/functional/endpoint-rules/launch-wizard/endpoint-tests-1.json +314 -0
- testbed/boto__botocore/tests/functional/endpoint-rules/lex-runtime/endpoint-tests-1.json +511 -0
- testbed/boto__botocore/tests/functional/endpoint-rules/lexv2-models/endpoint-tests-1.json +444 -0
- testbed/boto__botocore/tests/functional/endpoint-rules/lexv2-runtime/endpoint-tests-1.json +444 -0
- testbed/boto__botocore/tests/functional/endpoint-rules/license-manager-user-subscriptions/endpoint-tests-1.json +314 -0
- testbed/boto__botocore/tests/functional/endpoint-rules/location/endpoint-tests-1.json +314 -0
- testbed/boto__botocore/tests/functional/endpoint-rules/logs/endpoint-tests-1.json +678 -0
- testbed/boto__botocore/tests/functional/endpoint-rules/lookoutequipment/endpoint-tests-1.json +340 -0
- testbed/boto__botocore/tests/functional/endpoint-rules/lookoutmetrics/endpoint-tests-1.json +418 -0
- testbed/boto__botocore/tests/functional/endpoint-rules/lookoutvision/endpoint-tests-1.json +392 -0
- testbed/boto__botocore/tests/functional/endpoint-rules/m2/endpoint-tests-1.json +392 -0
- testbed/boto__botocore/tests/functional/endpoint-rules/machinelearning/endpoint-tests-1.json +327 -0
- testbed/boto__botocore/tests/functional/endpoint-rules/macie2/endpoint-tests-1.json +613 -0
- testbed/boto__botocore/tests/functional/endpoint-rules/mailmanager/endpoint-tests-1.json +314 -0
- testbed/boto__botocore/tests/functional/endpoint-rules/managedblockchain-query/endpoint-tests-1.json +314 -0
- testbed/boto__botocore/tests/functional/endpoint-rules/managedblockchain/endpoint-tests-1.json +379 -0
- testbed/boto__botocore/tests/functional/endpoint-rules/marketplace-agreement/endpoint-tests-1.json +314 -0
- testbed/boto__botocore/tests/functional/endpoint-rules/marketplace-catalog/endpoint-tests-1.json +314 -0
- testbed/boto__botocore/tests/functional/endpoint-rules/marketplace-deployment/endpoint-tests-1.json +314 -0
- testbed/boto__botocore/tests/functional/endpoint-rules/marketplace-entitlement/endpoint-tests-1.json +327 -0
- testbed/boto__botocore/tests/functional/endpoint-rules/marketplacecommerceanalytics/endpoint-tests-1.json +314 -0
testbed/boto__botocore/tests/functional/__init__.py
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright 2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
| 2 |
+
#
|
| 3 |
+
# Licensed under the Apache License, Version 2.0 (the "License"). You
|
| 4 |
+
# may not use this file except in compliance with the License. A copy of
|
| 5 |
+
# the License is located at
|
| 6 |
+
#
|
| 7 |
+
# http://aws.amazon.com/apache2.0/
|
| 8 |
+
#
|
| 9 |
+
# or in the "license" file accompanying this file. This file is
|
| 10 |
+
# distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
|
| 11 |
+
# ANY KIND, either express or implied. See the License for the specific
|
| 12 |
+
# language governing permissions and limitations under the License.
|
| 13 |
+
import os
|
| 14 |
+
import uuid
|
| 15 |
+
|
| 16 |
+
import botocore
|
| 17 |
+
from tests import BaseEnvVar
|
| 18 |
+
|
| 19 |
+
_ORIGINAL = os.environ.copy()
|
| 20 |
+
# These are environment variables that allow users to control
|
| 21 |
+
# the location of config files used by botocore.
|
| 22 |
+
_CONFIG_FILE_ENV_VARS = [
|
| 23 |
+
'AWS_CONFIG_FILE',
|
| 24 |
+
'AWS_SHARED_CREDENTIALS_FILE',
|
| 25 |
+
'BOTO_CONFIG',
|
| 26 |
+
]
|
| 27 |
+
_CREDENTIAL_ENV_VARS = [
|
| 28 |
+
'AWS_ACCESS_KEY_ID',
|
| 29 |
+
'AWS_SECRET_ACCESS_KEY',
|
| 30 |
+
'AWS_SESSION_TOKEN',
|
| 31 |
+
]
|
| 32 |
+
|
| 33 |
+
TEST_MODELS_DIR = os.path.join(
|
| 34 |
+
os.path.dirname(os.path.abspath(__file__)),
|
| 35 |
+
'models',
|
| 36 |
+
)
|
| 37 |
+
|
| 38 |
+
|
| 39 |
+
def create_session(**kwargs):
|
| 40 |
+
# Create session and inject functional test models into loader
|
| 41 |
+
loader = _create_functional_test_loader()
|
| 42 |
+
session = botocore.session.Session(**kwargs)
|
| 43 |
+
session.register_component('data_loader', loader)
|
| 44 |
+
session.set_config_variable('credentials_file', 'noexist/foo/botocore')
|
| 45 |
+
return session
|
| 46 |
+
|
| 47 |
+
|
| 48 |
+
def _create_functional_test_loader():
|
| 49 |
+
loader = botocore.loaders.Loader()
|
| 50 |
+
loader.search_paths.insert(0, TEST_MODELS_DIR)
|
| 51 |
+
return loader
|
| 52 |
+
|
| 53 |
+
|
| 54 |
+
class FunctionalSessionTest(BaseEnvVar):
|
| 55 |
+
def setUp(self, **environ):
|
| 56 |
+
super().setUp()
|
| 57 |
+
self.environ['AWS_ACCESS_KEY_ID'] = 'access_key'
|
| 58 |
+
self.environ['AWS_SECRET_ACCESS_KEY'] = 'secret_key'
|
| 59 |
+
self.environ['AWS_CONFIG_FILE'] = 'no-exist-foo'
|
| 60 |
+
self.environ.update(environ)
|
| 61 |
+
self.session = create_session()
|
| 62 |
+
self.session.config_filename = 'no-exist-foo'
|
| 63 |
+
|
| 64 |
+
|
| 65 |
+
def setup_package():
|
| 66 |
+
# We're using a random uuid to ensure we're pointing
|
| 67 |
+
# AWS_CONFIG_FILE and other env vars at a filename that
|
| 68 |
+
# does not exist.
|
| 69 |
+
random_file = str(uuid.uuid4())
|
| 70 |
+
for varname in _CONFIG_FILE_ENV_VARS:
|
| 71 |
+
# The reason we're doing this is to ensure we don't automatically pick
|
| 72 |
+
# up any credentials a developer might have configured on their local
|
| 73 |
+
# machine. Travis will not have any credentials available, so without
|
| 74 |
+
# this fixture setup, it's possible to have all the tests pass on your
|
| 75 |
+
# local machine (if you have credentials configured) but still fail on
|
| 76 |
+
# travis.
|
| 77 |
+
os.environ[varname] = random_file
|
| 78 |
+
for credvar in _CREDENTIAL_ENV_VARS:
|
| 79 |
+
os.environ.pop(credvar, None)
|
| 80 |
+
|
| 81 |
+
|
| 82 |
+
def teardown_package():
|
| 83 |
+
os.environ = _ORIGINAL
|
testbed/boto__botocore/tests/functional/conftest.py
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright 2012-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
| 2 |
+
#
|
| 3 |
+
# Licensed under the Apache License, Version 2.0 (the "License"). You
|
| 4 |
+
# may not use this file except in compliance with the License. A copy of
|
| 5 |
+
# the License is located at
|
| 6 |
+
#
|
| 7 |
+
# http://aws.amazon.com/apache2.0/
|
| 8 |
+
#
|
| 9 |
+
# or in the "license" file accompanying this file. This file is
|
| 10 |
+
# distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
|
| 11 |
+
# ANY KIND, either express or implied. See the License for the specific
|
| 12 |
+
# language governing permissions and limitations under the License.
|
| 13 |
+
|
| 14 |
+
import pytest
|
| 15 |
+
|
| 16 |
+
from tests import create_session
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
@pytest.fixture()
|
| 20 |
+
def patched_session(monkeypatch):
|
| 21 |
+
monkeypatch.setenv('AWS_ACCESS_KEY_ID', 'access_key')
|
| 22 |
+
monkeypatch.setenv('AWS_SECRET_ACCESS_KEY', 'secret_key')
|
| 23 |
+
monkeypatch.setenv('AWS_CONFIG_FILE', 'no-exist-foo')
|
| 24 |
+
monkeypatch.delenv('AWS_PROFILE', raising=False)
|
| 25 |
+
monkeypatch.delenv('AWS_DEFAULT_REGION', raising=False)
|
| 26 |
+
session = create_session()
|
| 27 |
+
return session
|
testbed/boto__botocore/tests/functional/endpoint-rules/application-signals/endpoint-tests-1.json
ADDED
|
@@ -0,0 +1,201 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"testCases": [
|
| 3 |
+
{
|
| 4 |
+
"documentation": "For custom endpoint with region not set and fips disabled",
|
| 5 |
+
"expect": {
|
| 6 |
+
"endpoint": {
|
| 7 |
+
"url": "https://example.com"
|
| 8 |
+
}
|
| 9 |
+
},
|
| 10 |
+
"params": {
|
| 11 |
+
"Endpoint": "https://example.com",
|
| 12 |
+
"UseFIPS": false
|
| 13 |
+
}
|
| 14 |
+
},
|
| 15 |
+
{
|
| 16 |
+
"documentation": "For custom endpoint with fips enabled",
|
| 17 |
+
"expect": {
|
| 18 |
+
"error": "Invalid Configuration: FIPS and custom endpoint are not supported"
|
| 19 |
+
},
|
| 20 |
+
"params": {
|
| 21 |
+
"Endpoint": "https://example.com",
|
| 22 |
+
"UseFIPS": true
|
| 23 |
+
}
|
| 24 |
+
},
|
| 25 |
+
{
|
| 26 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
|
| 27 |
+
"expect": {
|
| 28 |
+
"endpoint": {
|
| 29 |
+
"url": "https://application-signals-fips.us-east-1.api.aws"
|
| 30 |
+
}
|
| 31 |
+
},
|
| 32 |
+
"params": {
|
| 33 |
+
"Region": "us-east-1",
|
| 34 |
+
"UseFIPS": true
|
| 35 |
+
}
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
|
| 39 |
+
"expect": {
|
| 40 |
+
"endpoint": {
|
| 41 |
+
"url": "https://application-signals.us-east-1.api.aws"
|
| 42 |
+
}
|
| 43 |
+
},
|
| 44 |
+
"params": {
|
| 45 |
+
"Region": "us-east-1",
|
| 46 |
+
"UseFIPS": false
|
| 47 |
+
}
|
| 48 |
+
},
|
| 49 |
+
{
|
| 50 |
+
"documentation": "For region cn-northwest-1 with FIPS enabled and DualStack enabled",
|
| 51 |
+
"expect": {
|
| 52 |
+
"endpoint": {
|
| 53 |
+
"url": "https://application-signals-fips.cn-northwest-1.api.amazonwebservices.com.cn"
|
| 54 |
+
}
|
| 55 |
+
},
|
| 56 |
+
"params": {
|
| 57 |
+
"Region": "cn-northwest-1",
|
| 58 |
+
"UseFIPS": true
|
| 59 |
+
}
|
| 60 |
+
},
|
| 61 |
+
{
|
| 62 |
+
"documentation": "For region cn-northwest-1 with FIPS disabled and DualStack enabled",
|
| 63 |
+
"expect": {
|
| 64 |
+
"endpoint": {
|
| 65 |
+
"url": "https://application-signals.cn-northwest-1.api.amazonwebservices.com.cn"
|
| 66 |
+
}
|
| 67 |
+
},
|
| 68 |
+
"params": {
|
| 69 |
+
"Region": "cn-northwest-1",
|
| 70 |
+
"UseFIPS": false
|
| 71 |
+
}
|
| 72 |
+
},
|
| 73 |
+
{
|
| 74 |
+
"documentation": "For region us-gov-west-1 with FIPS enabled and DualStack enabled",
|
| 75 |
+
"expect": {
|
| 76 |
+
"endpoint": {
|
| 77 |
+
"url": "https://application-signals-fips.us-gov-west-1.api.aws"
|
| 78 |
+
}
|
| 79 |
+
},
|
| 80 |
+
"params": {
|
| 81 |
+
"Region": "us-gov-west-1",
|
| 82 |
+
"UseFIPS": true
|
| 83 |
+
}
|
| 84 |
+
},
|
| 85 |
+
{
|
| 86 |
+
"documentation": "For region us-gov-west-1 with FIPS disabled and DualStack enabled",
|
| 87 |
+
"expect": {
|
| 88 |
+
"endpoint": {
|
| 89 |
+
"url": "https://application-signals.us-gov-west-1.api.aws"
|
| 90 |
+
}
|
| 91 |
+
},
|
| 92 |
+
"params": {
|
| 93 |
+
"Region": "us-gov-west-1",
|
| 94 |
+
"UseFIPS": false
|
| 95 |
+
}
|
| 96 |
+
},
|
| 97 |
+
{
|
| 98 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
|
| 99 |
+
"expect": {
|
| 100 |
+
"endpoint": {
|
| 101 |
+
"url": "https://application-signals-fips.us-iso-east-1.c2s.ic.gov"
|
| 102 |
+
}
|
| 103 |
+
},
|
| 104 |
+
"params": {
|
| 105 |
+
"Region": "us-iso-east-1",
|
| 106 |
+
"UseFIPS": true
|
| 107 |
+
}
|
| 108 |
+
},
|
| 109 |
+
{
|
| 110 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
|
| 111 |
+
"expect": {
|
| 112 |
+
"endpoint": {
|
| 113 |
+
"url": "https://application-signals.us-iso-east-1.c2s.ic.gov"
|
| 114 |
+
}
|
| 115 |
+
},
|
| 116 |
+
"params": {
|
| 117 |
+
"Region": "us-iso-east-1",
|
| 118 |
+
"UseFIPS": false
|
| 119 |
+
}
|
| 120 |
+
},
|
| 121 |
+
{
|
| 122 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
|
| 123 |
+
"expect": {
|
| 124 |
+
"endpoint": {
|
| 125 |
+
"url": "https://application-signals-fips.us-isob-east-1.sc2s.sgov.gov"
|
| 126 |
+
}
|
| 127 |
+
},
|
| 128 |
+
"params": {
|
| 129 |
+
"Region": "us-isob-east-1",
|
| 130 |
+
"UseFIPS": true
|
| 131 |
+
}
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
|
| 135 |
+
"expect": {
|
| 136 |
+
"endpoint": {
|
| 137 |
+
"url": "https://application-signals.us-isob-east-1.sc2s.sgov.gov"
|
| 138 |
+
}
|
| 139 |
+
},
|
| 140 |
+
"params": {
|
| 141 |
+
"Region": "us-isob-east-1",
|
| 142 |
+
"UseFIPS": false
|
| 143 |
+
}
|
| 144 |
+
},
|
| 145 |
+
{
|
| 146 |
+
"documentation": "For region eu-isoe-west-1 with FIPS enabled and DualStack enabled",
|
| 147 |
+
"expect": {
|
| 148 |
+
"endpoint": {
|
| 149 |
+
"url": "https://application-signals-fips.eu-isoe-west-1.cloud.adc-e.uk"
|
| 150 |
+
}
|
| 151 |
+
},
|
| 152 |
+
"params": {
|
| 153 |
+
"Region": "eu-isoe-west-1",
|
| 154 |
+
"UseFIPS": true
|
| 155 |
+
}
|
| 156 |
+
},
|
| 157 |
+
{
|
| 158 |
+
"documentation": "For region eu-isoe-west-1 with FIPS disabled and DualStack enabled",
|
| 159 |
+
"expect": {
|
| 160 |
+
"endpoint": {
|
| 161 |
+
"url": "https://application-signals.eu-isoe-west-1.cloud.adc-e.uk"
|
| 162 |
+
}
|
| 163 |
+
},
|
| 164 |
+
"params": {
|
| 165 |
+
"Region": "eu-isoe-west-1",
|
| 166 |
+
"UseFIPS": false
|
| 167 |
+
}
|
| 168 |
+
},
|
| 169 |
+
{
|
| 170 |
+
"documentation": "For region us-isof-south-1 with FIPS enabled and DualStack enabled",
|
| 171 |
+
"expect": {
|
| 172 |
+
"endpoint": {
|
| 173 |
+
"url": "https://application-signals-fips.us-isof-south-1.csp.hci.ic.gov"
|
| 174 |
+
}
|
| 175 |
+
},
|
| 176 |
+
"params": {
|
| 177 |
+
"Region": "us-isof-south-1",
|
| 178 |
+
"UseFIPS": true
|
| 179 |
+
}
|
| 180 |
+
},
|
| 181 |
+
{
|
| 182 |
+
"documentation": "For region us-isof-south-1 with FIPS disabled and DualStack enabled",
|
| 183 |
+
"expect": {
|
| 184 |
+
"endpoint": {
|
| 185 |
+
"url": "https://application-signals.us-isof-south-1.csp.hci.ic.gov"
|
| 186 |
+
}
|
| 187 |
+
},
|
| 188 |
+
"params": {
|
| 189 |
+
"Region": "us-isof-south-1",
|
| 190 |
+
"UseFIPS": false
|
| 191 |
+
}
|
| 192 |
+
},
|
| 193 |
+
{
|
| 194 |
+
"documentation": "Missing region",
|
| 195 |
+
"expect": {
|
| 196 |
+
"error": "Invalid Configuration: Missing Region"
|
| 197 |
+
}
|
| 198 |
+
}
|
| 199 |
+
],
|
| 200 |
+
"version": "1.0"
|
| 201 |
+
}
|
testbed/boto__botocore/tests/functional/endpoint-rules/apptest/endpoint-tests-1.json
ADDED
|
@@ -0,0 +1,314 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"Region": "us-east-1",
|
| 12 |
+
"UseFIPS": true,
|
| 13 |
+
"UseDualStack": true
|
| 14 |
+
}
|
| 15 |
+
},
|
| 16 |
+
{
|
| 17 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
|
| 18 |
+
"expect": {
|
| 19 |
+
"endpoint": {
|
| 20 |
+
"url": "https://apptest-fips.us-east-1.amazonaws.com"
|
| 21 |
+
}
|
| 22 |
+
},
|
| 23 |
+
"params": {
|
| 24 |
+
"Region": "us-east-1",
|
| 25 |
+
"UseFIPS": true,
|
| 26 |
+
"UseDualStack": false
|
| 27 |
+
}
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
|
| 31 |
+
"expect": {
|
| 32 |
+
"endpoint": {
|
| 33 |
+
"url": "https://apptest.us-east-1.api.aws"
|
| 34 |
+
}
|
| 35 |
+
},
|
| 36 |
+
"params": {
|
| 37 |
+
"Region": "us-east-1",
|
| 38 |
+
"UseFIPS": false,
|
| 39 |
+
"UseDualStack": true
|
| 40 |
+
}
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
|
| 44 |
+
"expect": {
|
| 45 |
+
"endpoint": {
|
| 46 |
+
"url": "https://apptest.us-east-1.amazonaws.com"
|
| 47 |
+
}
|
| 48 |
+
},
|
| 49 |
+
"params": {
|
| 50 |
+
"Region": "us-east-1",
|
| 51 |
+
"UseFIPS": false,
|
| 52 |
+
"UseDualStack": false
|
| 53 |
+
}
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled",
|
| 57 |
+
"expect": {
|
| 58 |
+
"endpoint": {
|
| 59 |
+
"url": "https://apptest-fips.cn-north-1.api.amazonwebservices.com.cn"
|
| 60 |
+
}
|
| 61 |
+
},
|
| 62 |
+
"params": {
|
| 63 |
+
"Region": "cn-north-1",
|
| 64 |
+
"UseFIPS": true,
|
| 65 |
+
"UseDualStack": true
|
| 66 |
+
}
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled",
|
| 70 |
+
"expect": {
|
| 71 |
+
"endpoint": {
|
| 72 |
+
"url": "https://apptest-fips.cn-north-1.amazonaws.com.cn"
|
| 73 |
+
}
|
| 74 |
+
},
|
| 75 |
+
"params": {
|
| 76 |
+
"Region": "cn-north-1",
|
| 77 |
+
"UseFIPS": true,
|
| 78 |
+
"UseDualStack": false
|
| 79 |
+
}
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled",
|
| 83 |
+
"expect": {
|
| 84 |
+
"endpoint": {
|
| 85 |
+
"url": "https://apptest.cn-north-1.api.amazonwebservices.com.cn"
|
| 86 |
+
}
|
| 87 |
+
},
|
| 88 |
+
"params": {
|
| 89 |
+
"Region": "cn-north-1",
|
| 90 |
+
"UseFIPS": false,
|
| 91 |
+
"UseDualStack": true
|
| 92 |
+
}
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled",
|
| 96 |
+
"expect": {
|
| 97 |
+
"endpoint": {
|
| 98 |
+
"url": "https://apptest.cn-north-1.amazonaws.com.cn"
|
| 99 |
+
}
|
| 100 |
+
},
|
| 101 |
+
"params": {
|
| 102 |
+
"Region": "cn-north-1",
|
| 103 |
+
"UseFIPS": false,
|
| 104 |
+
"UseDualStack": false
|
| 105 |
+
}
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled",
|
| 109 |
+
"expect": {
|
| 110 |
+
"endpoint": {
|
| 111 |
+
"url": "https://apptest-fips.us-gov-east-1.api.aws"
|
| 112 |
+
}
|
| 113 |
+
},
|
| 114 |
+
"params": {
|
| 115 |
+
"Region": "us-gov-east-1",
|
| 116 |
+
"UseFIPS": true,
|
| 117 |
+
"UseDualStack": true
|
| 118 |
+
}
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled",
|
| 122 |
+
"expect": {
|
| 123 |
+
"endpoint": {
|
| 124 |
+
"url": "https://apptest-fips.us-gov-east-1.amazonaws.com"
|
| 125 |
+
}
|
| 126 |
+
},
|
| 127 |
+
"params": {
|
| 128 |
+
"Region": "us-gov-east-1",
|
| 129 |
+
"UseFIPS": true,
|
| 130 |
+
"UseDualStack": false
|
| 131 |
+
}
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled",
|
| 135 |
+
"expect": {
|
| 136 |
+
"endpoint": {
|
| 137 |
+
"url": "https://apptest.us-gov-east-1.api.aws"
|
| 138 |
+
}
|
| 139 |
+
},
|
| 140 |
+
"params": {
|
| 141 |
+
"Region": "us-gov-east-1",
|
| 142 |
+
"UseFIPS": false,
|
| 143 |
+
"UseDualStack": true
|
| 144 |
+
}
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled",
|
| 148 |
+
"expect": {
|
| 149 |
+
"endpoint": {
|
| 150 |
+
"url": "https://apptest.us-gov-east-1.amazonaws.com"
|
| 151 |
+
}
|
| 152 |
+
},
|
| 153 |
+
"params": {
|
| 154 |
+
"Region": "us-gov-east-1",
|
| 155 |
+
"UseFIPS": false,
|
| 156 |
+
"UseDualStack": false
|
| 157 |
+
}
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
|
| 161 |
+
"expect": {
|
| 162 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 163 |
+
},
|
| 164 |
+
"params": {
|
| 165 |
+
"Region": "us-iso-east-1",
|
| 166 |
+
"UseFIPS": true,
|
| 167 |
+
"UseDualStack": true
|
| 168 |
+
}
|
| 169 |
+
},
|
| 170 |
+
{
|
| 171 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
|
| 172 |
+
"expect": {
|
| 173 |
+
"endpoint": {
|
| 174 |
+
"url": "https://apptest-fips.us-iso-east-1.c2s.ic.gov"
|
| 175 |
+
}
|
| 176 |
+
},
|
| 177 |
+
"params": {
|
| 178 |
+
"Region": "us-iso-east-1",
|
| 179 |
+
"UseFIPS": true,
|
| 180 |
+
"UseDualStack": false
|
| 181 |
+
}
|
| 182 |
+
},
|
| 183 |
+
{
|
| 184 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
|
| 185 |
+
"expect": {
|
| 186 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 187 |
+
},
|
| 188 |
+
"params": {
|
| 189 |
+
"Region": "us-iso-east-1",
|
| 190 |
+
"UseFIPS": false,
|
| 191 |
+
"UseDualStack": true
|
| 192 |
+
}
|
| 193 |
+
},
|
| 194 |
+
{
|
| 195 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
|
| 196 |
+
"expect": {
|
| 197 |
+
"endpoint": {
|
| 198 |
+
"url": "https://apptest.us-iso-east-1.c2s.ic.gov"
|
| 199 |
+
}
|
| 200 |
+
},
|
| 201 |
+
"params": {
|
| 202 |
+
"Region": "us-iso-east-1",
|
| 203 |
+
"UseFIPS": false,
|
| 204 |
+
"UseDualStack": false
|
| 205 |
+
}
|
| 206 |
+
},
|
| 207 |
+
{
|
| 208 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
|
| 209 |
+
"expect": {
|
| 210 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 211 |
+
},
|
| 212 |
+
"params": {
|
| 213 |
+
"Region": "us-isob-east-1",
|
| 214 |
+
"UseFIPS": true,
|
| 215 |
+
"UseDualStack": true
|
| 216 |
+
}
|
| 217 |
+
},
|
| 218 |
+
{
|
| 219 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
|
| 220 |
+
"expect": {
|
| 221 |
+
"endpoint": {
|
| 222 |
+
"url": "https://apptest-fips.us-isob-east-1.sc2s.sgov.gov"
|
| 223 |
+
}
|
| 224 |
+
},
|
| 225 |
+
"params": {
|
| 226 |
+
"Region": "us-isob-east-1",
|
| 227 |
+
"UseFIPS": true,
|
| 228 |
+
"UseDualStack": false
|
| 229 |
+
}
|
| 230 |
+
},
|
| 231 |
+
{
|
| 232 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
|
| 233 |
+
"expect": {
|
| 234 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 235 |
+
},
|
| 236 |
+
"params": {
|
| 237 |
+
"Region": "us-isob-east-1",
|
| 238 |
+
"UseFIPS": false,
|
| 239 |
+
"UseDualStack": true
|
| 240 |
+
}
|
| 241 |
+
},
|
| 242 |
+
{
|
| 243 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
|
| 244 |
+
"expect": {
|
| 245 |
+
"endpoint": {
|
| 246 |
+
"url": "https://apptest.us-isob-east-1.sc2s.sgov.gov"
|
| 247 |
+
}
|
| 248 |
+
},
|
| 249 |
+
"params": {
|
| 250 |
+
"Region": "us-isob-east-1",
|
| 251 |
+
"UseFIPS": false,
|
| 252 |
+
"UseDualStack": false
|
| 253 |
+
}
|
| 254 |
+
},
|
| 255 |
+
{
|
| 256 |
+
"documentation": "For custom endpoint with region set and fips disabled and dualstack disabled",
|
| 257 |
+
"expect": {
|
| 258 |
+
"endpoint": {
|
| 259 |
+
"url": "https://example.com"
|
| 260 |
+
}
|
| 261 |
+
},
|
| 262 |
+
"params": {
|
| 263 |
+
"Region": "us-east-1",
|
| 264 |
+
"UseFIPS": false,
|
| 265 |
+
"UseDualStack": false,
|
| 266 |
+
"Endpoint": "https://example.com"
|
| 267 |
+
}
|
| 268 |
+
},
|
| 269 |
+
{
|
| 270 |
+
"documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled",
|
| 271 |
+
"expect": {
|
| 272 |
+
"endpoint": {
|
| 273 |
+
"url": "https://example.com"
|
| 274 |
+
}
|
| 275 |
+
},
|
| 276 |
+
"params": {
|
| 277 |
+
"UseFIPS": false,
|
| 278 |
+
"UseDualStack": false,
|
| 279 |
+
"Endpoint": "https://example.com"
|
| 280 |
+
}
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"documentation": "For custom endpoint with fips enabled and dualstack disabled",
|
| 284 |
+
"expect": {
|
| 285 |
+
"error": "Invalid Configuration: FIPS and custom endpoint are not supported"
|
| 286 |
+
},
|
| 287 |
+
"params": {
|
| 288 |
+
"Region": "us-east-1",
|
| 289 |
+
"UseFIPS": true,
|
| 290 |
+
"UseDualStack": false,
|
| 291 |
+
"Endpoint": "https://example.com"
|
| 292 |
+
}
|
| 293 |
+
},
|
| 294 |
+
{
|
| 295 |
+
"documentation": "For custom endpoint with fips disabled and dualstack enabled",
|
| 296 |
+
"expect": {
|
| 297 |
+
"error": "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
| 298 |
+
},
|
| 299 |
+
"params": {
|
| 300 |
+
"Region": "us-east-1",
|
| 301 |
+
"UseFIPS": false,
|
| 302 |
+
"UseDualStack": true,
|
| 303 |
+
"Endpoint": "https://example.com"
|
| 304 |
+
}
|
| 305 |
+
},
|
| 306 |
+
{
|
| 307 |
+
"documentation": "Missing region",
|
| 308 |
+
"expect": {
|
| 309 |
+
"error": "Invalid Configuration: Missing Region"
|
| 310 |
+
}
|
| 311 |
+
}
|
| 312 |
+
],
|
| 313 |
+
"version": "1.0"
|
| 314 |
+
}
|
testbed/boto__botocore/tests/functional/endpoint-rules/artifact/endpoint-tests-1.json
ADDED
|
@@ -0,0 +1,314 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"testCases": [
|
| 3 |
+
{
|
| 4 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
|
| 5 |
+
"expect": {
|
| 6 |
+
"endpoint": {
|
| 7 |
+
"url": "https://artifact-fips.us-east-1.api.aws"
|
| 8 |
+
}
|
| 9 |
+
},
|
| 10 |
+
"params": {
|
| 11 |
+
"Region": "us-east-1",
|
| 12 |
+
"UseFIPS": true,
|
| 13 |
+
"UseDualStack": true
|
| 14 |
+
}
|
| 15 |
+
},
|
| 16 |
+
{
|
| 17 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
|
| 18 |
+
"expect": {
|
| 19 |
+
"endpoint": {
|
| 20 |
+
"url": "https://artifact-fips.us-east-1.amazonaws.com"
|
| 21 |
+
}
|
| 22 |
+
},
|
| 23 |
+
"params": {
|
| 24 |
+
"Region": "us-east-1",
|
| 25 |
+
"UseFIPS": true,
|
| 26 |
+
"UseDualStack": false
|
| 27 |
+
}
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
|
| 31 |
+
"expect": {
|
| 32 |
+
"endpoint": {
|
| 33 |
+
"url": "https://artifact.us-east-1.api.aws"
|
| 34 |
+
}
|
| 35 |
+
},
|
| 36 |
+
"params": {
|
| 37 |
+
"Region": "us-east-1",
|
| 38 |
+
"UseFIPS": false,
|
| 39 |
+
"UseDualStack": true
|
| 40 |
+
}
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
|
| 44 |
+
"expect": {
|
| 45 |
+
"endpoint": {
|
| 46 |
+
"url": "https://artifact.us-east-1.amazonaws.com"
|
| 47 |
+
}
|
| 48 |
+
},
|
| 49 |
+
"params": {
|
| 50 |
+
"Region": "us-east-1",
|
| 51 |
+
"UseFIPS": false,
|
| 52 |
+
"UseDualStack": false
|
| 53 |
+
}
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled",
|
| 57 |
+
"expect": {
|
| 58 |
+
"endpoint": {
|
| 59 |
+
"url": "https://artifact-fips.cn-north-1.api.amazonwebservices.com.cn"
|
| 60 |
+
}
|
| 61 |
+
},
|
| 62 |
+
"params": {
|
| 63 |
+
"Region": "cn-north-1",
|
| 64 |
+
"UseFIPS": true,
|
| 65 |
+
"UseDualStack": true
|
| 66 |
+
}
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled",
|
| 70 |
+
"expect": {
|
| 71 |
+
"endpoint": {
|
| 72 |
+
"url": "https://artifact-fips.cn-north-1.amazonaws.com.cn"
|
| 73 |
+
}
|
| 74 |
+
},
|
| 75 |
+
"params": {
|
| 76 |
+
"Region": "cn-north-1",
|
| 77 |
+
"UseFIPS": true,
|
| 78 |
+
"UseDualStack": false
|
| 79 |
+
}
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled",
|
| 83 |
+
"expect": {
|
| 84 |
+
"endpoint": {
|
| 85 |
+
"url": "https://artifact.cn-north-1.api.amazonwebservices.com.cn"
|
| 86 |
+
}
|
| 87 |
+
},
|
| 88 |
+
"params": {
|
| 89 |
+
"Region": "cn-north-1",
|
| 90 |
+
"UseFIPS": false,
|
| 91 |
+
"UseDualStack": true
|
| 92 |
+
}
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled",
|
| 96 |
+
"expect": {
|
| 97 |
+
"endpoint": {
|
| 98 |
+
"url": "https://artifact.cn-north-1.amazonaws.com.cn"
|
| 99 |
+
}
|
| 100 |
+
},
|
| 101 |
+
"params": {
|
| 102 |
+
"Region": "cn-north-1",
|
| 103 |
+
"UseFIPS": false,
|
| 104 |
+
"UseDualStack": false
|
| 105 |
+
}
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled",
|
| 109 |
+
"expect": {
|
| 110 |
+
"endpoint": {
|
| 111 |
+
"url": "https://artifact-fips.us-gov-east-1.api.aws"
|
| 112 |
+
}
|
| 113 |
+
},
|
| 114 |
+
"params": {
|
| 115 |
+
"Region": "us-gov-east-1",
|
| 116 |
+
"UseFIPS": true,
|
| 117 |
+
"UseDualStack": true
|
| 118 |
+
}
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled",
|
| 122 |
+
"expect": {
|
| 123 |
+
"endpoint": {
|
| 124 |
+
"url": "https://artifact-fips.us-gov-east-1.amazonaws.com"
|
| 125 |
+
}
|
| 126 |
+
},
|
| 127 |
+
"params": {
|
| 128 |
+
"Region": "us-gov-east-1",
|
| 129 |
+
"UseFIPS": true,
|
| 130 |
+
"UseDualStack": false
|
| 131 |
+
}
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled",
|
| 135 |
+
"expect": {
|
| 136 |
+
"endpoint": {
|
| 137 |
+
"url": "https://artifact.us-gov-east-1.api.aws"
|
| 138 |
+
}
|
| 139 |
+
},
|
| 140 |
+
"params": {
|
| 141 |
+
"Region": "us-gov-east-1",
|
| 142 |
+
"UseFIPS": false,
|
| 143 |
+
"UseDualStack": true
|
| 144 |
+
}
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled",
|
| 148 |
+
"expect": {
|
| 149 |
+
"endpoint": {
|
| 150 |
+
"url": "https://artifact.us-gov-east-1.amazonaws.com"
|
| 151 |
+
}
|
| 152 |
+
},
|
| 153 |
+
"params": {
|
| 154 |
+
"Region": "us-gov-east-1",
|
| 155 |
+
"UseFIPS": false,
|
| 156 |
+
"UseDualStack": false
|
| 157 |
+
}
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
|
| 161 |
+
"expect": {
|
| 162 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 163 |
+
},
|
| 164 |
+
"params": {
|
| 165 |
+
"Region": "us-iso-east-1",
|
| 166 |
+
"UseFIPS": true,
|
| 167 |
+
"UseDualStack": true
|
| 168 |
+
}
|
| 169 |
+
},
|
| 170 |
+
{
|
| 171 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
|
| 172 |
+
"expect": {
|
| 173 |
+
"endpoint": {
|
| 174 |
+
"url": "https://artifact-fips.us-iso-east-1.c2s.ic.gov"
|
| 175 |
+
}
|
| 176 |
+
},
|
| 177 |
+
"params": {
|
| 178 |
+
"Region": "us-iso-east-1",
|
| 179 |
+
"UseFIPS": true,
|
| 180 |
+
"UseDualStack": false
|
| 181 |
+
}
|
| 182 |
+
},
|
| 183 |
+
{
|
| 184 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
|
| 185 |
+
"expect": {
|
| 186 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 187 |
+
},
|
| 188 |
+
"params": {
|
| 189 |
+
"Region": "us-iso-east-1",
|
| 190 |
+
"UseFIPS": false,
|
| 191 |
+
"UseDualStack": true
|
| 192 |
+
}
|
| 193 |
+
},
|
| 194 |
+
{
|
| 195 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
|
| 196 |
+
"expect": {
|
| 197 |
+
"endpoint": {
|
| 198 |
+
"url": "https://artifact.us-iso-east-1.c2s.ic.gov"
|
| 199 |
+
}
|
| 200 |
+
},
|
| 201 |
+
"params": {
|
| 202 |
+
"Region": "us-iso-east-1",
|
| 203 |
+
"UseFIPS": false,
|
| 204 |
+
"UseDualStack": false
|
| 205 |
+
}
|
| 206 |
+
},
|
| 207 |
+
{
|
| 208 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
|
| 209 |
+
"expect": {
|
| 210 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 211 |
+
},
|
| 212 |
+
"params": {
|
| 213 |
+
"Region": "us-isob-east-1",
|
| 214 |
+
"UseFIPS": true,
|
| 215 |
+
"UseDualStack": true
|
| 216 |
+
}
|
| 217 |
+
},
|
| 218 |
+
{
|
| 219 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
|
| 220 |
+
"expect": {
|
| 221 |
+
"endpoint": {
|
| 222 |
+
"url": "https://artifact-fips.us-isob-east-1.sc2s.sgov.gov"
|
| 223 |
+
}
|
| 224 |
+
},
|
| 225 |
+
"params": {
|
| 226 |
+
"Region": "us-isob-east-1",
|
| 227 |
+
"UseFIPS": true,
|
| 228 |
+
"UseDualStack": false
|
| 229 |
+
}
|
| 230 |
+
},
|
| 231 |
+
{
|
| 232 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
|
| 233 |
+
"expect": {
|
| 234 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 235 |
+
},
|
| 236 |
+
"params": {
|
| 237 |
+
"Region": "us-isob-east-1",
|
| 238 |
+
"UseFIPS": false,
|
| 239 |
+
"UseDualStack": true
|
| 240 |
+
}
|
| 241 |
+
},
|
| 242 |
+
{
|
| 243 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
|
| 244 |
+
"expect": {
|
| 245 |
+
"endpoint": {
|
| 246 |
+
"url": "https://artifact.us-isob-east-1.sc2s.sgov.gov"
|
| 247 |
+
}
|
| 248 |
+
},
|
| 249 |
+
"params": {
|
| 250 |
+
"Region": "us-isob-east-1",
|
| 251 |
+
"UseFIPS": false,
|
| 252 |
+
"UseDualStack": false
|
| 253 |
+
}
|
| 254 |
+
},
|
| 255 |
+
{
|
| 256 |
+
"documentation": "For custom endpoint with region set and fips disabled and dualstack disabled",
|
| 257 |
+
"expect": {
|
| 258 |
+
"endpoint": {
|
| 259 |
+
"url": "https://example.com"
|
| 260 |
+
}
|
| 261 |
+
},
|
| 262 |
+
"params": {
|
| 263 |
+
"Region": "us-east-1",
|
| 264 |
+
"UseFIPS": false,
|
| 265 |
+
"UseDualStack": false,
|
| 266 |
+
"Endpoint": "https://example.com"
|
| 267 |
+
}
|
| 268 |
+
},
|
| 269 |
+
{
|
| 270 |
+
"documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled",
|
| 271 |
+
"expect": {
|
| 272 |
+
"endpoint": {
|
| 273 |
+
"url": "https://example.com"
|
| 274 |
+
}
|
| 275 |
+
},
|
| 276 |
+
"params": {
|
| 277 |
+
"UseFIPS": false,
|
| 278 |
+
"UseDualStack": false,
|
| 279 |
+
"Endpoint": "https://example.com"
|
| 280 |
+
}
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"documentation": "For custom endpoint with fips enabled and dualstack disabled",
|
| 284 |
+
"expect": {
|
| 285 |
+
"error": "Invalid Configuration: FIPS and custom endpoint are not supported"
|
| 286 |
+
},
|
| 287 |
+
"params": {
|
| 288 |
+
"Region": "us-east-1",
|
| 289 |
+
"UseFIPS": true,
|
| 290 |
+
"UseDualStack": false,
|
| 291 |
+
"Endpoint": "https://example.com"
|
| 292 |
+
}
|
| 293 |
+
},
|
| 294 |
+
{
|
| 295 |
+
"documentation": "For custom endpoint with fips disabled and dualstack enabled",
|
| 296 |
+
"expect": {
|
| 297 |
+
"error": "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
| 298 |
+
},
|
| 299 |
+
"params": {
|
| 300 |
+
"Region": "us-east-1",
|
| 301 |
+
"UseFIPS": false,
|
| 302 |
+
"UseDualStack": true,
|
| 303 |
+
"Endpoint": "https://example.com"
|
| 304 |
+
}
|
| 305 |
+
},
|
| 306 |
+
{
|
| 307 |
+
"documentation": "Missing region",
|
| 308 |
+
"expect": {
|
| 309 |
+
"error": "Invalid Configuration: Missing Region"
|
| 310 |
+
}
|
| 311 |
+
}
|
| 312 |
+
],
|
| 313 |
+
"version": "1.0"
|
| 314 |
+
}
|
testbed/boto__botocore/tests/functional/endpoint-rules/b2bi/endpoint-tests-1.json
ADDED
|
@@ -0,0 +1,314 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"testCases": [
|
| 3 |
+
{
|
| 4 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
|
| 5 |
+
"expect": {
|
| 6 |
+
"endpoint": {
|
| 7 |
+
"url": "https://b2bi-fips.us-east-1.api.aws"
|
| 8 |
+
}
|
| 9 |
+
},
|
| 10 |
+
"params": {
|
| 11 |
+
"Region": "us-east-1",
|
| 12 |
+
"UseFIPS": true,
|
| 13 |
+
"UseDualStack": true
|
| 14 |
+
}
|
| 15 |
+
},
|
| 16 |
+
{
|
| 17 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
|
| 18 |
+
"expect": {
|
| 19 |
+
"endpoint": {
|
| 20 |
+
"url": "https://b2bi-fips.us-east-1.amazonaws.com"
|
| 21 |
+
}
|
| 22 |
+
},
|
| 23 |
+
"params": {
|
| 24 |
+
"Region": "us-east-1",
|
| 25 |
+
"UseFIPS": true,
|
| 26 |
+
"UseDualStack": false
|
| 27 |
+
}
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
|
| 31 |
+
"expect": {
|
| 32 |
+
"endpoint": {
|
| 33 |
+
"url": "https://b2bi.us-east-1.api.aws"
|
| 34 |
+
}
|
| 35 |
+
},
|
| 36 |
+
"params": {
|
| 37 |
+
"Region": "us-east-1",
|
| 38 |
+
"UseFIPS": false,
|
| 39 |
+
"UseDualStack": true
|
| 40 |
+
}
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
|
| 44 |
+
"expect": {
|
| 45 |
+
"endpoint": {
|
| 46 |
+
"url": "https://b2bi.us-east-1.amazonaws.com"
|
| 47 |
+
}
|
| 48 |
+
},
|
| 49 |
+
"params": {
|
| 50 |
+
"Region": "us-east-1",
|
| 51 |
+
"UseFIPS": false,
|
| 52 |
+
"UseDualStack": false
|
| 53 |
+
}
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled",
|
| 57 |
+
"expect": {
|
| 58 |
+
"endpoint": {
|
| 59 |
+
"url": "https://b2bi-fips.cn-north-1.api.amazonwebservices.com.cn"
|
| 60 |
+
}
|
| 61 |
+
},
|
| 62 |
+
"params": {
|
| 63 |
+
"Region": "cn-north-1",
|
| 64 |
+
"UseFIPS": true,
|
| 65 |
+
"UseDualStack": true
|
| 66 |
+
}
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled",
|
| 70 |
+
"expect": {
|
| 71 |
+
"endpoint": {
|
| 72 |
+
"url": "https://b2bi-fips.cn-north-1.amazonaws.com.cn"
|
| 73 |
+
}
|
| 74 |
+
},
|
| 75 |
+
"params": {
|
| 76 |
+
"Region": "cn-north-1",
|
| 77 |
+
"UseFIPS": true,
|
| 78 |
+
"UseDualStack": false
|
| 79 |
+
}
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled",
|
| 83 |
+
"expect": {
|
| 84 |
+
"endpoint": {
|
| 85 |
+
"url": "https://b2bi.cn-north-1.api.amazonwebservices.com.cn"
|
| 86 |
+
}
|
| 87 |
+
},
|
| 88 |
+
"params": {
|
| 89 |
+
"Region": "cn-north-1",
|
| 90 |
+
"UseFIPS": false,
|
| 91 |
+
"UseDualStack": true
|
| 92 |
+
}
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled",
|
| 96 |
+
"expect": {
|
| 97 |
+
"endpoint": {
|
| 98 |
+
"url": "https://b2bi.cn-north-1.amazonaws.com.cn"
|
| 99 |
+
}
|
| 100 |
+
},
|
| 101 |
+
"params": {
|
| 102 |
+
"Region": "cn-north-1",
|
| 103 |
+
"UseFIPS": false,
|
| 104 |
+
"UseDualStack": false
|
| 105 |
+
}
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled",
|
| 109 |
+
"expect": {
|
| 110 |
+
"endpoint": {
|
| 111 |
+
"url": "https://b2bi-fips.us-gov-east-1.api.aws"
|
| 112 |
+
}
|
| 113 |
+
},
|
| 114 |
+
"params": {
|
| 115 |
+
"Region": "us-gov-east-1",
|
| 116 |
+
"UseFIPS": true,
|
| 117 |
+
"UseDualStack": true
|
| 118 |
+
}
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled",
|
| 122 |
+
"expect": {
|
| 123 |
+
"endpoint": {
|
| 124 |
+
"url": "https://b2bi-fips.us-gov-east-1.amazonaws.com"
|
| 125 |
+
}
|
| 126 |
+
},
|
| 127 |
+
"params": {
|
| 128 |
+
"Region": "us-gov-east-1",
|
| 129 |
+
"UseFIPS": true,
|
| 130 |
+
"UseDualStack": false
|
| 131 |
+
}
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled",
|
| 135 |
+
"expect": {
|
| 136 |
+
"endpoint": {
|
| 137 |
+
"url": "https://b2bi.us-gov-east-1.api.aws"
|
| 138 |
+
}
|
| 139 |
+
},
|
| 140 |
+
"params": {
|
| 141 |
+
"Region": "us-gov-east-1",
|
| 142 |
+
"UseFIPS": false,
|
| 143 |
+
"UseDualStack": true
|
| 144 |
+
}
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled",
|
| 148 |
+
"expect": {
|
| 149 |
+
"endpoint": {
|
| 150 |
+
"url": "https://b2bi.us-gov-east-1.amazonaws.com"
|
| 151 |
+
}
|
| 152 |
+
},
|
| 153 |
+
"params": {
|
| 154 |
+
"Region": "us-gov-east-1",
|
| 155 |
+
"UseFIPS": false,
|
| 156 |
+
"UseDualStack": false
|
| 157 |
+
}
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
|
| 161 |
+
"expect": {
|
| 162 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 163 |
+
},
|
| 164 |
+
"params": {
|
| 165 |
+
"Region": "us-iso-east-1",
|
| 166 |
+
"UseFIPS": true,
|
| 167 |
+
"UseDualStack": true
|
| 168 |
+
}
|
| 169 |
+
},
|
| 170 |
+
{
|
| 171 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
|
| 172 |
+
"expect": {
|
| 173 |
+
"endpoint": {
|
| 174 |
+
"url": "https://b2bi-fips.us-iso-east-1.c2s.ic.gov"
|
| 175 |
+
}
|
| 176 |
+
},
|
| 177 |
+
"params": {
|
| 178 |
+
"Region": "us-iso-east-1",
|
| 179 |
+
"UseFIPS": true,
|
| 180 |
+
"UseDualStack": false
|
| 181 |
+
}
|
| 182 |
+
},
|
| 183 |
+
{
|
| 184 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
|
| 185 |
+
"expect": {
|
| 186 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 187 |
+
},
|
| 188 |
+
"params": {
|
| 189 |
+
"Region": "us-iso-east-1",
|
| 190 |
+
"UseFIPS": false,
|
| 191 |
+
"UseDualStack": true
|
| 192 |
+
}
|
| 193 |
+
},
|
| 194 |
+
{
|
| 195 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
|
| 196 |
+
"expect": {
|
| 197 |
+
"endpoint": {
|
| 198 |
+
"url": "https://b2bi.us-iso-east-1.c2s.ic.gov"
|
| 199 |
+
}
|
| 200 |
+
},
|
| 201 |
+
"params": {
|
| 202 |
+
"Region": "us-iso-east-1",
|
| 203 |
+
"UseFIPS": false,
|
| 204 |
+
"UseDualStack": false
|
| 205 |
+
}
|
| 206 |
+
},
|
| 207 |
+
{
|
| 208 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
|
| 209 |
+
"expect": {
|
| 210 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 211 |
+
},
|
| 212 |
+
"params": {
|
| 213 |
+
"Region": "us-isob-east-1",
|
| 214 |
+
"UseFIPS": true,
|
| 215 |
+
"UseDualStack": true
|
| 216 |
+
}
|
| 217 |
+
},
|
| 218 |
+
{
|
| 219 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
|
| 220 |
+
"expect": {
|
| 221 |
+
"endpoint": {
|
| 222 |
+
"url": "https://b2bi-fips.us-isob-east-1.sc2s.sgov.gov"
|
| 223 |
+
}
|
| 224 |
+
},
|
| 225 |
+
"params": {
|
| 226 |
+
"Region": "us-isob-east-1",
|
| 227 |
+
"UseFIPS": true,
|
| 228 |
+
"UseDualStack": false
|
| 229 |
+
}
|
| 230 |
+
},
|
| 231 |
+
{
|
| 232 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
|
| 233 |
+
"expect": {
|
| 234 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 235 |
+
},
|
| 236 |
+
"params": {
|
| 237 |
+
"Region": "us-isob-east-1",
|
| 238 |
+
"UseFIPS": false,
|
| 239 |
+
"UseDualStack": true
|
| 240 |
+
}
|
| 241 |
+
},
|
| 242 |
+
{
|
| 243 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
|
| 244 |
+
"expect": {
|
| 245 |
+
"endpoint": {
|
| 246 |
+
"url": "https://b2bi.us-isob-east-1.sc2s.sgov.gov"
|
| 247 |
+
}
|
| 248 |
+
},
|
| 249 |
+
"params": {
|
| 250 |
+
"Region": "us-isob-east-1",
|
| 251 |
+
"UseFIPS": false,
|
| 252 |
+
"UseDualStack": false
|
| 253 |
+
}
|
| 254 |
+
},
|
| 255 |
+
{
|
| 256 |
+
"documentation": "For custom endpoint with region set and fips disabled and dualstack disabled",
|
| 257 |
+
"expect": {
|
| 258 |
+
"endpoint": {
|
| 259 |
+
"url": "https://example.com"
|
| 260 |
+
}
|
| 261 |
+
},
|
| 262 |
+
"params": {
|
| 263 |
+
"Region": "us-east-1",
|
| 264 |
+
"UseFIPS": false,
|
| 265 |
+
"UseDualStack": false,
|
| 266 |
+
"Endpoint": "https://example.com"
|
| 267 |
+
}
|
| 268 |
+
},
|
| 269 |
+
{
|
| 270 |
+
"documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled",
|
| 271 |
+
"expect": {
|
| 272 |
+
"endpoint": {
|
| 273 |
+
"url": "https://example.com"
|
| 274 |
+
}
|
| 275 |
+
},
|
| 276 |
+
"params": {
|
| 277 |
+
"UseFIPS": false,
|
| 278 |
+
"UseDualStack": false,
|
| 279 |
+
"Endpoint": "https://example.com"
|
| 280 |
+
}
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"documentation": "For custom endpoint with fips enabled and dualstack disabled",
|
| 284 |
+
"expect": {
|
| 285 |
+
"error": "Invalid Configuration: FIPS and custom endpoint are not supported"
|
| 286 |
+
},
|
| 287 |
+
"params": {
|
| 288 |
+
"Region": "us-east-1",
|
| 289 |
+
"UseFIPS": true,
|
| 290 |
+
"UseDualStack": false,
|
| 291 |
+
"Endpoint": "https://example.com"
|
| 292 |
+
}
|
| 293 |
+
},
|
| 294 |
+
{
|
| 295 |
+
"documentation": "For custom endpoint with fips disabled and dualstack enabled",
|
| 296 |
+
"expect": {
|
| 297 |
+
"error": "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
| 298 |
+
},
|
| 299 |
+
"params": {
|
| 300 |
+
"Region": "us-east-1",
|
| 301 |
+
"UseFIPS": false,
|
| 302 |
+
"UseDualStack": true,
|
| 303 |
+
"Endpoint": "https://example.com"
|
| 304 |
+
}
|
| 305 |
+
},
|
| 306 |
+
{
|
| 307 |
+
"documentation": "Missing region",
|
| 308 |
+
"expect": {
|
| 309 |
+
"error": "Invalid Configuration: Missing Region"
|
| 310 |
+
}
|
| 311 |
+
}
|
| 312 |
+
],
|
| 313 |
+
"version": "1.0"
|
| 314 |
+
}
|
testbed/boto__botocore/tests/functional/endpoint-rules/bcm-data-exports/endpoint-tests-1.json
ADDED
|
@@ -0,0 +1,149 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"testCases": [
|
| 3 |
+
{
|
| 4 |
+
"documentation": "For region aws-global with FIPS disabled and DualStack enabled",
|
| 5 |
+
"expect": {
|
| 6 |
+
"endpoint": {
|
| 7 |
+
"properties": {
|
| 8 |
+
"authSchemes": [
|
| 9 |
+
{
|
| 10 |
+
"name": "sigv4",
|
| 11 |
+
"signingName": "bcm-data-exports",
|
| 12 |
+
"signingRegion": "us-east-1"
|
| 13 |
+
}
|
| 14 |
+
]
|
| 15 |
+
},
|
| 16 |
+
"url": "https://bcm-data-exports.us-east-1.api.aws"
|
| 17 |
+
}
|
| 18 |
+
},
|
| 19 |
+
"params": {
|
| 20 |
+
"Region": "aws-global",
|
| 21 |
+
"UseFIPS": false
|
| 22 |
+
}
|
| 23 |
+
},
|
| 24 |
+
{
|
| 25 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
|
| 26 |
+
"expect": {
|
| 27 |
+
"endpoint": {
|
| 28 |
+
"url": "https://bcm-data-exports-fips.us-east-1.api.aws"
|
| 29 |
+
}
|
| 30 |
+
},
|
| 31 |
+
"params": {
|
| 32 |
+
"Region": "us-east-1",
|
| 33 |
+
"UseFIPS": true
|
| 34 |
+
}
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
|
| 38 |
+
"expect": {
|
| 39 |
+
"endpoint": {
|
| 40 |
+
"properties": {
|
| 41 |
+
"authSchemes": [
|
| 42 |
+
{
|
| 43 |
+
"name": "sigv4",
|
| 44 |
+
"signingName": "bcm-data-exports",
|
| 45 |
+
"signingRegion": "us-east-1"
|
| 46 |
+
}
|
| 47 |
+
]
|
| 48 |
+
},
|
| 49 |
+
"url": "https://bcm-data-exports.us-east-1.api.aws"
|
| 50 |
+
}
|
| 51 |
+
},
|
| 52 |
+
"params": {
|
| 53 |
+
"Region": "us-east-1",
|
| 54 |
+
"UseFIPS": false
|
| 55 |
+
}
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled",
|
| 59 |
+
"expect": {
|
| 60 |
+
"endpoint": {
|
| 61 |
+
"url": "https://bcm-data-exports-fips.cn-north-1.api.amazonwebservices.com.cn"
|
| 62 |
+
}
|
| 63 |
+
},
|
| 64 |
+
"params": {
|
| 65 |
+
"Region": "cn-north-1",
|
| 66 |
+
"UseFIPS": true
|
| 67 |
+
}
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled",
|
| 71 |
+
"expect": {
|
| 72 |
+
"endpoint": {
|
| 73 |
+
"url": "https://bcm-data-exports.cn-north-1.api.amazonwebservices.com.cn"
|
| 74 |
+
}
|
| 75 |
+
},
|
| 76 |
+
"params": {
|
| 77 |
+
"Region": "cn-north-1",
|
| 78 |
+
"UseFIPS": false
|
| 79 |
+
}
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled",
|
| 83 |
+
"expect": {
|
| 84 |
+
"endpoint": {
|
| 85 |
+
"url": "https://bcm-data-exports-fips.us-gov-east-1.api.aws"
|
| 86 |
+
}
|
| 87 |
+
},
|
| 88 |
+
"params": {
|
| 89 |
+
"Region": "us-gov-east-1",
|
| 90 |
+
"UseFIPS": true
|
| 91 |
+
}
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled",
|
| 95 |
+
"expect": {
|
| 96 |
+
"endpoint": {
|
| 97 |
+
"url": "https://bcm-data-exports.us-gov-east-1.api.aws"
|
| 98 |
+
}
|
| 99 |
+
},
|
| 100 |
+
"params": {
|
| 101 |
+
"Region": "us-gov-east-1",
|
| 102 |
+
"UseFIPS": false
|
| 103 |
+
}
|
| 104 |
+
},
|
| 105 |
+
{
|
| 106 |
+
"documentation": "For custom endpoint with region set and fips disabled and dualstack disabled",
|
| 107 |
+
"expect": {
|
| 108 |
+
"endpoint": {
|
| 109 |
+
"url": "https://example.com"
|
| 110 |
+
}
|
| 111 |
+
},
|
| 112 |
+
"params": {
|
| 113 |
+
"Region": "us-east-1",
|
| 114 |
+
"UseFIPS": false,
|
| 115 |
+
"Endpoint": "https://example.com"
|
| 116 |
+
}
|
| 117 |
+
},
|
| 118 |
+
{
|
| 119 |
+
"documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled",
|
| 120 |
+
"expect": {
|
| 121 |
+
"endpoint": {
|
| 122 |
+
"url": "https://example.com"
|
| 123 |
+
}
|
| 124 |
+
},
|
| 125 |
+
"params": {
|
| 126 |
+
"UseFIPS": false,
|
| 127 |
+
"Endpoint": "https://example.com"
|
| 128 |
+
}
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"documentation": "For custom endpoint with fips enabled and dualstack disabled",
|
| 132 |
+
"expect": {
|
| 133 |
+
"error": "Invalid Configuration: FIPS and custom endpoint are not supported"
|
| 134 |
+
},
|
| 135 |
+
"params": {
|
| 136 |
+
"Region": "us-east-1",
|
| 137 |
+
"UseFIPS": true,
|
| 138 |
+
"Endpoint": "https://example.com"
|
| 139 |
+
}
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"documentation": "Missing region",
|
| 143 |
+
"expect": {
|
| 144 |
+
"error": "Invalid Configuration: Missing Region"
|
| 145 |
+
}
|
| 146 |
+
}
|
| 147 |
+
],
|
| 148 |
+
"version": "1.0"
|
| 149 |
+
}
|
testbed/boto__botocore/tests/functional/endpoint-rules/bedrock-agent-runtime/endpoint-tests-1.json
ADDED
|
@@ -0,0 +1,314 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"testCases": [
|
| 3 |
+
{
|
| 4 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
|
| 5 |
+
"expect": {
|
| 6 |
+
"endpoint": {
|
| 7 |
+
"url": "https://bedrock-agent-runtime-fips.us-east-1.api.aws"
|
| 8 |
+
}
|
| 9 |
+
},
|
| 10 |
+
"params": {
|
| 11 |
+
"Region": "us-east-1",
|
| 12 |
+
"UseFIPS": true,
|
| 13 |
+
"UseDualStack": true
|
| 14 |
+
}
|
| 15 |
+
},
|
| 16 |
+
{
|
| 17 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
|
| 18 |
+
"expect": {
|
| 19 |
+
"endpoint": {
|
| 20 |
+
"url": "https://bedrock-agent-runtime-fips.us-east-1.amazonaws.com"
|
| 21 |
+
}
|
| 22 |
+
},
|
| 23 |
+
"params": {
|
| 24 |
+
"Region": "us-east-1",
|
| 25 |
+
"UseFIPS": true,
|
| 26 |
+
"UseDualStack": false
|
| 27 |
+
}
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
|
| 31 |
+
"expect": {
|
| 32 |
+
"endpoint": {
|
| 33 |
+
"url": "https://bedrock-agent-runtime.us-east-1.api.aws"
|
| 34 |
+
}
|
| 35 |
+
},
|
| 36 |
+
"params": {
|
| 37 |
+
"Region": "us-east-1",
|
| 38 |
+
"UseFIPS": false,
|
| 39 |
+
"UseDualStack": true
|
| 40 |
+
}
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
|
| 44 |
+
"expect": {
|
| 45 |
+
"endpoint": {
|
| 46 |
+
"url": "https://bedrock-agent-runtime.us-east-1.amazonaws.com"
|
| 47 |
+
}
|
| 48 |
+
},
|
| 49 |
+
"params": {
|
| 50 |
+
"Region": "us-east-1",
|
| 51 |
+
"UseFIPS": false,
|
| 52 |
+
"UseDualStack": false
|
| 53 |
+
}
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled",
|
| 57 |
+
"expect": {
|
| 58 |
+
"endpoint": {
|
| 59 |
+
"url": "https://bedrock-agent-runtime-fips.cn-north-1.api.amazonwebservices.com.cn"
|
| 60 |
+
}
|
| 61 |
+
},
|
| 62 |
+
"params": {
|
| 63 |
+
"Region": "cn-north-1",
|
| 64 |
+
"UseFIPS": true,
|
| 65 |
+
"UseDualStack": true
|
| 66 |
+
}
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled",
|
| 70 |
+
"expect": {
|
| 71 |
+
"endpoint": {
|
| 72 |
+
"url": "https://bedrock-agent-runtime-fips.cn-north-1.amazonaws.com.cn"
|
| 73 |
+
}
|
| 74 |
+
},
|
| 75 |
+
"params": {
|
| 76 |
+
"Region": "cn-north-1",
|
| 77 |
+
"UseFIPS": true,
|
| 78 |
+
"UseDualStack": false
|
| 79 |
+
}
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled",
|
| 83 |
+
"expect": {
|
| 84 |
+
"endpoint": {
|
| 85 |
+
"url": "https://bedrock-agent-runtime.cn-north-1.api.amazonwebservices.com.cn"
|
| 86 |
+
}
|
| 87 |
+
},
|
| 88 |
+
"params": {
|
| 89 |
+
"Region": "cn-north-1",
|
| 90 |
+
"UseFIPS": false,
|
| 91 |
+
"UseDualStack": true
|
| 92 |
+
}
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled",
|
| 96 |
+
"expect": {
|
| 97 |
+
"endpoint": {
|
| 98 |
+
"url": "https://bedrock-agent-runtime.cn-north-1.amazonaws.com.cn"
|
| 99 |
+
}
|
| 100 |
+
},
|
| 101 |
+
"params": {
|
| 102 |
+
"Region": "cn-north-1",
|
| 103 |
+
"UseFIPS": false,
|
| 104 |
+
"UseDualStack": false
|
| 105 |
+
}
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled",
|
| 109 |
+
"expect": {
|
| 110 |
+
"endpoint": {
|
| 111 |
+
"url": "https://bedrock-agent-runtime-fips.us-gov-east-1.api.aws"
|
| 112 |
+
}
|
| 113 |
+
},
|
| 114 |
+
"params": {
|
| 115 |
+
"Region": "us-gov-east-1",
|
| 116 |
+
"UseFIPS": true,
|
| 117 |
+
"UseDualStack": true
|
| 118 |
+
}
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled",
|
| 122 |
+
"expect": {
|
| 123 |
+
"endpoint": {
|
| 124 |
+
"url": "https://bedrock-agent-runtime-fips.us-gov-east-1.amazonaws.com"
|
| 125 |
+
}
|
| 126 |
+
},
|
| 127 |
+
"params": {
|
| 128 |
+
"Region": "us-gov-east-1",
|
| 129 |
+
"UseFIPS": true,
|
| 130 |
+
"UseDualStack": false
|
| 131 |
+
}
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled",
|
| 135 |
+
"expect": {
|
| 136 |
+
"endpoint": {
|
| 137 |
+
"url": "https://bedrock-agent-runtime.us-gov-east-1.api.aws"
|
| 138 |
+
}
|
| 139 |
+
},
|
| 140 |
+
"params": {
|
| 141 |
+
"Region": "us-gov-east-1",
|
| 142 |
+
"UseFIPS": false,
|
| 143 |
+
"UseDualStack": true
|
| 144 |
+
}
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled",
|
| 148 |
+
"expect": {
|
| 149 |
+
"endpoint": {
|
| 150 |
+
"url": "https://bedrock-agent-runtime.us-gov-east-1.amazonaws.com"
|
| 151 |
+
}
|
| 152 |
+
},
|
| 153 |
+
"params": {
|
| 154 |
+
"Region": "us-gov-east-1",
|
| 155 |
+
"UseFIPS": false,
|
| 156 |
+
"UseDualStack": false
|
| 157 |
+
}
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
|
| 161 |
+
"expect": {
|
| 162 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 163 |
+
},
|
| 164 |
+
"params": {
|
| 165 |
+
"Region": "us-iso-east-1",
|
| 166 |
+
"UseFIPS": true,
|
| 167 |
+
"UseDualStack": true
|
| 168 |
+
}
|
| 169 |
+
},
|
| 170 |
+
{
|
| 171 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
|
| 172 |
+
"expect": {
|
| 173 |
+
"endpoint": {
|
| 174 |
+
"url": "https://bedrock-agent-runtime-fips.us-iso-east-1.c2s.ic.gov"
|
| 175 |
+
}
|
| 176 |
+
},
|
| 177 |
+
"params": {
|
| 178 |
+
"Region": "us-iso-east-1",
|
| 179 |
+
"UseFIPS": true,
|
| 180 |
+
"UseDualStack": false
|
| 181 |
+
}
|
| 182 |
+
},
|
| 183 |
+
{
|
| 184 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
|
| 185 |
+
"expect": {
|
| 186 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 187 |
+
},
|
| 188 |
+
"params": {
|
| 189 |
+
"Region": "us-iso-east-1",
|
| 190 |
+
"UseFIPS": false,
|
| 191 |
+
"UseDualStack": true
|
| 192 |
+
}
|
| 193 |
+
},
|
| 194 |
+
{
|
| 195 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
|
| 196 |
+
"expect": {
|
| 197 |
+
"endpoint": {
|
| 198 |
+
"url": "https://bedrock-agent-runtime.us-iso-east-1.c2s.ic.gov"
|
| 199 |
+
}
|
| 200 |
+
},
|
| 201 |
+
"params": {
|
| 202 |
+
"Region": "us-iso-east-1",
|
| 203 |
+
"UseFIPS": false,
|
| 204 |
+
"UseDualStack": false
|
| 205 |
+
}
|
| 206 |
+
},
|
| 207 |
+
{
|
| 208 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
|
| 209 |
+
"expect": {
|
| 210 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 211 |
+
},
|
| 212 |
+
"params": {
|
| 213 |
+
"Region": "us-isob-east-1",
|
| 214 |
+
"UseFIPS": true,
|
| 215 |
+
"UseDualStack": true
|
| 216 |
+
}
|
| 217 |
+
},
|
| 218 |
+
{
|
| 219 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
|
| 220 |
+
"expect": {
|
| 221 |
+
"endpoint": {
|
| 222 |
+
"url": "https://bedrock-agent-runtime-fips.us-isob-east-1.sc2s.sgov.gov"
|
| 223 |
+
}
|
| 224 |
+
},
|
| 225 |
+
"params": {
|
| 226 |
+
"Region": "us-isob-east-1",
|
| 227 |
+
"UseFIPS": true,
|
| 228 |
+
"UseDualStack": false
|
| 229 |
+
}
|
| 230 |
+
},
|
| 231 |
+
{
|
| 232 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
|
| 233 |
+
"expect": {
|
| 234 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 235 |
+
},
|
| 236 |
+
"params": {
|
| 237 |
+
"Region": "us-isob-east-1",
|
| 238 |
+
"UseFIPS": false,
|
| 239 |
+
"UseDualStack": true
|
| 240 |
+
}
|
| 241 |
+
},
|
| 242 |
+
{
|
| 243 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
|
| 244 |
+
"expect": {
|
| 245 |
+
"endpoint": {
|
| 246 |
+
"url": "https://bedrock-agent-runtime.us-isob-east-1.sc2s.sgov.gov"
|
| 247 |
+
}
|
| 248 |
+
},
|
| 249 |
+
"params": {
|
| 250 |
+
"Region": "us-isob-east-1",
|
| 251 |
+
"UseFIPS": false,
|
| 252 |
+
"UseDualStack": false
|
| 253 |
+
}
|
| 254 |
+
},
|
| 255 |
+
{
|
| 256 |
+
"documentation": "For custom endpoint with region set and fips disabled and dualstack disabled",
|
| 257 |
+
"expect": {
|
| 258 |
+
"endpoint": {
|
| 259 |
+
"url": "https://example.com"
|
| 260 |
+
}
|
| 261 |
+
},
|
| 262 |
+
"params": {
|
| 263 |
+
"Region": "us-east-1",
|
| 264 |
+
"UseFIPS": false,
|
| 265 |
+
"UseDualStack": false,
|
| 266 |
+
"Endpoint": "https://example.com"
|
| 267 |
+
}
|
| 268 |
+
},
|
| 269 |
+
{
|
| 270 |
+
"documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled",
|
| 271 |
+
"expect": {
|
| 272 |
+
"endpoint": {
|
| 273 |
+
"url": "https://example.com"
|
| 274 |
+
}
|
| 275 |
+
},
|
| 276 |
+
"params": {
|
| 277 |
+
"UseFIPS": false,
|
| 278 |
+
"UseDualStack": false,
|
| 279 |
+
"Endpoint": "https://example.com"
|
| 280 |
+
}
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"documentation": "For custom endpoint with fips enabled and dualstack disabled",
|
| 284 |
+
"expect": {
|
| 285 |
+
"error": "Invalid Configuration: FIPS and custom endpoint are not supported"
|
| 286 |
+
},
|
| 287 |
+
"params": {
|
| 288 |
+
"Region": "us-east-1",
|
| 289 |
+
"UseFIPS": true,
|
| 290 |
+
"UseDualStack": false,
|
| 291 |
+
"Endpoint": "https://example.com"
|
| 292 |
+
}
|
| 293 |
+
},
|
| 294 |
+
{
|
| 295 |
+
"documentation": "For custom endpoint with fips disabled and dualstack enabled",
|
| 296 |
+
"expect": {
|
| 297 |
+
"error": "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
| 298 |
+
},
|
| 299 |
+
"params": {
|
| 300 |
+
"Region": "us-east-1",
|
| 301 |
+
"UseFIPS": false,
|
| 302 |
+
"UseDualStack": true,
|
| 303 |
+
"Endpoint": "https://example.com"
|
| 304 |
+
}
|
| 305 |
+
},
|
| 306 |
+
{
|
| 307 |
+
"documentation": "Missing region",
|
| 308 |
+
"expect": {
|
| 309 |
+
"error": "Invalid Configuration: Missing Region"
|
| 310 |
+
}
|
| 311 |
+
}
|
| 312 |
+
],
|
| 313 |
+
"version": "1.0"
|
| 314 |
+
}
|
testbed/boto__botocore/tests/functional/endpoint-rules/bedrock-agent/endpoint-tests-1.json
ADDED
|
@@ -0,0 +1,314 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"testCases": [
|
| 3 |
+
{
|
| 4 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
|
| 5 |
+
"expect": {
|
| 6 |
+
"endpoint": {
|
| 7 |
+
"url": "https://bedrock-agent-fips.us-east-1.api.aws"
|
| 8 |
+
}
|
| 9 |
+
},
|
| 10 |
+
"params": {
|
| 11 |
+
"Region": "us-east-1",
|
| 12 |
+
"UseFIPS": true,
|
| 13 |
+
"UseDualStack": true
|
| 14 |
+
}
|
| 15 |
+
},
|
| 16 |
+
{
|
| 17 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
|
| 18 |
+
"expect": {
|
| 19 |
+
"endpoint": {
|
| 20 |
+
"url": "https://bedrock-agent-fips.us-east-1.amazonaws.com"
|
| 21 |
+
}
|
| 22 |
+
},
|
| 23 |
+
"params": {
|
| 24 |
+
"Region": "us-east-1",
|
| 25 |
+
"UseFIPS": true,
|
| 26 |
+
"UseDualStack": false
|
| 27 |
+
}
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
|
| 31 |
+
"expect": {
|
| 32 |
+
"endpoint": {
|
| 33 |
+
"url": "https://bedrock-agent.us-east-1.api.aws"
|
| 34 |
+
}
|
| 35 |
+
},
|
| 36 |
+
"params": {
|
| 37 |
+
"Region": "us-east-1",
|
| 38 |
+
"UseFIPS": false,
|
| 39 |
+
"UseDualStack": true
|
| 40 |
+
}
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
|
| 44 |
+
"expect": {
|
| 45 |
+
"endpoint": {
|
| 46 |
+
"url": "https://bedrock-agent.us-east-1.amazonaws.com"
|
| 47 |
+
}
|
| 48 |
+
},
|
| 49 |
+
"params": {
|
| 50 |
+
"Region": "us-east-1",
|
| 51 |
+
"UseFIPS": false,
|
| 52 |
+
"UseDualStack": false
|
| 53 |
+
}
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled",
|
| 57 |
+
"expect": {
|
| 58 |
+
"endpoint": {
|
| 59 |
+
"url": "https://bedrock-agent-fips.cn-north-1.api.amazonwebservices.com.cn"
|
| 60 |
+
}
|
| 61 |
+
},
|
| 62 |
+
"params": {
|
| 63 |
+
"Region": "cn-north-1",
|
| 64 |
+
"UseFIPS": true,
|
| 65 |
+
"UseDualStack": true
|
| 66 |
+
}
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled",
|
| 70 |
+
"expect": {
|
| 71 |
+
"endpoint": {
|
| 72 |
+
"url": "https://bedrock-agent-fips.cn-north-1.amazonaws.com.cn"
|
| 73 |
+
}
|
| 74 |
+
},
|
| 75 |
+
"params": {
|
| 76 |
+
"Region": "cn-north-1",
|
| 77 |
+
"UseFIPS": true,
|
| 78 |
+
"UseDualStack": false
|
| 79 |
+
}
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled",
|
| 83 |
+
"expect": {
|
| 84 |
+
"endpoint": {
|
| 85 |
+
"url": "https://bedrock-agent.cn-north-1.api.amazonwebservices.com.cn"
|
| 86 |
+
}
|
| 87 |
+
},
|
| 88 |
+
"params": {
|
| 89 |
+
"Region": "cn-north-1",
|
| 90 |
+
"UseFIPS": false,
|
| 91 |
+
"UseDualStack": true
|
| 92 |
+
}
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled",
|
| 96 |
+
"expect": {
|
| 97 |
+
"endpoint": {
|
| 98 |
+
"url": "https://bedrock-agent.cn-north-1.amazonaws.com.cn"
|
| 99 |
+
}
|
| 100 |
+
},
|
| 101 |
+
"params": {
|
| 102 |
+
"Region": "cn-north-1",
|
| 103 |
+
"UseFIPS": false,
|
| 104 |
+
"UseDualStack": false
|
| 105 |
+
}
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled",
|
| 109 |
+
"expect": {
|
| 110 |
+
"endpoint": {
|
| 111 |
+
"url": "https://bedrock-agent-fips.us-gov-east-1.api.aws"
|
| 112 |
+
}
|
| 113 |
+
},
|
| 114 |
+
"params": {
|
| 115 |
+
"Region": "us-gov-east-1",
|
| 116 |
+
"UseFIPS": true,
|
| 117 |
+
"UseDualStack": true
|
| 118 |
+
}
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled",
|
| 122 |
+
"expect": {
|
| 123 |
+
"endpoint": {
|
| 124 |
+
"url": "https://bedrock-agent-fips.us-gov-east-1.amazonaws.com"
|
| 125 |
+
}
|
| 126 |
+
},
|
| 127 |
+
"params": {
|
| 128 |
+
"Region": "us-gov-east-1",
|
| 129 |
+
"UseFIPS": true,
|
| 130 |
+
"UseDualStack": false
|
| 131 |
+
}
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled",
|
| 135 |
+
"expect": {
|
| 136 |
+
"endpoint": {
|
| 137 |
+
"url": "https://bedrock-agent.us-gov-east-1.api.aws"
|
| 138 |
+
}
|
| 139 |
+
},
|
| 140 |
+
"params": {
|
| 141 |
+
"Region": "us-gov-east-1",
|
| 142 |
+
"UseFIPS": false,
|
| 143 |
+
"UseDualStack": true
|
| 144 |
+
}
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled",
|
| 148 |
+
"expect": {
|
| 149 |
+
"endpoint": {
|
| 150 |
+
"url": "https://bedrock-agent.us-gov-east-1.amazonaws.com"
|
| 151 |
+
}
|
| 152 |
+
},
|
| 153 |
+
"params": {
|
| 154 |
+
"Region": "us-gov-east-1",
|
| 155 |
+
"UseFIPS": false,
|
| 156 |
+
"UseDualStack": false
|
| 157 |
+
}
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
|
| 161 |
+
"expect": {
|
| 162 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 163 |
+
},
|
| 164 |
+
"params": {
|
| 165 |
+
"Region": "us-iso-east-1",
|
| 166 |
+
"UseFIPS": true,
|
| 167 |
+
"UseDualStack": true
|
| 168 |
+
}
|
| 169 |
+
},
|
| 170 |
+
{
|
| 171 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
|
| 172 |
+
"expect": {
|
| 173 |
+
"endpoint": {
|
| 174 |
+
"url": "https://bedrock-agent-fips.us-iso-east-1.c2s.ic.gov"
|
| 175 |
+
}
|
| 176 |
+
},
|
| 177 |
+
"params": {
|
| 178 |
+
"Region": "us-iso-east-1",
|
| 179 |
+
"UseFIPS": true,
|
| 180 |
+
"UseDualStack": false
|
| 181 |
+
}
|
| 182 |
+
},
|
| 183 |
+
{
|
| 184 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
|
| 185 |
+
"expect": {
|
| 186 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 187 |
+
},
|
| 188 |
+
"params": {
|
| 189 |
+
"Region": "us-iso-east-1",
|
| 190 |
+
"UseFIPS": false,
|
| 191 |
+
"UseDualStack": true
|
| 192 |
+
}
|
| 193 |
+
},
|
| 194 |
+
{
|
| 195 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
|
| 196 |
+
"expect": {
|
| 197 |
+
"endpoint": {
|
| 198 |
+
"url": "https://bedrock-agent.us-iso-east-1.c2s.ic.gov"
|
| 199 |
+
}
|
| 200 |
+
},
|
| 201 |
+
"params": {
|
| 202 |
+
"Region": "us-iso-east-1",
|
| 203 |
+
"UseFIPS": false,
|
| 204 |
+
"UseDualStack": false
|
| 205 |
+
}
|
| 206 |
+
},
|
| 207 |
+
{
|
| 208 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
|
| 209 |
+
"expect": {
|
| 210 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 211 |
+
},
|
| 212 |
+
"params": {
|
| 213 |
+
"Region": "us-isob-east-1",
|
| 214 |
+
"UseFIPS": true,
|
| 215 |
+
"UseDualStack": true
|
| 216 |
+
}
|
| 217 |
+
},
|
| 218 |
+
{
|
| 219 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
|
| 220 |
+
"expect": {
|
| 221 |
+
"endpoint": {
|
| 222 |
+
"url": "https://bedrock-agent-fips.us-isob-east-1.sc2s.sgov.gov"
|
| 223 |
+
}
|
| 224 |
+
},
|
| 225 |
+
"params": {
|
| 226 |
+
"Region": "us-isob-east-1",
|
| 227 |
+
"UseFIPS": true,
|
| 228 |
+
"UseDualStack": false
|
| 229 |
+
}
|
| 230 |
+
},
|
| 231 |
+
{
|
| 232 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
|
| 233 |
+
"expect": {
|
| 234 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 235 |
+
},
|
| 236 |
+
"params": {
|
| 237 |
+
"Region": "us-isob-east-1",
|
| 238 |
+
"UseFIPS": false,
|
| 239 |
+
"UseDualStack": true
|
| 240 |
+
}
|
| 241 |
+
},
|
| 242 |
+
{
|
| 243 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
|
| 244 |
+
"expect": {
|
| 245 |
+
"endpoint": {
|
| 246 |
+
"url": "https://bedrock-agent.us-isob-east-1.sc2s.sgov.gov"
|
| 247 |
+
}
|
| 248 |
+
},
|
| 249 |
+
"params": {
|
| 250 |
+
"Region": "us-isob-east-1",
|
| 251 |
+
"UseFIPS": false,
|
| 252 |
+
"UseDualStack": false
|
| 253 |
+
}
|
| 254 |
+
},
|
| 255 |
+
{
|
| 256 |
+
"documentation": "For custom endpoint with region set and fips disabled and dualstack disabled",
|
| 257 |
+
"expect": {
|
| 258 |
+
"endpoint": {
|
| 259 |
+
"url": "https://example.com"
|
| 260 |
+
}
|
| 261 |
+
},
|
| 262 |
+
"params": {
|
| 263 |
+
"Region": "us-east-1",
|
| 264 |
+
"UseFIPS": false,
|
| 265 |
+
"UseDualStack": false,
|
| 266 |
+
"Endpoint": "https://example.com"
|
| 267 |
+
}
|
| 268 |
+
},
|
| 269 |
+
{
|
| 270 |
+
"documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled",
|
| 271 |
+
"expect": {
|
| 272 |
+
"endpoint": {
|
| 273 |
+
"url": "https://example.com"
|
| 274 |
+
}
|
| 275 |
+
},
|
| 276 |
+
"params": {
|
| 277 |
+
"UseFIPS": false,
|
| 278 |
+
"UseDualStack": false,
|
| 279 |
+
"Endpoint": "https://example.com"
|
| 280 |
+
}
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"documentation": "For custom endpoint with fips enabled and dualstack disabled",
|
| 284 |
+
"expect": {
|
| 285 |
+
"error": "Invalid Configuration: FIPS and custom endpoint are not supported"
|
| 286 |
+
},
|
| 287 |
+
"params": {
|
| 288 |
+
"Region": "us-east-1",
|
| 289 |
+
"UseFIPS": true,
|
| 290 |
+
"UseDualStack": false,
|
| 291 |
+
"Endpoint": "https://example.com"
|
| 292 |
+
}
|
| 293 |
+
},
|
| 294 |
+
{
|
| 295 |
+
"documentation": "For custom endpoint with fips disabled and dualstack enabled",
|
| 296 |
+
"expect": {
|
| 297 |
+
"error": "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
| 298 |
+
},
|
| 299 |
+
"params": {
|
| 300 |
+
"Region": "us-east-1",
|
| 301 |
+
"UseFIPS": false,
|
| 302 |
+
"UseDualStack": true,
|
| 303 |
+
"Endpoint": "https://example.com"
|
| 304 |
+
}
|
| 305 |
+
},
|
| 306 |
+
{
|
| 307 |
+
"documentation": "Missing region",
|
| 308 |
+
"expect": {
|
| 309 |
+
"error": "Invalid Configuration: Missing Region"
|
| 310 |
+
}
|
| 311 |
+
}
|
| 312 |
+
],
|
| 313 |
+
"version": "1.0"
|
| 314 |
+
}
|
testbed/boto__botocore/tests/functional/endpoint-rules/bedrock-runtime/endpoint-tests-1.json
ADDED
|
@@ -0,0 +1,314 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"testCases": [
|
| 3 |
+
{
|
| 4 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
|
| 5 |
+
"expect": {
|
| 6 |
+
"endpoint": {
|
| 7 |
+
"url": "https://bedrock-runtime-fips.us-east-1.api.aws"
|
| 8 |
+
}
|
| 9 |
+
},
|
| 10 |
+
"params": {
|
| 11 |
+
"Region": "us-east-1",
|
| 12 |
+
"UseFIPS": true,
|
| 13 |
+
"UseDualStack": true
|
| 14 |
+
}
|
| 15 |
+
},
|
| 16 |
+
{
|
| 17 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
|
| 18 |
+
"expect": {
|
| 19 |
+
"endpoint": {
|
| 20 |
+
"url": "https://bedrock-runtime-fips.us-east-1.amazonaws.com"
|
| 21 |
+
}
|
| 22 |
+
},
|
| 23 |
+
"params": {
|
| 24 |
+
"Region": "us-east-1",
|
| 25 |
+
"UseFIPS": true,
|
| 26 |
+
"UseDualStack": false
|
| 27 |
+
}
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
|
| 31 |
+
"expect": {
|
| 32 |
+
"endpoint": {
|
| 33 |
+
"url": "https://bedrock-runtime.us-east-1.api.aws"
|
| 34 |
+
}
|
| 35 |
+
},
|
| 36 |
+
"params": {
|
| 37 |
+
"Region": "us-east-1",
|
| 38 |
+
"UseFIPS": false,
|
| 39 |
+
"UseDualStack": true
|
| 40 |
+
}
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
|
| 44 |
+
"expect": {
|
| 45 |
+
"endpoint": {
|
| 46 |
+
"url": "https://bedrock-runtime.us-east-1.amazonaws.com"
|
| 47 |
+
}
|
| 48 |
+
},
|
| 49 |
+
"params": {
|
| 50 |
+
"Region": "us-east-1",
|
| 51 |
+
"UseFIPS": false,
|
| 52 |
+
"UseDualStack": false
|
| 53 |
+
}
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled",
|
| 57 |
+
"expect": {
|
| 58 |
+
"endpoint": {
|
| 59 |
+
"url": "https://bedrock-runtime-fips.cn-north-1.api.amazonwebservices.com.cn"
|
| 60 |
+
}
|
| 61 |
+
},
|
| 62 |
+
"params": {
|
| 63 |
+
"Region": "cn-north-1",
|
| 64 |
+
"UseFIPS": true,
|
| 65 |
+
"UseDualStack": true
|
| 66 |
+
}
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled",
|
| 70 |
+
"expect": {
|
| 71 |
+
"endpoint": {
|
| 72 |
+
"url": "https://bedrock-runtime-fips.cn-north-1.amazonaws.com.cn"
|
| 73 |
+
}
|
| 74 |
+
},
|
| 75 |
+
"params": {
|
| 76 |
+
"Region": "cn-north-1",
|
| 77 |
+
"UseFIPS": true,
|
| 78 |
+
"UseDualStack": false
|
| 79 |
+
}
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled",
|
| 83 |
+
"expect": {
|
| 84 |
+
"endpoint": {
|
| 85 |
+
"url": "https://bedrock-runtime.cn-north-1.api.amazonwebservices.com.cn"
|
| 86 |
+
}
|
| 87 |
+
},
|
| 88 |
+
"params": {
|
| 89 |
+
"Region": "cn-north-1",
|
| 90 |
+
"UseFIPS": false,
|
| 91 |
+
"UseDualStack": true
|
| 92 |
+
}
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled",
|
| 96 |
+
"expect": {
|
| 97 |
+
"endpoint": {
|
| 98 |
+
"url": "https://bedrock-runtime.cn-north-1.amazonaws.com.cn"
|
| 99 |
+
}
|
| 100 |
+
},
|
| 101 |
+
"params": {
|
| 102 |
+
"Region": "cn-north-1",
|
| 103 |
+
"UseFIPS": false,
|
| 104 |
+
"UseDualStack": false
|
| 105 |
+
}
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled",
|
| 109 |
+
"expect": {
|
| 110 |
+
"endpoint": {
|
| 111 |
+
"url": "https://bedrock-runtime-fips.us-gov-east-1.api.aws"
|
| 112 |
+
}
|
| 113 |
+
},
|
| 114 |
+
"params": {
|
| 115 |
+
"Region": "us-gov-east-1",
|
| 116 |
+
"UseFIPS": true,
|
| 117 |
+
"UseDualStack": true
|
| 118 |
+
}
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled",
|
| 122 |
+
"expect": {
|
| 123 |
+
"endpoint": {
|
| 124 |
+
"url": "https://bedrock-runtime-fips.us-gov-east-1.amazonaws.com"
|
| 125 |
+
}
|
| 126 |
+
},
|
| 127 |
+
"params": {
|
| 128 |
+
"Region": "us-gov-east-1",
|
| 129 |
+
"UseFIPS": true,
|
| 130 |
+
"UseDualStack": false
|
| 131 |
+
}
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled",
|
| 135 |
+
"expect": {
|
| 136 |
+
"endpoint": {
|
| 137 |
+
"url": "https://bedrock-runtime.us-gov-east-1.api.aws"
|
| 138 |
+
}
|
| 139 |
+
},
|
| 140 |
+
"params": {
|
| 141 |
+
"Region": "us-gov-east-1",
|
| 142 |
+
"UseFIPS": false,
|
| 143 |
+
"UseDualStack": true
|
| 144 |
+
}
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled",
|
| 148 |
+
"expect": {
|
| 149 |
+
"endpoint": {
|
| 150 |
+
"url": "https://bedrock-runtime.us-gov-east-1.amazonaws.com"
|
| 151 |
+
}
|
| 152 |
+
},
|
| 153 |
+
"params": {
|
| 154 |
+
"Region": "us-gov-east-1",
|
| 155 |
+
"UseFIPS": false,
|
| 156 |
+
"UseDualStack": false
|
| 157 |
+
}
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
|
| 161 |
+
"expect": {
|
| 162 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 163 |
+
},
|
| 164 |
+
"params": {
|
| 165 |
+
"Region": "us-iso-east-1",
|
| 166 |
+
"UseFIPS": true,
|
| 167 |
+
"UseDualStack": true
|
| 168 |
+
}
|
| 169 |
+
},
|
| 170 |
+
{
|
| 171 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
|
| 172 |
+
"expect": {
|
| 173 |
+
"endpoint": {
|
| 174 |
+
"url": "https://bedrock-runtime-fips.us-iso-east-1.c2s.ic.gov"
|
| 175 |
+
}
|
| 176 |
+
},
|
| 177 |
+
"params": {
|
| 178 |
+
"Region": "us-iso-east-1",
|
| 179 |
+
"UseFIPS": true,
|
| 180 |
+
"UseDualStack": false
|
| 181 |
+
}
|
| 182 |
+
},
|
| 183 |
+
{
|
| 184 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
|
| 185 |
+
"expect": {
|
| 186 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 187 |
+
},
|
| 188 |
+
"params": {
|
| 189 |
+
"Region": "us-iso-east-1",
|
| 190 |
+
"UseFIPS": false,
|
| 191 |
+
"UseDualStack": true
|
| 192 |
+
}
|
| 193 |
+
},
|
| 194 |
+
{
|
| 195 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
|
| 196 |
+
"expect": {
|
| 197 |
+
"endpoint": {
|
| 198 |
+
"url": "https://bedrock-runtime.us-iso-east-1.c2s.ic.gov"
|
| 199 |
+
}
|
| 200 |
+
},
|
| 201 |
+
"params": {
|
| 202 |
+
"Region": "us-iso-east-1",
|
| 203 |
+
"UseFIPS": false,
|
| 204 |
+
"UseDualStack": false
|
| 205 |
+
}
|
| 206 |
+
},
|
| 207 |
+
{
|
| 208 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
|
| 209 |
+
"expect": {
|
| 210 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 211 |
+
},
|
| 212 |
+
"params": {
|
| 213 |
+
"Region": "us-isob-east-1",
|
| 214 |
+
"UseFIPS": true,
|
| 215 |
+
"UseDualStack": true
|
| 216 |
+
}
|
| 217 |
+
},
|
| 218 |
+
{
|
| 219 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
|
| 220 |
+
"expect": {
|
| 221 |
+
"endpoint": {
|
| 222 |
+
"url": "https://bedrock-runtime-fips.us-isob-east-1.sc2s.sgov.gov"
|
| 223 |
+
}
|
| 224 |
+
},
|
| 225 |
+
"params": {
|
| 226 |
+
"Region": "us-isob-east-1",
|
| 227 |
+
"UseFIPS": true,
|
| 228 |
+
"UseDualStack": false
|
| 229 |
+
}
|
| 230 |
+
},
|
| 231 |
+
{
|
| 232 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
|
| 233 |
+
"expect": {
|
| 234 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 235 |
+
},
|
| 236 |
+
"params": {
|
| 237 |
+
"Region": "us-isob-east-1",
|
| 238 |
+
"UseFIPS": false,
|
| 239 |
+
"UseDualStack": true
|
| 240 |
+
}
|
| 241 |
+
},
|
| 242 |
+
{
|
| 243 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
|
| 244 |
+
"expect": {
|
| 245 |
+
"endpoint": {
|
| 246 |
+
"url": "https://bedrock-runtime.us-isob-east-1.sc2s.sgov.gov"
|
| 247 |
+
}
|
| 248 |
+
},
|
| 249 |
+
"params": {
|
| 250 |
+
"Region": "us-isob-east-1",
|
| 251 |
+
"UseFIPS": false,
|
| 252 |
+
"UseDualStack": false
|
| 253 |
+
}
|
| 254 |
+
},
|
| 255 |
+
{
|
| 256 |
+
"documentation": "For custom endpoint with region set and fips disabled and dualstack disabled",
|
| 257 |
+
"expect": {
|
| 258 |
+
"endpoint": {
|
| 259 |
+
"url": "https://example.com"
|
| 260 |
+
}
|
| 261 |
+
},
|
| 262 |
+
"params": {
|
| 263 |
+
"Region": "us-east-1",
|
| 264 |
+
"UseFIPS": false,
|
| 265 |
+
"UseDualStack": false,
|
| 266 |
+
"Endpoint": "https://example.com"
|
| 267 |
+
}
|
| 268 |
+
},
|
| 269 |
+
{
|
| 270 |
+
"documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled",
|
| 271 |
+
"expect": {
|
| 272 |
+
"endpoint": {
|
| 273 |
+
"url": "https://example.com"
|
| 274 |
+
}
|
| 275 |
+
},
|
| 276 |
+
"params": {
|
| 277 |
+
"UseFIPS": false,
|
| 278 |
+
"UseDualStack": false,
|
| 279 |
+
"Endpoint": "https://example.com"
|
| 280 |
+
}
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"documentation": "For custom endpoint with fips enabled and dualstack disabled",
|
| 284 |
+
"expect": {
|
| 285 |
+
"error": "Invalid Configuration: FIPS and custom endpoint are not supported"
|
| 286 |
+
},
|
| 287 |
+
"params": {
|
| 288 |
+
"Region": "us-east-1",
|
| 289 |
+
"UseFIPS": true,
|
| 290 |
+
"UseDualStack": false,
|
| 291 |
+
"Endpoint": "https://example.com"
|
| 292 |
+
}
|
| 293 |
+
},
|
| 294 |
+
{
|
| 295 |
+
"documentation": "For custom endpoint with fips disabled and dualstack enabled",
|
| 296 |
+
"expect": {
|
| 297 |
+
"error": "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
| 298 |
+
},
|
| 299 |
+
"params": {
|
| 300 |
+
"Region": "us-east-1",
|
| 301 |
+
"UseFIPS": false,
|
| 302 |
+
"UseDualStack": true,
|
| 303 |
+
"Endpoint": "https://example.com"
|
| 304 |
+
}
|
| 305 |
+
},
|
| 306 |
+
{
|
| 307 |
+
"documentation": "Missing region",
|
| 308 |
+
"expect": {
|
| 309 |
+
"error": "Invalid Configuration: Missing Region"
|
| 310 |
+
}
|
| 311 |
+
}
|
| 312 |
+
],
|
| 313 |
+
"version": "1.0"
|
| 314 |
+
}
|
testbed/boto__botocore/tests/functional/endpoint-rules/bedrock/endpoint-tests-1.json
ADDED
|
@@ -0,0 +1,314 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"testCases": [
|
| 3 |
+
{
|
| 4 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
|
| 5 |
+
"expect": {
|
| 6 |
+
"endpoint": {
|
| 7 |
+
"url": "https://bedrock-fips.us-east-1.api.aws"
|
| 8 |
+
}
|
| 9 |
+
},
|
| 10 |
+
"params": {
|
| 11 |
+
"Region": "us-east-1",
|
| 12 |
+
"UseFIPS": true,
|
| 13 |
+
"UseDualStack": true
|
| 14 |
+
}
|
| 15 |
+
},
|
| 16 |
+
{
|
| 17 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
|
| 18 |
+
"expect": {
|
| 19 |
+
"endpoint": {
|
| 20 |
+
"url": "https://bedrock-fips.us-east-1.amazonaws.com"
|
| 21 |
+
}
|
| 22 |
+
},
|
| 23 |
+
"params": {
|
| 24 |
+
"Region": "us-east-1",
|
| 25 |
+
"UseFIPS": true,
|
| 26 |
+
"UseDualStack": false
|
| 27 |
+
}
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
|
| 31 |
+
"expect": {
|
| 32 |
+
"endpoint": {
|
| 33 |
+
"url": "https://bedrock.us-east-1.api.aws"
|
| 34 |
+
}
|
| 35 |
+
},
|
| 36 |
+
"params": {
|
| 37 |
+
"Region": "us-east-1",
|
| 38 |
+
"UseFIPS": false,
|
| 39 |
+
"UseDualStack": true
|
| 40 |
+
}
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
|
| 44 |
+
"expect": {
|
| 45 |
+
"endpoint": {
|
| 46 |
+
"url": "https://bedrock.us-east-1.amazonaws.com"
|
| 47 |
+
}
|
| 48 |
+
},
|
| 49 |
+
"params": {
|
| 50 |
+
"Region": "us-east-1",
|
| 51 |
+
"UseFIPS": false,
|
| 52 |
+
"UseDualStack": false
|
| 53 |
+
}
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled",
|
| 57 |
+
"expect": {
|
| 58 |
+
"endpoint": {
|
| 59 |
+
"url": "https://bedrock-fips.cn-north-1.api.amazonwebservices.com.cn"
|
| 60 |
+
}
|
| 61 |
+
},
|
| 62 |
+
"params": {
|
| 63 |
+
"Region": "cn-north-1",
|
| 64 |
+
"UseFIPS": true,
|
| 65 |
+
"UseDualStack": true
|
| 66 |
+
}
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled",
|
| 70 |
+
"expect": {
|
| 71 |
+
"endpoint": {
|
| 72 |
+
"url": "https://bedrock-fips.cn-north-1.amazonaws.com.cn"
|
| 73 |
+
}
|
| 74 |
+
},
|
| 75 |
+
"params": {
|
| 76 |
+
"Region": "cn-north-1",
|
| 77 |
+
"UseFIPS": true,
|
| 78 |
+
"UseDualStack": false
|
| 79 |
+
}
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled",
|
| 83 |
+
"expect": {
|
| 84 |
+
"endpoint": {
|
| 85 |
+
"url": "https://bedrock.cn-north-1.api.amazonwebservices.com.cn"
|
| 86 |
+
}
|
| 87 |
+
},
|
| 88 |
+
"params": {
|
| 89 |
+
"Region": "cn-north-1",
|
| 90 |
+
"UseFIPS": false,
|
| 91 |
+
"UseDualStack": true
|
| 92 |
+
}
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled",
|
| 96 |
+
"expect": {
|
| 97 |
+
"endpoint": {
|
| 98 |
+
"url": "https://bedrock.cn-north-1.amazonaws.com.cn"
|
| 99 |
+
}
|
| 100 |
+
},
|
| 101 |
+
"params": {
|
| 102 |
+
"Region": "cn-north-1",
|
| 103 |
+
"UseFIPS": false,
|
| 104 |
+
"UseDualStack": false
|
| 105 |
+
}
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled",
|
| 109 |
+
"expect": {
|
| 110 |
+
"endpoint": {
|
| 111 |
+
"url": "https://bedrock-fips.us-gov-east-1.api.aws"
|
| 112 |
+
}
|
| 113 |
+
},
|
| 114 |
+
"params": {
|
| 115 |
+
"Region": "us-gov-east-1",
|
| 116 |
+
"UseFIPS": true,
|
| 117 |
+
"UseDualStack": true
|
| 118 |
+
}
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled",
|
| 122 |
+
"expect": {
|
| 123 |
+
"endpoint": {
|
| 124 |
+
"url": "https://bedrock-fips.us-gov-east-1.amazonaws.com"
|
| 125 |
+
}
|
| 126 |
+
},
|
| 127 |
+
"params": {
|
| 128 |
+
"Region": "us-gov-east-1",
|
| 129 |
+
"UseFIPS": true,
|
| 130 |
+
"UseDualStack": false
|
| 131 |
+
}
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled",
|
| 135 |
+
"expect": {
|
| 136 |
+
"endpoint": {
|
| 137 |
+
"url": "https://bedrock.us-gov-east-1.api.aws"
|
| 138 |
+
}
|
| 139 |
+
},
|
| 140 |
+
"params": {
|
| 141 |
+
"Region": "us-gov-east-1",
|
| 142 |
+
"UseFIPS": false,
|
| 143 |
+
"UseDualStack": true
|
| 144 |
+
}
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled",
|
| 148 |
+
"expect": {
|
| 149 |
+
"endpoint": {
|
| 150 |
+
"url": "https://bedrock.us-gov-east-1.amazonaws.com"
|
| 151 |
+
}
|
| 152 |
+
},
|
| 153 |
+
"params": {
|
| 154 |
+
"Region": "us-gov-east-1",
|
| 155 |
+
"UseFIPS": false,
|
| 156 |
+
"UseDualStack": false
|
| 157 |
+
}
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
|
| 161 |
+
"expect": {
|
| 162 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 163 |
+
},
|
| 164 |
+
"params": {
|
| 165 |
+
"Region": "us-iso-east-1",
|
| 166 |
+
"UseFIPS": true,
|
| 167 |
+
"UseDualStack": true
|
| 168 |
+
}
|
| 169 |
+
},
|
| 170 |
+
{
|
| 171 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
|
| 172 |
+
"expect": {
|
| 173 |
+
"endpoint": {
|
| 174 |
+
"url": "https://bedrock-fips.us-iso-east-1.c2s.ic.gov"
|
| 175 |
+
}
|
| 176 |
+
},
|
| 177 |
+
"params": {
|
| 178 |
+
"Region": "us-iso-east-1",
|
| 179 |
+
"UseFIPS": true,
|
| 180 |
+
"UseDualStack": false
|
| 181 |
+
}
|
| 182 |
+
},
|
| 183 |
+
{
|
| 184 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
|
| 185 |
+
"expect": {
|
| 186 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 187 |
+
},
|
| 188 |
+
"params": {
|
| 189 |
+
"Region": "us-iso-east-1",
|
| 190 |
+
"UseFIPS": false,
|
| 191 |
+
"UseDualStack": true
|
| 192 |
+
}
|
| 193 |
+
},
|
| 194 |
+
{
|
| 195 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
|
| 196 |
+
"expect": {
|
| 197 |
+
"endpoint": {
|
| 198 |
+
"url": "https://bedrock.us-iso-east-1.c2s.ic.gov"
|
| 199 |
+
}
|
| 200 |
+
},
|
| 201 |
+
"params": {
|
| 202 |
+
"Region": "us-iso-east-1",
|
| 203 |
+
"UseFIPS": false,
|
| 204 |
+
"UseDualStack": false
|
| 205 |
+
}
|
| 206 |
+
},
|
| 207 |
+
{
|
| 208 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
|
| 209 |
+
"expect": {
|
| 210 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 211 |
+
},
|
| 212 |
+
"params": {
|
| 213 |
+
"Region": "us-isob-east-1",
|
| 214 |
+
"UseFIPS": true,
|
| 215 |
+
"UseDualStack": true
|
| 216 |
+
}
|
| 217 |
+
},
|
| 218 |
+
{
|
| 219 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
|
| 220 |
+
"expect": {
|
| 221 |
+
"endpoint": {
|
| 222 |
+
"url": "https://bedrock-fips.us-isob-east-1.sc2s.sgov.gov"
|
| 223 |
+
}
|
| 224 |
+
},
|
| 225 |
+
"params": {
|
| 226 |
+
"Region": "us-isob-east-1",
|
| 227 |
+
"UseFIPS": true,
|
| 228 |
+
"UseDualStack": false
|
| 229 |
+
}
|
| 230 |
+
},
|
| 231 |
+
{
|
| 232 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
|
| 233 |
+
"expect": {
|
| 234 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 235 |
+
},
|
| 236 |
+
"params": {
|
| 237 |
+
"Region": "us-isob-east-1",
|
| 238 |
+
"UseFIPS": false,
|
| 239 |
+
"UseDualStack": true
|
| 240 |
+
}
|
| 241 |
+
},
|
| 242 |
+
{
|
| 243 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
|
| 244 |
+
"expect": {
|
| 245 |
+
"endpoint": {
|
| 246 |
+
"url": "https://bedrock.us-isob-east-1.sc2s.sgov.gov"
|
| 247 |
+
}
|
| 248 |
+
},
|
| 249 |
+
"params": {
|
| 250 |
+
"Region": "us-isob-east-1",
|
| 251 |
+
"UseFIPS": false,
|
| 252 |
+
"UseDualStack": false
|
| 253 |
+
}
|
| 254 |
+
},
|
| 255 |
+
{
|
| 256 |
+
"documentation": "For custom endpoint with region set and fips disabled and dualstack disabled",
|
| 257 |
+
"expect": {
|
| 258 |
+
"endpoint": {
|
| 259 |
+
"url": "https://example.com"
|
| 260 |
+
}
|
| 261 |
+
},
|
| 262 |
+
"params": {
|
| 263 |
+
"Region": "us-east-1",
|
| 264 |
+
"UseFIPS": false,
|
| 265 |
+
"UseDualStack": false,
|
| 266 |
+
"Endpoint": "https://example.com"
|
| 267 |
+
}
|
| 268 |
+
},
|
| 269 |
+
{
|
| 270 |
+
"documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled",
|
| 271 |
+
"expect": {
|
| 272 |
+
"endpoint": {
|
| 273 |
+
"url": "https://example.com"
|
| 274 |
+
}
|
| 275 |
+
},
|
| 276 |
+
"params": {
|
| 277 |
+
"UseFIPS": false,
|
| 278 |
+
"UseDualStack": false,
|
| 279 |
+
"Endpoint": "https://example.com"
|
| 280 |
+
}
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"documentation": "For custom endpoint with fips enabled and dualstack disabled",
|
| 284 |
+
"expect": {
|
| 285 |
+
"error": "Invalid Configuration: FIPS and custom endpoint are not supported"
|
| 286 |
+
},
|
| 287 |
+
"params": {
|
| 288 |
+
"Region": "us-east-1",
|
| 289 |
+
"UseFIPS": true,
|
| 290 |
+
"UseDualStack": false,
|
| 291 |
+
"Endpoint": "https://example.com"
|
| 292 |
+
}
|
| 293 |
+
},
|
| 294 |
+
{
|
| 295 |
+
"documentation": "For custom endpoint with fips disabled and dualstack enabled",
|
| 296 |
+
"expect": {
|
| 297 |
+
"error": "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
| 298 |
+
},
|
| 299 |
+
"params": {
|
| 300 |
+
"Region": "us-east-1",
|
| 301 |
+
"UseFIPS": false,
|
| 302 |
+
"UseDualStack": true,
|
| 303 |
+
"Endpoint": "https://example.com"
|
| 304 |
+
}
|
| 305 |
+
},
|
| 306 |
+
{
|
| 307 |
+
"documentation": "Missing region",
|
| 308 |
+
"expect": {
|
| 309 |
+
"error": "Invalid Configuration: Missing Region"
|
| 310 |
+
}
|
| 311 |
+
}
|
| 312 |
+
],
|
| 313 |
+
"version": "1.0"
|
| 314 |
+
}
|
testbed/boto__botocore/tests/functional/endpoint-rules/chatbot/endpoint-tests-1.json
ADDED
|
@@ -0,0 +1,314 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"testCases": [
|
| 3 |
+
{
|
| 4 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
|
| 5 |
+
"expect": {
|
| 6 |
+
"endpoint": {
|
| 7 |
+
"url": "https://chatbot-fips.us-east-1.api.aws"
|
| 8 |
+
}
|
| 9 |
+
},
|
| 10 |
+
"params": {
|
| 11 |
+
"Region": "us-east-1",
|
| 12 |
+
"UseFIPS": true,
|
| 13 |
+
"UseDualStack": true
|
| 14 |
+
}
|
| 15 |
+
},
|
| 16 |
+
{
|
| 17 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
|
| 18 |
+
"expect": {
|
| 19 |
+
"endpoint": {
|
| 20 |
+
"url": "https://chatbot-fips.us-east-1.amazonaws.com"
|
| 21 |
+
}
|
| 22 |
+
},
|
| 23 |
+
"params": {
|
| 24 |
+
"Region": "us-east-1",
|
| 25 |
+
"UseFIPS": true,
|
| 26 |
+
"UseDualStack": false
|
| 27 |
+
}
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
|
| 31 |
+
"expect": {
|
| 32 |
+
"endpoint": {
|
| 33 |
+
"url": "https://chatbot.us-east-1.api.aws"
|
| 34 |
+
}
|
| 35 |
+
},
|
| 36 |
+
"params": {
|
| 37 |
+
"Region": "us-east-1",
|
| 38 |
+
"UseFIPS": false,
|
| 39 |
+
"UseDualStack": true
|
| 40 |
+
}
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
|
| 44 |
+
"expect": {
|
| 45 |
+
"endpoint": {
|
| 46 |
+
"url": "https://chatbot.us-east-1.amazonaws.com"
|
| 47 |
+
}
|
| 48 |
+
},
|
| 49 |
+
"params": {
|
| 50 |
+
"Region": "us-east-1",
|
| 51 |
+
"UseFIPS": false,
|
| 52 |
+
"UseDualStack": false
|
| 53 |
+
}
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled",
|
| 57 |
+
"expect": {
|
| 58 |
+
"endpoint": {
|
| 59 |
+
"url": "https://chatbot-fips.cn-north-1.api.amazonwebservices.com.cn"
|
| 60 |
+
}
|
| 61 |
+
},
|
| 62 |
+
"params": {
|
| 63 |
+
"Region": "cn-north-1",
|
| 64 |
+
"UseFIPS": true,
|
| 65 |
+
"UseDualStack": true
|
| 66 |
+
}
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled",
|
| 70 |
+
"expect": {
|
| 71 |
+
"endpoint": {
|
| 72 |
+
"url": "https://chatbot-fips.cn-north-1.amazonaws.com.cn"
|
| 73 |
+
}
|
| 74 |
+
},
|
| 75 |
+
"params": {
|
| 76 |
+
"Region": "cn-north-1",
|
| 77 |
+
"UseFIPS": true,
|
| 78 |
+
"UseDualStack": false
|
| 79 |
+
}
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled",
|
| 83 |
+
"expect": {
|
| 84 |
+
"endpoint": {
|
| 85 |
+
"url": "https://chatbot.cn-north-1.api.amazonwebservices.com.cn"
|
| 86 |
+
}
|
| 87 |
+
},
|
| 88 |
+
"params": {
|
| 89 |
+
"Region": "cn-north-1",
|
| 90 |
+
"UseFIPS": false,
|
| 91 |
+
"UseDualStack": true
|
| 92 |
+
}
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled",
|
| 96 |
+
"expect": {
|
| 97 |
+
"endpoint": {
|
| 98 |
+
"url": "https://chatbot.cn-north-1.amazonaws.com.cn"
|
| 99 |
+
}
|
| 100 |
+
},
|
| 101 |
+
"params": {
|
| 102 |
+
"Region": "cn-north-1",
|
| 103 |
+
"UseFIPS": false,
|
| 104 |
+
"UseDualStack": false
|
| 105 |
+
}
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled",
|
| 109 |
+
"expect": {
|
| 110 |
+
"endpoint": {
|
| 111 |
+
"url": "https://chatbot-fips.us-gov-east-1.api.aws"
|
| 112 |
+
}
|
| 113 |
+
},
|
| 114 |
+
"params": {
|
| 115 |
+
"Region": "us-gov-east-1",
|
| 116 |
+
"UseFIPS": true,
|
| 117 |
+
"UseDualStack": true
|
| 118 |
+
}
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled",
|
| 122 |
+
"expect": {
|
| 123 |
+
"endpoint": {
|
| 124 |
+
"url": "https://chatbot-fips.us-gov-east-1.amazonaws.com"
|
| 125 |
+
}
|
| 126 |
+
},
|
| 127 |
+
"params": {
|
| 128 |
+
"Region": "us-gov-east-1",
|
| 129 |
+
"UseFIPS": true,
|
| 130 |
+
"UseDualStack": false
|
| 131 |
+
}
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled",
|
| 135 |
+
"expect": {
|
| 136 |
+
"endpoint": {
|
| 137 |
+
"url": "https://chatbot.us-gov-east-1.api.aws"
|
| 138 |
+
}
|
| 139 |
+
},
|
| 140 |
+
"params": {
|
| 141 |
+
"Region": "us-gov-east-1",
|
| 142 |
+
"UseFIPS": false,
|
| 143 |
+
"UseDualStack": true
|
| 144 |
+
}
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled",
|
| 148 |
+
"expect": {
|
| 149 |
+
"endpoint": {
|
| 150 |
+
"url": "https://chatbot.us-gov-east-1.amazonaws.com"
|
| 151 |
+
}
|
| 152 |
+
},
|
| 153 |
+
"params": {
|
| 154 |
+
"Region": "us-gov-east-1",
|
| 155 |
+
"UseFIPS": false,
|
| 156 |
+
"UseDualStack": false
|
| 157 |
+
}
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
|
| 161 |
+
"expect": {
|
| 162 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 163 |
+
},
|
| 164 |
+
"params": {
|
| 165 |
+
"Region": "us-iso-east-1",
|
| 166 |
+
"UseFIPS": true,
|
| 167 |
+
"UseDualStack": true
|
| 168 |
+
}
|
| 169 |
+
},
|
| 170 |
+
{
|
| 171 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
|
| 172 |
+
"expect": {
|
| 173 |
+
"endpoint": {
|
| 174 |
+
"url": "https://chatbot-fips.us-iso-east-1.c2s.ic.gov"
|
| 175 |
+
}
|
| 176 |
+
},
|
| 177 |
+
"params": {
|
| 178 |
+
"Region": "us-iso-east-1",
|
| 179 |
+
"UseFIPS": true,
|
| 180 |
+
"UseDualStack": false
|
| 181 |
+
}
|
| 182 |
+
},
|
| 183 |
+
{
|
| 184 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
|
| 185 |
+
"expect": {
|
| 186 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 187 |
+
},
|
| 188 |
+
"params": {
|
| 189 |
+
"Region": "us-iso-east-1",
|
| 190 |
+
"UseFIPS": false,
|
| 191 |
+
"UseDualStack": true
|
| 192 |
+
}
|
| 193 |
+
},
|
| 194 |
+
{
|
| 195 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
|
| 196 |
+
"expect": {
|
| 197 |
+
"endpoint": {
|
| 198 |
+
"url": "https://chatbot.us-iso-east-1.c2s.ic.gov"
|
| 199 |
+
}
|
| 200 |
+
},
|
| 201 |
+
"params": {
|
| 202 |
+
"Region": "us-iso-east-1",
|
| 203 |
+
"UseFIPS": false,
|
| 204 |
+
"UseDualStack": false
|
| 205 |
+
}
|
| 206 |
+
},
|
| 207 |
+
{
|
| 208 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
|
| 209 |
+
"expect": {
|
| 210 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 211 |
+
},
|
| 212 |
+
"params": {
|
| 213 |
+
"Region": "us-isob-east-1",
|
| 214 |
+
"UseFIPS": true,
|
| 215 |
+
"UseDualStack": true
|
| 216 |
+
}
|
| 217 |
+
},
|
| 218 |
+
{
|
| 219 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
|
| 220 |
+
"expect": {
|
| 221 |
+
"endpoint": {
|
| 222 |
+
"url": "https://chatbot-fips.us-isob-east-1.sc2s.sgov.gov"
|
| 223 |
+
}
|
| 224 |
+
},
|
| 225 |
+
"params": {
|
| 226 |
+
"Region": "us-isob-east-1",
|
| 227 |
+
"UseFIPS": true,
|
| 228 |
+
"UseDualStack": false
|
| 229 |
+
}
|
| 230 |
+
},
|
| 231 |
+
{
|
| 232 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
|
| 233 |
+
"expect": {
|
| 234 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 235 |
+
},
|
| 236 |
+
"params": {
|
| 237 |
+
"Region": "us-isob-east-1",
|
| 238 |
+
"UseFIPS": false,
|
| 239 |
+
"UseDualStack": true
|
| 240 |
+
}
|
| 241 |
+
},
|
| 242 |
+
{
|
| 243 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
|
| 244 |
+
"expect": {
|
| 245 |
+
"endpoint": {
|
| 246 |
+
"url": "https://chatbot.us-isob-east-1.sc2s.sgov.gov"
|
| 247 |
+
}
|
| 248 |
+
},
|
| 249 |
+
"params": {
|
| 250 |
+
"Region": "us-isob-east-1",
|
| 251 |
+
"UseFIPS": false,
|
| 252 |
+
"UseDualStack": false
|
| 253 |
+
}
|
| 254 |
+
},
|
| 255 |
+
{
|
| 256 |
+
"documentation": "For custom endpoint with region set and fips disabled and dualstack disabled",
|
| 257 |
+
"expect": {
|
| 258 |
+
"endpoint": {
|
| 259 |
+
"url": "https://example.com"
|
| 260 |
+
}
|
| 261 |
+
},
|
| 262 |
+
"params": {
|
| 263 |
+
"Region": "us-east-1",
|
| 264 |
+
"UseFIPS": false,
|
| 265 |
+
"UseDualStack": false,
|
| 266 |
+
"Endpoint": "https://example.com"
|
| 267 |
+
}
|
| 268 |
+
},
|
| 269 |
+
{
|
| 270 |
+
"documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled",
|
| 271 |
+
"expect": {
|
| 272 |
+
"endpoint": {
|
| 273 |
+
"url": "https://example.com"
|
| 274 |
+
}
|
| 275 |
+
},
|
| 276 |
+
"params": {
|
| 277 |
+
"UseFIPS": false,
|
| 278 |
+
"UseDualStack": false,
|
| 279 |
+
"Endpoint": "https://example.com"
|
| 280 |
+
}
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"documentation": "For custom endpoint with fips enabled and dualstack disabled",
|
| 284 |
+
"expect": {
|
| 285 |
+
"error": "Invalid Configuration: FIPS and custom endpoint are not supported"
|
| 286 |
+
},
|
| 287 |
+
"params": {
|
| 288 |
+
"Region": "us-east-1",
|
| 289 |
+
"UseFIPS": true,
|
| 290 |
+
"UseDualStack": false,
|
| 291 |
+
"Endpoint": "https://example.com"
|
| 292 |
+
}
|
| 293 |
+
},
|
| 294 |
+
{
|
| 295 |
+
"documentation": "For custom endpoint with fips disabled and dualstack enabled",
|
| 296 |
+
"expect": {
|
| 297 |
+
"error": "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
| 298 |
+
},
|
| 299 |
+
"params": {
|
| 300 |
+
"Region": "us-east-1",
|
| 301 |
+
"UseFIPS": false,
|
| 302 |
+
"UseDualStack": true,
|
| 303 |
+
"Endpoint": "https://example.com"
|
| 304 |
+
}
|
| 305 |
+
},
|
| 306 |
+
{
|
| 307 |
+
"documentation": "Missing region",
|
| 308 |
+
"expect": {
|
| 309 |
+
"error": "Invalid Configuration: Missing Region"
|
| 310 |
+
}
|
| 311 |
+
}
|
| 312 |
+
],
|
| 313 |
+
"version": "1.0"
|
| 314 |
+
}
|
testbed/boto__botocore/tests/functional/endpoint-rules/cleanroomsml/endpoint-tests-1.json
ADDED
|
@@ -0,0 +1,314 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"testCases": [
|
| 3 |
+
{
|
| 4 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
|
| 5 |
+
"expect": {
|
| 6 |
+
"endpoint": {
|
| 7 |
+
"url": "https://cleanrooms-ml-fips.us-east-1.api.aws"
|
| 8 |
+
}
|
| 9 |
+
},
|
| 10 |
+
"params": {
|
| 11 |
+
"Region": "us-east-1",
|
| 12 |
+
"UseFIPS": true,
|
| 13 |
+
"UseDualStack": true
|
| 14 |
+
}
|
| 15 |
+
},
|
| 16 |
+
{
|
| 17 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
|
| 18 |
+
"expect": {
|
| 19 |
+
"endpoint": {
|
| 20 |
+
"url": "https://cleanrooms-ml-fips.us-east-1.amazonaws.com"
|
| 21 |
+
}
|
| 22 |
+
},
|
| 23 |
+
"params": {
|
| 24 |
+
"Region": "us-east-1",
|
| 25 |
+
"UseFIPS": true,
|
| 26 |
+
"UseDualStack": false
|
| 27 |
+
}
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
|
| 31 |
+
"expect": {
|
| 32 |
+
"endpoint": {
|
| 33 |
+
"url": "https://cleanrooms-ml.us-east-1.api.aws"
|
| 34 |
+
}
|
| 35 |
+
},
|
| 36 |
+
"params": {
|
| 37 |
+
"Region": "us-east-1",
|
| 38 |
+
"UseFIPS": false,
|
| 39 |
+
"UseDualStack": true
|
| 40 |
+
}
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
|
| 44 |
+
"expect": {
|
| 45 |
+
"endpoint": {
|
| 46 |
+
"url": "https://cleanrooms-ml.us-east-1.amazonaws.com"
|
| 47 |
+
}
|
| 48 |
+
},
|
| 49 |
+
"params": {
|
| 50 |
+
"Region": "us-east-1",
|
| 51 |
+
"UseFIPS": false,
|
| 52 |
+
"UseDualStack": false
|
| 53 |
+
}
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled",
|
| 57 |
+
"expect": {
|
| 58 |
+
"endpoint": {
|
| 59 |
+
"url": "https://cleanrooms-ml-fips.cn-north-1.api.amazonwebservices.com.cn"
|
| 60 |
+
}
|
| 61 |
+
},
|
| 62 |
+
"params": {
|
| 63 |
+
"Region": "cn-north-1",
|
| 64 |
+
"UseFIPS": true,
|
| 65 |
+
"UseDualStack": true
|
| 66 |
+
}
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled",
|
| 70 |
+
"expect": {
|
| 71 |
+
"endpoint": {
|
| 72 |
+
"url": "https://cleanrooms-ml-fips.cn-north-1.amazonaws.com.cn"
|
| 73 |
+
}
|
| 74 |
+
},
|
| 75 |
+
"params": {
|
| 76 |
+
"Region": "cn-north-1",
|
| 77 |
+
"UseFIPS": true,
|
| 78 |
+
"UseDualStack": false
|
| 79 |
+
}
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled",
|
| 83 |
+
"expect": {
|
| 84 |
+
"endpoint": {
|
| 85 |
+
"url": "https://cleanrooms-ml.cn-north-1.api.amazonwebservices.com.cn"
|
| 86 |
+
}
|
| 87 |
+
},
|
| 88 |
+
"params": {
|
| 89 |
+
"Region": "cn-north-1",
|
| 90 |
+
"UseFIPS": false,
|
| 91 |
+
"UseDualStack": true
|
| 92 |
+
}
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled",
|
| 96 |
+
"expect": {
|
| 97 |
+
"endpoint": {
|
| 98 |
+
"url": "https://cleanrooms-ml.cn-north-1.amazonaws.com.cn"
|
| 99 |
+
}
|
| 100 |
+
},
|
| 101 |
+
"params": {
|
| 102 |
+
"Region": "cn-north-1",
|
| 103 |
+
"UseFIPS": false,
|
| 104 |
+
"UseDualStack": false
|
| 105 |
+
}
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled",
|
| 109 |
+
"expect": {
|
| 110 |
+
"endpoint": {
|
| 111 |
+
"url": "https://cleanrooms-ml-fips.us-gov-east-1.api.aws"
|
| 112 |
+
}
|
| 113 |
+
},
|
| 114 |
+
"params": {
|
| 115 |
+
"Region": "us-gov-east-1",
|
| 116 |
+
"UseFIPS": true,
|
| 117 |
+
"UseDualStack": true
|
| 118 |
+
}
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled",
|
| 122 |
+
"expect": {
|
| 123 |
+
"endpoint": {
|
| 124 |
+
"url": "https://cleanrooms-ml-fips.us-gov-east-1.amazonaws.com"
|
| 125 |
+
}
|
| 126 |
+
},
|
| 127 |
+
"params": {
|
| 128 |
+
"Region": "us-gov-east-1",
|
| 129 |
+
"UseFIPS": true,
|
| 130 |
+
"UseDualStack": false
|
| 131 |
+
}
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled",
|
| 135 |
+
"expect": {
|
| 136 |
+
"endpoint": {
|
| 137 |
+
"url": "https://cleanrooms-ml.us-gov-east-1.api.aws"
|
| 138 |
+
}
|
| 139 |
+
},
|
| 140 |
+
"params": {
|
| 141 |
+
"Region": "us-gov-east-1",
|
| 142 |
+
"UseFIPS": false,
|
| 143 |
+
"UseDualStack": true
|
| 144 |
+
}
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled",
|
| 148 |
+
"expect": {
|
| 149 |
+
"endpoint": {
|
| 150 |
+
"url": "https://cleanrooms-ml.us-gov-east-1.amazonaws.com"
|
| 151 |
+
}
|
| 152 |
+
},
|
| 153 |
+
"params": {
|
| 154 |
+
"Region": "us-gov-east-1",
|
| 155 |
+
"UseFIPS": false,
|
| 156 |
+
"UseDualStack": false
|
| 157 |
+
}
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
|
| 161 |
+
"expect": {
|
| 162 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 163 |
+
},
|
| 164 |
+
"params": {
|
| 165 |
+
"Region": "us-iso-east-1",
|
| 166 |
+
"UseFIPS": true,
|
| 167 |
+
"UseDualStack": true
|
| 168 |
+
}
|
| 169 |
+
},
|
| 170 |
+
{
|
| 171 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
|
| 172 |
+
"expect": {
|
| 173 |
+
"endpoint": {
|
| 174 |
+
"url": "https://cleanrooms-ml-fips.us-iso-east-1.c2s.ic.gov"
|
| 175 |
+
}
|
| 176 |
+
},
|
| 177 |
+
"params": {
|
| 178 |
+
"Region": "us-iso-east-1",
|
| 179 |
+
"UseFIPS": true,
|
| 180 |
+
"UseDualStack": false
|
| 181 |
+
}
|
| 182 |
+
},
|
| 183 |
+
{
|
| 184 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
|
| 185 |
+
"expect": {
|
| 186 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 187 |
+
},
|
| 188 |
+
"params": {
|
| 189 |
+
"Region": "us-iso-east-1",
|
| 190 |
+
"UseFIPS": false,
|
| 191 |
+
"UseDualStack": true
|
| 192 |
+
}
|
| 193 |
+
},
|
| 194 |
+
{
|
| 195 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
|
| 196 |
+
"expect": {
|
| 197 |
+
"endpoint": {
|
| 198 |
+
"url": "https://cleanrooms-ml.us-iso-east-1.c2s.ic.gov"
|
| 199 |
+
}
|
| 200 |
+
},
|
| 201 |
+
"params": {
|
| 202 |
+
"Region": "us-iso-east-1",
|
| 203 |
+
"UseFIPS": false,
|
| 204 |
+
"UseDualStack": false
|
| 205 |
+
}
|
| 206 |
+
},
|
| 207 |
+
{
|
| 208 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
|
| 209 |
+
"expect": {
|
| 210 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 211 |
+
},
|
| 212 |
+
"params": {
|
| 213 |
+
"Region": "us-isob-east-1",
|
| 214 |
+
"UseFIPS": true,
|
| 215 |
+
"UseDualStack": true
|
| 216 |
+
}
|
| 217 |
+
},
|
| 218 |
+
{
|
| 219 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
|
| 220 |
+
"expect": {
|
| 221 |
+
"endpoint": {
|
| 222 |
+
"url": "https://cleanrooms-ml-fips.us-isob-east-1.sc2s.sgov.gov"
|
| 223 |
+
}
|
| 224 |
+
},
|
| 225 |
+
"params": {
|
| 226 |
+
"Region": "us-isob-east-1",
|
| 227 |
+
"UseFIPS": true,
|
| 228 |
+
"UseDualStack": false
|
| 229 |
+
}
|
| 230 |
+
},
|
| 231 |
+
{
|
| 232 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
|
| 233 |
+
"expect": {
|
| 234 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 235 |
+
},
|
| 236 |
+
"params": {
|
| 237 |
+
"Region": "us-isob-east-1",
|
| 238 |
+
"UseFIPS": false,
|
| 239 |
+
"UseDualStack": true
|
| 240 |
+
}
|
| 241 |
+
},
|
| 242 |
+
{
|
| 243 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
|
| 244 |
+
"expect": {
|
| 245 |
+
"endpoint": {
|
| 246 |
+
"url": "https://cleanrooms-ml.us-isob-east-1.sc2s.sgov.gov"
|
| 247 |
+
}
|
| 248 |
+
},
|
| 249 |
+
"params": {
|
| 250 |
+
"Region": "us-isob-east-1",
|
| 251 |
+
"UseFIPS": false,
|
| 252 |
+
"UseDualStack": false
|
| 253 |
+
}
|
| 254 |
+
},
|
| 255 |
+
{
|
| 256 |
+
"documentation": "For custom endpoint with region set and fips disabled and dualstack disabled",
|
| 257 |
+
"expect": {
|
| 258 |
+
"endpoint": {
|
| 259 |
+
"url": "https://example.com"
|
| 260 |
+
}
|
| 261 |
+
},
|
| 262 |
+
"params": {
|
| 263 |
+
"Region": "us-east-1",
|
| 264 |
+
"UseFIPS": false,
|
| 265 |
+
"UseDualStack": false,
|
| 266 |
+
"Endpoint": "https://example.com"
|
| 267 |
+
}
|
| 268 |
+
},
|
| 269 |
+
{
|
| 270 |
+
"documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled",
|
| 271 |
+
"expect": {
|
| 272 |
+
"endpoint": {
|
| 273 |
+
"url": "https://example.com"
|
| 274 |
+
}
|
| 275 |
+
},
|
| 276 |
+
"params": {
|
| 277 |
+
"UseFIPS": false,
|
| 278 |
+
"UseDualStack": false,
|
| 279 |
+
"Endpoint": "https://example.com"
|
| 280 |
+
}
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"documentation": "For custom endpoint with fips enabled and dualstack disabled",
|
| 284 |
+
"expect": {
|
| 285 |
+
"error": "Invalid Configuration: FIPS and custom endpoint are not supported"
|
| 286 |
+
},
|
| 287 |
+
"params": {
|
| 288 |
+
"Region": "us-east-1",
|
| 289 |
+
"UseFIPS": true,
|
| 290 |
+
"UseDualStack": false,
|
| 291 |
+
"Endpoint": "https://example.com"
|
| 292 |
+
}
|
| 293 |
+
},
|
| 294 |
+
{
|
| 295 |
+
"documentation": "For custom endpoint with fips disabled and dualstack enabled",
|
| 296 |
+
"expect": {
|
| 297 |
+
"error": "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
| 298 |
+
},
|
| 299 |
+
"params": {
|
| 300 |
+
"Region": "us-east-1",
|
| 301 |
+
"UseFIPS": false,
|
| 302 |
+
"UseDualStack": true,
|
| 303 |
+
"Endpoint": "https://example.com"
|
| 304 |
+
}
|
| 305 |
+
},
|
| 306 |
+
{
|
| 307 |
+
"documentation": "Missing region",
|
| 308 |
+
"expect": {
|
| 309 |
+
"error": "Invalid Configuration: Missing Region"
|
| 310 |
+
}
|
| 311 |
+
}
|
| 312 |
+
],
|
| 313 |
+
"version": "1.0"
|
| 314 |
+
}
|
testbed/boto__botocore/tests/functional/endpoint-rules/cloudfront-keyvaluestore/endpoint-tests-1.json
ADDED
|
@@ -0,0 +1,198 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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error": "Invalid Configuration: FIPS is not supported with CloudFront-KeyValueStore."
|
| 7 |
+
},
|
| 8 |
+
"params": {
|
| 9 |
+
"UseFIPS": true
|
| 10 |
+
}
|
| 11 |
+
},
|
| 12 |
+
{
|
| 13 |
+
"documentation": "KVS ARN must be provided to use this service",
|
| 14 |
+
"expect": {
|
| 15 |
+
"error": "KVS ARN must be provided to use this service"
|
| 16 |
+
}
|
| 17 |
+
},
|
| 18 |
+
{
|
| 19 |
+
"documentation": "KVS ARN must be a valid ARN",
|
| 20 |
+
"expect": {
|
| 21 |
+
"error": "KVS ARN must be a valid ARN"
|
| 22 |
+
},
|
| 23 |
+
"params": {
|
| 24 |
+
"KvsARN": "not-a-valid-arn"
|
| 25 |
+
}
|
| 26 |
+
},
|
| 27 |
+
{
|
| 28 |
+
"documentation": "Provided ARN was not a valid CloudFront Service ARN. Found: `notcloudfront`",
|
| 29 |
+
"expect": {
|
| 30 |
+
"error": "Provided ARN is not a valid CloudFront Service ARN. Found: `notcloudfront`"
|
| 31 |
+
},
|
| 32 |
+
"params": {
|
| 33 |
+
"KvsARN": "arn:aws:notcloudfront::123456789012:key-value-store/my-first-kvs-e10b1dce4f394248811e77167e0451ba"
|
| 34 |
+
}
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"documentation": "Provided ARN must be a global resource ARN. Found: `us-west-2`",
|
| 38 |
+
"expect": {
|
| 39 |
+
"error": "Provided ARN must be a global resource ARN. Found: `us-west-2`"
|
| 40 |
+
},
|
| 41 |
+
"params": {
|
| 42 |
+
"KvsARN": "arn:aws:cloudfront:us-west-2:123456789012:key-value-store/my-first-kvs-e10b1dce4f394248811e77167e0451ba"
|
| 43 |
+
}
|
| 44 |
+
},
|
| 45 |
+
{
|
| 46 |
+
"documentation": "ARN resource type is invalid. Expected `key-value-store`, found: `some-other-resource-type`",
|
| 47 |
+
"expect": {
|
| 48 |
+
"error": "ARN resource type is invalid. Expected `key-value-store`, found: `some-other-resource-type`"
|
| 49 |
+
},
|
| 50 |
+
"params": {
|
| 51 |
+
"KvsARN": "arn:aws:cloudfront::123456789012:some-other-resource-type/my-first-kvs-e10b1dce4f394248811e77167e0451ba"
|
| 52 |
+
}
|
| 53 |
+
},
|
| 54 |
+
{
|
| 55 |
+
"documentation": "CloudFront-KeyValueStore is not supported in partition `aws-cn`",
|
| 56 |
+
"expect": {
|
| 57 |
+
"error": "CloudFront-KeyValueStore is not supported in partition `aws-cn`"
|
| 58 |
+
},
|
| 59 |
+
"params": {
|
| 60 |
+
"KvsARN": "arn:aws-cn:cloudfront::123456789012:key-value-store/my-first-kvs-e10b1dce4f394248811e77167e0451ba"
|
| 61 |
+
}
|
| 62 |
+
},
|
| 63 |
+
{
|
| 64 |
+
"documentation": "CloudFront-KeyValueStore is not supported in partition `aws-us-gov`",
|
| 65 |
+
"expect": {
|
| 66 |
+
"error": "CloudFront-KeyValueStore is not supported in partition `aws-us-gov`"
|
| 67 |
+
},
|
| 68 |
+
"params": {
|
| 69 |
+
"KvsARN": "arn:aws-us-gov:cloudfront::123456789012:key-value-store/my-first-kvs-e10b1dce4f394248811e77167e0451ba"
|
| 70 |
+
}
|
| 71 |
+
},
|
| 72 |
+
{
|
| 73 |
+
"documentation": "Valid account based endpoint",
|
| 74 |
+
"expect": {
|
| 75 |
+
"endpoint": {
|
| 76 |
+
"properties": {
|
| 77 |
+
"authSchemes": [
|
| 78 |
+
{
|
| 79 |
+
"signingName": "cloudfront-keyvaluestore",
|
| 80 |
+
"name": "sigv4a",
|
| 81 |
+
"signingRegionSet": [
|
| 82 |
+
"*"
|
| 83 |
+
]
|
| 84 |
+
}
|
| 85 |
+
]
|
| 86 |
+
},
|
| 87 |
+
"url": "https://123456789012.cloudfront-kvs.global.api.aws"
|
| 88 |
+
}
|
| 89 |
+
},
|
| 90 |
+
"params": {
|
| 91 |
+
"KvsARN": "arn:aws:cloudfront::123456789012:key-value-store/my-first-kvs-e10b1dce4f394248811e77167e0451ba"
|
| 92 |
+
}
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"documentation": "Valid account based endpoint, with SDK region",
|
| 96 |
+
"expect": {
|
| 97 |
+
"endpoint": {
|
| 98 |
+
"properties": {
|
| 99 |
+
"authSchemes": [
|
| 100 |
+
{
|
| 101 |
+
"signingName": "cloudfront-keyvaluestore",
|
| 102 |
+
"name": "sigv4a",
|
| 103 |
+
"signingRegionSet": [
|
| 104 |
+
"*"
|
| 105 |
+
]
|
| 106 |
+
}
|
| 107 |
+
]
|
| 108 |
+
},
|
| 109 |
+
"url": "https://123456789012.cloudfront-kvs.global.api.aws"
|
| 110 |
+
}
|
| 111 |
+
},
|
| 112 |
+
"params": {
|
| 113 |
+
"KvsARN": "arn:aws:cloudfront::123456789012:key-value-store/my-first-kvs-e10b1dce4f394248811e77167e0451ba",
|
| 114 |
+
"Region": "us-west-2"
|
| 115 |
+
}
|
| 116 |
+
},
|
| 117 |
+
{
|
| 118 |
+
"documentation": "Valid ARN, different partition, should error",
|
| 119 |
+
"expect": {
|
| 120 |
+
"error": "Client was configured for partition `aws-cn` but Kvs ARN has `aws`"
|
| 121 |
+
},
|
| 122 |
+
"params": {
|
| 123 |
+
"KvsARN": "arn:aws:cloudfront::123456789012:key-value-store/my-first-kvs-e10b1dce4f394248811e77167e0451ba",
|
| 124 |
+
"Region": "cn-north-1"
|
| 125 |
+
}
|
| 126 |
+
},
|
| 127 |
+
{
|
| 128 |
+
"documentation": "Valid account based endpoint with FIPS, should error",
|
| 129 |
+
"expect": {
|
| 130 |
+
"error": "Invalid Configuration: FIPS is not supported with CloudFront-KeyValueStore."
|
| 131 |
+
},
|
| 132 |
+
"params": {
|
| 133 |
+
"KvsARN": "arn:aws:cloudfront::123456789012:key-value-store/my-first-kvs-e10b1dce4f394248811e77167e0451ba",
|
| 134 |
+
"Region": "us-east-1",
|
| 135 |
+
"UseFIPS": true
|
| 136 |
+
}
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"documentation": "Custom sdk endpoint override",
|
| 140 |
+
"expect": {
|
| 141 |
+
"endpoint": {
|
| 142 |
+
"properties": {
|
| 143 |
+
"authSchemes": [
|
| 144 |
+
{
|
| 145 |
+
"signingName": "cloudfront-keyvaluestore",
|
| 146 |
+
"name": "sigv4a",
|
| 147 |
+
"signingRegionSet": [
|
| 148 |
+
"*"
|
| 149 |
+
]
|
| 150 |
+
}
|
| 151 |
+
]
|
| 152 |
+
},
|
| 153 |
+
"url": "https://123456789012.my-override.example.com"
|
| 154 |
+
}
|
| 155 |
+
},
|
| 156 |
+
"params": {
|
| 157 |
+
"KvsARN": "arn:aws:cloudfront::123456789012:key-value-store/my-first-kvs-e10b1dce4f394248811e77167e0451ba",
|
| 158 |
+
"Region": "us-east-1",
|
| 159 |
+
"Endpoint": "https://my-override.example.com"
|
| 160 |
+
}
|
| 161 |
+
},
|
| 162 |
+
{
|
| 163 |
+
"documentation": "Custom sdk endpoint override with path and http",
|
| 164 |
+
"expect": {
|
| 165 |
+
"endpoint": {
|
| 166 |
+
"properties": {
|
| 167 |
+
"authSchemes": [
|
| 168 |
+
{
|
| 169 |
+
"signingName": "cloudfront-keyvaluestore",
|
| 170 |
+
"name": "sigv4a",
|
| 171 |
+
"signingRegionSet": [
|
| 172 |
+
"*"
|
| 173 |
+
]
|
| 174 |
+
}
|
| 175 |
+
]
|
| 176 |
+
},
|
| 177 |
+
"url": "http://123456789012.my-override.example.com/custom-path"
|
| 178 |
+
}
|
| 179 |
+
},
|
| 180 |
+
"params": {
|
| 181 |
+
"KvsARN": "arn:aws:cloudfront::123456789012:key-value-store/my-first-kvs-e10b1dce4f394248811e77167e0451ba",
|
| 182 |
+
"Endpoint": "http://my-override.example.com/custom-path"
|
| 183 |
+
}
|
| 184 |
+
},
|
| 185 |
+
{
|
| 186 |
+
"documentation": "Custom override with different partition should error",
|
| 187 |
+
"expect": {
|
| 188 |
+
"error": "Client was configured for partition `aws-us-gov` but Kvs ARN has `aws`"
|
| 189 |
+
},
|
| 190 |
+
"params": {
|
| 191 |
+
"KvsARN": "arn:aws:cloudfront::123456789012:key-value-store/my-first-kvs-e10b1dce4f394248811e77167e0451ba",
|
| 192 |
+
"Region": "us-gov-east-1",
|
| 193 |
+
"Endpoint": "https://my-override.example.com"
|
| 194 |
+
}
|
| 195 |
+
}
|
| 196 |
+
],
|
| 197 |
+
"version": "1.0"
|
| 198 |
+
}
|
testbed/boto__botocore/tests/functional/endpoint-rules/codeconnections/endpoint-tests-1.json
ADDED
|
@@ -0,0 +1,314 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"testCases": [
|
| 3 |
+
{
|
| 4 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
|
| 5 |
+
"expect": {
|
| 6 |
+
"endpoint": {
|
| 7 |
+
"url": "https://codeconnections-fips.us-east-1.api.aws"
|
| 8 |
+
}
|
| 9 |
+
},
|
| 10 |
+
"params": {
|
| 11 |
+
"Region": "us-east-1",
|
| 12 |
+
"UseFIPS": true,
|
| 13 |
+
"UseDualStack": true
|
| 14 |
+
}
|
| 15 |
+
},
|
| 16 |
+
{
|
| 17 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
|
| 18 |
+
"expect": {
|
| 19 |
+
"endpoint": {
|
| 20 |
+
"url": "https://codeconnections-fips.us-east-1.amazonaws.com"
|
| 21 |
+
}
|
| 22 |
+
},
|
| 23 |
+
"params": {
|
| 24 |
+
"Region": "us-east-1",
|
| 25 |
+
"UseFIPS": true,
|
| 26 |
+
"UseDualStack": false
|
| 27 |
+
}
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
|
| 31 |
+
"expect": {
|
| 32 |
+
"endpoint": {
|
| 33 |
+
"url": "https://codeconnections.us-east-1.api.aws"
|
| 34 |
+
}
|
| 35 |
+
},
|
| 36 |
+
"params": {
|
| 37 |
+
"Region": "us-east-1",
|
| 38 |
+
"UseFIPS": false,
|
| 39 |
+
"UseDualStack": true
|
| 40 |
+
}
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
|
| 44 |
+
"expect": {
|
| 45 |
+
"endpoint": {
|
| 46 |
+
"url": "https://codeconnections.us-east-1.amazonaws.com"
|
| 47 |
+
}
|
| 48 |
+
},
|
| 49 |
+
"params": {
|
| 50 |
+
"Region": "us-east-1",
|
| 51 |
+
"UseFIPS": false,
|
| 52 |
+
"UseDualStack": false
|
| 53 |
+
}
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled",
|
| 57 |
+
"expect": {
|
| 58 |
+
"endpoint": {
|
| 59 |
+
"url": "https://codeconnections-fips.cn-north-1.api.amazonwebservices.com.cn"
|
| 60 |
+
}
|
| 61 |
+
},
|
| 62 |
+
"params": {
|
| 63 |
+
"Region": "cn-north-1",
|
| 64 |
+
"UseFIPS": true,
|
| 65 |
+
"UseDualStack": true
|
| 66 |
+
}
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled",
|
| 70 |
+
"expect": {
|
| 71 |
+
"endpoint": {
|
| 72 |
+
"url": "https://codeconnections-fips.cn-north-1.amazonaws.com.cn"
|
| 73 |
+
}
|
| 74 |
+
},
|
| 75 |
+
"params": {
|
| 76 |
+
"Region": "cn-north-1",
|
| 77 |
+
"UseFIPS": true,
|
| 78 |
+
"UseDualStack": false
|
| 79 |
+
}
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled",
|
| 83 |
+
"expect": {
|
| 84 |
+
"endpoint": {
|
| 85 |
+
"url": "https://codeconnections.cn-north-1.api.amazonwebservices.com.cn"
|
| 86 |
+
}
|
| 87 |
+
},
|
| 88 |
+
"params": {
|
| 89 |
+
"Region": "cn-north-1",
|
| 90 |
+
"UseFIPS": false,
|
| 91 |
+
"UseDualStack": true
|
| 92 |
+
}
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled",
|
| 96 |
+
"expect": {
|
| 97 |
+
"endpoint": {
|
| 98 |
+
"url": "https://codeconnections.cn-north-1.amazonaws.com.cn"
|
| 99 |
+
}
|
| 100 |
+
},
|
| 101 |
+
"params": {
|
| 102 |
+
"Region": "cn-north-1",
|
| 103 |
+
"UseFIPS": false,
|
| 104 |
+
"UseDualStack": false
|
| 105 |
+
}
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled",
|
| 109 |
+
"expect": {
|
| 110 |
+
"endpoint": {
|
| 111 |
+
"url": "https://codeconnections-fips.us-gov-east-1.api.aws"
|
| 112 |
+
}
|
| 113 |
+
},
|
| 114 |
+
"params": {
|
| 115 |
+
"Region": "us-gov-east-1",
|
| 116 |
+
"UseFIPS": true,
|
| 117 |
+
"UseDualStack": true
|
| 118 |
+
}
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled",
|
| 122 |
+
"expect": {
|
| 123 |
+
"endpoint": {
|
| 124 |
+
"url": "https://codeconnections-fips.us-gov-east-1.amazonaws.com"
|
| 125 |
+
}
|
| 126 |
+
},
|
| 127 |
+
"params": {
|
| 128 |
+
"Region": "us-gov-east-1",
|
| 129 |
+
"UseFIPS": true,
|
| 130 |
+
"UseDualStack": false
|
| 131 |
+
}
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled",
|
| 135 |
+
"expect": {
|
| 136 |
+
"endpoint": {
|
| 137 |
+
"url": "https://codeconnections.us-gov-east-1.api.aws"
|
| 138 |
+
}
|
| 139 |
+
},
|
| 140 |
+
"params": {
|
| 141 |
+
"Region": "us-gov-east-1",
|
| 142 |
+
"UseFIPS": false,
|
| 143 |
+
"UseDualStack": true
|
| 144 |
+
}
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled",
|
| 148 |
+
"expect": {
|
| 149 |
+
"endpoint": {
|
| 150 |
+
"url": "https://codeconnections.us-gov-east-1.amazonaws.com"
|
| 151 |
+
}
|
| 152 |
+
},
|
| 153 |
+
"params": {
|
| 154 |
+
"Region": "us-gov-east-1",
|
| 155 |
+
"UseFIPS": false,
|
| 156 |
+
"UseDualStack": false
|
| 157 |
+
}
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
|
| 161 |
+
"expect": {
|
| 162 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 163 |
+
},
|
| 164 |
+
"params": {
|
| 165 |
+
"Region": "us-iso-east-1",
|
| 166 |
+
"UseFIPS": true,
|
| 167 |
+
"UseDualStack": true
|
| 168 |
+
}
|
| 169 |
+
},
|
| 170 |
+
{
|
| 171 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
|
| 172 |
+
"expect": {
|
| 173 |
+
"endpoint": {
|
| 174 |
+
"url": "https://codeconnections-fips.us-iso-east-1.c2s.ic.gov"
|
| 175 |
+
}
|
| 176 |
+
},
|
| 177 |
+
"params": {
|
| 178 |
+
"Region": "us-iso-east-1",
|
| 179 |
+
"UseFIPS": true,
|
| 180 |
+
"UseDualStack": false
|
| 181 |
+
}
|
| 182 |
+
},
|
| 183 |
+
{
|
| 184 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
|
| 185 |
+
"expect": {
|
| 186 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 187 |
+
},
|
| 188 |
+
"params": {
|
| 189 |
+
"Region": "us-iso-east-1",
|
| 190 |
+
"UseFIPS": false,
|
| 191 |
+
"UseDualStack": true
|
| 192 |
+
}
|
| 193 |
+
},
|
| 194 |
+
{
|
| 195 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
|
| 196 |
+
"expect": {
|
| 197 |
+
"endpoint": {
|
| 198 |
+
"url": "https://codeconnections.us-iso-east-1.c2s.ic.gov"
|
| 199 |
+
}
|
| 200 |
+
},
|
| 201 |
+
"params": {
|
| 202 |
+
"Region": "us-iso-east-1",
|
| 203 |
+
"UseFIPS": false,
|
| 204 |
+
"UseDualStack": false
|
| 205 |
+
}
|
| 206 |
+
},
|
| 207 |
+
{
|
| 208 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
|
| 209 |
+
"expect": {
|
| 210 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 211 |
+
},
|
| 212 |
+
"params": {
|
| 213 |
+
"Region": "us-isob-east-1",
|
| 214 |
+
"UseFIPS": true,
|
| 215 |
+
"UseDualStack": true
|
| 216 |
+
}
|
| 217 |
+
},
|
| 218 |
+
{
|
| 219 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
|
| 220 |
+
"expect": {
|
| 221 |
+
"endpoint": {
|
| 222 |
+
"url": "https://codeconnections-fips.us-isob-east-1.sc2s.sgov.gov"
|
| 223 |
+
}
|
| 224 |
+
},
|
| 225 |
+
"params": {
|
| 226 |
+
"Region": "us-isob-east-1",
|
| 227 |
+
"UseFIPS": true,
|
| 228 |
+
"UseDualStack": false
|
| 229 |
+
}
|
| 230 |
+
},
|
| 231 |
+
{
|
| 232 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
|
| 233 |
+
"expect": {
|
| 234 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 235 |
+
},
|
| 236 |
+
"params": {
|
| 237 |
+
"Region": "us-isob-east-1",
|
| 238 |
+
"UseFIPS": false,
|
| 239 |
+
"UseDualStack": true
|
| 240 |
+
}
|
| 241 |
+
},
|
| 242 |
+
{
|
| 243 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
|
| 244 |
+
"expect": {
|
| 245 |
+
"endpoint": {
|
| 246 |
+
"url": "https://codeconnections.us-isob-east-1.sc2s.sgov.gov"
|
| 247 |
+
}
|
| 248 |
+
},
|
| 249 |
+
"params": {
|
| 250 |
+
"Region": "us-isob-east-1",
|
| 251 |
+
"UseFIPS": false,
|
| 252 |
+
"UseDualStack": false
|
| 253 |
+
}
|
| 254 |
+
},
|
| 255 |
+
{
|
| 256 |
+
"documentation": "For custom endpoint with region set and fips disabled and dualstack disabled",
|
| 257 |
+
"expect": {
|
| 258 |
+
"endpoint": {
|
| 259 |
+
"url": "https://example.com"
|
| 260 |
+
}
|
| 261 |
+
},
|
| 262 |
+
"params": {
|
| 263 |
+
"Region": "us-east-1",
|
| 264 |
+
"UseFIPS": false,
|
| 265 |
+
"UseDualStack": false,
|
| 266 |
+
"Endpoint": "https://example.com"
|
| 267 |
+
}
|
| 268 |
+
},
|
| 269 |
+
{
|
| 270 |
+
"documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled",
|
| 271 |
+
"expect": {
|
| 272 |
+
"endpoint": {
|
| 273 |
+
"url": "https://example.com"
|
| 274 |
+
}
|
| 275 |
+
},
|
| 276 |
+
"params": {
|
| 277 |
+
"UseFIPS": false,
|
| 278 |
+
"UseDualStack": false,
|
| 279 |
+
"Endpoint": "https://example.com"
|
| 280 |
+
}
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"documentation": "For custom endpoint with fips enabled and dualstack disabled",
|
| 284 |
+
"expect": {
|
| 285 |
+
"error": "Invalid Configuration: FIPS and custom endpoint are not supported"
|
| 286 |
+
},
|
| 287 |
+
"params": {
|
| 288 |
+
"Region": "us-east-1",
|
| 289 |
+
"UseFIPS": true,
|
| 290 |
+
"UseDualStack": false,
|
| 291 |
+
"Endpoint": "https://example.com"
|
| 292 |
+
}
|
| 293 |
+
},
|
| 294 |
+
{
|
| 295 |
+
"documentation": "For custom endpoint with fips disabled and dualstack enabled",
|
| 296 |
+
"expect": {
|
| 297 |
+
"error": "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
| 298 |
+
},
|
| 299 |
+
"params": {
|
| 300 |
+
"Region": "us-east-1",
|
| 301 |
+
"UseFIPS": false,
|
| 302 |
+
"UseDualStack": true,
|
| 303 |
+
"Endpoint": "https://example.com"
|
| 304 |
+
}
|
| 305 |
+
},
|
| 306 |
+
{
|
| 307 |
+
"documentation": "Missing region",
|
| 308 |
+
"expect": {
|
| 309 |
+
"error": "Invalid Configuration: Missing Region"
|
| 310 |
+
}
|
| 311 |
+
}
|
| 312 |
+
],
|
| 313 |
+
"version": "1.0"
|
| 314 |
+
}
|
testbed/boto__botocore/tests/functional/endpoint-rules/controlcatalog/endpoint-tests-1.json
ADDED
|
@@ -0,0 +1,314 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"testCases": [
|
| 3 |
+
{
|
| 4 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
|
| 5 |
+
"expect": {
|
| 6 |
+
"endpoint": {
|
| 7 |
+
"url": "https://controlcatalog-fips.us-east-1.api.aws"
|
| 8 |
+
}
|
| 9 |
+
},
|
| 10 |
+
"params": {
|
| 11 |
+
"Region": "us-east-1",
|
| 12 |
+
"UseFIPS": true,
|
| 13 |
+
"UseDualStack": true
|
| 14 |
+
}
|
| 15 |
+
},
|
| 16 |
+
{
|
| 17 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
|
| 18 |
+
"expect": {
|
| 19 |
+
"endpoint": {
|
| 20 |
+
"url": "https://controlcatalog-fips.us-east-1.amazonaws.com"
|
| 21 |
+
}
|
| 22 |
+
},
|
| 23 |
+
"params": {
|
| 24 |
+
"Region": "us-east-1",
|
| 25 |
+
"UseFIPS": true,
|
| 26 |
+
"UseDualStack": false
|
| 27 |
+
}
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
|
| 31 |
+
"expect": {
|
| 32 |
+
"endpoint": {
|
| 33 |
+
"url": "https://controlcatalog.us-east-1.api.aws"
|
| 34 |
+
}
|
| 35 |
+
},
|
| 36 |
+
"params": {
|
| 37 |
+
"Region": "us-east-1",
|
| 38 |
+
"UseFIPS": false,
|
| 39 |
+
"UseDualStack": true
|
| 40 |
+
}
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
|
| 44 |
+
"expect": {
|
| 45 |
+
"endpoint": {
|
| 46 |
+
"url": "https://controlcatalog.us-east-1.amazonaws.com"
|
| 47 |
+
}
|
| 48 |
+
},
|
| 49 |
+
"params": {
|
| 50 |
+
"Region": "us-east-1",
|
| 51 |
+
"UseFIPS": false,
|
| 52 |
+
"UseDualStack": false
|
| 53 |
+
}
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled",
|
| 57 |
+
"expect": {
|
| 58 |
+
"endpoint": {
|
| 59 |
+
"url": "https://controlcatalog-fips.cn-north-1.api.amazonwebservices.com.cn"
|
| 60 |
+
}
|
| 61 |
+
},
|
| 62 |
+
"params": {
|
| 63 |
+
"Region": "cn-north-1",
|
| 64 |
+
"UseFIPS": true,
|
| 65 |
+
"UseDualStack": true
|
| 66 |
+
}
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled",
|
| 70 |
+
"expect": {
|
| 71 |
+
"endpoint": {
|
| 72 |
+
"url": "https://controlcatalog-fips.cn-north-1.amazonaws.com.cn"
|
| 73 |
+
}
|
| 74 |
+
},
|
| 75 |
+
"params": {
|
| 76 |
+
"Region": "cn-north-1",
|
| 77 |
+
"UseFIPS": true,
|
| 78 |
+
"UseDualStack": false
|
| 79 |
+
}
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled",
|
| 83 |
+
"expect": {
|
| 84 |
+
"endpoint": {
|
| 85 |
+
"url": "https://controlcatalog.cn-north-1.api.amazonwebservices.com.cn"
|
| 86 |
+
}
|
| 87 |
+
},
|
| 88 |
+
"params": {
|
| 89 |
+
"Region": "cn-north-1",
|
| 90 |
+
"UseFIPS": false,
|
| 91 |
+
"UseDualStack": true
|
| 92 |
+
}
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled",
|
| 96 |
+
"expect": {
|
| 97 |
+
"endpoint": {
|
| 98 |
+
"url": "https://controlcatalog.cn-north-1.amazonaws.com.cn"
|
| 99 |
+
}
|
| 100 |
+
},
|
| 101 |
+
"params": {
|
| 102 |
+
"Region": "cn-north-1",
|
| 103 |
+
"UseFIPS": false,
|
| 104 |
+
"UseDualStack": false
|
| 105 |
+
}
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled",
|
| 109 |
+
"expect": {
|
| 110 |
+
"endpoint": {
|
| 111 |
+
"url": "https://controlcatalog-fips.us-gov-east-1.api.aws"
|
| 112 |
+
}
|
| 113 |
+
},
|
| 114 |
+
"params": {
|
| 115 |
+
"Region": "us-gov-east-1",
|
| 116 |
+
"UseFIPS": true,
|
| 117 |
+
"UseDualStack": true
|
| 118 |
+
}
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled",
|
| 122 |
+
"expect": {
|
| 123 |
+
"endpoint": {
|
| 124 |
+
"url": "https://controlcatalog-fips.us-gov-east-1.amazonaws.com"
|
| 125 |
+
}
|
| 126 |
+
},
|
| 127 |
+
"params": {
|
| 128 |
+
"Region": "us-gov-east-1",
|
| 129 |
+
"UseFIPS": true,
|
| 130 |
+
"UseDualStack": false
|
| 131 |
+
}
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled",
|
| 135 |
+
"expect": {
|
| 136 |
+
"endpoint": {
|
| 137 |
+
"url": "https://controlcatalog.us-gov-east-1.api.aws"
|
| 138 |
+
}
|
| 139 |
+
},
|
| 140 |
+
"params": {
|
| 141 |
+
"Region": "us-gov-east-1",
|
| 142 |
+
"UseFIPS": false,
|
| 143 |
+
"UseDualStack": true
|
| 144 |
+
}
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled",
|
| 148 |
+
"expect": {
|
| 149 |
+
"endpoint": {
|
| 150 |
+
"url": "https://controlcatalog.us-gov-east-1.amazonaws.com"
|
| 151 |
+
}
|
| 152 |
+
},
|
| 153 |
+
"params": {
|
| 154 |
+
"Region": "us-gov-east-1",
|
| 155 |
+
"UseFIPS": false,
|
| 156 |
+
"UseDualStack": false
|
| 157 |
+
}
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
|
| 161 |
+
"expect": {
|
| 162 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 163 |
+
},
|
| 164 |
+
"params": {
|
| 165 |
+
"Region": "us-iso-east-1",
|
| 166 |
+
"UseFIPS": true,
|
| 167 |
+
"UseDualStack": true
|
| 168 |
+
}
|
| 169 |
+
},
|
| 170 |
+
{
|
| 171 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
|
| 172 |
+
"expect": {
|
| 173 |
+
"endpoint": {
|
| 174 |
+
"url": "https://controlcatalog-fips.us-iso-east-1.c2s.ic.gov"
|
| 175 |
+
}
|
| 176 |
+
},
|
| 177 |
+
"params": {
|
| 178 |
+
"Region": "us-iso-east-1",
|
| 179 |
+
"UseFIPS": true,
|
| 180 |
+
"UseDualStack": false
|
| 181 |
+
}
|
| 182 |
+
},
|
| 183 |
+
{
|
| 184 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
|
| 185 |
+
"expect": {
|
| 186 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 187 |
+
},
|
| 188 |
+
"params": {
|
| 189 |
+
"Region": "us-iso-east-1",
|
| 190 |
+
"UseFIPS": false,
|
| 191 |
+
"UseDualStack": true
|
| 192 |
+
}
|
| 193 |
+
},
|
| 194 |
+
{
|
| 195 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
|
| 196 |
+
"expect": {
|
| 197 |
+
"endpoint": {
|
| 198 |
+
"url": "https://controlcatalog.us-iso-east-1.c2s.ic.gov"
|
| 199 |
+
}
|
| 200 |
+
},
|
| 201 |
+
"params": {
|
| 202 |
+
"Region": "us-iso-east-1",
|
| 203 |
+
"UseFIPS": false,
|
| 204 |
+
"UseDualStack": false
|
| 205 |
+
}
|
| 206 |
+
},
|
| 207 |
+
{
|
| 208 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
|
| 209 |
+
"expect": {
|
| 210 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 211 |
+
},
|
| 212 |
+
"params": {
|
| 213 |
+
"Region": "us-isob-east-1",
|
| 214 |
+
"UseFIPS": true,
|
| 215 |
+
"UseDualStack": true
|
| 216 |
+
}
|
| 217 |
+
},
|
| 218 |
+
{
|
| 219 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
|
| 220 |
+
"expect": {
|
| 221 |
+
"endpoint": {
|
| 222 |
+
"url": "https://controlcatalog-fips.us-isob-east-1.sc2s.sgov.gov"
|
| 223 |
+
}
|
| 224 |
+
},
|
| 225 |
+
"params": {
|
| 226 |
+
"Region": "us-isob-east-1",
|
| 227 |
+
"UseFIPS": true,
|
| 228 |
+
"UseDualStack": false
|
| 229 |
+
}
|
| 230 |
+
},
|
| 231 |
+
{
|
| 232 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
|
| 233 |
+
"expect": {
|
| 234 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 235 |
+
},
|
| 236 |
+
"params": {
|
| 237 |
+
"Region": "us-isob-east-1",
|
| 238 |
+
"UseFIPS": false,
|
| 239 |
+
"UseDualStack": true
|
| 240 |
+
}
|
| 241 |
+
},
|
| 242 |
+
{
|
| 243 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
|
| 244 |
+
"expect": {
|
| 245 |
+
"endpoint": {
|
| 246 |
+
"url": "https://controlcatalog.us-isob-east-1.sc2s.sgov.gov"
|
| 247 |
+
}
|
| 248 |
+
},
|
| 249 |
+
"params": {
|
| 250 |
+
"Region": "us-isob-east-1",
|
| 251 |
+
"UseFIPS": false,
|
| 252 |
+
"UseDualStack": false
|
| 253 |
+
}
|
| 254 |
+
},
|
| 255 |
+
{
|
| 256 |
+
"documentation": "For custom endpoint with region set and fips disabled and dualstack disabled",
|
| 257 |
+
"expect": {
|
| 258 |
+
"endpoint": {
|
| 259 |
+
"url": "https://example.com"
|
| 260 |
+
}
|
| 261 |
+
},
|
| 262 |
+
"params": {
|
| 263 |
+
"Region": "us-east-1",
|
| 264 |
+
"UseFIPS": false,
|
| 265 |
+
"UseDualStack": false,
|
| 266 |
+
"Endpoint": "https://example.com"
|
| 267 |
+
}
|
| 268 |
+
},
|
| 269 |
+
{
|
| 270 |
+
"documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled",
|
| 271 |
+
"expect": {
|
| 272 |
+
"endpoint": {
|
| 273 |
+
"url": "https://example.com"
|
| 274 |
+
}
|
| 275 |
+
},
|
| 276 |
+
"params": {
|
| 277 |
+
"UseFIPS": false,
|
| 278 |
+
"UseDualStack": false,
|
| 279 |
+
"Endpoint": "https://example.com"
|
| 280 |
+
}
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"documentation": "For custom endpoint with fips enabled and dualstack disabled",
|
| 284 |
+
"expect": {
|
| 285 |
+
"error": "Invalid Configuration: FIPS and custom endpoint are not supported"
|
| 286 |
+
},
|
| 287 |
+
"params": {
|
| 288 |
+
"Region": "us-east-1",
|
| 289 |
+
"UseFIPS": true,
|
| 290 |
+
"UseDualStack": false,
|
| 291 |
+
"Endpoint": "https://example.com"
|
| 292 |
+
}
|
| 293 |
+
},
|
| 294 |
+
{
|
| 295 |
+
"documentation": "For custom endpoint with fips disabled and dualstack enabled",
|
| 296 |
+
"expect": {
|
| 297 |
+
"error": "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
| 298 |
+
},
|
| 299 |
+
"params": {
|
| 300 |
+
"Region": "us-east-1",
|
| 301 |
+
"UseFIPS": false,
|
| 302 |
+
"UseDualStack": true,
|
| 303 |
+
"Endpoint": "https://example.com"
|
| 304 |
+
}
|
| 305 |
+
},
|
| 306 |
+
{
|
| 307 |
+
"documentation": "Missing region",
|
| 308 |
+
"expect": {
|
| 309 |
+
"error": "Invalid Configuration: Missing Region"
|
| 310 |
+
}
|
| 311 |
+
}
|
| 312 |
+
],
|
| 313 |
+
"version": "1.0"
|
| 314 |
+
}
|
testbed/boto__botocore/tests/functional/endpoint-rules/cost-optimization-hub/endpoint-tests-1.json
ADDED
|
@@ -0,0 +1,314 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"testCases": [
|
| 3 |
+
{
|
| 4 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
|
| 5 |
+
"expect": {
|
| 6 |
+
"endpoint": {
|
| 7 |
+
"url": "https://cost-optimization-hub-fips.us-east-1.api.aws"
|
| 8 |
+
}
|
| 9 |
+
},
|
| 10 |
+
"params": {
|
| 11 |
+
"Region": "us-east-1",
|
| 12 |
+
"UseFIPS": true,
|
| 13 |
+
"UseDualStack": true
|
| 14 |
+
}
|
| 15 |
+
},
|
| 16 |
+
{
|
| 17 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
|
| 18 |
+
"expect": {
|
| 19 |
+
"endpoint": {
|
| 20 |
+
"url": "https://cost-optimization-hub-fips.us-east-1.amazonaws.com"
|
| 21 |
+
}
|
| 22 |
+
},
|
| 23 |
+
"params": {
|
| 24 |
+
"Region": "us-east-1",
|
| 25 |
+
"UseFIPS": true,
|
| 26 |
+
"UseDualStack": false
|
| 27 |
+
}
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
|
| 31 |
+
"expect": {
|
| 32 |
+
"endpoint": {
|
| 33 |
+
"url": "https://cost-optimization-hub.us-east-1.api.aws"
|
| 34 |
+
}
|
| 35 |
+
},
|
| 36 |
+
"params": {
|
| 37 |
+
"Region": "us-east-1",
|
| 38 |
+
"UseFIPS": false,
|
| 39 |
+
"UseDualStack": true
|
| 40 |
+
}
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
|
| 44 |
+
"expect": {
|
| 45 |
+
"endpoint": {
|
| 46 |
+
"url": "https://cost-optimization-hub.us-east-1.amazonaws.com"
|
| 47 |
+
}
|
| 48 |
+
},
|
| 49 |
+
"params": {
|
| 50 |
+
"Region": "us-east-1",
|
| 51 |
+
"UseFIPS": false,
|
| 52 |
+
"UseDualStack": false
|
| 53 |
+
}
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled",
|
| 57 |
+
"expect": {
|
| 58 |
+
"endpoint": {
|
| 59 |
+
"url": "https://cost-optimization-hub-fips.cn-north-1.api.amazonwebservices.com.cn"
|
| 60 |
+
}
|
| 61 |
+
},
|
| 62 |
+
"params": {
|
| 63 |
+
"Region": "cn-north-1",
|
| 64 |
+
"UseFIPS": true,
|
| 65 |
+
"UseDualStack": true
|
| 66 |
+
}
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled",
|
| 70 |
+
"expect": {
|
| 71 |
+
"endpoint": {
|
| 72 |
+
"url": "https://cost-optimization-hub-fips.cn-north-1.amazonaws.com.cn"
|
| 73 |
+
}
|
| 74 |
+
},
|
| 75 |
+
"params": {
|
| 76 |
+
"Region": "cn-north-1",
|
| 77 |
+
"UseFIPS": true,
|
| 78 |
+
"UseDualStack": false
|
| 79 |
+
}
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled",
|
| 83 |
+
"expect": {
|
| 84 |
+
"endpoint": {
|
| 85 |
+
"url": "https://cost-optimization-hub.cn-north-1.api.amazonwebservices.com.cn"
|
| 86 |
+
}
|
| 87 |
+
},
|
| 88 |
+
"params": {
|
| 89 |
+
"Region": "cn-north-1",
|
| 90 |
+
"UseFIPS": false,
|
| 91 |
+
"UseDualStack": true
|
| 92 |
+
}
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled",
|
| 96 |
+
"expect": {
|
| 97 |
+
"endpoint": {
|
| 98 |
+
"url": "https://cost-optimization-hub.cn-north-1.amazonaws.com.cn"
|
| 99 |
+
}
|
| 100 |
+
},
|
| 101 |
+
"params": {
|
| 102 |
+
"Region": "cn-north-1",
|
| 103 |
+
"UseFIPS": false,
|
| 104 |
+
"UseDualStack": false
|
| 105 |
+
}
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled",
|
| 109 |
+
"expect": {
|
| 110 |
+
"endpoint": {
|
| 111 |
+
"url": "https://cost-optimization-hub-fips.us-gov-east-1.api.aws"
|
| 112 |
+
}
|
| 113 |
+
},
|
| 114 |
+
"params": {
|
| 115 |
+
"Region": "us-gov-east-1",
|
| 116 |
+
"UseFIPS": true,
|
| 117 |
+
"UseDualStack": true
|
| 118 |
+
}
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled",
|
| 122 |
+
"expect": {
|
| 123 |
+
"endpoint": {
|
| 124 |
+
"url": "https://cost-optimization-hub-fips.us-gov-east-1.amazonaws.com"
|
| 125 |
+
}
|
| 126 |
+
},
|
| 127 |
+
"params": {
|
| 128 |
+
"Region": "us-gov-east-1",
|
| 129 |
+
"UseFIPS": true,
|
| 130 |
+
"UseDualStack": false
|
| 131 |
+
}
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled",
|
| 135 |
+
"expect": {
|
| 136 |
+
"endpoint": {
|
| 137 |
+
"url": "https://cost-optimization-hub.us-gov-east-1.api.aws"
|
| 138 |
+
}
|
| 139 |
+
},
|
| 140 |
+
"params": {
|
| 141 |
+
"Region": "us-gov-east-1",
|
| 142 |
+
"UseFIPS": false,
|
| 143 |
+
"UseDualStack": true
|
| 144 |
+
}
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled",
|
| 148 |
+
"expect": {
|
| 149 |
+
"endpoint": {
|
| 150 |
+
"url": "https://cost-optimization-hub.us-gov-east-1.amazonaws.com"
|
| 151 |
+
}
|
| 152 |
+
},
|
| 153 |
+
"params": {
|
| 154 |
+
"Region": "us-gov-east-1",
|
| 155 |
+
"UseFIPS": false,
|
| 156 |
+
"UseDualStack": false
|
| 157 |
+
}
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
|
| 161 |
+
"expect": {
|
| 162 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 163 |
+
},
|
| 164 |
+
"params": {
|
| 165 |
+
"Region": "us-iso-east-1",
|
| 166 |
+
"UseFIPS": true,
|
| 167 |
+
"UseDualStack": true
|
| 168 |
+
}
|
| 169 |
+
},
|
| 170 |
+
{
|
| 171 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
|
| 172 |
+
"expect": {
|
| 173 |
+
"endpoint": {
|
| 174 |
+
"url": "https://cost-optimization-hub-fips.us-iso-east-1.c2s.ic.gov"
|
| 175 |
+
}
|
| 176 |
+
},
|
| 177 |
+
"params": {
|
| 178 |
+
"Region": "us-iso-east-1",
|
| 179 |
+
"UseFIPS": true,
|
| 180 |
+
"UseDualStack": false
|
| 181 |
+
}
|
| 182 |
+
},
|
| 183 |
+
{
|
| 184 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
|
| 185 |
+
"expect": {
|
| 186 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 187 |
+
},
|
| 188 |
+
"params": {
|
| 189 |
+
"Region": "us-iso-east-1",
|
| 190 |
+
"UseFIPS": false,
|
| 191 |
+
"UseDualStack": true
|
| 192 |
+
}
|
| 193 |
+
},
|
| 194 |
+
{
|
| 195 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
|
| 196 |
+
"expect": {
|
| 197 |
+
"endpoint": {
|
| 198 |
+
"url": "https://cost-optimization-hub.us-iso-east-1.c2s.ic.gov"
|
| 199 |
+
}
|
| 200 |
+
},
|
| 201 |
+
"params": {
|
| 202 |
+
"Region": "us-iso-east-1",
|
| 203 |
+
"UseFIPS": false,
|
| 204 |
+
"UseDualStack": false
|
| 205 |
+
}
|
| 206 |
+
},
|
| 207 |
+
{
|
| 208 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
|
| 209 |
+
"expect": {
|
| 210 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 211 |
+
},
|
| 212 |
+
"params": {
|
| 213 |
+
"Region": "us-isob-east-1",
|
| 214 |
+
"UseFIPS": true,
|
| 215 |
+
"UseDualStack": true
|
| 216 |
+
}
|
| 217 |
+
},
|
| 218 |
+
{
|
| 219 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
|
| 220 |
+
"expect": {
|
| 221 |
+
"endpoint": {
|
| 222 |
+
"url": "https://cost-optimization-hub-fips.us-isob-east-1.sc2s.sgov.gov"
|
| 223 |
+
}
|
| 224 |
+
},
|
| 225 |
+
"params": {
|
| 226 |
+
"Region": "us-isob-east-1",
|
| 227 |
+
"UseFIPS": true,
|
| 228 |
+
"UseDualStack": false
|
| 229 |
+
}
|
| 230 |
+
},
|
| 231 |
+
{
|
| 232 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
|
| 233 |
+
"expect": {
|
| 234 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 235 |
+
},
|
| 236 |
+
"params": {
|
| 237 |
+
"Region": "us-isob-east-1",
|
| 238 |
+
"UseFIPS": false,
|
| 239 |
+
"UseDualStack": true
|
| 240 |
+
}
|
| 241 |
+
},
|
| 242 |
+
{
|
| 243 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
|
| 244 |
+
"expect": {
|
| 245 |
+
"endpoint": {
|
| 246 |
+
"url": "https://cost-optimization-hub.us-isob-east-1.sc2s.sgov.gov"
|
| 247 |
+
}
|
| 248 |
+
},
|
| 249 |
+
"params": {
|
| 250 |
+
"Region": "us-isob-east-1",
|
| 251 |
+
"UseFIPS": false,
|
| 252 |
+
"UseDualStack": false
|
| 253 |
+
}
|
| 254 |
+
},
|
| 255 |
+
{
|
| 256 |
+
"documentation": "For custom endpoint with region set and fips disabled and dualstack disabled",
|
| 257 |
+
"expect": {
|
| 258 |
+
"endpoint": {
|
| 259 |
+
"url": "https://example.com"
|
| 260 |
+
}
|
| 261 |
+
},
|
| 262 |
+
"params": {
|
| 263 |
+
"Region": "us-east-1",
|
| 264 |
+
"UseFIPS": false,
|
| 265 |
+
"UseDualStack": false,
|
| 266 |
+
"Endpoint": "https://example.com"
|
| 267 |
+
}
|
| 268 |
+
},
|
| 269 |
+
{
|
| 270 |
+
"documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled",
|
| 271 |
+
"expect": {
|
| 272 |
+
"endpoint": {
|
| 273 |
+
"url": "https://example.com"
|
| 274 |
+
}
|
| 275 |
+
},
|
| 276 |
+
"params": {
|
| 277 |
+
"UseFIPS": false,
|
| 278 |
+
"UseDualStack": false,
|
| 279 |
+
"Endpoint": "https://example.com"
|
| 280 |
+
}
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"documentation": "For custom endpoint with fips enabled and dualstack disabled",
|
| 284 |
+
"expect": {
|
| 285 |
+
"error": "Invalid Configuration: FIPS and custom endpoint are not supported"
|
| 286 |
+
},
|
| 287 |
+
"params": {
|
| 288 |
+
"Region": "us-east-1",
|
| 289 |
+
"UseFIPS": true,
|
| 290 |
+
"UseDualStack": false,
|
| 291 |
+
"Endpoint": "https://example.com"
|
| 292 |
+
}
|
| 293 |
+
},
|
| 294 |
+
{
|
| 295 |
+
"documentation": "For custom endpoint with fips disabled and dualstack enabled",
|
| 296 |
+
"expect": {
|
| 297 |
+
"error": "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
| 298 |
+
},
|
| 299 |
+
"params": {
|
| 300 |
+
"Region": "us-east-1",
|
| 301 |
+
"UseFIPS": false,
|
| 302 |
+
"UseDualStack": true,
|
| 303 |
+
"Endpoint": "https://example.com"
|
| 304 |
+
}
|
| 305 |
+
},
|
| 306 |
+
{
|
| 307 |
+
"documentation": "Missing region",
|
| 308 |
+
"expect": {
|
| 309 |
+
"error": "Invalid Configuration: Missing Region"
|
| 310 |
+
}
|
| 311 |
+
}
|
| 312 |
+
],
|
| 313 |
+
"version": "1.0"
|
| 314 |
+
}
|
testbed/boto__botocore/tests/functional/endpoint-rules/datazone/endpoint-tests-1.json
ADDED
|
@@ -0,0 +1,119 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"testCases": [
|
| 3 |
+
{
|
| 4 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
|
| 5 |
+
"expect": {
|
| 6 |
+
"endpoint": {
|
| 7 |
+
"url": "https://datazone-fips.us-east-1.api.aws"
|
| 8 |
+
}
|
| 9 |
+
},
|
| 10 |
+
"params": {
|
| 11 |
+
"Region": "us-east-1",
|
| 12 |
+
"UseFIPS": true
|
| 13 |
+
}
|
| 14 |
+
},
|
| 15 |
+
{
|
| 16 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
|
| 17 |
+
"expect": {
|
| 18 |
+
"endpoint": {
|
| 19 |
+
"url": "https://datazone.us-east-1.api.aws"
|
| 20 |
+
}
|
| 21 |
+
},
|
| 22 |
+
"params": {
|
| 23 |
+
"Region": "us-east-1",
|
| 24 |
+
"UseFIPS": false
|
| 25 |
+
}
|
| 26 |
+
},
|
| 27 |
+
{
|
| 28 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled",
|
| 29 |
+
"expect": {
|
| 30 |
+
"endpoint": {
|
| 31 |
+
"url": "https://datazone-fips.cn-north-1.api.amazonwebservices.com.cn"
|
| 32 |
+
}
|
| 33 |
+
},
|
| 34 |
+
"params": {
|
| 35 |
+
"Region": "cn-north-1",
|
| 36 |
+
"UseFIPS": true
|
| 37 |
+
}
|
| 38 |
+
},
|
| 39 |
+
{
|
| 40 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled",
|
| 41 |
+
"expect": {
|
| 42 |
+
"endpoint": {
|
| 43 |
+
"url": "https://datazone.cn-north-1.api.amazonwebservices.com.cn"
|
| 44 |
+
}
|
| 45 |
+
},
|
| 46 |
+
"params": {
|
| 47 |
+
"Region": "cn-north-1",
|
| 48 |
+
"UseFIPS": false
|
| 49 |
+
}
|
| 50 |
+
},
|
| 51 |
+
{
|
| 52 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled",
|
| 53 |
+
"expect": {
|
| 54 |
+
"endpoint": {
|
| 55 |
+
"url": "https://datazone-fips.us-gov-east-1.api.aws"
|
| 56 |
+
}
|
| 57 |
+
},
|
| 58 |
+
"params": {
|
| 59 |
+
"Region": "us-gov-east-1",
|
| 60 |
+
"UseFIPS": true
|
| 61 |
+
}
|
| 62 |
+
},
|
| 63 |
+
{
|
| 64 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled",
|
| 65 |
+
"expect": {
|
| 66 |
+
"endpoint": {
|
| 67 |
+
"url": "https://datazone.us-gov-east-1.api.aws"
|
| 68 |
+
}
|
| 69 |
+
},
|
| 70 |
+
"params": {
|
| 71 |
+
"Region": "us-gov-east-1",
|
| 72 |
+
"UseFIPS": false
|
| 73 |
+
}
|
| 74 |
+
},
|
| 75 |
+
{
|
| 76 |
+
"documentation": "For custom endpoint with region set and fips disabled and dualstack disabled",
|
| 77 |
+
"expect": {
|
| 78 |
+
"endpoint": {
|
| 79 |
+
"url": "https://example.com"
|
| 80 |
+
}
|
| 81 |
+
},
|
| 82 |
+
"params": {
|
| 83 |
+
"Region": "us-east-1",
|
| 84 |
+
"UseFIPS": false,
|
| 85 |
+
"Endpoint": "https://example.com"
|
| 86 |
+
}
|
| 87 |
+
},
|
| 88 |
+
{
|
| 89 |
+
"documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled",
|
| 90 |
+
"expect": {
|
| 91 |
+
"endpoint": {
|
| 92 |
+
"url": "https://example.com"
|
| 93 |
+
}
|
| 94 |
+
},
|
| 95 |
+
"params": {
|
| 96 |
+
"UseFIPS": false,
|
| 97 |
+
"Endpoint": "https://example.com"
|
| 98 |
+
}
|
| 99 |
+
},
|
| 100 |
+
{
|
| 101 |
+
"documentation": "For custom endpoint with fips enabled and dualstack disabled",
|
| 102 |
+
"expect": {
|
| 103 |
+
"error": "Invalid Configuration: FIPS and custom endpoint are not supported"
|
| 104 |
+
},
|
| 105 |
+
"params": {
|
| 106 |
+
"Region": "us-east-1",
|
| 107 |
+
"UseFIPS": true,
|
| 108 |
+
"Endpoint": "https://example.com"
|
| 109 |
+
}
|
| 110 |
+
},
|
| 111 |
+
{
|
| 112 |
+
"documentation": "Missing region",
|
| 113 |
+
"expect": {
|
| 114 |
+
"error": "Invalid Configuration: Missing Region"
|
| 115 |
+
}
|
| 116 |
+
}
|
| 117 |
+
],
|
| 118 |
+
"version": "1.0"
|
| 119 |
+
}
|
testbed/boto__botocore/tests/functional/endpoint-rules/deadline/endpoint-tests-1.json
ADDED
|
@@ -0,0 +1,314 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"testCases": [
|
| 3 |
+
{
|
| 4 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
|
| 5 |
+
"expect": {
|
| 6 |
+
"endpoint": {
|
| 7 |
+
"url": "https://deadline-fips.us-east-1.api.aws"
|
| 8 |
+
}
|
| 9 |
+
},
|
| 10 |
+
"params": {
|
| 11 |
+
"Region": "us-east-1",
|
| 12 |
+
"UseFIPS": true,
|
| 13 |
+
"UseDualStack": true
|
| 14 |
+
}
|
| 15 |
+
},
|
| 16 |
+
{
|
| 17 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
|
| 18 |
+
"expect": {
|
| 19 |
+
"endpoint": {
|
| 20 |
+
"url": "https://deadline-fips.us-east-1.amazonaws.com"
|
| 21 |
+
}
|
| 22 |
+
},
|
| 23 |
+
"params": {
|
| 24 |
+
"Region": "us-east-1",
|
| 25 |
+
"UseFIPS": true,
|
| 26 |
+
"UseDualStack": false
|
| 27 |
+
}
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
|
| 31 |
+
"expect": {
|
| 32 |
+
"endpoint": {
|
| 33 |
+
"url": "https://deadline.us-east-1.api.aws"
|
| 34 |
+
}
|
| 35 |
+
},
|
| 36 |
+
"params": {
|
| 37 |
+
"Region": "us-east-1",
|
| 38 |
+
"UseFIPS": false,
|
| 39 |
+
"UseDualStack": true
|
| 40 |
+
}
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
|
| 44 |
+
"expect": {
|
| 45 |
+
"endpoint": {
|
| 46 |
+
"url": "https://deadline.us-east-1.amazonaws.com"
|
| 47 |
+
}
|
| 48 |
+
},
|
| 49 |
+
"params": {
|
| 50 |
+
"Region": "us-east-1",
|
| 51 |
+
"UseFIPS": false,
|
| 52 |
+
"UseDualStack": false
|
| 53 |
+
}
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled",
|
| 57 |
+
"expect": {
|
| 58 |
+
"endpoint": {
|
| 59 |
+
"url": "https://deadline-fips.cn-north-1.api.amazonwebservices.com.cn"
|
| 60 |
+
}
|
| 61 |
+
},
|
| 62 |
+
"params": {
|
| 63 |
+
"Region": "cn-north-1",
|
| 64 |
+
"UseFIPS": true,
|
| 65 |
+
"UseDualStack": true
|
| 66 |
+
}
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled",
|
| 70 |
+
"expect": {
|
| 71 |
+
"endpoint": {
|
| 72 |
+
"url": "https://deadline-fips.cn-north-1.amazonaws.com.cn"
|
| 73 |
+
}
|
| 74 |
+
},
|
| 75 |
+
"params": {
|
| 76 |
+
"Region": "cn-north-1",
|
| 77 |
+
"UseFIPS": true,
|
| 78 |
+
"UseDualStack": false
|
| 79 |
+
}
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled",
|
| 83 |
+
"expect": {
|
| 84 |
+
"endpoint": {
|
| 85 |
+
"url": "https://deadline.cn-north-1.api.amazonwebservices.com.cn"
|
| 86 |
+
}
|
| 87 |
+
},
|
| 88 |
+
"params": {
|
| 89 |
+
"Region": "cn-north-1",
|
| 90 |
+
"UseFIPS": false,
|
| 91 |
+
"UseDualStack": true
|
| 92 |
+
}
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled",
|
| 96 |
+
"expect": {
|
| 97 |
+
"endpoint": {
|
| 98 |
+
"url": "https://deadline.cn-north-1.amazonaws.com.cn"
|
| 99 |
+
}
|
| 100 |
+
},
|
| 101 |
+
"params": {
|
| 102 |
+
"Region": "cn-north-1",
|
| 103 |
+
"UseFIPS": false,
|
| 104 |
+
"UseDualStack": false
|
| 105 |
+
}
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled",
|
| 109 |
+
"expect": {
|
| 110 |
+
"endpoint": {
|
| 111 |
+
"url": "https://deadline-fips.us-gov-east-1.api.aws"
|
| 112 |
+
}
|
| 113 |
+
},
|
| 114 |
+
"params": {
|
| 115 |
+
"Region": "us-gov-east-1",
|
| 116 |
+
"UseFIPS": true,
|
| 117 |
+
"UseDualStack": true
|
| 118 |
+
}
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled",
|
| 122 |
+
"expect": {
|
| 123 |
+
"endpoint": {
|
| 124 |
+
"url": "https://deadline-fips.us-gov-east-1.amazonaws.com"
|
| 125 |
+
}
|
| 126 |
+
},
|
| 127 |
+
"params": {
|
| 128 |
+
"Region": "us-gov-east-1",
|
| 129 |
+
"UseFIPS": true,
|
| 130 |
+
"UseDualStack": false
|
| 131 |
+
}
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled",
|
| 135 |
+
"expect": {
|
| 136 |
+
"endpoint": {
|
| 137 |
+
"url": "https://deadline.us-gov-east-1.api.aws"
|
| 138 |
+
}
|
| 139 |
+
},
|
| 140 |
+
"params": {
|
| 141 |
+
"Region": "us-gov-east-1",
|
| 142 |
+
"UseFIPS": false,
|
| 143 |
+
"UseDualStack": true
|
| 144 |
+
}
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled",
|
| 148 |
+
"expect": {
|
| 149 |
+
"endpoint": {
|
| 150 |
+
"url": "https://deadline.us-gov-east-1.amazonaws.com"
|
| 151 |
+
}
|
| 152 |
+
},
|
| 153 |
+
"params": {
|
| 154 |
+
"Region": "us-gov-east-1",
|
| 155 |
+
"UseFIPS": false,
|
| 156 |
+
"UseDualStack": false
|
| 157 |
+
}
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
|
| 161 |
+
"expect": {
|
| 162 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 163 |
+
},
|
| 164 |
+
"params": {
|
| 165 |
+
"Region": "us-iso-east-1",
|
| 166 |
+
"UseFIPS": true,
|
| 167 |
+
"UseDualStack": true
|
| 168 |
+
}
|
| 169 |
+
},
|
| 170 |
+
{
|
| 171 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
|
| 172 |
+
"expect": {
|
| 173 |
+
"endpoint": {
|
| 174 |
+
"url": "https://deadline-fips.us-iso-east-1.c2s.ic.gov"
|
| 175 |
+
}
|
| 176 |
+
},
|
| 177 |
+
"params": {
|
| 178 |
+
"Region": "us-iso-east-1",
|
| 179 |
+
"UseFIPS": true,
|
| 180 |
+
"UseDualStack": false
|
| 181 |
+
}
|
| 182 |
+
},
|
| 183 |
+
{
|
| 184 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
|
| 185 |
+
"expect": {
|
| 186 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 187 |
+
},
|
| 188 |
+
"params": {
|
| 189 |
+
"Region": "us-iso-east-1",
|
| 190 |
+
"UseFIPS": false,
|
| 191 |
+
"UseDualStack": true
|
| 192 |
+
}
|
| 193 |
+
},
|
| 194 |
+
{
|
| 195 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
|
| 196 |
+
"expect": {
|
| 197 |
+
"endpoint": {
|
| 198 |
+
"url": "https://deadline.us-iso-east-1.c2s.ic.gov"
|
| 199 |
+
}
|
| 200 |
+
},
|
| 201 |
+
"params": {
|
| 202 |
+
"Region": "us-iso-east-1",
|
| 203 |
+
"UseFIPS": false,
|
| 204 |
+
"UseDualStack": false
|
| 205 |
+
}
|
| 206 |
+
},
|
| 207 |
+
{
|
| 208 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
|
| 209 |
+
"expect": {
|
| 210 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 211 |
+
},
|
| 212 |
+
"params": {
|
| 213 |
+
"Region": "us-isob-east-1",
|
| 214 |
+
"UseFIPS": true,
|
| 215 |
+
"UseDualStack": true
|
| 216 |
+
}
|
| 217 |
+
},
|
| 218 |
+
{
|
| 219 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
|
| 220 |
+
"expect": {
|
| 221 |
+
"endpoint": {
|
| 222 |
+
"url": "https://deadline-fips.us-isob-east-1.sc2s.sgov.gov"
|
| 223 |
+
}
|
| 224 |
+
},
|
| 225 |
+
"params": {
|
| 226 |
+
"Region": "us-isob-east-1",
|
| 227 |
+
"UseFIPS": true,
|
| 228 |
+
"UseDualStack": false
|
| 229 |
+
}
|
| 230 |
+
},
|
| 231 |
+
{
|
| 232 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
|
| 233 |
+
"expect": {
|
| 234 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 235 |
+
},
|
| 236 |
+
"params": {
|
| 237 |
+
"Region": "us-isob-east-1",
|
| 238 |
+
"UseFIPS": false,
|
| 239 |
+
"UseDualStack": true
|
| 240 |
+
}
|
| 241 |
+
},
|
| 242 |
+
{
|
| 243 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
|
| 244 |
+
"expect": {
|
| 245 |
+
"endpoint": {
|
| 246 |
+
"url": "https://deadline.us-isob-east-1.sc2s.sgov.gov"
|
| 247 |
+
}
|
| 248 |
+
},
|
| 249 |
+
"params": {
|
| 250 |
+
"Region": "us-isob-east-1",
|
| 251 |
+
"UseFIPS": false,
|
| 252 |
+
"UseDualStack": false
|
| 253 |
+
}
|
| 254 |
+
},
|
| 255 |
+
{
|
| 256 |
+
"documentation": "For custom endpoint with region set and fips disabled and dualstack disabled",
|
| 257 |
+
"expect": {
|
| 258 |
+
"endpoint": {
|
| 259 |
+
"url": "https://example.com"
|
| 260 |
+
}
|
| 261 |
+
},
|
| 262 |
+
"params": {
|
| 263 |
+
"Region": "us-east-1",
|
| 264 |
+
"UseFIPS": false,
|
| 265 |
+
"UseDualStack": false,
|
| 266 |
+
"Endpoint": "https://example.com"
|
| 267 |
+
}
|
| 268 |
+
},
|
| 269 |
+
{
|
| 270 |
+
"documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled",
|
| 271 |
+
"expect": {
|
| 272 |
+
"endpoint": {
|
| 273 |
+
"url": "https://example.com"
|
| 274 |
+
}
|
| 275 |
+
},
|
| 276 |
+
"params": {
|
| 277 |
+
"UseFIPS": false,
|
| 278 |
+
"UseDualStack": false,
|
| 279 |
+
"Endpoint": "https://example.com"
|
| 280 |
+
}
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"documentation": "For custom endpoint with fips enabled and dualstack disabled",
|
| 284 |
+
"expect": {
|
| 285 |
+
"error": "Invalid Configuration: FIPS and custom endpoint are not supported"
|
| 286 |
+
},
|
| 287 |
+
"params": {
|
| 288 |
+
"Region": "us-east-1",
|
| 289 |
+
"UseFIPS": true,
|
| 290 |
+
"UseDualStack": false,
|
| 291 |
+
"Endpoint": "https://example.com"
|
| 292 |
+
}
|
| 293 |
+
},
|
| 294 |
+
{
|
| 295 |
+
"documentation": "For custom endpoint with fips disabled and dualstack enabled",
|
| 296 |
+
"expect": {
|
| 297 |
+
"error": "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
| 298 |
+
},
|
| 299 |
+
"params": {
|
| 300 |
+
"Region": "us-east-1",
|
| 301 |
+
"UseFIPS": false,
|
| 302 |
+
"UseDualStack": true,
|
| 303 |
+
"Endpoint": "https://example.com"
|
| 304 |
+
}
|
| 305 |
+
},
|
| 306 |
+
{
|
| 307 |
+
"documentation": "Missing region",
|
| 308 |
+
"expect": {
|
| 309 |
+
"error": "Invalid Configuration: Missing Region"
|
| 310 |
+
}
|
| 311 |
+
}
|
| 312 |
+
],
|
| 313 |
+
"version": "1.0"
|
| 314 |
+
}
|
testbed/boto__botocore/tests/functional/endpoint-rules/ds-data/endpoint-tests-1.json
ADDED
|
@@ -0,0 +1,314 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"testCases": [
|
| 3 |
+
{
|
| 4 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
|
| 5 |
+
"expect": {
|
| 6 |
+
"endpoint": {
|
| 7 |
+
"url": "https://ds-data-fips.us-east-1.api.aws"
|
| 8 |
+
}
|
| 9 |
+
},
|
| 10 |
+
"params": {
|
| 11 |
+
"Region": "us-east-1",
|
| 12 |
+
"UseFIPS": true,
|
| 13 |
+
"UseDualStack": true
|
| 14 |
+
}
|
| 15 |
+
},
|
| 16 |
+
{
|
| 17 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
|
| 18 |
+
"expect": {
|
| 19 |
+
"endpoint": {
|
| 20 |
+
"url": "https://ds-data-fips.us-east-1.amazonaws.com"
|
| 21 |
+
}
|
| 22 |
+
},
|
| 23 |
+
"params": {
|
| 24 |
+
"Region": "us-east-1",
|
| 25 |
+
"UseFIPS": true,
|
| 26 |
+
"UseDualStack": false
|
| 27 |
+
}
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
|
| 31 |
+
"expect": {
|
| 32 |
+
"endpoint": {
|
| 33 |
+
"url": "https://ds-data.us-east-1.api.aws"
|
| 34 |
+
}
|
| 35 |
+
},
|
| 36 |
+
"params": {
|
| 37 |
+
"Region": "us-east-1",
|
| 38 |
+
"UseFIPS": false,
|
| 39 |
+
"UseDualStack": true
|
| 40 |
+
}
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
|
| 44 |
+
"expect": {
|
| 45 |
+
"endpoint": {
|
| 46 |
+
"url": "https://ds-data.us-east-1.amazonaws.com"
|
| 47 |
+
}
|
| 48 |
+
},
|
| 49 |
+
"params": {
|
| 50 |
+
"Region": "us-east-1",
|
| 51 |
+
"UseFIPS": false,
|
| 52 |
+
"UseDualStack": false
|
| 53 |
+
}
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled",
|
| 57 |
+
"expect": {
|
| 58 |
+
"endpoint": {
|
| 59 |
+
"url": "https://ds-data-fips.cn-north-1.api.amazonwebservices.com.cn"
|
| 60 |
+
}
|
| 61 |
+
},
|
| 62 |
+
"params": {
|
| 63 |
+
"Region": "cn-north-1",
|
| 64 |
+
"UseFIPS": true,
|
| 65 |
+
"UseDualStack": true
|
| 66 |
+
}
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled",
|
| 70 |
+
"expect": {
|
| 71 |
+
"endpoint": {
|
| 72 |
+
"url": "https://ds-data-fips.cn-north-1.amazonaws.com.cn"
|
| 73 |
+
}
|
| 74 |
+
},
|
| 75 |
+
"params": {
|
| 76 |
+
"Region": "cn-north-1",
|
| 77 |
+
"UseFIPS": true,
|
| 78 |
+
"UseDualStack": false
|
| 79 |
+
}
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled",
|
| 83 |
+
"expect": {
|
| 84 |
+
"endpoint": {
|
| 85 |
+
"url": "https://ds-data.cn-north-1.api.amazonwebservices.com.cn"
|
| 86 |
+
}
|
| 87 |
+
},
|
| 88 |
+
"params": {
|
| 89 |
+
"Region": "cn-north-1",
|
| 90 |
+
"UseFIPS": false,
|
| 91 |
+
"UseDualStack": true
|
| 92 |
+
}
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled",
|
| 96 |
+
"expect": {
|
| 97 |
+
"endpoint": {
|
| 98 |
+
"url": "https://ds-data.cn-north-1.amazonaws.com.cn"
|
| 99 |
+
}
|
| 100 |
+
},
|
| 101 |
+
"params": {
|
| 102 |
+
"Region": "cn-north-1",
|
| 103 |
+
"UseFIPS": false,
|
| 104 |
+
"UseDualStack": false
|
| 105 |
+
}
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled",
|
| 109 |
+
"expect": {
|
| 110 |
+
"endpoint": {
|
| 111 |
+
"url": "https://ds-data-fips.us-gov-east-1.api.aws"
|
| 112 |
+
}
|
| 113 |
+
},
|
| 114 |
+
"params": {
|
| 115 |
+
"Region": "us-gov-east-1",
|
| 116 |
+
"UseFIPS": true,
|
| 117 |
+
"UseDualStack": true
|
| 118 |
+
}
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled",
|
| 122 |
+
"expect": {
|
| 123 |
+
"endpoint": {
|
| 124 |
+
"url": "https://ds-data-fips.us-gov-east-1.amazonaws.com"
|
| 125 |
+
}
|
| 126 |
+
},
|
| 127 |
+
"params": {
|
| 128 |
+
"Region": "us-gov-east-1",
|
| 129 |
+
"UseFIPS": true,
|
| 130 |
+
"UseDualStack": false
|
| 131 |
+
}
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled",
|
| 135 |
+
"expect": {
|
| 136 |
+
"endpoint": {
|
| 137 |
+
"url": "https://ds-data.us-gov-east-1.api.aws"
|
| 138 |
+
}
|
| 139 |
+
},
|
| 140 |
+
"params": {
|
| 141 |
+
"Region": "us-gov-east-1",
|
| 142 |
+
"UseFIPS": false,
|
| 143 |
+
"UseDualStack": true
|
| 144 |
+
}
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled",
|
| 148 |
+
"expect": {
|
| 149 |
+
"endpoint": {
|
| 150 |
+
"url": "https://ds-data.us-gov-east-1.amazonaws.com"
|
| 151 |
+
}
|
| 152 |
+
},
|
| 153 |
+
"params": {
|
| 154 |
+
"Region": "us-gov-east-1",
|
| 155 |
+
"UseFIPS": false,
|
| 156 |
+
"UseDualStack": false
|
| 157 |
+
}
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
|
| 161 |
+
"expect": {
|
| 162 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 163 |
+
},
|
| 164 |
+
"params": {
|
| 165 |
+
"Region": "us-iso-east-1",
|
| 166 |
+
"UseFIPS": true,
|
| 167 |
+
"UseDualStack": true
|
| 168 |
+
}
|
| 169 |
+
},
|
| 170 |
+
{
|
| 171 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
|
| 172 |
+
"expect": {
|
| 173 |
+
"endpoint": {
|
| 174 |
+
"url": "https://ds-data-fips.us-iso-east-1.c2s.ic.gov"
|
| 175 |
+
}
|
| 176 |
+
},
|
| 177 |
+
"params": {
|
| 178 |
+
"Region": "us-iso-east-1",
|
| 179 |
+
"UseFIPS": true,
|
| 180 |
+
"UseDualStack": false
|
| 181 |
+
}
|
| 182 |
+
},
|
| 183 |
+
{
|
| 184 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
|
| 185 |
+
"expect": {
|
| 186 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 187 |
+
},
|
| 188 |
+
"params": {
|
| 189 |
+
"Region": "us-iso-east-1",
|
| 190 |
+
"UseFIPS": false,
|
| 191 |
+
"UseDualStack": true
|
| 192 |
+
}
|
| 193 |
+
},
|
| 194 |
+
{
|
| 195 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
|
| 196 |
+
"expect": {
|
| 197 |
+
"endpoint": {
|
| 198 |
+
"url": "https://ds-data.us-iso-east-1.c2s.ic.gov"
|
| 199 |
+
}
|
| 200 |
+
},
|
| 201 |
+
"params": {
|
| 202 |
+
"Region": "us-iso-east-1",
|
| 203 |
+
"UseFIPS": false,
|
| 204 |
+
"UseDualStack": false
|
| 205 |
+
}
|
| 206 |
+
},
|
| 207 |
+
{
|
| 208 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
|
| 209 |
+
"expect": {
|
| 210 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 211 |
+
},
|
| 212 |
+
"params": {
|
| 213 |
+
"Region": "us-isob-east-1",
|
| 214 |
+
"UseFIPS": true,
|
| 215 |
+
"UseDualStack": true
|
| 216 |
+
}
|
| 217 |
+
},
|
| 218 |
+
{
|
| 219 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
|
| 220 |
+
"expect": {
|
| 221 |
+
"endpoint": {
|
| 222 |
+
"url": "https://ds-data-fips.us-isob-east-1.sc2s.sgov.gov"
|
| 223 |
+
}
|
| 224 |
+
},
|
| 225 |
+
"params": {
|
| 226 |
+
"Region": "us-isob-east-1",
|
| 227 |
+
"UseFIPS": true,
|
| 228 |
+
"UseDualStack": false
|
| 229 |
+
}
|
| 230 |
+
},
|
| 231 |
+
{
|
| 232 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
|
| 233 |
+
"expect": {
|
| 234 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 235 |
+
},
|
| 236 |
+
"params": {
|
| 237 |
+
"Region": "us-isob-east-1",
|
| 238 |
+
"UseFIPS": false,
|
| 239 |
+
"UseDualStack": true
|
| 240 |
+
}
|
| 241 |
+
},
|
| 242 |
+
{
|
| 243 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
|
| 244 |
+
"expect": {
|
| 245 |
+
"endpoint": {
|
| 246 |
+
"url": "https://ds-data.us-isob-east-1.sc2s.sgov.gov"
|
| 247 |
+
}
|
| 248 |
+
},
|
| 249 |
+
"params": {
|
| 250 |
+
"Region": "us-isob-east-1",
|
| 251 |
+
"UseFIPS": false,
|
| 252 |
+
"UseDualStack": false
|
| 253 |
+
}
|
| 254 |
+
},
|
| 255 |
+
{
|
| 256 |
+
"documentation": "For custom endpoint with region set and fips disabled and dualstack disabled",
|
| 257 |
+
"expect": {
|
| 258 |
+
"endpoint": {
|
| 259 |
+
"url": "https://example.com"
|
| 260 |
+
}
|
| 261 |
+
},
|
| 262 |
+
"params": {
|
| 263 |
+
"Region": "us-east-1",
|
| 264 |
+
"UseFIPS": false,
|
| 265 |
+
"UseDualStack": false,
|
| 266 |
+
"Endpoint": "https://example.com"
|
| 267 |
+
}
|
| 268 |
+
},
|
| 269 |
+
{
|
| 270 |
+
"documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled",
|
| 271 |
+
"expect": {
|
| 272 |
+
"endpoint": {
|
| 273 |
+
"url": "https://example.com"
|
| 274 |
+
}
|
| 275 |
+
},
|
| 276 |
+
"params": {
|
| 277 |
+
"UseFIPS": false,
|
| 278 |
+
"UseDualStack": false,
|
| 279 |
+
"Endpoint": "https://example.com"
|
| 280 |
+
}
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"documentation": "For custom endpoint with fips enabled and dualstack disabled",
|
| 284 |
+
"expect": {
|
| 285 |
+
"error": "Invalid Configuration: FIPS and custom endpoint are not supported"
|
| 286 |
+
},
|
| 287 |
+
"params": {
|
| 288 |
+
"Region": "us-east-1",
|
| 289 |
+
"UseFIPS": true,
|
| 290 |
+
"UseDualStack": false,
|
| 291 |
+
"Endpoint": "https://example.com"
|
| 292 |
+
}
|
| 293 |
+
},
|
| 294 |
+
{
|
| 295 |
+
"documentation": "For custom endpoint with fips disabled and dualstack enabled",
|
| 296 |
+
"expect": {
|
| 297 |
+
"error": "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
| 298 |
+
},
|
| 299 |
+
"params": {
|
| 300 |
+
"Region": "us-east-1",
|
| 301 |
+
"UseFIPS": false,
|
| 302 |
+
"UseDualStack": true,
|
| 303 |
+
"Endpoint": "https://example.com"
|
| 304 |
+
}
|
| 305 |
+
},
|
| 306 |
+
{
|
| 307 |
+
"documentation": "Missing region",
|
| 308 |
+
"expect": {
|
| 309 |
+
"error": "Invalid Configuration: Missing Region"
|
| 310 |
+
}
|
| 311 |
+
}
|
| 312 |
+
],
|
| 313 |
+
"version": "1.0"
|
| 314 |
+
}
|
testbed/boto__botocore/tests/functional/endpoint-rules/eks-auth/endpoint-tests-1.json
ADDED
|
@@ -0,0 +1,119 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"testCases": [
|
| 3 |
+
{
|
| 4 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
|
| 5 |
+
"expect": {
|
| 6 |
+
"endpoint": {
|
| 7 |
+
"url": "https://eks-auth-fips.us-east-1.api.aws"
|
| 8 |
+
}
|
| 9 |
+
},
|
| 10 |
+
"params": {
|
| 11 |
+
"Region": "us-east-1",
|
| 12 |
+
"UseFIPS": true
|
| 13 |
+
}
|
| 14 |
+
},
|
| 15 |
+
{
|
| 16 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
|
| 17 |
+
"expect": {
|
| 18 |
+
"endpoint": {
|
| 19 |
+
"url": "https://eks-auth.us-east-1.api.aws"
|
| 20 |
+
}
|
| 21 |
+
},
|
| 22 |
+
"params": {
|
| 23 |
+
"Region": "us-east-1",
|
| 24 |
+
"UseFIPS": false
|
| 25 |
+
}
|
| 26 |
+
},
|
| 27 |
+
{
|
| 28 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled",
|
| 29 |
+
"expect": {
|
| 30 |
+
"endpoint": {
|
| 31 |
+
"url": "https://eks-auth-fips.cn-north-1.api.amazonwebservices.com.cn"
|
| 32 |
+
}
|
| 33 |
+
},
|
| 34 |
+
"params": {
|
| 35 |
+
"Region": "cn-north-1",
|
| 36 |
+
"UseFIPS": true
|
| 37 |
+
}
|
| 38 |
+
},
|
| 39 |
+
{
|
| 40 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled",
|
| 41 |
+
"expect": {
|
| 42 |
+
"endpoint": {
|
| 43 |
+
"url": "https://eks-auth.cn-north-1.api.amazonwebservices.com.cn"
|
| 44 |
+
}
|
| 45 |
+
},
|
| 46 |
+
"params": {
|
| 47 |
+
"Region": "cn-north-1",
|
| 48 |
+
"UseFIPS": false
|
| 49 |
+
}
|
| 50 |
+
},
|
| 51 |
+
{
|
| 52 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled",
|
| 53 |
+
"expect": {
|
| 54 |
+
"endpoint": {
|
| 55 |
+
"url": "https://eks-auth-fips.us-gov-east-1.api.aws"
|
| 56 |
+
}
|
| 57 |
+
},
|
| 58 |
+
"params": {
|
| 59 |
+
"Region": "us-gov-east-1",
|
| 60 |
+
"UseFIPS": true
|
| 61 |
+
}
|
| 62 |
+
},
|
| 63 |
+
{
|
| 64 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled",
|
| 65 |
+
"expect": {
|
| 66 |
+
"endpoint": {
|
| 67 |
+
"url": "https://eks-auth.us-gov-east-1.api.aws"
|
| 68 |
+
}
|
| 69 |
+
},
|
| 70 |
+
"params": {
|
| 71 |
+
"Region": "us-gov-east-1",
|
| 72 |
+
"UseFIPS": false
|
| 73 |
+
}
|
| 74 |
+
},
|
| 75 |
+
{
|
| 76 |
+
"documentation": "For custom endpoint with region set and fips disabled and dualstack disabled",
|
| 77 |
+
"expect": {
|
| 78 |
+
"endpoint": {
|
| 79 |
+
"url": "https://example.com"
|
| 80 |
+
}
|
| 81 |
+
},
|
| 82 |
+
"params": {
|
| 83 |
+
"Region": "us-east-1",
|
| 84 |
+
"UseFIPS": false,
|
| 85 |
+
"Endpoint": "https://example.com"
|
| 86 |
+
}
|
| 87 |
+
},
|
| 88 |
+
{
|
| 89 |
+
"documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled",
|
| 90 |
+
"expect": {
|
| 91 |
+
"endpoint": {
|
| 92 |
+
"url": "https://example.com"
|
| 93 |
+
}
|
| 94 |
+
},
|
| 95 |
+
"params": {
|
| 96 |
+
"UseFIPS": false,
|
| 97 |
+
"Endpoint": "https://example.com"
|
| 98 |
+
}
|
| 99 |
+
},
|
| 100 |
+
{
|
| 101 |
+
"documentation": "For custom endpoint with fips enabled and dualstack disabled",
|
| 102 |
+
"expect": {
|
| 103 |
+
"error": "Invalid Configuration: FIPS and custom endpoint are not supported"
|
| 104 |
+
},
|
| 105 |
+
"params": {
|
| 106 |
+
"Region": "us-east-1",
|
| 107 |
+
"UseFIPS": true,
|
| 108 |
+
"Endpoint": "https://example.com"
|
| 109 |
+
}
|
| 110 |
+
},
|
| 111 |
+
{
|
| 112 |
+
"documentation": "Missing region",
|
| 113 |
+
"expect": {
|
| 114 |
+
"error": "Invalid Configuration: Missing Region"
|
| 115 |
+
}
|
| 116 |
+
}
|
| 117 |
+
],
|
| 118 |
+
"version": "1.0"
|
| 119 |
+
}
|
testbed/boto__botocore/tests/functional/endpoint-rules/elastic-inference/endpoint-tests-1.json
ADDED
|
@@ -0,0 +1,379 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"testCases": [
|
| 3 |
+
{
|
| 4 |
+
"documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled",
|
| 5 |
+
"expect": {
|
| 6 |
+
"endpoint": {
|
| 7 |
+
"url": "https://api.elastic-inference.ap-northeast-1.amazonaws.com"
|
| 8 |
+
}
|
| 9 |
+
},
|
| 10 |
+
"params": {
|
| 11 |
+
"Region": "ap-northeast-1",
|
| 12 |
+
"UseFIPS": false,
|
| 13 |
+
"UseDualStack": false
|
| 14 |
+
}
|
| 15 |
+
},
|
| 16 |
+
{
|
| 17 |
+
"documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled",
|
| 18 |
+
"expect": {
|
| 19 |
+
"endpoint": {
|
| 20 |
+
"url": "https://api.elastic-inference.ap-northeast-2.amazonaws.com"
|
| 21 |
+
}
|
| 22 |
+
},
|
| 23 |
+
"params": {
|
| 24 |
+
"Region": "ap-northeast-2",
|
| 25 |
+
"UseFIPS": false,
|
| 26 |
+
"UseDualStack": false
|
| 27 |
+
}
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled",
|
| 31 |
+
"expect": {
|
| 32 |
+
"endpoint": {
|
| 33 |
+
"url": "https://api.elastic-inference.eu-west-1.amazonaws.com"
|
| 34 |
+
}
|
| 35 |
+
},
|
| 36 |
+
"params": {
|
| 37 |
+
"Region": "eu-west-1",
|
| 38 |
+
"UseFIPS": false,
|
| 39 |
+
"UseDualStack": false
|
| 40 |
+
}
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
|
| 44 |
+
"expect": {
|
| 45 |
+
"endpoint": {
|
| 46 |
+
"url": "https://api.elastic-inference.us-east-1.amazonaws.com"
|
| 47 |
+
}
|
| 48 |
+
},
|
| 49 |
+
"params": {
|
| 50 |
+
"Region": "us-east-1",
|
| 51 |
+
"UseFIPS": false,
|
| 52 |
+
"UseDualStack": false
|
| 53 |
+
}
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"documentation": "For region us-east-2 with FIPS disabled and DualStack disabled",
|
| 57 |
+
"expect": {
|
| 58 |
+
"endpoint": {
|
| 59 |
+
"url": "https://api.elastic-inference.us-east-2.amazonaws.com"
|
| 60 |
+
}
|
| 61 |
+
},
|
| 62 |
+
"params": {
|
| 63 |
+
"Region": "us-east-2",
|
| 64 |
+
"UseFIPS": false,
|
| 65 |
+
"UseDualStack": false
|
| 66 |
+
}
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"documentation": "For region us-west-2 with FIPS disabled and DualStack disabled",
|
| 70 |
+
"expect": {
|
| 71 |
+
"endpoint": {
|
| 72 |
+
"url": "https://api.elastic-inference.us-west-2.amazonaws.com"
|
| 73 |
+
}
|
| 74 |
+
},
|
| 75 |
+
"params": {
|
| 76 |
+
"Region": "us-west-2",
|
| 77 |
+
"UseFIPS": false,
|
| 78 |
+
"UseDualStack": false
|
| 79 |
+
}
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
|
| 83 |
+
"expect": {
|
| 84 |
+
"endpoint": {
|
| 85 |
+
"url": "https://api.elastic-inference-fips.us-east-1.api.aws"
|
| 86 |
+
}
|
| 87 |
+
},
|
| 88 |
+
"params": {
|
| 89 |
+
"Region": "us-east-1",
|
| 90 |
+
"UseFIPS": true,
|
| 91 |
+
"UseDualStack": true
|
| 92 |
+
}
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
|
| 96 |
+
"expect": {
|
| 97 |
+
"endpoint": {
|
| 98 |
+
"url": "https://api.elastic-inference-fips.us-east-1.amazonaws.com"
|
| 99 |
+
}
|
| 100 |
+
},
|
| 101 |
+
"params": {
|
| 102 |
+
"Region": "us-east-1",
|
| 103 |
+
"UseFIPS": true,
|
| 104 |
+
"UseDualStack": false
|
| 105 |
+
}
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
|
| 109 |
+
"expect": {
|
| 110 |
+
"endpoint": {
|
| 111 |
+
"url": "https://api.elastic-inference.us-east-1.api.aws"
|
| 112 |
+
}
|
| 113 |
+
},
|
| 114 |
+
"params": {
|
| 115 |
+
"Region": "us-east-1",
|
| 116 |
+
"UseFIPS": false,
|
| 117 |
+
"UseDualStack": true
|
| 118 |
+
}
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled",
|
| 122 |
+
"expect": {
|
| 123 |
+
"endpoint": {
|
| 124 |
+
"url": "https://api.elastic-inference-fips.cn-north-1.api.amazonwebservices.com.cn"
|
| 125 |
+
}
|
| 126 |
+
},
|
| 127 |
+
"params": {
|
| 128 |
+
"Region": "cn-north-1",
|
| 129 |
+
"UseFIPS": true,
|
| 130 |
+
"UseDualStack": true
|
| 131 |
+
}
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled",
|
| 135 |
+
"expect": {
|
| 136 |
+
"endpoint": {
|
| 137 |
+
"url": "https://api.elastic-inference-fips.cn-north-1.amazonaws.com.cn"
|
| 138 |
+
}
|
| 139 |
+
},
|
| 140 |
+
"params": {
|
| 141 |
+
"Region": "cn-north-1",
|
| 142 |
+
"UseFIPS": true,
|
| 143 |
+
"UseDualStack": false
|
| 144 |
+
}
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled",
|
| 148 |
+
"expect": {
|
| 149 |
+
"endpoint": {
|
| 150 |
+
"url": "https://api.elastic-inference.cn-north-1.api.amazonwebservices.com.cn"
|
| 151 |
+
}
|
| 152 |
+
},
|
| 153 |
+
"params": {
|
| 154 |
+
"Region": "cn-north-1",
|
| 155 |
+
"UseFIPS": false,
|
| 156 |
+
"UseDualStack": true
|
| 157 |
+
}
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled",
|
| 161 |
+
"expect": {
|
| 162 |
+
"endpoint": {
|
| 163 |
+
"url": "https://api.elastic-inference.cn-north-1.amazonaws.com.cn"
|
| 164 |
+
}
|
| 165 |
+
},
|
| 166 |
+
"params": {
|
| 167 |
+
"Region": "cn-north-1",
|
| 168 |
+
"UseFIPS": false,
|
| 169 |
+
"UseDualStack": false
|
| 170 |
+
}
|
| 171 |
+
},
|
| 172 |
+
{
|
| 173 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled",
|
| 174 |
+
"expect": {
|
| 175 |
+
"endpoint": {
|
| 176 |
+
"url": "https://api.elastic-inference-fips.us-gov-east-1.api.aws"
|
| 177 |
+
}
|
| 178 |
+
},
|
| 179 |
+
"params": {
|
| 180 |
+
"Region": "us-gov-east-1",
|
| 181 |
+
"UseFIPS": true,
|
| 182 |
+
"UseDualStack": true
|
| 183 |
+
}
|
| 184 |
+
},
|
| 185 |
+
{
|
| 186 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled",
|
| 187 |
+
"expect": {
|
| 188 |
+
"endpoint": {
|
| 189 |
+
"url": "https://api.elastic-inference-fips.us-gov-east-1.amazonaws.com"
|
| 190 |
+
}
|
| 191 |
+
},
|
| 192 |
+
"params": {
|
| 193 |
+
"Region": "us-gov-east-1",
|
| 194 |
+
"UseFIPS": true,
|
| 195 |
+
"UseDualStack": false
|
| 196 |
+
}
|
| 197 |
+
},
|
| 198 |
+
{
|
| 199 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled",
|
| 200 |
+
"expect": {
|
| 201 |
+
"endpoint": {
|
| 202 |
+
"url": "https://api.elastic-inference.us-gov-east-1.api.aws"
|
| 203 |
+
}
|
| 204 |
+
},
|
| 205 |
+
"params": {
|
| 206 |
+
"Region": "us-gov-east-1",
|
| 207 |
+
"UseFIPS": false,
|
| 208 |
+
"UseDualStack": true
|
| 209 |
+
}
|
| 210 |
+
},
|
| 211 |
+
{
|
| 212 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled",
|
| 213 |
+
"expect": {
|
| 214 |
+
"endpoint": {
|
| 215 |
+
"url": "https://api.elastic-inference.us-gov-east-1.amazonaws.com"
|
| 216 |
+
}
|
| 217 |
+
},
|
| 218 |
+
"params": {
|
| 219 |
+
"Region": "us-gov-east-1",
|
| 220 |
+
"UseFIPS": false,
|
| 221 |
+
"UseDualStack": false
|
| 222 |
+
}
|
| 223 |
+
},
|
| 224 |
+
{
|
| 225 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
|
| 226 |
+
"expect": {
|
| 227 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 228 |
+
},
|
| 229 |
+
"params": {
|
| 230 |
+
"Region": "us-iso-east-1",
|
| 231 |
+
"UseFIPS": true,
|
| 232 |
+
"UseDualStack": true
|
| 233 |
+
}
|
| 234 |
+
},
|
| 235 |
+
{
|
| 236 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
|
| 237 |
+
"expect": {
|
| 238 |
+
"endpoint": {
|
| 239 |
+
"url": "https://api.elastic-inference-fips.us-iso-east-1.c2s.ic.gov"
|
| 240 |
+
}
|
| 241 |
+
},
|
| 242 |
+
"params": {
|
| 243 |
+
"Region": "us-iso-east-1",
|
| 244 |
+
"UseFIPS": true,
|
| 245 |
+
"UseDualStack": false
|
| 246 |
+
}
|
| 247 |
+
},
|
| 248 |
+
{
|
| 249 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
|
| 250 |
+
"expect": {
|
| 251 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 252 |
+
},
|
| 253 |
+
"params": {
|
| 254 |
+
"Region": "us-iso-east-1",
|
| 255 |
+
"UseFIPS": false,
|
| 256 |
+
"UseDualStack": true
|
| 257 |
+
}
|
| 258 |
+
},
|
| 259 |
+
{
|
| 260 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
|
| 261 |
+
"expect": {
|
| 262 |
+
"endpoint": {
|
| 263 |
+
"url": "https://api.elastic-inference.us-iso-east-1.c2s.ic.gov"
|
| 264 |
+
}
|
| 265 |
+
},
|
| 266 |
+
"params": {
|
| 267 |
+
"Region": "us-iso-east-1",
|
| 268 |
+
"UseFIPS": false,
|
| 269 |
+
"UseDualStack": false
|
| 270 |
+
}
|
| 271 |
+
},
|
| 272 |
+
{
|
| 273 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
|
| 274 |
+
"expect": {
|
| 275 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 276 |
+
},
|
| 277 |
+
"params": {
|
| 278 |
+
"Region": "us-isob-east-1",
|
| 279 |
+
"UseFIPS": true,
|
| 280 |
+
"UseDualStack": true
|
| 281 |
+
}
|
| 282 |
+
},
|
| 283 |
+
{
|
| 284 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
|
| 285 |
+
"expect": {
|
| 286 |
+
"endpoint": {
|
| 287 |
+
"url": "https://api.elastic-inference-fips.us-isob-east-1.sc2s.sgov.gov"
|
| 288 |
+
}
|
| 289 |
+
},
|
| 290 |
+
"params": {
|
| 291 |
+
"Region": "us-isob-east-1",
|
| 292 |
+
"UseFIPS": true,
|
| 293 |
+
"UseDualStack": false
|
| 294 |
+
}
|
| 295 |
+
},
|
| 296 |
+
{
|
| 297 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
|
| 298 |
+
"expect": {
|
| 299 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 300 |
+
},
|
| 301 |
+
"params": {
|
| 302 |
+
"Region": "us-isob-east-1",
|
| 303 |
+
"UseFIPS": false,
|
| 304 |
+
"UseDualStack": true
|
| 305 |
+
}
|
| 306 |
+
},
|
| 307 |
+
{
|
| 308 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
|
| 309 |
+
"expect": {
|
| 310 |
+
"endpoint": {
|
| 311 |
+
"url": "https://api.elastic-inference.us-isob-east-1.sc2s.sgov.gov"
|
| 312 |
+
}
|
| 313 |
+
},
|
| 314 |
+
"params": {
|
| 315 |
+
"Region": "us-isob-east-1",
|
| 316 |
+
"UseFIPS": false,
|
| 317 |
+
"UseDualStack": false
|
| 318 |
+
}
|
| 319 |
+
},
|
| 320 |
+
{
|
| 321 |
+
"documentation": "For custom endpoint with region set and fips disabled and dualstack disabled",
|
| 322 |
+
"expect": {
|
| 323 |
+
"endpoint": {
|
| 324 |
+
"url": "https://example.com"
|
| 325 |
+
}
|
| 326 |
+
},
|
| 327 |
+
"params": {
|
| 328 |
+
"Region": "us-east-1",
|
| 329 |
+
"UseFIPS": false,
|
| 330 |
+
"UseDualStack": false,
|
| 331 |
+
"Endpoint": "https://example.com"
|
| 332 |
+
}
|
| 333 |
+
},
|
| 334 |
+
{
|
| 335 |
+
"documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled",
|
| 336 |
+
"expect": {
|
| 337 |
+
"endpoint": {
|
| 338 |
+
"url": "https://example.com"
|
| 339 |
+
}
|
| 340 |
+
},
|
| 341 |
+
"params": {
|
| 342 |
+
"UseFIPS": false,
|
| 343 |
+
"UseDualStack": false,
|
| 344 |
+
"Endpoint": "https://example.com"
|
| 345 |
+
}
|
| 346 |
+
},
|
| 347 |
+
{
|
| 348 |
+
"documentation": "For custom endpoint with fips enabled and dualstack disabled",
|
| 349 |
+
"expect": {
|
| 350 |
+
"error": "Invalid Configuration: FIPS and custom endpoint are not supported"
|
| 351 |
+
},
|
| 352 |
+
"params": {
|
| 353 |
+
"Region": "us-east-1",
|
| 354 |
+
"UseFIPS": true,
|
| 355 |
+
"UseDualStack": false,
|
| 356 |
+
"Endpoint": "https://example.com"
|
| 357 |
+
}
|
| 358 |
+
},
|
| 359 |
+
{
|
| 360 |
+
"documentation": "For custom endpoint with fips disabled and dualstack enabled",
|
| 361 |
+
"expect": {
|
| 362 |
+
"error": "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
| 363 |
+
},
|
| 364 |
+
"params": {
|
| 365 |
+
"Region": "us-east-1",
|
| 366 |
+
"UseFIPS": false,
|
| 367 |
+
"UseDualStack": true,
|
| 368 |
+
"Endpoint": "https://example.com"
|
| 369 |
+
}
|
| 370 |
+
},
|
| 371 |
+
{
|
| 372 |
+
"documentation": "Missing region",
|
| 373 |
+
"expect": {
|
| 374 |
+
"error": "Invalid Configuration: Missing Region"
|
| 375 |
+
}
|
| 376 |
+
}
|
| 377 |
+
],
|
| 378 |
+
"version": "1.0"
|
| 379 |
+
}
|
testbed/boto__botocore/tests/functional/endpoint-rules/elastictranscoder/endpoint-tests-1.json
ADDED
|
@@ -0,0 +1,405 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"testCases": [
|
| 3 |
+
{
|
| 4 |
+
"documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled",
|
| 5 |
+
"expect": {
|
| 6 |
+
"endpoint": {
|
| 7 |
+
"url": "https://elastictranscoder.ap-northeast-1.amazonaws.com"
|
| 8 |
+
}
|
| 9 |
+
},
|
| 10 |
+
"params": {
|
| 11 |
+
"Region": "ap-northeast-1",
|
| 12 |
+
"UseFIPS": false,
|
| 13 |
+
"UseDualStack": false
|
| 14 |
+
}
|
| 15 |
+
},
|
| 16 |
+
{
|
| 17 |
+
"documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled",
|
| 18 |
+
"expect": {
|
| 19 |
+
"endpoint": {
|
| 20 |
+
"url": "https://elastictranscoder.ap-south-1.amazonaws.com"
|
| 21 |
+
}
|
| 22 |
+
},
|
| 23 |
+
"params": {
|
| 24 |
+
"Region": "ap-south-1",
|
| 25 |
+
"UseFIPS": false,
|
| 26 |
+
"UseDualStack": false
|
| 27 |
+
}
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled",
|
| 31 |
+
"expect": {
|
| 32 |
+
"endpoint": {
|
| 33 |
+
"url": "https://elastictranscoder.ap-southeast-1.amazonaws.com"
|
| 34 |
+
}
|
| 35 |
+
},
|
| 36 |
+
"params": {
|
| 37 |
+
"Region": "ap-southeast-1",
|
| 38 |
+
"UseFIPS": false,
|
| 39 |
+
"UseDualStack": false
|
| 40 |
+
}
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled",
|
| 44 |
+
"expect": {
|
| 45 |
+
"endpoint": {
|
| 46 |
+
"url": "https://elastictranscoder.ap-southeast-2.amazonaws.com"
|
| 47 |
+
}
|
| 48 |
+
},
|
| 49 |
+
"params": {
|
| 50 |
+
"Region": "ap-southeast-2",
|
| 51 |
+
"UseFIPS": false,
|
| 52 |
+
"UseDualStack": false
|
| 53 |
+
}
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled",
|
| 57 |
+
"expect": {
|
| 58 |
+
"endpoint": {
|
| 59 |
+
"url": "https://elastictranscoder.eu-west-1.amazonaws.com"
|
| 60 |
+
}
|
| 61 |
+
},
|
| 62 |
+
"params": {
|
| 63 |
+
"Region": "eu-west-1",
|
| 64 |
+
"UseFIPS": false,
|
| 65 |
+
"UseDualStack": false
|
| 66 |
+
}
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
|
| 70 |
+
"expect": {
|
| 71 |
+
"endpoint": {
|
| 72 |
+
"url": "https://elastictranscoder.us-east-1.amazonaws.com"
|
| 73 |
+
}
|
| 74 |
+
},
|
| 75 |
+
"params": {
|
| 76 |
+
"Region": "us-east-1",
|
| 77 |
+
"UseFIPS": false,
|
| 78 |
+
"UseDualStack": false
|
| 79 |
+
}
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"documentation": "For region us-west-1 with FIPS disabled and DualStack disabled",
|
| 83 |
+
"expect": {
|
| 84 |
+
"endpoint": {
|
| 85 |
+
"url": "https://elastictranscoder.us-west-1.amazonaws.com"
|
| 86 |
+
}
|
| 87 |
+
},
|
| 88 |
+
"params": {
|
| 89 |
+
"Region": "us-west-1",
|
| 90 |
+
"UseFIPS": false,
|
| 91 |
+
"UseDualStack": false
|
| 92 |
+
}
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"documentation": "For region us-west-2 with FIPS disabled and DualStack disabled",
|
| 96 |
+
"expect": {
|
| 97 |
+
"endpoint": {
|
| 98 |
+
"url": "https://elastictranscoder.us-west-2.amazonaws.com"
|
| 99 |
+
}
|
| 100 |
+
},
|
| 101 |
+
"params": {
|
| 102 |
+
"Region": "us-west-2",
|
| 103 |
+
"UseFIPS": false,
|
| 104 |
+
"UseDualStack": false
|
| 105 |
+
}
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
|
| 109 |
+
"expect": {
|
| 110 |
+
"endpoint": {
|
| 111 |
+
"url": "https://elastictranscoder-fips.us-east-1.api.aws"
|
| 112 |
+
}
|
| 113 |
+
},
|
| 114 |
+
"params": {
|
| 115 |
+
"Region": "us-east-1",
|
| 116 |
+
"UseFIPS": true,
|
| 117 |
+
"UseDualStack": true
|
| 118 |
+
}
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
|
| 122 |
+
"expect": {
|
| 123 |
+
"endpoint": {
|
| 124 |
+
"url": "https://elastictranscoder-fips.us-east-1.amazonaws.com"
|
| 125 |
+
}
|
| 126 |
+
},
|
| 127 |
+
"params": {
|
| 128 |
+
"Region": "us-east-1",
|
| 129 |
+
"UseFIPS": true,
|
| 130 |
+
"UseDualStack": false
|
| 131 |
+
}
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
|
| 135 |
+
"expect": {
|
| 136 |
+
"endpoint": {
|
| 137 |
+
"url": "https://elastictranscoder.us-east-1.api.aws"
|
| 138 |
+
}
|
| 139 |
+
},
|
| 140 |
+
"params": {
|
| 141 |
+
"Region": "us-east-1",
|
| 142 |
+
"UseFIPS": false,
|
| 143 |
+
"UseDualStack": true
|
| 144 |
+
}
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled",
|
| 148 |
+
"expect": {
|
| 149 |
+
"endpoint": {
|
| 150 |
+
"url": "https://elastictranscoder-fips.cn-north-1.api.amazonwebservices.com.cn"
|
| 151 |
+
}
|
| 152 |
+
},
|
| 153 |
+
"params": {
|
| 154 |
+
"Region": "cn-north-1",
|
| 155 |
+
"UseFIPS": true,
|
| 156 |
+
"UseDualStack": true
|
| 157 |
+
}
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled",
|
| 161 |
+
"expect": {
|
| 162 |
+
"endpoint": {
|
| 163 |
+
"url": "https://elastictranscoder-fips.cn-north-1.amazonaws.com.cn"
|
| 164 |
+
}
|
| 165 |
+
},
|
| 166 |
+
"params": {
|
| 167 |
+
"Region": "cn-north-1",
|
| 168 |
+
"UseFIPS": true,
|
| 169 |
+
"UseDualStack": false
|
| 170 |
+
}
|
| 171 |
+
},
|
| 172 |
+
{
|
| 173 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled",
|
| 174 |
+
"expect": {
|
| 175 |
+
"endpoint": {
|
| 176 |
+
"url": "https://elastictranscoder.cn-north-1.api.amazonwebservices.com.cn"
|
| 177 |
+
}
|
| 178 |
+
},
|
| 179 |
+
"params": {
|
| 180 |
+
"Region": "cn-north-1",
|
| 181 |
+
"UseFIPS": false,
|
| 182 |
+
"UseDualStack": true
|
| 183 |
+
}
|
| 184 |
+
},
|
| 185 |
+
{
|
| 186 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled",
|
| 187 |
+
"expect": {
|
| 188 |
+
"endpoint": {
|
| 189 |
+
"url": "https://elastictranscoder.cn-north-1.amazonaws.com.cn"
|
| 190 |
+
}
|
| 191 |
+
},
|
| 192 |
+
"params": {
|
| 193 |
+
"Region": "cn-north-1",
|
| 194 |
+
"UseFIPS": false,
|
| 195 |
+
"UseDualStack": false
|
| 196 |
+
}
|
| 197 |
+
},
|
| 198 |
+
{
|
| 199 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled",
|
| 200 |
+
"expect": {
|
| 201 |
+
"endpoint": {
|
| 202 |
+
"url": "https://elastictranscoder-fips.us-gov-east-1.api.aws"
|
| 203 |
+
}
|
| 204 |
+
},
|
| 205 |
+
"params": {
|
| 206 |
+
"Region": "us-gov-east-1",
|
| 207 |
+
"UseFIPS": true,
|
| 208 |
+
"UseDualStack": true
|
| 209 |
+
}
|
| 210 |
+
},
|
| 211 |
+
{
|
| 212 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled",
|
| 213 |
+
"expect": {
|
| 214 |
+
"endpoint": {
|
| 215 |
+
"url": "https://elastictranscoder-fips.us-gov-east-1.amazonaws.com"
|
| 216 |
+
}
|
| 217 |
+
},
|
| 218 |
+
"params": {
|
| 219 |
+
"Region": "us-gov-east-1",
|
| 220 |
+
"UseFIPS": true,
|
| 221 |
+
"UseDualStack": false
|
| 222 |
+
}
|
| 223 |
+
},
|
| 224 |
+
{
|
| 225 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled",
|
| 226 |
+
"expect": {
|
| 227 |
+
"endpoint": {
|
| 228 |
+
"url": "https://elastictranscoder.us-gov-east-1.api.aws"
|
| 229 |
+
}
|
| 230 |
+
},
|
| 231 |
+
"params": {
|
| 232 |
+
"Region": "us-gov-east-1",
|
| 233 |
+
"UseFIPS": false,
|
| 234 |
+
"UseDualStack": true
|
| 235 |
+
}
|
| 236 |
+
},
|
| 237 |
+
{
|
| 238 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled",
|
| 239 |
+
"expect": {
|
| 240 |
+
"endpoint": {
|
| 241 |
+
"url": "https://elastictranscoder.us-gov-east-1.amazonaws.com"
|
| 242 |
+
}
|
| 243 |
+
},
|
| 244 |
+
"params": {
|
| 245 |
+
"Region": "us-gov-east-1",
|
| 246 |
+
"UseFIPS": false,
|
| 247 |
+
"UseDualStack": false
|
| 248 |
+
}
|
| 249 |
+
},
|
| 250 |
+
{
|
| 251 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
|
| 252 |
+
"expect": {
|
| 253 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 254 |
+
},
|
| 255 |
+
"params": {
|
| 256 |
+
"Region": "us-iso-east-1",
|
| 257 |
+
"UseFIPS": true,
|
| 258 |
+
"UseDualStack": true
|
| 259 |
+
}
|
| 260 |
+
},
|
| 261 |
+
{
|
| 262 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
|
| 263 |
+
"expect": {
|
| 264 |
+
"endpoint": {
|
| 265 |
+
"url": "https://elastictranscoder-fips.us-iso-east-1.c2s.ic.gov"
|
| 266 |
+
}
|
| 267 |
+
},
|
| 268 |
+
"params": {
|
| 269 |
+
"Region": "us-iso-east-1",
|
| 270 |
+
"UseFIPS": true,
|
| 271 |
+
"UseDualStack": false
|
| 272 |
+
}
|
| 273 |
+
},
|
| 274 |
+
{
|
| 275 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
|
| 276 |
+
"expect": {
|
| 277 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 278 |
+
},
|
| 279 |
+
"params": {
|
| 280 |
+
"Region": "us-iso-east-1",
|
| 281 |
+
"UseFIPS": false,
|
| 282 |
+
"UseDualStack": true
|
| 283 |
+
}
|
| 284 |
+
},
|
| 285 |
+
{
|
| 286 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
|
| 287 |
+
"expect": {
|
| 288 |
+
"endpoint": {
|
| 289 |
+
"url": "https://elastictranscoder.us-iso-east-1.c2s.ic.gov"
|
| 290 |
+
}
|
| 291 |
+
},
|
| 292 |
+
"params": {
|
| 293 |
+
"Region": "us-iso-east-1",
|
| 294 |
+
"UseFIPS": false,
|
| 295 |
+
"UseDualStack": false
|
| 296 |
+
}
|
| 297 |
+
},
|
| 298 |
+
{
|
| 299 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
|
| 300 |
+
"expect": {
|
| 301 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 302 |
+
},
|
| 303 |
+
"params": {
|
| 304 |
+
"Region": "us-isob-east-1",
|
| 305 |
+
"UseFIPS": true,
|
| 306 |
+
"UseDualStack": true
|
| 307 |
+
}
|
| 308 |
+
},
|
| 309 |
+
{
|
| 310 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
|
| 311 |
+
"expect": {
|
| 312 |
+
"endpoint": {
|
| 313 |
+
"url": "https://elastictranscoder-fips.us-isob-east-1.sc2s.sgov.gov"
|
| 314 |
+
}
|
| 315 |
+
},
|
| 316 |
+
"params": {
|
| 317 |
+
"Region": "us-isob-east-1",
|
| 318 |
+
"UseFIPS": true,
|
| 319 |
+
"UseDualStack": false
|
| 320 |
+
}
|
| 321 |
+
},
|
| 322 |
+
{
|
| 323 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
|
| 324 |
+
"expect": {
|
| 325 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 326 |
+
},
|
| 327 |
+
"params": {
|
| 328 |
+
"Region": "us-isob-east-1",
|
| 329 |
+
"UseFIPS": false,
|
| 330 |
+
"UseDualStack": true
|
| 331 |
+
}
|
| 332 |
+
},
|
| 333 |
+
{
|
| 334 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
|
| 335 |
+
"expect": {
|
| 336 |
+
"endpoint": {
|
| 337 |
+
"url": "https://elastictranscoder.us-isob-east-1.sc2s.sgov.gov"
|
| 338 |
+
}
|
| 339 |
+
},
|
| 340 |
+
"params": {
|
| 341 |
+
"Region": "us-isob-east-1",
|
| 342 |
+
"UseFIPS": false,
|
| 343 |
+
"UseDualStack": false
|
| 344 |
+
}
|
| 345 |
+
},
|
| 346 |
+
{
|
| 347 |
+
"documentation": "For custom endpoint with region set and fips disabled and dualstack disabled",
|
| 348 |
+
"expect": {
|
| 349 |
+
"endpoint": {
|
| 350 |
+
"url": "https://example.com"
|
| 351 |
+
}
|
| 352 |
+
},
|
| 353 |
+
"params": {
|
| 354 |
+
"Region": "us-east-1",
|
| 355 |
+
"UseFIPS": false,
|
| 356 |
+
"UseDualStack": false,
|
| 357 |
+
"Endpoint": "https://example.com"
|
| 358 |
+
}
|
| 359 |
+
},
|
| 360 |
+
{
|
| 361 |
+
"documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled",
|
| 362 |
+
"expect": {
|
| 363 |
+
"endpoint": {
|
| 364 |
+
"url": "https://example.com"
|
| 365 |
+
}
|
| 366 |
+
},
|
| 367 |
+
"params": {
|
| 368 |
+
"UseFIPS": false,
|
| 369 |
+
"UseDualStack": false,
|
| 370 |
+
"Endpoint": "https://example.com"
|
| 371 |
+
}
|
| 372 |
+
},
|
| 373 |
+
{
|
| 374 |
+
"documentation": "For custom endpoint with fips enabled and dualstack disabled",
|
| 375 |
+
"expect": {
|
| 376 |
+
"error": "Invalid Configuration: FIPS and custom endpoint are not supported"
|
| 377 |
+
},
|
| 378 |
+
"params": {
|
| 379 |
+
"Region": "us-east-1",
|
| 380 |
+
"UseFIPS": true,
|
| 381 |
+
"UseDualStack": false,
|
| 382 |
+
"Endpoint": "https://example.com"
|
| 383 |
+
}
|
| 384 |
+
},
|
| 385 |
+
{
|
| 386 |
+
"documentation": "For custom endpoint with fips disabled and dualstack enabled",
|
| 387 |
+
"expect": {
|
| 388 |
+
"error": "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
| 389 |
+
},
|
| 390 |
+
"params": {
|
| 391 |
+
"Region": "us-east-1",
|
| 392 |
+
"UseFIPS": false,
|
| 393 |
+
"UseDualStack": true,
|
| 394 |
+
"Endpoint": "https://example.com"
|
| 395 |
+
}
|
| 396 |
+
},
|
| 397 |
+
{
|
| 398 |
+
"documentation": "Missing region",
|
| 399 |
+
"expect": {
|
| 400 |
+
"error": "Invalid Configuration: Missing Region"
|
| 401 |
+
}
|
| 402 |
+
}
|
| 403 |
+
],
|
| 404 |
+
"version": "1.0"
|
| 405 |
+
}
|
testbed/boto__botocore/tests/functional/endpoint-rules/freetier/endpoint-tests-1.json
ADDED
|
@@ -0,0 +1,170 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"testCases": [
|
| 3 |
+
{
|
| 4 |
+
"documentation": "For region aws-global with FIPS disabled and DualStack enabled",
|
| 5 |
+
"expect": {
|
| 6 |
+
"endpoint": {
|
| 7 |
+
"properties": {
|
| 8 |
+
"authSchemes": [
|
| 9 |
+
{
|
| 10 |
+
"name": "sigv4",
|
| 11 |
+
"signingName": "freetier",
|
| 12 |
+
"signingRegion": "us-east-1"
|
| 13 |
+
}
|
| 14 |
+
]
|
| 15 |
+
},
|
| 16 |
+
"url": "https://freetier.us-east-1.api.aws"
|
| 17 |
+
}
|
| 18 |
+
},
|
| 19 |
+
"params": {
|
| 20 |
+
"Region": "aws-global",
|
| 21 |
+
"UseFIPS": false
|
| 22 |
+
}
|
| 23 |
+
},
|
| 24 |
+
{
|
| 25 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
|
| 26 |
+
"expect": {
|
| 27 |
+
"endpoint": {
|
| 28 |
+
"url": "https://freetier-fips.us-east-1.api.aws"
|
| 29 |
+
}
|
| 30 |
+
},
|
| 31 |
+
"params": {
|
| 32 |
+
"Region": "us-east-1",
|
| 33 |
+
"UseFIPS": true
|
| 34 |
+
}
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
|
| 38 |
+
"expect": {
|
| 39 |
+
"endpoint": {
|
| 40 |
+
"properties": {
|
| 41 |
+
"authSchemes": [
|
| 42 |
+
{
|
| 43 |
+
"name": "sigv4",
|
| 44 |
+
"signingName": "freetier",
|
| 45 |
+
"signingRegion": "us-east-1"
|
| 46 |
+
}
|
| 47 |
+
]
|
| 48 |
+
},
|
| 49 |
+
"url": "https://freetier.us-east-1.api.aws"
|
| 50 |
+
}
|
| 51 |
+
},
|
| 52 |
+
"params": {
|
| 53 |
+
"Region": "us-east-1",
|
| 54 |
+
"UseFIPS": false
|
| 55 |
+
}
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"documentation": "For region aws-cn-global with FIPS disabled and DualStack enabled",
|
| 59 |
+
"expect": {
|
| 60 |
+
"endpoint": {
|
| 61 |
+
"properties": {
|
| 62 |
+
"authSchemes": [
|
| 63 |
+
{
|
| 64 |
+
"name": "sigv4",
|
| 65 |
+
"signingName": "freetier",
|
| 66 |
+
"signingRegion": "cn-northwest-1"
|
| 67 |
+
}
|
| 68 |
+
]
|
| 69 |
+
},
|
| 70 |
+
"url": "https://freetier.cn-northwest-1.api.amazonwebservices.com.cn"
|
| 71 |
+
}
|
| 72 |
+
},
|
| 73 |
+
"params": {
|
| 74 |
+
"Region": "aws-cn-global",
|
| 75 |
+
"UseFIPS": false
|
| 76 |
+
}
|
| 77 |
+
},
|
| 78 |
+
{
|
| 79 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled",
|
| 80 |
+
"expect": {
|
| 81 |
+
"endpoint": {
|
| 82 |
+
"url": "https://freetier-fips.cn-north-1.api.amazonwebservices.com.cn"
|
| 83 |
+
}
|
| 84 |
+
},
|
| 85 |
+
"params": {
|
| 86 |
+
"Region": "cn-north-1",
|
| 87 |
+
"UseFIPS": true
|
| 88 |
+
}
|
| 89 |
+
},
|
| 90 |
+
{
|
| 91 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled",
|
| 92 |
+
"expect": {
|
| 93 |
+
"endpoint": {
|
| 94 |
+
"url": "https://freetier.cn-north-1.api.amazonwebservices.com.cn"
|
| 95 |
+
}
|
| 96 |
+
},
|
| 97 |
+
"params": {
|
| 98 |
+
"Region": "cn-north-1",
|
| 99 |
+
"UseFIPS": false
|
| 100 |
+
}
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled",
|
| 104 |
+
"expect": {
|
| 105 |
+
"endpoint": {
|
| 106 |
+
"url": "https://freetier-fips.us-gov-east-1.api.aws"
|
| 107 |
+
}
|
| 108 |
+
},
|
| 109 |
+
"params": {
|
| 110 |
+
"Region": "us-gov-east-1",
|
| 111 |
+
"UseFIPS": true
|
| 112 |
+
}
|
| 113 |
+
},
|
| 114 |
+
{
|
| 115 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled",
|
| 116 |
+
"expect": {
|
| 117 |
+
"endpoint": {
|
| 118 |
+
"url": "https://freetier.us-gov-east-1.api.aws"
|
| 119 |
+
}
|
| 120 |
+
},
|
| 121 |
+
"params": {
|
| 122 |
+
"Region": "us-gov-east-1",
|
| 123 |
+
"UseFIPS": false
|
| 124 |
+
}
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"documentation": "For custom endpoint with region set and fips disabled and dualstack disabled",
|
| 128 |
+
"expect": {
|
| 129 |
+
"endpoint": {
|
| 130 |
+
"url": "https://example.com"
|
| 131 |
+
}
|
| 132 |
+
},
|
| 133 |
+
"params": {
|
| 134 |
+
"Region": "us-east-1",
|
| 135 |
+
"UseFIPS": false,
|
| 136 |
+
"Endpoint": "https://example.com"
|
| 137 |
+
}
|
| 138 |
+
},
|
| 139 |
+
{
|
| 140 |
+
"documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled",
|
| 141 |
+
"expect": {
|
| 142 |
+
"endpoint": {
|
| 143 |
+
"url": "https://example.com"
|
| 144 |
+
}
|
| 145 |
+
},
|
| 146 |
+
"params": {
|
| 147 |
+
"UseFIPS": false,
|
| 148 |
+
"Endpoint": "https://example.com"
|
| 149 |
+
}
|
| 150 |
+
},
|
| 151 |
+
{
|
| 152 |
+
"documentation": "For custom endpoint with fips enabled and dualstack disabled",
|
| 153 |
+
"expect": {
|
| 154 |
+
"error": "Invalid Configuration: FIPS and custom endpoint are not supported"
|
| 155 |
+
},
|
| 156 |
+
"params": {
|
| 157 |
+
"Region": "us-east-1",
|
| 158 |
+
"UseFIPS": true,
|
| 159 |
+
"Endpoint": "https://example.com"
|
| 160 |
+
}
|
| 161 |
+
},
|
| 162 |
+
{
|
| 163 |
+
"documentation": "Missing region",
|
| 164 |
+
"expect": {
|
| 165 |
+
"error": "Invalid Configuration: Missing Region"
|
| 166 |
+
}
|
| 167 |
+
}
|
| 168 |
+
],
|
| 169 |
+
"version": "1.0"
|
| 170 |
+
}
|
testbed/boto__botocore/tests/functional/endpoint-rules/inspector-scan/endpoint-tests-1.json
ADDED
|
@@ -0,0 +1,314 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"testCases": [
|
| 3 |
+
{
|
| 4 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
|
| 5 |
+
"expect": {
|
| 6 |
+
"endpoint": {
|
| 7 |
+
"url": "https://inspector-scan-fips.us-east-1.api.aws"
|
| 8 |
+
}
|
| 9 |
+
},
|
| 10 |
+
"params": {
|
| 11 |
+
"Region": "us-east-1",
|
| 12 |
+
"UseFIPS": true,
|
| 13 |
+
"UseDualStack": true
|
| 14 |
+
}
|
| 15 |
+
},
|
| 16 |
+
{
|
| 17 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
|
| 18 |
+
"expect": {
|
| 19 |
+
"endpoint": {
|
| 20 |
+
"url": "https://inspector-scan-fips.us-east-1.amazonaws.com"
|
| 21 |
+
}
|
| 22 |
+
},
|
| 23 |
+
"params": {
|
| 24 |
+
"Region": "us-east-1",
|
| 25 |
+
"UseFIPS": true,
|
| 26 |
+
"UseDualStack": false
|
| 27 |
+
}
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
|
| 31 |
+
"expect": {
|
| 32 |
+
"endpoint": {
|
| 33 |
+
"url": "https://inspector-scan.us-east-1.api.aws"
|
| 34 |
+
}
|
| 35 |
+
},
|
| 36 |
+
"params": {
|
| 37 |
+
"Region": "us-east-1",
|
| 38 |
+
"UseFIPS": false,
|
| 39 |
+
"UseDualStack": true
|
| 40 |
+
}
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
|
| 44 |
+
"expect": {
|
| 45 |
+
"endpoint": {
|
| 46 |
+
"url": "https://inspector-scan.us-east-1.amazonaws.com"
|
| 47 |
+
}
|
| 48 |
+
},
|
| 49 |
+
"params": {
|
| 50 |
+
"Region": "us-east-1",
|
| 51 |
+
"UseFIPS": false,
|
| 52 |
+
"UseDualStack": false
|
| 53 |
+
}
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled",
|
| 57 |
+
"expect": {
|
| 58 |
+
"endpoint": {
|
| 59 |
+
"url": "https://inspector-scan-fips.cn-north-1.api.amazonwebservices.com.cn"
|
| 60 |
+
}
|
| 61 |
+
},
|
| 62 |
+
"params": {
|
| 63 |
+
"Region": "cn-north-1",
|
| 64 |
+
"UseFIPS": true,
|
| 65 |
+
"UseDualStack": true
|
| 66 |
+
}
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled",
|
| 70 |
+
"expect": {
|
| 71 |
+
"endpoint": {
|
| 72 |
+
"url": "https://inspector-scan-fips.cn-north-1.amazonaws.com.cn"
|
| 73 |
+
}
|
| 74 |
+
},
|
| 75 |
+
"params": {
|
| 76 |
+
"Region": "cn-north-1",
|
| 77 |
+
"UseFIPS": true,
|
| 78 |
+
"UseDualStack": false
|
| 79 |
+
}
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled",
|
| 83 |
+
"expect": {
|
| 84 |
+
"endpoint": {
|
| 85 |
+
"url": "https://inspector-scan.cn-north-1.api.amazonwebservices.com.cn"
|
| 86 |
+
}
|
| 87 |
+
},
|
| 88 |
+
"params": {
|
| 89 |
+
"Region": "cn-north-1",
|
| 90 |
+
"UseFIPS": false,
|
| 91 |
+
"UseDualStack": true
|
| 92 |
+
}
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled",
|
| 96 |
+
"expect": {
|
| 97 |
+
"endpoint": {
|
| 98 |
+
"url": "https://inspector-scan.cn-north-1.amazonaws.com.cn"
|
| 99 |
+
}
|
| 100 |
+
},
|
| 101 |
+
"params": {
|
| 102 |
+
"Region": "cn-north-1",
|
| 103 |
+
"UseFIPS": false,
|
| 104 |
+
"UseDualStack": false
|
| 105 |
+
}
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled",
|
| 109 |
+
"expect": {
|
| 110 |
+
"endpoint": {
|
| 111 |
+
"url": "https://inspector-scan-fips.us-gov-east-1.api.aws"
|
| 112 |
+
}
|
| 113 |
+
},
|
| 114 |
+
"params": {
|
| 115 |
+
"Region": "us-gov-east-1",
|
| 116 |
+
"UseFIPS": true,
|
| 117 |
+
"UseDualStack": true
|
| 118 |
+
}
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled",
|
| 122 |
+
"expect": {
|
| 123 |
+
"endpoint": {
|
| 124 |
+
"url": "https://inspector-scan-fips.us-gov-east-1.amazonaws.com"
|
| 125 |
+
}
|
| 126 |
+
},
|
| 127 |
+
"params": {
|
| 128 |
+
"Region": "us-gov-east-1",
|
| 129 |
+
"UseFIPS": true,
|
| 130 |
+
"UseDualStack": false
|
| 131 |
+
}
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled",
|
| 135 |
+
"expect": {
|
| 136 |
+
"endpoint": {
|
| 137 |
+
"url": "https://inspector-scan.us-gov-east-1.api.aws"
|
| 138 |
+
}
|
| 139 |
+
},
|
| 140 |
+
"params": {
|
| 141 |
+
"Region": "us-gov-east-1",
|
| 142 |
+
"UseFIPS": false,
|
| 143 |
+
"UseDualStack": true
|
| 144 |
+
}
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled",
|
| 148 |
+
"expect": {
|
| 149 |
+
"endpoint": {
|
| 150 |
+
"url": "https://inspector-scan.us-gov-east-1.amazonaws.com"
|
| 151 |
+
}
|
| 152 |
+
},
|
| 153 |
+
"params": {
|
| 154 |
+
"Region": "us-gov-east-1",
|
| 155 |
+
"UseFIPS": false,
|
| 156 |
+
"UseDualStack": false
|
| 157 |
+
}
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
|
| 161 |
+
"expect": {
|
| 162 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 163 |
+
},
|
| 164 |
+
"params": {
|
| 165 |
+
"Region": "us-iso-east-1",
|
| 166 |
+
"UseFIPS": true,
|
| 167 |
+
"UseDualStack": true
|
| 168 |
+
}
|
| 169 |
+
},
|
| 170 |
+
{
|
| 171 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
|
| 172 |
+
"expect": {
|
| 173 |
+
"endpoint": {
|
| 174 |
+
"url": "https://inspector-scan-fips.us-iso-east-1.c2s.ic.gov"
|
| 175 |
+
}
|
| 176 |
+
},
|
| 177 |
+
"params": {
|
| 178 |
+
"Region": "us-iso-east-1",
|
| 179 |
+
"UseFIPS": true,
|
| 180 |
+
"UseDualStack": false
|
| 181 |
+
}
|
| 182 |
+
},
|
| 183 |
+
{
|
| 184 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
|
| 185 |
+
"expect": {
|
| 186 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 187 |
+
},
|
| 188 |
+
"params": {
|
| 189 |
+
"Region": "us-iso-east-1",
|
| 190 |
+
"UseFIPS": false,
|
| 191 |
+
"UseDualStack": true
|
| 192 |
+
}
|
| 193 |
+
},
|
| 194 |
+
{
|
| 195 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
|
| 196 |
+
"expect": {
|
| 197 |
+
"endpoint": {
|
| 198 |
+
"url": "https://inspector-scan.us-iso-east-1.c2s.ic.gov"
|
| 199 |
+
}
|
| 200 |
+
},
|
| 201 |
+
"params": {
|
| 202 |
+
"Region": "us-iso-east-1",
|
| 203 |
+
"UseFIPS": false,
|
| 204 |
+
"UseDualStack": false
|
| 205 |
+
}
|
| 206 |
+
},
|
| 207 |
+
{
|
| 208 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
|
| 209 |
+
"expect": {
|
| 210 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 211 |
+
},
|
| 212 |
+
"params": {
|
| 213 |
+
"Region": "us-isob-east-1",
|
| 214 |
+
"UseFIPS": true,
|
| 215 |
+
"UseDualStack": true
|
| 216 |
+
}
|
| 217 |
+
},
|
| 218 |
+
{
|
| 219 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
|
| 220 |
+
"expect": {
|
| 221 |
+
"endpoint": {
|
| 222 |
+
"url": "https://inspector-scan-fips.us-isob-east-1.sc2s.sgov.gov"
|
| 223 |
+
}
|
| 224 |
+
},
|
| 225 |
+
"params": {
|
| 226 |
+
"Region": "us-isob-east-1",
|
| 227 |
+
"UseFIPS": true,
|
| 228 |
+
"UseDualStack": false
|
| 229 |
+
}
|
| 230 |
+
},
|
| 231 |
+
{
|
| 232 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
|
| 233 |
+
"expect": {
|
| 234 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 235 |
+
},
|
| 236 |
+
"params": {
|
| 237 |
+
"Region": "us-isob-east-1",
|
| 238 |
+
"UseFIPS": false,
|
| 239 |
+
"UseDualStack": true
|
| 240 |
+
}
|
| 241 |
+
},
|
| 242 |
+
{
|
| 243 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
|
| 244 |
+
"expect": {
|
| 245 |
+
"endpoint": {
|
| 246 |
+
"url": "https://inspector-scan.us-isob-east-1.sc2s.sgov.gov"
|
| 247 |
+
}
|
| 248 |
+
},
|
| 249 |
+
"params": {
|
| 250 |
+
"Region": "us-isob-east-1",
|
| 251 |
+
"UseFIPS": false,
|
| 252 |
+
"UseDualStack": false
|
| 253 |
+
}
|
| 254 |
+
},
|
| 255 |
+
{
|
| 256 |
+
"documentation": "For custom endpoint with region set and fips disabled and dualstack disabled",
|
| 257 |
+
"expect": {
|
| 258 |
+
"endpoint": {
|
| 259 |
+
"url": "https://example.com"
|
| 260 |
+
}
|
| 261 |
+
},
|
| 262 |
+
"params": {
|
| 263 |
+
"Region": "us-east-1",
|
| 264 |
+
"UseFIPS": false,
|
| 265 |
+
"UseDualStack": false,
|
| 266 |
+
"Endpoint": "https://example.com"
|
| 267 |
+
}
|
| 268 |
+
},
|
| 269 |
+
{
|
| 270 |
+
"documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled",
|
| 271 |
+
"expect": {
|
| 272 |
+
"endpoint": {
|
| 273 |
+
"url": "https://example.com"
|
| 274 |
+
}
|
| 275 |
+
},
|
| 276 |
+
"params": {
|
| 277 |
+
"UseFIPS": false,
|
| 278 |
+
"UseDualStack": false,
|
| 279 |
+
"Endpoint": "https://example.com"
|
| 280 |
+
}
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"documentation": "For custom endpoint with fips enabled and dualstack disabled",
|
| 284 |
+
"expect": {
|
| 285 |
+
"error": "Invalid Configuration: FIPS and custom endpoint are not supported"
|
| 286 |
+
},
|
| 287 |
+
"params": {
|
| 288 |
+
"Region": "us-east-1",
|
| 289 |
+
"UseFIPS": true,
|
| 290 |
+
"UseDualStack": false,
|
| 291 |
+
"Endpoint": "https://example.com"
|
| 292 |
+
}
|
| 293 |
+
},
|
| 294 |
+
{
|
| 295 |
+
"documentation": "For custom endpoint with fips disabled and dualstack enabled",
|
| 296 |
+
"expect": {
|
| 297 |
+
"error": "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
| 298 |
+
},
|
| 299 |
+
"params": {
|
| 300 |
+
"Region": "us-east-1",
|
| 301 |
+
"UseFIPS": false,
|
| 302 |
+
"UseDualStack": true,
|
| 303 |
+
"Endpoint": "https://example.com"
|
| 304 |
+
}
|
| 305 |
+
},
|
| 306 |
+
{
|
| 307 |
+
"documentation": "Missing region",
|
| 308 |
+
"expect": {
|
| 309 |
+
"error": "Invalid Configuration: Missing Region"
|
| 310 |
+
}
|
| 311 |
+
}
|
| 312 |
+
],
|
| 313 |
+
"version": "1.0"
|
| 314 |
+
}
|
testbed/boto__botocore/tests/functional/endpoint-rules/iot1click-devices/endpoint-tests-1.json
ADDED
|
@@ -0,0 +1,314 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"testCases": [
|
| 3 |
+
{
|
| 4 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
|
| 5 |
+
"expect": {
|
| 6 |
+
"endpoint": {
|
| 7 |
+
"url": "https://devices.iot1click-fips.us-east-1.api.aws"
|
| 8 |
+
}
|
| 9 |
+
},
|
| 10 |
+
"params": {
|
| 11 |
+
"Region": "us-east-1",
|
| 12 |
+
"UseFIPS": true,
|
| 13 |
+
"UseDualStack": true
|
| 14 |
+
}
|
| 15 |
+
},
|
| 16 |
+
{
|
| 17 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
|
| 18 |
+
"expect": {
|
| 19 |
+
"endpoint": {
|
| 20 |
+
"url": "https://devices.iot1click-fips.us-east-1.amazonaws.com"
|
| 21 |
+
}
|
| 22 |
+
},
|
| 23 |
+
"params": {
|
| 24 |
+
"Region": "us-east-1",
|
| 25 |
+
"UseFIPS": true,
|
| 26 |
+
"UseDualStack": false
|
| 27 |
+
}
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
|
| 31 |
+
"expect": {
|
| 32 |
+
"endpoint": {
|
| 33 |
+
"url": "https://devices.iot1click.us-east-1.api.aws"
|
| 34 |
+
}
|
| 35 |
+
},
|
| 36 |
+
"params": {
|
| 37 |
+
"Region": "us-east-1",
|
| 38 |
+
"UseFIPS": false,
|
| 39 |
+
"UseDualStack": true
|
| 40 |
+
}
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
|
| 44 |
+
"expect": {
|
| 45 |
+
"endpoint": {
|
| 46 |
+
"url": "https://devices.iot1click.us-east-1.amazonaws.com"
|
| 47 |
+
}
|
| 48 |
+
},
|
| 49 |
+
"params": {
|
| 50 |
+
"Region": "us-east-1",
|
| 51 |
+
"UseFIPS": false,
|
| 52 |
+
"UseDualStack": false
|
| 53 |
+
}
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled",
|
| 57 |
+
"expect": {
|
| 58 |
+
"endpoint": {
|
| 59 |
+
"url": "https://devices.iot1click-fips.cn-north-1.api.amazonwebservices.com.cn"
|
| 60 |
+
}
|
| 61 |
+
},
|
| 62 |
+
"params": {
|
| 63 |
+
"Region": "cn-north-1",
|
| 64 |
+
"UseFIPS": true,
|
| 65 |
+
"UseDualStack": true
|
| 66 |
+
}
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled",
|
| 70 |
+
"expect": {
|
| 71 |
+
"endpoint": {
|
| 72 |
+
"url": "https://devices.iot1click-fips.cn-north-1.amazonaws.com.cn"
|
| 73 |
+
}
|
| 74 |
+
},
|
| 75 |
+
"params": {
|
| 76 |
+
"Region": "cn-north-1",
|
| 77 |
+
"UseFIPS": true,
|
| 78 |
+
"UseDualStack": false
|
| 79 |
+
}
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled",
|
| 83 |
+
"expect": {
|
| 84 |
+
"endpoint": {
|
| 85 |
+
"url": "https://devices.iot1click.cn-north-1.api.amazonwebservices.com.cn"
|
| 86 |
+
}
|
| 87 |
+
},
|
| 88 |
+
"params": {
|
| 89 |
+
"Region": "cn-north-1",
|
| 90 |
+
"UseFIPS": false,
|
| 91 |
+
"UseDualStack": true
|
| 92 |
+
}
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled",
|
| 96 |
+
"expect": {
|
| 97 |
+
"endpoint": {
|
| 98 |
+
"url": "https://devices.iot1click.cn-north-1.amazonaws.com.cn"
|
| 99 |
+
}
|
| 100 |
+
},
|
| 101 |
+
"params": {
|
| 102 |
+
"Region": "cn-north-1",
|
| 103 |
+
"UseFIPS": false,
|
| 104 |
+
"UseDualStack": false
|
| 105 |
+
}
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled",
|
| 109 |
+
"expect": {
|
| 110 |
+
"endpoint": {
|
| 111 |
+
"url": "https://devices.iot1click-fips.us-gov-east-1.api.aws"
|
| 112 |
+
}
|
| 113 |
+
},
|
| 114 |
+
"params": {
|
| 115 |
+
"Region": "us-gov-east-1",
|
| 116 |
+
"UseFIPS": true,
|
| 117 |
+
"UseDualStack": true
|
| 118 |
+
}
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled",
|
| 122 |
+
"expect": {
|
| 123 |
+
"endpoint": {
|
| 124 |
+
"url": "https://devices.iot1click-fips.us-gov-east-1.amazonaws.com"
|
| 125 |
+
}
|
| 126 |
+
},
|
| 127 |
+
"params": {
|
| 128 |
+
"Region": "us-gov-east-1",
|
| 129 |
+
"UseFIPS": true,
|
| 130 |
+
"UseDualStack": false
|
| 131 |
+
}
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled",
|
| 135 |
+
"expect": {
|
| 136 |
+
"endpoint": {
|
| 137 |
+
"url": "https://devices.iot1click.us-gov-east-1.api.aws"
|
| 138 |
+
}
|
| 139 |
+
},
|
| 140 |
+
"params": {
|
| 141 |
+
"Region": "us-gov-east-1",
|
| 142 |
+
"UseFIPS": false,
|
| 143 |
+
"UseDualStack": true
|
| 144 |
+
}
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled",
|
| 148 |
+
"expect": {
|
| 149 |
+
"endpoint": {
|
| 150 |
+
"url": "https://devices.iot1click.us-gov-east-1.amazonaws.com"
|
| 151 |
+
}
|
| 152 |
+
},
|
| 153 |
+
"params": {
|
| 154 |
+
"Region": "us-gov-east-1",
|
| 155 |
+
"UseFIPS": false,
|
| 156 |
+
"UseDualStack": false
|
| 157 |
+
}
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
|
| 161 |
+
"expect": {
|
| 162 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 163 |
+
},
|
| 164 |
+
"params": {
|
| 165 |
+
"Region": "us-iso-east-1",
|
| 166 |
+
"UseFIPS": true,
|
| 167 |
+
"UseDualStack": true
|
| 168 |
+
}
|
| 169 |
+
},
|
| 170 |
+
{
|
| 171 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
|
| 172 |
+
"expect": {
|
| 173 |
+
"endpoint": {
|
| 174 |
+
"url": "https://devices.iot1click-fips.us-iso-east-1.c2s.ic.gov"
|
| 175 |
+
}
|
| 176 |
+
},
|
| 177 |
+
"params": {
|
| 178 |
+
"Region": "us-iso-east-1",
|
| 179 |
+
"UseFIPS": true,
|
| 180 |
+
"UseDualStack": false
|
| 181 |
+
}
|
| 182 |
+
},
|
| 183 |
+
{
|
| 184 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
|
| 185 |
+
"expect": {
|
| 186 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 187 |
+
},
|
| 188 |
+
"params": {
|
| 189 |
+
"Region": "us-iso-east-1",
|
| 190 |
+
"UseFIPS": false,
|
| 191 |
+
"UseDualStack": true
|
| 192 |
+
}
|
| 193 |
+
},
|
| 194 |
+
{
|
| 195 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
|
| 196 |
+
"expect": {
|
| 197 |
+
"endpoint": {
|
| 198 |
+
"url": "https://devices.iot1click.us-iso-east-1.c2s.ic.gov"
|
| 199 |
+
}
|
| 200 |
+
},
|
| 201 |
+
"params": {
|
| 202 |
+
"Region": "us-iso-east-1",
|
| 203 |
+
"UseFIPS": false,
|
| 204 |
+
"UseDualStack": false
|
| 205 |
+
}
|
| 206 |
+
},
|
| 207 |
+
{
|
| 208 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
|
| 209 |
+
"expect": {
|
| 210 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 211 |
+
},
|
| 212 |
+
"params": {
|
| 213 |
+
"Region": "us-isob-east-1",
|
| 214 |
+
"UseFIPS": true,
|
| 215 |
+
"UseDualStack": true
|
| 216 |
+
}
|
| 217 |
+
},
|
| 218 |
+
{
|
| 219 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
|
| 220 |
+
"expect": {
|
| 221 |
+
"endpoint": {
|
| 222 |
+
"url": "https://devices.iot1click-fips.us-isob-east-1.sc2s.sgov.gov"
|
| 223 |
+
}
|
| 224 |
+
},
|
| 225 |
+
"params": {
|
| 226 |
+
"Region": "us-isob-east-1",
|
| 227 |
+
"UseFIPS": true,
|
| 228 |
+
"UseDualStack": false
|
| 229 |
+
}
|
| 230 |
+
},
|
| 231 |
+
{
|
| 232 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
|
| 233 |
+
"expect": {
|
| 234 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 235 |
+
},
|
| 236 |
+
"params": {
|
| 237 |
+
"Region": "us-isob-east-1",
|
| 238 |
+
"UseFIPS": false,
|
| 239 |
+
"UseDualStack": true
|
| 240 |
+
}
|
| 241 |
+
},
|
| 242 |
+
{
|
| 243 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
|
| 244 |
+
"expect": {
|
| 245 |
+
"endpoint": {
|
| 246 |
+
"url": "https://devices.iot1click.us-isob-east-1.sc2s.sgov.gov"
|
| 247 |
+
}
|
| 248 |
+
},
|
| 249 |
+
"params": {
|
| 250 |
+
"Region": "us-isob-east-1",
|
| 251 |
+
"UseFIPS": false,
|
| 252 |
+
"UseDualStack": false
|
| 253 |
+
}
|
| 254 |
+
},
|
| 255 |
+
{
|
| 256 |
+
"documentation": "For custom endpoint with region set and fips disabled and dualstack disabled",
|
| 257 |
+
"expect": {
|
| 258 |
+
"endpoint": {
|
| 259 |
+
"url": "https://example.com"
|
| 260 |
+
}
|
| 261 |
+
},
|
| 262 |
+
"params": {
|
| 263 |
+
"Region": "us-east-1",
|
| 264 |
+
"UseFIPS": false,
|
| 265 |
+
"UseDualStack": false,
|
| 266 |
+
"Endpoint": "https://example.com"
|
| 267 |
+
}
|
| 268 |
+
},
|
| 269 |
+
{
|
| 270 |
+
"documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled",
|
| 271 |
+
"expect": {
|
| 272 |
+
"endpoint": {
|
| 273 |
+
"url": "https://example.com"
|
| 274 |
+
}
|
| 275 |
+
},
|
| 276 |
+
"params": {
|
| 277 |
+
"UseFIPS": false,
|
| 278 |
+
"UseDualStack": false,
|
| 279 |
+
"Endpoint": "https://example.com"
|
| 280 |
+
}
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"documentation": "For custom endpoint with fips enabled and dualstack disabled",
|
| 284 |
+
"expect": {
|
| 285 |
+
"error": "Invalid Configuration: FIPS and custom endpoint are not supported"
|
| 286 |
+
},
|
| 287 |
+
"params": {
|
| 288 |
+
"Region": "us-east-1",
|
| 289 |
+
"UseFIPS": true,
|
| 290 |
+
"UseDualStack": false,
|
| 291 |
+
"Endpoint": "https://example.com"
|
| 292 |
+
}
|
| 293 |
+
},
|
| 294 |
+
{
|
| 295 |
+
"documentation": "For custom endpoint with fips disabled and dualstack enabled",
|
| 296 |
+
"expect": {
|
| 297 |
+
"error": "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
| 298 |
+
},
|
| 299 |
+
"params": {
|
| 300 |
+
"Region": "us-east-1",
|
| 301 |
+
"UseFIPS": false,
|
| 302 |
+
"UseDualStack": true,
|
| 303 |
+
"Endpoint": "https://example.com"
|
| 304 |
+
}
|
| 305 |
+
},
|
| 306 |
+
{
|
| 307 |
+
"documentation": "Missing region",
|
| 308 |
+
"expect": {
|
| 309 |
+
"error": "Invalid Configuration: Missing Region"
|
| 310 |
+
}
|
| 311 |
+
}
|
| 312 |
+
],
|
| 313 |
+
"version": "1.0"
|
| 314 |
+
}
|
testbed/boto__botocore/tests/functional/endpoint-rules/iot1click-projects/endpoint-tests-1.json
ADDED
|
@@ -0,0 +1,392 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"testCases": [
|
| 3 |
+
{
|
| 4 |
+
"documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled",
|
| 5 |
+
"expect": {
|
| 6 |
+
"endpoint": {
|
| 7 |
+
"url": "https://projects.iot1click.ap-northeast-1.amazonaws.com"
|
| 8 |
+
}
|
| 9 |
+
},
|
| 10 |
+
"params": {
|
| 11 |
+
"Region": "ap-northeast-1",
|
| 12 |
+
"UseFIPS": false,
|
| 13 |
+
"UseDualStack": false
|
| 14 |
+
}
|
| 15 |
+
},
|
| 16 |
+
{
|
| 17 |
+
"documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled",
|
| 18 |
+
"expect": {
|
| 19 |
+
"endpoint": {
|
| 20 |
+
"url": "https://projects.iot1click.eu-central-1.amazonaws.com"
|
| 21 |
+
}
|
| 22 |
+
},
|
| 23 |
+
"params": {
|
| 24 |
+
"Region": "eu-central-1",
|
| 25 |
+
"UseFIPS": false,
|
| 26 |
+
"UseDualStack": false
|
| 27 |
+
}
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled",
|
| 31 |
+
"expect": {
|
| 32 |
+
"endpoint": {
|
| 33 |
+
"url": "https://projects.iot1click.eu-west-1.amazonaws.com"
|
| 34 |
+
}
|
| 35 |
+
},
|
| 36 |
+
"params": {
|
| 37 |
+
"Region": "eu-west-1",
|
| 38 |
+
"UseFIPS": false,
|
| 39 |
+
"UseDualStack": false
|
| 40 |
+
}
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled",
|
| 44 |
+
"expect": {
|
| 45 |
+
"endpoint": {
|
| 46 |
+
"url": "https://projects.iot1click.eu-west-2.amazonaws.com"
|
| 47 |
+
}
|
| 48 |
+
},
|
| 49 |
+
"params": {
|
| 50 |
+
"Region": "eu-west-2",
|
| 51 |
+
"UseFIPS": false,
|
| 52 |
+
"UseDualStack": false
|
| 53 |
+
}
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
|
| 57 |
+
"expect": {
|
| 58 |
+
"endpoint": {
|
| 59 |
+
"url": "https://projects.iot1click.us-east-1.amazonaws.com"
|
| 60 |
+
}
|
| 61 |
+
},
|
| 62 |
+
"params": {
|
| 63 |
+
"Region": "us-east-1",
|
| 64 |
+
"UseFIPS": false,
|
| 65 |
+
"UseDualStack": false
|
| 66 |
+
}
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"documentation": "For region us-east-2 with FIPS disabled and DualStack disabled",
|
| 70 |
+
"expect": {
|
| 71 |
+
"endpoint": {
|
| 72 |
+
"url": "https://projects.iot1click.us-east-2.amazonaws.com"
|
| 73 |
+
}
|
| 74 |
+
},
|
| 75 |
+
"params": {
|
| 76 |
+
"Region": "us-east-2",
|
| 77 |
+
"UseFIPS": false,
|
| 78 |
+
"UseDualStack": false
|
| 79 |
+
}
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"documentation": "For region us-west-2 with FIPS disabled and DualStack disabled",
|
| 83 |
+
"expect": {
|
| 84 |
+
"endpoint": {
|
| 85 |
+
"url": "https://projects.iot1click.us-west-2.amazonaws.com"
|
| 86 |
+
}
|
| 87 |
+
},
|
| 88 |
+
"params": {
|
| 89 |
+
"Region": "us-west-2",
|
| 90 |
+
"UseFIPS": false,
|
| 91 |
+
"UseDualStack": false
|
| 92 |
+
}
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
|
| 96 |
+
"expect": {
|
| 97 |
+
"endpoint": {
|
| 98 |
+
"url": "https://projects.iot1click-fips.us-east-1.api.aws"
|
| 99 |
+
}
|
| 100 |
+
},
|
| 101 |
+
"params": {
|
| 102 |
+
"Region": "us-east-1",
|
| 103 |
+
"UseFIPS": true,
|
| 104 |
+
"UseDualStack": true
|
| 105 |
+
}
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
|
| 109 |
+
"expect": {
|
| 110 |
+
"endpoint": {
|
| 111 |
+
"url": "https://projects.iot1click-fips.us-east-1.amazonaws.com"
|
| 112 |
+
}
|
| 113 |
+
},
|
| 114 |
+
"params": {
|
| 115 |
+
"Region": "us-east-1",
|
| 116 |
+
"UseFIPS": true,
|
| 117 |
+
"UseDualStack": false
|
| 118 |
+
}
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
|
| 122 |
+
"expect": {
|
| 123 |
+
"endpoint": {
|
| 124 |
+
"url": "https://projects.iot1click.us-east-1.api.aws"
|
| 125 |
+
}
|
| 126 |
+
},
|
| 127 |
+
"params": {
|
| 128 |
+
"Region": "us-east-1",
|
| 129 |
+
"UseFIPS": false,
|
| 130 |
+
"UseDualStack": true
|
| 131 |
+
}
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled",
|
| 135 |
+
"expect": {
|
| 136 |
+
"endpoint": {
|
| 137 |
+
"url": "https://projects.iot1click-fips.cn-north-1.api.amazonwebservices.com.cn"
|
| 138 |
+
}
|
| 139 |
+
},
|
| 140 |
+
"params": {
|
| 141 |
+
"Region": "cn-north-1",
|
| 142 |
+
"UseFIPS": true,
|
| 143 |
+
"UseDualStack": true
|
| 144 |
+
}
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled",
|
| 148 |
+
"expect": {
|
| 149 |
+
"endpoint": {
|
| 150 |
+
"url": "https://projects.iot1click-fips.cn-north-1.amazonaws.com.cn"
|
| 151 |
+
}
|
| 152 |
+
},
|
| 153 |
+
"params": {
|
| 154 |
+
"Region": "cn-north-1",
|
| 155 |
+
"UseFIPS": true,
|
| 156 |
+
"UseDualStack": false
|
| 157 |
+
}
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled",
|
| 161 |
+
"expect": {
|
| 162 |
+
"endpoint": {
|
| 163 |
+
"url": "https://projects.iot1click.cn-north-1.api.amazonwebservices.com.cn"
|
| 164 |
+
}
|
| 165 |
+
},
|
| 166 |
+
"params": {
|
| 167 |
+
"Region": "cn-north-1",
|
| 168 |
+
"UseFIPS": false,
|
| 169 |
+
"UseDualStack": true
|
| 170 |
+
}
|
| 171 |
+
},
|
| 172 |
+
{
|
| 173 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled",
|
| 174 |
+
"expect": {
|
| 175 |
+
"endpoint": {
|
| 176 |
+
"url": "https://projects.iot1click.cn-north-1.amazonaws.com.cn"
|
| 177 |
+
}
|
| 178 |
+
},
|
| 179 |
+
"params": {
|
| 180 |
+
"Region": "cn-north-1",
|
| 181 |
+
"UseFIPS": false,
|
| 182 |
+
"UseDualStack": false
|
| 183 |
+
}
|
| 184 |
+
},
|
| 185 |
+
{
|
| 186 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled",
|
| 187 |
+
"expect": {
|
| 188 |
+
"endpoint": {
|
| 189 |
+
"url": "https://projects.iot1click-fips.us-gov-east-1.api.aws"
|
| 190 |
+
}
|
| 191 |
+
},
|
| 192 |
+
"params": {
|
| 193 |
+
"Region": "us-gov-east-1",
|
| 194 |
+
"UseFIPS": true,
|
| 195 |
+
"UseDualStack": true
|
| 196 |
+
}
|
| 197 |
+
},
|
| 198 |
+
{
|
| 199 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled",
|
| 200 |
+
"expect": {
|
| 201 |
+
"endpoint": {
|
| 202 |
+
"url": "https://projects.iot1click-fips.us-gov-east-1.amazonaws.com"
|
| 203 |
+
}
|
| 204 |
+
},
|
| 205 |
+
"params": {
|
| 206 |
+
"Region": "us-gov-east-1",
|
| 207 |
+
"UseFIPS": true,
|
| 208 |
+
"UseDualStack": false
|
| 209 |
+
}
|
| 210 |
+
},
|
| 211 |
+
{
|
| 212 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled",
|
| 213 |
+
"expect": {
|
| 214 |
+
"endpoint": {
|
| 215 |
+
"url": "https://projects.iot1click.us-gov-east-1.api.aws"
|
| 216 |
+
}
|
| 217 |
+
},
|
| 218 |
+
"params": {
|
| 219 |
+
"Region": "us-gov-east-1",
|
| 220 |
+
"UseFIPS": false,
|
| 221 |
+
"UseDualStack": true
|
| 222 |
+
}
|
| 223 |
+
},
|
| 224 |
+
{
|
| 225 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled",
|
| 226 |
+
"expect": {
|
| 227 |
+
"endpoint": {
|
| 228 |
+
"url": "https://projects.iot1click.us-gov-east-1.amazonaws.com"
|
| 229 |
+
}
|
| 230 |
+
},
|
| 231 |
+
"params": {
|
| 232 |
+
"Region": "us-gov-east-1",
|
| 233 |
+
"UseFIPS": false,
|
| 234 |
+
"UseDualStack": false
|
| 235 |
+
}
|
| 236 |
+
},
|
| 237 |
+
{
|
| 238 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
|
| 239 |
+
"expect": {
|
| 240 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 241 |
+
},
|
| 242 |
+
"params": {
|
| 243 |
+
"Region": "us-iso-east-1",
|
| 244 |
+
"UseFIPS": true,
|
| 245 |
+
"UseDualStack": true
|
| 246 |
+
}
|
| 247 |
+
},
|
| 248 |
+
{
|
| 249 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
|
| 250 |
+
"expect": {
|
| 251 |
+
"endpoint": {
|
| 252 |
+
"url": "https://projects.iot1click-fips.us-iso-east-1.c2s.ic.gov"
|
| 253 |
+
}
|
| 254 |
+
},
|
| 255 |
+
"params": {
|
| 256 |
+
"Region": "us-iso-east-1",
|
| 257 |
+
"UseFIPS": true,
|
| 258 |
+
"UseDualStack": false
|
| 259 |
+
}
|
| 260 |
+
},
|
| 261 |
+
{
|
| 262 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
|
| 263 |
+
"expect": {
|
| 264 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 265 |
+
},
|
| 266 |
+
"params": {
|
| 267 |
+
"Region": "us-iso-east-1",
|
| 268 |
+
"UseFIPS": false,
|
| 269 |
+
"UseDualStack": true
|
| 270 |
+
}
|
| 271 |
+
},
|
| 272 |
+
{
|
| 273 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
|
| 274 |
+
"expect": {
|
| 275 |
+
"endpoint": {
|
| 276 |
+
"url": "https://projects.iot1click.us-iso-east-1.c2s.ic.gov"
|
| 277 |
+
}
|
| 278 |
+
},
|
| 279 |
+
"params": {
|
| 280 |
+
"Region": "us-iso-east-1",
|
| 281 |
+
"UseFIPS": false,
|
| 282 |
+
"UseDualStack": false
|
| 283 |
+
}
|
| 284 |
+
},
|
| 285 |
+
{
|
| 286 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
|
| 287 |
+
"expect": {
|
| 288 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 289 |
+
},
|
| 290 |
+
"params": {
|
| 291 |
+
"Region": "us-isob-east-1",
|
| 292 |
+
"UseFIPS": true,
|
| 293 |
+
"UseDualStack": true
|
| 294 |
+
}
|
| 295 |
+
},
|
| 296 |
+
{
|
| 297 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
|
| 298 |
+
"expect": {
|
| 299 |
+
"endpoint": {
|
| 300 |
+
"url": "https://projects.iot1click-fips.us-isob-east-1.sc2s.sgov.gov"
|
| 301 |
+
}
|
| 302 |
+
},
|
| 303 |
+
"params": {
|
| 304 |
+
"Region": "us-isob-east-1",
|
| 305 |
+
"UseFIPS": true,
|
| 306 |
+
"UseDualStack": false
|
| 307 |
+
}
|
| 308 |
+
},
|
| 309 |
+
{
|
| 310 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
|
| 311 |
+
"expect": {
|
| 312 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 313 |
+
},
|
| 314 |
+
"params": {
|
| 315 |
+
"Region": "us-isob-east-1",
|
| 316 |
+
"UseFIPS": false,
|
| 317 |
+
"UseDualStack": true
|
| 318 |
+
}
|
| 319 |
+
},
|
| 320 |
+
{
|
| 321 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
|
| 322 |
+
"expect": {
|
| 323 |
+
"endpoint": {
|
| 324 |
+
"url": "https://projects.iot1click.us-isob-east-1.sc2s.sgov.gov"
|
| 325 |
+
}
|
| 326 |
+
},
|
| 327 |
+
"params": {
|
| 328 |
+
"Region": "us-isob-east-1",
|
| 329 |
+
"UseFIPS": false,
|
| 330 |
+
"UseDualStack": false
|
| 331 |
+
}
|
| 332 |
+
},
|
| 333 |
+
{
|
| 334 |
+
"documentation": "For custom endpoint with region set and fips disabled and dualstack disabled",
|
| 335 |
+
"expect": {
|
| 336 |
+
"endpoint": {
|
| 337 |
+
"url": "https://example.com"
|
| 338 |
+
}
|
| 339 |
+
},
|
| 340 |
+
"params": {
|
| 341 |
+
"Region": "us-east-1",
|
| 342 |
+
"UseFIPS": false,
|
| 343 |
+
"UseDualStack": false,
|
| 344 |
+
"Endpoint": "https://example.com"
|
| 345 |
+
}
|
| 346 |
+
},
|
| 347 |
+
{
|
| 348 |
+
"documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled",
|
| 349 |
+
"expect": {
|
| 350 |
+
"endpoint": {
|
| 351 |
+
"url": "https://example.com"
|
| 352 |
+
}
|
| 353 |
+
},
|
| 354 |
+
"params": {
|
| 355 |
+
"UseFIPS": false,
|
| 356 |
+
"UseDualStack": false,
|
| 357 |
+
"Endpoint": "https://example.com"
|
| 358 |
+
}
|
| 359 |
+
},
|
| 360 |
+
{
|
| 361 |
+
"documentation": "For custom endpoint with fips enabled and dualstack disabled",
|
| 362 |
+
"expect": {
|
| 363 |
+
"error": "Invalid Configuration: FIPS and custom endpoint are not supported"
|
| 364 |
+
},
|
| 365 |
+
"params": {
|
| 366 |
+
"Region": "us-east-1",
|
| 367 |
+
"UseFIPS": true,
|
| 368 |
+
"UseDualStack": false,
|
| 369 |
+
"Endpoint": "https://example.com"
|
| 370 |
+
}
|
| 371 |
+
},
|
| 372 |
+
{
|
| 373 |
+
"documentation": "For custom endpoint with fips disabled and dualstack enabled",
|
| 374 |
+
"expect": {
|
| 375 |
+
"error": "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
| 376 |
+
},
|
| 377 |
+
"params": {
|
| 378 |
+
"Region": "us-east-1",
|
| 379 |
+
"UseFIPS": false,
|
| 380 |
+
"UseDualStack": true,
|
| 381 |
+
"Endpoint": "https://example.com"
|
| 382 |
+
}
|
| 383 |
+
},
|
| 384 |
+
{
|
| 385 |
+
"documentation": "Missing region",
|
| 386 |
+
"expect": {
|
| 387 |
+
"error": "Invalid Configuration: Missing Region"
|
| 388 |
+
}
|
| 389 |
+
}
|
| 390 |
+
],
|
| 391 |
+
"version": "1.0"
|
| 392 |
+
}
|
testbed/boto__botocore/tests/functional/endpoint-rules/iotfleethub/endpoint-tests-1.json
ADDED
|
@@ -0,0 +1,509 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"testCases": [
|
| 3 |
+
{
|
| 4 |
+
"documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled",
|
| 5 |
+
"expect": {
|
| 6 |
+
"endpoint": {
|
| 7 |
+
"url": "https://api.fleethub.iot.ap-northeast-1.amazonaws.com"
|
| 8 |
+
}
|
| 9 |
+
},
|
| 10 |
+
"params": {
|
| 11 |
+
"Region": "ap-northeast-1",
|
| 12 |
+
"UseFIPS": false,
|
| 13 |
+
"UseDualStack": false
|
| 14 |
+
}
|
| 15 |
+
},
|
| 16 |
+
{
|
| 17 |
+
"documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled",
|
| 18 |
+
"expect": {
|
| 19 |
+
"endpoint": {
|
| 20 |
+
"url": "https://api.fleethub.iot.ap-northeast-2.amazonaws.com"
|
| 21 |
+
}
|
| 22 |
+
},
|
| 23 |
+
"params": {
|
| 24 |
+
"Region": "ap-northeast-2",
|
| 25 |
+
"UseFIPS": false,
|
| 26 |
+
"UseDualStack": false
|
| 27 |
+
}
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled",
|
| 31 |
+
"expect": {
|
| 32 |
+
"endpoint": {
|
| 33 |
+
"url": "https://api.fleethub.iot.ap-south-1.amazonaws.com"
|
| 34 |
+
}
|
| 35 |
+
},
|
| 36 |
+
"params": {
|
| 37 |
+
"Region": "ap-south-1",
|
| 38 |
+
"UseFIPS": false,
|
| 39 |
+
"UseDualStack": false
|
| 40 |
+
}
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled",
|
| 44 |
+
"expect": {
|
| 45 |
+
"endpoint": {
|
| 46 |
+
"url": "https://api.fleethub.iot.ap-southeast-1.amazonaws.com"
|
| 47 |
+
}
|
| 48 |
+
},
|
| 49 |
+
"params": {
|
| 50 |
+
"Region": "ap-southeast-1",
|
| 51 |
+
"UseFIPS": false,
|
| 52 |
+
"UseDualStack": false
|
| 53 |
+
}
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled",
|
| 57 |
+
"expect": {
|
| 58 |
+
"endpoint": {
|
| 59 |
+
"url": "https://api.fleethub.iot.ap-southeast-2.amazonaws.com"
|
| 60 |
+
}
|
| 61 |
+
},
|
| 62 |
+
"params": {
|
| 63 |
+
"Region": "ap-southeast-2",
|
| 64 |
+
"UseFIPS": false,
|
| 65 |
+
"UseDualStack": false
|
| 66 |
+
}
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled",
|
| 70 |
+
"expect": {
|
| 71 |
+
"endpoint": {
|
| 72 |
+
"url": "https://api.fleethub.iot.ca-central-1.amazonaws.com"
|
| 73 |
+
}
|
| 74 |
+
},
|
| 75 |
+
"params": {
|
| 76 |
+
"Region": "ca-central-1",
|
| 77 |
+
"UseFIPS": false,
|
| 78 |
+
"UseDualStack": false
|
| 79 |
+
}
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"documentation": "For region ca-central-1 with FIPS enabled and DualStack disabled",
|
| 83 |
+
"expect": {
|
| 84 |
+
"endpoint": {
|
| 85 |
+
"url": "https://api.fleethub.iot-fips.ca-central-1.amazonaws.com"
|
| 86 |
+
}
|
| 87 |
+
},
|
| 88 |
+
"params": {
|
| 89 |
+
"Region": "ca-central-1",
|
| 90 |
+
"UseFIPS": true,
|
| 91 |
+
"UseDualStack": false
|
| 92 |
+
}
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled",
|
| 96 |
+
"expect": {
|
| 97 |
+
"endpoint": {
|
| 98 |
+
"url": "https://api.fleethub.iot.eu-central-1.amazonaws.com"
|
| 99 |
+
}
|
| 100 |
+
},
|
| 101 |
+
"params": {
|
| 102 |
+
"Region": "eu-central-1",
|
| 103 |
+
"UseFIPS": false,
|
| 104 |
+
"UseDualStack": false
|
| 105 |
+
}
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled",
|
| 109 |
+
"expect": {
|
| 110 |
+
"endpoint": {
|
| 111 |
+
"url": "https://api.fleethub.iot.eu-north-1.amazonaws.com"
|
| 112 |
+
}
|
| 113 |
+
},
|
| 114 |
+
"params": {
|
| 115 |
+
"Region": "eu-north-1",
|
| 116 |
+
"UseFIPS": false,
|
| 117 |
+
"UseDualStack": false
|
| 118 |
+
}
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled",
|
| 122 |
+
"expect": {
|
| 123 |
+
"endpoint": {
|
| 124 |
+
"url": "https://api.fleethub.iot.eu-west-1.amazonaws.com"
|
| 125 |
+
}
|
| 126 |
+
},
|
| 127 |
+
"params": {
|
| 128 |
+
"Region": "eu-west-1",
|
| 129 |
+
"UseFIPS": false,
|
| 130 |
+
"UseDualStack": false
|
| 131 |
+
}
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
"documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled",
|
| 135 |
+
"expect": {
|
| 136 |
+
"endpoint": {
|
| 137 |
+
"url": "https://api.fleethub.iot.eu-west-2.amazonaws.com"
|
| 138 |
+
}
|
| 139 |
+
},
|
| 140 |
+
"params": {
|
| 141 |
+
"Region": "eu-west-2",
|
| 142 |
+
"UseFIPS": false,
|
| 143 |
+
"UseDualStack": false
|
| 144 |
+
}
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
|
| 148 |
+
"expect": {
|
| 149 |
+
"endpoint": {
|
| 150 |
+
"url": "https://api.fleethub.iot.us-east-1.amazonaws.com"
|
| 151 |
+
}
|
| 152 |
+
},
|
| 153 |
+
"params": {
|
| 154 |
+
"Region": "us-east-1",
|
| 155 |
+
"UseFIPS": false,
|
| 156 |
+
"UseDualStack": false
|
| 157 |
+
}
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
|
| 161 |
+
"expect": {
|
| 162 |
+
"endpoint": {
|
| 163 |
+
"url": "https://api.fleethub.iot-fips.us-east-1.amazonaws.com"
|
| 164 |
+
}
|
| 165 |
+
},
|
| 166 |
+
"params": {
|
| 167 |
+
"Region": "us-east-1",
|
| 168 |
+
"UseFIPS": true,
|
| 169 |
+
"UseDualStack": false
|
| 170 |
+
}
|
| 171 |
+
},
|
| 172 |
+
{
|
| 173 |
+
"documentation": "For region us-east-2 with FIPS disabled and DualStack disabled",
|
| 174 |
+
"expect": {
|
| 175 |
+
"endpoint": {
|
| 176 |
+
"url": "https://api.fleethub.iot.us-east-2.amazonaws.com"
|
| 177 |
+
}
|
| 178 |
+
},
|
| 179 |
+
"params": {
|
| 180 |
+
"Region": "us-east-2",
|
| 181 |
+
"UseFIPS": false,
|
| 182 |
+
"UseDualStack": false
|
| 183 |
+
}
|
| 184 |
+
},
|
| 185 |
+
{
|
| 186 |
+
"documentation": "For region us-east-2 with FIPS enabled and DualStack disabled",
|
| 187 |
+
"expect": {
|
| 188 |
+
"endpoint": {
|
| 189 |
+
"url": "https://api.fleethub.iot-fips.us-east-2.amazonaws.com"
|
| 190 |
+
}
|
| 191 |
+
},
|
| 192 |
+
"params": {
|
| 193 |
+
"Region": "us-east-2",
|
| 194 |
+
"UseFIPS": true,
|
| 195 |
+
"UseDualStack": false
|
| 196 |
+
}
|
| 197 |
+
},
|
| 198 |
+
{
|
| 199 |
+
"documentation": "For region us-west-2 with FIPS disabled and DualStack disabled",
|
| 200 |
+
"expect": {
|
| 201 |
+
"endpoint": {
|
| 202 |
+
"url": "https://api.fleethub.iot.us-west-2.amazonaws.com"
|
| 203 |
+
}
|
| 204 |
+
},
|
| 205 |
+
"params": {
|
| 206 |
+
"Region": "us-west-2",
|
| 207 |
+
"UseFIPS": false,
|
| 208 |
+
"UseDualStack": false
|
| 209 |
+
}
|
| 210 |
+
},
|
| 211 |
+
{
|
| 212 |
+
"documentation": "For region us-west-2 with FIPS enabled and DualStack disabled",
|
| 213 |
+
"expect": {
|
| 214 |
+
"endpoint": {
|
| 215 |
+
"url": "https://api.fleethub.iot-fips.us-west-2.amazonaws.com"
|
| 216 |
+
}
|
| 217 |
+
},
|
| 218 |
+
"params": {
|
| 219 |
+
"Region": "us-west-2",
|
| 220 |
+
"UseFIPS": true,
|
| 221 |
+
"UseDualStack": false
|
| 222 |
+
}
|
| 223 |
+
},
|
| 224 |
+
{
|
| 225 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
|
| 226 |
+
"expect": {
|
| 227 |
+
"endpoint": {
|
| 228 |
+
"url": "https://api.fleethub.iot-fips.us-east-1.api.aws"
|
| 229 |
+
}
|
| 230 |
+
},
|
| 231 |
+
"params": {
|
| 232 |
+
"Region": "us-east-1",
|
| 233 |
+
"UseFIPS": true,
|
| 234 |
+
"UseDualStack": true
|
| 235 |
+
}
|
| 236 |
+
},
|
| 237 |
+
{
|
| 238 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
|
| 239 |
+
"expect": {
|
| 240 |
+
"endpoint": {
|
| 241 |
+
"url": "https://api.fleethub.iot.us-east-1.api.aws"
|
| 242 |
+
}
|
| 243 |
+
},
|
| 244 |
+
"params": {
|
| 245 |
+
"Region": "us-east-1",
|
| 246 |
+
"UseFIPS": false,
|
| 247 |
+
"UseDualStack": true
|
| 248 |
+
}
|
| 249 |
+
},
|
| 250 |
+
{
|
| 251 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled",
|
| 252 |
+
"expect": {
|
| 253 |
+
"endpoint": {
|
| 254 |
+
"url": "https://api.fleethub.iot-fips.cn-north-1.api.amazonwebservices.com.cn"
|
| 255 |
+
}
|
| 256 |
+
},
|
| 257 |
+
"params": {
|
| 258 |
+
"Region": "cn-north-1",
|
| 259 |
+
"UseFIPS": true,
|
| 260 |
+
"UseDualStack": true
|
| 261 |
+
}
|
| 262 |
+
},
|
| 263 |
+
{
|
| 264 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled",
|
| 265 |
+
"expect": {
|
| 266 |
+
"endpoint": {
|
| 267 |
+
"url": "https://api.fleethub.iot-fips.cn-north-1.amazonaws.com.cn"
|
| 268 |
+
}
|
| 269 |
+
},
|
| 270 |
+
"params": {
|
| 271 |
+
"Region": "cn-north-1",
|
| 272 |
+
"UseFIPS": true,
|
| 273 |
+
"UseDualStack": false
|
| 274 |
+
}
|
| 275 |
+
},
|
| 276 |
+
{
|
| 277 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled",
|
| 278 |
+
"expect": {
|
| 279 |
+
"endpoint": {
|
| 280 |
+
"url": "https://api.fleethub.iot.cn-north-1.api.amazonwebservices.com.cn"
|
| 281 |
+
}
|
| 282 |
+
},
|
| 283 |
+
"params": {
|
| 284 |
+
"Region": "cn-north-1",
|
| 285 |
+
"UseFIPS": false,
|
| 286 |
+
"UseDualStack": true
|
| 287 |
+
}
|
| 288 |
+
},
|
| 289 |
+
{
|
| 290 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled",
|
| 291 |
+
"expect": {
|
| 292 |
+
"endpoint": {
|
| 293 |
+
"url": "https://api.fleethub.iot.cn-north-1.amazonaws.com.cn"
|
| 294 |
+
}
|
| 295 |
+
},
|
| 296 |
+
"params": {
|
| 297 |
+
"Region": "cn-north-1",
|
| 298 |
+
"UseFIPS": false,
|
| 299 |
+
"UseDualStack": false
|
| 300 |
+
}
|
| 301 |
+
},
|
| 302 |
+
{
|
| 303 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled",
|
| 304 |
+
"expect": {
|
| 305 |
+
"endpoint": {
|
| 306 |
+
"url": "https://api.fleethub.iot-fips.us-gov-east-1.api.aws"
|
| 307 |
+
}
|
| 308 |
+
},
|
| 309 |
+
"params": {
|
| 310 |
+
"Region": "us-gov-east-1",
|
| 311 |
+
"UseFIPS": true,
|
| 312 |
+
"UseDualStack": true
|
| 313 |
+
}
|
| 314 |
+
},
|
| 315 |
+
{
|
| 316 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled",
|
| 317 |
+
"expect": {
|
| 318 |
+
"endpoint": {
|
| 319 |
+
"url": "https://api.fleethub.iot-fips.us-gov-east-1.amazonaws.com"
|
| 320 |
+
}
|
| 321 |
+
},
|
| 322 |
+
"params": {
|
| 323 |
+
"Region": "us-gov-east-1",
|
| 324 |
+
"UseFIPS": true,
|
| 325 |
+
"UseDualStack": false
|
| 326 |
+
}
|
| 327 |
+
},
|
| 328 |
+
{
|
| 329 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled",
|
| 330 |
+
"expect": {
|
| 331 |
+
"endpoint": {
|
| 332 |
+
"url": "https://api.fleethub.iot.us-gov-east-1.api.aws"
|
| 333 |
+
}
|
| 334 |
+
},
|
| 335 |
+
"params": {
|
| 336 |
+
"Region": "us-gov-east-1",
|
| 337 |
+
"UseFIPS": false,
|
| 338 |
+
"UseDualStack": true
|
| 339 |
+
}
|
| 340 |
+
},
|
| 341 |
+
{
|
| 342 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled",
|
| 343 |
+
"expect": {
|
| 344 |
+
"endpoint": {
|
| 345 |
+
"url": "https://api.fleethub.iot.us-gov-east-1.amazonaws.com"
|
| 346 |
+
}
|
| 347 |
+
},
|
| 348 |
+
"params": {
|
| 349 |
+
"Region": "us-gov-east-1",
|
| 350 |
+
"UseFIPS": false,
|
| 351 |
+
"UseDualStack": false
|
| 352 |
+
}
|
| 353 |
+
},
|
| 354 |
+
{
|
| 355 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
|
| 356 |
+
"expect": {
|
| 357 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 358 |
+
},
|
| 359 |
+
"params": {
|
| 360 |
+
"Region": "us-iso-east-1",
|
| 361 |
+
"UseFIPS": true,
|
| 362 |
+
"UseDualStack": true
|
| 363 |
+
}
|
| 364 |
+
},
|
| 365 |
+
{
|
| 366 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
|
| 367 |
+
"expect": {
|
| 368 |
+
"endpoint": {
|
| 369 |
+
"url": "https://api.fleethub.iot-fips.us-iso-east-1.c2s.ic.gov"
|
| 370 |
+
}
|
| 371 |
+
},
|
| 372 |
+
"params": {
|
| 373 |
+
"Region": "us-iso-east-1",
|
| 374 |
+
"UseFIPS": true,
|
| 375 |
+
"UseDualStack": false
|
| 376 |
+
}
|
| 377 |
+
},
|
| 378 |
+
{
|
| 379 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
|
| 380 |
+
"expect": {
|
| 381 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 382 |
+
},
|
| 383 |
+
"params": {
|
| 384 |
+
"Region": "us-iso-east-1",
|
| 385 |
+
"UseFIPS": false,
|
| 386 |
+
"UseDualStack": true
|
| 387 |
+
}
|
| 388 |
+
},
|
| 389 |
+
{
|
| 390 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
|
| 391 |
+
"expect": {
|
| 392 |
+
"endpoint": {
|
| 393 |
+
"url": "https://api.fleethub.iot.us-iso-east-1.c2s.ic.gov"
|
| 394 |
+
}
|
| 395 |
+
},
|
| 396 |
+
"params": {
|
| 397 |
+
"Region": "us-iso-east-1",
|
| 398 |
+
"UseFIPS": false,
|
| 399 |
+
"UseDualStack": false
|
| 400 |
+
}
|
| 401 |
+
},
|
| 402 |
+
{
|
| 403 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
|
| 404 |
+
"expect": {
|
| 405 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 406 |
+
},
|
| 407 |
+
"params": {
|
| 408 |
+
"Region": "us-isob-east-1",
|
| 409 |
+
"UseFIPS": true,
|
| 410 |
+
"UseDualStack": true
|
| 411 |
+
}
|
| 412 |
+
},
|
| 413 |
+
{
|
| 414 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
|
| 415 |
+
"expect": {
|
| 416 |
+
"endpoint": {
|
| 417 |
+
"url": "https://api.fleethub.iot-fips.us-isob-east-1.sc2s.sgov.gov"
|
| 418 |
+
}
|
| 419 |
+
},
|
| 420 |
+
"params": {
|
| 421 |
+
"Region": "us-isob-east-1",
|
| 422 |
+
"UseFIPS": true,
|
| 423 |
+
"UseDualStack": false
|
| 424 |
+
}
|
| 425 |
+
},
|
| 426 |
+
{
|
| 427 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
|
| 428 |
+
"expect": {
|
| 429 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 430 |
+
},
|
| 431 |
+
"params": {
|
| 432 |
+
"Region": "us-isob-east-1",
|
| 433 |
+
"UseFIPS": false,
|
| 434 |
+
"UseDualStack": true
|
| 435 |
+
}
|
| 436 |
+
},
|
| 437 |
+
{
|
| 438 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
|
| 439 |
+
"expect": {
|
| 440 |
+
"endpoint": {
|
| 441 |
+
"url": "https://api.fleethub.iot.us-isob-east-1.sc2s.sgov.gov"
|
| 442 |
+
}
|
| 443 |
+
},
|
| 444 |
+
"params": {
|
| 445 |
+
"Region": "us-isob-east-1",
|
| 446 |
+
"UseFIPS": false,
|
| 447 |
+
"UseDualStack": false
|
| 448 |
+
}
|
| 449 |
+
},
|
| 450 |
+
{
|
| 451 |
+
"documentation": "For custom endpoint with region set and fips disabled and dualstack disabled",
|
| 452 |
+
"expect": {
|
| 453 |
+
"endpoint": {
|
| 454 |
+
"url": "https://example.com"
|
| 455 |
+
}
|
| 456 |
+
},
|
| 457 |
+
"params": {
|
| 458 |
+
"Region": "us-east-1",
|
| 459 |
+
"UseFIPS": false,
|
| 460 |
+
"UseDualStack": false,
|
| 461 |
+
"Endpoint": "https://example.com"
|
| 462 |
+
}
|
| 463 |
+
},
|
| 464 |
+
{
|
| 465 |
+
"documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled",
|
| 466 |
+
"expect": {
|
| 467 |
+
"endpoint": {
|
| 468 |
+
"url": "https://example.com"
|
| 469 |
+
}
|
| 470 |
+
},
|
| 471 |
+
"params": {
|
| 472 |
+
"UseFIPS": false,
|
| 473 |
+
"UseDualStack": false,
|
| 474 |
+
"Endpoint": "https://example.com"
|
| 475 |
+
}
|
| 476 |
+
},
|
| 477 |
+
{
|
| 478 |
+
"documentation": "For custom endpoint with fips enabled and dualstack disabled",
|
| 479 |
+
"expect": {
|
| 480 |
+
"error": "Invalid Configuration: FIPS and custom endpoint are not supported"
|
| 481 |
+
},
|
| 482 |
+
"params": {
|
| 483 |
+
"Region": "us-east-1",
|
| 484 |
+
"UseFIPS": true,
|
| 485 |
+
"UseDualStack": false,
|
| 486 |
+
"Endpoint": "https://example.com"
|
| 487 |
+
}
|
| 488 |
+
},
|
| 489 |
+
{
|
| 490 |
+
"documentation": "For custom endpoint with fips disabled and dualstack enabled",
|
| 491 |
+
"expect": {
|
| 492 |
+
"error": "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
| 493 |
+
},
|
| 494 |
+
"params": {
|
| 495 |
+
"Region": "us-east-1",
|
| 496 |
+
"UseFIPS": false,
|
| 497 |
+
"UseDualStack": true,
|
| 498 |
+
"Endpoint": "https://example.com"
|
| 499 |
+
}
|
| 500 |
+
},
|
| 501 |
+
{
|
| 502 |
+
"documentation": "Missing region",
|
| 503 |
+
"expect": {
|
| 504 |
+
"error": "Invalid Configuration: Missing Region"
|
| 505 |
+
}
|
| 506 |
+
}
|
| 507 |
+
],
|
| 508 |
+
"version": "1.0"
|
| 509 |
+
}
|
testbed/boto__botocore/tests/functional/endpoint-rules/kinesisvideo/endpoint-tests-1.json
ADDED
|
@@ -0,0 +1,509 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"testCases": [
|
| 3 |
+
{
|
| 4 |
+
"documentation": "For region af-south-1 with FIPS disabled and DualStack disabled",
|
| 5 |
+
"expect": {
|
| 6 |
+
"endpoint": {
|
| 7 |
+
"url": "https://kinesisvideo.af-south-1.amazonaws.com"
|
| 8 |
+
}
|
| 9 |
+
},
|
| 10 |
+
"params": {
|
| 11 |
+
"Region": "af-south-1",
|
| 12 |
+
"UseFIPS": false,
|
| 13 |
+
"UseDualStack": false
|
| 14 |
+
}
|
| 15 |
+
},
|
| 16 |
+
{
|
| 17 |
+
"documentation": "For region ap-east-1 with FIPS disabled and DualStack disabled",
|
| 18 |
+
"expect": {
|
| 19 |
+
"endpoint": {
|
| 20 |
+
"url": "https://kinesisvideo.ap-east-1.amazonaws.com"
|
| 21 |
+
}
|
| 22 |
+
},
|
| 23 |
+
"params": {
|
| 24 |
+
"Region": "ap-east-1",
|
| 25 |
+
"UseFIPS": false,
|
| 26 |
+
"UseDualStack": false
|
| 27 |
+
}
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled",
|
| 31 |
+
"expect": {
|
| 32 |
+
"endpoint": {
|
| 33 |
+
"url": "https://kinesisvideo.ap-northeast-1.amazonaws.com"
|
| 34 |
+
}
|
| 35 |
+
},
|
| 36 |
+
"params": {
|
| 37 |
+
"Region": "ap-northeast-1",
|
| 38 |
+
"UseFIPS": false,
|
| 39 |
+
"UseDualStack": false
|
| 40 |
+
}
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled",
|
| 44 |
+
"expect": {
|
| 45 |
+
"endpoint": {
|
| 46 |
+
"url": "https://kinesisvideo.ap-northeast-2.amazonaws.com"
|
| 47 |
+
}
|
| 48 |
+
},
|
| 49 |
+
"params": {
|
| 50 |
+
"Region": "ap-northeast-2",
|
| 51 |
+
"UseFIPS": false,
|
| 52 |
+
"UseDualStack": false
|
| 53 |
+
}
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled",
|
| 57 |
+
"expect": {
|
| 58 |
+
"endpoint": {
|
| 59 |
+
"url": "https://kinesisvideo.ap-south-1.amazonaws.com"
|
| 60 |
+
}
|
| 61 |
+
},
|
| 62 |
+
"params": {
|
| 63 |
+
"Region": "ap-south-1",
|
| 64 |
+
"UseFIPS": false,
|
| 65 |
+
"UseDualStack": false
|
| 66 |
+
}
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled",
|
| 70 |
+
"expect": {
|
| 71 |
+
"endpoint": {
|
| 72 |
+
"url": "https://kinesisvideo.ap-southeast-1.amazonaws.com"
|
| 73 |
+
}
|
| 74 |
+
},
|
| 75 |
+
"params": {
|
| 76 |
+
"Region": "ap-southeast-1",
|
| 77 |
+
"UseFIPS": false,
|
| 78 |
+
"UseDualStack": false
|
| 79 |
+
}
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled",
|
| 83 |
+
"expect": {
|
| 84 |
+
"endpoint": {
|
| 85 |
+
"url": "https://kinesisvideo.ap-southeast-2.amazonaws.com"
|
| 86 |
+
}
|
| 87 |
+
},
|
| 88 |
+
"params": {
|
| 89 |
+
"Region": "ap-southeast-2",
|
| 90 |
+
"UseFIPS": false,
|
| 91 |
+
"UseDualStack": false
|
| 92 |
+
}
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled",
|
| 96 |
+
"expect": {
|
| 97 |
+
"endpoint": {
|
| 98 |
+
"url": "https://kinesisvideo.ca-central-1.amazonaws.com"
|
| 99 |
+
}
|
| 100 |
+
},
|
| 101 |
+
"params": {
|
| 102 |
+
"Region": "ca-central-1",
|
| 103 |
+
"UseFIPS": false,
|
| 104 |
+
"UseDualStack": false
|
| 105 |
+
}
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled",
|
| 109 |
+
"expect": {
|
| 110 |
+
"endpoint": {
|
| 111 |
+
"url": "https://kinesisvideo.eu-central-1.amazonaws.com"
|
| 112 |
+
}
|
| 113 |
+
},
|
| 114 |
+
"params": {
|
| 115 |
+
"Region": "eu-central-1",
|
| 116 |
+
"UseFIPS": false,
|
| 117 |
+
"UseDualStack": false
|
| 118 |
+
}
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled",
|
| 122 |
+
"expect": {
|
| 123 |
+
"endpoint": {
|
| 124 |
+
"url": "https://kinesisvideo.eu-west-1.amazonaws.com"
|
| 125 |
+
}
|
| 126 |
+
},
|
| 127 |
+
"params": {
|
| 128 |
+
"Region": "eu-west-1",
|
| 129 |
+
"UseFIPS": false,
|
| 130 |
+
"UseDualStack": false
|
| 131 |
+
}
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
"documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled",
|
| 135 |
+
"expect": {
|
| 136 |
+
"endpoint": {
|
| 137 |
+
"url": "https://kinesisvideo.eu-west-2.amazonaws.com"
|
| 138 |
+
}
|
| 139 |
+
},
|
| 140 |
+
"params": {
|
| 141 |
+
"Region": "eu-west-2",
|
| 142 |
+
"UseFIPS": false,
|
| 143 |
+
"UseDualStack": false
|
| 144 |
+
}
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"documentation": "For region eu-west-3 with FIPS disabled and DualStack disabled",
|
| 148 |
+
"expect": {
|
| 149 |
+
"endpoint": {
|
| 150 |
+
"url": "https://kinesisvideo.eu-west-3.amazonaws.com"
|
| 151 |
+
}
|
| 152 |
+
},
|
| 153 |
+
"params": {
|
| 154 |
+
"Region": "eu-west-3",
|
| 155 |
+
"UseFIPS": false,
|
| 156 |
+
"UseDualStack": false
|
| 157 |
+
}
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"documentation": "For region sa-east-1 with FIPS disabled and DualStack disabled",
|
| 161 |
+
"expect": {
|
| 162 |
+
"endpoint": {
|
| 163 |
+
"url": "https://kinesisvideo.sa-east-1.amazonaws.com"
|
| 164 |
+
}
|
| 165 |
+
},
|
| 166 |
+
"params": {
|
| 167 |
+
"Region": "sa-east-1",
|
| 168 |
+
"UseFIPS": false,
|
| 169 |
+
"UseDualStack": false
|
| 170 |
+
}
|
| 171 |
+
},
|
| 172 |
+
{
|
| 173 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
|
| 174 |
+
"expect": {
|
| 175 |
+
"endpoint": {
|
| 176 |
+
"url": "https://kinesisvideo.us-east-1.amazonaws.com"
|
| 177 |
+
}
|
| 178 |
+
},
|
| 179 |
+
"params": {
|
| 180 |
+
"Region": "us-east-1",
|
| 181 |
+
"UseFIPS": false,
|
| 182 |
+
"UseDualStack": false
|
| 183 |
+
}
|
| 184 |
+
},
|
| 185 |
+
{
|
| 186 |
+
"documentation": "For region us-east-2 with FIPS disabled and DualStack disabled",
|
| 187 |
+
"expect": {
|
| 188 |
+
"endpoint": {
|
| 189 |
+
"url": "https://kinesisvideo.us-east-2.amazonaws.com"
|
| 190 |
+
}
|
| 191 |
+
},
|
| 192 |
+
"params": {
|
| 193 |
+
"Region": "us-east-2",
|
| 194 |
+
"UseFIPS": false,
|
| 195 |
+
"UseDualStack": false
|
| 196 |
+
}
|
| 197 |
+
},
|
| 198 |
+
{
|
| 199 |
+
"documentation": "For region us-west-2 with FIPS disabled and DualStack disabled",
|
| 200 |
+
"expect": {
|
| 201 |
+
"endpoint": {
|
| 202 |
+
"url": "https://kinesisvideo.us-west-2.amazonaws.com"
|
| 203 |
+
}
|
| 204 |
+
},
|
| 205 |
+
"params": {
|
| 206 |
+
"Region": "us-west-2",
|
| 207 |
+
"UseFIPS": false,
|
| 208 |
+
"UseDualStack": false
|
| 209 |
+
}
|
| 210 |
+
},
|
| 211 |
+
{
|
| 212 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
|
| 213 |
+
"expect": {
|
| 214 |
+
"endpoint": {
|
| 215 |
+
"url": "https://kinesisvideo-fips.us-east-1.api.aws"
|
| 216 |
+
}
|
| 217 |
+
},
|
| 218 |
+
"params": {
|
| 219 |
+
"Region": "us-east-1",
|
| 220 |
+
"UseFIPS": true,
|
| 221 |
+
"UseDualStack": true
|
| 222 |
+
}
|
| 223 |
+
},
|
| 224 |
+
{
|
| 225 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
|
| 226 |
+
"expect": {
|
| 227 |
+
"endpoint": {
|
| 228 |
+
"url": "https://kinesisvideo-fips.us-east-1.amazonaws.com"
|
| 229 |
+
}
|
| 230 |
+
},
|
| 231 |
+
"params": {
|
| 232 |
+
"Region": "us-east-1",
|
| 233 |
+
"UseFIPS": true,
|
| 234 |
+
"UseDualStack": false
|
| 235 |
+
}
|
| 236 |
+
},
|
| 237 |
+
{
|
| 238 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
|
| 239 |
+
"expect": {
|
| 240 |
+
"endpoint": {
|
| 241 |
+
"url": "https://kinesisvideo.us-east-1.api.aws"
|
| 242 |
+
}
|
| 243 |
+
},
|
| 244 |
+
"params": {
|
| 245 |
+
"Region": "us-east-1",
|
| 246 |
+
"UseFIPS": false,
|
| 247 |
+
"UseDualStack": true
|
| 248 |
+
}
|
| 249 |
+
},
|
| 250 |
+
{
|
| 251 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled",
|
| 252 |
+
"expect": {
|
| 253 |
+
"endpoint": {
|
| 254 |
+
"url": "https://kinesisvideo-fips.cn-north-1.api.amazonwebservices.com.cn"
|
| 255 |
+
}
|
| 256 |
+
},
|
| 257 |
+
"params": {
|
| 258 |
+
"Region": "cn-north-1",
|
| 259 |
+
"UseFIPS": true,
|
| 260 |
+
"UseDualStack": true
|
| 261 |
+
}
|
| 262 |
+
},
|
| 263 |
+
{
|
| 264 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled",
|
| 265 |
+
"expect": {
|
| 266 |
+
"endpoint": {
|
| 267 |
+
"url": "https://kinesisvideo-fips.cn-north-1.amazonaws.com.cn"
|
| 268 |
+
}
|
| 269 |
+
},
|
| 270 |
+
"params": {
|
| 271 |
+
"Region": "cn-north-1",
|
| 272 |
+
"UseFIPS": true,
|
| 273 |
+
"UseDualStack": false
|
| 274 |
+
}
|
| 275 |
+
},
|
| 276 |
+
{
|
| 277 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled",
|
| 278 |
+
"expect": {
|
| 279 |
+
"endpoint": {
|
| 280 |
+
"url": "https://kinesisvideo.cn-north-1.api.amazonwebservices.com.cn"
|
| 281 |
+
}
|
| 282 |
+
},
|
| 283 |
+
"params": {
|
| 284 |
+
"Region": "cn-north-1",
|
| 285 |
+
"UseFIPS": false,
|
| 286 |
+
"UseDualStack": true
|
| 287 |
+
}
|
| 288 |
+
},
|
| 289 |
+
{
|
| 290 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled",
|
| 291 |
+
"expect": {
|
| 292 |
+
"endpoint": {
|
| 293 |
+
"url": "https://kinesisvideo.cn-north-1.amazonaws.com.cn"
|
| 294 |
+
}
|
| 295 |
+
},
|
| 296 |
+
"params": {
|
| 297 |
+
"Region": "cn-north-1",
|
| 298 |
+
"UseFIPS": false,
|
| 299 |
+
"UseDualStack": false
|
| 300 |
+
}
|
| 301 |
+
},
|
| 302 |
+
{
|
| 303 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled",
|
| 304 |
+
"expect": {
|
| 305 |
+
"endpoint": {
|
| 306 |
+
"url": "https://kinesisvideo-fips.us-gov-east-1.api.aws"
|
| 307 |
+
}
|
| 308 |
+
},
|
| 309 |
+
"params": {
|
| 310 |
+
"Region": "us-gov-east-1",
|
| 311 |
+
"UseFIPS": true,
|
| 312 |
+
"UseDualStack": true
|
| 313 |
+
}
|
| 314 |
+
},
|
| 315 |
+
{
|
| 316 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled",
|
| 317 |
+
"expect": {
|
| 318 |
+
"endpoint": {
|
| 319 |
+
"url": "https://kinesisvideo-fips.us-gov-east-1.amazonaws.com"
|
| 320 |
+
}
|
| 321 |
+
},
|
| 322 |
+
"params": {
|
| 323 |
+
"Region": "us-gov-east-1",
|
| 324 |
+
"UseFIPS": true,
|
| 325 |
+
"UseDualStack": false
|
| 326 |
+
}
|
| 327 |
+
},
|
| 328 |
+
{
|
| 329 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled",
|
| 330 |
+
"expect": {
|
| 331 |
+
"endpoint": {
|
| 332 |
+
"url": "https://kinesisvideo.us-gov-east-1.api.aws"
|
| 333 |
+
}
|
| 334 |
+
},
|
| 335 |
+
"params": {
|
| 336 |
+
"Region": "us-gov-east-1",
|
| 337 |
+
"UseFIPS": false,
|
| 338 |
+
"UseDualStack": true
|
| 339 |
+
}
|
| 340 |
+
},
|
| 341 |
+
{
|
| 342 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled",
|
| 343 |
+
"expect": {
|
| 344 |
+
"endpoint": {
|
| 345 |
+
"url": "https://kinesisvideo.us-gov-east-1.amazonaws.com"
|
| 346 |
+
}
|
| 347 |
+
},
|
| 348 |
+
"params": {
|
| 349 |
+
"Region": "us-gov-east-1",
|
| 350 |
+
"UseFIPS": false,
|
| 351 |
+
"UseDualStack": false
|
| 352 |
+
}
|
| 353 |
+
},
|
| 354 |
+
{
|
| 355 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
|
| 356 |
+
"expect": {
|
| 357 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 358 |
+
},
|
| 359 |
+
"params": {
|
| 360 |
+
"Region": "us-iso-east-1",
|
| 361 |
+
"UseFIPS": true,
|
| 362 |
+
"UseDualStack": true
|
| 363 |
+
}
|
| 364 |
+
},
|
| 365 |
+
{
|
| 366 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
|
| 367 |
+
"expect": {
|
| 368 |
+
"endpoint": {
|
| 369 |
+
"url": "https://kinesisvideo-fips.us-iso-east-1.c2s.ic.gov"
|
| 370 |
+
}
|
| 371 |
+
},
|
| 372 |
+
"params": {
|
| 373 |
+
"Region": "us-iso-east-1",
|
| 374 |
+
"UseFIPS": true,
|
| 375 |
+
"UseDualStack": false
|
| 376 |
+
}
|
| 377 |
+
},
|
| 378 |
+
{
|
| 379 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
|
| 380 |
+
"expect": {
|
| 381 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 382 |
+
},
|
| 383 |
+
"params": {
|
| 384 |
+
"Region": "us-iso-east-1",
|
| 385 |
+
"UseFIPS": false,
|
| 386 |
+
"UseDualStack": true
|
| 387 |
+
}
|
| 388 |
+
},
|
| 389 |
+
{
|
| 390 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
|
| 391 |
+
"expect": {
|
| 392 |
+
"endpoint": {
|
| 393 |
+
"url": "https://kinesisvideo.us-iso-east-1.c2s.ic.gov"
|
| 394 |
+
}
|
| 395 |
+
},
|
| 396 |
+
"params": {
|
| 397 |
+
"Region": "us-iso-east-1",
|
| 398 |
+
"UseFIPS": false,
|
| 399 |
+
"UseDualStack": false
|
| 400 |
+
}
|
| 401 |
+
},
|
| 402 |
+
{
|
| 403 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
|
| 404 |
+
"expect": {
|
| 405 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 406 |
+
},
|
| 407 |
+
"params": {
|
| 408 |
+
"Region": "us-isob-east-1",
|
| 409 |
+
"UseFIPS": true,
|
| 410 |
+
"UseDualStack": true
|
| 411 |
+
}
|
| 412 |
+
},
|
| 413 |
+
{
|
| 414 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
|
| 415 |
+
"expect": {
|
| 416 |
+
"endpoint": {
|
| 417 |
+
"url": "https://kinesisvideo-fips.us-isob-east-1.sc2s.sgov.gov"
|
| 418 |
+
}
|
| 419 |
+
},
|
| 420 |
+
"params": {
|
| 421 |
+
"Region": "us-isob-east-1",
|
| 422 |
+
"UseFIPS": true,
|
| 423 |
+
"UseDualStack": false
|
| 424 |
+
}
|
| 425 |
+
},
|
| 426 |
+
{
|
| 427 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
|
| 428 |
+
"expect": {
|
| 429 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 430 |
+
},
|
| 431 |
+
"params": {
|
| 432 |
+
"Region": "us-isob-east-1",
|
| 433 |
+
"UseFIPS": false,
|
| 434 |
+
"UseDualStack": true
|
| 435 |
+
}
|
| 436 |
+
},
|
| 437 |
+
{
|
| 438 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
|
| 439 |
+
"expect": {
|
| 440 |
+
"endpoint": {
|
| 441 |
+
"url": "https://kinesisvideo.us-isob-east-1.sc2s.sgov.gov"
|
| 442 |
+
}
|
| 443 |
+
},
|
| 444 |
+
"params": {
|
| 445 |
+
"Region": "us-isob-east-1",
|
| 446 |
+
"UseFIPS": false,
|
| 447 |
+
"UseDualStack": false
|
| 448 |
+
}
|
| 449 |
+
},
|
| 450 |
+
{
|
| 451 |
+
"documentation": "For custom endpoint with region set and fips disabled and dualstack disabled",
|
| 452 |
+
"expect": {
|
| 453 |
+
"endpoint": {
|
| 454 |
+
"url": "https://example.com"
|
| 455 |
+
}
|
| 456 |
+
},
|
| 457 |
+
"params": {
|
| 458 |
+
"Region": "us-east-1",
|
| 459 |
+
"UseFIPS": false,
|
| 460 |
+
"UseDualStack": false,
|
| 461 |
+
"Endpoint": "https://example.com"
|
| 462 |
+
}
|
| 463 |
+
},
|
| 464 |
+
{
|
| 465 |
+
"documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled",
|
| 466 |
+
"expect": {
|
| 467 |
+
"endpoint": {
|
| 468 |
+
"url": "https://example.com"
|
| 469 |
+
}
|
| 470 |
+
},
|
| 471 |
+
"params": {
|
| 472 |
+
"UseFIPS": false,
|
| 473 |
+
"UseDualStack": false,
|
| 474 |
+
"Endpoint": "https://example.com"
|
| 475 |
+
}
|
| 476 |
+
},
|
| 477 |
+
{
|
| 478 |
+
"documentation": "For custom endpoint with fips enabled and dualstack disabled",
|
| 479 |
+
"expect": {
|
| 480 |
+
"error": "Invalid Configuration: FIPS and custom endpoint are not supported"
|
| 481 |
+
},
|
| 482 |
+
"params": {
|
| 483 |
+
"Region": "us-east-1",
|
| 484 |
+
"UseFIPS": true,
|
| 485 |
+
"UseDualStack": false,
|
| 486 |
+
"Endpoint": "https://example.com"
|
| 487 |
+
}
|
| 488 |
+
},
|
| 489 |
+
{
|
| 490 |
+
"documentation": "For custom endpoint with fips disabled and dualstack enabled",
|
| 491 |
+
"expect": {
|
| 492 |
+
"error": "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
| 493 |
+
},
|
| 494 |
+
"params": {
|
| 495 |
+
"Region": "us-east-1",
|
| 496 |
+
"UseFIPS": false,
|
| 497 |
+
"UseDualStack": true,
|
| 498 |
+
"Endpoint": "https://example.com"
|
| 499 |
+
}
|
| 500 |
+
},
|
| 501 |
+
{
|
| 502 |
+
"documentation": "Missing region",
|
| 503 |
+
"expect": {
|
| 504 |
+
"error": "Invalid Configuration: Missing Region"
|
| 505 |
+
}
|
| 506 |
+
}
|
| 507 |
+
],
|
| 508 |
+
"version": "1.0"
|
| 509 |
+
}
|
testbed/boto__botocore/tests/functional/endpoint-rules/launch-wizard/endpoint-tests-1.json
ADDED
|
@@ -0,0 +1,314 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"testCases": [
|
| 3 |
+
{
|
| 4 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
|
| 5 |
+
"expect": {
|
| 6 |
+
"endpoint": {
|
| 7 |
+
"url": "https://launchwizard-fips.us-east-1.api.aws"
|
| 8 |
+
}
|
| 9 |
+
},
|
| 10 |
+
"params": {
|
| 11 |
+
"Region": "us-east-1",
|
| 12 |
+
"UseFIPS": true,
|
| 13 |
+
"UseDualStack": true
|
| 14 |
+
}
|
| 15 |
+
},
|
| 16 |
+
{
|
| 17 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
|
| 18 |
+
"expect": {
|
| 19 |
+
"endpoint": {
|
| 20 |
+
"url": "https://launchwizard-fips.us-east-1.amazonaws.com"
|
| 21 |
+
}
|
| 22 |
+
},
|
| 23 |
+
"params": {
|
| 24 |
+
"Region": "us-east-1",
|
| 25 |
+
"UseFIPS": true,
|
| 26 |
+
"UseDualStack": false
|
| 27 |
+
}
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
|
| 31 |
+
"expect": {
|
| 32 |
+
"endpoint": {
|
| 33 |
+
"url": "https://launchwizard.us-east-1.api.aws"
|
| 34 |
+
}
|
| 35 |
+
},
|
| 36 |
+
"params": {
|
| 37 |
+
"Region": "us-east-1",
|
| 38 |
+
"UseFIPS": false,
|
| 39 |
+
"UseDualStack": true
|
| 40 |
+
}
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
|
| 44 |
+
"expect": {
|
| 45 |
+
"endpoint": {
|
| 46 |
+
"url": "https://launchwizard.us-east-1.amazonaws.com"
|
| 47 |
+
}
|
| 48 |
+
},
|
| 49 |
+
"params": {
|
| 50 |
+
"Region": "us-east-1",
|
| 51 |
+
"UseFIPS": false,
|
| 52 |
+
"UseDualStack": false
|
| 53 |
+
}
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled",
|
| 57 |
+
"expect": {
|
| 58 |
+
"endpoint": {
|
| 59 |
+
"url": "https://launchwizard-fips.cn-north-1.api.amazonwebservices.com.cn"
|
| 60 |
+
}
|
| 61 |
+
},
|
| 62 |
+
"params": {
|
| 63 |
+
"Region": "cn-north-1",
|
| 64 |
+
"UseFIPS": true,
|
| 65 |
+
"UseDualStack": true
|
| 66 |
+
}
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled",
|
| 70 |
+
"expect": {
|
| 71 |
+
"endpoint": {
|
| 72 |
+
"url": "https://launchwizard-fips.cn-north-1.amazonaws.com.cn"
|
| 73 |
+
}
|
| 74 |
+
},
|
| 75 |
+
"params": {
|
| 76 |
+
"Region": "cn-north-1",
|
| 77 |
+
"UseFIPS": true,
|
| 78 |
+
"UseDualStack": false
|
| 79 |
+
}
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled",
|
| 83 |
+
"expect": {
|
| 84 |
+
"endpoint": {
|
| 85 |
+
"url": "https://launchwizard.cn-north-1.api.amazonwebservices.com.cn"
|
| 86 |
+
}
|
| 87 |
+
},
|
| 88 |
+
"params": {
|
| 89 |
+
"Region": "cn-north-1",
|
| 90 |
+
"UseFIPS": false,
|
| 91 |
+
"UseDualStack": true
|
| 92 |
+
}
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled",
|
| 96 |
+
"expect": {
|
| 97 |
+
"endpoint": {
|
| 98 |
+
"url": "https://launchwizard.cn-north-1.amazonaws.com.cn"
|
| 99 |
+
}
|
| 100 |
+
},
|
| 101 |
+
"params": {
|
| 102 |
+
"Region": "cn-north-1",
|
| 103 |
+
"UseFIPS": false,
|
| 104 |
+
"UseDualStack": false
|
| 105 |
+
}
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled",
|
| 109 |
+
"expect": {
|
| 110 |
+
"endpoint": {
|
| 111 |
+
"url": "https://launchwizard-fips.us-gov-east-1.api.aws"
|
| 112 |
+
}
|
| 113 |
+
},
|
| 114 |
+
"params": {
|
| 115 |
+
"Region": "us-gov-east-1",
|
| 116 |
+
"UseFIPS": true,
|
| 117 |
+
"UseDualStack": true
|
| 118 |
+
}
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled",
|
| 122 |
+
"expect": {
|
| 123 |
+
"endpoint": {
|
| 124 |
+
"url": "https://launchwizard-fips.us-gov-east-1.amazonaws.com"
|
| 125 |
+
}
|
| 126 |
+
},
|
| 127 |
+
"params": {
|
| 128 |
+
"Region": "us-gov-east-1",
|
| 129 |
+
"UseFIPS": true,
|
| 130 |
+
"UseDualStack": false
|
| 131 |
+
}
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled",
|
| 135 |
+
"expect": {
|
| 136 |
+
"endpoint": {
|
| 137 |
+
"url": "https://launchwizard.us-gov-east-1.api.aws"
|
| 138 |
+
}
|
| 139 |
+
},
|
| 140 |
+
"params": {
|
| 141 |
+
"Region": "us-gov-east-1",
|
| 142 |
+
"UseFIPS": false,
|
| 143 |
+
"UseDualStack": true
|
| 144 |
+
}
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled",
|
| 148 |
+
"expect": {
|
| 149 |
+
"endpoint": {
|
| 150 |
+
"url": "https://launchwizard.us-gov-east-1.amazonaws.com"
|
| 151 |
+
}
|
| 152 |
+
},
|
| 153 |
+
"params": {
|
| 154 |
+
"Region": "us-gov-east-1",
|
| 155 |
+
"UseFIPS": false,
|
| 156 |
+
"UseDualStack": false
|
| 157 |
+
}
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
|
| 161 |
+
"expect": {
|
| 162 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 163 |
+
},
|
| 164 |
+
"params": {
|
| 165 |
+
"Region": "us-iso-east-1",
|
| 166 |
+
"UseFIPS": true,
|
| 167 |
+
"UseDualStack": true
|
| 168 |
+
}
|
| 169 |
+
},
|
| 170 |
+
{
|
| 171 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
|
| 172 |
+
"expect": {
|
| 173 |
+
"endpoint": {
|
| 174 |
+
"url": "https://launchwizard-fips.us-iso-east-1.c2s.ic.gov"
|
| 175 |
+
}
|
| 176 |
+
},
|
| 177 |
+
"params": {
|
| 178 |
+
"Region": "us-iso-east-1",
|
| 179 |
+
"UseFIPS": true,
|
| 180 |
+
"UseDualStack": false
|
| 181 |
+
}
|
| 182 |
+
},
|
| 183 |
+
{
|
| 184 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
|
| 185 |
+
"expect": {
|
| 186 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 187 |
+
},
|
| 188 |
+
"params": {
|
| 189 |
+
"Region": "us-iso-east-1",
|
| 190 |
+
"UseFIPS": false,
|
| 191 |
+
"UseDualStack": true
|
| 192 |
+
}
|
| 193 |
+
},
|
| 194 |
+
{
|
| 195 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
|
| 196 |
+
"expect": {
|
| 197 |
+
"endpoint": {
|
| 198 |
+
"url": "https://launchwizard.us-iso-east-1.c2s.ic.gov"
|
| 199 |
+
}
|
| 200 |
+
},
|
| 201 |
+
"params": {
|
| 202 |
+
"Region": "us-iso-east-1",
|
| 203 |
+
"UseFIPS": false,
|
| 204 |
+
"UseDualStack": false
|
| 205 |
+
}
|
| 206 |
+
},
|
| 207 |
+
{
|
| 208 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
|
| 209 |
+
"expect": {
|
| 210 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 211 |
+
},
|
| 212 |
+
"params": {
|
| 213 |
+
"Region": "us-isob-east-1",
|
| 214 |
+
"UseFIPS": true,
|
| 215 |
+
"UseDualStack": true
|
| 216 |
+
}
|
| 217 |
+
},
|
| 218 |
+
{
|
| 219 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
|
| 220 |
+
"expect": {
|
| 221 |
+
"endpoint": {
|
| 222 |
+
"url": "https://launchwizard-fips.us-isob-east-1.sc2s.sgov.gov"
|
| 223 |
+
}
|
| 224 |
+
},
|
| 225 |
+
"params": {
|
| 226 |
+
"Region": "us-isob-east-1",
|
| 227 |
+
"UseFIPS": true,
|
| 228 |
+
"UseDualStack": false
|
| 229 |
+
}
|
| 230 |
+
},
|
| 231 |
+
{
|
| 232 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
|
| 233 |
+
"expect": {
|
| 234 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 235 |
+
},
|
| 236 |
+
"params": {
|
| 237 |
+
"Region": "us-isob-east-1",
|
| 238 |
+
"UseFIPS": false,
|
| 239 |
+
"UseDualStack": true
|
| 240 |
+
}
|
| 241 |
+
},
|
| 242 |
+
{
|
| 243 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
|
| 244 |
+
"expect": {
|
| 245 |
+
"endpoint": {
|
| 246 |
+
"url": "https://launchwizard.us-isob-east-1.sc2s.sgov.gov"
|
| 247 |
+
}
|
| 248 |
+
},
|
| 249 |
+
"params": {
|
| 250 |
+
"Region": "us-isob-east-1",
|
| 251 |
+
"UseFIPS": false,
|
| 252 |
+
"UseDualStack": false
|
| 253 |
+
}
|
| 254 |
+
},
|
| 255 |
+
{
|
| 256 |
+
"documentation": "For custom endpoint with region set and fips disabled and dualstack disabled",
|
| 257 |
+
"expect": {
|
| 258 |
+
"endpoint": {
|
| 259 |
+
"url": "https://example.com"
|
| 260 |
+
}
|
| 261 |
+
},
|
| 262 |
+
"params": {
|
| 263 |
+
"Region": "us-east-1",
|
| 264 |
+
"UseFIPS": false,
|
| 265 |
+
"UseDualStack": false,
|
| 266 |
+
"Endpoint": "https://example.com"
|
| 267 |
+
}
|
| 268 |
+
},
|
| 269 |
+
{
|
| 270 |
+
"documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled",
|
| 271 |
+
"expect": {
|
| 272 |
+
"endpoint": {
|
| 273 |
+
"url": "https://example.com"
|
| 274 |
+
}
|
| 275 |
+
},
|
| 276 |
+
"params": {
|
| 277 |
+
"UseFIPS": false,
|
| 278 |
+
"UseDualStack": false,
|
| 279 |
+
"Endpoint": "https://example.com"
|
| 280 |
+
}
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"documentation": "For custom endpoint with fips enabled and dualstack disabled",
|
| 284 |
+
"expect": {
|
| 285 |
+
"error": "Invalid Configuration: FIPS and custom endpoint are not supported"
|
| 286 |
+
},
|
| 287 |
+
"params": {
|
| 288 |
+
"Region": "us-east-1",
|
| 289 |
+
"UseFIPS": true,
|
| 290 |
+
"UseDualStack": false,
|
| 291 |
+
"Endpoint": "https://example.com"
|
| 292 |
+
}
|
| 293 |
+
},
|
| 294 |
+
{
|
| 295 |
+
"documentation": "For custom endpoint with fips disabled and dualstack enabled",
|
| 296 |
+
"expect": {
|
| 297 |
+
"error": "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
| 298 |
+
},
|
| 299 |
+
"params": {
|
| 300 |
+
"Region": "us-east-1",
|
| 301 |
+
"UseFIPS": false,
|
| 302 |
+
"UseDualStack": true,
|
| 303 |
+
"Endpoint": "https://example.com"
|
| 304 |
+
}
|
| 305 |
+
},
|
| 306 |
+
{
|
| 307 |
+
"documentation": "Missing region",
|
| 308 |
+
"expect": {
|
| 309 |
+
"error": "Invalid Configuration: Missing Region"
|
| 310 |
+
}
|
| 311 |
+
}
|
| 312 |
+
],
|
| 313 |
+
"version": "1.0"
|
| 314 |
+
}
|
testbed/boto__botocore/tests/functional/endpoint-rules/lex-runtime/endpoint-tests-1.json
ADDED
|
@@ -0,0 +1,511 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"testCases": [
|
| 3 |
+
{
|
| 4 |
+
"documentation": "For region eu-central-1 with FIPS enabled and DualStack enabled",
|
| 5 |
+
"expect": {
|
| 6 |
+
"endpoint": {
|
| 7 |
+
"url": "https://runtime.lex-fips.eu-central-1.api.aws"
|
| 8 |
+
}
|
| 9 |
+
},
|
| 10 |
+
"params": {
|
| 11 |
+
"Region": "eu-central-1",
|
| 12 |
+
"UseDualStack": true,
|
| 13 |
+
"UseFIPS": true
|
| 14 |
+
}
|
| 15 |
+
},
|
| 16 |
+
{
|
| 17 |
+
"documentation": "For region eu-central-1 with FIPS enabled and DualStack disabled",
|
| 18 |
+
"expect": {
|
| 19 |
+
"endpoint": {
|
| 20 |
+
"url": "https://runtime-fips.lex.eu-central-1.amazonaws.com"
|
| 21 |
+
}
|
| 22 |
+
},
|
| 23 |
+
"params": {
|
| 24 |
+
"Region": "eu-central-1",
|
| 25 |
+
"UseDualStack": false,
|
| 26 |
+
"UseFIPS": true
|
| 27 |
+
}
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"documentation": "For region eu-central-1 with FIPS disabled and DualStack enabled",
|
| 31 |
+
"expect": {
|
| 32 |
+
"endpoint": {
|
| 33 |
+
"url": "https://runtime.lex.eu-central-1.api.aws"
|
| 34 |
+
}
|
| 35 |
+
},
|
| 36 |
+
"params": {
|
| 37 |
+
"Region": "eu-central-1",
|
| 38 |
+
"UseDualStack": true,
|
| 39 |
+
"UseFIPS": false
|
| 40 |
+
}
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled",
|
| 44 |
+
"expect": {
|
| 45 |
+
"endpoint": {
|
| 46 |
+
"url": "https://runtime.lex.eu-central-1.amazonaws.com"
|
| 47 |
+
}
|
| 48 |
+
},
|
| 49 |
+
"params": {
|
| 50 |
+
"Region": "eu-central-1",
|
| 51 |
+
"UseDualStack": false,
|
| 52 |
+
"UseFIPS": false
|
| 53 |
+
}
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"documentation": "For region us-west-2 with FIPS enabled and DualStack enabled",
|
| 57 |
+
"expect": {
|
| 58 |
+
"endpoint": {
|
| 59 |
+
"url": "https://runtime.lex-fips.us-west-2.api.aws"
|
| 60 |
+
}
|
| 61 |
+
},
|
| 62 |
+
"params": {
|
| 63 |
+
"Region": "us-west-2",
|
| 64 |
+
"UseDualStack": true,
|
| 65 |
+
"UseFIPS": true
|
| 66 |
+
}
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"documentation": "For region us-west-2 with FIPS enabled and DualStack disabled",
|
| 70 |
+
"expect": {
|
| 71 |
+
"endpoint": {
|
| 72 |
+
"url": "https://runtime-fips.lex.us-west-2.amazonaws.com"
|
| 73 |
+
}
|
| 74 |
+
},
|
| 75 |
+
"params": {
|
| 76 |
+
"Region": "us-west-2",
|
| 77 |
+
"UseDualStack": false,
|
| 78 |
+
"UseFIPS": true
|
| 79 |
+
}
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"documentation": "For region us-west-2 with FIPS disabled and DualStack enabled",
|
| 83 |
+
"expect": {
|
| 84 |
+
"endpoint": {
|
| 85 |
+
"url": "https://runtime.lex.us-west-2.api.aws"
|
| 86 |
+
}
|
| 87 |
+
},
|
| 88 |
+
"params": {
|
| 89 |
+
"Region": "us-west-2",
|
| 90 |
+
"UseDualStack": true,
|
| 91 |
+
"UseFIPS": false
|
| 92 |
+
}
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"documentation": "For region us-west-2 with FIPS disabled and DualStack disabled",
|
| 96 |
+
"expect": {
|
| 97 |
+
"endpoint": {
|
| 98 |
+
"url": "https://runtime.lex.us-west-2.amazonaws.com"
|
| 99 |
+
}
|
| 100 |
+
},
|
| 101 |
+
"params": {
|
| 102 |
+
"Region": "us-west-2",
|
| 103 |
+
"UseDualStack": false,
|
| 104 |
+
"UseFIPS": false
|
| 105 |
+
}
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"documentation": "For region eu-west-2 with FIPS enabled and DualStack enabled",
|
| 109 |
+
"expect": {
|
| 110 |
+
"endpoint": {
|
| 111 |
+
"url": "https://runtime.lex-fips.eu-west-2.api.aws"
|
| 112 |
+
}
|
| 113 |
+
},
|
| 114 |
+
"params": {
|
| 115 |
+
"Region": "eu-west-2",
|
| 116 |
+
"UseDualStack": true,
|
| 117 |
+
"UseFIPS": true
|
| 118 |
+
}
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"documentation": "For region eu-west-2 with FIPS enabled and DualStack disabled",
|
| 122 |
+
"expect": {
|
| 123 |
+
"endpoint": {
|
| 124 |
+
"url": "https://runtime-fips.lex.eu-west-2.amazonaws.com"
|
| 125 |
+
}
|
| 126 |
+
},
|
| 127 |
+
"params": {
|
| 128 |
+
"Region": "eu-west-2",
|
| 129 |
+
"UseDualStack": false,
|
| 130 |
+
"UseFIPS": true
|
| 131 |
+
}
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
"documentation": "For region eu-west-2 with FIPS disabled and DualStack enabled",
|
| 135 |
+
"expect": {
|
| 136 |
+
"endpoint": {
|
| 137 |
+
"url": "https://runtime.lex.eu-west-2.api.aws"
|
| 138 |
+
}
|
| 139 |
+
},
|
| 140 |
+
"params": {
|
| 141 |
+
"Region": "eu-west-2",
|
| 142 |
+
"UseDualStack": true,
|
| 143 |
+
"UseFIPS": false
|
| 144 |
+
}
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled",
|
| 148 |
+
"expect": {
|
| 149 |
+
"endpoint": {
|
| 150 |
+
"url": "https://runtime.lex.eu-west-2.amazonaws.com"
|
| 151 |
+
}
|
| 152 |
+
},
|
| 153 |
+
"params": {
|
| 154 |
+
"Region": "eu-west-2",
|
| 155 |
+
"UseDualStack": false,
|
| 156 |
+
"UseFIPS": false
|
| 157 |
+
}
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"documentation": "For region eu-west-1 with FIPS enabled and DualStack enabled",
|
| 161 |
+
"expect": {
|
| 162 |
+
"endpoint": {
|
| 163 |
+
"url": "https://runtime.lex-fips.eu-west-1.api.aws"
|
| 164 |
+
}
|
| 165 |
+
},
|
| 166 |
+
"params": {
|
| 167 |
+
"Region": "eu-west-1",
|
| 168 |
+
"UseDualStack": true,
|
| 169 |
+
"UseFIPS": true
|
| 170 |
+
}
|
| 171 |
+
},
|
| 172 |
+
{
|
| 173 |
+
"documentation": "For region eu-west-1 with FIPS enabled and DualStack disabled",
|
| 174 |
+
"expect": {
|
| 175 |
+
"endpoint": {
|
| 176 |
+
"url": "https://runtime-fips.lex.eu-west-1.amazonaws.com"
|
| 177 |
+
}
|
| 178 |
+
},
|
| 179 |
+
"params": {
|
| 180 |
+
"Region": "eu-west-1",
|
| 181 |
+
"UseDualStack": false,
|
| 182 |
+
"UseFIPS": true
|
| 183 |
+
}
|
| 184 |
+
},
|
| 185 |
+
{
|
| 186 |
+
"documentation": "For region eu-west-1 with FIPS disabled and DualStack enabled",
|
| 187 |
+
"expect": {
|
| 188 |
+
"endpoint": {
|
| 189 |
+
"url": "https://runtime.lex.eu-west-1.api.aws"
|
| 190 |
+
}
|
| 191 |
+
},
|
| 192 |
+
"params": {
|
| 193 |
+
"Region": "eu-west-1",
|
| 194 |
+
"UseDualStack": true,
|
| 195 |
+
"UseFIPS": false
|
| 196 |
+
}
|
| 197 |
+
},
|
| 198 |
+
{
|
| 199 |
+
"documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled",
|
| 200 |
+
"expect": {
|
| 201 |
+
"endpoint": {
|
| 202 |
+
"url": "https://runtime.lex.eu-west-1.amazonaws.com"
|
| 203 |
+
}
|
| 204 |
+
},
|
| 205 |
+
"params": {
|
| 206 |
+
"Region": "eu-west-1",
|
| 207 |
+
"UseDualStack": false,
|
| 208 |
+
"UseFIPS": false
|
| 209 |
+
}
|
| 210 |
+
},
|
| 211 |
+
{
|
| 212 |
+
"documentation": "For region ap-northeast-1 with FIPS enabled and DualStack enabled",
|
| 213 |
+
"expect": {
|
| 214 |
+
"endpoint": {
|
| 215 |
+
"url": "https://runtime.lex-fips.ap-northeast-1.api.aws"
|
| 216 |
+
}
|
| 217 |
+
},
|
| 218 |
+
"params": {
|
| 219 |
+
"Region": "ap-northeast-1",
|
| 220 |
+
"UseDualStack": true,
|
| 221 |
+
"UseFIPS": true
|
| 222 |
+
}
|
| 223 |
+
},
|
| 224 |
+
{
|
| 225 |
+
"documentation": "For region ap-northeast-1 with FIPS enabled and DualStack disabled",
|
| 226 |
+
"expect": {
|
| 227 |
+
"endpoint": {
|
| 228 |
+
"url": "https://runtime-fips.lex.ap-northeast-1.amazonaws.com"
|
| 229 |
+
}
|
| 230 |
+
},
|
| 231 |
+
"params": {
|
| 232 |
+
"Region": "ap-northeast-1",
|
| 233 |
+
"UseDualStack": false,
|
| 234 |
+
"UseFIPS": true
|
| 235 |
+
}
|
| 236 |
+
},
|
| 237 |
+
{
|
| 238 |
+
"documentation": "For region ap-northeast-1 with FIPS disabled and DualStack enabled",
|
| 239 |
+
"expect": {
|
| 240 |
+
"endpoint": {
|
| 241 |
+
"url": "https://runtime.lex.ap-northeast-1.api.aws"
|
| 242 |
+
}
|
| 243 |
+
},
|
| 244 |
+
"params": {
|
| 245 |
+
"Region": "ap-northeast-1",
|
| 246 |
+
"UseDualStack": true,
|
| 247 |
+
"UseFIPS": false
|
| 248 |
+
}
|
| 249 |
+
},
|
| 250 |
+
{
|
| 251 |
+
"documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled",
|
| 252 |
+
"expect": {
|
| 253 |
+
"endpoint": {
|
| 254 |
+
"url": "https://runtime.lex.ap-northeast-1.amazonaws.com"
|
| 255 |
+
}
|
| 256 |
+
},
|
| 257 |
+
"params": {
|
| 258 |
+
"Region": "ap-northeast-1",
|
| 259 |
+
"UseDualStack": false,
|
| 260 |
+
"UseFIPS": false
|
| 261 |
+
}
|
| 262 |
+
},
|
| 263 |
+
{
|
| 264 |
+
"documentation": "For region us-gov-west-1 with FIPS enabled and DualStack enabled",
|
| 265 |
+
"expect": {
|
| 266 |
+
"endpoint": {
|
| 267 |
+
"url": "https://runtime.lex-fips.us-gov-west-1.api.aws"
|
| 268 |
+
}
|
| 269 |
+
},
|
| 270 |
+
"params": {
|
| 271 |
+
"Region": "us-gov-west-1",
|
| 272 |
+
"UseDualStack": true,
|
| 273 |
+
"UseFIPS": true
|
| 274 |
+
}
|
| 275 |
+
},
|
| 276 |
+
{
|
| 277 |
+
"documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled",
|
| 278 |
+
"expect": {
|
| 279 |
+
"endpoint": {
|
| 280 |
+
"url": "https://runtime-fips.lex.us-gov-west-1.amazonaws.com"
|
| 281 |
+
}
|
| 282 |
+
},
|
| 283 |
+
"params": {
|
| 284 |
+
"Region": "us-gov-west-1",
|
| 285 |
+
"UseDualStack": false,
|
| 286 |
+
"UseFIPS": true
|
| 287 |
+
}
|
| 288 |
+
},
|
| 289 |
+
{
|
| 290 |
+
"documentation": "For region us-gov-west-1 with FIPS disabled and DualStack enabled",
|
| 291 |
+
"expect": {
|
| 292 |
+
"endpoint": {
|
| 293 |
+
"url": "https://runtime.lex.us-gov-west-1.api.aws"
|
| 294 |
+
}
|
| 295 |
+
},
|
| 296 |
+
"params": {
|
| 297 |
+
"Region": "us-gov-west-1",
|
| 298 |
+
"UseDualStack": true,
|
| 299 |
+
"UseFIPS": false
|
| 300 |
+
}
|
| 301 |
+
},
|
| 302 |
+
{
|
| 303 |
+
"documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled",
|
| 304 |
+
"expect": {
|
| 305 |
+
"endpoint": {
|
| 306 |
+
"url": "https://runtime.lex.us-gov-west-1.amazonaws.com"
|
| 307 |
+
}
|
| 308 |
+
},
|
| 309 |
+
"params": {
|
| 310 |
+
"Region": "us-gov-west-1",
|
| 311 |
+
"UseDualStack": false,
|
| 312 |
+
"UseFIPS": false
|
| 313 |
+
}
|
| 314 |
+
},
|
| 315 |
+
{
|
| 316 |
+
"documentation": "For region ap-southeast-1 with FIPS enabled and DualStack enabled",
|
| 317 |
+
"expect": {
|
| 318 |
+
"endpoint": {
|
| 319 |
+
"url": "https://runtime.lex-fips.ap-southeast-1.api.aws"
|
| 320 |
+
}
|
| 321 |
+
},
|
| 322 |
+
"params": {
|
| 323 |
+
"Region": "ap-southeast-1",
|
| 324 |
+
"UseDualStack": true,
|
| 325 |
+
"UseFIPS": true
|
| 326 |
+
}
|
| 327 |
+
},
|
| 328 |
+
{
|
| 329 |
+
"documentation": "For region ap-southeast-1 with FIPS enabled and DualStack disabled",
|
| 330 |
+
"expect": {
|
| 331 |
+
"endpoint": {
|
| 332 |
+
"url": "https://runtime-fips.lex.ap-southeast-1.amazonaws.com"
|
| 333 |
+
}
|
| 334 |
+
},
|
| 335 |
+
"params": {
|
| 336 |
+
"Region": "ap-southeast-1",
|
| 337 |
+
"UseDualStack": false,
|
| 338 |
+
"UseFIPS": true
|
| 339 |
+
}
|
| 340 |
+
},
|
| 341 |
+
{
|
| 342 |
+
"documentation": "For region ap-southeast-1 with FIPS disabled and DualStack enabled",
|
| 343 |
+
"expect": {
|
| 344 |
+
"endpoint": {
|
| 345 |
+
"url": "https://runtime.lex.ap-southeast-1.api.aws"
|
| 346 |
+
}
|
| 347 |
+
},
|
| 348 |
+
"params": {
|
| 349 |
+
"Region": "ap-southeast-1",
|
| 350 |
+
"UseDualStack": true,
|
| 351 |
+
"UseFIPS": false
|
| 352 |
+
}
|
| 353 |
+
},
|
| 354 |
+
{
|
| 355 |
+
"documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled",
|
| 356 |
+
"expect": {
|
| 357 |
+
"endpoint": {
|
| 358 |
+
"url": "https://runtime.lex.ap-southeast-1.amazonaws.com"
|
| 359 |
+
}
|
| 360 |
+
},
|
| 361 |
+
"params": {
|
| 362 |
+
"Region": "ap-southeast-1",
|
| 363 |
+
"UseDualStack": false,
|
| 364 |
+
"UseFIPS": false
|
| 365 |
+
}
|
| 366 |
+
},
|
| 367 |
+
{
|
| 368 |
+
"documentation": "For region ap-southeast-2 with FIPS enabled and DualStack enabled",
|
| 369 |
+
"expect": {
|
| 370 |
+
"endpoint": {
|
| 371 |
+
"url": "https://runtime.lex-fips.ap-southeast-2.api.aws"
|
| 372 |
+
}
|
| 373 |
+
},
|
| 374 |
+
"params": {
|
| 375 |
+
"Region": "ap-southeast-2",
|
| 376 |
+
"UseDualStack": true,
|
| 377 |
+
"UseFIPS": true
|
| 378 |
+
}
|
| 379 |
+
},
|
| 380 |
+
{
|
| 381 |
+
"documentation": "For region ap-southeast-2 with FIPS enabled and DualStack disabled",
|
| 382 |
+
"expect": {
|
| 383 |
+
"endpoint": {
|
| 384 |
+
"url": "https://runtime-fips.lex.ap-southeast-2.amazonaws.com"
|
| 385 |
+
}
|
| 386 |
+
},
|
| 387 |
+
"params": {
|
| 388 |
+
"Region": "ap-southeast-2",
|
| 389 |
+
"UseDualStack": false,
|
| 390 |
+
"UseFIPS": true
|
| 391 |
+
}
|
| 392 |
+
},
|
| 393 |
+
{
|
| 394 |
+
"documentation": "For region ap-southeast-2 with FIPS disabled and DualStack enabled",
|
| 395 |
+
"expect": {
|
| 396 |
+
"endpoint": {
|
| 397 |
+
"url": "https://runtime.lex.ap-southeast-2.api.aws"
|
| 398 |
+
}
|
| 399 |
+
},
|
| 400 |
+
"params": {
|
| 401 |
+
"Region": "ap-southeast-2",
|
| 402 |
+
"UseDualStack": true,
|
| 403 |
+
"UseFIPS": false
|
| 404 |
+
}
|
| 405 |
+
},
|
| 406 |
+
{
|
| 407 |
+
"documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled",
|
| 408 |
+
"expect": {
|
| 409 |
+
"endpoint": {
|
| 410 |
+
"url": "https://runtime.lex.ap-southeast-2.amazonaws.com"
|
| 411 |
+
}
|
| 412 |
+
},
|
| 413 |
+
"params": {
|
| 414 |
+
"Region": "ap-southeast-2",
|
| 415 |
+
"UseDualStack": false,
|
| 416 |
+
"UseFIPS": false
|
| 417 |
+
}
|
| 418 |
+
},
|
| 419 |
+
{
|
| 420 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
|
| 421 |
+
"expect": {
|
| 422 |
+
"endpoint": {
|
| 423 |
+
"url": "https://runtime.lex-fips.us-east-1.api.aws"
|
| 424 |
+
}
|
| 425 |
+
},
|
| 426 |
+
"params": {
|
| 427 |
+
"Region": "us-east-1",
|
| 428 |
+
"UseDualStack": true,
|
| 429 |
+
"UseFIPS": true
|
| 430 |
+
}
|
| 431 |
+
},
|
| 432 |
+
{
|
| 433 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
|
| 434 |
+
"expect": {
|
| 435 |
+
"endpoint": {
|
| 436 |
+
"url": "https://runtime-fips.lex.us-east-1.amazonaws.com"
|
| 437 |
+
}
|
| 438 |
+
},
|
| 439 |
+
"params": {
|
| 440 |
+
"Region": "us-east-1",
|
| 441 |
+
"UseDualStack": false,
|
| 442 |
+
"UseFIPS": true
|
| 443 |
+
}
|
| 444 |
+
},
|
| 445 |
+
{
|
| 446 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
|
| 447 |
+
"expect": {
|
| 448 |
+
"endpoint": {
|
| 449 |
+
"url": "https://runtime.lex.us-east-1.api.aws"
|
| 450 |
+
}
|
| 451 |
+
},
|
| 452 |
+
"params": {
|
| 453 |
+
"Region": "us-east-1",
|
| 454 |
+
"UseDualStack": true,
|
| 455 |
+
"UseFIPS": false
|
| 456 |
+
}
|
| 457 |
+
},
|
| 458 |
+
{
|
| 459 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
|
| 460 |
+
"expect": {
|
| 461 |
+
"endpoint": {
|
| 462 |
+
"url": "https://runtime.lex.us-east-1.amazonaws.com"
|
| 463 |
+
}
|
| 464 |
+
},
|
| 465 |
+
"params": {
|
| 466 |
+
"Region": "us-east-1",
|
| 467 |
+
"UseDualStack": false,
|
| 468 |
+
"UseFIPS": false
|
| 469 |
+
}
|
| 470 |
+
},
|
| 471 |
+
{
|
| 472 |
+
"documentation": "For custom endpoint with fips disabled and dualstack disabled",
|
| 473 |
+
"expect": {
|
| 474 |
+
"endpoint": {
|
| 475 |
+
"url": "https://example.com"
|
| 476 |
+
}
|
| 477 |
+
},
|
| 478 |
+
"params": {
|
| 479 |
+
"Region": "us-east-1",
|
| 480 |
+
"UseDualStack": false,
|
| 481 |
+
"UseFIPS": false,
|
| 482 |
+
"Endpoint": "https://example.com"
|
| 483 |
+
}
|
| 484 |
+
},
|
| 485 |
+
{
|
| 486 |
+
"documentation": "For custom endpoint with fips enabled and dualstack disabled",
|
| 487 |
+
"expect": {
|
| 488 |
+
"error": "Invalid Configuration: FIPS and custom endpoint are not supported"
|
| 489 |
+
},
|
| 490 |
+
"params": {
|
| 491 |
+
"Region": "us-east-1",
|
| 492 |
+
"UseDualStack": false,
|
| 493 |
+
"UseFIPS": true,
|
| 494 |
+
"Endpoint": "https://example.com"
|
| 495 |
+
}
|
| 496 |
+
},
|
| 497 |
+
{
|
| 498 |
+
"documentation": "For custom endpoint with fips disabled and dualstack enabled",
|
| 499 |
+
"expect": {
|
| 500 |
+
"error": "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
| 501 |
+
},
|
| 502 |
+
"params": {
|
| 503 |
+
"Region": "us-east-1",
|
| 504 |
+
"UseDualStack": true,
|
| 505 |
+
"UseFIPS": false,
|
| 506 |
+
"Endpoint": "https://example.com"
|
| 507 |
+
}
|
| 508 |
+
}
|
| 509 |
+
],
|
| 510 |
+
"version": "1.0"
|
| 511 |
+
}
|
testbed/boto__botocore/tests/functional/endpoint-rules/lexv2-models/endpoint-tests-1.json
ADDED
|
@@ -0,0 +1,444 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
| 9 |
+
},
|
| 10 |
+
"params": {
|
| 11 |
+
"Region": "af-south-1",
|
| 12 |
+
"UseFIPS": false,
|
| 13 |
+
"UseDualStack": false
|
| 14 |
+
}
|
| 15 |
+
},
|
| 16 |
+
{
|
| 17 |
+
"documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled",
|
| 18 |
+
"expect": {
|
| 19 |
+
"endpoint": {
|
| 20 |
+
"url": "https://models-v2-lex.ap-northeast-1.amazonaws.com"
|
| 21 |
+
}
|
| 22 |
+
},
|
| 23 |
+
"params": {
|
| 24 |
+
"Region": "ap-northeast-1",
|
| 25 |
+
"UseFIPS": false,
|
| 26 |
+
"UseDualStack": false
|
| 27 |
+
}
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled",
|
| 31 |
+
"expect": {
|
| 32 |
+
"endpoint": {
|
| 33 |
+
"url": "https://models-v2-lex.ap-northeast-2.amazonaws.com"
|
| 34 |
+
}
|
| 35 |
+
},
|
| 36 |
+
"params": {
|
| 37 |
+
"Region": "ap-northeast-2",
|
| 38 |
+
"UseFIPS": false,
|
| 39 |
+
"UseDualStack": false
|
| 40 |
+
}
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled",
|
| 44 |
+
"expect": {
|
| 45 |
+
"endpoint": {
|
| 46 |
+
"url": "https://models-v2-lex.ap-southeast-1.amazonaws.com"
|
| 47 |
+
}
|
| 48 |
+
},
|
| 49 |
+
"params": {
|
| 50 |
+
"Region": "ap-southeast-1",
|
| 51 |
+
"UseFIPS": false,
|
| 52 |
+
"UseDualStack": false
|
| 53 |
+
}
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled",
|
| 57 |
+
"expect": {
|
| 58 |
+
"endpoint": {
|
| 59 |
+
"url": "https://models-v2-lex.ap-southeast-2.amazonaws.com"
|
| 60 |
+
}
|
| 61 |
+
},
|
| 62 |
+
"params": {
|
| 63 |
+
"Region": "ap-southeast-2",
|
| 64 |
+
"UseFIPS": false,
|
| 65 |
+
"UseDualStack": false
|
| 66 |
+
}
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled",
|
| 70 |
+
"expect": {
|
| 71 |
+
"endpoint": {
|
| 72 |
+
"url": "https://models-v2-lex.ca-central-1.amazonaws.com"
|
| 73 |
+
}
|
| 74 |
+
},
|
| 75 |
+
"params": {
|
| 76 |
+
"Region": "ca-central-1",
|
| 77 |
+
"UseFIPS": false,
|
| 78 |
+
"UseDualStack": false
|
| 79 |
+
}
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled",
|
| 83 |
+
"expect": {
|
| 84 |
+
"endpoint": {
|
| 85 |
+
"url": "https://models-v2-lex.eu-central-1.amazonaws.com"
|
| 86 |
+
}
|
| 87 |
+
},
|
| 88 |
+
"params": {
|
| 89 |
+
"Region": "eu-central-1",
|
| 90 |
+
"UseFIPS": false,
|
| 91 |
+
"UseDualStack": false
|
| 92 |
+
}
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled",
|
| 96 |
+
"expect": {
|
| 97 |
+
"endpoint": {
|
| 98 |
+
"url": "https://models-v2-lex.eu-west-1.amazonaws.com"
|
| 99 |
+
}
|
| 100 |
+
},
|
| 101 |
+
"params": {
|
| 102 |
+
"Region": "eu-west-1",
|
| 103 |
+
"UseFIPS": false,
|
| 104 |
+
"UseDualStack": false
|
| 105 |
+
}
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled",
|
| 109 |
+
"expect": {
|
| 110 |
+
"endpoint": {
|
| 111 |
+
"url": "https://models-v2-lex.eu-west-2.amazonaws.com"
|
| 112 |
+
}
|
| 113 |
+
},
|
| 114 |
+
"params": {
|
| 115 |
+
"Region": "eu-west-2",
|
| 116 |
+
"UseFIPS": false,
|
| 117 |
+
"UseDualStack": false
|
| 118 |
+
}
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
|
| 122 |
+
"expect": {
|
| 123 |
+
"endpoint": {
|
| 124 |
+
"url": "https://models-v2-lex.us-east-1.amazonaws.com"
|
| 125 |
+
}
|
| 126 |
+
},
|
| 127 |
+
"params": {
|
| 128 |
+
"Region": "us-east-1",
|
| 129 |
+
"UseFIPS": false,
|
| 130 |
+
"UseDualStack": false
|
| 131 |
+
}
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
"documentation": "For region us-west-2 with FIPS disabled and DualStack disabled",
|
| 135 |
+
"expect": {
|
| 136 |
+
"endpoint": {
|
| 137 |
+
"url": "https://models-v2-lex.us-west-2.amazonaws.com"
|
| 138 |
+
}
|
| 139 |
+
},
|
| 140 |
+
"params": {
|
| 141 |
+
"Region": "us-west-2",
|
| 142 |
+
"UseFIPS": false,
|
| 143 |
+
"UseDualStack": false
|
| 144 |
+
}
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
|
| 148 |
+
"expect": {
|
| 149 |
+
"endpoint": {
|
| 150 |
+
"url": "https://models-v2-lex-fips.us-east-1.api.aws"
|
| 151 |
+
}
|
| 152 |
+
},
|
| 153 |
+
"params": {
|
| 154 |
+
"Region": "us-east-1",
|
| 155 |
+
"UseFIPS": true,
|
| 156 |
+
"UseDualStack": true
|
| 157 |
+
}
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
|
| 161 |
+
"expect": {
|
| 162 |
+
"endpoint": {
|
| 163 |
+
"url": "https://models-v2-lex-fips.us-east-1.amazonaws.com"
|
| 164 |
+
}
|
| 165 |
+
},
|
| 166 |
+
"params": {
|
| 167 |
+
"Region": "us-east-1",
|
| 168 |
+
"UseFIPS": true,
|
| 169 |
+
"UseDualStack": false
|
| 170 |
+
}
|
| 171 |
+
},
|
| 172 |
+
{
|
| 173 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
|
| 174 |
+
"expect": {
|
| 175 |
+
"endpoint": {
|
| 176 |
+
"url": "https://models-v2-lex.us-east-1.api.aws"
|
| 177 |
+
}
|
| 178 |
+
},
|
| 179 |
+
"params": {
|
| 180 |
+
"Region": "us-east-1",
|
| 181 |
+
"UseFIPS": false,
|
| 182 |
+
"UseDualStack": true
|
| 183 |
+
}
|
| 184 |
+
},
|
| 185 |
+
{
|
| 186 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled",
|
| 187 |
+
"expect": {
|
| 188 |
+
"endpoint": {
|
| 189 |
+
"url": "https://models-v2-lex-fips.cn-north-1.api.amazonwebservices.com.cn"
|
| 190 |
+
}
|
| 191 |
+
},
|
| 192 |
+
"params": {
|
| 193 |
+
"Region": "cn-north-1",
|
| 194 |
+
"UseFIPS": true,
|
| 195 |
+
"UseDualStack": true
|
| 196 |
+
}
|
| 197 |
+
},
|
| 198 |
+
{
|
| 199 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled",
|
| 200 |
+
"expect": {
|
| 201 |
+
"endpoint": {
|
| 202 |
+
"url": "https://models-v2-lex-fips.cn-north-1.amazonaws.com.cn"
|
| 203 |
+
}
|
| 204 |
+
},
|
| 205 |
+
"params": {
|
| 206 |
+
"Region": "cn-north-1",
|
| 207 |
+
"UseFIPS": true,
|
| 208 |
+
"UseDualStack": false
|
| 209 |
+
}
|
| 210 |
+
},
|
| 211 |
+
{
|
| 212 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled",
|
| 213 |
+
"expect": {
|
| 214 |
+
"endpoint": {
|
| 215 |
+
"url": "https://models-v2-lex.cn-north-1.api.amazonwebservices.com.cn"
|
| 216 |
+
}
|
| 217 |
+
},
|
| 218 |
+
"params": {
|
| 219 |
+
"Region": "cn-north-1",
|
| 220 |
+
"UseFIPS": false,
|
| 221 |
+
"UseDualStack": true
|
| 222 |
+
}
|
| 223 |
+
},
|
| 224 |
+
{
|
| 225 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled",
|
| 226 |
+
"expect": {
|
| 227 |
+
"endpoint": {
|
| 228 |
+
"url": "https://models-v2-lex.cn-north-1.amazonaws.com.cn"
|
| 229 |
+
}
|
| 230 |
+
},
|
| 231 |
+
"params": {
|
| 232 |
+
"Region": "cn-north-1",
|
| 233 |
+
"UseFIPS": false,
|
| 234 |
+
"UseDualStack": false
|
| 235 |
+
}
|
| 236 |
+
},
|
| 237 |
+
{
|
| 238 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled",
|
| 239 |
+
"expect": {
|
| 240 |
+
"endpoint": {
|
| 241 |
+
"url": "https://models-v2-lex-fips.us-gov-east-1.api.aws"
|
| 242 |
+
}
|
| 243 |
+
},
|
| 244 |
+
"params": {
|
| 245 |
+
"Region": "us-gov-east-1",
|
| 246 |
+
"UseFIPS": true,
|
| 247 |
+
"UseDualStack": true
|
| 248 |
+
}
|
| 249 |
+
},
|
| 250 |
+
{
|
| 251 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled",
|
| 252 |
+
"expect": {
|
| 253 |
+
"endpoint": {
|
| 254 |
+
"url": "https://models-v2-lex-fips.us-gov-east-1.amazonaws.com"
|
| 255 |
+
}
|
| 256 |
+
},
|
| 257 |
+
"params": {
|
| 258 |
+
"Region": "us-gov-east-1",
|
| 259 |
+
"UseFIPS": true,
|
| 260 |
+
"UseDualStack": false
|
| 261 |
+
}
|
| 262 |
+
},
|
| 263 |
+
{
|
| 264 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled",
|
| 265 |
+
"expect": {
|
| 266 |
+
"endpoint": {
|
| 267 |
+
"url": "https://models-v2-lex.us-gov-east-1.api.aws"
|
| 268 |
+
}
|
| 269 |
+
},
|
| 270 |
+
"params": {
|
| 271 |
+
"Region": "us-gov-east-1",
|
| 272 |
+
"UseFIPS": false,
|
| 273 |
+
"UseDualStack": true
|
| 274 |
+
}
|
| 275 |
+
},
|
| 276 |
+
{
|
| 277 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled",
|
| 278 |
+
"expect": {
|
| 279 |
+
"endpoint": {
|
| 280 |
+
"url": "https://models-v2-lex.us-gov-east-1.amazonaws.com"
|
| 281 |
+
}
|
| 282 |
+
},
|
| 283 |
+
"params": {
|
| 284 |
+
"Region": "us-gov-east-1",
|
| 285 |
+
"UseFIPS": false,
|
| 286 |
+
"UseDualStack": false
|
| 287 |
+
}
|
| 288 |
+
},
|
| 289 |
+
{
|
| 290 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
|
| 291 |
+
"expect": {
|
| 292 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 293 |
+
},
|
| 294 |
+
"params": {
|
| 295 |
+
"Region": "us-iso-east-1",
|
| 296 |
+
"UseFIPS": true,
|
| 297 |
+
"UseDualStack": true
|
| 298 |
+
}
|
| 299 |
+
},
|
| 300 |
+
{
|
| 301 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
|
| 302 |
+
"expect": {
|
| 303 |
+
"endpoint": {
|
| 304 |
+
"url": "https://models-v2-lex-fips.us-iso-east-1.c2s.ic.gov"
|
| 305 |
+
}
|
| 306 |
+
},
|
| 307 |
+
"params": {
|
| 308 |
+
"Region": "us-iso-east-1",
|
| 309 |
+
"UseFIPS": true,
|
| 310 |
+
"UseDualStack": false
|
| 311 |
+
}
|
| 312 |
+
},
|
| 313 |
+
{
|
| 314 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
|
| 315 |
+
"expect": {
|
| 316 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 317 |
+
},
|
| 318 |
+
"params": {
|
| 319 |
+
"Region": "us-iso-east-1",
|
| 320 |
+
"UseFIPS": false,
|
| 321 |
+
"UseDualStack": true
|
| 322 |
+
}
|
| 323 |
+
},
|
| 324 |
+
{
|
| 325 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
|
| 326 |
+
"expect": {
|
| 327 |
+
"endpoint": {
|
| 328 |
+
"url": "https://models-v2-lex.us-iso-east-1.c2s.ic.gov"
|
| 329 |
+
}
|
| 330 |
+
},
|
| 331 |
+
"params": {
|
| 332 |
+
"Region": "us-iso-east-1",
|
| 333 |
+
"UseFIPS": false,
|
| 334 |
+
"UseDualStack": false
|
| 335 |
+
}
|
| 336 |
+
},
|
| 337 |
+
{
|
| 338 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
|
| 339 |
+
"expect": {
|
| 340 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 341 |
+
},
|
| 342 |
+
"params": {
|
| 343 |
+
"Region": "us-isob-east-1",
|
| 344 |
+
"UseFIPS": true,
|
| 345 |
+
"UseDualStack": true
|
| 346 |
+
}
|
| 347 |
+
},
|
| 348 |
+
{
|
| 349 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
|
| 350 |
+
"expect": {
|
| 351 |
+
"endpoint": {
|
| 352 |
+
"url": "https://models-v2-lex-fips.us-isob-east-1.sc2s.sgov.gov"
|
| 353 |
+
}
|
| 354 |
+
},
|
| 355 |
+
"params": {
|
| 356 |
+
"Region": "us-isob-east-1",
|
| 357 |
+
"UseFIPS": true,
|
| 358 |
+
"UseDualStack": false
|
| 359 |
+
}
|
| 360 |
+
},
|
| 361 |
+
{
|
| 362 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
|
| 363 |
+
"expect": {
|
| 364 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 365 |
+
},
|
| 366 |
+
"params": {
|
| 367 |
+
"Region": "us-isob-east-1",
|
| 368 |
+
"UseFIPS": false,
|
| 369 |
+
"UseDualStack": true
|
| 370 |
+
}
|
| 371 |
+
},
|
| 372 |
+
{
|
| 373 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
|
| 374 |
+
"expect": {
|
| 375 |
+
"endpoint": {
|
| 376 |
+
"url": "https://models-v2-lex.us-isob-east-1.sc2s.sgov.gov"
|
| 377 |
+
}
|
| 378 |
+
},
|
| 379 |
+
"params": {
|
| 380 |
+
"Region": "us-isob-east-1",
|
| 381 |
+
"UseFIPS": false,
|
| 382 |
+
"UseDualStack": false
|
| 383 |
+
}
|
| 384 |
+
},
|
| 385 |
+
{
|
| 386 |
+
"documentation": "For custom endpoint with region set and fips disabled and dualstack disabled",
|
| 387 |
+
"expect": {
|
| 388 |
+
"endpoint": {
|
| 389 |
+
"url": "https://example.com"
|
| 390 |
+
}
|
| 391 |
+
},
|
| 392 |
+
"params": {
|
| 393 |
+
"Region": "us-east-1",
|
| 394 |
+
"UseFIPS": false,
|
| 395 |
+
"UseDualStack": false,
|
| 396 |
+
"Endpoint": "https://example.com"
|
| 397 |
+
}
|
| 398 |
+
},
|
| 399 |
+
{
|
| 400 |
+
"documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled",
|
| 401 |
+
"expect": {
|
| 402 |
+
"endpoint": {
|
| 403 |
+
"url": "https://example.com"
|
| 404 |
+
}
|
| 405 |
+
},
|
| 406 |
+
"params": {
|
| 407 |
+
"UseFIPS": false,
|
| 408 |
+
"UseDualStack": false,
|
| 409 |
+
"Endpoint": "https://example.com"
|
| 410 |
+
}
|
| 411 |
+
},
|
| 412 |
+
{
|
| 413 |
+
"documentation": "For custom endpoint with fips enabled and dualstack disabled",
|
| 414 |
+
"expect": {
|
| 415 |
+
"error": "Invalid Configuration: FIPS and custom endpoint are not supported"
|
| 416 |
+
},
|
| 417 |
+
"params": {
|
| 418 |
+
"Region": "us-east-1",
|
| 419 |
+
"UseFIPS": true,
|
| 420 |
+
"UseDualStack": false,
|
| 421 |
+
"Endpoint": "https://example.com"
|
| 422 |
+
}
|
| 423 |
+
},
|
| 424 |
+
{
|
| 425 |
+
"documentation": "For custom endpoint with fips disabled and dualstack enabled",
|
| 426 |
+
"expect": {
|
| 427 |
+
"error": "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
| 428 |
+
},
|
| 429 |
+
"params": {
|
| 430 |
+
"Region": "us-east-1",
|
| 431 |
+
"UseFIPS": false,
|
| 432 |
+
"UseDualStack": true,
|
| 433 |
+
"Endpoint": "https://example.com"
|
| 434 |
+
}
|
| 435 |
+
},
|
| 436 |
+
{
|
| 437 |
+
"documentation": "Missing region",
|
| 438 |
+
"expect": {
|
| 439 |
+
"error": "Invalid Configuration: Missing Region"
|
| 440 |
+
}
|
| 441 |
+
}
|
| 442 |
+
],
|
| 443 |
+
"version": "1.0"
|
| 444 |
+
}
|
testbed/boto__botocore/tests/functional/endpoint-rules/lexv2-runtime/endpoint-tests-1.json
ADDED
|
@@ -0,0 +1,444 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"testCases": [
|
| 3 |
+
{
|
| 4 |
+
"documentation": "For region af-south-1 with FIPS disabled and DualStack disabled",
|
| 5 |
+
"expect": {
|
| 6 |
+
"endpoint": {
|
| 7 |
+
"url": "https://runtime-v2-lex.af-south-1.amazonaws.com"
|
| 8 |
+
}
|
| 9 |
+
},
|
| 10 |
+
"params": {
|
| 11 |
+
"Region": "af-south-1",
|
| 12 |
+
"UseFIPS": false,
|
| 13 |
+
"UseDualStack": false
|
| 14 |
+
}
|
| 15 |
+
},
|
| 16 |
+
{
|
| 17 |
+
"documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled",
|
| 18 |
+
"expect": {
|
| 19 |
+
"endpoint": {
|
| 20 |
+
"url": "https://runtime-v2-lex.ap-northeast-1.amazonaws.com"
|
| 21 |
+
}
|
| 22 |
+
},
|
| 23 |
+
"params": {
|
| 24 |
+
"Region": "ap-northeast-1",
|
| 25 |
+
"UseFIPS": false,
|
| 26 |
+
"UseDualStack": false
|
| 27 |
+
}
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled",
|
| 31 |
+
"expect": {
|
| 32 |
+
"endpoint": {
|
| 33 |
+
"url": "https://runtime-v2-lex.ap-northeast-2.amazonaws.com"
|
| 34 |
+
}
|
| 35 |
+
},
|
| 36 |
+
"params": {
|
| 37 |
+
"Region": "ap-northeast-2",
|
| 38 |
+
"UseFIPS": false,
|
| 39 |
+
"UseDualStack": false
|
| 40 |
+
}
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled",
|
| 44 |
+
"expect": {
|
| 45 |
+
"endpoint": {
|
| 46 |
+
"url": "https://runtime-v2-lex.ap-southeast-1.amazonaws.com"
|
| 47 |
+
}
|
| 48 |
+
},
|
| 49 |
+
"params": {
|
| 50 |
+
"Region": "ap-southeast-1",
|
| 51 |
+
"UseFIPS": false,
|
| 52 |
+
"UseDualStack": false
|
| 53 |
+
}
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled",
|
| 57 |
+
"expect": {
|
| 58 |
+
"endpoint": {
|
| 59 |
+
"url": "https://runtime-v2-lex.ap-southeast-2.amazonaws.com"
|
| 60 |
+
}
|
| 61 |
+
},
|
| 62 |
+
"params": {
|
| 63 |
+
"Region": "ap-southeast-2",
|
| 64 |
+
"UseFIPS": false,
|
| 65 |
+
"UseDualStack": false
|
| 66 |
+
}
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled",
|
| 70 |
+
"expect": {
|
| 71 |
+
"endpoint": {
|
| 72 |
+
"url": "https://runtime-v2-lex.ca-central-1.amazonaws.com"
|
| 73 |
+
}
|
| 74 |
+
},
|
| 75 |
+
"params": {
|
| 76 |
+
"Region": "ca-central-1",
|
| 77 |
+
"UseFIPS": false,
|
| 78 |
+
"UseDualStack": false
|
| 79 |
+
}
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled",
|
| 83 |
+
"expect": {
|
| 84 |
+
"endpoint": {
|
| 85 |
+
"url": "https://runtime-v2-lex.eu-central-1.amazonaws.com"
|
| 86 |
+
}
|
| 87 |
+
},
|
| 88 |
+
"params": {
|
| 89 |
+
"Region": "eu-central-1",
|
| 90 |
+
"UseFIPS": false,
|
| 91 |
+
"UseDualStack": false
|
| 92 |
+
}
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled",
|
| 96 |
+
"expect": {
|
| 97 |
+
"endpoint": {
|
| 98 |
+
"url": "https://runtime-v2-lex.eu-west-1.amazonaws.com"
|
| 99 |
+
}
|
| 100 |
+
},
|
| 101 |
+
"params": {
|
| 102 |
+
"Region": "eu-west-1",
|
| 103 |
+
"UseFIPS": false,
|
| 104 |
+
"UseDualStack": false
|
| 105 |
+
}
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled",
|
| 109 |
+
"expect": {
|
| 110 |
+
"endpoint": {
|
| 111 |
+
"url": "https://runtime-v2-lex.eu-west-2.amazonaws.com"
|
| 112 |
+
}
|
| 113 |
+
},
|
| 114 |
+
"params": {
|
| 115 |
+
"Region": "eu-west-2",
|
| 116 |
+
"UseFIPS": false,
|
| 117 |
+
"UseDualStack": false
|
| 118 |
+
}
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
|
| 122 |
+
"expect": {
|
| 123 |
+
"endpoint": {
|
| 124 |
+
"url": "https://runtime-v2-lex.us-east-1.amazonaws.com"
|
| 125 |
+
}
|
| 126 |
+
},
|
| 127 |
+
"params": {
|
| 128 |
+
"Region": "us-east-1",
|
| 129 |
+
"UseFIPS": false,
|
| 130 |
+
"UseDualStack": false
|
| 131 |
+
}
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
"documentation": "For region us-west-2 with FIPS disabled and DualStack disabled",
|
| 135 |
+
"expect": {
|
| 136 |
+
"endpoint": {
|
| 137 |
+
"url": "https://runtime-v2-lex.us-west-2.amazonaws.com"
|
| 138 |
+
}
|
| 139 |
+
},
|
| 140 |
+
"params": {
|
| 141 |
+
"Region": "us-west-2",
|
| 142 |
+
"UseFIPS": false,
|
| 143 |
+
"UseDualStack": false
|
| 144 |
+
}
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
|
| 148 |
+
"expect": {
|
| 149 |
+
"endpoint": {
|
| 150 |
+
"url": "https://runtime-v2-lex-fips.us-east-1.api.aws"
|
| 151 |
+
}
|
| 152 |
+
},
|
| 153 |
+
"params": {
|
| 154 |
+
"Region": "us-east-1",
|
| 155 |
+
"UseFIPS": true,
|
| 156 |
+
"UseDualStack": true
|
| 157 |
+
}
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
|
| 161 |
+
"expect": {
|
| 162 |
+
"endpoint": {
|
| 163 |
+
"url": "https://runtime-v2-lex-fips.us-east-1.amazonaws.com"
|
| 164 |
+
}
|
| 165 |
+
},
|
| 166 |
+
"params": {
|
| 167 |
+
"Region": "us-east-1",
|
| 168 |
+
"UseFIPS": true,
|
| 169 |
+
"UseDualStack": false
|
| 170 |
+
}
|
| 171 |
+
},
|
| 172 |
+
{
|
| 173 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
|
| 174 |
+
"expect": {
|
| 175 |
+
"endpoint": {
|
| 176 |
+
"url": "https://runtime-v2-lex.us-east-1.api.aws"
|
| 177 |
+
}
|
| 178 |
+
},
|
| 179 |
+
"params": {
|
| 180 |
+
"Region": "us-east-1",
|
| 181 |
+
"UseFIPS": false,
|
| 182 |
+
"UseDualStack": true
|
| 183 |
+
}
|
| 184 |
+
},
|
| 185 |
+
{
|
| 186 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled",
|
| 187 |
+
"expect": {
|
| 188 |
+
"endpoint": {
|
| 189 |
+
"url": "https://runtime-v2-lex-fips.cn-north-1.api.amazonwebservices.com.cn"
|
| 190 |
+
}
|
| 191 |
+
},
|
| 192 |
+
"params": {
|
| 193 |
+
"Region": "cn-north-1",
|
| 194 |
+
"UseFIPS": true,
|
| 195 |
+
"UseDualStack": true
|
| 196 |
+
}
|
| 197 |
+
},
|
| 198 |
+
{
|
| 199 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled",
|
| 200 |
+
"expect": {
|
| 201 |
+
"endpoint": {
|
| 202 |
+
"url": "https://runtime-v2-lex-fips.cn-north-1.amazonaws.com.cn"
|
| 203 |
+
}
|
| 204 |
+
},
|
| 205 |
+
"params": {
|
| 206 |
+
"Region": "cn-north-1",
|
| 207 |
+
"UseFIPS": true,
|
| 208 |
+
"UseDualStack": false
|
| 209 |
+
}
|
| 210 |
+
},
|
| 211 |
+
{
|
| 212 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled",
|
| 213 |
+
"expect": {
|
| 214 |
+
"endpoint": {
|
| 215 |
+
"url": "https://runtime-v2-lex.cn-north-1.api.amazonwebservices.com.cn"
|
| 216 |
+
}
|
| 217 |
+
},
|
| 218 |
+
"params": {
|
| 219 |
+
"Region": "cn-north-1",
|
| 220 |
+
"UseFIPS": false,
|
| 221 |
+
"UseDualStack": true
|
| 222 |
+
}
|
| 223 |
+
},
|
| 224 |
+
{
|
| 225 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled",
|
| 226 |
+
"expect": {
|
| 227 |
+
"endpoint": {
|
| 228 |
+
"url": "https://runtime-v2-lex.cn-north-1.amazonaws.com.cn"
|
| 229 |
+
}
|
| 230 |
+
},
|
| 231 |
+
"params": {
|
| 232 |
+
"Region": "cn-north-1",
|
| 233 |
+
"UseFIPS": false,
|
| 234 |
+
"UseDualStack": false
|
| 235 |
+
}
|
| 236 |
+
},
|
| 237 |
+
{
|
| 238 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled",
|
| 239 |
+
"expect": {
|
| 240 |
+
"endpoint": {
|
| 241 |
+
"url": "https://runtime-v2-lex-fips.us-gov-east-1.api.aws"
|
| 242 |
+
}
|
| 243 |
+
},
|
| 244 |
+
"params": {
|
| 245 |
+
"Region": "us-gov-east-1",
|
| 246 |
+
"UseFIPS": true,
|
| 247 |
+
"UseDualStack": true
|
| 248 |
+
}
|
| 249 |
+
},
|
| 250 |
+
{
|
| 251 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled",
|
| 252 |
+
"expect": {
|
| 253 |
+
"endpoint": {
|
| 254 |
+
"url": "https://runtime-v2-lex-fips.us-gov-east-1.amazonaws.com"
|
| 255 |
+
}
|
| 256 |
+
},
|
| 257 |
+
"params": {
|
| 258 |
+
"Region": "us-gov-east-1",
|
| 259 |
+
"UseFIPS": true,
|
| 260 |
+
"UseDualStack": false
|
| 261 |
+
}
|
| 262 |
+
},
|
| 263 |
+
{
|
| 264 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled",
|
| 265 |
+
"expect": {
|
| 266 |
+
"endpoint": {
|
| 267 |
+
"url": "https://runtime-v2-lex.us-gov-east-1.api.aws"
|
| 268 |
+
}
|
| 269 |
+
},
|
| 270 |
+
"params": {
|
| 271 |
+
"Region": "us-gov-east-1",
|
| 272 |
+
"UseFIPS": false,
|
| 273 |
+
"UseDualStack": true
|
| 274 |
+
}
|
| 275 |
+
},
|
| 276 |
+
{
|
| 277 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled",
|
| 278 |
+
"expect": {
|
| 279 |
+
"endpoint": {
|
| 280 |
+
"url": "https://runtime-v2-lex.us-gov-east-1.amazonaws.com"
|
| 281 |
+
}
|
| 282 |
+
},
|
| 283 |
+
"params": {
|
| 284 |
+
"Region": "us-gov-east-1",
|
| 285 |
+
"UseFIPS": false,
|
| 286 |
+
"UseDualStack": false
|
| 287 |
+
}
|
| 288 |
+
},
|
| 289 |
+
{
|
| 290 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
|
| 291 |
+
"expect": {
|
| 292 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 293 |
+
},
|
| 294 |
+
"params": {
|
| 295 |
+
"Region": "us-iso-east-1",
|
| 296 |
+
"UseFIPS": true,
|
| 297 |
+
"UseDualStack": true
|
| 298 |
+
}
|
| 299 |
+
},
|
| 300 |
+
{
|
| 301 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
|
| 302 |
+
"expect": {
|
| 303 |
+
"endpoint": {
|
| 304 |
+
"url": "https://runtime-v2-lex-fips.us-iso-east-1.c2s.ic.gov"
|
| 305 |
+
}
|
| 306 |
+
},
|
| 307 |
+
"params": {
|
| 308 |
+
"Region": "us-iso-east-1",
|
| 309 |
+
"UseFIPS": true,
|
| 310 |
+
"UseDualStack": false
|
| 311 |
+
}
|
| 312 |
+
},
|
| 313 |
+
{
|
| 314 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
|
| 315 |
+
"expect": {
|
| 316 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 317 |
+
},
|
| 318 |
+
"params": {
|
| 319 |
+
"Region": "us-iso-east-1",
|
| 320 |
+
"UseFIPS": false,
|
| 321 |
+
"UseDualStack": true
|
| 322 |
+
}
|
| 323 |
+
},
|
| 324 |
+
{
|
| 325 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
|
| 326 |
+
"expect": {
|
| 327 |
+
"endpoint": {
|
| 328 |
+
"url": "https://runtime-v2-lex.us-iso-east-1.c2s.ic.gov"
|
| 329 |
+
}
|
| 330 |
+
},
|
| 331 |
+
"params": {
|
| 332 |
+
"Region": "us-iso-east-1",
|
| 333 |
+
"UseFIPS": false,
|
| 334 |
+
"UseDualStack": false
|
| 335 |
+
}
|
| 336 |
+
},
|
| 337 |
+
{
|
| 338 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
|
| 339 |
+
"expect": {
|
| 340 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 341 |
+
},
|
| 342 |
+
"params": {
|
| 343 |
+
"Region": "us-isob-east-1",
|
| 344 |
+
"UseFIPS": true,
|
| 345 |
+
"UseDualStack": true
|
| 346 |
+
}
|
| 347 |
+
},
|
| 348 |
+
{
|
| 349 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
|
| 350 |
+
"expect": {
|
| 351 |
+
"endpoint": {
|
| 352 |
+
"url": "https://runtime-v2-lex-fips.us-isob-east-1.sc2s.sgov.gov"
|
| 353 |
+
}
|
| 354 |
+
},
|
| 355 |
+
"params": {
|
| 356 |
+
"Region": "us-isob-east-1",
|
| 357 |
+
"UseFIPS": true,
|
| 358 |
+
"UseDualStack": false
|
| 359 |
+
}
|
| 360 |
+
},
|
| 361 |
+
{
|
| 362 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
|
| 363 |
+
"expect": {
|
| 364 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 365 |
+
},
|
| 366 |
+
"params": {
|
| 367 |
+
"Region": "us-isob-east-1",
|
| 368 |
+
"UseFIPS": false,
|
| 369 |
+
"UseDualStack": true
|
| 370 |
+
}
|
| 371 |
+
},
|
| 372 |
+
{
|
| 373 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
|
| 374 |
+
"expect": {
|
| 375 |
+
"endpoint": {
|
| 376 |
+
"url": "https://runtime-v2-lex.us-isob-east-1.sc2s.sgov.gov"
|
| 377 |
+
}
|
| 378 |
+
},
|
| 379 |
+
"params": {
|
| 380 |
+
"Region": "us-isob-east-1",
|
| 381 |
+
"UseFIPS": false,
|
| 382 |
+
"UseDualStack": false
|
| 383 |
+
}
|
| 384 |
+
},
|
| 385 |
+
{
|
| 386 |
+
"documentation": "For custom endpoint with region set and fips disabled and dualstack disabled",
|
| 387 |
+
"expect": {
|
| 388 |
+
"endpoint": {
|
| 389 |
+
"url": "https://example.com"
|
| 390 |
+
}
|
| 391 |
+
},
|
| 392 |
+
"params": {
|
| 393 |
+
"Region": "us-east-1",
|
| 394 |
+
"UseFIPS": false,
|
| 395 |
+
"UseDualStack": false,
|
| 396 |
+
"Endpoint": "https://example.com"
|
| 397 |
+
}
|
| 398 |
+
},
|
| 399 |
+
{
|
| 400 |
+
"documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled",
|
| 401 |
+
"expect": {
|
| 402 |
+
"endpoint": {
|
| 403 |
+
"url": "https://example.com"
|
| 404 |
+
}
|
| 405 |
+
},
|
| 406 |
+
"params": {
|
| 407 |
+
"UseFIPS": false,
|
| 408 |
+
"UseDualStack": false,
|
| 409 |
+
"Endpoint": "https://example.com"
|
| 410 |
+
}
|
| 411 |
+
},
|
| 412 |
+
{
|
| 413 |
+
"documentation": "For custom endpoint with fips enabled and dualstack disabled",
|
| 414 |
+
"expect": {
|
| 415 |
+
"error": "Invalid Configuration: FIPS and custom endpoint are not supported"
|
| 416 |
+
},
|
| 417 |
+
"params": {
|
| 418 |
+
"Region": "us-east-1",
|
| 419 |
+
"UseFIPS": true,
|
| 420 |
+
"UseDualStack": false,
|
| 421 |
+
"Endpoint": "https://example.com"
|
| 422 |
+
}
|
| 423 |
+
},
|
| 424 |
+
{
|
| 425 |
+
"documentation": "For custom endpoint with fips disabled and dualstack enabled",
|
| 426 |
+
"expect": {
|
| 427 |
+
"error": "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
| 428 |
+
},
|
| 429 |
+
"params": {
|
| 430 |
+
"Region": "us-east-1",
|
| 431 |
+
"UseFIPS": false,
|
| 432 |
+
"UseDualStack": true,
|
| 433 |
+
"Endpoint": "https://example.com"
|
| 434 |
+
}
|
| 435 |
+
},
|
| 436 |
+
{
|
| 437 |
+
"documentation": "Missing region",
|
| 438 |
+
"expect": {
|
| 439 |
+
"error": "Invalid Configuration: Missing Region"
|
| 440 |
+
}
|
| 441 |
+
}
|
| 442 |
+
],
|
| 443 |
+
"version": "1.0"
|
| 444 |
+
}
|
testbed/boto__botocore/tests/functional/endpoint-rules/license-manager-user-subscriptions/endpoint-tests-1.json
ADDED
|
@@ -0,0 +1,314 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"testCases": [
|
| 3 |
+
{
|
| 4 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
|
| 5 |
+
"expect": {
|
| 6 |
+
"endpoint": {
|
| 7 |
+
"url": "https://license-manager-user-subscriptions-fips.us-east-1.api.aws"
|
| 8 |
+
}
|
| 9 |
+
},
|
| 10 |
+
"params": {
|
| 11 |
+
"Region": "us-east-1",
|
| 12 |
+
"UseFIPS": true,
|
| 13 |
+
"UseDualStack": true
|
| 14 |
+
}
|
| 15 |
+
},
|
| 16 |
+
{
|
| 17 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
|
| 18 |
+
"expect": {
|
| 19 |
+
"endpoint": {
|
| 20 |
+
"url": "https://license-manager-user-subscriptions-fips.us-east-1.amazonaws.com"
|
| 21 |
+
}
|
| 22 |
+
},
|
| 23 |
+
"params": {
|
| 24 |
+
"Region": "us-east-1",
|
| 25 |
+
"UseFIPS": true,
|
| 26 |
+
"UseDualStack": false
|
| 27 |
+
}
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
|
| 31 |
+
"expect": {
|
| 32 |
+
"endpoint": {
|
| 33 |
+
"url": "https://license-manager-user-subscriptions.us-east-1.api.aws"
|
| 34 |
+
}
|
| 35 |
+
},
|
| 36 |
+
"params": {
|
| 37 |
+
"Region": "us-east-1",
|
| 38 |
+
"UseFIPS": false,
|
| 39 |
+
"UseDualStack": true
|
| 40 |
+
}
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
|
| 44 |
+
"expect": {
|
| 45 |
+
"endpoint": {
|
| 46 |
+
"url": "https://license-manager-user-subscriptions.us-east-1.amazonaws.com"
|
| 47 |
+
}
|
| 48 |
+
},
|
| 49 |
+
"params": {
|
| 50 |
+
"Region": "us-east-1",
|
| 51 |
+
"UseFIPS": false,
|
| 52 |
+
"UseDualStack": false
|
| 53 |
+
}
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled",
|
| 57 |
+
"expect": {
|
| 58 |
+
"endpoint": {
|
| 59 |
+
"url": "https://license-manager-user-subscriptions-fips.cn-north-1.api.amazonwebservices.com.cn"
|
| 60 |
+
}
|
| 61 |
+
},
|
| 62 |
+
"params": {
|
| 63 |
+
"Region": "cn-north-1",
|
| 64 |
+
"UseFIPS": true,
|
| 65 |
+
"UseDualStack": true
|
| 66 |
+
}
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled",
|
| 70 |
+
"expect": {
|
| 71 |
+
"endpoint": {
|
| 72 |
+
"url": "https://license-manager-user-subscriptions-fips.cn-north-1.amazonaws.com.cn"
|
| 73 |
+
}
|
| 74 |
+
},
|
| 75 |
+
"params": {
|
| 76 |
+
"Region": "cn-north-1",
|
| 77 |
+
"UseFIPS": true,
|
| 78 |
+
"UseDualStack": false
|
| 79 |
+
}
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled",
|
| 83 |
+
"expect": {
|
| 84 |
+
"endpoint": {
|
| 85 |
+
"url": "https://license-manager-user-subscriptions.cn-north-1.api.amazonwebservices.com.cn"
|
| 86 |
+
}
|
| 87 |
+
},
|
| 88 |
+
"params": {
|
| 89 |
+
"Region": "cn-north-1",
|
| 90 |
+
"UseFIPS": false,
|
| 91 |
+
"UseDualStack": true
|
| 92 |
+
}
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled",
|
| 96 |
+
"expect": {
|
| 97 |
+
"endpoint": {
|
| 98 |
+
"url": "https://license-manager-user-subscriptions.cn-north-1.amazonaws.com.cn"
|
| 99 |
+
}
|
| 100 |
+
},
|
| 101 |
+
"params": {
|
| 102 |
+
"Region": "cn-north-1",
|
| 103 |
+
"UseFIPS": false,
|
| 104 |
+
"UseDualStack": false
|
| 105 |
+
}
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled",
|
| 109 |
+
"expect": {
|
| 110 |
+
"endpoint": {
|
| 111 |
+
"url": "https://license-manager-user-subscriptions-fips.us-gov-east-1.api.aws"
|
| 112 |
+
}
|
| 113 |
+
},
|
| 114 |
+
"params": {
|
| 115 |
+
"Region": "us-gov-east-1",
|
| 116 |
+
"UseFIPS": true,
|
| 117 |
+
"UseDualStack": true
|
| 118 |
+
}
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled",
|
| 122 |
+
"expect": {
|
| 123 |
+
"endpoint": {
|
| 124 |
+
"url": "https://license-manager-user-subscriptions-fips.us-gov-east-1.amazonaws.com"
|
| 125 |
+
}
|
| 126 |
+
},
|
| 127 |
+
"params": {
|
| 128 |
+
"Region": "us-gov-east-1",
|
| 129 |
+
"UseFIPS": true,
|
| 130 |
+
"UseDualStack": false
|
| 131 |
+
}
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled",
|
| 135 |
+
"expect": {
|
| 136 |
+
"endpoint": {
|
| 137 |
+
"url": "https://license-manager-user-subscriptions.us-gov-east-1.api.aws"
|
| 138 |
+
}
|
| 139 |
+
},
|
| 140 |
+
"params": {
|
| 141 |
+
"Region": "us-gov-east-1",
|
| 142 |
+
"UseFIPS": false,
|
| 143 |
+
"UseDualStack": true
|
| 144 |
+
}
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled",
|
| 148 |
+
"expect": {
|
| 149 |
+
"endpoint": {
|
| 150 |
+
"url": "https://license-manager-user-subscriptions.us-gov-east-1.amazonaws.com"
|
| 151 |
+
}
|
| 152 |
+
},
|
| 153 |
+
"params": {
|
| 154 |
+
"Region": "us-gov-east-1",
|
| 155 |
+
"UseFIPS": false,
|
| 156 |
+
"UseDualStack": false
|
| 157 |
+
}
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
|
| 161 |
+
"expect": {
|
| 162 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 163 |
+
},
|
| 164 |
+
"params": {
|
| 165 |
+
"Region": "us-iso-east-1",
|
| 166 |
+
"UseFIPS": true,
|
| 167 |
+
"UseDualStack": true
|
| 168 |
+
}
|
| 169 |
+
},
|
| 170 |
+
{
|
| 171 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
|
| 172 |
+
"expect": {
|
| 173 |
+
"endpoint": {
|
| 174 |
+
"url": "https://license-manager-user-subscriptions-fips.us-iso-east-1.c2s.ic.gov"
|
| 175 |
+
}
|
| 176 |
+
},
|
| 177 |
+
"params": {
|
| 178 |
+
"Region": "us-iso-east-1",
|
| 179 |
+
"UseFIPS": true,
|
| 180 |
+
"UseDualStack": false
|
| 181 |
+
}
|
| 182 |
+
},
|
| 183 |
+
{
|
| 184 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
|
| 185 |
+
"expect": {
|
| 186 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 187 |
+
},
|
| 188 |
+
"params": {
|
| 189 |
+
"Region": "us-iso-east-1",
|
| 190 |
+
"UseFIPS": false,
|
| 191 |
+
"UseDualStack": true
|
| 192 |
+
}
|
| 193 |
+
},
|
| 194 |
+
{
|
| 195 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
|
| 196 |
+
"expect": {
|
| 197 |
+
"endpoint": {
|
| 198 |
+
"url": "https://license-manager-user-subscriptions.us-iso-east-1.c2s.ic.gov"
|
| 199 |
+
}
|
| 200 |
+
},
|
| 201 |
+
"params": {
|
| 202 |
+
"Region": "us-iso-east-1",
|
| 203 |
+
"UseFIPS": false,
|
| 204 |
+
"UseDualStack": false
|
| 205 |
+
}
|
| 206 |
+
},
|
| 207 |
+
{
|
| 208 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
|
| 209 |
+
"expect": {
|
| 210 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 211 |
+
},
|
| 212 |
+
"params": {
|
| 213 |
+
"Region": "us-isob-east-1",
|
| 214 |
+
"UseFIPS": true,
|
| 215 |
+
"UseDualStack": true
|
| 216 |
+
}
|
| 217 |
+
},
|
| 218 |
+
{
|
| 219 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
|
| 220 |
+
"expect": {
|
| 221 |
+
"endpoint": {
|
| 222 |
+
"url": "https://license-manager-user-subscriptions-fips.us-isob-east-1.sc2s.sgov.gov"
|
| 223 |
+
}
|
| 224 |
+
},
|
| 225 |
+
"params": {
|
| 226 |
+
"Region": "us-isob-east-1",
|
| 227 |
+
"UseFIPS": true,
|
| 228 |
+
"UseDualStack": false
|
| 229 |
+
}
|
| 230 |
+
},
|
| 231 |
+
{
|
| 232 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
|
| 233 |
+
"expect": {
|
| 234 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 235 |
+
},
|
| 236 |
+
"params": {
|
| 237 |
+
"Region": "us-isob-east-1",
|
| 238 |
+
"UseFIPS": false,
|
| 239 |
+
"UseDualStack": true
|
| 240 |
+
}
|
| 241 |
+
},
|
| 242 |
+
{
|
| 243 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
|
| 244 |
+
"expect": {
|
| 245 |
+
"endpoint": {
|
| 246 |
+
"url": "https://license-manager-user-subscriptions.us-isob-east-1.sc2s.sgov.gov"
|
| 247 |
+
}
|
| 248 |
+
},
|
| 249 |
+
"params": {
|
| 250 |
+
"Region": "us-isob-east-1",
|
| 251 |
+
"UseFIPS": false,
|
| 252 |
+
"UseDualStack": false
|
| 253 |
+
}
|
| 254 |
+
},
|
| 255 |
+
{
|
| 256 |
+
"documentation": "For custom endpoint with region set and fips disabled and dualstack disabled",
|
| 257 |
+
"expect": {
|
| 258 |
+
"endpoint": {
|
| 259 |
+
"url": "https://example.com"
|
| 260 |
+
}
|
| 261 |
+
},
|
| 262 |
+
"params": {
|
| 263 |
+
"Region": "us-east-1",
|
| 264 |
+
"UseFIPS": false,
|
| 265 |
+
"UseDualStack": false,
|
| 266 |
+
"Endpoint": "https://example.com"
|
| 267 |
+
}
|
| 268 |
+
},
|
| 269 |
+
{
|
| 270 |
+
"documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled",
|
| 271 |
+
"expect": {
|
| 272 |
+
"endpoint": {
|
| 273 |
+
"url": "https://example.com"
|
| 274 |
+
}
|
| 275 |
+
},
|
| 276 |
+
"params": {
|
| 277 |
+
"UseFIPS": false,
|
| 278 |
+
"UseDualStack": false,
|
| 279 |
+
"Endpoint": "https://example.com"
|
| 280 |
+
}
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"documentation": "For custom endpoint with fips enabled and dualstack disabled",
|
| 284 |
+
"expect": {
|
| 285 |
+
"error": "Invalid Configuration: FIPS and custom endpoint are not supported"
|
| 286 |
+
},
|
| 287 |
+
"params": {
|
| 288 |
+
"Region": "us-east-1",
|
| 289 |
+
"UseFIPS": true,
|
| 290 |
+
"UseDualStack": false,
|
| 291 |
+
"Endpoint": "https://example.com"
|
| 292 |
+
}
|
| 293 |
+
},
|
| 294 |
+
{
|
| 295 |
+
"documentation": "For custom endpoint with fips disabled and dualstack enabled",
|
| 296 |
+
"expect": {
|
| 297 |
+
"error": "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
| 298 |
+
},
|
| 299 |
+
"params": {
|
| 300 |
+
"Region": "us-east-1",
|
| 301 |
+
"UseFIPS": false,
|
| 302 |
+
"UseDualStack": true,
|
| 303 |
+
"Endpoint": "https://example.com"
|
| 304 |
+
}
|
| 305 |
+
},
|
| 306 |
+
{
|
| 307 |
+
"documentation": "Missing region",
|
| 308 |
+
"expect": {
|
| 309 |
+
"error": "Invalid Configuration: Missing Region"
|
| 310 |
+
}
|
| 311 |
+
}
|
| 312 |
+
],
|
| 313 |
+
"version": "1.0"
|
| 314 |
+
}
|
testbed/boto__botocore/tests/functional/endpoint-rules/location/endpoint-tests-1.json
ADDED
|
@@ -0,0 +1,314 @@
|
|
|
|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| 9 |
+
},
|
| 10 |
+
"params": {
|
| 11 |
+
"Region": "us-east-1",
|
| 12 |
+
"UseFIPS": true,
|
| 13 |
+
"UseDualStack": true
|
| 14 |
+
}
|
| 15 |
+
},
|
| 16 |
+
{
|
| 17 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
|
| 18 |
+
"expect": {
|
| 19 |
+
"endpoint": {
|
| 20 |
+
"url": "https://geo-fips.us-east-1.amazonaws.com"
|
| 21 |
+
}
|
| 22 |
+
},
|
| 23 |
+
"params": {
|
| 24 |
+
"Region": "us-east-1",
|
| 25 |
+
"UseFIPS": true,
|
| 26 |
+
"UseDualStack": false
|
| 27 |
+
}
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
|
| 31 |
+
"expect": {
|
| 32 |
+
"endpoint": {
|
| 33 |
+
"url": "https://geo.us-east-1.api.aws"
|
| 34 |
+
}
|
| 35 |
+
},
|
| 36 |
+
"params": {
|
| 37 |
+
"Region": "us-east-1",
|
| 38 |
+
"UseFIPS": false,
|
| 39 |
+
"UseDualStack": true
|
| 40 |
+
}
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
|
| 44 |
+
"expect": {
|
| 45 |
+
"endpoint": {
|
| 46 |
+
"url": "https://geo.us-east-1.amazonaws.com"
|
| 47 |
+
}
|
| 48 |
+
},
|
| 49 |
+
"params": {
|
| 50 |
+
"Region": "us-east-1",
|
| 51 |
+
"UseFIPS": false,
|
| 52 |
+
"UseDualStack": false
|
| 53 |
+
}
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled",
|
| 57 |
+
"expect": {
|
| 58 |
+
"endpoint": {
|
| 59 |
+
"url": "https://geo-fips.cn-north-1.api.amazonwebservices.com.cn"
|
| 60 |
+
}
|
| 61 |
+
},
|
| 62 |
+
"params": {
|
| 63 |
+
"Region": "cn-north-1",
|
| 64 |
+
"UseFIPS": true,
|
| 65 |
+
"UseDualStack": true
|
| 66 |
+
}
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled",
|
| 70 |
+
"expect": {
|
| 71 |
+
"endpoint": {
|
| 72 |
+
"url": "https://geo-fips.cn-north-1.amazonaws.com.cn"
|
| 73 |
+
}
|
| 74 |
+
},
|
| 75 |
+
"params": {
|
| 76 |
+
"Region": "cn-north-1",
|
| 77 |
+
"UseFIPS": true,
|
| 78 |
+
"UseDualStack": false
|
| 79 |
+
}
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled",
|
| 83 |
+
"expect": {
|
| 84 |
+
"endpoint": {
|
| 85 |
+
"url": "https://geo.cn-north-1.api.amazonwebservices.com.cn"
|
| 86 |
+
}
|
| 87 |
+
},
|
| 88 |
+
"params": {
|
| 89 |
+
"Region": "cn-north-1",
|
| 90 |
+
"UseFIPS": false,
|
| 91 |
+
"UseDualStack": true
|
| 92 |
+
}
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled",
|
| 96 |
+
"expect": {
|
| 97 |
+
"endpoint": {
|
| 98 |
+
"url": "https://geo.cn-north-1.amazonaws.com.cn"
|
| 99 |
+
}
|
| 100 |
+
},
|
| 101 |
+
"params": {
|
| 102 |
+
"Region": "cn-north-1",
|
| 103 |
+
"UseFIPS": false,
|
| 104 |
+
"UseDualStack": false
|
| 105 |
+
}
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled",
|
| 109 |
+
"expect": {
|
| 110 |
+
"endpoint": {
|
| 111 |
+
"url": "https://geo-fips.us-gov-east-1.api.aws"
|
| 112 |
+
}
|
| 113 |
+
},
|
| 114 |
+
"params": {
|
| 115 |
+
"Region": "us-gov-east-1",
|
| 116 |
+
"UseFIPS": true,
|
| 117 |
+
"UseDualStack": true
|
| 118 |
+
}
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled",
|
| 122 |
+
"expect": {
|
| 123 |
+
"endpoint": {
|
| 124 |
+
"url": "https://geo-fips.us-gov-east-1.amazonaws.com"
|
| 125 |
+
}
|
| 126 |
+
},
|
| 127 |
+
"params": {
|
| 128 |
+
"Region": "us-gov-east-1",
|
| 129 |
+
"UseFIPS": true,
|
| 130 |
+
"UseDualStack": false
|
| 131 |
+
}
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled",
|
| 135 |
+
"expect": {
|
| 136 |
+
"endpoint": {
|
| 137 |
+
"url": "https://geo.us-gov-east-1.api.aws"
|
| 138 |
+
}
|
| 139 |
+
},
|
| 140 |
+
"params": {
|
| 141 |
+
"Region": "us-gov-east-1",
|
| 142 |
+
"UseFIPS": false,
|
| 143 |
+
"UseDualStack": true
|
| 144 |
+
}
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled",
|
| 148 |
+
"expect": {
|
| 149 |
+
"endpoint": {
|
| 150 |
+
"url": "https://geo.us-gov-east-1.amazonaws.com"
|
| 151 |
+
}
|
| 152 |
+
},
|
| 153 |
+
"params": {
|
| 154 |
+
"Region": "us-gov-east-1",
|
| 155 |
+
"UseFIPS": false,
|
| 156 |
+
"UseDualStack": false
|
| 157 |
+
}
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
|
| 161 |
+
"expect": {
|
| 162 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 163 |
+
},
|
| 164 |
+
"params": {
|
| 165 |
+
"Region": "us-iso-east-1",
|
| 166 |
+
"UseFIPS": true,
|
| 167 |
+
"UseDualStack": true
|
| 168 |
+
}
|
| 169 |
+
},
|
| 170 |
+
{
|
| 171 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
|
| 172 |
+
"expect": {
|
| 173 |
+
"endpoint": {
|
| 174 |
+
"url": "https://geo-fips.us-iso-east-1.c2s.ic.gov"
|
| 175 |
+
}
|
| 176 |
+
},
|
| 177 |
+
"params": {
|
| 178 |
+
"Region": "us-iso-east-1",
|
| 179 |
+
"UseFIPS": true,
|
| 180 |
+
"UseDualStack": false
|
| 181 |
+
}
|
| 182 |
+
},
|
| 183 |
+
{
|
| 184 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
|
| 185 |
+
"expect": {
|
| 186 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 187 |
+
},
|
| 188 |
+
"params": {
|
| 189 |
+
"Region": "us-iso-east-1",
|
| 190 |
+
"UseFIPS": false,
|
| 191 |
+
"UseDualStack": true
|
| 192 |
+
}
|
| 193 |
+
},
|
| 194 |
+
{
|
| 195 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
|
| 196 |
+
"expect": {
|
| 197 |
+
"endpoint": {
|
| 198 |
+
"url": "https://geo.us-iso-east-1.c2s.ic.gov"
|
| 199 |
+
}
|
| 200 |
+
},
|
| 201 |
+
"params": {
|
| 202 |
+
"Region": "us-iso-east-1",
|
| 203 |
+
"UseFIPS": false,
|
| 204 |
+
"UseDualStack": false
|
| 205 |
+
}
|
| 206 |
+
},
|
| 207 |
+
{
|
| 208 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
|
| 209 |
+
"expect": {
|
| 210 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 211 |
+
},
|
| 212 |
+
"params": {
|
| 213 |
+
"Region": "us-isob-east-1",
|
| 214 |
+
"UseFIPS": true,
|
| 215 |
+
"UseDualStack": true
|
| 216 |
+
}
|
| 217 |
+
},
|
| 218 |
+
{
|
| 219 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
|
| 220 |
+
"expect": {
|
| 221 |
+
"endpoint": {
|
| 222 |
+
"url": "https://geo-fips.us-isob-east-1.sc2s.sgov.gov"
|
| 223 |
+
}
|
| 224 |
+
},
|
| 225 |
+
"params": {
|
| 226 |
+
"Region": "us-isob-east-1",
|
| 227 |
+
"UseFIPS": true,
|
| 228 |
+
"UseDualStack": false
|
| 229 |
+
}
|
| 230 |
+
},
|
| 231 |
+
{
|
| 232 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
|
| 233 |
+
"expect": {
|
| 234 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 235 |
+
},
|
| 236 |
+
"params": {
|
| 237 |
+
"Region": "us-isob-east-1",
|
| 238 |
+
"UseFIPS": false,
|
| 239 |
+
"UseDualStack": true
|
| 240 |
+
}
|
| 241 |
+
},
|
| 242 |
+
{
|
| 243 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
|
| 244 |
+
"expect": {
|
| 245 |
+
"endpoint": {
|
| 246 |
+
"url": "https://geo.us-isob-east-1.sc2s.sgov.gov"
|
| 247 |
+
}
|
| 248 |
+
},
|
| 249 |
+
"params": {
|
| 250 |
+
"Region": "us-isob-east-1",
|
| 251 |
+
"UseFIPS": false,
|
| 252 |
+
"UseDualStack": false
|
| 253 |
+
}
|
| 254 |
+
},
|
| 255 |
+
{
|
| 256 |
+
"documentation": "For custom endpoint with region set and fips disabled and dualstack disabled",
|
| 257 |
+
"expect": {
|
| 258 |
+
"endpoint": {
|
| 259 |
+
"url": "https://example.com"
|
| 260 |
+
}
|
| 261 |
+
},
|
| 262 |
+
"params": {
|
| 263 |
+
"Region": "us-east-1",
|
| 264 |
+
"UseFIPS": false,
|
| 265 |
+
"UseDualStack": false,
|
| 266 |
+
"Endpoint": "https://example.com"
|
| 267 |
+
}
|
| 268 |
+
},
|
| 269 |
+
{
|
| 270 |
+
"documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled",
|
| 271 |
+
"expect": {
|
| 272 |
+
"endpoint": {
|
| 273 |
+
"url": "https://example.com"
|
| 274 |
+
}
|
| 275 |
+
},
|
| 276 |
+
"params": {
|
| 277 |
+
"UseFIPS": false,
|
| 278 |
+
"UseDualStack": false,
|
| 279 |
+
"Endpoint": "https://example.com"
|
| 280 |
+
}
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"documentation": "For custom endpoint with fips enabled and dualstack disabled",
|
| 284 |
+
"expect": {
|
| 285 |
+
"error": "Invalid Configuration: FIPS and custom endpoint are not supported"
|
| 286 |
+
},
|
| 287 |
+
"params": {
|
| 288 |
+
"Region": "us-east-1",
|
| 289 |
+
"UseFIPS": true,
|
| 290 |
+
"UseDualStack": false,
|
| 291 |
+
"Endpoint": "https://example.com"
|
| 292 |
+
}
|
| 293 |
+
},
|
| 294 |
+
{
|
| 295 |
+
"documentation": "For custom endpoint with fips disabled and dualstack enabled",
|
| 296 |
+
"expect": {
|
| 297 |
+
"error": "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
| 298 |
+
},
|
| 299 |
+
"params": {
|
| 300 |
+
"Region": "us-east-1",
|
| 301 |
+
"UseFIPS": false,
|
| 302 |
+
"UseDualStack": true,
|
| 303 |
+
"Endpoint": "https://example.com"
|
| 304 |
+
}
|
| 305 |
+
},
|
| 306 |
+
{
|
| 307 |
+
"documentation": "Missing region",
|
| 308 |
+
"expect": {
|
| 309 |
+
"error": "Invalid Configuration: Missing Region"
|
| 310 |
+
}
|
| 311 |
+
}
|
| 312 |
+
],
|
| 313 |
+
"version": "1.0"
|
| 314 |
+
}
|
testbed/boto__botocore/tests/functional/endpoint-rules/logs/endpoint-tests-1.json
ADDED
|
@@ -0,0 +1,678 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"expect": {
|
| 6 |
+
"endpoint": {
|
| 7 |
+
"url": "https://logs.af-south-1.amazonaws.com"
|
| 8 |
+
}
|
| 9 |
+
},
|
| 10 |
+
"params": {
|
| 11 |
+
"Region": "af-south-1",
|
| 12 |
+
"UseFIPS": false,
|
| 13 |
+
"UseDualStack": false
|
| 14 |
+
}
|
| 15 |
+
},
|
| 16 |
+
{
|
| 17 |
+
"documentation": "For region ap-east-1 with FIPS disabled and DualStack disabled",
|
| 18 |
+
"expect": {
|
| 19 |
+
"endpoint": {
|
| 20 |
+
"url": "https://logs.ap-east-1.amazonaws.com"
|
| 21 |
+
}
|
| 22 |
+
},
|
| 23 |
+
"params": {
|
| 24 |
+
"Region": "ap-east-1",
|
| 25 |
+
"UseFIPS": false,
|
| 26 |
+
"UseDualStack": false
|
| 27 |
+
}
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled",
|
| 31 |
+
"expect": {
|
| 32 |
+
"endpoint": {
|
| 33 |
+
"url": "https://logs.ap-northeast-1.amazonaws.com"
|
| 34 |
+
}
|
| 35 |
+
},
|
| 36 |
+
"params": {
|
| 37 |
+
"Region": "ap-northeast-1",
|
| 38 |
+
"UseFIPS": false,
|
| 39 |
+
"UseDualStack": false
|
| 40 |
+
}
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled",
|
| 44 |
+
"expect": {
|
| 45 |
+
"endpoint": {
|
| 46 |
+
"url": "https://logs.ap-northeast-2.amazonaws.com"
|
| 47 |
+
}
|
| 48 |
+
},
|
| 49 |
+
"params": {
|
| 50 |
+
"Region": "ap-northeast-2",
|
| 51 |
+
"UseFIPS": false,
|
| 52 |
+
"UseDualStack": false
|
| 53 |
+
}
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"documentation": "For region ap-northeast-3 with FIPS disabled and DualStack disabled",
|
| 57 |
+
"expect": {
|
| 58 |
+
"endpoint": {
|
| 59 |
+
"url": "https://logs.ap-northeast-3.amazonaws.com"
|
| 60 |
+
}
|
| 61 |
+
},
|
| 62 |
+
"params": {
|
| 63 |
+
"Region": "ap-northeast-3",
|
| 64 |
+
"UseFIPS": false,
|
| 65 |
+
"UseDualStack": false
|
| 66 |
+
}
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled",
|
| 70 |
+
"expect": {
|
| 71 |
+
"endpoint": {
|
| 72 |
+
"url": "https://logs.ap-south-1.amazonaws.com"
|
| 73 |
+
}
|
| 74 |
+
},
|
| 75 |
+
"params": {
|
| 76 |
+
"Region": "ap-south-1",
|
| 77 |
+
"UseFIPS": false,
|
| 78 |
+
"UseDualStack": false
|
| 79 |
+
}
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled",
|
| 83 |
+
"expect": {
|
| 84 |
+
"endpoint": {
|
| 85 |
+
"url": "https://logs.ap-southeast-1.amazonaws.com"
|
| 86 |
+
}
|
| 87 |
+
},
|
| 88 |
+
"params": {
|
| 89 |
+
"Region": "ap-southeast-1",
|
| 90 |
+
"UseFIPS": false,
|
| 91 |
+
"UseDualStack": false
|
| 92 |
+
}
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled",
|
| 96 |
+
"expect": {
|
| 97 |
+
"endpoint": {
|
| 98 |
+
"url": "https://logs.ap-southeast-2.amazonaws.com"
|
| 99 |
+
}
|
| 100 |
+
},
|
| 101 |
+
"params": {
|
| 102 |
+
"Region": "ap-southeast-2",
|
| 103 |
+
"UseFIPS": false,
|
| 104 |
+
"UseDualStack": false
|
| 105 |
+
}
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"documentation": "For region ap-southeast-3 with FIPS disabled and DualStack disabled",
|
| 109 |
+
"expect": {
|
| 110 |
+
"endpoint": {
|
| 111 |
+
"url": "https://logs.ap-southeast-3.amazonaws.com"
|
| 112 |
+
}
|
| 113 |
+
},
|
| 114 |
+
"params": {
|
| 115 |
+
"Region": "ap-southeast-3",
|
| 116 |
+
"UseFIPS": false,
|
| 117 |
+
"UseDualStack": false
|
| 118 |
+
}
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled",
|
| 122 |
+
"expect": {
|
| 123 |
+
"endpoint": {
|
| 124 |
+
"url": "https://logs.ca-central-1.amazonaws.com"
|
| 125 |
+
}
|
| 126 |
+
},
|
| 127 |
+
"params": {
|
| 128 |
+
"Region": "ca-central-1",
|
| 129 |
+
"UseFIPS": false,
|
| 130 |
+
"UseDualStack": false
|
| 131 |
+
}
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
"documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled",
|
| 135 |
+
"expect": {
|
| 136 |
+
"endpoint": {
|
| 137 |
+
"url": "https://logs.eu-central-1.amazonaws.com"
|
| 138 |
+
}
|
| 139 |
+
},
|
| 140 |
+
"params": {
|
| 141 |
+
"Region": "eu-central-1",
|
| 142 |
+
"UseFIPS": false,
|
| 143 |
+
"UseDualStack": false
|
| 144 |
+
}
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled",
|
| 148 |
+
"expect": {
|
| 149 |
+
"endpoint": {
|
| 150 |
+
"url": "https://logs.eu-north-1.amazonaws.com"
|
| 151 |
+
}
|
| 152 |
+
},
|
| 153 |
+
"params": {
|
| 154 |
+
"Region": "eu-north-1",
|
| 155 |
+
"UseFIPS": false,
|
| 156 |
+
"UseDualStack": false
|
| 157 |
+
}
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"documentation": "For region eu-south-1 with FIPS disabled and DualStack disabled",
|
| 161 |
+
"expect": {
|
| 162 |
+
"endpoint": {
|
| 163 |
+
"url": "https://logs.eu-south-1.amazonaws.com"
|
| 164 |
+
}
|
| 165 |
+
},
|
| 166 |
+
"params": {
|
| 167 |
+
"Region": "eu-south-1",
|
| 168 |
+
"UseFIPS": false,
|
| 169 |
+
"UseDualStack": false
|
| 170 |
+
}
|
| 171 |
+
},
|
| 172 |
+
{
|
| 173 |
+
"documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled",
|
| 174 |
+
"expect": {
|
| 175 |
+
"endpoint": {
|
| 176 |
+
"url": "https://logs.eu-west-1.amazonaws.com"
|
| 177 |
+
}
|
| 178 |
+
},
|
| 179 |
+
"params": {
|
| 180 |
+
"Region": "eu-west-1",
|
| 181 |
+
"UseFIPS": false,
|
| 182 |
+
"UseDualStack": false
|
| 183 |
+
}
|
| 184 |
+
},
|
| 185 |
+
{
|
| 186 |
+
"documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled",
|
| 187 |
+
"expect": {
|
| 188 |
+
"endpoint": {
|
| 189 |
+
"url": "https://logs.eu-west-2.amazonaws.com"
|
| 190 |
+
}
|
| 191 |
+
},
|
| 192 |
+
"params": {
|
| 193 |
+
"Region": "eu-west-2",
|
| 194 |
+
"UseFIPS": false,
|
| 195 |
+
"UseDualStack": false
|
| 196 |
+
}
|
| 197 |
+
},
|
| 198 |
+
{
|
| 199 |
+
"documentation": "For region eu-west-3 with FIPS disabled and DualStack disabled",
|
| 200 |
+
"expect": {
|
| 201 |
+
"endpoint": {
|
| 202 |
+
"url": "https://logs.eu-west-3.amazonaws.com"
|
| 203 |
+
}
|
| 204 |
+
},
|
| 205 |
+
"params": {
|
| 206 |
+
"Region": "eu-west-3",
|
| 207 |
+
"UseFIPS": false,
|
| 208 |
+
"UseDualStack": false
|
| 209 |
+
}
|
| 210 |
+
},
|
| 211 |
+
{
|
| 212 |
+
"documentation": "For region me-south-1 with FIPS disabled and DualStack disabled",
|
| 213 |
+
"expect": {
|
| 214 |
+
"endpoint": {
|
| 215 |
+
"url": "https://logs.me-south-1.amazonaws.com"
|
| 216 |
+
}
|
| 217 |
+
},
|
| 218 |
+
"params": {
|
| 219 |
+
"Region": "me-south-1",
|
| 220 |
+
"UseFIPS": false,
|
| 221 |
+
"UseDualStack": false
|
| 222 |
+
}
|
| 223 |
+
},
|
| 224 |
+
{
|
| 225 |
+
"documentation": "For region sa-east-1 with FIPS disabled and DualStack disabled",
|
| 226 |
+
"expect": {
|
| 227 |
+
"endpoint": {
|
| 228 |
+
"url": "https://logs.sa-east-1.amazonaws.com"
|
| 229 |
+
}
|
| 230 |
+
},
|
| 231 |
+
"params": {
|
| 232 |
+
"Region": "sa-east-1",
|
| 233 |
+
"UseFIPS": false,
|
| 234 |
+
"UseDualStack": false
|
| 235 |
+
}
|
| 236 |
+
},
|
| 237 |
+
{
|
| 238 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
|
| 239 |
+
"expect": {
|
| 240 |
+
"endpoint": {
|
| 241 |
+
"url": "https://logs.us-east-1.amazonaws.com"
|
| 242 |
+
}
|
| 243 |
+
},
|
| 244 |
+
"params": {
|
| 245 |
+
"Region": "us-east-1",
|
| 246 |
+
"UseFIPS": false,
|
| 247 |
+
"UseDualStack": false
|
| 248 |
+
}
|
| 249 |
+
},
|
| 250 |
+
{
|
| 251 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
|
| 252 |
+
"expect": {
|
| 253 |
+
"endpoint": {
|
| 254 |
+
"url": "https://logs-fips.us-east-1.amazonaws.com"
|
| 255 |
+
}
|
| 256 |
+
},
|
| 257 |
+
"params": {
|
| 258 |
+
"Region": "us-east-1",
|
| 259 |
+
"UseFIPS": true,
|
| 260 |
+
"UseDualStack": false
|
| 261 |
+
}
|
| 262 |
+
},
|
| 263 |
+
{
|
| 264 |
+
"documentation": "For region us-east-2 with FIPS disabled and DualStack disabled",
|
| 265 |
+
"expect": {
|
| 266 |
+
"endpoint": {
|
| 267 |
+
"url": "https://logs.us-east-2.amazonaws.com"
|
| 268 |
+
}
|
| 269 |
+
},
|
| 270 |
+
"params": {
|
| 271 |
+
"Region": "us-east-2",
|
| 272 |
+
"UseFIPS": false,
|
| 273 |
+
"UseDualStack": false
|
| 274 |
+
}
|
| 275 |
+
},
|
| 276 |
+
{
|
| 277 |
+
"documentation": "For region us-east-2 with FIPS enabled and DualStack disabled",
|
| 278 |
+
"expect": {
|
| 279 |
+
"endpoint": {
|
| 280 |
+
"url": "https://logs-fips.us-east-2.amazonaws.com"
|
| 281 |
+
}
|
| 282 |
+
},
|
| 283 |
+
"params": {
|
| 284 |
+
"Region": "us-east-2",
|
| 285 |
+
"UseFIPS": true,
|
| 286 |
+
"UseDualStack": false
|
| 287 |
+
}
|
| 288 |
+
},
|
| 289 |
+
{
|
| 290 |
+
"documentation": "For region us-west-1 with FIPS disabled and DualStack disabled",
|
| 291 |
+
"expect": {
|
| 292 |
+
"endpoint": {
|
| 293 |
+
"url": "https://logs.us-west-1.amazonaws.com"
|
| 294 |
+
}
|
| 295 |
+
},
|
| 296 |
+
"params": {
|
| 297 |
+
"Region": "us-west-1",
|
| 298 |
+
"UseFIPS": false,
|
| 299 |
+
"UseDualStack": false
|
| 300 |
+
}
|
| 301 |
+
},
|
| 302 |
+
{
|
| 303 |
+
"documentation": "For region us-west-1 with FIPS enabled and DualStack disabled",
|
| 304 |
+
"expect": {
|
| 305 |
+
"endpoint": {
|
| 306 |
+
"url": "https://logs-fips.us-west-1.amazonaws.com"
|
| 307 |
+
}
|
| 308 |
+
},
|
| 309 |
+
"params": {
|
| 310 |
+
"Region": "us-west-1",
|
| 311 |
+
"UseFIPS": true,
|
| 312 |
+
"UseDualStack": false
|
| 313 |
+
}
|
| 314 |
+
},
|
| 315 |
+
{
|
| 316 |
+
"documentation": "For region us-west-2 with FIPS disabled and DualStack disabled",
|
| 317 |
+
"expect": {
|
| 318 |
+
"endpoint": {
|
| 319 |
+
"url": "https://logs.us-west-2.amazonaws.com"
|
| 320 |
+
}
|
| 321 |
+
},
|
| 322 |
+
"params": {
|
| 323 |
+
"Region": "us-west-2",
|
| 324 |
+
"UseFIPS": false,
|
| 325 |
+
"UseDualStack": false
|
| 326 |
+
}
|
| 327 |
+
},
|
| 328 |
+
{
|
| 329 |
+
"documentation": "For region us-west-2 with FIPS enabled and DualStack disabled",
|
| 330 |
+
"expect": {
|
| 331 |
+
"endpoint": {
|
| 332 |
+
"url": "https://logs-fips.us-west-2.amazonaws.com"
|
| 333 |
+
}
|
| 334 |
+
},
|
| 335 |
+
"params": {
|
| 336 |
+
"Region": "us-west-2",
|
| 337 |
+
"UseFIPS": true,
|
| 338 |
+
"UseDualStack": false
|
| 339 |
+
}
|
| 340 |
+
},
|
| 341 |
+
{
|
| 342 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
|
| 343 |
+
"expect": {
|
| 344 |
+
"endpoint": {
|
| 345 |
+
"url": "https://logs-fips.us-east-1.api.aws"
|
| 346 |
+
}
|
| 347 |
+
},
|
| 348 |
+
"params": {
|
| 349 |
+
"Region": "us-east-1",
|
| 350 |
+
"UseFIPS": true,
|
| 351 |
+
"UseDualStack": true
|
| 352 |
+
}
|
| 353 |
+
},
|
| 354 |
+
{
|
| 355 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
|
| 356 |
+
"expect": {
|
| 357 |
+
"endpoint": {
|
| 358 |
+
"url": "https://logs.us-east-1.api.aws"
|
| 359 |
+
}
|
| 360 |
+
},
|
| 361 |
+
"params": {
|
| 362 |
+
"Region": "us-east-1",
|
| 363 |
+
"UseFIPS": false,
|
| 364 |
+
"UseDualStack": true
|
| 365 |
+
}
|
| 366 |
+
},
|
| 367 |
+
{
|
| 368 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled",
|
| 369 |
+
"expect": {
|
| 370 |
+
"endpoint": {
|
| 371 |
+
"url": "https://logs.cn-north-1.amazonaws.com.cn"
|
| 372 |
+
}
|
| 373 |
+
},
|
| 374 |
+
"params": {
|
| 375 |
+
"Region": "cn-north-1",
|
| 376 |
+
"UseFIPS": false,
|
| 377 |
+
"UseDualStack": false
|
| 378 |
+
}
|
| 379 |
+
},
|
| 380 |
+
{
|
| 381 |
+
"documentation": "For region cn-northwest-1 with FIPS disabled and DualStack disabled",
|
| 382 |
+
"expect": {
|
| 383 |
+
"endpoint": {
|
| 384 |
+
"url": "https://logs.cn-northwest-1.amazonaws.com.cn"
|
| 385 |
+
}
|
| 386 |
+
},
|
| 387 |
+
"params": {
|
| 388 |
+
"Region": "cn-northwest-1",
|
| 389 |
+
"UseFIPS": false,
|
| 390 |
+
"UseDualStack": false
|
| 391 |
+
}
|
| 392 |
+
},
|
| 393 |
+
{
|
| 394 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled",
|
| 395 |
+
"expect": {
|
| 396 |
+
"endpoint": {
|
| 397 |
+
"url": "https://logs-fips.cn-north-1.api.amazonwebservices.com.cn"
|
| 398 |
+
}
|
| 399 |
+
},
|
| 400 |
+
"params": {
|
| 401 |
+
"Region": "cn-north-1",
|
| 402 |
+
"UseFIPS": true,
|
| 403 |
+
"UseDualStack": true
|
| 404 |
+
}
|
| 405 |
+
},
|
| 406 |
+
{
|
| 407 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled",
|
| 408 |
+
"expect": {
|
| 409 |
+
"endpoint": {
|
| 410 |
+
"url": "https://logs-fips.cn-north-1.amazonaws.com.cn"
|
| 411 |
+
}
|
| 412 |
+
},
|
| 413 |
+
"params": {
|
| 414 |
+
"Region": "cn-north-1",
|
| 415 |
+
"UseFIPS": true,
|
| 416 |
+
"UseDualStack": false
|
| 417 |
+
}
|
| 418 |
+
},
|
| 419 |
+
{
|
| 420 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled",
|
| 421 |
+
"expect": {
|
| 422 |
+
"endpoint": {
|
| 423 |
+
"url": "https://logs.cn-north-1.api.amazonwebservices.com.cn"
|
| 424 |
+
}
|
| 425 |
+
},
|
| 426 |
+
"params": {
|
| 427 |
+
"Region": "cn-north-1",
|
| 428 |
+
"UseFIPS": false,
|
| 429 |
+
"UseDualStack": true
|
| 430 |
+
}
|
| 431 |
+
},
|
| 432 |
+
{
|
| 433 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled",
|
| 434 |
+
"expect": {
|
| 435 |
+
"endpoint": {
|
| 436 |
+
"url": "https://logs.us-gov-east-1.amazonaws.com"
|
| 437 |
+
}
|
| 438 |
+
},
|
| 439 |
+
"params": {
|
| 440 |
+
"Region": "us-gov-east-1",
|
| 441 |
+
"UseFIPS": false,
|
| 442 |
+
"UseDualStack": false
|
| 443 |
+
}
|
| 444 |
+
},
|
| 445 |
+
{
|
| 446 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled",
|
| 447 |
+
"expect": {
|
| 448 |
+
"endpoint": {
|
| 449 |
+
"url": "https://logs.us-gov-east-1.amazonaws.com"
|
| 450 |
+
}
|
| 451 |
+
},
|
| 452 |
+
"params": {
|
| 453 |
+
"Region": "us-gov-east-1",
|
| 454 |
+
"UseFIPS": true,
|
| 455 |
+
"UseDualStack": false
|
| 456 |
+
}
|
| 457 |
+
},
|
| 458 |
+
{
|
| 459 |
+
"documentation": "For region us-gov-west-1 with FIPS disabled and DualStack disabled",
|
| 460 |
+
"expect": {
|
| 461 |
+
"endpoint": {
|
| 462 |
+
"url": "https://logs.us-gov-west-1.amazonaws.com"
|
| 463 |
+
}
|
| 464 |
+
},
|
| 465 |
+
"params": {
|
| 466 |
+
"Region": "us-gov-west-1",
|
| 467 |
+
"UseFIPS": false,
|
| 468 |
+
"UseDualStack": false
|
| 469 |
+
}
|
| 470 |
+
},
|
| 471 |
+
{
|
| 472 |
+
"documentation": "For region us-gov-west-1 with FIPS enabled and DualStack disabled",
|
| 473 |
+
"expect": {
|
| 474 |
+
"endpoint": {
|
| 475 |
+
"url": "https://logs.us-gov-west-1.amazonaws.com"
|
| 476 |
+
}
|
| 477 |
+
},
|
| 478 |
+
"params": {
|
| 479 |
+
"Region": "us-gov-west-1",
|
| 480 |
+
"UseFIPS": true,
|
| 481 |
+
"UseDualStack": false
|
| 482 |
+
}
|
| 483 |
+
},
|
| 484 |
+
{
|
| 485 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled",
|
| 486 |
+
"expect": {
|
| 487 |
+
"endpoint": {
|
| 488 |
+
"url": "https://logs-fips.us-gov-east-1.api.aws"
|
| 489 |
+
}
|
| 490 |
+
},
|
| 491 |
+
"params": {
|
| 492 |
+
"Region": "us-gov-east-1",
|
| 493 |
+
"UseFIPS": true,
|
| 494 |
+
"UseDualStack": true
|
| 495 |
+
}
|
| 496 |
+
},
|
| 497 |
+
{
|
| 498 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled",
|
| 499 |
+
"expect": {
|
| 500 |
+
"endpoint": {
|
| 501 |
+
"url": "https://logs.us-gov-east-1.api.aws"
|
| 502 |
+
}
|
| 503 |
+
},
|
| 504 |
+
"params": {
|
| 505 |
+
"Region": "us-gov-east-1",
|
| 506 |
+
"UseFIPS": false,
|
| 507 |
+
"UseDualStack": true
|
| 508 |
+
}
|
| 509 |
+
},
|
| 510 |
+
{
|
| 511 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
|
| 512 |
+
"expect": {
|
| 513 |
+
"endpoint": {
|
| 514 |
+
"url": "https://logs.us-iso-east-1.c2s.ic.gov"
|
| 515 |
+
}
|
| 516 |
+
},
|
| 517 |
+
"params": {
|
| 518 |
+
"Region": "us-iso-east-1",
|
| 519 |
+
"UseFIPS": false,
|
| 520 |
+
"UseDualStack": false
|
| 521 |
+
}
|
| 522 |
+
},
|
| 523 |
+
{
|
| 524 |
+
"documentation": "For region us-iso-west-1 with FIPS disabled and DualStack disabled",
|
| 525 |
+
"expect": {
|
| 526 |
+
"endpoint": {
|
| 527 |
+
"url": "https://logs.us-iso-west-1.c2s.ic.gov"
|
| 528 |
+
}
|
| 529 |
+
},
|
| 530 |
+
"params": {
|
| 531 |
+
"Region": "us-iso-west-1",
|
| 532 |
+
"UseFIPS": false,
|
| 533 |
+
"UseDualStack": false
|
| 534 |
+
}
|
| 535 |
+
},
|
| 536 |
+
{
|
| 537 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
|
| 538 |
+
"expect": {
|
| 539 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 540 |
+
},
|
| 541 |
+
"params": {
|
| 542 |
+
"Region": "us-iso-east-1",
|
| 543 |
+
"UseFIPS": true,
|
| 544 |
+
"UseDualStack": true
|
| 545 |
+
}
|
| 546 |
+
},
|
| 547 |
+
{
|
| 548 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
|
| 549 |
+
"expect": {
|
| 550 |
+
"endpoint": {
|
| 551 |
+
"url": "https://logs-fips.us-iso-east-1.c2s.ic.gov"
|
| 552 |
+
}
|
| 553 |
+
},
|
| 554 |
+
"params": {
|
| 555 |
+
"Region": "us-iso-east-1",
|
| 556 |
+
"UseFIPS": true,
|
| 557 |
+
"UseDualStack": false
|
| 558 |
+
}
|
| 559 |
+
},
|
| 560 |
+
{
|
| 561 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
|
| 562 |
+
"expect": {
|
| 563 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 564 |
+
},
|
| 565 |
+
"params": {
|
| 566 |
+
"Region": "us-iso-east-1",
|
| 567 |
+
"UseFIPS": false,
|
| 568 |
+
"UseDualStack": true
|
| 569 |
+
}
|
| 570 |
+
},
|
| 571 |
+
{
|
| 572 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
|
| 573 |
+
"expect": {
|
| 574 |
+
"endpoint": {
|
| 575 |
+
"url": "https://logs.us-isob-east-1.sc2s.sgov.gov"
|
| 576 |
+
}
|
| 577 |
+
},
|
| 578 |
+
"params": {
|
| 579 |
+
"Region": "us-isob-east-1",
|
| 580 |
+
"UseFIPS": false,
|
| 581 |
+
"UseDualStack": false
|
| 582 |
+
}
|
| 583 |
+
},
|
| 584 |
+
{
|
| 585 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
|
| 586 |
+
"expect": {
|
| 587 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 588 |
+
},
|
| 589 |
+
"params": {
|
| 590 |
+
"Region": "us-isob-east-1",
|
| 591 |
+
"UseFIPS": true,
|
| 592 |
+
"UseDualStack": true
|
| 593 |
+
}
|
| 594 |
+
},
|
| 595 |
+
{
|
| 596 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
|
| 597 |
+
"expect": {
|
| 598 |
+
"endpoint": {
|
| 599 |
+
"url": "https://logs-fips.us-isob-east-1.sc2s.sgov.gov"
|
| 600 |
+
}
|
| 601 |
+
},
|
| 602 |
+
"params": {
|
| 603 |
+
"Region": "us-isob-east-1",
|
| 604 |
+
"UseFIPS": true,
|
| 605 |
+
"UseDualStack": false
|
| 606 |
+
}
|
| 607 |
+
},
|
| 608 |
+
{
|
| 609 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
|
| 610 |
+
"expect": {
|
| 611 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 612 |
+
},
|
| 613 |
+
"params": {
|
| 614 |
+
"Region": "us-isob-east-1",
|
| 615 |
+
"UseFIPS": false,
|
| 616 |
+
"UseDualStack": true
|
| 617 |
+
}
|
| 618 |
+
},
|
| 619 |
+
{
|
| 620 |
+
"documentation": "For custom endpoint with region set and fips disabled and dualstack disabled",
|
| 621 |
+
"expect": {
|
| 622 |
+
"endpoint": {
|
| 623 |
+
"url": "https://example.com"
|
| 624 |
+
}
|
| 625 |
+
},
|
| 626 |
+
"params": {
|
| 627 |
+
"Region": "us-east-1",
|
| 628 |
+
"UseFIPS": false,
|
| 629 |
+
"UseDualStack": false,
|
| 630 |
+
"Endpoint": "https://example.com"
|
| 631 |
+
}
|
| 632 |
+
},
|
| 633 |
+
{
|
| 634 |
+
"documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled",
|
| 635 |
+
"expect": {
|
| 636 |
+
"endpoint": {
|
| 637 |
+
"url": "https://example.com"
|
| 638 |
+
}
|
| 639 |
+
},
|
| 640 |
+
"params": {
|
| 641 |
+
"UseFIPS": false,
|
| 642 |
+
"UseDualStack": false,
|
| 643 |
+
"Endpoint": "https://example.com"
|
| 644 |
+
}
|
| 645 |
+
},
|
| 646 |
+
{
|
| 647 |
+
"documentation": "For custom endpoint with fips enabled and dualstack disabled",
|
| 648 |
+
"expect": {
|
| 649 |
+
"error": "Invalid Configuration: FIPS and custom endpoint are not supported"
|
| 650 |
+
},
|
| 651 |
+
"params": {
|
| 652 |
+
"Region": "us-east-1",
|
| 653 |
+
"UseFIPS": true,
|
| 654 |
+
"UseDualStack": false,
|
| 655 |
+
"Endpoint": "https://example.com"
|
| 656 |
+
}
|
| 657 |
+
},
|
| 658 |
+
{
|
| 659 |
+
"documentation": "For custom endpoint with fips disabled and dualstack enabled",
|
| 660 |
+
"expect": {
|
| 661 |
+
"error": "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
| 662 |
+
},
|
| 663 |
+
"params": {
|
| 664 |
+
"Region": "us-east-1",
|
| 665 |
+
"UseFIPS": false,
|
| 666 |
+
"UseDualStack": true,
|
| 667 |
+
"Endpoint": "https://example.com"
|
| 668 |
+
}
|
| 669 |
+
},
|
| 670 |
+
{
|
| 671 |
+
"documentation": "Missing region",
|
| 672 |
+
"expect": {
|
| 673 |
+
"error": "Invalid Configuration: Missing Region"
|
| 674 |
+
}
|
| 675 |
+
}
|
| 676 |
+
],
|
| 677 |
+
"version": "1.0"
|
| 678 |
+
}
|
testbed/boto__botocore/tests/functional/endpoint-rules/lookoutequipment/endpoint-tests-1.json
ADDED
|
@@ -0,0 +1,340 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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Stack disabled",
|
| 5 |
+
"expect": {
|
| 6 |
+
"endpoint": {
|
| 7 |
+
"url": "https://lookoutequipment.ap-northeast-2.amazonaws.com"
|
| 8 |
+
}
|
| 9 |
+
},
|
| 10 |
+
"params": {
|
| 11 |
+
"Region": "ap-northeast-2",
|
| 12 |
+
"UseFIPS": false,
|
| 13 |
+
"UseDualStack": false
|
| 14 |
+
}
|
| 15 |
+
},
|
| 16 |
+
{
|
| 17 |
+
"documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled",
|
| 18 |
+
"expect": {
|
| 19 |
+
"endpoint": {
|
| 20 |
+
"url": "https://lookoutequipment.eu-west-1.amazonaws.com"
|
| 21 |
+
}
|
| 22 |
+
},
|
| 23 |
+
"params": {
|
| 24 |
+
"Region": "eu-west-1",
|
| 25 |
+
"UseFIPS": false,
|
| 26 |
+
"UseDualStack": false
|
| 27 |
+
}
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
|
| 31 |
+
"expect": {
|
| 32 |
+
"endpoint": {
|
| 33 |
+
"url": "https://lookoutequipment.us-east-1.amazonaws.com"
|
| 34 |
+
}
|
| 35 |
+
},
|
| 36 |
+
"params": {
|
| 37 |
+
"Region": "us-east-1",
|
| 38 |
+
"UseFIPS": false,
|
| 39 |
+
"UseDualStack": false
|
| 40 |
+
}
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
|
| 44 |
+
"expect": {
|
| 45 |
+
"endpoint": {
|
| 46 |
+
"url": "https://lookoutequipment-fips.us-east-1.api.aws"
|
| 47 |
+
}
|
| 48 |
+
},
|
| 49 |
+
"params": {
|
| 50 |
+
"Region": "us-east-1",
|
| 51 |
+
"UseFIPS": true,
|
| 52 |
+
"UseDualStack": true
|
| 53 |
+
}
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
|
| 57 |
+
"expect": {
|
| 58 |
+
"endpoint": {
|
| 59 |
+
"url": "https://lookoutequipment-fips.us-east-1.amazonaws.com"
|
| 60 |
+
}
|
| 61 |
+
},
|
| 62 |
+
"params": {
|
| 63 |
+
"Region": "us-east-1",
|
| 64 |
+
"UseFIPS": true,
|
| 65 |
+
"UseDualStack": false
|
| 66 |
+
}
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
|
| 70 |
+
"expect": {
|
| 71 |
+
"endpoint": {
|
| 72 |
+
"url": "https://lookoutequipment.us-east-1.api.aws"
|
| 73 |
+
}
|
| 74 |
+
},
|
| 75 |
+
"params": {
|
| 76 |
+
"Region": "us-east-1",
|
| 77 |
+
"UseFIPS": false,
|
| 78 |
+
"UseDualStack": true
|
| 79 |
+
}
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled",
|
| 83 |
+
"expect": {
|
| 84 |
+
"endpoint": {
|
| 85 |
+
"url": "https://lookoutequipment-fips.cn-north-1.api.amazonwebservices.com.cn"
|
| 86 |
+
}
|
| 87 |
+
},
|
| 88 |
+
"params": {
|
| 89 |
+
"Region": "cn-north-1",
|
| 90 |
+
"UseFIPS": true,
|
| 91 |
+
"UseDualStack": true
|
| 92 |
+
}
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled",
|
| 96 |
+
"expect": {
|
| 97 |
+
"endpoint": {
|
| 98 |
+
"url": "https://lookoutequipment-fips.cn-north-1.amazonaws.com.cn"
|
| 99 |
+
}
|
| 100 |
+
},
|
| 101 |
+
"params": {
|
| 102 |
+
"Region": "cn-north-1",
|
| 103 |
+
"UseFIPS": true,
|
| 104 |
+
"UseDualStack": false
|
| 105 |
+
}
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled",
|
| 109 |
+
"expect": {
|
| 110 |
+
"endpoint": {
|
| 111 |
+
"url": "https://lookoutequipment.cn-north-1.api.amazonwebservices.com.cn"
|
| 112 |
+
}
|
| 113 |
+
},
|
| 114 |
+
"params": {
|
| 115 |
+
"Region": "cn-north-1",
|
| 116 |
+
"UseFIPS": false,
|
| 117 |
+
"UseDualStack": true
|
| 118 |
+
}
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled",
|
| 122 |
+
"expect": {
|
| 123 |
+
"endpoint": {
|
| 124 |
+
"url": "https://lookoutequipment.cn-north-1.amazonaws.com.cn"
|
| 125 |
+
}
|
| 126 |
+
},
|
| 127 |
+
"params": {
|
| 128 |
+
"Region": "cn-north-1",
|
| 129 |
+
"UseFIPS": false,
|
| 130 |
+
"UseDualStack": false
|
| 131 |
+
}
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled",
|
| 135 |
+
"expect": {
|
| 136 |
+
"endpoint": {
|
| 137 |
+
"url": "https://lookoutequipment-fips.us-gov-east-1.api.aws"
|
| 138 |
+
}
|
| 139 |
+
},
|
| 140 |
+
"params": {
|
| 141 |
+
"Region": "us-gov-east-1",
|
| 142 |
+
"UseFIPS": true,
|
| 143 |
+
"UseDualStack": true
|
| 144 |
+
}
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled",
|
| 148 |
+
"expect": {
|
| 149 |
+
"endpoint": {
|
| 150 |
+
"url": "https://lookoutequipment-fips.us-gov-east-1.amazonaws.com"
|
| 151 |
+
}
|
| 152 |
+
},
|
| 153 |
+
"params": {
|
| 154 |
+
"Region": "us-gov-east-1",
|
| 155 |
+
"UseFIPS": true,
|
| 156 |
+
"UseDualStack": false
|
| 157 |
+
}
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled",
|
| 161 |
+
"expect": {
|
| 162 |
+
"endpoint": {
|
| 163 |
+
"url": "https://lookoutequipment.us-gov-east-1.api.aws"
|
| 164 |
+
}
|
| 165 |
+
},
|
| 166 |
+
"params": {
|
| 167 |
+
"Region": "us-gov-east-1",
|
| 168 |
+
"UseFIPS": false,
|
| 169 |
+
"UseDualStack": true
|
| 170 |
+
}
|
| 171 |
+
},
|
| 172 |
+
{
|
| 173 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled",
|
| 174 |
+
"expect": {
|
| 175 |
+
"endpoint": {
|
| 176 |
+
"url": "https://lookoutequipment.us-gov-east-1.amazonaws.com"
|
| 177 |
+
}
|
| 178 |
+
},
|
| 179 |
+
"params": {
|
| 180 |
+
"Region": "us-gov-east-1",
|
| 181 |
+
"UseFIPS": false,
|
| 182 |
+
"UseDualStack": false
|
| 183 |
+
}
|
| 184 |
+
},
|
| 185 |
+
{
|
| 186 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
|
| 187 |
+
"expect": {
|
| 188 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 189 |
+
},
|
| 190 |
+
"params": {
|
| 191 |
+
"Region": "us-iso-east-1",
|
| 192 |
+
"UseFIPS": true,
|
| 193 |
+
"UseDualStack": true
|
| 194 |
+
}
|
| 195 |
+
},
|
| 196 |
+
{
|
| 197 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
|
| 198 |
+
"expect": {
|
| 199 |
+
"endpoint": {
|
| 200 |
+
"url": "https://lookoutequipment-fips.us-iso-east-1.c2s.ic.gov"
|
| 201 |
+
}
|
| 202 |
+
},
|
| 203 |
+
"params": {
|
| 204 |
+
"Region": "us-iso-east-1",
|
| 205 |
+
"UseFIPS": true,
|
| 206 |
+
"UseDualStack": false
|
| 207 |
+
}
|
| 208 |
+
},
|
| 209 |
+
{
|
| 210 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
|
| 211 |
+
"expect": {
|
| 212 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 213 |
+
},
|
| 214 |
+
"params": {
|
| 215 |
+
"Region": "us-iso-east-1",
|
| 216 |
+
"UseFIPS": false,
|
| 217 |
+
"UseDualStack": true
|
| 218 |
+
}
|
| 219 |
+
},
|
| 220 |
+
{
|
| 221 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
|
| 222 |
+
"expect": {
|
| 223 |
+
"endpoint": {
|
| 224 |
+
"url": "https://lookoutequipment.us-iso-east-1.c2s.ic.gov"
|
| 225 |
+
}
|
| 226 |
+
},
|
| 227 |
+
"params": {
|
| 228 |
+
"Region": "us-iso-east-1",
|
| 229 |
+
"UseFIPS": false,
|
| 230 |
+
"UseDualStack": false
|
| 231 |
+
}
|
| 232 |
+
},
|
| 233 |
+
{
|
| 234 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
|
| 235 |
+
"expect": {
|
| 236 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 237 |
+
},
|
| 238 |
+
"params": {
|
| 239 |
+
"Region": "us-isob-east-1",
|
| 240 |
+
"UseFIPS": true,
|
| 241 |
+
"UseDualStack": true
|
| 242 |
+
}
|
| 243 |
+
},
|
| 244 |
+
{
|
| 245 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
|
| 246 |
+
"expect": {
|
| 247 |
+
"endpoint": {
|
| 248 |
+
"url": "https://lookoutequipment-fips.us-isob-east-1.sc2s.sgov.gov"
|
| 249 |
+
}
|
| 250 |
+
},
|
| 251 |
+
"params": {
|
| 252 |
+
"Region": "us-isob-east-1",
|
| 253 |
+
"UseFIPS": true,
|
| 254 |
+
"UseDualStack": false
|
| 255 |
+
}
|
| 256 |
+
},
|
| 257 |
+
{
|
| 258 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
|
| 259 |
+
"expect": {
|
| 260 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 261 |
+
},
|
| 262 |
+
"params": {
|
| 263 |
+
"Region": "us-isob-east-1",
|
| 264 |
+
"UseFIPS": false,
|
| 265 |
+
"UseDualStack": true
|
| 266 |
+
}
|
| 267 |
+
},
|
| 268 |
+
{
|
| 269 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
|
| 270 |
+
"expect": {
|
| 271 |
+
"endpoint": {
|
| 272 |
+
"url": "https://lookoutequipment.us-isob-east-1.sc2s.sgov.gov"
|
| 273 |
+
}
|
| 274 |
+
},
|
| 275 |
+
"params": {
|
| 276 |
+
"Region": "us-isob-east-1",
|
| 277 |
+
"UseFIPS": false,
|
| 278 |
+
"UseDualStack": false
|
| 279 |
+
}
|
| 280 |
+
},
|
| 281 |
+
{
|
| 282 |
+
"documentation": "For custom endpoint with region set and fips disabled and dualstack disabled",
|
| 283 |
+
"expect": {
|
| 284 |
+
"endpoint": {
|
| 285 |
+
"url": "https://example.com"
|
| 286 |
+
}
|
| 287 |
+
},
|
| 288 |
+
"params": {
|
| 289 |
+
"Region": "us-east-1",
|
| 290 |
+
"UseFIPS": false,
|
| 291 |
+
"UseDualStack": false,
|
| 292 |
+
"Endpoint": "https://example.com"
|
| 293 |
+
}
|
| 294 |
+
},
|
| 295 |
+
{
|
| 296 |
+
"documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled",
|
| 297 |
+
"expect": {
|
| 298 |
+
"endpoint": {
|
| 299 |
+
"url": "https://example.com"
|
| 300 |
+
}
|
| 301 |
+
},
|
| 302 |
+
"params": {
|
| 303 |
+
"UseFIPS": false,
|
| 304 |
+
"UseDualStack": false,
|
| 305 |
+
"Endpoint": "https://example.com"
|
| 306 |
+
}
|
| 307 |
+
},
|
| 308 |
+
{
|
| 309 |
+
"documentation": "For custom endpoint with fips enabled and dualstack disabled",
|
| 310 |
+
"expect": {
|
| 311 |
+
"error": "Invalid Configuration: FIPS and custom endpoint are not supported"
|
| 312 |
+
},
|
| 313 |
+
"params": {
|
| 314 |
+
"Region": "us-east-1",
|
| 315 |
+
"UseFIPS": true,
|
| 316 |
+
"UseDualStack": false,
|
| 317 |
+
"Endpoint": "https://example.com"
|
| 318 |
+
}
|
| 319 |
+
},
|
| 320 |
+
{
|
| 321 |
+
"documentation": "For custom endpoint with fips disabled and dualstack enabled",
|
| 322 |
+
"expect": {
|
| 323 |
+
"error": "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
| 324 |
+
},
|
| 325 |
+
"params": {
|
| 326 |
+
"Region": "us-east-1",
|
| 327 |
+
"UseFIPS": false,
|
| 328 |
+
"UseDualStack": true,
|
| 329 |
+
"Endpoint": "https://example.com"
|
| 330 |
+
}
|
| 331 |
+
},
|
| 332 |
+
{
|
| 333 |
+
"documentation": "Missing region",
|
| 334 |
+
"expect": {
|
| 335 |
+
"error": "Invalid Configuration: Missing Region"
|
| 336 |
+
}
|
| 337 |
+
}
|
| 338 |
+
],
|
| 339 |
+
"version": "1.0"
|
| 340 |
+
}
|
testbed/boto__botocore/tests/functional/endpoint-rules/lookoutmetrics/endpoint-tests-1.json
ADDED
|
@@ -0,0 +1,418 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"testCases": [
|
| 3 |
+
{
|
| 4 |
+
"documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled",
|
| 5 |
+
"expect": {
|
| 6 |
+
"endpoint": {
|
| 7 |
+
"url": "https://lookoutmetrics.ap-northeast-1.amazonaws.com"
|
| 8 |
+
}
|
| 9 |
+
},
|
| 10 |
+
"params": {
|
| 11 |
+
"Region": "ap-northeast-1",
|
| 12 |
+
"UseFIPS": false,
|
| 13 |
+
"UseDualStack": false
|
| 14 |
+
}
|
| 15 |
+
},
|
| 16 |
+
{
|
| 17 |
+
"documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled",
|
| 18 |
+
"expect": {
|
| 19 |
+
"endpoint": {
|
| 20 |
+
"url": "https://lookoutmetrics.ap-southeast-1.amazonaws.com"
|
| 21 |
+
}
|
| 22 |
+
},
|
| 23 |
+
"params": {
|
| 24 |
+
"Region": "ap-southeast-1",
|
| 25 |
+
"UseFIPS": false,
|
| 26 |
+
"UseDualStack": false
|
| 27 |
+
}
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled",
|
| 31 |
+
"expect": {
|
| 32 |
+
"endpoint": {
|
| 33 |
+
"url": "https://lookoutmetrics.ap-southeast-2.amazonaws.com"
|
| 34 |
+
}
|
| 35 |
+
},
|
| 36 |
+
"params": {
|
| 37 |
+
"Region": "ap-southeast-2",
|
| 38 |
+
"UseFIPS": false,
|
| 39 |
+
"UseDualStack": false
|
| 40 |
+
}
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled",
|
| 44 |
+
"expect": {
|
| 45 |
+
"endpoint": {
|
| 46 |
+
"url": "https://lookoutmetrics.eu-central-1.amazonaws.com"
|
| 47 |
+
}
|
| 48 |
+
},
|
| 49 |
+
"params": {
|
| 50 |
+
"Region": "eu-central-1",
|
| 51 |
+
"UseFIPS": false,
|
| 52 |
+
"UseDualStack": false
|
| 53 |
+
}
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled",
|
| 57 |
+
"expect": {
|
| 58 |
+
"endpoint": {
|
| 59 |
+
"url": "https://lookoutmetrics.eu-north-1.amazonaws.com"
|
| 60 |
+
}
|
| 61 |
+
},
|
| 62 |
+
"params": {
|
| 63 |
+
"Region": "eu-north-1",
|
| 64 |
+
"UseFIPS": false,
|
| 65 |
+
"UseDualStack": false
|
| 66 |
+
}
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled",
|
| 70 |
+
"expect": {
|
| 71 |
+
"endpoint": {
|
| 72 |
+
"url": "https://lookoutmetrics.eu-west-1.amazonaws.com"
|
| 73 |
+
}
|
| 74 |
+
},
|
| 75 |
+
"params": {
|
| 76 |
+
"Region": "eu-west-1",
|
| 77 |
+
"UseFIPS": false,
|
| 78 |
+
"UseDualStack": false
|
| 79 |
+
}
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
|
| 83 |
+
"expect": {
|
| 84 |
+
"endpoint": {
|
| 85 |
+
"url": "https://lookoutmetrics.us-east-1.amazonaws.com"
|
| 86 |
+
}
|
| 87 |
+
},
|
| 88 |
+
"params": {
|
| 89 |
+
"Region": "us-east-1",
|
| 90 |
+
"UseFIPS": false,
|
| 91 |
+
"UseDualStack": false
|
| 92 |
+
}
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"documentation": "For region us-east-2 with FIPS disabled and DualStack disabled",
|
| 96 |
+
"expect": {
|
| 97 |
+
"endpoint": {
|
| 98 |
+
"url": "https://lookoutmetrics.us-east-2.amazonaws.com"
|
| 99 |
+
}
|
| 100 |
+
},
|
| 101 |
+
"params": {
|
| 102 |
+
"Region": "us-east-2",
|
| 103 |
+
"UseFIPS": false,
|
| 104 |
+
"UseDualStack": false
|
| 105 |
+
}
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"documentation": "For region us-west-2 with FIPS disabled and DualStack disabled",
|
| 109 |
+
"expect": {
|
| 110 |
+
"endpoint": {
|
| 111 |
+
"url": "https://lookoutmetrics.us-west-2.amazonaws.com"
|
| 112 |
+
}
|
| 113 |
+
},
|
| 114 |
+
"params": {
|
| 115 |
+
"Region": "us-west-2",
|
| 116 |
+
"UseFIPS": false,
|
| 117 |
+
"UseDualStack": false
|
| 118 |
+
}
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
|
| 122 |
+
"expect": {
|
| 123 |
+
"endpoint": {
|
| 124 |
+
"url": "https://lookoutmetrics-fips.us-east-1.api.aws"
|
| 125 |
+
}
|
| 126 |
+
},
|
| 127 |
+
"params": {
|
| 128 |
+
"Region": "us-east-1",
|
| 129 |
+
"UseFIPS": true,
|
| 130 |
+
"UseDualStack": true
|
| 131 |
+
}
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
|
| 135 |
+
"expect": {
|
| 136 |
+
"endpoint": {
|
| 137 |
+
"url": "https://lookoutmetrics-fips.us-east-1.amazonaws.com"
|
| 138 |
+
}
|
| 139 |
+
},
|
| 140 |
+
"params": {
|
| 141 |
+
"Region": "us-east-1",
|
| 142 |
+
"UseFIPS": true,
|
| 143 |
+
"UseDualStack": false
|
| 144 |
+
}
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
|
| 148 |
+
"expect": {
|
| 149 |
+
"endpoint": {
|
| 150 |
+
"url": "https://lookoutmetrics.us-east-1.api.aws"
|
| 151 |
+
}
|
| 152 |
+
},
|
| 153 |
+
"params": {
|
| 154 |
+
"Region": "us-east-1",
|
| 155 |
+
"UseFIPS": false,
|
| 156 |
+
"UseDualStack": true
|
| 157 |
+
}
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled",
|
| 161 |
+
"expect": {
|
| 162 |
+
"endpoint": {
|
| 163 |
+
"url": "https://lookoutmetrics-fips.cn-north-1.api.amazonwebservices.com.cn"
|
| 164 |
+
}
|
| 165 |
+
},
|
| 166 |
+
"params": {
|
| 167 |
+
"Region": "cn-north-1",
|
| 168 |
+
"UseFIPS": true,
|
| 169 |
+
"UseDualStack": true
|
| 170 |
+
}
|
| 171 |
+
},
|
| 172 |
+
{
|
| 173 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled",
|
| 174 |
+
"expect": {
|
| 175 |
+
"endpoint": {
|
| 176 |
+
"url": "https://lookoutmetrics-fips.cn-north-1.amazonaws.com.cn"
|
| 177 |
+
}
|
| 178 |
+
},
|
| 179 |
+
"params": {
|
| 180 |
+
"Region": "cn-north-1",
|
| 181 |
+
"UseFIPS": true,
|
| 182 |
+
"UseDualStack": false
|
| 183 |
+
}
|
| 184 |
+
},
|
| 185 |
+
{
|
| 186 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled",
|
| 187 |
+
"expect": {
|
| 188 |
+
"endpoint": {
|
| 189 |
+
"url": "https://lookoutmetrics.cn-north-1.api.amazonwebservices.com.cn"
|
| 190 |
+
}
|
| 191 |
+
},
|
| 192 |
+
"params": {
|
| 193 |
+
"Region": "cn-north-1",
|
| 194 |
+
"UseFIPS": false,
|
| 195 |
+
"UseDualStack": true
|
| 196 |
+
}
|
| 197 |
+
},
|
| 198 |
+
{
|
| 199 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled",
|
| 200 |
+
"expect": {
|
| 201 |
+
"endpoint": {
|
| 202 |
+
"url": "https://lookoutmetrics.cn-north-1.amazonaws.com.cn"
|
| 203 |
+
}
|
| 204 |
+
},
|
| 205 |
+
"params": {
|
| 206 |
+
"Region": "cn-north-1",
|
| 207 |
+
"UseFIPS": false,
|
| 208 |
+
"UseDualStack": false
|
| 209 |
+
}
|
| 210 |
+
},
|
| 211 |
+
{
|
| 212 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled",
|
| 213 |
+
"expect": {
|
| 214 |
+
"endpoint": {
|
| 215 |
+
"url": "https://lookoutmetrics-fips.us-gov-east-1.api.aws"
|
| 216 |
+
}
|
| 217 |
+
},
|
| 218 |
+
"params": {
|
| 219 |
+
"Region": "us-gov-east-1",
|
| 220 |
+
"UseFIPS": true,
|
| 221 |
+
"UseDualStack": true
|
| 222 |
+
}
|
| 223 |
+
},
|
| 224 |
+
{
|
| 225 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled",
|
| 226 |
+
"expect": {
|
| 227 |
+
"endpoint": {
|
| 228 |
+
"url": "https://lookoutmetrics-fips.us-gov-east-1.amazonaws.com"
|
| 229 |
+
}
|
| 230 |
+
},
|
| 231 |
+
"params": {
|
| 232 |
+
"Region": "us-gov-east-1",
|
| 233 |
+
"UseFIPS": true,
|
| 234 |
+
"UseDualStack": false
|
| 235 |
+
}
|
| 236 |
+
},
|
| 237 |
+
{
|
| 238 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled",
|
| 239 |
+
"expect": {
|
| 240 |
+
"endpoint": {
|
| 241 |
+
"url": "https://lookoutmetrics.us-gov-east-1.api.aws"
|
| 242 |
+
}
|
| 243 |
+
},
|
| 244 |
+
"params": {
|
| 245 |
+
"Region": "us-gov-east-1",
|
| 246 |
+
"UseFIPS": false,
|
| 247 |
+
"UseDualStack": true
|
| 248 |
+
}
|
| 249 |
+
},
|
| 250 |
+
{
|
| 251 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled",
|
| 252 |
+
"expect": {
|
| 253 |
+
"endpoint": {
|
| 254 |
+
"url": "https://lookoutmetrics.us-gov-east-1.amazonaws.com"
|
| 255 |
+
}
|
| 256 |
+
},
|
| 257 |
+
"params": {
|
| 258 |
+
"Region": "us-gov-east-1",
|
| 259 |
+
"UseFIPS": false,
|
| 260 |
+
"UseDualStack": false
|
| 261 |
+
}
|
| 262 |
+
},
|
| 263 |
+
{
|
| 264 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
|
| 265 |
+
"expect": {
|
| 266 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 267 |
+
},
|
| 268 |
+
"params": {
|
| 269 |
+
"Region": "us-iso-east-1",
|
| 270 |
+
"UseFIPS": true,
|
| 271 |
+
"UseDualStack": true
|
| 272 |
+
}
|
| 273 |
+
},
|
| 274 |
+
{
|
| 275 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
|
| 276 |
+
"expect": {
|
| 277 |
+
"endpoint": {
|
| 278 |
+
"url": "https://lookoutmetrics-fips.us-iso-east-1.c2s.ic.gov"
|
| 279 |
+
}
|
| 280 |
+
},
|
| 281 |
+
"params": {
|
| 282 |
+
"Region": "us-iso-east-1",
|
| 283 |
+
"UseFIPS": true,
|
| 284 |
+
"UseDualStack": false
|
| 285 |
+
}
|
| 286 |
+
},
|
| 287 |
+
{
|
| 288 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
|
| 289 |
+
"expect": {
|
| 290 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 291 |
+
},
|
| 292 |
+
"params": {
|
| 293 |
+
"Region": "us-iso-east-1",
|
| 294 |
+
"UseFIPS": false,
|
| 295 |
+
"UseDualStack": true
|
| 296 |
+
}
|
| 297 |
+
},
|
| 298 |
+
{
|
| 299 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
|
| 300 |
+
"expect": {
|
| 301 |
+
"endpoint": {
|
| 302 |
+
"url": "https://lookoutmetrics.us-iso-east-1.c2s.ic.gov"
|
| 303 |
+
}
|
| 304 |
+
},
|
| 305 |
+
"params": {
|
| 306 |
+
"Region": "us-iso-east-1",
|
| 307 |
+
"UseFIPS": false,
|
| 308 |
+
"UseDualStack": false
|
| 309 |
+
}
|
| 310 |
+
},
|
| 311 |
+
{
|
| 312 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
|
| 313 |
+
"expect": {
|
| 314 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 315 |
+
},
|
| 316 |
+
"params": {
|
| 317 |
+
"Region": "us-isob-east-1",
|
| 318 |
+
"UseFIPS": true,
|
| 319 |
+
"UseDualStack": true
|
| 320 |
+
}
|
| 321 |
+
},
|
| 322 |
+
{
|
| 323 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
|
| 324 |
+
"expect": {
|
| 325 |
+
"endpoint": {
|
| 326 |
+
"url": "https://lookoutmetrics-fips.us-isob-east-1.sc2s.sgov.gov"
|
| 327 |
+
}
|
| 328 |
+
},
|
| 329 |
+
"params": {
|
| 330 |
+
"Region": "us-isob-east-1",
|
| 331 |
+
"UseFIPS": true,
|
| 332 |
+
"UseDualStack": false
|
| 333 |
+
}
|
| 334 |
+
},
|
| 335 |
+
{
|
| 336 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
|
| 337 |
+
"expect": {
|
| 338 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 339 |
+
},
|
| 340 |
+
"params": {
|
| 341 |
+
"Region": "us-isob-east-1",
|
| 342 |
+
"UseFIPS": false,
|
| 343 |
+
"UseDualStack": true
|
| 344 |
+
}
|
| 345 |
+
},
|
| 346 |
+
{
|
| 347 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
|
| 348 |
+
"expect": {
|
| 349 |
+
"endpoint": {
|
| 350 |
+
"url": "https://lookoutmetrics.us-isob-east-1.sc2s.sgov.gov"
|
| 351 |
+
}
|
| 352 |
+
},
|
| 353 |
+
"params": {
|
| 354 |
+
"Region": "us-isob-east-1",
|
| 355 |
+
"UseFIPS": false,
|
| 356 |
+
"UseDualStack": false
|
| 357 |
+
}
|
| 358 |
+
},
|
| 359 |
+
{
|
| 360 |
+
"documentation": "For custom endpoint with region set and fips disabled and dualstack disabled",
|
| 361 |
+
"expect": {
|
| 362 |
+
"endpoint": {
|
| 363 |
+
"url": "https://example.com"
|
| 364 |
+
}
|
| 365 |
+
},
|
| 366 |
+
"params": {
|
| 367 |
+
"Region": "us-east-1",
|
| 368 |
+
"UseFIPS": false,
|
| 369 |
+
"UseDualStack": false,
|
| 370 |
+
"Endpoint": "https://example.com"
|
| 371 |
+
}
|
| 372 |
+
},
|
| 373 |
+
{
|
| 374 |
+
"documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled",
|
| 375 |
+
"expect": {
|
| 376 |
+
"endpoint": {
|
| 377 |
+
"url": "https://example.com"
|
| 378 |
+
}
|
| 379 |
+
},
|
| 380 |
+
"params": {
|
| 381 |
+
"UseFIPS": false,
|
| 382 |
+
"UseDualStack": false,
|
| 383 |
+
"Endpoint": "https://example.com"
|
| 384 |
+
}
|
| 385 |
+
},
|
| 386 |
+
{
|
| 387 |
+
"documentation": "For custom endpoint with fips enabled and dualstack disabled",
|
| 388 |
+
"expect": {
|
| 389 |
+
"error": "Invalid Configuration: FIPS and custom endpoint are not supported"
|
| 390 |
+
},
|
| 391 |
+
"params": {
|
| 392 |
+
"Region": "us-east-1",
|
| 393 |
+
"UseFIPS": true,
|
| 394 |
+
"UseDualStack": false,
|
| 395 |
+
"Endpoint": "https://example.com"
|
| 396 |
+
}
|
| 397 |
+
},
|
| 398 |
+
{
|
| 399 |
+
"documentation": "For custom endpoint with fips disabled and dualstack enabled",
|
| 400 |
+
"expect": {
|
| 401 |
+
"error": "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
| 402 |
+
},
|
| 403 |
+
"params": {
|
| 404 |
+
"Region": "us-east-1",
|
| 405 |
+
"UseFIPS": false,
|
| 406 |
+
"UseDualStack": true,
|
| 407 |
+
"Endpoint": "https://example.com"
|
| 408 |
+
}
|
| 409 |
+
},
|
| 410 |
+
{
|
| 411 |
+
"documentation": "Missing region",
|
| 412 |
+
"expect": {
|
| 413 |
+
"error": "Invalid Configuration: Missing Region"
|
| 414 |
+
}
|
| 415 |
+
}
|
| 416 |
+
],
|
| 417 |
+
"version": "1.0"
|
| 418 |
+
}
|
testbed/boto__botocore/tests/functional/endpoint-rules/lookoutvision/endpoint-tests-1.json
ADDED
|
@@ -0,0 +1,392 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"testCases": [
|
| 3 |
+
{
|
| 4 |
+
"documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled",
|
| 5 |
+
"expect": {
|
| 6 |
+
"endpoint": {
|
| 7 |
+
"url": "https://lookoutvision.ap-northeast-1.amazonaws.com"
|
| 8 |
+
}
|
| 9 |
+
},
|
| 10 |
+
"params": {
|
| 11 |
+
"Region": "ap-northeast-1",
|
| 12 |
+
"UseFIPS": false,
|
| 13 |
+
"UseDualStack": false
|
| 14 |
+
}
|
| 15 |
+
},
|
| 16 |
+
{
|
| 17 |
+
"documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled",
|
| 18 |
+
"expect": {
|
| 19 |
+
"endpoint": {
|
| 20 |
+
"url": "https://lookoutvision.ap-northeast-2.amazonaws.com"
|
| 21 |
+
}
|
| 22 |
+
},
|
| 23 |
+
"params": {
|
| 24 |
+
"Region": "ap-northeast-2",
|
| 25 |
+
"UseFIPS": false,
|
| 26 |
+
"UseDualStack": false
|
| 27 |
+
}
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled",
|
| 31 |
+
"expect": {
|
| 32 |
+
"endpoint": {
|
| 33 |
+
"url": "https://lookoutvision.eu-central-1.amazonaws.com"
|
| 34 |
+
}
|
| 35 |
+
},
|
| 36 |
+
"params": {
|
| 37 |
+
"Region": "eu-central-1",
|
| 38 |
+
"UseFIPS": false,
|
| 39 |
+
"UseDualStack": false
|
| 40 |
+
}
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled",
|
| 44 |
+
"expect": {
|
| 45 |
+
"endpoint": {
|
| 46 |
+
"url": "https://lookoutvision.eu-west-1.amazonaws.com"
|
| 47 |
+
}
|
| 48 |
+
},
|
| 49 |
+
"params": {
|
| 50 |
+
"Region": "eu-west-1",
|
| 51 |
+
"UseFIPS": false,
|
| 52 |
+
"UseDualStack": false
|
| 53 |
+
}
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
|
| 57 |
+
"expect": {
|
| 58 |
+
"endpoint": {
|
| 59 |
+
"url": "https://lookoutvision.us-east-1.amazonaws.com"
|
| 60 |
+
}
|
| 61 |
+
},
|
| 62 |
+
"params": {
|
| 63 |
+
"Region": "us-east-1",
|
| 64 |
+
"UseFIPS": false,
|
| 65 |
+
"UseDualStack": false
|
| 66 |
+
}
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"documentation": "For region us-east-2 with FIPS disabled and DualStack disabled",
|
| 70 |
+
"expect": {
|
| 71 |
+
"endpoint": {
|
| 72 |
+
"url": "https://lookoutvision.us-east-2.amazonaws.com"
|
| 73 |
+
}
|
| 74 |
+
},
|
| 75 |
+
"params": {
|
| 76 |
+
"Region": "us-east-2",
|
| 77 |
+
"UseFIPS": false,
|
| 78 |
+
"UseDualStack": false
|
| 79 |
+
}
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"documentation": "For region us-west-2 with FIPS disabled and DualStack disabled",
|
| 83 |
+
"expect": {
|
| 84 |
+
"endpoint": {
|
| 85 |
+
"url": "https://lookoutvision.us-west-2.amazonaws.com"
|
| 86 |
+
}
|
| 87 |
+
},
|
| 88 |
+
"params": {
|
| 89 |
+
"Region": "us-west-2",
|
| 90 |
+
"UseFIPS": false,
|
| 91 |
+
"UseDualStack": false
|
| 92 |
+
}
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
|
| 96 |
+
"expect": {
|
| 97 |
+
"endpoint": {
|
| 98 |
+
"url": "https://lookoutvision-fips.us-east-1.api.aws"
|
| 99 |
+
}
|
| 100 |
+
},
|
| 101 |
+
"params": {
|
| 102 |
+
"Region": "us-east-1",
|
| 103 |
+
"UseFIPS": true,
|
| 104 |
+
"UseDualStack": true
|
| 105 |
+
}
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
|
| 109 |
+
"expect": {
|
| 110 |
+
"endpoint": {
|
| 111 |
+
"url": "https://lookoutvision-fips.us-east-1.amazonaws.com"
|
| 112 |
+
}
|
| 113 |
+
},
|
| 114 |
+
"params": {
|
| 115 |
+
"Region": "us-east-1",
|
| 116 |
+
"UseFIPS": true,
|
| 117 |
+
"UseDualStack": false
|
| 118 |
+
}
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
|
| 122 |
+
"expect": {
|
| 123 |
+
"endpoint": {
|
| 124 |
+
"url": "https://lookoutvision.us-east-1.api.aws"
|
| 125 |
+
}
|
| 126 |
+
},
|
| 127 |
+
"params": {
|
| 128 |
+
"Region": "us-east-1",
|
| 129 |
+
"UseFIPS": false,
|
| 130 |
+
"UseDualStack": true
|
| 131 |
+
}
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled",
|
| 135 |
+
"expect": {
|
| 136 |
+
"endpoint": {
|
| 137 |
+
"url": "https://lookoutvision-fips.cn-north-1.api.amazonwebservices.com.cn"
|
| 138 |
+
}
|
| 139 |
+
},
|
| 140 |
+
"params": {
|
| 141 |
+
"Region": "cn-north-1",
|
| 142 |
+
"UseFIPS": true,
|
| 143 |
+
"UseDualStack": true
|
| 144 |
+
}
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled",
|
| 148 |
+
"expect": {
|
| 149 |
+
"endpoint": {
|
| 150 |
+
"url": "https://lookoutvision-fips.cn-north-1.amazonaws.com.cn"
|
| 151 |
+
}
|
| 152 |
+
},
|
| 153 |
+
"params": {
|
| 154 |
+
"Region": "cn-north-1",
|
| 155 |
+
"UseFIPS": true,
|
| 156 |
+
"UseDualStack": false
|
| 157 |
+
}
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled",
|
| 161 |
+
"expect": {
|
| 162 |
+
"endpoint": {
|
| 163 |
+
"url": "https://lookoutvision.cn-north-1.api.amazonwebservices.com.cn"
|
| 164 |
+
}
|
| 165 |
+
},
|
| 166 |
+
"params": {
|
| 167 |
+
"Region": "cn-north-1",
|
| 168 |
+
"UseFIPS": false,
|
| 169 |
+
"UseDualStack": true
|
| 170 |
+
}
|
| 171 |
+
},
|
| 172 |
+
{
|
| 173 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled",
|
| 174 |
+
"expect": {
|
| 175 |
+
"endpoint": {
|
| 176 |
+
"url": "https://lookoutvision.cn-north-1.amazonaws.com.cn"
|
| 177 |
+
}
|
| 178 |
+
},
|
| 179 |
+
"params": {
|
| 180 |
+
"Region": "cn-north-1",
|
| 181 |
+
"UseFIPS": false,
|
| 182 |
+
"UseDualStack": false
|
| 183 |
+
}
|
| 184 |
+
},
|
| 185 |
+
{
|
| 186 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled",
|
| 187 |
+
"expect": {
|
| 188 |
+
"endpoint": {
|
| 189 |
+
"url": "https://lookoutvision-fips.us-gov-east-1.api.aws"
|
| 190 |
+
}
|
| 191 |
+
},
|
| 192 |
+
"params": {
|
| 193 |
+
"Region": "us-gov-east-1",
|
| 194 |
+
"UseFIPS": true,
|
| 195 |
+
"UseDualStack": true
|
| 196 |
+
}
|
| 197 |
+
},
|
| 198 |
+
{
|
| 199 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled",
|
| 200 |
+
"expect": {
|
| 201 |
+
"endpoint": {
|
| 202 |
+
"url": "https://lookoutvision-fips.us-gov-east-1.amazonaws.com"
|
| 203 |
+
}
|
| 204 |
+
},
|
| 205 |
+
"params": {
|
| 206 |
+
"Region": "us-gov-east-1",
|
| 207 |
+
"UseFIPS": true,
|
| 208 |
+
"UseDualStack": false
|
| 209 |
+
}
|
| 210 |
+
},
|
| 211 |
+
{
|
| 212 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled",
|
| 213 |
+
"expect": {
|
| 214 |
+
"endpoint": {
|
| 215 |
+
"url": "https://lookoutvision.us-gov-east-1.api.aws"
|
| 216 |
+
}
|
| 217 |
+
},
|
| 218 |
+
"params": {
|
| 219 |
+
"Region": "us-gov-east-1",
|
| 220 |
+
"UseFIPS": false,
|
| 221 |
+
"UseDualStack": true
|
| 222 |
+
}
|
| 223 |
+
},
|
| 224 |
+
{
|
| 225 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled",
|
| 226 |
+
"expect": {
|
| 227 |
+
"endpoint": {
|
| 228 |
+
"url": "https://lookoutvision.us-gov-east-1.amazonaws.com"
|
| 229 |
+
}
|
| 230 |
+
},
|
| 231 |
+
"params": {
|
| 232 |
+
"Region": "us-gov-east-1",
|
| 233 |
+
"UseFIPS": false,
|
| 234 |
+
"UseDualStack": false
|
| 235 |
+
}
|
| 236 |
+
},
|
| 237 |
+
{
|
| 238 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
|
| 239 |
+
"expect": {
|
| 240 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 241 |
+
},
|
| 242 |
+
"params": {
|
| 243 |
+
"Region": "us-iso-east-1",
|
| 244 |
+
"UseFIPS": true,
|
| 245 |
+
"UseDualStack": true
|
| 246 |
+
}
|
| 247 |
+
},
|
| 248 |
+
{
|
| 249 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
|
| 250 |
+
"expect": {
|
| 251 |
+
"endpoint": {
|
| 252 |
+
"url": "https://lookoutvision-fips.us-iso-east-1.c2s.ic.gov"
|
| 253 |
+
}
|
| 254 |
+
},
|
| 255 |
+
"params": {
|
| 256 |
+
"Region": "us-iso-east-1",
|
| 257 |
+
"UseFIPS": true,
|
| 258 |
+
"UseDualStack": false
|
| 259 |
+
}
|
| 260 |
+
},
|
| 261 |
+
{
|
| 262 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
|
| 263 |
+
"expect": {
|
| 264 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 265 |
+
},
|
| 266 |
+
"params": {
|
| 267 |
+
"Region": "us-iso-east-1",
|
| 268 |
+
"UseFIPS": false,
|
| 269 |
+
"UseDualStack": true
|
| 270 |
+
}
|
| 271 |
+
},
|
| 272 |
+
{
|
| 273 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
|
| 274 |
+
"expect": {
|
| 275 |
+
"endpoint": {
|
| 276 |
+
"url": "https://lookoutvision.us-iso-east-1.c2s.ic.gov"
|
| 277 |
+
}
|
| 278 |
+
},
|
| 279 |
+
"params": {
|
| 280 |
+
"Region": "us-iso-east-1",
|
| 281 |
+
"UseFIPS": false,
|
| 282 |
+
"UseDualStack": false
|
| 283 |
+
}
|
| 284 |
+
},
|
| 285 |
+
{
|
| 286 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
|
| 287 |
+
"expect": {
|
| 288 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 289 |
+
},
|
| 290 |
+
"params": {
|
| 291 |
+
"Region": "us-isob-east-1",
|
| 292 |
+
"UseFIPS": true,
|
| 293 |
+
"UseDualStack": true
|
| 294 |
+
}
|
| 295 |
+
},
|
| 296 |
+
{
|
| 297 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
|
| 298 |
+
"expect": {
|
| 299 |
+
"endpoint": {
|
| 300 |
+
"url": "https://lookoutvision-fips.us-isob-east-1.sc2s.sgov.gov"
|
| 301 |
+
}
|
| 302 |
+
},
|
| 303 |
+
"params": {
|
| 304 |
+
"Region": "us-isob-east-1",
|
| 305 |
+
"UseFIPS": true,
|
| 306 |
+
"UseDualStack": false
|
| 307 |
+
}
|
| 308 |
+
},
|
| 309 |
+
{
|
| 310 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
|
| 311 |
+
"expect": {
|
| 312 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 313 |
+
},
|
| 314 |
+
"params": {
|
| 315 |
+
"Region": "us-isob-east-1",
|
| 316 |
+
"UseFIPS": false,
|
| 317 |
+
"UseDualStack": true
|
| 318 |
+
}
|
| 319 |
+
},
|
| 320 |
+
{
|
| 321 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
|
| 322 |
+
"expect": {
|
| 323 |
+
"endpoint": {
|
| 324 |
+
"url": "https://lookoutvision.us-isob-east-1.sc2s.sgov.gov"
|
| 325 |
+
}
|
| 326 |
+
},
|
| 327 |
+
"params": {
|
| 328 |
+
"Region": "us-isob-east-1",
|
| 329 |
+
"UseFIPS": false,
|
| 330 |
+
"UseDualStack": false
|
| 331 |
+
}
|
| 332 |
+
},
|
| 333 |
+
{
|
| 334 |
+
"documentation": "For custom endpoint with region set and fips disabled and dualstack disabled",
|
| 335 |
+
"expect": {
|
| 336 |
+
"endpoint": {
|
| 337 |
+
"url": "https://example.com"
|
| 338 |
+
}
|
| 339 |
+
},
|
| 340 |
+
"params": {
|
| 341 |
+
"Region": "us-east-1",
|
| 342 |
+
"UseFIPS": false,
|
| 343 |
+
"UseDualStack": false,
|
| 344 |
+
"Endpoint": "https://example.com"
|
| 345 |
+
}
|
| 346 |
+
},
|
| 347 |
+
{
|
| 348 |
+
"documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled",
|
| 349 |
+
"expect": {
|
| 350 |
+
"endpoint": {
|
| 351 |
+
"url": "https://example.com"
|
| 352 |
+
}
|
| 353 |
+
},
|
| 354 |
+
"params": {
|
| 355 |
+
"UseFIPS": false,
|
| 356 |
+
"UseDualStack": false,
|
| 357 |
+
"Endpoint": "https://example.com"
|
| 358 |
+
}
|
| 359 |
+
},
|
| 360 |
+
{
|
| 361 |
+
"documentation": "For custom endpoint with fips enabled and dualstack disabled",
|
| 362 |
+
"expect": {
|
| 363 |
+
"error": "Invalid Configuration: FIPS and custom endpoint are not supported"
|
| 364 |
+
},
|
| 365 |
+
"params": {
|
| 366 |
+
"Region": "us-east-1",
|
| 367 |
+
"UseFIPS": true,
|
| 368 |
+
"UseDualStack": false,
|
| 369 |
+
"Endpoint": "https://example.com"
|
| 370 |
+
}
|
| 371 |
+
},
|
| 372 |
+
{
|
| 373 |
+
"documentation": "For custom endpoint with fips disabled and dualstack enabled",
|
| 374 |
+
"expect": {
|
| 375 |
+
"error": "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
| 376 |
+
},
|
| 377 |
+
"params": {
|
| 378 |
+
"Region": "us-east-1",
|
| 379 |
+
"UseFIPS": false,
|
| 380 |
+
"UseDualStack": true,
|
| 381 |
+
"Endpoint": "https://example.com"
|
| 382 |
+
}
|
| 383 |
+
},
|
| 384 |
+
{
|
| 385 |
+
"documentation": "Missing region",
|
| 386 |
+
"expect": {
|
| 387 |
+
"error": "Invalid Configuration: Missing Region"
|
| 388 |
+
}
|
| 389 |
+
}
|
| 390 |
+
],
|
| 391 |
+
"version": "1.0"
|
| 392 |
+
}
|
testbed/boto__botocore/tests/functional/endpoint-rules/m2/endpoint-tests-1.json
ADDED
|
@@ -0,0 +1,392 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"testCases": [
|
| 3 |
+
{
|
| 4 |
+
"documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled",
|
| 5 |
+
"expect": {
|
| 6 |
+
"endpoint": {
|
| 7 |
+
"url": "https://m2.ap-southeast-2.amazonaws.com"
|
| 8 |
+
}
|
| 9 |
+
},
|
| 10 |
+
"params": {
|
| 11 |
+
"Region": "ap-southeast-2",
|
| 12 |
+
"UseFIPS": false,
|
| 13 |
+
"UseDualStack": false
|
| 14 |
+
}
|
| 15 |
+
},
|
| 16 |
+
{
|
| 17 |
+
"documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled",
|
| 18 |
+
"expect": {
|
| 19 |
+
"endpoint": {
|
| 20 |
+
"url": "https://m2.ca-central-1.amazonaws.com"
|
| 21 |
+
}
|
| 22 |
+
},
|
| 23 |
+
"params": {
|
| 24 |
+
"Region": "ca-central-1",
|
| 25 |
+
"UseFIPS": false,
|
| 26 |
+
"UseDualStack": false
|
| 27 |
+
}
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled",
|
| 31 |
+
"expect": {
|
| 32 |
+
"endpoint": {
|
| 33 |
+
"url": "https://m2.eu-central-1.amazonaws.com"
|
| 34 |
+
}
|
| 35 |
+
},
|
| 36 |
+
"params": {
|
| 37 |
+
"Region": "eu-central-1",
|
| 38 |
+
"UseFIPS": false,
|
| 39 |
+
"UseDualStack": false
|
| 40 |
+
}
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled",
|
| 44 |
+
"expect": {
|
| 45 |
+
"endpoint": {
|
| 46 |
+
"url": "https://m2.eu-west-1.amazonaws.com"
|
| 47 |
+
}
|
| 48 |
+
},
|
| 49 |
+
"params": {
|
| 50 |
+
"Region": "eu-west-1",
|
| 51 |
+
"UseFIPS": false,
|
| 52 |
+
"UseDualStack": false
|
| 53 |
+
}
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"documentation": "For region sa-east-1 with FIPS disabled and DualStack disabled",
|
| 57 |
+
"expect": {
|
| 58 |
+
"endpoint": {
|
| 59 |
+
"url": "https://m2.sa-east-1.amazonaws.com"
|
| 60 |
+
}
|
| 61 |
+
},
|
| 62 |
+
"params": {
|
| 63 |
+
"Region": "sa-east-1",
|
| 64 |
+
"UseFIPS": false,
|
| 65 |
+
"UseDualStack": false
|
| 66 |
+
}
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
|
| 70 |
+
"expect": {
|
| 71 |
+
"endpoint": {
|
| 72 |
+
"url": "https://m2.us-east-1.amazonaws.com"
|
| 73 |
+
}
|
| 74 |
+
},
|
| 75 |
+
"params": {
|
| 76 |
+
"Region": "us-east-1",
|
| 77 |
+
"UseFIPS": false,
|
| 78 |
+
"UseDualStack": false
|
| 79 |
+
}
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"documentation": "For region us-west-2 with FIPS disabled and DualStack disabled",
|
| 83 |
+
"expect": {
|
| 84 |
+
"endpoint": {
|
| 85 |
+
"url": "https://m2.us-west-2.amazonaws.com"
|
| 86 |
+
}
|
| 87 |
+
},
|
| 88 |
+
"params": {
|
| 89 |
+
"Region": "us-west-2",
|
| 90 |
+
"UseFIPS": false,
|
| 91 |
+
"UseDualStack": false
|
| 92 |
+
}
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
|
| 96 |
+
"expect": {
|
| 97 |
+
"endpoint": {
|
| 98 |
+
"url": "https://m2-fips.us-east-1.api.aws"
|
| 99 |
+
}
|
| 100 |
+
},
|
| 101 |
+
"params": {
|
| 102 |
+
"Region": "us-east-1",
|
| 103 |
+
"UseFIPS": true,
|
| 104 |
+
"UseDualStack": true
|
| 105 |
+
}
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
|
| 109 |
+
"expect": {
|
| 110 |
+
"endpoint": {
|
| 111 |
+
"url": "https://m2-fips.us-east-1.amazonaws.com"
|
| 112 |
+
}
|
| 113 |
+
},
|
| 114 |
+
"params": {
|
| 115 |
+
"Region": "us-east-1",
|
| 116 |
+
"UseFIPS": true,
|
| 117 |
+
"UseDualStack": false
|
| 118 |
+
}
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
|
| 122 |
+
"expect": {
|
| 123 |
+
"endpoint": {
|
| 124 |
+
"url": "https://m2.us-east-1.api.aws"
|
| 125 |
+
}
|
| 126 |
+
},
|
| 127 |
+
"params": {
|
| 128 |
+
"Region": "us-east-1",
|
| 129 |
+
"UseFIPS": false,
|
| 130 |
+
"UseDualStack": true
|
| 131 |
+
}
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled",
|
| 135 |
+
"expect": {
|
| 136 |
+
"endpoint": {
|
| 137 |
+
"url": "https://m2-fips.cn-north-1.api.amazonwebservices.com.cn"
|
| 138 |
+
}
|
| 139 |
+
},
|
| 140 |
+
"params": {
|
| 141 |
+
"Region": "cn-north-1",
|
| 142 |
+
"UseFIPS": true,
|
| 143 |
+
"UseDualStack": true
|
| 144 |
+
}
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled",
|
| 148 |
+
"expect": {
|
| 149 |
+
"endpoint": {
|
| 150 |
+
"url": "https://m2-fips.cn-north-1.amazonaws.com.cn"
|
| 151 |
+
}
|
| 152 |
+
},
|
| 153 |
+
"params": {
|
| 154 |
+
"Region": "cn-north-1",
|
| 155 |
+
"UseFIPS": true,
|
| 156 |
+
"UseDualStack": false
|
| 157 |
+
}
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled",
|
| 161 |
+
"expect": {
|
| 162 |
+
"endpoint": {
|
| 163 |
+
"url": "https://m2.cn-north-1.api.amazonwebservices.com.cn"
|
| 164 |
+
}
|
| 165 |
+
},
|
| 166 |
+
"params": {
|
| 167 |
+
"Region": "cn-north-1",
|
| 168 |
+
"UseFIPS": false,
|
| 169 |
+
"UseDualStack": true
|
| 170 |
+
}
|
| 171 |
+
},
|
| 172 |
+
{
|
| 173 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled",
|
| 174 |
+
"expect": {
|
| 175 |
+
"endpoint": {
|
| 176 |
+
"url": "https://m2.cn-north-1.amazonaws.com.cn"
|
| 177 |
+
}
|
| 178 |
+
},
|
| 179 |
+
"params": {
|
| 180 |
+
"Region": "cn-north-1",
|
| 181 |
+
"UseFIPS": false,
|
| 182 |
+
"UseDualStack": false
|
| 183 |
+
}
|
| 184 |
+
},
|
| 185 |
+
{
|
| 186 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled",
|
| 187 |
+
"expect": {
|
| 188 |
+
"endpoint": {
|
| 189 |
+
"url": "https://m2-fips.us-gov-east-1.api.aws"
|
| 190 |
+
}
|
| 191 |
+
},
|
| 192 |
+
"params": {
|
| 193 |
+
"Region": "us-gov-east-1",
|
| 194 |
+
"UseFIPS": true,
|
| 195 |
+
"UseDualStack": true
|
| 196 |
+
}
|
| 197 |
+
},
|
| 198 |
+
{
|
| 199 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled",
|
| 200 |
+
"expect": {
|
| 201 |
+
"endpoint": {
|
| 202 |
+
"url": "https://m2-fips.us-gov-east-1.amazonaws.com"
|
| 203 |
+
}
|
| 204 |
+
},
|
| 205 |
+
"params": {
|
| 206 |
+
"Region": "us-gov-east-1",
|
| 207 |
+
"UseFIPS": true,
|
| 208 |
+
"UseDualStack": false
|
| 209 |
+
}
|
| 210 |
+
},
|
| 211 |
+
{
|
| 212 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled",
|
| 213 |
+
"expect": {
|
| 214 |
+
"endpoint": {
|
| 215 |
+
"url": "https://m2.us-gov-east-1.api.aws"
|
| 216 |
+
}
|
| 217 |
+
},
|
| 218 |
+
"params": {
|
| 219 |
+
"Region": "us-gov-east-1",
|
| 220 |
+
"UseFIPS": false,
|
| 221 |
+
"UseDualStack": true
|
| 222 |
+
}
|
| 223 |
+
},
|
| 224 |
+
{
|
| 225 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled",
|
| 226 |
+
"expect": {
|
| 227 |
+
"endpoint": {
|
| 228 |
+
"url": "https://m2.us-gov-east-1.amazonaws.com"
|
| 229 |
+
}
|
| 230 |
+
},
|
| 231 |
+
"params": {
|
| 232 |
+
"Region": "us-gov-east-1",
|
| 233 |
+
"UseFIPS": false,
|
| 234 |
+
"UseDualStack": false
|
| 235 |
+
}
|
| 236 |
+
},
|
| 237 |
+
{
|
| 238 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
|
| 239 |
+
"expect": {
|
| 240 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 241 |
+
},
|
| 242 |
+
"params": {
|
| 243 |
+
"Region": "us-iso-east-1",
|
| 244 |
+
"UseFIPS": true,
|
| 245 |
+
"UseDualStack": true
|
| 246 |
+
}
|
| 247 |
+
},
|
| 248 |
+
{
|
| 249 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
|
| 250 |
+
"expect": {
|
| 251 |
+
"endpoint": {
|
| 252 |
+
"url": "https://m2-fips.us-iso-east-1.c2s.ic.gov"
|
| 253 |
+
}
|
| 254 |
+
},
|
| 255 |
+
"params": {
|
| 256 |
+
"Region": "us-iso-east-1",
|
| 257 |
+
"UseFIPS": true,
|
| 258 |
+
"UseDualStack": false
|
| 259 |
+
}
|
| 260 |
+
},
|
| 261 |
+
{
|
| 262 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
|
| 263 |
+
"expect": {
|
| 264 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 265 |
+
},
|
| 266 |
+
"params": {
|
| 267 |
+
"Region": "us-iso-east-1",
|
| 268 |
+
"UseFIPS": false,
|
| 269 |
+
"UseDualStack": true
|
| 270 |
+
}
|
| 271 |
+
},
|
| 272 |
+
{
|
| 273 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
|
| 274 |
+
"expect": {
|
| 275 |
+
"endpoint": {
|
| 276 |
+
"url": "https://m2.us-iso-east-1.c2s.ic.gov"
|
| 277 |
+
}
|
| 278 |
+
},
|
| 279 |
+
"params": {
|
| 280 |
+
"Region": "us-iso-east-1",
|
| 281 |
+
"UseFIPS": false,
|
| 282 |
+
"UseDualStack": false
|
| 283 |
+
}
|
| 284 |
+
},
|
| 285 |
+
{
|
| 286 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
|
| 287 |
+
"expect": {
|
| 288 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 289 |
+
},
|
| 290 |
+
"params": {
|
| 291 |
+
"Region": "us-isob-east-1",
|
| 292 |
+
"UseFIPS": true,
|
| 293 |
+
"UseDualStack": true
|
| 294 |
+
}
|
| 295 |
+
},
|
| 296 |
+
{
|
| 297 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
|
| 298 |
+
"expect": {
|
| 299 |
+
"endpoint": {
|
| 300 |
+
"url": "https://m2-fips.us-isob-east-1.sc2s.sgov.gov"
|
| 301 |
+
}
|
| 302 |
+
},
|
| 303 |
+
"params": {
|
| 304 |
+
"Region": "us-isob-east-1",
|
| 305 |
+
"UseFIPS": true,
|
| 306 |
+
"UseDualStack": false
|
| 307 |
+
}
|
| 308 |
+
},
|
| 309 |
+
{
|
| 310 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
|
| 311 |
+
"expect": {
|
| 312 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 313 |
+
},
|
| 314 |
+
"params": {
|
| 315 |
+
"Region": "us-isob-east-1",
|
| 316 |
+
"UseFIPS": false,
|
| 317 |
+
"UseDualStack": true
|
| 318 |
+
}
|
| 319 |
+
},
|
| 320 |
+
{
|
| 321 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
|
| 322 |
+
"expect": {
|
| 323 |
+
"endpoint": {
|
| 324 |
+
"url": "https://m2.us-isob-east-1.sc2s.sgov.gov"
|
| 325 |
+
}
|
| 326 |
+
},
|
| 327 |
+
"params": {
|
| 328 |
+
"Region": "us-isob-east-1",
|
| 329 |
+
"UseFIPS": false,
|
| 330 |
+
"UseDualStack": false
|
| 331 |
+
}
|
| 332 |
+
},
|
| 333 |
+
{
|
| 334 |
+
"documentation": "For custom endpoint with region set and fips disabled and dualstack disabled",
|
| 335 |
+
"expect": {
|
| 336 |
+
"endpoint": {
|
| 337 |
+
"url": "https://example.com"
|
| 338 |
+
}
|
| 339 |
+
},
|
| 340 |
+
"params": {
|
| 341 |
+
"Region": "us-east-1",
|
| 342 |
+
"UseFIPS": false,
|
| 343 |
+
"UseDualStack": false,
|
| 344 |
+
"Endpoint": "https://example.com"
|
| 345 |
+
}
|
| 346 |
+
},
|
| 347 |
+
{
|
| 348 |
+
"documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled",
|
| 349 |
+
"expect": {
|
| 350 |
+
"endpoint": {
|
| 351 |
+
"url": "https://example.com"
|
| 352 |
+
}
|
| 353 |
+
},
|
| 354 |
+
"params": {
|
| 355 |
+
"UseFIPS": false,
|
| 356 |
+
"UseDualStack": false,
|
| 357 |
+
"Endpoint": "https://example.com"
|
| 358 |
+
}
|
| 359 |
+
},
|
| 360 |
+
{
|
| 361 |
+
"documentation": "For custom endpoint with fips enabled and dualstack disabled",
|
| 362 |
+
"expect": {
|
| 363 |
+
"error": "Invalid Configuration: FIPS and custom endpoint are not supported"
|
| 364 |
+
},
|
| 365 |
+
"params": {
|
| 366 |
+
"Region": "us-east-1",
|
| 367 |
+
"UseFIPS": true,
|
| 368 |
+
"UseDualStack": false,
|
| 369 |
+
"Endpoint": "https://example.com"
|
| 370 |
+
}
|
| 371 |
+
},
|
| 372 |
+
{
|
| 373 |
+
"documentation": "For custom endpoint with fips disabled and dualstack enabled",
|
| 374 |
+
"expect": {
|
| 375 |
+
"error": "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
| 376 |
+
},
|
| 377 |
+
"params": {
|
| 378 |
+
"Region": "us-east-1",
|
| 379 |
+
"UseFIPS": false,
|
| 380 |
+
"UseDualStack": true,
|
| 381 |
+
"Endpoint": "https://example.com"
|
| 382 |
+
}
|
| 383 |
+
},
|
| 384 |
+
{
|
| 385 |
+
"documentation": "Missing region",
|
| 386 |
+
"expect": {
|
| 387 |
+
"error": "Invalid Configuration: Missing Region"
|
| 388 |
+
}
|
| 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"testCases": [
|
| 3 |
+
{
|
| 4 |
+
"documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled",
|
| 5 |
+
"expect": {
|
| 6 |
+
"endpoint": {
|
| 7 |
+
"url": "https://machinelearning.eu-west-1.amazonaws.com"
|
| 8 |
+
}
|
| 9 |
+
},
|
| 10 |
+
"params": {
|
| 11 |
+
"Region": "eu-west-1",
|
| 12 |
+
"UseFIPS": false,
|
| 13 |
+
"UseDualStack": false
|
| 14 |
+
}
|
| 15 |
+
},
|
| 16 |
+
{
|
| 17 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
|
| 18 |
+
"expect": {
|
| 19 |
+
"endpoint": {
|
| 20 |
+
"url": "https://machinelearning.us-east-1.amazonaws.com"
|
| 21 |
+
}
|
| 22 |
+
},
|
| 23 |
+
"params": {
|
| 24 |
+
"Region": "us-east-1",
|
| 25 |
+
"UseFIPS": false,
|
| 26 |
+
"UseDualStack": false
|
| 27 |
+
}
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
|
| 31 |
+
"expect": {
|
| 32 |
+
"endpoint": {
|
| 33 |
+
"url": "https://machinelearning-fips.us-east-1.api.aws"
|
| 34 |
+
}
|
| 35 |
+
},
|
| 36 |
+
"params": {
|
| 37 |
+
"Region": "us-east-1",
|
| 38 |
+
"UseFIPS": true,
|
| 39 |
+
"UseDualStack": true
|
| 40 |
+
}
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
|
| 44 |
+
"expect": {
|
| 45 |
+
"endpoint": {
|
| 46 |
+
"url": "https://machinelearning-fips.us-east-1.amazonaws.com"
|
| 47 |
+
}
|
| 48 |
+
},
|
| 49 |
+
"params": {
|
| 50 |
+
"Region": "us-east-1",
|
| 51 |
+
"UseFIPS": true,
|
| 52 |
+
"UseDualStack": false
|
| 53 |
+
}
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
|
| 57 |
+
"expect": {
|
| 58 |
+
"endpoint": {
|
| 59 |
+
"url": "https://machinelearning.us-east-1.api.aws"
|
| 60 |
+
}
|
| 61 |
+
},
|
| 62 |
+
"params": {
|
| 63 |
+
"Region": "us-east-1",
|
| 64 |
+
"UseFIPS": false,
|
| 65 |
+
"UseDualStack": true
|
| 66 |
+
}
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled",
|
| 70 |
+
"expect": {
|
| 71 |
+
"endpoint": {
|
| 72 |
+
"url": "https://machinelearning-fips.cn-north-1.api.amazonwebservices.com.cn"
|
| 73 |
+
}
|
| 74 |
+
},
|
| 75 |
+
"params": {
|
| 76 |
+
"Region": "cn-north-1",
|
| 77 |
+
"UseFIPS": true,
|
| 78 |
+
"UseDualStack": true
|
| 79 |
+
}
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled",
|
| 83 |
+
"expect": {
|
| 84 |
+
"endpoint": {
|
| 85 |
+
"url": "https://machinelearning-fips.cn-north-1.amazonaws.com.cn"
|
| 86 |
+
}
|
| 87 |
+
},
|
| 88 |
+
"params": {
|
| 89 |
+
"Region": "cn-north-1",
|
| 90 |
+
"UseFIPS": true,
|
| 91 |
+
"UseDualStack": false
|
| 92 |
+
}
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled",
|
| 96 |
+
"expect": {
|
| 97 |
+
"endpoint": {
|
| 98 |
+
"url": "https://machinelearning.cn-north-1.api.amazonwebservices.com.cn"
|
| 99 |
+
}
|
| 100 |
+
},
|
| 101 |
+
"params": {
|
| 102 |
+
"Region": "cn-north-1",
|
| 103 |
+
"UseFIPS": false,
|
| 104 |
+
"UseDualStack": true
|
| 105 |
+
}
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled",
|
| 109 |
+
"expect": {
|
| 110 |
+
"endpoint": {
|
| 111 |
+
"url": "https://machinelearning.cn-north-1.amazonaws.com.cn"
|
| 112 |
+
}
|
| 113 |
+
},
|
| 114 |
+
"params": {
|
| 115 |
+
"Region": "cn-north-1",
|
| 116 |
+
"UseFIPS": false,
|
| 117 |
+
"UseDualStack": false
|
| 118 |
+
}
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled",
|
| 122 |
+
"expect": {
|
| 123 |
+
"endpoint": {
|
| 124 |
+
"url": "https://machinelearning-fips.us-gov-east-1.api.aws"
|
| 125 |
+
}
|
| 126 |
+
},
|
| 127 |
+
"params": {
|
| 128 |
+
"Region": "us-gov-east-1",
|
| 129 |
+
"UseFIPS": true,
|
| 130 |
+
"UseDualStack": true
|
| 131 |
+
}
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled",
|
| 135 |
+
"expect": {
|
| 136 |
+
"endpoint": {
|
| 137 |
+
"url": "https://machinelearning-fips.us-gov-east-1.amazonaws.com"
|
| 138 |
+
}
|
| 139 |
+
},
|
| 140 |
+
"params": {
|
| 141 |
+
"Region": "us-gov-east-1",
|
| 142 |
+
"UseFIPS": true,
|
| 143 |
+
"UseDualStack": false
|
| 144 |
+
}
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled",
|
| 148 |
+
"expect": {
|
| 149 |
+
"endpoint": {
|
| 150 |
+
"url": "https://machinelearning.us-gov-east-1.api.aws"
|
| 151 |
+
}
|
| 152 |
+
},
|
| 153 |
+
"params": {
|
| 154 |
+
"Region": "us-gov-east-1",
|
| 155 |
+
"UseFIPS": false,
|
| 156 |
+
"UseDualStack": true
|
| 157 |
+
}
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled",
|
| 161 |
+
"expect": {
|
| 162 |
+
"endpoint": {
|
| 163 |
+
"url": "https://machinelearning.us-gov-east-1.amazonaws.com"
|
| 164 |
+
}
|
| 165 |
+
},
|
| 166 |
+
"params": {
|
| 167 |
+
"Region": "us-gov-east-1",
|
| 168 |
+
"UseFIPS": false,
|
| 169 |
+
"UseDualStack": false
|
| 170 |
+
}
|
| 171 |
+
},
|
| 172 |
+
{
|
| 173 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
|
| 174 |
+
"expect": {
|
| 175 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 176 |
+
},
|
| 177 |
+
"params": {
|
| 178 |
+
"Region": "us-iso-east-1",
|
| 179 |
+
"UseFIPS": true,
|
| 180 |
+
"UseDualStack": true
|
| 181 |
+
}
|
| 182 |
+
},
|
| 183 |
+
{
|
| 184 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
|
| 185 |
+
"expect": {
|
| 186 |
+
"endpoint": {
|
| 187 |
+
"url": "https://machinelearning-fips.us-iso-east-1.c2s.ic.gov"
|
| 188 |
+
}
|
| 189 |
+
},
|
| 190 |
+
"params": {
|
| 191 |
+
"Region": "us-iso-east-1",
|
| 192 |
+
"UseFIPS": true,
|
| 193 |
+
"UseDualStack": false
|
| 194 |
+
}
|
| 195 |
+
},
|
| 196 |
+
{
|
| 197 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
|
| 198 |
+
"expect": {
|
| 199 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 200 |
+
},
|
| 201 |
+
"params": {
|
| 202 |
+
"Region": "us-iso-east-1",
|
| 203 |
+
"UseFIPS": false,
|
| 204 |
+
"UseDualStack": true
|
| 205 |
+
}
|
| 206 |
+
},
|
| 207 |
+
{
|
| 208 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
|
| 209 |
+
"expect": {
|
| 210 |
+
"endpoint": {
|
| 211 |
+
"url": "https://machinelearning.us-iso-east-1.c2s.ic.gov"
|
| 212 |
+
}
|
| 213 |
+
},
|
| 214 |
+
"params": {
|
| 215 |
+
"Region": "us-iso-east-1",
|
| 216 |
+
"UseFIPS": false,
|
| 217 |
+
"UseDualStack": false
|
| 218 |
+
}
|
| 219 |
+
},
|
| 220 |
+
{
|
| 221 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
|
| 222 |
+
"expect": {
|
| 223 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 224 |
+
},
|
| 225 |
+
"params": {
|
| 226 |
+
"Region": "us-isob-east-1",
|
| 227 |
+
"UseFIPS": true,
|
| 228 |
+
"UseDualStack": true
|
| 229 |
+
}
|
| 230 |
+
},
|
| 231 |
+
{
|
| 232 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
|
| 233 |
+
"expect": {
|
| 234 |
+
"endpoint": {
|
| 235 |
+
"url": "https://machinelearning-fips.us-isob-east-1.sc2s.sgov.gov"
|
| 236 |
+
}
|
| 237 |
+
},
|
| 238 |
+
"params": {
|
| 239 |
+
"Region": "us-isob-east-1",
|
| 240 |
+
"UseFIPS": true,
|
| 241 |
+
"UseDualStack": false
|
| 242 |
+
}
|
| 243 |
+
},
|
| 244 |
+
{
|
| 245 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
|
| 246 |
+
"expect": {
|
| 247 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 248 |
+
},
|
| 249 |
+
"params": {
|
| 250 |
+
"Region": "us-isob-east-1",
|
| 251 |
+
"UseFIPS": false,
|
| 252 |
+
"UseDualStack": true
|
| 253 |
+
}
|
| 254 |
+
},
|
| 255 |
+
{
|
| 256 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
|
| 257 |
+
"expect": {
|
| 258 |
+
"endpoint": {
|
| 259 |
+
"url": "https://machinelearning.us-isob-east-1.sc2s.sgov.gov"
|
| 260 |
+
}
|
| 261 |
+
},
|
| 262 |
+
"params": {
|
| 263 |
+
"Region": "us-isob-east-1",
|
| 264 |
+
"UseFIPS": false,
|
| 265 |
+
"UseDualStack": false
|
| 266 |
+
}
|
| 267 |
+
},
|
| 268 |
+
{
|
| 269 |
+
"documentation": "For custom endpoint with region set and fips disabled and dualstack disabled",
|
| 270 |
+
"expect": {
|
| 271 |
+
"endpoint": {
|
| 272 |
+
"url": "https://example.com"
|
| 273 |
+
}
|
| 274 |
+
},
|
| 275 |
+
"params": {
|
| 276 |
+
"Region": "us-east-1",
|
| 277 |
+
"UseFIPS": false,
|
| 278 |
+
"UseDualStack": false,
|
| 279 |
+
"Endpoint": "https://example.com"
|
| 280 |
+
}
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled",
|
| 284 |
+
"expect": {
|
| 285 |
+
"endpoint": {
|
| 286 |
+
"url": "https://example.com"
|
| 287 |
+
}
|
| 288 |
+
},
|
| 289 |
+
"params": {
|
| 290 |
+
"UseFIPS": false,
|
| 291 |
+
"UseDualStack": false,
|
| 292 |
+
"Endpoint": "https://example.com"
|
| 293 |
+
}
|
| 294 |
+
},
|
| 295 |
+
{
|
| 296 |
+
"documentation": "For custom endpoint with fips enabled and dualstack disabled",
|
| 297 |
+
"expect": {
|
| 298 |
+
"error": "Invalid Configuration: FIPS and custom endpoint are not supported"
|
| 299 |
+
},
|
| 300 |
+
"params": {
|
| 301 |
+
"Region": "us-east-1",
|
| 302 |
+
"UseFIPS": true,
|
| 303 |
+
"UseDualStack": false,
|
| 304 |
+
"Endpoint": "https://example.com"
|
| 305 |
+
}
|
| 306 |
+
},
|
| 307 |
+
{
|
| 308 |
+
"documentation": "For custom endpoint with fips disabled and dualstack enabled",
|
| 309 |
+
"expect": {
|
| 310 |
+
"error": "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
| 311 |
+
},
|
| 312 |
+
"params": {
|
| 313 |
+
"Region": "us-east-1",
|
| 314 |
+
"UseFIPS": false,
|
| 315 |
+
"UseDualStack": true,
|
| 316 |
+
"Endpoint": "https://example.com"
|
| 317 |
+
}
|
| 318 |
+
},
|
| 319 |
+
{
|
| 320 |
+
"documentation": "Missing region",
|
| 321 |
+
"expect": {
|
| 322 |
+
"error": "Invalid Configuration: Missing Region"
|
| 323 |
+
}
|
| 324 |
+
}
|
| 325 |
+
],
|
| 326 |
+
"version": "1.0"
|
| 327 |
+
}
|
testbed/boto__botocore/tests/functional/endpoint-rules/macie2/endpoint-tests-1.json
ADDED
|
@@ -0,0 +1,613 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"testCases": [
|
| 3 |
+
{
|
| 4 |
+
"documentation": "For region af-south-1 with FIPS disabled and DualStack disabled",
|
| 5 |
+
"expect": {
|
| 6 |
+
"endpoint": {
|
| 7 |
+
"url": "https://macie2.af-south-1.amazonaws.com"
|
| 8 |
+
}
|
| 9 |
+
},
|
| 10 |
+
"params": {
|
| 11 |
+
"Region": "af-south-1",
|
| 12 |
+
"UseFIPS": false,
|
| 13 |
+
"UseDualStack": false
|
| 14 |
+
}
|
| 15 |
+
},
|
| 16 |
+
{
|
| 17 |
+
"documentation": "For region ap-east-1 with FIPS disabled and DualStack disabled",
|
| 18 |
+
"expect": {
|
| 19 |
+
"endpoint": {
|
| 20 |
+
"url": "https://macie2.ap-east-1.amazonaws.com"
|
| 21 |
+
}
|
| 22 |
+
},
|
| 23 |
+
"params": {
|
| 24 |
+
"Region": "ap-east-1",
|
| 25 |
+
"UseFIPS": false,
|
| 26 |
+
"UseDualStack": false
|
| 27 |
+
}
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled",
|
| 31 |
+
"expect": {
|
| 32 |
+
"endpoint": {
|
| 33 |
+
"url": "https://macie2.ap-northeast-1.amazonaws.com"
|
| 34 |
+
}
|
| 35 |
+
},
|
| 36 |
+
"params": {
|
| 37 |
+
"Region": "ap-northeast-1",
|
| 38 |
+
"UseFIPS": false,
|
| 39 |
+
"UseDualStack": false
|
| 40 |
+
}
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled",
|
| 44 |
+
"expect": {
|
| 45 |
+
"endpoint": {
|
| 46 |
+
"url": "https://macie2.ap-northeast-2.amazonaws.com"
|
| 47 |
+
}
|
| 48 |
+
},
|
| 49 |
+
"params": {
|
| 50 |
+
"Region": "ap-northeast-2",
|
| 51 |
+
"UseFIPS": false,
|
| 52 |
+
"UseDualStack": false
|
| 53 |
+
}
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"documentation": "For region ap-northeast-3 with FIPS disabled and DualStack disabled",
|
| 57 |
+
"expect": {
|
| 58 |
+
"endpoint": {
|
| 59 |
+
"url": "https://macie2.ap-northeast-3.amazonaws.com"
|
| 60 |
+
}
|
| 61 |
+
},
|
| 62 |
+
"params": {
|
| 63 |
+
"Region": "ap-northeast-3",
|
| 64 |
+
"UseFIPS": false,
|
| 65 |
+
"UseDualStack": false
|
| 66 |
+
}
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled",
|
| 70 |
+
"expect": {
|
| 71 |
+
"endpoint": {
|
| 72 |
+
"url": "https://macie2.ap-south-1.amazonaws.com"
|
| 73 |
+
}
|
| 74 |
+
},
|
| 75 |
+
"params": {
|
| 76 |
+
"Region": "ap-south-1",
|
| 77 |
+
"UseFIPS": false,
|
| 78 |
+
"UseDualStack": false
|
| 79 |
+
}
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled",
|
| 83 |
+
"expect": {
|
| 84 |
+
"endpoint": {
|
| 85 |
+
"url": "https://macie2.ap-southeast-1.amazonaws.com"
|
| 86 |
+
}
|
| 87 |
+
},
|
| 88 |
+
"params": {
|
| 89 |
+
"Region": "ap-southeast-1",
|
| 90 |
+
"UseFIPS": false,
|
| 91 |
+
"UseDualStack": false
|
| 92 |
+
}
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled",
|
| 96 |
+
"expect": {
|
| 97 |
+
"endpoint": {
|
| 98 |
+
"url": "https://macie2.ap-southeast-2.amazonaws.com"
|
| 99 |
+
}
|
| 100 |
+
},
|
| 101 |
+
"params": {
|
| 102 |
+
"Region": "ap-southeast-2",
|
| 103 |
+
"UseFIPS": false,
|
| 104 |
+
"UseDualStack": false
|
| 105 |
+
}
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled",
|
| 109 |
+
"expect": {
|
| 110 |
+
"endpoint": {
|
| 111 |
+
"url": "https://macie2.ca-central-1.amazonaws.com"
|
| 112 |
+
}
|
| 113 |
+
},
|
| 114 |
+
"params": {
|
| 115 |
+
"Region": "ca-central-1",
|
| 116 |
+
"UseFIPS": false,
|
| 117 |
+
"UseDualStack": false
|
| 118 |
+
}
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled",
|
| 122 |
+
"expect": {
|
| 123 |
+
"endpoint": {
|
| 124 |
+
"url": "https://macie2.eu-central-1.amazonaws.com"
|
| 125 |
+
}
|
| 126 |
+
},
|
| 127 |
+
"params": {
|
| 128 |
+
"Region": "eu-central-1",
|
| 129 |
+
"UseFIPS": false,
|
| 130 |
+
"UseDualStack": false
|
| 131 |
+
}
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
"documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled",
|
| 135 |
+
"expect": {
|
| 136 |
+
"endpoint": {
|
| 137 |
+
"url": "https://macie2.eu-north-1.amazonaws.com"
|
| 138 |
+
}
|
| 139 |
+
},
|
| 140 |
+
"params": {
|
| 141 |
+
"Region": "eu-north-1",
|
| 142 |
+
"UseFIPS": false,
|
| 143 |
+
"UseDualStack": false
|
| 144 |
+
}
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"documentation": "For region eu-south-1 with FIPS disabled and DualStack disabled",
|
| 148 |
+
"expect": {
|
| 149 |
+
"endpoint": {
|
| 150 |
+
"url": "https://macie2.eu-south-1.amazonaws.com"
|
| 151 |
+
}
|
| 152 |
+
},
|
| 153 |
+
"params": {
|
| 154 |
+
"Region": "eu-south-1",
|
| 155 |
+
"UseFIPS": false,
|
| 156 |
+
"UseDualStack": false
|
| 157 |
+
}
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled",
|
| 161 |
+
"expect": {
|
| 162 |
+
"endpoint": {
|
| 163 |
+
"url": "https://macie2.eu-west-1.amazonaws.com"
|
| 164 |
+
}
|
| 165 |
+
},
|
| 166 |
+
"params": {
|
| 167 |
+
"Region": "eu-west-1",
|
| 168 |
+
"UseFIPS": false,
|
| 169 |
+
"UseDualStack": false
|
| 170 |
+
}
|
| 171 |
+
},
|
| 172 |
+
{
|
| 173 |
+
"documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled",
|
| 174 |
+
"expect": {
|
| 175 |
+
"endpoint": {
|
| 176 |
+
"url": "https://macie2.eu-west-2.amazonaws.com"
|
| 177 |
+
}
|
| 178 |
+
},
|
| 179 |
+
"params": {
|
| 180 |
+
"Region": "eu-west-2",
|
| 181 |
+
"UseFIPS": false,
|
| 182 |
+
"UseDualStack": false
|
| 183 |
+
}
|
| 184 |
+
},
|
| 185 |
+
{
|
| 186 |
+
"documentation": "For region eu-west-3 with FIPS disabled and DualStack disabled",
|
| 187 |
+
"expect": {
|
| 188 |
+
"endpoint": {
|
| 189 |
+
"url": "https://macie2.eu-west-3.amazonaws.com"
|
| 190 |
+
}
|
| 191 |
+
},
|
| 192 |
+
"params": {
|
| 193 |
+
"Region": "eu-west-3",
|
| 194 |
+
"UseFIPS": false,
|
| 195 |
+
"UseDualStack": false
|
| 196 |
+
}
|
| 197 |
+
},
|
| 198 |
+
{
|
| 199 |
+
"documentation": "For region me-south-1 with FIPS disabled and DualStack disabled",
|
| 200 |
+
"expect": {
|
| 201 |
+
"endpoint": {
|
| 202 |
+
"url": "https://macie2.me-south-1.amazonaws.com"
|
| 203 |
+
}
|
| 204 |
+
},
|
| 205 |
+
"params": {
|
| 206 |
+
"Region": "me-south-1",
|
| 207 |
+
"UseFIPS": false,
|
| 208 |
+
"UseDualStack": false
|
| 209 |
+
}
|
| 210 |
+
},
|
| 211 |
+
{
|
| 212 |
+
"documentation": "For region sa-east-1 with FIPS disabled and DualStack disabled",
|
| 213 |
+
"expect": {
|
| 214 |
+
"endpoint": {
|
| 215 |
+
"url": "https://macie2.sa-east-1.amazonaws.com"
|
| 216 |
+
}
|
| 217 |
+
},
|
| 218 |
+
"params": {
|
| 219 |
+
"Region": "sa-east-1",
|
| 220 |
+
"UseFIPS": false,
|
| 221 |
+
"UseDualStack": false
|
| 222 |
+
}
|
| 223 |
+
},
|
| 224 |
+
{
|
| 225 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
|
| 226 |
+
"expect": {
|
| 227 |
+
"endpoint": {
|
| 228 |
+
"url": "https://macie2.us-east-1.amazonaws.com"
|
| 229 |
+
}
|
| 230 |
+
},
|
| 231 |
+
"params": {
|
| 232 |
+
"Region": "us-east-1",
|
| 233 |
+
"UseFIPS": false,
|
| 234 |
+
"UseDualStack": false
|
| 235 |
+
}
|
| 236 |
+
},
|
| 237 |
+
{
|
| 238 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
|
| 239 |
+
"expect": {
|
| 240 |
+
"endpoint": {
|
| 241 |
+
"url": "https://macie2-fips.us-east-1.amazonaws.com"
|
| 242 |
+
}
|
| 243 |
+
},
|
| 244 |
+
"params": {
|
| 245 |
+
"Region": "us-east-1",
|
| 246 |
+
"UseFIPS": true,
|
| 247 |
+
"UseDualStack": false
|
| 248 |
+
}
|
| 249 |
+
},
|
| 250 |
+
{
|
| 251 |
+
"documentation": "For region us-east-2 with FIPS disabled and DualStack disabled",
|
| 252 |
+
"expect": {
|
| 253 |
+
"endpoint": {
|
| 254 |
+
"url": "https://macie2.us-east-2.amazonaws.com"
|
| 255 |
+
}
|
| 256 |
+
},
|
| 257 |
+
"params": {
|
| 258 |
+
"Region": "us-east-2",
|
| 259 |
+
"UseFIPS": false,
|
| 260 |
+
"UseDualStack": false
|
| 261 |
+
}
|
| 262 |
+
},
|
| 263 |
+
{
|
| 264 |
+
"documentation": "For region us-east-2 with FIPS enabled and DualStack disabled",
|
| 265 |
+
"expect": {
|
| 266 |
+
"endpoint": {
|
| 267 |
+
"url": "https://macie2-fips.us-east-2.amazonaws.com"
|
| 268 |
+
}
|
| 269 |
+
},
|
| 270 |
+
"params": {
|
| 271 |
+
"Region": "us-east-2",
|
| 272 |
+
"UseFIPS": true,
|
| 273 |
+
"UseDualStack": false
|
| 274 |
+
}
|
| 275 |
+
},
|
| 276 |
+
{
|
| 277 |
+
"documentation": "For region us-west-1 with FIPS disabled and DualStack disabled",
|
| 278 |
+
"expect": {
|
| 279 |
+
"endpoint": {
|
| 280 |
+
"url": "https://macie2.us-west-1.amazonaws.com"
|
| 281 |
+
}
|
| 282 |
+
},
|
| 283 |
+
"params": {
|
| 284 |
+
"Region": "us-west-1",
|
| 285 |
+
"UseFIPS": false,
|
| 286 |
+
"UseDualStack": false
|
| 287 |
+
}
|
| 288 |
+
},
|
| 289 |
+
{
|
| 290 |
+
"documentation": "For region us-west-1 with FIPS enabled and DualStack disabled",
|
| 291 |
+
"expect": {
|
| 292 |
+
"endpoint": {
|
| 293 |
+
"url": "https://macie2-fips.us-west-1.amazonaws.com"
|
| 294 |
+
}
|
| 295 |
+
},
|
| 296 |
+
"params": {
|
| 297 |
+
"Region": "us-west-1",
|
| 298 |
+
"UseFIPS": true,
|
| 299 |
+
"UseDualStack": false
|
| 300 |
+
}
|
| 301 |
+
},
|
| 302 |
+
{
|
| 303 |
+
"documentation": "For region us-west-2 with FIPS disabled and DualStack disabled",
|
| 304 |
+
"expect": {
|
| 305 |
+
"endpoint": {
|
| 306 |
+
"url": "https://macie2.us-west-2.amazonaws.com"
|
| 307 |
+
}
|
| 308 |
+
},
|
| 309 |
+
"params": {
|
| 310 |
+
"Region": "us-west-2",
|
| 311 |
+
"UseFIPS": false,
|
| 312 |
+
"UseDualStack": false
|
| 313 |
+
}
|
| 314 |
+
},
|
| 315 |
+
{
|
| 316 |
+
"documentation": "For region us-west-2 with FIPS enabled and DualStack disabled",
|
| 317 |
+
"expect": {
|
| 318 |
+
"endpoint": {
|
| 319 |
+
"url": "https://macie2-fips.us-west-2.amazonaws.com"
|
| 320 |
+
}
|
| 321 |
+
},
|
| 322 |
+
"params": {
|
| 323 |
+
"Region": "us-west-2",
|
| 324 |
+
"UseFIPS": true,
|
| 325 |
+
"UseDualStack": false
|
| 326 |
+
}
|
| 327 |
+
},
|
| 328 |
+
{
|
| 329 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
|
| 330 |
+
"expect": {
|
| 331 |
+
"endpoint": {
|
| 332 |
+
"url": "https://macie2-fips.us-east-1.api.aws"
|
| 333 |
+
}
|
| 334 |
+
},
|
| 335 |
+
"params": {
|
| 336 |
+
"Region": "us-east-1",
|
| 337 |
+
"UseFIPS": true,
|
| 338 |
+
"UseDualStack": true
|
| 339 |
+
}
|
| 340 |
+
},
|
| 341 |
+
{
|
| 342 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
|
| 343 |
+
"expect": {
|
| 344 |
+
"endpoint": {
|
| 345 |
+
"url": "https://macie2.us-east-1.api.aws"
|
| 346 |
+
}
|
| 347 |
+
},
|
| 348 |
+
"params": {
|
| 349 |
+
"Region": "us-east-1",
|
| 350 |
+
"UseFIPS": false,
|
| 351 |
+
"UseDualStack": true
|
| 352 |
+
}
|
| 353 |
+
},
|
| 354 |
+
{
|
| 355 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled",
|
| 356 |
+
"expect": {
|
| 357 |
+
"endpoint": {
|
| 358 |
+
"url": "https://macie2-fips.cn-north-1.api.amazonwebservices.com.cn"
|
| 359 |
+
}
|
| 360 |
+
},
|
| 361 |
+
"params": {
|
| 362 |
+
"Region": "cn-north-1",
|
| 363 |
+
"UseFIPS": true,
|
| 364 |
+
"UseDualStack": true
|
| 365 |
+
}
|
| 366 |
+
},
|
| 367 |
+
{
|
| 368 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled",
|
| 369 |
+
"expect": {
|
| 370 |
+
"endpoint": {
|
| 371 |
+
"url": "https://macie2-fips.cn-north-1.amazonaws.com.cn"
|
| 372 |
+
}
|
| 373 |
+
},
|
| 374 |
+
"params": {
|
| 375 |
+
"Region": "cn-north-1",
|
| 376 |
+
"UseFIPS": true,
|
| 377 |
+
"UseDualStack": false
|
| 378 |
+
}
|
| 379 |
+
},
|
| 380 |
+
{
|
| 381 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled",
|
| 382 |
+
"expect": {
|
| 383 |
+
"endpoint": {
|
| 384 |
+
"url": "https://macie2.cn-north-1.api.amazonwebservices.com.cn"
|
| 385 |
+
}
|
| 386 |
+
},
|
| 387 |
+
"params": {
|
| 388 |
+
"Region": "cn-north-1",
|
| 389 |
+
"UseFIPS": false,
|
| 390 |
+
"UseDualStack": true
|
| 391 |
+
}
|
| 392 |
+
},
|
| 393 |
+
{
|
| 394 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled",
|
| 395 |
+
"expect": {
|
| 396 |
+
"endpoint": {
|
| 397 |
+
"url": "https://macie2.cn-north-1.amazonaws.com.cn"
|
| 398 |
+
}
|
| 399 |
+
},
|
| 400 |
+
"params": {
|
| 401 |
+
"Region": "cn-north-1",
|
| 402 |
+
"UseFIPS": false,
|
| 403 |
+
"UseDualStack": false
|
| 404 |
+
}
|
| 405 |
+
},
|
| 406 |
+
{
|
| 407 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled",
|
| 408 |
+
"expect": {
|
| 409 |
+
"endpoint": {
|
| 410 |
+
"url": "https://macie2-fips.us-gov-east-1.api.aws"
|
| 411 |
+
}
|
| 412 |
+
},
|
| 413 |
+
"params": {
|
| 414 |
+
"Region": "us-gov-east-1",
|
| 415 |
+
"UseFIPS": true,
|
| 416 |
+
"UseDualStack": true
|
| 417 |
+
}
|
| 418 |
+
},
|
| 419 |
+
{
|
| 420 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled",
|
| 421 |
+
"expect": {
|
| 422 |
+
"endpoint": {
|
| 423 |
+
"url": "https://macie2-fips.us-gov-east-1.amazonaws.com"
|
| 424 |
+
}
|
| 425 |
+
},
|
| 426 |
+
"params": {
|
| 427 |
+
"Region": "us-gov-east-1",
|
| 428 |
+
"UseFIPS": true,
|
| 429 |
+
"UseDualStack": false
|
| 430 |
+
}
|
| 431 |
+
},
|
| 432 |
+
{
|
| 433 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled",
|
| 434 |
+
"expect": {
|
| 435 |
+
"endpoint": {
|
| 436 |
+
"url": "https://macie2.us-gov-east-1.api.aws"
|
| 437 |
+
}
|
| 438 |
+
},
|
| 439 |
+
"params": {
|
| 440 |
+
"Region": "us-gov-east-1",
|
| 441 |
+
"UseFIPS": false,
|
| 442 |
+
"UseDualStack": true
|
| 443 |
+
}
|
| 444 |
+
},
|
| 445 |
+
{
|
| 446 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled",
|
| 447 |
+
"expect": {
|
| 448 |
+
"endpoint": {
|
| 449 |
+
"url": "https://macie2.us-gov-east-1.amazonaws.com"
|
| 450 |
+
}
|
| 451 |
+
},
|
| 452 |
+
"params": {
|
| 453 |
+
"Region": "us-gov-east-1",
|
| 454 |
+
"UseFIPS": false,
|
| 455 |
+
"UseDualStack": false
|
| 456 |
+
}
|
| 457 |
+
},
|
| 458 |
+
{
|
| 459 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
|
| 460 |
+
"expect": {
|
| 461 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 462 |
+
},
|
| 463 |
+
"params": {
|
| 464 |
+
"Region": "us-iso-east-1",
|
| 465 |
+
"UseFIPS": true,
|
| 466 |
+
"UseDualStack": true
|
| 467 |
+
}
|
| 468 |
+
},
|
| 469 |
+
{
|
| 470 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
|
| 471 |
+
"expect": {
|
| 472 |
+
"endpoint": {
|
| 473 |
+
"url": "https://macie2-fips.us-iso-east-1.c2s.ic.gov"
|
| 474 |
+
}
|
| 475 |
+
},
|
| 476 |
+
"params": {
|
| 477 |
+
"Region": "us-iso-east-1",
|
| 478 |
+
"UseFIPS": true,
|
| 479 |
+
"UseDualStack": false
|
| 480 |
+
}
|
| 481 |
+
},
|
| 482 |
+
{
|
| 483 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
|
| 484 |
+
"expect": {
|
| 485 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 486 |
+
},
|
| 487 |
+
"params": {
|
| 488 |
+
"Region": "us-iso-east-1",
|
| 489 |
+
"UseFIPS": false,
|
| 490 |
+
"UseDualStack": true
|
| 491 |
+
}
|
| 492 |
+
},
|
| 493 |
+
{
|
| 494 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
|
| 495 |
+
"expect": {
|
| 496 |
+
"endpoint": {
|
| 497 |
+
"url": "https://macie2.us-iso-east-1.c2s.ic.gov"
|
| 498 |
+
}
|
| 499 |
+
},
|
| 500 |
+
"params": {
|
| 501 |
+
"Region": "us-iso-east-1",
|
| 502 |
+
"UseFIPS": false,
|
| 503 |
+
"UseDualStack": false
|
| 504 |
+
}
|
| 505 |
+
},
|
| 506 |
+
{
|
| 507 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
|
| 508 |
+
"expect": {
|
| 509 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 510 |
+
},
|
| 511 |
+
"params": {
|
| 512 |
+
"Region": "us-isob-east-1",
|
| 513 |
+
"UseFIPS": true,
|
| 514 |
+
"UseDualStack": true
|
| 515 |
+
}
|
| 516 |
+
},
|
| 517 |
+
{
|
| 518 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
|
| 519 |
+
"expect": {
|
| 520 |
+
"endpoint": {
|
| 521 |
+
"url": "https://macie2-fips.us-isob-east-1.sc2s.sgov.gov"
|
| 522 |
+
}
|
| 523 |
+
},
|
| 524 |
+
"params": {
|
| 525 |
+
"Region": "us-isob-east-1",
|
| 526 |
+
"UseFIPS": true,
|
| 527 |
+
"UseDualStack": false
|
| 528 |
+
}
|
| 529 |
+
},
|
| 530 |
+
{
|
| 531 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
|
| 532 |
+
"expect": {
|
| 533 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 534 |
+
},
|
| 535 |
+
"params": {
|
| 536 |
+
"Region": "us-isob-east-1",
|
| 537 |
+
"UseFIPS": false,
|
| 538 |
+
"UseDualStack": true
|
| 539 |
+
}
|
| 540 |
+
},
|
| 541 |
+
{
|
| 542 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
|
| 543 |
+
"expect": {
|
| 544 |
+
"endpoint": {
|
| 545 |
+
"url": "https://macie2.us-isob-east-1.sc2s.sgov.gov"
|
| 546 |
+
}
|
| 547 |
+
},
|
| 548 |
+
"params": {
|
| 549 |
+
"Region": "us-isob-east-1",
|
| 550 |
+
"UseFIPS": false,
|
| 551 |
+
"UseDualStack": false
|
| 552 |
+
}
|
| 553 |
+
},
|
| 554 |
+
{
|
| 555 |
+
"documentation": "For custom endpoint with region set and fips disabled and dualstack disabled",
|
| 556 |
+
"expect": {
|
| 557 |
+
"endpoint": {
|
| 558 |
+
"url": "https://example.com"
|
| 559 |
+
}
|
| 560 |
+
},
|
| 561 |
+
"params": {
|
| 562 |
+
"Region": "us-east-1",
|
| 563 |
+
"UseFIPS": false,
|
| 564 |
+
"UseDualStack": false,
|
| 565 |
+
"Endpoint": "https://example.com"
|
| 566 |
+
}
|
| 567 |
+
},
|
| 568 |
+
{
|
| 569 |
+
"documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled",
|
| 570 |
+
"expect": {
|
| 571 |
+
"endpoint": {
|
| 572 |
+
"url": "https://example.com"
|
| 573 |
+
}
|
| 574 |
+
},
|
| 575 |
+
"params": {
|
| 576 |
+
"UseFIPS": false,
|
| 577 |
+
"UseDualStack": false,
|
| 578 |
+
"Endpoint": "https://example.com"
|
| 579 |
+
}
|
| 580 |
+
},
|
| 581 |
+
{
|
| 582 |
+
"documentation": "For custom endpoint with fips enabled and dualstack disabled",
|
| 583 |
+
"expect": {
|
| 584 |
+
"error": "Invalid Configuration: FIPS and custom endpoint are not supported"
|
| 585 |
+
},
|
| 586 |
+
"params": {
|
| 587 |
+
"Region": "us-east-1",
|
| 588 |
+
"UseFIPS": true,
|
| 589 |
+
"UseDualStack": false,
|
| 590 |
+
"Endpoint": "https://example.com"
|
| 591 |
+
}
|
| 592 |
+
},
|
| 593 |
+
{
|
| 594 |
+
"documentation": "For custom endpoint with fips disabled and dualstack enabled",
|
| 595 |
+
"expect": {
|
| 596 |
+
"error": "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
| 597 |
+
},
|
| 598 |
+
"params": {
|
| 599 |
+
"Region": "us-east-1",
|
| 600 |
+
"UseFIPS": false,
|
| 601 |
+
"UseDualStack": true,
|
| 602 |
+
"Endpoint": "https://example.com"
|
| 603 |
+
}
|
| 604 |
+
},
|
| 605 |
+
{
|
| 606 |
+
"documentation": "Missing region",
|
| 607 |
+
"expect": {
|
| 608 |
+
"error": "Invalid Configuration: Missing Region"
|
| 609 |
+
}
|
| 610 |
+
}
|
| 611 |
+
],
|
| 612 |
+
"version": "1.0"
|
| 613 |
+
}
|
testbed/boto__botocore/tests/functional/endpoint-rules/mailmanager/endpoint-tests-1.json
ADDED
|
@@ -0,0 +1,314 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"testCases": [
|
| 3 |
+
{
|
| 4 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
|
| 5 |
+
"expect": {
|
| 6 |
+
"endpoint": {
|
| 7 |
+
"url": "https://mail-manager-fips.us-east-1.api.aws"
|
| 8 |
+
}
|
| 9 |
+
},
|
| 10 |
+
"params": {
|
| 11 |
+
"Region": "us-east-1",
|
| 12 |
+
"UseFIPS": true,
|
| 13 |
+
"UseDualStack": true
|
| 14 |
+
}
|
| 15 |
+
},
|
| 16 |
+
{
|
| 17 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
|
| 18 |
+
"expect": {
|
| 19 |
+
"endpoint": {
|
| 20 |
+
"url": "https://mail-manager-fips.us-east-1.amazonaws.com"
|
| 21 |
+
}
|
| 22 |
+
},
|
| 23 |
+
"params": {
|
| 24 |
+
"Region": "us-east-1",
|
| 25 |
+
"UseFIPS": true,
|
| 26 |
+
"UseDualStack": false
|
| 27 |
+
}
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
|
| 31 |
+
"expect": {
|
| 32 |
+
"endpoint": {
|
| 33 |
+
"url": "https://mail-manager.us-east-1.api.aws"
|
| 34 |
+
}
|
| 35 |
+
},
|
| 36 |
+
"params": {
|
| 37 |
+
"Region": "us-east-1",
|
| 38 |
+
"UseFIPS": false,
|
| 39 |
+
"UseDualStack": true
|
| 40 |
+
}
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
|
| 44 |
+
"expect": {
|
| 45 |
+
"endpoint": {
|
| 46 |
+
"url": "https://mail-manager.us-east-1.amazonaws.com"
|
| 47 |
+
}
|
| 48 |
+
},
|
| 49 |
+
"params": {
|
| 50 |
+
"Region": "us-east-1",
|
| 51 |
+
"UseFIPS": false,
|
| 52 |
+
"UseDualStack": false
|
| 53 |
+
}
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled",
|
| 57 |
+
"expect": {
|
| 58 |
+
"endpoint": {
|
| 59 |
+
"url": "https://mail-manager-fips.cn-north-1.api.amazonwebservices.com.cn"
|
| 60 |
+
}
|
| 61 |
+
},
|
| 62 |
+
"params": {
|
| 63 |
+
"Region": "cn-north-1",
|
| 64 |
+
"UseFIPS": true,
|
| 65 |
+
"UseDualStack": true
|
| 66 |
+
}
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled",
|
| 70 |
+
"expect": {
|
| 71 |
+
"endpoint": {
|
| 72 |
+
"url": "https://mail-manager-fips.cn-north-1.amazonaws.com.cn"
|
| 73 |
+
}
|
| 74 |
+
},
|
| 75 |
+
"params": {
|
| 76 |
+
"Region": "cn-north-1",
|
| 77 |
+
"UseFIPS": true,
|
| 78 |
+
"UseDualStack": false
|
| 79 |
+
}
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled",
|
| 83 |
+
"expect": {
|
| 84 |
+
"endpoint": {
|
| 85 |
+
"url": "https://mail-manager.cn-north-1.api.amazonwebservices.com.cn"
|
| 86 |
+
}
|
| 87 |
+
},
|
| 88 |
+
"params": {
|
| 89 |
+
"Region": "cn-north-1",
|
| 90 |
+
"UseFIPS": false,
|
| 91 |
+
"UseDualStack": true
|
| 92 |
+
}
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled",
|
| 96 |
+
"expect": {
|
| 97 |
+
"endpoint": {
|
| 98 |
+
"url": "https://mail-manager.cn-north-1.amazonaws.com.cn"
|
| 99 |
+
}
|
| 100 |
+
},
|
| 101 |
+
"params": {
|
| 102 |
+
"Region": "cn-north-1",
|
| 103 |
+
"UseFIPS": false,
|
| 104 |
+
"UseDualStack": false
|
| 105 |
+
}
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled",
|
| 109 |
+
"expect": {
|
| 110 |
+
"endpoint": {
|
| 111 |
+
"url": "https://mail-manager-fips.us-gov-east-1.api.aws"
|
| 112 |
+
}
|
| 113 |
+
},
|
| 114 |
+
"params": {
|
| 115 |
+
"Region": "us-gov-east-1",
|
| 116 |
+
"UseFIPS": true,
|
| 117 |
+
"UseDualStack": true
|
| 118 |
+
}
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled",
|
| 122 |
+
"expect": {
|
| 123 |
+
"endpoint": {
|
| 124 |
+
"url": "https://mail-manager-fips.us-gov-east-1.amazonaws.com"
|
| 125 |
+
}
|
| 126 |
+
},
|
| 127 |
+
"params": {
|
| 128 |
+
"Region": "us-gov-east-1",
|
| 129 |
+
"UseFIPS": true,
|
| 130 |
+
"UseDualStack": false
|
| 131 |
+
}
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled",
|
| 135 |
+
"expect": {
|
| 136 |
+
"endpoint": {
|
| 137 |
+
"url": "https://mail-manager.us-gov-east-1.api.aws"
|
| 138 |
+
}
|
| 139 |
+
},
|
| 140 |
+
"params": {
|
| 141 |
+
"Region": "us-gov-east-1",
|
| 142 |
+
"UseFIPS": false,
|
| 143 |
+
"UseDualStack": true
|
| 144 |
+
}
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled",
|
| 148 |
+
"expect": {
|
| 149 |
+
"endpoint": {
|
| 150 |
+
"url": "https://mail-manager.us-gov-east-1.amazonaws.com"
|
| 151 |
+
}
|
| 152 |
+
},
|
| 153 |
+
"params": {
|
| 154 |
+
"Region": "us-gov-east-1",
|
| 155 |
+
"UseFIPS": false,
|
| 156 |
+
"UseDualStack": false
|
| 157 |
+
}
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
|
| 161 |
+
"expect": {
|
| 162 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 163 |
+
},
|
| 164 |
+
"params": {
|
| 165 |
+
"Region": "us-iso-east-1",
|
| 166 |
+
"UseFIPS": true,
|
| 167 |
+
"UseDualStack": true
|
| 168 |
+
}
|
| 169 |
+
},
|
| 170 |
+
{
|
| 171 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
|
| 172 |
+
"expect": {
|
| 173 |
+
"endpoint": {
|
| 174 |
+
"url": "https://mail-manager-fips.us-iso-east-1.c2s.ic.gov"
|
| 175 |
+
}
|
| 176 |
+
},
|
| 177 |
+
"params": {
|
| 178 |
+
"Region": "us-iso-east-1",
|
| 179 |
+
"UseFIPS": true,
|
| 180 |
+
"UseDualStack": false
|
| 181 |
+
}
|
| 182 |
+
},
|
| 183 |
+
{
|
| 184 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
|
| 185 |
+
"expect": {
|
| 186 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 187 |
+
},
|
| 188 |
+
"params": {
|
| 189 |
+
"Region": "us-iso-east-1",
|
| 190 |
+
"UseFIPS": false,
|
| 191 |
+
"UseDualStack": true
|
| 192 |
+
}
|
| 193 |
+
},
|
| 194 |
+
{
|
| 195 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
|
| 196 |
+
"expect": {
|
| 197 |
+
"endpoint": {
|
| 198 |
+
"url": "https://mail-manager.us-iso-east-1.c2s.ic.gov"
|
| 199 |
+
}
|
| 200 |
+
},
|
| 201 |
+
"params": {
|
| 202 |
+
"Region": "us-iso-east-1",
|
| 203 |
+
"UseFIPS": false,
|
| 204 |
+
"UseDualStack": false
|
| 205 |
+
}
|
| 206 |
+
},
|
| 207 |
+
{
|
| 208 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
|
| 209 |
+
"expect": {
|
| 210 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 211 |
+
},
|
| 212 |
+
"params": {
|
| 213 |
+
"Region": "us-isob-east-1",
|
| 214 |
+
"UseFIPS": true,
|
| 215 |
+
"UseDualStack": true
|
| 216 |
+
}
|
| 217 |
+
},
|
| 218 |
+
{
|
| 219 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
|
| 220 |
+
"expect": {
|
| 221 |
+
"endpoint": {
|
| 222 |
+
"url": "https://mail-manager-fips.us-isob-east-1.sc2s.sgov.gov"
|
| 223 |
+
}
|
| 224 |
+
},
|
| 225 |
+
"params": {
|
| 226 |
+
"Region": "us-isob-east-1",
|
| 227 |
+
"UseFIPS": true,
|
| 228 |
+
"UseDualStack": false
|
| 229 |
+
}
|
| 230 |
+
},
|
| 231 |
+
{
|
| 232 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
|
| 233 |
+
"expect": {
|
| 234 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 235 |
+
},
|
| 236 |
+
"params": {
|
| 237 |
+
"Region": "us-isob-east-1",
|
| 238 |
+
"UseFIPS": false,
|
| 239 |
+
"UseDualStack": true
|
| 240 |
+
}
|
| 241 |
+
},
|
| 242 |
+
{
|
| 243 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
|
| 244 |
+
"expect": {
|
| 245 |
+
"endpoint": {
|
| 246 |
+
"url": "https://mail-manager.us-isob-east-1.sc2s.sgov.gov"
|
| 247 |
+
}
|
| 248 |
+
},
|
| 249 |
+
"params": {
|
| 250 |
+
"Region": "us-isob-east-1",
|
| 251 |
+
"UseFIPS": false,
|
| 252 |
+
"UseDualStack": false
|
| 253 |
+
}
|
| 254 |
+
},
|
| 255 |
+
{
|
| 256 |
+
"documentation": "For custom endpoint with region set and fips disabled and dualstack disabled",
|
| 257 |
+
"expect": {
|
| 258 |
+
"endpoint": {
|
| 259 |
+
"url": "https://example.com"
|
| 260 |
+
}
|
| 261 |
+
},
|
| 262 |
+
"params": {
|
| 263 |
+
"Region": "us-east-1",
|
| 264 |
+
"UseFIPS": false,
|
| 265 |
+
"UseDualStack": false,
|
| 266 |
+
"Endpoint": "https://example.com"
|
| 267 |
+
}
|
| 268 |
+
},
|
| 269 |
+
{
|
| 270 |
+
"documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled",
|
| 271 |
+
"expect": {
|
| 272 |
+
"endpoint": {
|
| 273 |
+
"url": "https://example.com"
|
| 274 |
+
}
|
| 275 |
+
},
|
| 276 |
+
"params": {
|
| 277 |
+
"UseFIPS": false,
|
| 278 |
+
"UseDualStack": false,
|
| 279 |
+
"Endpoint": "https://example.com"
|
| 280 |
+
}
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"documentation": "For custom endpoint with fips enabled and dualstack disabled",
|
| 284 |
+
"expect": {
|
| 285 |
+
"error": "Invalid Configuration: FIPS and custom endpoint are not supported"
|
| 286 |
+
},
|
| 287 |
+
"params": {
|
| 288 |
+
"Region": "us-east-1",
|
| 289 |
+
"UseFIPS": true,
|
| 290 |
+
"UseDualStack": false,
|
| 291 |
+
"Endpoint": "https://example.com"
|
| 292 |
+
}
|
| 293 |
+
},
|
| 294 |
+
{
|
| 295 |
+
"documentation": "For custom endpoint with fips disabled and dualstack enabled",
|
| 296 |
+
"expect": {
|
| 297 |
+
"error": "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
| 298 |
+
},
|
| 299 |
+
"params": {
|
| 300 |
+
"Region": "us-east-1",
|
| 301 |
+
"UseFIPS": false,
|
| 302 |
+
"UseDualStack": true,
|
| 303 |
+
"Endpoint": "https://example.com"
|
| 304 |
+
}
|
| 305 |
+
},
|
| 306 |
+
{
|
| 307 |
+
"documentation": "Missing region",
|
| 308 |
+
"expect": {
|
| 309 |
+
"error": "Invalid Configuration: Missing Region"
|
| 310 |
+
}
|
| 311 |
+
}
|
| 312 |
+
],
|
| 313 |
+
"version": "1.0"
|
| 314 |
+
}
|
testbed/boto__botocore/tests/functional/endpoint-rules/managedblockchain-query/endpoint-tests-1.json
ADDED
|
@@ -0,0 +1,314 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"testCases": [
|
| 3 |
+
{
|
| 4 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
|
| 5 |
+
"expect": {
|
| 6 |
+
"endpoint": {
|
| 7 |
+
"url": "https://managedblockchain-query-fips.us-east-1.api.aws"
|
| 8 |
+
}
|
| 9 |
+
},
|
| 10 |
+
"params": {
|
| 11 |
+
"Region": "us-east-1",
|
| 12 |
+
"UseFIPS": true,
|
| 13 |
+
"UseDualStack": true
|
| 14 |
+
}
|
| 15 |
+
},
|
| 16 |
+
{
|
| 17 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
|
| 18 |
+
"expect": {
|
| 19 |
+
"endpoint": {
|
| 20 |
+
"url": "https://managedblockchain-query-fips.us-east-1.amazonaws.com"
|
| 21 |
+
}
|
| 22 |
+
},
|
| 23 |
+
"params": {
|
| 24 |
+
"Region": "us-east-1",
|
| 25 |
+
"UseFIPS": true,
|
| 26 |
+
"UseDualStack": false
|
| 27 |
+
}
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
|
| 31 |
+
"expect": {
|
| 32 |
+
"endpoint": {
|
| 33 |
+
"url": "https://managedblockchain-query.us-east-1.api.aws"
|
| 34 |
+
}
|
| 35 |
+
},
|
| 36 |
+
"params": {
|
| 37 |
+
"Region": "us-east-1",
|
| 38 |
+
"UseFIPS": false,
|
| 39 |
+
"UseDualStack": true
|
| 40 |
+
}
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
|
| 44 |
+
"expect": {
|
| 45 |
+
"endpoint": {
|
| 46 |
+
"url": "https://managedblockchain-query.us-east-1.amazonaws.com"
|
| 47 |
+
}
|
| 48 |
+
},
|
| 49 |
+
"params": {
|
| 50 |
+
"Region": "us-east-1",
|
| 51 |
+
"UseFIPS": false,
|
| 52 |
+
"UseDualStack": false
|
| 53 |
+
}
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled",
|
| 57 |
+
"expect": {
|
| 58 |
+
"endpoint": {
|
| 59 |
+
"url": "https://managedblockchain-query-fips.cn-north-1.api.amazonwebservices.com.cn"
|
| 60 |
+
}
|
| 61 |
+
},
|
| 62 |
+
"params": {
|
| 63 |
+
"Region": "cn-north-1",
|
| 64 |
+
"UseFIPS": true,
|
| 65 |
+
"UseDualStack": true
|
| 66 |
+
}
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled",
|
| 70 |
+
"expect": {
|
| 71 |
+
"endpoint": {
|
| 72 |
+
"url": "https://managedblockchain-query-fips.cn-north-1.amazonaws.com.cn"
|
| 73 |
+
}
|
| 74 |
+
},
|
| 75 |
+
"params": {
|
| 76 |
+
"Region": "cn-north-1",
|
| 77 |
+
"UseFIPS": true,
|
| 78 |
+
"UseDualStack": false
|
| 79 |
+
}
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled",
|
| 83 |
+
"expect": {
|
| 84 |
+
"endpoint": {
|
| 85 |
+
"url": "https://managedblockchain-query.cn-north-1.api.amazonwebservices.com.cn"
|
| 86 |
+
}
|
| 87 |
+
},
|
| 88 |
+
"params": {
|
| 89 |
+
"Region": "cn-north-1",
|
| 90 |
+
"UseFIPS": false,
|
| 91 |
+
"UseDualStack": true
|
| 92 |
+
}
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled",
|
| 96 |
+
"expect": {
|
| 97 |
+
"endpoint": {
|
| 98 |
+
"url": "https://managedblockchain-query.cn-north-1.amazonaws.com.cn"
|
| 99 |
+
}
|
| 100 |
+
},
|
| 101 |
+
"params": {
|
| 102 |
+
"Region": "cn-north-1",
|
| 103 |
+
"UseFIPS": false,
|
| 104 |
+
"UseDualStack": false
|
| 105 |
+
}
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled",
|
| 109 |
+
"expect": {
|
| 110 |
+
"endpoint": {
|
| 111 |
+
"url": "https://managedblockchain-query-fips.us-gov-east-1.api.aws"
|
| 112 |
+
}
|
| 113 |
+
},
|
| 114 |
+
"params": {
|
| 115 |
+
"Region": "us-gov-east-1",
|
| 116 |
+
"UseFIPS": true,
|
| 117 |
+
"UseDualStack": true
|
| 118 |
+
}
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled",
|
| 122 |
+
"expect": {
|
| 123 |
+
"endpoint": {
|
| 124 |
+
"url": "https://managedblockchain-query-fips.us-gov-east-1.amazonaws.com"
|
| 125 |
+
}
|
| 126 |
+
},
|
| 127 |
+
"params": {
|
| 128 |
+
"Region": "us-gov-east-1",
|
| 129 |
+
"UseFIPS": true,
|
| 130 |
+
"UseDualStack": false
|
| 131 |
+
}
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled",
|
| 135 |
+
"expect": {
|
| 136 |
+
"endpoint": {
|
| 137 |
+
"url": "https://managedblockchain-query.us-gov-east-1.api.aws"
|
| 138 |
+
}
|
| 139 |
+
},
|
| 140 |
+
"params": {
|
| 141 |
+
"Region": "us-gov-east-1",
|
| 142 |
+
"UseFIPS": false,
|
| 143 |
+
"UseDualStack": true
|
| 144 |
+
}
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled",
|
| 148 |
+
"expect": {
|
| 149 |
+
"endpoint": {
|
| 150 |
+
"url": "https://managedblockchain-query.us-gov-east-1.amazonaws.com"
|
| 151 |
+
}
|
| 152 |
+
},
|
| 153 |
+
"params": {
|
| 154 |
+
"Region": "us-gov-east-1",
|
| 155 |
+
"UseFIPS": false,
|
| 156 |
+
"UseDualStack": false
|
| 157 |
+
}
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
|
| 161 |
+
"expect": {
|
| 162 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 163 |
+
},
|
| 164 |
+
"params": {
|
| 165 |
+
"Region": "us-iso-east-1",
|
| 166 |
+
"UseFIPS": true,
|
| 167 |
+
"UseDualStack": true
|
| 168 |
+
}
|
| 169 |
+
},
|
| 170 |
+
{
|
| 171 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
|
| 172 |
+
"expect": {
|
| 173 |
+
"endpoint": {
|
| 174 |
+
"url": "https://managedblockchain-query-fips.us-iso-east-1.c2s.ic.gov"
|
| 175 |
+
}
|
| 176 |
+
},
|
| 177 |
+
"params": {
|
| 178 |
+
"Region": "us-iso-east-1",
|
| 179 |
+
"UseFIPS": true,
|
| 180 |
+
"UseDualStack": false
|
| 181 |
+
}
|
| 182 |
+
},
|
| 183 |
+
{
|
| 184 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
|
| 185 |
+
"expect": {
|
| 186 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 187 |
+
},
|
| 188 |
+
"params": {
|
| 189 |
+
"Region": "us-iso-east-1",
|
| 190 |
+
"UseFIPS": false,
|
| 191 |
+
"UseDualStack": true
|
| 192 |
+
}
|
| 193 |
+
},
|
| 194 |
+
{
|
| 195 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
|
| 196 |
+
"expect": {
|
| 197 |
+
"endpoint": {
|
| 198 |
+
"url": "https://managedblockchain-query.us-iso-east-1.c2s.ic.gov"
|
| 199 |
+
}
|
| 200 |
+
},
|
| 201 |
+
"params": {
|
| 202 |
+
"Region": "us-iso-east-1",
|
| 203 |
+
"UseFIPS": false,
|
| 204 |
+
"UseDualStack": false
|
| 205 |
+
}
|
| 206 |
+
},
|
| 207 |
+
{
|
| 208 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
|
| 209 |
+
"expect": {
|
| 210 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 211 |
+
},
|
| 212 |
+
"params": {
|
| 213 |
+
"Region": "us-isob-east-1",
|
| 214 |
+
"UseFIPS": true,
|
| 215 |
+
"UseDualStack": true
|
| 216 |
+
}
|
| 217 |
+
},
|
| 218 |
+
{
|
| 219 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
|
| 220 |
+
"expect": {
|
| 221 |
+
"endpoint": {
|
| 222 |
+
"url": "https://managedblockchain-query-fips.us-isob-east-1.sc2s.sgov.gov"
|
| 223 |
+
}
|
| 224 |
+
},
|
| 225 |
+
"params": {
|
| 226 |
+
"Region": "us-isob-east-1",
|
| 227 |
+
"UseFIPS": true,
|
| 228 |
+
"UseDualStack": false
|
| 229 |
+
}
|
| 230 |
+
},
|
| 231 |
+
{
|
| 232 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
|
| 233 |
+
"expect": {
|
| 234 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 235 |
+
},
|
| 236 |
+
"params": {
|
| 237 |
+
"Region": "us-isob-east-1",
|
| 238 |
+
"UseFIPS": false,
|
| 239 |
+
"UseDualStack": true
|
| 240 |
+
}
|
| 241 |
+
},
|
| 242 |
+
{
|
| 243 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
|
| 244 |
+
"expect": {
|
| 245 |
+
"endpoint": {
|
| 246 |
+
"url": "https://managedblockchain-query.us-isob-east-1.sc2s.sgov.gov"
|
| 247 |
+
}
|
| 248 |
+
},
|
| 249 |
+
"params": {
|
| 250 |
+
"Region": "us-isob-east-1",
|
| 251 |
+
"UseFIPS": false,
|
| 252 |
+
"UseDualStack": false
|
| 253 |
+
}
|
| 254 |
+
},
|
| 255 |
+
{
|
| 256 |
+
"documentation": "For custom endpoint with region set and fips disabled and dualstack disabled",
|
| 257 |
+
"expect": {
|
| 258 |
+
"endpoint": {
|
| 259 |
+
"url": "https://example.com"
|
| 260 |
+
}
|
| 261 |
+
},
|
| 262 |
+
"params": {
|
| 263 |
+
"Region": "us-east-1",
|
| 264 |
+
"UseFIPS": false,
|
| 265 |
+
"UseDualStack": false,
|
| 266 |
+
"Endpoint": "https://example.com"
|
| 267 |
+
}
|
| 268 |
+
},
|
| 269 |
+
{
|
| 270 |
+
"documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled",
|
| 271 |
+
"expect": {
|
| 272 |
+
"endpoint": {
|
| 273 |
+
"url": "https://example.com"
|
| 274 |
+
}
|
| 275 |
+
},
|
| 276 |
+
"params": {
|
| 277 |
+
"UseFIPS": false,
|
| 278 |
+
"UseDualStack": false,
|
| 279 |
+
"Endpoint": "https://example.com"
|
| 280 |
+
}
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"documentation": "For custom endpoint with fips enabled and dualstack disabled",
|
| 284 |
+
"expect": {
|
| 285 |
+
"error": "Invalid Configuration: FIPS and custom endpoint are not supported"
|
| 286 |
+
},
|
| 287 |
+
"params": {
|
| 288 |
+
"Region": "us-east-1",
|
| 289 |
+
"UseFIPS": true,
|
| 290 |
+
"UseDualStack": false,
|
| 291 |
+
"Endpoint": "https://example.com"
|
| 292 |
+
}
|
| 293 |
+
},
|
| 294 |
+
{
|
| 295 |
+
"documentation": "For custom endpoint with fips disabled and dualstack enabled",
|
| 296 |
+
"expect": {
|
| 297 |
+
"error": "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
| 298 |
+
},
|
| 299 |
+
"params": {
|
| 300 |
+
"Region": "us-east-1",
|
| 301 |
+
"UseFIPS": false,
|
| 302 |
+
"UseDualStack": true,
|
| 303 |
+
"Endpoint": "https://example.com"
|
| 304 |
+
}
|
| 305 |
+
},
|
| 306 |
+
{
|
| 307 |
+
"documentation": "Missing region",
|
| 308 |
+
"expect": {
|
| 309 |
+
"error": "Invalid Configuration: Missing Region"
|
| 310 |
+
}
|
| 311 |
+
}
|
| 312 |
+
],
|
| 313 |
+
"version": "1.0"
|
| 314 |
+
}
|
testbed/boto__botocore/tests/functional/endpoint-rules/managedblockchain/endpoint-tests-1.json
ADDED
|
@@ -0,0 +1,379 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"testCases": [
|
| 3 |
+
{
|
| 4 |
+
"documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled",
|
| 5 |
+
"expect": {
|
| 6 |
+
"endpoint": {
|
| 7 |
+
"url": "https://managedblockchain.ap-northeast-1.amazonaws.com"
|
| 8 |
+
}
|
| 9 |
+
},
|
| 10 |
+
"params": {
|
| 11 |
+
"Region": "ap-northeast-1",
|
| 12 |
+
"UseFIPS": false,
|
| 13 |
+
"UseDualStack": false
|
| 14 |
+
}
|
| 15 |
+
},
|
| 16 |
+
{
|
| 17 |
+
"documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled",
|
| 18 |
+
"expect": {
|
| 19 |
+
"endpoint": {
|
| 20 |
+
"url": "https://managedblockchain.ap-northeast-2.amazonaws.com"
|
| 21 |
+
}
|
| 22 |
+
},
|
| 23 |
+
"params": {
|
| 24 |
+
"Region": "ap-northeast-2",
|
| 25 |
+
"UseFIPS": false,
|
| 26 |
+
"UseDualStack": false
|
| 27 |
+
}
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled",
|
| 31 |
+
"expect": {
|
| 32 |
+
"endpoint": {
|
| 33 |
+
"url": "https://managedblockchain.ap-southeast-1.amazonaws.com"
|
| 34 |
+
}
|
| 35 |
+
},
|
| 36 |
+
"params": {
|
| 37 |
+
"Region": "ap-southeast-1",
|
| 38 |
+
"UseFIPS": false,
|
| 39 |
+
"UseDualStack": false
|
| 40 |
+
}
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled",
|
| 44 |
+
"expect": {
|
| 45 |
+
"endpoint": {
|
| 46 |
+
"url": "https://managedblockchain.eu-west-1.amazonaws.com"
|
| 47 |
+
}
|
| 48 |
+
},
|
| 49 |
+
"params": {
|
| 50 |
+
"Region": "eu-west-1",
|
| 51 |
+
"UseFIPS": false,
|
| 52 |
+
"UseDualStack": false
|
| 53 |
+
}
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled",
|
| 57 |
+
"expect": {
|
| 58 |
+
"endpoint": {
|
| 59 |
+
"url": "https://managedblockchain.eu-west-2.amazonaws.com"
|
| 60 |
+
}
|
| 61 |
+
},
|
| 62 |
+
"params": {
|
| 63 |
+
"Region": "eu-west-2",
|
| 64 |
+
"UseFIPS": false,
|
| 65 |
+
"UseDualStack": false
|
| 66 |
+
}
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
|
| 70 |
+
"expect": {
|
| 71 |
+
"endpoint": {
|
| 72 |
+
"url": "https://managedblockchain.us-east-1.amazonaws.com"
|
| 73 |
+
}
|
| 74 |
+
},
|
| 75 |
+
"params": {
|
| 76 |
+
"Region": "us-east-1",
|
| 77 |
+
"UseFIPS": false,
|
| 78 |
+
"UseDualStack": false
|
| 79 |
+
}
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
|
| 83 |
+
"expect": {
|
| 84 |
+
"endpoint": {
|
| 85 |
+
"url": "https://managedblockchain-fips.us-east-1.api.aws"
|
| 86 |
+
}
|
| 87 |
+
},
|
| 88 |
+
"params": {
|
| 89 |
+
"Region": "us-east-1",
|
| 90 |
+
"UseFIPS": true,
|
| 91 |
+
"UseDualStack": true
|
| 92 |
+
}
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
|
| 96 |
+
"expect": {
|
| 97 |
+
"endpoint": {
|
| 98 |
+
"url": "https://managedblockchain-fips.us-east-1.amazonaws.com"
|
| 99 |
+
}
|
| 100 |
+
},
|
| 101 |
+
"params": {
|
| 102 |
+
"Region": "us-east-1",
|
| 103 |
+
"UseFIPS": true,
|
| 104 |
+
"UseDualStack": false
|
| 105 |
+
}
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
|
| 109 |
+
"expect": {
|
| 110 |
+
"endpoint": {
|
| 111 |
+
"url": "https://managedblockchain.us-east-1.api.aws"
|
| 112 |
+
}
|
| 113 |
+
},
|
| 114 |
+
"params": {
|
| 115 |
+
"Region": "us-east-1",
|
| 116 |
+
"UseFIPS": false,
|
| 117 |
+
"UseDualStack": true
|
| 118 |
+
}
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled",
|
| 122 |
+
"expect": {
|
| 123 |
+
"endpoint": {
|
| 124 |
+
"url": "https://managedblockchain-fips.cn-north-1.api.amazonwebservices.com.cn"
|
| 125 |
+
}
|
| 126 |
+
},
|
| 127 |
+
"params": {
|
| 128 |
+
"Region": "cn-north-1",
|
| 129 |
+
"UseFIPS": true,
|
| 130 |
+
"UseDualStack": true
|
| 131 |
+
}
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled",
|
| 135 |
+
"expect": {
|
| 136 |
+
"endpoint": {
|
| 137 |
+
"url": "https://managedblockchain-fips.cn-north-1.amazonaws.com.cn"
|
| 138 |
+
}
|
| 139 |
+
},
|
| 140 |
+
"params": {
|
| 141 |
+
"Region": "cn-north-1",
|
| 142 |
+
"UseFIPS": true,
|
| 143 |
+
"UseDualStack": false
|
| 144 |
+
}
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled",
|
| 148 |
+
"expect": {
|
| 149 |
+
"endpoint": {
|
| 150 |
+
"url": "https://managedblockchain.cn-north-1.api.amazonwebservices.com.cn"
|
| 151 |
+
}
|
| 152 |
+
},
|
| 153 |
+
"params": {
|
| 154 |
+
"Region": "cn-north-1",
|
| 155 |
+
"UseFIPS": false,
|
| 156 |
+
"UseDualStack": true
|
| 157 |
+
}
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled",
|
| 161 |
+
"expect": {
|
| 162 |
+
"endpoint": {
|
| 163 |
+
"url": "https://managedblockchain.cn-north-1.amazonaws.com.cn"
|
| 164 |
+
}
|
| 165 |
+
},
|
| 166 |
+
"params": {
|
| 167 |
+
"Region": "cn-north-1",
|
| 168 |
+
"UseFIPS": false,
|
| 169 |
+
"UseDualStack": false
|
| 170 |
+
}
|
| 171 |
+
},
|
| 172 |
+
{
|
| 173 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled",
|
| 174 |
+
"expect": {
|
| 175 |
+
"endpoint": {
|
| 176 |
+
"url": "https://managedblockchain-fips.us-gov-east-1.api.aws"
|
| 177 |
+
}
|
| 178 |
+
},
|
| 179 |
+
"params": {
|
| 180 |
+
"Region": "us-gov-east-1",
|
| 181 |
+
"UseFIPS": true,
|
| 182 |
+
"UseDualStack": true
|
| 183 |
+
}
|
| 184 |
+
},
|
| 185 |
+
{
|
| 186 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled",
|
| 187 |
+
"expect": {
|
| 188 |
+
"endpoint": {
|
| 189 |
+
"url": "https://managedblockchain-fips.us-gov-east-1.amazonaws.com"
|
| 190 |
+
}
|
| 191 |
+
},
|
| 192 |
+
"params": {
|
| 193 |
+
"Region": "us-gov-east-1",
|
| 194 |
+
"UseFIPS": true,
|
| 195 |
+
"UseDualStack": false
|
| 196 |
+
}
|
| 197 |
+
},
|
| 198 |
+
{
|
| 199 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled",
|
| 200 |
+
"expect": {
|
| 201 |
+
"endpoint": {
|
| 202 |
+
"url": "https://managedblockchain.us-gov-east-1.api.aws"
|
| 203 |
+
}
|
| 204 |
+
},
|
| 205 |
+
"params": {
|
| 206 |
+
"Region": "us-gov-east-1",
|
| 207 |
+
"UseFIPS": false,
|
| 208 |
+
"UseDualStack": true
|
| 209 |
+
}
|
| 210 |
+
},
|
| 211 |
+
{
|
| 212 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled",
|
| 213 |
+
"expect": {
|
| 214 |
+
"endpoint": {
|
| 215 |
+
"url": "https://managedblockchain.us-gov-east-1.amazonaws.com"
|
| 216 |
+
}
|
| 217 |
+
},
|
| 218 |
+
"params": {
|
| 219 |
+
"Region": "us-gov-east-1",
|
| 220 |
+
"UseFIPS": false,
|
| 221 |
+
"UseDualStack": false
|
| 222 |
+
}
|
| 223 |
+
},
|
| 224 |
+
{
|
| 225 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
|
| 226 |
+
"expect": {
|
| 227 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 228 |
+
},
|
| 229 |
+
"params": {
|
| 230 |
+
"Region": "us-iso-east-1",
|
| 231 |
+
"UseFIPS": true,
|
| 232 |
+
"UseDualStack": true
|
| 233 |
+
}
|
| 234 |
+
},
|
| 235 |
+
{
|
| 236 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
|
| 237 |
+
"expect": {
|
| 238 |
+
"endpoint": {
|
| 239 |
+
"url": "https://managedblockchain-fips.us-iso-east-1.c2s.ic.gov"
|
| 240 |
+
}
|
| 241 |
+
},
|
| 242 |
+
"params": {
|
| 243 |
+
"Region": "us-iso-east-1",
|
| 244 |
+
"UseFIPS": true,
|
| 245 |
+
"UseDualStack": false
|
| 246 |
+
}
|
| 247 |
+
},
|
| 248 |
+
{
|
| 249 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
|
| 250 |
+
"expect": {
|
| 251 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 252 |
+
},
|
| 253 |
+
"params": {
|
| 254 |
+
"Region": "us-iso-east-1",
|
| 255 |
+
"UseFIPS": false,
|
| 256 |
+
"UseDualStack": true
|
| 257 |
+
}
|
| 258 |
+
},
|
| 259 |
+
{
|
| 260 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
|
| 261 |
+
"expect": {
|
| 262 |
+
"endpoint": {
|
| 263 |
+
"url": "https://managedblockchain.us-iso-east-1.c2s.ic.gov"
|
| 264 |
+
}
|
| 265 |
+
},
|
| 266 |
+
"params": {
|
| 267 |
+
"Region": "us-iso-east-1",
|
| 268 |
+
"UseFIPS": false,
|
| 269 |
+
"UseDualStack": false
|
| 270 |
+
}
|
| 271 |
+
},
|
| 272 |
+
{
|
| 273 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
|
| 274 |
+
"expect": {
|
| 275 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 276 |
+
},
|
| 277 |
+
"params": {
|
| 278 |
+
"Region": "us-isob-east-1",
|
| 279 |
+
"UseFIPS": true,
|
| 280 |
+
"UseDualStack": true
|
| 281 |
+
}
|
| 282 |
+
},
|
| 283 |
+
{
|
| 284 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
|
| 285 |
+
"expect": {
|
| 286 |
+
"endpoint": {
|
| 287 |
+
"url": "https://managedblockchain-fips.us-isob-east-1.sc2s.sgov.gov"
|
| 288 |
+
}
|
| 289 |
+
},
|
| 290 |
+
"params": {
|
| 291 |
+
"Region": "us-isob-east-1",
|
| 292 |
+
"UseFIPS": true,
|
| 293 |
+
"UseDualStack": false
|
| 294 |
+
}
|
| 295 |
+
},
|
| 296 |
+
{
|
| 297 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
|
| 298 |
+
"expect": {
|
| 299 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 300 |
+
},
|
| 301 |
+
"params": {
|
| 302 |
+
"Region": "us-isob-east-1",
|
| 303 |
+
"UseFIPS": false,
|
| 304 |
+
"UseDualStack": true
|
| 305 |
+
}
|
| 306 |
+
},
|
| 307 |
+
{
|
| 308 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
|
| 309 |
+
"expect": {
|
| 310 |
+
"endpoint": {
|
| 311 |
+
"url": "https://managedblockchain.us-isob-east-1.sc2s.sgov.gov"
|
| 312 |
+
}
|
| 313 |
+
},
|
| 314 |
+
"params": {
|
| 315 |
+
"Region": "us-isob-east-1",
|
| 316 |
+
"UseFIPS": false,
|
| 317 |
+
"UseDualStack": false
|
| 318 |
+
}
|
| 319 |
+
},
|
| 320 |
+
{
|
| 321 |
+
"documentation": "For custom endpoint with region set and fips disabled and dualstack disabled",
|
| 322 |
+
"expect": {
|
| 323 |
+
"endpoint": {
|
| 324 |
+
"url": "https://example.com"
|
| 325 |
+
}
|
| 326 |
+
},
|
| 327 |
+
"params": {
|
| 328 |
+
"Region": "us-east-1",
|
| 329 |
+
"UseFIPS": false,
|
| 330 |
+
"UseDualStack": false,
|
| 331 |
+
"Endpoint": "https://example.com"
|
| 332 |
+
}
|
| 333 |
+
},
|
| 334 |
+
{
|
| 335 |
+
"documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled",
|
| 336 |
+
"expect": {
|
| 337 |
+
"endpoint": {
|
| 338 |
+
"url": "https://example.com"
|
| 339 |
+
}
|
| 340 |
+
},
|
| 341 |
+
"params": {
|
| 342 |
+
"UseFIPS": false,
|
| 343 |
+
"UseDualStack": false,
|
| 344 |
+
"Endpoint": "https://example.com"
|
| 345 |
+
}
|
| 346 |
+
},
|
| 347 |
+
{
|
| 348 |
+
"documentation": "For custom endpoint with fips enabled and dualstack disabled",
|
| 349 |
+
"expect": {
|
| 350 |
+
"error": "Invalid Configuration: FIPS and custom endpoint are not supported"
|
| 351 |
+
},
|
| 352 |
+
"params": {
|
| 353 |
+
"Region": "us-east-1",
|
| 354 |
+
"UseFIPS": true,
|
| 355 |
+
"UseDualStack": false,
|
| 356 |
+
"Endpoint": "https://example.com"
|
| 357 |
+
}
|
| 358 |
+
},
|
| 359 |
+
{
|
| 360 |
+
"documentation": "For custom endpoint with fips disabled and dualstack enabled",
|
| 361 |
+
"expect": {
|
| 362 |
+
"error": "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
| 363 |
+
},
|
| 364 |
+
"params": {
|
| 365 |
+
"Region": "us-east-1",
|
| 366 |
+
"UseFIPS": false,
|
| 367 |
+
"UseDualStack": true,
|
| 368 |
+
"Endpoint": "https://example.com"
|
| 369 |
+
}
|
| 370 |
+
},
|
| 371 |
+
{
|
| 372 |
+
"documentation": "Missing region",
|
| 373 |
+
"expect": {
|
| 374 |
+
"error": "Invalid Configuration: Missing Region"
|
| 375 |
+
}
|
| 376 |
+
}
|
| 377 |
+
],
|
| 378 |
+
"version": "1.0"
|
| 379 |
+
}
|
testbed/boto__botocore/tests/functional/endpoint-rules/marketplace-agreement/endpoint-tests-1.json
ADDED
|
@@ -0,0 +1,314 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"testCases": [
|
| 3 |
+
{
|
| 4 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
|
| 5 |
+
"expect": {
|
| 6 |
+
"endpoint": {
|
| 7 |
+
"url": "https://agreement-marketplace-fips.us-east-1.api.aws"
|
| 8 |
+
}
|
| 9 |
+
},
|
| 10 |
+
"params": {
|
| 11 |
+
"Region": "us-east-1",
|
| 12 |
+
"UseFIPS": true,
|
| 13 |
+
"UseDualStack": true
|
| 14 |
+
}
|
| 15 |
+
},
|
| 16 |
+
{
|
| 17 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
|
| 18 |
+
"expect": {
|
| 19 |
+
"endpoint": {
|
| 20 |
+
"url": "https://agreement-marketplace-fips.us-east-1.amazonaws.com"
|
| 21 |
+
}
|
| 22 |
+
},
|
| 23 |
+
"params": {
|
| 24 |
+
"Region": "us-east-1",
|
| 25 |
+
"UseFIPS": true,
|
| 26 |
+
"UseDualStack": false
|
| 27 |
+
}
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
|
| 31 |
+
"expect": {
|
| 32 |
+
"endpoint": {
|
| 33 |
+
"url": "https://agreement-marketplace.us-east-1.api.aws"
|
| 34 |
+
}
|
| 35 |
+
},
|
| 36 |
+
"params": {
|
| 37 |
+
"Region": "us-east-1",
|
| 38 |
+
"UseFIPS": false,
|
| 39 |
+
"UseDualStack": true
|
| 40 |
+
}
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
|
| 44 |
+
"expect": {
|
| 45 |
+
"endpoint": {
|
| 46 |
+
"url": "https://agreement-marketplace.us-east-1.amazonaws.com"
|
| 47 |
+
}
|
| 48 |
+
},
|
| 49 |
+
"params": {
|
| 50 |
+
"Region": "us-east-1",
|
| 51 |
+
"UseFIPS": false,
|
| 52 |
+
"UseDualStack": false
|
| 53 |
+
}
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled",
|
| 57 |
+
"expect": {
|
| 58 |
+
"endpoint": {
|
| 59 |
+
"url": "https://agreement-marketplace-fips.cn-north-1.api.amazonwebservices.com.cn"
|
| 60 |
+
}
|
| 61 |
+
},
|
| 62 |
+
"params": {
|
| 63 |
+
"Region": "cn-north-1",
|
| 64 |
+
"UseFIPS": true,
|
| 65 |
+
"UseDualStack": true
|
| 66 |
+
}
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled",
|
| 70 |
+
"expect": {
|
| 71 |
+
"endpoint": {
|
| 72 |
+
"url": "https://agreement-marketplace-fips.cn-north-1.amazonaws.com.cn"
|
| 73 |
+
}
|
| 74 |
+
},
|
| 75 |
+
"params": {
|
| 76 |
+
"Region": "cn-north-1",
|
| 77 |
+
"UseFIPS": true,
|
| 78 |
+
"UseDualStack": false
|
| 79 |
+
}
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled",
|
| 83 |
+
"expect": {
|
| 84 |
+
"endpoint": {
|
| 85 |
+
"url": "https://agreement-marketplace.cn-north-1.api.amazonwebservices.com.cn"
|
| 86 |
+
}
|
| 87 |
+
},
|
| 88 |
+
"params": {
|
| 89 |
+
"Region": "cn-north-1",
|
| 90 |
+
"UseFIPS": false,
|
| 91 |
+
"UseDualStack": true
|
| 92 |
+
}
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled",
|
| 96 |
+
"expect": {
|
| 97 |
+
"endpoint": {
|
| 98 |
+
"url": "https://agreement-marketplace.cn-north-1.amazonaws.com.cn"
|
| 99 |
+
}
|
| 100 |
+
},
|
| 101 |
+
"params": {
|
| 102 |
+
"Region": "cn-north-1",
|
| 103 |
+
"UseFIPS": false,
|
| 104 |
+
"UseDualStack": false
|
| 105 |
+
}
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled",
|
| 109 |
+
"expect": {
|
| 110 |
+
"endpoint": {
|
| 111 |
+
"url": "https://agreement-marketplace-fips.us-gov-east-1.api.aws"
|
| 112 |
+
}
|
| 113 |
+
},
|
| 114 |
+
"params": {
|
| 115 |
+
"Region": "us-gov-east-1",
|
| 116 |
+
"UseFIPS": true,
|
| 117 |
+
"UseDualStack": true
|
| 118 |
+
}
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled",
|
| 122 |
+
"expect": {
|
| 123 |
+
"endpoint": {
|
| 124 |
+
"url": "https://agreement-marketplace-fips.us-gov-east-1.amazonaws.com"
|
| 125 |
+
}
|
| 126 |
+
},
|
| 127 |
+
"params": {
|
| 128 |
+
"Region": "us-gov-east-1",
|
| 129 |
+
"UseFIPS": true,
|
| 130 |
+
"UseDualStack": false
|
| 131 |
+
}
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled",
|
| 135 |
+
"expect": {
|
| 136 |
+
"endpoint": {
|
| 137 |
+
"url": "https://agreement-marketplace.us-gov-east-1.api.aws"
|
| 138 |
+
}
|
| 139 |
+
},
|
| 140 |
+
"params": {
|
| 141 |
+
"Region": "us-gov-east-1",
|
| 142 |
+
"UseFIPS": false,
|
| 143 |
+
"UseDualStack": true
|
| 144 |
+
}
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled",
|
| 148 |
+
"expect": {
|
| 149 |
+
"endpoint": {
|
| 150 |
+
"url": "https://agreement-marketplace.us-gov-east-1.amazonaws.com"
|
| 151 |
+
}
|
| 152 |
+
},
|
| 153 |
+
"params": {
|
| 154 |
+
"Region": "us-gov-east-1",
|
| 155 |
+
"UseFIPS": false,
|
| 156 |
+
"UseDualStack": false
|
| 157 |
+
}
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
|
| 161 |
+
"expect": {
|
| 162 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 163 |
+
},
|
| 164 |
+
"params": {
|
| 165 |
+
"Region": "us-iso-east-1",
|
| 166 |
+
"UseFIPS": true,
|
| 167 |
+
"UseDualStack": true
|
| 168 |
+
}
|
| 169 |
+
},
|
| 170 |
+
{
|
| 171 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
|
| 172 |
+
"expect": {
|
| 173 |
+
"endpoint": {
|
| 174 |
+
"url": "https://agreement-marketplace-fips.us-iso-east-1.c2s.ic.gov"
|
| 175 |
+
}
|
| 176 |
+
},
|
| 177 |
+
"params": {
|
| 178 |
+
"Region": "us-iso-east-1",
|
| 179 |
+
"UseFIPS": true,
|
| 180 |
+
"UseDualStack": false
|
| 181 |
+
}
|
| 182 |
+
},
|
| 183 |
+
{
|
| 184 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
|
| 185 |
+
"expect": {
|
| 186 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 187 |
+
},
|
| 188 |
+
"params": {
|
| 189 |
+
"Region": "us-iso-east-1",
|
| 190 |
+
"UseFIPS": false,
|
| 191 |
+
"UseDualStack": true
|
| 192 |
+
}
|
| 193 |
+
},
|
| 194 |
+
{
|
| 195 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
|
| 196 |
+
"expect": {
|
| 197 |
+
"endpoint": {
|
| 198 |
+
"url": "https://agreement-marketplace.us-iso-east-1.c2s.ic.gov"
|
| 199 |
+
}
|
| 200 |
+
},
|
| 201 |
+
"params": {
|
| 202 |
+
"Region": "us-iso-east-1",
|
| 203 |
+
"UseFIPS": false,
|
| 204 |
+
"UseDualStack": false
|
| 205 |
+
}
|
| 206 |
+
},
|
| 207 |
+
{
|
| 208 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
|
| 209 |
+
"expect": {
|
| 210 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 211 |
+
},
|
| 212 |
+
"params": {
|
| 213 |
+
"Region": "us-isob-east-1",
|
| 214 |
+
"UseFIPS": true,
|
| 215 |
+
"UseDualStack": true
|
| 216 |
+
}
|
| 217 |
+
},
|
| 218 |
+
{
|
| 219 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
|
| 220 |
+
"expect": {
|
| 221 |
+
"endpoint": {
|
| 222 |
+
"url": "https://agreement-marketplace-fips.us-isob-east-1.sc2s.sgov.gov"
|
| 223 |
+
}
|
| 224 |
+
},
|
| 225 |
+
"params": {
|
| 226 |
+
"Region": "us-isob-east-1",
|
| 227 |
+
"UseFIPS": true,
|
| 228 |
+
"UseDualStack": false
|
| 229 |
+
}
|
| 230 |
+
},
|
| 231 |
+
{
|
| 232 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
|
| 233 |
+
"expect": {
|
| 234 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 235 |
+
},
|
| 236 |
+
"params": {
|
| 237 |
+
"Region": "us-isob-east-1",
|
| 238 |
+
"UseFIPS": false,
|
| 239 |
+
"UseDualStack": true
|
| 240 |
+
}
|
| 241 |
+
},
|
| 242 |
+
{
|
| 243 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
|
| 244 |
+
"expect": {
|
| 245 |
+
"endpoint": {
|
| 246 |
+
"url": "https://agreement-marketplace.us-isob-east-1.sc2s.sgov.gov"
|
| 247 |
+
}
|
| 248 |
+
},
|
| 249 |
+
"params": {
|
| 250 |
+
"Region": "us-isob-east-1",
|
| 251 |
+
"UseFIPS": false,
|
| 252 |
+
"UseDualStack": false
|
| 253 |
+
}
|
| 254 |
+
},
|
| 255 |
+
{
|
| 256 |
+
"documentation": "For custom endpoint with region set and fips disabled and dualstack disabled",
|
| 257 |
+
"expect": {
|
| 258 |
+
"endpoint": {
|
| 259 |
+
"url": "https://example.com"
|
| 260 |
+
}
|
| 261 |
+
},
|
| 262 |
+
"params": {
|
| 263 |
+
"Region": "us-east-1",
|
| 264 |
+
"UseFIPS": false,
|
| 265 |
+
"UseDualStack": false,
|
| 266 |
+
"Endpoint": "https://example.com"
|
| 267 |
+
}
|
| 268 |
+
},
|
| 269 |
+
{
|
| 270 |
+
"documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled",
|
| 271 |
+
"expect": {
|
| 272 |
+
"endpoint": {
|
| 273 |
+
"url": "https://example.com"
|
| 274 |
+
}
|
| 275 |
+
},
|
| 276 |
+
"params": {
|
| 277 |
+
"UseFIPS": false,
|
| 278 |
+
"UseDualStack": false,
|
| 279 |
+
"Endpoint": "https://example.com"
|
| 280 |
+
}
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"documentation": "For custom endpoint with fips enabled and dualstack disabled",
|
| 284 |
+
"expect": {
|
| 285 |
+
"error": "Invalid Configuration: FIPS and custom endpoint are not supported"
|
| 286 |
+
},
|
| 287 |
+
"params": {
|
| 288 |
+
"Region": "us-east-1",
|
| 289 |
+
"UseFIPS": true,
|
| 290 |
+
"UseDualStack": false,
|
| 291 |
+
"Endpoint": "https://example.com"
|
| 292 |
+
}
|
| 293 |
+
},
|
| 294 |
+
{
|
| 295 |
+
"documentation": "For custom endpoint with fips disabled and dualstack enabled",
|
| 296 |
+
"expect": {
|
| 297 |
+
"error": "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
| 298 |
+
},
|
| 299 |
+
"params": {
|
| 300 |
+
"Region": "us-east-1",
|
| 301 |
+
"UseFIPS": false,
|
| 302 |
+
"UseDualStack": true,
|
| 303 |
+
"Endpoint": "https://example.com"
|
| 304 |
+
}
|
| 305 |
+
},
|
| 306 |
+
{
|
| 307 |
+
"documentation": "Missing region",
|
| 308 |
+
"expect": {
|
| 309 |
+
"error": "Invalid Configuration: Missing Region"
|
| 310 |
+
}
|
| 311 |
+
}
|
| 312 |
+
],
|
| 313 |
+
"version": "1.0"
|
| 314 |
+
}
|
testbed/boto__botocore/tests/functional/endpoint-rules/marketplace-catalog/endpoint-tests-1.json
ADDED
|
@@ -0,0 +1,314 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"testCases": [
|
| 3 |
+
{
|
| 4 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
|
| 5 |
+
"expect": {
|
| 6 |
+
"endpoint": {
|
| 7 |
+
"url": "https://catalog.marketplace.us-east-1.amazonaws.com"
|
| 8 |
+
}
|
| 9 |
+
},
|
| 10 |
+
"params": {
|
| 11 |
+
"Region": "us-east-1",
|
| 12 |
+
"UseFIPS": false,
|
| 13 |
+
"UseDualStack": false
|
| 14 |
+
}
|
| 15 |
+
},
|
| 16 |
+
{
|
| 17 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
|
| 18 |
+
"expect": {
|
| 19 |
+
"endpoint": {
|
| 20 |
+
"url": "https://catalog.marketplace-fips.us-east-1.api.aws"
|
| 21 |
+
}
|
| 22 |
+
},
|
| 23 |
+
"params": {
|
| 24 |
+
"Region": "us-east-1",
|
| 25 |
+
"UseFIPS": true,
|
| 26 |
+
"UseDualStack": true
|
| 27 |
+
}
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
|
| 31 |
+
"expect": {
|
| 32 |
+
"endpoint": {
|
| 33 |
+
"url": "https://catalog.marketplace-fips.us-east-1.amazonaws.com"
|
| 34 |
+
}
|
| 35 |
+
},
|
| 36 |
+
"params": {
|
| 37 |
+
"Region": "us-east-1",
|
| 38 |
+
"UseFIPS": true,
|
| 39 |
+
"UseDualStack": false
|
| 40 |
+
}
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
|
| 44 |
+
"expect": {
|
| 45 |
+
"endpoint": {
|
| 46 |
+
"url": "https://catalog.marketplace.us-east-1.api.aws"
|
| 47 |
+
}
|
| 48 |
+
},
|
| 49 |
+
"params": {
|
| 50 |
+
"Region": "us-east-1",
|
| 51 |
+
"UseFIPS": false,
|
| 52 |
+
"UseDualStack": true
|
| 53 |
+
}
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled",
|
| 57 |
+
"expect": {
|
| 58 |
+
"endpoint": {
|
| 59 |
+
"url": "https://catalog.marketplace-fips.cn-north-1.api.amazonwebservices.com.cn"
|
| 60 |
+
}
|
| 61 |
+
},
|
| 62 |
+
"params": {
|
| 63 |
+
"Region": "cn-north-1",
|
| 64 |
+
"UseFIPS": true,
|
| 65 |
+
"UseDualStack": true
|
| 66 |
+
}
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled",
|
| 70 |
+
"expect": {
|
| 71 |
+
"endpoint": {
|
| 72 |
+
"url": "https://catalog.marketplace-fips.cn-north-1.amazonaws.com.cn"
|
| 73 |
+
}
|
| 74 |
+
},
|
| 75 |
+
"params": {
|
| 76 |
+
"Region": "cn-north-1",
|
| 77 |
+
"UseFIPS": true,
|
| 78 |
+
"UseDualStack": false
|
| 79 |
+
}
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled",
|
| 83 |
+
"expect": {
|
| 84 |
+
"endpoint": {
|
| 85 |
+
"url": "https://catalog.marketplace.cn-north-1.api.amazonwebservices.com.cn"
|
| 86 |
+
}
|
| 87 |
+
},
|
| 88 |
+
"params": {
|
| 89 |
+
"Region": "cn-north-1",
|
| 90 |
+
"UseFIPS": false,
|
| 91 |
+
"UseDualStack": true
|
| 92 |
+
}
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled",
|
| 96 |
+
"expect": {
|
| 97 |
+
"endpoint": {
|
| 98 |
+
"url": "https://catalog.marketplace.cn-north-1.amazonaws.com.cn"
|
| 99 |
+
}
|
| 100 |
+
},
|
| 101 |
+
"params": {
|
| 102 |
+
"Region": "cn-north-1",
|
| 103 |
+
"UseFIPS": false,
|
| 104 |
+
"UseDualStack": false
|
| 105 |
+
}
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled",
|
| 109 |
+
"expect": {
|
| 110 |
+
"endpoint": {
|
| 111 |
+
"url": "https://catalog.marketplace-fips.us-gov-east-1.api.aws"
|
| 112 |
+
}
|
| 113 |
+
},
|
| 114 |
+
"params": {
|
| 115 |
+
"Region": "us-gov-east-1",
|
| 116 |
+
"UseFIPS": true,
|
| 117 |
+
"UseDualStack": true
|
| 118 |
+
}
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled",
|
| 122 |
+
"expect": {
|
| 123 |
+
"endpoint": {
|
| 124 |
+
"url": "https://catalog.marketplace-fips.us-gov-east-1.amazonaws.com"
|
| 125 |
+
}
|
| 126 |
+
},
|
| 127 |
+
"params": {
|
| 128 |
+
"Region": "us-gov-east-1",
|
| 129 |
+
"UseFIPS": true,
|
| 130 |
+
"UseDualStack": false
|
| 131 |
+
}
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled",
|
| 135 |
+
"expect": {
|
| 136 |
+
"endpoint": {
|
| 137 |
+
"url": "https://catalog.marketplace.us-gov-east-1.api.aws"
|
| 138 |
+
}
|
| 139 |
+
},
|
| 140 |
+
"params": {
|
| 141 |
+
"Region": "us-gov-east-1",
|
| 142 |
+
"UseFIPS": false,
|
| 143 |
+
"UseDualStack": true
|
| 144 |
+
}
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled",
|
| 148 |
+
"expect": {
|
| 149 |
+
"endpoint": {
|
| 150 |
+
"url": "https://catalog.marketplace.us-gov-east-1.amazonaws.com"
|
| 151 |
+
}
|
| 152 |
+
},
|
| 153 |
+
"params": {
|
| 154 |
+
"Region": "us-gov-east-1",
|
| 155 |
+
"UseFIPS": false,
|
| 156 |
+
"UseDualStack": false
|
| 157 |
+
}
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
|
| 161 |
+
"expect": {
|
| 162 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 163 |
+
},
|
| 164 |
+
"params": {
|
| 165 |
+
"Region": "us-iso-east-1",
|
| 166 |
+
"UseFIPS": true,
|
| 167 |
+
"UseDualStack": true
|
| 168 |
+
}
|
| 169 |
+
},
|
| 170 |
+
{
|
| 171 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
|
| 172 |
+
"expect": {
|
| 173 |
+
"endpoint": {
|
| 174 |
+
"url": "https://catalog.marketplace-fips.us-iso-east-1.c2s.ic.gov"
|
| 175 |
+
}
|
| 176 |
+
},
|
| 177 |
+
"params": {
|
| 178 |
+
"Region": "us-iso-east-1",
|
| 179 |
+
"UseFIPS": true,
|
| 180 |
+
"UseDualStack": false
|
| 181 |
+
}
|
| 182 |
+
},
|
| 183 |
+
{
|
| 184 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
|
| 185 |
+
"expect": {
|
| 186 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 187 |
+
},
|
| 188 |
+
"params": {
|
| 189 |
+
"Region": "us-iso-east-1",
|
| 190 |
+
"UseFIPS": false,
|
| 191 |
+
"UseDualStack": true
|
| 192 |
+
}
|
| 193 |
+
},
|
| 194 |
+
{
|
| 195 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
|
| 196 |
+
"expect": {
|
| 197 |
+
"endpoint": {
|
| 198 |
+
"url": "https://catalog.marketplace.us-iso-east-1.c2s.ic.gov"
|
| 199 |
+
}
|
| 200 |
+
},
|
| 201 |
+
"params": {
|
| 202 |
+
"Region": "us-iso-east-1",
|
| 203 |
+
"UseFIPS": false,
|
| 204 |
+
"UseDualStack": false
|
| 205 |
+
}
|
| 206 |
+
},
|
| 207 |
+
{
|
| 208 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
|
| 209 |
+
"expect": {
|
| 210 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 211 |
+
},
|
| 212 |
+
"params": {
|
| 213 |
+
"Region": "us-isob-east-1",
|
| 214 |
+
"UseFIPS": true,
|
| 215 |
+
"UseDualStack": true
|
| 216 |
+
}
|
| 217 |
+
},
|
| 218 |
+
{
|
| 219 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
|
| 220 |
+
"expect": {
|
| 221 |
+
"endpoint": {
|
| 222 |
+
"url": "https://catalog.marketplace-fips.us-isob-east-1.sc2s.sgov.gov"
|
| 223 |
+
}
|
| 224 |
+
},
|
| 225 |
+
"params": {
|
| 226 |
+
"Region": "us-isob-east-1",
|
| 227 |
+
"UseFIPS": true,
|
| 228 |
+
"UseDualStack": false
|
| 229 |
+
}
|
| 230 |
+
},
|
| 231 |
+
{
|
| 232 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
|
| 233 |
+
"expect": {
|
| 234 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 235 |
+
},
|
| 236 |
+
"params": {
|
| 237 |
+
"Region": "us-isob-east-1",
|
| 238 |
+
"UseFIPS": false,
|
| 239 |
+
"UseDualStack": true
|
| 240 |
+
}
|
| 241 |
+
},
|
| 242 |
+
{
|
| 243 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
|
| 244 |
+
"expect": {
|
| 245 |
+
"endpoint": {
|
| 246 |
+
"url": "https://catalog.marketplace.us-isob-east-1.sc2s.sgov.gov"
|
| 247 |
+
}
|
| 248 |
+
},
|
| 249 |
+
"params": {
|
| 250 |
+
"Region": "us-isob-east-1",
|
| 251 |
+
"UseFIPS": false,
|
| 252 |
+
"UseDualStack": false
|
| 253 |
+
}
|
| 254 |
+
},
|
| 255 |
+
{
|
| 256 |
+
"documentation": "For custom endpoint with region set and fips disabled and dualstack disabled",
|
| 257 |
+
"expect": {
|
| 258 |
+
"endpoint": {
|
| 259 |
+
"url": "https://example.com"
|
| 260 |
+
}
|
| 261 |
+
},
|
| 262 |
+
"params": {
|
| 263 |
+
"Region": "us-east-1",
|
| 264 |
+
"UseFIPS": false,
|
| 265 |
+
"UseDualStack": false,
|
| 266 |
+
"Endpoint": "https://example.com"
|
| 267 |
+
}
|
| 268 |
+
},
|
| 269 |
+
{
|
| 270 |
+
"documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled",
|
| 271 |
+
"expect": {
|
| 272 |
+
"endpoint": {
|
| 273 |
+
"url": "https://example.com"
|
| 274 |
+
}
|
| 275 |
+
},
|
| 276 |
+
"params": {
|
| 277 |
+
"UseFIPS": false,
|
| 278 |
+
"UseDualStack": false,
|
| 279 |
+
"Endpoint": "https://example.com"
|
| 280 |
+
}
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"documentation": "For custom endpoint with fips enabled and dualstack disabled",
|
| 284 |
+
"expect": {
|
| 285 |
+
"error": "Invalid Configuration: FIPS and custom endpoint are not supported"
|
| 286 |
+
},
|
| 287 |
+
"params": {
|
| 288 |
+
"Region": "us-east-1",
|
| 289 |
+
"UseFIPS": true,
|
| 290 |
+
"UseDualStack": false,
|
| 291 |
+
"Endpoint": "https://example.com"
|
| 292 |
+
}
|
| 293 |
+
},
|
| 294 |
+
{
|
| 295 |
+
"documentation": "For custom endpoint with fips disabled and dualstack enabled",
|
| 296 |
+
"expect": {
|
| 297 |
+
"error": "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
| 298 |
+
},
|
| 299 |
+
"params": {
|
| 300 |
+
"Region": "us-east-1",
|
| 301 |
+
"UseFIPS": false,
|
| 302 |
+
"UseDualStack": true,
|
| 303 |
+
"Endpoint": "https://example.com"
|
| 304 |
+
}
|
| 305 |
+
},
|
| 306 |
+
{
|
| 307 |
+
"documentation": "Missing region",
|
| 308 |
+
"expect": {
|
| 309 |
+
"error": "Invalid Configuration: Missing Region"
|
| 310 |
+
}
|
| 311 |
+
}
|
| 312 |
+
],
|
| 313 |
+
"version": "1.0"
|
| 314 |
+
}
|
testbed/boto__botocore/tests/functional/endpoint-rules/marketplace-deployment/endpoint-tests-1.json
ADDED
|
@@ -0,0 +1,314 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"testCases": [
|
| 3 |
+
{
|
| 4 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
|
| 5 |
+
"expect": {
|
| 6 |
+
"endpoint": {
|
| 7 |
+
"url": "https://deployment-marketplace-fips.us-east-1.api.aws"
|
| 8 |
+
}
|
| 9 |
+
},
|
| 10 |
+
"params": {
|
| 11 |
+
"Region": "us-east-1",
|
| 12 |
+
"UseFIPS": true,
|
| 13 |
+
"UseDualStack": true
|
| 14 |
+
}
|
| 15 |
+
},
|
| 16 |
+
{
|
| 17 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
|
| 18 |
+
"expect": {
|
| 19 |
+
"endpoint": {
|
| 20 |
+
"url": "https://deployment-marketplace-fips.us-east-1.amazonaws.com"
|
| 21 |
+
}
|
| 22 |
+
},
|
| 23 |
+
"params": {
|
| 24 |
+
"Region": "us-east-1",
|
| 25 |
+
"UseFIPS": true,
|
| 26 |
+
"UseDualStack": false
|
| 27 |
+
}
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
|
| 31 |
+
"expect": {
|
| 32 |
+
"endpoint": {
|
| 33 |
+
"url": "https://deployment-marketplace.us-east-1.api.aws"
|
| 34 |
+
}
|
| 35 |
+
},
|
| 36 |
+
"params": {
|
| 37 |
+
"Region": "us-east-1",
|
| 38 |
+
"UseFIPS": false,
|
| 39 |
+
"UseDualStack": true
|
| 40 |
+
}
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
|
| 44 |
+
"expect": {
|
| 45 |
+
"endpoint": {
|
| 46 |
+
"url": "https://deployment-marketplace.us-east-1.amazonaws.com"
|
| 47 |
+
}
|
| 48 |
+
},
|
| 49 |
+
"params": {
|
| 50 |
+
"Region": "us-east-1",
|
| 51 |
+
"UseFIPS": false,
|
| 52 |
+
"UseDualStack": false
|
| 53 |
+
}
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled",
|
| 57 |
+
"expect": {
|
| 58 |
+
"endpoint": {
|
| 59 |
+
"url": "https://deployment-marketplace-fips.cn-north-1.api.amazonwebservices.com.cn"
|
| 60 |
+
}
|
| 61 |
+
},
|
| 62 |
+
"params": {
|
| 63 |
+
"Region": "cn-north-1",
|
| 64 |
+
"UseFIPS": true,
|
| 65 |
+
"UseDualStack": true
|
| 66 |
+
}
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled",
|
| 70 |
+
"expect": {
|
| 71 |
+
"endpoint": {
|
| 72 |
+
"url": "https://deployment-marketplace-fips.cn-north-1.amazonaws.com.cn"
|
| 73 |
+
}
|
| 74 |
+
},
|
| 75 |
+
"params": {
|
| 76 |
+
"Region": "cn-north-1",
|
| 77 |
+
"UseFIPS": true,
|
| 78 |
+
"UseDualStack": false
|
| 79 |
+
}
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled",
|
| 83 |
+
"expect": {
|
| 84 |
+
"endpoint": {
|
| 85 |
+
"url": "https://deployment-marketplace.cn-north-1.api.amazonwebservices.com.cn"
|
| 86 |
+
}
|
| 87 |
+
},
|
| 88 |
+
"params": {
|
| 89 |
+
"Region": "cn-north-1",
|
| 90 |
+
"UseFIPS": false,
|
| 91 |
+
"UseDualStack": true
|
| 92 |
+
}
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled",
|
| 96 |
+
"expect": {
|
| 97 |
+
"endpoint": {
|
| 98 |
+
"url": "https://deployment-marketplace.cn-north-1.amazonaws.com.cn"
|
| 99 |
+
}
|
| 100 |
+
},
|
| 101 |
+
"params": {
|
| 102 |
+
"Region": "cn-north-1",
|
| 103 |
+
"UseFIPS": false,
|
| 104 |
+
"UseDualStack": false
|
| 105 |
+
}
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled",
|
| 109 |
+
"expect": {
|
| 110 |
+
"endpoint": {
|
| 111 |
+
"url": "https://deployment-marketplace-fips.us-gov-east-1.api.aws"
|
| 112 |
+
}
|
| 113 |
+
},
|
| 114 |
+
"params": {
|
| 115 |
+
"Region": "us-gov-east-1",
|
| 116 |
+
"UseFIPS": true,
|
| 117 |
+
"UseDualStack": true
|
| 118 |
+
}
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled",
|
| 122 |
+
"expect": {
|
| 123 |
+
"endpoint": {
|
| 124 |
+
"url": "https://deployment-marketplace-fips.us-gov-east-1.amazonaws.com"
|
| 125 |
+
}
|
| 126 |
+
},
|
| 127 |
+
"params": {
|
| 128 |
+
"Region": "us-gov-east-1",
|
| 129 |
+
"UseFIPS": true,
|
| 130 |
+
"UseDualStack": false
|
| 131 |
+
}
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled",
|
| 135 |
+
"expect": {
|
| 136 |
+
"endpoint": {
|
| 137 |
+
"url": "https://deployment-marketplace.us-gov-east-1.api.aws"
|
| 138 |
+
}
|
| 139 |
+
},
|
| 140 |
+
"params": {
|
| 141 |
+
"Region": "us-gov-east-1",
|
| 142 |
+
"UseFIPS": false,
|
| 143 |
+
"UseDualStack": true
|
| 144 |
+
}
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled",
|
| 148 |
+
"expect": {
|
| 149 |
+
"endpoint": {
|
| 150 |
+
"url": "https://deployment-marketplace.us-gov-east-1.amazonaws.com"
|
| 151 |
+
}
|
| 152 |
+
},
|
| 153 |
+
"params": {
|
| 154 |
+
"Region": "us-gov-east-1",
|
| 155 |
+
"UseFIPS": false,
|
| 156 |
+
"UseDualStack": false
|
| 157 |
+
}
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
|
| 161 |
+
"expect": {
|
| 162 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 163 |
+
},
|
| 164 |
+
"params": {
|
| 165 |
+
"Region": "us-iso-east-1",
|
| 166 |
+
"UseFIPS": true,
|
| 167 |
+
"UseDualStack": true
|
| 168 |
+
}
|
| 169 |
+
},
|
| 170 |
+
{
|
| 171 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
|
| 172 |
+
"expect": {
|
| 173 |
+
"endpoint": {
|
| 174 |
+
"url": "https://deployment-marketplace-fips.us-iso-east-1.c2s.ic.gov"
|
| 175 |
+
}
|
| 176 |
+
},
|
| 177 |
+
"params": {
|
| 178 |
+
"Region": "us-iso-east-1",
|
| 179 |
+
"UseFIPS": true,
|
| 180 |
+
"UseDualStack": false
|
| 181 |
+
}
|
| 182 |
+
},
|
| 183 |
+
{
|
| 184 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
|
| 185 |
+
"expect": {
|
| 186 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 187 |
+
},
|
| 188 |
+
"params": {
|
| 189 |
+
"Region": "us-iso-east-1",
|
| 190 |
+
"UseFIPS": false,
|
| 191 |
+
"UseDualStack": true
|
| 192 |
+
}
|
| 193 |
+
},
|
| 194 |
+
{
|
| 195 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
|
| 196 |
+
"expect": {
|
| 197 |
+
"endpoint": {
|
| 198 |
+
"url": "https://deployment-marketplace.us-iso-east-1.c2s.ic.gov"
|
| 199 |
+
}
|
| 200 |
+
},
|
| 201 |
+
"params": {
|
| 202 |
+
"Region": "us-iso-east-1",
|
| 203 |
+
"UseFIPS": false,
|
| 204 |
+
"UseDualStack": false
|
| 205 |
+
}
|
| 206 |
+
},
|
| 207 |
+
{
|
| 208 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
|
| 209 |
+
"expect": {
|
| 210 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 211 |
+
},
|
| 212 |
+
"params": {
|
| 213 |
+
"Region": "us-isob-east-1",
|
| 214 |
+
"UseFIPS": true,
|
| 215 |
+
"UseDualStack": true
|
| 216 |
+
}
|
| 217 |
+
},
|
| 218 |
+
{
|
| 219 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
|
| 220 |
+
"expect": {
|
| 221 |
+
"endpoint": {
|
| 222 |
+
"url": "https://deployment-marketplace-fips.us-isob-east-1.sc2s.sgov.gov"
|
| 223 |
+
}
|
| 224 |
+
},
|
| 225 |
+
"params": {
|
| 226 |
+
"Region": "us-isob-east-1",
|
| 227 |
+
"UseFIPS": true,
|
| 228 |
+
"UseDualStack": false
|
| 229 |
+
}
|
| 230 |
+
},
|
| 231 |
+
{
|
| 232 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
|
| 233 |
+
"expect": {
|
| 234 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 235 |
+
},
|
| 236 |
+
"params": {
|
| 237 |
+
"Region": "us-isob-east-1",
|
| 238 |
+
"UseFIPS": false,
|
| 239 |
+
"UseDualStack": true
|
| 240 |
+
}
|
| 241 |
+
},
|
| 242 |
+
{
|
| 243 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
|
| 244 |
+
"expect": {
|
| 245 |
+
"endpoint": {
|
| 246 |
+
"url": "https://deployment-marketplace.us-isob-east-1.sc2s.sgov.gov"
|
| 247 |
+
}
|
| 248 |
+
},
|
| 249 |
+
"params": {
|
| 250 |
+
"Region": "us-isob-east-1",
|
| 251 |
+
"UseFIPS": false,
|
| 252 |
+
"UseDualStack": false
|
| 253 |
+
}
|
| 254 |
+
},
|
| 255 |
+
{
|
| 256 |
+
"documentation": "For custom endpoint with region set and fips disabled and dualstack disabled",
|
| 257 |
+
"expect": {
|
| 258 |
+
"endpoint": {
|
| 259 |
+
"url": "https://example.com"
|
| 260 |
+
}
|
| 261 |
+
},
|
| 262 |
+
"params": {
|
| 263 |
+
"Region": "us-east-1",
|
| 264 |
+
"UseFIPS": false,
|
| 265 |
+
"UseDualStack": false,
|
| 266 |
+
"Endpoint": "https://example.com"
|
| 267 |
+
}
|
| 268 |
+
},
|
| 269 |
+
{
|
| 270 |
+
"documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled",
|
| 271 |
+
"expect": {
|
| 272 |
+
"endpoint": {
|
| 273 |
+
"url": "https://example.com"
|
| 274 |
+
}
|
| 275 |
+
},
|
| 276 |
+
"params": {
|
| 277 |
+
"UseFIPS": false,
|
| 278 |
+
"UseDualStack": false,
|
| 279 |
+
"Endpoint": "https://example.com"
|
| 280 |
+
}
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"documentation": "For custom endpoint with fips enabled and dualstack disabled",
|
| 284 |
+
"expect": {
|
| 285 |
+
"error": "Invalid Configuration: FIPS and custom endpoint are not supported"
|
| 286 |
+
},
|
| 287 |
+
"params": {
|
| 288 |
+
"Region": "us-east-1",
|
| 289 |
+
"UseFIPS": true,
|
| 290 |
+
"UseDualStack": false,
|
| 291 |
+
"Endpoint": "https://example.com"
|
| 292 |
+
}
|
| 293 |
+
},
|
| 294 |
+
{
|
| 295 |
+
"documentation": "For custom endpoint with fips disabled and dualstack enabled",
|
| 296 |
+
"expect": {
|
| 297 |
+
"error": "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
| 298 |
+
},
|
| 299 |
+
"params": {
|
| 300 |
+
"Region": "us-east-1",
|
| 301 |
+
"UseFIPS": false,
|
| 302 |
+
"UseDualStack": true,
|
| 303 |
+
"Endpoint": "https://example.com"
|
| 304 |
+
}
|
| 305 |
+
},
|
| 306 |
+
{
|
| 307 |
+
"documentation": "Missing region",
|
| 308 |
+
"expect": {
|
| 309 |
+
"error": "Invalid Configuration: Missing Region"
|
| 310 |
+
}
|
| 311 |
+
}
|
| 312 |
+
],
|
| 313 |
+
"version": "1.0"
|
| 314 |
+
}
|
testbed/boto__botocore/tests/functional/endpoint-rules/marketplace-entitlement/endpoint-tests-1.json
ADDED
|
@@ -0,0 +1,327 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"testCases": [
|
| 3 |
+
{
|
| 4 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
|
| 5 |
+
"expect": {
|
| 6 |
+
"endpoint": {
|
| 7 |
+
"url": "https://entitlement.marketplace.us-east-1.amazonaws.com"
|
| 8 |
+
}
|
| 9 |
+
},
|
| 10 |
+
"params": {
|
| 11 |
+
"Region": "us-east-1",
|
| 12 |
+
"UseFIPS": false,
|
| 13 |
+
"UseDualStack": false
|
| 14 |
+
}
|
| 15 |
+
},
|
| 16 |
+
{
|
| 17 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
|
| 18 |
+
"expect": {
|
| 19 |
+
"endpoint": {
|
| 20 |
+
"url": "https://entitlement.marketplace-fips.us-east-1.api.aws"
|
| 21 |
+
}
|
| 22 |
+
},
|
| 23 |
+
"params": {
|
| 24 |
+
"Region": "us-east-1",
|
| 25 |
+
"UseFIPS": true,
|
| 26 |
+
"UseDualStack": true
|
| 27 |
+
}
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
|
| 31 |
+
"expect": {
|
| 32 |
+
"endpoint": {
|
| 33 |
+
"url": "https://entitlement.marketplace-fips.us-east-1.amazonaws.com"
|
| 34 |
+
}
|
| 35 |
+
},
|
| 36 |
+
"params": {
|
| 37 |
+
"Region": "us-east-1",
|
| 38 |
+
"UseFIPS": true,
|
| 39 |
+
"UseDualStack": false
|
| 40 |
+
}
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
|
| 44 |
+
"expect": {
|
| 45 |
+
"endpoint": {
|
| 46 |
+
"url": "https://entitlement.marketplace.us-east-1.api.aws"
|
| 47 |
+
}
|
| 48 |
+
},
|
| 49 |
+
"params": {
|
| 50 |
+
"Region": "us-east-1",
|
| 51 |
+
"UseFIPS": false,
|
| 52 |
+
"UseDualStack": true
|
| 53 |
+
}
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"documentation": "For region cn-northwest-1 with FIPS disabled and DualStack disabled",
|
| 57 |
+
"expect": {
|
| 58 |
+
"endpoint": {
|
| 59 |
+
"url": "https://entitlement-marketplace.cn-northwest-1.amazonaws.com.cn"
|
| 60 |
+
}
|
| 61 |
+
},
|
| 62 |
+
"params": {
|
| 63 |
+
"Region": "cn-northwest-1",
|
| 64 |
+
"UseFIPS": false,
|
| 65 |
+
"UseDualStack": false
|
| 66 |
+
}
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled",
|
| 70 |
+
"expect": {
|
| 71 |
+
"endpoint": {
|
| 72 |
+
"url": "https://entitlement.marketplace-fips.cn-north-1.api.amazonwebservices.com.cn"
|
| 73 |
+
}
|
| 74 |
+
},
|
| 75 |
+
"params": {
|
| 76 |
+
"Region": "cn-north-1",
|
| 77 |
+
"UseFIPS": true,
|
| 78 |
+
"UseDualStack": true
|
| 79 |
+
}
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled",
|
| 83 |
+
"expect": {
|
| 84 |
+
"endpoint": {
|
| 85 |
+
"url": "https://entitlement.marketplace-fips.cn-north-1.amazonaws.com.cn"
|
| 86 |
+
}
|
| 87 |
+
},
|
| 88 |
+
"params": {
|
| 89 |
+
"Region": "cn-north-1",
|
| 90 |
+
"UseFIPS": true,
|
| 91 |
+
"UseDualStack": false
|
| 92 |
+
}
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled",
|
| 96 |
+
"expect": {
|
| 97 |
+
"endpoint": {
|
| 98 |
+
"url": "https://entitlement.marketplace.cn-north-1.api.amazonwebservices.com.cn"
|
| 99 |
+
}
|
| 100 |
+
},
|
| 101 |
+
"params": {
|
| 102 |
+
"Region": "cn-north-1",
|
| 103 |
+
"UseFIPS": false,
|
| 104 |
+
"UseDualStack": true
|
| 105 |
+
}
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled",
|
| 109 |
+
"expect": {
|
| 110 |
+
"endpoint": {
|
| 111 |
+
"url": "https://entitlement.marketplace.cn-north-1.amazonaws.com.cn"
|
| 112 |
+
}
|
| 113 |
+
},
|
| 114 |
+
"params": {
|
| 115 |
+
"Region": "cn-north-1",
|
| 116 |
+
"UseFIPS": false,
|
| 117 |
+
"UseDualStack": false
|
| 118 |
+
}
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled",
|
| 122 |
+
"expect": {
|
| 123 |
+
"endpoint": {
|
| 124 |
+
"url": "https://entitlement.marketplace-fips.us-gov-east-1.api.aws"
|
| 125 |
+
}
|
| 126 |
+
},
|
| 127 |
+
"params": {
|
| 128 |
+
"Region": "us-gov-east-1",
|
| 129 |
+
"UseFIPS": true,
|
| 130 |
+
"UseDualStack": true
|
| 131 |
+
}
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled",
|
| 135 |
+
"expect": {
|
| 136 |
+
"endpoint": {
|
| 137 |
+
"url": "https://entitlement.marketplace-fips.us-gov-east-1.amazonaws.com"
|
| 138 |
+
}
|
| 139 |
+
},
|
| 140 |
+
"params": {
|
| 141 |
+
"Region": "us-gov-east-1",
|
| 142 |
+
"UseFIPS": true,
|
| 143 |
+
"UseDualStack": false
|
| 144 |
+
}
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled",
|
| 148 |
+
"expect": {
|
| 149 |
+
"endpoint": {
|
| 150 |
+
"url": "https://entitlement.marketplace.us-gov-east-1.api.aws"
|
| 151 |
+
}
|
| 152 |
+
},
|
| 153 |
+
"params": {
|
| 154 |
+
"Region": "us-gov-east-1",
|
| 155 |
+
"UseFIPS": false,
|
| 156 |
+
"UseDualStack": true
|
| 157 |
+
}
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled",
|
| 161 |
+
"expect": {
|
| 162 |
+
"endpoint": {
|
| 163 |
+
"url": "https://entitlement.marketplace.us-gov-east-1.amazonaws.com"
|
| 164 |
+
}
|
| 165 |
+
},
|
| 166 |
+
"params": {
|
| 167 |
+
"Region": "us-gov-east-1",
|
| 168 |
+
"UseFIPS": false,
|
| 169 |
+
"UseDualStack": false
|
| 170 |
+
}
|
| 171 |
+
},
|
| 172 |
+
{
|
| 173 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
|
| 174 |
+
"expect": {
|
| 175 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 176 |
+
},
|
| 177 |
+
"params": {
|
| 178 |
+
"Region": "us-iso-east-1",
|
| 179 |
+
"UseFIPS": true,
|
| 180 |
+
"UseDualStack": true
|
| 181 |
+
}
|
| 182 |
+
},
|
| 183 |
+
{
|
| 184 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
|
| 185 |
+
"expect": {
|
| 186 |
+
"endpoint": {
|
| 187 |
+
"url": "https://entitlement.marketplace-fips.us-iso-east-1.c2s.ic.gov"
|
| 188 |
+
}
|
| 189 |
+
},
|
| 190 |
+
"params": {
|
| 191 |
+
"Region": "us-iso-east-1",
|
| 192 |
+
"UseFIPS": true,
|
| 193 |
+
"UseDualStack": false
|
| 194 |
+
}
|
| 195 |
+
},
|
| 196 |
+
{
|
| 197 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
|
| 198 |
+
"expect": {
|
| 199 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 200 |
+
},
|
| 201 |
+
"params": {
|
| 202 |
+
"Region": "us-iso-east-1",
|
| 203 |
+
"UseFIPS": false,
|
| 204 |
+
"UseDualStack": true
|
| 205 |
+
}
|
| 206 |
+
},
|
| 207 |
+
{
|
| 208 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
|
| 209 |
+
"expect": {
|
| 210 |
+
"endpoint": {
|
| 211 |
+
"url": "https://entitlement.marketplace.us-iso-east-1.c2s.ic.gov"
|
| 212 |
+
}
|
| 213 |
+
},
|
| 214 |
+
"params": {
|
| 215 |
+
"Region": "us-iso-east-1",
|
| 216 |
+
"UseFIPS": false,
|
| 217 |
+
"UseDualStack": false
|
| 218 |
+
}
|
| 219 |
+
},
|
| 220 |
+
{
|
| 221 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
|
| 222 |
+
"expect": {
|
| 223 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 224 |
+
},
|
| 225 |
+
"params": {
|
| 226 |
+
"Region": "us-isob-east-1",
|
| 227 |
+
"UseFIPS": true,
|
| 228 |
+
"UseDualStack": true
|
| 229 |
+
}
|
| 230 |
+
},
|
| 231 |
+
{
|
| 232 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
|
| 233 |
+
"expect": {
|
| 234 |
+
"endpoint": {
|
| 235 |
+
"url": "https://entitlement.marketplace-fips.us-isob-east-1.sc2s.sgov.gov"
|
| 236 |
+
}
|
| 237 |
+
},
|
| 238 |
+
"params": {
|
| 239 |
+
"Region": "us-isob-east-1",
|
| 240 |
+
"UseFIPS": true,
|
| 241 |
+
"UseDualStack": false
|
| 242 |
+
}
|
| 243 |
+
},
|
| 244 |
+
{
|
| 245 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
|
| 246 |
+
"expect": {
|
| 247 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 248 |
+
},
|
| 249 |
+
"params": {
|
| 250 |
+
"Region": "us-isob-east-1",
|
| 251 |
+
"UseFIPS": false,
|
| 252 |
+
"UseDualStack": true
|
| 253 |
+
}
|
| 254 |
+
},
|
| 255 |
+
{
|
| 256 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
|
| 257 |
+
"expect": {
|
| 258 |
+
"endpoint": {
|
| 259 |
+
"url": "https://entitlement.marketplace.us-isob-east-1.sc2s.sgov.gov"
|
| 260 |
+
}
|
| 261 |
+
},
|
| 262 |
+
"params": {
|
| 263 |
+
"Region": "us-isob-east-1",
|
| 264 |
+
"UseFIPS": false,
|
| 265 |
+
"UseDualStack": false
|
| 266 |
+
}
|
| 267 |
+
},
|
| 268 |
+
{
|
| 269 |
+
"documentation": "For custom endpoint with region set and fips disabled and dualstack disabled",
|
| 270 |
+
"expect": {
|
| 271 |
+
"endpoint": {
|
| 272 |
+
"url": "https://example.com"
|
| 273 |
+
}
|
| 274 |
+
},
|
| 275 |
+
"params": {
|
| 276 |
+
"Region": "us-east-1",
|
| 277 |
+
"UseFIPS": false,
|
| 278 |
+
"UseDualStack": false,
|
| 279 |
+
"Endpoint": "https://example.com"
|
| 280 |
+
}
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled",
|
| 284 |
+
"expect": {
|
| 285 |
+
"endpoint": {
|
| 286 |
+
"url": "https://example.com"
|
| 287 |
+
}
|
| 288 |
+
},
|
| 289 |
+
"params": {
|
| 290 |
+
"UseFIPS": false,
|
| 291 |
+
"UseDualStack": false,
|
| 292 |
+
"Endpoint": "https://example.com"
|
| 293 |
+
}
|
| 294 |
+
},
|
| 295 |
+
{
|
| 296 |
+
"documentation": "For custom endpoint with fips enabled and dualstack disabled",
|
| 297 |
+
"expect": {
|
| 298 |
+
"error": "Invalid Configuration: FIPS and custom endpoint are not supported"
|
| 299 |
+
},
|
| 300 |
+
"params": {
|
| 301 |
+
"Region": "us-east-1",
|
| 302 |
+
"UseFIPS": true,
|
| 303 |
+
"UseDualStack": false,
|
| 304 |
+
"Endpoint": "https://example.com"
|
| 305 |
+
}
|
| 306 |
+
},
|
| 307 |
+
{
|
| 308 |
+
"documentation": "For custom endpoint with fips disabled and dualstack enabled",
|
| 309 |
+
"expect": {
|
| 310 |
+
"error": "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
| 311 |
+
},
|
| 312 |
+
"params": {
|
| 313 |
+
"Region": "us-east-1",
|
| 314 |
+
"UseFIPS": false,
|
| 315 |
+
"UseDualStack": true,
|
| 316 |
+
"Endpoint": "https://example.com"
|
| 317 |
+
}
|
| 318 |
+
},
|
| 319 |
+
{
|
| 320 |
+
"documentation": "Missing region",
|
| 321 |
+
"expect": {
|
| 322 |
+
"error": "Invalid Configuration: Missing Region"
|
| 323 |
+
}
|
| 324 |
+
}
|
| 325 |
+
],
|
| 326 |
+
"version": "1.0"
|
| 327 |
+
}
|
testbed/boto__botocore/tests/functional/endpoint-rules/marketplacecommerceanalytics/end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
+
"url": "https://marketplacecommerceanalytics.us-east-1.amazonaws.com"
|
| 8 |
+
}
|
| 9 |
+
},
|
| 10 |
+
"params": {
|
| 11 |
+
"Region": "us-east-1",
|
| 12 |
+
"UseFIPS": false,
|
| 13 |
+
"UseDualStack": false
|
| 14 |
+
}
|
| 15 |
+
},
|
| 16 |
+
{
|
| 17 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
|
| 18 |
+
"expect": {
|
| 19 |
+
"endpoint": {
|
| 20 |
+
"url": "https://marketplacecommerceanalytics-fips.us-east-1.api.aws"
|
| 21 |
+
}
|
| 22 |
+
},
|
| 23 |
+
"params": {
|
| 24 |
+
"Region": "us-east-1",
|
| 25 |
+
"UseFIPS": true,
|
| 26 |
+
"UseDualStack": true
|
| 27 |
+
}
|
| 28 |
+
},
|
| 29 |
+
{
|
| 30 |
+
"documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
|
| 31 |
+
"expect": {
|
| 32 |
+
"endpoint": {
|
| 33 |
+
"url": "https://marketplacecommerceanalytics-fips.us-east-1.amazonaws.com"
|
| 34 |
+
}
|
| 35 |
+
},
|
| 36 |
+
"params": {
|
| 37 |
+
"Region": "us-east-1",
|
| 38 |
+
"UseFIPS": true,
|
| 39 |
+
"UseDualStack": false
|
| 40 |
+
}
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
|
| 44 |
+
"expect": {
|
| 45 |
+
"endpoint": {
|
| 46 |
+
"url": "https://marketplacecommerceanalytics.us-east-1.api.aws"
|
| 47 |
+
}
|
| 48 |
+
},
|
| 49 |
+
"params": {
|
| 50 |
+
"Region": "us-east-1",
|
| 51 |
+
"UseFIPS": false,
|
| 52 |
+
"UseDualStack": true
|
| 53 |
+
}
|
| 54 |
+
},
|
| 55 |
+
{
|
| 56 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled",
|
| 57 |
+
"expect": {
|
| 58 |
+
"endpoint": {
|
| 59 |
+
"url": "https://marketplacecommerceanalytics-fips.cn-north-1.api.amazonwebservices.com.cn"
|
| 60 |
+
}
|
| 61 |
+
},
|
| 62 |
+
"params": {
|
| 63 |
+
"Region": "cn-north-1",
|
| 64 |
+
"UseFIPS": true,
|
| 65 |
+
"UseDualStack": true
|
| 66 |
+
}
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled",
|
| 70 |
+
"expect": {
|
| 71 |
+
"endpoint": {
|
| 72 |
+
"url": "https://marketplacecommerceanalytics-fips.cn-north-1.amazonaws.com.cn"
|
| 73 |
+
}
|
| 74 |
+
},
|
| 75 |
+
"params": {
|
| 76 |
+
"Region": "cn-north-1",
|
| 77 |
+
"UseFIPS": true,
|
| 78 |
+
"UseDualStack": false
|
| 79 |
+
}
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled",
|
| 83 |
+
"expect": {
|
| 84 |
+
"endpoint": {
|
| 85 |
+
"url": "https://marketplacecommerceanalytics.cn-north-1.api.amazonwebservices.com.cn"
|
| 86 |
+
}
|
| 87 |
+
},
|
| 88 |
+
"params": {
|
| 89 |
+
"Region": "cn-north-1",
|
| 90 |
+
"UseFIPS": false,
|
| 91 |
+
"UseDualStack": true
|
| 92 |
+
}
|
| 93 |
+
},
|
| 94 |
+
{
|
| 95 |
+
"documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled",
|
| 96 |
+
"expect": {
|
| 97 |
+
"endpoint": {
|
| 98 |
+
"url": "https://marketplacecommerceanalytics.cn-north-1.amazonaws.com.cn"
|
| 99 |
+
}
|
| 100 |
+
},
|
| 101 |
+
"params": {
|
| 102 |
+
"Region": "cn-north-1",
|
| 103 |
+
"UseFIPS": false,
|
| 104 |
+
"UseDualStack": false
|
| 105 |
+
}
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled",
|
| 109 |
+
"expect": {
|
| 110 |
+
"endpoint": {
|
| 111 |
+
"url": "https://marketplacecommerceanalytics-fips.us-gov-east-1.api.aws"
|
| 112 |
+
}
|
| 113 |
+
},
|
| 114 |
+
"params": {
|
| 115 |
+
"Region": "us-gov-east-1",
|
| 116 |
+
"UseFIPS": true,
|
| 117 |
+
"UseDualStack": true
|
| 118 |
+
}
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled",
|
| 122 |
+
"expect": {
|
| 123 |
+
"endpoint": {
|
| 124 |
+
"url": "https://marketplacecommerceanalytics-fips.us-gov-east-1.amazonaws.com"
|
| 125 |
+
}
|
| 126 |
+
},
|
| 127 |
+
"params": {
|
| 128 |
+
"Region": "us-gov-east-1",
|
| 129 |
+
"UseFIPS": true,
|
| 130 |
+
"UseDualStack": false
|
| 131 |
+
}
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled",
|
| 135 |
+
"expect": {
|
| 136 |
+
"endpoint": {
|
| 137 |
+
"url": "https://marketplacecommerceanalytics.us-gov-east-1.api.aws"
|
| 138 |
+
}
|
| 139 |
+
},
|
| 140 |
+
"params": {
|
| 141 |
+
"Region": "us-gov-east-1",
|
| 142 |
+
"UseFIPS": false,
|
| 143 |
+
"UseDualStack": true
|
| 144 |
+
}
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled",
|
| 148 |
+
"expect": {
|
| 149 |
+
"endpoint": {
|
| 150 |
+
"url": "https://marketplacecommerceanalytics.us-gov-east-1.amazonaws.com"
|
| 151 |
+
}
|
| 152 |
+
},
|
| 153 |
+
"params": {
|
| 154 |
+
"Region": "us-gov-east-1",
|
| 155 |
+
"UseFIPS": false,
|
| 156 |
+
"UseDualStack": false
|
| 157 |
+
}
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
|
| 161 |
+
"expect": {
|
| 162 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 163 |
+
},
|
| 164 |
+
"params": {
|
| 165 |
+
"Region": "us-iso-east-1",
|
| 166 |
+
"UseFIPS": true,
|
| 167 |
+
"UseDualStack": true
|
| 168 |
+
}
|
| 169 |
+
},
|
| 170 |
+
{
|
| 171 |
+
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
|
| 172 |
+
"expect": {
|
| 173 |
+
"endpoint": {
|
| 174 |
+
"url": "https://marketplacecommerceanalytics-fips.us-iso-east-1.c2s.ic.gov"
|
| 175 |
+
}
|
| 176 |
+
},
|
| 177 |
+
"params": {
|
| 178 |
+
"Region": "us-iso-east-1",
|
| 179 |
+
"UseFIPS": true,
|
| 180 |
+
"UseDualStack": false
|
| 181 |
+
}
|
| 182 |
+
},
|
| 183 |
+
{
|
| 184 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
|
| 185 |
+
"expect": {
|
| 186 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 187 |
+
},
|
| 188 |
+
"params": {
|
| 189 |
+
"Region": "us-iso-east-1",
|
| 190 |
+
"UseFIPS": false,
|
| 191 |
+
"UseDualStack": true
|
| 192 |
+
}
|
| 193 |
+
},
|
| 194 |
+
{
|
| 195 |
+
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
|
| 196 |
+
"expect": {
|
| 197 |
+
"endpoint": {
|
| 198 |
+
"url": "https://marketplacecommerceanalytics.us-iso-east-1.c2s.ic.gov"
|
| 199 |
+
}
|
| 200 |
+
},
|
| 201 |
+
"params": {
|
| 202 |
+
"Region": "us-iso-east-1",
|
| 203 |
+
"UseFIPS": false,
|
| 204 |
+
"UseDualStack": false
|
| 205 |
+
}
|
| 206 |
+
},
|
| 207 |
+
{
|
| 208 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
|
| 209 |
+
"expect": {
|
| 210 |
+
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
|
| 211 |
+
},
|
| 212 |
+
"params": {
|
| 213 |
+
"Region": "us-isob-east-1",
|
| 214 |
+
"UseFIPS": true,
|
| 215 |
+
"UseDualStack": true
|
| 216 |
+
}
|
| 217 |
+
},
|
| 218 |
+
{
|
| 219 |
+
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
|
| 220 |
+
"expect": {
|
| 221 |
+
"endpoint": {
|
| 222 |
+
"url": "https://marketplacecommerceanalytics-fips.us-isob-east-1.sc2s.sgov.gov"
|
| 223 |
+
}
|
| 224 |
+
},
|
| 225 |
+
"params": {
|
| 226 |
+
"Region": "us-isob-east-1",
|
| 227 |
+
"UseFIPS": true,
|
| 228 |
+
"UseDualStack": false
|
| 229 |
+
}
|
| 230 |
+
},
|
| 231 |
+
{
|
| 232 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
|
| 233 |
+
"expect": {
|
| 234 |
+
"error": "DualStack is enabled but this partition does not support DualStack"
|
| 235 |
+
},
|
| 236 |
+
"params": {
|
| 237 |
+
"Region": "us-isob-east-1",
|
| 238 |
+
"UseFIPS": false,
|
| 239 |
+
"UseDualStack": true
|
| 240 |
+
}
|
| 241 |
+
},
|
| 242 |
+
{
|
| 243 |
+
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
|
| 244 |
+
"expect": {
|
| 245 |
+
"endpoint": {
|
| 246 |
+
"url": "https://marketplacecommerceanalytics.us-isob-east-1.sc2s.sgov.gov"
|
| 247 |
+
}
|
| 248 |
+
},
|
| 249 |
+
"params": {
|
| 250 |
+
"Region": "us-isob-east-1",
|
| 251 |
+
"UseFIPS": false,
|
| 252 |
+
"UseDualStack": false
|
| 253 |
+
}
|
| 254 |
+
},
|
| 255 |
+
{
|
| 256 |
+
"documentation": "For custom endpoint with region set and fips disabled and dualstack disabled",
|
| 257 |
+
"expect": {
|
| 258 |
+
"endpoint": {
|
| 259 |
+
"url": "https://example.com"
|
| 260 |
+
}
|
| 261 |
+
},
|
| 262 |
+
"params": {
|
| 263 |
+
"Region": "us-east-1",
|
| 264 |
+
"UseFIPS": false,
|
| 265 |
+
"UseDualStack": false,
|
| 266 |
+
"Endpoint": "https://example.com"
|
| 267 |
+
}
|
| 268 |
+
},
|
| 269 |
+
{
|
| 270 |
+
"documentation": "For custom endpoint with region not set and fips disabled and dualstack disabled",
|
| 271 |
+
"expect": {
|
| 272 |
+
"endpoint": {
|
| 273 |
+
"url": "https://example.com"
|
| 274 |
+
}
|
| 275 |
+
},
|
| 276 |
+
"params": {
|
| 277 |
+
"UseFIPS": false,
|
| 278 |
+
"UseDualStack": false,
|
| 279 |
+
"Endpoint": "https://example.com"
|
| 280 |
+
}
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"documentation": "For custom endpoint with fips enabled and dualstack disabled",
|
| 284 |
+
"expect": {
|
| 285 |
+
"error": "Invalid Configuration: FIPS and custom endpoint are not supported"
|
| 286 |
+
},
|
| 287 |
+
"params": {
|
| 288 |
+
"Region": "us-east-1",
|
| 289 |
+
"UseFIPS": true,
|
| 290 |
+
"UseDualStack": false,
|
| 291 |
+
"Endpoint": "https://example.com"
|
| 292 |
+
}
|
| 293 |
+
},
|
| 294 |
+
{
|
| 295 |
+
"documentation": "For custom endpoint with fips disabled and dualstack enabled",
|
| 296 |
+
"expect": {
|
| 297 |
+
"error": "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
| 298 |
+
},
|
| 299 |
+
"params": {
|
| 300 |
+
"Region": "us-east-1",
|
| 301 |
+
"UseFIPS": false,
|
| 302 |
+
"UseDualStack": true,
|
| 303 |
+
"Endpoint": "https://example.com"
|
| 304 |
+
}
|
| 305 |
+
},
|
| 306 |
+
{
|
| 307 |
+
"documentation": "Missing region",
|
| 308 |
+
"expect": {
|
| 309 |
+
"error": "Invalid Configuration: Missing Region"
|
| 310 |
+
}
|
| 311 |
+
}
|
| 312 |
+
],
|
| 313 |
+
"version": "1.0"
|
| 314 |
+
}
|