Skip to content

Commit

Permalink
Merge branch 'release-1.31.85'
Browse files Browse the repository at this point in the history
* release-1.31.85:
  Bumping version to 1.31.85
  Update to latest partitions and endpoints
  Update to latest models
  Update awcrt version to 0.19.12 (#3057)
  Isolate query compatible changes into function
  Fix Sqs ErrorType not being parsed properly
  • Loading branch information
aws-sdk-python-automation committed Nov 13, 2023
2 parents 8e9ec5f + e307d8c commit 84b36af
Show file tree
Hide file tree
Showing 21 changed files with 642 additions and 196 deletions.
42 changes: 42 additions & 0 deletions .changes/1.31.85.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
[
{
"category": "AWSCRT",
"description": "Update awscrt version to 0.19.12",
"type": "enhancement"
},
{
"category": "``dataexchange``",
"description": "Removed Required trait for DataSet.OriginDetails.ProductId.",
"type": "api-change"
},
{
"category": "``dms``",
"description": "Added new Db2 LUW Target endpoint with related endpoint settings. New executeTimeout endpoint setting for mysql endpoint. New ReplicationDeprovisionTime field for serverless describe-replications.",
"type": "api-change"
},
{
"category": "``ec2``",
"description": "Adds the new EC2 DescribeInstanceTopology API, which you can use to retrieve the network topology of your running instances on select platform types to determine their relative proximity to each other.",
"type": "api-change"
},
{
"category": "``ecs``",
"description": "Adds a Client Token parameter to the ECS RunTask API. The Client Token parameter allows for idempotent RunTask requests.",
"type": "api-change"
},
{
"category": "``emr``",
"description": "Update emr client to latest version",
"type": "api-change"
},
{
"category": "``servicecatalog-appregistry``",
"description": "When the customer associates a resource collection to their application with this new feature, then a new application tag will be applied to all supported resources that are part of that collection. This allows customers to more easily find the application that is associated with those resources.",
"type": "api-change"
},
{
"category": "``endpoint-rules``",
"description": "Update endpoint-rules client to latest version",
"type": "api-change"
}
]
13 changes: 13 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,19 @@
CHANGELOG
=========

1.31.85
=======

* enhancement:AWSCRT: Update awscrt version to 0.19.12
* api-change:``dataexchange``: Removed Required trait for DataSet.OriginDetails.ProductId.
* api-change:``dms``: Added new Db2 LUW Target endpoint with related endpoint settings. New executeTimeout endpoint setting for mysql endpoint. New ReplicationDeprovisionTime field for serverless describe-replications.
* api-change:``ec2``: Adds the new EC2 DescribeInstanceTopology API, which you can use to retrieve the network topology of your running instances on select platform types to determine their relative proximity to each other.
* api-change:``ecs``: Adds a Client Token parameter to the ECS RunTask API. The Client Token parameter allows for idempotent RunTask requests.
* api-change:``emr``: Update emr client to latest version
* api-change:``servicecatalog-appregistry``: When the customer associates a resource collection to their application with this new feature, then a new application tag will be applied to all supported resources that are part of that collection. This allows customers to more easily find the application that is associated with those resources.
* api-change:``endpoint-rules``: Update endpoint-rules client to latest version


1.31.84
=======

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.31.84'
__version__ = '1.31.85'


class NullHandler(logging.Handler):
Expand Down
5 changes: 4 additions & 1 deletion botocore/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -975,7 +975,10 @@ def _make_api_call(self, operation_name, api_params):
)

if http.status_code >= 300:
error_code = parsed_response.get("Error", {}).get("Code")
error_info = parsed_response.get("Error", {})
error_code = error_info.get("QueryErrorCode") or error_info.get(
"Code"
)
error_class = self.exceptions.from_code(error_code)
raise error_class(parsed_response, operation_name)
else:
Expand Down
1 change: 0 additions & 1 deletion botocore/data/dataexchange/2017-07-25/service-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -2830,7 +2830,6 @@
},
"OriginDetails":{
"type":"structure",
"required":["ProductId"],
"members":{
"ProductId":{
"shape":"__string",
Expand Down
52 changes: 26 additions & 26 deletions botocore/data/dms/2016-01-01/endpoint-rule-set-1.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
]
}
],
"type": "tree",
"rules": [
{
"conditions": [
Expand Down Expand Up @@ -83,7 +82,8 @@
},
"type": "endpoint"
}
]
],
"type": "tree"
},
{
"conditions": [
Expand All @@ -96,7 +96,6 @@
]
}
],
"type": "tree",
"rules": [
{
"conditions": [
Expand All @@ -110,7 +109,6 @@
"assign": "PartitionResult"
}
],
"type": "tree",
"rules": [
{
"conditions": [
Expand All @@ -133,7 +131,6 @@
]
}
],
"type": "tree",
"rules": [
{
"conditions": [
Expand Down Expand Up @@ -168,7 +165,6 @@
]
}
],
"type": "tree",
"rules": [
{
"conditions": [],
Expand All @@ -179,14 +175,16 @@
},
"type": "endpoint"
}
]
],
"type": "tree"
},
{
"conditions": [],
"error": "FIPS and DualStack are enabled, but this partition does not support one or both",
"type": "error"
}
]
],
"type": "tree"
},
{
"conditions": [
Expand All @@ -200,14 +198,12 @@
]
}
],
"type": "tree",
"rules": [
{
"conditions": [
{
"fn": "booleanEquals",
"argv": [
true,
{
"fn": "getAttr",
"argv": [
Expand All @@ -216,18 +212,17 @@
},
"supportsFIPS"
]
}
},
true
]
}
],
"type": "tree",
"rules": [
{
"conditions": [
{
"fn": "stringEquals",
"argv": [
"aws-us-gov",
{
"fn": "getAttr",
"argv": [
Expand All @@ -236,7 +231,8 @@
},
"name"
]
}
},
"aws-us-gov"
]
}
],
Expand All @@ -252,7 +248,6 @@
{
"fn": "stringEquals",
"argv": [
"aws-iso",
{
"fn": "getAttr",
"argv": [
Expand All @@ -261,7 +256,8 @@
},
"name"
]
}
},
"aws-iso"
]
}
],
Expand All @@ -277,7 +273,6 @@
{
"fn": "stringEquals",
"argv": [
"aws-iso-b",
{
"fn": "getAttr",
"argv": [
Expand All @@ -286,7 +281,8 @@
},
"name"
]
}
},
"aws-iso-b"
]
}
],
Expand All @@ -306,14 +302,16 @@
},
"type": "endpoint"
}
]
],
"type": "tree"
},
{
"conditions": [],
"error": "FIPS is enabled but this partition does not support FIPS",
"type": "error"
}
]
],
"type": "tree"
},
{
"conditions": [
Expand All @@ -327,7 +325,6 @@
]
}
],
"type": "tree",
"rules": [
{
"conditions": [
Expand All @@ -347,7 +344,6 @@
]
}
],
"type": "tree",
"rules": [
{
"conditions": [],
Expand All @@ -358,14 +354,16 @@
},
"type": "endpoint"
}
]
],
"type": "tree"
},
{
"conditions": [],
"error": "DualStack is enabled but this partition does not support DualStack",
"type": "error"
}
]
],
"type": "tree"
},
{
"conditions": [],
Expand All @@ -376,9 +374,11 @@
},
"type": "endpoint"
}
]
],
"type": "tree"
}
]
],
"type": "tree"
},
{
"conditions": [],
Expand Down
Loading

0 comments on commit 84b36af

Please sign in to comment.