diff --git a/.changes/1.13.10.json b/.changes/1.13.10.json new file mode 100644 index 0000000..3e9310c --- /dev/null +++ b/.changes/1.13.10.json @@ -0,0 +1,12 @@ +[ + { + "category": "``ec2``", + "description": "[``botocore``] Update ec2 client to latest version", + "type": "api-change" + }, + { + "category": "``imagebuilder``", + "description": "[``botocore``] Update imagebuilder client to latest version", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/1.13.11.json b/.changes/1.13.11.json new file mode 100644 index 0000000..f04459e --- /dev/null +++ b/.changes/1.13.11.json @@ -0,0 +1,22 @@ +[ + { + "category": "``sts``", + "description": "[``botocore``] Update sts client to latest version", + "type": "api-change" + }, + { + "category": "``ecr``", + "description": "[``botocore``] Update ecr client to latest version", + "type": "api-change" + }, + { + "category": "``glue``", + "description": "[``botocore``] Update glue client to latest version", + "type": "api-change" + }, + { + "category": "``cloudformation``", + "description": "[``botocore``] Update cloudformation client to latest version", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/1.13.12.json b/.changes/1.13.12.json new file mode 100644 index 0000000..56e6f2a --- /dev/null +++ b/.changes/1.13.12.json @@ -0,0 +1,32 @@ +[ + { + "category": "``chime``", + "description": "[``botocore``] Update chime client to latest version", + "type": "api-change" + }, + { + "category": "``qldb``", + "description": "[``botocore``] Update qldb client to latest version", + "type": "api-change" + }, + { + "category": "``ec2``", + "description": "[``botocore``] Update ec2 client to latest version", + "type": "api-change" + }, + { + "category": "``ecs``", + "description": "[``botocore``] Update ecs client to latest version", + "type": "api-change" + }, + { + "category": "``dynamodb``", + "description": "[``botocore``] Update dynamodb client to latest version", + "type": "api-change" + }, + { + "category": "``macie2``", + "description": "[``botocore``] Update macie2 client to latest version", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/1.13.13.json b/.changes/1.13.13.json new file mode 100644 index 0000000..112498d --- /dev/null +++ b/.changes/1.13.13.json @@ -0,0 +1,22 @@ +[ + { + "category": "``transcribe``", + "description": "[``botocore``] Update transcribe client to latest version", + "type": "api-change" + }, + { + "category": "``ec2``", + "description": "[``botocore``] Update ec2 client to latest version", + "type": "api-change" + }, + { + "category": "``health``", + "description": "[``botocore``] Update health client to latest version", + "type": "api-change" + }, + { + "category": "``chime``", + "description": "[``botocore``] Update chime client to latest version", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/1.13.14.json b/.changes/1.13.14.json new file mode 100644 index 0000000..1a502af --- /dev/null +++ b/.changes/1.13.14.json @@ -0,0 +1,37 @@ +[ + { + "category": "``backup``", + "description": "[``botocore``] Update backup client to latest version", + "type": "api-change" + }, + { + "category": "``codedeploy``", + "description": "[``botocore``] Update codedeploy client to latest version", + "type": "api-change" + }, + { + "category": "``securityhub``", + "description": "[``botocore``] Update securityhub client to latest version", + "type": "api-change" + }, + { + "category": "``chime``", + "description": "[``botocore``] Update chime client to latest version", + "type": "api-change" + }, + { + "category": "``medialive``", + "description": "[``botocore``] Update medialive client to latest version", + "type": "api-change" + }, + { + "category": "``application-autoscaling``", + "description": "[``botocore``] Update application-autoscaling client to latest version", + "type": "api-change" + }, + { + "category": "``appmesh``", + "description": "[``botocore``] Update appmesh client to latest version", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/1.13.4.json b/.changes/1.13.4.json new file mode 100644 index 0000000..45d0e5d --- /dev/null +++ b/.changes/1.13.4.json @@ -0,0 +1,12 @@ +[ + { + "category": "``codestar-connections``", + "description": "[``botocore``] Update codestar-connections client to latest version", + "type": "api-change" + }, + { + "category": "``comprehendmedical``", + "description": "[``botocore``] Update comprehendmedical client to latest version", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/1.13.5.json b/.changes/1.13.5.json new file mode 100644 index 0000000..658a62c --- /dev/null +++ b/.changes/1.13.5.json @@ -0,0 +1,37 @@ +[ + { + "category": "``ssm``", + "description": "[``botocore``] Update ssm client to latest version", + "type": "api-change" + }, + { + "category": "``ec2``", + "description": "[``botocore``] Update ec2 client to latest version", + "type": "api-change" + }, + { + "category": "``codebuild``", + "description": "[``botocore``] Update codebuild client to latest version", + "type": "api-change" + }, + { + "category": "``lightsail``", + "description": "[``botocore``] Update lightsail client to latest version", + "type": "api-change" + }, + { + "category": "``route53``", + "description": "[``botocore``] Update route53 client to latest version", + "type": "api-change" + }, + { + "category": "``appconfig``", + "description": "[``botocore``] Update appconfig client to latest version", + "type": "api-change" + }, + { + "category": "``logs``", + "description": "[``botocore``] Update logs client to latest version", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/1.13.6.json b/.changes/1.13.6.json new file mode 100644 index 0000000..46c3ca9 --- /dev/null +++ b/.changes/1.13.6.json @@ -0,0 +1,17 @@ +[ + { + "category": "``sagemaker``", + "description": "[``botocore``] Update sagemaker client to latest version", + "type": "api-change" + }, + { + "category": "``guardduty``", + "description": "[``botocore``] Update guardduty client to latest version", + "type": "api-change" + }, + { + "category": "``resourcegroupstaggingapi``", + "description": "[``botocore``] Update resourcegroupstaggingapi client to latest version", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/1.13.7.json b/.changes/1.13.7.json new file mode 100644 index 0000000..9096a5f --- /dev/null +++ b/.changes/1.13.7.json @@ -0,0 +1,17 @@ +[ + { + "category": "``kendra``", + "description": "[``botocore``] Update kendra client to latest version", + "type": "api-change" + }, + { + "category": "``ec2``", + "description": "[``botocore``] Update ec2 client to latest version", + "type": "api-change" + }, + { + "category": "``codeguru-reviewer``", + "description": "[``botocore``] Update codeguru-reviewer client to latest version", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/1.13.8.json b/.changes/1.13.8.json new file mode 100644 index 0000000..915ddea --- /dev/null +++ b/.changes/1.13.8.json @@ -0,0 +1,17 @@ +[ + { + "category": "``workmail``", + "description": "[``botocore``] Update workmail client to latest version", + "type": "api-change" + }, + { + "category": "``iotsitewise``", + "description": "[``botocore``] Update iotsitewise client to latest version", + "type": "api-change" + }, + { + "category": "Endpoints", + "description": "[``botocore``] Improved endpoint resolution for clients with unknown regions", + "type": "enchancement" + } +] \ No newline at end of file diff --git a/.changes/1.13.9.json b/.changes/1.13.9.json new file mode 100644 index 0000000..e6f6379 --- /dev/null +++ b/.changes/1.13.9.json @@ -0,0 +1,12 @@ +[ + { + "category": "``elasticache``", + "description": "[``botocore``] Update elasticache client to latest version", + "type": "api-change" + }, + { + "category": "``macie2``", + "description": "[``botocore``] Update macie2 client to latest version", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.github/no-response.yml b/.github/no-response.yml deleted file mode 100644 index c523a92..0000000 --- a/.github/no-response.yml +++ /dev/null @@ -1,13 +0,0 @@ -# Configuration for probot-no-response - https://github.com/probot/no-response - -# Number of days of inactivity before an Issue is closed for lack of response -daysUntilClose: 7 -# Label requiring a response -responseRequiredLabel: closing-soon -# Comment to post when closing an Issue for lack of response. Set to `false` to disable -closeComment: > - This issue has been automatically closed because there has been no response - to our request for more information from the original author. With only the - information that is currently in the issue, we don't have enough information - to take action. Please reach out if you have or find the answers we need so - that we can investigate further. diff --git a/.github/workflows/stale_issue.yml b/.github/workflows/stale_issue.yml index c057ffb..e86cf9b 100644 --- a/.github/workflows/stale_issue.yml +++ b/.github/workflows/stale_issue.yml @@ -3,7 +3,7 @@ name: "Close stale issues" # Controls when the action will run. on: schedule: - - cron: "*/15 * * * *" + - cron: "0 * * * *" jobs: issue-cleanup: @@ -42,4 +42,4 @@ jobs: repo-token: ${{ secrets.GITHUB_TOKEN }} loglevel: DEBUG # Set dry-run to true to not perform label or close actions. - dry-run: true + # dry-run: true diff --git a/CHANGELOG.rst b/CHANGELOG.rst index e14c2b5..a1dd75c 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,104 @@ CHANGELOG ========= +1.13.14 +======= + +* api-change:``backup``: [``botocore``] Update backup client to latest version +* api-change:``codedeploy``: [``botocore``] Update codedeploy client to latest version +* api-change:``securityhub``: [``botocore``] Update securityhub client to latest version +* api-change:``chime``: [``botocore``] Update chime client to latest version +* api-change:``medialive``: [``botocore``] Update medialive client to latest version +* api-change:``application-autoscaling``: [``botocore``] Update application-autoscaling client to latest version +* api-change:``appmesh``: [``botocore``] Update appmesh client to latest version + + +1.13.13 +======= + +* api-change:``transcribe``: [``botocore``] Update transcribe client to latest version +* api-change:``ec2``: [``botocore``] Update ec2 client to latest version +* api-change:``health``: [``botocore``] Update health client to latest version +* api-change:``chime``: [``botocore``] Update chime client to latest version + + +1.13.12 +======= + +* api-change:``chime``: [``botocore``] Update chime client to latest version +* api-change:``qldb``: [``botocore``] Update qldb client to latest version +* api-change:``ec2``: [``botocore``] Update ec2 client to latest version +* api-change:``ecs``: [``botocore``] Update ecs client to latest version +* api-change:``dynamodb``: [``botocore``] Update dynamodb client to latest version +* api-change:``macie2``: [``botocore``] Update macie2 client to latest version + + +1.13.11 +======= + +* api-change:``sts``: [``botocore``] Update sts client to latest version +* api-change:``ecr``: [``botocore``] Update ecr client to latest version +* api-change:``glue``: [``botocore``] Update glue client to latest version +* api-change:``cloudformation``: [``botocore``] Update cloudformation client to latest version + + +1.13.10 +======= + +* api-change:``ec2``: [``botocore``] Update ec2 client to latest version +* api-change:``imagebuilder``: [``botocore``] Update imagebuilder client to latest version + + +1.13.9 +====== + +* api-change:``elasticache``: [``botocore``] Update elasticache client to latest version +* api-change:``macie2``: [``botocore``] Update macie2 client to latest version + + +1.13.8 +====== + +* api-change:``workmail``: [``botocore``] Update workmail client to latest version +* api-change:``iotsitewise``: [``botocore``] Update iotsitewise client to latest version +* enchancement:Endpoints: [``botocore``] Improved endpoint resolution for clients with unknown regions + + +1.13.7 +====== + +* api-change:``kendra``: [``botocore``] Update kendra client to latest version +* api-change:``ec2``: [``botocore``] Update ec2 client to latest version +* api-change:``codeguru-reviewer``: [``botocore``] Update codeguru-reviewer client to latest version + + +1.13.6 +====== + +* api-change:``sagemaker``: [``botocore``] Update sagemaker client to latest version +* api-change:``guardduty``: [``botocore``] Update guardduty client to latest version +* api-change:``resourcegroupstaggingapi``: [``botocore``] Update resourcegroupstaggingapi client to latest version + + +1.13.5 +====== + +* api-change:``ssm``: [``botocore``] Update ssm client to latest version +* api-change:``ec2``: [``botocore``] Update ec2 client to latest version +* api-change:``codebuild``: [``botocore``] Update codebuild client to latest version +* api-change:``lightsail``: [``botocore``] Update lightsail client to latest version +* api-change:``route53``: [``botocore``] Update route53 client to latest version +* api-change:``appconfig``: [``botocore``] Update appconfig client to latest version +* api-change:``logs``: [``botocore``] Update logs client to latest version + + +1.13.4 +====== + +* api-change:``codestar-connections``: [``botocore``] Update codestar-connections client to latest version +* api-change:``comprehendmedical``: [``botocore``] Update comprehendmedical client to latest version + + 1.13.3 ====== diff --git a/boto3/__init__.py b/boto3/__init__.py index 3c4b4be..8bec981 100644 --- a/boto3/__init__.py +++ b/boto3/__init__.py @@ -17,7 +17,7 @@ from boto3.session import Session __author__ = 'Amazon Web Services' -__version__ = '1.13.3' +__version__ = '1.13.14' # The default Boto3 session; autoloaded when needed. diff --git a/boto3/dynamodb/conditions.py b/boto3/dynamodb/conditions.py index 5f61f7f..98a13c3 100644 --- a/boto3/dynamodb/conditions.py +++ b/boto3/dynamodb/conditions.py @@ -119,8 +119,8 @@ class AttributeBase(object): """Creates a condition where the attribute is greater than or equal to the low value and less than or equal to the high value. - :param low_value: The value that the attribute is greater than. - :param high_value: The value that the attribute is less than. + :param low_value: The value that the attribute is greater than or equal to. + :param high_value: The value that the attribute is less than or equal to. """ return Between(self, low_value, high_value) diff --git a/boto3/resources/params.py b/boto3/resources/params.py index 71bbb6b..148d698 100644 --- a/boto3/resources/params.py +++ b/boto3/resources/params.py @@ -19,7 +19,7 @@ from botocore import xform_name from ..exceptions import ResourceLoadException -INDEX_RE = re.compile('\[(.*)\]$') +INDEX_RE = re.compile(r'\[(.*)\]$') def get_data_member(parent, path): diff --git a/boto3/session.py b/boto3/session.py index 7ccb235..3b19bcd 100644 --- a/boto3/session.py +++ b/boto3/session.py @@ -392,10 +392,11 @@ class Session(object): # Create a ServiceContext object to serve as a reference to # important read-only information about the general service. service_context = boto3.utils.ServiceContext( - service_name=service_name, service_model=service_model, - resource_json_definitions=resource_model['resources'], - service_waiter_model=boto3.utils.LazyLoadedWaiterModel( - self._session, service_name, api_version) + service_name=service_name, service_model=service_model, + resource_json_definitions=resource_model['resources'], + service_waiter_model=boto3.utils.LazyLoadedWaiterModel( + self._session, service_name, api_version + ) ) # Create the service resource class. diff --git a/docs/source/guide/collections.rst b/docs/source/guide/collections.rst index 079da13..e59a6dd 100644 --- a/docs/source/guide/collections.rst +++ b/docs/source/guide/collections.rst @@ -68,8 +68,8 @@ in common:: base = ec2.instances.filter(InstanceIds=['id1', 'id2', 'id3']) filters = [{ - 'name': 'tenancy', - 'value': 'dedicated' + 'Name': 'tenancy', + 'Values': ['dedicated'] }] filtered1 = base.filter(Filters=filters) diff --git a/setup.cfg b/setup.cfg index e20fd84..980d9e3 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,6 +3,6 @@ universal = 1 [metadata] requires-dist = - botocore>=1.16.3,<1.17.0 + botocore>=1.16.14,<1.17.0 jmespath>=0.7.1,<1.0.0 s3transfer>=0.3.0,<0.4.0 diff --git a/setup.py b/setup.py index 2bb57e2..3694657 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ VERSION_RE = re.compile(r'''__version__ = ['"]([0-9.]+)['"]''') requires = [ - 'botocore>=1.16.3,<1.17.0', + 'botocore>=1.16.14,<1.17.0', 'jmespath>=0.7.1,<1.0.0', 's3transfer>=0.3.0,<0.4.0' ]