Skip to content

Commit

Permalink
Merge branch 'release-1.35.87'
Browse files Browse the repository at this point in the history
* release-1.35.87:
  Bumping version to 1.35.87
  Update endpoints model
  Update to latest models
  • Loading branch information
aws-sdk-python-automation committed Dec 23, 2024
2 parents f4334b1 + 769e216 commit 64391d0
Show file tree
Hide file tree
Showing 12 changed files with 719 additions and 582 deletions.
22 changes: 22 additions & 0 deletions .changes/1.35.87.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
[
{
"category": "``ecr``",
"description": "Documentation update for ECR GetAccountSetting and PutAccountSetting APIs.",
"type": "api-change"
},
{
"category": "``ecr-public``",
"description": "Add support for Dualstack endpoints",
"type": "api-change"
},
{
"category": "``eks``",
"description": "This release adds support for DescribeClusterVersions API that provides important information about Kubernetes versions along with end of support dates",
"type": "api-change"
},
{
"category": "``glue``",
"description": "Add IncludeRoot parameters to GetCatalogs API to return root catalog.",
"type": "api-change"
}
]
9 changes: 9 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@
CHANGELOG
=========

1.35.87
=======

* api-change:``ecr``: Documentation update for ECR GetAccountSetting and PutAccountSetting APIs.
* api-change:``ecr-public``: Add support for Dualstack endpoints
* api-change:``eks``: This release adds support for DescribeClusterVersions API that provides important information about Kubernetes versions along with end of support dates
* api-change:``glue``: Add IncludeRoot parameters to GetCatalogs API to return root catalog.


1.35.86
=======

Expand Down
2 changes: 1 addition & 1 deletion botocore/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import os
import re

__version__ = '1.35.86'
__version__ = '1.35.87'


class NullHandler(logging.Handler):
Expand Down
275 changes: 44 additions & 231 deletions botocore/data/ecr-public/2020-10-30/endpoint-rule-set-1.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,19 @@
"documentation": "The AWS region used to dispatch the request.",
"type": "String"
},
"UseDualStack": {
"builtIn": "AWS::UseDualStack",
"required": true,
"default": false,
"documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.",
"type": "Boolean"
},
"UseFIPS": {
"builtIn": "AWS::UseFIPS",
"required": true,
"default": false,
"documentation": "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.",
"type": "Boolean"
},
"Endpoint": {
"builtIn": "SDK::Endpoint",
"required": false,
"documentation": "Override the endpoint used to send this request",
"type": "String"
"UseDualStack": {
"builtIn": "AWS::UseDualStack",
"required": true,
"default": false,
"documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.",
"type": "Boolean"
}
},
"rules": [
Expand All @@ -35,12 +29,20 @@
"fn": "isSet",
"argv": [
{
"ref": "Endpoint"
"ref": "Region"
}
]
},
{
"fn": "aws.partition",
"argv": [
{
"ref": "Region"
}
],
"assign": "PartitionResult"
}
],
"type": "tree",
"rules": [
{
"conditions": [
Expand All @@ -54,7 +56,7 @@
]
}
],
"error": "Invalid Configuration: FIPS and custom endpoint are not supported",
"error": "ECR Public does not support FIPS",
"type": "error"
},
{
Expand All @@ -69,246 +71,57 @@
]
}
],
"error": "Invalid Configuration: Dualstack and custom endpoint are not supported",
"type": "error"
},
{
"conditions": [],
"endpoint": {
"url": {
"ref": "Endpoint"
},
"properties": {},
"headers": {}
},
"type": "endpoint"
}
]
},
{
"conditions": [
{
"fn": "isSet",
"argv": [
{
"ref": "Region"
}
]
}
],
"type": "tree",
"rules": [
{
"conditions": [
{
"fn": "aws.partition",
"argv": [
{
"ref": "Region"
}
],
"assign": "PartitionResult"
}
],
"type": "tree",
"rules": [
{
"conditions": [
{
"fn": "booleanEquals",
"argv": [
true,
{
"ref": "UseFIPS"
},
true
]
},
{
"fn": "booleanEquals",
"argv": [
{
"ref": "UseDualStack"
},
true
]
}
],
"type": "tree",
"rules": [
{
"conditions": [
{
"fn": "booleanEquals",
"fn": "getAttr",
"argv": [
true,
{
"fn": "getAttr",
"argv": [
{
"ref": "PartitionResult"
},
"supportsFIPS"
]
}
]
},
{
"fn": "booleanEquals",
"argv": [
true,
{
"fn": "getAttr",
"argv": [
{
"ref": "PartitionResult"
},
"supportsDualStack"
]
}
"ref": "PartitionResult"
},
"supportsDualStack"
]
}
],
"type": "tree",
"rules": [
{
"conditions": [],
"endpoint": {
"url": "https://api.ecr-public-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
"properties": {},
"headers": {}
},
"type": "endpoint"
}
]
},
{
"conditions": [],
"error": "FIPS and DualStack are enabled, but this partition does not support one or both",
"type": "error"
}
]
},
{
"conditions": [
{
"fn": "booleanEquals",
"argv": [
{
"ref": "UseFIPS"
},
true
]
}
],
"type": "tree",
"rules": [
{
"conditions": [
{
"fn": "booleanEquals",
"argv": [
true,
{
"fn": "getAttr",
"argv": [
{
"ref": "PartitionResult"
},
"supportsFIPS"
]
}
]
}
],
"type": "tree",
"rules": [
{
"conditions": [],
"endpoint": {
"url": "https://api.ecr-public-fips.{Region}.{PartitionResult#dnsSuffix}",
"properties": {},
"headers": {}
},
"type": "endpoint"
}
]
},
{
"conditions": [],
"error": "FIPS is enabled but this partition does not support FIPS",
"type": "error"
}
]
},
{
"conditions": [
{
"fn": "booleanEquals",
"argv": [
{
"ref": "UseDualStack"
},
true
]
"endpoint": {
"url": "https://ecr-public.{Region}.{PartitionResult#dualStackDnsSuffix}",
"properties": {},
"headers": {}
},
"type": "endpoint"
}
],
"type": "tree",
"rules": [
{
"conditions": [
{
"fn": "booleanEquals",
"argv": [
true,
{
"fn": "getAttr",
"argv": [
{
"ref": "PartitionResult"
},
"supportsDualStack"
]
}
]
}
],
"type": "tree",
"rules": [
{
"conditions": [],
"endpoint": {
"url": "https://api.ecr-public.{Region}.{PartitionResult#dualStackDnsSuffix}",
"properties": {},
"headers": {}
},
"type": "endpoint"
}
]
},
{
"conditions": [],
"error": "DualStack is enabled but this partition does not support DualStack",
"type": "error"
}
]
"type": "tree"
},
{
"conditions": [],
"endpoint": {
"url": "https://api.ecr-public.{Region}.{PartitionResult#dnsSuffix}",
"properties": {},
"headers": {}
},
"type": "endpoint"
"error": "Dualstack is enabled but this partition does not support dualstack",
"type": "error"
}
]
],
"type": "tree"
},
{
"conditions": [],
"endpoint": {
"url": "https://api.ecr-public.{Region}.{PartitionResult#dnsSuffix}",
"properties": {},
"headers": {}
},
"type": "endpoint"
}
]
},
{
"conditions": [],
"error": "Invalid Configuration: Missing Region",
"type": "error"
],
"type": "tree"
}
]
}
Loading

0 comments on commit 64391d0

Please sign in to comment.