From 790dbe0473637ee4fdc59bb0d651339aae635cb1 Mon Sep 17 00:00:00 2001 From: Hank Goddard Date: Mon, 6 Mar 2023 22:24:53 -0500 Subject: [PATCH 0001/1087] docs: tasks-running example --- awscli/examples/ecs/wait/services-stable.rst | 10 +--------- awscli/examples/ecs/wait/tasks-running.rst | 7 +++++++ 2 files changed, 8 insertions(+), 9 deletions(-) create mode 100644 awscli/examples/ecs/wait/tasks-running.rst diff --git a/awscli/examples/ecs/wait/services-stable.rst b/awscli/examples/ecs/wait/services-stable.rst index 4ef1dea77f83..78bc6b3f8c74 100644 --- a/awscli/examples/ecs/wait/services-stable.rst +++ b/awscli/examples/ecs/wait/services-stable.rst @@ -4,12 +4,4 @@ The following ``wait`` example pauses and continues only after it can confirm th aws ecs wait services-stable \ --cluster MyCluster \ - --services MyService - -**Example 2: To pause running until a task is confirmed to be running** - -The following ``wait`` example pauses and continues only after the specified task enters a ``RUNNING`` state. :: - - aws ecs wait services-stable \ - --cluster MyCluster \ - --tasks arn:aws:ecs:us-west-2:123456789012:task/a1b2c3d4-5678-90ab-cdef-44444EXAMPLE \ No newline at end of file + --services MyService \ No newline at end of file diff --git a/awscli/examples/ecs/wait/tasks-running.rst b/awscli/examples/ecs/wait/tasks-running.rst new file mode 100644 index 000000000000..cff10759d5d0 --- /dev/null +++ b/awscli/examples/ecs/wait/tasks-running.rst @@ -0,0 +1,7 @@ +**Example 1: To pause running until a task is confirmed to be running** + +The following ``wait`` example pauses and continues only after the specified task enters a ``RUNNING`` state. :: + + aws ecs wait tasks-running \ + --cluster MyCluster \ + --tasks arn:aws:ecs:us-west-2:123456789012:task/a1b2c3d4-5678-90ab-cdef-44444EXAMPLE \ No newline at end of file From dd9e7d35397d3e92631968e68eab01f1b0e973a6 Mon Sep 17 00:00:00 2001 From: ZainubAmod <20399691+ZainubAmod@users.noreply.github.com> Date: Mon, 29 Jan 2024 17:39:45 +0200 Subject: [PATCH 0002/1087] Update get-merge-commit.rst removed "merge-option" from example as this is confusing customers --- awscli/examples/codecommit/get-merge-commit.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/awscli/examples/codecommit/get-merge-commit.rst b/awscli/examples/codecommit/get-merge-commit.rst index 6b8bb651e6ee..84fd5fcb94fd 100644 --- a/awscli/examples/codecommit/get-merge-commit.rst +++ b/awscli/examples/codecommit/get-merge-commit.rst @@ -1,11 +1,10 @@ **To get detailed information about a merge commit** -The following ``get-merge-commit`` example displays details about a merge commit for the source branch named ``bugfix-bug1234`` with a destination branch named ``main`` using the THREE_WAY_MERGE strategy in a repository named ``MyDemoRepo``. :: +The following ``get-merge-commit`` example displays details about a merge commit for the source branch named ``bugfix-bug1234`` with a destination branch named ``main`` in a repository named ``MyDemoRepo``. :: aws codecommit get-merge-commit \ --source-commit-specifier bugfix-bug1234 \ --destination-commit-specifier main \ - --merge-option THREE_WAY_MERGE \ --repository-name MyDemoRepo Output:: From 5259df20c52e0344fca7cc26f555a6c43107bb26 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 10 May 2024 01:23:53 +0000 Subject: [PATCH 0003/1087] Update changelog based on model updates --- .../next-release/api-change-bedrockagentruntime-13600.json | 5 +++++ .changes/next-release/api-change-pinpoint-70616.json | 5 +++++ .changes/next-release/api-change-route53resolver-30470.json | 5 +++++ .changes/next-release/api-change-ssmsap-40589.json | 5 +++++ .../next-release/api-change-verifiedpermissions-37436.json | 5 +++++ 5 files changed, 25 insertions(+) create mode 100644 .changes/next-release/api-change-bedrockagentruntime-13600.json create mode 100644 .changes/next-release/api-change-pinpoint-70616.json create mode 100644 .changes/next-release/api-change-route53resolver-30470.json create mode 100644 .changes/next-release/api-change-ssmsap-40589.json create mode 100644 .changes/next-release/api-change-verifiedpermissions-37436.json diff --git a/.changes/next-release/api-change-bedrockagentruntime-13600.json b/.changes/next-release/api-change-bedrockagentruntime-13600.json new file mode 100644 index 000000000000..350929f8163c --- /dev/null +++ b/.changes/next-release/api-change-bedrockagentruntime-13600.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-agent-runtime``", + "description": "This release adds support to provide guardrail configuration and modify inference parameters that are then used in RetrieveAndGenerate API in Agents for Amazon Bedrock." +} diff --git a/.changes/next-release/api-change-pinpoint-70616.json b/.changes/next-release/api-change-pinpoint-70616.json new file mode 100644 index 000000000000..1204f1883ccf --- /dev/null +++ b/.changes/next-release/api-change-pinpoint-70616.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``pinpoint``", + "description": "This release adds support for specifying email message headers for Email Templates, Campaigns, Journeys and Send Messages." +} diff --git a/.changes/next-release/api-change-route53resolver-30470.json b/.changes/next-release/api-change-route53resolver-30470.json new file mode 100644 index 000000000000..b2cde662995f --- /dev/null +++ b/.changes/next-release/api-change-route53resolver-30470.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``route53resolver``", + "description": "Update the DNS Firewall settings to correct a spelling issue." +} diff --git a/.changes/next-release/api-change-ssmsap-40589.json b/.changes/next-release/api-change-ssmsap-40589.json new file mode 100644 index 000000000000..6edf99ac96cb --- /dev/null +++ b/.changes/next-release/api-change-ssmsap-40589.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ssm-sap``", + "description": "Added support for application-aware start/stop of SAP applications running on EC2 instances, with SSM for SAP" +} diff --git a/.changes/next-release/api-change-verifiedpermissions-37436.json b/.changes/next-release/api-change-verifiedpermissions-37436.json new file mode 100644 index 000000000000..24a95ea857ac --- /dev/null +++ b/.changes/next-release/api-change-verifiedpermissions-37436.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``verifiedpermissions``", + "description": "Adds policy effect and actions fields to Policy API's." +} From 72561f48df97ca28f019df44a2c569f141711f5b Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 10 May 2024 01:25:13 +0000 Subject: [PATCH 0004/1087] Bumping version to 1.32.102 --- .changes/1.32.102.json | 27 +++++++++++++++++++ .../api-change-bedrockagentruntime-13600.json | 5 ---- .../api-change-pinpoint-70616.json | 5 ---- .../api-change-route53resolver-30470.json | 5 ---- .../next-release/api-change-ssmsap-40589.json | 5 ---- .../api-change-verifiedpermissions-37436.json | 5 ---- CHANGELOG.rst | 10 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 11 files changed, 41 insertions(+), 29 deletions(-) create mode 100644 .changes/1.32.102.json delete mode 100644 .changes/next-release/api-change-bedrockagentruntime-13600.json delete mode 100644 .changes/next-release/api-change-pinpoint-70616.json delete mode 100644 .changes/next-release/api-change-route53resolver-30470.json delete mode 100644 .changes/next-release/api-change-ssmsap-40589.json delete mode 100644 .changes/next-release/api-change-verifiedpermissions-37436.json diff --git a/.changes/1.32.102.json b/.changes/1.32.102.json new file mode 100644 index 000000000000..497a767fdae3 --- /dev/null +++ b/.changes/1.32.102.json @@ -0,0 +1,27 @@ +[ + { + "category": "``bedrock-agent-runtime``", + "description": "This release adds support to provide guardrail configuration and modify inference parameters that are then used in RetrieveAndGenerate API in Agents for Amazon Bedrock.", + "type": "api-change" + }, + { + "category": "``pinpoint``", + "description": "This release adds support for specifying email message headers for Email Templates, Campaigns, Journeys and Send Messages.", + "type": "api-change" + }, + { + "category": "``route53resolver``", + "description": "Update the DNS Firewall settings to correct a spelling issue.", + "type": "api-change" + }, + { + "category": "``ssm-sap``", + "description": "Added support for application-aware start/stop of SAP applications running on EC2 instances, with SSM for SAP", + "type": "api-change" + }, + { + "category": "``verifiedpermissions``", + "description": "Adds policy effect and actions fields to Policy API's.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-bedrockagentruntime-13600.json b/.changes/next-release/api-change-bedrockagentruntime-13600.json deleted file mode 100644 index 350929f8163c..000000000000 --- a/.changes/next-release/api-change-bedrockagentruntime-13600.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-agent-runtime``", - "description": "This release adds support to provide guardrail configuration and modify inference parameters that are then used in RetrieveAndGenerate API in Agents for Amazon Bedrock." -} diff --git a/.changes/next-release/api-change-pinpoint-70616.json b/.changes/next-release/api-change-pinpoint-70616.json deleted file mode 100644 index 1204f1883ccf..000000000000 --- a/.changes/next-release/api-change-pinpoint-70616.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``pinpoint``", - "description": "This release adds support for specifying email message headers for Email Templates, Campaigns, Journeys and Send Messages." -} diff --git a/.changes/next-release/api-change-route53resolver-30470.json b/.changes/next-release/api-change-route53resolver-30470.json deleted file mode 100644 index b2cde662995f..000000000000 --- a/.changes/next-release/api-change-route53resolver-30470.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``route53resolver``", - "description": "Update the DNS Firewall settings to correct a spelling issue." -} diff --git a/.changes/next-release/api-change-ssmsap-40589.json b/.changes/next-release/api-change-ssmsap-40589.json deleted file mode 100644 index 6edf99ac96cb..000000000000 --- a/.changes/next-release/api-change-ssmsap-40589.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ssm-sap``", - "description": "Added support for application-aware start/stop of SAP applications running on EC2 instances, with SSM for SAP" -} diff --git a/.changes/next-release/api-change-verifiedpermissions-37436.json b/.changes/next-release/api-change-verifiedpermissions-37436.json deleted file mode 100644 index 24a95ea857ac..000000000000 --- a/.changes/next-release/api-change-verifiedpermissions-37436.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``verifiedpermissions``", - "description": "Adds policy effect and actions fields to Policy API's." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 7506fa3cdfd7..b17f8494d663 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,16 @@ CHANGELOG ========= +1.32.102 +======== + +* api-change:``bedrock-agent-runtime``: This release adds support to provide guardrail configuration and modify inference parameters that are then used in RetrieveAndGenerate API in Agents for Amazon Bedrock. +* api-change:``pinpoint``: This release adds support for specifying email message headers for Email Templates, Campaigns, Journeys and Send Messages. +* api-change:``route53resolver``: Update the DNS Firewall settings to correct a spelling issue. +* api-change:``ssm-sap``: Added support for application-aware start/stop of SAP applications running on EC2 instances, with SSM for SAP +* api-change:``verifiedpermissions``: Adds policy effect and actions fields to Policy API's. + + 1.32.101 ======== diff --git a/awscli/__init__.py b/awscli/__init__.py index f0568f727860..998d8ddc5cc9 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -17,7 +17,7 @@ """ import os -__version__ = '1.32.101' +__version__ = '1.32.102' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 6bcdab10732d..3476cda4c4b4 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.32.1' # The full version, including alpha/beta/rc tags. -release = '1.32.101' +release = '1.32.102' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 87ca062e6cda..f7c47e240394 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.34.101 + botocore==1.34.102 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 8deb47ea061a..f9e28657a2de 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.34.101', + 'botocore==1.34.102', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From c58370eac203c4c4f976ae5c72913c0d1dbf8218 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 10 May 2024 18:21:58 +0000 Subject: [PATCH 0005/1087] Update changelog based on model updates --- .changes/next-release/api-change-discovery-1663.json | 5 +++++ .changes/next-release/api-change-greengrassv2-15071.json | 5 +++++ .changes/next-release/api-change-sagemaker-78939.json | 5 +++++ .changes/next-release/api-change-ssooidc-97514.json | 5 +++++ 4 files changed, 20 insertions(+) create mode 100644 .changes/next-release/api-change-discovery-1663.json create mode 100644 .changes/next-release/api-change-greengrassv2-15071.json create mode 100644 .changes/next-release/api-change-sagemaker-78939.json create mode 100644 .changes/next-release/api-change-ssooidc-97514.json diff --git a/.changes/next-release/api-change-discovery-1663.json b/.changes/next-release/api-change-discovery-1663.json new file mode 100644 index 000000000000..f6cb4ef692b5 --- /dev/null +++ b/.changes/next-release/api-change-discovery-1663.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``discovery``", + "description": "add v2 smoke tests and smithy smokeTests trait for SDK testing" +} diff --git a/.changes/next-release/api-change-greengrassv2-15071.json b/.changes/next-release/api-change-greengrassv2-15071.json new file mode 100644 index 000000000000..8d2c45ada7d8 --- /dev/null +++ b/.changes/next-release/api-change-greengrassv2-15071.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``greengrassv2``", + "description": "Mark ComponentVersion in ComponentDeploymentSpecification as required." +} diff --git a/.changes/next-release/api-change-sagemaker-78939.json b/.changes/next-release/api-change-sagemaker-78939.json new file mode 100644 index 000000000000..fa614ad1bf1d --- /dev/null +++ b/.changes/next-release/api-change-sagemaker-78939.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``sagemaker``", + "description": "Introduced support for G6 instance types on Sagemaker Notebook Instances and on SageMaker Studio for JupyterLab and CodeEditor applications." +} diff --git a/.changes/next-release/api-change-ssooidc-97514.json b/.changes/next-release/api-change-ssooidc-97514.json new file mode 100644 index 000000000000..ce479f4f0666 --- /dev/null +++ b/.changes/next-release/api-change-ssooidc-97514.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``sso-oidc``", + "description": "Updated request parameters for PKCE support." +} From ceec87b00f087f8ae4d4c603475c9f5ad9f219e2 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 10 May 2024 18:23:04 +0000 Subject: [PATCH 0006/1087] Bumping version to 1.32.103 --- .changes/1.32.103.json | 22 +++++++++++++++++++ .../api-change-discovery-1663.json | 5 ----- .../api-change-greengrassv2-15071.json | 5 ----- .../api-change-sagemaker-78939.json | 5 ----- .../api-change-ssooidc-97514.json | 5 ----- CHANGELOG.rst | 9 ++++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 10 files changed, 35 insertions(+), 24 deletions(-) create mode 100644 .changes/1.32.103.json delete mode 100644 .changes/next-release/api-change-discovery-1663.json delete mode 100644 .changes/next-release/api-change-greengrassv2-15071.json delete mode 100644 .changes/next-release/api-change-sagemaker-78939.json delete mode 100644 .changes/next-release/api-change-ssooidc-97514.json diff --git a/.changes/1.32.103.json b/.changes/1.32.103.json new file mode 100644 index 000000000000..99caa64f2080 --- /dev/null +++ b/.changes/1.32.103.json @@ -0,0 +1,22 @@ +[ + { + "category": "``discovery``", + "description": "add v2 smoke tests and smithy smokeTests trait for SDK testing", + "type": "api-change" + }, + { + "category": "``greengrassv2``", + "description": "Mark ComponentVersion in ComponentDeploymentSpecification as required.", + "type": "api-change" + }, + { + "category": "``sagemaker``", + "description": "Introduced support for G6 instance types on Sagemaker Notebook Instances and on SageMaker Studio for JupyterLab and CodeEditor applications.", + "type": "api-change" + }, + { + "category": "``sso-oidc``", + "description": "Updated request parameters for PKCE support.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-discovery-1663.json b/.changes/next-release/api-change-discovery-1663.json deleted file mode 100644 index f6cb4ef692b5..000000000000 --- a/.changes/next-release/api-change-discovery-1663.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``discovery``", - "description": "add v2 smoke tests and smithy smokeTests trait for SDK testing" -} diff --git a/.changes/next-release/api-change-greengrassv2-15071.json b/.changes/next-release/api-change-greengrassv2-15071.json deleted file mode 100644 index 8d2c45ada7d8..000000000000 --- a/.changes/next-release/api-change-greengrassv2-15071.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``greengrassv2``", - "description": "Mark ComponentVersion in ComponentDeploymentSpecification as required." -} diff --git a/.changes/next-release/api-change-sagemaker-78939.json b/.changes/next-release/api-change-sagemaker-78939.json deleted file mode 100644 index fa614ad1bf1d..000000000000 --- a/.changes/next-release/api-change-sagemaker-78939.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``sagemaker``", - "description": "Introduced support for G6 instance types on Sagemaker Notebook Instances and on SageMaker Studio for JupyterLab and CodeEditor applications." -} diff --git a/.changes/next-release/api-change-ssooidc-97514.json b/.changes/next-release/api-change-ssooidc-97514.json deleted file mode 100644 index ce479f4f0666..000000000000 --- a/.changes/next-release/api-change-ssooidc-97514.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``sso-oidc``", - "description": "Updated request parameters for PKCE support." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index b17f8494d663..f58aec2fb5c1 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,15 @@ CHANGELOG ========= +1.32.103 +======== + +* api-change:``discovery``: add v2 smoke tests and smithy smokeTests trait for SDK testing +* api-change:``greengrassv2``: Mark ComponentVersion in ComponentDeploymentSpecification as required. +* api-change:``sagemaker``: Introduced support for G6 instance types on Sagemaker Notebook Instances and on SageMaker Studio for JupyterLab and CodeEditor applications. +* api-change:``sso-oidc``: Updated request parameters for PKCE support. + + 1.32.102 ======== diff --git a/awscli/__init__.py b/awscli/__init__.py index 998d8ddc5cc9..2571aa502a9a 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -17,7 +17,7 @@ """ import os -__version__ = '1.32.102' +__version__ = '1.32.103' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 3476cda4c4b4..68bffd9c8a1b 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.32.1' # The full version, including alpha/beta/rc tags. -release = '1.32.102' +release = '1.32.103' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index f7c47e240394..cd68cd07556c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.34.102 + botocore==1.34.103 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index f9e28657a2de..ac86e731fdd6 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.34.102', + 'botocore==1.34.103', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 925c9a5c924e8e6a2578c10dbf3f0e84c2a03871 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 13 May 2024 18:03:48 +0000 Subject: [PATCH 0007/1087] Update changelog based on model updates --- .changes/next-release/api-change-events-8280.json | 5 +++++ .changes/next-release/api-change-vpclattice-32405.json | 5 +++++ 2 files changed, 10 insertions(+) create mode 100644 .changes/next-release/api-change-events-8280.json create mode 100644 .changes/next-release/api-change-vpclattice-32405.json diff --git a/.changes/next-release/api-change-events-8280.json b/.changes/next-release/api-change-events-8280.json new file mode 100644 index 000000000000..5d353e835705 --- /dev/null +++ b/.changes/next-release/api-change-events-8280.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``events``", + "description": "Amazon EventBridge introduces KMS customer-managed key (CMK) encryption support for custom and partner events published on EventBridge Event Bus (including default bus) and UpdateEventBus API." +} diff --git a/.changes/next-release/api-change-vpclattice-32405.json b/.changes/next-release/api-change-vpclattice-32405.json new file mode 100644 index 000000000000..e12966155294 --- /dev/null +++ b/.changes/next-release/api-change-vpclattice-32405.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``vpc-lattice``", + "description": "This release adds TLS Passthrough support. It also increases max number of target group per rule to 10." +} From b92523bbff12dbbd55db482ba77028bf376a9d72 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 13 May 2024 18:04:55 +0000 Subject: [PATCH 0008/1087] Bumping version to 1.32.104 --- .changes/1.32.104.json | 12 ++++++++++++ .changes/next-release/api-change-events-8280.json | 5 ----- .../next-release/api-change-vpclattice-32405.json | 5 ----- CHANGELOG.rst | 7 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 8 files changed, 23 insertions(+), 14 deletions(-) create mode 100644 .changes/1.32.104.json delete mode 100644 .changes/next-release/api-change-events-8280.json delete mode 100644 .changes/next-release/api-change-vpclattice-32405.json diff --git a/.changes/1.32.104.json b/.changes/1.32.104.json new file mode 100644 index 000000000000..c0d01b9af359 --- /dev/null +++ b/.changes/1.32.104.json @@ -0,0 +1,12 @@ +[ + { + "category": "``events``", + "description": "Amazon EventBridge introduces KMS customer-managed key (CMK) encryption support for custom and partner events published on EventBridge Event Bus (including default bus) and UpdateEventBus API.", + "type": "api-change" + }, + { + "category": "``vpc-lattice``", + "description": "This release adds TLS Passthrough support. It also increases max number of target group per rule to 10.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-events-8280.json b/.changes/next-release/api-change-events-8280.json deleted file mode 100644 index 5d353e835705..000000000000 --- a/.changes/next-release/api-change-events-8280.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``events``", - "description": "Amazon EventBridge introduces KMS customer-managed key (CMK) encryption support for custom and partner events published on EventBridge Event Bus (including default bus) and UpdateEventBus API." -} diff --git a/.changes/next-release/api-change-vpclattice-32405.json b/.changes/next-release/api-change-vpclattice-32405.json deleted file mode 100644 index e12966155294..000000000000 --- a/.changes/next-release/api-change-vpclattice-32405.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``vpc-lattice``", - "description": "This release adds TLS Passthrough support. It also increases max number of target group per rule to 10." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index f58aec2fb5c1..f1c999c953ca 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,13 @@ CHANGELOG ========= +1.32.104 +======== + +* api-change:``events``: Amazon EventBridge introduces KMS customer-managed key (CMK) encryption support for custom and partner events published on EventBridge Event Bus (including default bus) and UpdateEventBus API. +* api-change:``vpc-lattice``: This release adds TLS Passthrough support. It also increases max number of target group per rule to 10. + + 1.32.103 ======== diff --git a/awscli/__init__.py b/awscli/__init__.py index 2571aa502a9a..eddabf383794 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -17,7 +17,7 @@ """ import os -__version__ = '1.32.103' +__version__ = '1.32.104' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 68bffd9c8a1b..d28515018379 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.32.1' # The full version, including alpha/beta/rc tags. -release = '1.32.103' +release = '1.32.104' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index cd68cd07556c..eb208e377e2f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.34.103 + botocore==1.34.104 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index ac86e731fdd6..5378454dd749 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.34.103', + 'botocore==1.34.104', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 03ee6554adc05bd3081ae4802355b387e9f5bfdf Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 14 May 2024 18:04:25 +0000 Subject: [PATCH 0009/1087] Update changelog based on model updates --- .changes/next-release/api-change-connect-12466.json | 5 +++++ .changes/next-release/api-change-s3-23695.json | 5 +++++ 2 files changed, 10 insertions(+) create mode 100644 .changes/next-release/api-change-connect-12466.json create mode 100644 .changes/next-release/api-change-s3-23695.json diff --git a/.changes/next-release/api-change-connect-12466.json b/.changes/next-release/api-change-connect-12466.json new file mode 100644 index 000000000000..fdc190604ec6 --- /dev/null +++ b/.changes/next-release/api-change-connect-12466.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``connect``", + "description": "Amazon Connect provides enhanced search capabilities for flows & flow modules on the Connect admin website and programmatically using APIs. You can search for flows and flow modules by name, description, type, status, and tags, to filter and identify a specific flow in your Connect instances." +} diff --git a/.changes/next-release/api-change-s3-23695.json b/.changes/next-release/api-change-s3-23695.json new file mode 100644 index 000000000000..b3d50c56c480 --- /dev/null +++ b/.changes/next-release/api-change-s3-23695.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``s3``", + "description": "Updated a few x-id in the http uri traits" +} From e7cbe1dc58678bc80b4bf66ad8a93bc8871365c0 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 14 May 2024 18:05:47 +0000 Subject: [PATCH 0010/1087] Bumping version to 1.32.105 --- .changes/1.32.105.json | 12 ++++++++++++ .changes/next-release/api-change-connect-12466.json | 5 ----- .changes/next-release/api-change-s3-23695.json | 5 ----- CHANGELOG.rst | 7 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 8 files changed, 23 insertions(+), 14 deletions(-) create mode 100644 .changes/1.32.105.json delete mode 100644 .changes/next-release/api-change-connect-12466.json delete mode 100644 .changes/next-release/api-change-s3-23695.json diff --git a/.changes/1.32.105.json b/.changes/1.32.105.json new file mode 100644 index 000000000000..ed70d806d04e --- /dev/null +++ b/.changes/1.32.105.json @@ -0,0 +1,12 @@ +[ + { + "category": "``connect``", + "description": "Amazon Connect provides enhanced search capabilities for flows & flow modules on the Connect admin website and programmatically using APIs. You can search for flows and flow modules by name, description, type, status, and tags, to filter and identify a specific flow in your Connect instances.", + "type": "api-change" + }, + { + "category": "``s3``", + "description": "Updated a few x-id in the http uri traits", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-connect-12466.json b/.changes/next-release/api-change-connect-12466.json deleted file mode 100644 index fdc190604ec6..000000000000 --- a/.changes/next-release/api-change-connect-12466.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``connect``", - "description": "Amazon Connect provides enhanced search capabilities for flows & flow modules on the Connect admin website and programmatically using APIs. You can search for flows and flow modules by name, description, type, status, and tags, to filter and identify a specific flow in your Connect instances." -} diff --git a/.changes/next-release/api-change-s3-23695.json b/.changes/next-release/api-change-s3-23695.json deleted file mode 100644 index b3d50c56c480..000000000000 --- a/.changes/next-release/api-change-s3-23695.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``s3``", - "description": "Updated a few x-id in the http uri traits" -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index f1c999c953ca..7654fba3b89c 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,13 @@ CHANGELOG ========= +1.32.105 +======== + +* api-change:``connect``: Amazon Connect provides enhanced search capabilities for flows & flow modules on the Connect admin website and programmatically using APIs. You can search for flows and flow modules by name, description, type, status, and tags, to filter and identify a specific flow in your Connect instances. +* api-change:``s3``: Updated a few x-id in the http uri traits + + 1.32.104 ======== diff --git a/awscli/__init__.py b/awscli/__init__.py index eddabf383794..baf3c66fd527 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -17,7 +17,7 @@ """ import os -__version__ = '1.32.104' +__version__ = '1.32.105' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index d28515018379..147993a1dae1 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.32.1' # The full version, including alpha/beta/rc tags. -release = '1.32.104' +release = '1.32.105' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index eb208e377e2f..c62876dcbf2c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.34.104 + botocore==1.34.105 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 5378454dd749..e58b76a7e288 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.34.104', + 'botocore==1.34.105', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 9d8dafb472ed2031a396f709b198abdb0e0832e7 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 15 May 2024 18:03:18 +0000 Subject: [PATCH 0011/1087] Update changelog based on model updates --- .../next-release/api-change-bedrockagentruntime-58654.json | 5 +++++ .changes/next-release/api-change-codebuild-73219.json | 5 +++++ .changes/next-release/api-change-datasync-42139.json | 5 +++++ .changes/next-release/api-change-grafana-92044.json | 5 +++++ .changes/next-release/api-change-medicalimaging-2289.json | 5 +++++ .changes/next-release/api-change-securityhub-7537.json | 5 +++++ 6 files changed, 30 insertions(+) create mode 100644 .changes/next-release/api-change-bedrockagentruntime-58654.json create mode 100644 .changes/next-release/api-change-codebuild-73219.json create mode 100644 .changes/next-release/api-change-datasync-42139.json create mode 100644 .changes/next-release/api-change-grafana-92044.json create mode 100644 .changes/next-release/api-change-medicalimaging-2289.json create mode 100644 .changes/next-release/api-change-securityhub-7537.json diff --git a/.changes/next-release/api-change-bedrockagentruntime-58654.json b/.changes/next-release/api-change-bedrockagentruntime-58654.json new file mode 100644 index 000000000000..c01b52ef9fe4 --- /dev/null +++ b/.changes/next-release/api-change-bedrockagentruntime-58654.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-agent-runtime``", + "description": "Updating Bedrock Knowledge Base Metadata & Filters feature with two new filters listContains and stringContains" +} diff --git a/.changes/next-release/api-change-codebuild-73219.json b/.changes/next-release/api-change-codebuild-73219.json new file mode 100644 index 000000000000..948499da7c11 --- /dev/null +++ b/.changes/next-release/api-change-codebuild-73219.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``codebuild``", + "description": "CodeBuild Reserved Capacity VPC Support" +} diff --git a/.changes/next-release/api-change-datasync-42139.json b/.changes/next-release/api-change-datasync-42139.json new file mode 100644 index 000000000000..c523165968ec --- /dev/null +++ b/.changes/next-release/api-change-datasync-42139.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``datasync``", + "description": "Task executions now display a CANCELLING status when an execution is in the process of being cancelled." +} diff --git a/.changes/next-release/api-change-grafana-92044.json b/.changes/next-release/api-change-grafana-92044.json new file mode 100644 index 000000000000..5ac05d002059 --- /dev/null +++ b/.changes/next-release/api-change-grafana-92044.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``grafana``", + "description": "This release adds new ServiceAccount and ServiceAccountToken APIs." +} diff --git a/.changes/next-release/api-change-medicalimaging-2289.json b/.changes/next-release/api-change-medicalimaging-2289.json new file mode 100644 index 000000000000..15b049850095 --- /dev/null +++ b/.changes/next-release/api-change-medicalimaging-2289.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``medical-imaging``", + "description": "Added support for importing medical imaging data from Amazon S3 buckets across accounts and regions." +} diff --git a/.changes/next-release/api-change-securityhub-7537.json b/.changes/next-release/api-change-securityhub-7537.json new file mode 100644 index 000000000000..07f3840d79ea --- /dev/null +++ b/.changes/next-release/api-change-securityhub-7537.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``securityhub``", + "description": "Documentation-only update for AWS Security Hub" +} From 751597e3b529b6270daf44b5df6f2cd228088929 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 15 May 2024 18:04:38 +0000 Subject: [PATCH 0012/1087] Bumping version to 1.32.106 --- .changes/1.32.106.json | 32 +++++++++++++++++++ .../api-change-bedrockagentruntime-58654.json | 5 --- .../api-change-codebuild-73219.json | 5 --- .../api-change-datasync-42139.json | 5 --- .../api-change-grafana-92044.json | 5 --- .../api-change-medicalimaging-2289.json | 5 --- .../api-change-securityhub-7537.json | 5 --- CHANGELOG.rst | 11 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 12 files changed, 47 insertions(+), 34 deletions(-) create mode 100644 .changes/1.32.106.json delete mode 100644 .changes/next-release/api-change-bedrockagentruntime-58654.json delete mode 100644 .changes/next-release/api-change-codebuild-73219.json delete mode 100644 .changes/next-release/api-change-datasync-42139.json delete mode 100644 .changes/next-release/api-change-grafana-92044.json delete mode 100644 .changes/next-release/api-change-medicalimaging-2289.json delete mode 100644 .changes/next-release/api-change-securityhub-7537.json diff --git a/.changes/1.32.106.json b/.changes/1.32.106.json new file mode 100644 index 000000000000..12704461fb3d --- /dev/null +++ b/.changes/1.32.106.json @@ -0,0 +1,32 @@ +[ + { + "category": "``bedrock-agent-runtime``", + "description": "Updating Bedrock Knowledge Base Metadata & Filters feature with two new filters listContains and stringContains", + "type": "api-change" + }, + { + "category": "``codebuild``", + "description": "CodeBuild Reserved Capacity VPC Support", + "type": "api-change" + }, + { + "category": "``datasync``", + "description": "Task executions now display a CANCELLING status when an execution is in the process of being cancelled.", + "type": "api-change" + }, + { + "category": "``grafana``", + "description": "This release adds new ServiceAccount and ServiceAccountToken APIs.", + "type": "api-change" + }, + { + "category": "``medical-imaging``", + "description": "Added support for importing medical imaging data from Amazon S3 buckets across accounts and regions.", + "type": "api-change" + }, + { + "category": "``securityhub``", + "description": "Documentation-only update for AWS Security Hub", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-bedrockagentruntime-58654.json b/.changes/next-release/api-change-bedrockagentruntime-58654.json deleted file mode 100644 index c01b52ef9fe4..000000000000 --- a/.changes/next-release/api-change-bedrockagentruntime-58654.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-agent-runtime``", - "description": "Updating Bedrock Knowledge Base Metadata & Filters feature with two new filters listContains and stringContains" -} diff --git a/.changes/next-release/api-change-codebuild-73219.json b/.changes/next-release/api-change-codebuild-73219.json deleted file mode 100644 index 948499da7c11..000000000000 --- a/.changes/next-release/api-change-codebuild-73219.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``codebuild``", - "description": "CodeBuild Reserved Capacity VPC Support" -} diff --git a/.changes/next-release/api-change-datasync-42139.json b/.changes/next-release/api-change-datasync-42139.json deleted file mode 100644 index c523165968ec..000000000000 --- a/.changes/next-release/api-change-datasync-42139.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``datasync``", - "description": "Task executions now display a CANCELLING status when an execution is in the process of being cancelled." -} diff --git a/.changes/next-release/api-change-grafana-92044.json b/.changes/next-release/api-change-grafana-92044.json deleted file mode 100644 index 5ac05d002059..000000000000 --- a/.changes/next-release/api-change-grafana-92044.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``grafana``", - "description": "This release adds new ServiceAccount and ServiceAccountToken APIs." -} diff --git a/.changes/next-release/api-change-medicalimaging-2289.json b/.changes/next-release/api-change-medicalimaging-2289.json deleted file mode 100644 index 15b049850095..000000000000 --- a/.changes/next-release/api-change-medicalimaging-2289.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``medical-imaging``", - "description": "Added support for importing medical imaging data from Amazon S3 buckets across accounts and regions." -} diff --git a/.changes/next-release/api-change-securityhub-7537.json b/.changes/next-release/api-change-securityhub-7537.json deleted file mode 100644 index 07f3840d79ea..000000000000 --- a/.changes/next-release/api-change-securityhub-7537.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``securityhub``", - "description": "Documentation-only update for AWS Security Hub" -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 7654fba3b89c..7e800ae13073 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,17 @@ CHANGELOG ========= +1.32.106 +======== + +* api-change:``bedrock-agent-runtime``: Updating Bedrock Knowledge Base Metadata & Filters feature with two new filters listContains and stringContains +* api-change:``codebuild``: CodeBuild Reserved Capacity VPC Support +* api-change:``datasync``: Task executions now display a CANCELLING status when an execution is in the process of being cancelled. +* api-change:``grafana``: This release adds new ServiceAccount and ServiceAccountToken APIs. +* api-change:``medical-imaging``: Added support for importing medical imaging data from Amazon S3 buckets across accounts and regions. +* api-change:``securityhub``: Documentation-only update for AWS Security Hub + + 1.32.105 ======== diff --git a/awscli/__init__.py b/awscli/__init__.py index baf3c66fd527..7a1a36cf186a 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -17,7 +17,7 @@ """ import os -__version__ = '1.32.105' +__version__ = '1.32.106' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 147993a1dae1..d70273f4ba7b 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.32.1' # The full version, including alpha/beta/rc tags. -release = '1.32.105' +release = '1.32.106' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index c62876dcbf2c..874f5c15f960 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.34.105 + botocore==1.34.106 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index e58b76a7e288..13e497fac3ac 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.34.105', + 'botocore==1.34.106', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From d924e750f5ffaa57acfd804fe0bacb5a66a7903e Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 16 May 2024 18:05:31 +0000 Subject: [PATCH 0013/1087] Update changelog based on model updates --- .changes/next-release/api-change-acmpca-47242.json | 5 +++++ .changes/next-release/api-change-connect-29092.json | 5 +++++ .changes/next-release/api-change-kafka-15569.json | 5 +++++ .changes/next-release/api-change-mwaa-952.json | 5 +++++ .changes/next-release/api-change-quicksight-79093.json | 5 +++++ .changes/next-release/api-change-sagemaker-36713.json | 5 +++++ .changes/next-release/api-change-secretsmanager-62179.json | 5 +++++ 7 files changed, 35 insertions(+) create mode 100644 .changes/next-release/api-change-acmpca-47242.json create mode 100644 .changes/next-release/api-change-connect-29092.json create mode 100644 .changes/next-release/api-change-kafka-15569.json create mode 100644 .changes/next-release/api-change-mwaa-952.json create mode 100644 .changes/next-release/api-change-quicksight-79093.json create mode 100644 .changes/next-release/api-change-sagemaker-36713.json create mode 100644 .changes/next-release/api-change-secretsmanager-62179.json diff --git a/.changes/next-release/api-change-acmpca-47242.json b/.changes/next-release/api-change-acmpca-47242.json new file mode 100644 index 000000000000..ea3cff82dff0 --- /dev/null +++ b/.changes/next-release/api-change-acmpca-47242.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``acm-pca``", + "description": "This release adds support for waiters to fail on AccessDeniedException when having insufficient permissions" +} diff --git a/.changes/next-release/api-change-connect-29092.json b/.changes/next-release/api-change-connect-29092.json new file mode 100644 index 000000000000..0fedf706fedc --- /dev/null +++ b/.changes/next-release/api-change-connect-29092.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``connect``", + "description": "Adding Contact Flow metrics to the GetMetricDataV2 API" +} diff --git a/.changes/next-release/api-change-kafka-15569.json b/.changes/next-release/api-change-kafka-15569.json new file mode 100644 index 000000000000..020732ff02c9 --- /dev/null +++ b/.changes/next-release/api-change-kafka-15569.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``kafka``", + "description": "AWS MSK support for Broker Removal." +} diff --git a/.changes/next-release/api-change-mwaa-952.json b/.changes/next-release/api-change-mwaa-952.json new file mode 100644 index 000000000000..d8523aeec505 --- /dev/null +++ b/.changes/next-release/api-change-mwaa-952.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``mwaa``", + "description": "Amazon MWAA now supports Airflow web server auto scaling to automatically handle increased demand from REST APIs, Command Line Interface (CLI), or more Airflow User Interface (UI) users. Customers can specify maximum and minimum web server instances during environment creation and update workflow." +} diff --git a/.changes/next-release/api-change-quicksight-79093.json b/.changes/next-release/api-change-quicksight-79093.json new file mode 100644 index 000000000000..488d4574883c --- /dev/null +++ b/.changes/next-release/api-change-quicksight-79093.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``quicksight``", + "description": "This release adds DescribeKeyRegistration and UpdateKeyRegistration APIs to manage QuickSight Customer Managed Keys (CMK)." +} diff --git a/.changes/next-release/api-change-sagemaker-36713.json b/.changes/next-release/api-change-sagemaker-36713.json new file mode 100644 index 000000000000..9468ee18c30e --- /dev/null +++ b/.changes/next-release/api-change-sagemaker-36713.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``sagemaker``", + "description": "Introduced WorkerAccessConfiguration to SageMaker Workteam. This allows customers to configure resource access for workers in a workteam." +} diff --git a/.changes/next-release/api-change-secretsmanager-62179.json b/.changes/next-release/api-change-secretsmanager-62179.json new file mode 100644 index 000000000000..a98bea3a32cf --- /dev/null +++ b/.changes/next-release/api-change-secretsmanager-62179.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``secretsmanager``", + "description": "Documentation updates for AWS Secrets Manager" +} From d7763fb32a7b7c6fb71b688db7b69e5b8d925079 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 16 May 2024 18:06:52 +0000 Subject: [PATCH 0014/1087] Bumping version to 1.32.107 --- .changes/1.32.107.json | 37 +++++++++++++++++++ .../next-release/api-change-acmpca-47242.json | 5 --- .../api-change-connect-29092.json | 5 --- .../next-release/api-change-kafka-15569.json | 5 --- .../next-release/api-change-mwaa-952.json | 5 --- .../api-change-quicksight-79093.json | 5 --- .../api-change-sagemaker-36713.json | 5 --- .../api-change-secretsmanager-62179.json | 5 --- CHANGELOG.rst | 12 ++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 13 files changed, 53 insertions(+), 39 deletions(-) create mode 100644 .changes/1.32.107.json delete mode 100644 .changes/next-release/api-change-acmpca-47242.json delete mode 100644 .changes/next-release/api-change-connect-29092.json delete mode 100644 .changes/next-release/api-change-kafka-15569.json delete mode 100644 .changes/next-release/api-change-mwaa-952.json delete mode 100644 .changes/next-release/api-change-quicksight-79093.json delete mode 100644 .changes/next-release/api-change-sagemaker-36713.json delete mode 100644 .changes/next-release/api-change-secretsmanager-62179.json diff --git a/.changes/1.32.107.json b/.changes/1.32.107.json new file mode 100644 index 000000000000..86f9024a6f56 --- /dev/null +++ b/.changes/1.32.107.json @@ -0,0 +1,37 @@ +[ + { + "category": "``acm-pca``", + "description": "This release adds support for waiters to fail on AccessDeniedException when having insufficient permissions", + "type": "api-change" + }, + { + "category": "``connect``", + "description": "Adding Contact Flow metrics to the GetMetricDataV2 API", + "type": "api-change" + }, + { + "category": "``kafka``", + "description": "AWS MSK support for Broker Removal.", + "type": "api-change" + }, + { + "category": "``mwaa``", + "description": "Amazon MWAA now supports Airflow web server auto scaling to automatically handle increased demand from REST APIs, Command Line Interface (CLI), or more Airflow User Interface (UI) users. Customers can specify maximum and minimum web server instances during environment creation and update workflow.", + "type": "api-change" + }, + { + "category": "``quicksight``", + "description": "This release adds DescribeKeyRegistration and UpdateKeyRegistration APIs to manage QuickSight Customer Managed Keys (CMK).", + "type": "api-change" + }, + { + "category": "``sagemaker``", + "description": "Introduced WorkerAccessConfiguration to SageMaker Workteam. This allows customers to configure resource access for workers in a workteam.", + "type": "api-change" + }, + { + "category": "``secretsmanager``", + "description": "Documentation updates for AWS Secrets Manager", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-acmpca-47242.json b/.changes/next-release/api-change-acmpca-47242.json deleted file mode 100644 index ea3cff82dff0..000000000000 --- a/.changes/next-release/api-change-acmpca-47242.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``acm-pca``", - "description": "This release adds support for waiters to fail on AccessDeniedException when having insufficient permissions" -} diff --git a/.changes/next-release/api-change-connect-29092.json b/.changes/next-release/api-change-connect-29092.json deleted file mode 100644 index 0fedf706fedc..000000000000 --- a/.changes/next-release/api-change-connect-29092.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``connect``", - "description": "Adding Contact Flow metrics to the GetMetricDataV2 API" -} diff --git a/.changes/next-release/api-change-kafka-15569.json b/.changes/next-release/api-change-kafka-15569.json deleted file mode 100644 index 020732ff02c9..000000000000 --- a/.changes/next-release/api-change-kafka-15569.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``kafka``", - "description": "AWS MSK support for Broker Removal." -} diff --git a/.changes/next-release/api-change-mwaa-952.json b/.changes/next-release/api-change-mwaa-952.json deleted file mode 100644 index d8523aeec505..000000000000 --- a/.changes/next-release/api-change-mwaa-952.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``mwaa``", - "description": "Amazon MWAA now supports Airflow web server auto scaling to automatically handle increased demand from REST APIs, Command Line Interface (CLI), or more Airflow User Interface (UI) users. Customers can specify maximum and minimum web server instances during environment creation and update workflow." -} diff --git a/.changes/next-release/api-change-quicksight-79093.json b/.changes/next-release/api-change-quicksight-79093.json deleted file mode 100644 index 488d4574883c..000000000000 --- a/.changes/next-release/api-change-quicksight-79093.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``quicksight``", - "description": "This release adds DescribeKeyRegistration and UpdateKeyRegistration APIs to manage QuickSight Customer Managed Keys (CMK)." -} diff --git a/.changes/next-release/api-change-sagemaker-36713.json b/.changes/next-release/api-change-sagemaker-36713.json deleted file mode 100644 index 9468ee18c30e..000000000000 --- a/.changes/next-release/api-change-sagemaker-36713.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``sagemaker``", - "description": "Introduced WorkerAccessConfiguration to SageMaker Workteam. This allows customers to configure resource access for workers in a workteam." -} diff --git a/.changes/next-release/api-change-secretsmanager-62179.json b/.changes/next-release/api-change-secretsmanager-62179.json deleted file mode 100644 index a98bea3a32cf..000000000000 --- a/.changes/next-release/api-change-secretsmanager-62179.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``secretsmanager``", - "description": "Documentation updates for AWS Secrets Manager" -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 7e800ae13073..ba650236132b 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,18 @@ CHANGELOG ========= +1.32.107 +======== + +* api-change:``acm-pca``: This release adds support for waiters to fail on AccessDeniedException when having insufficient permissions +* api-change:``connect``: Adding Contact Flow metrics to the GetMetricDataV2 API +* api-change:``kafka``: AWS MSK support for Broker Removal. +* api-change:``mwaa``: Amazon MWAA now supports Airflow web server auto scaling to automatically handle increased demand from REST APIs, Command Line Interface (CLI), or more Airflow User Interface (UI) users. Customers can specify maximum and minimum web server instances during environment creation and update workflow. +* api-change:``quicksight``: This release adds DescribeKeyRegistration and UpdateKeyRegistration APIs to manage QuickSight Customer Managed Keys (CMK). +* api-change:``sagemaker``: Introduced WorkerAccessConfiguration to SageMaker Workteam. This allows customers to configure resource access for workers in a workteam. +* api-change:``secretsmanager``: Documentation updates for AWS Secrets Manager + + 1.32.106 ======== diff --git a/awscli/__init__.py b/awscli/__init__.py index 7a1a36cf186a..2bab845274aa 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -17,7 +17,7 @@ """ import os -__version__ = '1.32.106' +__version__ = '1.32.107' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index d70273f4ba7b..15a3d5457838 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.32.1' # The full version, including alpha/beta/rc tags. -release = '1.32.106' +release = '1.32.107' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 874f5c15f960..5f7fd97274f9 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.34.106 + botocore==1.34.107 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 13e497fac3ac..0ae5be32cf5b 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.34.106', + 'botocore==1.34.107', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From b4b8d21c867fd89e3699f297bfafb66f5fdbe129 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 17 May 2024 18:06:32 +0000 Subject: [PATCH 0015/1087] Update changelog based on model updates --- .../api-change-applicationautoscaling-66629.json | 5 +++++ .changes/next-release/api-change-codebuild-36979.json | 5 +++++ .changes/next-release/api-change-elbv2-78934.json | 5 +++++ .changes/next-release/api-change-lakeformation-88346.json | 5 +++++ .changes/next-release/api-change-transfer-5625.json | 5 +++++ 5 files changed, 25 insertions(+) create mode 100644 .changes/next-release/api-change-applicationautoscaling-66629.json create mode 100644 .changes/next-release/api-change-codebuild-36979.json create mode 100644 .changes/next-release/api-change-elbv2-78934.json create mode 100644 .changes/next-release/api-change-lakeformation-88346.json create mode 100644 .changes/next-release/api-change-transfer-5625.json diff --git a/.changes/next-release/api-change-applicationautoscaling-66629.json b/.changes/next-release/api-change-applicationautoscaling-66629.json new file mode 100644 index 000000000000..2a3bfa4029e1 --- /dev/null +++ b/.changes/next-release/api-change-applicationautoscaling-66629.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``application-autoscaling``", + "description": "add v2 smoke tests and smithy smokeTests trait for SDK testing." +} diff --git a/.changes/next-release/api-change-codebuild-36979.json b/.changes/next-release/api-change-codebuild-36979.json new file mode 100644 index 000000000000..bd5c0ce697de --- /dev/null +++ b/.changes/next-release/api-change-codebuild-36979.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``codebuild``", + "description": "Aws CodeBuild now supports 36 hours build timeout" +} diff --git a/.changes/next-release/api-change-elbv2-78934.json b/.changes/next-release/api-change-elbv2-78934.json new file mode 100644 index 000000000000..7998617de615 --- /dev/null +++ b/.changes/next-release/api-change-elbv2-78934.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``elbv2``", + "description": "This release adds dualstack-without-public-ipv4 IP address type for ALB." +} diff --git a/.changes/next-release/api-change-lakeformation-88346.json b/.changes/next-release/api-change-lakeformation-88346.json new file mode 100644 index 000000000000..893d0c89464f --- /dev/null +++ b/.changes/next-release/api-change-lakeformation-88346.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``lakeformation``", + "description": "Introduces a new API, GetDataLakePrincipal, that returns the identity of the invoking principal" +} diff --git a/.changes/next-release/api-change-transfer-5625.json b/.changes/next-release/api-change-transfer-5625.json new file mode 100644 index 000000000000..337fdc387989 --- /dev/null +++ b/.changes/next-release/api-change-transfer-5625.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``transfer``", + "description": "Enable use of CloudFormation traits in Smithy model to improve generated CloudFormation schema from the Smithy API model." +} From 9e28e62b001f62d4ccd5236dc3c0f61982047fdc Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 17 May 2024 18:07:34 +0000 Subject: [PATCH 0016/1087] Bumping version to 1.32.108 --- .changes/1.32.108.json | 27 +++++++++++++++++++ ...i-change-applicationautoscaling-66629.json | 5 ---- .../api-change-codebuild-36979.json | 5 ---- .../next-release/api-change-elbv2-78934.json | 5 ---- .../api-change-lakeformation-88346.json | 5 ---- .../api-change-transfer-5625.json | 5 ---- CHANGELOG.rst | 10 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 11 files changed, 41 insertions(+), 29 deletions(-) create mode 100644 .changes/1.32.108.json delete mode 100644 .changes/next-release/api-change-applicationautoscaling-66629.json delete mode 100644 .changes/next-release/api-change-codebuild-36979.json delete mode 100644 .changes/next-release/api-change-elbv2-78934.json delete mode 100644 .changes/next-release/api-change-lakeformation-88346.json delete mode 100644 .changes/next-release/api-change-transfer-5625.json diff --git a/.changes/1.32.108.json b/.changes/1.32.108.json new file mode 100644 index 000000000000..25b8a8ec9f84 --- /dev/null +++ b/.changes/1.32.108.json @@ -0,0 +1,27 @@ +[ + { + "category": "``application-autoscaling``", + "description": "add v2 smoke tests and smithy smokeTests trait for SDK testing.", + "type": "api-change" + }, + { + "category": "``codebuild``", + "description": "Aws CodeBuild now supports 36 hours build timeout", + "type": "api-change" + }, + { + "category": "``elbv2``", + "description": "This release adds dualstack-without-public-ipv4 IP address type for ALB.", + "type": "api-change" + }, + { + "category": "``lakeformation``", + "description": "Introduces a new API, GetDataLakePrincipal, that returns the identity of the invoking principal", + "type": "api-change" + }, + { + "category": "``transfer``", + "description": "Enable use of CloudFormation traits in Smithy model to improve generated CloudFormation schema from the Smithy API model.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-applicationautoscaling-66629.json b/.changes/next-release/api-change-applicationautoscaling-66629.json deleted file mode 100644 index 2a3bfa4029e1..000000000000 --- a/.changes/next-release/api-change-applicationautoscaling-66629.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``application-autoscaling``", - "description": "add v2 smoke tests and smithy smokeTests trait for SDK testing." -} diff --git a/.changes/next-release/api-change-codebuild-36979.json b/.changes/next-release/api-change-codebuild-36979.json deleted file mode 100644 index bd5c0ce697de..000000000000 --- a/.changes/next-release/api-change-codebuild-36979.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``codebuild``", - "description": "Aws CodeBuild now supports 36 hours build timeout" -} diff --git a/.changes/next-release/api-change-elbv2-78934.json b/.changes/next-release/api-change-elbv2-78934.json deleted file mode 100644 index 7998617de615..000000000000 --- a/.changes/next-release/api-change-elbv2-78934.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``elbv2``", - "description": "This release adds dualstack-without-public-ipv4 IP address type for ALB." -} diff --git a/.changes/next-release/api-change-lakeformation-88346.json b/.changes/next-release/api-change-lakeformation-88346.json deleted file mode 100644 index 893d0c89464f..000000000000 --- a/.changes/next-release/api-change-lakeformation-88346.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``lakeformation``", - "description": "Introduces a new API, GetDataLakePrincipal, that returns the identity of the invoking principal" -} diff --git a/.changes/next-release/api-change-transfer-5625.json b/.changes/next-release/api-change-transfer-5625.json deleted file mode 100644 index 337fdc387989..000000000000 --- a/.changes/next-release/api-change-transfer-5625.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``transfer``", - "description": "Enable use of CloudFormation traits in Smithy model to improve generated CloudFormation schema from the Smithy API model." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index ba650236132b..3185c8614fc8 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,16 @@ CHANGELOG ========= +1.32.108 +======== + +* api-change:``application-autoscaling``: add v2 smoke tests and smithy smokeTests trait for SDK testing. +* api-change:``codebuild``: Aws CodeBuild now supports 36 hours build timeout +* api-change:``elbv2``: This release adds dualstack-without-public-ipv4 IP address type for ALB. +* api-change:``lakeformation``: Introduces a new API, GetDataLakePrincipal, that returns the identity of the invoking principal +* api-change:``transfer``: Enable use of CloudFormation traits in Smithy model to improve generated CloudFormation schema from the Smithy API model. + + 1.32.107 ======== diff --git a/awscli/__init__.py b/awscli/__init__.py index 2bab845274aa..c149a0494405 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -17,7 +17,7 @@ """ import os -__version__ = '1.32.107' +__version__ = '1.32.108' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 15a3d5457838..db8a75608aaa 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.32.1' # The full version, including alpha/beta/rc tags. -release = '1.32.107' +release = '1.32.108' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 5f7fd97274f9..5f220495b0b1 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.34.107 + botocore==1.34.108 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 0ae5be32cf5b..e3e06cccad59 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.34.107', + 'botocore==1.34.108', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From a9139208b37b6ae3e5596b39782e316e74f6a898 Mon Sep 17 00:00:00 2001 From: Elysa Hall Date: Mon, 20 May 2024 16:48:57 +0000 Subject: [PATCH 0017/1087] CLI example networkmanager --- .../examples/networkmanager/create-core-network.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/awscli/examples/networkmanager/create-core-network.rst b/awscli/examples/networkmanager/create-core-network.rst index ae811ead4907..6817bcce2d6a 100644 --- a/awscli/examples/networkmanager/create-core-network.rst +++ b/awscli/examples/networkmanager/create-core-network.rst @@ -3,17 +3,17 @@ The following ``create-core-network`` example creates a core network using an optional description and tags within an AWS Cloud WAN global network. :: aws networkmanager create-core-network \ - --global-network-id global-network-0d59060f16a73bc41\ - --description "Main headquarters location"\ + --global-network-id global-network-cdef-EXAMPLE22222 \ + --description "Main headquarters location" \ --tags Key=Name,Value="New York City office" Output:: { "CoreNetwork": { - "GlobalNetworkId": "global-network-0d59060f16a73bc41", - "CoreNetworkId": "core-network-0fab62fe438d94db6", - "CoreNetworkArn": "arn:aws:networkmanager::987654321012:core-network/core-network-0fab62fe438d94db6", + "GlobalNetworkId": "global-network-cdef-EXAMPLE22222", + "CoreNetworkId": "core-network-cdef-EXAMPLE33333", + "CoreNetworkArn": "arn:aws:networkmanager::987654321012:core-network/core-network-cdef-EXAMPLE33333", "Description": "Main headquarters location", "CreatedAt": "2022-01-10T19:53:59+00:00", "State": "AVAILABLE", @@ -26,4 +26,4 @@ Output:: } } -For more information, see `Core networks `__ in the *AWS Cloud WAN User Guide*. \ No newline at end of file +For more information, see `Global and core networks `__ in the *AWS Cloud WAN User Guide*. \ No newline at end of file From d3fd89a960bac938132d5fa7c48220423fa7f83e Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 20 May 2024 18:15:28 +0000 Subject: [PATCH 0018/1087] Update changelog based on model updates --- .changes/next-release/api-change-bedrockagent-50019.json | 5 +++++ .../next-release/api-change-bedrockagentruntime-94206.json | 5 +++++ .changes/next-release/api-change-controltower-33780.json | 5 +++++ .changes/next-release/api-change-osis-14262.json | 5 +++++ .changes/next-release/api-change-rds-53532.json | 5 +++++ .changes/next-release/api-change-secretsmanager-53214.json | 5 +++++ 6 files changed, 30 insertions(+) create mode 100644 .changes/next-release/api-change-bedrockagent-50019.json create mode 100644 .changes/next-release/api-change-bedrockagentruntime-94206.json create mode 100644 .changes/next-release/api-change-controltower-33780.json create mode 100644 .changes/next-release/api-change-osis-14262.json create mode 100644 .changes/next-release/api-change-rds-53532.json create mode 100644 .changes/next-release/api-change-secretsmanager-53214.json diff --git a/.changes/next-release/api-change-bedrockagent-50019.json b/.changes/next-release/api-change-bedrockagent-50019.json new file mode 100644 index 000000000000..cbfc7addf84e --- /dev/null +++ b/.changes/next-release/api-change-bedrockagent-50019.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-agent``", + "description": "This release adds support for using Guardrails with Bedrock Agents." +} diff --git a/.changes/next-release/api-change-bedrockagentruntime-94206.json b/.changes/next-release/api-change-bedrockagentruntime-94206.json new file mode 100644 index 000000000000..557c27dd2e11 --- /dev/null +++ b/.changes/next-release/api-change-bedrockagentruntime-94206.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-agent-runtime``", + "description": "This release adds support for using Guardrails with Bedrock Agents." +} diff --git a/.changes/next-release/api-change-controltower-33780.json b/.changes/next-release/api-change-controltower-33780.json new file mode 100644 index 000000000000..f58ba18a6a6c --- /dev/null +++ b/.changes/next-release/api-change-controltower-33780.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``controltower``", + "description": "Added ListControlOperations API and filtering support for ListEnabledControls API. Updates also includes added metadata for enabled controls and control operations." +} diff --git a/.changes/next-release/api-change-osis-14262.json b/.changes/next-release/api-change-osis-14262.json new file mode 100644 index 000000000000..911c28d5403f --- /dev/null +++ b/.changes/next-release/api-change-osis-14262.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``osis``", + "description": "Add support for creating an OpenSearch Ingestion pipeline that is attached to a provided VPC. Add information about the destinations of an OpenSearch Ingestion pipeline to the GetPipeline and ListPipelines APIs." +} diff --git a/.changes/next-release/api-change-rds-53532.json b/.changes/next-release/api-change-rds-53532.json new file mode 100644 index 000000000000..6bfd420034bf --- /dev/null +++ b/.changes/next-release/api-change-rds-53532.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``rds``", + "description": "This release adds support for EngineLifecycleSupport on DBInstances, DBClusters, and GlobalClusters." +} diff --git a/.changes/next-release/api-change-secretsmanager-53214.json b/.changes/next-release/api-change-secretsmanager-53214.json new file mode 100644 index 000000000000..c5323e42d83c --- /dev/null +++ b/.changes/next-release/api-change-secretsmanager-53214.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``secretsmanager``", + "description": "add v2 smoke tests and smithy smokeTests trait for SDK testing" +} From 5d9240defd2f1790e65186246b4cf6016006f4ec Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 20 May 2024 18:16:46 +0000 Subject: [PATCH 0019/1087] Bumping version to 1.32.109 --- .changes/1.32.109.json | 32 +++++++++++++++++++ .../api-change-bedrockagent-50019.json | 5 --- .../api-change-bedrockagentruntime-94206.json | 5 --- .../api-change-controltower-33780.json | 5 --- .../next-release/api-change-osis-14262.json | 5 --- .../next-release/api-change-rds-53532.json | 5 --- .../api-change-secretsmanager-53214.json | 5 --- CHANGELOG.rst | 11 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 12 files changed, 47 insertions(+), 34 deletions(-) create mode 100644 .changes/1.32.109.json delete mode 100644 .changes/next-release/api-change-bedrockagent-50019.json delete mode 100644 .changes/next-release/api-change-bedrockagentruntime-94206.json delete mode 100644 .changes/next-release/api-change-controltower-33780.json delete mode 100644 .changes/next-release/api-change-osis-14262.json delete mode 100644 .changes/next-release/api-change-rds-53532.json delete mode 100644 .changes/next-release/api-change-secretsmanager-53214.json diff --git a/.changes/1.32.109.json b/.changes/1.32.109.json new file mode 100644 index 000000000000..447147c7cf92 --- /dev/null +++ b/.changes/1.32.109.json @@ -0,0 +1,32 @@ +[ + { + "category": "``bedrock-agent``", + "description": "This release adds support for using Guardrails with Bedrock Agents.", + "type": "api-change" + }, + { + "category": "``bedrock-agent-runtime``", + "description": "This release adds support for using Guardrails with Bedrock Agents.", + "type": "api-change" + }, + { + "category": "``controltower``", + "description": "Added ListControlOperations API and filtering support for ListEnabledControls API. Updates also includes added metadata for enabled controls and control operations.", + "type": "api-change" + }, + { + "category": "``osis``", + "description": "Add support for creating an OpenSearch Ingestion pipeline that is attached to a provided VPC. Add information about the destinations of an OpenSearch Ingestion pipeline to the GetPipeline and ListPipelines APIs.", + "type": "api-change" + }, + { + "category": "``rds``", + "description": "This release adds support for EngineLifecycleSupport on DBInstances, DBClusters, and GlobalClusters.", + "type": "api-change" + }, + { + "category": "``secretsmanager``", + "description": "add v2 smoke tests and smithy smokeTests trait for SDK testing", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-bedrockagent-50019.json b/.changes/next-release/api-change-bedrockagent-50019.json deleted file mode 100644 index cbfc7addf84e..000000000000 --- a/.changes/next-release/api-change-bedrockagent-50019.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-agent``", - "description": "This release adds support for using Guardrails with Bedrock Agents." -} diff --git a/.changes/next-release/api-change-bedrockagentruntime-94206.json b/.changes/next-release/api-change-bedrockagentruntime-94206.json deleted file mode 100644 index 557c27dd2e11..000000000000 --- a/.changes/next-release/api-change-bedrockagentruntime-94206.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-agent-runtime``", - "description": "This release adds support for using Guardrails with Bedrock Agents." -} diff --git a/.changes/next-release/api-change-controltower-33780.json b/.changes/next-release/api-change-controltower-33780.json deleted file mode 100644 index f58ba18a6a6c..000000000000 --- a/.changes/next-release/api-change-controltower-33780.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``controltower``", - "description": "Added ListControlOperations API and filtering support for ListEnabledControls API. Updates also includes added metadata for enabled controls and control operations." -} diff --git a/.changes/next-release/api-change-osis-14262.json b/.changes/next-release/api-change-osis-14262.json deleted file mode 100644 index 911c28d5403f..000000000000 --- a/.changes/next-release/api-change-osis-14262.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``osis``", - "description": "Add support for creating an OpenSearch Ingestion pipeline that is attached to a provided VPC. Add information about the destinations of an OpenSearch Ingestion pipeline to the GetPipeline and ListPipelines APIs." -} diff --git a/.changes/next-release/api-change-rds-53532.json b/.changes/next-release/api-change-rds-53532.json deleted file mode 100644 index 6bfd420034bf..000000000000 --- a/.changes/next-release/api-change-rds-53532.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``rds``", - "description": "This release adds support for EngineLifecycleSupport on DBInstances, DBClusters, and GlobalClusters." -} diff --git a/.changes/next-release/api-change-secretsmanager-53214.json b/.changes/next-release/api-change-secretsmanager-53214.json deleted file mode 100644 index c5323e42d83c..000000000000 --- a/.changes/next-release/api-change-secretsmanager-53214.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``secretsmanager``", - "description": "add v2 smoke tests and smithy smokeTests trait for SDK testing" -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 3185c8614fc8..37fbe0a0b9ef 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,17 @@ CHANGELOG ========= +1.32.109 +======== + +* api-change:``bedrock-agent``: This release adds support for using Guardrails with Bedrock Agents. +* api-change:``bedrock-agent-runtime``: This release adds support for using Guardrails with Bedrock Agents. +* api-change:``controltower``: Added ListControlOperations API and filtering support for ListEnabledControls API. Updates also includes added metadata for enabled controls and control operations. +* api-change:``osis``: Add support for creating an OpenSearch Ingestion pipeline that is attached to a provided VPC. Add information about the destinations of an OpenSearch Ingestion pipeline to the GetPipeline and ListPipelines APIs. +* api-change:``rds``: This release adds support for EngineLifecycleSupport on DBInstances, DBClusters, and GlobalClusters. +* api-change:``secretsmanager``: add v2 smoke tests and smithy smokeTests trait for SDK testing + + 1.32.108 ======== diff --git a/awscli/__init__.py b/awscli/__init__.py index c149a0494405..ee76fd07f338 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -17,7 +17,7 @@ """ import os -__version__ = '1.32.108' +__version__ = '1.32.109' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index db8a75608aaa..b82d69d03762 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.32.1' # The full version, including alpha/beta/rc tags. -release = '1.32.108' +release = '1.32.109' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 5f220495b0b1..dc2fc4f6b37e 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.34.108 + botocore==1.34.109 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index e3e06cccad59..cf08ef759f73 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.34.108', + 'botocore==1.34.109', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From cf631bb1ce9bd61f17aa858c281c15dbb78db34d Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 21 May 2024 18:04:46 +0000 Subject: [PATCH 0020/1087] Update changelog based on model updates --- .changes/next-release/api-change-cloudfront-78307.json | 5 +++++ .changes/next-release/api-change-glue-66644.json | 5 +++++ .changes/next-release/api-change-lightsail-48834.json | 5 +++++ .changes/next-release/api-change-mailmanager-13148.json | 5 +++++ .changes/next-release/api-change-pi-32458.json | 5 +++++ .changes/next-release/api-change-rds-21455.json | 5 +++++ .changes/next-release/api-change-storagegateway-60764.json | 5 +++++ 7 files changed, 35 insertions(+) create mode 100644 .changes/next-release/api-change-cloudfront-78307.json create mode 100644 .changes/next-release/api-change-glue-66644.json create mode 100644 .changes/next-release/api-change-lightsail-48834.json create mode 100644 .changes/next-release/api-change-mailmanager-13148.json create mode 100644 .changes/next-release/api-change-pi-32458.json create mode 100644 .changes/next-release/api-change-rds-21455.json create mode 100644 .changes/next-release/api-change-storagegateway-60764.json diff --git a/.changes/next-release/api-change-cloudfront-78307.json b/.changes/next-release/api-change-cloudfront-78307.json new file mode 100644 index 000000000000..d871ed720945 --- /dev/null +++ b/.changes/next-release/api-change-cloudfront-78307.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``cloudfront``", + "description": "Model update; no change to SDK functionality." +} diff --git a/.changes/next-release/api-change-glue-66644.json b/.changes/next-release/api-change-glue-66644.json new file mode 100644 index 000000000000..87432ebdc0e8 --- /dev/null +++ b/.changes/next-release/api-change-glue-66644.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``glue``", + "description": "Add Maintenance window to CreateJob and UpdateJob APIs and JobRun response. Add a new Job Run State for EXPIRED." +} diff --git a/.changes/next-release/api-change-lightsail-48834.json b/.changes/next-release/api-change-lightsail-48834.json new file mode 100644 index 000000000000..f946db1162ad --- /dev/null +++ b/.changes/next-release/api-change-lightsail-48834.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``lightsail``", + "description": "This release adds support for Amazon Lightsail instances to switch between dual-stack or IPv4 only and IPv6-only public IP address types." +} diff --git a/.changes/next-release/api-change-mailmanager-13148.json b/.changes/next-release/api-change-mailmanager-13148.json new file mode 100644 index 000000000000..85cff7ffc70e --- /dev/null +++ b/.changes/next-release/api-change-mailmanager-13148.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``mailmanager``", + "description": "This release includes a new Amazon SES feature called Mail Manager, which is a set of email gateway capabilities designed to help customers strengthen their organization's email infrastructure, simplify email workflow management, and streamline email compliance control." +} diff --git a/.changes/next-release/api-change-pi-32458.json b/.changes/next-release/api-change-pi-32458.json new file mode 100644 index 000000000000..5162f9a25f28 --- /dev/null +++ b/.changes/next-release/api-change-pi-32458.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``pi``", + "description": "Performance Insights added a new input parameter called AuthorizedActions to support the fine-grained access feature. Performance Insights also restricted the acceptable input characters." +} diff --git a/.changes/next-release/api-change-rds-21455.json b/.changes/next-release/api-change-rds-21455.json new file mode 100644 index 000000000000..dc35b0c74fa1 --- /dev/null +++ b/.changes/next-release/api-change-rds-21455.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``rds``", + "description": "Updates Amazon RDS documentation for Db2 license through AWS Marketplace." +} diff --git a/.changes/next-release/api-change-storagegateway-60764.json b/.changes/next-release/api-change-storagegateway-60764.json new file mode 100644 index 000000000000..5c0a2194b856 --- /dev/null +++ b/.changes/next-release/api-change-storagegateway-60764.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``storagegateway``", + "description": "Added new SMBSecurityStrategy enum named MandatoryEncryptionNoAes128, new mode enforces encryption and disables AES 128-bit algorithums." +} From 72f398e6cc89d87ae7a3c28b7eef0924b53af8d4 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 21 May 2024 18:06:07 +0000 Subject: [PATCH 0021/1087] Bumping version to 1.32.110 --- .changes/1.32.110.json | 37 +++++++++++++++++++ .../api-change-cloudfront-78307.json | 5 --- .../next-release/api-change-glue-66644.json | 5 --- .../api-change-lightsail-48834.json | 5 --- .../api-change-mailmanager-13148.json | 5 --- .../next-release/api-change-pi-32458.json | 5 --- .../next-release/api-change-rds-21455.json | 5 --- .../api-change-storagegateway-60764.json | 5 --- CHANGELOG.rst | 12 ++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 13 files changed, 53 insertions(+), 39 deletions(-) create mode 100644 .changes/1.32.110.json delete mode 100644 .changes/next-release/api-change-cloudfront-78307.json delete mode 100644 .changes/next-release/api-change-glue-66644.json delete mode 100644 .changes/next-release/api-change-lightsail-48834.json delete mode 100644 .changes/next-release/api-change-mailmanager-13148.json delete mode 100644 .changes/next-release/api-change-pi-32458.json delete mode 100644 .changes/next-release/api-change-rds-21455.json delete mode 100644 .changes/next-release/api-change-storagegateway-60764.json diff --git a/.changes/1.32.110.json b/.changes/1.32.110.json new file mode 100644 index 000000000000..b0ae3518b3a0 --- /dev/null +++ b/.changes/1.32.110.json @@ -0,0 +1,37 @@ +[ + { + "category": "``cloudfront``", + "description": "Model update; no change to SDK functionality.", + "type": "api-change" + }, + { + "category": "``glue``", + "description": "Add Maintenance window to CreateJob and UpdateJob APIs and JobRun response. Add a new Job Run State for EXPIRED.", + "type": "api-change" + }, + { + "category": "``lightsail``", + "description": "This release adds support for Amazon Lightsail instances to switch between dual-stack or IPv4 only and IPv6-only public IP address types.", + "type": "api-change" + }, + { + "category": "``mailmanager``", + "description": "This release includes a new Amazon SES feature called Mail Manager, which is a set of email gateway capabilities designed to help customers strengthen their organization's email infrastructure, simplify email workflow management, and streamline email compliance control.", + "type": "api-change" + }, + { + "category": "``pi``", + "description": "Performance Insights added a new input parameter called AuthorizedActions to support the fine-grained access feature. Performance Insights also restricted the acceptable input characters.", + "type": "api-change" + }, + { + "category": "``rds``", + "description": "Updates Amazon RDS documentation for Db2 license through AWS Marketplace.", + "type": "api-change" + }, + { + "category": "``storagegateway``", + "description": "Added new SMBSecurityStrategy enum named MandatoryEncryptionNoAes128, new mode enforces encryption and disables AES 128-bit algorithums.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-cloudfront-78307.json b/.changes/next-release/api-change-cloudfront-78307.json deleted file mode 100644 index d871ed720945..000000000000 --- a/.changes/next-release/api-change-cloudfront-78307.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``cloudfront``", - "description": "Model update; no change to SDK functionality." -} diff --git a/.changes/next-release/api-change-glue-66644.json b/.changes/next-release/api-change-glue-66644.json deleted file mode 100644 index 87432ebdc0e8..000000000000 --- a/.changes/next-release/api-change-glue-66644.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``glue``", - "description": "Add Maintenance window to CreateJob and UpdateJob APIs and JobRun response. Add a new Job Run State for EXPIRED." -} diff --git a/.changes/next-release/api-change-lightsail-48834.json b/.changes/next-release/api-change-lightsail-48834.json deleted file mode 100644 index f946db1162ad..000000000000 --- a/.changes/next-release/api-change-lightsail-48834.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``lightsail``", - "description": "This release adds support for Amazon Lightsail instances to switch between dual-stack or IPv4 only and IPv6-only public IP address types." -} diff --git a/.changes/next-release/api-change-mailmanager-13148.json b/.changes/next-release/api-change-mailmanager-13148.json deleted file mode 100644 index 85cff7ffc70e..000000000000 --- a/.changes/next-release/api-change-mailmanager-13148.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``mailmanager``", - "description": "This release includes a new Amazon SES feature called Mail Manager, which is a set of email gateway capabilities designed to help customers strengthen their organization's email infrastructure, simplify email workflow management, and streamline email compliance control." -} diff --git a/.changes/next-release/api-change-pi-32458.json b/.changes/next-release/api-change-pi-32458.json deleted file mode 100644 index 5162f9a25f28..000000000000 --- a/.changes/next-release/api-change-pi-32458.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``pi``", - "description": "Performance Insights added a new input parameter called AuthorizedActions to support the fine-grained access feature. Performance Insights also restricted the acceptable input characters." -} diff --git a/.changes/next-release/api-change-rds-21455.json b/.changes/next-release/api-change-rds-21455.json deleted file mode 100644 index dc35b0c74fa1..000000000000 --- a/.changes/next-release/api-change-rds-21455.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``rds``", - "description": "Updates Amazon RDS documentation for Db2 license through AWS Marketplace." -} diff --git a/.changes/next-release/api-change-storagegateway-60764.json b/.changes/next-release/api-change-storagegateway-60764.json deleted file mode 100644 index 5c0a2194b856..000000000000 --- a/.changes/next-release/api-change-storagegateway-60764.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``storagegateway``", - "description": "Added new SMBSecurityStrategy enum named MandatoryEncryptionNoAes128, new mode enforces encryption and disables AES 128-bit algorithums." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 37fbe0a0b9ef..77966279f962 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,18 @@ CHANGELOG ========= +1.32.110 +======== + +* api-change:``cloudfront``: Model update; no change to SDK functionality. +* api-change:``glue``: Add Maintenance window to CreateJob and UpdateJob APIs and JobRun response. Add a new Job Run State for EXPIRED. +* api-change:``lightsail``: This release adds support for Amazon Lightsail instances to switch between dual-stack or IPv4 only and IPv6-only public IP address types. +* api-change:``mailmanager``: This release includes a new Amazon SES feature called Mail Manager, which is a set of email gateway capabilities designed to help customers strengthen their organization's email infrastructure, simplify email workflow management, and streamline email compliance control. +* api-change:``pi``: Performance Insights added a new input parameter called AuthorizedActions to support the fine-grained access feature. Performance Insights also restricted the acceptable input characters. +* api-change:``rds``: Updates Amazon RDS documentation for Db2 license through AWS Marketplace. +* api-change:``storagegateway``: Added new SMBSecurityStrategy enum named MandatoryEncryptionNoAes128, new mode enforces encryption and disables AES 128-bit algorithums. + + 1.32.109 ======== diff --git a/awscli/__init__.py b/awscli/__init__.py index ee76fd07f338..23cb7db204f6 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -17,7 +17,7 @@ """ import os -__version__ = '1.32.109' +__version__ = '1.32.110' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index b82d69d03762..24f7e16f500b 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.32.1' # The full version, including alpha/beta/rc tags. -release = '1.32.109' +release = '1.32.110' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index dc2fc4f6b37e..42876331e7a5 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.34.109 + botocore==1.34.110 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index cf08ef759f73..e201710b4cab 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.34.109', + 'botocore==1.34.110', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 6fee6030de0498bdb83aaf87a9f74899f07d325f Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 22 May 2024 18:05:07 +0000 Subject: [PATCH 0022/1087] Update changelog based on model updates --- .changes/next-release/api-change-chatbot-26134.json | 5 +++++ .changes/next-release/api-change-cloudformation-32249.json | 5 +++++ .changes/next-release/api-change-kms-69631.json | 5 +++++ .changes/next-release/api-change-opensearch-3896.json | 5 +++++ .changes/next-release/api-change-wafv2-55893.json | 5 +++++ 5 files changed, 25 insertions(+) create mode 100644 .changes/next-release/api-change-chatbot-26134.json create mode 100644 .changes/next-release/api-change-cloudformation-32249.json create mode 100644 .changes/next-release/api-change-kms-69631.json create mode 100644 .changes/next-release/api-change-opensearch-3896.json create mode 100644 .changes/next-release/api-change-wafv2-55893.json diff --git a/.changes/next-release/api-change-chatbot-26134.json b/.changes/next-release/api-change-chatbot-26134.json new file mode 100644 index 000000000000..e1724309adf4 --- /dev/null +++ b/.changes/next-release/api-change-chatbot-26134.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``chatbot``", + "description": "This change adds support for tagging Chatbot configurations." +} diff --git a/.changes/next-release/api-change-cloudformation-32249.json b/.changes/next-release/api-change-cloudformation-32249.json new file mode 100644 index 000000000000..eb14f7f4a9fe --- /dev/null +++ b/.changes/next-release/api-change-cloudformation-32249.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``cloudformation``", + "description": "Added DeletionMode FORCE_DELETE_STACK for deleting a stack that is stuck in DELETE_FAILED state due to resource deletion failure." +} diff --git a/.changes/next-release/api-change-kms-69631.json b/.changes/next-release/api-change-kms-69631.json new file mode 100644 index 000000000000..1557c073d705 --- /dev/null +++ b/.changes/next-release/api-change-kms-69631.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``kms``", + "description": "This release includes feature to import customer's asymmetric (RSA, ECC and SM2) and HMAC keys into KMS in China." +} diff --git a/.changes/next-release/api-change-opensearch-3896.json b/.changes/next-release/api-change-opensearch-3896.json new file mode 100644 index 000000000000..9f00b498277a --- /dev/null +++ b/.changes/next-release/api-change-opensearch-3896.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``opensearch``", + "description": "This release adds support for enabling or disabling a data source configured as part of Zero-ETL integration with Amazon S3, by setting its status." +} diff --git a/.changes/next-release/api-change-wafv2-55893.json b/.changes/next-release/api-change-wafv2-55893.json new file mode 100644 index 000000000000..c4bb7bf2fbb5 --- /dev/null +++ b/.changes/next-release/api-change-wafv2-55893.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``wafv2``", + "description": "You can now use Security Lake to collect web ACL traffic data." +} From b0b6dfaa37835a5dbd5264898d10f81c1d0f5a53 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 22 May 2024 18:06:13 +0000 Subject: [PATCH 0023/1087] Bumping version to 1.32.111 --- .changes/1.32.111.json | 27 +++++++++++++++++++ .../api-change-chatbot-26134.json | 5 ---- .../api-change-cloudformation-32249.json | 5 ---- .../next-release/api-change-kms-69631.json | 5 ---- .../api-change-opensearch-3896.json | 5 ---- .../next-release/api-change-wafv2-55893.json | 5 ---- CHANGELOG.rst | 10 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 11 files changed, 41 insertions(+), 29 deletions(-) create mode 100644 .changes/1.32.111.json delete mode 100644 .changes/next-release/api-change-chatbot-26134.json delete mode 100644 .changes/next-release/api-change-cloudformation-32249.json delete mode 100644 .changes/next-release/api-change-kms-69631.json delete mode 100644 .changes/next-release/api-change-opensearch-3896.json delete mode 100644 .changes/next-release/api-change-wafv2-55893.json diff --git a/.changes/1.32.111.json b/.changes/1.32.111.json new file mode 100644 index 000000000000..cf003dd00422 --- /dev/null +++ b/.changes/1.32.111.json @@ -0,0 +1,27 @@ +[ + { + "category": "``chatbot``", + "description": "This change adds support for tagging Chatbot configurations.", + "type": "api-change" + }, + { + "category": "``cloudformation``", + "description": "Added DeletionMode FORCE_DELETE_STACK for deleting a stack that is stuck in DELETE_FAILED state due to resource deletion failure.", + "type": "api-change" + }, + { + "category": "``kms``", + "description": "This release includes feature to import customer's asymmetric (RSA, ECC and SM2) and HMAC keys into KMS in China.", + "type": "api-change" + }, + { + "category": "``opensearch``", + "description": "This release adds support for enabling or disabling a data source configured as part of Zero-ETL integration with Amazon S3, by setting its status.", + "type": "api-change" + }, + { + "category": "``wafv2``", + "description": "You can now use Security Lake to collect web ACL traffic data.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-chatbot-26134.json b/.changes/next-release/api-change-chatbot-26134.json deleted file mode 100644 index e1724309adf4..000000000000 --- a/.changes/next-release/api-change-chatbot-26134.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``chatbot``", - "description": "This change adds support for tagging Chatbot configurations." -} diff --git a/.changes/next-release/api-change-cloudformation-32249.json b/.changes/next-release/api-change-cloudformation-32249.json deleted file mode 100644 index eb14f7f4a9fe..000000000000 --- a/.changes/next-release/api-change-cloudformation-32249.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``cloudformation``", - "description": "Added DeletionMode FORCE_DELETE_STACK for deleting a stack that is stuck in DELETE_FAILED state due to resource deletion failure." -} diff --git a/.changes/next-release/api-change-kms-69631.json b/.changes/next-release/api-change-kms-69631.json deleted file mode 100644 index 1557c073d705..000000000000 --- a/.changes/next-release/api-change-kms-69631.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``kms``", - "description": "This release includes feature to import customer's asymmetric (RSA, ECC and SM2) and HMAC keys into KMS in China." -} diff --git a/.changes/next-release/api-change-opensearch-3896.json b/.changes/next-release/api-change-opensearch-3896.json deleted file mode 100644 index 9f00b498277a..000000000000 --- a/.changes/next-release/api-change-opensearch-3896.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``opensearch``", - "description": "This release adds support for enabling or disabling a data source configured as part of Zero-ETL integration with Amazon S3, by setting its status." -} diff --git a/.changes/next-release/api-change-wafv2-55893.json b/.changes/next-release/api-change-wafv2-55893.json deleted file mode 100644 index c4bb7bf2fbb5..000000000000 --- a/.changes/next-release/api-change-wafv2-55893.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``wafv2``", - "description": "You can now use Security Lake to collect web ACL traffic data." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 77966279f962..dffc8b069562 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,16 @@ CHANGELOG ========= +1.32.111 +======== + +* api-change:``chatbot``: This change adds support for tagging Chatbot configurations. +* api-change:``cloudformation``: Added DeletionMode FORCE_DELETE_STACK for deleting a stack that is stuck in DELETE_FAILED state due to resource deletion failure. +* api-change:``kms``: This release includes feature to import customer's asymmetric (RSA, ECC and SM2) and HMAC keys into KMS in China. +* api-change:``opensearch``: This release adds support for enabling or disabling a data source configured as part of Zero-ETL integration with Amazon S3, by setting its status. +* api-change:``wafv2``: You can now use Security Lake to collect web ACL traffic data. + + 1.32.110 ======== diff --git a/awscli/__init__.py b/awscli/__init__.py index 23cb7db204f6..d6514e6a1d91 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -17,7 +17,7 @@ """ import os -__version__ = '1.32.110' +__version__ = '1.32.111' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 24f7e16f500b..43c25c664e9e 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.32.1' # The full version, including alpha/beta/rc tags. -release = '1.32.110' +release = '1.32.111' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 42876331e7a5..942ec2bceccb 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.34.110 + botocore==1.34.111 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index e201710b4cab..57361039406d 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.34.110', + 'botocore==1.34.111', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 94f38c3a9dbb727b75eceb98a7d13d511dde2127 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 23 May 2024 18:06:00 +0000 Subject: [PATCH 0024/1087] Update changelog based on model updates --- .changes/next-release/api-change-emrserverless-76621.json | 5 +++++ .changes/next-release/api-change-opsworks-51165.json | 5 +++++ 2 files changed, 10 insertions(+) create mode 100644 .changes/next-release/api-change-emrserverless-76621.json create mode 100644 .changes/next-release/api-change-opsworks-51165.json diff --git a/.changes/next-release/api-change-emrserverless-76621.json b/.changes/next-release/api-change-emrserverless-76621.json new file mode 100644 index 000000000000..4d17f1ca7ce6 --- /dev/null +++ b/.changes/next-release/api-change-emrserverless-76621.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``emr-serverless``", + "description": "This release adds the capability to run interactive workloads using Apache Livy Endpoint." +} diff --git a/.changes/next-release/api-change-opsworks-51165.json b/.changes/next-release/api-change-opsworks-51165.json new file mode 100644 index 000000000000..9583e29b1427 --- /dev/null +++ b/.changes/next-release/api-change-opsworks-51165.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``opsworks``", + "description": "Documentation-only update for OpsWorks Stacks." +} From 2b14e00c76e5ba97a070cbdff61ebeaa29f78bd1 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 23 May 2024 18:07:08 +0000 Subject: [PATCH 0025/1087] Bumping version to 1.32.112 --- .changes/1.32.112.json | 12 ++++++++++++ .../next-release/api-change-emrserverless-76621.json | 5 ----- .changes/next-release/api-change-opsworks-51165.json | 5 ----- CHANGELOG.rst | 7 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 8 files changed, 23 insertions(+), 14 deletions(-) create mode 100644 .changes/1.32.112.json delete mode 100644 .changes/next-release/api-change-emrserverless-76621.json delete mode 100644 .changes/next-release/api-change-opsworks-51165.json diff --git a/.changes/1.32.112.json b/.changes/1.32.112.json new file mode 100644 index 000000000000..bc271e879692 --- /dev/null +++ b/.changes/1.32.112.json @@ -0,0 +1,12 @@ +[ + { + "category": "``emr-serverless``", + "description": "This release adds the capability to run interactive workloads using Apache Livy Endpoint.", + "type": "api-change" + }, + { + "category": "``opsworks``", + "description": "Documentation-only update for OpsWorks Stacks.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-emrserverless-76621.json b/.changes/next-release/api-change-emrserverless-76621.json deleted file mode 100644 index 4d17f1ca7ce6..000000000000 --- a/.changes/next-release/api-change-emrserverless-76621.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``emr-serverless``", - "description": "This release adds the capability to run interactive workloads using Apache Livy Endpoint." -} diff --git a/.changes/next-release/api-change-opsworks-51165.json b/.changes/next-release/api-change-opsworks-51165.json deleted file mode 100644 index 9583e29b1427..000000000000 --- a/.changes/next-release/api-change-opsworks-51165.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``opsworks``", - "description": "Documentation-only update for OpsWorks Stacks." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index dffc8b069562..557c7f6681dd 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,13 @@ CHANGELOG ========= +1.32.112 +======== + +* api-change:``emr-serverless``: This release adds the capability to run interactive workloads using Apache Livy Endpoint. +* api-change:``opsworks``: Documentation-only update for OpsWorks Stacks. + + 1.32.111 ======== diff --git a/awscli/__init__.py b/awscli/__init__.py index d6514e6a1d91..e31ed951f14d 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -17,7 +17,7 @@ """ import os -__version__ = '1.32.111' +__version__ = '1.32.112' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 43c25c664e9e..07001bc628c8 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.32.1' # The full version, including alpha/beta/rc tags. -release = '1.32.111' +release = '1.32.112' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 942ec2bceccb..9c92e1f92f67 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.34.111 + botocore==1.34.112 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 57361039406d..bec2638ce70d 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.34.111', + 'botocore==1.34.112', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 6bb350322de0dcaae88ab551bfb497704a4965eb Mon Sep 17 00:00:00 2001 From: Nate Prewitt Date: Fri, 24 May 2024 11:22:19 -0700 Subject: [PATCH 0026/1087] Removed alexaforbusiness from CLI alias tests (#8695) --- tests/unit/customizations/test_utils.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/unit/customizations/test_utils.py b/tests/unit/customizations/test_utils.py index d34eb78576a7..8b003361e090 100644 --- a/tests/unit/customizations/test_utils.py +++ b/tests/unit/customizations/test_utils.py @@ -43,7 +43,7 @@ def test_rename_command_table(self): class TestCommandTableAlias(BaseAWSHelpOutputTest): def test_alias_command_table(self): - old_name = 'alexaforbusiness' + old_name = 'cloudhsmv2' new_name = 'nopossiblewaythisisalreadythere' def handler(command_table, **kwargs): @@ -58,7 +58,7 @@ def handler(command_table, **kwargs): self.assert_not_contains(old_name) def test_make_hidden_alias(self): - old_name = 'alexaforbusiness' + old_name = 'cloudhsmv2' new_name = 'nopossiblewaythisisalreadythere' def handler(command_table, **kwargs): @@ -79,8 +79,8 @@ def _assert_command_exists(self, command_name, handler): self.assert_contains(command_name) # We can also see subcommands help as well. - self.driver.main([command_name, 'get-room', 'help']) - self.assert_contains('get-room') + self.driver.main([command_name, 'describe-clusters', 'help']) + self.assert_contains('describe-clusters') class TestHiddenAlias(unittest.TestCase): From c9db1a8a3aee124c990176541c480c320a7777cb Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 24 May 2024 19:59:46 +0000 Subject: [PATCH 0027/1087] Update changelog based on model updates --- .changes/next-release/api-change-dynamodb-86524.json | 5 +++++ .changes/next-release/api-change-iotfleetwise-26520.json | 5 +++++ .../next-release/api-change-managedblockchain-53634.json | 5 +++++ 3 files changed, 15 insertions(+) create mode 100644 .changes/next-release/api-change-dynamodb-86524.json create mode 100644 .changes/next-release/api-change-iotfleetwise-26520.json create mode 100644 .changes/next-release/api-change-managedblockchain-53634.json diff --git a/.changes/next-release/api-change-dynamodb-86524.json b/.changes/next-release/api-change-dynamodb-86524.json new file mode 100644 index 000000000000..881be3162feb --- /dev/null +++ b/.changes/next-release/api-change-dynamodb-86524.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``dynamodb``", + "description": "Documentation only updates for DynamoDB." +} diff --git a/.changes/next-release/api-change-iotfleetwise-26520.json b/.changes/next-release/api-change-iotfleetwise-26520.json new file mode 100644 index 000000000000..65cbbfe27c9d --- /dev/null +++ b/.changes/next-release/api-change-iotfleetwise-26520.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``iotfleetwise``", + "description": "AWS IoT FleetWise now supports listing vehicles with attributes filter, ListVehicles API is updated to support additional attributes filter." +} diff --git a/.changes/next-release/api-change-managedblockchain-53634.json b/.changes/next-release/api-change-managedblockchain-53634.json new file mode 100644 index 000000000000..927767b27621 --- /dev/null +++ b/.changes/next-release/api-change-managedblockchain-53634.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``managedblockchain``", + "description": "This is a minor documentation update to address the impact of the shut down of the Goerli and Polygon networks." +} From faf2677f0f12056d205e08cbb621c9b1d15e9be1 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 24 May 2024 20:00:53 +0000 Subject: [PATCH 0028/1087] Bumping version to 1.32.113 --- .changes/1.32.113.json | 17 +++++++++++++++++ .../next-release/api-change-dynamodb-86524.json | 5 ----- .../api-change-iotfleetwise-26520.json | 5 ----- .../api-change-managedblockchain-53634.json | 5 ----- CHANGELOG.rst | 8 ++++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 9 files changed, 29 insertions(+), 19 deletions(-) create mode 100644 .changes/1.32.113.json delete mode 100644 .changes/next-release/api-change-dynamodb-86524.json delete mode 100644 .changes/next-release/api-change-iotfleetwise-26520.json delete mode 100644 .changes/next-release/api-change-managedblockchain-53634.json diff --git a/.changes/1.32.113.json b/.changes/1.32.113.json new file mode 100644 index 000000000000..cfa389e1f494 --- /dev/null +++ b/.changes/1.32.113.json @@ -0,0 +1,17 @@ +[ + { + "category": "``dynamodb``", + "description": "Documentation only updates for DynamoDB.", + "type": "api-change" + }, + { + "category": "``iotfleetwise``", + "description": "AWS IoT FleetWise now supports listing vehicles with attributes filter, ListVehicles API is updated to support additional attributes filter.", + "type": "api-change" + }, + { + "category": "``managedblockchain``", + "description": "This is a minor documentation update to address the impact of the shut down of the Goerli and Polygon networks.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-dynamodb-86524.json b/.changes/next-release/api-change-dynamodb-86524.json deleted file mode 100644 index 881be3162feb..000000000000 --- a/.changes/next-release/api-change-dynamodb-86524.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``dynamodb``", - "description": "Documentation only updates for DynamoDB." -} diff --git a/.changes/next-release/api-change-iotfleetwise-26520.json b/.changes/next-release/api-change-iotfleetwise-26520.json deleted file mode 100644 index 65cbbfe27c9d..000000000000 --- a/.changes/next-release/api-change-iotfleetwise-26520.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``iotfleetwise``", - "description": "AWS IoT FleetWise now supports listing vehicles with attributes filter, ListVehicles API is updated to support additional attributes filter." -} diff --git a/.changes/next-release/api-change-managedblockchain-53634.json b/.changes/next-release/api-change-managedblockchain-53634.json deleted file mode 100644 index 927767b27621..000000000000 --- a/.changes/next-release/api-change-managedblockchain-53634.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``managedblockchain``", - "description": "This is a minor documentation update to address the impact of the shut down of the Goerli and Polygon networks." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 557c7f6681dd..c3e5a80fa5ef 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,14 @@ CHANGELOG ========= +1.32.113 +======== + +* api-change:``dynamodb``: Documentation only updates for DynamoDB. +* api-change:``iotfleetwise``: AWS IoT FleetWise now supports listing vehicles with attributes filter, ListVehicles API is updated to support additional attributes filter. +* api-change:``managedblockchain``: This is a minor documentation update to address the impact of the shut down of the Goerli and Polygon networks. + + 1.32.112 ======== diff --git a/awscli/__init__.py b/awscli/__init__.py index e31ed951f14d..972ac7cfeb3e 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -17,7 +17,7 @@ """ import os -__version__ = '1.32.112' +__version__ = '1.32.113' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 07001bc628c8..b5412889f155 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.32.1' # The full version, including alpha/beta/rc tags. -release = '1.32.112' +release = '1.32.113' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 9c92e1f92f67..9b866150b04f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.34.112 + botocore==1.34.113 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index bec2638ce70d..dda1da94f078 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.34.112', + 'botocore==1.34.113', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 447e82d3384ec0c8a29ff657b937fd0deaa0925d Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 28 May 2024 18:04:24 +0000 Subject: [PATCH 0029/1087] Update changelog based on model updates --- .changes/next-release/api-change-dynamodb-65575.json | 5 +++++ .changes/next-release/api-change-ec2-95832.json | 5 +++++ .changes/next-release/api-change-kafka-44283.json | 5 +++++ .changes/next-release/api-change-swf-43261.json | 5 +++++ 4 files changed, 20 insertions(+) create mode 100644 .changes/next-release/api-change-dynamodb-65575.json create mode 100644 .changes/next-release/api-change-ec2-95832.json create mode 100644 .changes/next-release/api-change-kafka-44283.json create mode 100644 .changes/next-release/api-change-swf-43261.json diff --git a/.changes/next-release/api-change-dynamodb-65575.json b/.changes/next-release/api-change-dynamodb-65575.json new file mode 100644 index 000000000000..9102025b02be --- /dev/null +++ b/.changes/next-release/api-change-dynamodb-65575.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``dynamodb``", + "description": "Doc-only update for DynamoDB. Specified the IAM actions needed to authorize a user to create a table with a resource-based policy." +} diff --git a/.changes/next-release/api-change-ec2-95832.json b/.changes/next-release/api-change-ec2-95832.json new file mode 100644 index 000000000000..c500ecfa160a --- /dev/null +++ b/.changes/next-release/api-change-ec2-95832.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ec2``", + "description": "Providing support to accept BgpAsnExtended attribute" +} diff --git a/.changes/next-release/api-change-kafka-44283.json b/.changes/next-release/api-change-kafka-44283.json new file mode 100644 index 000000000000..f093cad56650 --- /dev/null +++ b/.changes/next-release/api-change-kafka-44283.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``kafka``", + "description": "Adds ControllerNodeInfo in ListNodes response to support Raft mode for MSK" +} diff --git a/.changes/next-release/api-change-swf-43261.json b/.changes/next-release/api-change-swf-43261.json new file mode 100644 index 000000000000..d3cde0244214 --- /dev/null +++ b/.changes/next-release/api-change-swf-43261.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``swf``", + "description": "This release adds new APIs for deleting activity type and workflow type resources." +} From bd9ab5321f090fd5c598efadf1ebce4aeb3e7d31 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 28 May 2024 18:05:32 +0000 Subject: [PATCH 0030/1087] Bumping version to 1.32.114 --- .changes/1.32.114.json | 22 +++++++++++++++++++ .../api-change-dynamodb-65575.json | 5 ----- .../next-release/api-change-ec2-95832.json | 5 ----- .../next-release/api-change-kafka-44283.json | 5 ----- .../next-release/api-change-swf-43261.json | 5 ----- CHANGELOG.rst | 9 ++++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 10 files changed, 35 insertions(+), 24 deletions(-) create mode 100644 .changes/1.32.114.json delete mode 100644 .changes/next-release/api-change-dynamodb-65575.json delete mode 100644 .changes/next-release/api-change-ec2-95832.json delete mode 100644 .changes/next-release/api-change-kafka-44283.json delete mode 100644 .changes/next-release/api-change-swf-43261.json diff --git a/.changes/1.32.114.json b/.changes/1.32.114.json new file mode 100644 index 000000000000..bd7cd32b2ce4 --- /dev/null +++ b/.changes/1.32.114.json @@ -0,0 +1,22 @@ +[ + { + "category": "``dynamodb``", + "description": "Doc-only update for DynamoDB. Specified the IAM actions needed to authorize a user to create a table with a resource-based policy.", + "type": "api-change" + }, + { + "category": "``ec2``", + "description": "Providing support to accept BgpAsnExtended attribute", + "type": "api-change" + }, + { + "category": "``kafka``", + "description": "Adds ControllerNodeInfo in ListNodes response to support Raft mode for MSK", + "type": "api-change" + }, + { + "category": "``swf``", + "description": "This release adds new APIs for deleting activity type and workflow type resources.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-dynamodb-65575.json b/.changes/next-release/api-change-dynamodb-65575.json deleted file mode 100644 index 9102025b02be..000000000000 --- a/.changes/next-release/api-change-dynamodb-65575.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``dynamodb``", - "description": "Doc-only update for DynamoDB. Specified the IAM actions needed to authorize a user to create a table with a resource-based policy." -} diff --git a/.changes/next-release/api-change-ec2-95832.json b/.changes/next-release/api-change-ec2-95832.json deleted file mode 100644 index c500ecfa160a..000000000000 --- a/.changes/next-release/api-change-ec2-95832.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ec2``", - "description": "Providing support to accept BgpAsnExtended attribute" -} diff --git a/.changes/next-release/api-change-kafka-44283.json b/.changes/next-release/api-change-kafka-44283.json deleted file mode 100644 index f093cad56650..000000000000 --- a/.changes/next-release/api-change-kafka-44283.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``kafka``", - "description": "Adds ControllerNodeInfo in ListNodes response to support Raft mode for MSK" -} diff --git a/.changes/next-release/api-change-swf-43261.json b/.changes/next-release/api-change-swf-43261.json deleted file mode 100644 index d3cde0244214..000000000000 --- a/.changes/next-release/api-change-swf-43261.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``swf``", - "description": "This release adds new APIs for deleting activity type and workflow type resources." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index c3e5a80fa5ef..8e79389317e7 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,15 @@ CHANGELOG ========= +1.32.114 +======== + +* api-change:``dynamodb``: Doc-only update for DynamoDB. Specified the IAM actions needed to authorize a user to create a table with a resource-based policy. +* api-change:``ec2``: Providing support to accept BgpAsnExtended attribute +* api-change:``kafka``: Adds ControllerNodeInfo in ListNodes response to support Raft mode for MSK +* api-change:``swf``: This release adds new APIs for deleting activity type and workflow type resources. + + 1.32.113 ======== diff --git a/awscli/__init__.py b/awscli/__init__.py index 972ac7cfeb3e..18dd36ddef87 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -17,7 +17,7 @@ """ import os -__version__ = '1.32.113' +__version__ = '1.32.114' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index b5412889f155..3cd5d66924b0 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.32.1' # The full version, including alpha/beta/rc tags. -release = '1.32.113' +release = '1.32.114' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 9b866150b04f..006c1f4bf131 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.34.113 + botocore==1.34.114 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index dda1da94f078..8bfc3d3d82e9 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.34.113', + 'botocore==1.34.114', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 7635b00603afec8fabb7c8cba49a32ae302eda3d Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 29 May 2024 18:07:04 +0000 Subject: [PATCH 0031/1087] Update changelog based on model updates --- .changes/next-release/api-change-athena-83607.json | 5 +++++ .changes/next-release/api-change-codebuild-30479.json | 5 +++++ .changes/next-release/api-change-connect-62822.json | 5 +++++ .changes/next-release/api-change-glue-55330.json | 5 +++++ .changes/next-release/api-change-securityhub-33932.json | 5 +++++ 5 files changed, 25 insertions(+) create mode 100644 .changes/next-release/api-change-athena-83607.json create mode 100644 .changes/next-release/api-change-codebuild-30479.json create mode 100644 .changes/next-release/api-change-connect-62822.json create mode 100644 .changes/next-release/api-change-glue-55330.json create mode 100644 .changes/next-release/api-change-securityhub-33932.json diff --git a/.changes/next-release/api-change-athena-83607.json b/.changes/next-release/api-change-athena-83607.json new file mode 100644 index 000000000000..0c11abae3146 --- /dev/null +++ b/.changes/next-release/api-change-athena-83607.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``athena``", + "description": "Throwing validation errors on CreateNotebook with Name containing `/`,`:`,`\\`" +} diff --git a/.changes/next-release/api-change-codebuild-30479.json b/.changes/next-release/api-change-codebuild-30479.json new file mode 100644 index 000000000000..fdee939a9f48 --- /dev/null +++ b/.changes/next-release/api-change-codebuild-30479.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``codebuild``", + "description": "AWS CodeBuild now supports manually creating GitHub webhooks" +} diff --git a/.changes/next-release/api-change-connect-62822.json b/.changes/next-release/api-change-connect-62822.json new file mode 100644 index 000000000000..9b2193336b37 --- /dev/null +++ b/.changes/next-release/api-change-connect-62822.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``connect``", + "description": "This release includes changes to DescribeContact API's response by including ConnectedToSystemTimestamp, RoutingCriteria, Customer, Campaign, AnsweringMachineDetectionStatus, CustomerVoiceActivity, QualityMetrics, DisconnectDetails, and SegmentAttributes information from a contact in Amazon Connect." +} diff --git a/.changes/next-release/api-change-glue-55330.json b/.changes/next-release/api-change-glue-55330.json new file mode 100644 index 000000000000..44cb4e36125a --- /dev/null +++ b/.changes/next-release/api-change-glue-55330.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``glue``", + "description": "Add optional field JobMode to CreateJob and UpdateJob APIs." +} diff --git a/.changes/next-release/api-change-securityhub-33932.json b/.changes/next-release/api-change-securityhub-33932.json new file mode 100644 index 000000000000..c33a520f7156 --- /dev/null +++ b/.changes/next-release/api-change-securityhub-33932.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``securityhub``", + "description": "Add ROOT type for TargetType model" +} From f9b6f2698dfc53c0f4dc0c82aff64fb6cd8ebef6 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 29 May 2024 18:08:12 +0000 Subject: [PATCH 0032/1087] Bumping version to 1.32.115 --- .changes/1.32.115.json | 27 +++++++++++++++++++ .../next-release/api-change-athena-83607.json | 5 ---- .../api-change-codebuild-30479.json | 5 ---- .../api-change-connect-62822.json | 5 ---- .../next-release/api-change-glue-55330.json | 5 ---- .../api-change-securityhub-33932.json | 5 ---- CHANGELOG.rst | 10 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 11 files changed, 41 insertions(+), 29 deletions(-) create mode 100644 .changes/1.32.115.json delete mode 100644 .changes/next-release/api-change-athena-83607.json delete mode 100644 .changes/next-release/api-change-codebuild-30479.json delete mode 100644 .changes/next-release/api-change-connect-62822.json delete mode 100644 .changes/next-release/api-change-glue-55330.json delete mode 100644 .changes/next-release/api-change-securityhub-33932.json diff --git a/.changes/1.32.115.json b/.changes/1.32.115.json new file mode 100644 index 000000000000..a66e32cfa7f1 --- /dev/null +++ b/.changes/1.32.115.json @@ -0,0 +1,27 @@ +[ + { + "category": "``athena``", + "description": "Throwing validation errors on CreateNotebook with Name containing `/`,`:`,`\\`", + "type": "api-change" + }, + { + "category": "``codebuild``", + "description": "AWS CodeBuild now supports manually creating GitHub webhooks", + "type": "api-change" + }, + { + "category": "``connect``", + "description": "This release includes changes to DescribeContact API's response by including ConnectedToSystemTimestamp, RoutingCriteria, Customer, Campaign, AnsweringMachineDetectionStatus, CustomerVoiceActivity, QualityMetrics, DisconnectDetails, and SegmentAttributes information from a contact in Amazon Connect.", + "type": "api-change" + }, + { + "category": "``glue``", + "description": "Add optional field JobMode to CreateJob and UpdateJob APIs.", + "type": "api-change" + }, + { + "category": "``securityhub``", + "description": "Add ROOT type for TargetType model", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-athena-83607.json b/.changes/next-release/api-change-athena-83607.json deleted file mode 100644 index 0c11abae3146..000000000000 --- a/.changes/next-release/api-change-athena-83607.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``athena``", - "description": "Throwing validation errors on CreateNotebook with Name containing `/`,`:`,`\\`" -} diff --git a/.changes/next-release/api-change-codebuild-30479.json b/.changes/next-release/api-change-codebuild-30479.json deleted file mode 100644 index fdee939a9f48..000000000000 --- a/.changes/next-release/api-change-codebuild-30479.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``codebuild``", - "description": "AWS CodeBuild now supports manually creating GitHub webhooks" -} diff --git a/.changes/next-release/api-change-connect-62822.json b/.changes/next-release/api-change-connect-62822.json deleted file mode 100644 index 9b2193336b37..000000000000 --- a/.changes/next-release/api-change-connect-62822.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``connect``", - "description": "This release includes changes to DescribeContact API's response by including ConnectedToSystemTimestamp, RoutingCriteria, Customer, Campaign, AnsweringMachineDetectionStatus, CustomerVoiceActivity, QualityMetrics, DisconnectDetails, and SegmentAttributes information from a contact in Amazon Connect." -} diff --git a/.changes/next-release/api-change-glue-55330.json b/.changes/next-release/api-change-glue-55330.json deleted file mode 100644 index 44cb4e36125a..000000000000 --- a/.changes/next-release/api-change-glue-55330.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``glue``", - "description": "Add optional field JobMode to CreateJob and UpdateJob APIs." -} diff --git a/.changes/next-release/api-change-securityhub-33932.json b/.changes/next-release/api-change-securityhub-33932.json deleted file mode 100644 index c33a520f7156..000000000000 --- a/.changes/next-release/api-change-securityhub-33932.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``securityhub``", - "description": "Add ROOT type for TargetType model" -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 8e79389317e7..292117102d21 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,16 @@ CHANGELOG ========= +1.32.115 +======== + +* api-change:``athena``: Throwing validation errors on CreateNotebook with Name containing `/`,`:`,`\` +* api-change:``codebuild``: AWS CodeBuild now supports manually creating GitHub webhooks +* api-change:``connect``: This release includes changes to DescribeContact API's response by including ConnectedToSystemTimestamp, RoutingCriteria, Customer, Campaign, AnsweringMachineDetectionStatus, CustomerVoiceActivity, QualityMetrics, DisconnectDetails, and SegmentAttributes information from a contact in Amazon Connect. +* api-change:``glue``: Add optional field JobMode to CreateJob and UpdateJob APIs. +* api-change:``securityhub``: Add ROOT type for TargetType model + + 1.32.114 ======== diff --git a/awscli/__init__.py b/awscli/__init__.py index 18dd36ddef87..ac6910b718ee 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -17,7 +17,7 @@ """ import os -__version__ = '1.32.114' +__version__ = '1.32.115' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 3cd5d66924b0..3d1d4fdb0ffe 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.32.1' # The full version, including alpha/beta/rc tags. -release = '1.32.114' +release = '1.32.115' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 006c1f4bf131..4d2ebe0168b3 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.34.114 + botocore==1.34.115 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 8bfc3d3d82e9..82c910948a8a 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.34.114', + 'botocore==1.34.115', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 0b068a578e6442a91de5e85bfd0917a8879adc06 Mon Sep 17 00:00:00 2001 From: Anca Mulvey Date: Tue, 23 Apr 2024 15:00:03 -0400 Subject: [PATCH 0033/1087] Update EC2 service principal Update the EC2 service principal when creating the trust policy for EMR default roles to always be "ec2.amazonaws.com" instead of using the region to determine it. --- .../next-release/bugfix-emrcustomization-87155.json | 5 +++++ awscli/customizations/emr/constants.py | 1 + awscli/customizations/emr/createdefaultroles.py | 6 +++++- .../customizations/emr/test_create_default_role.py | 2 +- .../customizations/emr/test_get_service_principal.py | 12 +++++++++--- 5 files changed, 21 insertions(+), 5 deletions(-) create mode 100644 .changes/next-release/bugfix-emrcustomization-87155.json diff --git a/.changes/next-release/bugfix-emrcustomization-87155.json b/.changes/next-release/bugfix-emrcustomization-87155.json new file mode 100644 index 000000000000..8b5a6eb07314 --- /dev/null +++ b/.changes/next-release/bugfix-emrcustomization-87155.json @@ -0,0 +1,5 @@ +{ + "type": "bugfix", + "category": "emr customization", + "description": "Update the EC2 service principal when creating the trust policy for EMR default roles to always be ec2.amazonaws.com." +} diff --git a/awscli/customizations/emr/constants.py b/awscli/customizations/emr/constants.py index 25c18b46ec87..8d2bb51a6bbe 100644 --- a/awscli/customizations/emr/constants.py +++ b/awscli/customizations/emr/constants.py @@ -22,6 +22,7 @@ EMR_AUTOSCALING_ROLE_POLICY_NAME = "AmazonElasticMapReduceforAutoScalingRole" EMR_AUTOSCALING_SERVICE_NAME = "application-autoscaling" EMR_AUTOSCALING_SERVICE_PRINCIPAL = "application-autoscaling.amazonaws.com" +EC2_SERVICE_PRINCIPAL = "ec2.amazonaws.com" # Action on failure CONTINUE = 'CONTINUE' diff --git a/awscli/customizations/emr/createdefaultroles.py b/awscli/customizations/emr/createdefaultroles.py index 164f97354575..11c7c0e0580a 100644 --- a/awscli/customizations/emr/createdefaultroles.py +++ b/awscli/customizations/emr/createdefaultroles.py @@ -24,6 +24,7 @@ from awscli.customizations.emr.command import Command from awscli.customizations.emr.constants import EC2 from awscli.customizations.emr.constants import EC2_ROLE_NAME +from awscli.customizations.emr.constants import EC2_SERVICE_PRINCIPAL from awscli.customizations.emr.constants import ROLE_ARN_PATTERN from awscli.customizations.emr.constants import EMR from awscli.customizations.emr.constants import EMR_ROLE_NAME @@ -64,6 +65,9 @@ def get_role_policy_arn(region, policy_name): def get_service_principal(service, endpoint_host, session=None): + if service == EC2: + return EC2_SERVICE_PRINCIPAL + suffix, region = _get_suffix_and_region_from_endpoint_host(endpoint_host) if session is None: session = botocore.session.Session() @@ -277,7 +281,7 @@ def _create_role_with_role_policy( service_principal.append(get_service_principal( service, self.emr_endpoint_url, self._session)) - LOG.debug(service_principal) + LOG.debug(f'Adding service principal(s) to trust policy: {service_principal}') parameters = {'RoleName': role_name} _assume_role_policy = \ diff --git a/tests/unit/customizations/emr/test_create_default_role.py b/tests/unit/customizations/emr/test_create_default_role.py index 960ee97da66e..c8ba5bd7c54a 100644 --- a/tests/unit/customizations/emr/test_create_default_role.py +++ b/tests/unit/customizations/emr/test_create_default_role.py @@ -110,7 +110,7 @@ class TestCreateDefaultRole(BaseAWSCommandParamsTest): { "Sid": "", "Effect": "Allow", - "Principal": {"Service": "ec2.amazonaws.com.cn"}, + "Principal": {"Service": "ec2.amazonaws.com"}, "Action": "sts:AssumeRole" } ] diff --git a/tests/unit/customizations/emr/test_get_service_principal.py b/tests/unit/customizations/emr/test_get_service_principal.py index f7cccd83e795..c657f2bc2085 100644 --- a/tests/unit/customizations/emr/test_get_service_principal.py +++ b/tests/unit/customizations/emr/test_get_service_principal.py @@ -19,14 +19,15 @@ class TestEmrConfig(unittest.TestCase): ec2_service = "ec2" + ec2_service_principal = "ec2.amazonaws.com" emr_service = "elasticmapreduce" endpoint1 = "https://ap-southeast-1.elasticmapreduce.abc/" endpoint2 = "https://elasticmapreduce.abcd.def.ghi" - endpoint3 = "https://grabage.nothing.com" + endpoint3 = "https://garbage.nothing.com" expected_result1 = "elasticmapreduce.abc" expected_result2 = "elasticmapreduce.def.ghi" - def test_get_service_principal(self): + def test_get_emr_service_principal(self): msg = "Generated Service Principal does not match the expected" + \ "Service Principal" @@ -37,9 +38,14 @@ def test_get_service_principal(self): self.assertEqual(result2, self.expected_result2, msg) self.assertRaises(ResolveServicePrincipalError, - get_service_principal, self.ec2_service, + get_service_principal, self.emr_service, self.endpoint3) + def test_get_ec2_service_principal(self): + self.assertEqual(get_service_principal(self.ec2_service, self.endpoint1), self.ec2_service_principal) + self.assertEqual(get_service_principal(self.ec2_service, self.endpoint2), self.ec2_service_principal) + self.assertEqual(get_service_principal(self.ec2_service, self.endpoint3), self.ec2_service_principal) + if __name__ == "__main__": unittest.main() From b0e6b13c51495f0d63ce028c4e15b6324d1094e6 Mon Sep 17 00:00:00 2001 From: Yangtao Hua Date: Thu, 23 May 2024 16:59:48 -0700 Subject: [PATCH 0034/1087] Update to only pass profile parameter in command to session manager plugin --- awscli/customizations/sessionmanager.py | 9 +- tests/functional/ssm/test_start_session.py | 216 +++++++++++++++++- .../customizations/test_sessionmanager.py | 69 ++++-- 3 files changed, 267 insertions(+), 27 deletions(-) diff --git a/awscli/customizations/sessionmanager.py b/awscli/customizations/sessionmanager.py index 92a8f8ffbe8a..cfbffe22a298 100644 --- a/awscli/customizations/sessionmanager.py +++ b/awscli/customizations/sessionmanager.py @@ -104,11 +104,12 @@ def invoke(self, service_name, operation_name, parameters, response = client.start_session(**parameters) session_id = response['SessionId'] region_name = client.meta.region_name - # profile_name is used to passed on to session manager plugin + # Profile_name is used to passed on to session manager plugin # to fetch same profile credentials to make an api call in the plugin. - # If no profile is passed then pass on empty string - profile_name = self._session.profile \ - if self._session.profile is not None else '' + # If --profile flag is configured, pass it to Session Manager plugin. + # If not, set empty string. + profile_name = parsed_globals.profile \ + if parsed_globals.profile is not None else '' endpoint_url = client.meta.endpoint_url ssm_env_name = self.DEFAULT_SSM_ENV_NAME diff --git a/tests/functional/ssm/test_start_session.py b/tests/functional/ssm/test_start_session.py index 2ed9c9176abe..2ea8b3c4e0f4 100644 --- a/tests/functional/ssm/test_start_session.py +++ b/tests/functional/ssm/test_start_session.py @@ -15,7 +15,8 @@ from awscli.testutils import BaseAWSCommandParamsTest from awscli.testutils import BaseAWSHelpOutputTest -from awscli.testutils import mock +from awscli.testutils import create_clidriver, mock, temporary_file +from botocore.exceptions import ProfileNotFound class TestSessionManager(BaseAWSCommandParamsTest): @@ -41,7 +42,7 @@ def test_start_session_success(self, mock_check_output, mock_check_call): json.dumps(expected_response), mock.ANY, "StartSession", - mock.ANY, + "", json.dumps(start_session_params), mock.ANY, ], @@ -80,13 +81,224 @@ def test_start_session_with_new_version_plugin_success( ssm_env_name, mock.ANY, "StartSession", + "", + json.dumps(start_session_params), mock.ANY, + ], + env=expected_env, + ) + + @mock.patch("awscli.customizations.sessionmanager.check_call") + @mock.patch("awscli.customizations.sessionmanager.check_output") + def test_profile_parameter_passed_to_sessionmanager_plugin( + self, mock_check_output, mock_check_call + ): + cmdline = ( + "ssm start-session --target instance-id " + "--profile user_profile" + ) + mock_check_call.return_value = 0 + mock_check_output.return_value = "1.2.500.0\n" + expected_response = { + "SessionId": "session-id", + "TokenValue": "token-value", + "StreamUrl": "stream-url", + } + self.parsed_responses = [expected_response] + ssm_env_name = "AWS_SSM_START_SESSION_RESPONSE" + start_session_params = { + "Target": "instance-id", + } + + # We test this by creating 4 credentials + # env vars, default profile (default), + # env aws profile (local_profile) + # and StartSession command profile (user_profile) + # We want to make sure only profile name in command + # be set to session manager plugin as parameter + self.environ['AWS_ACCESS_KEY_ID'] = 'env_var_akid' + self.environ['AWS_SECRET_ACCESS_KEY'] = 'env_var_sak' + + with temporary_file('w') as f: + f.write( + '[default]\n' + 'aws_access_key_id = shared_default_akid\n' + 'aws_secret_access_key = shared_default_sak\n' + '[local_profile]\n' + 'aws_access_key_id = shared_local_akid\n' + 'aws_secret_access_key = shared_local_sak\n' + '[user_profile]\n' + 'aws_access_key_id = shared_user_akid\n' + 'aws_secret_access_key = shared_user_sak\n' + ) + f.flush() + + self.environ['AWS_SHARED_CREDENTIALS_FILE'] = f.name + self.environ["AWS_PROFILE"] = "local_profile" + + expected_env = self.environ.copy() + expected_env.update({ssm_env_name: json.dumps(expected_response)}) + + self.driver = create_clidriver() + self.run_cmd(cmdline, expected_rc=0) + + self.assertEqual(self.operations_called[0][0].name, + 'StartSession') + self.assertEqual(self.operations_called[0][1], + {'Target': 'instance-id'}) + mock_check_call.assert_called_once_with( + [ + "session-manager-plugin", + ssm_env_name, + mock.ANY, + "StartSession", + "user_profile", json.dumps(start_session_params), mock.ANY, ], env=expected_env, ) + @mock.patch("awscli.customizations.sessionmanager.check_call") + @mock.patch("awscli.customizations.sessionmanager.check_output") + def test_profile_environment_not_passed_to_sessionmanager_plugin( + self, mock_check_output, mock_check_call + ): + cmdline = "ssm start-session --target instance-id" + mock_check_call.return_value = 0 + mock_check_output.return_value = "1.2.500.0\n" + expected_response = { + "SessionId": "session-id", + "TokenValue": "token-value", + "StreamUrl": "stream-url", + } + self.parsed_responses = [expected_response] + ssm_env_name = "AWS_SSM_START_SESSION_RESPONSE" + start_session_params = { + "Target": "instance-id", + } + + with temporary_file('w') as f: + f.write( + '[default]\n' + 'aws_access_key_id = shared_default_akid\n' + 'aws_secret_access_key = shared_default_sak\n' + '[local_profile]\n' + 'aws_access_key_id = shared_local_akid\n' + 'aws_secret_access_key = shared_local_sak\n' + ) + f.flush() + + self.environ.pop("AWS_ACCESS_KEY_ID", None) + self.environ.pop("AWS_SECRET_ACCESS_KEY", None) + self.environ['AWS_SHARED_CREDENTIALS_FILE'] = f.name + self.environ["AWS_PROFILE"] = "local_profile" + + expected_env = self.environ.copy() + expected_env.update({ssm_env_name: json.dumps(expected_response)}) + + self.driver = create_clidriver() + self.run_cmd(cmdline, expected_rc=0) + + self.assertEqual(self.operations_called[0][0].name, + 'StartSession') + self.assertEqual(self.operations_called[0][1], + {'Target': 'instance-id'}) + mock_check_call.assert_called_once_with( + [ + "session-manager-plugin", + ssm_env_name, + mock.ANY, + "StartSession", + "", + json.dumps(start_session_params), + mock.ANY, + ], + env=expected_env, + ) + + @mock.patch("awscli.customizations.sessionmanager.check_call") + @mock.patch("awscli.customizations.sessionmanager.check_output") + def test_default_profile_used_and_not_passed_to_sessionmanager_plugin( + self, mock_check_output, mock_check_call + ): + cmdline = "ssm start-session --target instance-id" + mock_check_call.return_value = 0 + mock_check_output.return_value = "1.2.500.0\n" + expected_response = { + "SessionId": "session-id", + "TokenValue": "token-value", + "StreamUrl": "stream-url", + } + self.parsed_responses = [expected_response] + ssm_env_name = "AWS_SSM_START_SESSION_RESPONSE" + start_session_params = { + "Target": "instance-id", + } + + with temporary_file('w') as f: + f.write( + '[default]\n' + 'aws_access_key_id = shared_default_akid\n' + 'aws_secret_access_key = shared_default_sak\n' + ) + f.flush() + + self.environ.pop("AWS_ACCESS_KEY_ID", None) + self.environ.pop("AWS_SECRET_ACCESS_KEY", None) + self.environ.pop("AWS_SHARED_CREDENTIALS_FILE", None) + self.environ.pop("AWS_PROFILE", None) + + expected_env = self.environ.copy() + expected_env.update({ssm_env_name: json.dumps(expected_response)}) + + self.driver = create_clidriver() + self.run_cmd(cmdline, expected_rc=0) + + self.assertEqual(self.operations_called[0][0].name, + 'StartSession') + self.assertEqual(self.operations_called[0][1], + {'Target': 'instance-id'}) + mock_check_call.assert_called_once_with( + [ + "session-manager-plugin", + ssm_env_name, + mock.ANY, + "StartSession", + "", + json.dumps(start_session_params), + mock.ANY, + ], + env=expected_env, + ) + + def test_start_session_with_user_profile_not_exist(self): + cmdline = ( + "ssm start-session --target instance-id " + "--profile user_profile" + ) + with temporary_file('w') as f: + f.write( + '[default]\n' + 'aws_access_key_id = shared_default_akid\n' + 'aws_secret_access_key = shared_default_sak\n' + ) + f.flush() + + self.environ.pop("AWS_ACCESS_KEY_ID", None) + self.environ.pop("AWS_SECRET_ACCESS_KEY", None) + self.environ.pop("AWS_PROFILE", None) + self.environ['AWS_SHARED_CREDENTIALS_FILE'] = f.name + + try: + self.driver = create_clidriver() + self.run_cmd(cmdline, expected_rc=255) + except ProfileNotFound as e: + self.assertIn( + 'The config profile (user_profile) could not be found', + str(e) + ) + @mock.patch('awscli.customizations.sessionmanager.check_call') @mock.patch("awscli.customizations.sessionmanager.check_output") def test_start_session_fails(self, mock_check_output, mock_check_call): diff --git a/tests/unit/customizations/test_sessionmanager.py b/tests/unit/customizations/test_sessionmanager.py index 177d33d5ca0a..b9e5e77d838f 100644 --- a/tests/unit/customizations/test_sessionmanager.py +++ b/tests/unit/customizations/test_sessionmanager.py @@ -10,12 +10,11 @@ # distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF # ANY KIND, either express or implied. See the License for the specific # language governing permissions and limitations under the License. +import botocore.session import errno import json -import botocore.session -import subprocess - import pytest +import subprocess from awscli.customizations import sessionmanager from awscli.testutils import mock, unittest @@ -35,6 +34,9 @@ def setUp(self): self.session.profile = self.profile self.caller = sessionmanager.StartSessionCaller(self.session) + self.parsed_globals = mock.Mock() + self.parsed_globals.profile = 'user_profile' + def test_start_session_when_non_custom_start_session_fails(self): self.client.start_session.side_effect = Exception('some exception') params = {} @@ -62,7 +64,7 @@ def test_start_session_success_scenario( self.client.start_session.return_value = start_session_response rc = self.caller.invoke('ssm', 'StartSession', - start_session_params, mock.Mock()) + start_session_params, self.parsed_globals) self.assertEqual(rc, 0) self.client.start_session.assert_called_with(**start_session_params) @@ -79,7 +81,7 @@ def test_start_session_success_scenario( start_session_response, self.region, 'StartSession', - self.profile, + self.parsed_globals.profile, json.dumps(start_session_params), self.endpoint_url] ) @@ -110,7 +112,7 @@ def test_start_session_when_check_call_fails( with self.assertRaises(ValueError): self.caller.invoke('ssm', 'StartSession', - start_session_params, mock.Mock()) + start_session_params, self.parsed_globals) self.client.start_session.assert_called_with( **start_session_params) @@ -125,7 +127,7 @@ def test_start_session_when_check_call_fails( start_session_response, self.region, 'StartSession', - self.profile, + self.parsed_globals.profile, json.dumps(start_session_params), self.endpoint_url] ) @@ -136,7 +138,8 @@ def test_start_session_when_no_profile_is_passed( self, mock_check_output, mock_check_call ): mock_check_output.return_value = "1.2.500.0\n" - self.session.profile = None + self.session.profile = "session_profile" + self.parsed_globals.profile = None mock_check_call.return_value = 0 start_session_params = { @@ -148,15 +151,27 @@ def test_start_session_when_no_profile_is_passed( "TokenValue": "token-value", "StreamUrl": "stream-url" } + ssm_env_name = "AWS_SSM_START_SESSION_RESPONSE" self.client.start_session.return_value = start_session_response rc = self.caller.invoke('ssm', 'StartSession', - start_session_params, mock.Mock()) + start_session_params, self.parsed_globals) self.assertEqual(rc, 0) self.client.start_session.assert_called_with(**start_session_params) mock_check_call_list = mock_check_call.call_args[0][0] - self.assertEqual(mock_check_call_list[4], '') + self.assertEqual( + mock_check_call_list, + [ + "session-manager-plugin", + ssm_env_name, + self.region, + "StartSession", + "", + json.dumps(start_session_params), + self.endpoint_url, + ], + ) @mock.patch("awscli.customizations.sessionmanager.check_call") @mock.patch("awscli.customizations.sessionmanager.check_output") @@ -166,7 +181,10 @@ def test_start_session_with_env_variable_success_scenario( mock_check_output.return_value = "1.2.500.0\n" mock_check_call.return_value = 0 - start_session_params = {"Target": "i-123456789"} + start_session_params = { + "Target": "i-123456789" + } + start_session_response = { "SessionId": "session-id", "TokenValue": "token-value", @@ -176,7 +194,7 @@ def test_start_session_with_env_variable_success_scenario( self.client.start_session.return_value = start_session_response rc = self.caller.invoke( - "ssm", "StartSession", start_session_params, mock.Mock() + "ssm", "StartSession", start_session_params, self.parsed_globals ) self.assertEqual(rc, 0) self.client.start_session.assert_called_with(**start_session_params) @@ -194,7 +212,7 @@ def test_start_session_with_env_variable_success_scenario( ssm_env_name, self.region, "StartSession", - self.profile, + self.parsed_globals.profile, json.dumps(start_session_params), self.endpoint_url, ], @@ -214,7 +232,9 @@ def test_start_session_when_check_output_fails( returncode=1, cmd="session-manager-plugin", output="some error" ) - start_session_params = {"Target": "i-123456789"} + start_session_params = { + "Target": "i-123456789" + } start_session_response = { "SessionId": "session-id", "TokenValue": "token-value", @@ -224,7 +244,10 @@ def test_start_session_when_check_output_fails( self.client.start_session.return_value = start_session_response with self.assertRaises(subprocess.CalledProcessError): self.caller.invoke( - "ssm", "StartSession", start_session_params, mock.Mock() + "ssm", + "StartSession", + start_session_params, + self.parsed_globals ) self.client.start_session.assert_called_with(**start_session_params) @@ -240,7 +263,9 @@ def test_start_session_when_response_not_json( self, mock_check_output, mock_check_call ): mock_check_output.return_value = "1.2.500.0\n" - start_session_params = {"Target": "i-123456789"} + start_session_params = { + "Target": "i-123456789" + } start_session_response = { "SessionId": "session-id", "TokenValue": "token-value", @@ -257,7 +282,7 @@ def test_start_session_when_response_not_json( self.client.start_session.return_value = start_session_response rc = self.caller.invoke( - "ssm", "StartSession", start_session_params, mock.Mock() + "ssm", "StartSession", start_session_params, self.parsed_globals ) self.assertEqual(rc, 0) self.client.start_session.assert_called_with(**start_session_params) @@ -275,7 +300,7 @@ def test_start_session_when_response_not_json( ssm_env_name, self.region, "StartSession", - self.profile, + self.parsed_globals.profile, json.dumps(start_session_params), self.endpoint_url, ], @@ -292,7 +317,9 @@ def test_start_session_when_invalid_plugin_version( ): mock_check_output.return_value = "InvalidVersion" - start_session_params = {"Target": "i-123456789"} + start_session_params = { + "Target": "i-123456789" + } start_session_response = { "SessionId": "session-id", "TokenValue": "token-value", @@ -301,7 +328,7 @@ def test_start_session_when_invalid_plugin_version( self.client.start_session.return_value = start_session_response self.caller.invoke( - "ssm", "StartSession", start_session_params, mock.Mock() + "ssm", "StartSession", start_session_params, self.parsed_globals ) self.client.start_session.assert_called_with(**start_session_params) self.client.terminate_session.assert_not_called() @@ -317,7 +344,7 @@ def test_start_session_when_invalid_plugin_version( json.dumps(start_session_response), self.region, "StartSession", - self.profile, + self.parsed_globals.profile, json.dumps(start_session_params), self.endpoint_url, ], From e06385619f35af144e6a7db35f43d42283992b27 Mon Sep 17 00:00:00 2001 From: kyleknap Date: Wed, 29 May 2024 15:50:11 -0700 Subject: [PATCH 0035/1087] Add changelog entry --- .changes/next-release/bugfix-ssmstartsession-37817.json | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changes/next-release/bugfix-ssmstartsession-37817.json diff --git a/.changes/next-release/bugfix-ssmstartsession-37817.json b/.changes/next-release/bugfix-ssmstartsession-37817.json new file mode 100644 index 000000000000..e41125ec0587 --- /dev/null +++ b/.changes/next-release/bugfix-ssmstartsession-37817.json @@ -0,0 +1,5 @@ +{ + "type": "bugfix", + "category": "``ssm start-session``", + "description": "Only provide profile name to session-manager-plugin if provided using --profile flag" +} From 22fc2b6e3e9d0de7fd46499cd98f1b2042b85067 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 30 May 2024 18:07:48 +0000 Subject: [PATCH 0036/1087] Merge customizations for Bedrock Runtime --- awscli/customizations/removals.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/awscli/customizations/removals.py b/awscli/customizations/removals.py index 128a67b36319..0d4077264e47 100644 --- a/awscli/customizations/removals.py +++ b/awscli/customizations/removals.py @@ -51,7 +51,8 @@ def register_removals(event_handler): cmd_remover.remove(on_event='building-command-table.sagemaker-runtime', remove_commands=['invoke-endpoint-with-response-stream']) cmd_remover.remove(on_event='building-command-table.bedrock-runtime', - remove_commands=['invoke-model-with-response-stream']) + remove_commands=['invoke-model-with-response-stream', + 'converse-stream']) cmd_remover.remove(on_event='building-command-table.bedrock-agent-runtime', remove_commands=['invoke-agent']) cmd_remover.remove(on_event='building-command-table.logs', From 8570814d3c3a3fa22b5f85f38766500bf7700da2 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 30 May 2024 18:07:54 +0000 Subject: [PATCH 0037/1087] Update changelog based on model updates --- .changes/next-release/api-change-acm-32963.json | 5 +++++ .changes/next-release/api-change-bedrockagent-71924.json | 5 +++++ .changes/next-release/api-change-bedrockruntime-63223.json | 5 +++++ .changes/next-release/api-change-cloudtrail-63942.json | 5 +++++ .changes/next-release/api-change-connect-86092.json | 5 +++++ .changes/next-release/api-change-emrserverless-86252.json | 5 +++++ .changes/next-release/api-change-rds-73980.json | 5 +++++ .changes/next-release/api-change-sagemaker-49174.json | 5 +++++ 8 files changed, 40 insertions(+) create mode 100644 .changes/next-release/api-change-acm-32963.json create mode 100644 .changes/next-release/api-change-bedrockagent-71924.json create mode 100644 .changes/next-release/api-change-bedrockruntime-63223.json create mode 100644 .changes/next-release/api-change-cloudtrail-63942.json create mode 100644 .changes/next-release/api-change-connect-86092.json create mode 100644 .changes/next-release/api-change-emrserverless-86252.json create mode 100644 .changes/next-release/api-change-rds-73980.json create mode 100644 .changes/next-release/api-change-sagemaker-49174.json diff --git a/.changes/next-release/api-change-acm-32963.json b/.changes/next-release/api-change-acm-32963.json new file mode 100644 index 000000000000..647973af68af --- /dev/null +++ b/.changes/next-release/api-change-acm-32963.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``acm``", + "description": "add v2 smoke tests and smithy smokeTests trait for SDK testing." +} diff --git a/.changes/next-release/api-change-bedrockagent-71924.json b/.changes/next-release/api-change-bedrockagent-71924.json new file mode 100644 index 000000000000..5ef0feb89389 --- /dev/null +++ b/.changes/next-release/api-change-bedrockagent-71924.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-agent``", + "description": "With this release, Knowledge bases for Bedrock adds support for Titan Text Embedding v2." +} diff --git a/.changes/next-release/api-change-bedrockruntime-63223.json b/.changes/next-release/api-change-bedrockruntime-63223.json new file mode 100644 index 000000000000..7ed150636d1a --- /dev/null +++ b/.changes/next-release/api-change-bedrockruntime-63223.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-runtime``", + "description": "This release adds Converse and ConverseStream APIs to Bedrock Runtime" +} diff --git a/.changes/next-release/api-change-cloudtrail-63942.json b/.changes/next-release/api-change-cloudtrail-63942.json new file mode 100644 index 000000000000..75fb0d4a770e --- /dev/null +++ b/.changes/next-release/api-change-cloudtrail-63942.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``cloudtrail``", + "description": "CloudTrail Lake returns PartitionKeys in the GetEventDataStore API response. Events are grouped into partitions based on these keys for better query performance. For example, the calendarday key groups events by day, while combining the calendarday key with the hour key groups them by day and hour." +} diff --git a/.changes/next-release/api-change-connect-86092.json b/.changes/next-release/api-change-connect-86092.json new file mode 100644 index 000000000000..2634af1eeb10 --- /dev/null +++ b/.changes/next-release/api-change-connect-86092.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``connect``", + "description": "Adding associatedQueueIds as a SearchCriteria and response field to the SearchRoutingProfiles API" +} diff --git a/.changes/next-release/api-change-emrserverless-86252.json b/.changes/next-release/api-change-emrserverless-86252.json new file mode 100644 index 000000000000..23343c662a93 --- /dev/null +++ b/.changes/next-release/api-change-emrserverless-86252.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``emr-serverless``", + "description": "The release adds support for spark structured streaming." +} diff --git a/.changes/next-release/api-change-rds-73980.json b/.changes/next-release/api-change-rds-73980.json new file mode 100644 index 000000000000..c95b8b33ab7d --- /dev/null +++ b/.changes/next-release/api-change-rds-73980.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``rds``", + "description": "Updates Amazon RDS documentation for Aurora Postgres DBname." +} diff --git a/.changes/next-release/api-change-sagemaker-49174.json b/.changes/next-release/api-change-sagemaker-49174.json new file mode 100644 index 000000000000..f2cfb5cf7a23 --- /dev/null +++ b/.changes/next-release/api-change-sagemaker-49174.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``sagemaker``", + "description": "Adds Model Card information as a new component to Model Package. Autopilot launches algorithm selection for TimeSeries modality to generate AutoML candidates per algorithm." +} From d2f41f5e52a1838cdb125eada7125fb46112d92c Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 30 May 2024 18:09:03 +0000 Subject: [PATCH 0038/1087] Bumping version to 1.32.116 --- .changes/1.32.116.json | 47 +++++++++++++++++++ .../next-release/api-change-acm-32963.json | 5 -- .../api-change-bedrockagent-71924.json | 5 -- .../api-change-bedrockruntime-63223.json | 5 -- .../api-change-cloudtrail-63942.json | 5 -- .../api-change-connect-86092.json | 5 -- .../api-change-emrserverless-86252.json | 5 -- .../next-release/api-change-rds-73980.json | 5 -- .../api-change-sagemaker-49174.json | 5 -- .../bugfix-ssmstartsession-37817.json | 5 -- CHANGELOG.rst | 14 ++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 15 files changed, 65 insertions(+), 49 deletions(-) create mode 100644 .changes/1.32.116.json delete mode 100644 .changes/next-release/api-change-acm-32963.json delete mode 100644 .changes/next-release/api-change-bedrockagent-71924.json delete mode 100644 .changes/next-release/api-change-bedrockruntime-63223.json delete mode 100644 .changes/next-release/api-change-cloudtrail-63942.json delete mode 100644 .changes/next-release/api-change-connect-86092.json delete mode 100644 .changes/next-release/api-change-emrserverless-86252.json delete mode 100644 .changes/next-release/api-change-rds-73980.json delete mode 100644 .changes/next-release/api-change-sagemaker-49174.json delete mode 100644 .changes/next-release/bugfix-ssmstartsession-37817.json diff --git a/.changes/1.32.116.json b/.changes/1.32.116.json new file mode 100644 index 000000000000..6f7787e74ca4 --- /dev/null +++ b/.changes/1.32.116.json @@ -0,0 +1,47 @@ +[ + { + "category": "``acm``", + "description": "add v2 smoke tests and smithy smokeTests trait for SDK testing.", + "type": "api-change" + }, + { + "category": "``bedrock-agent``", + "description": "With this release, Knowledge bases for Bedrock adds support for Titan Text Embedding v2.", + "type": "api-change" + }, + { + "category": "``bedrock-runtime``", + "description": "This release adds Converse and ConverseStream APIs to Bedrock Runtime", + "type": "api-change" + }, + { + "category": "``cloudtrail``", + "description": "CloudTrail Lake returns PartitionKeys in the GetEventDataStore API response. Events are grouped into partitions based on these keys for better query performance. For example, the calendarday key groups events by day, while combining the calendarday key with the hour key groups them by day and hour.", + "type": "api-change" + }, + { + "category": "``connect``", + "description": "Adding associatedQueueIds as a SearchCriteria and response field to the SearchRoutingProfiles API", + "type": "api-change" + }, + { + "category": "``emr-serverless``", + "description": "The release adds support for spark structured streaming.", + "type": "api-change" + }, + { + "category": "``rds``", + "description": "Updates Amazon RDS documentation for Aurora Postgres DBname.", + "type": "api-change" + }, + { + "category": "``sagemaker``", + "description": "Adds Model Card information as a new component to Model Package. Autopilot launches algorithm selection for TimeSeries modality to generate AutoML candidates per algorithm.", + "type": "api-change" + }, + { + "category": "``ssm start-session``", + "description": "Only provide profile name to session-manager-plugin if provided using --profile flag", + "type": "bugfix" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-acm-32963.json b/.changes/next-release/api-change-acm-32963.json deleted file mode 100644 index 647973af68af..000000000000 --- a/.changes/next-release/api-change-acm-32963.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``acm``", - "description": "add v2 smoke tests and smithy smokeTests trait for SDK testing." -} diff --git a/.changes/next-release/api-change-bedrockagent-71924.json b/.changes/next-release/api-change-bedrockagent-71924.json deleted file mode 100644 index 5ef0feb89389..000000000000 --- a/.changes/next-release/api-change-bedrockagent-71924.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-agent``", - "description": "With this release, Knowledge bases for Bedrock adds support for Titan Text Embedding v2." -} diff --git a/.changes/next-release/api-change-bedrockruntime-63223.json b/.changes/next-release/api-change-bedrockruntime-63223.json deleted file mode 100644 index 7ed150636d1a..000000000000 --- a/.changes/next-release/api-change-bedrockruntime-63223.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-runtime``", - "description": "This release adds Converse and ConverseStream APIs to Bedrock Runtime" -} diff --git a/.changes/next-release/api-change-cloudtrail-63942.json b/.changes/next-release/api-change-cloudtrail-63942.json deleted file mode 100644 index 75fb0d4a770e..000000000000 --- a/.changes/next-release/api-change-cloudtrail-63942.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``cloudtrail``", - "description": "CloudTrail Lake returns PartitionKeys in the GetEventDataStore API response. Events are grouped into partitions based on these keys for better query performance. For example, the calendarday key groups events by day, while combining the calendarday key with the hour key groups them by day and hour." -} diff --git a/.changes/next-release/api-change-connect-86092.json b/.changes/next-release/api-change-connect-86092.json deleted file mode 100644 index 2634af1eeb10..000000000000 --- a/.changes/next-release/api-change-connect-86092.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``connect``", - "description": "Adding associatedQueueIds as a SearchCriteria and response field to the SearchRoutingProfiles API" -} diff --git a/.changes/next-release/api-change-emrserverless-86252.json b/.changes/next-release/api-change-emrserverless-86252.json deleted file mode 100644 index 23343c662a93..000000000000 --- a/.changes/next-release/api-change-emrserverless-86252.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``emr-serverless``", - "description": "The release adds support for spark structured streaming." -} diff --git a/.changes/next-release/api-change-rds-73980.json b/.changes/next-release/api-change-rds-73980.json deleted file mode 100644 index c95b8b33ab7d..000000000000 --- a/.changes/next-release/api-change-rds-73980.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``rds``", - "description": "Updates Amazon RDS documentation for Aurora Postgres DBname." -} diff --git a/.changes/next-release/api-change-sagemaker-49174.json b/.changes/next-release/api-change-sagemaker-49174.json deleted file mode 100644 index f2cfb5cf7a23..000000000000 --- a/.changes/next-release/api-change-sagemaker-49174.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``sagemaker``", - "description": "Adds Model Card information as a new component to Model Package. Autopilot launches algorithm selection for TimeSeries modality to generate AutoML candidates per algorithm." -} diff --git a/.changes/next-release/bugfix-ssmstartsession-37817.json b/.changes/next-release/bugfix-ssmstartsession-37817.json deleted file mode 100644 index e41125ec0587..000000000000 --- a/.changes/next-release/bugfix-ssmstartsession-37817.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "bugfix", - "category": "``ssm start-session``", - "description": "Only provide profile name to session-manager-plugin if provided using --profile flag" -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 292117102d21..648d7ba57272 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,20 @@ CHANGELOG ========= +1.32.116 +======== + +* api-change:``acm``: add v2 smoke tests and smithy smokeTests trait for SDK testing. +* api-change:``bedrock-agent``: With this release, Knowledge bases for Bedrock adds support for Titan Text Embedding v2. +* api-change:``bedrock-runtime``: This release adds Converse and ConverseStream APIs to Bedrock Runtime +* api-change:``cloudtrail``: CloudTrail Lake returns PartitionKeys in the GetEventDataStore API response. Events are grouped into partitions based on these keys for better query performance. For example, the calendarday key groups events by day, while combining the calendarday key with the hour key groups them by day and hour. +* api-change:``connect``: Adding associatedQueueIds as a SearchCriteria and response field to the SearchRoutingProfiles API +* api-change:``emr-serverless``: The release adds support for spark structured streaming. +* api-change:``rds``: Updates Amazon RDS documentation for Aurora Postgres DBname. +* api-change:``sagemaker``: Adds Model Card information as a new component to Model Package. Autopilot launches algorithm selection for TimeSeries modality to generate AutoML candidates per algorithm. +* bugfix:``ssm start-session``: Only provide profile name to session-manager-plugin if provided using --profile flag + + 1.32.115 ======== diff --git a/awscli/__init__.py b/awscli/__init__.py index ac6910b718ee..0533b2b41be0 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -17,7 +17,7 @@ """ import os -__version__ = '1.32.115' +__version__ = '1.32.116' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 3d1d4fdb0ffe..7ebc7a3270ec 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.32.1' # The full version, including alpha/beta/rc tags. -release = '1.32.115' +release = '1.32.116' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 4d2ebe0168b3..fa56c6db6d5b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.34.115 + botocore==1.34.116 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 82c910948a8a..17e0381f6fff 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.34.115', + 'botocore==1.34.116', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 3163b8d803af1111ffc50f7dfd2ed77897c70e7b Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 31 May 2024 18:16:34 +0000 Subject: [PATCH 0039/1087] Update changelog based on model updates --- .changes/next-release/api-change-codebuild-30276.json | 5 +++++ .changes/next-release/api-change-codegurusecurity-36043.json | 5 +++++ .changes/next-release/api-change-elasticache-15859.json | 5 +++++ .changes/next-release/api-change-launchwizard-80211.json | 5 +++++ 4 files changed, 20 insertions(+) create mode 100644 .changes/next-release/api-change-codebuild-30276.json create mode 100644 .changes/next-release/api-change-codegurusecurity-36043.json create mode 100644 .changes/next-release/api-change-elasticache-15859.json create mode 100644 .changes/next-release/api-change-launchwizard-80211.json diff --git a/.changes/next-release/api-change-codebuild-30276.json b/.changes/next-release/api-change-codebuild-30276.json new file mode 100644 index 000000000000..f583c6feb609 --- /dev/null +++ b/.changes/next-release/api-change-codebuild-30276.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``codebuild``", + "description": "AWS CodeBuild now supports Self-hosted GitHub Actions runners for Github Enterprise" +} diff --git a/.changes/next-release/api-change-codegurusecurity-36043.json b/.changes/next-release/api-change-codegurusecurity-36043.json new file mode 100644 index 000000000000..502ad1163ca4 --- /dev/null +++ b/.changes/next-release/api-change-codegurusecurity-36043.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``codeguru-security``", + "description": "This release includes minor model updates and documentation updates." +} diff --git a/.changes/next-release/api-change-elasticache-15859.json b/.changes/next-release/api-change-elasticache-15859.json new file mode 100644 index 000000000000..2168a66ca6e9 --- /dev/null +++ b/.changes/next-release/api-change-elasticache-15859.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``elasticache``", + "description": "Update to attributes of TestFailover and minor revisions." +} diff --git a/.changes/next-release/api-change-launchwizard-80211.json b/.changes/next-release/api-change-launchwizard-80211.json new file mode 100644 index 000000000000..f3b631f361db --- /dev/null +++ b/.changes/next-release/api-change-launchwizard-80211.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``launch-wizard``", + "description": "This release adds support for describing workload deployment specifications, deploying additional workload types, and managing tags for Launch Wizard resources with API operations." +} From e84b22c10fcd93b5336916a6000728411b4ef45e Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 31 May 2024 18:17:40 +0000 Subject: [PATCH 0040/1087] Bumping version to 1.32.117 --- .changes/1.32.117.json | 22 +++++++++++++++++++ .../api-change-codebuild-30276.json | 5 ----- .../api-change-codegurusecurity-36043.json | 5 ----- .../api-change-elasticache-15859.json | 5 ----- .../api-change-launchwizard-80211.json | 5 ----- CHANGELOG.rst | 9 ++++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 10 files changed, 35 insertions(+), 24 deletions(-) create mode 100644 .changes/1.32.117.json delete mode 100644 .changes/next-release/api-change-codebuild-30276.json delete mode 100644 .changes/next-release/api-change-codegurusecurity-36043.json delete mode 100644 .changes/next-release/api-change-elasticache-15859.json delete mode 100644 .changes/next-release/api-change-launchwizard-80211.json diff --git a/.changes/1.32.117.json b/.changes/1.32.117.json new file mode 100644 index 000000000000..abbe7aba702d --- /dev/null +++ b/.changes/1.32.117.json @@ -0,0 +1,22 @@ +[ + { + "category": "``codebuild``", + "description": "AWS CodeBuild now supports Self-hosted GitHub Actions runners for Github Enterprise", + "type": "api-change" + }, + { + "category": "``codeguru-security``", + "description": "This release includes minor model updates and documentation updates.", + "type": "api-change" + }, + { + "category": "``elasticache``", + "description": "Update to attributes of TestFailover and minor revisions.", + "type": "api-change" + }, + { + "category": "``launch-wizard``", + "description": "This release adds support for describing workload deployment specifications, deploying additional workload types, and managing tags for Launch Wizard resources with API operations.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-codebuild-30276.json b/.changes/next-release/api-change-codebuild-30276.json deleted file mode 100644 index f583c6feb609..000000000000 --- a/.changes/next-release/api-change-codebuild-30276.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``codebuild``", - "description": "AWS CodeBuild now supports Self-hosted GitHub Actions runners for Github Enterprise" -} diff --git a/.changes/next-release/api-change-codegurusecurity-36043.json b/.changes/next-release/api-change-codegurusecurity-36043.json deleted file mode 100644 index 502ad1163ca4..000000000000 --- a/.changes/next-release/api-change-codegurusecurity-36043.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``codeguru-security``", - "description": "This release includes minor model updates and documentation updates." -} diff --git a/.changes/next-release/api-change-elasticache-15859.json b/.changes/next-release/api-change-elasticache-15859.json deleted file mode 100644 index 2168a66ca6e9..000000000000 --- a/.changes/next-release/api-change-elasticache-15859.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``elasticache``", - "description": "Update to attributes of TestFailover and minor revisions." -} diff --git a/.changes/next-release/api-change-launchwizard-80211.json b/.changes/next-release/api-change-launchwizard-80211.json deleted file mode 100644 index f3b631f361db..000000000000 --- a/.changes/next-release/api-change-launchwizard-80211.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``launch-wizard``", - "description": "This release adds support for describing workload deployment specifications, deploying additional workload types, and managing tags for Launch Wizard resources with API operations." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 648d7ba57272..d3c87cb8a009 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,15 @@ CHANGELOG ========= +1.32.117 +======== + +* api-change:``codebuild``: AWS CodeBuild now supports Self-hosted GitHub Actions runners for Github Enterprise +* api-change:``codeguru-security``: This release includes minor model updates and documentation updates. +* api-change:``elasticache``: Update to attributes of TestFailover and minor revisions. +* api-change:``launch-wizard``: This release adds support for describing workload deployment specifications, deploying additional workload types, and managing tags for Launch Wizard resources with API operations. + + 1.32.116 ======== diff --git a/awscli/__init__.py b/awscli/__init__.py index 0533b2b41be0..7bfcc3f2d21a 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -17,7 +17,7 @@ """ import os -__version__ = '1.32.116' +__version__ = '1.32.117' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 7ebc7a3270ec..e485c38ed462 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.32.1' # The full version, including alpha/beta/rc tags. -release = '1.32.116' +release = '1.32.117' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index fa56c6db6d5b..62c1c0c70472 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.34.116 + botocore==1.34.117 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 17e0381f6fff..f5d4c23006da 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.34.116', + 'botocore==1.34.117', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From f904fcb52a9a6425054060d4180098b37ec7b555 Mon Sep 17 00:00:00 2001 From: Kumar Abhishek Date: Tue, 26 Mar 2024 10:31:46 -0700 Subject: [PATCH 0041/1087] Add logs start-live-tail command Provides the ability to view log events from log groups in real-time. --- .../feature-logsstartlivetail-24997.json | 5 + awscli/customizations/logs/__init__.py | 9 + awscli/customizations/logs/startlivetail.py | 285 ++++++++++++++++++ awscli/customizations/removals.py | 2 - awscli/handlers.py | 2 + tests/functional/logs/test_startlivetail.py | 100 ++++++ .../customizations/logs/test_startlivetail.py | 141 +++++++++ 7 files changed, 542 insertions(+), 2 deletions(-) create mode 100644 .changes/next-release/feature-logsstartlivetail-24997.json create mode 100644 awscli/customizations/logs/__init__.py create mode 100644 awscli/customizations/logs/startlivetail.py create mode 100644 tests/functional/logs/test_startlivetail.py create mode 100644 tests/unit/customizations/logs/test_startlivetail.py diff --git a/.changes/next-release/feature-logsstartlivetail-24997.json b/.changes/next-release/feature-logsstartlivetail-24997.json new file mode 100644 index 000000000000..35211a0dfee8 --- /dev/null +++ b/.changes/next-release/feature-logsstartlivetail-24997.json @@ -0,0 +1,5 @@ +{ + "type": "feature", + "category": "logs start-live-tail", + "description": "Adds support for starting a live tail streaming session for one or more log groups." +} diff --git a/awscli/customizations/logs/__init__.py b/awscli/customizations/logs/__init__.py new file mode 100644 index 000000000000..d6672092735e --- /dev/null +++ b/awscli/customizations/logs/__init__.py @@ -0,0 +1,9 @@ +from awscli.customizations.logs.startlivetail import StartLiveTailCommand + + +def register_logs_commands(cli): + cli.register('building-command-table.logs', inject_start_live_tail_command) + + +def inject_start_live_tail_command(command_table, session, **kwargs): + command_table['start-live-tail'] = StartLiveTailCommand(session) \ No newline at end of file diff --git a/awscli/customizations/logs/startlivetail.py b/awscli/customizations/logs/startlivetail.py new file mode 100644 index 000000000000..f4ddb8afbd7f --- /dev/null +++ b/awscli/customizations/logs/startlivetail.py @@ -0,0 +1,285 @@ +# Copyright 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"). You +# may not use this file except in compliance with the License. A copy of +# the License is located at +# +# http://aws.amazon.com/apache2.0/ +# +# or in the "license" file accompanying this file. This file is +# distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF +# ANY KIND, either express or implied. See the License for the specific +# language governing permissions and limitations under the License. +from functools import partial +from threading import Thread +import contextlib +import signal +import sys +import time + +from awscli.compat import get_stdout_text_writer +from awscli.customizations.commands import BasicCommand +from awscli.utils import is_a_tty + + +DESCRIPTION = ( + "Starts a Live Tail streaming session for one or more log groups. " + "A Live Tail session provides a near real-time streaming of " + "log events as they are ingested into selected log groups. " + "A session can go on for a maximum of 3 hours.\n\n" + "You must have logs:StartLiveTail permission to perform this operation. " + "If the log events matching the filters are more than 500 events per second, " + "we sample the events to provide the real-time tailing experience.\n\n" + "If you are using CloudWatch cross-account observability, " + "you can use this operation in a monitoring account and start tailing on " + "Log Group(s) present in the linked source accounts. " + 'For more information, see CloudWatch cross-account observability.' +) + +LIST_SCHEMA = {"type": "array", "items": {"type": "string"}} + +LOG_GROUP_IDENTIFIERS = { + "name": "log-group-identifiers", + "required": True, + "positional_arg": False, + "nargs": "+", + "schema": LIST_SCHEMA, + "help_text": ( + "The Log Group Identifiers are the ARNs for the CloudWatch Logs groups to tail. " + "You can provide up to 10 Log Group Identifiers.\n\n" + "Logs can be filtered by Log Stream(s) by providing " + "--log-stream-names or --log-stream-name-prefixes. " + "If more than one Log Group is provided " + "--log-stream-names and --log-stream-name-prefixes is disabled. " + "--log-stream-names and --log-stream-name-prefixes can't be provided simultaneously.\n\n" + "Note - The Log Group ARN must be in the following format. " + "Replace REGION and ACCOUNT_ID with your Region and account ID. " + "``arn:aws:logs:REGION :ACCOUNT_ID :log-group:LOG_GROUP_NAME``. " + "A ``:*`` after the ARN is prohibited." + "For more information about ARN format, " + 'see CloudWatch Logs resources and operations.' + ), +} + +LOG_STREAM_NAMES = { + "name": "log-stream-names", + "positional_arg": False, + "nargs": "+", + "schema": LIST_SCHEMA, + "help_text": ( + "The list of stream names to filter logs by.\n\n This parameter cannot be " + "specified when --log-stream-name-prefixes are also specified. " + "This parameter cannot be specified when multiple log-group-identifiers are specified" + ), +} + +LOG_STREAM_NAME_PREFIXES = { + "name": "log-stream-name-prefixes", + "positional_arg": False, + "nargs": "+", + "schema": LIST_SCHEMA, + "help_text": ( + "The prefix to filter logs by. Only events from log streams with names beginning " + "with this prefix will be returned. \n\nThis parameter cannot be specified when " + "--log-stream-names is also specified. This parameter cannot be specified when " + "multiple log-group-identifiers are specified" + ), +} + +LOG_EVENT_FILTER_PATTERN = { + "name": "log-event-filter-pattern", + "positional_arg": False, + "cli_type_name": "string", + "help_text": ( + "The filter pattern to use. " + 'See Filter and Pattern Syntax ' + "for details. If not provided, all the events are matched. " + "This option can be used to include or exclude log events patterns. " + "Additionally, when multiple filter patterns are provided, they must be encapsulated by quotes." + ), +} + + +def signal_handler(printer, signum, frame): + printer.interrupt_session = True + + +@contextlib.contextmanager +def handle_signal(printer): + signal_list = [signal.SIGINT, signal.SIGTERM] + if sys.platform != "win32": + signal_list.append(signal.SIGPIPE) + actual_signals = [] + for user_signal in signal_list: + actual_signals.append( + signal.signal(user_signal, partial(signal_handler, printer)) + ) + try: + yield + finally: + for sig, user_signal in enumerate(signal_list): + signal.signal(user_signal, actual_signals[sig]) + + +class LiveTailSessionMetadata: + def __init__(self) -> None: + self._session_start_time = time.time() + self._is_sampled = False + + @property + def session_start_time(self): + return self._session_start_time + + @property + def is_sampled(self): + return self._is_sampled + + def update_metadata(self, session_metadata): + self._is_sampled = session_metadata["sampled"] + + +class PrintOnlyPrinter: + def __init__(self, output, log_events) -> None: + self._output = output + self._log_events = log_events + self.interrupt_session = False + + def _print_log_events(self): + for log_event in self._log_events: + self._output.write(log_event + "\n") + self._output.flush() + + self._log_events.clear() + + def run(self): + try: + while True: + self._print_log_events() + + if self.interrupt_session: + break + + time.sleep(1) + except (BrokenPipeError, KeyboardInterrupt): + pass + + +class PrintOnlyUI: + def __init__(self, output, log_events) -> None: + self._log_events = log_events + self._printer = PrintOnlyPrinter(output, self._log_events) + + def exit(self): + self._printer.interrupt_session = True + + def run(self): + with handle_signal(self._printer): + self._printer.run() + + +class LiveTailLogEventsCollector(Thread): + def __init__( + self, + output, + ui, + response_stream, + log_events: list, + session_metadata: LiveTailSessionMetadata, + ) -> None: + super().__init__() + self._output = output + self._ui = ui + self._response_stream = response_stream + self._log_events = log_events + self._session_metadata = session_metadata + self._exception = None + + def _collect_log_events(self): + try: + for event in self._response_stream: + if not "sessionUpdate" in event: + continue + + session_update = event["sessionUpdate"] + self._session_metadata.update_metadata( + session_update["sessionMetadata"] + ) + logEvents = session_update["sessionResults"] + for logEvent in logEvents: + self._log_events.append(logEvent["message"]) + except Exception as e: + self._exception = e + + self._ui.exit() + + def stop(self): + if self._exception is not None: + self._output.write(str(self._exception) + "\n") + self._output.flush() + + def run(self): + self._collect_log_events() + + +class StartLiveTailCommand(BasicCommand): + NAME = "start-live-tail" + DESCRIPTION = DESCRIPTION + ARG_TABLE = [ + LOG_GROUP_IDENTIFIERS, + LOG_STREAM_NAMES, + LOG_STREAM_NAME_PREFIXES, + LOG_EVENT_FILTER_PATTERN, + ] + + def __init__(self, session): + super(StartLiveTailCommand, self).__init__(session) + self._output = get_stdout_text_writer() + + def _get_client(self, parsed_globals): + return self._session.create_client( + "logs", + region_name=parsed_globals.region, + endpoint_url=parsed_globals.endpoint_url, + verify=parsed_globals.verify_ssl, + ) + + def _get_start_live_tail_kwargs(self, parsed_args): + kwargs = {"logGroupIdentifiers": parsed_args.log_group_identifiers} + + if parsed_args.log_stream_names is not None: + kwargs["logStreamNames"] = parsed_args.log_stream_names + if parsed_args.log_stream_name_prefixes is not None: + kwargs["logStreamNamePrefixes"] = parsed_args.log_stream_name_prefixes + if parsed_args.log_event_filter_pattern is not None: + kwargs["logEventFilterPattern"] = parsed_args.log_event_filter_pattern + + return kwargs + + def _is_color_allowed(self, color): + if color == "on": + return True + elif color == "off": + return False + return is_a_tty() + + def _run_main(self, parsed_args, parsed_globals): + self._client = self._get_client(parsed_globals) + + start_live_tail_kwargs = self._get_start_live_tail_kwargs(parsed_args) + response = self._client.start_live_tail(**start_live_tail_kwargs) + + log_events = [] + session_metadata = LiveTailSessionMetadata() + + ui = PrintOnlyUI(self._output, log_events) + + log_events_collector = LiveTailLogEventsCollector( + self._output, ui, response["responseStream"], log_events, session_metadata + ) + log_events_collector.daemon = True + + log_events_collector.start() + ui.run() + + log_events_collector.stop() + sys.exit(0) diff --git a/awscli/customizations/removals.py b/awscli/customizations/removals.py index 0d4077264e47..0a60b9a8c625 100644 --- a/awscli/customizations/removals.py +++ b/awscli/customizations/removals.py @@ -55,8 +55,6 @@ def register_removals(event_handler): 'converse-stream']) cmd_remover.remove(on_event='building-command-table.bedrock-agent-runtime', remove_commands=['invoke-agent']) - cmd_remover.remove(on_event='building-command-table.logs', - remove_commands=['start-live-tail']) cmd_remover.remove(on_event='building-command-table.qbusiness', remove_commands=['chat']) diff --git a/awscli/handlers.py b/awscli/handlers.py index 356ae45c7cc9..41376698d28b 100644 --- a/awscli/handlers.py +++ b/awscli/handlers.py @@ -96,6 +96,7 @@ register_kinesis_list_streams_pagination_backcompat from awscli.customizations.quicksight import \ register_quicksight_asset_bundle_customizations +from awscli.customizations.logs import register_logs_commands def awscli_initialize(event_handlers): @@ -191,3 +192,4 @@ def awscli_initialize(event_handlers): register_override_ssl_common_name(event_handlers) register_kinesis_list_streams_pagination_backcompat(event_handlers) register_quicksight_asset_bundle_customizations(event_handlers) + register_logs_commands(event_handlers) diff --git a/tests/functional/logs/test_startlivetail.py b/tests/functional/logs/test_startlivetail.py new file mode 100644 index 000000000000..a9b55bcb4938 --- /dev/null +++ b/tests/functional/logs/test_startlivetail.py @@ -0,0 +1,100 @@ +# Copyright 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"). You +# may not use this file except in compliance with the License. A copy of +# the License is located at +# +# http://aws.amazon.com/apache2.0/ +# +# or in the "license" file accompanying this file. This file is +# distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF +# ANY KIND, either express or implied. See the License for the specific +# language governing permissions and limitations under the License. +from awscli.testutils import mock, BaseAWSCommandParamsTest + + +class TestStartLiveTailCommand(BaseAWSCommandParamsTest): + def setUp(self): + super(TestStartLiveTailCommand, self).setUp() + self.log_group_identifiers = [ + "arn:aws:logs:us-east-1:123456789012:log-group:mygroup" + ] + self.log_stream_names = ["mystream"] + self.log_stream_name_prefixes = ["mystream"] + self.log_event_filter_pattern = "filterPattern" + + self.raw_stream = mock.Mock() + self.raw_stream.stream = mock.MagicMock(return_value=[]) + self.event_stream = mock.Mock() + self.updates = iter( + [ + {"sessionStart": "The session is started"}, + { + "sessionUpdate": { + "sessionMetadata": {"sampled": False}, + "sessionResults": [ + {"message": "LogEvent1"}, + {"message": "LogEvent2"}, + ], + } + }, + ] + ) + self.parsed_responses = [{"responseStream": self.event_stream}] + + def tearDown(self): + super(TestStartLiveTailCommand, self).tearDown() + + def test_start_live_tail(self): + self.event_stream.__iter__ = mock.MagicMock(return_value=self.updates) + + stdout, _, _ = self.assert_params_for_cmd( + "logs start-live-tail --log-group-identifiers {}".format( + " ".join(self.log_group_identifiers) + ), + params={"logGroupIdentifiers": self.log_group_identifiers}, + ) + self.assertEqual(stdout, "LogEvent1\nLogEvent2\n") + + def test_start_live_tail_with_log_stream_names(self): + self.event_stream.__iter__ = mock.MagicMock(return_value=self.updates) + + stdout, _, _ = self.assert_params_for_cmd( + "logs start-live-tail --log-group-identifiers {} --log-stream-names {}".format( + " ".join(self.log_group_identifiers), " ".join(self.log_stream_names) + ), + params={ + "logGroupIdentifiers": self.log_group_identifiers, + "logStreamNames": self.log_stream_names, + }, + ) + self.assertEqual(stdout, "LogEvent1\nLogEvent2\n") + + def test_start_live_tail_with_log_stream_name_prefixes(self): + self.event_stream.__iter__ = mock.MagicMock(return_value=self.updates) + + stdout, _, _ = self.assert_params_for_cmd( + "logs start-live-tail --log-group-identifiers {} --log-stream-name-prefixes {}".format( + " ".join(self.log_group_identifiers), + " ".join(self.log_stream_name_prefixes), + ), + params={ + "logGroupIdentifiers": self.log_group_identifiers, + "logStreamNamePrefixes": self.log_stream_name_prefixes, + }, + ) + self.assertEqual(stdout, "LogEvent1\nLogEvent2\n") + + def test_start_live_tail_with_filter_pattern(self): + self.event_stream.__iter__ = mock.MagicMock(return_value=self.updates) + + stdout, _, _ = self.assert_params_for_cmd( + "logs start-live-tail --log-group-identifiers {} --log-event-filter-pattern {}".format( + " ".join(self.log_group_identifiers), self.log_event_filter_pattern + ), + params={ + "logGroupIdentifiers": self.log_group_identifiers, + "logEventFilterPattern": self.log_event_filter_pattern, + }, + ) + self.assertEqual(stdout, "LogEvent1\nLogEvent2\n") diff --git a/tests/unit/customizations/logs/test_startlivetail.py b/tests/unit/customizations/logs/test_startlivetail.py new file mode 100644 index 000000000000..100140737859 --- /dev/null +++ b/tests/unit/customizations/logs/test_startlivetail.py @@ -0,0 +1,141 @@ +# Copyright 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"). You +# may not use this file except in compliance with the License. A copy of +# the License is located at +# +# http://aws.amazon.com/apache2.0/ +# +# or in the "license" file accompanying this file. This file is +# distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF +# ANY KIND, either express or implied. See the License for the specific +# language governing permissions and limitations under the License. +from awscli.compat import StringIO +from awscli.customizations.logs.startlivetail import ( + LiveTailLogEventsCollector, + LiveTailSessionMetadata, + PrintOnlyPrinter, + PrintOnlyUI, +) +from awscli.testutils import mock, unittest + + +class LiveTailSessionMetadataTest(unittest.TestCase): + def setUp(self): + self.session_metadata = LiveTailSessionMetadata() + + def test_metadata_update(self): + metadata_update = {"sampled": True} + self.session_metadata.update_metadata(metadata_update) + + self.assertEqual(metadata_update["sampled"], self.session_metadata.is_sampled) + + +class PrintOnlyPrinterTest(unittest.TestCase): + def setUp(self): + self.output = StringIO() + self.log_events = [] + self.printer = PrintOnlyPrinter(self.output, self.log_events) + + def test_print_log_events(self): + self.log_events.extend(["First LogEvent", "Second LogEvent", "Third LogEvent"]) + expected_msg = "\n".join(self.log_events) + "\n" + + self.printer._print_log_events() + + self.output.seek(0) + self.assertEqual(expected_msg, self.output.read()) + self.assertEqual(0, len(self.log_events)) + + def test_session_interrupt_while_printing(self): + self.log_events.extend(["First LogEvent", "Second LogEvent", "Third LogEvent"]) + expected_msg = "\n".join(self.log_events) + "\n" + + self.printer.interrupt_session = True + self.printer.run() + + self.output.seek(0) + self.assertEqual(expected_msg, self.output.read()) + self.assertEqual(0, len(self.log_events)) + + def test_exception_while_printing(self): + self.log_events.extend(["First LogEvent", "Second LogEvent", "Third LogEvent"]) + self.printer._print_log_events = mock.MagicMock( + side_effect=BrokenPipeError("BrokenPipe") + ) + + # No exception should be raised + self.printer.run() + + +class PrintOnlyUITest(unittest.TestCase): + def setUp(self): + self.output = StringIO() + self.log_events = [] + self.ui = PrintOnlyUI(self.output, self.log_events) + + def test_exit(self): + self.ui.exit() + + self.assertEqual(True, self.ui._printer.interrupt_session) + + +class LiveTailLogEventsCollectorTest(unittest.TestCase): + def setUp(self): + self.output = StringIO() + self.log_events = [] + self.response_stream = mock.Mock() + self.ui = PrintOnlyUI(self.output, self.log_events) + self.session_metadata = LiveTailSessionMetadata() + self.log_events_collector = LiveTailLogEventsCollector( + self.output, + self.ui, + self.response_stream, + self.log_events, + self.session_metadata, + ) + + def test_log_event_collection(self): + updates = [ + {"sessionStart": "The session is started"}, + { + "sessionUpdate": { + "sessionMetadata": {"sampled": False}, + "sessionResults": [ + {"message": "LogEvent1"}, + {"message": "LogEvent2"}, + ], + } + }, + ] + self.response_stream.__iter__ = mock.MagicMock(return_value=iter(updates)) + + self.log_events_collector._collect_log_events() + + self.assertEqual(2, len(self.log_events)) + self.assertEqual(["LogEvent1", "LogEvent2"], self.log_events) + self.assertIsNone(self.log_events_collector._exception) + + def test_log_event_collection_with_unexpected_update(self): + updates = [{"unexpectedUpdate": "The session is started"}] + self.response_stream.extend(updates) + self.ui.exit = mock.MagicMock() + + self.log_events_collector._collect_log_events() + + self.assertIsNotNone(self.log_events_collector._exception) + + def test_stop_with_exception(self): + exception_message = "SessionStreamingException" + self.log_events_collector._exception = Exception(exception_message) + + self.log_events_collector.stop() + + self.output.seek(0) + self.assertEqual(exception_message + "\n", self.output.read()) + + def test_stop_without_exception(self): + self.response_stream.close = mock.MagicMock() + + self.log_events_collector.stop() + self.response_stream.close.assert_not_called() From ac9a3383083125b0cb4e526e14e29e751f9753e6 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 3 Jun 2024 18:08:40 +0000 Subject: [PATCH 0042/1087] Update changelog based on model updates --- .changes/next-release/api-change-amplify-62200.json | 5 +++++ .changes/next-release/api-change-batch-52895.json | 5 +++++ .changes/next-release/api-change-eks-29256.json | 5 +++++ .changes/next-release/api-change-iottwinmaker-72743.json | 5 +++++ 4 files changed, 20 insertions(+) create mode 100644 .changes/next-release/api-change-amplify-62200.json create mode 100644 .changes/next-release/api-change-batch-52895.json create mode 100644 .changes/next-release/api-change-eks-29256.json create mode 100644 .changes/next-release/api-change-iottwinmaker-72743.json diff --git a/.changes/next-release/api-change-amplify-62200.json b/.changes/next-release/api-change-amplify-62200.json new file mode 100644 index 000000000000..4c508b32ac23 --- /dev/null +++ b/.changes/next-release/api-change-amplify-62200.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``amplify``", + "description": "This doc-only update identifies fields that are specific to Gen 1 and Gen 2 applications." +} diff --git a/.changes/next-release/api-change-batch-52895.json b/.changes/next-release/api-change-batch-52895.json new file mode 100644 index 000000000000..fb716a6bc1ad --- /dev/null +++ b/.changes/next-release/api-change-batch-52895.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``batch``", + "description": "This release adds support for the AWS Batch GetJobQueueSnapshot API operation." +} diff --git a/.changes/next-release/api-change-eks-29256.json b/.changes/next-release/api-change-eks-29256.json new file mode 100644 index 000000000000..ee708c527716 --- /dev/null +++ b/.changes/next-release/api-change-eks-29256.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``eks``", + "description": "Adds support for EKS add-ons pod identity associations integration" +} diff --git a/.changes/next-release/api-change-iottwinmaker-72743.json b/.changes/next-release/api-change-iottwinmaker-72743.json new file mode 100644 index 000000000000..ecba94c17f15 --- /dev/null +++ b/.changes/next-release/api-change-iottwinmaker-72743.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``iottwinmaker``", + "description": "Support RESET_VALUE UpdateType for PropertyUpdates to reset property value to default or null" +} From e14f7e85a62188c44ff062659bfd9295b52be33c Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 3 Jun 2024 18:09:48 +0000 Subject: [PATCH 0043/1087] Bumping version to 1.33.0 --- .changes/1.33.0.json | 27 +++++++++++++++++++ .../api-change-amplify-62200.json | 5 ---- .../next-release/api-change-batch-52895.json | 5 ---- .../next-release/api-change-eks-29256.json | 5 ---- .../api-change-iottwinmaker-72743.json | 5 ---- .../feature-logsstartlivetail-24997.json | 5 ---- CHANGELOG.rst | 10 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 4 +-- setup.cfg | 2 +- setup.py | 2 +- 11 files changed, 42 insertions(+), 30 deletions(-) create mode 100644 .changes/1.33.0.json delete mode 100644 .changes/next-release/api-change-amplify-62200.json delete mode 100644 .changes/next-release/api-change-batch-52895.json delete mode 100644 .changes/next-release/api-change-eks-29256.json delete mode 100644 .changes/next-release/api-change-iottwinmaker-72743.json delete mode 100644 .changes/next-release/feature-logsstartlivetail-24997.json diff --git a/.changes/1.33.0.json b/.changes/1.33.0.json new file mode 100644 index 000000000000..178c89ff57e5 --- /dev/null +++ b/.changes/1.33.0.json @@ -0,0 +1,27 @@ +[ + { + "category": "``amplify``", + "description": "This doc-only update identifies fields that are specific to Gen 1 and Gen 2 applications.", + "type": "api-change" + }, + { + "category": "``batch``", + "description": "This release adds support for the AWS Batch GetJobQueueSnapshot API operation.", + "type": "api-change" + }, + { + "category": "``eks``", + "description": "Adds support for EKS add-ons pod identity associations integration", + "type": "api-change" + }, + { + "category": "``iottwinmaker``", + "description": "Support RESET_VALUE UpdateType for PropertyUpdates to reset property value to default or null", + "type": "api-change" + }, + { + "category": "logs start-live-tail", + "description": "Adds support for starting a live tail streaming session for one or more log groups.", + "type": "feature" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-amplify-62200.json b/.changes/next-release/api-change-amplify-62200.json deleted file mode 100644 index 4c508b32ac23..000000000000 --- a/.changes/next-release/api-change-amplify-62200.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``amplify``", - "description": "This doc-only update identifies fields that are specific to Gen 1 and Gen 2 applications." -} diff --git a/.changes/next-release/api-change-batch-52895.json b/.changes/next-release/api-change-batch-52895.json deleted file mode 100644 index fb716a6bc1ad..000000000000 --- a/.changes/next-release/api-change-batch-52895.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``batch``", - "description": "This release adds support for the AWS Batch GetJobQueueSnapshot API operation." -} diff --git a/.changes/next-release/api-change-eks-29256.json b/.changes/next-release/api-change-eks-29256.json deleted file mode 100644 index ee708c527716..000000000000 --- a/.changes/next-release/api-change-eks-29256.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``eks``", - "description": "Adds support for EKS add-ons pod identity associations integration" -} diff --git a/.changes/next-release/api-change-iottwinmaker-72743.json b/.changes/next-release/api-change-iottwinmaker-72743.json deleted file mode 100644 index ecba94c17f15..000000000000 --- a/.changes/next-release/api-change-iottwinmaker-72743.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``iottwinmaker``", - "description": "Support RESET_VALUE UpdateType for PropertyUpdates to reset property value to default or null" -} diff --git a/.changes/next-release/feature-logsstartlivetail-24997.json b/.changes/next-release/feature-logsstartlivetail-24997.json deleted file mode 100644 index 35211a0dfee8..000000000000 --- a/.changes/next-release/feature-logsstartlivetail-24997.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "feature", - "category": "logs start-live-tail", - "description": "Adds support for starting a live tail streaming session for one or more log groups." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index d3c87cb8a009..2cd823913e14 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,16 @@ CHANGELOG ========= +1.33.0 +====== + +* api-change:``amplify``: This doc-only update identifies fields that are specific to Gen 1 and Gen 2 applications. +* api-change:``batch``: This release adds support for the AWS Batch GetJobQueueSnapshot API operation. +* api-change:``eks``: Adds support for EKS add-ons pod identity associations integration +* api-change:``iottwinmaker``: Support RESET_VALUE UpdateType for PropertyUpdates to reset property value to default or null +* feature:logs start-live-tail: Adds support for starting a live tail streaming session for one or more log groups. + + 1.32.117 ======== diff --git a/awscli/__init__.py b/awscli/__init__.py index 7bfcc3f2d21a..5f7fcd738bd6 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -17,7 +17,7 @@ """ import os -__version__ = '1.32.117' +__version__ = '1.33.0' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index e485c38ed462..c9006cab92d4 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -50,9 +50,9 @@ # built documents. # # The short X.Y version. -version = '1.32.1' +version = '1.33' # The full version, including alpha/beta/rc tags. -release = '1.32.117' +release = '1.33.0' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 62c1c0c70472..5096b624ac29 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.34.117 + botocore==1.34.118 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index f5d4c23006da..4f359f657e54 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.34.117', + 'botocore==1.34.118', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 6947e9916ebd759bb9320832cd38770ead80cf4f Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 4 Jun 2024 18:04:24 +0000 Subject: [PATCH 0044/1087] Update changelog based on model updates --- .changes/next-release/api-change-ec2-90709.json | 5 +++++ .changes/next-release/api-change-pipes-20636.json | 5 +++++ .changes/next-release/api-change-sagemaker-80634.json | 5 +++++ .changes/next-release/api-change-taxsettings-64846.json | 5 +++++ 4 files changed, 20 insertions(+) create mode 100644 .changes/next-release/api-change-ec2-90709.json create mode 100644 .changes/next-release/api-change-pipes-20636.json create mode 100644 .changes/next-release/api-change-sagemaker-80634.json create mode 100644 .changes/next-release/api-change-taxsettings-64846.json diff --git a/.changes/next-release/api-change-ec2-90709.json b/.changes/next-release/api-change-ec2-90709.json new file mode 100644 index 000000000000..90f585831fca --- /dev/null +++ b/.changes/next-release/api-change-ec2-90709.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ec2``", + "description": "U7i instances with up to 32 TiB of DDR5 memory and 896 vCPUs are now available. C7i-flex instances are launched and are lower-priced variants of the Amazon EC2 C7i instances that offer a baseline level of CPU performance with the ability to scale up to the full compute performance 95% of the time." +} diff --git a/.changes/next-release/api-change-pipes-20636.json b/.changes/next-release/api-change-pipes-20636.json new file mode 100644 index 000000000000..f6b30ce1cedc --- /dev/null +++ b/.changes/next-release/api-change-pipes-20636.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``pipes``", + "description": "This release adds Timestream for LiveAnalytics as a supported target in EventBridge Pipes" +} diff --git a/.changes/next-release/api-change-sagemaker-80634.json b/.changes/next-release/api-change-sagemaker-80634.json new file mode 100644 index 000000000000..6be17eaa6d1c --- /dev/null +++ b/.changes/next-release/api-change-sagemaker-80634.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``sagemaker``", + "description": "Extend DescribeClusterNode response with private DNS hostname and IP address, and placement information about availability zone and availability zone ID." +} diff --git a/.changes/next-release/api-change-taxsettings-64846.json b/.changes/next-release/api-change-taxsettings-64846.json new file mode 100644 index 000000000000..0922e292a199 --- /dev/null +++ b/.changes/next-release/api-change-taxsettings-64846.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``taxsettings``", + "description": "Initial release of AWS Tax Settings API" +} From 9c32678a2dcf23fe1b3e8081bef45be7ca79160d Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 4 Jun 2024 18:05:42 +0000 Subject: [PATCH 0045/1087] Bumping version to 1.33.1 --- .changes/1.33.1.json | 22 +++++++++++++++++++ .../next-release/api-change-ec2-90709.json | 5 ----- .../next-release/api-change-pipes-20636.json | 5 ----- .../api-change-sagemaker-80634.json | 5 ----- .../api-change-taxsettings-64846.json | 5 ----- CHANGELOG.rst | 9 ++++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 10 files changed, 35 insertions(+), 24 deletions(-) create mode 100644 .changes/1.33.1.json delete mode 100644 .changes/next-release/api-change-ec2-90709.json delete mode 100644 .changes/next-release/api-change-pipes-20636.json delete mode 100644 .changes/next-release/api-change-sagemaker-80634.json delete mode 100644 .changes/next-release/api-change-taxsettings-64846.json diff --git a/.changes/1.33.1.json b/.changes/1.33.1.json new file mode 100644 index 000000000000..2c5fcc1c7b31 --- /dev/null +++ b/.changes/1.33.1.json @@ -0,0 +1,22 @@ +[ + { + "category": "``ec2``", + "description": "U7i instances with up to 32 TiB of DDR5 memory and 896 vCPUs are now available. C7i-flex instances are launched and are lower-priced variants of the Amazon EC2 C7i instances that offer a baseline level of CPU performance with the ability to scale up to the full compute performance 95% of the time.", + "type": "api-change" + }, + { + "category": "``pipes``", + "description": "This release adds Timestream for LiveAnalytics as a supported target in EventBridge Pipes", + "type": "api-change" + }, + { + "category": "``sagemaker``", + "description": "Extend DescribeClusterNode response with private DNS hostname and IP address, and placement information about availability zone and availability zone ID.", + "type": "api-change" + }, + { + "category": "``taxsettings``", + "description": "Initial release of AWS Tax Settings API", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-ec2-90709.json b/.changes/next-release/api-change-ec2-90709.json deleted file mode 100644 index 90f585831fca..000000000000 --- a/.changes/next-release/api-change-ec2-90709.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ec2``", - "description": "U7i instances with up to 32 TiB of DDR5 memory and 896 vCPUs are now available. C7i-flex instances are launched and are lower-priced variants of the Amazon EC2 C7i instances that offer a baseline level of CPU performance with the ability to scale up to the full compute performance 95% of the time." -} diff --git a/.changes/next-release/api-change-pipes-20636.json b/.changes/next-release/api-change-pipes-20636.json deleted file mode 100644 index f6b30ce1cedc..000000000000 --- a/.changes/next-release/api-change-pipes-20636.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``pipes``", - "description": "This release adds Timestream for LiveAnalytics as a supported target in EventBridge Pipes" -} diff --git a/.changes/next-release/api-change-sagemaker-80634.json b/.changes/next-release/api-change-sagemaker-80634.json deleted file mode 100644 index 6be17eaa6d1c..000000000000 --- a/.changes/next-release/api-change-sagemaker-80634.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``sagemaker``", - "description": "Extend DescribeClusterNode response with private DNS hostname and IP address, and placement information about availability zone and availability zone ID." -} diff --git a/.changes/next-release/api-change-taxsettings-64846.json b/.changes/next-release/api-change-taxsettings-64846.json deleted file mode 100644 index 0922e292a199..000000000000 --- a/.changes/next-release/api-change-taxsettings-64846.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``taxsettings``", - "description": "Initial release of AWS Tax Settings API" -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 2cd823913e14..9e749cdc40cf 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,15 @@ CHANGELOG ========= +1.33.1 +====== + +* api-change:``ec2``: U7i instances with up to 32 TiB of DDR5 memory and 896 vCPUs are now available. C7i-flex instances are launched and are lower-priced variants of the Amazon EC2 C7i instances that offer a baseline level of CPU performance with the ability to scale up to the full compute performance 95% of the time. +* api-change:``pipes``: This release adds Timestream for LiveAnalytics as a supported target in EventBridge Pipes +* api-change:``sagemaker``: Extend DescribeClusterNode response with private DNS hostname and IP address, and placement information about availability zone and availability zone ID. +* api-change:``taxsettings``: Initial release of AWS Tax Settings API + + 1.33.0 ====== diff --git a/awscli/__init__.py b/awscli/__init__.py index 5f7fcd738bd6..7e22bfed924e 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -17,7 +17,7 @@ """ import os -__version__ = '1.33.0' +__version__ = '1.33.1' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index c9006cab92d4..3da39e4aabd4 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.33' # The full version, including alpha/beta/rc tags. -release = '1.33.0' +release = '1.33.1' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 5096b624ac29..61033535e3fb 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.34.118 + botocore==1.34.119 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 4f359f657e54..bf8694025f8a 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.34.118', + 'botocore==1.34.119', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 4bb4f496912dc97ae7fadc76dec9bbe8316bfcc1 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 5 Jun 2024 18:07:08 +0000 Subject: [PATCH 0046/1087] Update changelog based on model updates --- .changes/next-release/api-change-globalaccelerator-4409.json | 5 +++++ .changes/next-release/api-change-glue-18347.json | 5 +++++ .changes/next-release/api-change-s3-64809.json | 5 +++++ 3 files changed, 15 insertions(+) create mode 100644 .changes/next-release/api-change-globalaccelerator-4409.json create mode 100644 .changes/next-release/api-change-glue-18347.json create mode 100644 .changes/next-release/api-change-s3-64809.json diff --git a/.changes/next-release/api-change-globalaccelerator-4409.json b/.changes/next-release/api-change-globalaccelerator-4409.json new file mode 100644 index 000000000000..e417aee19663 --- /dev/null +++ b/.changes/next-release/api-change-globalaccelerator-4409.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``globalaccelerator``", + "description": "This release contains a new optional ip-addresses input field for the update accelerator and update custom routing accelerator apis. This input enables consumers to replace IPv4 addresses on existing accelerators with addresses provided in the input." +} diff --git a/.changes/next-release/api-change-glue-18347.json b/.changes/next-release/api-change-glue-18347.json new file mode 100644 index 000000000000..8ed6af82426f --- /dev/null +++ b/.changes/next-release/api-change-glue-18347.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``glue``", + "description": "AWS Glue now supports native SaaS connectivity: Salesforce connector available now" +} diff --git a/.changes/next-release/api-change-s3-64809.json b/.changes/next-release/api-change-s3-64809.json new file mode 100644 index 000000000000..0f4b5f4716bf --- /dev/null +++ b/.changes/next-release/api-change-s3-64809.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``s3``", + "description": "Added new params copySource and key to copyObject API for supporting S3 Access Grants plugin. These changes will not change any of the existing S3 API functionality." +} From 323dc8bdbafbb66f38d9165f507b8c3426fcd5e9 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 5 Jun 2024 18:08:16 +0000 Subject: [PATCH 0047/1087] Bumping version to 1.33.2 --- .changes/1.33.2.json | 22 +++++++++++++++++++ .../api-change-globalaccelerator-4409.json | 5 ----- .../next-release/api-change-glue-18347.json | 5 ----- .../next-release/api-change-s3-64809.json | 5 ----- .../bugfix-emrcustomization-87155.json | 5 ----- CHANGELOG.rst | 9 ++++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 10 files changed, 35 insertions(+), 24 deletions(-) create mode 100644 .changes/1.33.2.json delete mode 100644 .changes/next-release/api-change-globalaccelerator-4409.json delete mode 100644 .changes/next-release/api-change-glue-18347.json delete mode 100644 .changes/next-release/api-change-s3-64809.json delete mode 100644 .changes/next-release/bugfix-emrcustomization-87155.json diff --git a/.changes/1.33.2.json b/.changes/1.33.2.json new file mode 100644 index 000000000000..37f6a1e3f974 --- /dev/null +++ b/.changes/1.33.2.json @@ -0,0 +1,22 @@ +[ + { + "category": "``globalaccelerator``", + "description": "This release contains a new optional ip-addresses input field for the update accelerator and update custom routing accelerator apis. This input enables consumers to replace IPv4 addresses on existing accelerators with addresses provided in the input.", + "type": "api-change" + }, + { + "category": "``glue``", + "description": "AWS Glue now supports native SaaS connectivity: Salesforce connector available now", + "type": "api-change" + }, + { + "category": "``s3``", + "description": "Added new params copySource and key to copyObject API for supporting S3 Access Grants plugin. These changes will not change any of the existing S3 API functionality.", + "type": "api-change" + }, + { + "category": "emr customization", + "description": "Update the EC2 service principal when creating the trust policy for EMR default roles to always be ec2.amazonaws.com.", + "type": "bugfix" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-globalaccelerator-4409.json b/.changes/next-release/api-change-globalaccelerator-4409.json deleted file mode 100644 index e417aee19663..000000000000 --- a/.changes/next-release/api-change-globalaccelerator-4409.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``globalaccelerator``", - "description": "This release contains a new optional ip-addresses input field for the update accelerator and update custom routing accelerator apis. This input enables consumers to replace IPv4 addresses on existing accelerators with addresses provided in the input." -} diff --git a/.changes/next-release/api-change-glue-18347.json b/.changes/next-release/api-change-glue-18347.json deleted file mode 100644 index 8ed6af82426f..000000000000 --- a/.changes/next-release/api-change-glue-18347.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``glue``", - "description": "AWS Glue now supports native SaaS connectivity: Salesforce connector available now" -} diff --git a/.changes/next-release/api-change-s3-64809.json b/.changes/next-release/api-change-s3-64809.json deleted file mode 100644 index 0f4b5f4716bf..000000000000 --- a/.changes/next-release/api-change-s3-64809.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``s3``", - "description": "Added new params copySource and key to copyObject API for supporting S3 Access Grants plugin. These changes will not change any of the existing S3 API functionality." -} diff --git a/.changes/next-release/bugfix-emrcustomization-87155.json b/.changes/next-release/bugfix-emrcustomization-87155.json deleted file mode 100644 index 8b5a6eb07314..000000000000 --- a/.changes/next-release/bugfix-emrcustomization-87155.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "bugfix", - "category": "emr customization", - "description": "Update the EC2 service principal when creating the trust policy for EMR default roles to always be ec2.amazonaws.com." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 9e749cdc40cf..cf6ca5adc7f4 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,15 @@ CHANGELOG ========= +1.33.2 +====== + +* api-change:``globalaccelerator``: This release contains a new optional ip-addresses input field for the update accelerator and update custom routing accelerator apis. This input enables consumers to replace IPv4 addresses on existing accelerators with addresses provided in the input. +* api-change:``glue``: AWS Glue now supports native SaaS connectivity: Salesforce connector available now +* api-change:``s3``: Added new params copySource and key to copyObject API for supporting S3 Access Grants plugin. These changes will not change any of the existing S3 API functionality. +* bugfix:emr customization: Update the EC2 service principal when creating the trust policy for EMR default roles to always be ec2.amazonaws.com. + + 1.33.1 ====== diff --git a/awscli/__init__.py b/awscli/__init__.py index 7e22bfed924e..b67f5dccc474 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -17,7 +17,7 @@ """ import os -__version__ = '1.33.1' +__version__ = '1.33.2' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 3da39e4aabd4..d52747b6065f 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.33' # The full version, including alpha/beta/rc tags. -release = '1.33.1' +release = '1.33.2' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 61033535e3fb..baf0c0065855 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.34.119 + botocore==1.34.120 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index bf8694025f8a..0a7ecde8d800 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.34.119', + 'botocore==1.34.120', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 2eae46eb8660285e69a42a93f946e0833e9a2466 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 6 Jun 2024 18:04:55 +0000 Subject: [PATCH 0048/1087] Update changelog based on model updates --- .changes/next-release/api-change-account-5816.json | 5 +++++ .changes/next-release/api-change-firehose-88192.json | 5 +++++ .changes/next-release/api-change-fsx-44732.json | 5 +++++ .changes/next-release/api-change-glue-38197.json | 5 +++++ .changes/next-release/api-change-iotwireless-54336.json | 5 +++++ .changes/next-release/api-change-location-27726.json | 5 +++++ .changes/next-release/api-change-sns-9605.json | 5 +++++ .changes/next-release/api-change-sqs-44143.json | 5 +++++ .changes/next-release/api-change-storagegateway-61123.json | 5 +++++ 9 files changed, 45 insertions(+) create mode 100644 .changes/next-release/api-change-account-5816.json create mode 100644 .changes/next-release/api-change-firehose-88192.json create mode 100644 .changes/next-release/api-change-fsx-44732.json create mode 100644 .changes/next-release/api-change-glue-38197.json create mode 100644 .changes/next-release/api-change-iotwireless-54336.json create mode 100644 .changes/next-release/api-change-location-27726.json create mode 100644 .changes/next-release/api-change-sns-9605.json create mode 100644 .changes/next-release/api-change-sqs-44143.json create mode 100644 .changes/next-release/api-change-storagegateway-61123.json diff --git a/.changes/next-release/api-change-account-5816.json b/.changes/next-release/api-change-account-5816.json new file mode 100644 index 000000000000..0c4e5acf22f8 --- /dev/null +++ b/.changes/next-release/api-change-account-5816.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``account``", + "description": "This release adds 3 new APIs (AcceptPrimaryEmailUpdate, GetPrimaryEmail, and StartPrimaryEmailUpdate) used to centrally manage the root user email address of member accounts within an AWS organization." +} diff --git a/.changes/next-release/api-change-firehose-88192.json b/.changes/next-release/api-change-firehose-88192.json new file mode 100644 index 000000000000..23adaeb429a2 --- /dev/null +++ b/.changes/next-release/api-change-firehose-88192.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``firehose``", + "description": "Adds integration with Secrets Manager for Redshift, Splunk, HttpEndpoint, and Snowflake destinations" +} diff --git a/.changes/next-release/api-change-fsx-44732.json b/.changes/next-release/api-change-fsx-44732.json new file mode 100644 index 000000000000..2c8cc710d2f5 --- /dev/null +++ b/.changes/next-release/api-change-fsx-44732.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``fsx``", + "description": "This release adds support to increase metadata performance on FSx for Lustre file systems beyond the default level provisioned when a file system is created. This can be done by specifying MetadataConfiguration during the creation of Persistent_2 file systems or by updating it on demand." +} diff --git a/.changes/next-release/api-change-glue-38197.json b/.changes/next-release/api-change-glue-38197.json new file mode 100644 index 000000000000..ba842ee2dc53 --- /dev/null +++ b/.changes/next-release/api-change-glue-38197.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``glue``", + "description": "This release adds support for creating and updating Glue Data Catalog Views." +} diff --git a/.changes/next-release/api-change-iotwireless-54336.json b/.changes/next-release/api-change-iotwireless-54336.json new file mode 100644 index 000000000000..9de7fe6865f6 --- /dev/null +++ b/.changes/next-release/api-change-iotwireless-54336.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``iotwireless``", + "description": "Adds support for wireless device to be in Conflict FUOTA Device Status due to a FUOTA Task, so it couldn't be attached to a new one." +} diff --git a/.changes/next-release/api-change-location-27726.json b/.changes/next-release/api-change-location-27726.json new file mode 100644 index 000000000000..caac3f20b3fe --- /dev/null +++ b/.changes/next-release/api-change-location-27726.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``location``", + "description": "Added two new APIs, VerifyDevicePosition and ForecastGeofenceEvents. Added support for putting larger geofences up to 100,000 vertices with Geobuf fields." +} diff --git a/.changes/next-release/api-change-sns-9605.json b/.changes/next-release/api-change-sns-9605.json new file mode 100644 index 000000000000..242b461f8c50 --- /dev/null +++ b/.changes/next-release/api-change-sns-9605.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``sns``", + "description": "Doc-only update for SNS. These changes include customer-reported issues and TXC3 updates." +} diff --git a/.changes/next-release/api-change-sqs-44143.json b/.changes/next-release/api-change-sqs-44143.json new file mode 100644 index 000000000000..00f5d62a5a96 --- /dev/null +++ b/.changes/next-release/api-change-sqs-44143.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``sqs``", + "description": "Doc only updates for SQS. These updates include customer-reported issues and TCX3 modifications." +} diff --git a/.changes/next-release/api-change-storagegateway-61123.json b/.changes/next-release/api-change-storagegateway-61123.json new file mode 100644 index 000000000000..15d4413e1132 --- /dev/null +++ b/.changes/next-release/api-change-storagegateway-61123.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``storagegateway``", + "description": "Adds SoftwareUpdatePreferences to DescribeMaintenanceStartTime and UpdateMaintenanceStartTime, a structure which contains AutomaticUpdatePolicy." +} From 31186ae42625f6f8cd5d3e999e2f568bbbada7c0 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 6 Jun 2024 18:06:14 +0000 Subject: [PATCH 0049/1087] Bumping version to 1.33.3 --- .changes/1.33.3.json | 47 +++++++++++++++++++ .../next-release/api-change-account-5816.json | 5 -- .../api-change-firehose-88192.json | 5 -- .../next-release/api-change-fsx-44732.json | 5 -- .../next-release/api-change-glue-38197.json | 5 -- .../api-change-iotwireless-54336.json | 5 -- .../api-change-location-27726.json | 5 -- .../next-release/api-change-sns-9605.json | 5 -- .../next-release/api-change-sqs-44143.json | 5 -- .../api-change-storagegateway-61123.json | 5 -- CHANGELOG.rst | 14 ++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 15 files changed, 65 insertions(+), 49 deletions(-) create mode 100644 .changes/1.33.3.json delete mode 100644 .changes/next-release/api-change-account-5816.json delete mode 100644 .changes/next-release/api-change-firehose-88192.json delete mode 100644 .changes/next-release/api-change-fsx-44732.json delete mode 100644 .changes/next-release/api-change-glue-38197.json delete mode 100644 .changes/next-release/api-change-iotwireless-54336.json delete mode 100644 .changes/next-release/api-change-location-27726.json delete mode 100644 .changes/next-release/api-change-sns-9605.json delete mode 100644 .changes/next-release/api-change-sqs-44143.json delete mode 100644 .changes/next-release/api-change-storagegateway-61123.json diff --git a/.changes/1.33.3.json b/.changes/1.33.3.json new file mode 100644 index 000000000000..fd366e3d6ea7 --- /dev/null +++ b/.changes/1.33.3.json @@ -0,0 +1,47 @@ +[ + { + "category": "``account``", + "description": "This release adds 3 new APIs (AcceptPrimaryEmailUpdate, GetPrimaryEmail, and StartPrimaryEmailUpdate) used to centrally manage the root user email address of member accounts within an AWS organization.", + "type": "api-change" + }, + { + "category": "``firehose``", + "description": "Adds integration with Secrets Manager for Redshift, Splunk, HttpEndpoint, and Snowflake destinations", + "type": "api-change" + }, + { + "category": "``fsx``", + "description": "This release adds support to increase metadata performance on FSx for Lustre file systems beyond the default level provisioned when a file system is created. This can be done by specifying MetadataConfiguration during the creation of Persistent_2 file systems or by updating it on demand.", + "type": "api-change" + }, + { + "category": "``glue``", + "description": "This release adds support for creating and updating Glue Data Catalog Views.", + "type": "api-change" + }, + { + "category": "``iotwireless``", + "description": "Adds support for wireless device to be in Conflict FUOTA Device Status due to a FUOTA Task, so it couldn't be attached to a new one.", + "type": "api-change" + }, + { + "category": "``location``", + "description": "Added two new APIs, VerifyDevicePosition and ForecastGeofenceEvents. Added support for putting larger geofences up to 100,000 vertices with Geobuf fields.", + "type": "api-change" + }, + { + "category": "``sns``", + "description": "Doc-only update for SNS. These changes include customer-reported issues and TXC3 updates.", + "type": "api-change" + }, + { + "category": "``sqs``", + "description": "Doc only updates for SQS. These updates include customer-reported issues and TCX3 modifications.", + "type": "api-change" + }, + { + "category": "``storagegateway``", + "description": "Adds SoftwareUpdatePreferences to DescribeMaintenanceStartTime and UpdateMaintenanceStartTime, a structure which contains AutomaticUpdatePolicy.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-account-5816.json b/.changes/next-release/api-change-account-5816.json deleted file mode 100644 index 0c4e5acf22f8..000000000000 --- a/.changes/next-release/api-change-account-5816.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``account``", - "description": "This release adds 3 new APIs (AcceptPrimaryEmailUpdate, GetPrimaryEmail, and StartPrimaryEmailUpdate) used to centrally manage the root user email address of member accounts within an AWS organization." -} diff --git a/.changes/next-release/api-change-firehose-88192.json b/.changes/next-release/api-change-firehose-88192.json deleted file mode 100644 index 23adaeb429a2..000000000000 --- a/.changes/next-release/api-change-firehose-88192.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``firehose``", - "description": "Adds integration with Secrets Manager for Redshift, Splunk, HttpEndpoint, and Snowflake destinations" -} diff --git a/.changes/next-release/api-change-fsx-44732.json b/.changes/next-release/api-change-fsx-44732.json deleted file mode 100644 index 2c8cc710d2f5..000000000000 --- a/.changes/next-release/api-change-fsx-44732.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``fsx``", - "description": "This release adds support to increase metadata performance on FSx for Lustre file systems beyond the default level provisioned when a file system is created. This can be done by specifying MetadataConfiguration during the creation of Persistent_2 file systems or by updating it on demand." -} diff --git a/.changes/next-release/api-change-glue-38197.json b/.changes/next-release/api-change-glue-38197.json deleted file mode 100644 index ba842ee2dc53..000000000000 --- a/.changes/next-release/api-change-glue-38197.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``glue``", - "description": "This release adds support for creating and updating Glue Data Catalog Views." -} diff --git a/.changes/next-release/api-change-iotwireless-54336.json b/.changes/next-release/api-change-iotwireless-54336.json deleted file mode 100644 index 9de7fe6865f6..000000000000 --- a/.changes/next-release/api-change-iotwireless-54336.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``iotwireless``", - "description": "Adds support for wireless device to be in Conflict FUOTA Device Status due to a FUOTA Task, so it couldn't be attached to a new one." -} diff --git a/.changes/next-release/api-change-location-27726.json b/.changes/next-release/api-change-location-27726.json deleted file mode 100644 index caac3f20b3fe..000000000000 --- a/.changes/next-release/api-change-location-27726.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``location``", - "description": "Added two new APIs, VerifyDevicePosition and ForecastGeofenceEvents. Added support for putting larger geofences up to 100,000 vertices with Geobuf fields." -} diff --git a/.changes/next-release/api-change-sns-9605.json b/.changes/next-release/api-change-sns-9605.json deleted file mode 100644 index 242b461f8c50..000000000000 --- a/.changes/next-release/api-change-sns-9605.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``sns``", - "description": "Doc-only update for SNS. These changes include customer-reported issues and TXC3 updates." -} diff --git a/.changes/next-release/api-change-sqs-44143.json b/.changes/next-release/api-change-sqs-44143.json deleted file mode 100644 index 00f5d62a5a96..000000000000 --- a/.changes/next-release/api-change-sqs-44143.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``sqs``", - "description": "Doc only updates for SQS. These updates include customer-reported issues and TCX3 modifications." -} diff --git a/.changes/next-release/api-change-storagegateway-61123.json b/.changes/next-release/api-change-storagegateway-61123.json deleted file mode 100644 index 15d4413e1132..000000000000 --- a/.changes/next-release/api-change-storagegateway-61123.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``storagegateway``", - "description": "Adds SoftwareUpdatePreferences to DescribeMaintenanceStartTime and UpdateMaintenanceStartTime, a structure which contains AutomaticUpdatePolicy." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index cf6ca5adc7f4..e7cc2338f771 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,20 @@ CHANGELOG ========= +1.33.3 +====== + +* api-change:``account``: This release adds 3 new APIs (AcceptPrimaryEmailUpdate, GetPrimaryEmail, and StartPrimaryEmailUpdate) used to centrally manage the root user email address of member accounts within an AWS organization. +* api-change:``firehose``: Adds integration with Secrets Manager for Redshift, Splunk, HttpEndpoint, and Snowflake destinations +* api-change:``fsx``: This release adds support to increase metadata performance on FSx for Lustre file systems beyond the default level provisioned when a file system is created. This can be done by specifying MetadataConfiguration during the creation of Persistent_2 file systems or by updating it on demand. +* api-change:``glue``: This release adds support for creating and updating Glue Data Catalog Views. +* api-change:``iotwireless``: Adds support for wireless device to be in Conflict FUOTA Device Status due to a FUOTA Task, so it couldn't be attached to a new one. +* api-change:``location``: Added two new APIs, VerifyDevicePosition and ForecastGeofenceEvents. Added support for putting larger geofences up to 100,000 vertices with Geobuf fields. +* api-change:``sns``: Doc-only update for SNS. These changes include customer-reported issues and TXC3 updates. +* api-change:``sqs``: Doc only updates for SQS. These updates include customer-reported issues and TCX3 modifications. +* api-change:``storagegateway``: Adds SoftwareUpdatePreferences to DescribeMaintenanceStartTime and UpdateMaintenanceStartTime, a structure which contains AutomaticUpdatePolicy. + + 1.33.2 ====== diff --git a/awscli/__init__.py b/awscli/__init__.py index b67f5dccc474..f75c641589e3 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -17,7 +17,7 @@ """ import os -__version__ = '1.33.2' +__version__ = '1.33.3' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index d52747b6065f..989a1074556b 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.33' # The full version, including alpha/beta/rc tags. -release = '1.33.2' +release = '1.33.3' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index baf0c0065855..b5381bea195a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.34.120 + botocore==1.34.121 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 0a7ecde8d800..6472d995909b 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.34.120', + 'botocore==1.34.121', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 0a2a870d76a51e66b45b80d3aeab0eb09aaa1e53 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 7 Jun 2024 18:04:32 +0000 Subject: [PATCH 0050/1087] Update changelog based on model updates --- .changes/next-release/api-change-auditmanager-65370.json | 5 +++++ .changes/next-release/api-change-b2bi-6538.json | 5 +++++ .changes/next-release/api-change-codepipeline-50475.json | 5 +++++ .changes/next-release/api-change-sagemaker-13546.json | 5 +++++ .../next-release/api-change-verifiedpermissions-48240.json | 5 +++++ 5 files changed, 25 insertions(+) create mode 100644 .changes/next-release/api-change-auditmanager-65370.json create mode 100644 .changes/next-release/api-change-b2bi-6538.json create mode 100644 .changes/next-release/api-change-codepipeline-50475.json create mode 100644 .changes/next-release/api-change-sagemaker-13546.json create mode 100644 .changes/next-release/api-change-verifiedpermissions-48240.json diff --git a/.changes/next-release/api-change-auditmanager-65370.json b/.changes/next-release/api-change-auditmanager-65370.json new file mode 100644 index 000000000000..7336cade83a0 --- /dev/null +++ b/.changes/next-release/api-change-auditmanager-65370.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``auditmanager``", + "description": "New feature: common controls. When creating custom controls, you can now use pre-grouped AWS data sources based on common compliance themes. Also, the awsServices parameter is deprecated because we now manage services in scope for you. If used, the input is ignored and an empty list is returned." +} diff --git a/.changes/next-release/api-change-b2bi-6538.json b/.changes/next-release/api-change-b2bi-6538.json new file mode 100644 index 000000000000..98c40286f373 --- /dev/null +++ b/.changes/next-release/api-change-b2bi-6538.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``b2bi``", + "description": "Added exceptions to B2Bi List operations and ConflictException to B2Bi StartTransformerJob operation. Also made capabilities field explicitly required when creating a Partnership." +} diff --git a/.changes/next-release/api-change-codepipeline-50475.json b/.changes/next-release/api-change-codepipeline-50475.json new file mode 100644 index 000000000000..357ebdaab958 --- /dev/null +++ b/.changes/next-release/api-change-codepipeline-50475.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``codepipeline``", + "description": "CodePipeline now supports overriding S3 Source Object Key during StartPipelineExecution, as part of Source Overrides." +} diff --git a/.changes/next-release/api-change-sagemaker-13546.json b/.changes/next-release/api-change-sagemaker-13546.json new file mode 100644 index 000000000000..e48698b9588d --- /dev/null +++ b/.changes/next-release/api-change-sagemaker-13546.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``sagemaker``", + "description": "This release introduces a new optional parameter: InferenceAmiVersion, in ProductionVariant." +} diff --git a/.changes/next-release/api-change-verifiedpermissions-48240.json b/.changes/next-release/api-change-verifiedpermissions-48240.json new file mode 100644 index 000000000000..3fa7e925c14c --- /dev/null +++ b/.changes/next-release/api-change-verifiedpermissions-48240.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``verifiedpermissions``", + "description": "This release adds OpenIdConnect (OIDC) configuration support for IdentitySources, allowing for external IDPs to be used in authorization requests." +} From 722744b9896981a957d5c34db9369cc4cf70f436 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 7 Jun 2024 18:05:42 +0000 Subject: [PATCH 0051/1087] Bumping version to 1.33.4 --- .changes/1.33.4.json | 27 +++++++++++++++++++ .../api-change-auditmanager-65370.json | 5 ---- .../next-release/api-change-b2bi-6538.json | 5 ---- .../api-change-codepipeline-50475.json | 5 ---- .../api-change-sagemaker-13546.json | 5 ---- .../api-change-verifiedpermissions-48240.json | 5 ---- CHANGELOG.rst | 10 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 11 files changed, 41 insertions(+), 29 deletions(-) create mode 100644 .changes/1.33.4.json delete mode 100644 .changes/next-release/api-change-auditmanager-65370.json delete mode 100644 .changes/next-release/api-change-b2bi-6538.json delete mode 100644 .changes/next-release/api-change-codepipeline-50475.json delete mode 100644 .changes/next-release/api-change-sagemaker-13546.json delete mode 100644 .changes/next-release/api-change-verifiedpermissions-48240.json diff --git a/.changes/1.33.4.json b/.changes/1.33.4.json new file mode 100644 index 000000000000..211f72fb642e --- /dev/null +++ b/.changes/1.33.4.json @@ -0,0 +1,27 @@ +[ + { + "category": "``auditmanager``", + "description": "New feature: common controls. When creating custom controls, you can now use pre-grouped AWS data sources based on common compliance themes. Also, the awsServices parameter is deprecated because we now manage services in scope for you. If used, the input is ignored and an empty list is returned.", + "type": "api-change" + }, + { + "category": "``b2bi``", + "description": "Added exceptions to B2Bi List operations and ConflictException to B2Bi StartTransformerJob operation. Also made capabilities field explicitly required when creating a Partnership.", + "type": "api-change" + }, + { + "category": "``codepipeline``", + "description": "CodePipeline now supports overriding S3 Source Object Key during StartPipelineExecution, as part of Source Overrides.", + "type": "api-change" + }, + { + "category": "``sagemaker``", + "description": "This release introduces a new optional parameter: InferenceAmiVersion, in ProductionVariant.", + "type": "api-change" + }, + { + "category": "``verifiedpermissions``", + "description": "This release adds OpenIdConnect (OIDC) configuration support for IdentitySources, allowing for external IDPs to be used in authorization requests.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-auditmanager-65370.json b/.changes/next-release/api-change-auditmanager-65370.json deleted file mode 100644 index 7336cade83a0..000000000000 --- a/.changes/next-release/api-change-auditmanager-65370.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``auditmanager``", - "description": "New feature: common controls. When creating custom controls, you can now use pre-grouped AWS data sources based on common compliance themes. Also, the awsServices parameter is deprecated because we now manage services in scope for you. If used, the input is ignored and an empty list is returned." -} diff --git a/.changes/next-release/api-change-b2bi-6538.json b/.changes/next-release/api-change-b2bi-6538.json deleted file mode 100644 index 98c40286f373..000000000000 --- a/.changes/next-release/api-change-b2bi-6538.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``b2bi``", - "description": "Added exceptions to B2Bi List operations and ConflictException to B2Bi StartTransformerJob operation. Also made capabilities field explicitly required when creating a Partnership." -} diff --git a/.changes/next-release/api-change-codepipeline-50475.json b/.changes/next-release/api-change-codepipeline-50475.json deleted file mode 100644 index 357ebdaab958..000000000000 --- a/.changes/next-release/api-change-codepipeline-50475.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``codepipeline``", - "description": "CodePipeline now supports overriding S3 Source Object Key during StartPipelineExecution, as part of Source Overrides." -} diff --git a/.changes/next-release/api-change-sagemaker-13546.json b/.changes/next-release/api-change-sagemaker-13546.json deleted file mode 100644 index e48698b9588d..000000000000 --- a/.changes/next-release/api-change-sagemaker-13546.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``sagemaker``", - "description": "This release introduces a new optional parameter: InferenceAmiVersion, in ProductionVariant." -} diff --git a/.changes/next-release/api-change-verifiedpermissions-48240.json b/.changes/next-release/api-change-verifiedpermissions-48240.json deleted file mode 100644 index 3fa7e925c14c..000000000000 --- a/.changes/next-release/api-change-verifiedpermissions-48240.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``verifiedpermissions``", - "description": "This release adds OpenIdConnect (OIDC) configuration support for IdentitySources, allowing for external IDPs to be used in authorization requests." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index e7cc2338f771..d01f2c7de87e 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,16 @@ CHANGELOG ========= +1.33.4 +====== + +* api-change:``auditmanager``: New feature: common controls. When creating custom controls, you can now use pre-grouped AWS data sources based on common compliance themes. Also, the awsServices parameter is deprecated because we now manage services in scope for you. If used, the input is ignored and an empty list is returned. +* api-change:``b2bi``: Added exceptions to B2Bi List operations and ConflictException to B2Bi StartTransformerJob operation. Also made capabilities field explicitly required when creating a Partnership. +* api-change:``codepipeline``: CodePipeline now supports overriding S3 Source Object Key during StartPipelineExecution, as part of Source Overrides. +* api-change:``sagemaker``: This release introduces a new optional parameter: InferenceAmiVersion, in ProductionVariant. +* api-change:``verifiedpermissions``: This release adds OpenIdConnect (OIDC) configuration support for IdentitySources, allowing for external IDPs to be used in authorization requests. + + 1.33.3 ====== diff --git a/awscli/__init__.py b/awscli/__init__.py index f75c641589e3..ff24d00506b5 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -17,7 +17,7 @@ """ import os -__version__ = '1.33.3' +__version__ = '1.33.4' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 989a1074556b..bf2eff404681 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.33' # The full version, including alpha/beta/rc tags. -release = '1.33.3' +release = '1.33.4' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index b5381bea195a..5bf90bf80728 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.34.121 + botocore==1.34.122 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 6472d995909b..06750b7cc3d3 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.34.121', + 'botocore==1.34.122', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 5b00f21ce062ea4a268b1d80f9a36c2ad1b918e7 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 10 Jun 2024 18:02:58 +0000 Subject: [PATCH 0052/1087] Update changelog based on model updates --- .../next-release/api-change-applicationsignals-80166.json | 5 +++++ .changes/next-release/api-change-ecs-41602.json | 5 +++++ .changes/next-release/api-change-imagebuilder-2000.json | 5 +++++ 3 files changed, 15 insertions(+) create mode 100644 .changes/next-release/api-change-applicationsignals-80166.json create mode 100644 .changes/next-release/api-change-ecs-41602.json create mode 100644 .changes/next-release/api-change-imagebuilder-2000.json diff --git a/.changes/next-release/api-change-applicationsignals-80166.json b/.changes/next-release/api-change-applicationsignals-80166.json new file mode 100644 index 000000000000..170aaccd2efe --- /dev/null +++ b/.changes/next-release/api-change-applicationsignals-80166.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``application-signals``", + "description": "This is the initial SDK release for Amazon CloudWatch Application Signals. Amazon CloudWatch Application Signals provides curated application performance monitoring for developers to monitor and troubleshoot application health using pre-built dashboards and Service Level Objectives." +} diff --git a/.changes/next-release/api-change-ecs-41602.json b/.changes/next-release/api-change-ecs-41602.json new file mode 100644 index 000000000000..5f9300a905d6 --- /dev/null +++ b/.changes/next-release/api-change-ecs-41602.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ecs``", + "description": "This release introduces a new cluster configuration to support the customer-managed keys for ECS managed storage encryption." +} diff --git a/.changes/next-release/api-change-imagebuilder-2000.json b/.changes/next-release/api-change-imagebuilder-2000.json new file mode 100644 index 000000000000..e9734a2b809d --- /dev/null +++ b/.changes/next-release/api-change-imagebuilder-2000.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``imagebuilder``", + "description": "This release updates the regex pattern for Image Builder ARNs." +} From 857003a34f72bd9a1b3cc4688bdba6fc6961f040 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 10 Jun 2024 18:04:01 +0000 Subject: [PATCH 0053/1087] Bumping version to 1.33.5 --- .changes/1.33.5.json | 17 +++++++++++++++++ .../api-change-applicationsignals-80166.json | 5 ----- .changes/next-release/api-change-ecs-41602.json | 5 ----- .../api-change-imagebuilder-2000.json | 5 ----- CHANGELOG.rst | 8 ++++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 9 files changed, 29 insertions(+), 19 deletions(-) create mode 100644 .changes/1.33.5.json delete mode 100644 .changes/next-release/api-change-applicationsignals-80166.json delete mode 100644 .changes/next-release/api-change-ecs-41602.json delete mode 100644 .changes/next-release/api-change-imagebuilder-2000.json diff --git a/.changes/1.33.5.json b/.changes/1.33.5.json new file mode 100644 index 000000000000..5e768982a854 --- /dev/null +++ b/.changes/1.33.5.json @@ -0,0 +1,17 @@ +[ + { + "category": "``application-signals``", + "description": "This is the initial SDK release for Amazon CloudWatch Application Signals. Amazon CloudWatch Application Signals provides curated application performance monitoring for developers to monitor and troubleshoot application health using pre-built dashboards and Service Level Objectives.", + "type": "api-change" + }, + { + "category": "``ecs``", + "description": "This release introduces a new cluster configuration to support the customer-managed keys for ECS managed storage encryption.", + "type": "api-change" + }, + { + "category": "``imagebuilder``", + "description": "This release updates the regex pattern for Image Builder ARNs.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-applicationsignals-80166.json b/.changes/next-release/api-change-applicationsignals-80166.json deleted file mode 100644 index 170aaccd2efe..000000000000 --- a/.changes/next-release/api-change-applicationsignals-80166.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``application-signals``", - "description": "This is the initial SDK release for Amazon CloudWatch Application Signals. Amazon CloudWatch Application Signals provides curated application performance monitoring for developers to monitor and troubleshoot application health using pre-built dashboards and Service Level Objectives." -} diff --git a/.changes/next-release/api-change-ecs-41602.json b/.changes/next-release/api-change-ecs-41602.json deleted file mode 100644 index 5f9300a905d6..000000000000 --- a/.changes/next-release/api-change-ecs-41602.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ecs``", - "description": "This release introduces a new cluster configuration to support the customer-managed keys for ECS managed storage encryption." -} diff --git a/.changes/next-release/api-change-imagebuilder-2000.json b/.changes/next-release/api-change-imagebuilder-2000.json deleted file mode 100644 index e9734a2b809d..000000000000 --- a/.changes/next-release/api-change-imagebuilder-2000.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``imagebuilder``", - "description": "This release updates the regex pattern for Image Builder ARNs." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index d01f2c7de87e..e2f288405f89 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,14 @@ CHANGELOG ========= +1.33.5 +====== + +* api-change:``application-signals``: This is the initial SDK release for Amazon CloudWatch Application Signals. Amazon CloudWatch Application Signals provides curated application performance monitoring for developers to monitor and troubleshoot application health using pre-built dashboards and Service Level Objectives. +* api-change:``ecs``: This release introduces a new cluster configuration to support the customer-managed keys for ECS managed storage encryption. +* api-change:``imagebuilder``: This release updates the regex pattern for Image Builder ARNs. + + 1.33.4 ====== diff --git a/awscli/__init__.py b/awscli/__init__.py index ff24d00506b5..97b385511c80 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -17,7 +17,7 @@ """ import os -__version__ = '1.33.4' +__version__ = '1.33.5' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index bf2eff404681..c5395a7604dc 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.33' # The full version, including alpha/beta/rc tags. -release = '1.33.4' +release = '1.33.5' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 5bf90bf80728..a55fab34759d 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.34.122 + botocore==1.34.123 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 06750b7cc3d3..f6a6b1a4d3bd 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.34.122', + 'botocore==1.34.123', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 568fc33dc856e66cf338f41bcbb620ba38d7f499 Mon Sep 17 00:00:00 2001 From: Kumar Abhishek Date: Mon, 10 Jun 2024 11:56:46 -0700 Subject: [PATCH 0054/1087] Update start-live-tail command description --- awscli/customizations/logs/startlivetail.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/awscli/customizations/logs/startlivetail.py b/awscli/customizations/logs/startlivetail.py index f4ddb8afbd7f..db4adbd354d6 100644 --- a/awscli/customizations/logs/startlivetail.py +++ b/awscli/customizations/logs/startlivetail.py @@ -33,7 +33,11 @@ "If you are using CloudWatch cross-account observability, " "you can use this operation in a monitoring account and start tailing on " "Log Group(s) present in the linked source accounts. " - 'For more information, see CloudWatch cross-account observability.' + "For more information, see " + "https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Unified-Cross-Account.html.\n\n" + "Live Tail sessions incur charges by session usage time, per minute. " + "For pricing details, please refer to " + "https://aws.amazon.com/cloudwatch/pricing/." ) LIST_SCHEMA = {"type": "array", "items": {"type": "string"}} From 8a72b1fc462af5ef57b663f4928fc532e26aebdd Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 11 Jun 2024 18:19:53 +0000 Subject: [PATCH 0055/1087] Update changelog based on model updates --- .changes/next-release/api-change-accessanalyzer-63665.json | 5 +++++ .changes/next-release/api-change-guardduty-93964.json | 5 +++++ .changes/next-release/api-change-networkmanager-30668.json | 5 +++++ .changes/next-release/api-change-pcaconnectorscep-57709.json | 5 +++++ .changes/next-release/api-change-sagemaker-6070.json | 5 +++++ 5 files changed, 25 insertions(+) create mode 100644 .changes/next-release/api-change-accessanalyzer-63665.json create mode 100644 .changes/next-release/api-change-guardduty-93964.json create mode 100644 .changes/next-release/api-change-networkmanager-30668.json create mode 100644 .changes/next-release/api-change-pcaconnectorscep-57709.json create mode 100644 .changes/next-release/api-change-sagemaker-6070.json diff --git a/.changes/next-release/api-change-accessanalyzer-63665.json b/.changes/next-release/api-change-accessanalyzer-63665.json new file mode 100644 index 000000000000..ef08886e5137 --- /dev/null +++ b/.changes/next-release/api-change-accessanalyzer-63665.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``accessanalyzer``", + "description": "IAM Access Analyzer now provides policy recommendations to help resolve unused permissions for IAM roles and users. Additionally, IAM Access Analyzer now extends its custom policy checks to detect when IAM policies grant public access or access to critical resources ahead of deployments." +} diff --git a/.changes/next-release/api-change-guardduty-93964.json b/.changes/next-release/api-change-guardduty-93964.json new file mode 100644 index 000000000000..504b412aa62e --- /dev/null +++ b/.changes/next-release/api-change-guardduty-93964.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``guardduty``", + "description": "Added API support for GuardDuty Malware Protection for S3." +} diff --git a/.changes/next-release/api-change-networkmanager-30668.json b/.changes/next-release/api-change-networkmanager-30668.json new file mode 100644 index 000000000000..ff6d62300dbc --- /dev/null +++ b/.changes/next-release/api-change-networkmanager-30668.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``networkmanager``", + "description": "This is model changes & documentation update for Service Insertion feature for AWS Cloud WAN. This feature allows insertion of AWS/3rd party security services on Cloud WAN. This allows to steer inter/intra segment traffic via security appliances and provide visibility to the route updates." +} diff --git a/.changes/next-release/api-change-pcaconnectorscep-57709.json b/.changes/next-release/api-change-pcaconnectorscep-57709.json new file mode 100644 index 000000000000..34406949a32c --- /dev/null +++ b/.changes/next-release/api-change-pcaconnectorscep-57709.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``pca-connector-scep``", + "description": "Connector for SCEP allows you to use a managed, cloud CA to enroll mobile devices and networking gear. SCEP is a widely-adopted protocol used by mobile device management (MDM) solutions for enrolling mobile devices. With the connector, you can use AWS Private CA with popular MDM solutions." +} diff --git a/.changes/next-release/api-change-sagemaker-6070.json b/.changes/next-release/api-change-sagemaker-6070.json new file mode 100644 index 000000000000..0dfcaa6bb048 --- /dev/null +++ b/.changes/next-release/api-change-sagemaker-6070.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``sagemaker``", + "description": "Introduced Scope and AuthenticationRequestExtraParams to SageMaker Workforce OIDC configuration; this allows customers to modify these options for their private Workforce IdP integration. Model Registry Cross-account model package groups are discoverable." +} From 16ea2d73d8ea457b6b3a080a7dcc6f80aae5524c Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 11 Jun 2024 18:21:00 +0000 Subject: [PATCH 0056/1087] Bumping version to 1.33.6 --- .changes/1.33.6.json | 27 +++++++++++++++++++ .../api-change-accessanalyzer-63665.json | 5 ---- .../api-change-guardduty-93964.json | 5 ---- .../api-change-networkmanager-30668.json | 5 ---- .../api-change-pcaconnectorscep-57709.json | 5 ---- .../api-change-sagemaker-6070.json | 5 ---- CHANGELOG.rst | 10 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 11 files changed, 41 insertions(+), 29 deletions(-) create mode 100644 .changes/1.33.6.json delete mode 100644 .changes/next-release/api-change-accessanalyzer-63665.json delete mode 100644 .changes/next-release/api-change-guardduty-93964.json delete mode 100644 .changes/next-release/api-change-networkmanager-30668.json delete mode 100644 .changes/next-release/api-change-pcaconnectorscep-57709.json delete mode 100644 .changes/next-release/api-change-sagemaker-6070.json diff --git a/.changes/1.33.6.json b/.changes/1.33.6.json new file mode 100644 index 000000000000..0144a29417a7 --- /dev/null +++ b/.changes/1.33.6.json @@ -0,0 +1,27 @@ +[ + { + "category": "``accessanalyzer``", + "description": "IAM Access Analyzer now provides policy recommendations to help resolve unused permissions for IAM roles and users. Additionally, IAM Access Analyzer now extends its custom policy checks to detect when IAM policies grant public access or access to critical resources ahead of deployments.", + "type": "api-change" + }, + { + "category": "``guardduty``", + "description": "Added API support for GuardDuty Malware Protection for S3.", + "type": "api-change" + }, + { + "category": "``networkmanager``", + "description": "This is model changes & documentation update for Service Insertion feature for AWS Cloud WAN. This feature allows insertion of AWS/3rd party security services on Cloud WAN. This allows to steer inter/intra segment traffic via security appliances and provide visibility to the route updates.", + "type": "api-change" + }, + { + "category": "``pca-connector-scep``", + "description": "Connector for SCEP allows you to use a managed, cloud CA to enroll mobile devices and networking gear. SCEP is a widely-adopted protocol used by mobile device management (MDM) solutions for enrolling mobile devices. With the connector, you can use AWS Private CA with popular MDM solutions.", + "type": "api-change" + }, + { + "category": "``sagemaker``", + "description": "Introduced Scope and AuthenticationRequestExtraParams to SageMaker Workforce OIDC configuration; this allows customers to modify these options for their private Workforce IdP integration. Model Registry Cross-account model package groups are discoverable.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-accessanalyzer-63665.json b/.changes/next-release/api-change-accessanalyzer-63665.json deleted file mode 100644 index ef08886e5137..000000000000 --- a/.changes/next-release/api-change-accessanalyzer-63665.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``accessanalyzer``", - "description": "IAM Access Analyzer now provides policy recommendations to help resolve unused permissions for IAM roles and users. Additionally, IAM Access Analyzer now extends its custom policy checks to detect when IAM policies grant public access or access to critical resources ahead of deployments." -} diff --git a/.changes/next-release/api-change-guardduty-93964.json b/.changes/next-release/api-change-guardduty-93964.json deleted file mode 100644 index 504b412aa62e..000000000000 --- a/.changes/next-release/api-change-guardduty-93964.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``guardduty``", - "description": "Added API support for GuardDuty Malware Protection for S3." -} diff --git a/.changes/next-release/api-change-networkmanager-30668.json b/.changes/next-release/api-change-networkmanager-30668.json deleted file mode 100644 index ff6d62300dbc..000000000000 --- a/.changes/next-release/api-change-networkmanager-30668.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``networkmanager``", - "description": "This is model changes & documentation update for Service Insertion feature for AWS Cloud WAN. This feature allows insertion of AWS/3rd party security services on Cloud WAN. This allows to steer inter/intra segment traffic via security appliances and provide visibility to the route updates." -} diff --git a/.changes/next-release/api-change-pcaconnectorscep-57709.json b/.changes/next-release/api-change-pcaconnectorscep-57709.json deleted file mode 100644 index 34406949a32c..000000000000 --- a/.changes/next-release/api-change-pcaconnectorscep-57709.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``pca-connector-scep``", - "description": "Connector for SCEP allows you to use a managed, cloud CA to enroll mobile devices and networking gear. SCEP is a widely-adopted protocol used by mobile device management (MDM) solutions for enrolling mobile devices. With the connector, you can use AWS Private CA with popular MDM solutions." -} diff --git a/.changes/next-release/api-change-sagemaker-6070.json b/.changes/next-release/api-change-sagemaker-6070.json deleted file mode 100644 index 0dfcaa6bb048..000000000000 --- a/.changes/next-release/api-change-sagemaker-6070.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``sagemaker``", - "description": "Introduced Scope and AuthenticationRequestExtraParams to SageMaker Workforce OIDC configuration; this allows customers to modify these options for their private Workforce IdP integration. Model Registry Cross-account model package groups are discoverable." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index e2f288405f89..57185ae47d2a 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,16 @@ CHANGELOG ========= +1.33.6 +====== + +* api-change:``accessanalyzer``: IAM Access Analyzer now provides policy recommendations to help resolve unused permissions for IAM roles and users. Additionally, IAM Access Analyzer now extends its custom policy checks to detect when IAM policies grant public access or access to critical resources ahead of deployments. +* api-change:``guardduty``: Added API support for GuardDuty Malware Protection for S3. +* api-change:``networkmanager``: This is model changes & documentation update for Service Insertion feature for AWS Cloud WAN. This feature allows insertion of AWS/3rd party security services on Cloud WAN. This allows to steer inter/intra segment traffic via security appliances and provide visibility to the route updates. +* api-change:``pca-connector-scep``: Connector for SCEP allows you to use a managed, cloud CA to enroll mobile devices and networking gear. SCEP is a widely-adopted protocol used by mobile device management (MDM) solutions for enrolling mobile devices. With the connector, you can use AWS Private CA with popular MDM solutions. +* api-change:``sagemaker``: Introduced Scope and AuthenticationRequestExtraParams to SageMaker Workforce OIDC configuration; this allows customers to modify these options for their private Workforce IdP integration. Model Registry Cross-account model package groups are discoverable. + + 1.33.5 ====== diff --git a/awscli/__init__.py b/awscli/__init__.py index 97b385511c80..f5cfce54d365 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -17,7 +17,7 @@ """ import os -__version__ = '1.33.5' +__version__ = '1.33.6' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index c5395a7604dc..634fb01b821f 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.33' # The full version, including alpha/beta/rc tags. -release = '1.33.5' +release = '1.33.6' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index a55fab34759d..d95d7a57dd98 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.34.123 + botocore==1.34.124 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index f6a6b1a4d3bd..6d5354f069b1 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.34.123', + 'botocore==1.34.124', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From ce5e752d07dd46d73cbd7d39757c9c33befda23d Mon Sep 17 00:00:00 2001 From: Alessandra Romero <24320222+alexgromero@users.noreply.github.com> Date: Wed, 12 Jun 2024 12:10:17 -0400 Subject: [PATCH 0057/1087] Add custom marker for model validation tests (#8733) * Add custom marker for running model validation tests Co-authored-by: Alessandra Romero --- pyproject.toml | 1 + tests/functional/test_no_event_streams.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 699b31d7abdf..eee75d134c36 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,4 +1,5 @@ [tool.pytest.ini_options] markers = [ "slow: marks tests as slow", + "validates_models: marks tests as one which validates service models", ] diff --git a/tests/functional/test_no_event_streams.py b/tests/functional/test_no_event_streams.py index b05e4a03ff37..6220967f6d14 100644 --- a/tests/functional/test_no_event_streams.py +++ b/tests/functional/test_no_event_streams.py @@ -10,6 +10,7 @@ # distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF # ANY KIND, either express or implied. See the License for the specific # language governing permissions and limitations under the License. +import pytest from botocore.model import OperationModel from awscli.clidriver import create_clidriver @@ -21,6 +22,7 @@ ] +@pytest.mark.validates_models def test_no_event_stream_unless_allowed(): driver = create_clidriver() help_command = driver.create_help_command() From 1904035d98421b34d8515512b276860da6e57d27 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 12 Jun 2024 18:08:53 +0000 Subject: [PATCH 0058/1087] Update changelog based on model updates --- .changes/next-release/api-change-apptest-56909.json | 5 +++++ .changes/next-release/api-change-ec2-96471.json | 5 +++++ .changes/next-release/api-change-osis-39548.json | 5 +++++ .changes/next-release/api-change-redshift-45505.json | 5 +++++ .changes/next-release/api-change-secretsmanager-21934.json | 5 +++++ .changes/next-release/api-change-securitylake-81571.json | 5 +++++ .changes/next-release/api-change-sesv2-19102.json | 5 +++++ 7 files changed, 35 insertions(+) create mode 100644 .changes/next-release/api-change-apptest-56909.json create mode 100644 .changes/next-release/api-change-ec2-96471.json create mode 100644 .changes/next-release/api-change-osis-39548.json create mode 100644 .changes/next-release/api-change-redshift-45505.json create mode 100644 .changes/next-release/api-change-secretsmanager-21934.json create mode 100644 .changes/next-release/api-change-securitylake-81571.json create mode 100644 .changes/next-release/api-change-sesv2-19102.json diff --git a/.changes/next-release/api-change-apptest-56909.json b/.changes/next-release/api-change-apptest-56909.json new file mode 100644 index 000000000000..00cb2b340485 --- /dev/null +++ b/.changes/next-release/api-change-apptest-56909.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``apptest``", + "description": "AWS Mainframe Modernization Application Testing is an AWS Mainframe Modernization service feature that automates functional equivalence testing for mainframe application modernization and migration to AWS, and regression testing." +} diff --git a/.changes/next-release/api-change-ec2-96471.json b/.changes/next-release/api-change-ec2-96471.json new file mode 100644 index 000000000000..89fca9b76908 --- /dev/null +++ b/.changes/next-release/api-change-ec2-96471.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ec2``", + "description": "Tagging support for Traffic Mirroring FilterRule resource" +} diff --git a/.changes/next-release/api-change-osis-39548.json b/.changes/next-release/api-change-osis-39548.json new file mode 100644 index 000000000000..772d18717bd4 --- /dev/null +++ b/.changes/next-release/api-change-osis-39548.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``osis``", + "description": "SDK changes for self-managed vpc endpoint to OpenSearch ingestion pipelines." +} diff --git a/.changes/next-release/api-change-redshift-45505.json b/.changes/next-release/api-change-redshift-45505.json new file mode 100644 index 000000000000..829bca54549a --- /dev/null +++ b/.changes/next-release/api-change-redshift-45505.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``redshift``", + "description": "Updates to remove DC1 and DS2 node types." +} diff --git a/.changes/next-release/api-change-secretsmanager-21934.json b/.changes/next-release/api-change-secretsmanager-21934.json new file mode 100644 index 000000000000..38b67ef99ce2 --- /dev/null +++ b/.changes/next-release/api-change-secretsmanager-21934.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``secretsmanager``", + "description": "Introducing RotationToken parameter for PutSecretValue API" +} diff --git a/.changes/next-release/api-change-securitylake-81571.json b/.changes/next-release/api-change-securitylake-81571.json new file mode 100644 index 000000000000..83626aeefa4b --- /dev/null +++ b/.changes/next-release/api-change-securitylake-81571.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``securitylake``", + "description": "This release updates request validation regex to account for non-commercial aws partitions." +} diff --git a/.changes/next-release/api-change-sesv2-19102.json b/.changes/next-release/api-change-sesv2-19102.json new file mode 100644 index 000000000000..ef5eac0492ab --- /dev/null +++ b/.changes/next-release/api-change-sesv2-19102.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``sesv2``", + "description": "This release adds support for Amazon EventBridge as an email sending events destination." +} From e0bb2079b2eae354ae894c12dbaec91afc9dd793 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 12 Jun 2024 18:10:04 +0000 Subject: [PATCH 0059/1087] Bumping version to 1.33.7 --- .changes/1.33.7.json | 37 +++++++++++++++++++ .../api-change-apptest-56909.json | 5 --- .../next-release/api-change-ec2-96471.json | 5 --- .../next-release/api-change-osis-39548.json | 5 --- .../api-change-redshift-45505.json | 5 --- .../api-change-secretsmanager-21934.json | 5 --- .../api-change-securitylake-81571.json | 5 --- .../next-release/api-change-sesv2-19102.json | 5 --- CHANGELOG.rst | 12 ++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 13 files changed, 53 insertions(+), 39 deletions(-) create mode 100644 .changes/1.33.7.json delete mode 100644 .changes/next-release/api-change-apptest-56909.json delete mode 100644 .changes/next-release/api-change-ec2-96471.json delete mode 100644 .changes/next-release/api-change-osis-39548.json delete mode 100644 .changes/next-release/api-change-redshift-45505.json delete mode 100644 .changes/next-release/api-change-secretsmanager-21934.json delete mode 100644 .changes/next-release/api-change-securitylake-81571.json delete mode 100644 .changes/next-release/api-change-sesv2-19102.json diff --git a/.changes/1.33.7.json b/.changes/1.33.7.json new file mode 100644 index 000000000000..0867baca8b24 --- /dev/null +++ b/.changes/1.33.7.json @@ -0,0 +1,37 @@ +[ + { + "category": "``apptest``", + "description": "AWS Mainframe Modernization Application Testing is an AWS Mainframe Modernization service feature that automates functional equivalence testing for mainframe application modernization and migration to AWS, and regression testing.", + "type": "api-change" + }, + { + "category": "``ec2``", + "description": "Tagging support for Traffic Mirroring FilterRule resource", + "type": "api-change" + }, + { + "category": "``osis``", + "description": "SDK changes for self-managed vpc endpoint to OpenSearch ingestion pipelines.", + "type": "api-change" + }, + { + "category": "``redshift``", + "description": "Updates to remove DC1 and DS2 node types.", + "type": "api-change" + }, + { + "category": "``secretsmanager``", + "description": "Introducing RotationToken parameter for PutSecretValue API", + "type": "api-change" + }, + { + "category": "``securitylake``", + "description": "This release updates request validation regex to account for non-commercial aws partitions.", + "type": "api-change" + }, + { + "category": "``sesv2``", + "description": "This release adds support for Amazon EventBridge as an email sending events destination.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-apptest-56909.json b/.changes/next-release/api-change-apptest-56909.json deleted file mode 100644 index 00cb2b340485..000000000000 --- a/.changes/next-release/api-change-apptest-56909.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``apptest``", - "description": "AWS Mainframe Modernization Application Testing is an AWS Mainframe Modernization service feature that automates functional equivalence testing for mainframe application modernization and migration to AWS, and regression testing." -} diff --git a/.changes/next-release/api-change-ec2-96471.json b/.changes/next-release/api-change-ec2-96471.json deleted file mode 100644 index 89fca9b76908..000000000000 --- a/.changes/next-release/api-change-ec2-96471.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ec2``", - "description": "Tagging support for Traffic Mirroring FilterRule resource" -} diff --git a/.changes/next-release/api-change-osis-39548.json b/.changes/next-release/api-change-osis-39548.json deleted file mode 100644 index 772d18717bd4..000000000000 --- a/.changes/next-release/api-change-osis-39548.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``osis``", - "description": "SDK changes for self-managed vpc endpoint to OpenSearch ingestion pipelines." -} diff --git a/.changes/next-release/api-change-redshift-45505.json b/.changes/next-release/api-change-redshift-45505.json deleted file mode 100644 index 829bca54549a..000000000000 --- a/.changes/next-release/api-change-redshift-45505.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``redshift``", - "description": "Updates to remove DC1 and DS2 node types." -} diff --git a/.changes/next-release/api-change-secretsmanager-21934.json b/.changes/next-release/api-change-secretsmanager-21934.json deleted file mode 100644 index 38b67ef99ce2..000000000000 --- a/.changes/next-release/api-change-secretsmanager-21934.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``secretsmanager``", - "description": "Introducing RotationToken parameter for PutSecretValue API" -} diff --git a/.changes/next-release/api-change-securitylake-81571.json b/.changes/next-release/api-change-securitylake-81571.json deleted file mode 100644 index 83626aeefa4b..000000000000 --- a/.changes/next-release/api-change-securitylake-81571.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``securitylake``", - "description": "This release updates request validation regex to account for non-commercial aws partitions." -} diff --git a/.changes/next-release/api-change-sesv2-19102.json b/.changes/next-release/api-change-sesv2-19102.json deleted file mode 100644 index ef5eac0492ab..000000000000 --- a/.changes/next-release/api-change-sesv2-19102.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``sesv2``", - "description": "This release adds support for Amazon EventBridge as an email sending events destination." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 57185ae47d2a..96ad22ca79af 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,18 @@ CHANGELOG ========= +1.33.7 +====== + +* api-change:``apptest``: AWS Mainframe Modernization Application Testing is an AWS Mainframe Modernization service feature that automates functional equivalence testing for mainframe application modernization and migration to AWS, and regression testing. +* api-change:``ec2``: Tagging support for Traffic Mirroring FilterRule resource +* api-change:``osis``: SDK changes for self-managed vpc endpoint to OpenSearch ingestion pipelines. +* api-change:``redshift``: Updates to remove DC1 and DS2 node types. +* api-change:``secretsmanager``: Introducing RotationToken parameter for PutSecretValue API +* api-change:``securitylake``: This release updates request validation regex to account for non-commercial aws partitions. +* api-change:``sesv2``: This release adds support for Amazon EventBridge as an email sending events destination. + + 1.33.6 ====== diff --git a/awscli/__init__.py b/awscli/__init__.py index f5cfce54d365..cfdba93b6c2f 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -17,7 +17,7 @@ """ import os -__version__ = '1.33.6' +__version__ = '1.33.7' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 634fb01b821f..4f84e0e3dbf1 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.33' # The full version, including alpha/beta/rc tags. -release = '1.33.6' +release = '1.33.7' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index d95d7a57dd98..8d613e28ae9a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.34.124 + botocore==1.34.125 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 6d5354f069b1..7abf2de34de6 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.34.124', + 'botocore==1.34.125', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From a8b0248908f7a79a987899fa5a7718245570b884 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 13 Jun 2024 18:05:18 +0000 Subject: [PATCH 0060/1087] Update changelog based on model updates --- .changes/next-release/api-change-cloudhsmv2-74727.json | 5 +++++ .changes/next-release/api-change-glue-91213.json | 5 +++++ .changes/next-release/api-change-iotwireless-89868.json | 5 +++++ .changes/next-release/api-change-kms-94566.json | 5 +++++ .changes/next-release/api-change-mediapackagev2-88181.json | 5 +++++ 5 files changed, 25 insertions(+) create mode 100644 .changes/next-release/api-change-cloudhsmv2-74727.json create mode 100644 .changes/next-release/api-change-glue-91213.json create mode 100644 .changes/next-release/api-change-iotwireless-89868.json create mode 100644 .changes/next-release/api-change-kms-94566.json create mode 100644 .changes/next-release/api-change-mediapackagev2-88181.json diff --git a/.changes/next-release/api-change-cloudhsmv2-74727.json b/.changes/next-release/api-change-cloudhsmv2-74727.json new file mode 100644 index 000000000000..08e3d3b35a7f --- /dev/null +++ b/.changes/next-release/api-change-cloudhsmv2-74727.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``cloudhsmv2``", + "description": "Added support for hsm type hsm2m.medium. Added supported for creating a cluster in FIPS or NON_FIPS mode." +} diff --git a/.changes/next-release/api-change-glue-91213.json b/.changes/next-release/api-change-glue-91213.json new file mode 100644 index 000000000000..d2cacafbfe07 --- /dev/null +++ b/.changes/next-release/api-change-glue-91213.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``glue``", + "description": "This release adds support for configuration of evaluation method for composite rules in Glue Data Quality rulesets." +} diff --git a/.changes/next-release/api-change-iotwireless-89868.json b/.changes/next-release/api-change-iotwireless-89868.json new file mode 100644 index 000000000000..72e76d498da9 --- /dev/null +++ b/.changes/next-release/api-change-iotwireless-89868.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``iotwireless``", + "description": "Add RoamingDeviceSNR and RoamingDeviceRSSI to Customer Metrics." +} diff --git a/.changes/next-release/api-change-kms-94566.json b/.changes/next-release/api-change-kms-94566.json new file mode 100644 index 000000000000..b2fdc2b67ba6 --- /dev/null +++ b/.changes/next-release/api-change-kms-94566.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``kms``", + "description": "This feature allows customers to use their keys stored in KMS to derive a shared secret which can then be used to establish a secured channel for communication, provide proof of possession, or establish trust with other parties." +} diff --git a/.changes/next-release/api-change-mediapackagev2-88181.json b/.changes/next-release/api-change-mediapackagev2-88181.json new file mode 100644 index 000000000000..6203b6557c74 --- /dev/null +++ b/.changes/next-release/api-change-mediapackagev2-88181.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``mediapackagev2``", + "description": "This release adds support for CMAF ingest (DASH-IF live media ingest protocol interface 1)" +} From d34852b4f68b0fd8966c4e2a8a8424fb6e5aebd5 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 13 Jun 2024 18:06:39 +0000 Subject: [PATCH 0061/1087] Bumping version to 1.33.8 --- .changes/1.33.8.json | 27 +++++++++++++++++++ .../api-change-cloudhsmv2-74727.json | 5 ---- .../next-release/api-change-glue-91213.json | 5 ---- .../api-change-iotwireless-89868.json | 5 ---- .../next-release/api-change-kms-94566.json | 5 ---- .../api-change-mediapackagev2-88181.json | 5 ---- CHANGELOG.rst | 10 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 11 files changed, 41 insertions(+), 29 deletions(-) create mode 100644 .changes/1.33.8.json delete mode 100644 .changes/next-release/api-change-cloudhsmv2-74727.json delete mode 100644 .changes/next-release/api-change-glue-91213.json delete mode 100644 .changes/next-release/api-change-iotwireless-89868.json delete mode 100644 .changes/next-release/api-change-kms-94566.json delete mode 100644 .changes/next-release/api-change-mediapackagev2-88181.json diff --git a/.changes/1.33.8.json b/.changes/1.33.8.json new file mode 100644 index 000000000000..f2f6b12bad9e --- /dev/null +++ b/.changes/1.33.8.json @@ -0,0 +1,27 @@ +[ + { + "category": "``cloudhsmv2``", + "description": "Added support for hsm type hsm2m.medium. Added supported for creating a cluster in FIPS or NON_FIPS mode.", + "type": "api-change" + }, + { + "category": "``glue``", + "description": "This release adds support for configuration of evaluation method for composite rules in Glue Data Quality rulesets.", + "type": "api-change" + }, + { + "category": "``iotwireless``", + "description": "Add RoamingDeviceSNR and RoamingDeviceRSSI to Customer Metrics.", + "type": "api-change" + }, + { + "category": "``kms``", + "description": "This feature allows customers to use their keys stored in KMS to derive a shared secret which can then be used to establish a secured channel for communication, provide proof of possession, or establish trust with other parties.", + "type": "api-change" + }, + { + "category": "``mediapackagev2``", + "description": "This release adds support for CMAF ingest (DASH-IF live media ingest protocol interface 1)", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-cloudhsmv2-74727.json b/.changes/next-release/api-change-cloudhsmv2-74727.json deleted file mode 100644 index 08e3d3b35a7f..000000000000 --- a/.changes/next-release/api-change-cloudhsmv2-74727.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``cloudhsmv2``", - "description": "Added support for hsm type hsm2m.medium. Added supported for creating a cluster in FIPS or NON_FIPS mode." -} diff --git a/.changes/next-release/api-change-glue-91213.json b/.changes/next-release/api-change-glue-91213.json deleted file mode 100644 index d2cacafbfe07..000000000000 --- a/.changes/next-release/api-change-glue-91213.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``glue``", - "description": "This release adds support for configuration of evaluation method for composite rules in Glue Data Quality rulesets." -} diff --git a/.changes/next-release/api-change-iotwireless-89868.json b/.changes/next-release/api-change-iotwireless-89868.json deleted file mode 100644 index 72e76d498da9..000000000000 --- a/.changes/next-release/api-change-iotwireless-89868.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``iotwireless``", - "description": "Add RoamingDeviceSNR and RoamingDeviceRSSI to Customer Metrics." -} diff --git a/.changes/next-release/api-change-kms-94566.json b/.changes/next-release/api-change-kms-94566.json deleted file mode 100644 index b2fdc2b67ba6..000000000000 --- a/.changes/next-release/api-change-kms-94566.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``kms``", - "description": "This feature allows customers to use their keys stored in KMS to derive a shared secret which can then be used to establish a secured channel for communication, provide proof of possession, or establish trust with other parties." -} diff --git a/.changes/next-release/api-change-mediapackagev2-88181.json b/.changes/next-release/api-change-mediapackagev2-88181.json deleted file mode 100644 index 6203b6557c74..000000000000 --- a/.changes/next-release/api-change-mediapackagev2-88181.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``mediapackagev2``", - "description": "This release adds support for CMAF ingest (DASH-IF live media ingest protocol interface 1)" -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 96ad22ca79af..dd93d042b216 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,16 @@ CHANGELOG ========= +1.33.8 +====== + +* api-change:``cloudhsmv2``: Added support for hsm type hsm2m.medium. Added supported for creating a cluster in FIPS or NON_FIPS mode. +* api-change:``glue``: This release adds support for configuration of evaluation method for composite rules in Glue Data Quality rulesets. +* api-change:``iotwireless``: Add RoamingDeviceSNR and RoamingDeviceRSSI to Customer Metrics. +* api-change:``kms``: This feature allows customers to use their keys stored in KMS to derive a shared secret which can then be used to establish a secured channel for communication, provide proof of possession, or establish trust with other parties. +* api-change:``mediapackagev2``: This release adds support for CMAF ingest (DASH-IF live media ingest protocol interface 1) + + 1.33.7 ====== diff --git a/awscli/__init__.py b/awscli/__init__.py index cfdba93b6c2f..1192a3bdd032 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -17,7 +17,7 @@ """ import os -__version__ = '1.33.7' +__version__ = '1.33.8' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 4f84e0e3dbf1..29f50b9cf6c4 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.33' # The full version, including alpha/beta/rc tags. -release = '1.33.7' +release = '1.33.8' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 8d613e28ae9a..99e1e5f1d5b5 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.34.125 + botocore==1.34.126 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 7abf2de34de6..87d4e3f38070 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.34.125', + 'botocore==1.34.126', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 9ad99f5ca6e65debc38947a6b4436cc547f83cd9 Mon Sep 17 00:00:00 2001 From: Elysa Hall Date: Wed, 12 Jun 2024 20:12:12 +0000 Subject: [PATCH 0062/1087] CLI examples for apigatewayv2, cloudtrail, docdb, ec2, eks, networkmonitor --- .../delete-access-log-settings.rst | 22 +- .../cloudtrail/put-event-selectors.rst | 235 +++++++++++++----- .../modify-db-cluster-snapshot-attribute.rst | 5 +- awscli/examples/ec2/create-vpc.rst | 4 +- .../ec2/describe-locked-snapshots.rst | 24 ++ .../disable-snapshot-block-public-access.rst | 13 + .../enable-snapshot-block-public-access.rst | 14 ++ ...get-snapshot-block-public-access-state.rst | 13 + awscli/examples/ec2/lock-snapshot.rst | 46 ++++ awscli/examples/ec2/unlock-snapshot.rst | 14 ++ .../eks/describe-addon-configuration.rst | 33 +++ awscli/examples/eks/wait/addon-active.rst | 9 + awscli/examples/eks/wait/addon-deleted.rst | 9 + awscli/examples/eks/wait/cluster-active.rst | 9 +- awscli/examples/eks/wait/cluster-deleted.rst | 11 +- .../eks/wait/fargate-profile-active.rst | 9 + .../eks/wait/fargate-profile-deleted.rst | 9 + awscli/examples/eks/wait/nodegroup-active.rst | 9 + .../examples/eks/wait/nodegroup-deleted.rst | 9 + .../networkmonitor/create-monitor.rst | 66 +++++ .../examples/networkmonitor/get-monitor.rst | 21 ++ .../networkmonitor/list-tags-for-resource.rst | 17 ++ .../examples/networkmonitor/tag-resource.rst | 11 + .../networkmonitor/untag-resource.rst | 11 + 24 files changed, 535 insertions(+), 88 deletions(-) create mode 100644 awscli/examples/ec2/describe-locked-snapshots.rst create mode 100644 awscli/examples/ec2/disable-snapshot-block-public-access.rst create mode 100644 awscli/examples/ec2/enable-snapshot-block-public-access.rst create mode 100644 awscli/examples/ec2/get-snapshot-block-public-access-state.rst create mode 100644 awscli/examples/ec2/lock-snapshot.rst create mode 100644 awscli/examples/ec2/unlock-snapshot.rst create mode 100644 awscli/examples/eks/describe-addon-configuration.rst create mode 100644 awscli/examples/eks/wait/addon-active.rst create mode 100644 awscli/examples/eks/wait/addon-deleted.rst create mode 100644 awscli/examples/eks/wait/fargate-profile-active.rst create mode 100644 awscli/examples/eks/wait/fargate-profile-deleted.rst create mode 100644 awscli/examples/eks/wait/nodegroup-active.rst create mode 100644 awscli/examples/eks/wait/nodegroup-deleted.rst create mode 100644 awscli/examples/networkmonitor/create-monitor.rst create mode 100644 awscli/examples/networkmonitor/get-monitor.rst create mode 100644 awscli/examples/networkmonitor/list-tags-for-resource.rst create mode 100644 awscli/examples/networkmonitor/tag-resource.rst create mode 100644 awscli/examples/networkmonitor/untag-resource.rst diff --git a/awscli/examples/apigatewayv2/delete-access-log-settings.rst b/awscli/examples/apigatewayv2/delete-access-log-settings.rst index de19c1d281c3..f6f897078a61 100644 --- a/awscli/examples/apigatewayv2/delete-access-log-settings.rst +++ b/awscli/examples/apigatewayv2/delete-access-log-settings.rst @@ -1,11 +1,11 @@ -**To disable access logging for an API** - -The following ``delete-access-log-settings`` example deletes the access log settings for the ``$default`` stage of an API. To disable access logging for a stage, delete its access log settings. :: - - aws apigatewayv2 delete-access-log-settings \ - --api-id a1b2c3d4 \ - --stage-name '$default' - -This command produces no output. - -For more information, see `Configuring logging for an HTTP API `__ in the *Amazon API Gateway Developer Guide*. +**To disable access logging for an API** + +The following ``delete-access-log-settings`` example deletes the access log settings for the ``$default`` stage of an API. To disable access logging for a stage, delete its access log settings. :: + + aws apigatewayv2 delete-access-log-settings \ + --api-id a1b2c3d4 \ + --stage-name '$default' + +This command produces no output. + +For more information, see `Configuring logging for an HTTP API `__ in the *Amazon API Gateway Developer Guide*. \ No newline at end of file diff --git a/awscli/examples/cloudtrail/put-event-selectors.rst b/awscli/examples/cloudtrail/put-event-selectors.rst index 6b3598620695..7fe09312ce2e 100755 --- a/awscli/examples/cloudtrail/put-event-selectors.rst +++ b/awscli/examples/cloudtrail/put-event-selectors.rst @@ -1,70 +1,187 @@ -**To configure event selectors for a trail** +**Example 1: Configure a trail to log management events and data events by using advanced event selectors** -To create an event selector, run the ''put-event-selectors'' command. When an event occurs in your account, CloudTrail evaluates -the configuration for your trails. If the event matches any event selector for a trail, the trail processes and logs the event. -You can configure up to 5 event selectors for a trail and up to 250 data resources for a trail. +You can add advanced event selectors, and conditions for your advanced event selectors, up to a maximum of 500 values for all conditions and selectors on a trail. You can use advanced event selectors to log all available data event types. You can use either advanced event selectors or basic event selectors, but not both. If you apply advanced event selectors to a trail, any existing basic event selectors are overwritten. -The following example creates an event selector for a trail named ''TrailName'' to include read-only and write-only management events, -data events for two Amazon S3 bucket/prefix combinations, and data events for a single AWS Lambda function named ''hello-world-python-function'':: +The following example creates an advanced event selector for a trail named ``myTrail`` to log all management events, log S3 PutObject and DeleteObject API calls for all but one S3 bucket, log data API calls for a Lambda function named ``myFunction``, and log Publish API calls on an SNS topic named ``myTopic``. :: + aws cloudtrail put-event-selectors \ + --trail-name myTrail \ + --advanced-event-selectors '[{"Name": "Log all management events", "FieldSelectors": [{ "Field": "eventCategory", "Equals": ["Management"] }] },{"Name": "Log PutObject and DeleteObject events for all but one bucket","FieldSelectors": [{ "Field": "eventCategory", "Equals": ["Data"] },{ "Field": "resources.type", "Equals": ["AWS::S3::Object"] },{ "Field": "eventName", "Equals": ["PutObject","DeleteObject"] },{ "Field": "resources.ARN", "NotStartsWith": ["arn:aws:s3:::sample_bucket_name/"] }]},{"Name": "Log data events for a specific Lambda function","FieldSelectors": [{ "Field": "eventCategory", "Equals": ["Data"] },{ "Field": "resources.type", "Equals": ["AWS::Lambda::Function"] },{ "Field": "resources.ARN", "Equals": ["arn:aws:lambda:us-east-1:123456789012:function:myFunction"] }]},{"Name": "Log all Publish API calls on a specific SNS topic","FieldSelectors": [{ "Field": "eventCategory", "Equals": ["Data"] },{ "Field": "resources.type", "Equals": ["AWS::SNS::Topic"] },{ "Field": "eventName", "Equals": ["Publish"] },{ "Field": "resources.ARN", "Equals": ["arn:aws:sns:us-east-1:123456789012:myTopic.fifo"] }]}]' +Output:: + + { + "TrailARN": "arn:aws:cloudtrail:us-east-1:123456789012:trail/myTrail", + "AdvancedEventSelectors": [ + { + "Name": "Log all management events", + "FieldSelectors": [ + { + "Field": "eventCategory", + "Equals": [ + "Management" + ] + } + ] + }, + { + "Name": "Log PutObject and DeleteObject events for all but one bucket", + "FieldSelectors": [ + { + "Field": "eventCategory", + "Equals": [ + "Data" + ] + }, + { + "Field": "resources.type", + "Equals": [ + "AWS::S3::Object" + ] + }, + { + "Field": "eventName", + "Equals": [ + "PutObject", + "DeleteObject" + ] + }, + { + "Field": "resources.ARN", + "NotStartsWith": [ + "arn:aws:s3:::sample_bucket_name/" + ] + } + ] + }, + { + "Name": "Log data events for a specific Lambda function", + "FieldSelectors": [ + { + "Field": "eventCategory", + "Equals": [ + "Data" + ] + }, + { + "Field": "resources.type", + "Equals": [ + "AWS::Lambda::Function" + ] + }, + { + "Field": "resources.ARN", + "Equals": [ + "arn:aws:lambda:us-east-1:123456789012:function:myFunction" + ] + } + ] + }, + { + "Name": "Log all Publish API calls on a specific SNS topic", + "FieldSelectors": [ + { + "Field": "eventCategory", + "Equals": [ + "Data" + ] + }, + { + "Field": "resources.type", + "Equals": [ + "AWS::SNS::Topic" + ] + }, + { + "Field": "eventName", + "Equals": [ + "Publish" + ] + }, + { + "Field": "resources.ARN", + "Equals": [ + "arn:aws:sns:us-east-1:123456789012:myTopic.fifo" + ] + } + ] + } + ] + } + +For more information, see `Log events by using advanced event selectors `__ in the *AWS CloudTrail User Guide*. + +**Example 2: Configure event selectors for a trail to log all management events and data events** + +You can configure up to 5 event selectors for a trail and up to 250 data resources for a trail. Event selectors are also referred to as basic event selectors. You can use event selectors to log management events and data events for S3 objects, Lambda functions, and DynnamoDB tables. To log data events for other resource types, you must use advanced event selectors. + +The following example creates an event selector for a trail named ``TrailName`` to include all management events, data events for two Amazon S3 bucket/prefix combinations, and data events for a single AWS Lambda function named ``hello-world-python-function``. :: - aws cloudtrail put-event-selectors --trail-name TrailName --event-selectors '[{"ReadWriteType": "All","IncludeManagementEvents": true,"DataResources": [{"Type":"AWS::S3::Object", "Values": ["arn:aws:s3:::mybucket/prefix","arn:aws:s3:::mybucket2/prefix2"]},{"Type": "AWS::Lambda::Function","Values": ["arn:aws:lambda:us-west-2:999999999999:function:hello-world-python-function"]}]}]' + aws cloudtrail put-event-selectors \ + --trail-name TrailName \ + --event-selectors '[{"ReadWriteType": "All","IncludeManagementEvents": true,"DataResources": [{"Type":"AWS::S3::Object", "Values": ["arn:aws:s3:::mybucket/prefix","arn:aws:s3:::mybucket2/prefix2"]},{"Type": "AWS::Lambda::Function","Values": ["arn:aws:lambda:us-west-2:999999999999:function:hello-world-python-function"]}]}]' Output:: - { - "EventSelectors": [ - { - "IncludeManagementEvents": true, - "DataResources": [ - { - "Values": [ - "arn:aws:s3:::mybucket/prefix", - "arn:aws:s3:::mybucket2/prefix2" - ], - "Type": "AWS::S3::Object" - }, - { - "Values": [ - "arn:aws:lambda:us-west-2:123456789012:function:hello-world-python-function" - ], - "Type": "AWS::Lambda::Function" - }, - ], - "ReadWriteType": "All" - } - ], - "TrailARN": "arn:aws:cloudtrail:us-east-2:123456789012:trail/TrailName" - } - -The following example creates an event selector for a trail named ''TrailName2'' that includes all events, including read-only and write-only management events, and all data events for all Amazon S3 buckets and AWS Lambda functions in the AWS account:: - - aws cloudtrail put-event-selectors --trail-name TrailName2 --event-selectors '[{"ReadWriteType": "All","IncludeManagementEvents": true,"DataResources": [{"Type":"AWS::S3::Object", "Values": ["arn:aws:s3:::"]},{"Type": "AWS::Lambda::Function","Values": ["arn:aws:lambda"]}]}]' + { + "EventSelectors": [ + { + "IncludeManagementEvents": true, + "DataResources": [ + { + "Values": [ + "arn:aws:s3:::mybucket/prefix", + "arn:aws:s3:::mybucket2/prefix2" + ], + "Type": "AWS::S3::Object" + }, + { + "Values": [ + "arn:aws:lambda:us-west-2:123456789012:function:hello-world-python-function" + ], + "Type": "AWS::Lambda::Function" + }, + ], + "ReadWriteType": "All" + } + ], + "TrailARN": "arn:aws:cloudtrail:us-east-2:123456789012:trail/TrailName" + } + +For more information, see `Log events by using basic event selectors `__ in the *AWS CloudTrail User Guide*. + +**Example 3: Configure event selectors for a trail to log management events, all S3 data events on S3 objects, and all Lambda data events on functions in your account** + +The following example creates an event selector for a trail named ``TrailName2`` that includes all management events, and all data events for all Amazon S3 buckets and AWS Lambda functions in the AWS account. :: + + aws cloudtrail put-event-selectors \ + --trail-name TrailName2 \ + --event-selectors '[{"ReadWriteType": "All","IncludeManagementEvents": true,"DataResources": [{"Type":"AWS::S3::Object", "Values": ["arn:aws:s3"]},{"Type": "AWS::Lambda::Function","Values": ["arn:aws:lambda"]}]}]' Output:: - { - "EventSelectors": [ - { - "IncludeManagementEvents": true, - "DataResources": [ - { - "Values": [ - "arn:aws:s3:::" - ], - "Type": "AWS::S3::Object" - }, - { - "Values": [ - "arn:aws:lambda" - ], - "Type": "AWS::Lambda::Function" - }, - ], - "ReadWriteType": "All" - } - ], - "TrailARN": "arn:aws:cloudtrail:us-east-2:123456789012:trail/TrailName2" - } - \ No newline at end of file + { + "EventSelectors": [ + { + "IncludeManagementEvents": true, + "DataResources": [ + { + "Values": [ + "arn:aws:s3" + ], + "Type": "AWS::S3::Object" + }, + { + "Values": [ + "arn:aws:lambda" + ], + "Type": "AWS::Lambda::Function" + }, + ], + "ReadWriteType": "All" + } + ], + "TrailARN": "arn:aws:cloudtrail:us-east-2:123456789012:trail/TrailName2" + } + +For more information, see `Log events by using basic event selectors `__ in the *AWS CloudTrail User Guide*. \ No newline at end of file diff --git a/awscli/examples/docdb/modify-db-cluster-snapshot-attribute.rst b/awscli/examples/docdb/modify-db-cluster-snapshot-attribute.rst index 0823a3f7f75f..6a106ef62fb1 100644 --- a/awscli/examples/docdb/modify-db-cluster-snapshot-attribute.rst +++ b/awscli/examples/docdb/modify-db-cluster-snapshot-attribute.rst @@ -5,7 +5,7 @@ The following ``modify-db-cluster-snapshot-attribute`` example adds four attribu aws docdb modify-db-cluster-snapshot-attribute \ --db-cluster-snapshot-identifier sample-cluster-snapshot \ --attribute-name restore \ - --values-to-add all 123456789011 123456789012 123456789013 + --values-to-add 123456789011 123456789012 123456789013 Output:: @@ -15,7 +15,6 @@ Output:: { "AttributeName": "restore", "AttributeValues": [ - "all", "123456789011", "123456789012", "123456789013" @@ -33,7 +32,7 @@ The following ``modify-db-cluster-snapshot-attribute`` example removes two attri aws docdb modify-db-cluster-snapshot-attribute \ --db-cluster-snapshot-identifier sample-cluster-snapshot \ --attribute-name restore \ - --values-to-remove 123456789012 all + --values-to-remove 123456789012 Output:: diff --git a/awscli/examples/ec2/create-vpc.rst b/awscli/examples/ec2/create-vpc.rst index 94c842be3369..7980ed7de429 100755 --- a/awscli/examples/ec2/create-vpc.rst +++ b/awscli/examples/ec2/create-vpc.rst @@ -4,7 +4,7 @@ The following ``create-vpc`` example creates a VPC with the specified IPv4 CIDR aws ec2 create-vpc \ --cidr-block 10.0.0.0/16 \ - --tag-specification ResourceType=vpc,Tags=[{Key=Name,Value=MyVpc}] + --tag-specifications ResourceType=vpc,Tags=[{Key=Name,Value=MyVpc}] Output:: @@ -128,7 +128,7 @@ Windows:: Output:: - { + { "Vpc": { "CidrBlock": "10.0.1.0/24", "DhcpOptionsId": "dopt-2afccf50", diff --git a/awscli/examples/ec2/describe-locked-snapshots.rst b/awscli/examples/ec2/describe-locked-snapshots.rst new file mode 100644 index 000000000000..6900577e8e34 --- /dev/null +++ b/awscli/examples/ec2/describe-locked-snapshots.rst @@ -0,0 +1,24 @@ +**To describe the lock status of a snapshot** + +The following ``describe-locked-snapshots`` example describes the lock status of the specified snapshot. :: + + aws ec2 describe-locked-snapshots \ + --snapshot-ids snap-0b5e733b4a8df6e0d + +Output:: + + { + "Snapshots": [ + { + "OwnerId": "123456789012", + "SnapshotId": "snap-0b5e733b4a8df6e0d", + "LockState": "governance", + "LockDuration": 365, + "LockCreatedOn": "2024-05-05T00:56:06.208000+00:00", + "LockDurationStartTime": "2024-05-05T00:56:06.208000+00:00", + "LockExpiresOn": "2025-05-05T00:56:06.208000+00:00" + } + ] + } + +For more information, see `Snapshot lock `__ in the *Amazon EBS User Guide*. \ No newline at end of file diff --git a/awscli/examples/ec2/disable-snapshot-block-public-access.rst b/awscli/examples/ec2/disable-snapshot-block-public-access.rst new file mode 100644 index 000000000000..4821347f0ff2 --- /dev/null +++ b/awscli/examples/ec2/disable-snapshot-block-public-access.rst @@ -0,0 +1,13 @@ +**To disable block public access for snapshots** + +The following ``disable-snapshot-block-public-access`` example disables block public access for snapshots to allow public sharing of your snapshots. :: + + aws ec2 disable-snapshot-block-public-access + +Output:: + + { + "State": "unblocked" + } + +For more information, see `Block public access for snapshots `__ in the *Amazon EBS User Guide*. diff --git a/awscli/examples/ec2/enable-snapshot-block-public-access.rst b/awscli/examples/ec2/enable-snapshot-block-public-access.rst new file mode 100644 index 000000000000..fcfefe9f1eb7 --- /dev/null +++ b/awscli/examples/ec2/enable-snapshot-block-public-access.rst @@ -0,0 +1,14 @@ +**To enable block public access for snapshots** + +The following ``enable-snapshot-block-public-access`` example blocks all public sharing of your snapshots. :: + + aws ec2 enable-snapshot-block-public-access \ + --state block-all-sharing + +Output:: + + { + "State": "block-all-sharing" + } + +For more information, see `Block public access for snapshots `__ in the *Amazon EBS User Guide*. \ No newline at end of file diff --git a/awscli/examples/ec2/get-snapshot-block-public-access-state.rst b/awscli/examples/ec2/get-snapshot-block-public-access-state.rst new file mode 100644 index 000000000000..5ce016deee20 --- /dev/null +++ b/awscli/examples/ec2/get-snapshot-block-public-access-state.rst @@ -0,0 +1,13 @@ +**To get the current state of block public access for snapshots** + +The following ``get-snapshot-block-public-access-state`` example gets the current state of block public access for snapshots. :: + + aws ec2 get-snapshot-block-public-access-state + +Output:: + + { + "State": "block-all-sharing" + } + +For more information, see `Block public access for snapshots `__ in the *Amazon EBS User Guide*. \ No newline at end of file diff --git a/awscli/examples/ec2/lock-snapshot.rst b/awscli/examples/ec2/lock-snapshot.rst new file mode 100644 index 000000000000..d6eed93af2a0 --- /dev/null +++ b/awscli/examples/ec2/lock-snapshot.rst @@ -0,0 +1,46 @@ +**Example 1: To lock a snapshot in governance mode** + +The following ``lock-snapshot`` example locks the specified snapshot in governance mode. :: + + aws ec2 lock-snapshot \ + --snapshot-id snap-0b5e733b4a8df6e0d \ + --lock-mode governance \ + --lock-duration 365 + +Output:: + + { + "SnapshotId": "snap-0b5e733b4a8df6e0d", + "LockState": "governance", + "LockDuration": 365, + "LockCreatedOn": "2024-05-05T00:56:06.208000+00:00", + "LockExpiresOn": "2025-05-05T00:56:06.208000+00:00", + "LockDurationStartTime": "2024-05-05T00:56:06.208000+00:00" + } + +For more information, see `Snapshot lock `__ in the *Amazon EBS User Guide*. + +**Example 2: To lock a snapshot in compliance mode** + +The following ``lock-snapshot`` example lock the specified snapshot in compliance mode. :: + + aws ec2 lock-snapshot \ + --snapshot-id snap-0163a8524c5b9901f \ + --lock-mode compliance \ + --cool-off-period 24 \ + --lock-duration 365 + +Output:: + + { + "SnapshotId": "snap-0b5e733b4a8df6e0d", + "LockState": "compliance-cooloff", + "LockDuration": 365, + "CoolOffPeriod": 24, + "CoolOffPeriodExpiresOn": "2024-05-06T01:02:20.527000+00:00", + "LockCreatedOn": "2024-05-05T01:02:20.527000+00:00", + "LockExpiresOn": "2025-05-05T01:02:20.527000+00:00", + "LockDurationStartTime": "2024-05-05T01:02:20.527000+00:00" + } + +For more information, see `Snapshot lock `__ in the *Amazon EBS User Guide*. \ No newline at end of file diff --git a/awscli/examples/ec2/unlock-snapshot.rst b/awscli/examples/ec2/unlock-snapshot.rst new file mode 100644 index 000000000000..ee83c65fcc9e --- /dev/null +++ b/awscli/examples/ec2/unlock-snapshot.rst @@ -0,0 +1,14 @@ +**To unlock a snapshot** + +The following ``unlock-snapshot`` example unlocks the specified snapshot. :: + + aws ec2 unlock-snapshot \ + --snapshot-id snap-0b5e733b4a8df6e0d + +Output:: + + { + "SnapshotId": "snap-0b5e733b4a8df6e0d" + } + +For more information, see `Snapshot lock `__ in the *Amazon EBS User Guide*. diff --git a/awscli/examples/eks/describe-addon-configuration.rst b/awscli/examples/eks/describe-addon-configuration.rst new file mode 100644 index 000000000000..4c23cd473719 --- /dev/null +++ b/awscli/examples/eks/describe-addon-configuration.rst @@ -0,0 +1,33 @@ +**Example 1: Configuration options available when creating or updating Amazon vpc-cni AddOns** + +The following ``describe-addon-configuration`` example returns the all the available configuration schema you use when an add-on is created or updated for vpc-cni add-on with respective version. :: + + aws eks describe-addon-configuration \ + --addon-name vpc-cni \ + --addon-version v1.15.1-eksbuild.1 + +Output:: + + { + "addonName": "vpc-cni", + "addonVersion": "v1.15.1-eksbuild.1", + "configurationSchema": "{\"$ref\":\"#/definitions/VpcCni\",\"$schema\":\"http://json-schema.org/draft-06/schema#\",\"definitions\":{\"Affinity\":{\"type\":[\"object\",\"null\"]},\"EniConfig\":{\"additionalProperties\":false,\"properties\":{\"create\":{\"type\":\"boolean\"},\"region\":{\"type\":\"string\"},\"subnets\":{\"additionalProperties\":{\"additionalProperties\":false,\"properties\":{\"id\":{\"type\":\"string\"},\"securityGroups\":{\"items\":{\"type\":\"string\"},\"type\":\"array\"}},\"required\":[\"id\"],\"type\":\"object\"},\"minProperties\":1,\"type\":\"object\"}},\"required\":[\"create\",\"region\",\"subnets\"],\"type\":\"object\"},\"Env\":{\"additionalProperties\":false,\"properties\":{\"ADDITIONAL_ENI_TAGS\":{\"type\":\"string\"},\"ANNOTATE_POD_IP\":{\"format\":\"boolean\",\"type\":\"string\"},\"AWS_EC2_ENDPOINT\":{\"type\":\"string\"},\"AWS_EXTERNAL_SERVICE_CIDRS\":{\"type\":\"string\"},\"AWS_MANAGE_ENIS_NON_SCHEDULABLE\":{\"format\":\"boolean\",\"type\":\"string\"},\"AWS_VPC_CNI_NODE_PORT_SUPPORT\":{\"format\":\"boolean\",\"type\":\"string\"},\"AWS_VPC_ENI_MTU\":{\"format\":\"integer\",\"type\":\"string\"},\"AWS_VPC_K8S_CNI_CUSTOM_NETWORK_CFG\":{\"format\":\"boolean\",\"type\":\"string\"},\"AWS_VPC_K8S_CNI_EXCLUDE_SNAT_CIDRS\":{\"type\":\"string\"},\"AWS_VPC_K8S_CNI_EXTERNALSNAT\":{\"format\":\"boolean\",\"type\":\"string\"},\"AWS_VPC_K8S_CNI_LOGLEVEL\":{\"type\":\"string\"},\"AWS_VPC_K8S_CNI_LOG_FILE\":{\"type\":\"string\"},\"AWS_VPC_K8S_CNI_RANDOMIZESNAT\":{\"type\":\"string\"},\"AWS_VPC_K8S_CNI_VETHPREFIX\":{\"type\":\"string\"},\"AWS_VPC_K8S_PLUGIN_LOG_FILE\":{\"type\":\"string\"},\"AWS_VPC_K8S_PLUGIN_LOG_LEVEL\":{\"type\":\"string\"},\"CLUSTER_ENDPOINT\":{\"type\":\"string\"},\"DISABLE_INTROSPECTION\":{\"format\":\"boolean\",\"type\":\"string\"},\"DISABLE_LEAKED_ENI_CLEANUP\":{\"format\":\"boolean\",\"type\":\"string\"},\"DISABLE_METRICS\":{\"format\":\"boolean\",\"type\":\"string\"},\"DISABLE_NETWORK_RESOURCE_PROVISIONING\":{\"format\":\"boolean\",\"type\":\"string\"},\"DISABLE_POD_V6\":{\"format\":\"boolean\",\"type\":\"string\"},\"ENABLE_BANDWIDTH_PLUGIN\":{\"format\":\"boolean\",\"type\":\"string\"},\"ENABLE_POD_ENI\":{\"format\":\"boolean\",\"type\":\"string\"},\"ENABLE_PREFIX_DELEGATION\":{\"format\":\"boolean\",\"type\":\"string\"},\"ENABLE_V4_EGRESS\":{\"format\":\"boolean\",\"type\":\"string\"},\"ENABLE_V6_EGRESS\":{\"format\":\"boolean\",\"type\":\"string\"},\"ENI_CONFIG_ANNOTATION_DEF\":{\"type\":\"string\"},\"ENI_CONFIG_LABEL_DEF\":{\"type\":\"string\"},\"INTROSPECTION_BIND_ADDRESS\":{\"type\":\"string\"},\"IP_COOLDOWN_PERIOD\":{\"format\":\"integer\",\"type\":\"string\"},\"MAX_ENI\":{\"format\":\"integer\",\"type\":\"string\"},\"MINIMUM_IP_TARGET\":{\"format\":\"integer\",\"type\":\"string\"},\"POD_SECURITY_GROUP_ENFORCING_MODE\":{\"type\":\"string\"},\"WARM_ENI_TARGET\":{\"format\":\"integer\",\"type\":\"string\"},\"WARM_IP_TARGET\":{\"format\":\"integer\",\"type\":\"string\"},\"WARM_PREFIX_TARGET\":{\"format\":\"integer\",\"type\":\"string\"}},\"title\":\"Env\",\"type\":\"object\"},\"Init\":{\"additionalProperties\":false,\"properties\":{\"env\":{\"$ref\":\"#/definitions/InitEnv\"}},\"title\":\"Init\",\"type\":\"object\"},\"InitEnv\":{\"additionalProperties\":false,\"properties\":{\"DISABLE_TCP_EARLY_DEMUX\":{\"format\":\"boolean\",\"type\":\"string\"},\"ENABLE_V6_EGRESS\":{\"format\":\"boolean\",\"type\":\"string\"}},\"title\":\"InitEnv\",\"type\":\"object\"},\"Limits\":{\"additionalProperties\":false,\"properties\":{\"cpu\":{\"type\":\"string\"},\"memory\":{\"type\":\"string\"}},\"title\":\"Limits\",\"type\":\"object\"},\"NodeAgent\":{\"additionalProperties\":false,\"properties\":{\"enableCloudWatchLogs\":{\"format\":\"boolean\",\"type\":\"string\"},\"enablePolicyEventLogs\":{\"format\":\"boolean\",\"type\":\"string\"},\"healthProbeBindAddr\":{\"format\":\"integer\",\"type\":\"string\"},\"metricsBindAddr\":{\"format\":\"integer\",\"type\":\"string\"}},\"title\":\"NodeAgent\",\"type\":\"object\"},\"Resources\":{\"additionalProperties\":false,\"properties\":{\"limits\":{\"$ref\":\"#/definitions/Limits\"},\"requests\":{\"$ref\":\"#/definitions/Limits\"}},\"title\":\"Resources\",\"type\":\"object\"},\"Tolerations\":{\"additionalProperties\":false,\"items\":{\"type\":\"object\"},\"type\":\"array\"},\"VpcCni\":{\"additionalProperties\":false,\"properties\":{\"affinity\":{\"$ref\":\"#/definitions/Affinity\"},\"enableNetworkPolicy\":{\"format\":\"boolean\",\"type\":\"string\"},\"enableWindowsIpam\":{\"format\":\"boolean\",\"type\":\"string\"},\"eniConfig\":{\"$ref\":\"#/definitions/EniConfig\"},\"env\":{\"$ref\":\"#/definitions/Env\"},\"init\":{\"$ref\":\"#/definitions/Init\"},\"livenessProbeTimeoutSeconds\":{\"type\":\"integer\"},\"nodeAgent\":{\"$ref\":\"#/definitions/NodeAgent\"},\"readinessProbeTimeoutSeconds\":{\"type\":\"integer\"},\"resources\":{\"$ref\":\"#/definitions/Resources\"},\"tolerations\":{\"$ref\":\"#/definitions/Tolerations\"}},\"title\":\"VpcCni\",\"type\":\"object\"}},\"description\":\"vpc-cni\"}" + } + +**Example 2: Configuration options available when creating or updating Amazon coredns AddOns** + +The following ``describe-addon-configuration`` example returns all the available configuration schema you use when an add-on is created or updated for coredns add-on with respective version. :: + + aws eks describe-addon-configuration \ + --addon-name coredns \ + --addon-version v1.8.7-eksbuild.4 + +Output:: + + { + "addonName": "coredns", + "addonVersion": "v1.8.7-eksbuild.4", + "configurationSchema": "{\"$ref\":\"#/definitions/Coredns\",\"$schema\":\"http://json-schema.org/draft-06/schema#\",\"definitions\":{\"Coredns\":{\"additionalProperties\":false,\"properties\":{\"computeType\":{\"type\":\"string\"},\"corefile\":{\"description\":\"Entire corefile contents to use with installation\",\"type\":\"string\"},\"nodeSelector\":{\"additionalProperties\":{\"type\":\"string\"},\"type\":\"object\"},\"replicaCount\":{\"type\":\"integer\"},\"resources\":{\"$ref\":\"#/definitions/Resources\"}},\"title\":\"Coredns\",\"type\":\"object\"},\"Limits\":{\"additionalProperties\":false,\"properties\":{\"cpu\":{\"type\":\"string\"},\"memory\":{\"type\":\"string\"}},\"title\":\"Limits\",\"type\":\"object\"},\"Resources\":{\"additionalProperties\":false,\"properties\":{\"limits\":{\"$ref\":\"#/definitions/Limits\"},\"requests\":{\"$ref\":\"#/definitions/Limits\"}},\"title\":\"Resources\",\"type\":\"object\"}}}" + } + +For more information, see `Creating or updating a kubeconfig file for an Amazon EKS cluster `__ in the *Amazon EKS*. diff --git a/awscli/examples/eks/wait/addon-active.rst b/awscli/examples/eks/wait/addon-active.rst new file mode 100644 index 000000000000..b7e31f5b3bad --- /dev/null +++ b/awscli/examples/eks/wait/addon-active.rst @@ -0,0 +1,9 @@ +**To wait for an add-on running in the Amazon EKS cluster to become ACTIVE** + +The following ``wait addon-active`` example command waits for an add-on named ``aws-efs-csi-driver`` running in the Amazon EKS cluster named ``my-eks-cluster`` to become ``ACTIVE``. :: + + aws eks wait addon-active \ + --cluster-name my-eks-cluster \ + --addon-name aws-efs-csi-driver + +This command produces no output. \ No newline at end of file diff --git a/awscli/examples/eks/wait/addon-deleted.rst b/awscli/examples/eks/wait/addon-deleted.rst new file mode 100644 index 000000000000..9bf105e73e22 --- /dev/null +++ b/awscli/examples/eks/wait/addon-deleted.rst @@ -0,0 +1,9 @@ +**To wait for an add-on running in the Amazon EKS cluster to be deleted** + +The following ``wait addon-deleted`` example command waits until ``ResourceNotFoundException`` is thrown when polling with `describe-addon` for an add-on named ``aws-efs-csi-driver`` running in the Amazon EKS cluster named ``my-eks-cluster``. :: + + aws eks wait addon-deleted \ + --cluster-name my-eks-cluster \ + --addon-name aws-efs-csi-driver + +This command produces no output. \ No newline at end of file diff --git a/awscli/examples/eks/wait/cluster-active.rst b/awscli/examples/eks/wait/cluster-active.rst index 959259d4770c..b9d1e2ad9df4 100644 --- a/awscli/examples/eks/wait/cluster-active.rst +++ b/awscli/examples/eks/wait/cluster-active.rst @@ -1,11 +1,8 @@ **To wait for an Amazon EKS cluster to become ACTIVE** -The following ``wait`` example command waits for an Amazon EKS cluster named ``my-eks-cluster`` to become active. +The following ``wait cluster-active`` example command waits for an Amazon EKS cluster named ``my-eks-cluster`` status to become ``ACTIVE``. :: - aws eks wait \ - cluster-active \ + aws eks wait cluster-active \ --name my-eks-cluster -Output:: - - \ No newline at end of file +This command produces no output. \ No newline at end of file diff --git a/awscli/examples/eks/wait/cluster-deleted.rst b/awscli/examples/eks/wait/cluster-deleted.rst index 94f5a720dabe..54d354cc1912 100644 --- a/awscli/examples/eks/wait/cluster-deleted.rst +++ b/awscli/examples/eks/wait/cluster-deleted.rst @@ -1,11 +1,8 @@ -**To wait for an Amazon EKS cluster to become deleted** +**To wait until Amazon EKS cluster is deleted** -The following ``wait`` example command waits for an Amazon EKS cluster named ``my-eks-cluster`` to be deleted. +The following ``wait cluster-deleted`` example command waits until ``ResourceNotFoundException`` is thrown when polling with ``describe-cluster`` for Amazon EKS cluster named ``my-eks-cluster``. :: - aws eks wait \ - cluster-deleted \ + aws eks wait cluster-deleted \ --name my-eks-cluster -Output:: - - +This command produces no output. \ No newline at end of file diff --git a/awscli/examples/eks/wait/fargate-profile-active.rst b/awscli/examples/eks/wait/fargate-profile-active.rst new file mode 100644 index 000000000000..e59aee8fe77a --- /dev/null +++ b/awscli/examples/eks/wait/fargate-profile-active.rst @@ -0,0 +1,9 @@ +**To wait for an fargate-profile running in the Amazon EKS cluster to become ACTIVE** + +The following ``wait fargate-profile-active`` example command waits for an fargate-profile named ``my-fargate-profile`` running in the Amazon EKS cluster named ``my-eks-cluster`` to be ``ACTIVE``. :: + + aws eks wait fargate-profile-active \ + --cluster-name my-eks-cluster \ + --fargate-profile-name my-fargate-profile + +This command produces no output. \ No newline at end of file diff --git a/awscli/examples/eks/wait/fargate-profile-deleted.rst b/awscli/examples/eks/wait/fargate-profile-deleted.rst new file mode 100644 index 000000000000..396a6ac9af59 --- /dev/null +++ b/awscli/examples/eks/wait/fargate-profile-deleted.rst @@ -0,0 +1,9 @@ +**To wait for an fargate-profile running in the Amazon EKS cluster to become deleted** + +The following ``wait fargate-profile-deleted`` example command waits until ``ResourceNotFoundException`` is thrown when polling with `describe-fargate-profile` for an fargate-profile named ``my-fargate-profile`` running in the Amazon EKS cluster named ``my-eks-cluster``. :: + + aws eks wait fargate-profile-deleted \ + --cluster-name my-eks-cluster \ + --fargate-profile-name my-fargate-profile + +This command produces no output. \ No newline at end of file diff --git a/awscli/examples/eks/wait/nodegroup-active.rst b/awscli/examples/eks/wait/nodegroup-active.rst new file mode 100644 index 000000000000..76d58f87ea9e --- /dev/null +++ b/awscli/examples/eks/wait/nodegroup-active.rst @@ -0,0 +1,9 @@ +**Example 8: To wait for an nodegroup running in the Amazon EKS cluster to become ACTIVE** + +The following ``wait nodegroup-active`` example command waits for an nodegroup named ``my-nodegroup`` running in the Amazon EKS cluster named ``my-eks-cluster`` to be Active. :: + + aws eks wait nodegroup-active \ + --cluster-name my-eks-cluster \ + --nodegroup-name my-nodegroup + +This command produces no output. diff --git a/awscli/examples/eks/wait/nodegroup-deleted.rst b/awscli/examples/eks/wait/nodegroup-deleted.rst new file mode 100644 index 000000000000..9251e60592a9 --- /dev/null +++ b/awscli/examples/eks/wait/nodegroup-deleted.rst @@ -0,0 +1,9 @@ +**To wait for an nodegroup running in the Amazon EKS cluster to become deleted** + +The following ``wait nodegroup-deleted`` example command waits until ``ResourceNotFoundException`` is thrown when polling with `describe-nodegroup` for an nodegroup named ``my-nodegroup`` running in the Amazon EKS cluster named ``my-eks-cluster``. :: + + aws eks wait nodegroup-deleted \ + --cluster-name my-eks-cluster \ + --nodegroup-name my-nodegroup + +This command produces no output. diff --git a/awscli/examples/networkmonitor/create-monitor.rst b/awscli/examples/networkmonitor/create-monitor.rst new file mode 100644 index 000000000000..cdc595852cd4 --- /dev/null +++ b/awscli/examples/networkmonitor/create-monitor.rst @@ -0,0 +1,66 @@ +**Example 1: To create a network monitor with an aggregation period** + +The following ``create-monitor`` example creates a monitor named ``Example_NetworkMonitor`` with an ``aggregationPeriod`` set to ``30`` seconds. The initial ``state`` of the monitor will be ``INACTIVE`` because there are no probes associated with it. The state changes to ``ACTIVE`` only when probes are added. You can use the `update-monitor `__ or `create-probe `__ commands to add probes to this monitor. :: + + aws networkmonitor create-monitor \ + --monitor-name Example_NetworkMonitor \ + --aggregation-period 30 + +Output:: + + { + "monitorArn": "arn:aws:networkmonitor:region:111122223333:monitor/Example_NetworkMonitor", + "monitorName": "Example_NetworkMonitor", + "state": "INACTIVE", + "aggregationPeriod": 30, + "tags": {} + } + +For more information, see `How Amazon CloudWatch Network Monitor Works `__ in the *Amazon CloudWatch User Guide*. + +**Example 2: To create a network monitor with a probe using TCP and also includes tags** + +The following ``create-monitor`` example creates a monitor named ``Example_NetworkMonitor``. The command also creates one probe that uses the ``ICMP`` protocol and includes tags. Since no ``aggregationPeriod`` is passed in the request, ``60`` seconds is set as the default. The ``state`` of the monitor with the probe will be ``PENDING`` until the monitor is ``ACTIVE``. This might take several minutes, at which point the ``state`` will change to ``ACTIVE``, and you can start viewing CloudWatch metrics. :: + + aws networkmonitor create-monitor \ + --monitor-name Example_NetworkMonitor \ + --probes sourceArn=arn:aws:ec2:region:111122223333:subnet/subnet-id,destination=10.0.0.100,destinationPort=80,protocol=TCP,packetSize=56,probeTags={Name=Probe1} \ + --tags Monitor=Monitor1 + +Output:: + + { + "monitorArn": "arn:aws:networkmonitor:region111122223333:monitor/Example_NetworkMonitor", + "monitorName": "Example_NetworkMonitor", + "state": "PENDING", + "aggregationPeriod": 60, + "tags": { + "Monitor": "Monitor1" + } + } + +For more information, see `How Amazon CloudWatch Network Monitor Works `__ in the *Amazon CloudWatch User Guide*. + +**Example 3: To create a network monitor with a probe using ICMP and also includes tags** + +The following ``create-monitor`` example creates a monitor named ``Example_NetworkMonitor`` with an ``aggregationPeriod`` of ``30`` seconds. The command also creates one probe that uses the ``ICMP`` protocol and includes tags. Since no ``aggregationPeriod`` is passed in the request, ``60`` seconds is set as the default. The ``state`` of the monitor with the probe will be ``PENDING`` until the monitor is ``ACTIVE``. This might take several minutes, at which point the ``state`` will change to ``ACTIVE``, and you can start viewing CloudWatch metrics. :: + + aws networkmonitor create-monitor \ + --monitor-name Example_NetworkMonitor \ + --aggregation-period 30 \ + --probes sourceArn=arn:aws:ec2:region111122223333:subnet/subnet-id,destination=10.0.0.100,protocol=ICMP,packetSize=56,probeTags={Name=Probe1} \ + --tags Monitor=Monitor1 + +Output:: + + { + "monitorArn": "arn:aws:networkmonitor:region:111122223333:monitor/Example_NetworkMonitor", + "monitorName": "Example_NetworkMonitor", + "state": "PENDING", + "aggregationPeriod": 30, + "tags": { + "Monitor": "Monitor1" + } + } + +For more information, see `How Amazon CloudWatch Network Monitor Works `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/networkmonitor/get-monitor.rst b/awscli/examples/networkmonitor/get-monitor.rst new file mode 100644 index 000000000000..8971977d43ab --- /dev/null +++ b/awscli/examples/networkmonitor/get-monitor.rst @@ -0,0 +1,21 @@ +**To get monitor information** + +The following ``get-monitor`` example gets information about a monitor named ``Example_NetworkMonitor``. :: + + aws networkmonitor get-monitor \ + --monitor-name Example_NetworkMonitor + +Output:: + + { + "monitorArn": "arn:aws:networkmonitor:region:012345678910:monitor/Example_NetworkMonitor", + "monitorName": "Example_NetworkMonitor", + "state": "ACTIVE", + "aggregationPeriod": 60, + "tags": {}, + "probes": [], + "createdAt": "2024-04-01T17:58:07.211000-04:00", + "modifiedAt": "2024-04-01T17:58:07.211000-04:00" + } + +For more information, see `How Amazon CloudWatch Network Monitor Works `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/networkmonitor/list-tags-for-resource.rst b/awscli/examples/networkmonitor/list-tags-for-resource.rst new file mode 100644 index 000000000000..90dd21f74b99 --- /dev/null +++ b/awscli/examples/networkmonitor/list-tags-for-resource.rst @@ -0,0 +1,17 @@ +**To list tags for a resource** + +The following ``list-tags-for-resource`` example returns a list of the tags for a monitor named ``Example_NetworkMonitor``. :: + + aws networkmonitor list-tags-for-resource \ + --resource-arn arn:aws:networkmonitor:region:012345678910:monitor/Example_NetworkMonitor + +Output:: + + { + "tags": { + "Environment": "Dev", + "Application": "PetStore" + } + } + +For more information, see `How Amazon CloudWatch Network Monitor Works `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/networkmonitor/tag-resource.rst b/awscli/examples/networkmonitor/tag-resource.rst new file mode 100644 index 000000000000..f19860563517 --- /dev/null +++ b/awscli/examples/networkmonitor/tag-resource.rst @@ -0,0 +1,11 @@ +**To tag a resource** + +The following ``tag-resource`` example tags a monitor named ``Example_NetworkMonitor`` with ``Environment=Dev`` and ``Application=PetStore`` tags. :: + + aws networkmonitor tag-resource \ + --resource-arn arn:aws:networkmonitor:region:012345678910:monitor/Example_NetworkMonitor \ + --tags Environment=Dev,Application=PetStore + +This command produces no output. + +For more information, see `How Amazon CloudWatch Network Monitor Works `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/networkmonitor/untag-resource.rst b/awscli/examples/networkmonitor/untag-resource.rst new file mode 100644 index 000000000000..0d4930688471 --- /dev/null +++ b/awscli/examples/networkmonitor/untag-resource.rst @@ -0,0 +1,11 @@ +**To untag a resource** + +The following ``untag-resource`` example removes a ``tag-keys`` parameter with the key-value pair of ``Environment Application`` from its association with a monitor named ``Example_NetworkMonitor``. :: + + aws networkmonitor untag-resource \ + --resource-arn arn:aws:networkmonitor:region:012345678910:monitor/Example_NetworkMonitor \ + --tag-keys Environment Application + +This command produces no output. + +For more information, see `How Amazon CloudWatch Network Monitor Works `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file From d3f8933924f325431278f3c3203559abc630fce7 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 14 Jun 2024 18:10:13 +0000 Subject: [PATCH 0063/1087] Update changelog based on model updates --- .changes/next-release/api-change-datazone-23424.json | 5 +++++ .changes/next-release/api-change-ec2-48117.json | 5 +++++ .changes/next-release/api-change-macie2-66271.json | 5 +++++ .changes/next-release/api-change-mediaconvert-89800.json | 5 +++++ .changes/next-release/api-change-route53domains-63847.json | 5 +++++ 5 files changed, 25 insertions(+) create mode 100644 .changes/next-release/api-change-datazone-23424.json create mode 100644 .changes/next-release/api-change-ec2-48117.json create mode 100644 .changes/next-release/api-change-macie2-66271.json create mode 100644 .changes/next-release/api-change-mediaconvert-89800.json create mode 100644 .changes/next-release/api-change-route53domains-63847.json diff --git a/.changes/next-release/api-change-datazone-23424.json b/.changes/next-release/api-change-datazone-23424.json new file mode 100644 index 000000000000..c72423483b28 --- /dev/null +++ b/.changes/next-release/api-change-datazone-23424.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``datazone``", + "description": "This release introduces a new default service blueprint for custom environment creation." +} diff --git a/.changes/next-release/api-change-ec2-48117.json b/.changes/next-release/api-change-ec2-48117.json new file mode 100644 index 000000000000..dcb7ae606ac6 --- /dev/null +++ b/.changes/next-release/api-change-ec2-48117.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ec2``", + "description": "Documentation updates for Amazon EC2." +} diff --git a/.changes/next-release/api-change-macie2-66271.json b/.changes/next-release/api-change-macie2-66271.json new file mode 100644 index 000000000000..be1efc8b7f91 --- /dev/null +++ b/.changes/next-release/api-change-macie2-66271.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``macie2``", + "description": "This release adds support for managing the status of automated sensitive data discovery for individual accounts in an organization, and determining whether individual S3 buckets are included in the scope of the analyses." +} diff --git a/.changes/next-release/api-change-mediaconvert-89800.json b/.changes/next-release/api-change-mediaconvert-89800.json new file mode 100644 index 000000000000..c7b3510f5e9c --- /dev/null +++ b/.changes/next-release/api-change-mediaconvert-89800.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``mediaconvert``", + "description": "This release adds the ability to search for historical job records within the management console using a search box and/or via the SDK/CLI with partial string matching search on input file name." +} diff --git a/.changes/next-release/api-change-route53domains-63847.json b/.changes/next-release/api-change-route53domains-63847.json new file mode 100644 index 000000000000..3e10fa602a01 --- /dev/null +++ b/.changes/next-release/api-change-route53domains-63847.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``route53domains``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." +} From 446ec5a47594ffdbbc5059e15a94da3cddff9ef7 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 14 Jun 2024 18:11:17 +0000 Subject: [PATCH 0064/1087] Bumping version to 1.33.9 --- .changes/1.33.9.json | 27 +++++++++++++++++++ .../api-change-datazone-23424.json | 5 ---- .../next-release/api-change-ec2-48117.json | 5 ---- .../next-release/api-change-macie2-66271.json | 5 ---- .../api-change-mediaconvert-89800.json | 5 ---- .../api-change-route53domains-63847.json | 5 ---- CHANGELOG.rst | 10 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 11 files changed, 41 insertions(+), 29 deletions(-) create mode 100644 .changes/1.33.9.json delete mode 100644 .changes/next-release/api-change-datazone-23424.json delete mode 100644 .changes/next-release/api-change-ec2-48117.json delete mode 100644 .changes/next-release/api-change-macie2-66271.json delete mode 100644 .changes/next-release/api-change-mediaconvert-89800.json delete mode 100644 .changes/next-release/api-change-route53domains-63847.json diff --git a/.changes/1.33.9.json b/.changes/1.33.9.json new file mode 100644 index 000000000000..bf1b45b7bc3c --- /dev/null +++ b/.changes/1.33.9.json @@ -0,0 +1,27 @@ +[ + { + "category": "``datazone``", + "description": "This release introduces a new default service blueprint for custom environment creation.", + "type": "api-change" + }, + { + "category": "``ec2``", + "description": "Documentation updates for Amazon EC2.", + "type": "api-change" + }, + { + "category": "``macie2``", + "description": "This release adds support for managing the status of automated sensitive data discovery for individual accounts in an organization, and determining whether individual S3 buckets are included in the scope of the analyses.", + "type": "api-change" + }, + { + "category": "``mediaconvert``", + "description": "This release adds the ability to search for historical job records within the management console using a search box and/or via the SDK/CLI with partial string matching search on input file name.", + "type": "api-change" + }, + { + "category": "``route53domains``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-datazone-23424.json b/.changes/next-release/api-change-datazone-23424.json deleted file mode 100644 index c72423483b28..000000000000 --- a/.changes/next-release/api-change-datazone-23424.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``datazone``", - "description": "This release introduces a new default service blueprint for custom environment creation." -} diff --git a/.changes/next-release/api-change-ec2-48117.json b/.changes/next-release/api-change-ec2-48117.json deleted file mode 100644 index dcb7ae606ac6..000000000000 --- a/.changes/next-release/api-change-ec2-48117.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ec2``", - "description": "Documentation updates for Amazon EC2." -} diff --git a/.changes/next-release/api-change-macie2-66271.json b/.changes/next-release/api-change-macie2-66271.json deleted file mode 100644 index be1efc8b7f91..000000000000 --- a/.changes/next-release/api-change-macie2-66271.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``macie2``", - "description": "This release adds support for managing the status of automated sensitive data discovery for individual accounts in an organization, and determining whether individual S3 buckets are included in the scope of the analyses." -} diff --git a/.changes/next-release/api-change-mediaconvert-89800.json b/.changes/next-release/api-change-mediaconvert-89800.json deleted file mode 100644 index c7b3510f5e9c..000000000000 --- a/.changes/next-release/api-change-mediaconvert-89800.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``mediaconvert``", - "description": "This release adds the ability to search for historical job records within the management console using a search box and/or via the SDK/CLI with partial string matching search on input file name." -} diff --git a/.changes/next-release/api-change-route53domains-63847.json b/.changes/next-release/api-change-route53domains-63847.json deleted file mode 100644 index 3e10fa602a01..000000000000 --- a/.changes/next-release/api-change-route53domains-63847.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``route53domains``", - "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index dd93d042b216..fa3e1f582c04 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,16 @@ CHANGELOG ========= +1.33.9 +====== + +* api-change:``datazone``: This release introduces a new default service blueprint for custom environment creation. +* api-change:``ec2``: Documentation updates for Amazon EC2. +* api-change:``macie2``: This release adds support for managing the status of automated sensitive data discovery for individual accounts in an organization, and determining whether individual S3 buckets are included in the scope of the analyses. +* api-change:``mediaconvert``: This release adds the ability to search for historical job records within the management console using a search box and/or via the SDK/CLI with partial string matching search on input file name. +* api-change:``route53domains``: Add v2 smoke tests and smithy smokeTests trait for SDK testing. + + 1.33.8 ====== diff --git a/awscli/__init__.py b/awscli/__init__.py index 1192a3bdd032..81be34360d76 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -17,7 +17,7 @@ """ import os -__version__ = '1.33.8' +__version__ = '1.33.9' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 29f50b9cf6c4..a91491600218 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.33' # The full version, including alpha/beta/rc tags. -release = '1.33.8' +release = '1.33.9' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 99e1e5f1d5b5..de9d0c8f1118 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.34.126 + botocore==1.34.127 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 87d4e3f38070..8e7864f8c6d7 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.34.126', + 'botocore==1.34.127', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 9c789ae8c25a2b8f8fdd1609f75bd17ed8bebd56 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 17 Jun 2024 18:12:19 +0000 Subject: [PATCH 0065/1087] Update changelog based on model updates --- .changes/next-release/api-change-acmpca-69610.json | 5 +++++ .changes/next-release/api-change-batch-79370.json | 5 +++++ .changes/next-release/api-change-codebuild-88818.json | 5 +++++ .changes/next-release/api-change-cognitoidp-51047.json | 5 +++++ .changes/next-release/api-change-ds-90138.json | 5 +++++ .changes/next-release/api-change-efs-80102.json | 5 +++++ .changes/next-release/api-change-glue-22096.json | 5 +++++ .changes/next-release/api-change-mediaconvert-29858.json | 5 +++++ .changes/next-release/api-change-secretsmanager-49365.json | 5 +++++ .changes/next-release/api-change-waf-14568.json | 5 +++++ 10 files changed, 50 insertions(+) create mode 100644 .changes/next-release/api-change-acmpca-69610.json create mode 100644 .changes/next-release/api-change-batch-79370.json create mode 100644 .changes/next-release/api-change-codebuild-88818.json create mode 100644 .changes/next-release/api-change-cognitoidp-51047.json create mode 100644 .changes/next-release/api-change-ds-90138.json create mode 100644 .changes/next-release/api-change-efs-80102.json create mode 100644 .changes/next-release/api-change-glue-22096.json create mode 100644 .changes/next-release/api-change-mediaconvert-29858.json create mode 100644 .changes/next-release/api-change-secretsmanager-49365.json create mode 100644 .changes/next-release/api-change-waf-14568.json diff --git a/.changes/next-release/api-change-acmpca-69610.json b/.changes/next-release/api-change-acmpca-69610.json new file mode 100644 index 000000000000..f1bb582ab19a --- /dev/null +++ b/.changes/next-release/api-change-acmpca-69610.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``acm-pca``", + "description": "Doc-only update that adds name constraints as an allowed extension for ImportCertificateAuthorityCertificate." +} diff --git a/.changes/next-release/api-change-batch-79370.json b/.changes/next-release/api-change-batch-79370.json new file mode 100644 index 000000000000..93dab46f12c9 --- /dev/null +++ b/.changes/next-release/api-change-batch-79370.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``batch``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." +} diff --git a/.changes/next-release/api-change-codebuild-88818.json b/.changes/next-release/api-change-codebuild-88818.json new file mode 100644 index 000000000000..87b75790f821 --- /dev/null +++ b/.changes/next-release/api-change-codebuild-88818.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``codebuild``", + "description": "AWS CodeBuild now supports global and organization GitHub webhooks" +} diff --git a/.changes/next-release/api-change-cognitoidp-51047.json b/.changes/next-release/api-change-cognitoidp-51047.json new file mode 100644 index 000000000000..23daea0ec8dd --- /dev/null +++ b/.changes/next-release/api-change-cognitoidp-51047.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``cognito-idp``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." +} diff --git a/.changes/next-release/api-change-ds-90138.json b/.changes/next-release/api-change-ds-90138.json new file mode 100644 index 000000000000..1fa786697d3a --- /dev/null +++ b/.changes/next-release/api-change-ds-90138.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ds``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." +} diff --git a/.changes/next-release/api-change-efs-80102.json b/.changes/next-release/api-change-efs-80102.json new file mode 100644 index 000000000000..2a2b54fa6146 --- /dev/null +++ b/.changes/next-release/api-change-efs-80102.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``efs``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." +} diff --git a/.changes/next-release/api-change-glue-22096.json b/.changes/next-release/api-change-glue-22096.json new file mode 100644 index 000000000000..e0a8f6dd12ee --- /dev/null +++ b/.changes/next-release/api-change-glue-22096.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``glue``", + "description": "This release introduces a new feature, Usage profiles. Usage profiles allow the AWS Glue admin to create different profiles for various classes of users within the account, enforcing limits and defaults for jobs and sessions." +} diff --git a/.changes/next-release/api-change-mediaconvert-29858.json b/.changes/next-release/api-change-mediaconvert-29858.json new file mode 100644 index 000000000000..5c89f67e261d --- /dev/null +++ b/.changes/next-release/api-change-mediaconvert-29858.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``mediaconvert``", + "description": "This release includes support for creating I-frame only video segments for DASH trick play." +} diff --git a/.changes/next-release/api-change-secretsmanager-49365.json b/.changes/next-release/api-change-secretsmanager-49365.json new file mode 100644 index 000000000000..32e0eb5f7ceb --- /dev/null +++ b/.changes/next-release/api-change-secretsmanager-49365.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``secretsmanager``", + "description": "Doc only update for Secrets Manager" +} diff --git a/.changes/next-release/api-change-waf-14568.json b/.changes/next-release/api-change-waf-14568.json new file mode 100644 index 000000000000..ecc4111228f5 --- /dev/null +++ b/.changes/next-release/api-change-waf-14568.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``waf``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." +} From 265a214d7cc4878bf509562260ad392f31169fd9 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 17 Jun 2024 18:13:33 +0000 Subject: [PATCH 0066/1087] Bumping version to 1.33.10 --- .changes/1.33.10.json | 52 +++++++++++++++++++ .../next-release/api-change-acmpca-69610.json | 5 -- .../next-release/api-change-batch-79370.json | 5 -- .../api-change-codebuild-88818.json | 5 -- .../api-change-cognitoidp-51047.json | 5 -- .../next-release/api-change-ds-90138.json | 5 -- .../next-release/api-change-efs-80102.json | 5 -- .../next-release/api-change-glue-22096.json | 5 -- .../api-change-mediaconvert-29858.json | 5 -- .../api-change-secretsmanager-49365.json | 5 -- .../next-release/api-change-waf-14568.json | 5 -- CHANGELOG.rst | 15 ++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 4 +- setup.cfg | 2 +- setup.py | 2 +- 16 files changed, 72 insertions(+), 55 deletions(-) create mode 100644 .changes/1.33.10.json delete mode 100644 .changes/next-release/api-change-acmpca-69610.json delete mode 100644 .changes/next-release/api-change-batch-79370.json delete mode 100644 .changes/next-release/api-change-codebuild-88818.json delete mode 100644 .changes/next-release/api-change-cognitoidp-51047.json delete mode 100644 .changes/next-release/api-change-ds-90138.json delete mode 100644 .changes/next-release/api-change-efs-80102.json delete mode 100644 .changes/next-release/api-change-glue-22096.json delete mode 100644 .changes/next-release/api-change-mediaconvert-29858.json delete mode 100644 .changes/next-release/api-change-secretsmanager-49365.json delete mode 100644 .changes/next-release/api-change-waf-14568.json diff --git a/.changes/1.33.10.json b/.changes/1.33.10.json new file mode 100644 index 000000000000..123c80200acf --- /dev/null +++ b/.changes/1.33.10.json @@ -0,0 +1,52 @@ +[ + { + "category": "``acm-pca``", + "description": "Doc-only update that adds name constraints as an allowed extension for ImportCertificateAuthorityCertificate.", + "type": "api-change" + }, + { + "category": "``batch``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing.", + "type": "api-change" + }, + { + "category": "``codebuild``", + "description": "AWS CodeBuild now supports global and organization GitHub webhooks", + "type": "api-change" + }, + { + "category": "``cognito-idp``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing.", + "type": "api-change" + }, + { + "category": "``ds``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing.", + "type": "api-change" + }, + { + "category": "``efs``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing.", + "type": "api-change" + }, + { + "category": "``glue``", + "description": "This release introduces a new feature, Usage profiles. Usage profiles allow the AWS Glue admin to create different profiles for various classes of users within the account, enforcing limits and defaults for jobs and sessions.", + "type": "api-change" + }, + { + "category": "``mediaconvert``", + "description": "This release includes support for creating I-frame only video segments for DASH trick play.", + "type": "api-change" + }, + { + "category": "``secretsmanager``", + "description": "Doc only update for Secrets Manager", + "type": "api-change" + }, + { + "category": "``waf``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-acmpca-69610.json b/.changes/next-release/api-change-acmpca-69610.json deleted file mode 100644 index f1bb582ab19a..000000000000 --- a/.changes/next-release/api-change-acmpca-69610.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``acm-pca``", - "description": "Doc-only update that adds name constraints as an allowed extension for ImportCertificateAuthorityCertificate." -} diff --git a/.changes/next-release/api-change-batch-79370.json b/.changes/next-release/api-change-batch-79370.json deleted file mode 100644 index 93dab46f12c9..000000000000 --- a/.changes/next-release/api-change-batch-79370.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``batch``", - "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." -} diff --git a/.changes/next-release/api-change-codebuild-88818.json b/.changes/next-release/api-change-codebuild-88818.json deleted file mode 100644 index 87b75790f821..000000000000 --- a/.changes/next-release/api-change-codebuild-88818.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``codebuild``", - "description": "AWS CodeBuild now supports global and organization GitHub webhooks" -} diff --git a/.changes/next-release/api-change-cognitoidp-51047.json b/.changes/next-release/api-change-cognitoidp-51047.json deleted file mode 100644 index 23daea0ec8dd..000000000000 --- a/.changes/next-release/api-change-cognitoidp-51047.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``cognito-idp``", - "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." -} diff --git a/.changes/next-release/api-change-ds-90138.json b/.changes/next-release/api-change-ds-90138.json deleted file mode 100644 index 1fa786697d3a..000000000000 --- a/.changes/next-release/api-change-ds-90138.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ds``", - "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." -} diff --git a/.changes/next-release/api-change-efs-80102.json b/.changes/next-release/api-change-efs-80102.json deleted file mode 100644 index 2a2b54fa6146..000000000000 --- a/.changes/next-release/api-change-efs-80102.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``efs``", - "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." -} diff --git a/.changes/next-release/api-change-glue-22096.json b/.changes/next-release/api-change-glue-22096.json deleted file mode 100644 index e0a8f6dd12ee..000000000000 --- a/.changes/next-release/api-change-glue-22096.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``glue``", - "description": "This release introduces a new feature, Usage profiles. Usage profiles allow the AWS Glue admin to create different profiles for various classes of users within the account, enforcing limits and defaults for jobs and sessions." -} diff --git a/.changes/next-release/api-change-mediaconvert-29858.json b/.changes/next-release/api-change-mediaconvert-29858.json deleted file mode 100644 index 5c89f67e261d..000000000000 --- a/.changes/next-release/api-change-mediaconvert-29858.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``mediaconvert``", - "description": "This release includes support for creating I-frame only video segments for DASH trick play." -} diff --git a/.changes/next-release/api-change-secretsmanager-49365.json b/.changes/next-release/api-change-secretsmanager-49365.json deleted file mode 100644 index 32e0eb5f7ceb..000000000000 --- a/.changes/next-release/api-change-secretsmanager-49365.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``secretsmanager``", - "description": "Doc only update for Secrets Manager" -} diff --git a/.changes/next-release/api-change-waf-14568.json b/.changes/next-release/api-change-waf-14568.json deleted file mode 100644 index ecc4111228f5..000000000000 --- a/.changes/next-release/api-change-waf-14568.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``waf``", - "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index fa3e1f582c04..44c8225a6355 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,21 @@ CHANGELOG ========= +1.33.10 +======= + +* api-change:``acm-pca``: Doc-only update that adds name constraints as an allowed extension for ImportCertificateAuthorityCertificate. +* api-change:``batch``: Add v2 smoke tests and smithy smokeTests trait for SDK testing. +* api-change:``codebuild``: AWS CodeBuild now supports global and organization GitHub webhooks +* api-change:``cognito-idp``: Add v2 smoke tests and smithy smokeTests trait for SDK testing. +* api-change:``ds``: Add v2 smoke tests and smithy smokeTests trait for SDK testing. +* api-change:``efs``: Add v2 smoke tests and smithy smokeTests trait for SDK testing. +* api-change:``glue``: This release introduces a new feature, Usage profiles. Usage profiles allow the AWS Glue admin to create different profiles for various classes of users within the account, enforcing limits and defaults for jobs and sessions. +* api-change:``mediaconvert``: This release includes support for creating I-frame only video segments for DASH trick play. +* api-change:``secretsmanager``: Doc only update for Secrets Manager +* api-change:``waf``: Add v2 smoke tests and smithy smokeTests trait for SDK testing. + + 1.33.9 ====== diff --git a/awscli/__init__.py b/awscli/__init__.py index 81be34360d76..24b27c262701 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -17,7 +17,7 @@ """ import os -__version__ = '1.33.9' +__version__ = '1.33.10' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index a91491600218..e562bae8fbe7 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -50,9 +50,9 @@ # built documents. # # The short X.Y version. -version = '1.33' +version = '1.33.' # The full version, including alpha/beta/rc tags. -release = '1.33.9' +release = '1.33.10' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index de9d0c8f1118..56f01c5dc5ba 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.34.127 + botocore==1.34.128 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 8e7864f8c6d7..506925860056 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.34.127', + 'botocore==1.34.128', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 5405266a675c3b9391e2ce94cc9f340f4dfebd2a Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 18 Jun 2024 18:11:17 +0000 Subject: [PATCH 0067/1087] Update changelog based on model updates --- .changes/next-release/api-change-bedrockruntime-39274.json | 5 +++++ .changes/next-release/api-change-cloudtrail-92882.json | 5 +++++ .changes/next-release/api-change-config-95635.json | 5 +++++ .changes/next-release/api-change-eks-3029.json | 5 +++++ .changes/next-release/api-change-lightsail-94849.json | 5 +++++ .changes/next-release/api-change-polly-30231.json | 5 +++++ .changes/next-release/api-change-rekognition-8747.json | 5 +++++ .changes/next-release/api-change-sagemaker-49141.json | 5 +++++ .changes/next-release/api-change-shield-68297.json | 5 +++++ .changes/next-release/api-change-snowball-74498.json | 5 +++++ 10 files changed, 50 insertions(+) create mode 100644 .changes/next-release/api-change-bedrockruntime-39274.json create mode 100644 .changes/next-release/api-change-cloudtrail-92882.json create mode 100644 .changes/next-release/api-change-config-95635.json create mode 100644 .changes/next-release/api-change-eks-3029.json create mode 100644 .changes/next-release/api-change-lightsail-94849.json create mode 100644 .changes/next-release/api-change-polly-30231.json create mode 100644 .changes/next-release/api-change-rekognition-8747.json create mode 100644 .changes/next-release/api-change-sagemaker-49141.json create mode 100644 .changes/next-release/api-change-shield-68297.json create mode 100644 .changes/next-release/api-change-snowball-74498.json diff --git a/.changes/next-release/api-change-bedrockruntime-39274.json b/.changes/next-release/api-change-bedrockruntime-39274.json new file mode 100644 index 000000000000..44a7b0e1e673 --- /dev/null +++ b/.changes/next-release/api-change-bedrockruntime-39274.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-runtime``", + "description": "This release adds support for using Guardrails with the Converse and ConverseStream APIs." +} diff --git a/.changes/next-release/api-change-cloudtrail-92882.json b/.changes/next-release/api-change-cloudtrail-92882.json new file mode 100644 index 000000000000..61f3e90a1300 --- /dev/null +++ b/.changes/next-release/api-change-cloudtrail-92882.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``cloudtrail``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." +} diff --git a/.changes/next-release/api-change-config-95635.json b/.changes/next-release/api-change-config-95635.json new file mode 100644 index 000000000000..24487e91d530 --- /dev/null +++ b/.changes/next-release/api-change-config-95635.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``config``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." +} diff --git a/.changes/next-release/api-change-eks-3029.json b/.changes/next-release/api-change-eks-3029.json new file mode 100644 index 000000000000..bb87dddb01b8 --- /dev/null +++ b/.changes/next-release/api-change-eks-3029.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``eks``", + "description": "This release adds support to surface async fargate customer errors from async path to customer through describe-fargate-profile API response." +} diff --git a/.changes/next-release/api-change-lightsail-94849.json b/.changes/next-release/api-change-lightsail-94849.json new file mode 100644 index 000000000000..e61782d74dee --- /dev/null +++ b/.changes/next-release/api-change-lightsail-94849.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``lightsail``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." +} diff --git a/.changes/next-release/api-change-polly-30231.json b/.changes/next-release/api-change-polly-30231.json new file mode 100644 index 000000000000..ad3550d6493d --- /dev/null +++ b/.changes/next-release/api-change-polly-30231.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``polly``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." +} diff --git a/.changes/next-release/api-change-rekognition-8747.json b/.changes/next-release/api-change-rekognition-8747.json new file mode 100644 index 000000000000..2d0c88b9c88b --- /dev/null +++ b/.changes/next-release/api-change-rekognition-8747.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``rekognition``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." +} diff --git a/.changes/next-release/api-change-sagemaker-49141.json b/.changes/next-release/api-change-sagemaker-49141.json new file mode 100644 index 000000000000..84e388f36549 --- /dev/null +++ b/.changes/next-release/api-change-sagemaker-49141.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``sagemaker``", + "description": "Launched a new feature in SageMaker to provide managed MLflow Tracking Servers for customers to track ML experiments. This release also adds a new capability of attaching additional storage to SageMaker HyperPod cluster instances." +} diff --git a/.changes/next-release/api-change-shield-68297.json b/.changes/next-release/api-change-shield-68297.json new file mode 100644 index 000000000000..80d03376f070 --- /dev/null +++ b/.changes/next-release/api-change-shield-68297.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``shield``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." +} diff --git a/.changes/next-release/api-change-snowball-74498.json b/.changes/next-release/api-change-snowball-74498.json new file mode 100644 index 000000000000..e4800a0bf879 --- /dev/null +++ b/.changes/next-release/api-change-snowball-74498.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``snowball``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." +} From 842db58956378d55a1c6e0efc7c948ba3d23df21 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 18 Jun 2024 18:12:24 +0000 Subject: [PATCH 0068/1087] Bumping version to 1.33.11 --- .changes/1.33.11.json | 52 +++++++++++++++++++ .../api-change-bedrockruntime-39274.json | 5 -- .../api-change-cloudtrail-92882.json | 5 -- .../next-release/api-change-config-95635.json | 5 -- .../next-release/api-change-eks-3029.json | 5 -- .../api-change-lightsail-94849.json | 5 -- .../next-release/api-change-polly-30231.json | 5 -- .../api-change-rekognition-8747.json | 5 -- .../api-change-sagemaker-49141.json | 5 -- .../next-release/api-change-shield-68297.json | 5 -- .../api-change-snowball-74498.json | 5 -- CHANGELOG.rst | 15 ++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 16 files changed, 71 insertions(+), 54 deletions(-) create mode 100644 .changes/1.33.11.json delete mode 100644 .changes/next-release/api-change-bedrockruntime-39274.json delete mode 100644 .changes/next-release/api-change-cloudtrail-92882.json delete mode 100644 .changes/next-release/api-change-config-95635.json delete mode 100644 .changes/next-release/api-change-eks-3029.json delete mode 100644 .changes/next-release/api-change-lightsail-94849.json delete mode 100644 .changes/next-release/api-change-polly-30231.json delete mode 100644 .changes/next-release/api-change-rekognition-8747.json delete mode 100644 .changes/next-release/api-change-sagemaker-49141.json delete mode 100644 .changes/next-release/api-change-shield-68297.json delete mode 100644 .changes/next-release/api-change-snowball-74498.json diff --git a/.changes/1.33.11.json b/.changes/1.33.11.json new file mode 100644 index 000000000000..a2c2ddc2d838 --- /dev/null +++ b/.changes/1.33.11.json @@ -0,0 +1,52 @@ +[ + { + "category": "``bedrock-runtime``", + "description": "This release adds support for using Guardrails with the Converse and ConverseStream APIs.", + "type": "api-change" + }, + { + "category": "``cloudtrail``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing.", + "type": "api-change" + }, + { + "category": "``config``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing.", + "type": "api-change" + }, + { + "category": "``eks``", + "description": "This release adds support to surface async fargate customer errors from async path to customer through describe-fargate-profile API response.", + "type": "api-change" + }, + { + "category": "``lightsail``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing.", + "type": "api-change" + }, + { + "category": "``polly``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing.", + "type": "api-change" + }, + { + "category": "``rekognition``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing.", + "type": "api-change" + }, + { + "category": "``sagemaker``", + "description": "Launched a new feature in SageMaker to provide managed MLflow Tracking Servers for customers to track ML experiments. This release also adds a new capability of attaching additional storage to SageMaker HyperPod cluster instances.", + "type": "api-change" + }, + { + "category": "``shield``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing.", + "type": "api-change" + }, + { + "category": "``snowball``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-bedrockruntime-39274.json b/.changes/next-release/api-change-bedrockruntime-39274.json deleted file mode 100644 index 44a7b0e1e673..000000000000 --- a/.changes/next-release/api-change-bedrockruntime-39274.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-runtime``", - "description": "This release adds support for using Guardrails with the Converse and ConverseStream APIs." -} diff --git a/.changes/next-release/api-change-cloudtrail-92882.json b/.changes/next-release/api-change-cloudtrail-92882.json deleted file mode 100644 index 61f3e90a1300..000000000000 --- a/.changes/next-release/api-change-cloudtrail-92882.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``cloudtrail``", - "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." -} diff --git a/.changes/next-release/api-change-config-95635.json b/.changes/next-release/api-change-config-95635.json deleted file mode 100644 index 24487e91d530..000000000000 --- a/.changes/next-release/api-change-config-95635.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``config``", - "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." -} diff --git a/.changes/next-release/api-change-eks-3029.json b/.changes/next-release/api-change-eks-3029.json deleted file mode 100644 index bb87dddb01b8..000000000000 --- a/.changes/next-release/api-change-eks-3029.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``eks``", - "description": "This release adds support to surface async fargate customer errors from async path to customer through describe-fargate-profile API response." -} diff --git a/.changes/next-release/api-change-lightsail-94849.json b/.changes/next-release/api-change-lightsail-94849.json deleted file mode 100644 index e61782d74dee..000000000000 --- a/.changes/next-release/api-change-lightsail-94849.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``lightsail``", - "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." -} diff --git a/.changes/next-release/api-change-polly-30231.json b/.changes/next-release/api-change-polly-30231.json deleted file mode 100644 index ad3550d6493d..000000000000 --- a/.changes/next-release/api-change-polly-30231.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``polly``", - "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." -} diff --git a/.changes/next-release/api-change-rekognition-8747.json b/.changes/next-release/api-change-rekognition-8747.json deleted file mode 100644 index 2d0c88b9c88b..000000000000 --- a/.changes/next-release/api-change-rekognition-8747.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``rekognition``", - "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." -} diff --git a/.changes/next-release/api-change-sagemaker-49141.json b/.changes/next-release/api-change-sagemaker-49141.json deleted file mode 100644 index 84e388f36549..000000000000 --- a/.changes/next-release/api-change-sagemaker-49141.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``sagemaker``", - "description": "Launched a new feature in SageMaker to provide managed MLflow Tracking Servers for customers to track ML experiments. This release also adds a new capability of attaching additional storage to SageMaker HyperPod cluster instances." -} diff --git a/.changes/next-release/api-change-shield-68297.json b/.changes/next-release/api-change-shield-68297.json deleted file mode 100644 index 80d03376f070..000000000000 --- a/.changes/next-release/api-change-shield-68297.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``shield``", - "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." -} diff --git a/.changes/next-release/api-change-snowball-74498.json b/.changes/next-release/api-change-snowball-74498.json deleted file mode 100644 index e4800a0bf879..000000000000 --- a/.changes/next-release/api-change-snowball-74498.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``snowball``", - "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 44c8225a6355..f9f0b1977bce 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,21 @@ CHANGELOG ========= +1.33.11 +======= + +* api-change:``bedrock-runtime``: This release adds support for using Guardrails with the Converse and ConverseStream APIs. +* api-change:``cloudtrail``: Add v2 smoke tests and smithy smokeTests trait for SDK testing. +* api-change:``config``: Add v2 smoke tests and smithy smokeTests trait for SDK testing. +* api-change:``eks``: This release adds support to surface async fargate customer errors from async path to customer through describe-fargate-profile API response. +* api-change:``lightsail``: Add v2 smoke tests and smithy smokeTests trait for SDK testing. +* api-change:``polly``: Add v2 smoke tests and smithy smokeTests trait for SDK testing. +* api-change:``rekognition``: Add v2 smoke tests and smithy smokeTests trait for SDK testing. +* api-change:``sagemaker``: Launched a new feature in SageMaker to provide managed MLflow Tracking Servers for customers to track ML experiments. This release also adds a new capability of attaching additional storage to SageMaker HyperPod cluster instances. +* api-change:``shield``: Add v2 smoke tests and smithy smokeTests trait for SDK testing. +* api-change:``snowball``: Add v2 smoke tests and smithy smokeTests trait for SDK testing. + + 1.33.10 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 24b27c262701..d746da024c77 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -17,7 +17,7 @@ """ import os -__version__ = '1.33.10' +__version__ = '1.33.11' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index e562bae8fbe7..3be0ac3a2953 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.33.' # The full version, including alpha/beta/rc tags. -release = '1.33.10' +release = '1.33.11' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 56f01c5dc5ba..9b8fddaffded 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.34.128 + botocore==1.34.129 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 506925860056..45548e6ded07 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.34.128', + 'botocore==1.34.129', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 375c8e8e100d86d34a181ee2cc60f0004bbfe133 Mon Sep 17 00:00:00 2001 From: Nate Prewitt Date: Sun, 19 Nov 2023 14:37:54 -0700 Subject: [PATCH 0069/1087] Remove six from awscli codebase --- awscli/argparser.py | 5 +- awscli/argprocess.py | 9 +- awscli/bcdoc/docstringparser.py | 14 +- awscli/clidriver.py | 1 - awscli/compat.py | 128 ++++++------------ awscli/customizations/awslambda.py | 5 +- .../cloudformation/artifact_exporter.py | 5 +- .../cloudformation/yamlhelper.py | 4 +- awscli/customizations/codedeploy/push.py | 5 +- awscli/customizations/configure/__init__.py | 4 +- awscli/customizations/configure/get.py | 3 +- awscli/customizations/dynamodb.py | 2 - awscli/customizations/ec2/bundleinstance.py | 6 +- awscli/customizations/ec2/decryptpassword.py | 3 +- awscli/customizations/history/show.py | 3 +- awscli/customizations/opsworks.py | 4 +- awscli/customizations/s3/filegenerator.py | 3 +- awscli/customizations/s3/subcommands.py | 3 +- awscli/customizations/s3/transferconfig.py | 5 +- awscli/paramfile.py | 5 +- awscli/table.py | 5 +- awscli/testutils.py | 27 +--- awscli/text.py | 9 +- awscli/utils.py | 14 +- 24 files changed, 93 insertions(+), 179 deletions(-) diff --git a/awscli/argparser.py b/awscli/argparser.py index 126b27f8e1e9..2bb41f8ec01c 100644 --- a/awscli/argparser.py +++ b/awscli/argparser.py @@ -12,7 +12,6 @@ # language governing permissions and limitations under the License. import argparse import sys -from awscli.compat import six from difflib import get_close_matches @@ -106,12 +105,12 @@ def parse_known_args(self, args, namespace=None): # default to utf-8. terminal_encoding = 'utf-8' for arg, value in vars(parsed).items(): - if isinstance(value, six.binary_type): + if isinstance(value, bytes): setattr(parsed, arg, value.decode(terminal_encoding)) elif isinstance(value, list): encoded = [] for v in value: - if isinstance(v, six.binary_type): + if isinstance(v, bytes): encoded.append(v.decode(terminal_encoding)) else: encoded.append(v) diff --git a/awscli/argprocess.py b/awscli/argprocess.py index 5cd418ce2606..c65fd83a067d 100644 --- a/awscli/argprocess.py +++ b/awscli/argprocess.py @@ -13,7 +13,6 @@ """Module for processing CLI args.""" import os import logging -from awscli.compat import six from botocore.compat import OrderedDict, json @@ -166,7 +165,7 @@ def _unpack_cli_arg(argument_model, value, cli_name): return _unpack_complex_cli_arg( argument_model, value, cli_name) else: - return six.text_type(value) + return str(value) def _unpack_json_cli_arg(argument_model, value, cli_name): @@ -185,7 +184,7 @@ def _unpack_complex_cli_arg(argument_model, value, cli_name): return _unpack_json_cli_arg(argument_model, value, cli_name) raise ParamError(cli_name, "Invalid JSON:\n%s" % value) elif type_name == 'list': - if isinstance(value, six.string_types): + if isinstance(value, str): if value.lstrip()[0] == '[': return _unpack_json_cli_arg(argument_model, value, cli_name) elif isinstance(value, list) and len(value) == 1: @@ -226,7 +225,7 @@ def unpack_scalar_cli_arg(argument_model, value, cli_name=''): raise ParamError(cli_name, msg) return open(file_path, 'rb') elif argument_model.type_name == 'boolean': - if isinstance(value, six.string_types) and value.lower() == 'false': + if isinstance(value, str) and value.lower() == 'false': return False return bool(value) else: @@ -401,7 +400,7 @@ def _should_parse_as_shorthand(self, cli_argument, value): check_val = value[0] else: check_val = value - if isinstance(check_val, six.string_types) and check_val.strip().startswith( + if isinstance(check_val, str) and check_val.strip().startswith( ('[', '{')): LOG.debug("Param %s looks like JSON, not considered for " "param shorthand.", cli_argument.py_name) diff --git a/awscli/bcdoc/docstringparser.py b/awscli/bcdoc/docstringparser.py index 868bd5d8914b..cfff547db59d 100644 --- a/awscli/bcdoc/docstringparser.py +++ b/awscli/bcdoc/docstringparser.py @@ -10,10 +10,10 @@ # distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF # ANY KIND, either express or implied. See the License for the specific # language governing permissions and limitations under the License. -from botocore.compat import six +from html.parser import HTMLParser -class DocStringParser(six.moves.html_parser.HTMLParser): +class DocStringParser(HTMLParser): """ A simple HTML parser. Focused on converting the subset of HTML that appears in the documentation strings of the JSON models into @@ -23,20 +23,20 @@ class DocStringParser(six.moves.html_parser.HTMLParser): def __init__(self, doc): self.tree = None self.doc = doc - six.moves.html_parser.HTMLParser.__init__(self) + HTMLParser.__init__(self) def reset(self): - six.moves.html_parser.HTMLParser.reset(self) + HTMLParser.reset(self) self.tree = HTMLTree(self.doc) def feed(self, data): # HTMLParser is an old style class, so the super() method will not work. - six.moves.html_parser.HTMLParser.feed(self, data) + HTMLParser.feed(self, data) self.tree.write() self.tree = HTMLTree(self.doc) def close(self): - six.moves.html_parser.HTMLParser.close(self) + HTMLParser.close(self) # Write if there is anything remaining. self.tree.write() self.tree = HTMLTree(self.doc) @@ -176,7 +176,7 @@ class DataNode(Node): """ def __init__(self, data, parent=None): super(DataNode, self).__init__(parent) - if not isinstance(data, six.string_types): + if not isinstance(data, str): raise ValueError("Expecting string type, %s given." % type(data)) self.data = data diff --git a/awscli/clidriver.py b/awscli/clidriver.py index d7db5656c720..1c1e2fa91f9a 100644 --- a/awscli/clidriver.py +++ b/awscli/clidriver.py @@ -29,7 +29,6 @@ from awscli.formatter import get_formatter from awscli.plugin import load_plugins from awscli.commands import CLICommand -from awscli.compat import six from awscli.argparser import MainArgParser from awscli.argparser import ServiceArgParser from awscli.argparser import ArgTableArgParser diff --git a/awscli/compat.py b/awscli/compat.py index 6ad8ae69ea0f..348ab042b243 100644 --- a/awscli/compat.py +++ b/awscli/compat.py @@ -19,25 +19,29 @@ import zipfile import signal import contextlib +import queue +import io +import collections.abc as collections_abc +import locale +import urllib.parse as urlparse +from urllib.error import URLError +from urllib.request import urlopen from configparser import RawConfigParser from functools import partial -from botocore.compat import six -#import botocore.compat +from urllib.error import URLError +from botocore.compat import six from botocore.compat import OrderedDict -# If you ever want to import from the vendored six. Add it here and then -# import from awscli.compat. Also try to keep it in alphabetical order. -# This may get large. -advance_iterator = six.advance_iterator -PY3 = six.PY3 -queue = six.moves.queue -shlex_quote = six.moves.shlex_quote -StringIO = six.StringIO -BytesIO = six.BytesIO -urlopen = six.moves.urllib.request.urlopen -binary_type = six.binary_type +# Backwards compatible definitions from six +PY3 = sys.version_info[0] == 3 +advance_iterator = next +shlex_quote = shlex.quote +StringIO = io.StringIO +BytesIO = io.BytesIO +binary_type = bytes +raw_input = input # Most, but not all, python installations will have zlib. This is required to @@ -104,89 +108,33 @@ def ensure_text_type(s): raise ValueError("Expected str, unicode or bytes, received %s." % type(s)) -if six.PY3: - import collections.abc as collections_abc - import locale - import urllib.parse as urlparse - - from urllib.error import URLError - - raw_input = input - - def get_binary_stdin(): - if sys.stdin is None: - raise StdinMissingError() - return sys.stdin.buffer - - def get_binary_stdout(): - return sys.stdout.buffer - - def _get_text_writer(stream, errors): - return stream - - def bytes_print(statement, stdout=None): - """ - This function is used to write raw bytes to stdout. - """ - if stdout is None: - stdout = sys.stdout - - if getattr(stdout, 'buffer', None): - stdout.buffer.write(statement) - else: - # If it is not possible to write to the standard out buffer. - # The next best option is to decode and write to standard out. - stdout.write(statement.decode('utf-8')) - -else: - import codecs - import collections as collections_abc - import locale - import io - import urlparse - - from urllib2 import URLError +def get_binary_stdin(): + if sys.stdin is None: + raise StdinMissingError() + return sys.stdin.buffer - raw_input = raw_input - def get_binary_stdin(): - if sys.stdin is None: - raise StdinMissingError() - return sys.stdin +def get_binary_stdout(): + return sys.stdout.buffer - def get_binary_stdout(): - return sys.stdout - def _get_text_writer(stream, errors): - # In python3, all the sys.stdout/sys.stderr streams are in text - # mode. This means they expect unicode, and will encode the - # unicode automatically before actually writing to stdout/stderr. - # In python2, that's not the case. In order to provide a consistent - # interface, we can create a wrapper around sys.stdout that will take - # unicode, and automatically encode it to the preferred encoding. - # That way consumers can just call get_text_writer(stream) and write - # unicode to the returned stream. Note that get_text_writer - # just returns the stream in the PY3 section above because python3 - # handles this. - - # We're going to use the preferred encoding, but in cases that there is - # no preferred encoding we're going to fall back to assuming ASCII is - # what we should use. This will currently break the use of - # PYTHONIOENCODING, which would require checking stream.encoding first, - # however, the existing behavior is to only use - # locale.getpreferredencoding() and so in the hope of not breaking what - # is currently working, we will continue to only use that. - encoding = locale.getpreferredencoding() - if encoding is None: - encoding = "ascii" +def _get_text_writer(stream, errors): + return stream - return codecs.getwriter(encoding)(stream, errors) - def bytes_print(statement, stdout=None): - if stdout is None: - stdout = sys.stdout +def bytes_print(statement, stdout=None): + """ + This function is used to write raw bytes to stdout. + """ + if stdout is None: + stdout = sys.stdout - stdout.write(statement) + if getattr(stdout, 'buffer', None): + stdout.buffer.write(statement) + else: + # If it is not possible to write to the standard out buffer. + # The next best option is to decode and write to standard out. + stdout.write(statement.decode('utf-8')) def compat_open(filename, mode='r', encoding=None, access_permissions=None): @@ -252,7 +200,7 @@ def compat_shell_quote(s, platform=None): if platform == "win32": return _windows_shell_quote(s) else: - return shlex_quote(s) + return shlex.quote(s) def _windows_shell_quote(s): diff --git a/awscli/customizations/awslambda.py b/awscli/customizations/awslambda.py index c55437c8680e..d373881a383f 100644 --- a/awscli/customizations/awslambda.py +++ b/awscli/customizations/awslambda.py @@ -14,9 +14,8 @@ import copy from contextlib import closing -from botocore.vendored import six - from awscli.arguments import CustomArgument, CLIArgument +from awscli.compat import BytesIO ERROR_MSG = ( @@ -90,7 +89,7 @@ def _should_contain_zip_content(value): # still try to load the contents as a zip file # to be absolutely sure. value = value.encode('utf-8') - fileobj = six.BytesIO(value) + fileobj = BytesIO(value) try: with closing(zipfile.ZipFile(fileobj)) as f: f.infolist() diff --git a/awscli/customizations/cloudformation/artifact_exporter.py b/awscli/customizations/cloudformation/artifact_exporter.py index 64eb5a06e1a4..7fba8dddbba3 100644 --- a/awscli/customizations/cloudformation/artifact_exporter.py +++ b/awscli/customizations/cloudformation/artifact_exporter.py @@ -18,7 +18,6 @@ import contextlib import uuid import shutil -from awscli.compat import six from botocore.utils import set_value_from_jmespath from awscli.compat import urlparse @@ -33,7 +32,7 @@ def is_path_value_valid(path): - return isinstance(path, six.string_types) + return isinstance(path, str) def make_abs_path(directory, path): @@ -70,7 +69,7 @@ def parse_s3_url(url, object_key_property="Key", version_property=None): - if isinstance(url, six.string_types) \ + if isinstance(url, str) \ and url.startswith("s3://"): # Python < 2.7.10 don't parse query parameters from URI with custom diff --git a/awscli/customizations/cloudformation/yamlhelper.py b/awscli/customizations/cloudformation/yamlhelper.py index d251a41c428d..61603603e669 100644 --- a/awscli/customizations/cloudformation/yamlhelper.py +++ b/awscli/customizations/cloudformation/yamlhelper.py @@ -16,8 +16,6 @@ import yaml from yaml.resolver import ScalarNode, SequenceNode -from awscli.compat import six - def intrinsics_multi_constructor(loader, tag_prefix, node): """ @@ -35,7 +33,7 @@ def intrinsics_multi_constructor(loader, tag_prefix, node): cfntag = prefix + tag - if tag == "GetAtt" and isinstance(node.value, six.string_types): + if tag == "GetAtt" and isinstance(node.value, str): # ShortHand notation for !GetAtt accepts Resource.Attribute format # while the standard notation is to use an array # [Resource, Attribute]. Convert shorthand to standard format diff --git a/awscli/customizations/codedeploy/push.py b/awscli/customizations/codedeploy/push.py index 046c3b37636d..f483a3980427 100644 --- a/awscli/customizations/codedeploy/push.py +++ b/awscli/customizations/codedeploy/push.py @@ -20,10 +20,9 @@ from botocore.exceptions import ClientError -from awscli.compat import six from awscli.customizations.codedeploy.utils import validate_s3_location from awscli.customizations.commands import BasicCommand -from awscli.compat import ZIP_COMPRESSION_MODE +from awscli.compat import BytesIO, ZIP_COMPRESSION_MODE ONE_MB = 1 << 20 @@ -246,7 +245,7 @@ def _multipart_upload_to_s3(self, params, bundle, size_remaining): Key=params.key, UploadId=upload_id, PartNumber=part_num, - Body=six.BytesIO(data) + Body=BytesIO(data) ) multipart_list.append({ 'PartNumber': part_num, diff --git a/awscli/customizations/configure/__init__.py b/awscli/customizations/configure/__init__.py index ea49773888da..46aeed5f53db 100644 --- a/awscli/customizations/configure/__init__.py +++ b/awscli/customizations/configure/__init__.py @@ -11,7 +11,7 @@ # ANY KIND, either express or implied. See the License for the specific # language governing permissions and limitations under the License. import string -from botocore.vendored.six.moves import shlex_quote +from awscli.compat import shlex NOT_SET = '' PREDEFINED_SECTION_NAMES = ('preview', 'plugins') @@ -45,5 +45,5 @@ def mask_value(current_value): def profile_to_section(profile_name): """Converts a profile name to a section header to be used in the config.""" if any(c in _WHITESPACE for c in profile_name): - profile_name = shlex_quote(profile_name) + profile_name = shlex.quote(profile_name) return 'profile %s' % profile_name diff --git a/awscli/customizations/configure/get.py b/awscli/customizations/configure/get.py index a8c55f743473..1d48e06fa46d 100644 --- a/awscli/customizations/configure/get.py +++ b/awscli/customizations/configure/get.py @@ -14,7 +14,6 @@ import logging from awscli.customizations.commands import BasicCommand -from awscli.compat import six from . import PREDEFINED_SECTION_NAMES @@ -56,7 +55,7 @@ def _run_main(self, args, parsed_globals): LOG.debug(u'Config value retrieved: %s' % value) - if isinstance(value, six.string_types): + if isinstance(value, str): self._stream.write(value) self._stream.write('\n') return 0 diff --git a/awscli/customizations/dynamodb.py b/awscli/customizations/dynamodb.py index 90aaab1d39df..83bd5685f579 100644 --- a/awscli/customizations/dynamodb.py +++ b/awscli/customizations/dynamodb.py @@ -14,8 +14,6 @@ import binascii import logging -from awscli.compat import six - logger = logging.getLogger(__name__) diff --git a/awscli/customizations/ec2/bundleinstance.py b/awscli/customizations/ec2/bundleinstance.py index 37c3461258c8..46c9ae16e673 100644 --- a/awscli/customizations/ec2/bundleinstance.py +++ b/awscli/customizations/ec2/bundleinstance.py @@ -17,8 +17,6 @@ import base64 import datetime -from awscli.compat import six - from awscli.arguments import CustomArgument logger = logging.getLogger('ec2bundleinstance') @@ -132,9 +130,9 @@ def _generate_signature(params): policy = params.get('UploadPolicy') sak = params.get('_SAK') if policy and sak: - policy = base64.b64encode(six.b(policy)).decode('utf-8') + policy = base64.b64encode(policy.encode('latin-1')).decode('utf-8') new_hmac = hmac.new(sak.encode('utf-8'), digestmod=sha1) - new_hmac.update(six.b(policy)) + new_hmac.update(policy.encode('latin-1')) ps = base64.encodebytes(new_hmac.digest()).strip().decode('utf-8') params['UploadPolicySignature'] = ps del params['_SAK'] diff --git a/awscli/customizations/ec2/decryptpassword.py b/awscli/customizations/ec2/decryptpassword.py index 9d110636463d..a62a3493ce6d 100644 --- a/awscli/customizations/ec2/decryptpassword.py +++ b/awscli/customizations/ec2/decryptpassword.py @@ -14,7 +14,6 @@ import os import base64 import rsa -from awscli.compat import six from botocore import model @@ -109,7 +108,7 @@ def _decrypt_password_data(self, parsed, **kwargs): try: with open(self._key_path) as pk_file: pk_contents = pk_file.read() - private_key = rsa.PrivateKey.load_pkcs1(six.b(pk_contents)) + private_key = rsa.PrivateKey.load_pkcs1(pk_contents.encode("latin-1")) value = base64.b64decode(value) value = rsa.decrypt(value, private_key) logger.debug(parsed) diff --git a/awscli/customizations/history/show.py b/awscli/customizations/history/show.py index da8bb84fec1b..771e1678e0f8 100644 --- a/awscli/customizations/history/show.py +++ b/awscli/customizations/history/show.py @@ -19,7 +19,6 @@ import colorama from awscli.table import COLORAMA_KWARGS -from awscli.compat import six from awscli.customizations.history.commands import HistorySubcommand from awscli.customizations.history.filters import RegexFilter @@ -213,7 +212,7 @@ def _display_value(self, value_definition, event_record): self._write_output(formatted_value) def _write_output(self, content): - if isinstance(content, six.text_type): + if isinstance(content, str): content = content.encode('utf-8') self._output.write(content) diff --git a/awscli/customizations/opsworks.py b/awscli/customizations/opsworks.py index 604109cdf6c7..94d10cd876fc 100644 --- a/awscli/customizations/opsworks.py +++ b/awscli/customizations/opsworks.py @@ -24,7 +24,7 @@ from botocore.exceptions import ClientError -from awscli.compat import shlex_quote, urlopen, ensure_text_type +from awscli.compat import urlopen, ensure_text_type from awscli.customizations.commands import BasicCommand from awscli.customizations.utils import create_client_from_parsed_globals @@ -475,7 +475,7 @@ def ssh(self, args, remote_script): call.append(self._use_address) remote_call = ["/bin/sh", "-c", remote_script] - call.append(" ".join(shlex_quote(word) for word in remote_call)) + call.append(" ".join(shlex.quote(word) for word in remote_call)) subprocess.check_call(call) def _pre_config_document(self, args): diff --git a/awscli/customizations/s3/filegenerator.py b/awscli/customizations/s3/filegenerator.py index ad0ab4f27c62..e98d78c78edb 100644 --- a/awscli/customizations/s3/filegenerator.py +++ b/awscli/customizations/s3/filegenerator.py @@ -21,7 +21,6 @@ from awscli.customizations.s3.utils import find_bucket_key, get_file_stat from awscli.customizations.s3.utils import BucketLister, create_warning, \ find_dest_path_comp_key, EPOCH_TIME -from awscli.compat import six from awscli.compat import queue _open = open @@ -250,7 +249,7 @@ def should_ignore_file_with_decoding_warnings(self, dirname, filename): happens we warn using a FileDecodingError that provides more information into what's going on. """ - if not isinstance(filename, six.text_type): + if not isinstance(filename, str): decoding_error = FileDecodingError(dirname, filename) warning = create_warning(repr(filename), decoding_error.error_message) diff --git a/awscli/customizations/s3/subcommands.py b/awscli/customizations/s3/subcommands.py index 996d103309a0..f0f8bf4f33c8 100644 --- a/awscli/customizations/s3/subcommands.py +++ b/awscli/customizations/s3/subcommands.py @@ -19,7 +19,6 @@ from dateutil.parser import parse from dateutil.tz import tzlocal -from awscli.compat import six from awscli.compat import queue from awscli.customizations.commands import BasicCommand from awscli.customizations.s3.comparator import Comparator @@ -739,7 +738,7 @@ def _convert_path_args(self, parsed_args): parsed_args.paths = [parsed_args.paths] for i in range(len(parsed_args.paths)): path = parsed_args.paths[i] - if isinstance(path, six.binary_type): + if isinstance(path, bytes): dec_path = path.decode(sys.getfilesystemencoding()) enc_path = dec_path.encode('utf-8') new_path = enc_path.decode('utf-8') diff --git a/awscli/customizations/s3/transferconfig.py b/awscli/customizations/s3/transferconfig.py index d65d21d5bca5..b533aee4eced 100644 --- a/awscli/customizations/s3/transferconfig.py +++ b/awscli/customizations/s3/transferconfig.py @@ -13,7 +13,6 @@ from s3transfer.manager import TransferConfig from awscli.customizations.s3.utils import human_readable_to_bytes -from awscli.compat import six # If the user does not specify any overrides, # these are the default values we use for the s3 transfer # commands. @@ -64,13 +63,13 @@ def build_config(self, **kwargs): def _convert_human_readable_sizes(self, runtime_config): for attr in self.HUMAN_READABLE_SIZES: value = runtime_config.get(attr) - if value is not None and not isinstance(value, six.integer_types): + if value is not None and not isinstance(value, int): runtime_config[attr] = human_readable_to_bytes(value) def _convert_human_readable_rates(self, runtime_config): for attr in self.HUMAN_READABLE_RATES: value = runtime_config.get(attr) - if value is not None and not isinstance(value, six.integer_types): + if value is not None and not isinstance(value, int): if not value.endswith('B/s'): raise InvalidConfigError( 'Invalid rate: %s. The value must be expressed ' diff --git a/awscli/paramfile.py b/awscli/paramfile.py index 4e71b4311983..36f3ac6593f6 100644 --- a/awscli/paramfile.py +++ b/awscli/paramfile.py @@ -17,7 +17,6 @@ from botocore.awsrequest import AWSRequest from botocore.httpsession import URLLib3Session from botocore.exceptions import ProfileNotFound -from awscli.compat import six from awscli.compat import compat_open from awscli.argprocess import ParamError @@ -197,7 +196,7 @@ def _check_for_uri_param(self, param, value): try: return get_paramfile(value, self._prefixes) except ResourceLoadingError as e: - raise ParamError(param.cli_name, six.text_type(e)) + raise ParamError(param.cli_name, str(e)) def get_paramfile(path, cases): @@ -224,7 +223,7 @@ def get_paramfile(path, cases): """ data = None - if isinstance(path, six.string_types): + if isinstance(path, str): for prefix, function_spec in cases.items(): if path.startswith(prefix): function, kwargs = function_spec diff --git a/awscli/table.py b/awscli/table.py index df96392fc9fe..8ebfc454d0ed 100644 --- a/awscli/table.py +++ b/awscli/table.py @@ -17,7 +17,6 @@ import colorama from awscli.utils import is_a_tty -from awscli.compat import six # `autoreset` allows us to not have to sent reset sequences for every @@ -35,7 +34,7 @@ def get_text_length(text): # * A(Ambiguous) # * F(Fullwidth) # * W(Wide) - text = six.text_type(text) + text = str(text) return sum(2 if unicodedata.east_asian_width(char) in 'WFA' else 1 for char in text) @@ -412,7 +411,7 @@ def add_row(self, row): self._update_max_widths(row) def _format_row(self, row): - return [six.text_type(r) for r in row] + return [str(r) for r in row] def _update_max_widths(self, row): if not self._max_widths: diff --git a/awscli/testutils.py b/awscli/testutils.py index 807db01915dd..950290a0567d 100644 --- a/awscli/testutils.py +++ b/awscli/testutils.py @@ -38,7 +38,6 @@ from awscli.compat import StringIO -from awscli.compat import six from botocore.session import Session from botocore.exceptions import ClientError from botocore.exceptions import WaiterError @@ -48,20 +47,13 @@ import awscli.clidriver from awscli.plugin import load_plugins from awscli.clidriver import CLIDriver +from awscli.compat import BytesIO, StringIO from awscli import EnvironmentVariables import unittest -# In python 3, order matters when calling assertEqual to -# compare lists and dictionaries with lists. Therefore, -# assertItemsEqual needs to be used but it is renamed to -# assertCountEqual in python 3. -if six.PY2: - unittest.TestCase.assertCountEqual = unittest.TestCase.assertItemsEqual - - _LOADER = botocore.loaders.Loader() INTEG_LOG = logging.getLogger('awscli.tests.integration') AWS_CMD = None @@ -289,8 +281,8 @@ def __init__(self, stdout, stderr): @contextlib.contextmanager def capture_output(): - stderr = six.StringIO() - stdout = six.StringIO() + stderr = StringIO() + stdout = StringIO() with mock.patch('sys.stderr', stderr): with mock.patch('sys.stdout', stdout): yield CapturedOutput(stdout, stderr) @@ -298,12 +290,9 @@ def capture_output(): @contextlib.contextmanager def capture_input(input_bytes=b''): - input_data = six.BytesIO(input_bytes) - if six.PY3: - mock_object = mock.Mock() - mock_object.buffer = input_data - else: - mock_object = input_data + input_data = BytesIO(input_bytes) + mock_object = mock.Mock() + mock_object.buffer = input_data with mock.patch('sys.stdin', mock_object): yield input_data @@ -623,8 +612,6 @@ def aws(command, collect_memory=False, env_vars=None, aws_command = 'python %s' % get_aws_cmd() full_command = '%s %s' % (aws_command, command) stdout_encoding = get_stdout_encoding() - if isinstance(full_command, six.text_type) and not six.PY3: - full_command = full_command.encode(stdout_encoding) INTEG_LOG.debug("Running command: %s", full_command) env = os.environ.copy() if 'AWS_DEFAULT_REGION' not in env: @@ -742,7 +729,7 @@ def create_client_for_bucket(self, bucket_name): def assert_key_contents_equal(self, bucket, key, expected_contents): self.wait_until_key_exists(bucket, key) - if isinstance(expected_contents, six.BytesIO): + if isinstance(expected_contents, BytesIO): expected_contents = expected_contents.getvalue().decode('utf-8') actual_contents = self.get_key_contents(bucket, key) # The contents can be huge so we try to give helpful error messages diff --git a/awscli/text.py b/awscli/text.py index 9bc505042fee..a5bd0090829e 100644 --- a/awscli/text.py +++ b/awscli/text.py @@ -10,7 +10,6 @@ # distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF # ANY KIND, either express or implied. See the License for the specific # language governing permissions and limitations under the License. -from awscli.compat import six def format_text(data, stream): @@ -25,7 +24,7 @@ def _format_text(item, stream, identifier=None, scalar_keys=None): else: # If it's not a list or a dict, we just write the scalar # value out directly. - stream.write(six.text_type(item)) + stream.write(str(item)) stream.write('\n') @@ -66,7 +65,7 @@ def _format_scalar_list(elements, identifier, stream): item)) else: # For a bare list, just print the contents. - stream.write('\t'.join([six.text_type(item) for item in elements])) + stream.write('\t'.join([str(item) for item in elements])) stream.write('\n') @@ -107,10 +106,10 @@ def _partition_dict(item_dict, scalar_keys): if isinstance(value, (dict, list)): non_scalar.append((key, value)) else: - scalar.append(six.text_type(value)) + scalar.append(str(value)) else: for key in scalar_keys: - scalar.append(six.text_type(item_dict.get(key, ''))) + scalar.append(str(item_dict.get(key, ''))) remaining_keys = sorted(set(item_dict.keys()) - set(scalar_keys)) for remaining_key in remaining_keys: non_scalar.append((remaining_key, item_dict[remaining_key])) diff --git a/awscli/utils.py b/awscli/utils.py index 7ed20575a24f..39579ad98ba6 100644 --- a/awscli/utils.py +++ b/awscli/utils.py @@ -18,9 +18,9 @@ import sys import subprocess -from awscli.compat import six -from awscli.compat import get_binary_stdout -from awscli.compat import get_popen_kwargs_for_pager_cmd +from awscli.compat import ( + BytesIO, StringIO, get_binary_stdout, get_popen_kwargs_for_pager_cmd +) def split_on_commas(value): @@ -29,7 +29,7 @@ def split_on_commas(value): return value.split(',') elif not any(char in value for char in ['"', "'", '[', ']']): # Simple escaping, let the csv module handle it. - return list(csv.reader(six.StringIO(value), escapechar='\\'))[0] + return list(csv.reader(StringIO(value), escapechar='\\'))[0] else: # If there's quotes for the values, we have to handle this # ourselves. @@ -38,7 +38,7 @@ def split_on_commas(value): def _split_with_quotes(value): try: - parts = list(csv.reader(six.StringIO(value), escapechar='\\'))[0] + parts = list(csv.reader(StringIO(value), escapechar='\\'))[0] except csv.Error: raise ValueError("Bad csv value: %s" % value) iter_parts = iter(parts) @@ -88,7 +88,7 @@ def _eat_items(value, iter_parts, part, end_char, replace_char=''): chunks = [current.replace(replace_char, '')] while True: try: - current = six.advance_iterator(iter_parts) + current = next(iter_parts) except StopIteration: raise ValueError(value) chunks.append(current.replace(replace_char, '')) @@ -236,7 +236,7 @@ def _get_process_pager_kwargs(self, pager_cmd): def write_exception(ex, outfile): outfile.write("\n") - outfile.write(six.text_type(ex)) + outfile.write(str(ex)) outfile.write("\n") From f3eb7e7d47fd11f5cf65c331e4bf91a8d3e046e1 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 19 Jun 2024 18:10:30 +0000 Subject: [PATCH 0070/1087] Update changelog based on model updates --- .changes/next-release/api-change-artifact-36004.json | 5 +++++ .changes/next-release/api-change-athena-59812.json | 5 +++++ .changes/next-release/api-change-cur-90035.json | 5 +++++ .changes/next-release/api-change-directconnect-20044.json | 5 +++++ .../next-release/api-change-elastictranscoder-19380.json | 5 +++++ .changes/next-release/api-change-opensearch-74165.json | 5 +++++ 6 files changed, 30 insertions(+) create mode 100644 .changes/next-release/api-change-artifact-36004.json create mode 100644 .changes/next-release/api-change-athena-59812.json create mode 100644 .changes/next-release/api-change-cur-90035.json create mode 100644 .changes/next-release/api-change-directconnect-20044.json create mode 100644 .changes/next-release/api-change-elastictranscoder-19380.json create mode 100644 .changes/next-release/api-change-opensearch-74165.json diff --git a/.changes/next-release/api-change-artifact-36004.json b/.changes/next-release/api-change-artifact-36004.json new file mode 100644 index 000000000000..cd54684af14c --- /dev/null +++ b/.changes/next-release/api-change-artifact-36004.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``artifact``", + "description": "This release adds an acceptanceType field to the ReportSummary structure (used in the ListReports API response)." +} diff --git a/.changes/next-release/api-change-athena-59812.json b/.changes/next-release/api-change-athena-59812.json new file mode 100644 index 000000000000..cf4b1c003863 --- /dev/null +++ b/.changes/next-release/api-change-athena-59812.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``athena``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." +} diff --git a/.changes/next-release/api-change-cur-90035.json b/.changes/next-release/api-change-cur-90035.json new file mode 100644 index 000000000000..ab6d18636e8d --- /dev/null +++ b/.changes/next-release/api-change-cur-90035.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``cur``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." +} diff --git a/.changes/next-release/api-change-directconnect-20044.json b/.changes/next-release/api-change-directconnect-20044.json new file mode 100644 index 000000000000..22d219842083 --- /dev/null +++ b/.changes/next-release/api-change-directconnect-20044.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``directconnect``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." +} diff --git a/.changes/next-release/api-change-elastictranscoder-19380.json b/.changes/next-release/api-change-elastictranscoder-19380.json new file mode 100644 index 000000000000..77880a82e442 --- /dev/null +++ b/.changes/next-release/api-change-elastictranscoder-19380.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``elastictranscoder``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." +} diff --git a/.changes/next-release/api-change-opensearch-74165.json b/.changes/next-release/api-change-opensearch-74165.json new file mode 100644 index 000000000000..1fcf33400e3a --- /dev/null +++ b/.changes/next-release/api-change-opensearch-74165.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``opensearch``", + "description": "This release enables customers to use JSON Web Tokens (JWT) for authentication on their Amazon OpenSearch Service domains." +} From 9c1098fe0ecd5a48a7cd4b4eed0e88a9eb4c19d1 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 19 Jun 2024 18:11:41 +0000 Subject: [PATCH 0071/1087] Bumping version to 1.33.12 --- .changes/1.33.12.json | 32 +++++++++++++++++++ .../api-change-artifact-36004.json | 5 --- .../next-release/api-change-athena-59812.json | 5 --- .../next-release/api-change-cur-90035.json | 5 --- .../api-change-directconnect-20044.json | 5 --- .../api-change-elastictranscoder-19380.json | 5 --- .../api-change-opensearch-74165.json | 5 --- CHANGELOG.rst | 11 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 12 files changed, 47 insertions(+), 34 deletions(-) create mode 100644 .changes/1.33.12.json delete mode 100644 .changes/next-release/api-change-artifact-36004.json delete mode 100644 .changes/next-release/api-change-athena-59812.json delete mode 100644 .changes/next-release/api-change-cur-90035.json delete mode 100644 .changes/next-release/api-change-directconnect-20044.json delete mode 100644 .changes/next-release/api-change-elastictranscoder-19380.json delete mode 100644 .changes/next-release/api-change-opensearch-74165.json diff --git a/.changes/1.33.12.json b/.changes/1.33.12.json new file mode 100644 index 000000000000..4ca212f92a40 --- /dev/null +++ b/.changes/1.33.12.json @@ -0,0 +1,32 @@ +[ + { + "category": "``artifact``", + "description": "This release adds an acceptanceType field to the ReportSummary structure (used in the ListReports API response).", + "type": "api-change" + }, + { + "category": "``athena``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing.", + "type": "api-change" + }, + { + "category": "``cur``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing.", + "type": "api-change" + }, + { + "category": "``directconnect``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing.", + "type": "api-change" + }, + { + "category": "``elastictranscoder``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing.", + "type": "api-change" + }, + { + "category": "``opensearch``", + "description": "This release enables customers to use JSON Web Tokens (JWT) for authentication on their Amazon OpenSearch Service domains.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-artifact-36004.json b/.changes/next-release/api-change-artifact-36004.json deleted file mode 100644 index cd54684af14c..000000000000 --- a/.changes/next-release/api-change-artifact-36004.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``artifact``", - "description": "This release adds an acceptanceType field to the ReportSummary structure (used in the ListReports API response)." -} diff --git a/.changes/next-release/api-change-athena-59812.json b/.changes/next-release/api-change-athena-59812.json deleted file mode 100644 index cf4b1c003863..000000000000 --- a/.changes/next-release/api-change-athena-59812.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``athena``", - "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." -} diff --git a/.changes/next-release/api-change-cur-90035.json b/.changes/next-release/api-change-cur-90035.json deleted file mode 100644 index ab6d18636e8d..000000000000 --- a/.changes/next-release/api-change-cur-90035.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``cur``", - "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." -} diff --git a/.changes/next-release/api-change-directconnect-20044.json b/.changes/next-release/api-change-directconnect-20044.json deleted file mode 100644 index 22d219842083..000000000000 --- a/.changes/next-release/api-change-directconnect-20044.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``directconnect``", - "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." -} diff --git a/.changes/next-release/api-change-elastictranscoder-19380.json b/.changes/next-release/api-change-elastictranscoder-19380.json deleted file mode 100644 index 77880a82e442..000000000000 --- a/.changes/next-release/api-change-elastictranscoder-19380.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``elastictranscoder``", - "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." -} diff --git a/.changes/next-release/api-change-opensearch-74165.json b/.changes/next-release/api-change-opensearch-74165.json deleted file mode 100644 index 1fcf33400e3a..000000000000 --- a/.changes/next-release/api-change-opensearch-74165.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``opensearch``", - "description": "This release enables customers to use JSON Web Tokens (JWT) for authentication on their Amazon OpenSearch Service domains." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index f9f0b1977bce..403cadba6b1d 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,17 @@ CHANGELOG ========= +1.33.12 +======= + +* api-change:``artifact``: This release adds an acceptanceType field to the ReportSummary structure (used in the ListReports API response). +* api-change:``athena``: Add v2 smoke tests and smithy smokeTests trait for SDK testing. +* api-change:``cur``: Add v2 smoke tests and smithy smokeTests trait for SDK testing. +* api-change:``directconnect``: Add v2 smoke tests and smithy smokeTests trait for SDK testing. +* api-change:``elastictranscoder``: Add v2 smoke tests and smithy smokeTests trait for SDK testing. +* api-change:``opensearch``: This release enables customers to use JSON Web Tokens (JWT) for authentication on their Amazon OpenSearch Service domains. + + 1.33.11 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index d746da024c77..af56d7142a68 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -17,7 +17,7 @@ """ import os -__version__ = '1.33.11' +__version__ = '1.33.12' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 3be0ac3a2953..4d508ac32a67 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.33.' # The full version, including alpha/beta/rc tags. -release = '1.33.11' +release = '1.33.12' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 9b8fddaffded..3d5d66ece0f4 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.34.129 + botocore==1.34.130 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 45548e6ded07..79fb0cebb98b 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.34.129', + 'botocore==1.34.130', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From d196de54334977328eadd603c0cc3f81513a8912 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 20 Jun 2024 18:09:29 +0000 Subject: [PATCH 0072/1087] Update changelog based on model updates --- .changes/next-release/api-change-bedrockruntime-25810.json | 5 +++++ .changes/next-release/api-change-codeartifact-91444.json | 5 +++++ .changes/next-release/api-change-computeoptimizer-86558.json | 5 +++++ .../next-release/api-change-costoptimizationhub-68056.json | 5 +++++ .changes/next-release/api-change-dynamodb-37654.json | 5 +++++ .changes/next-release/api-change-glue-96765.json | 5 +++++ .changes/next-release/api-change-ivsrealtime-76748.json | 5 +++++ .changes/next-release/api-change-sagemaker-91870.json | 5 +++++ .changes/next-release/api-change-securityhub-36639.json | 5 +++++ 9 files changed, 45 insertions(+) create mode 100644 .changes/next-release/api-change-bedrockruntime-25810.json create mode 100644 .changes/next-release/api-change-codeartifact-91444.json create mode 100644 .changes/next-release/api-change-computeoptimizer-86558.json create mode 100644 .changes/next-release/api-change-costoptimizationhub-68056.json create mode 100644 .changes/next-release/api-change-dynamodb-37654.json create mode 100644 .changes/next-release/api-change-glue-96765.json create mode 100644 .changes/next-release/api-change-ivsrealtime-76748.json create mode 100644 .changes/next-release/api-change-sagemaker-91870.json create mode 100644 .changes/next-release/api-change-securityhub-36639.json diff --git a/.changes/next-release/api-change-bedrockruntime-25810.json b/.changes/next-release/api-change-bedrockruntime-25810.json new file mode 100644 index 000000000000..ba45d7c8f307 --- /dev/null +++ b/.changes/next-release/api-change-bedrockruntime-25810.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-runtime``", + "description": "This release adds document support to Converse and ConverseStream APIs" +} diff --git a/.changes/next-release/api-change-codeartifact-91444.json b/.changes/next-release/api-change-codeartifact-91444.json new file mode 100644 index 000000000000..1116f603b64e --- /dev/null +++ b/.changes/next-release/api-change-codeartifact-91444.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``codeartifact``", + "description": "Add support for the Cargo package format." +} diff --git a/.changes/next-release/api-change-computeoptimizer-86558.json b/.changes/next-release/api-change-computeoptimizer-86558.json new file mode 100644 index 000000000000..3d917c294147 --- /dev/null +++ b/.changes/next-release/api-change-computeoptimizer-86558.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``compute-optimizer``", + "description": "This release enables AWS Compute Optimizer to analyze and generate optimization recommendations for Amazon RDS MySQL and RDS PostgreSQL." +} diff --git a/.changes/next-release/api-change-costoptimizationhub-68056.json b/.changes/next-release/api-change-costoptimizationhub-68056.json new file mode 100644 index 000000000000..6ba04f5454a9 --- /dev/null +++ b/.changes/next-release/api-change-costoptimizationhub-68056.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``cost-optimization-hub``", + "description": "This release enables AWS Cost Optimization Hub to show cost optimization recommendations for Amazon RDS MySQL and RDS PostgreSQL." +} diff --git a/.changes/next-release/api-change-dynamodb-37654.json b/.changes/next-release/api-change-dynamodb-37654.json new file mode 100644 index 000000000000..60a52f69bcac --- /dev/null +++ b/.changes/next-release/api-change-dynamodb-37654.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``dynamodb``", + "description": "Doc-only update for DynamoDB. Fixed Important note in 6 Global table APIs - CreateGlobalTable, DescribeGlobalTable, DescribeGlobalTableSettings, ListGlobalTables, UpdateGlobalTable, and UpdateGlobalTableSettings." +} diff --git a/.changes/next-release/api-change-glue-96765.json b/.changes/next-release/api-change-glue-96765.json new file mode 100644 index 000000000000..ad0fc85c0159 --- /dev/null +++ b/.changes/next-release/api-change-glue-96765.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``glue``", + "description": "Fix Glue paginators for Jobs, JobRuns, Triggers, Blueprints and Workflows." +} diff --git a/.changes/next-release/api-change-ivsrealtime-76748.json b/.changes/next-release/api-change-ivsrealtime-76748.json new file mode 100644 index 000000000000..409bc56d637d --- /dev/null +++ b/.changes/next-release/api-change-ivsrealtime-76748.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ivs-realtime``", + "description": "IVS Real-Time now offers customers the ability to record individual stage participants to S3." +} diff --git a/.changes/next-release/api-change-sagemaker-91870.json b/.changes/next-release/api-change-sagemaker-91870.json new file mode 100644 index 000000000000..0b3bfe0cce6d --- /dev/null +++ b/.changes/next-release/api-change-sagemaker-91870.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``sagemaker``", + "description": "Adds support for model references in Hub service, and adds support for cross-account access of Hubs" +} diff --git a/.changes/next-release/api-change-securityhub-36639.json b/.changes/next-release/api-change-securityhub-36639.json new file mode 100644 index 000000000000..24ff2c5ba51f --- /dev/null +++ b/.changes/next-release/api-change-securityhub-36639.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``securityhub``", + "description": "Documentation updates for Security Hub" +} From 6633e866cd121af0a1a8d8a33e63696cf3389733 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 20 Jun 2024 18:10:39 +0000 Subject: [PATCH 0073/1087] Bumping version to 1.33.13 --- .changes/1.33.13.json | 47 +++++++++++++++++++ .../api-change-bedrockruntime-25810.json | 5 -- .../api-change-codeartifact-91444.json | 5 -- .../api-change-computeoptimizer-86558.json | 5 -- .../api-change-costoptimizationhub-68056.json | 5 -- .../api-change-dynamodb-37654.json | 5 -- .../next-release/api-change-glue-96765.json | 5 -- .../api-change-ivsrealtime-76748.json | 5 -- .../api-change-sagemaker-91870.json | 5 -- .../api-change-securityhub-36639.json | 5 -- CHANGELOG.rst | 14 ++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 15 files changed, 65 insertions(+), 49 deletions(-) create mode 100644 .changes/1.33.13.json delete mode 100644 .changes/next-release/api-change-bedrockruntime-25810.json delete mode 100644 .changes/next-release/api-change-codeartifact-91444.json delete mode 100644 .changes/next-release/api-change-computeoptimizer-86558.json delete mode 100644 .changes/next-release/api-change-costoptimizationhub-68056.json delete mode 100644 .changes/next-release/api-change-dynamodb-37654.json delete mode 100644 .changes/next-release/api-change-glue-96765.json delete mode 100644 .changes/next-release/api-change-ivsrealtime-76748.json delete mode 100644 .changes/next-release/api-change-sagemaker-91870.json delete mode 100644 .changes/next-release/api-change-securityhub-36639.json diff --git a/.changes/1.33.13.json b/.changes/1.33.13.json new file mode 100644 index 000000000000..bb7c0df1ae24 --- /dev/null +++ b/.changes/1.33.13.json @@ -0,0 +1,47 @@ +[ + { + "category": "``bedrock-runtime``", + "description": "This release adds document support to Converse and ConverseStream APIs", + "type": "api-change" + }, + { + "category": "``codeartifact``", + "description": "Add support for the Cargo package format.", + "type": "api-change" + }, + { + "category": "``compute-optimizer``", + "description": "This release enables AWS Compute Optimizer to analyze and generate optimization recommendations for Amazon RDS MySQL and RDS PostgreSQL.", + "type": "api-change" + }, + { + "category": "``cost-optimization-hub``", + "description": "This release enables AWS Cost Optimization Hub to show cost optimization recommendations for Amazon RDS MySQL and RDS PostgreSQL.", + "type": "api-change" + }, + { + "category": "``dynamodb``", + "description": "Doc-only update for DynamoDB. Fixed Important note in 6 Global table APIs - CreateGlobalTable, DescribeGlobalTable, DescribeGlobalTableSettings, ListGlobalTables, UpdateGlobalTable, and UpdateGlobalTableSettings.", + "type": "api-change" + }, + { + "category": "``glue``", + "description": "Fix Glue paginators for Jobs, JobRuns, Triggers, Blueprints and Workflows.", + "type": "api-change" + }, + { + "category": "``ivs-realtime``", + "description": "IVS Real-Time now offers customers the ability to record individual stage participants to S3.", + "type": "api-change" + }, + { + "category": "``sagemaker``", + "description": "Adds support for model references in Hub service, and adds support for cross-account access of Hubs", + "type": "api-change" + }, + { + "category": "``securityhub``", + "description": "Documentation updates for Security Hub", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-bedrockruntime-25810.json b/.changes/next-release/api-change-bedrockruntime-25810.json deleted file mode 100644 index ba45d7c8f307..000000000000 --- a/.changes/next-release/api-change-bedrockruntime-25810.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-runtime``", - "description": "This release adds document support to Converse and ConverseStream APIs" -} diff --git a/.changes/next-release/api-change-codeartifact-91444.json b/.changes/next-release/api-change-codeartifact-91444.json deleted file mode 100644 index 1116f603b64e..000000000000 --- a/.changes/next-release/api-change-codeartifact-91444.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``codeartifact``", - "description": "Add support for the Cargo package format." -} diff --git a/.changes/next-release/api-change-computeoptimizer-86558.json b/.changes/next-release/api-change-computeoptimizer-86558.json deleted file mode 100644 index 3d917c294147..000000000000 --- a/.changes/next-release/api-change-computeoptimizer-86558.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``compute-optimizer``", - "description": "This release enables AWS Compute Optimizer to analyze and generate optimization recommendations for Amazon RDS MySQL and RDS PostgreSQL." -} diff --git a/.changes/next-release/api-change-costoptimizationhub-68056.json b/.changes/next-release/api-change-costoptimizationhub-68056.json deleted file mode 100644 index 6ba04f5454a9..000000000000 --- a/.changes/next-release/api-change-costoptimizationhub-68056.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``cost-optimization-hub``", - "description": "This release enables AWS Cost Optimization Hub to show cost optimization recommendations for Amazon RDS MySQL and RDS PostgreSQL." -} diff --git a/.changes/next-release/api-change-dynamodb-37654.json b/.changes/next-release/api-change-dynamodb-37654.json deleted file mode 100644 index 60a52f69bcac..000000000000 --- a/.changes/next-release/api-change-dynamodb-37654.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``dynamodb``", - "description": "Doc-only update for DynamoDB. Fixed Important note in 6 Global table APIs - CreateGlobalTable, DescribeGlobalTable, DescribeGlobalTableSettings, ListGlobalTables, UpdateGlobalTable, and UpdateGlobalTableSettings." -} diff --git a/.changes/next-release/api-change-glue-96765.json b/.changes/next-release/api-change-glue-96765.json deleted file mode 100644 index ad0fc85c0159..000000000000 --- a/.changes/next-release/api-change-glue-96765.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``glue``", - "description": "Fix Glue paginators for Jobs, JobRuns, Triggers, Blueprints and Workflows." -} diff --git a/.changes/next-release/api-change-ivsrealtime-76748.json b/.changes/next-release/api-change-ivsrealtime-76748.json deleted file mode 100644 index 409bc56d637d..000000000000 --- a/.changes/next-release/api-change-ivsrealtime-76748.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ivs-realtime``", - "description": "IVS Real-Time now offers customers the ability to record individual stage participants to S3." -} diff --git a/.changes/next-release/api-change-sagemaker-91870.json b/.changes/next-release/api-change-sagemaker-91870.json deleted file mode 100644 index 0b3bfe0cce6d..000000000000 --- a/.changes/next-release/api-change-sagemaker-91870.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``sagemaker``", - "description": "Adds support for model references in Hub service, and adds support for cross-account access of Hubs" -} diff --git a/.changes/next-release/api-change-securityhub-36639.json b/.changes/next-release/api-change-securityhub-36639.json deleted file mode 100644 index 24ff2c5ba51f..000000000000 --- a/.changes/next-release/api-change-securityhub-36639.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``securityhub``", - "description": "Documentation updates for Security Hub" -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 403cadba6b1d..a0251172952b 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,20 @@ CHANGELOG ========= +1.33.13 +======= + +* api-change:``bedrock-runtime``: This release adds document support to Converse and ConverseStream APIs +* api-change:``codeartifact``: Add support for the Cargo package format. +* api-change:``compute-optimizer``: This release enables AWS Compute Optimizer to analyze and generate optimization recommendations for Amazon RDS MySQL and RDS PostgreSQL. +* api-change:``cost-optimization-hub``: This release enables AWS Cost Optimization Hub to show cost optimization recommendations for Amazon RDS MySQL and RDS PostgreSQL. +* api-change:``dynamodb``: Doc-only update for DynamoDB. Fixed Important note in 6 Global table APIs - CreateGlobalTable, DescribeGlobalTable, DescribeGlobalTableSettings, ListGlobalTables, UpdateGlobalTable, and UpdateGlobalTableSettings. +* api-change:``glue``: Fix Glue paginators for Jobs, JobRuns, Triggers, Blueprints and Workflows. +* api-change:``ivs-realtime``: IVS Real-Time now offers customers the ability to record individual stage participants to S3. +* api-change:``sagemaker``: Adds support for model references in Hub service, and adds support for cross-account access of Hubs +* api-change:``securityhub``: Documentation updates for Security Hub + + 1.33.12 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index af56d7142a68..4aa84289f240 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -17,7 +17,7 @@ """ import os -__version__ = '1.33.12' +__version__ = '1.33.13' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 4d508ac32a67..54c9acba4551 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.33.' # The full version, including alpha/beta/rc tags. -release = '1.33.12' +release = '1.33.13' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 3d5d66ece0f4..f51d45633514 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.34.130 + botocore==1.34.131 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 79fb0cebb98b..c2821fa367dd 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.34.130', + 'botocore==1.34.131', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From d8eec1b7e3cdfc55142eb3e6f9f4dc16f36a1745 Mon Sep 17 00:00:00 2001 From: Nate Prewitt Date: Wed, 19 Jun 2024 11:49:18 -0700 Subject: [PATCH 0074/1087] Remove six from tests --- .../functional/cloudtrail/test_validation.py | 18 ++++++------- tests/functional/docs/test_help_output.py | 4 +-- tests/functional/ec2/test_bundle_instance.py | 8 +++--- tests/functional/ec2/test_create_tags.py | 15 ----------- .../test_create_application.py | 19 -------------- .../gamelift/test_get_game_session_log.py | 4 +-- .../rds/test_generate_db_auth_token.py | 3 +-- tests/functional/s3/__init__.py | 4 +-- tests/functional/s3/test_cp_command.py | 14 +++++------ tests/functional/s3/test_mv_command.py | 4 +-- tests/functional/s3/test_sync_command.py | 6 ++--- tests/functional/s3api/test_get_object.py | 5 ++-- .../s3api/test_put_bucket_tagging.py | 1 - tests/functional/s3api/test_put_object.py | 1 - tests/functional/ses/test_send_email.py | 3 --- tests/functional/test_preview.py | 5 ++-- tests/functional/test_streaming_output.py | 4 +-- .../customizations/s3/test_plugin.py | 18 ++++++------- .../customizations/test_codecommit.py | 2 +- .../customizations/cloudformation/__init__.py | 6 ++--- .../cloudformation/test_deploy.py | 1 - .../cloudtrail/test_subscribe.py | 4 +-- .../cloudtrail/test_validation.py | 16 ++++++------ .../customizations/codedeploy/test_push.py | 3 +-- .../configservice/test_getstatus.py | 23 ++++++++--------- .../configure/test_configure.py | 4 +-- .../unit/customizations/configure/test_get.py | 6 ++--- .../customizations/configure/test_list.py | 12 ++++----- .../datapipeline/test_listrunsformatter.py | 4 +-- .../customizations/gamelift/test_getlog.py | 4 +-- .../gamelift/test_uploadbuild.py | 8 +++--- tests/unit/customizations/s3/__init__.py | 6 ++--- .../customizations/s3/test_filegenerator.py | 15 ++++++----- .../customizations/s3/test_transferconfig.py | 5 ++-- tests/unit/customizations/test_codecommit.py | 2 +- .../test_generatecliskeleton.py | 11 ++++---- tests/unit/customizations/test_globalargs.py | 3 +-- tests/unit/output/test_json_output.py | 7 +++--- tests/unit/output/test_table_formatter.py | 4 +-- tests/unit/output/test_text_output.py | 23 +---------------- tests/unit/test_clidriver.py | 25 ++++++++----------- tests/unit/test_compat.py | 10 +++----- tests/unit/test_help.py | 6 ++--- tests/unit/test_paramfile.py | 5 ++-- tests/unit/test_text.py | 4 +-- 45 files changed, 136 insertions(+), 219 deletions(-) diff --git a/tests/functional/cloudtrail/test_validation.py b/tests/functional/cloudtrail/test_validation.py index 906d6eb0a664..275cdbca384d 100644 --- a/tests/functional/cloudtrail/test_validation.py +++ b/tests/functional/cloudtrail/test_validation.py @@ -12,7 +12,6 @@ # language governing permissions and limitations under the License. import gzip -from awscli.compat import six from botocore.exceptions import ClientError from tests.unit.customizations.cloudtrail.test_validation import \ create_scenario, TEST_TRAIL_ARN, START_DATE, END_DATE, VALID_TEST_KEY, \ @@ -20,6 +19,7 @@ from awscli.testutils import mock, BaseAWSCommandParamsTest from awscli.customizations.cloudtrail.validation import DigestTraverser, \ DATE_FORMAT, format_display_date, S3ClientProvider +from awscli.compat import BytesIO from botocore.handlers import parse_get_bucket_location RETRIEVER_FUNCTION = 'awscli.customizations.cloudtrail.validation.create_digest_traverser' @@ -28,7 +28,7 @@ def _gz_compress(data): - out = six.BytesIO() + out = BytesIO() f = gzip.GzipFile(fileobj=out, mode="wb") f.write(data.encode()) f.close() @@ -96,7 +96,7 @@ def tearDown(self): def test_verbose_output_shows_happy_case(self): self.parsed_responses = [ {'LocationConstraint': 'us-east-1'}, - {'Body': six.BytesIO(_gz_compress(self._logs[0]['_raw_value']))} + {'Body': BytesIO(_gz_compress(self._logs[0]['_raw_value']))} ] key_provider, digest_provider, validator = create_scenario( ['gap', 'link'], [[], [self._logs[0]]]) @@ -226,7 +226,7 @@ def test_fails_and_warns_when_log_hash_is_invalid(self): ['gap'], [[self._logs[0]]]) self.parsed_responses = [ {'LocationConstraint': ''}, - {'Body': six.BytesIO(_gz_compress('does not match'))} + {'Body': BytesIO(_gz_compress('does not match'))} ] _setup_mock_traverser(self._mock_traverser, key_provider, digest_provider, validator) @@ -242,9 +242,9 @@ def test_validates_valid_log_files(self): [[self._logs[2]], [], [self._logs[0], self._logs[1]]]) self.parsed_responses = [ {'LocationConstraint': ''}, - {'Body': six.BytesIO(_gz_compress(self._logs[0]['_raw_value']))}, - {'Body': six.BytesIO(_gz_compress(self._logs[1]['_raw_value']))}, - {'Body': six.BytesIO(_gz_compress(self._logs[2]['_raw_value']))}, + {'Body': BytesIO(_gz_compress(self._logs[0]['_raw_value']))}, + {'Body': BytesIO(_gz_compress(self._logs[1]['_raw_value']))}, + {'Body': BytesIO(_gz_compress(self._logs[2]['_raw_value']))}, ] _setup_mock_traverser(self._mock_traverser, key_provider, digest_provider, validator) @@ -301,7 +301,7 @@ def test_fails_when_digest_metadata_is_missing(self): self.parsed_responses = [ {'LocationConstraint': ''}, {'Contents': [{'Key': key}]}, - {'Body': six.BytesIO(_gz_compress(self._logs[0]['_raw_value'])), + {'Body': BytesIO(_gz_compress(self._logs[0]['_raw_value'])), 'Metadata': {}}, ] s3_client_provider = S3ClientProvider(self.driver.session, 'us-east-1') @@ -323,7 +323,7 @@ def test_fails_when_digest_metadata_is_missing(self): def test_follows_trails_when_bucket_changes(self): self.parsed_responses = [ {'LocationConstraint': 'us-east-1'}, - {'Body': six.BytesIO(_gz_compress(self._logs[0]['_raw_value']))}, + {'Body': BytesIO(_gz_compress(self._logs[0]['_raw_value']))}, {'LocationConstraint': 'us-west-2'}, {'LocationConstraint': 'eu-west-1'} ] diff --git a/tests/functional/docs/test_help_output.py b/tests/functional/docs/test_help_output.py index b9025c302e81..26cc751201f7 100644 --- a/tests/functional/docs/test_help_output.py +++ b/tests/functional/docs/test_help_output.py @@ -25,8 +25,8 @@ from awscli.testutils import FileCreator from awscli.testutils import mock from awscli.testutils import aws +from awscli.compat import StringIO -from awscli.compat import six from awscli.alias import AliasLoader @@ -204,7 +204,7 @@ def assert_command_does_not_exist(self, service, command): # command verify that we get a SystemExit exception # and that we get something in stderr that says that # we made an invalid choice (because the operation is removed). - stderr = six.StringIO() + stderr = StringIO() with mock.patch('sys.stderr', stderr): with self.assertRaises(SystemExit): self.driver.main([service, command, 'help']) diff --git a/tests/functional/ec2/test_bundle_instance.py b/tests/functional/ec2/test_bundle_instance.py index ad99990977a1..432640cacc25 100644 --- a/tests/functional/ec2/test_bundle_instance.py +++ b/tests/functional/ec2/test_bundle_instance.py @@ -14,11 +14,9 @@ import base64 import datetime -from six.moves import cStringIO - import awscli.customizations.ec2.bundleinstance -from awscli.compat import six from awscli.testutils import mock, BaseAWSCommandParamsTest +from awscli.compat import StringIO class TestBundleInstance(BaseAWSCommandParamsTest): @@ -69,7 +67,7 @@ def test_no_policy_provided(self): def test_policy_provided(self): policy = '{"notarealpolicy":true}' - base64policy = base64.encodebytes(six.b(policy)).strip().decode('utf-8') + base64policy = base64.encodebytes(policy.encode('latin-1')).strip().decode('utf-8') policy_signature = 'a5SmoLOxoM0MHpOdC25nE7KIafg=' args = ' --instance-id i-12345678 --owner-akid AKIAIOSFODNN7EXAMPLE' args += ' --owner-sak wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY' @@ -88,7 +86,7 @@ def test_policy_provided(self): self.assert_params_for_cmd(args_list, result) def test_both(self): - captured = cStringIO() + captured = StringIO() json = """{"S3":{"Bucket":"foobar","Prefix":"fiebaz"}}""" args = ' --instance-id i-12345678 --owner-aki blah --owner-sak blah --storage %s' % json args_list = (self.prefix + args).split() diff --git a/tests/functional/ec2/test_create_tags.py b/tests/functional/ec2/test_create_tags.py index ba254f770a21..3ac64916b6e8 100644 --- a/tests/functional/ec2/test_create_tags.py +++ b/tests/functional/ec2/test_create_tags.py @@ -13,7 +13,6 @@ # language governing permissions and limitations under the License. import sys -from awscli.compat import six from awscli.testutils import unittest from awscli.testutils import BaseAWSCommandParamsTest @@ -29,17 +28,3 @@ def test_create_tag_normal(self): 'Resources': ['i-12345678'], 'Tags': [{'Key': 'Name', 'Value': 'bar'}]} self.assert_params_for_cmd(cmdline, result) - - @unittest.skipIf( - six.PY3, 'Unicode cmd line test only is relevant to python2.') - def test_create_tag_unicode(self): - cmdline = self.prefix - cmdline += u' --resources i-12345678 --tags Key=Name,Value=\u6211' - encoding = getattr(sys.stdin, 'encoding', 'utf-8') - if encoding is None: - encoding = 'utf-8' - cmdline = cmdline.encode(encoding) - result = { - 'Resources': ['i-12345678'], - 'Tags': [{'Key': 'Name', 'Value': u'\u6211'}]} - self.assert_params_for_cmd(cmdline, result) diff --git a/tests/functional/elasticbeanstalk/test_create_application.py b/tests/functional/elasticbeanstalk/test_create_application.py index b5e9a779164d..df9b7cd05a8b 100644 --- a/tests/functional/elasticbeanstalk/test_create_application.py +++ b/tests/functional/elasticbeanstalk/test_create_application.py @@ -13,7 +13,6 @@ # language governing permissions and limitations under the License. from awscli.testutils import BaseAWSCommandParamsTest, unittest import sys -from awscli.compat import six class TestUpdateConfigurationTemplate(BaseAWSCommandParamsTest): @@ -25,21 +24,3 @@ def test_ascii(self): cmdline += ' --application-name FooBar' result = {'ApplicationName': 'FooBar',} self.assert_params_for_cmd(cmdline, result) - - @unittest.skipIf( - six.PY3, 'Unicode cmd line test only is relevant to python2.') - def test_py2_bytestring_unicode(self): - # In Python2, sys.argv is a list of bytestrings that are encoded - # in whatever encoding the terminal uses. We have an extra step - # where we need to decode the bytestring into unicode. In - # python3, sys.argv is a list of unicode objects so this test - # doesn't make sense for python3. - cmdline = self.prefix - app_name = u'\u2713' - cmdline += u' --application-name %s' % app_name - encoding = getattr(sys.stdin, 'encoding') - if encoding is None: - encoding = 'utf-8' - cmdline = cmdline.encode(encoding) - result = {'ApplicationName': u'\u2713',} - self.assert_params_for_cmd(cmdline, result) diff --git a/tests/functional/gamelift/test_get_game_session_log.py b/tests/functional/gamelift/test_get_game_session_log.py index b03c17faa000..0f6982c07d3a 100644 --- a/tests/functional/gamelift/test_get_game_session_log.py +++ b/tests/functional/gamelift/test_get_game_session_log.py @@ -13,7 +13,7 @@ import os from awscli.testutils import BaseAWSCommandParamsTest, FileCreator, mock -from awscli.compat import six +from awscli.compat import BytesIO class TestGetGameSessionLog(BaseAWSCommandParamsTest): @@ -28,7 +28,7 @@ def setUp(self): 'awscli.customizations.gamelift.getlog.urlopen') self.contents = b'My Contents' self.urlopen_mock = self.urlopen_patch.start() - self.urlopen_mock.return_value = six.BytesIO(self.contents) + self.urlopen_mock.return_value = BytesIO(self.contents) def tearDown(self): super(TestGetGameSessionLog, self).tearDown() diff --git a/tests/functional/rds/test_generate_db_auth_token.py b/tests/functional/rds/test_generate_db_auth_token.py index 5d50f291405f..79634ed083c7 100644 --- a/tests/functional/rds/test_generate_db_auth_token.py +++ b/tests/functional/rds/test_generate_db_auth_token.py @@ -15,7 +15,6 @@ from dateutil.tz import tzutc from botocore.compat import urlparse, parse_qs -from awscli.compat import six from awscli.testutils import mock, BaseAWSCommandParamsTest @@ -24,7 +23,7 @@ class TestGenerateDBAuthToken(BaseAWSCommandParamsTest): prefix = 'rds generate-db-auth-token' def _urlparse(self, url): - if isinstance(url, six.binary_type): + if isinstance(url, bytes): # Not really necessary, but it helps to reduce noise on Python 2.x url = url.decode('utf8') return urlparse(url) diff --git a/tests/functional/s3/__init__.py b/tests/functional/s3/__init__.py index 42b943126726..8fe4c6a65006 100644 --- a/tests/functional/s3/__init__.py +++ b/tests/functional/s3/__init__.py @@ -11,7 +11,7 @@ # ANY KIND, either express or implied. See the License for the specific # language governing permissions and limitations under the License. from awscli.testutils import mock, BaseAWSCommandParamsTest, FileCreator -from awscli.compat import six +from awscli.compat import BytesIO class BaseS3TransferCommandTest(BaseAWSCommandParamsTest): def setUp(self): @@ -57,7 +57,7 @@ def list_objects_response(self, keys): def get_object_response(self): return { 'ETag': '"foo-1"', - 'Body': six.BytesIO(b'foo') + 'Body': BytesIO(b'foo') } def copy_object_response(self): diff --git a/tests/functional/s3/test_cp_command.py b/tests/functional/s3/test_cp_command.py index 4300a32a4a2e..441689da3774 100644 --- a/tests/functional/s3/test_cp_command.py +++ b/tests/functional/s3/test_cp_command.py @@ -16,12 +16,12 @@ from awscli.testutils import BaseAWSCommandParamsTest from awscli.testutils import capture_input from awscli.testutils import mock -from awscli.compat import six +from awscli.compat import BytesIO from tests.functional.s3 import BaseS3TransferCommandTest from tests import requires_crt -class BufferedBytesIO(six.BytesIO): +class BufferedBytesIO(BytesIO): @property def buffer(self): return self @@ -178,7 +178,7 @@ def test_upload_deep_archive(self): def test_operations_used_in_download_file(self): self.parsed_responses = [ {"ContentLength": "100", "LastModified": "00:00:00Z"}, - {'ETag': '"foo-1"', 'Body': six.BytesIO(b'foo')}, + {'ETag': '"foo-1"', 'Body': BytesIO(b'foo')}, ] cmdline = '%s s3://bucket/key.txt %s' % (self.prefix, self.files.rootdir) @@ -306,7 +306,7 @@ def test_cp_fails_with_utime_errors_but_continues(self): cmdline = '%s s3://bucket/key.txt %s' % (self.prefix, full_path) self.parsed_responses = [ {"ContentLength": "100", "LastModified": "00:00:00Z"}, - {'ETag': '"foo-1"', 'Body': six.BytesIO(b'foo')} + {'ETag': '"foo-1"', 'Body': BytesIO(b'foo')} ] with mock.patch('os.utime') as mock_utime: mock_utime.side_effect = OSError(1, '') @@ -324,7 +324,7 @@ def test_recursive_glacier_download_with_force_glacier(self): ], 'CommonPrefixes': [] }, - {'ETag': '"foo-1"', 'Body': six.BytesIO(b'foo')}, + {'ETag': '"foo-1"', 'Body': BytesIO(b'foo')}, ] cmdline = '%s s3://bucket/foo %s --recursive --force-glacier-transfer'\ % (self.prefix, self.files.rootdir) @@ -512,7 +512,7 @@ def test_cp_with_sse_c_copy_source_fileb(self): "ContentLength": 4, "ETag": '"d3b07384d113edec49eaa6238ad5ff00"', "LastModified": "Tue, 12 Jul 2016 21:26:07 GMT", - "Body": six.BytesIO(b'foo\n') + "Body": BytesIO(b'foo\n') }, {} ] @@ -790,7 +790,7 @@ def test_streaming_download(self): "ContentLength": 4, "ETag": '"d3b07384d113edec49eaa6238ad5ff00"', "LastModified": "Tue, 12 Jul 2016 21:26:07 GMT", - "Body": six.BytesIO(b'foo\n') + "Body": BytesIO(b'foo\n') } ] diff --git a/tests/functional/s3/test_mv_command.py b/tests/functional/s3/test_mv_command.py index 49af07994395..da8637dff8b3 100644 --- a/tests/functional/s3/test_mv_command.py +++ b/tests/functional/s3/test_mv_command.py @@ -11,8 +11,8 @@ # distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF # ANY KIND, either express or implied. See the License for the specific # language governing permissions and limitations under the License. -from awscli.compat import six from awscli.customizations.s3.utils import S3PathResolver +from awscli.compat import BytesIO from tests.functional.s3 import BaseS3TransferCommandTest from tests import requires_crt @@ -83,7 +83,7 @@ def test_download_move_with_request_payer(self): # Response for HeadObject {"ContentLength": 100, "LastModified": "00:00:00Z"}, # Response for GetObject - {'ETag': '"foo-1"', 'Body': six.BytesIO(b'foo')}, + {'ETag': '"foo-1"', 'Body': BytesIO(b'foo')}, # Response for DeleteObject {} ] diff --git a/tests/functional/s3/test_sync_command.py b/tests/functional/s3/test_sync_command.py index 86b7351e8055..2e94f30986d2 100644 --- a/tests/functional/s3/test_sync_command.py +++ b/tests/functional/s3/test_sync_command.py @@ -12,8 +12,8 @@ # language governing permissions and limitations under the License. import os -from awscli.compat import six from awscli.testutils import mock, cd +from awscli.compat import BytesIO from tests.functional.s3 import BaseS3TransferCommandTest @@ -65,7 +65,7 @@ def test_sync_to_non_existant_directory(self): {"Key": key, "Size": 3, "LastModified": "2014-01-09T20:45:49.000Z"}]}, {'ETag': '"c8afdb36c52cf4727836669019e69222-"', - 'Body': six.BytesIO(b'foo')} + 'Body': BytesIO(b'foo')} ] self.run_cmd(cmdline, expected_rc=0) # Make sure the file now exists. @@ -83,7 +83,7 @@ def test_glacier_sync_with_force_glacier(self): ], 'CommonPrefixes': [] }, - {'ETag': '"foo-1"', 'Body': six.BytesIO(b'foo')}, + {'ETag': '"foo-1"', 'Body': BytesIO(b'foo')}, ] cmdline = '%s s3://bucket/foo %s --force-glacier-transfer' % ( self.prefix, self.files.rootdir) diff --git a/tests/functional/s3api/test_get_object.py b/tests/functional/s3api/test_get_object.py index c23f72cd2218..ec32015254d9 100644 --- a/tests/functional/s3api/test_get_object.py +++ b/tests/functional/s3api/test_get_object.py @@ -12,11 +12,10 @@ # ANY KIND, either express or implied. See the License for the specific # language governing permissions and limitations under the License. from awscli.testutils import BaseAWSCommandParamsTest +from awscli.compat import StringIO import os import re -from awscli.compat import six - import awscli.clidriver @@ -26,7 +25,7 @@ class TestGetObject(BaseAWSCommandParamsTest): def setUp(self): super(TestGetObject, self).setUp() - self.parsed_response = {'Body': six.StringIO()} + self.parsed_response = {'Body': StringIO()} def remove_file_if_exists(self, filename): if os.path.isfile(filename): diff --git a/tests/functional/s3api/test_put_bucket_tagging.py b/tests/functional/s3api/test_put_bucket_tagging.py index 7bde081c93af..92ce5b874290 100644 --- a/tests/functional/s3api/test_put_bucket_tagging.py +++ b/tests/functional/s3api/test_put_bucket_tagging.py @@ -15,7 +15,6 @@ import copy from awscli.testutils import BaseAWSCommandParamsTest -from awscli.compat import six # file is gone in python3, so instead IOBase must be used. diff --git a/tests/functional/s3api/test_put_object.py b/tests/functional/s3api/test_put_object.py index c60a0627a20a..2bc37f9cc1e6 100644 --- a/tests/functional/s3api/test_put_object.py +++ b/tests/functional/s3api/test_put_object.py @@ -16,7 +16,6 @@ import copy from awscli.testutils import BaseAWSCommandParamsTest, FileCreator -from awscli.compat import six import awscli.clidriver diff --git a/tests/functional/ses/test_send_email.py b/tests/functional/ses/test_send_email.py index 9c449291fa4d..90d18960d0a5 100644 --- a/tests/functional/ses/test_send_email.py +++ b/tests/functional/ses/test_send_email.py @@ -13,9 +13,6 @@ # language governing permissions and limitations under the License. from awscli.testutils import BaseAWSCommandParamsTest -from awscli.compat import six -from six.moves import cStringIO - class TestSendEmail(BaseAWSCommandParamsTest): diff --git a/tests/functional/test_preview.py b/tests/functional/test_preview.py index eca12322587b..6630cce426b2 100644 --- a/tests/functional/test_preview.py +++ b/tests/functional/test_preview.py @@ -10,9 +10,8 @@ # distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF # ANY KIND, either express or implied. See the License for the specific # language governing permissions and limitations under the License. -from awscli.compat import six - from awscli.customizations import preview +from awscli.compat import StringIO from awscli.testutils import mock, BaseAWSCommandParamsTest @@ -20,7 +19,7 @@ class TestPreviewMode(BaseAWSCommandParamsTest): def setUp(self): super(TestPreviewMode, self).setUp() - self.stderr = six.StringIO() + self.stderr = StringIO() self.stderr_patch = mock.patch('sys.stderr', self.stderr) self.stderr_patch.start() self.full_config = {'profiles': {}} diff --git a/tests/functional/test_streaming_output.py b/tests/functional/test_streaming_output.py index 1a6ce849484a..75e6db05142c 100644 --- a/tests/functional/test_streaming_output.py +++ b/tests/functional/test_streaming_output.py @@ -11,7 +11,7 @@ # distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF # ANY KIND, either express or implied. See the License for the specific # language governing permissions and limitations under the License. -from awscli.compat import six +from awscli.compat import BytesIO from awscli.testutils import BaseAWSCommandParamsTest from awscli.testutils import FileCreator @@ -33,7 +33,7 @@ def test_get_media_streaming_output(self): ) self.parsed_response = { 'ContentType': 'video/webm', - 'Payload': six.BytesIO(b'testbody') + 'Payload': BytesIO(b'testbody') } outpath = self.files.full_path('outfile') params = { diff --git a/tests/integration/customizations/s3/test_plugin.py b/tests/integration/customizations/s3/test_plugin.py index 0f05c232053f..6968b1702600 100644 --- a/tests/integration/customizations/s3/test_plugin.py +++ b/tests/integration/customizations/s3/test_plugin.py @@ -30,7 +30,7 @@ import pytest -from awscli.compat import six, urlopen +from awscli.compat import BytesIO, urlopen import botocore.session from awscli.testutils import unittest, get_stdout_encoding @@ -188,7 +188,7 @@ def test_mv_s3_to_s3(self): def test_mv_s3_to_s3_multipart(self): from_bucket = _SHARED_BUCKET to_bucket = self.create_bucket() - file_contents = six.BytesIO(b'abcd' * (1024 * 1024 * 10)) + file_contents = BytesIO(b'abcd' * (1024 * 1024 * 10)) self.put_object(from_bucket, 'foo.txt', file_contents) p = aws('s3 mv s3://%s/foo.txt s3://%s/foo.txt' % (from_bucket, @@ -202,7 +202,7 @@ def test_mv_s3_to_s3_multipart_recursive(self): from_bucket = _SHARED_BUCKET to_bucket = self.create_bucket() - large_file_contents = six.BytesIO(b'abcd' * (1024 * 1024 * 10)) + large_file_contents = BytesIO(b'abcd' * (1024 * 1024 * 10)) small_file_contents = 'small file contents' self.put_object(from_bucket, 'largefile', large_file_contents) self.put_object(from_bucket, 'smallfile', small_file_contents) @@ -250,7 +250,7 @@ def test_mv_s3_to_s3_with_sig4(self): def test_mv_with_large_file(self): bucket_name = _SHARED_BUCKET # 40MB will force a multipart upload. - file_contents = six.BytesIO(b'abcd' * (1024 * 1024 * 10)) + file_contents = BytesIO(b'abcd' * (1024 * 1024 * 10)) foo_txt = self.files.create_file( 'foo.txt', file_contents.getvalue().decode('utf-8')) p = aws('s3 mv %s s3://%s/foo.txt' % (foo_txt, bucket_name)) @@ -287,7 +287,7 @@ def test_cant_move_large_file_onto_itself(self): # but a mv command doesn't make sense because a mv is just a # cp + an rm of the src file. We should be consistent and # not allow large files to be mv'd onto themselves. - file_contents = six.BytesIO(b'a' * (1024 * 1024 * 10)) + file_contents = BytesIO(b'a' * (1024 * 1024 * 10)) bucket_name = _SHARED_BUCKET self.put_object(bucket_name, key_name='key.txt', contents=file_contents) @@ -382,7 +382,7 @@ def test_cp_without_trailing_slash(self): def test_cp_s3_s3_multipart(self): from_bucket = _SHARED_BUCKET to_bucket = self.create_bucket() - file_contents = six.BytesIO(b'abcd' * (1024 * 1024 * 10)) + file_contents = BytesIO(b'abcd' * (1024 * 1024 * 10)) self.put_object(from_bucket, 'foo.txt', file_contents) p = aws('s3 cp s3://%s/foo.txt s3://%s/foo.txt' % @@ -407,7 +407,7 @@ def test_guess_mime_type(self): def test_download_large_file(self): # This will force a multipart download. bucket_name = _SHARED_BUCKET - foo_contents = six.BytesIO(b'abcd' * (1024 * 1024 * 10)) + foo_contents = BytesIO(b'abcd' * (1024 * 1024 * 10)) self.put_object(bucket_name, key_name='foo.txt', contents=foo_contents) local_foo_txt = self.files.full_path('foo.txt') @@ -420,7 +420,7 @@ def test_download_large_file(self): @skip_if_windows('SIGINT not supported on Windows.') def test_download_ctrl_c_does_not_hang(self): bucket_name = _SHARED_BUCKET - foo_contents = six.BytesIO(b'abcd' * (1024 * 1024 * 40)) + foo_contents = BytesIO(b'abcd' * (1024 * 1024 * 40)) self.put_object(bucket_name, key_name='foo.txt', contents=foo_contents) local_foo_txt = self.files.full_path('foo.txt') @@ -993,7 +993,7 @@ def test_no_write_access_large_file(self): # which effectively disables the expect 100 continue logic. # This will result in a test error because we won't follow # the temporary redirect for the newly created bucket. - contents = six.BytesIO(b'a' * 10 * 1024 * 1024) + contents = BytesIO(b'a' * 10 * 1024 * 1024) self.put_object(bucket_name, 'foo.txt', contents=contents) os.chmod(self.files.rootdir, 0o444) diff --git a/tests/integration/customizations/test_codecommit.py b/tests/integration/customizations/test_codecommit.py index 16592960e7f1..781c8b650946 100644 --- a/tests/integration/customizations/test_codecommit.py +++ b/tests/integration/customizations/test_codecommit.py @@ -16,7 +16,7 @@ from datetime import datetime -from six import StringIO +from awscli.compat import StringIO from botocore.session import Session from botocore.credentials import Credentials from awscli.customizations.codecommit import CodeCommitGetCommand diff --git a/tests/unit/customizations/cloudformation/__init__.py b/tests/unit/customizations/cloudformation/__init__.py index 26daca4df412..5746f5416ecf 100644 --- a/tests/unit/customizations/cloudformation/__init__.py +++ b/tests/unit/customizations/cloudformation/__init__.py @@ -11,7 +11,5 @@ # ANY KIND, either express or implied. See the License for the specific # language governing permissions and limitations under the License. -import six, unittest - -if six.PY3: - unittest.TestCase.assertItemsEqual = unittest.TestCase.assertCountEqual +import unittest +unittest.TestCase.assertItemsEqual = unittest.TestCase.assertCountEqual diff --git a/tests/unit/customizations/cloudformation/test_deploy.py b/tests/unit/customizations/cloudformation/test_deploy.py index 6e67a20117ba..8aac8ae3be4f 100644 --- a/tests/unit/customizations/cloudformation/test_deploy.py +++ b/tests/unit/customizations/cloudformation/test_deploy.py @@ -11,7 +11,6 @@ # ANY KIND, either express or implied. See the License for the specific # language governing permissions and limitations under the License. import tempfile -import six import collections from awscli.testutils import mock, unittest diff --git a/tests/unit/customizations/cloudtrail/test_subscribe.py b/tests/unit/customizations/cloudtrail/test_subscribe.py index f9483a180e38..4c372f4a16e6 100644 --- a/tests/unit/customizations/cloudtrail/test_subscribe.py +++ b/tests/unit/customizations/cloudtrail/test_subscribe.py @@ -16,8 +16,8 @@ from botocore.session import Session from tests.unit.test_clidriver import FakeSession -from awscli.compat import six from awscli.customizations.cloudtrail.subscribe import CloudTrailError, CloudTrailSubscribe +from awscli.compat import BytesIO from awscli.testutils import BaseAWSCommandParamsTest from awscli.testutils import mock, unittest, temporary_file @@ -70,7 +70,7 @@ def setUp(self): self.subscribe.s3 = mock.Mock() self.subscribe.s3.meta.region_name = 'us-east-1' - policy_template = six.BytesIO(six.b(u'{"Statement": []}')) + policy_template = BytesIO(u'{"Statement": []}'.encode('latin-1')) self.subscribe.s3.get_object = mock.Mock( return_value={'Body': policy_template}) self.subscribe.s3.head_bucket.return_value = {} diff --git a/tests/unit/customizations/cloudtrail/test_validation.py b/tests/unit/customizations/cloudtrail/test_validation.py index 66262492cf93..5b0fec1f6382 100644 --- a/tests/unit/customizations/cloudtrail/test_validation.py +++ b/tests/unit/customizations/cloudtrail/test_validation.py @@ -21,7 +21,6 @@ import rsa from argparse import Namespace -from awscli.compat import six from awscli.testutils import BaseAWSCommandParamsTest from awscli.customizations.cloudtrail.validation import DigestError, \ extract_digest_key_date, normalize_date, format_date, DigestProvider, \ @@ -29,6 +28,7 @@ Sha256RSADigestValidator, DATE_FORMAT, CloudTrailValidateLogs, \ parse_date, assert_cloudtrail_arn_is_valid, DigestSignatureError, \ InvalidDigestFormat, S3ClientProvider +from awscli.compat import BytesIO from botocore.exceptions import ClientError from awscli.testutils import mock, unittest from awscli.schema import ParameterRequiredError @@ -532,14 +532,14 @@ def test_calls_list_objects_correctly_org_trails(self): ) def test_ensures_digest_has_proper_metadata(self): - out = six.BytesIO() + out = BytesIO() f = gzip.GzipFile(fileobj=out, mode="wb") f.write('{"foo":"bar"}'.encode()) f.close() gzipped_data = out.getvalue() s3_client = mock.Mock() s3_client.get_object.return_value = { - 'Body': six.BytesIO(gzipped_data), + 'Body': BytesIO(gzipped_data), 'Metadata': {}} provider = self._get_mock_provider(s3_client) with self.assertRaises(DigestSignatureError): @@ -548,7 +548,7 @@ def test_ensures_digest_has_proper_metadata(self): def test_ensures_digest_can_be_gzip_inflated(self): s3_client = mock.Mock() s3_client.get_object.return_value = { - 'Body': six.BytesIO('foo'.encode()), + 'Body': BytesIO('foo'.encode()), 'Metadata': {}} provider = self._get_mock_provider(s3_client) with self.assertRaises(InvalidDigestFormat): @@ -556,14 +556,14 @@ def test_ensures_digest_can_be_gzip_inflated(self): def test_ensures_digests_can_be_json_parsed(self): json_str = '{{{' - out = six.BytesIO() + out = BytesIO() f = gzip.GzipFile(fileobj=out, mode="wb") f.write(json_str.encode()) f.close() gzipped_data = out.getvalue() s3_client = mock.Mock() s3_client.get_object.return_value = { - 'Body': six.BytesIO(gzipped_data), + 'Body': BytesIO(gzipped_data), 'Metadata': {'signature': 'abc', 'signature-algorithm': 'SHA256'}} provider = self._get_mock_provider(s3_client) with self.assertRaises(InvalidDigestFormat): @@ -571,14 +571,14 @@ def test_ensures_digests_can_be_json_parsed(self): def test_fetches_digests(self): json_str = '{"foo":"bar"}' - out = six.BytesIO() + out = BytesIO() f = gzip.GzipFile(fileobj=out, mode="wb") f.write(json_str.encode()) f.close() gzipped_data = out.getvalue() s3_client = mock.Mock() s3_client.get_object.return_value = { - 'Body': six.BytesIO(gzipped_data), + 'Body': BytesIO(gzipped_data), 'Metadata': {'signature': 'abc', 'signature-algorithm': 'SHA256'}} provider = self._get_mock_provider(s3_client) result = provider.fetch_digest('bucket', 'key') diff --git a/tests/unit/customizations/codedeploy/test_push.py b/tests/unit/customizations/codedeploy/test_push.py index ae6110a43bfe..c1c5bd833950 100644 --- a/tests/unit/customizations/codedeploy/test_push.py +++ b/tests/unit/customizations/codedeploy/test_push.py @@ -14,12 +14,11 @@ import awscli from argparse import Namespace -from six import StringIO from botocore.exceptions import ClientError from awscli.customizations.codedeploy.push import Push from awscli.testutils import mock, unittest -from awscli.compat import ZIP_COMPRESSION_MODE +from awscli.compat import StringIO, ZIP_COMPRESSION_MODE class TestPush(unittest.TestCase): diff --git a/tests/unit/customizations/configservice/test_getstatus.py b/tests/unit/customizations/configservice/test_getstatus.py index aab2c0a1f9da..a10f2ee2d4f7 100644 --- a/tests/unit/customizations/configservice/test_getstatus.py +++ b/tests/unit/customizations/configservice/test_getstatus.py @@ -10,8 +10,7 @@ # distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF # ANY KIND, either express or implied. See the License for the specific # language governing permissions and limitations under the License. -from awscli.compat import six - +from awscli.compat import StringIO from awscli.testutils import mock, unittest from awscli.customizations.configservice.getstatus import GetStatusCommand @@ -78,7 +77,7 @@ def test_configuration_recorder_success(self): 'Delivery Channels:\n\n' ) - with mock.patch('sys.stdout', six.StringIO()) as mock_stdout: + with mock.patch('sys.stdout', StringIO()) as mock_stdout: self.cmd._run_main(self.parsed_args, self.parsed_globals) self.assertEqual(expected_output, mock_stdout.getvalue()) @@ -98,7 +97,7 @@ def test_configuration_recorder_fail(self): 'Delivery Channels:\n\n' ) - with mock.patch('sys.stdout', six.StringIO()) as mock_stdout: + with mock.patch('sys.stdout', StringIO()) as mock_stdout: self.cmd._run_main(self.parsed_args, self.parsed_globals) self.assertEqual(expected_output, mock_stdout.getvalue()) @@ -113,7 +112,7 @@ def test_configuration_recorder_off(self): 'Delivery Channels:\n\n' ) - with mock.patch('sys.stdout', six.StringIO()) as mock_stdout: + with mock.patch('sys.stdout', StringIO()) as mock_stdout: self.cmd._run_main(self.parsed_args, self.parsed_globals) self.assertEqual(expected_output, mock_stdout.getvalue()) @@ -144,7 +143,7 @@ def test_multiple_configuration_recorders(self): 'recorder: OFF\n\n' 'Delivery Channels:\n\n' ) - with mock.patch('sys.stdout', six.StringIO()) as mock_stdout: + with mock.patch('sys.stdout', StringIO()) as mock_stdout: self.cmd._run_main(self.parsed_args, self.parsed_globals) self.assertEqual(expected_output, mock_stdout.getvalue()) @@ -170,7 +169,7 @@ def test_delivery_channel_success_single_delivery_info(self): 'last stream delivery status: SUCCESS\n\n' ) - with mock.patch('sys.stdout', six.StringIO()) as mock_stdout: + with mock.patch('sys.stdout', StringIO()) as mock_stdout: self.cmd._run_main(self.parsed_args, self.parsed_globals) self.assertEqual(expected_output, mock_stdout.getvalue()) @@ -198,7 +197,7 @@ def test_delivery_channel_success_multiple_delivery_info(self): 'last snapshot delivery status: SUCCESS\n\n' ) - with mock.patch('sys.stdout', six.StringIO()) as mock_stdout: + with mock.patch('sys.stdout', StringIO()) as mock_stdout: self.cmd._run_main(self.parsed_args, self.parsed_globals) self.assertEqual(expected_output, mock_stdout.getvalue()) @@ -227,7 +226,7 @@ def test_delivery_channel_fail_single_delivery_info(self): 'message: This is the error\n\n' ) - with mock.patch('sys.stdout', six.StringIO()) as mock_stdout: + with mock.patch('sys.stdout', StringIO()) as mock_stdout: self.cmd._run_main(self.parsed_args, self.parsed_globals) self.assertEqual(expected_output, mock_stdout.getvalue()) @@ -259,7 +258,7 @@ def test_delivery_channel_mixed_multiple_delivery_info(self): 'last snapshot delivery status: SUCCESS\n\n' ) - with mock.patch('sys.stdout', six.StringIO()) as mock_stdout: + with mock.patch('sys.stdout', StringIO()) as mock_stdout: self.cmd._run_main(self.parsed_args, self.parsed_globals) self.assertEqual(expected_output, mock_stdout.getvalue()) @@ -298,7 +297,7 @@ def test_multiple_delivery_channels(self): 'last snapshot delivery status: SUCCESS\n\n' ) - with mock.patch('sys.stdout', six.StringIO()) as mock_stdout: + with mock.patch('sys.stdout', StringIO()) as mock_stdout: self.cmd._run_main(self.parsed_args, self.parsed_globals) self.assertEqual(expected_output, mock_stdout.getvalue()) @@ -361,6 +360,6 @@ def test_full_get_status(self): 'last snapshot delivery status: SUCCESS\n\n' ) - with mock.patch('sys.stdout', six.StringIO()) as mock_stdout: + with mock.patch('sys.stdout', StringIO()) as mock_stdout: self.cmd._run_main(self.parsed_args, self.parsed_globals) self.assertEqual(expected_output, mock_stdout.getvalue()) diff --git a/tests/unit/customizations/configure/test_configure.py b/tests/unit/customizations/configure/test_configure.py index 5756a15e6156..33e6021edd45 100644 --- a/tests/unit/customizations/configure/test_configure.py +++ b/tests/unit/customizations/configure/test_configure.py @@ -15,7 +15,7 @@ from awscli.customizations.configure import configure, ConfigValue, NOT_SET from awscli.customizations.configure import profile_to_section from awscli.testutils import mock, unittest -from awscli.compat import six +from awscli.compat import StringIO from . import FakeSession @@ -135,7 +135,7 @@ class TestInteractivePrompter(unittest.TestCase): def setUp(self): self.input_patch = mock.patch('awscli.compat.raw_input') self.mock_raw_input = self.input_patch.start() - self.stdout = six.StringIO() + self.stdout = StringIO() self.stdout_patch = mock.patch('sys.stdout', self.stdout) self.stdout_patch.start() diff --git a/tests/unit/customizations/configure/test_get.py b/tests/unit/customizations/configure/test_get.py index cf34fbb4a968..71c239e6ba73 100644 --- a/tests/unit/customizations/configure/test_get.py +++ b/tests/unit/customizations/configure/test_get.py @@ -11,9 +11,9 @@ # ANY KIND, either express or implied. See the License for the specific # language governing permissions and limitations under the License. from awscli.testutils import unittest +from awscli.compat import StringIO from awscli.customizations.configure.get import ConfigureGetCommand -from awscli.compat import six from . import FakeSession @@ -21,8 +21,8 @@ class TestConfigureGetCommand(unittest.TestCase): def create_command(self, session): - stdout = six.StringIO() - stderr = six.StringIO() + stdout = StringIO() + stderr = StringIO() command = ConfigureGetCommand(session, stdout, stderr) return stdout, stderr, command diff --git a/tests/unit/customizations/configure/test_list.py b/tests/unit/customizations/configure/test_list.py index e00cf9e8e309..d702b2dba6e2 100644 --- a/tests/unit/customizations/configure/test_list.py +++ b/tests/unit/customizations/configure/test_list.py @@ -13,8 +13,8 @@ from argparse import Namespace from awscli.testutils import mock, unittest -from awscli.compat import six from awscli.customizations.configure.list import ConfigureListCommand +from awscli.compat import StringIO from . import FakeSession @@ -27,7 +27,7 @@ def test_configure_list_command_nothing_set(self): all_variables={'config_file': '/config/location'}) session.full_config = { 'profiles': {'default': {'region': 'AWS_DEFAULT_REGION'}}} - stream = six.StringIO() + stream = StringIO() self.configure_list = ConfigureListCommand(session, stream) self.configure_list(args=[], parsed_globals=None) rendered = stream.getvalue() @@ -46,7 +46,7 @@ def test_configure_from_env(self): session.session_var_map = {'profile': (None, "PROFILE_ENV_VAR")} session.full_config = { 'profiles': {'default': {'region': 'AWS_DEFAULT_REGION'}}} - stream = six.StringIO() + stream = StringIO() self.configure_list = ConfigureListCommand(session, stream) self.configure_list(args=[], parsed_globals=None) rendered = stream.getvalue() @@ -63,7 +63,7 @@ def test_configure_from_config_file(self): session.session_var_map = {'region': ('region', "AWS_DEFAULT_REGION")} session.full_config = { 'profiles': {'default': {'region': 'AWS_DEFAULT_REGION'}}} - stream = six.StringIO() + stream = StringIO() self.configure_list = ConfigureListCommand(session, stream) self.configure_list(args=[], parsed_globals=None) rendered = stream.getvalue() @@ -94,7 +94,7 @@ def test_configure_from_multiple_sources(self): 'profile': ('profile', 'AWS_DEFAULT_PROFILE')} session.full_config = { 'profiles': {'default': {'region': 'AWS_DEFAULT_REGION'}}} - stream = six.StringIO() + stream = StringIO() self.configure_list = ConfigureListCommand(session, stream) self.configure_list(args=[], parsed_globals=None) rendered = stream.getvalue() @@ -123,7 +123,7 @@ def test_configure_from_args(self): session.session_var_map = {'profile': (None, ['AWS_PROFILE'])} session.full_config = { 'profiles': {'foo': {'region': 'AWS_REGION'}}} - stream = six.StringIO() + stream = StringIO() self.configure_list = ConfigureListCommand(session, stream) self.configure_list(args=[], parsed_globals=parsed_globals) rendered = stream.getvalue() diff --git a/tests/unit/customizations/datapipeline/test_listrunsformatter.py b/tests/unit/customizations/datapipeline/test_listrunsformatter.py index c0a09e053689..aa8211490a18 100644 --- a/tests/unit/customizations/datapipeline/test_listrunsformatter.py +++ b/tests/unit/customizations/datapipeline/test_listrunsformatter.py @@ -14,15 +14,15 @@ import difflib from awscli.testutils import mock, unittest -from awscli.compat import six from awscli.customizations.datapipeline.listrunsformatter \ import ListRunsFormatter +from awscli.compat import StringIO class TestListRunsFormatter(unittest.TestCase): def setUp(self): self.formatter = ListRunsFormatter(mock.Mock(query=None)) - self.stream = six.StringIO() + self.stream = StringIO() def assert_data_renders_to(self, data, table): self.formatter('list-runs', data, stream=self.stream) diff --git a/tests/unit/customizations/gamelift/test_getlog.py b/tests/unit/customizations/gamelift/test_getlog.py index e46b79f492e5..fd2f0c8f0dfc 100644 --- a/tests/unit/customizations/gamelift/test_getlog.py +++ b/tests/unit/customizations/gamelift/test_getlog.py @@ -15,9 +15,9 @@ from botocore.session import get_session -from awscli.compat import six from awscli.testutils import unittest, mock, FileCreator from awscli.customizations.gamelift.getlog import GetGameSessionLogCommand +from awscli.compat import BytesIO class TestGetGameSessionLogCommand(unittest.TestCase): @@ -37,7 +37,7 @@ def setUp(self): self.urlopen_patch = mock.patch( 'awscli.customizations.gamelift.getlog.urlopen') self.urlopen_mock = self.urlopen_patch.start() - self.urlopen_mock.return_value = six.BytesIO(self.contents) + self.urlopen_mock.return_value = BytesIO(self.contents) def tearDown(self): self.create_client_patch.stop() diff --git a/tests/unit/customizations/gamelift/test_uploadbuild.py b/tests/unit/customizations/gamelift/test_uploadbuild.py index 48c6f2cdc7c6..98c9ccf400f8 100644 --- a/tests/unit/customizations/gamelift/test_uploadbuild.py +++ b/tests/unit/customizations/gamelift/test_uploadbuild.py @@ -18,11 +18,11 @@ from botocore.session import get_session from botocore.exceptions import ClientError -from awscli.compat import six from awscli.testutils import unittest, mock, FileCreator from awscli.customizations.gamelift.uploadbuild import UploadBuildCommand from awscli.customizations.gamelift.uploadbuild import zip_directory from awscli.customizations.gamelift.uploadbuild import validate_directory +from awscli.compat import StringIO class TestGetGameSessionLogCommand(unittest.TestCase): @@ -142,7 +142,7 @@ def test_upload_build_when_operating_system_is_provided(self): OperatingSystem=operating_system) def test_error_message_when_directory_is_empty(self): - with mock.patch('sys.stderr', six.StringIO()) as mock_stderr: + with mock.patch('sys.stderr', StringIO()) as mock_stderr: self.cmd(self.args, self.global_args) self.assertEqual( mock_stderr.getvalue(), @@ -158,7 +158,7 @@ def test_error_message_when_directory_is_not_provided(self): '--build-root', '' ] - with mock.patch('sys.stderr', six.StringIO()) as mock_stderr: + with mock.patch('sys.stderr', StringIO()) as mock_stderr: self.cmd(self.args, self.global_args) self.assertEqual( mock_stderr.getvalue(), @@ -175,7 +175,7 @@ def test_error_message_when_directory_does_not_exist(self): '--build-root', dir_not_exist ] - with mock.patch('sys.stderr', six.StringIO()) as mock_stderr: + with mock.patch('sys.stderr', StringIO()) as mock_stderr: self.cmd(self.args, self.global_args) self.assertEqual( mock_stderr.getvalue(), diff --git a/tests/unit/customizations/s3/__init__.py b/tests/unit/customizations/s3/__init__.py index 9aa736cba1ee..36703b6421c7 100644 --- a/tests/unit/customizations/s3/__init__.py +++ b/tests/unit/customizations/s3/__init__.py @@ -12,8 +12,6 @@ # language governing permissions and limitations under the License. import os -from awscli.compat import six - class FakeTransferFuture(object): def __init__(self, result=None, exception=None, meta=None): @@ -56,8 +54,8 @@ def make_loc_files(file_creator, size=None): filename2 = file_creator.create_file( os.path.join('some_directory', 'another_directory', 'text2.txt'), body) - filename1 = six.text_type(filename1) - filename2 = six.text_type(filename2) + filename1 = str(filename1) + filename2 = str(filename2) return [filename1, filename2, os.path.dirname(filename2), os.path.dirname(filename1)] diff --git a/tests/unit/customizations/s3/test_filegenerator.py b/tests/unit/customizations/s3/test_filegenerator.py index c69c1f5dc12d..039e52cde662 100644 --- a/tests/unit/customizations/s3/test_filegenerator.py +++ b/tests/unit/customizations/s3/test_filegenerator.py @@ -20,7 +20,6 @@ import socket from botocore.exceptions import ClientError -from awscli.compat import six from awscli.customizations.s3.filegenerator import FileGenerator, \ FileDecodingError, FileStat, is_special_file, is_readable @@ -311,7 +310,7 @@ def tearDown(self): self.files.remove_all() def test_no_follow_symlink(self): - abs_root = six.text_type(os.path.abspath(self.root) + os.sep) + abs_root = str(os.path.abspath(self.root) + os.sep) input_local_dir = {'src': {'path': abs_root, 'type': 'local'}, 'dest': {'path': self.bucket, @@ -325,14 +324,14 @@ def test_no_follow_symlink(self): self.assertEqual(len(result_list), len(self.filenames)) # Just check to make sure the right local files are generated. for i in range(len(result_list)): - filename = six.text_type(os.path.abspath(self.filenames[i])) + filename = str(os.path.abspath(self.filenames[i])) self.assertEqual(result_list[i], filename) def test_warn_bad_symlink(self): """ This tests to make sure it fails when following bad symlinks. """ - abs_root = six.text_type(os.path.abspath(self.root) + os.sep) + abs_root = str(os.path.abspath(self.root) + os.sep) input_local_dir = {'src': {'path': abs_root, 'type': 'local'}, 'dest': {'path': self.bucket, @@ -349,14 +348,14 @@ def test_warn_bad_symlink(self): self.assertEqual(len(result_list), len(all_filenames)) # Just check to make sure the right local files are generated. for i in range(len(result_list)): - filename = six.text_type(os.path.abspath(all_filenames[i])) + filename = str(os.path.abspath(all_filenames[i])) self.assertEqual(result_list[i], filename) self.assertFalse(file_gen.result_queue.empty()) def test_follow_symlink(self): # First remove the bad symlink. os.remove(os.path.join(self.root, 'symlink_2')) - abs_root = six.text_type(os.path.abspath(self.root) + os.sep) + abs_root = str(os.path.abspath(self.root) + os.sep) input_local_dir = {'src': {'path': abs_root, 'type': 'local'}, 'dest': {'path': self.bucket, @@ -371,7 +370,7 @@ def test_follow_symlink(self): self.assertEqual(len(result_list), len(all_filenames)) # Just check to make sure the right local files are generated. for i in range(len(result_list)): - filename = six.text_type(os.path.abspath(all_filenames[i])) + filename = str(os.path.abspath(all_filenames[i])) self.assertEqual(result_list[i], filename) @@ -379,7 +378,7 @@ class TestListFilesLocally(unittest.TestCase): maxDiff = None def setUp(self): - self.directory = six.text_type(tempfile.mkdtemp()) + self.directory = str(tempfile.mkdtemp()) def tearDown(self): shutil.rmtree(self.directory) diff --git a/tests/unit/customizations/s3/test_transferconfig.py b/tests/unit/customizations/s3/test_transferconfig.py index cad4bdc8bb36..6470beb85964 100644 --- a/tests/unit/customizations/s3/test_transferconfig.py +++ b/tests/unit/customizations/s3/test_transferconfig.py @@ -10,10 +10,11 @@ # distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF # ANY KIND, either express or implied. See the License for the specific # language governing permissions and limitations under the License. +import sys + from awscli.testutils import unittest from awscli.customizations.s3 import transferconfig -from awscli.compat import six class TestTransferConfig(unittest.TestCase): @@ -65,7 +66,7 @@ def test_long_value(self): # MAXSIZE is the max size of an int on python 2 and the maximum size # of Py_ssize_t on python 3, but notably not the maximum size of an # int since they are effectively unbounded. - long_value = six.MAXSIZE + 1 + long_value = sys.maxsize + 1 runtime_config = self.build_config_with( multipart_threshold=long_value) self.assertEqual(runtime_config['multipart_threshold'], long_value) diff --git a/tests/unit/customizations/test_codecommit.py b/tests/unit/customizations/test_codecommit.py index 1c783f62a2cc..6d527186a786 100644 --- a/tests/unit/customizations/test_codecommit.py +++ b/tests/unit/customizations/test_codecommit.py @@ -14,12 +14,12 @@ import awscli from argparse import Namespace -from six import StringIO from botocore.session import Session from botocore.credentials import Credentials from awscli.customizations.codecommit import CodeCommitGetCommand from awscli.customizations.codecommit import CodeCommitCommand from awscli.testutils import mock, unittest, StringIOWithFileNo +from awscli.compat import StringIO from botocore.auth import SigV4Auth from botocore.awsrequest import AWSRequest diff --git a/tests/unit/customizations/test_generatecliskeleton.py b/tests/unit/customizations/test_generatecliskeleton.py index e2133fa94e98..dca8084117d8 100644 --- a/tests/unit/customizations/test_generatecliskeleton.py +++ b/tests/unit/customizations/test_generatecliskeleton.py @@ -10,13 +10,12 @@ # distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF # ANY KIND, either express or implied. See the License for the specific # language governing permissions and limitations under the License. -from awscli.compat import six - from botocore.model import DenormalizedStructureBuilder from awscli.testutils import mock, unittest from awscli.customizations.generatecliskeleton import \ GenerateCliSkeletonArgument +from awscli.compat import StringIO class TestGenerateCliSkeleton(unittest.TestCase): @@ -80,7 +79,7 @@ def test_override_required_args_when_output_present_but_not_value(self): def test_generate_json_skeleton(self): parsed_args = mock.Mock() parsed_args.generate_cli_skeleton = 'input' - with mock.patch('sys.stdout', six.StringIO()) as mock_stdout: + with mock.patch('sys.stdout', StringIO()) as mock_stdout: rc = self.argument.generate_json_skeleton( service_operation=self.service_operation, call_parameters=None, parsed_args=parsed_args, parsed_globals=None @@ -93,7 +92,7 @@ def test_generate_json_skeleton(self): def test_no_generate_json_skeleton(self): parsed_args = mock.Mock() parsed_args.generate_cli_skeleton = None - with mock.patch('sys.stdout', six.StringIO()) as mock_stdout: + with mock.patch('sys.stdout', StringIO()) as mock_stdout: rc = self.argument.generate_json_skeleton( service_operation=self.service_operation, call_parameters=None, parsed_args=parsed_args, parsed_globals=None @@ -110,7 +109,7 @@ def test_generate_json_skeleton_no_input_shape(self): # Set the input shape to ``None``. self.argument = GenerateCliSkeletonArgument( self.session, mock.Mock(input_shape=None)) - with mock.patch('sys.stdout', six.StringIO()) as mock_stdout: + with mock.patch('sys.stdout', StringIO()) as mock_stdout: rc = self.argument.generate_json_skeleton( service_operation=self.service_operation, call_parameters=None, parsed_args=parsed_args, parsed_globals=None @@ -137,7 +136,7 @@ def test_generate_json_skeleton_with_timestamp(self): operation_model = mock.Mock(input_shape=shape) argument = GenerateCliSkeletonArgument( self.session, operation_model) - with mock.patch('sys.stdout', six.StringIO()) as mock_stdout: + with mock.patch('sys.stdout', StringIO()) as mock_stdout: rc = argument.generate_json_skeleton( call_parameters=None, parsed_args=parsed_args, parsed_globals=None diff --git a/tests/unit/customizations/test_globalargs.py b/tests/unit/customizations/test_globalargs.py index d35ffcbb0070..96586b705118 100644 --- a/tests/unit/customizations/test_globalargs.py +++ b/tests/unit/customizations/test_globalargs.py @@ -15,7 +15,6 @@ import os from awscli.testutils import mock, unittest -from awscli.compat import six from awscli.customizations import globalargs @@ -57,7 +56,7 @@ def test_parse_query(self): parsed_args = FakeParsedArgs(query='foo.bar') globalargs.resolve_types(parsed_args) # Assert that it looks like a jmespath parsed expression. - self.assertFalse(isinstance(parsed_args.query, six.string_types)) + self.assertFalse(isinstance(parsed_args.query, str)) self.assertTrue(hasattr(parsed_args.query, 'search')) def test_parse_query_error_message(self): diff --git a/tests/unit/output/test_json_output.py b/tests/unit/output/test_json_output.py index a11758f64c0c..826380ec3453 100644 --- a/tests/unit/output/test_json_output.py +++ b/tests/unit/output/test_json_output.py @@ -13,12 +13,11 @@ # language governing permissions and limitations under the License. from botocore.compat import json import platform -from awscli.compat import six from awscli.formatter import JSONFormatter from awscli.testutils import BaseAWSCommandParamsTest, unittest from awscli.testutils import mock, skip_if_windows -from awscli.compat import get_stdout_text_writer +from awscli.compat import StringIO, get_stdout_text_writer class TestGetPasswordData(BaseAWSCommandParamsTest): @@ -105,7 +104,7 @@ def test_unknown_output_type_from_env_var(self): def test_json_prints_unicode_chars(self): self.parsed_response['Users'][1]['UserId'] = u'\u2713' output = self.run_cmd('iam list-users', expected_rc=0)[0] - with mock.patch('sys.stdout', six.StringIO()) as f: + with mock.patch('sys.stdout', StringIO()) as f: out = get_stdout_text_writer() out.write(u'\u2713') expected = f.getvalue() @@ -120,7 +119,7 @@ def test_fully_buffered_handles_io_error(self): args = mock.Mock(query=None) operation = mock.Mock(can_paginate=False) response = '{"Foo": "Bar"}' - fake_closed_stream = mock.Mock(spec=six.StringIO) + fake_closed_stream = mock.Mock(spec=StringIO) fake_closed_stream.flush.side_effect = IOError formatter = JSONFormatter(args) formatter('command_name', response, stream=fake_closed_stream) diff --git a/tests/unit/output/test_table_formatter.py b/tests/unit/output/test_table_formatter.py index 4f77bce4ef8c..37c1d193c45e 100644 --- a/tests/unit/output/test_table_formatter.py +++ b/tests/unit/output/test_table_formatter.py @@ -11,10 +11,10 @@ # ANY KIND, either express or implied. See the License for the specific # language governing permissions and limitations under the License. import unittest -from awscli.compat import six from awscli.formatter import TableFormatter from awscli.table import MultiTable, Styler +from awscli.compat import StringIO SIMPLE_LIST = { "QueueUrls": [ @@ -378,7 +378,7 @@ def setUp(self): auto_reformat=False) self.formatter = TableFormatter(Object(color='off')) self.formatter.table = self.table - self.stream = six.StringIO() + self.stream = StringIO() def assert_data_renders_to(self, data, table): self.formatter('OperationName', data, stream=self.stream) diff --git a/tests/unit/output/test_text_output.py b/tests/unit/output/test_text_output.py index 9b6e490db442..a4a552504d68 100644 --- a/tests/unit/output/test_text_output.py +++ b/tests/unit/output/test_text_output.py @@ -13,15 +13,13 @@ # language governing permissions and limitations under the License. from awscli.testutils import BaseAWSCommandParamsTest from awscli.testutils import mock, unittest +from awscli.compat import StringIO import json import os import sys import re import locale -from awscli.compat import six -from six.moves import cStringIO - from awscli.formatter import Formatter @@ -153,22 +151,3 @@ def assert_in(self, key, fields, count=None): key, actual_count, count ) ) - - -class CustomFormatter(Formatter): - def __call__(self, operation, response, stream=None): - self.stream = self._get_default_stream() - - -class TestDefaultStream(BaseAWSCommandParamsTest): - @unittest.skipIf(six.PY3, "Text writer only vaild on py3.") - def test_default_stream_with_table_output(self): - formatter = CustomFormatter(None) - stream = cStringIO() - with mock.patch('sys.stdout', stream): - formatter(None, None) - formatter.stream.write(u'\u00e9') - # Ensure the unicode data is written as UTF-8 by default. - self.assertEqual( - formatter.stream.getvalue(), - u'\u00e9'.encode(locale.getpreferredencoding())) diff --git a/tests/unit/test_clidriver.py b/tests/unit/test_clidriver.py index 4adc6640f719..b720b0347986 100644 --- a/tests/unit/test_clidriver.py +++ b/tests/unit/test_clidriver.py @@ -17,8 +17,8 @@ import logging import io import sys +import importlib -from awscli.compat import six from botocore.awsrequest import AWSResponse from botocore.exceptions import NoCredentialsError from botocore.compat import OrderedDict @@ -35,6 +35,7 @@ from awscli.customizations.commands import BasicCommand from awscli import formatter from awscli.argparser import HELP_BLURB +from awscli.compat import StringIO from botocore.hooks import HierarchicalEmitter @@ -314,14 +315,8 @@ def test_ctrl_c_is_handled(self): self.assertEqual(rc, 130) def test_error_unicode(self): - # We need a different type for Py3 and Py2 because on Py3 six.StringIO - # doesn't let us set the encoding and returns a string. - if six.PY3: - stderr_b = io.BytesIO() - stderr = io.TextIOWrapper(stderr_b, encoding="UTF-8") - else: - stderr = stderr_b = six.StringIO() - stderr.encoding = "UTF-8" + stderr_b = io.BytesIO() + stderr = io.TextIOWrapper(stderr_b, encoding="UTF-8") driver = CLIDriver(session=self.session) fake_client = mock.Mock() fake_client.list_objects.side_effect = Exception(u"☃") @@ -341,8 +336,8 @@ def setUp(self): self.session = FakeSession() self.emitter = mock.Mock() self.emitter.emit.return_value = [] - self.stdout = six.StringIO() - self.stderr = six.StringIO() + self.stdout = StringIO() + self.stderr = StringIO() self.stdout_patch = mock.patch('sys.stdout', self.stdout) #self.stdout_patch.start() self.stderr_patch = mock.patch('sys.stderr', self.stderr) @@ -419,7 +414,7 @@ def test_unknown_command_suggests_help(self): class TestSearchPath(unittest.TestCase): def tearDown(self): - six.moves.reload_module(awscli) + importlib.reload(awscli) @mock.patch('os.pathsep', ';') @mock.patch('os.environ', {'AWS_DATA_PATH': 'c:\\foo;c:\\bar'}) @@ -427,7 +422,7 @@ def test_windows_style_search_path(self): driver = CLIDriver() # Because the os.environ patching happens at import time, # we have to force a reimport of the module to test our changes. - six.moves.reload_module(awscli) + importlib.reload(awscli) # Our two overrides should be the last two elements in the search path. search_paths = driver.session.get_component( 'data_loader').search_paths @@ -440,7 +435,7 @@ class TestAWSCommand(BaseAWSCommandParamsTest): # but with the http part mocked out. def setUp(self): super(TestAWSCommand, self).setUp() - self.stderr = six.StringIO() + self.stderr = StringIO() self.stderr_patch = mock.patch('sys.stderr', self.stderr) self.stderr_patch.start() @@ -807,7 +802,7 @@ class TestHTTPParamFileDoesNotExist(BaseAWSCommandParamsTest): def setUp(self): super(TestHTTPParamFileDoesNotExist, self).setUp() - self.stderr = six.StringIO() + self.stderr = StringIO() self.stderr_patch = mock.patch('sys.stderr', self.stderr) self.stderr_patch.start() diff --git a/tests/unit/test_compat.py b/tests/unit/test_compat.py index 58ca8ecfd537..ec557614d922 100644 --- a/tests/unit/test_compat.py +++ b/tests/unit/test_compat.py @@ -15,8 +15,6 @@ import pytest -from botocore.compat import six - from awscli.compat import ensure_text_type from awscli.compat import compat_shell_quote from awscli.compat import compat_open @@ -29,25 +27,25 @@ class TestEnsureText(unittest.TestCase): def test_string(self): value = 'foo' response = ensure_text_type(value) - self.assertIsInstance(response, six.text_type) + self.assertIsInstance(response, str) self.assertEqual(response, 'foo') def test_binary(self): value = b'bar' response = ensure_text_type(value) - self.assertIsInstance(response, six.text_type) + self.assertIsInstance(response, str) self.assertEqual(response, 'bar') def test_unicode(self): value = u'baz' response = ensure_text_type(value) - self.assertIsInstance(response, six.text_type) + self.assertIsInstance(response, str) self.assertEqual(response, 'baz') def test_non_ascii(self): value = b'\xe2\x9c\x93' response = ensure_text_type(value) - self.assertIsInstance(response, six.text_type) + self.assertIsInstance(response, str) self.assertEqual(response, u'\u2713') def test_non_string_or_bytes_raises_error(self): diff --git a/tests/unit/test_help.py b/tests/unit/test_help.py index 8727309cfccb..360b8692ebf4 100644 --- a/tests/unit/test_help.py +++ b/tests/unit/test_help.py @@ -17,11 +17,11 @@ import sys import os -from awscli.compat import six from awscli.help import PosixHelpRenderer, ExecutableNotFoundError from awscli.help import WindowsHelpRenderer, ProviderHelpCommand, HelpCommand from awscli.help import TopicListerCommand, TopicHelpCommand from awscli.argparser import HELP_BLURB +from awscli.compat import StringIO class HelpSpyMixin(object): @@ -106,7 +106,7 @@ def test_no_groff_or_mandoc_exists(self): @skip_if_windows('Requires POSIX system.') def test_renderer_falls_back_to_mandoc(self): - stdout = six.StringIO() + stdout = StringIO() renderer = FakePosixHelpRenderer(output_stream=stdout) renderer.exists_on_path['groff'] = False @@ -119,7 +119,7 @@ def test_renderer_falls_back_to_mandoc(self): def test_no_pager_exists(self): fake_pager = 'foobar' os.environ['MANPAGER'] = fake_pager - stdout = six.StringIO() + stdout = StringIO() renderer = FakePosixHelpRenderer(output_stream=stdout) renderer.exists_on_path[fake_pager] = False diff --git a/tests/unit/test_paramfile.py b/tests/unit/test_paramfile.py index df06b6e2d4ba..2745ca755e84 100644 --- a/tests/unit/test_paramfile.py +++ b/tests/unit/test_paramfile.py @@ -10,7 +10,6 @@ # distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF # ANY KIND, either express or implied. See the License for the specific # language governing permissions and limitations under the License. -from awscli.compat import six from awscli.testutils import mock, unittest, FileCreator from awscli.testutils import skip_if_windows @@ -37,7 +36,7 @@ def test_text_file(self): prefixed_filename = 'file://' + filename data = self.get_paramfile(prefixed_filename) self.assertEqual(data, contents) - self.assertIsInstance(data, six.string_types) + self.assertIsInstance(data, str) def test_binary_file(self): contents = 'This is a test' @@ -45,7 +44,7 @@ def test_binary_file(self): prefixed_filename = 'fileb://' + filename data = self.get_paramfile(prefixed_filename) self.assertEqual(data, b'This is a test') - self.assertIsInstance(data, six.binary_type) + self.assertIsInstance(data, bytes) @skip_if_windows('Binary content error only occurs ' 'on non-Windows platforms.') diff --git a/tests/unit/test_text.py b/tests/unit/test_text.py index 3ee6eb8011da..c08e2e23033d 100644 --- a/tests/unit/test_text.py +++ b/tests/unit/test_text.py @@ -21,8 +21,8 @@ # import sys -from awscli.compat import six from awscli.testutils import mock, unittest +from awscli.compat import StringIO from awscli import text @@ -30,7 +30,7 @@ class TestSection(unittest.TestCase): def format_text(self, data, stream=None): if stream is None: - stream = six.StringIO() + stream = StringIO() text.format_text(data, stream=stream) return stream.getvalue() From 341a42dccae8cbcdeb1f6f7fc996ca937e913eeb Mon Sep 17 00:00:00 2001 From: Nate Prewitt Date: Thu, 20 Jun 2024 14:25:45 -0600 Subject: [PATCH 0075/1087] Remove extra six usage in compat.py --- awscli/compat.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/awscli/compat.py b/awscli/compat.py index 348ab042b243..90907d967a09 100644 --- a/awscli/compat.py +++ b/awscli/compat.py @@ -101,9 +101,9 @@ def __exit__(self, type, value, traceback): def ensure_text_type(s): - if isinstance(s, six.text_type): + if isinstance(s, str): return s - if isinstance(s, six.binary_type): + if isinstance(s, bytes): return s.decode('utf-8') raise ValueError("Expected str, unicode or bytes, received %s." % type(s)) From 489efff54676fdb41990b78903b3c977e787c1c4 Mon Sep 17 00:00:00 2001 From: Kenneth Daily Date: Mon, 24 Jun 2024 12:09:13 -0700 Subject: [PATCH 0076/1087] Comment o ut opsworks smoke tests --- tests/integration/test_smoke.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/test_smoke.py b/tests/integration/test_smoke.py index 65832575387b..2fc1cbe2fd34 100644 --- a/tests/integration/test_smoke.py +++ b/tests/integration/test_smoke.py @@ -47,7 +47,7 @@ 'kinesis list-streams', 'kms generate-random --number-of-bytes 128', 'logs describe-log-groups', - 'opsworks describe-stacks', + # 'opsworks describe-stacks', 'rds describe-db-instances', 'redshift describe-clusters', 'route53 list-hosted-zones', @@ -94,7 +94,7 @@ 'iam delete-user --user-name %s', 'kinesis delete-stream --stream-name %s', 'logs delete-log-group --log-group-name %s', - 'opsworks delete-app --app-id %s', + # 'opsworks delete-app --app-id %s', 'rds delete-db-instance --db-instance-identifier %s', 'redshift delete-cluster --cluster-identifier %s', 'route53 delete-hosted-zone --id %s', From cc22aa8e8242a12d51e97ef7c6a53225823aef5b Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 24 Jun 2024 21:01:45 +0000 Subject: [PATCH 0077/1087] Update changelog based on model updates --- .changes/next-release/api-change-bedrockruntime-78552.json | 5 +++++ .changes/next-release/api-change-customerprofiles-24375.json | 5 +++++ .changes/next-release/api-change-ec2-94164.json | 5 +++++ .changes/next-release/api-change-qbusiness-43255.json | 5 +++++ .changes/next-release/api-change-ssm-20792.json | 5 +++++ .changes/next-release/api-change-workspacesweb-80832.json | 5 +++++ 6 files changed, 30 insertions(+) create mode 100644 .changes/next-release/api-change-bedrockruntime-78552.json create mode 100644 .changes/next-release/api-change-customerprofiles-24375.json create mode 100644 .changes/next-release/api-change-ec2-94164.json create mode 100644 .changes/next-release/api-change-qbusiness-43255.json create mode 100644 .changes/next-release/api-change-ssm-20792.json create mode 100644 .changes/next-release/api-change-workspacesweb-80832.json diff --git a/.changes/next-release/api-change-bedrockruntime-78552.json b/.changes/next-release/api-change-bedrockruntime-78552.json new file mode 100644 index 000000000000..bdd5d5864a03 --- /dev/null +++ b/.changes/next-release/api-change-bedrockruntime-78552.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-runtime``", + "description": "Increases Converse API's document name length" +} diff --git a/.changes/next-release/api-change-customerprofiles-24375.json b/.changes/next-release/api-change-customerprofiles-24375.json new file mode 100644 index 000000000000..225037169b45 --- /dev/null +++ b/.changes/next-release/api-change-customerprofiles-24375.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``customer-profiles``", + "description": "This release includes changes to ProfileObjectType APIs, adds functionality top set and get capacity for profile object types." +} diff --git a/.changes/next-release/api-change-ec2-94164.json b/.changes/next-release/api-change-ec2-94164.json new file mode 100644 index 000000000000..85c210f22504 --- /dev/null +++ b/.changes/next-release/api-change-ec2-94164.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ec2``", + "description": "Fix EC2 multi-protocol info in models." +} diff --git a/.changes/next-release/api-change-qbusiness-43255.json b/.changes/next-release/api-change-qbusiness-43255.json new file mode 100644 index 000000000000..d6d49df8d9de --- /dev/null +++ b/.changes/next-release/api-change-qbusiness-43255.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``qbusiness``", + "description": "Allow enable/disable Q Apps when creating/updating a Q application; Return the Q Apps enablement information when getting a Q application." +} diff --git a/.changes/next-release/api-change-ssm-20792.json b/.changes/next-release/api-change-ssm-20792.json new file mode 100644 index 000000000000..5ae2fdcfbe1e --- /dev/null +++ b/.changes/next-release/api-change-ssm-20792.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ssm``", + "description": "Add sensitive trait to SSM IPAddress property for CloudTrail redaction" +} diff --git a/.changes/next-release/api-change-workspacesweb-80832.json b/.changes/next-release/api-change-workspacesweb-80832.json new file mode 100644 index 000000000000..260d34a72568 --- /dev/null +++ b/.changes/next-release/api-change-workspacesweb-80832.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``workspaces-web``", + "description": "Added ability to enable DeepLinking functionality on a Portal via UserSettings as well as added support for IdentityProvider resource tagging." +} From f9765f6afd43fa3faa759f4ab88691db7f6868a2 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 24 Jun 2024 21:02:51 +0000 Subject: [PATCH 0078/1087] Bumping version to 1.33.14 --- .changes/1.33.14.json | 32 +++++++++++++++++++ .../api-change-bedrockruntime-78552.json | 5 --- .../api-change-customerprofiles-24375.json | 5 --- .../next-release/api-change-ec2-94164.json | 5 --- .../api-change-qbusiness-43255.json | 5 --- .../next-release/api-change-ssm-20792.json | 5 --- .../api-change-workspacesweb-80832.json | 5 --- CHANGELOG.rst | 11 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 12 files changed, 47 insertions(+), 34 deletions(-) create mode 100644 .changes/1.33.14.json delete mode 100644 .changes/next-release/api-change-bedrockruntime-78552.json delete mode 100644 .changes/next-release/api-change-customerprofiles-24375.json delete mode 100644 .changes/next-release/api-change-ec2-94164.json delete mode 100644 .changes/next-release/api-change-qbusiness-43255.json delete mode 100644 .changes/next-release/api-change-ssm-20792.json delete mode 100644 .changes/next-release/api-change-workspacesweb-80832.json diff --git a/.changes/1.33.14.json b/.changes/1.33.14.json new file mode 100644 index 000000000000..13608c1230ff --- /dev/null +++ b/.changes/1.33.14.json @@ -0,0 +1,32 @@ +[ + { + "category": "``bedrock-runtime``", + "description": "Increases Converse API's document name length", + "type": "api-change" + }, + { + "category": "``customer-profiles``", + "description": "This release includes changes to ProfileObjectType APIs, adds functionality top set and get capacity for profile object types.", + "type": "api-change" + }, + { + "category": "``ec2``", + "description": "Fix EC2 multi-protocol info in models.", + "type": "api-change" + }, + { + "category": "``qbusiness``", + "description": "Allow enable/disable Q Apps when creating/updating a Q application; Return the Q Apps enablement information when getting a Q application.", + "type": "api-change" + }, + { + "category": "``ssm``", + "description": "Add sensitive trait to SSM IPAddress property for CloudTrail redaction", + "type": "api-change" + }, + { + "category": "``workspaces-web``", + "description": "Added ability to enable DeepLinking functionality on a Portal via UserSettings as well as added support for IdentityProvider resource tagging.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-bedrockruntime-78552.json b/.changes/next-release/api-change-bedrockruntime-78552.json deleted file mode 100644 index bdd5d5864a03..000000000000 --- a/.changes/next-release/api-change-bedrockruntime-78552.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-runtime``", - "description": "Increases Converse API's document name length" -} diff --git a/.changes/next-release/api-change-customerprofiles-24375.json b/.changes/next-release/api-change-customerprofiles-24375.json deleted file mode 100644 index 225037169b45..000000000000 --- a/.changes/next-release/api-change-customerprofiles-24375.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``customer-profiles``", - "description": "This release includes changes to ProfileObjectType APIs, adds functionality top set and get capacity for profile object types." -} diff --git a/.changes/next-release/api-change-ec2-94164.json b/.changes/next-release/api-change-ec2-94164.json deleted file mode 100644 index 85c210f22504..000000000000 --- a/.changes/next-release/api-change-ec2-94164.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ec2``", - "description": "Fix EC2 multi-protocol info in models." -} diff --git a/.changes/next-release/api-change-qbusiness-43255.json b/.changes/next-release/api-change-qbusiness-43255.json deleted file mode 100644 index d6d49df8d9de..000000000000 --- a/.changes/next-release/api-change-qbusiness-43255.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``qbusiness``", - "description": "Allow enable/disable Q Apps when creating/updating a Q application; Return the Q Apps enablement information when getting a Q application." -} diff --git a/.changes/next-release/api-change-ssm-20792.json b/.changes/next-release/api-change-ssm-20792.json deleted file mode 100644 index 5ae2fdcfbe1e..000000000000 --- a/.changes/next-release/api-change-ssm-20792.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ssm``", - "description": "Add sensitive trait to SSM IPAddress property for CloudTrail redaction" -} diff --git a/.changes/next-release/api-change-workspacesweb-80832.json b/.changes/next-release/api-change-workspacesweb-80832.json deleted file mode 100644 index 260d34a72568..000000000000 --- a/.changes/next-release/api-change-workspacesweb-80832.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``workspaces-web``", - "description": "Added ability to enable DeepLinking functionality on a Portal via UserSettings as well as added support for IdentityProvider resource tagging." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index a0251172952b..34b750d9476c 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,17 @@ CHANGELOG ========= +1.33.14 +======= + +* api-change:``bedrock-runtime``: Increases Converse API's document name length +* api-change:``customer-profiles``: This release includes changes to ProfileObjectType APIs, adds functionality top set and get capacity for profile object types. +* api-change:``ec2``: Fix EC2 multi-protocol info in models. +* api-change:``qbusiness``: Allow enable/disable Q Apps when creating/updating a Q application; Return the Q Apps enablement information when getting a Q application. +* api-change:``ssm``: Add sensitive trait to SSM IPAddress property for CloudTrail redaction +* api-change:``workspaces-web``: Added ability to enable DeepLinking functionality on a Portal via UserSettings as well as added support for IdentityProvider resource tagging. + + 1.33.13 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 4aa84289f240..6b2ae4c5f960 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -17,7 +17,7 @@ """ import os -__version__ = '1.33.13' +__version__ = '1.33.14' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 54c9acba4551..def94410ee81 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.33.' # The full version, including alpha/beta/rc tags. -release = '1.33.13' +release = '1.33.14' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index f51d45633514..d7bc5b4560d4 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.34.131 + botocore==1.34.132 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index c2821fa367dd..3f80ed1f37ec 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.34.131', + 'botocore==1.34.132', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 6f6c9d0b9a6d34ebe2fa3da7db8432746cc4b45a Mon Sep 17 00:00:00 2001 From: Benedikt Schwering Date: Tue, 25 Jun 2024 16:49:55 +0200 Subject: [PATCH 0079/1087] Correct JSON sample output of sts assume-role-with-web-identity command --- awscli/examples/sts/assume-role-with-web-identity.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/awscli/examples/sts/assume-role-with-web-identity.rst b/awscli/examples/sts/assume-role-with-web-identity.rst index f7afe1f6422a..fbabfa6aa97a 100644 --- a/awscli/examples/sts/assume-role-with-web-identity.rst +++ b/awscli/examples/sts/assume-role-with-web-identity.rst @@ -13,12 +13,12 @@ The following ``assume-role-with-web-identity`` command retrieves a set of short Output:: { - "SubjectFromWebIdentityToken": "amzn1.account.AF6RHO7KZU5XRVQJGXK6HB56KR2A" + "SubjectFromWebIdentityToken": "amzn1.account.AF6RHO7KZU5XRVQJGXK6HB56KR2A", "Audience": "client.5498841531868486423.1548@apps.example.com", "AssumedRoleUser": { "Arn": "arn:aws:sts::123456789012:assumed-role/FederatedWebIdentityRole/app1", "AssumedRoleId": "AROACLKWSDQRAOEXAMPLE:app1" - } + }, "Credentials": { "AccessKeyId": "AKIAIOSFODNN7EXAMPLE", "SecretAccessKey": "wJalrXUtnFEMI/K7MDENG/bPxRfiCYzEXAMPLEKEY", From 979604d2fd80691f82c1b1f0693ddbeff164f50b Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 25 Jun 2024 18:12:16 +0000 Subject: [PATCH 0080/1087] Update changelog based on model updates --- .changes/next-release/api-change-autoscaling-96340.json | 5 +++++ .changes/next-release/api-change-ec2-25674.json | 5 +++++ .changes/next-release/api-change-networkmanager-54949.json | 5 +++++ .../next-release/api-change-workspacesthinclient-50904.json | 5 +++++ 4 files changed, 20 insertions(+) create mode 100644 .changes/next-release/api-change-autoscaling-96340.json create mode 100644 .changes/next-release/api-change-ec2-25674.json create mode 100644 .changes/next-release/api-change-networkmanager-54949.json create mode 100644 .changes/next-release/api-change-workspacesthinclient-50904.json diff --git a/.changes/next-release/api-change-autoscaling-96340.json b/.changes/next-release/api-change-autoscaling-96340.json new file mode 100644 index 000000000000..ca831a306a6c --- /dev/null +++ b/.changes/next-release/api-change-autoscaling-96340.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``autoscaling``", + "description": "Doc only update for Auto Scaling's TargetTrackingMetricDataQuery" +} diff --git a/.changes/next-release/api-change-ec2-25674.json b/.changes/next-release/api-change-ec2-25674.json new file mode 100644 index 000000000000..b95bf3250d7a --- /dev/null +++ b/.changes/next-release/api-change-ec2-25674.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ec2``", + "description": "This release is for the launch of the new u7ib-12tb.224xlarge, R8g, c7gn.metal and mac2-m1ultra.metal instance types" +} diff --git a/.changes/next-release/api-change-networkmanager-54949.json b/.changes/next-release/api-change-networkmanager-54949.json new file mode 100644 index 000000000000..ecb921129172 --- /dev/null +++ b/.changes/next-release/api-change-networkmanager-54949.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``networkmanager``", + "description": "This is model changes & documentation update for the Asynchronous Error Reporting feature for AWS Cloud WAN. This feature allows customers to view errors that occur while their resources are being provisioned, enabling customers to fix their resources without needing external support." +} diff --git a/.changes/next-release/api-change-workspacesthinclient-50904.json b/.changes/next-release/api-change-workspacesthinclient-50904.json new file mode 100644 index 000000000000..d18fbaca57c3 --- /dev/null +++ b/.changes/next-release/api-change-workspacesthinclient-50904.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``workspaces-thin-client``", + "description": "This release adds the deviceCreationTags field to CreateEnvironment API input, UpdateEnvironment API input and GetEnvironment API output." +} From 836327afed2e3455c8b6e010350c3edfd6aff155 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 25 Jun 2024 18:13:21 +0000 Subject: [PATCH 0081/1087] Bumping version to 1.33.15 --- .changes/1.33.15.json | 22 +++++++++++++++++++ .../api-change-autoscaling-96340.json | 5 ----- .../next-release/api-change-ec2-25674.json | 5 ----- .../api-change-networkmanager-54949.json | 5 ----- ...api-change-workspacesthinclient-50904.json | 5 ----- CHANGELOG.rst | 9 ++++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 10 files changed, 35 insertions(+), 24 deletions(-) create mode 100644 .changes/1.33.15.json delete mode 100644 .changes/next-release/api-change-autoscaling-96340.json delete mode 100644 .changes/next-release/api-change-ec2-25674.json delete mode 100644 .changes/next-release/api-change-networkmanager-54949.json delete mode 100644 .changes/next-release/api-change-workspacesthinclient-50904.json diff --git a/.changes/1.33.15.json b/.changes/1.33.15.json new file mode 100644 index 000000000000..dc596151dfa1 --- /dev/null +++ b/.changes/1.33.15.json @@ -0,0 +1,22 @@ +[ + { + "category": "``autoscaling``", + "description": "Doc only update for Auto Scaling's TargetTrackingMetricDataQuery", + "type": "api-change" + }, + { + "category": "``ec2``", + "description": "This release is for the launch of the new u7ib-12tb.224xlarge, R8g, c7gn.metal and mac2-m1ultra.metal instance types", + "type": "api-change" + }, + { + "category": "``networkmanager``", + "description": "This is model changes & documentation update for the Asynchronous Error Reporting feature for AWS Cloud WAN. This feature allows customers to view errors that occur while their resources are being provisioned, enabling customers to fix their resources without needing external support.", + "type": "api-change" + }, + { + "category": "``workspaces-thin-client``", + "description": "This release adds the deviceCreationTags field to CreateEnvironment API input, UpdateEnvironment API input and GetEnvironment API output.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-autoscaling-96340.json b/.changes/next-release/api-change-autoscaling-96340.json deleted file mode 100644 index ca831a306a6c..000000000000 --- a/.changes/next-release/api-change-autoscaling-96340.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``autoscaling``", - "description": "Doc only update for Auto Scaling's TargetTrackingMetricDataQuery" -} diff --git a/.changes/next-release/api-change-ec2-25674.json b/.changes/next-release/api-change-ec2-25674.json deleted file mode 100644 index b95bf3250d7a..000000000000 --- a/.changes/next-release/api-change-ec2-25674.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ec2``", - "description": "This release is for the launch of the new u7ib-12tb.224xlarge, R8g, c7gn.metal and mac2-m1ultra.metal instance types" -} diff --git a/.changes/next-release/api-change-networkmanager-54949.json b/.changes/next-release/api-change-networkmanager-54949.json deleted file mode 100644 index ecb921129172..000000000000 --- a/.changes/next-release/api-change-networkmanager-54949.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``networkmanager``", - "description": "This is model changes & documentation update for the Asynchronous Error Reporting feature for AWS Cloud WAN. This feature allows customers to view errors that occur while their resources are being provisioned, enabling customers to fix their resources without needing external support." -} diff --git a/.changes/next-release/api-change-workspacesthinclient-50904.json b/.changes/next-release/api-change-workspacesthinclient-50904.json deleted file mode 100644 index d18fbaca57c3..000000000000 --- a/.changes/next-release/api-change-workspacesthinclient-50904.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``workspaces-thin-client``", - "description": "This release adds the deviceCreationTags field to CreateEnvironment API input, UpdateEnvironment API input and GetEnvironment API output." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 34b750d9476c..ee386372c3f5 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,15 @@ CHANGELOG ========= +1.33.15 +======= + +* api-change:``autoscaling``: Doc only update for Auto Scaling's TargetTrackingMetricDataQuery +* api-change:``ec2``: This release is for the launch of the new u7ib-12tb.224xlarge, R8g, c7gn.metal and mac2-m1ultra.metal instance types +* api-change:``networkmanager``: This is model changes & documentation update for the Asynchronous Error Reporting feature for AWS Cloud WAN. This feature allows customers to view errors that occur while their resources are being provisioned, enabling customers to fix their resources without needing external support. +* api-change:``workspaces-thin-client``: This release adds the deviceCreationTags field to CreateEnvironment API input, UpdateEnvironment API input and GetEnvironment API output. + + 1.33.14 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 6b2ae4c5f960..7fb98fc40650 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -17,7 +17,7 @@ """ import os -__version__ = '1.33.14' +__version__ = '1.33.15' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index def94410ee81..4235236fdec7 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.33.' # The full version, including alpha/beta/rc tags. -release = '1.33.14' +release = '1.33.15' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index d7bc5b4560d4..adb9e915dec6 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.34.132 + botocore==1.34.133 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 3f80ed1f37ec..d40dc19eb7ac 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.34.132', + 'botocore==1.34.133', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 3757dd251597319a7ac30e682da6ae1f8b772de9 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 26 Jun 2024 18:06:41 +0000 Subject: [PATCH 0082/1087] Update changelog based on model updates --- .changes/next-release/api-change-controltower-90970.json | 5 +++++ .changes/next-release/api-change-eks-88326.json | 5 +++++ .changes/next-release/api-change-ivsrealtime-97842.json | 5 +++++ .../next-release/api-change-kinesisanalyticsv2-95025.json | 5 +++++ .changes/next-release/api-change-opensearch-89320.json | 5 +++++ 5 files changed, 25 insertions(+) create mode 100644 .changes/next-release/api-change-controltower-90970.json create mode 100644 .changes/next-release/api-change-eks-88326.json create mode 100644 .changes/next-release/api-change-ivsrealtime-97842.json create mode 100644 .changes/next-release/api-change-kinesisanalyticsv2-95025.json create mode 100644 .changes/next-release/api-change-opensearch-89320.json diff --git a/.changes/next-release/api-change-controltower-90970.json b/.changes/next-release/api-change-controltower-90970.json new file mode 100644 index 000000000000..dc6723a83647 --- /dev/null +++ b/.changes/next-release/api-change-controltower-90970.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``controltower``", + "description": "Added ListLandingZoneOperations API." +} diff --git a/.changes/next-release/api-change-eks-88326.json b/.changes/next-release/api-change-eks-88326.json new file mode 100644 index 000000000000..5467679b22a3 --- /dev/null +++ b/.changes/next-release/api-change-eks-88326.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``eks``", + "description": "Added support for disabling unmanaged addons during cluster creation." +} diff --git a/.changes/next-release/api-change-ivsrealtime-97842.json b/.changes/next-release/api-change-ivsrealtime-97842.json new file mode 100644 index 000000000000..e7b93e9a6e55 --- /dev/null +++ b/.changes/next-release/api-change-ivsrealtime-97842.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ivs-realtime``", + "description": "IVS Real-Time now offers customers the ability to upload public keys for customer vended participant tokens." +} diff --git a/.changes/next-release/api-change-kinesisanalyticsv2-95025.json b/.changes/next-release/api-change-kinesisanalyticsv2-95025.json new file mode 100644 index 000000000000..cbcb1e239dd1 --- /dev/null +++ b/.changes/next-release/api-change-kinesisanalyticsv2-95025.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``kinesisanalyticsv2``", + "description": "This release adds support for new ListApplicationOperations and DescribeApplicationOperation APIs. It adds a new configuration to enable system rollbacks, adds field ApplicationVersionCreateTimestamp for clarity and improves support for pagination for APIs." +} diff --git a/.changes/next-release/api-change-opensearch-89320.json b/.changes/next-release/api-change-opensearch-89320.json new file mode 100644 index 000000000000..861c639b0656 --- /dev/null +++ b/.changes/next-release/api-change-opensearch-89320.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``opensearch``", + "description": "This release adds support for enabling or disabling Natural Language Query Processing feature for Amazon OpenSearch Service domains, and provides visibility into the current state of the setup or tear-down." +} From b19cf17174ec02bdbd08f1ee5ccc969149132621 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 26 Jun 2024 18:07:45 +0000 Subject: [PATCH 0083/1087] Bumping version to 1.33.16 --- .changes/1.33.16.json | 27 +++++++++++++++++++ .../api-change-controltower-90970.json | 5 ---- .../next-release/api-change-eks-88326.json | 5 ---- .../api-change-ivsrealtime-97842.json | 5 ---- .../api-change-kinesisanalyticsv2-95025.json | 5 ---- .../api-change-opensearch-89320.json | 5 ---- CHANGELOG.rst | 10 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 11 files changed, 41 insertions(+), 29 deletions(-) create mode 100644 .changes/1.33.16.json delete mode 100644 .changes/next-release/api-change-controltower-90970.json delete mode 100644 .changes/next-release/api-change-eks-88326.json delete mode 100644 .changes/next-release/api-change-ivsrealtime-97842.json delete mode 100644 .changes/next-release/api-change-kinesisanalyticsv2-95025.json delete mode 100644 .changes/next-release/api-change-opensearch-89320.json diff --git a/.changes/1.33.16.json b/.changes/1.33.16.json new file mode 100644 index 000000000000..ddc52d381f08 --- /dev/null +++ b/.changes/1.33.16.json @@ -0,0 +1,27 @@ +[ + { + "category": "``controltower``", + "description": "Added ListLandingZoneOperations API.", + "type": "api-change" + }, + { + "category": "``eks``", + "description": "Added support for disabling unmanaged addons during cluster creation.", + "type": "api-change" + }, + { + "category": "``ivs-realtime``", + "description": "IVS Real-Time now offers customers the ability to upload public keys for customer vended participant tokens.", + "type": "api-change" + }, + { + "category": "``kinesisanalyticsv2``", + "description": "This release adds support for new ListApplicationOperations and DescribeApplicationOperation APIs. It adds a new configuration to enable system rollbacks, adds field ApplicationVersionCreateTimestamp for clarity and improves support for pagination for APIs.", + "type": "api-change" + }, + { + "category": "``opensearch``", + "description": "This release adds support for enabling or disabling Natural Language Query Processing feature for Amazon OpenSearch Service domains, and provides visibility into the current state of the setup or tear-down.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-controltower-90970.json b/.changes/next-release/api-change-controltower-90970.json deleted file mode 100644 index dc6723a83647..000000000000 --- a/.changes/next-release/api-change-controltower-90970.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``controltower``", - "description": "Added ListLandingZoneOperations API." -} diff --git a/.changes/next-release/api-change-eks-88326.json b/.changes/next-release/api-change-eks-88326.json deleted file mode 100644 index 5467679b22a3..000000000000 --- a/.changes/next-release/api-change-eks-88326.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``eks``", - "description": "Added support for disabling unmanaged addons during cluster creation." -} diff --git a/.changes/next-release/api-change-ivsrealtime-97842.json b/.changes/next-release/api-change-ivsrealtime-97842.json deleted file mode 100644 index e7b93e9a6e55..000000000000 --- a/.changes/next-release/api-change-ivsrealtime-97842.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ivs-realtime``", - "description": "IVS Real-Time now offers customers the ability to upload public keys for customer vended participant tokens." -} diff --git a/.changes/next-release/api-change-kinesisanalyticsv2-95025.json b/.changes/next-release/api-change-kinesisanalyticsv2-95025.json deleted file mode 100644 index cbcb1e239dd1..000000000000 --- a/.changes/next-release/api-change-kinesisanalyticsv2-95025.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``kinesisanalyticsv2``", - "description": "This release adds support for new ListApplicationOperations and DescribeApplicationOperation APIs. It adds a new configuration to enable system rollbacks, adds field ApplicationVersionCreateTimestamp for clarity and improves support for pagination for APIs." -} diff --git a/.changes/next-release/api-change-opensearch-89320.json b/.changes/next-release/api-change-opensearch-89320.json deleted file mode 100644 index 861c639b0656..000000000000 --- a/.changes/next-release/api-change-opensearch-89320.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``opensearch``", - "description": "This release adds support for enabling or disabling Natural Language Query Processing feature for Amazon OpenSearch Service domains, and provides visibility into the current state of the setup or tear-down." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index ee386372c3f5..ba07ed17d69c 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,16 @@ CHANGELOG ========= +1.33.16 +======= + +* api-change:``controltower``: Added ListLandingZoneOperations API. +* api-change:``eks``: Added support for disabling unmanaged addons during cluster creation. +* api-change:``ivs-realtime``: IVS Real-Time now offers customers the ability to upload public keys for customer vended participant tokens. +* api-change:``kinesisanalyticsv2``: This release adds support for new ListApplicationOperations and DescribeApplicationOperation APIs. It adds a new configuration to enable system rollbacks, adds field ApplicationVersionCreateTimestamp for clarity and improves support for pagination for APIs. +* api-change:``opensearch``: This release adds support for enabling or disabling Natural Language Query Processing feature for Amazon OpenSearch Service domains, and provides visibility into the current state of the setup or tear-down. + + 1.33.15 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 7fb98fc40650..5343d2df57dc 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -17,7 +17,7 @@ """ import os -__version__ = '1.33.15' +__version__ = '1.33.16' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 4235236fdec7..b923a66080fb 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.33.' # The full version, including alpha/beta/rc tags. -release = '1.33.15' +release = '1.33.16' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index adb9e915dec6..fb257a1a982c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.34.133 + botocore==1.34.134 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index d40dc19eb7ac..bd964fddb605 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.34.133', + 'botocore==1.34.134', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 4c568ff67cbca46362054dc4f5a1784ab70fe4ce Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 27 Jun 2024 18:03:41 +0000 Subject: [PATCH 0084/1087] Update changelog based on model updates --- .../api-change-applicationautoscaling-38272.json | 5 +++++ .../api-change-chimesdkmediapipelines-85956.json | 5 +++++ .changes/next-release/api-change-cloudfront-64182.json | 5 +++++ .changes/next-release/api-change-datazone-10351.json | 5 +++++ .changes/next-release/api-change-elasticache-42791.json | 5 +++++ .changes/next-release/api-change-mq-71594.json | 5 +++++ .changes/next-release/api-change-qconnect-29348.json | 5 +++++ .changes/next-release/api-change-quicksight-48882.json | 5 +++++ .changes/next-release/api-change-rds-4797.json | 5 +++++ .changes/next-release/api-change-sagemaker-91536.json | 5 +++++ .changes/next-release/api-change-workspaces-25335.json | 5 +++++ 11 files changed, 55 insertions(+) create mode 100644 .changes/next-release/api-change-applicationautoscaling-38272.json create mode 100644 .changes/next-release/api-change-chimesdkmediapipelines-85956.json create mode 100644 .changes/next-release/api-change-cloudfront-64182.json create mode 100644 .changes/next-release/api-change-datazone-10351.json create mode 100644 .changes/next-release/api-change-elasticache-42791.json create mode 100644 .changes/next-release/api-change-mq-71594.json create mode 100644 .changes/next-release/api-change-qconnect-29348.json create mode 100644 .changes/next-release/api-change-quicksight-48882.json create mode 100644 .changes/next-release/api-change-rds-4797.json create mode 100644 .changes/next-release/api-change-sagemaker-91536.json create mode 100644 .changes/next-release/api-change-workspaces-25335.json diff --git a/.changes/next-release/api-change-applicationautoscaling-38272.json b/.changes/next-release/api-change-applicationautoscaling-38272.json new file mode 100644 index 000000000000..ef627a176583 --- /dev/null +++ b/.changes/next-release/api-change-applicationautoscaling-38272.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``application-autoscaling``", + "description": "Amazon WorkSpaces customers can now use Application Auto Scaling to automatically scale the number of virtual desktops in a WorkSpaces pool." +} diff --git a/.changes/next-release/api-change-chimesdkmediapipelines-85956.json b/.changes/next-release/api-change-chimesdkmediapipelines-85956.json new file mode 100644 index 000000000000..07737929802a --- /dev/null +++ b/.changes/next-release/api-change-chimesdkmediapipelines-85956.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``chime-sdk-media-pipelines``", + "description": "Added Amazon Transcribe multi language identification to Chime SDK call analytics. Enabling customers sending single stream audio to generate call recordings using Chime SDK call analytics" +} diff --git a/.changes/next-release/api-change-cloudfront-64182.json b/.changes/next-release/api-change-cloudfront-64182.json new file mode 100644 index 000000000000..141265c3bb5b --- /dev/null +++ b/.changes/next-release/api-change-cloudfront-64182.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``cloudfront``", + "description": "Doc only update for CloudFront that fixes customer-reported issue" +} diff --git a/.changes/next-release/api-change-datazone-10351.json b/.changes/next-release/api-change-datazone-10351.json new file mode 100644 index 000000000000..e5113cb0b0e9 --- /dev/null +++ b/.changes/next-release/api-change-datazone-10351.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``datazone``", + "description": "This release supports the data lineage feature of business data catalog in Amazon DataZone." +} diff --git a/.changes/next-release/api-change-elasticache-42791.json b/.changes/next-release/api-change-elasticache-42791.json new file mode 100644 index 000000000000..b2c128015368 --- /dev/null +++ b/.changes/next-release/api-change-elasticache-42791.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``elasticache``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." +} diff --git a/.changes/next-release/api-change-mq-71594.json b/.changes/next-release/api-change-mq-71594.json new file mode 100644 index 000000000000..91d54b43cf01 --- /dev/null +++ b/.changes/next-release/api-change-mq-71594.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``mq``", + "description": "This release makes the EngineVersion field optional for both broker and configuration and uses the latest available version by default. The AutoMinorVersionUpgrade field is also now optional for broker creation and defaults to 'true'." +} diff --git a/.changes/next-release/api-change-qconnect-29348.json b/.changes/next-release/api-change-qconnect-29348.json new file mode 100644 index 000000000000..d285dd81e102 --- /dev/null +++ b/.changes/next-release/api-change-qconnect-29348.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``qconnect``", + "description": "Adds CreateContentAssociation, ListContentAssociations, GetContentAssociation, and DeleteContentAssociation APIs." +} diff --git a/.changes/next-release/api-change-quicksight-48882.json b/.changes/next-release/api-change-quicksight-48882.json new file mode 100644 index 000000000000..581ae9650df8 --- /dev/null +++ b/.changes/next-release/api-change-quicksight-48882.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``quicksight``", + "description": "Adding support for Repeating Sections, Nested Filters" +} diff --git a/.changes/next-release/api-change-rds-4797.json b/.changes/next-release/api-change-rds-4797.json new file mode 100644 index 000000000000..838f55ff8313 --- /dev/null +++ b/.changes/next-release/api-change-rds-4797.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``rds``", + "description": "Updates Amazon RDS documentation for TAZ export to S3." +} diff --git a/.changes/next-release/api-change-sagemaker-91536.json b/.changes/next-release/api-change-sagemaker-91536.json new file mode 100644 index 000000000000..6a3b1fbfbd38 --- /dev/null +++ b/.changes/next-release/api-change-sagemaker-91536.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``sagemaker``", + "description": "Add capability for Admins to customize Studio experience for the user by showing or hiding Apps and MLTools." +} diff --git a/.changes/next-release/api-change-workspaces-25335.json b/.changes/next-release/api-change-workspaces-25335.json new file mode 100644 index 000000000000..cf0042866a55 --- /dev/null +++ b/.changes/next-release/api-change-workspaces-25335.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``workspaces``", + "description": "Added support for WorkSpaces Pools." +} From 42d12c80e228c74b2bdf6abf71f1094413b10319 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 27 Jun 2024 18:04:51 +0000 Subject: [PATCH 0085/1087] Bumping version to 1.33.17 --- .changes/1.33.17.json | 57 +++++++++++++++++++ ...i-change-applicationautoscaling-38272.json | 5 -- ...i-change-chimesdkmediapipelines-85956.json | 5 -- .../api-change-cloudfront-64182.json | 5 -- .../api-change-datazone-10351.json | 5 -- .../api-change-elasticache-42791.json | 5 -- .../next-release/api-change-mq-71594.json | 5 -- .../api-change-qconnect-29348.json | 5 -- .../api-change-quicksight-48882.json | 5 -- .../next-release/api-change-rds-4797.json | 5 -- .../api-change-sagemaker-91536.json | 5 -- .../api-change-workspaces-25335.json | 5 -- CHANGELOG.rst | 16 ++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 17 files changed, 77 insertions(+), 59 deletions(-) create mode 100644 .changes/1.33.17.json delete mode 100644 .changes/next-release/api-change-applicationautoscaling-38272.json delete mode 100644 .changes/next-release/api-change-chimesdkmediapipelines-85956.json delete mode 100644 .changes/next-release/api-change-cloudfront-64182.json delete mode 100644 .changes/next-release/api-change-datazone-10351.json delete mode 100644 .changes/next-release/api-change-elasticache-42791.json delete mode 100644 .changes/next-release/api-change-mq-71594.json delete mode 100644 .changes/next-release/api-change-qconnect-29348.json delete mode 100644 .changes/next-release/api-change-quicksight-48882.json delete mode 100644 .changes/next-release/api-change-rds-4797.json delete mode 100644 .changes/next-release/api-change-sagemaker-91536.json delete mode 100644 .changes/next-release/api-change-workspaces-25335.json diff --git a/.changes/1.33.17.json b/.changes/1.33.17.json new file mode 100644 index 000000000000..a2071cef608e --- /dev/null +++ b/.changes/1.33.17.json @@ -0,0 +1,57 @@ +[ + { + "category": "``application-autoscaling``", + "description": "Amazon WorkSpaces customers can now use Application Auto Scaling to automatically scale the number of virtual desktops in a WorkSpaces pool.", + "type": "api-change" + }, + { + "category": "``chime-sdk-media-pipelines``", + "description": "Added Amazon Transcribe multi language identification to Chime SDK call analytics. Enabling customers sending single stream audio to generate call recordings using Chime SDK call analytics", + "type": "api-change" + }, + { + "category": "``cloudfront``", + "description": "Doc only update for CloudFront that fixes customer-reported issue", + "type": "api-change" + }, + { + "category": "``datazone``", + "description": "This release supports the data lineage feature of business data catalog in Amazon DataZone.", + "type": "api-change" + }, + { + "category": "``elasticache``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing.", + "type": "api-change" + }, + { + "category": "``mq``", + "description": "This release makes the EngineVersion field optional for both broker and configuration and uses the latest available version by default. The AutoMinorVersionUpgrade field is also now optional for broker creation and defaults to 'true'.", + "type": "api-change" + }, + { + "category": "``qconnect``", + "description": "Adds CreateContentAssociation, ListContentAssociations, GetContentAssociation, and DeleteContentAssociation APIs.", + "type": "api-change" + }, + { + "category": "``quicksight``", + "description": "Adding support for Repeating Sections, Nested Filters", + "type": "api-change" + }, + { + "category": "``rds``", + "description": "Updates Amazon RDS documentation for TAZ export to S3.", + "type": "api-change" + }, + { + "category": "``sagemaker``", + "description": "Add capability for Admins to customize Studio experience for the user by showing or hiding Apps and MLTools.", + "type": "api-change" + }, + { + "category": "``workspaces``", + "description": "Added support for WorkSpaces Pools.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-applicationautoscaling-38272.json b/.changes/next-release/api-change-applicationautoscaling-38272.json deleted file mode 100644 index ef627a176583..000000000000 --- a/.changes/next-release/api-change-applicationautoscaling-38272.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``application-autoscaling``", - "description": "Amazon WorkSpaces customers can now use Application Auto Scaling to automatically scale the number of virtual desktops in a WorkSpaces pool." -} diff --git a/.changes/next-release/api-change-chimesdkmediapipelines-85956.json b/.changes/next-release/api-change-chimesdkmediapipelines-85956.json deleted file mode 100644 index 07737929802a..000000000000 --- a/.changes/next-release/api-change-chimesdkmediapipelines-85956.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``chime-sdk-media-pipelines``", - "description": "Added Amazon Transcribe multi language identification to Chime SDK call analytics. Enabling customers sending single stream audio to generate call recordings using Chime SDK call analytics" -} diff --git a/.changes/next-release/api-change-cloudfront-64182.json b/.changes/next-release/api-change-cloudfront-64182.json deleted file mode 100644 index 141265c3bb5b..000000000000 --- a/.changes/next-release/api-change-cloudfront-64182.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``cloudfront``", - "description": "Doc only update for CloudFront that fixes customer-reported issue" -} diff --git a/.changes/next-release/api-change-datazone-10351.json b/.changes/next-release/api-change-datazone-10351.json deleted file mode 100644 index e5113cb0b0e9..000000000000 --- a/.changes/next-release/api-change-datazone-10351.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``datazone``", - "description": "This release supports the data lineage feature of business data catalog in Amazon DataZone." -} diff --git a/.changes/next-release/api-change-elasticache-42791.json b/.changes/next-release/api-change-elasticache-42791.json deleted file mode 100644 index b2c128015368..000000000000 --- a/.changes/next-release/api-change-elasticache-42791.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``elasticache``", - "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." -} diff --git a/.changes/next-release/api-change-mq-71594.json b/.changes/next-release/api-change-mq-71594.json deleted file mode 100644 index 91d54b43cf01..000000000000 --- a/.changes/next-release/api-change-mq-71594.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``mq``", - "description": "This release makes the EngineVersion field optional for both broker and configuration and uses the latest available version by default. The AutoMinorVersionUpgrade field is also now optional for broker creation and defaults to 'true'." -} diff --git a/.changes/next-release/api-change-qconnect-29348.json b/.changes/next-release/api-change-qconnect-29348.json deleted file mode 100644 index d285dd81e102..000000000000 --- a/.changes/next-release/api-change-qconnect-29348.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``qconnect``", - "description": "Adds CreateContentAssociation, ListContentAssociations, GetContentAssociation, and DeleteContentAssociation APIs." -} diff --git a/.changes/next-release/api-change-quicksight-48882.json b/.changes/next-release/api-change-quicksight-48882.json deleted file mode 100644 index 581ae9650df8..000000000000 --- a/.changes/next-release/api-change-quicksight-48882.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``quicksight``", - "description": "Adding support for Repeating Sections, Nested Filters" -} diff --git a/.changes/next-release/api-change-rds-4797.json b/.changes/next-release/api-change-rds-4797.json deleted file mode 100644 index 838f55ff8313..000000000000 --- a/.changes/next-release/api-change-rds-4797.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``rds``", - "description": "Updates Amazon RDS documentation for TAZ export to S3." -} diff --git a/.changes/next-release/api-change-sagemaker-91536.json b/.changes/next-release/api-change-sagemaker-91536.json deleted file mode 100644 index 6a3b1fbfbd38..000000000000 --- a/.changes/next-release/api-change-sagemaker-91536.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``sagemaker``", - "description": "Add capability for Admins to customize Studio experience for the user by showing or hiding Apps and MLTools." -} diff --git a/.changes/next-release/api-change-workspaces-25335.json b/.changes/next-release/api-change-workspaces-25335.json deleted file mode 100644 index cf0042866a55..000000000000 --- a/.changes/next-release/api-change-workspaces-25335.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``workspaces``", - "description": "Added support for WorkSpaces Pools." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index ba07ed17d69c..9d775d9bb04f 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,22 @@ CHANGELOG ========= +1.33.17 +======= + +* api-change:``application-autoscaling``: Amazon WorkSpaces customers can now use Application Auto Scaling to automatically scale the number of virtual desktops in a WorkSpaces pool. +* api-change:``chime-sdk-media-pipelines``: Added Amazon Transcribe multi language identification to Chime SDK call analytics. Enabling customers sending single stream audio to generate call recordings using Chime SDK call analytics +* api-change:``cloudfront``: Doc only update for CloudFront that fixes customer-reported issue +* api-change:``datazone``: This release supports the data lineage feature of business data catalog in Amazon DataZone. +* api-change:``elasticache``: Add v2 smoke tests and smithy smokeTests trait for SDK testing. +* api-change:``mq``: This release makes the EngineVersion field optional for both broker and configuration and uses the latest available version by default. The AutoMinorVersionUpgrade field is also now optional for broker creation and defaults to 'true'. +* api-change:``qconnect``: Adds CreateContentAssociation, ListContentAssociations, GetContentAssociation, and DeleteContentAssociation APIs. +* api-change:``quicksight``: Adding support for Repeating Sections, Nested Filters +* api-change:``rds``: Updates Amazon RDS documentation for TAZ export to S3. +* api-change:``sagemaker``: Add capability for Admins to customize Studio experience for the user by showing or hiding Apps and MLTools. +* api-change:``workspaces``: Added support for WorkSpaces Pools. + + 1.33.16 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 5343d2df57dc..99f11bfe4d5b 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -17,7 +17,7 @@ """ import os -__version__ = '1.33.16' +__version__ = '1.33.17' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index b923a66080fb..951b4de9f0c9 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.33.' # The full version, including alpha/beta/rc tags. -release = '1.33.16' +release = '1.33.17' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index fb257a1a982c..1fade46c7dbc 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.34.134 + botocore==1.34.135 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index bd964fddb605..327ec07247c5 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.34.134', + 'botocore==1.34.135', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 26dce83a492759059bdf99317f97607ccce28c4a Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 28 Jun 2024 19:06:39 +0000 Subject: [PATCH 0086/1087] Merge customizations for EMR --- awscli/customizations/emr/argumentschema.py | 9 +++- .../emr/test_constants_instance_fleets.py | 47 +++++++++++++++++++ .../emr/test_create_cluster_release_label.py | 19 ++++++++ 3 files changed, 73 insertions(+), 2 deletions(-) diff --git a/awscli/customizations/emr/argumentschema.py b/awscli/customizations/emr/argumentschema.py index 3c85e7cdd6c6..6f86fc9f50f7 100644 --- a/awscli/customizations/emr/argumentschema.py +++ b/awscli/customizations/emr/argumentschema.py @@ -343,6 +343,11 @@ "type": "string", "description": "The AMI ID of a custom AMI to use when Amazon EMR provisions EC2 instances." }, + "Priority": { + "type": "double", + "description": "The priority at which Amazon EMR launches the EC2 instances with this instance type. " + "Priority starts at 0, which is the highest priority. Amazon EMR considers the highest priority first." + }, "EbsConfiguration": { "type": "object", "description": "EBS configuration that is associated with the instance group.", @@ -409,7 +414,7 @@ "AllocationStrategy": { "type": "string", "description": "The strategy to use in launching On-Demand instance fleets.", - "enum": ["lowest-price"] + "enum": ["lowest-price", "prioritized"] }, "CapacityReservationOptions": { "type": "object", @@ -457,7 +462,7 @@ "AllocationStrategy": { "type": "string", "description": "The strategy to use in launching Spot instance fleets.", - "enum": ["capacity-optimized", "price-capacity-optimized", "lowest-price", "diversified"] + "enum": ["capacity-optimized", "price-capacity-optimized", "lowest-price", "diversified", "capacity-optimized-prioritized"] } } } diff --git a/tests/unit/customizations/emr/test_constants_instance_fleets.py b/tests/unit/customizations/emr/test_constants_instance_fleets.py index ace18efe87d4..ed92e8fa5e79 100644 --- a/tests/unit/customizations/emr/test_constants_instance_fleets.py +++ b/tests/unit/customizations/emr/test_constants_instance_fleets.py @@ -69,6 +69,19 @@ 'WeightedCapacity=4}],LaunchSpecifications={SpotSpecification={TimeoutDurationMinutes=20,' 'TimeoutAction=TERMINATE_CLUSTER,AllocationStrategy=diversified}}') +INSTANCE_FLEETS_WITH_PRIORITIZED_ALLOCATION_STRATEGY_SPOT_AND_OD = ( + 'InstanceFleetType=MASTER,TargetSpotCapacity=1,InstanceTypeConfigs=[{InstanceType=d2.xlarge,BidPrice=0.1,Priority=0.0}],' + 'LaunchSpecifications={SpotSpecification={TimeoutDurationMinutes=30,TimeoutAction=TERMINATE_CLUSTER,' + 'AllocationStrategy=capacity-optimized-prioritized},OnDemandSpecification={AllocationStrategy=prioritized}} ' + 'InstanceFleetType=CORE,TargetSpotCapacity=100,InstanceTypeConfigs=[{InstanceType=d2.xlarge,BidPrice=0.5,' + 'WeightedCapacity=1,Priority=0.0},{InstanceType=m3.2xlarge,BidPrice=0.2,WeightedCapacity=2,Priority=1.0},{InstanceType=m3.4xlarge,BidPrice=0.4,' + 'WeightedCapacity=4,Priority=99.0}],LaunchSpecifications={SpotSpecification={TimeoutDurationMinutes=32,' + 'TimeoutAction=TERMINATE_CLUSTER,AllocationStrategy=capacity-optimized-prioritized},OnDemandSpecification={AllocationStrategy=prioritized}} ' + 'InstanceFleetType=TASK,TargetSpotCapacity=100,InstanceTypeConfigs=[{InstanceType=d2.xlarge,BidPrice=0.5,' + 'WeightedCapacity=1,Priority=10.0},{InstanceType=m3.2xlarge,BidPrice=0.2,WeightedCapacity=2,Priority=0.0},{InstanceType=m3.4xlarge,BidPrice=0.4,' + 'WeightedCapacity=4,Priority=100.0}],LaunchSpecifications={SpotSpecification={TimeoutDurationMinutes=77,' + 'TimeoutAction=TERMINATE_CLUSTER,AllocationStrategy=capacity-optimized-prioritized},OnDemandSpecification={AllocationStrategy=prioritized}}') + RES_INSTANCE_FLEETS_WITH_ON_DEMAND_MASTER_ONLY = \ [{"InstanceTypeConfigs": [{"InstanceType": "d2.xlarge"}], "LaunchSpecifications": { @@ -242,3 +255,37 @@ "InstanceFleetType": "TASK", "Name": "TASK" }] + + +RES_INSTANCE_FLEETS_WITH_PRIORITIZED_ALLOCATION_STRATEGY_SPOT_AND_OD = \ + [{"InstanceTypeConfigs": [{"InstanceType": "d2.xlarge","BidPrice": "0.1","Priority": 0.0}], + "LaunchSpecifications": { + "SpotSpecification": {"TimeoutDurationMinutes": 30, "TimeoutAction": "TERMINATE_CLUSTER", "AllocationStrategy": "capacity-optimized-prioritized"}, + "OnDemandSpecification": {"AllocationStrategy": "prioritized"} + }, + "TargetSpotCapacity": 1, + "InstanceFleetType": "MASTER", + "Name": "MASTER" + }, + {"InstanceTypeConfigs": [{"InstanceType": "d2.xlarge","BidPrice": "0.5","WeightedCapacity": 1,"Priority": 0.0}, + {"InstanceType": "m3.2xlarge","BidPrice": "0.2","WeightedCapacity": 2,"Priority": 1.0},{"InstanceType": "m3.4xlarge","BidPrice": "0.4", + "WeightedCapacity": 4,"Priority": 99.0}], + "LaunchSpecifications" : { + "SpotSpecification": {"TimeoutDurationMinutes": 32, "TimeoutAction": "TERMINATE_CLUSTER", "AllocationStrategy": "capacity-optimized-prioritized"}, + "OnDemandSpecification": {"AllocationStrategy": "prioritized"} + }, + "TargetSpotCapacity": 100, + "InstanceFleetType": "CORE", + "Name": "CORE" + }, + {"InstanceTypeConfigs": [{"InstanceType": "d2.xlarge","BidPrice": "0.5","WeightedCapacity": 1,"Priority": 10.0}, + {"InstanceType": "m3.2xlarge","BidPrice": "0.2","WeightedCapacity": 2,"Priority": 0.0},{"InstanceType": "m3.4xlarge","BidPrice": "0.4", + "WeightedCapacity": 4,"Priority": 100.0}], + "LaunchSpecifications" : { + "SpotSpecification": {"TimeoutDurationMinutes": 77, "TimeoutAction": "TERMINATE_CLUSTER", "AllocationStrategy": "capacity-optimized-prioritized"}, + "OnDemandSpecification": {"AllocationStrategy": "prioritized"} + }, + "TargetSpotCapacity": 100, + "InstanceFleetType": "TASK", + "Name": "TASK" + }] \ No newline at end of file diff --git a/tests/unit/customizations/emr/test_create_cluster_release_label.py b/tests/unit/customizations/emr/test_create_cluster_release_label.py index 2accdf2b0c42..14dc4969a84f 100644 --- a/tests/unit/customizations/emr/test_create_cluster_release_label.py +++ b/tests/unit/customizations/emr/test_create_cluster_release_label.py @@ -1587,5 +1587,24 @@ def test_instance_fleets_with_spot_allocation_strategy(self): } self.assert_params_for_cmd(cmd, result) + def test_instance_fleets_with_prioritized_allocation_strategy_spot_ondemand(self): + cmd = (self.prefix + '--release-label emr-4.2.0 --instance-fleets ' + + CONSTANTS_FLEET.INSTANCE_FLEETS_WITH_PRIORITIZED_ALLOCATION_STRATEGY_SPOT_AND_OD + + ' --ec2-attributes AvailabilityZones=[us-east-1a,us-east-1b]') + result = \ + { + 'Name': DEFAULT_CLUSTER_NAME, + 'Instances': {'KeepJobFlowAliveWhenNoSteps': True, + 'TerminationProtected': False, + 'InstanceFleets': + CONSTANTS_FLEET.RES_INSTANCE_FLEETS_WITH_PRIORITIZED_ALLOCATION_STRATEGY_SPOT_AND_OD, + 'Placement': {'AvailabilityZones': ['us-east-1a','us-east-1b']} + }, + 'ReleaseLabel': 'emr-4.2.0', + 'VisibleToAllUsers': True, + 'Tags': [] + } + self.assert_params_for_cmd(cmd, result) + if __name__ == "__main__": unittest.main() From 54fe47d42792cd2c3b204ba00b7e331010fd94b1 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 28 Jun 2024 19:06:45 +0000 Subject: [PATCH 0087/1087] Update changelog based on model updates --- .changes/next-release/api-change-acmpca-8694.json | 5 +++++ .changes/next-release/api-change-cloudhsmv2-15264.json | 5 +++++ .changes/next-release/api-change-connect-83428.json | 5 +++++ .changes/next-release/api-change-emr-40772.json | 5 +++++ .changes/next-release/api-change-glue-49070.json | 5 +++++ .../next-release/api-change-kinesisanalyticsv2-41383.json | 5 +++++ .changes/next-release/api-change-opensearch-87095.json | 5 +++++ .changes/next-release/api-change-pi-25517.json | 5 +++++ .changes/next-release/api-change-workspaces-35537.json | 5 +++++ 9 files changed, 45 insertions(+) create mode 100644 .changes/next-release/api-change-acmpca-8694.json create mode 100644 .changes/next-release/api-change-cloudhsmv2-15264.json create mode 100644 .changes/next-release/api-change-connect-83428.json create mode 100644 .changes/next-release/api-change-emr-40772.json create mode 100644 .changes/next-release/api-change-glue-49070.json create mode 100644 .changes/next-release/api-change-kinesisanalyticsv2-41383.json create mode 100644 .changes/next-release/api-change-opensearch-87095.json create mode 100644 .changes/next-release/api-change-pi-25517.json create mode 100644 .changes/next-release/api-change-workspaces-35537.json diff --git a/.changes/next-release/api-change-acmpca-8694.json b/.changes/next-release/api-change-acmpca-8694.json new file mode 100644 index 000000000000..7c3ab5df8aa6 --- /dev/null +++ b/.changes/next-release/api-change-acmpca-8694.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``acm-pca``", + "description": "Added CCPC_LEVEL_1_OR_HIGHER KeyStorageSecurityStandard and SM2 KeyAlgorithm and SM3WITHSM2 SigningAlgorithm for China regions." +} diff --git a/.changes/next-release/api-change-cloudhsmv2-15264.json b/.changes/next-release/api-change-cloudhsmv2-15264.json new file mode 100644 index 000000000000..c46752e540d6 --- /dev/null +++ b/.changes/next-release/api-change-cloudhsmv2-15264.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``cloudhsmv2``", + "description": "Added 3 new APIs to support backup sharing: GetResourcePolicy, PutResourcePolicy, and DeleteResourcePolicy. Added BackupArn to the output of the DescribeBackups API. Added support for BackupArn in the CreateCluster API." +} diff --git a/.changes/next-release/api-change-connect-83428.json b/.changes/next-release/api-change-connect-83428.json new file mode 100644 index 000000000000..aae57933e58a --- /dev/null +++ b/.changes/next-release/api-change-connect-83428.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``connect``", + "description": "This release supports showing PreferredAgentRouting step via DescribeContact API." +} diff --git a/.changes/next-release/api-change-emr-40772.json b/.changes/next-release/api-change-emr-40772.json new file mode 100644 index 000000000000..08b09c363e79 --- /dev/null +++ b/.changes/next-release/api-change-emr-40772.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``emr``", + "description": "This release provides the support for new allocation strategies i.e. CAPACITY_OPTIMIZED_PRIORITIZED for Spot and PRIORITIZED for On-Demand by taking input of priority value for each instance type for instance fleet clusters." +} diff --git a/.changes/next-release/api-change-glue-49070.json b/.changes/next-release/api-change-glue-49070.json new file mode 100644 index 000000000000..7de3c435c5eb --- /dev/null +++ b/.changes/next-release/api-change-glue-49070.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``glue``", + "description": "Added AttributesToGet parameter to Glue GetDatabases, allowing caller to limit output to include only the database name." +} diff --git a/.changes/next-release/api-change-kinesisanalyticsv2-41383.json b/.changes/next-release/api-change-kinesisanalyticsv2-41383.json new file mode 100644 index 000000000000..aca120c1063c --- /dev/null +++ b/.changes/next-release/api-change-kinesisanalyticsv2-41383.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``kinesisanalyticsv2``", + "description": "Support for Flink 1.19 in Managed Service for Apache Flink" +} diff --git a/.changes/next-release/api-change-opensearch-87095.json b/.changes/next-release/api-change-opensearch-87095.json new file mode 100644 index 000000000000..4c3a8a186042 --- /dev/null +++ b/.changes/next-release/api-change-opensearch-87095.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``opensearch``", + "description": "This release removes support for enabling or disabling Natural Language Query Processing feature for Amazon OpenSearch Service domains." +} diff --git a/.changes/next-release/api-change-pi-25517.json b/.changes/next-release/api-change-pi-25517.json new file mode 100644 index 000000000000..2b78c2205314 --- /dev/null +++ b/.changes/next-release/api-change-pi-25517.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``pi``", + "description": "Noting that the filter db.sql.db_id isn't available for RDS for SQL Server DB instances." +} diff --git a/.changes/next-release/api-change-workspaces-35537.json b/.changes/next-release/api-change-workspaces-35537.json new file mode 100644 index 000000000000..225f5156cc55 --- /dev/null +++ b/.changes/next-release/api-change-workspaces-35537.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``workspaces``", + "description": "Added support for Red Hat Enterprise Linux 8 on Amazon WorkSpaces Personal." +} From 4ae2d7d3721f0ff9b087638bb6bea52c07b52100 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 28 Jun 2024 19:07:52 +0000 Subject: [PATCH 0088/1087] Bumping version to 1.33.18 --- .changes/1.33.18.json | 47 +++++++++++++++++++ .../next-release/api-change-acmpca-8694.json | 5 -- .../api-change-cloudhsmv2-15264.json | 5 -- .../api-change-connect-83428.json | 5 -- .../next-release/api-change-emr-40772.json | 5 -- .../next-release/api-change-glue-49070.json | 5 -- .../api-change-kinesisanalyticsv2-41383.json | 5 -- .../api-change-opensearch-87095.json | 5 -- .../next-release/api-change-pi-25517.json | 5 -- .../api-change-workspaces-35537.json | 5 -- CHANGELOG.rst | 14 ++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 15 files changed, 65 insertions(+), 49 deletions(-) create mode 100644 .changes/1.33.18.json delete mode 100644 .changes/next-release/api-change-acmpca-8694.json delete mode 100644 .changes/next-release/api-change-cloudhsmv2-15264.json delete mode 100644 .changes/next-release/api-change-connect-83428.json delete mode 100644 .changes/next-release/api-change-emr-40772.json delete mode 100644 .changes/next-release/api-change-glue-49070.json delete mode 100644 .changes/next-release/api-change-kinesisanalyticsv2-41383.json delete mode 100644 .changes/next-release/api-change-opensearch-87095.json delete mode 100644 .changes/next-release/api-change-pi-25517.json delete mode 100644 .changes/next-release/api-change-workspaces-35537.json diff --git a/.changes/1.33.18.json b/.changes/1.33.18.json new file mode 100644 index 000000000000..b1e0c5319ac6 --- /dev/null +++ b/.changes/1.33.18.json @@ -0,0 +1,47 @@ +[ + { + "category": "``acm-pca``", + "description": "Added CCPC_LEVEL_1_OR_HIGHER KeyStorageSecurityStandard and SM2 KeyAlgorithm and SM3WITHSM2 SigningAlgorithm for China regions.", + "type": "api-change" + }, + { + "category": "``cloudhsmv2``", + "description": "Added 3 new APIs to support backup sharing: GetResourcePolicy, PutResourcePolicy, and DeleteResourcePolicy. Added BackupArn to the output of the DescribeBackups API. Added support for BackupArn in the CreateCluster API.", + "type": "api-change" + }, + { + "category": "``connect``", + "description": "This release supports showing PreferredAgentRouting step via DescribeContact API.", + "type": "api-change" + }, + { + "category": "``emr``", + "description": "This release provides the support for new allocation strategies i.e. CAPACITY_OPTIMIZED_PRIORITIZED for Spot and PRIORITIZED for On-Demand by taking input of priority value for each instance type for instance fleet clusters.", + "type": "api-change" + }, + { + "category": "``glue``", + "description": "Added AttributesToGet parameter to Glue GetDatabases, allowing caller to limit output to include only the database name.", + "type": "api-change" + }, + { + "category": "``kinesisanalyticsv2``", + "description": "Support for Flink 1.19 in Managed Service for Apache Flink", + "type": "api-change" + }, + { + "category": "``opensearch``", + "description": "This release removes support for enabling or disabling Natural Language Query Processing feature for Amazon OpenSearch Service domains.", + "type": "api-change" + }, + { + "category": "``pi``", + "description": "Noting that the filter db.sql.db_id isn't available for RDS for SQL Server DB instances.", + "type": "api-change" + }, + { + "category": "``workspaces``", + "description": "Added support for Red Hat Enterprise Linux 8 on Amazon WorkSpaces Personal.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-acmpca-8694.json b/.changes/next-release/api-change-acmpca-8694.json deleted file mode 100644 index 7c3ab5df8aa6..000000000000 --- a/.changes/next-release/api-change-acmpca-8694.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``acm-pca``", - "description": "Added CCPC_LEVEL_1_OR_HIGHER KeyStorageSecurityStandard and SM2 KeyAlgorithm and SM3WITHSM2 SigningAlgorithm for China regions." -} diff --git a/.changes/next-release/api-change-cloudhsmv2-15264.json b/.changes/next-release/api-change-cloudhsmv2-15264.json deleted file mode 100644 index c46752e540d6..000000000000 --- a/.changes/next-release/api-change-cloudhsmv2-15264.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``cloudhsmv2``", - "description": "Added 3 new APIs to support backup sharing: GetResourcePolicy, PutResourcePolicy, and DeleteResourcePolicy. Added BackupArn to the output of the DescribeBackups API. Added support for BackupArn in the CreateCluster API." -} diff --git a/.changes/next-release/api-change-connect-83428.json b/.changes/next-release/api-change-connect-83428.json deleted file mode 100644 index aae57933e58a..000000000000 --- a/.changes/next-release/api-change-connect-83428.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``connect``", - "description": "This release supports showing PreferredAgentRouting step via DescribeContact API." -} diff --git a/.changes/next-release/api-change-emr-40772.json b/.changes/next-release/api-change-emr-40772.json deleted file mode 100644 index 08b09c363e79..000000000000 --- a/.changes/next-release/api-change-emr-40772.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``emr``", - "description": "This release provides the support for new allocation strategies i.e. CAPACITY_OPTIMIZED_PRIORITIZED for Spot and PRIORITIZED for On-Demand by taking input of priority value for each instance type for instance fleet clusters." -} diff --git a/.changes/next-release/api-change-glue-49070.json b/.changes/next-release/api-change-glue-49070.json deleted file mode 100644 index 7de3c435c5eb..000000000000 --- a/.changes/next-release/api-change-glue-49070.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``glue``", - "description": "Added AttributesToGet parameter to Glue GetDatabases, allowing caller to limit output to include only the database name." -} diff --git a/.changes/next-release/api-change-kinesisanalyticsv2-41383.json b/.changes/next-release/api-change-kinesisanalyticsv2-41383.json deleted file mode 100644 index aca120c1063c..000000000000 --- a/.changes/next-release/api-change-kinesisanalyticsv2-41383.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``kinesisanalyticsv2``", - "description": "Support for Flink 1.19 in Managed Service for Apache Flink" -} diff --git a/.changes/next-release/api-change-opensearch-87095.json b/.changes/next-release/api-change-opensearch-87095.json deleted file mode 100644 index 4c3a8a186042..000000000000 --- a/.changes/next-release/api-change-opensearch-87095.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``opensearch``", - "description": "This release removes support for enabling or disabling Natural Language Query Processing feature for Amazon OpenSearch Service domains." -} diff --git a/.changes/next-release/api-change-pi-25517.json b/.changes/next-release/api-change-pi-25517.json deleted file mode 100644 index 2b78c2205314..000000000000 --- a/.changes/next-release/api-change-pi-25517.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``pi``", - "description": "Noting that the filter db.sql.db_id isn't available for RDS for SQL Server DB instances." -} diff --git a/.changes/next-release/api-change-workspaces-35537.json b/.changes/next-release/api-change-workspaces-35537.json deleted file mode 100644 index 225f5156cc55..000000000000 --- a/.changes/next-release/api-change-workspaces-35537.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``workspaces``", - "description": "Added support for Red Hat Enterprise Linux 8 on Amazon WorkSpaces Personal." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 9d775d9bb04f..7750af7774ec 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,20 @@ CHANGELOG ========= +1.33.18 +======= + +* api-change:``acm-pca``: Added CCPC_LEVEL_1_OR_HIGHER KeyStorageSecurityStandard and SM2 KeyAlgorithm and SM3WITHSM2 SigningAlgorithm for China regions. +* api-change:``cloudhsmv2``: Added 3 new APIs to support backup sharing: GetResourcePolicy, PutResourcePolicy, and DeleteResourcePolicy. Added BackupArn to the output of the DescribeBackups API. Added support for BackupArn in the CreateCluster API. +* api-change:``connect``: This release supports showing PreferredAgentRouting step via DescribeContact API. +* api-change:``emr``: This release provides the support for new allocation strategies i.e. CAPACITY_OPTIMIZED_PRIORITIZED for Spot and PRIORITIZED for On-Demand by taking input of priority value for each instance type for instance fleet clusters. +* api-change:``glue``: Added AttributesToGet parameter to Glue GetDatabases, allowing caller to limit output to include only the database name. +* api-change:``kinesisanalyticsv2``: Support for Flink 1.19 in Managed Service for Apache Flink +* api-change:``opensearch``: This release removes support for enabling or disabling Natural Language Query Processing feature for Amazon OpenSearch Service domains. +* api-change:``pi``: Noting that the filter db.sql.db_id isn't available for RDS for SQL Server DB instances. +* api-change:``workspaces``: Added support for Red Hat Enterprise Linux 8 on Amazon WorkSpaces Personal. + + 1.33.17 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 99f11bfe4d5b..c89bc5ca2aa4 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -17,7 +17,7 @@ """ import os -__version__ = '1.33.17' +__version__ = '1.33.18' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 951b4de9f0c9..e330a3125eb6 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.33.' # The full version, including alpha/beta/rc tags. -release = '1.33.17' +release = '1.33.18' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 1fade46c7dbc..84e3c0df5680 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.34.135 + botocore==1.34.136 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 327ec07247c5..009624f94342 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.34.135', + 'botocore==1.34.136', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 1626155595a23b6ccc052701b0bf7871f570859c Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 1 Jul 2024 19:31:03 +0000 Subject: [PATCH 0089/1087] Update changelog based on model updates --- .changes/next-release/api-change-apigateway-14714.json | 5 +++++ .changes/next-release/api-change-cognitoidentity-38327.json | 5 +++++ .changes/next-release/api-change-connect-95487.json | 5 +++++ .changes/next-release/api-change-docdb-48323.json | 5 +++++ .changes/next-release/api-change-eks-6283.json | 5 +++++ .../next-release/api-change-paymentcryptography-63349.json | 5 +++++ .../api-change-paymentcryptographydata-48946.json | 5 +++++ .changes/next-release/api-change-stepfunctions-59247.json | 5 +++++ .changes/next-release/api-change-swf-14213.json | 5 +++++ .changes/next-release/api-change-wafv2-10562.json | 5 +++++ 10 files changed, 50 insertions(+) create mode 100644 .changes/next-release/api-change-apigateway-14714.json create mode 100644 .changes/next-release/api-change-cognitoidentity-38327.json create mode 100644 .changes/next-release/api-change-connect-95487.json create mode 100644 .changes/next-release/api-change-docdb-48323.json create mode 100644 .changes/next-release/api-change-eks-6283.json create mode 100644 .changes/next-release/api-change-paymentcryptography-63349.json create mode 100644 .changes/next-release/api-change-paymentcryptographydata-48946.json create mode 100644 .changes/next-release/api-change-stepfunctions-59247.json create mode 100644 .changes/next-release/api-change-swf-14213.json create mode 100644 .changes/next-release/api-change-wafv2-10562.json diff --git a/.changes/next-release/api-change-apigateway-14714.json b/.changes/next-release/api-change-apigateway-14714.json new file mode 100644 index 000000000000..854325fec289 --- /dev/null +++ b/.changes/next-release/api-change-apigateway-14714.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``apigateway``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." +} diff --git a/.changes/next-release/api-change-cognitoidentity-38327.json b/.changes/next-release/api-change-cognitoidentity-38327.json new file mode 100644 index 000000000000..625065c7540b --- /dev/null +++ b/.changes/next-release/api-change-cognitoidentity-38327.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``cognito-identity``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." +} diff --git a/.changes/next-release/api-change-connect-95487.json b/.changes/next-release/api-change-connect-95487.json new file mode 100644 index 000000000000..1f5477bcac14 --- /dev/null +++ b/.changes/next-release/api-change-connect-95487.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``connect``", + "description": "Authentication profiles are Amazon Connect resources (in gated preview) that allow you to configure authentication settings for users in your contact center. This release adds support for new ListAuthenticationProfiles, DescribeAuthenticationProfile and UpdateAuthenticationProfile APIs." +} diff --git a/.changes/next-release/api-change-docdb-48323.json b/.changes/next-release/api-change-docdb-48323.json new file mode 100644 index 000000000000..7f0202c56035 --- /dev/null +++ b/.changes/next-release/api-change-docdb-48323.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``docdb``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." +} diff --git a/.changes/next-release/api-change-eks-6283.json b/.changes/next-release/api-change-eks-6283.json new file mode 100644 index 000000000000..1c00e5bb1c9f --- /dev/null +++ b/.changes/next-release/api-change-eks-6283.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``eks``", + "description": "Updates EKS managed node groups to support EC2 Capacity Blocks for ML" +} diff --git a/.changes/next-release/api-change-paymentcryptography-63349.json b/.changes/next-release/api-change-paymentcryptography-63349.json new file mode 100644 index 000000000000..4b9faa53e585 --- /dev/null +++ b/.changes/next-release/api-change-paymentcryptography-63349.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``payment-cryptography``", + "description": "Added further restrictions on logging of potentially sensitive inputs and outputs." +} diff --git a/.changes/next-release/api-change-paymentcryptographydata-48946.json b/.changes/next-release/api-change-paymentcryptographydata-48946.json new file mode 100644 index 000000000000..4db49fcb35e5 --- /dev/null +++ b/.changes/next-release/api-change-paymentcryptographydata-48946.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``payment-cryptography-data``", + "description": "Adding support for dynamic keys for encrypt, decrypt, re-encrypt and translate pin functions. With this change, customers can use one-time TR-31 keys directly in dataplane operations without the need to first import them into the service." +} diff --git a/.changes/next-release/api-change-stepfunctions-59247.json b/.changes/next-release/api-change-stepfunctions-59247.json new file mode 100644 index 000000000000..240e2de3e10f --- /dev/null +++ b/.changes/next-release/api-change-stepfunctions-59247.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``stepfunctions``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." +} diff --git a/.changes/next-release/api-change-swf-14213.json b/.changes/next-release/api-change-swf-14213.json new file mode 100644 index 000000000000..a8615ae58160 --- /dev/null +++ b/.changes/next-release/api-change-swf-14213.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``swf``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." +} diff --git a/.changes/next-release/api-change-wafv2-10562.json b/.changes/next-release/api-change-wafv2-10562.json new file mode 100644 index 000000000000..3b3e48335977 --- /dev/null +++ b/.changes/next-release/api-change-wafv2-10562.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``wafv2``", + "description": "JSON body inspection: Update documentation to clarify that JSON parsing doesn't include full validation." +} From 00be98adf573249dfeecdc6f238d568b8930bcd4 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 1 Jul 2024 19:32:36 +0000 Subject: [PATCH 0090/1087] Bumping version to 1.33.19 --- .changes/1.33.19.json | 52 +++++++++++++++++++ .../api-change-apigateway-14714.json | 5 -- .../api-change-cognitoidentity-38327.json | 5 -- .../api-change-connect-95487.json | 5 -- .../next-release/api-change-docdb-48323.json | 5 -- .../next-release/api-change-eks-6283.json | 5 -- .../api-change-paymentcryptography-63349.json | 5 -- ...-change-paymentcryptographydata-48946.json | 5 -- .../api-change-stepfunctions-59247.json | 5 -- .../next-release/api-change-swf-14213.json | 5 -- .../next-release/api-change-wafv2-10562.json | 5 -- CHANGELOG.rst | 15 ++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 16 files changed, 71 insertions(+), 54 deletions(-) create mode 100644 .changes/1.33.19.json delete mode 100644 .changes/next-release/api-change-apigateway-14714.json delete mode 100644 .changes/next-release/api-change-cognitoidentity-38327.json delete mode 100644 .changes/next-release/api-change-connect-95487.json delete mode 100644 .changes/next-release/api-change-docdb-48323.json delete mode 100644 .changes/next-release/api-change-eks-6283.json delete mode 100644 .changes/next-release/api-change-paymentcryptography-63349.json delete mode 100644 .changes/next-release/api-change-paymentcryptographydata-48946.json delete mode 100644 .changes/next-release/api-change-stepfunctions-59247.json delete mode 100644 .changes/next-release/api-change-swf-14213.json delete mode 100644 .changes/next-release/api-change-wafv2-10562.json diff --git a/.changes/1.33.19.json b/.changes/1.33.19.json new file mode 100644 index 000000000000..f2d23906e7f0 --- /dev/null +++ b/.changes/1.33.19.json @@ -0,0 +1,52 @@ +[ + { + "category": "``apigateway``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing.", + "type": "api-change" + }, + { + "category": "``cognito-identity``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing.", + "type": "api-change" + }, + { + "category": "``connect``", + "description": "Authentication profiles are Amazon Connect resources (in gated preview) that allow you to configure authentication settings for users in your contact center. This release adds support for new ListAuthenticationProfiles, DescribeAuthenticationProfile and UpdateAuthenticationProfile APIs.", + "type": "api-change" + }, + { + "category": "``docdb``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing.", + "type": "api-change" + }, + { + "category": "``eks``", + "description": "Updates EKS managed node groups to support EC2 Capacity Blocks for ML", + "type": "api-change" + }, + { + "category": "``payment-cryptography``", + "description": "Added further restrictions on logging of potentially sensitive inputs and outputs.", + "type": "api-change" + }, + { + "category": "``payment-cryptography-data``", + "description": "Adding support for dynamic keys for encrypt, decrypt, re-encrypt and translate pin functions. With this change, customers can use one-time TR-31 keys directly in dataplane operations without the need to first import them into the service.", + "type": "api-change" + }, + { + "category": "``stepfunctions``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing.", + "type": "api-change" + }, + { + "category": "``swf``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing.", + "type": "api-change" + }, + { + "category": "``wafv2``", + "description": "JSON body inspection: Update documentation to clarify that JSON parsing doesn't include full validation.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-apigateway-14714.json b/.changes/next-release/api-change-apigateway-14714.json deleted file mode 100644 index 854325fec289..000000000000 --- a/.changes/next-release/api-change-apigateway-14714.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``apigateway``", - "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." -} diff --git a/.changes/next-release/api-change-cognitoidentity-38327.json b/.changes/next-release/api-change-cognitoidentity-38327.json deleted file mode 100644 index 625065c7540b..000000000000 --- a/.changes/next-release/api-change-cognitoidentity-38327.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``cognito-identity``", - "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." -} diff --git a/.changes/next-release/api-change-connect-95487.json b/.changes/next-release/api-change-connect-95487.json deleted file mode 100644 index 1f5477bcac14..000000000000 --- a/.changes/next-release/api-change-connect-95487.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``connect``", - "description": "Authentication profiles are Amazon Connect resources (in gated preview) that allow you to configure authentication settings for users in your contact center. This release adds support for new ListAuthenticationProfiles, DescribeAuthenticationProfile and UpdateAuthenticationProfile APIs." -} diff --git a/.changes/next-release/api-change-docdb-48323.json b/.changes/next-release/api-change-docdb-48323.json deleted file mode 100644 index 7f0202c56035..000000000000 --- a/.changes/next-release/api-change-docdb-48323.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``docdb``", - "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." -} diff --git a/.changes/next-release/api-change-eks-6283.json b/.changes/next-release/api-change-eks-6283.json deleted file mode 100644 index 1c00e5bb1c9f..000000000000 --- a/.changes/next-release/api-change-eks-6283.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``eks``", - "description": "Updates EKS managed node groups to support EC2 Capacity Blocks for ML" -} diff --git a/.changes/next-release/api-change-paymentcryptography-63349.json b/.changes/next-release/api-change-paymentcryptography-63349.json deleted file mode 100644 index 4b9faa53e585..000000000000 --- a/.changes/next-release/api-change-paymentcryptography-63349.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``payment-cryptography``", - "description": "Added further restrictions on logging of potentially sensitive inputs and outputs." -} diff --git a/.changes/next-release/api-change-paymentcryptographydata-48946.json b/.changes/next-release/api-change-paymentcryptographydata-48946.json deleted file mode 100644 index 4db49fcb35e5..000000000000 --- a/.changes/next-release/api-change-paymentcryptographydata-48946.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``payment-cryptography-data``", - "description": "Adding support for dynamic keys for encrypt, decrypt, re-encrypt and translate pin functions. With this change, customers can use one-time TR-31 keys directly in dataplane operations without the need to first import them into the service." -} diff --git a/.changes/next-release/api-change-stepfunctions-59247.json b/.changes/next-release/api-change-stepfunctions-59247.json deleted file mode 100644 index 240e2de3e10f..000000000000 --- a/.changes/next-release/api-change-stepfunctions-59247.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``stepfunctions``", - "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." -} diff --git a/.changes/next-release/api-change-swf-14213.json b/.changes/next-release/api-change-swf-14213.json deleted file mode 100644 index a8615ae58160..000000000000 --- a/.changes/next-release/api-change-swf-14213.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``swf``", - "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." -} diff --git a/.changes/next-release/api-change-wafv2-10562.json b/.changes/next-release/api-change-wafv2-10562.json deleted file mode 100644 index 3b3e48335977..000000000000 --- a/.changes/next-release/api-change-wafv2-10562.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``wafv2``", - "description": "JSON body inspection: Update documentation to clarify that JSON parsing doesn't include full validation." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 7750af7774ec..2de4d5ee75cd 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,21 @@ CHANGELOG ========= +1.33.19 +======= + +* api-change:``apigateway``: Add v2 smoke tests and smithy smokeTests trait for SDK testing. +* api-change:``cognito-identity``: Add v2 smoke tests and smithy smokeTests trait for SDK testing. +* api-change:``connect``: Authentication profiles are Amazon Connect resources (in gated preview) that allow you to configure authentication settings for users in your contact center. This release adds support for new ListAuthenticationProfiles, DescribeAuthenticationProfile and UpdateAuthenticationProfile APIs. +* api-change:``docdb``: Add v2 smoke tests and smithy smokeTests trait for SDK testing. +* api-change:``eks``: Updates EKS managed node groups to support EC2 Capacity Blocks for ML +* api-change:``payment-cryptography``: Added further restrictions on logging of potentially sensitive inputs and outputs. +* api-change:``payment-cryptography-data``: Adding support for dynamic keys for encrypt, decrypt, re-encrypt and translate pin functions. With this change, customers can use one-time TR-31 keys directly in dataplane operations without the need to first import them into the service. +* api-change:``stepfunctions``: Add v2 smoke tests and smithy smokeTests trait for SDK testing. +* api-change:``swf``: Add v2 smoke tests and smithy smokeTests trait for SDK testing. +* api-change:``wafv2``: JSON body inspection: Update documentation to clarify that JSON parsing doesn't include full validation. + + 1.33.18 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index c89bc5ca2aa4..9dedd6430984 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -17,7 +17,7 @@ """ import os -__version__ = '1.33.18' +__version__ = '1.33.19' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index e330a3125eb6..717f3fc29a35 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.33.' # The full version, including alpha/beta/rc tags. -release = '1.33.18' +release = '1.33.19' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 84e3c0df5680..fa43fa59704b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.34.136 + botocore==1.34.137 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 009624f94342..f654ea310edb 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.34.136', + 'botocore==1.34.137', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 4dfc8fcba19f7696c34c7429cf226305418512f4 Mon Sep 17 00:00:00 2001 From: Elysa Hall Date: Tue, 2 Jul 2024 16:39:15 +0000 Subject: [PATCH 0091/1087] CLI example networkmanager --- .../examples/networkmanager/create-core-network.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/awscli/examples/networkmanager/create-core-network.rst b/awscli/examples/networkmanager/create-core-network.rst index ae811ead4907..6817bcce2d6a 100644 --- a/awscli/examples/networkmanager/create-core-network.rst +++ b/awscli/examples/networkmanager/create-core-network.rst @@ -3,17 +3,17 @@ The following ``create-core-network`` example creates a core network using an optional description and tags within an AWS Cloud WAN global network. :: aws networkmanager create-core-network \ - --global-network-id global-network-0d59060f16a73bc41\ - --description "Main headquarters location"\ + --global-network-id global-network-cdef-EXAMPLE22222 \ + --description "Main headquarters location" \ --tags Key=Name,Value="New York City office" Output:: { "CoreNetwork": { - "GlobalNetworkId": "global-network-0d59060f16a73bc41", - "CoreNetworkId": "core-network-0fab62fe438d94db6", - "CoreNetworkArn": "arn:aws:networkmanager::987654321012:core-network/core-network-0fab62fe438d94db6", + "GlobalNetworkId": "global-network-cdef-EXAMPLE22222", + "CoreNetworkId": "core-network-cdef-EXAMPLE33333", + "CoreNetworkArn": "arn:aws:networkmanager::987654321012:core-network/core-network-cdef-EXAMPLE33333", "Description": "Main headquarters location", "CreatedAt": "2022-01-10T19:53:59+00:00", "State": "AVAILABLE", @@ -26,4 +26,4 @@ Output:: } } -For more information, see `Core networks `__ in the *AWS Cloud WAN User Guide*. \ No newline at end of file +For more information, see `Global and core networks `__ in the *AWS Cloud WAN User Guide*. \ No newline at end of file From f16d3e6f049349bcf150af1ce82545393d42d768 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 2 Jul 2024 18:07:47 +0000 Subject: [PATCH 0092/1087] Update changelog based on model updates --- .changes/next-release/api-change-ec2-56197.json | 5 +++++ .changes/next-release/api-change-fms-60415.json | 5 +++++ .changes/next-release/api-change-s3-36856.json | 5 +++++ 3 files changed, 15 insertions(+) create mode 100644 .changes/next-release/api-change-ec2-56197.json create mode 100644 .changes/next-release/api-change-fms-60415.json create mode 100644 .changes/next-release/api-change-s3-36856.json diff --git a/.changes/next-release/api-change-ec2-56197.json b/.changes/next-release/api-change-ec2-56197.json new file mode 100644 index 000000000000..b80ab27f54c8 --- /dev/null +++ b/.changes/next-release/api-change-ec2-56197.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ec2``", + "description": "Documentation updates for Elastic Compute Cloud (EC2)." +} diff --git a/.changes/next-release/api-change-fms-60415.json b/.changes/next-release/api-change-fms-60415.json new file mode 100644 index 000000000000..a7654fef9338 --- /dev/null +++ b/.changes/next-release/api-change-fms-60415.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``fms``", + "description": "Increases Customer API's ManagedServiceData length" +} diff --git a/.changes/next-release/api-change-s3-36856.json b/.changes/next-release/api-change-s3-36856.json new file mode 100644 index 000000000000..3d16dd597f79 --- /dev/null +++ b/.changes/next-release/api-change-s3-36856.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``s3``", + "description": "Added response overrides to Head Object requests." +} From 653db6cf946208d691c5195c3c3c120b2a415623 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 2 Jul 2024 18:08:58 +0000 Subject: [PATCH 0093/1087] Bumping version to 1.33.20 --- .changes/1.33.20.json | 17 +++++++++++++++++ .changes/next-release/api-change-ec2-56197.json | 5 ----- .changes/next-release/api-change-fms-60415.json | 5 ----- .changes/next-release/api-change-s3-36856.json | 5 ----- CHANGELOG.rst | 8 ++++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 9 files changed, 29 insertions(+), 19 deletions(-) create mode 100644 .changes/1.33.20.json delete mode 100644 .changes/next-release/api-change-ec2-56197.json delete mode 100644 .changes/next-release/api-change-fms-60415.json delete mode 100644 .changes/next-release/api-change-s3-36856.json diff --git a/.changes/1.33.20.json b/.changes/1.33.20.json new file mode 100644 index 000000000000..2d5a97ed612d --- /dev/null +++ b/.changes/1.33.20.json @@ -0,0 +1,17 @@ +[ + { + "category": "``ec2``", + "description": "Documentation updates for Elastic Compute Cloud (EC2).", + "type": "api-change" + }, + { + "category": "``fms``", + "description": "Increases Customer API's ManagedServiceData length", + "type": "api-change" + }, + { + "category": "``s3``", + "description": "Added response overrides to Head Object requests.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-ec2-56197.json b/.changes/next-release/api-change-ec2-56197.json deleted file mode 100644 index b80ab27f54c8..000000000000 --- a/.changes/next-release/api-change-ec2-56197.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ec2``", - "description": "Documentation updates for Elastic Compute Cloud (EC2)." -} diff --git a/.changes/next-release/api-change-fms-60415.json b/.changes/next-release/api-change-fms-60415.json deleted file mode 100644 index a7654fef9338..000000000000 --- a/.changes/next-release/api-change-fms-60415.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``fms``", - "description": "Increases Customer API's ManagedServiceData length" -} diff --git a/.changes/next-release/api-change-s3-36856.json b/.changes/next-release/api-change-s3-36856.json deleted file mode 100644 index 3d16dd597f79..000000000000 --- a/.changes/next-release/api-change-s3-36856.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``s3``", - "description": "Added response overrides to Head Object requests." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 2de4d5ee75cd..1eba00142615 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,14 @@ CHANGELOG ========= +1.33.20 +======= + +* api-change:``ec2``: Documentation updates for Elastic Compute Cloud (EC2). +* api-change:``fms``: Increases Customer API's ManagedServiceData length +* api-change:``s3``: Added response overrides to Head Object requests. + + 1.33.19 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 9dedd6430984..222b1d706065 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -17,7 +17,7 @@ """ import os -__version__ = '1.33.19' +__version__ = '1.33.20' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 717f3fc29a35..8c467cce621f 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.33.' # The full version, including alpha/beta/rc tags. -release = '1.33.19' +release = '1.33.20' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index fa43fa59704b..dff806fe79fc 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.34.137 + botocore==1.34.138 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index f654ea310edb..450f470306ca 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.34.137', + 'botocore==1.34.138', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From e55009b066ec15607193691bfdfcbf751ca2f936 Mon Sep 17 00:00:00 2001 From: Elysa Hall Date: Tue, 2 Jul 2024 21:15:18 +0000 Subject: [PATCH 0094/1087] CLI examples inspector2, lightsail, route53profiles --- awscli/examples/inspector2/create-filter.rst | 17 ++++ .../inspector2/create-findings-report.rst | 16 ++++ .../inspector2/create-sbom-export.rst | 16 ++++ awscli/examples/inspector2/delete-filter.rst | 14 ++++ .../examples/inspector2/get-configuration.rst | 26 ++++++ .../inspector2/list-account-permissions.rst | 46 +++++++++++ .../inspector2/list-coverage-statistics.rst | 80 +++++++++++++++++++ awscli/examples/inspector2/list-coverage.rst | 61 ++++++++++++++ .../list-delegated-admin-accounts.rst | 18 +++++ awscli/examples/inspector2/list-filters.rst | 50 ++++++++++++ .../examples/inspector2/list-usage-totals.rst | 55 +++++++++++++ awscli/examples/inspector2/update-filter.rst | 37 +++++++++ .../create-instances-from-snapshot.rst | 6 +- .../examples/lightsail/create-instances.rst | 14 ++-- awscli/examples/lightsail/get-blueprints.rst | 26 +++--- awscli/examples/lightsail/get-bundles.rst | 22 ++--- .../lightsail/get-instance-snapshot.rst | 6 +- .../lightsail/get-instance-snapshots.rst | 10 +-- awscli/examples/lightsail/get-instance.rst | 8 +- awscli/examples/lightsail/get-instances.rst | 24 +++--- .../route53profiles/associate-profile.rst | 26 ++++++ .../associate-resource-to-profile.rst | 28 +++++++ .../route53profiles/create-profile.rst | 23 ++++++ .../route53profiles/delete-profile.rst | 23 ++++++ .../route53profiles/disassociate-profile.rst | 23 ++++++ .../disassociate-resource-from-profile.rst | 25 ++++++ .../get-profile-association.rst | 22 +++++ .../get-profile-resource-association.rst | 24 ++++++ .../examples/route53profiles/get-profile.rst | 23 ++++++ .../list-profile-associations.rst | 23 ++++++ .../list-profile-resource-associations.rst | 26 ++++++ .../route53profiles/list-profiles.rst | 18 +++++ .../list-tags-for-resource.rst | 15 ++++ .../update-profile-resource-association.rst | 25 ++++++ 34 files changed, 818 insertions(+), 58 deletions(-) create mode 100644 awscli/examples/inspector2/create-filter.rst create mode 100644 awscli/examples/inspector2/create-findings-report.rst create mode 100644 awscli/examples/inspector2/create-sbom-export.rst create mode 100644 awscli/examples/inspector2/delete-filter.rst create mode 100644 awscli/examples/inspector2/get-configuration.rst create mode 100644 awscli/examples/inspector2/list-account-permissions.rst create mode 100644 awscli/examples/inspector2/list-coverage-statistics.rst create mode 100644 awscli/examples/inspector2/list-coverage.rst create mode 100644 awscli/examples/inspector2/list-delegated-admin-accounts.rst create mode 100644 awscli/examples/inspector2/list-filters.rst create mode 100644 awscli/examples/inspector2/list-usage-totals.rst create mode 100644 awscli/examples/inspector2/update-filter.rst create mode 100644 awscli/examples/route53profiles/associate-profile.rst create mode 100644 awscli/examples/route53profiles/associate-resource-to-profile.rst create mode 100644 awscli/examples/route53profiles/create-profile.rst create mode 100644 awscli/examples/route53profiles/delete-profile.rst create mode 100644 awscli/examples/route53profiles/disassociate-profile.rst create mode 100644 awscli/examples/route53profiles/disassociate-resource-from-profile.rst create mode 100644 awscli/examples/route53profiles/get-profile-association.rst create mode 100644 awscli/examples/route53profiles/get-profile-resource-association.rst create mode 100644 awscli/examples/route53profiles/get-profile.rst create mode 100644 awscli/examples/route53profiles/list-profile-associations.rst create mode 100644 awscli/examples/route53profiles/list-profile-resource-associations.rst create mode 100644 awscli/examples/route53profiles/list-profiles.rst create mode 100644 awscli/examples/route53profiles/list-tags-for-resource.rst create mode 100644 awscli/examples/route53profiles/update-profile-resource-association.rst diff --git a/awscli/examples/inspector2/create-filter.rst b/awscli/examples/inspector2/create-filter.rst new file mode 100644 index 000000000000..647807f2b527 --- /dev/null +++ b/awscli/examples/inspector2/create-filter.rst @@ -0,0 +1,17 @@ +**To create a filter** + +The following ``create-filter`` example creates a suppression rule that omits ECR instance type findings. :: + + aws inspector2 create-filter \ + --name "ExampleSuppressionRuleECR" \ + --description "This suppression rule omits ECR instance type findings" \ + --action SUPPRESS \ + --filter-criteria 'resourceType=[{comparison="EQUALS", value="AWS_ECR_INSTANCE"}]' + +Output:: + + { + "arn": "arn:aws:inspector2:us-west-2:123456789012:owner/o-EXAMPLE222/filter/EXAMPLE444444444" + } + +For more information, see `Filtering Amazon Inspector findings `__ in the *Amazon Inspector User Guide*. diff --git a/awscli/examples/inspector2/create-findings-report.rst b/awscli/examples/inspector2/create-findings-report.rst new file mode 100644 index 000000000000..cfdb05092504 --- /dev/null +++ b/awscli/examples/inspector2/create-findings-report.rst @@ -0,0 +1,16 @@ +**To create a findings report** + +The following ``create-findings-report`` example creates a finding report. :: + + aws inspector2 create-findings-report \ + --report-format CSV \ + --s3-destination bucketName=inspector-sbom-123456789012,keyPrefix=sbom-key,kmsKeyArn=arn:aws:kms:us-west-2:123456789012:key/a1b2c3d4-5678-90ab-cdef-EXAMPLE33333 \ + --filter-criteria '{"ecrImageRepositoryName":[{"comparison":"EQUALS","value":"debian"}]}' + +Output:: + + { + "reportId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE33333" + } + +For more information, see `Managing findings in Amazon Inspector `__ in the *Amazon Inspector User Guide*. diff --git a/awscli/examples/inspector2/create-sbom-export.rst b/awscli/examples/inspector2/create-sbom-export.rst new file mode 100644 index 000000000000..4de14dd5765f --- /dev/null +++ b/awscli/examples/inspector2/create-sbom-export.rst @@ -0,0 +1,16 @@ +**To create a software bill of materials (SBOM) report** + +The following ``create-sbom-export`` example creates a software bill of materials (SBOM) report. :: + + aws inspector2 create-sbom-export \ + --report-format SPDX_2_3 \ + --resource-filter-criteria 'ecrRepositoryName=[{comparison="EQUALS",value="debian"}]' \ + --s3-destination bucketName=inspector-sbom-123456789012,keyPrefix=sbom-key,kmsKeyArn=arn:aws:kms:us-west-2:123456789012:key/a1b2c3d4-5678-90ab-cdef-EXAMPLE33333 + +Output:: + + { + "reportId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE33333" + } + +For more information, see `Exporting SBOMs with Amazon Inspector `__ in the *Amazon Inspector User Guide*. diff --git a/awscli/examples/inspector2/delete-filter.rst b/awscli/examples/inspector2/delete-filter.rst new file mode 100644 index 000000000000..d7543a0a263a --- /dev/null +++ b/awscli/examples/inspector2/delete-filter.rst @@ -0,0 +1,14 @@ +**To delete a filter** + +The following ``delete-filter`` example deletes a filter. :: + + aws inspector2 delete-filter \ + --arn "arn:aws:inspector2:us-west-2:123456789012:owner/o-EXAMPLE222/filter/EXAMPLE444444444" + +Output:: + + { + "arn": "arn:aws:inspector2:us-west-2:123456789012:owner/o-EXAMPLE222/filter/EXAMPLE444444444" + } + +For more information, see `Filtering Amazon Inspector findings `__ in the *Amazon Inspector User Guide*. diff --git a/awscli/examples/inspector2/get-configuration.rst b/awscli/examples/inspector2/get-configuration.rst new file mode 100644 index 000000000000..e8cd1790dc52 --- /dev/null +++ b/awscli/examples/inspector2/get-configuration.rst @@ -0,0 +1,26 @@ +**To get the setting configuration for Inspector scans** + +The following ``get-configuration`` example gets the setting configuration for Inspector scans. :: + + aws inspector2 get-configuration + +Output:: + + { + "ec2Configuration": { + "scanModeState": { + "scanMode": "EC2_HYBRID", + "scanModeStatus": "SUCCESS" + } + }, + "ecrConfiguration": { + "rescanDurationState": { + "pullDateRescanDuration": "DAYS_90", + "rescanDuration": "DAYS_30", + "status": "SUCCESS", + "updatedAt": "2024-05-14T21:16:20.237000+00:00" + } + } + } + +For more information, see `Automated resource scanning with Amazon Inspector `__ in the *Amazon Inspector User Guide*. \ No newline at end of file diff --git a/awscli/examples/inspector2/list-account-permissions.rst b/awscli/examples/inspector2/list-account-permissions.rst new file mode 100644 index 000000000000..23bfa449f88c --- /dev/null +++ b/awscli/examples/inspector2/list-account-permissions.rst @@ -0,0 +1,46 @@ +**To list account permissions** + +The following ``list-account-permissions`` example lists your account permissions. :: + + aws inspector2 list-account-permissions + +Output:: + + { + "permissions": [ + { + "operation": "ENABLE_SCANNING", + "service": "ECR" + }, + { + "operation": "DISABLE_SCANNING", + "service": "ECR" + }, + { + "operation": "ENABLE_REPOSITORY", + "service": "ECR" + }, + { + "operation": "DISABLE_REPOSITORY", + "service": "ECR" + }, + { + "operation": "ENABLE_SCANNING", + "service": "EC2" + }, + { + "operation": "DISABLE_SCANNING", + "service": "EC2" + }, + { + "operation": "ENABLE_SCANNING", + "service": "LAMBDA" + }, + { + "operation": "DISABLE_SCANNING", + "service": "LAMBDA" + } + ] + } + +For more information, see `Identity and Access Management for Amazon Inspector `__ in the *Amazon Inspector User Guide*. \ No newline at end of file diff --git a/awscli/examples/inspector2/list-coverage-statistics.rst b/awscli/examples/inspector2/list-coverage-statistics.rst new file mode 100644 index 000000000000..a2793e82b767 --- /dev/null +++ b/awscli/examples/inspector2/list-coverage-statistics.rst @@ -0,0 +1,80 @@ +**Example 1: To list coverage statistics by groups** + +The following ``list-coverage-statistics`` example lists the coverage statistics of your AWS environment by groups. :: + + aws inspector2 list-coverage-statistics \ + --group-by RESOURCE_TYPE + +Output:: + + { + "countsByGroup": [ + { + "count": 56, + "groupKey": "AWS_LAMBDA_FUNCTION" + }, + { + "count": 27, + "groupKey": "AWS_ECR_REPOSITORY" + }, + { + "count": 18, + "groupKey": "AWS_EC2_INSTANCE" + }, + { + "count": 3, + "groupKey": "AWS_ECR_CONTAINER_IMAGE" + }, + { + "count": 1, + "groupKey": "AWS_ACCOUNT" + } + ], + "totalCounts": 105 + } + +For more information, see `Assessing Amazon Inspector coverage of your AWS environment `__ in the *Amazon Inspector User Guide*. + +**Example 2: To list coverage statistics by resource type** + +The following ``list-coverage-statistics`` example lists the coverage statistics of your AWS environment by resource type. :: + + aws inspector2 list-coverage-statistics + --filter-criteria '{"resourceType":[{"comparison":"EQUALS","value":"AWS_ECR_REPOSITORY"}]}' + --group-by SCAN_STATUS_REASON + +Output:: + + { + "countsByGroup": [ + { + "count": 27, + "groupKey": "SUCCESSFUL" + } + ], + "totalCounts": 27 + } + +For more information, see `Assessing Amazon Inspector coverage of your AWS environment `__ in the *Amazon Inspector User Guide*. + +**Example 3: To list coverage statistics by ECR repository name** + +The following ``list-coverage-statistics`` example lists the coverage statistics of your AWS environment by ECR repository name. :: + + aws inspector2 list-coverage-statistics + --filter-criteria '{"ecrRepositoryName":[{"comparison":"EQUALS","value":"debian"}]}' + --group-by SCAN_STATUS_REASON + +Output:: + + { + "countsByGroup": [ + { + "count": 3, + "groupKey": "SUCCESSFUL" + } + ], + "totalCounts": 3 + } + +For more information, see `Assessing Amazon Inspector coverage of your AWS environment `__ in the *Amazon Inspector User Guide*. diff --git a/awscli/examples/inspector2/list-coverage.rst b/awscli/examples/inspector2/list-coverage.rst new file mode 100644 index 000000000000..e2316ae75a0f --- /dev/null +++ b/awscli/examples/inspector2/list-coverage.rst @@ -0,0 +1,61 @@ +**Example 1: To list coverage details about your environment** + +The following ``list-coverage`` example lists your environment's coverage details. :: + + aws inspector2 list-coverage + +Output:: + + { + "coveredResources": [ + { + "accountId": "123456789012", + "lastScannedAt": "2024-05-20T16:23:20-07:00", + "resourceId": "i-EXAMPLE55555555555", + "resourceMetadata": { + "ec2": { + "amiId": "ami-EXAMPLE6666666666", + "platform": "LINUX" + } + }, + "resourceType": "AWS_EC2_INSTANCE", + "scanStatus": { + "reason": "SUCCESSFUL", + "statusCode": "ACTIVE" + }, + "scanType": "PACKAGE" + } + ] + } + +**Example 2: To list coverage details about the Lambda function resource type** + +The following ``list-coverage`` example lists your Lamda function resource type details. :: + + aws inspector2 list-coverage + --filter-criteria '{"resourceType":[{"comparison":"EQUALS","value":"AWS_LAMBDA_FUNCTION"}]}' + +Output:: + + { + "coveredResources": [ + { + "accountId": "123456789012", + "resourceId": "arn:aws:lambda:us-west-2:123456789012:function:Eval-container-scan-results:$LATEST", + "resourceMetadata": { + "lambdaFunction": { + "functionName": "Eval-container-scan-results", + "functionTags": {}, + "layers": [], + "runtime": "PYTHON_3_7" + } + }, + "resourceType": "AWS_LAMBDA_FUNCTION", + "scanStatus": { + "reason": "SUCCESSFUL", + "statusCode": "ACTIVE" + }, + "scanType": "CODE" + } + ] + } diff --git a/awscli/examples/inspector2/list-delegated-admin-accounts.rst b/awscli/examples/inspector2/list-delegated-admin-accounts.rst new file mode 100644 index 000000000000..fb877f34b447 --- /dev/null +++ b/awscli/examples/inspector2/list-delegated-admin-accounts.rst @@ -0,0 +1,18 @@ +**To list information about the delegated administrator account of your organization** + +The following ``list-delegated-admin-accounts`` example lists information about the delegated administrator account of your organization. :: + + aws inspector2 list-delegated-admin-accounts + +Output:: + + { + "delegatedAdminAccounts": [ + { + "accountId": "123456789012", + "status": "ENABLED" + } + ] + } + +For more information, see `Designating a delegated administrator for Amazon Inspector `__ in the *Amazon Inspector User Guide*. diff --git a/awscli/examples/inspector2/list-filters.rst b/awscli/examples/inspector2/list-filters.rst new file mode 100644 index 000000000000..11da430104db --- /dev/null +++ b/awscli/examples/inspector2/list-filters.rst @@ -0,0 +1,50 @@ +**To list filters associated with the account that you used to activated Amazon Inspector** + +The following ``list-filters`` examples lists filters associated with the account that you used to activated Amazon Inspector. :: + + aws inspector2 list-filters + +Output:: + + { + "filters": [ + { + "action": "SUPPRESS", + "arn": "arn:aws:inspector2:us-west-2:123456789012:owner/o-EXAMPLE222/filter/EXAMPLE444444444", + "createdAt": "2024-05-15T21:11:08.602000+00:00", + "criteria": { + "resourceType": [ + { + "comparison": "EQUALS", + "value": "AWS_EC2_INSTANCE" + }, + ] + }, + "description": "This suppression rule omits EC2 instance type findings", + "name": "ExampleSuppressionRuleEC2", + "ownerId": "o-EXAMPLE222", + "tags": {}, + "updatedAt": "2024-05-15T21:11:08.602000+00:00" + }, + { + "action": "SUPPRESS", + "arn": "arn:aws:inspector2:us-east-1:813737243517:owner/o-EXAMPLE222/filter/EXAMPLE444444444", + "createdAt": "2024-05-15T21:28:27.054000+00:00", + "criteria": { + "resourceType": [ + { + "comparison": "EQUALS", + "value": "AWS_ECR_INSTANCE" + } + ] + }, + "description": "This suppression rule omits ECR instance type findings", + "name": "ExampleSuppressionRuleECR", + "ownerId": "o-EXAMPLE222", + "tags": {}, + "updatedAt": "2024-05-15T21:28:27.054000+00:00" + } + ] + } + +For more information, see `Filtering Amazon Inspector findings `__ in the *Amazon Inspector User Guide*. diff --git a/awscli/examples/inspector2/list-usage-totals.rst b/awscli/examples/inspector2/list-usage-totals.rst new file mode 100644 index 000000000000..ada17c6f8ffa --- /dev/null +++ b/awscli/examples/inspector2/list-usage-totals.rst @@ -0,0 +1,55 @@ +**To list usage totals over the last 30 days** + +The following ``list-usage-totals`` examples lists usage totals over the last 30 days. :: + + aws inspector2 list-usage-totals + +Output:: + + { + "totals": [ + { + "accountId": "123456789012", + "usage": [ + { + "currency": "USD", + "estimatedMonthlyCost": 4.6022044647, + "total": 1893.4784083333334, + "type": "EC2_AGENTLESS_INSTANCE_HOURS" + }, + { + "currency": "USD", + "estimatedMonthlyCost": 18.892449279, + "total": 10882.050784722222, + "type": "EC2_INSTANCE_HOURS" + }, + { + "currency": "USD", + "estimatedMonthlyCost": 5.4525363736, + "total": 6543.043648333333, + "type": "LAMBDA_FUNCTION_CODE_HOURS" + }, + { + "currency": "USD", + "estimatedMonthlyCost": 3.9064080309, + "total": 9375.379274166668, + "type": "LAMBDA_FUNCTION_HOURS" + }, + { + "currency": "USD", + "estimatedMonthlyCost": 0.06, + "total": 6.0, + "type": "ECR_RESCAN" + }, + { + "currency": "USD", + "estimatedMonthlyCost": 0.09, + "total": 1.0, + "type": "ECR_INITIAL_SCAN" + } + ] + } + ] + } + +For more information, see `Monitoring usage and cost in Amazon Inspector `__ in the *Amazon Inspector User Guide*. \ No newline at end of file diff --git a/awscli/examples/inspector2/update-filter.rst b/awscli/examples/inspector2/update-filter.rst new file mode 100644 index 000000000000..a3d98f10d08c --- /dev/null +++ b/awscli/examples/inspector2/update-filter.rst @@ -0,0 +1,37 @@ +**To update a filter** + +The following ``update-filter`` example updates a filter to omit Lambda findings instead of ECR instance findings. :: + + aws inspector2 update-filter \ + --filter-arn "arn:aws:inspector2:us-west-2:123456789012:owner/o-EXAMPLE222/filter/EXAMPLE444444444" \ + --name "ExampleSuppressionRuleLambda" \ + --description "This suppression rule omits Lambda instance findings" \ + --reason "Updating filter to omit Lambda instance findings instead of ECR instance findings" + +Output:: + + { + "filters": [ + { + "action": "SUPPRESS", + "arn": "arn:aws:inspector2:us-west-2:123456789012:owner/o-EXAMPLE222/filter/EXAMPLE444444444", + "createdAt": "2024-05-15T21:28:27.054000+00:00", + "criteria": { + "resourceType": [ + { + "comparison": "EQUALS", + "value": "AWS_ECR_INSTANCE" + } + ] + }, + "description": "This suppression rule omits Lambda instance findings", + "name": "ExampleSuppressionRuleLambda", + "ownerId": "o-EXAMPLE222", + "reason": "Updating filter to omit Lambda instance findings instead of ECR instance findings", + "tags": {}, + "updatedAt": "2024-05-15T22:23:13.665000+00:00" + } + ] + } + +For more information, see `Managing findings in Amazon Inspector `__ in the *Amazon Inspector User Guide*. \ No newline at end of file diff --git a/awscli/examples/lightsail/create-instances-from-snapshot.rst b/awscli/examples/lightsail/create-instances-from-snapshot.rst index 34e4d2200901..a432a1d82a42 100644 --- a/awscli/examples/lightsail/create-instances-from-snapshot.rst +++ b/awscli/examples/lightsail/create-instances-from-snapshot.rst @@ -1,6 +1,6 @@ **To create an instance from a snapshot** -The following ``create-instances-from-snapshot`` example creates an instance from the specified instance snapshot, in the specified AWS Region and Availability Zone, using the $10 USD bundle. +The following ``create-instances-from-snapshot`` example creates an instance from the specified instance snapshot, in the specified AWS Region and Availability Zone, using the $12 USD bundle. **Note:** The bundle that you specify must be equal to or greater in specifications than the bundle of the original source instance used to create the snapshot. :: @@ -8,7 +8,7 @@ The following ``create-instances-from-snapshot`` example creates an instance fro --instance-snapshot-name WordPress-1-1569866208 \ --instance-names WordPress-2 \ --availability-zone us-west-2a \ - --bundle-id medium_2_0 + --bundle-id small_3_0 Output:: @@ -29,4 +29,4 @@ Output:: "statusChangedAt": 1569865914.908 } ] - } + } \ No newline at end of file diff --git a/awscli/examples/lightsail/create-instances.rst b/awscli/examples/lightsail/create-instances.rst index 7850fd1a80d9..bcf2d49cf844 100644 --- a/awscli/examples/lightsail/create-instances.rst +++ b/awscli/examples/lightsail/create-instances.rst @@ -1,12 +1,12 @@ **Example 1: To create a single instance** -The following ``create-instances`` example creates an instance in the specified AWS Region and Availability Zone, using the WordPress blueprint, and the $3.50 USD bundle. :: +The following ``create-instances`` example creates an instance in the specified AWS Region and Availability Zone, using the WordPress blueprint, and the $5.00 USD bundle. :: aws lightsail create-instances \ --instance-names Instance-1 \ --availability-zone us-west-2a \ - --blueprint-id wordpress_5_1_1_2 \ - --bundle-id nano_2_0 + --blueprint-id wordpress \ + --bundle-id nano_3_0 Output:: @@ -31,13 +31,13 @@ Output:: **Example 2: To create multiple instances at one time** -The following ``create-instances`` example creates three instances in the specified AWS Region and Availability Zone, using the WordPress blueprint, and the $3.50 USD bundle. :: +The following ``create-instances`` example creates three instances in the specified AWS Region and Availability Zone, using the WordPress blueprint, and the $5.00 USD bundle. :: aws lightsail create-instances \ --instance-names {"Instance1","Instance2","Instance3"} \ --availability-zone us-west-2a \ - --blueprint-id wordpress_5_1_1_2 \ - --bundle-id nano_2_0 + --blueprint-id wordpress \ + --bundle-id nano_3_0 Output:: @@ -86,4 +86,4 @@ Output:: "statusChangedAt": 1569448780.054 } ] - } + } \ No newline at end of file diff --git a/awscli/examples/lightsail/get-blueprints.rst b/awscli/examples/lightsail/get-blueprints.rst index 61859a95cacc..04c6d84cf074 100644 --- a/awscli/examples/lightsail/get-blueprints.rst +++ b/awscli/examples/lightsail/get-blueprints.rst @@ -16,24 +16,24 @@ Output:: "description": "Bitnami, the leaders in application packaging, and Automattic, the experts behind WordPress, have teamed up to offer this official WordPress image. This image is a pre-configured, ready-to-run image for running WordPress on Amazon Lightsail. WordPress is the world's most popular content management platform. Whether it's for an enterprise or small business website, or a personal or corporate blog, content authors can easily create content using its new Gutenberg editor, and developers can extend the base platform with additional features. Popular plugins like Jetpack, Akismet, All in One SEO Pack, WP Mail, Google Analytics for WordPress, and Amazon Polly are all pre-installed in this image. Let's Encrypt SSL certificates are supported through an auto-configuration script.", "isActive": true, "minPower": 0, - "version": "5.2.2-3", + "version": "6.5.3-0", "versionCode": "1", "productUrl": "https://aws.amazon.com/marketplace/pp/B00NN8Y43U", - "licenseUrl": "https://d7umqicpi7263.cloudfront.net/eula/product/7d426cb7-9522-4dd7-a56b-55dd8cc1c8d0/588fd495-6492-4610-b3e8-d15ce864454c.txt", + "licenseUrl": "https://aws.amazon.com/marketplace/pp/B00NN8Y43U#pdp-usage", "platform": "LINUX_UNIX" }, { - "blueprintId": "lamp_7_1_28", - "name": "LAMP (PHP 7)", - "group": "lamp_7", + "blueprintId": "lamp_8_bitnami", + "name": "LAMP (PHP 8)", + "group": "lamp_8", "type": "app", - "description": "LAMP with PHP 7.x certified by Bitnami greatly simplifies the development and deployment of PHP applications. It includes the latest versions of PHP 7.x, Apache and MySQL together with phpMyAdmin and popular PHP frameworks Zend, Symfony, CodeIgniter, CakePHP, Smarty, and Laravel. Other pre-configured components and PHP modules include FastCGI, ModSecurity, SQLite, Varnish, ImageMagick, xDebug, Xcache, OpenLDAP, Memcache, OAuth, PEAR, PECL, APC, GD and cURL. It is secure by default and supports multiple applications, each with its own virtual host and project directory. Let's Encrypt SSL certificates are supported through an auto-configuration script.", + "description": "LAMP with PHP 8.X packaged by Bitnami enables you to quickly start building your websites and applications by providing a coding framework. As a developer, it provides standalone project directories to store your applications. This blueprint is configured for production environments. It includes SSL auto-configuration with Let's Encrypt certificates, and the latest releases of PHP, Apache, and MariaDB on Linux. This application also includes phpMyAdmin, PHP main modules and Composer.", "isActive": true, "minPower": 0, - "version": "7.1.28", + "version": "8.2.18-4", "versionCode": "1", - "productUrl": "https://aws.amazon.com/marketplace/pp/B072JNJZ5C", - "licenseUrl": "https://d7umqicpi7263.cloudfront.net/eula/product/cb6afd05-a3b2-4916-a3e6-bccd414f5f21/12ab56cc-6a8c-4977-9611-dcd770824aad.txt", + "productUrl": "https://aws.amazon.com/marketplace/pp/prodview-6g3gzfcih6dvu", + "licenseUrl": "https://aws.amazon.com/marketplace/pp/prodview-6g3gzfcih6dvu#pdp-usage", "platform": "LINUX_UNIX" }, { @@ -41,16 +41,16 @@ Output:: "name": "Node.js", "group": "node", "type": "app", - "description": "Node.js certified by Bitnami is a pre-configured, ready to run image for Node.js on Amazon EC2. It includes the latest version of Node.js, Apache, Python and Redis. The image supports multiple Node.js applications, each with its own virtual host and project directory. It is configured for production use and is secure by default, as all ports except HTTP, HTTPS and SSH ports are closed. Let's Encrypt SSL certificates are supported through an auto-configuration script. Developers benefit from instant access to a secure, update and consistent Node.js environment without having to manually install and configure multiple components and libraries.", + "description": "Node.js packaged by Bitnami is a pre-configured, ready to run image for Node.js on Amazon EC2. It includes the latest version of Node.js, Apache, Python and Redis. The image supports multiple Node.js applications, each with its own virtual host and project directory. It is configured for production use and is secure by default, as all ports except HTTP, HTTPS and SSH ports are closed. Let's Encrypt SSL certificates are supported through an auto-configuration script. Developers benefit from instant access to a secure, update and consistent Node.js environment without having to manually install and configure multiple components and libraries.", "isActive": true, "minPower": 0, - "version": "12.7.0", + "version": "18.20.2-0", "versionCode": "1", "productUrl": "https://aws.amazon.com/marketplace/pp/B00NNZUAKO", - "licenseUrl": "https://d7umqicpi7263.cloudfront.net/eula/product/033793fe-951d-47d0-aa94-5fbd0afb3582/25f8fa66-c868-4d80-adf8-4a2b602064ae.txt", + "licenseUrl": "https://aws.amazon.com/marketplace/pp/B00NNZUAKO#pdp-usage", "platform": "LINUX_UNIX" }, ... } ] - } + } \ No newline at end of file diff --git a/awscli/examples/lightsail/get-bundles.rst b/awscli/examples/lightsail/get-bundles.rst index 1624015cb2ef..b2c95da027e5 100644 --- a/awscli/examples/lightsail/get-bundles.rst +++ b/awscli/examples/lightsail/get-bundles.rst @@ -9,14 +9,14 @@ Output:: { "bundles": [ { - "price": 3.5, - "cpuCount": 1, + "price": 5.0, + "cpuCount": 2, "diskSizeInGb": 20, - "bundleId": "nano_2_0", + "bundleId": "nano_3_0", "instanceType": "nano", "isActive": true, "name": "Nano", - "power": 300, + "power": 298, "ramSizeInGb": 0.5, "transferPerMonthInGb": 1024, "supportedPlatforms": [ @@ -24,10 +24,10 @@ Output:: ] }, { - "price": 5.0, - "cpuCount": 1, + "price": 7.0, + "cpuCount": 2, "diskSizeInGb": 40, - "bundleId": "micro_2_0", + "bundleId": "micro_3_0", "instanceType": "micro", "isActive": true, "name": "Micro", @@ -39,10 +39,10 @@ Output:: ] }, { - "price": 10.0, - "cpuCount": 1, + "price": 12.0, + "cpuCount": 2, "diskSizeInGb": 60, - "bundleId": "small_2_0", + "bundleId": "small_3_0", "instanceType": "small", "isActive": true, "name": "Small", @@ -56,4 +56,4 @@ Output:: ... } ] - } + } \ No newline at end of file diff --git a/awscli/examples/lightsail/get-instance-snapshot.rst b/awscli/examples/lightsail/get-instance-snapshot.rst index b776fb4a842a..e5358fff1f49 100644 --- a/awscli/examples/lightsail/get-instance-snapshot.rst +++ b/awscli/examples/lightsail/get-instance-snapshot.rst @@ -23,9 +23,9 @@ Output:: "fromAttachedDisks": [], "fromInstanceName": "MEAN-1", "fromInstanceArn": "arn:aws:lightsail:us-west-2:111122223333:Instance/bd470fc5-a68b-44c5-8dbc-8EXAMPLEbada", - "fromBlueprintId": "mean_4_0_9", - "fromBundleId": "medium_2_0", + "fromBlueprintId": "mean", + "fromBundleId": "medium_3_0", "isFromAutoSnapshot": false, "sizeInGb": 80 } - } + } \ No newline at end of file diff --git a/awscli/examples/lightsail/get-instance-snapshots.rst b/awscli/examples/lightsail/get-instance-snapshots.rst index 6f9a5a414b6b..0d6662cbe9c4 100644 --- a/awscli/examples/lightsail/get-instance-snapshots.rst +++ b/awscli/examples/lightsail/get-instance-snapshots.rst @@ -27,8 +27,8 @@ Output:: "fromAttachedDisks": [], "fromInstanceName": "MEAN-1", "fromInstanceArn": "arn:aws:lightsail:us-west-2:111122223333:Instance/1761aa0a-6038-4f25-8b94-2EXAMPLE19fd", - "fromBlueprintId": "wordpress_5_1_1_2", - "fromBundleId": "micro_2_0", + "fromBlueprintId": "wordpress", + "fromBundleId": "micro_3_0", "isFromAutoSnapshot": false, "sizeInGb": 40 }, @@ -47,10 +47,10 @@ Output:: "fromAttachedDisks": [], "fromInstanceName": "MEAN-1", "fromInstanceArn": "arn:aws:lightsail:us-west-2:111122223333:Instance/bd470fc5-a68b-44c5-8dbc-8EXAMPLEbada", - "fromBlueprintId": "mean_4_0_9", - "fromBundleId": "medium_2_0", + "fromBlueprintId": "mean", + "fromBundleId": "medium_3_0", "isFromAutoSnapshot": false, "sizeInGb": 80 } ] - } + } \ No newline at end of file diff --git a/awscli/examples/lightsail/get-instance.rst b/awscli/examples/lightsail/get-instance.rst index 3d66d785d0c4..a41a757a988a 100644 --- a/awscli/examples/lightsail/get-instance.rst +++ b/awscli/examples/lightsail/get-instance.rst @@ -19,9 +19,9 @@ Output:: }, "resourceType": "Instance", "tags": [], - "blueprintId": "mean_4_0_9", + "blueprintId": "mean", "blueprintName": "MEAN", - "bundleId": "medium_2_0", + "bundleId": "medium_3_0", "isStaticIp": false, "privateIpAddress": "192.0.2.0", "publicIpAddress": "192.0.2.0", @@ -33,7 +33,7 @@ Output:: "sizeInGb": 80, "isSystemDisk": true, "iops": 240, - "path": "/dev/sda1", + "path": "/dev/xvda", "attachedTo": "MEAN-1", "attachmentState": "attached" } @@ -81,4 +81,4 @@ Output:: "username": "bitnami", "sshKeyName": "MyKey" } - } + } \ No newline at end of file diff --git a/awscli/examples/lightsail/get-instances.rst b/awscli/examples/lightsail/get-instances.rst index 10bb9221105a..049e4af65e80 100644 --- a/awscli/examples/lightsail/get-instances.rst +++ b/awscli/examples/lightsail/get-instances.rst @@ -9,7 +9,7 @@ Output:: { "instances": [ { - "name": "Windows_Server_2016-1", + "name": "Windows_Server_2022-1", "arn": "arn:aws:lightsail:us-west-2:111122223333:Instance/0f44fbb9-8f55-4e47-a25e-EXAMPLE04763", "supportCode": "62EXAMPLE362/i-0bEXAMPLE71a686b9", "createdAt": 1571332358.665, @@ -19,9 +19,9 @@ Output:: }, "resourceType": "Instance", "tags": [], - "blueprintId": "windows_server_2016", - "blueprintName": "Windows Server 2016", - "bundleId": "small_win_2_0", + "blueprintId": "windows_server_2022", + "blueprintName": "Windows Server 2022", + "bundleId": "large_win_3_0", "isStaticIp": false, "privateIpAddress": "192.0.2.0", "publicIpAddress": "192.0.2.0", @@ -30,11 +30,11 @@ Output:: "disks": [ { "createdAt": 1571332358.665, - "sizeInGb": 60, + "sizeInGb": 160, "isSystemDisk": true, "iops": 180, "path": "/dev/sda1", - "attachedTo": "Windows_Server_2016-1", + "attachedTo": "Windows_Server_2022-1", "attachmentState": "attached" }, { @@ -53,12 +53,12 @@ Output:: "iops": 384, "path": "/dev/xvdf", "state": "in-use", - "attachedTo": "Windows_Server_2016-1", + "attachedTo": "Windows_Server_2022-1", "isAttached": true, "attachmentState": "attached" } ], - "ramSizeInGb": 2.0 + "ramSizeInGb": 8.0 }, "networking": { "monthlyTransfer": { @@ -112,9 +112,9 @@ Output:: }, "resourceType": "Instance", "tags": [], - "blueprintId": "mean_4_0_9", + "blueprintId": "mean", "blueprintName": "MEAN", - "bundleId": "medium_2_0", + "bundleId": "medium_3_0", "isStaticIp": false, "privateIpAddress": "192.0.2.0", "publicIpAddress": "192.0.2.0", @@ -138,7 +138,7 @@ Output:: ], "sizeInGb": 8, "isSystemDisk": false, - "iops": 100, + "iops": 240, "path": "/dev/xvdf", "state": "in-use", "attachedTo": "MEAN-1", @@ -199,4 +199,4 @@ Output:: "sshKeyName": "MyTestKey" } ] - } + } \ No newline at end of file diff --git a/awscli/examples/route53profiles/associate-profile.rst b/awscli/examples/route53profiles/associate-profile.rst new file mode 100644 index 000000000000..f9c8a7efecfd --- /dev/null +++ b/awscli/examples/route53profiles/associate-profile.rst @@ -0,0 +1,26 @@ +**To associate a Profile** + +The following ``associate-profile`` example associates a Profile to a VPC. :: + + aws route53profiles associate-profile \ + --name test-association \ + --profile-id rp-4987774726example \ + --resource-id vpc-0af3b96b3example + +Output:: + + { + "ProfileAssociation": { + "CreationTime": 1710851336.527, + "Id": "rpassoc-489ce212fexample", + "ModificationTime": 1710851336.527, + "Name": "test-association", + "OwnerId": "123456789012", + "ProfileId": "rp-4987774726example", + "ResourceId": "vpc-0af3b96b3example", + "Status": "CREATING", + "StatusMessage": "Creating Profile Association" + } + } + +For more information, see `Using Profiles `__ in the *Amazon Route 53 Developer Guide*. \ No newline at end of file diff --git a/awscli/examples/route53profiles/associate-resource-to-profile.rst b/awscli/examples/route53profiles/associate-resource-to-profile.rst new file mode 100644 index 000000000000..80c144cef84e --- /dev/null +++ b/awscli/examples/route53profiles/associate-resource-to-profile.rst @@ -0,0 +1,28 @@ +**To associate a resource to a Profile** + +The following ``associate-resource-to-profile`` example associates a DNS Firewall rule group with the priority of 102 to a Profile. :: + + aws route53profiles associate-resource-to-profile \ + --name test-resource-association \ + --profile-id rp-4987774726example \ + --resource-arn arn:aws:route53resolver:us-east-1:123456789012:firewall-rule-group/rslvr-frg-cfe7f72example \ + --resource-properties "{\"priority\": 102}" + +Output:: + + { + "ProfileResourceAssociation": { + "CreationTime": 1710851216.613, + "Id": "rpr-001913120a7example", + "ModificationTime": 1710851216.613, + "Name": "test-resource-association", + "OwnerId": "123456789012", + "ProfileId": "rp-4987774726example", + "ResourceArn": "arn:aws:route53resolver:us-east-1:123456789012:firewall-rule-group/rslvr-frg-cfe7f72example", + "ResourceProperties": "{\"priority\":102}", + "ResourceType": "FIREWALL_RULE_GROUP", + "Status": "UPDATING", + "StatusMessage": "Updating the Profile to DNS Firewall rule group association" + } + } + diff --git a/awscli/examples/route53profiles/create-profile.rst b/awscli/examples/route53profiles/create-profile.rst new file mode 100644 index 000000000000..e45db24e3e85 --- /dev/null +++ b/awscli/examples/route53profiles/create-profile.rst @@ -0,0 +1,23 @@ +**To create a Profile** + +The following ``create-profile`` example creates a Profile. :: + + aws route53profiles create-profile \ + --name test + +Output:: + + { + "Profile": { + "Arn": "arn:aws:route53profiles:us-east-1:123456789012:profile/rp-6ffe47d5example", + "ClientToken": "2ca1a304-32b3-4f5f-bc4c-EXAMPLE11111", + "CreationTime": 1710850903.578, + "Id": "rp-6ffe47d5example", + "ModificationTime": 1710850903.578, + "Name": "test", + "OwnerId": "123456789012", + "ShareStatus": "NOT_SHARED", + "Status": "COMPLETE", + "StatusMessage": "Created Profile" + } + } diff --git a/awscli/examples/route53profiles/delete-profile.rst b/awscli/examples/route53profiles/delete-profile.rst new file mode 100644 index 000000000000..d20b5c39649d --- /dev/null +++ b/awscli/examples/route53profiles/delete-profile.rst @@ -0,0 +1,23 @@ +**To delete a Profile** + +The following ``delete-profile`` example deletes a Profile. :: + + aws route53profiles delete-profile \ + --profile-id rp-6ffe47d5example + +Output:: + + { + "Profile": { + "Arn": "arn:aws:route53profiles:us-east-1:123456789012:profile/rp-6ffe47d5example", + "ClientToken": "0a15fec0-05d9-4f78-bec0-EXAMPLE11111", + "CreationTime": 1710850903.578, + "Id": "rp-6ffe47d5example", + "ModificationTime": 1710850903.578, + "Name": "test", + "OwnerId": "123456789012", + "ShareStatus": "NOT_SHARED", + "Status": "DELETED", + "StatusMessage": "Deleted Profile" + } + } \ No newline at end of file diff --git a/awscli/examples/route53profiles/disassociate-profile.rst b/awscli/examples/route53profiles/disassociate-profile.rst new file mode 100644 index 000000000000..e005d592b754 --- /dev/null +++ b/awscli/examples/route53profiles/disassociate-profile.rst @@ -0,0 +1,23 @@ +**To disassociate a Profile** + +The following ``disassociate-profile`` example disassociates a Profile from a VPC. :: + + aws route53profiles disassociate-profile \ + --profile-id rp-4987774726example \ + --resource-id vpc-0af3b96b3example + +Output:: + + { + "ProfileAssociation": { + "CreationTime": 1710851336.527, + "Id": "rpassoc-489ce212fexample", + "ModificationTime": 1710851401.362, + "Name": "test-association", + "OwnerId": "123456789012", + "ProfileId": "rp-4987774726example", + "ResourceId": "vpc-0af3b96b3example", + "Status": "DELETING", + "StatusMessage": "Deleting Profile Association" + } + } \ No newline at end of file diff --git a/awscli/examples/route53profiles/disassociate-resource-from-profile.rst b/awscli/examples/route53profiles/disassociate-resource-from-profile.rst new file mode 100644 index 000000000000..a1427e647172 --- /dev/null +++ b/awscli/examples/route53profiles/disassociate-resource-from-profile.rst @@ -0,0 +1,25 @@ +**To disassociate a resource from Profile** + +The following ``disassociate-resource-from-profile`` example disassociates a DNS Firewall rule group from a Profile. :: + + aws route53profiles disassociate-resource-from-profile \ + --profile-id rp-4987774726example \ + --resource-arn arn:aws:route53resolver:us-east-1:123456789012:firewall-rule-group/rslvr-frg-cfe7f72example + +Output:: + + { + "ProfileResourceAssociation": { + "CreationTime": 1710851216.613, + "Id": "rpr-001913120a7example", + "ModificationTime": 1710852624.36, + "Name": "test-resource-association", + "OwnerId": "123456789012", + "ProfileId": "rp-4987774726example", + "ResourceArn": "arn:aws:route53resolver:us-east-1:123456789012:firewall-rule-group/rslvr-frg-cfe7f72example", + "ResourceProperties": "{\"priority\":105}", + "ResourceType": "FIREWALL_RULE_GROUP", + "Status": "DELETING", + "StatusMessage": "Deleting the Profile to DNS Firewall rule group association" + } + } \ No newline at end of file diff --git a/awscli/examples/route53profiles/get-profile-association.rst b/awscli/examples/route53profiles/get-profile-association.rst new file mode 100644 index 000000000000..764b1f63db0c --- /dev/null +++ b/awscli/examples/route53profiles/get-profile-association.rst @@ -0,0 +1,22 @@ +**To get information about a Profile association** + +The following ``get-profile-association`` returns information about the specified Profile association. :: + + aws route53profiles get-profile-association \ + --profile-association-id rpassoc-489ce212fexample + +Output:: + + { + "ProfileAssociation": { + "CreationTime": 1709338817.148, + "Id": "rrpassoc-489ce212fexample", + "ModificationTime": 1709338974.772, + "Name": "test-association", + "OwnerId": "123456789012", + "ProfileId": "rp-4987774726example", + "ResourceId": "vpc-0af3b96b3example", + "Status": "COMPLETE", + "StatusMessage": "Created Profile Association" + } + } \ No newline at end of file diff --git a/awscli/examples/route53profiles/get-profile-resource-association.rst b/awscli/examples/route53profiles/get-profile-resource-association.rst new file mode 100644 index 000000000000..53603493ba0e --- /dev/null +++ b/awscli/examples/route53profiles/get-profile-resource-association.rst @@ -0,0 +1,24 @@ +**To get information about a resource associated to a Profile** + +The following ``get-profile-resource-association`` returns information about the specified resource association to a Profile. :: + + aws route53profiles get-profile-resource-association \ + --profile-resource-association-id rpr-001913120a7example + +Output:: + + { + "ProfileResourceAssociation": { + "CreationTime": 1710851216.613, + "Id": "rpr-001913120a7example", + "ModificationTime": 1710852303.798, + "Name": "test-resource-association", + "OwnerId": "123456789012", + "ProfileId": "rp-4987774726example", + "ResourceArn": "arn:aws:route53resolver:us-east-1:123456789012:firewall-rule-group/rslvr-frg-cfe7f72example", + "ResourceProperties": "{\"priority\":105}", + "ResourceType": "FIREWALL_RULE_GROUP", + "Status": "COMPLETE", + "StatusMessage": "Completed creation of Profile to DNS Firewall rule group association" + } + } \ No newline at end of file diff --git a/awscli/examples/route53profiles/get-profile.rst b/awscli/examples/route53profiles/get-profile.rst new file mode 100644 index 000000000000..5e99d0c3db3d --- /dev/null +++ b/awscli/examples/route53profiles/get-profile.rst @@ -0,0 +1,23 @@ +**To get information about a Profile** + +The following ``get-profile`` returns information about the specified Profile. :: + + aws route53profiles get-profile \ + --profile-id rp-4987774726example + +Output:: + + { + "Profile": { + "Arn": "arn:aws:route53profiles:us-east-1:123456789012:profile/rp-4987774726example", + "ClientToken": "0cbc5ae7-4921-4204-bea9-EXAMPLE11111", + "CreationTime": 1710851044.288, + "Id": "rp-4987774726example", + "ModificationTime": 1710851044.288, + "Name": "test", + "OwnerId": "123456789012", + "ShareStatus": "NOT_SHARED", + "Status": "COMPLETE", + "StatusMessage": "Created Profile" + } + } \ No newline at end of file diff --git a/awscli/examples/route53profiles/list-profile-associations.rst b/awscli/examples/route53profiles/list-profile-associations.rst new file mode 100644 index 000000000000..49ab92e31fac --- /dev/null +++ b/awscli/examples/route53profiles/list-profile-associations.rst @@ -0,0 +1,23 @@ +**To list Profile associations** + +The following ``list-profile-associations`` lists the Profile associations in your AWS account. :: + + aws route53profiles list-profile-associations + +Output:: + + { + "ProfileAssociations": [ + { + "CreationTime": 1709338817.148, + "Id": "rpassoc-489ce212fexample", + "ModificationTime": 1709338974.772, + "Name": "test-association", + "OwnerId": "123456789012", + "ProfileId": "rp-4987774726example", + "ResourceId": "vpc-0af3b96b3example", + "Status": "COMPLETE", + "StatusMessage": "Created Profile Association" + } + ] + } \ No newline at end of file diff --git a/awscli/examples/route53profiles/list-profile-resource-associations.rst b/awscli/examples/route53profiles/list-profile-resource-associations.rst new file mode 100644 index 000000000000..24b6a1fc3045 --- /dev/null +++ b/awscli/examples/route53profiles/list-profile-resource-associations.rst @@ -0,0 +1,26 @@ +**To list Profile resource associations** + +The following ``list-profile-resource-associations`` list the Profile resource associations for the specified Profile. :: + + aws route53profiles list-profile-resource-associations \ + --profile-id rp-4987774726example + +Output:: + + { + "ProfileResourceAssociations": [ + { + "CreationTime": 1710851216.613, + "Id": "rpr-001913120a7example", + "ModificationTime": 1710851216.613, + "Name": "test-resource-association", + "OwnerId": "123456789012", + "ProfileId": "rp-4987774726example", + "ResourceArn": "arn:aws:route53resolver:us-east-1:123456789012:firewall-rule-group/rslvr-frg-cfe7f72example", + "ResourceProperties": "{\"priority\":102}", + "ResourceType": "FIREWALL_RULE_GROUP", + "Status": "COMPLETE", + "StatusMessage": "Completed creation of Profile to DNS Firewall rule group association" + } + ] + } \ No newline at end of file diff --git a/awscli/examples/route53profiles/list-profiles.rst b/awscli/examples/route53profiles/list-profiles.rst new file mode 100644 index 000000000000..4abcc8b8bba5 --- /dev/null +++ b/awscli/examples/route53profiles/list-profiles.rst @@ -0,0 +1,18 @@ +**To list Profiles** + +The following ``list-profiles`` lists the Profiles in your AWS account and displays additional information about them. :: + + aws route53profiles list-profiles + +Output:: + + { + "ProfileSummaries": [ + { + "Arn": "arn:aws:route53profiles:us-east-1:123456789012:profile/rp-4987774726example", + "Id": "rp-4987774726example", + "Name": "test", + "ShareStatus": "NOT_SHARED" + } + ] + } \ No newline at end of file diff --git a/awscli/examples/route53profiles/list-tags-for-resource.rst b/awscli/examples/route53profiles/list-tags-for-resource.rst new file mode 100644 index 000000000000..852751d716dc --- /dev/null +++ b/awscli/examples/route53profiles/list-tags-for-resource.rst @@ -0,0 +1,15 @@ +**To list tags for a resource** + +The following ``list-tags-for-resource`` lists tags for the specified resource. :: + + aws route53profiles list-tags-for-resource \ + --resource-arn arn:aws:route53profiles:us-east-1:123456789012:profile/rp-4987774726example + +Output:: + + { + "Tags": { + "my-key-2": "my-value-2", + "my-key-1": "my-value-1" + } + } \ No newline at end of file diff --git a/awscli/examples/route53profiles/update-profile-resource-association.rst b/awscli/examples/route53profiles/update-profile-resource-association.rst new file mode 100644 index 000000000000..2f05e7520472 --- /dev/null +++ b/awscli/examples/route53profiles/update-profile-resource-association.rst @@ -0,0 +1,25 @@ +**To update a resource associated to a Profile** + +The following ``update-profile-resource-association`` updates a priority of a DNS Firewall rule group that is associated to the Profile. :: + + aws route53profiles update-profile-resource-association \ + --profile-resource-association-id rpr-001913120a7example \ + --resource-properties "{\"priority\": 105}" + +Output:: + + { + "ProfileResourceAssociation": { + "CreationTime": 1710851216.613, + "Id": "rpr-001913120a7example", + "ModificationTime": 1710852303.798, + "Name": "test-resource-association", + "OwnerId": "123456789012", + "ProfileId": "rp-4987774726example", + "ResourceArn": "arn:aws:route53resolver:us-east-1:123456789012:firewall-rule-group/rslvr-frg-cfe7f72example", + "ResourceProperties": "{\"priority\":105}", + "ResourceType": "FIREWALL_RULE_GROUP", + "Status": "UPDATING", + "StatusMessage": "Updating the Profile to DNS Firewall rule group association" + } + } \ No newline at end of file From f9d9ee623ce2b42df9e7b54bce0bf91999a5dccb Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 3 Jul 2024 18:12:13 +0000 Subject: [PATCH 0095/1087] Update changelog based on model updates --- .../api-change-applicationautoscaling-88718.json | 5 +++++ .changes/next-release/api-change-directconnect-12897.json | 5 +++++ .changes/next-release/api-change-organizations-52540.json | 5 +++++ .changes/next-release/api-change-rekognition-14130.json | 5 +++++ .changes/next-release/api-change-workspaces-75212.json | 5 +++++ 5 files changed, 25 insertions(+) create mode 100644 .changes/next-release/api-change-applicationautoscaling-88718.json create mode 100644 .changes/next-release/api-change-directconnect-12897.json create mode 100644 .changes/next-release/api-change-organizations-52540.json create mode 100644 .changes/next-release/api-change-rekognition-14130.json create mode 100644 .changes/next-release/api-change-workspaces-75212.json diff --git a/.changes/next-release/api-change-applicationautoscaling-88718.json b/.changes/next-release/api-change-applicationautoscaling-88718.json new file mode 100644 index 000000000000..be698b356d27 --- /dev/null +++ b/.changes/next-release/api-change-applicationautoscaling-88718.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``application-autoscaling``", + "description": "Doc only update for Application Auto Scaling that fixes resource name." +} diff --git a/.changes/next-release/api-change-directconnect-12897.json b/.changes/next-release/api-change-directconnect-12897.json new file mode 100644 index 000000000000..fd46167c7e2f --- /dev/null +++ b/.changes/next-release/api-change-directconnect-12897.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``directconnect``", + "description": "This update includes documentation for support of new native 400 GBps ports for Direct Connect." +} diff --git a/.changes/next-release/api-change-organizations-52540.json b/.changes/next-release/api-change-organizations-52540.json new file mode 100644 index 000000000000..5b2c63a2b81c --- /dev/null +++ b/.changes/next-release/api-change-organizations-52540.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``organizations``", + "description": "Added a new reason under ConstraintViolationException in RegisterDelegatedAdministrator API to prevent registering suspended accounts as delegated administrator of a service." +} diff --git a/.changes/next-release/api-change-rekognition-14130.json b/.changes/next-release/api-change-rekognition-14130.json new file mode 100644 index 000000000000..973d5692a367 --- /dev/null +++ b/.changes/next-release/api-change-rekognition-14130.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``rekognition``", + "description": "This release adds support for tagging projects and datasets with the CreateProject and CreateDataset APIs." +} diff --git a/.changes/next-release/api-change-workspaces-75212.json b/.changes/next-release/api-change-workspaces-75212.json new file mode 100644 index 000000000000..8a802f59dbd7 --- /dev/null +++ b/.changes/next-release/api-change-workspaces-75212.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``workspaces``", + "description": "Fix create workspace bundle RootStorage/UserStorage to accept non null values" +} From c64670c7113a293fa095d0965ac3b57a0164ad3c Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 3 Jul 2024 18:13:34 +0000 Subject: [PATCH 0096/1087] Bumping version to 1.33.21 --- .changes/1.33.21.json | 27 +++++++++++++++++++ ...i-change-applicationautoscaling-88718.json | 5 ---- .../api-change-directconnect-12897.json | 5 ---- .../api-change-organizations-52540.json | 5 ---- .../api-change-rekognition-14130.json | 5 ---- .../api-change-workspaces-75212.json | 5 ---- CHANGELOG.rst | 10 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 11 files changed, 41 insertions(+), 29 deletions(-) create mode 100644 .changes/1.33.21.json delete mode 100644 .changes/next-release/api-change-applicationautoscaling-88718.json delete mode 100644 .changes/next-release/api-change-directconnect-12897.json delete mode 100644 .changes/next-release/api-change-organizations-52540.json delete mode 100644 .changes/next-release/api-change-rekognition-14130.json delete mode 100644 .changes/next-release/api-change-workspaces-75212.json diff --git a/.changes/1.33.21.json b/.changes/1.33.21.json new file mode 100644 index 000000000000..1f9ab9a47f3f --- /dev/null +++ b/.changes/1.33.21.json @@ -0,0 +1,27 @@ +[ + { + "category": "``application-autoscaling``", + "description": "Doc only update for Application Auto Scaling that fixes resource name.", + "type": "api-change" + }, + { + "category": "``directconnect``", + "description": "This update includes documentation for support of new native 400 GBps ports for Direct Connect.", + "type": "api-change" + }, + { + "category": "``organizations``", + "description": "Added a new reason under ConstraintViolationException in RegisterDelegatedAdministrator API to prevent registering suspended accounts as delegated administrator of a service.", + "type": "api-change" + }, + { + "category": "``rekognition``", + "description": "This release adds support for tagging projects and datasets with the CreateProject and CreateDataset APIs.", + "type": "api-change" + }, + { + "category": "``workspaces``", + "description": "Fix create workspace bundle RootStorage/UserStorage to accept non null values", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-applicationautoscaling-88718.json b/.changes/next-release/api-change-applicationautoscaling-88718.json deleted file mode 100644 index be698b356d27..000000000000 --- a/.changes/next-release/api-change-applicationautoscaling-88718.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``application-autoscaling``", - "description": "Doc only update for Application Auto Scaling that fixes resource name." -} diff --git a/.changes/next-release/api-change-directconnect-12897.json b/.changes/next-release/api-change-directconnect-12897.json deleted file mode 100644 index fd46167c7e2f..000000000000 --- a/.changes/next-release/api-change-directconnect-12897.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``directconnect``", - "description": "This update includes documentation for support of new native 400 GBps ports for Direct Connect." -} diff --git a/.changes/next-release/api-change-organizations-52540.json b/.changes/next-release/api-change-organizations-52540.json deleted file mode 100644 index 5b2c63a2b81c..000000000000 --- a/.changes/next-release/api-change-organizations-52540.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``organizations``", - "description": "Added a new reason under ConstraintViolationException in RegisterDelegatedAdministrator API to prevent registering suspended accounts as delegated administrator of a service." -} diff --git a/.changes/next-release/api-change-rekognition-14130.json b/.changes/next-release/api-change-rekognition-14130.json deleted file mode 100644 index 973d5692a367..000000000000 --- a/.changes/next-release/api-change-rekognition-14130.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``rekognition``", - "description": "This release adds support for tagging projects and datasets with the CreateProject and CreateDataset APIs." -} diff --git a/.changes/next-release/api-change-workspaces-75212.json b/.changes/next-release/api-change-workspaces-75212.json deleted file mode 100644 index 8a802f59dbd7..000000000000 --- a/.changes/next-release/api-change-workspaces-75212.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``workspaces``", - "description": "Fix create workspace bundle RootStorage/UserStorage to accept non null values" -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 1eba00142615..8b0db7358c3f 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,16 @@ CHANGELOG ========= +1.33.21 +======= + +* api-change:``application-autoscaling``: Doc only update for Application Auto Scaling that fixes resource name. +* api-change:``directconnect``: This update includes documentation for support of new native 400 GBps ports for Direct Connect. +* api-change:``organizations``: Added a new reason under ConstraintViolationException in RegisterDelegatedAdministrator API to prevent registering suspended accounts as delegated administrator of a service. +* api-change:``rekognition``: This release adds support for tagging projects and datasets with the CreateProject and CreateDataset APIs. +* api-change:``workspaces``: Fix create workspace bundle RootStorage/UserStorage to accept non null values + + 1.33.20 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 222b1d706065..dc1db2ec7204 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -17,7 +17,7 @@ """ import os -__version__ = '1.33.20' +__version__ = '1.33.21' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 8c467cce621f..fb882a958b1b 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.33.' # The full version, including alpha/beta/rc tags. -release = '1.33.20' +release = '1.33.21' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index dff806fe79fc..2dd4150a83fa 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.34.138 + botocore==1.34.139 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 450f470306ca..5c89ede8bb2d 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.34.138', + 'botocore==1.34.139', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 0f8274ad03a88f844cf8db07dc2ea371c0c38929 Mon Sep 17 00:00:00 2001 From: jonathan343 <43360731+jonathan343@users.noreply.github.com> Date: Wed, 3 Jul 2024 15:54:44 -0400 Subject: [PATCH 0097/1087] Mark test_no_shadowed_builtins with validates_models (#8780) --- tests/functional/test_shadowing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/functional/test_shadowing.py b/tests/functional/test_shadowing.py index 73988f2bbf39..9c4614c93da1 100644 --- a/tests/functional/test_shadowing.py +++ b/tests/functional/test_shadowing.py @@ -24,7 +24,7 @@ def _generate_command_tests(): if hasattr(sub_help, 'command_table'): yield command_name, sub_help.command_table, top_level_params - +@pytest.mark.validates_models @pytest.mark.parametrize( "command_name, command_table, builtins", _generate_command_tests() From 5321b0813d90279660c599c84f16bc2e6da6f933 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 5 Jul 2024 18:06:01 +0000 Subject: [PATCH 0098/1087] Update changelog based on model updates --- .changes/next-release/api-change-acm-63565.json | 5 +++++ .changes/next-release/api-change-ecr-89279.json | 5 +++++ .../api-change-paymentcryptographydata-12841.json | 5 +++++ .changes/next-release/api-change-qbusiness-64640.json | 5 +++++ 4 files changed, 20 insertions(+) create mode 100644 .changes/next-release/api-change-acm-63565.json create mode 100644 .changes/next-release/api-change-ecr-89279.json create mode 100644 .changes/next-release/api-change-paymentcryptographydata-12841.json create mode 100644 .changes/next-release/api-change-qbusiness-64640.json diff --git a/.changes/next-release/api-change-acm-63565.json b/.changes/next-release/api-change-acm-63565.json new file mode 100644 index 000000000000..c2142ffd0c56 --- /dev/null +++ b/.changes/next-release/api-change-acm-63565.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``acm``", + "description": "Documentation updates, including fixes for xml formatting, broken links, and ListCertificates description." +} diff --git a/.changes/next-release/api-change-ecr-89279.json b/.changes/next-release/api-change-ecr-89279.json new file mode 100644 index 000000000000..120da5e549cc --- /dev/null +++ b/.changes/next-release/api-change-ecr-89279.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ecr``", + "description": "This release for Amazon ECR makes change to bring the SDK into sync with the API." +} diff --git a/.changes/next-release/api-change-paymentcryptographydata-12841.json b/.changes/next-release/api-change-paymentcryptographydata-12841.json new file mode 100644 index 000000000000..8e7944c64948 --- /dev/null +++ b/.changes/next-release/api-change-paymentcryptographydata-12841.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``payment-cryptography-data``", + "description": "Added further restrictions on logging of potentially sensitive inputs and outputs." +} diff --git a/.changes/next-release/api-change-qbusiness-64640.json b/.changes/next-release/api-change-qbusiness-64640.json new file mode 100644 index 000000000000..3a61b0178a5f --- /dev/null +++ b/.changes/next-release/api-change-qbusiness-64640.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``qbusiness``", + "description": "Add personalization to Q Applications. Customers can enable or disable personalization when creating or updating a Q application with the personalization configuration." +} From 2fbd8ea81923af93303d5519431e94a26d41f1c8 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 5 Jul 2024 18:07:03 +0000 Subject: [PATCH 0099/1087] Bumping version to 1.33.22 --- .changes/1.33.22.json | 22 +++++++++++++++++++ .../next-release/api-change-acm-63565.json | 5 ----- .../next-release/api-change-ecr-89279.json | 5 ----- ...-change-paymentcryptographydata-12841.json | 5 ----- .../api-change-qbusiness-64640.json | 5 ----- CHANGELOG.rst | 9 ++++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 10 files changed, 35 insertions(+), 24 deletions(-) create mode 100644 .changes/1.33.22.json delete mode 100644 .changes/next-release/api-change-acm-63565.json delete mode 100644 .changes/next-release/api-change-ecr-89279.json delete mode 100644 .changes/next-release/api-change-paymentcryptographydata-12841.json delete mode 100644 .changes/next-release/api-change-qbusiness-64640.json diff --git a/.changes/1.33.22.json b/.changes/1.33.22.json new file mode 100644 index 000000000000..05d5e01a9178 --- /dev/null +++ b/.changes/1.33.22.json @@ -0,0 +1,22 @@ +[ + { + "category": "``acm``", + "description": "Documentation updates, including fixes for xml formatting, broken links, and ListCertificates description.", + "type": "api-change" + }, + { + "category": "``ecr``", + "description": "This release for Amazon ECR makes change to bring the SDK into sync with the API.", + "type": "api-change" + }, + { + "category": "``payment-cryptography-data``", + "description": "Added further restrictions on logging of potentially sensitive inputs and outputs.", + "type": "api-change" + }, + { + "category": "``qbusiness``", + "description": "Add personalization to Q Applications. Customers can enable or disable personalization when creating or updating a Q application with the personalization configuration.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-acm-63565.json b/.changes/next-release/api-change-acm-63565.json deleted file mode 100644 index c2142ffd0c56..000000000000 --- a/.changes/next-release/api-change-acm-63565.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``acm``", - "description": "Documentation updates, including fixes for xml formatting, broken links, and ListCertificates description." -} diff --git a/.changes/next-release/api-change-ecr-89279.json b/.changes/next-release/api-change-ecr-89279.json deleted file mode 100644 index 120da5e549cc..000000000000 --- a/.changes/next-release/api-change-ecr-89279.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ecr``", - "description": "This release for Amazon ECR makes change to bring the SDK into sync with the API." -} diff --git a/.changes/next-release/api-change-paymentcryptographydata-12841.json b/.changes/next-release/api-change-paymentcryptographydata-12841.json deleted file mode 100644 index 8e7944c64948..000000000000 --- a/.changes/next-release/api-change-paymentcryptographydata-12841.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``payment-cryptography-data``", - "description": "Added further restrictions on logging of potentially sensitive inputs and outputs." -} diff --git a/.changes/next-release/api-change-qbusiness-64640.json b/.changes/next-release/api-change-qbusiness-64640.json deleted file mode 100644 index 3a61b0178a5f..000000000000 --- a/.changes/next-release/api-change-qbusiness-64640.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``qbusiness``", - "description": "Add personalization to Q Applications. Customers can enable or disable personalization when creating or updating a Q application with the personalization configuration." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 8b0db7358c3f..15c70bb1ee4e 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,15 @@ CHANGELOG ========= +1.33.22 +======= + +* api-change:``acm``: Documentation updates, including fixes for xml formatting, broken links, and ListCertificates description. +* api-change:``ecr``: This release for Amazon ECR makes change to bring the SDK into sync with the API. +* api-change:``payment-cryptography-data``: Added further restrictions on logging of potentially sensitive inputs and outputs. +* api-change:``qbusiness``: Add personalization to Q Applications. Customers can enable or disable personalization when creating or updating a Q application with the personalization configuration. + + 1.33.21 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index dc1db2ec7204..8de32f16fcc1 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -17,7 +17,7 @@ """ import os -__version__ = '1.33.21' +__version__ = '1.33.22' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index fb882a958b1b..4f5c9455569e 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.33.' # The full version, including alpha/beta/rc tags. -release = '1.33.21' +release = '1.33.22' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 2dd4150a83fa..7b20a098b16a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.34.139 + botocore==1.34.140 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 5c89ede8bb2d..40c6dc876578 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.34.139', + 'botocore==1.34.140', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 59ff6ce2ce4d6fd8370576dba26467f72577739a Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 8 Jul 2024 18:17:46 +0000 Subject: [PATCH 0100/1087] Update changelog based on model updates --- .changes/next-release/api-change-codedeploy-43255.json | 5 +++++ .changes/next-release/api-change-devicefarm-24334.json | 5 +++++ .changes/next-release/api-change-dms-11742.json | 5 +++++ .changes/next-release/api-change-elasticbeanstalk-24757.json | 5 +++++ .changes/next-release/api-change-es-37952.json | 5 +++++ .changes/next-release/api-change-firehose-93048.json | 5 +++++ .changes/next-release/api-change-gamelift-19927.json | 5 +++++ .changes/next-release/api-change-qapps-92016.json | 5 +++++ .changes/next-release/api-change-route53resolver-19199.json | 5 +++++ .changes/next-release/api-change-ses-77449.json | 5 +++++ 10 files changed, 50 insertions(+) create mode 100644 .changes/next-release/api-change-codedeploy-43255.json create mode 100644 .changes/next-release/api-change-devicefarm-24334.json create mode 100644 .changes/next-release/api-change-dms-11742.json create mode 100644 .changes/next-release/api-change-elasticbeanstalk-24757.json create mode 100644 .changes/next-release/api-change-es-37952.json create mode 100644 .changes/next-release/api-change-firehose-93048.json create mode 100644 .changes/next-release/api-change-gamelift-19927.json create mode 100644 .changes/next-release/api-change-qapps-92016.json create mode 100644 .changes/next-release/api-change-route53resolver-19199.json create mode 100644 .changes/next-release/api-change-ses-77449.json diff --git a/.changes/next-release/api-change-codedeploy-43255.json b/.changes/next-release/api-change-codedeploy-43255.json new file mode 100644 index 000000000000..0f3d38f342f7 --- /dev/null +++ b/.changes/next-release/api-change-codedeploy-43255.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``codedeploy``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." +} diff --git a/.changes/next-release/api-change-devicefarm-24334.json b/.changes/next-release/api-change-devicefarm-24334.json new file mode 100644 index 000000000000..451206d9a459 --- /dev/null +++ b/.changes/next-release/api-change-devicefarm-24334.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``devicefarm``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." +} diff --git a/.changes/next-release/api-change-dms-11742.json b/.changes/next-release/api-change-dms-11742.json new file mode 100644 index 000000000000..454d6bf8ef6a --- /dev/null +++ b/.changes/next-release/api-change-dms-11742.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``dms``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." +} diff --git a/.changes/next-release/api-change-elasticbeanstalk-24757.json b/.changes/next-release/api-change-elasticbeanstalk-24757.json new file mode 100644 index 000000000000..c715ae6df455 --- /dev/null +++ b/.changes/next-release/api-change-elasticbeanstalk-24757.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``elasticbeanstalk``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." +} diff --git a/.changes/next-release/api-change-es-37952.json b/.changes/next-release/api-change-es-37952.json new file mode 100644 index 000000000000..0ae401a721b8 --- /dev/null +++ b/.changes/next-release/api-change-es-37952.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``es``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." +} diff --git a/.changes/next-release/api-change-firehose-93048.json b/.changes/next-release/api-change-firehose-93048.json new file mode 100644 index 000000000000..4b2ed97c48ca --- /dev/null +++ b/.changes/next-release/api-change-firehose-93048.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``firehose``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." +} diff --git a/.changes/next-release/api-change-gamelift-19927.json b/.changes/next-release/api-change-gamelift-19927.json new file mode 100644 index 000000000000..1fea2a64a735 --- /dev/null +++ b/.changes/next-release/api-change-gamelift-19927.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``gamelift``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." +} diff --git a/.changes/next-release/api-change-qapps-92016.json b/.changes/next-release/api-change-qapps-92016.json new file mode 100644 index 000000000000..74a19b6ce530 --- /dev/null +++ b/.changes/next-release/api-change-qapps-92016.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``qapps``", + "description": "This is a general availability (GA) release of Amazon Q Apps, a capability of Amazon Q Business. Q Apps leverages data sources your company has provided to enable users to build, share, and customize apps within your organization." +} diff --git a/.changes/next-release/api-change-route53resolver-19199.json b/.changes/next-release/api-change-route53resolver-19199.json new file mode 100644 index 000000000000..166c3ec12813 --- /dev/null +++ b/.changes/next-release/api-change-route53resolver-19199.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``route53resolver``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." +} diff --git a/.changes/next-release/api-change-ses-77449.json b/.changes/next-release/api-change-ses-77449.json new file mode 100644 index 000000000000..b77fcb451f08 --- /dev/null +++ b/.changes/next-release/api-change-ses-77449.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ses``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." +} From c96b2d54dd3eb072bfaa6957e275c7062851e761 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 8 Jul 2024 18:18:59 +0000 Subject: [PATCH 0101/1087] Bumping version to 1.33.23 --- .changes/1.33.23.json | 52 +++++++++++++++++++ .../api-change-codedeploy-43255.json | 5 -- .../api-change-devicefarm-24334.json | 5 -- .../next-release/api-change-dms-11742.json | 5 -- .../api-change-elasticbeanstalk-24757.json | 5 -- .../next-release/api-change-es-37952.json | 5 -- .../api-change-firehose-93048.json | 5 -- .../api-change-gamelift-19927.json | 5 -- .../next-release/api-change-qapps-92016.json | 5 -- .../api-change-route53resolver-19199.json | 5 -- .../next-release/api-change-ses-77449.json | 5 -- CHANGELOG.rst | 15 ++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 16 files changed, 71 insertions(+), 54 deletions(-) create mode 100644 .changes/1.33.23.json delete mode 100644 .changes/next-release/api-change-codedeploy-43255.json delete mode 100644 .changes/next-release/api-change-devicefarm-24334.json delete mode 100644 .changes/next-release/api-change-dms-11742.json delete mode 100644 .changes/next-release/api-change-elasticbeanstalk-24757.json delete mode 100644 .changes/next-release/api-change-es-37952.json delete mode 100644 .changes/next-release/api-change-firehose-93048.json delete mode 100644 .changes/next-release/api-change-gamelift-19927.json delete mode 100644 .changes/next-release/api-change-qapps-92016.json delete mode 100644 .changes/next-release/api-change-route53resolver-19199.json delete mode 100644 .changes/next-release/api-change-ses-77449.json diff --git a/.changes/1.33.23.json b/.changes/1.33.23.json new file mode 100644 index 000000000000..385d82697998 --- /dev/null +++ b/.changes/1.33.23.json @@ -0,0 +1,52 @@ +[ + { + "category": "``codedeploy``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing.", + "type": "api-change" + }, + { + "category": "``devicefarm``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing.", + "type": "api-change" + }, + { + "category": "``dms``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing.", + "type": "api-change" + }, + { + "category": "``elasticbeanstalk``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing.", + "type": "api-change" + }, + { + "category": "``es``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing.", + "type": "api-change" + }, + { + "category": "``firehose``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing.", + "type": "api-change" + }, + { + "category": "``gamelift``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing.", + "type": "api-change" + }, + { + "category": "``qapps``", + "description": "This is a general availability (GA) release of Amazon Q Apps, a capability of Amazon Q Business. Q Apps leverages data sources your company has provided to enable users to build, share, and customize apps within your organization.", + "type": "api-change" + }, + { + "category": "``route53resolver``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing.", + "type": "api-change" + }, + { + "category": "``ses``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-codedeploy-43255.json b/.changes/next-release/api-change-codedeploy-43255.json deleted file mode 100644 index 0f3d38f342f7..000000000000 --- a/.changes/next-release/api-change-codedeploy-43255.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``codedeploy``", - "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." -} diff --git a/.changes/next-release/api-change-devicefarm-24334.json b/.changes/next-release/api-change-devicefarm-24334.json deleted file mode 100644 index 451206d9a459..000000000000 --- a/.changes/next-release/api-change-devicefarm-24334.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``devicefarm``", - "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." -} diff --git a/.changes/next-release/api-change-dms-11742.json b/.changes/next-release/api-change-dms-11742.json deleted file mode 100644 index 454d6bf8ef6a..000000000000 --- a/.changes/next-release/api-change-dms-11742.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``dms``", - "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." -} diff --git a/.changes/next-release/api-change-elasticbeanstalk-24757.json b/.changes/next-release/api-change-elasticbeanstalk-24757.json deleted file mode 100644 index c715ae6df455..000000000000 --- a/.changes/next-release/api-change-elasticbeanstalk-24757.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``elasticbeanstalk``", - "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." -} diff --git a/.changes/next-release/api-change-es-37952.json b/.changes/next-release/api-change-es-37952.json deleted file mode 100644 index 0ae401a721b8..000000000000 --- a/.changes/next-release/api-change-es-37952.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``es``", - "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." -} diff --git a/.changes/next-release/api-change-firehose-93048.json b/.changes/next-release/api-change-firehose-93048.json deleted file mode 100644 index 4b2ed97c48ca..000000000000 --- a/.changes/next-release/api-change-firehose-93048.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``firehose``", - "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." -} diff --git a/.changes/next-release/api-change-gamelift-19927.json b/.changes/next-release/api-change-gamelift-19927.json deleted file mode 100644 index 1fea2a64a735..000000000000 --- a/.changes/next-release/api-change-gamelift-19927.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``gamelift``", - "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." -} diff --git a/.changes/next-release/api-change-qapps-92016.json b/.changes/next-release/api-change-qapps-92016.json deleted file mode 100644 index 74a19b6ce530..000000000000 --- a/.changes/next-release/api-change-qapps-92016.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``qapps``", - "description": "This is a general availability (GA) release of Amazon Q Apps, a capability of Amazon Q Business. Q Apps leverages data sources your company has provided to enable users to build, share, and customize apps within your organization." -} diff --git a/.changes/next-release/api-change-route53resolver-19199.json b/.changes/next-release/api-change-route53resolver-19199.json deleted file mode 100644 index 166c3ec12813..000000000000 --- a/.changes/next-release/api-change-route53resolver-19199.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``route53resolver``", - "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." -} diff --git a/.changes/next-release/api-change-ses-77449.json b/.changes/next-release/api-change-ses-77449.json deleted file mode 100644 index b77fcb451f08..000000000000 --- a/.changes/next-release/api-change-ses-77449.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ses``", - "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 15c70bb1ee4e..bbac83b9ff79 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,21 @@ CHANGELOG ========= +1.33.23 +======= + +* api-change:``codedeploy``: Add v2 smoke tests and smithy smokeTests trait for SDK testing. +* api-change:``devicefarm``: Add v2 smoke tests and smithy smokeTests trait for SDK testing. +* api-change:``dms``: Add v2 smoke tests and smithy smokeTests trait for SDK testing. +* api-change:``elasticbeanstalk``: Add v2 smoke tests and smithy smokeTests trait for SDK testing. +* api-change:``es``: Add v2 smoke tests and smithy smokeTests trait for SDK testing. +* api-change:``firehose``: Add v2 smoke tests and smithy smokeTests trait for SDK testing. +* api-change:``gamelift``: Add v2 smoke tests and smithy smokeTests trait for SDK testing. +* api-change:``qapps``: This is a general availability (GA) release of Amazon Q Apps, a capability of Amazon Q Business. Q Apps leverages data sources your company has provided to enable users to build, share, and customize apps within your organization. +* api-change:``route53resolver``: Add v2 smoke tests and smithy smokeTests trait for SDK testing. +* api-change:``ses``: Add v2 smoke tests and smithy smokeTests trait for SDK testing. + + 1.33.22 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 8de32f16fcc1..a3f5cf6cf22a 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -17,7 +17,7 @@ """ import os -__version__ = '1.33.22' +__version__ = '1.33.23' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 4f5c9455569e..a937634734fa 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.33.' # The full version, including alpha/beta/rc tags. -release = '1.33.22' +release = '1.33.23' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 7b20a098b16a..47ca614dcea5 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.34.140 + botocore==1.34.141 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 40c6dc876578..3242df0d9280 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.34.140', + 'botocore==1.34.141', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 1aa4985baacd53c4faaef0f6c55ba42c4eecdda2 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 9 Jul 2024 18:08:13 +0000 Subject: [PATCH 0102/1087] Update changelog based on model updates --- .changes/next-release/api-change-datazone-48365.json | 5 +++++ .changes/next-release/api-change-fsx-80759.json | 5 +++++ .changes/next-release/api-change-opensearch-92097.json | 5 +++++ .changes/next-release/api-change-sagemaker-19024.json | 5 +++++ 4 files changed, 20 insertions(+) create mode 100644 .changes/next-release/api-change-datazone-48365.json create mode 100644 .changes/next-release/api-change-fsx-80759.json create mode 100644 .changes/next-release/api-change-opensearch-92097.json create mode 100644 .changes/next-release/api-change-sagemaker-19024.json diff --git a/.changes/next-release/api-change-datazone-48365.json b/.changes/next-release/api-change-datazone-48365.json new file mode 100644 index 000000000000..cb63ed8eeece --- /dev/null +++ b/.changes/next-release/api-change-datazone-48365.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``datazone``", + "description": "This release deprecates dataProductItem field from SearchInventoryResultItem, along with some unused DataProduct shapes" +} diff --git a/.changes/next-release/api-change-fsx-80759.json b/.changes/next-release/api-change-fsx-80759.json new file mode 100644 index 000000000000..8edc84d0e4d0 --- /dev/null +++ b/.changes/next-release/api-change-fsx-80759.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``fsx``", + "description": "Adds support for FSx for NetApp ONTAP 2nd Generation file systems, and FSx for OpenZFS Single AZ HA file systems." +} diff --git a/.changes/next-release/api-change-opensearch-92097.json b/.changes/next-release/api-change-opensearch-92097.json new file mode 100644 index 000000000000..861c639b0656 --- /dev/null +++ b/.changes/next-release/api-change-opensearch-92097.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``opensearch``", + "description": "This release adds support for enabling or disabling Natural Language Query Processing feature for Amazon OpenSearch Service domains, and provides visibility into the current state of the setup or tear-down." +} diff --git a/.changes/next-release/api-change-sagemaker-19024.json b/.changes/next-release/api-change-sagemaker-19024.json new file mode 100644 index 000000000000..2fa5b1918698 --- /dev/null +++ b/.changes/next-release/api-change-sagemaker-19024.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``sagemaker``", + "description": "This release 1/ enables optimization jobs that allows customers to perform Ahead-of-time compilation and quantization. 2/ allows customers to control access to Amazon Q integration in SageMaker Studio. 3/ enables AdditionalModelDataSources for CreateModel action." +} From 8357899f62b9bbe7dc1d78a71314648384d3df6c Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 9 Jul 2024 18:09:21 +0000 Subject: [PATCH 0103/1087] Bumping version to 1.33.24 --- .changes/1.33.24.json | 22 +++++++++++++++++++ .../api-change-datazone-48365.json | 5 ----- .../next-release/api-change-fsx-80759.json | 5 ----- .../api-change-opensearch-92097.json | 5 ----- .../api-change-sagemaker-19024.json | 5 ----- CHANGELOG.rst | 9 ++++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 10 files changed, 35 insertions(+), 24 deletions(-) create mode 100644 .changes/1.33.24.json delete mode 100644 .changes/next-release/api-change-datazone-48365.json delete mode 100644 .changes/next-release/api-change-fsx-80759.json delete mode 100644 .changes/next-release/api-change-opensearch-92097.json delete mode 100644 .changes/next-release/api-change-sagemaker-19024.json diff --git a/.changes/1.33.24.json b/.changes/1.33.24.json new file mode 100644 index 000000000000..35ab99cbfaf5 --- /dev/null +++ b/.changes/1.33.24.json @@ -0,0 +1,22 @@ +[ + { + "category": "``datazone``", + "description": "This release deprecates dataProductItem field from SearchInventoryResultItem, along with some unused DataProduct shapes", + "type": "api-change" + }, + { + "category": "``fsx``", + "description": "Adds support for FSx for NetApp ONTAP 2nd Generation file systems, and FSx for OpenZFS Single AZ HA file systems.", + "type": "api-change" + }, + { + "category": "``opensearch``", + "description": "This release adds support for enabling or disabling Natural Language Query Processing feature for Amazon OpenSearch Service domains, and provides visibility into the current state of the setup or tear-down.", + "type": "api-change" + }, + { + "category": "``sagemaker``", + "description": "This release 1/ enables optimization jobs that allows customers to perform Ahead-of-time compilation and quantization. 2/ allows customers to control access to Amazon Q integration in SageMaker Studio. 3/ enables AdditionalModelDataSources for CreateModel action.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-datazone-48365.json b/.changes/next-release/api-change-datazone-48365.json deleted file mode 100644 index cb63ed8eeece..000000000000 --- a/.changes/next-release/api-change-datazone-48365.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``datazone``", - "description": "This release deprecates dataProductItem field from SearchInventoryResultItem, along with some unused DataProduct shapes" -} diff --git a/.changes/next-release/api-change-fsx-80759.json b/.changes/next-release/api-change-fsx-80759.json deleted file mode 100644 index 8edc84d0e4d0..000000000000 --- a/.changes/next-release/api-change-fsx-80759.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``fsx``", - "description": "Adds support for FSx for NetApp ONTAP 2nd Generation file systems, and FSx for OpenZFS Single AZ HA file systems." -} diff --git a/.changes/next-release/api-change-opensearch-92097.json b/.changes/next-release/api-change-opensearch-92097.json deleted file mode 100644 index 861c639b0656..000000000000 --- a/.changes/next-release/api-change-opensearch-92097.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``opensearch``", - "description": "This release adds support for enabling or disabling Natural Language Query Processing feature for Amazon OpenSearch Service domains, and provides visibility into the current state of the setup or tear-down." -} diff --git a/.changes/next-release/api-change-sagemaker-19024.json b/.changes/next-release/api-change-sagemaker-19024.json deleted file mode 100644 index 2fa5b1918698..000000000000 --- a/.changes/next-release/api-change-sagemaker-19024.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``sagemaker``", - "description": "This release 1/ enables optimization jobs that allows customers to perform Ahead-of-time compilation and quantization. 2/ allows customers to control access to Amazon Q integration in SageMaker Studio. 3/ enables AdditionalModelDataSources for CreateModel action." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index bbac83b9ff79..4449ffdeebaf 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,15 @@ CHANGELOG ========= +1.33.24 +======= + +* api-change:``datazone``: This release deprecates dataProductItem field from SearchInventoryResultItem, along with some unused DataProduct shapes +* api-change:``fsx``: Adds support for FSx for NetApp ONTAP 2nd Generation file systems, and FSx for OpenZFS Single AZ HA file systems. +* api-change:``opensearch``: This release adds support for enabling or disabling Natural Language Query Processing feature for Amazon OpenSearch Service domains, and provides visibility into the current state of the setup or tear-down. +* api-change:``sagemaker``: This release 1/ enables optimization jobs that allows customers to perform Ahead-of-time compilation and quantization. 2/ allows customers to control access to Amazon Q integration in SageMaker Studio. 3/ enables AdditionalModelDataSources for CreateModel action. + + 1.33.23 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index a3f5cf6cf22a..90e955ddc593 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -17,7 +17,7 @@ """ import os -__version__ = '1.33.23' +__version__ = '1.33.24' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index a937634734fa..bf3906e3ea23 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.33.' # The full version, including alpha/beta/rc tags. -release = '1.33.23' +release = '1.33.24' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 47ca614dcea5..93f272b50dda 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.34.141 + botocore==1.34.142 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 3242df0d9280..08358baf5e43 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.34.141', + 'botocore==1.34.142', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 52381f0285f93b1a154a6946e993c06fac9847b5 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 10 Jul 2024 18:40:28 +0000 Subject: [PATCH 0104/1087] Merge customizations for Bedrock Agent Runtime --- awscli/customizations/removals.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/awscli/customizations/removals.py b/awscli/customizations/removals.py index 0a60b9a8c625..f7ecd3a7f571 100644 --- a/awscli/customizations/removals.py +++ b/awscli/customizations/removals.py @@ -54,7 +54,8 @@ def register_removals(event_handler): remove_commands=['invoke-model-with-response-stream', 'converse-stream']) cmd_remover.remove(on_event='building-command-table.bedrock-agent-runtime', - remove_commands=['invoke-agent']) + remove_commands=['invoke-agent', + 'invoke-flow']) cmd_remover.remove(on_event='building-command-table.qbusiness', remove_commands=['chat']) From f9459d741ed0a9f52edc5bcb307a1c771452f430 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 10 Jul 2024 18:40:34 +0000 Subject: [PATCH 0105/1087] Update changelog based on model updates --- .changes/next-release/api-change-batch-42914.json | 5 +++++ .changes/next-release/api-change-bedrock-59545.json | 5 +++++ .changes/next-release/api-change-bedrockagent-39697.json | 5 +++++ .../next-release/api-change-bedrockagentruntime-90941.json | 5 +++++ .changes/next-release/api-change-bedrockruntime-70513.json | 5 +++++ .changes/next-release/api-change-ec2-43104.json | 5 +++++ .changes/next-release/api-change-glue-72538.json | 5 +++++ .changes/next-release/api-change-groundstation-23627.json | 5 +++++ .../api-change-licensemanagerlinuxsubscriptions-86932.json | 5 +++++ .changes/next-release/api-change-mediaconnect-11043.json | 5 +++++ 10 files changed, 50 insertions(+) create mode 100644 .changes/next-release/api-change-batch-42914.json create mode 100644 .changes/next-release/api-change-bedrock-59545.json create mode 100644 .changes/next-release/api-change-bedrockagent-39697.json create mode 100644 .changes/next-release/api-change-bedrockagentruntime-90941.json create mode 100644 .changes/next-release/api-change-bedrockruntime-70513.json create mode 100644 .changes/next-release/api-change-ec2-43104.json create mode 100644 .changes/next-release/api-change-glue-72538.json create mode 100644 .changes/next-release/api-change-groundstation-23627.json create mode 100644 .changes/next-release/api-change-licensemanagerlinuxsubscriptions-86932.json create mode 100644 .changes/next-release/api-change-mediaconnect-11043.json diff --git a/.changes/next-release/api-change-batch-42914.json b/.changes/next-release/api-change-batch-42914.json new file mode 100644 index 000000000000..957cd6a1efce --- /dev/null +++ b/.changes/next-release/api-change-batch-42914.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``batch``", + "description": "This feature allows AWS Batch Jobs with EKS container orchestration type to be run as Multi-Node Parallel Jobs." +} diff --git a/.changes/next-release/api-change-bedrock-59545.json b/.changes/next-release/api-change-bedrock-59545.json new file mode 100644 index 000000000000..408db2ffcd1e --- /dev/null +++ b/.changes/next-release/api-change-bedrock-59545.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock``", + "description": "Add support for contextual grounding check for Guardrails for Amazon Bedrock." +} diff --git a/.changes/next-release/api-change-bedrockagent-39697.json b/.changes/next-release/api-change-bedrockagent-39697.json new file mode 100644 index 000000000000..9396a0453ea6 --- /dev/null +++ b/.changes/next-release/api-change-bedrockagent-39697.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-agent``", + "description": "Introduces new data sources and chunking strategies for Knowledge bases, advanced parsing logic using FMs, session summary generation, and code interpretation (preview) for Claude V3 Sonnet and Haiku models. Also introduces Prompt Flows (preview) to link prompts, foundational models, and resources." +} diff --git a/.changes/next-release/api-change-bedrockagentruntime-90941.json b/.changes/next-release/api-change-bedrockagentruntime-90941.json new file mode 100644 index 000000000000..93aa6c22c88c --- /dev/null +++ b/.changes/next-release/api-change-bedrockagentruntime-90941.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-agent-runtime``", + "description": "Introduces query decomposition, enhanced Agents integration with Knowledge bases, session summary generation, and code interpretation (preview) for Claude V3 Sonnet and Haiku models. Also introduces Prompt Flows (preview) to link prompts, foundational models, and resources for end-to-end solutions." +} diff --git a/.changes/next-release/api-change-bedrockruntime-70513.json b/.changes/next-release/api-change-bedrockruntime-70513.json new file mode 100644 index 000000000000..6371089d2d19 --- /dev/null +++ b/.changes/next-release/api-change-bedrockruntime-70513.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-runtime``", + "description": "Add support for contextual grounding check and ApplyGuardrail API for Guardrails for Amazon Bedrock." +} diff --git a/.changes/next-release/api-change-ec2-43104.json b/.changes/next-release/api-change-ec2-43104.json new file mode 100644 index 000000000000..e69ab7edd2b7 --- /dev/null +++ b/.changes/next-release/api-change-ec2-43104.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ec2``", + "description": "Add parameters to enable provisioning IPAM BYOIPv4 space at a Local Zone Network Border Group level" +} diff --git a/.changes/next-release/api-change-glue-72538.json b/.changes/next-release/api-change-glue-72538.json new file mode 100644 index 000000000000..92da149a40ec --- /dev/null +++ b/.changes/next-release/api-change-glue-72538.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``glue``", + "description": "Add recipe step support for recipe node" +} diff --git a/.changes/next-release/api-change-groundstation-23627.json b/.changes/next-release/api-change-groundstation-23627.json new file mode 100644 index 000000000000..d305b550b503 --- /dev/null +++ b/.changes/next-release/api-change-groundstation-23627.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``groundstation``", + "description": "Documentation update specifying OEM ephemeris units of measurement" +} diff --git a/.changes/next-release/api-change-licensemanagerlinuxsubscriptions-86932.json b/.changes/next-release/api-change-licensemanagerlinuxsubscriptions-86932.json new file mode 100644 index 000000000000..54ce734fb3a9 --- /dev/null +++ b/.changes/next-release/api-change-licensemanagerlinuxsubscriptions-86932.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``license-manager-linux-subscriptions``", + "description": "Add support for third party subscription providers, starting with RHEL subscriptions through Red Hat Subscription Manager (RHSM). Additionally, add support for tagging subscription provider resources, and detect when an instance has more than one Linux subscription and notify the customer." +} diff --git a/.changes/next-release/api-change-mediaconnect-11043.json b/.changes/next-release/api-change-mediaconnect-11043.json new file mode 100644 index 000000000000..2f66775587cb --- /dev/null +++ b/.changes/next-release/api-change-mediaconnect-11043.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``mediaconnect``", + "description": "AWS Elemental MediaConnect introduces the ability to disable outputs. Disabling an output allows you to keep the output attached to the flow, but stop streaming to the output destination. A disabled output does not incur data transfer costs." +} From 7e24ceb6f6f9a1ffa7e8bf2507f871b62f47f510 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 10 Jul 2024 18:41:51 +0000 Subject: [PATCH 0106/1087] Bumping version to 1.33.25 --- .changes/1.33.25.json | 52 +++++++++++++++++++ .../next-release/api-change-batch-42914.json | 5 -- .../api-change-bedrock-59545.json | 5 -- .../api-change-bedrockagent-39697.json | 5 -- .../api-change-bedrockagentruntime-90941.json | 5 -- .../api-change-bedrockruntime-70513.json | 5 -- .../next-release/api-change-ec2-43104.json | 5 -- .../next-release/api-change-glue-72538.json | 5 -- .../api-change-groundstation-23627.json | 5 -- ...icensemanagerlinuxsubscriptions-86932.json | 5 -- .../api-change-mediaconnect-11043.json | 5 -- CHANGELOG.rst | 15 ++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 16 files changed, 71 insertions(+), 54 deletions(-) create mode 100644 .changes/1.33.25.json delete mode 100644 .changes/next-release/api-change-batch-42914.json delete mode 100644 .changes/next-release/api-change-bedrock-59545.json delete mode 100644 .changes/next-release/api-change-bedrockagent-39697.json delete mode 100644 .changes/next-release/api-change-bedrockagentruntime-90941.json delete mode 100644 .changes/next-release/api-change-bedrockruntime-70513.json delete mode 100644 .changes/next-release/api-change-ec2-43104.json delete mode 100644 .changes/next-release/api-change-glue-72538.json delete mode 100644 .changes/next-release/api-change-groundstation-23627.json delete mode 100644 .changes/next-release/api-change-licensemanagerlinuxsubscriptions-86932.json delete mode 100644 .changes/next-release/api-change-mediaconnect-11043.json diff --git a/.changes/1.33.25.json b/.changes/1.33.25.json new file mode 100644 index 000000000000..432c34ff857b --- /dev/null +++ b/.changes/1.33.25.json @@ -0,0 +1,52 @@ +[ + { + "category": "``batch``", + "description": "This feature allows AWS Batch Jobs with EKS container orchestration type to be run as Multi-Node Parallel Jobs.", + "type": "api-change" + }, + { + "category": "``bedrock``", + "description": "Add support for contextual grounding check for Guardrails for Amazon Bedrock.", + "type": "api-change" + }, + { + "category": "``bedrock-agent``", + "description": "Introduces new data sources and chunking strategies for Knowledge bases, advanced parsing logic using FMs, session summary generation, and code interpretation (preview) for Claude V3 Sonnet and Haiku models. Also introduces Prompt Flows (preview) to link prompts, foundational models, and resources.", + "type": "api-change" + }, + { + "category": "``bedrock-agent-runtime``", + "description": "Introduces query decomposition, enhanced Agents integration with Knowledge bases, session summary generation, and code interpretation (preview) for Claude V3 Sonnet and Haiku models. Also introduces Prompt Flows (preview) to link prompts, foundational models, and resources for end-to-end solutions.", + "type": "api-change" + }, + { + "category": "``bedrock-runtime``", + "description": "Add support for contextual grounding check and ApplyGuardrail API for Guardrails for Amazon Bedrock.", + "type": "api-change" + }, + { + "category": "``ec2``", + "description": "Add parameters to enable provisioning IPAM BYOIPv4 space at a Local Zone Network Border Group level", + "type": "api-change" + }, + { + "category": "``glue``", + "description": "Add recipe step support for recipe node", + "type": "api-change" + }, + { + "category": "``groundstation``", + "description": "Documentation update specifying OEM ephemeris units of measurement", + "type": "api-change" + }, + { + "category": "``license-manager-linux-subscriptions``", + "description": "Add support for third party subscription providers, starting with RHEL subscriptions through Red Hat Subscription Manager (RHSM). Additionally, add support for tagging subscription provider resources, and detect when an instance has more than one Linux subscription and notify the customer.", + "type": "api-change" + }, + { + "category": "``mediaconnect``", + "description": "AWS Elemental MediaConnect introduces the ability to disable outputs. Disabling an output allows you to keep the output attached to the flow, but stop streaming to the output destination. A disabled output does not incur data transfer costs.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-batch-42914.json b/.changes/next-release/api-change-batch-42914.json deleted file mode 100644 index 957cd6a1efce..000000000000 --- a/.changes/next-release/api-change-batch-42914.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``batch``", - "description": "This feature allows AWS Batch Jobs with EKS container orchestration type to be run as Multi-Node Parallel Jobs." -} diff --git a/.changes/next-release/api-change-bedrock-59545.json b/.changes/next-release/api-change-bedrock-59545.json deleted file mode 100644 index 408db2ffcd1e..000000000000 --- a/.changes/next-release/api-change-bedrock-59545.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock``", - "description": "Add support for contextual grounding check for Guardrails for Amazon Bedrock." -} diff --git a/.changes/next-release/api-change-bedrockagent-39697.json b/.changes/next-release/api-change-bedrockagent-39697.json deleted file mode 100644 index 9396a0453ea6..000000000000 --- a/.changes/next-release/api-change-bedrockagent-39697.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-agent``", - "description": "Introduces new data sources and chunking strategies for Knowledge bases, advanced parsing logic using FMs, session summary generation, and code interpretation (preview) for Claude V3 Sonnet and Haiku models. Also introduces Prompt Flows (preview) to link prompts, foundational models, and resources." -} diff --git a/.changes/next-release/api-change-bedrockagentruntime-90941.json b/.changes/next-release/api-change-bedrockagentruntime-90941.json deleted file mode 100644 index 93aa6c22c88c..000000000000 --- a/.changes/next-release/api-change-bedrockagentruntime-90941.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-agent-runtime``", - "description": "Introduces query decomposition, enhanced Agents integration with Knowledge bases, session summary generation, and code interpretation (preview) for Claude V3 Sonnet and Haiku models. Also introduces Prompt Flows (preview) to link prompts, foundational models, and resources for end-to-end solutions." -} diff --git a/.changes/next-release/api-change-bedrockruntime-70513.json b/.changes/next-release/api-change-bedrockruntime-70513.json deleted file mode 100644 index 6371089d2d19..000000000000 --- a/.changes/next-release/api-change-bedrockruntime-70513.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-runtime``", - "description": "Add support for contextual grounding check and ApplyGuardrail API for Guardrails for Amazon Bedrock." -} diff --git a/.changes/next-release/api-change-ec2-43104.json b/.changes/next-release/api-change-ec2-43104.json deleted file mode 100644 index e69ab7edd2b7..000000000000 --- a/.changes/next-release/api-change-ec2-43104.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ec2``", - "description": "Add parameters to enable provisioning IPAM BYOIPv4 space at a Local Zone Network Border Group level" -} diff --git a/.changes/next-release/api-change-glue-72538.json b/.changes/next-release/api-change-glue-72538.json deleted file mode 100644 index 92da149a40ec..000000000000 --- a/.changes/next-release/api-change-glue-72538.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``glue``", - "description": "Add recipe step support for recipe node" -} diff --git a/.changes/next-release/api-change-groundstation-23627.json b/.changes/next-release/api-change-groundstation-23627.json deleted file mode 100644 index d305b550b503..000000000000 --- a/.changes/next-release/api-change-groundstation-23627.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``groundstation``", - "description": "Documentation update specifying OEM ephemeris units of measurement" -} diff --git a/.changes/next-release/api-change-licensemanagerlinuxsubscriptions-86932.json b/.changes/next-release/api-change-licensemanagerlinuxsubscriptions-86932.json deleted file mode 100644 index 54ce734fb3a9..000000000000 --- a/.changes/next-release/api-change-licensemanagerlinuxsubscriptions-86932.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``license-manager-linux-subscriptions``", - "description": "Add support for third party subscription providers, starting with RHEL subscriptions through Red Hat Subscription Manager (RHSM). Additionally, add support for tagging subscription provider resources, and detect when an instance has more than one Linux subscription and notify the customer." -} diff --git a/.changes/next-release/api-change-mediaconnect-11043.json b/.changes/next-release/api-change-mediaconnect-11043.json deleted file mode 100644 index 2f66775587cb..000000000000 --- a/.changes/next-release/api-change-mediaconnect-11043.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``mediaconnect``", - "description": "AWS Elemental MediaConnect introduces the ability to disable outputs. Disabling an output allows you to keep the output attached to the flow, but stop streaming to the output destination. A disabled output does not incur data transfer costs." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 4449ffdeebaf..3e418f02d57a 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,21 @@ CHANGELOG ========= +1.33.25 +======= + +* api-change:``batch``: This feature allows AWS Batch Jobs with EKS container orchestration type to be run as Multi-Node Parallel Jobs. +* api-change:``bedrock``: Add support for contextual grounding check for Guardrails for Amazon Bedrock. +* api-change:``bedrock-agent``: Introduces new data sources and chunking strategies for Knowledge bases, advanced parsing logic using FMs, session summary generation, and code interpretation (preview) for Claude V3 Sonnet and Haiku models. Also introduces Prompt Flows (preview) to link prompts, foundational models, and resources. +* api-change:``bedrock-agent-runtime``: Introduces query decomposition, enhanced Agents integration with Knowledge bases, session summary generation, and code interpretation (preview) for Claude V3 Sonnet and Haiku models. Also introduces Prompt Flows (preview) to link prompts, foundational models, and resources for end-to-end solutions. +* api-change:``bedrock-runtime``: Add support for contextual grounding check and ApplyGuardrail API for Guardrails for Amazon Bedrock. +* api-change:``ec2``: Add parameters to enable provisioning IPAM BYOIPv4 space at a Local Zone Network Border Group level +* api-change:``glue``: Add recipe step support for recipe node +* api-change:``groundstation``: Documentation update specifying OEM ephemeris units of measurement +* api-change:``license-manager-linux-subscriptions``: Add support for third party subscription providers, starting with RHEL subscriptions through Red Hat Subscription Manager (RHSM). Additionally, add support for tagging subscription provider resources, and detect when an instance has more than one Linux subscription and notify the customer. +* api-change:``mediaconnect``: AWS Elemental MediaConnect introduces the ability to disable outputs. Disabling an output allows you to keep the output attached to the flow, but stop streaming to the output destination. A disabled output does not incur data transfer costs. + + 1.33.24 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 90e955ddc593..a4f1dc51f352 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -17,7 +17,7 @@ """ import os -__version__ = '1.33.24' +__version__ = '1.33.25' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index bf3906e3ea23..05c5df5c02ca 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.33.' # The full version, including alpha/beta/rc tags. -release = '1.33.24' +release = '1.33.25' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 93f272b50dda..429194d68e62 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.34.142 + botocore==1.34.143 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 08358baf5e43..fa7a3a1fab0a 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.34.142', + 'botocore==1.34.143', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From e15946b62c270ede3df8625ea55c82502cf9f3db Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 12 Jul 2024 18:06:08 +0000 Subject: [PATCH 0107/1087] Update changelog based on model updates --- .changes/next-release/api-change-acmpca-79226.json | 5 +++++ .changes/next-release/api-change-arczonalshift-43891.json | 5 +++++ .../next-release/api-change-globalaccelerator-47277.json | 5 +++++ .changes/next-release/api-change-pinpoint-75544.json | 5 +++++ .changes/next-release/api-change-quicksight-86167.json | 5 +++++ 5 files changed, 25 insertions(+) create mode 100644 .changes/next-release/api-change-acmpca-79226.json create mode 100644 .changes/next-release/api-change-arczonalshift-43891.json create mode 100644 .changes/next-release/api-change-globalaccelerator-47277.json create mode 100644 .changes/next-release/api-change-pinpoint-75544.json create mode 100644 .changes/next-release/api-change-quicksight-86167.json diff --git a/.changes/next-release/api-change-acmpca-79226.json b/.changes/next-release/api-change-acmpca-79226.json new file mode 100644 index 000000000000..aae3a0fde6d9 --- /dev/null +++ b/.changes/next-release/api-change-acmpca-79226.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``acm-pca``", + "description": "Minor refactoring of C2J model for AWS Private CA" +} diff --git a/.changes/next-release/api-change-arczonalshift-43891.json b/.changes/next-release/api-change-arczonalshift-43891.json new file mode 100644 index 000000000000..6d0aaf07a654 --- /dev/null +++ b/.changes/next-release/api-change-arczonalshift-43891.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``arc-zonal-shift``", + "description": "Adds the option to subscribe to get notifications when a zonal autoshift occurs in a region." +} diff --git a/.changes/next-release/api-change-globalaccelerator-47277.json b/.changes/next-release/api-change-globalaccelerator-47277.json new file mode 100644 index 000000000000..b21eaa6b0964 --- /dev/null +++ b/.changes/next-release/api-change-globalaccelerator-47277.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``globalaccelerator``", + "description": "This feature adds exceptions to the Customer API to avoid throwing Internal Service errors" +} diff --git a/.changes/next-release/api-change-pinpoint-75544.json b/.changes/next-release/api-change-pinpoint-75544.json new file mode 100644 index 000000000000..68f775340e36 --- /dev/null +++ b/.changes/next-release/api-change-pinpoint-75544.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``pinpoint``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." +} diff --git a/.changes/next-release/api-change-quicksight-86167.json b/.changes/next-release/api-change-quicksight-86167.json new file mode 100644 index 000000000000..56945c8a1f3e --- /dev/null +++ b/.changes/next-release/api-change-quicksight-86167.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``quicksight``", + "description": "Vega ally control options and Support for Reviewed Answers in Topics" +} From f2f36662ce10d123e19dd9cf39bf5947e3204b9a Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 12 Jul 2024 18:07:34 +0000 Subject: [PATCH 0108/1087] Bumping version to 1.33.26 --- .changes/1.33.26.json | 27 +++++++++++++++++++ .../next-release/api-change-acmpca-79226.json | 5 ---- .../api-change-arczonalshift-43891.json | 5 ---- .../api-change-globalaccelerator-47277.json | 5 ---- .../api-change-pinpoint-75544.json | 5 ---- .../api-change-quicksight-86167.json | 5 ---- CHANGELOG.rst | 10 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 11 files changed, 41 insertions(+), 29 deletions(-) create mode 100644 .changes/1.33.26.json delete mode 100644 .changes/next-release/api-change-acmpca-79226.json delete mode 100644 .changes/next-release/api-change-arczonalshift-43891.json delete mode 100644 .changes/next-release/api-change-globalaccelerator-47277.json delete mode 100644 .changes/next-release/api-change-pinpoint-75544.json delete mode 100644 .changes/next-release/api-change-quicksight-86167.json diff --git a/.changes/1.33.26.json b/.changes/1.33.26.json new file mode 100644 index 000000000000..f0fc3b2a4cc3 --- /dev/null +++ b/.changes/1.33.26.json @@ -0,0 +1,27 @@ +[ + { + "category": "``acm-pca``", + "description": "Minor refactoring of C2J model for AWS Private CA", + "type": "api-change" + }, + { + "category": "``arc-zonal-shift``", + "description": "Adds the option to subscribe to get notifications when a zonal autoshift occurs in a region.", + "type": "api-change" + }, + { + "category": "``globalaccelerator``", + "description": "This feature adds exceptions to the Customer API to avoid throwing Internal Service errors", + "type": "api-change" + }, + { + "category": "``pinpoint``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing.", + "type": "api-change" + }, + { + "category": "``quicksight``", + "description": "Vega ally control options and Support for Reviewed Answers in Topics", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-acmpca-79226.json b/.changes/next-release/api-change-acmpca-79226.json deleted file mode 100644 index aae3a0fde6d9..000000000000 --- a/.changes/next-release/api-change-acmpca-79226.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``acm-pca``", - "description": "Minor refactoring of C2J model for AWS Private CA" -} diff --git a/.changes/next-release/api-change-arczonalshift-43891.json b/.changes/next-release/api-change-arczonalshift-43891.json deleted file mode 100644 index 6d0aaf07a654..000000000000 --- a/.changes/next-release/api-change-arczonalshift-43891.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``arc-zonal-shift``", - "description": "Adds the option to subscribe to get notifications when a zonal autoshift occurs in a region." -} diff --git a/.changes/next-release/api-change-globalaccelerator-47277.json b/.changes/next-release/api-change-globalaccelerator-47277.json deleted file mode 100644 index b21eaa6b0964..000000000000 --- a/.changes/next-release/api-change-globalaccelerator-47277.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``globalaccelerator``", - "description": "This feature adds exceptions to the Customer API to avoid throwing Internal Service errors" -} diff --git a/.changes/next-release/api-change-pinpoint-75544.json b/.changes/next-release/api-change-pinpoint-75544.json deleted file mode 100644 index 68f775340e36..000000000000 --- a/.changes/next-release/api-change-pinpoint-75544.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``pinpoint``", - "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." -} diff --git a/.changes/next-release/api-change-quicksight-86167.json b/.changes/next-release/api-change-quicksight-86167.json deleted file mode 100644 index 56945c8a1f3e..000000000000 --- a/.changes/next-release/api-change-quicksight-86167.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``quicksight``", - "description": "Vega ally control options and Support for Reviewed Answers in Topics" -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 3e418f02d57a..8759872ac763 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,16 @@ CHANGELOG ========= +1.33.26 +======= + +* api-change:``acm-pca``: Minor refactoring of C2J model for AWS Private CA +* api-change:``arc-zonal-shift``: Adds the option to subscribe to get notifications when a zonal autoshift occurs in a region. +* api-change:``globalaccelerator``: This feature adds exceptions to the Customer API to avoid throwing Internal Service errors +* api-change:``pinpoint``: Add v2 smoke tests and smithy smokeTests trait for SDK testing. +* api-change:``quicksight``: Vega ally control options and Support for Reviewed Answers in Topics + + 1.33.25 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index a4f1dc51f352..56c1be413812 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -17,7 +17,7 @@ """ import os -__version__ = '1.33.25' +__version__ = '1.33.26' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 05c5df5c02ca..e7c17dc824d4 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.33.' # The full version, including alpha/beta/rc tags. -release = '1.33.25' +release = '1.33.26' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 429194d68e62..d0b63614556a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.34.143 + botocore==1.34.144 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index fa7a3a1fab0a..eba36ccccdf4 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.34.143', + 'botocore==1.34.144', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From a750e41910aa80b09b8f63ac951ca4a1d1c1ede6 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 18 Jul 2024 19:21:39 +0000 Subject: [PATCH 0109/1087] Update changelog based on model updates --- .changes/next-release/api-change-acmpca-76952.json | 5 +++++ .changes/next-release/api-change-connect-84584.json | 5 +++++ .changes/next-release/api-change-ec2-42336.json | 5 +++++ .changes/next-release/api-change-firehose-75886.json | 5 +++++ .changes/next-release/api-change-ivschat-9604.json | 5 +++++ .changes/next-release/api-change-medialive-94371.json | 5 +++++ .changes/next-release/api-change-rds-18629.json | 5 +++++ .changes/next-release/api-change-sagemaker-9192.json | 5 +++++ .changes/next-release/api-change-secretsmanager-31295.json | 5 +++++ .changes/next-release/api-change-taxsettings-92819.json | 5 +++++ .changes/next-release/api-change-timestreamquery-57553.json | 5 +++++ .../next-release/api-change-workspacesthinclient-19428.json | 5 +++++ 12 files changed, 60 insertions(+) create mode 100644 .changes/next-release/api-change-acmpca-76952.json create mode 100644 .changes/next-release/api-change-connect-84584.json create mode 100644 .changes/next-release/api-change-ec2-42336.json create mode 100644 .changes/next-release/api-change-firehose-75886.json create mode 100644 .changes/next-release/api-change-ivschat-9604.json create mode 100644 .changes/next-release/api-change-medialive-94371.json create mode 100644 .changes/next-release/api-change-rds-18629.json create mode 100644 .changes/next-release/api-change-sagemaker-9192.json create mode 100644 .changes/next-release/api-change-secretsmanager-31295.json create mode 100644 .changes/next-release/api-change-taxsettings-92819.json create mode 100644 .changes/next-release/api-change-timestreamquery-57553.json create mode 100644 .changes/next-release/api-change-workspacesthinclient-19428.json diff --git a/.changes/next-release/api-change-acmpca-76952.json b/.changes/next-release/api-change-acmpca-76952.json new file mode 100644 index 000000000000..8f3e29022c7d --- /dev/null +++ b/.changes/next-release/api-change-acmpca-76952.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``acm-pca``", + "description": "Fix broken waiters for the acm-pca client. Waiters broke in version 1.13.144 of the Boto3 SDK." +} diff --git a/.changes/next-release/api-change-connect-84584.json b/.changes/next-release/api-change-connect-84584.json new file mode 100644 index 000000000000..75dc961761f5 --- /dev/null +++ b/.changes/next-release/api-change-connect-84584.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``connect``", + "description": "Amazon Connect expands search API coverage for additional resources. Search for hierarchy groups by name, ID, tag, or other criteria (new endpoint). Search for agent statuses by name, ID, tag, or other criteria (new endpoint). Search for users by their assigned proficiencies (enhanced endpoint)" +} diff --git a/.changes/next-release/api-change-ec2-42336.json b/.changes/next-release/api-change-ec2-42336.json new file mode 100644 index 000000000000..0985d3a43193 --- /dev/null +++ b/.changes/next-release/api-change-ec2-42336.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ec2``", + "description": "Amazon VPC IP Address Manager (IPAM) now supports Bring-Your-Own-IP (BYOIP) for IP addresses registered with any Internet Registry. This feature uses DNS TXT records to validate ownership of a public IP address range." +} diff --git a/.changes/next-release/api-change-firehose-75886.json b/.changes/next-release/api-change-firehose-75886.json new file mode 100644 index 000000000000..9f594be5ffb9 --- /dev/null +++ b/.changes/next-release/api-change-firehose-75886.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``firehose``", + "description": "This release 1) Add configurable buffering hints for Snowflake as destination. 2) Add ReadFromTimestamp for MSK As Source. Firehose will start reading data from MSK Cluster using offset associated with this timestamp. 3) Gated public beta release to add Apache Iceberg tables as destination." +} diff --git a/.changes/next-release/api-change-ivschat-9604.json b/.changes/next-release/api-change-ivschat-9604.json new file mode 100644 index 000000000000..ec1afdcfa30e --- /dev/null +++ b/.changes/next-release/api-change-ivschat-9604.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ivschat``", + "description": "Documentation update for IVS Chat API Reference." +} diff --git a/.changes/next-release/api-change-medialive-94371.json b/.changes/next-release/api-change-medialive-94371.json new file mode 100644 index 000000000000..c10f3a88b2c4 --- /dev/null +++ b/.changes/next-release/api-change-medialive-94371.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``medialive``", + "description": "AWS Elemental MediaLive now supports the SRT protocol via the new SRT Caller input type." +} diff --git a/.changes/next-release/api-change-rds-18629.json b/.changes/next-release/api-change-rds-18629.json new file mode 100644 index 000000000000..e8522a49b271 --- /dev/null +++ b/.changes/next-release/api-change-rds-18629.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``rds``", + "description": "Updates Amazon RDS documentation to specify an eventual consistency model for DescribePendingMaintenanceActions." +} diff --git a/.changes/next-release/api-change-sagemaker-9192.json b/.changes/next-release/api-change-sagemaker-9192.json new file mode 100644 index 000000000000..43a7aacf4bb9 --- /dev/null +++ b/.changes/next-release/api-change-sagemaker-9192.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``sagemaker``", + "description": "SageMaker Training supports R5, T3 and R5D instances family. And SageMaker Processing supports G5 and R5D instances family." +} diff --git a/.changes/next-release/api-change-secretsmanager-31295.json b/.changes/next-release/api-change-secretsmanager-31295.json new file mode 100644 index 000000000000..32e0eb5f7ceb --- /dev/null +++ b/.changes/next-release/api-change-secretsmanager-31295.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``secretsmanager``", + "description": "Doc only update for Secrets Manager" +} diff --git a/.changes/next-release/api-change-taxsettings-92819.json b/.changes/next-release/api-change-taxsettings-92819.json new file mode 100644 index 000000000000..bb31ac0e21b3 --- /dev/null +++ b/.changes/next-release/api-change-taxsettings-92819.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``taxsettings``", + "description": "Set default endpoint for aws partition. Requests from all regions in aws partition will be forward to us-east-1 endpoint." +} diff --git a/.changes/next-release/api-change-timestreamquery-57553.json b/.changes/next-release/api-change-timestreamquery-57553.json new file mode 100644 index 000000000000..35c8830020d9 --- /dev/null +++ b/.changes/next-release/api-change-timestreamquery-57553.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``timestream-query``", + "description": "Doc-only update for TimestreamQuery. Added guidance about the accepted valid value for the QueryPricingModel parameter." +} diff --git a/.changes/next-release/api-change-workspacesthinclient-19428.json b/.changes/next-release/api-change-workspacesthinclient-19428.json new file mode 100644 index 000000000000..e1e662a35731 --- /dev/null +++ b/.changes/next-release/api-change-workspacesthinclient-19428.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``workspaces-thin-client``", + "description": "Documentation update for WorkSpaces Thin Client." +} From 86bb5b67bab4b07e45d5ea9bc8282113f706d58e Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 18 Jul 2024 19:22:48 +0000 Subject: [PATCH 0110/1087] Bumping version to 1.33.27 --- .changes/1.33.27.json | 62 +++++++++++++++++++ .../next-release/api-change-acmpca-76952.json | 5 -- .../api-change-connect-84584.json | 5 -- .../next-release/api-change-ec2-42336.json | 5 -- .../api-change-firehose-75886.json | 5 -- .../next-release/api-change-ivschat-9604.json | 5 -- .../api-change-medialive-94371.json | 5 -- .../next-release/api-change-rds-18629.json | 5 -- .../api-change-sagemaker-9192.json | 5 -- .../api-change-secretsmanager-31295.json | 5 -- .../api-change-taxsettings-92819.json | 5 -- .../api-change-timestreamquery-57553.json | 5 -- ...api-change-workspacesthinclient-19428.json | 5 -- CHANGELOG.rst | 17 +++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 18 files changed, 83 insertions(+), 64 deletions(-) create mode 100644 .changes/1.33.27.json delete mode 100644 .changes/next-release/api-change-acmpca-76952.json delete mode 100644 .changes/next-release/api-change-connect-84584.json delete mode 100644 .changes/next-release/api-change-ec2-42336.json delete mode 100644 .changes/next-release/api-change-firehose-75886.json delete mode 100644 .changes/next-release/api-change-ivschat-9604.json delete mode 100644 .changes/next-release/api-change-medialive-94371.json delete mode 100644 .changes/next-release/api-change-rds-18629.json delete mode 100644 .changes/next-release/api-change-sagemaker-9192.json delete mode 100644 .changes/next-release/api-change-secretsmanager-31295.json delete mode 100644 .changes/next-release/api-change-taxsettings-92819.json delete mode 100644 .changes/next-release/api-change-timestreamquery-57553.json delete mode 100644 .changes/next-release/api-change-workspacesthinclient-19428.json diff --git a/.changes/1.33.27.json b/.changes/1.33.27.json new file mode 100644 index 000000000000..fca532be9e20 --- /dev/null +++ b/.changes/1.33.27.json @@ -0,0 +1,62 @@ +[ + { + "category": "``acm-pca``", + "description": "Fix broken waiters for the acm-pca client. Waiters broke in version 1.13.144 of the Boto3 SDK.", + "type": "api-change" + }, + { + "category": "``connect``", + "description": "Amazon Connect expands search API coverage for additional resources. Search for hierarchy groups by name, ID, tag, or other criteria (new endpoint). Search for agent statuses by name, ID, tag, or other criteria (new endpoint). Search for users by their assigned proficiencies (enhanced endpoint)", + "type": "api-change" + }, + { + "category": "``ec2``", + "description": "Amazon VPC IP Address Manager (IPAM) now supports Bring-Your-Own-IP (BYOIP) for IP addresses registered with any Internet Registry. This feature uses DNS TXT records to validate ownership of a public IP address range.", + "type": "api-change" + }, + { + "category": "``firehose``", + "description": "This release 1) Add configurable buffering hints for Snowflake as destination. 2) Add ReadFromTimestamp for MSK As Source. Firehose will start reading data from MSK Cluster using offset associated with this timestamp. 3) Gated public beta release to add Apache Iceberg tables as destination.", + "type": "api-change" + }, + { + "category": "``ivschat``", + "description": "Documentation update for IVS Chat API Reference.", + "type": "api-change" + }, + { + "category": "``medialive``", + "description": "AWS Elemental MediaLive now supports the SRT protocol via the new SRT Caller input type.", + "type": "api-change" + }, + { + "category": "``rds``", + "description": "Updates Amazon RDS documentation to specify an eventual consistency model for DescribePendingMaintenanceActions.", + "type": "api-change" + }, + { + "category": "``sagemaker``", + "description": "SageMaker Training supports R5, T3 and R5D instances family. And SageMaker Processing supports G5 and R5D instances family.", + "type": "api-change" + }, + { + "category": "``secretsmanager``", + "description": "Doc only update for Secrets Manager", + "type": "api-change" + }, + { + "category": "``taxsettings``", + "description": "Set default endpoint for aws partition. Requests from all regions in aws partition will be forward to us-east-1 endpoint.", + "type": "api-change" + }, + { + "category": "``timestream-query``", + "description": "Doc-only update for TimestreamQuery. Added guidance about the accepted valid value for the QueryPricingModel parameter.", + "type": "api-change" + }, + { + "category": "``workspaces-thin-client``", + "description": "Documentation update for WorkSpaces Thin Client.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-acmpca-76952.json b/.changes/next-release/api-change-acmpca-76952.json deleted file mode 100644 index 8f3e29022c7d..000000000000 --- a/.changes/next-release/api-change-acmpca-76952.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``acm-pca``", - "description": "Fix broken waiters for the acm-pca client. Waiters broke in version 1.13.144 of the Boto3 SDK." -} diff --git a/.changes/next-release/api-change-connect-84584.json b/.changes/next-release/api-change-connect-84584.json deleted file mode 100644 index 75dc961761f5..000000000000 --- a/.changes/next-release/api-change-connect-84584.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``connect``", - "description": "Amazon Connect expands search API coverage for additional resources. Search for hierarchy groups by name, ID, tag, or other criteria (new endpoint). Search for agent statuses by name, ID, tag, or other criteria (new endpoint). Search for users by their assigned proficiencies (enhanced endpoint)" -} diff --git a/.changes/next-release/api-change-ec2-42336.json b/.changes/next-release/api-change-ec2-42336.json deleted file mode 100644 index 0985d3a43193..000000000000 --- a/.changes/next-release/api-change-ec2-42336.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ec2``", - "description": "Amazon VPC IP Address Manager (IPAM) now supports Bring-Your-Own-IP (BYOIP) for IP addresses registered with any Internet Registry. This feature uses DNS TXT records to validate ownership of a public IP address range." -} diff --git a/.changes/next-release/api-change-firehose-75886.json b/.changes/next-release/api-change-firehose-75886.json deleted file mode 100644 index 9f594be5ffb9..000000000000 --- a/.changes/next-release/api-change-firehose-75886.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``firehose``", - "description": "This release 1) Add configurable buffering hints for Snowflake as destination. 2) Add ReadFromTimestamp for MSK As Source. Firehose will start reading data from MSK Cluster using offset associated with this timestamp. 3) Gated public beta release to add Apache Iceberg tables as destination." -} diff --git a/.changes/next-release/api-change-ivschat-9604.json b/.changes/next-release/api-change-ivschat-9604.json deleted file mode 100644 index ec1afdcfa30e..000000000000 --- a/.changes/next-release/api-change-ivschat-9604.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ivschat``", - "description": "Documentation update for IVS Chat API Reference." -} diff --git a/.changes/next-release/api-change-medialive-94371.json b/.changes/next-release/api-change-medialive-94371.json deleted file mode 100644 index c10f3a88b2c4..000000000000 --- a/.changes/next-release/api-change-medialive-94371.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``medialive``", - "description": "AWS Elemental MediaLive now supports the SRT protocol via the new SRT Caller input type." -} diff --git a/.changes/next-release/api-change-rds-18629.json b/.changes/next-release/api-change-rds-18629.json deleted file mode 100644 index e8522a49b271..000000000000 --- a/.changes/next-release/api-change-rds-18629.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``rds``", - "description": "Updates Amazon RDS documentation to specify an eventual consistency model for DescribePendingMaintenanceActions." -} diff --git a/.changes/next-release/api-change-sagemaker-9192.json b/.changes/next-release/api-change-sagemaker-9192.json deleted file mode 100644 index 43a7aacf4bb9..000000000000 --- a/.changes/next-release/api-change-sagemaker-9192.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``sagemaker``", - "description": "SageMaker Training supports R5, T3 and R5D instances family. And SageMaker Processing supports G5 and R5D instances family." -} diff --git a/.changes/next-release/api-change-secretsmanager-31295.json b/.changes/next-release/api-change-secretsmanager-31295.json deleted file mode 100644 index 32e0eb5f7ceb..000000000000 --- a/.changes/next-release/api-change-secretsmanager-31295.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``secretsmanager``", - "description": "Doc only update for Secrets Manager" -} diff --git a/.changes/next-release/api-change-taxsettings-92819.json b/.changes/next-release/api-change-taxsettings-92819.json deleted file mode 100644 index bb31ac0e21b3..000000000000 --- a/.changes/next-release/api-change-taxsettings-92819.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``taxsettings``", - "description": "Set default endpoint for aws partition. Requests from all regions in aws partition will be forward to us-east-1 endpoint." -} diff --git a/.changes/next-release/api-change-timestreamquery-57553.json b/.changes/next-release/api-change-timestreamquery-57553.json deleted file mode 100644 index 35c8830020d9..000000000000 --- a/.changes/next-release/api-change-timestreamquery-57553.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``timestream-query``", - "description": "Doc-only update for TimestreamQuery. Added guidance about the accepted valid value for the QueryPricingModel parameter." -} diff --git a/.changes/next-release/api-change-workspacesthinclient-19428.json b/.changes/next-release/api-change-workspacesthinclient-19428.json deleted file mode 100644 index e1e662a35731..000000000000 --- a/.changes/next-release/api-change-workspacesthinclient-19428.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``workspaces-thin-client``", - "description": "Documentation update for WorkSpaces Thin Client." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 8759872ac763..c256c2c93174 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,23 @@ CHANGELOG ========= +1.33.27 +======= + +* api-change:``acm-pca``: Fix broken waiters for the acm-pca client. Waiters broke in version 1.13.144 of the Boto3 SDK. +* api-change:``connect``: Amazon Connect expands search API coverage for additional resources. Search for hierarchy groups by name, ID, tag, or other criteria (new endpoint). Search for agent statuses by name, ID, tag, or other criteria (new endpoint). Search for users by their assigned proficiencies (enhanced endpoint) +* api-change:``ec2``: Amazon VPC IP Address Manager (IPAM) now supports Bring-Your-Own-IP (BYOIP) for IP addresses registered with any Internet Registry. This feature uses DNS TXT records to validate ownership of a public IP address range. +* api-change:``firehose``: This release 1) Add configurable buffering hints for Snowflake as destination. 2) Add ReadFromTimestamp for MSK As Source. Firehose will start reading data from MSK Cluster using offset associated with this timestamp. 3) Gated public beta release to add Apache Iceberg tables as destination. +* api-change:``ivschat``: Documentation update for IVS Chat API Reference. +* api-change:``medialive``: AWS Elemental MediaLive now supports the SRT protocol via the new SRT Caller input type. +* api-change:``rds``: Updates Amazon RDS documentation to specify an eventual consistency model for DescribePendingMaintenanceActions. +* api-change:``sagemaker``: SageMaker Training supports R5, T3 and R5D instances family. And SageMaker Processing supports G5 and R5D instances family. +* api-change:``secretsmanager``: Doc only update for Secrets Manager +* api-change:``taxsettings``: Set default endpoint for aws partition. Requests from all regions in aws partition will be forward to us-east-1 endpoint. +* api-change:``timestream-query``: Doc-only update for TimestreamQuery. Added guidance about the accepted valid value for the QueryPricingModel parameter. +* api-change:``workspaces-thin-client``: Documentation update for WorkSpaces Thin Client. + + 1.33.26 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 56c1be413812..1e21f7bba6c4 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -17,7 +17,7 @@ """ import os -__version__ = '1.33.26' +__version__ = '1.33.27' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index e7c17dc824d4..08d4f78a641d 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.33.' # The full version, including alpha/beta/rc tags. -release = '1.33.26' +release = '1.33.27' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index d0b63614556a..6f99ff6eda4c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.34.144 + botocore==1.34.145 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index eba36ccccdf4..e565bc3ee4eb 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.34.144', + 'botocore==1.34.145', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From fb789db0e03ebffee267b748e266942e43dd61aa Mon Sep 17 00:00:00 2001 From: Nate Prewitt Date: Mon, 22 Jul 2024 11:02:07 -0700 Subject: [PATCH 0111/1087] Remove AWS Mobile Hub customization (#8809) --- awscli/customizations/argrename.py | 1 - 1 file changed, 1 deletion(-) diff --git a/awscli/customizations/argrename.py b/awscli/customizations/argrename.py index 0ce0c6a0d8ac..42e220c8af3d 100644 --- a/awscli/customizations/argrename.py +++ b/awscli/customizations/argrename.py @@ -91,7 +91,6 @@ 'license-manager.get-grant.version': 'grant-version', 'license-manager.delete-grant.version': 'grant-version', 'license-manager.get-license.version': 'license-version', - 'mobile.create-project.region': 'project-region', 'rekognition.create-stream-processor.output': 'stream-processor-output', 'eks.create-cluster.version': 'kubernetes-version', 'eks.update-cluster-version.version': 'kubernetes-version', From 3d30085e5a7869d2c7489bd0eeb81b4e4546ff78 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 22 Jul 2024 18:06:39 +0000 Subject: [PATCH 0112/1087] Update changelog based on model updates --- .changes/next-release/api-change-datazone-52078.json | 5 +++++ .changes/next-release/api-change-ivs-85777.json | 5 +++++ .changes/next-release/api-change-neptunegraph-32760.json | 5 +++++ .../next-release/api-change-redshiftserverless-57786.json | 5 +++++ 4 files changed, 20 insertions(+) create mode 100644 .changes/next-release/api-change-datazone-52078.json create mode 100644 .changes/next-release/api-change-ivs-85777.json create mode 100644 .changes/next-release/api-change-neptunegraph-32760.json create mode 100644 .changes/next-release/api-change-redshiftserverless-57786.json diff --git a/.changes/next-release/api-change-datazone-52078.json b/.changes/next-release/api-change-datazone-52078.json new file mode 100644 index 000000000000..477bc96febf6 --- /dev/null +++ b/.changes/next-release/api-change-datazone-52078.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``datazone``", + "description": "This release adds 1/ support of register S3 locations of assets in AWS Lake Formation hybrid access mode for DefaultDataLake blueprint. 2/ support of CRUD operations for Asset Filters." +} diff --git a/.changes/next-release/api-change-ivs-85777.json b/.changes/next-release/api-change-ivs-85777.json new file mode 100644 index 000000000000..bc76f4a9bcc6 --- /dev/null +++ b/.changes/next-release/api-change-ivs-85777.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ivs``", + "description": "Documentation update for IVS Low Latency API Reference." +} diff --git a/.changes/next-release/api-change-neptunegraph-32760.json b/.changes/next-release/api-change-neptunegraph-32760.json new file mode 100644 index 000000000000..6ca66741e55c --- /dev/null +++ b/.changes/next-release/api-change-neptunegraph-32760.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``neptune-graph``", + "description": "Amazon Neptune Analytics provides new options for customers to start with smaller graphs at a lower cost. CreateGraph, CreaateGraphImportTask, UpdateGraph and StartImportTask APIs will now allow 32 and 64 for `provisioned-memory`" +} diff --git a/.changes/next-release/api-change-redshiftserverless-57786.json b/.changes/next-release/api-change-redshiftserverless-57786.json new file mode 100644 index 000000000000..b6b64c196a68 --- /dev/null +++ b/.changes/next-release/api-change-redshiftserverless-57786.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``redshift-serverless``", + "description": "Adds dualstack support for Redshift Serverless workgroup." +} From 1ae2f1a8447fdba1bf9019ef500297cdd53e4888 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 22 Jul 2024 18:07:58 +0000 Subject: [PATCH 0113/1087] Bumping version to 1.33.28 --- .changes/1.33.28.json | 22 +++++++++++++++++++ .../api-change-datazone-52078.json | 5 ----- .../next-release/api-change-ivs-85777.json | 5 ----- .../api-change-neptunegraph-32760.json | 5 ----- .../api-change-redshiftserverless-57786.json | 5 ----- CHANGELOG.rst | 9 ++++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 10 files changed, 35 insertions(+), 24 deletions(-) create mode 100644 .changes/1.33.28.json delete mode 100644 .changes/next-release/api-change-datazone-52078.json delete mode 100644 .changes/next-release/api-change-ivs-85777.json delete mode 100644 .changes/next-release/api-change-neptunegraph-32760.json delete mode 100644 .changes/next-release/api-change-redshiftserverless-57786.json diff --git a/.changes/1.33.28.json b/.changes/1.33.28.json new file mode 100644 index 000000000000..5073c0103cda --- /dev/null +++ b/.changes/1.33.28.json @@ -0,0 +1,22 @@ +[ + { + "category": "``datazone``", + "description": "This release adds 1/ support of register S3 locations of assets in AWS Lake Formation hybrid access mode for DefaultDataLake blueprint. 2/ support of CRUD operations for Asset Filters.", + "type": "api-change" + }, + { + "category": "``ivs``", + "description": "Documentation update for IVS Low Latency API Reference.", + "type": "api-change" + }, + { + "category": "``neptune-graph``", + "description": "Amazon Neptune Analytics provides new options for customers to start with smaller graphs at a lower cost. CreateGraph, CreaateGraphImportTask, UpdateGraph and StartImportTask APIs will now allow 32 and 64 for `provisioned-memory`", + "type": "api-change" + }, + { + "category": "``redshift-serverless``", + "description": "Adds dualstack support for Redshift Serverless workgroup.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-datazone-52078.json b/.changes/next-release/api-change-datazone-52078.json deleted file mode 100644 index 477bc96febf6..000000000000 --- a/.changes/next-release/api-change-datazone-52078.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``datazone``", - "description": "This release adds 1/ support of register S3 locations of assets in AWS Lake Formation hybrid access mode for DefaultDataLake blueprint. 2/ support of CRUD operations for Asset Filters." -} diff --git a/.changes/next-release/api-change-ivs-85777.json b/.changes/next-release/api-change-ivs-85777.json deleted file mode 100644 index bc76f4a9bcc6..000000000000 --- a/.changes/next-release/api-change-ivs-85777.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ivs``", - "description": "Documentation update for IVS Low Latency API Reference." -} diff --git a/.changes/next-release/api-change-neptunegraph-32760.json b/.changes/next-release/api-change-neptunegraph-32760.json deleted file mode 100644 index 6ca66741e55c..000000000000 --- a/.changes/next-release/api-change-neptunegraph-32760.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``neptune-graph``", - "description": "Amazon Neptune Analytics provides new options for customers to start with smaller graphs at a lower cost. CreateGraph, CreaateGraphImportTask, UpdateGraph and StartImportTask APIs will now allow 32 and 64 for `provisioned-memory`" -} diff --git a/.changes/next-release/api-change-redshiftserverless-57786.json b/.changes/next-release/api-change-redshiftserverless-57786.json deleted file mode 100644 index b6b64c196a68..000000000000 --- a/.changes/next-release/api-change-redshiftserverless-57786.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``redshift-serverless``", - "description": "Adds dualstack support for Redshift Serverless workgroup." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index c256c2c93174..0e2c27fe81df 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,15 @@ CHANGELOG ========= +1.33.28 +======= + +* api-change:``datazone``: This release adds 1/ support of register S3 locations of assets in AWS Lake Formation hybrid access mode for DefaultDataLake blueprint. 2/ support of CRUD operations for Asset Filters. +* api-change:``ivs``: Documentation update for IVS Low Latency API Reference. +* api-change:``neptune-graph``: Amazon Neptune Analytics provides new options for customers to start with smaller graphs at a lower cost. CreateGraph, CreaateGraphImportTask, UpdateGraph and StartImportTask APIs will now allow 32 and 64 for `provisioned-memory` +* api-change:``redshift-serverless``: Adds dualstack support for Redshift Serverless workgroup. + + 1.33.27 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 1e21f7bba6c4..1ff8fdb42891 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -17,7 +17,7 @@ """ import os -__version__ = '1.33.27' +__version__ = '1.33.28' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 08d4f78a641d..357afb9d9b80 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.33.' # The full version, including alpha/beta/rc tags. -release = '1.33.27' +release = '1.33.28' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 6f99ff6eda4c..5da59dfbda8f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.34.145 + botocore==1.34.146 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index e565bc3ee4eb..187aa9f5bd9e 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.34.145', + 'botocore==1.34.146', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 9b9a0bc005666a35dfae4b216952c632f3a6888e Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 23 Jul 2024 18:10:16 +0000 Subject: [PATCH 0114/1087] Update changelog based on model updates --- .changes/next-release/api-change-appsync-27477.json | 5 +++++ .changes/next-release/api-change-cleanrooms-96006.json | 5 +++++ .changes/next-release/api-change-cleanroomsml-44044.json | 5 +++++ .changes/next-release/api-change-connect-45718.json | 5 +++++ .../next-release/api-change-connectcontactlens-49896.json | 5 +++++ .changes/next-release/api-change-datazone-98585.json | 5 +++++ .changes/next-release/api-change-entityresolution-91056.json | 5 +++++ 7 files changed, 35 insertions(+) create mode 100644 .changes/next-release/api-change-appsync-27477.json create mode 100644 .changes/next-release/api-change-cleanrooms-96006.json create mode 100644 .changes/next-release/api-change-cleanroomsml-44044.json create mode 100644 .changes/next-release/api-change-connect-45718.json create mode 100644 .changes/next-release/api-change-connectcontactlens-49896.json create mode 100644 .changes/next-release/api-change-datazone-98585.json create mode 100644 .changes/next-release/api-change-entityresolution-91056.json diff --git a/.changes/next-release/api-change-appsync-27477.json b/.changes/next-release/api-change-appsync-27477.json new file mode 100644 index 000000000000..6bec4c52b040 --- /dev/null +++ b/.changes/next-release/api-change-appsync-27477.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``appsync``", + "description": "Adding support for paginators in AppSync list APIs" +} diff --git a/.changes/next-release/api-change-cleanrooms-96006.json b/.changes/next-release/api-change-cleanrooms-96006.json new file mode 100644 index 000000000000..a0c868fdd15d --- /dev/null +++ b/.changes/next-release/api-change-cleanrooms-96006.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``cleanrooms``", + "description": "This release adds AWS Entity Resolution integration to associate ID namespaces & ID mapping workflow resources as part of ID namespace association and ID mapping table in AWS Clean Rooms. It also introduces a new ID_MAPPING_TABLE analysis rule to manage the protection on ID mapping table." +} diff --git a/.changes/next-release/api-change-cleanroomsml-44044.json b/.changes/next-release/api-change-cleanroomsml-44044.json new file mode 100644 index 000000000000..9fa7ec733cb5 --- /dev/null +++ b/.changes/next-release/api-change-cleanroomsml-44044.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``cleanroomsml``", + "description": "Adds SQL query as the source of seed audience for audience generation job." +} diff --git a/.changes/next-release/api-change-connect-45718.json b/.changes/next-release/api-change-connect-45718.json new file mode 100644 index 000000000000..6ac00007413b --- /dev/null +++ b/.changes/next-release/api-change-connect-45718.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``connect``", + "description": "Added PostContactSummary segment type on ListRealTimeContactAnalysisSegmentsV2 API" +} diff --git a/.changes/next-release/api-change-connectcontactlens-49896.json b/.changes/next-release/api-change-connectcontactlens-49896.json new file mode 100644 index 000000000000..6a9da35ee5af --- /dev/null +++ b/.changes/next-release/api-change-connectcontactlens-49896.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``connect-contact-lens``", + "description": "Added PostContactSummary segment type on ListRealTimeContactAnalysisSegments API" +} diff --git a/.changes/next-release/api-change-datazone-98585.json b/.changes/next-release/api-change-datazone-98585.json new file mode 100644 index 000000000000..8f3264a42877 --- /dev/null +++ b/.changes/next-release/api-change-datazone-98585.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``datazone``", + "description": "This release removes the deprecated dataProductItem field from Search API output." +} diff --git a/.changes/next-release/api-change-entityresolution-91056.json b/.changes/next-release/api-change-entityresolution-91056.json new file mode 100644 index 000000000000..59b3fd33a99f --- /dev/null +++ b/.changes/next-release/api-change-entityresolution-91056.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``entityresolution``", + "description": "Support First Party ID Mapping" +} From d92c6e68fe877ff6f89ea05bf04251883e4464cf Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 23 Jul 2024 18:11:42 +0000 Subject: [PATCH 0115/1087] Bumping version to 1.33.29 --- .changes/1.33.29.json | 37 +++++++++++++++++++ .../api-change-appsync-27477.json | 5 --- .../api-change-cleanrooms-96006.json | 5 --- .../api-change-cleanroomsml-44044.json | 5 --- .../api-change-connect-45718.json | 5 --- .../api-change-connectcontactlens-49896.json | 5 --- .../api-change-datazone-98585.json | 5 --- .../api-change-entityresolution-91056.json | 5 --- CHANGELOG.rst | 12 ++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 13 files changed, 53 insertions(+), 39 deletions(-) create mode 100644 .changes/1.33.29.json delete mode 100644 .changes/next-release/api-change-appsync-27477.json delete mode 100644 .changes/next-release/api-change-cleanrooms-96006.json delete mode 100644 .changes/next-release/api-change-cleanroomsml-44044.json delete mode 100644 .changes/next-release/api-change-connect-45718.json delete mode 100644 .changes/next-release/api-change-connectcontactlens-49896.json delete mode 100644 .changes/next-release/api-change-datazone-98585.json delete mode 100644 .changes/next-release/api-change-entityresolution-91056.json diff --git a/.changes/1.33.29.json b/.changes/1.33.29.json new file mode 100644 index 000000000000..e3a1fa4d4ee8 --- /dev/null +++ b/.changes/1.33.29.json @@ -0,0 +1,37 @@ +[ + { + "category": "``appsync``", + "description": "Adding support for paginators in AppSync list APIs", + "type": "api-change" + }, + { + "category": "``cleanrooms``", + "description": "This release adds AWS Entity Resolution integration to associate ID namespaces & ID mapping workflow resources as part of ID namespace association and ID mapping table in AWS Clean Rooms. It also introduces a new ID_MAPPING_TABLE analysis rule to manage the protection on ID mapping table.", + "type": "api-change" + }, + { + "category": "``cleanroomsml``", + "description": "Adds SQL query as the source of seed audience for audience generation job.", + "type": "api-change" + }, + { + "category": "``connect``", + "description": "Added PostContactSummary segment type on ListRealTimeContactAnalysisSegmentsV2 API", + "type": "api-change" + }, + { + "category": "``connect-contact-lens``", + "description": "Added PostContactSummary segment type on ListRealTimeContactAnalysisSegments API", + "type": "api-change" + }, + { + "category": "``datazone``", + "description": "This release removes the deprecated dataProductItem field from Search API output.", + "type": "api-change" + }, + { + "category": "``entityresolution``", + "description": "Support First Party ID Mapping", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-appsync-27477.json b/.changes/next-release/api-change-appsync-27477.json deleted file mode 100644 index 6bec4c52b040..000000000000 --- a/.changes/next-release/api-change-appsync-27477.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``appsync``", - "description": "Adding support for paginators in AppSync list APIs" -} diff --git a/.changes/next-release/api-change-cleanrooms-96006.json b/.changes/next-release/api-change-cleanrooms-96006.json deleted file mode 100644 index a0c868fdd15d..000000000000 --- a/.changes/next-release/api-change-cleanrooms-96006.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``cleanrooms``", - "description": "This release adds AWS Entity Resolution integration to associate ID namespaces & ID mapping workflow resources as part of ID namespace association and ID mapping table in AWS Clean Rooms. It also introduces a new ID_MAPPING_TABLE analysis rule to manage the protection on ID mapping table." -} diff --git a/.changes/next-release/api-change-cleanroomsml-44044.json b/.changes/next-release/api-change-cleanroomsml-44044.json deleted file mode 100644 index 9fa7ec733cb5..000000000000 --- a/.changes/next-release/api-change-cleanroomsml-44044.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``cleanroomsml``", - "description": "Adds SQL query as the source of seed audience for audience generation job." -} diff --git a/.changes/next-release/api-change-connect-45718.json b/.changes/next-release/api-change-connect-45718.json deleted file mode 100644 index 6ac00007413b..000000000000 --- a/.changes/next-release/api-change-connect-45718.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``connect``", - "description": "Added PostContactSummary segment type on ListRealTimeContactAnalysisSegmentsV2 API" -} diff --git a/.changes/next-release/api-change-connectcontactlens-49896.json b/.changes/next-release/api-change-connectcontactlens-49896.json deleted file mode 100644 index 6a9da35ee5af..000000000000 --- a/.changes/next-release/api-change-connectcontactlens-49896.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``connect-contact-lens``", - "description": "Added PostContactSummary segment type on ListRealTimeContactAnalysisSegments API" -} diff --git a/.changes/next-release/api-change-datazone-98585.json b/.changes/next-release/api-change-datazone-98585.json deleted file mode 100644 index 8f3264a42877..000000000000 --- a/.changes/next-release/api-change-datazone-98585.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``datazone``", - "description": "This release removes the deprecated dataProductItem field from Search API output." -} diff --git a/.changes/next-release/api-change-entityresolution-91056.json b/.changes/next-release/api-change-entityresolution-91056.json deleted file mode 100644 index 59b3fd33a99f..000000000000 --- a/.changes/next-release/api-change-entityresolution-91056.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``entityresolution``", - "description": "Support First Party ID Mapping" -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 0e2c27fe81df..a6a5eb327e20 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,18 @@ CHANGELOG ========= +1.33.29 +======= + +* api-change:``appsync``: Adding support for paginators in AppSync list APIs +* api-change:``cleanrooms``: This release adds AWS Entity Resolution integration to associate ID namespaces & ID mapping workflow resources as part of ID namespace association and ID mapping table in AWS Clean Rooms. It also introduces a new ID_MAPPING_TABLE analysis rule to manage the protection on ID mapping table. +* api-change:``cleanroomsml``: Adds SQL query as the source of seed audience for audience generation job. +* api-change:``connect``: Added PostContactSummary segment type on ListRealTimeContactAnalysisSegmentsV2 API +* api-change:``connect-contact-lens``: Added PostContactSummary segment type on ListRealTimeContactAnalysisSegments API +* api-change:``datazone``: This release removes the deprecated dataProductItem field from Search API output. +* api-change:``entityresolution``: Support First Party ID Mapping + + 1.33.28 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 1ff8fdb42891..a18ff44adfcd 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -17,7 +17,7 @@ """ import os -__version__ = '1.33.28' +__version__ = '1.33.29' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 357afb9d9b80..1c14c74bea36 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.33.' # The full version, including alpha/beta/rc tags. -release = '1.33.28' +release = '1.33.29' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 5da59dfbda8f..6f00b2a2b0a0 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.34.146 + botocore==1.34.147 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 187aa9f5bd9e..efbb75ffe9c9 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.34.146', + 'botocore==1.34.147', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 6ade2791e1ce1f7e0de11a940ec2b5f6ddeeeb8e Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 24 Jul 2024 18:17:23 +0000 Subject: [PATCH 0116/1087] Update changelog based on model updates --- .changes/next-release/api-change-cleanrooms-53570.json | 5 +++++ .changes/next-release/api-change-dynamodb-37532.json | 5 +++++ .changes/next-release/api-change-iotsitewise-78168.json | 5 +++++ .changes/next-release/api-change-mediapackagev2-121.json | 5 +++++ .changes/next-release/api-change-medicalimaging-23651.json | 5 +++++ .../next-release/api-change-pinpointsmsvoicev2-3497.json | 5 +++++ 6 files changed, 30 insertions(+) create mode 100644 .changes/next-release/api-change-cleanrooms-53570.json create mode 100644 .changes/next-release/api-change-dynamodb-37532.json create mode 100644 .changes/next-release/api-change-iotsitewise-78168.json create mode 100644 .changes/next-release/api-change-mediapackagev2-121.json create mode 100644 .changes/next-release/api-change-medicalimaging-23651.json create mode 100644 .changes/next-release/api-change-pinpointsmsvoicev2-3497.json diff --git a/.changes/next-release/api-change-cleanrooms-53570.json b/.changes/next-release/api-change-cleanrooms-53570.json new file mode 100644 index 000000000000..39d28c56f5a4 --- /dev/null +++ b/.changes/next-release/api-change-cleanrooms-53570.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``cleanrooms``", + "description": "Three enhancements to the AWS Clean Rooms: Disallowed Output Columns, Flexible Result Receivers, SQL as a Seed" +} diff --git a/.changes/next-release/api-change-dynamodb-37532.json b/.changes/next-release/api-change-dynamodb-37532.json new file mode 100644 index 000000000000..3b5e66438953 --- /dev/null +++ b/.changes/next-release/api-change-dynamodb-37532.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``dynamodb``", + "description": "DynamoDB doc only update for July" +} diff --git a/.changes/next-release/api-change-iotsitewise-78168.json b/.changes/next-release/api-change-iotsitewise-78168.json new file mode 100644 index 000000000000..b547afc3361a --- /dev/null +++ b/.changes/next-release/api-change-iotsitewise-78168.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``iotsitewise``", + "description": "Adds support for creating SiteWise Edge gateways that run on a Siemens Industrial Edge Device." +} diff --git a/.changes/next-release/api-change-mediapackagev2-121.json b/.changes/next-release/api-change-mediapackagev2-121.json new file mode 100644 index 000000000000..f37ab90f7460 --- /dev/null +++ b/.changes/next-release/api-change-mediapackagev2-121.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``mediapackagev2``", + "description": "This release adds support for Irdeto DRM encryption in DASH manifests." +} diff --git a/.changes/next-release/api-change-medicalimaging-23651.json b/.changes/next-release/api-change-medicalimaging-23651.json new file mode 100644 index 000000000000..75a4e87618ff --- /dev/null +++ b/.changes/next-release/api-change-medicalimaging-23651.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``medical-imaging``", + "description": "CopyImageSet API adds copying selected instances between image sets, and overriding inconsistent metadata with a force parameter. UpdateImageSetMetadata API enables reverting to prior versions; updates to Study, Series, and SOP Instance UIDs; and updates to private elements, with a force parameter." +} diff --git a/.changes/next-release/api-change-pinpointsmsvoicev2-3497.json b/.changes/next-release/api-change-pinpointsmsvoicev2-3497.json new file mode 100644 index 000000000000..99aec2c8174b --- /dev/null +++ b/.changes/next-release/api-change-pinpointsmsvoicev2-3497.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``pinpoint-sms-voice-v2``", + "description": "Update for rebrand to AWS End User Messaging SMS and Voice." +} From 32055ffee27f13463826dd0e6d9248c790519809 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 24 Jul 2024 18:18:30 +0000 Subject: [PATCH 0117/1087] Bumping version to 1.33.30 --- .changes/1.33.30.json | 32 +++++++++++++++++++ .../api-change-cleanrooms-53570.json | 5 --- .../api-change-dynamodb-37532.json | 5 --- .../api-change-iotsitewise-78168.json | 5 --- .../api-change-mediapackagev2-121.json | 5 --- .../api-change-medicalimaging-23651.json | 5 --- .../api-change-pinpointsmsvoicev2-3497.json | 5 --- CHANGELOG.rst | 11 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 12 files changed, 47 insertions(+), 34 deletions(-) create mode 100644 .changes/1.33.30.json delete mode 100644 .changes/next-release/api-change-cleanrooms-53570.json delete mode 100644 .changes/next-release/api-change-dynamodb-37532.json delete mode 100644 .changes/next-release/api-change-iotsitewise-78168.json delete mode 100644 .changes/next-release/api-change-mediapackagev2-121.json delete mode 100644 .changes/next-release/api-change-medicalimaging-23651.json delete mode 100644 .changes/next-release/api-change-pinpointsmsvoicev2-3497.json diff --git a/.changes/1.33.30.json b/.changes/1.33.30.json new file mode 100644 index 000000000000..b21c0f196406 --- /dev/null +++ b/.changes/1.33.30.json @@ -0,0 +1,32 @@ +[ + { + "category": "``cleanrooms``", + "description": "Three enhancements to the AWS Clean Rooms: Disallowed Output Columns, Flexible Result Receivers, SQL as a Seed", + "type": "api-change" + }, + { + "category": "``dynamodb``", + "description": "DynamoDB doc only update for July", + "type": "api-change" + }, + { + "category": "``iotsitewise``", + "description": "Adds support for creating SiteWise Edge gateways that run on a Siemens Industrial Edge Device.", + "type": "api-change" + }, + { + "category": "``mediapackagev2``", + "description": "This release adds support for Irdeto DRM encryption in DASH manifests.", + "type": "api-change" + }, + { + "category": "``medical-imaging``", + "description": "CopyImageSet API adds copying selected instances between image sets, and overriding inconsistent metadata with a force parameter. UpdateImageSetMetadata API enables reverting to prior versions; updates to Study, Series, and SOP Instance UIDs; and updates to private elements, with a force parameter.", + "type": "api-change" + }, + { + "category": "``pinpoint-sms-voice-v2``", + "description": "Update for rebrand to AWS End User Messaging SMS and Voice.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-cleanrooms-53570.json b/.changes/next-release/api-change-cleanrooms-53570.json deleted file mode 100644 index 39d28c56f5a4..000000000000 --- a/.changes/next-release/api-change-cleanrooms-53570.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``cleanrooms``", - "description": "Three enhancements to the AWS Clean Rooms: Disallowed Output Columns, Flexible Result Receivers, SQL as a Seed" -} diff --git a/.changes/next-release/api-change-dynamodb-37532.json b/.changes/next-release/api-change-dynamodb-37532.json deleted file mode 100644 index 3b5e66438953..000000000000 --- a/.changes/next-release/api-change-dynamodb-37532.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``dynamodb``", - "description": "DynamoDB doc only update for July" -} diff --git a/.changes/next-release/api-change-iotsitewise-78168.json b/.changes/next-release/api-change-iotsitewise-78168.json deleted file mode 100644 index b547afc3361a..000000000000 --- a/.changes/next-release/api-change-iotsitewise-78168.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``iotsitewise``", - "description": "Adds support for creating SiteWise Edge gateways that run on a Siemens Industrial Edge Device." -} diff --git a/.changes/next-release/api-change-mediapackagev2-121.json b/.changes/next-release/api-change-mediapackagev2-121.json deleted file mode 100644 index f37ab90f7460..000000000000 --- a/.changes/next-release/api-change-mediapackagev2-121.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``mediapackagev2``", - "description": "This release adds support for Irdeto DRM encryption in DASH manifests." -} diff --git a/.changes/next-release/api-change-medicalimaging-23651.json b/.changes/next-release/api-change-medicalimaging-23651.json deleted file mode 100644 index 75a4e87618ff..000000000000 --- a/.changes/next-release/api-change-medicalimaging-23651.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``medical-imaging``", - "description": "CopyImageSet API adds copying selected instances between image sets, and overriding inconsistent metadata with a force parameter. UpdateImageSetMetadata API enables reverting to prior versions; updates to Study, Series, and SOP Instance UIDs; and updates to private elements, with a force parameter." -} diff --git a/.changes/next-release/api-change-pinpointsmsvoicev2-3497.json b/.changes/next-release/api-change-pinpointsmsvoicev2-3497.json deleted file mode 100644 index 99aec2c8174b..000000000000 --- a/.changes/next-release/api-change-pinpointsmsvoicev2-3497.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``pinpoint-sms-voice-v2``", - "description": "Update for rebrand to AWS End User Messaging SMS and Voice." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index a6a5eb327e20..1058ed29ad29 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,17 @@ CHANGELOG ========= +1.33.30 +======= + +* api-change:``cleanrooms``: Three enhancements to the AWS Clean Rooms: Disallowed Output Columns, Flexible Result Receivers, SQL as a Seed +* api-change:``dynamodb``: DynamoDB doc only update for July +* api-change:``iotsitewise``: Adds support for creating SiteWise Edge gateways that run on a Siemens Industrial Edge Device. +* api-change:``mediapackagev2``: This release adds support for Irdeto DRM encryption in DASH manifests. +* api-change:``medical-imaging``: CopyImageSet API adds copying selected instances between image sets, and overriding inconsistent metadata with a force parameter. UpdateImageSetMetadata API enables reverting to prior versions; updates to Study, Series, and SOP Instance UIDs; and updates to private elements, with a force parameter. +* api-change:``pinpoint-sms-voice-v2``: Update for rebrand to AWS End User Messaging SMS and Voice. + + 1.33.29 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index a18ff44adfcd..871705be6a4c 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -17,7 +17,7 @@ """ import os -__version__ = '1.33.29' +__version__ = '1.33.30' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 1c14c74bea36..facc4be624a4 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.33.' # The full version, including alpha/beta/rc tags. -release = '1.33.29' +release = '1.33.30' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 6f00b2a2b0a0..0f1153796879 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.34.147 + botocore==1.34.148 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index efbb75ffe9c9..447829af583d 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.34.147', + 'botocore==1.34.148', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 10400cf8e472faca99c8c790cfe3f8a28c941d61 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 25 Jul 2024 19:27:46 +0000 Subject: [PATCH 0118/1087] Update changelog based on model updates --- .../api-change-applicationautoscaling-62633.json | 5 +++++ .../next-release/api-change-applicationsignals-84709.json | 5 +++++ .changes/next-release/api-change-bedrockruntime-1971.json | 5 +++++ .changes/next-release/api-change-codecommit-73000.json | 5 +++++ .changes/next-release/api-change-datazone-76047.json | 5 +++++ .changes/next-release/api-change-ec2-76042.json | 5 +++++ .changes/next-release/api-change-ecr-2619.json | 5 +++++ .changes/next-release/api-change-eks-55191.json | 5 +++++ .changes/next-release/api-change-elbv2-63572.json | 5 +++++ .changes/next-release/api-change-networkfirewall-40067.json | 5 +++++ .changes/next-release/api-change-outposts-54480.json | 5 +++++ .changes/next-release/api-change-stepfunctions-9876.json | 5 +++++ 12 files changed, 60 insertions(+) create mode 100644 .changes/next-release/api-change-applicationautoscaling-62633.json create mode 100644 .changes/next-release/api-change-applicationsignals-84709.json create mode 100644 .changes/next-release/api-change-bedrockruntime-1971.json create mode 100644 .changes/next-release/api-change-codecommit-73000.json create mode 100644 .changes/next-release/api-change-datazone-76047.json create mode 100644 .changes/next-release/api-change-ec2-76042.json create mode 100644 .changes/next-release/api-change-ecr-2619.json create mode 100644 .changes/next-release/api-change-eks-55191.json create mode 100644 .changes/next-release/api-change-elbv2-63572.json create mode 100644 .changes/next-release/api-change-networkfirewall-40067.json create mode 100644 .changes/next-release/api-change-outposts-54480.json create mode 100644 .changes/next-release/api-change-stepfunctions-9876.json diff --git a/.changes/next-release/api-change-applicationautoscaling-62633.json b/.changes/next-release/api-change-applicationautoscaling-62633.json new file mode 100644 index 000000000000..ff21ca77b89e --- /dev/null +++ b/.changes/next-release/api-change-applicationautoscaling-62633.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``application-autoscaling``", + "description": "Application Auto Scaling is now more responsive to the changes in demand of your SageMaker Inference endpoints. To get started, create or update a Target Tracking policy based on High Resolution CloudWatch metrics." +} diff --git a/.changes/next-release/api-change-applicationsignals-84709.json b/.changes/next-release/api-change-applicationsignals-84709.json new file mode 100644 index 000000000000..8bc6f80df43d --- /dev/null +++ b/.changes/next-release/api-change-applicationsignals-84709.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``application-signals``", + "description": "CloudWatch Application Signals now supports application logs correlation with traces and operational health metrics of applications running on EC2 instances. Users can view the most relevant telemetry to troubleshoot application health anomalies such as spikes in latency, errors, and availability." +} diff --git a/.changes/next-release/api-change-bedrockruntime-1971.json b/.changes/next-release/api-change-bedrockruntime-1971.json new file mode 100644 index 000000000000..af170ccae515 --- /dev/null +++ b/.changes/next-release/api-change-bedrockruntime-1971.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-runtime``", + "description": "Provides ServiceUnavailableException error message" +} diff --git a/.changes/next-release/api-change-codecommit-73000.json b/.changes/next-release/api-change-codecommit-73000.json new file mode 100644 index 000000000000..89cc438c9e27 --- /dev/null +++ b/.changes/next-release/api-change-codecommit-73000.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``codecommit``", + "description": "CreateRepository API now throws OperationNotAllowedException when the account has been restricted from creating a repository." +} diff --git a/.changes/next-release/api-change-datazone-76047.json b/.changes/next-release/api-change-datazone-76047.json new file mode 100644 index 000000000000..c1f879db794e --- /dev/null +++ b/.changes/next-release/api-change-datazone-76047.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``datazone``", + "description": "Introduces GetEnvironmentCredentials operation to SDK" +} diff --git a/.changes/next-release/api-change-ec2-76042.json b/.changes/next-release/api-change-ec2-76042.json new file mode 100644 index 000000000000..7b093adf942c --- /dev/null +++ b/.changes/next-release/api-change-ec2-76042.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ec2``", + "description": "EC2 Fleet now supports using custom identifiers to reference Amazon Machine Images (AMI) in launch requests that are configured to choose from a diversified list of instance types." +} diff --git a/.changes/next-release/api-change-ecr-2619.json b/.changes/next-release/api-change-ecr-2619.json new file mode 100644 index 000000000000..c433f065250c --- /dev/null +++ b/.changes/next-release/api-change-ecr-2619.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ecr``", + "description": "API and documentation updates for Amazon ECR, adding support for creating, updating, describing and deleting ECR Repository Creation Template." +} diff --git a/.changes/next-release/api-change-eks-55191.json b/.changes/next-release/api-change-eks-55191.json new file mode 100644 index 000000000000..620a4631a87f --- /dev/null +++ b/.changes/next-release/api-change-eks-55191.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``eks``", + "description": "This release adds support for EKS cluster to manage extended support." +} diff --git a/.changes/next-release/api-change-elbv2-63572.json b/.changes/next-release/api-change-elbv2-63572.json new file mode 100644 index 000000000000..f157a2e475da --- /dev/null +++ b/.changes/next-release/api-change-elbv2-63572.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``elbv2``", + "description": "This release adds support for sharing trust stores across accounts and organizations through integration with AWS Resource Access Manager." +} diff --git a/.changes/next-release/api-change-networkfirewall-40067.json b/.changes/next-release/api-change-networkfirewall-40067.json new file mode 100644 index 000000000000..644708d10a1e --- /dev/null +++ b/.changes/next-release/api-change-networkfirewall-40067.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``network-firewall``", + "description": "You can now log events that are related to TLS inspection, in addition to the existing alert and flow logging." +} diff --git a/.changes/next-release/api-change-outposts-54480.json b/.changes/next-release/api-change-outposts-54480.json new file mode 100644 index 000000000000..55761f34a56d --- /dev/null +++ b/.changes/next-release/api-change-outposts-54480.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``outposts``", + "description": "Adding default vCPU information to GetOutpostSupportedInstanceTypes and GetOutpostInstanceTypes responses" +} diff --git a/.changes/next-release/api-change-stepfunctions-9876.json b/.changes/next-release/api-change-stepfunctions-9876.json new file mode 100644 index 000000000000..25d894a283bf --- /dev/null +++ b/.changes/next-release/api-change-stepfunctions-9876.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``stepfunctions``", + "description": "This release adds support to customer managed KMS key encryption in AWS Step Functions." +} From b31a3fef4018c0c0f4b628f4705a7a3fe094c7c4 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 25 Jul 2024 19:29:09 +0000 Subject: [PATCH 0119/1087] Bumping version to 1.33.31 --- .changes/1.33.31.json | 62 +++++++++++++++++++ ...i-change-applicationautoscaling-62633.json | 5 -- .../api-change-applicationsignals-84709.json | 5 -- .../api-change-bedrockruntime-1971.json | 5 -- .../api-change-codecommit-73000.json | 5 -- .../api-change-datazone-76047.json | 5 -- .../next-release/api-change-ec2-76042.json | 5 -- .../next-release/api-change-ecr-2619.json | 5 -- .../next-release/api-change-eks-55191.json | 5 -- .../next-release/api-change-elbv2-63572.json | 5 -- .../api-change-networkfirewall-40067.json | 5 -- .../api-change-outposts-54480.json | 5 -- .../api-change-stepfunctions-9876.json | 5 -- CHANGELOG.rst | 17 +++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 18 files changed, 83 insertions(+), 64 deletions(-) create mode 100644 .changes/1.33.31.json delete mode 100644 .changes/next-release/api-change-applicationautoscaling-62633.json delete mode 100644 .changes/next-release/api-change-applicationsignals-84709.json delete mode 100644 .changes/next-release/api-change-bedrockruntime-1971.json delete mode 100644 .changes/next-release/api-change-codecommit-73000.json delete mode 100644 .changes/next-release/api-change-datazone-76047.json delete mode 100644 .changes/next-release/api-change-ec2-76042.json delete mode 100644 .changes/next-release/api-change-ecr-2619.json delete mode 100644 .changes/next-release/api-change-eks-55191.json delete mode 100644 .changes/next-release/api-change-elbv2-63572.json delete mode 100644 .changes/next-release/api-change-networkfirewall-40067.json delete mode 100644 .changes/next-release/api-change-outposts-54480.json delete mode 100644 .changes/next-release/api-change-stepfunctions-9876.json diff --git a/.changes/1.33.31.json b/.changes/1.33.31.json new file mode 100644 index 000000000000..fc8c3beefa06 --- /dev/null +++ b/.changes/1.33.31.json @@ -0,0 +1,62 @@ +[ + { + "category": "``application-autoscaling``", + "description": "Application Auto Scaling is now more responsive to the changes in demand of your SageMaker Inference endpoints. To get started, create or update a Target Tracking policy based on High Resolution CloudWatch metrics.", + "type": "api-change" + }, + { + "category": "``application-signals``", + "description": "CloudWatch Application Signals now supports application logs correlation with traces and operational health metrics of applications running on EC2 instances. Users can view the most relevant telemetry to troubleshoot application health anomalies such as spikes in latency, errors, and availability.", + "type": "api-change" + }, + { + "category": "``bedrock-runtime``", + "description": "Provides ServiceUnavailableException error message", + "type": "api-change" + }, + { + "category": "``codecommit``", + "description": "CreateRepository API now throws OperationNotAllowedException when the account has been restricted from creating a repository.", + "type": "api-change" + }, + { + "category": "``datazone``", + "description": "Introduces GetEnvironmentCredentials operation to SDK", + "type": "api-change" + }, + { + "category": "``ec2``", + "description": "EC2 Fleet now supports using custom identifiers to reference Amazon Machine Images (AMI) in launch requests that are configured to choose from a diversified list of instance types.", + "type": "api-change" + }, + { + "category": "``ecr``", + "description": "API and documentation updates for Amazon ECR, adding support for creating, updating, describing and deleting ECR Repository Creation Template.", + "type": "api-change" + }, + { + "category": "``eks``", + "description": "This release adds support for EKS cluster to manage extended support.", + "type": "api-change" + }, + { + "category": "``elbv2``", + "description": "This release adds support for sharing trust stores across accounts and organizations through integration with AWS Resource Access Manager.", + "type": "api-change" + }, + { + "category": "``network-firewall``", + "description": "You can now log events that are related to TLS inspection, in addition to the existing alert and flow logging.", + "type": "api-change" + }, + { + "category": "``outposts``", + "description": "Adding default vCPU information to GetOutpostSupportedInstanceTypes and GetOutpostInstanceTypes responses", + "type": "api-change" + }, + { + "category": "``stepfunctions``", + "description": "This release adds support to customer managed KMS key encryption in AWS Step Functions.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-applicationautoscaling-62633.json b/.changes/next-release/api-change-applicationautoscaling-62633.json deleted file mode 100644 index ff21ca77b89e..000000000000 --- a/.changes/next-release/api-change-applicationautoscaling-62633.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``application-autoscaling``", - "description": "Application Auto Scaling is now more responsive to the changes in demand of your SageMaker Inference endpoints. To get started, create or update a Target Tracking policy based on High Resolution CloudWatch metrics." -} diff --git a/.changes/next-release/api-change-applicationsignals-84709.json b/.changes/next-release/api-change-applicationsignals-84709.json deleted file mode 100644 index 8bc6f80df43d..000000000000 --- a/.changes/next-release/api-change-applicationsignals-84709.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``application-signals``", - "description": "CloudWatch Application Signals now supports application logs correlation with traces and operational health metrics of applications running on EC2 instances. Users can view the most relevant telemetry to troubleshoot application health anomalies such as spikes in latency, errors, and availability." -} diff --git a/.changes/next-release/api-change-bedrockruntime-1971.json b/.changes/next-release/api-change-bedrockruntime-1971.json deleted file mode 100644 index af170ccae515..000000000000 --- a/.changes/next-release/api-change-bedrockruntime-1971.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-runtime``", - "description": "Provides ServiceUnavailableException error message" -} diff --git a/.changes/next-release/api-change-codecommit-73000.json b/.changes/next-release/api-change-codecommit-73000.json deleted file mode 100644 index 89cc438c9e27..000000000000 --- a/.changes/next-release/api-change-codecommit-73000.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``codecommit``", - "description": "CreateRepository API now throws OperationNotAllowedException when the account has been restricted from creating a repository." -} diff --git a/.changes/next-release/api-change-datazone-76047.json b/.changes/next-release/api-change-datazone-76047.json deleted file mode 100644 index c1f879db794e..000000000000 --- a/.changes/next-release/api-change-datazone-76047.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``datazone``", - "description": "Introduces GetEnvironmentCredentials operation to SDK" -} diff --git a/.changes/next-release/api-change-ec2-76042.json b/.changes/next-release/api-change-ec2-76042.json deleted file mode 100644 index 7b093adf942c..000000000000 --- a/.changes/next-release/api-change-ec2-76042.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ec2``", - "description": "EC2 Fleet now supports using custom identifiers to reference Amazon Machine Images (AMI) in launch requests that are configured to choose from a diversified list of instance types." -} diff --git a/.changes/next-release/api-change-ecr-2619.json b/.changes/next-release/api-change-ecr-2619.json deleted file mode 100644 index c433f065250c..000000000000 --- a/.changes/next-release/api-change-ecr-2619.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ecr``", - "description": "API and documentation updates for Amazon ECR, adding support for creating, updating, describing and deleting ECR Repository Creation Template." -} diff --git a/.changes/next-release/api-change-eks-55191.json b/.changes/next-release/api-change-eks-55191.json deleted file mode 100644 index 620a4631a87f..000000000000 --- a/.changes/next-release/api-change-eks-55191.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``eks``", - "description": "This release adds support for EKS cluster to manage extended support." -} diff --git a/.changes/next-release/api-change-elbv2-63572.json b/.changes/next-release/api-change-elbv2-63572.json deleted file mode 100644 index f157a2e475da..000000000000 --- a/.changes/next-release/api-change-elbv2-63572.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``elbv2``", - "description": "This release adds support for sharing trust stores across accounts and organizations through integration with AWS Resource Access Manager." -} diff --git a/.changes/next-release/api-change-networkfirewall-40067.json b/.changes/next-release/api-change-networkfirewall-40067.json deleted file mode 100644 index 644708d10a1e..000000000000 --- a/.changes/next-release/api-change-networkfirewall-40067.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``network-firewall``", - "description": "You can now log events that are related to TLS inspection, in addition to the existing alert and flow logging." -} diff --git a/.changes/next-release/api-change-outposts-54480.json b/.changes/next-release/api-change-outposts-54480.json deleted file mode 100644 index 55761f34a56d..000000000000 --- a/.changes/next-release/api-change-outposts-54480.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``outposts``", - "description": "Adding default vCPU information to GetOutpostSupportedInstanceTypes and GetOutpostInstanceTypes responses" -} diff --git a/.changes/next-release/api-change-stepfunctions-9876.json b/.changes/next-release/api-change-stepfunctions-9876.json deleted file mode 100644 index 25d894a283bf..000000000000 --- a/.changes/next-release/api-change-stepfunctions-9876.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``stepfunctions``", - "description": "This release adds support to customer managed KMS key encryption in AWS Step Functions." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 1058ed29ad29..f14a2bdfa011 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,23 @@ CHANGELOG ========= +1.33.31 +======= + +* api-change:``application-autoscaling``: Application Auto Scaling is now more responsive to the changes in demand of your SageMaker Inference endpoints. To get started, create or update a Target Tracking policy based on High Resolution CloudWatch metrics. +* api-change:``application-signals``: CloudWatch Application Signals now supports application logs correlation with traces and operational health metrics of applications running on EC2 instances. Users can view the most relevant telemetry to troubleshoot application health anomalies such as spikes in latency, errors, and availability. +* api-change:``bedrock-runtime``: Provides ServiceUnavailableException error message +* api-change:``codecommit``: CreateRepository API now throws OperationNotAllowedException when the account has been restricted from creating a repository. +* api-change:``datazone``: Introduces GetEnvironmentCredentials operation to SDK +* api-change:``ec2``: EC2 Fleet now supports using custom identifiers to reference Amazon Machine Images (AMI) in launch requests that are configured to choose from a diversified list of instance types. +* api-change:``ecr``: API and documentation updates for Amazon ECR, adding support for creating, updating, describing and deleting ECR Repository Creation Template. +* api-change:``eks``: This release adds support for EKS cluster to manage extended support. +* api-change:``elbv2``: This release adds support for sharing trust stores across accounts and organizations through integration with AWS Resource Access Manager. +* api-change:``network-firewall``: You can now log events that are related to TLS inspection, in addition to the existing alert and flow logging. +* api-change:``outposts``: Adding default vCPU information to GetOutpostSupportedInstanceTypes and GetOutpostInstanceTypes responses +* api-change:``stepfunctions``: This release adds support to customer managed KMS key encryption in AWS Step Functions. + + 1.33.30 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 871705be6a4c..b59a370bdaf8 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -17,7 +17,7 @@ """ import os -__version__ = '1.33.30' +__version__ = '1.33.31' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index facc4be624a4..b6b2af09d9a5 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.33.' # The full version, including alpha/beta/rc tags. -release = '1.33.30' +release = '1.33.31' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 0f1153796879..79ae8a2c19aa 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.34.148 + botocore==1.34.149 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 447829af583d..34a559c8a552 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.34.148', + 'botocore==1.34.149', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 0ed43fb76cf41a75434b94945bc42d4a4f2ffcc4 Mon Sep 17 00:00:00 2001 From: Steve Yoo <106777148+hssyoo@users.noreply.github.com> Date: Fri, 26 Jul 2024 12:26:09 -0400 Subject: [PATCH 0120/1087] Add s3 integration tests using directory buckets (#8795) --- awscli/testutils.py | 54 ++++++- .../customizations/s3/test_plugin.py | 138 +++++++++++++----- 2 files changed, 151 insertions(+), 41 deletions(-) diff --git a/awscli/testutils.py b/awscli/testutils.py index 950290a0567d..ae36528aa426 100644 --- a/awscli/testutils.py +++ b/awscli/testutils.py @@ -168,6 +168,45 @@ def create_bucket(session, name=None, region=None): return bucket_name +def create_dir_bucket(session, name=None, location=None): + """ + Creates a S3 directory bucket + :returns: the name of the bucket created + """ + if not location: + location = ('us-west-2', 'usw2-az1') + region, az = location + client = session.create_client('s3', region_name=region) + if name: + bucket_name = name + else: + bucket_name = f"{random_bucket_name()}--{az}--x-s3" + params = { + 'Bucket': bucket_name, + 'CreateBucketConfiguration': { + 'Location': { + 'Type': 'AvailabilityZone', + 'Name': az + }, + 'Bucket': { + 'Type': 'Directory', + 'DataRedundancy': 'SingleAvailabilityZone' + } + } + } + try: + client.create_bucket(**params) + except ClientError as e: + if e.response['Error'].get('Code') == 'BucketAlreadyOwnedByYou': + # This can happen in the retried request, when the first one + # succeeded on S3 but somehow the response never comes back. + # We still got a bucket ready for test anyway. + pass + else: + raise + return bucket_name + + def random_chars(num_chars): """Returns random hex characters. @@ -757,6 +796,19 @@ def create_bucket(self, name=None, region=None): self.delete_public_access_block(bucket_name) return bucket_name + def create_dir_bucket(self, name=None, location=None): + if location: + region, _ = location + else: + region = self.region + bucket_name = create_dir_bucket(self.session, name, location) + self.regions[bucket_name] = region + self.addCleanup(self.delete_bucket, bucket_name) + + # Wait for the bucket to exist before letting it be used. + self.wait_bucket_exists(bucket_name) + return bucket_name + def put_object(self, bucket_name, key_name, contents='', extra_args=None): client = self.create_client_for_bucket(bucket_name) call_args = { @@ -805,7 +857,7 @@ def delete_bucket(self, bucket_name, attempts=5, delay=5): def remove_all_objects(self, bucket_name): client = self.create_client_for_bucket(bucket_name) - paginator = client.get_paginator('list_objects') + paginator = client.get_paginator('list_objects_v2') pages = paginator.paginate(Bucket=bucket_name) key_names = [] for page in pages: diff --git a/tests/integration/customizations/s3/test_plugin.py b/tests/integration/customizations/s3/test_plugin.py index 6968b1702600..e943eaee46d0 100644 --- a/tests/integration/customizations/s3/test_plugin.py +++ b/tests/integration/customizations/s3/test_plugin.py @@ -46,6 +46,8 @@ LOG = logging.getLogger('awscli.tests.integration') _SHARED_BUCKET = random_bucket_name() _DEFAULT_REGION = 'us-west-2' +_DEFAULT_AZ = 'usw2-az1' +_SHARED_DIR_BUCKET = f'{random_bucket_name()}--{_DEFAULT_AZ}--x-s3' def setup_module(): @@ -58,14 +60,29 @@ def setup_module(): }, 'ObjectOwnership': 'ObjectWriter' } + dir_bucket_params = { + 'Bucket': _SHARED_DIR_BUCKET, + 'CreateBucketConfiguration': { + 'Location': { + 'Type': 'AvailabilityZone', + 'Name': _DEFAULT_AZ + }, + 'Bucket': { + 'Type': 'Directory', + 'DataRedundancy': 'SingleAvailabilityZone' + } + } + } try: s3.create_bucket(**params) + s3.create_bucket(**dir_bucket_params) except Exception as e: # A create_bucket can fail for a number of reasons. # We're going to defer to the waiter below to make the # final call as to whether or not the bucket exists. LOG.debug("create_bucket() raised an exception: %s", e, exc_info=True) waiter.wait(Bucket=_SHARED_BUCKET) + waiter.wait(Bucket=_SHARED_DIR_BUCKET) s3.delete_public_access_block( Bucket=_SHARED_BUCKET ) @@ -74,7 +91,7 @@ def setup_module(): def clear_out_bucket(bucket, delete_bucket=False): s3 = botocore.session.get_session().create_client( 's3', region_name=_DEFAULT_REGION) - page = s3.get_paginator('list_objects') + page = s3.get_paginator('list_objects_v2') # Use pages paired with batch delete_objects(). for page in page.paginate(Bucket=bucket): keys = [{'Key': obj['Key']} for obj in page.get('Contents', [])] @@ -96,6 +113,7 @@ def clear_out_bucket(bucket, delete_bucket=False): def teardown_module(): clear_out_bucket(_SHARED_BUCKET, delete_bucket=True) + clear_out_bucket(_SHARED_DIR_BUCKET, delete_bucket=True) @contextlib.contextmanager @@ -141,25 +159,23 @@ class BaseS3IntegrationTest(BaseS3CLICommand): def setUp(self): clear_out_bucket(_SHARED_BUCKET) + clear_out_bucket(_SHARED_DIR_BUCKET) super(BaseS3IntegrationTest, self).setUp() class TestMoveCommand(BaseS3IntegrationTest): - - def test_mv_local_to_s3(self): - bucket_name = _SHARED_BUCKET + def assert_mv_local_to_s3(self, bucket_name): full_path = self.files.create_file('foo.txt', 'this is foo.txt') p = aws('s3 mv %s s3://%s/foo.txt' % (full_path, - bucket_name)) + bucket_name)) self.assert_no_errors(p) # When we move an object, the local file is gone: self.assertTrue(not os.path.exists(full_path)) # And now resides in s3. self.assert_key_contents_equal(bucket_name, 'foo.txt', - 'this is foo.txt') + 'this is foo.txt') - def test_mv_s3_to_local(self): - bucket_name = _SHARED_BUCKET + def assert_mv_s3_to_local(self, bucket_name): self.put_object(bucket_name, 'foo.txt', 'this is foo.txt') full_path = self.files.full_path('foo.txt') self.assertTrue(self.key_exists(bucket_name, key_name='foo.txt')) @@ -171,9 +187,8 @@ def test_mv_s3_to_local(self): # The s3 file should not be there anymore. self.assertTrue(self.key_not_exists(bucket_name, key_name='foo.txt')) - def test_mv_s3_to_s3(self): - from_bucket = _SHARED_BUCKET - to_bucket = self.create_bucket() + def assert_mv_s3_to_s3(self, from_bucket, create_bucket_call): + to_bucket = create_bucket_call() self.put_object(from_bucket, 'foo.txt', 'this is foo.txt') p = aws('s3 mv s3://%s/foo.txt s3://%s/foo.txt' % (from_bucket, @@ -184,6 +199,30 @@ def test_mv_s3_to_s3(self): # And verify that the object no longer exists in the from_bucket. self.assertTrue(self.key_not_exists(from_bucket, key_name='foo.txt')) + def test_mv_local_to_s3(self): + self.assert_mv_local_to_s3(_SHARED_BUCKET) + + def test_mv_local_to_s3_express(self): + self.assert_mv_local_to_s3(_SHARED_DIR_BUCKET) + + def test_mv_s3_to_local(self): + self.assert_mv_s3_to_local(_SHARED_BUCKET) + + def test_mv_s3_express_to_local(self): + self.assert_mv_s3_to_local(_SHARED_DIR_BUCKET) + + def test_mv_s3_to_s3(self): + self.assert_mv_s3_to_s3(_SHARED_BUCKET, self.create_bucket) + + def test_mv_s3_to_s3_express(self): + self.assert_mv_s3_to_s3(_SHARED_BUCKET, self.create_dir_bucket) + + def test_mv_s3_express_to_s3_express(self): + self.assert_mv_s3_to_s3(_SHARED_DIR_BUCKET, self.create_dir_bucket) + + def test_mv_s3_express_to_s3(self): + self.assert_mv_s3_to_s3(_SHARED_DIR_BUCKET, self.create_bucket) + @pytest.mark.slow def test_mv_s3_to_s3_multipart(self): from_bucket = _SHARED_BUCKET @@ -298,6 +337,14 @@ def test_cant_move_large_file_onto_itself(self): class TestRm(BaseS3IntegrationTest): + def assert_rm_with_page_size(self, bucket_name): + self.put_object(bucket_name, 'foo.txt', contents='hello world') + self.put_object(bucket_name, 'bar.txt', contents='hello world2') + p = aws('s3 rm s3://%s/ --recursive --page-size 1' % bucket_name) + self.assert_no_errors(p) + + self.assertTrue(self.key_not_exists(bucket_name, key_name='foo.txt')) + self.assertTrue(self.key_not_exists(bucket_name, key_name='bar.txt')) @skip_if_windows('Newline in filename test not valid on windows.') # Windows won't let you do this. You'll get: # [Errno 22] invalid mode ('w') or filename: @@ -320,23 +367,18 @@ def test_rm_with_newlines(self): self.assertTrue(self.key_not_exists(bucket_name, key_name='foo\r.txt')) def test_rm_with_page_size(self): - bucket_name = _SHARED_BUCKET - self.put_object(bucket_name, 'foo.txt', contents='hello world') - self.put_object(bucket_name, 'bar.txt', contents='hello world2') - p = aws('s3 rm s3://%s/ --recursive --page-size 1' % bucket_name) - self.assert_no_errors(p) + self.assert_rm_with_page_size(_SHARED_BUCKET) - self.assertTrue(self.key_not_exists(bucket_name, key_name='foo.txt')) - self.assertTrue(self.key_not_exists(bucket_name, key_name='bar.txt')) + def test_s3_express_rm_with_page_size(self): + self.assert_rm_with_page_size(_SHARED_DIR_BUCKET) class TestCp(BaseS3IntegrationTest): - def test_cp_to_and_from_s3(self): + def assert_cp_to_and_from_s3(self, bucket_name): # This tests the ability to put a single file in s3 # move it to a different bucket. # and download the file locally - bucket_name = _SHARED_BUCKET # copy file into bucket. foo_txt = self.files.create_file('foo.txt', 'this is foo.txt') @@ -361,6 +403,12 @@ def test_cp_to_and_from_s3(self): with open(full_path, 'r') as f: self.assertEqual(f.read(), 'this is foo.txt') + def test_cp_to_and_from_s3(self): + self.assert_cp_to_and_from_s3(_SHARED_BUCKET) + + def test_cp_to_and_from_s3_express(self): + self.assert_cp_to_and_from_s3(_SHARED_DIR_BUCKET) + def test_cp_without_trailing_slash(self): # There's a unit test for this, but we still want to verify this # with an integration test. @@ -1133,6 +1181,28 @@ class TestLs(BaseS3IntegrationTest): This tests using the ``ls`` command. """ + def assert_ls_with_prefix(self, bucket_name): + self.put_object(bucket_name, 'foo.txt', 'contents') + self.put_object(bucket_name, 'foo', 'contents') + self.put_object(bucket_name, 'bar.txt', 'contents') + self.put_object(bucket_name, 'subdir/foo.txt', 'contents') + p = aws('s3 ls s3://%s' % bucket_name) + self.assertIn('PRE subdir/', p.stdout) + self.assertIn('8 foo.txt', p.stdout) + self.assertIn('8 foo', p.stdout) + self.assertIn('8 bar.txt', p.stdout) + + def assert_ls_recursive(self, bucket_name): + self.put_object(bucket_name, 'foo.txt', 'contents') + self.put_object(bucket_name, 'foo', 'contents') + self.put_object(bucket_name, 'bar.txt', 'contents') + self.put_object(bucket_name, 'subdir/foo.txt', 'contents') + p = aws('s3 ls s3://%s --recursive' % bucket_name) + self.assertIn('8 foo.txt', p.stdout) + self.assertIn('8 foo', p.stdout) + self.assertIn('8 bar.txt', p.stdout) + self.assertIn('8 subdir/foo.txt', p.stdout) + def test_ls_bucket(self): p = aws('s3 ls') self.assert_no_errors(p) @@ -1163,28 +1233,16 @@ def test_ls_non_existent_bucket(self): self.assertEqual(p.stdout, '') def test_ls_with_prefix(self): - bucket_name = _SHARED_BUCKET - self.put_object(bucket_name, 'foo.txt', 'contents') - self.put_object(bucket_name, 'foo', 'contents') - self.put_object(bucket_name, 'bar.txt', 'contents') - self.put_object(bucket_name, 'subdir/foo.txt', 'contents') - p = aws('s3 ls s3://%s' % bucket_name) - self.assertIn('PRE subdir/', p.stdout) - self.assertIn('8 foo.txt', p.stdout) - self.assertIn('8 foo', p.stdout) - self.assertIn('8 bar.txt', p.stdout) + self.assert_ls_with_prefix(_SHARED_BUCKET) + + def test_s3_express_ls_with_prefix(self): + self.assert_ls_with_prefix(_SHARED_DIR_BUCKET) def test_ls_recursive(self): - bucket_name = _SHARED_BUCKET - self.put_object(bucket_name, 'foo.txt', 'contents') - self.put_object(bucket_name, 'foo', 'contents') - self.put_object(bucket_name, 'bar.txt', 'contents') - self.put_object(bucket_name, 'subdir/foo.txt', 'contents') - p = aws('s3 ls s3://%s --recursive' % bucket_name) - self.assertIn('8 foo.txt', p.stdout) - self.assertIn('8 foo', p.stdout) - self.assertIn('8 bar.txt', p.stdout) - self.assertIn('8 subdir/foo.txt', p.stdout) + self.assert_ls_recursive(_SHARED_BUCKET) + + def test_s3_express_ls_recursive(self): + self.assert_ls_recursive(_SHARED_DIR_BUCKET) def test_ls_without_prefix(self): # The ls command does not require an s3:// prefix, From 4ea9cbdd9cde6cba4b9d7b9f2f66f7d4bb4f92e9 Mon Sep 17 00:00:00 2001 From: Nate Prewitt Date: Fri, 26 Jul 2024 15:25:40 -0700 Subject: [PATCH 0121/1087] Update setuptools (#8821) --- requirements-dev-lock.txt | 24 ++++++++++++------------ requirements-dev.txt | 4 ++-- scripts/ci/install-dev-deps | 9 ++++++++- 3 files changed, 22 insertions(+), 15 deletions(-) diff --git a/requirements-dev-lock.txt b/requirements-dev-lock.txt index 4a14d86e8dbb..a08692febdd9 100644 --- a/requirements-dev-lock.txt +++ b/requirements-dev-lock.txt @@ -75,23 +75,23 @@ coverage[toml]==7.2.7 \ # via # -r requirements-dev.txt # pytest-cov -exceptiongroup==1.1.3 \ - --hash=sha256:097acd85d473d75af5bb98e41b61ff7fe35efe6675e4f9370ec6ec5126d160e9 \ - --hash=sha256:343280667a4585d195ca1cf9cef84a4e178c4b6cf2274caef9859782b567d5e3 +exceptiongroup==1.2.2 \ + --hash=sha256:3111b9d131c238bec2f8f516e123e14ba243563fb135d3fe885990585aa7795b \ + --hash=sha256:47c2edf7c6738fafb49fd34290706d1a1a2f4d1c6df275526b62cbb4aa5393cc # via pytest -iniconfig==1.1.1 \ - --hash=sha256:011e24c64b7f47f6ebd835bb12a743f2fbe9a26d4cecaa7f53bc4f35ee9da8b3 \ - --hash=sha256:bc3af051d7d14b2ee5ef9969666def0cd1a000e121eaea580d4a313df4b37f32 +iniconfig==2.0.0 \ + --hash=sha256:2d91e135bf72d31a410b17c16da610a82cb55f6b0477d1a902134b24a455b8b3 \ + --hash=sha256:b6a85871a79d2e3b22d2d1b94ac2824226a63c6b741c88f7ae975f18b6778374 # via pytest -packaging==23.2 \ - --hash=sha256:048fb0e9405036518eaaf48a55953c750c11e1a1b68e0dd1a9d62ed0c092cfc5 \ - --hash=sha256:8c491190033a9af7e1d931d0b5dacc2ef47509b34dd0de67ed209b5203fc88c7 +packaging==24.1 \ + --hash=sha256:026ed72c8ed3fcce5bf8950572258698927fd1dbda10a5e981cdf0ac37f4f002 \ + --hash=sha256:5b8f2217dbdbd2f7f384c41c628544e6d52f2d0f53c6d0c3ea61aa5d1d7ff124 # via # -r requirements-dev.txt # pytest -pluggy==1.4.0 \ - --hash=sha256:7db9f7b503d67d1c5b95f59773ebb58a8c1c288129a88665838012cfb07b8981 \ - --hash=sha256:8c85c2876142a764e5b7548e7d9a0e0ddb46f5185161049a79b7e974454223be +pluggy==1.5.0 \ + --hash=sha256:2cffa88e94fdc978c4c574f15f9e59b7f4201d439195c3715ca9e2486f1d0cf1 \ + --hash=sha256:44e1ad92c8ca002de6377e165f3e0f1be63266ab4d554740532335b9d75ea669 # via pytest pytest==8.1.1 \ --hash=sha256:2a8386cfc11fa9d2c50ee7b2a57e7d898ef90470a7a34c4b949ff59662bb78b7 \ diff --git a/requirements-dev.txt b/requirements-dev.txt index 5157b7851493..f020f5ae77fb 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,6 +1,6 @@ wheel==0.43.0 coverage==7.2.7 -setuptools==67.8.0;python_version>="3.12" +setuptools==71.1.0;python_version>="3.12" # Pytest specific deps pytest==8.1.1 @@ -9,4 +9,4 @@ atomicwrites>=1.0 # Windows requirement colorama>0.3.0 # Windows requirement # Dependency test specific deps -packaging==23.2 +packaging==24.1 diff --git a/scripts/ci/install-dev-deps b/scripts/ci/install-dev-deps index b027c0120eb7..1ab746981ed3 100755 --- a/scripts/ci/install-dev-deps +++ b/scripts/ci/install-dev-deps @@ -27,6 +27,13 @@ def run(command): if __name__ == "__main__": with cd(REPO_ROOT): if sys.version_info[:2] >= (3, 12): - run("pip install setuptools==67.8.0") + # Python 3.12+ no longer includes setuptools by default. + + # Setuptools 71+ now prefers already installed versions + # of packaging _and_ broke the API for packaging<22.0. + # We'll pin to match what's in requirements-dev.txt. + run( + "pip install setuptools==71.1.0 packaging==24.1" + ) run("pip install -r requirements-dev-lock.txt") From 8f1306f238f5fbc639f9e7008cdab8f7615c4a59 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 29 Jul 2024 18:58:04 +0000 Subject: [PATCH 0122/1087] Update changelog based on model updates --- .changes/next-release/api-change-elasticache-27935.json | 5 +++++ .changes/next-release/api-change-memorydb-95508.json | 5 +++++ 2 files changed, 10 insertions(+) create mode 100644 .changes/next-release/api-change-elasticache-27935.json create mode 100644 .changes/next-release/api-change-memorydb-95508.json diff --git a/.changes/next-release/api-change-elasticache-27935.json b/.changes/next-release/api-change-elasticache-27935.json new file mode 100644 index 000000000000..522f1bf528dd --- /dev/null +++ b/.changes/next-release/api-change-elasticache-27935.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``elasticache``", + "description": "Renaming full service name as it appears in developer documentation." +} diff --git a/.changes/next-release/api-change-memorydb-95508.json b/.changes/next-release/api-change-memorydb-95508.json new file mode 100644 index 000000000000..4447f7ee06c0 --- /dev/null +++ b/.changes/next-release/api-change-memorydb-95508.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``memorydb``", + "description": "Renaming full service name as it appears in developer documentation." +} From 1fbf4866bd7740e5d70bd6d2b92114abc515b301 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 29 Jul 2024 18:59:25 +0000 Subject: [PATCH 0123/1087] Bumping version to 1.33.32 --- .changes/1.33.32.json | 12 ++++++++++++ .../next-release/api-change-elasticache-27935.json | 5 ----- .changes/next-release/api-change-memorydb-95508.json | 5 ----- CHANGELOG.rst | 7 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 8 files changed, 23 insertions(+), 14 deletions(-) create mode 100644 .changes/1.33.32.json delete mode 100644 .changes/next-release/api-change-elasticache-27935.json delete mode 100644 .changes/next-release/api-change-memorydb-95508.json diff --git a/.changes/1.33.32.json b/.changes/1.33.32.json new file mode 100644 index 000000000000..a108a41228c2 --- /dev/null +++ b/.changes/1.33.32.json @@ -0,0 +1,12 @@ +[ + { + "category": "``elasticache``", + "description": "Renaming full service name as it appears in developer documentation.", + "type": "api-change" + }, + { + "category": "``memorydb``", + "description": "Renaming full service name as it appears in developer documentation.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-elasticache-27935.json b/.changes/next-release/api-change-elasticache-27935.json deleted file mode 100644 index 522f1bf528dd..000000000000 --- a/.changes/next-release/api-change-elasticache-27935.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``elasticache``", - "description": "Renaming full service name as it appears in developer documentation." -} diff --git a/.changes/next-release/api-change-memorydb-95508.json b/.changes/next-release/api-change-memorydb-95508.json deleted file mode 100644 index 4447f7ee06c0..000000000000 --- a/.changes/next-release/api-change-memorydb-95508.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``memorydb``", - "description": "Renaming full service name as it appears in developer documentation." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index f14a2bdfa011..2edf53b166d5 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,13 @@ CHANGELOG ========= +1.33.32 +======= + +* api-change:``elasticache``: Renaming full service name as it appears in developer documentation. +* api-change:``memorydb``: Renaming full service name as it appears in developer documentation. + + 1.33.31 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index b59a370bdaf8..e6bd634ff951 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -17,7 +17,7 @@ """ import os -__version__ = '1.33.31' +__version__ = '1.33.32' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index b6b2af09d9a5..63708a0a7a1d 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.33.' # The full version, including alpha/beta/rc tags. -release = '1.33.31' +release = '1.33.32' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 79ae8a2c19aa..eba7a79b68d0 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.34.149 + botocore==1.34.150 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 34a559c8a552..6e0649bca5bf 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.34.149', + 'botocore==1.34.150', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From fb104931c0160ca0581e79557fe261e22cafbe34 Mon Sep 17 00:00:00 2001 From: Ahmed Moustafa <35640105+aemous@users.noreply.github.com> Date: Mon, 29 Jul 2024 16:37:15 -0400 Subject: [PATCH 0124/1087] Disable S3 Express support for s3 mb command (#8824) --- .changes/next-release/bugfix-s3-90647.json | 5 +++++ awscli/customizations/s3/subcommands.py | 3 +++ tests/functional/s3/test_mb_command.py | 5 +++++ 3 files changed, 13 insertions(+) create mode 100644 .changes/next-release/bugfix-s3-90647.json diff --git a/.changes/next-release/bugfix-s3-90647.json b/.changes/next-release/bugfix-s3-90647.json new file mode 100644 index 000000000000..ab53ed3b7e06 --- /dev/null +++ b/.changes/next-release/bugfix-s3-90647.json @@ -0,0 +1,5 @@ +{ + "type": "bugfix", + "category": "``s3``", + "description": "Disable usage of mb command with S3 Express directory buckets." +} diff --git a/awscli/customizations/s3/subcommands.py b/awscli/customizations/s3/subcommands.py index f0f8bf4f33c8..b2a5e9181c04 100644 --- a/awscli/customizations/s3/subcommands.py +++ b/awscli/customizations/s3/subcommands.py @@ -801,6 +801,9 @@ def _run_main(self, parsed_args, parsed_globals): raise TypeError("%s\nError: Invalid argument type" % self.USAGE) bucket, _ = split_s3_bucket_key(parsed_args.path) + if is_s3express_bucket(bucket): + raise ValueError("Cannot use mb command with a directory bucket.") + bucket_config = {'LocationConstraint': self.client.meta.region_name} params = {'Bucket': bucket} if self.client.meta.region_name != 'us-east-1': diff --git a/tests/functional/s3/test_mb_command.py b/tests/functional/s3/test_mb_command.py index 59305a7bec66..6076455db527 100644 --- a/tests/functional/s3/test_mb_command.py +++ b/tests/functional/s3/test_mb_command.py @@ -45,3 +45,8 @@ def test_location_constraint_not_added_on_us_east_1(self): def test_nonzero_exit_if_invalid_path_provided(self): command = self.prefix + 'bucket' self.run_cmd(command, expected_rc=255) + + def test_incompatible_with_express_directory_bucket(self): + command = self.prefix + 's3://bucket--usw2-az1--x-s3/' + stderr = self.run_cmd(command, expected_rc=255)[1] + self.assertIn('Cannot use mb command with a directory bucket.', stderr) \ No newline at end of file From 201a9c7b0227ae5ba535e5f738c77cb64b3a2735 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 30 Jul 2024 18:09:08 +0000 Subject: [PATCH 0125/1087] Update changelog based on model updates --- .changes/next-release/api-change-appstream-15279.json | 5 +++++ .changes/next-release/api-change-autoscaling-97567.json | 5 +++++ .changes/next-release/api-change-codepipeline-3890.json | 5 +++++ .changes/next-release/api-change-elasticache-51095.json | 5 +++++ .changes/next-release/api-change-elb-94157.json | 5 +++++ .changes/next-release/api-change-events-49103.json | 5 +++++ .changes/next-release/api-change-lexv2models-16938.json | 5 +++++ .changes/next-release/api-change-logs-21050.json | 5 +++++ .changes/next-release/api-change-rolesanywhere-13825.json | 5 +++++ .changes/next-release/api-change-tnb-87152.json | 5 +++++ .changes/next-release/api-change-workspaces-93341.json | 5 +++++ 11 files changed, 55 insertions(+) create mode 100644 .changes/next-release/api-change-appstream-15279.json create mode 100644 .changes/next-release/api-change-autoscaling-97567.json create mode 100644 .changes/next-release/api-change-codepipeline-3890.json create mode 100644 .changes/next-release/api-change-elasticache-51095.json create mode 100644 .changes/next-release/api-change-elb-94157.json create mode 100644 .changes/next-release/api-change-events-49103.json create mode 100644 .changes/next-release/api-change-lexv2models-16938.json create mode 100644 .changes/next-release/api-change-logs-21050.json create mode 100644 .changes/next-release/api-change-rolesanywhere-13825.json create mode 100644 .changes/next-release/api-change-tnb-87152.json create mode 100644 .changes/next-release/api-change-workspaces-93341.json diff --git a/.changes/next-release/api-change-appstream-15279.json b/.changes/next-release/api-change-appstream-15279.json new file mode 100644 index 000000000000..c0b4571e5658 --- /dev/null +++ b/.changes/next-release/api-change-appstream-15279.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``appstream``", + "description": "Added support for Red Hat Enterprise Linux 8 on Amazon AppStream 2.0" +} diff --git a/.changes/next-release/api-change-autoscaling-97567.json b/.changes/next-release/api-change-autoscaling-97567.json new file mode 100644 index 000000000000..eeb6481df333 --- /dev/null +++ b/.changes/next-release/api-change-autoscaling-97567.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``autoscaling``", + "description": "Increase the length limit for VPCZoneIdentifier from 2047 to 5000" +} diff --git a/.changes/next-release/api-change-codepipeline-3890.json b/.changes/next-release/api-change-codepipeline-3890.json new file mode 100644 index 000000000000..706ecbf017dc --- /dev/null +++ b/.changes/next-release/api-change-codepipeline-3890.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``codepipeline``", + "description": "AWS CodePipeline V2 type pipelines now support stage level conditions to enable development teams to safely release changes that meet quality and compliance requirements." +} diff --git a/.changes/next-release/api-change-elasticache-51095.json b/.changes/next-release/api-change-elasticache-51095.json new file mode 100644 index 000000000000..f71401c8e490 --- /dev/null +++ b/.changes/next-release/api-change-elasticache-51095.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``elasticache``", + "description": "Doc only update for changes to deletion API." +} diff --git a/.changes/next-release/api-change-elb-94157.json b/.changes/next-release/api-change-elb-94157.json new file mode 100644 index 000000000000..2ce1a57e3f58 --- /dev/null +++ b/.changes/next-release/api-change-elb-94157.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``elb``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." +} diff --git a/.changes/next-release/api-change-events-49103.json b/.changes/next-release/api-change-events-49103.json new file mode 100644 index 000000000000..d91da191a68e --- /dev/null +++ b/.changes/next-release/api-change-events-49103.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``events``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." +} diff --git a/.changes/next-release/api-change-lexv2models-16938.json b/.changes/next-release/api-change-lexv2models-16938.json new file mode 100644 index 000000000000..59f9d48bd055 --- /dev/null +++ b/.changes/next-release/api-change-lexv2models-16938.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``lexv2-models``", + "description": "This release adds new capabilities to the AMAZON.QnAIntent: Custom prompting, Guardrails integration and ExactResponse support for Bedrock Knowledge Base." +} diff --git a/.changes/next-release/api-change-logs-21050.json b/.changes/next-release/api-change-logs-21050.json new file mode 100644 index 000000000000..df90ec2a6711 --- /dev/null +++ b/.changes/next-release/api-change-logs-21050.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``logs``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." +} diff --git a/.changes/next-release/api-change-rolesanywhere-13825.json b/.changes/next-release/api-change-rolesanywhere-13825.json new file mode 100644 index 000000000000..307dc981ff08 --- /dev/null +++ b/.changes/next-release/api-change-rolesanywhere-13825.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``rolesanywhere``", + "description": "IAM RolesAnywhere now supports custom role session name on the CreateSession. This release adds the acceptRoleSessionName option to a profile to control whether a role session name will be accepted in a session request with a given profile." +} diff --git a/.changes/next-release/api-change-tnb-87152.json b/.changes/next-release/api-change-tnb-87152.json new file mode 100644 index 000000000000..3a85572f4282 --- /dev/null +++ b/.changes/next-release/api-change-tnb-87152.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``tnb``", + "description": "This release adds Network Service Update, through which customers will be able to update their instantiated networks to a new network package. See the documentation for limitations. The release also enhances the Get network operation API to return parameter overrides used during the operation." +} diff --git a/.changes/next-release/api-change-workspaces-93341.json b/.changes/next-release/api-change-workspaces-93341.json new file mode 100644 index 000000000000..d02ca1a62fe1 --- /dev/null +++ b/.changes/next-release/api-change-workspaces-93341.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``workspaces``", + "description": "Removing multi-session as it isn't supported for pools" +} From 68dfd42c944f03dc23264b58df6eb0193e0e3733 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 30 Jul 2024 18:10:29 +0000 Subject: [PATCH 0126/1087] Bumping version to 1.33.33 --- .changes/1.33.33.json | 62 +++++++++++++++++++ .../api-change-appstream-15279.json | 5 -- .../api-change-autoscaling-97567.json | 5 -- .../api-change-codepipeline-3890.json | 5 -- .../api-change-elasticache-51095.json | 5 -- .../next-release/api-change-elb-94157.json | 5 -- .../next-release/api-change-events-49103.json | 5 -- .../api-change-lexv2models-16938.json | 5 -- .../next-release/api-change-logs-21050.json | 5 -- .../api-change-rolesanywhere-13825.json | 5 -- .../next-release/api-change-tnb-87152.json | 5 -- .../api-change-workspaces-93341.json | 5 -- .changes/next-release/bugfix-s3-90647.json | 5 -- CHANGELOG.rst | 17 +++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 18 files changed, 83 insertions(+), 64 deletions(-) create mode 100644 .changes/1.33.33.json delete mode 100644 .changes/next-release/api-change-appstream-15279.json delete mode 100644 .changes/next-release/api-change-autoscaling-97567.json delete mode 100644 .changes/next-release/api-change-codepipeline-3890.json delete mode 100644 .changes/next-release/api-change-elasticache-51095.json delete mode 100644 .changes/next-release/api-change-elb-94157.json delete mode 100644 .changes/next-release/api-change-events-49103.json delete mode 100644 .changes/next-release/api-change-lexv2models-16938.json delete mode 100644 .changes/next-release/api-change-logs-21050.json delete mode 100644 .changes/next-release/api-change-rolesanywhere-13825.json delete mode 100644 .changes/next-release/api-change-tnb-87152.json delete mode 100644 .changes/next-release/api-change-workspaces-93341.json delete mode 100644 .changes/next-release/bugfix-s3-90647.json diff --git a/.changes/1.33.33.json b/.changes/1.33.33.json new file mode 100644 index 000000000000..7a1f455181e1 --- /dev/null +++ b/.changes/1.33.33.json @@ -0,0 +1,62 @@ +[ + { + "category": "``appstream``", + "description": "Added support for Red Hat Enterprise Linux 8 on Amazon AppStream 2.0", + "type": "api-change" + }, + { + "category": "``autoscaling``", + "description": "Increase the length limit for VPCZoneIdentifier from 2047 to 5000", + "type": "api-change" + }, + { + "category": "``codepipeline``", + "description": "AWS CodePipeline V2 type pipelines now support stage level conditions to enable development teams to safely release changes that meet quality and compliance requirements.", + "type": "api-change" + }, + { + "category": "``elasticache``", + "description": "Doc only update for changes to deletion API.", + "type": "api-change" + }, + { + "category": "``elb``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing.", + "type": "api-change" + }, + { + "category": "``events``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing.", + "type": "api-change" + }, + { + "category": "``lexv2-models``", + "description": "This release adds new capabilities to the AMAZON.QnAIntent: Custom prompting, Guardrails integration and ExactResponse support for Bedrock Knowledge Base.", + "type": "api-change" + }, + { + "category": "``logs``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing.", + "type": "api-change" + }, + { + "category": "``rolesanywhere``", + "description": "IAM RolesAnywhere now supports custom role session name on the CreateSession. This release adds the acceptRoleSessionName option to a profile to control whether a role session name will be accepted in a session request with a given profile.", + "type": "api-change" + }, + { + "category": "``tnb``", + "description": "This release adds Network Service Update, through which customers will be able to update their instantiated networks to a new network package. See the documentation for limitations. The release also enhances the Get network operation API to return parameter overrides used during the operation.", + "type": "api-change" + }, + { + "category": "``workspaces``", + "description": "Removing multi-session as it isn't supported for pools", + "type": "api-change" + }, + { + "category": "``s3``", + "description": "Disable usage of mb command with S3 Express directory buckets.", + "type": "bugfix" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-appstream-15279.json b/.changes/next-release/api-change-appstream-15279.json deleted file mode 100644 index c0b4571e5658..000000000000 --- a/.changes/next-release/api-change-appstream-15279.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``appstream``", - "description": "Added support for Red Hat Enterprise Linux 8 on Amazon AppStream 2.0" -} diff --git a/.changes/next-release/api-change-autoscaling-97567.json b/.changes/next-release/api-change-autoscaling-97567.json deleted file mode 100644 index eeb6481df333..000000000000 --- a/.changes/next-release/api-change-autoscaling-97567.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``autoscaling``", - "description": "Increase the length limit for VPCZoneIdentifier from 2047 to 5000" -} diff --git a/.changes/next-release/api-change-codepipeline-3890.json b/.changes/next-release/api-change-codepipeline-3890.json deleted file mode 100644 index 706ecbf017dc..000000000000 --- a/.changes/next-release/api-change-codepipeline-3890.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``codepipeline``", - "description": "AWS CodePipeline V2 type pipelines now support stage level conditions to enable development teams to safely release changes that meet quality and compliance requirements." -} diff --git a/.changes/next-release/api-change-elasticache-51095.json b/.changes/next-release/api-change-elasticache-51095.json deleted file mode 100644 index f71401c8e490..000000000000 --- a/.changes/next-release/api-change-elasticache-51095.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``elasticache``", - "description": "Doc only update for changes to deletion API." -} diff --git a/.changes/next-release/api-change-elb-94157.json b/.changes/next-release/api-change-elb-94157.json deleted file mode 100644 index 2ce1a57e3f58..000000000000 --- a/.changes/next-release/api-change-elb-94157.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``elb``", - "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." -} diff --git a/.changes/next-release/api-change-events-49103.json b/.changes/next-release/api-change-events-49103.json deleted file mode 100644 index d91da191a68e..000000000000 --- a/.changes/next-release/api-change-events-49103.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``events``", - "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." -} diff --git a/.changes/next-release/api-change-lexv2models-16938.json b/.changes/next-release/api-change-lexv2models-16938.json deleted file mode 100644 index 59f9d48bd055..000000000000 --- a/.changes/next-release/api-change-lexv2models-16938.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``lexv2-models``", - "description": "This release adds new capabilities to the AMAZON.QnAIntent: Custom prompting, Guardrails integration and ExactResponse support for Bedrock Knowledge Base." -} diff --git a/.changes/next-release/api-change-logs-21050.json b/.changes/next-release/api-change-logs-21050.json deleted file mode 100644 index df90ec2a6711..000000000000 --- a/.changes/next-release/api-change-logs-21050.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``logs``", - "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." -} diff --git a/.changes/next-release/api-change-rolesanywhere-13825.json b/.changes/next-release/api-change-rolesanywhere-13825.json deleted file mode 100644 index 307dc981ff08..000000000000 --- a/.changes/next-release/api-change-rolesanywhere-13825.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``rolesanywhere``", - "description": "IAM RolesAnywhere now supports custom role session name on the CreateSession. This release adds the acceptRoleSessionName option to a profile to control whether a role session name will be accepted in a session request with a given profile." -} diff --git a/.changes/next-release/api-change-tnb-87152.json b/.changes/next-release/api-change-tnb-87152.json deleted file mode 100644 index 3a85572f4282..000000000000 --- a/.changes/next-release/api-change-tnb-87152.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``tnb``", - "description": "This release adds Network Service Update, through which customers will be able to update their instantiated networks to a new network package. See the documentation for limitations. The release also enhances the Get network operation API to return parameter overrides used during the operation." -} diff --git a/.changes/next-release/api-change-workspaces-93341.json b/.changes/next-release/api-change-workspaces-93341.json deleted file mode 100644 index d02ca1a62fe1..000000000000 --- a/.changes/next-release/api-change-workspaces-93341.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``workspaces``", - "description": "Removing multi-session as it isn't supported for pools" -} diff --git a/.changes/next-release/bugfix-s3-90647.json b/.changes/next-release/bugfix-s3-90647.json deleted file mode 100644 index ab53ed3b7e06..000000000000 --- a/.changes/next-release/bugfix-s3-90647.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "bugfix", - "category": "``s3``", - "description": "Disable usage of mb command with S3 Express directory buckets." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 2edf53b166d5..b888d42fbe3e 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,23 @@ CHANGELOG ========= +1.33.33 +======= + +* api-change:``appstream``: Added support for Red Hat Enterprise Linux 8 on Amazon AppStream 2.0 +* api-change:``autoscaling``: Increase the length limit for VPCZoneIdentifier from 2047 to 5000 +* api-change:``codepipeline``: AWS CodePipeline V2 type pipelines now support stage level conditions to enable development teams to safely release changes that meet quality and compliance requirements. +* api-change:``elasticache``: Doc only update for changes to deletion API. +* api-change:``elb``: Add v2 smoke tests and smithy smokeTests trait for SDK testing. +* api-change:``events``: Add v2 smoke tests and smithy smokeTests trait for SDK testing. +* api-change:``lexv2-models``: This release adds new capabilities to the AMAZON.QnAIntent: Custom prompting, Guardrails integration and ExactResponse support for Bedrock Knowledge Base. +* api-change:``logs``: Add v2 smoke tests and smithy smokeTests trait for SDK testing. +* api-change:``rolesanywhere``: IAM RolesAnywhere now supports custom role session name on the CreateSession. This release adds the acceptRoleSessionName option to a profile to control whether a role session name will be accepted in a session request with a given profile. +* api-change:``tnb``: This release adds Network Service Update, through which customers will be able to update their instantiated networks to a new network package. See the documentation for limitations. The release also enhances the Get network operation API to return parameter overrides used during the operation. +* api-change:``workspaces``: Removing multi-session as it isn't supported for pools +* bugfix:``s3``: Disable usage of mb command with S3 Express directory buckets. + + 1.33.32 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index e6bd634ff951..33a0bfabbb8d 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -17,7 +17,7 @@ """ import os -__version__ = '1.33.32' +__version__ = '1.33.33' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 63708a0a7a1d..4d061ced531d 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.33.' # The full version, including alpha/beta/rc tags. -release = '1.33.32' +release = '1.33.33' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index eba7a79b68d0..9dae25952cf9 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.34.150 + botocore==1.34.151 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 6e0649bca5bf..b0ee96a0912d 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.34.150', + 'botocore==1.34.151', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 40f85df8aa0c93ad36677497ffb99e44e0aa4369 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 1 Aug 2024 18:12:54 +0000 Subject: [PATCH 0127/1087] Update changelog based on model updates --- .changes/next-release/api-change-bedrock-68220.json | 5 +++++ .changes/next-release/api-change-controlcatalog-38618.json | 5 +++++ .changes/next-release/api-change-controltower-45038.json | 5 +++++ .changes/next-release/api-change-iam-8027.json | 5 +++++ .changes/next-release/api-change-memorydb-7592.json | 5 +++++ .changes/next-release/api-change-rds-48115.json | 5 +++++ .changes/next-release/api-change-sagemaker-69743.json | 5 +++++ .changes/next-release/api-change-ssmquicksetup-39934.json | 5 +++++ .changes/next-release/api-change-support-81533.json | 5 +++++ 9 files changed, 45 insertions(+) create mode 100644 .changes/next-release/api-change-bedrock-68220.json create mode 100644 .changes/next-release/api-change-controlcatalog-38618.json create mode 100644 .changes/next-release/api-change-controltower-45038.json create mode 100644 .changes/next-release/api-change-iam-8027.json create mode 100644 .changes/next-release/api-change-memorydb-7592.json create mode 100644 .changes/next-release/api-change-rds-48115.json create mode 100644 .changes/next-release/api-change-sagemaker-69743.json create mode 100644 .changes/next-release/api-change-ssmquicksetup-39934.json create mode 100644 .changes/next-release/api-change-support-81533.json diff --git a/.changes/next-release/api-change-bedrock-68220.json b/.changes/next-release/api-change-bedrock-68220.json new file mode 100644 index 000000000000..39297b113e21 --- /dev/null +++ b/.changes/next-release/api-change-bedrock-68220.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock``", + "description": "API and Documentation for Bedrock Model Copy feature. This feature lets you share and copy a custom model from one region to another or one account to another." +} diff --git a/.changes/next-release/api-change-controlcatalog-38618.json b/.changes/next-release/api-change-controlcatalog-38618.json new file mode 100644 index 000000000000..55a773fb4a14 --- /dev/null +++ b/.changes/next-release/api-change-controlcatalog-38618.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``controlcatalog``", + "description": "AWS Control Tower provides two new public APIs controlcatalog:ListControls and controlcatalog:GetControl under controlcatalog service namespace, which enable customers to programmatically retrieve control metadata of available controls." +} diff --git a/.changes/next-release/api-change-controltower-45038.json b/.changes/next-release/api-change-controltower-45038.json new file mode 100644 index 000000000000..e65469a3e14e --- /dev/null +++ b/.changes/next-release/api-change-controltower-45038.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``controltower``", + "description": "Updated Control Tower service documentation for controlcatalog control ARN support with existing Control Tower public APIs" +} diff --git a/.changes/next-release/api-change-iam-8027.json b/.changes/next-release/api-change-iam-8027.json new file mode 100644 index 000000000000..460f16a87db4 --- /dev/null +++ b/.changes/next-release/api-change-iam-8027.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``iam``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." +} diff --git a/.changes/next-release/api-change-memorydb-7592.json b/.changes/next-release/api-change-memorydb-7592.json new file mode 100644 index 000000000000..01d42b337e8e --- /dev/null +++ b/.changes/next-release/api-change-memorydb-7592.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``memorydb``", + "description": "Doc only update for changes to deletion API." +} diff --git a/.changes/next-release/api-change-rds-48115.json b/.changes/next-release/api-change-rds-48115.json new file mode 100644 index 000000000000..e82c2181d17f --- /dev/null +++ b/.changes/next-release/api-change-rds-48115.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``rds``", + "description": "This release adds support for specifying optional MinACU parameter in CreateDBShardGroup and ModifyDBShardGroup API. DBShardGroup response will contain MinACU if specified." +} diff --git a/.changes/next-release/api-change-sagemaker-69743.json b/.changes/next-release/api-change-sagemaker-69743.json new file mode 100644 index 000000000000..2f2b7d0ca191 --- /dev/null +++ b/.changes/next-release/api-change-sagemaker-69743.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``sagemaker``", + "description": "This release adds support for Amazon EMR Serverless applications in SageMaker Studio for running data processing jobs." +} diff --git a/.changes/next-release/api-change-ssmquicksetup-39934.json b/.changes/next-release/api-change-ssmquicksetup-39934.json new file mode 100644 index 000000000000..b6c7e9e38929 --- /dev/null +++ b/.changes/next-release/api-change-ssmquicksetup-39934.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ssm-quicksetup``", + "description": "This release adds API support for the QuickSetup feature of AWS Systems Manager" +} diff --git a/.changes/next-release/api-change-support-81533.json b/.changes/next-release/api-change-support-81533.json new file mode 100644 index 000000000000..becf3952939c --- /dev/null +++ b/.changes/next-release/api-change-support-81533.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``support``", + "description": "Doc only updates to CaseDetails" +} From e9fe6d4a18609eb0dd6515578938e658dfc26db7 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 1 Aug 2024 18:14:22 +0000 Subject: [PATCH 0128/1087] Bumping version to 1.33.34 --- .changes/1.33.34.json | 47 +++++++++++++++++++ .../api-change-bedrock-68220.json | 5 -- .../api-change-controlcatalog-38618.json | 5 -- .../api-change-controltower-45038.json | 5 -- .../next-release/api-change-iam-8027.json | 5 -- .../api-change-memorydb-7592.json | 5 -- .../next-release/api-change-rds-48115.json | 5 -- .../api-change-sagemaker-69743.json | 5 -- .../api-change-ssmquicksetup-39934.json | 5 -- .../api-change-support-81533.json | 5 -- CHANGELOG.rst | 14 ++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 15 files changed, 65 insertions(+), 49 deletions(-) create mode 100644 .changes/1.33.34.json delete mode 100644 .changes/next-release/api-change-bedrock-68220.json delete mode 100644 .changes/next-release/api-change-controlcatalog-38618.json delete mode 100644 .changes/next-release/api-change-controltower-45038.json delete mode 100644 .changes/next-release/api-change-iam-8027.json delete mode 100644 .changes/next-release/api-change-memorydb-7592.json delete mode 100644 .changes/next-release/api-change-rds-48115.json delete mode 100644 .changes/next-release/api-change-sagemaker-69743.json delete mode 100644 .changes/next-release/api-change-ssmquicksetup-39934.json delete mode 100644 .changes/next-release/api-change-support-81533.json diff --git a/.changes/1.33.34.json b/.changes/1.33.34.json new file mode 100644 index 000000000000..5b8075bf5739 --- /dev/null +++ b/.changes/1.33.34.json @@ -0,0 +1,47 @@ +[ + { + "category": "``bedrock``", + "description": "API and Documentation for Bedrock Model Copy feature. This feature lets you share and copy a custom model from one region to another or one account to another.", + "type": "api-change" + }, + { + "category": "``controlcatalog``", + "description": "AWS Control Tower provides two new public APIs controlcatalog:ListControls and controlcatalog:GetControl under controlcatalog service namespace, which enable customers to programmatically retrieve control metadata of available controls.", + "type": "api-change" + }, + { + "category": "``controltower``", + "description": "Updated Control Tower service documentation for controlcatalog control ARN support with existing Control Tower public APIs", + "type": "api-change" + }, + { + "category": "``iam``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing.", + "type": "api-change" + }, + { + "category": "``memorydb``", + "description": "Doc only update for changes to deletion API.", + "type": "api-change" + }, + { + "category": "``rds``", + "description": "This release adds support for specifying optional MinACU parameter in CreateDBShardGroup and ModifyDBShardGroup API. DBShardGroup response will contain MinACU if specified.", + "type": "api-change" + }, + { + "category": "``sagemaker``", + "description": "This release adds support for Amazon EMR Serverless applications in SageMaker Studio for running data processing jobs.", + "type": "api-change" + }, + { + "category": "``ssm-quicksetup``", + "description": "This release adds API support for the QuickSetup feature of AWS Systems Manager", + "type": "api-change" + }, + { + "category": "``support``", + "description": "Doc only updates to CaseDetails", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-bedrock-68220.json b/.changes/next-release/api-change-bedrock-68220.json deleted file mode 100644 index 39297b113e21..000000000000 --- a/.changes/next-release/api-change-bedrock-68220.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock``", - "description": "API and Documentation for Bedrock Model Copy feature. This feature lets you share and copy a custom model from one region to another or one account to another." -} diff --git a/.changes/next-release/api-change-controlcatalog-38618.json b/.changes/next-release/api-change-controlcatalog-38618.json deleted file mode 100644 index 55a773fb4a14..000000000000 --- a/.changes/next-release/api-change-controlcatalog-38618.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``controlcatalog``", - "description": "AWS Control Tower provides two new public APIs controlcatalog:ListControls and controlcatalog:GetControl under controlcatalog service namespace, which enable customers to programmatically retrieve control metadata of available controls." -} diff --git a/.changes/next-release/api-change-controltower-45038.json b/.changes/next-release/api-change-controltower-45038.json deleted file mode 100644 index e65469a3e14e..000000000000 --- a/.changes/next-release/api-change-controltower-45038.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``controltower``", - "description": "Updated Control Tower service documentation for controlcatalog control ARN support with existing Control Tower public APIs" -} diff --git a/.changes/next-release/api-change-iam-8027.json b/.changes/next-release/api-change-iam-8027.json deleted file mode 100644 index 460f16a87db4..000000000000 --- a/.changes/next-release/api-change-iam-8027.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``iam``", - "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." -} diff --git a/.changes/next-release/api-change-memorydb-7592.json b/.changes/next-release/api-change-memorydb-7592.json deleted file mode 100644 index 01d42b337e8e..000000000000 --- a/.changes/next-release/api-change-memorydb-7592.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``memorydb``", - "description": "Doc only update for changes to deletion API." -} diff --git a/.changes/next-release/api-change-rds-48115.json b/.changes/next-release/api-change-rds-48115.json deleted file mode 100644 index e82c2181d17f..000000000000 --- a/.changes/next-release/api-change-rds-48115.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``rds``", - "description": "This release adds support for specifying optional MinACU parameter in CreateDBShardGroup and ModifyDBShardGroup API. DBShardGroup response will contain MinACU if specified." -} diff --git a/.changes/next-release/api-change-sagemaker-69743.json b/.changes/next-release/api-change-sagemaker-69743.json deleted file mode 100644 index 2f2b7d0ca191..000000000000 --- a/.changes/next-release/api-change-sagemaker-69743.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``sagemaker``", - "description": "This release adds support for Amazon EMR Serverless applications in SageMaker Studio for running data processing jobs." -} diff --git a/.changes/next-release/api-change-ssmquicksetup-39934.json b/.changes/next-release/api-change-ssmquicksetup-39934.json deleted file mode 100644 index b6c7e9e38929..000000000000 --- a/.changes/next-release/api-change-ssmquicksetup-39934.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ssm-quicksetup``", - "description": "This release adds API support for the QuickSetup feature of AWS Systems Manager" -} diff --git a/.changes/next-release/api-change-support-81533.json b/.changes/next-release/api-change-support-81533.json deleted file mode 100644 index becf3952939c..000000000000 --- a/.changes/next-release/api-change-support-81533.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``support``", - "description": "Doc only updates to CaseDetails" -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index b888d42fbe3e..54a0488b4273 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,20 @@ CHANGELOG ========= +1.33.34 +======= + +* api-change:``bedrock``: API and Documentation for Bedrock Model Copy feature. This feature lets you share and copy a custom model from one region to another or one account to another. +* api-change:``controlcatalog``: AWS Control Tower provides two new public APIs controlcatalog:ListControls and controlcatalog:GetControl under controlcatalog service namespace, which enable customers to programmatically retrieve control metadata of available controls. +* api-change:``controltower``: Updated Control Tower service documentation for controlcatalog control ARN support with existing Control Tower public APIs +* api-change:``iam``: Add v2 smoke tests and smithy smokeTests trait for SDK testing. +* api-change:``memorydb``: Doc only update for changes to deletion API. +* api-change:``rds``: This release adds support for specifying optional MinACU parameter in CreateDBShardGroup and ModifyDBShardGroup API. DBShardGroup response will contain MinACU if specified. +* api-change:``sagemaker``: This release adds support for Amazon EMR Serverless applications in SageMaker Studio for running data processing jobs. +* api-change:``ssm-quicksetup``: This release adds API support for the QuickSetup feature of AWS Systems Manager +* api-change:``support``: Doc only updates to CaseDetails + + 1.33.33 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 33a0bfabbb8d..358d283335b9 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -17,7 +17,7 @@ """ import os -__version__ = '1.33.33' +__version__ = '1.33.34' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 4d061ced531d..8823169254aa 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.33.' # The full version, including alpha/beta/rc tags. -release = '1.33.33' +release = '1.33.34' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 9dae25952cf9..476ad819f336 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.34.151 + botocore==1.34.152 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index b0ee96a0912d..ae9774fae9d8 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.34.151', + 'botocore==1.34.152', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From c38fd3809980fdca78ffe501e7e66b06136993b6 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 2 Aug 2024 21:36:10 +0000 Subject: [PATCH 0129/1087] Update changelog based on model updates --- .changes/next-release/api-change-cloudwatch-13556.json | 5 +++++ .changes/next-release/api-change-kinesis-22149.json | 5 +++++ .changes/next-release/api-change-resiliencehub-43179.json | 5 +++++ .changes/next-release/api-change-route53-69348.json | 5 +++++ .changes/next-release/api-change-wafregional-65847.json | 5 +++++ 5 files changed, 25 insertions(+) create mode 100644 .changes/next-release/api-change-cloudwatch-13556.json create mode 100644 .changes/next-release/api-change-kinesis-22149.json create mode 100644 .changes/next-release/api-change-resiliencehub-43179.json create mode 100644 .changes/next-release/api-change-route53-69348.json create mode 100644 .changes/next-release/api-change-wafregional-65847.json diff --git a/.changes/next-release/api-change-cloudwatch-13556.json b/.changes/next-release/api-change-cloudwatch-13556.json new file mode 100644 index 000000000000..698d9990efea --- /dev/null +++ b/.changes/next-release/api-change-cloudwatch-13556.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``cloudwatch``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." +} diff --git a/.changes/next-release/api-change-kinesis-22149.json b/.changes/next-release/api-change-kinesis-22149.json new file mode 100644 index 000000000000..2e6d7446053f --- /dev/null +++ b/.changes/next-release/api-change-kinesis-22149.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``kinesis``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." +} diff --git a/.changes/next-release/api-change-resiliencehub-43179.json b/.changes/next-release/api-change-resiliencehub-43179.json new file mode 100644 index 000000000000..266438142f20 --- /dev/null +++ b/.changes/next-release/api-change-resiliencehub-43179.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``resiliencehub``", + "description": "Customers are presented with the grouping recommendations and can determine if the recommendations are accurate and apply to their case. This feature simplifies onboarding by organizing resources into appropriate AppComponents." +} diff --git a/.changes/next-release/api-change-route53-69348.json b/.changes/next-release/api-change-route53-69348.json new file mode 100644 index 000000000000..c11f422f2763 --- /dev/null +++ b/.changes/next-release/api-change-route53-69348.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``route53``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." +} diff --git a/.changes/next-release/api-change-wafregional-65847.json b/.changes/next-release/api-change-wafregional-65847.json new file mode 100644 index 000000000000..9fd1531e3301 --- /dev/null +++ b/.changes/next-release/api-change-wafregional-65847.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``waf-regional``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." +} From 8d69ea7499231c1e72526d2f60079f19839b7a6a Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 2 Aug 2024 21:37:34 +0000 Subject: [PATCH 0130/1087] Bumping version to 1.33.35 --- .changes/1.33.35.json | 27 +++++++++++++++++++ .../api-change-cloudwatch-13556.json | 5 ---- .../api-change-kinesis-22149.json | 5 ---- .../api-change-resiliencehub-43179.json | 5 ---- .../api-change-route53-69348.json | 5 ---- .../api-change-wafregional-65847.json | 5 ---- CHANGELOG.rst | 10 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 11 files changed, 41 insertions(+), 29 deletions(-) create mode 100644 .changes/1.33.35.json delete mode 100644 .changes/next-release/api-change-cloudwatch-13556.json delete mode 100644 .changes/next-release/api-change-kinesis-22149.json delete mode 100644 .changes/next-release/api-change-resiliencehub-43179.json delete mode 100644 .changes/next-release/api-change-route53-69348.json delete mode 100644 .changes/next-release/api-change-wafregional-65847.json diff --git a/.changes/1.33.35.json b/.changes/1.33.35.json new file mode 100644 index 000000000000..232e845ab014 --- /dev/null +++ b/.changes/1.33.35.json @@ -0,0 +1,27 @@ +[ + { + "category": "``cloudwatch``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing.", + "type": "api-change" + }, + { + "category": "``kinesis``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing.", + "type": "api-change" + }, + { + "category": "``resiliencehub``", + "description": "Customers are presented with the grouping recommendations and can determine if the recommendations are accurate and apply to their case. This feature simplifies onboarding by organizing resources into appropriate AppComponents.", + "type": "api-change" + }, + { + "category": "``route53``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing.", + "type": "api-change" + }, + { + "category": "``waf-regional``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-cloudwatch-13556.json b/.changes/next-release/api-change-cloudwatch-13556.json deleted file mode 100644 index 698d9990efea..000000000000 --- a/.changes/next-release/api-change-cloudwatch-13556.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``cloudwatch``", - "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." -} diff --git a/.changes/next-release/api-change-kinesis-22149.json b/.changes/next-release/api-change-kinesis-22149.json deleted file mode 100644 index 2e6d7446053f..000000000000 --- a/.changes/next-release/api-change-kinesis-22149.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``kinesis``", - "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." -} diff --git a/.changes/next-release/api-change-resiliencehub-43179.json b/.changes/next-release/api-change-resiliencehub-43179.json deleted file mode 100644 index 266438142f20..000000000000 --- a/.changes/next-release/api-change-resiliencehub-43179.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``resiliencehub``", - "description": "Customers are presented with the grouping recommendations and can determine if the recommendations are accurate and apply to their case. This feature simplifies onboarding by organizing resources into appropriate AppComponents." -} diff --git a/.changes/next-release/api-change-route53-69348.json b/.changes/next-release/api-change-route53-69348.json deleted file mode 100644 index c11f422f2763..000000000000 --- a/.changes/next-release/api-change-route53-69348.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``route53``", - "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." -} diff --git a/.changes/next-release/api-change-wafregional-65847.json b/.changes/next-release/api-change-wafregional-65847.json deleted file mode 100644 index 9fd1531e3301..000000000000 --- a/.changes/next-release/api-change-wafregional-65847.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``waf-regional``", - "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 54a0488b4273..ca80ab804051 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,16 @@ CHANGELOG ========= +1.33.35 +======= + +* api-change:``cloudwatch``: Add v2 smoke tests and smithy smokeTests trait for SDK testing. +* api-change:``kinesis``: Add v2 smoke tests and smithy smokeTests trait for SDK testing. +* api-change:``resiliencehub``: Customers are presented with the grouping recommendations and can determine if the recommendations are accurate and apply to their case. This feature simplifies onboarding by organizing resources into appropriate AppComponents. +* api-change:``route53``: Add v2 smoke tests and smithy smokeTests trait for SDK testing. +* api-change:``waf-regional``: Add v2 smoke tests and smithy smokeTests trait for SDK testing. + + 1.33.34 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 358d283335b9..054bc1662988 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -17,7 +17,7 @@ """ import os -__version__ = '1.33.34' +__version__ = '1.33.35' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 8823169254aa..a2d5e9dd7f9f 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.33.' # The full version, including alpha/beta/rc tags. -release = '1.33.34' +release = '1.33.35' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 476ad819f336..888e3f80a1d2 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.34.152 + botocore==1.34.153 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index ae9774fae9d8..8af08d51b964 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.34.152', + 'botocore==1.34.153', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 46b20795d29c673813c7d5840045b55c62c94030 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 5 Aug 2024 18:07:37 +0000 Subject: [PATCH 0131/1087] Update changelog based on model updates --- .changes/next-release/api-change-datazone-72143.json | 5 +++++ .changes/next-release/api-change-ecr-3903.json | 5 +++++ .../api-change-kinesisvideowebrtcstorage-80647.json | 5 +++++ .changes/next-release/api-change-pi-50767.json | 5 +++++ 4 files changed, 20 insertions(+) create mode 100644 .changes/next-release/api-change-datazone-72143.json create mode 100644 .changes/next-release/api-change-ecr-3903.json create mode 100644 .changes/next-release/api-change-kinesisvideowebrtcstorage-80647.json create mode 100644 .changes/next-release/api-change-pi-50767.json diff --git a/.changes/next-release/api-change-datazone-72143.json b/.changes/next-release/api-change-datazone-72143.json new file mode 100644 index 000000000000..fe2e4f92f0f3 --- /dev/null +++ b/.changes/next-release/api-change-datazone-72143.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``datazone``", + "description": "This releases Data Product feature. Data Products allow grouping data assets into cohesive, self-contained units for ease of publishing for data producers, and ease of finding and accessing for data consumers." +} diff --git a/.changes/next-release/api-change-ecr-3903.json b/.changes/next-release/api-change-ecr-3903.json new file mode 100644 index 000000000000..2c4fbfbd3b0b --- /dev/null +++ b/.changes/next-release/api-change-ecr-3903.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ecr``", + "description": "Released two new APIs along with documentation updates. The GetAccountSetting API is used to view the current basic scan type version setting for your registry, while the PutAccountSetting API is used to update the basic scan type version for your registry." +} diff --git a/.changes/next-release/api-change-kinesisvideowebrtcstorage-80647.json b/.changes/next-release/api-change-kinesisvideowebrtcstorage-80647.json new file mode 100644 index 000000000000..c0e1b55beed4 --- /dev/null +++ b/.changes/next-release/api-change-kinesisvideowebrtcstorage-80647.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``kinesis-video-webrtc-storage``", + "description": "Add JoinStorageSessionAsViewer API" +} diff --git a/.changes/next-release/api-change-pi-50767.json b/.changes/next-release/api-change-pi-50767.json new file mode 100644 index 000000000000..7f052fb16f19 --- /dev/null +++ b/.changes/next-release/api-change-pi-50767.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``pi``", + "description": "Added a description for the Dimension db.sql.tokenized_id on the DimensionGroup data type page." +} From 571d584fd3b24241647a2e918f8c671c2fd97428 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 5 Aug 2024 18:09:02 +0000 Subject: [PATCH 0132/1087] Bumping version to 1.33.36 --- .changes/1.33.36.json | 22 +++++++++++++++++++ .../api-change-datazone-72143.json | 5 ----- .../next-release/api-change-ecr-3903.json | 5 ----- ...hange-kinesisvideowebrtcstorage-80647.json | 5 ----- .../next-release/api-change-pi-50767.json | 5 ----- CHANGELOG.rst | 9 ++++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 10 files changed, 35 insertions(+), 24 deletions(-) create mode 100644 .changes/1.33.36.json delete mode 100644 .changes/next-release/api-change-datazone-72143.json delete mode 100644 .changes/next-release/api-change-ecr-3903.json delete mode 100644 .changes/next-release/api-change-kinesisvideowebrtcstorage-80647.json delete mode 100644 .changes/next-release/api-change-pi-50767.json diff --git a/.changes/1.33.36.json b/.changes/1.33.36.json new file mode 100644 index 000000000000..e639f03e1e0d --- /dev/null +++ b/.changes/1.33.36.json @@ -0,0 +1,22 @@ +[ + { + "category": "``datazone``", + "description": "This releases Data Product feature. Data Products allow grouping data assets into cohesive, self-contained units for ease of publishing for data producers, and ease of finding and accessing for data consumers.", + "type": "api-change" + }, + { + "category": "``ecr``", + "description": "Released two new APIs along with documentation updates. The GetAccountSetting API is used to view the current basic scan type version setting for your registry, while the PutAccountSetting API is used to update the basic scan type version for your registry.", + "type": "api-change" + }, + { + "category": "``kinesis-video-webrtc-storage``", + "description": "Add JoinStorageSessionAsViewer API", + "type": "api-change" + }, + { + "category": "``pi``", + "description": "Added a description for the Dimension db.sql.tokenized_id on the DimensionGroup data type page.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-datazone-72143.json b/.changes/next-release/api-change-datazone-72143.json deleted file mode 100644 index fe2e4f92f0f3..000000000000 --- a/.changes/next-release/api-change-datazone-72143.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``datazone``", - "description": "This releases Data Product feature. Data Products allow grouping data assets into cohesive, self-contained units for ease of publishing for data producers, and ease of finding and accessing for data consumers." -} diff --git a/.changes/next-release/api-change-ecr-3903.json b/.changes/next-release/api-change-ecr-3903.json deleted file mode 100644 index 2c4fbfbd3b0b..000000000000 --- a/.changes/next-release/api-change-ecr-3903.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ecr``", - "description": "Released two new APIs along with documentation updates. The GetAccountSetting API is used to view the current basic scan type version setting for your registry, while the PutAccountSetting API is used to update the basic scan type version for your registry." -} diff --git a/.changes/next-release/api-change-kinesisvideowebrtcstorage-80647.json b/.changes/next-release/api-change-kinesisvideowebrtcstorage-80647.json deleted file mode 100644 index c0e1b55beed4..000000000000 --- a/.changes/next-release/api-change-kinesisvideowebrtcstorage-80647.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``kinesis-video-webrtc-storage``", - "description": "Add JoinStorageSessionAsViewer API" -} diff --git a/.changes/next-release/api-change-pi-50767.json b/.changes/next-release/api-change-pi-50767.json deleted file mode 100644 index 7f052fb16f19..000000000000 --- a/.changes/next-release/api-change-pi-50767.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``pi``", - "description": "Added a description for the Dimension db.sql.tokenized_id on the DimensionGroup data type page." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index ca80ab804051..70c8bc014145 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,15 @@ CHANGELOG ========= +1.33.36 +======= + +* api-change:``datazone``: This releases Data Product feature. Data Products allow grouping data assets into cohesive, self-contained units for ease of publishing for data producers, and ease of finding and accessing for data consumers. +* api-change:``ecr``: Released two new APIs along with documentation updates. The GetAccountSetting API is used to view the current basic scan type version setting for your registry, while the PutAccountSetting API is used to update the basic scan type version for your registry. +* api-change:``kinesis-video-webrtc-storage``: Add JoinStorageSessionAsViewer API +* api-change:``pi``: Added a description for the Dimension db.sql.tokenized_id on the DimensionGroup data type page. + + 1.33.35 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 054bc1662988..7c6d10415086 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -17,7 +17,7 @@ """ import os -__version__ = '1.33.35' +__version__ = '1.33.36' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index a2d5e9dd7f9f..930423288486 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.33.' # The full version, including alpha/beta/rc tags. -release = '1.33.35' +release = '1.33.36' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 888e3f80a1d2..d1fb8bb9526e 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.34.153 + botocore==1.34.154 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 8af08d51b964..bb198df4c15e 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.34.153', + 'botocore==1.34.154', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 85aa184a152977eeb770d23375dbec55d2391df1 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 6 Aug 2024 18:06:05 +0000 Subject: [PATCH 0133/1087] Update changelog based on model updates --- .../next-release/api-change-bedrockagentruntime-17356.json | 5 +++++ .changes/next-release/api-change-cognitoidp-71243.json | 5 +++++ .../next-release/api-change-costoptimizationhub-70657.json | 5 +++++ .changes/next-release/api-change-workspaces-46459.json | 5 +++++ 4 files changed, 20 insertions(+) create mode 100644 .changes/next-release/api-change-bedrockagentruntime-17356.json create mode 100644 .changes/next-release/api-change-cognitoidp-71243.json create mode 100644 .changes/next-release/api-change-costoptimizationhub-70657.json create mode 100644 .changes/next-release/api-change-workspaces-46459.json diff --git a/.changes/next-release/api-change-bedrockagentruntime-17356.json b/.changes/next-release/api-change-bedrockagentruntime-17356.json new file mode 100644 index 000000000000..056d7665112e --- /dev/null +++ b/.changes/next-release/api-change-bedrockagentruntime-17356.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-agent-runtime``", + "description": "Introduce model invocation output traces for orchestration traces, which contain the model's raw response and usage." +} diff --git a/.changes/next-release/api-change-cognitoidp-71243.json b/.changes/next-release/api-change-cognitoidp-71243.json new file mode 100644 index 000000000000..cea36c3b1c82 --- /dev/null +++ b/.changes/next-release/api-change-cognitoidp-71243.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``cognito-idp``", + "description": "Advanced security feature updates to include password history and log export for Cognito user pools." +} diff --git a/.changes/next-release/api-change-costoptimizationhub-70657.json b/.changes/next-release/api-change-costoptimizationhub-70657.json new file mode 100644 index 000000000000..ca10955ecfc5 --- /dev/null +++ b/.changes/next-release/api-change-costoptimizationhub-70657.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``cost-optimization-hub``", + "description": "This release adds savings percentage support to the ListRecommendationSummaries API." +} diff --git a/.changes/next-release/api-change-workspaces-46459.json b/.changes/next-release/api-change-workspaces-46459.json new file mode 100644 index 000000000000..c10e45cd52a3 --- /dev/null +++ b/.changes/next-release/api-change-workspaces-46459.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``workspaces``", + "description": "Added support for BYOL_GRAPHICS_G4DN_WSP IngestionProcess" +} From aa93d3c16c16135f3112615270d45f28307974d7 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 6 Aug 2024 18:07:27 +0000 Subject: [PATCH 0134/1087] Bumping version to 1.33.37 --- .changes/1.33.37.json | 22 +++++++++++++++++++ .../api-change-bedrockagentruntime-17356.json | 5 ----- .../api-change-cognitoidp-71243.json | 5 ----- .../api-change-costoptimizationhub-70657.json | 5 ----- .../api-change-workspaces-46459.json | 5 ----- CHANGELOG.rst | 9 ++++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 10 files changed, 35 insertions(+), 24 deletions(-) create mode 100644 .changes/1.33.37.json delete mode 100644 .changes/next-release/api-change-bedrockagentruntime-17356.json delete mode 100644 .changes/next-release/api-change-cognitoidp-71243.json delete mode 100644 .changes/next-release/api-change-costoptimizationhub-70657.json delete mode 100644 .changes/next-release/api-change-workspaces-46459.json diff --git a/.changes/1.33.37.json b/.changes/1.33.37.json new file mode 100644 index 000000000000..dafb64b9b144 --- /dev/null +++ b/.changes/1.33.37.json @@ -0,0 +1,22 @@ +[ + { + "category": "``bedrock-agent-runtime``", + "description": "Introduce model invocation output traces for orchestration traces, which contain the model's raw response and usage.", + "type": "api-change" + }, + { + "category": "``cognito-idp``", + "description": "Advanced security feature updates to include password history and log export for Cognito user pools.", + "type": "api-change" + }, + { + "category": "``cost-optimization-hub``", + "description": "This release adds savings percentage support to the ListRecommendationSummaries API.", + "type": "api-change" + }, + { + "category": "``workspaces``", + "description": "Added support for BYOL_GRAPHICS_G4DN_WSP IngestionProcess", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-bedrockagentruntime-17356.json b/.changes/next-release/api-change-bedrockagentruntime-17356.json deleted file mode 100644 index 056d7665112e..000000000000 --- a/.changes/next-release/api-change-bedrockagentruntime-17356.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-agent-runtime``", - "description": "Introduce model invocation output traces for orchestration traces, which contain the model's raw response and usage." -} diff --git a/.changes/next-release/api-change-cognitoidp-71243.json b/.changes/next-release/api-change-cognitoidp-71243.json deleted file mode 100644 index cea36c3b1c82..000000000000 --- a/.changes/next-release/api-change-cognitoidp-71243.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``cognito-idp``", - "description": "Advanced security feature updates to include password history and log export for Cognito user pools." -} diff --git a/.changes/next-release/api-change-costoptimizationhub-70657.json b/.changes/next-release/api-change-costoptimizationhub-70657.json deleted file mode 100644 index ca10955ecfc5..000000000000 --- a/.changes/next-release/api-change-costoptimizationhub-70657.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``cost-optimization-hub``", - "description": "This release adds savings percentage support to the ListRecommendationSummaries API." -} diff --git a/.changes/next-release/api-change-workspaces-46459.json b/.changes/next-release/api-change-workspaces-46459.json deleted file mode 100644 index c10e45cd52a3..000000000000 --- a/.changes/next-release/api-change-workspaces-46459.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``workspaces``", - "description": "Added support for BYOL_GRAPHICS_G4DN_WSP IngestionProcess" -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 70c8bc014145..461a6bc51606 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,15 @@ CHANGELOG ========= +1.33.37 +======= + +* api-change:``bedrock-agent-runtime``: Introduce model invocation output traces for orchestration traces, which contain the model's raw response and usage. +* api-change:``cognito-idp``: Advanced security feature updates to include password history and log export for Cognito user pools. +* api-change:``cost-optimization-hub``: This release adds savings percentage support to the ListRecommendationSummaries API. +* api-change:``workspaces``: Added support for BYOL_GRAPHICS_G4DN_WSP IngestionProcess + + 1.33.36 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 7c6d10415086..4db72b310ee4 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -17,7 +17,7 @@ """ import os -__version__ = '1.33.36' +__version__ = '1.33.37' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 930423288486..15d26e9b581e 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.33.' # The full version, including alpha/beta/rc tags. -release = '1.33.36' +release = '1.33.37' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index d1fb8bb9526e..5af877efdb0e 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.34.154 + botocore==1.34.155 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index bb198df4c15e..cc17c0ff8125 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.34.154', + 'botocore==1.34.155', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 7ac88313c0d16fcdf060ae8afe1cae665d9ac5a9 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 7 Aug 2024 18:05:20 +0000 Subject: [PATCH 0135/1087] Update changelog based on model updates --- .changes/next-release/api-change-appintegrations-73006.json | 5 +++++ .changes/next-release/api-change-glue-1111.json | 5 +++++ 2 files changed, 10 insertions(+) create mode 100644 .changes/next-release/api-change-appintegrations-73006.json create mode 100644 .changes/next-release/api-change-glue-1111.json diff --git a/.changes/next-release/api-change-appintegrations-73006.json b/.changes/next-release/api-change-appintegrations-73006.json new file mode 100644 index 000000000000..d7b8c5db6958 --- /dev/null +++ b/.changes/next-release/api-change-appintegrations-73006.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``appintegrations``", + "description": "Updated CreateDataIntegration and CreateDataIntegrationAssociation API to support bulk data export from Amazon Connect Customer Profiles to the customer S3 bucket." +} diff --git a/.changes/next-release/api-change-glue-1111.json b/.changes/next-release/api-change-glue-1111.json new file mode 100644 index 000000000000..1903a5e801a9 --- /dev/null +++ b/.changes/next-release/api-change-glue-1111.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``glue``", + "description": "Introducing AWS Glue Data Quality anomaly detection, a new functionality that uses ML-based solutions to detect data anomalies users have not explicitly defined rules for." +} From 24d8673e0cf1cee0607779e69d46f8d53bfc2685 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 7 Aug 2024 18:06:30 +0000 Subject: [PATCH 0136/1087] Bumping version to 1.33.38 --- .changes/1.33.38.json | 12 ++++++++++++ .../api-change-appintegrations-73006.json | 5 ----- .changes/next-release/api-change-glue-1111.json | 5 ----- CHANGELOG.rst | 7 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 8 files changed, 23 insertions(+), 14 deletions(-) create mode 100644 .changes/1.33.38.json delete mode 100644 .changes/next-release/api-change-appintegrations-73006.json delete mode 100644 .changes/next-release/api-change-glue-1111.json diff --git a/.changes/1.33.38.json b/.changes/1.33.38.json new file mode 100644 index 000000000000..a9ca9e241a9d --- /dev/null +++ b/.changes/1.33.38.json @@ -0,0 +1,12 @@ +[ + { + "category": "``appintegrations``", + "description": "Updated CreateDataIntegration and CreateDataIntegrationAssociation API to support bulk data export from Amazon Connect Customer Profiles to the customer S3 bucket.", + "type": "api-change" + }, + { + "category": "``glue``", + "description": "Introducing AWS Glue Data Quality anomaly detection, a new functionality that uses ML-based solutions to detect data anomalies users have not explicitly defined rules for.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-appintegrations-73006.json b/.changes/next-release/api-change-appintegrations-73006.json deleted file mode 100644 index d7b8c5db6958..000000000000 --- a/.changes/next-release/api-change-appintegrations-73006.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``appintegrations``", - "description": "Updated CreateDataIntegration and CreateDataIntegrationAssociation API to support bulk data export from Amazon Connect Customer Profiles to the customer S3 bucket." -} diff --git a/.changes/next-release/api-change-glue-1111.json b/.changes/next-release/api-change-glue-1111.json deleted file mode 100644 index 1903a5e801a9..000000000000 --- a/.changes/next-release/api-change-glue-1111.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``glue``", - "description": "Introducing AWS Glue Data Quality anomaly detection, a new functionality that uses ML-based solutions to detect data anomalies users have not explicitly defined rules for." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 461a6bc51606..7e10a7d7f874 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,13 @@ CHANGELOG ========= +1.33.38 +======= + +* api-change:``appintegrations``: Updated CreateDataIntegration and CreateDataIntegrationAssociation API to support bulk data export from Amazon Connect Customer Profiles to the customer S3 bucket. +* api-change:``glue``: Introducing AWS Glue Data Quality anomaly detection, a new functionality that uses ML-based solutions to detect data anomalies users have not explicitly defined rules for. + + 1.33.37 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 4db72b310ee4..c9c98360cc9f 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -17,7 +17,7 @@ """ import os -__version__ = '1.33.37' +__version__ = '1.33.38' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 15d26e9b581e..dc093cf3556d 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.33.' # The full version, including alpha/beta/rc tags. -release = '1.33.37' +release = '1.33.38' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 5af877efdb0e..16fde3bcd7d0 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.34.155 + botocore==1.34.156 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index cc17c0ff8125..79754db8cc77 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.34.155', + 'botocore==1.34.156', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 4421872dcedc185f7b9cec994bcc36bcd0601f93 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 8 Aug 2024 18:04:23 +0000 Subject: [PATCH 0137/1087] Update changelog based on model updates --- .changes/next-release/api-change-cognitoidp-4958.json | 5 +++++ .changes/next-release/api-change-connect-27906.json | 5 +++++ .changes/next-release/api-change-ec2-60777.json | 5 +++++ .changes/next-release/api-change-glue-39579.json | 5 +++++ 4 files changed, 20 insertions(+) create mode 100644 .changes/next-release/api-change-cognitoidp-4958.json create mode 100644 .changes/next-release/api-change-connect-27906.json create mode 100644 .changes/next-release/api-change-ec2-60777.json create mode 100644 .changes/next-release/api-change-glue-39579.json diff --git a/.changes/next-release/api-change-cognitoidp-4958.json b/.changes/next-release/api-change-cognitoidp-4958.json new file mode 100644 index 000000000000..81b5b76c12d1 --- /dev/null +++ b/.changes/next-release/api-change-cognitoidp-4958.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``cognito-idp``", + "description": "Added support for threat protection for custom authentication in Amazon Cognito user pools." +} diff --git a/.changes/next-release/api-change-connect-27906.json b/.changes/next-release/api-change-connect-27906.json new file mode 100644 index 000000000000..cd4adc7a2b13 --- /dev/null +++ b/.changes/next-release/api-change-connect-27906.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``connect``", + "description": "This release fixes a regression in number of access control tags that are allowed to be added to a security profile in Amazon Connect. You can now add up to four access control tags on a single security profile." +} diff --git a/.changes/next-release/api-change-ec2-60777.json b/.changes/next-release/api-change-ec2-60777.json new file mode 100644 index 000000000000..208355d81827 --- /dev/null +++ b/.changes/next-release/api-change-ec2-60777.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ec2``", + "description": "Launch of private IPv6 addressing for VPCs and Subnets. VPC IPAM supports the planning and monitoring of private IPv6 usage." +} diff --git a/.changes/next-release/api-change-glue-39579.json b/.changes/next-release/api-change-glue-39579.json new file mode 100644 index 000000000000..717cf9e9e9ee --- /dev/null +++ b/.changes/next-release/api-change-glue-39579.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``glue``", + "description": "This release adds support to retrieve the validation status when creating or updating Glue Data Catalog Views. Also added is support for BasicCatalogTarget partition keys." +} From e111704e589176adfca5e0cc08696cbb4a05386b Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 8 Aug 2024 18:05:34 +0000 Subject: [PATCH 0138/1087] Bumping version to 1.33.39 --- .changes/1.33.39.json | 22 +++++++++++++++++++ .../api-change-cognitoidp-4958.json | 5 ----- .../api-change-connect-27906.json | 5 ----- .../next-release/api-change-ec2-60777.json | 5 ----- .../next-release/api-change-glue-39579.json | 5 ----- CHANGELOG.rst | 9 ++++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 10 files changed, 35 insertions(+), 24 deletions(-) create mode 100644 .changes/1.33.39.json delete mode 100644 .changes/next-release/api-change-cognitoidp-4958.json delete mode 100644 .changes/next-release/api-change-connect-27906.json delete mode 100644 .changes/next-release/api-change-ec2-60777.json delete mode 100644 .changes/next-release/api-change-glue-39579.json diff --git a/.changes/1.33.39.json b/.changes/1.33.39.json new file mode 100644 index 000000000000..a6cc4b5e12f4 --- /dev/null +++ b/.changes/1.33.39.json @@ -0,0 +1,22 @@ +[ + { + "category": "``cognito-idp``", + "description": "Added support for threat protection for custom authentication in Amazon Cognito user pools.", + "type": "api-change" + }, + { + "category": "``connect``", + "description": "This release fixes a regression in number of access control tags that are allowed to be added to a security profile in Amazon Connect. You can now add up to four access control tags on a single security profile.", + "type": "api-change" + }, + { + "category": "``ec2``", + "description": "Launch of private IPv6 addressing for VPCs and Subnets. VPC IPAM supports the planning and monitoring of private IPv6 usage.", + "type": "api-change" + }, + { + "category": "``glue``", + "description": "This release adds support to retrieve the validation status when creating or updating Glue Data Catalog Views. Also added is support for BasicCatalogTarget partition keys.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-cognitoidp-4958.json b/.changes/next-release/api-change-cognitoidp-4958.json deleted file mode 100644 index 81b5b76c12d1..000000000000 --- a/.changes/next-release/api-change-cognitoidp-4958.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``cognito-idp``", - "description": "Added support for threat protection for custom authentication in Amazon Cognito user pools." -} diff --git a/.changes/next-release/api-change-connect-27906.json b/.changes/next-release/api-change-connect-27906.json deleted file mode 100644 index cd4adc7a2b13..000000000000 --- a/.changes/next-release/api-change-connect-27906.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``connect``", - "description": "This release fixes a regression in number of access control tags that are allowed to be added to a security profile in Amazon Connect. You can now add up to four access control tags on a single security profile." -} diff --git a/.changes/next-release/api-change-ec2-60777.json b/.changes/next-release/api-change-ec2-60777.json deleted file mode 100644 index 208355d81827..000000000000 --- a/.changes/next-release/api-change-ec2-60777.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ec2``", - "description": "Launch of private IPv6 addressing for VPCs and Subnets. VPC IPAM supports the planning and monitoring of private IPv6 usage." -} diff --git a/.changes/next-release/api-change-glue-39579.json b/.changes/next-release/api-change-glue-39579.json deleted file mode 100644 index 717cf9e9e9ee..000000000000 --- a/.changes/next-release/api-change-glue-39579.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``glue``", - "description": "This release adds support to retrieve the validation status when creating or updating Glue Data Catalog Views. Also added is support for BasicCatalogTarget partition keys." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 7e10a7d7f874..d1949da7a57c 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,15 @@ CHANGELOG ========= +1.33.39 +======= + +* api-change:``cognito-idp``: Added support for threat protection for custom authentication in Amazon Cognito user pools. +* api-change:``connect``: This release fixes a regression in number of access control tags that are allowed to be added to a security profile in Amazon Connect. You can now add up to four access control tags on a single security profile. +* api-change:``ec2``: Launch of private IPv6 addressing for VPCs and Subnets. VPC IPAM supports the planning and monitoring of private IPv6 usage. +* api-change:``glue``: This release adds support to retrieve the validation status when creating or updating Glue Data Catalog Views. Also added is support for BasicCatalogTarget partition keys. + + 1.33.38 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index c9c98360cc9f..34d47d70c59d 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -17,7 +17,7 @@ """ import os -__version__ = '1.33.38' +__version__ = '1.33.39' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index dc093cf3556d..3f642ccc5ee6 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.33.' # The full version, including alpha/beta/rc tags. -release = '1.33.38' +release = '1.33.39' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 16fde3bcd7d0..f819b7035648 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.34.156 + botocore==1.34.157 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 79754db8cc77..88465dd8fb2a 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.34.156', + 'botocore==1.34.157', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From a4199d7c52f45deb9afc88163dde53576d53450f Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 9 Aug 2024 18:32:07 +0000 Subject: [PATCH 0139/1087] Update changelog based on model updates --- .changes/next-release/api-change-cognitoidp-51707.json | 5 +++++ .changes/next-release/api-change-connect-70064.json | 5 +++++ .changes/next-release/api-change-ssm-7653.json | 5 +++++ 3 files changed, 15 insertions(+) create mode 100644 .changes/next-release/api-change-cognitoidp-51707.json create mode 100644 .changes/next-release/api-change-connect-70064.json create mode 100644 .changes/next-release/api-change-ssm-7653.json diff --git a/.changes/next-release/api-change-cognitoidp-51707.json b/.changes/next-release/api-change-cognitoidp-51707.json new file mode 100644 index 000000000000..f0f5386c42e5 --- /dev/null +++ b/.changes/next-release/api-change-cognitoidp-51707.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``cognito-idp``", + "description": "Fixed a description of AdvancedSecurityAdditionalFlows in Amazon Cognito user pool configuration." +} diff --git a/.changes/next-release/api-change-connect-70064.json b/.changes/next-release/api-change-connect-70064.json new file mode 100644 index 000000000000..9828b6181178 --- /dev/null +++ b/.changes/next-release/api-change-connect-70064.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``connect``", + "description": "This release supports adding RoutingCriteria via UpdateContactRoutingData public API." +} diff --git a/.changes/next-release/api-change-ssm-7653.json b/.changes/next-release/api-change-ssm-7653.json new file mode 100644 index 000000000000..5456d1fdd252 --- /dev/null +++ b/.changes/next-release/api-change-ssm-7653.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ssm``", + "description": "Systems Manager doc-only updates for August 2024." +} From 3bce8c3fec5fbbca259997413edd9d983dd0ea08 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 9 Aug 2024 18:33:43 +0000 Subject: [PATCH 0140/1087] Bumping version to 1.33.40 --- .changes/1.33.40.json | 17 +++++++++++++++++ .../api-change-cognitoidp-51707.json | 5 ----- .../next-release/api-change-connect-70064.json | 5 ----- .changes/next-release/api-change-ssm-7653.json | 5 ----- CHANGELOG.rst | 8 ++++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 9 files changed, 29 insertions(+), 19 deletions(-) create mode 100644 .changes/1.33.40.json delete mode 100644 .changes/next-release/api-change-cognitoidp-51707.json delete mode 100644 .changes/next-release/api-change-connect-70064.json delete mode 100644 .changes/next-release/api-change-ssm-7653.json diff --git a/.changes/1.33.40.json b/.changes/1.33.40.json new file mode 100644 index 000000000000..21456a4c20f1 --- /dev/null +++ b/.changes/1.33.40.json @@ -0,0 +1,17 @@ +[ + { + "category": "``cognito-idp``", + "description": "Fixed a description of AdvancedSecurityAdditionalFlows in Amazon Cognito user pool configuration.", + "type": "api-change" + }, + { + "category": "``connect``", + "description": "This release supports adding RoutingCriteria via UpdateContactRoutingData public API.", + "type": "api-change" + }, + { + "category": "``ssm``", + "description": "Systems Manager doc-only updates for August 2024.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-cognitoidp-51707.json b/.changes/next-release/api-change-cognitoidp-51707.json deleted file mode 100644 index f0f5386c42e5..000000000000 --- a/.changes/next-release/api-change-cognitoidp-51707.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``cognito-idp``", - "description": "Fixed a description of AdvancedSecurityAdditionalFlows in Amazon Cognito user pool configuration." -} diff --git a/.changes/next-release/api-change-connect-70064.json b/.changes/next-release/api-change-connect-70064.json deleted file mode 100644 index 9828b6181178..000000000000 --- a/.changes/next-release/api-change-connect-70064.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``connect``", - "description": "This release supports adding RoutingCriteria via UpdateContactRoutingData public API." -} diff --git a/.changes/next-release/api-change-ssm-7653.json b/.changes/next-release/api-change-ssm-7653.json deleted file mode 100644 index 5456d1fdd252..000000000000 --- a/.changes/next-release/api-change-ssm-7653.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ssm``", - "description": "Systems Manager doc-only updates for August 2024." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index d1949da7a57c..91b011ae07d9 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,14 @@ CHANGELOG ========= +1.33.40 +======= + +* api-change:``cognito-idp``: Fixed a description of AdvancedSecurityAdditionalFlows in Amazon Cognito user pool configuration. +* api-change:``connect``: This release supports adding RoutingCriteria via UpdateContactRoutingData public API. +* api-change:``ssm``: Systems Manager doc-only updates for August 2024. + + 1.33.39 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 34d47d70c59d..18c86a36d85b 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -17,7 +17,7 @@ """ import os -__version__ = '1.33.39' +__version__ = '1.33.40' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 3f642ccc5ee6..26625f1772d2 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.33.' # The full version, including alpha/beta/rc tags. -release = '1.33.39' +release = '1.33.40' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index f819b7035648..bb9dc5576256 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.34.157 + botocore==1.34.158 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 88465dd8fb2a..f1e180fc35bb 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.34.157', + 'botocore==1.34.158', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 7858adeae1d88ec1efa2f92dc47eda2f15d2dee2 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 12 Aug 2024 18:05:56 +0000 Subject: [PATCH 0141/1087] Update changelog based on model updates --- .changes/next-release/api-change-computeoptimizer-75059.json | 5 +++++ .changes/next-release/api-change-config-12972.json | 5 +++++ .changes/next-release/api-change-ec2-28737.json | 5 +++++ .changes/next-release/api-change-eks-96960.json | 5 +++++ .changes/next-release/api-change-groundstation-58198.json | 5 +++++ .changes/next-release/api-change-medialive-52233.json | 5 +++++ .changes/next-release/api-change-sagemaker-56820.json | 5 +++++ 7 files changed, 35 insertions(+) create mode 100644 .changes/next-release/api-change-computeoptimizer-75059.json create mode 100644 .changes/next-release/api-change-config-12972.json create mode 100644 .changes/next-release/api-change-ec2-28737.json create mode 100644 .changes/next-release/api-change-eks-96960.json create mode 100644 .changes/next-release/api-change-groundstation-58198.json create mode 100644 .changes/next-release/api-change-medialive-52233.json create mode 100644 .changes/next-release/api-change-sagemaker-56820.json diff --git a/.changes/next-release/api-change-computeoptimizer-75059.json b/.changes/next-release/api-change-computeoptimizer-75059.json new file mode 100644 index 000000000000..4c7066d582bb --- /dev/null +++ b/.changes/next-release/api-change-computeoptimizer-75059.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``compute-optimizer``", + "description": "Doc only update for Compute Optimizer that fixes several customer-reported issues relating to ECS finding classifications" +} diff --git a/.changes/next-release/api-change-config-12972.json b/.changes/next-release/api-change-config-12972.json new file mode 100644 index 000000000000..677149678aa3 --- /dev/null +++ b/.changes/next-release/api-change-config-12972.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``config``", + "description": "Documentation update for the OrganizationConfigRuleName regex pattern." +} diff --git a/.changes/next-release/api-change-ec2-28737.json b/.changes/next-release/api-change-ec2-28737.json new file mode 100644 index 000000000000..3b0bac16ba32 --- /dev/null +++ b/.changes/next-release/api-change-ec2-28737.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ec2``", + "description": "This release adds new capabilities to manage On-Demand Capacity Reservations including the ability to split your reservation, move capacity between reservations, and modify the instance eligibility of your reservation." +} diff --git a/.changes/next-release/api-change-eks-96960.json b/.changes/next-release/api-change-eks-96960.json new file mode 100644 index 000000000000..2178e4662dc8 --- /dev/null +++ b/.changes/next-release/api-change-eks-96960.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``eks``", + "description": "Added support for new AL2023 GPU AMIs to the supported AMITypes." +} diff --git a/.changes/next-release/api-change-groundstation-58198.json b/.changes/next-release/api-change-groundstation-58198.json new file mode 100644 index 000000000000..58a26f3c60ce --- /dev/null +++ b/.changes/next-release/api-change-groundstation-58198.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``groundstation``", + "description": "Updating documentation for OEMEphemeris to link to AWS Ground Station User Guide" +} diff --git a/.changes/next-release/api-change-medialive-52233.json b/.changes/next-release/api-change-medialive-52233.json new file mode 100644 index 000000000000..89cc481d8e92 --- /dev/null +++ b/.changes/next-release/api-change-medialive-52233.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``medialive``", + "description": "AWS Elemental MediaLive now supports now supports editing the PID values for a Multiplex." +} diff --git a/.changes/next-release/api-change-sagemaker-56820.json b/.changes/next-release/api-change-sagemaker-56820.json new file mode 100644 index 000000000000..79e4703c3403 --- /dev/null +++ b/.changes/next-release/api-change-sagemaker-56820.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``sagemaker``", + "description": "Releasing large data support as part of CreateAutoMLJobV2 in SageMaker Autopilot and CreateDomain API for SageMaker Canvas." +} From 8c9b126c3c32176553e36201530776d8bb8ccfba Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 12 Aug 2024 18:07:21 +0000 Subject: [PATCH 0142/1087] Bumping version to 1.33.41 --- .changes/1.33.41.json | 37 +++++++++++++++++++ .../api-change-computeoptimizer-75059.json | 5 --- .../next-release/api-change-config-12972.json | 5 --- .../next-release/api-change-ec2-28737.json | 5 --- .../next-release/api-change-eks-96960.json | 5 --- .../api-change-groundstation-58198.json | 5 --- .../api-change-medialive-52233.json | 5 --- .../api-change-sagemaker-56820.json | 5 --- CHANGELOG.rst | 12 ++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 13 files changed, 53 insertions(+), 39 deletions(-) create mode 100644 .changes/1.33.41.json delete mode 100644 .changes/next-release/api-change-computeoptimizer-75059.json delete mode 100644 .changes/next-release/api-change-config-12972.json delete mode 100644 .changes/next-release/api-change-ec2-28737.json delete mode 100644 .changes/next-release/api-change-eks-96960.json delete mode 100644 .changes/next-release/api-change-groundstation-58198.json delete mode 100644 .changes/next-release/api-change-medialive-52233.json delete mode 100644 .changes/next-release/api-change-sagemaker-56820.json diff --git a/.changes/1.33.41.json b/.changes/1.33.41.json new file mode 100644 index 000000000000..6bcd6a839c31 --- /dev/null +++ b/.changes/1.33.41.json @@ -0,0 +1,37 @@ +[ + { + "category": "``compute-optimizer``", + "description": "Doc only update for Compute Optimizer that fixes several customer-reported issues relating to ECS finding classifications", + "type": "api-change" + }, + { + "category": "``config``", + "description": "Documentation update for the OrganizationConfigRuleName regex pattern.", + "type": "api-change" + }, + { + "category": "``ec2``", + "description": "This release adds new capabilities to manage On-Demand Capacity Reservations including the ability to split your reservation, move capacity between reservations, and modify the instance eligibility of your reservation.", + "type": "api-change" + }, + { + "category": "``eks``", + "description": "Added support for new AL2023 GPU AMIs to the supported AMITypes.", + "type": "api-change" + }, + { + "category": "``groundstation``", + "description": "Updating documentation for OEMEphemeris to link to AWS Ground Station User Guide", + "type": "api-change" + }, + { + "category": "``medialive``", + "description": "AWS Elemental MediaLive now supports now supports editing the PID values for a Multiplex.", + "type": "api-change" + }, + { + "category": "``sagemaker``", + "description": "Releasing large data support as part of CreateAutoMLJobV2 in SageMaker Autopilot and CreateDomain API for SageMaker Canvas.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-computeoptimizer-75059.json b/.changes/next-release/api-change-computeoptimizer-75059.json deleted file mode 100644 index 4c7066d582bb..000000000000 --- a/.changes/next-release/api-change-computeoptimizer-75059.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``compute-optimizer``", - "description": "Doc only update for Compute Optimizer that fixes several customer-reported issues relating to ECS finding classifications" -} diff --git a/.changes/next-release/api-change-config-12972.json b/.changes/next-release/api-change-config-12972.json deleted file mode 100644 index 677149678aa3..000000000000 --- a/.changes/next-release/api-change-config-12972.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``config``", - "description": "Documentation update for the OrganizationConfigRuleName regex pattern." -} diff --git a/.changes/next-release/api-change-ec2-28737.json b/.changes/next-release/api-change-ec2-28737.json deleted file mode 100644 index 3b0bac16ba32..000000000000 --- a/.changes/next-release/api-change-ec2-28737.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ec2``", - "description": "This release adds new capabilities to manage On-Demand Capacity Reservations including the ability to split your reservation, move capacity between reservations, and modify the instance eligibility of your reservation." -} diff --git a/.changes/next-release/api-change-eks-96960.json b/.changes/next-release/api-change-eks-96960.json deleted file mode 100644 index 2178e4662dc8..000000000000 --- a/.changes/next-release/api-change-eks-96960.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``eks``", - "description": "Added support for new AL2023 GPU AMIs to the supported AMITypes." -} diff --git a/.changes/next-release/api-change-groundstation-58198.json b/.changes/next-release/api-change-groundstation-58198.json deleted file mode 100644 index 58a26f3c60ce..000000000000 --- a/.changes/next-release/api-change-groundstation-58198.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``groundstation``", - "description": "Updating documentation for OEMEphemeris to link to AWS Ground Station User Guide" -} diff --git a/.changes/next-release/api-change-medialive-52233.json b/.changes/next-release/api-change-medialive-52233.json deleted file mode 100644 index 89cc481d8e92..000000000000 --- a/.changes/next-release/api-change-medialive-52233.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``medialive``", - "description": "AWS Elemental MediaLive now supports now supports editing the PID values for a Multiplex." -} diff --git a/.changes/next-release/api-change-sagemaker-56820.json b/.changes/next-release/api-change-sagemaker-56820.json deleted file mode 100644 index 79e4703c3403..000000000000 --- a/.changes/next-release/api-change-sagemaker-56820.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``sagemaker``", - "description": "Releasing large data support as part of CreateAutoMLJobV2 in SageMaker Autopilot and CreateDomain API for SageMaker Canvas." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 91b011ae07d9..df40ecde9dff 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,18 @@ CHANGELOG ========= +1.33.41 +======= + +* api-change:``compute-optimizer``: Doc only update for Compute Optimizer that fixes several customer-reported issues relating to ECS finding classifications +* api-change:``config``: Documentation update for the OrganizationConfigRuleName regex pattern. +* api-change:``ec2``: This release adds new capabilities to manage On-Demand Capacity Reservations including the ability to split your reservation, move capacity between reservations, and modify the instance eligibility of your reservation. +* api-change:``eks``: Added support for new AL2023 GPU AMIs to the supported AMITypes. +* api-change:``groundstation``: Updating documentation for OEMEphemeris to link to AWS Ground Station User Guide +* api-change:``medialive``: AWS Elemental MediaLive now supports now supports editing the PID values for a Multiplex. +* api-change:``sagemaker``: Releasing large data support as part of CreateAutoMLJobV2 in SageMaker Autopilot and CreateDomain API for SageMaker Canvas. + + 1.33.40 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 18c86a36d85b..669ac1cf6f41 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -17,7 +17,7 @@ """ import os -__version__ = '1.33.40' +__version__ = '1.33.41' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 26625f1772d2..eb512b6dc2da 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.33.' # The full version, including alpha/beta/rc tags. -release = '1.33.40' +release = '1.33.41' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index bb9dc5576256..bc9912ea0fbb 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.34.158 + botocore==1.34.159 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index f1e180fc35bb..df919ed682bf 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.34.158', + 'botocore==1.34.159', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 9cddf3283fd6bba0512411b84b5e1a90349adbb9 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 13 Aug 2024 18:04:29 +0000 Subject: [PATCH 0143/1087] Update changelog based on model updates --- .changes/next-release/api-change-amplify-53324.json | 5 +++++ .changes/next-release/api-change-appstream-15089.json | 5 +++++ .changes/next-release/api-change-fis-21474.json | 5 +++++ .changes/next-release/api-change-glue-28481.json | 5 +++++ .changes/next-release/api-change-neptunegraph-22070.json | 5 +++++ 5 files changed, 25 insertions(+) create mode 100644 .changes/next-release/api-change-amplify-53324.json create mode 100644 .changes/next-release/api-change-appstream-15089.json create mode 100644 .changes/next-release/api-change-fis-21474.json create mode 100644 .changes/next-release/api-change-glue-28481.json create mode 100644 .changes/next-release/api-change-neptunegraph-22070.json diff --git a/.changes/next-release/api-change-amplify-53324.json b/.changes/next-release/api-change-amplify-53324.json new file mode 100644 index 000000000000..90fd7e3e0f35 --- /dev/null +++ b/.changes/next-release/api-change-amplify-53324.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``amplify``", + "description": "Add a new field \"cacheConfig\" that enables users to configure the CDN cache settings for an App" +} diff --git a/.changes/next-release/api-change-appstream-15089.json b/.changes/next-release/api-change-appstream-15089.json new file mode 100644 index 000000000000..c69bc0828640 --- /dev/null +++ b/.changes/next-release/api-change-appstream-15089.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``appstream``", + "description": "This release includes following new APIs: CreateThemeForStack, DescribeThemeForStack, UpdateThemeForStack, DeleteThemeForStack to support custom branding programmatically." +} diff --git a/.changes/next-release/api-change-fis-21474.json b/.changes/next-release/api-change-fis-21474.json new file mode 100644 index 000000000000..87dc4a777df3 --- /dev/null +++ b/.changes/next-release/api-change-fis-21474.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``fis``", + "description": "This release adds support for additional error information on experiment failure. It adds the error code, location, and account id on relevant failures to the GetExperiment and ListExperiment API responses." +} diff --git a/.changes/next-release/api-change-glue-28481.json b/.changes/next-release/api-change-glue-28481.json new file mode 100644 index 000000000000..049c59e05475 --- /dev/null +++ b/.changes/next-release/api-change-glue-28481.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``glue``", + "description": "Add AttributesToGet parameter support for Glue GetTables" +} diff --git a/.changes/next-release/api-change-neptunegraph-22070.json b/.changes/next-release/api-change-neptunegraph-22070.json new file mode 100644 index 000000000000..e16fa8affee6 --- /dev/null +++ b/.changes/next-release/api-change-neptunegraph-22070.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``neptune-graph``", + "description": "Amazon Neptune Analytics provides a new option for customers to load data into a graph using the RDF (Resource Description Framework) NTRIPLES format. When loading NTRIPLES files, use the value `convertToIri` for the `blankNodeHandling` parameter." +} From 2ee54ff7d3e3553763cbe9878b2ffa404eaff5b0 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 13 Aug 2024 18:05:34 +0000 Subject: [PATCH 0144/1087] Bumping version to 1.33.42 --- .changes/1.33.42.json | 27 +++++++++++++++++++ .../api-change-amplify-53324.json | 5 ---- .../api-change-appstream-15089.json | 5 ---- .../next-release/api-change-fis-21474.json | 5 ---- .../next-release/api-change-glue-28481.json | 5 ---- .../api-change-neptunegraph-22070.json | 5 ---- CHANGELOG.rst | 10 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 11 files changed, 41 insertions(+), 29 deletions(-) create mode 100644 .changes/1.33.42.json delete mode 100644 .changes/next-release/api-change-amplify-53324.json delete mode 100644 .changes/next-release/api-change-appstream-15089.json delete mode 100644 .changes/next-release/api-change-fis-21474.json delete mode 100644 .changes/next-release/api-change-glue-28481.json delete mode 100644 .changes/next-release/api-change-neptunegraph-22070.json diff --git a/.changes/1.33.42.json b/.changes/1.33.42.json new file mode 100644 index 000000000000..e9d58feca774 --- /dev/null +++ b/.changes/1.33.42.json @@ -0,0 +1,27 @@ +[ + { + "category": "``amplify``", + "description": "Add a new field \"cacheConfig\" that enables users to configure the CDN cache settings for an App", + "type": "api-change" + }, + { + "category": "``appstream``", + "description": "This release includes following new APIs: CreateThemeForStack, DescribeThemeForStack, UpdateThemeForStack, DeleteThemeForStack to support custom branding programmatically.", + "type": "api-change" + }, + { + "category": "``fis``", + "description": "This release adds support for additional error information on experiment failure. It adds the error code, location, and account id on relevant failures to the GetExperiment and ListExperiment API responses.", + "type": "api-change" + }, + { + "category": "``glue``", + "description": "Add AttributesToGet parameter support for Glue GetTables", + "type": "api-change" + }, + { + "category": "``neptune-graph``", + "description": "Amazon Neptune Analytics provides a new option for customers to load data into a graph using the RDF (Resource Description Framework) NTRIPLES format. When loading NTRIPLES files, use the value `convertToIri` for the `blankNodeHandling` parameter.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-amplify-53324.json b/.changes/next-release/api-change-amplify-53324.json deleted file mode 100644 index 90fd7e3e0f35..000000000000 --- a/.changes/next-release/api-change-amplify-53324.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``amplify``", - "description": "Add a new field \"cacheConfig\" that enables users to configure the CDN cache settings for an App" -} diff --git a/.changes/next-release/api-change-appstream-15089.json b/.changes/next-release/api-change-appstream-15089.json deleted file mode 100644 index c69bc0828640..000000000000 --- a/.changes/next-release/api-change-appstream-15089.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``appstream``", - "description": "This release includes following new APIs: CreateThemeForStack, DescribeThemeForStack, UpdateThemeForStack, DeleteThemeForStack to support custom branding programmatically." -} diff --git a/.changes/next-release/api-change-fis-21474.json b/.changes/next-release/api-change-fis-21474.json deleted file mode 100644 index 87dc4a777df3..000000000000 --- a/.changes/next-release/api-change-fis-21474.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``fis``", - "description": "This release adds support for additional error information on experiment failure. It adds the error code, location, and account id on relevant failures to the GetExperiment and ListExperiment API responses." -} diff --git a/.changes/next-release/api-change-glue-28481.json b/.changes/next-release/api-change-glue-28481.json deleted file mode 100644 index 049c59e05475..000000000000 --- a/.changes/next-release/api-change-glue-28481.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``glue``", - "description": "Add AttributesToGet parameter support for Glue GetTables" -} diff --git a/.changes/next-release/api-change-neptunegraph-22070.json b/.changes/next-release/api-change-neptunegraph-22070.json deleted file mode 100644 index e16fa8affee6..000000000000 --- a/.changes/next-release/api-change-neptunegraph-22070.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``neptune-graph``", - "description": "Amazon Neptune Analytics provides a new option for customers to load data into a graph using the RDF (Resource Description Framework) NTRIPLES format. When loading NTRIPLES files, use the value `convertToIri` for the `blankNodeHandling` parameter." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index df40ecde9dff..3e7c731a54e7 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,16 @@ CHANGELOG ========= +1.33.42 +======= + +* api-change:``amplify``: Add a new field "cacheConfig" that enables users to configure the CDN cache settings for an App +* api-change:``appstream``: This release includes following new APIs: CreateThemeForStack, DescribeThemeForStack, UpdateThemeForStack, DeleteThemeForStack to support custom branding programmatically. +* api-change:``fis``: This release adds support for additional error information on experiment failure. It adds the error code, location, and account id on relevant failures to the GetExperiment and ListExperiment API responses. +* api-change:``glue``: Add AttributesToGet parameter support for Glue GetTables +* api-change:``neptune-graph``: Amazon Neptune Analytics provides a new option for customers to load data into a graph using the RDF (Resource Description Framework) NTRIPLES format. When loading NTRIPLES files, use the value `convertToIri` for the `blankNodeHandling` parameter. + + 1.33.41 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 669ac1cf6f41..2deea9f0cfb5 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -17,7 +17,7 @@ """ import os -__version__ = '1.33.41' +__version__ = '1.33.42' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index eb512b6dc2da..4f2813f9b1cc 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.33.' # The full version, including alpha/beta/rc tags. -release = '1.33.41' +release = '1.33.42' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index bc9912ea0fbb..99f4c5fd659f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.34.159 + botocore==1.34.160 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index df919ed682bf..1eec1ea7fc60 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.34.159', + 'botocore==1.34.160', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From d2f11b6516ed90655113036a3756e8471ab4f1a4 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 14 Aug 2024 18:03:27 +0000 Subject: [PATCH 0145/1087] Update changelog based on model updates --- .changes/next-release/api-change-codebuild-17785.json | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changes/next-release/api-change-codebuild-17785.json diff --git a/.changes/next-release/api-change-codebuild-17785.json b/.changes/next-release/api-change-codebuild-17785.json new file mode 100644 index 000000000000..d7d57945cf2b --- /dev/null +++ b/.changes/next-release/api-change-codebuild-17785.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``codebuild``", + "description": "AWS CodeBuild now supports using Secrets Manager to store git credentials and using multiple source credentials in a single project." +} From 8655c2a7015de15402c3b722be7331cbf504a985 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 14 Aug 2024 18:04:52 +0000 Subject: [PATCH 0146/1087] Bumping version to 1.33.43 --- .changes/1.33.43.json | 7 +++++++ .changes/next-release/api-change-codebuild-17785.json | 5 ----- CHANGELOG.rst | 6 ++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 7 files changed, 17 insertions(+), 9 deletions(-) create mode 100644 .changes/1.33.43.json delete mode 100644 .changes/next-release/api-change-codebuild-17785.json diff --git a/.changes/1.33.43.json b/.changes/1.33.43.json new file mode 100644 index 000000000000..1ecba0d08a40 --- /dev/null +++ b/.changes/1.33.43.json @@ -0,0 +1,7 @@ +[ + { + "category": "``codebuild``", + "description": "AWS CodeBuild now supports using Secrets Manager to store git credentials and using multiple source credentials in a single project.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-codebuild-17785.json b/.changes/next-release/api-change-codebuild-17785.json deleted file mode 100644 index d7d57945cf2b..000000000000 --- a/.changes/next-release/api-change-codebuild-17785.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``codebuild``", - "description": "AWS CodeBuild now supports using Secrets Manager to store git credentials and using multiple source credentials in a single project." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 3e7c731a54e7..d43a7d76c97f 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,12 @@ CHANGELOG ========= +1.33.43 +======= + +* api-change:``codebuild``: AWS CodeBuild now supports using Secrets Manager to store git credentials and using multiple source credentials in a single project. + + 1.33.42 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 2deea9f0cfb5..8ca17d055f4b 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -17,7 +17,7 @@ """ import os -__version__ = '1.33.42' +__version__ = '1.33.43' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 4f2813f9b1cc..9ab122076306 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.33.' # The full version, including alpha/beta/rc tags. -release = '1.33.42' +release = '1.33.43' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 99f4c5fd659f..314ef108038a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.34.160 + botocore==1.34.161 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 1eec1ea7fc60..25d3aaa39d93 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.34.160', + 'botocore==1.34.161', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 236a7ef1346e9caebbcad3e2cee24e7ac4cbed5f Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 15 Aug 2024 18:08:21 +0000 Subject: [PATCH 0147/1087] Merge customizations for S3 --- awscli/customizations/s3/subcommands.py | 24 ++++++++++++------- tests/functional/s3/test_ls_command.py | 6 +++++ .../customizations/s3/test_subcommands.py | 20 +++++++++++----- 3 files changed, 36 insertions(+), 14 deletions(-) diff --git a/awscli/customizations/s3/subcommands.py b/awscli/customizations/s3/subcommands.py index b2a5e9181c04..b045b2380ccc 100644 --- a/awscli/customizations/s3/subcommands.py +++ b/awscli/customizations/s3/subcommands.py @@ -497,7 +497,7 @@ def _run_main(self, parsed_args, parsed_globals): path = path[5:] bucket, key = find_bucket_key(path) if not bucket: - self._list_all_buckets() + self._list_all_buckets(parsed_args.page_size) elif parsed_args.dir_op: # Then --recursive was specified. self._list_all_objects_recursive( @@ -561,13 +561,21 @@ def _display_page(self, response_data, use_basename=True): uni_print(print_str) self._at_first_page = False - def _list_all_buckets(self): - response_data = self.client.list_buckets() - buckets = response_data['Buckets'] - for bucket in buckets: - last_mod_str = self._make_last_mod_str(bucket['CreationDate']) - print_str = last_mod_str + ' ' + bucket['Name'] + '\n' - uni_print(print_str) + def _list_all_buckets(self, page_size=None): + paginator = self.client.get_paginator('list_buckets') + paging_args = { + 'PaginationConfig': {'PageSize': page_size} + } + + iterator = paginator.paginate(**paging_args) + + for response_data in iterator: + buckets = response_data.get('Buckets', []) + + for bucket in buckets: + last_mod_str = self._make_last_mod_str(bucket['CreationDate']) + print_str = last_mod_str + ' ' + bucket['Name'] + '\n' + uni_print(print_str) def _list_all_objects_recursive(self, bucket, key, page_size=None, request_payer=None): diff --git a/tests/functional/s3/test_ls_command.py b/tests/functional/s3/test_ls_command.py index 55d09ebf0e28..4b730c2621b9 100644 --- a/tests/functional/s3/test_ls_command.py +++ b/tests/functional/s3/test_ls_command.py @@ -40,6 +40,12 @@ def test_errors_out_with_extra_arguments(self): self.assertIn('Unknown options', stderr) self.assertIn('--extra-argument-foo', stderr) + def test_list_buckets_use_page_size(self): + stdout, _, _ = self.run_cmd('s3 ls --page-size 8', expected_rc=0) + call_args = self.operations_called[0][1] + # The page size gets translated to ``MaxBuckets`` in the s3 model + self.assertEqual(call_args['MaxBuckets'], 8) + def test_operations_use_page_size(self): time_utc = "2014-01-09T20:45:49.000Z" self.parsed_responses = [{"CommonPrefixes": [], "Contents": [ diff --git a/tests/unit/customizations/s3/test_subcommands.py b/tests/unit/customizations/s3/test_subcommands.py index 0af7a595643a..f68f3cc642bd 100644 --- a/tests/unit/customizations/s3/test_subcommands.py +++ b/tests/unit/customizations/s3/test_subcommands.py @@ -115,13 +115,21 @@ def test_ls_command_with_no_args(self): verify_ssl=None) parsed_args = FakeArgs(dir_op=False, paths='s3://', human_readable=False, summarize=False, - request_payer=None) + request_payer=None, page_size=None) ls_command._run_main(parsed_args, parsed_global) - # We should only be a single call. call = self.session.create_client.return_value.list_buckets - self.assertTrue(call.called) - self.assertEqual(call.call_count, 1) - self.assertEqual(call.call_args[1], {}) + paginate = self.session.create_client.return_value.get_paginator\ + .return_value.paginate + + # We should make no operation calls. + self.assertEqual(call.call_count, 0) + # And only a single pagination call to ListBuckets. + self.session.create_client.return_value.get_paginator.\ + assert_called_with('list_buckets') + ref_call_args = {'PaginationConfig': {'PageSize': None}} + + paginate.assert_called_with(**ref_call_args) + # Verify get_client get_client = self.session.create_client args = get_client.call_args @@ -136,7 +144,7 @@ def test_ls_with_verify_argument(self): verify_ssl=False) parsed_args = FakeArgs(paths='s3://', dir_op=False, human_readable=False, summarize=False, - request_payer=None) + request_payer=None, page_size=None) ls_command._run_main(parsed_args, parsed_global) # Verify get_client get_client = self.session.create_client From 7867e3b43337f146ca0cc22ee6ce226f2b05cec6 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 15 Aug 2024 18:08:26 +0000 Subject: [PATCH 0148/1087] Update changelog based on model updates --- .changes/next-release/api-change-docdb-24160.json | 5 +++++ .changes/next-release/api-change-ecs-13431.json | 5 +++++ .changes/next-release/api-change-iam-40614.json | 5 +++++ .changes/next-release/api-change-s3-23992.json | 5 +++++ 4 files changed, 20 insertions(+) create mode 100644 .changes/next-release/api-change-docdb-24160.json create mode 100644 .changes/next-release/api-change-ecs-13431.json create mode 100644 .changes/next-release/api-change-iam-40614.json create mode 100644 .changes/next-release/api-change-s3-23992.json diff --git a/.changes/next-release/api-change-docdb-24160.json b/.changes/next-release/api-change-docdb-24160.json new file mode 100644 index 000000000000..40975e1723fd --- /dev/null +++ b/.changes/next-release/api-change-docdb-24160.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``docdb``", + "description": "This release adds Global Cluster Failover capability which enables you to change your global cluster's primary AWS region, the region that serves writes, during a regional outage. Performing a failover action preserves your Global Cluster setup." +} diff --git a/.changes/next-release/api-change-ecs-13431.json b/.changes/next-release/api-change-ecs-13431.json new file mode 100644 index 000000000000..37ec93be9600 --- /dev/null +++ b/.changes/next-release/api-change-ecs-13431.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ecs``", + "description": "This release introduces a new ContainerDefinition configuration to support the customer-managed keys for ECS container restart feature." +} diff --git a/.changes/next-release/api-change-iam-40614.json b/.changes/next-release/api-change-iam-40614.json new file mode 100644 index 000000000000..18abb0da57ad --- /dev/null +++ b/.changes/next-release/api-change-iam-40614.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``iam``", + "description": "Make the LastUsedDate field in the GetAccessKeyLastUsed response optional. This may break customers who only call the API for access keys with a valid LastUsedDate. This fixes a deserialization issue for access keys without a LastUsedDate, because the field was marked as required but could be null." +} diff --git a/.changes/next-release/api-change-s3-23992.json b/.changes/next-release/api-change-s3-23992.json new file mode 100644 index 000000000000..be34e96d0ba6 --- /dev/null +++ b/.changes/next-release/api-change-s3-23992.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``s3``", + "description": "Amazon Simple Storage Service / Features : Adds support for pagination in the S3 ListBuckets API." +} From 6fba3eacef277e375805e5d3b6746a0a054d2e79 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 15 Aug 2024 18:09:54 +0000 Subject: [PATCH 0149/1087] Bumping version to 1.33.44 --- .changes/1.33.44.json | 22 +++++++++++++++++++ .../next-release/api-change-docdb-24160.json | 5 ----- .../next-release/api-change-ecs-13431.json | 5 ----- .../next-release/api-change-iam-40614.json | 5 ----- .../next-release/api-change-s3-23992.json | 5 ----- CHANGELOG.rst | 9 ++++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 10 files changed, 35 insertions(+), 24 deletions(-) create mode 100644 .changes/1.33.44.json delete mode 100644 .changes/next-release/api-change-docdb-24160.json delete mode 100644 .changes/next-release/api-change-ecs-13431.json delete mode 100644 .changes/next-release/api-change-iam-40614.json delete mode 100644 .changes/next-release/api-change-s3-23992.json diff --git a/.changes/1.33.44.json b/.changes/1.33.44.json new file mode 100644 index 000000000000..03313bbe4a51 --- /dev/null +++ b/.changes/1.33.44.json @@ -0,0 +1,22 @@ +[ + { + "category": "``docdb``", + "description": "This release adds Global Cluster Failover capability which enables you to change your global cluster's primary AWS region, the region that serves writes, during a regional outage. Performing a failover action preserves your Global Cluster setup.", + "type": "api-change" + }, + { + "category": "``ecs``", + "description": "This release introduces a new ContainerDefinition configuration to support the customer-managed keys for ECS container restart feature.", + "type": "api-change" + }, + { + "category": "``iam``", + "description": "Make the LastUsedDate field in the GetAccessKeyLastUsed response optional. This may break customers who only call the API for access keys with a valid LastUsedDate. This fixes a deserialization issue for access keys without a LastUsedDate, because the field was marked as required but could be null.", + "type": "api-change" + }, + { + "category": "``s3``", + "description": "Amazon Simple Storage Service / Features : Adds support for pagination in the S3 ListBuckets API.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-docdb-24160.json b/.changes/next-release/api-change-docdb-24160.json deleted file mode 100644 index 40975e1723fd..000000000000 --- a/.changes/next-release/api-change-docdb-24160.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``docdb``", - "description": "This release adds Global Cluster Failover capability which enables you to change your global cluster's primary AWS region, the region that serves writes, during a regional outage. Performing a failover action preserves your Global Cluster setup." -} diff --git a/.changes/next-release/api-change-ecs-13431.json b/.changes/next-release/api-change-ecs-13431.json deleted file mode 100644 index 37ec93be9600..000000000000 --- a/.changes/next-release/api-change-ecs-13431.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ecs``", - "description": "This release introduces a new ContainerDefinition configuration to support the customer-managed keys for ECS container restart feature." -} diff --git a/.changes/next-release/api-change-iam-40614.json b/.changes/next-release/api-change-iam-40614.json deleted file mode 100644 index 18abb0da57ad..000000000000 --- a/.changes/next-release/api-change-iam-40614.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``iam``", - "description": "Make the LastUsedDate field in the GetAccessKeyLastUsed response optional. This may break customers who only call the API for access keys with a valid LastUsedDate. This fixes a deserialization issue for access keys without a LastUsedDate, because the field was marked as required but could be null." -} diff --git a/.changes/next-release/api-change-s3-23992.json b/.changes/next-release/api-change-s3-23992.json deleted file mode 100644 index be34e96d0ba6..000000000000 --- a/.changes/next-release/api-change-s3-23992.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``s3``", - "description": "Amazon Simple Storage Service / Features : Adds support for pagination in the S3 ListBuckets API." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index d43a7d76c97f..476e65e64797 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,15 @@ CHANGELOG ========= +1.33.44 +======= + +* api-change:``docdb``: This release adds Global Cluster Failover capability which enables you to change your global cluster's primary AWS region, the region that serves writes, during a regional outage. Performing a failover action preserves your Global Cluster setup. +* api-change:``ecs``: This release introduces a new ContainerDefinition configuration to support the customer-managed keys for ECS container restart feature. +* api-change:``iam``: Make the LastUsedDate field in the GetAccessKeyLastUsed response optional. This may break customers who only call the API for access keys with a valid LastUsedDate. This fixes a deserialization issue for access keys without a LastUsedDate, because the field was marked as required but could be null. +* api-change:``s3``: Amazon Simple Storage Service / Features : Adds support for pagination in the S3 ListBuckets API. + + 1.33.43 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 8ca17d055f4b..84217b1a60fa 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -17,7 +17,7 @@ """ import os -__version__ = '1.33.43' +__version__ = '1.33.44' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 9ab122076306..b28c3200fc83 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.33.' # The full version, including alpha/beta/rc tags. -release = '1.33.43' +release = '1.33.44' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 314ef108038a..7c98cf3fbdb6 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.34.161 + botocore==1.34.162 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 25d3aaa39d93..a4d88fe932e9 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.34.161', + 'botocore==1.34.162', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 8667ec408e9a2f2cc3d0a1463defb2f06e3637a2 Mon Sep 17 00:00:00 2001 From: Gokul Ramanathan Date: Tue, 13 Aug 2024 11:07:54 -0700 Subject: [PATCH 0150/1087] Update codeartifact login error message --- .../enhancement-codeartifact-32392.json | 5 +++++ awscli/customizations/codeartifact/login.py | 11 ++++++----- .../codeartifact/test_codeartifact_login.py | 19 +++++++++++++++++++ .../codeartifact/test_adapter_login.py | 15 +++++++++++++++ 4 files changed, 45 insertions(+), 5 deletions(-) create mode 100644 .changes/next-release/enhancement-codeartifact-32392.json diff --git a/.changes/next-release/enhancement-codeartifact-32392.json b/.changes/next-release/enhancement-codeartifact-32392.json new file mode 100644 index 000000000000..0b5b30bb23db --- /dev/null +++ b/.changes/next-release/enhancement-codeartifact-32392.json @@ -0,0 +1,5 @@ +{ + "type": "enhancement", + "category": "``codeartifact``", + "description": "Update login command error message." +} diff --git a/awscli/customizations/codeartifact/login.py b/awscli/customizations/codeartifact/login.py index d030bcb32eb5..6d1353fd46f7 100644 --- a/awscli/customizations/codeartifact/login.py +++ b/awscli/customizations/codeartifact/login.py @@ -38,8 +38,8 @@ def get_relative_expiration_time(remaining): class CommandFailedError(Exception): - def __init__(self, called_process_error): - msg = str(called_process_error) + def __init__(self, called_process_error, auth_token): + msg = str(called_process_error).replace(auth_token, '******') if called_process_error.stderr is not None: msg +=( f' Stderr from command:\n' @@ -105,7 +105,7 @@ def _run_command(self, tool, command, *, ignore_errors=False): ) except subprocess.CalledProcessError as ex: if not ignore_errors: - raise CommandFailedError(ex) + raise CommandFailedError(ex, self.auth_token) except OSError as ex: if ex.errno == errno.ENOENT: raise ValueError( @@ -305,7 +305,7 @@ def login(self, dry_run=False): ) except subprocess.CalledProcessError as e: uni_print('Failed to update the NuGet.Config\n') - raise CommandFailedError(e) + raise CommandFailedError(e, self.auth_token) uni_print(source_configured_message % source_name) self._write_success_message('nuget') @@ -725,7 +725,8 @@ class CodeArtifactLogin(BasicCommand): 'action': 'store_true', 'help_text': 'Only print the commands that would be executed ' 'to connect your tool with your repository without ' - 'making any changes to your configuration', + 'making any changes to your configuration. Note that ' + 'this prints the unredacted auth token as part of the output', 'required': False, 'default': False }, diff --git a/tests/functional/codeartifact/test_codeartifact_login.py b/tests/functional/codeartifact/test_codeartifact_login.py index d62a2da4e973..0715d7dab330 100644 --- a/tests/functional/codeartifact/test_codeartifact_login.py +++ b/tests/functional/codeartifact/test_codeartifact_login.py @@ -3,6 +3,7 @@ import platform import subprocess import time +import re from botocore.utils import parse_timestamp @@ -962,6 +963,24 @@ def test_pip_login_with_namespace_dry_run(self): 'Argument --namespace is not supported for pip', result.stderr ) + def test_pip_login_command_failed_auth_token_redacted(self): + def side_effect(command, capture_output, check): + raise subprocess.CalledProcessError( + returncode=1, + cmd=command + ) + + self.subprocess_mock.side_effect = side_effect + cmdline = self._setup_cmd(tool='pip') + result = self.cli_runner.run(cmdline) + self.assertEqual(result.rc, 255) + self.assertIn( + "Command '['pip', 'config', 'set', 'global.index-url'," + " 'https://aws:******@domain-domain-owner.codeartifact.aws.a2z.com/pypi/repository/simple/']'" + " returned non-zero exit status 1.", + result.stderr + ) + def test_twine_login_without_domain_owner(self): cmdline = self._setup_cmd(tool='twine') result = self.cli_runner.run(cmdline) diff --git a/tests/unit/customizations/codeartifact/test_adapter_login.py b/tests/unit/customizations/codeartifact/test_adapter_login.py index 592a98a0d8b3..890da3935011 100644 --- a/tests/unit/customizations/codeartifact/test_adapter_login.py +++ b/tests/unit/customizations/codeartifact/test_adapter_login.py @@ -68,6 +68,21 @@ def test_run_commands_command_failed(self): ): self.test_subject._run_commands('tool', ['cmd']) + def test_run_commands_command_failed_redact_auth_token(self): + error_to_be_caught = subprocess.CalledProcessError( + returncode=1, + cmd=['cmd', 'with', 'auth-token', 'present'], + output=None, + stderr=b'Command error message.' + ) + self.subprocess_utils.run.side_effect = error_to_be_caught + with self.assertRaisesRegex( + CommandFailedError, + (rf"(?=.*cmd)(?=.*with)(?!.*auth-token)(?=.*present)" + rf"(?=.*Stderr from command:\nCommand error message.)") + ): + self.test_subject._run_commands('tool', ['cmd']) + def test_run_commands_nonexistent_command(self): self.subprocess_utils.run.side_effect = OSError( errno.ENOENT, 'not found error' From 278c43c793bd32ee60af767bcdad7ffe15936d37 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 16 Aug 2024 18:05:30 +0000 Subject: [PATCH 0151/1087] Update changelog based on model updates --- .changes/next-release/api-change-batch-46974.json | 5 +++++ .changes/next-release/api-change-inspector2-69268.json | 5 +++++ .changes/next-release/api-change-quicksight-95401.json | 5 +++++ .changes/next-release/api-change-sagemaker-88528.json | 5 +++++ .changes/next-release/api-change-sesv2-83568.json | 5 +++++ 5 files changed, 25 insertions(+) create mode 100644 .changes/next-release/api-change-batch-46974.json create mode 100644 .changes/next-release/api-change-inspector2-69268.json create mode 100644 .changes/next-release/api-change-quicksight-95401.json create mode 100644 .changes/next-release/api-change-sagemaker-88528.json create mode 100644 .changes/next-release/api-change-sesv2-83568.json diff --git a/.changes/next-release/api-change-batch-46974.json b/.changes/next-release/api-change-batch-46974.json new file mode 100644 index 000000000000..921c82b4d574 --- /dev/null +++ b/.changes/next-release/api-change-batch-46974.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``batch``", + "description": "Improvements of integration between AWS Batch and EC2." +} diff --git a/.changes/next-release/api-change-inspector2-69268.json b/.changes/next-release/api-change-inspector2-69268.json new file mode 100644 index 000000000000..9ccfb74d6cda --- /dev/null +++ b/.changes/next-release/api-change-inspector2-69268.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``inspector2``", + "description": "Update the correct format of key and values for resource tags" +} diff --git a/.changes/next-release/api-change-quicksight-95401.json b/.changes/next-release/api-change-quicksight-95401.json new file mode 100644 index 000000000000..30d336077137 --- /dev/null +++ b/.changes/next-release/api-change-quicksight-95401.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``quicksight``", + "description": "Amazon QuickSight launches Customer Managed Key (CMK) encryption for Data Source metadata" +} diff --git a/.changes/next-release/api-change-sagemaker-88528.json b/.changes/next-release/api-change-sagemaker-88528.json new file mode 100644 index 000000000000..c3c9599a3e6b --- /dev/null +++ b/.changes/next-release/api-change-sagemaker-88528.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``sagemaker``", + "description": "Introduce Endpoint and EndpointConfig Arns in sagemaker:ListPipelineExecutionSteps API response" +} diff --git a/.changes/next-release/api-change-sesv2-83568.json b/.changes/next-release/api-change-sesv2-83568.json new file mode 100644 index 000000000000..25ac97d5a715 --- /dev/null +++ b/.changes/next-release/api-change-sesv2-83568.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``sesv2``", + "description": "Marking use case description field of account details as deprecated." +} From fe1a740f5e92e7806e94e3bab73f99cbb8db38bc Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 16 Aug 2024 18:06:59 +0000 Subject: [PATCH 0152/1087] Bumping version to 1.34.0 --- .changes/1.34.0.json | 32 +++++++++++++++++++ .../next-release/api-change-batch-46974.json | 5 --- .../api-change-inspector2-69268.json | 5 --- .../api-change-quicksight-95401.json | 5 --- .../api-change-sagemaker-88528.json | 5 --- .../next-release/api-change-sesv2-83568.json | 5 --- .../enhancement-codeartifact-32392.json | 5 --- CHANGELOG.rst | 11 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 4 +-- setup.cfg | 2 +- setup.py | 2 +- 12 files changed, 48 insertions(+), 35 deletions(-) create mode 100644 .changes/1.34.0.json delete mode 100644 .changes/next-release/api-change-batch-46974.json delete mode 100644 .changes/next-release/api-change-inspector2-69268.json delete mode 100644 .changes/next-release/api-change-quicksight-95401.json delete mode 100644 .changes/next-release/api-change-sagemaker-88528.json delete mode 100644 .changes/next-release/api-change-sesv2-83568.json delete mode 100644 .changes/next-release/enhancement-codeartifact-32392.json diff --git a/.changes/1.34.0.json b/.changes/1.34.0.json new file mode 100644 index 000000000000..cb4a18d67474 --- /dev/null +++ b/.changes/1.34.0.json @@ -0,0 +1,32 @@ +[ + { + "category": "``batch``", + "description": "Improvements of integration between AWS Batch and EC2.", + "type": "api-change" + }, + { + "category": "``inspector2``", + "description": "Update the correct format of key and values for resource tags", + "type": "api-change" + }, + { + "category": "``quicksight``", + "description": "Amazon QuickSight launches Customer Managed Key (CMK) encryption for Data Source metadata", + "type": "api-change" + }, + { + "category": "``sagemaker``", + "description": "Introduce Endpoint and EndpointConfig Arns in sagemaker:ListPipelineExecutionSteps API response", + "type": "api-change" + }, + { + "category": "``sesv2``", + "description": "Marking use case description field of account details as deprecated.", + "type": "api-change" + }, + { + "category": "``codeartifact``", + "description": "Update login command error message.", + "type": "enhancement" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-batch-46974.json b/.changes/next-release/api-change-batch-46974.json deleted file mode 100644 index 921c82b4d574..000000000000 --- a/.changes/next-release/api-change-batch-46974.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``batch``", - "description": "Improvements of integration between AWS Batch and EC2." -} diff --git a/.changes/next-release/api-change-inspector2-69268.json b/.changes/next-release/api-change-inspector2-69268.json deleted file mode 100644 index 9ccfb74d6cda..000000000000 --- a/.changes/next-release/api-change-inspector2-69268.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``inspector2``", - "description": "Update the correct format of key and values for resource tags" -} diff --git a/.changes/next-release/api-change-quicksight-95401.json b/.changes/next-release/api-change-quicksight-95401.json deleted file mode 100644 index 30d336077137..000000000000 --- a/.changes/next-release/api-change-quicksight-95401.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``quicksight``", - "description": "Amazon QuickSight launches Customer Managed Key (CMK) encryption for Data Source metadata" -} diff --git a/.changes/next-release/api-change-sagemaker-88528.json b/.changes/next-release/api-change-sagemaker-88528.json deleted file mode 100644 index c3c9599a3e6b..000000000000 --- a/.changes/next-release/api-change-sagemaker-88528.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``sagemaker``", - "description": "Introduce Endpoint and EndpointConfig Arns in sagemaker:ListPipelineExecutionSteps API response" -} diff --git a/.changes/next-release/api-change-sesv2-83568.json b/.changes/next-release/api-change-sesv2-83568.json deleted file mode 100644 index 25ac97d5a715..000000000000 --- a/.changes/next-release/api-change-sesv2-83568.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``sesv2``", - "description": "Marking use case description field of account details as deprecated." -} diff --git a/.changes/next-release/enhancement-codeartifact-32392.json b/.changes/next-release/enhancement-codeartifact-32392.json deleted file mode 100644 index 0b5b30bb23db..000000000000 --- a/.changes/next-release/enhancement-codeartifact-32392.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "enhancement", - "category": "``codeartifact``", - "description": "Update login command error message." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 476e65e64797..6c3ecf7e8e5f 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,17 @@ CHANGELOG ========= +1.34.0 +====== + +* api-change:``batch``: Improvements of integration between AWS Batch and EC2. +* api-change:``inspector2``: Update the correct format of key and values for resource tags +* api-change:``quicksight``: Amazon QuickSight launches Customer Managed Key (CMK) encryption for Data Source metadata +* api-change:``sagemaker``: Introduce Endpoint and EndpointConfig Arns in sagemaker:ListPipelineExecutionSteps API response +* api-change:``sesv2``: Marking use case description field of account details as deprecated. +* enhancement:``codeartifact``: Update login command error message. + + 1.33.44 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 84217b1a60fa..d1ad507363d4 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -17,7 +17,7 @@ """ import os -__version__ = '1.33.44' +__version__ = '1.34.0' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index b28c3200fc83..71ce2f3bcbc1 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -50,9 +50,9 @@ # built documents. # # The short X.Y version. -version = '1.33.' +version = '1.34' # The full version, including alpha/beta/rc tags. -release = '1.33.44' +release = '1.34.0' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 7c98cf3fbdb6..d62195ceee3f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.34.162 + botocore==1.35.0 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index a4d88fe932e9..2d3ee34077eb 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.34.162', + 'botocore==1.35.0', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 37724b6a441ea345934d74c1b4ca225327e4ab99 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 19 Aug 2024 20:41:09 +0000 Subject: [PATCH 0153/1087] Update changelog based on model updates --- .changes/next-release/api-change-bedrock-89424.json | 5 +++++ .changes/next-release/api-change-codebuild-47826.json | 5 +++++ .changes/next-release/api-change-deadline-34582.json | 5 +++++ .changes/next-release/api-change-lambda-15151.json | 5 +++++ .changes/next-release/api-change-ssmsap-46504.json | 5 +++++ 5 files changed, 25 insertions(+) create mode 100644 .changes/next-release/api-change-bedrock-89424.json create mode 100644 .changes/next-release/api-change-codebuild-47826.json create mode 100644 .changes/next-release/api-change-deadline-34582.json create mode 100644 .changes/next-release/api-change-lambda-15151.json create mode 100644 .changes/next-release/api-change-ssmsap-46504.json diff --git a/.changes/next-release/api-change-bedrock-89424.json b/.changes/next-release/api-change-bedrock-89424.json new file mode 100644 index 000000000000..ccd82981daff --- /dev/null +++ b/.changes/next-release/api-change-bedrock-89424.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock``", + "description": "Amazon Bedrock Batch Inference/ Model Invocation is a feature which allows customers to asynchronously run inference on a large set of records/files stored in S3." +} diff --git a/.changes/next-release/api-change-codebuild-47826.json b/.changes/next-release/api-change-codebuild-47826.json new file mode 100644 index 000000000000..c09fb8148ccb --- /dev/null +++ b/.changes/next-release/api-change-codebuild-47826.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``codebuild``", + "description": "AWS CodeBuild now supports creating fleets with macOS platform for running builds." +} diff --git a/.changes/next-release/api-change-deadline-34582.json b/.changes/next-release/api-change-deadline-34582.json new file mode 100644 index 000000000000..b814149a8f98 --- /dev/null +++ b/.changes/next-release/api-change-deadline-34582.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``deadline``", + "description": "This release adds additional search fields and provides sorting by multiple fields." +} diff --git a/.changes/next-release/api-change-lambda-15151.json b/.changes/next-release/api-change-lambda-15151.json new file mode 100644 index 000000000000..1b2e163b7614 --- /dev/null +++ b/.changes/next-release/api-change-lambda-15151.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``lambda``", + "description": "Release Lambda FunctionRecursiveConfig, enabling customers to turn recursive loop detection on or off on individual functions. This release adds two new APIs, GetFunctionRecursionConfig and PutFunctionRecursionConfig." +} diff --git a/.changes/next-release/api-change-ssmsap-46504.json b/.changes/next-release/api-change-ssmsap-46504.json new file mode 100644 index 000000000000..c373a29508df --- /dev/null +++ b/.changes/next-release/api-change-ssmsap-46504.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ssm-sap``", + "description": "Add new attributes to the outputs of GetApplication and GetDatabase APIs." +} From 7d82a26c4fb346cf9ac946d4c95e9b03fbd9e58b Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 19 Aug 2024 20:42:36 +0000 Subject: [PATCH 0154/1087] Bumping version to 1.34.1 --- .changes/1.34.1.json | 27 +++++++++++++++++++ .../api-change-bedrock-89424.json | 5 ---- .../api-change-codebuild-47826.json | 5 ---- .../api-change-deadline-34582.json | 5 ---- .../next-release/api-change-lambda-15151.json | 5 ---- .../next-release/api-change-ssmsap-46504.json | 5 ---- CHANGELOG.rst | 10 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 11 files changed, 41 insertions(+), 29 deletions(-) create mode 100644 .changes/1.34.1.json delete mode 100644 .changes/next-release/api-change-bedrock-89424.json delete mode 100644 .changes/next-release/api-change-codebuild-47826.json delete mode 100644 .changes/next-release/api-change-deadline-34582.json delete mode 100644 .changes/next-release/api-change-lambda-15151.json delete mode 100644 .changes/next-release/api-change-ssmsap-46504.json diff --git a/.changes/1.34.1.json b/.changes/1.34.1.json new file mode 100644 index 000000000000..445c1a3aeba4 --- /dev/null +++ b/.changes/1.34.1.json @@ -0,0 +1,27 @@ +[ + { + "category": "``bedrock``", + "description": "Amazon Bedrock Batch Inference/ Model Invocation is a feature which allows customers to asynchronously run inference on a large set of records/files stored in S3.", + "type": "api-change" + }, + { + "category": "``codebuild``", + "description": "AWS CodeBuild now supports creating fleets with macOS platform for running builds.", + "type": "api-change" + }, + { + "category": "``deadline``", + "description": "This release adds additional search fields and provides sorting by multiple fields.", + "type": "api-change" + }, + { + "category": "``lambda``", + "description": "Release Lambda FunctionRecursiveConfig, enabling customers to turn recursive loop detection on or off on individual functions. This release adds two new APIs, GetFunctionRecursionConfig and PutFunctionRecursionConfig.", + "type": "api-change" + }, + { + "category": "``ssm-sap``", + "description": "Add new attributes to the outputs of GetApplication and GetDatabase APIs.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-bedrock-89424.json b/.changes/next-release/api-change-bedrock-89424.json deleted file mode 100644 index ccd82981daff..000000000000 --- a/.changes/next-release/api-change-bedrock-89424.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock``", - "description": "Amazon Bedrock Batch Inference/ Model Invocation is a feature which allows customers to asynchronously run inference on a large set of records/files stored in S3." -} diff --git a/.changes/next-release/api-change-codebuild-47826.json b/.changes/next-release/api-change-codebuild-47826.json deleted file mode 100644 index c09fb8148ccb..000000000000 --- a/.changes/next-release/api-change-codebuild-47826.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``codebuild``", - "description": "AWS CodeBuild now supports creating fleets with macOS platform for running builds." -} diff --git a/.changes/next-release/api-change-deadline-34582.json b/.changes/next-release/api-change-deadline-34582.json deleted file mode 100644 index b814149a8f98..000000000000 --- a/.changes/next-release/api-change-deadline-34582.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``deadline``", - "description": "This release adds additional search fields and provides sorting by multiple fields." -} diff --git a/.changes/next-release/api-change-lambda-15151.json b/.changes/next-release/api-change-lambda-15151.json deleted file mode 100644 index 1b2e163b7614..000000000000 --- a/.changes/next-release/api-change-lambda-15151.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``lambda``", - "description": "Release Lambda FunctionRecursiveConfig, enabling customers to turn recursive loop detection on or off on individual functions. This release adds two new APIs, GetFunctionRecursionConfig and PutFunctionRecursionConfig." -} diff --git a/.changes/next-release/api-change-ssmsap-46504.json b/.changes/next-release/api-change-ssmsap-46504.json deleted file mode 100644 index c373a29508df..000000000000 --- a/.changes/next-release/api-change-ssmsap-46504.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ssm-sap``", - "description": "Add new attributes to the outputs of GetApplication and GetDatabase APIs." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 6c3ecf7e8e5f..805706bd8154 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,16 @@ CHANGELOG ========= +1.34.1 +====== + +* api-change:``bedrock``: Amazon Bedrock Batch Inference/ Model Invocation is a feature which allows customers to asynchronously run inference on a large set of records/files stored in S3. +* api-change:``codebuild``: AWS CodeBuild now supports creating fleets with macOS platform for running builds. +* api-change:``deadline``: This release adds additional search fields and provides sorting by multiple fields. +* api-change:``lambda``: Release Lambda FunctionRecursiveConfig, enabling customers to turn recursive loop detection on or off on individual functions. This release adds two new APIs, GetFunctionRecursionConfig and PutFunctionRecursionConfig. +* api-change:``ssm-sap``: Add new attributes to the outputs of GetApplication and GetDatabase APIs. + + 1.34.0 ====== diff --git a/awscli/__init__.py b/awscli/__init__.py index d1ad507363d4..b1684b73eb96 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -17,7 +17,7 @@ """ import os -__version__ = '1.34.0' +__version__ = '1.34.1' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 71ce2f3bcbc1..e3978963931a 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.34' # The full version, including alpha/beta/rc tags. -release = '1.34.0' +release = '1.34.1' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index d62195ceee3f..16a784906134 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.0 + botocore==1.35.1 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 2d3ee34077eb..a35b6d819d9f 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.0', + 'botocore==1.35.1', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From f780499d7e97508ec4968eb42447adf0eba622d9 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 20 Aug 2024 18:20:02 +0000 Subject: [PATCH 0155/1087] Update changelog based on model updates --- .changes/next-release/api-change-ecs-11316.json | 5 +++++ .../next-release/api-change-opensearchserverless-88286.json | 5 +++++ .changes/next-release/api-change-s3-28439.json | 5 +++++ 3 files changed, 15 insertions(+) create mode 100644 .changes/next-release/api-change-ecs-11316.json create mode 100644 .changes/next-release/api-change-opensearchserverless-88286.json create mode 100644 .changes/next-release/api-change-s3-28439.json diff --git a/.changes/next-release/api-change-ecs-11316.json b/.changes/next-release/api-change-ecs-11316.json new file mode 100644 index 000000000000..96b817a432da --- /dev/null +++ b/.changes/next-release/api-change-ecs-11316.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ecs``", + "description": "Documentation only release to address various tickets" +} diff --git a/.changes/next-release/api-change-opensearchserverless-88286.json b/.changes/next-release/api-change-opensearchserverless-88286.json new file mode 100644 index 000000000000..a9af2434c324 --- /dev/null +++ b/.changes/next-release/api-change-opensearchserverless-88286.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``opensearchserverless``", + "description": "Added FailureCode and FailureMessage to BatchGetCollectionResponse for BatchGetVPCEResponse for non-Active Collection and VPCE." +} diff --git a/.changes/next-release/api-change-s3-28439.json b/.changes/next-release/api-change-s3-28439.json new file mode 100644 index 000000000000..764678e0a2a1 --- /dev/null +++ b/.changes/next-release/api-change-s3-28439.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``s3``", + "description": "Amazon Simple Storage Service / Features : Add support for conditional writes for PutObject and CompleteMultipartUpload APIs." +} From 70bfd9182c15149e6a44ffe3bb445ba6e3864940 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 20 Aug 2024 18:21:27 +0000 Subject: [PATCH 0156/1087] Bumping version to 1.34.2 --- .changes/1.34.2.json | 17 +++++++++++++++++ .changes/next-release/api-change-ecs-11316.json | 5 ----- .../api-change-opensearchserverless-88286.json | 5 ----- .changes/next-release/api-change-s3-28439.json | 5 ----- CHANGELOG.rst | 8 ++++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 9 files changed, 29 insertions(+), 19 deletions(-) create mode 100644 .changes/1.34.2.json delete mode 100644 .changes/next-release/api-change-ecs-11316.json delete mode 100644 .changes/next-release/api-change-opensearchserverless-88286.json delete mode 100644 .changes/next-release/api-change-s3-28439.json diff --git a/.changes/1.34.2.json b/.changes/1.34.2.json new file mode 100644 index 000000000000..d61655d0d72e --- /dev/null +++ b/.changes/1.34.2.json @@ -0,0 +1,17 @@ +[ + { + "category": "``ecs``", + "description": "Documentation only release to address various tickets", + "type": "api-change" + }, + { + "category": "``opensearchserverless``", + "description": "Added FailureCode and FailureMessage to BatchGetCollectionResponse for BatchGetVPCEResponse for non-Active Collection and VPCE.", + "type": "api-change" + }, + { + "category": "``s3``", + "description": "Amazon Simple Storage Service / Features : Add support for conditional writes for PutObject and CompleteMultipartUpload APIs.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-ecs-11316.json b/.changes/next-release/api-change-ecs-11316.json deleted file mode 100644 index 96b817a432da..000000000000 --- a/.changes/next-release/api-change-ecs-11316.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ecs``", - "description": "Documentation only release to address various tickets" -} diff --git a/.changes/next-release/api-change-opensearchserverless-88286.json b/.changes/next-release/api-change-opensearchserverless-88286.json deleted file mode 100644 index a9af2434c324..000000000000 --- a/.changes/next-release/api-change-opensearchserverless-88286.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``opensearchserverless``", - "description": "Added FailureCode and FailureMessage to BatchGetCollectionResponse for BatchGetVPCEResponse for non-Active Collection and VPCE." -} diff --git a/.changes/next-release/api-change-s3-28439.json b/.changes/next-release/api-change-s3-28439.json deleted file mode 100644 index 764678e0a2a1..000000000000 --- a/.changes/next-release/api-change-s3-28439.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``s3``", - "description": "Amazon Simple Storage Service / Features : Add support for conditional writes for PutObject and CompleteMultipartUpload APIs." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 805706bd8154..2771e669d5f9 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,14 @@ CHANGELOG ========= +1.34.2 +====== + +* api-change:``ecs``: Documentation only release to address various tickets +* api-change:``opensearchserverless``: Added FailureCode and FailureMessage to BatchGetCollectionResponse for BatchGetVPCEResponse for non-Active Collection and VPCE. +* api-change:``s3``: Amazon Simple Storage Service / Features : Add support for conditional writes for PutObject and CompleteMultipartUpload APIs. + + 1.34.1 ====== diff --git a/awscli/__init__.py b/awscli/__init__.py index b1684b73eb96..5763e0fef640 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -17,7 +17,7 @@ """ import os -__version__ = '1.34.1' +__version__ = '1.34.2' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index e3978963931a..6449fd6f7f55 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.34' # The full version, including alpha/beta/rc tags. -release = '1.34.1' +release = '1.34.2' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 16a784906134..430ae88e421b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.1 + botocore==1.35.2 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index a35b6d819d9f..1ed923bac288 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.1', + 'botocore==1.35.2', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 8d368f295aacd60814331c7313fdd7f14769fb03 Mon Sep 17 00:00:00 2001 From: Nate Prewitt Date: Tue, 20 Aug 2024 13:35:21 -0600 Subject: [PATCH 0157/1087] Add ruff config for awscli --- .pre-commit-config.yaml | 26 ++++++++++++++++ pyproject.toml | 67 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 93 insertions(+) create mode 100644 .pre-commit-config.yaml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 000000000000..09390283b367 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,26 @@ +exclude: "\ + ^(\ + .github|\ + .changes|\ + docs/|\ + awscli/examples|\ + CHANGELOG.rst\ + )" +repos: + - repo: 'https://github.com/pre-commit/pre-commit-hooks' + rev: v4.5.0 + hooks: + - id: check-yaml + - id: end-of-file-fixer + - id: trailing-whitespace + - repo: 'https://github.com/PyCQA/isort' + rev: 5.12.0 + hooks: + - id: isort + - repo: https://github.com/astral-sh/ruff-pre-commit + rev: v0.4.8 + hooks: + - id: ruff + args: [ --fix ] + - id: ruff-format + diff --git a/pyproject.toml b/pyproject.toml index eee75d134c36..ef0c6ae80aa7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,3 +3,70 @@ markers = [ "slow: marks tests as slow", "validates_models: marks tests as one which validates service models", ] + +[tool.isort] +profile = "black" +line_length = 79 +honor_noqa = true +src_paths = ["awscli", "tests"] + +[tool.ruff] +exclude = [ + ".bzr", + ".direnv", + ".eggs", + ".git", + ".git-rewrite", + ".hg", + ".ipynb_checkpoints", + ".mypy_cache", + ".nox", + ".pants.d", + ".pyenv", + ".pytest_cache", + ".pytype", + ".ruff_cache", + ".svn", + ".tox", + ".venv", + ".vscode", + "__pypackages__", + "_build", + "buck-out", + "build", + "dist", + "node_modules", + "site-packages", + "venv", +] + +# Format same as Black. +line-length = 79 +indent-width = 4 + +target-version = "py38" + +[tool.ruff.lint] +# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default. +# Unlike Flake8, Ruff doesn't enable pycodestyle warnings (`W`) or +# McCabe complexity (`C901`) by default. +select = ["E4", "E7", "E9", "F", "UP"] +ignore = [] + +# Allow fix for all enabled rules (when `--fix`) is provided. +fixable = ["ALL"] +unfixable = [] + +# Allow unused variables when underscore-prefixed. +dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$" + +[tool.ruff.format] +# Like Black, use double quotes for strings, spaces for indents +# and trailing commas. +quote-style = "preserve" +indent-style = "space" +skip-magic-trailing-comma = false +line-ending = "auto" + +docstring-code-format = false +docstring-code-line-length = "dynamic" From 9a2e0478529517390f6824d12ae66a8fd722077f Mon Sep 17 00:00:00 2001 From: Nate Prewitt Date: Tue, 20 Aug 2024 14:24:39 -0600 Subject: [PATCH 0158/1087] Format base *.py files at top level awscli directory --- MANIFEST.in | 1 + awscli/__init__.py | 17 +- awscli/__main__.py | 1 - awscli/alias.py | 97 +++++----- awscli/argparser.py | 70 +++++--- awscli/argprocess.py | 207 ++++++++++++--------- awscli/arguments.py | 139 ++++++++++----- awscli/bcdoc/docstringparser.py | 17 +- awscli/clidocs.py | 216 +++++++++++----------- awscli/clidriver.py | 306 +++++++++++++++++++------------- awscli/commands.py | 3 +- awscli/compat.py | 160 +++++++++-------- awscli/completer.py | 36 ++-- awscli/errorhandler.py | 43 +++-- awscli/formatter.py | 66 +++---- awscli/handlers.py | 140 +++++++++------ awscli/help.py | 82 +++++---- awscli/paramfile.py | 255 +++++++++++++------------- awscli/schema.py | 8 +- awscli/shorthand.py | 112 ++++++------ awscli/table.py | 170 ++++++++++++------ awscli/testutils.py | 292 +++++++++++++++++------------- awscli/text.py | 17 +- awscli/topictags.py | 36 ++-- awscli/utils.py | 43 +++-- 25 files changed, 1468 insertions(+), 1066 deletions(-) diff --git a/MANIFEST.in b/MANIFEST.in index 7295cf117791..34fb540e8276 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -2,6 +2,7 @@ include README.rst include LICENSE.txt include requirements.txt include UPGRADE_PY3.md +include .pre-commit-config.yaml recursive-include awscli/examples *.rst *.txt recursive-include awscli/data *.json recursive-include awscli/topics *.rst *.json diff --git a/awscli/__init__.py b/awscli/__init__.py index b1684b73eb96..d7653f198b00 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -15,6 +15,7 @@ ---- A Universal Command Line Environment for Amazon Web Services. """ + import os __version__ = '1.34.1' @@ -40,8 +41,16 @@ } -SCALAR_TYPES = set([ - 'string', 'float', 'integer', 'long', 'boolean', 'double', - 'blob', 'timestamp' -]) +SCALAR_TYPES = set( + [ + 'string', + 'float', + 'integer', + 'long', + 'boolean', + 'double', + 'blob', + 'timestamp', + ] +) COMPLEX_TYPES = set(['structure', 'map', 'list']) diff --git a/awscli/__main__.py b/awscli/__main__.py index 7d49ba7f871c..63263a3cb831 100644 --- a/awscli/__main__.py +++ b/awscli/__main__.py @@ -16,6 +16,5 @@ from awscli.clidriver import main - if __name__ == "__main__": sys.exit(main()) diff --git a/awscli/alias.py b/awscli/alias.py index 697fa4322857..d44821439ee9 100644 --- a/awscli/alias.py +++ b/awscli/alias.py @@ -17,11 +17,10 @@ from botocore.configloader import raw_config_parse -from awscli.compat import compat_shell_quote from awscli.commands import CLICommand +from awscli.compat import compat_shell_quote from awscli.utils import emit_top_level_args_parsed_event - LOG = logging.getLogger(__name__) @@ -29,10 +28,13 @@ class InvalidAliasException(Exception): pass -class AliasLoader(object): - def __init__(self, - alias_filename=os.path.expanduser( - os.path.join('~', '.aws', 'cli', 'alias'))): +class AliasLoader: + def __init__( + self, + alias_filename=os.path.expanduser( + os.path.join('~', '.aws', 'cli', 'alias') + ), + ): """Interface for loading and interacting with alias file :param alias_filename: The name of the file to load aliases from. @@ -47,8 +49,7 @@ def _build_aliases(self): def _load_aliases(self): if os.path.exists(self._filename): - return raw_config_parse( - self._filename, parse_subsections=False) + return raw_config_parse(self._filename, parse_subsections=False) return {'toplevel': {}} def _cleanup_alias_values(self, aliases): @@ -63,7 +64,7 @@ def get_aliases(self): return self._aliases.get('toplevel', {}) -class AliasCommandInjector(object): +class AliasCommandInjector: def __init__(self, session, alias_loader): """Injects alias commands for a command table @@ -77,22 +78,26 @@ def __init__(self, session, alias_loader): self._alias_loader = alias_loader def inject_aliases(self, command_table, parser): - for alias_name, alias_value in \ - self._alias_loader.get_aliases().items(): + for ( + alias_name, + alias_value, + ) in self._alias_loader.get_aliases().items(): if alias_value.startswith('!'): alias_cmd = ExternalAliasCommand(alias_name, alias_value) else: service_alias_cmd_args = [ - alias_name, alias_value, self._session, command_table, - parser + alias_name, + alias_value, + self._session, + command_table, + parser, ] # If the alias name matches something already in the # command table provide the command it is about # to clobber as a possible reference that it will # need to proxy to. if alias_name in command_table: - service_alias_cmd_args.append( - command_table[alias_name]) + service_alias_cmd_args.append(command_table[alias_name]) alias_cmd = ServiceAliasCommand(*service_alias_cmd_args) command_table[alias_name] = alias_cmd @@ -126,13 +131,17 @@ def name(self, value): class ServiceAliasCommand(BaseAliasCommand): - UNSUPPORTED_GLOBAL_PARAMETERS = [ - 'debug', - 'profile' - ] - - def __init__(self, alias_name, alias_value, session, command_table, - parser, shadow_proxy_command=None): + UNSUPPORTED_GLOBAL_PARAMETERS = ('debug', 'profile') + + def __init__( + self, + alias_name, + alias_value, + session, + command_table, + parser, + shadow_proxy_command=None, + ): """Command for a `toplevel` subcommand alias :type alias_name: string @@ -163,7 +172,7 @@ def __init__(self, alias_name, alias_value, session, command_table, to this command as opposed to proxy to itself in the command table """ - super(ServiceAliasCommand, self).__init__(alias_name, alias_value) + super().__init__(alias_name, alias_value) self._session = session self._command_table = command_table self._parser = parser @@ -172,14 +181,18 @@ def __init__(self, alias_name, alias_value, session, command_table, def __call__(self, args, parsed_globals): alias_args = self._get_alias_args() parsed_alias_args, remaining = self._parser.parse_known_args( - alias_args) + alias_args + ) self._update_parsed_globals(parsed_alias_args, parsed_globals) # Take any of the remaining arguments that were not parsed out and # prepend them to the remaining args provided to the alias. remaining.extend(args) LOG.debug( 'Alias %r passing on arguments: %r to %r command', - self._alias_name, remaining, parsed_alias_args.command) + self._alias_name, + remaining, + parsed_alias_args.command, + ) # Pass the update remaining args and global args to the service command # the alias proxied to. command = self._command_table[parsed_alias_args.command] @@ -190,9 +203,9 @@ def __call__(self, args, parsed_globals): # a built-in command. if shadow_name == parsed_alias_args.command: LOG.debug( - 'Using shadowed command object: %s ' - 'for alias: %s', self._shadow_proxy_command, - self._alias_name + 'Using shadowed command object: %s for alias: %s', + self._shadow_proxy_command, + self._alias_name, ) command = self._shadow_proxy_command return command(remaining, parsed_globals) @@ -202,21 +215,23 @@ def _get_alias_args(self): alias_args = shlex.split(self._alias_value) except ValueError as e: raise InvalidAliasException( - 'Value of alias "%s" could not be parsed. ' - 'Received error: %s when parsing:\n%s' % ( - self._alias_name, e, self._alias_value) + f'Value of alias "{self._alias_name}" could not be parsed. ' + f'Received error: {e} when parsing:\n{self._alias_value}' ) alias_args = [arg.strip(os.linesep) for arg in alias_args] LOG.debug( 'Expanded subcommand alias %r with value: %r to: %r', - self._alias_name, self._alias_value, alias_args + self._alias_name, + self._alias_value, + alias_args, ) return alias_args def _update_parsed_globals(self, parsed_alias_args, parsed_globals): global_params_to_update = self._get_global_parameters_to_update( - parsed_alias_args) + parsed_alias_args + ) # Emit the top level args parsed event to ensure all possible # customizations that typically get applied are applied to the # global parameters provided in the alias before updating @@ -241,9 +256,10 @@ def _get_global_parameters_to_update(self, parsed_alias_args): if self._parser.get_default(parsed_param) != value: if parsed_param in self.UNSUPPORTED_GLOBAL_PARAMETERS: raise InvalidAliasException( - 'Global parameter "--%s" detected in alias "%s" ' - 'which is not support in subcommand aliases.' % ( - parsed_param, self._alias_name)) + f'Global parameter "--{parsed_param}" detected in alias ' + f'"{self._alias_name}" which is not support in ' + 'subcommand aliases.' + ) else: global_params_to_update.append(parsed_param) return global_params_to_update @@ -272,12 +288,13 @@ def __init__(self, alias_name, alias_value, invoker=subprocess.call): self._invoker = invoker def __call__(self, args, parsed_globals): - command_components = [ - self._alias_value[1:] - ] + command_components = [self._alias_value[1:]] command_components.extend(compat_shell_quote(a) for a in args) command = ' '.join(command_components) LOG.debug( 'Using external alias %r with value: %r to run: %r', - self._alias_name, self._alias_value, command) + self._alias_name, + self._alias_value, + command, + ) return self._invoker(command, shell=True) diff --git a/awscli/argparser.py b/awscli/argparser.py index 2bb41f8ec01c..c50634e469da 100644 --- a/awscli/argparser.py +++ b/awscli/argparser.py @@ -14,7 +14,6 @@ import sys from difflib import get_close_matches - AWS_CLI_V2_MESSAGE = ( 'Note: AWS CLI version 2, the latest major version ' 'of the AWS CLI, is now stable and recommended for general ' @@ -45,9 +44,10 @@ class CommandAction(argparse.Action): are dynamically retrieved from the keys of the referenced command table """ + def __init__(self, option_strings, dest, command_table, **kwargs): self.command_table = command_table - super(CommandAction, self).__init__( + super().__init__( option_strings, dest, choices=self.choices, **kwargs ) @@ -83,9 +83,9 @@ def _check_value(self, action, value): # converted value must be one of the choices (if specified) if action.choices is not None and value not in action.choices: msg = ['Invalid choice, valid choices are:\n'] - for i in range(len(action.choices))[::self.ChoicesPerLine]: + for i in range(len(action.choices))[:: self.ChoicesPerLine]: current = [] - for choice in action.choices[i:i+self.ChoicesPerLine]: + for choice in action.choices[i : i + self.ChoicesPerLine]: current.append('%-40s' % choice) msg.append(' | '.join(current)) possible = get_close_matches(value, action.choices, cutoff=0.8) @@ -97,7 +97,9 @@ def _check_value(self, action, value): raise argparse.ArgumentError(action, '\n'.join(msg)) def parse_known_args(self, args, namespace=None): - parsed, remaining = super(CLIArgParser, self).parse_known_args(args, namespace) + parsed, remaining = super().parse_known_args( + args, namespace + ) terminal_encoding = getattr(sys.stdin, 'encoding', 'utf-8') if terminal_encoding is None: # In some cases, sys.stdin won't have an encoding set, @@ -121,15 +123,22 @@ def parse_known_args(self, args, namespace=None): class MainArgParser(CLIArgParser): Formatter = argparse.RawTextHelpFormatter - def __init__(self, command_table, version_string, - description, argument_table, prog=None): - super(MainArgParser, self).__init__( + def __init__( + self, + command_table, + version_string, + description, + argument_table, + prog=None, + ): + super().__init__( formatter_class=self.Formatter, add_help=False, conflict_handler='resolve', description=description, usage=USAGE, - prog=prog) + prog=prog, + ) self._build(command_table, version_string, argument_table) def _create_choice_help(self, choices): @@ -142,27 +151,32 @@ def _build(self, command_table, version_string, argument_table): for argument_name in argument_table: argument = argument_table[argument_name] argument.add_to_parser(self) - self.add_argument('--version', action="version", - version=version_string, - help='Display the version of this tool') - self.add_argument('command', action=CommandAction, - command_table=command_table) + self.add_argument( + '--version', + action="version", + version=version_string, + help='Display the version of this tool', + ) + self.add_argument( + 'command', action=CommandAction, command_table=command_table + ) class ServiceArgParser(CLIArgParser): - def __init__(self, operations_table, service_name): - super(ServiceArgParser, self).__init__( + super().__init__( formatter_class=argparse.RawTextHelpFormatter, add_help=False, conflict_handler='resolve', - usage=USAGE) + usage=USAGE, + ) self._build(operations_table) self._service_name = service_name def _build(self, operations_table): - self.add_argument('operation', action=CommandAction, - command_table=operations_table) + self.add_argument( + 'operation', action=CommandAction, command_table=operations_table + ) class ArgTableArgParser(CLIArgParser): @@ -172,11 +186,12 @@ def __init__(self, argument_table, command_table=None): # command_table is an optional subcommand_table. If it's passed # in, then we'll update the argparse to parse a 'subcommand' argument # and populate the choices field with the command table keys. - super(ArgTableArgParser, self).__init__( + super().__init__( formatter_class=self.Formatter, add_help=False, usage=USAGE, - conflict_handler='resolve') + conflict_handler='resolve', + ) if command_table is None: command_table = {} self._build(argument_table, command_table) @@ -186,8 +201,12 @@ def _build(self, argument_table, command_table): argument = argument_table[arg_name] argument.add_to_parser(self) if command_table: - self.add_argument('subcommand', action=CommandAction, - command_table=command_table, nargs='?') + self.add_argument( + 'subcommand', + action=CommandAction, + command_table=command_table, + nargs='?', + ) def parse_known_args(self, args, namespace=None): if len(args) == 1 and args[0] == 'help': @@ -195,5 +214,6 @@ def parse_known_args(self, args, namespace=None): namespace.help = 'help' return namespace, [] else: - return super(ArgTableArgParser, self).parse_known_args( - args, namespace) + return super().parse_known_args( + args, namespace + ) diff --git a/awscli/argprocess.py b/awscli/argprocess.py index c65fd83a067d..14bc648e3edd 100644 --- a/awscli/argprocess.py +++ b/awscli/argprocess.py @@ -11,18 +11,19 @@ # ANY KIND, either express or implied. See the License for the specific # language governing permissions and limitations under the License. """Module for processing CLI args.""" -import os + import logging +import os from botocore.compat import OrderedDict, json +from botocore.utils import is_json_value_header -from awscli import SCALAR_TYPES, COMPLEX_TYPES -from awscli import shorthand +from awscli import COMPLEX_TYPES, SCALAR_TYPES, shorthand from awscli.utils import ( - find_service_and_method_in_event_name, is_document_type, - is_document_type_container + find_service_and_method_in_event_name, + is_document_type, + is_document_type_container, ) -from botocore.utils import is_json_value_header LOG = logging.getLogger('awscli.argprocess') @@ -40,9 +41,8 @@ def __init__(self, cli_name, message): :param message: The error message to display to the user. """ - full_message = ("Error parsing parameter '%s': %s" % - (cli_name, message)) - super(ParamError, self).__init__(full_message) + full_message = "Error parsing parameter '%s': %s" % (cli_name, message) + super().__init__(full_message) self.cli_name = cli_name self.message = message @@ -55,16 +55,18 @@ class ParamUnknownKeyError(Exception): def __init__(self, key, valid_keys): valid_keys = ', '.join(valid_keys) full_message = ( - "Unknown key '%s', valid choices " - "are: %s" % (key, valid_keys)) - super(ParamUnknownKeyError, self).__init__(full_message) + f"Unknown key '{key}', valid choices are: {valid_key}" + ) + super().__init__(full_message) class TooComplexError(Exception): pass -def unpack_argument(session, service_name, operation_name, cli_argument, value): +def unpack_argument( + session, service_name, operation_name, cli_argument, value +): """ Unpack an argument's value from the commandline. This is part one of a two step process in handling commandline arguments. Emits the load-cli-arg @@ -76,11 +78,12 @@ def unpack_argument(session, service_name, operation_name, cli_argument, value): param_name = getattr(cli_argument, 'name', 'anonymous') value_override = session.emit_first_non_none_response( - 'load-cli-arg.%s.%s.%s' % (service_name, - operation_name, - param_name), - param=cli_argument, value=value, service_name=service_name, - operation_name=operation_name) + f'load-cli-arg.{service_name}.{operation_name}.{param_name}', + param=cli_argument, + value=value, + service_name=service_name, + operation_name=operation_name, + ) if value_override is not None: value = value_override @@ -102,8 +105,10 @@ def _detect_shape_structure(param, stack): if param.type_name in SCALAR_TYPES: return 'scalar' elif param.type_name == 'structure': - sub_types = [_detect_shape_structure(p, stack) - for p in param.members.values()] + sub_types = [ + _detect_shape_structure(p, stack) + for p in param.members.values() + ] # We're distinguishing between structure(scalar) # and structure(scalars), because for the case of # a single scalar in a structure we can simplify @@ -141,29 +146,31 @@ def unpack_cli_arg(cli_argument, value): :return: The "unpacked" argument than can be sent to the `Operation` object in python. """ - return _unpack_cli_arg(cli_argument.argument_model, value, - cli_argument.cli_name) + return _unpack_cli_arg( + cli_argument.argument_model, value, cli_argument.cli_name + ) def _special_type(model): # check if model is jsonvalue header and that value is serializable - if model.serialization.get('jsonvalue') and \ - model.serialization.get('location') == 'header' and \ - model.type_name == 'string': + if ( + model.serialization.get('jsonvalue') + and model.serialization.get('location') == 'header' + and model.type_name == 'string' + ): return True return False def _unpack_cli_arg(argument_model, value, cli_name): - if is_json_value_header(argument_model) or \ - is_document_type(argument_model): + if is_json_value_header(argument_model) or is_document_type( + argument_model + ): return _unpack_json_cli_arg(argument_model, value, cli_name) elif argument_model.type_name in SCALAR_TYPES: - return unpack_scalar_cli_arg( - argument_model, value, cli_name) + return unpack_scalar_cli_arg(argument_model, value, cli_name) elif argument_model.type_name in COMPLEX_TYPES: - return _unpack_complex_cli_arg( - argument_model, value, cli_name) + return _unpack_complex_cli_arg(argument_model, value, cli_name) else: return str(value) @@ -173,8 +180,8 @@ def _unpack_json_cli_arg(argument_model, value, cli_name): return json.loads(value, object_pairs_hook=OrderedDict) except ValueError as e: raise ParamError( - cli_name, "Invalid JSON: %s\nJSON received: %s" - % (e, value)) + cli_name, f"Invalid JSON: {e}\nJSON received: {value}" + ) def _unpack_complex_cli_arg(argument_model, value, cli_name): @@ -182,7 +189,7 @@ def _unpack_complex_cli_arg(argument_model, value, cli_name): if type_name == 'structure' or type_name == 'map': if value.lstrip()[0] == '{': return _unpack_json_cli_arg(argument_model, value, cli_name) - raise ParamError(cli_name, "Invalid JSON:\n%s" % value) + raise ParamError(cli_name, f"Invalid JSON:\n{value}") elif type_name == 'list': if isinstance(value, str): if value.lstrip()[0] == '[': @@ -198,9 +205,10 @@ def _unpack_complex_cli_arg(argument_model, value, cli_name): # 2. It's possible this is a list of json objects: # --filters '{"Name": ..}' '{"Name": ...}' member_shape_model = argument_model.member - return [_unpack_cli_arg(member_shape_model, v, cli_name) - for v in value] - except (ValueError, TypeError) as e: + return [ + _unpack_cli_arg(member_shape_model, v, cli_name) for v in value + ] + except (ValueError, TypeError): # The list params don't have a name/cli_name attached to them # so they will have bad error messages. We're going to # attach the parent parameter to this error message to provide @@ -211,13 +219,21 @@ def _unpack_complex_cli_arg(argument_model, value, cli_name): def unpack_scalar_cli_arg(argument_model, value, cli_name=''): # Note the cli_name is used strictly for error reporting. It's # not required to use unpack_scalar_cli_arg - if argument_model.type_name == 'integer' or argument_model.type_name == 'long': + if ( + argument_model.type_name == 'integer' + or argument_model.type_name == 'long' + ): return int(value) - elif argument_model.type_name == 'float' or argument_model.type_name == 'double': + elif ( + argument_model.type_name == 'float' + or argument_model.type_name == 'double' + ): # TODO: losing precision on double types return float(value) - elif argument_model.type_name == 'blob' and \ - argument_model.serialization.get('streaming'): + elif ( + argument_model.type_name == 'blob' + and argument_model.serialization.get('streaming') + ): file_path = os.path.expandvars(value) file_path = os.path.expanduser(file_path) if not os.path.isfile(file_path): @@ -256,8 +272,7 @@ def _is_complex_shape(model): return True -class ParamShorthand(object): - +class ParamShorthand: def _uses_old_list_case(self, service_id, operation_name, argument_name): """ Determines whether a given operation for a service needs to use the @@ -265,27 +280,24 @@ def _uses_old_list_case(self, service_id, operation_name, argument_name): a single member. """ cases = { - 'firehose': { - 'put-record-batch': ['records'] - }, + 'firehose': {'put-record-batch': ['records']}, 'workspaces': { 'reboot-workspaces': ['reboot-workspace-requests'], 'rebuild-workspaces': ['rebuild-workspace-requests'], - 'terminate-workspaces': ['terminate-workspace-requests'] + 'terminate-workspaces': ['terminate-workspace-requests'], }, 'elastic-load-balancing': { 'remove-tags': ['tags'], 'describe-instance-health': ['instances'], 'deregister-instances-from-load-balancer': ['instances'], - 'register-instances-with-load-balancer': ['instances'] - } + 'register-instances-with-load-balancer': ['instances'], + }, } cases = cases.get(service_id, {}).get(operation_name, []) return argument_name in cases class ParamShorthandParser(ParamShorthand): - def __init__(self): self._parser = shorthand.ShorthandParser() self._visitor = shorthand.BackCompatVisitor() @@ -321,18 +333,21 @@ def __call__(self, cli_argument, value, event_name, **kwargs): if not self._should_parse_as_shorthand(cli_argument, value): return else: - service_id, operation_name = \ - find_service_and_method_in_event_name(event_name) + service_id, operation_name = find_service_and_method_in_event_name( + event_name + ) return self._parse_as_shorthand( - cli_argument, value, service_id, operation_name) + cli_argument, value, service_id, operation_name + ) - def _parse_as_shorthand(self, cli_argument, value, service_id, - operation_name): + def _parse_as_shorthand( + self, cli_argument, value, service_id, operation_name + ): try: - LOG.debug("Parsing param %s as shorthand", - cli_argument.cli_name) + LOG.debug("Parsing param %s as shorthand", cli_argument.cli_name) handled_value = self._handle_special_cases( - cli_argument, value, service_id, operation_name) + cli_argument, value, service_id, operation_name + ) if handled_value is not None: return handled_value if isinstance(value, list): @@ -357,15 +372,20 @@ def _parse_as_shorthand(self, cli_argument, value, service_id, raise ParamError(cli_argument.cli_name, str(e)) return parsed - def _handle_special_cases(self, cli_argument, value, service_id, - operation_name): + def _handle_special_cases( + self, cli_argument, value, service_id, operation_name + ): # We need to handle a few special cases that the previous # parser handled in order to stay backwards compatible. model = cli_argument.argument_model - if model.type_name == 'list' and \ - model.member.type_name == 'structure' and \ - len(model.member.members) == 1 and \ - self._uses_old_list_case(service_id, operation_name, cli_argument.name): + if ( + model.type_name == 'list' + and model.member.type_name == 'structure' + and len(model.member.members) == 1 + and self._uses_old_list_case( + service_id, operation_name, cli_argument.name + ) + ): # First special case is handling a list of structures # of a single element such as: # @@ -378,11 +398,13 @@ def _handle_special_cases(self, cli_argument, value, service_id, key_name = list(model.member.members.keys())[0] new_values = [{key_name: v} for v in value] return new_values - elif model.type_name == 'structure' and \ - len(model.members) == 1 and \ - 'Value' in model.members and \ - model.members['Value'].type_name == 'string' and \ - '=' not in value: + elif ( + model.type_name == 'structure' + and len(model.members) == 1 + and 'Value' in model.members + and model.members['Value'].type_name == 'string' + and '=' not in value + ): # Second special case is where a structure of a single # value whose member name is "Value" can be specified # as: @@ -401,9 +423,13 @@ def _should_parse_as_shorthand(self, cli_argument, value): else: check_val = value if isinstance(check_val, str) and check_val.strip().startswith( - ('[', '{')): - LOG.debug("Param %s looks like JSON, not considered for " - "param shorthand.", cli_argument.py_name) + ('[', '{') + ): + LOG.debug( + "Param %s looks like JSON, not considered for " + "param shorthand.", + cli_argument.py_name, + ) return False model = cli_argument.argument_model return _supports_shorthand_syntax(model) @@ -421,8 +447,9 @@ def supports_shorthand(self, argument_model): return _supports_shorthand_syntax(argument_model) return False - def generate_shorthand_example(self, cli_argument, service_id, - operation_name): + def generate_shorthand_example( + self, cli_argument, service_id, operation_name + ): """Generate documentation for a CLI argument. :type cli_argument: awscli.arguments.BaseCLIArgument @@ -437,7 +464,8 @@ def generate_shorthand_example(self, cli_argument, service_id, """ docstring = self._handle_special_cases( - cli_argument, service_id, operation_name) + cli_argument, service_id, operation_name + ) if docstring is self._DONT_DOC: return None elif docstring: @@ -457,22 +485,27 @@ def generate_shorthand_example(self, cli_argument, service_id, def _handle_special_cases(self, cli_argument, service_id, operation_name): model = cli_argument.argument_model - if model.type_name == 'list' and \ - model.member.type_name == 'structure' and \ - len(model.member.members) == 1 and \ - self._uses_old_list_case( - service_id, operation_name, cli_argument.name): + if ( + model.type_name == 'list' + and model.member.type_name == 'structure' + and len(model.member.members) == 1 + and self._uses_old_list_case( + service_id, operation_name, cli_argument.name + ) + ): member_name = list(model.member.members)[0] # Handle special case where the min/max is exactly one. metadata = model.metadata + cli_name = cli_argument.cli_name if metadata.get('min') == 1 and metadata.get('max') == 1: - return '%s %s1' % (cli_argument.cli_name, member_name) - return '%s %s1 %s2 %s3' % (cli_argument.cli_name, member_name, - member_name, member_name) - elif model.type_name == 'structure' and \ - len(model.members) == 1 and \ - 'Value' in model.members and \ - model.members['Value'].type_name == 'string': + return f'{cli_name} {member_name}1' + return f'{cli_name} {member_name}1 {member_name}2 {member_name}3' + elif ( + model.type_name == 'structure' + and len(model.members) == 1 + and 'Value' in model.members + and model.members['Value'].type_name == 'string' + ): return self._DONT_DOC return '' diff --git a/awscli/arguments.py b/awscli/arguments.py index 06873e94dad9..1c621b865740 100644 --- a/awscli/arguments.py +++ b/awscli/arguments.py @@ -36,15 +36,14 @@ user input and maps the input value to several API parameters. """ + import logging -from botocore import xform_name from botocore.hooks import first_non_none_response from awscli.argprocess import unpack_cli_arg from awscli.schema import SchemaTransformer -from botocore import model - +from botocore import model, xform_name LOG = logging.getLogger('awscli.arguments') @@ -66,7 +65,7 @@ def create_argument_model_from_schema(schema): return arg_shape -class BaseCLIArgument(object): +class BaseCLIArgument: """Interface for CLI argument. This class represents the interface used for representing CLI @@ -203,11 +202,24 @@ class CustomArgument(BaseCLIArgument): """ - def __init__(self, name, help_text='', dest=None, default=None, - action=None, required=None, choices=None, nargs=None, - cli_type_name=None, group_name=None, positional_arg=False, - no_paramfile=False, argument_model=None, synopsis='', - const=None): + def __init__( + self, + name, + help_text='', + dest=None, + default=None, + action=None, + required=None, + choices=None, + nargs=None, + cli_type_name=None, + group_name=None, + positional_arg=False, + no_paramfile=False, + argument_model=None, + synopsis='', + const=None, + ): self._name = name self._help = help_text self._dest = dest @@ -235,8 +247,10 @@ def __init__(self, name, help_text='', dest=None, default=None, # If the top level element is a list then set nargs to # accept multiple values separated by a space. - if self.argument_model is not None and \ - self.argument_model.type_name == 'list': + if ( + self.argument_model is not None + and self.argument_model.type_name == 'list' + ): self._nargs = '+' def _create_scalar_argument_model(self): @@ -337,9 +351,7 @@ def nargs(self): class CLIArgument(BaseCLIArgument): - """Represents a CLI argument that maps to a service parameter. - - """ + """Represents a CLI argument that maps to a service parameter.""" TYPE_MAP = { 'structure': str, @@ -352,12 +364,18 @@ class CLIArgument(BaseCLIArgument): 'long': int, 'boolean': bool, 'double': float, - 'blob': str + 'blob': str, } - def __init__(self, name, argument_model, operation_model, - event_emitter, is_required=False, - serialized_name=None): + def __init__( + self, + name, + argument_model, + operation_model, + event_emitter, + is_required=False, + serialized_name=None, + ): """ :type name: str @@ -433,7 +451,8 @@ def add_to_parser(self, parser): cli_name, help=self.documentation, type=self.cli_type, - required=self.required) + required=self.required, + ) def add_to_params(self, parameters, value): if value is None: @@ -451,16 +470,23 @@ def add_to_params(self, parameters, value): # below. Sometimes this can be more complicated, and subclasses # can customize as they need. unpacked = self._unpack_argument(value) - LOG.debug('Unpacked value of %r for parameter "%s": %r', value, - self.py_name, unpacked) + LOG.debug( + 'Unpacked value of %r for parameter "%s": %r', + value, + self.py_name, + unpacked, + ) parameters[self._serialized_name] = unpacked def _unpack_argument(self, value): service_name = self._operation_model.service_model.service_name operation_name = xform_name(self._operation_model.name, '-') - override = self._emit_first_response('process-cli-arg.%s.%s' % ( - service_name, operation_name), param=self.argument_model, - cli_argument=self, value=value) + override = self._emit_first_response( + f'process-cli-arg.{service_name}.{operation_name}', + param=self.argument_model, + cli_argument=self, + value=value, + ) if override is not None: # A plugin supplied an alternate conversion, # use it instead. @@ -478,13 +504,11 @@ def _emit_first_response(self, name, **kwargs): class ListArgument(CLIArgument): - def add_to_parser(self, parser): cli_name = self.cli_name - parser.add_argument(cli_name, - nargs='*', - type=self.cli_type, - required=self.required) + parser.add_argument( + cli_name, nargs='*', type=self.cli_type, required=self.required + ) class BooleanArgument(CLIArgument): @@ -504,17 +528,27 @@ class BooleanArgument(CLIArgument): """ - def __init__(self, name, argument_model, operation_model, - event_emitter, - is_required=False, action='store_true', dest=None, - group_name=None, default=None, - serialized_name=None): - super(BooleanArgument, self).__init__(name, - argument_model, - operation_model, - event_emitter, - is_required, - serialized_name=serialized_name) + def __init__( + self, + name, + argument_model, + operation_model, + event_emitter, + is_required=False, + action='store_true', + dest=None, + group_name=None, + default=None, + serialized_name=None, + ): + super().__init__( + name, + argument_model, + operation_model, + event_emitter, + is_required, + serialized_name=serialized_name, + ) self._mutex_group = None self._action = action if dest is None: @@ -545,18 +579,25 @@ def add_to_arg_table(self, argument_table): argument_table[self.name] = self negative_name = 'no-%s' % self.name negative_version = self.__class__( - negative_name, self.argument_model, - self._operation_model, self._event_emitter, - action='store_false', dest=self._destination, - group_name=self.group_name, serialized_name=self._serialized_name) + negative_name, + self.argument_model, + self._operation_model, + self._event_emitter, + action='store_false', + dest=self._destination, + group_name=self.group_name, + serialized_name=self._serialized_name, + ) argument_table[negative_name] = negative_version def add_to_parser(self, parser): - parser.add_argument(self.cli_name, - help=self.documentation, - action=self._action, - default=self._default, - dest=self._destination) + parser.add_argument( + self.cli_name, + help=self.documentation, + action=self._action, + default=self._default, + dest=self._destination, + ) @property def group_name(self): diff --git a/awscli/bcdoc/docstringparser.py b/awscli/bcdoc/docstringparser.py index cfff547db59d..51cd46e55fae 100644 --- a/awscli/bcdoc/docstringparser.py +++ b/awscli/bcdoc/docstringparser.py @@ -51,12 +51,13 @@ def handle_data(self, data): self.tree.add_data(data) -class HTMLTree(object): +class HTMLTree: """ A tree which handles HTML nodes. Designed to work with a python HTML parser, meaning that the current_node will be the most recently opened tag. When a tag is closed, the current_node moves up to the parent node. """ + def __init__(self, doc): self.doc = doc self.head = StemNode() @@ -93,7 +94,7 @@ def write(self): self.head.write(self.doc) -class Node(object): +class Node: def __init__(self, parent=None): self.parent = parent @@ -103,7 +104,7 @@ def write(self, doc): class StemNode(Node): def __init__(self, parent=None): - super(StemNode, self).__init__(parent) + super().__init__(parent) self.children = [] def add_child(self, child): @@ -122,8 +123,9 @@ class TagNode(StemNode): """ A generic Tag node. It will verify that handlers exist before writing. """ + def __init__(self, tag, attrs=None, parent=None): - super(TagNode, self).__init__(parent) + super().__init__(parent) self.attrs = attrs self.tag = tag @@ -145,11 +147,11 @@ def _write_end(self, doc): class LineItemNode(TagNode): def __init__(self, attrs=None, parent=None): - super(LineItemNode, self).__init__('li', attrs, parent) + super().__init__('li', attrs, parent) def write(self, doc): self._lstrip(self) - super(LineItemNode, self).write(doc) + super().write(doc) def _lstrip(self, node): """ @@ -174,8 +176,9 @@ class DataNode(Node): """ A Node that contains only string data. """ + def __init__(self, data, parent=None): - super(DataNode, self).__init__(parent) + super().__init__(parent) if not isinstance(data, str): raise ValueError("Expecting string type, %s given." % type(data)) self.data = data diff --git a/awscli/clidocs.py b/awscli/clidocs.py index 9d8fb9d59159..6fb5c1696d0a 100644 --- a/awscli/clidocs.py +++ b/awscli/clidocs.py @@ -13,7 +13,7 @@ import logging import os import re -from botocore import xform_name + from botocore.model import StringShape from botocore.utils import is_json_value_header @@ -22,21 +22,24 @@ from awscli.bcdoc.docevents import DOC_EVENTS from awscli.topictags import TopicTagDB from awscli.utils import ( - find_service_and_method_in_event_name, is_document_type, - operation_uses_document_types, is_streaming_blob_type, - is_tagged_union_type + find_service_and_method_in_event_name, + is_document_type, + is_streaming_blob_type, + is_tagged_union_type, + operation_uses_document_types, ) LOG = logging.getLogger(__name__) -EXAMPLES_DIR = os.path.join(os.path.dirname(os.path.abspath(__file__)), - 'examples') +EXAMPLES_DIR = os.path.join( + os.path.dirname(os.path.abspath(__file__)), 'examples' +) GLOBAL_OPTIONS_FILE = os.path.join(EXAMPLES_DIR, 'global_options.rst') -GLOBAL_OPTIONS_SYNOPSIS_FILE = os.path.join(EXAMPLES_DIR, - 'global_synopsis.rst') - +GLOBAL_OPTIONS_SYNOPSIS_FILE = os.path.join( + EXAMPLES_DIR, 'global_synopsis.rst' +) -class CLIDocumentEventHandler(object): +class CLIDocumentEventHandler: def __init__(self, help_command): self.help_command = help_command self.register(help_command.session, help_command.event_class) @@ -91,9 +94,11 @@ def unregister(self): handler method will be unregistered for the all events of that type for the specified ``event_class``. """ - self._map_handlers(self.help_command.session, - self.help_command.event_class, - self.help_command.session.unregister) + self._map_handlers( + self.help_command.session, + self.help_command.event_class, + self.help_command.session.unregister, + ) # These are default doc handlers that apply in the general case. @@ -108,7 +113,7 @@ def doc_breadcrumbs(self, help_command, **kwargs): doc.write(' . ') full_cmd_list.append(cmd) full_cmd_name = ' '.join(full_cmd_list) - doc.write(':ref:`%s `' % (cmd, full_cmd_name)) + doc.write(f':ref:`{cmd} `') doc.write(' ]') def doc_title(self, help_command, **kwargs): @@ -117,7 +122,7 @@ def doc_title(self, help_command, **kwargs): reference = help_command.event_class.replace('.', ' ') if reference != 'aws': reference = 'aws ' + reference - doc.writeln('.. _cli:%s:' % reference) + doc.writeln(f'.. _cli:{reference}:') doc.style.h1(help_command.name) def doc_description(self, help_command, **kwargs): @@ -131,7 +136,7 @@ def doc_synopsis_start(self, help_command, **kwargs): doc = help_command.doc doc.style.h2('Synopsis') doc.style.start_codeblock() - doc.writeln('%s' % help_command.name) + doc.writeln(help_command.name) def doc_synopsis_option(self, arg_name, help_command, **kwargs): doc = help_command.doc @@ -141,17 +146,19 @@ def doc_synopsis_option(self, arg_name, help_command, **kwargs): # This arg is already documented so we can move on. return option_str = ' | '.join( - [a.cli_name for a in - self._arg_groups[argument.group_name]]) + a.cli_name for a in self._arg_groups[argument.group_name] + ) self._documented_arg_groups.append(argument.group_name) elif argument.cli_name.startswith('--'): - option_str = '%s ' % argument.cli_name + option_str = f'{argument.cli_name} ' else: - option_str = '<%s>' % argument.cli_name - if not (argument.required - or getattr(argument, '_DOCUMENT_AS_REQUIRED', False)): - option_str = '[%s]' % option_str - doc.writeln('%s' % option_str) + option_str = f'<{argument.cli_name}>' + if not ( + argument.required + or getattr(argument, '_DOCUMENT_AS_REQUIRED', False) + ): + option_str = f'[{option_str}]' + doc.writeln(option_str) def doc_synopsis_end(self, help_command, **kwargs): doc = help_command.doc @@ -177,13 +184,15 @@ def doc_option(self, arg_name, help_command, **kwargs): # This arg is already documented so we can move on. return name = ' | '.join( - ['``%s``' % a.cli_name for a in - self._arg_groups[argument.group_name]]) + f'``{a.cli_name}``' for a in self._arg_groups[argument.group_name] + ) self._documented_arg_groups.append(argument.group_name) else: - name = '``%s``' % argument.cli_name - doc.write('%s (%s)\n' % (name, self._get_argument_type_name( - argument.argument_model, argument.cli_type_name))) + name = f'``{argument.cli_name}``' + argument_type_name = self._get_argument_type_name( + argument.argument_model, argument.cli_type_name + ) + doc.write(f'{name} ({argument_type_name})\n') doc.style.indent() doc.include_doc_string(argument.documentation) if is_streaming_blob_type(argument.argument_model): @@ -210,8 +219,7 @@ def doc_relateditem(self, help_command, related_item, **kwargs): doc = help_command.doc doc.write('* ') doc.style.sphinx_reference_label( - label='cli:%s' % related_item, - text=related_item + label=f'cli:{related_item}', text=related_item ) doc.write('\n') @@ -223,7 +231,7 @@ def _document_enums(self, model, doc): doc.write('Possible values:') doc.style.start_ul() for enum in model.enum: - doc.style.li('``%s``' % enum) + doc.style.li(f'``{enum}``') doc.style.end_ul() def _document_nested_structure(self, model, doc): @@ -231,8 +239,9 @@ def _document_nested_structure(self, model, doc): member_type_name = getattr(model, 'type_name', None) if member_type_name == 'structure': for member_name, member_shape in model.members.items(): - self._doc_member(doc, member_name, member_shape, - stack=[model.name]) + self._doc_member( + doc, member_name, member_shape, stack=[model.name] + ) elif member_type_name == 'list': self._doc_member(doc, '', model.member, stack=[model.name]) elif member_type_name == 'map': @@ -253,19 +262,19 @@ def _doc_member(self, doc, member_name, member_shape, stack): return stack.append(member_shape.name) try: - self._do_doc_member(doc, member_name, - member_shape, stack) + self._do_doc_member(doc, member_name, member_shape, stack) finally: stack.pop() def _do_doc_member(self, doc, member_name, member_shape, stack): docs = member_shape.documentation type_name = self._get_argument_type_name( - member_shape, member_shape.type_name) + member_shape, member_shape.type_name + ) if member_name: - doc.write('%s -> (%s)' % (member_name, type_name)) + doc.write(f'{member_name} -> ({type_name})') else: - doc.write('(%s)' % type_name) + doc.write(f'({type_name})') doc.style.indent() doc.style.new_paragraph() doc.include_doc_string(docs) @@ -290,26 +299,26 @@ def _do_doc_member(self, doc, member_name, member_shape, stack): def _add_streaming_blob_note(self, doc): doc.style.start_note() - msg = ("This argument is of type: streaming blob. " - "Its value must be the path to a file " - "(e.g. ``path/to/file``) and must **not** " - "be prefixed with ``file://`` or ``fileb://``") + msg = ( + "This argument is of type: streaming blob. " + "Its value must be the path to a file " + "(e.g. ``path/to/file``) and must **not** " + "be prefixed with ``file://`` or ``fileb://``" + ) doc.writeln(msg) doc.style.end_note() def _add_tagged_union_note(self, shape, doc): doc.style.start_note() - members_str = ", ".join( - [f'``{key}``' for key in shape.members.keys()] + members_str = ", ".join(f'``{key}``' for key in shape.members.keys()) + doc.writeln( + "This is a Tagged Union structure. Only one of the " + f"following top level keys can be set: {members_str}." ) - msg = ("This is a Tagged Union structure. Only one of the " - f"following top level keys can be set: {members_str}.") - doc.writeln(msg) doc.style.end_note() class ProviderDocumentEventHandler(CLIDocumentEventHandler): - def doc_breadcrumbs(self, help_command, event_name, **kwargs): pass @@ -339,12 +348,10 @@ def doc_subitems_start(self, help_command, **kwargs): def doc_subitem(self, command_name, help_command, **kwargs): doc = help_command.doc - file_name = '%s/index' % command_name - doc.style.tocitem(command_name, file_name=file_name) + doc.style.tocitem(command_name, file_name=f"{command_name}/index") class ServiceDocumentEventHandler(CLIDocumentEventHandler): - # A service document has no synopsis. def doc_synopsis_start(self, help_command, **kwargs): pass @@ -390,15 +397,13 @@ def doc_subitem(self, command_name, help_command, **kwargs): # If the subcommand table has commands in it, # direct the subitem to the command's index because # it has more subcommands to be documented. - if (len(subcommand_table) > 0): - file_name = '%s/index' % command_name - doc.style.tocitem(command_name, file_name=file_name) + if len(subcommand_table) > 0: + doc.style.tocitem(command_name, file_name=f"{command_name}/index") else: doc.style.tocitem(command_name) class OperationDocumentEventHandler(CLIDocumentEventHandler): - AWS_DOC_BASE = 'https://docs.aws.amazon.com/goto/WebAPI' def doc_description(self, help_command, **kwargs): @@ -409,7 +414,6 @@ def doc_description(self, help_command, **kwargs): self._add_webapi_crosslink(help_command) self._add_note_for_document_types_if_used(help_command) - def _add_webapi_crosslink(self, help_command): doc = help_command.doc operation_model = help_command.obj @@ -422,8 +426,7 @@ def _add_webapi_crosslink(self, help_command): return doc.style.new_paragraph() doc.write("See also: ") - link = '%s/%s/%s' % (self.AWS_DOC_BASE, service_uid, - operation_model.name) + link = f'{self.AWS_DOC_BASE}/{service_uid}/{operation_model.name}' doc.style.external_link(title="AWS API Documentation", link=link) doc.writeln('') @@ -431,27 +434,29 @@ def _add_note_for_document_types_if_used(self, help_command): if operation_uses_document_types(help_command.obj): help_command.doc.style.new_paragraph() help_command.doc.writeln( - '``%s`` uses document type values. Document types follow the ' - 'JSON data model where valid values are: strings, numbers, ' - 'booleans, null, arrays, and objects. For command input, ' - 'options and nested parameters that are labeled with the type ' - '``document`` must be provided as JSON. Shorthand syntax does ' - 'not support document types.' % help_command.name + f'``{help_command.name}`` uses document type values. Document ' + 'types follow the JSON data model where valid values are: ' + 'strings, numbers, booleans, null, arrays, and objects. For ' + 'command input, options and nested parameters that are labeled ' + 'with the type ``document`` must be provided as JSON. ' + 'Shorthand syntax does not support document types.' ) - def _json_example_value_name(self, argument_model, include_enum_values=True): + def _json_example_value_name( + self, argument_model, include_enum_values=True + ): # If include_enum_values is True, then the valid enum values # are included as the sample JSON value. if isinstance(argument_model, StringShape): if argument_model.enum and include_enum_values: choices = argument_model.enum - return '|'.join(['"%s"' % c for c in choices]) + return '|'.join(f'"{c}"' for c in choices) else: return '"string"' elif argument_model.type_name == 'boolean': return 'true|false' else: - return '%s' % argument_model.type_name + return argument_model.type_name def _json_example(self, doc, argument_model, stack): if argument_model.name in stack: @@ -471,7 +476,8 @@ def _do_json_example(self, doc, argument_model, stack): if argument_model.type_name == 'list': doc.write('[') if argument_model.member.type_name in SCALAR_TYPES: - doc.write('%s, ...' % self._json_example_value_name(argument_model.member)) + example_name = self._json_example_value_name(argument_model.member) + doc.write(f'{example_name}, ...') else: doc.style.indent() doc.style.new_line() @@ -485,7 +491,7 @@ def _do_json_example(self, doc, argument_model, stack): doc.write('{') doc.style.indent() key_string = self._json_example_value_name(argument_model.key) - doc.write('%s: ' % key_string) + doc.write(f'{key_string}: ') if argument_model.value.type_name in SCALAR_TYPES: doc.write(self._json_example_value_name(argument_model.value)) else: @@ -514,16 +520,16 @@ def _doc_input_structure_members(self, doc, argument_model, stack): member_model = members[member_name] member_type_name = member_model.type_name if member_type_name in SCALAR_TYPES: - doc.write('"%s": %s' % (member_name, - self._json_example_value_name(member_model))) + example_name = self._json_example_value_name(member_model) + doc.write(f'"{member_name}": {example_name}') elif member_type_name == 'structure': - doc.write('"%s": ' % member_name) + doc.write(f'"{member_name}": ') self._json_example(doc, member_model, stack) elif member_type_name == 'map': - doc.write('"%s": ' % member_name) + doc.write(f'"{member_name}": ') self._json_example(doc, member_model, stack) elif member_type_name == 'list': - doc.write('"%s": ' % member_name) + doc.write(f'"{member_name}": ') self._json_example(doc, member_model, stack) if i < len(members) - 1: doc.write(',') @@ -533,8 +539,9 @@ def _doc_input_structure_members(self, doc, argument_model, stack): doc.write('}') def doc_option_example(self, arg_name, help_command, event_name, **kwargs): - service_id, operation_name = \ - find_service_and_method_in_event_name(event_name) + service_id, operation_name = find_service_and_method_in_event_name( + event_name + ) doc = help_command.doc cli_argument = help_command.arg_table[arg_name] if cli_argument.group_name in self._arg_groups: @@ -546,7 +553,8 @@ def doc_option_example(self, arg_name, help_command, event_name, **kwargs): docgen = ParamShorthandDocGen() if docgen.supports_shorthand(cli_argument.argument_model): example_shorthand_syntax = docgen.generate_shorthand_example( - cli_argument, service_id, operation_name) + cli_argument, service_id, operation_name + ) if example_shorthand_syntax is None: # If the shorthand syntax returns a value of None, # this indicates to us that there is no example @@ -560,8 +568,11 @@ def doc_option_example(self, arg_name, help_command, event_name, **kwargs): for example_line in example_shorthand_syntax.splitlines(): doc.writeln(example_line) doc.style.end_codeblock() - if argument_model is not None and argument_model.type_name == 'list' and \ - argument_model.member.type_name in SCALAR_TYPES: + if ( + argument_model is not None + and argument_model.type_name == 'list' + and argument_model.member.type_name in SCALAR_TYPES + ): # A list of scalars is special. While you *can* use # JSON ( ["foo", "bar", "baz"] ), you can also just # use the argparse behavior of space separated lists. @@ -572,8 +583,9 @@ def doc_option_example(self, arg_name, help_command, event_name, **kwargs): doc.write('Syntax') doc.style.start_codeblock() example_type = self._json_example_value_name( - member, include_enum_values=False) - doc.write('%s %s ...' % (example_type, example_type)) + member, include_enum_values=False + ) + doc.write(f'{example_type} {example_type} ...') if isinstance(member, StringShape) and member.enum: # If we have enum values, we can tell the user # exactly what valid values they can provide. @@ -592,7 +604,7 @@ def _write_valid_enums(self, doc, enum_values): doc.style.new_paragraph() doc.write("Where valid values are:\n") for value in enum_values: - doc.write(" %s\n" % value) + doc.write(f" {value}\n") doc.write("\n") def doc_output(self, help_command, event_name, **kwargs): @@ -614,7 +626,8 @@ class TopicListerDocumentEventHandler(CLIDocumentEventHandler): 'the list of topics from the command line, run ``aws help topics``. ' 'To access a specific topic from the command line, run ' '``aws help [topicname]``, where ``topicname`` is the name of the ' - 'topic as it appears in the output from ``aws help topics``.') + 'topic as it appears in the output from ``aws help topics``.' + ) def __init__(self, help_command): self.help_command = help_command @@ -633,8 +646,8 @@ def doc_title(self, help_command, **kwargs): doc = help_command.doc doc.style.new_paragraph() doc.style.link_target_definition( - refname='cli:aws help %s' % self.help_command.name, - link='') + refname=f'cli:aws help {self.help_command.name}', link='' + ) doc.style.h1('AWS CLI Topic Guide') def doc_description(self, help_command, **kwargs): @@ -674,13 +687,13 @@ def doc_subitems_start(self, help_command, **kwargs): # each category. for topic_name in sorted(categories[category_name]): description = self._topic_tag_db.get_tag_single_value( - topic_name, 'description') + topic_name, 'description' + ) doc.write('* ') doc.style.sphinx_reference_label( - label='cli:aws help %s' % topic_name, - text=topic_name + label=f'cli:aws help {topic_name}', text=topic_name ) - doc.write(': %s\n' % description) + doc.write(f': {description}\n') # Add a hidden toctree to make sure everything is connected in # the document. doc.style.hidden_toctree() @@ -689,7 +702,6 @@ def doc_subitems_start(self, help_command, **kwargs): class TopicDocumentEventHandler(TopicListerDocumentEventHandler): - def doc_breadcrumbs(self, help_command, **kwargs): doc = help_command.doc if doc.target != 'man': @@ -697,8 +709,7 @@ def doc_breadcrumbs(self, help_command, **kwargs): doc.style.sphinx_reference_label(label='cli:aws', text='aws') doc.write(' . ') doc.style.sphinx_reference_label( - label='cli:aws help topics', - text='topics' + label='cli:aws help topics', text='topics' ) doc.write(' ]') @@ -706,22 +717,24 @@ def doc_title(self, help_command, **kwargs): doc = help_command.doc doc.style.new_paragraph() doc.style.link_target_definition( - refname='cli:aws help %s' % self.help_command.name, - link='') + refname=f'cli:aws help {self.help_command.name}', link='' + ) title = self._topic_tag_db.get_tag_single_value( - help_command.name, 'title') + help_command.name, 'title' + ) doc.style.h1(title) def doc_description(self, help_command, **kwargs): doc = help_command.doc - topic_filename = os.path.join(self._topic_tag_db.topic_dir, - help_command.name + '.rst') + topic_filename = os.path.join( + self._topic_tag_db.topic_dir, f'{help_command.name}.rst' + ) contents = self._remove_tags_from_content(topic_filename) doc.writeln(contents) doc.style.new_paragraph() def _remove_tags_from_content(self, filename): - with open(filename, 'r') as f: + with open(filename) as f: lines = f.readlines() content_begin_index = 0 @@ -737,7 +750,7 @@ def _remove_tags_from_content(self, filename): def _line_has_tag(self, line): for tag in self._topic_tag_db.valid_tags: - if line.startswith(':' + tag + ':'): + if line.startswith(f':{tag}:'): return True return False @@ -759,7 +772,8 @@ def doc_global_options(self): for arg in help_command.arg_table: argument = help_command.arg_table.get(arg) help_command.doc.writeln( - f"``{argument.cli_name}`` ({argument.cli_type_name})") + f"``{argument.cli_name}`` ({argument.cli_type_name})" + ) help_command.doc.style.indent() help_command.doc.style.new_paragraph() help_command.doc.include_doc_string(argument.documentation) diff --git a/awscli/clidriver.py b/awscli/clidriver.py index 1c1e2fa91f9a..37c7bc6322c6 100644 --- a/awscli/clidriver.py +++ b/awscli/clidriver.py @@ -10,47 +10,52 @@ # distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF # ANY KIND, either express or implied. See the License for the specific # language governing permissions and limitations under the License. -import sys -import signal import logging +import signal +import sys import botocore.session -from botocore import __version__ as botocore_version -from botocore.hooks import HierarchicalEmitter -from botocore import xform_name -from botocore.compat import copy_kwargs, OrderedDict -from botocore.exceptions import NoCredentialsError -from botocore.exceptions import NoRegionError -from botocore.exceptions import ProfileNotFound +from botocore.compat import OrderedDict, copy_kwargs +from botocore.exceptions import ( + NoCredentialsError, + NoRegionError, + ProfileNotFound, +) from botocore.history import get_global_history_recorder from awscli import EnvironmentVariables, __version__ +from awscli.alias import AliasCommandInjector, AliasLoader +from awscli.argparser import ( + USAGE, + ArgTableArgParser, + MainArgParser, + ServiceArgParser, +) +from awscli.argprocess import unpack_argument +from awscli.arguments import ( + BooleanArgument, + CLIArgument, + CustomArgument, + ListArgument, + UnknownArgumentError, +) +from awscli.commands import CLICommand from awscli.compat import get_stderr_text_writer from awscli.formatter import get_formatter +from awscli.help import ( + OperationHelpCommand, + ProviderHelpCommand, + ServiceHelpCommand, +) from awscli.plugin import load_plugins -from awscli.commands import CLICommand -from awscli.argparser import MainArgParser -from awscli.argparser import ServiceArgParser -from awscli.argparser import ArgTableArgParser -from awscli.argparser import USAGE -from awscli.help import ProviderHelpCommand -from awscli.help import ServiceHelpCommand -from awscli.help import OperationHelpCommand -from awscli.arguments import CustomArgument -from awscli.arguments import ListArgument -from awscli.arguments import BooleanArgument -from awscli.arguments import CLIArgument -from awscli.arguments import UnknownArgumentError -from awscli.argprocess import unpack_argument -from awscli.alias import AliasLoader -from awscli.alias import AliasCommandInjector -from awscli.utils import emit_top_level_args_parsed_event -from awscli.utils import write_exception - +from awscli.utils import emit_top_level_args_parsed_event, write_exception +from botocore import __version__ as botocore_version +from botocore import xform_name LOG = logging.getLogger('awscli.clidriver') LOG_FORMAT = ( - '%(asctime)s - %(threadName)s - %(name)s - %(levelname)s - %(message)s') + '%(asctime)s - %(threadName)s - %(name)s - %(levelname)s - %(message)s' +) HISTORY_RECORDER = get_global_history_recorder() # Don't remove this line. The idna encoding # is used by getaddrinfo when dealing with unicode hostnames, @@ -61,7 +66,7 @@ # the encodings.idna is imported and registered in the codecs registry, # which will stop the LookupErrors from happening. # See: https://bugs.python.org/issue29288 -u''.encode('idna') +''.encode('idna') def main(): @@ -74,8 +79,10 @@ def main(): def create_clidriver(): session = botocore.session.Session(EnvironmentVariables) _set_user_agent_for_session(session) - load_plugins(session.full_config.get('plugins', {}), - event_hooks=session.get_component('event_emitter')) + load_plugins( + session.full_config.get('plugins', {}), + event_hooks=session.get_component('event_emitter'), + ) driver = CLIDriver(session=session) return driver @@ -86,8 +93,7 @@ def _set_user_agent_for_session(session): session.user_agent_extra = 'botocore/%s' % botocore_version -class CLIDriver(object): - +class CLIDriver: def __init__(self, session=None): if session is None: self.session = botocore.session.get_session(EnvironmentVariables) @@ -126,24 +132,27 @@ def _build_command_table(self): """ command_table = self._build_builtin_commands(self.session) - self.session.emit('building-command-table.main', - command_table=command_table, - session=self.session, - command_object=self) + self.session.emit( + 'building-command-table.main', + command_table=command_table, + session=self.session, + command_object=self, + ) return command_table def _build_builtin_commands(self, session): commands = OrderedDict() services = session.get_available_services() for service_name in services: - commands[service_name] = ServiceCommand(cli_name=service_name, - session=self.session, - service_name=service_name) + commands[service_name] = ServiceCommand( + cli_name=service_name, + session=self.session, + service_name=service_name, + ) return commands def _add_aliases(self, command_table, parser): - injector = AliasCommandInjector( - self.session, self.alias_loader) + injector = AliasCommandInjector(self.session, self.alias_loader) injector.inject_aliases(command_table, parser) def _build_argument_table(self): @@ -156,37 +165,45 @@ def _build_argument_table(self): cli_argument.add_to_arg_table(argument_table) # Then the final step is to send out an event so handlers # can add extra arguments or modify existing arguments. - self.session.emit('building-top-level-params', - argument_table=argument_table) + self.session.emit( + 'building-top-level-params', argument_table=argument_table + ) return argument_table def _create_cli_argument(self, option_name, option_params): return CustomArgument( - option_name, help_text=option_params.get('help', ''), + option_name, + help_text=option_params.get('help', ''), dest=option_params.get('dest'), default=option_params.get('default'), action=option_params.get('action'), required=option_params.get('required'), choices=option_params.get('choices'), - cli_type_name=option_params.get('type')) + cli_type_name=option_params.get('type'), + ) def create_help_command(self): cli_data = self._get_cli_data() - return ProviderHelpCommand(self.session, self._get_command_table(), - self._get_argument_table(), - cli_data.get('description', None), - cli_data.get('synopsis', None), - cli_data.get('help_usage', None)) + return ProviderHelpCommand( + self.session, + self._get_command_table(), + self._get_argument_table(), + cli_data.get('description', None), + cli_data.get('synopsis', None), + cli_data.get('help_usage', None), + ) def _create_parser(self, command_table): # Also add a 'help' command. command_table['help'] = self.create_help_command() cli_data = self._get_cli_data() parser = MainArgParser( - command_table, self.session.user_agent(), + command_table, + self.session.user_agent(), cli_data.get('description', None), self._get_argument_table(), - prog="aws") + prog="aws", + ) return parser def main(self, args=None): @@ -211,7 +228,8 @@ def main(self, args=None): self._handle_top_level_args(parsed_args) self._emit_session_event(parsed_args) HISTORY_RECORDER.record( - 'CLI_VERSION', self.session.user_agent(), 'CLI') + 'CLI_VERSION', self.session.user_agent(), 'CLI' + ) HISTORY_RECORDER.record('CLI_ARGUMENTS', args, 'CLI') return command_table[parsed_args.command](remaining, parsed_args) except UnknownArgumentError as e: @@ -220,13 +238,16 @@ def main(self, args=None): sys.stderr.write("\n") return 255 except NoRegionError as e: - msg = ('%s You can also configure your region by running ' - '"aws configure".' % e) + msg = ( + '%s You can also configure your region by running ' + '"aws configure".' % e + ) self._show_error(msg) return 255 except NoCredentialsError as e: - msg = ('%s. You can configure credentials by running ' - '"aws configure".' % e) + msg = ( + f'{e}. You can configure credentials by running "aws configure".' + ) self._show_error(msg) return 255 except KeyboardInterrupt: @@ -248,8 +269,10 @@ def _emit_session_event(self, parsed_args): # session components to be reset (such as session.profile = foo) # then all the prior registered components would be removed. self.session.emit( - 'session-initialized', session=self.session, - parsed_args=parsed_args) + 'session-initialized', + session=self.session, + parsed_args=parsed_args, + ) def _show_error(self, msg): LOG.debug(msg, exc_info=True) @@ -267,24 +290,28 @@ def _handle_top_level_args(self, args): # Unfortunately, by setting debug mode here, we miss out # on all of the debug events prior to this such as the # loading of plugins, etc. - self.session.set_stream_logger('botocore', logging.DEBUG, - format_string=LOG_FORMAT) - self.session.set_stream_logger('awscli', logging.DEBUG, - format_string=LOG_FORMAT) - self.session.set_stream_logger('s3transfer', logging.DEBUG, - format_string=LOG_FORMAT) - self.session.set_stream_logger('urllib3', logging.DEBUG, - format_string=LOG_FORMAT) + self.session.set_stream_logger( + 'botocore', logging.DEBUG, format_string=LOG_FORMAT + ) + self.session.set_stream_logger( + 'awscli', logging.DEBUG, format_string=LOG_FORMAT + ) + self.session.set_stream_logger( + 's3transfer', logging.DEBUG, format_string=LOG_FORMAT + ) + self.session.set_stream_logger( + 'urllib3', logging.DEBUG, format_string=LOG_FORMAT + ) LOG.debug("CLI version: %s", self.session.user_agent()) LOG.debug("Arguments entered to CLI: %s", sys.argv[1:]) else: - self.session.set_stream_logger(logger_name='awscli', - log_level=logging.ERROR) + self.session.set_stream_logger( + logger_name='awscli', log_level=logging.ERROR + ) class ServiceCommand(CLICommand): - """A service command for the CLI. For example, ``aws ec2 ...`` we'd create a ServiceCommand @@ -343,11 +370,13 @@ def _get_service_model(self): if self._service_model is None: try: api_version = self.session.get_config_variable( - 'api_versions').get(self._service_name, None) + 'api_versions' + ).get(self._service_name, None) except ProfileNotFound: api_version = None self._service_model = self.session.get_service_model( - self._service_name, api_version=api_version) + self._service_name, api_version=api_version + ) return self._service_model def __call__(self, args, parsed_globals): @@ -372,10 +401,12 @@ def _create_command_table(self): operation_model=operation_model, operation_caller=CLIOperationCaller(self.session), ) - self.session.emit('building-command-table.%s' % self._name, - command_table=command_table, - session=self.session, - command_object=self) + self.session.emit( + f'building-command-table.{self._name}', + command_table=command_table, + session=self.session, + command_object=self, + ) self._add_lineage(command_table) return command_table @@ -386,23 +417,25 @@ def _add_lineage(self, command_table): def create_help_command(self): command_table = self._get_command_table() - return ServiceHelpCommand(session=self.session, - obj=self._get_service_model(), - command_table=command_table, - arg_table=None, - event_class='.'.join(self.lineage_names), - name=self._name) + return ServiceHelpCommand( + session=self.session, + obj=self._get_service_model(), + command_table=command_table, + arg_table=None, + event_class='.'.join(self.lineage_names), + name=self._name, + ) def _create_parser(self): command_table = self._get_command_table() # Also add a 'help' command. command_table['help'] = self.create_help_command() return ServiceArgParser( - operations_table=command_table, service_name=self._name) - + operations_table=command_table, service_name=self._name + ) -class ServiceOperation(object): +class ServiceOperation: """A single operation of a service. This class represents a single operation for a service, for @@ -416,8 +449,9 @@ class ServiceOperation(object): } DEFAULT_ARG_CLASS = CLIArgument - def __init__(self, name, parent_name, operation_caller, - operation_model, session): + def __init__( + self, name, parent_name, operation_caller, operation_model, session + ): """ :type name: str @@ -480,10 +514,17 @@ def arg_table(self): def __call__(self, args, parsed_globals): # Once we know we're trying to call a particular operation # of a service we can go ahead and load the parameters. - event = 'before-building-argument-table-parser.%s.%s' % \ - (self._parent_name, self._name) - self._emit(event, argument_table=self.arg_table, args=args, - session=self._session, parsed_globals=parsed_globals) + event = ( + 'before-building-argument-table-parser.' + f'{self._parent_name}.{self._name}' + ) + self._emit( + event, + argument_table=self.arg_table, + args=args, + session=self._session, + parsed_globals=parsed_globals, + ) operation_parser = self._create_operation_parser(self.arg_table) self._add_help(operation_parser) parsed_args, remaining = operation_parser.parse_known_args(args) @@ -494,21 +535,22 @@ def __call__(self, args, parsed_globals): remaining.append(parsed_args.help) if remaining: raise UnknownArgumentError( - "Unknown options: %s" % ', '.join(remaining)) - event = 'operation-args-parsed.%s.%s' % (self._parent_name, - self._name) - self._emit(event, parsed_args=parsed_args, - parsed_globals=parsed_globals) + f"Unknown options: {', '.join(remaining)}" + ) + event = f'operation-args-parsed.{self._parent_name}.{self._name}' + self._emit( + event, parsed_args=parsed_args, parsed_globals=parsed_globals + ) call_parameters = self._build_call_parameters( - parsed_args, self.arg_table) + parsed_args, self.arg_table + ) - event = 'calling-command.%s.%s' % (self._parent_name, - self._name) + event = f'calling-command.{self._parent_name}.{self._name}' override = self._emit_first_non_none_response( event, call_parameters=call_parameters, parsed_args=parsed_args, - parsed_globals=parsed_globals + parsed_globals=parsed_globals, ) # There are two possible values for override. It can be some type # of exception that will be raised if detected or it can represent @@ -529,14 +571,18 @@ def __call__(self, args, parsed_globals): return self._operation_caller.invoke( self._operation_model.service_model.service_name, self._operation_model.name, - call_parameters, parsed_globals) + call_parameters, + parsed_globals, + ) def create_help_command(self): return OperationHelpCommand( self._session, operation_model=self._operation_model, arg_table=self.arg_table, - name=self._name, event_class='.'.join(self.lineage_names)) + name=self._name, + event_class='.'.join(self.lineage_names), + ) def _add_help(self, parser): # The 'help' output is processed a little differently from @@ -566,8 +612,9 @@ def _unpack_arg(self, cli_argument, value): service_name = self._operation_model.service_model.endpoint_prefix operation_name = xform_name(self._name, '-') - return unpack_argument(session, service_name, operation_name, - cli_argument, value) + return unpack_argument( + session, service_name, operation_name, cli_argument, value + ) def _create_argument_table(self): argument_table = OrderedDict() @@ -579,8 +626,9 @@ def _create_argument_table(self): arg_dict = input_shape.members for arg_name, arg_shape in arg_dict.items(): cli_arg_name = xform_name(arg_name, '-') - arg_class = self.ARG_TYPES.get(arg_shape.type_name, - self.DEFAULT_ARG_CLASS) + arg_class = self.ARG_TYPES.get( + arg_shape.type_name, self.DEFAULT_ARG_CLASS + ) is_token = arg_shape.metadata.get('idempotencyToken', False) is_required = arg_name in required_arguments and not is_token event_emitter = self._session.get_component('event_emitter') @@ -590,31 +638,31 @@ def _create_argument_table(self): is_required=is_required, operation_model=self._operation_model, serialized_name=arg_name, - event_emitter=event_emitter) + event_emitter=event_emitter, + ) arg_object.add_to_arg_table(argument_table) LOG.debug(argument_table) - self._emit('building-argument-table.%s.%s' % (self._parent_name, - self._name), - operation_model=self._operation_model, - session=self._session, - command=self, - argument_table=argument_table) + self._emit( + f'building-argument-table.{self._parent_name}.{self._name}', + operation_model=self._operation_model, + session=self._session, + command=self, + argument_table=argument_table, + ) return argument_table def _emit(self, name, **kwargs): return self._session.emit(name, **kwargs) def _emit_first_non_none_response(self, name, **kwargs): - return self._session.emit_first_non_none_response( - name, **kwargs) + return self._session.emit_first_non_none_response(name, **kwargs) def _create_operation_parser(self, arg_table): parser = ArgTableArgParser(arg_table) return parser -class CLIOperationCaller(object): - +class CLIOperationCaller: """Call an AWS operation and format the response.""" def __init__(self, session): @@ -645,27 +693,31 @@ def invoke(self, service_name, operation_name, parameters, parsed_globals): """ client = self._session.create_client( - service_name, region_name=parsed_globals.region, + service_name, + region_name=parsed_globals.region, endpoint_url=parsed_globals.endpoint_url, - verify=parsed_globals.verify_ssl) + verify=parsed_globals.verify_ssl, + ) response = self._make_client_call( - client, operation_name, parameters, parsed_globals) + client, operation_name, parameters, parsed_globals + ) self._display_response(operation_name, response, parsed_globals) return 0 - def _make_client_call(self, client, operation_name, parameters, - parsed_globals): + def _make_client_call( + self, client, operation_name, parameters, parsed_globals + ): py_operation_name = xform_name(operation_name) if client.can_paginate(py_operation_name) and parsed_globals.paginate: paginator = client.get_paginator(py_operation_name) response = paginator.paginate(**parameters) else: response = getattr(client, xform_name(operation_name))( - **parameters) + **parameters + ) return response - def _display_response(self, command_name, response, - parsed_globals): + def _display_response(self, command_name, response, parsed_globals): output = parsed_globals.output if output is None: output = self._session.get_config_variable('output') diff --git a/awscli/commands.py b/awscli/commands.py index c0c9b4477ed2..09951fe3dc4b 100644 --- a/awscli/commands.py +++ b/awscli/commands.py @@ -12,8 +12,7 @@ # language governing permissions and limitations under the License. -class CLICommand(object): - +class CLICommand: """Interface for a CLI command. This class represents a top level CLI command diff --git a/awscli/compat.py b/awscli/compat.py index 90907d967a09..91ae190c3bc4 100644 --- a/awscli/compat.py +++ b/awscli/compat.py @@ -6,33 +6,30 @@ # http://aws.amazon.com/apache2.0/ -# or in the "license" file accompanying this file. This file is -# distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF -# ANY KIND, either express or implied. See the License for the specific -# language governing permissions and limitations under the License. -import sys -import re -import shlex -import os -import os.path -import platform -import zipfile -import signal +import collections.abc as collections_abc import contextlib -import queue import io -import collections.abc as collections_abc import locale +import os +import os.path +import queue +import re +import shlex +import signal import urllib.parse as urlparse +from configparser import RawConfigParser from urllib.error import URLError from urllib.request import urlopen -from configparser import RawConfigParser -from functools import partial -from urllib.error import URLError +from botocore.compat import six, OrderedDict -from botocore.compat import six -from botocore.compat import OrderedDict +# or in the "license" file accompanying this file. This file is +# distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF +# ANY KIND, either express or implied. See the License for the specific +# language governing permissions and limitations under the License. +import sys +import zipfile +from functools import partial # Backwards compatible definitions from six PY3 = sys.version_info[0] == 3 @@ -49,6 +46,7 @@ # package the files in a zip container. try: import zlib + ZIP_COMPRESSION_MODE = zipfile.ZIP_DEFLATED except ImportError: ZIP_COMPRESSION_MODE = zipfile.ZIP_STORED @@ -73,14 +71,12 @@ class StdinMissingError(Exception): def __init__(self): - message = ( - 'stdin is required for this operation, but is not available.' - ) + message = 'stdin is required for this operation, but is not available.' super(StdinMissingError, self).__init__(message) -class NonTranslatedStdout(object): - """ This context manager sets the line-end translation mode for stdout. +class NonTranslatedStdout: + """This context manager sets the line-end translation mode for stdout. It is deliberately set to binary mode so that `\r` does not get added to the line ending. This can be useful when printing commands where a @@ -90,13 +86,16 @@ class NonTranslatedStdout(object): def __enter__(self): if sys.platform == "win32": import msvcrt - self.previous_mode = msvcrt.setmode(sys.stdout.fileno(), - os.O_BINARY) + + self.previous_mode = msvcrt.setmode( + sys.stdout.fileno(), os.O_BINARY + ) return sys.stdout def __exit__(self, type, value, traceback): if sys.platform == "win32": import msvcrt + msvcrt.setmode(sys.stdout.fileno(), self.previous_mode) @@ -312,12 +311,12 @@ def ignore_user_entered_signals(): from platform import linux_distribution except ImportError: _UNIXCONFDIR = '/etc' - def _dist_try_harder(distname, version, id): - """ Tries some special tricks to get the distribution - information in case the default method fails. - Currently supports older SuSE Linux, Caldera OpenLinux and - Slackware Linux distributions. + def _dist_try_harder(distname, version, id): + """Tries some special tricks to get the distribution + information in case the default method fails. + Currently supports older SuSE Linux, Caldera OpenLinux and + Slackware Linux distributions. """ if os.path.exists('/var/adm/inst-log/info'): # SuSE Linux stores distribution information in that file @@ -349,7 +348,7 @@ def _dist_try_harder(distname, version, id): if os.path.isdir('/usr/lib/setup'): # Check for slackware version tag file (thanks to Greg Andruk) verfiles = os.listdir('/usr/lib/setup') - for n in range(len(verfiles)-1, -1, -1): + for n in range(len(verfiles) - 1, -1, -1): if verfiles[n][:14] != 'slack-version-': del verfiles[n] if verfiles: @@ -361,14 +360,13 @@ def _dist_try_harder(distname, version, id): return distname, version, id _release_filename = re.compile(r'(\w+)[-_](release|version)', re.ASCII) - _lsb_release_version = re.compile(r'(.+)' - r' release ' - r'([\d.]+)' - r'[^(]*(?:\((.+)\))?', re.ASCII) - _release_version = re.compile(r'([^0-9]+)' - r'(?: release )?' - r'([\d.]+)' - r'[^(]*(?:\((.+)\))?', re.ASCII) + _lsb_release_version = re.compile( + r'(.+) release ([\d.]+)[^(]*(?:\((.+)\))?', re.ASCII + ) + _release_version = re.compile( + r'([^0-9]+)(?: release )?([\d.]+)[^(]*(?:\((.+)\))?', + re.ASCII, + ) # See also http://www.novell.com/coolsolutions/feature/11251.html # and http://linuxmafia.com/faq/Admin/release-files.html @@ -376,12 +374,24 @@ def _dist_try_harder(distname, version, id): # and http://www.die.net/doc/linux/man/man1/lsb_release.1.html _supported_dists = ( - 'SuSE', 'debian', 'fedora', 'redhat', 'centos', - 'mandrake', 'mandriva', 'rocks', 'slackware', 'yellowdog', 'gentoo', - 'UnitedLinux', 'turbolinux', 'arch', 'mageia') + 'SuSE', + 'debian', + 'fedora', + 'redhat', + 'centos', + 'mandrake', + 'mandriva', + 'rocks', + 'slackware', + 'yellowdog', + 'gentoo', + 'UnitedLinux', + 'turbolinux', + 'arch', + 'mageia', + ) def _parse_release_file(firstline): - # Default to empty 'version' and 'id' strings. Both defaults are used # when 'firstline' is empty. 'id' defaults to empty when an id can not # be deduced. @@ -411,34 +421,39 @@ def _parse_release_file(firstline): _release_file_re = re.compile("(?:DISTRIB_RELEASE\s*=)\s*(.*)", re.I) _codename_file_re = re.compile("(?:DISTRIB_CODENAME\s*=)\s*(.*)", re.I) - def linux_distribution(distname='', version='', id='', - supported_dists=_supported_dists, - full_distribution_name=1): - return _linux_distribution(distname, version, id, supported_dists, - full_distribution_name) - - def _linux_distribution(distname, version, id, supported_dists, - full_distribution_name): - - """ Tries to determine the name of the Linux OS distribution name. - The function first looks for a distribution release file in - /etc and then reverts to _dist_try_harder() in case no - suitable files are found. - supported_dists may be given to define the set of Linux - distributions to look for. It defaults to a list of currently - supported Linux distributions identified by their release file - name. - If full_distribution_name is true (default), the full - distribution read from the OS is returned. Otherwise the short - name taken from supported_dists is used. - Returns a tuple (distname, version, id) which default to the - args given as parameters. + def linux_distribution( + distname='', + version='', + id='', + supported_dists=_supported_dists, + full_distribution_name=1, + ): + return _linux_distribution( + distname, version, id, supported_dists, full_distribution_name + ) + + def _linux_distribution( + distname, version, id, supported_dists, full_distribution_name + ): + """Tries to determine the name of the Linux OS distribution name. + The function first looks for a distribution release file in + /etc and then reverts to _dist_try_harder() in case no + suitable files are found. + supported_dists may be given to define the set of Linux + distributions to look for. It defaults to a list of currently + supported Linux distributions identified by their release file + name. + If full_distribution_name is true (default), the full + distribution read from the OS is returned. Otherwise the short + name taken from supported_dists is used. + Returns a tuple (distname, version, id) which default to the + args given as parameters. """ # check for the Debian/Ubuntu /etc/lsb-release file first, needed so # that the distribution doesn't get identified as Debian. # https://bugs.python.org/issue9514 try: - with open("/etc/lsb-release", "r") as etclsbrel: + with open("/etc/lsb-release") as etclsbrel: for line in etclsbrel: m = _distributor_id_file_re.search(line) if m: @@ -451,8 +466,8 @@ def _linux_distribution(distname, version, id, supported_dists, _u_id = m.group(1).strip() if _u_distname and _u_version: return (_u_distname, _u_version, _u_id) - except (EnvironmentError, UnboundLocalError): - pass + except (OSError, UnboundLocalError): + pass try: etc = os.listdir(_UNIXCONFDIR) @@ -471,8 +486,11 @@ def _linux_distribution(distname, version, id, supported_dists, return _dist_try_harder(distname, version, id) # Read the first line - with open(os.path.join(_UNIXCONFDIR, file), 'r', - encoding='utf-8', errors='surrogateescape') as f: + with open( + os.path.join(_UNIXCONFDIR, file), + encoding='utf-8', + errors='surrogateescape', + ) as f: firstline = f.readline() _distname, _version, _id = _parse_release_file(firstline) diff --git a/awscli/completer.py b/awscli/completer.py index 44884fd60823..0bff819261bf 100755 --- a/awscli/completer.py +++ b/awscli/completer.py @@ -5,20 +5,20 @@ # http://aws.amazon.com/apache2.0/ +import copy +import logging +import sys + # or in the "license" file accompanying this file. This file is # distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF # ANY KIND, either express or implied. See the License for the specific # language governing permissions and limitations under the License. import awscli.clidriver -import sys -import logging -import copy LOG = logging.getLogger(__name__) -class Completer(object): - +class Completer: def __init__(self, driver=None): if driver is not None: self.driver = driver @@ -26,7 +26,8 @@ def __init__(self, driver=None): self.driver = awscli.clidriver.create_clidriver() self.main_help = self.driver.create_help_command() self.main_options = self._get_documented_completions( - self.main_help.arg_table) + self.main_help.arg_table + ) def complete(self, cmdline, point=None): if point is None: @@ -46,22 +47,28 @@ def complete(self, cmdline, point=None): return self._complete_provider(current_arg, opts) elif subcmd_name is None: return self._complete_command(cmd_name, cmd, current_arg, opts) - return self._complete_subcommand(subcmd_name, subcmd, current_arg, opts) + return self._complete_subcommand( + subcmd_name, subcmd, current_arg, opts + ) def _complete_command(self, command_name, command_help, current_arg, opts): if current_arg == command_name: if command_help: return self._get_documented_completions( - command_help.command_table) + command_help.command_table + ) elif current_arg.startswith('-'): return self._find_possible_options(current_arg, opts) elif command_help is not None: # See if they have entered a partial command name return self._get_documented_completions( - command_help.command_table, current_arg) + command_help.command_table, current_arg + ) return [] - def _complete_subcommand(self, subcmd_name, subcmd_help, current_arg, opts): + def _complete_subcommand( + self, subcmd_name, subcmd_help, current_arg, opts + ): if current_arg != subcmd_name and current_arg.startswith('-'): return self._find_possible_options(current_arg, opts, subcmd_help) return [] @@ -81,11 +88,13 @@ def _complete_provider(self, current_arg, opts): return self._find_possible_options(current_arg, opts) elif current_arg == 'aws': return self._get_documented_completions( - self.main_help.command_table) + self.main_help.command_table + ) else: # Otherwise, see if they have entered a partial command name return self._get_documented_completions( - self.main_help.command_table, current_arg) + self.main_help.command_table, current_arg + ) def _get_command(self, command_help, command_args): if command_help is not None and command_help.command_table is not None: @@ -112,7 +121,8 @@ def _find_possible_options(self, current_arg, opts, subcmd_help=None): all_options = copy.copy(self.main_options) if subcmd_help is not None: all_options += self._get_documented_completions( - subcmd_help.arg_table) + subcmd_help.arg_table + ) for option in opts: # Look through list of options on cmdline. If there are diff --git a/awscli/errorhandler.py b/awscli/errorhandler.py index 20f38bac640e..0984cf40aa64 100644 --- a/awscli/errorhandler.py +++ b/awscli/errorhandler.py @@ -16,16 +16,27 @@ class BaseOperationError(Exception): - MSG_TEMPLATE = ("A {error_type} error ({error_code}) occurred " - "when calling the {operation_name} operation: " - "{error_message}") + MSG_TEMPLATE = ( + "A {error_type} error ({error_code}) occurred " + "when calling the {operation_name} operation: " + "{error_message}" + ) - def __init__(self, error_code, error_message, error_type, operation_name, - http_status_code): + def __init__( + self, + error_code, + error_message, + error_type, + operation_name, + http_status_code, + ): msg = self.MSG_TEMPLATE.format( - error_code=error_code, error_message=error_message, - error_type=error_type, operation_name=operation_name) - super(BaseOperationError, self).__init__(msg) + error_code=error_code, + error_message=error_message, + error_type=error_type, + operation_name=operation_name, + ) + super().__init__(msg) self.error_code = error_code self.error_message = error_message self.error_type = error_type @@ -41,7 +52,7 @@ class ServerError(BaseOperationError): pass -class ErrorHandler(object): +class ErrorHandler: """ This class is responsible for handling any HTTP errors that occur when a service operation is called. It is registered for the @@ -59,15 +70,21 @@ def __call__(self, http_response, parsed, model, **kwargs): if http_response.status_code >= 500: error_type = 'server' error_class = ServerError - elif http_response.status_code >= 400 or http_response.status_code == 301: + elif ( + http_response.status_code >= 400 + or http_response.status_code == 301 + ): error_type = 'client' error_class = ClientError if error_class is not None: code, message = self._get_error_code_and_message(parsed) raise error_class( - error_code=code, error_message=message, - error_type=error_type, operation_name=model.name, - http_status_code=http_response.status_code) + error_code=code, + error_message=message, + error_type=error_type, + operation_name=model.name, + http_status_code=http_response.status_code, + ) def _get_error_code_and_message(self, response): code = 'Unknown' diff --git a/awscli/formatter.py b/awscli/formatter.py index ca529ed30d13..e13b6fd72c62 100644 --- a/awscli/formatter.py +++ b/awscli/formatter.py @@ -13,16 +13,13 @@ import logging from botocore.compat import json - -from botocore.utils import set_value_from_jmespath from botocore.paginate import PageIterator +from botocore.utils import set_value_from_jmespath -from awscli.table import MultiTable, Styler, ColorizedStyler -from awscli import text -from awscli import compat +from awscli import compat, text +from awscli.table import ColorizedStyler, MultiTable, Styler from awscli.utils import json_encoder - LOG = logging.getLogger(__name__) @@ -30,7 +27,7 @@ def is_response_paginated(response): return isinstance(response, PageIterator) -class Formatter(object): +class Formatter: def __init__(self, args): self._args = args @@ -47,7 +44,7 @@ def _get_default_stream(self): def _flush_stream(self, stream): try: stream.flush() - except IOError: + except OSError: pass @@ -69,7 +66,7 @@ def __call__(self, command_name, response, stream=None): response_data = self._args.query.search(response_data) try: self._format_response(command_name, response_data, stream) - except IOError as e: + except OSError: # If the reading end of our stdout stream has closed the file # we can just exit. pass @@ -80,15 +77,19 @@ def __call__(self, command_name, response, stream=None): class JSONFormatter(FullyBufferedFormatter): - def _format_response(self, command_name, response, stream): # For operations that have no response body (e.g. s3 put-object) # the response will be an empty string. We don't want to print # that out to the user but other "falsey" values like an empty # dictionary should be printed. if response != {}: - json.dump(response, stream, indent=4, default=json_encoder, - ensure_ascii=False) + json.dump( + response, + stream, + indent=4, + default=json_encoder, + ensure_ascii=False, + ) stream.write('\n') @@ -100,19 +101,23 @@ class TableFormatter(FullyBufferedFormatter): using the output definition from the model. """ + def __init__(self, args, table=None): super(TableFormatter, self).__init__(args) if args.color == 'auto': - self.table = MultiTable(initial_section=False, - column_separator='|') + self.table = MultiTable( + initial_section=False, column_separator='|' + ) elif args.color == 'off': styler = Styler() - self.table = MultiTable(initial_section=False, - column_separator='|', styler=styler) + self.table = MultiTable( + initial_section=False, column_separator='|', styler=styler + ) elif args.color == 'on': styler = ColorizedStyler() - self.table = MultiTable(initial_section=False, - column_separator='|', styler=styler) + self.table = MultiTable( + initial_section=False, column_separator='|', styler=styler + ) else: raise ValueError("Unknown color option: %s" % args.color) @@ -120,7 +125,7 @@ def _format_response(self, command_name, response, stream): if self._build_table(command_name, response): try: self.table.render(stream) - except IOError: + except OSError: # If they're piping stdout to another process which exits before # we're done writing all of our output, we'll get an error about a # closed pipe which we can safely ignore. @@ -161,8 +166,9 @@ def _build_sub_table_from_dict(self, current, indent_level): self.table.add_row_header(headers) self.table.add_row([current[k] for k in headers]) for remaining in more: - self._build_table(remaining, current[remaining], - indent_level=indent_level + 1) + self._build_table( + remaining, current[remaining], indent_level=indent_level + 1 + ) def _build_sub_table_from_list(self, current, indent_level, title): headers, more = self._group_scalar_keys_from_list(current) @@ -170,8 +176,7 @@ def _build_sub_table_from_list(self, current, indent_level, title): first = True for element in current: if not first and more: - self.table.new_section(title, - indent_level=indent_level) + self.table.new_section(title, indent_level=indent_level) self.table.add_row_header(headers) first = False # Use .get() to account for the fact that sometimes an element @@ -182,8 +187,11 @@ def _build_sub_table_from_list(self, current, indent_level, title): # be in every single element of the list, so we need to # check this condition before recursing. if remaining in element: - self._build_table(remaining, element[remaining], - indent_level=indent_level + 1) + self._build_table( + remaining, + element[remaining], + indent_level=indent_level + 1, + ) def _scalar_type(self, element): return not isinstance(element, (list, dict)) @@ -219,7 +227,6 @@ def _group_scalar_keys(self, current): class TextFormatter(Formatter): - def __call__(self, command_name, response, stream=None): if stream is None: stream = self._get_default_stream() @@ -235,9 +242,7 @@ def __call__(self, command_name, response, stream=None): for result_key in result_keys: data = result_key.search(page) set_value_from_jmespath( - current, - result_key.expression, - data + current, result_key.expression, data ) self._format_response(current, stream) if response.resume_token: @@ -245,7 +250,8 @@ def __call__(self, command_name, response, stream=None): # if they want. self._format_response( {'NextToken': {'NextToken': response.resume_token}}, - stream) + stream, + ) else: self._remove_request_id(response) self._format_response(response, stream) diff --git a/awscli/handlers.py b/awscli/handlers.py index 41376698d28b..9f9ac6f76678 100644 --- a/awscli/handlers.py +++ b/awscli/handlers.py @@ -16,87 +16,113 @@ registered with the event system. """ + from awscli.argprocess import ParamShorthandParser -from awscli.paramfile import register_uri_param_handler from awscli.customizations import datapipeline from awscli.customizations.addexamples import add_examples from awscli.customizations.argrename import register_arg_renames from awscli.customizations.assumerole import register_assume_role_provider from awscli.customizations.awslambda import register_lambda_create_function from awscli.customizations.cliinputjson import register_cli_input_json -from awscli.customizations.cloudformation import initialize as cloudformation_init +from awscli.customizations.cloudformation import ( + initialize as cloudformation_init, +) from awscli.customizations.cloudfront import register as register_cloudfront from awscli.customizations.cloudsearch import initialize as cloudsearch_init from awscli.customizations.cloudsearchdomain import register_cloudsearchdomain from awscli.customizations.cloudtrail import initialize as cloudtrail_init from awscli.customizations.codeartifact import register_codeartifact_commands from awscli.customizations.codecommit import initialize as codecommit_init -from awscli.customizations.codedeploy.codedeploy import initialize as \ - codedeploy_init +from awscli.customizations.codedeploy.codedeploy import ( + initialize as codedeploy_init, +) from awscli.customizations.configservice.getstatus import register_get_status -from awscli.customizations.configservice.putconfigurationrecorder import \ - register_modify_put_configuration_recorder -from awscli.customizations.configservice.rename_cmd import \ - register_rename_config +from awscli.customizations.configservice.putconfigurationrecorder import ( + register_modify_put_configuration_recorder, +) +from awscli.customizations.configservice.rename_cmd import ( + register_rename_config, +) from awscli.customizations.configservice.subscribe import register_subscribe from awscli.customizations.configure.configure import register_configure_cmd -from awscli.customizations.history import register_history_mode -from awscli.customizations.history import register_history_commands +from awscli.customizations.dlm.dlm import dlm_initialize +from awscli.customizations.dynamodb import register_dynamodb_paginator_fix from awscli.customizations.ec2.addcount import register_count_events from awscli.customizations.ec2.bundleinstance import register_bundleinstance from awscli.customizations.ec2.decryptpassword import ec2_add_priv_launch_key +from awscli.customizations.ec2.paginate import register_ec2_page_size_injector from awscli.customizations.ec2.protocolarg import register_protocol_args from awscli.customizations.ec2.runinstances import register_runinstances from awscli.customizations.ec2.secgroupsimplify import register_secgroup -from awscli.customizations.ec2.paginate import register_ec2_page_size_injector from awscli.customizations.ecr import register_ecr_commands from awscli.customizations.ecr_public import register_ecr_public_commands -from awscli.customizations.emr.emr import emr_initialize -from awscli.customizations.emrcontainers import \ - initialize as emrcontainers_initialize -from awscli.customizations.eks import initialize as eks_initialize from awscli.customizations.ecs import initialize as ecs_initialize +from awscli.customizations.eks import initialize as eks_initialize +from awscli.customizations.emr.emr import emr_initialize +from awscli.customizations.emrcontainers import ( + initialize as emrcontainers_initialize, +) from awscli.customizations.gamelift import register_gamelift_commands -from awscli.customizations.generatecliskeleton import \ - register_generate_cli_skeleton +from awscli.customizations.generatecliskeleton import ( + register_generate_cli_skeleton, +) from awscli.customizations.globalargs import register_parse_global_args +from awscli.customizations.history import ( + register_history_commands, + register_history_mode, +) from awscli.customizations.iamvirtmfa import IAMVMFAWrapper -from awscli.customizations.iot import register_create_keys_and_cert_arguments -from awscli.customizations.iot import register_create_keys_from_csr_arguments +from awscli.customizations.iot import ( + register_create_keys_and_cert_arguments, + register_create_keys_from_csr_arguments, +) from awscli.customizations.iot_data import register_custom_endpoint_note +from awscli.customizations.kinesis import ( + register_kinesis_list_streams_pagination_backcompat, +) from awscli.customizations.kms import register_fix_kms_create_grant_docs -from awscli.customizations.dlm.dlm import dlm_initialize +from awscli.customizations.logs import register_logs_commands +from awscli.customizations.mturk import register_alias_mturk_command from awscli.customizations.opsworks import initialize as opsworks_init +from awscli.customizations.opsworkscm import register_alias_opsworks_cm +from awscli.customizations.overridesslcommonname import ( + register_override_ssl_common_name, +) from awscli.customizations.paginate import register_pagination from awscli.customizations.preview import register_preview_commands from awscli.customizations.putmetricdata import register_put_metric_data -from awscli.customizations.rds import register_rds_modify_split -from awscli.customizations.rds import register_add_generate_db_auth_token -from awscli.customizations.rekognition import register_rekognition_detect_labels +from awscli.customizations.quicksight import ( + register_quicksight_asset_bundle_customizations, +) +from awscli.customizations.rds import ( + register_add_generate_db_auth_token, + register_rds_modify_split, +) +from awscli.customizations.rekognition import ( + register_rekognition_detect_labels, +) from awscli.customizations.removals import register_removals from awscli.customizations.route53 import register_create_hosted_zone_doc_fix from awscli.customizations.s3.s3 import s3_plugin_initialize from awscli.customizations.s3errormsg import register_s3_error_msg +from awscli.customizations.s3events import register_event_stream_arg +from awscli.customizations.sagemaker import ( + register_alias_sagemaker_runtime_command, +) from awscli.customizations.scalarparse import register_scalar_parser +from awscli.customizations.servicecatalog import ( + register_servicecatalog_commands, +) from awscli.customizations.sessendemail import register_ses_send_email +from awscli.customizations.sessionmanager import register_ssm_session +from awscli.customizations.sms_voice import register_sms_voice_hide from awscli.customizations.streamingoutputarg import add_streaming_output_arg -from awscli.customizations.translate import register_translate_import_terminology from awscli.customizations.toplevelbool import register_bool_params +from awscli.customizations.translate import ( + register_translate_import_terminology, +) from awscli.customizations.waiters import register_add_waiters -from awscli.customizations.opsworkscm import register_alias_opsworks_cm -from awscli.customizations.mturk import register_alias_mturk_command -from awscli.customizations.sagemaker import register_alias_sagemaker_runtime_command -from awscli.customizations.servicecatalog import register_servicecatalog_commands -from awscli.customizations.s3events import register_event_stream_arg -from awscli.customizations.sessionmanager import register_ssm_session -from awscli.customizations.sms_voice import register_sms_voice_hide -from awscli.customizations.dynamodb import register_dynamodb_paginator_fix -from awscli.customizations.overridesslcommonname import register_override_ssl_common_name -from awscli.customizations.kinesis import \ - register_kinesis_list_streams_pagination_backcompat -from awscli.customizations.quicksight import \ - register_quicksight_asset_bundle_customizations -from awscli.customizations.logs import register_logs_commands +from awscli.paramfile import register_uri_param_handler def awscli_initialize(event_handlers): @@ -106,23 +132,25 @@ def awscli_initialize(event_handlers): # The s3 error message needs to registered before the # generic error handler. register_s3_error_msg(event_handlers) -# # The following will get fired for every option we are -# # documenting. It will attempt to add an example_fn on to -# # the parameter object if the parameter supports shorthand -# # syntax. The documentation event handlers will then use -# # the examplefn to generate the sample shorthand syntax -# # in the docs. Registering here should ensure that this -# # handler gets called first but it still feels a bit brittle. -# event_handlers.register('doc-option-example.*.*.*', -# param_shorthand.add_example_fn) - event_handlers.register('doc-examples.*.*', - add_examples) + # # The following will get fired for every option we are + # # documenting. It will attempt to add an example_fn on to + # # the parameter object if the parameter supports shorthand + # # syntax. The documentation event handlers will then use + # # the examplefn to generate the sample shorthand syntax + # # in the docs. Registering here should ensure that this + # # handler gets called first but it still feels a bit brittle. + # event_handlers.register('doc-option-example.*.*.*', + # param_shorthand.add_example_fn) + event_handlers.register('doc-examples.*.*', add_examples) register_cli_input_json(event_handlers) - event_handlers.register('building-argument-table.*', - add_streaming_output_arg) + event_handlers.register( + 'building-argument-table.*', add_streaming_output_arg + ) register_count_events(event_handlers) - event_handlers.register('building-argument-table.ec2.get-password-data', - ec2_add_priv_launch_key) + event_handlers.register( + 'building-argument-table.ec2.get-password-data', + ec2_add_priv_launch_key, + ) register_parse_global_args(event_handlers) register_pagination(event_handlers) register_secgroup(event_handlers) @@ -169,10 +197,12 @@ def awscli_initialize(event_handlers): register_custom_endpoint_note(event_handlers) event_handlers.register( 'building-argument-table.iot.create-keys-and-certificate', - register_create_keys_and_cert_arguments) + register_create_keys_and_cert_arguments, + ) event_handlers.register( 'building-argument-table.iot.create-certificate-from-csr', - register_create_keys_from_csr_arguments) + register_create_keys_from_csr_arguments, + ) register_cloudfront(event_handlers) register_gamelift_commands(event_handlers) register_ec2_page_size_injector(event_handlers) diff --git a/awscli/help.py b/awscli/help.py index 568d1fcade0f..14b91c7ed3d7 100644 --- a/awscli/help.py +++ b/awscli/help.py @@ -12,35 +12,37 @@ # language governing permissions and limitations under the License. import logging import os -import sys import platform import shlex -from subprocess import Popen, PIPE +import sys +from subprocess import PIPE, Popen from docutils.core import publish_string from docutils.writers import manpage -from awscli.clidocs import ProviderDocumentEventHandler -from awscli.clidocs import ServiceDocumentEventHandler -from awscli.clidocs import OperationDocumentEventHandler -from awscli.clidocs import TopicListerDocumentEventHandler -from awscli.clidocs import TopicDocumentEventHandler +from awscli.argparser import ArgTableArgParser +from awscli.argprocess import ParamShorthandParser from awscli.bcdoc import docevents from awscli.bcdoc.restdoc import ReSTDocument from awscli.bcdoc.textwriter import TextWriter -from awscli.argprocess import ParamShorthandParser -from awscli.argparser import ArgTableArgParser +from awscli.clidocs import ( + OperationDocumentEventHandler, + ProviderDocumentEventHandler, + ServiceDocumentEventHandler, + TopicDocumentEventHandler, + TopicListerDocumentEventHandler, +) from awscli.topictags import TopicTagDB from awscli.utils import ignore_ctrl_c - LOG = logging.getLogger('awscli.help') class ExecutableNotFoundError(Exception): def __init__(self, executable_name): - super(ExecutableNotFoundError, self).__init__( - 'Could not find executable named "%s"' % executable_name) + super().__init__( + f'Could not find executable named "{executable_name}"' + ) def get_renderer(): @@ -54,7 +56,7 @@ def get_renderer(): return PosixHelpRenderer() -class PagingHelpRenderer(object): +class PagingHelpRenderer: """ Interface for a help renderer. @@ -62,6 +64,7 @@ class PagingHelpRenderer(object): a particular platform. """ + def __init__(self, output_stream=sys.stdout): self.output_stream = output_stream @@ -116,7 +119,8 @@ class PosixHelpRenderer(PagingHelpRenderer): def _convert_doc_content(self, contents): man_contents = publish_string( - contents, writer=manpage.Writer(), + contents, + writer=manpage.Writer(), settings_overrides=self._DEFAULT_DOCUTILS_SETTINGS_OVERRIDES, ) if self._exists_on_path('groff'): @@ -133,8 +137,9 @@ def _convert_doc_content(self, contents): def _send_output_to_pager(self, output): cmdline = self.get_pager_cmdline() if not self._exists_on_path(cmdline[0]): - LOG.debug("Pager '%s' not found in PATH, printing raw help." % - cmdline[0]) + LOG.debug( + "Pager '%s' not found in PATH, printing raw help.", cmdline[0] + ) self.output_stream.write(output.decode('utf-8') + "\n") self.output_stream.flush() return @@ -157,8 +162,12 @@ def _send_output_to_pager(self, output): def _exists_on_path(self, name): # Since we're only dealing with POSIX systems, we can # ignore things like PATHEXT. - return any([os.path.exists(os.path.join(p, name)) - for p in os.environ.get('PATH', '').split(os.pathsep)]) + return any( + [ + os.path.exists(os.path.join(p, name)) + for p in os.environ.get('PATH', '').split(os.pathsep) + ] + ) class WindowsHelpRenderer(PagingHelpRenderer): @@ -168,7 +177,8 @@ class WindowsHelpRenderer(PagingHelpRenderer): def _convert_doc_content(self, contents): text_output = publish_string( - contents, writer=TextWriter(), + contents, + writer=TextWriter(), settings_overrides=self._DEFAULT_DOCUTILS_SETTINGS_OVERRIDES, ) return text_output @@ -180,7 +190,7 @@ def _popen(self, *args, **kwargs): return Popen(*args, **kwargs) -class HelpCommand(object): +class HelpCommand: """ HelpCommand Interface --------------------- @@ -278,8 +288,9 @@ def __call__(self, args, parsed_globals): subcommand_parser = ArgTableArgParser({}, self.subcommand_table) parsed, remaining = subcommand_parser.parse_known_args(args) if getattr(parsed, 'subcommand', None) is not None: - return self.subcommand_table[parsed.subcommand](remaining, - parsed_globals) + return self.subcommand_table[parsed.subcommand]( + remaining, parsed_globals + ) # Create an event handler for a Provider Document instance = self.EventHandlerClass(self) @@ -297,12 +308,13 @@ class ProviderHelpCommand(HelpCommand): This is what is called when ``aws help`` is run. """ + EventHandlerClass = ProviderDocumentEventHandler - def __init__(self, session, command_table, arg_table, - description, synopsis, usage): - HelpCommand.__init__(self, session, None, - command_table, arg_table) + def __init__( + self, session, command_table, arg_table, description, synopsis, usage + ): + HelpCommand.__init__(self, session, None, command_table, arg_table) self.description = description self.synopsis = synopsis self.help_usage = usage @@ -351,10 +363,12 @@ class ServiceHelpCommand(HelpCommand): EventHandlerClass = ServiceDocumentEventHandler - def __init__(self, session, obj, command_table, arg_table, name, - event_class): - super(ServiceHelpCommand, self).__init__(session, obj, command_table, - arg_table) + def __init__( + self, session, obj, command_table, arg_table, name, event_class + ): + super().__init__( + session, obj, command_table, arg_table + ) self._name = name self._event_class = event_class @@ -374,10 +388,10 @@ class OperationHelpCommand(HelpCommand): e.g. ``aws ec2 describe-instances help``. """ + EventHandlerClass = OperationDocumentEventHandler - def __init__(self, session, operation_model, arg_table, name, - event_class): + def __init__(self, session, operation_model, arg_table, name, event_class): HelpCommand.__init__(self, session, operation_model, None, arg_table) self.param_shorthand = ParamShorthandParser() self._name = name @@ -396,7 +410,7 @@ class TopicListerCommand(HelpCommand): EventHandlerClass = TopicListerDocumentEventHandler def __init__(self, session): - super(TopicListerCommand, self).__init__(session, None, {}, {}) + super().__init__(session, None, {}, {}) @property def event_class(self): @@ -411,7 +425,7 @@ class TopicHelpCommand(HelpCommand): EventHandlerClass = TopicDocumentEventHandler def __init__(self, session, topic_name): - super(TopicHelpCommand, self).__init__(session, None, {}, {}) + super().__init__(session, None, {}, {}) self._topic_name = topic_name @property diff --git a/awscli/paramfile.py b/awscli/paramfile.py index 36f3ac6593f6..5f6ff89cbc44 100644 --- a/awscli/paramfile.py +++ b/awscli/paramfile.py @@ -10,17 +10,16 @@ # distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF # ANY KIND, either express or implied. See the License for the specific # language governing permissions and limitations under the License. +import copy import logging import os -import copy from botocore.awsrequest import AWSRequest -from botocore.httpsession import URLLib3Session from botocore.exceptions import ProfileNotFound +from botocore.httpsession import URLLib3Session -from awscli.compat import compat_open from awscli.argprocess import ParamError - +from awscli.compat import compat_open logger = logging.getLogger(__name__) @@ -28,123 +27,108 @@ # special param file processing. This is typically because it # refers to an actual URI of some sort and we don't want to actually # download the content (i.e TemplateURL in cloudformation). -PARAMFILE_DISABLED = set([ - 'api-gateway.put-integration.uri', - 'api-gateway.create-integration.integration-uri', - 'api-gateway.update-integration.integration-uri', - 'api-gateway.create-api.target', - 'api-gateway.update-api.target', - 'appstream.create-stack.redirect-url', - 'appstream.create-stack.feedback-url', - 'appstream.update-stack.redirect-url', - 'appstream.update-stack.feedback-url', - 'cloudformation.create-stack.template-url', - 'cloudformation.update-stack.template-url', - 'cloudformation.create-stack-set.template-url', - 'cloudformation.update-stack-set.template-url', - 'cloudformation.create-change-set.template-url', - 'cloudformation.validate-template.template-url', - 'cloudformation.estimate-template-cost.template-url', - 'cloudformation.get-template-summary.template-url', - - 'cloudformation.create-stack.stack-policy-url', - 'cloudformation.update-stack.stack-policy-url', - 'cloudformation.set-stack-policy.stack-policy-url', - # aws cloudformation package --template-file - 'custom.package.template-file', - # aws cloudformation deploy --template-file - 'custom.deploy.template-file', - - 'cloudformation.update-stack.stack-policy-during-update-url', - 'cloudformation.register-type.schema-handler-package', - # We will want to change the event name to ``s3`` as opposed to - # custom in the near future along with ``s3`` to ``s3api``. - 'custom.cp.website-redirect', - 'custom.mv.website-redirect', - 'custom.sync.website-redirect', - - 'guardduty.create-ip-set.location', - 'guardduty.update-ip-set.location', - 'guardduty.create-threat-intel-set.location', - 'guardduty.update-threat-intel-set.location', - 'comprehend.detect-dominant-language.text', - 'comprehend.batch-detect-dominant-language.text-list', - 'comprehend.detect-entities.text', - 'comprehend.batch-detect-entities.text-list', - 'comprehend.detect-key-phrases.text', - 'comprehend.batch-detect-key-phrases.text-list', - 'comprehend.detect-sentiment.text', - 'comprehend.batch-detect-sentiment.text-list', - - 'emr.create-studio.idp-auth-url', - - 'iam.create-open-id-connect-provider.url', - - 'machine-learning.predict.predict-endpoint', - - 'mediatailor.put-playback-configuration.ad-decision-server-url', - 'mediatailor.put-playback-configuration.slate-ad-url', - 'mediatailor.put-playback-configuration.video-content-source-url', - - 'rds.copy-db-cluster-snapshot.pre-signed-url', - 'rds.create-db-cluster.pre-signed-url', - 'rds.copy-db-snapshot.pre-signed-url', - 'rds.create-db-instance-read-replica.pre-signed-url', - - 'sagemaker.create-notebook-instance.default-code-repository', - 'sagemaker.create-notebook-instance.additional-code-repositories', - 'sagemaker.update-notebook-instance.default-code-repository', - 'sagemaker.update-notebook-instance.additional-code-repositories', - - 'serverlessapplicationrepository.create-application.home-page-url', - 'serverlessapplicationrepository.create-application.license-url', - 'serverlessapplicationrepository.create-application.readme-url', - 'serverlessapplicationrepository.create-application.source-code-url', - 'serverlessapplicationrepository.create-application.template-url', - 'serverlessapplicationrepository.create-application-version.source-code-url', - 'serverlessapplicationrepository.create-application-version.template-url', - 'serverlessapplicationrepository.update-application.home-page-url', - 'serverlessapplicationrepository.update-application.readme-url', - - 'service-catalog.create-product.support-url', - 'service-catalog.update-product.support-url', - - 'ses.create-custom-verification-email-template.failure-redirection-url', - 'ses.create-custom-verification-email-template.success-redirection-url', - 'ses.put-account-details.website-url', - 'ses.update-custom-verification-email-template.failure-redirection-url', - 'ses.update-custom-verification-email-template.success-redirection-url', - - 'sqs.add-permission.queue-url', - 'sqs.change-message-visibility.queue-url', - 'sqs.change-message-visibility-batch.queue-url', - 'sqs.delete-message.queue-url', - 'sqs.delete-message-batch.queue-url', - 'sqs.delete-queue.queue-url', - 'sqs.get-queue-attributes.queue-url', - 'sqs.list-dead-letter-source-queues.queue-url', - 'sqs.receive-message.queue-url', - 'sqs.remove-permission.queue-url', - 'sqs.send-message.queue-url', - 'sqs.send-message-batch.queue-url', - 'sqs.set-queue-attributes.queue-url', - 'sqs.purge-queue.queue-url', - 'sqs.list-queue-tags.queue-url', - 'sqs.tag-queue.queue-url', - 'sqs.untag-queue.queue-url', - - 's3.copy-object.website-redirect-location', - 's3.create-multipart-upload.website-redirect-location', - 's3.put-object.website-redirect-location', - - # Double check that this has been renamed! - 'sns.subscribe.notification-endpoint', - - 'iot.create-job.document-source', - 'translate.translate-text.text', - - 'workdocs.create-notification-subscription.notification-endpoint' -]) +PARAMFILE_DISABLED = set( + [ + 'api-gateway.put-integration.uri', + 'api-gateway.create-integration.integration-uri', + 'api-gateway.update-integration.integration-uri', + 'api-gateway.create-api.target', + 'api-gateway.update-api.target', + 'appstream.create-stack.redirect-url', + 'appstream.create-stack.feedback-url', + 'appstream.update-stack.redirect-url', + 'appstream.update-stack.feedback-url', + 'cloudformation.create-stack.template-url', + 'cloudformation.update-stack.template-url', + 'cloudformation.create-stack-set.template-url', + 'cloudformation.update-stack-set.template-url', + 'cloudformation.create-change-set.template-url', + 'cloudformation.validate-template.template-url', + 'cloudformation.estimate-template-cost.template-url', + 'cloudformation.get-template-summary.template-url', + 'cloudformation.create-stack.stack-policy-url', + 'cloudformation.update-stack.stack-policy-url', + 'cloudformation.set-stack-policy.stack-policy-url', + # aws cloudformation package --template-file + 'custom.package.template-file', + # aws cloudformation deploy --template-file + 'custom.deploy.template-file', + 'cloudformation.update-stack.stack-policy-during-update-url', + 'cloudformation.register-type.schema-handler-package', + # We will want to change the event name to ``s3`` as opposed to + # custom in the near future along with ``s3`` to ``s3api``. + 'custom.cp.website-redirect', + 'custom.mv.website-redirect', + 'custom.sync.website-redirect', + 'guardduty.create-ip-set.location', + 'guardduty.update-ip-set.location', + 'guardduty.create-threat-intel-set.location', + 'guardduty.update-threat-intel-set.location', + 'comprehend.detect-dominant-language.text', + 'comprehend.batch-detect-dominant-language.text-list', + 'comprehend.detect-entities.text', + 'comprehend.batch-detect-entities.text-list', + 'comprehend.detect-key-phrases.text', + 'comprehend.batch-detect-key-phrases.text-list', + 'comprehend.detect-sentiment.text', + 'comprehend.batch-detect-sentiment.text-list', + 'emr.create-studio.idp-auth-url', + 'iam.create-open-id-connect-provider.url', + 'machine-learning.predict.predict-endpoint', + 'mediatailor.put-playback-configuration.ad-decision-server-url', + 'mediatailor.put-playback-configuration.slate-ad-url', + 'mediatailor.put-playback-configuration.video-content-source-url', + 'rds.copy-db-cluster-snapshot.pre-signed-url', + 'rds.create-db-cluster.pre-signed-url', + 'rds.copy-db-snapshot.pre-signed-url', + 'rds.create-db-instance-read-replica.pre-signed-url', + 'sagemaker.create-notebook-instance.default-code-repository', + 'sagemaker.create-notebook-instance.additional-code-repositories', + 'sagemaker.update-notebook-instance.default-code-repository', + 'sagemaker.update-notebook-instance.additional-code-repositories', + 'serverlessapplicationrepository.create-application.home-page-url', + 'serverlessapplicationrepository.create-application.license-url', + 'serverlessapplicationrepository.create-application.readme-url', + 'serverlessapplicationrepository.create-application.source-code-url', + 'serverlessapplicationrepository.create-application.template-url', + 'serverlessapplicationrepository.create-application-version.source-code-url', + 'serverlessapplicationrepository.create-application-version.template-url', + 'serverlessapplicationrepository.update-application.home-page-url', + 'serverlessapplicationrepository.update-application.readme-url', + 'service-catalog.create-product.support-url', + 'service-catalog.update-product.support-url', + 'ses.create-custom-verification-email-template.failure-redirection-url', + 'ses.create-custom-verification-email-template.success-redirection-url', + 'ses.put-account-details.website-url', + 'ses.update-custom-verification-email-template.failure-redirection-url', + 'ses.update-custom-verification-email-template.success-redirection-url', + 'sqs.add-permission.queue-url', + 'sqs.change-message-visibility.queue-url', + 'sqs.change-message-visibility-batch.queue-url', + 'sqs.delete-message.queue-url', + 'sqs.delete-message-batch.queue-url', + 'sqs.delete-queue.queue-url', + 'sqs.get-queue-attributes.queue-url', + 'sqs.list-dead-letter-source-queues.queue-url', + 'sqs.receive-message.queue-url', + 'sqs.remove-permission.queue-url', + 'sqs.send-message.queue-url', + 'sqs.send-message-batch.queue-url', + 'sqs.set-queue-attributes.queue-url', + 'sqs.purge-queue.queue-url', + 'sqs.list-queue-tags.queue-url', + 'sqs.tag-queue.queue-url', + 'sqs.untag-queue.queue-url', + 's3.copy-object.website-redirect-location', + 's3.create-multipart-upload.website-redirect-location', + 's3.put-object.website-redirect-location', + # Double check that this has been renamed! + 'sns.subscribe.notification-endpoint', + 'iot.create-job.document-source', + 'translate.translate-text.text', + 'workdocs.create-notification-subscription.notification-endpoint', + ] +) class ResourceLoadingError(Exception): @@ -154,8 +138,10 @@ class ResourceLoadingError(Exception): def register_uri_param_handler(session, **kwargs): prefix_map = copy.deepcopy(LOCAL_PREFIX_MAP) try: - fetch_url = session.get_scoped_config().get( - 'cli_follow_urlparam', 'true') == 'true' + fetch_url = ( + session.get_scoped_config().get('cli_follow_urlparam', 'true') + == 'true' + ) except ProfileNotFound: # If a --profile is provided that does not exist, loading # a value from get_scoped_config will crash the CLI. @@ -173,7 +159,7 @@ def register_uri_param_handler(session, **kwargs): session.register('load-cli-arg', handler) -class URIArgumentHandler(object): +class URIArgumentHandler: def __init__(self, prefixes=None): if prefixes is None: prefixes = copy.deepcopy(LOCAL_PREFIX_MAP) @@ -184,8 +170,9 @@ def __call__(self, event_name, param, value, **kwargs): """Handler that supports param values from URIs.""" cli_argument = param qualified_param_name = '.'.join(event_name.split('.')[1:]) - if qualified_param_name in PARAMFILE_DISABLED or \ - getattr(cli_argument, 'no_paramfile', None): + if qualified_param_name in PARAMFILE_DISABLED or getattr( + cli_argument, 'no_paramfile', None + ): return else: return self._check_for_uri_param(cli_argument, value) @@ -232,7 +219,7 @@ def get_paramfile(path, cases): def get_file(prefix, path, mode): - file_path = os.path.expandvars(os.path.expanduser(path[len(prefix):])) + file_path = os.path.expandvars(os.path.expanduser(path[len(prefix) :])) try: with compat_open(file_path, mode) as f: return f.read() @@ -240,10 +227,12 @@ def get_file(prefix, path, mode): raise ResourceLoadingError( 'Unable to load paramfile (%s), text contents could ' 'not be decoded. If this is a binary file, please use the ' - 'fileb:// prefix instead of the file:// prefix.' % file_path) - except (OSError, IOError) as e: - raise ResourceLoadingError('Unable to load paramfile %s: %s' % ( - path, e)) + 'fileb:// prefix instead of the file:// prefix.' % file_path + ) + except OSError as e: + raise ResourceLoadingError( + f'Unable to load paramfile {path}: {e}' + ) def get_uri(prefix, uri): @@ -254,8 +243,8 @@ def get_uri(prefix, uri): return r.text else: raise ResourceLoadingError( - "received non 200 status code of %s" % ( - r.status_code)) + f"received non 200 status code of {r.status_code}" + ) except Exception as e: raise ResourceLoadingError('Unable to retrieve %s: %s' % (uri, e)) diff --git a/awscli/schema.py b/awscli/schema.py index 17ec6ba416cd..3aa8f7c5528d 100644 --- a/awscli/schema.py +++ b/awscli/schema.py @@ -17,7 +17,7 @@ class ParameterRequiredError(ValueError): pass -class SchemaTransformer(object): +class SchemaTransformer: """ Transforms a custom argument parameter schema into an internal model representation so that it can be treated like a normal @@ -63,6 +63,7 @@ class SchemaTransformer(object): $ aws foo bar --baz arg1=Value1,arg2=5 arg1=Value2 """ + JSON_SCHEMA_TO_AWS_TYPES = { 'object': 'structure', 'array': 'list', @@ -116,7 +117,8 @@ def _transform_structure(self, schema, shapes): for key, value in schema['properties'].items(): current_type_name = self._json_schema_to_aws_type(value) current_shape_name = self._shape_namer.new_shape_name( - current_type_name) + current_type_name + ) members[key] = {'shape': current_shape_name} if value.get('required', False): required_members.append(key) @@ -161,7 +163,7 @@ def _json_schema_to_aws_type(self, schema): return self.JSON_SCHEMA_TO_AWS_TYPES.get(type_name, type_name) -class ShapeNameGenerator(object): +class ShapeNameGenerator: def __init__(self): self._name_cache = defaultdict(int) diff --git a/awscli/shorthand.py b/awscli/shorthand.py index b8e782c5bb33..36d710863e44 100644 --- a/awscli/shorthand.py +++ b/awscli/shorthand.py @@ -38,16 +38,16 @@ ``BackCompatVisitor`` class. """ + import re import string from awscli.utils import is_document_type - _EOF = object() -class _NamedRegex(object): +class _NamedRegex: def __init__(self, name, regex_str): self.name = name self.regex = re.compile(regex_str, re.UNICODE) @@ -57,25 +57,24 @@ def match(self, value): class ShorthandParseError(Exception): - def _error_location(self): consumed, remaining, num_spaces = self.value, '', self.index - if '\n' in self.value[:self.index]: + if '\n' in self.value[: self.index]: # If there's newlines in the consumed expression, we want # to make sure we're only counting the spaces # from the last newline: # foo=bar,\n # bar==baz # ^ - last_newline = self.value[:self.index].rindex('\n') + last_newline = self.value[: self.index].rindex('\n') num_spaces = self.index - last_newline - 1 - if '\n' in self.value[self.index:]: + if '\n' in self.value[self.index :]: # If there's newline in the remaining, divide value # into consumed and remaining # foo==bar,\n # ^ # bar=baz - next_newline = self.index + self.value[self.index:].index('\n') + next_newline = self.index + self.value[self.index :].index('\n') consumed = self.value[:next_newline] remaining = self.value[next_newline:] return '%s\n%s%s' % (consumed, (' ' * num_spaces) + '^', remaining) @@ -88,14 +87,13 @@ def __init__(self, value, expected, actual, index): self.actual = actual self.index = index msg = self._construct_msg() - super(ShorthandParseSyntaxError, self).__init__(msg) + super().__init__(msg) def _construct_msg(self): - msg = ( - "Expected: '%s', received: '%s' for input:\n" - "%s" - ) % (self.expected, self.actual, self._error_location()) - return msg + return ( + f"Expected: '{self.expected}', received: '{self.actual}' " + f"for input:\n" "{self._error_location()}" + ) class DuplicateKeyInObjectError(ShorthandParseError): @@ -104,22 +102,21 @@ def __init__(self, key, value, index): self.value = value self.index = index msg = self._construct_msg() - super(DuplicateKeyInObjectError, self).__init__(msg) + super().__init__(msg) def _construct_msg(self): - msg = ( - "Second instance of key \"%s\" encountered for input:\n%s\n" - "This is often because there is a preceding \",\" instead of a " - "space." - ) % (self.key, self._error_location()) - return msg + return ( + f"Second instance of key \"{self.key}\" encountered for input:\n" + f"{self._error_location()}\nThis is often because there is a " + "preceding \",\" instead of a space." + ) class DocumentTypesNotSupportedError(Exception): pass -class ShorthandParser(object): +class ShorthandParser: """Parses shorthand syntax in the CLI. Note that this parser does not rely on any JSON models to control @@ -129,26 +126,20 @@ class ShorthandParser(object): _SINGLE_QUOTED = _NamedRegex('singled quoted', r'\'(?:\\\\|\\\'|[^\'])*\'') _DOUBLE_QUOTED = _NamedRegex('double quoted', r'"(?:\\\\|\\"|[^"])*"') - _START_WORD = u'\!\#-&\(-\+\--\<\>-Z\\\\-z\u007c-\uffff' - _FIRST_FOLLOW_CHARS = u'\s\!\#-&\(-\+\--\\\\\^-\|~-\uffff' - _SECOND_FOLLOW_CHARS = u'\s\!\#-&\(-\+\--\<\>-\uffff' + _START_WORD = '\!\#-&\(-\+\--\<\>-Z\\\\-z\u007c-\uffff' + _FIRST_FOLLOW_CHARS = '\s\!\#-&\(-\+\--\\\\\^-\|~-\uffff' + _SECOND_FOLLOW_CHARS = '\s\!\#-&\(-\+\--\<\>-\uffff' _ESCAPED_COMMA = '(\\\\,)' _FIRST_VALUE = _NamedRegex( 'first', - u'({escaped_comma}|[{start_word}])' - u'({escaped_comma}|[{follow_chars}])*'.format( - escaped_comma=_ESCAPED_COMMA, - start_word=_START_WORD, - follow_chars=_FIRST_FOLLOW_CHARS, - )) + f'({_ESCAPED_COMMA}|[{_START_WORD}])' + f'({_ESCAPED_COMMA}|[{_FIRST_FOLLOW_CHARS}])*', + ) _SECOND_VALUE = _NamedRegex( 'second', - u'({escaped_comma}|[{start_word}])' - u'({escaped_comma}|[{follow_chars}])*'.format( - escaped_comma=_ESCAPED_COMMA, - start_word=_START_WORD, - follow_chars=_SECOND_FOLLOW_CHARS, - )) + f'({_ESCAPED_COMMA}|[{_START_WORD}])' + f'({_ESCAPED_COMMA}|[{_SECOND_FOLLOW_CHARS}])*', + ) def __init__(self): self._tokens = [] @@ -205,7 +196,7 @@ def _key(self): if self._current() not in valid_chars: break self._index += 1 - return self._input_value[start:self._index] + return self._input_value[start : self._index] def _values(self): # values = csv-list / explicit-list / hash-literal @@ -267,7 +258,7 @@ def _csv_value(self): return csv_list def _value(self): - result = self._FIRST_VALUE.match(self._input_value[self._index:]) + result = self._FIRST_VALUE.match(self._input_value[self._index :]) if result is not None: consumed = self._consume_matched_regex(result) return consumed.replace('\\,', ',').rstrip() @@ -348,27 +339,30 @@ def _expect(self, char, consume_whitespace=False): if consume_whitespace: self._consume_whitespace() if self._index >= len(self._input_value): - raise ShorthandParseSyntaxError(self._input_value, char, - 'EOF', self._index) + raise ShorthandParseSyntaxError( + self._input_value, char, 'EOF', self._index + ) actual = self._input_value[self._index] if actual != char: - raise ShorthandParseSyntaxError(self._input_value, char, - actual, self._index) + raise ShorthandParseSyntaxError( + self._input_value, char, actual, self._index + ) self._index += 1 if consume_whitespace: self._consume_whitespace() def _must_consume_regex(self, regex): - result = regex.match(self._input_value[self._index:]) + result = regex.match(self._input_value[self._index :]) if result is not None: return self._consume_matched_regex(result) - raise ShorthandParseSyntaxError(self._input_value, '<%s>' % regex.name, - '', self._index) + raise ShorthandParseSyntaxError( + self._input_value, f'', '', self._index + ) def _consume_matched_regex(self, result): start, end = result.span() - v = self._input_value[self._index+start:self._index+end] - self._index += (end - start) + v = self._input_value[self._index + start : self._index + end] + self._index += end - start return v def _current(self): @@ -390,21 +384,23 @@ def _consume_whitespace(self): self._index += 1 -class ModelVisitor(object): +class ModelVisitor: def visit(self, params, model): self._visit({}, model, '', params) def _visit(self, parent, shape, name, value): - method = getattr(self, '_visit_%s' % shape.type_name, - self._visit_scalar) + method = getattr( + self, f'_visit_{shape.type_name}', self._visit_scalar + ) method(parent, shape, name, value) def _visit_structure(self, parent, shape, name, value): if not isinstance(value, dict): return for member_name, member_shape in shape.members.items(): - self._visit(value, member_shape, member_name, - value.get(member_name)) + self._visit( + value, member_shape, member_name, value.get(member_name) + ) def _visit_list(self, parent, shape, name, value): if not isinstance(value, list): @@ -430,8 +426,9 @@ def _visit_structure(self, parent, shape, name, value): return for member_name, member_shape in shape.members.items(): try: - self._visit(value, member_shape, member_name, - value.get(member_name)) + self._visit( + value, member_shape, member_name, value.get(member_name) + ) except DocumentTypesNotSupportedError: # Catch and propagate the document type error to a better # error message as when the original error is thrown there is @@ -440,7 +437,7 @@ def _visit_structure(self, parent, shape, name, value): raise ShorthandParseError( 'Shorthand syntax does not support document types. Use ' 'JSON input for top-level argument to specify nested ' - 'parameter: %s' % member_name + f'parameter: {member_name}' ) def _visit_list(self, parent, shape, name, value): @@ -450,8 +447,9 @@ def _visit_list(self, parent, shape, name, value): if value is not None: parent[name] = [value] else: - return super(BackCompatVisitor, self)._visit_list( - parent, shape, name, value) + return super()._visit_list( + parent, shape, name, value + ) def _visit_scalar(self, parent, shape, name, value): if value is None: diff --git a/awscli/table.py b/awscli/table.py index 8ebfc454d0ed..bdb3295c8e3e 100644 --- a/awscli/table.py +++ b/awscli/table.py @@ -6,19 +6,19 @@ # http://aws.amazon.com/apache2.0/ +import struct + # or in the "license" file accompanying this file. This file is # distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF # ANY KIND, either express or implied. See the License for the specific # language governing permissions and limitations under the License. import sys -import struct import unicodedata import colorama from awscli.utils import is_a_tty - # `autoreset` allows us to not have to sent reset sequences for every # string. `strip` lets us preserve color when redirecting. COLORAMA_KWARGS = { @@ -35,28 +35,32 @@ def get_text_length(text): # * F(Fullwidth) # * W(Wide) text = str(text) - return sum(2 if unicodedata.east_asian_width(char) in 'WFA' else 1 - for char in text) + return sum( + 2 if unicodedata.east_asian_width(char) in 'WFA' else 1 + for char in text + ) def determine_terminal_width(default_width=80): # If we can't detect the terminal width, the default_width is returned. try: - from termios import TIOCGWINSZ from fcntl import ioctl + from termios import TIOCGWINSZ except ImportError: return default_width try: - height, width = struct.unpack('hhhh', ioctl(sys.stdout, - TIOCGWINSZ, '\000' * 8))[0:2] + height, width = struct.unpack( + 'hhhh', ioctl(sys.stdout, TIOCGWINSZ, '\000' * 8) + )[0:2] except Exception: return default_width else: return width -def center_text(text, length=80, left_edge='|', right_edge='|', - text_length=None): +def center_text( + text, length=80, left_edge='|', right_edge='|', text_length=None +): """Center text with specified edge chars. You can pass in the length of the text as an arg, otherwise it is computed @@ -77,15 +81,24 @@ def center_text(text, length=80, left_edge='|', right_edge='|', return final -def align_left(text, length, left_edge='|', right_edge='|', text_length=None, - left_padding=2): +def align_left( + text, + length, + left_edge='|', + right_edge='|', + text_length=None, + left_padding=2, +): """Left align text.""" # postcondition: get_text_length(returned_text) == length if text_length is None: text_length = get_text_length(text) computed_length = ( - text_length + left_padding + \ - get_text_length(left_edge) + get_text_length(right_edge)) + text_length + + left_padding + + get_text_length(left_edge) + + get_text_length(right_edge) + ) if length - computed_length >= 0: padding = left_padding else: @@ -125,9 +138,10 @@ def convert_to_vertical_table(sections): sections[i] = new_section -class IndentedStream(object): - def __init__(self, stream, indent_level, left_indent_char='|', - right_indent_char='|'): +class IndentedStream: + def __init__( + self, stream, indent_level, left_indent_char='|', right_indent_char='|' + ): self._stream = stream self._indent_level = indent_level self._left_indent_char = left_indent_char @@ -146,7 +160,7 @@ def __getattr__(self, attr): return getattr(self._stream, attr) -class Styler(object): +class Styler: def style_title(self, text): return text @@ -167,25 +181,39 @@ def __init__(self): def style_title(self, text): # Originally bold + underline return text - #return colorama.Style.BOLD + text + colorama.Style.RESET_ALL + # return colorama.Style.BOLD + text + colorama.Style.RESET_ALL def style_header_column(self, text): # Originally underline return text def style_row_element(self, text): - return (colorama.Style.BRIGHT + colorama.Fore.BLUE + - text + colorama.Style.RESET_ALL) + return ( + colorama.Style.BRIGHT + + colorama.Fore.BLUE + + text + + colorama.Style.RESET_ALL + ) def style_indentation_char(self, text): - return (colorama.Style.DIM + colorama.Fore.YELLOW + - text + colorama.Style.RESET_ALL) - - -class MultiTable(object): - def __init__(self, terminal_width=None, initial_section=True, - column_separator='|', terminal=None, - styler=None, auto_reformat=True): + return ( + colorama.Style.DIM + + colorama.Fore.YELLOW + + text + + colorama.Style.RESET_ALL + ) + + +class MultiTable: + def __init__( + self, + terminal_width=None, + initial_section=True, + column_separator='|', + terminal=None, + styler=None, + auto_reformat=True, + ): self._auto_reformat = auto_reformat if initial_section: self._current_section = Section() @@ -238,16 +266,22 @@ def _determine_conversion_needed(self, max_width): return self._auto_reformat def _calculate_max_width(self): - max_width = max(s.total_width(padding=4, with_border=True, - outer_padding=s.indent_level) - for s in self._sections) + max_width = max( + s.total_width( + padding=4, with_border=True, outer_padding=s.indent_level + ) + for s in self._sections + ) return max_width def _render_section(self, section, max_width, stream): - stream = IndentedStream(stream, section.indent_level, - self._styler.style_indentation_char('|'), - self._styler.style_indentation_char('|')) - max_width -= (section.indent_level * 2) + stream = IndentedStream( + stream, + section.indent_level, + self._styler.style_indentation_char('|'), + self._styler.style_indentation_char('|'), + ) + max_width -= section.indent_level * 2 self._render_title(section, max_width, stream) self._render_column_titles(section, max_width, stream) self._render_rows(section, max_width, stream) @@ -258,8 +292,12 @@ def _render_title(self, section, max_width, stream): # bottom_border: ---------------------------- if section.title: title = self._styler.style_title(section.title) - stream.write(center_text(title, max_width, '|', '|', - get_text_length(section.title)) + '\n') + stream.write( + center_text( + title, max_width, '|', '|', get_text_length(section.title) + ) + + '\n' + ) if not section.headers and not section.rows: stream.write('+%s+' % ('-' * (max_width - 2)) + '\n') @@ -268,8 +306,9 @@ def _render_column_titles(self, section, max_width, stream): return # In order to render the column titles we need to know # the width of each of the columns. - widths = section.calculate_column_widths(padding=4, - max_width=max_width) + widths = section.calculate_column_widths( + padding=4, max_width=max_width + ) # TODO: Built a list instead of +=, it's more efficient. current = '' length_so_far = 0 @@ -283,9 +322,13 @@ def _render_column_titles(self, section, max_width, stream): first = False else: left_edge = '' - current += center_text(text=stylized_header, length=width, - left_edge=left_edge, right_edge='|', - text_length=get_text_length(header)) + current += center_text( + text=stylized_header, + length=width, + left_edge=left_edge, + right_edge='|', + text_length=get_text_length(header), + ) length_so_far += width self._write_line_break(stream, widths) stream.write(current + '\n') @@ -307,8 +350,9 @@ def _write_line_break(self, stream, widths): def _render_rows(self, section, max_width, stream): if not section.rows: return - widths = section.calculate_column_widths(padding=4, - max_width=max_width) + widths = section.calculate_column_widths( + padding=4, max_width=max_width + ) if not widths: return self._write_line_break(stream, widths) @@ -325,16 +369,19 @@ def _render_rows(self, section, max_width, stream): else: left_edge = '' stylized = self._styler.style_row_element(element) - current += align_left(text=stylized, length=width, - left_edge=left_edge, - right_edge=self._column_separator, - text_length=get_text_length(element)) + current += align_left( + text=stylized, + length=width, + left_edge=left_edge, + right_edge=self._column_separator, + text_length=get_text_length(element), + ) length_so_far += width stream.write(current + '\n') self._write_line_break(stream, widths) -class Section(object): +class Section: def __init__(self): self.title = '' self.headers = [] @@ -344,8 +391,10 @@ def __init__(self): self._max_widths = [] def __repr__(self): - return ("Section(title=%s, headers=%s, indent_level=%s, num_rows=%s)" % - (self.title, self.headers, self.indent_level, len(self.rows))) + return ( + f"Section(title={self.title}, headers={self.headers}, " + f"indent_level={self.indent_level}, num_rows={len(self.rows)})" + ) def calculate_column_widths(self, padding=0, max_width=None): # postcondition: sum(widths) == max_width @@ -385,8 +434,13 @@ def total_width(self, padding=0, with_border=False, outer_padding=0): if with_border: total += border_padding total += outer_padding + outer_padding - return max(get_text_length(self.title) + border_padding + outer_padding + - outer_padding, total) + return max( + get_text_length(self.title) + + border_padding + + outer_padding + + outer_padding, + total, + ) def add_title(self, title): self.title = title @@ -404,8 +458,10 @@ def add_row(self, row): if self._num_cols is None: self._num_cols = len(row) if len(row) != self._num_cols: - raise ValueError("Row should have %s elements, instead " - "it has %s" % (self._num_cols, len(row))) + raise ValueError( + f"Row should have {self._num_cols} elements, instead " + f"it has {len(row)}" + ) row = self._format_row(row) self.rows.append(row) self._update_max_widths(row) @@ -418,4 +474,6 @@ def _update_max_widths(self, row): self._max_widths = [get_text_length(el) for el in row] else: for i, el in enumerate(row): - self._max_widths[i] = max(get_text_length(el), self._max_widths[i]) + self._max_widths[i] = max( + get_text_length(el), self._max_widths[i] + ) diff --git a/awscli/testutils.py b/awscli/testutils.py index ae36528aa426..27fea5da9687 100644 --- a/awscli/testutils.py +++ b/awscli/testutils.py @@ -19,40 +19,29 @@ advantage of all the testing utilities we provide. """ -import os -import sys + +import binascii +import contextlib import copy -import shutil -import time import json import logging -import tempfile +import os import platform -import contextlib -import string -import binascii +import shutil +import sys +import tempfile +import time +import unittest from pprint import pformat -from subprocess import Popen, PIPE +from subprocess import PIPE, Popen from unittest import mock -from awscli.compat import StringIO - - -from botocore.session import Session -from botocore.exceptions import ClientError -from botocore.exceptions import WaiterError import botocore.loaders from botocore.awsrequest import AWSResponse +from botocore.exceptions import ClientError, WaiterError import awscli.clidriver -from awscli.plugin import load_plugins -from awscli.clidriver import CLIDriver from awscli.compat import BytesIO, StringIO -from awscli import EnvironmentVariables - - -import unittest - _LOADER = botocore.loaders.Loader() INTEG_LOG = logging.getLogger('awscli.tests.integration') @@ -69,9 +58,12 @@ def test_some_non_windows_stuff(self): self.assertEqual(...) """ + def decorator(func): return unittest.skipIf( - platform.system() not in ['Darwin', 'Linux'], reason)(func) + platform.system() not in ['Darwin', 'Linux'], reason + )(func) + return decorator @@ -89,6 +81,7 @@ def create_clidriver(): def get_aws_cmd(): global AWS_CMD import awscli + if AWS_CMD is None: # Try /bin/aws repo_root = os.path.dirname(os.path.abspath(awscli.__file__)) @@ -96,10 +89,12 @@ def get_aws_cmd(): if not os.path.isfile(aws_cmd): aws_cmd = _search_path_for_cmd('aws') if aws_cmd is None: - raise ValueError('Could not find "aws" executable. Either ' - 'make sure it is on your PATH, or you can ' - 'explicitly set this value using ' - '"set_aws_cmd()"') + raise ValueError( + 'Could not find "aws" executable. Either ' + 'make sure it is on your PATH, or you can ' + 'explicitly set this value using ' + '"set_aws_cmd()"' + ) AWS_CMD = aws_cmd return AWS_CMD @@ -184,15 +179,12 @@ def create_dir_bucket(session, name=None, location=None): params = { 'Bucket': bucket_name, 'CreateBucketConfiguration': { - 'Location': { - 'Type': 'AvailabilityZone', - 'Name': az - }, + 'Location': {'Type': 'AvailabilityZone', 'Name': az}, 'Bucket': { 'Type': 'Directory', - 'DataRedundancy': 'SingleAvailabilityZone' - } - } + 'DataRedundancy': 'SingleAvailabilityZone', + }, + }, } try: client.create_bucket(**params) @@ -236,6 +228,7 @@ class BaseCLIDriverTest(unittest.TestCase): This will load all the default plugins as well so it will simulate the behavior the user will see. """ + def setUp(self): self.environ = { 'AWS_DATA_PATH': os.environ['AWS_DATA_PATH'], @@ -255,35 +248,41 @@ def tearDown(self): class BaseAWSHelpOutputTest(BaseCLIDriverTest): def setUp(self): - super(BaseAWSHelpOutputTest, self).setUp() + super().setUp() self.renderer_patch = mock.patch('awscli.help.get_renderer') self.renderer_mock = self.renderer_patch.start() self.renderer = CapturedRenderer() self.renderer_mock.return_value = self.renderer def tearDown(self): - super(BaseAWSHelpOutputTest, self).tearDown() + super().tearDown() self.renderer_patch.stop() def assert_contains(self, contains): if contains not in self.renderer.rendered_contents: - self.fail("The expected contents:\n%s\nwere not in the " - "actual rendered contents:\n%s" % ( - contains, self.renderer.rendered_contents)) + self.fail( + "The expected contents:\n%s\nwere not in the " + "actual rendered contents:\n%s" + % (contains, self.renderer.rendered_contents) + ) def assert_contains_with_count(self, contains, count): r_count = self.renderer.rendered_contents.count(contains) if r_count != count: - self.fail("The expected contents:\n%s\n, with the " - "count:\n%d\nwere not in the actual rendered " - " contents:\n%s\nwith count:\n%d" % ( - contains, count, self.renderer.rendered_contents, r_count)) + self.fail( + "The expected contents:\n%s\n, with the " + "count:\n%d\nwere not in the actual rendered " + " contents:\n%s\nwith count:\n%d" + % (contains, count, self.renderer.rendered_contents, r_count) + ) def assert_not_contains(self, contents): if contents in self.renderer.rendered_contents: - self.fail("The contents:\n%s\nwere not suppose to be in the " - "actual rendered contents:\n%s" % ( - contents, self.renderer.rendered_contents)) + self.fail( + "The contents:\n%s\nwere not suppose to be in the " + "actual rendered contents:\n%s" + % (contents, self.renderer.rendered_contents) + ) def assert_text_order(self, *args, **kwargs): # First we need to find where the SYNOPSIS section starts. @@ -296,15 +295,19 @@ def assert_text_order(self, *args, **kwargs): previous = arg_indices[0] for i, index in enumerate(arg_indices[1:], 1): if index == -1: - self.fail('The string %r was not found in the contents: %s' - % (args[index], contents)) + self.fail( + 'The string %r was not found in the contents: %s' + % (args[index], contents) + ) if index < previous: - self.fail('The string %r came before %r, but was suppose to come ' - 'after it.\n%s' % (args[i], args[i - 1], contents)) + self.fail( + 'The string %r came before %r, but was suppose to come ' + 'after it.\n%s' % (args[i], args[i - 1], contents) + ) previous = index -class CapturedRenderer(object): +class CapturedRenderer: def __init__(self): self.rendered_contents = '' @@ -312,7 +315,7 @@ def render(self, contents): self.rendered_contents = contents.decode('utf-8') -class CapturedOutput(object): +class CapturedOutput: def __init__(self, stdout, stderr): self.stdout = stdout self.stderr = stderr @@ -362,7 +365,9 @@ def setUp(self): self.environ_patch.start() self.http_response = AWSResponse(None, 200, {}, None) self.parsed_response = {} - self.make_request_patch = mock.patch('botocore.endpoint.Endpoint.make_request') + self.make_request_patch = mock.patch( + 'botocore.endpoint.Endpoint.make_request' + ) self.make_request_is_patched = False self.operations_called = [] self.parsed_responses = None @@ -392,14 +397,25 @@ def patch_make_request(self): self.make_request_is_patched = False make_request_patch = self.make_request_patch.start() if self.parsed_responses is not None: - make_request_patch.side_effect = lambda *args, **kwargs: \ - (self.http_response, self.parsed_responses.pop(0)) + make_request_patch.side_effect = lambda *args, **kwargs: ( + self.http_response, + self.parsed_responses.pop(0), + ) else: - make_request_patch.return_value = (self.http_response, self.parsed_response) + make_request_patch.return_value = ( + self.http_response, + self.parsed_response, + ) self.make_request_is_patched = True - def assert_params_for_cmd(self, cmd, params=None, expected_rc=0, - stderr_contains=None, ignore_params=None): + def assert_params_for_cmd( + self, + cmd, + params=None, + expected_rc=0, + stderr_contains=None, + ignore_params=None, + ): stdout, stderr, rc = self.run_cmd(cmd, expected_rc) if stderr_contains is not None: self.assertIn(stderr_contains, stderr) @@ -413,11 +429,12 @@ def assert_params_for_cmd(self, cmd, params=None, expected_rc=0, except KeyError: pass if params != last_kwargs: - self.fail("Actual params did not match expected params.\n" - "Expected:\n\n" - "%s\n" - "Actual:\n\n%s\n" % ( - pformat(params), pformat(last_kwargs))) + self.fail( + "Actual params did not match expected params.\n" + "Expected:\n\n" + "%s\n" + "Actual:\n\n%s\n" % (pformat(params), pformat(last_kwargs)) + ) return stdout, stderr, rc def before_parameter_build(self, params, model, **kwargs): @@ -430,7 +447,8 @@ def run_cmd(self, cmd, expected_rc=0): event_emitter = self.driver.session.get_component('event_emitter') event_emitter.register('before-call', self.before_call) event_emitter.register_first( - 'before-parameter-build.*.*', self.before_parameter_build) + 'before-parameter-build.*.*', self.before_parameter_build + ) if not isinstance(cmd, list): cmdlist = cmd.split() else: @@ -448,23 +466,25 @@ def run_cmd(self, cmd, expected_rc=0): stderr = captured.stderr.getvalue() stdout = captured.stdout.getvalue() self.assertEqual( - rc, expected_rc, + rc, + expected_rc, "Unexpected rc (expected: %s, actual: %s) for command: %s\n" - "stdout:\n%sstderr:\n%s" % ( - expected_rc, rc, cmd, stdout, stderr)) + "stdout:\n%sstderr:\n%s" % (expected_rc, rc, cmd, stdout, stderr), + ) return stdout, stderr, rc class BaseAWSPreviewCommandParamsTest(BaseAWSCommandParamsTest): def setUp(self): self.preview_patch = mock.patch( - 'awscli.customizations.preview.mark_as_preview') + 'awscli.customizations.preview.mark_as_preview' + ) self.preview_patch.start() - super(BaseAWSPreviewCommandParamsTest, self).setUp() + super().setUp() def tearDown(self): self.preview_patch.stop() - super(BaseAWSPreviewCommandParamsTest, self).tearDown() + super().tearDown() class BaseCLIWireResponseTest(unittest.TestCase): @@ -474,7 +494,7 @@ def setUp(self): 'AWS_DEFAULT_REGION': 'us-east-1', 'AWS_ACCESS_KEY_ID': 'access_key', 'AWS_SECRET_ACCESS_KEY': 'secret_key', - 'AWS_CONFIG_FILE': '' + 'AWS_CONFIG_FILE': '', } self.environ_patch = mock.patch('os.environ', self.environ) self.environ_patch.start() @@ -494,9 +514,9 @@ def patch_send(self, status_code=200, headers={}, content=b''): self.send_patch.stop() self.send_is_patched = False send_patch = self.send_patch.start() - send_patch.return_value = mock.Mock(status_code=status_code, - headers=headers, - content=content) + send_patch.return_value = mock.Mock( + status_code=status_code, headers=headers, content=content + ) self.send_is_patched = True def run_cmd(self, cmd, expected_rc=0): @@ -512,15 +532,15 @@ def run_cmd(self, cmd, expected_rc=0): stderr = captured.stderr.getvalue() stdout = captured.stdout.getvalue() self.assertEqual( - rc, expected_rc, + rc, + expected_rc, "Unexpected rc (expected: %s, actual: %s) for command: %s\n" - "stdout:\n%sstderr:\n%s" % ( - expected_rc, rc, cmd, stdout, stderr)) + "stdout:\n%sstderr:\n%s" % (expected_rc, rc, cmd, stdout, stderr), + ) return stdout, stderr, rc - -class FileCreator(object): +class FileCreator: def __init__(self): self.rootdir = tempfile.mkdtemp() @@ -583,7 +603,7 @@ class ProcessTerminatedError(Exception): pass -class Result(object): +class Result: def __init__(self, rc, stdout, stderr, memory_usage=None): self.rc = rc self.stdout = stdout @@ -610,8 +630,14 @@ def _escape_quotes(command): return command -def aws(command, collect_memory=False, env_vars=None, - wait_for_finish=True, input_data=None, input_file=None): +def aws( + command, + collect_memory=False, + env_vars=None, + wait_for_finish=True, + input_data=None, + input_file=None, +): """Run an aws command. This help function abstracts the differences of running the "aws" @@ -659,8 +685,14 @@ def aws(command, collect_memory=False, env_vars=None, env = env_vars if input_file is None: input_file = PIPE - process = Popen(full_command, stdout=PIPE, stderr=PIPE, stdin=input_file, - shell=True, env=env) + process = Popen( + full_command, + stdout=PIPE, + stderr=PIPE, + stdin=input_file, + shell=True, + env=env, + ) if not wait_for_finish: return process memory = None @@ -671,10 +703,12 @@ def aws(command, collect_memory=False, env_vars=None, stdout, stderr = process.communicate(**kwargs) else: stdout, stderr, memory = _wait_and_collect_mem(process) - return Result(process.returncode, - stdout.decode(stdout_encoding), - stderr.decode(stdout_encoding), - memory) + return Result( + process.returncode, + stdout.decode(stdout_encoding), + stderr.decode(stdout_encoding), + memory, + ) def get_stdout_encoding(): @@ -692,8 +726,8 @@ def _wait_and_collect_mem(process): get_memory = _get_memory_with_ps else: raise ValueError( - "Can't collect memory for process on platform %s." % - platform.system()) + f"Can't collect memory for process on platform {platform.system()}." + ) memory = [] while process.poll() is None: try: @@ -730,6 +764,7 @@ class BaseS3CLICommand(unittest.TestCase): and more streamlined. """ + _PUT_HEAD_SHARED_EXTRAS = [ 'SSECustomerAlgorithm', 'SSECustomerKey', @@ -775,14 +810,14 @@ def assert_key_contents_equal(self, bucket, key, expected_contents): # without necessarily printing the actual contents. self.assertEqual(len(actual_contents), len(expected_contents)) if actual_contents != expected_contents: - self.fail("Contents for %s/%s do not match (but they " - "have the same length)" % (bucket, key)) + self.fail( + f"Contents for {bucket}/{key} do not match (but they " + "have the same length)" + ) def delete_public_access_block(self, bucket_name): client = self.create_client_for_bucket(bucket_name) - client.delete_public_access_block( - Bucket=bucket_name - ) + client.delete_public_access_block(Bucket=bucket_name) def create_bucket(self, name=None, region=None): if not region: @@ -811,10 +846,7 @@ def create_dir_bucket(self, name=None, location=None): def put_object(self, bucket_name, key_name, contents='', extra_args=None): client = self.create_client_for_bucket(bucket_name) - call_args = { - 'Bucket': bucket_name, - 'Key': key_name, 'Body': contents - } + call_args = {'Bucket': bucket_name, 'Key': key_name, 'Body': contents} if extra_args is not None: call_args.update(extra_args) response = client.put_object(**call_args) @@ -822,7 +854,8 @@ def put_object(self, bucket_name, key_name, contents='', extra_args=None): extra_head_params = {} if extra_args: extra_head_params = dict( - (k, v) for (k, v) in extra_args.items() + (k, v) + for (k, v) in extra_args.items() if k in self._PUT_HEAD_SHARED_EXTRAS ) self.wait_until_key_exists( @@ -879,7 +912,8 @@ def wait_bucket_exists(self, bucket_name, min_successes=3): client = self.create_client_for_bucket(bucket_name) waiter = client.get_waiter('bucket_exists') consistency_waiter = ConsistencyWaiter( - min_successes=min_successes, delay_initial_poll=True) + min_successes=min_successes, delay_initial_poll=True + ) consistency_waiter.wait( lambda: waiter.wait(Bucket=bucket_name) is None ) @@ -897,7 +931,8 @@ def bucket_not_exists(self, bucket_name): def key_exists(self, bucket_name, key_name, min_successes=3): try: self.wait_until_key_exists( - bucket_name, key_name, min_successes=min_successes) + bucket_name, key_name, min_successes=min_successes + ) return True except (ClientError, WaiterError): return False @@ -905,7 +940,8 @@ def key_exists(self, bucket_name, key_name, min_successes=3): def key_not_exists(self, bucket_name, key_name, min_successes=3): try: self.wait_until_key_not_exists( - bucket_name, key_name, min_successes=min_successes) + bucket_name, key_name, min_successes=min_successes + ) return True except (ClientError, WaiterError): return False @@ -923,18 +959,28 @@ def head_object(self, bucket_name, key_name): response = client.head_object(Bucket=bucket_name, Key=key_name) return response - def wait_until_key_exists(self, bucket_name, key_name, extra_params=None, - min_successes=3): - self._wait_for_key(bucket_name, key_name, extra_params, - min_successes, exists=True) + def wait_until_key_exists( + self, bucket_name, key_name, extra_params=None, min_successes=3 + ): + self._wait_for_key( + bucket_name, key_name, extra_params, min_successes, exists=True + ) - def wait_until_key_not_exists(self, bucket_name, key_name, extra_params=None, - min_successes=3): - self._wait_for_key(bucket_name, key_name, extra_params, - min_successes, exists=False) + def wait_until_key_not_exists( + self, bucket_name, key_name, extra_params=None, min_successes=3 + ): + self._wait_for_key( + bucket_name, key_name, extra_params, min_successes, exists=False + ) - def _wait_for_key(self, bucket_name, key_name, extra_params=None, - min_successes=3, exists=True): + def _wait_for_key( + self, + bucket_name, + key_name, + extra_params=None, + min_successes=3, + exists=True, + ): client = self.create_client_for_bucket(bucket_name) if exists: waiter = client.get_waiter('object_exists') @@ -948,8 +994,10 @@ def _wait_for_key(self, bucket_name, key_name, extra_params=None, def assert_no_errors(self, p): self.assertEqual( - p.rc, 0, - "Non zero rc (%s) received: %s" % (p.rc, p.stdout + p.stderr)) + p.rc, + 0, + "Non zero rc (%s) received: %s" % (p.rc, p.stdout + p.stderr), + ) self.assertNotIn("Error:", p.stderr) self.assertNotIn("failed:", p.stderr) self.assertNotIn("client error", p.stderr) @@ -961,7 +1009,7 @@ def fileno(self): return 0 -class TestEventHandler(object): +class TestEventHandler: def __init__(self, handler=None): self._handler = handler self._called = False @@ -981,7 +1029,7 @@ class ConsistencyWaiterException(Exception): pass -class ConsistencyWaiter(object): +class ConsistencyWaiter: """ A waiter class for some check to reach a consistent state. @@ -997,8 +1045,14 @@ class ConsistencyWaiter(object): :param delay: The number of seconds to delay the next API call after a failed check call. Default of 5 seconds. """ - def __init__(self, min_successes=1, max_attempts=20, delay=5, - delay_initial_poll=False): + + def __init__( + self, + min_successes=1, + max_attempts=20, + delay=5, + delay_initial_poll=False, + ): self.min_successes = min_successes self.max_attempts = max_attempts self.delay = delay diff --git a/awscli/text.py b/awscli/text.py index a5bd0090829e..6b915b0f8f2b 100644 --- a/awscli/text.py +++ b/awscli/text.py @@ -34,15 +34,18 @@ def _format_list(item, identifier, stream): if any(isinstance(el, dict) for el in item): all_keys = _all_scalar_keys(item) for element in item: - _format_text(element, stream=stream, identifier=identifier, - scalar_keys=all_keys) + _format_text( + element, + stream=stream, + identifier=identifier, + scalar_keys=all_keys, + ) elif any(isinstance(el, list) for el in item): scalar_elements, non_scalars = _partition_list(item) if scalar_elements: _format_scalar_list(scalar_elements, identifier, stream) for non_scalar in non_scalars: - _format_text(non_scalar, stream=stream, - identifier=identifier) + _format_text(non_scalar, stream=stream, identifier=identifier) else: _format_scalar_list(item, identifier, stream) @@ -61,8 +64,7 @@ def _partition_list(item): def _format_scalar_list(elements, identifier, stream): if identifier is not None: for item in elements: - stream.write('%s\t%s\n' % (identifier.upper(), - item)) + stream.write(f'{identifier.upper()}\t{item}\n') else: # For a bare list, just print the contents. stream.write('\t'.join([str(item) for item in elements])) @@ -77,8 +79,7 @@ def _format_dict(scalar_keys, item, identifier, stream): stream.write('\t'.join(scalars)) stream.write('\n') for new_identifier, non_scalar in non_scalars: - _format_text(item=non_scalar, stream=stream, - identifier=new_identifier) + _format_text(item=non_scalar, stream=stream, identifier=new_identifier) def _all_scalar_keys(list_of_dicts): diff --git a/awscli/topictags.py b/awscli/topictags.py index d635a9d20e3a..ec681035b7db 100644 --- a/awscli/topictags.py +++ b/awscli/topictags.py @@ -19,12 +19,13 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS # IN THE SOFTWARE. # -import os import json +import os + import docutils.core -class TopicTagDB(object): +class TopicTagDB: """This class acts like a database for the tags of all available topics. A tag is an element in a topic reStructured text file that contains @@ -67,19 +68,25 @@ class TopicTagDB(object): that all tag values for a specific tag of a specific topic are unique. """ - VALID_TAGS = ['category', 'description', 'title', 'related topic', - 'related command'] + VALID_TAGS = [ + 'category', + 'description', + 'title', + 'related topic', + 'related command', + ] # The default directory to look for topics. TOPIC_DIR = os.path.join( - os.path.dirname( - os.path.abspath(__file__)), 'topics') + os.path.dirname(os.path.abspath(__file__)), 'topics' + ) # The default JSON index to load. JSON_INDEX = os.path.join(TOPIC_DIR, 'topic-tags.json') - def __init__(self, tag_dictionary=None, index_file=JSON_INDEX, - topic_dir=TOPIC_DIR): + def __init__( + self, tag_dictionary=None, index_file=JSON_INDEX, topic_dir=TOPIC_DIR + ): """ :param index_file: The path to a specific JSON index to load. If nothing is specified it will default to the default JSON @@ -121,7 +128,7 @@ def valid_tags(self): def load_json_index(self): """Loads a JSON file into the tag dictionary.""" - with open(self.index_file, 'r') as f: + with open(self.index_file) as f: self._tag_dictionary = json.load(f) def save_to_json_index(self): @@ -156,7 +163,7 @@ def scan(self, topic_files): :param topic_files: A list of paths to topics to scan into memory. """ for topic_file in topic_files: - with open(topic_file, 'r') as f: + with open(topic_file) as f: # Parse out the name of the topic topic_name = self._find_topic_name(topic_file) # Add the topic to the dictionary if it does not exist @@ -164,7 +171,8 @@ def scan(self, topic_files): topic_content = f.read() # Record the tags and the values self._add_tag_and_values_from_content( - topic_name, topic_content) + topic_name, topic_content + ) def _find_topic_name(self, topic_src_file): # Get the name of each of these files @@ -259,9 +267,9 @@ def query(self, tag, values=None): # no value constraints are provided or if the tag value # falls in the allowed tag values. if values is None or tag_value in values: - self._add_key_values(query_dict, - key=tag_value, - values=[topic_name]) + self._add_key_values( + query_dict, key=tag_value, values=[topic_name] + ) return query_dict def get_tag_value(self, topic_name, tag, default_value=None): diff --git a/awscli/utils.py b/awscli/utils.py index 39579ad98ba6..995b40473de0 100644 --- a/awscli/utils.py +++ b/awscli/utils.py @@ -10,16 +10,18 @@ # distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF # ANY KIND, either express or implied. See the License for the specific # language governing permissions and limitations under the License. +import contextlib import csv -import signal import datetime -import contextlib import os -import sys +import signal import subprocess +import sys from awscli.compat import ( - BytesIO, StringIO, get_binary_stdout, get_popen_kwargs_for_pager_cmd + StringIO, + get_binary_stdout, + get_popen_kwargs_for_pager_cmd, ) @@ -50,16 +52,19 @@ def _split_with_quotes(value): # Find an opening list bracket list_start = part.find('=[') - if list_start >= 0 and value.find(']') != -1 and \ - (quote_char is None or part.find(quote_char) > list_start): + if ( + list_start >= 0 + and value.find(']') != -1 + and (quote_char is None or part.find(quote_char) > list_start) + ): # This is a list, eat all the items until the end if ']' in part: # Short circuit for only one item new_chunk = part else: new_chunk = _eat_items(value, iter_parts, part, ']') - list_items = _split_with_quotes(new_chunk[list_start + 2:-1]) - new_chunk = new_chunk[:list_start + 1] + ','.join(list_items) + list_items = _split_with_quotes(new_chunk[list_start + 2 : -1]) + new_chunk = new_chunk[: list_start + 1] + ','.join(list_items) new_parts.append(new_chunk) continue elif quote_char is None: @@ -155,8 +160,11 @@ def is_document_type_container(shape): def is_streaming_blob_type(shape): """Check if the shape is a streaming blob type.""" - return (shape and shape.type_name == 'blob' and - shape.serialization.get('streaming', False)) + return ( + shape + and shape.type_name == 'blob' + and shape.serialization.get('streaming', False) + ) def is_tagged_union_type(shape): @@ -194,18 +202,17 @@ def ignore_ctrl_c(): def emit_top_level_args_parsed_event(session, args): - session.emit( - 'top-level-args-parsed', parsed_args=args, session=session) + session.emit('top-level-args-parsed', parsed_args=args, session=session) def is_a_tty(): try: return os.isatty(sys.stdout.fileno()) - except Exception as e: + except Exception: return False -class OutputStreamFactory(object): +class OutputStreamFactory: def __init__(self, popen=None): self._popen = popen if popen is None: @@ -217,7 +224,7 @@ def get_pager_stream(self, preferred_pager=None): try: process = self._popen(**popen_kwargs) yield process.stdin - except IOError: + except OSError: # Ignore IOError since this can commonly be raised when a pager # is closed abruptly and causes a broken pipe. pass @@ -240,7 +247,7 @@ def write_exception(ex, outfile): outfile.write("\n") -class ShapeWalker(object): +class ShapeWalker: def walk(self, shape, visitor): """Walk through and visit shapes for introspection @@ -285,14 +292,16 @@ def _do_shape_visit(self, shape, visitor): visitor.visit_shape(shape) -class BaseShapeVisitor(object): +class BaseShapeVisitor: """Visit shape encountered by ShapeWalker""" + def visit_shape(self, shape): pass class ShapeRecordingVisitor(BaseShapeVisitor): """Record shapes visited by ShapeWalker""" + def __init__(self): self.visited = [] From 7843cfe8b45c0d39e073f5fed8c7b99c9ac2d182 Mon Sep 17 00:00:00 2001 From: Nate Prewitt Date: Wed, 21 Aug 2024 09:31:41 -0600 Subject: [PATCH 0159/1087] Fix license formatting issues --- awscli/compat.py | 13 +++++++------ awscli/completer.py | 12 +++++++----- awscli/shorthand.py | 2 +- awscli/table.py | 11 +++++------ 4 files changed, 20 insertions(+), 18 deletions(-) diff --git a/awscli/compat.py b/awscli/compat.py index 91ae190c3bc4..2993d876572a 100644 --- a/awscli/compat.py +++ b/awscli/compat.py @@ -1,10 +1,15 @@ # Copyright 2012-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved. - +# # Licensed under the Apache License, Version 2.0 (the "License"). You # may not use this file except in compliance with the License. A copy of # the License is located at - +# # http://aws.amazon.com/apache2.0/ +# +# or in the "license" file accompanying this file. This file is +# distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF +# ANY KIND, either express or implied. See the License for the specific +# language governing permissions and limitations under the License. import collections.abc as collections_abc import contextlib @@ -23,10 +28,6 @@ from botocore.compat import six, OrderedDict -# or in the "license" file accompanying this file. This file is -# distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF -# ANY KIND, either express or implied. See the License for the specific -# language governing permissions and limitations under the License. import sys import zipfile from functools import partial diff --git a/awscli/completer.py b/awscli/completer.py index 0bff819261bf..cf08f18fc33a 100755 --- a/awscli/completer.py +++ b/awscli/completer.py @@ -1,18 +1,20 @@ # Copyright 2012-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# # Licensed under the Apache License, Version 2.0 (the "License"). You # may not use this file except in compliance with the License. A copy of # the License is located at - +# # http://aws.amazon.com/apache2.0/ +# +# or in the "license" file accompanying this file. This file is +# distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF +# ANY KIND, either express or implied. See the License for the specific +# language governing permissions and limitations under the License. import copy import logging import sys -# or in the "license" file accompanying this file. This file is -# distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF -# ANY KIND, either express or implied. See the License for the specific -# language governing permissions and limitations under the License. import awscli.clidriver LOG = logging.getLogger(__name__) diff --git a/awscli/shorthand.py b/awscli/shorthand.py index 36d710863e44..844b858fde15 100644 --- a/awscli/shorthand.py +++ b/awscli/shorthand.py @@ -356,7 +356,7 @@ def _must_consume_regex(self, regex): if result is not None: return self._consume_matched_regex(result) raise ShorthandParseSyntaxError( - self._input_value, f'', '', self._index + self._input_value, f'<{regex.name}>', '', self._index ) def _consume_matched_regex(self, result): diff --git a/awscli/table.py b/awscli/table.py index bdb3295c8e3e..3920144fdee3 100644 --- a/awscli/table.py +++ b/awscli/table.py @@ -1,17 +1,17 @@ # Copyright 2012-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved. - +# # Licensed under the Apache License, Version 2.0 (the "License"). You # may not use this file except in compliance with the License. A copy of # the License is located at - +# # http://aws.amazon.com/apache2.0/ - -import struct - +# # or in the "license" file accompanying this file. This file is # distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF # ANY KIND, either express or implied. See the License for the specific # language governing permissions and limitations under the License. + +import struct import sys import unicodedata @@ -181,7 +181,6 @@ def __init__(self): def style_title(self, text): # Originally bold + underline return text - # return colorama.Style.BOLD + text + colorama.Style.RESET_ALL def style_header_column(self, text): # Originally underline From 66139772e6bdb68ac6e8d78255eabac20c3161bd Mon Sep 17 00:00:00 2001 From: Nate Prewitt Date: Wed, 21 Aug 2024 09:44:57 -0700 Subject: [PATCH 0160/1087] Remove codestar examples following the deprecation of the service on July 31, 2024. (#8874) --- .../codestar/associate-team-member.rst | 10 --- awscli/examples/codestar/create-project.rst | 49 --------------- .../examples/codestar/create-user-profile.rst | 19 ------ awscli/examples/codestar/delete-project.rst | 12 ---- .../examples/codestar/delete-user-profile.rst | 12 ---- awscli/examples/codestar/describe-project.rst | 19 ------ .../codestar/describe-user-profile.rst | 17 ------ .../codestar/disassociate-team-member.rst | 9 --- awscli/examples/codestar/list-projects.rst | 20 ------ awscli/examples/codestar/list-resources.rst | 61 ------------------- .../codestar/list-tags-for-project.rst | 15 ----- .../examples/codestar/list-team-members.rst | 23 ------- .../examples/codestar/list-user-profiles.rst | 24 -------- awscli/examples/codestar/tag-project.rst | 15 ----- awscli/examples/codestar/untag-project.rst | 9 --- awscli/examples/codestar/update-project.rst | 9 --- .../examples/codestar/update-team-member.rst | 17 ------ .../examples/codestar/update-user-profile.rst | 18 ------ 18 files changed, 358 deletions(-) delete mode 100755 awscli/examples/codestar/associate-team-member.rst delete mode 100755 awscli/examples/codestar/create-project.rst delete mode 100755 awscli/examples/codestar/create-user-profile.rst delete mode 100755 awscli/examples/codestar/delete-project.rst delete mode 100755 awscli/examples/codestar/delete-user-profile.rst delete mode 100755 awscli/examples/codestar/describe-project.rst delete mode 100755 awscli/examples/codestar/describe-user-profile.rst delete mode 100755 awscli/examples/codestar/disassociate-team-member.rst delete mode 100755 awscli/examples/codestar/list-projects.rst delete mode 100755 awscli/examples/codestar/list-resources.rst delete mode 100755 awscli/examples/codestar/list-tags-for-project.rst delete mode 100755 awscli/examples/codestar/list-team-members.rst delete mode 100755 awscli/examples/codestar/list-user-profiles.rst delete mode 100755 awscli/examples/codestar/tag-project.rst delete mode 100755 awscli/examples/codestar/untag-project.rst delete mode 100755 awscli/examples/codestar/update-project.rst delete mode 100755 awscli/examples/codestar/update-team-member.rst delete mode 100755 awscli/examples/codestar/update-user-profile.rst diff --git a/awscli/examples/codestar/associate-team-member.rst b/awscli/examples/codestar/associate-team-member.rst deleted file mode 100755 index 4aeb984d7f7d..000000000000 --- a/awscli/examples/codestar/associate-team-member.rst +++ /dev/null @@ -1,10 +0,0 @@ -**To add a team member to a project** - -The following ``associate-team-member`` example makes the ``intern`` user a viewer on the project with the specified ID. :: - - aws codestar associate-team-member \ - --project-id my-project \ - --user-arn arn:aws:iam::123456789012:user/intern \ - --project-role Viewer - -This command produces no output. diff --git a/awscli/examples/codestar/create-project.rst b/awscli/examples/codestar/create-project.rst deleted file mode 100755 index 96e0fd5dd74b..000000000000 --- a/awscli/examples/codestar/create-project.rst +++ /dev/null @@ -1,49 +0,0 @@ -**To create a project** - -The following ``create-project`` example uses a JSON input file to create a CodeStar project. :: - - aws codestar create-project \ - --cli-input-json file://create-project.json - -Contents of ``create-project.json``:: - - { - "name": "Custom Project", - "id": "custom-project", - "sourceCode": [ - { - "source": { - "s3": { - "bucketName": "codestar-artifacts", - "bucketKey": "nodejs-function.zip" - } - }, - "destination": { - "codeCommit": { - "name": "codestar-custom-project" - } - } - } - ], - "toolchain": { - "source": { - "s3": { - "bucketName": "codestar-artifacts", - "bucketKey": "toolchain.yml" - } - }, - "roleArn": "arn:aws:iam::123456789012:role/service-role/aws-codestar-service-role", - "stackParameters": { - "ProjectId": "custom-project" - } - } - } - -Output:: - - { - "id": "my-project", - "arn": "arn:aws:codestar:us-east-2:123456789012:project/custom-project" - } - -For a tutorial that includes sample code and templates for a custom project, see `Create a Project in AWS CodeStar with the AWS CLI`__ in the *AWS CodeStar User Guide*. diff --git a/awscli/examples/codestar/create-user-profile.rst b/awscli/examples/codestar/create-user-profile.rst deleted file mode 100755 index 0e69081aeb1b..000000000000 --- a/awscli/examples/codestar/create-user-profile.rst +++ /dev/null @@ -1,19 +0,0 @@ -**To create a user profile** - -The following ``create-user-profile`` example creates a user profile for the IAM user with the specified ARN. :: - - aws codestar create-user-profile \ - --user-arn arn:aws:iam::123456789012:user/intern \ - --display-name Intern \ - --email-address intern@example.com - -Output:: - - { - "userArn": "arn:aws:iam::123456789012:user/intern", - "displayName": "Intern", - "emailAddress": "intern@example.com", - "sshPublicKey": "", - "createdTimestamp": 1572552308.607, - "lastModifiedTimestamp": 1572552308.607 - } diff --git a/awscli/examples/codestar/delete-project.rst b/awscli/examples/codestar/delete-project.rst deleted file mode 100755 index b3b16e98e100..000000000000 --- a/awscli/examples/codestar/delete-project.rst +++ /dev/null @@ -1,12 +0,0 @@ -**To delete a project** - -The following ``delete-project`` example deletes the specified project. :: - - aws codestar delete-project \ - --project-id my-project - -Output:: - - { - "projectArn": "arn:aws:codestar:us-east-2:123456789012:project/my-project" - } diff --git a/awscli/examples/codestar/delete-user-profile.rst b/awscli/examples/codestar/delete-user-profile.rst deleted file mode 100755 index bd448a77b140..000000000000 --- a/awscli/examples/codestar/delete-user-profile.rst +++ /dev/null @@ -1,12 +0,0 @@ -**To delete a user profile** - -The following ``delete-user-profile`` example deletes the user profile for the user with the specified ARN. :: - - aws codestar delete-user-profile \ - --user-arn arn:aws:iam::123456789012:user/intern - -Output:: - - { - "userArn": "arn:aws:iam::123456789012:user/intern" - } diff --git a/awscli/examples/codestar/describe-project.rst b/awscli/examples/codestar/describe-project.rst deleted file mode 100755 index c2f4f5b3158c..000000000000 --- a/awscli/examples/codestar/describe-project.rst +++ /dev/null @@ -1,19 +0,0 @@ -**To view a project** - -The following ``describe-project`` example retrieves details about the specified project. :: - - aws codestar describe-project \ - --id my-project - -Output:: - - { - "name": "my project", - "id": "my-project", - "arn": "arn:aws:codestar:us-west-2:123456789012:project/my-project", - "description": "My first CodeStar project.", - "createdTimeStamp": 1572547510.128, - "status": { - "state": "CreateComplete" - } - } diff --git a/awscli/examples/codestar/describe-user-profile.rst b/awscli/examples/codestar/describe-user-profile.rst deleted file mode 100755 index aa39e075f273..000000000000 --- a/awscli/examples/codestar/describe-user-profile.rst +++ /dev/null @@ -1,17 +0,0 @@ -**To view a user profile** - -The following ``describe-user-profile`` example retrieves details about the user profile for the user with the specified ARN. :: - - aws codestar describe-user-profile \ - --user-arn arn:aws:iam::123456789012:user/intern - -Output:: - - { - "userArn": "arn:aws:iam::123456789012:user/intern", - "displayName": "Intern", - "emailAddress": "intern@example.com", - "sshPublicKey": "intern", - "createdTimestamp": 1572552308.607, - "lastModifiedTimestamp": 1572553495.47 - } diff --git a/awscli/examples/codestar/disassociate-team-member.rst b/awscli/examples/codestar/disassociate-team-member.rst deleted file mode 100755 index 8dc1daf8a169..000000000000 --- a/awscli/examples/codestar/disassociate-team-member.rst +++ /dev/null @@ -1,9 +0,0 @@ -**To remove a team member** - -The following ``disassociate-team-member`` example removes the user with the specified ARN from the project ``my-project``. :: - - aws codestar disassociate-team-member \ - --project-id my-project \ - --user-arn arn:aws:iam::123456789012:user/intern - -This command produces no output. diff --git a/awscli/examples/codestar/list-projects.rst b/awscli/examples/codestar/list-projects.rst deleted file mode 100755 index f4badf347ca7..000000000000 --- a/awscli/examples/codestar/list-projects.rst +++ /dev/null @@ -1,20 +0,0 @@ -**To view projects** - -The following ``list-projects`` example retrieves a list of projects in the current Region. :: - - aws codestar list-projects - -Output:: - - { - "projects": [ - { - "projectId": "intern-projects", - "projectArn": "arn:aws:codestar:us-west-2:123456789012:project/intern-projects" - }, - { - "projectId": "my-project", - "projectArn": "arn:aws:codestar:us-west-2:123456789012:project/my-project" - } - ] - } diff --git a/awscli/examples/codestar/list-resources.rst b/awscli/examples/codestar/list-resources.rst deleted file mode 100755 index c4b710a1b540..000000000000 --- a/awscli/examples/codestar/list-resources.rst +++ /dev/null @@ -1,61 +0,0 @@ -**To view resources** - -The following ``list-resources`` example retrieves a list of resources for the specified project. :: - - aws codestar list-resources \ - --id my-project - -Output:: - - { - "resources": [ - { - "id": "arn:aws:execute-api:us-east-2:123456789012:r3wxmplbv8" - }, - { - "id": "arn:aws:codedeploy:us-east-2:123456789012:application:awscodestar-my-project-lambda-ServerlessDeploymentApplication-PF0LXMPL1KA0" - }, - { - "id": "arn:aws:s3:::aws-codestar-us-east-2-123456789012-my-project-pipe" - }, - { - "id": "arn:aws:lambda:us-east-2:123456789012:function:awscodestar-my-project-lambda-GetHelloWorld-16W3LVXMPLNNS" - }, - { - "id": "arn:aws:cloudformation:us-east-2:123456789012:stack/awscodestar-my-project-lambda/b4904ea0-fc20-xmpl-bec6-029123b1cc42" - }, - { - "id": "arn:aws:cloudformation:us-east-2:123456789012:stack/awscodestar-my-project/1b133f30-fc20-xmpl-a93a-0688c4290cb8" - }, - { - "id": "arn:aws:iam::123456789012:role/CodeStarWorker-my-project-ToolChain" - }, - { - "id": "arn:aws:iam::123456789012:policy/CodeStar_my-project_PermissionsBoundary" - }, - { - "id": "arn:aws:s3:::aws-codestar-us-east-2-123456789012-my-project-app" - }, - { - "id": "arn:aws:codepipeline:us-east-2:123456789012:my-project-Pipeline" - }, - { - "id": "arn:aws:codedeploy:us-east-2:123456789012:deploymentgroup:my-project/awscodestar-my-project-lambda-GetHelloWorldDeploymentGroup-P7YWXMPLT0QB" - }, - { - "id": "arn:aws:iam::123456789012:role/CodeStar-my-project-Execution" - }, - { - "id": "arn:aws:iam::123456789012:role/CodeStarWorker-my-project-CodeDeploy" - }, - { - "id": "arn:aws:codebuild:us-east-2:123456789012:project/my-project" - }, - { - "id": "arn:aws:iam::123456789012:role/CodeStarWorker-my-project-CloudFormation" - }, - { - "id": "arn:aws:codecommit:us-east-2:123456789012:Go-project" - } - ] - } diff --git a/awscli/examples/codestar/list-tags-for-project.rst b/awscli/examples/codestar/list-tags-for-project.rst deleted file mode 100755 index 0c45d557dd9b..000000000000 --- a/awscli/examples/codestar/list-tags-for-project.rst +++ /dev/null @@ -1,15 +0,0 @@ -**To view tags for a project** - -The following ``list-tags-for-project`` example retrieves the tags attached to the specified project. :: - - aws codestar list-tags-for-project \ - --id my-project - -Output:: - - { - "tags": { - "Department": "Marketing", - "Team": "Website" - } - } diff --git a/awscli/examples/codestar/list-team-members.rst b/awscli/examples/codestar/list-team-members.rst deleted file mode 100755 index c3163e32e120..000000000000 --- a/awscli/examples/codestar/list-team-members.rst +++ /dev/null @@ -1,23 +0,0 @@ -**To view a list of team members** - -The following ``list-team-members`` example retrieves a list of users associated with the specified project. :: - - aws codestar list-team-members \ - --project-id my-project - -Output:: - - { - "teamMembers": [ - { - "userArn": "arn:aws:iam::123456789012:user/admin", - "projectRole": "Owner", - "remoteAccessAllowed": false - }, - { - "userArn": "arn:aws:iam::123456789012:user/intern", - "projectRole": "Contributor", - "remoteAccessAllowed": false - } - ] - } diff --git a/awscli/examples/codestar/list-user-profiles.rst b/awscli/examples/codestar/list-user-profiles.rst deleted file mode 100755 index 049895f60623..000000000000 --- a/awscli/examples/codestar/list-user-profiles.rst +++ /dev/null @@ -1,24 +0,0 @@ -**To view a list of user profiles** - -The following ``list-user-profiles`` example retrieves a list of all user profiles in the current Region. :: - - aws codestar list-user-profiles - -Output:: - - { - "userProfiles": [ - { - "userArn": "arn:aws:iam::123456789012:user/admin", - "displayName": "me", - "emailAddress": "me@example.com", - "sshPublicKey": "" - }, - { - "userArn": "arn:aws:iam::123456789012:user/intern", - "displayName": "Intern", - "emailAddress": "intern@example.com", - "sshPublicKey": "intern" - } - ] - } diff --git a/awscli/examples/codestar/tag-project.rst b/awscli/examples/codestar/tag-project.rst deleted file mode 100755 index 80e23a492729..000000000000 --- a/awscli/examples/codestar/tag-project.rst +++ /dev/null @@ -1,15 +0,0 @@ -**To attach a tag to a project** - -The following ``tag-project`` example adds a tag named ``Department`` and a value of ``Marketing`` to the specified project. :: - - aws codestar tag-project \ - --id my-project \ - --tags Department=Marketing - -Output:: - - { - "tags": { - "Department": "Marketing" - } - } diff --git a/awscli/examples/codestar/untag-project.rst b/awscli/examples/codestar/untag-project.rst deleted file mode 100755 index b9778df7d363..000000000000 --- a/awscli/examples/codestar/untag-project.rst +++ /dev/null @@ -1,9 +0,0 @@ -**To remove a tag from a project** - -The following ``untag-project`` example removes any tag with a key name of ``Team`` from the specifiec project. :: - - aws codestar untag-project \ - --id my-project \ - --tags Team - -This command produces no output. diff --git a/awscli/examples/codestar/update-project.rst b/awscli/examples/codestar/update-project.rst deleted file mode 100755 index 620f6a35fb4c..000000000000 --- a/awscli/examples/codestar/update-project.rst +++ /dev/null @@ -1,9 +0,0 @@ -**To update a project** - -The following ``update-project`` example adds a description to the specified project. :: - - aws codestar update-project \ - --id my-project \ - --description "My first CodeStar project" - -This command produces no output. diff --git a/awscli/examples/codestar/update-team-member.rst b/awscli/examples/codestar/update-team-member.rst deleted file mode 100755 index eed537e8353d..000000000000 --- a/awscli/examples/codestar/update-team-member.rst +++ /dev/null @@ -1,17 +0,0 @@ -**To modify a team member** - -The following ``update-team-member`` example makes the specified user a contributor on a project and grants them remote access to project resources. :: - - aws codestar update-team-member \ - --project-id my-project \ - --user-arn arn:aws:iam::123456789012:user/intern \ - --project-role Contributor -\ - --remote-access-allowed - -Output:: - - { - "userArn": "arn:aws:iam::123456789012:user/intern", - "projectRole": "Contributor", - "remoteAccessAllowed": true - } diff --git a/awscli/examples/codestar/update-user-profile.rst b/awscli/examples/codestar/update-user-profile.rst deleted file mode 100755 index 5b768390e6ed..000000000000 --- a/awscli/examples/codestar/update-user-profile.rst +++ /dev/null @@ -1,18 +0,0 @@ -**To modify a user profile** - -The following ``update-user-profile`` example adds the specified SHH key to the specified user. :: - - aws codestar update-user-profile \ - --ssh-public-key intern \ - --user-arn arn:aws:iam::123456789012:user/intern - -Output:: - - { - "userArn": "arn:aws:iam::123456789012:user/intern", - "displayName": "Intern", - "emailAddress": "intern@example.com", - "sshPublicKey": "intern", - "createdTimestamp": 1572552308.607, - "lastModifiedTimestamp": 1572553495.47 - } From 2f156af5befa0ce730957e752cdaf75f23d2f78c Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 21 Aug 2024 18:14:45 +0000 Subject: [PATCH 0161/1087] Update changelog based on model updates --- .changes/next-release/api-change-ec2-92389.json | 5 +++++ .changes/next-release/api-change-entityresolution-77245.json | 5 +++++ .changes/next-release/api-change-glue-83757.json | 5 +++++ .changes/next-release/api-change-lambda-80946.json | 5 +++++ .changes/next-release/api-change-securityhub-79640.json | 5 +++++ .changes/next-release/api-change-ses-4836.json | 5 +++++ 6 files changed, 30 insertions(+) create mode 100644 .changes/next-release/api-change-ec2-92389.json create mode 100644 .changes/next-release/api-change-entityresolution-77245.json create mode 100644 .changes/next-release/api-change-glue-83757.json create mode 100644 .changes/next-release/api-change-lambda-80946.json create mode 100644 .changes/next-release/api-change-securityhub-79640.json create mode 100644 .changes/next-release/api-change-ses-4836.json diff --git a/.changes/next-release/api-change-ec2-92389.json b/.changes/next-release/api-change-ec2-92389.json new file mode 100644 index 000000000000..c49da2d12c39 --- /dev/null +++ b/.changes/next-release/api-change-ec2-92389.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ec2``", + "description": "DescribeInstanceStatus now returns health information on EBS volumes attached to Nitro instances" +} diff --git a/.changes/next-release/api-change-entityresolution-77245.json b/.changes/next-release/api-change-entityresolution-77245.json new file mode 100644 index 000000000000..28027234e4ac --- /dev/null +++ b/.changes/next-release/api-change-entityresolution-77245.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``entityresolution``", + "description": "Increase the mapping attributes in Schema to 35." +} diff --git a/.changes/next-release/api-change-glue-83757.json b/.changes/next-release/api-change-glue-83757.json new file mode 100644 index 000000000000..b9e75f5063bc --- /dev/null +++ b/.changes/next-release/api-change-glue-83757.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``glue``", + "description": "Add optional field JobRunQueuingEnabled to CreateJob and UpdateJob APIs." +} diff --git a/.changes/next-release/api-change-lambda-80946.json b/.changes/next-release/api-change-lambda-80946.json new file mode 100644 index 000000000000..b526a1a5f326 --- /dev/null +++ b/.changes/next-release/api-change-lambda-80946.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``lambda``", + "description": "Release FilterCriteria encryption for Lambda EventSourceMapping, enabling customers to encrypt their filter criteria using a customer-owned KMS key." +} diff --git a/.changes/next-release/api-change-securityhub-79640.json b/.changes/next-release/api-change-securityhub-79640.json new file mode 100644 index 000000000000..a72b4a83eae0 --- /dev/null +++ b/.changes/next-release/api-change-securityhub-79640.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``securityhub``", + "description": "Security Hub documentation and definition updates" +} diff --git a/.changes/next-release/api-change-ses-4836.json b/.changes/next-release/api-change-ses-4836.json new file mode 100644 index 000000000000..0f459ca6274e --- /dev/null +++ b/.changes/next-release/api-change-ses-4836.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ses``", + "description": "Enable email receiving customers to provide SES with access to their S3 buckets via an IAM role for \"Deliver to S3 Action\"" +} From e906e8d3ace75387a680080cf0bed04f5eb228ef Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 21 Aug 2024 18:16:15 +0000 Subject: [PATCH 0162/1087] Bumping version to 1.34.3 --- .changes/1.34.3.json | 32 +++++++++++++++++++ .../next-release/api-change-ec2-92389.json | 5 --- .../api-change-entityresolution-77245.json | 5 --- .../next-release/api-change-glue-83757.json | 5 --- .../next-release/api-change-lambda-80946.json | 5 --- .../api-change-securityhub-79640.json | 5 --- .../next-release/api-change-ses-4836.json | 5 --- CHANGELOG.rst | 11 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 12 files changed, 47 insertions(+), 34 deletions(-) create mode 100644 .changes/1.34.3.json delete mode 100644 .changes/next-release/api-change-ec2-92389.json delete mode 100644 .changes/next-release/api-change-entityresolution-77245.json delete mode 100644 .changes/next-release/api-change-glue-83757.json delete mode 100644 .changes/next-release/api-change-lambda-80946.json delete mode 100644 .changes/next-release/api-change-securityhub-79640.json delete mode 100644 .changes/next-release/api-change-ses-4836.json diff --git a/.changes/1.34.3.json b/.changes/1.34.3.json new file mode 100644 index 000000000000..ab0c3ed3a803 --- /dev/null +++ b/.changes/1.34.3.json @@ -0,0 +1,32 @@ +[ + { + "category": "``ec2``", + "description": "DescribeInstanceStatus now returns health information on EBS volumes attached to Nitro instances", + "type": "api-change" + }, + { + "category": "``entityresolution``", + "description": "Increase the mapping attributes in Schema to 35.", + "type": "api-change" + }, + { + "category": "``glue``", + "description": "Add optional field JobRunQueuingEnabled to CreateJob and UpdateJob APIs.", + "type": "api-change" + }, + { + "category": "``lambda``", + "description": "Release FilterCriteria encryption for Lambda EventSourceMapping, enabling customers to encrypt their filter criteria using a customer-owned KMS key.", + "type": "api-change" + }, + { + "category": "``securityhub``", + "description": "Security Hub documentation and definition updates", + "type": "api-change" + }, + { + "category": "``ses``", + "description": "Enable email receiving customers to provide SES with access to their S3 buckets via an IAM role for \"Deliver to S3 Action\"", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-ec2-92389.json b/.changes/next-release/api-change-ec2-92389.json deleted file mode 100644 index c49da2d12c39..000000000000 --- a/.changes/next-release/api-change-ec2-92389.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ec2``", - "description": "DescribeInstanceStatus now returns health information on EBS volumes attached to Nitro instances" -} diff --git a/.changes/next-release/api-change-entityresolution-77245.json b/.changes/next-release/api-change-entityresolution-77245.json deleted file mode 100644 index 28027234e4ac..000000000000 --- a/.changes/next-release/api-change-entityresolution-77245.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``entityresolution``", - "description": "Increase the mapping attributes in Schema to 35." -} diff --git a/.changes/next-release/api-change-glue-83757.json b/.changes/next-release/api-change-glue-83757.json deleted file mode 100644 index b9e75f5063bc..000000000000 --- a/.changes/next-release/api-change-glue-83757.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``glue``", - "description": "Add optional field JobRunQueuingEnabled to CreateJob and UpdateJob APIs." -} diff --git a/.changes/next-release/api-change-lambda-80946.json b/.changes/next-release/api-change-lambda-80946.json deleted file mode 100644 index b526a1a5f326..000000000000 --- a/.changes/next-release/api-change-lambda-80946.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``lambda``", - "description": "Release FilterCriteria encryption for Lambda EventSourceMapping, enabling customers to encrypt their filter criteria using a customer-owned KMS key." -} diff --git a/.changes/next-release/api-change-securityhub-79640.json b/.changes/next-release/api-change-securityhub-79640.json deleted file mode 100644 index a72b4a83eae0..000000000000 --- a/.changes/next-release/api-change-securityhub-79640.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``securityhub``", - "description": "Security Hub documentation and definition updates" -} diff --git a/.changes/next-release/api-change-ses-4836.json b/.changes/next-release/api-change-ses-4836.json deleted file mode 100644 index 0f459ca6274e..000000000000 --- a/.changes/next-release/api-change-ses-4836.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ses``", - "description": "Enable email receiving customers to provide SES with access to their S3 buckets via an IAM role for \"Deliver to S3 Action\"" -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 2771e669d5f9..f40bac396562 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,17 @@ CHANGELOG ========= +1.34.3 +====== + +* api-change:``ec2``: DescribeInstanceStatus now returns health information on EBS volumes attached to Nitro instances +* api-change:``entityresolution``: Increase the mapping attributes in Schema to 35. +* api-change:``glue``: Add optional field JobRunQueuingEnabled to CreateJob and UpdateJob APIs. +* api-change:``lambda``: Release FilterCriteria encryption for Lambda EventSourceMapping, enabling customers to encrypt their filter criteria using a customer-owned KMS key. +* api-change:``securityhub``: Security Hub documentation and definition updates +* api-change:``ses``: Enable email receiving customers to provide SES with access to their S3 buckets via an IAM role for "Deliver to S3 Action" + + 1.34.2 ====== diff --git a/awscli/__init__.py b/awscli/__init__.py index 47016b79d03f..6241ee0683b2 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.34.2' +__version__ = '1.34.3' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 6449fd6f7f55..7bf24889463e 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.34' # The full version, including alpha/beta/rc tags. -release = '1.34.2' +release = '1.34.3' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 430ae88e421b..41d4e9dc95cb 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.2 + botocore==1.35.3 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 1ed923bac288..7ed01ee3fcde 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.2', + 'botocore==1.35.3', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 70573b1cb9590a86f7a00766b3bf2f9dca6c34a3 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 22 Aug 2024 18:33:17 +0000 Subject: [PATCH 0163/1087] Update changelog based on model updates --- .changes/next-release/api-change-autoscaling-79752.json | 5 +++++ .changes/next-release/api-change-bedrock-66877.json | 5 +++++ .changes/next-release/api-change-emrcontainers-43469.json | 5 +++++ .changes/next-release/api-change-inspector2-98539.json | 5 +++++ .changes/next-release/api-change-quicksight-14740.json | 5 +++++ .changes/next-release/api-change-route53-96900.json | 5 +++++ 6 files changed, 30 insertions(+) create mode 100644 .changes/next-release/api-change-autoscaling-79752.json create mode 100644 .changes/next-release/api-change-bedrock-66877.json create mode 100644 .changes/next-release/api-change-emrcontainers-43469.json create mode 100644 .changes/next-release/api-change-inspector2-98539.json create mode 100644 .changes/next-release/api-change-quicksight-14740.json create mode 100644 .changes/next-release/api-change-route53-96900.json diff --git a/.changes/next-release/api-change-autoscaling-79752.json b/.changes/next-release/api-change-autoscaling-79752.json new file mode 100644 index 000000000000..fb1c4c566184 --- /dev/null +++ b/.changes/next-release/api-change-autoscaling-79752.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``autoscaling``", + "description": "Amazon EC2 Auto Scaling now provides EBS health check to manage EC2 instance replacement" +} diff --git a/.changes/next-release/api-change-bedrock-66877.json b/.changes/next-release/api-change-bedrock-66877.json new file mode 100644 index 000000000000..1eac80225380 --- /dev/null +++ b/.changes/next-release/api-change-bedrock-66877.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock``", + "description": "Amazon Bedrock Evaluation BatchDeleteEvaluationJob API allows customers to delete evaluation jobs under terminated evaluation job statuses - Stopped, Failed, or Completed. Customers can submit a batch of 25 evaluation jobs to be deleted at once." +} diff --git a/.changes/next-release/api-change-emrcontainers-43469.json b/.changes/next-release/api-change-emrcontainers-43469.json new file mode 100644 index 000000000000..e05be86d2856 --- /dev/null +++ b/.changes/next-release/api-change-emrcontainers-43469.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``emr-containers``", + "description": "Correct endpoint for FIPS is configured for US Gov Regions." +} diff --git a/.changes/next-release/api-change-inspector2-98539.json b/.changes/next-release/api-change-inspector2-98539.json new file mode 100644 index 000000000000..1d54e112d053 --- /dev/null +++ b/.changes/next-release/api-change-inspector2-98539.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``inspector2``", + "description": "Add enums for Agentless scan statuses and EC2 enablement error states" +} diff --git a/.changes/next-release/api-change-quicksight-14740.json b/.changes/next-release/api-change-quicksight-14740.json new file mode 100644 index 000000000000..e0466e52a5f3 --- /dev/null +++ b/.changes/next-release/api-change-quicksight-14740.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``quicksight``", + "description": "Explicit query for authors and dashboard viewing sharing for embedded users" +} diff --git a/.changes/next-release/api-change-route53-96900.json b/.changes/next-release/api-change-route53-96900.json new file mode 100644 index 000000000000..87c627fa6276 --- /dev/null +++ b/.changes/next-release/api-change-route53-96900.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``route53``", + "description": "Amazon Route 53 now supports the Asia Pacific (Malaysia) Region (ap-southeast-5) for latency records, geoproximity records, and private DNS for Amazon VPCs in that region." +} From 517ebf48dae0f455d43f4e6d3dbe8bff754855cc Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 22 Aug 2024 18:34:47 +0000 Subject: [PATCH 0164/1087] Bumping version to 1.34.4 --- .changes/1.34.4.json | 32 +++++++++++++++++++ .../api-change-autoscaling-79752.json | 5 --- .../api-change-bedrock-66877.json | 5 --- .../api-change-emrcontainers-43469.json | 5 --- .../api-change-inspector2-98539.json | 5 --- .../api-change-quicksight-14740.json | 5 --- .../api-change-route53-96900.json | 5 --- CHANGELOG.rst | 11 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 12 files changed, 47 insertions(+), 34 deletions(-) create mode 100644 .changes/1.34.4.json delete mode 100644 .changes/next-release/api-change-autoscaling-79752.json delete mode 100644 .changes/next-release/api-change-bedrock-66877.json delete mode 100644 .changes/next-release/api-change-emrcontainers-43469.json delete mode 100644 .changes/next-release/api-change-inspector2-98539.json delete mode 100644 .changes/next-release/api-change-quicksight-14740.json delete mode 100644 .changes/next-release/api-change-route53-96900.json diff --git a/.changes/1.34.4.json b/.changes/1.34.4.json new file mode 100644 index 000000000000..92bc4cf3c7d2 --- /dev/null +++ b/.changes/1.34.4.json @@ -0,0 +1,32 @@ +[ + { + "category": "``autoscaling``", + "description": "Amazon EC2 Auto Scaling now provides EBS health check to manage EC2 instance replacement", + "type": "api-change" + }, + { + "category": "``bedrock``", + "description": "Amazon Bedrock Evaluation BatchDeleteEvaluationJob API allows customers to delete evaluation jobs under terminated evaluation job statuses - Stopped, Failed, or Completed. Customers can submit a batch of 25 evaluation jobs to be deleted at once.", + "type": "api-change" + }, + { + "category": "``emr-containers``", + "description": "Correct endpoint for FIPS is configured for US Gov Regions.", + "type": "api-change" + }, + { + "category": "``inspector2``", + "description": "Add enums for Agentless scan statuses and EC2 enablement error states", + "type": "api-change" + }, + { + "category": "``quicksight``", + "description": "Explicit query for authors and dashboard viewing sharing for embedded users", + "type": "api-change" + }, + { + "category": "``route53``", + "description": "Amazon Route 53 now supports the Asia Pacific (Malaysia) Region (ap-southeast-5) for latency records, geoproximity records, and private DNS for Amazon VPCs in that region.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-autoscaling-79752.json b/.changes/next-release/api-change-autoscaling-79752.json deleted file mode 100644 index fb1c4c566184..000000000000 --- a/.changes/next-release/api-change-autoscaling-79752.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``autoscaling``", - "description": "Amazon EC2 Auto Scaling now provides EBS health check to manage EC2 instance replacement" -} diff --git a/.changes/next-release/api-change-bedrock-66877.json b/.changes/next-release/api-change-bedrock-66877.json deleted file mode 100644 index 1eac80225380..000000000000 --- a/.changes/next-release/api-change-bedrock-66877.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock``", - "description": "Amazon Bedrock Evaluation BatchDeleteEvaluationJob API allows customers to delete evaluation jobs under terminated evaluation job statuses - Stopped, Failed, or Completed. Customers can submit a batch of 25 evaluation jobs to be deleted at once." -} diff --git a/.changes/next-release/api-change-emrcontainers-43469.json b/.changes/next-release/api-change-emrcontainers-43469.json deleted file mode 100644 index e05be86d2856..000000000000 --- a/.changes/next-release/api-change-emrcontainers-43469.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``emr-containers``", - "description": "Correct endpoint for FIPS is configured for US Gov Regions." -} diff --git a/.changes/next-release/api-change-inspector2-98539.json b/.changes/next-release/api-change-inspector2-98539.json deleted file mode 100644 index 1d54e112d053..000000000000 --- a/.changes/next-release/api-change-inspector2-98539.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``inspector2``", - "description": "Add enums for Agentless scan statuses and EC2 enablement error states" -} diff --git a/.changes/next-release/api-change-quicksight-14740.json b/.changes/next-release/api-change-quicksight-14740.json deleted file mode 100644 index e0466e52a5f3..000000000000 --- a/.changes/next-release/api-change-quicksight-14740.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``quicksight``", - "description": "Explicit query for authors and dashboard viewing sharing for embedded users" -} diff --git a/.changes/next-release/api-change-route53-96900.json b/.changes/next-release/api-change-route53-96900.json deleted file mode 100644 index 87c627fa6276..000000000000 --- a/.changes/next-release/api-change-route53-96900.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``route53``", - "description": "Amazon Route 53 now supports the Asia Pacific (Malaysia) Region (ap-southeast-5) for latency records, geoproximity records, and private DNS for Amazon VPCs in that region." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index f40bac396562..e3347282bdb4 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,17 @@ CHANGELOG ========= +1.34.4 +====== + +* api-change:``autoscaling``: Amazon EC2 Auto Scaling now provides EBS health check to manage EC2 instance replacement +* api-change:``bedrock``: Amazon Bedrock Evaluation BatchDeleteEvaluationJob API allows customers to delete evaluation jobs under terminated evaluation job statuses - Stopped, Failed, or Completed. Customers can submit a batch of 25 evaluation jobs to be deleted at once. +* api-change:``emr-containers``: Correct endpoint for FIPS is configured for US Gov Regions. +* api-change:``inspector2``: Add enums for Agentless scan statuses and EC2 enablement error states +* api-change:``quicksight``: Explicit query for authors and dashboard viewing sharing for embedded users +* api-change:``route53``: Amazon Route 53 now supports the Asia Pacific (Malaysia) Region (ap-southeast-5) for latency records, geoproximity records, and private DNS for Amazon VPCs in that region. + + 1.34.3 ====== diff --git a/awscli/__init__.py b/awscli/__init__.py index 6241ee0683b2..9ab6586382cb 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.34.3' +__version__ = '1.34.4' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 7bf24889463e..d06d2e5eb20f 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.34' # The full version, including alpha/beta/rc tags. -release = '1.34.3' +release = '1.34.4' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 41d4e9dc95cb..5405d576659d 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.3 + botocore==1.35.4 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 7ed01ee3fcde..96acb32a133a 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.3', + 'botocore==1.35.4', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From e6dd275e944a4501db8bd3c788331bcb9c4697d1 Mon Sep 17 00:00:00 2001 From: Steven Meyer <108885656+meyertst-aws@users.noreply.github.com> Date: Thu, 22 Aug 2024 16:13:00 -0400 Subject: [PATCH 0165/1087] examples added and tested --- .../medical-imaging/copy-image-set.rst | 38 ++++- .../update-image-set-metadata.rst | 148 +++++++++++++++--- 2 files changed, 163 insertions(+), 23 deletions(-) diff --git a/awscli/examples/medical-imaging/copy-image-set.rst b/awscli/examples/medical-imaging/copy-image-set.rst index 32c09ee81dc6..4d823ac9fe0e 100644 --- a/awscli/examples/medical-imaging/copy-image-set.rst +++ b/awscli/examples/medical-imaging/copy-image-set.rst @@ -1,14 +1,12 @@ **Example 1: To copy an image set without a destination.** -The following ``copy-image-set`` code example makes a duplicate copy of an image set without a destination. :: +The following ``copy-image-set`` example makes a duplicate copy of an image set without a destination. :: aws medical-imaging copy-image-set \ --datastore-id 12345678901234567890123456789012 \ --source-image-set-id ea92b0d8838c72a3f25d00d13616f87e \ --copy-image-set-information '{"sourceImageSet": {"latestVersionId": "1" } }' - - Output:: { @@ -33,15 +31,45 @@ Output:: **Example 2: To copy an image set with a destination.** -The following ``copy-image-set`` code example makes a duplicate copy of an image set with a destination. :: +The following ``copy-image-set`` example makes a duplicate copy of an image set with a destination. :: aws medical-imaging copy-image-set \ --datastore-id 12345678901234567890123456789012 \ --source-image-set-id ea92b0d8838c72a3f25d00d13616f87e \ --copy-image-set-information '{"sourceImageSet": {"latestVersionId": "1" }, "destinationImageSet": { "imageSetId": "b9a06fef182a5f992842f77f8e0868e5", "latestVersionId": "1"} }' +Output:: + + { + "destinationImageSetProperties": { + "latestVersionId": "2", + "imageSetWorkflowStatus": "COPYING", + "updatedAt": 1680042505.135, + "imageSetId": "b9a06fef182a5f992842f77f8e0868e5", + "imageSetState": "LOCKED", + "createdAt": 1680042357.432 + }, + "sourceImageSetProperties": { + "latestVersionId": "1", + "imageSetWorkflowStatus": "COPYING_WITH_READ_ONLY_ACCESS", + "updatedAt": 1680042505.135, + "imageSetId": "ea92b0d8838c72a3f25d00d13616f87e", + "imageSetState": "LOCKED", + "createdAt": 1680027126.436 + }, + "datastoreId": "12345678901234567890123456789012" + } + +**Example 3: To copy a subset of instances from a source image set to a destination image set.** +The following ``copy-image-set`` example copies one DICOM instance from the source image set to the destination image set. +The force parameter is provided to override inconsistencies in the Patient, Study, and Series level attributes. :: + aws medical-imaging copy-image-set \ + --datastore-id 12345678901234567890123456789012 \ + --source-image-set-id ea92b0d8838c72a3f25d00d13616f87e \ + --copy-image-set-information '{"sourceImageSet": {"latestVersionId": "1","DICOMCopies": {"copiableAttributes": "{\"SchemaVersion\":\"1.1\",\"Study\":{\"Series\":{\"1.3.6.1.4.1.5962.99.1.3673257865.2104868982.1369432891697.3666.0\":{\"Instances\":{\"1.3.6.1.4.1.5962.99.1.3673257865.2104868982.1369432891697.3669.0\":{}}}}}}"}},"destinationImageSet": {"imageSetId": "b9eb50d8ee682eb9fcf4acbf92f62bb7","latestVersionId": "1"}}' \ + --force Output:: @@ -50,7 +78,7 @@ Output:: "latestVersionId": "2", "imageSetWorkflowStatus": "COPYING", "updatedAt": 1680042505.135, - "imageSetId": "b9a06fef182a5f992842f77f8e0868e5", + "imageSetId": "b9eb50d8ee682eb9fcf4acbf92f62bb7", "imageSetState": "LOCKED", "createdAt": 1680042357.432 }, diff --git a/awscli/examples/medical-imaging/update-image-set-metadata.rst b/awscli/examples/medical-imaging/update-image-set-metadata.rst index 387dedbf4f60..e596508bdfaa 100644 --- a/awscli/examples/medical-imaging/update-image-set-metadata.rst +++ b/awscli/examples/medical-imaging/update-image-set-metadata.rst @@ -1,24 +1,52 @@ -**To insert or update an attribute in image set metadata** +**Example 1: To insert or update an attribute in image set metadata** -The following ``update-image-set-metadata`` code example inserts or updates an attribute in image set metadata. :: +The following ``update-image-set-metadata`` example inserts or updates an attribute in image set metadata. :: aws medical-imaging update-image-set-metadata \ --datastore-id 12345678901234567890123456789012 \ --image-set-id ea92b0d8838c72a3f25d00d13616f87e \ --latest-version-id 1 \ + --cli-binary-format raw-in-base64-out \ --update-image-set-metadata-updates file://metadata-updates.json Contents of ``metadata-updates.json`` :: { "DICOMUpdates": { - "updatableAttributes": "eyJTY2hlbWFWZXJzaW9uIjoxLjEsIlBhdGllbnQiOnsiRElDT00iOnsiUGF0aWVudE5hbWUiOiJNWF5NWCJ9fX0=" + "updatableAttributes": "{\"SchemaVersion\":1.1,\"Patient\":{\"DICOM\":{\"PatientName\":\"MX^MX\"}}}" } } -Note: ``updatableAttributes`` is a Base64 encoded JSON string. Here is the unencoded JSON string. +Output:: + + { + "latestVersionId": "2", + "imageSetWorkflowStatus": "UPDATING", + "updatedAt": 1680042257.908, + "imageSetId": "ea92b0d8838c72a3f25d00d13616f87e", + "imageSetState": "LOCKED", + "createdAt": 1680027126.436, + "datastoreId": "12345678901234567890123456789012" + } -{"SchemaVersion":1.1,"Patient":{"DICOM":{"PatientName":"MX^MX"}}} +**Example 2: To remove an attribute from image set metadata** + +The following ``update-image-set-metadata`` example removes an attribute from image set metadata. :: + + aws medical-imaging update-image-set-metadata \ + --datastore-id 12345678901234567890123456789012 \ + --image-set-id ea92b0d8838c72a3f25d00d13616f87e \ + --latest-version-id 1 \ + --cli-binary-format raw-in-base64-out \ + --update-image-set-metadata-updates file://metadata-updates.json + +Contents of ``metadata-updates.json`` :: + + { + "DICOMUpdates": { + "removableAttributes": "{\"SchemaVersion\":1.1,\"Study\":{\"DICOM\":{\"StudyDescription\":\"CHEST\"}}}" + } + } Output:: @@ -32,27 +60,81 @@ Output:: "datastoreId": "12345678901234567890123456789012" } -**To remove an attribute from image set metadata** +**Example 3: To remove an instance from image set metadata** -The following ``update-image-set-metadata`` code example removes an attribute from image set metadata. :: +The following ``update-image-set-metadata`` example removes an instance from image set metadata. :: aws medical-imaging update-image-set-metadata \ --datastore-id 12345678901234567890123456789012 \ --image-set-id ea92b0d8838c72a3f25d00d13616f87e \ --latest-version-id 1 \ + --cli-binary-format raw-in-base64-out \ --update-image-set-metadata-updates file://metadata-updates.json Contents of ``metadata-updates.json`` :: { "DICOMUpdates": { - "removableAttributes": "e1NjaGVtYVZlcnNpb246MS4xLFN0dWR5OntESUNPTTp7U3R1ZHlEZXNjcmlwdGlvbjpDSEVTVH19fQo=" + "removableAttributes": "{\"SchemaVersion\": 1.1,\"Study\": {\"Series\": {\"1.1.1.1.1.1.12345.123456789012.123.12345678901234.1\": {\"Instances\": {\"1.1.1.1.1.1.12345.123456789012.123.12345678901234.1\": {}}}}}}" } } -Note: ``removableAttributes`` is a Base64 encoded JSON string. Here is the unencoded JSON string. The key and value must match the attribute to be removed. +Output:: + + { + "latestVersionId": "2", + "imageSetWorkflowStatus": "UPDATING", + "updatedAt": 1680042257.908, + "imageSetId": "ea92b0d8838c72a3f25d00d13616f87e", + "imageSetState": "LOCKED", + "createdAt": 1680027126.436, + "datastoreId": "12345678901234567890123456789012" + } + + +**Example 4: To revert an image set to a previous version** + +The following ``update-image-set-metadata`` example shows how to revert an image set to a prior version. CopyImageSet and UpdateImageSetMetadata actions create new versions of image sets. :: + + aws medical-imaging update-image-set-metadata \ + --datastore-id 12345678901234567890123456789012 \ + --image-set-id 53d5fdb05ca4d46ac7ca64b06545c66e \ + --latest-version-id 3 \ + --cli-binary-format raw-in-base64-out \ + --update-image-set-metadata-updates '{"revertToVersionId": "1"}' + +Output:: + + { + "datastoreId": "12345678901234567890123456789012", + "imageSetId": "53d5fdb05ca4d46ac7ca64b06545c66e", + "latestVersionId": "4", + "imageSetState": "LOCKED", + "imageSetWorkflowStatus": "UPDATING", + "createdAt": 1680027126.436, + "updatedAt": 1680042257.908 + } + +**Example 5: To add a private DICOM data element to an instance** + +The following ``update-image-set-metadata`` example shows how to add a private element to a specified instance within an image set. The DICOM standard permits private data elements for communication of information that cannot be contained in standard data elements. You can create, update, and delete private data elements with the +UpdateImageSetMetadata action. :: + + aws medical-imaging update-image-set-metadata \ + --datastore-id 12345678901234567890123456789012 \ + --image-set-id 53d5fdb05ca4d46ac7ca64b06545c66e \ + --latest-version-id 1 \ + --cli-binary-format raw-in-base64-out \ + --force \ + --update-image-set-metadata-updates file://metadata-updates.json + +Contents of ``metadata-updates.json`` :: -{"SchemaVersion":1.1,"Study":{"DICOM":{"StudyDescription":"CHEST"}}} + { + "DICOMUpdates": { + "updatableAttributes": "{\"SchemaVersion\": 1.1,\"Study\": {\"Series\": {\"1.1.1.1.1.1.12345.123456789012.123.12345678901234.1\": {\"Instances\": {\"1.1.1.1.1.1.12345.123456789012.123.12345678901234.1\": {\"DICOM\": {\"001910F9\": \"97\"},\"DICOMVRs\": {\"001910F9\": \"DS\"}}}}}}}" + } + } Output:: @@ -60,33 +142,63 @@ Output:: "latestVersionId": "2", "imageSetWorkflowStatus": "UPDATING", "updatedAt": 1680042257.908, - "imageSetId": "ea92b0d8838c72a3f25d00d13616f87e", + "imageSetId": "53d5fdb05ca4d46ac7ca64b06545c66e", "imageSetState": "LOCKED", "createdAt": 1680027126.436, "datastoreId": "12345678901234567890123456789012" } -**To remove an instance from image set metadata** +**Example 6: To update a private DICOM data element to an instance** -The following ``update-image-set-metadata`` code example removes an instance from image set metadata. :: +The following ``update-image-set-metadata`` example shows how to update the value of a private data element belonging to an instance within an image set. :: aws medical-imaging update-image-set-metadata \ --datastore-id 12345678901234567890123456789012 \ - --image-set-id ea92b0d8838c72a3f25d00d13616f87e \ + --image-set-id 53d5fdb05ca4d46ac7ca64b06545c66e \ --latest-version-id 1 \ + --cli-binary-format raw-in-base64-out \ + --force \ --update-image-set-metadata-updates file://metadata-updates.json Contents of ``metadata-updates.json`` :: { "DICOMUpdates": { - "removableAttributes": "eezEuMS4xLjEuMS4xLjEyMzQ1LjEyMzQ1Njc4OTAxMi4xMjMuMTIzNDU2Nzg5MDEyMzQuMTp7SW5zdGFuY2VzOnsxLjEuMS4xLjEuMS4xMjM0NS4xMjM0NTY3ODkwMTIuMTIzLjEyMzQ1Njc4OTAxMjM0LjE6e319fX19fQo=" + "updatableAttributes": "{\"SchemaVersion\": 1.1,\"Study\": {\"Series\": {\"1.1.1.1.1.1.12345.123456789012.123.12345678901234.1\": {\"Instances\": {\"1.1.1.1.1.1.12345.123456789012.123.12345678901234.1\": {\"DICOM\": {\"00091001\": \"GE_GENESIS_DD\"}}}}}}}" } } -Note: ``removableAttributes`` is a Base64 encoded JSON string. Here is the unencoded JSON string. +Output:: + + { + "latestVersionId": "2", + "imageSetWorkflowStatus": "UPDATING", + "updatedAt": 1680042257.908, + "imageSetId": "53d5fdb05ca4d46ac7ca64b06545c66e", + "imageSetState": "LOCKED", + "createdAt": 1680027126.436, + "datastoreId": "12345678901234567890123456789012" + } + +**Example 7: To update a SOPInstanceUID with the force parameter** -{"1.1.1.1.1.1.12345.123456789012.123.12345678901234.1":{"Instances":{"1.1.1.1.1.1.12345.123456789012.123.12345678901234.1":{}}}}}} +The following ``update-image-set-metadata`` example shows how to update a SOPInstanceUID, using the force parameter to override the DICOM metadata constraints. :: + + aws medical-imaging update-image-set-metadata \ + --datastore-id 12345678901234567890123456789012 \ + --image-set-id 53d5fdb05ca4d46ac7ca64b06545c66e \ + --latest-version-id 1 \ + --cli-binary-format raw-in-base64-out \ + --force \ + --update-image-set-metadata-updates file://metadata-updates.json + +Contents of ``metadata-updates.json`` :: + + { + "DICOMUpdates": { + "updatableAttributes": "{\"SchemaVersion\":1.1,\"Study\":{\"Series\":{\"1.3.6.1.4.1.5962.99.1.3633258862.2104868982.1369432891697.3656.0\":{\"Instances\":{\"1.3.6.1.4.1.5962.99.1.3633258862.2104868982.1369432891697.3659.0\":{\"DICOM\":{\"SOPInstanceUID\":\"1.3.6.1.4.1.5962.99.1.3633258862.2104868982.1369432891697.3659.9\"}}}}}}}" + } + } Output:: @@ -94,7 +206,7 @@ Output:: "latestVersionId": "2", "imageSetWorkflowStatus": "UPDATING", "updatedAt": 1680042257.908, - "imageSetId": "ea92b0d8838c72a3f25d00d13616f87e", + "imageSetId": "53d5fdb05ca4d46ac7ca64b06545c66e", "imageSetState": "LOCKED", "createdAt": 1680027126.436, "datastoreId": "12345678901234567890123456789012" From 85e30656e5b190427efd077315bee2a53dce47ee Mon Sep 17 00:00:00 2001 From: Ikko Eltociear Ashimine Date: Sat, 24 Aug 2024 00:49:47 +0900 Subject: [PATCH 0166/1087] docs: update create-user.rst creat -> create --- awscli/examples/memorydb/create-user.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awscli/examples/memorydb/create-user.rst b/awscli/examples/memorydb/create-user.rst index 430a23627212..359cf912ef7f 100644 --- a/awscli/examples/memorydb/create-user.rst +++ b/awscli/examples/memorydb/create-user.rst @@ -1,4 +1,4 @@ -**To creat a user** +**To create a user** The following ``create-user`` example creates a new user. :: From 0d212201993026141c8b323e94cb0c43a5143f7f Mon Sep 17 00:00:00 2001 From: Elysa Hall Date: Mon, 29 Jul 2024 21:26:00 +0000 Subject: [PATCH 0167/1087] CLI examples accessanalyzer, cognito-idp, ec2, ecr-public, ecr, ivs-realtime, kms, secretsmanager, securitylake --- .../check-access-not-granted.rst | 2 +- .../accessanalyzer/check-no-public-access.rst | 32 ++++ .../examples/cognito-idp/update-user-pool.rst | 32 +++- .../ec2/describe-store-image-tasks.rst | 18 ++- .../examples/ecr-public/create-repository.rst | 122 ++++++++++++++ .../examples/ecr-public/delete-repository.rst | 20 +++ awscli/examples/ecr/create-repository.rst | 18 +-- .../examples/ecs/describe-task-definition.rst | 150 ++++++------------ awscli/examples/ivs-realtime/create-stage.rst | 39 ++++- .../ivs-realtime/delete-public-key.rst | 10 ++ .../examples/ivs-realtime/get-participant.rst | 11 +- .../examples/ivs-realtime/get-public-key.rst | 20 +++ awscli/examples/ivs-realtime/get-stage.rst | 12 +- .../ivs-realtime/import-public-key.rst | 20 +++ .../ivs-realtime/list-participants.rst | 3 +- .../ivs-realtime/list-public-keys.rst | 24 +++ awscli/examples/ivs-realtime/update-stage.rst | 18 ++- awscli/examples/kms/derive-shared-secret.rst | 21 +++ .../examples/secretsmanager/create-secret.rst | 40 ++--- .../securitylake/create-aws-logsource.rst | 16 ++ .../securitylake/create-custom-logsource.rst | 28 ++++ ...reate-data-lake-exception-subscription.rst | 12 ++ ...e-data-lake-organization-configuration.rst | 10 ++ .../securitylake/create-data-lake.rst | 126 +++++++++++++++ .../create-subscriber-data-access.rst | 41 +++++ .../create-subscriber-notification.rst | 17 ++ .../create-subscriber-query-access.rst | 41 +++++ .../securitylake/delete-aws-logsource.rst | 16 ++ .../securitylake/delete-custom-logsource.rst | 10 ++ ...e-data-lake-organization-configuration.rst | 10 ++ .../securitylake/delete-data-lake.rst | 10 ++ .../delete-subscriber-notification.rst | 10 ++ .../securitylake/delete-subscriber.rst | 10 ++ .../get-data-lake-exception-subscription.rst | 15 ++ ...t-data-lake-organization-configuration.rst | 31 ++++ .../securitylake/get-data-lake-sources.rst | 66 ++++++++ .../examples/securitylake/get-subscriber.rst | 90 +++++++++++ .../list-data-lake-exceptions.rst | 25 +++ .../examples/securitylake/list-data-lakes.rst | 49 ++++++ .../securitylake/list-log-sources.rst | 29 ++++ .../securitylake/list-subscribers.rst | 60 +++++++ .../securitylake/list-tags-for-resource.rst | 27 ++++ ...ster-data-lake-delegated-administrator.rst | 10 ++ awscli/examples/securitylake/tag-resource.rst | 11 ++ .../examples/securitylake/untag-resource.rst | 11 ++ ...pdate-data-lake-exception-subscription.rst | 12 ++ .../securitylake/update-data-lake.rst | 126 +++++++++++++++ .../update-subscriber-notification.rst | 17 ++ .../securitylake/update-subscriber.rst | 76 +++++++++ 49 files changed, 1469 insertions(+), 155 deletions(-) create mode 100644 awscli/examples/accessanalyzer/check-no-public-access.rst create mode 100644 awscli/examples/ecr-public/create-repository.rst create mode 100644 awscli/examples/ecr-public/delete-repository.rst create mode 100644 awscli/examples/ivs-realtime/delete-public-key.rst create mode 100644 awscli/examples/ivs-realtime/get-public-key.rst create mode 100644 awscli/examples/ivs-realtime/import-public-key.rst create mode 100644 awscli/examples/ivs-realtime/list-public-keys.rst create mode 100644 awscli/examples/kms/derive-shared-secret.rst create mode 100644 awscli/examples/securitylake/create-aws-logsource.rst create mode 100644 awscli/examples/securitylake/create-custom-logsource.rst create mode 100644 awscli/examples/securitylake/create-data-lake-exception-subscription.rst create mode 100644 awscli/examples/securitylake/create-data-lake-organization-configuration.rst create mode 100644 awscli/examples/securitylake/create-data-lake.rst create mode 100644 awscli/examples/securitylake/create-subscriber-data-access.rst create mode 100644 awscli/examples/securitylake/create-subscriber-notification.rst create mode 100644 awscli/examples/securitylake/create-subscriber-query-access.rst create mode 100644 awscli/examples/securitylake/delete-aws-logsource.rst create mode 100644 awscli/examples/securitylake/delete-custom-logsource.rst create mode 100644 awscli/examples/securitylake/delete-data-lake-organization-configuration.rst create mode 100644 awscli/examples/securitylake/delete-data-lake.rst create mode 100644 awscli/examples/securitylake/delete-subscriber-notification.rst create mode 100644 awscli/examples/securitylake/delete-subscriber.rst create mode 100644 awscli/examples/securitylake/get-data-lake-exception-subscription.rst create mode 100644 awscli/examples/securitylake/get-data-lake-organization-configuration.rst create mode 100644 awscli/examples/securitylake/get-data-lake-sources.rst create mode 100644 awscli/examples/securitylake/get-subscriber.rst create mode 100644 awscli/examples/securitylake/list-data-lake-exceptions.rst create mode 100644 awscli/examples/securitylake/list-data-lakes.rst create mode 100644 awscli/examples/securitylake/list-log-sources.rst create mode 100644 awscli/examples/securitylake/list-subscribers.rst create mode 100644 awscli/examples/securitylake/list-tags-for-resource.rst create mode 100644 awscli/examples/securitylake/register-data-lake-delegated-administrator.rst create mode 100644 awscli/examples/securitylake/tag-resource.rst create mode 100644 awscli/examples/securitylake/untag-resource.rst create mode 100644 awscli/examples/securitylake/update-data-lake-exception-subscription.rst create mode 100644 awscli/examples/securitylake/update-data-lake.rst create mode 100644 awscli/examples/securitylake/update-subscriber-notification.rst create mode 100644 awscli/examples/securitylake/update-subscriber.rst diff --git a/awscli/examples/accessanalyzer/check-access-not-granted.rst b/awscli/examples/accessanalyzer/check-access-not-granted.rst index 559fd63e30fd..7ca8a0f13c7a 100644 --- a/awscli/examples/accessanalyzer/check-access-not-granted.rst +++ b/awscli/examples/accessanalyzer/check-access-not-granted.rst @@ -30,7 +30,7 @@ Output:: { "result": "PASS", - "message": "The policy document does not grant access to perform the listed actions." + "message": "The policy document does not grant access to perform one or more of the listed actions." } For more information, see `Previewing access with IAM Access Analyzer APIs `__ in the *AWS IAM User Guide*. \ No newline at end of file diff --git a/awscli/examples/accessanalyzer/check-no-public-access.rst b/awscli/examples/accessanalyzer/check-no-public-access.rst new file mode 100644 index 000000000000..bcba8b657f69 --- /dev/null +++ b/awscli/examples/accessanalyzer/check-no-public-access.rst @@ -0,0 +1,32 @@ +**To check whether a resource policy can grant public access to the specified resource type** + +The following ``check-no-public-access`` example checks whether a resource policy can grant public access to the specified resource type. :: + + aws accessanalyzer check-no-public-access \ + --policy-document file://check-no-public-access-myfile.json \ + --resource-type AWS::S3::Bucket + +Contents of ``myfile.json``:: + + { + "Version": "2012-10-17", + "Statement": [ + { + "Sid": "CheckNoPublicAccess", + "Effect": "Allow", + "Principal": { "AWS": "arn:aws:iam::111122223333:user/JohnDoe" }, + "Action": [ + "s3:GetObject" + ] + } + ] + } + +Output:: + + { + "result": "PASS", + "message": "The resource policy does not grant public access for the given resource type." + } + +For more information, see `Previewing access with IAM Access Analyzer APIs `__ in the *AWS IAM User Guide*. diff --git a/awscli/examples/cognito-idp/update-user-pool.rst b/awscli/examples/cognito-idp/update-user-pool.rst index a3948e59122b..c47d6fd436e4 100644 --- a/awscli/examples/cognito-idp/update-user-pool.rst +++ b/awscli/examples/cognito-idp/update-user-pool.rst @@ -1,7 +1,25 @@ -**To update a user pool** - -This example adds tags to a user pool. - -Command:: - - aws cognito-idp update-user-pool --user-pool-id us-west-2_aaaaaaaaa --user-pool-tags Team=Blue,Area=West +**To update a user pool** + +The following ``update-user-pool`` example modifies a user pool with example syntax for each of the available configuration options. To update a user pool, you must specify all previously-configured options or they will reset to a default value. :: + + aws cognito-idp update-user-pool --user-pool-id us-west-2_EXAMPLE \ + --policies PasswordPolicy=\{MinimumLength=6,RequireUppercase=true,RequireLowercase=true,RequireNumbers=true,RequireSymbols=true,TemporaryPasswordValidityDays=7\} \ + --deletion-protection ACTIVE \ + --lambda-config PreSignUp="arn:aws:lambda:us-west-2:123456789012:function:cognito-test-presignup-function",PreTokenGeneration="arn:aws:lambda:us-west-2:123456789012:function:cognito-test-pretoken-function" \ + --auto-verified-attributes "phone_number" "email" \ + --verification-message-template \{\"SmsMessage\":\""Your code is {####}"\",\"EmailMessage\":\""Your code is {####}"\",\"EmailSubject\":\""Your verification code"\",\"EmailMessageByLink\":\""Click {##here##} to verify your email address."\",\"EmailSubjectByLink\":\""Your verification link"\",\"DefaultEmailOption\":\"CONFIRM_WITH_LINK\"\} \ + --sms-authentication-message "Your code is {####}" \ + --user-attribute-update-settings AttributesRequireVerificationBeforeUpdate="email","phone_number" \ + --mfa-configuration "OPTIONAL" \ + --device-configuration ChallengeRequiredOnNewDevice=true,DeviceOnlyRememberedOnUserPrompt=true \ + --email-configuration SourceArn="arn:aws:ses:us-west-2:123456789012:identity/admin@example.com",ReplyToEmailAddress="amdin+noreply@example.com",EmailSendingAccount=DEVELOPER,From="admin@amazon.com",ConfigurationSet="test-configuration-set" \ + --sms-configuration SnsCallerArn="arn:aws:iam::123456789012:role/service-role/SNS-SMS-Role",ExternalId="12345",SnsRegion="us-west-2" \ + --admin-create-user-config AllowAdminCreateUserOnly=false,InviteMessageTemplate=\{SMSMessage=\""Welcome {username}. Your confirmation code is {####}"\",EmailMessage=\""Welcome {username}. Your confirmation code is {####}"\",EmailSubject=\""Welcome to MyMobileGame"\"\} \ + --user-pool-tags "Function"="MyMobileGame","Developers"="Berlin" \ + --admin-create-user-config AllowAdminCreateUserOnly=false,InviteMessageTemplate=\{SMSMessage=\""Welcome {username}. Your confirmation code is {####}"\",EmailMessage=\""Welcome {username}. Your confirmation code is {####}"\",EmailSubject=\""Welcome to MyMobileGame"\"\} \ + --user-pool-add-ons AdvancedSecurityMode="AUDIT" \ + --account-recovery-setting RecoveryMechanisms=\[\{Priority=1,Name="verified_email"\},\{Priority=2,Name="verified_phone_number"\}\] + +This command produces no output. + +For more information, see `Updating user pool configuration `__ in the *Amazon Cognito Developer Guide*. \ No newline at end of file diff --git a/awscli/examples/ec2/describe-store-image-tasks.rst b/awscli/examples/ec2/describe-store-image-tasks.rst index c0aa6f8ae2d1..ad62ec8e81ef 100644 --- a/awscli/examples/ec2/describe-store-image-tasks.rst +++ b/awscli/examples/ec2/describe-store-image-tasks.rst @@ -7,13 +7,17 @@ The following ``describe-store-image-tasks`` example describes the progress of a Output:: { - "AmiId": "ami-1234567890abcdef0", - "Bucket": "my-ami-bucket", - "ProgressPercentage": 17, - "S3ObjectKey": "ami-1234567890abcdef0.bin", - "StoreTaskState": "InProgress", - "StoreTaskFailureReason": null, - "TaskStartTime": "2022-01-01T01:01:01.001Z" + "StoreImageTaskResults": [ + { + "AmiId": "ami-1234567890abcdef0", + "Bucket": "my-ami-bucket", + "ProgressPercentage": 17, + "S3objectKey": "ami-1234567890abcdef0.bin", + "StoreTaskState": "InProgress", + "StoreTaskFailureReason": null, + "TaskStartTime": "2022-01-01T01:01:01.001Z" + } + ] } For more information about storing and restoring an AMI using S3, see `Store and restore an AMI using S3 ` in the *Amazon EC2 User Guide*. \ No newline at end of file diff --git a/awscli/examples/ecr-public/create-repository.rst b/awscli/examples/ecr-public/create-repository.rst new file mode 100644 index 000000000000..cc18a72f72f2 --- /dev/null +++ b/awscli/examples/ecr-public/create-repository.rst @@ -0,0 +1,122 @@ +**Example 1: To create a repository in a public registry** + +The following ``create-repository`` example creates a repository named ``project-a/nginx-web-app`` in a public registry. :: + + aws ecr-public create-repository \ + --repository-name project-a/nginx-web-app + +Output:: + + { + "repository": { + "repositoryArn": "arn:aws:ecr-public::123456789012:repository/project-a/nginx-web-app", + "registryId": "123456789012", + "repositoryName": "project-a/nginx-web-app", + "repositoryUri": "public.ecr.aws/public-registry-custom-alias/project-a/nginx-web-app", + "createdAt": "2024-07-01T21:08:55.131000+00:00" + }, + "catalogData": {} + } + +For more information, see `Creating a public repository `__ in the *Amazon ECR Public User Guide*. + +**Example 2: To create a repository in a public registry with short description of the contents of the repository, system and operating architecture that the images in the repository are compatible with** + +The following ``create-repository`` example creates a repository named ``project-a/nginx-web-app`` in a public registry with short description of the contents of the repository, system and operating architecture that the images in the repository are compatible with. :: + + aws ecr-public create-repository \ + --repository-name project-a/nginx-web-app \ + --catalog-data 'description=My project-a ECR Public Repository,architectures=ARM,ARM 64,x86,x86-64,operatingSystems=Linux' + +Output:: + + { + "repository": { + "repositoryArn": "arn:aws:ecr-public::123456789012:repository/project-a/nginx-web-app", + "registryId": "123456789012", + "repositoryName": "project-a/nginx-web-app", + "repositoryUri": "public.ecr.aws/public-registry-custom-alias/project-a/nginx-web-app", + "createdAt": "2024-07-01T21:23:20.455000+00:00" + }, + "catalogData": { + "description": "My project-a ECR Public Repository", + "architectures": [ + "ARM", + "ARM 64", + "x86", + "x86-64" + ], + "operatingSystems": [ + "Linux" + ] + } + } + +For more information, see `Creating a public repository `__ in the *Amazon ECR Public User Guide*. + +**Example 3: To create a repository in a public registry, along with logoImageBlob, aboutText, usageText and tags information** + +The following ``create-repository`` example creates a repository named `project-a/nginx-web-app` in a public registry, along with logoImageBlob, aboutText, usageText and tags information. :: + + aws ecr-public create-repository \ + --cli-input-json file://myfile.json + +Contents of ``myfile.json``:: + + { + "repositoryName": "project-a/nginx-web-app", + "catalogData": { + "description": "My project-a ECR Public Repository", + "architectures": [ + "ARM", + "ARM 64", + "x86", + "x86-64" + ], + "operatingSystems": [ + "Linux" + ], + "logoImageBlob": "iVBORw0KGgoA<>ErkJggg==", + "aboutText": "## Quick reference\n\nMaintained by: [the Amazon Linux Team](https://github.com/aws/amazon-linux-docker-images)\n\nWhere to get help: [the Docker Community Forums](https://forums.docker.com/), [the Docker Community Slack](https://dockr.ly/slack), or [Stack Overflow](https://stackoverflow.com/search?tab=newest&q=docker)\n\n## Supported tags and respective `dockerfile` links\n\n* [`2.0.20200722.0`, `2`, `latest`](https://github.com/amazonlinux/container-images/blob/03d54f8c4d522bf712cffd6c8f9aafba0a875e78/Dockerfile)\n* [`2.0.20200722.0-with-sources`, `2-with-sources`, `with-sources`](https://github.com/amazonlinux/container-images/blob/1e7349845e029a2e6afe6dc473ef17d052e3546f/Dockerfile)\n* [`2018.03.0.20200602.1`, `2018.03`, `1`](https://github.com/amazonlinux/container-images/blob/f10932e08c75457eeb372bf1cc47ea2a4b8e98c8/Dockerfile)\n* [`2018.03.0.20200602.1-with-sources`, `2018.03-with-sources`, `1-with-sources`](https://github.com/amazonlinux/container-images/blob/8c9ee491689d901aa72719be0ec12087a5fa8faf/Dockerfile)\n\n## What is Amazon Linux?\n\nAmazon Linux is provided by Amazon Web Services (AWS). It is designed to provide a stable, secure, and high-performance execution environment for applications running on Amazon EC2. The full distribution includes packages that enable easy integration with AWS, including launch configuration tools and many popular AWS libraries and tools. AWS provides ongoing security and maintenance updates to all instances running Amazon Linux.\n\nThe Amazon Linux container image contains a minimal set of packages. To install additional packages, [use `yum`](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/managing-software.html).\n\nAWS provides two versions of Amazon Linux: [Amazon Linux 2](https://aws.amazon.com/amazon-linux-2/) and [Amazon Linux AMI](https://aws.amazon.com/amazon-linux-ami/).\n\nFor information on security updates for Amazon Linux, please refer to [Amazon Linux 2 Security Advisories](https://alas.aws.amazon.com/alas2.html) and [Amazon Linux AMI Security Advisories](https://alas.aws.amazon.com/). Note that Docker Hub's vulnerability scanning for Amazon Linux is currently based on RPM versions, which does not reflect the state of backported patches for vulnerabilities.\n\n## Where can I run Amazon Linux container images?\n\nYou can run Amazon Linux container images in any Docker based environment. Examples include, your laptop, in Amazon EC2 instances, and Amazon ECS clusters.\n\n## License\n\nAmazon Linux is available under the [GNU General Public License, version 2.0](https://github.com/aws/amazon-linux-docker-images/blob/master/LICENSE). Individual software packages are available under their own licenses; run `rpm -qi [package name]` or check `/usr/share/doc/[package name]-*` and `/usr/share/licenses/[package name]-*` for details.\n\nAs with all Docker images, these likely also contain other software which may be under other licenses (such as Bash, etc from the base distribution, along with any direct or indirect dependencies of the primary software being contained).\n\nSome additional license information which was able to be auto-detected might be found in [the `repo-info` repository's `amazonlinux/` directory](https://github.com/docker-library/repo-info/tree/master/repos/amazonlinux).\n\n## Security\n\nFor information on security updates for Amazon Linux, please refer to [Amazon Linux 2 Security Advisories](https://alas.aws.amazon.com/alas2.html) and [Amazon Linux AMI Security Advisories](https://alas.aws.amazon.com/). Note that Docker Hub's vulnerability scanning for Amazon Linux is currently based on RPM versions, which does not reflect the state of backported patches for vulnerabilities.", + "usageText": "## Supported architectures\n\namd64, arm64v8\n\n## Where can I run Amazon Linux container images?\n\nYou can run Amazon Linux container images in any Docker based environment. Examples include, your laptop, in Amazon EC2 instances, and ECS clusters.\n\n## How do I install a software package from Extras repository in Amazon Linux 2?\n\nAvailable packages can be listed with the `amazon-linux-extras` command. Packages can be installed with the `amazon-linux-extras install ` command. Example: `amazon-linux-extras install rust1`\n\n## Will updates be available for Amazon Linux containers?\n\nSimilar to the Amazon Linux images for Amazon EC2 and on-premises use, Amazon Linux container images will get ongoing updates from Amazon in the form of security updates, bug fix updates, and other enhancements. Security bulletins for Amazon Linux are available at https://alas.aws.amazon.com/\n\n## Will AWS Support the current version of Amazon Linux going forward?\n\nYes; in order to avoid any disruption to your existing applications and to facilitate migration to Amazon Linux 2, AWS will provide regular security updates for Amazon Linux 2018.03 AMI and container image for 2 years after the final LTS build is announced. You can also use all your existing support channels such as AWS Support and Amazon Linux Discussion Forum to continue to submit support requests." + }, + "tags": [ + { + "Key": "Name", + "Value": "project-a/nginx-web-app" + }, + { + "Key": "Environment", + "Value": "Prod" + } + ] + } + +Output:: + + { + "repository": { + "repositoryArn": "arn:aws:ecr-public::123456789012:repository/project-a/nginx-web-app", + "registryId": "123456789012", + "repositoryName": "project-a/nginx-web-app", + "repositoryUri": "public.ecr.aws/public-registry-custom-alias/project-a/nginx-web-app", + "createdAt": "2024-07-01T21:53:05.749000+00:00" + }, + "catalogData": { + "description": "My project-a ECR Public Repository", + "architectures": [ + "ARM", + "ARM 64", + "x86", + "x86-64" + ], + "operatingSystems": [ + "Linux" + ], + "logoUrl": "https://d3g9o9u8re44ak.cloudfront.net/logo/23861450-4b9b-403c-9a4c-7aa0ef140bb8/2f9bf5a7-a32f-45b4-b5cd-c5770a35e6d7.png", + "aboutText": "## Quick reference\n\nMaintained by: [the Amazon Linux Team](https://github.com/aws/amazon-linux-docker-images)\n\nWhere to get help: [the Docker Community Forums](https://forums.docker.com/), [the Docker Community Slack](https://dockr.ly/slack), or [Stack Overflow](https://stackoverflow.com/search?tab=newest&q=docker)\n\n## Supported tags and respective `dockerfile` links\n\n* [`2.0.20200722.0`, `2`, `latest`](https://github.com/amazonlinux/container-images/blob/03d54f8c4d522bf712cffd6c8f9aafba0a875e78/Dockerfile)\n* [`2.0.20200722.0-with-sources`, `2-with-sources`, `with-sources`](https://github.com/amazonlinux/container-images/blob/1e7349845e029a2e6afe6dc473ef17d052e3546f/Dockerfile)\n* [`2018.03.0.20200602.1`, `2018.03`, `1`](https://github.com/amazonlinux/container-images/blob/f10932e08c75457eeb372bf1cc47ea2a4b8e98c8/Dockerfile)\n* [`2018.03.0.20200602.1-with-sources`, `2018.03-with-sources`, `1-with-sources`](https://github.com/amazonlinux/container-images/blob/8c9ee491689d901aa72719be0ec12087a5fa8faf/Dockerfile)\n\n## What is Amazon Linux?\n\nAmazon Linux is provided by Amazon Web Services (AWS). It is designed to provide a stable, secure, and high-performance execution environment for applications running on Amazon EC2. The full distribution includes packages that enable easy integration with AWS, including launch configuration tools and many popular AWS libraries and tools. AWS provides ongoing security and maintenance updates to all instances running Amazon Linux.\n\nThe Amazon Linux container image contains a minimal set of packages. To install additional packages, [use `yum`](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/managing-software.html).\n\nAWS provides two versions of Amazon Linux: [Amazon Linux 2](https://aws.amazon.com/amazon-linux-2/) and [Amazon Linux AMI](https://aws.amazon.com/amazon-linux-ami/).\n\nFor information on security updates for Amazon Linux, please refer to [Amazon Linux 2 Security Advisories](https://alas.aws.amazon.com/alas2.html) and [Amazon Linux AMI Security Advisories](https://alas.aws.amazon.com/). Note that Docker Hub's vulnerability scanning for Amazon Linux is currently based on RPM versions, which does not reflect the state of backported patches for vulnerabilities.\n\n## Where can I run Amazon Linux container images?\n\nYou can run Amazon Linux container images in any Docker based environment. Examples include, your laptop, in Amazon EC2 instances, and Amazon ECS clusters.\n\n## License\n\nAmazon Linux is available under the [GNU General Public License, version 2.0](https://github.com/aws/amazon-linux-docker-images/blob/master/LICENSE). Individual software packages are available under their own licenses; run `rpm -qi [package name]` or check `/usr/share/doc/[package name]-*` and `/usr/share/licenses/[package name]-*` for details.\n\nAs with all Docker images, these likely also contain other software which may be under other licenses (such as Bash, etc from the base distribution, along with any direct or indirect dependencies of the primary software being contained).\n\nSome additional license information which was able to be auto-detected might be found in [the `repo-info` repository's `amazonlinux/` directory](https://github.com/docker-library/repo-info/tree/master/repos/amazonlinux).\n\n## Security\n\nFor information on security updates for Amazon Linux, please refer to [Amazon Linux 2 Security Advisories](https://alas.aws.amazon.com/alas2.html) and [Amazon Linux AMI Security Advisories](https://alas.aws.amazon.com/). Note that Docker Hub's vulnerability scanning for Amazon Linux is currently based on RPM versions, which does not reflect the state of backported patches for vulnerabilities.", + "usageText": "## Supported architectures\n\namd64, arm64v8\n\n## Where can I run Amazon Linux container images?\n\nYou can run Amazon Linux container images in any Docker based environment. Examples include, your laptop, in Amazon EC2 instances, and ECS clusters.\n\n## How do I install a software package from Extras repository in Amazon Linux 2?\n\nAvailable packages can be listed with the `amazon-linux-extras` command. Packages can be installed with the `amazon-linux-extras install ` command. Example: `amazon-linux-extras install rust1`\n\n## Will updates be available for Amazon Linux containers?\n\nSimilar to the Amazon Linux images for Amazon EC2 and on-premises use, Amazon Linux container images will get ongoing updates from Amazon in the form of security updates, bug fix updates, and other enhancements. Security bulletins for Amazon Linux are available at https://alas.aws.amazon.com/\n\n## Will AWS Support the current version of Amazon Linux going forward?\n\nYes; in order to avoid any disruption to your existing applications and to facilitate migration to Amazon Linux 2, AWS will provide regular security updates for Amazon Linux 2018.03 AMI and container image for 2 years after the final LTS build is announced. You can also use all your existing support channels such as AWS Support and Amazon Linux Discussion Forum to continue to submit support requests." + } + } + +For more information, see `Creating a public repository `__ in the *Amazon ECR Public User Guide* and `Repository catalog data `__ in the *Amazon ECR Public User Guide*. diff --git a/awscli/examples/ecr-public/delete-repository.rst b/awscli/examples/ecr-public/delete-repository.rst new file mode 100644 index 000000000000..5f041e759c2a --- /dev/null +++ b/awscli/examples/ecr-public/delete-repository.rst @@ -0,0 +1,20 @@ +**To delete a repository in a public registry** + +The following ``delete-repository`` example deletes a repository named ``project-a/nginx-web-app`` from your public registry. :: + + aws ecr-public delete-repository \ + --repository-name project-a/nginx-web-app + +Output:: + + { + "repository": { + "repositoryArn": "arn:aws:ecr-public::123456789012:repository/project-a/nginx-web-app", + "registryId": "123456789012", + "repositoryName": "project-a/nginx-web-app", + "repositoryUri": "public.ecr.aws/public-registry-custom-alias/project-a/nginx-web-app", + "createdAt": "2024-07-01T22:14:50.103000+00:00" + } + } + +For more information, see `Deleting a public repository `__ in the *Amazon ECR Public User Guide*. diff --git a/awscli/examples/ecr/create-repository.rst b/awscli/examples/ecr/create-repository.rst index 343d4b52d44b..805ab39b5598 100644 --- a/awscli/examples/ecr/create-repository.rst +++ b/awscli/examples/ecr/create-repository.rst @@ -3,15 +3,15 @@ The following ``create-repository`` example creates a repository inside the specified namespace in the default registry for an account. :: aws ecr create-repository \ - --repository-name project-a/nginx-web-app + --repository-name project-a/sample-repo Output:: { "repository": { "registryId": "123456789012", - "repositoryName": "sample-repo", - "repositoryArn": "arn:aws:ecr:us-west-2:123456789012:repository/project-a/nginx-web-app" + "repositoryName": "project-a/sample-repo", + "repositoryArn": "arn:aws:ecr:us-west-2:123456789012:repository/project-a/sample-repo" } } @@ -22,7 +22,7 @@ For more information, see `Creating a Repository `_ in the *Amazon ECS Developer Guide*. \ No newline at end of file diff --git a/awscli/examples/ivs-realtime/create-stage.rst b/awscli/examples/ivs-realtime/create-stage.rst index 788be13f844d..9731071deff0 100644 --- a/awscli/examples/ivs-realtime/create-stage.rst +++ b/awscli/examples/ivs-realtime/create-stage.rst @@ -1,4 +1,4 @@ -**To create a stage** +**Example 1: To create a stage** The following ``create-stage`` example creates a stage and stage participant token for a specified user. :: @@ -19,9 +19,44 @@ Output:: "stage": { "activeSessionId": "st-a1b2c3d4e5f6g", "arn": "arn:aws:ivs:us-west-2:123456789012:stage/abcdABCDefgh", + "endpoints": { + "events": "wss://global.events.live-video.net", + "whip": "https://1a2b3c4d5e6f.global-bm.whip.live-video.net" + }, "name": "stage1", "tags": {} } } -For more information, see `Enabling Multiple Hosts on an Amazon IVS Stream `__ in the *Amazon Interactive Video Service User Guide*. \ No newline at end of file +For more information, see `Enabling Multiple Hosts on an Amazon IVS Stream `__ in the *Amazon Interactive Video Service User Guide*. + +**Example 2: To create a stage and configure individial participant recording** + +The following ``create-stage`` example creates a stage and configures individual participant recording. :: + + aws ivs-realtime create-stage \ + --name stage1 \ + --auto-participant-recording-configuration '{"mediaTypes": ["AUDIO_VIDEO"],"storageConfigurationArn": "arn:aws:ivs:us-west-2:123456789012:storage-configuration/abcdABCDefgh"}' + +Output:: + + { + "stage": { + "activeSessionId": "st-a1b2c3d4e5f6g", + "arn": "arn:aws:ivs:us-west-2:123456789012:stage/abcdABCDefgh", + "autoParticipantRecordingConfiguration": { + "mediaTypes": [ + "AUDIO_VIDEO" + ], + "storageConfigurationArn": "arn:aws:ivs:us-west-2:123456789012:storage-configuration/abcdABCDefgh", + }, + "endpoints": { + "events": "wss://global.events.live-video.net", + "whip": "https://1a2b3c4d5e6f.global-bm.whip.live-video.net" + }, + "name": "stage1", + "tags": {} + } + } + +For more information, see `Enabling Multiple Hosts on an Amazon IVS Stream `__ in the *Amazon Interactive Video Service User Guide*. \ No newline at end of file diff --git a/awscli/examples/ivs-realtime/delete-public-key.rst b/awscli/examples/ivs-realtime/delete-public-key.rst new file mode 100644 index 000000000000..b4764d74be46 --- /dev/null +++ b/awscli/examples/ivs-realtime/delete-public-key.rst @@ -0,0 +1,10 @@ +**To delete a public key** + +The following ``delete-public-key`` deletes the specified public key. :: + + aws ivs-realtime delete-public-key \ + --arn arn:aws:ivs:us-west-2:123456789012:public-key/abcdABC1efg2 + +This command produces no output. + +For more information, see `Distribute Participant Tokens `__ in the *Amazon IVS Real-Time Streaming User Guide*. \ No newline at end of file diff --git a/awscli/examples/ivs-realtime/get-participant.rst b/awscli/examples/ivs-realtime/get-participant.rst index 54dd789a775d..55d98715863f 100644 --- a/awscli/examples/ivs-realtime/get-participant.rst +++ b/awscli/examples/ivs-realtime/get-participant.rst @@ -16,13 +16,16 @@ Output:: "firstJoinTime": "2023-04-26T20:30:34+00:00", "ispName", "Comcast", "osName", "Microsoft Windows 10 Pro", - "osVersion", "10.0.19044", + "osVersion", "10.0.19044" "participantId": "abCDEf12GHIj", "published": true, + "recordingS3BucketName": "bucket-name", + "recordingS3Prefix": "abcdABCDefgh/st-a1b2c3d4e5f6g/abCDEf12GHIj/1234567890", + "recordingState": "ACTIVE", "sdkVersion", "", - "state": "DISCONNECTED", - "userId": "" + "state": "CONNECTED", + "userId": "", } } -For more information, see `Enabling Multiple Hosts on an Amazon IVS Stream `__ in the *Amazon Interactive Video Service User Guide*. \ No newline at end of file +For more information, see `Enabling Multiple Hosts on an Amazon IVS Stream `__ in the *Amazon Interactive Video Service User Guide*. \ No newline at end of file diff --git a/awscli/examples/ivs-realtime/get-public-key.rst b/awscli/examples/ivs-realtime/get-public-key.rst new file mode 100644 index 000000000000..642d0fb4c931 --- /dev/null +++ b/awscli/examples/ivs-realtime/get-public-key.rst @@ -0,0 +1,20 @@ +**To get an existing public key used to sign stage participant tokens** + +The following ``get-public-key`` example gets a public key specified by the provided ARN, for sigining stage participant tokens. :: + + aws ivs-realtime get-public-key \ + --arn arn:aws:ivs:us-west-2:123456789012:public-key/abcdABC1efg2 + +Output:: + + { + "publicKey": { + "arn": "arn:aws:ivs:us-west-2:123456789012:public-key/abcdABC1efg2", + "name": "", + "publicKeyMaterial": "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEqVWUtqs6EktQMR1sCYmEzGvRwtaycI16\n9pmzcpiWu/uhNStGlteJ5odRfRwVkoQUMnSZXTCcbn9bBTTmiWo4mJcFOOAzsthH\n0UAb8NdD4tUE0At4a9hYP9IETEXAMPLE\n-----END PUBLIC KEY-----", + "fingerprint": "12:a3:44:56:bc:7d:e8:9f:10:2g:34:hi:56:78:90:12", + "tags": {} + } + } + +For more information, see `Distribute Participant Tokens `__ in the *Amazon IVS Real-Time Streaming User Guide*. \ No newline at end of file diff --git a/awscli/examples/ivs-realtime/get-stage.rst b/awscli/examples/ivs-realtime/get-stage.rst index 72289f44ae8e..5aa92d4b1c2a 100644 --- a/awscli/examples/ivs-realtime/get-stage.rst +++ b/awscli/examples/ivs-realtime/get-stage.rst @@ -11,9 +11,19 @@ Output:: "stage": { "activeSessionId": "st-a1b2c3d4e5f6g", "arn": "arn:aws:ivs:us-west-2:123456789012:stage/abcdABCDefgh", + "autoParticipantRecordingConfiguration": { + "mediaTypes": [ + "AUDIO_VIDEO" + ], + "storageConfigurationArn": "arn:aws:ivs:us-west-2:123456789012:storage-configuration/abcdABCDefgh", + }, + "endpoints": { + "events": "wss://global.events.live-video.net", + "whip": "https://1a2b3c4d5e6f.global-bm.whip.live-video.net" + }, "name": "test", "tags": {} } } -For more information, see `Enabling Multiple Hosts on an Amazon IVS Stream `__ in the *Amazon Interactive Video Service User Guide*. \ No newline at end of file +For more information, see `Enabling Multiple Hosts on an Amazon IVS Stream `__ in the *Amazon Interactive Video Service User Guide*. \ No newline at end of file diff --git a/awscli/examples/ivs-realtime/import-public-key.rst b/awscli/examples/ivs-realtime/import-public-key.rst new file mode 100644 index 000000000000..ff6e78fee0ab --- /dev/null +++ b/awscli/examples/ivs-realtime/import-public-key.rst @@ -0,0 +1,20 @@ +**To import an existing public key to be used to sign stage participant tokens** + +The following ``import-public-key`` example imports a public key from a material file, to be used for sigining stage participant tokens. :: + + aws ivs-realtime import-public-key \ + --public-key-material="`cat public.pem`" + +Output:: + + { + "publicKey": { + "arn": "arn:aws:ivs:us-west-2:123456789012:public-key/abcdABC1efg2", + "name": "", + "publicKeyMaterial": "-----BEGIN PUBLIC KEY-----\nMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEqVWUtqs6EktQMR1sCYmEzGvRwtaycI16\n9pmzcpiWu/uhNStGlteJ5odRfRwVkoQUMnSZXTCcbn9bBTTmiWo4mJcFOOAzsthH\n0UAb8NdD4tUE0At4a9hYP9IETEXAMPLE\n-----END PUBLIC KEY-----", + "fingerprint": "12:a3:44:56:bc:7d:e8:9f:10:2g:34:hi:56:78:90:12", + "tags": {} + } + } + +For more information, see `Distribute Participant Tokens `__ in the *Amazon IVS Real-Time Streaming User Guide*. \ No newline at end of file diff --git a/awscli/examples/ivs-realtime/list-participants.rst b/awscli/examples/ivs-realtime/list-participants.rst index ddfefef98429..80cb7c8a21d2 100644 --- a/awscli/examples/ivs-realtime/list-participants.rst +++ b/awscli/examples/ivs-realtime/list-participants.rst @@ -14,10 +14,11 @@ Output:: "firstJoinTime": "2023-04-26T20:30:34+00:00", "participantId": "abCDEf12GHIj" "published": true, + "recordingState": "STOPPED", "state": "DISCONNECTED", "userId": "" } ] } -For more information, see `Enabling Multiple Hosts on an Amazon IVS Stream `__ in the *Amazon Interactive Video Service User Guide*. \ No newline at end of file +For more information, see `Enabling Multiple Hosts on an Amazon IVS Stream `__ in the *Amazon Interactive Video Service User Guide*. \ No newline at end of file diff --git a/awscli/examples/ivs-realtime/list-public-keys.rst b/awscli/examples/ivs-realtime/list-public-keys.rst new file mode 100644 index 000000000000..c2d45027e01a --- /dev/null +++ b/awscli/examples/ivs-realtime/list-public-keys.rst @@ -0,0 +1,24 @@ +**To list existing public keys available to sign stage participant tokens** + +The following ``list-public-keys`` example lists all public keys available for sigining stage participant tokens, in the AWS region where the API request is processed. :: + + aws ivs-realtime list-public-keys + +Output:: + + { + "publicKeys": [ + { + "arn": "arn:aws:ivs:us-west-2:123456789012:public-key/abcdABC1efg2", + "name": "", + "tags": {} + }, + { + "arn": "arn:aws:ivs:us-west-2:123456789012:public-key/3bcdABCDefg4", + "name": "", + "tags": {} + } + ] + } + +For more information, see `Distribute Participant Tokens `__ in the *Amazon IVS Real-Time Streaming User Guide*. \ No newline at end of file diff --git a/awscli/examples/ivs-realtime/update-stage.rst b/awscli/examples/ivs-realtime/update-stage.rst index 9ae116b18e91..f06f5d2ebc37 100644 --- a/awscli/examples/ivs-realtime/update-stage.rst +++ b/awscli/examples/ivs-realtime/update-stage.rst @@ -1,9 +1,10 @@ **To update a stage's configuration** -The following ``update-stage`` example updates a stage for a specified stage ARN to update the stage name. :: +The following ``update-stage`` example updates a stage for a specified stage ARN to update the stage name and configure individual participant recording. :: aws ivs-realtime update-stage \ --arn arn:aws:ivs:us-west-2:123456789012:stage/abcdABCDefgh \ + --auto-participant-recording-configuration '{"mediaTypes": ["AUDIO_VIDEO"],"storageConfigurationArn": "arn:aws:ivs:us-west-2:123456789012:storage-configuration/abcdABCDefgh"}' \ --name stage1a Output:: @@ -11,8 +12,19 @@ Output:: { "stage": { "arn": "arn:aws:ivs:us-west-2:123456789012:stage/abcdABCDefgh", - "name": "stage1a" + "autoParticipantRecordingConfiguration": { + "mediaTypes": [ + "AUDIO_VIDEO" + ], + "storageConfigurationArn": "arn:aws:ivs:us-west-2:123456789012:storage-configuration/abcdABCDefgh", + }, + "endpoints": { + "events": "wss://global.events.live-video.net", + "whip": "https://1a2b3c4d5e6f.global-bm.whip.live-video.net" + }, + "name": "stage1a", + "tags": {} } } -For more information, see `Enabling Multiple Hosts on an Amazon IVS Stream `__ in the *Amazon Interactive Video Service User Guide*. \ No newline at end of file +For more information, see `Enabling Multiple Hosts on an Amazon IVS Stream `__ in the *Amazon Interactive Video Service User Guide*. \ No newline at end of file diff --git a/awscli/examples/kms/derive-shared-secret.rst b/awscli/examples/kms/derive-shared-secret.rst new file mode 100644 index 000000000000..80f9ccc660be --- /dev/null +++ b/awscli/examples/kms/derive-shared-secret.rst @@ -0,0 +1,21 @@ +**To derive a shared secret** + +The following ``derive-shared-secret`` example derives a shared secret using a key agreement algorithm. + +You must use an asymmetric NIST-recommended elliptic curve (ECC) or SM2 (China Regions only) KMS key pair with a ``KeyUsage`` value of ``KEY_AGREEMENT`` to call DeriveSharedSecret. :: + + aws kms derive-shared-secret \ + --key-id 1234abcd-12ab-34cd-56ef-1234567890ab \ + --key-agreement-algorithm ECDH \ + --public-key "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvH3Yj0wbkLEpUl95Cv1cJVjsVNSjwGq3tCLnzXfhVwVvmzGN8pYj3U8nKwgouaHbBWNJYjP5VutbbkKS4Kv4GojwZBJyHN17kmxo8yTjRmjR15SKIQ8cqRA2uaERMLnpztIXdZp232PQPbWGxDyXYJ0aJ5EFSag" + +Output:: + + { + "KeyId": "1234abcd-12ab-34cd-56ef-1234567890ab", + "SharedSecret": "MEYCIQCKZLWyTk5runarx6XiAkU9gv3lbwPO/pHa+DXFehzdDwIhANwpsIV2g/9SPWLLsF6p/hiSskuIXMTRwqrMdVKWTMHG", + "KeyAgreementAlgorithm": "ECDH", + "KeyOrigin": "AWS_KMS" + } + +For more information, see `DeriveSharedSecret `__ in the *AWS Key Management Service API Reference*. \ No newline at end of file diff --git a/awscli/examples/secretsmanager/create-secret.rst b/awscli/examples/secretsmanager/create-secret.rst index 56465559a2cf..63447d9e32d6 100755 --- a/awscli/examples/secretsmanager/create-secret.rst +++ b/awscli/examples/secretsmanager/create-secret.rst @@ -1,23 +1,4 @@ -**Example 1: To create a secret** - -The following ``create-secret`` example creates a secret with two key-value pairs. :: - - aws secretsmanager create-secret \ - --name MyTestSecret \ - --description "My test secret created with the CLI." \ - --secret-string "{\"user\":\"diegor\",\"password\":\"EXAMPLE-PASSWORD\"}" - -Output:: - - { - "ARN": "arn:aws:secretsmanager:us-west-2:123456789012:secret:MyTestSecret-a1b2c3", - "Name": "MyTestSecret", - "VersionId": "EXAMPLE1-90ab-cdef-fedc-ba987EXAMPLE" - } - -For more information, see `Create a secret `__ in the *Secrets Manager User Guide*. - -**Example 2: To create a secret from credentials in a JSON file** +**Example 1: To create a secret from credentials in a JSON file** The following ``create-secret`` example creates a secret from credentials in a file. For more information, see `Loading AWS CLI parameters from a file `__ in the *AWS CLI User Guide*. :: @@ -44,4 +25,23 @@ Output:: "VersionId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111" } +For more information, see `Create a secret `__ in the *Secrets Manager User Guide*. + +**Example 2: To create a secret** + +The following ``create-secret`` example creates a secret with two key-value pairs. When you enter commands in a command shell, there is a risk of the command history being accessed or utilities having access to your command parameters. This is a concern if the command includes the value of a secret. For more information, see `Mitigate the risks of using command-line tools to store secrets `__ in the *Secrets Manager User Guide*. :: + + aws secretsmanager create-secret \ + --name MyTestSecret \ + --description "My test secret created with the CLI." \ + --secret-string "{\"user\":\"diegor\",\"password\":\"EXAMPLE-PASSWORD\"}" + +Output:: + + { + "ARN": "arn:aws:secretsmanager:us-west-2:123456789012:secret:MyTestSecret-a1b2c3", + "Name": "MyTestSecret", + "VersionId": "EXAMPLE1-90ab-cdef-fedc-ba987EXAMPLE" + } + For more information, see `Create a secret `__ in the *Secrets Manager User Guide*. \ No newline at end of file diff --git a/awscli/examples/securitylake/create-aws-logsource.rst b/awscli/examples/securitylake/create-aws-logsource.rst new file mode 100644 index 000000000000..5bf14da2ec88 --- /dev/null +++ b/awscli/examples/securitylake/create-aws-logsource.rst @@ -0,0 +1,16 @@ +**To add a natively supported Amazon Web Service as an Amazon Security Lake source** + +The following ``create-aws-logsource`` example adds VPC Flow Logs as a Security Lake source in the designated accounts and Regions. :: + + aws securitylake create-aws-log-source \ + --sources '[{"regions": ["us-east-1"], "accounts": ["123456789012"], "sourceName": "SH_FINDINGS", "sourceVersion": "2.0"}]' + +Output:: + + { + "failed": [ + "123456789012" + ] + } + +For more information, see `Adding an AWS service as a source `__ in the *Amazon Security Lake User Guide*. \ No newline at end of file diff --git a/awscli/examples/securitylake/create-custom-logsource.rst b/awscli/examples/securitylake/create-custom-logsource.rst new file mode 100644 index 000000000000..2e15b97bef2b --- /dev/null +++ b/awscli/examples/securitylake/create-custom-logsource.rst @@ -0,0 +1,28 @@ +**To add a custom source as an Amazon Security Lake source** + +The following ``create-custom-logsource`` example adds a custom source as a Security Lake source in the designated log provider account and the designated Region. :: + + aws securitylake create-custom-log-source \ + --source-name "VPC_FLOW" \ + --event-classes '["DNS_ACTIVITY", "NETWORK_ACTIVITY"]' \ + --configuration '{"crawlerConfiguration": {"roleArn": "arn:aws:glue:eu-west-2:123456789012:crawler/E1WG1ZNPRXT0D4"},"providerIdentity": {"principal": "029189416600","externalId": "123456789012"}}' --region "us-east-1" + +Output:: + + { + "customLogSource": { + "attributes": { + "crawlerArn": "arn:aws:glue:eu-west-2:123456789012:crawler/E1WG1ZNPRXT0D4", + "databaseArn": "arn:aws:glue:eu-west-2:123456789012:database/E1WG1ZNPRXT0D4", + "tableArn": "arn:aws:glue:eu-west-2:123456789012:table/E1WG1ZNPRXT0D4" + }, + "provider": { + "location": "DOC-EXAMPLE-BUCKET--usw2-az1--x-s3", + "roleArn": "arn:aws:iam::123456789012:role/AmazonSecurityLake-Provider-testCustom2-eu-west-2" + }, + "sourceName": "testCustom2" + "sourceVersion": "2.0" + } + } + +For more information, see `Adding a custom source `__ in the *Amazon Security Lake User Guide*. \ No newline at end of file diff --git a/awscli/examples/securitylake/create-data-lake-exception-subscription.rst b/awscli/examples/securitylake/create-data-lake-exception-subscription.rst new file mode 100644 index 000000000000..a08894ade3a0 --- /dev/null +++ b/awscli/examples/securitylake/create-data-lake-exception-subscription.rst @@ -0,0 +1,12 @@ +**To send notifications of Security Lake exceptions** + +The following ``create-data-lake-exception-subscription`` example sends notifications of Security Lake exceptions to the specified account through SMS delivery. The exception message remains for the specified time period. :: + + aws securitylake create-data-lake-exception-subscription \ + --notification-endpoint "123456789012" \ + --exception-time-to-live 30 \ + --subscription-protocol "sms" + +This command produces no output. + +For more information, see `Troubleshooting Amazon Security Lake `__ in the *Amazon Security Lake User Guide*. \ No newline at end of file diff --git a/awscli/examples/securitylake/create-data-lake-organization-configuration.rst b/awscli/examples/securitylake/create-data-lake-organization-configuration.rst new file mode 100644 index 000000000000..cc1629bb9fc5 --- /dev/null +++ b/awscli/examples/securitylake/create-data-lake-organization-configuration.rst @@ -0,0 +1,10 @@ +**To configure Security Lake in new organization accounts** + +The following ``create-data-lake-organization-configuration`` example enables Security Lake and the collection of the specified source events and logs in new organization accounts. :: + + aws securitylake create-data-lake-organization-configuration \ + --auto-enable-new-account '[{"region":"us-east-1","sources":[{"sourceName":"SH_FINDINGS","sourceVersion": "1.0"}]}]' + +This command produces no output. + +For more information, see `Managing multiple accounts with AWS Organizations `__ in the *Amazon Security Lake User Guide*. \ No newline at end of file diff --git a/awscli/examples/securitylake/create-data-lake.rst b/awscli/examples/securitylake/create-data-lake.rst new file mode 100644 index 000000000000..27e18643e3c1 --- /dev/null +++ b/awscli/examples/securitylake/create-data-lake.rst @@ -0,0 +1,126 @@ +**Example 1: To configure your data lake in multiple Regions** + +The following ``create-data-lake`` example enables Amazon Security Lake in multiple AWS Regions and configures your data lake. :: + + aws securitylake create-data-lake \ + --configurations '[{"encryptionConfiguration": {"kmsKeyId":"S3_MANAGED_KEY"},"region":"us-east-1","lifecycleConfiguration": {"expiration":{"days":365},"transitions":[{"days":60,"storageClass":"ONEZONE_IA"}]}}, {"encryptionConfiguration": {"kmsKeyId":"S3_MANAGED_KEY"},"region":"us-east-2","lifecycleConfiguration": {"expiration":{"days":365},"transitions":[{"days":60,"storageClass":"ONEZONE_IA"}]}}]' \ + --meta-store-manager-role-arn "arn:aws:iam:us-east-1:123456789012:role/service-role/AmazonSecurityLakeMetaStoreManager" + +Output:: + + { + "dataLakes": [ + { + "createStatus": "COMPLETED", + "dataLakeArn": "arn:aws:securitylake:us-east-1:522481757177:data-lake/default", + "encryptionConfiguration": { + "kmsKeyId": "S3_MANAGED_KEY" + }, + "lifecycleConfiguration": { + "expiration": { + "days": 365 + }, + "transitions": [ + { + "days": 60, + "storageClass": "ONEZONE_IA" + } + ] + }, + "region": "us-east-1", + "replicationConfiguration": { + "regions": [ + "ap-northeast-3" + ], + "roleArn": "arn:aws:securitylake:ap-northeast-3:522481757177:data-lake/default" + }, + "s3BucketArn": "arn:aws:s3:::aws-security-data-lake-us-east-1-gnevt6s8z7bzby8oi3uiaysbr8v2ml", + "updateStatus": { + "exception": {}, + "requestId": "f20a6450-d24a-4f87-a6be-1d4c075a59c2", + "status": "INITIALIZED" + } + }, + { + "createStatus": "COMPLETED", + "dataLakeArn": "arn:aws:securitylake:us-east-2:522481757177:data-lake/default", + "encryptionConfiguration": { + "kmsKeyId": "S3_MANAGED_KEY" + }, + "lifecycleConfiguration": { + "expiration": { + "days": 365 + }, + "transitions": [ + { + "days": 60, + "storageClass": "ONEZONE_IA" + } + ] + }, + "region": "us-east-2", + "replicationConfiguration": { + "regions": [ + "ap-northeast-3" + ], + "roleArn": "arn:aws:securitylake:ap-northeast-3:522481757177:data-lake/default" + }, + "s3BucketArn": "arn:aws:s3:::aws-security-data-lake-us-east-2-cehuifzl5rwmhm6m62h7zhvtseogr9", + "updateStatus": { + "exception": {}, + "requestId": "f20a6450-d24a-4f87-a6be-1d4c075a59c2", + "status": "INITIALIZED" + } + } + ] + } + +For more information, see `Getting started with Amazon Security Lake `__ in the *Amazon Security Lake User Guide*. + +**Example 2: To configure your data lake in a single Region** + +The following ``create-data-lake`` example enables Amazon Security Lake in a single AWS Region and configures your data lake. :: + + aws securitylake create-data-lake \ + --configurations '[{"encryptionConfiguration": {"kmsKeyId":"1234abcd-12ab-34cd-56ef-1234567890ab"},"region":"us-east-2","lifecycleConfiguration": {"expiration":{"days":500},"transitions":[{"days":30,"storageClass":"GLACIER"}]}}]' \ + --meta-store-manager-role-arn "arn:aws:iam:us-east-1:123456789012:role/service-role/AmazonSecurityLakeMetaStoreManager" + +Output:: + + { + "dataLakes": [ + { + "createStatus": "COMPLETED", + "dataLakeArn": "arn:aws:securitylake:us-east-2:522481757177:data-lake/default", + "encryptionConfiguration": { + "kmsKeyId": "1234abcd-12ab-34cd-56ef-1234567890ab" + }, + "lifecycleConfiguration": { + "expiration": { + "days": 500 + }, + "transitions": [ + { + "days": 30, + "storageClass": "GLACIER" + } + ] + }, + "region": "us-east-2", + "replicationConfiguration": { + "regions": [ + "ap-northeast-3" + ], + "roleArn": "arn:aws:securitylake:ap-northeast-3:522481757177:data-lake/default" + }, + "s3BucketArn": "arn:aws:s3:::aws-security-data-lake-us-east-2-cehuifzl5rwmhm6m62h7zhvtseogr9", + "updateStatus": { + "exception": {}, + "requestId": "77702a53-dcbf-493e-b8ef-518e362f3003", + "status": "INITIALIZED" + } + } + ] + } + +For more information, see `Getting started with Amazon Security Lake `__ in the *Amazon Security Lake User Guide*. \ No newline at end of file diff --git a/awscli/examples/securitylake/create-subscriber-data-access.rst b/awscli/examples/securitylake/create-subscriber-data-access.rst new file mode 100644 index 000000000000..6ee467ea17a9 --- /dev/null +++ b/awscli/examples/securitylake/create-subscriber-data-access.rst @@ -0,0 +1,41 @@ +**To create a subscriber with data access** + +The following ``create-subscriber`` example creates a subscriber in Security Lake with access to data in the current AWS Region for the specified subscriber identity for an AWS source. :: + + aws securitylake create-subscriber \ + --access-types "S3" \ + --sources '[{"awsLogSource": {"sourceName": "VPC_FLOW","sourceVersion": "2.0"}}]' \ + --subscriber-name "opensearch-s3" \ + --subscriber-identity '{"principal": "029189416600","externalId": "123456789012"}' + +Output:: + + { + "subscriber": { + "accessTypes": [ + "S3" + ], + "createdAt": "2024-07-17T19:08:26.787000+00:00", + "roleArn": "arn:aws:iam::773172568199:role/AmazonSecurityLake-896f218b-cfba-40be-a255-8b49a65d0407", + "s3BucketArn": "arn:aws:s3:::aws-security-data-lake-us-east-1-um632ufwpvxkyz0bc5hkb64atycnf3", + "sources": [ + { + "awsLogSource": { + "sourceName": "VPC_FLOW", + "sourceVersion": "2.0" + } + } + ], + "subscriberArn": "arn:aws:securitylake:us-east-1:773172568199:subscriber/896f218b-cfba-40be-a255-8b49a65d0407", + "subscriberId": "896f218b-cfba-40be-a255-8b49a65d0407", + "subscriberIdentity": { + "externalId": "123456789012", + "principal": "029189416600" + }, + "subscriberName": "opensearch-s3", + "subscriberStatus": "ACTIVE", + "updatedAt": "2024-07-17T19:08:27.133000+00:00" + } + } + +For more information, see `Creating a subscriber with data access `__ in the *Amazon Security Lake User Guide*. \ No newline at end of file diff --git a/awscli/examples/securitylake/create-subscriber-notification.rst b/awscli/examples/securitylake/create-subscriber-notification.rst new file mode 100644 index 000000000000..bdb701b9f9d2 --- /dev/null +++ b/awscli/examples/securitylake/create-subscriber-notification.rst @@ -0,0 +1,17 @@ +**To create a subscriber notification** + +The following ``create-subscriber-notification`` example shows how to specify subscriber notification to create a notification when new data is written to the data lake. :: + + aws securitylake create-subscriber-notification \ + --subscriber-id "12345ab8-1a34-1c34-1bd4-12345ab9012" \ + --configuration '{"httpsNotificationConfiguration": {"targetRoleArn":"arn:aws:iam::XXX:role/service-role/RoleName", "endpoint":"https://account-management.$3.$2.securitylake.aws.dev/v1/datalake"}}' + +Output:: + + { + "subscriberEndpoint": [ + "https://account-management.$3.$2.securitylake.aws.dev/v1/datalake" + ] + } + +For more information, see `Subscriber management `__ in the *Amazon Security Lake User Guide*. \ No newline at end of file diff --git a/awscli/examples/securitylake/create-subscriber-query-access.rst b/awscli/examples/securitylake/create-subscriber-query-access.rst new file mode 100644 index 000000000000..6fa3e93ae127 --- /dev/null +++ b/awscli/examples/securitylake/create-subscriber-query-access.rst @@ -0,0 +1,41 @@ +**To create a subscriber with query access** + +The following ``create-subscriber`` example creates a subscriber in Security Lake with query access in the current AWS Region for the specified subscriber identity. :: + + aws securitylake create-subscriber \ + --access-types "LAKEFORMATION" \ + --sources '[{"awsLogSource": {"sourceName": "VPC_FLOW","sourceVersion": "2.0"}}]' \ + --subscriber-name "opensearch-s3" \ + --subscriber-identity '{"principal": "029189416600","externalId": "123456789012"}' + +Output:: + + { + "subscriber": { + "accessTypes": [ + "LAKEFORMATION" + ], + "createdAt": "2024-07-18T01:05:55.853000+00:00", + "resourceShareArn": "arn:aws:ram:us-east-1:123456789012:resource-share/8c31da49-c224-4f1e-bb12-37ab756d6d8a", + "resourceShareName": "LakeFormation-V2-NAMENAMENA-123456789012", + "sources": [ + { + "awsLogSource": { + "sourceName": "VPC_FLOW", + "sourceVersion": "2.0" + } + } + ], + "subscriberArn": "arn:aws:securitylake:us-east-1:123456789012:subscriber/e762aabb-ce3d-4585-beab-63474597845d", + "subscriberId": "e762aabb-ce3d-4585-beab-63474597845d", + "subscriberIdentity": { + "externalId": "123456789012", + "principal": "029189416600" + }, + "subscriberName": "opensearch-s3", + "subscriberStatus": "ACTIVE", + "updatedAt": "2024-07-18T01:05:58.393000+00:00" + } + } + +For more information, see `Creating a subscriber with query access `__ in the *Amazon Security Lake User Guide*. \ No newline at end of file diff --git a/awscli/examples/securitylake/delete-aws-logsource.rst b/awscli/examples/securitylake/delete-aws-logsource.rst new file mode 100644 index 000000000000..5d99d761d0c3 --- /dev/null +++ b/awscli/examples/securitylake/delete-aws-logsource.rst @@ -0,0 +1,16 @@ +**To remove a natively-supported AWS service.** + +The following ``delete-aws-logsource`` example deletes VPC Flow Logs as a Security Lake source in the designated accounts and Regions. :: + + aws securitylake delete-aws-log-source \ + --sources '[{"regions": ["us-east-1"], "accounts": ["123456789012"], "sourceName": "SH_FINDINGS", "sourceVersion": "2.0"}]' + +Output:: + + { + "failed": [ + "123456789012" + ] + } + +For more information, see `Removing an AWS service as a source `__ in the *Amazon Security Lake User Guide*. \ No newline at end of file diff --git a/awscli/examples/securitylake/delete-custom-logsource.rst b/awscli/examples/securitylake/delete-custom-logsource.rst new file mode 100644 index 000000000000..41aeb46b9ad0 --- /dev/null +++ b/awscli/examples/securitylake/delete-custom-logsource.rst @@ -0,0 +1,10 @@ +**To remove a custom source.** + +The following ``delete-custom-logsource`` example deletes a custom source in the designated log provider account in the designated Region. :: + + aws securitylake delete-custom-log-source \ + --source-name "CustomSourceName" + +This command produces no output. + +For more information, see `Deleting a custom source `__ in the *Amazon Security Lake User Guide*. \ No newline at end of file diff --git a/awscli/examples/securitylake/delete-data-lake-organization-configuration.rst b/awscli/examples/securitylake/delete-data-lake-organization-configuration.rst new file mode 100644 index 000000000000..9118049d528c --- /dev/null +++ b/awscli/examples/securitylake/delete-data-lake-organization-configuration.rst @@ -0,0 +1,10 @@ +**To stop automatic source collection in member accounts** + +The following ``delete-data-lake-organization-configuration`` example stops the automatic collection of AWS Security Hub findings from new member accounts that join the organization. Only the delegated Security Lake administrator can run this command. It prevents new member accounts from automatically contributing data to the data lake. :: + + aws securitylake delete-data-lake-organization-configuration \ + --auto-enable-new-account '[{"region":"us-east-1","sources":[{"sourceName":"SH_FINDINGS"}]}]' + +This command produces no output. + +For more information, see `Managing multiple accounts with AWS Organizations `__ in the *Amazon Security Lake User Guide*. diff --git a/awscli/examples/securitylake/delete-data-lake.rst b/awscli/examples/securitylake/delete-data-lake.rst new file mode 100644 index 000000000000..e8d3a6baef18 --- /dev/null +++ b/awscli/examples/securitylake/delete-data-lake.rst @@ -0,0 +1,10 @@ +**To disable your data lake** + +The following ``delete-data-lake`` example disables your data lake in the specified AWS Regions. In the specified Regions, sources no longer contribute data to the data lake. For a Security Lake deployment utilizing AWS Organizations, only the delegated Security Lake administrator for the organization can disable Security Lake for accounts in the organization. :: + + aws securitylake delete-data-lake \ + --regions "ap-northeast-1" "eu-central-1" + +This command produces no output. + +For more information, see `Disabling Amazon Security Lake `__ in the *Amazon Security Lake User Guide*. diff --git a/awscli/examples/securitylake/delete-subscriber-notification.rst b/awscli/examples/securitylake/delete-subscriber-notification.rst new file mode 100644 index 000000000000..dd98ca339058 --- /dev/null +++ b/awscli/examples/securitylake/delete-subscriber-notification.rst @@ -0,0 +1,10 @@ +**To delete a subscriber notification** + +The following ``delete-subscriber-notification`` example shows how to delete the subscriber notification for specific Security Lake subscriber. :: + + aws securitylake delete-subscriber-notification \ + --subscriber-id "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111" + +This command produces no output. + +For more information, see `Subscriber management `__ in the *Amazon Security Lake User Guide*. \ No newline at end of file diff --git a/awscli/examples/securitylake/delete-subscriber.rst b/awscli/examples/securitylake/delete-subscriber.rst new file mode 100644 index 000000000000..d5839d72ae93 --- /dev/null +++ b/awscli/examples/securitylake/delete-subscriber.rst @@ -0,0 +1,10 @@ +**To delete a subscriber** + +The following ``delete-subscriber`` example shows how to remove a subscriber if you no longer want a subscriber to consume data from Security Lake. :: + + aws securitylake delete-subscriber \ + --subscriber-id "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111" + +This command produces no output. + +For more information, see `Subscriber management `__ in the *Amazon Security Lake User Guide*. \ No newline at end of file diff --git a/awscli/examples/securitylake/get-data-lake-exception-subscription.rst b/awscli/examples/securitylake/get-data-lake-exception-subscription.rst new file mode 100644 index 000000000000..4835bae5ba48 --- /dev/null +++ b/awscli/examples/securitylake/get-data-lake-exception-subscription.rst @@ -0,0 +1,15 @@ +**To get details about an exception subscription** + +The following ``get-data-lake-exception-subscription`` example provides details about a Security Lake exception subscription. In this example, the user of the specified AWS account is notified of errors through SMS delivery. The exception message remains in the account for the specified time period. An exception subscription notifies a Security Lake user about an error through the requester's preferred protocol. :: + + aws securitylake get-data-lake-exception-subscription + +Output:: + + { + "exceptionTimeToLive": 30, + "notificationEndpoint": "123456789012", + "subscriptionProtocol": "sms" + } + +For more information, see `Troubleshooting data lake status `__ in the *Amazon Security Lake User Guide*. \ No newline at end of file diff --git a/awscli/examples/securitylake/get-data-lake-organization-configuration.rst b/awscli/examples/securitylake/get-data-lake-organization-configuration.rst new file mode 100644 index 000000000000..3e9d9029fb98 --- /dev/null +++ b/awscli/examples/securitylake/get-data-lake-organization-configuration.rst @@ -0,0 +1,31 @@ +**To get details about the configuration for new organization accounts** + +The following ``get-data-lake-organization-configuration`` example retrieves details about the source logs that new organization accounts will send after onboarding to Amazon Security Lake. :: + + aws securitylake get-data-lake-organization-configuration + +Output:: + + { + "autoEnableNewAccount": [ + { + "region": "us-east-1", + "sources": [ + { + "sourceName": "VPC_FLOW", + "sourceVersion": "1.0" + }, + { + "sourceName": "ROUTE53", + "sourceVersion": "1.0" + }, + { + "sourceName": "SH_FINDINGS", + "sourceVersion": "1.0" + } + ] + } + ] + } + +For more information, see `Managing multiple accounts with AWS Organizations `__ in the *Amazon Security Lake User Guide*. diff --git a/awscli/examples/securitylake/get-data-lake-sources.rst b/awscli/examples/securitylake/get-data-lake-sources.rst new file mode 100644 index 000000000000..9054de8a432a --- /dev/null +++ b/awscli/examples/securitylake/get-data-lake-sources.rst @@ -0,0 +1,66 @@ +**To get the status of log collection** + +The following ``get-data-lake-sources`` example gets a snapshot of log collection for the specified account in the current AWS Region. The account has Amazon Security Lake enabled. :: + + aws securitylake get-data-lake-sources \ + --accounts "123456789012" + +Output:: + + { + "dataLakeSources": [ + { + "account": "123456789012", + "sourceName": "SH_FINDINGS", + "sourceStatuses": [ + { + "resource": "vpc-1234567890abcdef0", + "status": "COLLECTING" + } + ] + }, + { + "account": "123456789012", + "sourceName": "VPC_FLOW", + "sourceStatuses": [ + { + "resource": "vpc-1234567890abcdef0", + "status": "NOT_COLLECTING" + } + ] + }, + { + "account": "123456789012", + "sourceName": "LAMBDA_EXECUTION", + "sourceStatuses": [ + { + "resource": "vpc-1234567890abcdef0", + "status": "COLLECTING" + } + ] + }, + { + "account": "123456789012", + "sourceName": "ROUTE53", + "sourceStatuses": [ + { + "resource": "vpc-1234567890abcdef0", + "status": "COLLECTING" + } + ] + }, + { + "account": "123456789012", + "sourceName": "CLOUD_TRAIL_MGMT", + "sourceStatuses": [ + { + "resource": "vpc-1234567890abcdef0", + "status": "COLLECTING" + } + ] + } + ], + "dataLakeArn": null + } + +For more information, see `Collecting data from AWS services `__ in the *Amazon Security Lake User Guide*. diff --git a/awscli/examples/securitylake/get-subscriber.rst b/awscli/examples/securitylake/get-subscriber.rst new file mode 100644 index 000000000000..2770a895da9c --- /dev/null +++ b/awscli/examples/securitylake/get-subscriber.rst @@ -0,0 +1,90 @@ +**To retrieve the subscription information** + +The following ``get-subscriber`` example retrieves the subscription information for the specified Securiy Lake subscriber. :: + + aws securitylake get-subscriber \ + --subscriber-id a1b2c3d4-5678-90ab-cdef-EXAMPLE11111 + +Output:: + + { + "subscriber": { + "accessTypes": [ + "LAKEFORMATION" + ], + "createdAt": "2024-04-19T15:19:44.421803+00:00", + "resourceShareArn": "arn:aws:ram:eu-west-2:123456789012:resource-share/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111", + "resourceShareName": "LakeFormation-V3-TKJGBHCKTZ-123456789012", + "sources": [ + { + "awsLogSource": { + "sourceName": "LAMBDA_EXECUTION", + "sourceVersion": "1.0" + } + }, + { + "awsLogSource": { + "sourceName": "EKS_AUDIT", + "sourceVersion": "2.0" + } + }, + { + "awsLogSource": { + "sourceName": "ROUTE53", + "sourceVersion": "1.0" + } + }, + { + "awsLogSource": { + "sourceName": "SH_FINDINGS", + "sourceVersion": "1.0" + } + }, + { + "awsLogSource": { + "sourceName": "VPC_FLOW", + "sourceVersion": "1.0" + } + }, + { + "customLogSource": { + "attributes": { + "crawlerArn": "arn:aws:glue:eu-west-2:123456789012:crawler/testCustom2", + "databaseArn": "arn:aws:glue:eu-west-2:123456789012:database/amazon_security_lake_glue_db_eu_west_2", + "tableArn": "arn:aws:glue:eu-west-2:123456789012:table/amazon_security_lake_table_eu_west_2_ext_testcustom2" + }, + "provider": { + "location": "s3://aws-security-data-lake-eu-west-2-8ugsus4ztnsfpjbldwbgf4vge98av9/ext/testCustom2/", + "roleArn": "arn:aws:iam::123456789012:role/AmazonSecurityLake-Provider-testCustom2-eu-west-2" + }, + "sourceName": "testCustom2" + } + }, + { + "customLogSource": { + "attributes": { + "crawlerArn": "arn:aws:glue:eu-west-2:123456789012:crawler/TestCustom", + "databaseArn": "arn:aws:glue:eu-west-2:123456789012:database/amazon_security_lake_glue_db_eu_west_2", + "tableArn": "arn:aws:glue:eu-west-2:123456789012:table/amazon_security_lake_table_eu_west_2_ext_testcustom" + }, + "provider": { + "location": "s3://aws-security-data-lake-eu-west-2-8ugsus4ztnsfpjbldwbgf4vge98av9/ext/TestCustom/", + "roleArn": "arn:aws:iam::123456789012:role/AmazonSecurityLake-Provider-TestCustom-eu-west-2" + }, + "sourceName": "TestCustom" + } + } + ], + "subscriberArn": "arn:aws:securitylake:eu-west-2:123456789012:subscriber/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111", + "subscriberId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111", + "subscriberIdentity": { + "externalId": "123456789012", + "principal": "123456789012" + }, + "subscriberName": "test", + "subscriberStatus": "ACTIVE", + "updatedAt": "2024-04-19T15:19:55.230588+00:00" + } + } + +For more information, see `Subscriber management `__ in the *Amazon Security Lake User Guide*. \ No newline at end of file diff --git a/awscli/examples/securitylake/list-data-lake-exceptions.rst b/awscli/examples/securitylake/list-data-lake-exceptions.rst new file mode 100644 index 000000000000..4b9f7d21adc4 --- /dev/null +++ b/awscli/examples/securitylake/list-data-lake-exceptions.rst @@ -0,0 +1,25 @@ +**To list the issues affecting your data lake** + +The following ``list-data-lake-exceptions`` example lists the issues that are affecting your data lake in the last 14 days in the specified AWS Regions. :: + + aws securitylake list-data-lake-exceptions \ + --regions "us-east-1" "eu-west-3" + +Output:: + + { + "exceptions": [ + { + "exception": "The account does not have the required role permissions. Update your role permissions to use the new data source version.", + "region": "us-east-1", + "timestamp": "2024-02-29T12:24:15.641725+00:00" + }, + { + "exception": "The account does not have the required role permissions. Update your role permissions to use the new data source version.", + "region": "eu-west-3", + "timestamp": "2024-02-29T12:24:15.641725+00:00" + } + ] + } + +For more information, see `Troubleshooting Amazon Security Lake `__ in the *Amazon Security Lake User Guide*. diff --git a/awscli/examples/securitylake/list-data-lakes.rst b/awscli/examples/securitylake/list-data-lakes.rst new file mode 100644 index 000000000000..4f9a200a27ab --- /dev/null +++ b/awscli/examples/securitylake/list-data-lakes.rst @@ -0,0 +1,49 @@ +**To list the Security Lake configuration object** + +The following ``list-data-lakes`` example lists the Amazon Security Lake configuration object for the specified AWS Region. You can use this command to determine whether Security Lake is enabled in a specified Region or Regions. :: + + aws securitylake list-data-lakes \ + --regions "us-east-1" + +Output:: + + { + "dataLakes": [ + { + "createStatus": "COMPLETED", + "dataLakeArn": "arn:aws:securitylake:us-east-1:123456789012:data-lake/default", + "encryptionConfiguration": { + "kmsKeyId": "S3_MANAGED_KEY" + }, + "lifecycleConfiguration": { + "expiration": { + "days": 365 + }, + "transitions": [ + { + "days": 60, + "storageClass": "ONEZONE_IA" + } + ] + }, + "region": "us-east-1", + "replicationConfiguration": { + "regions": [ + "ap-northeast-3" + ], + "roleArn": "arn:aws:securitylake:ap-northeast-3:123456789012:data-lake/default" + }, + "s3BucketArn": "arn:aws:s3:::aws-security-data-lake-us-east-1-1234567890abcdef0", + "updateStatus": { + "exception": { + "code": "software.amazon.awssdk.services.s3.model.S3Exception", + "reason": "" + }, + "requestId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111", + "status": "FAILED" + } + } + ] + } + +For more information, see `Checking Region status `__ in the *Amazon Security Lake User Guide*. diff --git a/awscli/examples/securitylake/list-log-sources.rst b/awscli/examples/securitylake/list-log-sources.rst new file mode 100644 index 000000000000..3875ad94dd96 --- /dev/null +++ b/awscli/examples/securitylake/list-log-sources.rst @@ -0,0 +1,29 @@ +**To retrieve the Amazon Security Lake log sources** + +The following ``list-log-sources`` example lists the Amazon Security Lake log sources in a specified account. :: + + aws securitylake list-log-sources \ + --accounts "123456789012" + +Output:: + + { + "account": "123456789012", + "region": "xy-region-1", + "sources": [ + { + "awsLogSource": { + "sourceName": "VPC_FLOW", + "sourceVersion": "2.0" + } + }, + { + "awsLogSource": { + "sourceName": "SH_FINDINGS", + "sourceVersion": "2.0" + } + } + ] + } + +For more information, see `Source management `__ in the *Amazon Security Lake User Guide*. \ No newline at end of file diff --git a/awscli/examples/securitylake/list-subscribers.rst b/awscli/examples/securitylake/list-subscribers.rst new file mode 100644 index 000000000000..a320af556095 --- /dev/null +++ b/awscli/examples/securitylake/list-subscribers.rst @@ -0,0 +1,60 @@ +**To retrieve the Amazon Security Lake subscribers** + +The following ``list-subscribers`` example lists all the Amazon Security Lake subscribers in a specific account. :: + + aws securitylake list-subscribers + +Output:: + + { + "subscribers": [ + { + "accessTypes": [ + "S3" + ], + "createdAt": "2024-06-04T15:02:28.921000+00:00", + "roleArn": "arn:aws:iam::123456789012:role/AmazonSecurityLake-E1WG1ZNPRXT0D4", + "s3BucketArn": "DOC-EXAMPLE-BUCKET--usw2-az1--x-s3", + "sources": [ + { + "awsLogSource": { + "sourceName": "CLOUD_TRAIL_MGMT", + "sourceVersion": "2.0" + } + }, + { + "awsLogSource": { + "sourceName": "LAMBDA_EXECUTION", + "sourceVersion": "1.0" + } + }, + { + "customLogSource": { + "attributes": { + "crawlerArn": "arn:aws:glue:eu-west-2:123456789012:crawler/E1WG1ZNPRXT0D4", + "databaseArn": "arn:aws:glue:eu-west-2:123456789012:database/E1WG1ZNPRXT0D4", + "tableArn": "arn:aws:glue:eu-west-2:123456789012:table/E1WG1ZNPRXT0D4" + }, + "provider": { + "location": "DOC-EXAMPLE-BUCKET--usw2-az1--x-s3", + "roleArn": "arn:aws:iam::123456789012:role/AmazonSecurityLake-E1WG1ZNPRXT0D4" + }, + "sourceName": "testCustom2" + } + } + ], + "subscriberArn": "arn:aws:securitylake:eu-west-2:123456789012:subscriber/E1WG1ZNPRXT0D4", + "subscriberEndpoint": "arn:aws:sqs:eu-west-2:123456789012:AmazonSecurityLake-a1b2c3d4-5678-90ab-cdef-EXAMPLE11111-Main-Queue", + "subscriberId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111", + "subscriberIdentity": { + "externalId": "ext123456789012", + "principal": "123456789012" + }, + "subscriberName": "Test", + "subscriberStatus": "ACTIVE", + "updatedAt": "2024-06-04T15:02:35.617000+00:00" + } + ] + } + +For more information, see `Subscriber management `__ in the *Amazon Security Lake User Guide*. \ No newline at end of file diff --git a/awscli/examples/securitylake/list-tags-for-resource.rst b/awscli/examples/securitylake/list-tags-for-resource.rst new file mode 100644 index 000000000000..91382761d590 --- /dev/null +++ b/awscli/examples/securitylake/list-tags-for-resource.rst @@ -0,0 +1,27 @@ +**To list tags for an existing resource** + +The following ``list-tags-for-resource`` example lists tags for the specified Amazon Security Lake subscriber. In this example, the Owner tag key doesn't have an associated tag value. You can use this operation to list tags for other existing Security Lake resources as well. :: + + aws securitylake list-tags-for-resource \ + --resource-arn "arn:aws:securitylake:us-east-1:123456789012:subscriber/1234abcd-12ab-34cd-56ef-1234567890ab" + +Output:: + + { + "tags": [ + { + "key": "Environment", + "value": "Cloud" + }, + { + "key": "CostCenter", + "value": "12345" + }, + { + "key": "Owner", + "value": "" + } + ] + } + +For more information, see `Tagging Amazon Security Lake resources `__ in the *Amazon Security Lake User Guide*. diff --git a/awscli/examples/securitylake/register-data-lake-delegated-administrator.rst b/awscli/examples/securitylake/register-data-lake-delegated-administrator.rst new file mode 100644 index 000000000000..be008ea565f0 --- /dev/null +++ b/awscli/examples/securitylake/register-data-lake-delegated-administrator.rst @@ -0,0 +1,10 @@ +**To designate the delegated administratore** + +The following ``register-data-lake-delegated-administrator`` example designates the specified AWS account as the delegated Amazon Security Lake administrator. :: + + aws securitylake register-data-lake-delegated-administrator \ + --account-id 123456789012 + +This command produces no output. + +For more information, see `Managing multiple accounts with AWS Organizations `__ in the *Amazon Security Lake User Guide*. diff --git a/awscli/examples/securitylake/tag-resource.rst b/awscli/examples/securitylake/tag-resource.rst new file mode 100644 index 000000000000..5512262112ad --- /dev/null +++ b/awscli/examples/securitylake/tag-resource.rst @@ -0,0 +1,11 @@ +**To add tags to an existing resource** + +The following ``tag-resource`` example add tags to an existing subscriber resource. To create a new resource and add one or more tags to it, don't use this operation. Instead, use the appropriate Create operation for the the type of resource that you want to create. :: + + aws securitylake tag-resource \ + --resource-arn "arn:aws:securitylake:us-east-1:123456789012:subscriber/1234abcd-12ab-34cd-56ef-1234567890ab" \ + --tags key=Environment,value=Cloud + +This command produces no output. + +For more information, see `Tagging Amazon Security Lake resources `__ in the *Amazon Security Lake User Guide*. diff --git a/awscli/examples/securitylake/untag-resource.rst b/awscli/examples/securitylake/untag-resource.rst new file mode 100644 index 000000000000..15d3bab171ed --- /dev/null +++ b/awscli/examples/securitylake/untag-resource.rst @@ -0,0 +1,11 @@ +**To remove tags from an existing resource** + +The following ``untag-resource`` example removes the specified tags from an existing subscriber resource. :: + + aws securitylake untag-resource \ + --resource-arn "arn:aws:securitylake:us-east-1:123456789012:subscriber/1234abcd-12ab-34cd-56ef-1234567890ab" \ + --tags Environment Owner + +This command produces no output. + +For more information, see `Tagging Amazon Security Lake resources `__ in the *Amazon Security Lake User Guide*. diff --git a/awscli/examples/securitylake/update-data-lake-exception-subscription.rst b/awscli/examples/securitylake/update-data-lake-exception-subscription.rst new file mode 100644 index 000000000000..0070f99edcb9 --- /dev/null +++ b/awscli/examples/securitylake/update-data-lake-exception-subscription.rst @@ -0,0 +1,12 @@ +**To update notification subscription for Security Lake exceptions** + +The following ``update-data-lake-exception-subscription`` example updates the notification subscription that notifies users of Security Lake exceptions. :: + + aws securitylake update-data-lake-exception-subscription \ + --notification-endpoint "123456789012" \ + --exception-time-to-live 30 \ + --subscription-protocol "email" + +This command produces no output. + +For more information, see `Troubleshooting Amazon Security Lake `__ in the *Amazon Security Lake User Guide*. \ No newline at end of file diff --git a/awscli/examples/securitylake/update-data-lake.rst b/awscli/examples/securitylake/update-data-lake.rst new file mode 100644 index 000000000000..209541e0c643 --- /dev/null +++ b/awscli/examples/securitylake/update-data-lake.rst @@ -0,0 +1,126 @@ +**Example 1: To update your data lake settings** + +The following ``update-data-lake`` example updates the settings of your Amazon Security Lake data lake. You can use this operation to specify data encryption, storage, and rollup Region settings. :: + + aws securitylake update-data-lake \ + --configurations '[{"encryptionConfiguration": {"kmsKeyId":"S3_MANAGED_KEY"},"region":"us-east-1","lifecycleConfiguration": {"expiration":{"days":365},"transitions":[{"days":60,"storageClass":"ONEZONE_IA"}]}}, {"encryptionConfiguration": {"kmsKeyId":"S3_MANAGED_KEY"},"region":"us-east-2","lifecycleConfiguration": {"expiration":{"days":365},"transitions":[{"days":60,"storageClass":"ONEZONE_IA"}]}}]' \ + --meta-store-manager-role-arn "arn:aws:iam:us-east-1:123456789012:role/service-role/AmazonSecurityLakeMetaStoreManager" + +Output:: + + { + "dataLakes": [ + { + "createStatus": "COMPLETED", + "dataLakeArn": "arn:aws:securitylake:us-east-1:522481757177:data-lake/default", + "encryptionConfiguration": { + "kmsKeyId": "S3_MANAGED_KEY" + }, + "lifecycleConfiguration": { + "expiration": { + "days": 365 + }, + "transitions": [ + { + "days": 60, + "storageClass": "ONEZONE_IA" + } + ] + }, + "region": "us-east-1", + "replicationConfiguration": { + "regions": [ + "ap-northeast-3" + ], + "roleArn": "arn:aws:securitylake:ap-northeast-3:522481757177:data-lake/default" + }, + "s3BucketArn": "arn:aws:s3:::aws-security-data-lake-us-east-1-gnevt6s8z7bzby8oi3uiaysbr8v2ml", + "updateStatus": { + "exception": {}, + "requestId": "f20a6450-d24a-4f87-a6be-1d4c075a59c2", + "status": "INITIALIZED" + } + }, + { + "createStatus": "COMPLETED", + "dataLakeArn": "arn:aws:securitylake:us-east-2:522481757177:data-lake/default", + "encryptionConfiguration": { + "kmsKeyId": "S3_MANAGED_KEY" + }, + "lifecycleConfiguration": { + "expiration": { + "days": 365 + }, + "transitions": [ + { + "days": 60, + "storageClass": "ONEZONE_IA" + } + ] + }, + "region": "us-east-2", + "replicationConfiguration": { + "regions": [ + "ap-northeast-3" + ], + "roleArn": "arn:aws:securitylake:ap-northeast-3:522481757177:data-lake/default" + }, + "s3BucketArn": "arn:aws:s3:::aws-security-data-lake-us-east-2-cehuifzl5rwmhm6m62h7zhvtseogr9", + "updateStatus": { + "exception": {}, + "requestId": "f20a6450-d24a-4f87-a6be-1d4c075a59c2", + "status": "INITIALIZED" + } + } + ] + } + +For more information, see `Getting started with Amazon Security Lake `__ in the *Amazon Security Lake User Guide*. + +**Example 2: To configure your data lake in a single Region** + +The following ``create-data-lake`` example enables Amazon Security Lake in a single AWS Region and configures your data lake. :: + + aws securitylake create-data-lake \ + --configurations '[{"encryptionConfiguration": {"kmsKeyId":"1234abcd-12ab-34cd-56ef-1234567890ab"},"region":"us-east-2","lifecycleConfiguration": {"expiration":{"days":500},"transitions":[{"days":30,"storageClass":"GLACIER"}]}}]' \ + --meta-store-manager-role-arn "arn:aws:iam:us-east-1:123456789012:role/service-role/AmazonSecurityLakeMetaStoreManager" + +Output:: + + { + "dataLakes": [ + { + "createStatus": "COMPLETED", + "dataLakeArn": "arn:aws:securitylake:us-east-2:522481757177:data-lake/default", + "encryptionConfiguration": { + "kmsKeyId": "1234abcd-12ab-34cd-56ef-1234567890ab" + }, + "lifecycleConfiguration": { + "expiration": { + "days": 500 + }, + "transitions": [ + { + "days": 30, + "storageClass": "GLACIER" + } + ] + }, + "region": "us-east-2", + "replicationConfiguration": { + "regions": [ + "ap-northeast-3" + ], + "roleArn": "arn:aws:securitylake:ap-northeast-3:522481757177:data-lake/default" + }, + "s3BucketArn": "arn:aws:s3:::aws-security-data-lake-us-east-2-cehuifzl5rwmhm6m62h7zhvtseogr9", + "updateStatus": { + "exception": {}, + "requestId": "77702a53-dcbf-493e-b8ef-518e362f3003", + "status": "INITIALIZED" + } + } + ] + } + +For more information, see `Getting started with Amazon Security Lake `__ in the *Amazon Security Lake User Guide*. \ No newline at end of file diff --git a/awscli/examples/securitylake/update-subscriber-notification.rst b/awscli/examples/securitylake/update-subscriber-notification.rst new file mode 100644 index 000000000000..f41338d4a6bf --- /dev/null +++ b/awscli/examples/securitylake/update-subscriber-notification.rst @@ -0,0 +1,17 @@ +**To update a subscriber notification** + +The following ``update-subscriber-notification`` example shows how you can update the notification method for a subscriber. :: + + aws securitylake update-subscriber-notification \ + --subscriber-id "12345ab8-1a34-1c34-1bd4-12345ab9012" \ + --configuration '{"httpsNotificationConfiguration": {"targetRoleArn":"arn:aws:iam::XXX:role/service-role/RoleName", "endpoint":"https://account-management.$3.$2.securitylake.aws.dev/v1/datalake"}}' + +Output:: + + { + "subscriberEndpoint": [ + "https://account-management.$3.$2.securitylake.aws.dev/v1/datalake" + ] + } + +For more information, see `Subscriber management `__ in the *Amazon Security Lake User Guide*. \ No newline at end of file diff --git a/awscli/examples/securitylake/update-subscriber.rst b/awscli/examples/securitylake/update-subscriber.rst new file mode 100644 index 000000000000..b991f2f14c40 --- /dev/null +++ b/awscli/examples/securitylake/update-subscriber.rst @@ -0,0 +1,76 @@ +**To update an Amazon Security Lake subscriber.** + +The following ``update-subscriber`` example updates the security lake data access sources for a specific Security Lake subscriber. :: + + aws securitylake update-subscriber \ + --subscriber-id a1b2c3d4-5678-90ab-cdef-EXAMPLE11111 + +Output:: + + { + "subscriber": { + "accessTypes": [ + "LAKEFORMATION" + ], + "createdAt": "2024-04-19T15:19:44.421803+00:00", + "resourceShareArn": "arn:aws:ram:eu-west-2:123456789012:resource-share/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111", + "resourceShareName": "LakeFormation-V3-TKJGBHCKTZ-123456789012", + "sources": [ + { + "awsLogSource": { + "sourceName": "LAMBDA_EXECUTION", + "sourceVersion": "1.0" + } + }, + { + "awsLogSource": { + "sourceName": "EKS_AUDIT", + "sourceVersion": "2.0" + } + }, + { + "awsLogSource": { + "sourceName": "ROUTE53", + "sourceVersion": "1.0" + } + }, + { + "awsLogSource": { + "sourceName": "SH_FINDINGS", + "sourceVersion": "1.0" + } + }, + { + "awsLogSource": { + "sourceName": "VPC_FLOW", + "sourceVersion": "1.0" + } + }, + { + "customLogSource": { + "attributes": { + "crawlerArn": "arn:aws:glue:eu-west-2:123456789012:crawler/E1WG1ZNPRXT0D4", + "databaseArn": "arn:aws:glue:eu-west-2:123456789012:database/E1WG1ZNPRXT0D4", + "tableArn": "arn:aws:glue:eu-west-2:123456789012:table/E1WG1ZNPRXT0D4" + }, + "provider": { + "location": "DOC-EXAMPLE-BUCKET--usw2-az1--x-s3", + "roleArn": "arn:aws:iam::123456789012:role/AmazonSecurityLake-E1WG1ZNPRXT0D4" + }, + "sourceName": "testCustom2" + } + } + ], + "subscriberArn": "arn:aws:securitylake:eu-west-2:123456789012:subscriber/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111", + "subscriberId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111", + "subscriberIdentity": { + "externalId": "123456789012", + "principal": "123456789012" + }, + "subscriberName": "test", + "subscriberStatus": "ACTIVE", + "updatedAt": "2024-07-18T20:47:37.098000+00:00" + } + } + +For more information, see `Subscriber management `__ in the *Amazon Security Lake User Guide*. \ No newline at end of file From 4afc1a5a86565bc908df8968b8e419ebd4b16463 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 23 Aug 2024 18:14:06 +0000 Subject: [PATCH 0168/1087] Update changelog based on model updates --- .changes/next-release/api-change-bedrockagent-57766.json | 5 +++++ .../next-release/api-change-bedrockagentruntime-8896.json | 5 +++++ .changes/next-release/api-change-codebuild-28913.json | 5 +++++ .changes/next-release/api-change-organizations-95011.json | 5 +++++ .changes/next-release/api-change-qbusiness-94742.json | 5 +++++ .changes/next-release/api-change-supplychain-76955.json | 5 +++++ 6 files changed, 30 insertions(+) create mode 100644 .changes/next-release/api-change-bedrockagent-57766.json create mode 100644 .changes/next-release/api-change-bedrockagentruntime-8896.json create mode 100644 .changes/next-release/api-change-codebuild-28913.json create mode 100644 .changes/next-release/api-change-organizations-95011.json create mode 100644 .changes/next-release/api-change-qbusiness-94742.json create mode 100644 .changes/next-release/api-change-supplychain-76955.json diff --git a/.changes/next-release/api-change-bedrockagent-57766.json b/.changes/next-release/api-change-bedrockagent-57766.json new file mode 100644 index 000000000000..27469a1d0fdd --- /dev/null +++ b/.changes/next-release/api-change-bedrockagent-57766.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-agent``", + "description": "Releasing the support for Action User Confirmation." +} diff --git a/.changes/next-release/api-change-bedrockagentruntime-8896.json b/.changes/next-release/api-change-bedrockagentruntime-8896.json new file mode 100644 index 000000000000..94eb0092c646 --- /dev/null +++ b/.changes/next-release/api-change-bedrockagentruntime-8896.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-agent-runtime``", + "description": "Releasing the support for Action User Confirmation." +} diff --git a/.changes/next-release/api-change-codebuild-28913.json b/.changes/next-release/api-change-codebuild-28913.json new file mode 100644 index 000000000000..cd64742e2fc0 --- /dev/null +++ b/.changes/next-release/api-change-codebuild-28913.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``codebuild``", + "description": "Added support for the MAC_ARM environment type for CodeBuild fleets." +} diff --git a/.changes/next-release/api-change-organizations-95011.json b/.changes/next-release/api-change-organizations-95011.json new file mode 100644 index 000000000000..5c438a0cf846 --- /dev/null +++ b/.changes/next-release/api-change-organizations-95011.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``organizations``", + "description": "Releasing minor partitional endpoint updates." +} diff --git a/.changes/next-release/api-change-qbusiness-94742.json b/.changes/next-release/api-change-qbusiness-94742.json new file mode 100644 index 000000000000..d94af5d6c658 --- /dev/null +++ b/.changes/next-release/api-change-qbusiness-94742.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``qbusiness``", + "description": "Amazon QBusiness: Enable support for SAML and OIDC federation through AWS IAM Identity Provider integration." +} diff --git a/.changes/next-release/api-change-supplychain-76955.json b/.changes/next-release/api-change-supplychain-76955.json new file mode 100644 index 000000000000..997f5c1bf707 --- /dev/null +++ b/.changes/next-release/api-change-supplychain-76955.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``supplychain``", + "description": "Update API documentation to clarify the event SLA as well as the data model expectations" +} From 862c6db18c9ffe3bda19e2c5e7c851acb047adaf Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 23 Aug 2024 18:15:25 +0000 Subject: [PATCH 0169/1087] Bumping version to 1.34.5 --- .changes/1.34.5.json | 32 +++++++++++++++++++ .../api-change-bedrockagent-57766.json | 5 --- .../api-change-bedrockagentruntime-8896.json | 5 --- .../api-change-codebuild-28913.json | 5 --- .../api-change-organizations-95011.json | 5 --- .../api-change-qbusiness-94742.json | 5 --- .../api-change-supplychain-76955.json | 5 --- CHANGELOG.rst | 11 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 12 files changed, 47 insertions(+), 34 deletions(-) create mode 100644 .changes/1.34.5.json delete mode 100644 .changes/next-release/api-change-bedrockagent-57766.json delete mode 100644 .changes/next-release/api-change-bedrockagentruntime-8896.json delete mode 100644 .changes/next-release/api-change-codebuild-28913.json delete mode 100644 .changes/next-release/api-change-organizations-95011.json delete mode 100644 .changes/next-release/api-change-qbusiness-94742.json delete mode 100644 .changes/next-release/api-change-supplychain-76955.json diff --git a/.changes/1.34.5.json b/.changes/1.34.5.json new file mode 100644 index 000000000000..eb7dbc9063f4 --- /dev/null +++ b/.changes/1.34.5.json @@ -0,0 +1,32 @@ +[ + { + "category": "``bedrock-agent``", + "description": "Releasing the support for Action User Confirmation.", + "type": "api-change" + }, + { + "category": "``bedrock-agent-runtime``", + "description": "Releasing the support for Action User Confirmation.", + "type": "api-change" + }, + { + "category": "``codebuild``", + "description": "Added support for the MAC_ARM environment type for CodeBuild fleets.", + "type": "api-change" + }, + { + "category": "``organizations``", + "description": "Releasing minor partitional endpoint updates.", + "type": "api-change" + }, + { + "category": "``qbusiness``", + "description": "Amazon QBusiness: Enable support for SAML and OIDC federation through AWS IAM Identity Provider integration.", + "type": "api-change" + }, + { + "category": "``supplychain``", + "description": "Update API documentation to clarify the event SLA as well as the data model expectations", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-bedrockagent-57766.json b/.changes/next-release/api-change-bedrockagent-57766.json deleted file mode 100644 index 27469a1d0fdd..000000000000 --- a/.changes/next-release/api-change-bedrockagent-57766.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-agent``", - "description": "Releasing the support for Action User Confirmation." -} diff --git a/.changes/next-release/api-change-bedrockagentruntime-8896.json b/.changes/next-release/api-change-bedrockagentruntime-8896.json deleted file mode 100644 index 94eb0092c646..000000000000 --- a/.changes/next-release/api-change-bedrockagentruntime-8896.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-agent-runtime``", - "description": "Releasing the support for Action User Confirmation." -} diff --git a/.changes/next-release/api-change-codebuild-28913.json b/.changes/next-release/api-change-codebuild-28913.json deleted file mode 100644 index cd64742e2fc0..000000000000 --- a/.changes/next-release/api-change-codebuild-28913.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``codebuild``", - "description": "Added support for the MAC_ARM environment type for CodeBuild fleets." -} diff --git a/.changes/next-release/api-change-organizations-95011.json b/.changes/next-release/api-change-organizations-95011.json deleted file mode 100644 index 5c438a0cf846..000000000000 --- a/.changes/next-release/api-change-organizations-95011.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``organizations``", - "description": "Releasing minor partitional endpoint updates." -} diff --git a/.changes/next-release/api-change-qbusiness-94742.json b/.changes/next-release/api-change-qbusiness-94742.json deleted file mode 100644 index d94af5d6c658..000000000000 --- a/.changes/next-release/api-change-qbusiness-94742.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``qbusiness``", - "description": "Amazon QBusiness: Enable support for SAML and OIDC federation through AWS IAM Identity Provider integration." -} diff --git a/.changes/next-release/api-change-supplychain-76955.json b/.changes/next-release/api-change-supplychain-76955.json deleted file mode 100644 index 997f5c1bf707..000000000000 --- a/.changes/next-release/api-change-supplychain-76955.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``supplychain``", - "description": "Update API documentation to clarify the event SLA as well as the data model expectations" -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index e3347282bdb4..f918c6ba0841 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,17 @@ CHANGELOG ========= +1.34.5 +====== + +* api-change:``bedrock-agent``: Releasing the support for Action User Confirmation. +* api-change:``bedrock-agent-runtime``: Releasing the support for Action User Confirmation. +* api-change:``codebuild``: Added support for the MAC_ARM environment type for CodeBuild fleets. +* api-change:``organizations``: Releasing minor partitional endpoint updates. +* api-change:``qbusiness``: Amazon QBusiness: Enable support for SAML and OIDC federation through AWS IAM Identity Provider integration. +* api-change:``supplychain``: Update API documentation to clarify the event SLA as well as the data model expectations + + 1.34.4 ====== diff --git a/awscli/__init__.py b/awscli/__init__.py index 9ab6586382cb..69c5cdb6f324 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.34.4' +__version__ = '1.34.5' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index d06d2e5eb20f..a2ab2c069d93 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.34' # The full version, including alpha/beta/rc tags. -release = '1.34.4' +release = '1.34.5' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 5405d576659d..782390381d9d 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.4 + botocore==1.35.5 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 96acb32a133a..ff201cbcd103 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.4', + 'botocore==1.35.5', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From e4bcea81dd399af398aa114ee8eba692109a35da Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 26 Aug 2024 18:08:35 +0000 Subject: [PATCH 0170/1087] Update changelog based on model updates --- .changes/next-release/api-change-iotsitewise-33683.json | 5 +++++ .changes/next-release/api-change-workspaces-26235.json | 5 +++++ 2 files changed, 10 insertions(+) create mode 100644 .changes/next-release/api-change-iotsitewise-33683.json create mode 100644 .changes/next-release/api-change-workspaces-26235.json diff --git a/.changes/next-release/api-change-iotsitewise-33683.json b/.changes/next-release/api-change-iotsitewise-33683.json new file mode 100644 index 000000000000..c6513c4f213e --- /dev/null +++ b/.changes/next-release/api-change-iotsitewise-33683.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``iotsitewise``", + "description": "AWS IoT SiteWise now supports versioning for asset models. It enables users to retrieve active version of their asset model and perform asset model writes with optimistic lock." +} diff --git a/.changes/next-release/api-change-workspaces-26235.json b/.changes/next-release/api-change-workspaces-26235.json new file mode 100644 index 000000000000..7bceffa289d5 --- /dev/null +++ b/.changes/next-release/api-change-workspaces-26235.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``workspaces``", + "description": "This release adds support for creating and managing directories that use AWS IAM Identity Center as user identity source. Such directories can be used to create non-Active Directory domain joined WorkSpaces Personal.Updated RegisterWorkspaceDirectory and DescribeWorkspaceDirectories APIs." +} From 13482c009fafce8a41cfa05e3fee5dd65aabbeb2 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 26 Aug 2024 18:09:40 +0000 Subject: [PATCH 0171/1087] Bumping version to 1.34.6 --- .changes/1.34.6.json | 12 ++++++++++++ .../next-release/api-change-iotsitewise-33683.json | 5 ----- .../next-release/api-change-workspaces-26235.json | 5 ----- CHANGELOG.rst | 7 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 8 files changed, 23 insertions(+), 14 deletions(-) create mode 100644 .changes/1.34.6.json delete mode 100644 .changes/next-release/api-change-iotsitewise-33683.json delete mode 100644 .changes/next-release/api-change-workspaces-26235.json diff --git a/.changes/1.34.6.json b/.changes/1.34.6.json new file mode 100644 index 000000000000..9f3c3d3791eb --- /dev/null +++ b/.changes/1.34.6.json @@ -0,0 +1,12 @@ +[ + { + "category": "``iotsitewise``", + "description": "AWS IoT SiteWise now supports versioning for asset models. It enables users to retrieve active version of their asset model and perform asset model writes with optimistic lock.", + "type": "api-change" + }, + { + "category": "``workspaces``", + "description": "This release adds support for creating and managing directories that use AWS IAM Identity Center as user identity source. Such directories can be used to create non-Active Directory domain joined WorkSpaces Personal.Updated RegisterWorkspaceDirectory and DescribeWorkspaceDirectories APIs.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-iotsitewise-33683.json b/.changes/next-release/api-change-iotsitewise-33683.json deleted file mode 100644 index c6513c4f213e..000000000000 --- a/.changes/next-release/api-change-iotsitewise-33683.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``iotsitewise``", - "description": "AWS IoT SiteWise now supports versioning for asset models. It enables users to retrieve active version of their asset model and perform asset model writes with optimistic lock." -} diff --git a/.changes/next-release/api-change-workspaces-26235.json b/.changes/next-release/api-change-workspaces-26235.json deleted file mode 100644 index 7bceffa289d5..000000000000 --- a/.changes/next-release/api-change-workspaces-26235.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``workspaces``", - "description": "This release adds support for creating and managing directories that use AWS IAM Identity Center as user identity source. Such directories can be used to create non-Active Directory domain joined WorkSpaces Personal.Updated RegisterWorkspaceDirectory and DescribeWorkspaceDirectories APIs." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index f918c6ba0841..81581f82d44d 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,13 @@ CHANGELOG ========= +1.34.6 +====== + +* api-change:``iotsitewise``: AWS IoT SiteWise now supports versioning for asset models. It enables users to retrieve active version of their asset model and perform asset model writes with optimistic lock. +* api-change:``workspaces``: This release adds support for creating and managing directories that use AWS IAM Identity Center as user identity source. Such directories can be used to create non-Active Directory domain joined WorkSpaces Personal.Updated RegisterWorkspaceDirectory and DescribeWorkspaceDirectories APIs. + + 1.34.5 ====== diff --git a/awscli/__init__.py b/awscli/__init__.py index 69c5cdb6f324..06f544df7147 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.34.5' +__version__ = '1.34.6' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index a2ab2c069d93..b40335f73c6c 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.34' # The full version, including alpha/beta/rc tags. -release = '1.34.5' +release = '1.34.6' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 782390381d9d..8946c4410e47 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.5 + botocore==1.35.6 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index ff201cbcd103..4e6f9890f5d7 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.5', + 'botocore==1.35.6', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 565883c7da6cde850ec030aca1bfc20a2fc483a3 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 27 Aug 2024 18:05:59 +0000 Subject: [PATCH 0172/1087] Update changelog based on model updates --- .changes/next-release/api-change-bedrock-85544.json | 5 +++++ .changes/next-release/api-change-bedrockruntime-16686.json | 5 +++++ .changes/next-release/api-change-chatbot-42832.json | 5 +++++ .changes/next-release/api-change-omics-89352.json | 5 +++++ .changes/next-release/api-change-polly-21081.json | 5 +++++ 5 files changed, 25 insertions(+) create mode 100644 .changes/next-release/api-change-bedrock-85544.json create mode 100644 .changes/next-release/api-change-bedrockruntime-16686.json create mode 100644 .changes/next-release/api-change-chatbot-42832.json create mode 100644 .changes/next-release/api-change-omics-89352.json create mode 100644 .changes/next-release/api-change-polly-21081.json diff --git a/.changes/next-release/api-change-bedrock-85544.json b/.changes/next-release/api-change-bedrock-85544.json new file mode 100644 index 000000000000..43e5bae9a159 --- /dev/null +++ b/.changes/next-release/api-change-bedrock-85544.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock``", + "description": "Amazon Bedrock SDK updates for Inference Profile." +} diff --git a/.changes/next-release/api-change-bedrockruntime-16686.json b/.changes/next-release/api-change-bedrockruntime-16686.json new file mode 100644 index 000000000000..f4d108771462 --- /dev/null +++ b/.changes/next-release/api-change-bedrockruntime-16686.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-runtime``", + "description": "Amazon Bedrock SDK updates for Inference Profile." +} diff --git a/.changes/next-release/api-change-chatbot-42832.json b/.changes/next-release/api-change-chatbot-42832.json new file mode 100644 index 000000000000..7710ebe58c27 --- /dev/null +++ b/.changes/next-release/api-change-chatbot-42832.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``chatbot``", + "description": "Update documentation to be consistent with the API docs" +} diff --git a/.changes/next-release/api-change-omics-89352.json b/.changes/next-release/api-change-omics-89352.json new file mode 100644 index 000000000000..70229101721f --- /dev/null +++ b/.changes/next-release/api-change-omics-89352.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``omics``", + "description": "Adds data provenance to import jobs from read sets and references" +} diff --git a/.changes/next-release/api-change-polly-21081.json b/.changes/next-release/api-change-polly-21081.json new file mode 100644 index 000000000000..e2574188e32c --- /dev/null +++ b/.changes/next-release/api-change-polly-21081.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``polly``", + "description": "Amazon Polly adds 2 new voices: Jitka (cs-CZ) and Sabrina (de-CH)." +} From 9611f35580de24e489609a7fb3abbc9b7b6e2f03 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 27 Aug 2024 18:07:22 +0000 Subject: [PATCH 0173/1087] Bumping version to 1.34.7 --- .changes/1.34.7.json | 27 +++++++++++++++++++ .../api-change-bedrock-85544.json | 5 ---- .../api-change-bedrockruntime-16686.json | 5 ---- .../api-change-chatbot-42832.json | 5 ---- .../next-release/api-change-omics-89352.json | 5 ---- .../next-release/api-change-polly-21081.json | 5 ---- CHANGELOG.rst | 10 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 11 files changed, 41 insertions(+), 29 deletions(-) create mode 100644 .changes/1.34.7.json delete mode 100644 .changes/next-release/api-change-bedrock-85544.json delete mode 100644 .changes/next-release/api-change-bedrockruntime-16686.json delete mode 100644 .changes/next-release/api-change-chatbot-42832.json delete mode 100644 .changes/next-release/api-change-omics-89352.json delete mode 100644 .changes/next-release/api-change-polly-21081.json diff --git a/.changes/1.34.7.json b/.changes/1.34.7.json new file mode 100644 index 000000000000..2286f048a1b7 --- /dev/null +++ b/.changes/1.34.7.json @@ -0,0 +1,27 @@ +[ + { + "category": "``bedrock``", + "description": "Amazon Bedrock SDK updates for Inference Profile.", + "type": "api-change" + }, + { + "category": "``bedrock-runtime``", + "description": "Amazon Bedrock SDK updates for Inference Profile.", + "type": "api-change" + }, + { + "category": "``chatbot``", + "description": "Update documentation to be consistent with the API docs", + "type": "api-change" + }, + { + "category": "``omics``", + "description": "Adds data provenance to import jobs from read sets and references", + "type": "api-change" + }, + { + "category": "``polly``", + "description": "Amazon Polly adds 2 new voices: Jitka (cs-CZ) and Sabrina (de-CH).", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-bedrock-85544.json b/.changes/next-release/api-change-bedrock-85544.json deleted file mode 100644 index 43e5bae9a159..000000000000 --- a/.changes/next-release/api-change-bedrock-85544.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock``", - "description": "Amazon Bedrock SDK updates for Inference Profile." -} diff --git a/.changes/next-release/api-change-bedrockruntime-16686.json b/.changes/next-release/api-change-bedrockruntime-16686.json deleted file mode 100644 index f4d108771462..000000000000 --- a/.changes/next-release/api-change-bedrockruntime-16686.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-runtime``", - "description": "Amazon Bedrock SDK updates for Inference Profile." -} diff --git a/.changes/next-release/api-change-chatbot-42832.json b/.changes/next-release/api-change-chatbot-42832.json deleted file mode 100644 index 7710ebe58c27..000000000000 --- a/.changes/next-release/api-change-chatbot-42832.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``chatbot``", - "description": "Update documentation to be consistent with the API docs" -} diff --git a/.changes/next-release/api-change-omics-89352.json b/.changes/next-release/api-change-omics-89352.json deleted file mode 100644 index 70229101721f..000000000000 --- a/.changes/next-release/api-change-omics-89352.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``omics``", - "description": "Adds data provenance to import jobs from read sets and references" -} diff --git a/.changes/next-release/api-change-polly-21081.json b/.changes/next-release/api-change-polly-21081.json deleted file mode 100644 index e2574188e32c..000000000000 --- a/.changes/next-release/api-change-polly-21081.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``polly``", - "description": "Amazon Polly adds 2 new voices: Jitka (cs-CZ) and Sabrina (de-CH)." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 81581f82d44d..d39eec9132ce 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,16 @@ CHANGELOG ========= +1.34.7 +====== + +* api-change:``bedrock``: Amazon Bedrock SDK updates for Inference Profile. +* api-change:``bedrock-runtime``: Amazon Bedrock SDK updates for Inference Profile. +* api-change:``chatbot``: Update documentation to be consistent with the API docs +* api-change:``omics``: Adds data provenance to import jobs from read sets and references +* api-change:``polly``: Amazon Polly adds 2 new voices: Jitka (cs-CZ) and Sabrina (de-CH). + + 1.34.6 ====== diff --git a/awscli/__init__.py b/awscli/__init__.py index 06f544df7147..10c027a604d6 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.34.6' +__version__ = '1.34.7' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index b40335f73c6c..19c28c261ddd 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.34' # The full version, including alpha/beta/rc tags. -release = '1.34.6' +release = '1.34.7' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 8946c4410e47..eadf76236d7b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.6 + botocore==1.35.7 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 4e6f9890f5d7..5edef40602ef 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.6', + 'botocore==1.35.7', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 40b8decd1ee6fc641910c5e28e55e53d73add808 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 28 Aug 2024 18:11:44 +0000 Subject: [PATCH 0174/1087] Update changelog based on model updates --- .changes/next-release/api-change-appconfig-4979.json | 5 +++++ .changes/next-release/api-change-datazone-34007.json | 5 +++++ .changes/next-release/api-change-devicefarm-85061.json | 5 +++++ .changes/next-release/api-change-ec2-74224.json | 5 +++++ .changes/next-release/api-change-internetmonitor-88570.json | 5 +++++ .changes/next-release/api-change-pcs-28772.json | 5 +++++ .changes/next-release/api-change-workspaces-12497.json | 5 +++++ 7 files changed, 35 insertions(+) create mode 100644 .changes/next-release/api-change-appconfig-4979.json create mode 100644 .changes/next-release/api-change-datazone-34007.json create mode 100644 .changes/next-release/api-change-devicefarm-85061.json create mode 100644 .changes/next-release/api-change-ec2-74224.json create mode 100644 .changes/next-release/api-change-internetmonitor-88570.json create mode 100644 .changes/next-release/api-change-pcs-28772.json create mode 100644 .changes/next-release/api-change-workspaces-12497.json diff --git a/.changes/next-release/api-change-appconfig-4979.json b/.changes/next-release/api-change-appconfig-4979.json new file mode 100644 index 000000000000..6ea759a6f48c --- /dev/null +++ b/.changes/next-release/api-change-appconfig-4979.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``appconfig``", + "description": "This release adds support for deletion protection, which is a safety guardrail to prevent the unintentional deletion of a recently used AWS AppConfig Configuration Profile or Environment. This also includes a change to increase the maximum length of the Name parameter in UpdateConfigurationProfile." +} diff --git a/.changes/next-release/api-change-datazone-34007.json b/.changes/next-release/api-change-datazone-34007.json new file mode 100644 index 000000000000..9bed0fc2b823 --- /dev/null +++ b/.changes/next-release/api-change-datazone-34007.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``datazone``", + "description": "Update regex to include dot character to be consistent with IAM role creation in the authorized principal field for create and update subscription target." +} diff --git a/.changes/next-release/api-change-devicefarm-85061.json b/.changes/next-release/api-change-devicefarm-85061.json new file mode 100644 index 000000000000..ebd14aed8b3b --- /dev/null +++ b/.changes/next-release/api-change-devicefarm-85061.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``devicefarm``", + "description": "This release removed support for Calabash, UI Automation, Built-in Explorer, remote access record, remote access replay, and web performance profile framework in ScheduleRun API." +} diff --git a/.changes/next-release/api-change-ec2-74224.json b/.changes/next-release/api-change-ec2-74224.json new file mode 100644 index 000000000000..187c0e09be9d --- /dev/null +++ b/.changes/next-release/api-change-ec2-74224.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ec2``", + "description": "Amazon VPC IP Address Manager (IPAM) now allows customers to provision IPv4 CIDR blocks and allocate Elastic IP Addresses directly from IPAM pools with public IPv4 space" +} diff --git a/.changes/next-release/api-change-internetmonitor-88570.json b/.changes/next-release/api-change-internetmonitor-88570.json new file mode 100644 index 000000000000..fc55ffec4948 --- /dev/null +++ b/.changes/next-release/api-change-internetmonitor-88570.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``internetmonitor``", + "description": "Adds new querying types to show overall traffic suggestion information for monitors" +} diff --git a/.changes/next-release/api-change-pcs-28772.json b/.changes/next-release/api-change-pcs-28772.json new file mode 100644 index 000000000000..3c3ca95e1efe --- /dev/null +++ b/.changes/next-release/api-change-pcs-28772.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``pcs``", + "description": "Introducing AWS Parallel Computing Service (AWS PCS), a new service makes it easy to setup and manage high performance computing (HPC) clusters, and build scientific and engineering models at virtually any scale on AWS." +} diff --git a/.changes/next-release/api-change-workspaces-12497.json b/.changes/next-release/api-change-workspaces-12497.json new file mode 100644 index 000000000000..f70635b8afbe --- /dev/null +++ b/.changes/next-release/api-change-workspaces-12497.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``workspaces``", + "description": "Documentation-only update that clarifies the StartWorkspaces and StopWorkspaces actions, and a few other minor edits." +} From 34b0ccaff1d1706ca8569d0f6d874f219ef4e240 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 28 Aug 2024 18:12:53 +0000 Subject: [PATCH 0175/1087] Bumping version to 1.34.8 --- .changes/1.34.8.json | 37 +++++++++++++++++++ .../api-change-appconfig-4979.json | 5 --- .../api-change-datazone-34007.json | 5 --- .../api-change-devicefarm-85061.json | 5 --- .../next-release/api-change-ec2-74224.json | 5 --- .../api-change-internetmonitor-88570.json | 5 --- .../next-release/api-change-pcs-28772.json | 5 --- .../api-change-workspaces-12497.json | 5 --- CHANGELOG.rst | 12 ++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 13 files changed, 53 insertions(+), 39 deletions(-) create mode 100644 .changes/1.34.8.json delete mode 100644 .changes/next-release/api-change-appconfig-4979.json delete mode 100644 .changes/next-release/api-change-datazone-34007.json delete mode 100644 .changes/next-release/api-change-devicefarm-85061.json delete mode 100644 .changes/next-release/api-change-ec2-74224.json delete mode 100644 .changes/next-release/api-change-internetmonitor-88570.json delete mode 100644 .changes/next-release/api-change-pcs-28772.json delete mode 100644 .changes/next-release/api-change-workspaces-12497.json diff --git a/.changes/1.34.8.json b/.changes/1.34.8.json new file mode 100644 index 000000000000..dc1fa3a8e2ab --- /dev/null +++ b/.changes/1.34.8.json @@ -0,0 +1,37 @@ +[ + { + "category": "``appconfig``", + "description": "This release adds support for deletion protection, which is a safety guardrail to prevent the unintentional deletion of a recently used AWS AppConfig Configuration Profile or Environment. This also includes a change to increase the maximum length of the Name parameter in UpdateConfigurationProfile.", + "type": "api-change" + }, + { + "category": "``datazone``", + "description": "Update regex to include dot character to be consistent with IAM role creation in the authorized principal field for create and update subscription target.", + "type": "api-change" + }, + { + "category": "``devicefarm``", + "description": "This release removed support for Calabash, UI Automation, Built-in Explorer, remote access record, remote access replay, and web performance profile framework in ScheduleRun API.", + "type": "api-change" + }, + { + "category": "``ec2``", + "description": "Amazon VPC IP Address Manager (IPAM) now allows customers to provision IPv4 CIDR blocks and allocate Elastic IP Addresses directly from IPAM pools with public IPv4 space", + "type": "api-change" + }, + { + "category": "``internetmonitor``", + "description": "Adds new querying types to show overall traffic suggestion information for monitors", + "type": "api-change" + }, + { + "category": "``pcs``", + "description": "Introducing AWS Parallel Computing Service (AWS PCS), a new service makes it easy to setup and manage high performance computing (HPC) clusters, and build scientific and engineering models at virtually any scale on AWS.", + "type": "api-change" + }, + { + "category": "``workspaces``", + "description": "Documentation-only update that clarifies the StartWorkspaces and StopWorkspaces actions, and a few other minor edits.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-appconfig-4979.json b/.changes/next-release/api-change-appconfig-4979.json deleted file mode 100644 index 6ea759a6f48c..000000000000 --- a/.changes/next-release/api-change-appconfig-4979.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``appconfig``", - "description": "This release adds support for deletion protection, which is a safety guardrail to prevent the unintentional deletion of a recently used AWS AppConfig Configuration Profile or Environment. This also includes a change to increase the maximum length of the Name parameter in UpdateConfigurationProfile." -} diff --git a/.changes/next-release/api-change-datazone-34007.json b/.changes/next-release/api-change-datazone-34007.json deleted file mode 100644 index 9bed0fc2b823..000000000000 --- a/.changes/next-release/api-change-datazone-34007.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``datazone``", - "description": "Update regex to include dot character to be consistent with IAM role creation in the authorized principal field for create and update subscription target." -} diff --git a/.changes/next-release/api-change-devicefarm-85061.json b/.changes/next-release/api-change-devicefarm-85061.json deleted file mode 100644 index ebd14aed8b3b..000000000000 --- a/.changes/next-release/api-change-devicefarm-85061.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``devicefarm``", - "description": "This release removed support for Calabash, UI Automation, Built-in Explorer, remote access record, remote access replay, and web performance profile framework in ScheduleRun API." -} diff --git a/.changes/next-release/api-change-ec2-74224.json b/.changes/next-release/api-change-ec2-74224.json deleted file mode 100644 index 187c0e09be9d..000000000000 --- a/.changes/next-release/api-change-ec2-74224.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ec2``", - "description": "Amazon VPC IP Address Manager (IPAM) now allows customers to provision IPv4 CIDR blocks and allocate Elastic IP Addresses directly from IPAM pools with public IPv4 space" -} diff --git a/.changes/next-release/api-change-internetmonitor-88570.json b/.changes/next-release/api-change-internetmonitor-88570.json deleted file mode 100644 index fc55ffec4948..000000000000 --- a/.changes/next-release/api-change-internetmonitor-88570.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``internetmonitor``", - "description": "Adds new querying types to show overall traffic suggestion information for monitors" -} diff --git a/.changes/next-release/api-change-pcs-28772.json b/.changes/next-release/api-change-pcs-28772.json deleted file mode 100644 index 3c3ca95e1efe..000000000000 --- a/.changes/next-release/api-change-pcs-28772.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``pcs``", - "description": "Introducing AWS Parallel Computing Service (AWS PCS), a new service makes it easy to setup and manage high performance computing (HPC) clusters, and build scientific and engineering models at virtually any scale on AWS." -} diff --git a/.changes/next-release/api-change-workspaces-12497.json b/.changes/next-release/api-change-workspaces-12497.json deleted file mode 100644 index f70635b8afbe..000000000000 --- a/.changes/next-release/api-change-workspaces-12497.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``workspaces``", - "description": "Documentation-only update that clarifies the StartWorkspaces and StopWorkspaces actions, and a few other minor edits." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index d39eec9132ce..3f5db754cad2 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,18 @@ CHANGELOG ========= +1.34.8 +====== + +* api-change:``appconfig``: This release adds support for deletion protection, which is a safety guardrail to prevent the unintentional deletion of a recently used AWS AppConfig Configuration Profile or Environment. This also includes a change to increase the maximum length of the Name parameter in UpdateConfigurationProfile. +* api-change:``datazone``: Update regex to include dot character to be consistent with IAM role creation in the authorized principal field for create and update subscription target. +* api-change:``devicefarm``: This release removed support for Calabash, UI Automation, Built-in Explorer, remote access record, remote access replay, and web performance profile framework in ScheduleRun API. +* api-change:``ec2``: Amazon VPC IP Address Manager (IPAM) now allows customers to provision IPv4 CIDR blocks and allocate Elastic IP Addresses directly from IPAM pools with public IPv4 space +* api-change:``internetmonitor``: Adds new querying types to show overall traffic suggestion information for monitors +* api-change:``pcs``: Introducing AWS Parallel Computing Service (AWS PCS), a new service makes it easy to setup and manage high performance computing (HPC) clusters, and build scientific and engineering models at virtually any scale on AWS. +* api-change:``workspaces``: Documentation-only update that clarifies the StartWorkspaces and StopWorkspaces actions, and a few other minor edits. + + 1.34.7 ====== diff --git a/awscli/__init__.py b/awscli/__init__.py index 10c027a604d6..6340c555a9c3 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.34.7' +__version__ = '1.34.8' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 19c28c261ddd..08ac3617859b 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.34' # The full version, including alpha/beta/rc tags. -release = '1.34.7' +release = '1.34.8' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index eadf76236d7b..6304e7223394 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.7 + botocore==1.35.8 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 5edef40602ef..eb7fe9c9117a 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.7', + 'botocore==1.35.8', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 7a3bb1a5199b5200c262f9c169c5b6c9c75cc811 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 29 Aug 2024 19:09:55 +0000 Subject: [PATCH 0176/1087] Update changelog based on model updates --- .../next-release/api-change-bedrockagentruntime-26553.json | 5 +++++ .changes/next-release/api-change-bedrockruntime-15401.json | 5 +++++ .changes/next-release/api-change-personalize-19257.json | 5 +++++ .changes/next-release/api-change-quicksight-18645.json | 5 +++++ .changes/next-release/api-change-stepfunctions-67779.json | 5 +++++ .changes/next-release/api-change-wafv2-30581.json | 5 +++++ 6 files changed, 30 insertions(+) create mode 100644 .changes/next-release/api-change-bedrockagentruntime-26553.json create mode 100644 .changes/next-release/api-change-bedrockruntime-15401.json create mode 100644 .changes/next-release/api-change-personalize-19257.json create mode 100644 .changes/next-release/api-change-quicksight-18645.json create mode 100644 .changes/next-release/api-change-stepfunctions-67779.json create mode 100644 .changes/next-release/api-change-wafv2-30581.json diff --git a/.changes/next-release/api-change-bedrockagentruntime-26553.json b/.changes/next-release/api-change-bedrockagentruntime-26553.json new file mode 100644 index 000000000000..846cbe61289d --- /dev/null +++ b/.changes/next-release/api-change-bedrockagentruntime-26553.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-agent-runtime``", + "description": "Lifting the maximum length on Bedrock KnowledgeBase RetrievalFilter array" +} diff --git a/.changes/next-release/api-change-bedrockruntime-15401.json b/.changes/next-release/api-change-bedrockruntime-15401.json new file mode 100644 index 000000000000..8d0cc77379df --- /dev/null +++ b/.changes/next-release/api-change-bedrockruntime-15401.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-runtime``", + "description": "Add support for imported-model in invokeModel and InvokeModelWithResponseStream." +} diff --git a/.changes/next-release/api-change-personalize-19257.json b/.changes/next-release/api-change-personalize-19257.json new file mode 100644 index 000000000000..5395ccb47c19 --- /dev/null +++ b/.changes/next-release/api-change-personalize-19257.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``personalize``", + "description": "This releases ability to update automatic training scheduler for customer solutions" +} diff --git a/.changes/next-release/api-change-quicksight-18645.json b/.changes/next-release/api-change-quicksight-18645.json new file mode 100644 index 000000000000..81281a77d46e --- /dev/null +++ b/.changes/next-release/api-change-quicksight-18645.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``quicksight``", + "description": "Increased Character Limit for Dataset Calculation Field expressions" +} diff --git a/.changes/next-release/api-change-stepfunctions-67779.json b/.changes/next-release/api-change-stepfunctions-67779.json new file mode 100644 index 000000000000..8e44d5bc779a --- /dev/null +++ b/.changes/next-release/api-change-stepfunctions-67779.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``stepfunctions``", + "description": "This release adds support for static analysis to ValidateStateMachineDefinition API, which can now return optional WARNING diagnostics for semantic errors on the definition of an Amazon States Language (ASL) state machine." +} diff --git a/.changes/next-release/api-change-wafv2-30581.json b/.changes/next-release/api-change-wafv2-30581.json new file mode 100644 index 000000000000..bc02fc84f022 --- /dev/null +++ b/.changes/next-release/api-change-wafv2-30581.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``wafv2``", + "description": "The minimum request rate for a rate-based rule is now 10. Before this, it was 100." +} From 4149108b5a91025a17269b5de65956006f9df640 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 29 Aug 2024 19:11:18 +0000 Subject: [PATCH 0177/1087] Bumping version to 1.34.9 --- .changes/1.34.9.json | 32 +++++++++++++++++++ .../api-change-bedrockagentruntime-26553.json | 5 --- .../api-change-bedrockruntime-15401.json | 5 --- .../api-change-personalize-19257.json | 5 --- .../api-change-quicksight-18645.json | 5 --- .../api-change-stepfunctions-67779.json | 5 --- .../next-release/api-change-wafv2-30581.json | 5 --- CHANGELOG.rst | 11 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 12 files changed, 47 insertions(+), 34 deletions(-) create mode 100644 .changes/1.34.9.json delete mode 100644 .changes/next-release/api-change-bedrockagentruntime-26553.json delete mode 100644 .changes/next-release/api-change-bedrockruntime-15401.json delete mode 100644 .changes/next-release/api-change-personalize-19257.json delete mode 100644 .changes/next-release/api-change-quicksight-18645.json delete mode 100644 .changes/next-release/api-change-stepfunctions-67779.json delete mode 100644 .changes/next-release/api-change-wafv2-30581.json diff --git a/.changes/1.34.9.json b/.changes/1.34.9.json new file mode 100644 index 000000000000..465fa7380599 --- /dev/null +++ b/.changes/1.34.9.json @@ -0,0 +1,32 @@ +[ + { + "category": "``bedrock-agent-runtime``", + "description": "Lifting the maximum length on Bedrock KnowledgeBase RetrievalFilter array", + "type": "api-change" + }, + { + "category": "``bedrock-runtime``", + "description": "Add support for imported-model in invokeModel and InvokeModelWithResponseStream.", + "type": "api-change" + }, + { + "category": "``personalize``", + "description": "This releases ability to update automatic training scheduler for customer solutions", + "type": "api-change" + }, + { + "category": "``quicksight``", + "description": "Increased Character Limit for Dataset Calculation Field expressions", + "type": "api-change" + }, + { + "category": "``stepfunctions``", + "description": "This release adds support for static analysis to ValidateStateMachineDefinition API, which can now return optional WARNING diagnostics for semantic errors on the definition of an Amazon States Language (ASL) state machine.", + "type": "api-change" + }, + { + "category": "``wafv2``", + "description": "The minimum request rate for a rate-based rule is now 10. Before this, it was 100.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-bedrockagentruntime-26553.json b/.changes/next-release/api-change-bedrockagentruntime-26553.json deleted file mode 100644 index 846cbe61289d..000000000000 --- a/.changes/next-release/api-change-bedrockagentruntime-26553.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-agent-runtime``", - "description": "Lifting the maximum length on Bedrock KnowledgeBase RetrievalFilter array" -} diff --git a/.changes/next-release/api-change-bedrockruntime-15401.json b/.changes/next-release/api-change-bedrockruntime-15401.json deleted file mode 100644 index 8d0cc77379df..000000000000 --- a/.changes/next-release/api-change-bedrockruntime-15401.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-runtime``", - "description": "Add support for imported-model in invokeModel and InvokeModelWithResponseStream." -} diff --git a/.changes/next-release/api-change-personalize-19257.json b/.changes/next-release/api-change-personalize-19257.json deleted file mode 100644 index 5395ccb47c19..000000000000 --- a/.changes/next-release/api-change-personalize-19257.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``personalize``", - "description": "This releases ability to update automatic training scheduler for customer solutions" -} diff --git a/.changes/next-release/api-change-quicksight-18645.json b/.changes/next-release/api-change-quicksight-18645.json deleted file mode 100644 index 81281a77d46e..000000000000 --- a/.changes/next-release/api-change-quicksight-18645.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``quicksight``", - "description": "Increased Character Limit for Dataset Calculation Field expressions" -} diff --git a/.changes/next-release/api-change-stepfunctions-67779.json b/.changes/next-release/api-change-stepfunctions-67779.json deleted file mode 100644 index 8e44d5bc779a..000000000000 --- a/.changes/next-release/api-change-stepfunctions-67779.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``stepfunctions``", - "description": "This release adds support for static analysis to ValidateStateMachineDefinition API, which can now return optional WARNING diagnostics for semantic errors on the definition of an Amazon States Language (ASL) state machine." -} diff --git a/.changes/next-release/api-change-wafv2-30581.json b/.changes/next-release/api-change-wafv2-30581.json deleted file mode 100644 index bc02fc84f022..000000000000 --- a/.changes/next-release/api-change-wafv2-30581.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``wafv2``", - "description": "The minimum request rate for a rate-based rule is now 10. Before this, it was 100." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 3f5db754cad2..0bd3a3039837 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,17 @@ CHANGELOG ========= +1.34.9 +====== + +* api-change:``bedrock-agent-runtime``: Lifting the maximum length on Bedrock KnowledgeBase RetrievalFilter array +* api-change:``bedrock-runtime``: Add support for imported-model in invokeModel and InvokeModelWithResponseStream. +* api-change:``personalize``: This releases ability to update automatic training scheduler for customer solutions +* api-change:``quicksight``: Increased Character Limit for Dataset Calculation Field expressions +* api-change:``stepfunctions``: This release adds support for static analysis to ValidateStateMachineDefinition API, which can now return optional WARNING diagnostics for semantic errors on the definition of an Amazon States Language (ASL) state machine. +* api-change:``wafv2``: The minimum request rate for a rate-based rule is now 10. Before this, it was 100. + + 1.34.8 ====== diff --git a/awscli/__init__.py b/awscli/__init__.py index 6340c555a9c3..881613e81006 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.34.8' +__version__ = '1.34.9' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 08ac3617859b..ac2dd7b08169 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.34' # The full version, including alpha/beta/rc tags. -release = '1.34.8' +release = '1.34.9' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 6304e7223394..57e938739bdf 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.8 + botocore==1.35.9 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index eb7fe9c9117a..908e10e91805 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.8', + 'botocore==1.35.9', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 49747c5407fe738d2dd5a9220170c351d1dfcd0e Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 30 Aug 2024 18:14:46 +0000 Subject: [PATCH 0178/1087] Update changelog based on model updates --- .changes/next-release/api-change-backup-92380.json | 5 +++++ .changes/next-release/api-change-datazone-20920.json | 5 +++++ .changes/next-release/api-change-logs-75375.json | 5 +++++ .changes/next-release/api-change-redshiftdata-17813.json | 5 +++++ 4 files changed, 20 insertions(+) create mode 100644 .changes/next-release/api-change-backup-92380.json create mode 100644 .changes/next-release/api-change-datazone-20920.json create mode 100644 .changes/next-release/api-change-logs-75375.json create mode 100644 .changes/next-release/api-change-redshiftdata-17813.json diff --git a/.changes/next-release/api-change-backup-92380.json b/.changes/next-release/api-change-backup-92380.json new file mode 100644 index 000000000000..6b6ec20a91aa --- /dev/null +++ b/.changes/next-release/api-change-backup-92380.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``backup``", + "description": "The latest update introduces two new attributes, VaultType and VaultState, to the DescribeBackupVault and ListBackupVaults APIs. The VaultState attribute reflects the current status of the vault, while the VaultType attribute indicates the specific category of the vault." +} diff --git a/.changes/next-release/api-change-datazone-20920.json b/.changes/next-release/api-change-datazone-20920.json new file mode 100644 index 000000000000..efbb9ac47e5a --- /dev/null +++ b/.changes/next-release/api-change-datazone-20920.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``datazone``", + "description": "Amazon DataZone now adds new governance capabilities of Domain Units for organization within your Data Domains, and Authorization Policies for tighter controls." +} diff --git a/.changes/next-release/api-change-logs-75375.json b/.changes/next-release/api-change-logs-75375.json new file mode 100644 index 000000000000..db9ba01b8fa4 --- /dev/null +++ b/.changes/next-release/api-change-logs-75375.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``logs``", + "description": "This release introduces a new optional parameter: Entity, in PutLogEvents request" +} diff --git a/.changes/next-release/api-change-redshiftdata-17813.json b/.changes/next-release/api-change-redshiftdata-17813.json new file mode 100644 index 000000000000..0234b7f327c4 --- /dev/null +++ b/.changes/next-release/api-change-redshiftdata-17813.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``redshift-data``", + "description": "The release include the new Redshift DataAPI feature for session use, customer execute query with --session-keep-alive-seconds parameter and can submit follow-up queries to same sessions with returned`session-id`" +} From 54510ff64864a6745989c4889842ebe4936e5afa Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 30 Aug 2024 18:16:13 +0000 Subject: [PATCH 0179/1087] Bumping version to 1.34.10 --- .changes/1.34.10.json | 22 +++++++++++++++++++ .../next-release/api-change-backup-92380.json | 5 ----- .../api-change-datazone-20920.json | 5 ----- .../next-release/api-change-logs-75375.json | 5 ----- .../api-change-redshiftdata-17813.json | 5 ----- CHANGELOG.rst | 9 ++++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 4 ++-- setup.cfg | 2 +- setup.py | 2 +- 10 files changed, 36 insertions(+), 25 deletions(-) create mode 100644 .changes/1.34.10.json delete mode 100644 .changes/next-release/api-change-backup-92380.json delete mode 100644 .changes/next-release/api-change-datazone-20920.json delete mode 100644 .changes/next-release/api-change-logs-75375.json delete mode 100644 .changes/next-release/api-change-redshiftdata-17813.json diff --git a/.changes/1.34.10.json b/.changes/1.34.10.json new file mode 100644 index 000000000000..5a70eb323e98 --- /dev/null +++ b/.changes/1.34.10.json @@ -0,0 +1,22 @@ +[ + { + "category": "``backup``", + "description": "The latest update introduces two new attributes, VaultType and VaultState, to the DescribeBackupVault and ListBackupVaults APIs. The VaultState attribute reflects the current status of the vault, while the VaultType attribute indicates the specific category of the vault.", + "type": "api-change" + }, + { + "category": "``datazone``", + "description": "Amazon DataZone now adds new governance capabilities of Domain Units for organization within your Data Domains, and Authorization Policies for tighter controls.", + "type": "api-change" + }, + { + "category": "``logs``", + "description": "This release introduces a new optional parameter: Entity, in PutLogEvents request", + "type": "api-change" + }, + { + "category": "``redshift-data``", + "description": "The release include the new Redshift DataAPI feature for session use, customer execute query with --session-keep-alive-seconds parameter and can submit follow-up queries to same sessions with returned`session-id`", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-backup-92380.json b/.changes/next-release/api-change-backup-92380.json deleted file mode 100644 index 6b6ec20a91aa..000000000000 --- a/.changes/next-release/api-change-backup-92380.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``backup``", - "description": "The latest update introduces two new attributes, VaultType and VaultState, to the DescribeBackupVault and ListBackupVaults APIs. The VaultState attribute reflects the current status of the vault, while the VaultType attribute indicates the specific category of the vault." -} diff --git a/.changes/next-release/api-change-datazone-20920.json b/.changes/next-release/api-change-datazone-20920.json deleted file mode 100644 index efbb9ac47e5a..000000000000 --- a/.changes/next-release/api-change-datazone-20920.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``datazone``", - "description": "Amazon DataZone now adds new governance capabilities of Domain Units for organization within your Data Domains, and Authorization Policies for tighter controls." -} diff --git a/.changes/next-release/api-change-logs-75375.json b/.changes/next-release/api-change-logs-75375.json deleted file mode 100644 index db9ba01b8fa4..000000000000 --- a/.changes/next-release/api-change-logs-75375.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``logs``", - "description": "This release introduces a new optional parameter: Entity, in PutLogEvents request" -} diff --git a/.changes/next-release/api-change-redshiftdata-17813.json b/.changes/next-release/api-change-redshiftdata-17813.json deleted file mode 100644 index 0234b7f327c4..000000000000 --- a/.changes/next-release/api-change-redshiftdata-17813.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``redshift-data``", - "description": "The release include the new Redshift DataAPI feature for session use, customer execute query with --session-keep-alive-seconds parameter and can submit follow-up queries to same sessions with returned`session-id`" -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 0bd3a3039837..3f7df823bc63 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,15 @@ CHANGELOG ========= +1.34.10 +======= + +* api-change:``backup``: The latest update introduces two new attributes, VaultType and VaultState, to the DescribeBackupVault and ListBackupVaults APIs. The VaultState attribute reflects the current status of the vault, while the VaultType attribute indicates the specific category of the vault. +* api-change:``datazone``: Amazon DataZone now adds new governance capabilities of Domain Units for organization within your Data Domains, and Authorization Policies for tighter controls. +* api-change:``logs``: This release introduces a new optional parameter: Entity, in PutLogEvents request +* api-change:``redshift-data``: The release include the new Redshift DataAPI feature for session use, customer execute query with --session-keep-alive-seconds parameter and can submit follow-up queries to same sessions with returned`session-id` + + 1.34.9 ====== diff --git a/awscli/__init__.py b/awscli/__init__.py index 881613e81006..4299afe9c843 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.34.9' +__version__ = '1.34.10' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index ac2dd7b08169..e48e5a391eac 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -50,9 +50,9 @@ # built documents. # # The short X.Y version. -version = '1.34' +version = '1.34.' # The full version, including alpha/beta/rc tags. -release = '1.34.9' +release = '1.34.10' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 57e938739bdf..b3504677ac25 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.9 + botocore==1.35.10 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 908e10e91805..9ea0f7e28df4 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.9', + 'botocore==1.35.10', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 75dd2fc6f7758bcbd6a8c81b1ca6f6eecc74a1d6 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 3 Sep 2024 18:03:45 +0000 Subject: [PATCH 0180/1087] Update changelog based on model updates --- .changes/next-release/api-change-connect-44406.json | 5 +++++ .changes/next-release/api-change-datazone-38909.json | 5 +++++ .changes/next-release/api-change-elbv2-53594.json | 5 +++++ .changes/next-release/api-change-mediaconnect-3077.json | 5 +++++ .changes/next-release/api-change-medialive-8628.json | 5 +++++ .changes/next-release/api-change-sagemaker-23339.json | 5 +++++ .../next-release/api-change-timestreaminfluxdb-27837.json | 5 +++++ 7 files changed, 35 insertions(+) create mode 100644 .changes/next-release/api-change-connect-44406.json create mode 100644 .changes/next-release/api-change-datazone-38909.json create mode 100644 .changes/next-release/api-change-elbv2-53594.json create mode 100644 .changes/next-release/api-change-mediaconnect-3077.json create mode 100644 .changes/next-release/api-change-medialive-8628.json create mode 100644 .changes/next-release/api-change-sagemaker-23339.json create mode 100644 .changes/next-release/api-change-timestreaminfluxdb-27837.json diff --git a/.changes/next-release/api-change-connect-44406.json b/.changes/next-release/api-change-connect-44406.json new file mode 100644 index 000000000000..6d53714b41d4 --- /dev/null +++ b/.changes/next-release/api-change-connect-44406.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``connect``", + "description": "Release ReplicaConfiguration as part of DescribeInstance" +} diff --git a/.changes/next-release/api-change-datazone-38909.json b/.changes/next-release/api-change-datazone-38909.json new file mode 100644 index 000000000000..3e3058e37cca --- /dev/null +++ b/.changes/next-release/api-change-datazone-38909.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``datazone``", + "description": "Add support to let data publisher specify a subset of the data asset that a subscriber will have access to based on the asset filters provided, when accepting a subscription request." +} diff --git a/.changes/next-release/api-change-elbv2-53594.json b/.changes/next-release/api-change-elbv2-53594.json new file mode 100644 index 000000000000..4ef1249cbed0 --- /dev/null +++ b/.changes/next-release/api-change-elbv2-53594.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``elbv2``", + "description": "This release adds support for configuring TCP idle timeout on NLB and GWLB listeners." +} diff --git a/.changes/next-release/api-change-mediaconnect-3077.json b/.changes/next-release/api-change-mediaconnect-3077.json new file mode 100644 index 000000000000..96705572625a --- /dev/null +++ b/.changes/next-release/api-change-mediaconnect-3077.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``mediaconnect``", + "description": "AWS Elemental MediaConnect introduces thumbnails for Flow source monitoring. Thumbnails provide still image previews of the live content feeding your MediaConnect Flow allowing you to easily verify that your source is operating as expected." +} diff --git a/.changes/next-release/api-change-medialive-8628.json b/.changes/next-release/api-change-medialive-8628.json new file mode 100644 index 000000000000..b49e2a668f37 --- /dev/null +++ b/.changes/next-release/api-change-medialive-8628.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``medialive``", + "description": "Added MinQP as a Rate Control option for H264 and H265 encodes." +} diff --git a/.changes/next-release/api-change-sagemaker-23339.json b/.changes/next-release/api-change-sagemaker-23339.json new file mode 100644 index 000000000000..8b56ce2c145b --- /dev/null +++ b/.changes/next-release/api-change-sagemaker-23339.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``sagemaker``", + "description": "Amazon SageMaker now supports automatic mounting of a user's home folder in the Amazon Elastic File System (EFS) associated with the SageMaker Studio domain to their Studio Spaces to enable users to share data between their own private spaces." +} diff --git a/.changes/next-release/api-change-timestreaminfluxdb-27837.json b/.changes/next-release/api-change-timestreaminfluxdb-27837.json new file mode 100644 index 000000000000..40d24c021ebf --- /dev/null +++ b/.changes/next-release/api-change-timestreaminfluxdb-27837.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``timestream-influxdb``", + "description": "Timestream for InfluxDB now supports compute scaling and deployment type conversion. This release adds the DbInstanceType and DeploymentType parameters to the UpdateDbInstance API." +} From f283748a3a4395b0d6a3bb8f370f5581657d1acb Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 3 Sep 2024 18:04:48 +0000 Subject: [PATCH 0181/1087] Bumping version to 1.34.11 --- .changes/1.34.11.json | 37 +++++++++++++++++++ .../api-change-connect-44406.json | 5 --- .../api-change-datazone-38909.json | 5 --- .../next-release/api-change-elbv2-53594.json | 5 --- .../api-change-mediaconnect-3077.json | 5 --- .../api-change-medialive-8628.json | 5 --- .../api-change-sagemaker-23339.json | 5 --- .../api-change-timestreaminfluxdb-27837.json | 5 --- CHANGELOG.rst | 12 ++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 13 files changed, 53 insertions(+), 39 deletions(-) create mode 100644 .changes/1.34.11.json delete mode 100644 .changes/next-release/api-change-connect-44406.json delete mode 100644 .changes/next-release/api-change-datazone-38909.json delete mode 100644 .changes/next-release/api-change-elbv2-53594.json delete mode 100644 .changes/next-release/api-change-mediaconnect-3077.json delete mode 100644 .changes/next-release/api-change-medialive-8628.json delete mode 100644 .changes/next-release/api-change-sagemaker-23339.json delete mode 100644 .changes/next-release/api-change-timestreaminfluxdb-27837.json diff --git a/.changes/1.34.11.json b/.changes/1.34.11.json new file mode 100644 index 000000000000..f51f352bd7f3 --- /dev/null +++ b/.changes/1.34.11.json @@ -0,0 +1,37 @@ +[ + { + "category": "``connect``", + "description": "Release ReplicaConfiguration as part of DescribeInstance", + "type": "api-change" + }, + { + "category": "``datazone``", + "description": "Add support to let data publisher specify a subset of the data asset that a subscriber will have access to based on the asset filters provided, when accepting a subscription request.", + "type": "api-change" + }, + { + "category": "``elbv2``", + "description": "This release adds support for configuring TCP idle timeout on NLB and GWLB listeners.", + "type": "api-change" + }, + { + "category": "``mediaconnect``", + "description": "AWS Elemental MediaConnect introduces thumbnails for Flow source monitoring. Thumbnails provide still image previews of the live content feeding your MediaConnect Flow allowing you to easily verify that your source is operating as expected.", + "type": "api-change" + }, + { + "category": "``medialive``", + "description": "Added MinQP as a Rate Control option for H264 and H265 encodes.", + "type": "api-change" + }, + { + "category": "``sagemaker``", + "description": "Amazon SageMaker now supports automatic mounting of a user's home folder in the Amazon Elastic File System (EFS) associated with the SageMaker Studio domain to their Studio Spaces to enable users to share data between their own private spaces.", + "type": "api-change" + }, + { + "category": "``timestream-influxdb``", + "description": "Timestream for InfluxDB now supports compute scaling and deployment type conversion. This release adds the DbInstanceType and DeploymentType parameters to the UpdateDbInstance API.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-connect-44406.json b/.changes/next-release/api-change-connect-44406.json deleted file mode 100644 index 6d53714b41d4..000000000000 --- a/.changes/next-release/api-change-connect-44406.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``connect``", - "description": "Release ReplicaConfiguration as part of DescribeInstance" -} diff --git a/.changes/next-release/api-change-datazone-38909.json b/.changes/next-release/api-change-datazone-38909.json deleted file mode 100644 index 3e3058e37cca..000000000000 --- a/.changes/next-release/api-change-datazone-38909.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``datazone``", - "description": "Add support to let data publisher specify a subset of the data asset that a subscriber will have access to based on the asset filters provided, when accepting a subscription request." -} diff --git a/.changes/next-release/api-change-elbv2-53594.json b/.changes/next-release/api-change-elbv2-53594.json deleted file mode 100644 index 4ef1249cbed0..000000000000 --- a/.changes/next-release/api-change-elbv2-53594.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``elbv2``", - "description": "This release adds support for configuring TCP idle timeout on NLB and GWLB listeners." -} diff --git a/.changes/next-release/api-change-mediaconnect-3077.json b/.changes/next-release/api-change-mediaconnect-3077.json deleted file mode 100644 index 96705572625a..000000000000 --- a/.changes/next-release/api-change-mediaconnect-3077.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``mediaconnect``", - "description": "AWS Elemental MediaConnect introduces thumbnails for Flow source monitoring. Thumbnails provide still image previews of the live content feeding your MediaConnect Flow allowing you to easily verify that your source is operating as expected." -} diff --git a/.changes/next-release/api-change-medialive-8628.json b/.changes/next-release/api-change-medialive-8628.json deleted file mode 100644 index b49e2a668f37..000000000000 --- a/.changes/next-release/api-change-medialive-8628.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``medialive``", - "description": "Added MinQP as a Rate Control option for H264 and H265 encodes." -} diff --git a/.changes/next-release/api-change-sagemaker-23339.json b/.changes/next-release/api-change-sagemaker-23339.json deleted file mode 100644 index 8b56ce2c145b..000000000000 --- a/.changes/next-release/api-change-sagemaker-23339.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``sagemaker``", - "description": "Amazon SageMaker now supports automatic mounting of a user's home folder in the Amazon Elastic File System (EFS) associated with the SageMaker Studio domain to their Studio Spaces to enable users to share data between their own private spaces." -} diff --git a/.changes/next-release/api-change-timestreaminfluxdb-27837.json b/.changes/next-release/api-change-timestreaminfluxdb-27837.json deleted file mode 100644 index 40d24c021ebf..000000000000 --- a/.changes/next-release/api-change-timestreaminfluxdb-27837.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``timestream-influxdb``", - "description": "Timestream for InfluxDB now supports compute scaling and deployment type conversion. This release adds the DbInstanceType and DeploymentType parameters to the UpdateDbInstance API." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 3f7df823bc63..fd3588e431ad 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,18 @@ CHANGELOG ========= +1.34.11 +======= + +* api-change:``connect``: Release ReplicaConfiguration as part of DescribeInstance +* api-change:``datazone``: Add support to let data publisher specify a subset of the data asset that a subscriber will have access to based on the asset filters provided, when accepting a subscription request. +* api-change:``elbv2``: This release adds support for configuring TCP idle timeout on NLB and GWLB listeners. +* api-change:``mediaconnect``: AWS Elemental MediaConnect introduces thumbnails for Flow source monitoring. Thumbnails provide still image previews of the live content feeding your MediaConnect Flow allowing you to easily verify that your source is operating as expected. +* api-change:``medialive``: Added MinQP as a Rate Control option for H264 and H265 encodes. +* api-change:``sagemaker``: Amazon SageMaker now supports automatic mounting of a user's home folder in the Amazon Elastic File System (EFS) associated with the SageMaker Studio domain to their Studio Spaces to enable users to share data between their own private spaces. +* api-change:``timestream-influxdb``: Timestream for InfluxDB now supports compute scaling and deployment type conversion. This release adds the DbInstanceType and DeploymentType parameters to the UpdateDbInstance API. + + 1.34.10 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 4299afe9c843..2c88ede73a84 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.34.10' +__version__ = '1.34.11' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index e48e5a391eac..1215e641f30f 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.34.' # The full version, including alpha/beta/rc tags. -release = '1.34.10' +release = '1.34.11' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index b3504677ac25..71423366f664 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.10 + botocore==1.35.11 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 9ea0f7e28df4..94f56b14bd51 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.10', + 'botocore==1.35.11', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From e8c811e3c8bd31a9c6d9945b258846ec598b3fed Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 4 Sep 2024 18:07:34 +0000 Subject: [PATCH 0182/1087] Update changelog based on model updates --- .changes/next-release/api-change-appsync-84246.json | 5 +++++ .changes/next-release/api-change-bedrockagent-52437.json | 5 +++++ .changes/next-release/api-change-finspace-24769.json | 5 +++++ .changes/next-release/api-change-fis-48071.json | 5 +++++ .changes/next-release/api-change-logs-32102.json | 5 +++++ .changes/next-release/api-change-s3control-28116.json | 5 +++++ 6 files changed, 30 insertions(+) create mode 100644 .changes/next-release/api-change-appsync-84246.json create mode 100644 .changes/next-release/api-change-bedrockagent-52437.json create mode 100644 .changes/next-release/api-change-finspace-24769.json create mode 100644 .changes/next-release/api-change-fis-48071.json create mode 100644 .changes/next-release/api-change-logs-32102.json create mode 100644 .changes/next-release/api-change-s3control-28116.json diff --git a/.changes/next-release/api-change-appsync-84246.json b/.changes/next-release/api-change-appsync-84246.json new file mode 100644 index 000000000000..d5eb4b269093 --- /dev/null +++ b/.changes/next-release/api-change-appsync-84246.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``appsync``", + "description": "Adds new logging levels (INFO and DEBUG) for additional log output control" +} diff --git a/.changes/next-release/api-change-bedrockagent-52437.json b/.changes/next-release/api-change-bedrockagent-52437.json new file mode 100644 index 000000000000..6924c7391f11 --- /dev/null +++ b/.changes/next-release/api-change-bedrockagent-52437.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-agent``", + "description": "Add support for user metadata inside PromptVariant." +} diff --git a/.changes/next-release/api-change-finspace-24769.json b/.changes/next-release/api-change-finspace-24769.json new file mode 100644 index 000000000000..4f27ac67da5f --- /dev/null +++ b/.changes/next-release/api-change-finspace-24769.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``finspace``", + "description": "Updates Finspace documentation for smaller instances." +} diff --git a/.changes/next-release/api-change-fis-48071.json b/.changes/next-release/api-change-fis-48071.json new file mode 100644 index 000000000000..284b2fb32dd4 --- /dev/null +++ b/.changes/next-release/api-change-fis-48071.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``fis``", + "description": "This release adds safety levers, a new mechanism to stop all running experiments and prevent new experiments from starting." +} diff --git a/.changes/next-release/api-change-logs-32102.json b/.changes/next-release/api-change-logs-32102.json new file mode 100644 index 000000000000..04db45339633 --- /dev/null +++ b/.changes/next-release/api-change-logs-32102.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``logs``", + "description": "Update to support new APIs for delivery of logs from AWS services." +} diff --git a/.changes/next-release/api-change-s3control-28116.json b/.changes/next-release/api-change-s3control-28116.json new file mode 100644 index 000000000000..24ab9e1fbd1e --- /dev/null +++ b/.changes/next-release/api-change-s3control-28116.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``s3control``", + "description": "Amazon Simple Storage Service /S3 Access Grants / Features : This release launches new Access Grants API - ListCallerAccessGrants." +} From cc940fa5ddc61ae86be8f11bf39a76bc94451d63 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 4 Sep 2024 18:08:56 +0000 Subject: [PATCH 0183/1087] Bumping version to 1.34.12 --- .changes/1.34.12.json | 32 +++++++++++++++++++ .../api-change-appsync-84246.json | 5 --- .../api-change-bedrockagent-52437.json | 5 --- .../api-change-finspace-24769.json | 5 --- .../next-release/api-change-fis-48071.json | 5 --- .../next-release/api-change-logs-32102.json | 5 --- .../api-change-s3control-28116.json | 5 --- CHANGELOG.rst | 11 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 12 files changed, 47 insertions(+), 34 deletions(-) create mode 100644 .changes/1.34.12.json delete mode 100644 .changes/next-release/api-change-appsync-84246.json delete mode 100644 .changes/next-release/api-change-bedrockagent-52437.json delete mode 100644 .changes/next-release/api-change-finspace-24769.json delete mode 100644 .changes/next-release/api-change-fis-48071.json delete mode 100644 .changes/next-release/api-change-logs-32102.json delete mode 100644 .changes/next-release/api-change-s3control-28116.json diff --git a/.changes/1.34.12.json b/.changes/1.34.12.json new file mode 100644 index 000000000000..5cba34828bf2 --- /dev/null +++ b/.changes/1.34.12.json @@ -0,0 +1,32 @@ +[ + { + "category": "``appsync``", + "description": "Adds new logging levels (INFO and DEBUG) for additional log output control", + "type": "api-change" + }, + { + "category": "``bedrock-agent``", + "description": "Add support for user metadata inside PromptVariant.", + "type": "api-change" + }, + { + "category": "``finspace``", + "description": "Updates Finspace documentation for smaller instances.", + "type": "api-change" + }, + { + "category": "``fis``", + "description": "This release adds safety levers, a new mechanism to stop all running experiments and prevent new experiments from starting.", + "type": "api-change" + }, + { + "category": "``logs``", + "description": "Update to support new APIs for delivery of logs from AWS services.", + "type": "api-change" + }, + { + "category": "``s3control``", + "description": "Amazon Simple Storage Service /S3 Access Grants / Features : This release launches new Access Grants API - ListCallerAccessGrants.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-appsync-84246.json b/.changes/next-release/api-change-appsync-84246.json deleted file mode 100644 index d5eb4b269093..000000000000 --- a/.changes/next-release/api-change-appsync-84246.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``appsync``", - "description": "Adds new logging levels (INFO and DEBUG) for additional log output control" -} diff --git a/.changes/next-release/api-change-bedrockagent-52437.json b/.changes/next-release/api-change-bedrockagent-52437.json deleted file mode 100644 index 6924c7391f11..000000000000 --- a/.changes/next-release/api-change-bedrockagent-52437.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-agent``", - "description": "Add support for user metadata inside PromptVariant." -} diff --git a/.changes/next-release/api-change-finspace-24769.json b/.changes/next-release/api-change-finspace-24769.json deleted file mode 100644 index 4f27ac67da5f..000000000000 --- a/.changes/next-release/api-change-finspace-24769.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``finspace``", - "description": "Updates Finspace documentation for smaller instances." -} diff --git a/.changes/next-release/api-change-fis-48071.json b/.changes/next-release/api-change-fis-48071.json deleted file mode 100644 index 284b2fb32dd4..000000000000 --- a/.changes/next-release/api-change-fis-48071.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``fis``", - "description": "This release adds safety levers, a new mechanism to stop all running experiments and prevent new experiments from starting." -} diff --git a/.changes/next-release/api-change-logs-32102.json b/.changes/next-release/api-change-logs-32102.json deleted file mode 100644 index 04db45339633..000000000000 --- a/.changes/next-release/api-change-logs-32102.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``logs``", - "description": "Update to support new APIs for delivery of logs from AWS services." -} diff --git a/.changes/next-release/api-change-s3control-28116.json b/.changes/next-release/api-change-s3control-28116.json deleted file mode 100644 index 24ab9e1fbd1e..000000000000 --- a/.changes/next-release/api-change-s3control-28116.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``s3control``", - "description": "Amazon Simple Storage Service /S3 Access Grants / Features : This release launches new Access Grants API - ListCallerAccessGrants." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index fd3588e431ad..0120b96bab89 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,17 @@ CHANGELOG ========= +1.34.12 +======= + +* api-change:``appsync``: Adds new logging levels (INFO and DEBUG) for additional log output control +* api-change:``bedrock-agent``: Add support for user metadata inside PromptVariant. +* api-change:``finspace``: Updates Finspace documentation for smaller instances. +* api-change:``fis``: This release adds safety levers, a new mechanism to stop all running experiments and prevent new experiments from starting. +* api-change:``logs``: Update to support new APIs for delivery of logs from AWS services. +* api-change:``s3control``: Amazon Simple Storage Service /S3 Access Grants / Features : This release launches new Access Grants API - ListCallerAccessGrants. + + 1.34.11 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 2c88ede73a84..9b2d6c5fa9de 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.34.11' +__version__ = '1.34.12' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 1215e641f30f..54b1dc374698 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.34.' # The full version, including alpha/beta/rc tags. -release = '1.34.11' +release = '1.34.12' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 71423366f664..c74cd6ec866f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.11 + botocore==1.35.12 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 94f56b14bd51..82f81318ec96 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.11', + 'botocore==1.35.12', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From d02baca84e15ea09f5192f330d53594c9b98c7e7 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 5 Sep 2024 18:03:51 +0000 Subject: [PATCH 0184/1087] Update changelog based on model updates --- .../next-release/api-change-applicationsignals-51234.json | 5 +++++ .changes/next-release/api-change-codepipeline-31471.json | 5 +++++ .changes/next-release/api-change-connect-92703.json | 5 +++++ .changes/next-release/api-change-gamelift-16682.json | 5 +++++ .../next-release/api-change-kinesisanalyticsv2-59203.json | 5 +++++ .changes/next-release/api-change-sagemaker-2804.json | 5 +++++ 6 files changed, 30 insertions(+) create mode 100644 .changes/next-release/api-change-applicationsignals-51234.json create mode 100644 .changes/next-release/api-change-codepipeline-31471.json create mode 100644 .changes/next-release/api-change-connect-92703.json create mode 100644 .changes/next-release/api-change-gamelift-16682.json create mode 100644 .changes/next-release/api-change-kinesisanalyticsv2-59203.json create mode 100644 .changes/next-release/api-change-sagemaker-2804.json diff --git a/.changes/next-release/api-change-applicationsignals-51234.json b/.changes/next-release/api-change-applicationsignals-51234.json new file mode 100644 index 000000000000..337273cea275 --- /dev/null +++ b/.changes/next-release/api-change-applicationsignals-51234.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``application-signals``", + "description": "Amazon CloudWatch Application Signals now supports creating Service Level Objectives using a new calculation type. Users can now create SLOs which are configured with request-based SLIs to help meet their specific business requirements." +} diff --git a/.changes/next-release/api-change-codepipeline-31471.json b/.changes/next-release/api-change-codepipeline-31471.json new file mode 100644 index 000000000000..ad921b850c16 --- /dev/null +++ b/.changes/next-release/api-change-codepipeline-31471.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``codepipeline``", + "description": "Updates to add recent notes to APIs and to replace example S3 bucket names globally." +} diff --git a/.changes/next-release/api-change-connect-92703.json b/.changes/next-release/api-change-connect-92703.json new file mode 100644 index 000000000000..b26761bee948 --- /dev/null +++ b/.changes/next-release/api-change-connect-92703.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``connect``", + "description": "Amazon Connect Custom Vocabulary now supports Catalan (Spain), Danish (Denmark), Dutch (Netherlands), Finnish (Finland), Indonesian (Indonesia), Malay (Malaysia), Norwegian Bokmal (Norway), Polish (Poland), Swedish (Sweden), and Tagalog/Filipino (Philippines)." +} diff --git a/.changes/next-release/api-change-gamelift-16682.json b/.changes/next-release/api-change-gamelift-16682.json new file mode 100644 index 000000000000..9728ea27b311 --- /dev/null +++ b/.changes/next-release/api-change-gamelift-16682.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``gamelift``", + "description": "Amazon GameLift provides additional events for tracking the fleet creation process." +} diff --git a/.changes/next-release/api-change-kinesisanalyticsv2-59203.json b/.changes/next-release/api-change-kinesisanalyticsv2-59203.json new file mode 100644 index 000000000000..b6104f811100 --- /dev/null +++ b/.changes/next-release/api-change-kinesisanalyticsv2-59203.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``kinesisanalyticsv2``", + "description": "Support for Flink 1.20 in Managed Service for Apache Flink" +} diff --git a/.changes/next-release/api-change-sagemaker-2804.json b/.changes/next-release/api-change-sagemaker-2804.json new file mode 100644 index 000000000000..6004dc0520db --- /dev/null +++ b/.changes/next-release/api-change-sagemaker-2804.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``sagemaker``", + "description": "Amazon SageMaker now supports idle shutdown of JupyterLab and CodeEditor applications on SageMaker Studio." +} From bdb22700ed7d9fa24be12b4547f5609ed498923b Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 5 Sep 2024 18:05:14 +0000 Subject: [PATCH 0185/1087] Bumping version to 1.34.13 --- .changes/1.34.13.json | 32 +++++++++++++++++++ .../api-change-applicationsignals-51234.json | 5 --- .../api-change-codepipeline-31471.json | 5 --- .../api-change-connect-92703.json | 5 --- .../api-change-gamelift-16682.json | 5 --- .../api-change-kinesisanalyticsv2-59203.json | 5 --- .../api-change-sagemaker-2804.json | 5 --- CHANGELOG.rst | 11 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 12 files changed, 47 insertions(+), 34 deletions(-) create mode 100644 .changes/1.34.13.json delete mode 100644 .changes/next-release/api-change-applicationsignals-51234.json delete mode 100644 .changes/next-release/api-change-codepipeline-31471.json delete mode 100644 .changes/next-release/api-change-connect-92703.json delete mode 100644 .changes/next-release/api-change-gamelift-16682.json delete mode 100644 .changes/next-release/api-change-kinesisanalyticsv2-59203.json delete mode 100644 .changes/next-release/api-change-sagemaker-2804.json diff --git a/.changes/1.34.13.json b/.changes/1.34.13.json new file mode 100644 index 000000000000..ab4e0c5d5c0d --- /dev/null +++ b/.changes/1.34.13.json @@ -0,0 +1,32 @@ +[ + { + "category": "``application-signals``", + "description": "Amazon CloudWatch Application Signals now supports creating Service Level Objectives using a new calculation type. Users can now create SLOs which are configured with request-based SLIs to help meet their specific business requirements.", + "type": "api-change" + }, + { + "category": "``codepipeline``", + "description": "Updates to add recent notes to APIs and to replace example S3 bucket names globally.", + "type": "api-change" + }, + { + "category": "``connect``", + "description": "Amazon Connect Custom Vocabulary now supports Catalan (Spain), Danish (Denmark), Dutch (Netherlands), Finnish (Finland), Indonesian (Indonesia), Malay (Malaysia), Norwegian Bokmal (Norway), Polish (Poland), Swedish (Sweden), and Tagalog/Filipino (Philippines).", + "type": "api-change" + }, + { + "category": "``gamelift``", + "description": "Amazon GameLift provides additional events for tracking the fleet creation process.", + "type": "api-change" + }, + { + "category": "``kinesisanalyticsv2``", + "description": "Support for Flink 1.20 in Managed Service for Apache Flink", + "type": "api-change" + }, + { + "category": "``sagemaker``", + "description": "Amazon SageMaker now supports idle shutdown of JupyterLab and CodeEditor applications on SageMaker Studio.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-applicationsignals-51234.json b/.changes/next-release/api-change-applicationsignals-51234.json deleted file mode 100644 index 337273cea275..000000000000 --- a/.changes/next-release/api-change-applicationsignals-51234.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``application-signals``", - "description": "Amazon CloudWatch Application Signals now supports creating Service Level Objectives using a new calculation type. Users can now create SLOs which are configured with request-based SLIs to help meet their specific business requirements." -} diff --git a/.changes/next-release/api-change-codepipeline-31471.json b/.changes/next-release/api-change-codepipeline-31471.json deleted file mode 100644 index ad921b850c16..000000000000 --- a/.changes/next-release/api-change-codepipeline-31471.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``codepipeline``", - "description": "Updates to add recent notes to APIs and to replace example S3 bucket names globally." -} diff --git a/.changes/next-release/api-change-connect-92703.json b/.changes/next-release/api-change-connect-92703.json deleted file mode 100644 index b26761bee948..000000000000 --- a/.changes/next-release/api-change-connect-92703.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``connect``", - "description": "Amazon Connect Custom Vocabulary now supports Catalan (Spain), Danish (Denmark), Dutch (Netherlands), Finnish (Finland), Indonesian (Indonesia), Malay (Malaysia), Norwegian Bokmal (Norway), Polish (Poland), Swedish (Sweden), and Tagalog/Filipino (Philippines)." -} diff --git a/.changes/next-release/api-change-gamelift-16682.json b/.changes/next-release/api-change-gamelift-16682.json deleted file mode 100644 index 9728ea27b311..000000000000 --- a/.changes/next-release/api-change-gamelift-16682.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``gamelift``", - "description": "Amazon GameLift provides additional events for tracking the fleet creation process." -} diff --git a/.changes/next-release/api-change-kinesisanalyticsv2-59203.json b/.changes/next-release/api-change-kinesisanalyticsv2-59203.json deleted file mode 100644 index b6104f811100..000000000000 --- a/.changes/next-release/api-change-kinesisanalyticsv2-59203.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``kinesisanalyticsv2``", - "description": "Support for Flink 1.20 in Managed Service for Apache Flink" -} diff --git a/.changes/next-release/api-change-sagemaker-2804.json b/.changes/next-release/api-change-sagemaker-2804.json deleted file mode 100644 index 6004dc0520db..000000000000 --- a/.changes/next-release/api-change-sagemaker-2804.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``sagemaker``", - "description": "Amazon SageMaker now supports idle shutdown of JupyterLab and CodeEditor applications on SageMaker Studio." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 0120b96bab89..4acad2de406e 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,17 @@ CHANGELOG ========= +1.34.13 +======= + +* api-change:``application-signals``: Amazon CloudWatch Application Signals now supports creating Service Level Objectives using a new calculation type. Users can now create SLOs which are configured with request-based SLIs to help meet their specific business requirements. +* api-change:``codepipeline``: Updates to add recent notes to APIs and to replace example S3 bucket names globally. +* api-change:``connect``: Amazon Connect Custom Vocabulary now supports Catalan (Spain), Danish (Denmark), Dutch (Netherlands), Finnish (Finland), Indonesian (Indonesia), Malay (Malaysia), Norwegian Bokmal (Norway), Polish (Poland), Swedish (Sweden), and Tagalog/Filipino (Philippines). +* api-change:``gamelift``: Amazon GameLift provides additional events for tracking the fleet creation process. +* api-change:``kinesisanalyticsv2``: Support for Flink 1.20 in Managed Service for Apache Flink +* api-change:``sagemaker``: Amazon SageMaker now supports idle shutdown of JupyterLab and CodeEditor applications on SageMaker Studio. + + 1.34.12 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 9b2d6c5fa9de..d3355341ad5f 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.34.12' +__version__ = '1.34.13' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 54b1dc374698..3da8b56c5d2a 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.34.' # The full version, including alpha/beta/rc tags. -release = '1.34.12' +release = '1.34.13' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index c74cd6ec866f..2fb76260f2da 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.12 + botocore==1.35.13 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 82f81318ec96..6843ee919cab 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.12', + 'botocore==1.35.13', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 0a1f70c1959f205e2b8f700ba04babe1e650c5dc Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 6 Sep 2024 18:06:05 +0000 Subject: [PATCH 0186/1087] Update changelog based on model updates --- .changes/next-release/api-change-qapps-45844.json | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changes/next-release/api-change-qapps-45844.json diff --git a/.changes/next-release/api-change-qapps-45844.json b/.changes/next-release/api-change-qapps-45844.json new file mode 100644 index 000000000000..f2bb12b2c16e --- /dev/null +++ b/.changes/next-release/api-change-qapps-45844.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``qapps``", + "description": "Adds UpdateLibraryItemMetadata api to change status of app for admin verification feature and returns isVerified field in any api returning the app or library item." +} From f7b412486696656e99070caf63bbce23e4714c51 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 6 Sep 2024 18:07:24 +0000 Subject: [PATCH 0187/1087] Bumping version to 1.34.14 --- .changes/1.34.14.json | 7 +++++++ .changes/next-release/api-change-qapps-45844.json | 5 ----- CHANGELOG.rst | 6 ++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 7 files changed, 17 insertions(+), 9 deletions(-) create mode 100644 .changes/1.34.14.json delete mode 100644 .changes/next-release/api-change-qapps-45844.json diff --git a/.changes/1.34.14.json b/.changes/1.34.14.json new file mode 100644 index 000000000000..500f5a6ec5bb --- /dev/null +++ b/.changes/1.34.14.json @@ -0,0 +1,7 @@ +[ + { + "category": "``qapps``", + "description": "Adds UpdateLibraryItemMetadata api to change status of app for admin verification feature and returns isVerified field in any api returning the app or library item.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-qapps-45844.json b/.changes/next-release/api-change-qapps-45844.json deleted file mode 100644 index f2bb12b2c16e..000000000000 --- a/.changes/next-release/api-change-qapps-45844.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``qapps``", - "description": "Adds UpdateLibraryItemMetadata api to change status of app for admin verification feature and returns isVerified field in any api returning the app or library item." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 4acad2de406e..691fd08c94d9 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,12 @@ CHANGELOG ========= +1.34.14 +======= + +* api-change:``qapps``: Adds UpdateLibraryItemMetadata api to change status of app for admin verification feature and returns isVerified field in any api returning the app or library item. + + 1.34.13 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index d3355341ad5f..2fe84941d489 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.34.13' +__version__ = '1.34.14' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 3da8b56c5d2a..c789b457c798 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.34.' # The full version, including alpha/beta/rc tags. -release = '1.34.13' +release = '1.34.14' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 2fb76260f2da..8c91daf31d1f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.13 + botocore==1.35.14 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 6843ee919cab..267f47daf303 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.13', + 'botocore==1.35.14', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 7372c317378538e41fb36fed54d69762df1c5b92 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 9 Sep 2024 20:11:16 +0000 Subject: [PATCH 0188/1087] Update changelog based on model updates --- .changes/next-release/api-change-dynamodb-44308.json | 5 +++++ .changes/next-release/api-change-elbv2-23798.json | 5 +++++ .changes/next-release/api-change-ivsrealtime-57075.json | 5 +++++ .changes/next-release/api-change-kafka-59129.json | 5 +++++ .changes/next-release/api-change-sagemaker-71538.json | 5 +++++ .changes/next-release/api-change-sagemakerruntime-25865.json | 5 +++++ 6 files changed, 30 insertions(+) create mode 100644 .changes/next-release/api-change-dynamodb-44308.json create mode 100644 .changes/next-release/api-change-elbv2-23798.json create mode 100644 .changes/next-release/api-change-ivsrealtime-57075.json create mode 100644 .changes/next-release/api-change-kafka-59129.json create mode 100644 .changes/next-release/api-change-sagemaker-71538.json create mode 100644 .changes/next-release/api-change-sagemakerruntime-25865.json diff --git a/.changes/next-release/api-change-dynamodb-44308.json b/.changes/next-release/api-change-dynamodb-44308.json new file mode 100644 index 000000000000..1b59536eaa2c --- /dev/null +++ b/.changes/next-release/api-change-dynamodb-44308.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``dynamodb``", + "description": "Doc-only update for DynamoDB. Added information about async behavior for TagResource and UntagResource APIs and updated the description of ResourceInUseException." +} diff --git a/.changes/next-release/api-change-elbv2-23798.json b/.changes/next-release/api-change-elbv2-23798.json new file mode 100644 index 000000000000..a0377c95d1cc --- /dev/null +++ b/.changes/next-release/api-change-elbv2-23798.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``elbv2``", + "description": "Add paginators for the ELBv2 DescribeListenerCertificates and DescribeRules APIs. Fix broken waiter for the ELBv2 DescribeLoadBalancers API." +} diff --git a/.changes/next-release/api-change-ivsrealtime-57075.json b/.changes/next-release/api-change-ivsrealtime-57075.json new file mode 100644 index 000000000000..bcbfb58c6d01 --- /dev/null +++ b/.changes/next-release/api-change-ivsrealtime-57075.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ivs-realtime``", + "description": "IVS Real-Time now offers customers the ability to broadcast to Stages using RTMP(S)." +} diff --git a/.changes/next-release/api-change-kafka-59129.json b/.changes/next-release/api-change-kafka-59129.json new file mode 100644 index 000000000000..eb430ed11f5a --- /dev/null +++ b/.changes/next-release/api-change-kafka-59129.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``kafka``", + "description": "Amazon MSK Replicator can now replicate data to identically named topics between MSK clusters within the same AWS Region or across different AWS Regions." +} diff --git a/.changes/next-release/api-change-sagemaker-71538.json b/.changes/next-release/api-change-sagemaker-71538.json new file mode 100644 index 000000000000..718ea24d3807 --- /dev/null +++ b/.changes/next-release/api-change-sagemaker-71538.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``sagemaker``", + "description": "Amazon Sagemaker supports orchestrating SageMaker HyperPod clusters with Amazon EKS" +} diff --git a/.changes/next-release/api-change-sagemakerruntime-25865.json b/.changes/next-release/api-change-sagemakerruntime-25865.json new file mode 100644 index 000000000000..f7341abfcbd6 --- /dev/null +++ b/.changes/next-release/api-change-sagemakerruntime-25865.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``sagemaker-runtime``", + "description": "AWS SageMaker Runtime feature: Add sticky routing to support stateful inference models." +} From 81bb44b2e7820d9b66826bf7a3e1175c157dd755 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 9 Sep 2024 20:12:33 +0000 Subject: [PATCH 0189/1087] Bumping version to 1.34.15 --- .changes/1.34.15.json | 32 +++++++++++++++++++ .../api-change-dynamodb-44308.json | 5 --- .../next-release/api-change-elbv2-23798.json | 5 --- .../api-change-ivsrealtime-57075.json | 5 --- .../next-release/api-change-kafka-59129.json | 5 --- .../api-change-sagemaker-71538.json | 5 --- .../api-change-sagemakerruntime-25865.json | 5 --- CHANGELOG.rst | 11 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 12 files changed, 47 insertions(+), 34 deletions(-) create mode 100644 .changes/1.34.15.json delete mode 100644 .changes/next-release/api-change-dynamodb-44308.json delete mode 100644 .changes/next-release/api-change-elbv2-23798.json delete mode 100644 .changes/next-release/api-change-ivsrealtime-57075.json delete mode 100644 .changes/next-release/api-change-kafka-59129.json delete mode 100644 .changes/next-release/api-change-sagemaker-71538.json delete mode 100644 .changes/next-release/api-change-sagemakerruntime-25865.json diff --git a/.changes/1.34.15.json b/.changes/1.34.15.json new file mode 100644 index 000000000000..b6a59055f0d9 --- /dev/null +++ b/.changes/1.34.15.json @@ -0,0 +1,32 @@ +[ + { + "category": "``dynamodb``", + "description": "Doc-only update for DynamoDB. Added information about async behavior for TagResource and UntagResource APIs and updated the description of ResourceInUseException.", + "type": "api-change" + }, + { + "category": "``elbv2``", + "description": "Add paginators for the ELBv2 DescribeListenerCertificates and DescribeRules APIs. Fix broken waiter for the ELBv2 DescribeLoadBalancers API.", + "type": "api-change" + }, + { + "category": "``ivs-realtime``", + "description": "IVS Real-Time now offers customers the ability to broadcast to Stages using RTMP(S).", + "type": "api-change" + }, + { + "category": "``kafka``", + "description": "Amazon MSK Replicator can now replicate data to identically named topics between MSK clusters within the same AWS Region or across different AWS Regions.", + "type": "api-change" + }, + { + "category": "``sagemaker``", + "description": "Amazon Sagemaker supports orchestrating SageMaker HyperPod clusters with Amazon EKS", + "type": "api-change" + }, + { + "category": "``sagemaker-runtime``", + "description": "AWS SageMaker Runtime feature: Add sticky routing to support stateful inference models.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-dynamodb-44308.json b/.changes/next-release/api-change-dynamodb-44308.json deleted file mode 100644 index 1b59536eaa2c..000000000000 --- a/.changes/next-release/api-change-dynamodb-44308.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``dynamodb``", - "description": "Doc-only update for DynamoDB. Added information about async behavior for TagResource and UntagResource APIs and updated the description of ResourceInUseException." -} diff --git a/.changes/next-release/api-change-elbv2-23798.json b/.changes/next-release/api-change-elbv2-23798.json deleted file mode 100644 index a0377c95d1cc..000000000000 --- a/.changes/next-release/api-change-elbv2-23798.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``elbv2``", - "description": "Add paginators for the ELBv2 DescribeListenerCertificates and DescribeRules APIs. Fix broken waiter for the ELBv2 DescribeLoadBalancers API." -} diff --git a/.changes/next-release/api-change-ivsrealtime-57075.json b/.changes/next-release/api-change-ivsrealtime-57075.json deleted file mode 100644 index bcbfb58c6d01..000000000000 --- a/.changes/next-release/api-change-ivsrealtime-57075.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ivs-realtime``", - "description": "IVS Real-Time now offers customers the ability to broadcast to Stages using RTMP(S)." -} diff --git a/.changes/next-release/api-change-kafka-59129.json b/.changes/next-release/api-change-kafka-59129.json deleted file mode 100644 index eb430ed11f5a..000000000000 --- a/.changes/next-release/api-change-kafka-59129.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``kafka``", - "description": "Amazon MSK Replicator can now replicate data to identically named topics between MSK clusters within the same AWS Region or across different AWS Regions." -} diff --git a/.changes/next-release/api-change-sagemaker-71538.json b/.changes/next-release/api-change-sagemaker-71538.json deleted file mode 100644 index 718ea24d3807..000000000000 --- a/.changes/next-release/api-change-sagemaker-71538.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``sagemaker``", - "description": "Amazon Sagemaker supports orchestrating SageMaker HyperPod clusters with Amazon EKS" -} diff --git a/.changes/next-release/api-change-sagemakerruntime-25865.json b/.changes/next-release/api-change-sagemakerruntime-25865.json deleted file mode 100644 index f7341abfcbd6..000000000000 --- a/.changes/next-release/api-change-sagemakerruntime-25865.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``sagemaker-runtime``", - "description": "AWS SageMaker Runtime feature: Add sticky routing to support stateful inference models." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 691fd08c94d9..cfe6463e8219 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,17 @@ CHANGELOG ========= +1.34.15 +======= + +* api-change:``dynamodb``: Doc-only update for DynamoDB. Added information about async behavior for TagResource and UntagResource APIs and updated the description of ResourceInUseException. +* api-change:``elbv2``: Add paginators for the ELBv2 DescribeListenerCertificates and DescribeRules APIs. Fix broken waiter for the ELBv2 DescribeLoadBalancers API. +* api-change:``ivs-realtime``: IVS Real-Time now offers customers the ability to broadcast to Stages using RTMP(S). +* api-change:``kafka``: Amazon MSK Replicator can now replicate data to identically named topics between MSK clusters within the same AWS Region or across different AWS Regions. +* api-change:``sagemaker``: Amazon Sagemaker supports orchestrating SageMaker HyperPod clusters with Amazon EKS +* api-change:``sagemaker-runtime``: AWS SageMaker Runtime feature: Add sticky routing to support stateful inference models. + + 1.34.14 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 2fe84941d489..d4ad4132276a 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.34.14' +__version__ = '1.34.15' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index c789b457c798..1ef00e7be537 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.34.' # The full version, including alpha/beta/rc tags. -release = '1.34.14' +release = '1.34.15' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 8c91daf31d1f..3413acf8037c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.14 + botocore==1.35.15 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 267f47daf303..d44492cb8b4f 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.14', + 'botocore==1.35.15', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 30fa3180fc470fe0fa2b373a99f1daed9a9f6e3b Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 10 Sep 2024 18:17:32 +0000 Subject: [PATCH 0190/1087] Update changelog based on model updates --- .changes/next-release/api-change-chimesdkvoice-69034.json | 5 +++++ .changes/next-release/api-change-cognitoidentity-11387.json | 5 +++++ .changes/next-release/api-change-pipes-91043.json | 5 +++++ .changes/next-release/api-change-securityhub-76864.json | 5 +++++ 4 files changed, 20 insertions(+) create mode 100644 .changes/next-release/api-change-chimesdkvoice-69034.json create mode 100644 .changes/next-release/api-change-cognitoidentity-11387.json create mode 100644 .changes/next-release/api-change-pipes-91043.json create mode 100644 .changes/next-release/api-change-securityhub-76864.json diff --git a/.changes/next-release/api-change-chimesdkvoice-69034.json b/.changes/next-release/api-change-chimesdkvoice-69034.json new file mode 100644 index 000000000000..38801e74a631 --- /dev/null +++ b/.changes/next-release/api-change-chimesdkvoice-69034.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``chime-sdk-voice``", + "description": "Documentation-only update that clarifies the ValidateE911Address action of the Amazon Chime SDK Voice APIs." +} diff --git a/.changes/next-release/api-change-cognitoidentity-11387.json b/.changes/next-release/api-change-cognitoidentity-11387.json new file mode 100644 index 000000000000..4bce39ffa6e2 --- /dev/null +++ b/.changes/next-release/api-change-cognitoidentity-11387.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``cognito-identity``", + "description": "This release adds sensitive trait to some required shapes." +} diff --git a/.changes/next-release/api-change-pipes-91043.json b/.changes/next-release/api-change-pipes-91043.json new file mode 100644 index 000000000000..68c0a3c20f9a --- /dev/null +++ b/.changes/next-release/api-change-pipes-91043.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``pipes``", + "description": "This release adds support for customer managed KMS keys in Amazon EventBridge Pipe" +} diff --git a/.changes/next-release/api-change-securityhub-76864.json b/.changes/next-release/api-change-securityhub-76864.json new file mode 100644 index 000000000000..7b688a190633 --- /dev/null +++ b/.changes/next-release/api-change-securityhub-76864.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``securityhub``", + "description": "Documentation update for Security Hub" +} From c7d31aa3406a445c648eadecb9d528f830b7da40 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 10 Sep 2024 18:18:56 +0000 Subject: [PATCH 0191/1087] Bumping version to 1.34.16 --- .changes/1.34.16.json | 22 +++++++++++++++++++ .../api-change-chimesdkvoice-69034.json | 5 ----- .../api-change-cognitoidentity-11387.json | 5 ----- .../next-release/api-change-pipes-91043.json | 5 ----- .../api-change-securityhub-76864.json | 5 ----- CHANGELOG.rst | 9 ++++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 10 files changed, 35 insertions(+), 24 deletions(-) create mode 100644 .changes/1.34.16.json delete mode 100644 .changes/next-release/api-change-chimesdkvoice-69034.json delete mode 100644 .changes/next-release/api-change-cognitoidentity-11387.json delete mode 100644 .changes/next-release/api-change-pipes-91043.json delete mode 100644 .changes/next-release/api-change-securityhub-76864.json diff --git a/.changes/1.34.16.json b/.changes/1.34.16.json new file mode 100644 index 000000000000..469de838a27f --- /dev/null +++ b/.changes/1.34.16.json @@ -0,0 +1,22 @@ +[ + { + "category": "``chime-sdk-voice``", + "description": "Documentation-only update that clarifies the ValidateE911Address action of the Amazon Chime SDK Voice APIs.", + "type": "api-change" + }, + { + "category": "``cognito-identity``", + "description": "This release adds sensitive trait to some required shapes.", + "type": "api-change" + }, + { + "category": "``pipes``", + "description": "This release adds support for customer managed KMS keys in Amazon EventBridge Pipe", + "type": "api-change" + }, + { + "category": "``securityhub``", + "description": "Documentation update for Security Hub", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-chimesdkvoice-69034.json b/.changes/next-release/api-change-chimesdkvoice-69034.json deleted file mode 100644 index 38801e74a631..000000000000 --- a/.changes/next-release/api-change-chimesdkvoice-69034.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``chime-sdk-voice``", - "description": "Documentation-only update that clarifies the ValidateE911Address action of the Amazon Chime SDK Voice APIs." -} diff --git a/.changes/next-release/api-change-cognitoidentity-11387.json b/.changes/next-release/api-change-cognitoidentity-11387.json deleted file mode 100644 index 4bce39ffa6e2..000000000000 --- a/.changes/next-release/api-change-cognitoidentity-11387.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``cognito-identity``", - "description": "This release adds sensitive trait to some required shapes." -} diff --git a/.changes/next-release/api-change-pipes-91043.json b/.changes/next-release/api-change-pipes-91043.json deleted file mode 100644 index 68c0a3c20f9a..000000000000 --- a/.changes/next-release/api-change-pipes-91043.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``pipes``", - "description": "This release adds support for customer managed KMS keys in Amazon EventBridge Pipe" -} diff --git a/.changes/next-release/api-change-securityhub-76864.json b/.changes/next-release/api-change-securityhub-76864.json deleted file mode 100644 index 7b688a190633..000000000000 --- a/.changes/next-release/api-change-securityhub-76864.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``securityhub``", - "description": "Documentation update for Security Hub" -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index cfe6463e8219..efcce986880c 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,15 @@ CHANGELOG ========= +1.34.16 +======= + +* api-change:``chime-sdk-voice``: Documentation-only update that clarifies the ValidateE911Address action of the Amazon Chime SDK Voice APIs. +* api-change:``cognito-identity``: This release adds sensitive trait to some required shapes. +* api-change:``pipes``: This release adds support for customer managed KMS keys in Amazon EventBridge Pipe +* api-change:``securityhub``: Documentation update for Security Hub + + 1.34.15 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index d4ad4132276a..c52d8daff8eb 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.34.15' +__version__ = '1.34.16' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 1ef00e7be537..28147a7808ab 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.34.' # The full version, including alpha/beta/rc tags. -release = '1.34.15' +release = '1.34.16' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 3413acf8037c..7dca8c11dc23 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.15 + botocore==1.35.16 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index d44492cb8b4f..b743038168a0 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.15', + 'botocore==1.35.16', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 324079aca5d33a03168571e07ffafa0dd19a0d5e Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 11 Sep 2024 18:14:18 +0000 Subject: [PATCH 0192/1087] Update changelog based on model updates --- .changes/next-release/api-change-bedrockagent-10223.json | 5 +++++ .../next-release/api-change-bedrockagentruntime-45016.json | 5 +++++ .changes/next-release/api-change-ecr-50174.json | 5 +++++ .changes/next-release/api-change-guardduty-32869.json | 5 +++++ .changes/next-release/api-change-lexv2models-49100.json | 5 +++++ .changes/next-release/api-change-medialive-76504.json | 5 +++++ 6 files changed, 30 insertions(+) create mode 100644 .changes/next-release/api-change-bedrockagent-10223.json create mode 100644 .changes/next-release/api-change-bedrockagentruntime-45016.json create mode 100644 .changes/next-release/api-change-ecr-50174.json create mode 100644 .changes/next-release/api-change-guardduty-32869.json create mode 100644 .changes/next-release/api-change-lexv2models-49100.json create mode 100644 .changes/next-release/api-change-medialive-76504.json diff --git a/.changes/next-release/api-change-bedrockagent-10223.json b/.changes/next-release/api-change-bedrockagent-10223.json new file mode 100644 index 000000000000..85ac422911c6 --- /dev/null +++ b/.changes/next-release/api-change-bedrockagent-10223.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-agent``", + "description": "Amazon Bedrock Knowledge Bases now supports using inference profiles to increase throughput and improve resilience." +} diff --git a/.changes/next-release/api-change-bedrockagentruntime-45016.json b/.changes/next-release/api-change-bedrockagentruntime-45016.json new file mode 100644 index 000000000000..3d5eb0ac9f23 --- /dev/null +++ b/.changes/next-release/api-change-bedrockagentruntime-45016.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-agent-runtime``", + "description": "Amazon Bedrock Knowledge Bases now supports using inference profiles to increase throughput and improve resilience." +} diff --git a/.changes/next-release/api-change-ecr-50174.json b/.changes/next-release/api-change-ecr-50174.json new file mode 100644 index 000000000000..e26377b2d880 --- /dev/null +++ b/.changes/next-release/api-change-ecr-50174.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ecr``", + "description": "Added KMS_DSSE to EncryptionType" +} diff --git a/.changes/next-release/api-change-guardduty-32869.json b/.changes/next-release/api-change-guardduty-32869.json new file mode 100644 index 000000000000..da71e6f2978e --- /dev/null +++ b/.changes/next-release/api-change-guardduty-32869.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``guardduty``", + "description": "Add support for new statistic types in GetFindingsStatistics." +} diff --git a/.changes/next-release/api-change-lexv2models-49100.json b/.changes/next-release/api-change-lexv2models-49100.json new file mode 100644 index 000000000000..819cfc1dc825 --- /dev/null +++ b/.changes/next-release/api-change-lexv2models-49100.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``lexv2-models``", + "description": "Support new Polly voice engines in VoiceSettings: long-form and generative" +} diff --git a/.changes/next-release/api-change-medialive-76504.json b/.changes/next-release/api-change-medialive-76504.json new file mode 100644 index 000000000000..1caf1c344d81 --- /dev/null +++ b/.changes/next-release/api-change-medialive-76504.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``medialive``", + "description": "Adds AV1 Codec support, SRT ouputs, and MediaLive Anywhere support." +} From 5035d41c94b0c07c33bdc848bba81b470133d67d Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 11 Sep 2024 18:15:42 +0000 Subject: [PATCH 0193/1087] Bumping version to 1.34.17 --- .changes/1.34.17.json | 32 +++++++++++++++++++ .../api-change-bedrockagent-10223.json | 5 --- .../api-change-bedrockagentruntime-45016.json | 5 --- .../next-release/api-change-ecr-50174.json | 5 --- .../api-change-guardduty-32869.json | 5 --- .../api-change-lexv2models-49100.json | 5 --- .../api-change-medialive-76504.json | 5 --- CHANGELOG.rst | 11 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 12 files changed, 47 insertions(+), 34 deletions(-) create mode 100644 .changes/1.34.17.json delete mode 100644 .changes/next-release/api-change-bedrockagent-10223.json delete mode 100644 .changes/next-release/api-change-bedrockagentruntime-45016.json delete mode 100644 .changes/next-release/api-change-ecr-50174.json delete mode 100644 .changes/next-release/api-change-guardduty-32869.json delete mode 100644 .changes/next-release/api-change-lexv2models-49100.json delete mode 100644 .changes/next-release/api-change-medialive-76504.json diff --git a/.changes/1.34.17.json b/.changes/1.34.17.json new file mode 100644 index 000000000000..654201bd16f6 --- /dev/null +++ b/.changes/1.34.17.json @@ -0,0 +1,32 @@ +[ + { + "category": "``bedrock-agent``", + "description": "Amazon Bedrock Knowledge Bases now supports using inference profiles to increase throughput and improve resilience.", + "type": "api-change" + }, + { + "category": "``bedrock-agent-runtime``", + "description": "Amazon Bedrock Knowledge Bases now supports using inference profiles to increase throughput and improve resilience.", + "type": "api-change" + }, + { + "category": "``ecr``", + "description": "Added KMS_DSSE to EncryptionType", + "type": "api-change" + }, + { + "category": "``guardduty``", + "description": "Add support for new statistic types in GetFindingsStatistics.", + "type": "api-change" + }, + { + "category": "``lexv2-models``", + "description": "Support new Polly voice engines in VoiceSettings: long-form and generative", + "type": "api-change" + }, + { + "category": "``medialive``", + "description": "Adds AV1 Codec support, SRT ouputs, and MediaLive Anywhere support.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-bedrockagent-10223.json b/.changes/next-release/api-change-bedrockagent-10223.json deleted file mode 100644 index 85ac422911c6..000000000000 --- a/.changes/next-release/api-change-bedrockagent-10223.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-agent``", - "description": "Amazon Bedrock Knowledge Bases now supports using inference profiles to increase throughput and improve resilience." -} diff --git a/.changes/next-release/api-change-bedrockagentruntime-45016.json b/.changes/next-release/api-change-bedrockagentruntime-45016.json deleted file mode 100644 index 3d5eb0ac9f23..000000000000 --- a/.changes/next-release/api-change-bedrockagentruntime-45016.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-agent-runtime``", - "description": "Amazon Bedrock Knowledge Bases now supports using inference profiles to increase throughput and improve resilience." -} diff --git a/.changes/next-release/api-change-ecr-50174.json b/.changes/next-release/api-change-ecr-50174.json deleted file mode 100644 index e26377b2d880..000000000000 --- a/.changes/next-release/api-change-ecr-50174.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ecr``", - "description": "Added KMS_DSSE to EncryptionType" -} diff --git a/.changes/next-release/api-change-guardduty-32869.json b/.changes/next-release/api-change-guardduty-32869.json deleted file mode 100644 index da71e6f2978e..000000000000 --- a/.changes/next-release/api-change-guardduty-32869.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``guardduty``", - "description": "Add support for new statistic types in GetFindingsStatistics." -} diff --git a/.changes/next-release/api-change-lexv2models-49100.json b/.changes/next-release/api-change-lexv2models-49100.json deleted file mode 100644 index 819cfc1dc825..000000000000 --- a/.changes/next-release/api-change-lexv2models-49100.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``lexv2-models``", - "description": "Support new Polly voice engines in VoiceSettings: long-form and generative" -} diff --git a/.changes/next-release/api-change-medialive-76504.json b/.changes/next-release/api-change-medialive-76504.json deleted file mode 100644 index 1caf1c344d81..000000000000 --- a/.changes/next-release/api-change-medialive-76504.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``medialive``", - "description": "Adds AV1 Codec support, SRT ouputs, and MediaLive Anywhere support." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index efcce986880c..39968d019011 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,17 @@ CHANGELOG ========= +1.34.17 +======= + +* api-change:``bedrock-agent``: Amazon Bedrock Knowledge Bases now supports using inference profiles to increase throughput and improve resilience. +* api-change:``bedrock-agent-runtime``: Amazon Bedrock Knowledge Bases now supports using inference profiles to increase throughput and improve resilience. +* api-change:``ecr``: Added KMS_DSSE to EncryptionType +* api-change:``guardduty``: Add support for new statistic types in GetFindingsStatistics. +* api-change:``lexv2-models``: Support new Polly voice engines in VoiceSettings: long-form and generative +* api-change:``medialive``: Adds AV1 Codec support, SRT ouputs, and MediaLive Anywhere support. + + 1.34.16 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index c52d8daff8eb..10e3e0af3b83 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.34.16' +__version__ = '1.34.17' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 28147a7808ab..bc3a08c8073d 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.34.' # The full version, including alpha/beta/rc tags. -release = '1.34.16' +release = '1.34.17' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 7dca8c11dc23..ebd5fffc6bdd 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.16 + botocore==1.35.17 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index b743038168a0..e98d87ecfcf0 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.16', + 'botocore==1.35.17', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From f70e1e3c3de7d4625a5f01df7fe5dc8d8087a964 Mon Sep 17 00:00:00 2001 From: RyanFitzSimmonsAK Date: Wed, 11 Sep 2024 13:37:15 -0700 Subject: [PATCH 0194/1087] Add more detail to the no-paginate parameter description (v1) --- awscli/data/cli.json | 2 +- awscli/examples/global_options.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/awscli/data/cli.json b/awscli/data/cli.json index 9e4a91795d7a..85a2efebf537 100644 --- a/awscli/data/cli.json +++ b/awscli/data/cli.json @@ -17,7 +17,7 @@ }, "no-paginate": { "action": "store_false", - "help": "

Disable automatic pagination.

", + "help": "

Disable automatic pagination. If automatic pagination is disabled, the AWS CLI will only make one call, for the first page of results.

", "dest": "paginate" }, "output": { diff --git a/awscli/examples/global_options.rst b/awscli/examples/global_options.rst index 088e1be7aeea..2f8c7115e8ae 100644 --- a/awscli/examples/global_options.rst +++ b/awscli/examples/global_options.rst @@ -12,7 +12,7 @@ ``--no-paginate`` (boolean) - Disable automatic pagination. + Disable automatic pagination. If automatic pagination is disabled, the AWS CLI will only make one call, for the first page of results. ``--output`` (string) From 73a2f192c7f4e6dd4d35fe5ffd8ec98a7e9e1ee1 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 12 Sep 2024 18:07:54 +0000 Subject: [PATCH 0195/1087] Merge customizations for EMR --- awscli/customizations/emr/argumentschema.py | 77 ++-- .../emr/test_add_instance_fleet.py | 33 ++ .../emr/test_constants_instance_fleets.py | 377 ++++++++++++++++-- .../emr/test_create_cluster_release_label.py | 20 + .../emr/test_describe_cluster.py | 28 ++ .../emr/test_modify_instance_fleet.py | 40 ++ 6 files changed, 513 insertions(+), 62 deletions(-) create mode 100644 tests/unit/customizations/emr/test_add_instance_fleet.py create mode 100644 tests/unit/customizations/emr/test_modify_instance_fleet.py diff --git a/awscli/customizations/emr/argumentschema.py b/awscli/customizations/emr/argumentschema.py index 6f86fc9f50f7..705a52a675b8 100644 --- a/awscli/customizations/emr/argumentschema.py +++ b/awscli/customizations/emr/argumentschema.py @@ -57,6 +57,41 @@ "description": "Instance group application configurations." } +ONDEMAND_CAPACITY_RESERVATION_OPTIONS_SCHEMA = { + "type": "object", + "properties" : { + "UsageStrategy": { + "type": "string", + "description": "The strategy of whether to use available capacity reservations to fulfill On-Demand capacity.", + "enum": ["use-capacity-reservations-first"] + }, + "CapacityReservationPreference": { + "type": "string", + "description": "The preference of the capacity reservation of the instance.", + "enum": [ + "open", + "none" + ] + }, + "CapacityReservationResourceGroupArn": { + "type": "string", + "description": "The ARN of the capacity reservation resource group in which to run the instance." + } + } +} + +SPOT_ALLOCATION_STRATEGY_SCHEMA = { + "type": "string", + "description": "The strategy to use to launch Spot instance fleets.", + "enum": ["capacity-optimized", "price-capacity-optimized", "lowest-price", "diversified", "capacity-optimized-prioritized"] +} + +ONDEMAND_ALLOCATION_STRATEGY_SCHEMA = { + "type": "string", + "description": "The strategy to use to launch On-Demand instance fleets.", + "enum": ["lowest-price", "prioritized"] +} + INSTANCE_GROUPS_SCHEMA = { "type": "array", "items": { @@ -411,33 +446,8 @@ "OnDemandSpecification": { "type": "object", "properties": { - "AllocationStrategy": { - "type": "string", - "description": "The strategy to use in launching On-Demand instance fleets.", - "enum": ["lowest-price", "prioritized"] - }, - "CapacityReservationOptions": { - "type": "object", - "properties" : { - "UsageStrategy": { - "type": "string", - "description": "The strategy of whether to use unused Capacity Reservations for fulfilling On-Demand capacity.", - "enum": ["use-capacity-reservations-first"] - }, - "CapacityReservationPreference": { - "type": "string", - "description": "The preference of the instance's Capacity Reservation.", - "enum": [ - "open", - "none" - ] - }, - "CapacityReservationResourceGroupArn": { - "type": "string", - "description": "The ARN of the Capacity Reservation resource group in which to run the instance." - } - } - } + "AllocationStrategy": ONDEMAND_ALLOCATION_STRATEGY_SCHEMA, + "CapacityReservationOptions": ONDEMAND_CAPACITY_RESERVATION_OPTIONS_SCHEMA } }, "SpotSpecification": { @@ -459,11 +469,7 @@ "type": "integer", "description": "Block duration in minutes." }, - "AllocationStrategy": { - "type": "string", - "description": "The strategy to use in launching Spot instance fleets.", - "enum": ["capacity-optimized", "price-capacity-optimized", "lowest-price", "diversified", "capacity-optimized-prioritized"] - } + "AllocationStrategy": SPOT_ALLOCATION_STRATEGY_SCHEMA } } } @@ -477,7 +483,8 @@ "TimeoutDurationMinutes": { "type" : "integer", "description": "The time, in minutes, after which the resize will be stopped if requested resources are unavailable." - } + }, + "AllocationStrategy": SPOT_ALLOCATION_STRATEGY_SCHEMA } }, "OnDemandResizeSpecification": { @@ -486,7 +493,9 @@ "TimeoutDurationMinutes": { "type" : "integer", "description": "The time, in minutes, after which the resize will be stopped if requested resources are unavailable." - } + }, + "AllocationStrategy": ONDEMAND_ALLOCATION_STRATEGY_SCHEMA, + "CapacityReservationOptions": ONDEMAND_CAPACITY_RESERVATION_OPTIONS_SCHEMA } } } diff --git a/tests/unit/customizations/emr/test_add_instance_fleet.py b/tests/unit/customizations/emr/test_add_instance_fleet.py new file mode 100644 index 000000000000..d4a658ebc21c --- /dev/null +++ b/tests/unit/customizations/emr/test_add_instance_fleet.py @@ -0,0 +1,33 @@ +# Copyright 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"). You +# may not use this file except in compliance with the License. A copy of +# the License is located at +# +# http://aws.amazon.com/apache2.0/ +# +# or in the "license" file accompanying this file. This file is +# distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF +# ANY KIND, either express or implied. See the License for the specific +# language governing permissions and limitations under the License. + +from tests.unit.customizations.emr import EMRBaseAWSCommandParamsTest as \ + BaseAWSCommandParamsTest +from tests.unit.customizations.emr import test_constants_instance_fleets as \ + CONSTANTS_FLEET + +class TestAddInstanceFleet(BaseAWSCommandParamsTest): + prefix = f"emr add-instance-fleet --cluster-id {CONSTANTS_FLEET.DEFAULT_CLUSTER_NAME} --instance-fleet " + + def test_add_instance_fleet_with_allocation_strategy_spot_and_od(self): + result = \ + { + "ClusterId": CONSTANTS_FLEET.DEFAULT_CLUSTER_NAME, + "InstanceFleet": CONSTANTS_FLEET.RES_TASK_INSTANCE_FLEET_WITH_RESIZE_ALLOCATION_STRATEGY_SPOT_AND_OD + } + self.assert_params_for_cmd( + self.prefix + CONSTANTS_FLEET.TASK_INSTANCE_FLEET_WITH_RESIZE_ALLOCATION_STRATEGY_SPOT_AND_OD, + result) + +if __name__ == "__main__": + unittest.main() diff --git a/tests/unit/customizations/emr/test_constants_instance_fleets.py b/tests/unit/customizations/emr/test_constants_instance_fleets.py index ed92e8fa5e79..f90c616bb1ee 100644 --- a/tests/unit/customizations/emr/test_constants_instance_fleets.py +++ b/tests/unit/customizations/emr/test_constants_instance_fleets.py @@ -11,6 +11,9 @@ # ANY KIND, either express or implied. See the License for the specific # language governing permissions and limitations under the License. +DEFAULT_INSTANCE_FLEET_NAME = "if-XYZ123" +DEFAULT_CLUSTER_NAME = "j-ABC123456" + INSTANCE_FLEETS_WITH_ON_DEMAND_MASTER_ONLY = ( 'InstanceFleetType=MASTER,TargetOnDemandCapacity=1,InstanceTypeConfigs=[{InstanceType=d2.xlarge}],' 'LaunchSpecifications={OnDemandSpecification={AllocationStrategy=lowest-price,' @@ -70,17 +73,66 @@ 'TimeoutAction=TERMINATE_CLUSTER,AllocationStrategy=diversified}}') INSTANCE_FLEETS_WITH_PRIORITIZED_ALLOCATION_STRATEGY_SPOT_AND_OD = ( - 'InstanceFleetType=MASTER,TargetSpotCapacity=1,InstanceTypeConfigs=[{InstanceType=d2.xlarge,BidPrice=0.1,Priority=0.0}],' - 'LaunchSpecifications={SpotSpecification={TimeoutDurationMinutes=30,TimeoutAction=TERMINATE_CLUSTER,' - 'AllocationStrategy=capacity-optimized-prioritized},OnDemandSpecification={AllocationStrategy=prioritized}} ' - 'InstanceFleetType=CORE,TargetSpotCapacity=100,InstanceTypeConfigs=[{InstanceType=d2.xlarge,BidPrice=0.5,' - 'WeightedCapacity=1,Priority=0.0},{InstanceType=m3.2xlarge,BidPrice=0.2,WeightedCapacity=2,Priority=1.0},{InstanceType=m3.4xlarge,BidPrice=0.4,' - 'WeightedCapacity=4,Priority=99.0}],LaunchSpecifications={SpotSpecification={TimeoutDurationMinutes=32,' - 'TimeoutAction=TERMINATE_CLUSTER,AllocationStrategy=capacity-optimized-prioritized},OnDemandSpecification={AllocationStrategy=prioritized}} ' - 'InstanceFleetType=TASK,TargetSpotCapacity=100,InstanceTypeConfigs=[{InstanceType=d2.xlarge,BidPrice=0.5,' - 'WeightedCapacity=1,Priority=10.0},{InstanceType=m3.2xlarge,BidPrice=0.2,WeightedCapacity=2,Priority=0.0},{InstanceType=m3.4xlarge,BidPrice=0.4,' - 'WeightedCapacity=4,Priority=100.0}],LaunchSpecifications={SpotSpecification={TimeoutDurationMinutes=77,' - 'TimeoutAction=TERMINATE_CLUSTER,AllocationStrategy=capacity-optimized-prioritized},OnDemandSpecification={AllocationStrategy=prioritized}}') + 'InstanceFleetType=MASTER,TargetSpotCapacity=1,InstanceTypeConfigs=[{InstanceType=d2.xlarge,' + 'BidPrice=0.1,Priority=0.0}],LaunchSpecifications={SpotSpecification={TimeoutDurationMinutes=30,' + 'TimeoutAction=TERMINATE_CLUSTER,AllocationStrategy=capacity-optimized-prioritized},' + 'OnDemandSpecification={AllocationStrategy=prioritized}} ' + 'InstanceFleetType=CORE,TargetSpotCapacity=100,InstanceTypeConfigs=[{InstanceType=d2.xlarge,' + 'BidPrice=0.5,WeightedCapacity=1,Priority=0.0},{InstanceType=m3.2xlarge,BidPrice=0.2,' + 'WeightedCapacity=2,Priority=1.0},{InstanceType=m3.4xlarge,BidPrice=0.4,WeightedCapacity=4,' + 'Priority=99.0}],LaunchSpecifications={SpotSpecification={TimeoutDurationMinutes=32,' + 'TimeoutAction=TERMINATE_CLUSTER,AllocationStrategy=capacity-optimized-prioritized},' + 'OnDemandSpecification={AllocationStrategy=prioritized}} ' + 'InstanceFleetType=TASK,TargetSpotCapacity=100,InstanceTypeConfigs=[{InstanceType=d2.xlarge,' + 'BidPrice=0.5,WeightedCapacity=1,Priority=10.0},{InstanceType=m3.2xlarge,BidPrice=0.2,' + 'WeightedCapacity=2,Priority=0.0},{InstanceType=m3.4xlarge,BidPrice=0.4,WeightedCapacity=4,' + 'Priority=100.0}],LaunchSpecifications={SpotSpecification={TimeoutDurationMinutes=77,' + 'TimeoutAction=TERMINATE_CLUSTER,AllocationStrategy=' + 'capacity-optimized-prioritized},OnDemandSpecification={AllocationStrategy=prioritized}}') + +TASK_INSTANCE_FLEET_WITH_RESIZE_ALLOCATION_STRATEGY_SPOT_AND_OD = ( + 'InstanceFleetType=TASK,TargetSpotCapacity=100,InstanceTypeConfigs=[{InstanceType=d2.xlarge,' + 'BidPrice=0.5,WeightedCapacity=1},{InstanceType=m3.2xlarge,BidPrice=0.2,WeightedCapacity=2},' + '{InstanceType=m3.4xlarge,BidPrice=0.4,WeightedCapacity=4}],LaunchSpecifications={' + 'SpotSpecification={TimeoutDurationMinutes=77,TimeoutAction=TERMINATE_CLUSTER,' + 'AllocationStrategy=capacity-optimized-prioritized},OnDemandSpecification={' + 'AllocationStrategy=lowest-price}},ResizeSpecifications={SpotResizeSpecification={' + 'AllocationStrategy=capacity-optimized},OnDemandResizeSpecification={' + 'AllocationStrategy=lowest-price,CapacityReservationOptions={' + 'UsageStrategy=use-capacity-reservations-first,CapacityReservationPreference=open}}}') + +INSTANCE_FLEETS_WITH_RESIZE_ALLOCATION_STRATEGY_SPOT_AND_OD = ( + 'InstanceFleetType=MASTER,TargetSpotCapacity=1,InstanceTypeConfigs=[{InstanceType=d2.xlarge,' + 'BidPrice=0.1}],LaunchSpecifications={SpotSpecification={TimeoutDurationMinutes=30,' + 'TimeoutAction=TERMINATE_CLUSTER,AllocationStrategy=capacity-optimized-prioritized},' + 'OnDemandSpecification={AllocationStrategy=lowest-price}} ' + 'InstanceFleetType=CORE,TargetSpotCapacity=100,InstanceTypeConfigs=[{InstanceType=d2.xlarge,' + 'BidPrice=0.5,WeightedCapacity=1},{InstanceType=m3.2xlarge,BidPrice=0.2,WeightedCapacity=2},' + '{InstanceType=m3.4xlarge,BidPrice=0.4,WeightedCapacity=4}],LaunchSpecifications={' + 'SpotSpecification={TimeoutDurationMinutes=32,TimeoutAction=TERMINATE_CLUSTER,' + 'AllocationStrategy=capacity-optimized-prioritized},OnDemandSpecification={' + 'AllocationStrategy=lowest-price}},ResizeSpecifications={SpotResizeSpecification=' + '{AllocationStrategy=capacity-optimized},OnDemandResizeSpecification={' + 'AllocationStrategy=lowest-price,CapacityReservationOptions={' + 'UsageStrategy=use-capacity-reservations-first,CapacityReservationPreference=open}}} ' + f'{TASK_INSTANCE_FLEET_WITH_RESIZE_ALLOCATION_STRATEGY_SPOT_AND_OD}') + +MODIFY_INSTANCE_FLEET_WITH_INSTANCE_TYPE_CONFIGS = ( + f'InstanceFleetId={DEFAULT_INSTANCE_FLEET_NAME},' + f'InstanceTypeConfigs=[{{InstanceType=d2.xlarge}}]') + +MODIFY_INSTANCE_FLEET_WITH_SPOT_AND_OD_RESIZE_SPECIFICATIONS = ( + f'InstanceFleetId={DEFAULT_INSTANCE_FLEET_NAME},ResizeSpecifications={{SpotResizeSpecification=' + f'{{AllocationStrategy=capacity-optimized}},OnDemandResizeSpecification={{' + f'AllocationStrategy=lowest-price,CapacityReservationOptions={{' + f'UsageStrategy=use-capacity-reservations-first,CapacityReservationPreference=open}}}}}}') + +MODIFY_INSTANCE_FLEET_WITH_INSTANCE_TYPE_CONFIGS_AND_SPOT_AND_OD_RESIZE_SPECIFICATIONS = ( + f'InstanceFleetId={DEFAULT_INSTANCE_FLEET_NAME},ResizeSpecifications={{SpotResizeSpecification=' + f'{{AllocationStrategy=capacity-optimized}},OnDemandResizeSpecification={{' + f'AllocationStrategy=lowest-price,CapacityReservationOptions={{' + f'UsageStrategy=use-capacity-reservations-first,CapacityReservationPreference=open}}}}}}' + f',InstanceTypeConfigs=[{{InstanceType=d2.xlarge}}]') RES_INSTANCE_FLEETS_WITH_ON_DEMAND_MASTER_ONLY = \ [{"InstanceTypeConfigs": [{"InstanceType": "d2.xlarge"}], @@ -256,36 +308,305 @@ "Name": "TASK" }] - RES_INSTANCE_FLEETS_WITH_PRIORITIZED_ALLOCATION_STRATEGY_SPOT_AND_OD = \ - [{"InstanceTypeConfigs": [{"InstanceType": "d2.xlarge","BidPrice": "0.1","Priority": 0.0}], + [ + { + "InstanceTypeConfigs": [ + { + "InstanceType": "d2.xlarge", + "BidPrice": "0.1", + "Priority": 0 + } + ], "LaunchSpecifications": { - "SpotSpecification": {"TimeoutDurationMinutes": 30, "TimeoutAction": "TERMINATE_CLUSTER", "AllocationStrategy": "capacity-optimized-prioritized"}, - "OnDemandSpecification": {"AllocationStrategy": "prioritized"} + "SpotSpecification": { + "TimeoutDurationMinutes": 30, + "TimeoutAction": "TERMINATE_CLUSTER", + "AllocationStrategy": "capacity-optimized-prioritized" + }, + "OnDemandSpecification": { + "AllocationStrategy": "prioritized" + } }, "TargetSpotCapacity": 1, "InstanceFleetType": "MASTER", "Name": "MASTER" }, - {"InstanceTypeConfigs": [{"InstanceType": "d2.xlarge","BidPrice": "0.5","WeightedCapacity": 1,"Priority": 0.0}, - {"InstanceType": "m3.2xlarge","BidPrice": "0.2","WeightedCapacity": 2,"Priority": 1.0},{"InstanceType": "m3.4xlarge","BidPrice": "0.4", - "WeightedCapacity": 4,"Priority": 99.0}], - "LaunchSpecifications" : { - "SpotSpecification": {"TimeoutDurationMinutes": 32, "TimeoutAction": "TERMINATE_CLUSTER", "AllocationStrategy": "capacity-optimized-prioritized"}, - "OnDemandSpecification": {"AllocationStrategy": "prioritized"} + { + "InstanceTypeConfigs": [ + { + "InstanceType": "d2.xlarge", + "BidPrice": "0.5", + "WeightedCapacity": 1, + "Priority": 0 + }, + { + "InstanceType": "m3.2xlarge", + "BidPrice": "0.2", + "WeightedCapacity": 2, + "Priority": 1 + }, + { + "InstanceType": "m3.4xlarge", + "BidPrice": "0.4", + "WeightedCapacity": 4, + "Priority": 99 + } + ], + "LaunchSpecifications": { + "SpotSpecification": { + "TimeoutDurationMinutes": 32, + "TimeoutAction": "TERMINATE_CLUSTER", + "AllocationStrategy": "capacity-optimized-prioritized" + }, + "OnDemandSpecification": { + "AllocationStrategy": "prioritized" + } }, "TargetSpotCapacity": 100, "InstanceFleetType": "CORE", "Name": "CORE" }, - {"InstanceTypeConfigs": [{"InstanceType": "d2.xlarge","BidPrice": "0.5","WeightedCapacity": 1,"Priority": 10.0}, - {"InstanceType": "m3.2xlarge","BidPrice": "0.2","WeightedCapacity": 2,"Priority": 0.0},{"InstanceType": "m3.4xlarge","BidPrice": "0.4", - "WeightedCapacity": 4,"Priority": 100.0}], - "LaunchSpecifications" : { - "SpotSpecification": {"TimeoutDurationMinutes": 77, "TimeoutAction": "TERMINATE_CLUSTER", "AllocationStrategy": "capacity-optimized-prioritized"}, - "OnDemandSpecification": {"AllocationStrategy": "prioritized"} + { + "InstanceTypeConfigs": [ + { + "InstanceType": "d2.xlarge", + "BidPrice": "0.5", + "WeightedCapacity": 1, + "Priority": 10 + }, + { + "InstanceType": "m3.2xlarge", + "BidPrice": "0.2", + "WeightedCapacity": 2, + "Priority": 0 + }, + { + "InstanceType": "m3.4xlarge", + "BidPrice": "0.4", + "WeightedCapacity": 4, + "Priority": 100 + } + ], + "LaunchSpecifications": { + "SpotSpecification": { + "TimeoutDurationMinutes": 77, + "TimeoutAction": "TERMINATE_CLUSTER", + "AllocationStrategy": "capacity-optimized-prioritized" + }, + "OnDemandSpecification": { + "AllocationStrategy": "prioritized" + } }, "TargetSpotCapacity": 100, "InstanceFleetType": "TASK", "Name": "TASK" - }] \ No newline at end of file + }] + +RES_INSTANCE_FLEETS_WITH_RESIZE_ALLOCATION_STRATEGY_SPOT_AND_OD = \ + [ + { + "InstanceTypeConfigs": [ + { + "InstanceType": "d2.xlarge", + "BidPrice": "0.1" + } + ], + "LaunchSpecifications": { + "SpotSpecification": { + "TimeoutDurationMinutes": 30, + "TimeoutAction": "TERMINATE_CLUSTER", + "AllocationStrategy": "capacity-optimized-prioritized" + }, + "OnDemandSpecification": { + "AllocationStrategy": "lowest-price" + } + }, + "TargetSpotCapacity": 1, + "InstanceFleetType": "MASTER", + "Name": "MASTER" + }, + { + "InstanceTypeConfigs": [ + { + "InstanceType": "d2.xlarge", + "BidPrice": "0.5", + "WeightedCapacity": 1 + }, + { + "InstanceType": "m3.2xlarge", + "BidPrice": "0.2", + "WeightedCapacity": 2 + }, + { + "InstanceType": "m3.4xlarge", + "BidPrice": "0.4", + "WeightedCapacity": 4 + } + ], + "LaunchSpecifications": { + "SpotSpecification": { + "TimeoutDurationMinutes": 32, + "TimeoutAction": "TERMINATE_CLUSTER", + "AllocationStrategy": "capacity-optimized-prioritized" + }, + "OnDemandSpecification": { + "AllocationStrategy": "lowest-price" + } + }, + "ResizeSpecifications": { + "OnDemandResizeSpecification": { + "AllocationStrategy": "lowest-price", + "CapacityReservationOptions": { + "CapacityReservationPreference": "open", + "UsageStrategy": "use-capacity-reservations-first" + } + }, + "SpotResizeSpecification": { + "AllocationStrategy": "capacity-optimized" + } + }, + "TargetSpotCapacity": 100, + "InstanceFleetType": "CORE", + "Name": "CORE" + }, + { + "InstanceTypeConfigs": [ + { + "InstanceType": "d2.xlarge", + "BidPrice": "0.5", + "WeightedCapacity": 1 + }, + { + "InstanceType": "m3.2xlarge", + "BidPrice": "0.2", + "WeightedCapacity": 2 + }, + { + "InstanceType": "m3.4xlarge", + "BidPrice": "0.4", + "WeightedCapacity": 4 + } + ], + "LaunchSpecifications": { + "SpotSpecification": { + "TimeoutDurationMinutes": 77, + "TimeoutAction": "TERMINATE_CLUSTER", + "AllocationStrategy": "capacity-optimized-prioritized" + }, + "OnDemandSpecification": { + "AllocationStrategy": "lowest-price" + } + }, + "ResizeSpecifications": { + "OnDemandResizeSpecification": { + "AllocationStrategy": "lowest-price", + "CapacityReservationOptions": { + "CapacityReservationPreference": "open", + "UsageStrategy": "use-capacity-reservations-first" + } + }, + "SpotResizeSpecification": { + "AllocationStrategy": "capacity-optimized" + } + }, + "TargetSpotCapacity": 100, + "InstanceFleetType": "TASK", + "Name": "TASK" + } + ] + +RES_TASK_INSTANCE_FLEET_WITH_RESIZE_ALLOCATION_STRATEGY_SPOT_AND_OD = \ + { + "InstanceTypeConfigs": [ + { + "InstanceType": "d2.xlarge", + "BidPrice": "0.5", + "WeightedCapacity": 1 + }, + { + "InstanceType": "m3.2xlarge", + "BidPrice": "0.2", + "WeightedCapacity": 2 + }, + { + "InstanceType": "m3.4xlarge", + "BidPrice": "0.4", + "WeightedCapacity": 4 + } + ], + "LaunchSpecifications": { + "SpotSpecification": { + "TimeoutDurationMinutes": 77, + "TimeoutAction": "TERMINATE_CLUSTER", + "AllocationStrategy": "capacity-optimized-prioritized" + }, + "OnDemandSpecification": { + "AllocationStrategy": "lowest-price" + } + }, + "ResizeSpecifications": { + "OnDemandResizeSpecification": { + "AllocationStrategy": "lowest-price", + "CapacityReservationOptions": { + "CapacityReservationPreference": "open", + "UsageStrategy": "use-capacity-reservations-first" + } + }, + "SpotResizeSpecification": { + "AllocationStrategy": "capacity-optimized" + } + }, + "TargetSpotCapacity": 100, + "InstanceFleetType": "TASK" + } + +RES_MODIFY_INSTANCE_FLEET_WITH_INSTANCE_TYPE_CONFIGS = \ + { + "ClusterId": DEFAULT_CLUSTER_NAME, + "InstanceFleet": { + "InstanceFleetId": DEFAULT_INSTANCE_FLEET_NAME, + "InstanceTypeConfigs": [ + {"InstanceType": "d2.xlarge"} + ] + } + } + +RES_MODIFY_INSTANCE_FLEET_WITH_SPOT_AND_OD_RESIZE_SPECIFICATIONS = \ + { + "ClusterId": DEFAULT_CLUSTER_NAME, + "InstanceFleet": { + "InstanceFleetId": DEFAULT_INSTANCE_FLEET_NAME, + "ResizeSpecifications": { + "OnDemandResizeSpecification": { + "AllocationStrategy": "lowest-price", + "CapacityReservationOptions": { + "CapacityReservationPreference": "open", + "UsageStrategy": "use-capacity-reservations-first" + } + }, + "SpotResizeSpecification": {"AllocationStrategy": "capacity-optimized"} + } + } + } + +RES_MODIFY_INSTANCE_FLEET_WITH_INSTANCE_TYPE_CONFIGS_AND_SPOT_AND_OD_RESIZE_SPECIFICATIONS = \ + { + "ClusterId": DEFAULT_CLUSTER_NAME, + "InstanceFleet": { + "InstanceFleetId": DEFAULT_INSTANCE_FLEET_NAME, + "ResizeSpecifications": { + "OnDemandResizeSpecification": { + "AllocationStrategy": "lowest-price", + "CapacityReservationOptions": { + "CapacityReservationPreference": "open", + "UsageStrategy": "use-capacity-reservations-first" + } + }, + "SpotResizeSpecification": {"AllocationStrategy": "capacity-optimized"} + }, + "InstanceTypeConfigs": [ + {"InstanceType": "d2.xlarge"} + ] + } + } \ No newline at end of file diff --git a/tests/unit/customizations/emr/test_create_cluster_release_label.py b/tests/unit/customizations/emr/test_create_cluster_release_label.py index 14dc4969a84f..5fef58312559 100644 --- a/tests/unit/customizations/emr/test_create_cluster_release_label.py +++ b/tests/unit/customizations/emr/test_create_cluster_release_label.py @@ -1552,6 +1552,26 @@ def test_create_cluster_with_placement_groups(self): } self.assert_params_for_cmd(cmd, result) + def test_instance_fleets_with_resize_allocation_strategy_spot_od(self): + cmd = (self.prefix + '--release-label emr-4.2.0 --instance-fleets ' + + CONSTANTS_FLEET.INSTANCE_FLEETS_WITH_RESIZE_ALLOCATION_STRATEGY_SPOT_AND_OD + + ' --ec2-attributes AvailabilityZones=[us-east-1a,us-east-1b]') + instance_fleets = CONSTANTS_FLEET.RES_INSTANCE_FLEETS_WITH_RESIZE_ALLOCATION_STRATEGY_SPOT_AND_OD + result = \ + { + 'Name': DEFAULT_CLUSTER_NAME, + 'Instances': {'KeepJobFlowAliveWhenNoSteps': True, + 'TerminationProtected': False, + 'InstanceFleets': + instance_fleets, + 'Placement': {'AvailabilityZones': ['us-east-1a','us-east-1b']} + }, + 'ReleaseLabel': 'emr-4.2.0', + 'VisibleToAllUsers': True, + 'Tags': [] + } + self.assert_params_for_cmd(cmd, result) + def test_create_cluster_with_os_release_label(self): test_os_release_label = '2.0.20220406.1' cmd = (self.prefix + '--release-label emr-6.6.0' diff --git a/tests/unit/customizations/emr/test_describe_cluster.py b/tests/unit/customizations/emr/test_describe_cluster.py index 7194e0cd5a45..eb13d02f37dd 100644 --- a/tests/unit/customizations/emr/test_describe_cluster.py +++ b/tests/unit/customizations/emr/test_describe_cluster.py @@ -176,6 +176,20 @@ "BidPriceAsPercentageOfOnDemandPrice": 0.0 } ], + "LaunchSpecifications" : { + "SpotSpecification": {"TimeoutDurationMinutes": 77, "TimeoutAction": "TERMINATE_CLUSTER", + "AllocationStrategy": "capacity-optimized-prioritized"}, + "OnDemandSpecification": {"AllocationStrategy": "lowest-price"} + }, + "ResizeSpecifications": { + "OnDemandResizeSpecification": {"AllocationStrategy": "lowest-price", + "CapacityReservationOptions": { + "CapacityReservationPreference": "open", + "UsageStrategy": "use-capacity-reservations-first" + } + }, + "SpotResizeSpecification": {"AllocationStrategy": "capacity-optimized"} + }, "Name": "Master instance group", "InstanceFleetType": "MASTER", "InstanceType": "m1.large", @@ -327,6 +341,20 @@ "BidPriceAsPercentageOfOnDemandPrice": 0.0 } ], + "LaunchSpecifications" : { + "SpotSpecification": {"TimeoutDurationMinutes": 77, "TimeoutAction": "TERMINATE_CLUSTER", + "AllocationStrategy": "capacity-optimized-prioritized"}, + "OnDemandSpecification": {"AllocationStrategy": "lowest-price"} + }, + "ResizeSpecifications": { + "OnDemandResizeSpecification": {"AllocationStrategy": "lowest-price", + "CapacityReservationOptions": { + "CapacityReservationPreference": "open", + "UsageStrategy": "use-capacity-reservations-first" + } + }, + "SpotResizeSpecification": {"AllocationStrategy": "capacity-optimized"} + }, "Name": "Master instance group", "InstanceFleetType": "MASTER", "InstanceType": "m1.large", diff --git a/tests/unit/customizations/emr/test_modify_instance_fleet.py b/tests/unit/customizations/emr/test_modify_instance_fleet.py new file mode 100644 index 000000000000..418406acd5a0 --- /dev/null +++ b/tests/unit/customizations/emr/test_modify_instance_fleet.py @@ -0,0 +1,40 @@ +# Copyright 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"). You +# may not use this file except in compliance with the License. A copy of +# the License is located at +# +# http://aws.amazon.com/apache2.0/ +# +# or in the "license" file accompanying this file. This file is +# distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF +# ANY KIND, either express or implied. See the License for the specific +# language governing permissions and limitations under the License. + +from tests.unit.customizations.emr import EMRBaseAWSCommandParamsTest as \ + BaseAWSCommandParamsTest +from tests.unit.customizations.emr import test_constants_instance_fleets as \ + CONSTANTS_FLEET + + +class TestModifyInstanceFleet(BaseAWSCommandParamsTest): + prefix = f"emr modify-instance-fleet --cluster-id {CONSTANTS_FLEET.DEFAULT_CLUSTER_NAME} --instance-fleet " + + def test_modify_instance_fleet_with_instance_type_configs(self): + self.assert_params_for_cmd( + self.prefix + CONSTANTS_FLEET.MODIFY_INSTANCE_FLEET_WITH_INSTANCE_TYPE_CONFIGS, + CONSTANTS_FLEET.RES_MODIFY_INSTANCE_FLEET_WITH_INSTANCE_TYPE_CONFIGS) + + def test_modify_instance_fleet_with_allocation_strategy_spot_and_od(self): + self.assert_params_for_cmd( + self.prefix + CONSTANTS_FLEET.MODIFY_INSTANCE_FLEET_WITH_SPOT_AND_OD_RESIZE_SPECIFICATIONS, + CONSTANTS_FLEET.RES_MODIFY_INSTANCE_FLEET_WITH_SPOT_AND_OD_RESIZE_SPECIFICATIONS) + + def test_modify_instance_fleet_with_allocation_strategy_spot_and_od_and_instance_type_configs(self): + self.assert_params_for_cmd( + self.prefix + CONSTANTS_FLEET.MODIFY_INSTANCE_FLEET_WITH_INSTANCE_TYPE_CONFIGS_AND_SPOT_AND_OD_RESIZE_SPECIFICATIONS, + CONSTANTS_FLEET.RES_MODIFY_INSTANCE_FLEET_WITH_INSTANCE_TYPE_CONFIGS_AND_SPOT_AND_OD_RESIZE_SPECIFICATIONS) + + +if __name__ == "__main__": + unittest.main() From 3797295a14c9daf94396054abb662a556d6d87ad Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 12 Sep 2024 18:08:01 +0000 Subject: [PATCH 0196/1087] Update changelog based on model updates --- .changes/next-release/api-change-cognitoidp-45953.json | 5 +++++ .changes/next-release/api-change-elbv2-49646.json | 5 +++++ .changes/next-release/api-change-emr-25724.json | 5 +++++ .changes/next-release/api-change-glue-77502.json | 5 +++++ .changes/next-release/api-change-mediaconvert-49541.json | 5 +++++ .changes/next-release/api-change-rds-16849.json | 5 +++++ .changes/next-release/api-change-storagegateway-50526.json | 5 +++++ .changes/next-release/api-change-synthetics-43449.json | 5 +++++ 8 files changed, 40 insertions(+) create mode 100644 .changes/next-release/api-change-cognitoidp-45953.json create mode 100644 .changes/next-release/api-change-elbv2-49646.json create mode 100644 .changes/next-release/api-change-emr-25724.json create mode 100644 .changes/next-release/api-change-glue-77502.json create mode 100644 .changes/next-release/api-change-mediaconvert-49541.json create mode 100644 .changes/next-release/api-change-rds-16849.json create mode 100644 .changes/next-release/api-change-storagegateway-50526.json create mode 100644 .changes/next-release/api-change-synthetics-43449.json diff --git a/.changes/next-release/api-change-cognitoidp-45953.json b/.changes/next-release/api-change-cognitoidp-45953.json new file mode 100644 index 000000000000..b46bea5f258d --- /dev/null +++ b/.changes/next-release/api-change-cognitoidp-45953.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``cognito-idp``", + "description": "Added email MFA option to user pools with advanced security features." +} diff --git a/.changes/next-release/api-change-elbv2-49646.json b/.changes/next-release/api-change-elbv2-49646.json new file mode 100644 index 000000000000..ce492afc5d08 --- /dev/null +++ b/.changes/next-release/api-change-elbv2-49646.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``elbv2``", + "description": "Correct incorrectly mapped error in ELBv2 waiters" +} diff --git a/.changes/next-release/api-change-emr-25724.json b/.changes/next-release/api-change-emr-25724.json new file mode 100644 index 000000000000..b04ea7ce21f2 --- /dev/null +++ b/.changes/next-release/api-change-emr-25724.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``emr``", + "description": "Update APIs to allow modification of ODCR options, allocation strategy, and InstanceTypeConfigs on running InstanceFleet clusters." +} diff --git a/.changes/next-release/api-change-glue-77502.json b/.changes/next-release/api-change-glue-77502.json new file mode 100644 index 000000000000..7c6c80b73685 --- /dev/null +++ b/.changes/next-release/api-change-glue-77502.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``glue``", + "description": "AWS Glue is introducing two new optimizers for Apache Iceberg tables: snapshot retention and orphan file deletion. Customers can enable these optimizers and customize their configurations to perform daily maintenance tasks on their Iceberg tables based on their specific requirements." +} diff --git a/.changes/next-release/api-change-mediaconvert-49541.json b/.changes/next-release/api-change-mediaconvert-49541.json new file mode 100644 index 000000000000..c8bad6deda6d --- /dev/null +++ b/.changes/next-release/api-change-mediaconvert-49541.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``mediaconvert``", + "description": "This release includes support for dynamic video overlay workflows, including picture-in-picture and squeezeback" +} diff --git a/.changes/next-release/api-change-rds-16849.json b/.changes/next-release/api-change-rds-16849.json new file mode 100644 index 000000000000..9cbc87c04f68 --- /dev/null +++ b/.changes/next-release/api-change-rds-16849.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``rds``", + "description": "This release adds support for the os-upgrade pending maintenance action for Amazon Aurora DB clusters." +} diff --git a/.changes/next-release/api-change-storagegateway-50526.json b/.changes/next-release/api-change-storagegateway-50526.json new file mode 100644 index 000000000000..fc5e16e8a215 --- /dev/null +++ b/.changes/next-release/api-change-storagegateway-50526.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``storagegateway``", + "description": "The S3 File Gateway now supports DSSE-KMS encryption. A new parameter EncryptionType is added to these APIs: CreateSmbFileShare, CreateNfsFileShare, UpdateSmbFileShare, UpdateNfsFileShare, DescribeSmbFileShares, DescribeNfsFileShares. Also, in favor of EncryptionType, KmsEncrypted is deprecated." +} diff --git a/.changes/next-release/api-change-synthetics-43449.json b/.changes/next-release/api-change-synthetics-43449.json new file mode 100644 index 000000000000..2beb412ea5ef --- /dev/null +++ b/.changes/next-release/api-change-synthetics-43449.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``synthetics``", + "description": "This release introduces two features. The first is tag replication, which allows for the propagation of canary tags onto Synthetics related resources, such as Lambda functions. The second is a limit increase in canary name length, which has now been increased from 21 to 255 characters." +} From c856238d7438db027fb2ab9957be18c2c42c916b Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 12 Sep 2024 18:09:30 +0000 Subject: [PATCH 0197/1087] Bumping version to 1.34.18 --- .changes/1.34.18.json | 42 +++++++++++++++++++ .../api-change-cognitoidp-45953.json | 5 --- .../next-release/api-change-elbv2-49646.json | 5 --- .../next-release/api-change-emr-25724.json | 5 --- .../next-release/api-change-glue-77502.json | 5 --- .../api-change-mediaconvert-49541.json | 5 --- .../next-release/api-change-rds-16849.json | 5 --- .../api-change-storagegateway-50526.json | 5 --- .../api-change-synthetics-43449.json | 5 --- CHANGELOG.rst | 13 ++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 14 files changed, 59 insertions(+), 44 deletions(-) create mode 100644 .changes/1.34.18.json delete mode 100644 .changes/next-release/api-change-cognitoidp-45953.json delete mode 100644 .changes/next-release/api-change-elbv2-49646.json delete mode 100644 .changes/next-release/api-change-emr-25724.json delete mode 100644 .changes/next-release/api-change-glue-77502.json delete mode 100644 .changes/next-release/api-change-mediaconvert-49541.json delete mode 100644 .changes/next-release/api-change-rds-16849.json delete mode 100644 .changes/next-release/api-change-storagegateway-50526.json delete mode 100644 .changes/next-release/api-change-synthetics-43449.json diff --git a/.changes/1.34.18.json b/.changes/1.34.18.json new file mode 100644 index 000000000000..ee801b19b93f --- /dev/null +++ b/.changes/1.34.18.json @@ -0,0 +1,42 @@ +[ + { + "category": "``cognito-idp``", + "description": "Added email MFA option to user pools with advanced security features.", + "type": "api-change" + }, + { + "category": "``elbv2``", + "description": "Correct incorrectly mapped error in ELBv2 waiters", + "type": "api-change" + }, + { + "category": "``emr``", + "description": "Update APIs to allow modification of ODCR options, allocation strategy, and InstanceTypeConfigs on running InstanceFleet clusters.", + "type": "api-change" + }, + { + "category": "``glue``", + "description": "AWS Glue is introducing two new optimizers for Apache Iceberg tables: snapshot retention and orphan file deletion. Customers can enable these optimizers and customize their configurations to perform daily maintenance tasks on their Iceberg tables based on their specific requirements.", + "type": "api-change" + }, + { + "category": "``mediaconvert``", + "description": "This release includes support for dynamic video overlay workflows, including picture-in-picture and squeezeback", + "type": "api-change" + }, + { + "category": "``rds``", + "description": "This release adds support for the os-upgrade pending maintenance action for Amazon Aurora DB clusters.", + "type": "api-change" + }, + { + "category": "``storagegateway``", + "description": "The S3 File Gateway now supports DSSE-KMS encryption. A new parameter EncryptionType is added to these APIs: CreateSmbFileShare, CreateNfsFileShare, UpdateSmbFileShare, UpdateNfsFileShare, DescribeSmbFileShares, DescribeNfsFileShares. Also, in favor of EncryptionType, KmsEncrypted is deprecated.", + "type": "api-change" + }, + { + "category": "``synthetics``", + "description": "This release introduces two features. The first is tag replication, which allows for the propagation of canary tags onto Synthetics related resources, such as Lambda functions. The second is a limit increase in canary name length, which has now been increased from 21 to 255 characters.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-cognitoidp-45953.json b/.changes/next-release/api-change-cognitoidp-45953.json deleted file mode 100644 index b46bea5f258d..000000000000 --- a/.changes/next-release/api-change-cognitoidp-45953.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``cognito-idp``", - "description": "Added email MFA option to user pools with advanced security features." -} diff --git a/.changes/next-release/api-change-elbv2-49646.json b/.changes/next-release/api-change-elbv2-49646.json deleted file mode 100644 index ce492afc5d08..000000000000 --- a/.changes/next-release/api-change-elbv2-49646.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``elbv2``", - "description": "Correct incorrectly mapped error in ELBv2 waiters" -} diff --git a/.changes/next-release/api-change-emr-25724.json b/.changes/next-release/api-change-emr-25724.json deleted file mode 100644 index b04ea7ce21f2..000000000000 --- a/.changes/next-release/api-change-emr-25724.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``emr``", - "description": "Update APIs to allow modification of ODCR options, allocation strategy, and InstanceTypeConfigs on running InstanceFleet clusters." -} diff --git a/.changes/next-release/api-change-glue-77502.json b/.changes/next-release/api-change-glue-77502.json deleted file mode 100644 index 7c6c80b73685..000000000000 --- a/.changes/next-release/api-change-glue-77502.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``glue``", - "description": "AWS Glue is introducing two new optimizers for Apache Iceberg tables: snapshot retention and orphan file deletion. Customers can enable these optimizers and customize their configurations to perform daily maintenance tasks on their Iceberg tables based on their specific requirements." -} diff --git a/.changes/next-release/api-change-mediaconvert-49541.json b/.changes/next-release/api-change-mediaconvert-49541.json deleted file mode 100644 index c8bad6deda6d..000000000000 --- a/.changes/next-release/api-change-mediaconvert-49541.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``mediaconvert``", - "description": "This release includes support for dynamic video overlay workflows, including picture-in-picture and squeezeback" -} diff --git a/.changes/next-release/api-change-rds-16849.json b/.changes/next-release/api-change-rds-16849.json deleted file mode 100644 index 9cbc87c04f68..000000000000 --- a/.changes/next-release/api-change-rds-16849.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``rds``", - "description": "This release adds support for the os-upgrade pending maintenance action for Amazon Aurora DB clusters." -} diff --git a/.changes/next-release/api-change-storagegateway-50526.json b/.changes/next-release/api-change-storagegateway-50526.json deleted file mode 100644 index fc5e16e8a215..000000000000 --- a/.changes/next-release/api-change-storagegateway-50526.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``storagegateway``", - "description": "The S3 File Gateway now supports DSSE-KMS encryption. A new parameter EncryptionType is added to these APIs: CreateSmbFileShare, CreateNfsFileShare, UpdateSmbFileShare, UpdateNfsFileShare, DescribeSmbFileShares, DescribeNfsFileShares. Also, in favor of EncryptionType, KmsEncrypted is deprecated." -} diff --git a/.changes/next-release/api-change-synthetics-43449.json b/.changes/next-release/api-change-synthetics-43449.json deleted file mode 100644 index 2beb412ea5ef..000000000000 --- a/.changes/next-release/api-change-synthetics-43449.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``synthetics``", - "description": "This release introduces two features. The first is tag replication, which allows for the propagation of canary tags onto Synthetics related resources, such as Lambda functions. The second is a limit increase in canary name length, which has now been increased from 21 to 255 characters." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 39968d019011..e367d9baf553 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,19 @@ CHANGELOG ========= +1.34.18 +======= + +* api-change:``cognito-idp``: Added email MFA option to user pools with advanced security features. +* api-change:``elbv2``: Correct incorrectly mapped error in ELBv2 waiters +* api-change:``emr``: Update APIs to allow modification of ODCR options, allocation strategy, and InstanceTypeConfigs on running InstanceFleet clusters. +* api-change:``glue``: AWS Glue is introducing two new optimizers for Apache Iceberg tables: snapshot retention and orphan file deletion. Customers can enable these optimizers and customize their configurations to perform daily maintenance tasks on their Iceberg tables based on their specific requirements. +* api-change:``mediaconvert``: This release includes support for dynamic video overlay workflows, including picture-in-picture and squeezeback +* api-change:``rds``: This release adds support for the os-upgrade pending maintenance action for Amazon Aurora DB clusters. +* api-change:``storagegateway``: The S3 File Gateway now supports DSSE-KMS encryption. A new parameter EncryptionType is added to these APIs: CreateSmbFileShare, CreateNfsFileShare, UpdateSmbFileShare, UpdateNfsFileShare, DescribeSmbFileShares, DescribeNfsFileShares. Also, in favor of EncryptionType, KmsEncrypted is deprecated. +* api-change:``synthetics``: This release introduces two features. The first is tag replication, which allows for the propagation of canary tags onto Synthetics related resources, such as Lambda functions. The second is a limit increase in canary name length, which has now been increased from 21 to 255 characters. + + 1.34.17 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 10e3e0af3b83..9a973870f7dc 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.34.17' +__version__ = '1.34.18' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index bc3a08c8073d..aaac529fe9b4 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.34.' # The full version, including alpha/beta/rc tags. -release = '1.34.17' +release = '1.34.18' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index ebd5fffc6bdd..d848c14c02ba 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.17 + botocore==1.35.18 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index e98d87ecfcf0..a7d2561b8f38 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.17', + 'botocore==1.35.18', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 76886bd0b0bf52638e362594685819533c676ea0 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 13 Sep 2024 18:05:13 +0000 Subject: [PATCH 0198/1087] Update changelog based on model updates --- .changes/next-release/api-change-amplify-77619.json | 5 +++++ .changes/next-release/api-change-ivs-71411.json | 5 +++++ .changes/next-release/api-change-ivschat-33622.json | 5 +++++ 3 files changed, 15 insertions(+) create mode 100644 .changes/next-release/api-change-amplify-77619.json create mode 100644 .changes/next-release/api-change-ivs-71411.json create mode 100644 .changes/next-release/api-change-ivschat-33622.json diff --git a/.changes/next-release/api-change-amplify-77619.json b/.changes/next-release/api-change-amplify-77619.json new file mode 100644 index 000000000000..64a7cecb1186 --- /dev/null +++ b/.changes/next-release/api-change-amplify-77619.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``amplify``", + "description": "Doc only update to Amplify to explain platform setting for Next.js 14 SSG only applications" +} diff --git a/.changes/next-release/api-change-ivs-71411.json b/.changes/next-release/api-change-ivs-71411.json new file mode 100644 index 000000000000..c5b4e52fee96 --- /dev/null +++ b/.changes/next-release/api-change-ivs-71411.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ivs``", + "description": "Updates to all tags descriptions." +} diff --git a/.changes/next-release/api-change-ivschat-33622.json b/.changes/next-release/api-change-ivschat-33622.json new file mode 100644 index 000000000000..1621e0684fd7 --- /dev/null +++ b/.changes/next-release/api-change-ivschat-33622.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ivschat``", + "description": "Updates to all tags descriptions." +} From 29508ca44cbbb408faa70384d1cb1a33984c8f5d Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 13 Sep 2024 18:06:23 +0000 Subject: [PATCH 0199/1087] Bumping version to 1.34.19 --- .changes/1.34.19.json | 17 +++++++++++++++++ .../next-release/api-change-amplify-77619.json | 5 ----- .changes/next-release/api-change-ivs-71411.json | 5 ----- .../next-release/api-change-ivschat-33622.json | 5 ----- CHANGELOG.rst | 8 ++++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 9 files changed, 29 insertions(+), 19 deletions(-) create mode 100644 .changes/1.34.19.json delete mode 100644 .changes/next-release/api-change-amplify-77619.json delete mode 100644 .changes/next-release/api-change-ivs-71411.json delete mode 100644 .changes/next-release/api-change-ivschat-33622.json diff --git a/.changes/1.34.19.json b/.changes/1.34.19.json new file mode 100644 index 000000000000..30c7713c5b32 --- /dev/null +++ b/.changes/1.34.19.json @@ -0,0 +1,17 @@ +[ + { + "category": "``amplify``", + "description": "Doc only update to Amplify to explain platform setting for Next.js 14 SSG only applications", + "type": "api-change" + }, + { + "category": "``ivs``", + "description": "Updates to all tags descriptions.", + "type": "api-change" + }, + { + "category": "``ivschat``", + "description": "Updates to all tags descriptions.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-amplify-77619.json b/.changes/next-release/api-change-amplify-77619.json deleted file mode 100644 index 64a7cecb1186..000000000000 --- a/.changes/next-release/api-change-amplify-77619.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``amplify``", - "description": "Doc only update to Amplify to explain platform setting for Next.js 14 SSG only applications" -} diff --git a/.changes/next-release/api-change-ivs-71411.json b/.changes/next-release/api-change-ivs-71411.json deleted file mode 100644 index c5b4e52fee96..000000000000 --- a/.changes/next-release/api-change-ivs-71411.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ivs``", - "description": "Updates to all tags descriptions." -} diff --git a/.changes/next-release/api-change-ivschat-33622.json b/.changes/next-release/api-change-ivschat-33622.json deleted file mode 100644 index 1621e0684fd7..000000000000 --- a/.changes/next-release/api-change-ivschat-33622.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ivschat``", - "description": "Updates to all tags descriptions." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index e367d9baf553..dcdadac4a787 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,14 @@ CHANGELOG ========= +1.34.19 +======= + +* api-change:``amplify``: Doc only update to Amplify to explain platform setting for Next.js 14 SSG only applications +* api-change:``ivs``: Updates to all tags descriptions. +* api-change:``ivschat``: Updates to all tags descriptions. + + 1.34.18 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 9a973870f7dc..5327b0d6d8b5 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.34.18' +__version__ = '1.34.19' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index aaac529fe9b4..b8c640597c2b 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.34.' # The full version, including alpha/beta/rc tags. -release = '1.34.18' +release = '1.34.19' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index d848c14c02ba..c14f40615beb 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.18 + botocore==1.35.19 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index a7d2561b8f38..e219a8682f83 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.18', + 'botocore==1.35.19', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From db9547c5f2892c54a9234880d312fbc9faa4b375 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 16 Sep 2024 18:13:49 +0000 Subject: [PATCH 0200/1087] Update changelog based on model updates --- .changes/next-release/api-change-bedrock-16832.json | 5 +++++ .changes/next-release/api-change-iot-79546.json | 5 +++++ .changes/next-release/api-change-medialive-96019.json | 5 +++++ .changes/next-release/api-change-organizations-58656.json | 5 +++++ .changes/next-release/api-change-pcaconnectorscep-52125.json | 5 +++++ .changes/next-release/api-change-rds-79630.json | 5 +++++ 6 files changed, 30 insertions(+) create mode 100644 .changes/next-release/api-change-bedrock-16832.json create mode 100644 .changes/next-release/api-change-iot-79546.json create mode 100644 .changes/next-release/api-change-medialive-96019.json create mode 100644 .changes/next-release/api-change-organizations-58656.json create mode 100644 .changes/next-release/api-change-pcaconnectorscep-52125.json create mode 100644 .changes/next-release/api-change-rds-79630.json diff --git a/.changes/next-release/api-change-bedrock-16832.json b/.changes/next-release/api-change-bedrock-16832.json new file mode 100644 index 000000000000..909d07c8a91f --- /dev/null +++ b/.changes/next-release/api-change-bedrock-16832.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock``", + "description": "This feature adds cross account s3 bucket and VPC support to ModelInvocation jobs. To use a cross account bucket, pass in the accountId of the bucket to s3BucketOwner in the ModelInvocationJobInputDataConfig or ModelInvocationJobOutputDataConfig." +} diff --git a/.changes/next-release/api-change-iot-79546.json b/.changes/next-release/api-change-iot-79546.json new file mode 100644 index 000000000000..cad8985c95ca --- /dev/null +++ b/.changes/next-release/api-change-iot-79546.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``iot``", + "description": "This release adds additional enhancements to AWS IoT Device Management Software Package Catalog and Jobs. It also adds SBOM support in Software Package Version." +} diff --git a/.changes/next-release/api-change-medialive-96019.json b/.changes/next-release/api-change-medialive-96019.json new file mode 100644 index 000000000000..86d58dba6998 --- /dev/null +++ b/.changes/next-release/api-change-medialive-96019.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``medialive``", + "description": "Removing the ON_PREMISE enum from the input settings field." +} diff --git a/.changes/next-release/api-change-organizations-58656.json b/.changes/next-release/api-change-organizations-58656.json new file mode 100644 index 000000000000..2ed55a0d1208 --- /dev/null +++ b/.changes/next-release/api-change-organizations-58656.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``organizations``", + "description": "Doc only update for AWS Organizations that fixes several customer-reported issues" +} diff --git a/.changes/next-release/api-change-pcaconnectorscep-52125.json b/.changes/next-release/api-change-pcaconnectorscep-52125.json new file mode 100644 index 000000000000..8e1a1c4baf67 --- /dev/null +++ b/.changes/next-release/api-change-pcaconnectorscep-52125.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``pca-connector-scep``", + "description": "This is a general availability (GA) release of Connector for SCEP, a feature of AWS Private CA. Connector for SCEP links your SCEP-enabled and mobile device management systems to AWS Private CA for digital signature installation and certificate management." +} diff --git a/.changes/next-release/api-change-rds-79630.json b/.changes/next-release/api-change-rds-79630.json new file mode 100644 index 000000000000..41172f4c46f9 --- /dev/null +++ b/.changes/next-release/api-change-rds-79630.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``rds``", + "description": "Launching Global Cluster tagging." +} From 49f14bdf246443d4c5842abe83c4779739fca1bf Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 16 Sep 2024 18:15:15 +0000 Subject: [PATCH 0201/1087] Bumping version to 1.34.20 --- .changes/1.34.20.json | 32 +++++++++++++++++++ .../api-change-bedrock-16832.json | 5 --- .../next-release/api-change-iot-79546.json | 5 --- .../api-change-medialive-96019.json | 5 --- .../api-change-organizations-58656.json | 5 --- .../api-change-pcaconnectorscep-52125.json | 5 --- .../next-release/api-change-rds-79630.json | 5 --- CHANGELOG.rst | 11 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 12 files changed, 47 insertions(+), 34 deletions(-) create mode 100644 .changes/1.34.20.json delete mode 100644 .changes/next-release/api-change-bedrock-16832.json delete mode 100644 .changes/next-release/api-change-iot-79546.json delete mode 100644 .changes/next-release/api-change-medialive-96019.json delete mode 100644 .changes/next-release/api-change-organizations-58656.json delete mode 100644 .changes/next-release/api-change-pcaconnectorscep-52125.json delete mode 100644 .changes/next-release/api-change-rds-79630.json diff --git a/.changes/1.34.20.json b/.changes/1.34.20.json new file mode 100644 index 000000000000..ad11cc51f9f9 --- /dev/null +++ b/.changes/1.34.20.json @@ -0,0 +1,32 @@ +[ + { + "category": "``bedrock``", + "description": "This feature adds cross account s3 bucket and VPC support to ModelInvocation jobs. To use a cross account bucket, pass in the accountId of the bucket to s3BucketOwner in the ModelInvocationJobInputDataConfig or ModelInvocationJobOutputDataConfig.", + "type": "api-change" + }, + { + "category": "``iot``", + "description": "This release adds additional enhancements to AWS IoT Device Management Software Package Catalog and Jobs. It also adds SBOM support in Software Package Version.", + "type": "api-change" + }, + { + "category": "``medialive``", + "description": "Removing the ON_PREMISE enum from the input settings field.", + "type": "api-change" + }, + { + "category": "``organizations``", + "description": "Doc only update for AWS Organizations that fixes several customer-reported issues", + "type": "api-change" + }, + { + "category": "``pca-connector-scep``", + "description": "This is a general availability (GA) release of Connector for SCEP, a feature of AWS Private CA. Connector for SCEP links your SCEP-enabled and mobile device management systems to AWS Private CA for digital signature installation and certificate management.", + "type": "api-change" + }, + { + "category": "``rds``", + "description": "Launching Global Cluster tagging.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-bedrock-16832.json b/.changes/next-release/api-change-bedrock-16832.json deleted file mode 100644 index 909d07c8a91f..000000000000 --- a/.changes/next-release/api-change-bedrock-16832.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock``", - "description": "This feature adds cross account s3 bucket and VPC support to ModelInvocation jobs. To use a cross account bucket, pass in the accountId of the bucket to s3BucketOwner in the ModelInvocationJobInputDataConfig or ModelInvocationJobOutputDataConfig." -} diff --git a/.changes/next-release/api-change-iot-79546.json b/.changes/next-release/api-change-iot-79546.json deleted file mode 100644 index cad8985c95ca..000000000000 --- a/.changes/next-release/api-change-iot-79546.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``iot``", - "description": "This release adds additional enhancements to AWS IoT Device Management Software Package Catalog and Jobs. It also adds SBOM support in Software Package Version." -} diff --git a/.changes/next-release/api-change-medialive-96019.json b/.changes/next-release/api-change-medialive-96019.json deleted file mode 100644 index 86d58dba6998..000000000000 --- a/.changes/next-release/api-change-medialive-96019.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``medialive``", - "description": "Removing the ON_PREMISE enum from the input settings field." -} diff --git a/.changes/next-release/api-change-organizations-58656.json b/.changes/next-release/api-change-organizations-58656.json deleted file mode 100644 index 2ed55a0d1208..000000000000 --- a/.changes/next-release/api-change-organizations-58656.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``organizations``", - "description": "Doc only update for AWS Organizations that fixes several customer-reported issues" -} diff --git a/.changes/next-release/api-change-pcaconnectorscep-52125.json b/.changes/next-release/api-change-pcaconnectorscep-52125.json deleted file mode 100644 index 8e1a1c4baf67..000000000000 --- a/.changes/next-release/api-change-pcaconnectorscep-52125.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``pca-connector-scep``", - "description": "This is a general availability (GA) release of Connector for SCEP, a feature of AWS Private CA. Connector for SCEP links your SCEP-enabled and mobile device management systems to AWS Private CA for digital signature installation and certificate management." -} diff --git a/.changes/next-release/api-change-rds-79630.json b/.changes/next-release/api-change-rds-79630.json deleted file mode 100644 index 41172f4c46f9..000000000000 --- a/.changes/next-release/api-change-rds-79630.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``rds``", - "description": "Launching Global Cluster tagging." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index dcdadac4a787..2e730a2d2323 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,17 @@ CHANGELOG ========= +1.34.20 +======= + +* api-change:``bedrock``: This feature adds cross account s3 bucket and VPC support to ModelInvocation jobs. To use a cross account bucket, pass in the accountId of the bucket to s3BucketOwner in the ModelInvocationJobInputDataConfig or ModelInvocationJobOutputDataConfig. +* api-change:``iot``: This release adds additional enhancements to AWS IoT Device Management Software Package Catalog and Jobs. It also adds SBOM support in Software Package Version. +* api-change:``medialive``: Removing the ON_PREMISE enum from the input settings field. +* api-change:``organizations``: Doc only update for AWS Organizations that fixes several customer-reported issues +* api-change:``pca-connector-scep``: This is a general availability (GA) release of Connector for SCEP, a feature of AWS Private CA. Connector for SCEP links your SCEP-enabled and mobile device management systems to AWS Private CA for digital signature installation and certificate management. +* api-change:``rds``: Launching Global Cluster tagging. + + 1.34.19 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 5327b0d6d8b5..2800d13fff65 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.34.19' +__version__ = '1.34.20' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index b8c640597c2b..273a8fb5d3b5 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.34.' # The full version, including alpha/beta/rc tags. -release = '1.34.19' +release = '1.34.20' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index c14f40615beb..67576a344cf7 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.19 + botocore==1.35.20 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index e219a8682f83..068ef06e7ece 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.19', + 'botocore==1.35.20', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 930a4cc38734371575250e35c6f4d0bab7388c31 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 17 Sep 2024 18:07:53 +0000 Subject: [PATCH 0202/1087] Update changelog based on model updates --- .changes/next-release/api-change-codebuild-65397.json | 5 +++++ .changes/next-release/api-change-ecr-42844.json | 5 +++++ .changes/next-release/api-change-ecs-96308.json | 5 +++++ .changes/next-release/api-change-lambda-74303.json | 5 +++++ .changes/next-release/api-change-rds-37666.json | 5 +++++ .changes/next-release/api-change-ssm-30019.json | 5 +++++ 6 files changed, 30 insertions(+) create mode 100644 .changes/next-release/api-change-codebuild-65397.json create mode 100644 .changes/next-release/api-change-ecr-42844.json create mode 100644 .changes/next-release/api-change-ecs-96308.json create mode 100644 .changes/next-release/api-change-lambda-74303.json create mode 100644 .changes/next-release/api-change-rds-37666.json create mode 100644 .changes/next-release/api-change-ssm-30019.json diff --git a/.changes/next-release/api-change-codebuild-65397.json b/.changes/next-release/api-change-codebuild-65397.json new file mode 100644 index 000000000000..dfec0d43cf5f --- /dev/null +++ b/.changes/next-release/api-change-codebuild-65397.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``codebuild``", + "description": "GitLab Enhancements - Add support for Self-Hosted GitLab runners in CodeBuild. Add group webhooks" +} diff --git a/.changes/next-release/api-change-ecr-42844.json b/.changes/next-release/api-change-ecr-42844.json new file mode 100644 index 000000000000..0a0224786ff6 --- /dev/null +++ b/.changes/next-release/api-change-ecr-42844.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ecr``", + "description": "The `DescribeImageScanning` API now includes `fixAvailable`, `exploitAvailable`, and `fixedInVersion` fields to provide more detailed information about the availability of fixes, exploits, and fixed versions for identified image vulnerabilities." +} diff --git a/.changes/next-release/api-change-ecs-96308.json b/.changes/next-release/api-change-ecs-96308.json new file mode 100644 index 000000000000..79883be3571b --- /dev/null +++ b/.changes/next-release/api-change-ecs-96308.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ecs``", + "description": "This is a documentation only release to address various tickets." +} diff --git a/.changes/next-release/api-change-lambda-74303.json b/.changes/next-release/api-change-lambda-74303.json new file mode 100644 index 000000000000..109d50a5f883 --- /dev/null +++ b/.changes/next-release/api-change-lambda-74303.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``lambda``", + "description": "Support for JSON resource-based policies and block public access" +} diff --git a/.changes/next-release/api-change-rds-37666.json b/.changes/next-release/api-change-rds-37666.json new file mode 100644 index 000000000000..5d3e5e7791ca --- /dev/null +++ b/.changes/next-release/api-change-rds-37666.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``rds``", + "description": "Updates Amazon RDS documentation with configuration information about the BYOL model for RDS for Db2." +} diff --git a/.changes/next-release/api-change-ssm-30019.json b/.changes/next-release/api-change-ssm-30019.json new file mode 100644 index 000000000000..5d7f797496d6 --- /dev/null +++ b/.changes/next-release/api-change-ssm-30019.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ssm``", + "description": "Support for additional levels of cross-account, cross-Region organizational units in Automation. Various documentation updates." +} From 4697914bbd893ed055749c6696bd74a5860f3808 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 17 Sep 2024 18:09:24 +0000 Subject: [PATCH 0203/1087] Bumping version to 1.34.21 --- .changes/1.34.21.json | 32 +++++++++++++++++++ .../api-change-codebuild-65397.json | 5 --- .../next-release/api-change-ecr-42844.json | 5 --- .../next-release/api-change-ecs-96308.json | 5 --- .../next-release/api-change-lambda-74303.json | 5 --- .../next-release/api-change-rds-37666.json | 5 --- .../next-release/api-change-ssm-30019.json | 5 --- CHANGELOG.rst | 11 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 12 files changed, 47 insertions(+), 34 deletions(-) create mode 100644 .changes/1.34.21.json delete mode 100644 .changes/next-release/api-change-codebuild-65397.json delete mode 100644 .changes/next-release/api-change-ecr-42844.json delete mode 100644 .changes/next-release/api-change-ecs-96308.json delete mode 100644 .changes/next-release/api-change-lambda-74303.json delete mode 100644 .changes/next-release/api-change-rds-37666.json delete mode 100644 .changes/next-release/api-change-ssm-30019.json diff --git a/.changes/1.34.21.json b/.changes/1.34.21.json new file mode 100644 index 000000000000..53907cc5739c --- /dev/null +++ b/.changes/1.34.21.json @@ -0,0 +1,32 @@ +[ + { + "category": "``codebuild``", + "description": "GitLab Enhancements - Add support for Self-Hosted GitLab runners in CodeBuild. Add group webhooks", + "type": "api-change" + }, + { + "category": "``ecr``", + "description": "The `DescribeImageScanning` API now includes `fixAvailable`, `exploitAvailable`, and `fixedInVersion` fields to provide more detailed information about the availability of fixes, exploits, and fixed versions for identified image vulnerabilities.", + "type": "api-change" + }, + { + "category": "``ecs``", + "description": "This is a documentation only release to address various tickets.", + "type": "api-change" + }, + { + "category": "``lambda``", + "description": "Support for JSON resource-based policies and block public access", + "type": "api-change" + }, + { + "category": "``rds``", + "description": "Updates Amazon RDS documentation with configuration information about the BYOL model for RDS for Db2.", + "type": "api-change" + }, + { + "category": "``ssm``", + "description": "Support for additional levels of cross-account, cross-Region organizational units in Automation. Various documentation updates.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-codebuild-65397.json b/.changes/next-release/api-change-codebuild-65397.json deleted file mode 100644 index dfec0d43cf5f..000000000000 --- a/.changes/next-release/api-change-codebuild-65397.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``codebuild``", - "description": "GitLab Enhancements - Add support for Self-Hosted GitLab runners in CodeBuild. Add group webhooks" -} diff --git a/.changes/next-release/api-change-ecr-42844.json b/.changes/next-release/api-change-ecr-42844.json deleted file mode 100644 index 0a0224786ff6..000000000000 --- a/.changes/next-release/api-change-ecr-42844.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ecr``", - "description": "The `DescribeImageScanning` API now includes `fixAvailable`, `exploitAvailable`, and `fixedInVersion` fields to provide more detailed information about the availability of fixes, exploits, and fixed versions for identified image vulnerabilities." -} diff --git a/.changes/next-release/api-change-ecs-96308.json b/.changes/next-release/api-change-ecs-96308.json deleted file mode 100644 index 79883be3571b..000000000000 --- a/.changes/next-release/api-change-ecs-96308.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ecs``", - "description": "This is a documentation only release to address various tickets." -} diff --git a/.changes/next-release/api-change-lambda-74303.json b/.changes/next-release/api-change-lambda-74303.json deleted file mode 100644 index 109d50a5f883..000000000000 --- a/.changes/next-release/api-change-lambda-74303.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``lambda``", - "description": "Support for JSON resource-based policies and block public access" -} diff --git a/.changes/next-release/api-change-rds-37666.json b/.changes/next-release/api-change-rds-37666.json deleted file mode 100644 index 5d3e5e7791ca..000000000000 --- a/.changes/next-release/api-change-rds-37666.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``rds``", - "description": "Updates Amazon RDS documentation with configuration information about the BYOL model for RDS for Db2." -} diff --git a/.changes/next-release/api-change-ssm-30019.json b/.changes/next-release/api-change-ssm-30019.json deleted file mode 100644 index 5d7f797496d6..000000000000 --- a/.changes/next-release/api-change-ssm-30019.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ssm``", - "description": "Support for additional levels of cross-account, cross-Region organizational units in Automation. Various documentation updates." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 2e730a2d2323..14ce73134667 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,17 @@ CHANGELOG ========= +1.34.21 +======= + +* api-change:``codebuild``: GitLab Enhancements - Add support for Self-Hosted GitLab runners in CodeBuild. Add group webhooks +* api-change:``ecr``: The `DescribeImageScanning` API now includes `fixAvailable`, `exploitAvailable`, and `fixedInVersion` fields to provide more detailed information about the availability of fixes, exploits, and fixed versions for identified image vulnerabilities. +* api-change:``ecs``: This is a documentation only release to address various tickets. +* api-change:``lambda``: Support for JSON resource-based policies and block public access +* api-change:``rds``: Updates Amazon RDS documentation with configuration information about the BYOL model for RDS for Db2. +* api-change:``ssm``: Support for additional levels of cross-account, cross-Region organizational units in Automation. Various documentation updates. + + 1.34.20 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 2800d13fff65..1442860104b7 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.34.20' +__version__ = '1.34.21' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 273a8fb5d3b5..b77b2c6afaf2 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.34.' # The full version, including alpha/beta/rc tags. -release = '1.34.20' +release = '1.34.21' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 67576a344cf7..9640602ff638 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.20 + botocore==1.35.21 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 068ef06e7ece..6cdcb3f0bd74 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.20', + 'botocore==1.35.21', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 8cc09c8641e4ade743f428aba7a5bdff4ed1d8bd Mon Sep 17 00:00:00 2001 From: Nate Prewitt Date: Tue, 17 Sep 2024 14:12:14 -0700 Subject: [PATCH 0204/1087] Fix regex strings in Python 3.12 (#8925) --- awscli/compat.py | 6 ++-- .../customizations/cloudtrail/validation.py | 33 ++++++++++++++----- awscli/customizations/codedeploy/push.py | 4 +-- awscli/customizations/emr/createcluster.py | 8 +++-- awscli/shorthand.py | 6 ++-- 5 files changed, 37 insertions(+), 20 deletions(-) diff --git a/awscli/compat.py b/awscli/compat.py index 2993d876572a..1881c0c7ebe2 100644 --- a/awscli/compat.py +++ b/awscli/compat.py @@ -418,9 +418,9 @@ def _parse_release_file(firstline): id = l[1] return '', version, id - _distributor_id_file_re = re.compile("(?:DISTRIB_ID\s*=)\s*(.*)", re.I) - _release_file_re = re.compile("(?:DISTRIB_RELEASE\s*=)\s*(.*)", re.I) - _codename_file_re = re.compile("(?:DISTRIB_CODENAME\s*=)\s*(.*)", re.I) + _distributor_id_file_re = re.compile(r"(?:DISTRIB_ID\s*=)\s*(.*)", re.I) + _release_file_re = re.compile(r"(?:DISTRIB_RELEASE\s*=)\s*(.*)", re.I) + _codename_file_re = re.compile(r"(?:DISTRIB_CODENAME\s*=)\s*(.*)", re.I) def linux_distribution( distname='', diff --git a/awscli/customizations/cloudtrail/validation.py b/awscli/customizations/cloudtrail/validation.py index 6565bbe172e3..fb55f60cf24d 100644 --- a/awscli/customizations/cloudtrail/validation.py +++ b/awscli/customizations/cloudtrail/validation.py @@ -73,16 +73,24 @@ def assert_cloudtrail_arn_is_valid(trail_arn): """Ensures that the arn looks correct. ARNs look like: arn:aws:cloudtrail:us-east-1:123456789012:trail/foo""" - pattern = re.compile('arn:.+:cloudtrail:.+:\d{12}:trail/.+') + pattern = re.compile(r'arn:.+:cloudtrail:.+:\d{12}:trail/.+') if not pattern.match(trail_arn): raise ValueError('Invalid trail ARN provided: %s' % trail_arn) -def create_digest_traverser(cloudtrail_client, organization_client, - s3_client_provider, trail_arn, - trail_source_region=None, on_invalid=None, - on_gap=None, on_missing=None, bucket=None, - prefix=None, account_id=None): +def create_digest_traverser( + cloudtrail_client, + organization_client, + s3_client_provider, + trail_arn, + trail_source_region=None, + on_invalid=None, + on_gap=None, + on_missing=None, + bucket=None, + prefix=None, + account_id=None, +): """Creates a CloudTrail DigestTraverser and its object graph. :type cloudtrail_client: botocore.client.CloudTrail @@ -244,9 +252,16 @@ class DigestProvider(object): dict. This class is not responsible for validation or iterating from one digest to the next. """ - def __init__(self, s3_client_provider, account_id, trail_name, - trail_home_region, trail_source_region=None, - organization_id=None): + + def __init__( + self, + s3_client_provider, + account_id, + trail_name, + trail_home_region, + trail_source_region=None, + organization_id=None, + ): self._client_provider = s3_client_provider self.trail_name = trail_name self.account_id = account_id diff --git a/awscli/customizations/codedeploy/push.py b/awscli/customizations/codedeploy/push.py index f483a3980427..a7becf87e2a7 100644 --- a/awscli/customizations/codedeploy/push.py +++ b/awscli/customizations/codedeploy/push.py @@ -61,8 +61,8 @@ class Push(BasicCommand): 'revision to be uploaded to Amazon S3. You must specify both ' 'a bucket and a key that represent the Amazon S3 bucket name ' 'and the object key name. Content will be zipped before ' - 'uploading. Use the format s3://\/\' - ) + 'uploading. Use the format s3:///' + ), }, { 'name': 'ignore-hidden-files', diff --git a/awscli/customizations/emr/createcluster.py b/awscli/customizations/emr/createcluster.py index b5a0924cc69a..63ad398e1c15 100644 --- a/awscli/customizations/emr/createcluster.py +++ b/awscli/customizations/emr/createcluster.py @@ -199,9 +199,11 @@ def _run_main_command(self, parsed_args, parsed_globals): raise ValueError('aws: error: invalid json argument for ' 'option --configurations') - if (parsed_args.release_label is None and - parsed_args.ami_version is not None): - is_valid_ami_version = re.match('\d?\..*', parsed_args.ami_version) + if ( + parsed_args.release_label is None + and parsed_args.ami_version is not None + ): + is_valid_ami_version = re.match(r'\d?\..*', parsed_args.ami_version) if is_valid_ami_version is None: raise exceptions.InvalidAmiVersionError( ami_version=parsed_args.ami_version) diff --git a/awscli/shorthand.py b/awscli/shorthand.py index 844b858fde15..5309dfe02f43 100644 --- a/awscli/shorthand.py +++ b/awscli/shorthand.py @@ -126,9 +126,9 @@ class ShorthandParser: _SINGLE_QUOTED = _NamedRegex('singled quoted', r'\'(?:\\\\|\\\'|[^\'])*\'') _DOUBLE_QUOTED = _NamedRegex('double quoted', r'"(?:\\\\|\\"|[^"])*"') - _START_WORD = '\!\#-&\(-\+\--\<\>-Z\\\\-z\u007c-\uffff' - _FIRST_FOLLOW_CHARS = '\s\!\#-&\(-\+\--\\\\\^-\|~-\uffff' - _SECOND_FOLLOW_CHARS = '\s\!\#-&\(-\+\--\<\>-\uffff' + _START_WORD = r'\!\#-&\(-\+\--\<\>-Z\\\\-z\u007c-\uffff' + _FIRST_FOLLOW_CHARS = r'\s\!\#-&\(-\+\--\\\\\^-\|~-\uffff' + _SECOND_FOLLOW_CHARS = r'\s\!\#-&\(-\+\--\<\>-\uffff' _ESCAPED_COMMA = '(\\\\,)' _FIRST_VALUE = _NamedRegex( 'first', From ed0df8bcf8da2c0940301c250966d2425444fa13 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 18 Sep 2024 18:09:18 +0000 Subject: [PATCH 0205/1087] Update changelog based on model updates --- .changes/next-release/api-change-ce-67786.json | 5 +++++ .changes/next-release/api-change-ds-76598.json | 5 +++++ .changes/next-release/api-change-dsdata-55607.json | 5 +++++ .changes/next-release/api-change-guardduty-82417.json | 5 +++++ .changes/next-release/api-change-mailmanager-28166.json | 5 +++++ .changes/next-release/api-change-rds-12526.json | 5 +++++ .changes/next-release/api-change-s3-83195.json | 5 +++++ 7 files changed, 35 insertions(+) create mode 100644 .changes/next-release/api-change-ce-67786.json create mode 100644 .changes/next-release/api-change-ds-76598.json create mode 100644 .changes/next-release/api-change-dsdata-55607.json create mode 100644 .changes/next-release/api-change-guardduty-82417.json create mode 100644 .changes/next-release/api-change-mailmanager-28166.json create mode 100644 .changes/next-release/api-change-rds-12526.json create mode 100644 .changes/next-release/api-change-s3-83195.json diff --git a/.changes/next-release/api-change-ce-67786.json b/.changes/next-release/api-change-ce-67786.json new file mode 100644 index 000000000000..a5a6506947a4 --- /dev/null +++ b/.changes/next-release/api-change-ce-67786.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ce``", + "description": "This release extends the GetReservationPurchaseRecommendation API to support recommendations for Amazon DynamoDB reservations." +} diff --git a/.changes/next-release/api-change-ds-76598.json b/.changes/next-release/api-change-ds-76598.json new file mode 100644 index 000000000000..a2f53e5c7c59 --- /dev/null +++ b/.changes/next-release/api-change-ds-76598.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ds``", + "description": "Added new APIs for enabling, disabling, and describing access to the AWS Directory Service Data API" +} diff --git a/.changes/next-release/api-change-dsdata-55607.json b/.changes/next-release/api-change-dsdata-55607.json new file mode 100644 index 000000000000..b671e11cace8 --- /dev/null +++ b/.changes/next-release/api-change-dsdata-55607.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ds-data``", + "description": "Added new AWS Directory Service Data API, enabling you to manage data stored in AWS Directory Service directories. This includes APIs for creating, reading, updating, and deleting directory users, groups, and group memberships." +} diff --git a/.changes/next-release/api-change-guardduty-82417.json b/.changes/next-release/api-change-guardduty-82417.json new file mode 100644 index 000000000000..b0a790abbdd5 --- /dev/null +++ b/.changes/next-release/api-change-guardduty-82417.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``guardduty``", + "description": "Add `launchType` and `sourceIPs` fields to GuardDuty findings." +} diff --git a/.changes/next-release/api-change-mailmanager-28166.json b/.changes/next-release/api-change-mailmanager-28166.json new file mode 100644 index 000000000000..20c9d5da87a3 --- /dev/null +++ b/.changes/next-release/api-change-mailmanager-28166.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``mailmanager``", + "description": "Introduce a new RuleSet condition evaluation, where customers can set up a StringExpression with a MimeHeader condition. This condition will perform the necessary validation based on the X-header provided by customers." +} diff --git a/.changes/next-release/api-change-rds-12526.json b/.changes/next-release/api-change-rds-12526.json new file mode 100644 index 000000000000..b5a57ebc3ee3 --- /dev/null +++ b/.changes/next-release/api-change-rds-12526.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``rds``", + "description": "Updates Amazon RDS documentation with information upgrading snapshots with unsupported engine versions for RDS for MySQL and RDS for PostgreSQL." +} diff --git a/.changes/next-release/api-change-s3-83195.json b/.changes/next-release/api-change-s3-83195.json new file mode 100644 index 000000000000..fba51af24481 --- /dev/null +++ b/.changes/next-release/api-change-s3-83195.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``s3``", + "description": "Added SSE-KMS support for directory buckets." +} From f1b892490eec2e674dd35098fe09f65e8f2f6bc8 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 18 Sep 2024 18:10:42 +0000 Subject: [PATCH 0206/1087] Bumping version to 1.34.22 --- .changes/1.34.22.json | 37 +++++++++++++++++++ .../next-release/api-change-ce-67786.json | 5 --- .../next-release/api-change-ds-76598.json | 5 --- .../next-release/api-change-dsdata-55607.json | 5 --- .../api-change-guardduty-82417.json | 5 --- .../api-change-mailmanager-28166.json | 5 --- .../next-release/api-change-rds-12526.json | 5 --- .../next-release/api-change-s3-83195.json | 5 --- CHANGELOG.rst | 12 ++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 13 files changed, 53 insertions(+), 39 deletions(-) create mode 100644 .changes/1.34.22.json delete mode 100644 .changes/next-release/api-change-ce-67786.json delete mode 100644 .changes/next-release/api-change-ds-76598.json delete mode 100644 .changes/next-release/api-change-dsdata-55607.json delete mode 100644 .changes/next-release/api-change-guardduty-82417.json delete mode 100644 .changes/next-release/api-change-mailmanager-28166.json delete mode 100644 .changes/next-release/api-change-rds-12526.json delete mode 100644 .changes/next-release/api-change-s3-83195.json diff --git a/.changes/1.34.22.json b/.changes/1.34.22.json new file mode 100644 index 000000000000..938a1835e817 --- /dev/null +++ b/.changes/1.34.22.json @@ -0,0 +1,37 @@ +[ + { + "category": "``ce``", + "description": "This release extends the GetReservationPurchaseRecommendation API to support recommendations for Amazon DynamoDB reservations.", + "type": "api-change" + }, + { + "category": "``ds``", + "description": "Added new APIs for enabling, disabling, and describing access to the AWS Directory Service Data API", + "type": "api-change" + }, + { + "category": "``ds-data``", + "description": "Added new AWS Directory Service Data API, enabling you to manage data stored in AWS Directory Service directories. This includes APIs for creating, reading, updating, and deleting directory users, groups, and group memberships.", + "type": "api-change" + }, + { + "category": "``guardduty``", + "description": "Add `launchType` and `sourceIPs` fields to GuardDuty findings.", + "type": "api-change" + }, + { + "category": "``mailmanager``", + "description": "Introduce a new RuleSet condition evaluation, where customers can set up a StringExpression with a MimeHeader condition. This condition will perform the necessary validation based on the X-header provided by customers.", + "type": "api-change" + }, + { + "category": "``rds``", + "description": "Updates Amazon RDS documentation with information upgrading snapshots with unsupported engine versions for RDS for MySQL and RDS for PostgreSQL.", + "type": "api-change" + }, + { + "category": "``s3``", + "description": "Added SSE-KMS support for directory buckets.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-ce-67786.json b/.changes/next-release/api-change-ce-67786.json deleted file mode 100644 index a5a6506947a4..000000000000 --- a/.changes/next-release/api-change-ce-67786.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ce``", - "description": "This release extends the GetReservationPurchaseRecommendation API to support recommendations for Amazon DynamoDB reservations." -} diff --git a/.changes/next-release/api-change-ds-76598.json b/.changes/next-release/api-change-ds-76598.json deleted file mode 100644 index a2f53e5c7c59..000000000000 --- a/.changes/next-release/api-change-ds-76598.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ds``", - "description": "Added new APIs for enabling, disabling, and describing access to the AWS Directory Service Data API" -} diff --git a/.changes/next-release/api-change-dsdata-55607.json b/.changes/next-release/api-change-dsdata-55607.json deleted file mode 100644 index b671e11cace8..000000000000 --- a/.changes/next-release/api-change-dsdata-55607.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ds-data``", - "description": "Added new AWS Directory Service Data API, enabling you to manage data stored in AWS Directory Service directories. This includes APIs for creating, reading, updating, and deleting directory users, groups, and group memberships." -} diff --git a/.changes/next-release/api-change-guardduty-82417.json b/.changes/next-release/api-change-guardduty-82417.json deleted file mode 100644 index b0a790abbdd5..000000000000 --- a/.changes/next-release/api-change-guardduty-82417.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``guardduty``", - "description": "Add `launchType` and `sourceIPs` fields to GuardDuty findings." -} diff --git a/.changes/next-release/api-change-mailmanager-28166.json b/.changes/next-release/api-change-mailmanager-28166.json deleted file mode 100644 index 20c9d5da87a3..000000000000 --- a/.changes/next-release/api-change-mailmanager-28166.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``mailmanager``", - "description": "Introduce a new RuleSet condition evaluation, where customers can set up a StringExpression with a MimeHeader condition. This condition will perform the necessary validation based on the X-header provided by customers." -} diff --git a/.changes/next-release/api-change-rds-12526.json b/.changes/next-release/api-change-rds-12526.json deleted file mode 100644 index b5a57ebc3ee3..000000000000 --- a/.changes/next-release/api-change-rds-12526.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``rds``", - "description": "Updates Amazon RDS documentation with information upgrading snapshots with unsupported engine versions for RDS for MySQL and RDS for PostgreSQL." -} diff --git a/.changes/next-release/api-change-s3-83195.json b/.changes/next-release/api-change-s3-83195.json deleted file mode 100644 index fba51af24481..000000000000 --- a/.changes/next-release/api-change-s3-83195.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``s3``", - "description": "Added SSE-KMS support for directory buckets." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 14ce73134667..a7059c204248 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,18 @@ CHANGELOG ========= +1.34.22 +======= + +* api-change:``ce``: This release extends the GetReservationPurchaseRecommendation API to support recommendations for Amazon DynamoDB reservations. +* api-change:``ds``: Added new APIs for enabling, disabling, and describing access to the AWS Directory Service Data API +* api-change:``ds-data``: Added new AWS Directory Service Data API, enabling you to manage data stored in AWS Directory Service directories. This includes APIs for creating, reading, updating, and deleting directory users, groups, and group memberships. +* api-change:``guardduty``: Add `launchType` and `sourceIPs` fields to GuardDuty findings. +* api-change:``mailmanager``: Introduce a new RuleSet condition evaluation, where customers can set up a StringExpression with a MimeHeader condition. This condition will perform the necessary validation based on the X-header provided by customers. +* api-change:``rds``: Updates Amazon RDS documentation with information upgrading snapshots with unsupported engine versions for RDS for MySQL and RDS for PostgreSQL. +* api-change:``s3``: Added SSE-KMS support for directory buckets. + + 1.34.21 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 1442860104b7..fc9d65a048d1 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.34.21' +__version__ = '1.34.22' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index b77b2c6afaf2..46bc345bc1dd 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.34.' # The full version, including alpha/beta/rc tags. -release = '1.34.21' +release = '1.34.22' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 9640602ff638..7d6d81102bf9 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.21 + botocore==1.35.22 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 6cdcb3f0bd74..48ea06f54fe4 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.21', + 'botocore==1.35.22', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From be89bf70918198e7ca0b16f4133d01864f323724 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 19 Sep 2024 18:07:08 +0000 Subject: [PATCH 0207/1087] Update changelog based on model updates --- .changes/next-release/api-change-codeconnections-97900.json | 5 +++++ .changes/next-release/api-change-glue-87136.json | 5 +++++ .changes/next-release/api-change-lambda-68919.json | 5 +++++ .changes/next-release/api-change-mediaconvert-35609.json | 5 +++++ .changes/next-release/api-change-medialive-25190.json | 5 +++++ .changes/next-release/api-change-quicksight-14494.json | 5 +++++ .changes/next-release/api-change-sagemaker-32785.json | 5 +++++ .changes/next-release/api-change-workspacesweb-68401.json | 5 +++++ 8 files changed, 40 insertions(+) create mode 100644 .changes/next-release/api-change-codeconnections-97900.json create mode 100644 .changes/next-release/api-change-glue-87136.json create mode 100644 .changes/next-release/api-change-lambda-68919.json create mode 100644 .changes/next-release/api-change-mediaconvert-35609.json create mode 100644 .changes/next-release/api-change-medialive-25190.json create mode 100644 .changes/next-release/api-change-quicksight-14494.json create mode 100644 .changes/next-release/api-change-sagemaker-32785.json create mode 100644 .changes/next-release/api-change-workspacesweb-68401.json diff --git a/.changes/next-release/api-change-codeconnections-97900.json b/.changes/next-release/api-change-codeconnections-97900.json new file mode 100644 index 000000000000..c75b43c7942e --- /dev/null +++ b/.changes/next-release/api-change-codeconnections-97900.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``codeconnections``", + "description": "This release adds the PullRequestComment field to CreateSyncConfiguration API input, UpdateSyncConfiguration API input, GetSyncConfiguration API output and ListSyncConfiguration API output" +} diff --git a/.changes/next-release/api-change-glue-87136.json b/.changes/next-release/api-change-glue-87136.json new file mode 100644 index 000000000000..a687baf8870c --- /dev/null +++ b/.changes/next-release/api-change-glue-87136.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``glue``", + "description": "This change is for releasing TestConnection api SDK model" +} diff --git a/.changes/next-release/api-change-lambda-68919.json b/.changes/next-release/api-change-lambda-68919.json new file mode 100644 index 000000000000..53b48b47300b --- /dev/null +++ b/.changes/next-release/api-change-lambda-68919.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``lambda``", + "description": "Tagging support for Lambda event source mapping, and code signing configuration resources." +} diff --git a/.changes/next-release/api-change-mediaconvert-35609.json b/.changes/next-release/api-change-mediaconvert-35609.json new file mode 100644 index 000000000000..a2bcd0146ca4 --- /dev/null +++ b/.changes/next-release/api-change-mediaconvert-35609.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``mediaconvert``", + "description": "This release provides support for additional DRM configurations per SPEKE Version 2.0." +} diff --git a/.changes/next-release/api-change-medialive-25190.json b/.changes/next-release/api-change-medialive-25190.json new file mode 100644 index 000000000000..8c8f8a2f3adc --- /dev/null +++ b/.changes/next-release/api-change-medialive-25190.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``medialive``", + "description": "Adds Bandwidth Reduction Filtering for HD AVC and HEVC encodes, multiplex container settings." +} diff --git a/.changes/next-release/api-change-quicksight-14494.json b/.changes/next-release/api-change-quicksight-14494.json new file mode 100644 index 000000000000..9858e109ba84 --- /dev/null +++ b/.changes/next-release/api-change-quicksight-14494.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``quicksight``", + "description": "QuickSight: 1. Add new API - ListFoldersForResource. 2. Commit mode adds visibility configuration of Apply button on multi-select controls for authors." +} diff --git a/.changes/next-release/api-change-sagemaker-32785.json b/.changes/next-release/api-change-sagemaker-32785.json new file mode 100644 index 000000000000..b122a25c2240 --- /dev/null +++ b/.changes/next-release/api-change-sagemaker-32785.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``sagemaker``", + "description": "Introduced support for G6e instance types on SageMaker Studio for JupyterLab and CodeEditor applications." +} diff --git a/.changes/next-release/api-change-workspacesweb-68401.json b/.changes/next-release/api-change-workspacesweb-68401.json new file mode 100644 index 000000000000..82d2788b126a --- /dev/null +++ b/.changes/next-release/api-change-workspacesweb-68401.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``workspaces-web``", + "description": "WorkSpaces Secure Browser now enables Administrators to view and manage end-user browsing sessions via Session Management APIs." +} From 3ca3e2f1c90481fb6e924cec544aec7b7537f7d5 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 19 Sep 2024 18:08:14 +0000 Subject: [PATCH 0208/1087] Bumping version to 1.34.23 --- .changes/1.34.23.json | 42 +++++++++++++++++++ .../api-change-codeconnections-97900.json | 5 --- .../next-release/api-change-glue-87136.json | 5 --- .../next-release/api-change-lambda-68919.json | 5 --- .../api-change-mediaconvert-35609.json | 5 --- .../api-change-medialive-25190.json | 5 --- .../api-change-quicksight-14494.json | 5 --- .../api-change-sagemaker-32785.json | 5 --- .../api-change-workspacesweb-68401.json | 5 --- CHANGELOG.rst | 13 ++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 14 files changed, 59 insertions(+), 44 deletions(-) create mode 100644 .changes/1.34.23.json delete mode 100644 .changes/next-release/api-change-codeconnections-97900.json delete mode 100644 .changes/next-release/api-change-glue-87136.json delete mode 100644 .changes/next-release/api-change-lambda-68919.json delete mode 100644 .changes/next-release/api-change-mediaconvert-35609.json delete mode 100644 .changes/next-release/api-change-medialive-25190.json delete mode 100644 .changes/next-release/api-change-quicksight-14494.json delete mode 100644 .changes/next-release/api-change-sagemaker-32785.json delete mode 100644 .changes/next-release/api-change-workspacesweb-68401.json diff --git a/.changes/1.34.23.json b/.changes/1.34.23.json new file mode 100644 index 000000000000..089432ac9cbc --- /dev/null +++ b/.changes/1.34.23.json @@ -0,0 +1,42 @@ +[ + { + "category": "``codeconnections``", + "description": "This release adds the PullRequestComment field to CreateSyncConfiguration API input, UpdateSyncConfiguration API input, GetSyncConfiguration API output and ListSyncConfiguration API output", + "type": "api-change" + }, + { + "category": "``glue``", + "description": "This change is for releasing TestConnection api SDK model", + "type": "api-change" + }, + { + "category": "``lambda``", + "description": "Tagging support for Lambda event source mapping, and code signing configuration resources.", + "type": "api-change" + }, + { + "category": "``mediaconvert``", + "description": "This release provides support for additional DRM configurations per SPEKE Version 2.0.", + "type": "api-change" + }, + { + "category": "``medialive``", + "description": "Adds Bandwidth Reduction Filtering for HD AVC and HEVC encodes, multiplex container settings.", + "type": "api-change" + }, + { + "category": "``quicksight``", + "description": "QuickSight: 1. Add new API - ListFoldersForResource. 2. Commit mode adds visibility configuration of Apply button on multi-select controls for authors.", + "type": "api-change" + }, + { + "category": "``sagemaker``", + "description": "Introduced support for G6e instance types on SageMaker Studio for JupyterLab and CodeEditor applications.", + "type": "api-change" + }, + { + "category": "``workspaces-web``", + "description": "WorkSpaces Secure Browser now enables Administrators to view and manage end-user browsing sessions via Session Management APIs.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-codeconnections-97900.json b/.changes/next-release/api-change-codeconnections-97900.json deleted file mode 100644 index c75b43c7942e..000000000000 --- a/.changes/next-release/api-change-codeconnections-97900.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``codeconnections``", - "description": "This release adds the PullRequestComment field to CreateSyncConfiguration API input, UpdateSyncConfiguration API input, GetSyncConfiguration API output and ListSyncConfiguration API output" -} diff --git a/.changes/next-release/api-change-glue-87136.json b/.changes/next-release/api-change-glue-87136.json deleted file mode 100644 index a687baf8870c..000000000000 --- a/.changes/next-release/api-change-glue-87136.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``glue``", - "description": "This change is for releasing TestConnection api SDK model" -} diff --git a/.changes/next-release/api-change-lambda-68919.json b/.changes/next-release/api-change-lambda-68919.json deleted file mode 100644 index 53b48b47300b..000000000000 --- a/.changes/next-release/api-change-lambda-68919.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``lambda``", - "description": "Tagging support for Lambda event source mapping, and code signing configuration resources." -} diff --git a/.changes/next-release/api-change-mediaconvert-35609.json b/.changes/next-release/api-change-mediaconvert-35609.json deleted file mode 100644 index a2bcd0146ca4..000000000000 --- a/.changes/next-release/api-change-mediaconvert-35609.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``mediaconvert``", - "description": "This release provides support for additional DRM configurations per SPEKE Version 2.0." -} diff --git a/.changes/next-release/api-change-medialive-25190.json b/.changes/next-release/api-change-medialive-25190.json deleted file mode 100644 index 8c8f8a2f3adc..000000000000 --- a/.changes/next-release/api-change-medialive-25190.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``medialive``", - "description": "Adds Bandwidth Reduction Filtering for HD AVC and HEVC encodes, multiplex container settings." -} diff --git a/.changes/next-release/api-change-quicksight-14494.json b/.changes/next-release/api-change-quicksight-14494.json deleted file mode 100644 index 9858e109ba84..000000000000 --- a/.changes/next-release/api-change-quicksight-14494.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``quicksight``", - "description": "QuickSight: 1. Add new API - ListFoldersForResource. 2. Commit mode adds visibility configuration of Apply button on multi-select controls for authors." -} diff --git a/.changes/next-release/api-change-sagemaker-32785.json b/.changes/next-release/api-change-sagemaker-32785.json deleted file mode 100644 index b122a25c2240..000000000000 --- a/.changes/next-release/api-change-sagemaker-32785.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``sagemaker``", - "description": "Introduced support for G6e instance types on SageMaker Studio for JupyterLab and CodeEditor applications." -} diff --git a/.changes/next-release/api-change-workspacesweb-68401.json b/.changes/next-release/api-change-workspacesweb-68401.json deleted file mode 100644 index 82d2788b126a..000000000000 --- a/.changes/next-release/api-change-workspacesweb-68401.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``workspaces-web``", - "description": "WorkSpaces Secure Browser now enables Administrators to view and manage end-user browsing sessions via Session Management APIs." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index a7059c204248..66b8eb65f9ce 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,19 @@ CHANGELOG ========= +1.34.23 +======= + +* api-change:``codeconnections``: This release adds the PullRequestComment field to CreateSyncConfiguration API input, UpdateSyncConfiguration API input, GetSyncConfiguration API output and ListSyncConfiguration API output +* api-change:``glue``: This change is for releasing TestConnection api SDK model +* api-change:``lambda``: Tagging support for Lambda event source mapping, and code signing configuration resources. +* api-change:``mediaconvert``: This release provides support for additional DRM configurations per SPEKE Version 2.0. +* api-change:``medialive``: Adds Bandwidth Reduction Filtering for HD AVC and HEVC encodes, multiplex container settings. +* api-change:``quicksight``: QuickSight: 1. Add new API - ListFoldersForResource. 2. Commit mode adds visibility configuration of Apply button on multi-select controls for authors. +* api-change:``sagemaker``: Introduced support for G6e instance types on SageMaker Studio for JupyterLab and CodeEditor applications. +* api-change:``workspaces-web``: WorkSpaces Secure Browser now enables Administrators to view and manage end-user browsing sessions via Session Management APIs. + + 1.34.22 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index fc9d65a048d1..bff2030be09e 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.34.22' +__version__ = '1.34.23' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 46bc345bc1dd..c4a891d590a3 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.34.' # The full version, including alpha/beta/rc tags. -release = '1.34.22' +release = '1.34.23' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 7d6d81102bf9..981362f3f0c8 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.22 + botocore==1.35.23 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 48ea06f54fe4..16f0fae8cef9 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.22', + 'botocore==1.35.23', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From ba8733c12ceee570f6d3f3b58793d5b357dbeb01 Mon Sep 17 00:00:00 2001 From: Ahmed Moustafa <35640105+aemous@users.noreply.github.com> Date: Fri, 20 Sep 2024 12:40:32 -0400 Subject: [PATCH 0209/1087] Add warning for non-positive max-items value (#8931) Emit a warning when a non-positive integer is entered for the max-items pagination parameter. --- .../enhancement-paginator-44130.json | 5 ++++ awscli/customizations/paginate.py | 9 ++++++++ tests/unit/customizations/test_paginate.py | 23 +++++++++++++++++++ 3 files changed, 37 insertions(+) create mode 100644 .changes/next-release/enhancement-paginator-44130.json diff --git a/.changes/next-release/enhancement-paginator-44130.json b/.changes/next-release/enhancement-paginator-44130.json new file mode 100644 index 000000000000..1a47512834bf --- /dev/null +++ b/.changes/next-release/enhancement-paginator-44130.json @@ -0,0 +1,5 @@ +{ + "type": "enhancement", + "category": "paginator", + "description": "Add warning when a non-positive value is provided for the max-items pagination parameter." +} diff --git a/awscli/customizations/paginate.py b/awscli/customizations/paginate.py index c1400c5758e3..fe1f3f140112 100644 --- a/awscli/customizations/paginate.py +++ b/awscli/customizations/paginate.py @@ -24,8 +24,10 @@ """ import logging +import sys from functools import partial +from awscli.customizations.utils import uni_print from botocore import xform_name from botocore.exceptions import DataNotFoundError, PaginationError from botocore import model @@ -266,6 +268,11 @@ def __init__(self, name, documentation, parse_type, serialized_name): self._parse_type = parse_type self._required = False + def _emit_non_positive_max_items_warning(self): + uni_print( + "warning: Non-positive values for --max-items may result in undefined behavior.\n", + sys.stderr) + @property def cli_name(self): return '--' + self._name @@ -292,6 +299,8 @@ def add_to_parser(self, parser): def add_to_params(self, parameters, value): if value is not None: + if self._serialized_name == 'MaxItems' and int(value) <= 0: + self._emit_non_positive_max_items_warning() pagination_config = parameters.get('PaginationConfig', {}) pagination_config[self._serialized_name] = value parameters['PaginationConfig'] = pagination_config diff --git a/tests/unit/customizations/test_paginate.py b/tests/unit/customizations/test_paginate.py index e4e4e018975e..cb362a0fc631 100644 --- a/tests/unit/customizations/test_paginate.py +++ b/tests/unit/customizations/test_paginate.py @@ -10,6 +10,9 @@ # distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF # ANY KIND, either express or implied. See the License for the specific # language governing permissions and limitations under the License. +import pytest + +from awscli.customizations.paginate import PageArgument from awscli.testutils import mock, unittest from botocore.exceptions import DataNotFoundError, PaginationError @@ -18,6 +21,9 @@ from awscli.customizations import paginate +@pytest.fixture +def max_items_page_arg(): + return PageArgument('max-items', 'documentation', int, 'MaxItems') class TestPaginateBase(unittest.TestCase): @@ -321,3 +327,20 @@ def test_can_handle_missing_page_size(self): del self.parsed_args.page_size self.assertIsNone(paginate.ensure_paging_params_not_set( self.parsed_args, {})) + + +class TestNonPositiveMaxItems: + def test_positive_integer_does_not_raise_warning(self, max_items_page_arg, capsys): + max_items_page_arg.add_to_params({}, 1) + captured = capsys.readouterr() + assert captured.err == "" + + def test_zero_raises_warning(self, max_items_page_arg, capsys): + max_items_page_arg.add_to_params({}, 0) + captured = capsys.readouterr() + assert "Non-positive values for --max-items" in captured.err + + def test_negative_integer_raises_warning(self, max_items_page_arg, capsys): + max_items_page_arg.add_to_params({}, -1) + captured = capsys.readouterr() + assert "Non-positive values for --max-items" in captured.err From 810cbcd9af3aaccc20a016788b6291a953736bc8 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 20 Sep 2024 18:08:39 +0000 Subject: [PATCH 0210/1087] Update changelog based on model updates --- .changes/next-release/api-change-dynamodb-51800.json | 5 +++++ .changes/next-release/api-change-neptune-75258.json | 5 +++++ .changes/next-release/api-change-sagemaker-29391.json | 5 +++++ .changes/next-release/api-change-sagemakermetrics-2293.json | 5 +++++ .changes/next-release/api-change-workspaces-55095.json | 5 +++++ 5 files changed, 25 insertions(+) create mode 100644 .changes/next-release/api-change-dynamodb-51800.json create mode 100644 .changes/next-release/api-change-neptune-75258.json create mode 100644 .changes/next-release/api-change-sagemaker-29391.json create mode 100644 .changes/next-release/api-change-sagemakermetrics-2293.json create mode 100644 .changes/next-release/api-change-workspaces-55095.json diff --git a/.changes/next-release/api-change-dynamodb-51800.json b/.changes/next-release/api-change-dynamodb-51800.json new file mode 100644 index 000000000000..26492e8a69b9 --- /dev/null +++ b/.changes/next-release/api-change-dynamodb-51800.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``dynamodb``", + "description": "Generate account endpoint for DynamoDB requests when the account ID is available" +} diff --git a/.changes/next-release/api-change-neptune-75258.json b/.changes/next-release/api-change-neptune-75258.json new file mode 100644 index 000000000000..b70df6429359 --- /dev/null +++ b/.changes/next-release/api-change-neptune-75258.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``neptune``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." +} diff --git a/.changes/next-release/api-change-sagemaker-29391.json b/.changes/next-release/api-change-sagemaker-29391.json new file mode 100644 index 000000000000..773be1adfb66 --- /dev/null +++ b/.changes/next-release/api-change-sagemaker-29391.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``sagemaker``", + "description": "Amazon SageMaker now supports using manifest files to specify the location of uncompressed model artifacts within Model Packages" +} diff --git a/.changes/next-release/api-change-sagemakermetrics-2293.json b/.changes/next-release/api-change-sagemakermetrics-2293.json new file mode 100644 index 000000000000..3b3c15e274e7 --- /dev/null +++ b/.changes/next-release/api-change-sagemakermetrics-2293.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``sagemaker-metrics``", + "description": "This release introduces support for the SageMaker Metrics BatchGetMetrics API." +} diff --git a/.changes/next-release/api-change-workspaces-55095.json b/.changes/next-release/api-change-workspaces-55095.json new file mode 100644 index 000000000000..aa04ca410c0a --- /dev/null +++ b/.changes/next-release/api-change-workspaces-55095.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``workspaces``", + "description": "Releasing new ErrorCodes for SysPrep failures during ImageImport and CreateImage process" +} From 6b5200bf4e09ee3e5e7c4cf24c56594fffce6b65 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 20 Sep 2024 18:10:01 +0000 Subject: [PATCH 0211/1087] Bumping version to 1.34.24 --- .changes/1.34.24.json | 32 +++++++++++++++++++ .../api-change-dynamodb-51800.json | 5 --- .../api-change-neptune-75258.json | 5 --- .../api-change-sagemaker-29391.json | 5 --- .../api-change-sagemakermetrics-2293.json | 5 --- .../api-change-workspaces-55095.json | 5 --- .../enhancement-paginator-44130.json | 5 --- CHANGELOG.rst | 11 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 12 files changed, 47 insertions(+), 34 deletions(-) create mode 100644 .changes/1.34.24.json delete mode 100644 .changes/next-release/api-change-dynamodb-51800.json delete mode 100644 .changes/next-release/api-change-neptune-75258.json delete mode 100644 .changes/next-release/api-change-sagemaker-29391.json delete mode 100644 .changes/next-release/api-change-sagemakermetrics-2293.json delete mode 100644 .changes/next-release/api-change-workspaces-55095.json delete mode 100644 .changes/next-release/enhancement-paginator-44130.json diff --git a/.changes/1.34.24.json b/.changes/1.34.24.json new file mode 100644 index 000000000000..ea8d84927015 --- /dev/null +++ b/.changes/1.34.24.json @@ -0,0 +1,32 @@ +[ + { + "category": "``dynamodb``", + "description": "Generate account endpoint for DynamoDB requests when the account ID is available", + "type": "api-change" + }, + { + "category": "``neptune``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing.", + "type": "api-change" + }, + { + "category": "``sagemaker``", + "description": "Amazon SageMaker now supports using manifest files to specify the location of uncompressed model artifacts within Model Packages", + "type": "api-change" + }, + { + "category": "``sagemaker-metrics``", + "description": "This release introduces support for the SageMaker Metrics BatchGetMetrics API.", + "type": "api-change" + }, + { + "category": "``workspaces``", + "description": "Releasing new ErrorCodes for SysPrep failures during ImageImport and CreateImage process", + "type": "api-change" + }, + { + "category": "paginator", + "description": "Add warning when a non-positive value is provided for the max-items pagination parameter.", + "type": "enhancement" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-dynamodb-51800.json b/.changes/next-release/api-change-dynamodb-51800.json deleted file mode 100644 index 26492e8a69b9..000000000000 --- a/.changes/next-release/api-change-dynamodb-51800.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``dynamodb``", - "description": "Generate account endpoint for DynamoDB requests when the account ID is available" -} diff --git a/.changes/next-release/api-change-neptune-75258.json b/.changes/next-release/api-change-neptune-75258.json deleted file mode 100644 index b70df6429359..000000000000 --- a/.changes/next-release/api-change-neptune-75258.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``neptune``", - "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." -} diff --git a/.changes/next-release/api-change-sagemaker-29391.json b/.changes/next-release/api-change-sagemaker-29391.json deleted file mode 100644 index 773be1adfb66..000000000000 --- a/.changes/next-release/api-change-sagemaker-29391.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``sagemaker``", - "description": "Amazon SageMaker now supports using manifest files to specify the location of uncompressed model artifacts within Model Packages" -} diff --git a/.changes/next-release/api-change-sagemakermetrics-2293.json b/.changes/next-release/api-change-sagemakermetrics-2293.json deleted file mode 100644 index 3b3c15e274e7..000000000000 --- a/.changes/next-release/api-change-sagemakermetrics-2293.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``sagemaker-metrics``", - "description": "This release introduces support for the SageMaker Metrics BatchGetMetrics API." -} diff --git a/.changes/next-release/api-change-workspaces-55095.json b/.changes/next-release/api-change-workspaces-55095.json deleted file mode 100644 index aa04ca410c0a..000000000000 --- a/.changes/next-release/api-change-workspaces-55095.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``workspaces``", - "description": "Releasing new ErrorCodes for SysPrep failures during ImageImport and CreateImage process" -} diff --git a/.changes/next-release/enhancement-paginator-44130.json b/.changes/next-release/enhancement-paginator-44130.json deleted file mode 100644 index 1a47512834bf..000000000000 --- a/.changes/next-release/enhancement-paginator-44130.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "enhancement", - "category": "paginator", - "description": "Add warning when a non-positive value is provided for the max-items pagination parameter." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 66b8eb65f9ce..812223dddb8a 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,17 @@ CHANGELOG ========= +1.34.24 +======= + +* api-change:``dynamodb``: Generate account endpoint for DynamoDB requests when the account ID is available +* api-change:``neptune``: Add v2 smoke tests and smithy smokeTests trait for SDK testing. +* api-change:``sagemaker``: Amazon SageMaker now supports using manifest files to specify the location of uncompressed model artifacts within Model Packages +* api-change:``sagemaker-metrics``: This release introduces support for the SageMaker Metrics BatchGetMetrics API. +* api-change:``workspaces``: Releasing new ErrorCodes for SysPrep failures during ImageImport and CreateImage process +* enhancement:paginator: Add warning when a non-positive value is provided for the max-items pagination parameter. + + 1.34.23 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index bff2030be09e..02b2e03455a3 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.34.23' +__version__ = '1.34.24' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index c4a891d590a3..ebed2c7f375e 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.34.' # The full version, including alpha/beta/rc tags. -release = '1.34.23' +release = '1.34.24' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 981362f3f0c8..eb4ce2d7a911 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.23 + botocore==1.35.24 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 16f0fae8cef9..6f324f1f787f 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.23', + 'botocore==1.35.24', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From ad9abea14cd97ce8c21fc63d928cfd242b8fc9c2 Mon Sep 17 00:00:00 2001 From: Ikko Eltociear Ashimine Date: Sat, 21 Sep 2024 14:02:52 +0900 Subject: [PATCH 0212/1087] docs: update create-vpc-endpoint.rst minor fix --- awscli/examples/ec2/create-vpc-endpoint.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/awscli/examples/ec2/create-vpc-endpoint.rst b/awscli/examples/ec2/create-vpc-endpoint.rst index e2e82963bcad..4f2c4c8dc8fc 100644 --- a/awscli/examples/ec2/create-vpc-endpoint.rst +++ b/awscli/examples/ec2/create-vpc-endpoint.rst @@ -86,7 +86,7 @@ For more information, see `Creating an interface endpoint `__ in the *User Guide for AWSPrivateLink*. \ No newline at end of file +For more information, see `Gateway Load Balancer endpoints `__ in the *User Guide for AWSPrivateLink*. From b4da5d9e974fd74ce0613544c49fe819543cb179 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 23 Sep 2024 18:15:28 +0000 Subject: [PATCH 0213/1087] Update changelog based on model updates --- .changes/next-release/api-change-apigateway-96597.json | 5 +++++ .changes/next-release/api-change-athena-16036.json | 5 +++++ .changes/next-release/api-change-bedrockagent-34007.json | 5 +++++ .changes/next-release/api-change-ec2-76019.json | 5 +++++ .changes/next-release/api-change-emrserverless-56479.json | 5 +++++ .changes/next-release/api-change-glue-45359.json | 5 +++++ .changes/next-release/api-change-rds-32794.json | 5 +++++ .../next-release/api-change-resourceexplorer2-82480.json | 5 +++++ 8 files changed, 40 insertions(+) create mode 100644 .changes/next-release/api-change-apigateway-96597.json create mode 100644 .changes/next-release/api-change-athena-16036.json create mode 100644 .changes/next-release/api-change-bedrockagent-34007.json create mode 100644 .changes/next-release/api-change-ec2-76019.json create mode 100644 .changes/next-release/api-change-emrserverless-56479.json create mode 100644 .changes/next-release/api-change-glue-45359.json create mode 100644 .changes/next-release/api-change-rds-32794.json create mode 100644 .changes/next-release/api-change-resourceexplorer2-82480.json diff --git a/.changes/next-release/api-change-apigateway-96597.json b/.changes/next-release/api-change-apigateway-96597.json new file mode 100644 index 000000000000..d29e130eb731 --- /dev/null +++ b/.changes/next-release/api-change-apigateway-96597.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``apigateway``", + "description": "Documentation updates for Amazon API Gateway" +} diff --git a/.changes/next-release/api-change-athena-16036.json b/.changes/next-release/api-change-athena-16036.json new file mode 100644 index 000000000000..ebd8d61005db --- /dev/null +++ b/.changes/next-release/api-change-athena-16036.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``athena``", + "description": "List/Get/Update/Delete/CreateDataCatalog now integrate with AWS Glue connections. Users can create a Glue connection through Athena or use a Glue connection to define their Athena federated parameters." +} diff --git a/.changes/next-release/api-change-bedrockagent-34007.json b/.changes/next-release/api-change-bedrockagent-34007.json new file mode 100644 index 000000000000..9386d6878c6a --- /dev/null +++ b/.changes/next-release/api-change-bedrockagent-34007.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-agent``", + "description": "Amazon Bedrock Prompt Flows and Prompt Management now supports using inference profiles to increase throughput and improve resilience." +} diff --git a/.changes/next-release/api-change-ec2-76019.json b/.changes/next-release/api-change-ec2-76019.json new file mode 100644 index 000000000000..c4b42cb9b2ed --- /dev/null +++ b/.changes/next-release/api-change-ec2-76019.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ec2``", + "description": "Amazon EC2 G6e instances powered by NVIDIA L40S Tensor Core GPUs are the most cost-efficient GPU instances for deploying generative AI models and the highest performance GPU instances for spatial computing workloads." +} diff --git a/.changes/next-release/api-change-emrserverless-56479.json b/.changes/next-release/api-change-emrserverless-56479.json new file mode 100644 index 000000000000..d00b44445980 --- /dev/null +++ b/.changes/next-release/api-change-emrserverless-56479.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``emr-serverless``", + "description": "This release adds support for job concurrency and queuing configuration at Application level." +} diff --git a/.changes/next-release/api-change-glue-45359.json b/.changes/next-release/api-change-glue-45359.json new file mode 100644 index 000000000000..fd6708c5ebc0 --- /dev/null +++ b/.changes/next-release/api-change-glue-45359.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``glue``", + "description": "Added AthenaProperties parameter to Glue Connections, allowing Athena to store service specific properties on Glue Connections." +} diff --git a/.changes/next-release/api-change-rds-32794.json b/.changes/next-release/api-change-rds-32794.json new file mode 100644 index 000000000000..98f1f50c978c --- /dev/null +++ b/.changes/next-release/api-change-rds-32794.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``rds``", + "description": "Support ComputeRedundancy parameter in ModifyDBShardGroup API. Add DBShardGroupArn in DBShardGroup API response. Remove InvalidMaxAcuFault from CreateDBShardGroup and ModifyDBShardGroup API. Both API will throw InvalidParameterValueException for invalid ACU configuration." +} diff --git a/.changes/next-release/api-change-resourceexplorer2-82480.json b/.changes/next-release/api-change-resourceexplorer2-82480.json new file mode 100644 index 000000000000..a6c905089853 --- /dev/null +++ b/.changes/next-release/api-change-resourceexplorer2-82480.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``resource-explorer-2``", + "description": "AWS Resource Explorer released ListResources feature which allows customers to list all indexed AWS resources within a view." +} From 1cf42efdaa4fbc2ce591da713f0ba4476a15de01 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 23 Sep 2024 18:16:50 +0000 Subject: [PATCH 0214/1087] Bumping version to 1.34.25 --- .changes/1.34.25.json | 42 +++++++++++++++++++ .../api-change-apigateway-96597.json | 5 --- .../next-release/api-change-athena-16036.json | 5 --- .../api-change-bedrockagent-34007.json | 5 --- .../next-release/api-change-ec2-76019.json | 5 --- .../api-change-emrserverless-56479.json | 5 --- .../next-release/api-change-glue-45359.json | 5 --- .../next-release/api-change-rds-32794.json | 5 --- .../api-change-resourceexplorer2-82480.json | 5 --- CHANGELOG.rst | 13 ++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 14 files changed, 59 insertions(+), 44 deletions(-) create mode 100644 .changes/1.34.25.json delete mode 100644 .changes/next-release/api-change-apigateway-96597.json delete mode 100644 .changes/next-release/api-change-athena-16036.json delete mode 100644 .changes/next-release/api-change-bedrockagent-34007.json delete mode 100644 .changes/next-release/api-change-ec2-76019.json delete mode 100644 .changes/next-release/api-change-emrserverless-56479.json delete mode 100644 .changes/next-release/api-change-glue-45359.json delete mode 100644 .changes/next-release/api-change-rds-32794.json delete mode 100644 .changes/next-release/api-change-resourceexplorer2-82480.json diff --git a/.changes/1.34.25.json b/.changes/1.34.25.json new file mode 100644 index 000000000000..26891b23a5a7 --- /dev/null +++ b/.changes/1.34.25.json @@ -0,0 +1,42 @@ +[ + { + "category": "``apigateway``", + "description": "Documentation updates for Amazon API Gateway", + "type": "api-change" + }, + { + "category": "``athena``", + "description": "List/Get/Update/Delete/CreateDataCatalog now integrate with AWS Glue connections. Users can create a Glue connection through Athena or use a Glue connection to define their Athena federated parameters.", + "type": "api-change" + }, + { + "category": "``bedrock-agent``", + "description": "Amazon Bedrock Prompt Flows and Prompt Management now supports using inference profiles to increase throughput and improve resilience.", + "type": "api-change" + }, + { + "category": "``ec2``", + "description": "Amazon EC2 G6e instances powered by NVIDIA L40S Tensor Core GPUs are the most cost-efficient GPU instances for deploying generative AI models and the highest performance GPU instances for spatial computing workloads.", + "type": "api-change" + }, + { + "category": "``emr-serverless``", + "description": "This release adds support for job concurrency and queuing configuration at Application level.", + "type": "api-change" + }, + { + "category": "``glue``", + "description": "Added AthenaProperties parameter to Glue Connections, allowing Athena to store service specific properties on Glue Connections.", + "type": "api-change" + }, + { + "category": "``rds``", + "description": "Support ComputeRedundancy parameter in ModifyDBShardGroup API. Add DBShardGroupArn in DBShardGroup API response. Remove InvalidMaxAcuFault from CreateDBShardGroup and ModifyDBShardGroup API. Both API will throw InvalidParameterValueException for invalid ACU configuration.", + "type": "api-change" + }, + { + "category": "``resource-explorer-2``", + "description": "AWS Resource Explorer released ListResources feature which allows customers to list all indexed AWS resources within a view.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-apigateway-96597.json b/.changes/next-release/api-change-apigateway-96597.json deleted file mode 100644 index d29e130eb731..000000000000 --- a/.changes/next-release/api-change-apigateway-96597.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``apigateway``", - "description": "Documentation updates for Amazon API Gateway" -} diff --git a/.changes/next-release/api-change-athena-16036.json b/.changes/next-release/api-change-athena-16036.json deleted file mode 100644 index ebd8d61005db..000000000000 --- a/.changes/next-release/api-change-athena-16036.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``athena``", - "description": "List/Get/Update/Delete/CreateDataCatalog now integrate with AWS Glue connections. Users can create a Glue connection through Athena or use a Glue connection to define their Athena federated parameters." -} diff --git a/.changes/next-release/api-change-bedrockagent-34007.json b/.changes/next-release/api-change-bedrockagent-34007.json deleted file mode 100644 index 9386d6878c6a..000000000000 --- a/.changes/next-release/api-change-bedrockagent-34007.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-agent``", - "description": "Amazon Bedrock Prompt Flows and Prompt Management now supports using inference profiles to increase throughput and improve resilience." -} diff --git a/.changes/next-release/api-change-ec2-76019.json b/.changes/next-release/api-change-ec2-76019.json deleted file mode 100644 index c4b42cb9b2ed..000000000000 --- a/.changes/next-release/api-change-ec2-76019.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ec2``", - "description": "Amazon EC2 G6e instances powered by NVIDIA L40S Tensor Core GPUs are the most cost-efficient GPU instances for deploying generative AI models and the highest performance GPU instances for spatial computing workloads." -} diff --git a/.changes/next-release/api-change-emrserverless-56479.json b/.changes/next-release/api-change-emrserverless-56479.json deleted file mode 100644 index d00b44445980..000000000000 --- a/.changes/next-release/api-change-emrserverless-56479.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``emr-serverless``", - "description": "This release adds support for job concurrency and queuing configuration at Application level." -} diff --git a/.changes/next-release/api-change-glue-45359.json b/.changes/next-release/api-change-glue-45359.json deleted file mode 100644 index fd6708c5ebc0..000000000000 --- a/.changes/next-release/api-change-glue-45359.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``glue``", - "description": "Added AthenaProperties parameter to Glue Connections, allowing Athena to store service specific properties on Glue Connections." -} diff --git a/.changes/next-release/api-change-rds-32794.json b/.changes/next-release/api-change-rds-32794.json deleted file mode 100644 index 98f1f50c978c..000000000000 --- a/.changes/next-release/api-change-rds-32794.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``rds``", - "description": "Support ComputeRedundancy parameter in ModifyDBShardGroup API. Add DBShardGroupArn in DBShardGroup API response. Remove InvalidMaxAcuFault from CreateDBShardGroup and ModifyDBShardGroup API. Both API will throw InvalidParameterValueException for invalid ACU configuration." -} diff --git a/.changes/next-release/api-change-resourceexplorer2-82480.json b/.changes/next-release/api-change-resourceexplorer2-82480.json deleted file mode 100644 index a6c905089853..000000000000 --- a/.changes/next-release/api-change-resourceexplorer2-82480.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``resource-explorer-2``", - "description": "AWS Resource Explorer released ListResources feature which allows customers to list all indexed AWS resources within a view." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 812223dddb8a..e6d238ca7b0d 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,19 @@ CHANGELOG ========= +1.34.25 +======= + +* api-change:``apigateway``: Documentation updates for Amazon API Gateway +* api-change:``athena``: List/Get/Update/Delete/CreateDataCatalog now integrate with AWS Glue connections. Users can create a Glue connection through Athena or use a Glue connection to define their Athena federated parameters. +* api-change:``bedrock-agent``: Amazon Bedrock Prompt Flows and Prompt Management now supports using inference profiles to increase throughput and improve resilience. +* api-change:``ec2``: Amazon EC2 G6e instances powered by NVIDIA L40S Tensor Core GPUs are the most cost-efficient GPU instances for deploying generative AI models and the highest performance GPU instances for spatial computing workloads. +* api-change:``emr-serverless``: This release adds support for job concurrency and queuing configuration at Application level. +* api-change:``glue``: Added AthenaProperties parameter to Glue Connections, allowing Athena to store service specific properties on Glue Connections. +* api-change:``rds``: Support ComputeRedundancy parameter in ModifyDBShardGroup API. Add DBShardGroupArn in DBShardGroup API response. Remove InvalidMaxAcuFault from CreateDBShardGroup and ModifyDBShardGroup API. Both API will throw InvalidParameterValueException for invalid ACU configuration. +* api-change:``resource-explorer-2``: AWS Resource Explorer released ListResources feature which allows customers to list all indexed AWS resources within a view. + + 1.34.24 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 02b2e03455a3..23bb91e40582 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.34.24' +__version__ = '1.34.25' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index ebed2c7f375e..ed76abadb8e9 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.34.' # The full version, including alpha/beta/rc tags. -release = '1.34.24' +release = '1.34.25' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index eb4ce2d7a911..b96e60724b3d 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.24 + botocore==1.35.25 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 6f324f1f787f..a3f55a2cfb75 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.24', + 'botocore==1.35.25', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From e78c60a0d14c94b6a6c6b9e18f69ceda5ca0f070 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 24 Sep 2024 19:13:47 +0000 Subject: [PATCH 0215/1087] Update changelog based on model updates --- .changes/next-release/api-change-bedrock-40249.json | 5 +++++ .changes/next-release/api-change-budgets-38047.json | 5 +++++ .changes/next-release/api-change-kinesis-518.json | 5 +++++ .../next-release/api-change-pinpointsmsvoicev2-2912.json | 5 +++++ .changes/next-release/api-change-sagemaker-11685.json | 5 +++++ 5 files changed, 25 insertions(+) create mode 100644 .changes/next-release/api-change-bedrock-40249.json create mode 100644 .changes/next-release/api-change-budgets-38047.json create mode 100644 .changes/next-release/api-change-kinesis-518.json create mode 100644 .changes/next-release/api-change-pinpointsmsvoicev2-2912.json create mode 100644 .changes/next-release/api-change-sagemaker-11685.json diff --git a/.changes/next-release/api-change-bedrock-40249.json b/.changes/next-release/api-change-bedrock-40249.json new file mode 100644 index 000000000000..ea83a1d7cba6 --- /dev/null +++ b/.changes/next-release/api-change-bedrock-40249.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock``", + "description": "Add support for Cross Region Inference in Bedrock Model Evaluations." +} diff --git a/.changes/next-release/api-change-budgets-38047.json b/.changes/next-release/api-change-budgets-38047.json new file mode 100644 index 000000000000..04cafa08e564 --- /dev/null +++ b/.changes/next-release/api-change-budgets-38047.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``budgets``", + "description": "Releasing minor partitional endpoint updates" +} diff --git a/.changes/next-release/api-change-kinesis-518.json b/.changes/next-release/api-change-kinesis-518.json new file mode 100644 index 000000000000..9223c8c70eb5 --- /dev/null +++ b/.changes/next-release/api-change-kinesis-518.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``kinesis``", + "description": "This release includes support to add tags when creating a stream" +} diff --git a/.changes/next-release/api-change-pinpointsmsvoicev2-2912.json b/.changes/next-release/api-change-pinpointsmsvoicev2-2912.json new file mode 100644 index 000000000000..88999e000cad --- /dev/null +++ b/.changes/next-release/api-change-pinpointsmsvoicev2-2912.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``pinpoint-sms-voice-v2``", + "description": "AWS End User Messaging SMS-Voice V2 has added support for resource policies. Use the three new APIs to create, view, edit, and delete resource policies." +} diff --git a/.changes/next-release/api-change-sagemaker-11685.json b/.changes/next-release/api-change-sagemaker-11685.json new file mode 100644 index 000000000000..c1d7724ee1ca --- /dev/null +++ b/.changes/next-release/api-change-sagemaker-11685.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``sagemaker``", + "description": "Adding `HiddenInstanceTypes` and `HiddenSageMakerImageVersionAliases` attribute to SageMaker API" +} From 90b1f009a275356a7bb41dafe151eda906b87ca7 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 24 Sep 2024 19:14:58 +0000 Subject: [PATCH 0216/1087] Bumping version to 1.34.26 --- .changes/1.34.26.json | 27 +++++++++++++++++++ .../api-change-bedrock-40249.json | 5 ---- .../api-change-budgets-38047.json | 5 ---- .../next-release/api-change-kinesis-518.json | 5 ---- .../api-change-pinpointsmsvoicev2-2912.json | 5 ---- .../api-change-sagemaker-11685.json | 5 ---- CHANGELOG.rst | 10 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 11 files changed, 41 insertions(+), 29 deletions(-) create mode 100644 .changes/1.34.26.json delete mode 100644 .changes/next-release/api-change-bedrock-40249.json delete mode 100644 .changes/next-release/api-change-budgets-38047.json delete mode 100644 .changes/next-release/api-change-kinesis-518.json delete mode 100644 .changes/next-release/api-change-pinpointsmsvoicev2-2912.json delete mode 100644 .changes/next-release/api-change-sagemaker-11685.json diff --git a/.changes/1.34.26.json b/.changes/1.34.26.json new file mode 100644 index 000000000000..7a847d1b276d --- /dev/null +++ b/.changes/1.34.26.json @@ -0,0 +1,27 @@ +[ + { + "category": "``bedrock``", + "description": "Add support for Cross Region Inference in Bedrock Model Evaluations.", + "type": "api-change" + }, + { + "category": "``budgets``", + "description": "Releasing minor partitional endpoint updates", + "type": "api-change" + }, + { + "category": "``kinesis``", + "description": "This release includes support to add tags when creating a stream", + "type": "api-change" + }, + { + "category": "``pinpoint-sms-voice-v2``", + "description": "AWS End User Messaging SMS-Voice V2 has added support for resource policies. Use the three new APIs to create, view, edit, and delete resource policies.", + "type": "api-change" + }, + { + "category": "``sagemaker``", + "description": "Adding `HiddenInstanceTypes` and `HiddenSageMakerImageVersionAliases` attribute to SageMaker API", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-bedrock-40249.json b/.changes/next-release/api-change-bedrock-40249.json deleted file mode 100644 index ea83a1d7cba6..000000000000 --- a/.changes/next-release/api-change-bedrock-40249.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock``", - "description": "Add support for Cross Region Inference in Bedrock Model Evaluations." -} diff --git a/.changes/next-release/api-change-budgets-38047.json b/.changes/next-release/api-change-budgets-38047.json deleted file mode 100644 index 04cafa08e564..000000000000 --- a/.changes/next-release/api-change-budgets-38047.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``budgets``", - "description": "Releasing minor partitional endpoint updates" -} diff --git a/.changes/next-release/api-change-kinesis-518.json b/.changes/next-release/api-change-kinesis-518.json deleted file mode 100644 index 9223c8c70eb5..000000000000 --- a/.changes/next-release/api-change-kinesis-518.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``kinesis``", - "description": "This release includes support to add tags when creating a stream" -} diff --git a/.changes/next-release/api-change-pinpointsmsvoicev2-2912.json b/.changes/next-release/api-change-pinpointsmsvoicev2-2912.json deleted file mode 100644 index 88999e000cad..000000000000 --- a/.changes/next-release/api-change-pinpointsmsvoicev2-2912.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``pinpoint-sms-voice-v2``", - "description": "AWS End User Messaging SMS-Voice V2 has added support for resource policies. Use the three new APIs to create, view, edit, and delete resource policies." -} diff --git a/.changes/next-release/api-change-sagemaker-11685.json b/.changes/next-release/api-change-sagemaker-11685.json deleted file mode 100644 index c1d7724ee1ca..000000000000 --- a/.changes/next-release/api-change-sagemaker-11685.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``sagemaker``", - "description": "Adding `HiddenInstanceTypes` and `HiddenSageMakerImageVersionAliases` attribute to SageMaker API" -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index e6d238ca7b0d..f302ac4e470b 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,16 @@ CHANGELOG ========= +1.34.26 +======= + +* api-change:``bedrock``: Add support for Cross Region Inference in Bedrock Model Evaluations. +* api-change:``budgets``: Releasing minor partitional endpoint updates +* api-change:``kinesis``: This release includes support to add tags when creating a stream +* api-change:``pinpoint-sms-voice-v2``: AWS End User Messaging SMS-Voice V2 has added support for resource policies. Use the three new APIs to create, view, edit, and delete resource policies. +* api-change:``sagemaker``: Adding `HiddenInstanceTypes` and `HiddenSageMakerImageVersionAliases` attribute to SageMaker API + + 1.34.25 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 23bb91e40582..c19cc600ad18 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.34.25' +__version__ = '1.34.26' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index ed76abadb8e9..f3591bb02ae6 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.34.' # The full version, including alpha/beta/rc tags. -release = '1.34.25' +release = '1.34.26' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index b96e60724b3d..05225ea19f98 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.25 + botocore==1.35.26 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index a3f55a2cfb75..90576371fa2c 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.25', + 'botocore==1.35.26', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From f732fc515610e6421a04f6071492eb8a41ce844f Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 25 Sep 2024 18:13:50 +0000 Subject: [PATCH 0217/1087] Update changelog based on model updates --- .changes/next-release/api-change-cloudtrail-59052.json | 5 +++++ .changes/next-release/api-change-ec2-26435.json | 5 +++++ .changes/next-release/api-change-fsx-75531.json | 5 +++++ 3 files changed, 15 insertions(+) create mode 100644 .changes/next-release/api-change-cloudtrail-59052.json create mode 100644 .changes/next-release/api-change-ec2-26435.json create mode 100644 .changes/next-release/api-change-fsx-75531.json diff --git a/.changes/next-release/api-change-cloudtrail-59052.json b/.changes/next-release/api-change-cloudtrail-59052.json new file mode 100644 index 000000000000..8858f12e138d --- /dev/null +++ b/.changes/next-release/api-change-cloudtrail-59052.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``cloudtrail``", + "description": "Doc-only update for CloudTrail network activity events release (in preview)" +} diff --git a/.changes/next-release/api-change-ec2-26435.json b/.changes/next-release/api-change-ec2-26435.json new file mode 100644 index 000000000000..05c988a5863d --- /dev/null +++ b/.changes/next-release/api-change-ec2-26435.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ec2``", + "description": "Updates to documentation for the transit gateway security group referencing feature." +} diff --git a/.changes/next-release/api-change-fsx-75531.json b/.changes/next-release/api-change-fsx-75531.json new file mode 100644 index 000000000000..8b5854791ff0 --- /dev/null +++ b/.changes/next-release/api-change-fsx-75531.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``fsx``", + "description": "Doc-only update to address Lustre S3 hard-coded names." +} From 773e1b1b43be4aaf8f9a384ce91f16576f382135 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 25 Sep 2024 18:15:18 +0000 Subject: [PATCH 0218/1087] Bumping version to 1.34.27 --- .changes/1.34.27.json | 17 +++++++++++++++++ .../api-change-cloudtrail-59052.json | 5 ----- .changes/next-release/api-change-ec2-26435.json | 5 ----- .changes/next-release/api-change-fsx-75531.json | 5 ----- CHANGELOG.rst | 8 ++++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 9 files changed, 29 insertions(+), 19 deletions(-) create mode 100644 .changes/1.34.27.json delete mode 100644 .changes/next-release/api-change-cloudtrail-59052.json delete mode 100644 .changes/next-release/api-change-ec2-26435.json delete mode 100644 .changes/next-release/api-change-fsx-75531.json diff --git a/.changes/1.34.27.json b/.changes/1.34.27.json new file mode 100644 index 000000000000..49b22905de81 --- /dev/null +++ b/.changes/1.34.27.json @@ -0,0 +1,17 @@ +[ + { + "category": "``cloudtrail``", + "description": "Doc-only update for CloudTrail network activity events release (in preview)", + "type": "api-change" + }, + { + "category": "``ec2``", + "description": "Updates to documentation for the transit gateway security group referencing feature.", + "type": "api-change" + }, + { + "category": "``fsx``", + "description": "Doc-only update to address Lustre S3 hard-coded names.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-cloudtrail-59052.json b/.changes/next-release/api-change-cloudtrail-59052.json deleted file mode 100644 index 8858f12e138d..000000000000 --- a/.changes/next-release/api-change-cloudtrail-59052.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``cloudtrail``", - "description": "Doc-only update for CloudTrail network activity events release (in preview)" -} diff --git a/.changes/next-release/api-change-ec2-26435.json b/.changes/next-release/api-change-ec2-26435.json deleted file mode 100644 index 05c988a5863d..000000000000 --- a/.changes/next-release/api-change-ec2-26435.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ec2``", - "description": "Updates to documentation for the transit gateway security group referencing feature." -} diff --git a/.changes/next-release/api-change-fsx-75531.json b/.changes/next-release/api-change-fsx-75531.json deleted file mode 100644 index 8b5854791ff0..000000000000 --- a/.changes/next-release/api-change-fsx-75531.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``fsx``", - "description": "Doc-only update to address Lustre S3 hard-coded names." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index f302ac4e470b..1251227062b4 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,14 @@ CHANGELOG ========= +1.34.27 +======= + +* api-change:``cloudtrail``: Doc-only update for CloudTrail network activity events release (in preview) +* api-change:``ec2``: Updates to documentation for the transit gateway security group referencing feature. +* api-change:``fsx``: Doc-only update to address Lustre S3 hard-coded names. + + 1.34.26 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index c19cc600ad18..15b62a72c8c9 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.34.26' +__version__ = '1.34.27' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index f3591bb02ae6..93c810fa7a0f 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.34.' # The full version, including alpha/beta/rc tags. -release = '1.34.26' +release = '1.34.27' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 05225ea19f98..9b726ab865a5 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.26 + botocore==1.35.27 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 90576371fa2c..bba8a61fe38f 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.26', + 'botocore==1.35.27', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 9ae7bcb9a9fb9bff6773c52292ab17f6877f607c Mon Sep 17 00:00:00 2001 From: Ashish Dhingra <67916761+ashishdhingra@users.noreply.github.com> Date: Mon, 9 Sep 2024 10:10:31 -0700 Subject: [PATCH 0219/1087] chore: Modified bug issue template to add checkbox to report potential regression. --- .github/ISSUE_TEMPLATE/bug-report.yml | 8 +++++ .../workflows/issue-regression-labeler.yml | 33 +++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 .github/workflows/issue-regression-labeler.yml diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml index 6a1235a7db26..3d1162d17c2e 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.yml +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -12,6 +12,14 @@ body: description: What is the problem? A clear and concise description of the bug. validations: required: true + - type: checkboxes + id: regression + attributes: + label: Regression Issue + description: What is a regression? If it worked in a previous version but doesn't in the latest version, it's considered a regression. In this case, please provide specific version number in the report. + options: + - label: Select this option if this issue appears to be a regression. + required: false - type: textarea id: expected attributes: diff --git a/.github/workflows/issue-regression-labeler.yml b/.github/workflows/issue-regression-labeler.yml new file mode 100644 index 000000000000..840a832b707f --- /dev/null +++ b/.github/workflows/issue-regression-labeler.yml @@ -0,0 +1,33 @@ +# Apply potential regression label on issues +name: issue-regression-label +on: + issues: + types: [opened, edited] +permissions: read-all +jobs: + add-regression-label: + runs-on: ubuntu-latest + permissions: + issues: write + steps: + - name: Fetch template body + id: check_regression + uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + TEMPLATE_BODY: ${{ github.event.issue.body }} + with: + script: | + const regressionPattern = /\[x\] Select this option if this issue appears to be a regression\./i; + const template = `${process.env.TEMPLATE_BODY}` + const match = regressionPattern.test(template); + core.setOutput('is_regression', match); + - name: Manage regression label + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + if [ "${{ steps.check_regression.outputs.is_regression }}" == "true" ]; then + gh issue edit ${{ github.event.issue.number }} --add-label "potential-regression" -R ${{ github.repository }} + else + gh issue edit ${{ github.event.issue.number }} --remove-label "potential-regression" -R ${{ github.repository }} + fi From f793c39df0f5c186c3e1c9ecb2e3aa208044e75d Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 26 Sep 2024 18:12:36 +0000 Subject: [PATCH 0220/1087] Update changelog based on model updates --- .changes/next-release/api-change-chatbot-47144.json | 5 +++++ .changes/next-release/api-change-lambda-91865.json | 5 +++++ .changes/next-release/api-change-organizations-44474.json | 5 +++++ .changes/next-release/api-change-pcs-67277.json | 5 +++++ .changes/next-release/api-change-rdsdata-27201.json | 5 +++++ .changes/next-release/api-change-sagemaker-7851.json | 5 +++++ 6 files changed, 30 insertions(+) create mode 100644 .changes/next-release/api-change-chatbot-47144.json create mode 100644 .changes/next-release/api-change-lambda-91865.json create mode 100644 .changes/next-release/api-change-organizations-44474.json create mode 100644 .changes/next-release/api-change-pcs-67277.json create mode 100644 .changes/next-release/api-change-rdsdata-27201.json create mode 100644 .changes/next-release/api-change-sagemaker-7851.json diff --git a/.changes/next-release/api-change-chatbot-47144.json b/.changes/next-release/api-change-chatbot-47144.json new file mode 100644 index 000000000000..80f9853ee821 --- /dev/null +++ b/.changes/next-release/api-change-chatbot-47144.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``chatbot``", + "description": "Return State and StateReason fields for Chatbot Channel Configurations." +} diff --git a/.changes/next-release/api-change-lambda-91865.json b/.changes/next-release/api-change-lambda-91865.json new file mode 100644 index 000000000000..314755341b1b --- /dev/null +++ b/.changes/next-release/api-change-lambda-91865.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``lambda``", + "description": "Reverting Lambda resource-based policy and block public access APIs." +} diff --git a/.changes/next-release/api-change-organizations-44474.json b/.changes/next-release/api-change-organizations-44474.json new file mode 100644 index 000000000000..8485e0659170 --- /dev/null +++ b/.changes/next-release/api-change-organizations-44474.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``organizations``", + "description": "Add support for policy operations on the CHATBOT_POLICY policy type." +} diff --git a/.changes/next-release/api-change-pcs-67277.json b/.changes/next-release/api-change-pcs-67277.json new file mode 100644 index 000000000000..46bad33268f7 --- /dev/null +++ b/.changes/next-release/api-change-pcs-67277.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``pcs``", + "description": "AWS PCS API documentation - Edited the description of the iamInstanceProfileArn parameter of the CreateComputeNodeGroup and UpdateComputeNodeGroup actions; edited the description of the SlurmCustomSetting data type to list the supported parameters for clusters and compute node groups." +} diff --git a/.changes/next-release/api-change-rdsdata-27201.json b/.changes/next-release/api-change-rdsdata-27201.json new file mode 100644 index 000000000000..bdb297ca566a --- /dev/null +++ b/.changes/next-release/api-change-rdsdata-27201.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``rds-data``", + "description": "Documentation update for RDS Data API to reflect support for Aurora MySQL Serverless v2 and Provisioned DB clusters." +} diff --git a/.changes/next-release/api-change-sagemaker-7851.json b/.changes/next-release/api-change-sagemaker-7851.json new file mode 100644 index 000000000000..816125f7dad9 --- /dev/null +++ b/.changes/next-release/api-change-sagemaker-7851.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``sagemaker``", + "description": "Adding `TagPropagation` attribute to Sagemaker API" +} From 3c6cf59cd1b0ef846b211571d0e568cc80fd8c48 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 26 Sep 2024 18:13:43 +0000 Subject: [PATCH 0221/1087] Bumping version to 1.34.28 --- .changes/1.34.28.json | 32 +++++++++++++++++++ .../api-change-chatbot-47144.json | 5 --- .../next-release/api-change-lambda-91865.json | 5 --- .../api-change-organizations-44474.json | 5 --- .../next-release/api-change-pcs-67277.json | 5 --- .../api-change-rdsdata-27201.json | 5 --- .../api-change-sagemaker-7851.json | 5 --- CHANGELOG.rst | 11 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 12 files changed, 47 insertions(+), 34 deletions(-) create mode 100644 .changes/1.34.28.json delete mode 100644 .changes/next-release/api-change-chatbot-47144.json delete mode 100644 .changes/next-release/api-change-lambda-91865.json delete mode 100644 .changes/next-release/api-change-organizations-44474.json delete mode 100644 .changes/next-release/api-change-pcs-67277.json delete mode 100644 .changes/next-release/api-change-rdsdata-27201.json delete mode 100644 .changes/next-release/api-change-sagemaker-7851.json diff --git a/.changes/1.34.28.json b/.changes/1.34.28.json new file mode 100644 index 000000000000..5b9026c80bb3 --- /dev/null +++ b/.changes/1.34.28.json @@ -0,0 +1,32 @@ +[ + { + "category": "``chatbot``", + "description": "Return State and StateReason fields for Chatbot Channel Configurations.", + "type": "api-change" + }, + { + "category": "``lambda``", + "description": "Reverting Lambda resource-based policy and block public access APIs.", + "type": "api-change" + }, + { + "category": "``organizations``", + "description": "Add support for policy operations on the CHATBOT_POLICY policy type.", + "type": "api-change" + }, + { + "category": "``pcs``", + "description": "AWS PCS API documentation - Edited the description of the iamInstanceProfileArn parameter of the CreateComputeNodeGroup and UpdateComputeNodeGroup actions; edited the description of the SlurmCustomSetting data type to list the supported parameters for clusters and compute node groups.", + "type": "api-change" + }, + { + "category": "``rds-data``", + "description": "Documentation update for RDS Data API to reflect support for Aurora MySQL Serverless v2 and Provisioned DB clusters.", + "type": "api-change" + }, + { + "category": "``sagemaker``", + "description": "Adding `TagPropagation` attribute to Sagemaker API", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-chatbot-47144.json b/.changes/next-release/api-change-chatbot-47144.json deleted file mode 100644 index 80f9853ee821..000000000000 --- a/.changes/next-release/api-change-chatbot-47144.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``chatbot``", - "description": "Return State and StateReason fields for Chatbot Channel Configurations." -} diff --git a/.changes/next-release/api-change-lambda-91865.json b/.changes/next-release/api-change-lambda-91865.json deleted file mode 100644 index 314755341b1b..000000000000 --- a/.changes/next-release/api-change-lambda-91865.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``lambda``", - "description": "Reverting Lambda resource-based policy and block public access APIs." -} diff --git a/.changes/next-release/api-change-organizations-44474.json b/.changes/next-release/api-change-organizations-44474.json deleted file mode 100644 index 8485e0659170..000000000000 --- a/.changes/next-release/api-change-organizations-44474.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``organizations``", - "description": "Add support for policy operations on the CHATBOT_POLICY policy type." -} diff --git a/.changes/next-release/api-change-pcs-67277.json b/.changes/next-release/api-change-pcs-67277.json deleted file mode 100644 index 46bad33268f7..000000000000 --- a/.changes/next-release/api-change-pcs-67277.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``pcs``", - "description": "AWS PCS API documentation - Edited the description of the iamInstanceProfileArn parameter of the CreateComputeNodeGroup and UpdateComputeNodeGroup actions; edited the description of the SlurmCustomSetting data type to list the supported parameters for clusters and compute node groups." -} diff --git a/.changes/next-release/api-change-rdsdata-27201.json b/.changes/next-release/api-change-rdsdata-27201.json deleted file mode 100644 index bdb297ca566a..000000000000 --- a/.changes/next-release/api-change-rdsdata-27201.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``rds-data``", - "description": "Documentation update for RDS Data API to reflect support for Aurora MySQL Serverless v2 and Provisioned DB clusters." -} diff --git a/.changes/next-release/api-change-sagemaker-7851.json b/.changes/next-release/api-change-sagemaker-7851.json deleted file mode 100644 index 816125f7dad9..000000000000 --- a/.changes/next-release/api-change-sagemaker-7851.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``sagemaker``", - "description": "Adding `TagPropagation` attribute to Sagemaker API" -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 1251227062b4..a3bb7b4b780c 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,17 @@ CHANGELOG ========= +1.34.28 +======= + +* api-change:``chatbot``: Return State and StateReason fields for Chatbot Channel Configurations. +* api-change:``lambda``: Reverting Lambda resource-based policy and block public access APIs. +* api-change:``organizations``: Add support for policy operations on the CHATBOT_POLICY policy type. +* api-change:``pcs``: AWS PCS API documentation - Edited the description of the iamInstanceProfileArn parameter of the CreateComputeNodeGroup and UpdateComputeNodeGroup actions; edited the description of the SlurmCustomSetting data type to list the supported parameters for clusters and compute node groups. +* api-change:``rds-data``: Documentation update for RDS Data API to reflect support for Aurora MySQL Serverless v2 and Provisioned DB clusters. +* api-change:``sagemaker``: Adding `TagPropagation` attribute to Sagemaker API + + 1.34.27 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 15b62a72c8c9..26ea28af3100 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.34.27' +__version__ = '1.34.28' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 93c810fa7a0f..08fd3c7efbbf 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.34.' # The full version, including alpha/beta/rc tags. -release = '1.34.27' +release = '1.34.28' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 9b726ab865a5..cac7670fc7f1 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.27 + botocore==1.35.28 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index bba8a61fe38f..b8cdfc21c1de 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.27', + 'botocore==1.35.28', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 5323e8d09af5c30e6b144cbb6db26ac51da9b748 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 27 Sep 2024 18:33:46 +0000 Subject: [PATCH 0222/1087] Update changelog based on model updates --- .changes/next-release/api-change-customerprofiles-76093.json | 5 +++++ .changes/next-release/api-change-quicksight-3703.json | 5 +++++ .changes/next-release/api-change-securityhub-61717.json | 5 +++++ .changes/next-release/api-change-sesv2-95536.json | 5 +++++ 4 files changed, 20 insertions(+) create mode 100644 .changes/next-release/api-change-customerprofiles-76093.json create mode 100644 .changes/next-release/api-change-quicksight-3703.json create mode 100644 .changes/next-release/api-change-securityhub-61717.json create mode 100644 .changes/next-release/api-change-sesv2-95536.json diff --git a/.changes/next-release/api-change-customerprofiles-76093.json b/.changes/next-release/api-change-customerprofiles-76093.json new file mode 100644 index 000000000000..955109bfff7b --- /dev/null +++ b/.changes/next-release/api-change-customerprofiles-76093.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``customer-profiles``", + "description": "Introduces optional RoleArn parameter for PutIntegration request and includes RoleArn in the response of PutIntegration, GetIntegration and ListIntegrations" +} diff --git a/.changes/next-release/api-change-quicksight-3703.json b/.changes/next-release/api-change-quicksight-3703.json new file mode 100644 index 000000000000..4cf77abca554 --- /dev/null +++ b/.changes/next-release/api-change-quicksight-3703.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``quicksight``", + "description": "Adding personalization in QuickSight data stories. Admins can enable or disable personalization through QuickSight settings." +} diff --git a/.changes/next-release/api-change-securityhub-61717.json b/.changes/next-release/api-change-securityhub-61717.json new file mode 100644 index 000000000000..271afbb265fa --- /dev/null +++ b/.changes/next-release/api-change-securityhub-61717.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``securityhub``", + "description": "Documentation updates for AWS Security Hub" +} diff --git a/.changes/next-release/api-change-sesv2-95536.json b/.changes/next-release/api-change-sesv2-95536.json new file mode 100644 index 000000000000..1f7d742e795a --- /dev/null +++ b/.changes/next-release/api-change-sesv2-95536.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``sesv2``", + "description": "This release adds support for engagement tracking over Https using custom domains." +} From 04db348552bc57584868fe6fb583dd401c2e9f41 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 27 Sep 2024 18:35:13 +0000 Subject: [PATCH 0223/1087] Bumping version to 1.34.29 --- .changes/1.34.29.json | 22 +++++++++++++++++++ .../api-change-customerprofiles-76093.json | 5 ----- .../api-change-quicksight-3703.json | 5 ----- .../api-change-securityhub-61717.json | 5 ----- .../next-release/api-change-sesv2-95536.json | 5 ----- CHANGELOG.rst | 9 ++++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 10 files changed, 35 insertions(+), 24 deletions(-) create mode 100644 .changes/1.34.29.json delete mode 100644 .changes/next-release/api-change-customerprofiles-76093.json delete mode 100644 .changes/next-release/api-change-quicksight-3703.json delete mode 100644 .changes/next-release/api-change-securityhub-61717.json delete mode 100644 .changes/next-release/api-change-sesv2-95536.json diff --git a/.changes/1.34.29.json b/.changes/1.34.29.json new file mode 100644 index 000000000000..1a94c8937e3c --- /dev/null +++ b/.changes/1.34.29.json @@ -0,0 +1,22 @@ +[ + { + "category": "``customer-profiles``", + "description": "Introduces optional RoleArn parameter for PutIntegration request and includes RoleArn in the response of PutIntegration, GetIntegration and ListIntegrations", + "type": "api-change" + }, + { + "category": "``quicksight``", + "description": "Adding personalization in QuickSight data stories. Admins can enable or disable personalization through QuickSight settings.", + "type": "api-change" + }, + { + "category": "``securityhub``", + "description": "Documentation updates for AWS Security Hub", + "type": "api-change" + }, + { + "category": "``sesv2``", + "description": "This release adds support for engagement tracking over Https using custom domains.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-customerprofiles-76093.json b/.changes/next-release/api-change-customerprofiles-76093.json deleted file mode 100644 index 955109bfff7b..000000000000 --- a/.changes/next-release/api-change-customerprofiles-76093.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``customer-profiles``", - "description": "Introduces optional RoleArn parameter for PutIntegration request and includes RoleArn in the response of PutIntegration, GetIntegration and ListIntegrations" -} diff --git a/.changes/next-release/api-change-quicksight-3703.json b/.changes/next-release/api-change-quicksight-3703.json deleted file mode 100644 index 4cf77abca554..000000000000 --- a/.changes/next-release/api-change-quicksight-3703.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``quicksight``", - "description": "Adding personalization in QuickSight data stories. Admins can enable or disable personalization through QuickSight settings." -} diff --git a/.changes/next-release/api-change-securityhub-61717.json b/.changes/next-release/api-change-securityhub-61717.json deleted file mode 100644 index 271afbb265fa..000000000000 --- a/.changes/next-release/api-change-securityhub-61717.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``securityhub``", - "description": "Documentation updates for AWS Security Hub" -} diff --git a/.changes/next-release/api-change-sesv2-95536.json b/.changes/next-release/api-change-sesv2-95536.json deleted file mode 100644 index 1f7d742e795a..000000000000 --- a/.changes/next-release/api-change-sesv2-95536.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``sesv2``", - "description": "This release adds support for engagement tracking over Https using custom domains." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index a3bb7b4b780c..a3e3d4f244e3 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,15 @@ CHANGELOG ========= +1.34.29 +======= + +* api-change:``customer-profiles``: Introduces optional RoleArn parameter for PutIntegration request and includes RoleArn in the response of PutIntegration, GetIntegration and ListIntegrations +* api-change:``quicksight``: Adding personalization in QuickSight data stories. Admins can enable or disable personalization through QuickSight settings. +* api-change:``securityhub``: Documentation updates for AWS Security Hub +* api-change:``sesv2``: This release adds support for engagement tracking over Https using custom domains. + + 1.34.28 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 26ea28af3100..ebde3db6f0f0 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.34.28' +__version__ = '1.34.29' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 08fd3c7efbbf..54383e1e4fc7 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.34.' # The full version, including alpha/beta/rc tags. -release = '1.34.28' +release = '1.34.29' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index cac7670fc7f1..c38e33afd1b8 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.28 + botocore==1.35.29 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index b8cdfc21c1de..b596230459ea 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.28', + 'botocore==1.35.29', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From bda5c0e574703f09da663fc8036836488b328287 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 1 Oct 2024 01:55:20 +0000 Subject: [PATCH 0224/1087] Update changelog based on model updates --- .changes/next-release/api-change-bedrock-6729.json | 5 +++++ .changes/next-release/api-change-clouddirectory-35450.json | 5 +++++ .changes/next-release/api-change-connect-73139.json | 5 +++++ .changes/next-release/api-change-pricing-6278.json | 5 +++++ .changes/next-release/api-change-resourcegroups-47231.json | 5 +++++ .changes/next-release/api-change-supplychain-59240.json | 5 +++++ .../next-release/api-change-timestreaminfluxdb-58484.json | 5 +++++ .../next-release/api-change-verifiedpermissions-16313.json | 5 +++++ 8 files changed, 40 insertions(+) create mode 100644 .changes/next-release/api-change-bedrock-6729.json create mode 100644 .changes/next-release/api-change-clouddirectory-35450.json create mode 100644 .changes/next-release/api-change-connect-73139.json create mode 100644 .changes/next-release/api-change-pricing-6278.json create mode 100644 .changes/next-release/api-change-resourcegroups-47231.json create mode 100644 .changes/next-release/api-change-supplychain-59240.json create mode 100644 .changes/next-release/api-change-timestreaminfluxdb-58484.json create mode 100644 .changes/next-release/api-change-verifiedpermissions-16313.json diff --git a/.changes/next-release/api-change-bedrock-6729.json b/.changes/next-release/api-change-bedrock-6729.json new file mode 100644 index 000000000000..40cce7628dbb --- /dev/null +++ b/.changes/next-release/api-change-bedrock-6729.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock``", + "description": "Add support for custom models via provisioned throughput for Bedrock Model Evaluation" +} diff --git a/.changes/next-release/api-change-clouddirectory-35450.json b/.changes/next-release/api-change-clouddirectory-35450.json new file mode 100644 index 000000000000..1447d99be6b2 --- /dev/null +++ b/.changes/next-release/api-change-clouddirectory-35450.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``clouddirectory``", + "description": "Add examples for API operations in model." +} diff --git a/.changes/next-release/api-change-connect-73139.json b/.changes/next-release/api-change-connect-73139.json new file mode 100644 index 000000000000..0e50f918ff0d --- /dev/null +++ b/.changes/next-release/api-change-connect-73139.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``connect``", + "description": "Amazon Connect introduces StartOutboundChatContact API allowing customers to initiate outbound chat contacts" +} diff --git a/.changes/next-release/api-change-pricing-6278.json b/.changes/next-release/api-change-pricing-6278.json new file mode 100644 index 000000000000..20bde0dc6848 --- /dev/null +++ b/.changes/next-release/api-change-pricing-6278.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``pricing``", + "description": "Add examples for API operations in model." +} diff --git a/.changes/next-release/api-change-resourcegroups-47231.json b/.changes/next-release/api-change-resourcegroups-47231.json new file mode 100644 index 000000000000..c5808b5a518c --- /dev/null +++ b/.changes/next-release/api-change-resourcegroups-47231.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``resource-groups``", + "description": "This update includes new APIs to support application groups and to allow users to manage resource tag-sync tasks in applications." +} diff --git a/.changes/next-release/api-change-supplychain-59240.json b/.changes/next-release/api-change-supplychain-59240.json new file mode 100644 index 000000000000..9534aa1000aa --- /dev/null +++ b/.changes/next-release/api-change-supplychain-59240.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``supplychain``", + "description": "Release DataLakeDataset, DataIntegrationFlow and ResourceTagging APIs for AWS Supply Chain" +} diff --git a/.changes/next-release/api-change-timestreaminfluxdb-58484.json b/.changes/next-release/api-change-timestreaminfluxdb-58484.json new file mode 100644 index 000000000000..8be221c13dae --- /dev/null +++ b/.changes/next-release/api-change-timestreaminfluxdb-58484.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``timestream-influxdb``", + "description": "Timestream for InfluxDB now supports port configuration and additional customer-modifiable InfluxDB v2 parameters. This release adds Port to the CreateDbInstance and UpdateDbInstance API, and additional InfluxDB v2 parameters to the CreateDbParameterGroup API." +} diff --git a/.changes/next-release/api-change-verifiedpermissions-16313.json b/.changes/next-release/api-change-verifiedpermissions-16313.json new file mode 100644 index 000000000000..1b3b5fbe54c0 --- /dev/null +++ b/.changes/next-release/api-change-verifiedpermissions-16313.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``verifiedpermissions``", + "description": "Add examples for API operations in model." +} From b88aa24d127061d8a1b40f5d82a05a8edf235048 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 1 Oct 2024 01:56:52 +0000 Subject: [PATCH 0225/1087] Bumping version to 1.34.30 --- .changes/1.34.30.json | 42 +++++++++++++++++++ .../next-release/api-change-bedrock-6729.json | 5 --- .../api-change-clouddirectory-35450.json | 5 --- .../api-change-connect-73139.json | 5 --- .../next-release/api-change-pricing-6278.json | 5 --- .../api-change-resourcegroups-47231.json | 5 --- .../api-change-supplychain-59240.json | 5 --- .../api-change-timestreaminfluxdb-58484.json | 5 --- .../api-change-verifiedpermissions-16313.json | 5 --- CHANGELOG.rst | 13 ++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 14 files changed, 59 insertions(+), 44 deletions(-) create mode 100644 .changes/1.34.30.json delete mode 100644 .changes/next-release/api-change-bedrock-6729.json delete mode 100644 .changes/next-release/api-change-clouddirectory-35450.json delete mode 100644 .changes/next-release/api-change-connect-73139.json delete mode 100644 .changes/next-release/api-change-pricing-6278.json delete mode 100644 .changes/next-release/api-change-resourcegroups-47231.json delete mode 100644 .changes/next-release/api-change-supplychain-59240.json delete mode 100644 .changes/next-release/api-change-timestreaminfluxdb-58484.json delete mode 100644 .changes/next-release/api-change-verifiedpermissions-16313.json diff --git a/.changes/1.34.30.json b/.changes/1.34.30.json new file mode 100644 index 000000000000..eed962933e7a --- /dev/null +++ b/.changes/1.34.30.json @@ -0,0 +1,42 @@ +[ + { + "category": "``bedrock``", + "description": "Add support for custom models via provisioned throughput for Bedrock Model Evaluation", + "type": "api-change" + }, + { + "category": "``clouddirectory``", + "description": "Add examples for API operations in model.", + "type": "api-change" + }, + { + "category": "``connect``", + "description": "Amazon Connect introduces StartOutboundChatContact API allowing customers to initiate outbound chat contacts", + "type": "api-change" + }, + { + "category": "``pricing``", + "description": "Add examples for API operations in model.", + "type": "api-change" + }, + { + "category": "``resource-groups``", + "description": "This update includes new APIs to support application groups and to allow users to manage resource tag-sync tasks in applications.", + "type": "api-change" + }, + { + "category": "``supplychain``", + "description": "Release DataLakeDataset, DataIntegrationFlow and ResourceTagging APIs for AWS Supply Chain", + "type": "api-change" + }, + { + "category": "``timestream-influxdb``", + "description": "Timestream for InfluxDB now supports port configuration and additional customer-modifiable InfluxDB v2 parameters. This release adds Port to the CreateDbInstance and UpdateDbInstance API, and additional InfluxDB v2 parameters to the CreateDbParameterGroup API.", + "type": "api-change" + }, + { + "category": "``verifiedpermissions``", + "description": "Add examples for API operations in model.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-bedrock-6729.json b/.changes/next-release/api-change-bedrock-6729.json deleted file mode 100644 index 40cce7628dbb..000000000000 --- a/.changes/next-release/api-change-bedrock-6729.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock``", - "description": "Add support for custom models via provisioned throughput for Bedrock Model Evaluation" -} diff --git a/.changes/next-release/api-change-clouddirectory-35450.json b/.changes/next-release/api-change-clouddirectory-35450.json deleted file mode 100644 index 1447d99be6b2..000000000000 --- a/.changes/next-release/api-change-clouddirectory-35450.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``clouddirectory``", - "description": "Add examples for API operations in model." -} diff --git a/.changes/next-release/api-change-connect-73139.json b/.changes/next-release/api-change-connect-73139.json deleted file mode 100644 index 0e50f918ff0d..000000000000 --- a/.changes/next-release/api-change-connect-73139.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``connect``", - "description": "Amazon Connect introduces StartOutboundChatContact API allowing customers to initiate outbound chat contacts" -} diff --git a/.changes/next-release/api-change-pricing-6278.json b/.changes/next-release/api-change-pricing-6278.json deleted file mode 100644 index 20bde0dc6848..000000000000 --- a/.changes/next-release/api-change-pricing-6278.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``pricing``", - "description": "Add examples for API operations in model." -} diff --git a/.changes/next-release/api-change-resourcegroups-47231.json b/.changes/next-release/api-change-resourcegroups-47231.json deleted file mode 100644 index c5808b5a518c..000000000000 --- a/.changes/next-release/api-change-resourcegroups-47231.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``resource-groups``", - "description": "This update includes new APIs to support application groups and to allow users to manage resource tag-sync tasks in applications." -} diff --git a/.changes/next-release/api-change-supplychain-59240.json b/.changes/next-release/api-change-supplychain-59240.json deleted file mode 100644 index 9534aa1000aa..000000000000 --- a/.changes/next-release/api-change-supplychain-59240.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``supplychain``", - "description": "Release DataLakeDataset, DataIntegrationFlow and ResourceTagging APIs for AWS Supply Chain" -} diff --git a/.changes/next-release/api-change-timestreaminfluxdb-58484.json b/.changes/next-release/api-change-timestreaminfluxdb-58484.json deleted file mode 100644 index 8be221c13dae..000000000000 --- a/.changes/next-release/api-change-timestreaminfluxdb-58484.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``timestream-influxdb``", - "description": "Timestream for InfluxDB now supports port configuration and additional customer-modifiable InfluxDB v2 parameters. This release adds Port to the CreateDbInstance and UpdateDbInstance API, and additional InfluxDB v2 parameters to the CreateDbParameterGroup API." -} diff --git a/.changes/next-release/api-change-verifiedpermissions-16313.json b/.changes/next-release/api-change-verifiedpermissions-16313.json deleted file mode 100644 index 1b3b5fbe54c0..000000000000 --- a/.changes/next-release/api-change-verifiedpermissions-16313.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``verifiedpermissions``", - "description": "Add examples for API operations in model." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index a3e3d4f244e3..9788fb6d749e 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,19 @@ CHANGELOG ========= +1.34.30 +======= + +* api-change:``bedrock``: Add support for custom models via provisioned throughput for Bedrock Model Evaluation +* api-change:``clouddirectory``: Add examples for API operations in model. +* api-change:``connect``: Amazon Connect introduces StartOutboundChatContact API allowing customers to initiate outbound chat contacts +* api-change:``pricing``: Add examples for API operations in model. +* api-change:``resource-groups``: This update includes new APIs to support application groups and to allow users to manage resource tag-sync tasks in applications. +* api-change:``supplychain``: Release DataLakeDataset, DataIntegrationFlow and ResourceTagging APIs for AWS Supply Chain +* api-change:``timestream-influxdb``: Timestream for InfluxDB now supports port configuration and additional customer-modifiable InfluxDB v2 parameters. This release adds Port to the CreateDbInstance and UpdateDbInstance API, and additional InfluxDB v2 parameters to the CreateDbParameterGroup API. +* api-change:``verifiedpermissions``: Add examples for API operations in model. + + 1.34.29 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index ebde3db6f0f0..0e740c159147 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.34.29' +__version__ = '1.34.30' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 54383e1e4fc7..449402dc46b6 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.34.' # The full version, including alpha/beta/rc tags. -release = '1.34.29' +release = '1.34.30' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index c38e33afd1b8..b7f504179f51 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.29 + botocore==1.35.30 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index b596230459ea..88a13caffb57 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.29', + 'botocore==1.35.30', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From f863b819f4d946ecf5646c90ce81a08f6ccbc970 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 1 Oct 2024 18:23:05 +0000 Subject: [PATCH 0226/1087] Merge customizations for codeartifact --- awscli/customizations/codeartifact/login.py | 7 + .../codeartifact/test_codeartifact_login.py | 159 +++++++++++++++++- 2 files changed, 164 insertions(+), 2 deletions(-) diff --git a/awscli/customizations/codeartifact/login.py b/awscli/customizations/codeartifact/login.py index 6d1353fd46f7..c6816db1e00a 100644 --- a/awscli/customizations/codeartifact/login.py +++ b/awscli/customizations/codeartifact/login.py @@ -720,6 +720,11 @@ class CodeArtifactLogin(BasicCommand): 'help_text': 'Your CodeArtifact repository name', 'required': True, }, + { + 'name': 'endpoint-type', + 'help_text': 'The type of endpoint you want the tool to interact with', + 'required': False + }, { 'name': 'dry-run', 'action': 'store_true', @@ -750,6 +755,8 @@ def _get_repository_endpoint( 'repository': parsed_args.repository, 'format': package_format } + if parsed_args.endpoint_type: + kwargs['endpointType'] = parsed_args.endpoint_type if parsed_args.domain_owner: kwargs['domainOwner'] = parsed_args.domain_owner diff --git a/tests/functional/codeartifact/test_codeartifact_login.py b/tests/functional/codeartifact/test_codeartifact_login.py index 0715d7dab330..9d0dc1ae5231 100644 --- a/tests/functional/codeartifact/test_codeartifact_login.py +++ b/tests/functional/codeartifact/test_codeartifact_login.py @@ -26,6 +26,7 @@ def setUp(self): self.domain = 'domain' self.domain_owner = 'domain-owner' self.repository = 'repository' + self.endpoint_type = 'ipv4' self.auth_token = 'auth-token' self.namespace = 'namespace' self.nuget_index_url_fmt = '{endpoint}v3/index.json' @@ -66,7 +67,9 @@ def tearDown(self): self.file_creator.remove_all() def _setup_cmd(self, tool, - include_domain_owner=False, dry_run=False, + include_domain_owner=False, + dry_run=False, + include_endpoint_type=False, include_duration_seconds=False, include_namespace=False): package_format = CodeArtifactLogin.TOOL_MAP[tool]['package_format'] @@ -88,6 +91,9 @@ def _setup_cmd(self, tool, if include_domain_owner: cmdline.extend(['--domain-owner', self.domain_owner]) + if include_endpoint_type: + cmdline.extend(['--endpoint-type', self.endpoint_type]) + if dry_run: cmdline.append('--dry-run') @@ -264,7 +270,8 @@ def _assert_expiration_printed_to_stdout(self, stdout): def _assert_operations_called( self, package_format, result, - include_domain_owner=False, include_duration_seconds=False + include_domain_owner=False, include_duration_seconds=False, + include_endpoint_type=False ): get_auth_token_kwargs = { @@ -280,6 +287,9 @@ def _assert_operations_called( get_auth_token_kwargs['domainOwner'] = self.domain_owner get_repo_endpoint_kwargs['domainOwner'] = self.domain_owner + if include_endpoint_type: + get_repo_endpoint_kwargs['endpointType'] = self.endpoint_type + if include_duration_seconds: get_auth_token_kwargs['durationSeconds'] = self.duration @@ -529,6 +539,34 @@ def test_swift_login_with_namespace_dry_run(self): self._assert_dry_run_execution( self._get_swift_commands(scope=self.namespace),result.stdout) + @mock.patch('awscli.customizations.codeartifact.login.is_macos', False) + def test_swift_login_with_namespace_with_endpoint_type(self): + cmdline = self._setup_cmd( + tool='swift', include_namespace=True, include_endpoint_type=True + ) + result = self.cli_runner.run(cmdline) + self.assertEqual(result.rc, 0) + self._assert_operations_called(package_format='swift', result=result, include_endpoint_type=True) + self._assert_expiration_printed_to_stdout(result.stdout) + self._assert_subprocess_execution( + self._get_swift_commands(scope=self.namespace) + ) + self._assert_netrc_has_expected_content() + + @mock.patch('awscli.customizations.codeartifact.login.is_macos', True) + def test_swift_login_with_domain_owner_with_endpoint_type(self): + cmdline = self._setup_cmd( + tool='swift', include_domain_owner=True, include_endpoint_type=True + ) + result = self.cli_runner.run(cmdline) + self.assertEqual(result.rc, 0) + self._assert_operations_called(package_format='swift', result=result, include_endpoint_type=True, + include_domain_owner=True) + self._assert_expiration_printed_to_stdout(result.stdout) + self._assert_subprocess_execution( + self._get_swift_commands(token=self.auth_token) + ) + def test_nuget_login_without_domain_owner_without_duration_seconds(self): cmdline = self._setup_cmd(tool='nuget') result = self.cli_runner.run(cmdline) @@ -586,6 +624,27 @@ def test_nuget_login_with_domain_owner_duration_sections(self): self._get_nuget_commands() ) + def test_nuget_login_with_domain_owner_duration_endpoint_type(self): + cmdline = self._setup_cmd( + tool='nuget', + include_domain_owner=True, + include_duration_seconds=True, + include_endpoint_type=True + ) + result = self.cli_runner.run(cmdline) + self.assertEqual(result.rc, 0) + self._assert_operations_called( + package_format='nuget', + include_domain_owner=True, + include_duration_seconds=True, + include_endpoint_type=True, + result=result + ) + self._assert_expiration_printed_to_stdout(result.stdout) + self._assert_subprocess_execution( + self._get_nuget_commands() + ) + def test_nuget_login_without_domain_owner_dry_run(self): cmdline = self._setup_cmd(tool='nuget', dry_run=True) result = self.cli_runner.run(cmdline) @@ -646,6 +705,26 @@ def test_nuget_login_with_domain_owner_duration_seconds_dry_run(self): result.stdout ) + def test_nuget_login_with_domain_owner_duration_seconds_with_endpoint_type_dryrun(self): + cmdline = self._setup_cmd( + tool='nuget', include_domain_owner=True, + include_duration_seconds=True, + dry_run=True, include_endpoint_type=True + ) + result = self.cli_runner.run(cmdline) + self.assertEqual(result.rc, 0) + self._assert_operations_called( + package_format='nuget', + include_domain_owner=True, + include_duration_seconds=True, + include_endpoint_type=True, + result=result + ) + self._assert_dry_run_execution( + self._get_nuget_commands(), + result.stdout + ) + @mock.patch('awscli.customizations.codeartifact.login.is_windows', True) def test_dotnet_login_without_domain_owner_without_duration_seconds(self): cmdline = self._setup_cmd(tool='dotnet') @@ -657,6 +736,17 @@ def test_dotnet_login_without_domain_owner_without_duration_seconds(self): self._get_dotnet_commands() ) + @mock.patch('awscli.customizations.codeartifact.login.is_windows', True) + def test_dotnet_login_without_domain_owner_without_duration_seconds_with_endpoint_type(self): + cmdline = self._setup_cmd(tool='dotnet', include_endpoint_type=True) + result = self.cli_runner.run(cmdline) + self.assertEqual(result.rc, 0) + self._assert_operations_called(package_format='nuget', result=result, include_endpoint_type=True) + self._assert_expiration_printed_to_stdout(result.stdout) + self._assert_subprocess_execution( + self._get_dotnet_commands() + ) + @mock.patch('awscli.customizations.codeartifact.login.is_windows', True) def test_dotnet_login_with_domain_owner_without_duration_seconds(self): cmdline = self._setup_cmd(tool='dotnet', include_domain_owner=True) @@ -799,6 +889,21 @@ def test_dotnet_login_sources_listed_with_extra_non_list_text(self): ]] self._assert_subprocess_check_output_execution(commands) + @mock.patch('awscli.customizations.codeartifact.login.is_windows', True) + def test_dotnet_login_sources_listed_with_extra_non_list_text_with_endpoint_type(self): + + self.subprocess_check_output_patch.return_value = \ + self._NUGET_SOURCES_LIST_RESPONSE_WITH_EXTRA_NON_LIST_TEXT + + cmdline = self._setup_cmd(tool='dotnet', include_endpoint_type=True) + result = self.cli_runner.run(cmdline) + self.assertEqual(result.rc, 0) + self._assert_operations_called(package_format='nuget', result=result, include_endpoint_type=True) + commands = [[ + 'dotnet', 'nuget', 'list', 'source', '--format', 'detailed' + ]] + self._assert_subprocess_check_output_execution(commands) + def test_npm_login_without_domain_owner(self): cmdline = self._setup_cmd(tool='npm') result = self.cli_runner.run(cmdline) @@ -849,6 +954,18 @@ def test_npm_login_with_domain_owner(self): self._assert_expiration_printed_to_stdout(result.stdout) self._assert_subprocess_execution(self._get_npm_commands()) + def test_npm_login_with_domain_owner_endpoint_type(self): + cmdline = self._setup_cmd(tool='npm', include_domain_owner=True, include_endpoint_type=True) + result = self.cli_runner.run(cmdline) + self.assertEqual(result.rc, 0) + self._assert_operations_called( + package_format='npm', result=result, + include_domain_owner=True, include_duration_seconds=False, + include_endpoint_type=True + ) + self._assert_expiration_printed_to_stdout(result.stdout) + self._assert_subprocess_execution(self._get_npm_commands()) + def test_npm_login_with_domain_owner_duration(self): cmdline = self._setup_cmd(tool='npm', include_domain_owner=True, include_duration_seconds=True) @@ -896,6 +1013,18 @@ def test_npm_login_with_namespace_dry_run(self): result.stdout ) + def test_npm_login_with_namespace_endpoint_type_dry_run(self): + cmdline = self._setup_cmd( + tool='npm', include_namespace=True, dry_run=True, include_endpoint_type=True + ) + result = self.cli_runner.run(cmdline) + self.assertEqual(result.rc, 0) + self._assert_operations_called(package_format='npm', result=result, include_endpoint_type=True) + self._assert_dry_run_execution( + self._get_npm_commands(scope='@{}'.format(self.namespace)), + result.stdout + ) + def test_pip_login_without_domain_owner(self): cmdline = self._setup_cmd(tool='pip') result = self.cli_runner.run(cmdline) @@ -933,6 +1062,18 @@ def test_pip_login_with_domain_owner_duration(self): self._assert_expiration_printed_to_stdout(result.stdout) self._assert_subprocess_execution(self._get_pip_commands()) + def test_pip_login_with_domain_owner_duration_endpoint_type(self): + cmdline = self._setup_cmd(tool='pip', include_domain_owner=True, + include_duration_seconds=True, include_endpoint_type=True) + result = self.cli_runner.run(cmdline) + self.assertEqual(result.rc, 0) + self._assert_operations_called( + package_format='pypi', result=result, include_domain_owner=True, + include_duration_seconds=True, include_endpoint_type=True + ) + self._assert_expiration_printed_to_stdout(result.stdout) + self._assert_subprocess_execution(self._get_pip_commands()) + def test_pip_login_with_domain_owner_dry_run(self): cmdline = self._setup_cmd( tool='pip', include_domain_owner=True, dry_run=True @@ -1012,6 +1153,20 @@ def test_twine_login_without_domain_owner_dry_run(self): password=self.auth_token ) + def test_twine_login_without_domain_owner_dry_run_endpoint_type(self): + cmdline = self._setup_cmd(tool='twine', dry_run=True, include_endpoint_type=True) + result = self.cli_runner.run(cmdline) + self.assertEqual(result.rc, 0) + self._assert_operations_called(package_format='pypi', result=result, include_endpoint_type=True) + self.assertFalse(os.path.exists(self.test_pypi_rc_path)) + self._assert_pypi_rc_has_expected_content( + pypi_rc_str=self._get_twine_commands(), + server='codeartifact', + repo_url=self.endpoint, + username='aws', + password=self.auth_token + ) + def test_twine_login_with_domain_owner(self): cmdline = self._setup_cmd(tool='twine', include_domain_owner=True) result = self.cli_runner.run(cmdline) From d4d90b56b594795b2197d48ed8e9eeb1a338195d Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 1 Oct 2024 18:23:10 +0000 Subject: [PATCH 0227/1087] Update changelog based on model updates --- .changes/next-release/api-change-bedrockagent-91172.json | 5 +++++ .changes/next-release/api-change-codeartifact-78012.json | 5 +++++ .changes/next-release/api-change-rds-61928.json | 5 +++++ 3 files changed, 15 insertions(+) create mode 100644 .changes/next-release/api-change-bedrockagent-91172.json create mode 100644 .changes/next-release/api-change-codeartifact-78012.json create mode 100644 .changes/next-release/api-change-rds-61928.json diff --git a/.changes/next-release/api-change-bedrockagent-91172.json b/.changes/next-release/api-change-bedrockagent-91172.json new file mode 100644 index 000000000000..e48689b00e17 --- /dev/null +++ b/.changes/next-release/api-change-bedrockagent-91172.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-agent``", + "description": "This release adds support to stop an ongoing ingestion job using the StopIngestionJob API in Agents for Amazon Bedrock." +} diff --git a/.changes/next-release/api-change-codeartifact-78012.json b/.changes/next-release/api-change-codeartifact-78012.json new file mode 100644 index 000000000000..851abb6c39cd --- /dev/null +++ b/.changes/next-release/api-change-codeartifact-78012.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``codeartifact``", + "description": "Add support for the dual stack endpoints." +} diff --git a/.changes/next-release/api-change-rds-61928.json b/.changes/next-release/api-change-rds-61928.json new file mode 100644 index 000000000000..046137638e6d --- /dev/null +++ b/.changes/next-release/api-change-rds-61928.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``rds``", + "description": "This release provides additional support for enabling Aurora Limitless Database DB clusters." +} From 4a7db84dfa401901d24f0b9334856dc283544027 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 1 Oct 2024 18:24:35 +0000 Subject: [PATCH 0228/1087] Bumping version to 1.34.31 --- .changes/1.34.31.json | 17 +++++++++++++++++ .../api-change-bedrockagent-91172.json | 5 ----- .../api-change-codeartifact-78012.json | 5 ----- .changes/next-release/api-change-rds-61928.json | 5 ----- CHANGELOG.rst | 8 ++++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 9 files changed, 29 insertions(+), 19 deletions(-) create mode 100644 .changes/1.34.31.json delete mode 100644 .changes/next-release/api-change-bedrockagent-91172.json delete mode 100644 .changes/next-release/api-change-codeartifact-78012.json delete mode 100644 .changes/next-release/api-change-rds-61928.json diff --git a/.changes/1.34.31.json b/.changes/1.34.31.json new file mode 100644 index 000000000000..2525d56f5bd3 --- /dev/null +++ b/.changes/1.34.31.json @@ -0,0 +1,17 @@ +[ + { + "category": "``bedrock-agent``", + "description": "This release adds support to stop an ongoing ingestion job using the StopIngestionJob API in Agents for Amazon Bedrock.", + "type": "api-change" + }, + { + "category": "``codeartifact``", + "description": "Add support for the dual stack endpoints.", + "type": "api-change" + }, + { + "category": "``rds``", + "description": "This release provides additional support for enabling Aurora Limitless Database DB clusters.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-bedrockagent-91172.json b/.changes/next-release/api-change-bedrockagent-91172.json deleted file mode 100644 index e48689b00e17..000000000000 --- a/.changes/next-release/api-change-bedrockagent-91172.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-agent``", - "description": "This release adds support to stop an ongoing ingestion job using the StopIngestionJob API in Agents for Amazon Bedrock." -} diff --git a/.changes/next-release/api-change-codeartifact-78012.json b/.changes/next-release/api-change-codeartifact-78012.json deleted file mode 100644 index 851abb6c39cd..000000000000 --- a/.changes/next-release/api-change-codeartifact-78012.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``codeartifact``", - "description": "Add support for the dual stack endpoints." -} diff --git a/.changes/next-release/api-change-rds-61928.json b/.changes/next-release/api-change-rds-61928.json deleted file mode 100644 index 046137638e6d..000000000000 --- a/.changes/next-release/api-change-rds-61928.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``rds``", - "description": "This release provides additional support for enabling Aurora Limitless Database DB clusters." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 9788fb6d749e..968a5cd43f75 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,14 @@ CHANGELOG ========= +1.34.31 +======= + +* api-change:``bedrock-agent``: This release adds support to stop an ongoing ingestion job using the StopIngestionJob API in Agents for Amazon Bedrock. +* api-change:``codeartifact``: Add support for the dual stack endpoints. +* api-change:``rds``: This release provides additional support for enabling Aurora Limitless Database DB clusters. + + 1.34.30 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 0e740c159147..96d8d99b16cd 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.34.30' +__version__ = '1.34.31' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 449402dc46b6..1f8f2501e2d7 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.34.' # The full version, including alpha/beta/rc tags. -release = '1.34.30' +release = '1.34.31' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index b7f504179f51..c6e20f08ddaf 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.30 + botocore==1.35.31 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 88a13caffb57..5f3248100b9f 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.30', + 'botocore==1.35.31', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 6da9e5b45fea4d98ca52ceaed556f9296f69e7aa Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 2 Oct 2024 18:12:22 +0000 Subject: [PATCH 0229/1087] Update changelog based on model updates --- .changes/next-release/api-change-appstream-95997.json | 5 +++++ .changes/next-release/api-change-b2bi-17367.json | 5 +++++ .../next-release/api-change-bedrockagentruntime-21819.json | 5 +++++ .changes/next-release/api-change-bedrockruntime-24421.json | 5 +++++ .changes/next-release/api-change-iotdeviceadvisor-53520.json | 5 +++++ .changes/next-release/api-change-ivsrealtime-64273.json | 5 +++++ .changes/next-release/api-change-s3-35985.json | 5 +++++ .changes/next-release/api-change-sagemaker-74529.json | 5 +++++ .changes/next-release/api-change-workspaces-80401.json | 5 +++++ 9 files changed, 45 insertions(+) create mode 100644 .changes/next-release/api-change-appstream-95997.json create mode 100644 .changes/next-release/api-change-b2bi-17367.json create mode 100644 .changes/next-release/api-change-bedrockagentruntime-21819.json create mode 100644 .changes/next-release/api-change-bedrockruntime-24421.json create mode 100644 .changes/next-release/api-change-iotdeviceadvisor-53520.json create mode 100644 .changes/next-release/api-change-ivsrealtime-64273.json create mode 100644 .changes/next-release/api-change-s3-35985.json create mode 100644 .changes/next-release/api-change-sagemaker-74529.json create mode 100644 .changes/next-release/api-change-workspaces-80401.json diff --git a/.changes/next-release/api-change-appstream-95997.json b/.changes/next-release/api-change-appstream-95997.json new file mode 100644 index 000000000000..e7e4315305d5 --- /dev/null +++ b/.changes/next-release/api-change-appstream-95997.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``appstream``", + "description": "Added support for Automatic Time Zone Redirection on Amazon AppStream 2.0" +} diff --git a/.changes/next-release/api-change-b2bi-17367.json b/.changes/next-release/api-change-b2bi-17367.json new file mode 100644 index 000000000000..5a54a5b7cae3 --- /dev/null +++ b/.changes/next-release/api-change-b2bi-17367.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``b2bi``", + "description": "Added and updated APIs to support outbound EDI transformations" +} diff --git a/.changes/next-release/api-change-bedrockagentruntime-21819.json b/.changes/next-release/api-change-bedrockagentruntime-21819.json new file mode 100644 index 000000000000..946f36179657 --- /dev/null +++ b/.changes/next-release/api-change-bedrockagentruntime-21819.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-agent-runtime``", + "description": "Added raw model response and usage metrics to PreProcessing and PostProcessing Trace" +} diff --git a/.changes/next-release/api-change-bedrockruntime-24421.json b/.changes/next-release/api-change-bedrockruntime-24421.json new file mode 100644 index 000000000000..f8a51323076b --- /dev/null +++ b/.changes/next-release/api-change-bedrockruntime-24421.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-runtime``", + "description": "Added new fields to Amazon Bedrock Guardrails trace" +} diff --git a/.changes/next-release/api-change-iotdeviceadvisor-53520.json b/.changes/next-release/api-change-iotdeviceadvisor-53520.json new file mode 100644 index 000000000000..3be3188c15ad --- /dev/null +++ b/.changes/next-release/api-change-iotdeviceadvisor-53520.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``iotdeviceadvisor``", + "description": "Add clientToken attribute and implement idempotency for CreateSuiteDefinition." +} diff --git a/.changes/next-release/api-change-ivsrealtime-64273.json b/.changes/next-release/api-change-ivsrealtime-64273.json new file mode 100644 index 000000000000..2b5beadb1871 --- /dev/null +++ b/.changes/next-release/api-change-ivsrealtime-64273.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ivs-realtime``", + "description": "Adds new Stage Health EventErrorCodes applicable to RTMP(S) broadcasts. Bug Fix: Enforces that EncoderConfiguration Video height and width must be even-number values." +} diff --git a/.changes/next-release/api-change-s3-35985.json b/.changes/next-release/api-change-s3-35985.json new file mode 100644 index 000000000000..cdd2a40ef1ce --- /dev/null +++ b/.changes/next-release/api-change-s3-35985.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``s3``", + "description": "This release introduces a header representing the minimum object size limit for Lifecycle transitions." +} diff --git a/.changes/next-release/api-change-sagemaker-74529.json b/.changes/next-release/api-change-sagemaker-74529.json new file mode 100644 index 000000000000..cf4ff51f720e --- /dev/null +++ b/.changes/next-release/api-change-sagemaker-74529.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``sagemaker``", + "description": "releasing builtinlcc to public" +} diff --git a/.changes/next-release/api-change-workspaces-80401.json b/.changes/next-release/api-change-workspaces-80401.json new file mode 100644 index 000000000000..9d5c8c250fc1 --- /dev/null +++ b/.changes/next-release/api-change-workspaces-80401.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``workspaces``", + "description": "WSP is being rebranded to become DCV." +} From 3b1ac23f1079b696c7ae22a5f39066d48ac46471 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 2 Oct 2024 18:13:59 +0000 Subject: [PATCH 0230/1087] Bumping version to 1.34.32 --- .changes/1.34.32.json | 47 +++++++++++++++++++ .../api-change-appstream-95997.json | 5 -- .../next-release/api-change-b2bi-17367.json | 5 -- .../api-change-bedrockagentruntime-21819.json | 5 -- .../api-change-bedrockruntime-24421.json | 5 -- .../api-change-iotdeviceadvisor-53520.json | 5 -- .../api-change-ivsrealtime-64273.json | 5 -- .../next-release/api-change-s3-35985.json | 5 -- .../api-change-sagemaker-74529.json | 5 -- .../api-change-workspaces-80401.json | 5 -- CHANGELOG.rst | 14 ++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 15 files changed, 65 insertions(+), 49 deletions(-) create mode 100644 .changes/1.34.32.json delete mode 100644 .changes/next-release/api-change-appstream-95997.json delete mode 100644 .changes/next-release/api-change-b2bi-17367.json delete mode 100644 .changes/next-release/api-change-bedrockagentruntime-21819.json delete mode 100644 .changes/next-release/api-change-bedrockruntime-24421.json delete mode 100644 .changes/next-release/api-change-iotdeviceadvisor-53520.json delete mode 100644 .changes/next-release/api-change-ivsrealtime-64273.json delete mode 100644 .changes/next-release/api-change-s3-35985.json delete mode 100644 .changes/next-release/api-change-sagemaker-74529.json delete mode 100644 .changes/next-release/api-change-workspaces-80401.json diff --git a/.changes/1.34.32.json b/.changes/1.34.32.json new file mode 100644 index 000000000000..393c404ad69e --- /dev/null +++ b/.changes/1.34.32.json @@ -0,0 +1,47 @@ +[ + { + "category": "``appstream``", + "description": "Added support for Automatic Time Zone Redirection on Amazon AppStream 2.0", + "type": "api-change" + }, + { + "category": "``b2bi``", + "description": "Added and updated APIs to support outbound EDI transformations", + "type": "api-change" + }, + { + "category": "``bedrock-agent-runtime``", + "description": "Added raw model response and usage metrics to PreProcessing and PostProcessing Trace", + "type": "api-change" + }, + { + "category": "``bedrock-runtime``", + "description": "Added new fields to Amazon Bedrock Guardrails trace", + "type": "api-change" + }, + { + "category": "``iotdeviceadvisor``", + "description": "Add clientToken attribute and implement idempotency for CreateSuiteDefinition.", + "type": "api-change" + }, + { + "category": "``ivs-realtime``", + "description": "Adds new Stage Health EventErrorCodes applicable to RTMP(S) broadcasts. Bug Fix: Enforces that EncoderConfiguration Video height and width must be even-number values.", + "type": "api-change" + }, + { + "category": "``s3``", + "description": "This release introduces a header representing the minimum object size limit for Lifecycle transitions.", + "type": "api-change" + }, + { + "category": "``sagemaker``", + "description": "releasing builtinlcc to public", + "type": "api-change" + }, + { + "category": "``workspaces``", + "description": "WSP is being rebranded to become DCV.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-appstream-95997.json b/.changes/next-release/api-change-appstream-95997.json deleted file mode 100644 index e7e4315305d5..000000000000 --- a/.changes/next-release/api-change-appstream-95997.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``appstream``", - "description": "Added support for Automatic Time Zone Redirection on Amazon AppStream 2.0" -} diff --git a/.changes/next-release/api-change-b2bi-17367.json b/.changes/next-release/api-change-b2bi-17367.json deleted file mode 100644 index 5a54a5b7cae3..000000000000 --- a/.changes/next-release/api-change-b2bi-17367.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``b2bi``", - "description": "Added and updated APIs to support outbound EDI transformations" -} diff --git a/.changes/next-release/api-change-bedrockagentruntime-21819.json b/.changes/next-release/api-change-bedrockagentruntime-21819.json deleted file mode 100644 index 946f36179657..000000000000 --- a/.changes/next-release/api-change-bedrockagentruntime-21819.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-agent-runtime``", - "description": "Added raw model response and usage metrics to PreProcessing and PostProcessing Trace" -} diff --git a/.changes/next-release/api-change-bedrockruntime-24421.json b/.changes/next-release/api-change-bedrockruntime-24421.json deleted file mode 100644 index f8a51323076b..000000000000 --- a/.changes/next-release/api-change-bedrockruntime-24421.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-runtime``", - "description": "Added new fields to Amazon Bedrock Guardrails trace" -} diff --git a/.changes/next-release/api-change-iotdeviceadvisor-53520.json b/.changes/next-release/api-change-iotdeviceadvisor-53520.json deleted file mode 100644 index 3be3188c15ad..000000000000 --- a/.changes/next-release/api-change-iotdeviceadvisor-53520.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``iotdeviceadvisor``", - "description": "Add clientToken attribute and implement idempotency for CreateSuiteDefinition." -} diff --git a/.changes/next-release/api-change-ivsrealtime-64273.json b/.changes/next-release/api-change-ivsrealtime-64273.json deleted file mode 100644 index 2b5beadb1871..000000000000 --- a/.changes/next-release/api-change-ivsrealtime-64273.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ivs-realtime``", - "description": "Adds new Stage Health EventErrorCodes applicable to RTMP(S) broadcasts. Bug Fix: Enforces that EncoderConfiguration Video height and width must be even-number values." -} diff --git a/.changes/next-release/api-change-s3-35985.json b/.changes/next-release/api-change-s3-35985.json deleted file mode 100644 index cdd2a40ef1ce..000000000000 --- a/.changes/next-release/api-change-s3-35985.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``s3``", - "description": "This release introduces a header representing the minimum object size limit for Lifecycle transitions." -} diff --git a/.changes/next-release/api-change-sagemaker-74529.json b/.changes/next-release/api-change-sagemaker-74529.json deleted file mode 100644 index cf4ff51f720e..000000000000 --- a/.changes/next-release/api-change-sagemaker-74529.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``sagemaker``", - "description": "releasing builtinlcc to public" -} diff --git a/.changes/next-release/api-change-workspaces-80401.json b/.changes/next-release/api-change-workspaces-80401.json deleted file mode 100644 index 9d5c8c250fc1..000000000000 --- a/.changes/next-release/api-change-workspaces-80401.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``workspaces``", - "description": "WSP is being rebranded to become DCV." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 968a5cd43f75..09f51817f0b8 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,20 @@ CHANGELOG ========= +1.34.32 +======= + +* api-change:``appstream``: Added support for Automatic Time Zone Redirection on Amazon AppStream 2.0 +* api-change:``b2bi``: Added and updated APIs to support outbound EDI transformations +* api-change:``bedrock-agent-runtime``: Added raw model response and usage metrics to PreProcessing and PostProcessing Trace +* api-change:``bedrock-runtime``: Added new fields to Amazon Bedrock Guardrails trace +* api-change:``iotdeviceadvisor``: Add clientToken attribute and implement idempotency for CreateSuiteDefinition. +* api-change:``ivs-realtime``: Adds new Stage Health EventErrorCodes applicable to RTMP(S) broadcasts. Bug Fix: Enforces that EncoderConfiguration Video height and width must be even-number values. +* api-change:``s3``: This release introduces a header representing the minimum object size limit for Lifecycle transitions. +* api-change:``sagemaker``: releasing builtinlcc to public +* api-change:``workspaces``: WSP is being rebranded to become DCV. + + 1.34.31 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 96d8d99b16cd..27d989337350 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.34.31' +__version__ = '1.34.32' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 1f8f2501e2d7..19cec5140b10 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.34.' # The full version, including alpha/beta/rc tags. -release = '1.34.31' +release = '1.34.32' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index c6e20f08ddaf..0d215d986df2 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.31 + botocore==1.35.32 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 5f3248100b9f..abc6af17cdc3 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.31', + 'botocore==1.35.32', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 977989a4b5a0c1551e93129a0c06dc619ba477e4 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 3 Oct 2024 18:05:53 +0000 Subject: [PATCH 0231/1087] Update changelog based on model updates --- .changes/next-release/api-change-codepipeline-85685.json | 5 +++++ .changes/next-release/api-change-connect-30317.json | 5 +++++ .changes/next-release/api-change-ec2-71237.json | 5 +++++ .changes/next-release/api-change-iot-20288.json | 5 +++++ .../next-release/api-change-marketplacereporting-88887.json | 5 +++++ .changes/next-release/api-change-mediapackagev2-44652.json | 5 +++++ .changes/next-release/api-change-quicksight-31312.json | 5 +++++ 7 files changed, 35 insertions(+) create mode 100644 .changes/next-release/api-change-codepipeline-85685.json create mode 100644 .changes/next-release/api-change-connect-30317.json create mode 100644 .changes/next-release/api-change-ec2-71237.json create mode 100644 .changes/next-release/api-change-iot-20288.json create mode 100644 .changes/next-release/api-change-marketplacereporting-88887.json create mode 100644 .changes/next-release/api-change-mediapackagev2-44652.json create mode 100644 .changes/next-release/api-change-quicksight-31312.json diff --git a/.changes/next-release/api-change-codepipeline-85685.json b/.changes/next-release/api-change-codepipeline-85685.json new file mode 100644 index 000000000000..0d3529345be5 --- /dev/null +++ b/.changes/next-release/api-change-codepipeline-85685.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``codepipeline``", + "description": "AWS CodePipeline introduces Commands action that enables you to easily run shell commands as part of your pipeline execution." +} diff --git a/.changes/next-release/api-change-connect-30317.json b/.changes/next-release/api-change-connect-30317.json new file mode 100644 index 000000000000..61c56ad89cf5 --- /dev/null +++ b/.changes/next-release/api-change-connect-30317.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``connect``", + "description": "Public GetMetricDataV2 Grouping increase from 3 to 4" +} diff --git a/.changes/next-release/api-change-ec2-71237.json b/.changes/next-release/api-change-ec2-71237.json new file mode 100644 index 000000000000..420745721700 --- /dev/null +++ b/.changes/next-release/api-change-ec2-71237.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ec2``", + "description": "This release includes a new API for modifying instance cpu-options after launch." +} diff --git a/.changes/next-release/api-change-iot-20288.json b/.changes/next-release/api-change-iot-20288.json new file mode 100644 index 000000000000..396726afe329 --- /dev/null +++ b/.changes/next-release/api-change-iot-20288.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``iot``", + "description": "This release adds support for Custom Authentication with X.509 Client Certificates, support for Custom Client Certificate validation, and support for selecting application protocol and authentication type without requiring TLS ALPN for customer's AWS IoT Domain Configurations." +} diff --git a/.changes/next-release/api-change-marketplacereporting-88887.json b/.changes/next-release/api-change-marketplacereporting-88887.json new file mode 100644 index 000000000000..25904260f5c9 --- /dev/null +++ b/.changes/next-release/api-change-marketplacereporting-88887.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``marketplace-reporting``", + "description": "The AWS Marketplace Reporting service introduces the GetBuyerDashboard API. This API returns a dashboard that provides visibility into your organization's AWS Marketplace agreements and associated spend across the AWS accounts in your organization." +} diff --git a/.changes/next-release/api-change-mediapackagev2-44652.json b/.changes/next-release/api-change-mediapackagev2-44652.json new file mode 100644 index 000000000000..3d11f08e236c --- /dev/null +++ b/.changes/next-release/api-change-mediapackagev2-44652.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``mediapackagev2``", + "description": "Added support for ClipStartTime on the FilterConfiguration object on OriginEndpoint manifest settings objects. Added support for EXT-X-START tags on produced HLS child playlists." +} diff --git a/.changes/next-release/api-change-quicksight-31312.json b/.changes/next-release/api-change-quicksight-31312.json new file mode 100644 index 000000000000..38772c1f3eee --- /dev/null +++ b/.changes/next-release/api-change-quicksight-31312.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``quicksight``", + "description": "QuickSight: Add support for exporting and importing folders in AssetBundle APIs" +} From 0bbfd112e901881204e35dd25132b16923988b42 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 3 Oct 2024 18:07:26 +0000 Subject: [PATCH 0232/1087] Bumping version to 1.34.33 --- .changes/1.34.33.json | 37 +++++++++++++++++++ .../api-change-codepipeline-85685.json | 5 --- .../api-change-connect-30317.json | 5 --- .../next-release/api-change-ec2-71237.json | 5 --- .../next-release/api-change-iot-20288.json | 5 --- ...api-change-marketplacereporting-88887.json | 5 --- .../api-change-mediapackagev2-44652.json | 5 --- .../api-change-quicksight-31312.json | 5 --- CHANGELOG.rst | 12 ++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 13 files changed, 53 insertions(+), 39 deletions(-) create mode 100644 .changes/1.34.33.json delete mode 100644 .changes/next-release/api-change-codepipeline-85685.json delete mode 100644 .changes/next-release/api-change-connect-30317.json delete mode 100644 .changes/next-release/api-change-ec2-71237.json delete mode 100644 .changes/next-release/api-change-iot-20288.json delete mode 100644 .changes/next-release/api-change-marketplacereporting-88887.json delete mode 100644 .changes/next-release/api-change-mediapackagev2-44652.json delete mode 100644 .changes/next-release/api-change-quicksight-31312.json diff --git a/.changes/1.34.33.json b/.changes/1.34.33.json new file mode 100644 index 000000000000..8eddc8abe88a --- /dev/null +++ b/.changes/1.34.33.json @@ -0,0 +1,37 @@ +[ + { + "category": "``codepipeline``", + "description": "AWS CodePipeline introduces Commands action that enables you to easily run shell commands as part of your pipeline execution.", + "type": "api-change" + }, + { + "category": "``connect``", + "description": "Public GetMetricDataV2 Grouping increase from 3 to 4", + "type": "api-change" + }, + { + "category": "``ec2``", + "description": "This release includes a new API for modifying instance cpu-options after launch.", + "type": "api-change" + }, + { + "category": "``iot``", + "description": "This release adds support for Custom Authentication with X.509 Client Certificates, support for Custom Client Certificate validation, and support for selecting application protocol and authentication type without requiring TLS ALPN for customer's AWS IoT Domain Configurations.", + "type": "api-change" + }, + { + "category": "``marketplace-reporting``", + "description": "The AWS Marketplace Reporting service introduces the GetBuyerDashboard API. This API returns a dashboard that provides visibility into your organization's AWS Marketplace agreements and associated spend across the AWS accounts in your organization.", + "type": "api-change" + }, + { + "category": "``mediapackagev2``", + "description": "Added support for ClipStartTime on the FilterConfiguration object on OriginEndpoint manifest settings objects. Added support for EXT-X-START tags on produced HLS child playlists.", + "type": "api-change" + }, + { + "category": "``quicksight``", + "description": "QuickSight: Add support for exporting and importing folders in AssetBundle APIs", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-codepipeline-85685.json b/.changes/next-release/api-change-codepipeline-85685.json deleted file mode 100644 index 0d3529345be5..000000000000 --- a/.changes/next-release/api-change-codepipeline-85685.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``codepipeline``", - "description": "AWS CodePipeline introduces Commands action that enables you to easily run shell commands as part of your pipeline execution." -} diff --git a/.changes/next-release/api-change-connect-30317.json b/.changes/next-release/api-change-connect-30317.json deleted file mode 100644 index 61c56ad89cf5..000000000000 --- a/.changes/next-release/api-change-connect-30317.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``connect``", - "description": "Public GetMetricDataV2 Grouping increase from 3 to 4" -} diff --git a/.changes/next-release/api-change-ec2-71237.json b/.changes/next-release/api-change-ec2-71237.json deleted file mode 100644 index 420745721700..000000000000 --- a/.changes/next-release/api-change-ec2-71237.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ec2``", - "description": "This release includes a new API for modifying instance cpu-options after launch." -} diff --git a/.changes/next-release/api-change-iot-20288.json b/.changes/next-release/api-change-iot-20288.json deleted file mode 100644 index 396726afe329..000000000000 --- a/.changes/next-release/api-change-iot-20288.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``iot``", - "description": "This release adds support for Custom Authentication with X.509 Client Certificates, support for Custom Client Certificate validation, and support for selecting application protocol and authentication type without requiring TLS ALPN for customer's AWS IoT Domain Configurations." -} diff --git a/.changes/next-release/api-change-marketplacereporting-88887.json b/.changes/next-release/api-change-marketplacereporting-88887.json deleted file mode 100644 index 25904260f5c9..000000000000 --- a/.changes/next-release/api-change-marketplacereporting-88887.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``marketplace-reporting``", - "description": "The AWS Marketplace Reporting service introduces the GetBuyerDashboard API. This API returns a dashboard that provides visibility into your organization's AWS Marketplace agreements and associated spend across the AWS accounts in your organization." -} diff --git a/.changes/next-release/api-change-mediapackagev2-44652.json b/.changes/next-release/api-change-mediapackagev2-44652.json deleted file mode 100644 index 3d11f08e236c..000000000000 --- a/.changes/next-release/api-change-mediapackagev2-44652.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``mediapackagev2``", - "description": "Added support for ClipStartTime on the FilterConfiguration object on OriginEndpoint manifest settings objects. Added support for EXT-X-START tags on produced HLS child playlists." -} diff --git a/.changes/next-release/api-change-quicksight-31312.json b/.changes/next-release/api-change-quicksight-31312.json deleted file mode 100644 index 38772c1f3eee..000000000000 --- a/.changes/next-release/api-change-quicksight-31312.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``quicksight``", - "description": "QuickSight: Add support for exporting and importing folders in AssetBundle APIs" -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 09f51817f0b8..aaa6c732c29f 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,18 @@ CHANGELOG ========= +1.34.33 +======= + +* api-change:``codepipeline``: AWS CodePipeline introduces Commands action that enables you to easily run shell commands as part of your pipeline execution. +* api-change:``connect``: Public GetMetricDataV2 Grouping increase from 3 to 4 +* api-change:``ec2``: This release includes a new API for modifying instance cpu-options after launch. +* api-change:``iot``: This release adds support for Custom Authentication with X.509 Client Certificates, support for Custom Client Certificate validation, and support for selecting application protocol and authentication type without requiring TLS ALPN for customer's AWS IoT Domain Configurations. +* api-change:``marketplace-reporting``: The AWS Marketplace Reporting service introduces the GetBuyerDashboard API. This API returns a dashboard that provides visibility into your organization's AWS Marketplace agreements and associated spend across the AWS accounts in your organization. +* api-change:``mediapackagev2``: Added support for ClipStartTime on the FilterConfiguration object on OriginEndpoint manifest settings objects. Added support for EXT-X-START tags on produced HLS child playlists. +* api-change:``quicksight``: QuickSight: Add support for exporting and importing folders in AssetBundle APIs + + 1.34.32 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 27d989337350..c842ff8f3e8f 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.34.32' +__version__ = '1.34.33' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 19cec5140b10..488036c4b86c 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.34.' # The full version, including alpha/beta/rc tags. -release = '1.34.32' +release = '1.34.33' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 0d215d986df2..220c1c961c8e 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.32 + botocore==1.35.33 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index abc6af17cdc3..1b5ea44ce68a 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.32', + 'botocore==1.35.33', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From cb60175c9514c87d26bf0323819b07d0c5d31c4a Mon Sep 17 00:00:00 2001 From: Ahmed Moustafa <35640105+aemous@users.noreply.github.com> Date: Thu, 3 Oct 2024 16:36:22 -0400 Subject: [PATCH 0233/1087] Flexible checksums for S3 high-level commands (#8955) --- .changes/next-release/feature-s3-95496.json | 5 ++ awscli/customizations/s3/subcommands.py | 37 +++++++- awscli/customizations/s3/utils.py | 13 +++ tests/functional/s3/test_cp_command.py | 81 +++++++++++++++++ tests/functional/s3/test_mv_command.py | 23 +++++ tests/functional/s3/test_sync_command.py | 87 +++++++++++++++++++ .../customizations/s3/test_subcommands.py | 40 +++++++++ tests/unit/customizations/s3/test_utils.py | 50 +++++++++++ 8 files changed, 335 insertions(+), 1 deletion(-) create mode 100644 .changes/next-release/feature-s3-95496.json diff --git a/.changes/next-release/feature-s3-95496.json b/.changes/next-release/feature-s3-95496.json new file mode 100644 index 000000000000..8d1d36b64f23 --- /dev/null +++ b/.changes/next-release/feature-s3-95496.json @@ -0,0 +1,5 @@ +{ + "type": "feature", + "category": "s3", + "description": "Adds ``--checksum-mode`` and ``--checksum-algorithm`` parameters to high-level ``s3`` commands." +} diff --git a/awscli/customizations/s3/subcommands.py b/awscli/customizations/s3/subcommands.py index b045b2380ccc..e5a3f8a4d4fe 100644 --- a/awscli/customizations/s3/subcommands.py +++ b/awscli/customizations/s3/subcommands.py @@ -451,6 +451,17 @@ ) } +CHECKSUM_MODE = { + 'name': 'checksum-mode', 'choices': ['ENABLED'], + 'help_text': 'To retrieve the checksum, this mode must be enabled. If the object has a ' + 'checksum, it will be verified.' +} + +CHECKSUM_ALGORITHM = { + 'name': 'checksum-algorithm', 'choices': ['CRC32', 'SHA256', 'SHA1', 'CRC32C'], + 'help_text': 'Indicates the algorithm used to create the checksum for the object.' +} + TRANSFER_ARGS = [DRYRUN, QUIET, INCLUDE, EXCLUDE, ACL, FOLLOW_SYMLINKS, NO_FOLLOW_SYMLINKS, NO_GUESS_MIME_TYPE, SSE, SSE_C, SSE_C_KEY, SSE_KMS_KEY_ID, SSE_C_COPY_SOURCE, @@ -459,7 +470,7 @@ CONTENT_DISPOSITION, CONTENT_ENCODING, CONTENT_LANGUAGE, EXPIRES, SOURCE_REGION, ONLY_SHOW_ERRORS, NO_PROGRESS, PAGE_SIZE, IGNORE_GLACIER_WARNINGS, FORCE_GLACIER_TRANSFER, - REQUEST_PAYER] + REQUEST_PAYER, CHECKSUM_MODE, CHECKSUM_ALGORITHM] def get_client(session, region, endpoint_url, verify, config=None): @@ -1242,6 +1253,17 @@ def _validate_path_args(self): if self._should_emit_validate_s3_paths_warning(): self._emit_validate_s3_paths_warning() + if params.get('checksum_algorithm'): + self._raise_if_paths_type_incorrect_for_param( + CHECKSUM_ALGORITHM['name'], + params['paths_type'], + ['locals3', 's3s3']) + if params.get('checksum_mode'): + self._raise_if_paths_type_incorrect_for_param( + CHECKSUM_MODE['name'], + params['paths_type'], + ['s3local']) + # If the user provided local path does not exist, hard fail because # we know that we will not be able to upload the file. if 'locals3' == params['paths_type'] and not params['is_stream']: @@ -1325,6 +1347,19 @@ def _raise_if_mv_same_paths(self, src, dest): f"{self.parameters['src']} - {self.parameters['dest']}" ) + def _raise_if_paths_type_incorrect_for_param(self, param, paths_type, allowed_paths): + if paths_type not in allowed_paths: + expected_usage_map = { + 'locals3': ' ', + 's3s3': ' ', + 's3local': ' ', + 's3': '' + } + raise ValueError( + f"Expected {param} parameter to be used with one of following path formats: " + f"{', '.join([expected_usage_map[path] for path in allowed_paths])}. Instead, received {expected_usage_map[paths_type]}." + ) + def _normalize_s3_trailing_slash(self, paths): for i, path in enumerate(paths): if path.startswith('s3://'): diff --git a/awscli/customizations/s3/utils.py b/awscli/customizations/s3/utils.py index 8dda7331c4c0..fab04fc53788 100644 --- a/awscli/customizations/s3/utils.py +++ b/awscli/customizations/s3/utils.py @@ -474,12 +474,14 @@ def map_put_object_params(cls, request_params, cli_params): cls._set_sse_request_params(request_params, cli_params) cls._set_sse_c_request_params(request_params, cli_params) cls._set_request_payer_param(request_params, cli_params) + cls._set_checksum_algorithm_param(request_params, cli_params) @classmethod def map_get_object_params(cls, request_params, cli_params): """Map CLI params to GetObject request params""" cls._set_sse_c_request_params(request_params, cli_params) cls._set_request_payer_param(request_params, cli_params) + cls._set_checksum_mode_param(request_params, cli_params) @classmethod def map_copy_object_params(cls, request_params, cli_params): @@ -492,6 +494,7 @@ def map_copy_object_params(cls, request_params, cli_params): cls._set_sse_c_and_copy_source_request_params( request_params, cli_params) cls._set_request_payer_param(request_params, cli_params) + cls._set_checksum_algorithm_param(request_params, cli_params) @classmethod def map_head_object_params(cls, request_params, cli_params): @@ -534,6 +537,16 @@ def _set_request_payer_param(cls, request_params, cli_params): if cli_params.get('request_payer'): request_params['RequestPayer'] = cli_params['request_payer'] + @classmethod + def _set_checksum_mode_param(cls, request_params, cli_params): + if cli_params.get('checksum_mode'): + request_params['ChecksumMode'] = cli_params['checksum_mode'] + + @classmethod + def _set_checksum_algorithm_param(cls, request_params, cli_params): + if cli_params.get('checksum_algorithm'): + request_params['ChecksumAlgorithm'] = cli_params['checksum_algorithm'] + @classmethod def _set_general_object_params(cls, request_params, cli_params): # Parameters set in this method should be applicable to the following diff --git a/tests/functional/s3/test_cp_command.py b/tests/functional/s3/test_cp_command.py index 441689da3774..adaccb7878aa 100644 --- a/tests/functional/s3/test_cp_command.py +++ b/tests/functional/s3/test_cp_command.py @@ -693,6 +693,87 @@ def test_cp_with_error_and_warning_permissions(self): self.assertIn('upload failed', stderr) self.assertIn('warning: File has an invalid timestamp.', stderr) + def test_upload_with_checksum_algorithm_crc32(self): + full_path = self.files.create_file('foo.txt', 'contents') + cmdline = f'{self.prefix} {full_path} s3://bucket/key.txt --checksum-algorithm CRC32' + self.run_cmd(cmdline, expected_rc=0) + self.assertEqual(self.operations_called[0][0].name, 'PutObject') + self.assertEqual(self.operations_called[0][1]['ChecksumAlgorithm'], 'CRC32') + + @requires_crt + def test_upload_with_checksum_algorithm_crc32c(self): + full_path = self.files.create_file('foo.txt', 'contents') + cmdline = f'{self.prefix} {full_path} s3://bucket/key.txt --checksum-algorithm CRC32C' + self.run_cmd(cmdline, expected_rc=0) + self.assertEqual(self.operations_called[0][0].name, 'PutObject') + self.assertEqual(self.operations_called[0][1]['ChecksumAlgorithm'], 'CRC32C') + + def test_multipart_upload_with_checksum_algorithm_crc32(self): + full_path = self.files.create_file('foo.txt', 'a' * 10 * (1024 ** 2)) + self.parsed_responses = [ + {'UploadId': 'foo'}, + {'ETag': 'foo-e1', 'ChecksumCRC32': 'foo-1'}, + {'ETag': 'foo-e2', 'ChecksumCRC32': 'foo-2'}, + {} + ] + cmdline = ('%s %s s3://bucket/key2.txt' + ' --checksum-algorithm CRC32' % (self.prefix, full_path)) + self.run_cmd(cmdline, expected_rc=0) + self.assertEqual(len(self.operations_called), 4, self.operations_called) + self.assertEqual(self.operations_called[0][0].name, 'CreateMultipartUpload') + self.assertEqual(self.operations_called[0][1]['ChecksumAlgorithm'], 'CRC32') + self.assertEqual(self.operations_called[1][0].name, 'UploadPart') + self.assertEqual(self.operations_called[1][1]['ChecksumAlgorithm'], 'CRC32') + self.assertEqual(self.operations_called[3][0].name, 'CompleteMultipartUpload') + self.assertIn({'ETag': 'foo-e1', 'ChecksumCRC32': 'foo-1', 'PartNumber': 1}, + self.operations_called[3][1]['MultipartUpload']['Parts']) + self.assertIn({'ETag': 'foo-e2', 'ChecksumCRC32': 'foo-2', 'PartNumber': 2}, + self.operations_called[3][1]['MultipartUpload']['Parts']) + + def test_copy_with_checksum_algorithm_crc32(self): + self.parsed_responses = [ + self.head_object_response(), + # Mocked CopyObject response with a CRC32 checksum specified + { + 'ETag': 'foo-1', + 'ChecksumCRC32': 'Tq0H4g==' + } + ] + cmdline = f'{self.prefix} s3://bucket1/key.txt s3://bucket2/key.txt --checksum-algorithm CRC32' + self.run_cmd(cmdline, expected_rc=0) + self.assertEqual(self.operations_called[1][0].name, 'CopyObject') + self.assertEqual(self.operations_called[1][1]['ChecksumAlgorithm'], 'CRC32') + + def test_download_with_checksum_mode_crc32(self): + self.parsed_responses = [ + self.head_object_response(), + # Mocked GetObject response with a checksum algorithm specified + { + 'ETag': 'foo-1', + 'ChecksumCRC32': 'Tq0H4g==', + 'Body': BytesIO(b'foo') + } + ] + cmdline = f'{self.prefix} s3://bucket/foo {self.files.rootdir} --checksum-mode ENABLED' + self.run_cmd(cmdline, expected_rc=0) + self.assertEqual(self.operations_called[1][0].name, 'GetObject') + self.assertEqual(self.operations_called[1][1]['ChecksumMode'], 'ENABLED') + + def test_download_with_checksum_mode_crc32c(self): + self.parsed_responses = [ + self.head_object_response(), + # Mocked GetObject response with a checksum algorithm specified + { + 'ETag': 'foo-1', + 'ChecksumCRC32C': 'checksum', + 'Body': BytesIO(b'foo') + } + ] + cmdline = f'{self.prefix} s3://bucket/foo {self.files.rootdir} --checksum-mode ENABLED' + self.run_cmd(cmdline, expected_rc=0) + self.assertEqual(self.operations_called[1][0].name, 'GetObject') + self.assertEqual(self.operations_called[1][1]['ChecksumMode'], 'ENABLED') + class TestStreamingCPCommand(BaseAWSCommandParamsTest): def test_streaming_upload(self): diff --git a/tests/functional/s3/test_mv_command.py b/tests/functional/s3/test_mv_command.py index da8637dff8b3..bb673c6f123f 100644 --- a/tests/functional/s3/test_mv_command.py +++ b/tests/functional/s3/test_mv_command.py @@ -132,6 +132,29 @@ def test_copy_move_with_request_payer(self): ] ) + def test_upload_with_checksum_algorithm_crc32(self): + full_path = self.files.create_file('foo.txt', 'contents') + cmdline = f'{self.prefix} {full_path} s3://bucket/key.txt --checksum-algorithm CRC32' + self.run_cmd(cmdline, expected_rc=0) + self.assertEqual(self.operations_called[0][0].name, 'PutObject') + self.assertEqual(self.operations_called[0][1]['ChecksumAlgorithm'], 'CRC32') + + def test_download_with_checksum_mode_crc32(self): + self.parsed_responses = [ + self.head_object_response(), + # Mocked GetObject response with a checksum algorithm specified + { + 'ETag': 'foo-1', + 'ChecksumCRC32': 'checksum', + 'Body': BytesIO(b'foo') + }, + self.delete_object_response() + ] + cmdline = f'{self.prefix} s3://bucket/foo {self.files.rootdir} --checksum-mode ENABLED' + self.run_cmd(cmdline, expected_rc=0) + self.assertEqual(self.operations_called[1][0].name, 'GetObject') + self.assertEqual(self.operations_called[1][1]['ChecksumMode'], 'ENABLED') + class TestMvCommandWithValidateSameS3Paths(BaseS3TransferCommandTest): diff --git a/tests/functional/s3/test_sync_command.py b/tests/functional/s3/test_sync_command.py index 2e94f30986d2..b3978edcf426 100644 --- a/tests/functional/s3/test_sync_command.py +++ b/tests/functional/s3/test_sync_command.py @@ -288,6 +288,93 @@ def test_with_accesspoint_arn(self): ] ) + def test_upload_with_checksum_algorithm_sha1(self): + self.files.create_file('foo.txt', 'contents') + cmdline = f'{self.prefix} {self.files.rootdir} s3://bucket/ --checksum-algorithm SHA1' + self.run_cmd(cmdline, expected_rc=0) + self.assertEqual(self.operations_called[1][0].name, 'PutObject') + self.assertEqual(self.operations_called[1][1]['ChecksumAlgorithm'], 'SHA1') + + def test_copy_with_checksum_algorithm_update_sha1(self): + cmdline = f'{self.prefix} s3://src-bucket/ s3://dest-bucket/ --checksum-algorithm SHA1' + self.parsed_responses = [ + # Response for ListObjects on source bucket + { + 'Contents': [ + { + 'Key': 'mykey', + 'LastModified': '00:00:00Z', + 'Size': 100, + 'ChecksumAlgorithm': 'SHA1' + } + ], + 'CommonPrefixes': [] + }, + # Response for ListObjects on destination bucket + self.list_objects_response([]), + # Response for CopyObject + { + 'ChecksumSHA1': 'sha1-checksum' + } + ] + self.run_cmd(cmdline, expected_rc=0) + self.assert_operations_called( + [ + self.list_objects_request('src-bucket'), + self.list_objects_request('dest-bucket'), + ( + 'CopyObject', { + 'CopySource': { + 'Bucket': 'src-bucket', + 'Key': 'mykey' + }, + 'Bucket': 'dest-bucket', + 'Key': 'mykey', + 'ChecksumAlgorithm': 'SHA1' + } + ) + ] + ) + + def test_upload_with_checksum_algorithm_sha256(self): + self.files.create_file('foo.txt', 'contents') + cmdline = f'{self.prefix} {self.files.rootdir} s3://bucket/ --checksum-algorithm SHA256' + self.run_cmd(cmdline, expected_rc=0) + self.assertEqual(self.operations_called[1][0].name, 'PutObject') + self.assertEqual(self.operations_called[1][1]['ChecksumAlgorithm'], 'SHA256') + + def test_download_with_checksum_mode_sha1(self): + self.parsed_responses = [ + self.list_objects_response(['bucket']), + # Mocked GetObject response with a checksum algorithm specified + { + 'ETag': 'foo-1', + 'ChecksumSHA1': 'checksum', + 'Body': BytesIO(b'foo') + } + ] + cmdline = f'{self.prefix} s3://bucket/foo {self.files.rootdir} --checksum-mode ENABLED' + self.run_cmd(cmdline, expected_rc=0) + self.assertEqual(self.operations_called[0][0].name, 'ListObjectsV2') + self.assertEqual(self.operations_called[1][0].name, 'GetObject') + self.assertIn(('ChecksumMode', 'ENABLED'), self.operations_called[1][1].items()) + + def test_download_with_checksum_mode_sha256(self): + self.parsed_responses = [ + self.list_objects_response(['bucket']), + # Mocked GetObject response with a checksum algorithm specified + { + 'ETag': 'foo-1', + 'ChecksumSHA256': 'checksum', + 'Body': BytesIO(b'foo') + } + ] + cmdline = f'{self.prefix} s3://bucket/foo {self.files.rootdir} --checksum-mode ENABLED' + self.run_cmd(cmdline, expected_rc=0) + self.assertEqual(self.operations_called[0][0].name, 'ListObjectsV2') + self.assertEqual(self.operations_called[1][0].name, 'GetObject') + self.assertIn(('ChecksumMode', 'ENABLED'), self.operations_called[1][1].items()) + class TestSyncCommandWithS3Express(BaseS3TransferCommandTest): diff --git a/tests/unit/customizations/s3/test_subcommands.py b/tests/unit/customizations/s3/test_subcommands.py index f68f3cc642bd..53016bbdb04c 100644 --- a/tests/unit/customizations/s3/test_subcommands.py +++ b/tests/unit/customizations/s3/test_subcommands.py @@ -649,6 +649,46 @@ def test_validate_no_streaming_paths(self): cmd_params.add_paths(paths) self.assertFalse(cmd_params.parameters['is_stream']) + def test_validate_checksum_algorithm_download_error(self): + paths = ['s3://bucket/key', self.file_creator.rootdir] + parameters = {'checksum_algorithm': 'CRC32'} + cmd_params = CommandParameters('cp', parameters, '') + with self.assertRaises(ValueError) as cm: + cmd_params.add_paths(paths) + self.assertIn('Expected checksum-algorithm parameter to be used with one of following path formats', cm.msg) + + def test_validate_checksum_algorithm_sync_download_error(self): + paths = ['s3://bucket/key', self.file_creator.rootdir] + parameters = {'checksum_algorithm': 'CRC32C'} + cmd_params = CommandParameters('sync', parameters, '') + with self.assertRaises(ValueError) as cm: + cmd_params.add_paths(paths) + self.assertIn('Expected checksum-algorithm parameter to be used with one of following path formats', cm.msg) + + def test_validate_checksum_mode_upload_error(self): + paths = [self.file_creator.rootdir, 's3://bucket/key'] + parameters = {'checksum_mode': 'ENABLED'} + cmd_params = CommandParameters('cp', parameters, '') + with self.assertRaises(ValueError) as cm: + cmd_params.add_paths(paths) + self.assertIn('Expected checksum-mode parameter to be used with one of following path formats', cm.msg) + + def test_validate_checksum_mode_sync_upload_error(self): + paths = [self.file_creator.rootdir, 's3://bucket/key'] + parameters = {'checksum_mode': 'ENABLED'} + cmd_params = CommandParameters('sync', parameters, '') + with self.assertRaises(ValueError) as cm: + cmd_params.add_paths(paths) + self.assertIn('Expected checksum-mode parameter to be used with one of following path formats', cm.msg) + + def test_validate_checksum_mode_move_error(self): + paths = ['s3://bucket/key', 's3://bucket2/key'] + parameters = {'checksum_mode': 'ENABLED'} + cmd_params = CommandParameters('mv', parameters, '') + with self.assertRaises(ValueError) as cm: + cmd_params.add_paths(paths) + self.assertIn('Expected checksum-mode parameter to be used with one of following path formats', cm.msg) + def test_validate_streaming_paths_error(self): parameters = {'src': '-', 'dest': 's3://bucket'} cmd_params = CommandParameters('sync', parameters, '') diff --git a/tests/unit/customizations/s3/test_utils.py b/tests/unit/customizations/s3/test_utils.py index 0256677f08b2..910145383e9b 100644 --- a/tests/unit/customizations/s3/test_utils.py +++ b/tests/unit/customizations/s3/test_utils.py @@ -665,6 +665,56 @@ def test_upload_part_copy(self): 'SSECustomerKey': 'my-sse-c-key'}) +class TestRequestParamsMapperChecksumAlgorithm: + @pytest.fixture + def cli_params(self): + return {'checksum_algorithm': 'CRC32'} + + @pytest.fixture + def cli_params_no_algorithm(self): + return {} + + def test_put_object(self, cli_params): + request_params = {} + RequestParamsMapper.map_put_object_params(request_params, cli_params) + assert request_params == {'ChecksumAlgorithm': 'CRC32'} + + def test_put_object_no_checksum(self, cli_params_no_algorithm): + request_params = {} + RequestParamsMapper.map_put_object_params(request_params, cli_params_no_algorithm) + assert 'ChecksumAlgorithm' not in request_params + + def test_copy_object(self, cli_params): + request_params = {} + RequestParamsMapper.map_copy_object_params(request_params, cli_params) + assert request_params == {'ChecksumAlgorithm': 'CRC32'} + + def test_copy_object_no_checksum(self, cli_params_no_algorithm): + request_params = {} + RequestParamsMapper.map_put_object_params(request_params, cli_params_no_algorithm) + assert 'ChecksumAlgorithm' not in request_params + + +class TestRequestParamsMapperChecksumMode: + @pytest.fixture + def cli_params(self): + return {'checksum_mode': 'ENABLED'} + + @pytest.fixture + def cli_params_no_checksum(self): + return {} + + def test_get_object(self, cli_params): + request_params = {} + RequestParamsMapper.map_get_object_params(request_params, cli_params) + assert request_params == {'ChecksumMode': 'ENABLED'} + + def test_get_object_no_checksums(self, cli_params_no_checksum): + request_params = {} + RequestParamsMapper.map_get_object_params(request_params, cli_params_no_checksum) + assert 'ChecksumMode' not in request_params + + class TestRequestParamsMapperRequestPayer(unittest.TestCase): def setUp(self): self.cli_params = {'request_payer': 'requester'} From fb0dd477f6cef165c27c2fe4f9ccdf2de7c2677d Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 4 Oct 2024 18:06:22 +0000 Subject: [PATCH 0234/1087] Update changelog based on model updates --- .changes/next-release/api-change-ec2-5543.json | 5 +++++ .changes/next-release/api-change-iotdata-25172.json | 5 +++++ 2 files changed, 10 insertions(+) create mode 100644 .changes/next-release/api-change-ec2-5543.json create mode 100644 .changes/next-release/api-change-iotdata-25172.json diff --git a/.changes/next-release/api-change-ec2-5543.json b/.changes/next-release/api-change-ec2-5543.json new file mode 100644 index 000000000000..dcb7ae606ac6 --- /dev/null +++ b/.changes/next-release/api-change-ec2-5543.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ec2``", + "description": "Documentation updates for Amazon EC2." +} diff --git a/.changes/next-release/api-change-iotdata-25172.json b/.changes/next-release/api-change-iotdata-25172.json new file mode 100644 index 000000000000..5726d8b68bcf --- /dev/null +++ b/.changes/next-release/api-change-iotdata-25172.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``iot-data``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." +} From c24374f8cac60420bfa76598bc918dbdf0f4668c Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 4 Oct 2024 18:07:47 +0000 Subject: [PATCH 0235/1087] Bumping version to 1.35.0 --- .changes/1.35.0.json | 17 +++++++++++++++++ .changes/next-release/api-change-ec2-5543.json | 5 ----- .../next-release/api-change-iotdata-25172.json | 5 ----- .changes/next-release/feature-s3-95496.json | 5 ----- CHANGELOG.rst | 8 ++++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 4 ++-- setup.cfg | 2 +- setup.py | 2 +- 9 files changed, 30 insertions(+), 20 deletions(-) create mode 100644 .changes/1.35.0.json delete mode 100644 .changes/next-release/api-change-ec2-5543.json delete mode 100644 .changes/next-release/api-change-iotdata-25172.json delete mode 100644 .changes/next-release/feature-s3-95496.json diff --git a/.changes/1.35.0.json b/.changes/1.35.0.json new file mode 100644 index 000000000000..7d44da228401 --- /dev/null +++ b/.changes/1.35.0.json @@ -0,0 +1,17 @@ +[ + { + "category": "``ec2``", + "description": "Documentation updates for Amazon EC2.", + "type": "api-change" + }, + { + "category": "``iot-data``", + "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing.", + "type": "api-change" + }, + { + "category": "s3", + "description": "Adds ``--checksum-mode`` and ``--checksum-algorithm`` parameters to high-level ``s3`` commands.", + "type": "feature" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-ec2-5543.json b/.changes/next-release/api-change-ec2-5543.json deleted file mode 100644 index dcb7ae606ac6..000000000000 --- a/.changes/next-release/api-change-ec2-5543.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ec2``", - "description": "Documentation updates for Amazon EC2." -} diff --git a/.changes/next-release/api-change-iotdata-25172.json b/.changes/next-release/api-change-iotdata-25172.json deleted file mode 100644 index 5726d8b68bcf..000000000000 --- a/.changes/next-release/api-change-iotdata-25172.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``iot-data``", - "description": "Add v2 smoke tests and smithy smokeTests trait for SDK testing." -} diff --git a/.changes/next-release/feature-s3-95496.json b/.changes/next-release/feature-s3-95496.json deleted file mode 100644 index 8d1d36b64f23..000000000000 --- a/.changes/next-release/feature-s3-95496.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "feature", - "category": "s3", - "description": "Adds ``--checksum-mode`` and ``--checksum-algorithm`` parameters to high-level ``s3`` commands." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index aaa6c732c29f..a6ede38ef2c8 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,14 @@ CHANGELOG ========= +1.35.0 +====== + +* api-change:``ec2``: Documentation updates for Amazon EC2. +* api-change:``iot-data``: Add v2 smoke tests and smithy smokeTests trait for SDK testing. +* feature:s3: Adds ``--checksum-mode`` and ``--checksum-algorithm`` parameters to high-level ``s3`` commands. + + 1.34.33 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index c842ff8f3e8f..b7f81b9d689a 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.34.33' +__version__ = '1.35.0' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 488036c4b86c..d4a73cb5fcb8 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -50,9 +50,9 @@ # built documents. # # The short X.Y version. -version = '1.34.' +version = '1.35' # The full version, including alpha/beta/rc tags. -release = '1.34.33' +release = '1.35.0' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 220c1c961c8e..e270545f2f4c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.33 + botocore==1.35.34 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 1b5ea44ce68a..a7d333c0ca4f 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.33', + 'botocore==1.35.34', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From b24ce170d78c4c65ea8cac77a352b7412de75807 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 7 Oct 2024 18:11:22 +0000 Subject: [PATCH 0236/1087] Update changelog based on model updates --- .changes/next-release/api-change-deadline-87332.json | 5 +++++ .../next-release/api-change-marketplacereporting-30564.json | 5 +++++ .changes/next-release/api-change-qconnect-97966.json | 5 +++++ .changes/next-release/api-change-redshift-51793.json | 5 +++++ 4 files changed, 20 insertions(+) create mode 100644 .changes/next-release/api-change-deadline-87332.json create mode 100644 .changes/next-release/api-change-marketplacereporting-30564.json create mode 100644 .changes/next-release/api-change-qconnect-97966.json create mode 100644 .changes/next-release/api-change-redshift-51793.json diff --git a/.changes/next-release/api-change-deadline-87332.json b/.changes/next-release/api-change-deadline-87332.json new file mode 100644 index 000000000000..8f51ea2f06d1 --- /dev/null +++ b/.changes/next-release/api-change-deadline-87332.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``deadline``", + "description": "Add support for using the template from a previous job during job creation and listing parameter definitions for a job." +} diff --git a/.changes/next-release/api-change-marketplacereporting-30564.json b/.changes/next-release/api-change-marketplacereporting-30564.json new file mode 100644 index 000000000000..034ebcc0f08e --- /dev/null +++ b/.changes/next-release/api-change-marketplacereporting-30564.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``marketplace-reporting``", + "description": "Documentation-only update for AWS Marketplace Reporting API." +} diff --git a/.changes/next-release/api-change-qconnect-97966.json b/.changes/next-release/api-change-qconnect-97966.json new file mode 100644 index 000000000000..46a44da72169 --- /dev/null +++ b/.changes/next-release/api-change-qconnect-97966.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``qconnect``", + "description": "This release adds support for the following capabilities: Configuration of the Gen AI system via AIAgent and AIPrompts. Integration support for Bedrock Knowledge Base." +} diff --git a/.changes/next-release/api-change-redshift-51793.json b/.changes/next-release/api-change-redshift-51793.json new file mode 100644 index 000000000000..50924b3fc4c4 --- /dev/null +++ b/.changes/next-release/api-change-redshift-51793.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``redshift``", + "description": "Add validation pattern to S3KeyPrefix on the EnableLogging API" +} From 342d2650daee12dd9c50e8b11ca3bbb7976e34ef Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 7 Oct 2024 18:12:46 +0000 Subject: [PATCH 0237/1087] Bumping version to 1.35.1 --- .changes/1.35.1.json | 22 +++++++++++++++++++ .../api-change-deadline-87332.json | 5 ----- ...api-change-marketplacereporting-30564.json | 5 ----- .../api-change-qconnect-97966.json | 5 ----- .../api-change-redshift-51793.json | 5 ----- CHANGELOG.rst | 9 ++++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 10 files changed, 35 insertions(+), 24 deletions(-) create mode 100644 .changes/1.35.1.json delete mode 100644 .changes/next-release/api-change-deadline-87332.json delete mode 100644 .changes/next-release/api-change-marketplacereporting-30564.json delete mode 100644 .changes/next-release/api-change-qconnect-97966.json delete mode 100644 .changes/next-release/api-change-redshift-51793.json diff --git a/.changes/1.35.1.json b/.changes/1.35.1.json new file mode 100644 index 000000000000..a21f8e18cac0 --- /dev/null +++ b/.changes/1.35.1.json @@ -0,0 +1,22 @@ +[ + { + "category": "``deadline``", + "description": "Add support for using the template from a previous job during job creation and listing parameter definitions for a job.", + "type": "api-change" + }, + { + "category": "``marketplace-reporting``", + "description": "Documentation-only update for AWS Marketplace Reporting API.", + "type": "api-change" + }, + { + "category": "``qconnect``", + "description": "This release adds support for the following capabilities: Configuration of the Gen AI system via AIAgent and AIPrompts. Integration support for Bedrock Knowledge Base.", + "type": "api-change" + }, + { + "category": "``redshift``", + "description": "Add validation pattern to S3KeyPrefix on the EnableLogging API", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-deadline-87332.json b/.changes/next-release/api-change-deadline-87332.json deleted file mode 100644 index 8f51ea2f06d1..000000000000 --- a/.changes/next-release/api-change-deadline-87332.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``deadline``", - "description": "Add support for using the template from a previous job during job creation and listing parameter definitions for a job." -} diff --git a/.changes/next-release/api-change-marketplacereporting-30564.json b/.changes/next-release/api-change-marketplacereporting-30564.json deleted file mode 100644 index 034ebcc0f08e..000000000000 --- a/.changes/next-release/api-change-marketplacereporting-30564.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``marketplace-reporting``", - "description": "Documentation-only update for AWS Marketplace Reporting API." -} diff --git a/.changes/next-release/api-change-qconnect-97966.json b/.changes/next-release/api-change-qconnect-97966.json deleted file mode 100644 index 46a44da72169..000000000000 --- a/.changes/next-release/api-change-qconnect-97966.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``qconnect``", - "description": "This release adds support for the following capabilities: Configuration of the Gen AI system via AIAgent and AIPrompts. Integration support for Bedrock Knowledge Base." -} diff --git a/.changes/next-release/api-change-redshift-51793.json b/.changes/next-release/api-change-redshift-51793.json deleted file mode 100644 index 50924b3fc4c4..000000000000 --- a/.changes/next-release/api-change-redshift-51793.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``redshift``", - "description": "Add validation pattern to S3KeyPrefix on the EnableLogging API" -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index a6ede38ef2c8..db190fbf0629 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,15 @@ CHANGELOG ========= +1.35.1 +====== + +* api-change:``deadline``: Add support for using the template from a previous job during job creation and listing parameter definitions for a job. +* api-change:``marketplace-reporting``: Documentation-only update for AWS Marketplace Reporting API. +* api-change:``qconnect``: This release adds support for the following capabilities: Configuration of the Gen AI system via AIAgent and AIPrompts. Integration support for Bedrock Knowledge Base. +* api-change:``redshift``: Add validation pattern to S3KeyPrefix on the EnableLogging API + + 1.35.0 ====== diff --git a/awscli/__init__.py b/awscli/__init__.py index b7f81b9d689a..badeb2a4e5bd 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.35.0' +__version__ = '1.35.1' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index d4a73cb5fcb8..66c7362d3016 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.35' # The full version, including alpha/beta/rc tags. -release = '1.35.0' +release = '1.35.1' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index e270545f2f4c..fbd1d4c548cd 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.34 + botocore==1.35.35 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index a7d333c0ca4f..839253e8b0c5 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.34', + 'botocore==1.35.35', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 21839c784f2f35818665105f3db59b7003e85522 Mon Sep 17 00:00:00 2001 From: Ahmed Moustafa <35640105+aemous@users.noreply.github.com> Date: Mon, 7 Oct 2024 16:35:55 -0400 Subject: [PATCH 0238/1087] S3 Expires timestamp deprecation (#8956) --- .../next-release/enhancement-s3-92930.json | 5 ++++ awscli/bcdoc/restdoc.py | 17 +++++++++++ awscli/customizations/s3events.py | 30 +++++++++++++++++++ awscli/handlers.py | 3 +- tests/unit/bcdoc/test_document.py | 27 +++++++++++++++++ 5 files changed, 81 insertions(+), 1 deletion(-) create mode 100644 .changes/next-release/enhancement-s3-92930.json diff --git a/.changes/next-release/enhancement-s3-92930.json b/.changes/next-release/enhancement-s3-92930.json new file mode 100644 index 000000000000..5fc2e636ecd0 --- /dev/null +++ b/.changes/next-release/enhancement-s3-92930.json @@ -0,0 +1,5 @@ +{ + "type": "enhancement", + "category": "``s3``", + "description": "Adds logic to gracefully handle invalid timestamps returned in the Expires header." +} diff --git a/awscli/bcdoc/restdoc.py b/awscli/bcdoc/restdoc.py index cdb6be14dcbc..d194d0e9f0ac 100644 --- a/awscli/bcdoc/restdoc.py +++ b/awscli/bcdoc/restdoc.py @@ -67,6 +67,23 @@ def push_write(self, s): """ self._writes.append(s) + def find_last_write(self, content): + """ + Returns the index of the last occurrence of the content argument + in the stack, or returns None if content is not on the stack. + """ + try: + return len(self._writes) - self._writes[::-1].index(content) - 1 + except ValueError: + return None + + def insert_write(self, index, content): + """ + Inserts the content argument to the stack directly before the + supplied index. + """ + self._writes.insert(index, content) + def getvalue(self): """ Returns the current content of the document as a string. diff --git a/awscli/customizations/s3events.py b/awscli/customizations/s3events.py index 5895a7e7c77c..a0522cb31f06 100644 --- a/awscli/customizations/s3events.py +++ b/awscli/customizations/s3events.py @@ -31,6 +31,12 @@ def register_event_stream_arg(event_handlers): ) +def register_document_expires_string(event_handlers): + event_handlers.register_last( + 'doc-output.s3api', + document_expires_string + ) + def add_event_stream_output_arg(argument_table, operation_model, session, **kwargs): argument_table['outfile'] = S3SelectStreamOutputArgument( @@ -56,6 +62,30 @@ def replace_event_stream_docs(help_command, **kwargs): doc.write("This command generates no output. The selected " "object content is written to the specified outfile.\n") +def document_expires_string(help_command, **kwargs): + doc = help_command.doc + expires_field_idx = doc.find_last_write('Expires -> (timestamp)') + + if expires_field_idx is None: + return + + deprecation_note_and_expires_string = [ + f'\n\n\n{" " * doc.style.indentation * doc.style.indent_width}', + '.. note::', + f'\n\n\n{" " * (doc.style.indentation + 1) * doc.style.indent_width}', + 'This member has been deprecated. Please use `ExpiresString` instead.\n', + f'\n\n{" " * doc.style.indentation * doc.style.indent_width}', + f'\n\n{" " * doc.style.indentation * doc.style.indent_width}', + 'ExpiresString -> (string)\n\n', + '\tThe raw, unparsed value of the ``Expires`` field.', + f'\n\n{" " * doc.style.indentation * doc.style.indent_width}' + ] + + for idx, write in enumerate(deprecation_note_and_expires_string): + # We add 4 to the index of the expires field name because each + # field in the output section consists of exactly 4 elements. + doc.insert_write(expires_field_idx + idx + 4, write) + class S3SelectStreamOutputArgument(CustomArgument): _DOCUMENT_AS_REQUIRED = True diff --git a/awscli/handlers.py b/awscli/handlers.py index 9f9ac6f76678..f6c2c13a7801 100644 --- a/awscli/handlers.py +++ b/awscli/handlers.py @@ -105,7 +105,7 @@ from awscli.customizations.route53 import register_create_hosted_zone_doc_fix from awscli.customizations.s3.s3 import s3_plugin_initialize from awscli.customizations.s3errormsg import register_s3_error_msg -from awscli.customizations.s3events import register_event_stream_arg +from awscli.customizations.s3events import register_event_stream_arg, register_document_expires_string from awscli.customizations.sagemaker import ( register_alias_sagemaker_runtime_command, ) @@ -215,6 +215,7 @@ def awscli_initialize(event_handlers): register_history_mode(event_handlers) register_history_commands(event_handlers) register_event_stream_arg(event_handlers) + register_document_expires_string(event_handlers) dlm_initialize(event_handlers) register_ssm_session(event_handlers) register_sms_voice_hide(event_handlers) diff --git a/tests/unit/bcdoc/test_document.py b/tests/unit/bcdoc/test_document.py index d25adc488664..12c376de4683 100644 --- a/tests/unit/bcdoc/test_document.py +++ b/tests/unit/bcdoc/test_document.py @@ -26,6 +26,10 @@ class TestReSTDocument(unittest.TestCase): + def _write_array(self, doc, arr): + for elt in arr: + doc.write(elt) + def test_write(self): doc = ReSTDocument() doc.write('foo') @@ -36,6 +40,29 @@ def test_writeln(self): doc.writeln('foo') self.assertEqual(doc.getvalue(), b'foo\n') + def test_find_last_write(self): + doc = ReSTDocument() + self._write_array(doc, ['a', 'b', 'c', 'd', 'e']) + expected_index = 0 + self.assertEqual(doc.find_last_write('a'), expected_index) + + def test_find_last_write_duplicates(self): + doc = ReSTDocument() + self._write_array(doc, ['a', 'b', 'c', 'a', 'e']) + expected_index = 3 + self.assertEqual(doc.find_last_write('a'), expected_index) + + def test_find_last_write_not_found(self): + doc = ReSTDocument() + self._write_array(doc, ['a', 'b', 'c', 'd', 'e']) + self.assertIsNone(doc.find_last_write('f')) + + def test_insert_write(self): + doc = ReSTDocument() + self._write_array(doc, ['foo', 'bar']) + doc.insert_write(1, 'baz') + self.assertEqual(doc.getvalue(), b'foobazbar') + def test_include_doc_string(self): doc = ReSTDocument() doc.include_doc_string('

this is a test

') From df05d204f02737a41ed8ce6c165d1ef1ae712a13 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 8 Oct 2024 18:05:06 +0000 Subject: [PATCH 0239/1087] Update changelog based on model updates --- .changes/next-release/api-change-elasticache-99773.json | 5 +++++ .changes/next-release/api-change-memorydb-84567.json | 5 +++++ 2 files changed, 10 insertions(+) create mode 100644 .changes/next-release/api-change-elasticache-99773.json create mode 100644 .changes/next-release/api-change-memorydb-84567.json diff --git a/.changes/next-release/api-change-elasticache-99773.json b/.changes/next-release/api-change-elasticache-99773.json new file mode 100644 index 000000000000..0dc9bd709c6b --- /dev/null +++ b/.changes/next-release/api-change-elasticache-99773.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``elasticache``", + "description": "AWS ElastiCache SDK now supports using APIs with newly launched Valkey engine. Please refer to updated AWS ElastiCache public documentation for detailed information on API usage." +} diff --git a/.changes/next-release/api-change-memorydb-84567.json b/.changes/next-release/api-change-memorydb-84567.json new file mode 100644 index 000000000000..557f5fd4d911 --- /dev/null +++ b/.changes/next-release/api-change-memorydb-84567.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``memorydb``", + "description": "Amazon MemoryDB SDK now supports all APIs for newly launched Valkey engine. Please refer to the updated Amazon MemoryDB public documentation for detailed information on API usage." +} From fd8c1260d7df9dd7f94ddfd369667b25cd18aa65 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 8 Oct 2024 18:06:21 +0000 Subject: [PATCH 0240/1087] Bumping version to 1.35.2 --- .changes/1.35.2.json | 17 +++++++++++++++++ .../api-change-elasticache-99773.json | 5 ----- .../next-release/api-change-memorydb-84567.json | 5 ----- .changes/next-release/enhancement-s3-92930.json | 5 ----- CHANGELOG.rst | 8 ++++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 9 files changed, 29 insertions(+), 19 deletions(-) create mode 100644 .changes/1.35.2.json delete mode 100644 .changes/next-release/api-change-elasticache-99773.json delete mode 100644 .changes/next-release/api-change-memorydb-84567.json delete mode 100644 .changes/next-release/enhancement-s3-92930.json diff --git a/.changes/1.35.2.json b/.changes/1.35.2.json new file mode 100644 index 000000000000..672f7eec55d2 --- /dev/null +++ b/.changes/1.35.2.json @@ -0,0 +1,17 @@ +[ + { + "category": "``elasticache``", + "description": "AWS ElastiCache SDK now supports using APIs with newly launched Valkey engine. Please refer to updated AWS ElastiCache public documentation for detailed information on API usage.", + "type": "api-change" + }, + { + "category": "``memorydb``", + "description": "Amazon MemoryDB SDK now supports all APIs for newly launched Valkey engine. Please refer to the updated Amazon MemoryDB public documentation for detailed information on API usage.", + "type": "api-change" + }, + { + "category": "``s3``", + "description": "Adds logic to gracefully handle invalid timestamps returned in the Expires header.", + "type": "enhancement" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-elasticache-99773.json b/.changes/next-release/api-change-elasticache-99773.json deleted file mode 100644 index 0dc9bd709c6b..000000000000 --- a/.changes/next-release/api-change-elasticache-99773.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``elasticache``", - "description": "AWS ElastiCache SDK now supports using APIs with newly launched Valkey engine. Please refer to updated AWS ElastiCache public documentation for detailed information on API usage." -} diff --git a/.changes/next-release/api-change-memorydb-84567.json b/.changes/next-release/api-change-memorydb-84567.json deleted file mode 100644 index 557f5fd4d911..000000000000 --- a/.changes/next-release/api-change-memorydb-84567.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``memorydb``", - "description": "Amazon MemoryDB SDK now supports all APIs for newly launched Valkey engine. Please refer to the updated Amazon MemoryDB public documentation for detailed information on API usage." -} diff --git a/.changes/next-release/enhancement-s3-92930.json b/.changes/next-release/enhancement-s3-92930.json deleted file mode 100644 index 5fc2e636ecd0..000000000000 --- a/.changes/next-release/enhancement-s3-92930.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "enhancement", - "category": "``s3``", - "description": "Adds logic to gracefully handle invalid timestamps returned in the Expires header." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index db190fbf0629..285f82c25a6a 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,14 @@ CHANGELOG ========= +1.35.2 +====== + +* api-change:``elasticache``: AWS ElastiCache SDK now supports using APIs with newly launched Valkey engine. Please refer to updated AWS ElastiCache public documentation for detailed information on API usage. +* api-change:``memorydb``: Amazon MemoryDB SDK now supports all APIs for newly launched Valkey engine. Please refer to the updated Amazon MemoryDB public documentation for detailed information on API usage. +* enhancement:``s3``: Adds logic to gracefully handle invalid timestamps returned in the Expires header. + + 1.35.1 ====== diff --git a/awscli/__init__.py b/awscli/__init__.py index badeb2a4e5bd..7466baa6b09e 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.35.1' +__version__ = '1.35.2' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 66c7362d3016..9ba30502006d 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.35' # The full version, including alpha/beta/rc tags. -release = '1.35.1' +release = '1.35.2' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index fbd1d4c548cd..ce9272deb5f4 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.35 + botocore==1.35.36 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 839253e8b0c5..bd08b4448fae 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.35', + 'botocore==1.35.36', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From a76bf272322e6260e971e04a773c008ab2628152 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 9 Oct 2024 18:09:26 +0000 Subject: [PATCH 0241/1087] Update changelog based on model updates --- .changes/next-release/api-change-codepipeline-73783.json | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changes/next-release/api-change-codepipeline-73783.json diff --git a/.changes/next-release/api-change-codepipeline-73783.json b/.changes/next-release/api-change-codepipeline-73783.json new file mode 100644 index 000000000000..bec12e4657fc --- /dev/null +++ b/.changes/next-release/api-change-codepipeline-73783.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``codepipeline``", + "description": "AWS CodePipeline introduces a Compute category" +} From 0c18dbe6fc20e7f57784acf58241c79e316ab810 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 9 Oct 2024 18:10:54 +0000 Subject: [PATCH 0242/1087] Bumping version to 1.35.3 --- .changes/1.35.3.json | 7 +++++++ .changes/next-release/api-change-codepipeline-73783.json | 5 ----- CHANGELOG.rst | 6 ++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 7 files changed, 17 insertions(+), 9 deletions(-) create mode 100644 .changes/1.35.3.json delete mode 100644 .changes/next-release/api-change-codepipeline-73783.json diff --git a/.changes/1.35.3.json b/.changes/1.35.3.json new file mode 100644 index 000000000000..041b8caf7976 --- /dev/null +++ b/.changes/1.35.3.json @@ -0,0 +1,7 @@ +[ + { + "category": "``codepipeline``", + "description": "AWS CodePipeline introduces a Compute category", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-codepipeline-73783.json b/.changes/next-release/api-change-codepipeline-73783.json deleted file mode 100644 index bec12e4657fc..000000000000 --- a/.changes/next-release/api-change-codepipeline-73783.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``codepipeline``", - "description": "AWS CodePipeline introduces a Compute category" -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 285f82c25a6a..71fe992d68c8 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,12 @@ CHANGELOG ========= +1.35.3 +====== + +* api-change:``codepipeline``: AWS CodePipeline introduces a Compute category + + 1.35.2 ====== diff --git a/awscli/__init__.py b/awscli/__init__.py index 7466baa6b09e..8f3935c17051 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.35.2' +__version__ = '1.35.3' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 9ba30502006d..3e21e4a417bf 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.35' # The full version, including alpha/beta/rc tags. -release = '1.35.2' +release = '1.35.3' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index ce9272deb5f4..5afca20b1481 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.36 + botocore==1.35.37 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index bd08b4448fae..9824249b5a42 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.36', + 'botocore==1.35.37', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 52985a237071b0e42012a6b3858028b62119544f Mon Sep 17 00:00:00 2001 From: Chaitanya Gummadi Date: Wed, 9 Oct 2024 15:31:53 -0500 Subject: [PATCH 0243/1087] Add CLI examples for EventBridge Pipes --- awscli/examples/pipes/create-pipe.rst | 23 ++++++++++++ awscli/examples/pipes/delete-pipe.rst | 19 ++++++++++ awscli/examples/pipes/describe-pipe.rst | 37 +++++++++++++++++++ awscli/examples/pipes/list-pipes.rst | 25 +++++++++++++ .../examples/pipes/list-tags-for-resource.rst | 17 +++++++++ awscli/examples/pipes/start-pipe.rst | 19 ++++++++++ awscli/examples/pipes/stop-pipe.rst | 19 ++++++++++ awscli/examples/pipes/tag-resource.rst | 9 +++++ awscli/examples/pipes/untag-resource.rst | 9 +++++ awscli/examples/pipes/update-pipe.rst | 22 +++++++++++ 10 files changed, 199 insertions(+) create mode 100644 awscli/examples/pipes/create-pipe.rst create mode 100644 awscli/examples/pipes/delete-pipe.rst create mode 100644 awscli/examples/pipes/describe-pipe.rst create mode 100644 awscli/examples/pipes/list-pipes.rst create mode 100644 awscli/examples/pipes/list-tags-for-resource.rst create mode 100644 awscli/examples/pipes/start-pipe.rst create mode 100644 awscli/examples/pipes/stop-pipe.rst create mode 100644 awscli/examples/pipes/tag-resource.rst create mode 100644 awscli/examples/pipes/untag-resource.rst create mode 100644 awscli/examples/pipes/update-pipe.rst diff --git a/awscli/examples/pipes/create-pipe.rst b/awscli/examples/pipes/create-pipe.rst new file mode 100644 index 000000000000..9185c24c6fa3 --- /dev/null +++ b/awscli/examples/pipes/create-pipe.rst @@ -0,0 +1,23 @@ +**To Create a pipe** + +The following ``create-pipe`` example creates a Pipe named ``Demo_Pipe`` with SQS as the source and CloudWatch Log Group as the target for the Pipe. :: + + aws pipes create-pipe \ + --name Demo_Pipe \ + --desired-state RUNNING \ + --role-arn arn:aws:iam::123456789012:role/service-role/Amazon_EventBridge_Pipe_Demo_Pipe_28b3aa4f \ + --source arn:aws:sqs:us-east-1:123456789012:Demo_Queue \ + --target arn:aws:logs:us-east-1:123456789012:log-group:/aws/pipes/Demo_LogGroup + +Output:: + + { + "Arn": "arn:aws:pipes:us-east-1:123456789012:pipe/Demo_Pipe", + "Name": "Demo_Pipe", + "DesiredState": "RUNNING", + "CurrentState": "CREATING", + "CreationTime": "2024-10-08T12:33:59-05:00", + "LastModifiedTime": "2024-10-08T12:33:59.684839-05:00" + } + +For more information, see `Amazon EventBridge Pipes concepts `__ in the *Amazon EventBridge User Guide*. \ No newline at end of file diff --git a/awscli/examples/pipes/delete-pipe.rst b/awscli/examples/pipes/delete-pipe.rst new file mode 100644 index 000000000000..1d33e88ae01a --- /dev/null +++ b/awscli/examples/pipes/delete-pipe.rst @@ -0,0 +1,19 @@ +**To delete an existing pipe** + +The following ``delete-pipe`` example deletes a Pipe named ``Demo_Pipe`` in the specified account. :: + + aws pipes delete-pipe \ + --name Demo_Pipe + +Output:: + + { + "Arn": "arn:aws:pipes:us-east-1:123456789012:pipe/Demo_Pipe", + "Name": "Demo_Pipe", + "DesiredState": "STOPPED", + "CurrentState": "DELETING", + "CreationTime": "2024-10-08T09:29:10-05:00", + "LastModifiedTime": "2024-10-08T11:57:22-05:00" + } + +For more information, see `Amazon EventBridge Pipes concepts `__ in the *Amazon EventBridge User Guide*. \ No newline at end of file diff --git a/awscli/examples/pipes/describe-pipe.rst b/awscli/examples/pipes/describe-pipe.rst new file mode 100644 index 000000000000..41ecb7cd7aa9 --- /dev/null +++ b/awscli/examples/pipes/describe-pipe.rst @@ -0,0 +1,37 @@ +**To retrieve information about a Pipe** + +The following ``describe-pipe`` example displays information about the Pipe ``Demo_Pipe`` in the specified account. :: + + aws pipes describe-pipe \ + --name Demo_Pipe + +Output:: + + { + "Arn": "arn:aws:pipes:us-east-1:123456789012:pipe/Demo_Pipe", + "Name": "Demo_Pipe", + "DesiredState": "RUNNING", + "CurrentState": "RUNNING", + "StateReason": "User initiated", + "Source": "arn:aws:sqs:us-east-1:123456789012:Demo_Queue", + "SourceParameters": { + "SqsQueueParameters": { + "BatchSize": 1 + } + }, + "EnrichmentParameters": {}, + "Target": "arn:aws:logs:us-east-1:123456789012:log-group:/aws/pipes/Demo_LogGroup", + "TargetParameters": {}, + "RoleArn": "arn:aws:iam::123456789012:role/service-role/Amazon_EventBridge_Pipe_Demo_Pipe_28b3aa4f", + "Tags": {}, + "CreationTime": "2024-10-08T09:29:10-05:00", + "LastModifiedTime": "2024-10-08T10:23:47-05:00", + "LogConfiguration": { + "CloudwatchLogsLogDestination": { + "LogGroupArn": "arn:aws:logs:us-east-1:123456789012:log-group:/aws/vendedlogs/pipes/Demo_Pipe" + }, + "Level": "ERROR" + } + } + +For more information, see `Amazon EventBridge Pipes concepts `__ in the *Amazon EventBridge User Guide*. \ No newline at end of file diff --git a/awscli/examples/pipes/list-pipes.rst b/awscli/examples/pipes/list-pipes.rst new file mode 100644 index 000000000000..c44bf99d028e --- /dev/null +++ b/awscli/examples/pipes/list-pipes.rst @@ -0,0 +1,25 @@ +**To retrieve a list of Pipes** + +The following ``list-pipes`` example shows all the pipes in the specified account. :: + + aws pipes list-pipes + +Output:: + + { + "Pipes": [ + { + "Name": "Demo_Pipe", + "Arn": "arn:aws:pipes:us-east-1:123456789012:pipe/Demo_Pipe", + "DesiredState": "RUNNING", + "CurrentState": "RUNNING", + "StateReason": "User initiated", + "CreationTime": "2024-10-08T09:29:10-05:00", + "LastModifiedTime": "2024-10-08T10:23:47-05:00", + "Source": "arn:aws:sqs:us-east-1:123456789012:Demo_Queue", + "Target": "arn:aws:logs:us-east-1:123456789012:log-group:/aws/pipes/Demo_LogGroup" + } + ] + } + +For more information, see `Amazon EventBridge Pipes concepts `__ in the *Amazon EventBridge User Guide*. \ No newline at end of file diff --git a/awscli/examples/pipes/list-tags-for-resource.rst b/awscli/examples/pipes/list-tags-for-resource.rst new file mode 100644 index 000000000000..c3c07fccd3fc --- /dev/null +++ b/awscli/examples/pipes/list-tags-for-resource.rst @@ -0,0 +1,17 @@ +**To list the tags associated with an existing pipe** + +The following ``list-tags-for-resource`` example lists all the tags associated with a pipe named ``Demo_Pipe`` in the specified account. :: + + aws pipes list-tags-for-resource \ + --resource-arn arn:aws:pipes:us-east-1:123456789012:pipe/Demo_Pipe + +Output:: + + { + "tags": { + "stack": "Production", + "team": "DevOps" + } + } + +For more information, see `Amazon EventBridge Pipes concepts `__ in the *Amazon EventBridge User Guide*. \ No newline at end of file diff --git a/awscli/examples/pipes/start-pipe.rst b/awscli/examples/pipes/start-pipe.rst new file mode 100644 index 000000000000..f621e7332772 --- /dev/null +++ b/awscli/examples/pipes/start-pipe.rst @@ -0,0 +1,19 @@ +**To start an existing pipe** + +The following ``start-pipe`` example starts a Pipe named ``Demo_Pipe`` in the specified account. :: + + aws pipes start-pipe \ + --name Demo_Pipe + +Output:: + + { + "Arn": "arn:aws:pipes:us-east-1:123456789012:pipe/Demo_Pipe", + "Name": "Demo_Pipe", + "DesiredState": "RUNNING", + "CurrentState": "STARTING", + "CreationTime": "2024-10-08T09:29:10-05:00", + "LastModifiedTime": "2024-10-08T10:17:24-05:00" + } + +For more information, see `Starting or stopping an Amazon EventBridge pipe `__ in the *Amazon EventBridge User Guide*. \ No newline at end of file diff --git a/awscli/examples/pipes/stop-pipe.rst b/awscli/examples/pipes/stop-pipe.rst new file mode 100644 index 000000000000..5248d8673a01 --- /dev/null +++ b/awscli/examples/pipes/stop-pipe.rst @@ -0,0 +1,19 @@ +**To stop an existing pipe** + +The following ``stop-pipe`` example stops a Pipe named ``Demo_Pipe`` in the specified account. :: + + aws pipes stop-pipe \ + --name Demo_Pipe + +Output:: + + { + "Arn": "arn:aws:pipes:us-east-1:123456789012:pipe/Demo_Pipe", + "Name": "Demo_Pipe", + "DesiredState": "STOPPED", + "CurrentState": "STOPPING", + "CreationTime": "2024-10-08T09:29:10-05:00", + "LastModifiedTime": "2024-10-08T09:29:49-05:00" + } + +For more information, see `Starting or stopping an Amazon EventBridge pipe `__ in the *Amazon EventBridge User Guide*. \ No newline at end of file diff --git a/awscli/examples/pipes/tag-resource.rst b/awscli/examples/pipes/tag-resource.rst new file mode 100644 index 000000000000..c6c7d281ad9f --- /dev/null +++ b/awscli/examples/pipes/tag-resource.rst @@ -0,0 +1,9 @@ +**To Tag an existing pipe** + +The following ``tag-resource`` example tags a Pipe named ``Demo_Pipe``. If the command succeeds, no output is returned. :: + + aws pipes tag-resource \ + --resource-arn arn:aws:pipes:us-east-1:123456789012:pipe/Demo_Pipe \ + --tags stack=Production + +For more information, see `Amazon EventBridge Pipes concepts `__ in the *Amazon EventBridge User Guide*. \ No newline at end of file diff --git a/awscli/examples/pipes/untag-resource.rst b/awscli/examples/pipes/untag-resource.rst new file mode 100644 index 000000000000..3f342430a1c8 --- /dev/null +++ b/awscli/examples/pipes/untag-resource.rst @@ -0,0 +1,9 @@ +**To remove a Tag from an existing pipe** + +The following ``untag-resource`` example removes a tag with the key ``stack`` from the Pipe named ``Demo_Pipe``. If the command succeeds, no output is returned. :: + + aws pipes untag-resource \ + --resource-arn arn:aws:pipes:us-east-1:123456789012:pipe/Demo_Pipe \ + --tags stack + +For more information, see `Amazon EventBridge Pipes concepts `__ in the *Amazon EventBridge User Guide*. \ No newline at end of file diff --git a/awscli/examples/pipes/update-pipe.rst b/awscli/examples/pipes/update-pipe.rst new file mode 100644 index 000000000000..c6d7f4168ce5 --- /dev/null +++ b/awscli/examples/pipes/update-pipe.rst @@ -0,0 +1,22 @@ +**To update an existing pipe** + +The following ``update-pipe`` example updates the Pipe named ``Demo_Pipe`` by adding a CloudWatch Log configuration parameter, enure to update the execution role of the pipe so that it has the correct permissions for Log destination. :: + + aws pipes update-pipe \ + --name Demo_Pipe \ + --desired-state RUNNING \ + --log-configuration CloudwatchLogsLogDestination={LogGroupArn=arn:aws:logs:us-east-1:123456789012:log-group:/aws/vendedlogs/pipes/Demo_Pipe},Level=TRACE \ + --role-arn arn:aws:iam::123456789012:role/service-role/Amazon_EventBridge_Pipe_Demo_Pipe_28b3aa4f + +Output:: + + { + "Arn": "arn:aws:pipes:us-east-1:123456789012:pipe/Demo_Pipe", + "Name": "Demo_Pipe", + "DesiredState": "RUNNING", + "CurrentState": "UPDATING", + "CreationTime": "2024-10-08T09:29:10-05:00", + "LastModifiedTime": "2024-10-08T11:35:48-05:00" + } + +For more information, see `Amazon EventBridge Pipes concepts `__ in the *Amazon EventBridge User Guide*. \ No newline at end of file From 1c4097d21c21fec5effe6cab7da8190a80631431 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 10 Oct 2024 18:07:28 +0000 Subject: [PATCH 0244/1087] Update changelog based on model updates --- .changes/next-release/api-change-acmpca-17700.json | 5 +++++ .changes/next-release/api-change-dms-97491.json | 5 +++++ .changes/next-release/api-change-ec2-93907.json | 5 +++++ .changes/next-release/api-change-ecs-47934.json | 5 +++++ .changes/next-release/api-change-elasticinference-70905.json | 5 +++++ .changes/next-release/api-change-iotfleetwise-36618.json | 5 +++++ .changes/next-release/api-change-neptunegraph-36519.json | 5 +++++ .changes/next-release/api-change-outposts-49336.json | 5 +++++ .changes/next-release/api-change-route53resolver-2506.json | 5 +++++ .changes/next-release/api-change-socialmessaging-84167.json | 5 +++++ .../next-release/api-change-timestreaminfluxdb-77665.json | 5 +++++ 11 files changed, 55 insertions(+) create mode 100644 .changes/next-release/api-change-acmpca-17700.json create mode 100644 .changes/next-release/api-change-dms-97491.json create mode 100644 .changes/next-release/api-change-ec2-93907.json create mode 100644 .changes/next-release/api-change-ecs-47934.json create mode 100644 .changes/next-release/api-change-elasticinference-70905.json create mode 100644 .changes/next-release/api-change-iotfleetwise-36618.json create mode 100644 .changes/next-release/api-change-neptunegraph-36519.json create mode 100644 .changes/next-release/api-change-outposts-49336.json create mode 100644 .changes/next-release/api-change-route53resolver-2506.json create mode 100644 .changes/next-release/api-change-socialmessaging-84167.json create mode 100644 .changes/next-release/api-change-timestreaminfluxdb-77665.json diff --git a/.changes/next-release/api-change-acmpca-17700.json b/.changes/next-release/api-change-acmpca-17700.json new file mode 100644 index 000000000000..9303bf080380 --- /dev/null +++ b/.changes/next-release/api-change-acmpca-17700.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``acm-pca``", + "description": "Documentation updates for AWS Private CA." +} diff --git a/.changes/next-release/api-change-dms-97491.json b/.changes/next-release/api-change-dms-97491.json new file mode 100644 index 000000000000..73b42488be01 --- /dev/null +++ b/.changes/next-release/api-change-dms-97491.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``dms``", + "description": "Introduces DescribeDataMigrations, CreateDataMigration, ModifyDataMigration, DeleteDataMigration, StartDataMigration, StopDataMigration operations to SDK. Provides FailedDependencyFault error message." +} diff --git a/.changes/next-release/api-change-ec2-93907.json b/.changes/next-release/api-change-ec2-93907.json new file mode 100644 index 000000000000..c73f386102ec --- /dev/null +++ b/.changes/next-release/api-change-ec2-93907.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ec2``", + "description": "This release adds support for assigning the billing of shared Amazon EC2 On-Demand Capacity Reservations." +} diff --git a/.changes/next-release/api-change-ecs-47934.json b/.changes/next-release/api-change-ecs-47934.json new file mode 100644 index 000000000000..1d49fd6677d5 --- /dev/null +++ b/.changes/next-release/api-change-ecs-47934.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ecs``", + "description": "This is a documentation only release that updates to documentation to let customers know that Amazon Elastic Inference is no longer available." +} diff --git a/.changes/next-release/api-change-elasticinference-70905.json b/.changes/next-release/api-change-elasticinference-70905.json new file mode 100644 index 000000000000..2fef05a51e54 --- /dev/null +++ b/.changes/next-release/api-change-elasticinference-70905.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``elastic-inference``", + "description": "Elastic Inference - Documentation update to add service shutdown notice." +} diff --git a/.changes/next-release/api-change-iotfleetwise-36618.json b/.changes/next-release/api-change-iotfleetwise-36618.json new file mode 100644 index 000000000000..2f8969c4d8a3 --- /dev/null +++ b/.changes/next-release/api-change-iotfleetwise-36618.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``iotfleetwise``", + "description": "Refine campaign related API validations" +} diff --git a/.changes/next-release/api-change-neptunegraph-36519.json b/.changes/next-release/api-change-neptunegraph-36519.json new file mode 100644 index 000000000000..22ee4b5bca05 --- /dev/null +++ b/.changes/next-release/api-change-neptunegraph-36519.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``neptune-graph``", + "description": "Support for 16 m-NCU graphs available through account allowlisting" +} diff --git a/.changes/next-release/api-change-outposts-49336.json b/.changes/next-release/api-change-outposts-49336.json new file mode 100644 index 000000000000..885650dd1a7a --- /dev/null +++ b/.changes/next-release/api-change-outposts-49336.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``outposts``", + "description": "Adding new \"DELIVERED\" enum value for Outposts Order status" +} diff --git a/.changes/next-release/api-change-route53resolver-2506.json b/.changes/next-release/api-change-route53resolver-2506.json new file mode 100644 index 000000000000..e4bf714e59d7 --- /dev/null +++ b/.changes/next-release/api-change-route53resolver-2506.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``route53resolver``", + "description": "Route 53 Resolver Forwarding Rules can now include a server name indication (SNI) in the target address for rules that use the DNS-over-HTTPS (DoH) protocol. When a DoH-enabled Outbound Resolver Endpoint forwards a request to a DoH server, it will provide the SNI in the TLS handshake." +} diff --git a/.changes/next-release/api-change-socialmessaging-84167.json b/.changes/next-release/api-change-socialmessaging-84167.json new file mode 100644 index 000000000000..8bf987750672 --- /dev/null +++ b/.changes/next-release/api-change-socialmessaging-84167.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``socialmessaging``", + "description": "This release for AWS End User Messaging includes a public SDK, providing a suite of APIs that enable sending WhatsApp messages to end users." +} diff --git a/.changes/next-release/api-change-timestreaminfluxdb-77665.json b/.changes/next-release/api-change-timestreaminfluxdb-77665.json new file mode 100644 index 000000000000..51e68a59e8f8 --- /dev/null +++ b/.changes/next-release/api-change-timestreaminfluxdb-77665.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``timestream-influxdb``", + "description": "This release updates our regex based validation rules in regards to valid DbInstance and DbParameterGroup name." +} From 21005e584255937655227647e5dc8153b6aa1751 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 10 Oct 2024 18:08:56 +0000 Subject: [PATCH 0245/1087] Bumping version to 1.35.4 --- .changes/1.35.4.json | 57 +++++++++++++++++++ .../next-release/api-change-acmpca-17700.json | 5 -- .../next-release/api-change-dms-97491.json | 5 -- .../next-release/api-change-ec2-93907.json | 5 -- .../next-release/api-change-ecs-47934.json | 5 -- .../api-change-elasticinference-70905.json | 5 -- .../api-change-iotfleetwise-36618.json | 5 -- .../api-change-neptunegraph-36519.json | 5 -- .../api-change-outposts-49336.json | 5 -- .../api-change-route53resolver-2506.json | 5 -- .../api-change-socialmessaging-84167.json | 5 -- .../api-change-timestreaminfluxdb-77665.json | 5 -- CHANGELOG.rst | 16 ++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 17 files changed, 77 insertions(+), 59 deletions(-) create mode 100644 .changes/1.35.4.json delete mode 100644 .changes/next-release/api-change-acmpca-17700.json delete mode 100644 .changes/next-release/api-change-dms-97491.json delete mode 100644 .changes/next-release/api-change-ec2-93907.json delete mode 100644 .changes/next-release/api-change-ecs-47934.json delete mode 100644 .changes/next-release/api-change-elasticinference-70905.json delete mode 100644 .changes/next-release/api-change-iotfleetwise-36618.json delete mode 100644 .changes/next-release/api-change-neptunegraph-36519.json delete mode 100644 .changes/next-release/api-change-outposts-49336.json delete mode 100644 .changes/next-release/api-change-route53resolver-2506.json delete mode 100644 .changes/next-release/api-change-socialmessaging-84167.json delete mode 100644 .changes/next-release/api-change-timestreaminfluxdb-77665.json diff --git a/.changes/1.35.4.json b/.changes/1.35.4.json new file mode 100644 index 000000000000..06247d72fee0 --- /dev/null +++ b/.changes/1.35.4.json @@ -0,0 +1,57 @@ +[ + { + "category": "``acm-pca``", + "description": "Documentation updates for AWS Private CA.", + "type": "api-change" + }, + { + "category": "``dms``", + "description": "Introduces DescribeDataMigrations, CreateDataMigration, ModifyDataMigration, DeleteDataMigration, StartDataMigration, StopDataMigration operations to SDK. Provides FailedDependencyFault error message.", + "type": "api-change" + }, + { + "category": "``ec2``", + "description": "This release adds support for assigning the billing of shared Amazon EC2 On-Demand Capacity Reservations.", + "type": "api-change" + }, + { + "category": "``ecs``", + "description": "This is a documentation only release that updates to documentation to let customers know that Amazon Elastic Inference is no longer available.", + "type": "api-change" + }, + { + "category": "``elastic-inference``", + "description": "Elastic Inference - Documentation update to add service shutdown notice.", + "type": "api-change" + }, + { + "category": "``iotfleetwise``", + "description": "Refine campaign related API validations", + "type": "api-change" + }, + { + "category": "``neptune-graph``", + "description": "Support for 16 m-NCU graphs available through account allowlisting", + "type": "api-change" + }, + { + "category": "``outposts``", + "description": "Adding new \"DELIVERED\" enum value for Outposts Order status", + "type": "api-change" + }, + { + "category": "``route53resolver``", + "description": "Route 53 Resolver Forwarding Rules can now include a server name indication (SNI) in the target address for rules that use the DNS-over-HTTPS (DoH) protocol. When a DoH-enabled Outbound Resolver Endpoint forwards a request to a DoH server, it will provide the SNI in the TLS handshake.", + "type": "api-change" + }, + { + "category": "``socialmessaging``", + "description": "This release for AWS End User Messaging includes a public SDK, providing a suite of APIs that enable sending WhatsApp messages to end users.", + "type": "api-change" + }, + { + "category": "``timestream-influxdb``", + "description": "This release updates our regex based validation rules in regards to valid DbInstance and DbParameterGroup name.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-acmpca-17700.json b/.changes/next-release/api-change-acmpca-17700.json deleted file mode 100644 index 9303bf080380..000000000000 --- a/.changes/next-release/api-change-acmpca-17700.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``acm-pca``", - "description": "Documentation updates for AWS Private CA." -} diff --git a/.changes/next-release/api-change-dms-97491.json b/.changes/next-release/api-change-dms-97491.json deleted file mode 100644 index 73b42488be01..000000000000 --- a/.changes/next-release/api-change-dms-97491.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``dms``", - "description": "Introduces DescribeDataMigrations, CreateDataMigration, ModifyDataMigration, DeleteDataMigration, StartDataMigration, StopDataMigration operations to SDK. Provides FailedDependencyFault error message." -} diff --git a/.changes/next-release/api-change-ec2-93907.json b/.changes/next-release/api-change-ec2-93907.json deleted file mode 100644 index c73f386102ec..000000000000 --- a/.changes/next-release/api-change-ec2-93907.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ec2``", - "description": "This release adds support for assigning the billing of shared Amazon EC2 On-Demand Capacity Reservations." -} diff --git a/.changes/next-release/api-change-ecs-47934.json b/.changes/next-release/api-change-ecs-47934.json deleted file mode 100644 index 1d49fd6677d5..000000000000 --- a/.changes/next-release/api-change-ecs-47934.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ecs``", - "description": "This is a documentation only release that updates to documentation to let customers know that Amazon Elastic Inference is no longer available." -} diff --git a/.changes/next-release/api-change-elasticinference-70905.json b/.changes/next-release/api-change-elasticinference-70905.json deleted file mode 100644 index 2fef05a51e54..000000000000 --- a/.changes/next-release/api-change-elasticinference-70905.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``elastic-inference``", - "description": "Elastic Inference - Documentation update to add service shutdown notice." -} diff --git a/.changes/next-release/api-change-iotfleetwise-36618.json b/.changes/next-release/api-change-iotfleetwise-36618.json deleted file mode 100644 index 2f8969c4d8a3..000000000000 --- a/.changes/next-release/api-change-iotfleetwise-36618.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``iotfleetwise``", - "description": "Refine campaign related API validations" -} diff --git a/.changes/next-release/api-change-neptunegraph-36519.json b/.changes/next-release/api-change-neptunegraph-36519.json deleted file mode 100644 index 22ee4b5bca05..000000000000 --- a/.changes/next-release/api-change-neptunegraph-36519.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``neptune-graph``", - "description": "Support for 16 m-NCU graphs available through account allowlisting" -} diff --git a/.changes/next-release/api-change-outposts-49336.json b/.changes/next-release/api-change-outposts-49336.json deleted file mode 100644 index 885650dd1a7a..000000000000 --- a/.changes/next-release/api-change-outposts-49336.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``outposts``", - "description": "Adding new \"DELIVERED\" enum value for Outposts Order status" -} diff --git a/.changes/next-release/api-change-route53resolver-2506.json b/.changes/next-release/api-change-route53resolver-2506.json deleted file mode 100644 index e4bf714e59d7..000000000000 --- a/.changes/next-release/api-change-route53resolver-2506.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``route53resolver``", - "description": "Route 53 Resolver Forwarding Rules can now include a server name indication (SNI) in the target address for rules that use the DNS-over-HTTPS (DoH) protocol. When a DoH-enabled Outbound Resolver Endpoint forwards a request to a DoH server, it will provide the SNI in the TLS handshake." -} diff --git a/.changes/next-release/api-change-socialmessaging-84167.json b/.changes/next-release/api-change-socialmessaging-84167.json deleted file mode 100644 index 8bf987750672..000000000000 --- a/.changes/next-release/api-change-socialmessaging-84167.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``socialmessaging``", - "description": "This release for AWS End User Messaging includes a public SDK, providing a suite of APIs that enable sending WhatsApp messages to end users." -} diff --git a/.changes/next-release/api-change-timestreaminfluxdb-77665.json b/.changes/next-release/api-change-timestreaminfluxdb-77665.json deleted file mode 100644 index 51e68a59e8f8..000000000000 --- a/.changes/next-release/api-change-timestreaminfluxdb-77665.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``timestream-influxdb``", - "description": "This release updates our regex based validation rules in regards to valid DbInstance and DbParameterGroup name." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 71fe992d68c8..b6583b35c35a 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,22 @@ CHANGELOG ========= +1.35.4 +====== + +* api-change:``acm-pca``: Documentation updates for AWS Private CA. +* api-change:``dms``: Introduces DescribeDataMigrations, CreateDataMigration, ModifyDataMigration, DeleteDataMigration, StartDataMigration, StopDataMigration operations to SDK. Provides FailedDependencyFault error message. +* api-change:``ec2``: This release adds support for assigning the billing of shared Amazon EC2 On-Demand Capacity Reservations. +* api-change:``ecs``: This is a documentation only release that updates to documentation to let customers know that Amazon Elastic Inference is no longer available. +* api-change:``elastic-inference``: Elastic Inference - Documentation update to add service shutdown notice. +* api-change:``iotfleetwise``: Refine campaign related API validations +* api-change:``neptune-graph``: Support for 16 m-NCU graphs available through account allowlisting +* api-change:``outposts``: Adding new "DELIVERED" enum value for Outposts Order status +* api-change:``route53resolver``: Route 53 Resolver Forwarding Rules can now include a server name indication (SNI) in the target address for rules that use the DNS-over-HTTPS (DoH) protocol. When a DoH-enabled Outbound Resolver Endpoint forwards a request to a DoH server, it will provide the SNI in the TLS handshake. +* api-change:``socialmessaging``: This release for AWS End User Messaging includes a public SDK, providing a suite of APIs that enable sending WhatsApp messages to end users. +* api-change:``timestream-influxdb``: This release updates our regex based validation rules in regards to valid DbInstance and DbParameterGroup name. + + 1.35.3 ====== diff --git a/awscli/__init__.py b/awscli/__init__.py index 8f3935c17051..e26b3e00ddaf 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.35.3' +__version__ = '1.35.4' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 3e21e4a417bf..784968e4043c 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.35' # The full version, including alpha/beta/rc tags. -release = '1.35.3' +release = '1.35.4' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 5afca20b1481..4856d2d665ad 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.37 + botocore==1.35.38 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 9824249b5a42..c362e4280df0 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.37', + 'botocore==1.35.38', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 831f781eb3f707b2a175fda5c562572861abeb89 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 11 Oct 2024 18:21:46 +0000 Subject: [PATCH 0246/1087] Merge customizations for EMR --- awscli/customizations/emr/argumentschema.py | 4 ++++ awscli/customizations/emr/instancefleetsutils.py | 3 +++ .../emr/test_constants_instance_fleets.py | 11 +++++++---- .../unit/customizations/emr/test_describe_cluster.py | 2 ++ 4 files changed, 16 insertions(+), 4 deletions(-) diff --git a/awscli/customizations/emr/argumentschema.py b/awscli/customizations/emr/argumentschema.py index 705a52a675b8..e3f64dc47002 100644 --- a/awscli/customizations/emr/argumentschema.py +++ b/awscli/customizations/emr/argumentschema.py @@ -499,6 +499,10 @@ } } } + }, + "Context": { + "type": "string", + "description": "Reserved." } } } diff --git a/awscli/customizations/emr/instancefleetsutils.py b/awscli/customizations/emr/instancefleetsutils.py index 6c098803dfd1..02d8f0b7a826 100644 --- a/awscli/customizations/emr/instancefleetsutils.py +++ b/awscli/customizations/emr/instancefleetsutils.py @@ -65,6 +65,9 @@ def validate_and_build_instance_fleets(parsed_instance_fleets): if 'OnDemandResizeSpecification' in instanceFleetResizeSpecifications: instance_fleet_config['ResizeSpecifications']['OnDemandResizeSpecification'] = \ instanceFleetResizeSpecifications['OnDemandResizeSpecification'] + + if 'Context' in keys: + instance_fleet_config['Context'] = instance_fleet['Context'] instance_fleets.append(instance_fleet_config) return instance_fleets diff --git a/tests/unit/customizations/emr/test_constants_instance_fleets.py b/tests/unit/customizations/emr/test_constants_instance_fleets.py index f90c616bb1ee..bb18a76d7798 100644 --- a/tests/unit/customizations/emr/test_constants_instance_fleets.py +++ b/tests/unit/customizations/emr/test_constants_instance_fleets.py @@ -91,7 +91,7 @@ 'capacity-optimized-prioritized},OnDemandSpecification={AllocationStrategy=prioritized}}') TASK_INSTANCE_FLEET_WITH_RESIZE_ALLOCATION_STRATEGY_SPOT_AND_OD = ( - 'InstanceFleetType=TASK,TargetSpotCapacity=100,InstanceTypeConfigs=[{InstanceType=d2.xlarge,' + 'InstanceFleetType=TASK,TargetSpotCapacity=100,Context=testContext,InstanceTypeConfigs=[{InstanceType=d2.xlarge,' 'BidPrice=0.5,WeightedCapacity=1},{InstanceType=m3.2xlarge,BidPrice=0.2,WeightedCapacity=2},' '{InstanceType=m3.4xlarge,BidPrice=0.4,WeightedCapacity=4}],LaunchSpecifications={' 'SpotSpecification={TimeoutDurationMinutes=77,TimeoutAction=TERMINATE_CLUSTER,' @@ -119,7 +119,7 @@ MODIFY_INSTANCE_FLEET_WITH_INSTANCE_TYPE_CONFIGS = ( f'InstanceFleetId={DEFAULT_INSTANCE_FLEET_NAME},' - f'InstanceTypeConfigs=[{{InstanceType=d2.xlarge}}]') + f'InstanceTypeConfigs=[{{InstanceType=d2.xlarge}}],Context=testContext') MODIFY_INSTANCE_FLEET_WITH_SPOT_AND_OD_RESIZE_SPECIFICATIONS = ( f'InstanceFleetId={DEFAULT_INSTANCE_FLEET_NAME},ResizeSpecifications={{SpotResizeSpecification=' @@ -512,6 +512,7 @@ }, "TargetSpotCapacity": 100, "InstanceFleetType": "TASK", + "Context": "testContext", "Name": "TASK" } ] @@ -558,7 +559,8 @@ } }, "TargetSpotCapacity": 100, - "InstanceFleetType": "TASK" + "InstanceFleetType": "TASK", + "Context": "testContext" } RES_MODIFY_INSTANCE_FLEET_WITH_INSTANCE_TYPE_CONFIGS = \ @@ -568,7 +570,8 @@ "InstanceFleetId": DEFAULT_INSTANCE_FLEET_NAME, "InstanceTypeConfigs": [ {"InstanceType": "d2.xlarge"} - ] + ], + "Context": "testContext" } } diff --git a/tests/unit/customizations/emr/test_describe_cluster.py b/tests/unit/customizations/emr/test_describe_cluster.py index eb13d02f37dd..0d0dbc1ca30c 100644 --- a/tests/unit/customizations/emr/test_describe_cluster.py +++ b/tests/unit/customizations/emr/test_describe_cluster.py @@ -194,6 +194,7 @@ "InstanceFleetType": "MASTER", "InstanceType": "m1.large", "Id": "if-ABCD", + "Context": "testContext" } ] } @@ -359,6 +360,7 @@ "InstanceFleetType": "MASTER", "InstanceType": "m1.large", "Id": "if-ABCD", + "Context": "testContext" } ], "RequestedAmiVersion": "2.4.2", From dd68e89ebf6b7e8576211295be56c286e4ad02e6 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 11 Oct 2024 18:21:51 +0000 Subject: [PATCH 0247/1087] Update changelog based on model updates --- .changes/next-release/api-change-appflow-92699.json | 5 +++++ .changes/next-release/api-change-elbv2-6770.json | 5 +++++ .changes/next-release/api-change-emr-44238.json | 5 +++++ .changes/next-release/api-change-guardduty-24314.json | 5 +++++ .changes/next-release/api-change-robomaker-53920.json | 5 +++++ 5 files changed, 25 insertions(+) create mode 100644 .changes/next-release/api-change-appflow-92699.json create mode 100644 .changes/next-release/api-change-elbv2-6770.json create mode 100644 .changes/next-release/api-change-emr-44238.json create mode 100644 .changes/next-release/api-change-guardduty-24314.json create mode 100644 .changes/next-release/api-change-robomaker-53920.json diff --git a/.changes/next-release/api-change-appflow-92699.json b/.changes/next-release/api-change-appflow-92699.json new file mode 100644 index 000000000000..084ad11a28c4 --- /dev/null +++ b/.changes/next-release/api-change-appflow-92699.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``appflow``", + "description": "Doc only updates for clarification around OAuth2GrantType for Salesforce." +} diff --git a/.changes/next-release/api-change-elbv2-6770.json b/.changes/next-release/api-change-elbv2-6770.json new file mode 100644 index 000000000000..d7567702e50b --- /dev/null +++ b/.changes/next-release/api-change-elbv2-6770.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``elbv2``", + "description": "Add zonal_shift.config.enabled attribute. Add new AdministrativeOverride construct in the describe-target-health API response to include information about the override status applied to a target." +} diff --git a/.changes/next-release/api-change-emr-44238.json b/.changes/next-release/api-change-emr-44238.json new file mode 100644 index 000000000000..e4edf158eea3 --- /dev/null +++ b/.changes/next-release/api-change-emr-44238.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``emr``", + "description": "This release provides new parameter \"Context\" in instance fleet clusters." +} diff --git a/.changes/next-release/api-change-guardduty-24314.json b/.changes/next-release/api-change-guardduty-24314.json new file mode 100644 index 000000000000..4e0b98ce7fd2 --- /dev/null +++ b/.changes/next-release/api-change-guardduty-24314.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``guardduty``", + "description": "Added a new field for network connection details." +} diff --git a/.changes/next-release/api-change-robomaker-53920.json b/.changes/next-release/api-change-robomaker-53920.json new file mode 100644 index 000000000000..7d71e899a7fd --- /dev/null +++ b/.changes/next-release/api-change-robomaker-53920.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``robomaker``", + "description": "Documentation update: added support notices to each API action." +} From d24bef50a2e3d0b40a676c40c7f3c299eee3ddea Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 11 Oct 2024 18:23:18 +0000 Subject: [PATCH 0248/1087] Bumping version to 1.35.5 --- .changes/1.35.5.json | 27 +++++++++++++++++++ .../api-change-appflow-92699.json | 5 ---- .../next-release/api-change-elbv2-6770.json | 5 ---- .../next-release/api-change-emr-44238.json | 5 ---- .../api-change-guardduty-24314.json | 5 ---- .../api-change-robomaker-53920.json | 5 ---- CHANGELOG.rst | 10 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 11 files changed, 41 insertions(+), 29 deletions(-) create mode 100644 .changes/1.35.5.json delete mode 100644 .changes/next-release/api-change-appflow-92699.json delete mode 100644 .changes/next-release/api-change-elbv2-6770.json delete mode 100644 .changes/next-release/api-change-emr-44238.json delete mode 100644 .changes/next-release/api-change-guardduty-24314.json delete mode 100644 .changes/next-release/api-change-robomaker-53920.json diff --git a/.changes/1.35.5.json b/.changes/1.35.5.json new file mode 100644 index 000000000000..22b588d5a46d --- /dev/null +++ b/.changes/1.35.5.json @@ -0,0 +1,27 @@ +[ + { + "category": "``appflow``", + "description": "Doc only updates for clarification around OAuth2GrantType for Salesforce.", + "type": "api-change" + }, + { + "category": "``elbv2``", + "description": "Add zonal_shift.config.enabled attribute. Add new AdministrativeOverride construct in the describe-target-health API response to include information about the override status applied to a target.", + "type": "api-change" + }, + { + "category": "``emr``", + "description": "This release provides new parameter \"Context\" in instance fleet clusters.", + "type": "api-change" + }, + { + "category": "``guardduty``", + "description": "Added a new field for network connection details.", + "type": "api-change" + }, + { + "category": "``robomaker``", + "description": "Documentation update: added support notices to each API action.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-appflow-92699.json b/.changes/next-release/api-change-appflow-92699.json deleted file mode 100644 index 084ad11a28c4..000000000000 --- a/.changes/next-release/api-change-appflow-92699.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``appflow``", - "description": "Doc only updates for clarification around OAuth2GrantType for Salesforce." -} diff --git a/.changes/next-release/api-change-elbv2-6770.json b/.changes/next-release/api-change-elbv2-6770.json deleted file mode 100644 index d7567702e50b..000000000000 --- a/.changes/next-release/api-change-elbv2-6770.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``elbv2``", - "description": "Add zonal_shift.config.enabled attribute. Add new AdministrativeOverride construct in the describe-target-health API response to include information about the override status applied to a target." -} diff --git a/.changes/next-release/api-change-emr-44238.json b/.changes/next-release/api-change-emr-44238.json deleted file mode 100644 index e4edf158eea3..000000000000 --- a/.changes/next-release/api-change-emr-44238.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``emr``", - "description": "This release provides new parameter \"Context\" in instance fleet clusters." -} diff --git a/.changes/next-release/api-change-guardduty-24314.json b/.changes/next-release/api-change-guardduty-24314.json deleted file mode 100644 index 4e0b98ce7fd2..000000000000 --- a/.changes/next-release/api-change-guardduty-24314.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``guardduty``", - "description": "Added a new field for network connection details." -} diff --git a/.changes/next-release/api-change-robomaker-53920.json b/.changes/next-release/api-change-robomaker-53920.json deleted file mode 100644 index 7d71e899a7fd..000000000000 --- a/.changes/next-release/api-change-robomaker-53920.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``robomaker``", - "description": "Documentation update: added support notices to each API action." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index b6583b35c35a..1230c3c9653b 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,16 @@ CHANGELOG ========= +1.35.5 +====== + +* api-change:``appflow``: Doc only updates for clarification around OAuth2GrantType for Salesforce. +* api-change:``elbv2``: Add zonal_shift.config.enabled attribute. Add new AdministrativeOverride construct in the describe-target-health API response to include information about the override status applied to a target. +* api-change:``emr``: This release provides new parameter "Context" in instance fleet clusters. +* api-change:``guardduty``: Added a new field for network connection details. +* api-change:``robomaker``: Documentation update: added support notices to each API action. + + 1.35.4 ====== diff --git a/awscli/__init__.py b/awscli/__init__.py index e26b3e00ddaf..21bfb494ef9b 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.35.4' +__version__ = '1.35.5' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 784968e4043c..08cbb586f615 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.35' # The full version, including alpha/beta/rc tags. -release = '1.35.4' +release = '1.35.5' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 4856d2d665ad..685257dedcaf 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.38 + botocore==1.35.39 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index c362e4280df0..42fb06b3e31f 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.38', + 'botocore==1.35.39', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 0654b3694cd61db8d0f1a832c94f9ff99e30ed64 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 14 Oct 2024 18:05:19 +0000 Subject: [PATCH 0249/1087] Update changelog based on model updates --- .changes/next-release/api-change-codepipeline-59675.json | 5 +++++ .changes/next-release/api-change-mailmanager-32217.json | 5 +++++ .changes/next-release/api-change-securitylake-79243.json | 5 +++++ .changes/next-release/api-change-supplychain-57857.json | 5 +++++ .changes/next-release/api-change-transfer-86325.json | 5 +++++ 5 files changed, 25 insertions(+) create mode 100644 .changes/next-release/api-change-codepipeline-59675.json create mode 100644 .changes/next-release/api-change-mailmanager-32217.json create mode 100644 .changes/next-release/api-change-securitylake-79243.json create mode 100644 .changes/next-release/api-change-supplychain-57857.json create mode 100644 .changes/next-release/api-change-transfer-86325.json diff --git a/.changes/next-release/api-change-codepipeline-59675.json b/.changes/next-release/api-change-codepipeline-59675.json new file mode 100644 index 000000000000..ed09441751ba --- /dev/null +++ b/.changes/next-release/api-change-codepipeline-59675.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``codepipeline``", + "description": "AWS CodePipeline V2 type pipelines now support automatically retrying failed stages and skipping stage for failed entry conditions." +} diff --git a/.changes/next-release/api-change-mailmanager-32217.json b/.changes/next-release/api-change-mailmanager-32217.json new file mode 100644 index 000000000000..8fd0610c7216 --- /dev/null +++ b/.changes/next-release/api-change-mailmanager-32217.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``mailmanager``", + "description": "Mail Manager support for viewing and exporting metadata of archived messages." +} diff --git a/.changes/next-release/api-change-securitylake-79243.json b/.changes/next-release/api-change-securitylake-79243.json new file mode 100644 index 000000000000..8c313b325b05 --- /dev/null +++ b/.changes/next-release/api-change-securitylake-79243.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``securitylake``", + "description": "This release updates request validation regex for resource ARNs." +} diff --git a/.changes/next-release/api-change-supplychain-57857.json b/.changes/next-release/api-change-supplychain-57857.json new file mode 100644 index 000000000000..d1198fae04e8 --- /dev/null +++ b/.changes/next-release/api-change-supplychain-57857.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``supplychain``", + "description": "This release adds AWS Supply Chain instance management functionality. Specifically adding CreateInstance, DeleteInstance, GetInstance, ListInstances, and UpdateInstance APIs." +} diff --git a/.changes/next-release/api-change-transfer-86325.json b/.changes/next-release/api-change-transfer-86325.json new file mode 100644 index 000000000000..53d73f28ce48 --- /dev/null +++ b/.changes/next-release/api-change-transfer-86325.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``transfer``", + "description": "This release enables customers using SFTP connectors to query the transfer status of their files to meet their monitoring needs as well as orchestrate post transfer actions." +} From 55a8b1d271e56839b53d9075879048d8ceca3100 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 14 Oct 2024 18:06:42 +0000 Subject: [PATCH 0250/1087] Bumping version to 1.35.6 --- .changes/1.35.6.json | 27 +++++++++++++++++++ .../api-change-codepipeline-59675.json | 5 ---- .../api-change-mailmanager-32217.json | 5 ---- .../api-change-securitylake-79243.json | 5 ---- .../api-change-supplychain-57857.json | 5 ---- .../api-change-transfer-86325.json | 5 ---- CHANGELOG.rst | 10 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 11 files changed, 41 insertions(+), 29 deletions(-) create mode 100644 .changes/1.35.6.json delete mode 100644 .changes/next-release/api-change-codepipeline-59675.json delete mode 100644 .changes/next-release/api-change-mailmanager-32217.json delete mode 100644 .changes/next-release/api-change-securitylake-79243.json delete mode 100644 .changes/next-release/api-change-supplychain-57857.json delete mode 100644 .changes/next-release/api-change-transfer-86325.json diff --git a/.changes/1.35.6.json b/.changes/1.35.6.json new file mode 100644 index 000000000000..5bcd920b80d9 --- /dev/null +++ b/.changes/1.35.6.json @@ -0,0 +1,27 @@ +[ + { + "category": "``codepipeline``", + "description": "AWS CodePipeline V2 type pipelines now support automatically retrying failed stages and skipping stage for failed entry conditions.", + "type": "api-change" + }, + { + "category": "``mailmanager``", + "description": "Mail Manager support for viewing and exporting metadata of archived messages.", + "type": "api-change" + }, + { + "category": "``securitylake``", + "description": "This release updates request validation regex for resource ARNs.", + "type": "api-change" + }, + { + "category": "``supplychain``", + "description": "This release adds AWS Supply Chain instance management functionality. Specifically adding CreateInstance, DeleteInstance, GetInstance, ListInstances, and UpdateInstance APIs.", + "type": "api-change" + }, + { + "category": "``transfer``", + "description": "This release enables customers using SFTP connectors to query the transfer status of their files to meet their monitoring needs as well as orchestrate post transfer actions.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-codepipeline-59675.json b/.changes/next-release/api-change-codepipeline-59675.json deleted file mode 100644 index ed09441751ba..000000000000 --- a/.changes/next-release/api-change-codepipeline-59675.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``codepipeline``", - "description": "AWS CodePipeline V2 type pipelines now support automatically retrying failed stages and skipping stage for failed entry conditions." -} diff --git a/.changes/next-release/api-change-mailmanager-32217.json b/.changes/next-release/api-change-mailmanager-32217.json deleted file mode 100644 index 8fd0610c7216..000000000000 --- a/.changes/next-release/api-change-mailmanager-32217.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``mailmanager``", - "description": "Mail Manager support for viewing and exporting metadata of archived messages." -} diff --git a/.changes/next-release/api-change-securitylake-79243.json b/.changes/next-release/api-change-securitylake-79243.json deleted file mode 100644 index 8c313b325b05..000000000000 --- a/.changes/next-release/api-change-securitylake-79243.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``securitylake``", - "description": "This release updates request validation regex for resource ARNs." -} diff --git a/.changes/next-release/api-change-supplychain-57857.json b/.changes/next-release/api-change-supplychain-57857.json deleted file mode 100644 index d1198fae04e8..000000000000 --- a/.changes/next-release/api-change-supplychain-57857.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``supplychain``", - "description": "This release adds AWS Supply Chain instance management functionality. Specifically adding CreateInstance, DeleteInstance, GetInstance, ListInstances, and UpdateInstance APIs." -} diff --git a/.changes/next-release/api-change-transfer-86325.json b/.changes/next-release/api-change-transfer-86325.json deleted file mode 100644 index 53d73f28ce48..000000000000 --- a/.changes/next-release/api-change-transfer-86325.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``transfer``", - "description": "This release enables customers using SFTP connectors to query the transfer status of their files to meet their monitoring needs as well as orchestrate post transfer actions." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 1230c3c9653b..00e31ba52724 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,16 @@ CHANGELOG ========= +1.35.6 +====== + +* api-change:``codepipeline``: AWS CodePipeline V2 type pipelines now support automatically retrying failed stages and skipping stage for failed entry conditions. +* api-change:``mailmanager``: Mail Manager support for viewing and exporting metadata of archived messages. +* api-change:``securitylake``: This release updates request validation regex for resource ARNs. +* api-change:``supplychain``: This release adds AWS Supply Chain instance management functionality. Specifically adding CreateInstance, DeleteInstance, GetInstance, ListInstances, and UpdateInstance APIs. +* api-change:``transfer``: This release enables customers using SFTP connectors to query the transfer status of their files to meet their monitoring needs as well as orchestrate post transfer actions. + + 1.35.5 ====== diff --git a/awscli/__init__.py b/awscli/__init__.py index 21bfb494ef9b..89e6222a5673 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.35.5' +__version__ = '1.35.6' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 08cbb586f615..7ed0b3f8205d 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.35' # The full version, including alpha/beta/rc tags. -release = '1.35.5' +release = '1.35.6' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 685257dedcaf..e167193a7b09 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.39 + botocore==1.35.40 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 42fb06b3e31f..72b96e23c83a 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.39', + 'botocore==1.35.40', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From afe41182daa9a3388e6a0512507b8feccde8f641 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 15 Oct 2024 18:04:26 +0000 Subject: [PATCH 0251/1087] Update changelog based on model updates --- .changes/next-release/api-change-amplify-4596.json | 5 +++++ .changes/next-release/api-change-cloudformation-49334.json | 5 +++++ .changes/next-release/api-change-codebuild-57007.json | 5 +++++ .changes/next-release/api-change-ivs-94029.json | 5 +++++ .changes/next-release/api-change-qbusiness-71132.json | 5 +++++ .changes/next-release/api-change-redshift-86880.json | 5 +++++ .changes/next-release/api-change-resiliencehub-9945.json | 5 +++++ .changes/next-release/api-change-sesv2-35796.json | 5 +++++ 8 files changed, 40 insertions(+) create mode 100644 .changes/next-release/api-change-amplify-4596.json create mode 100644 .changes/next-release/api-change-cloudformation-49334.json create mode 100644 .changes/next-release/api-change-codebuild-57007.json create mode 100644 .changes/next-release/api-change-ivs-94029.json create mode 100644 .changes/next-release/api-change-qbusiness-71132.json create mode 100644 .changes/next-release/api-change-redshift-86880.json create mode 100644 .changes/next-release/api-change-resiliencehub-9945.json create mode 100644 .changes/next-release/api-change-sesv2-35796.json diff --git a/.changes/next-release/api-change-amplify-4596.json b/.changes/next-release/api-change-amplify-4596.json new file mode 100644 index 000000000000..719e00619c03 --- /dev/null +++ b/.changes/next-release/api-change-amplify-4596.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``amplify``", + "description": "Added sourceUrlType field to StartDeployment request" +} diff --git a/.changes/next-release/api-change-cloudformation-49334.json b/.changes/next-release/api-change-cloudformation-49334.json new file mode 100644 index 000000000000..28f542f028f7 --- /dev/null +++ b/.changes/next-release/api-change-cloudformation-49334.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``cloudformation``", + "description": "Documentation update for AWS CloudFormation API Reference." +} diff --git a/.changes/next-release/api-change-codebuild-57007.json b/.changes/next-release/api-change-codebuild-57007.json new file mode 100644 index 000000000000..c94c8d8b07ff --- /dev/null +++ b/.changes/next-release/api-change-codebuild-57007.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``codebuild``", + "description": "Enable proxy for reserved capacity fleet." +} diff --git a/.changes/next-release/api-change-ivs-94029.json b/.changes/next-release/api-change-ivs-94029.json new file mode 100644 index 000000000000..08cbcbcecf55 --- /dev/null +++ b/.changes/next-release/api-change-ivs-94029.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ivs``", + "description": "On a channel that you own, you can now replace an ongoing stream with a new stream by streaming up with the priority parameter appended to the stream key." +} diff --git a/.changes/next-release/api-change-qbusiness-71132.json b/.changes/next-release/api-change-qbusiness-71132.json new file mode 100644 index 000000000000..fb55d09229b4 --- /dev/null +++ b/.changes/next-release/api-change-qbusiness-71132.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``qbusiness``", + "description": "Amazon Q Business now supports embedding the Amazon Q Business web experience on third-party websites." +} diff --git a/.changes/next-release/api-change-redshift-86880.json b/.changes/next-release/api-change-redshift-86880.json new file mode 100644 index 000000000000..f65e0f50ef6e --- /dev/null +++ b/.changes/next-release/api-change-redshift-86880.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``redshift``", + "description": "This release launches the CreateIntegration, DeleteIntegration, DescribeIntegrations and ModifyIntegration APIs to create and manage Amazon Redshift Zero-ETL Integrations." +} diff --git a/.changes/next-release/api-change-resiliencehub-9945.json b/.changes/next-release/api-change-resiliencehub-9945.json new file mode 100644 index 000000000000..20159852309f --- /dev/null +++ b/.changes/next-release/api-change-resiliencehub-9945.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``resiliencehub``", + "description": "AWS Resilience Hub now integrates with the myApplications platform, enabling customers to easily assess the resilience of applications defined in myApplications. The new Resiliency widget provides visibility into application resilience and actionable recommendations for improvement." +} diff --git a/.changes/next-release/api-change-sesv2-35796.json b/.changes/next-release/api-change-sesv2-35796.json new file mode 100644 index 000000000000..959426050f27 --- /dev/null +++ b/.changes/next-release/api-change-sesv2-35796.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``sesv2``", + "description": "This release adds support for email maximum delivery seconds that allows senders to control the time within which their emails are attempted for delivery." +} From 568c1eb27ff905dee35f9c3e953d11781ec20d33 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 15 Oct 2024 18:06:07 +0000 Subject: [PATCH 0252/1087] Bumping version to 1.35.7 --- .changes/1.35.7.json | 42 +++++++++++++++++++ .../next-release/api-change-amplify-4596.json | 5 --- .../api-change-cloudformation-49334.json | 5 --- .../api-change-codebuild-57007.json | 5 --- .../next-release/api-change-ivs-94029.json | 5 --- .../api-change-qbusiness-71132.json | 5 --- .../api-change-redshift-86880.json | 5 --- .../api-change-resiliencehub-9945.json | 5 --- .../next-release/api-change-sesv2-35796.json | 5 --- CHANGELOG.rst | 13 ++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 14 files changed, 59 insertions(+), 44 deletions(-) create mode 100644 .changes/1.35.7.json delete mode 100644 .changes/next-release/api-change-amplify-4596.json delete mode 100644 .changes/next-release/api-change-cloudformation-49334.json delete mode 100644 .changes/next-release/api-change-codebuild-57007.json delete mode 100644 .changes/next-release/api-change-ivs-94029.json delete mode 100644 .changes/next-release/api-change-qbusiness-71132.json delete mode 100644 .changes/next-release/api-change-redshift-86880.json delete mode 100644 .changes/next-release/api-change-resiliencehub-9945.json delete mode 100644 .changes/next-release/api-change-sesv2-35796.json diff --git a/.changes/1.35.7.json b/.changes/1.35.7.json new file mode 100644 index 000000000000..63505bbc274d --- /dev/null +++ b/.changes/1.35.7.json @@ -0,0 +1,42 @@ +[ + { + "category": "``amplify``", + "description": "Added sourceUrlType field to StartDeployment request", + "type": "api-change" + }, + { + "category": "``cloudformation``", + "description": "Documentation update for AWS CloudFormation API Reference.", + "type": "api-change" + }, + { + "category": "``codebuild``", + "description": "Enable proxy for reserved capacity fleet.", + "type": "api-change" + }, + { + "category": "``ivs``", + "description": "On a channel that you own, you can now replace an ongoing stream with a new stream by streaming up with the priority parameter appended to the stream key.", + "type": "api-change" + }, + { + "category": "``qbusiness``", + "description": "Amazon Q Business now supports embedding the Amazon Q Business web experience on third-party websites.", + "type": "api-change" + }, + { + "category": "``redshift``", + "description": "This release launches the CreateIntegration, DeleteIntegration, DescribeIntegrations and ModifyIntegration APIs to create and manage Amazon Redshift Zero-ETL Integrations.", + "type": "api-change" + }, + { + "category": "``resiliencehub``", + "description": "AWS Resilience Hub now integrates with the myApplications platform, enabling customers to easily assess the resilience of applications defined in myApplications. The new Resiliency widget provides visibility into application resilience and actionable recommendations for improvement.", + "type": "api-change" + }, + { + "category": "``sesv2``", + "description": "This release adds support for email maximum delivery seconds that allows senders to control the time within which their emails are attempted for delivery.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-amplify-4596.json b/.changes/next-release/api-change-amplify-4596.json deleted file mode 100644 index 719e00619c03..000000000000 --- a/.changes/next-release/api-change-amplify-4596.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``amplify``", - "description": "Added sourceUrlType field to StartDeployment request" -} diff --git a/.changes/next-release/api-change-cloudformation-49334.json b/.changes/next-release/api-change-cloudformation-49334.json deleted file mode 100644 index 28f542f028f7..000000000000 --- a/.changes/next-release/api-change-cloudformation-49334.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``cloudformation``", - "description": "Documentation update for AWS CloudFormation API Reference." -} diff --git a/.changes/next-release/api-change-codebuild-57007.json b/.changes/next-release/api-change-codebuild-57007.json deleted file mode 100644 index c94c8d8b07ff..000000000000 --- a/.changes/next-release/api-change-codebuild-57007.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``codebuild``", - "description": "Enable proxy for reserved capacity fleet." -} diff --git a/.changes/next-release/api-change-ivs-94029.json b/.changes/next-release/api-change-ivs-94029.json deleted file mode 100644 index 08cbcbcecf55..000000000000 --- a/.changes/next-release/api-change-ivs-94029.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ivs``", - "description": "On a channel that you own, you can now replace an ongoing stream with a new stream by streaming up with the priority parameter appended to the stream key." -} diff --git a/.changes/next-release/api-change-qbusiness-71132.json b/.changes/next-release/api-change-qbusiness-71132.json deleted file mode 100644 index fb55d09229b4..000000000000 --- a/.changes/next-release/api-change-qbusiness-71132.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``qbusiness``", - "description": "Amazon Q Business now supports embedding the Amazon Q Business web experience on third-party websites." -} diff --git a/.changes/next-release/api-change-redshift-86880.json b/.changes/next-release/api-change-redshift-86880.json deleted file mode 100644 index f65e0f50ef6e..000000000000 --- a/.changes/next-release/api-change-redshift-86880.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``redshift``", - "description": "This release launches the CreateIntegration, DeleteIntegration, DescribeIntegrations and ModifyIntegration APIs to create and manage Amazon Redshift Zero-ETL Integrations." -} diff --git a/.changes/next-release/api-change-resiliencehub-9945.json b/.changes/next-release/api-change-resiliencehub-9945.json deleted file mode 100644 index 20159852309f..000000000000 --- a/.changes/next-release/api-change-resiliencehub-9945.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``resiliencehub``", - "description": "AWS Resilience Hub now integrates with the myApplications platform, enabling customers to easily assess the resilience of applications defined in myApplications. The new Resiliency widget provides visibility into application resilience and actionable recommendations for improvement." -} diff --git a/.changes/next-release/api-change-sesv2-35796.json b/.changes/next-release/api-change-sesv2-35796.json deleted file mode 100644 index 959426050f27..000000000000 --- a/.changes/next-release/api-change-sesv2-35796.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``sesv2``", - "description": "This release adds support for email maximum delivery seconds that allows senders to control the time within which their emails are attempted for delivery." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 00e31ba52724..8517c7b7227c 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,19 @@ CHANGELOG ========= +1.35.7 +====== + +* api-change:``amplify``: Added sourceUrlType field to StartDeployment request +* api-change:``cloudformation``: Documentation update for AWS CloudFormation API Reference. +* api-change:``codebuild``: Enable proxy for reserved capacity fleet. +* api-change:``ivs``: On a channel that you own, you can now replace an ongoing stream with a new stream by streaming up with the priority parameter appended to the stream key. +* api-change:``qbusiness``: Amazon Q Business now supports embedding the Amazon Q Business web experience on third-party websites. +* api-change:``redshift``: This release launches the CreateIntegration, DeleteIntegration, DescribeIntegrations and ModifyIntegration APIs to create and manage Amazon Redshift Zero-ETL Integrations. +* api-change:``resiliencehub``: AWS Resilience Hub now integrates with the myApplications platform, enabling customers to easily assess the resilience of applications defined in myApplications. The new Resiliency widget provides visibility into application resilience and actionable recommendations for improvement. +* api-change:``sesv2``: This release adds support for email maximum delivery seconds that allows senders to control the time within which their emails are attempted for delivery. + + 1.35.6 ====== diff --git a/awscli/__init__.py b/awscli/__init__.py index 89e6222a5673..14b45020a902 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.35.6' +__version__ = '1.35.7' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 7ed0b3f8205d..1da8819b4f93 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.35' # The full version, including alpha/beta/rc tags. -release = '1.35.6' +release = '1.35.7' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index e167193a7b09..af77f015dd0b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.40 + botocore==1.35.41 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 72b96e23c83a..dcf0c0575155 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.40', + 'botocore==1.35.41', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 585a0f169d6272eb54c23318b119e9a508061b7b Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 16 Oct 2024 18:04:51 +0000 Subject: [PATCH 0253/1087] Update changelog based on model updates --- .changes/next-release/api-change-s3-63307.json | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changes/next-release/api-change-s3-63307.json diff --git a/.changes/next-release/api-change-s3-63307.json b/.changes/next-release/api-change-s3-63307.json new file mode 100644 index 000000000000..332a4780b33e --- /dev/null +++ b/.changes/next-release/api-change-s3-63307.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``s3``", + "description": "Add support for the new optional bucket-region and prefix query parameters in the ListBuckets API. For ListBuckets requests that express pagination, Amazon S3 will now return both the bucket names and associated AWS regions in the response." +} From 68360ca61b7e8b725bc82ba34a3f4524fc2c3f3d Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 16 Oct 2024 18:06:29 +0000 Subject: [PATCH 0254/1087] Bumping version to 1.35.8 --- .changes/1.35.8.json | 7 +++++++ .changes/next-release/api-change-s3-63307.json | 5 ----- CHANGELOG.rst | 6 ++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 7 files changed, 17 insertions(+), 9 deletions(-) create mode 100644 .changes/1.35.8.json delete mode 100644 .changes/next-release/api-change-s3-63307.json diff --git a/.changes/1.35.8.json b/.changes/1.35.8.json new file mode 100644 index 000000000000..4e3bc4f046f7 --- /dev/null +++ b/.changes/1.35.8.json @@ -0,0 +1,7 @@ +[ + { + "category": "``s3``", + "description": "Add support for the new optional bucket-region and prefix query parameters in the ListBuckets API. For ListBuckets requests that express pagination, Amazon S3 will now return both the bucket names and associated AWS regions in the response.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-s3-63307.json b/.changes/next-release/api-change-s3-63307.json deleted file mode 100644 index 332a4780b33e..000000000000 --- a/.changes/next-release/api-change-s3-63307.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``s3``", - "description": "Add support for the new optional bucket-region and prefix query parameters in the ListBuckets API. For ListBuckets requests that express pagination, Amazon S3 will now return both the bucket names and associated AWS regions in the response." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 8517c7b7227c..594e0c80334c 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,12 @@ CHANGELOG ========= +1.35.8 +====== + +* api-change:``s3``: Add support for the new optional bucket-region and prefix query parameters in the ListBuckets API. For ListBuckets requests that express pagination, Amazon S3 will now return both the bucket names and associated AWS regions in the response. + + 1.35.7 ====== diff --git a/awscli/__init__.py b/awscli/__init__.py index 14b45020a902..6d0542d36345 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.35.7' +__version__ = '1.35.8' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 1da8819b4f93..d04a08f76b18 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.35' # The full version, including alpha/beta/rc tags. -release = '1.35.7' +release = '1.35.8' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index af77f015dd0b..66412b83d0b5 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.41 + botocore==1.35.42 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index dcf0c0575155..a2eac5502011 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.41', + 'botocore==1.35.42', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 5e379c853f5899100b41f1666a10c5a069894245 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 17 Oct 2024 18:11:31 +0000 Subject: [PATCH 0255/1087] Update changelog based on model updates --- .changes/next-release/api-change-bedrockagent-47188.json | 5 +++++ .changes/next-release/api-change-dataexchange-33775.json | 5 +++++ .changes/next-release/api-change-ecs-92390.json | 5 +++++ .../next-release/api-change-pinpointsmsvoicev2-42234.json | 5 +++++ .changes/next-release/api-change-pipes-64507.json | 5 +++++ .changes/next-release/api-change-quicksight-40937.json | 5 +++++ .changes/next-release/api-change-rds-16079.json | 5 +++++ .changes/next-release/api-change-workspaces-86649.json | 5 +++++ 8 files changed, 40 insertions(+) create mode 100644 .changes/next-release/api-change-bedrockagent-47188.json create mode 100644 .changes/next-release/api-change-dataexchange-33775.json create mode 100644 .changes/next-release/api-change-ecs-92390.json create mode 100644 .changes/next-release/api-change-pinpointsmsvoicev2-42234.json create mode 100644 .changes/next-release/api-change-pipes-64507.json create mode 100644 .changes/next-release/api-change-quicksight-40937.json create mode 100644 .changes/next-release/api-change-rds-16079.json create mode 100644 .changes/next-release/api-change-workspaces-86649.json diff --git a/.changes/next-release/api-change-bedrockagent-47188.json b/.changes/next-release/api-change-bedrockagent-47188.json new file mode 100644 index 000000000000..2976031193ad --- /dev/null +++ b/.changes/next-release/api-change-bedrockagent-47188.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-agent``", + "description": "Removing support for topK property in PromptModelInferenceConfiguration object, Making PromptTemplateConfiguration property as required, Limiting the maximum PromptVariant to 1" +} diff --git a/.changes/next-release/api-change-dataexchange-33775.json b/.changes/next-release/api-change-dataexchange-33775.json new file mode 100644 index 000000000000..d3f16f164135 --- /dev/null +++ b/.changes/next-release/api-change-dataexchange-33775.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``dataexchange``", + "description": "This release adds Data Grant support, through which customers can programmatically create data grants to share with other AWS accounts and accept data grants from other AWS accounts." +} diff --git a/.changes/next-release/api-change-ecs-92390.json b/.changes/next-release/api-change-ecs-92390.json new file mode 100644 index 000000000000..40d5dadecbf3 --- /dev/null +++ b/.changes/next-release/api-change-ecs-92390.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ecs``", + "description": "This is an Amazon ECS documentation only update to address tickets." +} diff --git a/.changes/next-release/api-change-pinpointsmsvoicev2-42234.json b/.changes/next-release/api-change-pinpointsmsvoicev2-42234.json new file mode 100644 index 000000000000..a3f539c22a93 --- /dev/null +++ b/.changes/next-release/api-change-pinpointsmsvoicev2-42234.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``pinpoint-sms-voice-v2``", + "description": "Added the registrations status of REQUIRES_AUTHENTICATION" +} diff --git a/.changes/next-release/api-change-pipes-64507.json b/.changes/next-release/api-change-pipes-64507.json new file mode 100644 index 000000000000..e1e67e6b5e27 --- /dev/null +++ b/.changes/next-release/api-change-pipes-64507.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``pipes``", + "description": "This release adds validation to require specifying a SecurityGroup and Subnets in the Vpc object under PipesSourceSelfManagedKafkaParameters. It also adds support for iso-e, iso-f, and other non-commercial partitions in ARN parameters." +} diff --git a/.changes/next-release/api-change-quicksight-40937.json b/.changes/next-release/api-change-quicksight-40937.json new file mode 100644 index 000000000000..1706dee2b32d --- /dev/null +++ b/.changes/next-release/api-change-quicksight-40937.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``quicksight``", + "description": "Add StartDashboardSnapshotJobSchedule API. RestoreAnalysis now supports restoring analysis to folders." +} diff --git a/.changes/next-release/api-change-rds-16079.json b/.changes/next-release/api-change-rds-16079.json new file mode 100644 index 000000000000..cbbb11f778c3 --- /dev/null +++ b/.changes/next-release/api-change-rds-16079.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``rds``", + "description": "Updates Amazon RDS documentation for TAZ IAM support" +} diff --git a/.changes/next-release/api-change-workspaces-86649.json b/.changes/next-release/api-change-workspaces-86649.json new file mode 100644 index 000000000000..21e599b96ca4 --- /dev/null +++ b/.changes/next-release/api-change-workspaces-86649.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``workspaces``", + "description": "Updated the DomainName pattern for Active Directory" +} From c5abbfd382d7e6d5dc14b0c2f38cdd300b71238e Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 17 Oct 2024 18:12:56 +0000 Subject: [PATCH 0256/1087] Bumping version to 1.35.9 --- .changes/1.35.9.json | 42 +++++++++++++++++++ .../api-change-bedrockagent-47188.json | 5 --- .../api-change-dataexchange-33775.json | 5 --- .../next-release/api-change-ecs-92390.json | 5 --- .../api-change-pinpointsmsvoicev2-42234.json | 5 --- .../next-release/api-change-pipes-64507.json | 5 --- .../api-change-quicksight-40937.json | 5 --- .../next-release/api-change-rds-16079.json | 5 --- .../api-change-workspaces-86649.json | 5 --- CHANGELOG.rst | 13 ++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 14 files changed, 59 insertions(+), 44 deletions(-) create mode 100644 .changes/1.35.9.json delete mode 100644 .changes/next-release/api-change-bedrockagent-47188.json delete mode 100644 .changes/next-release/api-change-dataexchange-33775.json delete mode 100644 .changes/next-release/api-change-ecs-92390.json delete mode 100644 .changes/next-release/api-change-pinpointsmsvoicev2-42234.json delete mode 100644 .changes/next-release/api-change-pipes-64507.json delete mode 100644 .changes/next-release/api-change-quicksight-40937.json delete mode 100644 .changes/next-release/api-change-rds-16079.json delete mode 100644 .changes/next-release/api-change-workspaces-86649.json diff --git a/.changes/1.35.9.json b/.changes/1.35.9.json new file mode 100644 index 000000000000..dd363221a2f7 --- /dev/null +++ b/.changes/1.35.9.json @@ -0,0 +1,42 @@ +[ + { + "category": "``bedrock-agent``", + "description": "Removing support for topK property in PromptModelInferenceConfiguration object, Making PromptTemplateConfiguration property as required, Limiting the maximum PromptVariant to 1", + "type": "api-change" + }, + { + "category": "``dataexchange``", + "description": "This release adds Data Grant support, through which customers can programmatically create data grants to share with other AWS accounts and accept data grants from other AWS accounts.", + "type": "api-change" + }, + { + "category": "``ecs``", + "description": "This is an Amazon ECS documentation only update to address tickets.", + "type": "api-change" + }, + { + "category": "``pinpoint-sms-voice-v2``", + "description": "Added the registrations status of REQUIRES_AUTHENTICATION", + "type": "api-change" + }, + { + "category": "``pipes``", + "description": "This release adds validation to require specifying a SecurityGroup and Subnets in the Vpc object under PipesSourceSelfManagedKafkaParameters. It also adds support for iso-e, iso-f, and other non-commercial partitions in ARN parameters.", + "type": "api-change" + }, + { + "category": "``quicksight``", + "description": "Add StartDashboardSnapshotJobSchedule API. RestoreAnalysis now supports restoring analysis to folders.", + "type": "api-change" + }, + { + "category": "``rds``", + "description": "Updates Amazon RDS documentation for TAZ IAM support", + "type": "api-change" + }, + { + "category": "``workspaces``", + "description": "Updated the DomainName pattern for Active Directory", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-bedrockagent-47188.json b/.changes/next-release/api-change-bedrockagent-47188.json deleted file mode 100644 index 2976031193ad..000000000000 --- a/.changes/next-release/api-change-bedrockagent-47188.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-agent``", - "description": "Removing support for topK property in PromptModelInferenceConfiguration object, Making PromptTemplateConfiguration property as required, Limiting the maximum PromptVariant to 1" -} diff --git a/.changes/next-release/api-change-dataexchange-33775.json b/.changes/next-release/api-change-dataexchange-33775.json deleted file mode 100644 index d3f16f164135..000000000000 --- a/.changes/next-release/api-change-dataexchange-33775.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``dataexchange``", - "description": "This release adds Data Grant support, through which customers can programmatically create data grants to share with other AWS accounts and accept data grants from other AWS accounts." -} diff --git a/.changes/next-release/api-change-ecs-92390.json b/.changes/next-release/api-change-ecs-92390.json deleted file mode 100644 index 40d5dadecbf3..000000000000 --- a/.changes/next-release/api-change-ecs-92390.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ecs``", - "description": "This is an Amazon ECS documentation only update to address tickets." -} diff --git a/.changes/next-release/api-change-pinpointsmsvoicev2-42234.json b/.changes/next-release/api-change-pinpointsmsvoicev2-42234.json deleted file mode 100644 index a3f539c22a93..000000000000 --- a/.changes/next-release/api-change-pinpointsmsvoicev2-42234.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``pinpoint-sms-voice-v2``", - "description": "Added the registrations status of REQUIRES_AUTHENTICATION" -} diff --git a/.changes/next-release/api-change-pipes-64507.json b/.changes/next-release/api-change-pipes-64507.json deleted file mode 100644 index e1e67e6b5e27..000000000000 --- a/.changes/next-release/api-change-pipes-64507.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``pipes``", - "description": "This release adds validation to require specifying a SecurityGroup and Subnets in the Vpc object under PipesSourceSelfManagedKafkaParameters. It also adds support for iso-e, iso-f, and other non-commercial partitions in ARN parameters." -} diff --git a/.changes/next-release/api-change-quicksight-40937.json b/.changes/next-release/api-change-quicksight-40937.json deleted file mode 100644 index 1706dee2b32d..000000000000 --- a/.changes/next-release/api-change-quicksight-40937.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``quicksight``", - "description": "Add StartDashboardSnapshotJobSchedule API. RestoreAnalysis now supports restoring analysis to folders." -} diff --git a/.changes/next-release/api-change-rds-16079.json b/.changes/next-release/api-change-rds-16079.json deleted file mode 100644 index cbbb11f778c3..000000000000 --- a/.changes/next-release/api-change-rds-16079.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``rds``", - "description": "Updates Amazon RDS documentation for TAZ IAM support" -} diff --git a/.changes/next-release/api-change-workspaces-86649.json b/.changes/next-release/api-change-workspaces-86649.json deleted file mode 100644 index 21e599b96ca4..000000000000 --- a/.changes/next-release/api-change-workspaces-86649.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``workspaces``", - "description": "Updated the DomainName pattern for Active Directory" -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 594e0c80334c..ebd544a275c1 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,19 @@ CHANGELOG ========= +1.35.9 +====== + +* api-change:``bedrock-agent``: Removing support for topK property in PromptModelInferenceConfiguration object, Making PromptTemplateConfiguration property as required, Limiting the maximum PromptVariant to 1 +* api-change:``dataexchange``: This release adds Data Grant support, through which customers can programmatically create data grants to share with other AWS accounts and accept data grants from other AWS accounts. +* api-change:``ecs``: This is an Amazon ECS documentation only update to address tickets. +* api-change:``pinpoint-sms-voice-v2``: Added the registrations status of REQUIRES_AUTHENTICATION +* api-change:``pipes``: This release adds validation to require specifying a SecurityGroup and Subnets in the Vpc object under PipesSourceSelfManagedKafkaParameters. It also adds support for iso-e, iso-f, and other non-commercial partitions in ARN parameters. +* api-change:``quicksight``: Add StartDashboardSnapshotJobSchedule API. RestoreAnalysis now supports restoring analysis to folders. +* api-change:``rds``: Updates Amazon RDS documentation for TAZ IAM support +* api-change:``workspaces``: Updated the DomainName pattern for Active Directory + + 1.35.8 ====== diff --git a/awscli/__init__.py b/awscli/__init__.py index 6d0542d36345..8d0e4f891612 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.35.8' +__version__ = '1.35.9' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index d04a08f76b18..cc69707327d5 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.35' # The full version, including alpha/beta/rc tags. -release = '1.35.8' +release = '1.35.9' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 66412b83d0b5..a58c617129dd 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.42 + botocore==1.35.43 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index a2eac5502011..fe66e76669db 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.42', + 'botocore==1.35.43', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 374353a5a942c94cd805769b3abeda908edac882 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 18 Oct 2024 18:06:44 +0000 Subject: [PATCH 0257/1087] Update changelog based on model updates --- .changes/next-release/api-change-athena-35426.json | 5 +++++ .changes/next-release/api-change-bedrock-79895.json | 5 +++++ .changes/next-release/api-change-bedrockruntime-49680.json | 5 +++++ .changes/next-release/api-change-datazone-88677.json | 5 +++++ .changes/next-release/api-change-ec2-75653.json | 5 +++++ 5 files changed, 25 insertions(+) create mode 100644 .changes/next-release/api-change-athena-35426.json create mode 100644 .changes/next-release/api-change-bedrock-79895.json create mode 100644 .changes/next-release/api-change-bedrockruntime-49680.json create mode 100644 .changes/next-release/api-change-datazone-88677.json create mode 100644 .changes/next-release/api-change-ec2-75653.json diff --git a/.changes/next-release/api-change-athena-35426.json b/.changes/next-release/api-change-athena-35426.json new file mode 100644 index 000000000000..a7b3f6cca13c --- /dev/null +++ b/.changes/next-release/api-change-athena-35426.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``athena``", + "description": "Removing FEDERATED from Create/List/Delete/GetDataCatalog API" +} diff --git a/.changes/next-release/api-change-bedrock-79895.json b/.changes/next-release/api-change-bedrock-79895.json new file mode 100644 index 000000000000..f450d34af501 --- /dev/null +++ b/.changes/next-release/api-change-bedrock-79895.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock``", + "description": "Adding converse support to CMI API's" +} diff --git a/.changes/next-release/api-change-bedrockruntime-49680.json b/.changes/next-release/api-change-bedrockruntime-49680.json new file mode 100644 index 000000000000..edcf4308b44b --- /dev/null +++ b/.changes/next-release/api-change-bedrockruntime-49680.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-runtime``", + "description": "Added converse support for custom imported models" +} diff --git a/.changes/next-release/api-change-datazone-88677.json b/.changes/next-release/api-change-datazone-88677.json new file mode 100644 index 000000000000..4e461e2bb3e6 --- /dev/null +++ b/.changes/next-release/api-change-datazone-88677.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``datazone``", + "description": "Adding the following project member designations: PROJECT_CATALOG_VIEWER, PROJECT_CATALOG_CONSUMER and PROJECT_CATALOG_STEWARD in the CreateProjectMembership API and PROJECT_CATALOG_STEWARD designation in the AddPolicyGrant API." +} diff --git a/.changes/next-release/api-change-ec2-75653.json b/.changes/next-release/api-change-ec2-75653.json new file mode 100644 index 000000000000..29f8e6089de3 --- /dev/null +++ b/.changes/next-release/api-change-ec2-75653.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ec2``", + "description": "RequestSpotInstances and RequestSpotFleet feature release." +} From ef151ddd8daa843b85014ab4e9ebe1ef2bb5c43d Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 18 Oct 2024 18:08:12 +0000 Subject: [PATCH 0258/1087] Bumping version to 1.35.10 --- .changes/1.35.10.json | 27 +++++++++++++++++++ .../next-release/api-change-athena-35426.json | 5 ---- .../api-change-bedrock-79895.json | 5 ---- .../api-change-bedrockruntime-49680.json | 5 ---- .../api-change-datazone-88677.json | 5 ---- .../next-release/api-change-ec2-75653.json | 5 ---- CHANGELOG.rst | 10 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 4 +-- setup.cfg | 2 +- setup.py | 2 +- 11 files changed, 42 insertions(+), 30 deletions(-) create mode 100644 .changes/1.35.10.json delete mode 100644 .changes/next-release/api-change-athena-35426.json delete mode 100644 .changes/next-release/api-change-bedrock-79895.json delete mode 100644 .changes/next-release/api-change-bedrockruntime-49680.json delete mode 100644 .changes/next-release/api-change-datazone-88677.json delete mode 100644 .changes/next-release/api-change-ec2-75653.json diff --git a/.changes/1.35.10.json b/.changes/1.35.10.json new file mode 100644 index 000000000000..e81481e2b296 --- /dev/null +++ b/.changes/1.35.10.json @@ -0,0 +1,27 @@ +[ + { + "category": "``athena``", + "description": "Removing FEDERATED from Create/List/Delete/GetDataCatalog API", + "type": "api-change" + }, + { + "category": "``bedrock``", + "description": "Adding converse support to CMI API's", + "type": "api-change" + }, + { + "category": "``bedrock-runtime``", + "description": "Added converse support for custom imported models", + "type": "api-change" + }, + { + "category": "``datazone``", + "description": "Adding the following project member designations: PROJECT_CATALOG_VIEWER, PROJECT_CATALOG_CONSUMER and PROJECT_CATALOG_STEWARD in the CreateProjectMembership API and PROJECT_CATALOG_STEWARD designation in the AddPolicyGrant API.", + "type": "api-change" + }, + { + "category": "``ec2``", + "description": "RequestSpotInstances and RequestSpotFleet feature release.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-athena-35426.json b/.changes/next-release/api-change-athena-35426.json deleted file mode 100644 index a7b3f6cca13c..000000000000 --- a/.changes/next-release/api-change-athena-35426.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``athena``", - "description": "Removing FEDERATED from Create/List/Delete/GetDataCatalog API" -} diff --git a/.changes/next-release/api-change-bedrock-79895.json b/.changes/next-release/api-change-bedrock-79895.json deleted file mode 100644 index f450d34af501..000000000000 --- a/.changes/next-release/api-change-bedrock-79895.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock``", - "description": "Adding converse support to CMI API's" -} diff --git a/.changes/next-release/api-change-bedrockruntime-49680.json b/.changes/next-release/api-change-bedrockruntime-49680.json deleted file mode 100644 index edcf4308b44b..000000000000 --- a/.changes/next-release/api-change-bedrockruntime-49680.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-runtime``", - "description": "Added converse support for custom imported models" -} diff --git a/.changes/next-release/api-change-datazone-88677.json b/.changes/next-release/api-change-datazone-88677.json deleted file mode 100644 index 4e461e2bb3e6..000000000000 --- a/.changes/next-release/api-change-datazone-88677.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``datazone``", - "description": "Adding the following project member designations: PROJECT_CATALOG_VIEWER, PROJECT_CATALOG_CONSUMER and PROJECT_CATALOG_STEWARD in the CreateProjectMembership API and PROJECT_CATALOG_STEWARD designation in the AddPolicyGrant API." -} diff --git a/.changes/next-release/api-change-ec2-75653.json b/.changes/next-release/api-change-ec2-75653.json deleted file mode 100644 index 29f8e6089de3..000000000000 --- a/.changes/next-release/api-change-ec2-75653.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ec2``", - "description": "RequestSpotInstances and RequestSpotFleet feature release." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index ebd544a275c1..5900feee7867 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,16 @@ CHANGELOG ========= +1.35.10 +======= + +* api-change:``athena``: Removing FEDERATED from Create/List/Delete/GetDataCatalog API +* api-change:``bedrock``: Adding converse support to CMI API's +* api-change:``bedrock-runtime``: Added converse support for custom imported models +* api-change:``datazone``: Adding the following project member designations: PROJECT_CATALOG_VIEWER, PROJECT_CATALOG_CONSUMER and PROJECT_CATALOG_STEWARD in the CreateProjectMembership API and PROJECT_CATALOG_STEWARD designation in the AddPolicyGrant API. +* api-change:``ec2``: RequestSpotInstances and RequestSpotFleet feature release. + + 1.35.9 ====== diff --git a/awscli/__init__.py b/awscli/__init__.py index 8d0e4f891612..45a6cbda556f 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.35.9' +__version__ = '1.35.10' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index cc69707327d5..60b8668aeb6e 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -50,9 +50,9 @@ # built documents. # # The short X.Y version. -version = '1.35' +version = '1.35.' # The full version, including alpha/beta/rc tags. -release = '1.35.9' +release = '1.35.10' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index a58c617129dd..c46ae9406d0b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.43 + botocore==1.35.44 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index fe66e76669db..3653824905f4 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.43', + 'botocore==1.35.44', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From c027920e076a071a3a1a74cf37287d41efde97db Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 21 Oct 2024 18:06:56 +0000 Subject: [PATCH 0259/1087] Update changelog based on model updates --- .../next-release/api-change-applicationinsights-18509.json | 5 +++++ .changes/next-release/api-change-autoscaling-43709.json | 5 +++++ .../next-release/api-change-bedrockagentruntime-58492.json | 5 +++++ .changes/next-release/api-change-dms-73516.json | 5 +++++ .changes/next-release/api-change-ec2-62076.json | 5 +++++ .changes/next-release/api-change-eks-77875.json | 5 +++++ .changes/next-release/api-change-fms-84826.json | 5 +++++ .../api-change-paymentcryptographydata-63437.json | 5 +++++ .changes/next-release/api-change-wafv2-67583.json | 5 +++++ 9 files changed, 45 insertions(+) create mode 100644 .changes/next-release/api-change-applicationinsights-18509.json create mode 100644 .changes/next-release/api-change-autoscaling-43709.json create mode 100644 .changes/next-release/api-change-bedrockagentruntime-58492.json create mode 100644 .changes/next-release/api-change-dms-73516.json create mode 100644 .changes/next-release/api-change-ec2-62076.json create mode 100644 .changes/next-release/api-change-eks-77875.json create mode 100644 .changes/next-release/api-change-fms-84826.json create mode 100644 .changes/next-release/api-change-paymentcryptographydata-63437.json create mode 100644 .changes/next-release/api-change-wafv2-67583.json diff --git a/.changes/next-release/api-change-applicationinsights-18509.json b/.changes/next-release/api-change-applicationinsights-18509.json new file mode 100644 index 000000000000..d85788ab3a0a --- /dev/null +++ b/.changes/next-release/api-change-applicationinsights-18509.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``application-insights``", + "description": "This feature enables customers to specify SNS Topic ARN. CloudWatch Application Insights (CWAI) will utilize this ARN to send problem notifications." +} diff --git a/.changes/next-release/api-change-autoscaling-43709.json b/.changes/next-release/api-change-autoscaling-43709.json new file mode 100644 index 000000000000..3a28a010f748 --- /dev/null +++ b/.changes/next-release/api-change-autoscaling-43709.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``autoscaling``", + "description": "Adds support for removing the PlacementGroup setting on an Auto Scaling Group through the UpdateAutoScalingGroup API." +} diff --git a/.changes/next-release/api-change-bedrockagentruntime-58492.json b/.changes/next-release/api-change-bedrockagentruntime-58492.json new file mode 100644 index 000000000000..1dbbaac1761d --- /dev/null +++ b/.changes/next-release/api-change-bedrockagentruntime-58492.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-agent-runtime``", + "description": "Knowledge Bases for Amazon Bedrock now supports custom prompts and model parameters in the orchestrationConfiguration of the RetrieveAndGenerate API. The modelArn field accepts Custom Models and Imported Models ARNs." +} diff --git a/.changes/next-release/api-change-dms-73516.json b/.changes/next-release/api-change-dms-73516.json new file mode 100644 index 000000000000..7baf144146c9 --- /dev/null +++ b/.changes/next-release/api-change-dms-73516.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``dms``", + "description": "Added support for tagging in StartReplicationTaskAssessmentRun API and introduced IsLatestTaskAssessmentRun and ResultStatistic fields for enhanced tracking and assessment result statistics." +} diff --git a/.changes/next-release/api-change-ec2-62076.json b/.changes/next-release/api-change-ec2-62076.json new file mode 100644 index 000000000000..e49449beec2e --- /dev/null +++ b/.changes/next-release/api-change-ec2-62076.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ec2``", + "description": "Amazon EC2 now allows you to create network interfaces with just the EFA driver and no ENA driver by specifying the network interface type as efa-only." +} diff --git a/.changes/next-release/api-change-eks-77875.json b/.changes/next-release/api-change-eks-77875.json new file mode 100644 index 000000000000..2020590e5a9f --- /dev/null +++ b/.changes/next-release/api-change-eks-77875.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``eks``", + "description": "This release adds support for Amazon Application Recovery Controller (ARC) zonal shift and zonal autoshift with EKS that enhances the resiliency of multi-AZ cluster environments" +} diff --git a/.changes/next-release/api-change-fms-84826.json b/.changes/next-release/api-change-fms-84826.json new file mode 100644 index 000000000000..e214a4bf1e8f --- /dev/null +++ b/.changes/next-release/api-change-fms-84826.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``fms``", + "description": "Update AWS WAF policy - add the option to retrofit existing web ACLs instead of creating all new web ACLs." +} diff --git a/.changes/next-release/api-change-paymentcryptographydata-63437.json b/.changes/next-release/api-change-paymentcryptographydata-63437.json new file mode 100644 index 000000000000..fe4a886820e4 --- /dev/null +++ b/.changes/next-release/api-change-paymentcryptographydata-63437.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``payment-cryptography-data``", + "description": "Adding new API to generate authenticated scripts for EMV pin change use cases." +} diff --git a/.changes/next-release/api-change-wafv2-67583.json b/.changes/next-release/api-change-wafv2-67583.json new file mode 100644 index 000000000000..268fe1e90088 --- /dev/null +++ b/.changes/next-release/api-change-wafv2-67583.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``wafv2``", + "description": "Add a property to WebACL to indicate whether it's been retrofitted by Firewall Manager." +} From 745af35b638ba2a654538d6fcf16d068470a2081 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 21 Oct 2024 18:08:24 +0000 Subject: [PATCH 0260/1087] Bumping version to 1.35.11 --- .changes/1.35.11.json | 47 +++++++++++++++++++ .../api-change-applicationinsights-18509.json | 5 -- .../api-change-autoscaling-43709.json | 5 -- .../api-change-bedrockagentruntime-58492.json | 5 -- .../next-release/api-change-dms-73516.json | 5 -- .../next-release/api-change-ec2-62076.json | 5 -- .../next-release/api-change-eks-77875.json | 5 -- .../next-release/api-change-fms-84826.json | 5 -- ...-change-paymentcryptographydata-63437.json | 5 -- .../next-release/api-change-wafv2-67583.json | 5 -- CHANGELOG.rst | 14 ++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 15 files changed, 65 insertions(+), 49 deletions(-) create mode 100644 .changes/1.35.11.json delete mode 100644 .changes/next-release/api-change-applicationinsights-18509.json delete mode 100644 .changes/next-release/api-change-autoscaling-43709.json delete mode 100644 .changes/next-release/api-change-bedrockagentruntime-58492.json delete mode 100644 .changes/next-release/api-change-dms-73516.json delete mode 100644 .changes/next-release/api-change-ec2-62076.json delete mode 100644 .changes/next-release/api-change-eks-77875.json delete mode 100644 .changes/next-release/api-change-fms-84826.json delete mode 100644 .changes/next-release/api-change-paymentcryptographydata-63437.json delete mode 100644 .changes/next-release/api-change-wafv2-67583.json diff --git a/.changes/1.35.11.json b/.changes/1.35.11.json new file mode 100644 index 000000000000..d7d172253221 --- /dev/null +++ b/.changes/1.35.11.json @@ -0,0 +1,47 @@ +[ + { + "category": "``application-insights``", + "description": "This feature enables customers to specify SNS Topic ARN. CloudWatch Application Insights (CWAI) will utilize this ARN to send problem notifications.", + "type": "api-change" + }, + { + "category": "``autoscaling``", + "description": "Adds support for removing the PlacementGroup setting on an Auto Scaling Group through the UpdateAutoScalingGroup API.", + "type": "api-change" + }, + { + "category": "``bedrock-agent-runtime``", + "description": "Knowledge Bases for Amazon Bedrock now supports custom prompts and model parameters in the orchestrationConfiguration of the RetrieveAndGenerate API. The modelArn field accepts Custom Models and Imported Models ARNs.", + "type": "api-change" + }, + { + "category": "``dms``", + "description": "Added support for tagging in StartReplicationTaskAssessmentRun API and introduced IsLatestTaskAssessmentRun and ResultStatistic fields for enhanced tracking and assessment result statistics.", + "type": "api-change" + }, + { + "category": "``ec2``", + "description": "Amazon EC2 now allows you to create network interfaces with just the EFA driver and no ENA driver by specifying the network interface type as efa-only.", + "type": "api-change" + }, + { + "category": "``eks``", + "description": "This release adds support for Amazon Application Recovery Controller (ARC) zonal shift and zonal autoshift with EKS that enhances the resiliency of multi-AZ cluster environments", + "type": "api-change" + }, + { + "category": "``fms``", + "description": "Update AWS WAF policy - add the option to retrofit existing web ACLs instead of creating all new web ACLs.", + "type": "api-change" + }, + { + "category": "``payment-cryptography-data``", + "description": "Adding new API to generate authenticated scripts for EMV pin change use cases.", + "type": "api-change" + }, + { + "category": "``wafv2``", + "description": "Add a property to WebACL to indicate whether it's been retrofitted by Firewall Manager.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-applicationinsights-18509.json b/.changes/next-release/api-change-applicationinsights-18509.json deleted file mode 100644 index d85788ab3a0a..000000000000 --- a/.changes/next-release/api-change-applicationinsights-18509.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``application-insights``", - "description": "This feature enables customers to specify SNS Topic ARN. CloudWatch Application Insights (CWAI) will utilize this ARN to send problem notifications." -} diff --git a/.changes/next-release/api-change-autoscaling-43709.json b/.changes/next-release/api-change-autoscaling-43709.json deleted file mode 100644 index 3a28a010f748..000000000000 --- a/.changes/next-release/api-change-autoscaling-43709.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``autoscaling``", - "description": "Adds support for removing the PlacementGroup setting on an Auto Scaling Group through the UpdateAutoScalingGroup API." -} diff --git a/.changes/next-release/api-change-bedrockagentruntime-58492.json b/.changes/next-release/api-change-bedrockagentruntime-58492.json deleted file mode 100644 index 1dbbaac1761d..000000000000 --- a/.changes/next-release/api-change-bedrockagentruntime-58492.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-agent-runtime``", - "description": "Knowledge Bases for Amazon Bedrock now supports custom prompts and model parameters in the orchestrationConfiguration of the RetrieveAndGenerate API. The modelArn field accepts Custom Models and Imported Models ARNs." -} diff --git a/.changes/next-release/api-change-dms-73516.json b/.changes/next-release/api-change-dms-73516.json deleted file mode 100644 index 7baf144146c9..000000000000 --- a/.changes/next-release/api-change-dms-73516.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``dms``", - "description": "Added support for tagging in StartReplicationTaskAssessmentRun API and introduced IsLatestTaskAssessmentRun and ResultStatistic fields for enhanced tracking and assessment result statistics." -} diff --git a/.changes/next-release/api-change-ec2-62076.json b/.changes/next-release/api-change-ec2-62076.json deleted file mode 100644 index e49449beec2e..000000000000 --- a/.changes/next-release/api-change-ec2-62076.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ec2``", - "description": "Amazon EC2 now allows you to create network interfaces with just the EFA driver and no ENA driver by specifying the network interface type as efa-only." -} diff --git a/.changes/next-release/api-change-eks-77875.json b/.changes/next-release/api-change-eks-77875.json deleted file mode 100644 index 2020590e5a9f..000000000000 --- a/.changes/next-release/api-change-eks-77875.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``eks``", - "description": "This release adds support for Amazon Application Recovery Controller (ARC) zonal shift and zonal autoshift with EKS that enhances the resiliency of multi-AZ cluster environments" -} diff --git a/.changes/next-release/api-change-fms-84826.json b/.changes/next-release/api-change-fms-84826.json deleted file mode 100644 index e214a4bf1e8f..000000000000 --- a/.changes/next-release/api-change-fms-84826.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``fms``", - "description": "Update AWS WAF policy - add the option to retrofit existing web ACLs instead of creating all new web ACLs." -} diff --git a/.changes/next-release/api-change-paymentcryptographydata-63437.json b/.changes/next-release/api-change-paymentcryptographydata-63437.json deleted file mode 100644 index fe4a886820e4..000000000000 --- a/.changes/next-release/api-change-paymentcryptographydata-63437.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``payment-cryptography-data``", - "description": "Adding new API to generate authenticated scripts for EMV pin change use cases." -} diff --git a/.changes/next-release/api-change-wafv2-67583.json b/.changes/next-release/api-change-wafv2-67583.json deleted file mode 100644 index 268fe1e90088..000000000000 --- a/.changes/next-release/api-change-wafv2-67583.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``wafv2``", - "description": "Add a property to WebACL to indicate whether it's been retrofitted by Firewall Manager." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 5900feee7867..81bf755d5f02 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,20 @@ CHANGELOG ========= +1.35.11 +======= + +* api-change:``application-insights``: This feature enables customers to specify SNS Topic ARN. CloudWatch Application Insights (CWAI) will utilize this ARN to send problem notifications. +* api-change:``autoscaling``: Adds support for removing the PlacementGroup setting on an Auto Scaling Group through the UpdateAutoScalingGroup API. +* api-change:``bedrock-agent-runtime``: Knowledge Bases for Amazon Bedrock now supports custom prompts and model parameters in the orchestrationConfiguration of the RetrieveAndGenerate API. The modelArn field accepts Custom Models and Imported Models ARNs. +* api-change:``dms``: Added support for tagging in StartReplicationTaskAssessmentRun API and introduced IsLatestTaskAssessmentRun and ResultStatistic fields for enhanced tracking and assessment result statistics. +* api-change:``ec2``: Amazon EC2 now allows you to create network interfaces with just the EFA driver and no ENA driver by specifying the network interface type as efa-only. +* api-change:``eks``: This release adds support for Amazon Application Recovery Controller (ARC) zonal shift and zonal autoshift with EKS that enhances the resiliency of multi-AZ cluster environments +* api-change:``fms``: Update AWS WAF policy - add the option to retrofit existing web ACLs instead of creating all new web ACLs. +* api-change:``payment-cryptography-data``: Adding new API to generate authenticated scripts for EMV pin change use cases. +* api-change:``wafv2``: Add a property to WebACL to indicate whether it's been retrofitted by Firewall Manager. + + 1.35.10 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 45a6cbda556f..57fde7f67626 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.35.10' +__version__ = '1.35.11' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 60b8668aeb6e..3251656a670f 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.35.' # The full version, including alpha/beta/rc tags. -release = '1.35.10' +release = '1.35.11' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index c46ae9406d0b..315d7a2d2575 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.44 + botocore==1.35.45 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 3653824905f4..665590d2779f 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.44', + 'botocore==1.35.45', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 0e1a94a006d6a1730f20e24b9133e421ac3bf36d Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 22 Oct 2024 18:31:49 +0000 Subject: [PATCH 0261/1087] Update changelog based on model updates --- .changes/next-release/api-change-bedrockruntime-54442.json | 5 +++++ .changes/next-release/api-change-imagebuilder-93594.json | 5 +++++ .changes/next-release/api-change-m2-1308.json | 5 +++++ .changes/next-release/api-change-rds-49809.json | 5 +++++ .changes/next-release/api-change-repostspace-80364.json | 5 +++++ .changes/next-release/api-change-timestreamquery-19176.json | 5 +++++ 6 files changed, 30 insertions(+) create mode 100644 .changes/next-release/api-change-bedrockruntime-54442.json create mode 100644 .changes/next-release/api-change-imagebuilder-93594.json create mode 100644 .changes/next-release/api-change-m2-1308.json create mode 100644 .changes/next-release/api-change-rds-49809.json create mode 100644 .changes/next-release/api-change-repostspace-80364.json create mode 100644 .changes/next-release/api-change-timestreamquery-19176.json diff --git a/.changes/next-release/api-change-bedrockruntime-54442.json b/.changes/next-release/api-change-bedrockruntime-54442.json new file mode 100644 index 000000000000..66972fe502a4 --- /dev/null +++ b/.changes/next-release/api-change-bedrockruntime-54442.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-runtime``", + "description": "Updating invoke regex to support imported models for converse API" +} diff --git a/.changes/next-release/api-change-imagebuilder-93594.json b/.changes/next-release/api-change-imagebuilder-93594.json new file mode 100644 index 000000000000..780a187adf55 --- /dev/null +++ b/.changes/next-release/api-change-imagebuilder-93594.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``imagebuilder``", + "description": "Add macOS platform and instance placement options" +} diff --git a/.changes/next-release/api-change-m2-1308.json b/.changes/next-release/api-change-m2-1308.json new file mode 100644 index 000000000000..fe0f54084cf5 --- /dev/null +++ b/.changes/next-release/api-change-m2-1308.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``m2``", + "description": "Add AuthSecretsManagerArn optional parameter to batch job APIs, expand batch parameter limits, and introduce clientToken constraints." +} diff --git a/.changes/next-release/api-change-rds-49809.json b/.changes/next-release/api-change-rds-49809.json new file mode 100644 index 000000000000..88bdb0ee58df --- /dev/null +++ b/.changes/next-release/api-change-rds-49809.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``rds``", + "description": "Global clusters now expose the Endpoint attribute as one of its fields. It is a Read/Write endpoint for the global cluster which resolves to the Global Cluster writer instance." +} diff --git a/.changes/next-release/api-change-repostspace-80364.json b/.changes/next-release/api-change-repostspace-80364.json new file mode 100644 index 000000000000..6ab6423e8d75 --- /dev/null +++ b/.changes/next-release/api-change-repostspace-80364.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``repostspace``", + "description": "Adds the BatchAddRole and BatchRemoveRole APIs." +} diff --git a/.changes/next-release/api-change-timestreamquery-19176.json b/.changes/next-release/api-change-timestreamquery-19176.json new file mode 100644 index 000000000000..d5c76913adc1 --- /dev/null +++ b/.changes/next-release/api-change-timestreamquery-19176.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``timestream-query``", + "description": "This release adds support for Query Insights, a feature that provides details of query execution, enabling users to identify areas for improvement to optimize their queries, resulting in improved query performance and lower query costs." +} From efe2aa927196e3186fafa4d16a28b064da9c1056 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 22 Oct 2024 18:32:57 +0000 Subject: [PATCH 0262/1087] Bumping version to 1.35.12 --- .changes/1.35.12.json | 32 +++++++++++++++++++ .../api-change-bedrockruntime-54442.json | 5 --- .../api-change-imagebuilder-93594.json | 5 --- .changes/next-release/api-change-m2-1308.json | 5 --- .../next-release/api-change-rds-49809.json | 5 --- .../api-change-repostspace-80364.json | 5 --- .../api-change-timestreamquery-19176.json | 5 --- CHANGELOG.rst | 11 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 12 files changed, 47 insertions(+), 34 deletions(-) create mode 100644 .changes/1.35.12.json delete mode 100644 .changes/next-release/api-change-bedrockruntime-54442.json delete mode 100644 .changes/next-release/api-change-imagebuilder-93594.json delete mode 100644 .changes/next-release/api-change-m2-1308.json delete mode 100644 .changes/next-release/api-change-rds-49809.json delete mode 100644 .changes/next-release/api-change-repostspace-80364.json delete mode 100644 .changes/next-release/api-change-timestreamquery-19176.json diff --git a/.changes/1.35.12.json b/.changes/1.35.12.json new file mode 100644 index 000000000000..4266ceb370bd --- /dev/null +++ b/.changes/1.35.12.json @@ -0,0 +1,32 @@ +[ + { + "category": "``bedrock-runtime``", + "description": "Updating invoke regex to support imported models for converse API", + "type": "api-change" + }, + { + "category": "``imagebuilder``", + "description": "Add macOS platform and instance placement options", + "type": "api-change" + }, + { + "category": "``m2``", + "description": "Add AuthSecretsManagerArn optional parameter to batch job APIs, expand batch parameter limits, and introduce clientToken constraints.", + "type": "api-change" + }, + { + "category": "``rds``", + "description": "Global clusters now expose the Endpoint attribute as one of its fields. It is a Read/Write endpoint for the global cluster which resolves to the Global Cluster writer instance.", + "type": "api-change" + }, + { + "category": "``repostspace``", + "description": "Adds the BatchAddRole and BatchRemoveRole APIs.", + "type": "api-change" + }, + { + "category": "``timestream-query``", + "description": "This release adds support for Query Insights, a feature that provides details of query execution, enabling users to identify areas for improvement to optimize their queries, resulting in improved query performance and lower query costs.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-bedrockruntime-54442.json b/.changes/next-release/api-change-bedrockruntime-54442.json deleted file mode 100644 index 66972fe502a4..000000000000 --- a/.changes/next-release/api-change-bedrockruntime-54442.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-runtime``", - "description": "Updating invoke regex to support imported models for converse API" -} diff --git a/.changes/next-release/api-change-imagebuilder-93594.json b/.changes/next-release/api-change-imagebuilder-93594.json deleted file mode 100644 index 780a187adf55..000000000000 --- a/.changes/next-release/api-change-imagebuilder-93594.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``imagebuilder``", - "description": "Add macOS platform and instance placement options" -} diff --git a/.changes/next-release/api-change-m2-1308.json b/.changes/next-release/api-change-m2-1308.json deleted file mode 100644 index fe0f54084cf5..000000000000 --- a/.changes/next-release/api-change-m2-1308.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``m2``", - "description": "Add AuthSecretsManagerArn optional parameter to batch job APIs, expand batch parameter limits, and introduce clientToken constraints." -} diff --git a/.changes/next-release/api-change-rds-49809.json b/.changes/next-release/api-change-rds-49809.json deleted file mode 100644 index 88bdb0ee58df..000000000000 --- a/.changes/next-release/api-change-rds-49809.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``rds``", - "description": "Global clusters now expose the Endpoint attribute as one of its fields. It is a Read/Write endpoint for the global cluster which resolves to the Global Cluster writer instance." -} diff --git a/.changes/next-release/api-change-repostspace-80364.json b/.changes/next-release/api-change-repostspace-80364.json deleted file mode 100644 index 6ab6423e8d75..000000000000 --- a/.changes/next-release/api-change-repostspace-80364.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``repostspace``", - "description": "Adds the BatchAddRole and BatchRemoveRole APIs." -} diff --git a/.changes/next-release/api-change-timestreamquery-19176.json b/.changes/next-release/api-change-timestreamquery-19176.json deleted file mode 100644 index d5c76913adc1..000000000000 --- a/.changes/next-release/api-change-timestreamquery-19176.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``timestream-query``", - "description": "This release adds support for Query Insights, a feature that provides details of query execution, enabling users to identify areas for improvement to optimize their queries, resulting in improved query performance and lower query costs." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 81bf755d5f02..04a6f316b8a0 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,17 @@ CHANGELOG ========= +1.35.12 +======= + +* api-change:``bedrock-runtime``: Updating invoke regex to support imported models for converse API +* api-change:``imagebuilder``: Add macOS platform and instance placement options +* api-change:``m2``: Add AuthSecretsManagerArn optional parameter to batch job APIs, expand batch parameter limits, and introduce clientToken constraints. +* api-change:``rds``: Global clusters now expose the Endpoint attribute as one of its fields. It is a Read/Write endpoint for the global cluster which resolves to the Global Cluster writer instance. +* api-change:``repostspace``: Adds the BatchAddRole and BatchRemoveRole APIs. +* api-change:``timestream-query``: This release adds support for Query Insights, a feature that provides details of query execution, enabling users to identify areas for improvement to optimize their queries, resulting in improved query performance and lower query costs. + + 1.35.11 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 57fde7f67626..c3d6a44e3af4 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.35.11' +__version__ = '1.35.12' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 3251656a670f..3a0cc24e87e5 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.35.' # The full version, including alpha/beta/rc tags. -release = '1.35.11' +release = '1.35.12' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 315d7a2d2575..c4500e5c8dbb 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.45 + botocore==1.35.46 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 665590d2779f..36fffe9ea1e5 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.45', + 'botocore==1.35.46', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From e65a1753fbc9bbe6265eb72a9a753f10af8f1f48 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 23 Oct 2024 18:06:03 +0000 Subject: [PATCH 0263/1087] Update changelog based on model updates --- .changes/next-release/api-change-bedrock-50919.json | 5 +++++ .changes/next-release/api-change-connect-32316.json | 5 +++++ .changes/next-release/api-change-ec2-60791.json | 5 +++++ .changes/next-release/api-change-mwaa-61786.json | 5 +++++ .../next-release/api-change-paymentcryptography-88678.json | 5 +++++ .../api-change-paymentcryptographydata-40484.json | 5 +++++ 6 files changed, 30 insertions(+) create mode 100644 .changes/next-release/api-change-bedrock-50919.json create mode 100644 .changes/next-release/api-change-connect-32316.json create mode 100644 .changes/next-release/api-change-ec2-60791.json create mode 100644 .changes/next-release/api-change-mwaa-61786.json create mode 100644 .changes/next-release/api-change-paymentcryptography-88678.json create mode 100644 .changes/next-release/api-change-paymentcryptographydata-40484.json diff --git a/.changes/next-release/api-change-bedrock-50919.json b/.changes/next-release/api-change-bedrock-50919.json new file mode 100644 index 000000000000..c3dba29493aa --- /dev/null +++ b/.changes/next-release/api-change-bedrock-50919.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock``", + "description": "Doc updates for supporting converse" +} diff --git a/.changes/next-release/api-change-connect-32316.json b/.changes/next-release/api-change-connect-32316.json new file mode 100644 index 000000000000..8de7e77c1783 --- /dev/null +++ b/.changes/next-release/api-change-connect-32316.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``connect``", + "description": "Amazon Connect Service Feature: Add support to start screen sharing for a web calling contact." +} diff --git a/.changes/next-release/api-change-ec2-60791.json b/.changes/next-release/api-change-ec2-60791.json new file mode 100644 index 000000000000..bad0d0adae68 --- /dev/null +++ b/.changes/next-release/api-change-ec2-60791.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ec2``", + "description": "Amazon EC2 X8g, C8g and M8g instances are powered by AWS Graviton4 processors. X8g provide the lowest cost per GiB of memory among Graviton4 instances. C8g provide the best price performance for compute-intensive workloads. M8g provide the best price performance in for general purpose workloads." +} diff --git a/.changes/next-release/api-change-mwaa-61786.json b/.changes/next-release/api-change-mwaa-61786.json new file mode 100644 index 000000000000..842a8428852b --- /dev/null +++ b/.changes/next-release/api-change-mwaa-61786.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``mwaa``", + "description": "Introducing InvokeRestApi which allows users to invoke the Apache Airflow REST API on the webserver with the specified inputs." +} diff --git a/.changes/next-release/api-change-paymentcryptography-88678.json b/.changes/next-release/api-change-paymentcryptography-88678.json new file mode 100644 index 000000000000..47471e115e70 --- /dev/null +++ b/.changes/next-release/api-change-paymentcryptography-88678.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``payment-cryptography``", + "description": "Add support for ECC P-256 and P-384 Keys." +} diff --git a/.changes/next-release/api-change-paymentcryptographydata-40484.json b/.changes/next-release/api-change-paymentcryptographydata-40484.json new file mode 100644 index 000000000000..6acf163b2d3c --- /dev/null +++ b/.changes/next-release/api-change-paymentcryptographydata-40484.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``payment-cryptography-data``", + "description": "Add ECDH support on PIN operations." +} From 00ff7fe89fa14d1c2848c9b1252512a1f0891d83 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 23 Oct 2024 18:07:27 +0000 Subject: [PATCH 0264/1087] Bumping version to 1.35.13 --- .changes/1.35.13.json | 32 +++++++++++++++++++ .../api-change-bedrock-50919.json | 5 --- .../api-change-connect-32316.json | 5 --- .../next-release/api-change-ec2-60791.json | 5 --- .../next-release/api-change-mwaa-61786.json | 5 --- .../api-change-paymentcryptography-88678.json | 5 --- ...-change-paymentcryptographydata-40484.json | 5 --- CHANGELOG.rst | 11 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 12 files changed, 47 insertions(+), 34 deletions(-) create mode 100644 .changes/1.35.13.json delete mode 100644 .changes/next-release/api-change-bedrock-50919.json delete mode 100644 .changes/next-release/api-change-connect-32316.json delete mode 100644 .changes/next-release/api-change-ec2-60791.json delete mode 100644 .changes/next-release/api-change-mwaa-61786.json delete mode 100644 .changes/next-release/api-change-paymentcryptography-88678.json delete mode 100644 .changes/next-release/api-change-paymentcryptographydata-40484.json diff --git a/.changes/1.35.13.json b/.changes/1.35.13.json new file mode 100644 index 000000000000..a4eff790a41b --- /dev/null +++ b/.changes/1.35.13.json @@ -0,0 +1,32 @@ +[ + { + "category": "``bedrock``", + "description": "Doc updates for supporting converse", + "type": "api-change" + }, + { + "category": "``connect``", + "description": "Amazon Connect Service Feature: Add support to start screen sharing for a web calling contact.", + "type": "api-change" + }, + { + "category": "``ec2``", + "description": "Amazon EC2 X8g, C8g and M8g instances are powered by AWS Graviton4 processors. X8g provide the lowest cost per GiB of memory among Graviton4 instances. C8g provide the best price performance for compute-intensive workloads. M8g provide the best price performance in for general purpose workloads.", + "type": "api-change" + }, + { + "category": "``mwaa``", + "description": "Introducing InvokeRestApi which allows users to invoke the Apache Airflow REST API on the webserver with the specified inputs.", + "type": "api-change" + }, + { + "category": "``payment-cryptography``", + "description": "Add support for ECC P-256 and P-384 Keys.", + "type": "api-change" + }, + { + "category": "``payment-cryptography-data``", + "description": "Add ECDH support on PIN operations.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-bedrock-50919.json b/.changes/next-release/api-change-bedrock-50919.json deleted file mode 100644 index c3dba29493aa..000000000000 --- a/.changes/next-release/api-change-bedrock-50919.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock``", - "description": "Doc updates for supporting converse" -} diff --git a/.changes/next-release/api-change-connect-32316.json b/.changes/next-release/api-change-connect-32316.json deleted file mode 100644 index 8de7e77c1783..000000000000 --- a/.changes/next-release/api-change-connect-32316.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``connect``", - "description": "Amazon Connect Service Feature: Add support to start screen sharing for a web calling contact." -} diff --git a/.changes/next-release/api-change-ec2-60791.json b/.changes/next-release/api-change-ec2-60791.json deleted file mode 100644 index bad0d0adae68..000000000000 --- a/.changes/next-release/api-change-ec2-60791.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ec2``", - "description": "Amazon EC2 X8g, C8g and M8g instances are powered by AWS Graviton4 processors. X8g provide the lowest cost per GiB of memory among Graviton4 instances. C8g provide the best price performance for compute-intensive workloads. M8g provide the best price performance in for general purpose workloads." -} diff --git a/.changes/next-release/api-change-mwaa-61786.json b/.changes/next-release/api-change-mwaa-61786.json deleted file mode 100644 index 842a8428852b..000000000000 --- a/.changes/next-release/api-change-mwaa-61786.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``mwaa``", - "description": "Introducing InvokeRestApi which allows users to invoke the Apache Airflow REST API on the webserver with the specified inputs." -} diff --git a/.changes/next-release/api-change-paymentcryptography-88678.json b/.changes/next-release/api-change-paymentcryptography-88678.json deleted file mode 100644 index 47471e115e70..000000000000 --- a/.changes/next-release/api-change-paymentcryptography-88678.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``payment-cryptography``", - "description": "Add support for ECC P-256 and P-384 Keys." -} diff --git a/.changes/next-release/api-change-paymentcryptographydata-40484.json b/.changes/next-release/api-change-paymentcryptographydata-40484.json deleted file mode 100644 index 6acf163b2d3c..000000000000 --- a/.changes/next-release/api-change-paymentcryptographydata-40484.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``payment-cryptography-data``", - "description": "Add ECDH support on PIN operations." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 04a6f316b8a0..cf2ef040e6e0 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,17 @@ CHANGELOG ========= +1.35.13 +======= + +* api-change:``bedrock``: Doc updates for supporting converse +* api-change:``connect``: Amazon Connect Service Feature: Add support to start screen sharing for a web calling contact. +* api-change:``ec2``: Amazon EC2 X8g, C8g and M8g instances are powered by AWS Graviton4 processors. X8g provide the lowest cost per GiB of memory among Graviton4 instances. C8g provide the best price performance for compute-intensive workloads. M8g provide the best price performance in for general purpose workloads. +* api-change:``mwaa``: Introducing InvokeRestApi which allows users to invoke the Apache Airflow REST API on the webserver with the specified inputs. +* api-change:``payment-cryptography``: Add support for ECC P-256 and P-384 Keys. +* api-change:``payment-cryptography-data``: Add ECDH support on PIN operations. + + 1.35.12 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index c3d6a44e3af4..8e6c4f7083bf 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.35.12' +__version__ = '1.35.13' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 3a0cc24e87e5..d7571bce27e3 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.35.' # The full version, including alpha/beta/rc tags. -release = '1.35.12' +release = '1.35.13' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index c4500e5c8dbb..54af67f5a04a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.46 + botocore==1.35.47 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 36fffe9ea1e5..690b38d972a9 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.46', + 'botocore==1.35.47', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 17eadaa9356592ac71bc5f460eed7ce7be647470 Mon Sep 17 00:00:00 2001 From: jonathan343 <43360731+jonathan343@users.noreply.github.com> Date: Thu, 24 Oct 2024 12:07:53 -0400 Subject: [PATCH 0265/1087] Remove nimble examples following the deprecation of the service. (#8981) --- awscli/examples/nimble/get-eula.rst | 20 --- .../nimble/get-launch-profile-details.rst | 154 ------------------ awscli/examples/nimble/get-launch-profile.rst | 79 --------- awscli/examples/nimble/get-studio.rst | 33 ---- .../examples/nimble/list-eula-acceptances.rst | 57 ------- awscli/examples/nimble/list-eulas.rst | 77 --------- .../examples/nimble/list-launch-profiles.rst | 146 ----------------- .../nimble/list-studio-components.rst | 42 ----- .../examples/nimble/list-studio-members.rst | 20 --- awscli/examples/nimble/list-studios.rst | 34 ---- 10 files changed, 662 deletions(-) delete mode 100644 awscli/examples/nimble/get-eula.rst delete mode 100644 awscli/examples/nimble/get-launch-profile-details.rst delete mode 100644 awscli/examples/nimble/get-launch-profile.rst delete mode 100644 awscli/examples/nimble/get-studio.rst delete mode 100644 awscli/examples/nimble/list-eula-acceptances.rst delete mode 100644 awscli/examples/nimble/list-eulas.rst delete mode 100644 awscli/examples/nimble/list-launch-profiles.rst delete mode 100644 awscli/examples/nimble/list-studio-components.rst delete mode 100644 awscli/examples/nimble/list-studio-members.rst delete mode 100644 awscli/examples/nimble/list-studios.rst diff --git a/awscli/examples/nimble/get-eula.rst b/awscli/examples/nimble/get-eula.rst deleted file mode 100644 index 47cac3d7e23c..000000000000 --- a/awscli/examples/nimble/get-eula.rst +++ /dev/null @@ -1,20 +0,0 @@ -**To get information about your studio** - -The following ``get-eula`` example lists the information about an EULA. :: - - aws nimble get-eula \ - --eula-id "EULAid" - -Output:: - - { - "eula": { - "content": "https://www.mozilla.org/en-US/MPL/2.0/", - "createdAt": "2021-04-20T16:45:23+00:00", - "eulaId": "gJZLygd-Srq_5NNbSfiaLg", - "name": "Mozilla-FireFox", - "updatedAt": "2021-04-20T16:45:23+00:00" - } - } - -For more information, see `Accept the EULA `__ in the *Amazon Nimble Studio User Guide*. \ No newline at end of file diff --git a/awscli/examples/nimble/get-launch-profile-details.rst b/awscli/examples/nimble/get-launch-profile-details.rst deleted file mode 100644 index b4d4aa271cab..000000000000 --- a/awscli/examples/nimble/get-launch-profile-details.rst +++ /dev/null @@ -1,154 +0,0 @@ -**To list the available widgets** - -The following ``get-launch-profile-details`` example lists the details about a launch profile. :: - - aws nimble get-launch-profile-details \ - --studio-id "StudioID" \ - --launch-profile-id "LaunchProfileID" - -Output:: - - { - "launchProfile": { - "arn": "arn:aws:nimble:us-west-2:123456789012:launch-profile/yeG7lDwNQEiwNTRT7DrV7Q", - "createdAt": "2022-01-27T21:18:59+00:00", - "createdBy": "AROA3OO2NEHCCYRNDDIFT:i-EXAMPLE11111", - "description": "The Launch Profile for the Render workers created by StudioBuilder.", - "ec2SubnetIds": [ - "subnet-EXAMPLE11111" - ], - "launchProfileId": "yeG7lDwNQEiwNTRT7DrV7Q", - "launchProfileProtocolVersions": [ - "2021-03-31" - ], - "name": "RenderWorker-Default", - "state": "READY", - "statusCode": "LAUNCH_PROFILE_CREATED", - "statusMessage": "Launch Profile has been created", - "streamConfiguration": { - "clipboardMode": "ENABLED", - "ec2InstanceTypes": [ - "g4dn.4xlarge", - "g4dn.8xlarge" - ], - "maxSessionLengthInMinutes": 690, - "maxStoppedSessionLengthInMinutes": 0, - "streamingImageIds": [ - "Cw_jXnp1QcSSXhE2hkNRoQ", - "YGXAqgoWTnCNSV8VP20sHQ" - ] - }, - "studioComponentIds": [ - "_hR_-RaAReSOjAnLakbX7Q", - "vQ5w_TbIRayPkAZgcbyYRA", - "ZQuMxN99Qfa_Js6ma9TwdA", - "45KjOSPPRzK2OyvpCuQ6qw" - ], - "tags": { - "resourceArn": "arn:aws:nimble:us-west-2:123456789012:launch-profile/yeG7lDwNQEiwNTRT7DrV7Q" - }, - "updatedAt": "2022-01-27T21:19:13+00:00", - "updatedBy": "AROA3OO2NEHCCYRNDDIFT:i-00b98256b04d9e989", - "validationResults": [ - { - "state": "VALIDATION_SUCCESS", - "statusCode": "VALIDATION_SUCCESS", - "statusMessage": "The validation succeeded.", - "type": "VALIDATE_ACTIVE_DIRECTORY_STUDIO_COMPONENT" - }, - { - "state": "VALIDATION_SUCCESS", - "statusCode": "VALIDATION_SUCCESS", - "statusMessage": "The validation succeeded.", - "type": "VALIDATE_SUBNET_ASSOCIATION" - }, - { - "state": "VALIDATION_SUCCESS", - "statusCode": "VALIDATION_SUCCESS", - "statusMessage": "The validation succeeded.", - "type": "VALIDATE_NETWORK_ACL_ASSOCIATION" - }, - { - "state": "VALIDATION_SUCCESS", - "statusCode": "VALIDATION_SUCCESS", - "statusMessage": "The validation succeeded.", - "type": "VALIDATE_SECURITY_GROUP_ASSOCIATION" - } - ] - }, - "streamingImages": [ - { - "arn": "arn:aws:nimble:us-west-2:123456789012:streaming-image/Cw_jXnp1QcSSXhE2hkNRoQ", - "description": "Base windows image for NimbleStudio", - "ec2ImageId": "ami-EXAMPLE11111", - "eulaIds": [ - "gJZLygd-Srq_5NNbSfiaLg", - "ggK2eIw6RQyt8PIeeOlD3g", - "a-D9Wc0VQCKUfxAinCDxaw", - "RvoNmVXiSrS4LhLTb6ybkw", - "wtp85BcSTa2NZeNRnMKdjw", - "Rl-J0fM5Sl2hyIiwWIV6hw" - ], - "name": "NimbleStudioWindowsStreamImage", - "owner": "amazon", - "platform": "WINDOWS", - "state": "READY", - "streamingImageId": "Cw_jXnp1QcSSXhE2hkNRoQ", - "tags": { - "resourceArn": "arn:aws:nimble:us-west-2:123456789012:streaming-image/Cw_jXnp1QcSSXhE2hkNRoQ" - } - }, - { - "arn": "arn:aws:nimble:us-west-2:123456789012:streaming-image/YGXAqgoWTnCNSV8VP20sHQ", - "description": "Base linux image for NimbleStudio", - "ec2ImageId": "ami-EXAMPLE11111", - "eulaIds": [ - "gJZLygd-Srq_5NNbSfiaLg", - "ggK2eIw6RQyt8PIeeOlD3g", - "a-D9Wc0VQCKUfxAinCDxaw", - "RvoNmVXiSrS4LhLTb6ybkw", - "wtp85BcSTa2NZeNRnMKdjw", - "Rl-J0fM5Sl2hyIiwWIV6hw" - ], - "name": "NimbleStudioLinuxStreamImage", - "owner": "amazon", - "platform": "LINUX", - "state": "READY", - "streamingImageId": "YGXAqgoWTnCNSV8VP20sHQ", - "tags": { - "resourceArn": "arn:aws:nimble:us-west-2:123456789012:streaming-image/YGXAqgoWTnCNSV8VP20sHQ" - } - } - ], - "studioComponentSummaries": [ - { - "description": "FSx for Windows", - "name": "FSxWindows", - "studioComponentId": "ZQuMxN99Qfa_Js6ma9TwdA", - "subtype": "AMAZON_FSX_FOR_WINDOWS", - "type": "SHARED_FILE_SYSTEM" - }, - { - "description": "Instance configuration studio component.", - "name": "InstanceConfiguration", - "studioComponentId": "vQ5w_TbIRayPkAZgcbyYRA", - "subtype": "CUSTOM", - "type": "CUSTOM" - }, - { - "name": "ActiveDirectory", - "studioComponentId": "_hR_-RaAReSOjAnLakbX7Q", - "subtype": "AWS_MANAGED_MICROSOFT_AD", - "type": "ACTIVE_DIRECTORY" - }, - { - "description": "Render farm running Deadline", - "name": "RenderFarm", - "studioComponentId": "45KjOSPPRzK2OyvpCuQ6qw", - "subtype": "CUSTOM", - "type": "COMPUTE_FARM" - } - ] - } - -For more information, see `Creating launch profiles `__ in the *Amazon Nimble Studio User Guide*. \ No newline at end of file diff --git a/awscli/examples/nimble/get-launch-profile.rst b/awscli/examples/nimble/get-launch-profile.rst deleted file mode 100644 index 554bfbb5eecb..000000000000 --- a/awscli/examples/nimble/get-launch-profile.rst +++ /dev/null @@ -1,79 +0,0 @@ -**To list the available widgets** - -The following ``get-launch-profile`` example lists information about a launch profile. :: - - aws nimble get-launch-profile \ - --studio-id "StudioID" \ - --launch-profile-id "LaunchProfileID" - -Output:: - - { - "launchProfile": { - "arn": "arn:aws:nimble:us-west-2:123456789012:launch-profile/yeG7lDwNQEiwNTRT7DrV7Q", - "createdAt": "2022-01-27T21:18:59+00:00", - "createdBy": "AROA3OO2NEHCCYRNDDIFT:i-EXAMPLE11111", - "description": "The Launch Profile for the Render workers created by StudioBuilder.", - "ec2SubnetIds": [ - "subnet-EXAMPLE11111" - ], - "launchProfileId": "yeG7lDwNQEiwNTRT7DrV7Q", - "launchProfileProtocolVersions": [ - "2021-03-31" - ], - "name": "RenderWorker-Default", - "state": "READY", - "statusCode": "LAUNCH_PROFILE_CREATED", - "statusMessage": "Launch Profile has been created", - "streamConfiguration": { - "clipboardMode": "ENABLED", - "ec2InstanceTypes": [ - "g4dn.4xlarge", - "g4dn.8xlarge" - ], - "maxSessionLengthInMinutes": 690, - "maxStoppedSessionLengthInMinutes": 0, - "streamingImageIds": [ - "Cw_jXnp1QcSSXhE2hkNRoQ", - "YGXAqgoWTnCNSV8VP20sHQ" - ] - }, - "studioComponentIds": [ - "_hR_-RaAReSOjAnLakbX7Q", - "vQ5w_TbIRayPkAZgcbyYRA", - "ZQuMxN99Qfa_Js6ma9TwdA", - "45KjOSPPRzK2OyvpCuQ6qw" - ], - "tags": {}, - "updatedAt": "2022-01-27T21:19:13+00:00", - "updatedBy": "AROA3OO2NEHCCYRNDDIFT:i-00b98256b04d9e989", - "validationResults": [ - { - "state": "VALIDATION_SUCCESS", - "statusCode": "VALIDATION_SUCCESS", - "statusMessage": "The validation succeeded.", - "type": "VALIDATE_ACTIVE_DIRECTORY_STUDIO_COMPONENT" - }, - { - "state": "VALIDATION_SUCCESS", - "statusCode": "VALIDATION_SUCCESS", - "statusMessage": "The validation succeeded.", - "type": "VALIDATE_SUBNET_ASSOCIATION" - }, - { - "state": "VALIDATION_SUCCESS", - "statusCode": "VALIDATION_SUCCESS", - "statusMessage": "The validation succeeded.", - "type": "VALIDATE_NETWORK_ACL_ASSOCIATION" - }, - { - "state": "VALIDATION_SUCCESS", - "statusCode": "VALIDATION_SUCCESS", - "statusMessage": "The validation succeeded.", - "type": "VALIDATE_SECURITY_GROUP_ASSOCIATION" - } - ] - } - } - -For more information, see `Creating launch profiles `__ in the *Amazon Nimble Studio User Guide*. \ No newline at end of file diff --git a/awscli/examples/nimble/get-studio.rst b/awscli/examples/nimble/get-studio.rst deleted file mode 100644 index 1cf82fdb6888..000000000000 --- a/awscli/examples/nimble/get-studio.rst +++ /dev/null @@ -1,33 +0,0 @@ -**To get information about your studio** - -The following ``get-studio`` example lists the studios in your AWS account. :: - - aws nimble get-studio \ - --studio-id "StudioID" - -Output:: - - { - "studio": { - "adminRoleArn": "arn:aws:iam::123456789012:role/studio-admin-role", - "arn": "arn:aws:nimble:us-west-2:123456789012:studio/stid-EXAMPLE11111", - "createdAt": "2022-01-27T20:29:35+00:00", - "displayName": "studio-name", - "homeRegion": "us-west-2", - "ssoClientId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111", - "state": "READY", - "statusCode": "STUDIO_CREATED", - "statusMessage": "The studio has been created successfully ", - "studioEncryptionConfiguration": { - "keyType": "AWS_OWNED_KEY" - }, - "studioId": "us-west-2:stid-EXAMPLE11111", - "studioName": "studio-name", - "studioUrl": "https://studio-name.nimblestudio.us-west-2.amazonaws.com", - "tags": {}, - "updatedAt": "2022-01-27T20:29:37+00:00", - "userRoleArn": "arn:aws:iam::123456789012:role/studio-user-role" - } - } - -For more information, see `What is Amazon Nimble Studio? `__ in the *Amazon Nimble Studio User Guide*. diff --git a/awscli/examples/nimble/list-eula-acceptances.rst b/awscli/examples/nimble/list-eula-acceptances.rst deleted file mode 100644 index 96b68500e417..000000000000 --- a/awscli/examples/nimble/list-eula-acceptances.rst +++ /dev/null @@ -1,57 +0,0 @@ -**To list the available widgets** - -The following ``list-eula-acceptances`` example lists the accepted EULAs in your AWS account. :: - - aws nimble list-eula-acceptances \ - --studio-id "StudioID" - -Output:: - - { - "eulaAcceptances": [ - { - "acceptedAt": "2022-01-28T17:44:35+00:00", - "acceptedBy": "92677b4b19-e9fd012a-94ad-4f16-9866-c69a63ab6486", - "accepteeId": "us-west-2:stid-nyoqq12fteqy1x48", - "eulaAcceptanceId": "V0JlpZQaSx6yHcUuX0qfQw", - "eulaId": "Rl-J0fM5Sl2hyIiwWIV6hw" - }, - { - "acceptedAt": "2022-01-28T17:44:35+00:00", - "acceptedBy": "92677b4b19-e9fd012a-94ad-4f16-9866-c69a63ab6486", - "accepteeId": "us-west-2:stid-nyoqq12fteqy1x48", - "eulaAcceptanceId": "YY_uDFW-SVibc627qbug0Q", - "eulaId": "RvoNmVXiSrS4LhLTb6ybkw" - }, - { - "acceptedAt": "2022-01-28T17:44:35+00:00", - "acceptedBy": "92677b4b19-e9fd012a-94ad-4f16-9866-c69a63ab6486", - "accepteeId": "us-west-2:stid-nyoqq12fteqy1x48", - "eulaAcceptanceId": "ovO87PnhQ4-MpttiL5uN6Q", - "eulaId": "a-D9Wc0VQCKUfxAinCDxaw" - }, - { - "acceptedAt": "2022-01-28T17:44:35+00:00", - "acceptedBy": "92677b4b19-e9fd012a-94ad-4f16-9866-c69a63ab6486", - "accepteeId": "us-west-2:stid-nyoqq12fteqy1x48", - "eulaAcceptanceId": "5YeXje4yROamuTESGvqIAQ", - "eulaId": "gJZLygd-Srq_5NNbSfiaLg" - }, - { - "acceptedAt": "2022-01-28T17:44:35+00:00", - "acceptedBy": "92677b4b19-e9fd012a-94ad-4f16-9866-c69a63ab6486", - "accepteeId": "us-west-2:stid-nyoqq12fteqy1x48", - "eulaAcceptanceId": "W1sIn8PtScqeJEn8sxxhgw", - "eulaId": "ggK2eIw6RQyt8PIeeOlD3g" - }, - { - "acceptedAt": "2022-01-28T17:44:35+00:00", - "acceptedBy": "92677b4b19-e9fd012a-94ad-4f16-9866-c69a63ab6486", - "accepteeId": "us-west-2:stid-nyoqq12fteqy1x48", - "eulaAcceptanceId": "Zq9KNEQPRMWJ7FolSoQgUA", - "eulaId": "wtp85BcSTa2NZeNRnMKdjw" - } - ] - } - -For more information, see `Accept the EULA `__ in the *Amazon Nimble Studio User Guide*. \ No newline at end of file diff --git a/awscli/examples/nimble/list-eulas.rst b/awscli/examples/nimble/list-eulas.rst deleted file mode 100644 index 08798a967813..000000000000 --- a/awscli/examples/nimble/list-eulas.rst +++ /dev/null @@ -1,77 +0,0 @@ -**To list the available widgets** - -The following ``list-eulas`` example lists the EULAs in your AWS account. :: - - aws nimble list-eulas - -Output:: - - { - "eulas": [ - { - "content": "https://www.mozilla.org/en-US/MPL/2.0/", - "createdAt": "2021-04-20T16:45:23+00:00", - "eulaId": "gJZLygd-Srq_5NNbSfiaLg", - "name": "Mozilla-FireFox", - "updatedAt": "2021-04-20T16:45:23+00:00" - }, - { - "content": "https://www.awsthinkbox.com/end-user-license-agreement", - "createdAt": "2021-04-20T16:45:24+00:00", - "eulaId": "RvoNmVXiSrS4LhLTb6ybkw", - "name": "Thinkbox-Deadline", - "updatedAt": "2021-04-20T16:45:24+00:00" - }, - { - "content": "https://www.videolan.org/legal.html", - "createdAt": "2021-04-20T16:45:24+00:00", - "eulaId": "Rl-J0fM5Sl2hyIiwWIV6hw", - "name": "Videolan-VLC", - "updatedAt": "2021-04-20T16:45:24+00:00" - }, - { - "content": "https://code.visualstudio.com/license", - "createdAt": "2021-04-20T16:45:23+00:00", - "eulaId": "ggK2eIw6RQyt8PIeeOlD3g", - "name": "Microsoft-VSCode", - "updatedAt": "2021-04-20T16:45:23+00:00" - }, - { - "content": "https://darbyjohnston.github.io/DJV/legal.html#License", - "createdAt": "2021-04-20T16:45:23+00:00", - "eulaId": "wtp85BcSTa2NZeNRnMKdjw", - "name": "DJV-DJV", - "updatedAt": "2021-04-20T16:45:23+00:00" - }, - { - "content": "https://www.sidefx.com/legal/license-agreement/", - "createdAt": "2021-04-20T16:45:24+00:00", - "eulaId": "uu2VDLo-QJeIGWWLBae_UA", - "name": "SideFX-Houdini", - "updatedAt": "2021-04-20T16:45:24+00:00" - }, - { - "content": "https://www.chaosgroup.com/eula", - "createdAt": "2021-04-20T16:45:23+00:00", - "eulaId": "L0HS4P3CRYKVXc2J2LO7Vw", - "name": "ChaosGroup-Vray", - "updatedAt": "2021-04-20T16:45:23+00:00" - }, - { - "content": "https://www.foundry.com/eula", - "createdAt": "2021-04-20T16:45:23+00:00", - "eulaId": "SAuhfHmmSAeUuq3wsMiMlw", - "name": "Foundry-Nuke", - "updatedAt": "2021-04-20T16:45:23+00:00" - }, - { - "content": "https://download.blender.org/release/GPL3-license.txt", - "createdAt": "2021-04-20T16:45:23+00:00", - "eulaId": "a-D9Wc0VQCKUfxAinCDxaw", - "name": "BlenderFoundation-Blender", - "updatedAt": "2021-04-20T16:45:23+00:00" - } - ] - } - -For more information, see `Accept the EULA `__ in the *Amazon Nimble Studio User Guide*. \ No newline at end of file diff --git a/awscli/examples/nimble/list-launch-profiles.rst b/awscli/examples/nimble/list-launch-profiles.rst deleted file mode 100644 index ab0d2d9cf701..000000000000 --- a/awscli/examples/nimble/list-launch-profiles.rst +++ /dev/null @@ -1,146 +0,0 @@ -**To list the available widgets** - -The following ``list-launch-profiles`` example lists the launch profiles in your AWS account. :: - - aws nimble list-launch-profiles \ - --studio-id "StudioID" - -Output:: - - { - "launchProfiles": [ - { - "arn": "arn:aws:nimble:us-west-2:123456789012:launch-profile/yeG7lDwNQEiwNTRT7DrV7Q", - "createdAt": "2022-01-27T21:18:59+00:00", - "createdBy": "AROA3OO2NEHCCYRNDDIFT:i-EXAMPLE11111", - "description": "The Launch Profile for the Render workers created by StudioBuilder.", - "ec2SubnetIds": [ - "subnet-EXAMPLE11111" - ], - "launchProfileId": "yeG7lDwNQEiwNTRT7DrV7Q", - "launchProfileProtocolVersions": [ - "2021-03-31" - ], - "name": "RenderWorker-Default", - "state": "READY", - "statusCode": "LAUNCH_PROFILE_CREATED", - "statusMessage": "Launch Profile has been created", - "streamConfiguration": { - "clipboardMode": "ENABLED", - "ec2InstanceTypes": [ - "g4dn.4xlarge", - "g4dn.8xlarge" - ], - "maxSessionLengthInMinutes": 690, - "maxStoppedSessionLengthInMinutes": 0, - "streamingImageIds": [ - "Cw_jXnp1QcSSXhE2hkNRoQ", - "YGXAqgoWTnCNSV8VP20sHQ" - ] - }, - "studioComponentIds": [ - "_hR_-RaAReSOjAnLakbX7Q", - "vQ5w_TbIRayPkAZgcbyYRA", - "ZQuMxN99Qfa_Js6ma9TwdA", - "45KjOSPPRzK2OyvpCuQ6qw" - ], - "tags": {}, - "updatedAt": "2022-01-27T21:19:13+00:00", - "updatedBy": "AROA3OO2NEHCCYRNDDIFT:i-EXAMPLE11111", - "validationResults": [ - { - "state": "VALIDATION_SUCCESS", - "statusCode": "VALIDATION_SUCCESS", - "statusMessage": "The validation succeeded.", - "type": "VALIDATE_ACTIVE_DIRECTORY_STUDIO_COMPONENT" - }, - { - "state": "VALIDATION_SUCCESS", - "statusCode": "VALIDATION_SUCCESS", - "statusMessage": "The validation succeeded.", - "type": "VALIDATE_SUBNET_ASSOCIATION" - }, - { - "state": "VALIDATION_SUCCESS", - "statusCode": "VALIDATION_SUCCESS", - "statusMessage": "The validation succeeded.", - "type": "VALIDATE_NETWORK_ACL_ASSOCIATION" - }, - { - "state": "VALIDATION_SUCCESS", - "statusCode": "VALIDATION_SUCCESS", - "statusMessage": "The validation succeeded.", - "type": "VALIDATE_SECURITY_GROUP_ASSOCIATION" - } - ] - }, - { - "arn": "arn:aws:nimble:us-west-2:123456789012:launch-profile/jDCIm1jRSaa9e44PZ3w7gg", - "createdAt": "2022-01-27T21:19:26+00:00", - "createdBy": "AROA3OO2NEHCCYRNDDIFT:i-EXAMPLE11111", - "description": "This Workstation Launch Profile was created by StudioBuilder", - "ec2SubnetIds": [ - "subnet-046f4205ae535b2cc" - ], - "launchProfileId": "jDCIm1jRSaa9e44PZ3w7gg", - "launchProfileProtocolVersions": [ - "2021-03-31" - ], - "name": "Workstation-Default", - "state": "READY", - "statusCode": "LAUNCH_PROFILE_CREATED", - "statusMessage": "Launch Profile has been created", - "streamConfiguration": { - "clipboardMode": "ENABLED", - "ec2InstanceTypes": [ - "g4dn.4xlarge", - "g4dn.8xlarge" - ], - "maxSessionLengthInMinutes": 690, - "maxStoppedSessionLengthInMinutes": 0, - "streamingImageIds": [ - "Cw_jXnp1QcSSXhE2hkNRoQ", - "YGXAqgoWTnCNSV8VP20sHQ" - ] - }, - "studioComponentIds": [ - "_hR_-RaAReSOjAnLakbX7Q", - "vQ5w_TbIRayPkAZgcbyYRA", - "ZQuMxN99Qfa_Js6ma9TwdA", - "yJSbsHXAQYWk9FXLNusXlQ", - "45KjOSPPRzK2OyvpCuQ6qw" - ], - "tags": {}, - "updatedAt": "2022-01-27T21:19:40+00:00", - "updatedBy": "AROA3OO2NEHCCYRNDDIFT:i-EXAMPLE11111", - "validationResults": [ - { - "state": "VALIDATION_SUCCESS", - "statusCode": "VALIDATION_SUCCESS", - "statusMessage": "The validation succeeded.", - "type": "VALIDATE_ACTIVE_DIRECTORY_STUDIO_COMPONENT" - }, - { - "state": "VALIDATION_SUCCESS", - "statusCode": "VALIDATION_SUCCESS", - "statusMessage": "The validation succeeded.", - "type": "VALIDATE_SUBNET_ASSOCIATION" - }, - { - "state": "VALIDATION_SUCCESS", - "statusCode": "VALIDATION_SUCCESS", - "statusMessage": "The validation succeeded.", - "type": "VALIDATE_NETWORK_ACL_ASSOCIATION" - }, - { - "state": "VALIDATION_SUCCESS", - "statusCode": "VALIDATION_SUCCESS", - "statusMessage": "The validation succeeded.", - "type": "VALIDATE_SECURITY_GROUP_ASSOCIATION" - } - ] - } - ] - } - -For more information, see `Creating launch profiles `__ in the *Amazon Nimble Studio User Guide*. \ No newline at end of file diff --git a/awscli/examples/nimble/list-studio-components.rst b/awscli/examples/nimble/list-studio-components.rst deleted file mode 100644 index c8fa4f47bfb6..000000000000 --- a/awscli/examples/nimble/list-studio-components.rst +++ /dev/null @@ -1,42 +0,0 @@ -**To list the available widgets** - -The following ``list-studio-components`` example lists the studio components in your AWS account. :: - - aws nimble list-studio-components \ - --studio-id "StudioID" - -Output:: - - { - "studioComponents": [ - { - "arn": "arn:aws:nimble:us-west-2:123456789012:studio-component/ZQuMxN99Qfa_Js6ma9TwdA", - "configuration": { - "sharedFileSystemConfiguration": { - "fileSystemId": "fs-EXAMPLE11111", - "linuxMountPoint": "/mnt/fsxshare", - "shareName": "share", - "windowsMountDrive": "Z" - } - }, - "createdAt": "2022-01-27T21:15:34+00:00", - "createdBy": "AROA3OO2NEHCCYRNDDIFT:i-EXAMPLE11111", - "description": "FSx for Windows", - "ec2SecurityGroupIds": [ - "sg-EXAMPLE11111" - ], - "name": "FSxWindows", - "state": "READY", - "statusCode": "STUDIO_COMPONENT_CREATED", - "statusMessage": "Studio Component has been created", - "studioComponentId": "ZQuMxN99Qfa_Js6ma9TwdA", - "subtype": "AMAZON_FSX_FOR_WINDOWS", - "tags": {}, - "type": "SHARED_FILE_SYSTEM", - "updatedAt": "2022-01-27T21:15:35+00:00", - "updatedBy": "AROA3OO2NEHCCYRNDDIFT:i-EXAMPLE11111" - }, - ... - } - -For more information, see `How StudioBuilder works with Amazon Nimble Studio `__ in the *Amazon Nimble Studio User Guide*. \ No newline at end of file diff --git a/awscli/examples/nimble/list-studio-members.rst b/awscli/examples/nimble/list-studio-members.rst deleted file mode 100644 index a6952e6fc531..000000000000 --- a/awscli/examples/nimble/list-studio-members.rst +++ /dev/null @@ -1,20 +0,0 @@ -**To list the available widgets** - -The following ``list-studio-members`` example lists the available studio members in your AWS account. :: - - aws nimble list-studio-members \ - --studio-id "StudioID" - -Output:: - - { - "members": [ - { - "identityStoreId": "d-EXAMPLE11111", - "persona": "ADMINISTRATOR", - "principalId": "EXAMPLE11111-e9fd012a-94ad-4f16-9866-c69a63ab6486" - } - ] - } - -For more information, see `Adding studio users `__ in the *Amazon Nimble Studio User Guide*. \ No newline at end of file diff --git a/awscli/examples/nimble/list-studios.rst b/awscli/examples/nimble/list-studios.rst deleted file mode 100644 index 10c90110898a..000000000000 --- a/awscli/examples/nimble/list-studios.rst +++ /dev/null @@ -1,34 +0,0 @@ -**To list your studios** - -The following ``list-studios`` example lists the studios in your AWS account. :: - - aws nimble list-studios - -Output:: - - { - "studios": [ - { - "adminRoleArn": "arn:aws:iam::123456789012:role/studio-admin-role", - "arn": "arn:aws:nimble:us-west-2:123456789012:studio/studio-id", - "createdAt": "2022-01-27T20:29:35+00:00", - "displayName": "studio-name", - "homeRegion": "us-west-2", - "ssoClientId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111", - "state": "READY", - "statusCode": "STUDIO_CREATED", - "statusMessage": "The studio has been created successfully ", - "studioEncryptionConfiguration": { - "keyType": "AWS_OWNED_KEY" - }, - "studioId": "us-west-2:studio-id", - "studioName": "studio-name", - "studioUrl": "https://studio-name.nimblestudio.us-west-2.amazonaws.com", - "tags": {}, - "updatedAt": "2022-01-27T20:29:37+00:00", - "userRoleArn": "arn:aws:iam::123456789012:role/studio-user-role" - } - ] - } - -For more information, see `What is Amazon Nimble Studio? `__ in the *Amazon Nimble Studio User Guide*. \ No newline at end of file From 159b38e4c8432845199ac96de5e72ed2cd042aa7 Mon Sep 17 00:00:00 2001 From: Alex Shovlin Date: Thu, 24 Oct 2024 12:00:07 -0500 Subject: [PATCH 0266/1087] Improve performance when parsing invalid shorthand syntax (#8999) --- .../next-release/bugfix-shorthand-99230.json | 5 ++++ awscli/shorthand.py | 4 ++-- tests/unit/test_shorthand.py | 24 ++++++++++++++++++- 3 files changed, 30 insertions(+), 3 deletions(-) create mode 100644 .changes/next-release/bugfix-shorthand-99230.json diff --git a/.changes/next-release/bugfix-shorthand-99230.json b/.changes/next-release/bugfix-shorthand-99230.json new file mode 100644 index 000000000000..211eafc0cb28 --- /dev/null +++ b/.changes/next-release/bugfix-shorthand-99230.json @@ -0,0 +1,5 @@ +{ + "type": "bugfix", + "category": "shorthand", + "description": "Improve performance when parsing invalid shorthand syntax." +} diff --git a/awscli/shorthand.py b/awscli/shorthand.py index 5309dfe02f43..255598ff6862 100644 --- a/awscli/shorthand.py +++ b/awscli/shorthand.py @@ -124,8 +124,8 @@ class ShorthandParser: """ - _SINGLE_QUOTED = _NamedRegex('singled quoted', r'\'(?:\\\\|\\\'|[^\'])*\'') - _DOUBLE_QUOTED = _NamedRegex('double quoted', r'"(?:\\\\|\\"|[^"])*"') + _SINGLE_QUOTED = _NamedRegex('singled quoted', r'\'(?:\\\'|[^\'])*\'') + _DOUBLE_QUOTED = _NamedRegex('double quoted', r'"(?:\\"|[^"])*"') _START_WORD = r'\!\#-&\(-\+\--\<\>-Z\\\\-z\u007c-\uffff' _FIRST_FOLLOW_CHARS = r'\s\!\#-&\(-\+\--\\\\\^-\|~-\uffff' _SECOND_FOLLOW_CHARS = r'\s\!\#-&\(-\+\--\<\>-\uffff' diff --git a/tests/unit/test_shorthand.py b/tests/unit/test_shorthand.py index 2cc422ff741b..21a95f06d684 100644 --- a/tests/unit/test_shorthand.py +++ b/tests/unit/test_shorthand.py @@ -11,9 +11,10 @@ # ANY KIND, either express or implied. See the License for the specific # language governing permissions and limitations under the License. import pytest +import signal from awscli import shorthand -from awscli.testutils import unittest +from awscli.testutils import unittest, skip_if_windows from botocore import model @@ -152,6 +153,27 @@ def test_error_parsing(expr): shorthand.ShorthandParser().parse(expr) +@pytest.mark.parametrize( + "expr", ( + # starting with " but unclosed, then repeated \ + f'foo="' + '\\' * 100, + # starting with ' but unclosed, then repeated \ + f'foo=\'' + '\\' * 100, + ) +) +@skip_if_windows("Windows does not support signal.SIGALRM.") +def test_error_with_backtracking(expr): + signal.signal(signal.SIGALRM, handle_timeout) + # Ensure we don't spend more than 5 seconds backtracking + signal.alarm(5) + with pytest.raises(shorthand.ShorthandParseError): + shorthand.ShorthandParser().parse(expr) + signal.alarm(0) + + +def handle_timeout(signum, frame): + raise TimeoutError('Shorthand parsing timed out') + @pytest.mark.parametrize( 'data, expected', PARSING_TEST_CASES From 181dfe7244e5b7ae54c27f840403ded1027610e8 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 24 Oct 2024 18:08:19 +0000 Subject: [PATCH 0267/1087] Update changelog based on model updates --- .changes/next-release/api-change-appconfig-81971.json | 5 +++++ .changes/next-release/api-change-ec2-3927.json | 5 +++++ .changes/next-release/api-change-ecs-70643.json | 5 +++++ .changes/next-release/api-change-pcs-58839.json | 5 +++++ .changes/next-release/api-change-qbusiness-92973.json | 5 +++++ 5 files changed, 25 insertions(+) create mode 100644 .changes/next-release/api-change-appconfig-81971.json create mode 100644 .changes/next-release/api-change-ec2-3927.json create mode 100644 .changes/next-release/api-change-ecs-70643.json create mode 100644 .changes/next-release/api-change-pcs-58839.json create mode 100644 .changes/next-release/api-change-qbusiness-92973.json diff --git a/.changes/next-release/api-change-appconfig-81971.json b/.changes/next-release/api-change-appconfig-81971.json new file mode 100644 index 000000000000..39e7dcd86cbb --- /dev/null +++ b/.changes/next-release/api-change-appconfig-81971.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``appconfig``", + "description": "This release improves deployment safety by granting customers the ability to REVERT completed deployments, to the last known good state.In the StopDeployment API revert case the status of a COMPLETE deployment will be REVERTED. AppConfig only allows a revert within 72 hours of deployment completion." +} diff --git a/.changes/next-release/api-change-ec2-3927.json b/.changes/next-release/api-change-ec2-3927.json new file mode 100644 index 000000000000..5972f6a59969 --- /dev/null +++ b/.changes/next-release/api-change-ec2-3927.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ec2``", + "description": "This release includes a new API to describe some details of the Amazon Machine Images (AMIs) that were used to launch EC2 instances, even if those AMIs are no longer available for use." +} diff --git a/.changes/next-release/api-change-ecs-70643.json b/.changes/next-release/api-change-ecs-70643.json new file mode 100644 index 000000000000..ca8f949034d2 --- /dev/null +++ b/.changes/next-release/api-change-ecs-70643.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ecs``", + "description": "This release adds support for EBS volumes attached to Amazon ECS Windows tasks running on EC2 instances." +} diff --git a/.changes/next-release/api-change-pcs-58839.json b/.changes/next-release/api-change-pcs-58839.json new file mode 100644 index 000000000000..8296469c537d --- /dev/null +++ b/.changes/next-release/api-change-pcs-58839.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``pcs``", + "description": "Documentation update: added the default value of the Slurm configuration parameter scaleDownIdleTimeInSeconds to its description." +} diff --git a/.changes/next-release/api-change-qbusiness-92973.json b/.changes/next-release/api-change-qbusiness-92973.json new file mode 100644 index 000000000000..90b7ae9a14c0 --- /dev/null +++ b/.changes/next-release/api-change-qbusiness-92973.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``qbusiness``", + "description": "Add a new field in chat response. This field can be used to support nested schemas in array fields" +} From 70fcd02cf37a6cb56c9d19dc2a2b769c4e8cc5e5 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 24 Oct 2024 18:09:29 +0000 Subject: [PATCH 0268/1087] Bumping version to 1.35.14 --- .changes/1.35.14.json | 32 +++++++++++++++++++ .../api-change-appconfig-81971.json | 5 --- .../next-release/api-change-ec2-3927.json | 5 --- .../next-release/api-change-ecs-70643.json | 5 --- .../next-release/api-change-pcs-58839.json | 5 --- .../api-change-qbusiness-92973.json | 5 --- .../next-release/bugfix-shorthand-99230.json | 5 --- CHANGELOG.rst | 11 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 12 files changed, 47 insertions(+), 34 deletions(-) create mode 100644 .changes/1.35.14.json delete mode 100644 .changes/next-release/api-change-appconfig-81971.json delete mode 100644 .changes/next-release/api-change-ec2-3927.json delete mode 100644 .changes/next-release/api-change-ecs-70643.json delete mode 100644 .changes/next-release/api-change-pcs-58839.json delete mode 100644 .changes/next-release/api-change-qbusiness-92973.json delete mode 100644 .changes/next-release/bugfix-shorthand-99230.json diff --git a/.changes/1.35.14.json b/.changes/1.35.14.json new file mode 100644 index 000000000000..3c60b1225964 --- /dev/null +++ b/.changes/1.35.14.json @@ -0,0 +1,32 @@ +[ + { + "category": "``appconfig``", + "description": "This release improves deployment safety by granting customers the ability to REVERT completed deployments, to the last known good state.In the StopDeployment API revert case the status of a COMPLETE deployment will be REVERTED. AppConfig only allows a revert within 72 hours of deployment completion.", + "type": "api-change" + }, + { + "category": "``ec2``", + "description": "This release includes a new API to describe some details of the Amazon Machine Images (AMIs) that were used to launch EC2 instances, even if those AMIs are no longer available for use.", + "type": "api-change" + }, + { + "category": "``ecs``", + "description": "This release adds support for EBS volumes attached to Amazon ECS Windows tasks running on EC2 instances.", + "type": "api-change" + }, + { + "category": "``pcs``", + "description": "Documentation update: added the default value of the Slurm configuration parameter scaleDownIdleTimeInSeconds to its description.", + "type": "api-change" + }, + { + "category": "``qbusiness``", + "description": "Add a new field in chat response. This field can be used to support nested schemas in array fields", + "type": "api-change" + }, + { + "category": "shorthand", + "description": "Improve performance when parsing invalid shorthand syntax.", + "type": "bugfix" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-appconfig-81971.json b/.changes/next-release/api-change-appconfig-81971.json deleted file mode 100644 index 39e7dcd86cbb..000000000000 --- a/.changes/next-release/api-change-appconfig-81971.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``appconfig``", - "description": "This release improves deployment safety by granting customers the ability to REVERT completed deployments, to the last known good state.In the StopDeployment API revert case the status of a COMPLETE deployment will be REVERTED. AppConfig only allows a revert within 72 hours of deployment completion." -} diff --git a/.changes/next-release/api-change-ec2-3927.json b/.changes/next-release/api-change-ec2-3927.json deleted file mode 100644 index 5972f6a59969..000000000000 --- a/.changes/next-release/api-change-ec2-3927.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ec2``", - "description": "This release includes a new API to describe some details of the Amazon Machine Images (AMIs) that were used to launch EC2 instances, even if those AMIs are no longer available for use." -} diff --git a/.changes/next-release/api-change-ecs-70643.json b/.changes/next-release/api-change-ecs-70643.json deleted file mode 100644 index ca8f949034d2..000000000000 --- a/.changes/next-release/api-change-ecs-70643.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ecs``", - "description": "This release adds support for EBS volumes attached to Amazon ECS Windows tasks running on EC2 instances." -} diff --git a/.changes/next-release/api-change-pcs-58839.json b/.changes/next-release/api-change-pcs-58839.json deleted file mode 100644 index 8296469c537d..000000000000 --- a/.changes/next-release/api-change-pcs-58839.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``pcs``", - "description": "Documentation update: added the default value of the Slurm configuration parameter scaleDownIdleTimeInSeconds to its description." -} diff --git a/.changes/next-release/api-change-qbusiness-92973.json b/.changes/next-release/api-change-qbusiness-92973.json deleted file mode 100644 index 90b7ae9a14c0..000000000000 --- a/.changes/next-release/api-change-qbusiness-92973.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``qbusiness``", - "description": "Add a new field in chat response. This field can be used to support nested schemas in array fields" -} diff --git a/.changes/next-release/bugfix-shorthand-99230.json b/.changes/next-release/bugfix-shorthand-99230.json deleted file mode 100644 index 211eafc0cb28..000000000000 --- a/.changes/next-release/bugfix-shorthand-99230.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "bugfix", - "category": "shorthand", - "description": "Improve performance when parsing invalid shorthand syntax." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index cf2ef040e6e0..271ac6de4712 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,17 @@ CHANGELOG ========= +1.35.14 +======= + +* api-change:``appconfig``: This release improves deployment safety by granting customers the ability to REVERT completed deployments, to the last known good state.In the StopDeployment API revert case the status of a COMPLETE deployment will be REVERTED. AppConfig only allows a revert within 72 hours of deployment completion. +* api-change:``ec2``: This release includes a new API to describe some details of the Amazon Machine Images (AMIs) that were used to launch EC2 instances, even if those AMIs are no longer available for use. +* api-change:``ecs``: This release adds support for EBS volumes attached to Amazon ECS Windows tasks running on EC2 instances. +* api-change:``pcs``: Documentation update: added the default value of the Slurm configuration parameter scaleDownIdleTimeInSeconds to its description. +* api-change:``qbusiness``: Add a new field in chat response. This field can be used to support nested schemas in array fields +* bugfix:shorthand: Improve performance when parsing invalid shorthand syntax. + + 1.35.13 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 8e6c4f7083bf..07d49af2024b 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.35.13' +__version__ = '1.35.14' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index d7571bce27e3..09800f6b55b5 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.35.' # The full version, including alpha/beta/rc tags. -release = '1.35.13' +release = '1.35.14' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 54af67f5a04a..7ea570c20eb3 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.47 + botocore==1.35.48 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 690b38d972a9..e3600ca42ed7 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.47', + 'botocore==1.35.48', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 133d24330bde76a1425070d31e9e708427b5334b Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 25 Oct 2024 18:06:09 +0000 Subject: [PATCH 0269/1087] Update changelog based on model updates --- .changes/next-release/api-change-bedrockagent-54148.json | 5 +++++ .changes/next-release/api-change-codebuild-78314.json | 5 +++++ .changes/next-release/api-change-lambda-58139.json | 5 +++++ .changes/next-release/api-change-logs-66262.json | 5 +++++ .changes/next-release/api-change-supplychain-21189.json | 5 +++++ 5 files changed, 25 insertions(+) create mode 100644 .changes/next-release/api-change-bedrockagent-54148.json create mode 100644 .changes/next-release/api-change-codebuild-78314.json create mode 100644 .changes/next-release/api-change-lambda-58139.json create mode 100644 .changes/next-release/api-change-logs-66262.json create mode 100644 .changes/next-release/api-change-supplychain-21189.json diff --git a/.changes/next-release/api-change-bedrockagent-54148.json b/.changes/next-release/api-change-bedrockagent-54148.json new file mode 100644 index 000000000000..5c3e1eae76d9 --- /dev/null +++ b/.changes/next-release/api-change-bedrockagent-54148.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-agent``", + "description": "Add support of new model types for Bedrock Agents, Adding inference profile support for Flows and Prompt Management, Adding new field to configure additional inference configurations for Flows and Prompt Management" +} diff --git a/.changes/next-release/api-change-codebuild-78314.json b/.changes/next-release/api-change-codebuild-78314.json new file mode 100644 index 000000000000..78dbd9ffd341 --- /dev/null +++ b/.changes/next-release/api-change-codebuild-78314.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``codebuild``", + "description": "AWS CodeBuild now supports automatically retrying failed builds" +} diff --git a/.changes/next-release/api-change-lambda-58139.json b/.changes/next-release/api-change-lambda-58139.json new file mode 100644 index 000000000000..58d4f0901791 --- /dev/null +++ b/.changes/next-release/api-change-lambda-58139.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``lambda``", + "description": "Add TagsError field in Lambda GetFunctionResponse. The TagsError field contains details related to errors retrieving tags." +} diff --git a/.changes/next-release/api-change-logs-66262.json b/.changes/next-release/api-change-logs-66262.json new file mode 100644 index 000000000000..78817018d41c --- /dev/null +++ b/.changes/next-release/api-change-logs-66262.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``logs``", + "description": "Adding inferred token name for dynamic tokens in Anomalies." +} diff --git a/.changes/next-release/api-change-supplychain-21189.json b/.changes/next-release/api-change-supplychain-21189.json new file mode 100644 index 000000000000..4a39a3b38dc4 --- /dev/null +++ b/.changes/next-release/api-change-supplychain-21189.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``supplychain``", + "description": "API doc updates, and also support showing error message on a failed instance" +} From 046c63603d0bf768da797fac263d0752c8a21fed Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 25 Oct 2024 18:07:19 +0000 Subject: [PATCH 0270/1087] Bumping version to 1.35.15 --- .changes/1.35.15.json | 27 +++++++++++++++++++ .../api-change-bedrockagent-54148.json | 5 ---- .../api-change-codebuild-78314.json | 5 ---- .../next-release/api-change-lambda-58139.json | 5 ---- .../next-release/api-change-logs-66262.json | 5 ---- .../api-change-supplychain-21189.json | 5 ---- CHANGELOG.rst | 10 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 11 files changed, 41 insertions(+), 29 deletions(-) create mode 100644 .changes/1.35.15.json delete mode 100644 .changes/next-release/api-change-bedrockagent-54148.json delete mode 100644 .changes/next-release/api-change-codebuild-78314.json delete mode 100644 .changes/next-release/api-change-lambda-58139.json delete mode 100644 .changes/next-release/api-change-logs-66262.json delete mode 100644 .changes/next-release/api-change-supplychain-21189.json diff --git a/.changes/1.35.15.json b/.changes/1.35.15.json new file mode 100644 index 000000000000..e57b9a2eb758 --- /dev/null +++ b/.changes/1.35.15.json @@ -0,0 +1,27 @@ +[ + { + "category": "``bedrock-agent``", + "description": "Add support of new model types for Bedrock Agents, Adding inference profile support for Flows and Prompt Management, Adding new field to configure additional inference configurations for Flows and Prompt Management", + "type": "api-change" + }, + { + "category": "``codebuild``", + "description": "AWS CodeBuild now supports automatically retrying failed builds", + "type": "api-change" + }, + { + "category": "``lambda``", + "description": "Add TagsError field in Lambda GetFunctionResponse. The TagsError field contains details related to errors retrieving tags.", + "type": "api-change" + }, + { + "category": "``logs``", + "description": "Adding inferred token name for dynamic tokens in Anomalies.", + "type": "api-change" + }, + { + "category": "``supplychain``", + "description": "API doc updates, and also support showing error message on a failed instance", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-bedrockagent-54148.json b/.changes/next-release/api-change-bedrockagent-54148.json deleted file mode 100644 index 5c3e1eae76d9..000000000000 --- a/.changes/next-release/api-change-bedrockagent-54148.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-agent``", - "description": "Add support of new model types for Bedrock Agents, Adding inference profile support for Flows and Prompt Management, Adding new field to configure additional inference configurations for Flows and Prompt Management" -} diff --git a/.changes/next-release/api-change-codebuild-78314.json b/.changes/next-release/api-change-codebuild-78314.json deleted file mode 100644 index 78dbd9ffd341..000000000000 --- a/.changes/next-release/api-change-codebuild-78314.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``codebuild``", - "description": "AWS CodeBuild now supports automatically retrying failed builds" -} diff --git a/.changes/next-release/api-change-lambda-58139.json b/.changes/next-release/api-change-lambda-58139.json deleted file mode 100644 index 58d4f0901791..000000000000 --- a/.changes/next-release/api-change-lambda-58139.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``lambda``", - "description": "Add TagsError field in Lambda GetFunctionResponse. The TagsError field contains details related to errors retrieving tags." -} diff --git a/.changes/next-release/api-change-logs-66262.json b/.changes/next-release/api-change-logs-66262.json deleted file mode 100644 index 78817018d41c..000000000000 --- a/.changes/next-release/api-change-logs-66262.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``logs``", - "description": "Adding inferred token name for dynamic tokens in Anomalies." -} diff --git a/.changes/next-release/api-change-supplychain-21189.json b/.changes/next-release/api-change-supplychain-21189.json deleted file mode 100644 index 4a39a3b38dc4..000000000000 --- a/.changes/next-release/api-change-supplychain-21189.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``supplychain``", - "description": "API doc updates, and also support showing error message on a failed instance" -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 271ac6de4712..42ff99fcccf8 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,16 @@ CHANGELOG ========= +1.35.15 +======= + +* api-change:``bedrock-agent``: Add support of new model types for Bedrock Agents, Adding inference profile support for Flows and Prompt Management, Adding new field to configure additional inference configurations for Flows and Prompt Management +* api-change:``codebuild``: AWS CodeBuild now supports automatically retrying failed builds +* api-change:``lambda``: Add TagsError field in Lambda GetFunctionResponse. The TagsError field contains details related to errors retrieving tags. +* api-change:``logs``: Adding inferred token name for dynamic tokens in Anomalies. +* api-change:``supplychain``: API doc updates, and also support showing error message on a failed instance + + 1.35.14 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 07d49af2024b..6c80394319b3 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.35.14' +__version__ = '1.35.15' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 09800f6b55b5..823537d5928c 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.35.' # The full version, including alpha/beta/rc tags. -release = '1.35.14' +release = '1.35.15' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 7ea570c20eb3..d3cf70676d9c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.48 + botocore==1.35.49 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index e3600ca42ed7..6bf85b94cb0c 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.48', + 'botocore==1.35.49', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From fa0b23569187f159ff1641c8c1ce6091ddb18f1d Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 28 Oct 2024 18:06:53 +0000 Subject: [PATCH 0271/1087] Update changelog based on model updates --- .changes/next-release/api-change-mediapackagev2-24090.json | 5 +++++ .changes/next-release/api-change-opensearch-67205.json | 5 +++++ .changes/next-release/api-change-rds-69813.json | 5 +++++ .changes/next-release/api-change-storagegateway-94434.json | 5 +++++ 4 files changed, 20 insertions(+) create mode 100644 .changes/next-release/api-change-mediapackagev2-24090.json create mode 100644 .changes/next-release/api-change-opensearch-67205.json create mode 100644 .changes/next-release/api-change-rds-69813.json create mode 100644 .changes/next-release/api-change-storagegateway-94434.json diff --git a/.changes/next-release/api-change-mediapackagev2-24090.json b/.changes/next-release/api-change-mediapackagev2-24090.json new file mode 100644 index 000000000000..1e1b2b8c3aea --- /dev/null +++ b/.changes/next-release/api-change-mediapackagev2-24090.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``mediapackagev2``", + "description": "MediaPackage V2 Live to VOD Harvester is a MediaPackage V2 feature, which is used to export content from an origin endpoint to a S3 bucket." +} diff --git a/.changes/next-release/api-change-opensearch-67205.json b/.changes/next-release/api-change-opensearch-67205.json new file mode 100644 index 000000000000..762a3b49ada5 --- /dev/null +++ b/.changes/next-release/api-change-opensearch-67205.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``opensearch``", + "description": "Adds support for provisioning dedicated coordinator nodes. Coordinator nodes can be specified using the new NodeOptions parameter in ClusterConfig." +} diff --git a/.changes/next-release/api-change-rds-69813.json b/.changes/next-release/api-change-rds-69813.json new file mode 100644 index 000000000000..969e45a149fd --- /dev/null +++ b/.changes/next-release/api-change-rds-69813.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``rds``", + "description": "This release adds support for Enhanced Monitoring and Performance Insights when restoring Aurora Limitless Database DB clusters. It also adds support for the os-upgrade pending maintenance action." +} diff --git a/.changes/next-release/api-change-storagegateway-94434.json b/.changes/next-release/api-change-storagegateway-94434.json new file mode 100644 index 000000000000..8460cdbd173d --- /dev/null +++ b/.changes/next-release/api-change-storagegateway-94434.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``storagegateway``", + "description": "Documentation update: Amazon FSx File Gateway will no longer be available to new customers." +} From c29e825bae1d67c60d7fa94b5e186c7436849680 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 28 Oct 2024 18:08:18 +0000 Subject: [PATCH 0272/1087] Bumping version to 1.35.16 --- .changes/1.35.16.json | 22 +++++++++++++++++++ .../api-change-mediapackagev2-24090.json | 5 ----- .../api-change-opensearch-67205.json | 5 ----- .../next-release/api-change-rds-69813.json | 5 ----- .../api-change-storagegateway-94434.json | 5 ----- CHANGELOG.rst | 9 ++++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 10 files changed, 35 insertions(+), 24 deletions(-) create mode 100644 .changes/1.35.16.json delete mode 100644 .changes/next-release/api-change-mediapackagev2-24090.json delete mode 100644 .changes/next-release/api-change-opensearch-67205.json delete mode 100644 .changes/next-release/api-change-rds-69813.json delete mode 100644 .changes/next-release/api-change-storagegateway-94434.json diff --git a/.changes/1.35.16.json b/.changes/1.35.16.json new file mode 100644 index 000000000000..65fda3365348 --- /dev/null +++ b/.changes/1.35.16.json @@ -0,0 +1,22 @@ +[ + { + "category": "``mediapackagev2``", + "description": "MediaPackage V2 Live to VOD Harvester is a MediaPackage V2 feature, which is used to export content from an origin endpoint to a S3 bucket.", + "type": "api-change" + }, + { + "category": "``opensearch``", + "description": "Adds support for provisioning dedicated coordinator nodes. Coordinator nodes can be specified using the new NodeOptions parameter in ClusterConfig.", + "type": "api-change" + }, + { + "category": "``rds``", + "description": "This release adds support for Enhanced Monitoring and Performance Insights when restoring Aurora Limitless Database DB clusters. It also adds support for the os-upgrade pending maintenance action.", + "type": "api-change" + }, + { + "category": "``storagegateway``", + "description": "Documentation update: Amazon FSx File Gateway will no longer be available to new customers.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-mediapackagev2-24090.json b/.changes/next-release/api-change-mediapackagev2-24090.json deleted file mode 100644 index 1e1b2b8c3aea..000000000000 --- a/.changes/next-release/api-change-mediapackagev2-24090.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``mediapackagev2``", - "description": "MediaPackage V2 Live to VOD Harvester is a MediaPackage V2 feature, which is used to export content from an origin endpoint to a S3 bucket." -} diff --git a/.changes/next-release/api-change-opensearch-67205.json b/.changes/next-release/api-change-opensearch-67205.json deleted file mode 100644 index 762a3b49ada5..000000000000 --- a/.changes/next-release/api-change-opensearch-67205.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``opensearch``", - "description": "Adds support for provisioning dedicated coordinator nodes. Coordinator nodes can be specified using the new NodeOptions parameter in ClusterConfig." -} diff --git a/.changes/next-release/api-change-rds-69813.json b/.changes/next-release/api-change-rds-69813.json deleted file mode 100644 index 969e45a149fd..000000000000 --- a/.changes/next-release/api-change-rds-69813.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``rds``", - "description": "This release adds support for Enhanced Monitoring and Performance Insights when restoring Aurora Limitless Database DB clusters. It also adds support for the os-upgrade pending maintenance action." -} diff --git a/.changes/next-release/api-change-storagegateway-94434.json b/.changes/next-release/api-change-storagegateway-94434.json deleted file mode 100644 index 8460cdbd173d..000000000000 --- a/.changes/next-release/api-change-storagegateway-94434.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``storagegateway``", - "description": "Documentation update: Amazon FSx File Gateway will no longer be available to new customers." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 42ff99fcccf8..f26a69322129 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,15 @@ CHANGELOG ========= +1.35.16 +======= + +* api-change:``mediapackagev2``: MediaPackage V2 Live to VOD Harvester is a MediaPackage V2 feature, which is used to export content from an origin endpoint to a S3 bucket. +* api-change:``opensearch``: Adds support for provisioning dedicated coordinator nodes. Coordinator nodes can be specified using the new NodeOptions parameter in ClusterConfig. +* api-change:``rds``: This release adds support for Enhanced Monitoring and Performance Insights when restoring Aurora Limitless Database DB clusters. It also adds support for the os-upgrade pending maintenance action. +* api-change:``storagegateway``: Documentation update: Amazon FSx File Gateway will no longer be available to new customers. + + 1.35.15 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 6c80394319b3..b6b6c0fae23d 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.35.15' +__version__ = '1.35.16' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 823537d5928c..e4cbedb49bf6 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.35.' # The full version, including alpha/beta/rc tags. -release = '1.35.15' +release = '1.35.16' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index d3cf70676d9c..8e3d25065609 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.49 + botocore==1.35.50 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 6bf85b94cb0c..c01827e800ad 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.49', + 'botocore==1.35.50', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From ba3d1cdcdb1f41713b2c146075bb65fca16a2ea1 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 29 Oct 2024 18:12:44 +0000 Subject: [PATCH 0273/1087] Update changelog based on model updates --- .changes/next-release/api-change-bedrock-43114.json | 5 +++++ .changes/next-release/api-change-bedrockruntime-62257.json | 5 +++++ .changes/next-release/api-change-cleanrooms-20102.json | 5 +++++ .changes/next-release/api-change-iotfleetwise-86300.json | 5 +++++ .changes/next-release/api-change-logs-79585.json | 5 +++++ .changes/next-release/api-change-redshiftdata-37343.json | 5 +++++ .changes/next-release/api-change-sagemaker-31997.json | 5 +++++ 7 files changed, 35 insertions(+) create mode 100644 .changes/next-release/api-change-bedrock-43114.json create mode 100644 .changes/next-release/api-change-bedrockruntime-62257.json create mode 100644 .changes/next-release/api-change-cleanrooms-20102.json create mode 100644 .changes/next-release/api-change-iotfleetwise-86300.json create mode 100644 .changes/next-release/api-change-logs-79585.json create mode 100644 .changes/next-release/api-change-redshiftdata-37343.json create mode 100644 .changes/next-release/api-change-sagemaker-31997.json diff --git a/.changes/next-release/api-change-bedrock-43114.json b/.changes/next-release/api-change-bedrock-43114.json new file mode 100644 index 000000000000..63fd97031705 --- /dev/null +++ b/.changes/next-release/api-change-bedrock-43114.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock``", + "description": "Update Application Inference Profile" +} diff --git a/.changes/next-release/api-change-bedrockruntime-62257.json b/.changes/next-release/api-change-bedrockruntime-62257.json new file mode 100644 index 000000000000..c2283d421f63 --- /dev/null +++ b/.changes/next-release/api-change-bedrockruntime-62257.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-runtime``", + "description": "Update Application Inference Profile" +} diff --git a/.changes/next-release/api-change-cleanrooms-20102.json b/.changes/next-release/api-change-cleanrooms-20102.json new file mode 100644 index 000000000000..fa2f734a814a --- /dev/null +++ b/.changes/next-release/api-change-cleanrooms-20102.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``cleanrooms``", + "description": "This release adds the option for customers to configure analytics engine when creating a collaboration, and introduces the new SPARK analytics engine type in addition to maintaining the legacy CLEAN_ROOMS_SQL engine type." +} diff --git a/.changes/next-release/api-change-iotfleetwise-86300.json b/.changes/next-release/api-change-iotfleetwise-86300.json new file mode 100644 index 000000000000..e8006297491d --- /dev/null +++ b/.changes/next-release/api-change-iotfleetwise-86300.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``iotfleetwise``", + "description": "Updated BatchCreateVehicle and BatchUpdateVehicle APIs: LimitExceededException has been added and the maximum number of vehicles in a batch has been set to 10 explicitly" +} diff --git a/.changes/next-release/api-change-logs-79585.json b/.changes/next-release/api-change-logs-79585.json new file mode 100644 index 000000000000..e9a4fbf78ebb --- /dev/null +++ b/.changes/next-release/api-change-logs-79585.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``logs``", + "description": "Added support for new optional baseline parameter in the UpdateAnomaly API. For UpdateAnomaly requests with baseline set to True, The anomaly behavior is then treated as baseline behavior. However, more severe occurrences of this behavior will still be reported as anomalies." +} diff --git a/.changes/next-release/api-change-redshiftdata-37343.json b/.changes/next-release/api-change-redshiftdata-37343.json new file mode 100644 index 000000000000..8bc1bdf2301e --- /dev/null +++ b/.changes/next-release/api-change-redshiftdata-37343.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``redshift-data``", + "description": "Adding a new API GetStatementResultV2 that supports CSV formatted results from ExecuteStatement and BatchExecuteStatement calls." +} diff --git a/.changes/next-release/api-change-sagemaker-31997.json b/.changes/next-release/api-change-sagemaker-31997.json new file mode 100644 index 000000000000..2eb310f36829 --- /dev/null +++ b/.changes/next-release/api-change-sagemaker-31997.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``sagemaker``", + "description": "Adding `notebook-al2-v3` as allowed value to SageMaker NotebookInstance PlatformIdentifier attribute" +} From 5587ab9190a6da1e444dbda23ca00c96da85e84f Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 29 Oct 2024 18:14:34 +0000 Subject: [PATCH 0274/1087] Bumping version to 1.35.17 --- .changes/1.35.17.json | 37 +++++++++++++++++++ .../api-change-bedrock-43114.json | 5 --- .../api-change-bedrockruntime-62257.json | 5 --- .../api-change-cleanrooms-20102.json | 5 --- .../api-change-iotfleetwise-86300.json | 5 --- .../next-release/api-change-logs-79585.json | 5 --- .../api-change-redshiftdata-37343.json | 5 --- .../api-change-sagemaker-31997.json | 5 --- CHANGELOG.rst | 12 ++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 13 files changed, 53 insertions(+), 39 deletions(-) create mode 100644 .changes/1.35.17.json delete mode 100644 .changes/next-release/api-change-bedrock-43114.json delete mode 100644 .changes/next-release/api-change-bedrockruntime-62257.json delete mode 100644 .changes/next-release/api-change-cleanrooms-20102.json delete mode 100644 .changes/next-release/api-change-iotfleetwise-86300.json delete mode 100644 .changes/next-release/api-change-logs-79585.json delete mode 100644 .changes/next-release/api-change-redshiftdata-37343.json delete mode 100644 .changes/next-release/api-change-sagemaker-31997.json diff --git a/.changes/1.35.17.json b/.changes/1.35.17.json new file mode 100644 index 000000000000..2a2ef4e1a663 --- /dev/null +++ b/.changes/1.35.17.json @@ -0,0 +1,37 @@ +[ + { + "category": "``bedrock``", + "description": "Update Application Inference Profile", + "type": "api-change" + }, + { + "category": "``bedrock-runtime``", + "description": "Update Application Inference Profile", + "type": "api-change" + }, + { + "category": "``cleanrooms``", + "description": "This release adds the option for customers to configure analytics engine when creating a collaboration, and introduces the new SPARK analytics engine type in addition to maintaining the legacy CLEAN_ROOMS_SQL engine type.", + "type": "api-change" + }, + { + "category": "``iotfleetwise``", + "description": "Updated BatchCreateVehicle and BatchUpdateVehicle APIs: LimitExceededException has been added and the maximum number of vehicles in a batch has been set to 10 explicitly", + "type": "api-change" + }, + { + "category": "``logs``", + "description": "Added support for new optional baseline parameter in the UpdateAnomaly API. For UpdateAnomaly requests with baseline set to True, The anomaly behavior is then treated as baseline behavior. However, more severe occurrences of this behavior will still be reported as anomalies.", + "type": "api-change" + }, + { + "category": "``redshift-data``", + "description": "Adding a new API GetStatementResultV2 that supports CSV formatted results from ExecuteStatement and BatchExecuteStatement calls.", + "type": "api-change" + }, + { + "category": "``sagemaker``", + "description": "Adding `notebook-al2-v3` as allowed value to SageMaker NotebookInstance PlatformIdentifier attribute", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-bedrock-43114.json b/.changes/next-release/api-change-bedrock-43114.json deleted file mode 100644 index 63fd97031705..000000000000 --- a/.changes/next-release/api-change-bedrock-43114.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock``", - "description": "Update Application Inference Profile" -} diff --git a/.changes/next-release/api-change-bedrockruntime-62257.json b/.changes/next-release/api-change-bedrockruntime-62257.json deleted file mode 100644 index c2283d421f63..000000000000 --- a/.changes/next-release/api-change-bedrockruntime-62257.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-runtime``", - "description": "Update Application Inference Profile" -} diff --git a/.changes/next-release/api-change-cleanrooms-20102.json b/.changes/next-release/api-change-cleanrooms-20102.json deleted file mode 100644 index fa2f734a814a..000000000000 --- a/.changes/next-release/api-change-cleanrooms-20102.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``cleanrooms``", - "description": "This release adds the option for customers to configure analytics engine when creating a collaboration, and introduces the new SPARK analytics engine type in addition to maintaining the legacy CLEAN_ROOMS_SQL engine type." -} diff --git a/.changes/next-release/api-change-iotfleetwise-86300.json b/.changes/next-release/api-change-iotfleetwise-86300.json deleted file mode 100644 index e8006297491d..000000000000 --- a/.changes/next-release/api-change-iotfleetwise-86300.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``iotfleetwise``", - "description": "Updated BatchCreateVehicle and BatchUpdateVehicle APIs: LimitExceededException has been added and the maximum number of vehicles in a batch has been set to 10 explicitly" -} diff --git a/.changes/next-release/api-change-logs-79585.json b/.changes/next-release/api-change-logs-79585.json deleted file mode 100644 index e9a4fbf78ebb..000000000000 --- a/.changes/next-release/api-change-logs-79585.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``logs``", - "description": "Added support for new optional baseline parameter in the UpdateAnomaly API. For UpdateAnomaly requests with baseline set to True, The anomaly behavior is then treated as baseline behavior. However, more severe occurrences of this behavior will still be reported as anomalies." -} diff --git a/.changes/next-release/api-change-redshiftdata-37343.json b/.changes/next-release/api-change-redshiftdata-37343.json deleted file mode 100644 index 8bc1bdf2301e..000000000000 --- a/.changes/next-release/api-change-redshiftdata-37343.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``redshift-data``", - "description": "Adding a new API GetStatementResultV2 that supports CSV formatted results from ExecuteStatement and BatchExecuteStatement calls." -} diff --git a/.changes/next-release/api-change-sagemaker-31997.json b/.changes/next-release/api-change-sagemaker-31997.json deleted file mode 100644 index 2eb310f36829..000000000000 --- a/.changes/next-release/api-change-sagemaker-31997.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``sagemaker``", - "description": "Adding `notebook-al2-v3` as allowed value to SageMaker NotebookInstance PlatformIdentifier attribute" -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index f26a69322129..86882612f861 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,18 @@ CHANGELOG ========= +1.35.17 +======= + +* api-change:``bedrock``: Update Application Inference Profile +* api-change:``bedrock-runtime``: Update Application Inference Profile +* api-change:``cleanrooms``: This release adds the option for customers to configure analytics engine when creating a collaboration, and introduces the new SPARK analytics engine type in addition to maintaining the legacy CLEAN_ROOMS_SQL engine type. +* api-change:``iotfleetwise``: Updated BatchCreateVehicle and BatchUpdateVehicle APIs: LimitExceededException has been added and the maximum number of vehicles in a batch has been set to 10 explicitly +* api-change:``logs``: Added support for new optional baseline parameter in the UpdateAnomaly API. For UpdateAnomaly requests with baseline set to True, The anomaly behavior is then treated as baseline behavior. However, more severe occurrences of this behavior will still be reported as anomalies. +* api-change:``redshift-data``: Adding a new API GetStatementResultV2 that supports CSV formatted results from ExecuteStatement and BatchExecuteStatement calls. +* api-change:``sagemaker``: Adding `notebook-al2-v3` as allowed value to SageMaker NotebookInstance PlatformIdentifier attribute + + 1.35.16 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index b6b6c0fae23d..7ca680db87f0 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.35.16' +__version__ = '1.35.17' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index e4cbedb49bf6..589b72cd61d5 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.35.' # The full version, including alpha/beta/rc tags. -release = '1.35.16' +release = '1.35.17' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 8e3d25065609..959b07b2033c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.50 + botocore==1.35.51 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index c01827e800ad..3c204f4a071e 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.50', + 'botocore==1.35.51', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 3bd55513e92d64bacbb03202bdc895b214f9108b Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 30 Oct 2024 18:11:05 +0000 Subject: [PATCH 0275/1087] Update changelog based on model updates --- .changes/next-release/api-change-appsync-24233.json | 5 +++++ .changes/next-release/api-change-connect-35479.json | 5 +++++ .changes/next-release/api-change-datasync-68207.json | 5 +++++ .changes/next-release/api-change-ec2-666.json | 5 +++++ .changes/next-release/api-change-ecs-27753.json | 5 +++++ .changes/next-release/api-change-geomaps-75522.json | 5 +++++ .changes/next-release/api-change-geoplaces-2834.json | 5 +++++ .changes/next-release/api-change-georoutes-75125.json | 5 +++++ .changes/next-release/api-change-keyspaces-40277.json | 5 +++++ .changes/next-release/api-change-networkfirewall-13984.json | 5 +++++ .changes/next-release/api-change-opensearch-43815.json | 5 +++++ .../next-release/api-change-opensearchserverless-7702.json | 5 +++++ .changes/next-release/api-change-redshift-30696.json | 5 +++++ .../next-release/api-change-redshiftserverless-52832.json | 5 +++++ .changes/next-release/api-change-route53-50298.json | 5 +++++ .changes/next-release/api-change-sagemaker-56052.json | 5 +++++ .changes/next-release/api-change-workmail-10177.json | 5 +++++ 17 files changed, 85 insertions(+) create mode 100644 .changes/next-release/api-change-appsync-24233.json create mode 100644 .changes/next-release/api-change-connect-35479.json create mode 100644 .changes/next-release/api-change-datasync-68207.json create mode 100644 .changes/next-release/api-change-ec2-666.json create mode 100644 .changes/next-release/api-change-ecs-27753.json create mode 100644 .changes/next-release/api-change-geomaps-75522.json create mode 100644 .changes/next-release/api-change-geoplaces-2834.json create mode 100644 .changes/next-release/api-change-georoutes-75125.json create mode 100644 .changes/next-release/api-change-keyspaces-40277.json create mode 100644 .changes/next-release/api-change-networkfirewall-13984.json create mode 100644 .changes/next-release/api-change-opensearch-43815.json create mode 100644 .changes/next-release/api-change-opensearchserverless-7702.json create mode 100644 .changes/next-release/api-change-redshift-30696.json create mode 100644 .changes/next-release/api-change-redshiftserverless-52832.json create mode 100644 .changes/next-release/api-change-route53-50298.json create mode 100644 .changes/next-release/api-change-sagemaker-56052.json create mode 100644 .changes/next-release/api-change-workmail-10177.json diff --git a/.changes/next-release/api-change-appsync-24233.json b/.changes/next-release/api-change-appsync-24233.json new file mode 100644 index 000000000000..f49bc04724e6 --- /dev/null +++ b/.changes/next-release/api-change-appsync-24233.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``appsync``", + "description": "This release adds support for AppSync Event APIs." +} diff --git a/.changes/next-release/api-change-connect-35479.json b/.changes/next-release/api-change-connect-35479.json new file mode 100644 index 000000000000..434827ee1274 --- /dev/null +++ b/.changes/next-release/api-change-connect-35479.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``connect``", + "description": "Updated the public documentation for the UserIdentityInfo object to accurately reflect the character limits for the FirstName and LastName fields, which were previously listed as 1-100 characters." +} diff --git a/.changes/next-release/api-change-datasync-68207.json b/.changes/next-release/api-change-datasync-68207.json new file mode 100644 index 000000000000..5be806dc0b91 --- /dev/null +++ b/.changes/next-release/api-change-datasync-68207.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``datasync``", + "description": "AWS DataSync now supports Enhanced mode tasks. This task mode supports transfer of virtually unlimited numbers of objects with enhanced metrics, more detailed logs, and higher performance than Basic mode. This mode currently supports transfers between Amazon S3 locations." +} diff --git a/.changes/next-release/api-change-ec2-666.json b/.changes/next-release/api-change-ec2-666.json new file mode 100644 index 000000000000..9419d6586430 --- /dev/null +++ b/.changes/next-release/api-change-ec2-666.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ec2``", + "description": "This release adds two new capabilities to VPC Security Groups: Security Group VPC Associations and Shared Security Groups." +} diff --git a/.changes/next-release/api-change-ecs-27753.json b/.changes/next-release/api-change-ecs-27753.json new file mode 100644 index 000000000000..d31996638e79 --- /dev/null +++ b/.changes/next-release/api-change-ecs-27753.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ecs``", + "description": "This release supports service deployments and service revisions which provide a comprehensive view of your Amazon ECS service history." +} diff --git a/.changes/next-release/api-change-geomaps-75522.json b/.changes/next-release/api-change-geomaps-75522.json new file mode 100644 index 000000000000..549b3a63e00e --- /dev/null +++ b/.changes/next-release/api-change-geomaps-75522.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``geo-maps``", + "description": "Release of Amazon Location Maps API. Maps enables you to build digital maps that showcase your locations, visualize your data, and unlock insights to drive your business" +} diff --git a/.changes/next-release/api-change-geoplaces-2834.json b/.changes/next-release/api-change-geoplaces-2834.json new file mode 100644 index 000000000000..0eb446d2a651 --- /dev/null +++ b/.changes/next-release/api-change-geoplaces-2834.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``geo-places``", + "description": "Release of Amazon Location Places API. Places enables you to quickly search, display, and filter places, businesses, and locations based on proximity, category, and name" +} diff --git a/.changes/next-release/api-change-georoutes-75125.json b/.changes/next-release/api-change-georoutes-75125.json new file mode 100644 index 000000000000..7f8bbd5fd1b5 --- /dev/null +++ b/.changes/next-release/api-change-georoutes-75125.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``geo-routes``", + "description": "Release of Amazon Location Routes API. Routes enables you to plan efficient routes and streamline deliveries by leveraging real-time traffic, vehicle restrictions, and turn-by-turn directions." +} diff --git a/.changes/next-release/api-change-keyspaces-40277.json b/.changes/next-release/api-change-keyspaces-40277.json new file mode 100644 index 000000000000..7c5872f74df2 --- /dev/null +++ b/.changes/next-release/api-change-keyspaces-40277.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``keyspaces``", + "description": "Adds support for interacting with user-defined types (UDTs) through the following new operations: Create-Type, Delete-Type, List-Types, Get-Type." +} diff --git a/.changes/next-release/api-change-networkfirewall-13984.json b/.changes/next-release/api-change-networkfirewall-13984.json new file mode 100644 index 000000000000..51b2fdbf7393 --- /dev/null +++ b/.changes/next-release/api-change-networkfirewall-13984.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``network-firewall``", + "description": "AWS Network Firewall now supports configuring TCP idle timeout" +} diff --git a/.changes/next-release/api-change-opensearch-43815.json b/.changes/next-release/api-change-opensearch-43815.json new file mode 100644 index 000000000000..9554c0b05dfa --- /dev/null +++ b/.changes/next-release/api-change-opensearch-43815.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``opensearch``", + "description": "This release introduces the new OpenSearch user interface (Dashboards), a new web-based application that can be associated with multiple data sources across OpenSearch managed clusters, serverless collections, and Amazon S3, so that users can gain a comprehensive insights in an unified interface." +} diff --git a/.changes/next-release/api-change-opensearchserverless-7702.json b/.changes/next-release/api-change-opensearchserverless-7702.json new file mode 100644 index 000000000000..05349b1704d0 --- /dev/null +++ b/.changes/next-release/api-change-opensearchserverless-7702.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``opensearchserverless``", + "description": "Neo Integration via IAM Identity Center (IdC)" +} diff --git a/.changes/next-release/api-change-redshift-30696.json b/.changes/next-release/api-change-redshift-30696.json new file mode 100644 index 000000000000..e16978731e99 --- /dev/null +++ b/.changes/next-release/api-change-redshift-30696.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``redshift``", + "description": "This release launches S3 event integrations to create and manage integrations from an Amazon S3 source into an Amazon Redshift database." +} diff --git a/.changes/next-release/api-change-redshiftserverless-52832.json b/.changes/next-release/api-change-redshiftserverless-52832.json new file mode 100644 index 000000000000..e97a5570e447 --- /dev/null +++ b/.changes/next-release/api-change-redshiftserverless-52832.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``redshift-serverless``", + "description": "Adds and updates API members for the Redshift Serverless AI-driven scaling and optimization feature using the price-performance target setting." +} diff --git a/.changes/next-release/api-change-route53-50298.json b/.changes/next-release/api-change-route53-50298.json new file mode 100644 index 000000000000..268534f0aa5e --- /dev/null +++ b/.changes/next-release/api-change-route53-50298.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``route53``", + "description": "This release adds support for TLSA, SSHFP, SVCB, and HTTPS record types." +} diff --git a/.changes/next-release/api-change-sagemaker-56052.json b/.changes/next-release/api-change-sagemaker-56052.json new file mode 100644 index 000000000000..3f466922a36a --- /dev/null +++ b/.changes/next-release/api-change-sagemaker-56052.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``sagemaker``", + "description": "Added support for Model Registry Staging construct. Users can define series of stages that models can progress through for model workflows and lifecycle. This simplifies tracking and managing models as they transition through development, testing, and production stages." +} diff --git a/.changes/next-release/api-change-workmail-10177.json b/.changes/next-release/api-change-workmail-10177.json new file mode 100644 index 000000000000..943243f63ca5 --- /dev/null +++ b/.changes/next-release/api-change-workmail-10177.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``workmail``", + "description": "This release adds support for Multi-Factor Authentication (MFA) and Personal Access Tokens through integration with AWS IAM Identity Center." +} From ba899b07d7b4cc2128f96a8851e3f08007d681bf Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 30 Oct 2024 18:12:24 +0000 Subject: [PATCH 0276/1087] Bumping version to 1.35.18 --- .changes/1.35.18.json | 87 +++++++++++++++++++ .../api-change-appsync-24233.json | 5 -- .../api-change-connect-35479.json | 5 -- .../api-change-datasync-68207.json | 5 -- .changes/next-release/api-change-ec2-666.json | 5 -- .../next-release/api-change-ecs-27753.json | 5 -- .../api-change-geomaps-75522.json | 5 -- .../api-change-geoplaces-2834.json | 5 -- .../api-change-georoutes-75125.json | 5 -- .../api-change-keyspaces-40277.json | 5 -- .../api-change-networkfirewall-13984.json | 5 -- .../api-change-opensearch-43815.json | 5 -- .../api-change-opensearchserverless-7702.json | 5 -- .../api-change-redshift-30696.json | 5 -- .../api-change-redshiftserverless-52832.json | 5 -- .../api-change-route53-50298.json | 5 -- .../api-change-sagemaker-56052.json | 5 -- .../api-change-workmail-10177.json | 5 -- CHANGELOG.rst | 22 +++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 23 files changed, 113 insertions(+), 89 deletions(-) create mode 100644 .changes/1.35.18.json delete mode 100644 .changes/next-release/api-change-appsync-24233.json delete mode 100644 .changes/next-release/api-change-connect-35479.json delete mode 100644 .changes/next-release/api-change-datasync-68207.json delete mode 100644 .changes/next-release/api-change-ec2-666.json delete mode 100644 .changes/next-release/api-change-ecs-27753.json delete mode 100644 .changes/next-release/api-change-geomaps-75522.json delete mode 100644 .changes/next-release/api-change-geoplaces-2834.json delete mode 100644 .changes/next-release/api-change-georoutes-75125.json delete mode 100644 .changes/next-release/api-change-keyspaces-40277.json delete mode 100644 .changes/next-release/api-change-networkfirewall-13984.json delete mode 100644 .changes/next-release/api-change-opensearch-43815.json delete mode 100644 .changes/next-release/api-change-opensearchserverless-7702.json delete mode 100644 .changes/next-release/api-change-redshift-30696.json delete mode 100644 .changes/next-release/api-change-redshiftserverless-52832.json delete mode 100644 .changes/next-release/api-change-route53-50298.json delete mode 100644 .changes/next-release/api-change-sagemaker-56052.json delete mode 100644 .changes/next-release/api-change-workmail-10177.json diff --git a/.changes/1.35.18.json b/.changes/1.35.18.json new file mode 100644 index 000000000000..6b685c5fcd83 --- /dev/null +++ b/.changes/1.35.18.json @@ -0,0 +1,87 @@ +[ + { + "category": "``appsync``", + "description": "This release adds support for AppSync Event APIs.", + "type": "api-change" + }, + { + "category": "``connect``", + "description": "Updated the public documentation for the UserIdentityInfo object to accurately reflect the character limits for the FirstName and LastName fields, which were previously listed as 1-100 characters.", + "type": "api-change" + }, + { + "category": "``datasync``", + "description": "AWS DataSync now supports Enhanced mode tasks. This task mode supports transfer of virtually unlimited numbers of objects with enhanced metrics, more detailed logs, and higher performance than Basic mode. This mode currently supports transfers between Amazon S3 locations.", + "type": "api-change" + }, + { + "category": "``ec2``", + "description": "This release adds two new capabilities to VPC Security Groups: Security Group VPC Associations and Shared Security Groups.", + "type": "api-change" + }, + { + "category": "``ecs``", + "description": "This release supports service deployments and service revisions which provide a comprehensive view of your Amazon ECS service history.", + "type": "api-change" + }, + { + "category": "``geo-maps``", + "description": "Release of Amazon Location Maps API. Maps enables you to build digital maps that showcase your locations, visualize your data, and unlock insights to drive your business", + "type": "api-change" + }, + { + "category": "``geo-places``", + "description": "Release of Amazon Location Places API. Places enables you to quickly search, display, and filter places, businesses, and locations based on proximity, category, and name", + "type": "api-change" + }, + { + "category": "``geo-routes``", + "description": "Release of Amazon Location Routes API. Routes enables you to plan efficient routes and streamline deliveries by leveraging real-time traffic, vehicle restrictions, and turn-by-turn directions.", + "type": "api-change" + }, + { + "category": "``keyspaces``", + "description": "Adds support for interacting with user-defined types (UDTs) through the following new operations: Create-Type, Delete-Type, List-Types, Get-Type.", + "type": "api-change" + }, + { + "category": "``network-firewall``", + "description": "AWS Network Firewall now supports configuring TCP idle timeout", + "type": "api-change" + }, + { + "category": "``opensearch``", + "description": "This release introduces the new OpenSearch user interface (Dashboards), a new web-based application that can be associated with multiple data sources across OpenSearch managed clusters, serverless collections, and Amazon S3, so that users can gain a comprehensive insights in an unified interface.", + "type": "api-change" + }, + { + "category": "``opensearchserverless``", + "description": "Neo Integration via IAM Identity Center (IdC)", + "type": "api-change" + }, + { + "category": "``redshift``", + "description": "This release launches S3 event integrations to create and manage integrations from an Amazon S3 source into an Amazon Redshift database.", + "type": "api-change" + }, + { + "category": "``redshift-serverless``", + "description": "Adds and updates API members for the Redshift Serverless AI-driven scaling and optimization feature using the price-performance target setting.", + "type": "api-change" + }, + { + "category": "``route53``", + "description": "This release adds support for TLSA, SSHFP, SVCB, and HTTPS record types.", + "type": "api-change" + }, + { + "category": "``sagemaker``", + "description": "Added support for Model Registry Staging construct. Users can define series of stages that models can progress through for model workflows and lifecycle. This simplifies tracking and managing models as they transition through development, testing, and production stages.", + "type": "api-change" + }, + { + "category": "``workmail``", + "description": "This release adds support for Multi-Factor Authentication (MFA) and Personal Access Tokens through integration with AWS IAM Identity Center.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-appsync-24233.json b/.changes/next-release/api-change-appsync-24233.json deleted file mode 100644 index f49bc04724e6..000000000000 --- a/.changes/next-release/api-change-appsync-24233.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``appsync``", - "description": "This release adds support for AppSync Event APIs." -} diff --git a/.changes/next-release/api-change-connect-35479.json b/.changes/next-release/api-change-connect-35479.json deleted file mode 100644 index 434827ee1274..000000000000 --- a/.changes/next-release/api-change-connect-35479.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``connect``", - "description": "Updated the public documentation for the UserIdentityInfo object to accurately reflect the character limits for the FirstName and LastName fields, which were previously listed as 1-100 characters." -} diff --git a/.changes/next-release/api-change-datasync-68207.json b/.changes/next-release/api-change-datasync-68207.json deleted file mode 100644 index 5be806dc0b91..000000000000 --- a/.changes/next-release/api-change-datasync-68207.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``datasync``", - "description": "AWS DataSync now supports Enhanced mode tasks. This task mode supports transfer of virtually unlimited numbers of objects with enhanced metrics, more detailed logs, and higher performance than Basic mode. This mode currently supports transfers between Amazon S3 locations." -} diff --git a/.changes/next-release/api-change-ec2-666.json b/.changes/next-release/api-change-ec2-666.json deleted file mode 100644 index 9419d6586430..000000000000 --- a/.changes/next-release/api-change-ec2-666.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ec2``", - "description": "This release adds two new capabilities to VPC Security Groups: Security Group VPC Associations and Shared Security Groups." -} diff --git a/.changes/next-release/api-change-ecs-27753.json b/.changes/next-release/api-change-ecs-27753.json deleted file mode 100644 index d31996638e79..000000000000 --- a/.changes/next-release/api-change-ecs-27753.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ecs``", - "description": "This release supports service deployments and service revisions which provide a comprehensive view of your Amazon ECS service history." -} diff --git a/.changes/next-release/api-change-geomaps-75522.json b/.changes/next-release/api-change-geomaps-75522.json deleted file mode 100644 index 549b3a63e00e..000000000000 --- a/.changes/next-release/api-change-geomaps-75522.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``geo-maps``", - "description": "Release of Amazon Location Maps API. Maps enables you to build digital maps that showcase your locations, visualize your data, and unlock insights to drive your business" -} diff --git a/.changes/next-release/api-change-geoplaces-2834.json b/.changes/next-release/api-change-geoplaces-2834.json deleted file mode 100644 index 0eb446d2a651..000000000000 --- a/.changes/next-release/api-change-geoplaces-2834.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``geo-places``", - "description": "Release of Amazon Location Places API. Places enables you to quickly search, display, and filter places, businesses, and locations based on proximity, category, and name" -} diff --git a/.changes/next-release/api-change-georoutes-75125.json b/.changes/next-release/api-change-georoutes-75125.json deleted file mode 100644 index 7f8bbd5fd1b5..000000000000 --- a/.changes/next-release/api-change-georoutes-75125.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``geo-routes``", - "description": "Release of Amazon Location Routes API. Routes enables you to plan efficient routes and streamline deliveries by leveraging real-time traffic, vehicle restrictions, and turn-by-turn directions." -} diff --git a/.changes/next-release/api-change-keyspaces-40277.json b/.changes/next-release/api-change-keyspaces-40277.json deleted file mode 100644 index 7c5872f74df2..000000000000 --- a/.changes/next-release/api-change-keyspaces-40277.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``keyspaces``", - "description": "Adds support for interacting with user-defined types (UDTs) through the following new operations: Create-Type, Delete-Type, List-Types, Get-Type." -} diff --git a/.changes/next-release/api-change-networkfirewall-13984.json b/.changes/next-release/api-change-networkfirewall-13984.json deleted file mode 100644 index 51b2fdbf7393..000000000000 --- a/.changes/next-release/api-change-networkfirewall-13984.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``network-firewall``", - "description": "AWS Network Firewall now supports configuring TCP idle timeout" -} diff --git a/.changes/next-release/api-change-opensearch-43815.json b/.changes/next-release/api-change-opensearch-43815.json deleted file mode 100644 index 9554c0b05dfa..000000000000 --- a/.changes/next-release/api-change-opensearch-43815.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``opensearch``", - "description": "This release introduces the new OpenSearch user interface (Dashboards), a new web-based application that can be associated with multiple data sources across OpenSearch managed clusters, serverless collections, and Amazon S3, so that users can gain a comprehensive insights in an unified interface." -} diff --git a/.changes/next-release/api-change-opensearchserverless-7702.json b/.changes/next-release/api-change-opensearchserverless-7702.json deleted file mode 100644 index 05349b1704d0..000000000000 --- a/.changes/next-release/api-change-opensearchserverless-7702.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``opensearchserverless``", - "description": "Neo Integration via IAM Identity Center (IdC)" -} diff --git a/.changes/next-release/api-change-redshift-30696.json b/.changes/next-release/api-change-redshift-30696.json deleted file mode 100644 index e16978731e99..000000000000 --- a/.changes/next-release/api-change-redshift-30696.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``redshift``", - "description": "This release launches S3 event integrations to create and manage integrations from an Amazon S3 source into an Amazon Redshift database." -} diff --git a/.changes/next-release/api-change-redshiftserverless-52832.json b/.changes/next-release/api-change-redshiftserverless-52832.json deleted file mode 100644 index e97a5570e447..000000000000 --- a/.changes/next-release/api-change-redshiftserverless-52832.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``redshift-serverless``", - "description": "Adds and updates API members for the Redshift Serverless AI-driven scaling and optimization feature using the price-performance target setting." -} diff --git a/.changes/next-release/api-change-route53-50298.json b/.changes/next-release/api-change-route53-50298.json deleted file mode 100644 index 268534f0aa5e..000000000000 --- a/.changes/next-release/api-change-route53-50298.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``route53``", - "description": "This release adds support for TLSA, SSHFP, SVCB, and HTTPS record types." -} diff --git a/.changes/next-release/api-change-sagemaker-56052.json b/.changes/next-release/api-change-sagemaker-56052.json deleted file mode 100644 index 3f466922a36a..000000000000 --- a/.changes/next-release/api-change-sagemaker-56052.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``sagemaker``", - "description": "Added support for Model Registry Staging construct. Users can define series of stages that models can progress through for model workflows and lifecycle. This simplifies tracking and managing models as they transition through development, testing, and production stages." -} diff --git a/.changes/next-release/api-change-workmail-10177.json b/.changes/next-release/api-change-workmail-10177.json deleted file mode 100644 index 943243f63ca5..000000000000 --- a/.changes/next-release/api-change-workmail-10177.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``workmail``", - "description": "This release adds support for Multi-Factor Authentication (MFA) and Personal Access Tokens through integration with AWS IAM Identity Center." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 86882612f861..0e9a534c842d 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,28 @@ CHANGELOG ========= +1.35.18 +======= + +* api-change:``appsync``: This release adds support for AppSync Event APIs. +* api-change:``connect``: Updated the public documentation for the UserIdentityInfo object to accurately reflect the character limits for the FirstName and LastName fields, which were previously listed as 1-100 characters. +* api-change:``datasync``: AWS DataSync now supports Enhanced mode tasks. This task mode supports transfer of virtually unlimited numbers of objects with enhanced metrics, more detailed logs, and higher performance than Basic mode. This mode currently supports transfers between Amazon S3 locations. +* api-change:``ec2``: This release adds two new capabilities to VPC Security Groups: Security Group VPC Associations and Shared Security Groups. +* api-change:``ecs``: This release supports service deployments and service revisions which provide a comprehensive view of your Amazon ECS service history. +* api-change:``geo-maps``: Release of Amazon Location Maps API. Maps enables you to build digital maps that showcase your locations, visualize your data, and unlock insights to drive your business +* api-change:``geo-places``: Release of Amazon Location Places API. Places enables you to quickly search, display, and filter places, businesses, and locations based on proximity, category, and name +* api-change:``geo-routes``: Release of Amazon Location Routes API. Routes enables you to plan efficient routes and streamline deliveries by leveraging real-time traffic, vehicle restrictions, and turn-by-turn directions. +* api-change:``keyspaces``: Adds support for interacting with user-defined types (UDTs) through the following new operations: Create-Type, Delete-Type, List-Types, Get-Type. +* api-change:``network-firewall``: AWS Network Firewall now supports configuring TCP idle timeout +* api-change:``opensearch``: This release introduces the new OpenSearch user interface (Dashboards), a new web-based application that can be associated with multiple data sources across OpenSearch managed clusters, serverless collections, and Amazon S3, so that users can gain a comprehensive insights in an unified interface. +* api-change:``opensearchserverless``: Neo Integration via IAM Identity Center (IdC) +* api-change:``redshift``: This release launches S3 event integrations to create and manage integrations from an Amazon S3 source into an Amazon Redshift database. +* api-change:``redshift-serverless``: Adds and updates API members for the Redshift Serverless AI-driven scaling and optimization feature using the price-performance target setting. +* api-change:``route53``: This release adds support for TLSA, SSHFP, SVCB, and HTTPS record types. +* api-change:``sagemaker``: Added support for Model Registry Staging construct. Users can define series of stages that models can progress through for model workflows and lifecycle. This simplifies tracking and managing models as they transition through development, testing, and production stages. +* api-change:``workmail``: This release adds support for Multi-Factor Authentication (MFA) and Personal Access Tokens through integration with AWS IAM Identity Center. + + 1.35.17 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 7ca680db87f0..2d1ce4142649 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.35.17' +__version__ = '1.35.18' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 589b72cd61d5..54ca2079125d 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.35.' # The full version, including alpha/beta/rc tags. -release = '1.35.17' +release = '1.35.18' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 959b07b2033c..da7c3bdf0585 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.51 + botocore==1.35.52 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 3c204f4a071e..577cbab9bd7a 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.51', + 'botocore==1.35.52', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From c4b2b3e0a1209739d3a18d461df7843da41fbde7 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 31 Oct 2024 18:19:15 +0000 Subject: [PATCH 0277/1087] Update changelog based on model updates --- .changes/next-release/api-change-amp-51209.json | 5 +++++ .changes/next-release/api-change-autoscaling-31521.json | 5 +++++ .changes/next-release/api-change-batch-56575.json | 5 +++++ .changes/next-release/api-change-elbv2-90392.json | 5 +++++ .changes/next-release/api-change-glue-30634.json | 5 +++++ .changes/next-release/api-change-sagemaker-40953.json | 5 +++++ .changes/next-release/api-change-sesv2-31207.json | 5 +++++ 7 files changed, 35 insertions(+) create mode 100644 .changes/next-release/api-change-amp-51209.json create mode 100644 .changes/next-release/api-change-autoscaling-31521.json create mode 100644 .changes/next-release/api-change-batch-56575.json create mode 100644 .changes/next-release/api-change-elbv2-90392.json create mode 100644 .changes/next-release/api-change-glue-30634.json create mode 100644 .changes/next-release/api-change-sagemaker-40953.json create mode 100644 .changes/next-release/api-change-sesv2-31207.json diff --git a/.changes/next-release/api-change-amp-51209.json b/.changes/next-release/api-change-amp-51209.json new file mode 100644 index 000000000000..3b215bfe0d1e --- /dev/null +++ b/.changes/next-release/api-change-amp-51209.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``amp``", + "description": "Added support for UpdateScraper API, to enable updating collector configuration in-place" +} diff --git a/.changes/next-release/api-change-autoscaling-31521.json b/.changes/next-release/api-change-autoscaling-31521.json new file mode 100644 index 000000000000..74433166ed00 --- /dev/null +++ b/.changes/next-release/api-change-autoscaling-31521.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``autoscaling``", + "description": "Adds bake time for Auto Scaling group Instance Refresh" +} diff --git a/.changes/next-release/api-change-batch-56575.json b/.changes/next-release/api-change-batch-56575.json new file mode 100644 index 000000000000..5854e4e8f96d --- /dev/null +++ b/.changes/next-release/api-change-batch-56575.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``batch``", + "description": "Add `podNamespace` to `EksAttemptDetail` and `containerID` to `EksAttemptContainerDetail`." +} diff --git a/.changes/next-release/api-change-elbv2-90392.json b/.changes/next-release/api-change-elbv2-90392.json new file mode 100644 index 000000000000..829f2ed5bb40 --- /dev/null +++ b/.changes/next-release/api-change-elbv2-90392.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``elbv2``", + "description": "Add UDP support for AWS PrivateLink and dual-stack Network Load Balancers" +} diff --git a/.changes/next-release/api-change-glue-30634.json b/.changes/next-release/api-change-glue-30634.json new file mode 100644 index 000000000000..b1206c846127 --- /dev/null +++ b/.changes/next-release/api-change-glue-30634.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``glue``", + "description": "Add schedule support for AWS Glue column statistics" +} diff --git a/.changes/next-release/api-change-sagemaker-40953.json b/.changes/next-release/api-change-sagemaker-40953.json new file mode 100644 index 000000000000..3eb2c2dee29d --- /dev/null +++ b/.changes/next-release/api-change-sagemaker-40953.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``sagemaker``", + "description": "SageMaker HyperPod adds scale-down at instance level via BatchDeleteClusterNodes API and group level via UpdateCluster API. SageMaker Training exposes secondary job status in TrainingJobSummary from ListTrainingJobs API. SageMaker now supports G6, G6e, P5e instances for HyperPod and Training." +} diff --git a/.changes/next-release/api-change-sesv2-31207.json b/.changes/next-release/api-change-sesv2-31207.json new file mode 100644 index 000000000000..88016fec8026 --- /dev/null +++ b/.changes/next-release/api-change-sesv2-31207.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``sesv2``", + "description": "This release enables customers to provide the email template content in the SESv2 SendEmail and SendBulkEmail APIs instead of the name or the ARN of a stored email template." +} From a670144fb88f22c142b98600a732d163bfe3baf0 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 31 Oct 2024 18:20:29 +0000 Subject: [PATCH 0278/1087] Bumping version to 1.35.19 --- .changes/1.35.19.json | 37 +++++++++++++++++++ .../next-release/api-change-amp-51209.json | 5 --- .../api-change-autoscaling-31521.json | 5 --- .../next-release/api-change-batch-56575.json | 5 --- .../next-release/api-change-elbv2-90392.json | 5 --- .../next-release/api-change-glue-30634.json | 5 --- .../api-change-sagemaker-40953.json | 5 --- .../next-release/api-change-sesv2-31207.json | 5 --- CHANGELOG.rst | 12 ++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 13 files changed, 53 insertions(+), 39 deletions(-) create mode 100644 .changes/1.35.19.json delete mode 100644 .changes/next-release/api-change-amp-51209.json delete mode 100644 .changes/next-release/api-change-autoscaling-31521.json delete mode 100644 .changes/next-release/api-change-batch-56575.json delete mode 100644 .changes/next-release/api-change-elbv2-90392.json delete mode 100644 .changes/next-release/api-change-glue-30634.json delete mode 100644 .changes/next-release/api-change-sagemaker-40953.json delete mode 100644 .changes/next-release/api-change-sesv2-31207.json diff --git a/.changes/1.35.19.json b/.changes/1.35.19.json new file mode 100644 index 000000000000..bbb193551a72 --- /dev/null +++ b/.changes/1.35.19.json @@ -0,0 +1,37 @@ +[ + { + "category": "``amp``", + "description": "Added support for UpdateScraper API, to enable updating collector configuration in-place", + "type": "api-change" + }, + { + "category": "``autoscaling``", + "description": "Adds bake time for Auto Scaling group Instance Refresh", + "type": "api-change" + }, + { + "category": "``batch``", + "description": "Add `podNamespace` to `EksAttemptDetail` and `containerID` to `EksAttemptContainerDetail`.", + "type": "api-change" + }, + { + "category": "``elbv2``", + "description": "Add UDP support for AWS PrivateLink and dual-stack Network Load Balancers", + "type": "api-change" + }, + { + "category": "``glue``", + "description": "Add schedule support for AWS Glue column statistics", + "type": "api-change" + }, + { + "category": "``sagemaker``", + "description": "SageMaker HyperPod adds scale-down at instance level via BatchDeleteClusterNodes API and group level via UpdateCluster API. SageMaker Training exposes secondary job status in TrainingJobSummary from ListTrainingJobs API. SageMaker now supports G6, G6e, P5e instances for HyperPod and Training.", + "type": "api-change" + }, + { + "category": "``sesv2``", + "description": "This release enables customers to provide the email template content in the SESv2 SendEmail and SendBulkEmail APIs instead of the name or the ARN of a stored email template.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-amp-51209.json b/.changes/next-release/api-change-amp-51209.json deleted file mode 100644 index 3b215bfe0d1e..000000000000 --- a/.changes/next-release/api-change-amp-51209.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``amp``", - "description": "Added support for UpdateScraper API, to enable updating collector configuration in-place" -} diff --git a/.changes/next-release/api-change-autoscaling-31521.json b/.changes/next-release/api-change-autoscaling-31521.json deleted file mode 100644 index 74433166ed00..000000000000 --- a/.changes/next-release/api-change-autoscaling-31521.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``autoscaling``", - "description": "Adds bake time for Auto Scaling group Instance Refresh" -} diff --git a/.changes/next-release/api-change-batch-56575.json b/.changes/next-release/api-change-batch-56575.json deleted file mode 100644 index 5854e4e8f96d..000000000000 --- a/.changes/next-release/api-change-batch-56575.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``batch``", - "description": "Add `podNamespace` to `EksAttemptDetail` and `containerID` to `EksAttemptContainerDetail`." -} diff --git a/.changes/next-release/api-change-elbv2-90392.json b/.changes/next-release/api-change-elbv2-90392.json deleted file mode 100644 index 829f2ed5bb40..000000000000 --- a/.changes/next-release/api-change-elbv2-90392.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``elbv2``", - "description": "Add UDP support for AWS PrivateLink and dual-stack Network Load Balancers" -} diff --git a/.changes/next-release/api-change-glue-30634.json b/.changes/next-release/api-change-glue-30634.json deleted file mode 100644 index b1206c846127..000000000000 --- a/.changes/next-release/api-change-glue-30634.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``glue``", - "description": "Add schedule support for AWS Glue column statistics" -} diff --git a/.changes/next-release/api-change-sagemaker-40953.json b/.changes/next-release/api-change-sagemaker-40953.json deleted file mode 100644 index 3eb2c2dee29d..000000000000 --- a/.changes/next-release/api-change-sagemaker-40953.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``sagemaker``", - "description": "SageMaker HyperPod adds scale-down at instance level via BatchDeleteClusterNodes API and group level via UpdateCluster API. SageMaker Training exposes secondary job status in TrainingJobSummary from ListTrainingJobs API. SageMaker now supports G6, G6e, P5e instances for HyperPod and Training." -} diff --git a/.changes/next-release/api-change-sesv2-31207.json b/.changes/next-release/api-change-sesv2-31207.json deleted file mode 100644 index 88016fec8026..000000000000 --- a/.changes/next-release/api-change-sesv2-31207.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``sesv2``", - "description": "This release enables customers to provide the email template content in the SESv2 SendEmail and SendBulkEmail APIs instead of the name or the ARN of a stored email template." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 0e9a534c842d..f20797ffb9dc 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,18 @@ CHANGELOG ========= +1.35.19 +======= + +* api-change:``amp``: Added support for UpdateScraper API, to enable updating collector configuration in-place +* api-change:``autoscaling``: Adds bake time for Auto Scaling group Instance Refresh +* api-change:``batch``: Add `podNamespace` to `EksAttemptDetail` and `containerID` to `EksAttemptContainerDetail`. +* api-change:``elbv2``: Add UDP support for AWS PrivateLink and dual-stack Network Load Balancers +* api-change:``glue``: Add schedule support for AWS Glue column statistics +* api-change:``sagemaker``: SageMaker HyperPod adds scale-down at instance level via BatchDeleteClusterNodes API and group level via UpdateCluster API. SageMaker Training exposes secondary job status in TrainingJobSummary from ListTrainingJobs API. SageMaker now supports G6, G6e, P5e instances for HyperPod and Training. +* api-change:``sesv2``: This release enables customers to provide the email template content in the SESv2 SendEmail and SendBulkEmail APIs instead of the name or the ARN of a stored email template. + + 1.35.18 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 2d1ce4142649..04a5401cb516 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.35.18' +__version__ = '1.35.19' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 54ca2079125d..1b1670955109 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.35.' # The full version, including alpha/beta/rc tags. -release = '1.35.18' +release = '1.35.19' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index da7c3bdf0585..6b2f856c5718 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.52 + botocore==1.35.53 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 577cbab9bd7a..64c633d242c3 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.52', + 'botocore==1.35.53', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 3df4d2b2dcd1f4233be6c04d572cd25ac9371301 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 1 Nov 2024 18:08:12 +0000 Subject: [PATCH 0279/1087] Update changelog based on model updates --- .changes/next-release/api-change-bedrockagent-17716.json | 5 +++++ .changes/next-release/api-change-docdbelastic-48981.json | 5 +++++ .changes/next-release/api-change-logs-65108.json | 5 +++++ .changes/next-release/api-change-taxsettings-42638.json | 5 +++++ 4 files changed, 20 insertions(+) create mode 100644 .changes/next-release/api-change-bedrockagent-17716.json create mode 100644 .changes/next-release/api-change-docdbelastic-48981.json create mode 100644 .changes/next-release/api-change-logs-65108.json create mode 100644 .changes/next-release/api-change-taxsettings-42638.json diff --git a/.changes/next-release/api-change-bedrockagent-17716.json b/.changes/next-release/api-change-bedrockagent-17716.json new file mode 100644 index 000000000000..132769d5585b --- /dev/null +++ b/.changes/next-release/api-change-bedrockagent-17716.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-agent``", + "description": "Amazon Bedrock Knowledge Bases now supports using application inference profiles to increase throughput and improve resilience." +} diff --git a/.changes/next-release/api-change-docdbelastic-48981.json b/.changes/next-release/api-change-docdbelastic-48981.json new file mode 100644 index 000000000000..81eaf31acd36 --- /dev/null +++ b/.changes/next-release/api-change-docdbelastic-48981.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``docdb-elastic``", + "description": "Amazon DocumentDB Elastic Clusters adds support for pending maintenance actions feature with APIs GetPendingMaintenanceAction, ListPendingMaintenanceActions and ApplyPendingMaintenanceAction" +} diff --git a/.changes/next-release/api-change-logs-65108.json b/.changes/next-release/api-change-logs-65108.json new file mode 100644 index 000000000000..e477bb4f4c24 --- /dev/null +++ b/.changes/next-release/api-change-logs-65108.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``logs``", + "description": "This release introduces an improvement in PutLogEvents" +} diff --git a/.changes/next-release/api-change-taxsettings-42638.json b/.changes/next-release/api-change-taxsettings-42638.json new file mode 100644 index 000000000000..488e50884846 --- /dev/null +++ b/.changes/next-release/api-change-taxsettings-42638.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``taxsettings``", + "description": "Add support for supplemental tax registrations via these new APIs: PutSupplementalTaxRegistration, ListSupplementalTaxRegistrations, and DeleteSupplementalTaxRegistration." +} From 37005f6a445e9eaf04fae5df4adcca5aba9a1403 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 1 Nov 2024 18:09:33 +0000 Subject: [PATCH 0280/1087] Bumping version to 1.35.20 --- .changes/1.35.20.json | 22 +++++++++++++++++++ .../api-change-bedrockagent-17716.json | 5 ----- .../api-change-docdbelastic-48981.json | 5 ----- .../next-release/api-change-logs-65108.json | 5 ----- .../api-change-taxsettings-42638.json | 5 ----- CHANGELOG.rst | 9 ++++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 10 files changed, 35 insertions(+), 24 deletions(-) create mode 100644 .changes/1.35.20.json delete mode 100644 .changes/next-release/api-change-bedrockagent-17716.json delete mode 100644 .changes/next-release/api-change-docdbelastic-48981.json delete mode 100644 .changes/next-release/api-change-logs-65108.json delete mode 100644 .changes/next-release/api-change-taxsettings-42638.json diff --git a/.changes/1.35.20.json b/.changes/1.35.20.json new file mode 100644 index 000000000000..a9a810894b06 --- /dev/null +++ b/.changes/1.35.20.json @@ -0,0 +1,22 @@ +[ + { + "category": "``bedrock-agent``", + "description": "Amazon Bedrock Knowledge Bases now supports using application inference profiles to increase throughput and improve resilience.", + "type": "api-change" + }, + { + "category": "``docdb-elastic``", + "description": "Amazon DocumentDB Elastic Clusters adds support for pending maintenance actions feature with APIs GetPendingMaintenanceAction, ListPendingMaintenanceActions and ApplyPendingMaintenanceAction", + "type": "api-change" + }, + { + "category": "``logs``", + "description": "This release introduces an improvement in PutLogEvents", + "type": "api-change" + }, + { + "category": "``taxsettings``", + "description": "Add support for supplemental tax registrations via these new APIs: PutSupplementalTaxRegistration, ListSupplementalTaxRegistrations, and DeleteSupplementalTaxRegistration.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-bedrockagent-17716.json b/.changes/next-release/api-change-bedrockagent-17716.json deleted file mode 100644 index 132769d5585b..000000000000 --- a/.changes/next-release/api-change-bedrockagent-17716.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-agent``", - "description": "Amazon Bedrock Knowledge Bases now supports using application inference profiles to increase throughput and improve resilience." -} diff --git a/.changes/next-release/api-change-docdbelastic-48981.json b/.changes/next-release/api-change-docdbelastic-48981.json deleted file mode 100644 index 81eaf31acd36..000000000000 --- a/.changes/next-release/api-change-docdbelastic-48981.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``docdb-elastic``", - "description": "Amazon DocumentDB Elastic Clusters adds support for pending maintenance actions feature with APIs GetPendingMaintenanceAction, ListPendingMaintenanceActions and ApplyPendingMaintenanceAction" -} diff --git a/.changes/next-release/api-change-logs-65108.json b/.changes/next-release/api-change-logs-65108.json deleted file mode 100644 index e477bb4f4c24..000000000000 --- a/.changes/next-release/api-change-logs-65108.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``logs``", - "description": "This release introduces an improvement in PutLogEvents" -} diff --git a/.changes/next-release/api-change-taxsettings-42638.json b/.changes/next-release/api-change-taxsettings-42638.json deleted file mode 100644 index 488e50884846..000000000000 --- a/.changes/next-release/api-change-taxsettings-42638.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``taxsettings``", - "description": "Add support for supplemental tax registrations via these new APIs: PutSupplementalTaxRegistration, ListSupplementalTaxRegistrations, and DeleteSupplementalTaxRegistration." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index f20797ffb9dc..4c5bcf93ba73 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,15 @@ CHANGELOG ========= +1.35.20 +======= + +* api-change:``bedrock-agent``: Amazon Bedrock Knowledge Bases now supports using application inference profiles to increase throughput and improve resilience. +* api-change:``docdb-elastic``: Amazon DocumentDB Elastic Clusters adds support for pending maintenance actions feature with APIs GetPendingMaintenanceAction, ListPendingMaintenanceActions and ApplyPendingMaintenanceAction +* api-change:``logs``: This release introduces an improvement in PutLogEvents +* api-change:``taxsettings``: Add support for supplemental tax registrations via these new APIs: PutSupplementalTaxRegistration, ListSupplementalTaxRegistrations, and DeleteSupplementalTaxRegistration. + + 1.35.19 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 04a5401cb516..b2a794767b48 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.35.19' +__version__ = '1.35.20' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 1b1670955109..3b74bea71d5c 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.35.' # The full version, including alpha/beta/rc tags. -release = '1.35.19' +release = '1.35.20' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 6b2f856c5718..cab40a81fa76 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.53 + botocore==1.35.54 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 64c633d242c3..9a27ee15cdea 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.53', + 'botocore==1.35.54', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From bb6f89f3429def1bb875cc9ea847768caca8c3d8 Mon Sep 17 00:00:00 2001 From: jonathan343 <43360731+jonathan343@users.noreply.github.com> Date: Mon, 4 Nov 2024 13:10:29 -0800 Subject: [PATCH 0281/1087] Use randomized bucket names for S3 integration tests. (#9052) * Use randomized bucket names for S3 integration tests. * Improve random bucket name generation * Use shared non-existent bucket --- awscli/testutils.py | 5 ++-- .../customizations/s3/test_plugin.py | 27 +++++++++++++------ 2 files changed, 22 insertions(+), 10 deletions(-) diff --git a/awscli/testutils.py b/awscli/testutils.py index 27fea5da9687..f1fe2d27bbcf 100644 --- a/awscli/testutils.py +++ b/awscli/testutils.py @@ -32,6 +32,7 @@ import tempfile import time import unittest +import uuid from pprint import pformat from subprocess import PIPE, Popen from unittest import mock @@ -208,7 +209,7 @@ def random_chars(num_chars): return binascii.hexlify(os.urandom(int(num_chars / 2))).decode('ascii') -def random_bucket_name(prefix='awscli-s3integ-', num_random=15): +def random_bucket_name(prefix='awscli-s3integ', num_random=15): """Generate a random S3 bucket name. :param prefix: A prefix to use in the bucket name. Useful @@ -219,7 +220,7 @@ def random_bucket_name(prefix='awscli-s3integ-', num_random=15): :returns: The name of a randomly generated bucket name as a string. """ - return prefix + random_chars(num_random) + return f"{prefix}-{random_chars(num_random)}-{int(time.time())}" class BaseCLIDriverTest(unittest.TestCase): diff --git a/tests/integration/customizations/s3/test_plugin.py b/tests/integration/customizations/s3/test_plugin.py index e943eaee46d0..9ac845651c21 100644 --- a/tests/integration/customizations/s3/test_plugin.py +++ b/tests/integration/customizations/s3/test_plugin.py @@ -45,6 +45,7 @@ # Using the same log name as testutils.py LOG = logging.getLogger('awscli.tests.integration') _SHARED_BUCKET = random_bucket_name() +_NON_EXISTENT_BUCKET = random_bucket_name() _DEFAULT_REGION = 'us-west-2' _DEFAULT_AZ = 'usw2-az1' _SHARED_DIR_BUCKET = f'{random_bucket_name()}--{_DEFAULT_AZ}--x-s3' @@ -87,6 +88,17 @@ def setup_module(): Bucket=_SHARED_BUCKET ) + # Validate that "_NON_EXISTENT_BUCKET" doesn't exist. + waiter = s3.get_waiter('bucket_not_exists') + try: + waiter.wait(Bucket=_NON_EXISTENT_BUCKET) + except Exception as e: + LOG.debug( + f"The following bucket was unexpectedly discovered: {_NON_EXISTENT_BUCKET}", + e, + exc_info=True, + ) + def clear_out_bucket(bucket, delete_bucket=False): s3 = botocore.session.get_session().create_client( @@ -308,7 +320,7 @@ def test_mv_with_large_file(self): def test_mv_to_nonexistent_bucket(self): full_path = self.files.create_file('foo.txt', 'this is foo.txt') - p = aws('s3 mv %s s3://bad-noexist-13143242/foo.txt' % (full_path,)) + p = aws(f's3 mv {full_path} s3://{_NON_EXISTENT_BUCKET}/foo.txt') self.assertEqual(p.rc, 1) def test_cant_move_file_onto_itself_small_file(self): @@ -519,7 +531,7 @@ def test_cleans_up_aborted_uploads(self): def test_cp_to_nonexistent_bucket(self): foo_txt = self.files.create_file('foo.txt', 'this is foo.txt') - p = aws('s3 cp %s s3://noexist-bucket-foo-bar123/foo.txt' % (foo_txt,)) + p = aws(f's3 cp {foo_txt} s3://{_NON_EXISTENT_BUCKET}/foo.txt') self.assertEqual(p.rc, 1) def test_cp_empty_file(self): @@ -531,7 +543,7 @@ def test_cp_empty_file(self): self.assertTrue(self.key_exists(bucket_name, 'foo.txt')) def test_download_non_existent_key(self): - p = aws('s3 cp s3://jasoidfjasdjfasdofijasdf/foo.txt foo.txt') + p = aws(f's3 cp s3://{_NON_EXISTENT_BUCKET}/foo.txt foo.txt') self.assertEqual(p.rc, 1) expected_err_msg = ( 'An error occurred (404) when calling the ' @@ -1223,7 +1235,7 @@ def test_ls_bucket_with_s3_prefix(self): self.assert_no_errors(p) def test_ls_non_existent_bucket(self): - p = aws('s3 ls s3://foobara99842u4wbts829381') + p = aws(f's3 ls s3://{_NON_EXISTENT_BUCKET}') self.assertEqual(p.rc, 255) self.assertIn( ('An error occurred (NoSuchBucket) when calling the ' @@ -1360,7 +1372,7 @@ def test_error_output(self): foo_txt = self.files.create_file('foo.txt', 'foo contents') # Copy file into bucket. - p = aws('s3 cp %s s3://non-existant-bucket/' % foo_txt) + p = aws(f's3 cp {foo_txt} s3://{_NON_EXISTENT_BUCKET}/') # Check that there were errors and that the error was print to stderr. self.assertEqual(p.rc, 1) self.assertIn('upload failed', p.stderr) @@ -1369,7 +1381,7 @@ def test_error_ouput_quiet(self): foo_txt = self.files.create_file('foo.txt', 'foo contents') # Copy file into bucket. - p = aws('s3 cp %s s3://non-existant-bucket/ --quiet' % foo_txt) + p = aws(f's3 cp {foo_txt} s3://{_NON_EXISTENT_BUCKET}/ --quiet') # Check that there were errors and that the error was not # print to stderr. self.assertEqual(p.rc, 1) @@ -1379,8 +1391,7 @@ def test_error_ouput_only_show_errors(self): foo_txt = self.files.create_file('foo.txt', 'foo contents') # Copy file into bucket. - p = aws('s3 cp %s s3://non-existant-bucket/ --only-show-errors' - % foo_txt) + p = aws(f's3 cp {foo_txt} s3://{_NON_EXISTENT_BUCKET}/ --only-show-errors') # Check that there were errors and that the error was print to stderr. self.assertEqual(p.rc, 1) self.assertIn('upload failed', p.stderr) From cdea5043b79a271d18596e455a66220777e41a61 Mon Sep 17 00:00:00 2001 From: Kenneth Daily Date: Mon, 4 Nov 2024 15:46:05 -0800 Subject: [PATCH 0282/1087] Add gh-pages branch to dependabot Use dependabot to check weekly for updates for GitHub Actions and required dependencies for the `gh-pages` branch, which is used to publish the contribution guide. --- .github/dependabot.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 22e8ed7b57d5..6945426981e5 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -10,6 +10,16 @@ updates: - dependency-name: "*" update-types: ["version-update:semver-patch"] + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" + day: "sunday" + target-branch: "gh-pages" + ignore: + - dependency-name: "*" + update-types: ["version-update:semver-patch"] + - package-ecosystem: "pip" directory: "/" open-pull-requests-limit: 10 @@ -51,3 +61,21 @@ updates: - dependency-name: "pyyaml" - dependency-name: "wheel" - dependency-name: "rsa" + + - package-ecosystem: "pip" + directory: "/" + open-pull-requests-limit: 10 + schedule: + interval: "weekly" + day: "sunday" + target-branch: "gh-pages" + labels: + - "dependencies" + - "gh-pages" + allow: + - dependency-name: "Sphinx" + - dependency-name: "furo" + - dependency-name: "myst-parser" + - dependency-name: "sphinx-lint" + - dependency-name: "sphinx-copybutton" + - dependency-name: "sphinx-inline-tabs" From 035edc0fa58823f23d8404338a71195bb366de44 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 6 Nov 2024 19:04:59 +0000 Subject: [PATCH 0283/1087] Update changelog based on model updates --- .changes/next-release/api-change-codebuild-31232.json | 5 +++++ .changes/next-release/api-change-guardduty-29399.json | 5 +++++ .changes/next-release/api-change-lakeformation-23901.json | 5 +++++ .changes/next-release/api-change-qapps-62821.json | 5 +++++ .changes/next-release/api-change-s3control-80527.json | 5 +++++ .../next-release/api-change-verifiedpermissions-96543.json | 5 +++++ 6 files changed, 30 insertions(+) create mode 100644 .changes/next-release/api-change-codebuild-31232.json create mode 100644 .changes/next-release/api-change-guardduty-29399.json create mode 100644 .changes/next-release/api-change-lakeformation-23901.json create mode 100644 .changes/next-release/api-change-qapps-62821.json create mode 100644 .changes/next-release/api-change-s3control-80527.json create mode 100644 .changes/next-release/api-change-verifiedpermissions-96543.json diff --git a/.changes/next-release/api-change-codebuild-31232.json b/.changes/next-release/api-change-codebuild-31232.json new file mode 100644 index 000000000000..2b428efbc2d0 --- /dev/null +++ b/.changes/next-release/api-change-codebuild-31232.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``codebuild``", + "description": "AWS CodeBuild now adds additional compute types for reserved capacity fleet." +} diff --git a/.changes/next-release/api-change-guardduty-29399.json b/.changes/next-release/api-change-guardduty-29399.json new file mode 100644 index 000000000000..1e9121974bc0 --- /dev/null +++ b/.changes/next-release/api-change-guardduty-29399.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``guardduty``", + "description": "GuardDuty RDS Protection expands support for Amazon Aurora PostgreSQL Limitless Databases." +} diff --git a/.changes/next-release/api-change-lakeformation-23901.json b/.changes/next-release/api-change-lakeformation-23901.json new file mode 100644 index 000000000000..30c8bacb855b --- /dev/null +++ b/.changes/next-release/api-change-lakeformation-23901.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``lakeformation``", + "description": "API changes for new named tag expressions feature." +} diff --git a/.changes/next-release/api-change-qapps-62821.json b/.changes/next-release/api-change-qapps-62821.json new file mode 100644 index 000000000000..96cc3177da28 --- /dev/null +++ b/.changes/next-release/api-change-qapps-62821.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``qapps``", + "description": "Introduces category apis in AmazonQApps. Web experience users use Categories to tag and filter library items." +} diff --git a/.changes/next-release/api-change-s3control-80527.json b/.changes/next-release/api-change-s3control-80527.json new file mode 100644 index 000000000000..b1158ad8c785 --- /dev/null +++ b/.changes/next-release/api-change-s3control-80527.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``s3control``", + "description": "Fix ListStorageLensConfigurations and ListStorageLensGroups deserialization for Smithy SDKs." +} diff --git a/.changes/next-release/api-change-verifiedpermissions-96543.json b/.changes/next-release/api-change-verifiedpermissions-96543.json new file mode 100644 index 000000000000..f63f56469cea --- /dev/null +++ b/.changes/next-release/api-change-verifiedpermissions-96543.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``verifiedpermissions``", + "description": "Adding BatchGetPolicy API which supports the retrieval of multiple policies across multiple policy stores within a single request." +} From 7399573b0fbe5278306ae7df986518bb88dfbeb4 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 6 Nov 2024 19:06:29 +0000 Subject: [PATCH 0284/1087] Bumping version to 1.35.21 --- .changes/1.35.21.json | 32 +++++++++++++++++++ .../api-change-codebuild-31232.json | 5 --- .../api-change-guardduty-29399.json | 5 --- .../api-change-lakeformation-23901.json | 5 --- .../next-release/api-change-qapps-62821.json | 5 --- .../api-change-s3control-80527.json | 5 --- .../api-change-verifiedpermissions-96543.json | 5 --- CHANGELOG.rst | 11 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 12 files changed, 47 insertions(+), 34 deletions(-) create mode 100644 .changes/1.35.21.json delete mode 100644 .changes/next-release/api-change-codebuild-31232.json delete mode 100644 .changes/next-release/api-change-guardduty-29399.json delete mode 100644 .changes/next-release/api-change-lakeformation-23901.json delete mode 100644 .changes/next-release/api-change-qapps-62821.json delete mode 100644 .changes/next-release/api-change-s3control-80527.json delete mode 100644 .changes/next-release/api-change-verifiedpermissions-96543.json diff --git a/.changes/1.35.21.json b/.changes/1.35.21.json new file mode 100644 index 000000000000..8fa134dc0871 --- /dev/null +++ b/.changes/1.35.21.json @@ -0,0 +1,32 @@ +[ + { + "category": "``codebuild``", + "description": "AWS CodeBuild now adds additional compute types for reserved capacity fleet.", + "type": "api-change" + }, + { + "category": "``guardduty``", + "description": "GuardDuty RDS Protection expands support for Amazon Aurora PostgreSQL Limitless Databases.", + "type": "api-change" + }, + { + "category": "``lakeformation``", + "description": "API changes for new named tag expressions feature.", + "type": "api-change" + }, + { + "category": "``qapps``", + "description": "Introduces category apis in AmazonQApps. Web experience users use Categories to tag and filter library items.", + "type": "api-change" + }, + { + "category": "``s3control``", + "description": "Fix ListStorageLensConfigurations and ListStorageLensGroups deserialization for Smithy SDKs.", + "type": "api-change" + }, + { + "category": "``verifiedpermissions``", + "description": "Adding BatchGetPolicy API which supports the retrieval of multiple policies across multiple policy stores within a single request.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-codebuild-31232.json b/.changes/next-release/api-change-codebuild-31232.json deleted file mode 100644 index 2b428efbc2d0..000000000000 --- a/.changes/next-release/api-change-codebuild-31232.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``codebuild``", - "description": "AWS CodeBuild now adds additional compute types for reserved capacity fleet." -} diff --git a/.changes/next-release/api-change-guardduty-29399.json b/.changes/next-release/api-change-guardduty-29399.json deleted file mode 100644 index 1e9121974bc0..000000000000 --- a/.changes/next-release/api-change-guardduty-29399.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``guardduty``", - "description": "GuardDuty RDS Protection expands support for Amazon Aurora PostgreSQL Limitless Databases." -} diff --git a/.changes/next-release/api-change-lakeformation-23901.json b/.changes/next-release/api-change-lakeformation-23901.json deleted file mode 100644 index 30c8bacb855b..000000000000 --- a/.changes/next-release/api-change-lakeformation-23901.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``lakeformation``", - "description": "API changes for new named tag expressions feature." -} diff --git a/.changes/next-release/api-change-qapps-62821.json b/.changes/next-release/api-change-qapps-62821.json deleted file mode 100644 index 96cc3177da28..000000000000 --- a/.changes/next-release/api-change-qapps-62821.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``qapps``", - "description": "Introduces category apis in AmazonQApps. Web experience users use Categories to tag and filter library items." -} diff --git a/.changes/next-release/api-change-s3control-80527.json b/.changes/next-release/api-change-s3control-80527.json deleted file mode 100644 index b1158ad8c785..000000000000 --- a/.changes/next-release/api-change-s3control-80527.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``s3control``", - "description": "Fix ListStorageLensConfigurations and ListStorageLensGroups deserialization for Smithy SDKs." -} diff --git a/.changes/next-release/api-change-verifiedpermissions-96543.json b/.changes/next-release/api-change-verifiedpermissions-96543.json deleted file mode 100644 index f63f56469cea..000000000000 --- a/.changes/next-release/api-change-verifiedpermissions-96543.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``verifiedpermissions``", - "description": "Adding BatchGetPolicy API which supports the retrieval of multiple policies across multiple policy stores within a single request." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 4c5bcf93ba73..b9a3bbf7703f 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,17 @@ CHANGELOG ========= +1.35.21 +======= + +* api-change:``codebuild``: AWS CodeBuild now adds additional compute types for reserved capacity fleet. +* api-change:``guardduty``: GuardDuty RDS Protection expands support for Amazon Aurora PostgreSQL Limitless Databases. +* api-change:``lakeformation``: API changes for new named tag expressions feature. +* api-change:``qapps``: Introduces category apis in AmazonQApps. Web experience users use Categories to tag and filter library items. +* api-change:``s3control``: Fix ListStorageLensConfigurations and ListStorageLensGroups deserialization for Smithy SDKs. +* api-change:``verifiedpermissions``: Adding BatchGetPolicy API which supports the retrieval of multiple policies across multiple policy stores within a single request. + + 1.35.20 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index b2a794767b48..c90a8ae29bde 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.35.20' +__version__ = '1.35.21' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 3b74bea71d5c..394c72d9a578 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.35.' # The full version, including alpha/beta/rc tags. -release = '1.35.20' +release = '1.35.21' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index cab40a81fa76..4c68ab7a74a3 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.54 + botocore==1.35.55 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 9a27ee15cdea..164a21fb5506 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.54', + 'botocore==1.35.55', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From cfa11e59b3e72ea6a4b091e3f3473fe4014036bb Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 7 Nov 2024 19:24:24 +0000 Subject: [PATCH 0285/1087] Update changelog based on model updates --- .changes/next-release/api-change-autoscaling-52568.json | 5 +++++ .changes/next-release/api-change-bedrockagent-6645.json | 5 +++++ .changes/next-release/api-change-bedrockruntime-69720.json | 5 +++++ .changes/next-release/api-change-cleanrooms-76069.json | 5 +++++ .changes/next-release/api-change-cleanroomsml-34708.json | 5 +++++ .changes/next-release/api-change-quicksight-44271.json | 5 +++++ .../next-release/api-change-resourceexplorer2-28123.json | 5 +++++ .changes/next-release/api-change-synthetics-33626.json | 5 +++++ 8 files changed, 40 insertions(+) create mode 100644 .changes/next-release/api-change-autoscaling-52568.json create mode 100644 .changes/next-release/api-change-bedrockagent-6645.json create mode 100644 .changes/next-release/api-change-bedrockruntime-69720.json create mode 100644 .changes/next-release/api-change-cleanrooms-76069.json create mode 100644 .changes/next-release/api-change-cleanroomsml-34708.json create mode 100644 .changes/next-release/api-change-quicksight-44271.json create mode 100644 .changes/next-release/api-change-resourceexplorer2-28123.json create mode 100644 .changes/next-release/api-change-synthetics-33626.json diff --git a/.changes/next-release/api-change-autoscaling-52568.json b/.changes/next-release/api-change-autoscaling-52568.json new file mode 100644 index 000000000000..1560b4a7f1b7 --- /dev/null +++ b/.changes/next-release/api-change-autoscaling-52568.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``autoscaling``", + "description": "Auto Scaling groups now support the ability to strictly balance instances across Availability Zones by configuring the AvailabilityZoneDistribution parameter. If balanced-only is configured for a group, launches will always be attempted in the under scaled Availability Zone even if it is unhealthy." +} diff --git a/.changes/next-release/api-change-bedrockagent-6645.json b/.changes/next-release/api-change-bedrockagent-6645.json new file mode 100644 index 000000000000..d0775ea2055d --- /dev/null +++ b/.changes/next-release/api-change-bedrockagent-6645.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-agent``", + "description": "Add prompt support for chat template configuration and agent generative AI resource. Add support for configuring an optional guardrail in Prompt and Knowledge Base nodes in Prompt Flows. Add API to validate flow definition" +} diff --git a/.changes/next-release/api-change-bedrockruntime-69720.json b/.changes/next-release/api-change-bedrockruntime-69720.json new file mode 100644 index 000000000000..12bce9d7f6c3 --- /dev/null +++ b/.changes/next-release/api-change-bedrockruntime-69720.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-runtime``", + "description": "Add Prompt management support to Bedrock runtime APIs: Converse, ConverseStream, InvokeModel, InvokeModelWithStreamingResponse" +} diff --git a/.changes/next-release/api-change-cleanrooms-76069.json b/.changes/next-release/api-change-cleanrooms-76069.json new file mode 100644 index 000000000000..3fba7345b7c7 --- /dev/null +++ b/.changes/next-release/api-change-cleanrooms-76069.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``cleanrooms``", + "description": "This release introduces support for Custom Models in AWS Clean Rooms ML." +} diff --git a/.changes/next-release/api-change-cleanroomsml-34708.json b/.changes/next-release/api-change-cleanroomsml-34708.json new file mode 100644 index 000000000000..e9c4ecd5bdde --- /dev/null +++ b/.changes/next-release/api-change-cleanroomsml-34708.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``cleanroomsml``", + "description": "This release introduces support for Custom Models in AWS Clean Rooms ML." +} diff --git a/.changes/next-release/api-change-quicksight-44271.json b/.changes/next-release/api-change-quicksight-44271.json new file mode 100644 index 000000000000..6d42d27e7bd7 --- /dev/null +++ b/.changes/next-release/api-change-quicksight-44271.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``quicksight``", + "description": "Add Client Credentials based OAuth support for Snowflake and Starburst" +} diff --git a/.changes/next-release/api-change-resourceexplorer2-28123.json b/.changes/next-release/api-change-resourceexplorer2-28123.json new file mode 100644 index 000000000000..86681e10cb5e --- /dev/null +++ b/.changes/next-release/api-change-resourceexplorer2-28123.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``resource-explorer-2``", + "description": "Add GetManagedView, ListManagedViews APIs." +} diff --git a/.changes/next-release/api-change-synthetics-33626.json b/.changes/next-release/api-change-synthetics-33626.json new file mode 100644 index 000000000000..b5e96027f79c --- /dev/null +++ b/.changes/next-release/api-change-synthetics-33626.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``synthetics``", + "description": "Add support to toggle if a canary will automatically delete provisioned canary resources such as Lambda functions and layers when a canary is deleted. This behavior can be controlled via the new ProvisionedResourceCleanup property exposed in the CreateCanary and UpdateCanary APIs." +} From 781afaa94a7fdb7e35611a9e543806c836ebc77f Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 7 Nov 2024 19:25:51 +0000 Subject: [PATCH 0286/1087] Bumping version to 1.35.22 --- .changes/1.35.22.json | 42 +++++++++++++++++++ .../api-change-autoscaling-52568.json | 5 --- .../api-change-bedrockagent-6645.json | 5 --- .../api-change-bedrockruntime-69720.json | 5 --- .../api-change-cleanrooms-76069.json | 5 --- .../api-change-cleanroomsml-34708.json | 5 --- .../api-change-quicksight-44271.json | 5 --- .../api-change-resourceexplorer2-28123.json | 5 --- .../api-change-synthetics-33626.json | 5 --- CHANGELOG.rst | 13 ++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 14 files changed, 59 insertions(+), 44 deletions(-) create mode 100644 .changes/1.35.22.json delete mode 100644 .changes/next-release/api-change-autoscaling-52568.json delete mode 100644 .changes/next-release/api-change-bedrockagent-6645.json delete mode 100644 .changes/next-release/api-change-bedrockruntime-69720.json delete mode 100644 .changes/next-release/api-change-cleanrooms-76069.json delete mode 100644 .changes/next-release/api-change-cleanroomsml-34708.json delete mode 100644 .changes/next-release/api-change-quicksight-44271.json delete mode 100644 .changes/next-release/api-change-resourceexplorer2-28123.json delete mode 100644 .changes/next-release/api-change-synthetics-33626.json diff --git a/.changes/1.35.22.json b/.changes/1.35.22.json new file mode 100644 index 000000000000..55b680dad2a3 --- /dev/null +++ b/.changes/1.35.22.json @@ -0,0 +1,42 @@ +[ + { + "category": "``autoscaling``", + "description": "Auto Scaling groups now support the ability to strictly balance instances across Availability Zones by configuring the AvailabilityZoneDistribution parameter. If balanced-only is configured for a group, launches will always be attempted in the under scaled Availability Zone even if it is unhealthy.", + "type": "api-change" + }, + { + "category": "``bedrock-agent``", + "description": "Add prompt support for chat template configuration and agent generative AI resource. Add support for configuring an optional guardrail in Prompt and Knowledge Base nodes in Prompt Flows. Add API to validate flow definition", + "type": "api-change" + }, + { + "category": "``bedrock-runtime``", + "description": "Add Prompt management support to Bedrock runtime APIs: Converse, ConverseStream, InvokeModel, InvokeModelWithStreamingResponse", + "type": "api-change" + }, + { + "category": "``cleanrooms``", + "description": "This release introduces support for Custom Models in AWS Clean Rooms ML.", + "type": "api-change" + }, + { + "category": "``cleanroomsml``", + "description": "This release introduces support for Custom Models in AWS Clean Rooms ML.", + "type": "api-change" + }, + { + "category": "``quicksight``", + "description": "Add Client Credentials based OAuth support for Snowflake and Starburst", + "type": "api-change" + }, + { + "category": "``resource-explorer-2``", + "description": "Add GetManagedView, ListManagedViews APIs.", + "type": "api-change" + }, + { + "category": "``synthetics``", + "description": "Add support to toggle if a canary will automatically delete provisioned canary resources such as Lambda functions and layers when a canary is deleted. This behavior can be controlled via the new ProvisionedResourceCleanup property exposed in the CreateCanary and UpdateCanary APIs.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-autoscaling-52568.json b/.changes/next-release/api-change-autoscaling-52568.json deleted file mode 100644 index 1560b4a7f1b7..000000000000 --- a/.changes/next-release/api-change-autoscaling-52568.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``autoscaling``", - "description": "Auto Scaling groups now support the ability to strictly balance instances across Availability Zones by configuring the AvailabilityZoneDistribution parameter. If balanced-only is configured for a group, launches will always be attempted in the under scaled Availability Zone even if it is unhealthy." -} diff --git a/.changes/next-release/api-change-bedrockagent-6645.json b/.changes/next-release/api-change-bedrockagent-6645.json deleted file mode 100644 index d0775ea2055d..000000000000 --- a/.changes/next-release/api-change-bedrockagent-6645.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-agent``", - "description": "Add prompt support for chat template configuration and agent generative AI resource. Add support for configuring an optional guardrail in Prompt and Knowledge Base nodes in Prompt Flows. Add API to validate flow definition" -} diff --git a/.changes/next-release/api-change-bedrockruntime-69720.json b/.changes/next-release/api-change-bedrockruntime-69720.json deleted file mode 100644 index 12bce9d7f6c3..000000000000 --- a/.changes/next-release/api-change-bedrockruntime-69720.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-runtime``", - "description": "Add Prompt management support to Bedrock runtime APIs: Converse, ConverseStream, InvokeModel, InvokeModelWithStreamingResponse" -} diff --git a/.changes/next-release/api-change-cleanrooms-76069.json b/.changes/next-release/api-change-cleanrooms-76069.json deleted file mode 100644 index 3fba7345b7c7..000000000000 --- a/.changes/next-release/api-change-cleanrooms-76069.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``cleanrooms``", - "description": "This release introduces support for Custom Models in AWS Clean Rooms ML." -} diff --git a/.changes/next-release/api-change-cleanroomsml-34708.json b/.changes/next-release/api-change-cleanroomsml-34708.json deleted file mode 100644 index e9c4ecd5bdde..000000000000 --- a/.changes/next-release/api-change-cleanroomsml-34708.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``cleanroomsml``", - "description": "This release introduces support for Custom Models in AWS Clean Rooms ML." -} diff --git a/.changes/next-release/api-change-quicksight-44271.json b/.changes/next-release/api-change-quicksight-44271.json deleted file mode 100644 index 6d42d27e7bd7..000000000000 --- a/.changes/next-release/api-change-quicksight-44271.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``quicksight``", - "description": "Add Client Credentials based OAuth support for Snowflake and Starburst" -} diff --git a/.changes/next-release/api-change-resourceexplorer2-28123.json b/.changes/next-release/api-change-resourceexplorer2-28123.json deleted file mode 100644 index 86681e10cb5e..000000000000 --- a/.changes/next-release/api-change-resourceexplorer2-28123.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``resource-explorer-2``", - "description": "Add GetManagedView, ListManagedViews APIs." -} diff --git a/.changes/next-release/api-change-synthetics-33626.json b/.changes/next-release/api-change-synthetics-33626.json deleted file mode 100644 index b5e96027f79c..000000000000 --- a/.changes/next-release/api-change-synthetics-33626.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``synthetics``", - "description": "Add support to toggle if a canary will automatically delete provisioned canary resources such as Lambda functions and layers when a canary is deleted. This behavior can be controlled via the new ProvisionedResourceCleanup property exposed in the CreateCanary and UpdateCanary APIs." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index b9a3bbf7703f..80e61dd3a536 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,19 @@ CHANGELOG ========= +1.35.22 +======= + +* api-change:``autoscaling``: Auto Scaling groups now support the ability to strictly balance instances across Availability Zones by configuring the AvailabilityZoneDistribution parameter. If balanced-only is configured for a group, launches will always be attempted in the under scaled Availability Zone even if it is unhealthy. +* api-change:``bedrock-agent``: Add prompt support for chat template configuration and agent generative AI resource. Add support for configuring an optional guardrail in Prompt and Knowledge Base nodes in Prompt Flows. Add API to validate flow definition +* api-change:``bedrock-runtime``: Add Prompt management support to Bedrock runtime APIs: Converse, ConverseStream, InvokeModel, InvokeModelWithStreamingResponse +* api-change:``cleanrooms``: This release introduces support for Custom Models in AWS Clean Rooms ML. +* api-change:``cleanroomsml``: This release introduces support for Custom Models in AWS Clean Rooms ML. +* api-change:``quicksight``: Add Client Credentials based OAuth support for Snowflake and Starburst +* api-change:``resource-explorer-2``: Add GetManagedView, ListManagedViews APIs. +* api-change:``synthetics``: Add support to toggle if a canary will automatically delete provisioned canary resources such as Lambda functions and layers when a canary is deleted. This behavior can be controlled via the new ProvisionedResourceCleanup property exposed in the CreateCanary and UpdateCanary APIs. + + 1.35.21 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index c90a8ae29bde..0f626391d31b 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.35.21' +__version__ = '1.35.22' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 394c72d9a578..57fe25f4cdf1 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.35.' # The full version, including alpha/beta/rc tags. -release = '1.35.21' +release = '1.35.22' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 4c68ab7a74a3..99c86614b31e 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.55 + botocore==1.35.56 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 164a21fb5506..5295fac2452b 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.55', + 'botocore==1.35.56', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 16a1f3bf177a7862c2dfa36d930d900392f3bae8 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 8 Nov 2024 19:13:28 +0000 Subject: [PATCH 0287/1087] Update changelog based on model updates --- .changes/next-release/api-change-batch-7382.json | 5 +++++ .../next-release/api-change-bedrockagentruntime-4246.json | 5 +++++ .../next-release/api-change-chimesdkmediapipelines-4450.json | 5 +++++ .changes/next-release/api-change-controlcatalog-43595.json | 5 +++++ .changes/next-release/api-change-eks-31850.json | 5 +++++ .changes/next-release/api-change-firehose-28039.json | 5 +++++ .changes/next-release/api-change-lambda-19866.json | 5 +++++ .../next-release/api-change-pinpointsmsvoicev2-59269.json | 5 +++++ .changes/next-release/api-change-qbusiness-94741.json | 5 +++++ 9 files changed, 45 insertions(+) create mode 100644 .changes/next-release/api-change-batch-7382.json create mode 100644 .changes/next-release/api-change-bedrockagentruntime-4246.json create mode 100644 .changes/next-release/api-change-chimesdkmediapipelines-4450.json create mode 100644 .changes/next-release/api-change-controlcatalog-43595.json create mode 100644 .changes/next-release/api-change-eks-31850.json create mode 100644 .changes/next-release/api-change-firehose-28039.json create mode 100644 .changes/next-release/api-change-lambda-19866.json create mode 100644 .changes/next-release/api-change-pinpointsmsvoicev2-59269.json create mode 100644 .changes/next-release/api-change-qbusiness-94741.json diff --git a/.changes/next-release/api-change-batch-7382.json b/.changes/next-release/api-change-batch-7382.json new file mode 100644 index 000000000000..744e1a9d7e42 --- /dev/null +++ b/.changes/next-release/api-change-batch-7382.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``batch``", + "description": "This feature allows override LaunchTemplates to be specified in an AWS Batch Compute Environment." +} diff --git a/.changes/next-release/api-change-bedrockagentruntime-4246.json b/.changes/next-release/api-change-bedrockagentruntime-4246.json new file mode 100644 index 000000000000..40b8242a3000 --- /dev/null +++ b/.changes/next-release/api-change-bedrockagentruntime-4246.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-agent-runtime``", + "description": "This release adds trace functionality to Bedrock Prompt Flows" +} diff --git a/.changes/next-release/api-change-chimesdkmediapipelines-4450.json b/.changes/next-release/api-change-chimesdkmediapipelines-4450.json new file mode 100644 index 000000000000..ddc4694fc1f0 --- /dev/null +++ b/.changes/next-release/api-change-chimesdkmediapipelines-4450.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``chime-sdk-media-pipelines``", + "description": "Added support for Media Capture Pipeline and Media Concatenation Pipeline for customer managed server side encryption. Now Media Capture Pipeline can use IAM sink role to get access to KMS key and encrypt/decrypt recorded artifacts. KMS key ID can also be supplied with encryption context." +} diff --git a/.changes/next-release/api-change-controlcatalog-43595.json b/.changes/next-release/api-change-controlcatalog-43595.json new file mode 100644 index 000000000000..aef566a8bf4b --- /dev/null +++ b/.changes/next-release/api-change-controlcatalog-43595.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``controlcatalog``", + "description": "AWS Control Catalog GetControl public API returns additional data in output, including Implementation and Parameters" +} diff --git a/.changes/next-release/api-change-eks-31850.json b/.changes/next-release/api-change-eks-31850.json new file mode 100644 index 000000000000..9013329c6bea --- /dev/null +++ b/.changes/next-release/api-change-eks-31850.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``eks``", + "description": "Adds new error code `Ec2InstanceTypeDoesNotExist` for Amazon EKS managed node groups" +} diff --git a/.changes/next-release/api-change-firehose-28039.json b/.changes/next-release/api-change-firehose-28039.json new file mode 100644 index 000000000000..432d4b247f3d --- /dev/null +++ b/.changes/next-release/api-change-firehose-28039.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``firehose``", + "description": "Amazon Data Firehose / Features : Adds support for a new DeliveryStreamType, DatabaseAsSource. DatabaseAsSource hoses allow customers to stream CDC events from their RDS and Amazon EC2 hosted databases, running MySQL and PostgreSQL database engines, to Iceberg Table destinations." +} diff --git a/.changes/next-release/api-change-lambda-19866.json b/.changes/next-release/api-change-lambda-19866.json new file mode 100644 index 000000000000..d2ddf4c5c9da --- /dev/null +++ b/.changes/next-release/api-change-lambda-19866.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``lambda``", + "description": "This release adds support for using AWS KMS customer managed keys to encrypt AWS Lambda .zip deployment packages." +} diff --git a/.changes/next-release/api-change-pinpointsmsvoicev2-59269.json b/.changes/next-release/api-change-pinpointsmsvoicev2-59269.json new file mode 100644 index 000000000000..c0f07a9a13e9 --- /dev/null +++ b/.changes/next-release/api-change-pinpointsmsvoicev2-59269.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``pinpoint-sms-voice-v2``", + "description": "Added the RequiresAuthenticationTimestamp field to the RegistrationVersionStatusHistory data type." +} diff --git a/.changes/next-release/api-change-qbusiness-94741.json b/.changes/next-release/api-change-qbusiness-94741.json new file mode 100644 index 000000000000..40be96be1a14 --- /dev/null +++ b/.changes/next-release/api-change-qbusiness-94741.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``qbusiness``", + "description": "Adds S3 path option to pass group member list for PutGroup API." +} From 0ad588469e4b04d7805c4ed907001c97747b59f3 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 8 Nov 2024 19:14:40 +0000 Subject: [PATCH 0288/1087] Bumping version to 1.35.23 --- .changes/1.35.23.json | 47 +++++++++++++++++++ .../next-release/api-change-batch-7382.json | 5 -- .../api-change-bedrockagentruntime-4246.json | 5 -- ...pi-change-chimesdkmediapipelines-4450.json | 5 -- .../api-change-controlcatalog-43595.json | 5 -- .../next-release/api-change-eks-31850.json | 5 -- .../api-change-firehose-28039.json | 5 -- .../next-release/api-change-lambda-19866.json | 5 -- .../api-change-pinpointsmsvoicev2-59269.json | 5 -- .../api-change-qbusiness-94741.json | 5 -- CHANGELOG.rst | 14 ++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 15 files changed, 65 insertions(+), 49 deletions(-) create mode 100644 .changes/1.35.23.json delete mode 100644 .changes/next-release/api-change-batch-7382.json delete mode 100644 .changes/next-release/api-change-bedrockagentruntime-4246.json delete mode 100644 .changes/next-release/api-change-chimesdkmediapipelines-4450.json delete mode 100644 .changes/next-release/api-change-controlcatalog-43595.json delete mode 100644 .changes/next-release/api-change-eks-31850.json delete mode 100644 .changes/next-release/api-change-firehose-28039.json delete mode 100644 .changes/next-release/api-change-lambda-19866.json delete mode 100644 .changes/next-release/api-change-pinpointsmsvoicev2-59269.json delete mode 100644 .changes/next-release/api-change-qbusiness-94741.json diff --git a/.changes/1.35.23.json b/.changes/1.35.23.json new file mode 100644 index 000000000000..b6060207d0bb --- /dev/null +++ b/.changes/1.35.23.json @@ -0,0 +1,47 @@ +[ + { + "category": "``batch``", + "description": "This feature allows override LaunchTemplates to be specified in an AWS Batch Compute Environment.", + "type": "api-change" + }, + { + "category": "``bedrock-agent-runtime``", + "description": "This release adds trace functionality to Bedrock Prompt Flows", + "type": "api-change" + }, + { + "category": "``chime-sdk-media-pipelines``", + "description": "Added support for Media Capture Pipeline and Media Concatenation Pipeline for customer managed server side encryption. Now Media Capture Pipeline can use IAM sink role to get access to KMS key and encrypt/decrypt recorded artifacts. KMS key ID can also be supplied with encryption context.", + "type": "api-change" + }, + { + "category": "``controlcatalog``", + "description": "AWS Control Catalog GetControl public API returns additional data in output, including Implementation and Parameters", + "type": "api-change" + }, + { + "category": "``eks``", + "description": "Adds new error code `Ec2InstanceTypeDoesNotExist` for Amazon EKS managed node groups", + "type": "api-change" + }, + { + "category": "``firehose``", + "description": "Amazon Data Firehose / Features : Adds support for a new DeliveryStreamType, DatabaseAsSource. DatabaseAsSource hoses allow customers to stream CDC events from their RDS and Amazon EC2 hosted databases, running MySQL and PostgreSQL database engines, to Iceberg Table destinations.", + "type": "api-change" + }, + { + "category": "``lambda``", + "description": "This release adds support for using AWS KMS customer managed keys to encrypt AWS Lambda .zip deployment packages.", + "type": "api-change" + }, + { + "category": "``pinpoint-sms-voice-v2``", + "description": "Added the RequiresAuthenticationTimestamp field to the RegistrationVersionStatusHistory data type.", + "type": "api-change" + }, + { + "category": "``qbusiness``", + "description": "Adds S3 path option to pass group member list for PutGroup API.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-batch-7382.json b/.changes/next-release/api-change-batch-7382.json deleted file mode 100644 index 744e1a9d7e42..000000000000 --- a/.changes/next-release/api-change-batch-7382.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``batch``", - "description": "This feature allows override LaunchTemplates to be specified in an AWS Batch Compute Environment." -} diff --git a/.changes/next-release/api-change-bedrockagentruntime-4246.json b/.changes/next-release/api-change-bedrockagentruntime-4246.json deleted file mode 100644 index 40b8242a3000..000000000000 --- a/.changes/next-release/api-change-bedrockagentruntime-4246.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-agent-runtime``", - "description": "This release adds trace functionality to Bedrock Prompt Flows" -} diff --git a/.changes/next-release/api-change-chimesdkmediapipelines-4450.json b/.changes/next-release/api-change-chimesdkmediapipelines-4450.json deleted file mode 100644 index ddc4694fc1f0..000000000000 --- a/.changes/next-release/api-change-chimesdkmediapipelines-4450.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``chime-sdk-media-pipelines``", - "description": "Added support for Media Capture Pipeline and Media Concatenation Pipeline for customer managed server side encryption. Now Media Capture Pipeline can use IAM sink role to get access to KMS key and encrypt/decrypt recorded artifacts. KMS key ID can also be supplied with encryption context." -} diff --git a/.changes/next-release/api-change-controlcatalog-43595.json b/.changes/next-release/api-change-controlcatalog-43595.json deleted file mode 100644 index aef566a8bf4b..000000000000 --- a/.changes/next-release/api-change-controlcatalog-43595.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``controlcatalog``", - "description": "AWS Control Catalog GetControl public API returns additional data in output, including Implementation and Parameters" -} diff --git a/.changes/next-release/api-change-eks-31850.json b/.changes/next-release/api-change-eks-31850.json deleted file mode 100644 index 9013329c6bea..000000000000 --- a/.changes/next-release/api-change-eks-31850.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``eks``", - "description": "Adds new error code `Ec2InstanceTypeDoesNotExist` for Amazon EKS managed node groups" -} diff --git a/.changes/next-release/api-change-firehose-28039.json b/.changes/next-release/api-change-firehose-28039.json deleted file mode 100644 index 432d4b247f3d..000000000000 --- a/.changes/next-release/api-change-firehose-28039.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``firehose``", - "description": "Amazon Data Firehose / Features : Adds support for a new DeliveryStreamType, DatabaseAsSource. DatabaseAsSource hoses allow customers to stream CDC events from their RDS and Amazon EC2 hosted databases, running MySQL and PostgreSQL database engines, to Iceberg Table destinations." -} diff --git a/.changes/next-release/api-change-lambda-19866.json b/.changes/next-release/api-change-lambda-19866.json deleted file mode 100644 index d2ddf4c5c9da..000000000000 --- a/.changes/next-release/api-change-lambda-19866.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``lambda``", - "description": "This release adds support for using AWS KMS customer managed keys to encrypt AWS Lambda .zip deployment packages." -} diff --git a/.changes/next-release/api-change-pinpointsmsvoicev2-59269.json b/.changes/next-release/api-change-pinpointsmsvoicev2-59269.json deleted file mode 100644 index c0f07a9a13e9..000000000000 --- a/.changes/next-release/api-change-pinpointsmsvoicev2-59269.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``pinpoint-sms-voice-v2``", - "description": "Added the RequiresAuthenticationTimestamp field to the RegistrationVersionStatusHistory data type." -} diff --git a/.changes/next-release/api-change-qbusiness-94741.json b/.changes/next-release/api-change-qbusiness-94741.json deleted file mode 100644 index 40be96be1a14..000000000000 --- a/.changes/next-release/api-change-qbusiness-94741.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``qbusiness``", - "description": "Adds S3 path option to pass group member list for PutGroup API." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 80e61dd3a536..cac69faced1e 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,20 @@ CHANGELOG ========= +1.35.23 +======= + +* api-change:``batch``: This feature allows override LaunchTemplates to be specified in an AWS Batch Compute Environment. +* api-change:``bedrock-agent-runtime``: This release adds trace functionality to Bedrock Prompt Flows +* api-change:``chime-sdk-media-pipelines``: Added support for Media Capture Pipeline and Media Concatenation Pipeline for customer managed server side encryption. Now Media Capture Pipeline can use IAM sink role to get access to KMS key and encrypt/decrypt recorded artifacts. KMS key ID can also be supplied with encryption context. +* api-change:``controlcatalog``: AWS Control Catalog GetControl public API returns additional data in output, including Implementation and Parameters +* api-change:``eks``: Adds new error code `Ec2InstanceTypeDoesNotExist` for Amazon EKS managed node groups +* api-change:``firehose``: Amazon Data Firehose / Features : Adds support for a new DeliveryStreamType, DatabaseAsSource. DatabaseAsSource hoses allow customers to stream CDC events from their RDS and Amazon EC2 hosted databases, running MySQL and PostgreSQL database engines, to Iceberg Table destinations. +* api-change:``lambda``: This release adds support for using AWS KMS customer managed keys to encrypt AWS Lambda .zip deployment packages. +* api-change:``pinpoint-sms-voice-v2``: Added the RequiresAuthenticationTimestamp field to the RegistrationVersionStatusHistory data type. +* api-change:``qbusiness``: Adds S3 path option to pass group member list for PutGroup API. + + 1.35.22 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 0f626391d31b..13c09af3449f 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.35.22' +__version__ = '1.35.23' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 57fe25f4cdf1..378dd87d3c85 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.35.' # The full version, including alpha/beta/rc tags. -release = '1.35.22' +release = '1.35.23' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 99c86614b31e..c45237ff6e5d 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.56 + botocore==1.35.57 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 5295fac2452b..8ec44a8dc1c6 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.56', + 'botocore==1.35.57', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From a31330f37730cbd570df69bfc2e8588a5a332c6a Mon Sep 17 00:00:00 2001 From: Nate Prewitt Date: Mon, 11 Nov 2024 07:35:08 -0800 Subject: [PATCH 0289/1087] Remove macOS fallback now that setup-python issue is resolved (#9064) --- .github/workflows/run-tests.yml | 9 --------- 1 file changed, 9 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 234878a73b0d..9af00a833c7d 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -14,15 +14,6 @@ jobs: matrix: python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] os: [ubuntu-latest, macOS-latest, windows-latest] - # Python 3.8 and 3.9 do not run on m1 hardware which is now standard for - # macOS-latest. - # https://github.com/actions/setup-python/issues/696#issuecomment-1637587760 - exclude: - - { python-version: "3.8", os: "macos-latest" } - - { python-version: "3.9", os: "macos-latest" } - include: - - { python-version: "3.8", os: "macos-13" } - - { python-version: "3.9", os: "macos-13" } steps: - uses: actions/checkout@v4 From c8e63b161be4e680c416f12f0fe077f22d6a2a7e Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 11 Nov 2024 19:05:28 +0000 Subject: [PATCH 0290/1087] Update changelog based on model updates --- .changes/next-release/api-change-cloudfront-10828.json | 5 +++++ .changes/next-release/api-change-inspector2-77392.json | 5 +++++ .changes/next-release/api-change-lambda-21289.json | 5 +++++ .changes/next-release/api-change-opensearch-74234.json | 5 +++++ .changes/next-release/api-change-outposts-49603.json | 5 +++++ 5 files changed, 25 insertions(+) create mode 100644 .changes/next-release/api-change-cloudfront-10828.json create mode 100644 .changes/next-release/api-change-inspector2-77392.json create mode 100644 .changes/next-release/api-change-lambda-21289.json create mode 100644 .changes/next-release/api-change-opensearch-74234.json create mode 100644 .changes/next-release/api-change-outposts-49603.json diff --git a/.changes/next-release/api-change-cloudfront-10828.json b/.changes/next-release/api-change-cloudfront-10828.json new file mode 100644 index 000000000000..0a4b44577f89 --- /dev/null +++ b/.changes/next-release/api-change-cloudfront-10828.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``cloudfront``", + "description": "No API changes from previous release. This release migrated the model to Smithy keeping all features unchanged." +} diff --git a/.changes/next-release/api-change-inspector2-77392.json b/.changes/next-release/api-change-inspector2-77392.json new file mode 100644 index 000000000000..240c8b4de809 --- /dev/null +++ b/.changes/next-release/api-change-inspector2-77392.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``inspector2``", + "description": "Adds support for filePath filter." +} diff --git a/.changes/next-release/api-change-lambda-21289.json b/.changes/next-release/api-change-lambda-21289.json new file mode 100644 index 000000000000..576b7c9b53c9 --- /dev/null +++ b/.changes/next-release/api-change-lambda-21289.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``lambda``", + "description": "Add Python 3.13 (python3.13) support to AWS Lambda" +} diff --git a/.changes/next-release/api-change-opensearch-74234.json b/.changes/next-release/api-change-opensearch-74234.json new file mode 100644 index 000000000000..567a318ea133 --- /dev/null +++ b/.changes/next-release/api-change-opensearch-74234.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``opensearch``", + "description": "Adds Support for new AssociatePackages and DissociatePackages API in Amazon OpenSearch Service that allows association and dissociation operations to be carried out on multiple packages at the same time." +} diff --git a/.changes/next-release/api-change-outposts-49603.json b/.changes/next-release/api-change-outposts-49603.json new file mode 100644 index 000000000000..8d253545b6dc --- /dev/null +++ b/.changes/next-release/api-change-outposts-49603.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``outposts``", + "description": "This release updates StartCapacityTask to allow an active Outpost to be modified. It also adds a new API to list all running EC2 instances on the Outpost." +} From bf48c3508b0068348b73aad0ed6676c0b1277280 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 11 Nov 2024 19:07:03 +0000 Subject: [PATCH 0291/1087] Bumping version to 1.35.24 --- .changes/1.35.24.json | 27 +++++++++++++++++++ .../api-change-cloudfront-10828.json | 5 ---- .../api-change-inspector2-77392.json | 5 ---- .../next-release/api-change-lambda-21289.json | 5 ---- .../api-change-opensearch-74234.json | 5 ---- .../api-change-outposts-49603.json | 5 ---- CHANGELOG.rst | 10 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 11 files changed, 41 insertions(+), 29 deletions(-) create mode 100644 .changes/1.35.24.json delete mode 100644 .changes/next-release/api-change-cloudfront-10828.json delete mode 100644 .changes/next-release/api-change-inspector2-77392.json delete mode 100644 .changes/next-release/api-change-lambda-21289.json delete mode 100644 .changes/next-release/api-change-opensearch-74234.json delete mode 100644 .changes/next-release/api-change-outposts-49603.json diff --git a/.changes/1.35.24.json b/.changes/1.35.24.json new file mode 100644 index 000000000000..e89e0359049e --- /dev/null +++ b/.changes/1.35.24.json @@ -0,0 +1,27 @@ +[ + { + "category": "``cloudfront``", + "description": "No API changes from previous release. This release migrated the model to Smithy keeping all features unchanged.", + "type": "api-change" + }, + { + "category": "``inspector2``", + "description": "Adds support for filePath filter.", + "type": "api-change" + }, + { + "category": "``lambda``", + "description": "Add Python 3.13 (python3.13) support to AWS Lambda", + "type": "api-change" + }, + { + "category": "``opensearch``", + "description": "Adds Support for new AssociatePackages and DissociatePackages API in Amazon OpenSearch Service that allows association and dissociation operations to be carried out on multiple packages at the same time.", + "type": "api-change" + }, + { + "category": "``outposts``", + "description": "This release updates StartCapacityTask to allow an active Outpost to be modified. It also adds a new API to list all running EC2 instances on the Outpost.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-cloudfront-10828.json b/.changes/next-release/api-change-cloudfront-10828.json deleted file mode 100644 index 0a4b44577f89..000000000000 --- a/.changes/next-release/api-change-cloudfront-10828.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``cloudfront``", - "description": "No API changes from previous release. This release migrated the model to Smithy keeping all features unchanged." -} diff --git a/.changes/next-release/api-change-inspector2-77392.json b/.changes/next-release/api-change-inspector2-77392.json deleted file mode 100644 index 240c8b4de809..000000000000 --- a/.changes/next-release/api-change-inspector2-77392.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``inspector2``", - "description": "Adds support for filePath filter." -} diff --git a/.changes/next-release/api-change-lambda-21289.json b/.changes/next-release/api-change-lambda-21289.json deleted file mode 100644 index 576b7c9b53c9..000000000000 --- a/.changes/next-release/api-change-lambda-21289.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``lambda``", - "description": "Add Python 3.13 (python3.13) support to AWS Lambda" -} diff --git a/.changes/next-release/api-change-opensearch-74234.json b/.changes/next-release/api-change-opensearch-74234.json deleted file mode 100644 index 567a318ea133..000000000000 --- a/.changes/next-release/api-change-opensearch-74234.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``opensearch``", - "description": "Adds Support for new AssociatePackages and DissociatePackages API in Amazon OpenSearch Service that allows association and dissociation operations to be carried out on multiple packages at the same time." -} diff --git a/.changes/next-release/api-change-outposts-49603.json b/.changes/next-release/api-change-outposts-49603.json deleted file mode 100644 index 8d253545b6dc..000000000000 --- a/.changes/next-release/api-change-outposts-49603.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``outposts``", - "description": "This release updates StartCapacityTask to allow an active Outpost to be modified. It also adds a new API to list all running EC2 instances on the Outpost." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index cac69faced1e..344cf83977c5 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,16 @@ CHANGELOG ========= +1.35.24 +======= + +* api-change:``cloudfront``: No API changes from previous release. This release migrated the model to Smithy keeping all features unchanged. +* api-change:``inspector2``: Adds support for filePath filter. +* api-change:``lambda``: Add Python 3.13 (python3.13) support to AWS Lambda +* api-change:``opensearch``: Adds Support for new AssociatePackages and DissociatePackages API in Amazon OpenSearch Service that allows association and dissociation operations to be carried out on multiple packages at the same time. +* api-change:``outposts``: This release updates StartCapacityTask to allow an active Outpost to be modified. It also adds a new API to list all running EC2 instances on the Outpost. + + 1.35.23 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 13c09af3449f..43bdbf807816 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.35.23' +__version__ = '1.35.24' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 378dd87d3c85..7fdca09b2598 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.35.' # The full version, including alpha/beta/rc tags. -release = '1.35.23' +release = '1.35.24' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index c45237ff6e5d..d0a0ca53f75d 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.57 + botocore==1.35.58 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 8ec44a8dc1c6..0ed860c67871 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.57', + 'botocore==1.35.58', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 6a54374151b45120fc3b521c3c43ea52700f1203 Mon Sep 17 00:00:00 2001 From: Ahmed Moustafa <35640105+aemous@users.noreply.github.com> Date: Mon, 11 Nov 2024 16:42:01 -0500 Subject: [PATCH 0292/1087] Fix non-deterministic S3 test failure. (#9069) --- tests/functional/s3/test_cp_command.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/functional/s3/test_cp_command.py b/tests/functional/s3/test_cp_command.py index adaccb7878aa..14617e64b450 100644 --- a/tests/functional/s3/test_cp_command.py +++ b/tests/functional/s3/test_cp_command.py @@ -725,9 +725,9 @@ def test_multipart_upload_with_checksum_algorithm_crc32(self): self.assertEqual(self.operations_called[1][0].name, 'UploadPart') self.assertEqual(self.operations_called[1][1]['ChecksumAlgorithm'], 'CRC32') self.assertEqual(self.operations_called[3][0].name, 'CompleteMultipartUpload') - self.assertIn({'ETag': 'foo-e1', 'ChecksumCRC32': 'foo-1', 'PartNumber': 1}, + self.assertIn({'ETag': 'foo-e1', 'ChecksumCRC32': 'foo-1', 'PartNumber': mock.ANY}, self.operations_called[3][1]['MultipartUpload']['Parts']) - self.assertIn({'ETag': 'foo-e2', 'ChecksumCRC32': 'foo-2', 'PartNumber': 2}, + self.assertIn({'ETag': 'foo-e2', 'ChecksumCRC32': 'foo-2', 'PartNumber': mock.ANY}, self.operations_called[3][1]['MultipartUpload']['Parts']) def test_copy_with_checksum_algorithm_crc32(self): From b02b058b8fac2e924d3b854edbe0edeacab8f6b0 Mon Sep 17 00:00:00 2001 From: Ahmed Moustafa <35640105+aemous@users.noreply.github.com> Date: Tue, 12 Nov 2024 10:47:47 -0500 Subject: [PATCH 0293/1087] Enable support for loading files into nested parameter values (#9063) --- .../next-release/feature-shorthand-60511.json | 5 ++ awscli/paramfile.py | 4 +- awscli/shorthand.py | 34 +++++++++-- tests/unit/test_paramfile.py | 10 +++- tests/unit/test_shorthand.py | 57 ++++++++++++++++++- 5 files changed, 98 insertions(+), 12 deletions(-) create mode 100644 .changes/next-release/feature-shorthand-60511.json diff --git a/.changes/next-release/feature-shorthand-60511.json b/.changes/next-release/feature-shorthand-60511.json new file mode 100644 index 000000000000..e43d421ec448 --- /dev/null +++ b/.changes/next-release/feature-shorthand-60511.json @@ -0,0 +1,5 @@ +{ + "type": "feature", + "category": "shorthand", + "description": "Adds support to shorthand syntax for loading parameters from files via the ``@=`` assignment operator." +} diff --git a/awscli/paramfile.py b/awscli/paramfile.py index 5f6ff89cbc44..14cd7fc49330 100644 --- a/awscli/paramfile.py +++ b/awscli/paramfile.py @@ -18,7 +18,7 @@ from botocore.exceptions import ProfileNotFound from botocore.httpsession import URLLib3Session -from awscli.argprocess import ParamError +from awscli import argprocess from awscli.compat import compat_open logger = logging.getLogger(__name__) @@ -183,7 +183,7 @@ def _check_for_uri_param(self, param, value): try: return get_paramfile(value, self._prefixes) except ResourceLoadingError as e: - raise ParamError(param.cli_name, str(e)) + raise argprocess.ParamError(param.cli_name, str(e)) def get_paramfile(path, cases): diff --git a/awscli/shorthand.py b/awscli/shorthand.py index 255598ff6862..18ec091f717a 100644 --- a/awscli/shorthand.py +++ b/awscli/shorthand.py @@ -42,6 +42,7 @@ import re import string +from awscli.paramfile import LOCAL_PREFIX_MAP, get_paramfile from awscli.utils import is_document_type _EOF = object() @@ -160,6 +161,7 @@ def parse(self, value): """ self._input_value = value self._index = 0 + self._should_resolve_paramfiles = False return self._parameter() def _parameter(self): @@ -182,8 +184,15 @@ def _parameter(self): return params def _keyval(self): - # keyval = key "=" [values] + # keyval = key "=" [values] / key "@=" [file-optional-values] + # file-optional-values = file://value / fileb://value / value key = self._key() + self._should_resolve_paramfiles = False + try: + self._expect('@', consume_whitespace=True) + self._should_resolve_paramfiles = True + except ShorthandParseSyntaxError: + pass self._expect('=', consume_whitespace=True) values = self._values() return key, values @@ -261,7 +270,8 @@ def _value(self): result = self._FIRST_VALUE.match(self._input_value[self._index :]) if result is not None: consumed = self._consume_matched_regex(result) - return consumed.replace('\\,', ',').rstrip() + processed = consumed.replace('\\,', ',').rstrip() + return self._resolve_paramfiles(processed) if self._should_resolve_paramfiles else processed return '' def _explicit_list(self): @@ -292,6 +302,12 @@ def _hash_literal(self): keyvals = {} while self._current() != '}': key = self._key() + self._should_resolve_paramfiles = False + try: + self._expect('@', consume_whitespace=True) + self._should_resolve_paramfiles = True + except ShorthandParseSyntaxError: + pass self._expect('=', consume_whitespace=True) v = self._explicit_values() self._consume_whitespace() @@ -314,7 +330,8 @@ def _single_quoted_value(self): # single-quoted-value = %x27 *(val-escaped-single) %x27 # val-escaped-single = %x20-26 / %x28-7F / escaped-escape / # (escape single-quote) - return self._consume_quoted(self._SINGLE_QUOTED, escaped_char="'") + processed = self._consume_quoted(self._SINGLE_QUOTED, escaped_char="'") + return self._resolve_paramfiles(processed) if self._should_resolve_paramfiles else processed def _consume_quoted(self, regex, escaped_char=None): value = self._must_consume_regex(regex)[1:-1] @@ -324,7 +341,8 @@ def _consume_quoted(self, regex, escaped_char=None): return value def _double_quoted_value(self): - return self._consume_quoted(self._DOUBLE_QUOTED, escaped_char='"') + processed = self._consume_quoted(self._DOUBLE_QUOTED, escaped_char='"') + return self._resolve_paramfiles(processed) if self._should_resolve_paramfiles else processed def _second_value(self): if self._current() == "'": @@ -333,7 +351,13 @@ def _second_value(self): return self._double_quoted_value() else: consumed = self._must_consume_regex(self._SECOND_VALUE) - return consumed.replace('\\,', ',').rstrip() + processed = consumed.replace('\\,', ',').rstrip() + return self._resolve_paramfiles(processed) if self._should_resolve_paramfiles else processed + + def _resolve_paramfiles(self, val): + if (paramfile := get_paramfile(val, LOCAL_PREFIX_MAP)) is not None: + return paramfile + return val def _expect(self, char, consume_whitespace=False): if consume_whitespace: diff --git a/tests/unit/test_paramfile.py b/tests/unit/test_paramfile.py index 2745ca755e84..1b5d6688fd46 100644 --- a/tests/unit/test_paramfile.py +++ b/tests/unit/test_paramfile.py @@ -13,9 +13,13 @@ from awscli.testutils import mock, unittest, FileCreator from awscli.testutils import skip_if_windows -from awscli.paramfile import get_paramfile, ResourceLoadingError -from awscli.paramfile import LOCAL_PREFIX_MAP, REMOTE_PREFIX_MAP -from awscli.paramfile import register_uri_param_handler +from awscli.paramfile import ( + get_paramfile, + ResourceLoadingError, + LOCAL_PREFIX_MAP, + REMOTE_PREFIX_MAP, + register_uri_param_handler, +) from botocore.session import Session from botocore.exceptions import ProfileNotFound diff --git a/tests/unit/test_shorthand.py b/tests/unit/test_shorthand.py index 21a95f06d684..8d748d423a0b 100644 --- a/tests/unit/test_shorthand.py +++ b/tests/unit/test_shorthand.py @@ -10,15 +10,17 @@ # distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF # ANY KIND, either express or implied. See the License for the specific # language governing permissions and limitations under the License. +from unittest.mock import patch + import pytest import signal +import awscli.paramfile from awscli import shorthand -from awscli.testutils import unittest, skip_if_windows +from awscli.testutils import skip_if_windows, unittest from botocore import model - PARSING_TEST_CASES = ( # Key val pairs with scalar value. ('foo=bar', {'foo': 'bar'}), @@ -128,6 +130,24 @@ 'Name=[{foo=[a,b]}, {bar=[c,d]}]', {'Name': [{'foo': ['a', 'b']}, {'bar': ['c', 'd']}]} ), + # key-value pairs using @= syntax + ('foo@=bar', {'foo': 'bar'}), + ('foo@=bar,baz@=qux', {'foo': 'bar', 'baz': 'qux'}), + ('foo@=,bar@=', {'foo': '', 'bar': ''}), + (u'foo@=\u2713,\u2713', {'foo': [u'\u2713', u'\u2713']}), + ('foo@=a,b,bar=c,d', {'foo': ['a', 'b'], 'bar': ['c', 'd']}), + ('foo=a,b@=with space', {'foo': 'a', 'b': 'with space'}), + ('foo=a,b@=with trailing space ', {'foo': 'a', 'b': 'with trailing space'}), + ('aws:service:region:124:foo/bar@=baz', {'aws:service:region:124:foo/bar': 'baz'}), + ('foo=[a,b],bar@=[c,d]', {'foo': ['a', 'b'], 'bar': ['c', 'd']}), + ('foo @= [ a , b , c ]', {'foo': ['a', 'b', 'c']}), + ('A=b,\nC@=d,\nE@=f\n', {'A': 'b', 'C': 'd', 'E': 'f'}), + ('Bar@=baz,Name={foo@=bar}', {'Bar': 'baz', 'Name': {'foo': 'bar'}}), + ('Name=[{foo@=bar}, {baz=qux}]', {'Name': [{'foo': 'bar'}, {'baz': 'qux'}]}), + ( + 'Name=[{foo@=[a,b]}, {bar=[c,d]}]', + {'Name': [{'foo': ['a', 'b']}, {'bar': ['c', 'd']}]} + ), ) @@ -136,6 +156,7 @@ 'foo', # Missing closing quotes 'foo="bar', + '"foo=bar', "foo='bar", "foo=[bar", "foo={bar", @@ -182,6 +203,38 @@ def test_parse(data, expected): actual = shorthand.ShorthandParser().parse(data) assert actual == expected +class TestShorthandParserParamFile: + @patch('awscli.paramfile.compat_open') + @pytest.mark.parametrize( + 'file_contents, data, expected', + ( + ('file-contents123', 'Foo@=file://foo,Bar={Baz@=file://foo}', {'Foo': 'file-contents123', 'Bar': {'Baz': 'file-contents123'}}), + (b'file-contents123', 'Foo@=fileb://foo,Bar={Baz@=fileb://foo}', {'Foo': b'file-contents123', 'Bar': {'Baz': b'file-contents123'}}), + ('file-contents123', 'Bar@={Baz=file://foo}', {'Bar': {'Baz': 'file://foo'}}), + ('file-contents123', 'Foo@=foo,Bar={Baz@=foo}', {'Foo': 'foo', 'Bar': {'Baz': 'foo'}}) + ) + ) + def test_paramfile(self, mock_compat_open, file_contents, data, expected): + mock_compat_open.return_value.__enter__.return_value.read.return_value = file_contents + result = shorthand.ShorthandParser().parse(data) + assert result == expected + + @patch('awscli.paramfile.compat_open') + def test_paramfile_list(self, mock_compat_open): + f1_contents = 'file-contents123' + f2_contents = 'contents2' + mock_compat_open.return_value.__enter__.return_value.read.side_effect = [f1_contents, f2_contents] + result = shorthand.ShorthandParser().parse( + f'Foo@=[a, file://foo1, file://foo2]' + ) + assert result == {'Foo': ['a', f1_contents, f2_contents]} + + def test_paramfile_does_not_exist_error(self, capsys): + with pytest.raises(awscli.paramfile.ResourceLoadingError): + shorthand.ShorthandParser().parse('Foo@=file://fakefile.txt') + captured = capsys.readouterr() + assert "No such file or directory: 'fakefile.txt" in captured.err + class TestModelVisitor(unittest.TestCase): def test_promote_to_list_of_ints(self): From 32e4f836322e9f2e40d2af3e9b784a68038e040c Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 12 Nov 2024 19:26:27 +0000 Subject: [PATCH 0294/1087] Update changelog based on model updates --- .changes/next-release/api-change-codebuild-33722.json | 5 +++++ .changes/next-release/api-change-controltower-49199.json | 5 +++++ .changes/next-release/api-change-fis-46995.json | 5 +++++ .changes/next-release/api-change-gamelift-20551.json | 5 +++++ .../next-release/api-change-paymentcryptography-75346.json | 5 +++++ .changes/next-release/api-change-rds-67194.json | 5 +++++ 6 files changed, 30 insertions(+) create mode 100644 .changes/next-release/api-change-codebuild-33722.json create mode 100644 .changes/next-release/api-change-controltower-49199.json create mode 100644 .changes/next-release/api-change-fis-46995.json create mode 100644 .changes/next-release/api-change-gamelift-20551.json create mode 100644 .changes/next-release/api-change-paymentcryptography-75346.json create mode 100644 .changes/next-release/api-change-rds-67194.json diff --git a/.changes/next-release/api-change-codebuild-33722.json b/.changes/next-release/api-change-codebuild-33722.json new file mode 100644 index 000000000000..910afa45b97a --- /dev/null +++ b/.changes/next-release/api-change-codebuild-33722.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``codebuild``", + "description": "AWS CodeBuild now supports non-containerized Linux and Windows builds on Reserved Capacity." +} diff --git a/.changes/next-release/api-change-controltower-49199.json b/.changes/next-release/api-change-controltower-49199.json new file mode 100644 index 000000000000..f3b57fe935ff --- /dev/null +++ b/.changes/next-release/api-change-controltower-49199.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``controltower``", + "description": "Added ResetEnabledControl API." +} diff --git a/.changes/next-release/api-change-fis-46995.json b/.changes/next-release/api-change-fis-46995.json new file mode 100644 index 000000000000..d91ab067c874 --- /dev/null +++ b/.changes/next-release/api-change-fis-46995.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``fis``", + "description": "This release adds support for generating experiment reports with the experiment report configuration" +} diff --git a/.changes/next-release/api-change-gamelift-20551.json b/.changes/next-release/api-change-gamelift-20551.json new file mode 100644 index 000000000000..971354f31cd4 --- /dev/null +++ b/.changes/next-release/api-change-gamelift-20551.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``gamelift``", + "description": "Amazon GameLift releases container fleets support for general availability. Deploy Linux-based containerized game server software for hosting on Amazon GameLift." +} diff --git a/.changes/next-release/api-change-paymentcryptography-75346.json b/.changes/next-release/api-change-paymentcryptography-75346.json new file mode 100644 index 000000000000..d09d56de7f23 --- /dev/null +++ b/.changes/next-release/api-change-paymentcryptography-75346.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``payment-cryptography``", + "description": "Updated ListAliases API with KeyArn filter." +} diff --git a/.changes/next-release/api-change-rds-67194.json b/.changes/next-release/api-change-rds-67194.json new file mode 100644 index 000000000000..74b38f4f3b21 --- /dev/null +++ b/.changes/next-release/api-change-rds-67194.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``rds``", + "description": "Updates Amazon RDS documentation for Amazon RDS Extended Support for Amazon Aurora MySQL." +} From f03ff587990466d6edda3beeaabaf398c913cad7 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 12 Nov 2024 19:27:38 +0000 Subject: [PATCH 0295/1087] Bumping version to 1.36.0 --- .changes/1.36.0.json | 37 +++++++++++++++++++ .../api-change-codebuild-33722.json | 5 --- .../api-change-controltower-49199.json | 5 --- .../next-release/api-change-fis-46995.json | 5 --- .../api-change-gamelift-20551.json | 5 --- .../api-change-paymentcryptography-75346.json | 5 --- .../next-release/api-change-rds-67194.json | 5 --- .../next-release/feature-shorthand-60511.json | 5 --- CHANGELOG.rst | 12 ++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 4 +- setup.cfg | 2 +- setup.py | 2 +- 13 files changed, 54 insertions(+), 40 deletions(-) create mode 100644 .changes/1.36.0.json delete mode 100644 .changes/next-release/api-change-codebuild-33722.json delete mode 100644 .changes/next-release/api-change-controltower-49199.json delete mode 100644 .changes/next-release/api-change-fis-46995.json delete mode 100644 .changes/next-release/api-change-gamelift-20551.json delete mode 100644 .changes/next-release/api-change-paymentcryptography-75346.json delete mode 100644 .changes/next-release/api-change-rds-67194.json delete mode 100644 .changes/next-release/feature-shorthand-60511.json diff --git a/.changes/1.36.0.json b/.changes/1.36.0.json new file mode 100644 index 000000000000..658ef9b3cc7e --- /dev/null +++ b/.changes/1.36.0.json @@ -0,0 +1,37 @@ +[ + { + "category": "``codebuild``", + "description": "AWS CodeBuild now supports non-containerized Linux and Windows builds on Reserved Capacity.", + "type": "api-change" + }, + { + "category": "``controltower``", + "description": "Added ResetEnabledControl API.", + "type": "api-change" + }, + { + "category": "``fis``", + "description": "This release adds support for generating experiment reports with the experiment report configuration", + "type": "api-change" + }, + { + "category": "``gamelift``", + "description": "Amazon GameLift releases container fleets support for general availability. Deploy Linux-based containerized game server software for hosting on Amazon GameLift.", + "type": "api-change" + }, + { + "category": "``payment-cryptography``", + "description": "Updated ListAliases API with KeyArn filter.", + "type": "api-change" + }, + { + "category": "``rds``", + "description": "Updates Amazon RDS documentation for Amazon RDS Extended Support for Amazon Aurora MySQL.", + "type": "api-change" + }, + { + "category": "shorthand", + "description": "Adds support to shorthand syntax for loading parameters from files via the ``@=`` assignment operator.", + "type": "feature" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-codebuild-33722.json b/.changes/next-release/api-change-codebuild-33722.json deleted file mode 100644 index 910afa45b97a..000000000000 --- a/.changes/next-release/api-change-codebuild-33722.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``codebuild``", - "description": "AWS CodeBuild now supports non-containerized Linux and Windows builds on Reserved Capacity." -} diff --git a/.changes/next-release/api-change-controltower-49199.json b/.changes/next-release/api-change-controltower-49199.json deleted file mode 100644 index f3b57fe935ff..000000000000 --- a/.changes/next-release/api-change-controltower-49199.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``controltower``", - "description": "Added ResetEnabledControl API." -} diff --git a/.changes/next-release/api-change-fis-46995.json b/.changes/next-release/api-change-fis-46995.json deleted file mode 100644 index d91ab067c874..000000000000 --- a/.changes/next-release/api-change-fis-46995.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``fis``", - "description": "This release adds support for generating experiment reports with the experiment report configuration" -} diff --git a/.changes/next-release/api-change-gamelift-20551.json b/.changes/next-release/api-change-gamelift-20551.json deleted file mode 100644 index 971354f31cd4..000000000000 --- a/.changes/next-release/api-change-gamelift-20551.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``gamelift``", - "description": "Amazon GameLift releases container fleets support for general availability. Deploy Linux-based containerized game server software for hosting on Amazon GameLift." -} diff --git a/.changes/next-release/api-change-paymentcryptography-75346.json b/.changes/next-release/api-change-paymentcryptography-75346.json deleted file mode 100644 index d09d56de7f23..000000000000 --- a/.changes/next-release/api-change-paymentcryptography-75346.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``payment-cryptography``", - "description": "Updated ListAliases API with KeyArn filter." -} diff --git a/.changes/next-release/api-change-rds-67194.json b/.changes/next-release/api-change-rds-67194.json deleted file mode 100644 index 74b38f4f3b21..000000000000 --- a/.changes/next-release/api-change-rds-67194.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``rds``", - "description": "Updates Amazon RDS documentation for Amazon RDS Extended Support for Amazon Aurora MySQL." -} diff --git a/.changes/next-release/feature-shorthand-60511.json b/.changes/next-release/feature-shorthand-60511.json deleted file mode 100644 index e43d421ec448..000000000000 --- a/.changes/next-release/feature-shorthand-60511.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "feature", - "category": "shorthand", - "description": "Adds support to shorthand syntax for loading parameters from files via the ``@=`` assignment operator." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 344cf83977c5..71a08c838897 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,18 @@ CHANGELOG ========= +1.36.0 +====== + +* api-change:``codebuild``: AWS CodeBuild now supports non-containerized Linux and Windows builds on Reserved Capacity. +* api-change:``controltower``: Added ResetEnabledControl API. +* api-change:``fis``: This release adds support for generating experiment reports with the experiment report configuration +* api-change:``gamelift``: Amazon GameLift releases container fleets support for general availability. Deploy Linux-based containerized game server software for hosting on Amazon GameLift. +* api-change:``payment-cryptography``: Updated ListAliases API with KeyArn filter. +* api-change:``rds``: Updates Amazon RDS documentation for Amazon RDS Extended Support for Amazon Aurora MySQL. +* feature:shorthand: Adds support to shorthand syntax for loading parameters from files via the ``@=`` assignment operator. + + 1.35.24 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 43bdbf807816..6d62e57dd674 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.35.24' +__version__ = '1.36.0' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 7fdca09b2598..7d3f7d025474 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -50,9 +50,9 @@ # built documents. # # The short X.Y version. -version = '1.35.' +version = '1.36' # The full version, including alpha/beta/rc tags. -release = '1.35.24' +release = '1.36.0' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index d0a0ca53f75d..21849769be37 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.58 + botocore==1.35.59 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 0ed860c67871..0b459e843636 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.58', + 'botocore==1.35.59', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 7b1c3284fe1b41fd200e65e1097b755cd6c7899d Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 13 Nov 2024 19:06:38 +0000 Subject: [PATCH 0296/1087] Update changelog based on model updates --- .changes/next-release/api-change-accessanalyzer-9359.json | 5 +++++ .../next-release/api-change-applicationsignals-66816.json | 5 +++++ .changes/next-release/api-change-b2bi-79372.json | 5 +++++ .changes/next-release/api-change-billing-39827.json | 5 +++++ .changes/next-release/api-change-cloudtrail-80834.json | 5 +++++ .changes/next-release/api-change-dynamodb-43776.json | 5 +++++ .changes/next-release/api-change-ec2-20444.json | 5 +++++ .changes/next-release/api-change-internetmonitor-68717.json | 5 +++++ .changes/next-release/api-change-mediaconvert-67339.json | 5 +++++ .changes/next-release/api-change-organizations-63297.json | 5 +++++ 10 files changed, 50 insertions(+) create mode 100644 .changes/next-release/api-change-accessanalyzer-9359.json create mode 100644 .changes/next-release/api-change-applicationsignals-66816.json create mode 100644 .changes/next-release/api-change-b2bi-79372.json create mode 100644 .changes/next-release/api-change-billing-39827.json create mode 100644 .changes/next-release/api-change-cloudtrail-80834.json create mode 100644 .changes/next-release/api-change-dynamodb-43776.json create mode 100644 .changes/next-release/api-change-ec2-20444.json create mode 100644 .changes/next-release/api-change-internetmonitor-68717.json create mode 100644 .changes/next-release/api-change-mediaconvert-67339.json create mode 100644 .changes/next-release/api-change-organizations-63297.json diff --git a/.changes/next-release/api-change-accessanalyzer-9359.json b/.changes/next-release/api-change-accessanalyzer-9359.json new file mode 100644 index 000000000000..b1f474424de5 --- /dev/null +++ b/.changes/next-release/api-change-accessanalyzer-9359.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``accessanalyzer``", + "description": "This release adds support for policy validation and external access findings for resource control policies (RCP). IAM Access Analyzer helps you author functional and secure RCPs and awareness that a RCP may restrict external access. Updated service API, documentation, and paginators." +} diff --git a/.changes/next-release/api-change-applicationsignals-66816.json b/.changes/next-release/api-change-applicationsignals-66816.json new file mode 100644 index 000000000000..11eff7186499 --- /dev/null +++ b/.changes/next-release/api-change-applicationsignals-66816.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``application-signals``", + "description": "Amazon CloudWatch Application Signals now supports creating Service Level Objectives with burn rates. Users can now create or update SLOs with burn rate configurations to meet their specific business requirements." +} diff --git a/.changes/next-release/api-change-b2bi-79372.json b/.changes/next-release/api-change-b2bi-79372.json new file mode 100644 index 000000000000..158495cb4507 --- /dev/null +++ b/.changes/next-release/api-change-b2bi-79372.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``b2bi``", + "description": "This release adds a GenerateMapping API to allow generation of JSONata or XSLT transformer code based on input and output samples." +} diff --git a/.changes/next-release/api-change-billing-39827.json b/.changes/next-release/api-change-billing-39827.json new file mode 100644 index 000000000000..484c67db5be6 --- /dev/null +++ b/.changes/next-release/api-change-billing-39827.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``billing``", + "description": "Today, AWS announces the general availability of ListBillingViews API in the AWS SDKs, to enable AWS Billing Conductor (ABC) users to create proforma Cost and Usage Reports (CUR) programmatically." +} diff --git a/.changes/next-release/api-change-cloudtrail-80834.json b/.changes/next-release/api-change-cloudtrail-80834.json new file mode 100644 index 000000000000..2a597d1381fd --- /dev/null +++ b/.changes/next-release/api-change-cloudtrail-80834.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``cloudtrail``", + "description": "This release adds a new API GenerateQuery that generates a query from a natural language prompt about the event data in your event data store. This operation uses generative artificial intelligence (generative AI) to produce a ready-to-use SQL query from the prompt." +} diff --git a/.changes/next-release/api-change-dynamodb-43776.json b/.changes/next-release/api-change-dynamodb-43776.json new file mode 100644 index 000000000000..a3403dc0b41f --- /dev/null +++ b/.changes/next-release/api-change-dynamodb-43776.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``dynamodb``", + "description": "This release includes supports the new WarmThroughput feature for DynamoDB. You can now provide an optional WarmThroughput attribute for CreateTable or UpdateTable APIs to pre-warm your table or global secondary index. You can also use DescribeTable to see the latest WarmThroughput value." +} diff --git a/.changes/next-release/api-change-ec2-20444.json b/.changes/next-release/api-change-ec2-20444.json new file mode 100644 index 000000000000..7624b37ee5f7 --- /dev/null +++ b/.changes/next-release/api-change-ec2-20444.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ec2``", + "description": "This release adds the source AMI details in DescribeImages API" +} diff --git a/.changes/next-release/api-change-internetmonitor-68717.json b/.changes/next-release/api-change-internetmonitor-68717.json new file mode 100644 index 000000000000..c33fe605eaf5 --- /dev/null +++ b/.changes/next-release/api-change-internetmonitor-68717.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``internetmonitor``", + "description": "Add new query type Routing_Suggestions regarding querying interface" +} diff --git a/.changes/next-release/api-change-mediaconvert-67339.json b/.changes/next-release/api-change-mediaconvert-67339.json new file mode 100644 index 000000000000..7c862e33f803 --- /dev/null +++ b/.changes/next-release/api-change-mediaconvert-67339.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``mediaconvert``", + "description": "This release adds support for ARN inputs in the Kantar credentials secrets name field and the MSPR field to the manifests for PlayReady DRM protected outputs." +} diff --git a/.changes/next-release/api-change-organizations-63297.json b/.changes/next-release/api-change-organizations-63297.json new file mode 100644 index 000000000000..752eedcc852a --- /dev/null +++ b/.changes/next-release/api-change-organizations-63297.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``organizations``", + "description": "Add support for policy operations on the Resource Control Polices." +} From e8934c537bfaf326ff6a8ee7920c0ff5d6f9666c Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 13 Nov 2024 19:08:12 +0000 Subject: [PATCH 0297/1087] Bumping version to 1.36.1 --- .changes/1.36.1.json | 52 +++++++++++++++++++ .../api-change-accessanalyzer-9359.json | 5 -- .../api-change-applicationsignals-66816.json | 5 -- .../next-release/api-change-b2bi-79372.json | 5 -- .../api-change-billing-39827.json | 5 -- .../api-change-cloudtrail-80834.json | 5 -- .../api-change-dynamodb-43776.json | 5 -- .../next-release/api-change-ec2-20444.json | 5 -- .../api-change-internetmonitor-68717.json | 5 -- .../api-change-mediaconvert-67339.json | 5 -- .../api-change-organizations-63297.json | 5 -- CHANGELOG.rst | 15 ++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 16 files changed, 71 insertions(+), 54 deletions(-) create mode 100644 .changes/1.36.1.json delete mode 100644 .changes/next-release/api-change-accessanalyzer-9359.json delete mode 100644 .changes/next-release/api-change-applicationsignals-66816.json delete mode 100644 .changes/next-release/api-change-b2bi-79372.json delete mode 100644 .changes/next-release/api-change-billing-39827.json delete mode 100644 .changes/next-release/api-change-cloudtrail-80834.json delete mode 100644 .changes/next-release/api-change-dynamodb-43776.json delete mode 100644 .changes/next-release/api-change-ec2-20444.json delete mode 100644 .changes/next-release/api-change-internetmonitor-68717.json delete mode 100644 .changes/next-release/api-change-mediaconvert-67339.json delete mode 100644 .changes/next-release/api-change-organizations-63297.json diff --git a/.changes/1.36.1.json b/.changes/1.36.1.json new file mode 100644 index 000000000000..9b70a99abcbc --- /dev/null +++ b/.changes/1.36.1.json @@ -0,0 +1,52 @@ +[ + { + "category": "``accessanalyzer``", + "description": "This release adds support for policy validation and external access findings for resource control policies (RCP). IAM Access Analyzer helps you author functional and secure RCPs and awareness that a RCP may restrict external access. Updated service API, documentation, and paginators.", + "type": "api-change" + }, + { + "category": "``application-signals``", + "description": "Amazon CloudWatch Application Signals now supports creating Service Level Objectives with burn rates. Users can now create or update SLOs with burn rate configurations to meet their specific business requirements.", + "type": "api-change" + }, + { + "category": "``b2bi``", + "description": "This release adds a GenerateMapping API to allow generation of JSONata or XSLT transformer code based on input and output samples.", + "type": "api-change" + }, + { + "category": "``billing``", + "description": "Today, AWS announces the general availability of ListBillingViews API in the AWS SDKs, to enable AWS Billing Conductor (ABC) users to create proforma Cost and Usage Reports (CUR) programmatically.", + "type": "api-change" + }, + { + "category": "``cloudtrail``", + "description": "This release adds a new API GenerateQuery that generates a query from a natural language prompt about the event data in your event data store. This operation uses generative artificial intelligence (generative AI) to produce a ready-to-use SQL query from the prompt.", + "type": "api-change" + }, + { + "category": "``dynamodb``", + "description": "This release includes supports the new WarmThroughput feature for DynamoDB. You can now provide an optional WarmThroughput attribute for CreateTable or UpdateTable APIs to pre-warm your table or global secondary index. You can also use DescribeTable to see the latest WarmThroughput value.", + "type": "api-change" + }, + { + "category": "``ec2``", + "description": "This release adds the source AMI details in DescribeImages API", + "type": "api-change" + }, + { + "category": "``internetmonitor``", + "description": "Add new query type Routing_Suggestions regarding querying interface", + "type": "api-change" + }, + { + "category": "``mediaconvert``", + "description": "This release adds support for ARN inputs in the Kantar credentials secrets name field and the MSPR field to the manifests for PlayReady DRM protected outputs.", + "type": "api-change" + }, + { + "category": "``organizations``", + "description": "Add support for policy operations on the Resource Control Polices.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-accessanalyzer-9359.json b/.changes/next-release/api-change-accessanalyzer-9359.json deleted file mode 100644 index b1f474424de5..000000000000 --- a/.changes/next-release/api-change-accessanalyzer-9359.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``accessanalyzer``", - "description": "This release adds support for policy validation and external access findings for resource control policies (RCP). IAM Access Analyzer helps you author functional and secure RCPs and awareness that a RCP may restrict external access. Updated service API, documentation, and paginators." -} diff --git a/.changes/next-release/api-change-applicationsignals-66816.json b/.changes/next-release/api-change-applicationsignals-66816.json deleted file mode 100644 index 11eff7186499..000000000000 --- a/.changes/next-release/api-change-applicationsignals-66816.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``application-signals``", - "description": "Amazon CloudWatch Application Signals now supports creating Service Level Objectives with burn rates. Users can now create or update SLOs with burn rate configurations to meet their specific business requirements." -} diff --git a/.changes/next-release/api-change-b2bi-79372.json b/.changes/next-release/api-change-b2bi-79372.json deleted file mode 100644 index 158495cb4507..000000000000 --- a/.changes/next-release/api-change-b2bi-79372.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``b2bi``", - "description": "This release adds a GenerateMapping API to allow generation of JSONata or XSLT transformer code based on input and output samples." -} diff --git a/.changes/next-release/api-change-billing-39827.json b/.changes/next-release/api-change-billing-39827.json deleted file mode 100644 index 484c67db5be6..000000000000 --- a/.changes/next-release/api-change-billing-39827.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``billing``", - "description": "Today, AWS announces the general availability of ListBillingViews API in the AWS SDKs, to enable AWS Billing Conductor (ABC) users to create proforma Cost and Usage Reports (CUR) programmatically." -} diff --git a/.changes/next-release/api-change-cloudtrail-80834.json b/.changes/next-release/api-change-cloudtrail-80834.json deleted file mode 100644 index 2a597d1381fd..000000000000 --- a/.changes/next-release/api-change-cloudtrail-80834.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``cloudtrail``", - "description": "This release adds a new API GenerateQuery that generates a query from a natural language prompt about the event data in your event data store. This operation uses generative artificial intelligence (generative AI) to produce a ready-to-use SQL query from the prompt." -} diff --git a/.changes/next-release/api-change-dynamodb-43776.json b/.changes/next-release/api-change-dynamodb-43776.json deleted file mode 100644 index a3403dc0b41f..000000000000 --- a/.changes/next-release/api-change-dynamodb-43776.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``dynamodb``", - "description": "This release includes supports the new WarmThroughput feature for DynamoDB. You can now provide an optional WarmThroughput attribute for CreateTable or UpdateTable APIs to pre-warm your table or global secondary index. You can also use DescribeTable to see the latest WarmThroughput value." -} diff --git a/.changes/next-release/api-change-ec2-20444.json b/.changes/next-release/api-change-ec2-20444.json deleted file mode 100644 index 7624b37ee5f7..000000000000 --- a/.changes/next-release/api-change-ec2-20444.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ec2``", - "description": "This release adds the source AMI details in DescribeImages API" -} diff --git a/.changes/next-release/api-change-internetmonitor-68717.json b/.changes/next-release/api-change-internetmonitor-68717.json deleted file mode 100644 index c33fe605eaf5..000000000000 --- a/.changes/next-release/api-change-internetmonitor-68717.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``internetmonitor``", - "description": "Add new query type Routing_Suggestions regarding querying interface" -} diff --git a/.changes/next-release/api-change-mediaconvert-67339.json b/.changes/next-release/api-change-mediaconvert-67339.json deleted file mode 100644 index 7c862e33f803..000000000000 --- a/.changes/next-release/api-change-mediaconvert-67339.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``mediaconvert``", - "description": "This release adds support for ARN inputs in the Kantar credentials secrets name field and the MSPR field to the manifests for PlayReady DRM protected outputs." -} diff --git a/.changes/next-release/api-change-organizations-63297.json b/.changes/next-release/api-change-organizations-63297.json deleted file mode 100644 index 752eedcc852a..000000000000 --- a/.changes/next-release/api-change-organizations-63297.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``organizations``", - "description": "Add support for policy operations on the Resource Control Polices." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 71a08c838897..dc8d9d7bd651 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,21 @@ CHANGELOG ========= +1.36.1 +====== + +* api-change:``accessanalyzer``: This release adds support for policy validation and external access findings for resource control policies (RCP). IAM Access Analyzer helps you author functional and secure RCPs and awareness that a RCP may restrict external access. Updated service API, documentation, and paginators. +* api-change:``application-signals``: Amazon CloudWatch Application Signals now supports creating Service Level Objectives with burn rates. Users can now create or update SLOs with burn rate configurations to meet their specific business requirements. +* api-change:``b2bi``: This release adds a GenerateMapping API to allow generation of JSONata or XSLT transformer code based on input and output samples. +* api-change:``billing``: Today, AWS announces the general availability of ListBillingViews API in the AWS SDKs, to enable AWS Billing Conductor (ABC) users to create proforma Cost and Usage Reports (CUR) programmatically. +* api-change:``cloudtrail``: This release adds a new API GenerateQuery that generates a query from a natural language prompt about the event data in your event data store. This operation uses generative artificial intelligence (generative AI) to produce a ready-to-use SQL query from the prompt. +* api-change:``dynamodb``: This release includes supports the new WarmThroughput feature for DynamoDB. You can now provide an optional WarmThroughput attribute for CreateTable or UpdateTable APIs to pre-warm your table or global secondary index. You can also use DescribeTable to see the latest WarmThroughput value. +* api-change:``ec2``: This release adds the source AMI details in DescribeImages API +* api-change:``internetmonitor``: Add new query type Routing_Suggestions regarding querying interface +* api-change:``mediaconvert``: This release adds support for ARN inputs in the Kantar credentials secrets name field and the MSPR field to the manifests for PlayReady DRM protected outputs. +* api-change:``organizations``: Add support for policy operations on the Resource Control Polices. + + 1.36.0 ====== diff --git a/awscli/__init__.py b/awscli/__init__.py index 6d62e57dd674..f3328906256f 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.36.0' +__version__ = '1.36.1' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 7d3f7d025474..f2dc96f85bc9 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.36' # The full version, including alpha/beta/rc tags. -release = '1.36.0' +release = '1.36.1' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 21849769be37..26a970439377 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.59 + botocore==1.35.60 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 0b459e843636..12b85ccf7c71 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.59', + 'botocore==1.35.60', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 9557aed482dd1661aea9360ad5958cd6f01db561 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 14 Nov 2024 20:28:11 +0000 Subject: [PATCH 0298/1087] Update changelog based on model updates --- .changes/next-release/api-change-accessanalyzer-84.json | 5 +++++ .changes/next-release/api-change-cloudcontrol-59211.json | 5 +++++ .changes/next-release/api-change-deadline-12894.json | 5 +++++ .changes/next-release/api-change-iam-14905.json | 5 +++++ .changes/next-release/api-change-iotwireless-22208.json | 5 +++++ .changes/next-release/api-change-ivs-36115.json | 5 +++++ .../api-change-licensemanagerusersubscriptions-94117.json | 5 +++++ .../next-release/api-change-partnercentralselling-94495.json | 5 +++++ .changes/next-release/api-change-quicksight-32511.json | 5 +++++ .changes/next-release/api-change-redshift-20614.json | 5 +++++ .changes/next-release/api-change-s3-28799.json | 5 +++++ .changes/next-release/api-change-sagemaker-82768.json | 5 +++++ .changes/next-release/api-change-sts-16123.json | 5 +++++ 13 files changed, 65 insertions(+) create mode 100644 .changes/next-release/api-change-accessanalyzer-84.json create mode 100644 .changes/next-release/api-change-cloudcontrol-59211.json create mode 100644 .changes/next-release/api-change-deadline-12894.json create mode 100644 .changes/next-release/api-change-iam-14905.json create mode 100644 .changes/next-release/api-change-iotwireless-22208.json create mode 100644 .changes/next-release/api-change-ivs-36115.json create mode 100644 .changes/next-release/api-change-licensemanagerusersubscriptions-94117.json create mode 100644 .changes/next-release/api-change-partnercentralselling-94495.json create mode 100644 .changes/next-release/api-change-quicksight-32511.json create mode 100644 .changes/next-release/api-change-redshift-20614.json create mode 100644 .changes/next-release/api-change-s3-28799.json create mode 100644 .changes/next-release/api-change-sagemaker-82768.json create mode 100644 .changes/next-release/api-change-sts-16123.json diff --git a/.changes/next-release/api-change-accessanalyzer-84.json b/.changes/next-release/api-change-accessanalyzer-84.json new file mode 100644 index 000000000000..a09fc6d6751e --- /dev/null +++ b/.changes/next-release/api-change-accessanalyzer-84.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``accessanalyzer``", + "description": "Expand analyzer configuration capabilities for unused access analyzers. Unused access analyzer configurations now support the ability to exclude accounts and resource tags from analysis providing more granular control over the scope of analysis." +} diff --git a/.changes/next-release/api-change-cloudcontrol-59211.json b/.changes/next-release/api-change-cloudcontrol-59211.json new file mode 100644 index 000000000000..9847889b0206 --- /dev/null +++ b/.changes/next-release/api-change-cloudcontrol-59211.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``cloudcontrol``", + "description": "Added support for CloudFormation Hooks with Cloud Control API. The GetResourceRequestStatus API response now includes an optional HooksProgressEvent and HooksRequestToken parameter for Hooks Invocation Progress as part of resource operation with Cloud Control." +} diff --git a/.changes/next-release/api-change-deadline-12894.json b/.changes/next-release/api-change-deadline-12894.json new file mode 100644 index 000000000000..000515ef9f2c --- /dev/null +++ b/.changes/next-release/api-change-deadline-12894.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``deadline``", + "description": "Adds support for select GPU accelerated instance types when creating new service-managed fleets." +} diff --git a/.changes/next-release/api-change-iam-14905.json b/.changes/next-release/api-change-iam-14905.json new file mode 100644 index 000000000000..ccef9332cae2 --- /dev/null +++ b/.changes/next-release/api-change-iam-14905.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``iam``", + "description": "This release includes support for five new APIs and changes to existing APIs that give AWS Organizations customers the ability to use temporary root credentials, targeted to member accounts in the organization." +} diff --git a/.changes/next-release/api-change-iotwireless-22208.json b/.changes/next-release/api-change-iotwireless-22208.json new file mode 100644 index 000000000000..92dddd7237b3 --- /dev/null +++ b/.changes/next-release/api-change-iotwireless-22208.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``iotwireless``", + "description": "New FuotaTask resource type to enable logging for your FUOTA tasks. A ParticipatingGatewaysforMulticast parameter to choose the list of gateways to receive the multicast downlink message and the transmission interval between them. Descriptor field which will be sent to devices during FUOTA transfer." +} diff --git a/.changes/next-release/api-change-ivs-36115.json b/.changes/next-release/api-change-ivs-36115.json new file mode 100644 index 000000000000..77f5cbd65b7b --- /dev/null +++ b/.changes/next-release/api-change-ivs-36115.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ivs``", + "description": "IVS now offers customers the ability to stream multitrack video to Channels." +} diff --git a/.changes/next-release/api-change-licensemanagerusersubscriptions-94117.json b/.changes/next-release/api-change-licensemanagerusersubscriptions-94117.json new file mode 100644 index 000000000000..8cc3a08f346a --- /dev/null +++ b/.changes/next-release/api-change-licensemanagerusersubscriptions-94117.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``license-manager-user-subscriptions``", + "description": "New and updated API operations to support License Included User-based Subscription of Microsoft Remote Desktop Services (RDS)." +} diff --git a/.changes/next-release/api-change-partnercentralselling-94495.json b/.changes/next-release/api-change-partnercentralselling-94495.json new file mode 100644 index 000000000000..7eaa06a676ac --- /dev/null +++ b/.changes/next-release/api-change-partnercentralselling-94495.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``partnercentral-selling``", + "description": "Announcing AWS Partner Central API for Selling: This service launch Introduces new APIs for co-selling opportunity management and related functions. Key features include notifications, a dynamic sandbox for testing, and streamlined validations." +} diff --git a/.changes/next-release/api-change-quicksight-32511.json b/.changes/next-release/api-change-quicksight-32511.json new file mode 100644 index 000000000000..8d33be97f571 --- /dev/null +++ b/.changes/next-release/api-change-quicksight-32511.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``quicksight``", + "description": "This release adds APIs for Custom Permissions management in QuickSight, and APIs to support QuickSight Branding." +} diff --git a/.changes/next-release/api-change-redshift-20614.json b/.changes/next-release/api-change-redshift-20614.json new file mode 100644 index 000000000000..2524418d15e5 --- /dev/null +++ b/.changes/next-release/api-change-redshift-20614.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``redshift``", + "description": "Adds support for Amazon Redshift S3AccessGrants" +} diff --git a/.changes/next-release/api-change-s3-28799.json b/.changes/next-release/api-change-s3-28799.json new file mode 100644 index 000000000000..8f8d56ec6b9e --- /dev/null +++ b/.changes/next-release/api-change-s3-28799.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``s3``", + "description": "This release updates the ListBuckets API Reference documentation in support of the new 10,000 general purpose bucket default quota on all AWS accounts. To increase your bucket quota from 10,000 to up to 1 million buckets, simply request a quota increase via Service Quotas." +} diff --git a/.changes/next-release/api-change-sagemaker-82768.json b/.changes/next-release/api-change-sagemaker-82768.json new file mode 100644 index 000000000000..86acf0cd64fb --- /dev/null +++ b/.changes/next-release/api-change-sagemaker-82768.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``sagemaker``", + "description": "Add support for Neuron instance types [ trn1/trn1n/inf2 ] on SageMaker Notebook Instances Platform." +} diff --git a/.changes/next-release/api-change-sts-16123.json b/.changes/next-release/api-change-sts-16123.json new file mode 100644 index 000000000000..323779c02ee1 --- /dev/null +++ b/.changes/next-release/api-change-sts-16123.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``sts``", + "description": "This release introduces the new API 'AssumeRoot', which returns short-term credentials that you can use to perform privileged tasks." +} From b0bc0f93b4b967581fb5e9e90f7e01ca726a01cd Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 14 Nov 2024 20:29:21 +0000 Subject: [PATCH 0299/1087] Bumping version to 1.36.2 --- .changes/1.36.2.json | 67 +++++++++++++++++++ .../api-change-accessanalyzer-84.json | 5 -- .../api-change-cloudcontrol-59211.json | 5 -- .../api-change-deadline-12894.json | 5 -- .../next-release/api-change-iam-14905.json | 5 -- .../api-change-iotwireless-22208.json | 5 -- .../next-release/api-change-ivs-36115.json | 5 -- ...licensemanagerusersubscriptions-94117.json | 5 -- ...pi-change-partnercentralselling-94495.json | 5 -- .../api-change-quicksight-32511.json | 5 -- .../api-change-redshift-20614.json | 5 -- .../next-release/api-change-s3-28799.json | 5 -- .../api-change-sagemaker-82768.json | 5 -- .../next-release/api-change-sts-16123.json | 5 -- CHANGELOG.rst | 18 +++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 19 files changed, 89 insertions(+), 69 deletions(-) create mode 100644 .changes/1.36.2.json delete mode 100644 .changes/next-release/api-change-accessanalyzer-84.json delete mode 100644 .changes/next-release/api-change-cloudcontrol-59211.json delete mode 100644 .changes/next-release/api-change-deadline-12894.json delete mode 100644 .changes/next-release/api-change-iam-14905.json delete mode 100644 .changes/next-release/api-change-iotwireless-22208.json delete mode 100644 .changes/next-release/api-change-ivs-36115.json delete mode 100644 .changes/next-release/api-change-licensemanagerusersubscriptions-94117.json delete mode 100644 .changes/next-release/api-change-partnercentralselling-94495.json delete mode 100644 .changes/next-release/api-change-quicksight-32511.json delete mode 100644 .changes/next-release/api-change-redshift-20614.json delete mode 100644 .changes/next-release/api-change-s3-28799.json delete mode 100644 .changes/next-release/api-change-sagemaker-82768.json delete mode 100644 .changes/next-release/api-change-sts-16123.json diff --git a/.changes/1.36.2.json b/.changes/1.36.2.json new file mode 100644 index 000000000000..987df1336ecf --- /dev/null +++ b/.changes/1.36.2.json @@ -0,0 +1,67 @@ +[ + { + "category": "``accessanalyzer``", + "description": "Expand analyzer configuration capabilities for unused access analyzers. Unused access analyzer configurations now support the ability to exclude accounts and resource tags from analysis providing more granular control over the scope of analysis.", + "type": "api-change" + }, + { + "category": "``cloudcontrol``", + "description": "Added support for CloudFormation Hooks with Cloud Control API. The GetResourceRequestStatus API response now includes an optional HooksProgressEvent and HooksRequestToken parameter for Hooks Invocation Progress as part of resource operation with Cloud Control.", + "type": "api-change" + }, + { + "category": "``deadline``", + "description": "Adds support for select GPU accelerated instance types when creating new service-managed fleets.", + "type": "api-change" + }, + { + "category": "``iam``", + "description": "This release includes support for five new APIs and changes to existing APIs that give AWS Organizations customers the ability to use temporary root credentials, targeted to member accounts in the organization.", + "type": "api-change" + }, + { + "category": "``iotwireless``", + "description": "New FuotaTask resource type to enable logging for your FUOTA tasks. A ParticipatingGatewaysforMulticast parameter to choose the list of gateways to receive the multicast downlink message and the transmission interval between them. Descriptor field which will be sent to devices during FUOTA transfer.", + "type": "api-change" + }, + { + "category": "``ivs``", + "description": "IVS now offers customers the ability to stream multitrack video to Channels.", + "type": "api-change" + }, + { + "category": "``license-manager-user-subscriptions``", + "description": "New and updated API operations to support License Included User-based Subscription of Microsoft Remote Desktop Services (RDS).", + "type": "api-change" + }, + { + "category": "``partnercentral-selling``", + "description": "Announcing AWS Partner Central API for Selling: This service launch Introduces new APIs for co-selling opportunity management and related functions. Key features include notifications, a dynamic sandbox for testing, and streamlined validations.", + "type": "api-change" + }, + { + "category": "``quicksight``", + "description": "This release adds APIs for Custom Permissions management in QuickSight, and APIs to support QuickSight Branding.", + "type": "api-change" + }, + { + "category": "``redshift``", + "description": "Adds support for Amazon Redshift S3AccessGrants", + "type": "api-change" + }, + { + "category": "``s3``", + "description": "This release updates the ListBuckets API Reference documentation in support of the new 10,000 general purpose bucket default quota on all AWS accounts. To increase your bucket quota from 10,000 to up to 1 million buckets, simply request a quota increase via Service Quotas.", + "type": "api-change" + }, + { + "category": "``sagemaker``", + "description": "Add support for Neuron instance types [ trn1/trn1n/inf2 ] on SageMaker Notebook Instances Platform.", + "type": "api-change" + }, + { + "category": "``sts``", + "description": "This release introduces the new API 'AssumeRoot', which returns short-term credentials that you can use to perform privileged tasks.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-accessanalyzer-84.json b/.changes/next-release/api-change-accessanalyzer-84.json deleted file mode 100644 index a09fc6d6751e..000000000000 --- a/.changes/next-release/api-change-accessanalyzer-84.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``accessanalyzer``", - "description": "Expand analyzer configuration capabilities for unused access analyzers. Unused access analyzer configurations now support the ability to exclude accounts and resource tags from analysis providing more granular control over the scope of analysis." -} diff --git a/.changes/next-release/api-change-cloudcontrol-59211.json b/.changes/next-release/api-change-cloudcontrol-59211.json deleted file mode 100644 index 9847889b0206..000000000000 --- a/.changes/next-release/api-change-cloudcontrol-59211.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``cloudcontrol``", - "description": "Added support for CloudFormation Hooks with Cloud Control API. The GetResourceRequestStatus API response now includes an optional HooksProgressEvent and HooksRequestToken parameter for Hooks Invocation Progress as part of resource operation with Cloud Control." -} diff --git a/.changes/next-release/api-change-deadline-12894.json b/.changes/next-release/api-change-deadline-12894.json deleted file mode 100644 index 000515ef9f2c..000000000000 --- a/.changes/next-release/api-change-deadline-12894.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``deadline``", - "description": "Adds support for select GPU accelerated instance types when creating new service-managed fleets." -} diff --git a/.changes/next-release/api-change-iam-14905.json b/.changes/next-release/api-change-iam-14905.json deleted file mode 100644 index ccef9332cae2..000000000000 --- a/.changes/next-release/api-change-iam-14905.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``iam``", - "description": "This release includes support for five new APIs and changes to existing APIs that give AWS Organizations customers the ability to use temporary root credentials, targeted to member accounts in the organization." -} diff --git a/.changes/next-release/api-change-iotwireless-22208.json b/.changes/next-release/api-change-iotwireless-22208.json deleted file mode 100644 index 92dddd7237b3..000000000000 --- a/.changes/next-release/api-change-iotwireless-22208.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``iotwireless``", - "description": "New FuotaTask resource type to enable logging for your FUOTA tasks. A ParticipatingGatewaysforMulticast parameter to choose the list of gateways to receive the multicast downlink message and the transmission interval between them. Descriptor field which will be sent to devices during FUOTA transfer." -} diff --git a/.changes/next-release/api-change-ivs-36115.json b/.changes/next-release/api-change-ivs-36115.json deleted file mode 100644 index 77f5cbd65b7b..000000000000 --- a/.changes/next-release/api-change-ivs-36115.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ivs``", - "description": "IVS now offers customers the ability to stream multitrack video to Channels." -} diff --git a/.changes/next-release/api-change-licensemanagerusersubscriptions-94117.json b/.changes/next-release/api-change-licensemanagerusersubscriptions-94117.json deleted file mode 100644 index 8cc3a08f346a..000000000000 --- a/.changes/next-release/api-change-licensemanagerusersubscriptions-94117.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``license-manager-user-subscriptions``", - "description": "New and updated API operations to support License Included User-based Subscription of Microsoft Remote Desktop Services (RDS)." -} diff --git a/.changes/next-release/api-change-partnercentralselling-94495.json b/.changes/next-release/api-change-partnercentralselling-94495.json deleted file mode 100644 index 7eaa06a676ac..000000000000 --- a/.changes/next-release/api-change-partnercentralselling-94495.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``partnercentral-selling``", - "description": "Announcing AWS Partner Central API for Selling: This service launch Introduces new APIs for co-selling opportunity management and related functions. Key features include notifications, a dynamic sandbox for testing, and streamlined validations." -} diff --git a/.changes/next-release/api-change-quicksight-32511.json b/.changes/next-release/api-change-quicksight-32511.json deleted file mode 100644 index 8d33be97f571..000000000000 --- a/.changes/next-release/api-change-quicksight-32511.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``quicksight``", - "description": "This release adds APIs for Custom Permissions management in QuickSight, and APIs to support QuickSight Branding." -} diff --git a/.changes/next-release/api-change-redshift-20614.json b/.changes/next-release/api-change-redshift-20614.json deleted file mode 100644 index 2524418d15e5..000000000000 --- a/.changes/next-release/api-change-redshift-20614.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``redshift``", - "description": "Adds support for Amazon Redshift S3AccessGrants" -} diff --git a/.changes/next-release/api-change-s3-28799.json b/.changes/next-release/api-change-s3-28799.json deleted file mode 100644 index 8f8d56ec6b9e..000000000000 --- a/.changes/next-release/api-change-s3-28799.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``s3``", - "description": "This release updates the ListBuckets API Reference documentation in support of the new 10,000 general purpose bucket default quota on all AWS accounts. To increase your bucket quota from 10,000 to up to 1 million buckets, simply request a quota increase via Service Quotas." -} diff --git a/.changes/next-release/api-change-sagemaker-82768.json b/.changes/next-release/api-change-sagemaker-82768.json deleted file mode 100644 index 86acf0cd64fb..000000000000 --- a/.changes/next-release/api-change-sagemaker-82768.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``sagemaker``", - "description": "Add support for Neuron instance types [ trn1/trn1n/inf2 ] on SageMaker Notebook Instances Platform." -} diff --git a/.changes/next-release/api-change-sts-16123.json b/.changes/next-release/api-change-sts-16123.json deleted file mode 100644 index 323779c02ee1..000000000000 --- a/.changes/next-release/api-change-sts-16123.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``sts``", - "description": "This release introduces the new API 'AssumeRoot', which returns short-term credentials that you can use to perform privileged tasks." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index dc8d9d7bd651..df4d76a5e408 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,24 @@ CHANGELOG ========= +1.36.2 +====== + +* api-change:``accessanalyzer``: Expand analyzer configuration capabilities for unused access analyzers. Unused access analyzer configurations now support the ability to exclude accounts and resource tags from analysis providing more granular control over the scope of analysis. +* api-change:``cloudcontrol``: Added support for CloudFormation Hooks with Cloud Control API. The GetResourceRequestStatus API response now includes an optional HooksProgressEvent and HooksRequestToken parameter for Hooks Invocation Progress as part of resource operation with Cloud Control. +* api-change:``deadline``: Adds support for select GPU accelerated instance types when creating new service-managed fleets. +* api-change:``iam``: This release includes support for five new APIs and changes to existing APIs that give AWS Organizations customers the ability to use temporary root credentials, targeted to member accounts in the organization. +* api-change:``iotwireless``: New FuotaTask resource type to enable logging for your FUOTA tasks. A ParticipatingGatewaysforMulticast parameter to choose the list of gateways to receive the multicast downlink message and the transmission interval between them. Descriptor field which will be sent to devices during FUOTA transfer. +* api-change:``ivs``: IVS now offers customers the ability to stream multitrack video to Channels. +* api-change:``license-manager-user-subscriptions``: New and updated API operations to support License Included User-based Subscription of Microsoft Remote Desktop Services (RDS). +* api-change:``partnercentral-selling``: Announcing AWS Partner Central API for Selling: This service launch Introduces new APIs for co-selling opportunity management and related functions. Key features include notifications, a dynamic sandbox for testing, and streamlined validations. +* api-change:``quicksight``: This release adds APIs for Custom Permissions management in QuickSight, and APIs to support QuickSight Branding. +* api-change:``redshift``: Adds support for Amazon Redshift S3AccessGrants +* api-change:``s3``: This release updates the ListBuckets API Reference documentation in support of the new 10,000 general purpose bucket default quota on all AWS accounts. To increase your bucket quota from 10,000 to up to 1 million buckets, simply request a quota increase via Service Quotas. +* api-change:``sagemaker``: Add support for Neuron instance types [ trn1/trn1n/inf2 ] on SageMaker Notebook Instances Platform. +* api-change:``sts``: This release introduces the new API 'AssumeRoot', which returns short-term credentials that you can use to perform privileged tasks. + + 1.36.1 ====== diff --git a/awscli/__init__.py b/awscli/__init__.py index f3328906256f..d37b4235138b 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.36.1' +__version__ = '1.36.2' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index f2dc96f85bc9..c477ab59a5d7 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.36' # The full version, including alpha/beta/rc tags. -release = '1.36.1' +release = '1.36.2' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 26a970439377..0875886aa40f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.60 + botocore==1.35.61 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 12b85ccf7c71..cb9afbf2dae0 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.60', + 'botocore==1.35.61', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 9ee94e412684119d6bd4dbf20a896eec72449206 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 15 Nov 2024 01:53:07 +0000 Subject: [PATCH 0300/1087] Update changelog based on model updates --- .../next-release/api-change-partnercentralselling-89875.json | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changes/next-release/api-change-partnercentralselling-89875.json diff --git a/.changes/next-release/api-change-partnercentralselling-89875.json b/.changes/next-release/api-change-partnercentralselling-89875.json new file mode 100644 index 000000000000..7eaa06a676ac --- /dev/null +++ b/.changes/next-release/api-change-partnercentralselling-89875.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``partnercentral-selling``", + "description": "Announcing AWS Partner Central API for Selling: This service launch Introduces new APIs for co-selling opportunity management and related functions. Key features include notifications, a dynamic sandbox for testing, and streamlined validations." +} From f840850f14a79fdbdb967aaadc7ded35acdd17e8 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 15 Nov 2024 01:54:16 +0000 Subject: [PATCH 0301/1087] Bumping version to 1.36.3 --- .changes/1.36.3.json | 7 +++++++ .../api-change-partnercentralselling-89875.json | 5 ----- CHANGELOG.rst | 6 ++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 7 files changed, 17 insertions(+), 9 deletions(-) create mode 100644 .changes/1.36.3.json delete mode 100644 .changes/next-release/api-change-partnercentralselling-89875.json diff --git a/.changes/1.36.3.json b/.changes/1.36.3.json new file mode 100644 index 000000000000..148fc5a18c47 --- /dev/null +++ b/.changes/1.36.3.json @@ -0,0 +1,7 @@ +[ + { + "category": "``partnercentral-selling``", + "description": "Announcing AWS Partner Central API for Selling: This service launch Introduces new APIs for co-selling opportunity management and related functions. Key features include notifications, a dynamic sandbox for testing, and streamlined validations.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-partnercentralselling-89875.json b/.changes/next-release/api-change-partnercentralselling-89875.json deleted file mode 100644 index 7eaa06a676ac..000000000000 --- a/.changes/next-release/api-change-partnercentralselling-89875.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``partnercentral-selling``", - "description": "Announcing AWS Partner Central API for Selling: This service launch Introduces new APIs for co-selling opportunity management and related functions. Key features include notifications, a dynamic sandbox for testing, and streamlined validations." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index df4d76a5e408..6f69fc01537d 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,12 @@ CHANGELOG ========= +1.36.3 +====== + +* api-change:``partnercentral-selling``: Announcing AWS Partner Central API for Selling: This service launch Introduces new APIs for co-selling opportunity management and related functions. Key features include notifications, a dynamic sandbox for testing, and streamlined validations. + + 1.36.2 ====== diff --git a/awscli/__init__.py b/awscli/__init__.py index d37b4235138b..d6a2b28398d2 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.36.2' +__version__ = '1.36.3' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index c477ab59a5d7..ae5d1c6bd903 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.36' # The full version, including alpha/beta/rc tags. -release = '1.36.2' +release = '1.36.3' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 0875886aa40f..8f50e4e8d446 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.61 + botocore==1.35.62 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index cb9afbf2dae0..7e56f8ce3fea 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.61', + 'botocore==1.35.62', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 785b436bb6cfbb2b11c86c9a43ccdb46f7186c2b Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 15 Nov 2024 19:05:58 +0000 Subject: [PATCH 0302/1087] Update changelog based on model updates --- .changes/next-release/api-change-cloudwatch-58545.json | 5 +++++ .../next-release/api-change-connectcampaignsv2-88062.json | 5 +++++ .changes/next-release/api-change-datasync-38452.json | 5 +++++ .changes/next-release/api-change-ec2-30148.json | 5 +++++ .changes/next-release/api-change-iot-22738.json | 5 +++++ .changes/next-release/api-change-outposts-1459.json | 5 +++++ .../next-release/api-change-pinpointsmsvoicev2-89216.json | 5 +++++ .changes/next-release/api-change-route53resolver-47530.json | 5 +++++ 8 files changed, 40 insertions(+) create mode 100644 .changes/next-release/api-change-cloudwatch-58545.json create mode 100644 .changes/next-release/api-change-connectcampaignsv2-88062.json create mode 100644 .changes/next-release/api-change-datasync-38452.json create mode 100644 .changes/next-release/api-change-ec2-30148.json create mode 100644 .changes/next-release/api-change-iot-22738.json create mode 100644 .changes/next-release/api-change-outposts-1459.json create mode 100644 .changes/next-release/api-change-pinpointsmsvoicev2-89216.json create mode 100644 .changes/next-release/api-change-route53resolver-47530.json diff --git a/.changes/next-release/api-change-cloudwatch-58545.json b/.changes/next-release/api-change-cloudwatch-58545.json new file mode 100644 index 000000000000..5bd29ad38c36 --- /dev/null +++ b/.changes/next-release/api-change-cloudwatch-58545.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``cloudwatch``", + "description": "Adds support for adding related Entity information to metrics ingested through PutMetricData." +} diff --git a/.changes/next-release/api-change-connectcampaignsv2-88062.json b/.changes/next-release/api-change-connectcampaignsv2-88062.json new file mode 100644 index 000000000000..5cf9fd4d1569 --- /dev/null +++ b/.changes/next-release/api-change-connectcampaignsv2-88062.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``connectcampaignsv2``", + "description": "Added Amazon Connect Outbound Campaigns V2 SDK." +} diff --git a/.changes/next-release/api-change-datasync-38452.json b/.changes/next-release/api-change-datasync-38452.json new file mode 100644 index 000000000000..0cc5173fbf9f --- /dev/null +++ b/.changes/next-release/api-change-datasync-38452.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``datasync``", + "description": "Doc-only updates and enhancements related to creating DataSync tasks and describing task executions." +} diff --git a/.changes/next-release/api-change-ec2-30148.json b/.changes/next-release/api-change-ec2-30148.json new file mode 100644 index 000000000000..d0387efc9784 --- /dev/null +++ b/.changes/next-release/api-change-ec2-30148.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ec2``", + "description": "Remove non-functional enum variants for FleetCapacityReservationUsageStrategy" +} diff --git a/.changes/next-release/api-change-iot-22738.json b/.changes/next-release/api-change-iot-22738.json new file mode 100644 index 000000000000..8265bce33b9f --- /dev/null +++ b/.changes/next-release/api-change-iot-22738.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``iot``", + "description": "This release allows AWS IoT Core users to enrich MQTT messages with propagating attributes, to associate a thing to a connection, and to enable Online Certificate Status Protocol (OCSP) stapling for TLS X.509 server certificates through private endpoints." +} diff --git a/.changes/next-release/api-change-outposts-1459.json b/.changes/next-release/api-change-outposts-1459.json new file mode 100644 index 000000000000..9372eb081b86 --- /dev/null +++ b/.changes/next-release/api-change-outposts-1459.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``outposts``", + "description": "You can now purchase AWS Outposts rack or server capacity for a 5-year term with one of the following payment options: All Upfront, Partial Upfront, and No Upfront." +} diff --git a/.changes/next-release/api-change-pinpointsmsvoicev2-89216.json b/.changes/next-release/api-change-pinpointsmsvoicev2-89216.json new file mode 100644 index 000000000000..069015251818 --- /dev/null +++ b/.changes/next-release/api-change-pinpointsmsvoicev2-89216.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``pinpoint-sms-voice-v2``", + "description": "Use rule overrides to always allow or always block messages to specific phone numbers. Use message feedback to monitor if a customer interacts with your message." +} diff --git a/.changes/next-release/api-change-route53resolver-47530.json b/.changes/next-release/api-change-route53resolver-47530.json new file mode 100644 index 000000000000..12c045736e0a --- /dev/null +++ b/.changes/next-release/api-change-route53resolver-47530.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``route53resolver``", + "description": "Route 53 Resolver DNS Firewall Advanced Rules allows you to monitor and block suspicious DNS traffic based on anomalies detected in the queries, such as DNS tunneling and Domain Generation Algorithms (DGAs)." +} From 596487f7732b3ce401390141c976f53d1992dd96 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 15 Nov 2024 19:07:13 +0000 Subject: [PATCH 0303/1087] Bumping version to 1.36.4 --- .changes/1.36.4.json | 42 +++++++++++++++++++ .../api-change-cloudwatch-58545.json | 5 --- .../api-change-connectcampaignsv2-88062.json | 5 --- .../api-change-datasync-38452.json | 5 --- .../next-release/api-change-ec2-30148.json | 5 --- .../next-release/api-change-iot-22738.json | 5 --- .../api-change-outposts-1459.json | 5 --- .../api-change-pinpointsmsvoicev2-89216.json | 5 --- .../api-change-route53resolver-47530.json | 5 --- CHANGELOG.rst | 13 ++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 14 files changed, 59 insertions(+), 44 deletions(-) create mode 100644 .changes/1.36.4.json delete mode 100644 .changes/next-release/api-change-cloudwatch-58545.json delete mode 100644 .changes/next-release/api-change-connectcampaignsv2-88062.json delete mode 100644 .changes/next-release/api-change-datasync-38452.json delete mode 100644 .changes/next-release/api-change-ec2-30148.json delete mode 100644 .changes/next-release/api-change-iot-22738.json delete mode 100644 .changes/next-release/api-change-outposts-1459.json delete mode 100644 .changes/next-release/api-change-pinpointsmsvoicev2-89216.json delete mode 100644 .changes/next-release/api-change-route53resolver-47530.json diff --git a/.changes/1.36.4.json b/.changes/1.36.4.json new file mode 100644 index 000000000000..70b58aaa73c2 --- /dev/null +++ b/.changes/1.36.4.json @@ -0,0 +1,42 @@ +[ + { + "category": "``cloudwatch``", + "description": "Adds support for adding related Entity information to metrics ingested through PutMetricData.", + "type": "api-change" + }, + { + "category": "``connectcampaignsv2``", + "description": "Added Amazon Connect Outbound Campaigns V2 SDK.", + "type": "api-change" + }, + { + "category": "``datasync``", + "description": "Doc-only updates and enhancements related to creating DataSync tasks and describing task executions.", + "type": "api-change" + }, + { + "category": "``ec2``", + "description": "Remove non-functional enum variants for FleetCapacityReservationUsageStrategy", + "type": "api-change" + }, + { + "category": "``iot``", + "description": "This release allows AWS IoT Core users to enrich MQTT messages with propagating attributes, to associate a thing to a connection, and to enable Online Certificate Status Protocol (OCSP) stapling for TLS X.509 server certificates through private endpoints.", + "type": "api-change" + }, + { + "category": "``outposts``", + "description": "You can now purchase AWS Outposts rack or server capacity for a 5-year term with one of the following payment options: All Upfront, Partial Upfront, and No Upfront.", + "type": "api-change" + }, + { + "category": "``pinpoint-sms-voice-v2``", + "description": "Use rule overrides to always allow or always block messages to specific phone numbers. Use message feedback to monitor if a customer interacts with your message.", + "type": "api-change" + }, + { + "category": "``route53resolver``", + "description": "Route 53 Resolver DNS Firewall Advanced Rules allows you to monitor and block suspicious DNS traffic based on anomalies detected in the queries, such as DNS tunneling and Domain Generation Algorithms (DGAs).", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-cloudwatch-58545.json b/.changes/next-release/api-change-cloudwatch-58545.json deleted file mode 100644 index 5bd29ad38c36..000000000000 --- a/.changes/next-release/api-change-cloudwatch-58545.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``cloudwatch``", - "description": "Adds support for adding related Entity information to metrics ingested through PutMetricData." -} diff --git a/.changes/next-release/api-change-connectcampaignsv2-88062.json b/.changes/next-release/api-change-connectcampaignsv2-88062.json deleted file mode 100644 index 5cf9fd4d1569..000000000000 --- a/.changes/next-release/api-change-connectcampaignsv2-88062.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``connectcampaignsv2``", - "description": "Added Amazon Connect Outbound Campaigns V2 SDK." -} diff --git a/.changes/next-release/api-change-datasync-38452.json b/.changes/next-release/api-change-datasync-38452.json deleted file mode 100644 index 0cc5173fbf9f..000000000000 --- a/.changes/next-release/api-change-datasync-38452.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``datasync``", - "description": "Doc-only updates and enhancements related to creating DataSync tasks and describing task executions." -} diff --git a/.changes/next-release/api-change-ec2-30148.json b/.changes/next-release/api-change-ec2-30148.json deleted file mode 100644 index d0387efc9784..000000000000 --- a/.changes/next-release/api-change-ec2-30148.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ec2``", - "description": "Remove non-functional enum variants for FleetCapacityReservationUsageStrategy" -} diff --git a/.changes/next-release/api-change-iot-22738.json b/.changes/next-release/api-change-iot-22738.json deleted file mode 100644 index 8265bce33b9f..000000000000 --- a/.changes/next-release/api-change-iot-22738.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``iot``", - "description": "This release allows AWS IoT Core users to enrich MQTT messages with propagating attributes, to associate a thing to a connection, and to enable Online Certificate Status Protocol (OCSP) stapling for TLS X.509 server certificates through private endpoints." -} diff --git a/.changes/next-release/api-change-outposts-1459.json b/.changes/next-release/api-change-outposts-1459.json deleted file mode 100644 index 9372eb081b86..000000000000 --- a/.changes/next-release/api-change-outposts-1459.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``outposts``", - "description": "You can now purchase AWS Outposts rack or server capacity for a 5-year term with one of the following payment options: All Upfront, Partial Upfront, and No Upfront." -} diff --git a/.changes/next-release/api-change-pinpointsmsvoicev2-89216.json b/.changes/next-release/api-change-pinpointsmsvoicev2-89216.json deleted file mode 100644 index 069015251818..000000000000 --- a/.changes/next-release/api-change-pinpointsmsvoicev2-89216.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``pinpoint-sms-voice-v2``", - "description": "Use rule overrides to always allow or always block messages to specific phone numbers. Use message feedback to monitor if a customer interacts with your message." -} diff --git a/.changes/next-release/api-change-route53resolver-47530.json b/.changes/next-release/api-change-route53resolver-47530.json deleted file mode 100644 index 12c045736e0a..000000000000 --- a/.changes/next-release/api-change-route53resolver-47530.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``route53resolver``", - "description": "Route 53 Resolver DNS Firewall Advanced Rules allows you to monitor and block suspicious DNS traffic based on anomalies detected in the queries, such as DNS tunneling and Domain Generation Algorithms (DGAs)." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 6f69fc01537d..d394500b8302 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,19 @@ CHANGELOG ========= +1.36.4 +====== + +* api-change:``cloudwatch``: Adds support for adding related Entity information to metrics ingested through PutMetricData. +* api-change:``connectcampaignsv2``: Added Amazon Connect Outbound Campaigns V2 SDK. +* api-change:``datasync``: Doc-only updates and enhancements related to creating DataSync tasks and describing task executions. +* api-change:``ec2``: Remove non-functional enum variants for FleetCapacityReservationUsageStrategy +* api-change:``iot``: This release allows AWS IoT Core users to enrich MQTT messages with propagating attributes, to associate a thing to a connection, and to enable Online Certificate Status Protocol (OCSP) stapling for TLS X.509 server certificates through private endpoints. +* api-change:``outposts``: You can now purchase AWS Outposts rack or server capacity for a 5-year term with one of the following payment options: All Upfront, Partial Upfront, and No Upfront. +* api-change:``pinpoint-sms-voice-v2``: Use rule overrides to always allow or always block messages to specific phone numbers. Use message feedback to monitor if a customer interacts with your message. +* api-change:``route53resolver``: Route 53 Resolver DNS Firewall Advanced Rules allows you to monitor and block suspicious DNS traffic based on anomalies detected in the queries, such as DNS tunneling and Domain Generation Algorithms (DGAs). + + 1.36.3 ====== diff --git a/awscli/__init__.py b/awscli/__init__.py index d6a2b28398d2..4466549cdaed 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.36.3' +__version__ = '1.36.4' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index ae5d1c6bd903..db3d98114402 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.36' # The full version, including alpha/beta/rc tags. -release = '1.36.3' +release = '1.36.4' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 8f50e4e8d446..227b1ca410b4 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.62 + botocore==1.35.63 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 7e56f8ce3fea..e9632c06d7e7 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.62', + 'botocore==1.35.63', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 37808e2510cb26be0401cc5c05152f35ba728138 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 17 Nov 2024 06:29:59 +0000 Subject: [PATCH 0304/1087] Bump codecov/codecov-action from 4 to 5 Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4 to 5. - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/codecov/codecov-action/compare/v4...v5) --- updated-dependencies: - dependency-name: codecov/codecov-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/run-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 9af00a833c7d..de97def56012 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -30,6 +30,6 @@ jobs: - name: Run checks run: python scripts/ci/run-check - name: codecov - uses: codecov/codecov-action@v4 + uses: codecov/codecov-action@v5 with: directory: tests From cd754bd01035204252d12bfa2169778ca72f813e Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 18 Nov 2024 19:13:12 +0000 Subject: [PATCH 0305/1087] Merge customizations for IoTSiteWise --- awscli/customizations/removals.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/awscli/customizations/removals.py b/awscli/customizations/removals.py index f7ecd3a7f571..e40aa1827e41 100644 --- a/awscli/customizations/removals.py +++ b/awscli/customizations/removals.py @@ -58,6 +58,8 @@ def register_removals(event_handler): 'invoke-flow']) cmd_remover.remove(on_event='building-command-table.qbusiness', remove_commands=['chat']) + cmd_remover.remove(on_event='building-command-table.iotsitewise', + remove_commands=['invoke-assistant']) class CommandRemover(object): From b3271e6038d35834dca9d78fefaebe780fe2efd5 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 18 Nov 2024 19:13:19 +0000 Subject: [PATCH 0306/1087] Update changelog based on model updates --- .changes/next-release/api-change-appconfig-65853.json | 5 +++++ .changes/next-release/api-change-autoscaling-30637.json | 5 +++++ .changes/next-release/api-change-cloudformation-48844.json | 5 +++++ .changes/next-release/api-change-connect-63453.json | 5 +++++ .changes/next-release/api-change-customerprofiles-23550.json | 5 +++++ .changes/next-release/api-change-ec2-95730.json | 5 +++++ .changes/next-release/api-change-ecs-43272.json | 5 +++++ .changes/next-release/api-change-iotsitewise-1567.json | 5 +++++ .changes/next-release/api-change-qconnect-17987.json | 5 +++++ .changes/next-release/api-change-rds-90924.json | 5 +++++ .changes/next-release/api-change-rdsdata-47347.json | 5 +++++ 11 files changed, 55 insertions(+) create mode 100644 .changes/next-release/api-change-appconfig-65853.json create mode 100644 .changes/next-release/api-change-autoscaling-30637.json create mode 100644 .changes/next-release/api-change-cloudformation-48844.json create mode 100644 .changes/next-release/api-change-connect-63453.json create mode 100644 .changes/next-release/api-change-customerprofiles-23550.json create mode 100644 .changes/next-release/api-change-ec2-95730.json create mode 100644 .changes/next-release/api-change-ecs-43272.json create mode 100644 .changes/next-release/api-change-iotsitewise-1567.json create mode 100644 .changes/next-release/api-change-qconnect-17987.json create mode 100644 .changes/next-release/api-change-rds-90924.json create mode 100644 .changes/next-release/api-change-rdsdata-47347.json diff --git a/.changes/next-release/api-change-appconfig-65853.json b/.changes/next-release/api-change-appconfig-65853.json new file mode 100644 index 000000000000..3d10cebb36e7 --- /dev/null +++ b/.changes/next-release/api-change-appconfig-65853.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``appconfig``", + "description": "AWS AppConfig has added a new extension action point, AT_DEPLOYMENT_TICK, to support third-party monitors to trigger an automatic rollback during a deployment." +} diff --git a/.changes/next-release/api-change-autoscaling-30637.json b/.changes/next-release/api-change-autoscaling-30637.json new file mode 100644 index 000000000000..933380b30e94 --- /dev/null +++ b/.changes/next-release/api-change-autoscaling-30637.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``autoscaling``", + "description": "Amazon EC2 Auto Scaling now supports Amazon Application Recovery Controller (ARC) zonal shift and zonal autoshift to help you quickly recover an impaired application from failures in an Availability Zone (AZ)." +} diff --git a/.changes/next-release/api-change-cloudformation-48844.json b/.changes/next-release/api-change-cloudformation-48844.json new file mode 100644 index 000000000000..ec7b549b5f95 --- /dev/null +++ b/.changes/next-release/api-change-cloudformation-48844.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``cloudformation``", + "description": "This release adds a new API, ListHookResults, that allows retrieving CloudFormation Hooks invocation results for hooks invoked during a create change set operation or Cloud Control API operation" +} diff --git a/.changes/next-release/api-change-connect-63453.json b/.changes/next-release/api-change-connect-63453.json new file mode 100644 index 000000000000..54c60cf6f122 --- /dev/null +++ b/.changes/next-release/api-change-connect-63453.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``connect``", + "description": "Adds CreateContactFlowVersion and ListContactFlowVersions APIs to create and view the versions of a contact flow." +} diff --git a/.changes/next-release/api-change-customerprofiles-23550.json b/.changes/next-release/api-change-customerprofiles-23550.json new file mode 100644 index 000000000000..b5dd6c42fbda --- /dev/null +++ b/.changes/next-release/api-change-customerprofiles-23550.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``customer-profiles``", + "description": "This release introduces Segmentation APIs and new Calculated Attribute Event Filters as part of Amazon Connect Customer Profiles service." +} diff --git a/.changes/next-release/api-change-ec2-95730.json b/.changes/next-release/api-change-ec2-95730.json new file mode 100644 index 000000000000..72ec5dc9c866 --- /dev/null +++ b/.changes/next-release/api-change-ec2-95730.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ec2``", + "description": "Adding request and response elements for managed resources." +} diff --git a/.changes/next-release/api-change-ecs-43272.json b/.changes/next-release/api-change-ecs-43272.json new file mode 100644 index 000000000000..3e77e6f61cc6 --- /dev/null +++ b/.changes/next-release/api-change-ecs-43272.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ecs``", + "description": "This release adds support for adding VPC Lattice configurations in ECS CreateService/UpdateService APIs. The configuration allows for associating VPC Lattice target groups with ECS Services." +} diff --git a/.changes/next-release/api-change-iotsitewise-1567.json b/.changes/next-release/api-change-iotsitewise-1567.json new file mode 100644 index 000000000000..c575a2663225 --- /dev/null +++ b/.changes/next-release/api-change-iotsitewise-1567.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``iotsitewise``", + "description": "The release introduces a generative AI Assistant in AWS IoT SiteWise. It includes: 1) InvokeAssistant API - Invoke the Assistant to get alarm summaries and ask questions. 2) Dataset APIs - Manage knowledge base configuration for the Assistant. 3) Portal APIs enhancement - Manage AI-aware dashboards." +} diff --git a/.changes/next-release/api-change-qconnect-17987.json b/.changes/next-release/api-change-qconnect-17987.json new file mode 100644 index 000000000000..dec0732939aa --- /dev/null +++ b/.changes/next-release/api-change-qconnect-17987.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``qconnect``", + "description": "This release introduces MessageTemplate as a resource in Amazon Q in Connect, along with APIs to create, read, search, update, and delete MessageTemplate resources." +} diff --git a/.changes/next-release/api-change-rds-90924.json b/.changes/next-release/api-change-rds-90924.json new file mode 100644 index 000000000000..811d6b8017ac --- /dev/null +++ b/.changes/next-release/api-change-rds-90924.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``rds``", + "description": "Add support for the automatic pause/resume feature of Aurora Serverless v2." +} diff --git a/.changes/next-release/api-change-rdsdata-47347.json b/.changes/next-release/api-change-rdsdata-47347.json new file mode 100644 index 000000000000..eea092ecdc88 --- /dev/null +++ b/.changes/next-release/api-change-rdsdata-47347.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``rds-data``", + "description": "Add support for the automatic pause/resume feature of Aurora Serverless v2." +} From f065b27b4722768b155d1507b00074670cf65fe5 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 18 Nov 2024 19:14:43 +0000 Subject: [PATCH 0307/1087] Bumping version to 1.36.5 --- .changes/1.36.5.json | 57 +++++++++++++++++++ .../api-change-appconfig-65853.json | 5 -- .../api-change-autoscaling-30637.json | 5 -- .../api-change-cloudformation-48844.json | 5 -- .../api-change-connect-63453.json | 5 -- .../api-change-customerprofiles-23550.json | 5 -- .../next-release/api-change-ec2-95730.json | 5 -- .../next-release/api-change-ecs-43272.json | 5 -- .../api-change-iotsitewise-1567.json | 5 -- .../api-change-qconnect-17987.json | 5 -- .../next-release/api-change-rds-90924.json | 5 -- .../api-change-rdsdata-47347.json | 5 -- CHANGELOG.rst | 16 ++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 17 files changed, 77 insertions(+), 59 deletions(-) create mode 100644 .changes/1.36.5.json delete mode 100644 .changes/next-release/api-change-appconfig-65853.json delete mode 100644 .changes/next-release/api-change-autoscaling-30637.json delete mode 100644 .changes/next-release/api-change-cloudformation-48844.json delete mode 100644 .changes/next-release/api-change-connect-63453.json delete mode 100644 .changes/next-release/api-change-customerprofiles-23550.json delete mode 100644 .changes/next-release/api-change-ec2-95730.json delete mode 100644 .changes/next-release/api-change-ecs-43272.json delete mode 100644 .changes/next-release/api-change-iotsitewise-1567.json delete mode 100644 .changes/next-release/api-change-qconnect-17987.json delete mode 100644 .changes/next-release/api-change-rds-90924.json delete mode 100644 .changes/next-release/api-change-rdsdata-47347.json diff --git a/.changes/1.36.5.json b/.changes/1.36.5.json new file mode 100644 index 000000000000..1a997f87ccac --- /dev/null +++ b/.changes/1.36.5.json @@ -0,0 +1,57 @@ +[ + { + "category": "``appconfig``", + "description": "AWS AppConfig has added a new extension action point, AT_DEPLOYMENT_TICK, to support third-party monitors to trigger an automatic rollback during a deployment.", + "type": "api-change" + }, + { + "category": "``autoscaling``", + "description": "Amazon EC2 Auto Scaling now supports Amazon Application Recovery Controller (ARC) zonal shift and zonal autoshift to help you quickly recover an impaired application from failures in an Availability Zone (AZ).", + "type": "api-change" + }, + { + "category": "``cloudformation``", + "description": "This release adds a new API, ListHookResults, that allows retrieving CloudFormation Hooks invocation results for hooks invoked during a create change set operation or Cloud Control API operation", + "type": "api-change" + }, + { + "category": "``connect``", + "description": "Adds CreateContactFlowVersion and ListContactFlowVersions APIs to create and view the versions of a contact flow.", + "type": "api-change" + }, + { + "category": "``customer-profiles``", + "description": "This release introduces Segmentation APIs and new Calculated Attribute Event Filters as part of Amazon Connect Customer Profiles service.", + "type": "api-change" + }, + { + "category": "``ec2``", + "description": "Adding request and response elements for managed resources.", + "type": "api-change" + }, + { + "category": "``ecs``", + "description": "This release adds support for adding VPC Lattice configurations in ECS CreateService/UpdateService APIs. The configuration allows for associating VPC Lattice target groups with ECS Services.", + "type": "api-change" + }, + { + "category": "``iotsitewise``", + "description": "The release introduces a generative AI Assistant in AWS IoT SiteWise. It includes: 1) InvokeAssistant API - Invoke the Assistant to get alarm summaries and ask questions. 2) Dataset APIs - Manage knowledge base configuration for the Assistant. 3) Portal APIs enhancement - Manage AI-aware dashboards.", + "type": "api-change" + }, + { + "category": "``qconnect``", + "description": "This release introduces MessageTemplate as a resource in Amazon Q in Connect, along with APIs to create, read, search, update, and delete MessageTemplate resources.", + "type": "api-change" + }, + { + "category": "``rds``", + "description": "Add support for the automatic pause/resume feature of Aurora Serverless v2.", + "type": "api-change" + }, + { + "category": "``rds-data``", + "description": "Add support for the automatic pause/resume feature of Aurora Serverless v2.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-appconfig-65853.json b/.changes/next-release/api-change-appconfig-65853.json deleted file mode 100644 index 3d10cebb36e7..000000000000 --- a/.changes/next-release/api-change-appconfig-65853.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``appconfig``", - "description": "AWS AppConfig has added a new extension action point, AT_DEPLOYMENT_TICK, to support third-party monitors to trigger an automatic rollback during a deployment." -} diff --git a/.changes/next-release/api-change-autoscaling-30637.json b/.changes/next-release/api-change-autoscaling-30637.json deleted file mode 100644 index 933380b30e94..000000000000 --- a/.changes/next-release/api-change-autoscaling-30637.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``autoscaling``", - "description": "Amazon EC2 Auto Scaling now supports Amazon Application Recovery Controller (ARC) zonal shift and zonal autoshift to help you quickly recover an impaired application from failures in an Availability Zone (AZ)." -} diff --git a/.changes/next-release/api-change-cloudformation-48844.json b/.changes/next-release/api-change-cloudformation-48844.json deleted file mode 100644 index ec7b549b5f95..000000000000 --- a/.changes/next-release/api-change-cloudformation-48844.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``cloudformation``", - "description": "This release adds a new API, ListHookResults, that allows retrieving CloudFormation Hooks invocation results for hooks invoked during a create change set operation or Cloud Control API operation" -} diff --git a/.changes/next-release/api-change-connect-63453.json b/.changes/next-release/api-change-connect-63453.json deleted file mode 100644 index 54c60cf6f122..000000000000 --- a/.changes/next-release/api-change-connect-63453.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``connect``", - "description": "Adds CreateContactFlowVersion and ListContactFlowVersions APIs to create and view the versions of a contact flow." -} diff --git a/.changes/next-release/api-change-customerprofiles-23550.json b/.changes/next-release/api-change-customerprofiles-23550.json deleted file mode 100644 index b5dd6c42fbda..000000000000 --- a/.changes/next-release/api-change-customerprofiles-23550.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``customer-profiles``", - "description": "This release introduces Segmentation APIs and new Calculated Attribute Event Filters as part of Amazon Connect Customer Profiles service." -} diff --git a/.changes/next-release/api-change-ec2-95730.json b/.changes/next-release/api-change-ec2-95730.json deleted file mode 100644 index 72ec5dc9c866..000000000000 --- a/.changes/next-release/api-change-ec2-95730.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ec2``", - "description": "Adding request and response elements for managed resources." -} diff --git a/.changes/next-release/api-change-ecs-43272.json b/.changes/next-release/api-change-ecs-43272.json deleted file mode 100644 index 3e77e6f61cc6..000000000000 --- a/.changes/next-release/api-change-ecs-43272.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ecs``", - "description": "This release adds support for adding VPC Lattice configurations in ECS CreateService/UpdateService APIs. The configuration allows for associating VPC Lattice target groups with ECS Services." -} diff --git a/.changes/next-release/api-change-iotsitewise-1567.json b/.changes/next-release/api-change-iotsitewise-1567.json deleted file mode 100644 index c575a2663225..000000000000 --- a/.changes/next-release/api-change-iotsitewise-1567.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``iotsitewise``", - "description": "The release introduces a generative AI Assistant in AWS IoT SiteWise. It includes: 1) InvokeAssistant API - Invoke the Assistant to get alarm summaries and ask questions. 2) Dataset APIs - Manage knowledge base configuration for the Assistant. 3) Portal APIs enhancement - Manage AI-aware dashboards." -} diff --git a/.changes/next-release/api-change-qconnect-17987.json b/.changes/next-release/api-change-qconnect-17987.json deleted file mode 100644 index dec0732939aa..000000000000 --- a/.changes/next-release/api-change-qconnect-17987.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``qconnect``", - "description": "This release introduces MessageTemplate as a resource in Amazon Q in Connect, along with APIs to create, read, search, update, and delete MessageTemplate resources." -} diff --git a/.changes/next-release/api-change-rds-90924.json b/.changes/next-release/api-change-rds-90924.json deleted file mode 100644 index 811d6b8017ac..000000000000 --- a/.changes/next-release/api-change-rds-90924.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``rds``", - "description": "Add support for the automatic pause/resume feature of Aurora Serverless v2." -} diff --git a/.changes/next-release/api-change-rdsdata-47347.json b/.changes/next-release/api-change-rdsdata-47347.json deleted file mode 100644 index eea092ecdc88..000000000000 --- a/.changes/next-release/api-change-rdsdata-47347.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``rds-data``", - "description": "Add support for the automatic pause/resume feature of Aurora Serverless v2." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index d394500b8302..e93a8c1583fd 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,22 @@ CHANGELOG ========= +1.36.5 +====== + +* api-change:``appconfig``: AWS AppConfig has added a new extension action point, AT_DEPLOYMENT_TICK, to support third-party monitors to trigger an automatic rollback during a deployment. +* api-change:``autoscaling``: Amazon EC2 Auto Scaling now supports Amazon Application Recovery Controller (ARC) zonal shift and zonal autoshift to help you quickly recover an impaired application from failures in an Availability Zone (AZ). +* api-change:``cloudformation``: This release adds a new API, ListHookResults, that allows retrieving CloudFormation Hooks invocation results for hooks invoked during a create change set operation or Cloud Control API operation +* api-change:``connect``: Adds CreateContactFlowVersion and ListContactFlowVersions APIs to create and view the versions of a contact flow. +* api-change:``customer-profiles``: This release introduces Segmentation APIs and new Calculated Attribute Event Filters as part of Amazon Connect Customer Profiles service. +* api-change:``ec2``: Adding request and response elements for managed resources. +* api-change:``ecs``: This release adds support for adding VPC Lattice configurations in ECS CreateService/UpdateService APIs. The configuration allows for associating VPC Lattice target groups with ECS Services. +* api-change:``iotsitewise``: The release introduces a generative AI Assistant in AWS IoT SiteWise. It includes: 1) InvokeAssistant API - Invoke the Assistant to get alarm summaries and ask questions. 2) Dataset APIs - Manage knowledge base configuration for the Assistant. 3) Portal APIs enhancement - Manage AI-aware dashboards. +* api-change:``qconnect``: This release introduces MessageTemplate as a resource in Amazon Q in Connect, along with APIs to create, read, search, update, and delete MessageTemplate resources. +* api-change:``rds``: Add support for the automatic pause/resume feature of Aurora Serverless v2. +* api-change:``rds-data``: Add support for the automatic pause/resume feature of Aurora Serverless v2. + + 1.36.4 ====== diff --git a/awscli/__init__.py b/awscli/__init__.py index 4466549cdaed..08c9d41dd078 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.36.4' +__version__ = '1.36.5' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index db3d98114402..d41095714638 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.36' # The full version, including alpha/beta/rc tags. -release = '1.36.4' +release = '1.36.5' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 227b1ca410b4..8f2e7e477361 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.63 + botocore==1.35.64 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index e9632c06d7e7..011e890e4ee5 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.63', + 'botocore==1.35.64', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 1df411cdeef43ff40dedfbdb5a1dbddcc37ca03e Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 19 Nov 2024 20:28:41 +0000 Subject: [PATCH 0308/1087] Update changelog based on model updates --- .changes/next-release/api-change-b2bi-32552.json | 5 +++++ .changes/next-release/api-change-ec2-47811.json | 5 +++++ .changes/next-release/api-change-ecs-36711.json | 5 +++++ .changes/next-release/api-change-efs-36256.json | 5 +++++ .changes/next-release/api-change-glue-35438.json | 5 +++++ .changes/next-release/api-change-keyspaces-10421.json | 5 +++++ .changes/next-release/api-change-mwaa-58078.json | 5 +++++ .changes/next-release/api-change-taxsettings-13190.json | 5 +++++ .changes/next-release/api-change-workspaces-81836.json | 5 +++++ 9 files changed, 45 insertions(+) create mode 100644 .changes/next-release/api-change-b2bi-32552.json create mode 100644 .changes/next-release/api-change-ec2-47811.json create mode 100644 .changes/next-release/api-change-ecs-36711.json create mode 100644 .changes/next-release/api-change-efs-36256.json create mode 100644 .changes/next-release/api-change-glue-35438.json create mode 100644 .changes/next-release/api-change-keyspaces-10421.json create mode 100644 .changes/next-release/api-change-mwaa-58078.json create mode 100644 .changes/next-release/api-change-taxsettings-13190.json create mode 100644 .changes/next-release/api-change-workspaces-81836.json diff --git a/.changes/next-release/api-change-b2bi-32552.json b/.changes/next-release/api-change-b2bi-32552.json new file mode 100644 index 000000000000..abb70b6c9f91 --- /dev/null +++ b/.changes/next-release/api-change-b2bi-32552.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``b2bi``", + "description": "Add new X12 transactions sets and versions" +} diff --git a/.changes/next-release/api-change-ec2-47811.json b/.changes/next-release/api-change-ec2-47811.json new file mode 100644 index 000000000000..2598a5fc2838 --- /dev/null +++ b/.changes/next-release/api-change-ec2-47811.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ec2``", + "description": "This release adds VPC Block Public Access (VPC BPA), a new declarative control which blocks resources in VPCs and subnets that you own in a Region from reaching or being reached from the internet through internet gateways and egress-only internet gateways." +} diff --git a/.changes/next-release/api-change-ecs-36711.json b/.changes/next-release/api-change-ecs-36711.json new file mode 100644 index 000000000000..384d7ec1cae5 --- /dev/null +++ b/.changes/next-release/api-change-ecs-36711.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ecs``", + "description": "This release introduces support for configuring the version consistency feature for individual containers defined within a task definition. The configuration allows to specify whether ECS should resolve the container image tag specified in the container definition to an image digest." +} diff --git a/.changes/next-release/api-change-efs-36256.json b/.changes/next-release/api-change-efs-36256.json new file mode 100644 index 000000000000..8d6fb9d9e1f1 --- /dev/null +++ b/.changes/next-release/api-change-efs-36256.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``efs``", + "description": "Add support for the new parameters in EFS replication APIs" +} diff --git a/.changes/next-release/api-change-glue-35438.json b/.changes/next-release/api-change-glue-35438.json new file mode 100644 index 000000000000..c6c2f4fa46fc --- /dev/null +++ b/.changes/next-release/api-change-glue-35438.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``glue``", + "description": "AWS Glue Data Catalog now enhances managed table optimizations of Apache Iceberg tables that can be accessed only from a specific Amazon Virtual Private Cloud (VPC) environment." +} diff --git a/.changes/next-release/api-change-keyspaces-10421.json b/.changes/next-release/api-change-keyspaces-10421.json new file mode 100644 index 000000000000..7004b7458a82 --- /dev/null +++ b/.changes/next-release/api-change-keyspaces-10421.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``keyspaces``", + "description": "Amazon Keyspaces Multi-Region Replication: Adds support to add new regions to multi and single-region keyspaces." +} diff --git a/.changes/next-release/api-change-mwaa-58078.json b/.changes/next-release/api-change-mwaa-58078.json new file mode 100644 index 000000000000..19e2d4d04e43 --- /dev/null +++ b/.changes/next-release/api-change-mwaa-58078.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``mwaa``", + "description": "Amazon MWAA now supports a new environment class, mw1.micro, ideal for workloads requiring fewer resources than mw1.small. This class supports a single instance of each Airflow component: Scheduler, Worker, and Webserver." +} diff --git a/.changes/next-release/api-change-taxsettings-13190.json b/.changes/next-release/api-change-taxsettings-13190.json new file mode 100644 index 000000000000..6fe6f43e159e --- /dev/null +++ b/.changes/next-release/api-change-taxsettings-13190.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``taxsettings``", + "description": "Release Tax Inheritance APIs, Tax Exemption APIs, and functionality update for some existing Tax Registration APIs" +} diff --git a/.changes/next-release/api-change-workspaces-81836.json b/.changes/next-release/api-change-workspaces-81836.json new file mode 100644 index 000000000000..2906a07af114 --- /dev/null +++ b/.changes/next-release/api-change-workspaces-81836.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``workspaces``", + "description": "Releasing new ErrorCodes for Image Validation failure during CreateWorkspaceImage process" +} From d9d0e093b8d95a4f2b40f7439e155e9d74a4f4db Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 19 Nov 2024 20:30:04 +0000 Subject: [PATCH 0309/1087] Bumping version to 1.36.6 --- .changes/1.36.6.json | 47 +++++++++++++++++++ .../next-release/api-change-b2bi-32552.json | 5 -- .../next-release/api-change-ec2-47811.json | 5 -- .../next-release/api-change-ecs-36711.json | 5 -- .../next-release/api-change-efs-36256.json | 5 -- .../next-release/api-change-glue-35438.json | 5 -- .../api-change-keyspaces-10421.json | 5 -- .../next-release/api-change-mwaa-58078.json | 5 -- .../api-change-taxsettings-13190.json | 5 -- .../api-change-workspaces-81836.json | 5 -- CHANGELOG.rst | 14 ++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 15 files changed, 65 insertions(+), 49 deletions(-) create mode 100644 .changes/1.36.6.json delete mode 100644 .changes/next-release/api-change-b2bi-32552.json delete mode 100644 .changes/next-release/api-change-ec2-47811.json delete mode 100644 .changes/next-release/api-change-ecs-36711.json delete mode 100644 .changes/next-release/api-change-efs-36256.json delete mode 100644 .changes/next-release/api-change-glue-35438.json delete mode 100644 .changes/next-release/api-change-keyspaces-10421.json delete mode 100644 .changes/next-release/api-change-mwaa-58078.json delete mode 100644 .changes/next-release/api-change-taxsettings-13190.json delete mode 100644 .changes/next-release/api-change-workspaces-81836.json diff --git a/.changes/1.36.6.json b/.changes/1.36.6.json new file mode 100644 index 000000000000..eeec8dccb826 --- /dev/null +++ b/.changes/1.36.6.json @@ -0,0 +1,47 @@ +[ + { + "category": "``b2bi``", + "description": "Add new X12 transactions sets and versions", + "type": "api-change" + }, + { + "category": "``ec2``", + "description": "This release adds VPC Block Public Access (VPC BPA), a new declarative control which blocks resources in VPCs and subnets that you own in a Region from reaching or being reached from the internet through internet gateways and egress-only internet gateways.", + "type": "api-change" + }, + { + "category": "``ecs``", + "description": "This release introduces support for configuring the version consistency feature for individual containers defined within a task definition. The configuration allows to specify whether ECS should resolve the container image tag specified in the container definition to an image digest.", + "type": "api-change" + }, + { + "category": "``efs``", + "description": "Add support for the new parameters in EFS replication APIs", + "type": "api-change" + }, + { + "category": "``glue``", + "description": "AWS Glue Data Catalog now enhances managed table optimizations of Apache Iceberg tables that can be accessed only from a specific Amazon Virtual Private Cloud (VPC) environment.", + "type": "api-change" + }, + { + "category": "``keyspaces``", + "description": "Amazon Keyspaces Multi-Region Replication: Adds support to add new regions to multi and single-region keyspaces.", + "type": "api-change" + }, + { + "category": "``mwaa``", + "description": "Amazon MWAA now supports a new environment class, mw1.micro, ideal for workloads requiring fewer resources than mw1.small. This class supports a single instance of each Airflow component: Scheduler, Worker, and Webserver.", + "type": "api-change" + }, + { + "category": "``taxsettings``", + "description": "Release Tax Inheritance APIs, Tax Exemption APIs, and functionality update for some existing Tax Registration APIs", + "type": "api-change" + }, + { + "category": "``workspaces``", + "description": "Releasing new ErrorCodes for Image Validation failure during CreateWorkspaceImage process", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-b2bi-32552.json b/.changes/next-release/api-change-b2bi-32552.json deleted file mode 100644 index abb70b6c9f91..000000000000 --- a/.changes/next-release/api-change-b2bi-32552.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``b2bi``", - "description": "Add new X12 transactions sets and versions" -} diff --git a/.changes/next-release/api-change-ec2-47811.json b/.changes/next-release/api-change-ec2-47811.json deleted file mode 100644 index 2598a5fc2838..000000000000 --- a/.changes/next-release/api-change-ec2-47811.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ec2``", - "description": "This release adds VPC Block Public Access (VPC BPA), a new declarative control which blocks resources in VPCs and subnets that you own in a Region from reaching or being reached from the internet through internet gateways and egress-only internet gateways." -} diff --git a/.changes/next-release/api-change-ecs-36711.json b/.changes/next-release/api-change-ecs-36711.json deleted file mode 100644 index 384d7ec1cae5..000000000000 --- a/.changes/next-release/api-change-ecs-36711.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ecs``", - "description": "This release introduces support for configuring the version consistency feature for individual containers defined within a task definition. The configuration allows to specify whether ECS should resolve the container image tag specified in the container definition to an image digest." -} diff --git a/.changes/next-release/api-change-efs-36256.json b/.changes/next-release/api-change-efs-36256.json deleted file mode 100644 index 8d6fb9d9e1f1..000000000000 --- a/.changes/next-release/api-change-efs-36256.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``efs``", - "description": "Add support for the new parameters in EFS replication APIs" -} diff --git a/.changes/next-release/api-change-glue-35438.json b/.changes/next-release/api-change-glue-35438.json deleted file mode 100644 index c6c2f4fa46fc..000000000000 --- a/.changes/next-release/api-change-glue-35438.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``glue``", - "description": "AWS Glue Data Catalog now enhances managed table optimizations of Apache Iceberg tables that can be accessed only from a specific Amazon Virtual Private Cloud (VPC) environment." -} diff --git a/.changes/next-release/api-change-keyspaces-10421.json b/.changes/next-release/api-change-keyspaces-10421.json deleted file mode 100644 index 7004b7458a82..000000000000 --- a/.changes/next-release/api-change-keyspaces-10421.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``keyspaces``", - "description": "Amazon Keyspaces Multi-Region Replication: Adds support to add new regions to multi and single-region keyspaces." -} diff --git a/.changes/next-release/api-change-mwaa-58078.json b/.changes/next-release/api-change-mwaa-58078.json deleted file mode 100644 index 19e2d4d04e43..000000000000 --- a/.changes/next-release/api-change-mwaa-58078.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``mwaa``", - "description": "Amazon MWAA now supports a new environment class, mw1.micro, ideal for workloads requiring fewer resources than mw1.small. This class supports a single instance of each Airflow component: Scheduler, Worker, and Webserver." -} diff --git a/.changes/next-release/api-change-taxsettings-13190.json b/.changes/next-release/api-change-taxsettings-13190.json deleted file mode 100644 index 6fe6f43e159e..000000000000 --- a/.changes/next-release/api-change-taxsettings-13190.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``taxsettings``", - "description": "Release Tax Inheritance APIs, Tax Exemption APIs, and functionality update for some existing Tax Registration APIs" -} diff --git a/.changes/next-release/api-change-workspaces-81836.json b/.changes/next-release/api-change-workspaces-81836.json deleted file mode 100644 index 2906a07af114..000000000000 --- a/.changes/next-release/api-change-workspaces-81836.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``workspaces``", - "description": "Releasing new ErrorCodes for Image Validation failure during CreateWorkspaceImage process" -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index e93a8c1583fd..86c5b5549e34 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,20 @@ CHANGELOG ========= +1.36.6 +====== + +* api-change:``b2bi``: Add new X12 transactions sets and versions +* api-change:``ec2``: This release adds VPC Block Public Access (VPC BPA), a new declarative control which blocks resources in VPCs and subnets that you own in a Region from reaching or being reached from the internet through internet gateways and egress-only internet gateways. +* api-change:``ecs``: This release introduces support for configuring the version consistency feature for individual containers defined within a task definition. The configuration allows to specify whether ECS should resolve the container image tag specified in the container definition to an image digest. +* api-change:``efs``: Add support for the new parameters in EFS replication APIs +* api-change:``glue``: AWS Glue Data Catalog now enhances managed table optimizations of Apache Iceberg tables that can be accessed only from a specific Amazon Virtual Private Cloud (VPC) environment. +* api-change:``keyspaces``: Amazon Keyspaces Multi-Region Replication: Adds support to add new regions to multi and single-region keyspaces. +* api-change:``mwaa``: Amazon MWAA now supports a new environment class, mw1.micro, ideal for workloads requiring fewer resources than mw1.small. This class supports a single instance of each Airflow component: Scheduler, Worker, and Webserver. +* api-change:``taxsettings``: Release Tax Inheritance APIs, Tax Exemption APIs, and functionality update for some existing Tax Registration APIs +* api-change:``workspaces``: Releasing new ErrorCodes for Image Validation failure during CreateWorkspaceImage process + + 1.36.5 ====== diff --git a/awscli/__init__.py b/awscli/__init__.py index 08c9d41dd078..3673fcc1fdcb 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.36.5' +__version__ = '1.36.6' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index d41095714638..c8d9df9ebf59 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.36' # The full version, including alpha/beta/rc tags. -release = '1.36.5' +release = '1.36.6' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 8f2e7e477361..420bd5593d42 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.64 + botocore==1.35.65 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 011e890e4ee5..788dfd7cfbeb 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.64', + 'botocore==1.35.65', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 48776421fc1900fa3147e75a8b4bc07b7aa54339 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 20 Nov 2024 19:05:09 +0000 Subject: [PATCH 0310/1087] Merge customizations for Bedrock Agent Runtime --- awscli/customizations/removals.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/awscli/customizations/removals.py b/awscli/customizations/removals.py index e40aa1827e41..af7894e90c19 100644 --- a/awscli/customizations/removals.py +++ b/awscli/customizations/removals.py @@ -55,7 +55,8 @@ def register_removals(event_handler): 'converse-stream']) cmd_remover.remove(on_event='building-command-table.bedrock-agent-runtime', remove_commands=['invoke-agent', - 'invoke-flow']) + 'invoke-flow', + 'optimize-prompt']) cmd_remover.remove(on_event='building-command-table.qbusiness', remove_commands=['chat']) cmd_remover.remove(on_event='building-command-table.iotsitewise', From 31bedd53941d28027873471f1d213fafa68c461e Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 20 Nov 2024 19:05:16 +0000 Subject: [PATCH 0311/1087] Update changelog based on model updates --- .changes/next-release/api-change-autoscaling-11987.json | 5 +++++ .../next-release/api-change-bedrockagentruntime-76583.json | 5 +++++ .changes/next-release/api-change-cloudfront-74593.json | 5 +++++ .changes/next-release/api-change-computeoptimizer-19536.json | 5 +++++ .changes/next-release/api-change-controltower-54068.json | 5 +++++ .../next-release/api-change-costoptimizationhub-20043.json | 5 +++++ .changes/next-release/api-change-datazone-35575.json | 5 +++++ .changes/next-release/api-change-discovery-29912.json | 5 +++++ .changes/next-release/api-change-ec2-1345.json | 5 +++++ .changes/next-release/api-change-ecs-8178.json | 5 +++++ .changes/next-release/api-change-elbv2-84269.json | 5 +++++ .changes/next-release/api-change-lambda-58871.json | 5 +++++ .changes/next-release/api-change-mediaconvert-27137.json | 5 +++++ .changes/next-release/api-change-mediapackagev2-3929.json | 5 +++++ .changes/next-release/api-change-omics-70156.json | 5 +++++ .changes/next-release/api-change-rbin-94558.json | 5 +++++ .changes/next-release/api-change-rds-47745.json | 5 +++++ .changes/next-release/api-change-timestreamquery-50547.json | 5 +++++ .changes/next-release/api-change-workspaces-59397.json | 5 +++++ .changes/next-release/api-change-workspacesweb-49605.json | 5 +++++ 20 files changed, 100 insertions(+) create mode 100644 .changes/next-release/api-change-autoscaling-11987.json create mode 100644 .changes/next-release/api-change-bedrockagentruntime-76583.json create mode 100644 .changes/next-release/api-change-cloudfront-74593.json create mode 100644 .changes/next-release/api-change-computeoptimizer-19536.json create mode 100644 .changes/next-release/api-change-controltower-54068.json create mode 100644 .changes/next-release/api-change-costoptimizationhub-20043.json create mode 100644 .changes/next-release/api-change-datazone-35575.json create mode 100644 .changes/next-release/api-change-discovery-29912.json create mode 100644 .changes/next-release/api-change-ec2-1345.json create mode 100644 .changes/next-release/api-change-ecs-8178.json create mode 100644 .changes/next-release/api-change-elbv2-84269.json create mode 100644 .changes/next-release/api-change-lambda-58871.json create mode 100644 .changes/next-release/api-change-mediaconvert-27137.json create mode 100644 .changes/next-release/api-change-mediapackagev2-3929.json create mode 100644 .changes/next-release/api-change-omics-70156.json create mode 100644 .changes/next-release/api-change-rbin-94558.json create mode 100644 .changes/next-release/api-change-rds-47745.json create mode 100644 .changes/next-release/api-change-timestreamquery-50547.json create mode 100644 .changes/next-release/api-change-workspaces-59397.json create mode 100644 .changes/next-release/api-change-workspacesweb-49605.json diff --git a/.changes/next-release/api-change-autoscaling-11987.json b/.changes/next-release/api-change-autoscaling-11987.json new file mode 100644 index 000000000000..83f043400684 --- /dev/null +++ b/.changes/next-release/api-change-autoscaling-11987.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``autoscaling``", + "description": "With this release, customers can prioritize launching instances into ODCRs using targets from ASGs or Launch Templates. Customers can express their baseline instances' CPU-performance in attribute-based Instance Requirements configuration by referencing an instance family that meets their needs." +} diff --git a/.changes/next-release/api-change-bedrockagentruntime-76583.json b/.changes/next-release/api-change-bedrockagentruntime-76583.json new file mode 100644 index 000000000000..0febdedb8db8 --- /dev/null +++ b/.changes/next-release/api-change-bedrockagentruntime-76583.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-agent-runtime``", + "description": "Releasing new Prompt Optimization to enhance your prompts for improved performance" +} diff --git a/.changes/next-release/api-change-cloudfront-74593.json b/.changes/next-release/api-change-cloudfront-74593.json new file mode 100644 index 000000000000..aea61bf7504e --- /dev/null +++ b/.changes/next-release/api-change-cloudfront-74593.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``cloudfront``", + "description": "Add support for gRPC, VPC origins, and Anycast IP Lists. Allow LoggingConfig IncludeCookies to be set regardless of whether the LoggingConfig is enabled." +} diff --git a/.changes/next-release/api-change-computeoptimizer-19536.json b/.changes/next-release/api-change-computeoptimizer-19536.json new file mode 100644 index 000000000000..952f09cc3cd1 --- /dev/null +++ b/.changes/next-release/api-change-computeoptimizer-19536.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``compute-optimizer``", + "description": "This release enables AWS Compute Optimizer to analyze and generate optimization recommendations for Amazon Aurora database instances. It also enables Compute Optimizer to identify idle Amazon EC2 instances, Amazon EBS volumes, Amazon ECS services running on Fargate, and Amazon RDS databases." +} diff --git a/.changes/next-release/api-change-controltower-54068.json b/.changes/next-release/api-change-controltower-54068.json new file mode 100644 index 000000000000..3a0063d1bc77 --- /dev/null +++ b/.changes/next-release/api-change-controltower-54068.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``controltower``", + "description": "Adds support for child enabled baselines which allow you to see the enabled baseline status for individual accounts." +} diff --git a/.changes/next-release/api-change-costoptimizationhub-20043.json b/.changes/next-release/api-change-costoptimizationhub-20043.json new file mode 100644 index 000000000000..06201cd86b2d --- /dev/null +++ b/.changes/next-release/api-change-costoptimizationhub-20043.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``cost-optimization-hub``", + "description": "This release adds action type \"Delete\" to the GetRecommendation, ListRecommendations and ListRecommendationSummaries APIs to support new EBS and ECS recommendations with action type \"Delete\"." +} diff --git a/.changes/next-release/api-change-datazone-35575.json b/.changes/next-release/api-change-datazone-35575.json new file mode 100644 index 000000000000..9e8fa7c0bcc2 --- /dev/null +++ b/.changes/next-release/api-change-datazone-35575.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``datazone``", + "description": "This release supports Metadata Enforcement Rule feature for Create Subscription Request action." +} diff --git a/.changes/next-release/api-change-discovery-29912.json b/.changes/next-release/api-change-discovery-29912.json new file mode 100644 index 000000000000..58acb0a8dc0a --- /dev/null +++ b/.changes/next-release/api-change-discovery-29912.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``discovery``", + "description": "Add support to import data from commercially available discovery tools without file manipulation." +} diff --git a/.changes/next-release/api-change-ec2-1345.json b/.changes/next-release/api-change-ec2-1345.json new file mode 100644 index 000000000000..12ff790b1877 --- /dev/null +++ b/.changes/next-release/api-change-ec2-1345.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ec2``", + "description": "With this release, customers can express their desire to launch instances only in an ODCR or ODCR group rather than OnDemand capacity. Customers can express their baseline instances' CPU-performance in attribute-based Instance Requirements configuration by referencing an instance family." +} diff --git a/.changes/next-release/api-change-ecs-8178.json b/.changes/next-release/api-change-ecs-8178.json new file mode 100644 index 000000000000..d38b7af77e33 --- /dev/null +++ b/.changes/next-release/api-change-ecs-8178.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ecs``", + "description": "This release adds support for the Availability Zone rebalancing feature on Amazon ECS." +} diff --git a/.changes/next-release/api-change-elbv2-84269.json b/.changes/next-release/api-change-elbv2-84269.json new file mode 100644 index 000000000000..d9922327298a --- /dev/null +++ b/.changes/next-release/api-change-elbv2-84269.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``elbv2``", + "description": "This release adds support for configuring Load balancer Capacity Unit reservations" +} diff --git a/.changes/next-release/api-change-lambda-58871.json b/.changes/next-release/api-change-lambda-58871.json new file mode 100644 index 000000000000..0042bdf1d121 --- /dev/null +++ b/.changes/next-release/api-change-lambda-58871.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``lambda``", + "description": "Add Node 22.x (node22.x) support to AWS Lambda" +} diff --git a/.changes/next-release/api-change-mediaconvert-27137.json b/.changes/next-release/api-change-mediaconvert-27137.json new file mode 100644 index 000000000000..78ee1a2861f8 --- /dev/null +++ b/.changes/next-release/api-change-mediaconvert-27137.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``mediaconvert``", + "description": "This release adds the ability to reconfigure concurrent job settings for existing queues and create queues with custom concurrent job settings." +} diff --git a/.changes/next-release/api-change-mediapackagev2-3929.json b/.changes/next-release/api-change-mediapackagev2-3929.json new file mode 100644 index 000000000000..929f293973d8 --- /dev/null +++ b/.changes/next-release/api-change-mediapackagev2-3929.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``mediapackagev2``", + "description": "MediaPackage v2 now supports the Media Quality Confidence Score (MQCS) published from MediaLive. Customers can control input switching based on the MQCS and publishing HTTP Headers for the MQCS via the API." +} diff --git a/.changes/next-release/api-change-omics-70156.json b/.changes/next-release/api-change-omics-70156.json new file mode 100644 index 000000000000..34c0af229229 --- /dev/null +++ b/.changes/next-release/api-change-omics-70156.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``omics``", + "description": "Enabling call caching feature that allows customers to reuse previously computed results from a set of completed tasks in a new workflow run." +} diff --git a/.changes/next-release/api-change-rbin-94558.json b/.changes/next-release/api-change-rbin-94558.json new file mode 100644 index 000000000000..93a0c280f443 --- /dev/null +++ b/.changes/next-release/api-change-rbin-94558.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``rbin``", + "description": "This release adds support for exclusion tags for Recycle Bin, which allows you to identify resources that are to be excluded, or ignored, by a Region-level retention rule." +} diff --git a/.changes/next-release/api-change-rds-47745.json b/.changes/next-release/api-change-rds-47745.json new file mode 100644 index 000000000000..cae5f7fd1b43 --- /dev/null +++ b/.changes/next-release/api-change-rds-47745.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``rds``", + "description": "This release adds support for scale storage on the DB instance using a Blue/Green Deployment." +} diff --git a/.changes/next-release/api-change-timestreamquery-50547.json b/.changes/next-release/api-change-timestreamquery-50547.json new file mode 100644 index 000000000000..a22bf6530981 --- /dev/null +++ b/.changes/next-release/api-change-timestreamquery-50547.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``timestream-query``", + "description": "This release adds support for Provisioning Timestream Compute Units (TCUs), a new feature that allows provisioning dedicated compute resources for your queries, providing predictable and cost-effective query performance." +} diff --git a/.changes/next-release/api-change-workspaces-59397.json b/.changes/next-release/api-change-workspaces-59397.json new file mode 100644 index 000000000000..0aa472708cb8 --- /dev/null +++ b/.changes/next-release/api-change-workspaces-59397.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``workspaces``", + "description": "Added support for Rocky Linux 8 on Amazon WorkSpaces Personal." +} diff --git a/.changes/next-release/api-change-workspacesweb-49605.json b/.changes/next-release/api-change-workspacesweb-49605.json new file mode 100644 index 000000000000..52d00d85223d --- /dev/null +++ b/.changes/next-release/api-change-workspacesweb-49605.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``workspaces-web``", + "description": "Added data protection settings with support for inline data redaction." +} From 011d797d28ba86f0583c2bb56fab3a57ffe651cd Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 20 Nov 2024 19:06:42 +0000 Subject: [PATCH 0312/1087] Bumping version to 1.36.7 --- .changes/1.36.7.json | 102 ++++++++++++++++++ .../api-change-autoscaling-11987.json | 5 - .../api-change-bedrockagentruntime-76583.json | 5 - .../api-change-cloudfront-74593.json | 5 - .../api-change-computeoptimizer-19536.json | 5 - .../api-change-controltower-54068.json | 5 - .../api-change-costoptimizationhub-20043.json | 5 - .../api-change-datazone-35575.json | 5 - .../api-change-discovery-29912.json | 5 - .../next-release/api-change-ec2-1345.json | 5 - .../next-release/api-change-ecs-8178.json | 5 - .../next-release/api-change-elbv2-84269.json | 5 - .../next-release/api-change-lambda-58871.json | 5 - .../api-change-mediaconvert-27137.json | 5 - .../api-change-mediapackagev2-3929.json | 5 - .../next-release/api-change-omics-70156.json | 5 - .../next-release/api-change-rbin-94558.json | 5 - .../next-release/api-change-rds-47745.json | 5 - .../api-change-timestreamquery-50547.json | 5 - .../api-change-workspaces-59397.json | 5 - .../api-change-workspacesweb-49605.json | 5 - CHANGELOG.rst | 25 +++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 26 files changed, 131 insertions(+), 104 deletions(-) create mode 100644 .changes/1.36.7.json delete mode 100644 .changes/next-release/api-change-autoscaling-11987.json delete mode 100644 .changes/next-release/api-change-bedrockagentruntime-76583.json delete mode 100644 .changes/next-release/api-change-cloudfront-74593.json delete mode 100644 .changes/next-release/api-change-computeoptimizer-19536.json delete mode 100644 .changes/next-release/api-change-controltower-54068.json delete mode 100644 .changes/next-release/api-change-costoptimizationhub-20043.json delete mode 100644 .changes/next-release/api-change-datazone-35575.json delete mode 100644 .changes/next-release/api-change-discovery-29912.json delete mode 100644 .changes/next-release/api-change-ec2-1345.json delete mode 100644 .changes/next-release/api-change-ecs-8178.json delete mode 100644 .changes/next-release/api-change-elbv2-84269.json delete mode 100644 .changes/next-release/api-change-lambda-58871.json delete mode 100644 .changes/next-release/api-change-mediaconvert-27137.json delete mode 100644 .changes/next-release/api-change-mediapackagev2-3929.json delete mode 100644 .changes/next-release/api-change-omics-70156.json delete mode 100644 .changes/next-release/api-change-rbin-94558.json delete mode 100644 .changes/next-release/api-change-rds-47745.json delete mode 100644 .changes/next-release/api-change-timestreamquery-50547.json delete mode 100644 .changes/next-release/api-change-workspaces-59397.json delete mode 100644 .changes/next-release/api-change-workspacesweb-49605.json diff --git a/.changes/1.36.7.json b/.changes/1.36.7.json new file mode 100644 index 000000000000..855bee29fc28 --- /dev/null +++ b/.changes/1.36.7.json @@ -0,0 +1,102 @@ +[ + { + "category": "``autoscaling``", + "description": "With this release, customers can prioritize launching instances into ODCRs using targets from ASGs or Launch Templates. Customers can express their baseline instances' CPU-performance in attribute-based Instance Requirements configuration by referencing an instance family that meets their needs.", + "type": "api-change" + }, + { + "category": "``bedrock-agent-runtime``", + "description": "Releasing new Prompt Optimization to enhance your prompts for improved performance", + "type": "api-change" + }, + { + "category": "``cloudfront``", + "description": "Add support for gRPC, VPC origins, and Anycast IP Lists. Allow LoggingConfig IncludeCookies to be set regardless of whether the LoggingConfig is enabled.", + "type": "api-change" + }, + { + "category": "``compute-optimizer``", + "description": "This release enables AWS Compute Optimizer to analyze and generate optimization recommendations for Amazon Aurora database instances. It also enables Compute Optimizer to identify idle Amazon EC2 instances, Amazon EBS volumes, Amazon ECS services running on Fargate, and Amazon RDS databases.", + "type": "api-change" + }, + { + "category": "``controltower``", + "description": "Adds support for child enabled baselines which allow you to see the enabled baseline status for individual accounts.", + "type": "api-change" + }, + { + "category": "``cost-optimization-hub``", + "description": "This release adds action type \"Delete\" to the GetRecommendation, ListRecommendations and ListRecommendationSummaries APIs to support new EBS and ECS recommendations with action type \"Delete\".", + "type": "api-change" + }, + { + "category": "``datazone``", + "description": "This release supports Metadata Enforcement Rule feature for Create Subscription Request action.", + "type": "api-change" + }, + { + "category": "``discovery``", + "description": "Add support to import data from commercially available discovery tools without file manipulation.", + "type": "api-change" + }, + { + "category": "``ec2``", + "description": "With this release, customers can express their desire to launch instances only in an ODCR or ODCR group rather than OnDemand capacity. Customers can express their baseline instances' CPU-performance in attribute-based Instance Requirements configuration by referencing an instance family.", + "type": "api-change" + }, + { + "category": "``ecs``", + "description": "This release adds support for the Availability Zone rebalancing feature on Amazon ECS.", + "type": "api-change" + }, + { + "category": "``elbv2``", + "description": "This release adds support for configuring Load balancer Capacity Unit reservations", + "type": "api-change" + }, + { + "category": "``lambda``", + "description": "Add Node 22.x (node22.x) support to AWS Lambda", + "type": "api-change" + }, + { + "category": "``mediaconvert``", + "description": "This release adds the ability to reconfigure concurrent job settings for existing queues and create queues with custom concurrent job settings.", + "type": "api-change" + }, + { + "category": "``mediapackagev2``", + "description": "MediaPackage v2 now supports the Media Quality Confidence Score (MQCS) published from MediaLive. Customers can control input switching based on the MQCS and publishing HTTP Headers for the MQCS via the API.", + "type": "api-change" + }, + { + "category": "``omics``", + "description": "Enabling call caching feature that allows customers to reuse previously computed results from a set of completed tasks in a new workflow run.", + "type": "api-change" + }, + { + "category": "``rbin``", + "description": "This release adds support for exclusion tags for Recycle Bin, which allows you to identify resources that are to be excluded, or ignored, by a Region-level retention rule.", + "type": "api-change" + }, + { + "category": "``rds``", + "description": "This release adds support for scale storage on the DB instance using a Blue/Green Deployment.", + "type": "api-change" + }, + { + "category": "``timestream-query``", + "description": "This release adds support for Provisioning Timestream Compute Units (TCUs), a new feature that allows provisioning dedicated compute resources for your queries, providing predictable and cost-effective query performance.", + "type": "api-change" + }, + { + "category": "``workspaces``", + "description": "Added support for Rocky Linux 8 on Amazon WorkSpaces Personal.", + "type": "api-change" + }, + { + "category": "``workspaces-web``", + "description": "Added data protection settings with support for inline data redaction.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-autoscaling-11987.json b/.changes/next-release/api-change-autoscaling-11987.json deleted file mode 100644 index 83f043400684..000000000000 --- a/.changes/next-release/api-change-autoscaling-11987.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``autoscaling``", - "description": "With this release, customers can prioritize launching instances into ODCRs using targets from ASGs or Launch Templates. Customers can express their baseline instances' CPU-performance in attribute-based Instance Requirements configuration by referencing an instance family that meets their needs." -} diff --git a/.changes/next-release/api-change-bedrockagentruntime-76583.json b/.changes/next-release/api-change-bedrockagentruntime-76583.json deleted file mode 100644 index 0febdedb8db8..000000000000 --- a/.changes/next-release/api-change-bedrockagentruntime-76583.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-agent-runtime``", - "description": "Releasing new Prompt Optimization to enhance your prompts for improved performance" -} diff --git a/.changes/next-release/api-change-cloudfront-74593.json b/.changes/next-release/api-change-cloudfront-74593.json deleted file mode 100644 index aea61bf7504e..000000000000 --- a/.changes/next-release/api-change-cloudfront-74593.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``cloudfront``", - "description": "Add support for gRPC, VPC origins, and Anycast IP Lists. Allow LoggingConfig IncludeCookies to be set regardless of whether the LoggingConfig is enabled." -} diff --git a/.changes/next-release/api-change-computeoptimizer-19536.json b/.changes/next-release/api-change-computeoptimizer-19536.json deleted file mode 100644 index 952f09cc3cd1..000000000000 --- a/.changes/next-release/api-change-computeoptimizer-19536.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``compute-optimizer``", - "description": "This release enables AWS Compute Optimizer to analyze and generate optimization recommendations for Amazon Aurora database instances. It also enables Compute Optimizer to identify idle Amazon EC2 instances, Amazon EBS volumes, Amazon ECS services running on Fargate, and Amazon RDS databases." -} diff --git a/.changes/next-release/api-change-controltower-54068.json b/.changes/next-release/api-change-controltower-54068.json deleted file mode 100644 index 3a0063d1bc77..000000000000 --- a/.changes/next-release/api-change-controltower-54068.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``controltower``", - "description": "Adds support for child enabled baselines which allow you to see the enabled baseline status for individual accounts." -} diff --git a/.changes/next-release/api-change-costoptimizationhub-20043.json b/.changes/next-release/api-change-costoptimizationhub-20043.json deleted file mode 100644 index 06201cd86b2d..000000000000 --- a/.changes/next-release/api-change-costoptimizationhub-20043.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``cost-optimization-hub``", - "description": "This release adds action type \"Delete\" to the GetRecommendation, ListRecommendations and ListRecommendationSummaries APIs to support new EBS and ECS recommendations with action type \"Delete\"." -} diff --git a/.changes/next-release/api-change-datazone-35575.json b/.changes/next-release/api-change-datazone-35575.json deleted file mode 100644 index 9e8fa7c0bcc2..000000000000 --- a/.changes/next-release/api-change-datazone-35575.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``datazone``", - "description": "This release supports Metadata Enforcement Rule feature for Create Subscription Request action." -} diff --git a/.changes/next-release/api-change-discovery-29912.json b/.changes/next-release/api-change-discovery-29912.json deleted file mode 100644 index 58acb0a8dc0a..000000000000 --- a/.changes/next-release/api-change-discovery-29912.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``discovery``", - "description": "Add support to import data from commercially available discovery tools without file manipulation." -} diff --git a/.changes/next-release/api-change-ec2-1345.json b/.changes/next-release/api-change-ec2-1345.json deleted file mode 100644 index 12ff790b1877..000000000000 --- a/.changes/next-release/api-change-ec2-1345.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ec2``", - "description": "With this release, customers can express their desire to launch instances only in an ODCR or ODCR group rather than OnDemand capacity. Customers can express their baseline instances' CPU-performance in attribute-based Instance Requirements configuration by referencing an instance family." -} diff --git a/.changes/next-release/api-change-ecs-8178.json b/.changes/next-release/api-change-ecs-8178.json deleted file mode 100644 index d38b7af77e33..000000000000 --- a/.changes/next-release/api-change-ecs-8178.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ecs``", - "description": "This release adds support for the Availability Zone rebalancing feature on Amazon ECS." -} diff --git a/.changes/next-release/api-change-elbv2-84269.json b/.changes/next-release/api-change-elbv2-84269.json deleted file mode 100644 index d9922327298a..000000000000 --- a/.changes/next-release/api-change-elbv2-84269.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``elbv2``", - "description": "This release adds support for configuring Load balancer Capacity Unit reservations" -} diff --git a/.changes/next-release/api-change-lambda-58871.json b/.changes/next-release/api-change-lambda-58871.json deleted file mode 100644 index 0042bdf1d121..000000000000 --- a/.changes/next-release/api-change-lambda-58871.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``lambda``", - "description": "Add Node 22.x (node22.x) support to AWS Lambda" -} diff --git a/.changes/next-release/api-change-mediaconvert-27137.json b/.changes/next-release/api-change-mediaconvert-27137.json deleted file mode 100644 index 78ee1a2861f8..000000000000 --- a/.changes/next-release/api-change-mediaconvert-27137.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``mediaconvert``", - "description": "This release adds the ability to reconfigure concurrent job settings for existing queues and create queues with custom concurrent job settings." -} diff --git a/.changes/next-release/api-change-mediapackagev2-3929.json b/.changes/next-release/api-change-mediapackagev2-3929.json deleted file mode 100644 index 929f293973d8..000000000000 --- a/.changes/next-release/api-change-mediapackagev2-3929.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``mediapackagev2``", - "description": "MediaPackage v2 now supports the Media Quality Confidence Score (MQCS) published from MediaLive. Customers can control input switching based on the MQCS and publishing HTTP Headers for the MQCS via the API." -} diff --git a/.changes/next-release/api-change-omics-70156.json b/.changes/next-release/api-change-omics-70156.json deleted file mode 100644 index 34c0af229229..000000000000 --- a/.changes/next-release/api-change-omics-70156.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``omics``", - "description": "Enabling call caching feature that allows customers to reuse previously computed results from a set of completed tasks in a new workflow run." -} diff --git a/.changes/next-release/api-change-rbin-94558.json b/.changes/next-release/api-change-rbin-94558.json deleted file mode 100644 index 93a0c280f443..000000000000 --- a/.changes/next-release/api-change-rbin-94558.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``rbin``", - "description": "This release adds support for exclusion tags for Recycle Bin, which allows you to identify resources that are to be excluded, or ignored, by a Region-level retention rule." -} diff --git a/.changes/next-release/api-change-rds-47745.json b/.changes/next-release/api-change-rds-47745.json deleted file mode 100644 index cae5f7fd1b43..000000000000 --- a/.changes/next-release/api-change-rds-47745.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``rds``", - "description": "This release adds support for scale storage on the DB instance using a Blue/Green Deployment." -} diff --git a/.changes/next-release/api-change-timestreamquery-50547.json b/.changes/next-release/api-change-timestreamquery-50547.json deleted file mode 100644 index a22bf6530981..000000000000 --- a/.changes/next-release/api-change-timestreamquery-50547.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``timestream-query``", - "description": "This release adds support for Provisioning Timestream Compute Units (TCUs), a new feature that allows provisioning dedicated compute resources for your queries, providing predictable and cost-effective query performance." -} diff --git a/.changes/next-release/api-change-workspaces-59397.json b/.changes/next-release/api-change-workspaces-59397.json deleted file mode 100644 index 0aa472708cb8..000000000000 --- a/.changes/next-release/api-change-workspaces-59397.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``workspaces``", - "description": "Added support for Rocky Linux 8 on Amazon WorkSpaces Personal." -} diff --git a/.changes/next-release/api-change-workspacesweb-49605.json b/.changes/next-release/api-change-workspacesweb-49605.json deleted file mode 100644 index 52d00d85223d..000000000000 --- a/.changes/next-release/api-change-workspacesweb-49605.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``workspaces-web``", - "description": "Added data protection settings with support for inline data redaction." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 86c5b5549e34..d61e5c7f75d4 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,31 @@ CHANGELOG ========= +1.36.7 +====== + +* api-change:``autoscaling``: With this release, customers can prioritize launching instances into ODCRs using targets from ASGs or Launch Templates. Customers can express their baseline instances' CPU-performance in attribute-based Instance Requirements configuration by referencing an instance family that meets their needs. +* api-change:``bedrock-agent-runtime``: Releasing new Prompt Optimization to enhance your prompts for improved performance +* api-change:``cloudfront``: Add support for gRPC, VPC origins, and Anycast IP Lists. Allow LoggingConfig IncludeCookies to be set regardless of whether the LoggingConfig is enabled. +* api-change:``compute-optimizer``: This release enables AWS Compute Optimizer to analyze and generate optimization recommendations for Amazon Aurora database instances. It also enables Compute Optimizer to identify idle Amazon EC2 instances, Amazon EBS volumes, Amazon ECS services running on Fargate, and Amazon RDS databases. +* api-change:``controltower``: Adds support for child enabled baselines which allow you to see the enabled baseline status for individual accounts. +* api-change:``cost-optimization-hub``: This release adds action type "Delete" to the GetRecommendation, ListRecommendations and ListRecommendationSummaries APIs to support new EBS and ECS recommendations with action type "Delete". +* api-change:``datazone``: This release supports Metadata Enforcement Rule feature for Create Subscription Request action. +* api-change:``discovery``: Add support to import data from commercially available discovery tools without file manipulation. +* api-change:``ec2``: With this release, customers can express their desire to launch instances only in an ODCR or ODCR group rather than OnDemand capacity. Customers can express their baseline instances' CPU-performance in attribute-based Instance Requirements configuration by referencing an instance family. +* api-change:``ecs``: This release adds support for the Availability Zone rebalancing feature on Amazon ECS. +* api-change:``elbv2``: This release adds support for configuring Load balancer Capacity Unit reservations +* api-change:``lambda``: Add Node 22.x (node22.x) support to AWS Lambda +* api-change:``mediaconvert``: This release adds the ability to reconfigure concurrent job settings for existing queues and create queues with custom concurrent job settings. +* api-change:``mediapackagev2``: MediaPackage v2 now supports the Media Quality Confidence Score (MQCS) published from MediaLive. Customers can control input switching based on the MQCS and publishing HTTP Headers for the MQCS via the API. +* api-change:``omics``: Enabling call caching feature that allows customers to reuse previously computed results from a set of completed tasks in a new workflow run. +* api-change:``rbin``: This release adds support for exclusion tags for Recycle Bin, which allows you to identify resources that are to be excluded, or ignored, by a Region-level retention rule. +* api-change:``rds``: This release adds support for scale storage on the DB instance using a Blue/Green Deployment. +* api-change:``timestream-query``: This release adds support for Provisioning Timestream Compute Units (TCUs), a new feature that allows provisioning dedicated compute resources for your queries, providing predictable and cost-effective query performance. +* api-change:``workspaces``: Added support for Rocky Linux 8 on Amazon WorkSpaces Personal. +* api-change:``workspaces-web``: Added data protection settings with support for inline data redaction. + + 1.36.6 ====== diff --git a/awscli/__init__.py b/awscli/__init__.py index 3673fcc1fdcb..c981cb8dcb5f 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.36.6' +__version__ = '1.36.7' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index c8d9df9ebf59..8aeb627d6bb0 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.36' # The full version, including alpha/beta/rc tags. -release = '1.36.6' +release = '1.36.7' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 420bd5593d42..9de8090db109 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.65 + botocore==1.35.66 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 788dfd7cfbeb..35dd9fa5afd5 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.65', + 'botocore==1.35.66', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 7d5056f2d450345f2ebbecfc6ce06458ac84e1ab Mon Sep 17 00:00:00 2001 From: Elysa Hall Date: Tue, 29 Oct 2024 22:14:26 +0000 Subject: [PATCH 0313/1087] CLI examples apigateway, ecr-public, iam, securityhub --- .../examples/apigateway/flush-stage-cache.rst | 10 ++++- .../ecr-public/describe-registries.rst | 26 +++++++++++ .../ecr-public/describe-repository.rst | 43 ++++++++++++++++++ .../ecr-public/get-login-password.rst | 27 +++++++++++ awscli/examples/iam/create-policy.rst | 45 ++++++++++--------- .../iam/get-account-authorization-details.rst | 6 +-- ...list-configuration-policy-associations.rst | 4 +- 7 files changed, 133 insertions(+), 28 deletions(-) create mode 100644 awscli/examples/ecr-public/describe-registries.rst create mode 100644 awscli/examples/ecr-public/describe-repository.rst create mode 100644 awscli/examples/ecr-public/get-login-password.rst diff --git a/awscli/examples/apigateway/flush-stage-cache.rst b/awscli/examples/apigateway/flush-stage-cache.rst index 3fdae72763f1..57bd049418c6 100644 --- a/awscli/examples/apigateway/flush-stage-cache.rst +++ b/awscli/examples/apigateway/flush-stage-cache.rst @@ -1,5 +1,11 @@ **To flush the cache for an API's stage** -Command:: +The following ``flush-stage-cache`` example flushes the cache of a stage. :: - aws apigateway flush-stage-cache --rest-api-id 1234123412 --stage-name dev + aws apigateway flush-stage-cache \ + --rest-api-id 1234123412 \ + --stage-name dev + +This command produces no output. + +For more information, see `Flush the API stage cache in API Gateway `_ in the *Amazon API Gateway Developer Guide*. diff --git a/awscli/examples/ecr-public/describe-registries.rst b/awscli/examples/ecr-public/describe-registries.rst new file mode 100644 index 000000000000..8c563bf33cc1 --- /dev/null +++ b/awscli/examples/ecr-public/describe-registries.rst @@ -0,0 +1,26 @@ +**To describe all registries in a public registry** + +The following ``describe-registries`` example describes all registries in your account. :: + + aws ecr-public describe-registries + +Output:: + + { + "registries": [ + { + "registryId": "123456789012", + "registryArn": "arn:aws:ecr-public::123456789012:registry/123456789012", + "registryUri": "public.ecr.aws/publicregistrycustomalias", + "verified": false, + "aliases": [ + { + "name": "publicregistrycustomalias", + "status": "ACTIVE", + "primaryRegistryAlias": true, + "defaultRegistryAlias": true + } + ] + } + ] + } \ No newline at end of file diff --git a/awscli/examples/ecr-public/describe-repository.rst b/awscli/examples/ecr-public/describe-repository.rst new file mode 100644 index 000000000000..79761e292e05 --- /dev/null +++ b/awscli/examples/ecr-public/describe-repository.rst @@ -0,0 +1,43 @@ +**Example 1: To describe a repository in a public registry** + +The following ``describe-repositories`` example describes a repository named ``project-a/nginx-web-app`` in a public registry. :: + + aws ecr-public describe-repositories \ + --repository-name project-a/nginx-web-app + +Output:: + + { + "repositories": [ + { + "repositoryArn": "arn:aws:ecr-public::123456789012:repository/project-a/nginx-web-app", + "registryId": "123456789012", + "repositoryName": "project-a/nginx-web-app", + "repositoryUri": "public.ecr.aws/public-registry-custom-alias/project-a/nginx-web-app", + "createdAt": "2024-07-07T00:07:56.526000-05:00" + } + ] + } + +**Example 2: To describe all repositories in a public registry in a table** + +The following ``describe-repositories`` example describes all repositories in a public registry and then outputs the repository names into a table format. :: + + aws ecr-public describe-repositories \ + --region us-east-1 \ + --output table \ + --query "repositories[*].repositoryName" + +Output:: + + ----------------------------- + | DescribeRepositories | + +---------------------------+ + | project-a/nginx-web-app | + | nginx | + | myfirstrepo1 | + | helm-test-chart | + | test-ecr-public | + | nginx-web-app | + | sample-repo | + +---------------------------+ \ No newline at end of file diff --git a/awscli/examples/ecr-public/get-login-password.rst b/awscli/examples/ecr-public/get-login-password.rst new file mode 100644 index 000000000000..99879cc05f0b --- /dev/null +++ b/awscli/examples/ecr-public/get-login-password.rst @@ -0,0 +1,27 @@ +**Example 1: To authenticate docker to an Amazon ECR public registry** + +The following ``get-login-password`` example retrieves and displays an authentication token using the GetAuthorizationToken API that you can use to authenticate to an Amazon ECR public registry. :: + + aws ecr-public get-login-password \ + --region us-east-1 + | docker login \ + --username AWS \ + --password-stdin public.ecr.aws + +This command produces no output in the terminal but instead pipes the output to Docker. + +For more information, see `Authenticate to the public registry `__ in the *Amazon ECR Public*. + +**Example 2: To authenticate docker to your own custom AmazonECR public registry** + +The following ``get-login-password`` example retrieves and displays an authentication token using the GetAuthorizationToken API that you can use to authenticate to your own custom Amazon ECR public registry. :: + + aws ecr-public get-login-password \ + --region us-east-1 \ + | docker login \ + --username AWS \ + --password-stdin public.ecr.aws/ + +This command produces no output in the terminal but insteads pipes the output to Docker. + +For more information, see `Authenticate to your own Amazon ECR Public `__ in the *Amazon ECR Public*. diff --git a/awscli/examples/iam/create-policy.rst b/awscli/examples/iam/create-policy.rst index ba050d01a65d..8319d8e2662c 100644 --- a/awscli/examples/iam/create-policy.rst +++ b/awscli/examples/iam/create-policy.rst @@ -1,12 +1,12 @@ **Example 1: To create a customer managed policy** -The following command creates a customer managed policy named ``my-policy``. :: +The following command creates a customer managed policy named ``my-policy``. The file ``policy.json`` is a JSON document in the current folder that grants read only access to the ``shared`` folder in an Amazon S3 bucket named ``amzn-s3-demo-bucket``. :: aws iam create-policy \ --policy-name my-policy \ - --policy-document file://policy + --policy-document file://policy.json -The file ``policy`` is a JSON document in the current folder that grants read only access to the ``shared`` folder in an Amazon S3 bucket named ``my-bucket``. :: +Contents of policy.json:: { "Version": "2012-10-17", @@ -18,7 +18,7 @@ The file ``policy`` is a JSON document in the current folder that grants read on "s3:List*" ], "Resource": [ - "arn:aws:s3:::my-bucket/shared/*" + "arn:aws:s3:::amzn-s3-demo-bucket/shared/*" ] } ] @@ -44,16 +44,18 @@ For more information on using files as input for string parameters, see `Specify **Example 2: To create a customer managed policy with a description** -The following command creates a customer managed policy named ``my-policy`` with an immutable description:: +The following command creates a customer managed policy named ``my-policy`` with an immutable description. + +The file ``policy.json`` is a JSON document in the current folder that grants access to all Put, List, and Get actions for an Amazon S3 bucket named ``amzn-s3-demo-bucket``. :: aws iam create-policy \ --policy-name my-policy \ --policy-document file://policy.json \ - --description "This policy grants access to all Put, Get, and List actions for my-bucket" + --description "This policy grants access to all Put, Get, and List actions for amzn-s3-demo-bucket" -The file ``policy.json`` is a JSON document in the current folder that grants access to all Put, List, and Get actions for an Amazon S3 bucket named ``my-bucket``. :: +Contents of policy.json:: - { + { "Version": "2012-10-17", "Statement": [ { @@ -64,7 +66,7 @@ The file ``policy.json`` is a JSON document in the current folder that grants ac "s3:GetBucket*" ], "Resource": [ - "arn:aws:s3:::my-bucket" + "arn:aws:s3:::amzn-s3-demo-bucket" ] } ] @@ -89,36 +91,38 @@ Output:: For more information on Idenity-based Policies, see `Identity-based policies and resource-based policies `__ in the *AWS IAM User Guide*. -**Example 3: To Create a customer managed policy with tags** +**Example 3: To create a customer managed policy with tags** -The following command creates a customer managed policy named ``my-policy`` with tags. This example uses the ``--tags`` parameter flag with the following JSON-formatted tags: ``'{"Key": "Department", "Value": "Accounting"}' '{"Key": "Location", "Value": "Seattle"}'``. Alternatively, the ``--tags`` flag can be used with tags in the shorthand format: ``'Key=Department,Value=Accounting Key=Location,Value=Seattle'``. :: +The following command creates a customer managed policy named ``my-policy`` with tags. This example uses the ``--tags`` parameter with the following JSON-formatted tags: ``'{"Key": "Department", "Value": "Accounting"}' '{"Key": "Location", "Value": "Seattle"}'``. Alternatively, the ``--tags`` parameter can be used with tags in the shorthand format: ``'Key=Department,Value=Accounting Key=Location,Value=Seattle'``. + +The file ``policy.json`` is a JSON document in the current folder that grants access to all Put, List, and Get actions for an Amazon S3 bucket named ``amzn-s3-demo-bucket``. :: aws iam create-policy \ --policy-name my-policy \ --policy-document file://policy.json \ --tags '{"Key": "Department", "Value": "Accounting"}' '{"Key": "Location", "Value": "Seattle"}' -The file ``policy.json`` is a JSON document in the current folder that grants access to all Put, List, and Get actions for an Amazon S3 bucket named ``my-bucket``. :: +Contents of policy.json:: - { - "Version": "2012-10-17", - "Statement": [ - { - "Effect": "Allow", - "Action": [ + { + "Version": "2012-10-17", + "Statement": [ + { + "Effect": "Allow", + "Action": [ "s3:ListBucket*", "s3:PutBucket*", "s3:GetBucket*" ], "Resource": [ - "arn:aws:s3:::my-bucket" + "arn:aws:s3:::amzn-s3-demo-bucket" ] } ] } Output:: - + { "Policy": { "PolicyName": "my-policy", @@ -139,7 +143,6 @@ Output:: "Key": "Location", "Value": "Seattle" { - ] } } diff --git a/awscli/examples/iam/get-account-authorization-details.rst b/awscli/examples/iam/get-account-authorization-details.rst index 89906441761b..10400d7d3a80 100644 --- a/awscli/examples/iam/get-account-authorization-details.rst +++ b/awscli/examples/iam/get-account-authorization-details.rst @@ -1,4 +1,4 @@ -**To list an AWS accounts IAM users, groups, roles, and policies** +**To list an AWS account's IAM users, groups, roles, and policies** The following ``get-account-authorization-details`` command returns information about all IAM users, groups, roles, and policies in the AWS account. :: @@ -236,8 +236,8 @@ Output:: "s3:List*" ], "Resource": [ - "arn:aws:s3:::example-bucket", - "arn:aws:s3:::example-bucket/*" + "arn:aws:s3:::amzn-s3-demo-bucket", + "arn:aws:s3:::amzn-s3-demo-bucket/*" ] } ] diff --git a/awscli/examples/securityhub/list-configuration-policy-associations.rst b/awscli/examples/securityhub/list-configuration-policy-associations.rst index 3476e6b3a347..09f2f0bf21a8 100644 --- a/awscli/examples/securityhub/list-configuration-policy-associations.rst +++ b/awscli/examples/securityhub/list-configuration-policy-associations.rst @@ -3,7 +3,7 @@ The following ``list-configuration-policy-associations`` example lists a summary of configuration associations for the organization. The response include associations with configuration policies and self-managed behavior. :: aws securityhub list-configuration-policy-associations \ - --association-type "APPLIED" \ + --filters '{"AssociationType": "APPLIED"}' \ --max-items 4 Output:: @@ -47,4 +47,4 @@ Output:: } } -For more information, see `Viewing Security Hub configuration policies `__ in the *AWS Security Hub User Guide*. \ No newline at end of file +For more information, see `Viewing configuration policy status and details `__ in the *AWS Security Hub User Guide*. \ No newline at end of file From 4304c48cb5348fdb7567a09ff3c138749b2c19b0 Mon Sep 17 00:00:00 2001 From: Chaitanya Gummadi Date: Wed, 30 Oct 2024 14:59:50 -0500 Subject: [PATCH 0314/1087] add examples for CloudWatch CLI commands * fix the 2 examples * fix the put-metric-stream API --- .../cloudwatch/delete-anomaly-detector.rst | 12 ++ .../examples/cloudwatch/delete-dashboards.rst | 10 ++ .../cloudwatch/delete-insight-rules.rst | 14 +++ .../cloudwatch/delete-metric-stream.rst | 10 ++ .../cloudwatch/describe-anomaly-detectors.rst | 59 ++++++++++ .../cloudwatch/describe-insight-rules.rst | 28 +++++ .../cloudwatch/disable-insight-rules.rst | 14 +++ .../cloudwatch/enable-insight-rules.rst | 14 +++ awscli/examples/cloudwatch/get-dashboard.rst | 16 +++ .../cloudwatch/get-insight-rule-report.rst | 37 ++++++ .../examples/cloudwatch/get-metric-data.rst | 106 ++++++++++++++++++ .../examples/cloudwatch/get-metric-stream.rst | 22 ++++ .../cloudwatch/get-metric-widget-image.rst | 10 ++ .../examples/cloudwatch/list-dashboards.rst | 26 +++++ .../cloudwatch/list-metric-streams.rst | 23 ++++ .../cloudwatch/list-tags-for-resource.rst | 23 ++++ .../cloudwatch/put-anomaly-detector.rst | 12 ++ .../cloudwatch/put-composite-alarm.rst | 13 +++ awscli/examples/cloudwatch/put-dashboard.rst | 15 +++ .../examples/cloudwatch/put-insight-rule.rst | 35 ++++++ .../examples/cloudwatch/put-metric-stream.rst | 18 +++ .../cloudwatch/start-metric-streams.rst | 10 ++ .../cloudwatch/stop-metric-streams.rst | 10 ++ awscli/examples/cloudwatch/tag-resource.rst | 11 ++ awscli/examples/cloudwatch/untag-resource.rst | 11 ++ .../examples/cloudwatch/wait/alarm-exists.rst | 8 ++ .../wait/composite-alarm-exists.rst | 9 ++ 27 files changed, 576 insertions(+) create mode 100644 awscli/examples/cloudwatch/delete-anomaly-detector.rst create mode 100644 awscli/examples/cloudwatch/delete-dashboards.rst create mode 100644 awscli/examples/cloudwatch/delete-insight-rules.rst create mode 100644 awscli/examples/cloudwatch/delete-metric-stream.rst create mode 100644 awscli/examples/cloudwatch/describe-anomaly-detectors.rst create mode 100644 awscli/examples/cloudwatch/describe-insight-rules.rst create mode 100644 awscli/examples/cloudwatch/disable-insight-rules.rst create mode 100644 awscli/examples/cloudwatch/enable-insight-rules.rst create mode 100644 awscli/examples/cloudwatch/get-dashboard.rst create mode 100644 awscli/examples/cloudwatch/get-insight-rule-report.rst create mode 100644 awscli/examples/cloudwatch/get-metric-data.rst create mode 100644 awscli/examples/cloudwatch/get-metric-stream.rst create mode 100644 awscli/examples/cloudwatch/get-metric-widget-image.rst create mode 100644 awscli/examples/cloudwatch/list-dashboards.rst create mode 100644 awscli/examples/cloudwatch/list-metric-streams.rst create mode 100644 awscli/examples/cloudwatch/list-tags-for-resource.rst create mode 100644 awscli/examples/cloudwatch/put-anomaly-detector.rst create mode 100644 awscli/examples/cloudwatch/put-composite-alarm.rst create mode 100644 awscli/examples/cloudwatch/put-dashboard.rst create mode 100644 awscli/examples/cloudwatch/put-insight-rule.rst create mode 100644 awscli/examples/cloudwatch/put-metric-stream.rst create mode 100644 awscli/examples/cloudwatch/start-metric-streams.rst create mode 100644 awscli/examples/cloudwatch/stop-metric-streams.rst create mode 100644 awscli/examples/cloudwatch/tag-resource.rst create mode 100644 awscli/examples/cloudwatch/untag-resource.rst create mode 100644 awscli/examples/cloudwatch/wait/alarm-exists.rst create mode 100644 awscli/examples/cloudwatch/wait/composite-alarm-exists.rst diff --git a/awscli/examples/cloudwatch/delete-anomaly-detector.rst b/awscli/examples/cloudwatch/delete-anomaly-detector.rst new file mode 100644 index 000000000000..9a4f946785d5 --- /dev/null +++ b/awscli/examples/cloudwatch/delete-anomaly-detector.rst @@ -0,0 +1,12 @@ +**To delete a specified anomaly detection model** + +The following ``delete-anomaly-detector`` example deletes an anomaly detector model in the specified account. :: + + aws cloudwatch delete-anomaly-detector \ + --namespace AWS/Logs \ + --metric-name IncomingBytes \ + --stat SampleCount + +This command produces no output. + +For more information, see `Deleting an anomaly detection model `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/cloudwatch/delete-dashboards.rst b/awscli/examples/cloudwatch/delete-dashboards.rst new file mode 100644 index 000000000000..fe438c9c7bcb --- /dev/null +++ b/awscli/examples/cloudwatch/delete-dashboards.rst @@ -0,0 +1,10 @@ +**To delete specified dashboards** + +The following ``delete-dashboards`` example deletes two dashboards named ``Dashboard-A`` and ``Dashboard-B`` in the specified account. :: + + aws cloudwatch delete-dashboards \ + --dashboard-names Dashboard-A Dashboard-B + +This command produces no output. + +For more information, see `Amazon CloudWatch dashboards `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/cloudwatch/delete-insight-rules.rst b/awscli/examples/cloudwatch/delete-insight-rules.rst new file mode 100644 index 000000000000..ac0131e2de25 --- /dev/null +++ b/awscli/examples/cloudwatch/delete-insight-rules.rst @@ -0,0 +1,14 @@ +**To delete specified contributor insights rules** + +The following ``delete-insight-rules`` example deletes two contributor insights rules named ``Rule-A`` and ``Rule-B`` in the specified account. :: + + aws cloudwatch delete-insight-rules \ + --rule-names Rule-A Rule-B + +Output:: + + { + "Failures": [] + } + +For more information, see `Use Contributor Insights to analyze high-cardinality data `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/cloudwatch/delete-metric-stream.rst b/awscli/examples/cloudwatch/delete-metric-stream.rst new file mode 100644 index 000000000000..f3d225334b05 --- /dev/null +++ b/awscli/examples/cloudwatch/delete-metric-stream.rst @@ -0,0 +1,10 @@ +**To delete a specified metric stream** + +The following ``delete-metric-stream`` example deletes the metric stream named ``QuickPartial-gSCKvO`` in the specified account. :: + + aws cloudwatch delete-metric-stream \ + --name QuickPartial-gSCKvO + +This command produces no output. + +For more information, see `Use metric streams `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/cloudwatch/describe-anomaly-detectors.rst b/awscli/examples/cloudwatch/describe-anomaly-detectors.rst new file mode 100644 index 000000000000..5d921e64ba78 --- /dev/null +++ b/awscli/examples/cloudwatch/describe-anomaly-detectors.rst @@ -0,0 +1,59 @@ +**To retrieve a list of anomaly detection models** + +The following ``describe-anomaly-detectors`` example displays information about anomaly detector models that are associated with the ``AWS/Logs`` namespace in the specified account. :: + + aws cloudwatch describe-anomaly-detectors \ + --namespace AWS/Logs + +Output:: + + { + "AnomalyDetectors": [ + { + "Namespace": "AWS/Logs", + "MetricName": "IncomingBytes", + "Dimensions": [], + "Stat": "SampleCount", + "Configuration": { + "ExcludedTimeRanges": [] + }, + "StateValue": "TRAINED", + "SingleMetricAnomalyDetector": { + "AccountId": "123456789012", + "Namespace": "AWS/Logs", + "MetricName": "IncomingBytes", + "Dimensions": [], + "Stat": "SampleCount" + } + }, + { + "Namespace": "AWS/Logs", + "MetricName": "IncomingBytes", + "Dimensions": [ + { + "Name": "LogGroupName", + "Value": "demo" + } + ], + "Stat": "Average", + "Configuration": { + "ExcludedTimeRanges": [] + }, + "StateValue": "PENDING_TRAINING", + "SingleMetricAnomalyDetector": { + "AccountId": "123456789012", + "Namespace": "AWS/Logs", + "MetricName": "IncomingBytes", + "Dimensions": [ + { + "Name": "LogGroupName", + "Value": "demo" + } + ], + "Stat": "Average" + } + } + ] + } + +For more information, see `Using CloudWatch anomaly detection `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/cloudwatch/describe-insight-rules.rst b/awscli/examples/cloudwatch/describe-insight-rules.rst new file mode 100644 index 000000000000..8467a3618801 --- /dev/null +++ b/awscli/examples/cloudwatch/describe-insight-rules.rst @@ -0,0 +1,28 @@ +**To retrieve a list of Contributor Insights rules** + +The following ``describe-insight-rules`` example shows all the Contributor Insight rules in the specified account. :: + + aws cloudwatch describe-insight-rules + +Output:: + + { + "InsightRules": [ + { + "Name": "Rule-A", + "State": "ENABLED", + "Schema": "CloudWatchLogRule/1", + "Definition": "{\n\t\"AggregateOn\": \"Count\",\n\t\"Contribution\": {\n\t\t\"Filters\": [],\n\t\t\"Keys\": [\n\t\t\t\"$.requestId\"\n\t\t]\n\t},\n\t\"LogFormat\": \"JSON\",\n\t\"Schema\": {\n\t\t\"Name\": \"CloudWatchLogRule\",\n\t\t\"Version\": 1\n\t},\n\t\"LogGroupARNs\": [\n\t\t\"arn:aws:logs:us-east-1:123456789012:log-group:demo\"\n\t]\n}", + "ManagedRule": false + }, + { + "Name": "Rule-B", + "State": "ENABLED", + "Schema": "CloudWatchLogRule/1", + "Definition": "{\n\t\"AggregateOn\": \"Count\",\n\t\"Contribution\": {\n\t\t\"Filters\": [],\n\t\t\"Keys\": [\n\t\t\t\"$.requestId\"\n\t\t]\n\t},\n\t\"LogFormat\": \"JSON\",\n\t\"Schema\": {\n\t\t\"Name\": \"CloudWatchLogRule\",\n\t\t\"Version\": 1\n\t},\n\t\"LogGroupARNs\": [\n\t\t\"arn:aws:logs:us-east-1:123456789012:log-group:demo-1\"\n\t]\n}", + "ManagedRule": false + } + ] + } + +For more information, see `Use Contributor Insights to analyze high-cardinality data `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/cloudwatch/disable-insight-rules.rst b/awscli/examples/cloudwatch/disable-insight-rules.rst new file mode 100644 index 000000000000..4edeb02bc596 --- /dev/null +++ b/awscli/examples/cloudwatch/disable-insight-rules.rst @@ -0,0 +1,14 @@ +**To disable specified contributor insight rules** + +The following ``disable-insight-rules`` example disables two contributor insights rules named ``Rule-A`` and ``Rule-B`` in the specified account. :: + + aws cloudwatch disable-insight-rules \ + --rule-names Rule-A Rule-B + +Output:: + + { + "Failures": [] + } + +For more information, see `Use Contributor Insights to analyze high-cardinality data `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/cloudwatch/enable-insight-rules.rst b/awscli/examples/cloudwatch/enable-insight-rules.rst new file mode 100644 index 000000000000..0a93df440f35 --- /dev/null +++ b/awscli/examples/cloudwatch/enable-insight-rules.rst @@ -0,0 +1,14 @@ +**To enable specified contributor insight rules** + +The following ``enable-insight-rules`` example enables two contributor insights rules named ``Rule-A`` and ``Rule-B`` in the specified account. :: + + aws cloudwatch enable-insight-rules \ + --rule-names Rule-A Rule-B + +Output:: + + { + "Failures": [] + } + +For more information, see `Use Contributor Insights to analyze high-cardinality data `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/cloudwatch/get-dashboard.rst b/awscli/examples/cloudwatch/get-dashboard.rst new file mode 100644 index 000000000000..8afa9efac090 --- /dev/null +++ b/awscli/examples/cloudwatch/get-dashboard.rst @@ -0,0 +1,16 @@ +**To retrieve information about a Dashboard** + +The following ``get-dashboard`` example displays information about the dashboard named ``Dashboard-A`` in the specified account. :: + + aws cloudwatch get-dashboard \ + --dashboard-name Dashboard-A + +Output:: + + { + "DashboardArn": "arn:aws:cloudwatch::123456789012:dashboard/Dashboard-A", + "DashboardBody": "{\"widgets\":[{\"type\":\"metric\",\"x\":0,\"y\":0,\"width\":6,\"height\":6,\"properties\":{\"view\":\"timeSeries\",\"stacked\":false,\"metrics\":[[\"AWS/EC2\",\"NetworkIn\",\"InstanceId\",\"i-0131f062232ade043\"],[\".\",\"NetworkOut\",\".\",\".\"]],\"region\":\"us-east-1\"}}]}", + "DashboardName": "Dashboard-A" + } + +For more information, see `Amazon CloudWatch dashboards `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/cloudwatch/get-insight-rule-report.rst b/awscli/examples/cloudwatch/get-insight-rule-report.rst new file mode 100644 index 000000000000..0ad2859416e6 --- /dev/null +++ b/awscli/examples/cloudwatch/get-insight-rule-report.rst @@ -0,0 +1,37 @@ +**To retrieve the time series data collected by a Contributor Insights rule** + +The following ``get-insight-rule-report`` example returns the time series data collected by a Contributor Insights rule. :: + + aws cloudwatch get-insight-rule-report \ + --rule-name Rule-A \ + --start-time 2024-10-13T20:15:00Z \ + --end-time 2024-10-13T20:30:00Z \ + --period 300 + +Output:: + + { + "KeyLabels": [ + "PartitionKey" + ], + "AggregationStatistic": "Sum", + "AggregateValue": 0.5, + "ApproximateUniqueCount": 1, + "Contributors": [ + { + "Keys": [ + "RequestID" + ], + "ApproximateAggregateValue": 0.5, + "Datapoints": [ + { + "Timestamp": "2024-10-13T21:00:00+00:00", + "ApproximateValue": 0.5 + } + ] + } + ], + "RuleAttributes": [] + } + +For more information, see `Use Contributor Insights to analyze high-cardinality data `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/cloudwatch/get-metric-data.rst b/awscli/examples/cloudwatch/get-metric-data.rst new file mode 100644 index 000000000000..6af2ed2cc3d5 --- /dev/null +++ b/awscli/examples/cloudwatch/get-metric-data.rst @@ -0,0 +1,106 @@ +**Example 1: To get the Average Total IOPS for the specified EC2 using math expression** + +The following ``get-metric-data`` example retrieves CloudWatch metric values for the EC2 instance with InstanceID ``i-abcdef`` using metric math exprssion that combines ``EBSReadOps`` and ``EBSWriteOps`` metrics. :: + + aws cloudwatch get-metric-data \ + --metric-data-queries file://file.json \ + --start-time 2024-09-29T22:10:00Z \ + --end-time 2024-09-29T22:15:00Z + +Contents of ``file.json``:: + + [ + { + "Id": "m3", + "Expression": "(m1+m2)/300", + "Label": "Avg Total IOPS" + }, + { + "Id": "m1", + "MetricStat": { + "Metric": { + "Namespace": "AWS/EC2", + "MetricName": "EBSReadOps", + "Dimensions": [ + { + "Name": "InstanceId", + "Value": "i-abcdef" + } + ] + }, + "Period": 300, + "Stat": "Sum", + "Unit": "Count" + }, + "ReturnData": false + }, + { + "Id": "m2", + "MetricStat": { + "Metric": { + "Namespace": "AWS/EC2", + "MetricName": "EBSWriteOps", + "Dimensions": [ + { + "Name": "InstanceId", + "Value": "i-abcdef" + } + ] + }, + "Period": 300, + "Stat": "Sum", + "Unit": "Count" + }, + "ReturnData": false + } + ] + +Output:: + + { + "MetricDataResults": [ + { + "Id": "m3", + "Label": "Avg Total IOPS", + "Timestamps": [ + "2024-09-29T22:10:00+00:00" + ], + "Values": [ + 96.85 + ], + "StatusCode": "Complete" + } + ], + "Messages": [] + } + +**Example 2: To monitor the estimated AWS charges using CloudWatch billing metrics** + +The following ``get-metric-data`` example retrieves ``EstimatedCharges`` CloudWatch metric from AWS/Billing namespace. :: + + aws cloudwatch get-metric-data \ + --metric-data-queries '[{"Id":"m1","MetricStat":{"Metric":{"Namespace":"AWS/Billing","MetricName":"EstimatedCharges","Dimensions":[{"Name":"Currency","Value":"USD"}]},"Period":21600,"Stat":"Maximum"}}]' \ + --start-time 2024-09-26T12:00:00Z \ + --end-time 2024-09-26T18:00:00Z \ + --region us-east-1 + +Output:: + + { + "MetricDataResults": [ + { + "Id": "m1", + "Label": "EstimatedCharges", + "Timestamps": [ + "2024-09-26T12:00:00+00:00" + ], + "Values": [ + 542.38 + ], + "StatusCode": "Complete" + } + ], + "Messages": [] + } + +For more information, see `Using math expressions with CloudWatch metrics `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/cloudwatch/get-metric-stream.rst b/awscli/examples/cloudwatch/get-metric-stream.rst new file mode 100644 index 000000000000..21926377486f --- /dev/null +++ b/awscli/examples/cloudwatch/get-metric-stream.rst @@ -0,0 +1,22 @@ +**To retrieve information about a metric stream** + +The following ``get-metric-stream`` example displays information about the metric stream named ``QuickFull-GuaFbs`` in the specified account. :: + + aws cloudwatch get-metric-stream \ + --name QuickFull-GuaFbs + +Output:: + + { + "Arn": "arn:aws:cloudwatch:us-east-1:123456789012:metric-stream/QuickFull-GuaFbs", + "Name": "QuickFull-GuaFbs", + "FirehoseArn": "arn:aws:firehose:us-east-1:123456789012:deliverystream/MetricStreams-QuickFull-GuaFbs-WnySbECG", + "RoleArn": "arn:aws:iam::123456789012:role/service-role/MetricStreams-FirehosePutRecords-JN10W9B3", + "State": "running", + "CreationDate": "2024-10-11T18:48:59.187000+00:00", + "LastUpdateDate": "2024-10-11T18:48:59.187000+00:00", + "OutputFormat": "json", + "IncludeLinkedAccountsMetrics": false + } + +For more information, see `Use metric streams `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/cloudwatch/get-metric-widget-image.rst b/awscli/examples/cloudwatch/get-metric-widget-image.rst new file mode 100644 index 000000000000..5bbef1c762a1 --- /dev/null +++ b/awscli/examples/cloudwatch/get-metric-widget-image.rst @@ -0,0 +1,10 @@ +**To retrieve a snapshot graph of CPUUtilization** + +The following ``get-metric-widget-image`` example retrieves snapshot graph for the metric ``CPUUtilization`` of the EC2 instance with the ID ``i-abcde`` and saves the retrieved image as a file named "image.png" on your local machine. :: + + aws cloudwatch get-metric-widget-image \ + --metric-widget '{"metrics":[["AWS/EC2","CPUUtilization","InstanceId","i-abcde"]]}' \ + --output-format png \ + --output text | base64 --decode > image.png + +This command produces no output. diff --git a/awscli/examples/cloudwatch/list-dashboards.rst b/awscli/examples/cloudwatch/list-dashboards.rst new file mode 100644 index 000000000000..432313e8aca9 --- /dev/null +++ b/awscli/examples/cloudwatch/list-dashboards.rst @@ -0,0 +1,26 @@ +**To retrieve a list of Dashboards** + +The following ``list-dashboards`` example lists all the Dashboards in the specified account. :: + + aws cloudwatch list-dashboards + +Output:: + + { + "DashboardEntries": [ + { + "DashboardName": "Dashboard-A", + "DashboardArn": "arn:aws:cloudwatch::123456789012:dashboard/Dashboard-A", + "LastModified": "2024-10-11T18:40:11+00:00", + "Size": 271 + }, + { + "DashboardName": "Dashboard-B", + "DashboardArn": "arn:aws:cloudwatch::123456789012:dashboard/Dashboard-B", + "LastModified": "2024-10-11T18:44:41+00:00", + "Size": 522 + } + ] + } + +For more information, see `Amazon CloudWatch dashboards `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/cloudwatch/list-metric-streams.rst b/awscli/examples/cloudwatch/list-metric-streams.rst new file mode 100644 index 000000000000..523e72657d60 --- /dev/null +++ b/awscli/examples/cloudwatch/list-metric-streams.rst @@ -0,0 +1,23 @@ +**To retrieve a list of metric streams** + +The following ``list-metric-streams`` example lists all the metric streams in the specified account. :: + + aws cloudwatch list-metric-streams + +Output:: + + { + "Entries": [ + { + "Arn": "arn:aws:cloudwatch:us-east-1:123456789012:metric-stream/QuickFull-GuaFbs", + "CreationDate": "2024-10-11T18:48:59.187000+00:00", + "LastUpdateDate": "2024-10-11T18:48:59.187000+00:00", + "Name": "QuickFull-GuaFbs", + "FirehoseArn": "arn:aws:firehose:us-east-1:123456789012:deliverystream/MetricStreams-QuickFull-GuaFbs-WnySbECG", + "State": "running", + "OutputFormat": "json" + } + ] + } + +For more information, see `Use metric streams `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/cloudwatch/list-tags-for-resource.rst b/awscli/examples/cloudwatch/list-tags-for-resource.rst new file mode 100644 index 000000000000..6d1c1143207c --- /dev/null +++ b/awscli/examples/cloudwatch/list-tags-for-resource.rst @@ -0,0 +1,23 @@ +**To list the tags associated with an existing alarm*** + +The following ``list-tags-for-resource`` example lists all the tags associated with an alarm named ``demo`` in the specified account. :: + + aws cloudwatch list-tags-for-resource \ + --resource-arn arn:aws:cloudwatch:us-east-1:123456789012:alarm:demo + +Output:: + + { + "Tags": [ + { + "Key": "stack", + "Value": "Production" + }, + { + "Key": "team", + "Value": "Devops" + } + ] + } + +For more information, see `Alarms and tagging `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/cloudwatch/put-anomaly-detector.rst b/awscli/examples/cloudwatch/put-anomaly-detector.rst new file mode 100644 index 000000000000..38503f5fe7e1 --- /dev/null +++ b/awscli/examples/cloudwatch/put-anomaly-detector.rst @@ -0,0 +1,12 @@ +**To create an anomaly detection model** + +The following ``put-anomaly-detector`` example creates an anomaly detection model for a CloudWatch metric. :: + + aws cloudwatch put-anomaly-detector \ + --namespace AWS/Logs \ + --metric-name IncomingBytes \ + --stat SampleCount + +This command produces no output. + +For more information, see `Using CloudWatch anomaly detection `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/cloudwatch/put-composite-alarm.rst b/awscli/examples/cloudwatch/put-composite-alarm.rst new file mode 100644 index 000000000000..b564cd45d85d --- /dev/null +++ b/awscli/examples/cloudwatch/put-composite-alarm.rst @@ -0,0 +1,13 @@ +**To create a composite cloudwatch alarm** + +The following ``put-composite-alarm`` example creates a composite alarm named ``ProdAlarm`` in the specified account. :: + + aws cloudwatch put-composite-alarm \ + --alarm-name ProdAlarm \ + --alarm-rule "ALARM(CPUUtilizationTooHigh) AND ALARM(MemUsageTooHigh)" \ + --alarm-actions arn:aws:sns:us-east-1:123456789012:demo \ + --actions-enabled + +This command produces no output. + +For more information, see `Create a composite alarm `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/cloudwatch/put-dashboard.rst b/awscli/examples/cloudwatch/put-dashboard.rst new file mode 100644 index 000000000000..27d101cb600f --- /dev/null +++ b/awscli/examples/cloudwatch/put-dashboard.rst @@ -0,0 +1,15 @@ +**To create a dashboard** + +The following ``put-dashboard`` example creates a dashboard named ``Dashboard-A`` in the specified account. :: + + aws cloudwatch put-dashboard \ + --dashboard-name Dashboard-A \ + --dashboard-body '{"widgets":[{"height":6,"width":6,"y":0,"x":0,"type":"metric","properties":{"view":"timeSeries","stacked":false,"metrics":[["Namespace","CPUUtilization","Environment","Prod","Type","App"]],"region":"us-east-1"}}]}' + +Output:: + + { + "DashboardValidationMessages": [] + } + +For more information, see `Creating a CloudWatch dashboard `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/cloudwatch/put-insight-rule.rst b/awscli/examples/cloudwatch/put-insight-rule.rst new file mode 100644 index 000000000000..da83be472b10 --- /dev/null +++ b/awscli/examples/cloudwatch/put-insight-rule.rst @@ -0,0 +1,35 @@ +**To create a contributor insights rule** + +The following ``put-insight-rule`` example creates a Contributor Insights rule named ``VPCFlowLogsContributorInsights`` in the specified account. :: + + aws cloudwatch put-insight-rule \ + --rule-name VPCFlowLogsContributorInsights \ + --rule-definition file://insight-rule.json \ + --rule-state ENABLED + +Contents of ``insight-rule.json``:: + + { + "Schema": { + "Name": "CloudWatchLogRule", + "Version": 1 + }, + "AggregateOn": "Count", + "Contribution": { + "Filters": [], + "Keys": [ + "tcp-flag" + ] + }, + "LogFormat": "CLF", + "LogGroupNames": [ + "/vpc/flowlogs/*" + ], + "Fields": { + "23": "tcp-flag" + } + } + +This command produces no output. + +For more information, see `Create a Contributor Insights rule in CloudWatch `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/cloudwatch/put-metric-stream.rst b/awscli/examples/cloudwatch/put-metric-stream.rst new file mode 100644 index 000000000000..536071768df9 --- /dev/null +++ b/awscli/examples/cloudwatch/put-metric-stream.rst @@ -0,0 +1,18 @@ +**To create a metric stream** + +The following ``put-metric-stream`` example creates a metric stream named ``QuickFull-GuaFb`` in the specified account. :: + + aws cloudwatch put-metric-stream \ + --name QuickFull-GuaFbs \ + --firehose-arn arn:aws:firehose:us-east-1:123456789012:deliverystream/MetricStreams-QuickFull-GuaFbs-WnySbECG \ + --role-arn arn:aws:iam::123456789012:role/service-role/MetricStreams-FirehosePutRecords-JN10W9B3 \ + --output-format json \ + --no-include-linked-accounts-metrics + +Output:: + + { + "Arn": "arn:aws:cloudwatch:us-east-1:123456789012:metric-stream/QuickFull-GuaFbs" + } + +For more information, see `Set up a metric stream `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/cloudwatch/start-metric-streams.rst b/awscli/examples/cloudwatch/start-metric-streams.rst new file mode 100644 index 000000000000..fbf339bc961c --- /dev/null +++ b/awscli/examples/cloudwatch/start-metric-streams.rst @@ -0,0 +1,10 @@ +**To start a specified metric stream** + +The following ``start-metric-streams`` example starts the metric stream named ``QuickFull-GuaFbs`` in the specified account. :: + + aws cloudwatch start-metric-streams \ + --names QuickFull-GuaFbs + +This command produces no output. + +For more information, see `Use metric streams `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/cloudwatch/stop-metric-streams.rst b/awscli/examples/cloudwatch/stop-metric-streams.rst new file mode 100644 index 000000000000..6c84e2b496e6 --- /dev/null +++ b/awscli/examples/cloudwatch/stop-metric-streams.rst @@ -0,0 +1,10 @@ +**To stop a specified metric stream** + +The following ``stop-metric-streams`` example stops the metric stream named ``QuickFull-GuaFbs`` in the specified account. :: + + aws cloudwatch stop-metric-streams \ + --names QuickFull-GuaFbs + +This command produces no output. + +For more information, see `Use metric streams `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/cloudwatch/tag-resource.rst b/awscli/examples/cloudwatch/tag-resource.rst new file mode 100644 index 000000000000..7dd6a73b1bd9 --- /dev/null +++ b/awscli/examples/cloudwatch/tag-resource.rst @@ -0,0 +1,11 @@ +**To add one or more tags to the specified resource** + +The following ``tag-resource`` example adds 2 tags to the cloudwatch alarm named ``demo`` in the specified account. :: + + aws cloudwatch tag-resource \ + --resource-arn arn:aws:cloudwatch:us-east-1:123456789012:alarm:demo \ + --tags Key=stack,Value=Production Key=team,Value=Devops + +This command produces no output. + +For more information, see `Tagging your Amazon CloudWatch resources `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/cloudwatch/untag-resource.rst b/awscli/examples/cloudwatch/untag-resource.rst new file mode 100644 index 000000000000..3c01011d2890 --- /dev/null +++ b/awscli/examples/cloudwatch/untag-resource.rst @@ -0,0 +1,11 @@ +**To remove one or more tags from the specified resource** + +The following ``untag-resource`` example removes 2 tags from the cloudwatch alarm named ``demo`` in the specified account. :: + + aws cloudwatch untag-resource \ + --resource-arn arn:aws:cloudwatch:us-east-1:123456789012:alarm:demo \ + --tag-keys stack team + +This command produces no output. + +For more information, see `Tagging your Amazon CloudWatch resources `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/cloudwatch/wait/alarm-exists.rst b/awscli/examples/cloudwatch/wait/alarm-exists.rst new file mode 100644 index 000000000000..c55a1e677c80 --- /dev/null +++ b/awscli/examples/cloudwatch/wait/alarm-exists.rst @@ -0,0 +1,8 @@ +**To wait until an alarm exists** + +The following ``wait alarm-exists`` example pauses and resumes running only after it confirms that the specified CloudWatch alarm exists. :: + + aws cloudwatch wait alarm-exists \ + --alarm-names demo + +This command produces no output. diff --git a/awscli/examples/cloudwatch/wait/composite-alarm-exists.rst b/awscli/examples/cloudwatch/wait/composite-alarm-exists.rst new file mode 100644 index 000000000000..5fec513f6f78 --- /dev/null +++ b/awscli/examples/cloudwatch/wait/composite-alarm-exists.rst @@ -0,0 +1,9 @@ +**To wait until a composite alarm exists** + +The following ``wait composite-alarm-exists`` example pauses and resumes running only after it confirms that the specified CloudWatch alarm exists. :: + + aws cloudwatch wait composite-alarm-exists \ + --alarm-names demo \ + --alarm-types CompositeAlarm + +This command produces no output. From a960e106f5452a9343c85aae762c2d8e7d77862e Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 22 Nov 2024 00:52:02 +0000 Subject: [PATCH 0315/1087] Update changelog based on model updates --- .changes/next-release/api-change-apigateway-63002.json | 5 +++++ .../api-change-applicationautoscaling-17368.json | 5 +++++ .changes/next-release/api-change-appsync-36802.json | 5 +++++ .changes/next-release/api-change-ce-77517.json | 5 +++++ .changes/next-release/api-change-cloudfront-22299.json | 5 +++++ .changes/next-release/api-change-cloudtrail-18814.json | 5 +++++ .changes/next-release/api-change-ec2-66675.json | 5 +++++ .changes/next-release/api-change-elasticache-46272.json | 5 +++++ .changes/next-release/api-change-elbv2-48156.json | 5 +++++ .changes/next-release/api-change-health-6294.json | 5 +++++ .changes/next-release/api-change-iot-45596.json | 5 +++++ .changes/next-release/api-change-iotfleetwise-69680.json | 5 +++++ .changes/next-release/api-change-iotjobsdata-26450.json | 5 +++++ .changes/next-release/api-change-lambda-79013.json | 5 +++++ .changes/next-release/api-change-logs-20898.json | 5 +++++ .changes/next-release/api-change-notifications-88630.json | 5 +++++ .../next-release/api-change-notificationscontacts-35486.json | 5 +++++ .changes/next-release/api-change-resiliencehub-1703.json | 5 +++++ .changes/next-release/api-change-s3-42746.json | 5 +++++ .changes/next-release/api-change-ssm-15374.json | 5 +++++ .changes/next-release/api-change-ssmquicksetup-61642.json | 5 +++++ .changes/next-release/api-change-xray-92212.json | 5 +++++ 22 files changed, 110 insertions(+) create mode 100644 .changes/next-release/api-change-apigateway-63002.json create mode 100644 .changes/next-release/api-change-applicationautoscaling-17368.json create mode 100644 .changes/next-release/api-change-appsync-36802.json create mode 100644 .changes/next-release/api-change-ce-77517.json create mode 100644 .changes/next-release/api-change-cloudfront-22299.json create mode 100644 .changes/next-release/api-change-cloudtrail-18814.json create mode 100644 .changes/next-release/api-change-ec2-66675.json create mode 100644 .changes/next-release/api-change-elasticache-46272.json create mode 100644 .changes/next-release/api-change-elbv2-48156.json create mode 100644 .changes/next-release/api-change-health-6294.json create mode 100644 .changes/next-release/api-change-iot-45596.json create mode 100644 .changes/next-release/api-change-iotfleetwise-69680.json create mode 100644 .changes/next-release/api-change-iotjobsdata-26450.json create mode 100644 .changes/next-release/api-change-lambda-79013.json create mode 100644 .changes/next-release/api-change-logs-20898.json create mode 100644 .changes/next-release/api-change-notifications-88630.json create mode 100644 .changes/next-release/api-change-notificationscontacts-35486.json create mode 100644 .changes/next-release/api-change-resiliencehub-1703.json create mode 100644 .changes/next-release/api-change-s3-42746.json create mode 100644 .changes/next-release/api-change-ssm-15374.json create mode 100644 .changes/next-release/api-change-ssmquicksetup-61642.json create mode 100644 .changes/next-release/api-change-xray-92212.json diff --git a/.changes/next-release/api-change-apigateway-63002.json b/.changes/next-release/api-change-apigateway-63002.json new file mode 100644 index 000000000000..e955fd10dc9a --- /dev/null +++ b/.changes/next-release/api-change-apigateway-63002.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``apigateway``", + "description": "Added support for custom domain names for private APIs." +} diff --git a/.changes/next-release/api-change-applicationautoscaling-17368.json b/.changes/next-release/api-change-applicationautoscaling-17368.json new file mode 100644 index 000000000000..21ec62315a09 --- /dev/null +++ b/.changes/next-release/api-change-applicationautoscaling-17368.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``application-autoscaling``", + "description": "Application Auto Scaling now supports Predictive Scaling to proactively increase the desired capacity ahead of predicted demand, ensuring improved availability and responsiveness for customers' applications. This feature is currently only made available for Amazon ECS Service scalable targets." +} diff --git a/.changes/next-release/api-change-appsync-36802.json b/.changes/next-release/api-change-appsync-36802.json new file mode 100644 index 000000000000..f5cf44cbb270 --- /dev/null +++ b/.changes/next-release/api-change-appsync-36802.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``appsync``", + "description": "Add support for the Amazon Bedrock Runtime." +} diff --git a/.changes/next-release/api-change-ce-77517.json b/.changes/next-release/api-change-ce-77517.json new file mode 100644 index 000000000000..511ecaf195c8 --- /dev/null +++ b/.changes/next-release/api-change-ce-77517.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ce``", + "description": "This release introduces three new APIs that enable you to estimate the cost, coverage, and utilization impact of Savings Plans you plan to purchase. The three APIs are StartCommitmentPurchaseAnalysis, GetCommitmentPurchaseAnalysis, and ListCommitmentPurchaseAnalyses." +} diff --git a/.changes/next-release/api-change-cloudfront-22299.json b/.changes/next-release/api-change-cloudfront-22299.json new file mode 100644 index 000000000000..eb751977a633 --- /dev/null +++ b/.changes/next-release/api-change-cloudfront-22299.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``cloudfront``", + "description": "Adds support for Origin Selection between EMPv2 origins based on media quality score." +} diff --git a/.changes/next-release/api-change-cloudtrail-18814.json b/.changes/next-release/api-change-cloudtrail-18814.json new file mode 100644 index 000000000000..357c5156b639 --- /dev/null +++ b/.changes/next-release/api-change-cloudtrail-18814.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``cloudtrail``", + "description": "This release introduces new APIs for creating and managing CloudTrail Lake dashboards. It also adds support for resource-based policies on CloudTrail EventDataStore and Dashboard resource." +} diff --git a/.changes/next-release/api-change-ec2-66675.json b/.changes/next-release/api-change-ec2-66675.json new file mode 100644 index 000000000000..2361b0a28fd8 --- /dev/null +++ b/.changes/next-release/api-change-ec2-66675.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ec2``", + "description": "Adds support for requesting future-dated Capacity Reservations with a minimum commitment duration, enabling IPAM for organizational units within AWS Organizations, reserving EC2 Capacity Blocks that start in 30 minutes, and extending the end date of existing Capacity Blocks." +} diff --git a/.changes/next-release/api-change-elasticache-46272.json b/.changes/next-release/api-change-elasticache-46272.json new file mode 100644 index 000000000000..9eb4b203905d --- /dev/null +++ b/.changes/next-release/api-change-elasticache-46272.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``elasticache``", + "description": "Added support to modify the engine type for existing ElastiCache Users and User Groups. Customers can now modify the engine type from redis to valkey." +} diff --git a/.changes/next-release/api-change-elbv2-48156.json b/.changes/next-release/api-change-elbv2-48156.json new file mode 100644 index 000000000000..f280c517f336 --- /dev/null +++ b/.changes/next-release/api-change-elbv2-48156.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``elbv2``", + "description": "This feature adds support for enabling zonal shift on cross-zone enabled Application Load Balancer, as well as modifying HTTP request and response headers." +} diff --git a/.changes/next-release/api-change-health-6294.json b/.changes/next-release/api-change-health-6294.json new file mode 100644 index 000000000000..cf68fc3620c1 --- /dev/null +++ b/.changes/next-release/api-change-health-6294.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``health``", + "description": "Adds metadata property to an AffectedEntity." +} diff --git a/.changes/next-release/api-change-iot-45596.json b/.changes/next-release/api-change-iot-45596.json new file mode 100644 index 000000000000..affdf34feef8 --- /dev/null +++ b/.changes/next-release/api-change-iot-45596.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``iot``", + "description": "General Availability (GA) release of AWS IoT Device Management - Commands, to trigger light-weight remote actions on targeted devices" +} diff --git a/.changes/next-release/api-change-iotfleetwise-69680.json b/.changes/next-release/api-change-iotfleetwise-69680.json new file mode 100644 index 000000000000..e91badd0f76c --- /dev/null +++ b/.changes/next-release/api-change-iotfleetwise-69680.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``iotfleetwise``", + "description": "AWS IoT FleetWise now includes campaign parameters to store and forward data, configure MQTT topic as a data destination, and collect diagnostic trouble code data. It includes APIs for network agnostic data collection using custom decoding interfaces, and monitoring the last known state of vehicles." +} diff --git a/.changes/next-release/api-change-iotjobsdata-26450.json b/.changes/next-release/api-change-iotjobsdata-26450.json new file mode 100644 index 000000000000..03a9c8c6788d --- /dev/null +++ b/.changes/next-release/api-change-iotjobsdata-26450.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``iot-jobs-data``", + "description": "General Availability (GA) release of AWS IoT Device Management - Commands, to trigger light-weight remote actions on targeted devices" +} diff --git a/.changes/next-release/api-change-lambda-79013.json b/.changes/next-release/api-change-lambda-79013.json new file mode 100644 index 000000000000..ac25eb79678a --- /dev/null +++ b/.changes/next-release/api-change-lambda-79013.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``lambda``", + "description": "Adds support for metrics for event source mappings for AWS Lambda" +} diff --git a/.changes/next-release/api-change-logs-20898.json b/.changes/next-release/api-change-logs-20898.json new file mode 100644 index 000000000000..93bafdf837a6 --- /dev/null +++ b/.changes/next-release/api-change-logs-20898.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``logs``", + "description": "Adds \"Create field indexes to improve query performance and reduce scan volume\" and \"Transform logs during ingestion\". Updates documentation for \"PutLogEvents with Entity\"." +} diff --git a/.changes/next-release/api-change-notifications-88630.json b/.changes/next-release/api-change-notifications-88630.json new file mode 100644 index 000000000000..18d1d49efa2a --- /dev/null +++ b/.changes/next-release/api-change-notifications-88630.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``notifications``", + "description": "This release adds support for AWS User Notifications. You can now configure and view notifications from AWS services in a central location using the AWS SDK." +} diff --git a/.changes/next-release/api-change-notificationscontacts-35486.json b/.changes/next-release/api-change-notificationscontacts-35486.json new file mode 100644 index 000000000000..6d028c0a653d --- /dev/null +++ b/.changes/next-release/api-change-notificationscontacts-35486.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``notificationscontacts``", + "description": "This release adds support for AWS User Notifications Contacts. You can now configure and view email contacts for AWS User Notifications using the AWS SDK." +} diff --git a/.changes/next-release/api-change-resiliencehub-1703.json b/.changes/next-release/api-change-resiliencehub-1703.json new file mode 100644 index 000000000000..12dca5b6f1ef --- /dev/null +++ b/.changes/next-release/api-change-resiliencehub-1703.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``resiliencehub``", + "description": "AWS Resilience Hub's new summary view visually represents applications' resilience through charts, enabling efficient resilience management. It provides a consolidated view of the app portfolio's resilience state and allows data export for custom stakeholder reporting." +} diff --git a/.changes/next-release/api-change-s3-42746.json b/.changes/next-release/api-change-s3-42746.json new file mode 100644 index 000000000000..b3d039f0860f --- /dev/null +++ b/.changes/next-release/api-change-s3-42746.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``s3``", + "description": "Add support for conditional deletes for the S3 DeleteObject and DeleteObjects APIs. Add support for write offset bytes option used to append to objects with the S3 PutObject API." +} diff --git a/.changes/next-release/api-change-ssm-15374.json b/.changes/next-release/api-change-ssm-15374.json new file mode 100644 index 000000000000..fbf7c402035f --- /dev/null +++ b/.changes/next-release/api-change-ssm-15374.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ssm``", + "description": "Added support for providing high-level overviews of managed nodes and previewing the potential impact of a runbook execution." +} diff --git a/.changes/next-release/api-change-ssmquicksetup-61642.json b/.changes/next-release/api-change-ssmquicksetup-61642.json new file mode 100644 index 000000000000..148820a3c16e --- /dev/null +++ b/.changes/next-release/api-change-ssmquicksetup-61642.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ssm-quicksetup``", + "description": "Add methods that retrieve details about deployed configurations: ListConfigurations, GetConfiguration" +} diff --git a/.changes/next-release/api-change-xray-92212.json b/.changes/next-release/api-change-xray-92212.json new file mode 100644 index 000000000000..971f02b78512 --- /dev/null +++ b/.changes/next-release/api-change-xray-92212.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``xray``", + "description": "AWS X-Ray introduces Transaction Search APIs, enabling span ingestion into CloudWatch Logs for high-scale trace data indexing. These APIs support span-level queries, trace graph generation, and metric correlation for deeper application insights." +} From 8d2bc8de32574fd0d851607169b6d026c8430660 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 22 Nov 2024 00:53:30 +0000 Subject: [PATCH 0316/1087] Bumping version to 1.36.8 --- .changes/1.36.8.json | 112 ++++++++++++++++++ .../api-change-apigateway-63002.json | 5 - ...i-change-applicationautoscaling-17368.json | 5 - .../api-change-appsync-36802.json | 5 - .../next-release/api-change-ce-77517.json | 5 - .../api-change-cloudfront-22299.json | 5 - .../api-change-cloudtrail-18814.json | 5 - .../next-release/api-change-ec2-66675.json | 5 - .../api-change-elasticache-46272.json | 5 - .../next-release/api-change-elbv2-48156.json | 5 - .../next-release/api-change-health-6294.json | 5 - .../next-release/api-change-iot-45596.json | 5 - .../api-change-iotfleetwise-69680.json | 5 - .../api-change-iotjobsdata-26450.json | 5 - .../next-release/api-change-lambda-79013.json | 5 - .../next-release/api-change-logs-20898.json | 5 - .../api-change-notifications-88630.json | 5 - ...pi-change-notificationscontacts-35486.json | 5 - .../api-change-resiliencehub-1703.json | 5 - .../next-release/api-change-s3-42746.json | 5 - .../next-release/api-change-ssm-15374.json | 5 - .../api-change-ssmquicksetup-61642.json | 5 - .../next-release/api-change-xray-92212.json | 5 - CHANGELOG.rst | 27 +++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 28 files changed, 143 insertions(+), 114 deletions(-) create mode 100644 .changes/1.36.8.json delete mode 100644 .changes/next-release/api-change-apigateway-63002.json delete mode 100644 .changes/next-release/api-change-applicationautoscaling-17368.json delete mode 100644 .changes/next-release/api-change-appsync-36802.json delete mode 100644 .changes/next-release/api-change-ce-77517.json delete mode 100644 .changes/next-release/api-change-cloudfront-22299.json delete mode 100644 .changes/next-release/api-change-cloudtrail-18814.json delete mode 100644 .changes/next-release/api-change-ec2-66675.json delete mode 100644 .changes/next-release/api-change-elasticache-46272.json delete mode 100644 .changes/next-release/api-change-elbv2-48156.json delete mode 100644 .changes/next-release/api-change-health-6294.json delete mode 100644 .changes/next-release/api-change-iot-45596.json delete mode 100644 .changes/next-release/api-change-iotfleetwise-69680.json delete mode 100644 .changes/next-release/api-change-iotjobsdata-26450.json delete mode 100644 .changes/next-release/api-change-lambda-79013.json delete mode 100644 .changes/next-release/api-change-logs-20898.json delete mode 100644 .changes/next-release/api-change-notifications-88630.json delete mode 100644 .changes/next-release/api-change-notificationscontacts-35486.json delete mode 100644 .changes/next-release/api-change-resiliencehub-1703.json delete mode 100644 .changes/next-release/api-change-s3-42746.json delete mode 100644 .changes/next-release/api-change-ssm-15374.json delete mode 100644 .changes/next-release/api-change-ssmquicksetup-61642.json delete mode 100644 .changes/next-release/api-change-xray-92212.json diff --git a/.changes/1.36.8.json b/.changes/1.36.8.json new file mode 100644 index 000000000000..fb331f935765 --- /dev/null +++ b/.changes/1.36.8.json @@ -0,0 +1,112 @@ +[ + { + "category": "``apigateway``", + "description": "Added support for custom domain names for private APIs.", + "type": "api-change" + }, + { + "category": "``application-autoscaling``", + "description": "Application Auto Scaling now supports Predictive Scaling to proactively increase the desired capacity ahead of predicted demand, ensuring improved availability and responsiveness for customers' applications. This feature is currently only made available for Amazon ECS Service scalable targets.", + "type": "api-change" + }, + { + "category": "``appsync``", + "description": "Add support for the Amazon Bedrock Runtime.", + "type": "api-change" + }, + { + "category": "``ce``", + "description": "This release introduces three new APIs that enable you to estimate the cost, coverage, and utilization impact of Savings Plans you plan to purchase. The three APIs are StartCommitmentPurchaseAnalysis, GetCommitmentPurchaseAnalysis, and ListCommitmentPurchaseAnalyses.", + "type": "api-change" + }, + { + "category": "``cloudfront``", + "description": "Adds support for Origin Selection between EMPv2 origins based on media quality score.", + "type": "api-change" + }, + { + "category": "``cloudtrail``", + "description": "This release introduces new APIs for creating and managing CloudTrail Lake dashboards. It also adds support for resource-based policies on CloudTrail EventDataStore and Dashboard resource.", + "type": "api-change" + }, + { + "category": "``ec2``", + "description": "Adds support for requesting future-dated Capacity Reservations with a minimum commitment duration, enabling IPAM for organizational units within AWS Organizations, reserving EC2 Capacity Blocks that start in 30 minutes, and extending the end date of existing Capacity Blocks.", + "type": "api-change" + }, + { + "category": "``elasticache``", + "description": "Added support to modify the engine type for existing ElastiCache Users and User Groups. Customers can now modify the engine type from redis to valkey.", + "type": "api-change" + }, + { + "category": "``elbv2``", + "description": "This feature adds support for enabling zonal shift on cross-zone enabled Application Load Balancer, as well as modifying HTTP request and response headers.", + "type": "api-change" + }, + { + "category": "``health``", + "description": "Adds metadata property to an AffectedEntity.", + "type": "api-change" + }, + { + "category": "``iot``", + "description": "General Availability (GA) release of AWS IoT Device Management - Commands, to trigger light-weight remote actions on targeted devices", + "type": "api-change" + }, + { + "category": "``iotfleetwise``", + "description": "AWS IoT FleetWise now includes campaign parameters to store and forward data, configure MQTT topic as a data destination, and collect diagnostic trouble code data. It includes APIs for network agnostic data collection using custom decoding interfaces, and monitoring the last known state of vehicles.", + "type": "api-change" + }, + { + "category": "``iot-jobs-data``", + "description": "General Availability (GA) release of AWS IoT Device Management - Commands, to trigger light-weight remote actions on targeted devices", + "type": "api-change" + }, + { + "category": "``lambda``", + "description": "Adds support for metrics for event source mappings for AWS Lambda", + "type": "api-change" + }, + { + "category": "``logs``", + "description": "Adds \"Create field indexes to improve query performance and reduce scan volume\" and \"Transform logs during ingestion\". Updates documentation for \"PutLogEvents with Entity\".", + "type": "api-change" + }, + { + "category": "``notifications``", + "description": "This release adds support for AWS User Notifications. You can now configure and view notifications from AWS services in a central location using the AWS SDK.", + "type": "api-change" + }, + { + "category": "``notificationscontacts``", + "description": "This release adds support for AWS User Notifications Contacts. You can now configure and view email contacts for AWS User Notifications using the AWS SDK.", + "type": "api-change" + }, + { + "category": "``resiliencehub``", + "description": "AWS Resilience Hub's new summary view visually represents applications' resilience through charts, enabling efficient resilience management. It provides a consolidated view of the app portfolio's resilience state and allows data export for custom stakeholder reporting.", + "type": "api-change" + }, + { + "category": "``s3``", + "description": "Add support for conditional deletes for the S3 DeleteObject and DeleteObjects APIs. Add support for write offset bytes option used to append to objects with the S3 PutObject API.", + "type": "api-change" + }, + { + "category": "``ssm``", + "description": "Added support for providing high-level overviews of managed nodes and previewing the potential impact of a runbook execution.", + "type": "api-change" + }, + { + "category": "``ssm-quicksetup``", + "description": "Add methods that retrieve details about deployed configurations: ListConfigurations, GetConfiguration", + "type": "api-change" + }, + { + "category": "``xray``", + "description": "AWS X-Ray introduces Transaction Search APIs, enabling span ingestion into CloudWatch Logs for high-scale trace data indexing. These APIs support span-level queries, trace graph generation, and metric correlation for deeper application insights.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-apigateway-63002.json b/.changes/next-release/api-change-apigateway-63002.json deleted file mode 100644 index e955fd10dc9a..000000000000 --- a/.changes/next-release/api-change-apigateway-63002.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``apigateway``", - "description": "Added support for custom domain names for private APIs." -} diff --git a/.changes/next-release/api-change-applicationautoscaling-17368.json b/.changes/next-release/api-change-applicationautoscaling-17368.json deleted file mode 100644 index 21ec62315a09..000000000000 --- a/.changes/next-release/api-change-applicationautoscaling-17368.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``application-autoscaling``", - "description": "Application Auto Scaling now supports Predictive Scaling to proactively increase the desired capacity ahead of predicted demand, ensuring improved availability and responsiveness for customers' applications. This feature is currently only made available for Amazon ECS Service scalable targets." -} diff --git a/.changes/next-release/api-change-appsync-36802.json b/.changes/next-release/api-change-appsync-36802.json deleted file mode 100644 index f5cf44cbb270..000000000000 --- a/.changes/next-release/api-change-appsync-36802.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``appsync``", - "description": "Add support for the Amazon Bedrock Runtime." -} diff --git a/.changes/next-release/api-change-ce-77517.json b/.changes/next-release/api-change-ce-77517.json deleted file mode 100644 index 511ecaf195c8..000000000000 --- a/.changes/next-release/api-change-ce-77517.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ce``", - "description": "This release introduces three new APIs that enable you to estimate the cost, coverage, and utilization impact of Savings Plans you plan to purchase. The three APIs are StartCommitmentPurchaseAnalysis, GetCommitmentPurchaseAnalysis, and ListCommitmentPurchaseAnalyses." -} diff --git a/.changes/next-release/api-change-cloudfront-22299.json b/.changes/next-release/api-change-cloudfront-22299.json deleted file mode 100644 index eb751977a633..000000000000 --- a/.changes/next-release/api-change-cloudfront-22299.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``cloudfront``", - "description": "Adds support for Origin Selection between EMPv2 origins based on media quality score." -} diff --git a/.changes/next-release/api-change-cloudtrail-18814.json b/.changes/next-release/api-change-cloudtrail-18814.json deleted file mode 100644 index 357c5156b639..000000000000 --- a/.changes/next-release/api-change-cloudtrail-18814.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``cloudtrail``", - "description": "This release introduces new APIs for creating and managing CloudTrail Lake dashboards. It also adds support for resource-based policies on CloudTrail EventDataStore and Dashboard resource." -} diff --git a/.changes/next-release/api-change-ec2-66675.json b/.changes/next-release/api-change-ec2-66675.json deleted file mode 100644 index 2361b0a28fd8..000000000000 --- a/.changes/next-release/api-change-ec2-66675.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ec2``", - "description": "Adds support for requesting future-dated Capacity Reservations with a minimum commitment duration, enabling IPAM for organizational units within AWS Organizations, reserving EC2 Capacity Blocks that start in 30 minutes, and extending the end date of existing Capacity Blocks." -} diff --git a/.changes/next-release/api-change-elasticache-46272.json b/.changes/next-release/api-change-elasticache-46272.json deleted file mode 100644 index 9eb4b203905d..000000000000 --- a/.changes/next-release/api-change-elasticache-46272.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``elasticache``", - "description": "Added support to modify the engine type for existing ElastiCache Users and User Groups. Customers can now modify the engine type from redis to valkey." -} diff --git a/.changes/next-release/api-change-elbv2-48156.json b/.changes/next-release/api-change-elbv2-48156.json deleted file mode 100644 index f280c517f336..000000000000 --- a/.changes/next-release/api-change-elbv2-48156.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``elbv2``", - "description": "This feature adds support for enabling zonal shift on cross-zone enabled Application Load Balancer, as well as modifying HTTP request and response headers." -} diff --git a/.changes/next-release/api-change-health-6294.json b/.changes/next-release/api-change-health-6294.json deleted file mode 100644 index cf68fc3620c1..000000000000 --- a/.changes/next-release/api-change-health-6294.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``health``", - "description": "Adds metadata property to an AffectedEntity." -} diff --git a/.changes/next-release/api-change-iot-45596.json b/.changes/next-release/api-change-iot-45596.json deleted file mode 100644 index affdf34feef8..000000000000 --- a/.changes/next-release/api-change-iot-45596.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``iot``", - "description": "General Availability (GA) release of AWS IoT Device Management - Commands, to trigger light-weight remote actions on targeted devices" -} diff --git a/.changes/next-release/api-change-iotfleetwise-69680.json b/.changes/next-release/api-change-iotfleetwise-69680.json deleted file mode 100644 index e91badd0f76c..000000000000 --- a/.changes/next-release/api-change-iotfleetwise-69680.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``iotfleetwise``", - "description": "AWS IoT FleetWise now includes campaign parameters to store and forward data, configure MQTT topic as a data destination, and collect diagnostic trouble code data. It includes APIs for network agnostic data collection using custom decoding interfaces, and monitoring the last known state of vehicles." -} diff --git a/.changes/next-release/api-change-iotjobsdata-26450.json b/.changes/next-release/api-change-iotjobsdata-26450.json deleted file mode 100644 index 03a9c8c6788d..000000000000 --- a/.changes/next-release/api-change-iotjobsdata-26450.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``iot-jobs-data``", - "description": "General Availability (GA) release of AWS IoT Device Management - Commands, to trigger light-weight remote actions on targeted devices" -} diff --git a/.changes/next-release/api-change-lambda-79013.json b/.changes/next-release/api-change-lambda-79013.json deleted file mode 100644 index ac25eb79678a..000000000000 --- a/.changes/next-release/api-change-lambda-79013.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``lambda``", - "description": "Adds support for metrics for event source mappings for AWS Lambda" -} diff --git a/.changes/next-release/api-change-logs-20898.json b/.changes/next-release/api-change-logs-20898.json deleted file mode 100644 index 93bafdf837a6..000000000000 --- a/.changes/next-release/api-change-logs-20898.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``logs``", - "description": "Adds \"Create field indexes to improve query performance and reduce scan volume\" and \"Transform logs during ingestion\". Updates documentation for \"PutLogEvents with Entity\"." -} diff --git a/.changes/next-release/api-change-notifications-88630.json b/.changes/next-release/api-change-notifications-88630.json deleted file mode 100644 index 18d1d49efa2a..000000000000 --- a/.changes/next-release/api-change-notifications-88630.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``notifications``", - "description": "This release adds support for AWS User Notifications. You can now configure and view notifications from AWS services in a central location using the AWS SDK." -} diff --git a/.changes/next-release/api-change-notificationscontacts-35486.json b/.changes/next-release/api-change-notificationscontacts-35486.json deleted file mode 100644 index 6d028c0a653d..000000000000 --- a/.changes/next-release/api-change-notificationscontacts-35486.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``notificationscontacts``", - "description": "This release adds support for AWS User Notifications Contacts. You can now configure and view email contacts for AWS User Notifications using the AWS SDK." -} diff --git a/.changes/next-release/api-change-resiliencehub-1703.json b/.changes/next-release/api-change-resiliencehub-1703.json deleted file mode 100644 index 12dca5b6f1ef..000000000000 --- a/.changes/next-release/api-change-resiliencehub-1703.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``resiliencehub``", - "description": "AWS Resilience Hub's new summary view visually represents applications' resilience through charts, enabling efficient resilience management. It provides a consolidated view of the app portfolio's resilience state and allows data export for custom stakeholder reporting." -} diff --git a/.changes/next-release/api-change-s3-42746.json b/.changes/next-release/api-change-s3-42746.json deleted file mode 100644 index b3d039f0860f..000000000000 --- a/.changes/next-release/api-change-s3-42746.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``s3``", - "description": "Add support for conditional deletes for the S3 DeleteObject and DeleteObjects APIs. Add support for write offset bytes option used to append to objects with the S3 PutObject API." -} diff --git a/.changes/next-release/api-change-ssm-15374.json b/.changes/next-release/api-change-ssm-15374.json deleted file mode 100644 index fbf7c402035f..000000000000 --- a/.changes/next-release/api-change-ssm-15374.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ssm``", - "description": "Added support for providing high-level overviews of managed nodes and previewing the potential impact of a runbook execution." -} diff --git a/.changes/next-release/api-change-ssmquicksetup-61642.json b/.changes/next-release/api-change-ssmquicksetup-61642.json deleted file mode 100644 index 148820a3c16e..000000000000 --- a/.changes/next-release/api-change-ssmquicksetup-61642.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ssm-quicksetup``", - "description": "Add methods that retrieve details about deployed configurations: ListConfigurations, GetConfiguration" -} diff --git a/.changes/next-release/api-change-xray-92212.json b/.changes/next-release/api-change-xray-92212.json deleted file mode 100644 index 971f02b78512..000000000000 --- a/.changes/next-release/api-change-xray-92212.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``xray``", - "description": "AWS X-Ray introduces Transaction Search APIs, enabling span ingestion into CloudWatch Logs for high-scale trace data indexing. These APIs support span-level queries, trace graph generation, and metric correlation for deeper application insights." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index d61e5c7f75d4..13b1c90a8e81 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,33 @@ CHANGELOG ========= +1.36.8 +====== + +* api-change:``apigateway``: Added support for custom domain names for private APIs. +* api-change:``application-autoscaling``: Application Auto Scaling now supports Predictive Scaling to proactively increase the desired capacity ahead of predicted demand, ensuring improved availability and responsiveness for customers' applications. This feature is currently only made available for Amazon ECS Service scalable targets. +* api-change:``appsync``: Add support for the Amazon Bedrock Runtime. +* api-change:``ce``: This release introduces three new APIs that enable you to estimate the cost, coverage, and utilization impact of Savings Plans you plan to purchase. The three APIs are StartCommitmentPurchaseAnalysis, GetCommitmentPurchaseAnalysis, and ListCommitmentPurchaseAnalyses. +* api-change:``cloudfront``: Adds support for Origin Selection between EMPv2 origins based on media quality score. +* api-change:``cloudtrail``: This release introduces new APIs for creating and managing CloudTrail Lake dashboards. It also adds support for resource-based policies on CloudTrail EventDataStore and Dashboard resource. +* api-change:``ec2``: Adds support for requesting future-dated Capacity Reservations with a minimum commitment duration, enabling IPAM for organizational units within AWS Organizations, reserving EC2 Capacity Blocks that start in 30 minutes, and extending the end date of existing Capacity Blocks. +* api-change:``elasticache``: Added support to modify the engine type for existing ElastiCache Users and User Groups. Customers can now modify the engine type from redis to valkey. +* api-change:``elbv2``: This feature adds support for enabling zonal shift on cross-zone enabled Application Load Balancer, as well as modifying HTTP request and response headers. +* api-change:``health``: Adds metadata property to an AffectedEntity. +* api-change:``iot``: General Availability (GA) release of AWS IoT Device Management - Commands, to trigger light-weight remote actions on targeted devices +* api-change:``iotfleetwise``: AWS IoT FleetWise now includes campaign parameters to store and forward data, configure MQTT topic as a data destination, and collect diagnostic trouble code data. It includes APIs for network agnostic data collection using custom decoding interfaces, and monitoring the last known state of vehicles. +* api-change:``iot-jobs-data``: General Availability (GA) release of AWS IoT Device Management - Commands, to trigger light-weight remote actions on targeted devices +* api-change:``lambda``: Adds support for metrics for event source mappings for AWS Lambda +* api-change:``logs``: Adds "Create field indexes to improve query performance and reduce scan volume" and "Transform logs during ingestion". Updates documentation for "PutLogEvents with Entity". +* api-change:``notifications``: This release adds support for AWS User Notifications. You can now configure and view notifications from AWS services in a central location using the AWS SDK. +* api-change:``notificationscontacts``: This release adds support for AWS User Notifications Contacts. You can now configure and view email contacts for AWS User Notifications using the AWS SDK. +* api-change:``resiliencehub``: AWS Resilience Hub's new summary view visually represents applications' resilience through charts, enabling efficient resilience management. It provides a consolidated view of the app portfolio's resilience state and allows data export for custom stakeholder reporting. +* api-change:``s3``: Add support for conditional deletes for the S3 DeleteObject and DeleteObjects APIs. Add support for write offset bytes option used to append to objects with the S3 PutObject API. +* api-change:``ssm``: Added support for providing high-level overviews of managed nodes and previewing the potential impact of a runbook execution. +* api-change:``ssm-quicksetup``: Add methods that retrieve details about deployed configurations: ListConfigurations, GetConfiguration +* api-change:``xray``: AWS X-Ray introduces Transaction Search APIs, enabling span ingestion into CloudWatch Logs for high-scale trace data indexing. These APIs support span-level queries, trace graph generation, and metric correlation for deeper application insights. + + 1.36.7 ====== diff --git a/awscli/__init__.py b/awscli/__init__.py index c981cb8dcb5f..0e8d865923fa 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.36.7' +__version__ = '1.36.8' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 8aeb627d6bb0..969b2bb4d790 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.36' # The full version, including alpha/beta/rc tags. -release = '1.36.7' +release = '1.36.8' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 9de8090db109..8a52347b0d00 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.66 + botocore==1.35.67 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 35dd9fa5afd5..378d3329dacc 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.66', + 'botocore==1.35.67', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 1cc1db338e464c5e41b585c7cf21bfe943ba0835 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 22 Nov 2024 19:10:37 +0000 Subject: [PATCH 0317/1087] Merge customizations for EMR --- awscli/customizations/emr/argumentschema.py | 16 ++++++++++++ .../emr/test_create_cluster_release_label.py | 26 +++++++++++++++++++ 2 files changed, 42 insertions(+) diff --git a/awscli/customizations/emr/argumentschema.py b/awscli/customizations/emr/argumentschema.py index e3f64dc47002..2022480a56ca 100644 --- a/awscli/customizations/emr/argumentschema.py +++ b/awscli/customizations/emr/argumentschema.py @@ -849,6 +849,22 @@ "The parameter is used to split capacity allocation between core and task nodes." } } + }, + "ScalingStrategy": { + "type": "string", + "enum": ["DEFAULT", "ADVANCED"], + "description": + "Determines whether a custom scaling utilization performance index can be set. " + "Possible values include ADVANCED or DEFAULT." + }, + "UtilizationPerformanceIndex": { + "type": "integer", + "description": + "An integer value that represents an advanced scaling strategy. " + "Setting a higher value optimizes for performance. " + "Setting a lower value optimizes for resource conservation. " + "Setting the value to 50 balances performance and resource conservation. " + "Possible values are 1, 25, 50, 75, and 100." } } } diff --git a/tests/unit/customizations/emr/test_create_cluster_release_label.py b/tests/unit/customizations/emr/test_create_cluster_release_label.py index 5fef58312559..841f68ccf0d2 100644 --- a/tests/unit/customizations/emr/test_create_cluster_release_label.py +++ b/tests/unit/customizations/emr/test_create_cluster_release_label.py @@ -1496,6 +1496,32 @@ def test_create_cluster_with_managed_scaling_policy(self): } self.assert_params_for_cmd(cmd, result) + def test_create_cluster_with_managed_scaling_policy_customer_knobs(self): + cmd = (self.prefix + '--release-label emr-5.28.0 --security-configuration MySecurityConfig ' + + '--managed-scaling-policy ComputeLimits={MinimumCapacityUnits=2,MaximumCapacityUnits=4,' + + 'UnitType=Instances,MaximumCoreCapacityUnits=1},ScalingStrategy=ADVANCED,' + + 'UtilizationPerformanceIndex=1 --instance-groups ' + DEFAULT_INSTANCE_GROUPS_ARG) + result = \ + { + 'Name': DEFAULT_CLUSTER_NAME, + 'Instances': DEFAULT_INSTANCES, + 'ReleaseLabel': 'emr-5.28.0', + 'VisibleToAllUsers': True, + 'Tags': [], + 'ManagedScalingPolicy': { + 'ComputeLimits': { + 'MinimumCapacityUnits': 2, + 'MaximumCapacityUnits': 4, + 'UnitType': 'Instances', + 'MaximumCoreCapacityUnits': 1 + }, + 'ScalingStrategy': 'ADVANCED', + 'UtilizationPerformanceIndex': 1, + }, + 'SecurityConfiguration': 'MySecurityConfig' + } + self.assert_params_for_cmd(cmd, result) + def test_create_cluster_with_auto_termination_policy(self): cmd = (self.prefix + '--release-label emr-5.34.0 ' + '--auto-termination-policy IdleTimeout=100 ' + From 84cd3845a74f087ef6e1a8b59ab939f2297a98d6 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 22 Nov 2024 19:10:37 +0000 Subject: [PATCH 0318/1087] Merge customizations for Bedrock Agent Runtime --- awscli/customizations/removals.py | 1 + 1 file changed, 1 insertion(+) diff --git a/awscli/customizations/removals.py b/awscli/customizations/removals.py index af7894e90c19..ad986d1ebbf8 100644 --- a/awscli/customizations/removals.py +++ b/awscli/customizations/removals.py @@ -56,6 +56,7 @@ def register_removals(event_handler): cmd_remover.remove(on_event='building-command-table.bedrock-agent-runtime', remove_commands=['invoke-agent', 'invoke-flow', + 'invoke-inline-agent', 'optimize-prompt']) cmd_remover.remove(on_event='building-command-table.qbusiness', remove_commands=['chat']) From 478cb054e26a89e0cd18f456e084e636ba98619f Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 22 Nov 2024 19:10:43 +0000 Subject: [PATCH 0319/1087] Update changelog based on model updates --- .changes/next-release/api-change-autoscaling-71496.json | 5 +++++ .../next-release/api-change-bcmpricingcalculator-57102.json | 5 +++++ .../next-release/api-change-bedrockagentruntime-41306.json | 5 +++++ .changes/next-release/api-change-ce-98876.json | 5 +++++ .changes/next-release/api-change-chatbot-81188.json | 5 +++++ .changes/next-release/api-change-codepipeline-28045.json | 5 +++++ .changes/next-release/api-change-cognitoidp-3247.json | 5 +++++ .changes/next-release/api-change-connect-96625.json | 5 +++++ .changes/next-release/api-change-elbv2-32429.json | 5 +++++ .changes/next-release/api-change-emr-40799.json | 5 +++++ .changes/next-release/api-change-inspector2-6787.json | 5 +++++ .changes/next-release/api-change-lambda-47881.json | 5 +++++ .changes/next-release/api-change-mailmanager-62413.json | 5 +++++ .changes/next-release/api-change-neptunegraph-12418.json | 5 +++++ .changes/next-release/api-change-omics-14565.json | 5 +++++ .changes/next-release/api-change-quicksight-93035.json | 5 +++++ .changes/next-release/api-change-sagemaker-63067.json | 5 +++++ .changes/next-release/api-change-ses-30272.json | 5 +++++ .changes/next-release/api-change-sns-50181.json | 5 +++++ .changes/next-release/api-change-stepfunctions-95183.json | 5 +++++ .changes/next-release/api-change-workspaces-47480.json | 5 +++++ 21 files changed, 105 insertions(+) create mode 100644 .changes/next-release/api-change-autoscaling-71496.json create mode 100644 .changes/next-release/api-change-bcmpricingcalculator-57102.json create mode 100644 .changes/next-release/api-change-bedrockagentruntime-41306.json create mode 100644 .changes/next-release/api-change-ce-98876.json create mode 100644 .changes/next-release/api-change-chatbot-81188.json create mode 100644 .changes/next-release/api-change-codepipeline-28045.json create mode 100644 .changes/next-release/api-change-cognitoidp-3247.json create mode 100644 .changes/next-release/api-change-connect-96625.json create mode 100644 .changes/next-release/api-change-elbv2-32429.json create mode 100644 .changes/next-release/api-change-emr-40799.json create mode 100644 .changes/next-release/api-change-inspector2-6787.json create mode 100644 .changes/next-release/api-change-lambda-47881.json create mode 100644 .changes/next-release/api-change-mailmanager-62413.json create mode 100644 .changes/next-release/api-change-neptunegraph-12418.json create mode 100644 .changes/next-release/api-change-omics-14565.json create mode 100644 .changes/next-release/api-change-quicksight-93035.json create mode 100644 .changes/next-release/api-change-sagemaker-63067.json create mode 100644 .changes/next-release/api-change-ses-30272.json create mode 100644 .changes/next-release/api-change-sns-50181.json create mode 100644 .changes/next-release/api-change-stepfunctions-95183.json create mode 100644 .changes/next-release/api-change-workspaces-47480.json diff --git a/.changes/next-release/api-change-autoscaling-71496.json b/.changes/next-release/api-change-autoscaling-71496.json new file mode 100644 index 000000000000..e313ec51143d --- /dev/null +++ b/.changes/next-release/api-change-autoscaling-71496.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``autoscaling``", + "description": "Now, Amazon EC2 Auto Scaling customers can enable target tracking policies to take quicker scaling decisions, enhancing their application performance and EC2 utilization. To get started, specify target tracking to monitor a metric that is available on Amazon CloudWatch at seconds-level interval." +} diff --git a/.changes/next-release/api-change-bcmpricingcalculator-57102.json b/.changes/next-release/api-change-bcmpricingcalculator-57102.json new file mode 100644 index 000000000000..cae6dd6b5363 --- /dev/null +++ b/.changes/next-release/api-change-bcmpricingcalculator-57102.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bcm-pricing-calculator``", + "description": "Initial release of the AWS Billing and Cost Management Pricing Calculator API." +} diff --git a/.changes/next-release/api-change-bedrockagentruntime-41306.json b/.changes/next-release/api-change-bedrockagentruntime-41306.json new file mode 100644 index 000000000000..592bff0ed421 --- /dev/null +++ b/.changes/next-release/api-change-bedrockagentruntime-41306.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-agent-runtime``", + "description": "InvokeInlineAgent API release to help invoke runtime agents without any dependency on preconfigured agents." +} diff --git a/.changes/next-release/api-change-ce-98876.json b/.changes/next-release/api-change-ce-98876.json new file mode 100644 index 000000000000..fa02d3f30532 --- /dev/null +++ b/.changes/next-release/api-change-ce-98876.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ce``", + "description": "This release adds the Impact field(contains Contribution field) to the GetAnomalies API response under RootCause" +} diff --git a/.changes/next-release/api-change-chatbot-81188.json b/.changes/next-release/api-change-chatbot-81188.json new file mode 100644 index 000000000000..b41908ea181a --- /dev/null +++ b/.changes/next-release/api-change-chatbot-81188.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``chatbot``", + "description": "Adds support for programmatic management of custom actions and aliases which can be associated with channel configurations." +} diff --git a/.changes/next-release/api-change-codepipeline-28045.json b/.changes/next-release/api-change-codepipeline-28045.json new file mode 100644 index 000000000000..5b8c529661ce --- /dev/null +++ b/.changes/next-release/api-change-codepipeline-28045.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``codepipeline``", + "description": "AWS CodePipeline V2 type pipelines now support ECRBuildAndPublish and InspectorScan actions." +} diff --git a/.changes/next-release/api-change-cognitoidp-3247.json b/.changes/next-release/api-change-cognitoidp-3247.json new file mode 100644 index 000000000000..cea52e86756f --- /dev/null +++ b/.changes/next-release/api-change-cognitoidp-3247.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``cognito-idp``", + "description": "Add support for users to sign up and sign in without passwords, using email and SMS OTPs and Passkeys. Add support for Passkeys based on WebAuthn. Add support for enhanced branding customization for hosted authentication pages with Amazon Cognito Managed Login. Add feature tiers with new pricing." +} diff --git a/.changes/next-release/api-change-connect-96625.json b/.changes/next-release/api-change-connect-96625.json new file mode 100644 index 000000000000..09f5588810d2 --- /dev/null +++ b/.changes/next-release/api-change-connect-96625.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``connect``", + "description": "Amazon Connect Service Feature: Add APIs for Amazon Connect Email Channel" +} diff --git a/.changes/next-release/api-change-elbv2-32429.json b/.changes/next-release/api-change-elbv2-32429.json new file mode 100644 index 000000000000..01fc73160e8b --- /dev/null +++ b/.changes/next-release/api-change-elbv2-32429.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``elbv2``", + "description": "This release adds support for advertising trusted CA certificate names in associated trust stores." +} diff --git a/.changes/next-release/api-change-emr-40799.json b/.changes/next-release/api-change-emr-40799.json new file mode 100644 index 000000000000..358d0d91aedb --- /dev/null +++ b/.changes/next-release/api-change-emr-40799.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``emr``", + "description": "Advanced Scaling in Amazon EMR Managed Scaling" +} diff --git a/.changes/next-release/api-change-inspector2-6787.json b/.changes/next-release/api-change-inspector2-6787.json new file mode 100644 index 000000000000..079b38e15c95 --- /dev/null +++ b/.changes/next-release/api-change-inspector2-6787.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``inspector2``", + "description": "Extend inspector2 service model to include ServiceQuotaExceededException." +} diff --git a/.changes/next-release/api-change-lambda-47881.json b/.changes/next-release/api-change-lambda-47881.json new file mode 100644 index 000000000000..f3c4f8028cd5 --- /dev/null +++ b/.changes/next-release/api-change-lambda-47881.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``lambda``", + "description": "Add ProvisionedPollerConfig to Lambda event-source-mapping API." +} diff --git a/.changes/next-release/api-change-mailmanager-62413.json b/.changes/next-release/api-change-mailmanager-62413.json new file mode 100644 index 000000000000..3b20711fdef3 --- /dev/null +++ b/.changes/next-release/api-change-mailmanager-62413.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``mailmanager``", + "description": "Added new \"DeliverToQBusiness\" rule action to MailManager RulesSet for ingesting email data into Amazon Q Business customer applications" +} diff --git a/.changes/next-release/api-change-neptunegraph-12418.json b/.changes/next-release/api-change-neptunegraph-12418.json new file mode 100644 index 000000000000..3b8b603ed799 --- /dev/null +++ b/.changes/next-release/api-change-neptunegraph-12418.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``neptune-graph``", + "description": "Add 4 new APIs to support new Export features, allowing Parquet and CSV formats. Add new arguments in Import APIs to support Parquet import. Add a new query \"neptune.read\" to run algorithms without loading data into database" +} diff --git a/.changes/next-release/api-change-omics-14565.json b/.changes/next-release/api-change-omics-14565.json new file mode 100644 index 000000000000..1bf3d5d62e81 --- /dev/null +++ b/.changes/next-release/api-change-omics-14565.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``omics``", + "description": "This release adds support for resource policy based cross account S3 access to sequence store read sets." +} diff --git a/.changes/next-release/api-change-quicksight-93035.json b/.changes/next-release/api-change-quicksight-93035.json new file mode 100644 index 000000000000..bfd6c0490708 --- /dev/null +++ b/.changes/next-release/api-change-quicksight-93035.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``quicksight``", + "description": "This release includes: Update APIs to support Image, Layer Map, font customization, and Plugin Visual. Add Identity center related information in ListNamsespace API. Update API for restrictedFolder support in topics and add API for SearchTopics, Describe/Update DashboardsQA Configration." +} diff --git a/.changes/next-release/api-change-sagemaker-63067.json b/.changes/next-release/api-change-sagemaker-63067.json new file mode 100644 index 000000000000..858131b6654e --- /dev/null +++ b/.changes/next-release/api-change-sagemaker-63067.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``sagemaker``", + "description": "This release adds APIs for new features for SageMaker endpoint to scale down to zero instances, native support for multi-adapter inference, and endpoint scaling improvements." +} diff --git a/.changes/next-release/api-change-ses-30272.json b/.changes/next-release/api-change-ses-30272.json new file mode 100644 index 000000000000..dc955a9cfee2 --- /dev/null +++ b/.changes/next-release/api-change-ses-30272.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ses``", + "description": "This release adds support for starting email contacts in your Amazon Connect instance as an email receiving action." +} diff --git a/.changes/next-release/api-change-sns-50181.json b/.changes/next-release/api-change-sns-50181.json new file mode 100644 index 000000000000..05b7a2ed6ded --- /dev/null +++ b/.changes/next-release/api-change-sns-50181.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``sns``", + "description": "ArchivePolicy attribute added to Archive and Replay feature" +} diff --git a/.changes/next-release/api-change-stepfunctions-95183.json b/.changes/next-release/api-change-stepfunctions-95183.json new file mode 100644 index 000000000000..5f5b01327dc4 --- /dev/null +++ b/.changes/next-release/api-change-stepfunctions-95183.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``stepfunctions``", + "description": "Add support for variables and JSONata in TestState, GetExecutionHistory, DescribeStateMachine, and DescribeStateMachineForExecution" +} diff --git a/.changes/next-release/api-change-workspaces-47480.json b/.changes/next-release/api-change-workspaces-47480.json new file mode 100644 index 000000000000..af778581797c --- /dev/null +++ b/.changes/next-release/api-change-workspaces-47480.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``workspaces``", + "description": "While integrating WSP-DCV rebrand, a few mentions were erroneously renamed from WSP to DCV. This release reverts those mentions back to WSP." +} From 87df0c0466d6c4260217c23b918c83b5dce4e3e4 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 22 Nov 2024 19:11:51 +0000 Subject: [PATCH 0320/1087] Bumping version to 1.36.9 --- .changes/1.36.9.json | 107 ++++++++++++++++++ .../api-change-autoscaling-71496.json | 5 - ...api-change-bcmpricingcalculator-57102.json | 5 - .../api-change-bedrockagentruntime-41306.json | 5 - .../next-release/api-change-ce-98876.json | 5 - .../api-change-chatbot-81188.json | 5 - .../api-change-codepipeline-28045.json | 5 - .../api-change-cognitoidp-3247.json | 5 - .../api-change-connect-96625.json | 5 - .../next-release/api-change-elbv2-32429.json | 5 - .../next-release/api-change-emr-40799.json | 5 - .../api-change-inspector2-6787.json | 5 - .../next-release/api-change-lambda-47881.json | 5 - .../api-change-mailmanager-62413.json | 5 - .../api-change-neptunegraph-12418.json | 5 - .../next-release/api-change-omics-14565.json | 5 - .../api-change-quicksight-93035.json | 5 - .../api-change-sagemaker-63067.json | 5 - .../next-release/api-change-ses-30272.json | 5 - .../next-release/api-change-sns-50181.json | 5 - .../api-change-stepfunctions-95183.json | 5 - .../api-change-workspaces-47480.json | 5 - CHANGELOG.rst | 26 +++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 27 files changed, 137 insertions(+), 109 deletions(-) create mode 100644 .changes/1.36.9.json delete mode 100644 .changes/next-release/api-change-autoscaling-71496.json delete mode 100644 .changes/next-release/api-change-bcmpricingcalculator-57102.json delete mode 100644 .changes/next-release/api-change-bedrockagentruntime-41306.json delete mode 100644 .changes/next-release/api-change-ce-98876.json delete mode 100644 .changes/next-release/api-change-chatbot-81188.json delete mode 100644 .changes/next-release/api-change-codepipeline-28045.json delete mode 100644 .changes/next-release/api-change-cognitoidp-3247.json delete mode 100644 .changes/next-release/api-change-connect-96625.json delete mode 100644 .changes/next-release/api-change-elbv2-32429.json delete mode 100644 .changes/next-release/api-change-emr-40799.json delete mode 100644 .changes/next-release/api-change-inspector2-6787.json delete mode 100644 .changes/next-release/api-change-lambda-47881.json delete mode 100644 .changes/next-release/api-change-mailmanager-62413.json delete mode 100644 .changes/next-release/api-change-neptunegraph-12418.json delete mode 100644 .changes/next-release/api-change-omics-14565.json delete mode 100644 .changes/next-release/api-change-quicksight-93035.json delete mode 100644 .changes/next-release/api-change-sagemaker-63067.json delete mode 100644 .changes/next-release/api-change-ses-30272.json delete mode 100644 .changes/next-release/api-change-sns-50181.json delete mode 100644 .changes/next-release/api-change-stepfunctions-95183.json delete mode 100644 .changes/next-release/api-change-workspaces-47480.json diff --git a/.changes/1.36.9.json b/.changes/1.36.9.json new file mode 100644 index 000000000000..2053793705e5 --- /dev/null +++ b/.changes/1.36.9.json @@ -0,0 +1,107 @@ +[ + { + "category": "``autoscaling``", + "description": "Now, Amazon EC2 Auto Scaling customers can enable target tracking policies to take quicker scaling decisions, enhancing their application performance and EC2 utilization. To get started, specify target tracking to monitor a metric that is available on Amazon CloudWatch at seconds-level interval.", + "type": "api-change" + }, + { + "category": "``bcm-pricing-calculator``", + "description": "Initial release of the AWS Billing and Cost Management Pricing Calculator API.", + "type": "api-change" + }, + { + "category": "``bedrock-agent-runtime``", + "description": "InvokeInlineAgent API release to help invoke runtime agents without any dependency on preconfigured agents.", + "type": "api-change" + }, + { + "category": "``ce``", + "description": "This release adds the Impact field(contains Contribution field) to the GetAnomalies API response under RootCause", + "type": "api-change" + }, + { + "category": "``chatbot``", + "description": "Adds support for programmatic management of custom actions and aliases which can be associated with channel configurations.", + "type": "api-change" + }, + { + "category": "``codepipeline``", + "description": "AWS CodePipeline V2 type pipelines now support ECRBuildAndPublish and InspectorScan actions.", + "type": "api-change" + }, + { + "category": "``cognito-idp``", + "description": "Add support for users to sign up and sign in without passwords, using email and SMS OTPs and Passkeys. Add support for Passkeys based on WebAuthn. Add support for enhanced branding customization for hosted authentication pages with Amazon Cognito Managed Login. Add feature tiers with new pricing.", + "type": "api-change" + }, + { + "category": "``connect``", + "description": "Amazon Connect Service Feature: Add APIs for Amazon Connect Email Channel", + "type": "api-change" + }, + { + "category": "``elbv2``", + "description": "This release adds support for advertising trusted CA certificate names in associated trust stores.", + "type": "api-change" + }, + { + "category": "``emr``", + "description": "Advanced Scaling in Amazon EMR Managed Scaling", + "type": "api-change" + }, + { + "category": "``inspector2``", + "description": "Extend inspector2 service model to include ServiceQuotaExceededException.", + "type": "api-change" + }, + { + "category": "``lambda``", + "description": "Add ProvisionedPollerConfig to Lambda event-source-mapping API.", + "type": "api-change" + }, + { + "category": "``mailmanager``", + "description": "Added new \"DeliverToQBusiness\" rule action to MailManager RulesSet for ingesting email data into Amazon Q Business customer applications", + "type": "api-change" + }, + { + "category": "``neptune-graph``", + "description": "Add 4 new APIs to support new Export features, allowing Parquet and CSV formats. Add new arguments in Import APIs to support Parquet import. Add a new query \"neptune.read\" to run algorithms without loading data into database", + "type": "api-change" + }, + { + "category": "``omics``", + "description": "This release adds support for resource policy based cross account S3 access to sequence store read sets.", + "type": "api-change" + }, + { + "category": "``quicksight``", + "description": "This release includes: Update APIs to support Image, Layer Map, font customization, and Plugin Visual. Add Identity center related information in ListNamsespace API. Update API for restrictedFolder support in topics and add API for SearchTopics, Describe/Update DashboardsQA Configration.", + "type": "api-change" + }, + { + "category": "``sagemaker``", + "description": "This release adds APIs for new features for SageMaker endpoint to scale down to zero instances, native support for multi-adapter inference, and endpoint scaling improvements.", + "type": "api-change" + }, + { + "category": "``ses``", + "description": "This release adds support for starting email contacts in your Amazon Connect instance as an email receiving action.", + "type": "api-change" + }, + { + "category": "``sns``", + "description": "ArchivePolicy attribute added to Archive and Replay feature", + "type": "api-change" + }, + { + "category": "``stepfunctions``", + "description": "Add support for variables and JSONata in TestState, GetExecutionHistory, DescribeStateMachine, and DescribeStateMachineForExecution", + "type": "api-change" + }, + { + "category": "``workspaces``", + "description": "While integrating WSP-DCV rebrand, a few mentions were erroneously renamed from WSP to DCV. This release reverts those mentions back to WSP.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-autoscaling-71496.json b/.changes/next-release/api-change-autoscaling-71496.json deleted file mode 100644 index e313ec51143d..000000000000 --- a/.changes/next-release/api-change-autoscaling-71496.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``autoscaling``", - "description": "Now, Amazon EC2 Auto Scaling customers can enable target tracking policies to take quicker scaling decisions, enhancing their application performance and EC2 utilization. To get started, specify target tracking to monitor a metric that is available on Amazon CloudWatch at seconds-level interval." -} diff --git a/.changes/next-release/api-change-bcmpricingcalculator-57102.json b/.changes/next-release/api-change-bcmpricingcalculator-57102.json deleted file mode 100644 index cae6dd6b5363..000000000000 --- a/.changes/next-release/api-change-bcmpricingcalculator-57102.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bcm-pricing-calculator``", - "description": "Initial release of the AWS Billing and Cost Management Pricing Calculator API." -} diff --git a/.changes/next-release/api-change-bedrockagentruntime-41306.json b/.changes/next-release/api-change-bedrockagentruntime-41306.json deleted file mode 100644 index 592bff0ed421..000000000000 --- a/.changes/next-release/api-change-bedrockagentruntime-41306.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-agent-runtime``", - "description": "InvokeInlineAgent API release to help invoke runtime agents without any dependency on preconfigured agents." -} diff --git a/.changes/next-release/api-change-ce-98876.json b/.changes/next-release/api-change-ce-98876.json deleted file mode 100644 index fa02d3f30532..000000000000 --- a/.changes/next-release/api-change-ce-98876.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ce``", - "description": "This release adds the Impact field(contains Contribution field) to the GetAnomalies API response under RootCause" -} diff --git a/.changes/next-release/api-change-chatbot-81188.json b/.changes/next-release/api-change-chatbot-81188.json deleted file mode 100644 index b41908ea181a..000000000000 --- a/.changes/next-release/api-change-chatbot-81188.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``chatbot``", - "description": "Adds support for programmatic management of custom actions and aliases which can be associated with channel configurations." -} diff --git a/.changes/next-release/api-change-codepipeline-28045.json b/.changes/next-release/api-change-codepipeline-28045.json deleted file mode 100644 index 5b8c529661ce..000000000000 --- a/.changes/next-release/api-change-codepipeline-28045.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``codepipeline``", - "description": "AWS CodePipeline V2 type pipelines now support ECRBuildAndPublish and InspectorScan actions." -} diff --git a/.changes/next-release/api-change-cognitoidp-3247.json b/.changes/next-release/api-change-cognitoidp-3247.json deleted file mode 100644 index cea52e86756f..000000000000 --- a/.changes/next-release/api-change-cognitoidp-3247.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``cognito-idp``", - "description": "Add support for users to sign up and sign in without passwords, using email and SMS OTPs and Passkeys. Add support for Passkeys based on WebAuthn. Add support for enhanced branding customization for hosted authentication pages with Amazon Cognito Managed Login. Add feature tiers with new pricing." -} diff --git a/.changes/next-release/api-change-connect-96625.json b/.changes/next-release/api-change-connect-96625.json deleted file mode 100644 index 09f5588810d2..000000000000 --- a/.changes/next-release/api-change-connect-96625.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``connect``", - "description": "Amazon Connect Service Feature: Add APIs for Amazon Connect Email Channel" -} diff --git a/.changes/next-release/api-change-elbv2-32429.json b/.changes/next-release/api-change-elbv2-32429.json deleted file mode 100644 index 01fc73160e8b..000000000000 --- a/.changes/next-release/api-change-elbv2-32429.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``elbv2``", - "description": "This release adds support for advertising trusted CA certificate names in associated trust stores." -} diff --git a/.changes/next-release/api-change-emr-40799.json b/.changes/next-release/api-change-emr-40799.json deleted file mode 100644 index 358d0d91aedb..000000000000 --- a/.changes/next-release/api-change-emr-40799.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``emr``", - "description": "Advanced Scaling in Amazon EMR Managed Scaling" -} diff --git a/.changes/next-release/api-change-inspector2-6787.json b/.changes/next-release/api-change-inspector2-6787.json deleted file mode 100644 index 079b38e15c95..000000000000 --- a/.changes/next-release/api-change-inspector2-6787.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``inspector2``", - "description": "Extend inspector2 service model to include ServiceQuotaExceededException." -} diff --git a/.changes/next-release/api-change-lambda-47881.json b/.changes/next-release/api-change-lambda-47881.json deleted file mode 100644 index f3c4f8028cd5..000000000000 --- a/.changes/next-release/api-change-lambda-47881.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``lambda``", - "description": "Add ProvisionedPollerConfig to Lambda event-source-mapping API." -} diff --git a/.changes/next-release/api-change-mailmanager-62413.json b/.changes/next-release/api-change-mailmanager-62413.json deleted file mode 100644 index 3b20711fdef3..000000000000 --- a/.changes/next-release/api-change-mailmanager-62413.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``mailmanager``", - "description": "Added new \"DeliverToQBusiness\" rule action to MailManager RulesSet for ingesting email data into Amazon Q Business customer applications" -} diff --git a/.changes/next-release/api-change-neptunegraph-12418.json b/.changes/next-release/api-change-neptunegraph-12418.json deleted file mode 100644 index 3b8b603ed799..000000000000 --- a/.changes/next-release/api-change-neptunegraph-12418.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``neptune-graph``", - "description": "Add 4 new APIs to support new Export features, allowing Parquet and CSV formats. Add new arguments in Import APIs to support Parquet import. Add a new query \"neptune.read\" to run algorithms without loading data into database" -} diff --git a/.changes/next-release/api-change-omics-14565.json b/.changes/next-release/api-change-omics-14565.json deleted file mode 100644 index 1bf3d5d62e81..000000000000 --- a/.changes/next-release/api-change-omics-14565.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``omics``", - "description": "This release adds support for resource policy based cross account S3 access to sequence store read sets." -} diff --git a/.changes/next-release/api-change-quicksight-93035.json b/.changes/next-release/api-change-quicksight-93035.json deleted file mode 100644 index bfd6c0490708..000000000000 --- a/.changes/next-release/api-change-quicksight-93035.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``quicksight``", - "description": "This release includes: Update APIs to support Image, Layer Map, font customization, and Plugin Visual. Add Identity center related information in ListNamsespace API. Update API for restrictedFolder support in topics and add API for SearchTopics, Describe/Update DashboardsQA Configration." -} diff --git a/.changes/next-release/api-change-sagemaker-63067.json b/.changes/next-release/api-change-sagemaker-63067.json deleted file mode 100644 index 858131b6654e..000000000000 --- a/.changes/next-release/api-change-sagemaker-63067.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``sagemaker``", - "description": "This release adds APIs for new features for SageMaker endpoint to scale down to zero instances, native support for multi-adapter inference, and endpoint scaling improvements." -} diff --git a/.changes/next-release/api-change-ses-30272.json b/.changes/next-release/api-change-ses-30272.json deleted file mode 100644 index dc955a9cfee2..000000000000 --- a/.changes/next-release/api-change-ses-30272.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ses``", - "description": "This release adds support for starting email contacts in your Amazon Connect instance as an email receiving action." -} diff --git a/.changes/next-release/api-change-sns-50181.json b/.changes/next-release/api-change-sns-50181.json deleted file mode 100644 index 05b7a2ed6ded..000000000000 --- a/.changes/next-release/api-change-sns-50181.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``sns``", - "description": "ArchivePolicy attribute added to Archive and Replay feature" -} diff --git a/.changes/next-release/api-change-stepfunctions-95183.json b/.changes/next-release/api-change-stepfunctions-95183.json deleted file mode 100644 index 5f5b01327dc4..000000000000 --- a/.changes/next-release/api-change-stepfunctions-95183.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``stepfunctions``", - "description": "Add support for variables and JSONata in TestState, GetExecutionHistory, DescribeStateMachine, and DescribeStateMachineForExecution" -} diff --git a/.changes/next-release/api-change-workspaces-47480.json b/.changes/next-release/api-change-workspaces-47480.json deleted file mode 100644 index af778581797c..000000000000 --- a/.changes/next-release/api-change-workspaces-47480.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``workspaces``", - "description": "While integrating WSP-DCV rebrand, a few mentions were erroneously renamed from WSP to DCV. This release reverts those mentions back to WSP." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 13b1c90a8e81..a6ef0dbf2902 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,32 @@ CHANGELOG ========= +1.36.9 +====== + +* api-change:``autoscaling``: Now, Amazon EC2 Auto Scaling customers can enable target tracking policies to take quicker scaling decisions, enhancing their application performance and EC2 utilization. To get started, specify target tracking to monitor a metric that is available on Amazon CloudWatch at seconds-level interval. +* api-change:``bcm-pricing-calculator``: Initial release of the AWS Billing and Cost Management Pricing Calculator API. +* api-change:``bedrock-agent-runtime``: InvokeInlineAgent API release to help invoke runtime agents without any dependency on preconfigured agents. +* api-change:``ce``: This release adds the Impact field(contains Contribution field) to the GetAnomalies API response under RootCause +* api-change:``chatbot``: Adds support for programmatic management of custom actions and aliases which can be associated with channel configurations. +* api-change:``codepipeline``: AWS CodePipeline V2 type pipelines now support ECRBuildAndPublish and InspectorScan actions. +* api-change:``cognito-idp``: Add support for users to sign up and sign in without passwords, using email and SMS OTPs and Passkeys. Add support for Passkeys based on WebAuthn. Add support for enhanced branding customization for hosted authentication pages with Amazon Cognito Managed Login. Add feature tiers with new pricing. +* api-change:``connect``: Amazon Connect Service Feature: Add APIs for Amazon Connect Email Channel +* api-change:``elbv2``: This release adds support for advertising trusted CA certificate names in associated trust stores. +* api-change:``emr``: Advanced Scaling in Amazon EMR Managed Scaling +* api-change:``inspector2``: Extend inspector2 service model to include ServiceQuotaExceededException. +* api-change:``lambda``: Add ProvisionedPollerConfig to Lambda event-source-mapping API. +* api-change:``mailmanager``: Added new "DeliverToQBusiness" rule action to MailManager RulesSet for ingesting email data into Amazon Q Business customer applications +* api-change:``neptune-graph``: Add 4 new APIs to support new Export features, allowing Parquet and CSV formats. Add new arguments in Import APIs to support Parquet import. Add a new query "neptune.read" to run algorithms without loading data into database +* api-change:``omics``: This release adds support for resource policy based cross account S3 access to sequence store read sets. +* api-change:``quicksight``: This release includes: Update APIs to support Image, Layer Map, font customization, and Plugin Visual. Add Identity center related information in ListNamsespace API. Update API for restrictedFolder support in topics and add API for SearchTopics, Describe/Update DashboardsQA Configration. +* api-change:``sagemaker``: This release adds APIs for new features for SageMaker endpoint to scale down to zero instances, native support for multi-adapter inference, and endpoint scaling improvements. +* api-change:``ses``: This release adds support for starting email contacts in your Amazon Connect instance as an email receiving action. +* api-change:``sns``: ArchivePolicy attribute added to Archive and Replay feature +* api-change:``stepfunctions``: Add support for variables and JSONata in TestState, GetExecutionHistory, DescribeStateMachine, and DescribeStateMachineForExecution +* api-change:``workspaces``: While integrating WSP-DCV rebrand, a few mentions were erroneously renamed from WSP to DCV. This release reverts those mentions back to WSP. + + 1.36.8 ====== diff --git a/awscli/__init__.py b/awscli/__init__.py index 0e8d865923fa..88730b52ee6d 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.36.8' +__version__ = '1.36.9' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 969b2bb4d790..f59a254fe31c 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.36' # The full version, including alpha/beta/rc tags. -release = '1.36.8' +release = '1.36.9' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 8a52347b0d00..5d64449a5d74 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.67 + botocore==1.35.68 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 378d3329dacc..3e7c55c7519a 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.67', + 'botocore==1.35.68', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 33e5910396083829121b1f8e4eca386cb4b67fa3 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 25 Nov 2024 19:19:16 +0000 Subject: [PATCH 0321/1087] Update changelog based on model updates --- .changes/next-release/api-change-directconnect-40893.json | 5 +++++ .changes/next-release/api-change-networkmanager-91044.json | 5 +++++ .changes/next-release/api-change-s3-78427.json | 5 +++++ 3 files changed, 15 insertions(+) create mode 100644 .changes/next-release/api-change-directconnect-40893.json create mode 100644 .changes/next-release/api-change-networkmanager-91044.json create mode 100644 .changes/next-release/api-change-s3-78427.json diff --git a/.changes/next-release/api-change-directconnect-40893.json b/.changes/next-release/api-change-directconnect-40893.json new file mode 100644 index 000000000000..1b29ad10a745 --- /dev/null +++ b/.changes/next-release/api-change-directconnect-40893.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``directconnect``", + "description": "Update DescribeDirectConnectGatewayAssociations API to return associated core network information if a Direct Connect gateway is attached to a Cloud WAN core network." +} diff --git a/.changes/next-release/api-change-networkmanager-91044.json b/.changes/next-release/api-change-networkmanager-91044.json new file mode 100644 index 000000000000..bf8c251b1d33 --- /dev/null +++ b/.changes/next-release/api-change-networkmanager-91044.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``networkmanager``", + "description": "This release adds native Direct Connect integration on Cloud WAN enabling customers to directly attach their Direct Connect gateways to Cloud WAN without the need for an intermediate Transit Gateway." +} diff --git a/.changes/next-release/api-change-s3-78427.json b/.changes/next-release/api-change-s3-78427.json new file mode 100644 index 000000000000..01da8aa67979 --- /dev/null +++ b/.changes/next-release/api-change-s3-78427.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``s3``", + "description": "Amazon Simple Storage Service / Features: Add support for ETag based conditional writes in PutObject and CompleteMultiPartUpload APIs to prevent unintended object modifications." +} From d2d8146a4e1a9fad4b5977b801ea077155442a42 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 25 Nov 2024 19:20:37 +0000 Subject: [PATCH 0322/1087] Bumping version to 1.36.10 --- .changes/1.36.10.json | 17 +++++++++++++++++ .../api-change-directconnect-40893.json | 5 ----- .../api-change-networkmanager-91044.json | 5 ----- .changes/next-release/api-change-s3-78427.json | 5 ----- CHANGELOG.rst | 8 ++++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 4 ++-- setup.cfg | 2 +- setup.py | 2 +- 9 files changed, 30 insertions(+), 20 deletions(-) create mode 100644 .changes/1.36.10.json delete mode 100644 .changes/next-release/api-change-directconnect-40893.json delete mode 100644 .changes/next-release/api-change-networkmanager-91044.json delete mode 100644 .changes/next-release/api-change-s3-78427.json diff --git a/.changes/1.36.10.json b/.changes/1.36.10.json new file mode 100644 index 000000000000..28000710a77e --- /dev/null +++ b/.changes/1.36.10.json @@ -0,0 +1,17 @@ +[ + { + "category": "``directconnect``", + "description": "Update DescribeDirectConnectGatewayAssociations API to return associated core network information if a Direct Connect gateway is attached to a Cloud WAN core network.", + "type": "api-change" + }, + { + "category": "``networkmanager``", + "description": "This release adds native Direct Connect integration on Cloud WAN enabling customers to directly attach their Direct Connect gateways to Cloud WAN without the need for an intermediate Transit Gateway.", + "type": "api-change" + }, + { + "category": "``s3``", + "description": "Amazon Simple Storage Service / Features: Add support for ETag based conditional writes in PutObject and CompleteMultiPartUpload APIs to prevent unintended object modifications.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-directconnect-40893.json b/.changes/next-release/api-change-directconnect-40893.json deleted file mode 100644 index 1b29ad10a745..000000000000 --- a/.changes/next-release/api-change-directconnect-40893.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``directconnect``", - "description": "Update DescribeDirectConnectGatewayAssociations API to return associated core network information if a Direct Connect gateway is attached to a Cloud WAN core network." -} diff --git a/.changes/next-release/api-change-networkmanager-91044.json b/.changes/next-release/api-change-networkmanager-91044.json deleted file mode 100644 index bf8c251b1d33..000000000000 --- a/.changes/next-release/api-change-networkmanager-91044.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``networkmanager``", - "description": "This release adds native Direct Connect integration on Cloud WAN enabling customers to directly attach their Direct Connect gateways to Cloud WAN without the need for an intermediate Transit Gateway." -} diff --git a/.changes/next-release/api-change-s3-78427.json b/.changes/next-release/api-change-s3-78427.json deleted file mode 100644 index 01da8aa67979..000000000000 --- a/.changes/next-release/api-change-s3-78427.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``s3``", - "description": "Amazon Simple Storage Service / Features: Add support for ETag based conditional writes in PutObject and CompleteMultiPartUpload APIs to prevent unintended object modifications." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index a6ef0dbf2902..3288d0dbff66 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,14 @@ CHANGELOG ========= +1.36.10 +======= + +* api-change:``directconnect``: Update DescribeDirectConnectGatewayAssociations API to return associated core network information if a Direct Connect gateway is attached to a Cloud WAN core network. +* api-change:``networkmanager``: This release adds native Direct Connect integration on Cloud WAN enabling customers to directly attach their Direct Connect gateways to Cloud WAN without the need for an intermediate Transit Gateway. +* api-change:``s3``: Amazon Simple Storage Service / Features: Add support for ETag based conditional writes in PutObject and CompleteMultiPartUpload APIs to prevent unintended object modifications. + + 1.36.9 ====== diff --git a/awscli/__init__.py b/awscli/__init__.py index 88730b52ee6d..796b9c237b18 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.36.9' +__version__ = '1.36.10' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index f59a254fe31c..e307655f4549 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -50,9 +50,9 @@ # built documents. # # The short X.Y version. -version = '1.36' +version = '1.36.' # The full version, including alpha/beta/rc tags. -release = '1.36.9' +release = '1.36.10' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 5d64449a5d74..76a4766c0c9a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.68 + botocore==1.35.69 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 3e7c55c7519a..ea962f504f12 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.68', + 'botocore==1.35.69', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From f1c5cf4118d1c355db69342e64f42dc9758432b3 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 26 Nov 2024 19:07:23 +0000 Subject: [PATCH 0323/1087] Update changelog based on model updates --- .changes/next-release/api-change-bedrockagent-11792.json | 5 +++++ .../next-release/api-change-bedrockagentruntime-97753.json | 5 +++++ .changes/next-release/api-change-connect-22723.json | 5 +++++ .changes/next-release/api-change-ec2-83499.json | 5 +++++ .changes/next-release/api-change-qapps-35129.json | 5 +++++ 5 files changed, 25 insertions(+) create mode 100644 .changes/next-release/api-change-bedrockagent-11792.json create mode 100644 .changes/next-release/api-change-bedrockagentruntime-97753.json create mode 100644 .changes/next-release/api-change-connect-22723.json create mode 100644 .changes/next-release/api-change-ec2-83499.json create mode 100644 .changes/next-release/api-change-qapps-35129.json diff --git a/.changes/next-release/api-change-bedrockagent-11792.json b/.changes/next-release/api-change-bedrockagent-11792.json new file mode 100644 index 000000000000..41c0b24686c4 --- /dev/null +++ b/.changes/next-release/api-change-bedrockagent-11792.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-agent``", + "description": "Custom Orchestration API release for AWSBedrockAgents." +} diff --git a/.changes/next-release/api-change-bedrockagentruntime-97753.json b/.changes/next-release/api-change-bedrockagentruntime-97753.json new file mode 100644 index 000000000000..2fba17dbbbd4 --- /dev/null +++ b/.changes/next-release/api-change-bedrockagentruntime-97753.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-agent-runtime``", + "description": "Custom Orchestration and Streaming configurations API release for AWSBedrockAgents." +} diff --git a/.changes/next-release/api-change-connect-22723.json b/.changes/next-release/api-change-connect-22723.json new file mode 100644 index 000000000000..9aed39e27a64 --- /dev/null +++ b/.changes/next-release/api-change-connect-22723.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``connect``", + "description": "Enables access to ValueMap and ValueInteger types for SegmentAttributes and fixes deserialization bug for DescribeContactFlow in AmazonConnect Public API" +} diff --git a/.changes/next-release/api-change-ec2-83499.json b/.changes/next-release/api-change-ec2-83499.json new file mode 100644 index 000000000000..8ff16e213fd8 --- /dev/null +++ b/.changes/next-release/api-change-ec2-83499.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ec2``", + "description": "Adds support for Time-based Copy for EBS Snapshots and Cross Region PrivateLink. Time-based Copy ensures that EBS Snapshots are copied within and across AWS Regions in a specified timeframe. Cross Region PrivateLink enables customers to connect to VPC endpoint services hosted in other AWS Regions." +} diff --git a/.changes/next-release/api-change-qapps-35129.json b/.changes/next-release/api-change-qapps-35129.json new file mode 100644 index 000000000000..7baa33e2b1d2 --- /dev/null +++ b/.changes/next-release/api-change-qapps-35129.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``qapps``", + "description": "Private sharing, file upload and data collection feature support for Q Apps" +} From da64028ba7f6e06fa410d2f87aff1a61bedcd8d6 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 26 Nov 2024 19:08:45 +0000 Subject: [PATCH 0324/1087] Bumping version to 1.36.11 --- .changes/1.36.11.json | 27 +++++++++++++++++++ .../api-change-bedrockagent-11792.json | 5 ---- .../api-change-bedrockagentruntime-97753.json | 5 ---- .../api-change-connect-22723.json | 5 ---- .../next-release/api-change-ec2-83499.json | 5 ---- .../next-release/api-change-qapps-35129.json | 5 ---- CHANGELOG.rst | 10 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 11 files changed, 41 insertions(+), 29 deletions(-) create mode 100644 .changes/1.36.11.json delete mode 100644 .changes/next-release/api-change-bedrockagent-11792.json delete mode 100644 .changes/next-release/api-change-bedrockagentruntime-97753.json delete mode 100644 .changes/next-release/api-change-connect-22723.json delete mode 100644 .changes/next-release/api-change-ec2-83499.json delete mode 100644 .changes/next-release/api-change-qapps-35129.json diff --git a/.changes/1.36.11.json b/.changes/1.36.11.json new file mode 100644 index 000000000000..020c56230736 --- /dev/null +++ b/.changes/1.36.11.json @@ -0,0 +1,27 @@ +[ + { + "category": "``bedrock-agent``", + "description": "Custom Orchestration API release for AWSBedrockAgents.", + "type": "api-change" + }, + { + "category": "``bedrock-agent-runtime``", + "description": "Custom Orchestration and Streaming configurations API release for AWSBedrockAgents.", + "type": "api-change" + }, + { + "category": "``connect``", + "description": "Enables access to ValueMap and ValueInteger types for SegmentAttributes and fixes deserialization bug for DescribeContactFlow in AmazonConnect Public API", + "type": "api-change" + }, + { + "category": "``ec2``", + "description": "Adds support for Time-based Copy for EBS Snapshots and Cross Region PrivateLink. Time-based Copy ensures that EBS Snapshots are copied within and across AWS Regions in a specified timeframe. Cross Region PrivateLink enables customers to connect to VPC endpoint services hosted in other AWS Regions.", + "type": "api-change" + }, + { + "category": "``qapps``", + "description": "Private sharing, file upload and data collection feature support for Q Apps", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-bedrockagent-11792.json b/.changes/next-release/api-change-bedrockagent-11792.json deleted file mode 100644 index 41c0b24686c4..000000000000 --- a/.changes/next-release/api-change-bedrockagent-11792.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-agent``", - "description": "Custom Orchestration API release for AWSBedrockAgents." -} diff --git a/.changes/next-release/api-change-bedrockagentruntime-97753.json b/.changes/next-release/api-change-bedrockagentruntime-97753.json deleted file mode 100644 index 2fba17dbbbd4..000000000000 --- a/.changes/next-release/api-change-bedrockagentruntime-97753.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-agent-runtime``", - "description": "Custom Orchestration and Streaming configurations API release for AWSBedrockAgents." -} diff --git a/.changes/next-release/api-change-connect-22723.json b/.changes/next-release/api-change-connect-22723.json deleted file mode 100644 index 9aed39e27a64..000000000000 --- a/.changes/next-release/api-change-connect-22723.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``connect``", - "description": "Enables access to ValueMap and ValueInteger types for SegmentAttributes and fixes deserialization bug for DescribeContactFlow in AmazonConnect Public API" -} diff --git a/.changes/next-release/api-change-ec2-83499.json b/.changes/next-release/api-change-ec2-83499.json deleted file mode 100644 index 8ff16e213fd8..000000000000 --- a/.changes/next-release/api-change-ec2-83499.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ec2``", - "description": "Adds support for Time-based Copy for EBS Snapshots and Cross Region PrivateLink. Time-based Copy ensures that EBS Snapshots are copied within and across AWS Regions in a specified timeframe. Cross Region PrivateLink enables customers to connect to VPC endpoint services hosted in other AWS Regions." -} diff --git a/.changes/next-release/api-change-qapps-35129.json b/.changes/next-release/api-change-qapps-35129.json deleted file mode 100644 index 7baa33e2b1d2..000000000000 --- a/.changes/next-release/api-change-qapps-35129.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``qapps``", - "description": "Private sharing, file upload and data collection feature support for Q Apps" -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 3288d0dbff66..3abcfbeddc28 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,16 @@ CHANGELOG ========= +1.36.11 +======= + +* api-change:``bedrock-agent``: Custom Orchestration API release for AWSBedrockAgents. +* api-change:``bedrock-agent-runtime``: Custom Orchestration and Streaming configurations API release for AWSBedrockAgents. +* api-change:``connect``: Enables access to ValueMap and ValueInteger types for SegmentAttributes and fixes deserialization bug for DescribeContactFlow in AmazonConnect Public API +* api-change:``ec2``: Adds support for Time-based Copy for EBS Snapshots and Cross Region PrivateLink. Time-based Copy ensures that EBS Snapshots are copied within and across AWS Regions in a specified timeframe. Cross Region PrivateLink enables customers to connect to VPC endpoint services hosted in other AWS Regions. +* api-change:``qapps``: Private sharing, file upload and data collection feature support for Q Apps + + 1.36.10 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 796b9c237b18..1ad369c9e137 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.36.10' +__version__ = '1.36.11' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index e307655f4549..2e9ebcb55283 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.36.' # The full version, including alpha/beta/rc tags. -release = '1.36.10' +release = '1.36.11' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 76a4766c0c9a..3434d3928402 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.69 + botocore==1.35.70 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index ea962f504f12..62347b08386e 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.69', + 'botocore==1.35.70', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 54c7be79578f86631e9dd67d885f957e00b67163 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 27 Nov 2024 19:12:29 +0000 Subject: [PATCH 0325/1087] Update changelog based on model updates --- .changes/next-release/api-change-bedrockagent-57557.json | 5 +++++ .changes/next-release/api-change-config-43765.json | 5 +++++ .changes/next-release/api-change-fsx-53855.json | 5 +++++ .../next-release/api-change-observabilityadmin-84311.json | 5 +++++ 4 files changed, 20 insertions(+) create mode 100644 .changes/next-release/api-change-bedrockagent-57557.json create mode 100644 .changes/next-release/api-change-config-43765.json create mode 100644 .changes/next-release/api-change-fsx-53855.json create mode 100644 .changes/next-release/api-change-observabilityadmin-84311.json diff --git a/.changes/next-release/api-change-bedrockagent-57557.json b/.changes/next-release/api-change-bedrockagent-57557.json new file mode 100644 index 000000000000..16b38d140de8 --- /dev/null +++ b/.changes/next-release/api-change-bedrockagent-57557.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-agent``", + "description": "Add support for specifying embeddingDataType, either FLOAT32 or BINARY" +} diff --git a/.changes/next-release/api-change-config-43765.json b/.changes/next-release/api-change-config-43765.json new file mode 100644 index 000000000000..9e7ba41b25d4 --- /dev/null +++ b/.changes/next-release/api-change-config-43765.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``config``", + "description": "AWS Config adds support for service-linked recorders, a new type of Config recorder managed by AWS services to record specific subsets of resource configuration data and functioning independently from customer managed AWS Config recorders." +} diff --git a/.changes/next-release/api-change-fsx-53855.json b/.changes/next-release/api-change-fsx-53855.json new file mode 100644 index 000000000000..d7dfdb60f50e --- /dev/null +++ b/.changes/next-release/api-change-fsx-53855.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``fsx``", + "description": "This release adds EFA support to increase FSx for Lustre file systems' throughput performance to a single client instance. This can be done by specifying EfaEnabled=true at the time of creation of Persistent_2 file systems." +} diff --git a/.changes/next-release/api-change-observabilityadmin-84311.json b/.changes/next-release/api-change-observabilityadmin-84311.json new file mode 100644 index 000000000000..7bd3e3c5ff2b --- /dev/null +++ b/.changes/next-release/api-change-observabilityadmin-84311.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``observabilityadmin``", + "description": "Amazon CloudWatch Observability Admin adds the ability to audit telemetry configuration for AWS resources in customers AWS Accounts and Organizations. The release introduces new APIs to turn on/off the new experience, which supports discovering supported AWS resources and their state of telemetry." +} From 2b8ed8421a09adae8c5dfa15fd4e34d73ffcb7e1 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 27 Nov 2024 19:13:35 +0000 Subject: [PATCH 0326/1087] Bumping version to 1.36.12 --- .changes/1.36.12.json | 22 +++++++++++++++++++ .../api-change-bedrockagent-57557.json | 5 ----- .../next-release/api-change-config-43765.json | 5 ----- .../next-release/api-change-fsx-53855.json | 5 ----- .../api-change-observabilityadmin-84311.json | 5 ----- CHANGELOG.rst | 9 ++++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 10 files changed, 35 insertions(+), 24 deletions(-) create mode 100644 .changes/1.36.12.json delete mode 100644 .changes/next-release/api-change-bedrockagent-57557.json delete mode 100644 .changes/next-release/api-change-config-43765.json delete mode 100644 .changes/next-release/api-change-fsx-53855.json delete mode 100644 .changes/next-release/api-change-observabilityadmin-84311.json diff --git a/.changes/1.36.12.json b/.changes/1.36.12.json new file mode 100644 index 000000000000..528a12728534 --- /dev/null +++ b/.changes/1.36.12.json @@ -0,0 +1,22 @@ +[ + { + "category": "``bedrock-agent``", + "description": "Add support for specifying embeddingDataType, either FLOAT32 or BINARY", + "type": "api-change" + }, + { + "category": "``config``", + "description": "AWS Config adds support for service-linked recorders, a new type of Config recorder managed by AWS services to record specific subsets of resource configuration data and functioning independently from customer managed AWS Config recorders.", + "type": "api-change" + }, + { + "category": "``fsx``", + "description": "This release adds EFA support to increase FSx for Lustre file systems' throughput performance to a single client instance. This can be done by specifying EfaEnabled=true at the time of creation of Persistent_2 file systems.", + "type": "api-change" + }, + { + "category": "``observabilityadmin``", + "description": "Amazon CloudWatch Observability Admin adds the ability to audit telemetry configuration for AWS resources in customers AWS Accounts and Organizations. The release introduces new APIs to turn on/off the new experience, which supports discovering supported AWS resources and their state of telemetry.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-bedrockagent-57557.json b/.changes/next-release/api-change-bedrockagent-57557.json deleted file mode 100644 index 16b38d140de8..000000000000 --- a/.changes/next-release/api-change-bedrockagent-57557.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-agent``", - "description": "Add support for specifying embeddingDataType, either FLOAT32 or BINARY" -} diff --git a/.changes/next-release/api-change-config-43765.json b/.changes/next-release/api-change-config-43765.json deleted file mode 100644 index 9e7ba41b25d4..000000000000 --- a/.changes/next-release/api-change-config-43765.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``config``", - "description": "AWS Config adds support for service-linked recorders, a new type of Config recorder managed by AWS services to record specific subsets of resource configuration data and functioning independently from customer managed AWS Config recorders." -} diff --git a/.changes/next-release/api-change-fsx-53855.json b/.changes/next-release/api-change-fsx-53855.json deleted file mode 100644 index d7dfdb60f50e..000000000000 --- a/.changes/next-release/api-change-fsx-53855.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``fsx``", - "description": "This release adds EFA support to increase FSx for Lustre file systems' throughput performance to a single client instance. This can be done by specifying EfaEnabled=true at the time of creation of Persistent_2 file systems." -} diff --git a/.changes/next-release/api-change-observabilityadmin-84311.json b/.changes/next-release/api-change-observabilityadmin-84311.json deleted file mode 100644 index 7bd3e3c5ff2b..000000000000 --- a/.changes/next-release/api-change-observabilityadmin-84311.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``observabilityadmin``", - "description": "Amazon CloudWatch Observability Admin adds the ability to audit telemetry configuration for AWS resources in customers AWS Accounts and Organizations. The release introduces new APIs to turn on/off the new experience, which supports discovering supported AWS resources and their state of telemetry." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 3abcfbeddc28..9ff263a00784 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,15 @@ CHANGELOG ========= +1.36.12 +======= + +* api-change:``bedrock-agent``: Add support for specifying embeddingDataType, either FLOAT32 or BINARY +* api-change:``config``: AWS Config adds support for service-linked recorders, a new type of Config recorder managed by AWS services to record specific subsets of resource configuration data and functioning independently from customer managed AWS Config recorders. +* api-change:``fsx``: This release adds EFA support to increase FSx for Lustre file systems' throughput performance to a single client instance. This can be done by specifying EfaEnabled=true at the time of creation of Persistent_2 file systems. +* api-change:``observabilityadmin``: Amazon CloudWatch Observability Admin adds the ability to audit telemetry configuration for AWS resources in customers AWS Accounts and Organizations. The release introduces new APIs to turn on/off the new experience, which supports discovering supported AWS resources and their state of telemetry. + + 1.36.11 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 1ad369c9e137..28384d3581e7 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.36.11' +__version__ = '1.36.12' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 2e9ebcb55283..54ff120960e9 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.36.' # The full version, including alpha/beta/rc tags. -release = '1.36.11' +release = '1.36.12' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 3434d3928402..38183c38c780 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.70 + botocore==1.35.71 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 62347b08386e..ff4a4a8906e1 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.70', + 'botocore==1.35.71', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 16a7293c73dc4a4699819b54f37efeb7594096bc Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 2 Dec 2024 03:50:54 +0000 Subject: [PATCH 0327/1087] Merge customizations for Bedrock Agent Runtime --- awscli/customizations/removals.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/awscli/customizations/removals.py b/awscli/customizations/removals.py index ad986d1ebbf8..5add46dc4f81 100644 --- a/awscli/customizations/removals.py +++ b/awscli/customizations/removals.py @@ -57,7 +57,8 @@ def register_removals(event_handler): remove_commands=['invoke-agent', 'invoke-flow', 'invoke-inline-agent', - 'optimize-prompt']) + 'optimize-prompt', + 'retrieve-and-generate-stream']) cmd_remover.remove(on_event='building-command-table.qbusiness', remove_commands=['chat']) cmd_remover.remove(on_event='building-command-table.iotsitewise', From 6a1b9fced168b8c0c159e6a09aa60516bb4c26c0 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 2 Dec 2024 03:51:00 +0000 Subject: [PATCH 0328/1087] Update changelog based on model updates --- .changes/next-release/api-change-bedrock-55289.json | 5 +++++ .changes/next-release/api-change-bedrockagent-55519.json | 5 +++++ .../next-release/api-change-bedrockagentruntime-23970.json | 5 +++++ .changes/next-release/api-change-chimesdkvoice-15296.json | 5 +++++ .changes/next-release/api-change-cleanrooms-91800.json | 5 +++++ .changes/next-release/api-change-connect-46348.json | 5 +++++ .../next-release/api-change-connectcampaignsv2-36372.json | 5 +++++ .changes/next-release/api-change-customerprofiles-1205.json | 5 +++++ .changes/next-release/api-change-ec2-65778.json | 5 +++++ .changes/next-release/api-change-ecs-26722.json | 5 +++++ .changes/next-release/api-change-eks-62210.json | 5 +++++ .changes/next-release/api-change-events-11626.json | 5 +++++ .changes/next-release/api-change-fsx-31899.json | 5 +++++ .changes/next-release/api-change-guardduty-19350.json | 5 +++++ .changes/next-release/api-change-imagebuilder-121.json | 5 +++++ .changes/next-release/api-change-invoicing-86942.json | 5 +++++ .changes/next-release/api-change-logs-91871.json | 5 +++++ .changes/next-release/api-change-memorydb-88398.json | 5 +++++ .../next-release/api-change-networkflowmonitor-40089.json | 5 +++++ .changes/next-release/api-change-opensearch-81554.json | 5 +++++ .changes/next-release/api-change-organizations-1836.json | 5 +++++ .changes/next-release/api-change-qbusiness-45772.json | 5 +++++ .changes/next-release/api-change-qconnect-58426.json | 5 +++++ .changes/next-release/api-change-rds-4618.json | 5 +++++ .changes/next-release/api-change-s3-22661.json | 5 +++++ .changes/next-release/api-change-s3control-38247.json | 5 +++++ .changes/next-release/api-change-securityhub-228.json | 5 +++++ .changes/next-release/api-change-securityir-23174.json | 5 +++++ .changes/next-release/api-change-transfer-933.json | 5 +++++ .changes/next-release/api-change-vpclattice-4248.json | 5 +++++ 30 files changed, 150 insertions(+) create mode 100644 .changes/next-release/api-change-bedrock-55289.json create mode 100644 .changes/next-release/api-change-bedrockagent-55519.json create mode 100644 .changes/next-release/api-change-bedrockagentruntime-23970.json create mode 100644 .changes/next-release/api-change-chimesdkvoice-15296.json create mode 100644 .changes/next-release/api-change-cleanrooms-91800.json create mode 100644 .changes/next-release/api-change-connect-46348.json create mode 100644 .changes/next-release/api-change-connectcampaignsv2-36372.json create mode 100644 .changes/next-release/api-change-customerprofiles-1205.json create mode 100644 .changes/next-release/api-change-ec2-65778.json create mode 100644 .changes/next-release/api-change-ecs-26722.json create mode 100644 .changes/next-release/api-change-eks-62210.json create mode 100644 .changes/next-release/api-change-events-11626.json create mode 100644 .changes/next-release/api-change-fsx-31899.json create mode 100644 .changes/next-release/api-change-guardduty-19350.json create mode 100644 .changes/next-release/api-change-imagebuilder-121.json create mode 100644 .changes/next-release/api-change-invoicing-86942.json create mode 100644 .changes/next-release/api-change-logs-91871.json create mode 100644 .changes/next-release/api-change-memorydb-88398.json create mode 100644 .changes/next-release/api-change-networkflowmonitor-40089.json create mode 100644 .changes/next-release/api-change-opensearch-81554.json create mode 100644 .changes/next-release/api-change-organizations-1836.json create mode 100644 .changes/next-release/api-change-qbusiness-45772.json create mode 100644 .changes/next-release/api-change-qconnect-58426.json create mode 100644 .changes/next-release/api-change-rds-4618.json create mode 100644 .changes/next-release/api-change-s3-22661.json create mode 100644 .changes/next-release/api-change-s3control-38247.json create mode 100644 .changes/next-release/api-change-securityhub-228.json create mode 100644 .changes/next-release/api-change-securityir-23174.json create mode 100644 .changes/next-release/api-change-transfer-933.json create mode 100644 .changes/next-release/api-change-vpclattice-4248.json diff --git a/.changes/next-release/api-change-bedrock-55289.json b/.changes/next-release/api-change-bedrock-55289.json new file mode 100644 index 000000000000..90232421a14d --- /dev/null +++ b/.changes/next-release/api-change-bedrock-55289.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock``", + "description": "Add support for Knowledge Base Evaluations & LLM as a judge" +} diff --git a/.changes/next-release/api-change-bedrockagent-55519.json b/.changes/next-release/api-change-bedrockagent-55519.json new file mode 100644 index 000000000000..336d5120bc54 --- /dev/null +++ b/.changes/next-release/api-change-bedrockagent-55519.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-agent``", + "description": "This release introduces APIs to upload documents directly into a Knowledge Base" +} diff --git a/.changes/next-release/api-change-bedrockagentruntime-23970.json b/.changes/next-release/api-change-bedrockagentruntime-23970.json new file mode 100644 index 000000000000..129997772163 --- /dev/null +++ b/.changes/next-release/api-change-bedrockagentruntime-23970.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-agent-runtime``", + "description": "This release introduces a new Rerank API to leverage reranking models (with integration into Knowledge Bases); APIs to upload documents directly into Knowledge Base; RetrieveAndGenerateStream API for streaming response; Guardrails on Retrieve API; and ability to automatically generate filters" +} diff --git a/.changes/next-release/api-change-chimesdkvoice-15296.json b/.changes/next-release/api-change-chimesdkvoice-15296.json new file mode 100644 index 000000000000..bbdad93e761c --- /dev/null +++ b/.changes/next-release/api-change-chimesdkvoice-15296.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``chime-sdk-voice``", + "description": "This release adds supports for enterprises to integrate Amazon Connect with other voice systems. It supports directly transferring voice calls and metadata without using the public telephone network. It also supports real-time and post-call analytics." +} diff --git a/.changes/next-release/api-change-cleanrooms-91800.json b/.changes/next-release/api-change-cleanrooms-91800.json new file mode 100644 index 000000000000..aef9a24d3fc2 --- /dev/null +++ b/.changes/next-release/api-change-cleanrooms-91800.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``cleanrooms``", + "description": "This release allows customers and their partners to easily collaborate with data stored in Snowflake and Amazon Athena, without having to move or share their underlying data among collaborators." +} diff --git a/.changes/next-release/api-change-connect-46348.json b/.changes/next-release/api-change-connect-46348.json new file mode 100644 index 000000000000..2d1ef209b6a1 --- /dev/null +++ b/.changes/next-release/api-change-connect-46348.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``connect``", + "description": "Adds support for WhatsApp Business messaging, IVR call recording, enabling Contact Lens for existing on-premise contact centers and telephony platforms, and enabling telephony and IVR migration to Amazon Connect independent of their contact center agents." +} diff --git a/.changes/next-release/api-change-connectcampaignsv2-36372.json b/.changes/next-release/api-change-connectcampaignsv2-36372.json new file mode 100644 index 000000000000..f06ebb711174 --- /dev/null +++ b/.changes/next-release/api-change-connectcampaignsv2-36372.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``connectcampaignsv2``", + "description": "Amazon Connect Outbound Campaigns V2 / Features : Adds support for Event-Triggered Campaigns." +} diff --git a/.changes/next-release/api-change-customerprofiles-1205.json b/.changes/next-release/api-change-customerprofiles-1205.json new file mode 100644 index 000000000000..cdfdd7e0e402 --- /dev/null +++ b/.changes/next-release/api-change-customerprofiles-1205.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``customer-profiles``", + "description": "This release introduces Event Trigger APIs as part of Amazon Connect Customer Profiles service." +} diff --git a/.changes/next-release/api-change-ec2-65778.json b/.changes/next-release/api-change-ec2-65778.json new file mode 100644 index 000000000000..04814eb5a462 --- /dev/null +++ b/.changes/next-release/api-change-ec2-65778.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ec2``", + "description": "Adds support for declarative policies that allow you to enforce desired configuration across an AWS organization through configuring account attributes. Adds support for Allowed AMIs that allows you to limit the use of AMIs in AWS accounts. Adds support for connectivity over non-HTTP protocols." +} diff --git a/.changes/next-release/api-change-ecs-26722.json b/.changes/next-release/api-change-ecs-26722.json new file mode 100644 index 000000000000..94ac84bc1cef --- /dev/null +++ b/.changes/next-release/api-change-ecs-26722.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ecs``", + "description": "This release adds support for Container Insights with Enhanced Observability for Amazon ECS." +} diff --git a/.changes/next-release/api-change-eks-62210.json b/.changes/next-release/api-change-eks-62210.json new file mode 100644 index 000000000000..343d67aa19ae --- /dev/null +++ b/.changes/next-release/api-change-eks-62210.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``eks``", + "description": "Added support for Auto Mode Clusters, Hybrid Nodes, and specifying computeTypes in the DescribeAddonVersions API." +} diff --git a/.changes/next-release/api-change-events-11626.json b/.changes/next-release/api-change-events-11626.json new file mode 100644 index 000000000000..ebf2b14d639c --- /dev/null +++ b/.changes/next-release/api-change-events-11626.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``events``", + "description": "Call private APIs by configuring Connections with VPC connectivity through PrivateLink and VPC Lattice" +} diff --git a/.changes/next-release/api-change-fsx-31899.json b/.changes/next-release/api-change-fsx-31899.json new file mode 100644 index 000000000000..e5bbaf8d7720 --- /dev/null +++ b/.changes/next-release/api-change-fsx-31899.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``fsx``", + "description": "FSx API changes to support the public launch of the Amazon FSx Intelligent Tiering for OpenZFS storage class." +} diff --git a/.changes/next-release/api-change-guardduty-19350.json b/.changes/next-release/api-change-guardduty-19350.json new file mode 100644 index 000000000000..a41ca76df627 --- /dev/null +++ b/.changes/next-release/api-change-guardduty-19350.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``guardduty``", + "description": "Add new Multi Domain Correlation findings." +} diff --git a/.changes/next-release/api-change-imagebuilder-121.json b/.changes/next-release/api-change-imagebuilder-121.json new file mode 100644 index 000000000000..cb8f7d71ba92 --- /dev/null +++ b/.changes/next-release/api-change-imagebuilder-121.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``imagebuilder``", + "description": "Added support for EC2 Image Builder's integration with AWS Marketplace for Marketplace components." +} diff --git a/.changes/next-release/api-change-invoicing-86942.json b/.changes/next-release/api-change-invoicing-86942.json new file mode 100644 index 000000000000..15d38de8ec38 --- /dev/null +++ b/.changes/next-release/api-change-invoicing-86942.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``invoicing``", + "description": "AWS Invoice Configuration allows you to receive separate AWS invoices based on your organizational needs. You can use the AWS SDKs to manage Invoice Units and programmatically fetch the information of the invoice receiver." +} diff --git a/.changes/next-release/api-change-logs-91871.json b/.changes/next-release/api-change-logs-91871.json new file mode 100644 index 000000000000..c17deb3bb531 --- /dev/null +++ b/.changes/next-release/api-change-logs-91871.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``logs``", + "description": "Adds PutIntegration, GetIntegration, ListIntegrations and DeleteIntegration APIs. Adds QueryLanguage support to StartQuery, GetQueryResults, DescribeQueries, DescribeQueryDefinitions, and PutQueryDefinition APIs." +} diff --git a/.changes/next-release/api-change-memorydb-88398.json b/.changes/next-release/api-change-memorydb-88398.json new file mode 100644 index 000000000000..9723a85dd945 --- /dev/null +++ b/.changes/next-release/api-change-memorydb-88398.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``memorydb``", + "description": "Amazon MemoryDB SDK now supports all APIs for Multi-Region. Please refer to the updated Amazon MemoryDB public documentation for detailed information on API usage." +} diff --git a/.changes/next-release/api-change-networkflowmonitor-40089.json b/.changes/next-release/api-change-networkflowmonitor-40089.json new file mode 100644 index 000000000000..35287f29ca74 --- /dev/null +++ b/.changes/next-release/api-change-networkflowmonitor-40089.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``networkflowmonitor``", + "description": "This release adds documentation for a new feature in Amazon CloudWatch called Network Flow Monitor. You can use Network Flow Monitor to get near real-time metrics, including retransmissions and data transferred, for your actual workloads." +} diff --git a/.changes/next-release/api-change-opensearch-81554.json b/.changes/next-release/api-change-opensearch-81554.json new file mode 100644 index 000000000000..132976a85dcd --- /dev/null +++ b/.changes/next-release/api-change-opensearch-81554.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``opensearch``", + "description": "This feature introduces support for CRUDL APIs, enabling the creation and management of Connected data sources." +} diff --git a/.changes/next-release/api-change-organizations-1836.json b/.changes/next-release/api-change-organizations-1836.json new file mode 100644 index 000000000000..031bbe6c5342 --- /dev/null +++ b/.changes/next-release/api-change-organizations-1836.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``organizations``", + "description": "Add support for policy operations on the DECLARATIVE_POLICY_EC2 policy type." +} diff --git a/.changes/next-release/api-change-qbusiness-45772.json b/.changes/next-release/api-change-qbusiness-45772.json new file mode 100644 index 000000000000..146d12f1c7f8 --- /dev/null +++ b/.changes/next-release/api-change-qbusiness-45772.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``qbusiness``", + "description": "Amazon Q Business now supports capabilities to extract insights and answer questions from visual elements embedded within documents, a browser extension for Google Chrome, Mozilla Firefox, and Microsoft Edge, and attachments across conversations." +} diff --git a/.changes/next-release/api-change-qconnect-58426.json b/.changes/next-release/api-change-qconnect-58426.json new file mode 100644 index 000000000000..5a6e486b66ce --- /dev/null +++ b/.changes/next-release/api-change-qconnect-58426.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``qconnect``", + "description": "This release adds following capabilities: Configuring safeguards via AIGuardrails for Q in Connect inferencing, and APIs to support Q&A self-service use cases" +} diff --git a/.changes/next-release/api-change-rds-4618.json b/.changes/next-release/api-change-rds-4618.json new file mode 100644 index 000000000000..02782be1a3f2 --- /dev/null +++ b/.changes/next-release/api-change-rds-4618.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``rds``", + "description": "Amazon RDS supports CloudWatch Database Insights. You can use the SDK to create, modify, and describe the DatabaseInsightsMode for your DB instances and clusters." +} diff --git a/.changes/next-release/api-change-s3-22661.json b/.changes/next-release/api-change-s3-22661.json new file mode 100644 index 000000000000..4f92f8dd4345 --- /dev/null +++ b/.changes/next-release/api-change-s3-22661.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``s3``", + "description": "Amazon S3 introduces support for AWS Dedicated Local Zones" +} diff --git a/.changes/next-release/api-change-s3control-38247.json b/.changes/next-release/api-change-s3control-38247.json new file mode 100644 index 000000000000..32ed983d199b --- /dev/null +++ b/.changes/next-release/api-change-s3control-38247.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``s3control``", + "description": "Amazon S3 introduces support for AWS Dedicated Local Zones" +} diff --git a/.changes/next-release/api-change-securityhub-228.json b/.changes/next-release/api-change-securityhub-228.json new file mode 100644 index 000000000000..0e1916042399 --- /dev/null +++ b/.changes/next-release/api-change-securityhub-228.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``securityhub``", + "description": "Add new Multi Domain Correlation findings." +} diff --git a/.changes/next-release/api-change-securityir-23174.json b/.changes/next-release/api-change-securityir-23174.json new file mode 100644 index 000000000000..a6d82956f5dc --- /dev/null +++ b/.changes/next-release/api-change-securityir-23174.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``security-ir``", + "description": "AWS Security Incident Response is a purpose-built security incident solution designed to help customers prepare for, respond to, and recover from security incidents." +} diff --git a/.changes/next-release/api-change-transfer-933.json b/.changes/next-release/api-change-transfer-933.json new file mode 100644 index 000000000000..b24e51233f2c --- /dev/null +++ b/.changes/next-release/api-change-transfer-933.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``transfer``", + "description": "AWS Transfer Family now offers Web apps that enables simple and secure access to data stored in Amazon S3." +} diff --git a/.changes/next-release/api-change-vpclattice-4248.json b/.changes/next-release/api-change-vpclattice-4248.json new file mode 100644 index 000000000000..c342c6fae1a9 --- /dev/null +++ b/.changes/next-release/api-change-vpclattice-4248.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``vpc-lattice``", + "description": "Lattice APIs that allow sharing and access of VPC resources across accounts." +} From 14febb2b38189abfbe7f25da964954f2747e8209 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 2 Dec 2024 03:52:28 +0000 Subject: [PATCH 0329/1087] Bumping version to 1.36.13 --- .changes/1.36.13.json | 152 ++++++++++++++++++ .../api-change-bedrock-55289.json | 5 - .../api-change-bedrockagent-55519.json | 5 - .../api-change-bedrockagentruntime-23970.json | 5 - .../api-change-chimesdkvoice-15296.json | 5 - .../api-change-cleanrooms-91800.json | 5 - .../api-change-connect-46348.json | 5 - .../api-change-connectcampaignsv2-36372.json | 5 - .../api-change-customerprofiles-1205.json | 5 - .../next-release/api-change-ec2-65778.json | 5 - .../next-release/api-change-ecs-26722.json | 5 - .../next-release/api-change-eks-62210.json | 5 - .../next-release/api-change-events-11626.json | 5 - .../next-release/api-change-fsx-31899.json | 5 - .../api-change-guardduty-19350.json | 5 - .../api-change-imagebuilder-121.json | 5 - .../api-change-invoicing-86942.json | 5 - .../next-release/api-change-logs-91871.json | 5 - .../api-change-memorydb-88398.json | 5 - .../api-change-networkflowmonitor-40089.json | 5 - .../api-change-opensearch-81554.json | 5 - .../api-change-organizations-1836.json | 5 - .../api-change-qbusiness-45772.json | 5 - .../api-change-qconnect-58426.json | 5 - .../next-release/api-change-rds-4618.json | 5 - .../next-release/api-change-s3-22661.json | 5 - .../api-change-s3control-38247.json | 5 - .../api-change-securityhub-228.json | 5 - .../api-change-securityir-23174.json | 5 - .../next-release/api-change-transfer-933.json | 5 - .../api-change-vpclattice-4248.json | 5 - CHANGELOG.rst | 35 ++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 36 files changed, 191 insertions(+), 154 deletions(-) create mode 100644 .changes/1.36.13.json delete mode 100644 .changes/next-release/api-change-bedrock-55289.json delete mode 100644 .changes/next-release/api-change-bedrockagent-55519.json delete mode 100644 .changes/next-release/api-change-bedrockagentruntime-23970.json delete mode 100644 .changes/next-release/api-change-chimesdkvoice-15296.json delete mode 100644 .changes/next-release/api-change-cleanrooms-91800.json delete mode 100644 .changes/next-release/api-change-connect-46348.json delete mode 100644 .changes/next-release/api-change-connectcampaignsv2-36372.json delete mode 100644 .changes/next-release/api-change-customerprofiles-1205.json delete mode 100644 .changes/next-release/api-change-ec2-65778.json delete mode 100644 .changes/next-release/api-change-ecs-26722.json delete mode 100644 .changes/next-release/api-change-eks-62210.json delete mode 100644 .changes/next-release/api-change-events-11626.json delete mode 100644 .changes/next-release/api-change-fsx-31899.json delete mode 100644 .changes/next-release/api-change-guardduty-19350.json delete mode 100644 .changes/next-release/api-change-imagebuilder-121.json delete mode 100644 .changes/next-release/api-change-invoicing-86942.json delete mode 100644 .changes/next-release/api-change-logs-91871.json delete mode 100644 .changes/next-release/api-change-memorydb-88398.json delete mode 100644 .changes/next-release/api-change-networkflowmonitor-40089.json delete mode 100644 .changes/next-release/api-change-opensearch-81554.json delete mode 100644 .changes/next-release/api-change-organizations-1836.json delete mode 100644 .changes/next-release/api-change-qbusiness-45772.json delete mode 100644 .changes/next-release/api-change-qconnect-58426.json delete mode 100644 .changes/next-release/api-change-rds-4618.json delete mode 100644 .changes/next-release/api-change-s3-22661.json delete mode 100644 .changes/next-release/api-change-s3control-38247.json delete mode 100644 .changes/next-release/api-change-securityhub-228.json delete mode 100644 .changes/next-release/api-change-securityir-23174.json delete mode 100644 .changes/next-release/api-change-transfer-933.json delete mode 100644 .changes/next-release/api-change-vpclattice-4248.json diff --git a/.changes/1.36.13.json b/.changes/1.36.13.json new file mode 100644 index 000000000000..f9293ba5d512 --- /dev/null +++ b/.changes/1.36.13.json @@ -0,0 +1,152 @@ +[ + { + "category": "``bedrock``", + "description": "Add support for Knowledge Base Evaluations & LLM as a judge", + "type": "api-change" + }, + { + "category": "``bedrock-agent``", + "description": "This release introduces APIs to upload documents directly into a Knowledge Base", + "type": "api-change" + }, + { + "category": "``bedrock-agent-runtime``", + "description": "This release introduces a new Rerank API to leverage reranking models (with integration into Knowledge Bases); APIs to upload documents directly into Knowledge Base; RetrieveAndGenerateStream API for streaming response; Guardrails on Retrieve API; and ability to automatically generate filters", + "type": "api-change" + }, + { + "category": "``chime-sdk-voice``", + "description": "This release adds supports for enterprises to integrate Amazon Connect with other voice systems. It supports directly transferring voice calls and metadata without using the public telephone network. It also supports real-time and post-call analytics.", + "type": "api-change" + }, + { + "category": "``cleanrooms``", + "description": "This release allows customers and their partners to easily collaborate with data stored in Snowflake and Amazon Athena, without having to move or share their underlying data among collaborators.", + "type": "api-change" + }, + { + "category": "``connect``", + "description": "Adds support for WhatsApp Business messaging, IVR call recording, enabling Contact Lens for existing on-premise contact centers and telephony platforms, and enabling telephony and IVR migration to Amazon Connect independent of their contact center agents.", + "type": "api-change" + }, + { + "category": "``connectcampaignsv2``", + "description": "Amazon Connect Outbound Campaigns V2 / Features : Adds support for Event-Triggered Campaigns.", + "type": "api-change" + }, + { + "category": "``customer-profiles``", + "description": "This release introduces Event Trigger APIs as part of Amazon Connect Customer Profiles service.", + "type": "api-change" + }, + { + "category": "``ec2``", + "description": "Adds support for declarative policies that allow you to enforce desired configuration across an AWS organization through configuring account attributes. Adds support for Allowed AMIs that allows you to limit the use of AMIs in AWS accounts. Adds support for connectivity over non-HTTP protocols.", + "type": "api-change" + }, + { + "category": "``ecs``", + "description": "This release adds support for Container Insights with Enhanced Observability for Amazon ECS.", + "type": "api-change" + }, + { + "category": "``eks``", + "description": "Added support for Auto Mode Clusters, Hybrid Nodes, and specifying computeTypes in the DescribeAddonVersions API.", + "type": "api-change" + }, + { + "category": "``events``", + "description": "Call private APIs by configuring Connections with VPC connectivity through PrivateLink and VPC Lattice", + "type": "api-change" + }, + { + "category": "``fsx``", + "description": "FSx API changes to support the public launch of the Amazon FSx Intelligent Tiering for OpenZFS storage class.", + "type": "api-change" + }, + { + "category": "``guardduty``", + "description": "Add new Multi Domain Correlation findings.", + "type": "api-change" + }, + { + "category": "``imagebuilder``", + "description": "Added support for EC2 Image Builder's integration with AWS Marketplace for Marketplace components.", + "type": "api-change" + }, + { + "category": "``invoicing``", + "description": "AWS Invoice Configuration allows you to receive separate AWS invoices based on your organizational needs. You can use the AWS SDKs to manage Invoice Units and programmatically fetch the information of the invoice receiver.", + "type": "api-change" + }, + { + "category": "``logs``", + "description": "Adds PutIntegration, GetIntegration, ListIntegrations and DeleteIntegration APIs. Adds QueryLanguage support to StartQuery, GetQueryResults, DescribeQueries, DescribeQueryDefinitions, and PutQueryDefinition APIs.", + "type": "api-change" + }, + { + "category": "``memorydb``", + "description": "Amazon MemoryDB SDK now supports all APIs for Multi-Region. Please refer to the updated Amazon MemoryDB public documentation for detailed information on API usage.", + "type": "api-change" + }, + { + "category": "``networkflowmonitor``", + "description": "This release adds documentation for a new feature in Amazon CloudWatch called Network Flow Monitor. You can use Network Flow Monitor to get near real-time metrics, including retransmissions and data transferred, for your actual workloads.", + "type": "api-change" + }, + { + "category": "``opensearch``", + "description": "This feature introduces support for CRUDL APIs, enabling the creation and management of Connected data sources.", + "type": "api-change" + }, + { + "category": "``organizations``", + "description": "Add support for policy operations on the DECLARATIVE_POLICY_EC2 policy type.", + "type": "api-change" + }, + { + "category": "``qbusiness``", + "description": "Amazon Q Business now supports capabilities to extract insights and answer questions from visual elements embedded within documents, a browser extension for Google Chrome, Mozilla Firefox, and Microsoft Edge, and attachments across conversations.", + "type": "api-change" + }, + { + "category": "``qconnect``", + "description": "This release adds following capabilities: Configuring safeguards via AIGuardrails for Q in Connect inferencing, and APIs to support Q&A self-service use cases", + "type": "api-change" + }, + { + "category": "``rds``", + "description": "Amazon RDS supports CloudWatch Database Insights. You can use the SDK to create, modify, and describe the DatabaseInsightsMode for your DB instances and clusters.", + "type": "api-change" + }, + { + "category": "``s3``", + "description": "Amazon S3 introduces support for AWS Dedicated Local Zones", + "type": "api-change" + }, + { + "category": "``s3control``", + "description": "Amazon S3 introduces support for AWS Dedicated Local Zones", + "type": "api-change" + }, + { + "category": "``securityhub``", + "description": "Add new Multi Domain Correlation findings.", + "type": "api-change" + }, + { + "category": "``security-ir``", + "description": "AWS Security Incident Response is a purpose-built security incident solution designed to help customers prepare for, respond to, and recover from security incidents.", + "type": "api-change" + }, + { + "category": "``transfer``", + "description": "AWS Transfer Family now offers Web apps that enables simple and secure access to data stored in Amazon S3.", + "type": "api-change" + }, + { + "category": "``vpc-lattice``", + "description": "Lattice APIs that allow sharing and access of VPC resources across accounts.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-bedrock-55289.json b/.changes/next-release/api-change-bedrock-55289.json deleted file mode 100644 index 90232421a14d..000000000000 --- a/.changes/next-release/api-change-bedrock-55289.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock``", - "description": "Add support for Knowledge Base Evaluations & LLM as a judge" -} diff --git a/.changes/next-release/api-change-bedrockagent-55519.json b/.changes/next-release/api-change-bedrockagent-55519.json deleted file mode 100644 index 336d5120bc54..000000000000 --- a/.changes/next-release/api-change-bedrockagent-55519.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-agent``", - "description": "This release introduces APIs to upload documents directly into a Knowledge Base" -} diff --git a/.changes/next-release/api-change-bedrockagentruntime-23970.json b/.changes/next-release/api-change-bedrockagentruntime-23970.json deleted file mode 100644 index 129997772163..000000000000 --- a/.changes/next-release/api-change-bedrockagentruntime-23970.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-agent-runtime``", - "description": "This release introduces a new Rerank API to leverage reranking models (with integration into Knowledge Bases); APIs to upload documents directly into Knowledge Base; RetrieveAndGenerateStream API for streaming response; Guardrails on Retrieve API; and ability to automatically generate filters" -} diff --git a/.changes/next-release/api-change-chimesdkvoice-15296.json b/.changes/next-release/api-change-chimesdkvoice-15296.json deleted file mode 100644 index bbdad93e761c..000000000000 --- a/.changes/next-release/api-change-chimesdkvoice-15296.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``chime-sdk-voice``", - "description": "This release adds supports for enterprises to integrate Amazon Connect with other voice systems. It supports directly transferring voice calls and metadata without using the public telephone network. It also supports real-time and post-call analytics." -} diff --git a/.changes/next-release/api-change-cleanrooms-91800.json b/.changes/next-release/api-change-cleanrooms-91800.json deleted file mode 100644 index aef9a24d3fc2..000000000000 --- a/.changes/next-release/api-change-cleanrooms-91800.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``cleanrooms``", - "description": "This release allows customers and their partners to easily collaborate with data stored in Snowflake and Amazon Athena, without having to move or share their underlying data among collaborators." -} diff --git a/.changes/next-release/api-change-connect-46348.json b/.changes/next-release/api-change-connect-46348.json deleted file mode 100644 index 2d1ef209b6a1..000000000000 --- a/.changes/next-release/api-change-connect-46348.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``connect``", - "description": "Adds support for WhatsApp Business messaging, IVR call recording, enabling Contact Lens for existing on-premise contact centers and telephony platforms, and enabling telephony and IVR migration to Amazon Connect independent of their contact center agents." -} diff --git a/.changes/next-release/api-change-connectcampaignsv2-36372.json b/.changes/next-release/api-change-connectcampaignsv2-36372.json deleted file mode 100644 index f06ebb711174..000000000000 --- a/.changes/next-release/api-change-connectcampaignsv2-36372.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``connectcampaignsv2``", - "description": "Amazon Connect Outbound Campaigns V2 / Features : Adds support for Event-Triggered Campaigns." -} diff --git a/.changes/next-release/api-change-customerprofiles-1205.json b/.changes/next-release/api-change-customerprofiles-1205.json deleted file mode 100644 index cdfdd7e0e402..000000000000 --- a/.changes/next-release/api-change-customerprofiles-1205.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``customer-profiles``", - "description": "This release introduces Event Trigger APIs as part of Amazon Connect Customer Profiles service." -} diff --git a/.changes/next-release/api-change-ec2-65778.json b/.changes/next-release/api-change-ec2-65778.json deleted file mode 100644 index 04814eb5a462..000000000000 --- a/.changes/next-release/api-change-ec2-65778.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ec2``", - "description": "Adds support for declarative policies that allow you to enforce desired configuration across an AWS organization through configuring account attributes. Adds support for Allowed AMIs that allows you to limit the use of AMIs in AWS accounts. Adds support for connectivity over non-HTTP protocols." -} diff --git a/.changes/next-release/api-change-ecs-26722.json b/.changes/next-release/api-change-ecs-26722.json deleted file mode 100644 index 94ac84bc1cef..000000000000 --- a/.changes/next-release/api-change-ecs-26722.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ecs``", - "description": "This release adds support for Container Insights with Enhanced Observability for Amazon ECS." -} diff --git a/.changes/next-release/api-change-eks-62210.json b/.changes/next-release/api-change-eks-62210.json deleted file mode 100644 index 343d67aa19ae..000000000000 --- a/.changes/next-release/api-change-eks-62210.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``eks``", - "description": "Added support for Auto Mode Clusters, Hybrid Nodes, and specifying computeTypes in the DescribeAddonVersions API." -} diff --git a/.changes/next-release/api-change-events-11626.json b/.changes/next-release/api-change-events-11626.json deleted file mode 100644 index ebf2b14d639c..000000000000 --- a/.changes/next-release/api-change-events-11626.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``events``", - "description": "Call private APIs by configuring Connections with VPC connectivity through PrivateLink and VPC Lattice" -} diff --git a/.changes/next-release/api-change-fsx-31899.json b/.changes/next-release/api-change-fsx-31899.json deleted file mode 100644 index e5bbaf8d7720..000000000000 --- a/.changes/next-release/api-change-fsx-31899.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``fsx``", - "description": "FSx API changes to support the public launch of the Amazon FSx Intelligent Tiering for OpenZFS storage class." -} diff --git a/.changes/next-release/api-change-guardduty-19350.json b/.changes/next-release/api-change-guardduty-19350.json deleted file mode 100644 index a41ca76df627..000000000000 --- a/.changes/next-release/api-change-guardduty-19350.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``guardduty``", - "description": "Add new Multi Domain Correlation findings." -} diff --git a/.changes/next-release/api-change-imagebuilder-121.json b/.changes/next-release/api-change-imagebuilder-121.json deleted file mode 100644 index cb8f7d71ba92..000000000000 --- a/.changes/next-release/api-change-imagebuilder-121.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``imagebuilder``", - "description": "Added support for EC2 Image Builder's integration with AWS Marketplace for Marketplace components." -} diff --git a/.changes/next-release/api-change-invoicing-86942.json b/.changes/next-release/api-change-invoicing-86942.json deleted file mode 100644 index 15d38de8ec38..000000000000 --- a/.changes/next-release/api-change-invoicing-86942.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``invoicing``", - "description": "AWS Invoice Configuration allows you to receive separate AWS invoices based on your organizational needs. You can use the AWS SDKs to manage Invoice Units and programmatically fetch the information of the invoice receiver." -} diff --git a/.changes/next-release/api-change-logs-91871.json b/.changes/next-release/api-change-logs-91871.json deleted file mode 100644 index c17deb3bb531..000000000000 --- a/.changes/next-release/api-change-logs-91871.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``logs``", - "description": "Adds PutIntegration, GetIntegration, ListIntegrations and DeleteIntegration APIs. Adds QueryLanguage support to StartQuery, GetQueryResults, DescribeQueries, DescribeQueryDefinitions, and PutQueryDefinition APIs." -} diff --git a/.changes/next-release/api-change-memorydb-88398.json b/.changes/next-release/api-change-memorydb-88398.json deleted file mode 100644 index 9723a85dd945..000000000000 --- a/.changes/next-release/api-change-memorydb-88398.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``memorydb``", - "description": "Amazon MemoryDB SDK now supports all APIs for Multi-Region. Please refer to the updated Amazon MemoryDB public documentation for detailed information on API usage." -} diff --git a/.changes/next-release/api-change-networkflowmonitor-40089.json b/.changes/next-release/api-change-networkflowmonitor-40089.json deleted file mode 100644 index 35287f29ca74..000000000000 --- a/.changes/next-release/api-change-networkflowmonitor-40089.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``networkflowmonitor``", - "description": "This release adds documentation for a new feature in Amazon CloudWatch called Network Flow Monitor. You can use Network Flow Monitor to get near real-time metrics, including retransmissions and data transferred, for your actual workloads." -} diff --git a/.changes/next-release/api-change-opensearch-81554.json b/.changes/next-release/api-change-opensearch-81554.json deleted file mode 100644 index 132976a85dcd..000000000000 --- a/.changes/next-release/api-change-opensearch-81554.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``opensearch``", - "description": "This feature introduces support for CRUDL APIs, enabling the creation and management of Connected data sources." -} diff --git a/.changes/next-release/api-change-organizations-1836.json b/.changes/next-release/api-change-organizations-1836.json deleted file mode 100644 index 031bbe6c5342..000000000000 --- a/.changes/next-release/api-change-organizations-1836.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``organizations``", - "description": "Add support for policy operations on the DECLARATIVE_POLICY_EC2 policy type." -} diff --git a/.changes/next-release/api-change-qbusiness-45772.json b/.changes/next-release/api-change-qbusiness-45772.json deleted file mode 100644 index 146d12f1c7f8..000000000000 --- a/.changes/next-release/api-change-qbusiness-45772.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``qbusiness``", - "description": "Amazon Q Business now supports capabilities to extract insights and answer questions from visual elements embedded within documents, a browser extension for Google Chrome, Mozilla Firefox, and Microsoft Edge, and attachments across conversations." -} diff --git a/.changes/next-release/api-change-qconnect-58426.json b/.changes/next-release/api-change-qconnect-58426.json deleted file mode 100644 index 5a6e486b66ce..000000000000 --- a/.changes/next-release/api-change-qconnect-58426.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``qconnect``", - "description": "This release adds following capabilities: Configuring safeguards via AIGuardrails for Q in Connect inferencing, and APIs to support Q&A self-service use cases" -} diff --git a/.changes/next-release/api-change-rds-4618.json b/.changes/next-release/api-change-rds-4618.json deleted file mode 100644 index 02782be1a3f2..000000000000 --- a/.changes/next-release/api-change-rds-4618.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``rds``", - "description": "Amazon RDS supports CloudWatch Database Insights. You can use the SDK to create, modify, and describe the DatabaseInsightsMode for your DB instances and clusters." -} diff --git a/.changes/next-release/api-change-s3-22661.json b/.changes/next-release/api-change-s3-22661.json deleted file mode 100644 index 4f92f8dd4345..000000000000 --- a/.changes/next-release/api-change-s3-22661.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``s3``", - "description": "Amazon S3 introduces support for AWS Dedicated Local Zones" -} diff --git a/.changes/next-release/api-change-s3control-38247.json b/.changes/next-release/api-change-s3control-38247.json deleted file mode 100644 index 32ed983d199b..000000000000 --- a/.changes/next-release/api-change-s3control-38247.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``s3control``", - "description": "Amazon S3 introduces support for AWS Dedicated Local Zones" -} diff --git a/.changes/next-release/api-change-securityhub-228.json b/.changes/next-release/api-change-securityhub-228.json deleted file mode 100644 index 0e1916042399..000000000000 --- a/.changes/next-release/api-change-securityhub-228.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``securityhub``", - "description": "Add new Multi Domain Correlation findings." -} diff --git a/.changes/next-release/api-change-securityir-23174.json b/.changes/next-release/api-change-securityir-23174.json deleted file mode 100644 index a6d82956f5dc..000000000000 --- a/.changes/next-release/api-change-securityir-23174.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``security-ir``", - "description": "AWS Security Incident Response is a purpose-built security incident solution designed to help customers prepare for, respond to, and recover from security incidents." -} diff --git a/.changes/next-release/api-change-transfer-933.json b/.changes/next-release/api-change-transfer-933.json deleted file mode 100644 index b24e51233f2c..000000000000 --- a/.changes/next-release/api-change-transfer-933.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``transfer``", - "description": "AWS Transfer Family now offers Web apps that enables simple and secure access to data stored in Amazon S3." -} diff --git a/.changes/next-release/api-change-vpclattice-4248.json b/.changes/next-release/api-change-vpclattice-4248.json deleted file mode 100644 index c342c6fae1a9..000000000000 --- a/.changes/next-release/api-change-vpclattice-4248.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``vpc-lattice``", - "description": "Lattice APIs that allow sharing and access of VPC resources across accounts." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 9ff263a00784..54b97e29427d 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,41 @@ CHANGELOG ========= +1.36.13 +======= + +* api-change:``bedrock``: Add support for Knowledge Base Evaluations & LLM as a judge +* api-change:``bedrock-agent``: This release introduces APIs to upload documents directly into a Knowledge Base +* api-change:``bedrock-agent-runtime``: This release introduces a new Rerank API to leverage reranking models (with integration into Knowledge Bases); APIs to upload documents directly into Knowledge Base; RetrieveAndGenerateStream API for streaming response; Guardrails on Retrieve API; and ability to automatically generate filters +* api-change:``chime-sdk-voice``: This release adds supports for enterprises to integrate Amazon Connect with other voice systems. It supports directly transferring voice calls and metadata without using the public telephone network. It also supports real-time and post-call analytics. +* api-change:``cleanrooms``: This release allows customers and their partners to easily collaborate with data stored in Snowflake and Amazon Athena, without having to move or share their underlying data among collaborators. +* api-change:``connect``: Adds support for WhatsApp Business messaging, IVR call recording, enabling Contact Lens for existing on-premise contact centers and telephony platforms, and enabling telephony and IVR migration to Amazon Connect independent of their contact center agents. +* api-change:``connectcampaignsv2``: Amazon Connect Outbound Campaigns V2 / Features : Adds support for Event-Triggered Campaigns. +* api-change:``customer-profiles``: This release introduces Event Trigger APIs as part of Amazon Connect Customer Profiles service. +* api-change:``ec2``: Adds support for declarative policies that allow you to enforce desired configuration across an AWS organization through configuring account attributes. Adds support for Allowed AMIs that allows you to limit the use of AMIs in AWS accounts. Adds support for connectivity over non-HTTP protocols. +* api-change:``ecs``: This release adds support for Container Insights with Enhanced Observability for Amazon ECS. +* api-change:``eks``: Added support for Auto Mode Clusters, Hybrid Nodes, and specifying computeTypes in the DescribeAddonVersions API. +* api-change:``events``: Call private APIs by configuring Connections with VPC connectivity through PrivateLink and VPC Lattice +* api-change:``fsx``: FSx API changes to support the public launch of the Amazon FSx Intelligent Tiering for OpenZFS storage class. +* api-change:``guardduty``: Add new Multi Domain Correlation findings. +* api-change:``imagebuilder``: Added support for EC2 Image Builder's integration with AWS Marketplace for Marketplace components. +* api-change:``invoicing``: AWS Invoice Configuration allows you to receive separate AWS invoices based on your organizational needs. You can use the AWS SDKs to manage Invoice Units and programmatically fetch the information of the invoice receiver. +* api-change:``logs``: Adds PutIntegration, GetIntegration, ListIntegrations and DeleteIntegration APIs. Adds QueryLanguage support to StartQuery, GetQueryResults, DescribeQueries, DescribeQueryDefinitions, and PutQueryDefinition APIs. +* api-change:``memorydb``: Amazon MemoryDB SDK now supports all APIs for Multi-Region. Please refer to the updated Amazon MemoryDB public documentation for detailed information on API usage. +* api-change:``networkflowmonitor``: This release adds documentation for a new feature in Amazon CloudWatch called Network Flow Monitor. You can use Network Flow Monitor to get near real-time metrics, including retransmissions and data transferred, for your actual workloads. +* api-change:``opensearch``: This feature introduces support for CRUDL APIs, enabling the creation and management of Connected data sources. +* api-change:``organizations``: Add support for policy operations on the DECLARATIVE_POLICY_EC2 policy type. +* api-change:``qbusiness``: Amazon Q Business now supports capabilities to extract insights and answer questions from visual elements embedded within documents, a browser extension for Google Chrome, Mozilla Firefox, and Microsoft Edge, and attachments across conversations. +* api-change:``qconnect``: This release adds following capabilities: Configuring safeguards via AIGuardrails for Q in Connect inferencing, and APIs to support Q&A self-service use cases +* api-change:``rds``: Amazon RDS supports CloudWatch Database Insights. You can use the SDK to create, modify, and describe the DatabaseInsightsMode for your DB instances and clusters. +* api-change:``s3``: Amazon S3 introduces support for AWS Dedicated Local Zones +* api-change:``s3control``: Amazon S3 introduces support for AWS Dedicated Local Zones +* api-change:``securityhub``: Add new Multi Domain Correlation findings. +* api-change:``security-ir``: AWS Security Incident Response is a purpose-built security incident solution designed to help customers prepare for, respond to, and recover from security incidents. +* api-change:``transfer``: AWS Transfer Family now offers Web apps that enables simple and secure access to data stored in Amazon S3. +* api-change:``vpc-lattice``: Lattice APIs that allow sharing and access of VPC resources across accounts. + + 1.36.12 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 28384d3581e7..f3467b91c7ba 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.36.12' +__version__ = '1.36.13' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 54ff120960e9..5bc03b333936 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.36.' # The full version, including alpha/beta/rc tags. -release = '1.36.12' +release = '1.36.13' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 38183c38c780..3e99ae6a74e7 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.71 + botocore==1.35.72 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index ff4a4a8906e1..74c8fe1c3963 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.71', + 'botocore==1.35.72', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 85fb86db4fd7cb57acd45497aff40aaaef2feb77 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 3 Dec 2024 05:31:16 +0000 Subject: [PATCH 0330/1087] Update changelog based on model updates --- .changes/next-release/api-change-bedrockruntime-39694.json | 5 +++++ .changes/next-release/api-change-s3control-26317.json | 5 +++++ .changes/next-release/api-change-socialmessaging-43290.json | 5 +++++ 3 files changed, 15 insertions(+) create mode 100644 .changes/next-release/api-change-bedrockruntime-39694.json create mode 100644 .changes/next-release/api-change-s3control-26317.json create mode 100644 .changes/next-release/api-change-socialmessaging-43290.json diff --git a/.changes/next-release/api-change-bedrockruntime-39694.json b/.changes/next-release/api-change-bedrockruntime-39694.json new file mode 100644 index 000000000000..b2f190156d26 --- /dev/null +++ b/.changes/next-release/api-change-bedrockruntime-39694.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-runtime``", + "description": "Add an API parameter that allows customers to set performance configuration for invoking a model." +} diff --git a/.changes/next-release/api-change-s3control-26317.json b/.changes/next-release/api-change-s3control-26317.json new file mode 100644 index 000000000000..8c39e9c36b33 --- /dev/null +++ b/.changes/next-release/api-change-s3control-26317.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``s3control``", + "description": "It allows customers to pass CRC64NVME as a header in S3 Batch Operations copy requests" +} diff --git a/.changes/next-release/api-change-socialmessaging-43290.json b/.changes/next-release/api-change-socialmessaging-43290.json new file mode 100644 index 000000000000..831e103f7827 --- /dev/null +++ b/.changes/next-release/api-change-socialmessaging-43290.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``socialmessaging``", + "description": "Added support for passing role arn corresponding to the supported event destination" +} From dfa73d9b1aa48fea7b074191aed55475f26ebb2e Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 3 Dec 2024 05:32:37 +0000 Subject: [PATCH 0331/1087] Bumping version to 1.36.14 --- .changes/1.36.14.json | 17 +++++++++++++++++ .../api-change-bedrockruntime-39694.json | 5 ----- .../api-change-s3control-26317.json | 5 ----- .../api-change-socialmessaging-43290.json | 5 ----- CHANGELOG.rst | 8 ++++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 9 files changed, 29 insertions(+), 19 deletions(-) create mode 100644 .changes/1.36.14.json delete mode 100644 .changes/next-release/api-change-bedrockruntime-39694.json delete mode 100644 .changes/next-release/api-change-s3control-26317.json delete mode 100644 .changes/next-release/api-change-socialmessaging-43290.json diff --git a/.changes/1.36.14.json b/.changes/1.36.14.json new file mode 100644 index 000000000000..8cc093c5fcc5 --- /dev/null +++ b/.changes/1.36.14.json @@ -0,0 +1,17 @@ +[ + { + "category": "``bedrock-runtime``", + "description": "Add an API parameter that allows customers to set performance configuration for invoking a model.", + "type": "api-change" + }, + { + "category": "``s3control``", + "description": "It allows customers to pass CRC64NVME as a header in S3 Batch Operations copy requests", + "type": "api-change" + }, + { + "category": "``socialmessaging``", + "description": "Added support for passing role arn corresponding to the supported event destination", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-bedrockruntime-39694.json b/.changes/next-release/api-change-bedrockruntime-39694.json deleted file mode 100644 index b2f190156d26..000000000000 --- a/.changes/next-release/api-change-bedrockruntime-39694.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-runtime``", - "description": "Add an API parameter that allows customers to set performance configuration for invoking a model." -} diff --git a/.changes/next-release/api-change-s3control-26317.json b/.changes/next-release/api-change-s3control-26317.json deleted file mode 100644 index 8c39e9c36b33..000000000000 --- a/.changes/next-release/api-change-s3control-26317.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``s3control``", - "description": "It allows customers to pass CRC64NVME as a header in S3 Batch Operations copy requests" -} diff --git a/.changes/next-release/api-change-socialmessaging-43290.json b/.changes/next-release/api-change-socialmessaging-43290.json deleted file mode 100644 index 831e103f7827..000000000000 --- a/.changes/next-release/api-change-socialmessaging-43290.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``socialmessaging``", - "description": "Added support for passing role arn corresponding to the supported event destination" -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 54b97e29427d..7b54d3aed4cc 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,14 @@ CHANGELOG ========= +1.36.14 +======= + +* api-change:``bedrock-runtime``: Add an API parameter that allows customers to set performance configuration for invoking a model. +* api-change:``s3control``: It allows customers to pass CRC64NVME as a header in S3 Batch Operations copy requests +* api-change:``socialmessaging``: Added support for passing role arn corresponding to the supported event destination + + 1.36.13 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index f3467b91c7ba..f11528cd5f50 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.36.13' +__version__ = '1.36.14' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 5bc03b333936..6f362a26ffbf 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.36.' # The full version, including alpha/beta/rc tags. -release = '1.36.13' +release = '1.36.14' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 3e99ae6a74e7..d67e86a05e5b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.72 + botocore==1.35.73 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 74c8fe1c3963..938a0a170670 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.72', + 'botocore==1.35.73', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 31ac11bfaada573d2d4b0634d543f3bb439e63ae Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 3 Dec 2024 19:07:29 +0000 Subject: [PATCH 0332/1087] Update changelog based on model updates --- .changes/next-release/api-change-athena-29879.json | 5 +++++ .changes/next-release/api-change-bedrock-99050.json | 5 +++++ .changes/next-release/api-change-bedrockagent-30301.json | 5 +++++ .../next-release/api-change-bedrockagentruntime-30190.json | 5 +++++ .changes/next-release/api-change-bedrockruntime-63349.json | 5 +++++ .changes/next-release/api-change-cloudwatch-46206.json | 5 +++++ .changes/next-release/api-change-datazone-25761.json | 5 +++++ .changes/next-release/api-change-dsql-17263.json | 5 +++++ .changes/next-release/api-change-dynamodb-73503.json | 5 +++++ .changes/next-release/api-change-glue-3355.json | 5 +++++ .changes/next-release/api-change-lakeformation-27344.json | 5 +++++ .changes/next-release/api-change-qapps-98500.json | 5 +++++ .changes/next-release/api-change-qbusiness-52452.json | 5 +++++ .changes/next-release/api-change-quicksight-41482.json | 5 +++++ .changes/next-release/api-change-redshift-93570.json | 5 +++++ .../next-release/api-change-redshiftserverless-70108.json | 5 +++++ .changes/next-release/api-change-s3-94654.json | 5 +++++ .changes/next-release/api-change-s3tables-60101.json | 5 +++++ 18 files changed, 90 insertions(+) create mode 100644 .changes/next-release/api-change-athena-29879.json create mode 100644 .changes/next-release/api-change-bedrock-99050.json create mode 100644 .changes/next-release/api-change-bedrockagent-30301.json create mode 100644 .changes/next-release/api-change-bedrockagentruntime-30190.json create mode 100644 .changes/next-release/api-change-bedrockruntime-63349.json create mode 100644 .changes/next-release/api-change-cloudwatch-46206.json create mode 100644 .changes/next-release/api-change-datazone-25761.json create mode 100644 .changes/next-release/api-change-dsql-17263.json create mode 100644 .changes/next-release/api-change-dynamodb-73503.json create mode 100644 .changes/next-release/api-change-glue-3355.json create mode 100644 .changes/next-release/api-change-lakeformation-27344.json create mode 100644 .changes/next-release/api-change-qapps-98500.json create mode 100644 .changes/next-release/api-change-qbusiness-52452.json create mode 100644 .changes/next-release/api-change-quicksight-41482.json create mode 100644 .changes/next-release/api-change-redshift-93570.json create mode 100644 .changes/next-release/api-change-redshiftserverless-70108.json create mode 100644 .changes/next-release/api-change-s3-94654.json create mode 100644 .changes/next-release/api-change-s3tables-60101.json diff --git a/.changes/next-release/api-change-athena-29879.json b/.changes/next-release/api-change-athena-29879.json new file mode 100644 index 000000000000..e2f920ea75da --- /dev/null +++ b/.changes/next-release/api-change-athena-29879.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``athena``", + "description": "Add FEDERATED type to CreateDataCatalog. This creates Athena Data Catalog, AWS Lambda connector, and AWS Glue connection. Create/DeleteDataCatalog returns DataCatalog. Add Status, ConnectionType, and Error to DataCatalog and DataCatalogSummary. Add DeleteCatalogOnly to delete Athena Catalog only." +} diff --git a/.changes/next-release/api-change-bedrock-99050.json b/.changes/next-release/api-change-bedrock-99050.json new file mode 100644 index 000000000000..9acbcad6174e --- /dev/null +++ b/.changes/next-release/api-change-bedrock-99050.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock``", + "description": "Tagging support for Async Invoke resources. Added support for Distillation in CreateModelCustomizationJob API. Support for videoDataDeliveryEnabled flag in invocation logging." +} diff --git a/.changes/next-release/api-change-bedrockagent-30301.json b/.changes/next-release/api-change-bedrockagent-30301.json new file mode 100644 index 000000000000..ad028989de8c --- /dev/null +++ b/.changes/next-release/api-change-bedrockagent-30301.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-agent``", + "description": "Releasing SDK for Multi-Agent Collaboration." +} diff --git a/.changes/next-release/api-change-bedrockagentruntime-30190.json b/.changes/next-release/api-change-bedrockagentruntime-30190.json new file mode 100644 index 000000000000..f8c530758b8c --- /dev/null +++ b/.changes/next-release/api-change-bedrockagentruntime-30190.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-agent-runtime``", + "description": "Releasing SDK for multi agent collaboration" +} diff --git a/.changes/next-release/api-change-bedrockruntime-63349.json b/.changes/next-release/api-change-bedrockruntime-63349.json new file mode 100644 index 000000000000..da84a83f7f3b --- /dev/null +++ b/.changes/next-release/api-change-bedrockruntime-63349.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-runtime``", + "description": "Added support for Async Invoke Operations Start, List and Get. Support for invocation logs with `requestMetadata` field in Converse, ConverseStream, Invoke and InvokeStream. Video content blocks in Converse/ConverseStream accept raw bytes or S3 URI." +} diff --git a/.changes/next-release/api-change-cloudwatch-46206.json b/.changes/next-release/api-change-cloudwatch-46206.json new file mode 100644 index 000000000000..c11d6d31efd1 --- /dev/null +++ b/.changes/next-release/api-change-cloudwatch-46206.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``cloudwatch``", + "description": "Support for configuring AiOps investigation as alarm action" +} diff --git a/.changes/next-release/api-change-datazone-25761.json b/.changes/next-release/api-change-datazone-25761.json new file mode 100644 index 000000000000..e94202b50e0e --- /dev/null +++ b/.changes/next-release/api-change-datazone-25761.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``datazone``", + "description": "Adds support for Connections, ProjectProfiles, and JobRuns APIs. Supports the new Lineage feature at GA. Adjusts optionality of a parameter for DataSource and SubscriptionTarget APIs which may adjust types in some clients." +} diff --git a/.changes/next-release/api-change-dsql-17263.json b/.changes/next-release/api-change-dsql-17263.json new file mode 100644 index 000000000000..273c38d8c807 --- /dev/null +++ b/.changes/next-release/api-change-dsql-17263.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``dsql``", + "description": "Add new API operations for Amazon Aurora DSQL. Amazon Aurora DSQL is a serverless, distributed SQL database with virtually unlimited scale, highest availability, and zero infrastructure management." +} diff --git a/.changes/next-release/api-change-dynamodb-73503.json b/.changes/next-release/api-change-dynamodb-73503.json new file mode 100644 index 000000000000..d1a53fb2b99e --- /dev/null +++ b/.changes/next-release/api-change-dynamodb-73503.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``dynamodb``", + "description": "This change adds support for global tables with multi-Region strong consistency (in preview). The UpdateTable API now supports a new attribute MultiRegionConsistency to set consistency when creating global tables. The DescribeTable output now optionally includes the MultiRegionConsistency attribute." +} diff --git a/.changes/next-release/api-change-glue-3355.json b/.changes/next-release/api-change-glue-3355.json new file mode 100644 index 000000000000..75aab604f38c --- /dev/null +++ b/.changes/next-release/api-change-glue-3355.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``glue``", + "description": "This release includes(1)Zero-ETL integration to ingest data from 3P SaaS and DynamoDB to Redshift/Redlake (2)new properties on Connections to enable reuse; new connection APIs for retrieve/preview metadata (3)support of CRUD operations for Multi-catalog (4)support of automatic statistics collections" +} diff --git a/.changes/next-release/api-change-lakeformation-27344.json b/.changes/next-release/api-change-lakeformation-27344.json new file mode 100644 index 000000000000..9f6380fe8d7b --- /dev/null +++ b/.changes/next-release/api-change-lakeformation-27344.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``lakeformation``", + "description": "This release added two new LakeFormation Permissions (CREATE_CATALOG, SUPER_USER) and added Id field for CatalogResource. It also added new conditon and expression field." +} diff --git a/.changes/next-release/api-change-qapps-98500.json b/.changes/next-release/api-change-qapps-98500.json new file mode 100644 index 000000000000..5dce11170409 --- /dev/null +++ b/.changes/next-release/api-change-qapps-98500.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``qapps``", + "description": "Add support for 11 new plugins as action cards to help automate repetitive tasks and improve productivity." +} diff --git a/.changes/next-release/api-change-qbusiness-52452.json b/.changes/next-release/api-change-qbusiness-52452.json new file mode 100644 index 000000000000..891b2afddf41 --- /dev/null +++ b/.changes/next-release/api-change-qbusiness-52452.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``qbusiness``", + "description": "Amazon Q Business now supports customization options for your web experience, 11 new Plugins, and QuickSight support. Amazon Q index allows software providers to enrich their native generative AI experiences with their customer's enterprise knowledge and user context spanning multiple applications." +} diff --git a/.changes/next-release/api-change-quicksight-41482.json b/.changes/next-release/api-change-quicksight-41482.json new file mode 100644 index 000000000000..278464ec93e4 --- /dev/null +++ b/.changes/next-release/api-change-quicksight-41482.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``quicksight``", + "description": "This release includes API needed to support for Unstructured Data in Q in QuickSight Q&A (IDC)." +} diff --git a/.changes/next-release/api-change-redshift-93570.json b/.changes/next-release/api-change-redshift-93570.json new file mode 100644 index 000000000000..1a07e4847cf4 --- /dev/null +++ b/.changes/next-release/api-change-redshift-93570.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``redshift``", + "description": "Adds support for Amazon Redshift RegisterNamespace and DeregisterNamespace APIs to share data to AWS Glue Data Catalog." +} diff --git a/.changes/next-release/api-change-redshiftserverless-70108.json b/.changes/next-release/api-change-redshiftserverless-70108.json new file mode 100644 index 000000000000..be6534b8341e --- /dev/null +++ b/.changes/next-release/api-change-redshiftserverless-70108.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``redshift-serverless``", + "description": "Adds support for the ListManagedWorkgroups API to get an overview of existing managed workgroups." +} diff --git a/.changes/next-release/api-change-s3-94654.json b/.changes/next-release/api-change-s3-94654.json new file mode 100644 index 000000000000..f1b108278ebb --- /dev/null +++ b/.changes/next-release/api-change-s3-94654.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``s3``", + "description": "Amazon S3 Metadata stores object metadata in read-only, fully managed Apache Iceberg metadata tables that you can query. You can create metadata table configurations for S3 general purpose buckets." +} diff --git a/.changes/next-release/api-change-s3tables-60101.json b/.changes/next-release/api-change-s3tables-60101.json new file mode 100644 index 000000000000..9a754f54f293 --- /dev/null +++ b/.changes/next-release/api-change-s3tables-60101.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``s3tables``", + "description": "Amazon S3 Tables deliver the first cloud object store with built-in open table format support, and the easiest way to store tabular data at scale." +} From 028d4e293079c1fa106a640e03042d8b05ef77e0 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 3 Dec 2024 19:09:05 +0000 Subject: [PATCH 0333/1087] Bumping version to 1.36.15 --- .changes/1.36.15.json | 92 +++++++++++++++++++ .../next-release/api-change-athena-29879.json | 5 - .../api-change-bedrock-99050.json | 5 - .../api-change-bedrockagent-30301.json | 5 - .../api-change-bedrockagentruntime-30190.json | 5 - .../api-change-bedrockruntime-63349.json | 5 - .../api-change-cloudwatch-46206.json | 5 - .../api-change-datazone-25761.json | 5 - .../next-release/api-change-dsql-17263.json | 5 - .../api-change-dynamodb-73503.json | 5 - .../next-release/api-change-glue-3355.json | 5 - .../api-change-lakeformation-27344.json | 5 - .../next-release/api-change-qapps-98500.json | 5 - .../api-change-qbusiness-52452.json | 5 - .../api-change-quicksight-41482.json | 5 - .../api-change-redshift-93570.json | 5 - .../api-change-redshiftserverless-70108.json | 5 - .../next-release/api-change-s3-94654.json | 5 - .../api-change-s3tables-60101.json | 5 - CHANGELOG.rst | 23 +++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 24 files changed, 119 insertions(+), 94 deletions(-) create mode 100644 .changes/1.36.15.json delete mode 100644 .changes/next-release/api-change-athena-29879.json delete mode 100644 .changes/next-release/api-change-bedrock-99050.json delete mode 100644 .changes/next-release/api-change-bedrockagent-30301.json delete mode 100644 .changes/next-release/api-change-bedrockagentruntime-30190.json delete mode 100644 .changes/next-release/api-change-bedrockruntime-63349.json delete mode 100644 .changes/next-release/api-change-cloudwatch-46206.json delete mode 100644 .changes/next-release/api-change-datazone-25761.json delete mode 100644 .changes/next-release/api-change-dsql-17263.json delete mode 100644 .changes/next-release/api-change-dynamodb-73503.json delete mode 100644 .changes/next-release/api-change-glue-3355.json delete mode 100644 .changes/next-release/api-change-lakeformation-27344.json delete mode 100644 .changes/next-release/api-change-qapps-98500.json delete mode 100644 .changes/next-release/api-change-qbusiness-52452.json delete mode 100644 .changes/next-release/api-change-quicksight-41482.json delete mode 100644 .changes/next-release/api-change-redshift-93570.json delete mode 100644 .changes/next-release/api-change-redshiftserverless-70108.json delete mode 100644 .changes/next-release/api-change-s3-94654.json delete mode 100644 .changes/next-release/api-change-s3tables-60101.json diff --git a/.changes/1.36.15.json b/.changes/1.36.15.json new file mode 100644 index 000000000000..8403e5d0976a --- /dev/null +++ b/.changes/1.36.15.json @@ -0,0 +1,92 @@ +[ + { + "category": "``athena``", + "description": "Add FEDERATED type to CreateDataCatalog. This creates Athena Data Catalog, AWS Lambda connector, and AWS Glue connection. Create/DeleteDataCatalog returns DataCatalog. Add Status, ConnectionType, and Error to DataCatalog and DataCatalogSummary. Add DeleteCatalogOnly to delete Athena Catalog only.", + "type": "api-change" + }, + { + "category": "``bedrock``", + "description": "Tagging support for Async Invoke resources. Added support for Distillation in CreateModelCustomizationJob API. Support for videoDataDeliveryEnabled flag in invocation logging.", + "type": "api-change" + }, + { + "category": "``bedrock-agent``", + "description": "Releasing SDK for Multi-Agent Collaboration.", + "type": "api-change" + }, + { + "category": "``bedrock-agent-runtime``", + "description": "Releasing SDK for multi agent collaboration", + "type": "api-change" + }, + { + "category": "``bedrock-runtime``", + "description": "Added support for Async Invoke Operations Start, List and Get. Support for invocation logs with `requestMetadata` field in Converse, ConverseStream, Invoke and InvokeStream. Video content blocks in Converse/ConverseStream accept raw bytes or S3 URI.", + "type": "api-change" + }, + { + "category": "``cloudwatch``", + "description": "Support for configuring AiOps investigation as alarm action", + "type": "api-change" + }, + { + "category": "``datazone``", + "description": "Adds support for Connections, ProjectProfiles, and JobRuns APIs. Supports the new Lineage feature at GA. Adjusts optionality of a parameter for DataSource and SubscriptionTarget APIs which may adjust types in some clients.", + "type": "api-change" + }, + { + "category": "``dsql``", + "description": "Add new API operations for Amazon Aurora DSQL. Amazon Aurora DSQL is a serverless, distributed SQL database with virtually unlimited scale, highest availability, and zero infrastructure management.", + "type": "api-change" + }, + { + "category": "``dynamodb``", + "description": "This change adds support for global tables with multi-Region strong consistency (in preview). The UpdateTable API now supports a new attribute MultiRegionConsistency to set consistency when creating global tables. The DescribeTable output now optionally includes the MultiRegionConsistency attribute.", + "type": "api-change" + }, + { + "category": "``glue``", + "description": "This release includes(1)Zero-ETL integration to ingest data from 3P SaaS and DynamoDB to Redshift/Redlake (2)new properties on Connections to enable reuse; new connection APIs for retrieve/preview metadata (3)support of CRUD operations for Multi-catalog (4)support of automatic statistics collections", + "type": "api-change" + }, + { + "category": "``lakeformation``", + "description": "This release added two new LakeFormation Permissions (CREATE_CATALOG, SUPER_USER) and added Id field for CatalogResource. It also added new conditon and expression field.", + "type": "api-change" + }, + { + "category": "``qapps``", + "description": "Add support for 11 new plugins as action cards to help automate repetitive tasks and improve productivity.", + "type": "api-change" + }, + { + "category": "``qbusiness``", + "description": "Amazon Q Business now supports customization options for your web experience, 11 new Plugins, and QuickSight support. Amazon Q index allows software providers to enrich their native generative AI experiences with their customer's enterprise knowledge and user context spanning multiple applications.", + "type": "api-change" + }, + { + "category": "``quicksight``", + "description": "This release includes API needed to support for Unstructured Data in Q in QuickSight Q&A (IDC).", + "type": "api-change" + }, + { + "category": "``redshift``", + "description": "Adds support for Amazon Redshift RegisterNamespace and DeregisterNamespace APIs to share data to AWS Glue Data Catalog.", + "type": "api-change" + }, + { + "category": "``redshift-serverless``", + "description": "Adds support for the ListManagedWorkgroups API to get an overview of existing managed workgroups.", + "type": "api-change" + }, + { + "category": "``s3``", + "description": "Amazon S3 Metadata stores object metadata in read-only, fully managed Apache Iceberg metadata tables that you can query. You can create metadata table configurations for S3 general purpose buckets.", + "type": "api-change" + }, + { + "category": "``s3tables``", + "description": "Amazon S3 Tables deliver the first cloud object store with built-in open table format support, and the easiest way to store tabular data at scale.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-athena-29879.json b/.changes/next-release/api-change-athena-29879.json deleted file mode 100644 index e2f920ea75da..000000000000 --- a/.changes/next-release/api-change-athena-29879.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``athena``", - "description": "Add FEDERATED type to CreateDataCatalog. This creates Athena Data Catalog, AWS Lambda connector, and AWS Glue connection. Create/DeleteDataCatalog returns DataCatalog. Add Status, ConnectionType, and Error to DataCatalog and DataCatalogSummary. Add DeleteCatalogOnly to delete Athena Catalog only." -} diff --git a/.changes/next-release/api-change-bedrock-99050.json b/.changes/next-release/api-change-bedrock-99050.json deleted file mode 100644 index 9acbcad6174e..000000000000 --- a/.changes/next-release/api-change-bedrock-99050.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock``", - "description": "Tagging support for Async Invoke resources. Added support for Distillation in CreateModelCustomizationJob API. Support for videoDataDeliveryEnabled flag in invocation logging." -} diff --git a/.changes/next-release/api-change-bedrockagent-30301.json b/.changes/next-release/api-change-bedrockagent-30301.json deleted file mode 100644 index ad028989de8c..000000000000 --- a/.changes/next-release/api-change-bedrockagent-30301.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-agent``", - "description": "Releasing SDK for Multi-Agent Collaboration." -} diff --git a/.changes/next-release/api-change-bedrockagentruntime-30190.json b/.changes/next-release/api-change-bedrockagentruntime-30190.json deleted file mode 100644 index f8c530758b8c..000000000000 --- a/.changes/next-release/api-change-bedrockagentruntime-30190.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-agent-runtime``", - "description": "Releasing SDK for multi agent collaboration" -} diff --git a/.changes/next-release/api-change-bedrockruntime-63349.json b/.changes/next-release/api-change-bedrockruntime-63349.json deleted file mode 100644 index da84a83f7f3b..000000000000 --- a/.changes/next-release/api-change-bedrockruntime-63349.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-runtime``", - "description": "Added support for Async Invoke Operations Start, List and Get. Support for invocation logs with `requestMetadata` field in Converse, ConverseStream, Invoke and InvokeStream. Video content blocks in Converse/ConverseStream accept raw bytes or S3 URI." -} diff --git a/.changes/next-release/api-change-cloudwatch-46206.json b/.changes/next-release/api-change-cloudwatch-46206.json deleted file mode 100644 index c11d6d31efd1..000000000000 --- a/.changes/next-release/api-change-cloudwatch-46206.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``cloudwatch``", - "description": "Support for configuring AiOps investigation as alarm action" -} diff --git a/.changes/next-release/api-change-datazone-25761.json b/.changes/next-release/api-change-datazone-25761.json deleted file mode 100644 index e94202b50e0e..000000000000 --- a/.changes/next-release/api-change-datazone-25761.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``datazone``", - "description": "Adds support for Connections, ProjectProfiles, and JobRuns APIs. Supports the new Lineage feature at GA. Adjusts optionality of a parameter for DataSource and SubscriptionTarget APIs which may adjust types in some clients." -} diff --git a/.changes/next-release/api-change-dsql-17263.json b/.changes/next-release/api-change-dsql-17263.json deleted file mode 100644 index 273c38d8c807..000000000000 --- a/.changes/next-release/api-change-dsql-17263.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``dsql``", - "description": "Add new API operations for Amazon Aurora DSQL. Amazon Aurora DSQL is a serverless, distributed SQL database with virtually unlimited scale, highest availability, and zero infrastructure management." -} diff --git a/.changes/next-release/api-change-dynamodb-73503.json b/.changes/next-release/api-change-dynamodb-73503.json deleted file mode 100644 index d1a53fb2b99e..000000000000 --- a/.changes/next-release/api-change-dynamodb-73503.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``dynamodb``", - "description": "This change adds support for global tables with multi-Region strong consistency (in preview). The UpdateTable API now supports a new attribute MultiRegionConsistency to set consistency when creating global tables. The DescribeTable output now optionally includes the MultiRegionConsistency attribute." -} diff --git a/.changes/next-release/api-change-glue-3355.json b/.changes/next-release/api-change-glue-3355.json deleted file mode 100644 index 75aab604f38c..000000000000 --- a/.changes/next-release/api-change-glue-3355.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``glue``", - "description": "This release includes(1)Zero-ETL integration to ingest data from 3P SaaS and DynamoDB to Redshift/Redlake (2)new properties on Connections to enable reuse; new connection APIs for retrieve/preview metadata (3)support of CRUD operations for Multi-catalog (4)support of automatic statistics collections" -} diff --git a/.changes/next-release/api-change-lakeformation-27344.json b/.changes/next-release/api-change-lakeformation-27344.json deleted file mode 100644 index 9f6380fe8d7b..000000000000 --- a/.changes/next-release/api-change-lakeformation-27344.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``lakeformation``", - "description": "This release added two new LakeFormation Permissions (CREATE_CATALOG, SUPER_USER) and added Id field for CatalogResource. It also added new conditon and expression field." -} diff --git a/.changes/next-release/api-change-qapps-98500.json b/.changes/next-release/api-change-qapps-98500.json deleted file mode 100644 index 5dce11170409..000000000000 --- a/.changes/next-release/api-change-qapps-98500.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``qapps``", - "description": "Add support for 11 new plugins as action cards to help automate repetitive tasks and improve productivity." -} diff --git a/.changes/next-release/api-change-qbusiness-52452.json b/.changes/next-release/api-change-qbusiness-52452.json deleted file mode 100644 index 891b2afddf41..000000000000 --- a/.changes/next-release/api-change-qbusiness-52452.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``qbusiness``", - "description": "Amazon Q Business now supports customization options for your web experience, 11 new Plugins, and QuickSight support. Amazon Q index allows software providers to enrich their native generative AI experiences with their customer's enterprise knowledge and user context spanning multiple applications." -} diff --git a/.changes/next-release/api-change-quicksight-41482.json b/.changes/next-release/api-change-quicksight-41482.json deleted file mode 100644 index 278464ec93e4..000000000000 --- a/.changes/next-release/api-change-quicksight-41482.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``quicksight``", - "description": "This release includes API needed to support for Unstructured Data in Q in QuickSight Q&A (IDC)." -} diff --git a/.changes/next-release/api-change-redshift-93570.json b/.changes/next-release/api-change-redshift-93570.json deleted file mode 100644 index 1a07e4847cf4..000000000000 --- a/.changes/next-release/api-change-redshift-93570.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``redshift``", - "description": "Adds support for Amazon Redshift RegisterNamespace and DeregisterNamespace APIs to share data to AWS Glue Data Catalog." -} diff --git a/.changes/next-release/api-change-redshiftserverless-70108.json b/.changes/next-release/api-change-redshiftserverless-70108.json deleted file mode 100644 index be6534b8341e..000000000000 --- a/.changes/next-release/api-change-redshiftserverless-70108.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``redshift-serverless``", - "description": "Adds support for the ListManagedWorkgroups API to get an overview of existing managed workgroups." -} diff --git a/.changes/next-release/api-change-s3-94654.json b/.changes/next-release/api-change-s3-94654.json deleted file mode 100644 index f1b108278ebb..000000000000 --- a/.changes/next-release/api-change-s3-94654.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``s3``", - "description": "Amazon S3 Metadata stores object metadata in read-only, fully managed Apache Iceberg metadata tables that you can query. You can create metadata table configurations for S3 general purpose buckets." -} diff --git a/.changes/next-release/api-change-s3tables-60101.json b/.changes/next-release/api-change-s3tables-60101.json deleted file mode 100644 index 9a754f54f293..000000000000 --- a/.changes/next-release/api-change-s3tables-60101.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``s3tables``", - "description": "Amazon S3 Tables deliver the first cloud object store with built-in open table format support, and the easiest way to store tabular data at scale." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 7b54d3aed4cc..25d8d5fa21b1 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,29 @@ CHANGELOG ========= +1.36.15 +======= + +* api-change:``athena``: Add FEDERATED type to CreateDataCatalog. This creates Athena Data Catalog, AWS Lambda connector, and AWS Glue connection. Create/DeleteDataCatalog returns DataCatalog. Add Status, ConnectionType, and Error to DataCatalog and DataCatalogSummary. Add DeleteCatalogOnly to delete Athena Catalog only. +* api-change:``bedrock``: Tagging support for Async Invoke resources. Added support for Distillation in CreateModelCustomizationJob API. Support for videoDataDeliveryEnabled flag in invocation logging. +* api-change:``bedrock-agent``: Releasing SDK for Multi-Agent Collaboration. +* api-change:``bedrock-agent-runtime``: Releasing SDK for multi agent collaboration +* api-change:``bedrock-runtime``: Added support for Async Invoke Operations Start, List and Get. Support for invocation logs with `requestMetadata` field in Converse, ConverseStream, Invoke and InvokeStream. Video content blocks in Converse/ConverseStream accept raw bytes or S3 URI. +* api-change:``cloudwatch``: Support for configuring AiOps investigation as alarm action +* api-change:``datazone``: Adds support for Connections, ProjectProfiles, and JobRuns APIs. Supports the new Lineage feature at GA. Adjusts optionality of a parameter for DataSource and SubscriptionTarget APIs which may adjust types in some clients. +* api-change:``dsql``: Add new API operations for Amazon Aurora DSQL. Amazon Aurora DSQL is a serverless, distributed SQL database with virtually unlimited scale, highest availability, and zero infrastructure management. +* api-change:``dynamodb``: This change adds support for global tables with multi-Region strong consistency (in preview). The UpdateTable API now supports a new attribute MultiRegionConsistency to set consistency when creating global tables. The DescribeTable output now optionally includes the MultiRegionConsistency attribute. +* api-change:``glue``: This release includes(1)Zero-ETL integration to ingest data from 3P SaaS and DynamoDB to Redshift/Redlake (2)new properties on Connections to enable reuse; new connection APIs for retrieve/preview metadata (3)support of CRUD operations for Multi-catalog (4)support of automatic statistics collections +* api-change:``lakeformation``: This release added two new LakeFormation Permissions (CREATE_CATALOG, SUPER_USER) and added Id field for CatalogResource. It also added new conditon and expression field. +* api-change:``qapps``: Add support for 11 new plugins as action cards to help automate repetitive tasks and improve productivity. +* api-change:``qbusiness``: Amazon Q Business now supports customization options for your web experience, 11 new Plugins, and QuickSight support. Amazon Q index allows software providers to enrich their native generative AI experiences with their customer's enterprise knowledge and user context spanning multiple applications. +* api-change:``quicksight``: This release includes API needed to support for Unstructured Data in Q in QuickSight Q&A (IDC). +* api-change:``redshift``: Adds support for Amazon Redshift RegisterNamespace and DeregisterNamespace APIs to share data to AWS Glue Data Catalog. +* api-change:``redshift-serverless``: Adds support for the ListManagedWorkgroups API to get an overview of existing managed workgroups. +* api-change:``s3``: Amazon S3 Metadata stores object metadata in read-only, fully managed Apache Iceberg metadata tables that you can query. You can create metadata table configurations for S3 general purpose buckets. +* api-change:``s3tables``: Amazon S3 Tables deliver the first cloud object store with built-in open table format support, and the easiest way to store tabular data at scale. + + 1.36.14 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index f11528cd5f50..bd6b83e7b6bf 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.36.14' +__version__ = '1.36.15' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 6f362a26ffbf..8947db17daf4 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.36.' # The full version, including alpha/beta/rc tags. -release = '1.36.14' +release = '1.36.15' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index d67e86a05e5b..9a26add3dab7 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.73 + botocore==1.35.74 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 938a0a170670..0d52be129dcc 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.73', + 'botocore==1.35.74', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From f0bd2dddea82a0c9fccea3bec3d205179477e6e2 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 4 Dec 2024 19:08:58 +0000 Subject: [PATCH 0334/1087] Update changelog based on model updates --- .changes/next-release/api-change-bedrock-954.json | 5 +++++ .changes/next-release/api-change-bedrockagent-65283.json | 5 +++++ .../next-release/api-change-bedrockagentruntime-24984.json | 5 +++++ .../next-release/api-change-bedrockdataautomation-78372.json | 5 +++++ .../api-change-bedrockdataautomationruntime-87235.json | 5 +++++ .changes/next-release/api-change-bedrockruntime-71883.json | 5 +++++ .changes/next-release/api-change-kendra-89813.json | 5 +++++ .changes/next-release/api-change-sagemaker-17063.json | 5 +++++ 8 files changed, 40 insertions(+) create mode 100644 .changes/next-release/api-change-bedrock-954.json create mode 100644 .changes/next-release/api-change-bedrockagent-65283.json create mode 100644 .changes/next-release/api-change-bedrockagentruntime-24984.json create mode 100644 .changes/next-release/api-change-bedrockdataautomation-78372.json create mode 100644 .changes/next-release/api-change-bedrockdataautomationruntime-87235.json create mode 100644 .changes/next-release/api-change-bedrockruntime-71883.json create mode 100644 .changes/next-release/api-change-kendra-89813.json create mode 100644 .changes/next-release/api-change-sagemaker-17063.json diff --git a/.changes/next-release/api-change-bedrock-954.json b/.changes/next-release/api-change-bedrock-954.json new file mode 100644 index 000000000000..df00fbdd5798 --- /dev/null +++ b/.changes/next-release/api-change-bedrock-954.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock``", + "description": "Introduced two APIs ListPromptRouters and GetPromptRouter for Intelligent Prompt Router feature. Add support for Bedrock Guardrails image content filter. New Bedrock Marketplace feature enabling a wider range of bedrock compatible models with self-hosted capability." +} diff --git a/.changes/next-release/api-change-bedrockagent-65283.json b/.changes/next-release/api-change-bedrockagent-65283.json new file mode 100644 index 000000000000..2ef20a639f2e --- /dev/null +++ b/.changes/next-release/api-change-bedrockagent-65283.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-agent``", + "description": "This release introduces the ability to generate SQL using natural language, through a new GenerateQuery API (with native integration into Knowledge Bases); ability to ingest and retrieve images through Bedrock Data Automation; and ability to create a Knowledge Base backed by Kendra GenAI Index." +} diff --git a/.changes/next-release/api-change-bedrockagentruntime-24984.json b/.changes/next-release/api-change-bedrockagentruntime-24984.json new file mode 100644 index 000000000000..6a411146bfb5 --- /dev/null +++ b/.changes/next-release/api-change-bedrockagentruntime-24984.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-agent-runtime``", + "description": "This release introduces the ability to generate SQL using natural language, through a new GenerateQuery API (with native integration into Knowledge Bases); ability to ingest and retrieve images through Bedrock Data Automation; and ability to create a Knowledge Base backed by Kendra GenAI Index." +} diff --git a/.changes/next-release/api-change-bedrockdataautomation-78372.json b/.changes/next-release/api-change-bedrockdataautomation-78372.json new file mode 100644 index 000000000000..5b33934a7a11 --- /dev/null +++ b/.changes/next-release/api-change-bedrockdataautomation-78372.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-data-automation``", + "description": "Release Bedrock Data Automation SDK" +} diff --git a/.changes/next-release/api-change-bedrockdataautomationruntime-87235.json b/.changes/next-release/api-change-bedrockdataautomationruntime-87235.json new file mode 100644 index 000000000000..5afd2a98ff77 --- /dev/null +++ b/.changes/next-release/api-change-bedrockdataautomationruntime-87235.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-data-automation-runtime``", + "description": "Release Bedrock Data Automation Runtime SDK" +} diff --git a/.changes/next-release/api-change-bedrockruntime-71883.json b/.changes/next-release/api-change-bedrockruntime-71883.json new file mode 100644 index 000000000000..e1d8878da828 --- /dev/null +++ b/.changes/next-release/api-change-bedrockruntime-71883.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-runtime``", + "description": "Added support for Intelligent Prompt Router in Invoke, InvokeStream, Converse and ConverseStream. Add support for Bedrock Guardrails image content filter. New Bedrock Marketplace feature enabling a wider range of bedrock compatible models with self-hosted capability." +} diff --git a/.changes/next-release/api-change-kendra-89813.json b/.changes/next-release/api-change-kendra-89813.json new file mode 100644 index 000000000000..5ba84fe10e4d --- /dev/null +++ b/.changes/next-release/api-change-kendra-89813.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``kendra``", + "description": "This release adds GenAI Index in Amazon Kendra for Retrieval Augmented Generation (RAG) and intelligent search. With the Kendra GenAI Index, customers get high retrieval accuracy powered by the latest information retrieval technologies and semantic models." +} diff --git a/.changes/next-release/api-change-sagemaker-17063.json b/.changes/next-release/api-change-sagemaker-17063.json new file mode 100644 index 000000000000..494d2670f5f9 --- /dev/null +++ b/.changes/next-release/api-change-sagemaker-17063.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``sagemaker``", + "description": "Amazon SageMaker HyperPod launched task governance to help customers maximize accelerator utilization for model development and flexible training plans to meet training timelines and budget while reducing weeks of training time. AI apps from AWS partner is now available in SageMaker." +} From 227d53efa5ce218d94ff662b2c133c6ad1ef151c Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 4 Dec 2024 19:10:08 +0000 Subject: [PATCH 0335/1087] Bumping version to 1.36.16 --- .changes/1.36.16.json | 42 +++++++++++++++++++ .../next-release/api-change-bedrock-954.json | 5 --- .../api-change-bedrockagent-65283.json | 5 --- .../api-change-bedrockagentruntime-24984.json | 5 --- ...pi-change-bedrockdataautomation-78372.json | 5 --- ...ge-bedrockdataautomationruntime-87235.json | 5 --- .../api-change-bedrockruntime-71883.json | 5 --- .../next-release/api-change-kendra-89813.json | 5 --- .../api-change-sagemaker-17063.json | 5 --- CHANGELOG.rst | 13 ++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 14 files changed, 59 insertions(+), 44 deletions(-) create mode 100644 .changes/1.36.16.json delete mode 100644 .changes/next-release/api-change-bedrock-954.json delete mode 100644 .changes/next-release/api-change-bedrockagent-65283.json delete mode 100644 .changes/next-release/api-change-bedrockagentruntime-24984.json delete mode 100644 .changes/next-release/api-change-bedrockdataautomation-78372.json delete mode 100644 .changes/next-release/api-change-bedrockdataautomationruntime-87235.json delete mode 100644 .changes/next-release/api-change-bedrockruntime-71883.json delete mode 100644 .changes/next-release/api-change-kendra-89813.json delete mode 100644 .changes/next-release/api-change-sagemaker-17063.json diff --git a/.changes/1.36.16.json b/.changes/1.36.16.json new file mode 100644 index 000000000000..9d5a3c902a07 --- /dev/null +++ b/.changes/1.36.16.json @@ -0,0 +1,42 @@ +[ + { + "category": "``bedrock``", + "description": "Introduced two APIs ListPromptRouters and GetPromptRouter for Intelligent Prompt Router feature. Add support for Bedrock Guardrails image content filter. New Bedrock Marketplace feature enabling a wider range of bedrock compatible models with self-hosted capability.", + "type": "api-change" + }, + { + "category": "``bedrock-agent``", + "description": "This release introduces the ability to generate SQL using natural language, through a new GenerateQuery API (with native integration into Knowledge Bases); ability to ingest and retrieve images through Bedrock Data Automation; and ability to create a Knowledge Base backed by Kendra GenAI Index.", + "type": "api-change" + }, + { + "category": "``bedrock-agent-runtime``", + "description": "This release introduces the ability to generate SQL using natural language, through a new GenerateQuery API (with native integration into Knowledge Bases); ability to ingest and retrieve images through Bedrock Data Automation; and ability to create a Knowledge Base backed by Kendra GenAI Index.", + "type": "api-change" + }, + { + "category": "``bedrock-data-automation``", + "description": "Release Bedrock Data Automation SDK", + "type": "api-change" + }, + { + "category": "``bedrock-data-automation-runtime``", + "description": "Release Bedrock Data Automation Runtime SDK", + "type": "api-change" + }, + { + "category": "``bedrock-runtime``", + "description": "Added support for Intelligent Prompt Router in Invoke, InvokeStream, Converse and ConverseStream. Add support for Bedrock Guardrails image content filter. New Bedrock Marketplace feature enabling a wider range of bedrock compatible models with self-hosted capability.", + "type": "api-change" + }, + { + "category": "``kendra``", + "description": "This release adds GenAI Index in Amazon Kendra for Retrieval Augmented Generation (RAG) and intelligent search. With the Kendra GenAI Index, customers get high retrieval accuracy powered by the latest information retrieval technologies and semantic models.", + "type": "api-change" + }, + { + "category": "``sagemaker``", + "description": "Amazon SageMaker HyperPod launched task governance to help customers maximize accelerator utilization for model development and flexible training plans to meet training timelines and budget while reducing weeks of training time. AI apps from AWS partner is now available in SageMaker.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-bedrock-954.json b/.changes/next-release/api-change-bedrock-954.json deleted file mode 100644 index df00fbdd5798..000000000000 --- a/.changes/next-release/api-change-bedrock-954.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock``", - "description": "Introduced two APIs ListPromptRouters and GetPromptRouter for Intelligent Prompt Router feature. Add support for Bedrock Guardrails image content filter. New Bedrock Marketplace feature enabling a wider range of bedrock compatible models with self-hosted capability." -} diff --git a/.changes/next-release/api-change-bedrockagent-65283.json b/.changes/next-release/api-change-bedrockagent-65283.json deleted file mode 100644 index 2ef20a639f2e..000000000000 --- a/.changes/next-release/api-change-bedrockagent-65283.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-agent``", - "description": "This release introduces the ability to generate SQL using natural language, through a new GenerateQuery API (with native integration into Knowledge Bases); ability to ingest and retrieve images through Bedrock Data Automation; and ability to create a Knowledge Base backed by Kendra GenAI Index." -} diff --git a/.changes/next-release/api-change-bedrockagentruntime-24984.json b/.changes/next-release/api-change-bedrockagentruntime-24984.json deleted file mode 100644 index 6a411146bfb5..000000000000 --- a/.changes/next-release/api-change-bedrockagentruntime-24984.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-agent-runtime``", - "description": "This release introduces the ability to generate SQL using natural language, through a new GenerateQuery API (with native integration into Knowledge Bases); ability to ingest and retrieve images through Bedrock Data Automation; and ability to create a Knowledge Base backed by Kendra GenAI Index." -} diff --git a/.changes/next-release/api-change-bedrockdataautomation-78372.json b/.changes/next-release/api-change-bedrockdataautomation-78372.json deleted file mode 100644 index 5b33934a7a11..000000000000 --- a/.changes/next-release/api-change-bedrockdataautomation-78372.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-data-automation``", - "description": "Release Bedrock Data Automation SDK" -} diff --git a/.changes/next-release/api-change-bedrockdataautomationruntime-87235.json b/.changes/next-release/api-change-bedrockdataautomationruntime-87235.json deleted file mode 100644 index 5afd2a98ff77..000000000000 --- a/.changes/next-release/api-change-bedrockdataautomationruntime-87235.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-data-automation-runtime``", - "description": "Release Bedrock Data Automation Runtime SDK" -} diff --git a/.changes/next-release/api-change-bedrockruntime-71883.json b/.changes/next-release/api-change-bedrockruntime-71883.json deleted file mode 100644 index e1d8878da828..000000000000 --- a/.changes/next-release/api-change-bedrockruntime-71883.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-runtime``", - "description": "Added support for Intelligent Prompt Router in Invoke, InvokeStream, Converse and ConverseStream. Add support for Bedrock Guardrails image content filter. New Bedrock Marketplace feature enabling a wider range of bedrock compatible models with self-hosted capability." -} diff --git a/.changes/next-release/api-change-kendra-89813.json b/.changes/next-release/api-change-kendra-89813.json deleted file mode 100644 index 5ba84fe10e4d..000000000000 --- a/.changes/next-release/api-change-kendra-89813.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``kendra``", - "description": "This release adds GenAI Index in Amazon Kendra for Retrieval Augmented Generation (RAG) and intelligent search. With the Kendra GenAI Index, customers get high retrieval accuracy powered by the latest information retrieval technologies and semantic models." -} diff --git a/.changes/next-release/api-change-sagemaker-17063.json b/.changes/next-release/api-change-sagemaker-17063.json deleted file mode 100644 index 494d2670f5f9..000000000000 --- a/.changes/next-release/api-change-sagemaker-17063.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``sagemaker``", - "description": "Amazon SageMaker HyperPod launched task governance to help customers maximize accelerator utilization for model development and flexible training plans to meet training timelines and budget while reducing weeks of training time. AI apps from AWS partner is now available in SageMaker." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 25d8d5fa21b1..2df16ffc46a9 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,19 @@ CHANGELOG ========= +1.36.16 +======= + +* api-change:``bedrock``: Introduced two APIs ListPromptRouters and GetPromptRouter for Intelligent Prompt Router feature. Add support for Bedrock Guardrails image content filter. New Bedrock Marketplace feature enabling a wider range of bedrock compatible models with self-hosted capability. +* api-change:``bedrock-agent``: This release introduces the ability to generate SQL using natural language, through a new GenerateQuery API (with native integration into Knowledge Bases); ability to ingest and retrieve images through Bedrock Data Automation; and ability to create a Knowledge Base backed by Kendra GenAI Index. +* api-change:``bedrock-agent-runtime``: This release introduces the ability to generate SQL using natural language, through a new GenerateQuery API (with native integration into Knowledge Bases); ability to ingest and retrieve images through Bedrock Data Automation; and ability to create a Knowledge Base backed by Kendra GenAI Index. +* api-change:``bedrock-data-automation``: Release Bedrock Data Automation SDK +* api-change:``bedrock-data-automation-runtime``: Release Bedrock Data Automation Runtime SDK +* api-change:``bedrock-runtime``: Added support for Intelligent Prompt Router in Invoke, InvokeStream, Converse and ConverseStream. Add support for Bedrock Guardrails image content filter. New Bedrock Marketplace feature enabling a wider range of bedrock compatible models with self-hosted capability. +* api-change:``kendra``: This release adds GenAI Index in Amazon Kendra for Retrieval Augmented Generation (RAG) and intelligent search. With the Kendra GenAI Index, customers get high retrieval accuracy powered by the latest information retrieval technologies and semantic models. +* api-change:``sagemaker``: Amazon SageMaker HyperPod launched task governance to help customers maximize accelerator utilization for model development and flexible training plans to meet training timelines and budget while reducing weeks of training time. AI apps from AWS partner is now available in SageMaker. + + 1.36.15 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index bd6b83e7b6bf..c3d8ae51a72c 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.36.15' +__version__ = '1.36.16' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 8947db17daf4..d6f7ba1e4d54 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.36.' # The full version, including alpha/beta/rc tags. -release = '1.36.15' +release = '1.36.16' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 9a26add3dab7..362a1c439012 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.74 + botocore==1.35.75 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 0d52be129dcc..c819834fe9d5 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.74', + 'botocore==1.35.75', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 42b24768ec8eceb518ccff8f012882c0547c0453 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 5 Dec 2024 01:17:21 +0000 Subject: [PATCH 0336/1087] Update changelog based on model updates --- .../next-release/api-change-partnercentralselling-26080.json | 5 +++++ .changes/next-release/api-change-qbusiness-6117.json | 5 +++++ 2 files changed, 10 insertions(+) create mode 100644 .changes/next-release/api-change-partnercentralselling-26080.json create mode 100644 .changes/next-release/api-change-qbusiness-6117.json diff --git a/.changes/next-release/api-change-partnercentralselling-26080.json b/.changes/next-release/api-change-partnercentralselling-26080.json new file mode 100644 index 000000000000..09543513b509 --- /dev/null +++ b/.changes/next-release/api-change-partnercentralselling-26080.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``partnercentral-selling``", + "description": "Introducing the preview of new partner central selling APIs designed to transform how AWS partners collaborate and co-sell with multiple partners. This enables multiple partners to seamlessly engage and jointly pursue customer opportunities, fostering a new era of collaborative selling." +} diff --git a/.changes/next-release/api-change-qbusiness-6117.json b/.changes/next-release/api-change-qbusiness-6117.json new file mode 100644 index 000000000000..e99eb2b06afe --- /dev/null +++ b/.changes/next-release/api-change-qbusiness-6117.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``qbusiness``", + "description": "This release removes the deprecated UserId and UserGroups fields from SearchRelevantContent api's request parameters." +} From f18c72499de8aa468d0a44a9943a61d8c0de9fda Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 5 Dec 2024 01:18:53 +0000 Subject: [PATCH 0337/1087] Bumping version to 1.36.17 --- .changes/1.36.17.json | 12 ++++++++++++ .../api-change-partnercentralselling-26080.json | 5 ----- .changes/next-release/api-change-qbusiness-6117.json | 5 ----- CHANGELOG.rst | 7 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 8 files changed, 23 insertions(+), 14 deletions(-) create mode 100644 .changes/1.36.17.json delete mode 100644 .changes/next-release/api-change-partnercentralselling-26080.json delete mode 100644 .changes/next-release/api-change-qbusiness-6117.json diff --git a/.changes/1.36.17.json b/.changes/1.36.17.json new file mode 100644 index 000000000000..1f5e70543cd7 --- /dev/null +++ b/.changes/1.36.17.json @@ -0,0 +1,12 @@ +[ + { + "category": "``partnercentral-selling``", + "description": "Introducing the preview of new partner central selling APIs designed to transform how AWS partners collaborate and co-sell with multiple partners. This enables multiple partners to seamlessly engage and jointly pursue customer opportunities, fostering a new era of collaborative selling.", + "type": "api-change" + }, + { + "category": "``qbusiness``", + "description": "This release removes the deprecated UserId and UserGroups fields from SearchRelevantContent api's request parameters.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-partnercentralselling-26080.json b/.changes/next-release/api-change-partnercentralselling-26080.json deleted file mode 100644 index 09543513b509..000000000000 --- a/.changes/next-release/api-change-partnercentralselling-26080.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``partnercentral-selling``", - "description": "Introducing the preview of new partner central selling APIs designed to transform how AWS partners collaborate and co-sell with multiple partners. This enables multiple partners to seamlessly engage and jointly pursue customer opportunities, fostering a new era of collaborative selling." -} diff --git a/.changes/next-release/api-change-qbusiness-6117.json b/.changes/next-release/api-change-qbusiness-6117.json deleted file mode 100644 index e99eb2b06afe..000000000000 --- a/.changes/next-release/api-change-qbusiness-6117.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``qbusiness``", - "description": "This release removes the deprecated UserId and UserGroups fields from SearchRelevantContent api's request parameters." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 2df16ffc46a9..b0755adefeaa 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,13 @@ CHANGELOG ========= +1.36.17 +======= + +* api-change:``partnercentral-selling``: Introducing the preview of new partner central selling APIs designed to transform how AWS partners collaborate and co-sell with multiple partners. This enables multiple partners to seamlessly engage and jointly pursue customer opportunities, fostering a new era of collaborative selling. +* api-change:``qbusiness``: This release removes the deprecated UserId and UserGroups fields from SearchRelevantContent api's request parameters. + + 1.36.16 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index c3d8ae51a72c..c6776effe3a2 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.36.16' +__version__ = '1.36.17' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index d6f7ba1e4d54..036b17c4519e 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.36.' # The full version, including alpha/beta/rc tags. -release = '1.36.16' +release = '1.36.17' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 362a1c439012..2bde7fddcd9f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.75 + botocore==1.35.76 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index c819834fe9d5..9e31e1819773 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.75', + 'botocore==1.35.76', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 45903da940e6612c12da3247d11ce98105734cee Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 9 Dec 2024 19:29:59 +0000 Subject: [PATCH 0338/1087] Update changelog based on model updates --- .changes/next-release/api-change-appsync-83993.json | 5 +++++ .changes/next-release/api-change-cognitoidp-45877.json | 5 +++++ .changes/next-release/api-change-ec2-66916.json | 5 +++++ .changes/next-release/api-change-ecs-24538.json | 5 +++++ .changes/next-release/api-change-keyspaces-96479.json | 5 +++++ .changes/next-release/api-change-medialive-92782.json | 5 +++++ .changes/next-release/api-change-workspaces-93420.json | 5 +++++ 7 files changed, 35 insertions(+) create mode 100644 .changes/next-release/api-change-appsync-83993.json create mode 100644 .changes/next-release/api-change-cognitoidp-45877.json create mode 100644 .changes/next-release/api-change-ec2-66916.json create mode 100644 .changes/next-release/api-change-ecs-24538.json create mode 100644 .changes/next-release/api-change-keyspaces-96479.json create mode 100644 .changes/next-release/api-change-medialive-92782.json create mode 100644 .changes/next-release/api-change-workspaces-93420.json diff --git a/.changes/next-release/api-change-appsync-83993.json b/.changes/next-release/api-change-appsync-83993.json new file mode 100644 index 000000000000..8f0951983034 --- /dev/null +++ b/.changes/next-release/api-change-appsync-83993.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``appsync``", + "description": "Provides description of new Amazon Bedrock runtime datasource." +} diff --git a/.changes/next-release/api-change-cognitoidp-45877.json b/.changes/next-release/api-change-cognitoidp-45877.json new file mode 100644 index 000000000000..caa42f43c34b --- /dev/null +++ b/.changes/next-release/api-change-cognitoidp-45877.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``cognito-idp``", + "description": "Change `CustomDomainConfig` from a required to an optional parameter for the `UpdateUserPoolDomain` operation." +} diff --git a/.changes/next-release/api-change-ec2-66916.json b/.changes/next-release/api-change-ec2-66916.json new file mode 100644 index 000000000000..c9c28ab5e455 --- /dev/null +++ b/.changes/next-release/api-change-ec2-66916.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ec2``", + "description": "This release includes a new API for modifying instance network-performance-options after launch." +} diff --git a/.changes/next-release/api-change-ecs-24538.json b/.changes/next-release/api-change-ecs-24538.json new file mode 100644 index 000000000000..709219af5a8c --- /dev/null +++ b/.changes/next-release/api-change-ecs-24538.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ecs``", + "description": "This is a documentation only update to address various tickets for Amazon ECS." +} diff --git a/.changes/next-release/api-change-keyspaces-96479.json b/.changes/next-release/api-change-keyspaces-96479.json new file mode 100644 index 000000000000..77e331fffdb0 --- /dev/null +++ b/.changes/next-release/api-change-keyspaces-96479.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``keyspaces``", + "description": "Amazon Keyspaces: adding the list of IAM actions required by the UpdateKeyspace API." +} diff --git a/.changes/next-release/api-change-medialive-92782.json b/.changes/next-release/api-change-medialive-92782.json new file mode 100644 index 000000000000..6d0d0b3975bb --- /dev/null +++ b/.changes/next-release/api-change-medialive-92782.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``medialive``", + "description": "H265 outputs now support disabling the deblocking filter." +} diff --git a/.changes/next-release/api-change-workspaces-93420.json b/.changes/next-release/api-change-workspaces-93420.json new file mode 100644 index 000000000000..f1529fc633d7 --- /dev/null +++ b/.changes/next-release/api-change-workspaces-93420.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``workspaces``", + "description": "Added text to clarify case-sensitivity" +} From 83e03826674a7cc5559347c98dc8d360bc64aedb Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 9 Dec 2024 19:31:21 +0000 Subject: [PATCH 0339/1087] Bumping version to 1.36.18 --- .changes/1.36.18.json | 37 +++++++++++++++++++ .../api-change-appsync-83993.json | 5 --- .../api-change-cognitoidp-45877.json | 5 --- .../next-release/api-change-ec2-66916.json | 5 --- .../next-release/api-change-ecs-24538.json | 5 --- .../api-change-keyspaces-96479.json | 5 --- .../api-change-medialive-92782.json | 5 --- .../api-change-workspaces-93420.json | 5 --- CHANGELOG.rst | 12 ++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 13 files changed, 53 insertions(+), 39 deletions(-) create mode 100644 .changes/1.36.18.json delete mode 100644 .changes/next-release/api-change-appsync-83993.json delete mode 100644 .changes/next-release/api-change-cognitoidp-45877.json delete mode 100644 .changes/next-release/api-change-ec2-66916.json delete mode 100644 .changes/next-release/api-change-ecs-24538.json delete mode 100644 .changes/next-release/api-change-keyspaces-96479.json delete mode 100644 .changes/next-release/api-change-medialive-92782.json delete mode 100644 .changes/next-release/api-change-workspaces-93420.json diff --git a/.changes/1.36.18.json b/.changes/1.36.18.json new file mode 100644 index 000000000000..364f8c259c66 --- /dev/null +++ b/.changes/1.36.18.json @@ -0,0 +1,37 @@ +[ + { + "category": "``appsync``", + "description": "Provides description of new Amazon Bedrock runtime datasource.", + "type": "api-change" + }, + { + "category": "``cognito-idp``", + "description": "Change `CustomDomainConfig` from a required to an optional parameter for the `UpdateUserPoolDomain` operation.", + "type": "api-change" + }, + { + "category": "``ec2``", + "description": "This release includes a new API for modifying instance network-performance-options after launch.", + "type": "api-change" + }, + { + "category": "``ecs``", + "description": "This is a documentation only update to address various tickets for Amazon ECS.", + "type": "api-change" + }, + { + "category": "``keyspaces``", + "description": "Amazon Keyspaces: adding the list of IAM actions required by the UpdateKeyspace API.", + "type": "api-change" + }, + { + "category": "``medialive``", + "description": "H265 outputs now support disabling the deblocking filter.", + "type": "api-change" + }, + { + "category": "``workspaces``", + "description": "Added text to clarify case-sensitivity", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-appsync-83993.json b/.changes/next-release/api-change-appsync-83993.json deleted file mode 100644 index 8f0951983034..000000000000 --- a/.changes/next-release/api-change-appsync-83993.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``appsync``", - "description": "Provides description of new Amazon Bedrock runtime datasource." -} diff --git a/.changes/next-release/api-change-cognitoidp-45877.json b/.changes/next-release/api-change-cognitoidp-45877.json deleted file mode 100644 index caa42f43c34b..000000000000 --- a/.changes/next-release/api-change-cognitoidp-45877.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``cognito-idp``", - "description": "Change `CustomDomainConfig` from a required to an optional parameter for the `UpdateUserPoolDomain` operation." -} diff --git a/.changes/next-release/api-change-ec2-66916.json b/.changes/next-release/api-change-ec2-66916.json deleted file mode 100644 index c9c28ab5e455..000000000000 --- a/.changes/next-release/api-change-ec2-66916.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ec2``", - "description": "This release includes a new API for modifying instance network-performance-options after launch." -} diff --git a/.changes/next-release/api-change-ecs-24538.json b/.changes/next-release/api-change-ecs-24538.json deleted file mode 100644 index 709219af5a8c..000000000000 --- a/.changes/next-release/api-change-ecs-24538.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ecs``", - "description": "This is a documentation only update to address various tickets for Amazon ECS." -} diff --git a/.changes/next-release/api-change-keyspaces-96479.json b/.changes/next-release/api-change-keyspaces-96479.json deleted file mode 100644 index 77e331fffdb0..000000000000 --- a/.changes/next-release/api-change-keyspaces-96479.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``keyspaces``", - "description": "Amazon Keyspaces: adding the list of IAM actions required by the UpdateKeyspace API." -} diff --git a/.changes/next-release/api-change-medialive-92782.json b/.changes/next-release/api-change-medialive-92782.json deleted file mode 100644 index 6d0d0b3975bb..000000000000 --- a/.changes/next-release/api-change-medialive-92782.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``medialive``", - "description": "H265 outputs now support disabling the deblocking filter." -} diff --git a/.changes/next-release/api-change-workspaces-93420.json b/.changes/next-release/api-change-workspaces-93420.json deleted file mode 100644 index f1529fc633d7..000000000000 --- a/.changes/next-release/api-change-workspaces-93420.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``workspaces``", - "description": "Added text to clarify case-sensitivity" -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index b0755adefeaa..0779c5e91cbc 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,18 @@ CHANGELOG ========= +1.36.18 +======= + +* api-change:``appsync``: Provides description of new Amazon Bedrock runtime datasource. +* api-change:``cognito-idp``: Change `CustomDomainConfig` from a required to an optional parameter for the `UpdateUserPoolDomain` operation. +* api-change:``ec2``: This release includes a new API for modifying instance network-performance-options after launch. +* api-change:``ecs``: This is a documentation only update to address various tickets for Amazon ECS. +* api-change:``keyspaces``: Amazon Keyspaces: adding the list of IAM actions required by the UpdateKeyspace API. +* api-change:``medialive``: H265 outputs now support disabling the deblocking filter. +* api-change:``workspaces``: Added text to clarify case-sensitivity + + 1.36.17 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index c6776effe3a2..63f469ae8a95 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.36.17' +__version__ = '1.36.18' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 036b17c4519e..0a10a82ab32a 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.36.' # The full version, including alpha/beta/rc tags. -release = '1.36.17' +release = '1.36.18' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 2bde7fddcd9f..d57157e66e94 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.76 + botocore==1.35.77 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 9e31e1819773..69008c0615b3 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.76', + 'botocore==1.35.77', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 22f7872f7db4f8e5ec8366a73931726d7cafe2f9 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 10 Dec 2024 19:41:24 +0000 Subject: [PATCH 0340/1087] Update changelog based on model updates --- .../api-change-applicationautoscaling-91550.json | 5 +++++ .../next-release/api-change-bcmpricingcalculator-37187.json | 5 +++++ .changes/next-release/api-change-connect-90690.json | 5 +++++ .changes/next-release/api-change-finspace-65468.json | 5 +++++ .changes/next-release/api-change-ivsrealtime-32540.json | 5 +++++ .changes/next-release/api-change-sesv2-19886.json | 5 +++++ 6 files changed, 30 insertions(+) create mode 100644 .changes/next-release/api-change-applicationautoscaling-91550.json create mode 100644 .changes/next-release/api-change-bcmpricingcalculator-37187.json create mode 100644 .changes/next-release/api-change-connect-90690.json create mode 100644 .changes/next-release/api-change-finspace-65468.json create mode 100644 .changes/next-release/api-change-ivsrealtime-32540.json create mode 100644 .changes/next-release/api-change-sesv2-19886.json diff --git a/.changes/next-release/api-change-applicationautoscaling-91550.json b/.changes/next-release/api-change-applicationautoscaling-91550.json new file mode 100644 index 000000000000..4ce583b7277b --- /dev/null +++ b/.changes/next-release/api-change-applicationautoscaling-91550.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``application-autoscaling``", + "description": "Doc only update for AAS Predictive Scaling policy configuration API." +} diff --git a/.changes/next-release/api-change-bcmpricingcalculator-37187.json b/.changes/next-release/api-change-bcmpricingcalculator-37187.json new file mode 100644 index 000000000000..6965b157d403 --- /dev/null +++ b/.changes/next-release/api-change-bcmpricingcalculator-37187.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bcm-pricing-calculator``", + "description": "Updated condition key inference from Workload Estimate, Bill Scenario, and Bill Estimate resources. Updated documentation links." +} diff --git a/.changes/next-release/api-change-connect-90690.json b/.changes/next-release/api-change-connect-90690.json new file mode 100644 index 000000000000..d10cf7baa52a --- /dev/null +++ b/.changes/next-release/api-change-connect-90690.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``connect``", + "description": "Add support for Push Notifications for Amazon Connect chat. With Push Notifications enabled an alert could be sent to customers about new messages even when they aren't actively using the mobile application." +} diff --git a/.changes/next-release/api-change-finspace-65468.json b/.changes/next-release/api-change-finspace-65468.json new file mode 100644 index 000000000000..e3b48b4b048e --- /dev/null +++ b/.changes/next-release/api-change-finspace-65468.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``finspace``", + "description": "Update KxCommandLineArgument value parameter regex to allow for spaces and semicolons" +} diff --git a/.changes/next-release/api-change-ivsrealtime-32540.json b/.changes/next-release/api-change-ivsrealtime-32540.json new file mode 100644 index 000000000000..eaa37c09abc2 --- /dev/null +++ b/.changes/next-release/api-change-ivsrealtime-32540.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ivs-realtime``", + "description": "IVS Real-Time now offers customers the ability to customize thumbnails recording mode and interval for both Individual Participant Recording (IPR) and Server-Side Compositions (SSC)." +} diff --git a/.changes/next-release/api-change-sesv2-19886.json b/.changes/next-release/api-change-sesv2-19886.json new file mode 100644 index 000000000000..c2b49ee8936f --- /dev/null +++ b/.changes/next-release/api-change-sesv2-19886.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``sesv2``", + "description": "Introduces support for creating DEED (Deterministic Easy-DKIM) identities." +} From b110e872f07420133db53a0306fb87dae3b1c455 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 10 Dec 2024 19:42:44 +0000 Subject: [PATCH 0341/1087] Bumping version to 1.36.19 --- .changes/1.36.19.json | 32 +++++++++++++++++++ ...i-change-applicationautoscaling-91550.json | 5 --- ...api-change-bcmpricingcalculator-37187.json | 5 --- .../api-change-connect-90690.json | 5 --- .../api-change-finspace-65468.json | 5 --- .../api-change-ivsrealtime-32540.json | 5 --- .../next-release/api-change-sesv2-19886.json | 5 --- CHANGELOG.rst | 11 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 12 files changed, 47 insertions(+), 34 deletions(-) create mode 100644 .changes/1.36.19.json delete mode 100644 .changes/next-release/api-change-applicationautoscaling-91550.json delete mode 100644 .changes/next-release/api-change-bcmpricingcalculator-37187.json delete mode 100644 .changes/next-release/api-change-connect-90690.json delete mode 100644 .changes/next-release/api-change-finspace-65468.json delete mode 100644 .changes/next-release/api-change-ivsrealtime-32540.json delete mode 100644 .changes/next-release/api-change-sesv2-19886.json diff --git a/.changes/1.36.19.json b/.changes/1.36.19.json new file mode 100644 index 000000000000..a923cbfc3413 --- /dev/null +++ b/.changes/1.36.19.json @@ -0,0 +1,32 @@ +[ + { + "category": "``application-autoscaling``", + "description": "Doc only update for AAS Predictive Scaling policy configuration API.", + "type": "api-change" + }, + { + "category": "``bcm-pricing-calculator``", + "description": "Updated condition key inference from Workload Estimate, Bill Scenario, and Bill Estimate resources. Updated documentation links.", + "type": "api-change" + }, + { + "category": "``connect``", + "description": "Add support for Push Notifications for Amazon Connect chat. With Push Notifications enabled an alert could be sent to customers about new messages even when they aren't actively using the mobile application.", + "type": "api-change" + }, + { + "category": "``finspace``", + "description": "Update KxCommandLineArgument value parameter regex to allow for spaces and semicolons", + "type": "api-change" + }, + { + "category": "``ivs-realtime``", + "description": "IVS Real-Time now offers customers the ability to customize thumbnails recording mode and interval for both Individual Participant Recording (IPR) and Server-Side Compositions (SSC).", + "type": "api-change" + }, + { + "category": "``sesv2``", + "description": "Introduces support for creating DEED (Deterministic Easy-DKIM) identities.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-applicationautoscaling-91550.json b/.changes/next-release/api-change-applicationautoscaling-91550.json deleted file mode 100644 index 4ce583b7277b..000000000000 --- a/.changes/next-release/api-change-applicationautoscaling-91550.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``application-autoscaling``", - "description": "Doc only update for AAS Predictive Scaling policy configuration API." -} diff --git a/.changes/next-release/api-change-bcmpricingcalculator-37187.json b/.changes/next-release/api-change-bcmpricingcalculator-37187.json deleted file mode 100644 index 6965b157d403..000000000000 --- a/.changes/next-release/api-change-bcmpricingcalculator-37187.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bcm-pricing-calculator``", - "description": "Updated condition key inference from Workload Estimate, Bill Scenario, and Bill Estimate resources. Updated documentation links." -} diff --git a/.changes/next-release/api-change-connect-90690.json b/.changes/next-release/api-change-connect-90690.json deleted file mode 100644 index d10cf7baa52a..000000000000 --- a/.changes/next-release/api-change-connect-90690.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``connect``", - "description": "Add support for Push Notifications for Amazon Connect chat. With Push Notifications enabled an alert could be sent to customers about new messages even when they aren't actively using the mobile application." -} diff --git a/.changes/next-release/api-change-finspace-65468.json b/.changes/next-release/api-change-finspace-65468.json deleted file mode 100644 index e3b48b4b048e..000000000000 --- a/.changes/next-release/api-change-finspace-65468.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``finspace``", - "description": "Update KxCommandLineArgument value parameter regex to allow for spaces and semicolons" -} diff --git a/.changes/next-release/api-change-ivsrealtime-32540.json b/.changes/next-release/api-change-ivsrealtime-32540.json deleted file mode 100644 index eaa37c09abc2..000000000000 --- a/.changes/next-release/api-change-ivsrealtime-32540.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ivs-realtime``", - "description": "IVS Real-Time now offers customers the ability to customize thumbnails recording mode and interval for both Individual Participant Recording (IPR) and Server-Side Compositions (SSC)." -} diff --git a/.changes/next-release/api-change-sesv2-19886.json b/.changes/next-release/api-change-sesv2-19886.json deleted file mode 100644 index c2b49ee8936f..000000000000 --- a/.changes/next-release/api-change-sesv2-19886.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``sesv2``", - "description": "Introduces support for creating DEED (Deterministic Easy-DKIM) identities." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 0779c5e91cbc..5457cb7aa015 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,17 @@ CHANGELOG ========= +1.36.19 +======= + +* api-change:``application-autoscaling``: Doc only update for AAS Predictive Scaling policy configuration API. +* api-change:``bcm-pricing-calculator``: Updated condition key inference from Workload Estimate, Bill Scenario, and Bill Estimate resources. Updated documentation links. +* api-change:``connect``: Add support for Push Notifications for Amazon Connect chat. With Push Notifications enabled an alert could be sent to customers about new messages even when they aren't actively using the mobile application. +* api-change:``finspace``: Update KxCommandLineArgument value parameter regex to allow for spaces and semicolons +* api-change:``ivs-realtime``: IVS Real-Time now offers customers the ability to customize thumbnails recording mode and interval for both Individual Participant Recording (IPR) and Server-Side Compositions (SSC). +* api-change:``sesv2``: Introduces support for creating DEED (Deterministic Easy-DKIM) identities. + + 1.36.18 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 63f469ae8a95..9f501dc57092 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.36.18' +__version__ = '1.36.19' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 0a10a82ab32a..2f0e548c8fa8 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.36.' # The full version, including alpha/beta/rc tags. -release = '1.36.18' +release = '1.36.19' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index d57157e66e94..45075c5a07c3 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.77 + botocore==1.35.78 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 69008c0615b3..460da842a726 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.77', + 'botocore==1.35.78', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 0d943a51aba7a1954accefe666f4c720079f83a2 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 11 Dec 2024 19:41:38 +0000 Subject: [PATCH 0342/1087] Update changelog based on model updates --- .changes/next-release/api-change-artifact-86713.json | 5 +++++ .changes/next-release/api-change-cloudtrail-45904.json | 5 +++++ .changes/next-release/api-change-cognitoidp-72851.json | 5 +++++ .changes/next-release/api-change-controlcatalog-36236.json | 5 +++++ .changes/next-release/api-change-emrserverless-4039.json | 5 +++++ .changes/next-release/api-change-mgh-41456.json | 5 +++++ .changes/next-release/api-change-sesv2-29818.json | 5 +++++ .../next-release/api-change-timestreaminfluxdb-30527.json | 5 +++++ 8 files changed, 40 insertions(+) create mode 100644 .changes/next-release/api-change-artifact-86713.json create mode 100644 .changes/next-release/api-change-cloudtrail-45904.json create mode 100644 .changes/next-release/api-change-cognitoidp-72851.json create mode 100644 .changes/next-release/api-change-controlcatalog-36236.json create mode 100644 .changes/next-release/api-change-emrserverless-4039.json create mode 100644 .changes/next-release/api-change-mgh-41456.json create mode 100644 .changes/next-release/api-change-sesv2-29818.json create mode 100644 .changes/next-release/api-change-timestreaminfluxdb-30527.json diff --git a/.changes/next-release/api-change-artifact-86713.json b/.changes/next-release/api-change-artifact-86713.json new file mode 100644 index 000000000000..c305773505a6 --- /dev/null +++ b/.changes/next-release/api-change-artifact-86713.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``artifact``", + "description": "Add support for listing active customer agreements for the calling AWS Account." +} diff --git a/.changes/next-release/api-change-cloudtrail-45904.json b/.changes/next-release/api-change-cloudtrail-45904.json new file mode 100644 index 000000000000..021601dbafff --- /dev/null +++ b/.changes/next-release/api-change-cloudtrail-45904.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``cloudtrail``", + "description": "Doc-only updates for CloudTrail." +} diff --git a/.changes/next-release/api-change-cognitoidp-72851.json b/.changes/next-release/api-change-cognitoidp-72851.json new file mode 100644 index 000000000000..a50fd9e39d43 --- /dev/null +++ b/.changes/next-release/api-change-cognitoidp-72851.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``cognito-idp``", + "description": "Updated descriptions for some API operations and parameters, corrected some errors in Cognito user pools" +} diff --git a/.changes/next-release/api-change-controlcatalog-36236.json b/.changes/next-release/api-change-controlcatalog-36236.json new file mode 100644 index 000000000000..dcf87dd4f2e4 --- /dev/null +++ b/.changes/next-release/api-change-controlcatalog-36236.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``controlcatalog``", + "description": "Minor documentation updates to the content of ImplementationDetails object part of the Control Catalog GetControl API" +} diff --git a/.changes/next-release/api-change-emrserverless-4039.json b/.changes/next-release/api-change-emrserverless-4039.json new file mode 100644 index 000000000000..30954ae85c70 --- /dev/null +++ b/.changes/next-release/api-change-emrserverless-4039.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``emr-serverless``", + "description": "This release adds support for accessing system profile logs in Lake Formation-enabled jobs." +} diff --git a/.changes/next-release/api-change-mgh-41456.json b/.changes/next-release/api-change-mgh-41456.json new file mode 100644 index 000000000000..7d821c02501e --- /dev/null +++ b/.changes/next-release/api-change-mgh-41456.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``mgh``", + "description": "API and documentation updates for AWS MigrationHub related to adding support for listing migration task updates and associating, disassociating and listing source resources" +} diff --git a/.changes/next-release/api-change-sesv2-29818.json b/.changes/next-release/api-change-sesv2-29818.json new file mode 100644 index 000000000000..b63d229ddba9 --- /dev/null +++ b/.changes/next-release/api-change-sesv2-29818.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``sesv2``", + "description": "Introduces support for multi-region endpoint." +} diff --git a/.changes/next-release/api-change-timestreaminfluxdb-30527.json b/.changes/next-release/api-change-timestreaminfluxdb-30527.json new file mode 100644 index 000000000000..5cde1fc625f4 --- /dev/null +++ b/.changes/next-release/api-change-timestreaminfluxdb-30527.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``timestream-influxdb``", + "description": "Adds networkType parameter to CreateDbInstance API which allows IPv6 support to the InfluxDB endpoint" +} From b810529c0a1a37d5cabe01a3e79503c62e237c92 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 11 Dec 2024 19:43:04 +0000 Subject: [PATCH 0343/1087] Bumping version to 1.36.20 --- .changes/1.36.20.json | 42 +++++++++++++++++++ .../api-change-artifact-86713.json | 5 --- .../api-change-cloudtrail-45904.json | 5 --- .../api-change-cognitoidp-72851.json | 5 --- .../api-change-controlcatalog-36236.json | 5 --- .../api-change-emrserverless-4039.json | 5 --- .../next-release/api-change-mgh-41456.json | 5 --- .../next-release/api-change-sesv2-29818.json | 5 --- .../api-change-timestreaminfluxdb-30527.json | 5 --- CHANGELOG.rst | 13 ++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 14 files changed, 59 insertions(+), 44 deletions(-) create mode 100644 .changes/1.36.20.json delete mode 100644 .changes/next-release/api-change-artifact-86713.json delete mode 100644 .changes/next-release/api-change-cloudtrail-45904.json delete mode 100644 .changes/next-release/api-change-cognitoidp-72851.json delete mode 100644 .changes/next-release/api-change-controlcatalog-36236.json delete mode 100644 .changes/next-release/api-change-emrserverless-4039.json delete mode 100644 .changes/next-release/api-change-mgh-41456.json delete mode 100644 .changes/next-release/api-change-sesv2-29818.json delete mode 100644 .changes/next-release/api-change-timestreaminfluxdb-30527.json diff --git a/.changes/1.36.20.json b/.changes/1.36.20.json new file mode 100644 index 000000000000..309912d52732 --- /dev/null +++ b/.changes/1.36.20.json @@ -0,0 +1,42 @@ +[ + { + "category": "``artifact``", + "description": "Add support for listing active customer agreements for the calling AWS Account.", + "type": "api-change" + }, + { + "category": "``cloudtrail``", + "description": "Doc-only updates for CloudTrail.", + "type": "api-change" + }, + { + "category": "``cognito-idp``", + "description": "Updated descriptions for some API operations and parameters, corrected some errors in Cognito user pools", + "type": "api-change" + }, + { + "category": "``controlcatalog``", + "description": "Minor documentation updates to the content of ImplementationDetails object part of the Control Catalog GetControl API", + "type": "api-change" + }, + { + "category": "``emr-serverless``", + "description": "This release adds support for accessing system profile logs in Lake Formation-enabled jobs.", + "type": "api-change" + }, + { + "category": "``mgh``", + "description": "API and documentation updates for AWS MigrationHub related to adding support for listing migration task updates and associating, disassociating and listing source resources", + "type": "api-change" + }, + { + "category": "``sesv2``", + "description": "Introduces support for multi-region endpoint.", + "type": "api-change" + }, + { + "category": "``timestream-influxdb``", + "description": "Adds networkType parameter to CreateDbInstance API which allows IPv6 support to the InfluxDB endpoint", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-artifact-86713.json b/.changes/next-release/api-change-artifact-86713.json deleted file mode 100644 index c305773505a6..000000000000 --- a/.changes/next-release/api-change-artifact-86713.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``artifact``", - "description": "Add support for listing active customer agreements for the calling AWS Account." -} diff --git a/.changes/next-release/api-change-cloudtrail-45904.json b/.changes/next-release/api-change-cloudtrail-45904.json deleted file mode 100644 index 021601dbafff..000000000000 --- a/.changes/next-release/api-change-cloudtrail-45904.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``cloudtrail``", - "description": "Doc-only updates for CloudTrail." -} diff --git a/.changes/next-release/api-change-cognitoidp-72851.json b/.changes/next-release/api-change-cognitoidp-72851.json deleted file mode 100644 index a50fd9e39d43..000000000000 --- a/.changes/next-release/api-change-cognitoidp-72851.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``cognito-idp``", - "description": "Updated descriptions for some API operations and parameters, corrected some errors in Cognito user pools" -} diff --git a/.changes/next-release/api-change-controlcatalog-36236.json b/.changes/next-release/api-change-controlcatalog-36236.json deleted file mode 100644 index dcf87dd4f2e4..000000000000 --- a/.changes/next-release/api-change-controlcatalog-36236.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``controlcatalog``", - "description": "Minor documentation updates to the content of ImplementationDetails object part of the Control Catalog GetControl API" -} diff --git a/.changes/next-release/api-change-emrserverless-4039.json b/.changes/next-release/api-change-emrserverless-4039.json deleted file mode 100644 index 30954ae85c70..000000000000 --- a/.changes/next-release/api-change-emrserverless-4039.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``emr-serverless``", - "description": "This release adds support for accessing system profile logs in Lake Formation-enabled jobs." -} diff --git a/.changes/next-release/api-change-mgh-41456.json b/.changes/next-release/api-change-mgh-41456.json deleted file mode 100644 index 7d821c02501e..000000000000 --- a/.changes/next-release/api-change-mgh-41456.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``mgh``", - "description": "API and documentation updates for AWS MigrationHub related to adding support for listing migration task updates and associating, disassociating and listing source resources" -} diff --git a/.changes/next-release/api-change-sesv2-29818.json b/.changes/next-release/api-change-sesv2-29818.json deleted file mode 100644 index b63d229ddba9..000000000000 --- a/.changes/next-release/api-change-sesv2-29818.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``sesv2``", - "description": "Introduces support for multi-region endpoint." -} diff --git a/.changes/next-release/api-change-timestreaminfluxdb-30527.json b/.changes/next-release/api-change-timestreaminfluxdb-30527.json deleted file mode 100644 index 5cde1fc625f4..000000000000 --- a/.changes/next-release/api-change-timestreaminfluxdb-30527.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``timestream-influxdb``", - "description": "Adds networkType parameter to CreateDbInstance API which allows IPv6 support to the InfluxDB endpoint" -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 5457cb7aa015..bf89fa455296 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,19 @@ CHANGELOG ========= +1.36.20 +======= + +* api-change:``artifact``: Add support for listing active customer agreements for the calling AWS Account. +* api-change:``cloudtrail``: Doc-only updates for CloudTrail. +* api-change:``cognito-idp``: Updated descriptions for some API operations and parameters, corrected some errors in Cognito user pools +* api-change:``controlcatalog``: Minor documentation updates to the content of ImplementationDetails object part of the Control Catalog GetControl API +* api-change:``emr-serverless``: This release adds support for accessing system profile logs in Lake Formation-enabled jobs. +* api-change:``mgh``: API and documentation updates for AWS MigrationHub related to adding support for listing migration task updates and associating, disassociating and listing source resources +* api-change:``sesv2``: Introduces support for multi-region endpoint. +* api-change:``timestream-influxdb``: Adds networkType parameter to CreateDbInstance API which allows IPv6 support to the InfluxDB endpoint + + 1.36.19 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 9f501dc57092..9fe87100f2e6 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.36.19' +__version__ = '1.36.20' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 2f0e548c8fa8..6ac40e6d5054 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.36.' # The full version, including alpha/beta/rc tags. -release = '1.36.19' +release = '1.36.20' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 45075c5a07c3..50fe0259e1bd 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.78 + botocore==1.35.79 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 460da842a726..7a2c10403c94 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.78', + 'botocore==1.35.79', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 6919affe724c19ae6bcdc63a1f6d000846daa95e Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 12 Dec 2024 19:24:30 +0000 Subject: [PATCH 0344/1087] Update changelog based on model updates --- .changes/next-release/api-change-connect-81067.json | 5 +++++ .changes/next-release/api-change-dms-83566.json | 5 +++++ .changes/next-release/api-change-glue-31910.json | 5 +++++ .changes/next-release/api-change-guardduty-14404.json | 5 +++++ .changes/next-release/api-change-route53domains-48240.json | 5 +++++ 5 files changed, 25 insertions(+) create mode 100644 .changes/next-release/api-change-connect-81067.json create mode 100644 .changes/next-release/api-change-dms-83566.json create mode 100644 .changes/next-release/api-change-glue-31910.json create mode 100644 .changes/next-release/api-change-guardduty-14404.json create mode 100644 .changes/next-release/api-change-route53domains-48240.json diff --git a/.changes/next-release/api-change-connect-81067.json b/.changes/next-release/api-change-connect-81067.json new file mode 100644 index 000000000000..d8c3f7c5ab4c --- /dev/null +++ b/.changes/next-release/api-change-connect-81067.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``connect``", + "description": "Configure holidays and other overrides to hours of operation in advance. During contact handling, Amazon Connect automatically checks for overrides and provides customers with an appropriate flow path. After an override period passes call center automatically reverts to standard hours of operation." +} diff --git a/.changes/next-release/api-change-dms-83566.json b/.changes/next-release/api-change-dms-83566.json new file mode 100644 index 000000000000..6a8e0c77ed70 --- /dev/null +++ b/.changes/next-release/api-change-dms-83566.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``dms``", + "description": "Add parameters to support for kerberos authentication. Add parameter for disabling the Unicode source filter with PostgreSQL settings. Add parameter to use large integer value with Kinesis/Kafka settings." +} diff --git a/.changes/next-release/api-change-glue-31910.json b/.changes/next-release/api-change-glue-31910.json new file mode 100644 index 000000000000..82886e248c19 --- /dev/null +++ b/.changes/next-release/api-change-glue-31910.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``glue``", + "description": "To support customer-managed encryption in Data Quality to allow customers encrypt data with their own KMS key, we will add a DataQualityEncryption field to the SecurityConfiguration API where customers can provide their KMS keys." +} diff --git a/.changes/next-release/api-change-guardduty-14404.json b/.changes/next-release/api-change-guardduty-14404.json new file mode 100644 index 000000000000..3519d1fbcd9d --- /dev/null +++ b/.changes/next-release/api-change-guardduty-14404.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``guardduty``", + "description": "Improved descriptions for certain APIs." +} diff --git a/.changes/next-release/api-change-route53domains-48240.json b/.changes/next-release/api-change-route53domains-48240.json new file mode 100644 index 000000000000..8e3e2bcc636a --- /dev/null +++ b/.changes/next-release/api-change-route53domains-48240.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``route53domains``", + "description": "This release includes the following API updates: added the enumeration type RESTORE_DOMAIN to the OperationType; constrained the Price attribute to non-negative values; updated the LangCode to allow 2 or 3 alphabetical characters." +} From 85f0932066a80a4c83d108e9ceb041a72351a6b9 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 12 Dec 2024 19:25:44 +0000 Subject: [PATCH 0345/1087] Bumping version to 1.36.21 --- .changes/1.36.21.json | 27 +++++++++++++++++++ .../api-change-connect-81067.json | 5 ---- .../next-release/api-change-dms-83566.json | 5 ---- .../next-release/api-change-glue-31910.json | 5 ---- .../api-change-guardduty-14404.json | 5 ---- .../api-change-route53domains-48240.json | 5 ---- CHANGELOG.rst | 10 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 11 files changed, 41 insertions(+), 29 deletions(-) create mode 100644 .changes/1.36.21.json delete mode 100644 .changes/next-release/api-change-connect-81067.json delete mode 100644 .changes/next-release/api-change-dms-83566.json delete mode 100644 .changes/next-release/api-change-glue-31910.json delete mode 100644 .changes/next-release/api-change-guardduty-14404.json delete mode 100644 .changes/next-release/api-change-route53domains-48240.json diff --git a/.changes/1.36.21.json b/.changes/1.36.21.json new file mode 100644 index 000000000000..39bc4239bbbc --- /dev/null +++ b/.changes/1.36.21.json @@ -0,0 +1,27 @@ +[ + { + "category": "``connect``", + "description": "Configure holidays and other overrides to hours of operation in advance. During contact handling, Amazon Connect automatically checks for overrides and provides customers with an appropriate flow path. After an override period passes call center automatically reverts to standard hours of operation.", + "type": "api-change" + }, + { + "category": "``dms``", + "description": "Add parameters to support for kerberos authentication. Add parameter for disabling the Unicode source filter with PostgreSQL settings. Add parameter to use large integer value with Kinesis/Kafka settings.", + "type": "api-change" + }, + { + "category": "``glue``", + "description": "To support customer-managed encryption in Data Quality to allow customers encrypt data with their own KMS key, we will add a DataQualityEncryption field to the SecurityConfiguration API where customers can provide their KMS keys.", + "type": "api-change" + }, + { + "category": "``guardduty``", + "description": "Improved descriptions for certain APIs.", + "type": "api-change" + }, + { + "category": "``route53domains``", + "description": "This release includes the following API updates: added the enumeration type RESTORE_DOMAIN to the OperationType; constrained the Price attribute to non-negative values; updated the LangCode to allow 2 or 3 alphabetical characters.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-connect-81067.json b/.changes/next-release/api-change-connect-81067.json deleted file mode 100644 index d8c3f7c5ab4c..000000000000 --- a/.changes/next-release/api-change-connect-81067.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``connect``", - "description": "Configure holidays and other overrides to hours of operation in advance. During contact handling, Amazon Connect automatically checks for overrides and provides customers with an appropriate flow path. After an override period passes call center automatically reverts to standard hours of operation." -} diff --git a/.changes/next-release/api-change-dms-83566.json b/.changes/next-release/api-change-dms-83566.json deleted file mode 100644 index 6a8e0c77ed70..000000000000 --- a/.changes/next-release/api-change-dms-83566.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``dms``", - "description": "Add parameters to support for kerberos authentication. Add parameter for disabling the Unicode source filter with PostgreSQL settings. Add parameter to use large integer value with Kinesis/Kafka settings." -} diff --git a/.changes/next-release/api-change-glue-31910.json b/.changes/next-release/api-change-glue-31910.json deleted file mode 100644 index 82886e248c19..000000000000 --- a/.changes/next-release/api-change-glue-31910.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``glue``", - "description": "To support customer-managed encryption in Data Quality to allow customers encrypt data with their own KMS key, we will add a DataQualityEncryption field to the SecurityConfiguration API where customers can provide their KMS keys." -} diff --git a/.changes/next-release/api-change-guardduty-14404.json b/.changes/next-release/api-change-guardduty-14404.json deleted file mode 100644 index 3519d1fbcd9d..000000000000 --- a/.changes/next-release/api-change-guardduty-14404.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``guardduty``", - "description": "Improved descriptions for certain APIs." -} diff --git a/.changes/next-release/api-change-route53domains-48240.json b/.changes/next-release/api-change-route53domains-48240.json deleted file mode 100644 index 8e3e2bcc636a..000000000000 --- a/.changes/next-release/api-change-route53domains-48240.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``route53domains``", - "description": "This release includes the following API updates: added the enumeration type RESTORE_DOMAIN to the OperationType; constrained the Price attribute to non-negative values; updated the LangCode to allow 2 or 3 alphabetical characters." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index bf89fa455296..0b4165d7e387 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,16 @@ CHANGELOG ========= +1.36.21 +======= + +* api-change:``connect``: Configure holidays and other overrides to hours of operation in advance. During contact handling, Amazon Connect automatically checks for overrides and provides customers with an appropriate flow path. After an override period passes call center automatically reverts to standard hours of operation. +* api-change:``dms``: Add parameters to support for kerberos authentication. Add parameter for disabling the Unicode source filter with PostgreSQL settings. Add parameter to use large integer value with Kinesis/Kafka settings. +* api-change:``glue``: To support customer-managed encryption in Data Quality to allow customers encrypt data with their own KMS key, we will add a DataQualityEncryption field to the SecurityConfiguration API where customers can provide their KMS keys. +* api-change:``guardduty``: Improved descriptions for certain APIs. +* api-change:``route53domains``: This release includes the following API updates: added the enumeration type RESTORE_DOMAIN to the OperationType; constrained the Price attribute to non-negative values; updated the LangCode to allow 2 or 3 alphabetical characters. + + 1.36.20 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 9fe87100f2e6..075a94d4f7ff 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.36.20' +__version__ = '1.36.21' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 6ac40e6d5054..5d3ffb875eb7 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.36.' # The full version, including alpha/beta/rc tags. -release = '1.36.20' +release = '1.36.21' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 50fe0259e1bd..333004acd0f2 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.79 + botocore==1.35.80 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 7a2c10403c94..557a0c91c5b8 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.79', + 'botocore==1.35.80', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 83828b51d485451aef7e00d6924e8319fcf8f817 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 13 Dec 2024 19:17:48 +0000 Subject: [PATCH 0346/1087] Update changelog based on model updates --- .changes/next-release/api-change-cloudhsmv2-50098.json | 5 +++++ .changes/next-release/api-change-ec2-68536.json | 5 +++++ .changes/next-release/api-change-eks-49266.json | 5 +++++ .changes/next-release/api-change-logs-74708.json | 5 +++++ .changes/next-release/api-change-mediaconnect-58572.json | 5 +++++ .changes/next-release/api-change-networkmanager-78932.json | 5 +++++ .changes/next-release/api-change-servicediscovery-21951.json | 5 +++++ 7 files changed, 35 insertions(+) create mode 100644 .changes/next-release/api-change-cloudhsmv2-50098.json create mode 100644 .changes/next-release/api-change-ec2-68536.json create mode 100644 .changes/next-release/api-change-eks-49266.json create mode 100644 .changes/next-release/api-change-logs-74708.json create mode 100644 .changes/next-release/api-change-mediaconnect-58572.json create mode 100644 .changes/next-release/api-change-networkmanager-78932.json create mode 100644 .changes/next-release/api-change-servicediscovery-21951.json diff --git a/.changes/next-release/api-change-cloudhsmv2-50098.json b/.changes/next-release/api-change-cloudhsmv2-50098.json new file mode 100644 index 000000000000..d19277592b3d --- /dev/null +++ b/.changes/next-release/api-change-cloudhsmv2-50098.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``cloudhsmv2``", + "description": "Add support for Dual-Stack hsm2m.medium clusters. The customers will now be able to create hsm2m.medium clusters having both IPv4 and IPv6 connection capabilities by specifying a new param called NetworkType=DUALSTACK during cluster creation." +} diff --git a/.changes/next-release/api-change-ec2-68536.json b/.changes/next-release/api-change-ec2-68536.json new file mode 100644 index 000000000000..710fa899441c --- /dev/null +++ b/.changes/next-release/api-change-ec2-68536.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ec2``", + "description": "This release adds GroupId to the response for DeleteSecurityGroup." +} diff --git a/.changes/next-release/api-change-eks-49266.json b/.changes/next-release/api-change-eks-49266.json new file mode 100644 index 000000000000..f9395522eb0f --- /dev/null +++ b/.changes/next-release/api-change-eks-49266.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``eks``", + "description": "Add NodeRepairConfig in CreateNodegroupRequest and UpdateNodegroupConfigRequest" +} diff --git a/.changes/next-release/api-change-logs-74708.json b/.changes/next-release/api-change-logs-74708.json new file mode 100644 index 000000000000..09818c3e9214 --- /dev/null +++ b/.changes/next-release/api-change-logs-74708.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``logs``", + "description": "Limit PutIntegration IntegrationName and ListIntegrations IntegrationNamePrefix parameters to 50 characters" +} diff --git a/.changes/next-release/api-change-mediaconnect-58572.json b/.changes/next-release/api-change-mediaconnect-58572.json new file mode 100644 index 000000000000..7211c2b6ec6c --- /dev/null +++ b/.changes/next-release/api-change-mediaconnect-58572.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``mediaconnect``", + "description": "AWS Elemental MediaConnect Gateway now supports Source Specific Multicast (SSM) for ingress bridges. This enables you to specify a source IP address in addition to a multicast IP when creating or updating an ingress bridge source." +} diff --git a/.changes/next-release/api-change-networkmanager-78932.json b/.changes/next-release/api-change-networkmanager-78932.json new file mode 100644 index 000000000000..7a8098b396c3 --- /dev/null +++ b/.changes/next-release/api-change-networkmanager-78932.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``networkmanager``", + "description": "There was a sentence fragment in UpdateDirectConnectGatewayAttachment that was causing customer confusion as to whether it's an incomplete sentence or if it was a typo. Removed the fragment." +} diff --git a/.changes/next-release/api-change-servicediscovery-21951.json b/.changes/next-release/api-change-servicediscovery-21951.json new file mode 100644 index 000000000000..ba956013b86e --- /dev/null +++ b/.changes/next-release/api-change-servicediscovery-21951.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``servicediscovery``", + "description": "AWS Cloud Map now supports service-level attributes, allowing you to associate custom metadata directly with services. These attributes can be retrieved, updated, and deleted using the new GetServiceAttributes, UpdateServiceAttributes, and DeleteServiceAttributes API calls." +} From 847191bf69adf4db59a7fb3a12752a5f820b77a2 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 13 Dec 2024 19:19:16 +0000 Subject: [PATCH 0347/1087] Bumping version to 1.36.22 --- .changes/1.36.22.json | 37 +++++++++++++++++++ .../api-change-cloudhsmv2-50098.json | 5 --- .../next-release/api-change-ec2-68536.json | 5 --- .../next-release/api-change-eks-49266.json | 5 --- .../next-release/api-change-logs-74708.json | 5 --- .../api-change-mediaconnect-58572.json | 5 --- .../api-change-networkmanager-78932.json | 5 --- .../api-change-servicediscovery-21951.json | 5 --- CHANGELOG.rst | 12 ++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 13 files changed, 53 insertions(+), 39 deletions(-) create mode 100644 .changes/1.36.22.json delete mode 100644 .changes/next-release/api-change-cloudhsmv2-50098.json delete mode 100644 .changes/next-release/api-change-ec2-68536.json delete mode 100644 .changes/next-release/api-change-eks-49266.json delete mode 100644 .changes/next-release/api-change-logs-74708.json delete mode 100644 .changes/next-release/api-change-mediaconnect-58572.json delete mode 100644 .changes/next-release/api-change-networkmanager-78932.json delete mode 100644 .changes/next-release/api-change-servicediscovery-21951.json diff --git a/.changes/1.36.22.json b/.changes/1.36.22.json new file mode 100644 index 000000000000..1e068976db97 --- /dev/null +++ b/.changes/1.36.22.json @@ -0,0 +1,37 @@ +[ + { + "category": "``cloudhsmv2``", + "description": "Add support for Dual-Stack hsm2m.medium clusters. The customers will now be able to create hsm2m.medium clusters having both IPv4 and IPv6 connection capabilities by specifying a new param called NetworkType=DUALSTACK during cluster creation.", + "type": "api-change" + }, + { + "category": "``ec2``", + "description": "This release adds GroupId to the response for DeleteSecurityGroup.", + "type": "api-change" + }, + { + "category": "``eks``", + "description": "Add NodeRepairConfig in CreateNodegroupRequest and UpdateNodegroupConfigRequest", + "type": "api-change" + }, + { + "category": "``logs``", + "description": "Limit PutIntegration IntegrationName and ListIntegrations IntegrationNamePrefix parameters to 50 characters", + "type": "api-change" + }, + { + "category": "``mediaconnect``", + "description": "AWS Elemental MediaConnect Gateway now supports Source Specific Multicast (SSM) for ingress bridges. This enables you to specify a source IP address in addition to a multicast IP when creating or updating an ingress bridge source.", + "type": "api-change" + }, + { + "category": "``networkmanager``", + "description": "There was a sentence fragment in UpdateDirectConnectGatewayAttachment that was causing customer confusion as to whether it's an incomplete sentence or if it was a typo. Removed the fragment.", + "type": "api-change" + }, + { + "category": "``servicediscovery``", + "description": "AWS Cloud Map now supports service-level attributes, allowing you to associate custom metadata directly with services. These attributes can be retrieved, updated, and deleted using the new GetServiceAttributes, UpdateServiceAttributes, and DeleteServiceAttributes API calls.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-cloudhsmv2-50098.json b/.changes/next-release/api-change-cloudhsmv2-50098.json deleted file mode 100644 index d19277592b3d..000000000000 --- a/.changes/next-release/api-change-cloudhsmv2-50098.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``cloudhsmv2``", - "description": "Add support for Dual-Stack hsm2m.medium clusters. The customers will now be able to create hsm2m.medium clusters having both IPv4 and IPv6 connection capabilities by specifying a new param called NetworkType=DUALSTACK during cluster creation." -} diff --git a/.changes/next-release/api-change-ec2-68536.json b/.changes/next-release/api-change-ec2-68536.json deleted file mode 100644 index 710fa899441c..000000000000 --- a/.changes/next-release/api-change-ec2-68536.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ec2``", - "description": "This release adds GroupId to the response for DeleteSecurityGroup." -} diff --git a/.changes/next-release/api-change-eks-49266.json b/.changes/next-release/api-change-eks-49266.json deleted file mode 100644 index f9395522eb0f..000000000000 --- a/.changes/next-release/api-change-eks-49266.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``eks``", - "description": "Add NodeRepairConfig in CreateNodegroupRequest and UpdateNodegroupConfigRequest" -} diff --git a/.changes/next-release/api-change-logs-74708.json b/.changes/next-release/api-change-logs-74708.json deleted file mode 100644 index 09818c3e9214..000000000000 --- a/.changes/next-release/api-change-logs-74708.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``logs``", - "description": "Limit PutIntegration IntegrationName and ListIntegrations IntegrationNamePrefix parameters to 50 characters" -} diff --git a/.changes/next-release/api-change-mediaconnect-58572.json b/.changes/next-release/api-change-mediaconnect-58572.json deleted file mode 100644 index 7211c2b6ec6c..000000000000 --- a/.changes/next-release/api-change-mediaconnect-58572.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``mediaconnect``", - "description": "AWS Elemental MediaConnect Gateway now supports Source Specific Multicast (SSM) for ingress bridges. This enables you to specify a source IP address in addition to a multicast IP when creating or updating an ingress bridge source." -} diff --git a/.changes/next-release/api-change-networkmanager-78932.json b/.changes/next-release/api-change-networkmanager-78932.json deleted file mode 100644 index 7a8098b396c3..000000000000 --- a/.changes/next-release/api-change-networkmanager-78932.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``networkmanager``", - "description": "There was a sentence fragment in UpdateDirectConnectGatewayAttachment that was causing customer confusion as to whether it's an incomplete sentence or if it was a typo. Removed the fragment." -} diff --git a/.changes/next-release/api-change-servicediscovery-21951.json b/.changes/next-release/api-change-servicediscovery-21951.json deleted file mode 100644 index ba956013b86e..000000000000 --- a/.changes/next-release/api-change-servicediscovery-21951.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``servicediscovery``", - "description": "AWS Cloud Map now supports service-level attributes, allowing you to associate custom metadata directly with services. These attributes can be retrieved, updated, and deleted using the new GetServiceAttributes, UpdateServiceAttributes, and DeleteServiceAttributes API calls." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 0b4165d7e387..3d2c9612f450 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,18 @@ CHANGELOG ========= +1.36.22 +======= + +* api-change:``cloudhsmv2``: Add support for Dual-Stack hsm2m.medium clusters. The customers will now be able to create hsm2m.medium clusters having both IPv4 and IPv6 connection capabilities by specifying a new param called NetworkType=DUALSTACK during cluster creation. +* api-change:``ec2``: This release adds GroupId to the response for DeleteSecurityGroup. +* api-change:``eks``: Add NodeRepairConfig in CreateNodegroupRequest and UpdateNodegroupConfigRequest +* api-change:``logs``: Limit PutIntegration IntegrationName and ListIntegrations IntegrationNamePrefix parameters to 50 characters +* api-change:``mediaconnect``: AWS Elemental MediaConnect Gateway now supports Source Specific Multicast (SSM) for ingress bridges. This enables you to specify a source IP address in addition to a multicast IP when creating or updating an ingress bridge source. +* api-change:``networkmanager``: There was a sentence fragment in UpdateDirectConnectGatewayAttachment that was causing customer confusion as to whether it's an incomplete sentence or if it was a typo. Removed the fragment. +* api-change:``servicediscovery``: AWS Cloud Map now supports service-level attributes, allowing you to associate custom metadata directly with services. These attributes can be retrieved, updated, and deleted using the new GetServiceAttributes, UpdateServiceAttributes, and DeleteServiceAttributes API calls. + + 1.36.21 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 075a94d4f7ff..a61dafc9809e 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.36.21' +__version__ = '1.36.22' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 5d3ffb875eb7..87c77f095d83 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.36.' # The full version, including alpha/beta/rc tags. -release = '1.36.21' +release = '1.36.22' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 333004acd0f2..d71359f4547a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.80 + botocore==1.35.81 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 557a0c91c5b8..d03966b07f03 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.80', + 'botocore==1.35.81', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 181abc4f6ec56d34ac95dc30f8ba1eebd6b31fe8 Mon Sep 17 00:00:00 2001 From: David Souther Date: Mon, 16 Dec 2024 13:38:04 -0500 Subject: [PATCH 0348/1087] Replace outdated bucket placeholders with updated example buckets. (#8919) Update search to be case insensitive Remove aws... and my-s3-... prefixes Remove dashes in -1 -2 --- .../check-access-not-granted.rst | 4 +- .../accessanalyzer/check-no-new-access.rst | 8 ++-- .../accessanalyzer/create-access-preview.rst | 4 +- .../accessanalyzer/get-access-preview.rst | 4 +- .../accessanalyzer/get-analyzed-resource.rst | 4 +- .../list-access-preview-findings.rst | 2 +- .../accessanalyzer/list-analyzers.rst | 2 +- .../athena/batch-get-query-execution.rst | 6 +-- awscli/examples/athena/create-work-group.rst | 6 +-- .../examples/athena/get-query-execution.rst | 4 +- awscli/examples/athena/get-table-metadata.rst | 4 +- awscli/examples/athena/get-work-group.rst | 4 +- .../examples/athena/list-table-metadata.rst | 4 +- awscli/examples/comprehend/create-dataset.rst | 2 +- .../comprehend/create-document-classifier.rst | 2 +- .../comprehend/create-entity-recognizer.rst | 2 +- .../examples/comprehend/create-flywheel.rst | 2 +- .../examples/comprehend/describe-dataset.rst | 2 +- .../describe-document-classification-job.rst | 4 +- .../describe-document-classifier.rst | 2 +- ...scribe-dominant-language-detection-job.rst | 4 +- .../describe-entities-detection-job.rst | 4 +- .../comprehend/describe-entity-recognizer.rst | 4 +- .../describe-events-detection-job.rst | 4 +- .../describe-flywheel-iteration.rst | 2 +- .../examples/comprehend/describe-flywheel.rst | 2 +- .../describe-pii-entities-detection-job.rst | 4 +- .../describe-sentiment-detection-job.rst | 4 +- ...cribe-targeted-sentiment-detection-job.rst | 4 +- .../describe-topics-detection-job.rst | 4 +- awscli/examples/comprehend/list-datasets.rst | 4 +- .../list-document-classification-jobs.rst | 8 ++-- .../comprehend/list-document-classifiers.rst | 4 +- .../list-dominant-language-detection-jobs.rst | 8 ++-- .../list-entities-detection-jobs.rst | 12 +++--- .../comprehend/list-entity-recognizers.rst | 8 ++-- .../comprehend/list-events-detection-jobs.rst | 8 ++-- .../list-flywheel-iteration-history.rst | 4 +- awscli/examples/comprehend/list-flywheels.rst | 4 +- .../list-key-phrases-detection-jobs.rst | 12 +++--- .../list-pii-entities-detection-jobs.rst | 8 ++-- .../list-sentiment-detection-jobs.rst | 8 ++-- ...list-targeted-sentiment-detection-jobs.rst | 8 ++-- .../comprehend/list-topics-detection-jobs.rst | 12 +++--- .../start-document-classification-job.rst | 4 +- .../start-dominant-language-detection-job.rst | 4 +- .../start-entities-detection-job.rst | 8 ++-- .../comprehend/start-events-detection-job.rst | 4 +- .../start-key-phrases-detection-job.rst | 4 +- .../start-pii-entities-detection-job.rst | 4 +- .../start-sentiment-detection-job.rst | 4 +- ...start-targeted-sentiment-detection-job.rst | 4 +- .../comprehend/start-topics-detection-job.rst | 4 +- .../examples/comprehend/update-flywheel.rst | 2 +- .../get-flow-logs-integration-template.rst | 10 ++--- awscli/examples/glue/create-job.rst | 2 +- awscli/examples/guardduty/create-ip-set.rst | 2 +- awscli/examples/guardduty/get-ip-set.rst | 2 +- awscli/examples/guardduty/update-ip-set.rst | 2 +- awscli/examples/macie2/describe-buckets.rst | 8 ++-- awscli/examples/s3/presign.rst | 8 ++-- ...cket-intelligent-tiering-configuration.rst | 2 +- .../delete-bucket-ownership-controls.rst | 2 +- ...cket-intelligent-tiering-configuration.rst | 2 +- .../s3api/get-bucket-ownership-controls.rst | 2 +- ...ket-intelligent-tiering-configurations.rst | 2 +- ...cket-intelligent-tiering-configuration.rst | 2 +- .../s3api/put-bucket-ownership-controls.rst | 2 +- .../examples/s3api/put-bucket-replication.rst | 10 ++--- .../get-multi-region-access-point-routes.rst | 4 +- ...ubmit-multi-region-access-point-routes.rst | 4 +- .../securitylake/create-custom-logsource.rst | 2 +- .../securitylake/list-subscribers.rst | 4 +- .../securitylake/update-subscriber.rst | 2 +- .../transcribe/create-language-model.rst | 10 ++--- .../transcribe/create-medical-vocabulary.rst | 2 +- .../transcribe/create-vocabulary-filter.rst | 2 +- .../examples/transcribe/create-vocabulary.rst | 2 +- .../transcribe/describe-language-model.rst | 4 +- .../transcribe/get-transcription-job.rst | 2 +- .../transcribe/list-language-models.rst | 8 ++-- .../start-medical-transcription-job.rst | 42 +++++++++---------- .../transcribe/start-transcription-job.rst | 28 ++++++------- .../transcribe/update-medical-vocabulary.rst | 2 +- .../transcribe/update-vocabulary-filter.rst | 2 +- .../examples/transcribe/update-vocabulary.rst | 2 +- 86 files changed, 219 insertions(+), 219 deletions(-) diff --git a/awscli/examples/accessanalyzer/check-access-not-granted.rst b/awscli/examples/accessanalyzer/check-access-not-granted.rst index 7ca8a0f13c7a..06eb1924c8b3 100644 --- a/awscli/examples/accessanalyzer/check-access-not-granted.rst +++ b/awscli/examples/accessanalyzer/check-access-not-granted.rst @@ -19,8 +19,8 @@ Contents of ``myfile.json``:: "s3:ListBucket" ], "Resource": [ - "arn:aws:s3:::DOC-EXAMPLE-BUCKET", - "arn:aws:s3:::DOC-EXAMPLE-BUCKET/*" + "arn:aws:s3:::amzn-s3-demo-bucket", + "arn:aws:s3:::amzn-s3-demo-bucket/*" ] } ] diff --git a/awscli/examples/accessanalyzer/check-no-new-access.rst b/awscli/examples/accessanalyzer/check-no-new-access.rst index d87d7085370f..2f339afaa0ee 100644 --- a/awscli/examples/accessanalyzer/check-no-new-access.rst +++ b/awscli/examples/accessanalyzer/check-no-new-access.rst @@ -19,8 +19,8 @@ Contents of ``existing-policy.json``:: "s3:ListBucket" ], "Resource": [ - "arn:aws:s3:::DOC-EXAMPLE-BUCKET", - "arn:aws:s3:::DOC-EXAMPLE-BUCKET/*" + "arn:aws:s3:::amzn-s3-demo-bucket", + "arn:aws:s3:::amzn-s3-demo-bucket/*" ] } ] @@ -39,8 +39,8 @@ Contents of ``new-policy.json``:: "s3:ListBucket" ], "Resource": [ - "arn:aws:s3:::DOC-EXAMPLE-BUCKET", - "arn:aws:s3:::DOC-EXAMPLE-BUCKET/*" + "arn:aws:s3:::amzn-s3-demo-bucket", + "arn:aws:s3:::amzn-s3-demo-bucket/*" ] } ] diff --git a/awscli/examples/accessanalyzer/create-access-preview.rst b/awscli/examples/accessanalyzer/create-access-preview.rst index 0a9c93bb6f0c..2a12685763af 100644 --- a/awscli/examples/accessanalyzer/create-access-preview.rst +++ b/awscli/examples/accessanalyzer/create-access-preview.rst @@ -9,9 +9,9 @@ The following ``create-access-preview`` example creates an access preview that a Contents of ``myfile.json``:: { - "arn:aws:s3:::DOC-EXAMPLE-BUCKET": { + "arn:aws:s3:::amzn-s3-demo-bucket": { "s3Bucket": { - "bucketPolicy": "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Effect\":\"Allow\",\"Principal\":{\"AWS\":[\"arn:aws:iam::111122223333:root\"]},\"Action\":[\"s3:PutObject\",\"s3:PutObjectAcl\"],\"Resource\":\"arn:aws:s3:::DOC-EXAMPLE-BUCKET/*\"}]}", + "bucketPolicy": "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Effect\":\"Allow\",\"Principal\":{\"AWS\":[\"arn:aws:iam::111122223333:root\"]},\"Action\":[\"s3:PutObject\",\"s3:PutObjectAcl\"],\"Resource\":\"arn:aws:s3:::amzn-s3-demo-bucket/*\"}]}", "bucketPublicAccessBlock": { "ignorePublicAcls": true, "restrictPublicBuckets": true diff --git a/awscli/examples/accessanalyzer/get-access-preview.rst b/awscli/examples/accessanalyzer/get-access-preview.rst index 6ce66cfe0623..519f4bbff485 100644 --- a/awscli/examples/accessanalyzer/get-access-preview.rst +++ b/awscli/examples/accessanalyzer/get-access-preview.rst @@ -13,9 +13,9 @@ Output:: "id": "3c65eb13-6ef9-4629-8919-a32043619e6b", "analyzerArn": "arn:aws:access-analyzer:us-west-2:111122223333:analyzer/ConsoleAnalyzer-account", "configurations": { - "arn:aws:s3:::DOC-EXAMPLE-BUCKET": { + "arn:aws:s3:::amzn-s3-demo-bucket": { "s3Bucket": { - "bucketPolicy": "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Effect\":\"Allow\",\"Principal\":{\"AWS\":[\"arn:aws:iam::111122223333:root\"]},\"Action\":[\"s3:PutObject\",\"s3:PutObjectAcl\"],\"Resource\":\"arn:aws:s3:::DOC-EXAMPLE-BUCKET/*\"}]}", + "bucketPolicy": "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Effect\":\"Allow\",\"Principal\":{\"AWS\":[\"arn:aws:iam::111122223333:root\"]},\"Action\":[\"s3:PutObject\",\"s3:PutObjectAcl\"],\"Resource\":\"arn:aws:s3:::amzn-s3-demo-bucket/*\"}]}", "bucketAclGrants": [ { "permission": "READ", diff --git a/awscli/examples/accessanalyzer/get-analyzed-resource.rst b/awscli/examples/accessanalyzer/get-analyzed-resource.rst index 50f3eb9092ac..b05ac7fffab9 100644 --- a/awscli/examples/accessanalyzer/get-analyzed-resource.rst +++ b/awscli/examples/accessanalyzer/get-analyzed-resource.rst @@ -4,7 +4,7 @@ The following ``get-analyzed-resource`` example retrieves information about a re aws accessanalyzer get-analyzed-resource \ --analyzer-arn arn:aws:access-analyzer:us-west-2:111122223333:analyzer/ConsoleAnalyzer-account \ - --resource-arn arn:aws:s3:::DOC-EXAMPLE-BUCKET + --resource-arn arn:aws:s3:::amzn-s3-demo-bucket Output:: @@ -12,7 +12,7 @@ Output:: "resource": { "analyzedAt": "2024-02-15T18:01:53.002000+00:00", "isPublic": false, - "resourceArn": "arn:aws:s3:::DOC-EXAMPLE-BUCKET", + "resourceArn": "arn:aws:s3:::amzn-s3-demo-bucket", "resourceOwnerAccount": "111122223333", "resourceType": "AWS::S3::Bucket" } diff --git a/awscli/examples/accessanalyzer/list-access-preview-findings.rst b/awscli/examples/accessanalyzer/list-access-preview-findings.rst index cc814303985c..23383c510767 100644 --- a/awscli/examples/accessanalyzer/list-access-preview-findings.rst +++ b/awscli/examples/accessanalyzer/list-access-preview-findings.rst @@ -20,7 +20,7 @@ Output:: "s3:PutObjectAcl" ], "condition": {}, - "resource": "arn:aws:s3:::DOC-EXAMPLE-BUCKET", + "resource": "arn:aws:s3:::amzn-s3-demo-bucket", "isPublic": false, "resourceType": "AWS::S3::Bucket", "createdAt": "2024-02-17T00:18:46+00:00", diff --git a/awscli/examples/accessanalyzer/list-analyzers.rst b/awscli/examples/accessanalyzer/list-analyzers.rst index b2c68ea8134c..95b595c7e420 100644 --- a/awscli/examples/accessanalyzer/list-analyzers.rst +++ b/awscli/examples/accessanalyzer/list-analyzers.rst @@ -21,7 +21,7 @@ Output:: { "arn": "arn:aws:access-analyzer:us-west-2:111122223333:analyzer/ConsoleAnalyzer-organization", "createdAt": "2020-04-25T07:43:28+00:00", - "lastResourceAnalyzed": "arn:aws:s3:::DOC-EXAMPLE-BUCKET", + "lastResourceAnalyzed": "arn:aws:s3:::amzn-s3-demo-bucket", "lastResourceAnalyzedAt": "2024-02-15T21:51:56.517000+00:00", "name": "ConsoleAnalyzer-organization", "status": "ACTIVE", diff --git a/awscli/examples/athena/batch-get-query-execution.rst b/awscli/examples/athena/batch-get-query-execution.rst index 39ff3a295984..e42c36633438 100644 --- a/awscli/examples/athena/batch-get-query-execution.rst +++ b/awscli/examples/athena/batch-get-query-execution.rst @@ -14,7 +14,7 @@ Output:: "Query": "create database if not exists webdata", "StatementType": "DDL", "ResultConfiguration": { - "OutputLocation": "s3://awsdoc-example-bucket/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111.txt" + "OutputLocation": "s3://amzn-s3-demo-bucket/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111.txt" }, "QueryExecutionContext": {}, "Status": { @@ -38,7 +38,7 @@ Output:: "Query": "select date, location, browser, uri, status from cloudfront_logs where method = 'GET' and status = 200 and location like 'SFO%' limit 10", "StatementType": "DML", "ResultConfiguration": { - "OutputLocation": "s3://awsdoc-example-bucket/a1b2c3d4-5678-90ab-cdef-EXAMPLE22222.csv" + "OutputLocation": "s3://amzn-s3-demo-bucket/a1b2c3d4-5678-90ab-cdef-EXAMPLE22222.csv" }, "QueryExecutionContext": { "Database": "mydatabase", @@ -62,4 +62,4 @@ Output:: "UnprocessedQueryExecutionIds": [] } -For more information, see `Running SQL Queries Using Amazon Athena `__ in the *Amazon Athena User Guide*. \ No newline at end of file +For more information, see `Running SQL Queries Using Amazon Athena `__ in the *Amazon Athena User Guide*. diff --git a/awscli/examples/athena/create-work-group.rst b/awscli/examples/athena/create-work-group.rst index 14cd639e6861..5ecd82e91267 100644 --- a/awscli/examples/athena/create-work-group.rst +++ b/awscli/examples/athena/create-work-group.rst @@ -1,13 +1,13 @@ **To create a workgroup** -The following ``create-work-group`` example creates a workgroup called ``Data_Analyst_Group`` that has the query results output location ``s3://awsdoc-example-bucket``. The command creates a workgroup that overrides client configuration settings, which includes the query results output location. The command also enables CloudWatch metrics and adds three key-value tag pairs to the workgroup to distinguish it from other workgroups. Note that the ``--configuration`` argument has no spaces before the commas that separate its options. :: +The following ``create-work-group`` example creates a workgroup called ``Data_Analyst_Group`` that has the query results output location ``s3://amzn-s3-demo-bucket``. The command creates a workgroup that overrides client configuration settings, which includes the query results output location. The command also enables CloudWatch metrics and adds three key-value tag pairs to the workgroup to distinguish it from other workgroups. Note that the ``--configuration`` argument has no spaces before the commas that separate its options. :: aws athena create-work-group \ --name Data_Analyst_Group \ - --configuration ResultConfiguration={OutputLocation="s3://awsdoc-example-bucket"},EnforceWorkGroupConfiguration="true",PublishCloudWatchMetricsEnabled="true" \ + --configuration ResultConfiguration={OutputLocation="s3://amzn-s3-demo-bucket"},EnforceWorkGroupConfiguration="true",PublishCloudWatchMetricsEnabled="true" \ --description "Workgroup for data analysts" \ --tags Key=Division,Value=West Key=Location,Value=Seattle Key=Team,Value="Big Data" This command produces no output. To see the results, use ``aws athena get-work-group --work-group Data_Analyst_Group``. -For more information, see `Managing Workgroups `__ in the *Amazon Athena User Guide*. \ No newline at end of file +For more information, see `Managing Workgroups `__ in the *Amazon Athena User Guide*. diff --git a/awscli/examples/athena/get-query-execution.rst b/awscli/examples/athena/get-query-execution.rst index b409a4e9b44a..3b68fd274210 100644 --- a/awscli/examples/athena/get-query-execution.rst +++ b/awscli/examples/athena/get-query-execution.rst @@ -14,7 +14,7 @@ Output:: ' and status = 200 and location like 'SFO%' limit 10", "StatementType": "DML", "ResultConfiguration": { - "OutputLocation": "s3://awsdoc-example-bucket/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111.csv" + "OutputLocation": "s3://amzn-s3-demo-bucket/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111.csv" }, "QueryExecutionContext": { "Database": "mydatabase", @@ -36,4 +36,4 @@ Output:: } } -For more information, see `Running SQL Queries Using Amazon Athena `__ in the *Amazon Athena User Guide*. \ No newline at end of file +For more information, see `Running SQL Queries Using Amazon Athena `__ in the *Amazon Athena User Guide*. diff --git a/awscli/examples/athena/get-table-metadata.rst b/awscli/examples/athena/get-table-metadata.rst index a377298ea388..c690d8580cce 100644 --- a/awscli/examples/athena/get-table-metadata.rst +++ b/awscli/examples/athena/get-table-metadata.rst @@ -41,7 +41,7 @@ Output:: "Parameters": { "EXTERNAL": "TRUE", "inputformat": "com.esri.json.hadoop.EnclosedJsonInputFormat", - "location": "s3://awsdoc-example-bucket/json", + "location": "s3://amzn-s3-demo-bucket/json", "outputformat": "org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat", "serde.param.serialization.format": "1", "serde.serialization.lib": "com.esri.hadoop.hive.serde.JsonSerde", @@ -50,4 +50,4 @@ Output:: } } -For more information, see `Showing Table Details: get-table-metadata `__ in the *Amazon Athena User Guide*. \ No newline at end of file +For more information, see `Showing Table Details: get-table-metadata `__ in the *Amazon Athena User Guide*. diff --git a/awscli/examples/athena/get-work-group.rst b/awscli/examples/athena/get-work-group.rst index 469f1f859b25..77d07aaf33d6 100644 --- a/awscli/examples/athena/get-work-group.rst +++ b/awscli/examples/athena/get-work-group.rst @@ -13,7 +13,7 @@ Output:: "State": "ENABLED", "Configuration": { "ResultConfiguration": { - "OutputLocation": "s3://awsdoc-example-bucket/" + "OutputLocation": "s3://amzn-s3-demo-bucket/" }, "EnforceWorkGroupConfiguration": false, "PublishCloudWatchMetricsEnabled": true, @@ -24,4 +24,4 @@ Output:: } } -For more information, see `Managing Workgroups `__ in the *Amazon Athena User Guide*. \ No newline at end of file +For more information, see `Managing Workgroups `__ in the *Amazon Athena User Guide*. diff --git a/awscli/examples/athena/list-table-metadata.rst b/awscli/examples/athena/list-table-metadata.rst index 7f602cb40918..56bd18d51dcd 100644 --- a/awscli/examples/athena/list-table-metadata.rst +++ b/awscli/examples/athena/list-table-metadata.rst @@ -54,7 +54,7 @@ Output:: "delimiter": ",", "has_encrypted_data": "false", "inputformat": "org.apache.hadoop.mapred.TextInputFormat", - "location": "s3://awsdoc-example-bucket/csv/countrycode", + "location": "s3://amzn-s3-demo-bucket/csv/countrycode", "outputformat": "org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat", "serde.param.field.delim": ",", "serde.serialization.lib": "org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe", @@ -102,7 +102,7 @@ Output:: "delimiter": ",", "has_encrypted_data": "false", "inputformat": "org.apache.hadoop.mapred.TextInputFormat", - "location": "s3://awsdoc-example-bucket/csv/CountyPopulation", + "location": "s3://amzn-s3-demo-bucket/csv/CountyPopulation", "outputformat": "org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat", "serde.param.field.delim": ",", "serde.serialization.lib": "org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe", diff --git a/awscli/examples/comprehend/create-dataset.rst b/awscli/examples/comprehend/create-dataset.rst index aa156dd628f4..31623ad9ca1d 100644 --- a/awscli/examples/comprehend/create-dataset.rst +++ b/awscli/examples/comprehend/create-dataset.rst @@ -14,7 +14,7 @@ Contents of ``file://inputConfig.json``:: { "DataFormat": "COMPREHEND_CSV", "DocumentClassifierInputDataConfig": { - "S3Uri": "s3://DOC-EXAMPLE-BUCKET/training-data.csv" + "S3Uri": "s3://amzn-s3-demo-bucket/training-data.csv" } } diff --git a/awscli/examples/comprehend/create-document-classifier.rst b/awscli/examples/comprehend/create-document-classifier.rst index 6881994d36cc..a9806d4f8b26 100644 --- a/awscli/examples/comprehend/create-document-classifier.rst +++ b/awscli/examples/comprehend/create-document-classifier.rst @@ -5,7 +5,7 @@ The following ``create-document-classifier`` example begins the training process aws comprehend create-document-classifier \ --document-classifier-name example-classifier \ --data-access-arn arn:aws:comprehend:us-west-2:111122223333:pii-entities-detection-job/123456abcdeb0e11022f22a11EXAMPLE \ - --input-data-config "S3Uri=s3://DOC-EXAMPLE-BUCKET/" \ + --input-data-config "S3Uri=s3://amzn-s3-demo-bucket/" \ --language-code en Output:: diff --git a/awscli/examples/comprehend/create-entity-recognizer.rst b/awscli/examples/comprehend/create-entity-recognizer.rst index 727dc32f4e15..010d48e49d00 100644 --- a/awscli/examples/comprehend/create-entity-recognizer.rst +++ b/awscli/examples/comprehend/create-entity-recognizer.rst @@ -6,7 +6,7 @@ The following ``create-entity-recognizer`` example begins the training process f aws comprehend create-entity-recognizer \ --recognizer-name example-entity-recognizer --data-access-role-arn arn:aws:iam::111122223333:role/service-role/AmazonComprehendServiceRole-example-role \ - --input-data-config "EntityTypes=[{Type=DEVICE}],Documents={S3Uri=s3://DOC-EXAMPLE-BUCKET/trainingdata/raw_text.csv},EntityList={S3Uri=s3://DOC-EXAMPLE-BUCKET/trainingdata/entity_list.csv}" + --input-data-config "EntityTypes=[{Type=DEVICE}],Documents={S3Uri=s3://amzn-s3-demo-bucket/trainingdata/raw_text.csv},EntityList={S3Uri=s3://amzn-s3-demo-bucket/trainingdata/entity_list.csv}" --language-code en Output:: diff --git a/awscli/examples/comprehend/create-flywheel.rst b/awscli/examples/comprehend/create-flywheel.rst index 78d5a44fa419..adcaebc9e0df 100644 --- a/awscli/examples/comprehend/create-flywheel.rst +++ b/awscli/examples/comprehend/create-flywheel.rst @@ -8,7 +8,7 @@ When the flywheel is created, a data lake is created at the ``--input-data-lake` --flywheel-name example-flywheel \ --active-model-arn arn:aws:comprehend:us-west-2:111122223333:document-classifier/example-model/version/1 \ --data-access-role-arn arn:aws:iam::111122223333:role/service-role/AmazonComprehendServiceRole-example-role \ - --data-lake-s3-uri "s3://DOC-EXAMPLE-BUCKET" + --data-lake-s3-uri "s3://amzn-s3-demo-bucket" Output:: diff --git a/awscli/examples/comprehend/describe-dataset.rst b/awscli/examples/comprehend/describe-dataset.rst index 678e51366947..bd779337c910 100644 --- a/awscli/examples/comprehend/describe-dataset.rst +++ b/awscli/examples/comprehend/describe-dataset.rst @@ -12,7 +12,7 @@ Output:: "DatasetArn": "arn:aws:comprehend:us-west-2:111122223333:flywheel/flywheel-entity/dataset/example-dataset", "DatasetName": "example-dataset", "DatasetType": "TRAIN", - "DatasetS3Uri": "s3://DOC-EXAMPLE-BUCKET/flywheel-entity/schemaVersion=1/12345678A123456Z/datasets/example-dataset/20230616T203710Z/", + "DatasetS3Uri": "s3://amzn-s3-demo-bucket/flywheel-entity/schemaVersion=1/12345678A123456Z/datasets/example-dataset/20230616T203710Z/", "Status": "CREATING", "CreationTime": "2023-06-16T20:37:10.400000+00:00" } diff --git a/awscli/examples/comprehend/describe-document-classification-job.rst b/awscli/examples/comprehend/describe-document-classification-job.rst index 6b013119775a..7c3d82ae15a2 100644 --- a/awscli/examples/comprehend/describe-document-classification-job.rst +++ b/awscli/examples/comprehend/describe-document-classification-job.rst @@ -17,11 +17,11 @@ Output:: "EndTime": "2023-06-14T17:15:58.582000+00:00", "DocumentClassifierArn": "arn:aws:comprehend:us-west-2:111122223333:document-classifier/mymodel/version/1", "InputDataConfig": { - "S3Uri": "s3://DOC-EXAMPLE-BUCKET/jobdata/", + "S3Uri": "s3://amzn-s3-demo-bucket/jobdata/", "InputFormat": "ONE_DOC_PER_LINE" }, "OutputDataConfig": { - "S3Uri": "s3://DOC-EXAMPLE-DESTINATION-BUCKET/testfolder/111122223333-CLN-123456abcdeb0e11022f22a11EXAMPLE/output/output.tar.gz" + "S3Uri": "s3://amzn-s3-demo-destination-bucket/testfolder/111122223333-CLN-123456abcdeb0e11022f22a11EXAMPLE/output/output.tar.gz" }, "DataAccessRoleArn": "arn:aws:iam::111122223333:role/service-role/AmazonComprehendServiceRole-servicerole" } diff --git a/awscli/examples/comprehend/describe-document-classifier.rst b/awscli/examples/comprehend/describe-document-classifier.rst index 751880b0bcc1..297cedc20b4e 100644 --- a/awscli/examples/comprehend/describe-document-classifier.rst +++ b/awscli/examples/comprehend/describe-document-classifier.rst @@ -18,7 +18,7 @@ Output:: "TrainingEndTime": "2023-06-13T19:41:35.080000+00:00", "InputDataConfig": { "DataFormat": "COMPREHEND_CSV", - "S3Uri": "s3://DOC-EXAMPLE-BUCKET/trainingdata" + "S3Uri": "s3://amzn-s3-demo-bucket/trainingdata" }, "OutputDataConfig": {}, "ClassifierMetadata": { diff --git a/awscli/examples/comprehend/describe-dominant-language-detection-job.rst b/awscli/examples/comprehend/describe-dominant-language-detection-job.rst index b1ad170ef6c7..ce09675508ce 100644 --- a/awscli/examples/comprehend/describe-dominant-language-detection-job.rst +++ b/awscli/examples/comprehend/describe-dominant-language-detection-job.rst @@ -15,11 +15,11 @@ Output:: "JobStatus": "IN_PROGRESS", "SubmitTime": "2023-06-09T18:10:38.037000+00:00", "InputDataConfig": { - "S3Uri": "s3://DOC-EXAMPLE-BUCKET", + "S3Uri": "s3://amzn-s3-demo-bucket", "InputFormat": "ONE_DOC_PER_LINE" }, "OutputDataConfig": { - "S3Uri": "s3://DOC-EXAMPLE-DESTINATION-BUCKET/testfolder/111122223333-LANGUAGE-123456abcdeb0e11022f22a11EXAMPLE/output/output.tar.gz" + "S3Uri": "s3://amzn-s3-demo-destination-bucket/testfolder/111122223333-LANGUAGE-123456abcdeb0e11022f22a11EXAMPLE/output/output.tar.gz" }, "DataAccessRoleArn": "arn:aws:iam::111122223333:role/service-role/AmazonComprehendServiceRole-example-role" } diff --git a/awscli/examples/comprehend/describe-entities-detection-job.rst b/awscli/examples/comprehend/describe-entities-detection-job.rst index 158c2c04ed91..4779df6122ed 100644 --- a/awscli/examples/comprehend/describe-entities-detection-job.rst +++ b/awscli/examples/comprehend/describe-entities-detection-job.rst @@ -16,11 +16,11 @@ Output:: "SubmitTime": "2023-06-08T21:30:15.323000+00:00", "EndTime": "2023-06-08T21:40:23.509000+00:00", "InputDataConfig": { - "S3Uri": "s3://DOC-EXAMPLE-BUCKET/AsyncBatchJobs/", + "S3Uri": "s3://amzn-s3-demo-bucket/AsyncBatchJobs/", "InputFormat": "ONE_DOC_PER_LINE" }, "OutputDataConfig": { - "S3Uri": "s3://DOC-EXAMPLE-BUCKET/thefolder/111122223333-NER-123456abcdeb0e11022f22a11EXAMPLE/output/output.tar.gz" + "S3Uri": "s3://amzn-s3-demo-bucket/thefolder/111122223333-NER-123456abcdeb0e11022f22a11EXAMPLE/output/output.tar.gz" }, "LanguageCode": "en", "DataAccessRoleArn": "arn:aws:iam::12345678012:role/service-role/AmazonComprehendServiceRole-example-role" diff --git a/awscli/examples/comprehend/describe-entity-recognizer.rst b/awscli/examples/comprehend/describe-entity-recognizer.rst index 3587ea3dcfde..b5620908cd1a 100644 --- a/awscli/examples/comprehend/describe-entity-recognizer.rst +++ b/awscli/examples/comprehend/describe-entity-recognizer.rst @@ -24,11 +24,11 @@ Output:: } ], "Documents": { - "S3Uri": "s3://DOC-EXAMPLE-BUCKET/trainingdata/dataset/", + "S3Uri": "s3://amzn-s3-demo-bucket/trainingdata/dataset/", "InputFormat": "ONE_DOC_PER_LINE" }, "EntityList": { - "S3Uri": "s3://DOC-EXAMPLE-BUCKET/trainingdata/entity.csv" + "S3Uri": "s3://amzn-s3-demo-bucket/trainingdata/entity.csv" } }, "RecognizerMetadata": { diff --git a/awscli/examples/comprehend/describe-events-detection-job.rst b/awscli/examples/comprehend/describe-events-detection-job.rst index 1cbc424a1c7d..9332d0afd37c 100644 --- a/awscli/examples/comprehend/describe-events-detection-job.rst +++ b/awscli/examples/comprehend/describe-events-detection-job.rst @@ -15,11 +15,11 @@ Output:: "JobStatus": "IN_PROGRESS", "SubmitTime": "2023-06-12T18:45:56.054000+00:00", "InputDataConfig": { - "S3Uri": "s3://DOC-EXAMPLE-BUCKET/EventsData", + "S3Uri": "s3://amzn-s3-demo-bucket/EventsData", "InputFormat": "ONE_DOC_PER_LINE" }, "OutputDataConfig": { - "S3Uri": "s3://DOC-EXAMPLE-DESTINATION-BUCKET/testfolder/111122223333-EVENTS-123456abcdeb0e11022f22a11EXAMPLE/output/" + "S3Uri": "s3://amzn-s3-demo-destination-bucket/testfolder/111122223333-EVENTS-123456abcdeb0e11022f22a11EXAMPLE/output/" }, "LanguageCode": "en", "DataAccessRoleArn": "arn:aws:iam::111122223333:role/service-role/AmazonComprehendServiceRole-example-role", diff --git a/awscli/examples/comprehend/describe-flywheel-iteration.rst b/awscli/examples/comprehend/describe-flywheel-iteration.rst index bc781ee7c290..33d9c9e6efcf 100644 --- a/awscli/examples/comprehend/describe-flywheel-iteration.rst +++ b/awscli/examples/comprehend/describe-flywheel-iteration.rst @@ -30,7 +30,7 @@ Output:: "AverageRecall": 0.9767700253081214, "AverageAccuracy": 0.9858281665190434 }, - "EvaluationManifestS3Prefix": "s3://DOC-EXAMPLE-DESTINATION-BUCKET/flywheel-entity/schemaVersion=1/20230616T200543Z/evaluation/20230616T211026Z/" + "EvaluationManifestS3Prefix": "s3://amzn-s3-demo-destination-bucket/flywheel-entity/schemaVersion=1/20230616T200543Z/evaluation/20230616T211026Z/" } } diff --git a/awscli/examples/comprehend/describe-flywheel.rst b/awscli/examples/comprehend/describe-flywheel.rst index ff19617b8b76..741dec57bacd 100644 --- a/awscli/examples/comprehend/describe-flywheel.rst +++ b/awscli/examples/comprehend/describe-flywheel.rst @@ -23,7 +23,7 @@ Output:: ] } }, - "DataLakeS3Uri": "s3://DOC-EXAMPLE-BUCKET/example-flywheel/schemaVersion=1/20230616T200543Z/", + "DataLakeS3Uri": "s3://amzn-s3-demo-bucket/example-flywheel/schemaVersion=1/20230616T200543Z/", "DataSecurityConfig": {}, "Status": "ACTIVE", "ModelType": "DOCUMENT_CLASSIFIER", diff --git a/awscli/examples/comprehend/describe-pii-entities-detection-job.rst b/awscli/examples/comprehend/describe-pii-entities-detection-job.rst index c7c18c6eb70d..cff63617aa49 100644 --- a/awscli/examples/comprehend/describe-pii-entities-detection-job.rst +++ b/awscli/examples/comprehend/describe-pii-entities-detection-job.rst @@ -16,11 +16,11 @@ Output:: "SubmitTime": "2023-06-08T21:30:15.323000+00:00", "EndTime": "2023-06-08T21:40:23.509000+00:00", "InputDataConfig": { - "S3Uri": "s3://DOC-EXAMPLE-BUCKET/AsyncBatchJobs/", + "S3Uri": "s3://amzn-s3-demo-bucket/AsyncBatchJobs/", "InputFormat": "ONE_DOC_PER_LINE" }, "OutputDataConfig": { - "S3Uri": "s3://DOC-EXAMPLE-BUCKET/thefolder/111122223333-NER-123456abcdeb0e11022f22a11EXAMPLE/output/output.tar.gz" + "S3Uri": "s3://amzn-s3-demo-bucket/thefolder/111122223333-NER-123456abcdeb0e11022f22a11EXAMPLE/output/output.tar.gz" }, "LanguageCode": "en", "DataAccessRoleArn": "arn:aws:iam::12345678012:role/service-role/AmazonComprehendServiceRole-example-role" diff --git a/awscli/examples/comprehend/describe-sentiment-detection-job.rst b/awscli/examples/comprehend/describe-sentiment-detection-job.rst index d172c5cd6697..c1c6204deccb 100644 --- a/awscli/examples/comprehend/describe-sentiment-detection-job.rst +++ b/awscli/examples/comprehend/describe-sentiment-detection-job.rst @@ -15,11 +15,11 @@ Output:: "JobStatus": "IN_PROGRESS", "SubmitTime": "2023-06-09T23:16:15.956000+00:00", "InputDataConfig": { - "S3Uri": "s3://DOC-EXAMPLE-BUCKET/MovieData", + "S3Uri": "s3://amzn-s3-demo-bucket/MovieData", "InputFormat": "ONE_DOC_PER_LINE" }, "OutputDataConfig": { - "S3Uri": "s3://DOC-EXAMPLE-DESTINATION-BUCKET/testfolder/111122223333-TS-123456abcdeb0e11022f22a11EXAMPLE/output/output.tar.gz" + "S3Uri": "s3://amzn-s3-demo-destination-bucket/testfolder/111122223333-TS-123456abcdeb0e11022f22a11EXAMPLE/output/output.tar.gz" }, "LanguageCode": "en", "DataAccessRoleArn": "arn:aws:iam::111122223333:role/service-role/AmazonComprehendServiceRole-servicerole" diff --git a/awscli/examples/comprehend/describe-targeted-sentiment-detection-job.rst b/awscli/examples/comprehend/describe-targeted-sentiment-detection-job.rst index e52a40bb949c..8c81f86226c4 100644 --- a/awscli/examples/comprehend/describe-targeted-sentiment-detection-job.rst +++ b/awscli/examples/comprehend/describe-targeted-sentiment-detection-job.rst @@ -15,11 +15,11 @@ Output:: "JobStatus": "IN_PROGRESS", "SubmitTime": "2023-06-09T23:16:15.956000+00:00", "InputDataConfig": { - "S3Uri": "s3://DOC-EXAMPLE-BUCKET/MovieData", + "S3Uri": "s3://amzn-s3-demo-bucket/MovieData", "InputFormat": "ONE_DOC_PER_LINE" }, "OutputDataConfig": { - "S3Uri": "s3://DOC-EXAMPLE-DESTINATION-BUCKET/testfolder/111122223333-TS-123456abcdeb0e11022f22a11EXAMPLE/output/output.tar.gz" + "S3Uri": "s3://amzn-s3-demo-destination-bucket/testfolder/111122223333-TS-123456abcdeb0e11022f22a11EXAMPLE/output/output.tar.gz" }, "LanguageCode": "en", "DataAccessRoleArn": "arn:aws:iam::111122223333:role/service-role/AmazonComprehendServiceRole-servicerole" diff --git a/awscli/examples/comprehend/describe-topics-detection-job.rst b/awscli/examples/comprehend/describe-topics-detection-job.rst index b90bb2d62418..3d8e2e1c8460 100644 --- a/awscli/examples/comprehend/describe-topics-detection-job.rst +++ b/awscli/examples/comprehend/describe-topics-detection-job.rst @@ -15,11 +15,11 @@ Output:: "JobStatus": "IN_PROGRESS", "SubmitTime": "2023-06-09T18:44:43.414000+00:00", "InputDataConfig": { - "S3Uri": "s3://DOC-EXAMPLE-BUCKET", + "S3Uri": "s3://amzn-s3-demo-bucket", "InputFormat": "ONE_DOC_PER_LINE" }, "OutputDataConfig": { - "S3Uri": "s3://DOC-EXAMPLE-DESTINATION-BUCKET/testfolder/111122223333-TOPICS-123456abcdeb0e11022f22a11EXAMPLE/output/output.tar.gz" + "S3Uri": "s3://amzn-s3-demo-destination-bucket/testfolder/111122223333-TOPICS-123456abcdeb0e11022f22a11EXAMPLE/output/output.tar.gz" }, "NumberOfTopics": 10, "DataAccessRoleArn": "arn:aws:iam::111122223333:role/service-role/AmazonComprehendServiceRole-examplerole" diff --git a/awscli/examples/comprehend/list-datasets.rst b/awscli/examples/comprehend/list-datasets.rst index 93db7462634d..b8d890e54667 100644 --- a/awscli/examples/comprehend/list-datasets.rst +++ b/awscli/examples/comprehend/list-datasets.rst @@ -13,7 +13,7 @@ Output:: "DatasetArn": "arn:aws:comprehend:us-west-2:111122223333:flywheel/flywheel-entity/dataset/example-dataset-1", "DatasetName": "example-dataset-1", "DatasetType": "TRAIN", - "DatasetS3Uri": "s3://DOC-EXAMPLE-BUCKET/flywheel-entity/schemaVersion=1/20230616T200543Z/datasets/example-dataset-1/20230616T203710Z/", + "DatasetS3Uri": "s3://amzn-s3-demo-bucket/flywheel-entity/schemaVersion=1/20230616T200543Z/datasets/example-dataset-1/20230616T203710Z/", "Status": "CREATING", "CreationTime": "2023-06-16T20:37:10.400000+00:00" }, @@ -21,7 +21,7 @@ Output:: "DatasetArn": "arn:aws:comprehend:us-west-2:111122223333:flywheel/flywheel-entity/dataset/example-dataset-2", "DatasetName": "example-dataset-2", "DatasetType": "TRAIN", - "DatasetS3Uri": "s3://DOC-EXAMPLE-BUCKET/flywheel-entity/schemaVersion=1/20230616T200543Z/datasets/example-dataset-2/20230616T200607Z/", + "DatasetS3Uri": "s3://amzn-s3-demo-bucket/flywheel-entity/schemaVersion=1/20230616T200543Z/datasets/example-dataset-2/20230616T200607Z/", "Description": "TRAIN Dataset created by Flywheel creation.", "Status": "COMPLETED", "NumberOfDocuments": 5572, diff --git a/awscli/examples/comprehend/list-document-classification-jobs.rst b/awscli/examples/comprehend/list-document-classification-jobs.rst index e48e0a3a4dc1..938cade03aee 100644 --- a/awscli/examples/comprehend/list-document-classification-jobs.rst +++ b/awscli/examples/comprehend/list-document-classification-jobs.rst @@ -17,11 +17,11 @@ Output:: "EndTime": "2023-06-14T17:15:58.582000+00:00", "DocumentClassifierArn": "arn:aws:comprehend:us-west-2:1234567890101:document-classifier/mymodel/version/12", "InputDataConfig": { - "S3Uri": "s3://DOC-EXAMPLE-BUCKET/jobdata/", + "S3Uri": "s3://amzn-s3-demo-bucket/jobdata/", "InputFormat": "ONE_DOC_PER_LINE" }, "OutputDataConfig": { - "S3Uri": "s3://DOC-EXAMPLE-DESTINATION-BUCKET/thefolder/1234567890101-CLN-e758dd56b824aa717ceab551f11749fb/output/output.tar.gz" + "S3Uri": "s3://amzn-s3-demo-destination-bucket/thefolder/1234567890101-CLN-e758dd56b824aa717ceab551f11749fb/output/output.tar.gz" }, "DataAccessRoleArn": "arn:aws:iam::1234567890101:role/service-role/AmazonComprehendServiceRole-example-role" }, @@ -34,11 +34,11 @@ Output:: "EndTime": "2023-06-14T17:28:46.107000+00:00", "DocumentClassifierArn": "arn:aws:comprehend:us-west-2:1234567890101:document-classifier/mymodel/version/12", "InputDataConfig": { - "S3Uri": "s3://DOC-EXAMPLE-BUCKET/jobdata/", + "S3Uri": "s3://amzn-s3-demo-bucket/jobdata/", "InputFormat": "ONE_DOC_PER_LINE" }, "OutputDataConfig": { - "S3Uri": "s3://DOC-EXAMPLE-DESTINATION-BUCKET/thefolder/1234567890101-CLN-123456abcdeb0e11022f22a1EXAMPLE2/output/output.tar.gz" + "S3Uri": "s3://amzn-s3-demo-destination-bucket/thefolder/1234567890101-CLN-123456abcdeb0e11022f22a1EXAMPLE2/output/output.tar.gz" }, "DataAccessRoleArn": "arn:aws:iam::1234567890101:role/service-role/AmazonComprehendServiceRole-example-role" } diff --git a/awscli/examples/comprehend/list-document-classifiers.rst b/awscli/examples/comprehend/list-document-classifiers.rst index 4b4c379b152b..0c4e57b0cb50 100644 --- a/awscli/examples/comprehend/list-document-classifiers.rst +++ b/awscli/examples/comprehend/list-document-classifiers.rst @@ -18,7 +18,7 @@ Output:: "TrainingEndTime": "2023-06-13T19:41:35.080000+00:00", "InputDataConfig": { "DataFormat": "COMPREHEND_CSV", - "S3Uri": "s3://DOC-EXAMPLE-BUCKET/trainingdata" + "S3Uri": "s3://amzn-s3-demo-bucket/trainingdata" }, "OutputDataConfig": {}, "ClassifierMetadata": { @@ -46,7 +46,7 @@ Output:: "SubmitTime": "2023-06-13T21:20:28.690000+00:00", "InputDataConfig": { "DataFormat": "COMPREHEND_CSV", - "S3Uri": "s3://DOC-EXAMPLE-BUCKET/trainingdata" + "S3Uri": "s3://amzn-s3-demo-bucket/trainingdata" }, "OutputDataConfig": {}, "DataAccessRoleArn": "arn:aws:iam::111122223333:role/service-role/AmazonComprehendServiceRole-testorle", diff --git a/awscli/examples/comprehend/list-dominant-language-detection-jobs.rst b/awscli/examples/comprehend/list-dominant-language-detection-jobs.rst index 4e3e8e6192b8..dd1a3e1da536 100644 --- a/awscli/examples/comprehend/list-dominant-language-detection-jobs.rst +++ b/awscli/examples/comprehend/list-dominant-language-detection-jobs.rst @@ -16,11 +16,11 @@ Output:: "SubmitTime": "2023-06-09T18:10:38.037000+00:00", "EndTime": "2023-06-09T18:18:45.498000+00:00", "InputDataConfig": { - "S3Uri": "s3://DOC-EXAMPLE-BUCKET", + "S3Uri": "s3://amzn-s3-demo-bucket", "InputFormat": "ONE_DOC_PER_LINE" }, "OutputDataConfig": { - "S3Uri": "s3://DOC-EXAMPLE-DESTINATION-BUCKET/testfolder/111122223333-LANGUAGE-123456abcdeb0e11022f22a11EXAMPLE/output/output.tar.gz" + "S3Uri": "s3://amzn-s3-demo-destination-bucket/testfolder/111122223333-LANGUAGE-123456abcdeb0e11022f22a11EXAMPLE/output/output.tar.gz" }, "DataAccessRoleArn": "arn:aws:iam::111122223333:role/service-role/AmazonComprehendServiceRole-example-role" }, @@ -32,11 +32,11 @@ Output:: "SubmitTime": "2023-06-09T18:16:33.690000+00:00", "EndTime": "2023-06-09T18:24:40.608000+00:00", "InputDataConfig": { - "S3Uri": "s3://DOC-EXAMPLE-BUCKET", + "S3Uri": "s3://amzn-s3-demo-bucket", "InputFormat": "ONE_DOC_PER_LINE" }, "OutputDataConfig": { - "S3Uri": "s3://DOC-EXAMPLE-DESTINATION-BUCKET/testfolder/111122223333-LANGUAGE-123456abcdeb0e11022f22a11EXAMPLE/output/output.tar.gz" + "S3Uri": "s3://amzn-s3-demo-destination-bucket/testfolder/111122223333-LANGUAGE-123456abcdeb0e11022f22a11EXAMPLE/output/output.tar.gz" }, "DataAccessRoleArn": "arn:aws:iam::111122223333:role/service-role/AmazonComprehendServiceRole-example-role" } diff --git a/awscli/examples/comprehend/list-entities-detection-jobs.rst b/awscli/examples/comprehend/list-entities-detection-jobs.rst index d1aa8fd0e13e..5640bcee8e77 100644 --- a/awscli/examples/comprehend/list-entities-detection-jobs.rst +++ b/awscli/examples/comprehend/list-entities-detection-jobs.rst @@ -16,11 +16,11 @@ Output:: "SubmitTime": "2023-06-08T20:57:46.476000+00:00", "EndTime": "2023-06-08T21:05:53.718000+00:00", "InputDataConfig": { - "S3Uri": "s3://DOC-EXAMPLE-BUCKET/AsyncBatchJobs/", + "S3Uri": "s3://amzn-s3-demo-bucket/AsyncBatchJobs/", "InputFormat": "ONE_DOC_PER_LINE" }, "OutputDataConfig": { - "S3Uri": "s3://DOC-EXAMPLE-DESTINATION-BUCKET/thefolder/111122223333-NER-468af39c28ab45b83eb0c4ab9EXAMPLE/output/output.tar.gz" + "S3Uri": "s3://amzn-s3-demo-destination-bucket/thefolder/111122223333-NER-468af39c28ab45b83eb0c4ab9EXAMPLE/output/output.tar.gz" }, "LanguageCode": "en", "DataAccessRoleArn": "arn:aws:iam::111122223333:role/service-role/AmazonComprehendServiceRole-example-role" @@ -33,11 +33,11 @@ Output:: "SubmitTime": "2023-06-08T21:30:15.323000+00:00", "EndTime": "2023-06-08T21:40:23.509000+00:00", "InputDataConfig": { - "S3Uri": "s3://DOC-EXAMPLE-BUCKET/AsyncBatchJobs/", + "S3Uri": "s3://amzn-s3-demo-bucket/AsyncBatchJobs/", "InputFormat": "ONE_DOC_PER_LINE" }, "OutputDataConfig": { - "S3Uri": "s3://DOC-EXAMPLE-DESTINATION-BUCKET/thefolder/111122223333-NER-809691caeaab0e71406f80a28EXAMPLE/output/output.tar.gz" + "S3Uri": "s3://amzn-s3-demo-destination-bucket/thefolder/111122223333-NER-809691caeaab0e71406f80a28EXAMPLE/output/output.tar.gz" }, "LanguageCode": "en", "DataAccessRoleArn": "arn:aws:iam::111122223333:role/service-role/AmazonComprehendServiceRole-example-role" @@ -50,11 +50,11 @@ Output:: "SubmitTime": "2023-06-08T22:19:28.528000+00:00", "EndTime": "2023-06-08T22:27:33.991000+00:00", "InputDataConfig": { - "S3Uri": "s3://DOC-EXAMPLE-BUCKET/AsyncBatchJobs/", + "S3Uri": "s3://amzn-s3-demo-bucket/AsyncBatchJobs/", "InputFormat": "ONE_DOC_PER_LINE" }, "OutputDataConfig": { - "S3Uri": "s3://DOC-EXAMPLE-DESTINATION-BUCKET/thefolder/111122223333-NER-e00597c36b448b91d70dea165EXAMPLE/output/output.tar.gz" + "S3Uri": "s3://amzn-s3-demo-destination-bucket/thefolder/111122223333-NER-e00597c36b448b91d70dea165EXAMPLE/output/output.tar.gz" }, "LanguageCode": "en", "DataAccessRoleArn": "arn:aws:iam::111122223333:role/service-role/AmazonComprehendServiceRole-example-role" diff --git a/awscli/examples/comprehend/list-entity-recognizers.rst b/awscli/examples/comprehend/list-entity-recognizers.rst index 86c637a99540..048128354617 100644 --- a/awscli/examples/comprehend/list-entity-recognizers.rst +++ b/awscli/examples/comprehend/list-entity-recognizers.rst @@ -24,11 +24,11 @@ Output:: } ], "Documents": { - "S3Uri": "s3://DOC-EXAMPLE-BUCKET/trainingdata/dataset/", + "S3Uri": "s3://amzn-s3-demo-bucket/trainingdata/dataset/", "InputFormat": "ONE_DOC_PER_LINE" }, "EntityList": { - "S3Uri": "s3://DOC-EXAMPLE-BUCKET/trainingdata/entity.csv" + "S3Uri": "s3://amzn-s3-demo-bucket/trainingdata/entity.csv" } }, "RecognizerMetadata": { @@ -70,11 +70,11 @@ Output:: } ], "Documents": { - "S3Uri": "s3://DOC-EXAMPLE-BUCKET/trainingdata/raw_txt.csv", + "S3Uri": "s3://amzn-s3-demo-bucket/trainingdata/raw_txt.csv", "InputFormat": "ONE_DOC_PER_LINE" }, "EntityList": { - "S3Uri": "s3://DOC-EXAMPLE-BUCKET/trainingdata/entity_list.csv" + "S3Uri": "s3://amzn-s3-demo-bucket/trainingdata/entity_list.csv" } }, "RecognizerMetadata": { diff --git a/awscli/examples/comprehend/list-events-detection-jobs.rst b/awscli/examples/comprehend/list-events-detection-jobs.rst index 15912f3bb1d5..41218860b70f 100644 --- a/awscli/examples/comprehend/list-events-detection-jobs.rst +++ b/awscli/examples/comprehend/list-events-detection-jobs.rst @@ -16,11 +16,11 @@ Output:: "SubmitTime": "2023-06-12T19:14:57.751000+00:00", "EndTime": "2023-06-12T19:21:04.962000+00:00", "InputDataConfig": { - "S3Uri": "s3://DOC-EXAMPLE-SOURCE-BUCKET/EventsData/", + "S3Uri": "s3://amzn-s3-demo-source-bucket/EventsData/", "InputFormat": "ONE_DOC_PER_LINE" }, "OutputDataConfig": { - "S3Uri": "s3://DOC-EXAMPLE-DESTINATION-BUCKET/testfolder/1111222233333-EVENTS-aa9593f9203e84f3ef032ce18EXAMPLE/output/" + "S3Uri": "s3://amzn-s3-demo-destination-bucket/testfolder/1111222233333-EVENTS-aa9593f9203e84f3ef032ce18EXAMPLE/output/" }, "LanguageCode": "en", "DataAccessRoleArn": "arn:aws:iam::1111222233333:role/service-role/AmazonComprehendServiceRole-example-role", @@ -40,11 +40,11 @@ Output:: "SubmitTime": "2023-06-12T19:55:43.702000+00:00", "EndTime": "2023-06-12T20:03:49.893000+00:00", "InputDataConfig": { - "S3Uri": "s3://DOC-EXAMPLE-SOURCE-BUCKET/EventsData/", + "S3Uri": "s3://amzn-s3-demo-source-bucket/EventsData/", "InputFormat": "ONE_DOC_PER_LINE" }, "OutputDataConfig": { - "S3Uri": "s3://DOC-EXAMPLE-DESTINATION-BUCKET/testfolder/1111222233333-EVENTS-4a990a2f7e82adfca6e171135EXAMPLE/output/" + "S3Uri": "s3://amzn-s3-demo-destination-bucket/testfolder/1111222233333-EVENTS-4a990a2f7e82adfca6e171135EXAMPLE/output/" }, "LanguageCode": "en", "DataAccessRoleArn": "arn:aws:iam::1111222233333:role/service-role/AmazonComprehendServiceRole-example-role", diff --git a/awscli/examples/comprehend/list-flywheel-iteration-history.rst b/awscli/examples/comprehend/list-flywheel-iteration-history.rst index 00ef07684fc6..778edeed4ab6 100644 --- a/awscli/examples/comprehend/list-flywheel-iteration-history.rst +++ b/awscli/examples/comprehend/list-flywheel-iteration-history.rst @@ -24,7 +24,7 @@ Output:: "AverageRecall": 0.9445600253081214, "AverageAccuracy": 0.9997281665190434 }, - "EvaluationManifestS3Prefix": "s3://DOC-EXAMPLE-BUCKET/example-flywheel/schemaVersion=1/20230619TEXAMPLE/evaluation/20230619TEXAMPLE/" + "EvaluationManifestS3Prefix": "s3://amzn-s3-demo-bucket/example-flywheel/schemaVersion=1/20230619TEXAMPLE/evaluation/20230619TEXAMPLE/" }, { "FlywheelArn": "arn:aws:comprehend:us-west-2:111122223333:flywheel/example-flywheel-2", @@ -41,7 +41,7 @@ Output:: "AverageRecall": 0.9767700253081214, "AverageAccuracy": 0.9858281665190434 }, - "EvaluationManifestS3Prefix": "s3://DOC-EXAMPLE-BUCKET/example-flywheel-2/schemaVersion=1/20230616TEXAMPLE/evaluation/20230616TEXAMPLE/" + "EvaluationManifestS3Prefix": "s3://amzn-s3-demo-bucket/example-flywheel-2/schemaVersion=1/20230616TEXAMPLE/evaluation/20230616TEXAMPLE/" } ] } diff --git a/awscli/examples/comprehend/list-flywheels.rst b/awscli/examples/comprehend/list-flywheels.rst index 0897a595ebb6..5ec6316419f5 100644 --- a/awscli/examples/comprehend/list-flywheels.rst +++ b/awscli/examples/comprehend/list-flywheels.rst @@ -11,7 +11,7 @@ Output:: { "FlywheelArn": "arn:aws:comprehend:us-west-2:111122223333:flywheel/example-flywheel-1", "ActiveModelArn": "arn:aws:comprehend:us-west-2:111122223333:document-classifier/exampleclassifier/version/1", - "DataLakeS3Uri": "s3://DOC-EXAMPLE-BUCKET/example-flywheel-1/schemaVersion=1/20230616T200543Z/", + "DataLakeS3Uri": "s3://amzn-s3-demo-bucket/example-flywheel-1/schemaVersion=1/20230616T200543Z/", "Status": "ACTIVE", "ModelType": "DOCUMENT_CLASSIFIER", "CreationTime": "2023-06-16T20:05:43.242000+00:00", @@ -21,7 +21,7 @@ Output:: { "FlywheelArn": "arn:aws:comprehend:us-west-2:111122223333:flywheel/example-flywheel-2", "ActiveModelArn": "arn:aws:comprehend:us-west-2:111122223333:document-classifier/exampleclassifier2/version/1", - "DataLakeS3Uri": "s3://DOC-EXAMPLE-BUCKET/example-flywheel-2/schemaVersion=1/20220616T200543Z/", + "DataLakeS3Uri": "s3://amzn-s3-demo-bucket/example-flywheel-2/schemaVersion=1/20220616T200543Z/", "Status": "ACTIVE", "ModelType": "DOCUMENT_CLASSIFIER", "CreationTime": "2022-06-16T20:05:43.242000+00:00", diff --git a/awscli/examples/comprehend/list-key-phrases-detection-jobs.rst b/awscli/examples/comprehend/list-key-phrases-detection-jobs.rst index f26b292fbe48..8a5d4bbbedce 100644 --- a/awscli/examples/comprehend/list-key-phrases-detection-jobs.rst +++ b/awscli/examples/comprehend/list-key-phrases-detection-jobs.rst @@ -16,11 +16,11 @@ Output:: "SubmitTime": "2023-06-08T22:31:43.767000+00:00", "EndTime": "2023-06-08T22:39:52.565000+00:00", "InputDataConfig": { - "S3Uri": "s3://DOC-EXAMPLE-SOURCE-BUCKET/AsyncBatchJobs/", + "S3Uri": "s3://amzn-s3-demo-source-bucket/AsyncBatchJobs/", "InputFormat": "ONE_DOC_PER_LINE" }, "OutputDataConfig": { - "S3Uri": "s3://DOC-EXAMPLE-DESTINATION-BUCKET/testfolder/111122223333-KP-123456abcdeb0e11022f22a11EXAMPLE/output/output.tar.gz" + "S3Uri": "s3://amzn-s3-demo-destination-bucket/testfolder/111122223333-KP-123456abcdeb0e11022f22a11EXAMPLE/output/output.tar.gz" }, "LanguageCode": "en", "DataAccessRoleArn": "arn:aws:iam::111122223333:role/service-role/AmazonComprehendServiceRole-example-role" @@ -33,11 +33,11 @@ Output:: "SubmitTime": "2023-06-08T22:57:52.154000+00:00", "EndTime": "2023-06-08T23:05:48.385000+00:00", "InputDataConfig": { - "S3Uri": "s3://DOC-EXAMPLE-BUCKET/AsyncBatchJobs/", + "S3Uri": "s3://amzn-s3-demo-bucket/AsyncBatchJobs/", "InputFormat": "ONE_DOC_PER_LINE" }, "OutputDataConfig": { - "S3Uri": "s3://DOC-EXAMPLE-DESTINATION-BUCKET/testfolder/111122223333-KP-123456abcdeb0e11022f22a33EXAMPLE/output/output.tar.gz" + "S3Uri": "s3://amzn-s3-demo-destination-bucket/testfolder/111122223333-KP-123456abcdeb0e11022f22a33EXAMPLE/output/output.tar.gz" }, "LanguageCode": "en", "DataAccessRoleArn": "arn:aws:iam::111122223333:role/service-role/AmazonComprehendServiceRole-example-role" @@ -51,11 +51,11 @@ Output:: "SubmitTime": "2023-06-09T16:47:04.029000+00:00", "EndTime": "2023-06-09T16:47:18.413000+00:00", "InputDataConfig": { - "S3Uri": "s3://DOC-EXAMPLE-BUCKET", + "S3Uri": "s3://amzn-s3-demo-bucket", "InputFormat": "ONE_DOC_PER_LINE" }, "OutputDataConfig": { - "S3Uri": "s3://DOC-EXAMPLE-DESTINATION-BUCKET/testfolder/111122223333-KP-123456abcdeb0e11022f22a44EXAMPLE/output/output.tar.gz" + "S3Uri": "s3://amzn-s3-demo-destination-bucket/testfolder/111122223333-KP-123456abcdeb0e11022f22a44EXAMPLE/output/output.tar.gz" }, "LanguageCode": "en", "DataAccessRoleArn": "arn:aws:iam::111122223333:role/service-role/AmazonComprehendServiceRole-example-role" diff --git a/awscli/examples/comprehend/list-pii-entities-detection-jobs.rst b/awscli/examples/comprehend/list-pii-entities-detection-jobs.rst index 2523e1f20514..cb33a363de64 100644 --- a/awscli/examples/comprehend/list-pii-entities-detection-jobs.rst +++ b/awscli/examples/comprehend/list-pii-entities-detection-jobs.rst @@ -16,11 +16,11 @@ Output:: "SubmitTime": "2023-06-09T21:02:46.241000+00:00", "EndTime": "2023-06-09T21:12:52.602000+00:00", "InputDataConfig": { - "S3Uri": "s3://DOC-EXAMPLE-BUCKET/AsyncBatchJobs/", + "S3Uri": "s3://amzn-s3-demo-bucket/AsyncBatchJobs/", "InputFormat": "ONE_DOC_PER_LINE" }, "OutputDataConfig": { - "S3Uri": "s3://DOC-EXAMPLE-SOURCE-BUCKET/111122223333-PII-6f9db0c42d0c810e814670ee4EXAMPLE/output/" + "S3Uri": "s3://amzn-s3-demo-source-bucket/111122223333-PII-6f9db0c42d0c810e814670ee4EXAMPLE/output/" }, "LanguageCode": "en", "DataAccessRoleArn": "arn:aws:iam::111122223333:role/service-role/AmazonComprehendServiceRole-example-role", @@ -34,11 +34,11 @@ Output:: "SubmitTime": "2023-06-09T21:20:58.211000+00:00", "EndTime": "2023-06-09T21:31:06.027000+00:00", "InputDataConfig": { - "S3Uri": "s3://DOC-EXAMPLE-BUCKET/AsyncBatchJobs/", + "S3Uri": "s3://amzn-s3-demo-bucket/AsyncBatchJobs/", "InputFormat": "ONE_DOC_PER_LINE" }, "OutputDataConfig": { - "S3Uri": "s3://DOC-EXAMPLE-DESTINATION-BUCKET/thefolder/111122223333-PII-d927562638cfa739331a99b3cEXAMPLE/output/" + "S3Uri": "s3://amzn-s3-demo-destination-bucket/thefolder/111122223333-PII-d927562638cfa739331a99b3cEXAMPLE/output/" }, "LanguageCode": "en", "DataAccessRoleArn": "arn:aws:iam::111122223333:role/service-role/AmazonComprehendServiceRole-example-role", diff --git a/awscli/examples/comprehend/list-sentiment-detection-jobs.rst b/awscli/examples/comprehend/list-sentiment-detection-jobs.rst index 39a5485ad09b..86582bd80ce3 100644 --- a/awscli/examples/comprehend/list-sentiment-detection-jobs.rst +++ b/awscli/examples/comprehend/list-sentiment-detection-jobs.rst @@ -16,11 +16,11 @@ Output:: "SubmitTime": "2023-06-09T22:42:20.545000+00:00", "EndTime": "2023-06-09T22:52:27.416000+00:00", "InputDataConfig": { - "S3Uri": "s3://DOC-EXAMPLE-BUCKET/MovieData", + "S3Uri": "s3://amzn-s3-demo-bucket/MovieData", "InputFormat": "ONE_DOC_PER_LINE" }, "OutputDataConfig": { - "S3Uri": "s3://DOC-EXAMPLE-DESTINATION-BUCKET/testfolder/111122223333-TS-123456abcdeb0e11022f22a11EXAMPLE/output/output.tar.gz" + "S3Uri": "s3://amzn-s3-demo-destination-bucket/testfolder/111122223333-TS-123456abcdeb0e11022f22a11EXAMPLE/output/output.tar.gz" }, "LanguageCode": "en", "DataAccessRoleArn": "arn:aws:iam::111122223333:role/service-role/AmazonComprehendServiceRole-example-role" @@ -33,11 +33,11 @@ Output:: "SubmitTime": "2023-06-09T23:16:15.956000+00:00", "EndTime": "2023-06-09T23:26:00.168000+00:00", "InputDataConfig": { - "S3Uri": "s3://DOC-EXAMPLE-BUCKET/MovieData2", + "S3Uri": "s3://amzn-s3-demo-bucket/MovieData2", "InputFormat": "ONE_DOC_PER_LINE" }, "OutputDataConfig": { - "S3Uri": "s3://DOC-EXAMPLE-DESTINATION-BUCKET/testfolder/111122223333-TS-123456abcdeb0e11022f22a1EXAMPLE2/output/output.tar.gz" + "S3Uri": "s3://amzn-s3-demo-destination-bucket/testfolder/111122223333-TS-123456abcdeb0e11022f22a1EXAMPLE2/output/output.tar.gz" }, "LanguageCode": "en", "DataAccessRoleArn": "arn:aws:iam::111122223333:role/service-role/AmazonComprehendServiceRole-example-role" diff --git a/awscli/examples/comprehend/list-targeted-sentiment-detection-jobs.rst b/awscli/examples/comprehend/list-targeted-sentiment-detection-jobs.rst index ead426d2068d..ccea82e23989 100644 --- a/awscli/examples/comprehend/list-targeted-sentiment-detection-jobs.rst +++ b/awscli/examples/comprehend/list-targeted-sentiment-detection-jobs.rst @@ -16,11 +16,11 @@ Output:: "SubmitTime": "2023-06-09T22:42:20.545000+00:00", "EndTime": "2023-06-09T22:52:27.416000+00:00", "InputDataConfig": { - "S3Uri": "s3://DOC-EXAMPLE-BUCKET/MovieData", + "S3Uri": "s3://amzn-s3-demo-bucket/MovieData", "InputFormat": "ONE_DOC_PER_LINE" }, "OutputDataConfig": { - "S3Uri": "s3://DOC-EXAMPLE-DESTINATION-BUCKET/testfolder/111122223333-TS-123456abcdeb0e11022f22a11EXAMPLE/output/output.tar.gz" + "S3Uri": "s3://amzn-s3-demo-destination-bucket/testfolder/111122223333-TS-123456abcdeb0e11022f22a11EXAMPLE/output/output.tar.gz" }, "LanguageCode": "en", "DataAccessRoleArn": "arn:aws:iam::111122223333:role/service-role/AmazonComprehendServiceRole-IOrole" @@ -33,11 +33,11 @@ Output:: "SubmitTime": "2023-06-09T23:16:15.956000+00:00", "EndTime": "2023-06-09T23:26:00.168000+00:00", "InputDataConfig": { - "S3Uri": "s3://DOC-EXAMPLE-BUCKET/MovieData2", + "S3Uri": "s3://amzn-s3-demo-bucket/MovieData2", "InputFormat": "ONE_DOC_PER_LINE" }, "OutputDataConfig": { - "S3Uri": "s3://DOC-EXAMPLE-DESTINATION-BUCKET/testfolder/111122223333-TS-123456abcdeb0e11022f22a1EXAMPLE2/output/output.tar.gz" + "S3Uri": "s3://amzn-s3-demo-destination-bucket/testfolder/111122223333-TS-123456abcdeb0e11022f22a1EXAMPLE2/output/output.tar.gz" }, "LanguageCode": "en", "DataAccessRoleArn": "arn:aws:iam::111122223333:role/service-role/AmazonComprehendServiceRole-example-role" diff --git a/awscli/examples/comprehend/list-topics-detection-jobs.rst b/awscli/examples/comprehend/list-topics-detection-jobs.rst index d0c86a8ac860..2353245067d6 100644 --- a/awscli/examples/comprehend/list-topics-detection-jobs.rst +++ b/awscli/examples/comprehend/list-topics-detection-jobs.rst @@ -16,11 +16,11 @@ Output:: "SubmitTime": "2023-06-09T18:40:35.384000+00:00", "EndTime": "2023-06-09T18:46:41.936000+00:00", "InputDataConfig": { - "S3Uri": "s3://DOC-EXAMPLE-BUCKET", + "S3Uri": "s3://amzn-s3-demo-bucket", "InputFormat": "ONE_DOC_PER_LINE" }, "OutputDataConfig": { - "S3Uri": "s3://DOC-EXAMPLE-DESTINATION-BUCKET/thefolder/111122223333-TOPICS-123456abcdeb0e11022f22a11EXAMPLE/output/output.tar.gz" + "S3Uri": "s3://amzn-s3-demo-destination-bucket/thefolder/111122223333-TOPICS-123456abcdeb0e11022f22a11EXAMPLE/output/output.tar.gz" }, "NumberOfTopics": 10, "DataAccessRoleArn": "arn:aws:iam::111122223333:role/service-role/AmazonComprehendServiceRole-example-role" @@ -33,11 +33,11 @@ Output:: "SubmitTime": "2023-06-09T18:44:43.414000+00:00", "EndTime": "2023-06-09T18:50:50.872000+00:00", "InputDataConfig": { - "S3Uri": "s3://DOC-EXAMPLE-BUCKET", + "S3Uri": "s3://amzn-s3-demo-bucket", "InputFormat": "ONE_DOC_PER_LINE" }, "OutputDataConfig": { - "S3Uri": "s3://DOC-EXAMPLE-DESTINATION-BUCKET/thefolder/111122223333-TOPICS-123456abcdeb0e11022f22a1EXAMPLE2/output/output.tar.gz" + "S3Uri": "s3://amzn-s3-demo-destination-bucket/thefolder/111122223333-TOPICS-123456abcdeb0e11022f22a1EXAMPLE2/output/output.tar.gz" }, "NumberOfTopics": 10, "DataAccessRoleArn": "arn:aws:iam::111122223333:role/service-role/AmazonComprehendServiceRole-example-role" @@ -49,11 +49,11 @@ Output:: "JobStatus": "IN_PROGRESS", "SubmitTime": "2023-06-09T18:50:56.737000+00:00", "InputDataConfig": { - "S3Uri": "s3://DOC-EXAMPLE-BUCKET", + "S3Uri": "s3://amzn-s3-demo-bucket", "InputFormat": "ONE_DOC_PER_LINE" }, "OutputDataConfig": { - "S3Uri": "s3://DOC-EXAMPLE-DESTINATION-BUCKET/thefolder/111122223333-TOPICS-123456abcdeb0e11022f22a1EXAMPLE3/output/output.tar.gz" + "S3Uri": "s3://amzn-s3-demo-destination-bucket/thefolder/111122223333-TOPICS-123456abcdeb0e11022f22a1EXAMPLE3/output/output.tar.gz" }, "NumberOfTopics": 10, "DataAccessRoleArn": "arn:aws:iam::111122223333:role/service-role/AmazonComprehendServiceRole-example-role" diff --git a/awscli/examples/comprehend/start-document-classification-job.rst b/awscli/examples/comprehend/start-document-classification-job.rst index a603702b085c..5cda73bbbefb 100644 --- a/awscli/examples/comprehend/start-document-classification-job.rst +++ b/awscli/examples/comprehend/start-document-classification-job.rst @@ -7,8 +7,8 @@ which lists the classification of each document. The Json output is printed on o aws comprehend start-document-classification-job \ --job-name exampleclassificationjob \ - --input-data-config "S3Uri=s3://DOC-EXAMPLE-BUCKET-INPUT/jobdata/" \ - --output-data-config "S3Uri=s3://DOC-EXAMPLE-DESTINATION-BUCKET/testfolder/" \ + --input-data-config "S3Uri=s3://amzn-s3-demo-bucket-INPUT/jobdata/" \ + --output-data-config "S3Uri=s3://amzn-s3-demo-destination-bucket/testfolder/" \ --data-access-role-arn arn:aws:iam::111122223333:role/service-role/AmazonComprehendServiceRole-example-role \ --document-classifier-arn arn:aws:comprehend:us-west-2:111122223333:document-classifier/mymodel/version/12 diff --git a/awscli/examples/comprehend/start-dominant-language-detection-job.rst b/awscli/examples/comprehend/start-dominant-language-detection-job.rst index cab73ff1208b..6ac5f7520924 100644 --- a/awscli/examples/comprehend/start-dominant-language-detection-job.rst +++ b/awscli/examples/comprehend/start-dominant-language-detection-job.rst @@ -8,8 +8,8 @@ which contains the dominant language of each of the text files as well as the pr aws comprehend start-dominant-language-detection-job \ --job-name example_language_analysis_job \ --language-code en \ - --input-data-config "S3Uri=s3://DOC-EXAMPLE-BUCKET/" \ - --output-data-config "S3Uri=s3://DOC-EXAMPLE-DESTINATION-BUCKET/testfolder/" \ + --input-data-config "S3Uri=s3://amzn-s3-demo-bucket/" \ + --output-data-config "S3Uri=s3://amzn-s3-demo-destination-bucket/testfolder/" \ --data-access-role-arn arn:aws:iam::111122223333:role/service-role/AmazonComprehendServiceRole-example-role \ --language-code en diff --git a/awscli/examples/comprehend/start-entities-detection-job.rst b/awscli/examples/comprehend/start-entities-detection-job.rst index 08065c6dbf00..5b7ee142e2a1 100644 --- a/awscli/examples/comprehend/start-entities-detection-job.rst +++ b/awscli/examples/comprehend/start-entities-detection-job.rst @@ -9,8 +9,8 @@ The Json output is printed on one line per input file, but is formatted here for aws comprehend start-entities-detection-job \ --job-name entitiestest \ --language-code en \ - --input-data-config "S3Uri=s3://DOC-EXAMPLE-BUCKET/" \ - --output-data-config "S3Uri=s3://DOC-EXAMPLE-DESTINATION-BUCKET/testfolder/" \ + --input-data-config "S3Uri=s3://amzn-s3-demo-bucket/" \ + --output-data-config "S3Uri=s3://amzn-s3-demo-destination-bucket/testfolder/" \ --data-access-role-arn arn:aws:iam::111122223333:role/service-role/AmazonComprehendServiceRole-example-role \ --language-code en @@ -174,8 +174,8 @@ The entity recognizer model was trained on customer support Feedbacks to recogni --job-name customentitiestest \ --entity-recognizer-arn "arn:aws:comprehend:us-west-2:111122223333:entity-recognizer/entityrecognizer" \ --language-code en \ - --input-data-config "S3Uri=s3://DOC-EXAMPLE-BUCKET/jobdata/" \ - --output-data-config "S3Uri=s3://DOC-EXAMPLE-DESTINATION-BUCKET/testfolder/" \ + --input-data-config "S3Uri=s3://amzn-s3-demo-bucket/jobdata/" \ + --output-data-config "S3Uri=s3://amzn-s3-demo-destination-bucket/testfolder/" \ --data-access-role-arn "arn:aws:iam::111122223333:role/service-role/AmazonComprehendServiceRole-IOrole" Contents of ``SampleFeedback1.txt``:: diff --git a/awscli/examples/comprehend/start-events-detection-job.rst b/awscli/examples/comprehend/start-events-detection-job.rst index 84681c9459e1..572ff52a7816 100644 --- a/awscli/examples/comprehend/start-events-detection-job.rst +++ b/awscli/examples/comprehend/start-events-detection-job.rst @@ -8,8 +8,8 @@ When the job is complete, the folder, ``output``, is placed in the location spec aws comprehend start-events-detection-job \ --job-name events-detection-1 \ - --input-data-config "S3Uri=s3://DOC-EXAMPLE-BUCKET/EventsData" \ - --output-data-config "S3Uri=s3://DOC-EXAMPLE-DESTINATION-BUCKET/testfolder/" \ + --input-data-config "S3Uri=s3://amzn-s3-demo-bucket/EventsData" \ + --output-data-config "S3Uri=s3://amzn-s3-demo-destination-bucket/testfolder/" \ --data-access-role-arn arn:aws:iam::111122223333:role/service-role/AmazonComprehendServiceRole-servicerole \ --language-code en \ --target-event-types "BANKRUPTCY" "EMPLOYMENT" "CORPORATE_ACQUISITION" "CORPORATE_MERGER" "INVESTMENT_GENERAL" diff --git a/awscli/examples/comprehend/start-key-phrases-detection-job.rst b/awscli/examples/comprehend/start-key-phrases-detection-job.rst index 9689a8cdf645..07b3acbc0072 100644 --- a/awscli/examples/comprehend/start-key-phrases-detection-job.rst +++ b/awscli/examples/comprehend/start-key-phrases-detection-job.rst @@ -9,8 +9,8 @@ The Json output is printed on one line per file, but is formatted here for reada aws comprehend start-key-phrases-detection-job \ --job-name keyphrasesanalysistest1 \ --language-code en \ - --input-data-config "S3Uri=s3://DOC-EXAMPLE-BUCKET/" \ - --output-data-config "S3Uri=s3://DOC-EXAMPLE-DESTINATION-BUCKET/testfolder/" \ + --input-data-config "S3Uri=s3://amzn-s3-demo-bucket/" \ + --output-data-config "S3Uri=s3://amzn-s3-demo-destination-bucket/testfolder/" \ --data-access-role-arn "arn:aws:iam::111122223333:role/service-role/AmazonComprehendServiceRole-example-role" \ --language-code en diff --git a/awscli/examples/comprehend/start-pii-entities-detection-job.rst b/awscli/examples/comprehend/start-pii-entities-detection-job.rst index 29924e915bfb..7f09c04ca3d4 100644 --- a/awscli/examples/comprehend/start-pii-entities-detection-job.rst +++ b/awscli/examples/comprehend/start-pii-entities-detection-job.rst @@ -8,8 +8,8 @@ When the job is complete, the folder, ``output``, is placed in the location spec aws comprehend start-pii-entities-detection-job \ --job-name entities_test \ --language-code en \ - --input-data-config "S3Uri=s3://DOC-EXAMPLE-BUCKET/" \ - --output-data-config "S3Uri=s3://DOC-EXAMPLE-DESTINATION-BUCKET/testfolder/" \ + --input-data-config "S3Uri=s3://amzn-s3-demo-bucket/" \ + --output-data-config "S3Uri=s3://amzn-s3-demo-destination-bucket/testfolder/" \ --data-access-role-arn arn:aws:iam::111122223333:role/service-role/AmazonComprehendServiceRole-example-role \ --language-code en \ --mode ONLY_OFFSETS diff --git a/awscli/examples/comprehend/start-sentiment-detection-job.rst b/awscli/examples/comprehend/start-sentiment-detection-job.rst index b2128668f980..7599c6037088 100644 --- a/awscli/examples/comprehend/start-sentiment-detection-job.rst +++ b/awscli/examples/comprehend/start-sentiment-detection-job.rst @@ -8,8 +8,8 @@ The Json output is printed on one line per file, but is formatted here for reada aws comprehend start-sentiment-detection-job \ --job-name example-sentiment-detection-job \ --language-code en \ - --input-data-config "S3Uri=s3://DOC-EXAMPLE-BUCKET/MovieData" \ - --output-data-config "S3Uri=s3://DOC-EXAMPLE-DESTINATION-BUCKET/testfolder/" \ + --input-data-config "S3Uri=s3://amzn-s3-demo-bucket/MovieData" \ + --output-data-config "S3Uri=s3://amzn-s3-demo-destination-bucket/testfolder/" \ --data-access-role-arn arn:aws:iam::111122223333:role/service-role/AmazonComprehendServiceRole-example-role Contents of ``SampleMovieReview1.txt``:: diff --git a/awscli/examples/comprehend/start-targeted-sentiment-detection-job.rst b/awscli/examples/comprehend/start-targeted-sentiment-detection-job.rst index eb7c3536e2d6..022cfb0920ee 100644 --- a/awscli/examples/comprehend/start-targeted-sentiment-detection-job.rst +++ b/awscli/examples/comprehend/start-targeted-sentiment-detection-job.rst @@ -7,8 +7,8 @@ When the job is complete, ``output.tar.gz`` is placed at the location specified aws comprehend start-targeted-sentiment-detection-job \ --job-name targeted_movie_review_analysis1 \ --language-code en \ - --input-data-config "S3Uri=s3://DOC-EXAMPLE-BUCKET/MovieData" \ - --output-data-config "S3Uri=s3://DOC-EXAMPLE-DESTINATION-BUCKET/testfolder/" \ + --input-data-config "S3Uri=s3://amzn-s3-demo-bucket/MovieData" \ + --output-data-config "S3Uri=s3://amzn-s3-demo-destination-bucket/testfolder/" \ --data-access-role-arn arn:aws:iam::111122223333:role/service-role/AmazonComprehendServiceRole-example-role Contents of ``SampleMovieReview1.txt``:: diff --git a/awscli/examples/comprehend/start-topics-detection-job.rst b/awscli/examples/comprehend/start-topics-detection-job.rst index ce59411fcbc4..750570cd6fec 100644 --- a/awscli/examples/comprehend/start-topics-detection-job.rst +++ b/awscli/examples/comprehend/start-topics-detection-job.rst @@ -8,8 +8,8 @@ The second file, ``doc-topics.csv``, lists the documents associated with a topic aws comprehend start-topics-detection-job \ --job-name example_topics_detection_job \ --language-code en \ - --input-data-config "S3Uri=s3://DOC-EXAMPLE-BUCKET/" \ - --output-data-config "S3Uri=s3://DOC-EXAMPLE-DESTINATION-BUCKET/testfolder/" \ + --input-data-config "S3Uri=s3://amzn-s3-demo-bucket/" \ + --output-data-config "S3Uri=s3://amzn-s3-demo-destination-bucket/testfolder/" \ --data-access-role-arn arn:aws:iam::111122223333:role/service-role/AmazonComprehendServiceRole-example-role \ --language-code en diff --git a/awscli/examples/comprehend/update-flywheel.rst b/awscli/examples/comprehend/update-flywheel.rst index 94985c75bc4e..622805781c68 100644 --- a/awscli/examples/comprehend/update-flywheel.rst +++ b/awscli/examples/comprehend/update-flywheel.rst @@ -19,7 +19,7 @@ Output:: "Mode": "MULTI_CLASS" } }, - "DataLakeS3Uri": "s3://DOC-EXAMPLE-BUCKET/flywheel-entity/schemaVersion=1/20230616T200543Z/", + "DataLakeS3Uri": "s3://amzn-s3-demo-bucket/flywheel-entity/schemaVersion=1/20230616T200543Z/", "DataSecurityConfig": {}, "Status": "ACTIVE", "ModelType": "DOCUMENT_CLASSIFIER", diff --git a/awscli/examples/ec2/get-flow-logs-integration-template.rst b/awscli/examples/ec2/get-flow-logs-integration-template.rst index be0a153254a9..1ee8fa5fb050 100644 --- a/awscli/examples/ec2/get-flow-logs-integration-template.rst +++ b/awscli/examples/ec2/get-flow-logs-integration-template.rst @@ -6,20 +6,20 @@ Linux:: aws ec2 get-flow-logs-integration-template \ --flow-log-id fl-1234567890abcdef0 \ - --config-delivery-s3-destination-arn arn:aws:s3:::DOC-EXAMPLE-BUCKET \ - --integrate-services AthenaIntegrations='[{IntegrationResultS3DestinationArn=arn:aws:s3:::DOC-EXAMPLE-BUCKET,PartitionLoadFrequency=none,PartitionStartDate=2021-07-21T00:40:00,PartitionEndDate=2021-07-21T00:42:00},{IntegrationResultS3DestinationArn=arn:aws:s3:::DOC-EXAMPLE-BUCKET,PartitionLoadFrequency=none,PartitionStartDate=2021-07-21T00:40:00,PartitionEndDate=2021-07-21T00:42:00}]' + --config-delivery-s3-destination-arn arn:aws:s3:::amzn-s3-demo-bucket \ + --integrate-services AthenaIntegrations='[{IntegrationResultS3DestinationArn=arn:aws:s3:::amzn-s3-demo-bucket,PartitionLoadFrequency=none,PartitionStartDate=2021-07-21T00:40:00,PartitionEndDate=2021-07-21T00:42:00},{IntegrationResultS3DestinationArn=arn:aws:s3:::amzn-s3-demo-bucket,PartitionLoadFrequency=none,PartitionStartDate=2021-07-21T00:40:00,PartitionEndDate=2021-07-21T00:42:00}]' Windows:: aws ec2 get-flow-logs-integration-template ^ --flow-log-id fl-1234567890abcdef0 ^ - --config-delivery-s3-destination-arn arn:aws:s3:::DOC-EXAMPLE-BUCKET ^ - --integrate-services AthenaIntegrations=[{IntegrationResultS3DestinationArn=arn:aws:s3:::DOC-EXAMPLE-BUCKET,PartitionLoadFrequency=none,PartitionStartDate=2021-07-21T00:40:00,PartitionEndDate=2021-07-21T00:42:00},{IntegrationResultS3DestinationArn=arn:aws:s3:::DOC-EXAMPLE-BUCKET,PartitionLoadFrequency=none,PartitionStartDate=2021-07-21T00:40:00,PartitionEndDate=2021-07-21T00:42:00}] + --config-delivery-s3-destination-arn arn:aws:s3:::amzn-s3-demo-bucket ^ + --integrate-services AthenaIntegrations=[{IntegrationResultS3DestinationArn=arn:aws:s3:::amzn-s3-demo-bucket,PartitionLoadFrequency=none,PartitionStartDate=2021-07-21T00:40:00,PartitionEndDate=2021-07-21T00:42:00},{IntegrationResultS3DestinationArn=arn:aws:s3:::amzn-s3-demo-bucket,PartitionLoadFrequency=none,PartitionStartDate=2021-07-21T00:40:00,PartitionEndDate=2021-07-21T00:42:00}] Output:: { - "Result": "https://DOC-EXAMPLE-BUCKET.s3.us-east-2.amazonaws.com/VPCFlowLogsIntegrationTemplate_fl-1234567890abcdef0_Wed%20Jul%2021%2000%3A57%3A56%20UTC%202021.yml" + "Result": "https://amzn-s3-demo-bucket.s3.us-east-2.amazonaws.com/VPCFlowLogsIntegrationTemplate_fl-1234567890abcdef0_Wed%20Jul%2021%2000%3A57%3A56%20UTC%202021.yml" } For information on using CloudFormation templates, see `Working with AWS CloudFormation templates `__ in the *AWS CloudFormation User Guide*. diff --git a/awscli/examples/glue/create-job.rst b/awscli/examples/glue/create-job.rst index dd5aca9d6849..57fcfb2b8bf6 100644 --- a/awscli/examples/glue/create-job.rst +++ b/awscli/examples/glue/create-job.rst @@ -7,7 +7,7 @@ The following ``create-job`` example creates a streaming job that runs a script --role AWSGlueServiceRoleDefault \ --command '{ \ "Name": "gluestreaming", \ - "ScriptLocation": "s3://DOC-EXAMPLE-BUCKET/folder/" \ + "ScriptLocation": "s3://amzn-s3-demo-bucket/folder/" \ }' \ --region us-east-1 \ --output json \ diff --git a/awscli/examples/guardduty/create-ip-set.rst b/awscli/examples/guardduty/create-ip-set.rst index 14cf6d3d38a1..f2f3b7577bee 100644 --- a/awscli/examples/guardduty/create-ip-set.rst +++ b/awscli/examples/guardduty/create-ip-set.rst @@ -6,7 +6,7 @@ The following ``create-ip-set`` example creates and activates a trusted IP set i --detector-id 12abc34d567e8fa901bc2d34eexample \ --name new-ip-set \ --format TXT - --location s3://AWSDOC-EXAMPLE-BUCKET/customtrustlist.csv + --location s3://amzn-s3-demo-bucket/customtrustlist.csv --activate Output:: diff --git a/awscli/examples/guardduty/get-ip-set.rst b/awscli/examples/guardduty/get-ip-set.rst index c86bbdb23175..1fce0feee905 100644 --- a/awscli/examples/guardduty/get-ip-set.rst +++ b/awscli/examples/guardduty/get-ip-set.rst @@ -10,7 +10,7 @@ Output:: { "Status": "ACTIVE", - "Location": "s3://AWSDOC-EXAMPLE-BUCKET.s3-us-west-2.amazonaws.com/customlist.csv", + "Location": "s3://amzn-s3-demo-bucket.s3-us-west-2.amazonaws.com/customlist.csv", "Tags": {}, "Format": "TXT", "Name": "test-ip-set" diff --git a/awscli/examples/guardduty/update-ip-set.rst b/awscli/examples/guardduty/update-ip-set.rst index f75955210d86..320705cf359c 100644 --- a/awscli/examples/guardduty/update-ip-set.rst +++ b/awscli/examples/guardduty/update-ip-set.rst @@ -5,7 +5,7 @@ The following ``update-ip-set`` example shows how to update the details of a tru aws guardduty update-ip-set \ --detector-id 12abc34d567e8fa901bc2d34eexample \ --ip-set-id d4b94fc952d6912b8f3060768example \ - --location https://AWSDOC-EXAMPLE-BUCKET.s3-us-west-2.amazonaws.com/customtrustlist2.csv + --location https://amzn-s3-demo-bucket.s3-us-west-2.amazonaws.com/customtrustlist2.csv This command produces no output. diff --git a/awscli/examples/macie2/describe-buckets.rst b/awscli/examples/macie2/describe-buckets.rst index 29e08c9c6d02..222526726e7c 100644 --- a/awscli/examples/macie2/describe-buckets.rst +++ b/awscli/examples/macie2/describe-buckets.rst @@ -12,9 +12,9 @@ Output:: { "accountId": "123456789012", "allowsUnencryptedObjectUploads": "FALSE", - "bucketArn": "arn:aws:s3:::MY-S3-DOC-EXAMPLE-BUCKET1", + "bucketArn": "arn:aws:s3:::amzn-s3-demo-bucket1", "bucketCreatedAt": "2020-05-18T19:54:00+00:00", - "bucketName": "MY-S3-DOC-EXAMPLE-BUCKET1", + "bucketName": "amzn-s3-demo-bucket1", "classifiableObjectCount": 13, "classifiableSizeInBytes": 1592088, "jobDetails": { @@ -101,9 +101,9 @@ Output:: { "accountId": "123456789012", "allowsUnencryptedObjectUploads": "TRUE", - "bucketArn": "arn:aws:s3:::MY-S3-DOC-EXAMPLE-BUCKET2", + "bucketArn": "arn:aws:s3:::amzn-s3-demo-bucket2", "bucketCreatedAt": "2020-11-25T18:24:38+00:00", - "bucketName": "MY-S3-DOC-EXAMPLE-BUCKET2", + "bucketName": "amzn-s3-demo-bucket2", "classifiableObjectCount": 8, "classifiableSizeInBytes": 133810, "jobDetails": { diff --git a/awscli/examples/s3/presign.rst b/awscli/examples/s3/presign.rst index 32e245732d6e..7af4b374f81f 100644 --- a/awscli/examples/s3/presign.rst +++ b/awscli/examples/s3/presign.rst @@ -2,21 +2,21 @@ The following ``presign`` command generates a pre-signed URL for a specified bucket and key that is valid for one hour. :: - aws s3 presign s3://DOC-EXAMPLE-BUCKET/test2.txt + aws s3 presign s3://amzn-s3-demo-bucket/test2.txt Output:: - https://DOC-EXAMPLE-BUCKET.s3.us-west-2.amazonaws.com/key?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAEXAMPLE123456789%2F20210621%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20210621T041609Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=EXAMBLE1234494d5fba3fed607f98018e1dfc62e2529ae96d844123456 + https://amzn-s3-demo-bucket.s3.us-west-2.amazonaws.com/key?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAEXAMPLE123456789%2F20210621%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20210621T041609Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=EXAMBLE1234494d5fba3fed607f98018e1dfc62e2529ae96d844123456 **Example 2: To create a pre-signed URL with a custom lifetime that links to an object in an S3 bucket** The following ``presign`` command generates a pre-signed URL for a specified bucket and key that is valid for one week. :: - aws s3 presign s3://DOC-EXAMPLE-BUCKET/test2.txt \ + aws s3 presign s3://amzn-s3-demo-bucket/test2.txt \ --expires-in 604800 Output:: - https://DOC-EXAMPLE-BUCKET.s3.us-west-2.amazonaws.com/key?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAEXAMPLE123456789%2F20210621%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20210621T041609Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=EXAMBLE1234494d5fba3fed607f98018e1dfc62e2529ae96d844123456 + https://amzn-s3-demo-bucket.s3.us-west-2.amazonaws.com/key?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAEXAMPLE123456789%2F20210621%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20210621T041609Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=EXAMBLE1234494d5fba3fed607f98018e1dfc62e2529ae96d844123456 For more information, see `Share an Object with Others `__ in the *S3 Developer Guide* guide. diff --git a/awscli/examples/s3api/delete-bucket-intelligent-tiering-configuration.rst b/awscli/examples/s3api/delete-bucket-intelligent-tiering-configuration.rst index 2bcbd07fc59f..8e5691e7f406 100644 --- a/awscli/examples/s3api/delete-bucket-intelligent-tiering-configuration.rst +++ b/awscli/examples/s3api/delete-bucket-intelligent-tiering-configuration.rst @@ -3,7 +3,7 @@ The following ``delete-bucket-intelligent-tiering-configuration`` example removes an S3 Intelligent-Tiering configuration, named ExampleConfig, on a bucket. :: aws s3api delete-bucket-intelligent-tiering-configuration \ - --bucket DOC-EXAMPLE-BUCKET \ + --bucket amzn-s3-demo-bucket \ --id ExampleConfig This command produces no output. diff --git a/awscli/examples/s3api/delete-bucket-ownership-controls.rst b/awscli/examples/s3api/delete-bucket-ownership-controls.rst index 00ca9b95e6cd..d947325f7d58 100644 --- a/awscli/examples/s3api/delete-bucket-ownership-controls.rst +++ b/awscli/examples/s3api/delete-bucket-ownership-controls.rst @@ -3,7 +3,7 @@ The following ``delete-bucket-ownership-controls`` example removes the bucket ownership settings of a bucket. :: aws s3api delete-bucket-ownership-controls \ - --bucket DOC-EXAMPLE-BUCKET + --bucket amzn-s3-demo-bucket This command produces no output. diff --git a/awscli/examples/s3api/get-bucket-intelligent-tiering-configuration.rst b/awscli/examples/s3api/get-bucket-intelligent-tiering-configuration.rst index 6bf9e17ab049..ac57d76f4e94 100644 --- a/awscli/examples/s3api/get-bucket-intelligent-tiering-configuration.rst +++ b/awscli/examples/s3api/get-bucket-intelligent-tiering-configuration.rst @@ -3,7 +3,7 @@ The following ``get-bucket-intelligent-tiering-configuration`` example retrieves an S3 Intelligent-Tiering configuration, named ExampleConfig, on a bucket. :: aws s3api get-bucket-intelligent-tiering-configuration \ - --bucket DOC-EXAMPLE-BUCKET \ + --bucket amzn-s3-demo-bucket \ --id ExampleConfig Output:: diff --git a/awscli/examples/s3api/get-bucket-ownership-controls.rst b/awscli/examples/s3api/get-bucket-ownership-controls.rst index 1db8866d157c..84fc0d75f4ab 100644 --- a/awscli/examples/s3api/get-bucket-ownership-controls.rst +++ b/awscli/examples/s3api/get-bucket-ownership-controls.rst @@ -3,7 +3,7 @@ The following ``get-bucket-ownership-controls`` example retrieves the bucket ownership settings of a bucket. :: aws s3api get-bucket-ownership-controls \ - --bucket DOC-EXAMPLE-BUCKET + --bucket amzn-s3-demo-bucket Output:: diff --git a/awscli/examples/s3api/list-bucket-intelligent-tiering-configurations.rst b/awscli/examples/s3api/list-bucket-intelligent-tiering-configurations.rst index b30b240954ff..6e09ea78086c 100644 --- a/awscli/examples/s3api/list-bucket-intelligent-tiering-configurations.rst +++ b/awscli/examples/s3api/list-bucket-intelligent-tiering-configurations.rst @@ -3,7 +3,7 @@ The following ``list-bucket-intelligent-tiering-configurations`` example retrieves all S3 Intelligent-Tiering configuration on a bucket. :: aws s3api list-bucket-intelligent-tiering-configurations \ - --bucket DOC-EXAMPLE-BUCKET + --bucket amzn-s3-demo-bucket Output:: diff --git a/awscli/examples/s3api/put-bucket-intelligent-tiering-configuration.rst b/awscli/examples/s3api/put-bucket-intelligent-tiering-configuration.rst index 5d46dfa17475..e3bf35547f77 100644 --- a/awscli/examples/s3api/put-bucket-intelligent-tiering-configuration.rst +++ b/awscli/examples/s3api/put-bucket-intelligent-tiering-configuration.rst @@ -3,7 +3,7 @@ The following ``put-bucket-intelligent-tiering-configuration`` example updates an S3 Intelligent-Tiering configuration, named ExampleConfig, on a bucket. The configuration will transition objects that have not been accessed under the prefix images to Archive Access after 90 days and Deep Archive Access after 180 days. :: aws s3api put-bucket-intelligent-tiering-configuration \ - --bucket DOC-EXAMPLE-BUCKET \ + --bucket amzn-s3-demo-bucket \ --id "ExampleConfig" \ --intelligent-tiering-configuration file://intelligent-tiering-configuration.json diff --git a/awscli/examples/s3api/put-bucket-ownership-controls.rst b/awscli/examples/s3api/put-bucket-ownership-controls.rst index 2c94b252d1ae..d6253ad847e1 100644 --- a/awscli/examples/s3api/put-bucket-ownership-controls.rst +++ b/awscli/examples/s3api/put-bucket-ownership-controls.rst @@ -3,7 +3,7 @@ The following ``put-bucket-ownership-controls`` example updates the bucket ownership settings of a bucket. :: aws s3api put-bucket-ownership-controls \ - --bucket DOC-EXAMPLE-BUCKET \ + --bucket amzn-s3-demo-bucket \ --ownership-controls="Rules=[{ObjectOwnership=BucketOwnerEnforced}]" This command produces no output. diff --git a/awscli/examples/s3api/put-bucket-replication.rst b/awscli/examples/s3api/put-bucket-replication.rst index 39f08b69fa3b..b7120c658f2c 100644 --- a/awscli/examples/s3api/put-bucket-replication.rst +++ b/awscli/examples/s3api/put-bucket-replication.rst @@ -3,7 +3,7 @@ The following ``put-bucket-replication`` example applies a replication configuration to the specified S3 bucket. :: aws s3api put-bucket-replication \ - --bucket AWSDOC-EXAMPLE-BUCKET1 \ + --bucket amzn-s3-demo-bucket1 \ --replication-configuration file://replication.json Contents of ``replication.json``:: @@ -17,7 +17,7 @@ Contents of ``replication.json``:: "DeleteMarkerReplication": { "Status": "Disabled" }, "Filter" : { "Prefix": ""}, "Destination": { - "Bucket": "arn:aws:s3:::AWSDOC-EXAMPLE-BUCKET2" + "Bucket": "arn:aws:s3:::amzn-s3-demo-bucket2" } } ] @@ -37,7 +37,7 @@ Example role permission policy:: "s3:ListBucket" ], "Resource": [ - "arn:aws:s3:::AWSDOC-EXAMPLE-BUCKET1" + "arn:aws:s3:::amzn-s3-demo-bucket1" ] }, { @@ -48,7 +48,7 @@ Example role permission policy:: "s3:GetObjectVersionTagging" ], "Resource": [ - "arn:aws:s3:::AWSDOC-EXAMPLE-BUCKET1/*" + "arn:aws:s3:::amzn-s3-demo-bucket1/*" ] }, { @@ -58,7 +58,7 @@ Example role permission policy:: "s3:ReplicateDelete", "s3:ReplicateTags" ], - "Resource": "arn:aws:s3:::AWSDOC-EXAMPLE-BUCKET2/*" + "Resource": "arn:aws:s3:::amzn-s3-demo-bucket2/*" } ] } diff --git a/awscli/examples/s3control/get-multi-region-access-point-routes.rst b/awscli/examples/s3control/get-multi-region-access-point-routes.rst index 20f6d0d7153d..d1853f1575b8 100644 --- a/awscli/examples/s3control/get-multi-region-access-point-routes.rst +++ b/awscli/examples/s3control/get-multi-region-access-point-routes.rst @@ -13,12 +13,12 @@ Output:: "Mrap": "arn:aws:s3::111122223333:accesspoint/0000000000000.mrap", "Routes": [ { - "Bucket": "DOC-EXAMPLE-BUCKET-1", + "Bucket": "amzn-s3-demo-bucket1", "Region": "ap-southeast-2", "TrafficDialPercentage": 100 }, { - "Bucket": "DOC-EXAMPLE-BUCKET-2", + "Bucket": "amzn-s3-demo-bucket2", "Region": "us-west-1", "TrafficDialPercentage": 0 } diff --git a/awscli/examples/s3control/submit-multi-region-access-point-routes.rst b/awscli/examples/s3control/submit-multi-region-access-point-routes.rst index 9ff33d7283a1..988cce5d40fe 100644 --- a/awscli/examples/s3control/submit-multi-region-access-point-routes.rst +++ b/awscli/examples/s3control/submit-multi-region-access-point-routes.rst @@ -1,11 +1,11 @@ **To update your Multi-Region Access Point routing configuration** -The following ``submit-multi-region-access-point-routes`` example updates the routing statuses of ``DOC-EXAMPLE-BUCKET-1`` and ``DOC-EXAMPLE-BUCKET-2`` in the ``ap-southeast-2`` Region for your Multi-Region Access Point. :: +The following ``submit-multi-region-access-point-routes`` example updates the routing statuses of ``amzn-s3-demo-bucket1`` and ``amzn-s3-demo-bucket2`` in the ``ap-southeast-2`` Region for your Multi-Region Access Point. :: aws s3control submit-multi-region-access-point-routes \ --region ap-southeast-2 \ --account-id 111122223333 \ --mrap MultiRegionAccessPoint_ARN \ - --route-updates Bucket=DOC-EXAMPLE-BUCKET-1,TrafficDialPercentage=100 Bucket=DOC-EXAMPLE-BUCKET-2,TrafficDialPercentage=0 + --route-updates Bucket=amzn-s3-demo-bucket1,TrafficDialPercentage=100 Bucket=amzn-s3-demo-bucket2,TrafficDialPercentage=0 This command produces no output. \ No newline at end of file diff --git a/awscli/examples/securitylake/create-custom-logsource.rst b/awscli/examples/securitylake/create-custom-logsource.rst index 2e15b97bef2b..ef1f01241c78 100644 --- a/awscli/examples/securitylake/create-custom-logsource.rst +++ b/awscli/examples/securitylake/create-custom-logsource.rst @@ -17,7 +17,7 @@ Output:: "tableArn": "arn:aws:glue:eu-west-2:123456789012:table/E1WG1ZNPRXT0D4" }, "provider": { - "location": "DOC-EXAMPLE-BUCKET--usw2-az1--x-s3", + "location": "amzn-s3-demo-bucket--usw2-az1--x-s3", "roleArn": "arn:aws:iam::123456789012:role/AmazonSecurityLake-Provider-testCustom2-eu-west-2" }, "sourceName": "testCustom2" diff --git a/awscli/examples/securitylake/list-subscribers.rst b/awscli/examples/securitylake/list-subscribers.rst index a320af556095..0c8048acdd0d 100644 --- a/awscli/examples/securitylake/list-subscribers.rst +++ b/awscli/examples/securitylake/list-subscribers.rst @@ -14,7 +14,7 @@ Output:: ], "createdAt": "2024-06-04T15:02:28.921000+00:00", "roleArn": "arn:aws:iam::123456789012:role/AmazonSecurityLake-E1WG1ZNPRXT0D4", - "s3BucketArn": "DOC-EXAMPLE-BUCKET--usw2-az1--x-s3", + "s3BucketArn": "amzn-s3-demo-bucket--usw2-az1--x-s3", "sources": [ { "awsLogSource": { @@ -36,7 +36,7 @@ Output:: "tableArn": "arn:aws:glue:eu-west-2:123456789012:table/E1WG1ZNPRXT0D4" }, "provider": { - "location": "DOC-EXAMPLE-BUCKET--usw2-az1--x-s3", + "location": "amzn-s3-demo-bucket--usw2-az1--x-s3", "roleArn": "arn:aws:iam::123456789012:role/AmazonSecurityLake-E1WG1ZNPRXT0D4" }, "sourceName": "testCustom2" diff --git a/awscli/examples/securitylake/update-subscriber.rst b/awscli/examples/securitylake/update-subscriber.rst index b991f2f14c40..599286c96253 100644 --- a/awscli/examples/securitylake/update-subscriber.rst +++ b/awscli/examples/securitylake/update-subscriber.rst @@ -54,7 +54,7 @@ Output:: "tableArn": "arn:aws:glue:eu-west-2:123456789012:table/E1WG1ZNPRXT0D4" }, "provider": { - "location": "DOC-EXAMPLE-BUCKET--usw2-az1--x-s3", + "location": "amzn-s3-demo-bucket--usw2-az1--x-s3", "roleArn": "arn:aws:iam::123456789012:role/AmazonSecurityLake-E1WG1ZNPRXT0D4" }, "sourceName": "testCustom2" diff --git a/awscli/examples/transcribe/create-language-model.rst b/awscli/examples/transcribe/create-language-model.rst index a9aadfb8476b..aeaab9088779 100644 --- a/awscli/examples/transcribe/create-language-model.rst +++ b/awscli/examples/transcribe/create-language-model.rst @@ -6,7 +6,7 @@ The following ``create-language-model`` example creates a custom language model. --language-code language-code \ --base-model-name base-model-name \ --model-name cli-clm-example \ - --input-data-config S3Uri="s3://DOC-EXAMPLE-BUCKET/Amazon-S3-Prefix-for-training-data",TuningDataS3Uri="s3://DOC-EXAMPLE-BUCKET/Amazon-S3-Prefix-for-tuning-data",DataAccessRoleArn="arn:aws:iam::AWS-account-number:role/IAM-role-with-permissions-to-create-a-custom-language-model" + --input-data-config S3Uri="s3://amzn-s3-demo-bucket/Amazon-S3-Prefix-for-training-data",TuningDataS3Uri="s3://amzn-s3-demo-bucket/Amazon-S3-Prefix-for-tuning-data",DataAccessRoleArn="arn:aws:iam::AWS-account-number:role/IAM-role-with-permissions-to-create-a-custom-language-model" Output:: @@ -15,8 +15,8 @@ Output:: "BaseModelName": "base-model-name", "ModelName": "cli-clm-example", "InputDataConfig": { - "S3Uri": "s3://DOC-EXAMPLE-BUCKET/Amazon-S3-Prefix/", - "TuningDataS3Uri": "s3://DOC-EXAMPLE-BUCKET/Amazon-S3-Prefix/", + "S3Uri": "s3://amzn-s3-demo-bucket/Amazon-S3-Prefix/", + "TuningDataS3Uri": "s3://amzn-s3-demo-bucket/Amazon-S3-Prefix/", "DataAccessRoleArn": "arn:aws:iam::AWS-account-number:role/IAM-role-with-permissions-create-a-custom-language-model" }, "ModelStatus": "IN_PROGRESS" @@ -32,7 +32,7 @@ The following ``create-language-model`` example transcribes your audio file. You --language-code en-US \ --base-model-name base-model-name \ --model-name cli-clm-example \ - --input-data-config S3Uri="s3://DOC-EXAMPLE-BUCKET/Amazon-S3-Prefix-For-Training-Data",DataAccessRoleArn="arn:aws:iam::AWS-account-number:role/IAM-role-with-permissions-to-create-a-custom-language-model" + --input-data-config S3Uri="s3://amzn-s3-demo-bucket/Amazon-S3-Prefix-For-Training-Data",DataAccessRoleArn="arn:aws:iam::AWS-account-number:role/IAM-role-with-permissions-to-create-a-custom-language-model" Output:: @@ -41,7 +41,7 @@ Output:: "BaseModelName": "base-model-name", "ModelName": "cli-clm-example", "InputDataConfig": { - "S3Uri": "s3://DOC-EXAMPLE-BUCKET/Amazon-S3-Prefix-For-Training-Data/", + "S3Uri": "s3://amzn-s3-demo-bucket/Amazon-S3-Prefix-For-Training-Data/", "DataAccessRoleArn": "arn:aws:iam::your-AWS-account-number:role/IAM-role-with-permissions-to-create-a-custom-language-model" }, "ModelStatus": "IN_PROGRESS" diff --git a/awscli/examples/transcribe/create-medical-vocabulary.rst b/awscli/examples/transcribe/create-medical-vocabulary.rst index c28f177872f0..038511a4124d 100644 --- a/awscli/examples/transcribe/create-medical-vocabulary.rst +++ b/awscli/examples/transcribe/create-medical-vocabulary.rst @@ -5,7 +5,7 @@ The following ``create-medical-vocabulary`` example creates a custom vocabulary. aws transcribe create-medical-vocabulary \ --vocabulary-name cli-medical-vocab-example \ --language-code language-code \ - --vocabulary-file-uri https://DOC-EXAMPLE-BUCKET.AWS-Region.amazonaws.com/the-text-file-for-the-medical-custom-vocabulary.txt + --vocabulary-file-uri https://amzn-s3-demo-bucket.AWS-Region.amazonaws.com/the-text-file-for-the-medical-custom-vocabulary.txt Output:: diff --git a/awscli/examples/transcribe/create-vocabulary-filter.rst b/awscli/examples/transcribe/create-vocabulary-filter.rst index 50ab423ce191..011a8a1677c5 100644 --- a/awscli/examples/transcribe/create-vocabulary-filter.rst +++ b/awscli/examples/transcribe/create-vocabulary-filter.rst @@ -4,7 +4,7 @@ The following ``create-vocabulary-filter`` example creates a vocabulary filter t aws transcribe create-vocabulary-filter \ --language-code language-code \ - --vocabulary-filter-file-uri s3://DOC-EXAMPLE-BUCKET/vocabulary-filter.txt \ + --vocabulary-filter-file-uri s3://amzn-s3-demo-bucket/vocabulary-filter.txt \ --vocabulary-filter-name cli-vocabulary-filter-example Output:: diff --git a/awscli/examples/transcribe/create-vocabulary.rst b/awscli/examples/transcribe/create-vocabulary.rst index de3d2f8efe29..cd0417f00185 100644 --- a/awscli/examples/transcribe/create-vocabulary.rst +++ b/awscli/examples/transcribe/create-vocabulary.rst @@ -5,7 +5,7 @@ The following ``create-vocabulary`` example creates a custom vocabulary. To crea aws transcribe create-vocabulary \ --language-code language-code \ --vocabulary-name cli-vocab-example \ - --vocabulary-file-uri s3://DOC-EXAMPLE-BUCKET/Amazon-S3-prefix/the-text-file-for-the-custom-vocabulary.txt + --vocabulary-file-uri s3://amzn-s3-demo-bucket/Amazon-S3-prefix/the-text-file-for-the-custom-vocabulary.txt Output:: diff --git a/awscli/examples/transcribe/describe-language-model.rst b/awscli/examples/transcribe/describe-language-model.rst index 17c5a2cfbf2a..2044355c40f3 100644 --- a/awscli/examples/transcribe/describe-language-model.rst +++ b/awscli/examples/transcribe/describe-language-model.rst @@ -17,8 +17,8 @@ Output:: "ModelStatus": "IN_PROGRESS", "UpgradeAvailability": false, "InputDataConfig": { - "S3Uri": "s3://DOC-EXAMPLE-BUCKET/Amazon-S3-Prefix/", - "TuningDataS3Uri": "s3://DOC-EXAMPLE-BUCKET/Amazon-S3-Prefix/", + "S3Uri": "s3://amzn-s3-demo-bucket/Amazon-S3-Prefix/", + "TuningDataS3Uri": "s3://amzn-s3-demo-bucket/Amazon-S3-Prefix/", "DataAccessRoleArn": "arn:aws:iam::AWS-account-number:role/IAM-role-with-permissions-to-create-a-custom-language-model" } } diff --git a/awscli/examples/transcribe/get-transcription-job.rst b/awscli/examples/transcribe/get-transcription-job.rst index f28aff10c2ac..19f3fa42accb 100644 --- a/awscli/examples/transcribe/get-transcription-job.rst +++ b/awscli/examples/transcribe/get-transcription-job.rst @@ -15,7 +15,7 @@ Output:: "MediaSampleRateHertz": 48000, "MediaFormat": "mp4", "Media": { - "MediaFileUri": "s3://DOC-EXAMPLE-BUCKET/your-audio-file.file-extension" + "MediaFileUri": "s3://amzn-s3-demo-bucket/your-audio-file.file-extension" }, "Transcript": { "TranscriptFileUri": "https://Amazon-S3-file-location-of-transcription-output" diff --git a/awscli/examples/transcribe/list-language-models.rst b/awscli/examples/transcribe/list-language-models.rst index 421a4b8c1e66..915f00008f4e 100644 --- a/awscli/examples/transcribe/list-language-models.rst +++ b/awscli/examples/transcribe/list-language-models.rst @@ -17,8 +17,8 @@ Output:: "ModelStatus": "IN_PROGRESS", "UpgradeAvailability": false, "InputDataConfig": { - "S3Uri": "s3://DOC-EXAMPLE-BUCKET/clm-training-data/", - "TuningDataS3Uri": "s3://DOC-EXAMPLE-BUCKET/clm-tuning-data/", + "S3Uri": "s3://amzn-s3-demo-bucket/clm-training-data/", + "TuningDataS3Uri": "s3://amzn-s3-demo-bucket/clm-tuning-data/", "DataAccessRoleArn": "arn:aws:iam::AWS-account-number:role/IAM-role-used-to-create-the-custom-language-model" } }, @@ -31,7 +31,7 @@ Output:: "ModelStatus": "IN_PROGRESS", "UpgradeAvailability": false, "InputDataConfig": { - "S3Uri": "s3://DOC-EXAMPLE-BUCKET/clm-training-data/", + "S3Uri": "s3://amzn-s3-demo-bucket/clm-training-data/", "DataAccessRoleArn": "arn:aws:iam::AWS-account-number:role/IAM-role-used-to-create-the-custom-language-model" } }, @@ -44,7 +44,7 @@ Output:: "ModelStatus": "COMPLETED", "UpgradeAvailability": false, "InputDataConfig": { - "S3Uri": "s3://DOC-EXAMPLE-BUCKET/clm-training-data/", + "S3Uri": "s3://amzn-s3-demo-bucket/clm-training-data/", "DataAccessRoleArn": "arn:aws:iam::AWS-account-number:role/IAM-role-used-to-create-the-custom-language-model" } } diff --git a/awscli/examples/transcribe/start-medical-transcription-job.rst b/awscli/examples/transcribe/start-medical-transcription-job.rst index d387bcea33d0..3c339af797d4 100644 --- a/awscli/examples/transcribe/start-medical-transcription-job.rst +++ b/awscli/examples/transcribe/start-medical-transcription-job.rst @@ -12,9 +12,9 @@ Contents of ``myfile.json``:: "LanguageCode": "language-code", "Specialty": "PRIMARYCARE", "Type": "DICTATION", - "OutputBucketName":"DOC-EXAMPLE-BUCKET", + "OutputBucketName":"amzn-s3-demo-bucket", "Media": { - "MediaFileUri": "s3://DOC-EXAMPLE-BUCKET/your-audio-file.extension" + "MediaFileUri": "s3://amzn-s3-demo-bucket/your-audio-file.extension" } } @@ -26,7 +26,7 @@ Output:: "TranscriptionJobStatus": "IN_PROGRESS", "LanguageCode": "language-code", "Media": { - "MediaFileUri": "s3://DOC-EXAMPLE-BUCKET/your-audio-file.extension" + "MediaFileUri": "s3://amzn-s3-demo-bucket/your-audio-file.extension" }, "StartTime": "2020-09-20T00:35:22.256000+00:00", "CreationTime": "2020-09-20T00:35:22.218000+00:00", @@ -51,9 +51,9 @@ Contents of ``mysecondfile.json``:: "LanguageCode": "language-code", "Specialty": "PRIMARYCARE", "Type": "CONVERSATION", - "OutputBucketName":"DOC-EXAMPLE-BUCKET", + "OutputBucketName":"amzn-s3-demo-bucket", "Media": { - "MediaFileUri": "s3://DOC-EXAMPLE-BUCKET/your-audio-file.extension" + "MediaFileUri": "s3://amzn-s3-demo-bucket/your-audio-file.extension" } } @@ -65,7 +65,7 @@ Output:: "TranscriptionJobStatus": "IN_PROGRESS", "LanguageCode": "language-code", "Media": { - "MediaFileUri": "s3://DOC-EXAMPLE-BUCKET/your-audio-file.extension" + "MediaFileUri": "s3://amzn-s3-demo-bucket/your-audio-file.extension" }, "StartTime": "2020-09-20T23:19:49.965000+00:00", "CreationTime": "2020-09-20T23:19:49.941000+00:00", @@ -90,9 +90,9 @@ Contents of ``mythirdfile.json``:: "LanguageCode": "language-code", "Specialty": "PRIMARYCARE", "Type": "CONVERSATION", - "OutputBucketName":"DOC-EXAMPLE-BUCKET", + "OutputBucketName":"amzn-s3-demo-bucket", "Media": { - "MediaFileUri": "s3://DOC-EXAMPLE-BUCKET/your-audio-file.extension" + "MediaFileUri": "s3://amzn-s3-demo-bucket/your-audio-file.extension" }, "Settings":{ "ChannelIdentification": true @@ -107,7 +107,7 @@ Output:: "TranscriptionJobStatus": "IN_PROGRESS", "LanguageCode": "language-code", "Media": { - "MediaFileUri": "s3://DOC-EXAMPLE-BUCKET/your-audio-file.extension" + "MediaFileUri": "s3://amzn-s3-demo-bucket/your-audio-file.extension" }, "StartTime": "2020-09-20T23:46:44.081000+00:00", "CreationTime": "2020-09-20T23:46:44.053000+00:00", @@ -135,9 +135,9 @@ Contents of ``myfourthfile.json``:: "LanguageCode": "language-code", "Specialty": "PRIMARYCARE", "Type": "CONVERSATION", - "OutputBucketName":"DOC-EXAMPLE-BUCKET", + "OutputBucketName":"amzn-s3-demo-bucket", "Media": { - "MediaFileUri": "s3://DOC-EXAMPLE-BUCKET/your-audio-file.extension" + "MediaFileUri": "s3://amzn-s3-demo-bucket/your-audio-file.extension" }, "Settings":{ "ShowSpeakerLabels": true, @@ -153,7 +153,7 @@ Output:: "TranscriptionJobStatus": "IN_PROGRESS", "LanguageCode": "language-code", "Media": { - "MediaFileUri": "s3://DOC-EXAMPLE-BUCKET/your-audio-file.extension" + "MediaFileUri": "s3://amzn-s3-demo-bucket/your-audio-file.extension" }, "StartTime": "2020-09-21T18:43:37.265000+00:00", "CreationTime": "2020-09-21T18:43:37.157000+00:00", @@ -182,9 +182,9 @@ Contents of ``myfifthfile.json``:: "LanguageCode": "language-code", "Specialty": "PRIMARYCARE", "Type": "CONVERSATION", - "OutputBucketName":"DOC-EXAMPLE-BUCKET", + "OutputBucketName":"amzn-s3-demo-bucket", "Media": { - "MediaFileUri": "s3://DOC-EXAMPLE-BUCKET/your-audio-file.extension" + "MediaFileUri": "s3://amzn-s3-demo-bucket/your-audio-file.extension" }, "Settings":{ "ShowAlternatives": true, @@ -200,7 +200,7 @@ Output:: "TranscriptionJobStatus": "IN_PROGRESS", "LanguageCode": "language-code", "Media": { - "MediaFileUri": "s3://DOC-EXAMPLE-BUCKET/your-audio-file.extension" + "MediaFileUri": "s3://amzn-s3-demo-bucket/your-audio-file.extension" }, "StartTime": "2020-09-21T19:09:18.199000+00:00", "CreationTime": "2020-09-21T19:09:18.171000+00:00", @@ -229,9 +229,9 @@ Contents of ``mysixthfile.json``:: "LanguageCode": "language-code", "Specialty": "PRIMARYCARE", "Type": "DICTATION", - "OutputBucketName":"DOC-EXAMPLE-BUCKET", + "OutputBucketName":"amzn-s3-demo-bucket", "Media": { - "MediaFileUri": "s3://DOC-EXAMPLE-BUCKET/your-audio-file.extension" + "MediaFileUri": "s3://amzn-s3-demo-bucket/your-audio-file.extension" }, "Settings":{ "ShowAlternatives": true, @@ -247,7 +247,7 @@ Output:: "TranscriptionJobStatus": "IN_PROGRESS", "LanguageCode": "language-code", "Media": { - "MediaFileUri": "s3://DOC-EXAMPLE-BUCKET/your-audio-file.extension" + "MediaFileUri": "s3://amzn-s3-demo-bucket/your-audio-file.extension" }, "StartTime": "2020-09-21T21:01:14.592000+00:00", "CreationTime": "2020-09-21T21:01:14.569000+00:00", @@ -276,9 +276,9 @@ Contents of ``mysixthfile.json``:: "LanguageCode": "language-code", "Specialty": "PRIMARYCARE", "Type": "DICTATION", - "OutputBucketName":"DOC-EXAMPLE-BUCKET", + "OutputBucketName":"amzn-s3-demo-bucket", "Media": { - "MediaFileUri": "s3://DOC-EXAMPLE-BUCKET/your-audio-file.extension" + "MediaFileUri": "s3://amzn-s3-demo-bucket/your-audio-file.extension" }, "Settings":{ "VocabularyName": "cli-medical-vocab-1" @@ -293,7 +293,7 @@ Output:: "TranscriptionJobStatus": "IN_PROGRESS", "LanguageCode": "language-code", "Media": { - "MediaFileUri": "s3://DOC-EXAMPLE-BUCKET/your-audio-file.extension" + "MediaFileUri": "s3://amzn-s3-demo-bucket/your-audio-file.extension" }, "StartTime": "2020-09-21T21:17:27.045000+00:00", "CreationTime": "2020-09-21T21:17:27.016000+00:00", diff --git a/awscli/examples/transcribe/start-transcription-job.rst b/awscli/examples/transcribe/start-transcription-job.rst index 605b9a1156ca..f141863d1d69 100644 --- a/awscli/examples/transcribe/start-transcription-job.rst +++ b/awscli/examples/transcribe/start-transcription-job.rst @@ -11,7 +11,7 @@ Contents of ``myfile.json``:: "TranscriptionJobName": "cli-simple-transcription-job", "LanguageCode": "the-language-of-your-transcription-job", "Media": { - "MediaFileUri": "s3://DOC-EXAMPLE-BUCKET/Amazon-S3-prefix/your-media-file-name.file-extension" + "MediaFileUri": "s3://amzn-s3-demo-bucket/Amazon-S3-prefix/your-media-file-name.file-extension" } } @@ -30,7 +30,7 @@ Contents of ``mysecondfile.json``:: "TranscriptionJobName": "cli-channelid-job", "LanguageCode": "the-language-of-your-transcription-job", "Media": { - "MediaFileUri": "s3://DOC-EXAMPLE-BUCKET/Amazon-S3-prefix/your-media-file-name.file-extension" + "MediaFileUri": "s3://amzn-s3-demo-bucket/Amazon-S3-prefix/your-media-file-name.file-extension" }, "Settings":{ "ChannelIdentification":true @@ -45,7 +45,7 @@ Output:: "TranscriptionJobStatus": "IN_PROGRESS", "LanguageCode": "the-language-of-your-transcription-job", "Media": { - "MediaFileUri": "s3://DOC-EXAMPLE-BUCKET/Amazon-S3-prefix/your-media-file-name.file-extension" + "MediaFileUri": "s3://amzn-s3-demo-bucket/Amazon-S3-prefix/your-media-file-name.file-extension" }, "StartTime": "2020-09-17T16:07:56.817000+00:00", "CreationTime": "2020-09-17T16:07:56.784000+00:00", @@ -70,7 +70,7 @@ Contents of ``mythirdfile.json``:: "TranscriptionJobName": "cli-speakerid-job", "LanguageCode": "the-language-of-your-transcription-job", "Media": { - "MediaFileUri": "s3://DOC-EXAMPLE-BUCKET/Amazon-S3-prefix/your-media-file-name.file-extension" + "MediaFileUri": "s3://amzn-s3-demo-bucket/Amazon-S3-prefix/your-media-file-name.file-extension" }, "Settings":{ "ShowSpeakerLabels": true, @@ -86,7 +86,7 @@ Output:: "TranscriptionJobStatus": "IN_PROGRESS", "LanguageCode": "the-language-of-your-transcription-job", "Media": { - "MediaFileUri": "s3://DOC-EXAMPLE-BUCKET/Amazon-S3-prefix/your-media-file-name.file-extension" + "MediaFileUri": "s3://amzn-s3-demo-bucket/Amazon-S3-prefix/your-media-file-name.file-extension" }, "StartTime": "2020-09-17T16:22:59.696000+00:00", "CreationTime": "2020-09-17T16:22:59.676000+00:00", @@ -112,7 +112,7 @@ Contents of ``myfourthfile.json``:: "TranscriptionJobName": "cli-filter-mask-job", "LanguageCode": "the-language-of-your-transcription-job", "Media": { - "MediaFileUri": "s3://DOC-EXAMPLE-BUCKET/Amazon-S3-prefix/your-media-file-name.file-extension" + "MediaFileUri": "s3://amzn-s3-demo-bucket/Amazon-S3-prefix/your-media-file-name.file-extension" }, "Settings":{ "VocabularyFilterName": "your-vocabulary-filter", @@ -154,7 +154,7 @@ Contents of ``myfifthfile.json``:: "TranscriptionJobName": "cli-filter-remove-job", "LanguageCode": "the-language-of-your-transcription-job", "Media": { - "MediaFileUri": "s3://DOC-EXAMPLE-BUCKET/Amazon-S3-prefix/your-media-file-name.file-extension" + "MediaFileUri": "s3://amzn-s3-demo-bucket/Amazon-S3-prefix/your-media-file-name.file-extension" }, "Settings":{ "VocabularyFilterName": "your-vocabulary-filter", @@ -170,7 +170,7 @@ Output:: "TranscriptionJobStatus": "IN_PROGRESS", "LanguageCode": "the-language-of-your-transcription-job", "Media": { - "MediaFileUri": "s3://DOC-EXAMPLE-BUCKET/Amazon-S3-prefix/your-media-file-name.file-extension" + "MediaFileUri": "s3://amzn-s3-demo-bucket/Amazon-S3-prefix/your-media-file-name.file-extension" }, "StartTime": "2020-09-18T16:36:18.568000+00:00", "CreationTime": "2020-09-18T16:36:18.547000+00:00", @@ -196,7 +196,7 @@ Contents of ``mysixthfile.json``:: "TranscriptionJobName": "cli-vocab-job", "LanguageCode": "the-language-of-your-transcription-job", "Media": { - "MediaFileUri": "s3://DOC-EXAMPLE-BUCKET/Amazon-S3-prefix/your-media-file-name.file-extension" + "MediaFileUri": "s3://amzn-s3-demo-bucket/Amazon-S3-prefix/your-media-file-name.file-extension" }, "Settings":{ "VocabularyName": "your-vocabulary" @@ -211,7 +211,7 @@ Output:: "TranscriptionJobStatus": "IN_PROGRESS", "LanguageCode": "the-language-of-your-transcription-job", "Media": { - "MediaFileUri": "s3://DOC-EXAMPLE-BUCKET/Amazon-S3-prefix/your-media-file-name.file-extension" + "MediaFileUri": "s3://amzn-s3-demo-bucket/Amazon-S3-prefix/your-media-file-name.file-extension" }, "StartTime": "2020-09-18T16:36:18.568000+00:00", "CreationTime": "2020-09-18T16:36:18.547000+00:00", @@ -236,7 +236,7 @@ Contents of ``myseventhfile.json``:: "TranscriptionJobName": "cli-identify-language-transcription-job", "IdentifyLanguage": true, "Media": { - "MediaFileUri": "s3://DOC-EXAMPLE-BUCKET/Amazon-S3-prefix/your-media-file-name.file-extension" + "MediaFileUri": "s3://amzn-s3-demo-bucket/Amazon-S3-prefix/your-media-file-name.file-extension" } } @@ -247,7 +247,7 @@ Output:: "TranscriptionJobName": "cli-identify-language-transcription-job", "TranscriptionJobStatus": "IN_PROGRESS", "Media": { - "MediaFileUri": "s3://DOC-EXAMPLE-BUCKET/Amazon-S3-prefix/your-media-file-name.file-extension" + "MediaFileUri": "s3://amzn-s3-demo-bucket/Amazon-S3-prefix/your-media-file-name.file-extension" }, "StartTime": "2020-09-18T22:27:23.970000+00:00", "CreationTime": "2020-09-18T22:27:23.948000+00:00", @@ -354,7 +354,7 @@ Contents of ``mytenthfile.json``:: "TranscriptionJobName": "cli-clm-2-job-1", "LanguageCode": "language-code", "Media": { - "MediaFileUri": "s3://DOC-EXAMPLE-BUCKET/your-audio-file.file-extension" + "MediaFileUri": "s3://amzn-s3-demo-bucket/your-audio-file.file-extension" }, "ModelSettings": { "LanguageModelName":"cli-clm-2" @@ -369,7 +369,7 @@ Output:: "TranscriptionJobStatus": "IN_PROGRESS", "LanguageCode": "language-code", "Media": { - "MediaFileUri": "s3://DOC-EXAMPLE-BUCKET/your-audio-file.file-extension" + "MediaFileUri": "s3://amzn-s3-demo-bucket/your-audio-file.file-extension" }, "StartTime": "2020-09-28T17:56:01.835000+00:00", "CreationTime": "2020-09-28T17:56:01.801000+00:00", diff --git a/awscli/examples/transcribe/update-medical-vocabulary.rst b/awscli/examples/transcribe/update-medical-vocabulary.rst index 1082522032cb..990b3db75b5d 100644 --- a/awscli/examples/transcribe/update-medical-vocabulary.rst +++ b/awscli/examples/transcribe/update-medical-vocabulary.rst @@ -3,7 +3,7 @@ The following ``update-medical-vocabulary`` example replaces the terms used in a medical custom vocabulary with the new ones. Prerequisite: to replace the terms in a medical custom vocabulary, you need a file with new terms. :: aws transcribe update-medical-vocabulary \ - --vocabulary-file-uri s3://DOC-EXAMPLE-BUCKET/Amazon-S3-Prefix/medical-custom-vocabulary.txt \ + --vocabulary-file-uri s3://amzn-s3-demo-bucket/Amazon-S3-Prefix/medical-custom-vocabulary.txt \ --vocabulary-name medical-custom-vocabulary \ --language-code language diff --git a/awscli/examples/transcribe/update-vocabulary-filter.rst b/awscli/examples/transcribe/update-vocabulary-filter.rst index ae7492b99a6c..96d8d0b5311f 100644 --- a/awscli/examples/transcribe/update-vocabulary-filter.rst +++ b/awscli/examples/transcribe/update-vocabulary-filter.rst @@ -3,7 +3,7 @@ The following ``update-vocabulary-filter`` example replaces the words in a vocabulary filter with new ones. Prerequisite: To update a vocabulary filter with the new words, you must have those words saved as a text file. :: aws transcribe update-vocabulary-filter \ - --vocabulary-filter-file-uri s3://DOC-EXAMPLE-BUCKET/Amazon-S3-Prefix/your-text-file-to-update-your-vocabulary-filter.txt \ + --vocabulary-filter-file-uri s3://amzn-s3-demo-bucket/Amazon-S3-Prefix/your-text-file-to-update-your-vocabulary-filter.txt \ --vocabulary-filter-name vocabulary-filter-name Output:: diff --git a/awscli/examples/transcribe/update-vocabulary.rst b/awscli/examples/transcribe/update-vocabulary.rst index 69708bf8a50c..fef9560aadde 100644 --- a/awscli/examples/transcribe/update-vocabulary.rst +++ b/awscli/examples/transcribe/update-vocabulary.rst @@ -3,7 +3,7 @@ The following ``update-vocabulary`` example overwrites the terms used to create a custom vocabulary with the new ones that you provide. Prerequisite: to replace the terms in a custom vocabulary, you need a file with new terms. :: aws transcribe update-vocabulary \ - --vocabulary-file-uri s3://DOC-EXAMPLE-BUCKET/Amazon-S3-Prefix/custom-vocabulary.txt \ + --vocabulary-file-uri s3://amzn-s3-demo-bucket/Amazon-S3-Prefix/custom-vocabulary.txt \ --vocabulary-name custom-vocabulary \ --language-code language-code From 3813fdbb9a47b444c9cf3e6c99b61a2f2162efca Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 16 Dec 2024 19:08:19 +0000 Subject: [PATCH 0349/1087] Update changelog based on model updates --- .changes/next-release/api-change-cloud9-67168.json | 5 +++++ .changes/next-release/api-change-dlm-63289.json | 5 +++++ .changes/next-release/api-change-ec2-83410.json | 5 +++++ .changes/next-release/api-change-greengrassv2-3717.json | 5 +++++ .changes/next-release/api-change-medialive-82453.json | 5 +++++ .changes/next-release/api-change-rds-6059.json | 5 +++++ 6 files changed, 30 insertions(+) create mode 100644 .changes/next-release/api-change-cloud9-67168.json create mode 100644 .changes/next-release/api-change-dlm-63289.json create mode 100644 .changes/next-release/api-change-ec2-83410.json create mode 100644 .changes/next-release/api-change-greengrassv2-3717.json create mode 100644 .changes/next-release/api-change-medialive-82453.json create mode 100644 .changes/next-release/api-change-rds-6059.json diff --git a/.changes/next-release/api-change-cloud9-67168.json b/.changes/next-release/api-change-cloud9-67168.json new file mode 100644 index 000000000000..2925fa74c07d --- /dev/null +++ b/.changes/next-release/api-change-cloud9-67168.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``cloud9``", + "description": "Added information about Ubuntu 18.04 will be removed from the available imageIds for Cloud9 because Ubuntu 18.04 has ended standard support on May 31, 2023." +} diff --git a/.changes/next-release/api-change-dlm-63289.json b/.changes/next-release/api-change-dlm-63289.json new file mode 100644 index 000000000000..6f093950d3bb --- /dev/null +++ b/.changes/next-release/api-change-dlm-63289.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``dlm``", + "description": "This release adds support for Local Zones in Amazon Data Lifecycle Manager EBS snapshot lifecycle policies." +} diff --git a/.changes/next-release/api-change-ec2-83410.json b/.changes/next-release/api-change-ec2-83410.json new file mode 100644 index 000000000000..59616de4176d --- /dev/null +++ b/.changes/next-release/api-change-ec2-83410.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ec2``", + "description": "This release adds support for EBS local snapshots in AWS Dedicated Local Zones, which allows you to store snapshots of EBS volumes locally in Dedicated Local Zones." +} diff --git a/.changes/next-release/api-change-greengrassv2-3717.json b/.changes/next-release/api-change-greengrassv2-3717.json new file mode 100644 index 000000000000..0420047e3f45 --- /dev/null +++ b/.changes/next-release/api-change-greengrassv2-3717.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``greengrassv2``", + "description": "Add support for runtime in GetCoreDevice and ListCoreDevices APIs." +} diff --git a/.changes/next-release/api-change-medialive-82453.json b/.changes/next-release/api-change-medialive-82453.json new file mode 100644 index 000000000000..cfec01bdf27e --- /dev/null +++ b/.changes/next-release/api-change-medialive-82453.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``medialive``", + "description": "AWS Elemental MediaLive adds three new features: MediaPackage v2 endpoint support for live stream delivery, KLV metadata passthrough in CMAF Ingest output groups, and Metadata Name Modifier in CMAF Ingest output groups for customizing metadata track names in output streams." +} diff --git a/.changes/next-release/api-change-rds-6059.json b/.changes/next-release/api-change-rds-6059.json new file mode 100644 index 000000000000..eb25275f041c --- /dev/null +++ b/.changes/next-release/api-change-rds-6059.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``rds``", + "description": "This release adds support for the \"MYSQL_CACHING_SHA2_PASSWORD\" enum value for RDS Proxy ClientPasswordAuthType." +} From a9c21f8ebc7f04febbe09792035425a4a4711f0f Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 16 Dec 2024 19:09:45 +0000 Subject: [PATCH 0350/1087] Bumping version to 1.36.23 --- .changes/1.36.23.json | 32 +++++++++++++++++++ .../next-release/api-change-cloud9-67168.json | 5 --- .../next-release/api-change-dlm-63289.json | 5 --- .../next-release/api-change-ec2-83410.json | 5 --- .../api-change-greengrassv2-3717.json | 5 --- .../api-change-medialive-82453.json | 5 --- .../next-release/api-change-rds-6059.json | 5 --- CHANGELOG.rst | 11 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 12 files changed, 47 insertions(+), 34 deletions(-) create mode 100644 .changes/1.36.23.json delete mode 100644 .changes/next-release/api-change-cloud9-67168.json delete mode 100644 .changes/next-release/api-change-dlm-63289.json delete mode 100644 .changes/next-release/api-change-ec2-83410.json delete mode 100644 .changes/next-release/api-change-greengrassv2-3717.json delete mode 100644 .changes/next-release/api-change-medialive-82453.json delete mode 100644 .changes/next-release/api-change-rds-6059.json diff --git a/.changes/1.36.23.json b/.changes/1.36.23.json new file mode 100644 index 000000000000..4361c9732a39 --- /dev/null +++ b/.changes/1.36.23.json @@ -0,0 +1,32 @@ +[ + { + "category": "``cloud9``", + "description": "Added information about Ubuntu 18.04 will be removed from the available imageIds for Cloud9 because Ubuntu 18.04 has ended standard support on May 31, 2023.", + "type": "api-change" + }, + { + "category": "``dlm``", + "description": "This release adds support for Local Zones in Amazon Data Lifecycle Manager EBS snapshot lifecycle policies.", + "type": "api-change" + }, + { + "category": "``ec2``", + "description": "This release adds support for EBS local snapshots in AWS Dedicated Local Zones, which allows you to store snapshots of EBS volumes locally in Dedicated Local Zones.", + "type": "api-change" + }, + { + "category": "``greengrassv2``", + "description": "Add support for runtime in GetCoreDevice and ListCoreDevices APIs.", + "type": "api-change" + }, + { + "category": "``medialive``", + "description": "AWS Elemental MediaLive adds three new features: MediaPackage v2 endpoint support for live stream delivery, KLV metadata passthrough in CMAF Ingest output groups, and Metadata Name Modifier in CMAF Ingest output groups for customizing metadata track names in output streams.", + "type": "api-change" + }, + { + "category": "``rds``", + "description": "This release adds support for the \"MYSQL_CACHING_SHA2_PASSWORD\" enum value for RDS Proxy ClientPasswordAuthType.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-cloud9-67168.json b/.changes/next-release/api-change-cloud9-67168.json deleted file mode 100644 index 2925fa74c07d..000000000000 --- a/.changes/next-release/api-change-cloud9-67168.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``cloud9``", - "description": "Added information about Ubuntu 18.04 will be removed from the available imageIds for Cloud9 because Ubuntu 18.04 has ended standard support on May 31, 2023." -} diff --git a/.changes/next-release/api-change-dlm-63289.json b/.changes/next-release/api-change-dlm-63289.json deleted file mode 100644 index 6f093950d3bb..000000000000 --- a/.changes/next-release/api-change-dlm-63289.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``dlm``", - "description": "This release adds support for Local Zones in Amazon Data Lifecycle Manager EBS snapshot lifecycle policies." -} diff --git a/.changes/next-release/api-change-ec2-83410.json b/.changes/next-release/api-change-ec2-83410.json deleted file mode 100644 index 59616de4176d..000000000000 --- a/.changes/next-release/api-change-ec2-83410.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ec2``", - "description": "This release adds support for EBS local snapshots in AWS Dedicated Local Zones, which allows you to store snapshots of EBS volumes locally in Dedicated Local Zones." -} diff --git a/.changes/next-release/api-change-greengrassv2-3717.json b/.changes/next-release/api-change-greengrassv2-3717.json deleted file mode 100644 index 0420047e3f45..000000000000 --- a/.changes/next-release/api-change-greengrassv2-3717.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``greengrassv2``", - "description": "Add support for runtime in GetCoreDevice and ListCoreDevices APIs." -} diff --git a/.changes/next-release/api-change-medialive-82453.json b/.changes/next-release/api-change-medialive-82453.json deleted file mode 100644 index cfec01bdf27e..000000000000 --- a/.changes/next-release/api-change-medialive-82453.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``medialive``", - "description": "AWS Elemental MediaLive adds three new features: MediaPackage v2 endpoint support for live stream delivery, KLV metadata passthrough in CMAF Ingest output groups, and Metadata Name Modifier in CMAF Ingest output groups for customizing metadata track names in output streams." -} diff --git a/.changes/next-release/api-change-rds-6059.json b/.changes/next-release/api-change-rds-6059.json deleted file mode 100644 index eb25275f041c..000000000000 --- a/.changes/next-release/api-change-rds-6059.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``rds``", - "description": "This release adds support for the \"MYSQL_CACHING_SHA2_PASSWORD\" enum value for RDS Proxy ClientPasswordAuthType." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 3d2c9612f450..c6df01d17dad 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,17 @@ CHANGELOG ========= +1.36.23 +======= + +* api-change:``cloud9``: Added information about Ubuntu 18.04 will be removed from the available imageIds for Cloud9 because Ubuntu 18.04 has ended standard support on May 31, 2023. +* api-change:``dlm``: This release adds support for Local Zones in Amazon Data Lifecycle Manager EBS snapshot lifecycle policies. +* api-change:``ec2``: This release adds support for EBS local snapshots in AWS Dedicated Local Zones, which allows you to store snapshots of EBS volumes locally in Dedicated Local Zones. +* api-change:``greengrassv2``: Add support for runtime in GetCoreDevice and ListCoreDevices APIs. +* api-change:``medialive``: AWS Elemental MediaLive adds three new features: MediaPackage v2 endpoint support for live stream delivery, KLV metadata passthrough in CMAF Ingest output groups, and Metadata Name Modifier in CMAF Ingest output groups for customizing metadata track names in output streams. +* api-change:``rds``: This release adds support for the "MYSQL_CACHING_SHA2_PASSWORD" enum value for RDS Proxy ClientPasswordAuthType. + + 1.36.22 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index a61dafc9809e..5f5c72d28a88 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.36.22' +__version__ = '1.36.23' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 87c77f095d83..3056b5433247 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.36.' # The full version, including alpha/beta/rc tags. -release = '1.36.22' +release = '1.36.23' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index d71359f4547a..7103657e4652 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.81 + botocore==1.35.82 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index d03966b07f03..24353933c8e4 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.81', + 'botocore==1.35.82', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 7b7bd52db5789fe39706a50646b5ad8f60ef9b63 Mon Sep 17 00:00:00 2001 From: PacoVK Date: Mon, 16 Dec 2024 22:38:27 +0100 Subject: [PATCH 0351/1087] Fix examples that use the parameter --auto-scaling-group-names (#9122) --- awscli/examples/autoscaling/describe-auto-scaling-groups.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/awscli/examples/autoscaling/describe-auto-scaling-groups.rst b/awscli/examples/autoscaling/describe-auto-scaling-groups.rst index c009486d0c22..2b45661175f4 100644 --- a/awscli/examples/autoscaling/describe-auto-scaling-groups.rst +++ b/awscli/examples/autoscaling/describe-auto-scaling-groups.rst @@ -3,7 +3,7 @@ This example describes the specified Auto Scaling group. :: aws autoscaling describe-auto-scaling-groups \ - --auto-scaling-group-name my-asg + --auto-scaling-group-names my-asg Output:: @@ -66,7 +66,7 @@ This example describes the specified Auto Scaling groups. It allows you to speci aws autoscaling describe-auto-scaling-groups \ --max-items 100 \ - --auto-scaling-group-name "group1" "group2" "group3" "group4" + --auto-scaling-group-names "group1" "group2" "group3" "group4" See example 1 for sample output. From 9ad821a0a2f09ee6751b2dd313bd36f5c2825d7d Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 17 Dec 2024 19:03:40 +0000 Subject: [PATCH 0352/1087] Update changelog based on model updates --- .changes/next-release/api-change-account-584.json | 5 +++++ .changes/next-release/api-change-backup-41079.json | 5 +++++ .changes/next-release/api-change-backupsearch-53507.json | 5 +++++ .changes/next-release/api-change-batch-88146.json | 5 +++++ .changes/next-release/api-change-cleanroomsml-6767.json | 5 +++++ .changes/next-release/api-change-cloudfront-94601.json | 5 +++++ .changes/next-release/api-change-codepipeline-39954.json | 5 +++++ .changes/next-release/api-change-ecs-66107.json | 5 +++++ .changes/next-release/api-change-m2-29268.json | 5 +++++ .changes/next-release/api-change-synthetics-82485.json | 5 +++++ 10 files changed, 50 insertions(+) create mode 100644 .changes/next-release/api-change-account-584.json create mode 100644 .changes/next-release/api-change-backup-41079.json create mode 100644 .changes/next-release/api-change-backupsearch-53507.json create mode 100644 .changes/next-release/api-change-batch-88146.json create mode 100644 .changes/next-release/api-change-cleanroomsml-6767.json create mode 100644 .changes/next-release/api-change-cloudfront-94601.json create mode 100644 .changes/next-release/api-change-codepipeline-39954.json create mode 100644 .changes/next-release/api-change-ecs-66107.json create mode 100644 .changes/next-release/api-change-m2-29268.json create mode 100644 .changes/next-release/api-change-synthetics-82485.json diff --git a/.changes/next-release/api-change-account-584.json b/.changes/next-release/api-change-account-584.json new file mode 100644 index 000000000000..075e391a7ad8 --- /dev/null +++ b/.changes/next-release/api-change-account-584.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``account``", + "description": "Update endpoint configuration." +} diff --git a/.changes/next-release/api-change-backup-41079.json b/.changes/next-release/api-change-backup-41079.json new file mode 100644 index 000000000000..6d5e5fc9d92e --- /dev/null +++ b/.changes/next-release/api-change-backup-41079.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``backup``", + "description": "Add Support for Backup Indexing" +} diff --git a/.changes/next-release/api-change-backupsearch-53507.json b/.changes/next-release/api-change-backupsearch-53507.json new file mode 100644 index 000000000000..070702a84108 --- /dev/null +++ b/.changes/next-release/api-change-backupsearch-53507.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``backupsearch``", + "description": "Add support for searching backups" +} diff --git a/.changes/next-release/api-change-batch-88146.json b/.changes/next-release/api-change-batch-88146.json new file mode 100644 index 000000000000..31f5afe1f351 --- /dev/null +++ b/.changes/next-release/api-change-batch-88146.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``batch``", + "description": "This feature allows AWS Batch on Amazon EKS to support configuration of Pod Annotations, overriding Namespace on which the Batch job's Pod runs on, and allows Subpath and Persistent Volume claim to be set for AWS Batch on Amazon EKS jobs." +} diff --git a/.changes/next-release/api-change-cleanroomsml-6767.json b/.changes/next-release/api-change-cleanroomsml-6767.json new file mode 100644 index 000000000000..47e5d9c770a9 --- /dev/null +++ b/.changes/next-release/api-change-cleanroomsml-6767.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``cleanroomsml``", + "description": "Add support for SQL compute configuration for StartAudienceGenerationJob API." +} diff --git a/.changes/next-release/api-change-cloudfront-94601.json b/.changes/next-release/api-change-cloudfront-94601.json new file mode 100644 index 000000000000..9e97799d46c5 --- /dev/null +++ b/.changes/next-release/api-change-cloudfront-94601.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``cloudfront``", + "description": "Adds support for OriginReadTimeout and OriginKeepaliveTimeout to create CloudFront Distributions with VPC Origins." +} diff --git a/.changes/next-release/api-change-codepipeline-39954.json b/.changes/next-release/api-change-codepipeline-39954.json new file mode 100644 index 000000000000..0c18d9c3b234 --- /dev/null +++ b/.changes/next-release/api-change-codepipeline-39954.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``codepipeline``", + "description": "AWS CodePipeline V2 type pipelines now support Managed Compute Rule." +} diff --git a/.changes/next-release/api-change-ecs-66107.json b/.changes/next-release/api-change-ecs-66107.json new file mode 100644 index 000000000000..131899055350 --- /dev/null +++ b/.changes/next-release/api-change-ecs-66107.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ecs``", + "description": "Added support for enableFaultInjection task definition parameter which can be used to enable Fault Injection feature on ECS tasks." +} diff --git a/.changes/next-release/api-change-m2-29268.json b/.changes/next-release/api-change-m2-29268.json new file mode 100644 index 000000000000..853800834072 --- /dev/null +++ b/.changes/next-release/api-change-m2-29268.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``m2``", + "description": "This release adds support for AWS Mainframe Modernization(M2) Service to allow specifying network type(ipv4, dual) for the environment instances. For dual network type, m2 environment applications will serve both IPv4 and IPv6 requests, whereas for ipv4 it will serve only IPv4 requests." +} diff --git a/.changes/next-release/api-change-synthetics-82485.json b/.changes/next-release/api-change-synthetics-82485.json new file mode 100644 index 000000000000..dc398e9f8e0e --- /dev/null +++ b/.changes/next-release/api-change-synthetics-82485.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``synthetics``", + "description": "Add support to toggle outbound IPv6 traffic on canaries connected to dualstack subnets. This behavior can be controlled via the new Ipv6AllowedForDualStack parameter of the VpcConfig input object in CreateCanary and UpdateCanary APIs." +} From d32a3cd9925d4ddc31196a5650e07df7a3ad2b69 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 17 Dec 2024 19:04:52 +0000 Subject: [PATCH 0353/1087] Bumping version to 1.36.24 --- .changes/1.36.24.json | 52 +++++++++++++++++++ .../next-release/api-change-account-584.json | 5 -- .../next-release/api-change-backup-41079.json | 5 -- .../api-change-backupsearch-53507.json | 5 -- .../next-release/api-change-batch-88146.json | 5 -- .../api-change-cleanroomsml-6767.json | 5 -- .../api-change-cloudfront-94601.json | 5 -- .../api-change-codepipeline-39954.json | 5 -- .../next-release/api-change-ecs-66107.json | 5 -- .../next-release/api-change-m2-29268.json | 5 -- .../api-change-synthetics-82485.json | 5 -- CHANGELOG.rst | 15 ++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 16 files changed, 71 insertions(+), 54 deletions(-) create mode 100644 .changes/1.36.24.json delete mode 100644 .changes/next-release/api-change-account-584.json delete mode 100644 .changes/next-release/api-change-backup-41079.json delete mode 100644 .changes/next-release/api-change-backupsearch-53507.json delete mode 100644 .changes/next-release/api-change-batch-88146.json delete mode 100644 .changes/next-release/api-change-cleanroomsml-6767.json delete mode 100644 .changes/next-release/api-change-cloudfront-94601.json delete mode 100644 .changes/next-release/api-change-codepipeline-39954.json delete mode 100644 .changes/next-release/api-change-ecs-66107.json delete mode 100644 .changes/next-release/api-change-m2-29268.json delete mode 100644 .changes/next-release/api-change-synthetics-82485.json diff --git a/.changes/1.36.24.json b/.changes/1.36.24.json new file mode 100644 index 000000000000..45fb0379d44a --- /dev/null +++ b/.changes/1.36.24.json @@ -0,0 +1,52 @@ +[ + { + "category": "``account``", + "description": "Update endpoint configuration.", + "type": "api-change" + }, + { + "category": "``backup``", + "description": "Add Support for Backup Indexing", + "type": "api-change" + }, + { + "category": "``backupsearch``", + "description": "Add support for searching backups", + "type": "api-change" + }, + { + "category": "``batch``", + "description": "This feature allows AWS Batch on Amazon EKS to support configuration of Pod Annotations, overriding Namespace on which the Batch job's Pod runs on, and allows Subpath and Persistent Volume claim to be set for AWS Batch on Amazon EKS jobs.", + "type": "api-change" + }, + { + "category": "``cleanroomsml``", + "description": "Add support for SQL compute configuration for StartAudienceGenerationJob API.", + "type": "api-change" + }, + { + "category": "``cloudfront``", + "description": "Adds support for OriginReadTimeout and OriginKeepaliveTimeout to create CloudFront Distributions with VPC Origins.", + "type": "api-change" + }, + { + "category": "``codepipeline``", + "description": "AWS CodePipeline V2 type pipelines now support Managed Compute Rule.", + "type": "api-change" + }, + { + "category": "``ecs``", + "description": "Added support for enableFaultInjection task definition parameter which can be used to enable Fault Injection feature on ECS tasks.", + "type": "api-change" + }, + { + "category": "``m2``", + "description": "This release adds support for AWS Mainframe Modernization(M2) Service to allow specifying network type(ipv4, dual) for the environment instances. For dual network type, m2 environment applications will serve both IPv4 and IPv6 requests, whereas for ipv4 it will serve only IPv4 requests.", + "type": "api-change" + }, + { + "category": "``synthetics``", + "description": "Add support to toggle outbound IPv6 traffic on canaries connected to dualstack subnets. This behavior can be controlled via the new Ipv6AllowedForDualStack parameter of the VpcConfig input object in CreateCanary and UpdateCanary APIs.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-account-584.json b/.changes/next-release/api-change-account-584.json deleted file mode 100644 index 075e391a7ad8..000000000000 --- a/.changes/next-release/api-change-account-584.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``account``", - "description": "Update endpoint configuration." -} diff --git a/.changes/next-release/api-change-backup-41079.json b/.changes/next-release/api-change-backup-41079.json deleted file mode 100644 index 6d5e5fc9d92e..000000000000 --- a/.changes/next-release/api-change-backup-41079.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``backup``", - "description": "Add Support for Backup Indexing" -} diff --git a/.changes/next-release/api-change-backupsearch-53507.json b/.changes/next-release/api-change-backupsearch-53507.json deleted file mode 100644 index 070702a84108..000000000000 --- a/.changes/next-release/api-change-backupsearch-53507.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``backupsearch``", - "description": "Add support for searching backups" -} diff --git a/.changes/next-release/api-change-batch-88146.json b/.changes/next-release/api-change-batch-88146.json deleted file mode 100644 index 31f5afe1f351..000000000000 --- a/.changes/next-release/api-change-batch-88146.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``batch``", - "description": "This feature allows AWS Batch on Amazon EKS to support configuration of Pod Annotations, overriding Namespace on which the Batch job's Pod runs on, and allows Subpath and Persistent Volume claim to be set for AWS Batch on Amazon EKS jobs." -} diff --git a/.changes/next-release/api-change-cleanroomsml-6767.json b/.changes/next-release/api-change-cleanroomsml-6767.json deleted file mode 100644 index 47e5d9c770a9..000000000000 --- a/.changes/next-release/api-change-cleanroomsml-6767.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``cleanroomsml``", - "description": "Add support for SQL compute configuration for StartAudienceGenerationJob API." -} diff --git a/.changes/next-release/api-change-cloudfront-94601.json b/.changes/next-release/api-change-cloudfront-94601.json deleted file mode 100644 index 9e97799d46c5..000000000000 --- a/.changes/next-release/api-change-cloudfront-94601.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``cloudfront``", - "description": "Adds support for OriginReadTimeout and OriginKeepaliveTimeout to create CloudFront Distributions with VPC Origins." -} diff --git a/.changes/next-release/api-change-codepipeline-39954.json b/.changes/next-release/api-change-codepipeline-39954.json deleted file mode 100644 index 0c18d9c3b234..000000000000 --- a/.changes/next-release/api-change-codepipeline-39954.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``codepipeline``", - "description": "AWS CodePipeline V2 type pipelines now support Managed Compute Rule." -} diff --git a/.changes/next-release/api-change-ecs-66107.json b/.changes/next-release/api-change-ecs-66107.json deleted file mode 100644 index 131899055350..000000000000 --- a/.changes/next-release/api-change-ecs-66107.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ecs``", - "description": "Added support for enableFaultInjection task definition parameter which can be used to enable Fault Injection feature on ECS tasks." -} diff --git a/.changes/next-release/api-change-m2-29268.json b/.changes/next-release/api-change-m2-29268.json deleted file mode 100644 index 853800834072..000000000000 --- a/.changes/next-release/api-change-m2-29268.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``m2``", - "description": "This release adds support for AWS Mainframe Modernization(M2) Service to allow specifying network type(ipv4, dual) for the environment instances. For dual network type, m2 environment applications will serve both IPv4 and IPv6 requests, whereas for ipv4 it will serve only IPv4 requests." -} diff --git a/.changes/next-release/api-change-synthetics-82485.json b/.changes/next-release/api-change-synthetics-82485.json deleted file mode 100644 index dc398e9f8e0e..000000000000 --- a/.changes/next-release/api-change-synthetics-82485.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``synthetics``", - "description": "Add support to toggle outbound IPv6 traffic on canaries connected to dualstack subnets. This behavior can be controlled via the new Ipv6AllowedForDualStack parameter of the VpcConfig input object in CreateCanary and UpdateCanary APIs." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index c6df01d17dad..555c6f196281 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,21 @@ CHANGELOG ========= +1.36.24 +======= + +* api-change:``account``: Update endpoint configuration. +* api-change:``backup``: Add Support for Backup Indexing +* api-change:``backupsearch``: Add support for searching backups +* api-change:``batch``: This feature allows AWS Batch on Amazon EKS to support configuration of Pod Annotations, overriding Namespace on which the Batch job's Pod runs on, and allows Subpath and Persistent Volume claim to be set for AWS Batch on Amazon EKS jobs. +* api-change:``cleanroomsml``: Add support for SQL compute configuration for StartAudienceGenerationJob API. +* api-change:``cloudfront``: Adds support for OriginReadTimeout and OriginKeepaliveTimeout to create CloudFront Distributions with VPC Origins. +* api-change:``codepipeline``: AWS CodePipeline V2 type pipelines now support Managed Compute Rule. +* api-change:``ecs``: Added support for enableFaultInjection task definition parameter which can be used to enable Fault Injection feature on ECS tasks. +* api-change:``m2``: This release adds support for AWS Mainframe Modernization(M2) Service to allow specifying network type(ipv4, dual) for the environment instances. For dual network type, m2 environment applications will serve both IPv4 and IPv6 requests, whereas for ipv4 it will serve only IPv4 requests. +* api-change:``synthetics``: Add support to toggle outbound IPv6 traffic on canaries connected to dualstack subnets. This behavior can be controlled via the new Ipv6AllowedForDualStack parameter of the VpcConfig input object in CreateCanary and UpdateCanary APIs. + + 1.36.23 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 5f5c72d28a88..170543e86e96 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.36.23' +__version__ = '1.36.24' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 3056b5433247..1bfd59de69ac 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.36.' # The full version, including alpha/beta/rc tags. -release = '1.36.23' +release = '1.36.24' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 7103657e4652..5227f8c13ea3 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.82 + botocore==1.35.83 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 24353933c8e4..6507e054539d 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.82', + 'botocore==1.35.83', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From ddbe3d0974bc32e4ba59ee0de7d95943788ee79b Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 18 Dec 2024 19:05:03 +0000 Subject: [PATCH 0354/1087] Update changelog based on model updates --- .changes/next-release/api-change-amplify-47663.json | 5 +++++ .changes/next-release/api-change-budgets-95016.json | 5 +++++ .changes/next-release/api-change-connect-77917.json | 5 +++++ .../next-release/api-change-connectparticipant-59844.json | 5 +++++ .changes/next-release/api-change-datasync-50294.json | 5 +++++ .changes/next-release/api-change-iot-77262.json | 5 +++++ .changes/next-release/api-change-mwaa-6237.json | 5 +++++ .changes/next-release/api-change-quicksight-17995.json | 5 +++++ .changes/next-release/api-change-resiliencehub-31143.json | 5 +++++ .changes/next-release/api-change-transfer-86327.json | 5 +++++ 10 files changed, 50 insertions(+) create mode 100644 .changes/next-release/api-change-amplify-47663.json create mode 100644 .changes/next-release/api-change-budgets-95016.json create mode 100644 .changes/next-release/api-change-connect-77917.json create mode 100644 .changes/next-release/api-change-connectparticipant-59844.json create mode 100644 .changes/next-release/api-change-datasync-50294.json create mode 100644 .changes/next-release/api-change-iot-77262.json create mode 100644 .changes/next-release/api-change-mwaa-6237.json create mode 100644 .changes/next-release/api-change-quicksight-17995.json create mode 100644 .changes/next-release/api-change-resiliencehub-31143.json create mode 100644 .changes/next-release/api-change-transfer-86327.json diff --git a/.changes/next-release/api-change-amplify-47663.json b/.changes/next-release/api-change-amplify-47663.json new file mode 100644 index 000000000000..1c7f21adbe03 --- /dev/null +++ b/.changes/next-release/api-change-amplify-47663.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``amplify``", + "description": "Added WAF Configuration to Amplify Apps" +} diff --git a/.changes/next-release/api-change-budgets-95016.json b/.changes/next-release/api-change-budgets-95016.json new file mode 100644 index 000000000000..08bc6647f9fa --- /dev/null +++ b/.changes/next-release/api-change-budgets-95016.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``budgets``", + "description": "Releasing minor partition endpoint updates" +} diff --git a/.changes/next-release/api-change-connect-77917.json b/.changes/next-release/api-change-connect-77917.json new file mode 100644 index 000000000000..d2190b5fda8f --- /dev/null +++ b/.changes/next-release/api-change-connect-77917.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``connect``", + "description": "This release adds support for the UpdateParticipantAuthentication API used for customer authentication within Amazon Connect chats." +} diff --git a/.changes/next-release/api-change-connectparticipant-59844.json b/.changes/next-release/api-change-connectparticipant-59844.json new file mode 100644 index 000000000000..a4a5e8e253b0 --- /dev/null +++ b/.changes/next-release/api-change-connectparticipant-59844.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``connectparticipant``", + "description": "This release adds support for the GetAuthenticationUrl and CancelParticipantAuthentication APIs used for customer authentication within Amazon Connect chats. There are also minor updates to the GetAttachment API." +} diff --git a/.changes/next-release/api-change-datasync-50294.json b/.changes/next-release/api-change-datasync-50294.json new file mode 100644 index 000000000000..9da116e9eac6 --- /dev/null +++ b/.changes/next-release/api-change-datasync-50294.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``datasync``", + "description": "AWS DataSync introduces the ability to update attributes for in-cloud locations." +} diff --git a/.changes/next-release/api-change-iot-77262.json b/.changes/next-release/api-change-iot-77262.json new file mode 100644 index 000000000000..09f87d478c4c --- /dev/null +++ b/.changes/next-release/api-change-iot-77262.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``iot``", + "description": "Release connectivity status query API which is a dedicated high throughput(TPS) API to query a specific device's most recent connectivity state and metadata." +} diff --git a/.changes/next-release/api-change-mwaa-6237.json b/.changes/next-release/api-change-mwaa-6237.json new file mode 100644 index 000000000000..6b6c47e33191 --- /dev/null +++ b/.changes/next-release/api-change-mwaa-6237.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``mwaa``", + "description": "Added support for Apache Airflow version 2.10.3 to MWAA." +} diff --git a/.changes/next-release/api-change-quicksight-17995.json b/.changes/next-release/api-change-quicksight-17995.json new file mode 100644 index 000000000000..1807e2639eb0 --- /dev/null +++ b/.changes/next-release/api-change-quicksight-17995.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``quicksight``", + "description": "Add support for PerformanceConfiguration attribute to Dataset entity. Allow PerformanceConfiguration specification in CreateDataset and UpdateDataset APIs." +} diff --git a/.changes/next-release/api-change-resiliencehub-31143.json b/.changes/next-release/api-change-resiliencehub-31143.json new file mode 100644 index 000000000000..db8444a81de0 --- /dev/null +++ b/.changes/next-release/api-change-resiliencehub-31143.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``resiliencehub``", + "description": "AWS Resilience Hub now automatically detects already configured CloudWatch alarms and FIS experiments as part of the assessment process and returns the discovered resources in the corresponding list API responses. It also allows you to include or exclude test recommendations for an AppComponent." +} diff --git a/.changes/next-release/api-change-transfer-86327.json b/.changes/next-release/api-change-transfer-86327.json new file mode 100644 index 000000000000..5245befcf448 --- /dev/null +++ b/.changes/next-release/api-change-transfer-86327.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``transfer``", + "description": "Added AS2 agreement configurations to control filename preservation and message signing enforcement. Added AS2 connector configuration to preserve content type from S3 objects." +} From b3d10f7845a1bfae833abe43e3559aca46afb0f4 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 18 Dec 2024 19:06:15 +0000 Subject: [PATCH 0355/1087] Bumping version to 1.36.25 --- .changes/1.36.25.json | 52 +++++++++++++++++++ .../api-change-amplify-47663.json | 5 -- .../api-change-budgets-95016.json | 5 -- .../api-change-connect-77917.json | 5 -- .../api-change-connectparticipant-59844.json | 5 -- .../api-change-datasync-50294.json | 5 -- .../next-release/api-change-iot-77262.json | 5 -- .../next-release/api-change-mwaa-6237.json | 5 -- .../api-change-quicksight-17995.json | 5 -- .../api-change-resiliencehub-31143.json | 5 -- .../api-change-transfer-86327.json | 5 -- CHANGELOG.rst | 15 ++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 16 files changed, 71 insertions(+), 54 deletions(-) create mode 100644 .changes/1.36.25.json delete mode 100644 .changes/next-release/api-change-amplify-47663.json delete mode 100644 .changes/next-release/api-change-budgets-95016.json delete mode 100644 .changes/next-release/api-change-connect-77917.json delete mode 100644 .changes/next-release/api-change-connectparticipant-59844.json delete mode 100644 .changes/next-release/api-change-datasync-50294.json delete mode 100644 .changes/next-release/api-change-iot-77262.json delete mode 100644 .changes/next-release/api-change-mwaa-6237.json delete mode 100644 .changes/next-release/api-change-quicksight-17995.json delete mode 100644 .changes/next-release/api-change-resiliencehub-31143.json delete mode 100644 .changes/next-release/api-change-transfer-86327.json diff --git a/.changes/1.36.25.json b/.changes/1.36.25.json new file mode 100644 index 000000000000..8caed448506a --- /dev/null +++ b/.changes/1.36.25.json @@ -0,0 +1,52 @@ +[ + { + "category": "``amplify``", + "description": "Added WAF Configuration to Amplify Apps", + "type": "api-change" + }, + { + "category": "``budgets``", + "description": "Releasing minor partition endpoint updates", + "type": "api-change" + }, + { + "category": "``connect``", + "description": "This release adds support for the UpdateParticipantAuthentication API used for customer authentication within Amazon Connect chats.", + "type": "api-change" + }, + { + "category": "``connectparticipant``", + "description": "This release adds support for the GetAuthenticationUrl and CancelParticipantAuthentication APIs used for customer authentication within Amazon Connect chats. There are also minor updates to the GetAttachment API.", + "type": "api-change" + }, + { + "category": "``datasync``", + "description": "AWS DataSync introduces the ability to update attributes for in-cloud locations.", + "type": "api-change" + }, + { + "category": "``iot``", + "description": "Release connectivity status query API which is a dedicated high throughput(TPS) API to query a specific device's most recent connectivity state and metadata.", + "type": "api-change" + }, + { + "category": "``mwaa``", + "description": "Added support for Apache Airflow version 2.10.3 to MWAA.", + "type": "api-change" + }, + { + "category": "``quicksight``", + "description": "Add support for PerformanceConfiguration attribute to Dataset entity. Allow PerformanceConfiguration specification in CreateDataset and UpdateDataset APIs.", + "type": "api-change" + }, + { + "category": "``resiliencehub``", + "description": "AWS Resilience Hub now automatically detects already configured CloudWatch alarms and FIS experiments as part of the assessment process and returns the discovered resources in the corresponding list API responses. It also allows you to include or exclude test recommendations for an AppComponent.", + "type": "api-change" + }, + { + "category": "``transfer``", + "description": "Added AS2 agreement configurations to control filename preservation and message signing enforcement. Added AS2 connector configuration to preserve content type from S3 objects.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-amplify-47663.json b/.changes/next-release/api-change-amplify-47663.json deleted file mode 100644 index 1c7f21adbe03..000000000000 --- a/.changes/next-release/api-change-amplify-47663.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``amplify``", - "description": "Added WAF Configuration to Amplify Apps" -} diff --git a/.changes/next-release/api-change-budgets-95016.json b/.changes/next-release/api-change-budgets-95016.json deleted file mode 100644 index 08bc6647f9fa..000000000000 --- a/.changes/next-release/api-change-budgets-95016.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``budgets``", - "description": "Releasing minor partition endpoint updates" -} diff --git a/.changes/next-release/api-change-connect-77917.json b/.changes/next-release/api-change-connect-77917.json deleted file mode 100644 index d2190b5fda8f..000000000000 --- a/.changes/next-release/api-change-connect-77917.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``connect``", - "description": "This release adds support for the UpdateParticipantAuthentication API used for customer authentication within Amazon Connect chats." -} diff --git a/.changes/next-release/api-change-connectparticipant-59844.json b/.changes/next-release/api-change-connectparticipant-59844.json deleted file mode 100644 index a4a5e8e253b0..000000000000 --- a/.changes/next-release/api-change-connectparticipant-59844.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``connectparticipant``", - "description": "This release adds support for the GetAuthenticationUrl and CancelParticipantAuthentication APIs used for customer authentication within Amazon Connect chats. There are also minor updates to the GetAttachment API." -} diff --git a/.changes/next-release/api-change-datasync-50294.json b/.changes/next-release/api-change-datasync-50294.json deleted file mode 100644 index 9da116e9eac6..000000000000 --- a/.changes/next-release/api-change-datasync-50294.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``datasync``", - "description": "AWS DataSync introduces the ability to update attributes for in-cloud locations." -} diff --git a/.changes/next-release/api-change-iot-77262.json b/.changes/next-release/api-change-iot-77262.json deleted file mode 100644 index 09f87d478c4c..000000000000 --- a/.changes/next-release/api-change-iot-77262.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``iot``", - "description": "Release connectivity status query API which is a dedicated high throughput(TPS) API to query a specific device's most recent connectivity state and metadata." -} diff --git a/.changes/next-release/api-change-mwaa-6237.json b/.changes/next-release/api-change-mwaa-6237.json deleted file mode 100644 index 6b6c47e33191..000000000000 --- a/.changes/next-release/api-change-mwaa-6237.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``mwaa``", - "description": "Added support for Apache Airflow version 2.10.3 to MWAA." -} diff --git a/.changes/next-release/api-change-quicksight-17995.json b/.changes/next-release/api-change-quicksight-17995.json deleted file mode 100644 index 1807e2639eb0..000000000000 --- a/.changes/next-release/api-change-quicksight-17995.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``quicksight``", - "description": "Add support for PerformanceConfiguration attribute to Dataset entity. Allow PerformanceConfiguration specification in CreateDataset and UpdateDataset APIs." -} diff --git a/.changes/next-release/api-change-resiliencehub-31143.json b/.changes/next-release/api-change-resiliencehub-31143.json deleted file mode 100644 index db8444a81de0..000000000000 --- a/.changes/next-release/api-change-resiliencehub-31143.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``resiliencehub``", - "description": "AWS Resilience Hub now automatically detects already configured CloudWatch alarms and FIS experiments as part of the assessment process and returns the discovered resources in the corresponding list API responses. It also allows you to include or exclude test recommendations for an AppComponent." -} diff --git a/.changes/next-release/api-change-transfer-86327.json b/.changes/next-release/api-change-transfer-86327.json deleted file mode 100644 index 5245befcf448..000000000000 --- a/.changes/next-release/api-change-transfer-86327.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``transfer``", - "description": "Added AS2 agreement configurations to control filename preservation and message signing enforcement. Added AS2 connector configuration to preserve content type from S3 objects." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 555c6f196281..70be50ff1e61 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,21 @@ CHANGELOG ========= +1.36.25 +======= + +* api-change:``amplify``: Added WAF Configuration to Amplify Apps +* api-change:``budgets``: Releasing minor partition endpoint updates +* api-change:``connect``: This release adds support for the UpdateParticipantAuthentication API used for customer authentication within Amazon Connect chats. +* api-change:``connectparticipant``: This release adds support for the GetAuthenticationUrl and CancelParticipantAuthentication APIs used for customer authentication within Amazon Connect chats. There are also minor updates to the GetAttachment API. +* api-change:``datasync``: AWS DataSync introduces the ability to update attributes for in-cloud locations. +* api-change:``iot``: Release connectivity status query API which is a dedicated high throughput(TPS) API to query a specific device's most recent connectivity state and metadata. +* api-change:``mwaa``: Added support for Apache Airflow version 2.10.3 to MWAA. +* api-change:``quicksight``: Add support for PerformanceConfiguration attribute to Dataset entity. Allow PerformanceConfiguration specification in CreateDataset and UpdateDataset APIs. +* api-change:``resiliencehub``: AWS Resilience Hub now automatically detects already configured CloudWatch alarms and FIS experiments as part of the assessment process and returns the discovered resources in the corresponding list API responses. It also allows you to include or exclude test recommendations for an AppComponent. +* api-change:``transfer``: Added AS2 agreement configurations to control filename preservation and message signing enforcement. Added AS2 connector configuration to preserve content type from S3 objects. + + 1.36.24 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 170543e86e96..34fbd0a61310 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.36.24' +__version__ = '1.36.25' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 1bfd59de69ac..0513d23db1c8 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.36.' # The full version, including alpha/beta/rc tags. -release = '1.36.24' +release = '1.36.25' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 5227f8c13ea3..80080a7d4df9 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.83 + botocore==1.35.84 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 6507e054539d..3c0322f7cd1e 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.83', + 'botocore==1.35.84', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 08c02298241fb98b402601eaa0ef9a75410ba4f7 Mon Sep 17 00:00:00 2001 From: Elysa <60367675+elysahall@users.noreply.github.com> Date: Thu, 19 Dec 2024 06:34:19 -0800 Subject: [PATCH 0356/1087] CLI examples cloudfront, cognito-idp, ec2, ecr-public, ecs, inspector2, ivs-realtime, s3api, workmail (#8960) --- .../cloudfront/create-distribution.rst | 236 +++---- .../cloudfront/get-distribution-config.rst | 16 +- .../cloudfront/list-distributions.rst | 278 +-------- .../cloudfront/update-distribution.rst | 40 +- .../cognito-idp/admim-disable-user.rst | 8 - .../cognito-idp/admim-enable-user.rst | 8 - .../admin-disable-provider-for-user.rst | 9 + .../cognito-idp/admin-disable-user.rst | 9 + .../cognito-idp/admin-enable-user.rst | 9 + .../examples/cognito-idp/admin-get-device.rst | 59 +- .../cognito-idp/admin-initiate-auth.rst | 49 +- .../admin-link-provider-for-user.rst | 10 + .../cognito-idp/admin-list-devices.rst | 60 +- .../admin-list-user-auth-events.rst | 48 +- .../admin-respond-to-auth-challenge.rst | 29 + .../cognito-idp/admin-set-user-password.rst | 13 + .../admin-user-global-sign-out.rst | 9 + .../cognito-idp/associate-software-token.rst | 14 + .../examples/cognito-idp/confirm-device.rst | 16 + .../cognito-idp/create-identity-provider.rst | 102 +++ .../cognito-idp/create-resource-server.rst | 31 + .../cognito-idp/create-user-pool-client.rst | 104 +++- .../cognito-idp/create-user-pool-domain.rst | 28 +- .../cognito-idp/delete-user-attributes.rst | 13 +- .../cognito-idp/describe-user-pool.rst | 585 +++++++++++------- awscli/examples/cognito-idp/get-device.rst | 50 ++ awscli/examples/cognito-idp/get-group.rst | 27 +- awscli/examples/cognito-idp/list-devices.rst | 53 ++ .../describe-capacity-reservation-fleets.rst | 6 +- awscli/examples/ec2/import-snapshot.rst | 2 +- .../ecr-public/batch-delete-image.rst | 92 +++ .../examples/ecr-public/create-repository.rst | 5 +- .../ecr-public/delete-repository-policy.rst | 17 + .../examples/ecr-public/delete-repository.rst | 2 +- .../ecr-public/describe-image-tags.rst | 25 + .../examples/ecr-public/describe-images.rst | 82 +++ .../ecr-public/get-authorization-token.rst | 32 + .../ecr-public/get-repository-policy.rst | 17 + .../put-repository-catalog-data.rst | 50 ++ .../ecr-public/set-repository-policy.rst | 118 ++++ .../examples/ecs/capacity-provider-update.rst | 33 + awscli/examples/ecs/get-task-protection.rst | 21 + awscli/examples/ecs/update-cluster.rst | 176 ++++++ .../examples/ecs/update-task-protection.rst | 46 ++ .../examples/inspector2/associate-member.rst | 14 + .../inspector2/disassociate-member.rst | 14 + awscli/examples/inspector2/get-member.rst | 17 + awscli/examples/inspector2/list-members.rst | 83 +++ .../create-ingest-configuration.rst | 25 + awscli/examples/ivs-realtime/create-stage.rst | 8 +- .../delete-ingest-configuration.rst | 22 + .../ivs-realtime/get-ingest-configuration.rst | 24 + awscli/examples/ivs-realtime/get-stage.rst | 6 +- .../list-ingest-configurations.rst | 23 + .../update-ingest-configuration.rst | 25 + awscli/examples/ivs-realtime/update-stage.rst | 4 +- awscli/examples/s3api/put-object.rst | 22 +- .../examples/workmail/list-organizations.rst | 2 +- 58 files changed, 2163 insertions(+), 763 deletions(-) delete mode 100644 awscli/examples/cognito-idp/admim-disable-user.rst delete mode 100644 awscli/examples/cognito-idp/admim-enable-user.rst create mode 100644 awscli/examples/cognito-idp/admin-disable-provider-for-user.rst create mode 100644 awscli/examples/cognito-idp/admin-disable-user.rst create mode 100644 awscli/examples/cognito-idp/admin-enable-user.rst create mode 100644 awscli/examples/cognito-idp/admin-link-provider-for-user.rst create mode 100644 awscli/examples/cognito-idp/admin-respond-to-auth-challenge.rst create mode 100644 awscli/examples/cognito-idp/admin-set-user-password.rst create mode 100644 awscli/examples/cognito-idp/admin-user-global-sign-out.rst create mode 100644 awscli/examples/cognito-idp/associate-software-token.rst create mode 100644 awscli/examples/cognito-idp/confirm-device.rst create mode 100644 awscli/examples/cognito-idp/create-identity-provider.rst create mode 100644 awscli/examples/cognito-idp/create-resource-server.rst create mode 100644 awscli/examples/cognito-idp/get-device.rst create mode 100644 awscli/examples/cognito-idp/list-devices.rst create mode 100644 awscli/examples/ecr-public/batch-delete-image.rst create mode 100644 awscli/examples/ecr-public/delete-repository-policy.rst create mode 100644 awscli/examples/ecr-public/describe-image-tags.rst create mode 100644 awscli/examples/ecr-public/describe-images.rst create mode 100644 awscli/examples/ecr-public/get-authorization-token.rst create mode 100644 awscli/examples/ecr-public/get-repository-policy.rst create mode 100644 awscli/examples/ecr-public/put-repository-catalog-data.rst create mode 100644 awscli/examples/ecr-public/set-repository-policy.rst create mode 100644 awscli/examples/ecs/capacity-provider-update.rst create mode 100644 awscli/examples/ecs/get-task-protection.rst create mode 100644 awscli/examples/ecs/update-cluster.rst create mode 100644 awscli/examples/ecs/update-task-protection.rst create mode 100644 awscli/examples/inspector2/associate-member.rst create mode 100644 awscli/examples/inspector2/disassociate-member.rst create mode 100644 awscli/examples/inspector2/get-member.rst create mode 100644 awscli/examples/inspector2/list-members.rst create mode 100644 awscli/examples/ivs-realtime/create-ingest-configuration.rst create mode 100644 awscli/examples/ivs-realtime/delete-ingest-configuration.rst create mode 100644 awscli/examples/ivs-realtime/get-ingest-configuration.rst create mode 100644 awscli/examples/ivs-realtime/list-ingest-configurations.rst create mode 100644 awscli/examples/ivs-realtime/update-ingest-configuration.rst diff --git a/awscli/examples/cloudfront/create-distribution.rst b/awscli/examples/cloudfront/create-distribution.rst index f316ee43603a..c2b2140e53d5 100644 --- a/awscli/examples/cloudfront/create-distribution.rst +++ b/awscli/examples/cloudfront/create-distribution.rst @@ -1,123 +1,12 @@ -**To create a CloudFront distribution** +**Example 1: To create a CloudFront distribution** -The following example creates a distribution for an S3 bucket named -``awsexamplebucket``, and also specifies ``index.html`` as the default root -object, using command line arguments:: +The following example creates a distribution for an S3 bucket named ``amzn-s3-demo-bucket``, and also specifies ``index.html`` as the default root object, using command line arguments. :: aws cloudfront create-distribution \ - --origin-domain-name awsexamplebucket.s3.amazonaws.com \ + --origin-domain-name amzn-s3-demo-bucket.s3.amazonaws.com \ --default-root-object index.html -Instead of using command line arguments, you can provide the distribution -configuration in a JSON file, as shown in the following example:: - - aws cloudfront create-distribution \ - --distribution-config file://dist-config.json - -The file ``dist-config.json`` is a JSON document in the current folder that -contains the following:: - - { - "CallerReference": "cli-example", - "Aliases": { - "Quantity": 0 - }, - "DefaultRootObject": "index.html", - "Origins": { - "Quantity": 1, - "Items": [ - { - "Id": "awsexamplebucket.s3.amazonaws.com-cli-example", - "DomainName": "awsexamplebucket.s3.amazonaws.com", - "OriginPath": "", - "CustomHeaders": { - "Quantity": 0 - }, - "S3OriginConfig": { - "OriginAccessIdentity": "" - } - } - ] - }, - "OriginGroups": { - "Quantity": 0 - }, - "DefaultCacheBehavior": { - "TargetOriginId": "awsexamplebucket.s3.amazonaws.com-cli-example", - "ForwardedValues": { - "QueryString": false, - "Cookies": { - "Forward": "none" - }, - "Headers": { - "Quantity": 0 - }, - "QueryStringCacheKeys": { - "Quantity": 0 - } - }, - "TrustedSigners": { - "Enabled": false, - "Quantity": 0 - }, - "ViewerProtocolPolicy": "allow-all", - "MinTTL": 0, - "AllowedMethods": { - "Quantity": 2, - "Items": [ - "HEAD", - "GET" - ], - "CachedMethods": { - "Quantity": 2, - "Items": [ - "HEAD", - "GET" - ] - } - }, - "SmoothStreaming": false, - "DefaultTTL": 86400, - "MaxTTL": 31536000, - "Compress": false, - "LambdaFunctionAssociations": { - "Quantity": 0 - }, - "FieldLevelEncryptionId": "" - }, - "CacheBehaviors": { - "Quantity": 0 - }, - "CustomErrorResponses": { - "Quantity": 0 - }, - "Comment": "", - "Logging": { - "Enabled": false, - "IncludeCookies": false, - "Bucket": "", - "Prefix": "" - }, - "PriceClass": "PriceClass_All", - "Enabled": true, - "ViewerCertificate": { - "CloudFrontDefaultCertificate": true, - "MinimumProtocolVersion": "TLSv1", - "CertificateSource": "cloudfront" - }, - "Restrictions": { - "GeoRestriction": { - "RestrictionType": "none", - "Quantity": 0 - } - }, - "WebACLId": "", - "HttpVersion": "http2", - "IsIPV6Enabled": true - } - -Whether you provide the distribution information with a command line argument -or a JSON file, the output is the same:: +Output:: { "Location": "https://cloudfront.amazonaws.com/2019-03-26/distribution/EMLARXS9EXAMPLE", @@ -143,8 +32,8 @@ or a JSON file, the output is the same:: "Quantity": 1, "Items": [ { - "Id": "awsexamplebucket.s3.amazonaws.com-cli-example", - "DomainName": "awsexamplebucket.s3.amazonaws.com", + "Id": "amzn-s3-demo-bucket.s3.amazonaws.com-cli-example", + "DomainName": "amzn-s3-demo-bucket.s3.amazonaws.com", "OriginPath": "", "CustomHeaders": { "Quantity": 0 @@ -159,7 +48,7 @@ or a JSON file, the output is the same:: "Quantity": 0 }, "DefaultCacheBehavior": { - "TargetOriginId": "awsexamplebucket.s3.amazonaws.com-cli-example", + "TargetOriginId": "amzn-s3-demo-bucket.s3.amazonaws.com-cli-example", "ForwardedValues": { "QueryString": false, "Cookies": { @@ -233,3 +122,114 @@ or a JSON file, the output is the same:: } } } + +**Example 2: To create a CloudFront distribution using a JSON file** + +The following example creates a distribution for an S3 bucket named ``amzn-s3-demo-bucket``, and also specifies ``index.html`` as the default root object, using a JSON file. :: + + aws cloudfront create-distribution \ + --distribution-config file://dist-config.json + + +Contents of ``dist-config.json``:: + + { + "CallerReference": "cli-example", + "Aliases": { + "Quantity": 0 + }, + "DefaultRootObject": "index.html", + "Origins": { + "Quantity": 1, + "Items": [ + { + "Id": "amzn-s3-demo-bucket.s3.amazonaws.com-cli-example", + "DomainName": "amzn-s3-demo-bucket.s3.amazonaws.com", + "OriginPath": "", + "CustomHeaders": { + "Quantity": 0 + }, + "S3OriginConfig": { + "OriginAccessIdentity": "" + } + } + ] + }, + "OriginGroups": { + "Quantity": 0 + }, + "DefaultCacheBehavior": { + "TargetOriginId": "amzn-s3-demo-bucket.s3.amazonaws.com-cli-example", + "ForwardedValues": { + "QueryString": false, + "Cookies": { + "Forward": "none" + }, + "Headers": { + "Quantity": 0 + }, + "QueryStringCacheKeys": { + "Quantity": 0 + } + }, + "TrustedSigners": { + "Enabled": false, + "Quantity": 0 + }, + "ViewerProtocolPolicy": "allow-all", + "MinTTL": 0, + "AllowedMethods": { + "Quantity": 2, + "Items": [ + "HEAD", + "GET" + ], + "CachedMethods": { + "Quantity": 2, + "Items": [ + "HEAD", + "GET" + ] + } + }, + "SmoothStreaming": false, + "DefaultTTL": 86400, + "MaxTTL": 31536000, + "Compress": false, + "LambdaFunctionAssociations": { + "Quantity": 0 + }, + "FieldLevelEncryptionId": "" + }, + "CacheBehaviors": { + "Quantity": 0 + }, + "CustomErrorResponses": { + "Quantity": 0 + }, + "Comment": "", + "Logging": { + "Enabled": false, + "IncludeCookies": false, + "Bucket": "", + "Prefix": "" + }, + "PriceClass": "PriceClass_All", + "Enabled": true, + "ViewerCertificate": { + "CloudFrontDefaultCertificate": true, + "MinimumProtocolVersion": "TLSv1", + "CertificateSource": "cloudfront" + }, + "Restrictions": { + "GeoRestriction": { + "RestrictionType": "none", + "Quantity": 0 + } + }, + "WebACLId": "", + "HttpVersion": "http2", + "IsIPV6Enabled": true + } + +See Example 1 for sample output. \ No newline at end of file diff --git a/awscli/examples/cloudfront/get-distribution-config.rst b/awscli/examples/cloudfront/get-distribution-config.rst index 8fd58446a880..af0192304fb7 100644 --- a/awscli/examples/cloudfront/get-distribution-config.rst +++ b/awscli/examples/cloudfront/get-distribution-config.rst @@ -1,13 +1,9 @@ **To get a CloudFront distribution configuration** -The following example gets metadata about the CloudFront distribution with the -ID ``EDFDVBD6EXAMPLE``, including its ``ETag``. The distribution ID is returned -in the `create-distribution `_ and -`list-distributions `_ commands. +The following example gets metadata about the CloudFront distribution with the ID ``EDFDVBD6EXAMPLE``, including its ``ETag``. The distribution ID is returned in the `create-distribution `__ and `list-distributions `__ commands. :: -:: - - aws cloudfront get-distribution-config --id EDFDVBD6EXAMPLE + aws cloudfront get-distribution-config \ + --id EDFDVBD6EXAMPLE Output:: @@ -23,8 +19,8 @@ Output:: "Quantity": 1, "Items": [ { - "Id": "awsexamplebucket.s3.amazonaws.com-cli-example", - "DomainName": "awsexamplebucket.s3.amazonaws.com", + "Id": "amzn-s3-demo-bucket.s3.amazonaws.com-cli-example", + "DomainName": "amzn-s3-demo-bucket.s3.amazonaws.com", "OriginPath": "", "CustomHeaders": { "Quantity": 0 @@ -39,7 +35,7 @@ Output:: "Quantity": 0 }, "DefaultCacheBehavior": { - "TargetOriginId": "awsexamplebucket.s3.amazonaws.com-cli-example", + "TargetOriginId": "amzn-s3-demo-bucket.s3.amazonaws.com-cli-example", "ForwardedValues": { "QueryString": false, "Cookies": { diff --git a/awscli/examples/cloudfront/list-distributions.rst b/awscli/examples/cloudfront/list-distributions.rst index 4fdbaaa12f54..f44982cfd99f 100644 --- a/awscli/examples/cloudfront/list-distributions.rst +++ b/awscli/examples/cloudfront/list-distributions.rst @@ -1,7 +1,6 @@ **To list CloudFront distributions** -The following example gets a list of the CloudFront distributions in your AWS -account:: +The following example gets a list of the CloudFront distributions in your AWS account. :: aws cloudfront list-distributions @@ -11,231 +10,11 @@ Output:: "DistributionList": { "Items": [ { - "Id": "EMLARXS9EXAMPLE", - "ARN": "arn:aws:cloudfront::123456789012:distribution/EMLARXS9EXAMPLE", - "Status": "InProgress", - "LastModifiedTime": "2019-11-22T00:55:15.705Z", - "InProgressInvalidationBatches": 0, - "DomainName": "d111111abcdef8.cloudfront.net", - "ActiveTrustedSigners": { - "Enabled": false, - "Quantity": 0 - }, - "DistributionConfig": { - "CallerReference": "cli-example", - "Aliases": { - "Quantity": 0 - }, - "DefaultRootObject": "index.html", - "Origins": { - "Quantity": 1, - "Items": [ - { - "Id": "awsexamplebucket.s3.amazonaws.com-cli-example", - "DomainName": "awsexamplebucket.s3.amazonaws.com", - "OriginPath": "", - "CustomHeaders": { - "Quantity": 0 - }, - "S3OriginConfig": { - "OriginAccessIdentity": "" - } - } - ] - }, - "OriginGroups": { - "Quantity": 0 - }, - "DefaultCacheBehavior": { - "TargetOriginId": "awsexamplebucket.s3.amazonaws.com-cli-example", - "ForwardedValues": { - "QueryString": false, - "Cookies": { - "Forward": "none" - }, - "Headers": { - "Quantity": 0 - }, - "QueryStringCacheKeys": { - "Quantity": 0 - } - }, - "TrustedSigners": { - "Enabled": false, - "Quantity": 0 - }, - "ViewerProtocolPolicy": "allow-all", - "MinTTL": 0, - "AllowedMethods": { - "Quantity": 2, - "Items": [ - "HEAD", - "GET" - ], - "CachedMethods": { - "Quantity": 2, - "Items": [ - "HEAD", - "GET" - ] - } - }, - "SmoothStreaming": false, - "DefaultTTL": 86400, - "MaxTTL": 31536000, - "Compress": false, - "LambdaFunctionAssociations": { - "Quantity": 0 - }, - "FieldLevelEncryptionId": "" - }, - "CacheBehaviors": { - "Quantity": 0 - }, - "CustomErrorResponses": { - "Quantity": 0 - }, - "Comment": "", - "Logging": { - "Enabled": false, - "IncludeCookies": false, - "Bucket": "", - "Prefix": "" - }, - "PriceClass": "PriceClass_All", - "Enabled": true, - "ViewerCertificate": { - "CloudFrontDefaultCertificate": true, - "MinimumProtocolVersion": "TLSv1", - "CertificateSource": "cloudfront" - }, - "Restrictions": { - "GeoRestriction": { - "RestrictionType": "none", - "Quantity": 0 - } - }, - "WebACLId": "", - "HttpVersion": "http2", - "IsIPV6Enabled": true - } - }, - { - "Id": "EDFDVBD6EXAMPLE", - "ARN": "arn:aws:cloudfront::123456789012:distribution/EDFDVBD6EXAMPLE", - "Status": "InProgress", - "LastModifiedTime": "2019-12-04T23:35:41.433Z", - "InProgressInvalidationBatches": 0, - "DomainName": "d930174dauwrn8.cloudfront.net", - "ActiveTrustedSigners": { - "Enabled": false, - "Quantity": 0 - }, - "DistributionConfig": { - "CallerReference": "cli-example", - "Aliases": { - "Quantity": 0 - }, - "DefaultRootObject": "index.html", - "Origins": { - "Quantity": 1, - "Items": [ - { - "Id": "awsexamplebucket1.s3.amazonaws.com-cli-example", - "DomainName": "awsexamplebucket1.s3.amazonaws.com", - "OriginPath": "", - "CustomHeaders": { - "Quantity": 0 - }, - "S3OriginConfig": { - "OriginAccessIdentity": "" - } - } - ] - }, - "OriginGroups": { - "Quantity": 0 - }, - "DefaultCacheBehavior": { - "TargetOriginId": "awsexamplebucket1.s3.amazonaws.com-cli-example", - "ForwardedValues": { - "QueryString": false, - "Cookies": { - "Forward": "none" - }, - "Headers": { - "Quantity": 0 - }, - "QueryStringCacheKeys": { - "Quantity": 0 - } - }, - "TrustedSigners": { - "Enabled": false, - "Quantity": 0 - }, - "ViewerProtocolPolicy": "allow-all", - "MinTTL": 0, - "AllowedMethods": { - "Quantity": 2, - "Items": [ - "HEAD", - "GET" - ], - "CachedMethods": { - "Quantity": 2, - "Items": [ - "HEAD", - "GET" - ] - } - }, - "SmoothStreaming": false, - "DefaultTTL": 86400, - "MaxTTL": 31536000, - "Compress": false, - "LambdaFunctionAssociations": { - "Quantity": 0 - }, - "FieldLevelEncryptionId": "" - }, - "CacheBehaviors": { - "Quantity": 0 - }, - "CustomErrorResponses": { - "Quantity": 0 - }, - "Comment": "", - "Logging": { - "Enabled": false, - "IncludeCookies": false, - "Bucket": "", - "Prefix": "" - }, - "PriceClass": "PriceClass_All", - "Enabled": true, - "ViewerCertificate": { - "CloudFrontDefaultCertificate": true, - "MinimumProtocolVersion": "TLSv1", - "CertificateSource": "cloudfront" - }, - "Restrictions": { - "GeoRestriction": { - "RestrictionType": "none", - "Quantity": 0 - } - }, - "WebACLId": "", - "HttpVersion": "http2", - "IsIPV6Enabled": true - } - }, - { - "Id": "E1X5IZQEXAMPLE", - "ARN": "arn:aws:cloudfront::123456789012:distribution/E1X5IZQEXAMPLE", + "Id": "E23YS8OEXAMPLE", + "ARN": "arn:aws:cloudfront::123456789012:distribution/E23YS8OEXAMPLE", "Status": "Deployed", - "LastModifiedTime": "2019-11-06T21:31:48.864Z", - "DomainName": "d2e04y12345678.cloudfront.net", + "LastModifiedTime": "2024-08-05T18:23:40.375000+00:00", + "DomainName": "abcdefgh12ijk.cloudfront.net", "Aliases": { "Quantity": 0 }, @@ -243,15 +22,21 @@ Output:: "Quantity": 1, "Items": [ { - "Id": "awsexamplebucket2", - "DomainName": "awsexamplebucket2.s3.us-west-2.amazonaws.com", + "Id": "amzn-s3-demo-bucket.s3.us-east-1.amazonaws.com", + "DomainName": "amzn-s3-demo-bucket.s3.us-east-1.amazonaws.com", "OriginPath": "", "CustomHeaders": { "Quantity": 0 }, "S3OriginConfig": { "OriginAccessIdentity": "" - } + }, + "ConnectionAttempts": 3, + "ConnectionTimeout": 10, + "OriginShield": { + "Enabled": false + }, + "OriginAccessControlId": "EIAP8PEXAMPLE" } ] }, @@ -259,25 +44,16 @@ Output:: "Quantity": 0 }, "DefaultCacheBehavior": { - "TargetOriginId": "awsexamplebucket2", - "ForwardedValues": { - "QueryString": false, - "Cookies": { - "Forward": "none" - }, - "Headers": { - "Quantity": 0 - }, - "QueryStringCacheKeys": { - "Quantity": 0 - } - }, + "TargetOriginId": "amzn-s3-demo-bucket.s3.us-east-1.amazonaws.com", "TrustedSigners": { "Enabled": false, "Quantity": 0 }, + "TrustedKeyGroups": { + "Enabled": false, + "Quantity": 0 + }, "ViewerProtocolPolicy": "allow-all", - "MinTTL": 0, "AllowedMethods": { "Quantity": 2, "Items": [ @@ -293,13 +69,15 @@ Output:: } }, "SmoothStreaming": false, - "DefaultTTL": 86400, - "MaxTTL": 31536000, - "Compress": false, + "Compress": true, "LambdaFunctionAssociations": { "Quantity": 0 }, - "FieldLevelEncryptionId": "" + "FunctionAssociations": { + "Quantity": 0 + }, + "FieldLevelEncryptionId": "", + "CachePolicyId": "658327ea-f89d-4fab-a63d-7e886EXAMPLE" }, "CacheBehaviors": { "Quantity": 0 @@ -312,6 +90,7 @@ Output:: "Enabled": true, "ViewerCertificate": { "CloudFrontDefaultCertificate": true, + "SSLSupportMethod": "vip", "MinimumProtocolVersion": "TLSv1", "CertificateSource": "cloudfront" }, @@ -322,8 +101,9 @@ Output:: } }, "WebACLId": "", - "HttpVersion": "HTTP1_1", - "IsIPV6Enabled": true + "HttpVersion": "HTTP2", + "IsIPV6Enabled": true, + "Staging": false } ] } diff --git a/awscli/examples/cloudfront/update-distribution.rst b/awscli/examples/cloudfront/update-distribution.rst index 049fa762be24..cf8c9692718e 100644 --- a/awscli/examples/cloudfront/update-distribution.rst +++ b/awscli/examples/cloudfront/update-distribution.rst @@ -1,9 +1,9 @@ -**To update a CloudFront distribution's default root object** +**Example 1: To update a CloudFront distribution's default root object** -The following example updates the default root object to ``index.html`` for the -CloudFront distribution with the ID ``EDFDVBD6EXAMPLE``:: +The following example updates the default root object to ``index.html`` for the CloudFront distribution with the ID ``EDFDVBD6EXAMPLE``. :: - aws cloudfront update-distribution --id EDFDVBD6EXAMPLE \ + aws cloudfront update-distribution \ + --id EDFDVBD6EXAMPLE \ --default-root-object index.html Output:: @@ -136,28 +136,20 @@ Output:: } } -**To update a CloudFront distribution** - -The following example disables the CloudFront distribution with the ID -``EMLARXS9EXAMPLE`` by providing the distribution configuration in a JSON file -named ``dist-config-disable.json``. To update a distribution, you must use the -``--if-match`` option to provide the distribution's ``ETag``. To get the -``ETag``, use the `get-distribution `_ or -`get-distribution-config `_ command. +**Example 2: To update a CloudFront distribution** -After you use the following example to disable a distribution, you can use the -`delete-distribution `_ command to delete it. +The following example disables the CloudFront distribution with the ID ``EMLARXS9EXAMPLE`` by providing the distribution configuration in a JSON file named ``dist-config-disable.json``. To update a distribution, you must use the ``--if-match`` option to provide the distribution's ``ETag``. To get the +``ETag``, use the `get-distribution `_ or `get-distribution-config `_ command. Note that the ``Enabled`` field is set to +``false`` in the JSON file. -:: +After you use the following example to disable a distribution, you can use the `delete-distribution `_ command to delete it. :: aws cloudfront update-distribution \ --id EMLARXS9EXAMPLE \ --if-match E2QWRUHEXAMPLE \ --distribution-config file://dist-config-disable.json -The file ``dist-config-disable.json`` is a JSON document in the current folder -that contains the following. Note that the ``Enabled`` field is set to -``false``:: +Contents of ``dist-config-disable.json``:: { "CallerReference": "cli-1574382155-496510", @@ -169,8 +161,8 @@ that contains the following. Note that the ``Enabled`` field is set to "Quantity": 1, "Items": [ { - "Id": "awsexamplebucket.s3.amazonaws.com-1574382155-273939", - "DomainName": "awsexamplebucket.s3.amazonaws.com", + "Id": "amzn-s3-demo-bucket.s3.amazonaws.com-1574382155-273939", + "DomainName": "amzn-s3-demo-bucket.s3.amazonaws.com", "OriginPath": "", "CustomHeaders": { "Quantity": 0 @@ -185,7 +177,7 @@ that contains the following. Note that the ``Enabled`` field is set to "Quantity": 0 }, "DefaultCacheBehavior": { - "TargetOriginId": "awsexamplebucket.s3.amazonaws.com-1574382155-273939", + "TargetOriginId": "amzn-s3-demo-bucket.s3.amazonaws.com-1574382155-273939", "ForwardedValues": { "QueryString": false, "Cookies": { @@ -283,8 +275,8 @@ Output:: "Quantity": 1, "Items": [ { - "Id": "awsexamplebucket.s3.amazonaws.com-1574382155-273939", - "DomainName": "awsexamplebucket.s3.amazonaws.com", + "Id": "amzn-s3-demo-bucket.s3.amazonaws.com-1574382155-273939", + "DomainName": "amzn-s3-demo-bucket.s3.amazonaws.com", "OriginPath": "", "CustomHeaders": { "Quantity": 0 @@ -299,7 +291,7 @@ Output:: "Quantity": 0 }, "DefaultCacheBehavior": { - "TargetOriginId": "awsexamplebucket.s3.amazonaws.com-1574382155-273939", + "TargetOriginId": "amzn-s3-demo-bucket.s3.amazonaws.com-1574382155-273939", "ForwardedValues": { "QueryString": false, "Cookies": { diff --git a/awscli/examples/cognito-idp/admim-disable-user.rst b/awscli/examples/cognito-idp/admim-disable-user.rst deleted file mode 100644 index 57e8ec369d44..000000000000 --- a/awscli/examples/cognito-idp/admim-disable-user.rst +++ /dev/null @@ -1,8 +0,0 @@ -**To disable a user** - -This example disables user jane@example.com. - -Command:: - - aws cognito-idp admin-disable-user --user-pool-id us-west-2_aaaaaaaaa --username jane@example.com - diff --git a/awscli/examples/cognito-idp/admim-enable-user.rst b/awscli/examples/cognito-idp/admim-enable-user.rst deleted file mode 100644 index 79bc468e4b3c..000000000000 --- a/awscli/examples/cognito-idp/admim-enable-user.rst +++ /dev/null @@ -1,8 +0,0 @@ -**To enable a user** - -This example enables username jane@example.com. - -Command:: - - aws cognito-idp admin-enable-user --user-pool-id us-west-2_aaaaaaaaa --username jane@example.com - diff --git a/awscli/examples/cognito-idp/admin-disable-provider-for-user.rst b/awscli/examples/cognito-idp/admin-disable-provider-for-user.rst new file mode 100644 index 000000000000..2d1209dd74b5 --- /dev/null +++ b/awscli/examples/cognito-idp/admin-disable-provider-for-user.rst @@ -0,0 +1,9 @@ +**To unlink a federated user from a local user profile** + +The following ``admin-disable-provider-for-user`` example disconnects a Google user from their linked local profile. :: + + aws cognito-idp admin-disable-provider-for-user \ + --user-pool-id us-west-2_EXAMPLE \ + --user ProviderAttributeName=Cognito_Subject,ProviderAttributeValue=0000000000000000,ProviderName=Google + +For more information, see `Linking federated users to an existing user profile `__ in the *Amazon Cognito Developer Guide*. diff --git a/awscli/examples/cognito-idp/admin-disable-user.rst b/awscli/examples/cognito-idp/admin-disable-user.rst new file mode 100644 index 000000000000..023745bf183a --- /dev/null +++ b/awscli/examples/cognito-idp/admin-disable-user.rst @@ -0,0 +1,9 @@ +**To prevent sign-in by a user** + +The following ``admin-disable-user`` example prevents sign-in by the user ``diego@example.com``. :: + + aws cognito-idp admin-disable-user \ + --user-pool-id us-west-2_EXAMPLE \ + --username diego@example.com + +For more information, see `Managing users `__ in the *Amazon Cognito Developer Guide*. diff --git a/awscli/examples/cognito-idp/admin-enable-user.rst b/awscli/examples/cognito-idp/admin-enable-user.rst new file mode 100644 index 000000000000..4a03faf7ebc6 --- /dev/null +++ b/awscli/examples/cognito-idp/admin-enable-user.rst @@ -0,0 +1,9 @@ +**To enable sign-in by a user** + +The following ``admin-enable-user`` example enables sign-in by the user diego@example.com. :: + + aws cognito-idp admin-enable-user \ + --user-pool-id us-west-2_EXAMPLE \ + --username diego@example.com + +For more information, see `Managing users `__ in the *Amazon Cognito Developer Guide*. diff --git a/awscli/examples/cognito-idp/admin-get-device.rst b/awscli/examples/cognito-idp/admin-get-device.rst index 92fff255ed2c..7ed62712441e 100644 --- a/awscli/examples/cognito-idp/admin-get-device.rst +++ b/awscli/examples/cognito-idp/admin-get-device.rst @@ -1,8 +1,51 @@ -**To get a device** - -This example gets a device for username jane@example.com - -Command:: - - aws cognito-idp admin-get-device --user-pool-id us-west-2_aaaaaaaaa --username jane@example.com --device-key us-west-2_abcd_1234-5678 - +**To get a device** + +The following ``admin-get-device`` example displays one device for the user ``diego``. :: + + aws cognito-idp admin-get-device \ + --user-pool-id us-west-2_EXAMPLE \ + --username diego \ + --device-key us-west-2_a1b2c3d4-5678-90ab-cdef-EXAMPLE11111 + +Output:: + + { + "Device": { + "DeviceKey": "us-west-2_a1b2c3d4-5678-90ab-cdef-EXAMPLE11111", + "DeviceAttributes": [ + { + "Name": "device_status", + "Value": "valid" + }, + { + "Name": "device_name", + "Value": "MyDevice" + }, + { + "Name": "dev:device_arn", + "Value": "arn:aws:cognito-idp:us-west-2:123456789012:owner/diego.us-west-2_EXAMPLE/device/us-west-2_a1b2c3d4-5678-90ab-cdef-EXAMPLE11111" + }, + { + "Name": "dev:device_owner", + "Value": "diego.us-west-2_EXAMPLE" + }, + { + "Name": "last_ip_used", + "Value": "192.0.2.1" + }, + { + "Name": "dev:device_remembered_status", + "Value": "remembered" + }, + { + "Name": "dev:device_sdk", + "Value": "aws-sdk" + } + ], + "DeviceCreateDate": 1715100742.022, + "DeviceLastModifiedDate": 1723233651.167, + "DeviceLastAuthenticatedDate": 1715100742.0 + } + } + +For more information, see `Working with user devices in your user pool `__ in the *Amazon Cognito Developer Guide*. diff --git a/awscli/examples/cognito-idp/admin-initiate-auth.rst b/awscli/examples/cognito-idp/admin-initiate-auth.rst index bdb01054c454..2e54deec5104 100644 --- a/awscli/examples/cognito-idp/admin-initiate-auth.rst +++ b/awscli/examples/cognito-idp/admin-initiate-auth.rst @@ -1,25 +1,24 @@ -**To initiate authorization** - -This example initiates authorization using the ADMIN_NO_SRP_AUTH flow for username jane@example.com - -The client must have sign-in API for server-based authentication (ADMIN_NO_SRP_AUTH) enabled. - -Use the session information in the return value to call `admin-respond-to-auth-challenge`_. - -Command:: - - aws cognito-idp admin-initiate-auth --user-pool-id us-west-2_aaaaaaaaa --client-id 3n4b5urk1ft4fl3mg5e62d9ado --auth-flow ADMIN_NO_SRP_AUTH --auth-parameters USERNAME=jane@example.com,PASSWORD=password - -Output:: - - { - "ChallengeName": "NEW_PASSWORD_REQUIRED", - "Session": "SESSION", - "ChallengeParameters": { - "USER_ID_FOR_SRP": "84514837-dcbc-4af1-abff-f3c109334894", - "requiredAttributes": "[]", - "userAttributes": "{\"email_verified\":\"true\",\"phone_number_verified\":\"true\",\"phone_number\":\"+01xxx5550100\",\"email\":\"jane@example.com\"}" - } - } - -.. _`admin-respond-to-auth-challenge`: https://docs.aws.amazon.com/cli/latest/reference/cognito-idp/admin-respond-to-auth-challenge.html \ No newline at end of file +**To sign in a user as an admin** + +The following ``admin-initiate-auth`` example signs in the user diego@example.com. This example also includes metadata for threat protection and ClientMetadata for Lambda triggers. The user is configured for TOTP MFA and receives a challenge to provide a code from their authenticator app before they can complete authentication. :: + + aws cognito-idp admin-initiate-auth \ + --user-pool-id us-west-2_EXAMPLE \ + --client-id 1example23456789 \ + --auth-flow ADMIN_USER_PASSWORD_AUTH \ + --auth-parameters USERNAME=diego@example.com,PASSWORD="My@Example$Password3!",SECRET_HASH=ExampleEncodedClientIdSecretAndUsername= \ + --context-data="{\"EncodedData\":\"abc123example\",\"HttpHeaders\":[{\"headerName\":\"UserAgent\",\"headerValue\":\"Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:47.0) Gecko/20100101 Firefox/47.0\"}],\"IpAddress\":\"192.0.2.1\",\"ServerName\":\"example.com\",\"ServerPath\":\"/login\"}" \ + --client-metadata="{\"MyExampleKey\": \"MyExampleValue\"}" + +Output:: + + { + "ChallengeName": "SOFTWARE_TOKEN_MFA", + "Session": "AYABeExample...", + "ChallengeParameters": { + "FRIENDLY_DEVICE_NAME": "MyAuthenticatorApp", + "USER_ID_FOR_SRP": "diego@example.com" + } + } + +For more information, see `Admin authentication flow `__ in the *Amazon Cognito Developer Guide*. diff --git a/awscli/examples/cognito-idp/admin-link-provider-for-user.rst b/awscli/examples/cognito-idp/admin-link-provider-for-user.rst new file mode 100644 index 000000000000..4316adb214fd --- /dev/null +++ b/awscli/examples/cognito-idp/admin-link-provider-for-user.rst @@ -0,0 +1,10 @@ +**To link a local user to a federated user** + +The following ``admin-link-provider-for-user`` example links the local user diego to a user who will do federated sign-in with Google. :: + + aws cognito-idp admin-link-provider-for-user \ + --user-pool-id us-west-2_EXAMPLE \ + --destination-user ProviderName=Cognito,ProviderAttributeValue=diego \ + --source-user ProviderAttributeName=Cognito_Subject,ProviderAttributeValue=0000000000000000,ProviderName=Google + +For more information, see `Linking federated users to an existing user profile `__ in the *Amazon Cognito Developer Guide*. diff --git a/awscli/examples/cognito-idp/admin-list-devices.rst b/awscli/examples/cognito-idp/admin-list-devices.rst index 2b710876d04a..6f150de3ebd6 100644 --- a/awscli/examples/cognito-idp/admin-list-devices.rst +++ b/awscli/examples/cognito-idp/admin-list-devices.rst @@ -1,7 +1,53 @@ -**To list devices for a user** - -This example lists devices for username jane@example.com. - -Command:: - - aws cognito-idp admin-list-devices --user-pool-id us-west-2_aaaaaaaaa --username jane@example.com +**To list devices for a user** + +The following ``admin-list-devices`` example lists devices for the user diego. :: + + aws cognito-idp admin-list-devices \ + --user-pool-id us-west-2_EXAMPLE \ + --username diego \ + --limit 1 + +Output:: + + { + "Devices": [ + { + "DeviceKey": "us-west-2_a1b2c3d4-5678-90ab-cdef-EXAMPLE11111", + "DeviceAttributes": [ + { + "Name": "device_status", + "Value": "valid" + }, + { + "Name": "device_name", + "Value": "MyDevice" + }, + { + "Name": "dev:device_arn", + "Value": "arn:aws:cognito-idp:us-west-2:123456789012:owner/diego.us-west-2_EXAMPLE/device/us-west-2_a1b2c3d4-5678-90ab-cdef-EXAMPLE11111" + }, + { + "Name": "dev:device_owner", + "Value": "diego.us-west-2_EXAMPLE" + }, + { + "Name": "last_ip_used", + "Value": "192.0.2.1" + }, + { + "Name": "dev:device_remembered_status", + "Value": "remembered" + }, + { + "Name": "dev:device_sdk", + "Value": "aws-sdk" + } + ], + "DeviceCreateDate": 1715100742.022, + "DeviceLastModifiedDate": 1723233651.167, + "DeviceLastAuthenticatedDate": 1715100742.0 + } + ] + } + +For more information, see `Working with user devices in your user pool `__ in the *Amazon Cognito Developer Guide*. diff --git a/awscli/examples/cognito-idp/admin-list-user-auth-events.rst b/awscli/examples/cognito-idp/admin-list-user-auth-events.rst index eeff1edbe52d..066e32060180 100644 --- a/awscli/examples/cognito-idp/admin-list-user-auth-events.rst +++ b/awscli/examples/cognito-idp/admin-list-user-auth-events.rst @@ -1,8 +1,40 @@ -**To list authorization events for a user** - -This example lists authorization events for username diego@example.com. - -Command:: - - aws cognito-idp admin-list-user-auth-events --user-pool-id us-west-2_aaaaaaaaa --username diego@example.com - +**To list authorization events for a user** + +The following ``admin-list-user-auth-events`` example lists the most recent user activity log event for the user diego. :: + + aws cognito-idp admin-list-user-auth-events \ + --user-pool-id us-west-2_ywDJHlIfU \ + --username brcotter+050123 \ + --max-results 1 + +Output:: + + { + "AuthEvents": [ + { + "EventId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE22222", + "EventType": "SignIn", + "CreationDate": 1726694203.495, + "EventResponse": "InProgress", + "EventRisk": { + "RiskDecision": "AccountTakeover", + "RiskLevel": "Medium", + "CompromisedCredentialsDetected": false + }, + "ChallengeResponses": [ + { + "ChallengeName": "Password", + "ChallengeResponse": "Success" + } + ], + "EventContextData": { + "IpAddress": "192.0.2.1", + "City": "Seattle", + "Country": "United States" + } + } + ], + "NextToken": "a1b2c3d4-5678-90ab-cdef-EXAMPLE22222#2024-09-18T21:16:43.495Z" + } + +For more information, see `Viewing and exporting user event history `__ in the *Amazon Cognito Developer Guide*. diff --git a/awscli/examples/cognito-idp/admin-respond-to-auth-challenge.rst b/awscli/examples/cognito-idp/admin-respond-to-auth-challenge.rst new file mode 100644 index 000000000000..6ae67f4208e4 --- /dev/null +++ b/awscli/examples/cognito-idp/admin-respond-to-auth-challenge.rst @@ -0,0 +1,29 @@ +**To respond to an authentication challenge** + +There are many ways to respond to different authentication challenges, depending on your authentication flow, user pool configuration, and user settings. The following ``admin-respond-to-auth-challenge`` example provides a TOTP MFA code for diego@example.com and completes sign-in. This user pool has device remembering turned on, so the authentication result also returns a new device key. :: + + aws cognito-idp admin-respond-to-auth-challenge \ + --user-pool-id us-west-2_EXAMPLE \ + --client-id 1example23456789 \ + --challenge-name SOFTWARE_TOKEN_MFA \ + --challenge-responses USERNAME=diego@example.com,SOFTWARE_TOKEN_MFA_CODE=000000 \ + --session AYABeExample... + +Output:: + + { + "ChallengeParameters": {}, + "AuthenticationResult": { + "AccessToken": "eyJra456defEXAMPLE", + "ExpiresIn": 3600, + "TokenType": "Bearer", + "RefreshToken": "eyJra123abcEXAMPLE", + "IdToken": "eyJra789ghiEXAMPLE", + "NewDeviceMetadata": { + "DeviceKey": "us-west-2_a1b2c3d4-5678-90ab-cdef-EXAMPLE11111", + "DeviceGroupKey": "-ExAmPlE1" + } + } + } + +For more information, see `Admin authentication flow `__ in the *Amazon Cognito Developer Guide*. diff --git a/awscli/examples/cognito-idp/admin-set-user-password.rst b/awscli/examples/cognito-idp/admin-set-user-password.rst new file mode 100644 index 000000000000..88bdabf591d7 --- /dev/null +++ b/awscli/examples/cognito-idp/admin-set-user-password.rst @@ -0,0 +1,13 @@ +**To set a user password as an admin** + +The following ``admin-set-user-password`` example permanently sets the password for diego@example.com. :: + + aws cognito-idp admin-set-user-password \ + --user-pool-id us-west-2_EXAMPLE \ + --username diego@example.com \ + --password MyExamplePassword1! \ + --permanent + +This command produces no output. + +For more information, see `Passwords, password recovery, and password policies `__ in the *Amazon Cognito Developer Guide*. diff --git a/awscli/examples/cognito-idp/admin-user-global-sign-out.rst b/awscli/examples/cognito-idp/admin-user-global-sign-out.rst new file mode 100644 index 000000000000..dc6365e40d40 --- /dev/null +++ b/awscli/examples/cognito-idp/admin-user-global-sign-out.rst @@ -0,0 +1,9 @@ +**To sign out a user as an admin** + +The following ``admin-user-global-sign-out`` example signs out the user diego@example.com. :: + + aws cognito-idp admin-user-global-sign-out \ + --user-pool-id us-west-2_EXAMPLE \ + --username diego@example.com + +For more information, see `Authentication with a user pool `__ in the *Amazon Cognito Developer Guide*. diff --git a/awscli/examples/cognito-idp/associate-software-token.rst b/awscli/examples/cognito-idp/associate-software-token.rst new file mode 100644 index 000000000000..9a72f3db15ac --- /dev/null +++ b/awscli/examples/cognito-idp/associate-software-token.rst @@ -0,0 +1,14 @@ +**To generate a secret key for an MFA authenticator app** + +The following ``associate-software-token`` example generates a TOTP private key for a user who has signed in and received an access token. The resulting private key can be manually entered into an authenticator app, or applications can render it as a QR code that the user can scan. :: + + aws cognito-idp associate-software-token \ + --access-token eyJra456defEXAMPLE + +Output:: + + { + "SecretCode": "QWERTYUIOP123456EXAMPLE" + } + +For more information, see `TOTP software token MFA `__ in the *Amazon Cognito Developer Guide*. diff --git a/awscli/examples/cognito-idp/confirm-device.rst b/awscli/examples/cognito-idp/confirm-device.rst new file mode 100644 index 000000000000..6b391fb6d690 --- /dev/null +++ b/awscli/examples/cognito-idp/confirm-device.rst @@ -0,0 +1,16 @@ +**To confirm a user device** + +The following ``confirm-device`` example adds a new remembered device for the current user. :: + + aws cognito-idp confirm-device \ + --access-token eyJra456defEXAMPLE \ + --device-key us-west-2_a1b2c3d4-5678-90ab-cdef-EXAMPLE11111 \ + --device-secret-verifier-config PasswordVerifier=TXlWZXJpZmllclN0cmluZw,Salt=TXlTUlBTYWx0 + +Output:: + + { + "UserConfirmationNecessary": false + } + +For more information, see `Working with user devices in your user pool `__ in the *Amazon Cognito Developer Guide*. diff --git a/awscli/examples/cognito-idp/create-identity-provider.rst b/awscli/examples/cognito-idp/create-identity-provider.rst new file mode 100644 index 000000000000..fd66f4b2d9c7 --- /dev/null +++ b/awscli/examples/cognito-idp/create-identity-provider.rst @@ -0,0 +1,102 @@ +**Example 1: To create a user pool SAML identity provider (IdP) with a metadata URL** + +The following ``create-identity-provider`` example creates a new SAML IdP with metadata from a public URL, attribute mapping, and two identifiers. :: + + aws cognito-idp create-identity-provider \ + --user-pool-id us-west-2_EXAMPLE \ + --provider-name MySAML \ + --provider-type SAML \ + --provider-details IDPInit=true,IDPSignout=true,EncryptedResponses=true,MetadataURL=https://auth.example.com/sso/saml/metadata,RequestSigningAlgorithm=rsa-sha256 \ + --attribute-mapping email=emailaddress,phone_number=phone,custom:111=department \ + --idp-identifiers CorpSAML WestSAML + +Output:: + + { + "IdentityProvider": { + "UserPoolId": "us-west-2_EXAMPLE", + "ProviderName": "MySAML", + "ProviderType": "SAML", + "ProviderDetails": { + "ActiveEncryptionCertificate": "MIICvTCCAaEXAMPLE", + "EncryptedResponses": "true", + "IDPInit": "true", + "IDPSignout": "true", + "MetadataURL": "https://auth.example.com/sso/saml/metadata", + "RequestSigningAlgorithm": "rsa-sha256", + "SLORedirectBindingURI": "https://auth.example.com/slo/saml", + "SSORedirectBindingURI": "https://auth.example.com/sso/saml" + }, + "AttributeMapping": { + "custom:111": "department", + "emailaddress": "email", + "phone": "phone_number" + }, + "IdpIdentifiers": [ + "CorpSAML", + "WestSAML" + ], + "LastModifiedDate": 1726853833.977, + "CreationDate": 1726853833.977 + } + } + +For more information, see `Adding user pool sign-in through a third party `__ in the *Amazon Cognito Developer Guide*. + +**Example 2: To create a user pool SAML identity provider (IdP) with a metadata file** + +The following ``create-identity-provider`` example creates a new SAML IdP with metadata from a file, attribute mapping, and two identifiers. File syntax can differ between operating systems in the ``--provider-details`` parameter. It's easiest to create a JSON input file for this operation.:: + + aws cognito-idp create-identity-provider \ + --cli-input-json file://.\SAML-identity-provider.json + +Contents of ``SAML-identity-provider.json``:: + + { + "AttributeMapping": { + "email" : "idp_email", + "email_verified" : "idp_email_verified" + }, + "IdpIdentifiers": [ "platform" ], + "ProviderDetails": { + "MetadataFile": "[IDP_CERTIFICATE_DATA]urn:oasis:names:tc:SAML:1.1:nameid-format:unspecifiedurn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress", + "IDPSignout" : "true", + "RequestSigningAlgorithm" : "rsa-sha256", + "EncryptedResponses" : "true", + "IDPInit" : "true" + }, + "ProviderName": "MySAML2", + "ProviderType": "SAML", + "UserPoolId": "us-west-2_EXAMPLE" + } + +Output:: + + { + "IdentityProvider": { + "UserPoolId": "us-west-2_EXAMPLE", + "ProviderName": "MySAML2", + "ProviderType": "SAML", + "ProviderDetails": { + "ActiveEncryptionCertificate": "[USER_POOL_ENCRYPTION_CERTIFICATE_DATA]", + "EncryptedResponses": "true", + "IDPInit": "true", + "IDPSignout": "true", + "MetadataFile": "[IDP_CERTIFICATE_DATA]urn:oasis:names:tc:SAML:1.1:nameid-format:unspecifiedurn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress", + "RequestSigningAlgorithm": "rsa-sha256", + "SLORedirectBindingURI": "https://www.example.com/slo/saml", + "SSORedirectBindingURI": "https://www.example.com/sso/saml" + }, + "AttributeMapping": { + "email": "idp_email", + "email_verified": "idp_email_verified" + }, + "IdpIdentifiers": [ + "platform" + ], + "LastModifiedDate": 1726855290.731, + "CreationDate": 1726855290.731 + } + } + +For more information, see `Adding user pool sign-in through a third party `__ in the *Amazon Cognito Developer Guide*. \ No newline at end of file diff --git a/awscli/examples/cognito-idp/create-resource-server.rst b/awscli/examples/cognito-idp/create-resource-server.rst new file mode 100644 index 000000000000..3b00722f1702 --- /dev/null +++ b/awscli/examples/cognito-idp/create-resource-server.rst @@ -0,0 +1,31 @@ +**To create a user pool client** + +The following ``create-resource-server`` example creates a new resource server with custom scopes. :: + + aws cognito-idp create-resource-server \ + --user-pool-id us-west-2_EXAMPLE \ + --identifier solar-system-data \ + --name "Solar system object tracker" \ + --scopes ScopeName=sunproximity.read,ScopeDescription="Distance in AU from Sol" ScopeName=asteroids.add,ScopeDescription="Enter a new asteroid" + +Output:: + + { + "ResourceServer": { + "UserPoolId": "us-west-2_EXAMPLE", + "Identifier": "solar-system-data", + "Name": "Solar system object tracker", + "Scopes": [ + { + "ScopeName": "sunproximity.read", + "ScopeDescription": "Distance in AU from Sol" + }, + { + "ScopeName": "asteroids.add", + "ScopeDescription": "Enter a new asteroid" + } + ] + } + } + +For more information, see `Scopes, M2M, and APIs with resource servers `__ in the *Amazon Cognito Developer Guide*. diff --git a/awscli/examples/cognito-idp/create-user-pool-client.rst b/awscli/examples/cognito-idp/create-user-pool-client.rst index 3d9129ae8b12..b02c0071dd6d 100644 --- a/awscli/examples/cognito-idp/create-user-pool-client.rst +++ b/awscli/examples/cognito-idp/create-user-pool-client.rst @@ -1,26 +1,94 @@ **To create a user pool client** -This example creates a new user pool client with two explicit authorization flows: USER_PASSWORD_AUTH and ADMIN_NO_SRP_AUTH. +The following ``create-user-pool-client`` example creates a new user pool client with a client secret, explicit read and write attributes, sign in with username-password and SRP flows, sign-in with three IdPs, access to a subset of OAuth scopes, PinPoint analytics, and an extended authentication session validity. :: -Command:: + aws cognito-idp create-user-pool-client \ + --user-pool-id us-west-2_EXAMPLE \ + --client-name MyTestClient \ + --generate-secret \ + --refresh-token-validity 10 \ + --access-token-validity 60 \ + --id-token-validity 60 \ + --token-validity-units AccessToken=minutes,IdToken=minutes,RefreshToken=days \ + --read-attributes email phone_number email_verified phone_number_verified \ + --write-attributes email phone_number \ + --explicit-auth-flows ALLOW_USER_PASSWORD_AUTH ALLOW_USER_SRP_AUTH ALLOW_REFRESH_TOKEN_AUTH \ + --supported-identity-providers Google Facebook MyOIDC \ + --callback-urls https://www.amazon.com https://example.com http://localhost:8001 myapp://example \ + --allowed-o-auth-flows code implicit \ + --allowed-o-auth-scopes openid profile aws.cognito.signin.user.admin solar-system-data/asteroids.add \ + --allowed-o-auth-flows-user-pool-client \ + --analytics-configuration ApplicationArn=arn:aws:mobiletargeting:us-west-2:767671399759:apps/thisisanexamplepinpointapplicationid,UserDataShared=TRUE \ + --prevent-user-existence-errors ENABLED \ + --enable-token-revocation \ + --enable-propagate-additional-user-context-data \ + --auth-session-validity 4 - aws cognito-idp create-user-pool-client --user-pool-id us-west-2_aaaaaaaaa --client-name MyNewClient --no-generate-secret --explicit-auth-flows "USER_PASSWORD_AUTH" "ADMIN_NO_SRP_AUTH" - Output:: - { - "UserPoolClient": { - "UserPoolId": "us-west-2_aaaaaaaaa", - "ClientName": "MyNewClient", - "ClientId": "6p3bs000no6a4ue1idruvd05ad", - "LastModifiedDate": 1548697449.497, - "CreationDate": 1548697449.497, - "RefreshTokenValidity": 30, - "ExplicitAuthFlows": [ - "USER_PASSWORD_AUTH", - "ADMIN_NO_SRP_AUTH" - ], - "AllowedOAuthFlowsUserPoolClient": false + { + "UserPoolClient": { + "UserPoolId": "us-west-2_EXAMPLE", + "ClientName": "MyTestClient", + "ClientId": "123abc456defEXAMPLE", + "ClientSecret": "this1234is5678my91011example1213client1415secret", + "LastModifiedDate": 1726788459.464, + "CreationDate": 1726788459.464, + "RefreshTokenValidity": 10, + "AccessTokenValidity": 60, + "IdTokenValidity": 60, + "TokenValidityUnits": { + "AccessToken": "minutes", + "IdToken": "minutes", + "RefreshToken": "days" + }, + "ReadAttributes": [ + "email_verified", + "phone_number_verified", + "phone_number", + "email" + ], + "WriteAttributes": [ + "phone_number", + "email" + ], + "ExplicitAuthFlows": [ + "ALLOW_USER_PASSWORD_AUTH", + "ALLOW_USER_SRP_AUTH", + "ALLOW_REFRESH_TOKEN_AUTH" + ], + "SupportedIdentityProviders": [ + "Google", + "MyOIDC", + "Facebook" + ], + "CallbackURLs": [ + "https://example.com", + "https://www.amazon.com", + "myapp://example", + "http://localhost:8001" + ], + "AllowedOAuthFlows": [ + "implicit", + "code" + ], + "AllowedOAuthScopes": [ + "aws.cognito.signin.user.admin", + "openid", + "profile", + "solar-system-data/asteroids.add" + ], + "AllowedOAuthFlowsUserPoolClient": true, + "AnalyticsConfiguration": { + "ApplicationArn": "arn:aws:mobiletargeting:us-west-2:123456789012:apps/thisisanexamplepinpointapplicationid", + "RoleArn": "arn:aws:iam::123456789012:role/aws-service-role/cognito-idp.amazonaws.com/AWSServiceRoleForAmazonCognitoIdp", + "UserDataShared": true + }, + "PreventUserExistenceErrors": "ENABLED", + "EnableTokenRevocation": true, + "EnablePropagateAdditionalUserContextData": true, + "AuthSessionValidity": 4 + } } - } +For more information, see `Application-specific settings with app clients `__ in the *Amazon Cognito Developer Guide*. diff --git a/awscli/examples/cognito-idp/create-user-pool-domain.rst b/awscli/examples/cognito-idp/create-user-pool-domain.rst index 77e6185cc12f..9fb60e6cb1f6 100644 --- a/awscli/examples/cognito-idp/create-user-pool-domain.rst +++ b/awscli/examples/cognito-idp/create-user-pool-domain.rst @@ -1,8 +1,26 @@ -**To create a user pool domain** +**Example 1: To create a user pool domain** -This example creates a new user pool domain. with two explicit authorization flows: USER_PASSWORD_AUTH and ADMIN_NO_SRP_AUTH. +The following ``create-user-pool-domain`` example creates a new custom domain. :: -Command:: + aws cognito-idp create-user-pool-domain \ + --user-pool-id us-west-2_EXAMPLE \ + --domain auth.example.com \ + --custom-domain-config CertificateArn=arn:aws:acm:us-east-1:123456789012:certificate/a1b2c3d4-5678-90ab-cdef-EXAMPLE22222 - aws cognito-idp create-user-pool-domain --user-pool-id us-west-2_aaaaaaaaa --domain my-new-domain - +Output:: + + { + "CloudFrontDomain": "example1domain.cloudfront.net" + } + +For more information, see `Configuring a user pool domain `__ in the *Amazon Cognito Developer Guide*. + +**Example 2: To create a user pool domain** + +The following ``create-user-pool-domain`` example creates a new domain with a service-owned prefix. :: + + aws cognito-idp create-user-pool-domain \ + --user-pool-id us-west-2_EXAMPLE2 \ + --domain mydomainprefix + +For more information, see `Configuring a user pool domain `__ in the *Amazon Cognito Developer Guide*. diff --git a/awscli/examples/cognito-idp/delete-user-attributes.rst b/awscli/examples/cognito-idp/delete-user-attributes.rst index 3856abc42271..16e730946a08 100644 --- a/awscli/examples/cognito-idp/delete-user-attributes.rst +++ b/awscli/examples/cognito-idp/delete-user-attributes.rst @@ -1,8 +1,11 @@ -**To delete user attributes** +**To delete a user attribute** -This example deletes the user attribute "FAVORITE_ANIMAL". +The following ``delete-user-attributes`` example deletes the custom attribute "custom:attribute" from the currently signed-in user. :: -Command:: + aws cognito-idp delete-user-attributes \ + --access-token ACCESS_TOKEN \ + --user-attribute-names "custom:department" - aws cognito-idp delete-user-attributes --access-token ACCESS_TOKEN --user-attribute-names "FAVORITE_ANIMAL" - +This command produces no output. + +For more information, see `Working with user attributes `__ in the *Amazon Cognito Developer Guide*. diff --git a/awscli/examples/cognito-idp/describe-user-pool.rst b/awscli/examples/cognito-idp/describe-user-pool.rst index 130a301f038d..3e3fba376e04 100644 --- a/awscli/examples/cognito-idp/describe-user-pool.rst +++ b/awscli/examples/cognito-idp/describe-user-pool.rst @@ -1,267 +1,376 @@ **To describe a user pool** -This example describes a user pool with the user pool id us-west-2_aaaaaaaaa. +The following example describes a user pool with the user pool id us-west-2_EXAMPLE. :: -Command:: - - aws cognito-idp describe-user-pool --user-pool-id us-west-2_aaaaaaaaa + aws cognito-idp describe-user-pool \ + --user-pool-id us-west-2_EXAMPLE Output:: - { - "UserPool": { - "SmsVerificationMessage": "Your verification code is {####}. ", - "SchemaAttributes": [ - { - "Name": "sub", - "StringAttributeConstraints": { - "MinLength": "1", - "MaxLength": "2048" - }, - "DeveloperOnlyAttribute": false, - "Required": true, - "AttributeDataType": "String", - "Mutable": false + { + "UserPool": { + "Id": "us-west-2_EXAMPLE", + "Name": "MyUserPool", + "Policies": { + "PasswordPolicy": { + "MinimumLength": 8, + "RequireUppercase": true, + "RequireLowercase": true, + "RequireNumbers": true, + "RequireSymbols": true, + "TemporaryPasswordValidityDays": 1 + } }, - { - "Name": "name", - "StringAttributeConstraints": { - "MinLength": "0", - "MaxLength": "2048" + "DeletionProtection": "ACTIVE", + "LambdaConfig": { + "PreSignUp": "arn:aws:lambda:us-west-2:123456789012:function:MyPreSignUpFunction", + "CustomMessage": "arn:aws:lambda:us-west-2:123456789012:function:MyCustomMessageFunction", + "PostConfirmation": "arn:aws:lambda:us-west-2:123456789012:function:MyPostConfirmationFunction", + "PreAuthentication": "arn:aws:lambda:us-west-2:123456789012:function:MyPreAuthenticationFunction", + "PostAuthentication": "arn:aws:lambda:us-west-2:123456789012:function:MyPostAuthenticationFunction", + "DefineAuthChallenge": "arn:aws:lambda:us-west-2:123456789012:function:MyDefineAuthChallengeFunction", + "CreateAuthChallenge": "arn:aws:lambda:us-west-2:123456789012:function:MyCreateAuthChallengeFunction", + "VerifyAuthChallengeResponse": "arn:aws:lambda:us-west-2:123456789012:function:MyVerifyAuthChallengeFunction", + "PreTokenGeneration": "arn:aws:lambda:us-west-2:123456789012:function:MyPreTokenGenerationFunction", + "UserMigration": "arn:aws:lambda:us-west-2:123456789012:function:MyMigrateUserFunction", + "PreTokenGenerationConfig": { + "LambdaVersion": "V2_0", + "LambdaArn": "arn:aws:lambda:us-west-2:123456789012:function:MyPreTokenGenerationFunction" }, - "DeveloperOnlyAttribute": false, - "Required": false, - "AttributeDataType": "String", - "Mutable": true - }, - { - "Name": "given_name", - "StringAttributeConstraints": { - "MinLength": "0", - "MaxLength": "2048" + "CustomSMSSender": { + "LambdaVersion": "V1_0", + "LambdaArn": "arn:aws:lambda:us-west-2:123456789012:function:MyCustomSMSSenderFunction" }, - "DeveloperOnlyAttribute": false, - "Required": false, - "AttributeDataType": "String", - "Mutable": true - }, - { - "Name": "family_name", - "StringAttributeConstraints": { - "MinLength": "0", - "MaxLength": "2048" + "CustomEmailSender": { + "LambdaVersion": "V1_0", + "LambdaArn": "arn:aws:lambda:us-west-2:123456789012:function:MyCustomEmailSenderFunction" }, - "DeveloperOnlyAttribute": false, - "Required": false, - "AttributeDataType": "String", - "Mutable": true + "KMSKeyID": "arn:aws:kms:us-west-2:123456789012:key/a1b2c3d4-5678-90ab-cdef-EXAMPLE22222" }, - { - "Name": "middle_name", - "StringAttributeConstraints": { - "MinLength": "0", - "MaxLength": "2048" + "LastModifiedDate": 1726784814.598, + "CreationDate": 1602103465.273, + "SchemaAttributes": [ + { + "Name": "sub", + "AttributeDataType": "String", + "DeveloperOnlyAttribute": false, + "Mutable": false, + "Required": true, + "StringAttributeConstraints": { + "MinLength": "1", + "MaxLength": "2048" + } }, - "DeveloperOnlyAttribute": false, - "Required": false, - "AttributeDataType": "String", - "Mutable": true - }, - { - "Name": "nickname", - "StringAttributeConstraints": { - "MinLength": "0", - "MaxLength": "2048" + { + "Name": "name", + "AttributeDataType": "String", + "DeveloperOnlyAttribute": false, + "Mutable": true, + "Required": false, + "StringAttributeConstraints": { + "MinLength": "0", + "MaxLength": "2048" + } }, - "DeveloperOnlyAttribute": false, - "Required": false, - "AttributeDataType": "String", - "Mutable": true - }, - { - "Name": "preferred_username", - "StringAttributeConstraints": { - "MinLength": "0", - "MaxLength": "2048" + { + "Name": "given_name", + "AttributeDataType": "String", + "DeveloperOnlyAttribute": false, + "Mutable": true, + "Required": false, + "StringAttributeConstraints": { + "MinLength": "0", + "MaxLength": "2048" + } }, - "DeveloperOnlyAttribute": false, - "Required": false, - "AttributeDataType": "String", - "Mutable": true - }, - { - "Name": "profile", - "StringAttributeConstraints": { - "MinLength": "0", - "MaxLength": "2048" + { + "Name": "family_name", + "AttributeDataType": "String", + "DeveloperOnlyAttribute": false, + "Mutable": true, + "Required": false, + "StringAttributeConstraints": { + "MinLength": "0", + "MaxLength": "2048" + } }, - "DeveloperOnlyAttribute": false, - "Required": false, - "AttributeDataType": "String", - "Mutable": true - }, - { - "Name": "picture", - "StringAttributeConstraints": { - "MinLength": "0", - "MaxLength": "2048" + { + "Name": "middle_name", + "AttributeDataType": "String", + "DeveloperOnlyAttribute": false, + "Mutable": true, + "Required": false, + "StringAttributeConstraints": { + "MinLength": "0", + "MaxLength": "2048" + } }, - "DeveloperOnlyAttribute": false, - "Required": false, - "AttributeDataType": "String", - "Mutable": true - }, - { - "Name": "website", - "StringAttributeConstraints": { - "MinLength": "0", - "MaxLength": "2048" + { + "Name": "nickname", + "AttributeDataType": "String", + "DeveloperOnlyAttribute": false, + "Mutable": true, + "Required": false, + "StringAttributeConstraints": { + "MinLength": "0", + "MaxLength": "2048" + } }, - "DeveloperOnlyAttribute": false, - "Required": false, - "AttributeDataType": "String", - "Mutable": true - }, - { - "Name": "email", - "StringAttributeConstraints": { - "MinLength": "0", - "MaxLength": "2048" + { + "Name": "preferred_username", + "AttributeDataType": "String", + "DeveloperOnlyAttribute": false, + "Mutable": true, + "Required": false, + "StringAttributeConstraints": { + "MinLength": "0", + "MaxLength": "2048" + } }, - "DeveloperOnlyAttribute": false, - "Required": true, - "AttributeDataType": "String", - "Mutable": true - }, - { - "AttributeDataType": "Boolean", - "DeveloperOnlyAttribute": false, - "Required": false, - "Name": "email_verified", - "Mutable": true - }, - { - "Name": "gender", - "StringAttributeConstraints": { - "MinLength": "0", - "MaxLength": "2048" + { + "Name": "profile", + "AttributeDataType": "String", + "DeveloperOnlyAttribute": false, + "Mutable": true, + "Required": false, + "StringAttributeConstraints": { + "MinLength": "0", + "MaxLength": "2048" + } }, - "DeveloperOnlyAttribute": false, - "Required": false, - "AttributeDataType": "String", - "Mutable": true - }, - { - "Name": "birthdate", - "StringAttributeConstraints": { - "MinLength": "10", - "MaxLength": "10" + { + "Name": "picture", + "AttributeDataType": "String", + "DeveloperOnlyAttribute": false, + "Mutable": true, + "Required": false, + "StringAttributeConstraints": { + "MinLength": "0", + "MaxLength": "2048" + } }, - "DeveloperOnlyAttribute": false, - "Required": false, - "AttributeDataType": "String", - "Mutable": true - }, - { - "Name": "zoneinfo", - "StringAttributeConstraints": { - "MinLength": "0", - "MaxLength": "2048" + { + "Name": "website", + "AttributeDataType": "String", + "DeveloperOnlyAttribute": false, + "Mutable": true, + "Required": false, + "StringAttributeConstraints": { + "MinLength": "0", + "MaxLength": "2048" + } }, - "DeveloperOnlyAttribute": false, - "Required": false, - "AttributeDataType": "String", - "Mutable": true - }, - { - "Name": "locale", - "StringAttributeConstraints": { - "MinLength": "0", - "MaxLength": "2048" + { + "Name": "email", + "AttributeDataType": "String", + "DeveloperOnlyAttribute": false, + "Mutable": true, + "Required": true, + "StringAttributeConstraints": { + "MinLength": "0", + "MaxLength": "2048" + } }, - "DeveloperOnlyAttribute": false, - "Required": false, - "AttributeDataType": "String", - "Mutable": true - }, - { - "Name": "phone_number", - "StringAttributeConstraints": { - "MinLength": "0", - "MaxLength": "2048" + { + "Name": "email_verified", + "AttributeDataType": "Boolean", + "DeveloperOnlyAttribute": false, + "Mutable": true, + "Required": false + }, + { + "Name": "gender", + "AttributeDataType": "String", + "DeveloperOnlyAttribute": false, + "Mutable": true, + "Required": false, + "StringAttributeConstraints": { + "MinLength": "0", + "MaxLength": "2048" + } + }, + { + "Name": "birthdate", + "AttributeDataType": "String", + "DeveloperOnlyAttribute": false, + "Mutable": true, + "Required": false, + "StringAttributeConstraints": { + "MinLength": "10", + "MaxLength": "10" + } }, - "DeveloperOnlyAttribute": false, - "Required": false, - "AttributeDataType": "String", - "Mutable": true + { + "Name": "zoneinfo", + "AttributeDataType": "String", + "DeveloperOnlyAttribute": false, + "Mutable": true, + "Required": false, + "StringAttributeConstraints": { + "MinLength": "0", + "MaxLength": "2048" + } + }, + { + "Name": "locale", + "AttributeDataType": "String", + "DeveloperOnlyAttribute": false, + "Mutable": true, + "Required": false, + "StringAttributeConstraints": { + "MinLength": "0", + "MaxLength": "2048" + } + }, + { + "Name": "phone_number", + "AttributeDataType": "String", + "DeveloperOnlyAttribute": false, + "Mutable": true, + "Required": false, + "StringAttributeConstraints": { + "MinLength": "0", + "MaxLength": "2048" + } + }, + { + "Name": "phone_number_verified", + "AttributeDataType": "Boolean", + "DeveloperOnlyAttribute": false, + "Mutable": true, + "Required": false + }, + { + "Name": "address", + "AttributeDataType": "String", + "DeveloperOnlyAttribute": false, + "Mutable": true, + "Required": false, + "StringAttributeConstraints": { + "MinLength": "0", + "MaxLength": "2048" + } + }, + { + "Name": "updated_at", + "AttributeDataType": "Number", + "DeveloperOnlyAttribute": false, + "Mutable": true, + "Required": false, + "NumberAttributeConstraints": { + "MinValue": "0" + } + }, + { + "Name": "identities", + "AttributeDataType": "String", + "DeveloperOnlyAttribute": false, + "Mutable": true, + "Required": false, + "StringAttributeConstraints": {} + }, + { + "Name": "custom:111", + "AttributeDataType": "String", + "DeveloperOnlyAttribute": false, + "Mutable": true, + "Required": false, + "StringAttributeConstraints": { + "MinLength": "1", + "MaxLength": "256" + } + }, + { + "Name": "dev:custom:222", + "AttributeDataType": "String", + "DeveloperOnlyAttribute": true, + "Mutable": true, + "Required": false, + "StringAttributeConstraints": { + "MinLength": "1", + "MaxLength": "421" + } + }, + { + "Name": "custom:accesstoken", + "AttributeDataType": "String", + "DeveloperOnlyAttribute": false, + "Mutable": true, + "Required": false, + "StringAttributeConstraints": { + "MaxLength": "2048" + } + }, + { + "Name": "custom:idtoken", + "AttributeDataType": "String", + "DeveloperOnlyAttribute": false, + "Mutable": true, + "Required": false, + "StringAttributeConstraints": { + "MaxLength": "2048" + } + } + ], + "AutoVerifiedAttributes": [ + "email" + ], + "SmsVerificationMessage": "Your verification code is {####}. ", + "EmailVerificationMessage": "Your verification code is {####}. ", + "EmailVerificationSubject": "Your verification code", + "VerificationMessageTemplate": { + "SmsMessage": "Your verification code is {####}. ", + "EmailMessage": "Your verification code is {####}. ", + "EmailSubject": "Your verification code", + "EmailMessageByLink": "Please click the link below to verify your email address. {##Verify Your Email##}\n this is from us-west-2_ywDJHlIfU", + "EmailSubjectByLink": "Your verification link", + "DefaultEmailOption": "CONFIRM_WITH_LINK" }, - { - "AttributeDataType": "Boolean", - "DeveloperOnlyAttribute": false, - "Required": false, - "Name": "phone_number_verified", - "Mutable": true + "SmsAuthenticationMessage": "Your verification code is {####}. ", + "UserAttributeUpdateSettings": { + "AttributesRequireVerificationBeforeUpdate": [] }, - { - "Name": "address", - "StringAttributeConstraints": { - "MinLength": "0", - "MaxLength": "2048" - }, - "DeveloperOnlyAttribute": false, - "Required": false, - "AttributeDataType": "String", - "Mutable": true + "MfaConfiguration": "OPTIONAL", + "DeviceConfiguration": { + "ChallengeRequiredOnNewDevice": true, + "DeviceOnlyRememberedOnUserPrompt": false }, - { - "Name": "updated_at", - "NumberAttributeConstraints": { - "MinValue": "0" - }, - "DeveloperOnlyAttribute": false, - "Required": false, - "AttributeDataType": "Number", - "Mutable": true - } - ], - "EmailVerificationSubject": "Your verification code", - "MfaConfiguration": "OFF", - "Name": "MyUserPool", - "EmailVerificationMessage": "Your verification code is {####}. ", - "SmsAuthenticationMessage": "Your authentication code is {####}. ", - "LastModifiedDate": 1547763720.822, - "AdminCreateUserConfig": { - "InviteMessageTemplate": { - "EmailMessage": "Your username is {username} and temporary password is {####}. ", - "EmailSubject": "Your temporary password", - "SMSMessage": "Your username is {username} and temporary password is {####}. " + "EstimatedNumberOfUsers": 166, + "EmailConfiguration": { + "SourceArn": "arn:aws:ses:us-west-2:123456789012:identity/admin@example.com", + "EmailSendingAccount": "DEVELOPER" }, - "UnusedAccountValidityDays": 7, - "AllowAdminCreateUserOnly": false - }, - "EmailConfiguration": { - "ReplyToEmailAddress": "myemail@mydomain.com" - "SourceArn": "arn:aws:ses:us-east-1:000000000000:identity/myemail@mydomain.com" - }, - "AutoVerifiedAttributes": [ - "email" - ], - "Policies": { - "PasswordPolicy": { - "RequireLowercase": true, - "RequireSymbols": true, - "RequireNumbers": true, - "MinimumLength": 8, - "RequireUppercase": true + "SmsConfiguration": { + "SnsCallerArn": "arn:aws:iam::123456789012:role/service-role/userpool-SMS-Role", + "ExternalId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111", + "SnsRegion": "us-west-2" + }, + "UserPoolTags": {}, + "Domain": "myCustomDomain", + "CustomDomain": "auth.example.com", + "AdminCreateUserConfig": { + "AllowAdminCreateUserOnly": false, + "UnusedAccountValidityDays": 1, + "InviteMessageTemplate": { + "SMSMessage": "Your username is {username} and temporary password is {####}. ", + "EmailMessage": "Your username is {username} and temporary password is {####}. ", + "EmailSubject": "Your temporary password" + } + }, + "UserPoolAddOns": { + "AdvancedSecurityMode": "ENFORCED", + "AdvancedSecurityAdditionalFlows": {} + }, + "Arn": "arn:aws:cognito-idp:us-west-2:123456789012:userpool/us-west-2_EXAMPLE", + "AccountRecoverySetting": { + "RecoveryMechanisms": [ + { + "Priority": 1, + "Name": "verified_email" + } + ] } - }, - "UserPoolTags": {}, - "UsernameAttributes": [ - "email" - ], - "CreationDate": 1547763720.822, - "EstimatedNumberOfUsers": 1, - "Id": "us-west-2_aaaaaaaaa", - "LambdaConfig": {} + } } - } \ No newline at end of file + +For more information, see `Amazon Cognito user pools `__ in the *Amazon Cognito Developer Guide*. diff --git a/awscli/examples/cognito-idp/get-device.rst b/awscli/examples/cognito-idp/get-device.rst new file mode 100644 index 000000000000..d3839ee1b1a1 --- /dev/null +++ b/awscli/examples/cognito-idp/get-device.rst @@ -0,0 +1,50 @@ +**To get a device** + +The following ``get-device`` example displays one device for currently signed-in user. :: + + aws cognito-idp get-device \ + --access-token eyJra456defEXAMPLE \ + --device-key us-west-2_a1b2c3d4-5678-90ab-cdef-EXAMPLE11111 + +Output:: + + { + "Device": { + "DeviceKey": "us-west-2_a1b2c3d4-5678-90ab-cdef-EXAMPLE11111", + "DeviceAttributes": [ + { + "Name": "device_status", + "Value": "valid" + }, + { + "Name": "device_name", + "Value": "MyDevice" + }, + { + "Name": "dev:device_arn", + "Value": "arn:aws:cognito-idp:us-west-2:123456789012:owner/diego.us-west-2_EXAMPLE/device/us-west-2_a1b2c3d4-5678-90ab-cdef-EXAMPLE11111" + }, + { + "Name": "dev:device_owner", + "Value": "diego.us-west-2_EXAMPLE" + }, + { + "Name": "last_ip_used", + "Value": "192.0.2.1" + }, + { + "Name": "dev:device_remembered_status", + "Value": "remembered" + }, + { + "Name": "dev:device_sdk", + "Value": "aws-sdk" + } + ], + "DeviceCreateDate": 1715100742.022, + "DeviceLastModifiedDate": 1723233651.167, + "DeviceLastAuthenticatedDate": 1715100742.0 + } + } + +For more information, see `Working with user devices in your user pool `__ in the *Amazon Cognito Developer Guide*. diff --git a/awscli/examples/cognito-idp/get-group.rst b/awscli/examples/cognito-idp/get-group.rst index 61a87756385c..dd6c4b0e16fb 100644 --- a/awscli/examples/cognito-idp/get-group.rst +++ b/awscli/examples/cognito-idp/get-group.rst @@ -1,19 +1,22 @@ **To get information about a group** -This example gets information about a group named MyGroup. +The following ``get-group`` example lists the properties of the user group named ``MyGroup``. This group has a precedence and an IAM role associated with it. :: -Command:: - - aws cognito-idp get-group --user-pool-id us-west-2_aaaaaaaaa --group-name MyGroup + aws cognito-idp get-group \ + --user-pool-id us-west-2_EXAMPLE \ + --group-name MyGroup Output:: - { - "Group": { - "GroupName": "MyGroup", - "UserPoolId": "us-west-2_aaaaaaaaa", - "Description": "A sample group.", - "LastModifiedDate": 1548270073.795, - "CreationDate": 1548270073.795 + { + "Group": { + "GroupName": "MyGroup", + "UserPoolId": "us-west-2_EXAMPLE", + "RoleArn": "arn:aws:iam::123456789012:role/example-cognito-role", + "Precedence": 7, + "LastModifiedDate": 1697211218.305, + "CreationDate": 1611685503.954 + } } - } \ No newline at end of file + +For more information, see `Adding groups to a user pool `__ in the *Amazon Cognito Developer Guide*. diff --git a/awscli/examples/cognito-idp/list-devices.rst b/awscli/examples/cognito-idp/list-devices.rst new file mode 100644 index 000000000000..d74692723d2c --- /dev/null +++ b/awscli/examples/cognito-idp/list-devices.rst @@ -0,0 +1,53 @@ +**To list devices for a user** + +The following ``list-devices`` example lists devices for the currently sign-in user. :: + + aws cognito-idp admin-list-devices \ + --user-pool-id us-west-2_EXAMPLE \ + --access-token eyJra456defEXAMPLE \ + --limit 1 + +Output:: + + { + "Devices": [ + { + "DeviceKey": "us-west-2_a1b2c3d4-5678-90ab-cdef-EXAMPLE11111", + "DeviceAttributes": [ + { + "Name": "device_status", + "Value": "valid" + }, + { + "Name": "device_name", + "Value": "MyDevice" + }, + { + "Name": "dev:device_arn", + "Value": "arn:aws:cognito-idp:us-west-2:123456789012:owner/diego.us-west-2_EXAMPLE/device/us-west-2_a1b2c3d4-5678-90ab-cdef-EXAMPLE11111" + }, + { + "Name": "dev:device_owner", + "Value": "diego.us-west-2_EXAMPLE" + }, + { + "Name": "last_ip_used", + "Value": "192.0.2.1" + }, + { + "Name": "dev:device_remembered_status", + "Value": "remembered" + }, + { + "Name": "dev:device_sdk", + "Value": "aws-sdk" + } + ], + "DeviceCreateDate": 1715100742.022, + "DeviceLastModifiedDate": 1723233651.167, + "DeviceLastAuthenticatedDate": 1715100742.0 + } + ] + } + +For more information, see `Working with user devices in your user pool `__ in the *Amazon Cognito Developer Guide*. diff --git a/awscli/examples/ec2/describe-capacity-reservation-fleets.rst b/awscli/examples/ec2/describe-capacity-reservation-fleets.rst index b9f4abe3b1dd..0b55a285fcb6 100644 --- a/awscli/examples/ec2/describe-capacity-reservation-fleets.rst +++ b/awscli/examples/ec2/describe-capacity-reservation-fleets.rst @@ -1,6 +1,6 @@ **To view a Capacity Reservation Fleet** -The following ``describe-capacity-reservation-fleets`` example lists configuration and capacity information for the specified Capacity Reservation Fleet. It also lists details about the individual Capacity Reservations that are inside the Fleet.:: +The following ``describe-capacity-reservation-fleets`` example lists configuration and capacity information for the specified Capacity Reservation Fleet. It also lists details about the individual Capacity Reservations that are inside the Fleet. :: aws ec2 describe-capacity-reservation-fleets \ --capacity-reservation-fleet-ids crf-abcdef01234567890 @@ -10,7 +10,7 @@ Output:: { "CapacityReservationFleets": [ { - "Status": "active", + "State": "active", "EndDate": "2022-12-31T23:59:59.000Z", "InstanceMatchCriteria": "open", "Tags": [], @@ -38,4 +38,4 @@ Output:: ] } -For more information about Capacity Reservation Fleets, see `Capacity Reservation Fleets `__ in the *Amazon EC2 User Guide*. \ No newline at end of file +For more information about Capacity Reservation Fleets, see `Capacity Reservation Fleets `__ in the *Amazon EC2 User Guide*. diff --git a/awscli/examples/ec2/import-snapshot.rst b/awscli/examples/ec2/import-snapshot.rst index 502ebfd6c5e9..60f21ac9514c 100755 --- a/awscli/examples/ec2/import-snapshot.rst +++ b/awscli/examples/ec2/import-snapshot.rst @@ -4,7 +4,7 @@ The following ``import-snapshot`` example imports the specified disk as a snapsh aws ec2 import-snapshot \ --description "My server VMDK" \ - --disk-container Format=VMDK,UserBucket={S3Bucket=my-import-bucket,S3Key=vms/my-server-vm.vmdk} + --disk-container Format=VMDK,UserBucket={'S3Bucket=my-import-bucket,S3Key=vms/my-server-vm.vmdk'} Output:: diff --git a/awscli/examples/ecr-public/batch-delete-image.rst b/awscli/examples/ecr-public/batch-delete-image.rst new file mode 100644 index 000000000000..3f053e245783 --- /dev/null +++ b/awscli/examples/ecr-public/batch-delete-image.rst @@ -0,0 +1,92 @@ +**Example 1: To delete an image by using image digest ids, the image and all of its tags are deleted within a repository in a public registry** + +The following ``batch-delete-image`` example deletes an image by specifying the image digest.:: + + aws ecr-public batch-delete-image \ + --repository-name project-a/nginx-web-app \ + --image-ids imageDigest=sha256:b1f9deb5fe3711a3278379ebbcaefbc5d70a2263135db86bd27a0dae150546c2 + +Output:: + + { + "imageIds": [ + { + "imageDigest": "sha256:b1f9deb5fe3711a3278379ebbcaefbc5d70a2263135db86bd27a0dae150546c2", + "imageTag": "latest" + } + ], + "failures": [] + } + +For more information, see `Deleting an image in a public repository `__ in the *Amazon ECR Public User Guide*. + +**Example 2: To delete any image by specifying the tag associated with the image you want to delete from the repository.** + +The following ``batch-delete-image`` example deletes an image by specifying the tag associated with the image repository named ``project-a/nginx-web-app`` in a public registry. If you have only one tag and execute this command, it will remove the image. Otherwise, if you have multiple tags for the same image, specify one, and only the tag is removed from repository and not the image. :: + + aws ecr-public batch-delete-image \ + --repository-name project-a/nginx-web-app \ + --image-ids imageTag=_temp + +Output:: + + { + "imageIds": [ + { + "imageDigest": "sha256:f7a86a0760e2f8d7eff07e515fc87bf4bac45c35376c06f9a280f15ecad6d7e0", + "imageTag": "_temp" + } + ], + "failures": [] + } + +For more information, see `Deleting an image in a public repository `__ in the *Amazon ECR Public User Guide*. + +**Example 3: To delete multiple images, you can specify multiple image tags or image digests in the request for a repository in a public registry.** + +The following ``batch-delete-image`` example delete multiple images from a repository named `project-a/nginx-web-app` by specifying multiple image tags or image digests in the request. :: + + aws ecr-public batch-delete-image \ + --repository-name project-a/nginx-web-app \ + --image-ids imageTag=temp2.0 imageDigest=sha256:47ba980bc055353d9c0af89b1894f68faa43ca93856917b8406316be86f01278 + +Output:: + + { + "imageIds": [ + { + "imageDigest": "sha256:47ba980bc055353d9c0af89b1894f68faa43ca93856917b8406316be86f01278" + }, + { + "imageDigest": "sha256:f7a86a0760e2f8d7eff07e515fc87bf4bac45c35376c06f9a280f15ecad6d7e0", + "imageTag": "temp2.0" + } + ], + "failures": [] + } + +For more information, see `Deleting an image in a public repository `__ in the *Amazon ECR Public User Guide*. + +**Example 4: To delete an image in cross AWS Account using registry-id and imagedigest ids, the image and all of its tags are deleted within a repository in a public registry** + +The following ``batch-delete-image`` example deletes an image by specifying the image digest in the cross AWS Account.:: + + aws ecr-public batch-delete-image \ + --registry-id 123456789098 \ + --repository-name project-a/nginx-web-app \ + --image-ids imageDigest=sha256:b1f9deb5fe3711a3278379ebbcaefbc5d70a2263135db86bd27a0dae150546c2 \ + --region us-east-1 + +Output:: + + { + "imageIds": [ + { + "imageDigest": "sha256:b1f9deb5fe3711a3278379ebbcaefbc5d70a2263135db86bd27a0dae150546c2", + "imageTag": "temp2.0" + } + ], + "failures": [] + } + +For more information, see `Deleting an image in a public repository `__ in the *Amazon ECR Public User Guide*. diff --git a/awscli/examples/ecr-public/create-repository.rst b/awscli/examples/ecr-public/create-repository.rst index cc18a72f72f2..9637a552bcd1 100644 --- a/awscli/examples/ecr-public/create-repository.rst +++ b/awscli/examples/ecr-public/create-repository.rst @@ -1,6 +1,6 @@ **Example 1: To create a repository in a public registry** -The following ``create-repository`` example creates a repository named ``project-a/nginx-web-app`` in a public registry. :: +The following ``create-repository`` example creates a repository named `project-a/nginx-web-app` in a public registry. :: aws ecr-public create-repository \ --repository-name project-a/nginx-web-app @@ -22,12 +22,13 @@ For more information, see `Creating a public repository `__ in the *Amazon ECR Public User Guide*. diff --git a/awscli/examples/ecr-public/delete-repository.rst b/awscli/examples/ecr-public/delete-repository.rst index 5f041e759c2a..cf8308e6a013 100644 --- a/awscli/examples/ecr-public/delete-repository.rst +++ b/awscli/examples/ecr-public/delete-repository.rst @@ -17,4 +17,4 @@ Output:: } } -For more information, see `Deleting a public repository `__ in the *Amazon ECR Public User Guide*. +For more information, see `Deleting a public repository `__ in the *Amazon ECR Public*. diff --git a/awscli/examples/ecr-public/describe-image-tags.rst b/awscli/examples/ecr-public/describe-image-tags.rst new file mode 100644 index 000000000000..7dd562e2df61 --- /dev/null +++ b/awscli/examples/ecr-public/describe-image-tags.rst @@ -0,0 +1,25 @@ +**Example 1: To describe image tag details in public repository** + +The following ``describe-image-tags`` example describe imagetags in the ``project-a/nginx-web-app`` sample repository. :: + + aws ecr-public describe-image-tags \ + --repository-name project-a/nginx-web-app \ + --region us-east-1 + +Output:: + + { + "imageTagDetails": [ + { + "imageTag": "latest", + "createdAt": "2024-07-10T22:29:00-05:00", + "imageDetail": { + "imageDigest": "sha256:b1f9deb5fe3711a3278379ebbcaefbc5d70a2263135db86bd27a0dae150546c2", + "imageSizeInBytes": 121956548, + "imagePushedAt": "2024-07-10T22:29:00-05:00", + "imageManifestMediaType": "application/vnd.docker.distribution.manifest.v2+json", + "artifactMediaType": "application/vnd.docker.container.image.v1+json" + } + } + ] + } diff --git a/awscli/examples/ecr-public/describe-images.rst b/awscli/examples/ecr-public/describe-images.rst new file mode 100644 index 000000000000..a89779ede061 --- /dev/null +++ b/awscli/examples/ecr-public/describe-images.rst @@ -0,0 +1,82 @@ +**Example 1: To describe images in a public registry repository** + +The following ``describe-images`` example describes imagesDetails in a repository named ``project-a/nginx-web-app`` in a public registry. :: + + aws ecr-public describe-images \ + --repository-name project-a/nginx-web-app \ + --region us-east-1 + +Output:: + + { + "imageDetails": [ + { + "registryId": "123456789012", + "repositoryName": "project-a/nginx-web-app", + "imageDigest": "sha256:0d8c93e72e82fa070d49565c00af32abbe8ddfd7f75e39f4306771ae0628c7e8", + "imageTags": [ + "temp1.0" + ], + "imageSizeInBytes": 123184716, + "imagePushedAt": "2024-07-23T11:32:49-05:00", + "imageManifestMediaType": "application/vnd.docker.distribution.manifest.v2+json", + "artifactMediaType": "application/vnd.docker.container.image.v1+json" + }, + { + "registryId": "123456789012", + "repositoryName": "project-a/nginx-web-app", + "imageDigest": "sha256:b1f9deb5fe3711a3278379ebbcaefbc5d70a2263135db86bd27a0dae150546c2", + "imageTags": [ + "temp2.0" + ], + "imageSizeInBytes": 121956548, + "imagePushedAt": "2024-07-23T11:39:38-05:00", + "imageManifestMediaType": "application/vnd.docker.distribution.manifest.v2+json", + "artifactMediaType": "application/vnd.docker.container.image.v1+json" + }, + { + "registryId": "123456789012", + "repositoryName": "project-a/nginx-web-app", + "imageDigest": "sha256:f7a86a0760e2f8d7eff07e515fc87bf4bac45c35376c06f9a280f15ecad6d7e0", + "imageTags": [ + "temp3.0", + "latest" + ], + "imageSizeInBytes": 232108879, + "imagePushedAt": "2024-07-22T00:54:34-05:00", + "imageManifestMediaType": "application/vnd.docker.distribution.manifest.v2+json", + "artifactMediaType": "application/vnd.docker.container.image.v1+json" + } + ] + } + +For more information, see `Describe an image in a public repository `__ in the *Amazon ECR Public*. + +**Example 2: To describe images from the repository by sort imageTags & imagePushedAt** + +The following ``describe-images`` example describe images within repository named `project-a/nginx-web-app` in a public registry. :: + + aws ecr-public describe-images \ + --repository-name project-a/nginx-web-app \ + --query 'sort_by(imageDetails,& imagePushedAt)[*].imageTags[*]' \ + --output text + +Output:: + + temp3.0 latest + temp1.0 + temp2.0 + +**Example 3: To describe images from the repository to generate the last 2 image tags pushed in the repository** + +The following ``describe-images`` example gets imagetags details from the repository named ``project-a/nginx-web-app`` in a public registry and queries the result to display only the first two records. :: + + aws ecr-public describe-images \ + --repository-name project-a/nginx-web-app \ + --query 'sort_by(imageDetails,& imagePushedAt)[*].imageTags[*] | [0:2]' \ + --output text + +Output:: + + temp3.0 latest + temp1.0 diff --git a/awscli/examples/ecr-public/get-authorization-token.rst b/awscli/examples/ecr-public/get-authorization-token.rst new file mode 100644 index 000000000000..52c5fad05805 --- /dev/null +++ b/awscli/examples/ecr-public/get-authorization-token.rst @@ -0,0 +1,32 @@ +**Example 1: To retrieve an authorization token for any Amazon ECR public registry that the IAM principal has access** + +The following ``get-authorization-token`` example gets an authorization token with the AWS CLI and sets it to an environment variable. :: + + aws ecr-public get-authorization-token \ + --region us-east-1 + +Output:: + + { + "authorizationData": { + "authorizationToken": "QVdTOmV5SndZWGxzYjJKJFHDSFKJHERWUY65IOU36TRYEGFNSDLRIUOTUYTHJKLDFGOcmFUQk9OSFV2UVV4a0x6Sm1ZV0Z6TDFndlZtUjJSVmgxVEVObU9IZEdTWEZxU210c1JUQm5RWGxOUVV4NlNFUnROWG92ZWtGbWJFUjRkbWMyV0U5amFpczRNWGxTVkM5Tk5qWkVUM2RDYm05TVJqSkxjV3BsUVZvMmFYSm5iV1ZvVFdGSVRqVlFMMHN4VnpsTGVXbDFRWGRoTmpsbWFuQllhbVl6TkdGaGMwUjJha2xsYUhscWRscHZTRUpFVkVnNVQwNUdOVFpPY2xZclVFNVFVWGRSVFZvd04xUkhjVGxZZFVkQ1ZFZHBPRUptUzBVclYxQldMMjVMVkRsd2VFVlNSa1EzTWpWSlIxRkVWakJGZFZOVWEzaFBSVk5FWWpSc1lWZHZWMHBSYmxaMlJYWmhZekpaWVVOeFppdFlUa2xKU1RCdFUwdElVbXRJYlhGRk1WaFhNVTVRTkdwc1FYRlVNVWxZZUhkV05Xa3ZXWGd3ZUVZMWIyeE5VRU5QZEdSaWRHOU9lakZOZVdwTVZEUkNRVzlvYzNKSlpsRXhhR2cwWjJwRVJFVjNWalEzYjNCUmRIcEZUR1pYU1Rsc1kxSlNNbU5hUW5wRE1tOUpRMHR5Y1hkeGNXNDVMMmx4Um5GUlVGQnhjMVpQZG5WYUswOW9SQ3RPY0hwSlRsUk5lVXQyY0c1b1FsQjVZVEprVmtSdmJsQklOM05RU3pkNmQydERhMkZ5VmxSRmFVUndWVlE1ZGtsVWFXUkJWMFZEWVhoSFdXTk5VMXBTYTFreVRHZEVlVVZ0ZFRWRk4xTTVjRXBDUjBRMlYyTkdPVWhGWkVweVVGcEVaRFJxZUVablkwNXFaamh5YkVKWmJGSTNOVzFXSzFjdllXSTVTMWx2YUZacksxSnJWSFJ0Wml0T1NFSnpWVFZvV204eVFYbzFWRU5SYjNaR01Va3hPR3h2TWxkNVJsSmpUbTVSTjNjemJsUkdVRlZKVDBjeE9VeHlXVEpGVFRSS2NWbFdkVEJrV0VreFVsSktXbkpCVGtsMFdVZEJOMjltWjFFNGVHRktNbGRuWlVoUlNXNXdZV3A0VjI5M2FYZGljbE5tZGpkQ1ZYTmhOVFUyTDBzeVpteDBka0pUTVdkNGJ6TkxkSEJDYml0cE0waGhTbVpEZEZkQ00yOU1TM1pXTDNSVFlWaFpWelZXVWxjNFRXNXdhR3BhUmpoU1FuWnFkRlJMVW5abGRYRlNjVVJKZDBaSFpXUTRabEZUTUdOTVQwcFFkVXAyYjA5Tk9UaFlZMjEwVnpFMlpXdE9hMnBWV0hST1owUkpVV3R1VFU1dGJXWjNNVGc0VTAxUlNHZE9TbXRMY2tWYWJVeFljVVk0ZWpsTFdWWlRNbEZMVDJkMk1FaFBTMDl5YzJSM1NqTlplRGhUWVVOQlJGWnRlbkU1WTBKVFdqTktSR05WTkd0RGNEVjZNalJHVXpkVk9HTnVSa2xLUVd4SVJDODJXbGcyYldGemJVczJPRVp6TDBoNFMwWkRUMmdyYldGa1QwWjVhMlZQTm5SQ1l6QkpNbFpyVUhSaGVIbFVOR296VjFGVlQyMHpNeTlPWVVoSk1FdDBWalZFU2pneU5rcHNLemQxZDNwcVp6RlNja3AwVm10VU0yRnRWWGMzZDJnMFduSnFjVXczWTBjclNXeHFUVlUyVkZwWGNWY3ZSV0V6WW1oT2JIRklZVlJHU1RrMGEyOVJiMHBPVUhORk9FdERjbFJZY0daS2VVdHRZa2x5YjFORE4zSkJaWEJPZUU5eGR6WnhZMlY1WXprM1JtSkZhVFZFYkVFck5EUk9ZMWRyVEVNd1dqa2lMQ0prWVhSaGEyVjVJam9pWlhsS1VWSkdaMmxQYVVwV1ZXeENhVk5YVm14WFdFWk5VMjFrV21SRE9YaGFhWFF4VkhwS1MyTkljSHBVUms0MFlWaHNTbUpIYUhsWFZHdDZZVWhqZDFKRmFETldNbFYyWTJ0cmVVMUlTbHBWUjJONFRURlJNMDlHYUd4U01uaHVWRVJzUWxaV1pGZFJibkJLV1RCYU5HTXpUakpXTUhoWFRrWndhRTVyTVVwVFZFSkdWV3RzTUZaVVpEQlRSVGxyVkVkb2FGUlVVWHBaTVhCSFQxWmFOVlJxU20xaVZXUnVTM3BaTlZaV2NIcFdWMlJGVkcwMVRHSXdSakpXUnpoNlVsUm5kbUpzUmpGT2FUazFWVzFTY0dWR1FtOVdiVEZoVmpKc1NWRllhRmRTUkZwc1V6SkdSbUpWYkhCVlNFbDJWVzB4Ym1OVk1IWmFhelZ3WkZoa1FtVnFUa3BpTTJoTVRWVk9jMVo2V2t4aWJFWnJWRVUxVW1ONlp6QldWVFZPWW14c01sZFlZekprUjFwVFkxaE9kRnBXWkhaVFZWcGhWa2MxU2xWRlVtdFRiWE16WWpOVmVrNXFSa2RVTTJSd1QwaGtXbVJIVVhsbGJYQkRaRlp2ZGxvd1ZqWmlNbEl4Vkc1T2FtSldjRU5VU0ZVd1kwZDRjbU14WkhaVVYwNTRaRzV2TWxSVlVsQmpiSEJPVkc1VmVsZEZPVzVYYkVwWlUyNWtVbGRZWkZWaVdFWlNUVzF3VFZSSVFraE9XRnBwWVZoak0xUnJXak5OYm04eFpEQk9XbEZzYkhSTmEyaHpaRmRTUTJORVFUQlpWMk01VUZOSmMwbHJiRUpTUTBrMlNXNUZlbHA2U1RGVVZXeFVZekIwYVU5RWFEVmtiRVpzVVZWc2QxbHJWbmxOYW13MVZWaG9UazVzVWpWbFJHaDZZMjFHVkZVeFFubFZXRTVLVGpCMGFXSlZNWGhpUjBwTVlUSTVNRTVVYXpCTE0wVnlWakF4VG1WSE5VcGtSa0pRVld4V1UwOVdVWGhqTVc4eVZraFdlVnA2VGsxV01tUnhVV3Q0ZEdGcVRsUk5hMnN5V2tSV2FtUkdVakZqVm5CUFVrUlNjR0pHUm1GbGFscDRXV2x6Y2xFd1VYcGhSRnBZVmtaU2FVNXVSVFZYYlVaVFpXdHdkVmRZVGpaVGEyaDBWMnhDVlU0elZrWlRSRUpIVlVWa2MwNVlhRFZsUkVwelQwWkNSbE5WY0ZGWFNFWXhaVmMxVEZsVE9VeFdhMGt4V1ROS1Rrd3pXazFpYkhCdFVrUldWRlJHVlhaTmJVazBZbFZzUkV3d2N6UldSV2MxVDBWa05tSXpiM2hXVms1V1ZtMDFiRkZUT1hoUFJVcHpUMGRzU2xaSVJrTkxNVTVFWWtaa05WWnViRmRYVjJRd1RXcG5kMVJWUmpCa1JYQkdZVlYwZFZNeU1VVlpWVTVQV25wa1ExZHFVbE5sUjBaRVlWVTFXbVZwY3pSTE1HTTFVbFZGTlZwRll6UlRSMVoxVFcxb05XTnJkRUpWZWxsM1RETmplbUV4WkdGU1JsWm9ZVVpzZEdWR2JFTlVNblJYVkRCNE5HUXlkRXhaTWxKTlYxZDBWRTB5YUZwaFJsazFVMGR3Y0ZGVk9YaGxhekV6VVZRd09VbHVNRDBpTENKMlpYSnphVzl1SWpvaU15SXNJblI1Y0dVaU9pSkVRVlJCWDB0RldTSXNJbVY0Y0dseVlYUnBiMjRpT2pFM01qRTVOVGMzTmpKOQ==", + "expiresAt": "2024-07-25T21:37:26.301000-04:00" + } + } + +For more information, see `Amazon ECR public registries `__ in the *Amazon ECR Public*. + +**Example 2: To retrieve an authorization token for any Amazon ECR public registry that the IAM principal has access** + +The following ``get-authorization-token`` example gets an authorization token with the AWS CLI and sets it to an environment variable. :: + + aws ecr-public get-authorization-token \ + --region us-east-1 \ + --output=text \ + --query 'authorizationData.authorizationToken' + +Output:: + + QVdTOmV5SndZWGxzYjJKJFHDSFKJHERWUY65IOU36TRYEGFNSDLRIUOTUYTHJKLDFGOcmFUQk9OSFV2UVV4a0x6Sm1ZV0Z6TDFndlZtUjJSVmgxVEVObU9IZEdTWEZxU210c1JUQm5RWGxOUVV4NlNFUnROWG92ZWtGbWJFUjRkbWMyV0U5amFpczRNWGxTVkM5Tk5qWkVUM2RDYm05TVJqSkxjV3BsUVZvMmFYSm5iV1ZvVFdGSVRqVlFMMHN4VnpsTGVXbDFRWGRoTmpsbWFuQllhbVl6TkdGaGMwUjJha2xsYUhscWRscHZTRUpFVkVnNVQwNUdOVFpPY2xZclVFNVFVWGRSVFZvd04xUkhjVGxZZFVkQ1ZFZHBPRUptUzBVclYxQldMMjVMVkRsd2VFVlNSa1EzTWpWSlIxRkVWakJGZFZOVWEzaFBSVk5FWWpSc1lWZHZWMHBSYmxaMlJYWmhZekpaWVVOeFppdFlUa2xKU1RCdFUwdElVbXRJYlhGRk1WaFhNVTVRTkdwc1FYRlVNVWxZZUhkV05Xa3ZXWGd3ZUVZMWIyeE5VRU5QZEdSaWRHOU9lakZOZVdwTVZEUkNRVzlvYzNKSlpsRXhhR2cwWjJwRVJFVjNWalEzYjNCUmRIcEZUR1pYU1Rsc1kxSlNNbU5hUW5wRE1tOUpRMHR5Y1hkeGNXNDVMMmx4Um5GUlVGQnhjMVpQZG5WYUswOW9SQ3RPY0hwSlRsUk5lVXQyY0c1b1FsQjVZVEprVmtSdmJsQklOM05RU3pkNmQydERhMkZ5VmxSRmFVUndWVlE1ZGtsVWFXUkJWMFZEWVhoSFdXTk5VMXBTYTFreVRHZEVlVVZ0ZFRWRk4xTTVjRXBDUjBRMlYyTkdPVWhGWkVweVVGcEVaRFJxZUVablkwNXFaamh5YkVKWmJGSTNOVzFXSzFjdllXSTVTMWx2YUZacksxSnJWSFJ0Wml0T1NFSnpWVFZvV204eVFYbzFWRU5SYjNaR01Va3hPR3h2TWxkNVJsSmpUbTVSTjNjemJsUkdVRlZKVDBjeE9VeHlXVEpGVFRSS2NWbFdkVEJrV0VreFVsSktXbkpCVGtsMFdVZEJOMjltWjFFNGVHRktNbGRuWlVoUlNXNXdZV3A0VjI5M2FYZGljbE5tZGpkQ1ZYTmhOVFUyTDBzeVpteDBka0pUTVdkNGJ6TkxkSEJDYml0cE0waGhTbVpEZEZkQ00yOU1TM1pXTDNSVFlWaFpWelZXVWxjNFRXNXdhR3BhUmpoU1FuWnFkRlJMVW5abGRYRlNjVVJKZDBaSFpXUTRabEZUTUdOTVQwcFFkVXAyYjA5Tk9UaFlZMjEwVnpFMlpXdE9hMnBWV0hST1owUkpVV3R1VFU1dGJXWjNNVGc0VTAxUlNHZE9TbXRMY2tWYWJVeFljVVk0ZWpsTFdWWlRNbEZMVDJkMk1FaFBTMDl5YzJSM1NqTlplRGhUWVVOQlJGWnRlbkU1WTBKVFdqTktSR05WTkd0RGNEVjZNalJHVXpkVk9HTnVSa2xLUVd4SVJDODJXbGcyYldGemJVczJPRVp6TDBoNFMwWkRUMmdyYldGa1QwWjVhMlZQTm5SQ1l6QkpNbFpyVUhSaGVIbFVOR296VjFGVlQyMHpNeTlPWVVoSk1FdDBWalZFU2pneU5rcHNLemQxZDNwcVp6RlNja3AwVm10VU0yRnRWWGMzZDJnMFduSnFjVXczWTBjclNXeHFUVlUyVkZwWGNWY3ZSV0V6WW1oT2JIRklZVlJHU1RrMGEyOVJiMHBPVUhORk9FdERjbFJZY0daS2VVdHRZa2x5YjFORE4zSkJaWEJPZUU5eGR6WnhZMlY1WXprM1JtSkZhVFZFYkVFck5EUk9ZMWRyVEVNd1dqa2lMQ0prWVhSaGEyVjVJam9pWlhsS1VWSkdaMmxQYVVwV1ZXeENhVk5YVm14WFdFWk5VMjFrV21SRE9YaGFhWFF4VkhwS1MyTkljSHBVUms0MFlWaHNTbUpIYUhsWFZHdDZZVWhqZDFKRmFETldNbFYyWTJ0cmVVMUlTbHBWUjJONFRURlJNMDlHYUd4U01uaHVWRVJzUWxaV1pGZFJibkJLV1RCYU5HTXpUakpXTUhoWFRrWndhRTVyTVVwVFZFSkdWV3RzTUZaVVpEQlRSVGxyVkVkb2FGUlVVWHBaTVhCSFQxWmFOVlJxU20xaVZXUnVTM3BaTlZaV2NIcFdWMlJGVkcwMVRHSXdSakpXUnpoNlVsUm5kbUpzUmpGT2FUazFWVzFTY0dWR1FtOVdiVEZoVmpKc1NWRllhRmRTUkZwc1V6SkdSbUpWYkhCVlNFbDJWVzB4Ym1OVk1IWmFhelZ3WkZoa1FtVnFUa3BpTTJoTVRWVk9jMVo2V2t4aWJFWnJWRVUxVW1ONlp6QldWVFZPWW14c01sZFlZekprUjFwVFkxaE9kRnBXWkhaVFZWcGhWa2MxU2xWRlVtdFRiWE16WWpOVmVrNXFSa2RVTTJSd1QwaGtXbVJIVVhsbGJYQkRaRlp2ZGxvd1ZqWmlNbEl4Vkc1T2FtSldjRU5VU0ZVd1kwZDRjbU14WkhaVVYwNTRaRzV2TWxSVlVsQmpiSEJPVkc1VmVsZEZPVzVYYkVwWlUyNWtVbGRZWkZWaVdFWlNUVzF3VFZSSVFraE9XRnBwWVZoak0xUnJXak5OYm04eFpEQk9XbEZzYkhSTmEyaHpaRmRTUTJORVFUQlpWMk01VUZOSmMwbHJiRUpTUTBrMlNXNUZlbHA2U1RGVVZXeFVZekIwYVU5RWFEVmtiRVpzVVZWc2QxbHJWbmxOYW13MVZWaG9UazVzVWpWbFJHaDZZMjFHVkZVeFFubFZXRTVLVGpCMGFXSlZNWGhpUjBwTVlUSTVNRTVVYXpCTE0wVnlWakF4VG1WSE5VcGtSa0pRVld4V1UwOVdVWGhqTVc4eVZraFdlVnA2VGsxV01tUnhVV3Q0ZEdGcVRsUk5hMnN5V2tSV2FtUkdVakZqVm5CUFVrUlNjR0pHUm1GbGFscDRXV2x6Y2xFd1VYcGhSRnBZVmtaU2FVNXVSVFZYYlVaVFpXdHdkVmRZVGpaVGEyaDBWMnhDVlU0elZrWlRSRUpIVlVWa2MwNVlhRFZsUkVwelQwWkNSbE5WY0ZGWFNFWXhaVmMxVEZsVE9VeFdhMGt4V1ROS1Rrd3pXazFpYkhCdFVrUldWRlJHVlhaTmJVazBZbFZzUkV3d2N6UldSV2MxVDBWa05tSXpiM2hXVms1V1ZtMDFiRkZUT1hoUFJVcHpUMGRzU2xaSVJrTkxNVTVFWWtaa05WWnViRmRYVjJRd1RXcG5kMVJWUmpCa1JYQkdZVlYwZFZNeU1VVlpWVTVQV25wa1ExZHFVbE5sUjBaRVlWVTFXbVZwY3pSTE1HTTFVbFZGTlZwRll6UlRSMVoxVFcxb05XTnJkRUpWZWxsM1RETmplbUV4WkdGU1JsWm9ZVVpzZEdWR2JFTlVNblJYVkRCNE5HUXlkRXhaTWxKTlYxZDBWRTB5YUZwaFJsazFVMGR3Y0ZGVk9YaGxhekV6VVZRd09VbHVNRDBpTENKMlpYSnphVzl1SWpvaU15SXNJblI1Y0dVaU9pSkVRVlJCWDB0RldTSXNJbVY0Y0dseVlYUnBiMjRpT2pFM01qRTVOVGMzTmpKOQ + +For more information, see `Amazon ECR public registries `__ in the *Amazon ECR Public*. diff --git a/awscli/examples/ecr-public/get-repository-policy.rst b/awscli/examples/ecr-public/get-repository-policy.rst new file mode 100644 index 000000000000..e684c775a6b1 --- /dev/null +++ b/awscli/examples/ecr-public/get-repository-policy.rst @@ -0,0 +1,17 @@ +**To get a repository policy associated with the repository** + +The following ``get-repository-policy`` example gets a repository policy associated with the repository. :: + + aws ecr-public get-repository-policy \ + --repository-name project-a/nginx-web-app \ + --region us-east-1 + +Output:: + + { + "registryId": "123456789012", + "repositoryName": "project-a/nginx-web-app", + "policyText": "{\n \"Version\" : \"2008-10-17\",\n \"Statement\" : [ {\n \"Sid\" : \"AllowPush\",\n \"Effect\" : \"Allow\",\n \"Principal\" : {\n \"AWS\" : [ \"arn:aws:iam::123456789012:user/eksuser1\", \"arn:aws:iam::123456789012:user/admin\" ]\n },\n \"Action\" : [ \"ecr-public:BatchCheckLayerAvailability\", \"ecr-public:PutImage\", \"ecr-public:InitiateLayerUpload\", \"ecr-public:UploadLayerPart\", \"ecr-public:CompleteLayerUpload\" ]\n } ]\n}" + } + +For more information, see `Use GetRepositoryPolicy with an AWS SDK or CLI `__ in the *Amazon ECR Public User Guide*. \ No newline at end of file diff --git a/awscli/examples/ecr-public/put-repository-catalog-data.rst b/awscli/examples/ecr-public/put-repository-catalog-data.rst new file mode 100644 index 000000000000..9be052cdd6ec --- /dev/null +++ b/awscli/examples/ecr-public/put-repository-catalog-data.rst @@ -0,0 +1,50 @@ +**Example 1: To creates or updates the catalog data for a repository in a public registry.** + +The following ``put-repository-catalog-data`` example creates or update catalog data for reposiotry named `project-a/nginx-web-app` in a public registry, along with logoImageBlob, aboutText, usageText and tags information. :: + + aws ecr-public put-repository-catalog-data \ + --repository-name project-a/nginx-web-app \ + --cli-input-json file://repository-catalog-data.json \ + --region us-east-1 + +Contents of ``repository-catalog-data.json``:: + + { + "catalogData": { + "description": "My project-a ECR Public Repository", + "architectures": [ + "ARM", + "ARM 64", + "x86", + "x86-64" + ], + "operatingSystems": [ + "Linux" + ], + "logoImageBlob": "iVBORw0KGgoAAAANSUhEUgAAAYYAAAGGCAMAAABIXtbXAAAAq1BMVEVHcEz// ", + "aboutText": "## Quick reference.", + "usageText": "## Supported architectures are as follows" + } + } + +Output:: + + { + "catalogData": { + "description": "My project-a ECR Public Repository", + "architectures": [ + "ARM", + "ARM 64", + "x86", + "x86-64" + ], + "operatingSystems": [ + "Linux" + ], + "logoUrl": "https://d3g9o9u8re44ak.cloudfront.net/logo/491d3846-8f33-4d8b-a10c-c2ce271e6c0d/4f09d87c-2569-4916-a932-5c296bf6f88a.png", + "aboutText": "## Quick reference.", + "usageText": "## Supported architectures are as follows." + } + } + +For more information, see `Repository catalog data `__ in the *Amazon ECR Public*. diff --git a/awscli/examples/ecr-public/set-repository-policy.rst b/awscli/examples/ecr-public/set-repository-policy.rst new file mode 100644 index 000000000000..b87b257f482b --- /dev/null +++ b/awscli/examples/ecr-public/set-repository-policy.rst @@ -0,0 +1,118 @@ +**Example 1: To set a repository policy to allow a pull on the repository** + +The following ``set-repository-policy`` example applies an ECR public repository policy to the specified repository to control access permissions. :: + + aws ecr-public set-repository-policy \ + --repository-name project-a/nginx-web-app \ + --policy-text file://my-repository-policy.json + +Contents of ``my-repository-policy.json``:: + + { + "Version" : "2008-10-17", + "Statement" : [ + { + "Sid" : "allow public pull", + "Effect" : "Allow", + "Principal" : "*", + "Action" : [ + "ecr:BatchCheckLayerAvailability", + "ecr:BatchGetImage", + "ecr:GetDownloadUrlForLayer" + ] + } + ] + } + +Output:: + + { + "registryId": "12345678901", + "repositoryName": "project-a/nginx-web-app", + "policyText": "{\n \"Version\" : \"2008-10-17\",\n \"Statement\" : [ {\n \"Sid\" : \"allow public pull\",\n \"Effect\" : \"Allow\",\n \"Principal\" : \"*\",\n \"Action\" : [ \"ecr:BatchCheckLayerAvailability\", \"ecr:BatchGetImage\", \"ecr:GetDownloadUrlForLayer\" ]\n } ]\n}" + } + +For more information, see `Setting a repository policy statement `__ in the *Amazon ECR Public User Guide*. + +**Example 2: To set a repository policy to allow an IAM user within your account to push images** + +The following ``set-repository-policy`` example allows an IAM user within your account to push images using to an ECR repository in your AWS account using the input file named ``file://my-repository-policy.json`` as policy text. :: + + aws ecr-public set-repository-policy \ + --repository-name project-a/nginx-web-app \ + --policy-text file://my-repository-policy.json + +Contents of ``my-repository-policy.json``:: + + { + "Version": "2008-10-17", + "Statement": [ + { + "Sid": "AllowPush", + "Effect": "Allow", + "Principal": { + "AWS": [ + "arn:aws:iam::account-id:user/push-pull-user-1", + "arn:aws:iam::account-id:user/push-pull-user-2" + ] + }, + "Action": [ + "ecr-public:BatchCheckLayerAvailability", + "ecr-public:PutImage", + "ecr-public:InitiateLayerUpload", + "ecr-public:UploadLayerPart", + "ecr-public:CompleteLayerUpload" + ] + } + ] + } + +Output:: + + { + "registryId": "12345678901", + "repositoryName": "project-a/nginx-web-app", + "policyText": "{\n \"Version\" : \"2008-10-17\",\n \"Statement\" : [ {\n \"Sid\" : \"AllowPush\",\n \"Effect\" : \"Allow\",\n \"Principal\" : {\n \"AWS\" : [ \"arn:aws:iam::12345678901:user/admin\", \"arn:aws:iam::12345678901:user/eksuser1\" ]\n },\n \"Action\" : [ \"ecr-public:BatchCheckLayerAvailability\", \"ecr-public:PutImage\", \"ecr-public:InitiateLayerUpload\", \"ecr-public:UploadLayerPart\", \"ecr-public:CompleteLayerUpload\" ]\n } ]\n}" + } + +For more information, see `Setting a repository policy statement `__ in the *Amazon ECR Public User Guide*. + +**Example 3: To set a repository policy to allow an IAM user from different account to push images** + +The following ``set-repository-policy`` example allows a specific account to push images using cli input file://my-repository-policy.json in your AWS account. :: + + aws ecr-public set-repository-policy \ + --repository-name project-a/nginx-web-app \ + --policy-text file://my-repository-policy.json + +Contents of ``my-repository-policy.json``:: + + { + "Version": "2008-10-17", + "Statement": [ + { + "Sid": "AllowCrossAccountPush", + "Effect": "Allow", + "Principal": { + "AWS": "arn:aws:iam::other-or-same-account-id:role/RoleName" + }, + "Action": [ + "ecr-public:BatchCheckLayerAvailability", + "ecr-public:PutImage", + "ecr-public:InitiateLayerUpload", + "ecr-public:UploadLayerPart", + "ecr-public:CompleteLayerUpload" + ] + } + ] + } + +Output:: + + { + "registryId": "12345678901", + "repositoryName": "project-a/nginx-web-app", + "policyText": "{\n \"Version\" : \"2008-10-17\",\n \"Statement\" : [ {\n \"Sid\" : \"AllowCrossAccountPush\",\n \"Effect\" : \"Allow\",\n \"Principal\" : {\n \"AWS\" : \"arn:aws:iam::12345678901:role/RoleName\"\n },\n \"Action\" : [ \"ecr-public:BatchCheckLayerAvailability\", \"ecr-public:PutImage\", \"ecr-public:InitiateLayerUpload\", \"ecr-public:UploadLayerPart\", \"ecr-public:CompleteLayerUpload\" ]\n } ]\n}" + } + +For more information, see `Public repository policy examples `__ in the *Amazon ECR Public User Guide*. diff --git a/awscli/examples/ecs/capacity-provider-update.rst b/awscli/examples/ecs/capacity-provider-update.rst new file mode 100644 index 000000000000..bfd381413dc2 --- /dev/null +++ b/awscli/examples/ecs/capacity-provider-update.rst @@ -0,0 +1,33 @@ +**Update the capacity provider in an ECS cluster** + +The following ``update-capacity-provider`` example shows how we can modify the parameters of the capacity provider in an ECS cluster. :: + + aws ecs update-capacity-provider \ + --name Infra-ECS-Cluster-ECS-project-update-cluster-d6bb6d5b-EC2CapacityProvider-3fIpdkLywwFt \ + --auto-scaling-group-provider "managedScaling={status=DISABLED,targetCapacity=50,minimumScalingStepSize=2,maximumScalingStepSize=30,instanceWarmupPeriod=200},managedTerminationProtection=DISABLED,managedDraining=DISABLED" + +Output:: + + { + "capacityProvider": { + "capacityProviderArn": "arn:aws:ecs:us-west-2:123456789012:capacity-provider/Infra-ECS-Cluster-ECS-project-update-cluster-d6bb6d5b-EC2CapacityProvider-3fIpdkLywwFt", + "name": "Infra-ECS-Cluster-ECS-project-update-cluster-d6bb6d5b-EC2CapacityProvider-3fIpdkLywwFt", + "status": "ACTIVE", + "autoScalingGroupProvider": { + "autoScalingGroupArn": "arn:aws:autoscaling:us-west-2:123456789012:autoScalingGroup:424941d1-b43f-4a17-adbb-08b6a6e397e1:autoScalingGroupName/Infra-ECS-Cluster-ECS-project-update-cluster-d6bb6d5b-ECSAutoScalingGroup-f44jrQHS2nRB", + "managedScaling": { + "status": "ENABLED", + "targetCapacity": 100, + "minimumScalingStepSize": 1, + "maximumScalingStepSize": 10000, + "instanceWarmupPeriod": 300 + }, + "managedTerminationProtection": "DISABLED", + "managedDraining": "ENABLED" + }, + "updateStatus": "UPDATE_IN_PROGRESS", + "tags": [] + } + } + +For more information on Capacity Provider, see `Amazon ECS capacity providers for the EC2 launch type `__ in the *Amazon ECS Developer Guide*. diff --git a/awscli/examples/ecs/get-task-protection.rst b/awscli/examples/ecs/get-task-protection.rst new file mode 100644 index 000000000000..456fb65d16ef --- /dev/null +++ b/awscli/examples/ecs/get-task-protection.rst @@ -0,0 +1,21 @@ +**Retrieve the protection status of task in ECS service** + +The following ``get-task-protection`` provides the protection status of ECS tasks that belong to Amazon ECS service. :: + + aws ecs get-task-protection \ + --cluster ECS-project-update-cluster \ + --tasks c43ed3b1331041f289316f958adb6a24 + +Output:: + + { + "protectedTasks": [ + { + "taskArn": "arn:aws:ecs:us-west-2:123456789012:task/c43ed3b1331041f289316f958adb6a24", + "protectionEnabled": false + } + ], + "failures": [] + } + +For more formation on task protection, see `Protect your Amazon ECS tasks from being terminated by scale-in events `__ in the *Amazon ECS Developer Guide*. diff --git a/awscli/examples/ecs/update-cluster.rst b/awscli/examples/ecs/update-cluster.rst new file mode 100644 index 000000000000..68e106545fad --- /dev/null +++ b/awscli/examples/ecs/update-cluster.rst @@ -0,0 +1,176 @@ +**Example 1: Update ECS cluster enabling containerInsights** + +The following ``update-cluster`` updates the containerInsights value to ``enabled`` in an already created cluster. By default, it is disabled. :: + + aws ecs update-cluster \ + --cluster ECS-project-update-cluster \ + --settings name=containerInsights,value=enabled + +Output:: + + "cluster": { + "clusterArn": "arn:aws:ecs:us-west-2:123456789012:cluster/ECS-project-update-cluster", + "clusterName": "ECS-project-update-cluster", + "status": "ACTIVE", + "registeredContainerInstancesCount": 0, + "runningTasksCount": 0, + "pendingTasksCount": 0, + "activeServicesCount": 0, + "statistics": [], + "tags": [], + "settings": [ + { + "name": "containerInsights", + "value": "enabled" + } + ], + "capacityProviders": [ + "Infra-ECS-Cluster-ECS-project-update-cluster-d6bb6d5b-EC2CapacityProvider-3fIpdkLywwFt" + ], + "defaultCapacityProviderStrategy": [ + { + "capacityProvider": "Infra-ECS-Cluster-ECS-project-update-cluster-d6bb6d5b-EC2CapacityProvider-3fIpdkLywwFt", + "weight": 1, + "base": 0 + } + ], + "attachments": [ + { + "id": "069d002b-7634-42e4-b1d4-544f4c8f6380", + "type": "as_policy", + "status": "CREATED", + "details": [ + { + "name": "capacityProviderName", + "value": "Infra-ECS-Cluster-ECS-project-update-cluster-d6bb6d5b-EC2CapacityProvider-3fIpdkLywwFt" + }, + { + "name": "scalingPolicyName", + "value": "ECSManagedAutoScalingPolicy-152363a6-8c65-484c-b721-42c3e070ae93" + } + ] + }, + { + "id": "08b5b6ca-45e9-4209-a65d-e962a27c490a", + "type": "managed_draining", + "status": "CREATED", + "details": [ + { + "name": "capacityProviderName", + "value": "Infra-ECS-Cluster-ECS-project-update-cluster-d6bb6d5b-EC2CapacityProvider-3fIpdkLywwFt" + }, + { + "name": "autoScalingLifecycleHookName", + "value": "ecs-managed-draining-termination-hook" + } + ] + }, + { + "id": "45d0b36f-8cff-46b6-9380-1288744802ab", + "type": "sc", + "status": "ATTACHED", + "details": [] + } + ], + "attachmentsStatus": "UPDATE_COMPLETE", + "serviceConnectDefaults": { + "namespace": "arn:aws:servicediscovery:us-west-2:123456789012:namespace/ns-igwrsylmy3kwvcdx" + } + } + + +**Example 2: Update ECS cluster to set a default Service Connect namspace** + +The following ``update-cluster`` updates ECS cluster by setting a default Service Connect namespace. :: + + aws ecs update-cluster \ + --cluster ECS-project-update-cluster \ + --service-connect-defaults namespace=test + +Output:: + + { + "cluster": { + "clusterArn": "arn:aws:ecs:us-west-2:123456789012:cluster/ECS-project-update-cluster", + "clusterName": "ECS-project-update-cluster", + "status": "ACTIVE", + "registeredContainerInstancesCount": 0, + "runningTasksCount": 0, + "pendingTasksCount": 0, + "activeServicesCount": 0, + "statistics": [], + "tags": [], + "settings": [ + { + "name": "containerInsights", + "value": "enabled" + } + ], + "capacityProviders": [ + "Infra-ECS-Cluster-ECS-project-update-cluster-d6bb6d5b-EC2CapacityProvider-3fIpdkLywwFt" + ], + "defaultCapacityProviderStrategy": [ + { + "capacityProvider": "Infra-ECS-Cluster-ECS-project-update-cluster-d6bb6d5b-EC2CapacityProvider-3fIpdkLywwFt", + "weight": 1, + "base": 0 + } + ], + "attachments": [ + { + "id": "069d002b-7634-42e4-b1d4-544f4c8f6380", + "type": "as_policy", + "status": "CREATED", + "details": [ + { + "name": "capacityProviderName", + "value": "Infra-ECS-Cluster-ECS-project-update-cluster-d6bb6d5b-EC2CapacityProvider-3fIpdkLywwFt" + }, + { + "name": "scalingPolicyName", + "value": "ECSManagedAutoScalingPolicy-152363a6-8c65-484c-b721-42c3e070ae93" + } + ] + }, + { + "id": "08b5b6ca-45e9-4209-a65d-e962a27c490a", + "type": "managed_draining", + "status": "CREATED", + "details": [ + { + "name": "capacityProviderName", + "value": "Infra-ECS-Cluster-ECS-project-update-cluster-d6bb6d5b-EC2CapacityProvider-3fIpdkLywwFt" + }, + { + "name": "autoScalingLifecycleHookName", + "value": "ecs-managed-draining-termination-hook" + } + ] + }, + { + "id": "45d0b36f-8cff-46b6-9380-1288744802ab", + "type": "sc", + "status": "DELETED", + "details": [] + }, + { + "id": "3e6890c3-609c-4832-91de-d6ca891b3ef1", + "type": "sc", + "status": "ATTACHED", + "details": [] + }, + { + "id": "961b8ec1-c2f1-4070-8495-e669b7668e90", + "type": "sc", + "status": "DELETED", + "details": [] + } + ], + "attachmentsStatus": "UPDATE_COMPLETE", + "serviceConnectDefaults": { + "namespace": "arn:aws:servicediscovery:us-west-2:123456789012:namespace/ns-dtjmxqpfi46ht7dr" + } + } + } + +For more information on Service Connect, see `Use Service Connect to connect Amazon ECS services with short names `__ in the *Amazon ECS Developer Guide*. diff --git a/awscli/examples/ecs/update-task-protection.rst b/awscli/examples/ecs/update-task-protection.rst new file mode 100644 index 000000000000..6637b009847e --- /dev/null +++ b/awscli/examples/ecs/update-task-protection.rst @@ -0,0 +1,46 @@ +**Example 1: Enable task protection for ECS tasks** + +The following ``update-task-protection`` protects your ECS task from termination during scale-in from Deployments or Service AutoScaling. You can specify custom expiration period for task protection from 1 up to 2,880 minutes (48 hours). If you do not specify expiration period, enabling task protection default time is 2 hours. :: + + aws ecs update-task-protection \ + --cluster ECS-project-update-cluster \ + --tasks c43ed3b1331041f289316f958adb6a24 \ + --protection-enabled \ + --expires-in-minutes 300 + +Output:: + + { + "protectedTasks": [ + { + "taskArn": "arn:aws:ecs:us-west-2:123456789012:task/c43ed3b1331041f289316f958adb6a24", + "protectionEnabled": true, + "expirationDate": "2024-09-14T19:53:36.687000-05:00" + } + ], + "failures": [] + } + +**Example 2: Disable task protection for ECS tasks** + +The following ``update-task-protection`` disables the tasks protected from scale in from Deployments or Service AutoScaling. :: + + aws ecs update-task-protection \ + --cluster ECS-project-update-cluster \ + --tasks c43ed3b1331041f289316f958adb6a24 \ + --no-protection-enabled + +Output:: + + { + "protectedTasks": [ + { + "taskArn": "arn:aws:ecs:us-west-2:123456789012:task/c43ed3b1331041f289316f958adb6a24", + "protectionEnabled": false + } + ], + "failures": [] + } + +For more formation on task protection, see `Protect your Amazon ECS tasks from being terminated by scale-in events `__ in the *Amazon ECS Developer Guide*. + diff --git a/awscli/examples/inspector2/associate-member.rst b/awscli/examples/inspector2/associate-member.rst new file mode 100644 index 000000000000..7ab28c179c61 --- /dev/null +++ b/awscli/examples/inspector2/associate-member.rst @@ -0,0 +1,14 @@ +**Example: To associate an AWS account with an Amazon Inspector delegated administrator** + +The following ``associate-member`` example associates an AWS account with an Amazon Inspector delegated administrator. :: + + aws inspector2 associate-member \ + --account-id 123456789012 + +Output:: + + { + "accountId": "123456789012" + } + +For more information, see `Managing multiple accounts in Amazon Inspector with AWS Organizations `__ in the *Amazon Inspector User Guide*. diff --git a/awscli/examples/inspector2/disassociate-member.rst b/awscli/examples/inspector2/disassociate-member.rst new file mode 100644 index 000000000000..cc464ac156f9 --- /dev/null +++ b/awscli/examples/inspector2/disassociate-member.rst @@ -0,0 +1,14 @@ +**Example: To disassociate a member account from an Amazon Inspector delegated administrator** + +The following ``disassociate-member`` example disassociates an AWS account from an Amazon Inspector delegated administrator. :: + + aws inspector2 disassociate-member \ + --account-id 123456789012 + +Output:: + + { + "accountId": "123456789012" + } + +For more information, see `Managing multiple accounts in Amazon Inspector with AWS Organizations `__ in the *Amazon Inspector User Guide*. diff --git a/awscli/examples/inspector2/get-member.rst b/awscli/examples/inspector2/get-member.rst new file mode 100644 index 000000000000..068c3bb045c3 --- /dev/null +++ b/awscli/examples/inspector2/get-member.rst @@ -0,0 +1,17 @@ +**Example: To get member information for your organization** + + aws inspector2 get-member \ + --account-id 123456789012 + +Output:: + + { + "member": { + "accountId": "123456789012", + "delegatedAdminAccountId": "123456789012", + "relationshipStatus": "ENABLED", + "updatedAt": "2023-09-11T09:57:20.520000-07:00" + } + } + +For more information, see `Managing multiple accounts in Amazon Inspector with AWS Organizations `__ in the *Amazon Inspector User Guide*. diff --git a/awscli/examples/inspector2/list-members.rst b/awscli/examples/inspector2/list-members.rst new file mode 100644 index 000000000000..5d5d0805cdd3 --- /dev/null +++ b/awscli/examples/inspector2/list-members.rst @@ -0,0 +1,83 @@ +**Example 1: To list all member accounts associated with the Amazon Inspector delegated administrator for your organization** + + aws inspector2 list-members \ + --only-associated + +Output:: + + { + { + "members": [ + { + "accountId": "123456789012", + "delegatedAdminAccountId": "123456789012", + "relationshipStatus": "ENABLED", + "updatedAt": "2023-09-11T09:57:20.520000-07:00" + }, + { + "accountId": "123456789012", + "delegatedAdminAccountId": "123456789012", + "relationshipStatus": "ENABLED", + "updatedAt": "2024-08-12T10:13:01.472000-07:00" + }, + { + "accountId": "625032911453", + "delegatedAdminAccountId": "123456789012", + "relationshipStatus": "ENABLED", + "updatedAt": "2023-09-11T09:57:20.438000-07:00" + }, + { + "accountId": "715411239211", + "delegatedAdminAccountId": "123456789012", + "relationshipStatus": "ENABLED", + "updatedAt": "2024-04-24T09:14:57.471000-07:00" + } + ] + } + +For more information, see `Managing multiple accounts in Amazon Inspector with AWS Organizations `__ in the *Amazon Inspector User Guide*. + +**Example 2: To list all member accounts associated with and disassociated from the Amazon Inspector delegated administrator for your organization** + + aws inspector2 list-members \ + --no-only-associated + +Output:: + + { + { + "members": [ + { + "accountId": "123456789012", + "delegatedAdminAccountId": "123456789012", + "relationshipStatus": "REMOVED", + "updatedAt": "2024-05-15T11:34:53.326000-07:00" + }, + { + "accountId": "123456789012", + "delegatedAdminAccountId": "123456789012", + "relationshipStatus": "ENABLED", + "updatedAt": "2023-09-11T09:57:20.520000-07:00" + }, + { + "accountId": "123456789012", + "delegatedAdminAccountId": "123456789012", + "relationshipStatus": "ENABLED", + "updatedAt": "2024-08-12T10:13:01.472000-07:00" + }, + { + "accountId": "123456789012", + "delegatedAdminAccountId": "123456789012", + "relationshipStatus": "ENABLED", + "updatedAt": "2023-09-11T09:57:20.438000-07:00" + }, + { + "accountId": "123456789012", + "delegatedAdminAccountId": "123456789012", + "relationshipStatus": "ENABLED", + "updatedAt": "2024-04-24T09:14:57.471000-07:00" + } + ] + } + +For more information, see `Managing multiple accounts in Amazon Inspector with AWS Organizations `__ in the *Amazon Inspector User Guide*. diff --git a/awscli/examples/ivs-realtime/create-ingest-configuration.rst b/awscli/examples/ivs-realtime/create-ingest-configuration.rst new file mode 100644 index 000000000000..6baf24dbed9b --- /dev/null +++ b/awscli/examples/ivs-realtime/create-ingest-configuration.rst @@ -0,0 +1,25 @@ +**To create an ingest configuration** + +The following ``create-ingest-configuration`` example creates an ingest configuration using RTMPS protocol. :: + + aws ivs-realtime create-ingest-configuration \ + --name ingest1 \ + --ingest-protocol rtmps + +Output:: + + { + "ingestConfiguration": { + "name": "ingest1", + "arn": "arn:aws:ivs:us-west-2:123456789012:ingest-configuration/AbCdEfGh1234", + "ingestProtocol": "RTMPS", + "streamKey": "rt_123456789012_us-west-2_AbCdEfGh1234_abcd1234efgh5678ijkl9012MNOP34", + "stageArn": "", + "participantId": "xyZ654abC321", + "state": "INACTIVE", + "userId": "", + "tags": {} + } + } + +For more information, see `IVS Stream Ingest | Real-Time Streaming `__ in the *Amazon Interactive Video Service User Guide*. diff --git a/awscli/examples/ivs-realtime/create-stage.rst b/awscli/examples/ivs-realtime/create-stage.rst index 9731071deff0..5b94fa41baf6 100644 --- a/awscli/examples/ivs-realtime/create-stage.rst +++ b/awscli/examples/ivs-realtime/create-stage.rst @@ -21,6 +21,8 @@ Output:: "arn": "arn:aws:ivs:us-west-2:123456789012:stage/abcdABCDefgh", "endpoints": { "events": "wss://global.events.live-video.net", + "rtmp": "rtmp://9x0y8z7s6t5u.global-contribute-staging.live-video.net/app/", + "rtmps": "rtmps://9x0y8z7s6t5u.global-contribute-staging.live-video.net:443/app/", "whip": "https://1a2b3c4d5e6f.global-bm.whip.live-video.net" }, "name": "stage1", @@ -49,9 +51,11 @@ Output:: "AUDIO_VIDEO" ], "storageConfigurationArn": "arn:aws:ivs:us-west-2:123456789012:storage-configuration/abcdABCDefgh", - }, + }, "endpoints": { "events": "wss://global.events.live-video.net", + "rtmp": "rtmp://9x0y8z7s6t5u.global-contribute-staging.live-video.net/app/", + "rtmps": "rtmps://9x0y8z7s6t5u.global-contribute-staging.live-video.net:443/app/", "whip": "https://1a2b3c4d5e6f.global-bm.whip.live-video.net" }, "name": "stage1", @@ -59,4 +63,4 @@ Output:: } } -For more information, see `Enabling Multiple Hosts on an Amazon IVS Stream `__ in the *Amazon Interactive Video Service User Guide*. \ No newline at end of file +For more information, see `Enabling Multiple Hosts on an Amazon IVS Stream `__ in the *Amazon Interactive Video Service User Guide*. diff --git a/awscli/examples/ivs-realtime/delete-ingest-configuration.rst b/awscli/examples/ivs-realtime/delete-ingest-configuration.rst new file mode 100644 index 000000000000..daa3e0eec53c --- /dev/null +++ b/awscli/examples/ivs-realtime/delete-ingest-configuration.rst @@ -0,0 +1,22 @@ +**Example 1: To delete an inactive ingest configuration** + +The following ``delete-ingest-configuration`` example deletes the inactive ingest configuration for a specified ingest-configuration ARN (Amazon Resource Name). :: + + aws ivs-realtime delete-ingest-configuration \ + --arn arn:aws:ivs:us-west-2:123456789012:ingest-configuration/AbCdEfGh1234 + +This command produces no output. + +For more information, see `IVS Stream Ingest | Real-Time Streaming `__ in the *Amazon Interactive Video Service User Guide*. + +**Example 2: To force delete an active ingest configuration** + +The following ``delete-ingest-configuration`` example forces deletion of the active ingest configuration for a specified ingest-configuration ARN (Amazon Resource Name). :: + + aws ivs-realtime delete-ingest-configuration \ + --arn arn:aws:ivs:us-west-2:123456789012:ingest-configuration/AbCdEfGh1234 \ + --force + +This command produces no output. + +For more information, see `IVS Stream Ingest | Real-Time Streaming `__ in the *Amazon Interactive Video Service User Guide*. \ No newline at end of file diff --git a/awscli/examples/ivs-realtime/get-ingest-configuration.rst b/awscli/examples/ivs-realtime/get-ingest-configuration.rst new file mode 100644 index 000000000000..f38753d068a6 --- /dev/null +++ b/awscli/examples/ivs-realtime/get-ingest-configuration.rst @@ -0,0 +1,24 @@ +**To get ingest configuration information** + +The following ``get-ingest-configuration`` example gets the ingest configuration for a specified ingest-configuration ARN (Amazon Resource Name). :: + + aws ivs-realtime get-ingest-configuration \ + --arn arn:aws:ivs:us-west-2:123456789012:ingest-configuration/AbCdEfGh1234 + +Output:: + + { + "ingestConfiguration": { + "name": "ingest1", + "arn": "arn:aws:ivs:us-west-2:123456789012:ingest-configuration/AbCdEfGh1234", + "ingestProtocol": "RTMPS", + "streamKey": "rt_123456789012_us-west-2_AbCdEfGh1234_abcd1234efgh5678ijkl9012MNOP34", + "stageArn": "", + "participantId": "xyZ654abC321", + "state": "INACTIVE", + "userId": "", + "tags": {} + } + } + +For more information, see `IVS Stream Ingest | Real-Time Streaming `__ in the *Amazon Interactive Video Service User Guide*. diff --git a/awscli/examples/ivs-realtime/get-stage.rst b/awscli/examples/ivs-realtime/get-stage.rst index 5aa92d4b1c2a..cf56514a5a99 100644 --- a/awscli/examples/ivs-realtime/get-stage.rst +++ b/awscli/examples/ivs-realtime/get-stage.rst @@ -16,9 +16,11 @@ Output:: "AUDIO_VIDEO" ], "storageConfigurationArn": "arn:aws:ivs:us-west-2:123456789012:storage-configuration/abcdABCDefgh", - }, + }, "endpoints": { "events": "wss://global.events.live-video.net", + "rtmp": "rtmp://9x0y8z7s6t5u.global-contribute-staging.live-video.net/app/", + "rtmps": "rtmps://9x0y8z7s6t5u.global-contribute-staging.live-video.net:443/app/", "whip": "https://1a2b3c4d5e6f.global-bm.whip.live-video.net" }, "name": "test", @@ -26,4 +28,4 @@ Output:: } } -For more information, see `Enabling Multiple Hosts on an Amazon IVS Stream `__ in the *Amazon Interactive Video Service User Guide*. \ No newline at end of file +For more information, see `Enabling Multiple Hosts on an Amazon IVS Stream `__ in the *Amazon Interactive Video Service User Guide*. diff --git a/awscli/examples/ivs-realtime/list-ingest-configurations.rst b/awscli/examples/ivs-realtime/list-ingest-configurations.rst new file mode 100644 index 000000000000..842348c03e93 --- /dev/null +++ b/awscli/examples/ivs-realtime/list-ingest-configurations.rst @@ -0,0 +1,23 @@ +**To get summary information about all ingest configurations** + +The following ``list-ingest-configurations`` example lists all ingest configurations for your AWS account, in the AWS region where the API request is processed. :: + + aws ivs-realtime list-ingest-configurations + +Output:: + + { + "ingestConfigurations": [ + { + "name": "", + "arn": "arn:aws:ivs:us-west-2:123456789012:ingest-configuration/XYZuvwSt4567", + "ingestProtocol": "RTMPS", + "stageArn": "arn:aws:ivs:us-west-2:123456789012:stage/abcdABCDefgh", + "participnatId": "abC789Xyz456", + "state": "INACTIVE" + "userId": "", + } + ] + } + +For more information, see `IVS Stream Ingest | Real-Time Streaming `__ in the *Amazon Interactive Video Service User Guide*. diff --git a/awscli/examples/ivs-realtime/update-ingest-configuration.rst b/awscli/examples/ivs-realtime/update-ingest-configuration.rst new file mode 100644 index 000000000000..990416099996 --- /dev/null +++ b/awscli/examples/ivs-realtime/update-ingest-configuration.rst @@ -0,0 +1,25 @@ +**To update an ingest configuration** + +The following ``update-inegst-configuration`` example updates an ingest configuration to attach it to a stage. :: + + aws ivs-realtime update-ingest-configuration \ + --arn arn:aws:ivs:us-west-2:123456789012:ingest-configuration/AbCdEfGh1234 \ + --stage-arn arn:aws:ivs:us-west-2:123456789012:stage/abcdABCDefgh + +Output:: + + { + "ingestConfiguration": { + "name": "ingest1", + "arn": "arn:aws:ivs:us-west-2:123456789012:ingest-configuration/AbCdEfGh1234", + "ingestProtocol": "RTMPS", + "streamKey": "rt_123456789012_us-west-2_AbCdEfGh1234_abcd1234efgh5678ijkl9012MNOP34", + "stageArn": "arn:aws:ivs:us-west-2:123456789012:stage/abcdABCDefgh", + "participantId": "xyZ654abC321", + "state": "INACTIVE", + "userId": "", + "tags": {} + } + } + +For more information, see `IVS Stream Ingest | Real-Time Streaming `__ in the *Amazon Interactive Video Service User Guide*. diff --git a/awscli/examples/ivs-realtime/update-stage.rst b/awscli/examples/ivs-realtime/update-stage.rst index f06f5d2ebc37..8a566d6a9631 100644 --- a/awscli/examples/ivs-realtime/update-stage.rst +++ b/awscli/examples/ivs-realtime/update-stage.rst @@ -20,6 +20,8 @@ Output:: }, "endpoints": { "events": "wss://global.events.live-video.net", + "rtmp": "rtmp://9x0y8z7s6t5u.global-contribute-staging.live-video.net/app/", + "rtmps": "rtmps://9x0y8z7s6t5u.global-contribute-staging.live-video.net:443/app/", "whip": "https://1a2b3c4d5e6f.global-bm.whip.live-video.net" }, "name": "stage1a", @@ -27,4 +29,4 @@ Output:: } } -For more information, see `Enabling Multiple Hosts on an Amazon IVS Stream `__ in the *Amazon Interactive Video Service User Guide*. \ No newline at end of file +For more information, see `Enabling Multiple Hosts on an Amazon IVS Stream `__ in the *Amazon Interactive Video Service User Guide*. diff --git a/awscli/examples/s3api/put-object.rst b/awscli/examples/s3api/put-object.rst index 8b780e8310b4..ca115fca09f0 100644 --- a/awscli/examples/s3api/put-object.rst +++ b/awscli/examples/s3api/put-object.rst @@ -1,13 +1,21 @@ -The following example uses the ``put-object`` command to upload an object to Amazon S3:: +**Example 1: Upload an object to Amazon S3** - aws s3api put-object --bucket text-content --key dir-1/my_images.tar.bz2 --body my_images.tar.bz2 +The following ``put-object`` command example uploads an object to Amazon S3. :: -The following example shows an upload of a video file (The video file is -specified using Windows file system syntax.):: + aws s3api put-object \ + --bucket amzn-s3-demo-bucket \ + --key my-dir/MySampleImage.png \ + --body MySampleImage.png - aws s3api put-object --bucket text-content --key dir-1/big-video-file.mp4 --body e:\media\videos\f-sharp-3-data-services.mp4 +For more information about uploading objects, see `Uploading Objects < http://docs.aws.amazon.com/AmazonS3/latest/dev/UploadingObjects.html>`__ in the *Amazon S3 Developer Guide*. -For more information about uploading objects, see `Uploading Objects`_ in the *Amazon S3 Developer Guide*. +**Example 2: Upload a video file to Amazon S3** -.. _`Uploading Objects`: http://docs.aws.amazon.com/AmazonS3/latest/dev/UploadingObjects.html +The following ``put-object`` command example uploads a video file. :: + aws s3api put-object \ + --bucket amzn-s3-demo-bucket \ + --key my-dir/big-video-file.mp4 \ + --body /media/videos/f-sharp-3-data-services.mp4 + +For more information about uploading objects, see `Uploading Objects < http://docs.aws.amazon.com/AmazonS3/latest/dev/UploadingObjects.html>`__ in the *Amazon S3 Developer Guide*. diff --git a/awscli/examples/workmail/list-organizations.rst b/awscli/examples/workmail/list-organizations.rst index b328f022da43..e880b9ef6bf9 100644 --- a/awscli/examples/workmail/list-organizations.rst +++ b/awscli/examples/workmail/list-organizations.rst @@ -1,6 +1,6 @@ **To retrieve a list of organizations** -The following ``list-organizations`` command retrieves summaries of non-deleted organizations. :: +The following ``list-organizations`` command retrieves summaries of the customer's organizations. :: aws workmail list-organizations From d8c89cb3b401bca47bccc3bc231669cb03e41cfd Mon Sep 17 00:00:00 2001 From: Alex Shovlin Date: Thu, 19 Dec 2024 08:37:50 -0600 Subject: [PATCH 0357/1087] Add GitHub Workflow for syncing PRs from `develop` to `v2` (#9142) --- .github/workflows/doc-pr-cherry-pick.yml | 69 ++++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 .github/workflows/doc-pr-cherry-pick.yml diff --git a/.github/workflows/doc-pr-cherry-pick.yml b/.github/workflows/doc-pr-cherry-pick.yml new file mode 100644 index 000000000000..a25fb08e9bf7 --- /dev/null +++ b/.github/workflows/doc-pr-cherry-pick.yml @@ -0,0 +1,69 @@ +name: Cherry-Pick PR to v2 + +on: + workflow_dispatch: + inputs: + pr_number: + description: 'PR number to cherry-pick' + type: string + required: true + +jobs: + cherry_pick_and_create_pr: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2 + with: + fetch-depth: 0 + + - name: Configure Git + run: | + git config user.name "aws-sdk-python-automation" + git config user.email "github-aws-sdk-python-automation@amazon.com" + + - name: Get PR commits + id: get_commits + run: | + gh pr checkout $PR_NUMBER + PR_COMMITS=$(gh pr view $PR_NUMBER --json commits --jq '.commits[].oid') + echo "PR_COMMITS=$PR_COMMITS" >> $GITHUB_OUTPUT + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + PR_NUMBER: ${{ github.event.inputs.pr_number }} + + - name: Create new branch and cherry-pick commits + id: create_branch + run: | + git fetch origin v2 + NEW_BRANCH="v2-sync-pr-$PR_NUMBER" + git checkout -b $NEW_BRANCH origin/v2 + for commit in $PR_COMMITS; do + git cherry-pick $commit + done + git push origin $NEW_BRANCH + echo "NEW_BRANCH=$NEW_BRANCH" >> $GITHUB_OUTPUT + env: + PR_NUMBER: ${{ github.event.inputs.pr_number }} + PR_COMMITS: ${{ steps.get_commits.outputs.PR_COMMITS}} + + - name: Create new PR + run: | + PR_TITLE=$(gh pr view $PR_NUMBER --json title --jq '.title') + PR_BODY=$(cat << EOF + This PR cherry-picks the commits from #$PR_NUMBER to the v2 branch. + + Please complete the following checklist before merging: + + - [ ] Verify that the original PR (#$PR_NUMBER) is approved + - [ ] Verify that this merge to v2 is appropriate + + By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice. + + EOF + ) + gh pr create --title "[V2] $PR_TITLE" --body "$PR_BODY" --base v2 --head $NEW_BRANCH + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + PR_NUMBER: ${{ github.event.inputs.pr_number }} + NEW_BRANCH: ${{ steps.create_branch.outputs.NEW_BRANCH}} From c6294260b0f038576139772358d1d28f73a535e4 Mon Sep 17 00:00:00 2001 From: Nasir Rabbani <52099528+nasir-rabbani@users.noreply.github.com> Date: Fri, 20 Dec 2024 00:10:53 +0530 Subject: [PATCH 0358/1087] Update `Example 6` title for `aws s3 sync` help doc (#8638) --- awscli/examples/s3/sync.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awscli/examples/s3/sync.rst b/awscli/examples/s3/sync.rst index 5e8dc255b5f3..86498ed8c4d0 100644 --- a/awscli/examples/s3/sync.rst +++ b/awscli/examples/s3/sync.rst @@ -80,7 +80,7 @@ Output:: upload: test2.txt to s3://mybucket/test2.txt -**Example 6: Sync all local objects to the specified bucket except ``.jpg`` files** +**Example 6: Sync all local objects to the specified bucket except specified directory files** The following ``sync`` command syncs files under a local directory to objects under a specified prefix and bucket by downloading S3 objects. This example uses the ``--exclude`` parameter flag to exclude a specified directory From 0cd543c29fe2dcd3f18210f3d0f1ffec363920a2 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 19 Dec 2024 19:03:00 +0000 Subject: [PATCH 0359/1087] Update changelog based on model updates --- .changes/next-release/api-change-appstream-14296.json | 5 +++++ .changes/next-release/api-change-mediaconvert-53392.json | 5 +++++ .changes/next-release/api-change-medialive-29253.json | 5 +++++ .changes/next-release/api-change-qconnect-31898.json | 5 +++++ .changes/next-release/api-change-ssmsap-24681.json | 5 +++++ .changes/next-release/api-change-workspaces-25817.json | 5 +++++ 6 files changed, 30 insertions(+) create mode 100644 .changes/next-release/api-change-appstream-14296.json create mode 100644 .changes/next-release/api-change-mediaconvert-53392.json create mode 100644 .changes/next-release/api-change-medialive-29253.json create mode 100644 .changes/next-release/api-change-qconnect-31898.json create mode 100644 .changes/next-release/api-change-ssmsap-24681.json create mode 100644 .changes/next-release/api-change-workspaces-25817.json diff --git a/.changes/next-release/api-change-appstream-14296.json b/.changes/next-release/api-change-appstream-14296.json new file mode 100644 index 000000000000..e90732a70772 --- /dev/null +++ b/.changes/next-release/api-change-appstream-14296.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``appstream``", + "description": "Added support for Rocky Linux 8 on Amazon AppStream 2.0" +} diff --git a/.changes/next-release/api-change-mediaconvert-53392.json b/.changes/next-release/api-change-mediaconvert-53392.json new file mode 100644 index 000000000000..e5eca0900774 --- /dev/null +++ b/.changes/next-release/api-change-mediaconvert-53392.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``mediaconvert``", + "description": "This release adds support for inserting timecode tracks into MP4 container outputs." +} diff --git a/.changes/next-release/api-change-medialive-29253.json b/.changes/next-release/api-change-medialive-29253.json new file mode 100644 index 000000000000..ebae8ba73598 --- /dev/null +++ b/.changes/next-release/api-change-medialive-29253.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``medialive``", + "description": "MediaLive is releasing ListVersions api" +} diff --git a/.changes/next-release/api-change-qconnect-31898.json b/.changes/next-release/api-change-qconnect-31898.json new file mode 100644 index 000000000000..9bbf08af07a6 --- /dev/null +++ b/.changes/next-release/api-change-qconnect-31898.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``qconnect``", + "description": "Amazon Q in Connect enables agents to ask Q for assistance in multiple languages and Q will provide answers and recommended step-by-step guides in those languages. Qs default language is English (United States) and you can switch this by setting the locale configuration on the AI Agent." +} diff --git a/.changes/next-release/api-change-ssmsap-24681.json b/.changes/next-release/api-change-ssmsap-24681.json new file mode 100644 index 000000000000..02d732137b7f --- /dev/null +++ b/.changes/next-release/api-change-ssmsap-24681.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ssm-sap``", + "description": "AWS Systems Manager for SAP added support for registration and discovery of distributed ABAP applications" +} diff --git a/.changes/next-release/api-change-workspaces-25817.json b/.changes/next-release/api-change-workspaces-25817.json new file mode 100644 index 000000000000..c751e407bd96 --- /dev/null +++ b/.changes/next-release/api-change-workspaces-25817.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``workspaces``", + "description": "Added AWS Global Accelerator (AGA) support for WorkSpaces Personal." +} From 7d084044489a04519a328795633cba8aa2a26b2e Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 19 Dec 2024 19:04:11 +0000 Subject: [PATCH 0360/1087] Bumping version to 1.36.26 --- .changes/1.36.26.json | 32 +++++++++++++++++++ .../api-change-appstream-14296.json | 5 --- .../api-change-mediaconvert-53392.json | 5 --- .../api-change-medialive-29253.json | 5 --- .../api-change-qconnect-31898.json | 5 --- .../next-release/api-change-ssmsap-24681.json | 5 --- .../api-change-workspaces-25817.json | 5 --- CHANGELOG.rst | 11 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 12 files changed, 47 insertions(+), 34 deletions(-) create mode 100644 .changes/1.36.26.json delete mode 100644 .changes/next-release/api-change-appstream-14296.json delete mode 100644 .changes/next-release/api-change-mediaconvert-53392.json delete mode 100644 .changes/next-release/api-change-medialive-29253.json delete mode 100644 .changes/next-release/api-change-qconnect-31898.json delete mode 100644 .changes/next-release/api-change-ssmsap-24681.json delete mode 100644 .changes/next-release/api-change-workspaces-25817.json diff --git a/.changes/1.36.26.json b/.changes/1.36.26.json new file mode 100644 index 000000000000..2021a6c778c8 --- /dev/null +++ b/.changes/1.36.26.json @@ -0,0 +1,32 @@ +[ + { + "category": "``appstream``", + "description": "Added support for Rocky Linux 8 on Amazon AppStream 2.0", + "type": "api-change" + }, + { + "category": "``mediaconvert``", + "description": "This release adds support for inserting timecode tracks into MP4 container outputs.", + "type": "api-change" + }, + { + "category": "``medialive``", + "description": "MediaLive is releasing ListVersions api", + "type": "api-change" + }, + { + "category": "``qconnect``", + "description": "Amazon Q in Connect enables agents to ask Q for assistance in multiple languages and Q will provide answers and recommended step-by-step guides in those languages. Qs default language is English (United States) and you can switch this by setting the locale configuration on the AI Agent.", + "type": "api-change" + }, + { + "category": "``ssm-sap``", + "description": "AWS Systems Manager for SAP added support for registration and discovery of distributed ABAP applications", + "type": "api-change" + }, + { + "category": "``workspaces``", + "description": "Added AWS Global Accelerator (AGA) support for WorkSpaces Personal.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-appstream-14296.json b/.changes/next-release/api-change-appstream-14296.json deleted file mode 100644 index e90732a70772..000000000000 --- a/.changes/next-release/api-change-appstream-14296.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``appstream``", - "description": "Added support for Rocky Linux 8 on Amazon AppStream 2.0" -} diff --git a/.changes/next-release/api-change-mediaconvert-53392.json b/.changes/next-release/api-change-mediaconvert-53392.json deleted file mode 100644 index e5eca0900774..000000000000 --- a/.changes/next-release/api-change-mediaconvert-53392.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``mediaconvert``", - "description": "This release adds support for inserting timecode tracks into MP4 container outputs." -} diff --git a/.changes/next-release/api-change-medialive-29253.json b/.changes/next-release/api-change-medialive-29253.json deleted file mode 100644 index ebae8ba73598..000000000000 --- a/.changes/next-release/api-change-medialive-29253.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``medialive``", - "description": "MediaLive is releasing ListVersions api" -} diff --git a/.changes/next-release/api-change-qconnect-31898.json b/.changes/next-release/api-change-qconnect-31898.json deleted file mode 100644 index 9bbf08af07a6..000000000000 --- a/.changes/next-release/api-change-qconnect-31898.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``qconnect``", - "description": "Amazon Q in Connect enables agents to ask Q for assistance in multiple languages and Q will provide answers and recommended step-by-step guides in those languages. Qs default language is English (United States) and you can switch this by setting the locale configuration on the AI Agent." -} diff --git a/.changes/next-release/api-change-ssmsap-24681.json b/.changes/next-release/api-change-ssmsap-24681.json deleted file mode 100644 index 02d732137b7f..000000000000 --- a/.changes/next-release/api-change-ssmsap-24681.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ssm-sap``", - "description": "AWS Systems Manager for SAP added support for registration and discovery of distributed ABAP applications" -} diff --git a/.changes/next-release/api-change-workspaces-25817.json b/.changes/next-release/api-change-workspaces-25817.json deleted file mode 100644 index c751e407bd96..000000000000 --- a/.changes/next-release/api-change-workspaces-25817.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``workspaces``", - "description": "Added AWS Global Accelerator (AGA) support for WorkSpaces Personal." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 70be50ff1e61..157030491b4a 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,17 @@ CHANGELOG ========= +1.36.26 +======= + +* api-change:``appstream``: Added support for Rocky Linux 8 on Amazon AppStream 2.0 +* api-change:``mediaconvert``: This release adds support for inserting timecode tracks into MP4 container outputs. +* api-change:``medialive``: MediaLive is releasing ListVersions api +* api-change:``qconnect``: Amazon Q in Connect enables agents to ask Q for assistance in multiple languages and Q will provide answers and recommended step-by-step guides in those languages. Qs default language is English (United States) and you can switch this by setting the locale configuration on the AI Agent. +* api-change:``ssm-sap``: AWS Systems Manager for SAP added support for registration and discovery of distributed ABAP applications +* api-change:``workspaces``: Added AWS Global Accelerator (AGA) support for WorkSpaces Personal. + + 1.36.25 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 34fbd0a61310..6356dafd2673 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.36.25' +__version__ = '1.36.26' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 0513d23db1c8..a6ecc1f10f21 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.36.' # The full version, including alpha/beta/rc tags. -release = '1.36.25' +release = '1.36.26' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 80080a7d4df9..b08293c748ad 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.84 + botocore==1.35.85 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 3c0322f7cd1e..46761c7bf3de 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.84', + 'botocore==1.35.85', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From aa9e38b35b23d136d4296cbde1a8efab1fd86aa0 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 20 Dec 2024 19:04:17 +0000 Subject: [PATCH 0361/1087] Update changelog based on model updates --- .changes/next-release/api-change-bedrockagent-72944.json | 5 +++++ .../next-release/api-change-bedrockagentruntime-94169.json | 5 +++++ .../next-release/api-change-bedrockdataautomation-64463.json | 5 +++++ .../api-change-bedrockdataautomationruntime-93561.json | 5 +++++ .changes/next-release/api-change-billing-77050.json | 5 +++++ .changes/next-release/api-change-ce-18588.json | 5 +++++ .changes/next-release/api-change-connect-51478.json | 5 +++++ .changes/next-release/api-change-docdb-82823.json | 5 +++++ .changes/next-release/api-change-eks-89568.json | 5 +++++ .changes/next-release/api-change-macie2-59559.json | 5 +++++ .changes/next-release/api-change-outposts-42812.json | 5 +++++ .changes/next-release/api-change-sagemaker-90736.json | 5 +++++ 12 files changed, 60 insertions(+) create mode 100644 .changes/next-release/api-change-bedrockagent-72944.json create mode 100644 .changes/next-release/api-change-bedrockagentruntime-94169.json create mode 100644 .changes/next-release/api-change-bedrockdataautomation-64463.json create mode 100644 .changes/next-release/api-change-bedrockdataautomationruntime-93561.json create mode 100644 .changes/next-release/api-change-billing-77050.json create mode 100644 .changes/next-release/api-change-ce-18588.json create mode 100644 .changes/next-release/api-change-connect-51478.json create mode 100644 .changes/next-release/api-change-docdb-82823.json create mode 100644 .changes/next-release/api-change-eks-89568.json create mode 100644 .changes/next-release/api-change-macie2-59559.json create mode 100644 .changes/next-release/api-change-outposts-42812.json create mode 100644 .changes/next-release/api-change-sagemaker-90736.json diff --git a/.changes/next-release/api-change-bedrockagent-72944.json b/.changes/next-release/api-change-bedrockagent-72944.json new file mode 100644 index 000000000000..e1f02c1db824 --- /dev/null +++ b/.changes/next-release/api-change-bedrockagent-72944.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-agent``", + "description": "Support for custom user agent and max web pages crawled for web connector. Support app only credentials for SharePoint connector. Increase agents memory duration limit to 365 days. Support to specify max number of session summaries to include in agent invocation context." +} diff --git a/.changes/next-release/api-change-bedrockagentruntime-94169.json b/.changes/next-release/api-change-bedrockagentruntime-94169.json new file mode 100644 index 000000000000..f4cde6938e71 --- /dev/null +++ b/.changes/next-release/api-change-bedrockagentruntime-94169.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-agent-runtime``", + "description": "bedrock agents now supports long term memory and performance configs. Invokeflow supports performance configs. RetrieveAndGenerate performance configs" +} diff --git a/.changes/next-release/api-change-bedrockdataautomation-64463.json b/.changes/next-release/api-change-bedrockdataautomation-64463.json new file mode 100644 index 000000000000..e0c7d415182a --- /dev/null +++ b/.changes/next-release/api-change-bedrockdataautomation-64463.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-data-automation``", + "description": "Documentation update for Amazon Bedrock Data Automation" +} diff --git a/.changes/next-release/api-change-bedrockdataautomationruntime-93561.json b/.changes/next-release/api-change-bedrockdataautomationruntime-93561.json new file mode 100644 index 000000000000..3541f8edc4f4 --- /dev/null +++ b/.changes/next-release/api-change-bedrockdataautomationruntime-93561.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-data-automation-runtime``", + "description": "Documentation update for Amazon Bedrock Data Automation Runtime" +} diff --git a/.changes/next-release/api-change-billing-77050.json b/.changes/next-release/api-change-billing-77050.json new file mode 100644 index 000000000000..98d99566ff41 --- /dev/null +++ b/.changes/next-release/api-change-billing-77050.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``billing``", + "description": "Added new API's for defining and fetching Billing Views." +} diff --git a/.changes/next-release/api-change-ce-18588.json b/.changes/next-release/api-change-ce-18588.json new file mode 100644 index 000000000000..d93885ed0828 --- /dev/null +++ b/.changes/next-release/api-change-ce-18588.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ce``", + "description": "Support for retrieving cost, usage, and forecast for billing view." +} diff --git a/.changes/next-release/api-change-connect-51478.json b/.changes/next-release/api-change-connect-51478.json new file mode 100644 index 000000000000..53c8e8f6b83e --- /dev/null +++ b/.changes/next-release/api-change-connect-51478.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``connect``", + "description": "This release supports adding NotAttributeCondition and Range to the RoutingCriteria object." +} diff --git a/.changes/next-release/api-change-docdb-82823.json b/.changes/next-release/api-change-docdb-82823.json new file mode 100644 index 000000000000..418afc90d821 --- /dev/null +++ b/.changes/next-release/api-change-docdb-82823.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``docdb``", + "description": "Support AWS Secret Manager managed password for AWS DocumentDB instance-based cluster." +} diff --git a/.changes/next-release/api-change-eks-89568.json b/.changes/next-release/api-change-eks-89568.json new file mode 100644 index 000000000000..1d0062d152f4 --- /dev/null +++ b/.changes/next-release/api-change-eks-89568.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``eks``", + "description": "This release expands the catalog of upgrade insight checks" +} diff --git a/.changes/next-release/api-change-macie2-59559.json b/.changes/next-release/api-change-macie2-59559.json new file mode 100644 index 000000000000..5b5d5207cad1 --- /dev/null +++ b/.changes/next-release/api-change-macie2-59559.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``macie2``", + "description": "This release adds support for identifying S3 general purpose buckets that exceed the Amazon Macie quota for preventative control monitoring." +} diff --git a/.changes/next-release/api-change-outposts-42812.json b/.changes/next-release/api-change-outposts-42812.json new file mode 100644 index 000000000000..43ea1e28141b --- /dev/null +++ b/.changes/next-release/api-change-outposts-42812.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``outposts``", + "description": "Add CS8365C as a supported power connector for Outpost sites." +} diff --git a/.changes/next-release/api-change-sagemaker-90736.json b/.changes/next-release/api-change-sagemaker-90736.json new file mode 100644 index 000000000000..a93886df54bb --- /dev/null +++ b/.changes/next-release/api-change-sagemaker-90736.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``sagemaker``", + "description": "This release adds support for c6i, m6i and r6i instance on SageMaker Hyperpod and trn1 instances in batch" +} From bd6788d64ee61fb3f6822b5ef3f3a27aa414e375 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 20 Dec 2024 19:05:31 +0000 Subject: [PATCH 0362/1087] Bumping version to 1.36.27 --- .changes/1.36.27.json | 62 +++++++++++++++++++ .../api-change-bedrockagent-72944.json | 5 -- .../api-change-bedrockagentruntime-94169.json | 5 -- ...pi-change-bedrockdataautomation-64463.json | 5 -- ...ge-bedrockdataautomationruntime-93561.json | 5 -- .../api-change-billing-77050.json | 5 -- .../next-release/api-change-ce-18588.json | 5 -- .../api-change-connect-51478.json | 5 -- .../next-release/api-change-docdb-82823.json | 5 -- .../next-release/api-change-eks-89568.json | 5 -- .../next-release/api-change-macie2-59559.json | 5 -- .../api-change-outposts-42812.json | 5 -- .../api-change-sagemaker-90736.json | 5 -- CHANGELOG.rst | 17 +++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 18 files changed, 83 insertions(+), 64 deletions(-) create mode 100644 .changes/1.36.27.json delete mode 100644 .changes/next-release/api-change-bedrockagent-72944.json delete mode 100644 .changes/next-release/api-change-bedrockagentruntime-94169.json delete mode 100644 .changes/next-release/api-change-bedrockdataautomation-64463.json delete mode 100644 .changes/next-release/api-change-bedrockdataautomationruntime-93561.json delete mode 100644 .changes/next-release/api-change-billing-77050.json delete mode 100644 .changes/next-release/api-change-ce-18588.json delete mode 100644 .changes/next-release/api-change-connect-51478.json delete mode 100644 .changes/next-release/api-change-docdb-82823.json delete mode 100644 .changes/next-release/api-change-eks-89568.json delete mode 100644 .changes/next-release/api-change-macie2-59559.json delete mode 100644 .changes/next-release/api-change-outposts-42812.json delete mode 100644 .changes/next-release/api-change-sagemaker-90736.json diff --git a/.changes/1.36.27.json b/.changes/1.36.27.json new file mode 100644 index 000000000000..d5659e162e80 --- /dev/null +++ b/.changes/1.36.27.json @@ -0,0 +1,62 @@ +[ + { + "category": "``bedrock-agent``", + "description": "Support for custom user agent and max web pages crawled for web connector. Support app only credentials for SharePoint connector. Increase agents memory duration limit to 365 days. Support to specify max number of session summaries to include in agent invocation context.", + "type": "api-change" + }, + { + "category": "``bedrock-agent-runtime``", + "description": "bedrock agents now supports long term memory and performance configs. Invokeflow supports performance configs. RetrieveAndGenerate performance configs", + "type": "api-change" + }, + { + "category": "``bedrock-data-automation``", + "description": "Documentation update for Amazon Bedrock Data Automation", + "type": "api-change" + }, + { + "category": "``bedrock-data-automation-runtime``", + "description": "Documentation update for Amazon Bedrock Data Automation Runtime", + "type": "api-change" + }, + { + "category": "``billing``", + "description": "Added new API's for defining and fetching Billing Views.", + "type": "api-change" + }, + { + "category": "``ce``", + "description": "Support for retrieving cost, usage, and forecast for billing view.", + "type": "api-change" + }, + { + "category": "``connect``", + "description": "This release supports adding NotAttributeCondition and Range to the RoutingCriteria object.", + "type": "api-change" + }, + { + "category": "``docdb``", + "description": "Support AWS Secret Manager managed password for AWS DocumentDB instance-based cluster.", + "type": "api-change" + }, + { + "category": "``eks``", + "description": "This release expands the catalog of upgrade insight checks", + "type": "api-change" + }, + { + "category": "``macie2``", + "description": "This release adds support for identifying S3 general purpose buckets that exceed the Amazon Macie quota for preventative control monitoring.", + "type": "api-change" + }, + { + "category": "``outposts``", + "description": "Add CS8365C as a supported power connector for Outpost sites.", + "type": "api-change" + }, + { + "category": "``sagemaker``", + "description": "This release adds support for c6i, m6i and r6i instance on SageMaker Hyperpod and trn1 instances in batch", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-bedrockagent-72944.json b/.changes/next-release/api-change-bedrockagent-72944.json deleted file mode 100644 index e1f02c1db824..000000000000 --- a/.changes/next-release/api-change-bedrockagent-72944.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-agent``", - "description": "Support for custom user agent and max web pages crawled for web connector. Support app only credentials for SharePoint connector. Increase agents memory duration limit to 365 days. Support to specify max number of session summaries to include in agent invocation context." -} diff --git a/.changes/next-release/api-change-bedrockagentruntime-94169.json b/.changes/next-release/api-change-bedrockagentruntime-94169.json deleted file mode 100644 index f4cde6938e71..000000000000 --- a/.changes/next-release/api-change-bedrockagentruntime-94169.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-agent-runtime``", - "description": "bedrock agents now supports long term memory and performance configs. Invokeflow supports performance configs. RetrieveAndGenerate performance configs" -} diff --git a/.changes/next-release/api-change-bedrockdataautomation-64463.json b/.changes/next-release/api-change-bedrockdataautomation-64463.json deleted file mode 100644 index e0c7d415182a..000000000000 --- a/.changes/next-release/api-change-bedrockdataautomation-64463.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-data-automation``", - "description": "Documentation update for Amazon Bedrock Data Automation" -} diff --git a/.changes/next-release/api-change-bedrockdataautomationruntime-93561.json b/.changes/next-release/api-change-bedrockdataautomationruntime-93561.json deleted file mode 100644 index 3541f8edc4f4..000000000000 --- a/.changes/next-release/api-change-bedrockdataautomationruntime-93561.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-data-automation-runtime``", - "description": "Documentation update for Amazon Bedrock Data Automation Runtime" -} diff --git a/.changes/next-release/api-change-billing-77050.json b/.changes/next-release/api-change-billing-77050.json deleted file mode 100644 index 98d99566ff41..000000000000 --- a/.changes/next-release/api-change-billing-77050.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``billing``", - "description": "Added new API's for defining and fetching Billing Views." -} diff --git a/.changes/next-release/api-change-ce-18588.json b/.changes/next-release/api-change-ce-18588.json deleted file mode 100644 index d93885ed0828..000000000000 --- a/.changes/next-release/api-change-ce-18588.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ce``", - "description": "Support for retrieving cost, usage, and forecast for billing view." -} diff --git a/.changes/next-release/api-change-connect-51478.json b/.changes/next-release/api-change-connect-51478.json deleted file mode 100644 index 53c8e8f6b83e..000000000000 --- a/.changes/next-release/api-change-connect-51478.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``connect``", - "description": "This release supports adding NotAttributeCondition and Range to the RoutingCriteria object." -} diff --git a/.changes/next-release/api-change-docdb-82823.json b/.changes/next-release/api-change-docdb-82823.json deleted file mode 100644 index 418afc90d821..000000000000 --- a/.changes/next-release/api-change-docdb-82823.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``docdb``", - "description": "Support AWS Secret Manager managed password for AWS DocumentDB instance-based cluster." -} diff --git a/.changes/next-release/api-change-eks-89568.json b/.changes/next-release/api-change-eks-89568.json deleted file mode 100644 index 1d0062d152f4..000000000000 --- a/.changes/next-release/api-change-eks-89568.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``eks``", - "description": "This release expands the catalog of upgrade insight checks" -} diff --git a/.changes/next-release/api-change-macie2-59559.json b/.changes/next-release/api-change-macie2-59559.json deleted file mode 100644 index 5b5d5207cad1..000000000000 --- a/.changes/next-release/api-change-macie2-59559.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``macie2``", - "description": "This release adds support for identifying S3 general purpose buckets that exceed the Amazon Macie quota for preventative control monitoring." -} diff --git a/.changes/next-release/api-change-outposts-42812.json b/.changes/next-release/api-change-outposts-42812.json deleted file mode 100644 index 43ea1e28141b..000000000000 --- a/.changes/next-release/api-change-outposts-42812.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``outposts``", - "description": "Add CS8365C as a supported power connector for Outpost sites." -} diff --git a/.changes/next-release/api-change-sagemaker-90736.json b/.changes/next-release/api-change-sagemaker-90736.json deleted file mode 100644 index a93886df54bb..000000000000 --- a/.changes/next-release/api-change-sagemaker-90736.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``sagemaker``", - "description": "This release adds support for c6i, m6i and r6i instance on SageMaker Hyperpod and trn1 instances in batch" -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 157030491b4a..c665774d107c 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,23 @@ CHANGELOG ========= +1.36.27 +======= + +* api-change:``bedrock-agent``: Support for custom user agent and max web pages crawled for web connector. Support app only credentials for SharePoint connector. Increase agents memory duration limit to 365 days. Support to specify max number of session summaries to include in agent invocation context. +* api-change:``bedrock-agent-runtime``: bedrock agents now supports long term memory and performance configs. Invokeflow supports performance configs. RetrieveAndGenerate performance configs +* api-change:``bedrock-data-automation``: Documentation update for Amazon Bedrock Data Automation +* api-change:``bedrock-data-automation-runtime``: Documentation update for Amazon Bedrock Data Automation Runtime +* api-change:``billing``: Added new API's for defining and fetching Billing Views. +* api-change:``ce``: Support for retrieving cost, usage, and forecast for billing view. +* api-change:``connect``: This release supports adding NotAttributeCondition and Range to the RoutingCriteria object. +* api-change:``docdb``: Support AWS Secret Manager managed password for AWS DocumentDB instance-based cluster. +* api-change:``eks``: This release expands the catalog of upgrade insight checks +* api-change:``macie2``: This release adds support for identifying S3 general purpose buckets that exceed the Amazon Macie quota for preventative control monitoring. +* api-change:``outposts``: Add CS8365C as a supported power connector for Outpost sites. +* api-change:``sagemaker``: This release adds support for c6i, m6i and r6i instance on SageMaker Hyperpod and trn1 instances in batch + + 1.36.26 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 6356dafd2673..2ca000fe1667 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.36.26' +__version__ = '1.36.27' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index a6ecc1f10f21..5b031d0318bb 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.36.' # The full version, including alpha/beta/rc tags. -release = '1.36.26' +release = '1.36.27' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index b08293c748ad..cc1ff0cdf20a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.85 + botocore==1.35.86 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 46761c7bf3de..8bfc85263547 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.85', + 'botocore==1.35.86', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 02bb3198cb246ffa3413a8e701bf50acf8f2c9f4 Mon Sep 17 00:00:00 2001 From: Elysa Hall Date: Mon, 23 Dec 2024 18:57:48 +0000 Subject: [PATCH 0363/1087] CLI examples iam, ivs, sts --- ...anizations-root-credentials-management.rst | 16 +++ .../disable-organizations-root-sessions.rst | 16 +++ ...anizations-root-credentials-management.rst | 16 +++ .../enable-organizations-root-sessions.rst | 16 +++ .../iam/list-organizations-features.rst | 17 +++ awscli/examples/ivs/batch-get-channel.rst | 16 ++- awscli/examples/ivs/create-channel.rst | 79 ++++++++++- awscli/examples/ivs/get-channel.rst | 21 ++- awscli/examples/ivs/get-stream-session.rst | 61 ++++++-- awscli/examples/ivs/update-channel.rst | 134 ++++++++++++++++-- awscli/examples/sts/assume-root.rst | 22 +++ 11 files changed, 372 insertions(+), 42 deletions(-) create mode 100644 awscli/examples/iam/disable-organizations-root-credentials-management.rst create mode 100644 awscli/examples/iam/disable-organizations-root-sessions.rst create mode 100644 awscli/examples/iam/enable-organizations-root-credentials-management.rst create mode 100644 awscli/examples/iam/enable-organizations-root-sessions.rst create mode 100644 awscli/examples/iam/list-organizations-features.rst create mode 100644 awscli/examples/sts/assume-root.rst diff --git a/awscli/examples/iam/disable-organizations-root-credentials-management.rst b/awscli/examples/iam/disable-organizations-root-credentials-management.rst new file mode 100644 index 000000000000..8c5d0adb0729 --- /dev/null +++ b/awscli/examples/iam/disable-organizations-root-credentials-management.rst @@ -0,0 +1,16 @@ +**To disable the RootCredentialsManagement feature in your organization** + +The following ``disable-organizations-root-credentials-management`` command disables the management of privileged root user credentials across member accounts in your organization. :: + + aws iam disable-organizations-root-credentials-management + +Output:: + + { + "EnabledFeatures": [ + "RootSessions" + ] + "OrganizationId": "o-aa111bb222" + } + +For more information, see `Centralize root access for member accounts `__ in the *AWS IAM User Guide*.g \ No newline at end of file diff --git a/awscli/examples/iam/disable-organizations-root-sessions.rst b/awscli/examples/iam/disable-organizations-root-sessions.rst new file mode 100644 index 000000000000..e0d545d0b3a0 --- /dev/null +++ b/awscli/examples/iam/disable-organizations-root-sessions.rst @@ -0,0 +1,16 @@ +**To disable the RootSessions feature in your organization** + +The following ``disable-organizations-root-sessions`` command disables root user sessions for privileged tasks across member accounts in your organization. :: + + aws iam disable-organizations-root-sessions + +Output:: + + { + "EnabledFeatures": [ + "RootCredentialsManagement" + ] + "OrganizationId": "o-aa111bb222" + } + +For more information, see `Centralize root access for member accounts `__ in the *AWS IAM User Guide*. diff --git a/awscli/examples/iam/enable-organizations-root-credentials-management.rst b/awscli/examples/iam/enable-organizations-root-credentials-management.rst new file mode 100644 index 000000000000..95d7d819c2b6 --- /dev/null +++ b/awscli/examples/iam/enable-organizations-root-credentials-management.rst @@ -0,0 +1,16 @@ +**To enable the RootCredentialsManagement feature in your organization** + +The following ``enable-organizations-root-credentials-management`` command enables the management of privileged root user credentials across member accounts in your organization. :: + + aws iam enable-organizations-root-credentials-management + +Output:: + + { + "EnabledFeatures": [ + "RootCredentialsManagement" + ] + "OrganizationId": "o-aa111bb222" + } + +For more information, see `Centralize root access for member accounts `__ in the *AWS IAM User Guide*. \ No newline at end of file diff --git a/awscli/examples/iam/enable-organizations-root-sessions.rst b/awscli/examples/iam/enable-organizations-root-sessions.rst new file mode 100644 index 000000000000..e2bf7fb9ef22 --- /dev/null +++ b/awscli/examples/iam/enable-organizations-root-sessions.rst @@ -0,0 +1,16 @@ +**To enable the RootSessions feature in your organization** + +The following ``enable-organizations-root-sessions`` command allows the management account or delegated administrator to perform privileged tasks on member accounts in your organization. :: + + aws iam enable-organizations-root-sessions + +Output:: + + { + "EnabledFeatures": [ + "RootSessions" + ] + "OrganizationId": "o-aa111bb222" + } + +For more information, see `Centralize root access for member accounts `__ in the *AWS IAM User Guide*. \ No newline at end of file diff --git a/awscli/examples/iam/list-organizations-features.rst b/awscli/examples/iam/list-organizations-features.rst new file mode 100644 index 000000000000..a3bd5739946b --- /dev/null +++ b/awscli/examples/iam/list-organizations-features.rst @@ -0,0 +1,17 @@ +**To list the centralized root access features enabled for your organization** + +The following ``list-organizations-features`` command lists the centralized root access features enabled for your organization. :: + + aws iam list-organizations-features + +Output:: + + { + "EnabledFeatures": [ + "RootCredentialsManagement", + "RootSessions" + ] + "OrganizationId": "o-aa111bb222" + } + +For more information, see `Centrally manage root access for member accounts `__ in the *AWS IAM User Guide*. \ No newline at end of file diff --git a/awscli/examples/ivs/batch-get-channel.rst b/awscli/examples/ivs/batch-get-channel.rst index 99b7ab46d339..9c97daf96c82 100644 --- a/awscli/examples/ivs/batch-get-channel.rst +++ b/awscli/examples/ivs/batch-get-channel.rst @@ -13,9 +13,15 @@ Output:: { "arn": "arn:aws:ivs:us-west-2:123456789012:channel/abcdABCDefgh", "authorized": false, + "containerFormat": "TS", "ingestEndpoint": "a1b2c3d4e5f6.global-contribute.live-video.net", "insecureIngest": false, "latencyMode": "LOW", + "multitrackInputConfiguration": { + "enabled": false, + "maximumResolution": "FULL_HD", + "policy": "ALLOW" + }, "name": "channel-1", "playbackUrl": "https://a1b2c3d4e5f6.us-west-2.playback.live-video.net/api/video/v1/us-west-2.123456789012.channel-1.abcdEFGH.m3u8", "preset": "", @@ -31,9 +37,15 @@ Output:: { "arn": "arn:aws:ivs:us-west-2:123456789012:channel/efghEFGHijkl", "authorized": false, + "containerFormat": "FRAGMENTED_MP4", "ingestEndpoint": "a1b2c3d4e5f6.global-contribute.live-video.net", - "insecureIngest": true, + "insecureIngest": false, "latencyMode": "LOW", + "multitrackInputConfiguration": { + "enabled": true, + "maximumResolution": "FULL_HD", + "policy": "ALLOW" + }, "name": "channel-2", "playbackUrl": "https://a1b2c3d4e5f6.us-west-2.playback.live-video.net/api/video/v1/us-west-2.123456789012.channel-2.abcdEFGH.m3u8", "preset": "", @@ -49,4 +61,4 @@ Output:: ] } -For more information, see `Create a Channel `__ in the *IVS Low-Latency User Guide*. \ No newline at end of file +For more information, see `Create a Channel `__ in the *IVS Low-Latency User Guide*. diff --git a/awscli/examples/ivs/create-channel.rst b/awscli/examples/ivs/create-channel.rst index a96b09bae4ab..1248f54a718b 100644 --- a/awscli/examples/ivs/create-channel.rst +++ b/awscli/examples/ivs/create-channel.rst @@ -3,7 +3,7 @@ The following ``create-channel`` example creates a new channel and an associated stream key to start streaming. :: aws ivs create-channel \ - --name "test-channel" \ + --name 'test-channel' \ --no-insecure-ingest Output:: @@ -12,8 +12,14 @@ Output:: "channel": { "arn": "arn:aws:ivs:us-west-2:123456789012:channel/abcdABCDefgh", "authorized": false, + "containerFormat": "TS", "name": "test-channel", "latencyMode": "LOW", + "multitrackInputConfiguration": { + "enabled": false, + "maximumResolution": "FULL_HD", + "policy": "ALLOW" + }, "playbackRestrictionPolicyArn": "", "recordingConfigurationArn": "", "srt": { @@ -39,20 +45,26 @@ For more information, see `Create a Channel `__ in the *IVS Low-Latency User Guide*. \ No newline at end of file +For more information, see `Undesired Content and Viewers `__ in the *IVS Low-Latency User Guide*. + +**Example 4: To create a channel with multitrack enabled** + +The following ``create-channel`` example creates a new channel and an associated stream key to start streaming, and enables multitrack. :: + + aws ivs create-channel \ + --name 'test-channel' \ + --no-insecure-ingest \ + --container-format 'FRAGMENTED_MP4' \ + --multitrack-input-configuration '{"enabled": true,"maximumResolution": "FULL_HD","policy": "ALLOW"}' + +Output:: + + { + "channel": { + "arn": "arn:aws:ivs:us-west-2:123456789012:channel/abcdABCDefgh", + "authorized": false, + "containerFormat": "FRAGMENTED_MP4", + "name": "test-channel", + "latencyMode": "LOW", + "multitrackInputConfiguration": { + "enabled": true, + "maximumResolution": "FULL_HD", + "policy": "ALLOW" + }, + "playbackRestrictionPolicyArn": "", + "recordingConfigurationArn": "", + "srt": { + "endpoint": "a1b2c3d4e5f6.srt.live-video.net", + "passphrase": "AB1C2defGHijkLMNo3PqQRstUvwxyzaBCDEfghh4ijklMN5opqrStuVWxyzAbCDEfghIJ" + }, + "ingestEndpoint": "a1b2c3d4e5f6.global-contribute.live-video.net", + "insecureIngest": false, + "playbackUrl": "https://a1b2c3d4e5f6.us-west-2.playback.live-video.net/api/video/v1/us-west-2.123456789012.channel.abcdEFGH.m3u8", + "preset": "", + "tags": {}, + "type": "STANDARD" + }, + "streamKey": { + "arn": "arn:aws:ivs:us-west-2:123456789012:stream-key/g1H2I3j4k5L6", + "value": "sk_us-west-2_abcdABCDefgh_567890abcdef", + "channelArn": "arn:aws:ivs:us-west-2:123456789012:channel/abcdABCDefgh", + "tags": {} + } + } + +For more information, see `Create a Channel `__ in the *IVS Low-Latency User Guide*. \ No newline at end of file diff --git a/awscli/examples/ivs/get-channel.rst b/awscli/examples/ivs/get-channel.rst index a875e4557bba..40e43b644555 100644 --- a/awscli/examples/ivs/get-channel.rst +++ b/awscli/examples/ivs/get-channel.rst @@ -3,27 +3,34 @@ The following ``get-channel`` example gets the channel configuration for a specified channel ARN (Amazon Resource Name). :: aws ivs get-channel \ - --arn arn:aws:ivs:us-west-2:123456789012:channel/abcdABCDefgh + --arn 'arn:aws:ivs:us-west-2:123456789012:channel/abcdABCDefgh' Output:: { "channel": { "arn": "arn:aws:ivs:us-west-2:123456789012:channel/abcdABCDefgh", - "name": "channel-1", + "authorized": false, + "containerFormat": "TS", + "ingestEndpoint": "a1b2c3d4e5f6.global-contribute.live-video.net", + "insecureIngest": false, "latencyMode": "LOW", - "type": "STANDARD", + "multitrackInputConfiguration": { + "enabled": false, + "maximumResolution": "FULL_HD", + "policy": "ALLOW" + }, + "name": "channel-1", "playbackRestrictionPolicyArn": "", + "playbackUrl": "https://a1b2c3d4e5f6.us-west-2.playback.live-video.net/api/video/v1/us-west-2.123456789012.channel.abcdEFGH.m3u8", "preset": "", - "recordingConfigurationArn": "arn:aws:ivs:us-west-2:123456789012:recording-configuration/ABCD12cdEFgh", + "recordingConfigurationArn": "", "srt": { "endpoint": "a1b2c3d4e5f6.srt.live-video.net", "passphrase": "AB1C2defGHijkLMNo3PqQRstUvwxyzaBCDEfghh4ijklMN5opqrStuVWxyzAbCDEfghIJ" }, - "ingestEndpoint": "a1b2c3d4e5f6.global-contribute.live-video.net", - "insecureIngest": false, - "playbackUrl": "https://a1b2c3d4e5f6.us-west-2.playback.live-video.net/api/video/v1/us-west-2.123456789012.channel.abcdEFGH.m3u8", "tags": {} + "type": "STANDARD", } } diff --git a/awscli/examples/ivs/get-stream-session.rst b/awscli/examples/ivs/get-stream-session.rst index 2b9b90b00626..fe270b5ec94a 100644 --- a/awscli/examples/ivs/get-stream-session.rst +++ b/awscli/examples/ivs/get-stream-session.rst @@ -1,10 +1,10 @@ **To get metadata for a specified stream** -The following ``get-stream-session`` example gets the metadata configuration for the specified channel ARN (Amazon Resource Name) and the specified stream; if streamId is not provided, the most recent stream for the channel is selected. :: +The following ``get-stream-session`` example gets the metadata configuration for the specified channel ARN (Amazon Resource Name) and the specified stream; if ``streamId`` is not provided, the most recent stream for the channel is selected. :: aws ivs get-stream-session \ - --channel-arn arn:aws:ivs:us-west-2:123456789012:channel/abcdABCDefgh \ - --stream-id "mystream" + --channel-arn 'arn:aws:ivs:us-west-2:123456789012:channel/abcdABCDefgh' \ + --stream-id 'mystream' Output:: @@ -18,10 +18,6 @@ Output:: "latencyMode": "LOW", "type": "STANDARD", "recordingConfigurationArn": "arn:aws:ivs:us-west-2:123456789012:recording-configuration/ABcdef34ghIJ", - "srt": { - "endpoint": "a1b2c3d4e5f6.srt.live-video.net", - "passphrase": "AB1C2defGHijkLMNo3PqQRstUvwxyzaBCDEfghh4ijklMN5opqrStuVWxyzAbCDEfghIJ" - }, "ingestEndpoint": "a1b2c3d4e5f6.global-contribute.live-video.net", "playbackUrl": "url-string", "authorized": false, @@ -29,23 +25,51 @@ Output:: "preset": "" }, "ingestConfiguration": { + "audio": { + "channels": 2, + "codec": "mp4a.40.2", + "sampleRate": 8000, + "targetBitrate": 46875, + "track": "Track0" + }, "video": { "avcProfile": "Baseline", "avcLevel": "4.2", "codec": "avc1.42C02A", "encoder": "Lavf58.45.100", + "level": "4.2", + "profile": "Baseline", "targetBitrate": 8789062, "targetFramerate": 60, + "track": "Track0", "videoHeight": 1080, "videoWidth": 1920 - }, - "audio": { - "codec": "mp4a.40.2", - "targetBitrate": 46875, - "sampleRate": 8000, - "channels": 2 } }, + "ingestConfigurations": { + "audioConfigurations": [ + { + "channels": 2, + "codec": "mp4a.40.2", + "sampleRate": 8000, + "targetBitrate": 46875, + "track": "Track0" + } + ], + "videoConfigurations": [ + { + "codec": "avc1.42C02A", + "encoder": "Lavf58.45.100", + "level": "4.2", + "profile": "Baseline", + "targetBitrate": 8789062, + "targetFramerate": 60, + "track": "Track0", + "videoHeight": 1080, + "videoWidth": 1920 + } + ] + }, "recordingConfiguration": { "arn": "arn:aws:ivs:us-west-2:123456789012:recording-configuration/ABcdef34ghIJ", "name": "test-recording-config", @@ -76,6 +100,17 @@ Output:: } }, "truncatedEvents": [ + { + "code": "StreamTakeoverInvalidPriority", + "name": "Stream Takeover Failure", + "type": "IVS Stream State Change", + "eventTime": "2023-06-26T19:09:48+00:00" + }, + { + "name": "Stream Takeover", + "type": "IVS Stream State Change", + "eventTime": "2023-06-26T19:09:47+00:00" + }, { "name": "Recording Start", "type": "IVS Recording State Change", diff --git a/awscli/examples/ivs/update-channel.rst b/awscli/examples/ivs/update-channel.rst index 075e44a7a3e7..e5fd733ef3e0 100644 --- a/awscli/examples/ivs/update-channel.rst +++ b/awscli/examples/ivs/update-channel.rst @@ -3,8 +3,8 @@ The following ``update-channel`` example updates the channel configuration for a specified channel ARN to change the channel name. This does not affect an ongoing stream of this channel; you must stop and restart the stream for the changes to take effect. :: aws ivs update-channel \ - --arn arn:aws:ivs:us-west-2:123456789012:channel/abcdABCDefgh \ - --name "channel-1" \ + --arn 'arn:aws:ivs:us-west-2:123456789012:channel/abcdABCDefgh' \ + --name 'channel-1' \ --insecure-ingest Output:: @@ -14,6 +14,12 @@ Output:: "arn": "arn:aws:ivs:us-west-2:123456789012:channel/abcdABCDefgh", "name": "channel-1", "latencyMode": "LOW", + "containerFormat": "TS", + "multitrackInputConfiguration": { + "enabled": false, + "maximumResolution": "FULL_HD", + "policy": "ALLOW" + }, "type": "STANDARD", "playbackRestrictionPolicyArn": "", "recordingConfigurationArn": "", @@ -36,9 +42,9 @@ For more information, see `Create a Channel `__ in the *IVS Low-Latency User Guide*. - - **Example 4: To update a channel's configuration to enable playback restriction** The following ``update-channel`` example updates the channel configuration for a specified channel ARN to apply a playback restriction policy. This does not affect an ongoing stream of this channel; you must stop and restart the stream for the changes to take effect. :: aws ivs update-channel \ - --arn "arn:aws:ivs:us-west-2:123456789012:channel/abcdABCDefgh" \ + --arn 'arn:aws:ivs:us-west-2:123456789012:channel/abcdABCDefgh' \ --no-insecure-ingest \ - --playback-restriction-policy-arn "arn:aws:ivs:us-west-2:123456789012:playback-restriction-policy/ABcdef34ghIJ" + --playback-restriction-policy-arn 'arn:aws:ivs:us-west-2:123456789012:playback-restriction-policy/ABcdef34ghIJ' Output:: @@ -116,6 +132,12 @@ Output:: "arn": "arn:aws:ivs:us-west-2:123456789012:channel/abcdABCDefgh", "name": "test-channel-with-playback-restriction-policy", "latencyMode": "LOW", + "containerFormat": "TS", + "multitrackInputConfiguration": { + "enabled": false, + "maximumResolution": "FULL_HD", + "policy": "ALLOW" + }, "type": "STANDARD", "playbackRestrictionPolicyArn": "arn:aws:ivs:us-west-2:123456789012:playback-restriction-policy/ABcdef34ghIJ", "recordingConfigurationArn": "", @@ -139,8 +161,8 @@ For more information, see `Undesired Content and Viewers `__ in the *IVS Low-Latency User Guide*. \ No newline at end of file +For more information, see `Undesired Content and Viewers `__ in the *IVS Low-Latency User Guide*. + +**Example 6: To update a channel's configuration to enable multitrack** + +The following ``update-channel`` example updates the channel configuration for a specified channel ARN to enable multitrack. This does not affect an ongoing stream of this channel; you must stop and restart the stream for the changes to take effect. :: + + aws ivs update-channel \ + --arn 'arn:aws:ivs:us-west-2:123456789012:channel/abcdABCDefgh' \ + --container-format 'FRAGMENTED_MP4' \ + --multitrack-input-configuration '{"enabled": true,"maximumResolution": "FULL_HD","policy": "ALLOW"}' + +Output:: + + { + "channel": { + "arn": "arn:aws:ivs:us-west-2:123456789012:channel/abcdABCDefgh", + "containerFormat": "FRAGMENTED_MP4", + "name": "test-channel-with-multitrack", + "latencyMode": "LOW", + "multitrackInputConfiguration": { + "enabled": true, + "maximumResolution": "FULL_HD", + "policy": "ALLOW" + }, + "type": "STANDARD", + "playbackRestrictionPolicyArn": "", + "recordingConfigurationArn": "", + "srt": { + "endpoint": "a1b2c3d4e5f6.srt.live-video.net", + "passphrase": "AB1C2defGHijkLMNo3PqQRstUvwxyzaCBDEfghh4ijklMN5opqrStuVWxyzAbCDEfghIJ" + }, + "ingestEndpoint": "a1b2c3d4e5f6.global-contribute.live-video.net", + "insecureIngest": false, + "playbackUrl": "https://a1b2c3d4e5f6.us-west-2.playback.live-video.net/api/video/v1/us-west-2.123456789012.channel.abcdEFGH.m3u8", + "preset": "", + "authorized": false, + "tags": {} + } + } + +For more information, see `Undesired Content and Viewers `__ in the *IVS Low-Latency User Guide*. + +**Example 7: To update a channel's configuration to disable playback restriction** + +The following ``update-channel`` example updates the channel configuration for a specified channel ARN to disable multitrack. This does not affect an ongoing stream of this channel; you must stop and restart the stream for the changes to take effect. :: + + aws ivs update-channel \ + --arn 'arn:aws:ivs:us-west-2:123456789012:channel/abcdABCDefgh' \ + --container-format 'TS' \ + --multitrack-input-configuration '{"enabled": false}' + +Output:: + + { + "channel": { + ""arn": "arn:aws:ivs:us-west-2:123456789012:channel/abcdABCDefgh", + "containerFormat": "TS", + "name": "test-channel-with-multitrack", + "latencyMode": "LOW", + "multitrackInputConfiguration": { + "enabled": false, + "maximumResolution": "FULL_HD", + "policy": "ALLOW" + }, + "type": "STANDARD", + "playbackRestrictionPolicyArn": "", + "recordingConfigurationArn": "", + "srt": { + "endpoint": "a1b2c3d4e5f6.srt.live-video.net", + "passphrase": "AB1C2defGHijkLMNo3PqQRstUvwxyzaCBDEfghh4ijklMN5opqrStuVWxyzAbCDEfghIJ" + }, + "ingestEndpoint": "a1b2c3d4e5f6.global-contribute.live-video.net", + "insecureIngest": false, + "playbackUrl": "https://a1b2c3d4e5f6.us-west-2.playback.live-video.net/api/video/v1/us-west-2.123456789012.channel.abcdEFGH.m3u8", + "preset": "", + "authorized": false, + "tags": {} + } + } + +For more information, see `Undesired Content and Viewers `__ in the *IVS Low-Latency User Guide*. \ No newline at end of file diff --git a/awscli/examples/sts/assume-root.rst b/awscli/examples/sts/assume-root.rst new file mode 100644 index 000000000000..56ec7fd4b6b7 --- /dev/null +++ b/awscli/examples/sts/assume-root.rst @@ -0,0 +1,22 @@ +**To launch a privileged session** + +The following ``assume-root`` command retrieves a set of short-term credentials you can use to remove a misconfigured Amazon S3 bucket policy for a member account in your organization. :: + + aws sts assume-root \ + --duration-seconds 900 \ + --target-principal 111122223333 \ + --task-policy-arn arn=arn:aws:iam::aws:policy/root-task/S3UnlockBucketPolicy + +Output:: + + { + "Credentials": { + "SecretAccessKey": "9drTJvcXLB89EXAMPLELB8923FB892xMFI", + "SessionToken": "AQoXdzELDDY//////////wEaoAK1wvxJY12r2IrDFT2IvAzTCn3zHoZ7YNtpiQLF0MqZye/qwjzP2iEXAMPLEbw/m3hsj8VBTkPORGvr9jM5sgP+w9IZWZnU+LWhmg+a5fDi2oTGUYcdg9uexQ4mtCHIHfi4citgqZTgco40Yqr4lIlo4V2b2Dyauk0eYFNebHtYlFVgAUj+7Indz3LU0aTWk1WKIjHmmMCIoTkyYp/k7kUG7moeEYKSitwQIi6Gjn+nyzM+PtoA3685ixzv0R7i5rjQi0YE0lf1oeie3bDiNHncmzosRM6SFiPzSvp6h/32xQuZsjcypmwsPSDtTPYcs0+YN/8BRi2/IcrxSpnWEXAMPLEXSDFTAQAM6Dl9zR0tXoybnlrZIwMLlMi1Kcgo5OytwU=", + "Expiration": "2024-11-15T00:05:07Z", + "AccessKeyId": "ASIAJEXAMPLEXEG2JICEA" + }, + "SourceIdentity": "Alice", + } + +The output of the command contains an access key, secret key, and session token that you can use to to perform privileged actions in the member account. For more information, see `Perform a privileged task on an AWS Organizations member account `__ in the *AWS IAM User Guide*. \ No newline at end of file From c341181361c283a65efca5c073262a20c0e0145c Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 23 Dec 2024 19:12:51 +0000 Subject: [PATCH 0364/1087] Update changelog based on model updates --- .changes/next-release/api-change-ecr-17066.json | 5 +++++ .changes/next-release/api-change-ecrpublic-18451.json | 5 +++++ .changes/next-release/api-change-eks-67915.json | 5 +++++ .changes/next-release/api-change-glue-21182.json | 5 +++++ 4 files changed, 20 insertions(+) create mode 100644 .changes/next-release/api-change-ecr-17066.json create mode 100644 .changes/next-release/api-change-ecrpublic-18451.json create mode 100644 .changes/next-release/api-change-eks-67915.json create mode 100644 .changes/next-release/api-change-glue-21182.json diff --git a/.changes/next-release/api-change-ecr-17066.json b/.changes/next-release/api-change-ecr-17066.json new file mode 100644 index 000000000000..ef163217ff5d --- /dev/null +++ b/.changes/next-release/api-change-ecr-17066.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ecr``", + "description": "Documentation update for ECR GetAccountSetting and PutAccountSetting APIs." +} diff --git a/.changes/next-release/api-change-ecrpublic-18451.json b/.changes/next-release/api-change-ecrpublic-18451.json new file mode 100644 index 000000000000..381fb9bd1d13 --- /dev/null +++ b/.changes/next-release/api-change-ecrpublic-18451.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ecr-public``", + "description": "Add support for Dualstack endpoints" +} diff --git a/.changes/next-release/api-change-eks-67915.json b/.changes/next-release/api-change-eks-67915.json new file mode 100644 index 000000000000..0081a57c697e --- /dev/null +++ b/.changes/next-release/api-change-eks-67915.json @@ -0,0 +1,5 @@ +{ + "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" +} diff --git a/.changes/next-release/api-change-glue-21182.json b/.changes/next-release/api-change-glue-21182.json new file mode 100644 index 000000000000..f73aeea55c42 --- /dev/null +++ b/.changes/next-release/api-change-glue-21182.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``glue``", + "description": "Add IncludeRoot parameters to GetCatalogs API to return root catalog." +} From af99099c936f906bf70b52e793051cb49376ad97 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 23 Dec 2024 19:14:14 +0000 Subject: [PATCH 0365/1087] Bumping version to 1.36.28 --- .changes/1.36.28.json | 22 +++++++++++++++++++ .../next-release/api-change-ecr-17066.json | 5 ----- .../api-change-ecrpublic-18451.json | 5 ----- .../next-release/api-change-eks-67915.json | 5 ----- .../next-release/api-change-glue-21182.json | 5 ----- CHANGELOG.rst | 9 ++++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 10 files changed, 35 insertions(+), 24 deletions(-) create mode 100644 .changes/1.36.28.json delete mode 100644 .changes/next-release/api-change-ecr-17066.json delete mode 100644 .changes/next-release/api-change-ecrpublic-18451.json delete mode 100644 .changes/next-release/api-change-eks-67915.json delete mode 100644 .changes/next-release/api-change-glue-21182.json diff --git a/.changes/1.36.28.json b/.changes/1.36.28.json new file mode 100644 index 000000000000..c3153f7f8aff --- /dev/null +++ b/.changes/1.36.28.json @@ -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" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-ecr-17066.json b/.changes/next-release/api-change-ecr-17066.json deleted file mode 100644 index ef163217ff5d..000000000000 --- a/.changes/next-release/api-change-ecr-17066.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ecr``", - "description": "Documentation update for ECR GetAccountSetting and PutAccountSetting APIs." -} diff --git a/.changes/next-release/api-change-ecrpublic-18451.json b/.changes/next-release/api-change-ecrpublic-18451.json deleted file mode 100644 index 381fb9bd1d13..000000000000 --- a/.changes/next-release/api-change-ecrpublic-18451.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ecr-public``", - "description": "Add support for Dualstack endpoints" -} diff --git a/.changes/next-release/api-change-eks-67915.json b/.changes/next-release/api-change-eks-67915.json deleted file mode 100644 index 0081a57c697e..000000000000 --- a/.changes/next-release/api-change-eks-67915.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "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" -} diff --git a/.changes/next-release/api-change-glue-21182.json b/.changes/next-release/api-change-glue-21182.json deleted file mode 100644 index f73aeea55c42..000000000000 --- a/.changes/next-release/api-change-glue-21182.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``glue``", - "description": "Add IncludeRoot parameters to GetCatalogs API to return root catalog." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index c665774d107c..a5a17c5bf33c 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,15 @@ CHANGELOG ========= +1.36.28 +======= + +* 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.36.27 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 2ca000fe1667..d30334a87b77 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.36.27' +__version__ = '1.36.28' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 5b031d0318bb..11a17ae10cc2 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.36.' # The full version, including alpha/beta/rc tags. -release = '1.36.27' +release = '1.36.28' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index cc1ff0cdf20a..a724b419070a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.86 + botocore==1.35.87 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 8bfc85263547..418b5c2c9257 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.86', + 'botocore==1.35.87', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 409cfdcf8d796c25959ea45912ad9732e7ac8a30 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 26 Dec 2024 19:12:47 +0000 Subject: [PATCH 0366/1087] Update changelog based on model updates --- .../next-release/api-change-bcmpricingcalculator-22657.json | 5 +++++ .changes/next-release/api-change-ecr-13157.json | 5 +++++ .changes/next-release/api-change-networkfirewall-2609.json | 5 +++++ .changes/next-release/api-change-securityhub-32593.json | 5 +++++ 4 files changed, 20 insertions(+) create mode 100644 .changes/next-release/api-change-bcmpricingcalculator-22657.json create mode 100644 .changes/next-release/api-change-ecr-13157.json create mode 100644 .changes/next-release/api-change-networkfirewall-2609.json create mode 100644 .changes/next-release/api-change-securityhub-32593.json diff --git a/.changes/next-release/api-change-bcmpricingcalculator-22657.json b/.changes/next-release/api-change-bcmpricingcalculator-22657.json new file mode 100644 index 000000000000..59c68d2dd66a --- /dev/null +++ b/.changes/next-release/api-change-bcmpricingcalculator-22657.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bcm-pricing-calculator``", + "description": "Added ConflictException to DeleteBillEstimate." +} diff --git a/.changes/next-release/api-change-ecr-13157.json b/.changes/next-release/api-change-ecr-13157.json new file mode 100644 index 000000000000..ebb320c63485 --- /dev/null +++ b/.changes/next-release/api-change-ecr-13157.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ecr``", + "description": "Add support for Dualstack Endpoints" +} diff --git a/.changes/next-release/api-change-networkfirewall-2609.json b/.changes/next-release/api-change-networkfirewall-2609.json new file mode 100644 index 000000000000..b0b3847ccd77 --- /dev/null +++ b/.changes/next-release/api-change-networkfirewall-2609.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``network-firewall``", + "description": "Dual-stack endpoints are now supported." +} diff --git a/.changes/next-release/api-change-securityhub-32593.json b/.changes/next-release/api-change-securityhub-32593.json new file mode 100644 index 000000000000..271afbb265fa --- /dev/null +++ b/.changes/next-release/api-change-securityhub-32593.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``securityhub``", + "description": "Documentation updates for AWS Security Hub" +} From b49b68d8664fe82a3e9a3c4c4efcfd48faff186c Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 26 Dec 2024 19:14:12 +0000 Subject: [PATCH 0367/1087] Bumping version to 1.36.29 --- .changes/1.36.29.json | 22 +++++++++++++++++++ ...api-change-bcmpricingcalculator-22657.json | 5 ----- .../next-release/api-change-ecr-13157.json | 5 ----- .../api-change-networkfirewall-2609.json | 5 ----- .../api-change-securityhub-32593.json | 5 ----- CHANGELOG.rst | 9 ++++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 10 files changed, 35 insertions(+), 24 deletions(-) create mode 100644 .changes/1.36.29.json delete mode 100644 .changes/next-release/api-change-bcmpricingcalculator-22657.json delete mode 100644 .changes/next-release/api-change-ecr-13157.json delete mode 100644 .changes/next-release/api-change-networkfirewall-2609.json delete mode 100644 .changes/next-release/api-change-securityhub-32593.json diff --git a/.changes/1.36.29.json b/.changes/1.36.29.json new file mode 100644 index 000000000000..99ad69fa9b70 --- /dev/null +++ b/.changes/1.36.29.json @@ -0,0 +1,22 @@ +[ + { + "category": "``bcm-pricing-calculator``", + "description": "Added ConflictException to DeleteBillEstimate.", + "type": "api-change" + }, + { + "category": "``ecr``", + "description": "Add support for Dualstack Endpoints", + "type": "api-change" + }, + { + "category": "``network-firewall``", + "description": "Dual-stack endpoints are now supported.", + "type": "api-change" + }, + { + "category": "``securityhub``", + "description": "Documentation updates for AWS Security Hub", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-bcmpricingcalculator-22657.json b/.changes/next-release/api-change-bcmpricingcalculator-22657.json deleted file mode 100644 index 59c68d2dd66a..000000000000 --- a/.changes/next-release/api-change-bcmpricingcalculator-22657.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bcm-pricing-calculator``", - "description": "Added ConflictException to DeleteBillEstimate." -} diff --git a/.changes/next-release/api-change-ecr-13157.json b/.changes/next-release/api-change-ecr-13157.json deleted file mode 100644 index ebb320c63485..000000000000 --- a/.changes/next-release/api-change-ecr-13157.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ecr``", - "description": "Add support for Dualstack Endpoints" -} diff --git a/.changes/next-release/api-change-networkfirewall-2609.json b/.changes/next-release/api-change-networkfirewall-2609.json deleted file mode 100644 index b0b3847ccd77..000000000000 --- a/.changes/next-release/api-change-networkfirewall-2609.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``network-firewall``", - "description": "Dual-stack endpoints are now supported." -} diff --git a/.changes/next-release/api-change-securityhub-32593.json b/.changes/next-release/api-change-securityhub-32593.json deleted file mode 100644 index 271afbb265fa..000000000000 --- a/.changes/next-release/api-change-securityhub-32593.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``securityhub``", - "description": "Documentation updates for AWS Security Hub" -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index a5a17c5bf33c..14a443d81690 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,15 @@ CHANGELOG ========= +1.36.29 +======= + +* api-change:``bcm-pricing-calculator``: Added ConflictException to DeleteBillEstimate. +* api-change:``ecr``: Add support for Dualstack Endpoints +* api-change:``network-firewall``: Dual-stack endpoints are now supported. +* api-change:``securityhub``: Documentation updates for AWS Security Hub + + 1.36.28 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index d30334a87b77..2a3573569db7 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.36.28' +__version__ = '1.36.29' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 11a17ae10cc2..909d9416f873 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.36.' # The full version, including alpha/beta/rc tags. -release = '1.36.28' +release = '1.36.29' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index a724b419070a..f8a3d6580b06 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.87 + botocore==1.35.88 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 418b5c2c9257..0d040de5e92a 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.87', + 'botocore==1.35.88', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 6e559e74d5ff2c58589ec4bcb5ef4f0db470e3ff Mon Sep 17 00:00:00 2001 From: Ashish Bharadwaj Date: Fri, 27 Dec 2024 10:37:47 +0530 Subject: [PATCH 0368/1087] Add CLI examples for CloudWatch OAM and Synthetics --- awscli/examples/oam/create-link.rst | 24 ++++++ awscli/examples/oam/create-sink.rst | 17 +++++ awscli/examples/oam/delete-link.rst | 10 +++ awscli/examples/oam/delete-sink.rst | 10 +++ awscli/examples/oam/get-link.rst | 22 ++++++ awscli/examples/oam/get-sink-policy.rst | 16 ++++ awscli/examples/oam/get-sink.rst | 17 +++++ awscli/examples/oam/list-attached-links.rst | 23 ++++++ awscli/examples/oam/list-links.rst | 21 ++++++ awscli/examples/oam/list-sinks.rst | 19 +++++ .../examples/oam/list-tags-for-resource.rst | 16 ++++ awscli/examples/oam/put-sink-policy.rst | 17 +++++ awscli/examples/oam/tag-resource.rst | 11 +++ awscli/examples/oam/untag-resource.rst | 11 +++ awscli/examples/oam/update-link.rst | 24 ++++++ .../synthetics/associate-resource.rst | 11 +++ awscli/examples/synthetics/create-canary.rst | 48 ++++++++++++ awscli/examples/synthetics/create-group.rst | 21 ++++++ awscli/examples/synthetics/delete-canary.rst | 10 +++ awscli/examples/synthetics/delete-group.rst | 10 +++ .../synthetics/describe-canaries-last-run.rst | 31 ++++++++ .../examples/synthetics/describe-canaries.rst | 48 ++++++++++++ .../synthetics/describe-runtime-versions.rst | 74 +++++++++++++++++++ .../synthetics/disassociate-resource.rst | 11 +++ .../examples/synthetics/get-canary-runs.rst | 29 ++++++++ awscli/examples/synthetics/get-canary.rst | 47 ++++++++++++ awscli/examples/synthetics/get-group.rst | 21 ++++++ .../synthetics/list-associated-groups.rst | 20 +++++ .../synthetics/list-group-resources.rst | 16 ++++ awscli/examples/synthetics/list-groups.rst | 19 +++++ .../synthetics/list-tags-for-resource.rst | 31 ++++++++ awscli/examples/synthetics/start-canary.rst | 10 +++ awscli/examples/synthetics/stop-canary.rst | 10 +++ awscli/examples/synthetics/tag-resource.rst | 21 ++++++ awscli/examples/synthetics/untag-resource.rst | 21 ++++++ awscli/examples/synthetics/update-canary.rst | 11 +++ 36 files changed, 778 insertions(+) create mode 100644 awscli/examples/oam/create-link.rst create mode 100644 awscli/examples/oam/create-sink.rst create mode 100644 awscli/examples/oam/delete-link.rst create mode 100644 awscli/examples/oam/delete-sink.rst create mode 100644 awscli/examples/oam/get-link.rst create mode 100644 awscli/examples/oam/get-sink-policy.rst create mode 100644 awscli/examples/oam/get-sink.rst create mode 100644 awscli/examples/oam/list-attached-links.rst create mode 100644 awscli/examples/oam/list-links.rst create mode 100644 awscli/examples/oam/list-sinks.rst create mode 100644 awscli/examples/oam/list-tags-for-resource.rst create mode 100644 awscli/examples/oam/put-sink-policy.rst create mode 100644 awscli/examples/oam/tag-resource.rst create mode 100644 awscli/examples/oam/untag-resource.rst create mode 100644 awscli/examples/oam/update-link.rst create mode 100644 awscli/examples/synthetics/associate-resource.rst create mode 100644 awscli/examples/synthetics/create-canary.rst create mode 100644 awscli/examples/synthetics/create-group.rst create mode 100644 awscli/examples/synthetics/delete-canary.rst create mode 100644 awscli/examples/synthetics/delete-group.rst create mode 100644 awscli/examples/synthetics/describe-canaries-last-run.rst create mode 100644 awscli/examples/synthetics/describe-canaries.rst create mode 100644 awscli/examples/synthetics/describe-runtime-versions.rst create mode 100644 awscli/examples/synthetics/disassociate-resource.rst create mode 100644 awscli/examples/synthetics/get-canary-runs.rst create mode 100644 awscli/examples/synthetics/get-canary.rst create mode 100644 awscli/examples/synthetics/get-group.rst create mode 100644 awscli/examples/synthetics/list-associated-groups.rst create mode 100644 awscli/examples/synthetics/list-group-resources.rst create mode 100644 awscli/examples/synthetics/list-groups.rst create mode 100644 awscli/examples/synthetics/list-tags-for-resource.rst create mode 100644 awscli/examples/synthetics/start-canary.rst create mode 100644 awscli/examples/synthetics/stop-canary.rst create mode 100644 awscli/examples/synthetics/tag-resource.rst create mode 100644 awscli/examples/synthetics/untag-resource.rst create mode 100644 awscli/examples/synthetics/update-canary.rst diff --git a/awscli/examples/oam/create-link.rst b/awscli/examples/oam/create-link.rst new file mode 100644 index 000000000000..5a028db80ccf --- /dev/null +++ b/awscli/examples/oam/create-link.rst @@ -0,0 +1,24 @@ +**To create a link** + +The following ``create-link`` example creates a link between a source account and a sink that you have created in a monitoring account. :: + + aws oam create-link \ + --label-template sourceAccount \ + --resource-types AWS::CloudWatch::Metric \ + --sink-identifier arn:aws:oam:us-east-2:123456789012:sink/a1b2c3d4-5678-90ab-cdef-example12345 + +Output:: + + { + "Arn": "arn:aws:oam:us-east-2:123456789111:link/a1b2c3d4-5678-90ab-cdef-example11111", + "Id": "a1b2c3d4-5678-90ab-cdef-example11111", + "Label": "sourceAccount", + "LabelTemplate": "sourceAccount", + "ResourceTypes": [ + "AWS::CloudWatch::Metric" + ], + "SinkArn": "arn:aws:oam:us-east-2:123456789012:sink/a1b2c3d4-5678-90ab-cdef-example12345", + "Tags": {} + } + +For more information, see `CloudWatch cross-account observability `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/oam/create-sink.rst b/awscli/examples/oam/create-sink.rst new file mode 100644 index 000000000000..a0afda540b38 --- /dev/null +++ b/awscli/examples/oam/create-sink.rst @@ -0,0 +1,17 @@ +**To create a sink** + +The following ``create-sink`` example creates a sink in the current account, so that it can be used as a monitoring account in CloudWatch cross-account observability. :: + + aws oam create-sink \ + --name DemoSink + +Output:: + + { + "Arn": "arn:aws:oam:us-east-2:123456789012:sink/a1b2c3d4-5678-90ab-cdef-example12345", + "Id": "a1b2c3d4-5678-90ab-cdef-example12345", + "Name": "DemoSink", + "Tags": {} + } + +For more information, see `CloudWatch cross-account observability `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/oam/delete-link.rst b/awscli/examples/oam/delete-link.rst new file mode 100644 index 000000000000..6e1d6a2f531e --- /dev/null +++ b/awscli/examples/oam/delete-link.rst @@ -0,0 +1,10 @@ +**To delete a link** + +The following ``delete-link`` example deletes a link between a monitoring account sink and a source account. :: + + aws oam delete-link \ + --identifier arn:aws:oam:us-east-2:123456789111:link/a1b2c3d4-5678-90ab-cdef-example11111 + +This command produces no output. + +For more information, see `CloudWatch cross-account observability `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/oam/delete-sink.rst b/awscli/examples/oam/delete-sink.rst new file mode 100644 index 000000000000..0b5b0a99b6b1 --- /dev/null +++ b/awscli/examples/oam/delete-sink.rst @@ -0,0 +1,10 @@ +**To delete a sink** + +The following ``delete-sink`` example deletes a sink. You must delete all links to a sink before you can delete that sink. :: + + aws oam delete-sink \ + --identifier arn:aws:oam:us-east-2:123456789012:sink/a1b2c3d4-5678-90ab-cdef-example12345 + +This command produces no output. + +For more information, see `CloudWatch cross-account observability `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/oam/get-link.rst b/awscli/examples/oam/get-link.rst new file mode 100644 index 000000000000..efc8215c809c --- /dev/null +++ b/awscli/examples/oam/get-link.rst @@ -0,0 +1,22 @@ +**To return complete information about one link** + +The following ``get-link`` example returns complete information about a link. :: + + aws oam get-link \ + --identifier arn:aws:oam:us-east-2:123456789111:link/a1b2c3d4-5678-90ab-cdef-example11111 + +Output:: + + { + "Arn": "arn:aws:oam:us-east-2:123456789111:link/a1b2c3d4-5678-90ab-cdef-example11111", + "Id": "a1b2c3d4-5678-90ab-cdef-example11111", + "Label": "sourceAccount", + "LabelTemplate": "sourceAccount", + "ResourceTypes": [ + "AWS::CloudWatch::Metric" + ], + "SinkArn": "arn:aws:oam:us-east-2:123456789012:sink/a1b2c3d4-5678-90ab-cdef-example12345", + "Tags": {} + } + +For more information, see `CloudWatch cross-account observability `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/oam/get-sink-policy.rst b/awscli/examples/oam/get-sink-policy.rst new file mode 100644 index 000000000000..b297c7b41841 --- /dev/null +++ b/awscli/examples/oam/get-sink-policy.rst @@ -0,0 +1,16 @@ +**To return the current sink policy attached to the sink** + +The following ``get-sink-policy`` example returns the current sink policy attached to the sink. :: + + aws oam get-sink-policy \ + --sink-identifier arn:aws:oam:us-east-2:123456789012:sink/a1b2c3d4-5678-90ab-cdef-example12345 + +Output:: + + { + "SinkArn": "arn:aws:oam:us-east-2:123456789012:sink/a1b2c3d4-5678-90ab-cdef-example12345", + "SinkId": "a1b2c3d4-5678-90ab-cdef-example12345", + "Policy": "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"arn:aws:iam::123456789111:root\"},\"Action\":[\"oam:CreateLink\",\"oam:UpdateLink\"],\"Resource\":\"*\",\"Condition\":{\"ForAllValues:StringEquals\":{\"oam:ResourceTypes\":[\"AWS::Logs::LogGroup\",\"AWS::CloudWatch::Metric\",\"AWS::XRay::Trace\",\"AWS::ApplicationInsights::Application\"]}}}]}" + } + +For more information, see `CloudWatch cross-account observability `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/oam/get-sink.rst b/awscli/examples/oam/get-sink.rst new file mode 100644 index 000000000000..3d10760dc35c --- /dev/null +++ b/awscli/examples/oam/get-sink.rst @@ -0,0 +1,17 @@ +**To return complete information about one monitoring account sink** + +The following ``get-sink`` example returns complete information about a monitoring account sink. :: + + aws oam get-sink \ + --identifier arn:aws:oam:us-east-2:123456789012:sink/a1b2c3d4-5678-90ab-cdef-example12345 + +Output:: + + { + "Arn": "arn:aws:oam:us-east-2:123456789012:sink/a1b2c3d4-5678-90ab-cdef-example12345", + "Id": "a1b2c3d4-5678-90ab-cdef-example12345", + "Name": "DemoSink", + "Tags": {} + } + +For more information, see `CloudWatch cross-account observability `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/oam/list-attached-links.rst b/awscli/examples/oam/list-attached-links.rst new file mode 100644 index 000000000000..85bc7ba44fff --- /dev/null +++ b/awscli/examples/oam/list-attached-links.rst @@ -0,0 +1,23 @@ +**To return a list of source account links that are linked to this monitoring account sink** + +The following ``list-attached-links`` example returns a list of source account links that are linked to this monitoring account sink. :: + + aws oam list-attached-links \ + --sink-identifier arn:aws:oam:us-east-2:123456789012:sink/a1b2c3d4-5678-90ab-cdef-example12345 + +Output:: + + { + "Items": [{ + "Label": "Monitoring account", + "LinkArn": "arn:aws:oam:us-east-2:123456789111:link/a1b2c3d4-5678-90ab-cdef-example11111", + "ResourceTypes": [ + "AWS::ApplicationInsights::Application", + "AWS::Logs::LogGroup", + "AWS::CloudWatch::Metric", + "AWS::XRay::Trace" + ] + }] + } + +For more information, see `CloudWatch cross-account observability `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/oam/list-links.rst b/awscli/examples/oam/list-links.rst new file mode 100644 index 000000000000..a2bb04270675 --- /dev/null +++ b/awscli/examples/oam/list-links.rst @@ -0,0 +1,21 @@ +**To return a list of links for one monitoring account sink** + +The following ``list-links`` example returns a list of links for one monitoring account sink. Run this operation in a source account to return a list of links to monitoring account sinks that this source account has. :: + + aws oam list-links + +Output:: + + { + "Items": [{ + "Arn": "arn:aws:oam:us-east-2:123456789111:link/a1b2c3d4-5678-90ab-cdef-example11111", + "Id": "a1b2c3d4-5678-90ab-cdef-example11111", + "Label": "sourceAccount", + "ResourceTypes": [ + "AWS::CloudWatch::Metric" + ], + "SinkArn": "arn:aws:oam:us-east-2:123456789012:sink/a1b2c3d4-5678-90ab-cdef-example12345" + }] + } + +For more information, see `CloudWatch cross-account observability `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/oam/list-sinks.rst b/awscli/examples/oam/list-sinks.rst new file mode 100644 index 000000000000..63c172209439 --- /dev/null +++ b/awscli/examples/oam/list-sinks.rst @@ -0,0 +1,19 @@ +**To return the list of sinks created in the monitoring account** + +The following ``list-sinks`` example returns a list of sinks created in the monitoring account. Run this operation in a monitoring account. :: + + aws oam list-sinks + +Output:: + + { + "Items": [ + { + "Arn": "arn:aws:oam:us-east-2:123456789012:sink/a1b2c3d4-5678-90ab-cdef-example12345", + "Id": "a1b2c3d4-5678-90ab-cdef-example12345", + "Name": "DemoSink" + } + ] + } + +For more information, see `CloudWatch cross-account observability `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/oam/list-tags-for-resource.rst b/awscli/examples/oam/list-tags-for-resource.rst new file mode 100644 index 000000000000..7ed746ae114e --- /dev/null +++ b/awscli/examples/oam/list-tags-for-resource.rst @@ -0,0 +1,16 @@ +**To display the tags associated with a resource** + +The following ``list-tags-for-resource`` example displays the tags associated with a sink. :: + + aws oam list-tags-for-resource \ + --resource-arn arn:aws:oam:us-east-2:123456789012:sink/a1b2c3d4-5678-90ab-cdef-example12345 + +Output:: + + { + "Tags": { + "Team": "Devops" + } + } + +For more information, see `CloudWatch cross-account observability `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/oam/put-sink-policy.rst b/awscli/examples/oam/put-sink-policy.rst new file mode 100644 index 000000000000..5821fceac850 --- /dev/null +++ b/awscli/examples/oam/put-sink-policy.rst @@ -0,0 +1,17 @@ +**To create or update the resource policy** + +The following ``put-sink-policy`` example creates the resource policy that grants permissions to source accounts to link to the monitoring account sink. :: + + aws oam put-sink-policy \ + --policy '{"Version":"2012-10-17","Statement":[{"Effect":"Allow","Principal":{"AWS":"arn:aws:iam::123456789111:root"},"Action":["oam:CreateLink","oam:UpdateLink"],"Resource":"*","Condition":{"ForAllValues:StringEquals":{"oam:ResourceTypes":["AWS::Logs::LogGroup","AWS::CloudWatch::Metric","AWS::XRay::Trace","AWS::ApplicationInsights::Application"]}}}]}' \ + --sink-identifier arn:aws:oam:us-east-2:123456789012:sink/a1b2c3d4-5678-90ab-cdef-example12345 + +Output:: + + { + "SinkArn": "arn:aws:oam:us-east-2:123456789012:sink/a1b2c3d4-5678-90ab-cdef-example12345", + "SinkId": "a1b2c3d4-5678-90ab-cdef-example12345", + "Policy": "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"arn:aws:iam::123456789111:root\"},\"Action\":[\"oam:CreateLink\",\"oam:UpdateLink\"],\"Resource\":\"*\",\"Condition\":{\"ForAllValues:StringEquals\":{\"oam:ResourceTypes\":[\"AWS::Logs::LogGroup\",\"AWS::CloudWatch::Metric\",\"AWS::XRay::Trace\",\"AWS::ApplicationInsights::Application\"]}}}]}" + } + +For more information, see `CloudWatch cross-account observability `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/oam/tag-resource.rst b/awscli/examples/oam/tag-resource.rst new file mode 100644 index 000000000000..15d73dfadfa2 --- /dev/null +++ b/awscli/examples/oam/tag-resource.rst @@ -0,0 +1,11 @@ +**To assign one or more tags to the specified resource** + +The following ``tag-resource`` example tags a sink ``arn:aws:oam:us-east-2:123456789012:sink/a1b2c3d4-5678-90ab-cdef-example12345``. :: + + aws oam tag-resource \ + --resource-arn arn:aws:oam:us-east-2:123456789012:sink/a1b2c3d4-5678-90ab-cdef-example12345 \ + --tags team=Devops + +This command produces no output. + +For more information, see `CloudWatch cross-account observability `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/oam/untag-resource.rst b/awscli/examples/oam/untag-resource.rst new file mode 100644 index 000000000000..b00c192fa7d2 --- /dev/null +++ b/awscli/examples/oam/untag-resource.rst @@ -0,0 +1,11 @@ +**To remove one or more tags from the specified resource.** + +The following ``untag-resource`` example removes a tag with the key ``team`` from sink ``arn:aws:oam:us-east-2:123456789012:sink/a1b2c3d4-5678-90ab-cdef-example12345``. :: + + aws oam untag-resource \ + --resource-arn arn:aws:oam:us-east-2:123456789012:sink/f3f42f60-f0f2-425c-1234-12347bdd821f \ + --tag-keys team + +This command produces no output. + +For more information, see `CloudWatch cross-account observability `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/oam/update-link.rst b/awscli/examples/oam/update-link.rst new file mode 100644 index 000000000000..b034a6141d59 --- /dev/null +++ b/awscli/examples/oam/update-link.rst @@ -0,0 +1,24 @@ +**To change what types of data are shared from a source account to its linked monitoring account sink** + +The following ``update-link`` example updates the link ``arn:aws:oam:us-east-2:123456789111:link/0123e691-e7ef-43fa-1234-c57c837fced0`` with resource types ``AWS::CloudWatch::Metric`` and ``AWS::Logs::LogGroup``. :: + + aws oam update-link \ + --identifier arn:aws:oam:us-east-2:123456789111:link/a1b2c3d4-5678-90ab-cdef-example11111 \ + --resource-types "AWS::CloudWatch::Metric" "AWS::Logs::LogGroup" + +Output:: + + { + "Arn": "arn:aws:oam:us-east-2:123456789111:link/a1b2c3d4-5678-90ab-cdef-example11111", + "Id": "a1b2c3d4-5678-90ab-cdef-example11111", + "Label": "sourceAccount", + "LabelTemplate": "sourceAccount", + "ResourceTypes": [ + "AWS::CloudWatch::Metric", + "AWS::Logs::LogGroup" + ], + "SinkArn": "arn:aws:oam:us-east-2:123456789012:sink/a1b2c3d4-5678-90ab-cdef-example12345", + "Tags": {} + } + +For more information, see `CloudWatch cross-account observability `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/synthetics/associate-resource.rst b/awscli/examples/synthetics/associate-resource.rst new file mode 100644 index 000000000000..3c774b8f4f12 --- /dev/null +++ b/awscli/examples/synthetics/associate-resource.rst @@ -0,0 +1,11 @@ +**To associate a canary with a group** + +The following ``associate-resource`` example associates a canary with a group named ``demo_group``. :: + + aws synthetics associate-resource \ + --group-identifier demo_group \ + --resource-arn arn:aws:synthetics:us-east-1:123456789012:canary:demo_canary + +This command produces no output. + +For more information, see `Synthetic monitoring (canaries) `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/synthetics/create-canary.rst b/awscli/examples/synthetics/create-canary.rst new file mode 100644 index 000000000000..d48ba66002f4 --- /dev/null +++ b/awscli/examples/synthetics/create-canary.rst @@ -0,0 +1,48 @@ +**To create a canary** + +The following ``create-canary`` example creates a canary named ``demo_canary``. :: + + aws synthetics create-canary \ + --name demo_canary \ + --code '{"S3Bucket": "artifacts3bucket", "S3Key":"demo_canary.zip", "Handler": "index.lambda_handler"}' \ + --artifact-s3-location s3://amzn-s3-demo-bucket/demo_canary.zip \ + --execution-role-arn arn:aws:iam::123456789012:role/demo_canary_role \ + --schedule Expression="rate(10 minutes)" \ + --runtime-version syn-nodejs-puppeteer-9.1 + +Output:: + + { + "Canary": { + "Id": "a1b2c3d4-5678-90ab-cdef-example11111", + "Name": "demo_canary", + "Code": { + "Handler": "index.lambda_handler" + }, + "ExecutionRoleArn": "arn:aws:iam::123456789012:role/demo_canary_role", + "Schedule": { + "Expression": "rate(10 minutes)", + "DurationInSeconds": 0 + }, + "RunConfig": { + "TimeoutInSeconds": 600, + "MemoryInMB": 1000, + "ActiveTracing": false + }, + "SuccessRetentionPeriodInDays": 31, + "FailureRetentionPeriodInDays": 31, + "Status": { + "State": "CREATING", + "StateReasonCode": "CREATE_PENDING" + }, + "Timeline": { + "Created": "2024-10-15T19:03:08.826000+05:30", + "LastModified": "2024-10-15T19:03:08.826000+05:30" + }, + "ArtifactS3Location": "amzn-s3-demo-bucket/demo_canary.zip", + "RuntimeVersion": "syn-nodejs-puppeteer-9.1", + "Tags": {} + } + } + +For more information, see `Synthetic monitoring (canaries) `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/synthetics/create-group.rst b/awscli/examples/synthetics/create-group.rst new file mode 100644 index 000000000000..781b0f9ed359 --- /dev/null +++ b/awscli/examples/synthetics/create-group.rst @@ -0,0 +1,21 @@ +**To create a group** + +The following ``create-group`` example creates a group named ``demo_group``. :: + + aws synthetics create-group \ + --name demo_group + +Output:: + + { + "Group": { + "Id": "example123", + "Name": "demo_group", + "Arn": "arn:aws:synthetics:us-east-1:123456789012:group:example123", + "Tags": {}, + "CreatedTime": "2024-10-15T14:47:23.811000+05:30", + "LastModifiedTime": "2024-10-15T14:47:23.811000+05:30" + } + } + +For more information, see `Synthetic monitoring (canaries) `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/synthetics/delete-canary.rst b/awscli/examples/synthetics/delete-canary.rst new file mode 100644 index 000000000000..a84d626ba1ef --- /dev/null +++ b/awscli/examples/synthetics/delete-canary.rst @@ -0,0 +1,10 @@ +**To permanently delete a canary** + +The following ``delete-canary`` example deletes a canary named ``demo_canary``. :: + + aws synthetics delete-canary \ + --name demo_canary + +This command produces no output. + +For more information, see `Synthetic monitoring (canaries) `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/synthetics/delete-group.rst b/awscli/examples/synthetics/delete-group.rst new file mode 100644 index 000000000000..41b5b6628e0b --- /dev/null +++ b/awscli/examples/synthetics/delete-group.rst @@ -0,0 +1,10 @@ +**To delete a group** + +The following ``delete-group`` example deletes a group named ``demo_group``. :: + + aws synthetics delete-group \ + --group-identifier demo_group + +This command produces no output. + +For more information, see `Synthetic monitoring (canaries) `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/synthetics/describe-canaries-last-run.rst b/awscli/examples/synthetics/describe-canaries-last-run.rst new file mode 100644 index 000000000000..74fbb8ab573d --- /dev/null +++ b/awscli/examples/synthetics/describe-canaries-last-run.rst @@ -0,0 +1,31 @@ +**To see information from the most recent run of each canary** + +The following ``describe-canaries-last-run`` example returns the most recent run of each canary that you have created. :: + + aws synthetics describe-canaries-last-run + +Output:: + + { + "CanariesLastRun": [ + { + "CanaryName": "demo_canary", + "LastRun": { + "Id": "a1b2c3d4-5678-90ab-cdef-example11111", + "Name": "demo_canary", + "Status": { + "State": "PASSED", + "StateReason": "", + "StateReasonCode": "" + }, + "Timeline": { + "Started": "2024-10-15T19:20:39.691000+05:30", + "Completed": "2024-10-15T19:20:58.211000+05:30" + }, + "ArtifactS3Location": "cw-syn-results-123456789012-us-east-1/canary/us-east-1/demo_canary-abc-example1234/2024/10/15/13/50-39-690" + } + } + ] + } + +For more information, see `Synthetic monitoring (canaries) `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/synthetics/describe-canaries.rst b/awscli/examples/synthetics/describe-canaries.rst new file mode 100644 index 000000000000..319e48d4409c --- /dev/null +++ b/awscli/examples/synthetics/describe-canaries.rst @@ -0,0 +1,48 @@ +**To list canaries in your account** + +The following ``describe-canaries`` example lists the details of canaries in your account. :: + + aws synthetics describe-canaries + +Output:: + + { + "Canaries": [ + { + "Id": "a1b2c3d4-5678-90ab-cdef-example11111", + "Name": "demo_canary", + "Code": { + "SourceLocationArn": "arn:aws:lambda:us-east-1:123456789012:layer:cwsyn-demo_canary-a1b2c3d4-5678-90ab-cdef-example11111b8:1", + "Handler": "pageLoadBlueprint.handler" + }, + "ExecutionRoleArn": "arn:aws:iam::123456789012:role/service-role/CloudWatchSyntheticsRole-demo_canary-a12-a123bc456789", + "Schedule": { + "Expression": "rate(5 minutes)", + "DurationInSeconds": 0 + }, + "RunConfig": { + "TimeoutInSeconds": 300, + "MemoryInMB": 1000, + "ActiveTracing": false + }, + "SuccessRetentionPeriodInDays": 31, + "FailureRetentionPeriodInDays": 31, + "Status": { + "State": "RUNNING" + }, + "Timeline": { + "Created": "2024-10-15T18:55:15.168000+05:30", + "LastModified": "2024-10-15T18:55:40.540000+05:30", + "LastStarted": "2024-10-15T18:55:40.540000+05:30" + }, + "ArtifactS3Location": "cw-syn-results-123456789012-us-east-1/canary/us-east-1/demo_canary-a12-a123bc456789", + "EngineArn": "arn:aws:lambda:us-east-1:123456789012:function:cwsyn-demo_canary-a1b2c3d4-5678-90ab-cdef-example111118:1", + "RuntimeVersion": "syn-nodejs-puppeteer-9.1", + "Tags": { + "blueprint": "heartbeat" + } + } + ] + } + +For more information, see `Synthetic monitoring (canaries) `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/synthetics/describe-runtime-versions.rst b/awscli/examples/synthetics/describe-runtime-versions.rst new file mode 100644 index 000000000000..7ba3841d4002 --- /dev/null +++ b/awscli/examples/synthetics/describe-runtime-versions.rst @@ -0,0 +1,74 @@ +**To return a list of synthetics canary runtime versions** + +The following ``describe-runtime-versions`` example returns the list of synthetics canary runtime versions. :: + + aws synthetics describe-runtime-versions + +Output:: + + { + "RuntimeVersions": [ + { + "VersionName": "syn-nodejs-puppeteer-9.1", + "Description": "Security fixes and bug fix for date range error in har. Dependencies: Node JS 20.x, Puppeteer-core 22.12.1, Chromium 126.0.6478.126", + "ReleaseDate": "2024-10-02T05:30:00+05:30" + }, + { + "VersionName": "syn-nodejs-puppeteer-9.0", + "Description": "Upgraded Chromium and Puppeteer. Dependencies: Node JS 20.x, Puppeteer-core 22.12.1, Chromium 126.0.6478.126", + "ReleaseDate": "2024-07-22T05:30:00+05:30" + }, + { + "VersionName": "syn-nodejs-puppeteer-8.0", + "Description": "Upgraded Chromium and Puppeteer. Dependencies: Node JS 20.x, Puppeteer-core 22.10.0, Chromium 125.0.6422.112", + "ReleaseDate": "2024-06-21T05:30:00+05:30" + }, + { + "VersionName": "syn-nodejs-puppeteer-7.0", + "Description": "Upgraded Chromium and Puppeteer. Dependencies: Node JS 18.x, Puppeteer-core 21.9.0, Chromium 121.0.6167.139", + "ReleaseDate": "2024-03-08T05:30:00+05:30" + }, + { + "VersionName": "syn-nodejs-puppeteer-6.2", + "Description": "Updated shared libraries for Chromium and added ephemeral storage monitoring. Dependencies: Node JS 18.x, Puppeteer-core 19.7.0, Chromium 111.0.5563.146", + "ReleaseDate": "2024-02-02T05:30:00+05:30" + }, + { + "VersionName": "syn-nodejs-puppeteer-6.1", + "Description": "Added puppeteer launch retry. Dependencies: Node JS 18.x, Puppeteer-core 19.7.0, Chromium 111.0.5563.146", + "ReleaseDate": "2023-11-13T05:30:00+05:30", + "DeprecationDate": "2024-03-08T13:30:00+05:30" + }, + { + "VersionName": "syn-nodejs-puppeteer-6.0", + "Description": "Reduced X-Ray traces of a canary run, improved duration metric and upgraded to NodeJS 18.x. Dependencies: Node JS 18.x, Puppeteer-core 19.7.0, Chromium 111.0.5563.146", + "ReleaseDate": "2023-09-15T05:30:00+05:30", + "DeprecationDate": "2024-03-08T13:30:00+05:30" + }, + { + "VersionName": "syn-nodejs-puppeteer-5.2", + "Description": "Updated shared libraries for Chromium. Dependencies: Node JS 16.x, Puppeteer-core 19.7.0, Chromium 111.0.5563.146", + "ReleaseDate": "2024-02-01T05:30:00+05:30" + }, + { + "VersionName": "syn-nodejs-puppeteer-5.1", + "Description": "Fixes a bug about missing request headers in har. Dependencies: Node JS 16.x, Puppeteer-core 19.7.0, Chromium 111.0.5563.146", + "ReleaseDate": "2023-08-09T05:30:00+05:30", + "DeprecationDate": "2024-03-08T13:30:00+05:30" + }, + { + "VersionName": "syn-nodejs-puppeteer-5.0", + "Description": "Upgraded Puppeteer and Chromium. Dependencies: Node JS 16.x, Puppeteer-core 19.7.0, Chromium 111.0.5563.146", + "ReleaseDate": "2023-07-21T05:30:00+05:30", + "DeprecationDate": "2024-03-08T13:30:00+05:30" + }, + { + "VersionName": "syn-nodejs-puppeteer-4.0", + "Description": "Upgraded to NodeJS 16.x. Dependencies: Node JS 16.x, Puppeteer-core 5.5.0, Chromium 92.0.4512.0", + "ReleaseDate": "2023-05-01T05:30:00+05:30", + "DeprecationDate": "2024-03-08T13:30:00+05:30" + } + ] + } + +For more information, see `Synthetic monitoring (canaries) `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/synthetics/disassociate-resource.rst b/awscli/examples/synthetics/disassociate-resource.rst new file mode 100644 index 000000000000..fe0856c16f60 --- /dev/null +++ b/awscli/examples/synthetics/disassociate-resource.rst @@ -0,0 +1,11 @@ +**To remove a canary from a group** + +The following ``disassociate-resource`` example removes a canary from the group named ``demo_group``. :: + + aws synthetics disassociate-resource \ + --group-identifier demo_group \ + --resource-arn arn:aws:synthetics:us-east-1:123456789012:canary:demo_canary + +This command produces no output. + +For more information, see `Synthetic monitoring (canaries) `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/synthetics/get-canary-runs.rst b/awscli/examples/synthetics/get-canary-runs.rst new file mode 100644 index 000000000000..c329684a9933 --- /dev/null +++ b/awscli/examples/synthetics/get-canary-runs.rst @@ -0,0 +1,29 @@ +**To retrieve a list of runs for a specified canary** + +The following ``get-canary-runs`` example retrieves a list of runs for the canary named ``demo_canary``. :: + + aws synthetics get-canary-runs \ + --name demo_canary + +Output:: + + { + "CanaryRuns": [ + { + "Id": "a1b2c3d4-5678-90ab-cdef-example11111", + "Name": "demo_canary", + "Status": { + "State": "PASSED", + "StateReason": "", + "StateReasonCode": "" + }, + "Timeline": { + "Started": "2024-10-16T10:38:57.013000+05:30", + "Completed": "2024-10-16T10:39:25.793000+05:30" + }, + "ArtifactS3Location": "cw-syn-results-123456789012-us-east-1/canary/us-east-1/demo_canary-abc-example1234/2024/10/15/13/50-39-690" + } + ] + } + +For more information, see `Synthetic monitoring (canaries) `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/synthetics/get-canary.rst b/awscli/examples/synthetics/get-canary.rst new file mode 100644 index 000000000000..4812dae10dcf --- /dev/null +++ b/awscli/examples/synthetics/get-canary.rst @@ -0,0 +1,47 @@ +**To retrieve complete information about one canary** + +The following ``get-canary`` example retrieves complete information about the canary named ``demo_canary``. :: + + aws synthetics get-canary \ + --name demo_canary + +Output:: + + { + "Canary": { + "Id": "a1b2c3d4-5678-90ab-cdef-example11111", + "Name": "demo_canary", + "Code": { + "SourceLocationArn": "arn:aws:lambda:us-east-1:123456789012:layer:cwsyn-demo_canary-a1b2c3d4-5678-90ab-cdef-example111118:1", + "Handler": "pageLoadBlueprint.handler" + }, + "ExecutionRoleArn": "arn:aws:iam::123456789012:role/demo_canary_role", + "Schedule": { + "Expression": "rate(10 minutes)", + "DurationInSeconds": 0 + }, + "RunConfig": { + "TimeoutInSeconds": 300, + "MemoryInMB": 1000, + "ActiveTracing": false + }, + "SuccessRetentionPeriodInDays": 31, + "FailureRetentionPeriodInDays": 31, + "Status": { + "State": "RUNNING" + }, + "Timeline": { + "Created": "2024-10-15T18:55:15.168000+05:30", + "LastModified": "2024-10-15T18:55:40.540000+05:30", + "LastStarted": "2024-10-15T18:55:40.540000+05:30" + }, + "ArtifactS3Location": "cw-syn-results-123456789012-us-east-1/canary/us-east-1/demo_canary-a12-a123bc456789", + "EngineArn": "arn:aws:lambda:us-east-1:123456789012:function:cwsyn-demo_canary-a1b2c3d4-5678-90ab-cdef-example111118:1", + "RuntimeVersion": "syn-nodejs-puppeteer-9.1", + "Tags": { + "blueprint": "heartbeat" + } + } + } + +For more information, see `Synthetic monitoring (canaries) `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/synthetics/get-group.rst b/awscli/examples/synthetics/get-group.rst new file mode 100644 index 000000000000..3db2e092451b --- /dev/null +++ b/awscli/examples/synthetics/get-group.rst @@ -0,0 +1,21 @@ +**To return information about one group** + +The following ``get-group`` example returns information about the group named ``demo_group``. :: + + aws synthetics get-group \ + --group-identifier demo_group + +Output:: + + { + "Group": { + "Id": "example123", + "Name": "demo_group", + "Arn": "arn:aws:synthetics:us-east-1:123456789012:group:example123", + "Tags": {}, + "CreatedTime": "2024-10-15T14:47:23.811000+05:30", + "LastModifiedTime": "2024-10-15T14:47:23.811000+05:30" + } + } + +For more information, see `Synthetic monitoring (canaries) `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/synthetics/list-associated-groups.rst b/awscli/examples/synthetics/list-associated-groups.rst new file mode 100644 index 000000000000..bdb618539103 --- /dev/null +++ b/awscli/examples/synthetics/list-associated-groups.rst @@ -0,0 +1,20 @@ +**To return a list of the groups** + +The following ``list-associated-groups`` example returns a list of the groups associated with the canary named ``demo_canary``. :: + + aws synthetics list-associated-groups \ + --resource-arn arn:aws:synthetics:us-east-1:123456789012:canary:demo_canary + +Output:: + + { + "Groups": [ + { + "Id": "example123", + "Name": "demo_group", + "Arn": "arn:aws:synthetics:us-east-1:123456789012:group:example123" + } + ] + } + +For more information, see `Synthetic monitoring (canaries) `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/synthetics/list-group-resources.rst b/awscli/examples/synthetics/list-group-resources.rst new file mode 100644 index 000000000000..1d74dfa97a41 --- /dev/null +++ b/awscli/examples/synthetics/list-group-resources.rst @@ -0,0 +1,16 @@ +**To return a list of the ARNs of the canaries that are associated with the specified group** + +The following ``list-group-resources`` example returns a list of the ARNs of the canaries that are associated with the group named ``demo_group``. :: + + aws synthetics list-group-resources \ + --group-identifier demo_group + +Output:: + + { + "Resources": [ + "arn:aws:synthetics:us-east-1:123456789012:canary:demo_canary" + ] + } + +For more information, see `Synthetic monitoring (canaries) `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/synthetics/list-groups.rst b/awscli/examples/synthetics/list-groups.rst new file mode 100644 index 000000000000..88cb068874de --- /dev/null +++ b/awscli/examples/synthetics/list-groups.rst @@ -0,0 +1,19 @@ +**To return a list of all groups in the account** + +The following ``list-groups`` example returns a list of all groups in the account. :: + + aws synthetics list-groups + +Output:: + + { + "Groups": [ + { + "Id": "example123", + "Name": "demo_group", + "Arn": "arn:aws:synthetics:us-east-1:123456789012:group:example123" + } + ] + } + +For more information, see `Synthetic monitoring (canaries) `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/synthetics/list-tags-for-resource.rst b/awscli/examples/synthetics/list-tags-for-resource.rst new file mode 100644 index 000000000000..fbf7529e5fa6 --- /dev/null +++ b/awscli/examples/synthetics/list-tags-for-resource.rst @@ -0,0 +1,31 @@ +**Example 1: To display the tags associated with a canary** + +The following ``list-tags-for-resource`` example returns the tags associated with a canary named ``demo_canary``. :: + + aws synthetics list-tags-for-resource \ + --resource-arn arn:aws:synthetics:us-east-1:123456789012:canary:demo_canary + +Output:: + + { + "Tags": { + "blueprint": "heartbeat" + } + } + +**Example 2: To display the tags associated with a group** + +The following ``list-tags-for-resource`` example returns the tags associated with a group named ``demo_group``. :: + + aws synthetics list-tags-for-resource \ + --resource-arn arn:aws:synthetics:us-east-1:123456789012:group:example123 + +Output:: + + { + "Tags": { + "team": "Devops" + } + } + +For more information, see `Synthetic monitoring (canaries) `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/synthetics/start-canary.rst b/awscli/examples/synthetics/start-canary.rst new file mode 100644 index 000000000000..87802f04ce9a --- /dev/null +++ b/awscli/examples/synthetics/start-canary.rst @@ -0,0 +1,10 @@ +**To run a canary** + +The following ``start-canary`` example runs a canary named ``demo_canary``. :: + + aws synthetics start-canary \ + --name demo_canary + +This command produces no output. + +For more information, see `Synthetic monitoring (canaries) `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/synthetics/stop-canary.rst b/awscli/examples/synthetics/stop-canary.rst new file mode 100644 index 000000000000..24b69b51c185 --- /dev/null +++ b/awscli/examples/synthetics/stop-canary.rst @@ -0,0 +1,10 @@ +**To stop a canary** + +The following ``stop-canary`` example stops the canary named ``demo_canary``. :: + + aws synthetics stop-canary \ + --name demo_canary + +This command produces no output. + +For more information, see `Synthetic monitoring (canaries) `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/synthetics/tag-resource.rst b/awscli/examples/synthetics/tag-resource.rst new file mode 100644 index 000000000000..aa82e0718bd1 --- /dev/null +++ b/awscli/examples/synthetics/tag-resource.rst @@ -0,0 +1,21 @@ +**Example 1: To assign a tag to the canary** + +The following ``tag-resource`` example assigns a tag to the canary named ``demo_canary``. :: + + aws synthetics tag-resource \ + --resource-arn arn:aws:synthetics:us-east-1:123456789012:canary:demo_canary \ + --tags blueprint=heartbeat + +This command produces no output. + +**Example 2: To assign a tag to the group** + +The following ``tag-resource`` example assigns a tag to the group named ``demo_group``. :: + + aws synthetics tag-resource \ + --resource-arn arn:aws:synthetics:us-east-1:123456789012:group:example123 \ + --tags team=Devops + +This command produces no output. + +For more information, see `Synthetic monitoring (canaries) `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/synthetics/untag-resource.rst b/awscli/examples/synthetics/untag-resource.rst new file mode 100644 index 000000000000..bc747619ee3b --- /dev/null +++ b/awscli/examples/synthetics/untag-resource.rst @@ -0,0 +1,21 @@ +**Example 1: To remove a tag from the canary** + +The following ``untag-resource`` example removes a tag from the canary named ``demo_canary``. :: + + aws synthetics untag-resource \ + --resource-arn arn:aws:synthetics:us-east-1:123456789012:canary:demo_canary \ + --tag-keys blueprint + +This command produces no output. + +**Example 2: To remove a tag from the group** + +The following ``untag-resource`` example assigns a removes a tag from the group named ``demo_group``. :: + + aws synthetics untag-resource \ + --resource-arn arn:aws:synthetics:us-east-1:123456789012:group:example123 \ + --tag-keys team + +This command produces no output. + +For more information, see `Synthetic monitoring (canaries) `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/synthetics/update-canary.rst b/awscli/examples/synthetics/update-canary.rst new file mode 100644 index 000000000000..2949c35ce0de --- /dev/null +++ b/awscli/examples/synthetics/update-canary.rst @@ -0,0 +1,11 @@ +**To update a canary** + +The following ``update-canary`` example updates the configuration of a canary named ``demo_canary``. :: + + aws synthetics update-canary \ + --name demo_canary \ + --schedule Expression="rate(15 minutes)" + +This command produces no output. + +For more information, see `Synthetic monitoring (canaries) `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file From 6727b0a25981ab39eb8512083c59eebfec773db2 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 27 Dec 2024 19:06:17 +0000 Subject: [PATCH 0369/1087] Update changelog based on model updates --- .changes/next-release/api-change-rds-3409.json | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changes/next-release/api-change-rds-3409.json diff --git a/.changes/next-release/api-change-rds-3409.json b/.changes/next-release/api-change-rds-3409.json new file mode 100644 index 000000000000..d2b06a5d6d10 --- /dev/null +++ b/.changes/next-release/api-change-rds-3409.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``rds``", + "description": "Updates Amazon RDS documentation to correct various descriptions." +} From 819bb034e80ab63b4dc221834db238b91adb1f9c Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 27 Dec 2024 19:07:41 +0000 Subject: [PATCH 0370/1087] Bumping version to 1.36.30 --- .changes/1.36.30.json | 7 +++++++ .changes/next-release/api-change-rds-3409.json | 5 ----- CHANGELOG.rst | 6 ++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 7 files changed, 17 insertions(+), 9 deletions(-) create mode 100644 .changes/1.36.30.json delete mode 100644 .changes/next-release/api-change-rds-3409.json diff --git a/.changes/1.36.30.json b/.changes/1.36.30.json new file mode 100644 index 000000000000..5de6390c0f0f --- /dev/null +++ b/.changes/1.36.30.json @@ -0,0 +1,7 @@ +[ + { + "category": "``rds``", + "description": "Updates Amazon RDS documentation to correct various descriptions.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-rds-3409.json b/.changes/next-release/api-change-rds-3409.json deleted file mode 100644 index d2b06a5d6d10..000000000000 --- a/.changes/next-release/api-change-rds-3409.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``rds``", - "description": "Updates Amazon RDS documentation to correct various descriptions." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 14a443d81690..26f8edfe1b7d 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,12 @@ CHANGELOG ========= +1.36.30 +======= + +* api-change:``rds``: Updates Amazon RDS documentation to correct various descriptions. + + 1.36.29 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 2a3573569db7..f6e84a95b143 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.36.29' +__version__ = '1.36.30' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 909d9416f873..6550800b4b25 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.36.' # The full version, including alpha/beta/rc tags. -release = '1.36.29' +release = '1.36.30' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index f8a3d6580b06..bc7a27caf50b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.88 + botocore==1.35.89 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 0d040de5e92a..f3db07ae9e9f 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.88', + 'botocore==1.35.89', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From ada26ccb9bbbed663311e86f85fd941c024e7fa8 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Sat, 28 Dec 2024 04:15:46 +0000 Subject: [PATCH 0371/1087] Update changelog based on model updates --- .changes/next-release/api-change-ecr-8891.json | 5 +++++ .changes/next-release/api-change-ecrpublic-37331.json | 5 +++++ 2 files changed, 10 insertions(+) create mode 100644 .changes/next-release/api-change-ecr-8891.json create mode 100644 .changes/next-release/api-change-ecrpublic-37331.json diff --git a/.changes/next-release/api-change-ecr-8891.json b/.changes/next-release/api-change-ecr-8891.json new file mode 100644 index 000000000000..630df6619691 --- /dev/null +++ b/.changes/next-release/api-change-ecr-8891.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ecr``", + "description": "Restoring custom endpoint functionality for ECR" +} diff --git a/.changes/next-release/api-change-ecrpublic-37331.json b/.changes/next-release/api-change-ecrpublic-37331.json new file mode 100644 index 000000000000..c36115ae2667 --- /dev/null +++ b/.changes/next-release/api-change-ecrpublic-37331.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ecr-public``", + "description": "Restoring custom endpoint functionality for ECR Public" +} From 2152afacb5ae9047d4b84228dd97a03ba6c40aea Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Sat, 28 Dec 2024 04:17:04 +0000 Subject: [PATCH 0372/1087] Bumping version to 1.36.31 --- .changes/1.36.31.json | 12 ++++++++++++ .changes/next-release/api-change-ecr-8891.json | 5 ----- .../next-release/api-change-ecrpublic-37331.json | 5 ----- CHANGELOG.rst | 7 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 8 files changed, 23 insertions(+), 14 deletions(-) create mode 100644 .changes/1.36.31.json delete mode 100644 .changes/next-release/api-change-ecr-8891.json delete mode 100644 .changes/next-release/api-change-ecrpublic-37331.json diff --git a/.changes/1.36.31.json b/.changes/1.36.31.json new file mode 100644 index 000000000000..2b2057ebd861 --- /dev/null +++ b/.changes/1.36.31.json @@ -0,0 +1,12 @@ +[ + { + "category": "``ecr``", + "description": "Restoring custom endpoint functionality for ECR", + "type": "api-change" + }, + { + "category": "``ecr-public``", + "description": "Restoring custom endpoint functionality for ECR Public", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-ecr-8891.json b/.changes/next-release/api-change-ecr-8891.json deleted file mode 100644 index 630df6619691..000000000000 --- a/.changes/next-release/api-change-ecr-8891.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ecr``", - "description": "Restoring custom endpoint functionality for ECR" -} diff --git a/.changes/next-release/api-change-ecrpublic-37331.json b/.changes/next-release/api-change-ecrpublic-37331.json deleted file mode 100644 index c36115ae2667..000000000000 --- a/.changes/next-release/api-change-ecrpublic-37331.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ecr-public``", - "description": "Restoring custom endpoint functionality for ECR Public" -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 26f8edfe1b7d..f37ef04fba4c 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,13 @@ CHANGELOG ========= +1.36.31 +======= + +* api-change:``ecr``: Restoring custom endpoint functionality for ECR +* api-change:``ecr-public``: Restoring custom endpoint functionality for ECR Public + + 1.36.30 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index f6e84a95b143..a4cece5cc165 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.36.30' +__version__ = '1.36.31' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 6550800b4b25..af60496457ef 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.36.' # The full version, including alpha/beta/rc tags. -release = '1.36.30' +release = '1.36.31' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index bc7a27caf50b..e7286a0c9488 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.89 + botocore==1.35.90 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index f3db07ae9e9f..27b8540b1205 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.89', + 'botocore==1.35.90', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From d387a6e205beb21f82aa341c1d37c1f4d12e4359 Mon Sep 17 00:00:00 2001 From: Elysa Hall Date: Mon, 30 Dec 2024 17:47:01 +0000 Subject: [PATCH 0373/1087] Examples for apigateway, ssm, verifiedpermissions --- .../create-domain-name-access-association.rst | 19 ++++ .../apigateway/create-domain-name.rst | 90 +++++++++++++++++- .../delete-domain-name-access-association.rst | 10 ++ .../get-domain-name-access-associations.rst | 42 +++++++++ .../examples/apigateway/get-domain-name.rst | 49 ++++++++-- .../examples/apigateway/get-domain-names.rst | 94 ++++++++++++++++--- .../reject-domain-name-access-association.rst | 11 +++ .../ssm/deregister-managed-instance.rst | 6 +- .../create-policy-template.rst | 6 +- 9 files changed, 296 insertions(+), 31 deletions(-) create mode 100644 awscli/examples/apigateway/create-domain-name-access-association.rst create mode 100644 awscli/examples/apigateway/delete-domain-name-access-association.rst create mode 100644 awscli/examples/apigateway/get-domain-name-access-associations.rst create mode 100644 awscli/examples/apigateway/reject-domain-name-access-association.rst diff --git a/awscli/examples/apigateway/create-domain-name-access-association.rst b/awscli/examples/apigateway/create-domain-name-access-association.rst new file mode 100644 index 000000000000..6f09062431a7 --- /dev/null +++ b/awscli/examples/apigateway/create-domain-name-access-association.rst @@ -0,0 +1,19 @@ +**To create a domain name access association** + +The following ``create-domain-name-access-association`` example creates a domain name access association between a private custom domain name and VPC endpoint. :: + + aws apigateway create-domain-name-access-association \ + --domain-name-arn arn:aws:apigateway:us-west-2:111122223333:/domainnames/my.private.domain.tld+abcd1234 \ + --access-association-source vpce-abcd1234efg \ + --access-association-source-type VPCE + +Output:: + + { + "domainNameAccessAssociationArn": "arn:aws:apigateway:us-west-2:012345678910:/domainnameaccessassociations/domainname/my.private.domain.tld/vpcesource/vpce-abcd1234efg + "accessAssociationSource": "vpce-abcd1234efg", + "accessAssociationSourceType": "VPCE", + "domainNameArn" : "arn:aws:apigateway:us-west-2:111122223333:/domainnames/private.example.com+abcd1234" + } + +For more information, see `Custom domain names for private APIs in API Gateway `__ in the *Amazon API Gateway Developer Guide*. diff --git a/awscli/examples/apigateway/create-domain-name.rst b/awscli/examples/apigateway/create-domain-name.rst index 96f62d02f541..9970cbf30c25 100644 --- a/awscli/examples/apigateway/create-domain-name.rst +++ b/awscli/examples/apigateway/create-domain-name.rst @@ -1,5 +1,89 @@ -**To create the custom domain name** +**Example 1: To create a public custom domain name** -Command:: +The following ``create-domain-name`` example creates a public custom domain name. :: - aws apigateway create-domain-name --domain-name 'my.domain.tld' --certificate-name 'my.domain.tld cert' --certificate-arn 'arn:aws:acm:us-east-1:012345678910:certificate/fb1b9770-a305-495d-aefb-27e5e101ff3' + aws apigateway create-domain-name \ + --domain-name 'my.domain.tld' \ + --certificate-name 'my.domain.tld cert'\ + --certificate-arn 'arn:aws:acm:us-east-1:012345678910:certificate/fb1b9770-a305-495d-aefb-27e5e101ff3' + +Output:: + + { + "domainName": "my.domain.tld", + "certificateName": "my.domain.tld cert", + "certificateArn": "arn:aws:acm:us-east-1:012345678910:certificate/fb1b9770-a305-495d-aefb-27e5e101ff3", + "certificateUploadDate": "2024-10-08T11:29:49-07:00", + "distributionDomainName": "abcd1234.cloudfront.net", + "distributionHostedZoneId": "Z2FDTNDATAQYW2", + "endpointConfiguration": { + "types": [ + "EDGE" + ] + }, + "domainNameStatus": "AVAILABLE", + "securityPolicy": "TLS_1_2" + } + +For more information, see `Custom domain name for public REST APIs in API Gateway `__ in the *Amazon API Gateway Developer Guide*. + +**Example 2: To create a private custom domain name** + +The following ``create-domain-name`` example creates a private custom domain name. :: + + aws apigateway create-domain-name \ + --domain-name 'my.private.domain.tld' \ + --certificate-name 'my.domain.tld cert' \ + --certificate-arn 'arn:aws:acm:us-east-1:012345678910:certificate/fb1b9770-a305-495d-aefb-27e5e101ff3' \ + --endpoint-configuration '{"types": ["PRIVATE"]}' \ + --security-policy 'TLS_1_2' \ + --policy file://policy.json + +Contents of ``policy.json``:: + + { + "Version": "2012-10-17", + "Statement": [ + { + "Effect": "Allow", + "Principal": "*", + "Action": "execute-api:Invoke", + "Resource": [ + "execute-api:/*" + ] + }, + { + "Effect": "Deny", + "Principal": "*", + "Action": "execute-api:Invoke", + "Resource": [ + "execute-api:/*" + ], + "Condition" : { + "StringNotEquals": { + "aws:SourceVpce": "vpce-abcd1234efg" + } + } + } + ] + } + +Output:: + + { + "domainName": "my.private.domain.tld", + "domainNameId": "abcd1234", + "domainNameArn": "arn:aws:apigateway:us-east-1:012345678910:/domainnames/my.private.domain.tld+abcd1234", + "certificateArn": "arn:aws:acm:us-east-1:012345678910:certificate/fb1b9770-a305-495d-aefb-27e5e101ff3", + "certificateUploadDate": "2024-09-10T10:31:20-07:00", + "endpointConfiguration": { + "types": [ + "PRIVATE" + ] + }, + "domainNameStatus": "AVAILABLE", + "securityPolicy": "TLS_1_2", + "policy": "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Effect\":\"Allow\",\"Principal\":\"*\",\"Action\":\"execute-api:Invoke\",\"Resource\":\"arn:aws:execute-api:us-east-1:012345678910:/domainnames/my.private.domain.tld+abcd1234\"},{\"Effect\":\"Deny\",\"Principal\":\"*\",\"Action\":\"execute-api:Invoke\",\"Resource\":\"arn:aws:execute-api:us-east-1:012345678910:/domainnames/my.private.domain.tld+abcd1234\",\"Condition\":{\"StringNotEquals\":{\"aws:SourceVpc\":\"vpc-1a2b3c4d\"}}}]}" + } + +For more information, see `Custom domain name for public REST APIs in API Gateway `__ in the *Amazon API Gateway Developer Guide*. diff --git a/awscli/examples/apigateway/delete-domain-name-access-association.rst b/awscli/examples/apigateway/delete-domain-name-access-association.rst new file mode 100644 index 000000000000..a958eff6dd5b --- /dev/null +++ b/awscli/examples/apigateway/delete-domain-name-access-association.rst @@ -0,0 +1,10 @@ +**To delete a domain name access association** + +The following ``delete-domain-name-access-association`` example deletes a domain name access association between a private custom domain name and VPC endpoint. :: + + aws apigateway delete-domain-name-access-association \ + --domain-name-access-association-arn arn:aws:apigateway:us-west-2:012345678910:/domainnameaccessassociations/domainname/my.private.domain.tld/vpcesource/vpce-abcd1234efg + +This command produces no output. + +For more information, see `Custom domain names for private APIs in API Gateway `__ in the *Amazon API Gateway Developer Guide*. diff --git a/awscli/examples/apigateway/get-domain-name-access-associations.rst b/awscli/examples/apigateway/get-domain-name-access-associations.rst new file mode 100644 index 000000000000..a0954fc9f7e8 --- /dev/null +++ b/awscli/examples/apigateway/get-domain-name-access-associations.rst @@ -0,0 +1,42 @@ +**Example 1: To list all domain name access associations** + +The following ``get-domain-name-access-associations`` example lists all domain name access associations. :: + + aws apigateway get-domain-name-access-associations + +Output:: + + { + "items": [ + { + "domainNameAccessAssociationArn": "arn:aws:apigateway:us-west-2:012345678910:/domainnameaccessassociations/domainname/my.private.domain.tld/vpcesource/vpce-abcd1234efg + "accessAssociationSource": "vpce-abcd1234efg", + "accessAssociationSourceType": "VPCE", + "domainNameArn" : "arn:aws:apigateway:us-west-2:111122223333:/domainnames/private.example.com+abcd1234" + } + ] + } + +For more information, see `Custom domain names for private APIs in API Gateway `__ in the *Amazon API Gateway Developer Guide*. + +**Example 2: To list all domain name access associations owned by this AWS account** + +The following ``get-domain-name-access-associations`` example lists all the domain name access associations owned by the current AWS account. :: + + aws apigateway get-domain-name-access-associations \ + --resource-owner SELF + +Output:: + + { + "items": [ + { + "domainNameAccessAssociationArn": "arn:aws:apigateway:us-west-2:012345678910:/domainnameaccessassociations/domainname/my.private.domain.tld/vpcesource/vpce-abcd1234efg + "accessAssociationSource": "vpce-abcd1234efg", + "accessAssociationSourceType": "VPCE", + "domainNameArn" : "arn:aws:apigateway:us-west-2:111122223333:/domainnames/private.example.com+abcd1234" + } + ] + } + +For more information, see `Custom domain names for private APIs in API Gateway `__ in the *Amazon API Gateway Developer Guide*. diff --git a/awscli/examples/apigateway/get-domain-name.rst b/awscli/examples/apigateway/get-domain-name.rst index ac87fd04f646..0a53f006c23a 100644 --- a/awscli/examples/apigateway/get-domain-name.rst +++ b/awscli/examples/apigateway/get-domain-name.rst @@ -1,14 +1,45 @@ -**To get information about a custom domain name** +**Example 1: To get information about a public custom domain name** -Command:: +The following ``get-domain-name`` example gets information about a public custom domain name. :: - aws apigateway get-domain-name --domain-name api.domain.tld + aws apigateway get-domain-name \ + --domain-name api.domain.tld Output:: - { - "domainName": "api.domain.tld", - "distributionDomainName": "d1a2f3a4c5o6d.cloudfront.net", - "certificateName": "uploadedCertificate", - "certificateUploadDate": 1462565487 - } + { + "domainName": "api.domain.tld", + "distributionDomainName": "d1a2f3a4c5o6d.cloudfront.net", + "certificateName": "uploadedCertificate", + "certificateUploadDate": 1462565487 + } + +For more information, see `Custom domain name for public REST APIs in API Gateway `__ in the *Amazon API Gateway Developer Guide*. + +**Example 2: To get information about a private custom domain name** + +The following ``get-domain-name`` example gets information about a private custom domain name. :: + + aws apigateway get-domain-name \ + --domain-name api.private.domain.tld \ + --domain-name-id abcd1234 + +Output:: + + { + "domainName": "my.private.domain.tld", + "domainNameId": "abcd1234", + "domainNameArn": "arn:aws:apigateway:us-east-1:012345678910:/domainnames/my.private.domain.tld+abcd1234", + "certificateArn": "arn:aws:acm:us-east-1:012345678910:certificate/fb1b9770-a305-495d-aefb-27e5e101ff3", + "certificateUploadDate": "2024-09-10T10:31:20-07:00", + "endpointConfiguration": { + "types": [ + "PRIVATE" + ] + }, + "domainNameStatus": "AVAILABLE", + "securityPolicy": "TLS_1_2", + "policy": "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Effect\":\"Allow\",\"Principal\":\"*\",\"Action\":\"execute-api:Invoke\",\"Resource\":\"arn:aws:execute-api:us-east-1:012345678910:/domainnames/my.private.domain.tld+abcd1234\"},{\"Effect\":\"Deny\",\"Principal\":\"*\",\"Action\":\"execute-api:Invoke\",\"Resource\":\"arn:aws:execute-api:us-east-1:012345678910:/domainnames/my.private.domain.tld+abcd1234\",\"Condition\":{\"StringNotEquals\":{\"aws:SourceVpc\":\"vpc-1a2b3c4d\"}}}]}" + } + +For more information, see `Custom domain name for public REST APIs in API Gateway `__ in the *Amazon API Gateway Developer Guide*. diff --git a/awscli/examples/apigateway/get-domain-names.rst b/awscli/examples/apigateway/get-domain-names.rst index b3d2b4a33e2f..fe6444fe6820 100644 --- a/awscli/examples/apigateway/get-domain-names.rst +++ b/awscli/examples/apigateway/get-domain-names.rst @@ -1,18 +1,86 @@ -**To get a list of custom domain names** +**Example 1: To get a list of custom domain names** -Command:: +The following ``get-domain-names`` command gets a list of domain names. :: - aws apigateway get-domain-names + aws apigateway get-domain-names Output:: - { - "items": [ - { - "distributionDomainName": "d9511k3l09bkd.cloudfront.net", - "certificateUploadDate": 1452812505, - "certificateName": "my_custom_domain-certificate", - "domainName": "subdomain.domain.tld" - } - ] - } + { + "items": [ + { + "distributionDomainName": "d9511k3l09bkd.cloudfront.net", + "certificateUploadDate": 1452812505, + "certificateName": "my_custom_domain-certificate", + "domainName": "subdomain.domain.tld" + } + ] + } + +For more information, see `Custom domain names for private APIs in API Gateway `__ in the *Amazon API Gateway Developer Guide*. + +**Example 2: To get a list of custom domain names owned by this AWS account** + +The following ``get-domain-names`` command gets a list of domain names owned by this AWS account. :: + + aws apigateway get-domain-names \ + --resource-owner SELF + +Output:: + + { + "items": [ + { + "domainName": "my.domain.tld", + "domainNameArn": "arn:aws:apigateway:us-east-1::/domainnames/my.private.domain.tld", + "certificateUploadDate": "2024-08-15T17:02:55-07:00", + "regionalDomainName": "d-abcd1234.execute-api.us-east-1.amazonaws.com", + "regionalHostedZoneId": "Z1UJRXOUMOOFQ8", + "regionalCertificateArn": "arn:aws:acm:us-east-1:012345678910:certificate/fb1b9770-a305-495d-aefb-27e5e101ff3", + "endpointConfiguration": { + "types": [ + "REGIONAL" + ] + }, + "domainNameStatus": "AVAILABLE", + "securityPolicy": "TLS_1_2" + }, + { + "domainName": "my.private.domain.tld", + "domainNameId": "abcd1234", + "domainNameArn": "arn:aws:apigateway:us-east-1:012345678910:/domainnames/my.private.domain.tld+abcd1234", + "certificateArn": "arn:aws:acm:us-east-1:012345678910:certificate/fb1b9770-a305-495d-aefb-27e5e101ff3", + "certificateUploadDate": "2024-11-26T11:44:40-08:00", + "endpointConfiguration": { + "types": [ + "PRIVATE" + ] + }, + "domainNameStatus": "AVAILABLE", + "securityPolicy": "TLS_1_2" + } + ] + } + +For more information, see `Custom domain names for private APIs in API Gateway `__ in the *Amazon API Gateway Developer Guide*. + +**Example 3: To get a list of custom domain names owned by other AWS accounts that you can create a domain name access association with.** + +The following ``get-domain-names`` command gets a list of domain names owned by other AWS accounts that you have access to create a domain name access association with. :: + + aws apigateway get-domain-names \ + --resource-owner OTHER_ACCOUNTS + +Output:: + + { + "items": [ + { + "domainName": "my.private.domain.tld", + "domainNameId": "abcd1234", + "domainNameArn": "arn:aws:apigateway:us-east-1:012345678910:/domainnames/my.private.domain.tld+abcd1234" + } + ] + } + +For more information, see `Custom domain names for private APIs in API Gateway `__ in the *Amazon API Gateway Developer Guide*. \ No newline at end of file diff --git a/awscli/examples/apigateway/reject-domain-name-access-association.rst b/awscli/examples/apigateway/reject-domain-name-access-association.rst new file mode 100644 index 000000000000..2c8b3f983ea8 --- /dev/null +++ b/awscli/examples/apigateway/reject-domain-name-access-association.rst @@ -0,0 +1,11 @@ +**To reject a domain name access association** + +The following ``reject-domain-name-access-association`` example rejects a domain name access association between a private custom domain name and VPC endpoint. :: + + aws apigateway reject-domain-name-access-association \ + --domain-name-access-association-arn arn:aws:apigateway:us-west-2:012345678910:/domainnameaccessassociations/domainname/my.private.domain.tld/vpcesource/vpce-abcd1234efg \ + --domain-name-arn arn:aws:apigateway:us-east-1:012345678910:/domainnames/my.private.domain.tld+abcd1234 + +This command produces no output. + +For more information, see `Custom domain names for private APIs in API Gateway `__ in the *Amazon API Gateway Developer Guide*. diff --git a/awscli/examples/ssm/deregister-managed-instance.rst b/awscli/examples/ssm/deregister-managed-instance.rst index 209565502950..b91fa53b461c 100644 --- a/awscli/examples/ssm/deregister-managed-instance.rst +++ b/awscli/examples/ssm/deregister-managed-instance.rst @@ -2,9 +2,9 @@ The following ``deregister-managed-instance`` example deregisters the specified managed instance. :: - aws ssm deregister-managed-instance - --instance-id "mi-08ab247cdfEXAMPLE" + aws ssm deregister-managed-instance \ + --instance-id 'mi-08ab247cdfEXAMPLE' This command produces no output. -For more information, see `Deregistering Managed Instances in a Hybrid Environment `__ in the *AWS Systems Manager User Guide*. +For more information, see `Deregistering managed nodes in a hybrid and multicloud environment `__ in the *AWS Systems Manager User Guide*. diff --git a/awscli/examples/verifiedpermissions/create-policy-template.rst b/awscli/examples/verifiedpermissions/create-policy-template.rst index c4b2edda76c2..f5a6584e59d5 100644 --- a/awscli/examples/verifiedpermissions/create-policy-template.rst +++ b/awscli/examples/verifiedpermissions/create-policy-template.rst @@ -1,12 +1,12 @@ -**Example 1: To create a policy template** +**To create a policy template** The following ``create-policy-template`` example creates a policy template with a statement that contains a placeholder for the principal. :: aws verifiedpermissions create-policy-template \ - --definition file://template1.txt \ + --statement file://template1.txt \ --policy-store-id PSEXAMPLEabcdefg111111 -Contents of file ``template1.txt``:: +Contents of ``template1.txt``:: permit( principal in ?principal, From 6d493e1f3272087392d93695f0858521d4e8cf8f Mon Sep 17 00:00:00 2001 From: Elysa Hall Date: Mon, 30 Dec 2024 20:34:35 +0000 Subject: [PATCH 0374/1087] CLI examples for guardduty --- .../examples/guardduty/accept-invitation.rst | 4 +- .../examples/guardduty/archive-findings.rst | 6 +-- awscli/examples/guardduty/create-filter.rst | 27 +++++++++--- awscli/examples/guardduty/create-ip-set.rst | 14 +++---- .../create-publishing-destination.rst | 6 +-- .../guardduty/create-threat-intel-set.rst | 10 ++--- .../disassociate-from-master-account.rst | 6 +-- awscli/examples/guardduty/get-ip-set.rst | 6 +-- .../examples/guardduty/get-master-account.rst | 4 +- awscli/examples/guardduty/list-members.rst | 41 +++++++++++++++---- awscli/examples/guardduty/update-ip-set.rst | 2 +- 11 files changed, 85 insertions(+), 41 deletions(-) diff --git a/awscli/examples/guardduty/accept-invitation.rst b/awscli/examples/guardduty/accept-invitation.rst index e9d757df61b8..d82af3c153f9 100644 --- a/awscli/examples/guardduty/accept-invitation.rst +++ b/awscli/examples/guardduty/accept-invitation.rst @@ -6,7 +6,7 @@ The following ``accept-invitation`` example shows how to accept an invitation to --detector-id 12abc34d567e8fa901bc2d34eexample \ --master-id 123456789111 \ --invitation-id d6b94fb03a66ff665f7db8764example - + This command produces no output. -For more information, see `Managing GuardDuty Accounts by Invitation `__ in the GuardDuty User Guide. \ No newline at end of file +For more information, see `Managing GuardDuty accounts by invitation `__ in the GuardDuty User Guide. diff --git a/awscli/examples/guardduty/archive-findings.rst b/awscli/examples/guardduty/archive-findings.rst index 96a878efed02..c67b714ddefb 100644 --- a/awscli/examples/guardduty/archive-findings.rst +++ b/awscli/examples/guardduty/archive-findings.rst @@ -1,11 +1,11 @@ **To archive findings in the current region** -This example shows how to archive findings in the current region. :: +This ``archive-findings`` example shows how to archive findings in the current region. :: aws guardduty archive-findings \ --detector-id 12abc34d567e8fa901bc2d34eexample \ --finding-ids d6b94fb03a66ff665f7db8764example 3eb970e0de00c16ec14e6910fexample -This command produces no output. +This command produces no output. -For more information, see `Managing GuardDuty Accounts by Invitation `__ in the *GuardDuty User Guide*. \ No newline at end of file +For more information, see `Creating suppression rules `__ in the *GuardDuty User Guide*. diff --git a/awscli/examples/guardduty/create-filter.rst b/awscli/examples/guardduty/create-filter.rst index f888154ff8ea..d074dccd4a94 100644 --- a/awscli/examples/guardduty/create-filter.rst +++ b/awscli/examples/guardduty/create-filter.rst @@ -1,17 +1,34 @@ -**To create a new filter for the current region** +**Example 1: To create a new filter in the current region** -This example creates a filter that matches all portscan findings for instance created from a specific image.:: +The following ``create-filter`` example creates a filter that matches all Portscan findings for instance created from a specific image. This does not suppress those findings. :: + + aws guardduty create-filter \ + --detector-id b6b992d6d2f48e64bc59180bfexample \ + --name myFilterExample \ + --finding-criteria '{"Criterion": {"type": {"Eq": ["Recon:EC2/Portscan"]},"resource.instanceDetails.imageId": {"Eq": ["ami-0a7a207083example"]}}}' + +Output:: + + { + "Name": "myFilterExample" + } + +For more information, see `Filtering GuardDuty findings `__ in the *GuardDuty User Guide*. + +**Example 2: To create a new filter and suppress findings in the current region** + +The following ``create-filter`` example creates a filter that matches all Portscan findings for instance created from a specific image. This filter archives those findings so that they do not appear in your current findings. :: aws guardduty create-filter \ --detector-id b6b992d6d2f48e64bc59180bfexample \ --action ARCHIVE \ - --name myFilter \ + --name myFilterSecondExample \ --finding-criteria '{"Criterion": {"type": {"Eq": ["Recon:EC2/Portscan"]},"resource.instanceDetails.imageId": {"Eq": ["ami-0a7a207083example"]}}}' Output:: { - "Name": "myFilter" + "Name": "myFilterSecondExample" } -For more information, see `Filtering findings `__ in the *GuardDuty User Guide*. +For more information, see `Filtering GuardDuty findings `__ in the *GuardDuty User Guide*. diff --git a/awscli/examples/guardduty/create-ip-set.rst b/awscli/examples/guardduty/create-ip-set.rst index f2f3b7577bee..580049c4e202 100644 --- a/awscli/examples/guardduty/create-ip-set.rst +++ b/awscli/examples/guardduty/create-ip-set.rst @@ -1,18 +1,18 @@ -**To create a trusted IP set** +**To create and activate a trusted IP set** -The following ``create-ip-set`` example creates and activates a trusted IP set in the current region. :: +The following ``create-ip-set`` example creates and activates a trusted IP set in the current Region. :: aws guardduty create-ip-set \ --detector-id 12abc34d567e8fa901bc2d34eexample \ - --name new-ip-set \ - --format TXT - --location s3://amzn-s3-demo-bucket/customtrustlist.csv + --name new-ip-set-example \ + --format TXT \ + --location s3://amzn-s3-demo-bucket/customtrustlist.csv \ --activate Output:: - + { "IpSetId": "d4b94fc952d6912b8f3060768example" } -For more information, see `Working with Trusted IP Lists and Threat Lists `__ in the GuardDuty User Guide. \ No newline at end of file +For more information, see `Working with Trusted IP Lists and Threat Lists `__ in the *GuardDuty User Guide*. \ No newline at end of file diff --git a/awscli/examples/guardduty/create-publishing-destination.rst b/awscli/examples/guardduty/create-publishing-destination.rst index 2321d5394cfc..5d5e883cfef3 100644 --- a/awscli/examples/guardduty/create-publishing-destination.rst +++ b/awscli/examples/guardduty/create-publishing-destination.rst @@ -1,11 +1,11 @@ **To create a publishing destination to export GuardDuty findings in the current region to.** -This example shows how to create a publishing destination for GuardDuty findings. :: +The following ``create-publishing-destination`` example shows how to set up a publishing destination to export current (not archived) GuardDuty findings to keep track of historical findings data. :: aws guardduty create-publishing-destination \ --detector-id b6b992d6d2f48e64bc59180bfexample \ --destination-type S3 \ - --destination-properties DestinationArn=arn:aws:s3:::yourbucket,KmsKeyArn=arn:aws:kms:us-west-1:111122223333:key/84cee9c5-dea1-401a-ab6d-e1de7example + --destination-properties 'DestinationArn=arn:aws:s3:::amzn-s3-demo-bucket,KmsKeyArn=arn:aws:kms:us-west-1:111122223333:key/84cee9c5-dea1-401a-ab6d-e1de7example' Output:: @@ -13,4 +13,4 @@ Output:: "DestinationId": "46b99823849e1bbc242dfbe3cexample" } -For more information, see `Exporting findings `__ in the *GuardDuty User Guide*. \ No newline at end of file +For more information, see `Exporting generated GuardDuty findings to Amazon S3 buckets `__ in the *GuardDuty User Guide*. \ No newline at end of file diff --git a/awscli/examples/guardduty/create-threat-intel-set.rst b/awscli/examples/guardduty/create-threat-intel-set.rst index 045f812532e6..aecffff3e69f 100644 --- a/awscli/examples/guardduty/create-threat-intel-set.rst +++ b/awscli/examples/guardduty/create-threat-intel-set.rst @@ -1,12 +1,12 @@ -**To create a new threat intel set in the current region.** +**To create and activate a new threat intel set** -This example shows how to upload a threat intel set to GuardDuty and activate it immediately. :: +The following ``create-threat-intel-set`` example creates and activates a threat intel set in the current Region. :: aws guardduty create-threat-intel-set \ --detector-id b6b992d6d2f48e64bc59180bfexample \ - --name myThreatSet \ + --name myThreatSet-example \ --format TXT \ - --location s3://EXAMPLEBUCKET/threatlist.csv \ + --location s3://amzn-s3-demo-bucket/threatlist.csv \ --activate Output:: @@ -15,4 +15,4 @@ Output:: "ThreatIntelSetId": "20b9a4691aeb33506b808878cexample" } -For more information, see `Trusted IP and threat lists `__ in the *GuardDuty User Guide*. +For more information, see `Working with Trusted IP Lists and Threat Lists `__ in the *GuardDuty User Guide*. diff --git a/awscli/examples/guardduty/disassociate-from-master-account.rst b/awscli/examples/guardduty/disassociate-from-master-account.rst index 5e91537cab68..3159006ad7c6 100644 --- a/awscli/examples/guardduty/disassociate-from-master-account.rst +++ b/awscli/examples/guardduty/disassociate-from-master-account.rst @@ -1,10 +1,10 @@ -**To disassociate from your current master account in the current region** +**To disassociate from your current administrator account in the current region** -The following ``disassociate-from-master-account`` example dissassociates your account from the current GuardDuty master account in the current AWS region. :: +The following ``disassociate-from-master-account`` example dissassociates your account from the current GuardDuty administrator account in the current AWS region. :: aws guardduty disassociate-from-master-account \ --detector-id d4b040365221be2b54a6264dcexample This command produces no output. -For more information, see `Understanding the Relationship between GuardDuty Master and Member Accounts `__ in the GuardDuty User Guide. \ No newline at end of file +For more information, see `Understanding the relationship between GuardDuty administrator account and member accounts `__ in the *GuardDuty User Guide*. diff --git a/awscli/examples/guardduty/get-ip-set.rst b/awscli/examples/guardduty/get-ip-set.rst index 1fce0feee905..8a8acc04c596 100644 --- a/awscli/examples/guardduty/get-ip-set.rst +++ b/awscli/examples/guardduty/get-ip-set.rst @@ -1,6 +1,6 @@ **To list get details on a specified trusted IP set** -The following ``get-ip-set`` example shows the status and details of the specififed trusted IP set. :: +The following ``get-ip-set`` example shows the status and details of the specified trusted IP set. :: aws guardduty get-ip-set \ --detector-id 12abc34d567e8fa901bc2d34eexample \ @@ -13,7 +13,7 @@ Output:: "Location": "s3://amzn-s3-demo-bucket.s3-us-west-2.amazonaws.com/customlist.csv", "Tags": {}, "Format": "TXT", - "Name": "test-ip-set" + "Name": "test-ip-set-example" } -For more information, see `Working with Trusted IP Lists and Threat Lists `__ in the GuardDuty User Guide. \ No newline at end of file +For more information, see `Working with Trusted IP Lists and Threat Lists `__ in the *GuardDuty User Guide*. diff --git a/awscli/examples/guardduty/get-master-account.rst b/awscli/examples/guardduty/get-master-account.rst index 50fb80a900fd..11d9e6699408 100644 --- a/awscli/examples/guardduty/get-master-account.rst +++ b/awscli/examples/guardduty/get-master-account.rst @@ -12,8 +12,8 @@ Output:: "InvitationId": "04b94d9704854a73f94e061e8example", "InvitedAt": "2020-06-09T22:23:04.970Z", "RelationshipStatus": "Enabled", - "AccountId": "123456789111" + "AccountId": "111122223333" } } -For more information, see `Understanding the Relationship between GuardDuty Master and Member Accounts `__ in the GuardDuty User Guide. \ No newline at end of file +For more information, see `Understanding the relationship between GuardDuty administrator account and member account `__ in the *GuardDuty User Guide*. \ No newline at end of file diff --git a/awscli/examples/guardduty/list-members.rst b/awscli/examples/guardduty/list-members.rst index b203777b1fd0..435d5a1c2f35 100644 --- a/awscli/examples/guardduty/list-members.rst +++ b/awscli/examples/guardduty/list-members.rst @@ -1,24 +1,51 @@ -**To list all members in the current region** +**Example 1: To list only current members in the current Region** -The following ``list-members`` example lists all member accounts and their details for the current region. :: +The following ``list-members`` example lists and provides details of only current member accounts associated with the GuardDuty administrator account, in the current region. :: aws guardduty list-members \ - --detector-id 12abc34d567e8fa901bc2d34eexample + --detector-id 12abc34d567e8fa901bc2d34eexample \ + --only-associated="true" Output:: - + { "Members": [ { "RelationshipStatus": "Enabled", "InvitedAt": "2020-06-09T22:49:00.910Z", - "MasterId": "123456789111", + "MasterId": "111122223333", "DetectorId": "7ab8b2f61b256c87f793f6a86example", "UpdatedAt": "2020-06-09T23:08:22.512Z", "Email": "your+member@example.com", - "AccountId": "123456789222" + "AccountId": "123456789012" + } + ] + } + +For more information, see `Understanding the relationship between GuardDuty administrator account and member accounts `__ in the *GuardDuty User Guide*. + +**Example 2: To list all the members in the current Region** + +The following ``list-members`` example lists and provides details of all the member accounts, including those who have been disassociated or have not yet accepted the invite from the GuardDuty administrator, in the current region. :: + + aws guardduty list-members \ + --detector-id 12abc34d567e8fa901bc2d34eexample \ + --only-associated="false" + +Output:: + + { + "Members": [ + { + "RelationshipStatus": "Enabled", + "InvitedAt": "2020-06-09T22:49:00.910Z", + "MasterId": "111122223333", + "DetectorId": "7ab8b2f61b256c87f793f6a86example", + "UpdatedAt": "2020-06-09T23:08:22.512Z", + "Email": "your+other+member@example.com", + "AccountId": "555555555555" } ] } -For more information, see `Understanding the Relationship between GuardDuty Master and Member Accounts `__ in the GuardDuty User Guide. \ No newline at end of file +For more information, see `Understanding the relationship between GuardDuty administrator account and member accounts `__ in the *GuardDuty User Guide*. diff --git a/awscli/examples/guardduty/update-ip-set.rst b/awscli/examples/guardduty/update-ip-set.rst index 320705cf359c..fce7c381705f 100644 --- a/awscli/examples/guardduty/update-ip-set.rst +++ b/awscli/examples/guardduty/update-ip-set.rst @@ -9,4 +9,4 @@ The following ``update-ip-set`` example shows how to update the details of a tru This command produces no output. -For more information, see `Working with Trusted IP Lists and Threat Lists `__ in the GuardDuty User Guide. \ No newline at end of file +For more information, see `Working with Trusted IP Lists and Threat Lists `__ in the *GuardDuty User Guide*. From df2ce8c84c7c6c4c95563fc54d0b3fb868264a73 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 2 Jan 2025 19:07:36 +0000 Subject: [PATCH 0375/1087] Update changelog based on model updates --- .changes/next-release/api-change-appsync-43699.json | 5 +++++ .changes/next-release/api-change-gamelift-63279.json | 5 +++++ .changes/next-release/api-change-mediaconnect-13377.json | 5 +++++ .changes/next-release/api-change-mediaconvert-45405.json | 5 +++++ .changes/next-release/api-change-organizations-60775.json | 5 +++++ .changes/next-release/api-change-sagemaker-58908.json | 5 +++++ .changes/next-release/api-change-sqs-35972.json | 5 +++++ 7 files changed, 35 insertions(+) create mode 100644 .changes/next-release/api-change-appsync-43699.json create mode 100644 .changes/next-release/api-change-gamelift-63279.json create mode 100644 .changes/next-release/api-change-mediaconnect-13377.json create mode 100644 .changes/next-release/api-change-mediaconvert-45405.json create mode 100644 .changes/next-release/api-change-organizations-60775.json create mode 100644 .changes/next-release/api-change-sagemaker-58908.json create mode 100644 .changes/next-release/api-change-sqs-35972.json diff --git a/.changes/next-release/api-change-appsync-43699.json b/.changes/next-release/api-change-appsync-43699.json new file mode 100644 index 000000000000..49b4902fbd06 --- /dev/null +++ b/.changes/next-release/api-change-appsync-43699.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``appsync``", + "description": "Modify UpdateGraphQLAPI operation and flag authenticationType as required." +} diff --git a/.changes/next-release/api-change-gamelift-63279.json b/.changes/next-release/api-change-gamelift-63279.json new file mode 100644 index 000000000000..a63531dedc0d --- /dev/null +++ b/.changes/next-release/api-change-gamelift-63279.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``gamelift``", + "description": "Amazon GameLift releases a new game session shutdown feature. Use the Amazon GameLift console or AWS CLI to terminate an in-progress game session that's entered a bad state or is no longer needed." +} diff --git a/.changes/next-release/api-change-mediaconnect-13377.json b/.changes/next-release/api-change-mediaconnect-13377.json new file mode 100644 index 000000000000..12e8a8fc9143 --- /dev/null +++ b/.changes/next-release/api-change-mediaconnect-13377.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``mediaconnect``", + "description": "AWS Elemental MediaConnect now supports Content Quality Analysis for enhanced source stream monitoring. This enables you to track specific audio and video metrics in transport stream source flows, ensuring your content meets quality standards." +} diff --git a/.changes/next-release/api-change-mediaconvert-45405.json b/.changes/next-release/api-change-mediaconvert-45405.json new file mode 100644 index 000000000000..63a0df03538c --- /dev/null +++ b/.changes/next-release/api-change-mediaconvert-45405.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``mediaconvert``", + "description": "This release adds support for the AVC3 codec and fixes an alignment issue with Japanese vertical captions." +} diff --git a/.changes/next-release/api-change-organizations-60775.json b/.changes/next-release/api-change-organizations-60775.json new file mode 100644 index 000000000000..a1c726dc5c67 --- /dev/null +++ b/.changes/next-release/api-change-organizations-60775.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``organizations``", + "description": "Added ALL_FEATURES_MIGRATION_ORGANIZATION_SIZE_LIMIT_EXCEEDED to ConstraintViolationException for the EnableAllFeatures operation." +} diff --git a/.changes/next-release/api-change-sagemaker-58908.json b/.changes/next-release/api-change-sagemaker-58908.json new file mode 100644 index 000000000000..331e233a5c71 --- /dev/null +++ b/.changes/next-release/api-change-sagemaker-58908.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``sagemaker``", + "description": "Adding ETag information with Model Artifacts for Model Registry" +} diff --git a/.changes/next-release/api-change-sqs-35972.json b/.changes/next-release/api-change-sqs-35972.json new file mode 100644 index 000000000000..5967d6d2e7a7 --- /dev/null +++ b/.changes/next-release/api-change-sqs-35972.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``sqs``", + "description": "In-flight message typo fix from 20k to 120k." +} From e9640108b9688b7bf0dca6ca5623b5de5d96e40a Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 2 Jan 2025 19:09:01 +0000 Subject: [PATCH 0376/1087] Bumping version to 1.36.32 --- .changes/1.36.32.json | 37 +++++++++++++++++++ .../api-change-appsync-43699.json | 5 --- .../api-change-gamelift-63279.json | 5 --- .../api-change-mediaconnect-13377.json | 5 --- .../api-change-mediaconvert-45405.json | 5 --- .../api-change-organizations-60775.json | 5 --- .../api-change-sagemaker-58908.json | 5 --- .../next-release/api-change-sqs-35972.json | 5 --- CHANGELOG.rst | 12 ++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 13 files changed, 53 insertions(+), 39 deletions(-) create mode 100644 .changes/1.36.32.json delete mode 100644 .changes/next-release/api-change-appsync-43699.json delete mode 100644 .changes/next-release/api-change-gamelift-63279.json delete mode 100644 .changes/next-release/api-change-mediaconnect-13377.json delete mode 100644 .changes/next-release/api-change-mediaconvert-45405.json delete mode 100644 .changes/next-release/api-change-organizations-60775.json delete mode 100644 .changes/next-release/api-change-sagemaker-58908.json delete mode 100644 .changes/next-release/api-change-sqs-35972.json diff --git a/.changes/1.36.32.json b/.changes/1.36.32.json new file mode 100644 index 000000000000..c4af0e67dfc0 --- /dev/null +++ b/.changes/1.36.32.json @@ -0,0 +1,37 @@ +[ + { + "category": "``appsync``", + "description": "Modify UpdateGraphQLAPI operation and flag authenticationType as required.", + "type": "api-change" + }, + { + "category": "``gamelift``", + "description": "Amazon GameLift releases a new game session shutdown feature. Use the Amazon GameLift console or AWS CLI to terminate an in-progress game session that's entered a bad state or is no longer needed.", + "type": "api-change" + }, + { + "category": "``mediaconnect``", + "description": "AWS Elemental MediaConnect now supports Content Quality Analysis for enhanced source stream monitoring. This enables you to track specific audio and video metrics in transport stream source flows, ensuring your content meets quality standards.", + "type": "api-change" + }, + { + "category": "``mediaconvert``", + "description": "This release adds support for the AVC3 codec and fixes an alignment issue with Japanese vertical captions.", + "type": "api-change" + }, + { + "category": "``organizations``", + "description": "Added ALL_FEATURES_MIGRATION_ORGANIZATION_SIZE_LIMIT_EXCEEDED to ConstraintViolationException for the EnableAllFeatures operation.", + "type": "api-change" + }, + { + "category": "``sagemaker``", + "description": "Adding ETag information with Model Artifacts for Model Registry", + "type": "api-change" + }, + { + "category": "``sqs``", + "description": "In-flight message typo fix from 20k to 120k.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-appsync-43699.json b/.changes/next-release/api-change-appsync-43699.json deleted file mode 100644 index 49b4902fbd06..000000000000 --- a/.changes/next-release/api-change-appsync-43699.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``appsync``", - "description": "Modify UpdateGraphQLAPI operation and flag authenticationType as required." -} diff --git a/.changes/next-release/api-change-gamelift-63279.json b/.changes/next-release/api-change-gamelift-63279.json deleted file mode 100644 index a63531dedc0d..000000000000 --- a/.changes/next-release/api-change-gamelift-63279.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``gamelift``", - "description": "Amazon GameLift releases a new game session shutdown feature. Use the Amazon GameLift console or AWS CLI to terminate an in-progress game session that's entered a bad state or is no longer needed." -} diff --git a/.changes/next-release/api-change-mediaconnect-13377.json b/.changes/next-release/api-change-mediaconnect-13377.json deleted file mode 100644 index 12e8a8fc9143..000000000000 --- a/.changes/next-release/api-change-mediaconnect-13377.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``mediaconnect``", - "description": "AWS Elemental MediaConnect now supports Content Quality Analysis for enhanced source stream monitoring. This enables you to track specific audio and video metrics in transport stream source flows, ensuring your content meets quality standards." -} diff --git a/.changes/next-release/api-change-mediaconvert-45405.json b/.changes/next-release/api-change-mediaconvert-45405.json deleted file mode 100644 index 63a0df03538c..000000000000 --- a/.changes/next-release/api-change-mediaconvert-45405.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``mediaconvert``", - "description": "This release adds support for the AVC3 codec and fixes an alignment issue with Japanese vertical captions." -} diff --git a/.changes/next-release/api-change-organizations-60775.json b/.changes/next-release/api-change-organizations-60775.json deleted file mode 100644 index a1c726dc5c67..000000000000 --- a/.changes/next-release/api-change-organizations-60775.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``organizations``", - "description": "Added ALL_FEATURES_MIGRATION_ORGANIZATION_SIZE_LIMIT_EXCEEDED to ConstraintViolationException for the EnableAllFeatures operation." -} diff --git a/.changes/next-release/api-change-sagemaker-58908.json b/.changes/next-release/api-change-sagemaker-58908.json deleted file mode 100644 index 331e233a5c71..000000000000 --- a/.changes/next-release/api-change-sagemaker-58908.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``sagemaker``", - "description": "Adding ETag information with Model Artifacts for Model Registry" -} diff --git a/.changes/next-release/api-change-sqs-35972.json b/.changes/next-release/api-change-sqs-35972.json deleted file mode 100644 index 5967d6d2e7a7..000000000000 --- a/.changes/next-release/api-change-sqs-35972.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``sqs``", - "description": "In-flight message typo fix from 20k to 120k." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index f37ef04fba4c..7102c067cf6c 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,18 @@ CHANGELOG ========= +1.36.32 +======= + +* api-change:``appsync``: Modify UpdateGraphQLAPI operation and flag authenticationType as required. +* api-change:``gamelift``: Amazon GameLift releases a new game session shutdown feature. Use the Amazon GameLift console or AWS CLI to terminate an in-progress game session that's entered a bad state or is no longer needed. +* api-change:``mediaconnect``: AWS Elemental MediaConnect now supports Content Quality Analysis for enhanced source stream monitoring. This enables you to track specific audio and video metrics in transport stream source flows, ensuring your content meets quality standards. +* api-change:``mediaconvert``: This release adds support for the AVC3 codec and fixes an alignment issue with Japanese vertical captions. +* api-change:``organizations``: Added ALL_FEATURES_MIGRATION_ORGANIZATION_SIZE_LIMIT_EXCEEDED to ConstraintViolationException for the EnableAllFeatures operation. +* api-change:``sagemaker``: Adding ETag information with Model Artifacts for Model Registry +* api-change:``sqs``: In-flight message typo fix from 20k to 120k. + + 1.36.31 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index a4cece5cc165..906d6d54838d 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.36.31' +__version__ = '1.36.32' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index af60496457ef..a07df23f63d6 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.36.' # The full version, including alpha/beta/rc tags. -release = '1.36.31' +release = '1.36.32' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index e7286a0c9488..367f0f6df7e1 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.90 + botocore==1.35.91 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 27b8540b1205..57bef7b5b353 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.90', + 'botocore==1.35.91', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 09357d8bc644570f214edb6b0d82166b04ceb601 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 3 Jan 2025 19:06:51 +0000 Subject: [PATCH 0377/1087] Update changelog based on model updates --- .changes/next-release/api-change-ecs-5696.json | 5 +++++ .changes/next-release/api-change-route53domains-31753.json | 5 +++++ .changes/next-release/api-change-s3-31148.json | 5 +++++ 3 files changed, 15 insertions(+) create mode 100644 .changes/next-release/api-change-ecs-5696.json create mode 100644 .changes/next-release/api-change-route53domains-31753.json create mode 100644 .changes/next-release/api-change-s3-31148.json diff --git a/.changes/next-release/api-change-ecs-5696.json b/.changes/next-release/api-change-ecs-5696.json new file mode 100644 index 000000000000..524b363f61d7 --- /dev/null +++ b/.changes/next-release/api-change-ecs-5696.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ecs``", + "description": "Adding SDK reference examples for Amazon ECS operations." +} diff --git a/.changes/next-release/api-change-route53domains-31753.json b/.changes/next-release/api-change-route53domains-31753.json new file mode 100644 index 000000000000..3464093a6ef4 --- /dev/null +++ b/.changes/next-release/api-change-route53domains-31753.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``route53domains``", + "description": "Doc only update for Route 53 Domains that fixes several customer-reported issues" +} diff --git a/.changes/next-release/api-change-s3-31148.json b/.changes/next-release/api-change-s3-31148.json new file mode 100644 index 000000000000..a99fad421a0d --- /dev/null +++ b/.changes/next-release/api-change-s3-31148.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``s3``", + "description": "This change is only for updating the model regexp of CopySource which is not for validation but only for documentation and user guide change." +} From 94acd03e1fccc98c8ae17280726b672819157fbd Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 3 Jan 2025 19:08:12 +0000 Subject: [PATCH 0378/1087] Bumping version to 1.36.33 --- .changes/1.36.33.json | 17 +++++++++++++++++ .changes/next-release/api-change-ecs-5696.json | 5 ----- .../api-change-route53domains-31753.json | 5 ----- .changes/next-release/api-change-s3-31148.json | 5 ----- CHANGELOG.rst | 8 ++++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 9 files changed, 29 insertions(+), 19 deletions(-) create mode 100644 .changes/1.36.33.json delete mode 100644 .changes/next-release/api-change-ecs-5696.json delete mode 100644 .changes/next-release/api-change-route53domains-31753.json delete mode 100644 .changes/next-release/api-change-s3-31148.json diff --git a/.changes/1.36.33.json b/.changes/1.36.33.json new file mode 100644 index 000000000000..51e9cc532bd9 --- /dev/null +++ b/.changes/1.36.33.json @@ -0,0 +1,17 @@ +[ + { + "category": "``ecs``", + "description": "Adding SDK reference examples for Amazon ECS operations.", + "type": "api-change" + }, + { + "category": "``route53domains``", + "description": "Doc only update for Route 53 Domains that fixes several customer-reported issues", + "type": "api-change" + }, + { + "category": "``s3``", + "description": "This change is only for updating the model regexp of CopySource which is not for validation but only for documentation and user guide change.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-ecs-5696.json b/.changes/next-release/api-change-ecs-5696.json deleted file mode 100644 index 524b363f61d7..000000000000 --- a/.changes/next-release/api-change-ecs-5696.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ecs``", - "description": "Adding SDK reference examples for Amazon ECS operations." -} diff --git a/.changes/next-release/api-change-route53domains-31753.json b/.changes/next-release/api-change-route53domains-31753.json deleted file mode 100644 index 3464093a6ef4..000000000000 --- a/.changes/next-release/api-change-route53domains-31753.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``route53domains``", - "description": "Doc only update for Route 53 Domains that fixes several customer-reported issues" -} diff --git a/.changes/next-release/api-change-s3-31148.json b/.changes/next-release/api-change-s3-31148.json deleted file mode 100644 index a99fad421a0d..000000000000 --- a/.changes/next-release/api-change-s3-31148.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``s3``", - "description": "This change is only for updating the model regexp of CopySource which is not for validation but only for documentation and user guide change." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 7102c067cf6c..94fe421f19b2 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,14 @@ CHANGELOG ========= +1.36.33 +======= + +* api-change:``ecs``: Adding SDK reference examples for Amazon ECS operations. +* api-change:``route53domains``: Doc only update for Route 53 Domains that fixes several customer-reported issues +* api-change:``s3``: This change is only for updating the model regexp of CopySource which is not for validation but only for documentation and user guide change. + + 1.36.32 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 906d6d54838d..dea96a5e06f5 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.36.32' +__version__ = '1.36.33' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index a07df23f63d6..3ba9f04b500f 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.36.' # The full version, including alpha/beta/rc tags. -release = '1.36.32' +release = '1.36.33' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 367f0f6df7e1..dfaae953bf86 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.91 + botocore==1.35.92 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 57bef7b5b353..7eb73933b14c 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.91', + 'botocore==1.35.92', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From d4084cd8aecf09ce36e344546ffffbf952d252fc Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 6 Jan 2025 19:04:43 +0000 Subject: [PATCH 0379/1087] Update changelog based on model updates --- .../next-release/api-change-iotsecuretunneling-10791.json | 5 +++++ .changes/next-release/api-change-supplychain-18161.json | 5 +++++ 2 files changed, 10 insertions(+) create mode 100644 .changes/next-release/api-change-iotsecuretunneling-10791.json create mode 100644 .changes/next-release/api-change-supplychain-18161.json diff --git a/.changes/next-release/api-change-iotsecuretunneling-10791.json b/.changes/next-release/api-change-iotsecuretunneling-10791.json new file mode 100644 index 000000000000..5fd4ee7a0a68 --- /dev/null +++ b/.changes/next-release/api-change-iotsecuretunneling-10791.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``iotsecuretunneling``", + "description": "Adds dualstack endpoint support for IoT Secure Tunneling" +} diff --git a/.changes/next-release/api-change-supplychain-18161.json b/.changes/next-release/api-change-supplychain-18161.json new file mode 100644 index 000000000000..6d109fd48064 --- /dev/null +++ b/.changes/next-release/api-change-supplychain-18161.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``supplychain``", + "description": "Allow vanity DNS domain when creating a new ASC instance" +} From fbfb8d689901b58f379dab4399e8107a9678acff Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 6 Jan 2025 19:06:06 +0000 Subject: [PATCH 0380/1087] Bumping version to 1.36.34 --- .changes/1.36.34.json | 12 ++++++++++++ .../api-change-iotsecuretunneling-10791.json | 5 ----- .../next-release/api-change-supplychain-18161.json | 5 ----- CHANGELOG.rst | 7 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 8 files changed, 23 insertions(+), 14 deletions(-) create mode 100644 .changes/1.36.34.json delete mode 100644 .changes/next-release/api-change-iotsecuretunneling-10791.json delete mode 100644 .changes/next-release/api-change-supplychain-18161.json diff --git a/.changes/1.36.34.json b/.changes/1.36.34.json new file mode 100644 index 000000000000..9cf6cd8cf0b0 --- /dev/null +++ b/.changes/1.36.34.json @@ -0,0 +1,12 @@ +[ + { + "category": "``iotsecuretunneling``", + "description": "Adds dualstack endpoint support for IoT Secure Tunneling", + "type": "api-change" + }, + { + "category": "``supplychain``", + "description": "Allow vanity DNS domain when creating a new ASC instance", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-iotsecuretunneling-10791.json b/.changes/next-release/api-change-iotsecuretunneling-10791.json deleted file mode 100644 index 5fd4ee7a0a68..000000000000 --- a/.changes/next-release/api-change-iotsecuretunneling-10791.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``iotsecuretunneling``", - "description": "Adds dualstack endpoint support for IoT Secure Tunneling" -} diff --git a/.changes/next-release/api-change-supplychain-18161.json b/.changes/next-release/api-change-supplychain-18161.json deleted file mode 100644 index 6d109fd48064..000000000000 --- a/.changes/next-release/api-change-supplychain-18161.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``supplychain``", - "description": "Allow vanity DNS domain when creating a new ASC instance" -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 94fe421f19b2..7ac5fb07e6ae 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,13 @@ CHANGELOG ========= +1.36.34 +======= + +* api-change:``iotsecuretunneling``: Adds dualstack endpoint support for IoT Secure Tunneling +* api-change:``supplychain``: Allow vanity DNS domain when creating a new ASC instance + + 1.36.33 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index dea96a5e06f5..b4c52eaab45f 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.36.33' +__version__ = '1.36.34' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 3ba9f04b500f..267c445b01ee 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.36.' # The full version, including alpha/beta/rc tags. -release = '1.36.33' +release = '1.36.34' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index dfaae953bf86..ebf55f4554b9 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.92 + botocore==1.35.93 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 7eb73933b14c..fd1283982935 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.92', + 'botocore==1.35.93', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 4e63b63d7ce828cd97ed07ad2d0148b680489b59 Mon Sep 17 00:00:00 2001 From: Steve Yoo <106777148+hssyoo@users.noreply.github.com> Date: Mon, 6 Jan 2025 16:47:26 -0500 Subject: [PATCH 0381/1087] Expose `--bucket-name-prefix` and `--bucket-region` to `s3 ls` (#9189) --- .../next-release/enhancement-s3ls-20704.json | 5 ++ awscli/customizations/s3/subcommands.py | 40 ++++++++- tests/functional/s3/test_ls_command.py | 20 +++++ .../customizations/s3/test_subcommands.py | 89 ++++++++++++++++--- 4 files changed, 138 insertions(+), 16 deletions(-) create mode 100644 .changes/next-release/enhancement-s3ls-20704.json diff --git a/.changes/next-release/enhancement-s3ls-20704.json b/.changes/next-release/enhancement-s3ls-20704.json new file mode 100644 index 000000000000..a98c6c6bb8a8 --- /dev/null +++ b/.changes/next-release/enhancement-s3ls-20704.json @@ -0,0 +1,5 @@ +{ + "type": "enhancement", + "category": "``s3 ls``", + "description": "Expose low-level ``ListBuckets` parameters ``Prefix`` and ``BucketRegion`` to high-level ``s3 ls`` command as ``--bucket-name-prefix`` and ``--bucket-region``." +} diff --git a/awscli/customizations/s3/subcommands.py b/awscli/customizations/s3/subcommands.py index e5a3f8a4d4fe..e0f79b90bcbe 100644 --- a/awscli/customizations/s3/subcommands.py +++ b/awscli/customizations/s3/subcommands.py @@ -462,6 +462,26 @@ 'help_text': 'Indicates the algorithm used to create the checksum for the object.' } +BUCKET_NAME_PREFIX = { + 'name': 'bucket-name-prefix', + 'help_text': ( + 'Limits the response to bucket names that begin with the specified ' + 'bucket name prefix.' + ) +} + +BUCKET_REGION = { + 'name': 'bucket-region', + 'help_text': ( + 'Limits the response to buckets that are located in the specified ' + 'Amazon Web Services Region. The Amazon Web Services Region must be ' + 'expressed according to the Amazon Web Services Region code, such as ' + 'us-west-2 for the US West (Oregon) Region. For a list of the valid ' + 'values for all of the Amazon Web Services Regions, see ' + 'https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region' + ) +} + TRANSFER_ARGS = [DRYRUN, QUIET, INCLUDE, EXCLUDE, ACL, FOLLOW_SYMLINKS, NO_FOLLOW_SYMLINKS, NO_GUESS_MIME_TYPE, SSE, SSE_C, SSE_C_KEY, SSE_KMS_KEY_ID, SSE_C_COPY_SOURCE, @@ -494,7 +514,8 @@ class ListCommand(S3Command): USAGE = " or NONE" ARG_TABLE = [{'name': 'paths', 'nargs': '?', 'default': 's3://', 'positional_arg': True, 'synopsis': USAGE}, RECURSIVE, - PAGE_SIZE, HUMAN_READABLE, SUMMARIZE, REQUEST_PAYER] + PAGE_SIZE, HUMAN_READABLE, SUMMARIZE, REQUEST_PAYER, + BUCKET_NAME_PREFIX, BUCKET_REGION] def _run_main(self, parsed_args, parsed_globals): super(ListCommand, self)._run_main(parsed_args, parsed_globals) @@ -508,7 +529,11 @@ def _run_main(self, parsed_args, parsed_globals): path = path[5:] bucket, key = find_bucket_key(path) if not bucket: - self._list_all_buckets(parsed_args.page_size) + self._list_all_buckets( + parsed_args.page_size, + parsed_args.bucket_name_prefix, + parsed_args.bucket_region, + ) elif parsed_args.dir_op: # Then --recursive was specified. self._list_all_objects_recursive( @@ -572,11 +597,20 @@ def _display_page(self, response_data, use_basename=True): uni_print(print_str) self._at_first_page = False - def _list_all_buckets(self, page_size=None): + def _list_all_buckets( + self, + page_size=None, + prefix=None, + bucket_region=None, + ): paginator = self.client.get_paginator('list_buckets') paging_args = { 'PaginationConfig': {'PageSize': page_size} } + if prefix: + paging_args['Prefix'] = prefix + if bucket_region: + paging_args['BucketRegion'] = bucket_region iterator = paginator.paginate(**paging_args) diff --git a/tests/functional/s3/test_ls_command.py b/tests/functional/s3/test_ls_command.py index 4b730c2621b9..4df626f8b600 100644 --- a/tests/functional/s3/test_ls_command.py +++ b/tests/functional/s3/test_ls_command.py @@ -215,3 +215,23 @@ def test_accesspoint_arn(self): self.run_cmd('s3 ls s3://%s' % arn, expected_rc=0) call_args = self.operations_called[0][1] self.assertEqual(call_args['Bucket'], arn) + + def test_list_buckets_uses_bucket_name_prefix(self): + stdout, _, _ = self.run_cmd('s3 ls --bucket-name-prefix myprefix', expected_rc=0) + call_args = self.operations_called[0][1] + self.assertEqual(call_args['Prefix'], 'myprefix') + + def test_list_buckets_uses_bucket_region(self): + stdout, _, _ = self.run_cmd('s3 ls --bucket-region us-west-1', expected_rc=0) + call_args = self.operations_called[0][1] + self.assertEqual(call_args['BucketRegion'], 'us-west-1') + + def test_list_objects_ignores_bucket_name_prefix(self): + stdout, _, _ = self.run_cmd('s3 ls s3://mybucket --bucket-name-prefix myprefix', expected_rc=0) + call_args = self.operations_called[0][1] + self.assertEqual(call_args['Prefix'], '') + + def test_list_objects_ignores_bucket_region(self): + stdout, _, _ = self.run_cmd('s3 ls s3://mybucket --bucket-region us-west-1', expected_rc=0) + call_args = self.operations_called[0][1] + self.assertNotIn('BucketRegion', call_args) diff --git a/tests/unit/customizations/s3/test_subcommands.py b/tests/unit/customizations/s3/test_subcommands.py index 53016bbdb04c..09dd0a3db667 100644 --- a/tests/unit/customizations/s3/test_subcommands.py +++ b/tests/unit/customizations/s3/test_subcommands.py @@ -88,11 +88,27 @@ def setUp(self): self.session.create_client.return_value.get_paginator.return_value\ .paginate.return_value = [{'Contents': [], 'CommonPrefixes': []}] + def _get_fake_kwargs(self, override=None): + fake_kwargs = { + 'paths': 's3://', + 'dir_op': False, + 'human_readable': False, + 'summarize': False, + 'page_size': None, + 'request_payer': None, + 'bucket_name_prefix': None, + 'bucket_region': None, + } + fake_kwargs.update(override or {}) + + return fake_kwargs + def test_ls_command_for_bucket(self): ls_command = ListCommand(self.session) - parsed_args = FakeArgs(paths='s3://mybucket/', dir_op=False, - page_size='5', human_readable=False, - summarize=False, request_payer=None) + parsed_args = FakeArgs(**self._get_fake_kwargs({ + 'paths': 's3://mybucket/', + 'page_size': '5', + })) parsed_globals = mock.Mock() ls_command._run_main(parsed_args, parsed_globals) call = self.session.create_client.return_value.list_objects_v2 @@ -113,9 +129,7 @@ def test_ls_command_with_no_args(self): ls_command = ListCommand(self.session) parsed_global = FakeArgs(region=None, endpoint_url=None, verify_ssl=None) - parsed_args = FakeArgs(dir_op=False, paths='s3://', - human_readable=False, summarize=False, - request_payer=None, page_size=None) + parsed_args = FakeArgs(**self._get_fake_kwargs()) ls_command._run_main(parsed_args, parsed_global) call = self.session.create_client.return_value.list_buckets paginate = self.session.create_client.return_value.get_paginator\ @@ -137,14 +151,61 @@ def test_ls_command_with_no_args(self): 's3', region_name=None, endpoint_url=None, verify=None, config=None)) + def test_ls_with_bucket_name_prefix(self): + ls_command = ListCommand(self.session) + parsed_args = FakeArgs(**self._get_fake_kwargs({ + 'bucket_name_prefix': 'myprefix', + })) + parsed_globals = FakeArgs( + region=None, + endpoint_url=None, + verify_ssl=None, + ) + ls_command._run_main(parsed_args, parsed_globals) + call = self.session.create_client.return_value.list_objects + paginate = self.session.create_client.return_value.get_paginator\ + .return_value.paginate + # We should make no operation calls. + self.assertEqual(call.call_count, 0) + self.session.create_client.return_value.get_paginator.\ + assert_called_with('list_buckets') + ref_call_args = { + 'PaginationConfig': {'PageSize': None}, + 'Prefix': 'myprefix', + } + + paginate.assert_called_with(**ref_call_args) + + def test_ls_with_bucket_region(self): + ls_command = ListCommand(self.session) + parsed_args = FakeArgs(**self._get_fake_kwargs({ + 'bucket_region': 'us-west-1', + })) + parsed_globals = FakeArgs( + region=None, + endpoint_url=None, + verify_ssl=None, + ) + ls_command._run_main(parsed_args, parsed_globals) + call = self.session.create_client.return_value.list_objects + paginate = self.session.create_client.return_value.get_paginator\ + .return_value.paginate + # We should make no operation calls. + self.assertEqual(call.call_count, 0) + self.session.create_client.return_value.get_paginator.\ + assert_called_with('list_buckets') + ref_call_args = { + 'PaginationConfig': {'PageSize': None}, + 'BucketRegion': 'us-west-1', + } + + paginate.assert_called_with(**ref_call_args) + def test_ls_with_verify_argument(self): - options = {'default': 's3://', 'nargs': '?'} ls_command = ListCommand(self.session) parsed_global = FakeArgs(region='us-west-2', endpoint_url=None, verify_ssl=False) - parsed_args = FakeArgs(paths='s3://', dir_op=False, - human_readable=False, summarize=False, - request_payer=None, page_size=None) + parsed_args = FakeArgs(**self._get_fake_kwargs({})) ls_command._run_main(parsed_args, parsed_global) # Verify get_client get_client = self.session.create_client @@ -155,9 +216,11 @@ def test_ls_with_verify_argument(self): def test_ls_with_requester_pays(self): ls_command = ListCommand(self.session) - parsed_args = FakeArgs(paths='s3://mybucket/', dir_op=False, - human_readable=False, summarize=False, - request_payer='requester', page_size='5') + parsed_args = FakeArgs(**self._get_fake_kwargs({ + 'paths': 's3://mybucket/', + 'page_size': '5', + 'request_payer': 'requester', + })) parsed_globals = mock.Mock() ls_command._run_main(parsed_args, parsed_globals) call = self.session.create_client.return_value.list_objects From 0550dd4e3d5a836848790342e2844af28644c62b Mon Sep 17 00:00:00 2001 From: Elysa Hall Date: Tue, 7 Jan 2025 16:43:33 +0000 Subject: [PATCH 0382/1087] Examples for ec2 --- ...ciate-transit-gateway-multicast-domain.rst | 2 +- .../ec2/delete-verified-access-endpoint.rst | 2 +- .../describe-verified-access-endpoints.rst | 4 +- .../examples/ec2/disable-address-transfer.rst | 2 +- ...etwork-performance-metric-subscription.rst | 2 +- awscli/examples/ec2/disable-fast-launch.rst | 4 +- .../ec2/disable-image-block-public-access.rst | 2 +- .../ec2/disable-image-deprecation.rst | 2 +- ...ciate-transit-gateway-multicast-domain.rst | 2 +- .../examples/ec2/enable-address-transfer.rst | 2 +- awscli/examples/ec2/enable-fast-launch.rst | 4 +- .../examples/ec2/enable-image-deprecation.rst | 6 +- ...export-client-vpn-client-configuration.rst | 86 +++++----- .../ec2/get-aws-network-performance-data.rst | 2 +- .../ec2/get-capacity-reservation-usage.rst | 48 +++--- awscli/examples/ec2/get-coip-pool-usage.rst | 2 +- .../get-groups-for-capacity-reservation.rst | 2 +- ...nsights-access-scope-analysis-findings.rst | 120 +++++++------- ...-network-insights-access-scope-content.rst | 70 ++++---- ...-gateway-multicast-domain-associations.rst | 2 +- ...transit-gateway-prefix-list-references.rst | 56 +++---- .../ec2/list-images-in-recycle-bin.rst | 2 +- .../ec2/list-snapshots-in-recycle-bin.rst | 2 +- .../ec2/modify-availability-zone-group.rst | 2 +- .../ec2/modify-capacity-reservation.rst | 50 +++--- awscli/examples/ec2/modify-fleet.rst | 2 +- awscli/examples/ec2/modify-hosts.rst | 72 ++++---- ...stance-capacity-reservation-attributes.rst | 60 +++---- .../modify-instance-maintenance-options.rst | 4 +- .../ec2/modify-instance-metadata-options.rst | 10 +- .../ec2/modify-instance-placement.rst | 156 +++++++++--------- awscli/examples/ec2/modify-snapshot-tier.rst | 8 +- ...-transit-gateway-prefix-list-reference.rst | 54 +++--- .../ec2/modify-verified-access-endpoint.rst | 4 +- ...instance-event-notification-attributes.rst | 4 +- ...ransit-gateway-multicast-group-members.rst | 2 +- ...ransit-gateway-multicast-group-sources.rst | 2 +- .../ec2/restore-image-from-recycle-bin.rst | 2 +- .../ec2/restore-snapshot-from-recycle-bin.rst | 2 +- awscli/examples/ec2/restore-snapshot-tier.rst | 8 +- ...earch-transit-gateway-multicast-groups.rst | 2 +- ...network-insights-access-scope-analysis.rst | 42 ++--- 42 files changed, 456 insertions(+), 456 deletions(-) diff --git a/awscli/examples/ec2/associate-transit-gateway-multicast-domain.rst b/awscli/examples/ec2/associate-transit-gateway-multicast-domain.rst index 43aeead45180..d68563864798 100755 --- a/awscli/examples/ec2/associate-transit-gateway-multicast-domain.rst +++ b/awscli/examples/ec2/associate-transit-gateway-multicast-domain.rst @@ -25,4 +25,4 @@ Output:: } } -For more information, see `Managing multicast domains `__ in the *Transit Gateways Guide*. \ No newline at end of file +For more information, see `Multicast domains `__ in the *Transit Gateways Guide*. diff --git a/awscli/examples/ec2/delete-verified-access-endpoint.rst b/awscli/examples/ec2/delete-verified-access-endpoint.rst index caed2b0be502..958fbe118c1c 100644 --- a/awscli/examples/ec2/delete-verified-access-endpoint.rst +++ b/awscli/examples/ec2/delete-verified-access-endpoint.rst @@ -34,4 +34,4 @@ Output:: } } -For more information, see `Verified Access endpoints `__ in the *AWS Verified Access User Guide*. +For more information, see `Verified Access endpoints `__ in the *AWS Verified Access User Guide*. diff --git a/awscli/examples/ec2/describe-verified-access-endpoints.rst b/awscli/examples/ec2/describe-verified-access-endpoints.rst index 8f15d97f2cf4..65926683bc12 100644 --- a/awscli/examples/ec2/describe-verified-access-endpoints.rst +++ b/awscli/examples/ec2/describe-verified-access-endpoints.rst @@ -1,6 +1,6 @@ **To describe a Verified Access endpoint** -The following ``delete-verified-access-endpoints`` example describes the specified Verified Access endpoint. :: +The following ``describe-verified-access-endpoints`` example describes the specified Verified Access endpoint. :: aws ec2 describe-verified-access-endpoints \ --verified-access-endpoint-ids vae-066fac616d4d546f2 @@ -42,4 +42,4 @@ Output:: ] } -For more information, see `Verified Access endpoints `__ in the *AWS Verified Access User Guide*. +For more information, see `Verified Access endpoints `__ in the *AWS Verified Access User Guide*. diff --git a/awscli/examples/ec2/disable-address-transfer.rst b/awscli/examples/ec2/disable-address-transfer.rst index dafbeb514a69..0653c3a383d3 100644 --- a/awscli/examples/ec2/disable-address-transfer.rst +++ b/awscli/examples/ec2/disable-address-transfer.rst @@ -15,4 +15,4 @@ Output:: } } -For more information, see `Transfer Elastic IP addresses `__ in the *Amazon VPC User Guide*. +For more information, see `Transfer Elastic IP addresses `__ in the *Amazon VPC User Guide*. diff --git a/awscli/examples/ec2/disable-aws-network-performance-metric-subscription.rst b/awscli/examples/ec2/disable-aws-network-performance-metric-subscription.rst index acc29262a982..b70677e4a5c2 100644 --- a/awscli/examples/ec2/disable-aws-network-performance-metric-subscription.rst +++ b/awscli/examples/ec2/disable-aws-network-performance-metric-subscription.rst @@ -14,4 +14,4 @@ Output:: "Output": true } -For more information, see `Manage subscriptions `__ in the *Infrastructure Performance User Guide*. \ No newline at end of file +For more information, see `Manage CloudWatch subscriptions using the CLI `__ in the *Infrastructure Performance User Guide*. diff --git a/awscli/examples/ec2/disable-fast-launch.rst b/awscli/examples/ec2/disable-fast-launch.rst index 00f576b138ce..28b9b204687f 100644 --- a/awscli/examples/ec2/disable-fast-launch.rst +++ b/awscli/examples/ec2/disable-fast-launch.rst @@ -1,6 +1,6 @@ **To discontinue fast launching for an image** -The following ``disable-fast-launch`` example discontinues fast launching on the specified AMI, and cleans up existing pre-provisioned snapshots. :: +The following ``disable-fast-launch`` example discontinues Fast Launch for the specified AMI, and cleans up existing pre-provisioned snapshots. :: aws ec2 disable-fast-launch \ --image-id ami-01234567890abcedf @@ -23,4 +23,4 @@ Output:: "StateTransitionTime": "2022-01-27T22:47:29.265000+00:00" } -For more information about configuring a Windows AMI for faster launching, see `Configure your AMI for faster launching `__ in the *Amazon EC2 User Guide*. \ No newline at end of file +For more information, see `Configure EC2 Fast Launch settings for your Windows AMI `__ in the *Amazon EC2 User Guide*. diff --git a/awscli/examples/ec2/disable-image-block-public-access.rst b/awscli/examples/ec2/disable-image-block-public-access.rst index 9b6f1e3f44ae..83e765900eff 100644 --- a/awscli/examples/ec2/disable-image-block-public-access.rst +++ b/awscli/examples/ec2/disable-image-block-public-access.rst @@ -11,4 +11,4 @@ Output:: "ImageBlockPublicAccessState": "unblocked" } -For more information, see `Block public access to your AMIs `__ in the *Amazon EC2 User Guide*. +For more information, see `Block public access to your AMIs `__ in the *Amazon EC2 User Guide*. diff --git a/awscli/examples/ec2/disable-image-deprecation.rst b/awscli/examples/ec2/disable-image-deprecation.rst index b1e916e42370..ad137bb3d558 100644 --- a/awscli/examples/ec2/disable-image-deprecation.rst +++ b/awscli/examples/ec2/disable-image-deprecation.rst @@ -12,4 +12,4 @@ Output:: "Return": "true" } -For more information, see `Deprecate an AMI ` in the *Amazon EC2 User Guide*. \ No newline at end of file +For more information, see `Deprecate an AMI `__ in the *Amazon EC2 User Guide*. diff --git a/awscli/examples/ec2/disassociate-transit-gateway-multicast-domain.rst b/awscli/examples/ec2/disassociate-transit-gateway-multicast-domain.rst index f8283f72e225..21620d965145 100755 --- a/awscli/examples/ec2/disassociate-transit-gateway-multicast-domain.rst +++ b/awscli/examples/ec2/disassociate-transit-gateway-multicast-domain.rst @@ -24,4 +24,4 @@ Output:: } } -For more information, see `Working with multicast `__ in the *Transit Gateways Guide*'. \ No newline at end of file +For more information, see `Multicast domains `__ in the *Transit Gateways Guide*'. diff --git a/awscli/examples/ec2/enable-address-transfer.rst b/awscli/examples/ec2/enable-address-transfer.rst index 43abe389e37b..e35d3d5c8aa6 100644 --- a/awscli/examples/ec2/enable-address-transfer.rst +++ b/awscli/examples/ec2/enable-address-transfer.rst @@ -18,4 +18,4 @@ Output:: } } -For more information, see `Transfer Elastic IP addresses `__ in the *Amazon VPC User Guide*. +For more information, see `Transfer Elastic IP addresses `__ in the *Amazon VPC User Guide*. diff --git a/awscli/examples/ec2/enable-fast-launch.rst b/awscli/examples/ec2/enable-fast-launch.rst index 0f903f39ed3c..5b3ba2af9b20 100644 --- a/awscli/examples/ec2/enable-fast-launch.rst +++ b/awscli/examples/ec2/enable-fast-launch.rst @@ -1,6 +1,6 @@ **To start fast launching for an image** -The following ``enable-fast-launch`` example starts fast launching on the specified AMI and sets the maximum number of parallel instances to launch to 6. The type of resource to use to pre-provision the AMI is set to ``snapshot``, which is also the default value. :: +The following ``enable-fast-launch`` example configures the specified AMI for Fast Launch and sets the maximum number of parallel instances to launch to 6. The type of resource to use to pre-provision the AMI is set to ``snapshot``, which is also the default value. :: aws ec2 enable-fast-launch \ --image-id ami-01234567890abcedf \ @@ -23,4 +23,4 @@ Output:: "StateTransitionTime": "2022-01-27T22:16:03.199000+00:00" } -For more information about configuring a Windows AMI for faster launching, see `Configure your AMI for faster launching `__ in the *Amazon EC2 User Guide*. \ No newline at end of file +For more information, see `Configure EC2 Fast Launch settings for your Windows AMI `__ in the *Amazon EC2 User Guide*. diff --git a/awscli/examples/ec2/enable-image-deprecation.rst b/awscli/examples/ec2/enable-image-deprecation.rst index 6d1066b52bc2..4f1580634490 100644 --- a/awscli/examples/ec2/enable-image-deprecation.rst +++ b/awscli/examples/ec2/enable-image-deprecation.rst @@ -1,10 +1,10 @@ -**Example 1: To deprecate an AMI** +**To deprecate an AMI** The following ``enable-image-deprecation`` example deprecates an AMI on a specific date and time. If you specify a value for seconds, Amazon EC2 rounds the seconds to the nearest minute. You must be the AMI owner to perform this procedure. :: aws ec2 enable-image-deprecation \ --image-id ami-1234567890abcdef0 \ - --deprecate-at "2022-10-15T13:17:12.000Z" + --deprecate-at '2022-10-15T13:17:12.000Z' Output:: @@ -13,4 +13,4 @@ Output:: "Return": "true" } -For more information, see `Deprecate an AMI ` in the *Amazon EC2 User Guide*. \ No newline at end of file +For more information, see `Deprecate an AMI `__ in the *Amazon EC2 User Guide*. diff --git a/awscli/examples/ec2/export-client-vpn-client-configuration.rst b/awscli/examples/ec2/export-client-vpn-client-configuration.rst index 697cd9069726..3aef880d2ebe 100644 --- a/awscli/examples/ec2/export-client-vpn-client-configuration.rst +++ b/awscli/examples/ec2/export-client-vpn-client-configuration.rst @@ -1,43 +1,43 @@ -**To export the client configuration** - -The following ``export-client-vpn-client-configuration`` example exports the client configuration for the specified Client VPN endpoint. In this example, the output is returned in text format to make it easier to read. :: - - aws ec2 export-client-vpn-client-configuration \ - --client-vpn-endpoint-id cvpn-endpoint-123456789123abcde \ - --output text - -Output:: - - client - dev tun - proto udp - remote cvpn-endpoint-123456789123abcde.prod.clientvpn.ap-south-1.amazonaws.com 443 - remote-random-hostname - resolv-retry infinite - nobind - persist-key - persist-tun - remote-cert-tls server - cipher AES-256-GCM - verb 3 - - -----BEGIN CERTIFICATE----- - MIICiTCCAfICCQD6m7oRw0uXOjANBgkqhkiG9w0BAQUFADCBiDELMAkGA1UEBhMC - VVMxCzAJBgNVBAgTAldBMRAwDgYDVQQHEwdTZWF0dGxlMQ8wDQYDVQQKEwZBbWF6 - b24xFDASBgNVBAsTC0lBTSBDb25zb2xlMRIwEAYDVQQDEwlUZXN0Q2lsYWMxHzAd - BgkqhkiG9w0BCQEWEG5vb25lQGFtYXpvbi5jb20wHhcNMTEwNDI1MjA0NTIxWhcN - MTIwNDI0MjA0NTIxWjCBiDELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAldBMRAwDgYD - VQQHEwdTZWF0dGxlMQ8wDQYDVQQKEwZBbWF6b24xFDASBgNVBAsTC0lBTSBDb25z - b2xlMRIwEAYDVQQDEwlUZXN0Q2lsYWMxHzAdBgkqhkiG9w0BCQEWEG5vb25lQGFt - YXpvbi5jb20wgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMaK0dn+a4GmWIWJ - 21uUSfwfEvySWtC2XADZ4nB+BLYgVIk60CpiwsZ3G93vUEIO3IyNoH/f0wYK8m9T - rDHudUZg3qX4waLG5M43q7Wgc/MbQITxOUSQv7c7ugFFDzQGBzZswY6786m86gpE - Ibb3OhjZnzcvQAaRHhdlQWIMm2nrAgMBAAEwDQYJKoZIhvcNAQEFBQADgYEAtCu4 - nUhVVxYUntneD9+h8Mg9q6q+auNKyExzyLwaxlAoo7TJHidbtS4J5iNmZgXL0Fkb - FFBjvSfpJIlJ00zbhNYS5f6GuoEDmFJl0ZxBHjJnyp378OD8uTs7fLvjx79LjSTb - NYiytVbZPQUQ5Yaxu2jXnimvw3rrszlaEXAMPLE= - -----END CERTIFICATE----- - - reneg-sec 0 - -For more information, see `Client VPN Endpoints `__ in the *AWS Client VPN Administrator Guide*. +**To export the client configuration** + +The following ``export-client-vpn-client-configuration`` example exports the client configuration for the specified Client VPN endpoint. In this example, the output is returned in text format to make it easier to read. :: + + aws ec2 export-client-vpn-client-configuration \ + --client-vpn-endpoint-id cvpn-endpoint-123456789123abcde \ + --output text + +Output:: + + client + dev tun + proto udp + remote cvpn-endpoint-123456789123abcde.prod.clientvpn.ap-south-1.amazonaws.com 443 + remote-random-hostname + resolv-retry infinite + nobind + persist-key + persist-tun + remote-cert-tls server + cipher AES-256-GCM + verb 3 + + -----BEGIN CERTIFICATE----- + MIICiTCCAfICCQD6m7oRw0uXOjANBgkqhkiG9w0BAQUFADCBiDELMAkGA1UEBhMC + VVMxCzAJBgNVBAgTAldBMRAwDgYDVQQHEwdTZWF0dGxlMQ8wDQYDVQQKEwZBbWF6 + b24xFDASBgNVBAsTC0lBTSBDb25zb2xlMRIwEAYDVQQDEwlUZXN0Q2lsYWMxHzAd + BgkqhkiG9w0BCQEWEG5vb25lQGFtYXpvbi5jb20wHhcNMTEwNDI1MjA0NTIxWhcN + MTIwNDI0MjA0NTIxWjCBiDELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAldBMRAwDgYD + VQQHEwdTZWF0dGxlMQ8wDQYDVQQKEwZBbWF6b24xFDASBgNVBAsTC0lBTSBDb25z + b2xlMRIwEAYDVQQDEwlUZXN0Q2lsYWMxHzAdBgkqhkiG9w0BCQEWEG5vb25lQGFt + YXpvbi5jb20wgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMaK0dn+a4GmWIWJ + 21uUSfwfEvySWtC2XADZ4nB+BLYgVIk60CpiwsZ3G93vUEIO3IyNoH/f0wYK8m9T + rDHudUZg3qX4waLG5M43q7Wgc/MbQITxOUSQv7c7ugFFDzQGBzZswY6786m86gpE + Ibb3OhjZnzcvQAaRHhdlQWIMm2nrAgMBAAEwDQYJKoZIhvcNAQEFBQADgYEAtCu4 + nUhVVxYUntneD9+h8Mg9q6q+auNKyExzyLwaxlAoo7TJHidbtS4J5iNmZgXL0Fkb + FFBjvSfpJIlJ00zbhNYS5f6GuoEDmFJl0ZxBHjJnyp378OD8uTs7fLvjx79LjSTb + NYiytVbZPQUQ5Yaxu2jXnimvw3rrszlaEXAMPLE= + -----END CERTIFICATE----- + + reneg-sec 0 + +For more information, see `Client VPN endpoint configuration file export `__ in the *AWS Client VPN Administrator Guide*. diff --git a/awscli/examples/ec2/get-aws-network-performance-data.rst b/awscli/examples/ec2/get-aws-network-performance-data.rst index 8b6408bd701b..4462587d4e80 100644 --- a/awscli/examples/ec2/get-aws-network-performance-data.rst +++ b/awscli/examples/ec2/get-aws-network-performance-data.rst @@ -66,4 +66,4 @@ Output:: ] } -For more information, see `Monitor network performance `__ in the *Infrastructure Performance User Guide*. \ No newline at end of file +For more information, see `Monitor network performance `__ in the *Infrastructure Performance User Guide*. diff --git a/awscli/examples/ec2/get-capacity-reservation-usage.rst b/awscli/examples/ec2/get-capacity-reservation-usage.rst index 15dcffe3c6cc..579a3203ee8e 100644 --- a/awscli/examples/ec2/get-capacity-reservation-usage.rst +++ b/awscli/examples/ec2/get-capacity-reservation-usage.rst @@ -1,24 +1,24 @@ -**To view capacity reservation usage across AWS accounts** - -The following ``get-capacity-reservation-usage`` example displays usage information for the specified capacity reservation. :: - - aws ec2 get-capacity-reservation-usage \ - --capacity-reservation-id cr-1234abcd56EXAMPLE - -Output:: - - { - "CapacityReservationId": "cr-1234abcd56EXAMPLE ", - "InstanceUsages": [ - { - "UsedInstanceCount": 1, - "AccountId": "123456789012" - } - ], - "AvailableInstanceCount": 4, - "TotalInstanceCount": 5, - "State": "active", - "InstanceType": "t2.medium" - } - -For more information, see `Viewing Shared Capacity Reservation Usage `__ in the *Amazon Elastic Compute Cloud User Guide for Linux Instances*. +**To view capacity reservation usage across AWS accounts** + +The following ``get-capacity-reservation-usage`` example displays usage information for the specified capacity reservation. :: + + aws ec2 get-capacity-reservation-usage \ + --capacity-reservation-id cr-1234abcd56EXAMPLE + +Output:: + + { + "CapacityReservationId": "cr-1234abcd56EXAMPLE ", + "InstanceUsages": [ + { + "UsedInstanceCount": 1, + "AccountId": "123456789012" + } + ], + "AvailableInstanceCount": 4, + "TotalInstanceCount": 5, + "State": "active", + "InstanceType": "t2.medium" + } + +For more information, see `Shared Capacity Reservations `__ in the *Amazon EC2 User Guide*. diff --git a/awscli/examples/ec2/get-coip-pool-usage.rst b/awscli/examples/ec2/get-coip-pool-usage.rst index 51d2c6978cda..7daf8cea7c67 100644 --- a/awscli/examples/ec2/get-coip-pool-usage.rst +++ b/awscli/examples/ec2/get-coip-pool-usage.rst @@ -27,4 +27,4 @@ Output:: "LocalGatewayRouteTableId": "lgw-rtb-059615ef7dEXAMPLE" } -For more information, see `Customer-owned IP addresses `__ in the *AWS Outposts User Guide*. +For more information, see `Customer-owned IP addresses `__ in the *AWS Outposts User Guide for Outposts racks*. diff --git a/awscli/examples/ec2/get-groups-for-capacity-reservation.rst b/awscli/examples/ec2/get-groups-for-capacity-reservation.rst index e8a4d1d38f36..cdb4cb509e08 100644 --- a/awscli/examples/ec2/get-groups-for-capacity-reservation.rst +++ b/awscli/examples/ec2/get-groups-for-capacity-reservation.rst @@ -16,4 +16,4 @@ Output:: ] } -For more information, see `Working with Capacity Reservations `__ in the *Amazon Elastic Compute Cloud User Guide for Linux Instances*. \ No newline at end of file +For more information, see `Capacity Reservation groups `__ in the *Amazon EC2 User Guide*. diff --git a/awscli/examples/ec2/get-network-insights-access-scope-analysis-findings.rst b/awscli/examples/ec2/get-network-insights-access-scope-analysis-findings.rst index e5c4d8bdba74..c1d2d1f12eb1 100644 --- a/awscli/examples/ec2/get-network-insights-access-scope-analysis-findings.rst +++ b/awscli/examples/ec2/get-network-insights-access-scope-analysis-findings.rst @@ -1,60 +1,60 @@ -**To get the findings of Network Insights access scope analysis** - -The following ``get-network-insights-access-scope-analysis-findings`` example gets the selected scope analysis findings in your AWS account. :: - - aws ec2 get-network-insights-access-scope-analysis-findings \ - --region us-east-1 \ - --network-insights-access-scope-analysis-id nis \ - --nis-123456789111 - -Output:: - - { - "NetworkInsightsAccessScopeAnalysisId": "nisa-123456789222", - "AnalysisFindings": [ - { - "NetworkInsightsAccessScopeAnalysisId": "nisa-123456789222", - "NetworkInsightsAccessScopeId": "nis-123456789111", - "FindingComponents": [ - { - "SequenceNumber": 1, - "Component": { - "Id": "eni-02e3d42d5cceca67d", - "Arn": "arn:aws:ec2:us-east-1:936459623503:network-interface/eni-02e3d32d9cceca17d" - }, - "OutboundHeader": { - "DestinationAddresses": [ - "0.0.0.0/5", - "11.0.0.0/8", - "12.0.0.0/6", - "128.0.0.0/3", - "16.0.0.0/4", - "160.0.0.0/5", - "168.0.0.0/6", - "172.0.0.0/12" - "8.0.0.0/7" - ], - "DestinationPortRanges": [ - { - "From": 0, - "To": 65535 - } - ], - "Protocol": "6", - "SourceAddresses": [ - "10.0.2.253/32" - ], - "SourcePortRanges": [ - { - "From": 0, - "To": 65535 - } - ] - }, [etc] - ] - } - } - ] - } - -For more information, see `Getting started with Network Access Analyzer using the AWS CLI `__ in the *Network Access Analyzer Guide*. \ No newline at end of file +**To get the findings of Network Insights access scope analysis** + +The following ``get-network-insights-access-scope-analysis-findings`` example gets the selected scope analysis findings in your AWS account. :: + + aws ec2 get-network-insights-access-scope-analysis-findings \ + --region us-east-1 \ + --network-insights-access-scope-analysis-id nis \ + --nis-123456789111 + +Output:: + + { + "NetworkInsightsAccessScopeAnalysisId": "nisa-123456789222", + "AnalysisFindings": [ + { + "NetworkInsightsAccessScopeAnalysisId": "nisa-123456789222", + "NetworkInsightsAccessScopeId": "nis-123456789111", + "FindingComponents": [ + { + "SequenceNumber": 1, + "Component": { + "Id": "eni-02e3d42d5cceca67d", + "Arn": "arn:aws:ec2:us-east-1:936459623503:network-interface/eni-02e3d32d9cceca17d" + }, + "OutboundHeader": { + "DestinationAddresses": [ + "0.0.0.0/5", + "11.0.0.0/8", + "12.0.0.0/6", + "128.0.0.0/3", + "16.0.0.0/4", + "160.0.0.0/5", + "168.0.0.0/6", + "172.0.0.0/12" + "8.0.0.0/7" + ], + "DestinationPortRanges": [ + { + "From": 0, + "To": 65535 + } + ], + "Protocol": "6", + "SourceAddresses": [ + "10.0.2.253/32" + ], + "SourcePortRanges": [ + { + "From": 0, + "To": 65535 + } + ] + }, [etc] + ] + } + } + ] + } + +For more information, see `Getting started with Network Access Analyzer using the AWS CLI `__ in the *Network Access Analyzer Guide*. diff --git a/awscli/examples/ec2/get-network-insights-access-scope-content.rst b/awscli/examples/ec2/get-network-insights-access-scope-content.rst index 713984a042b6..f5a0013cd57a 100644 --- a/awscli/examples/ec2/get-network-insights-access-scope-content.rst +++ b/awscli/examples/ec2/get-network-insights-access-scope-content.rst @@ -1,35 +1,35 @@ -**To get Network Insights access scope content** - -The following ``get-network-insights-access-scope-content`` example gets the content of the selected scope analysis ID in your AWS account. :: - - aws ec2 get-network-insights-access-scope-content \ - --region us-east-1 \ - --network-insights-access-scope-id nis-123456789222 - -Output:: - - { - "NetworkInsightsAccessScopeContent": { - "NetworkInsightsAccessScopeId": "nis-123456789222", - "MatchPaths": [ - { - "Source": { - "ResourceStatement": { - "ResourceTypes": [ - "AWS::EC2::NetworkInterface" - ] - } - }, - "Destination": { - "ResourceStatement": { - "ResourceTypes": [ - "AWS::EC2::InternetGateway" - ] - } - } - } - ] - } - } - -For more information, see `Getting started with Network Access Analyzer using the AWS CLI `__ in the *Network Access Analyzer Guide*. \ No newline at end of file +**To get Network Insights access scope content** + +The following ``get-network-insights-access-scope-content`` example gets the content of the selected scope analysis ID in your AWS account. :: + + aws ec2 get-network-insights-access-scope-content \ + --region us-east-1 \ + --network-insights-access-scope-id nis-123456789222 + +Output:: + + { + "NetworkInsightsAccessScopeContent": { + "NetworkInsightsAccessScopeId": "nis-123456789222", + "MatchPaths": [ + { + "Source": { + "ResourceStatement": { + "ResourceTypes": [ + "AWS::EC2::NetworkInterface" + ] + } + }, + "Destination": { + "ResourceStatement": { + "ResourceTypes": [ + "AWS::EC2::InternetGateway" + ] + } + } + } + ] + } + } + +For more information, see `Getting started with Network Access Analyzer using the AWS CLI `__ in the *Network Access Analyzer Guide*. diff --git a/awscli/examples/ec2/get-transit-gateway-multicast-domain-associations.rst b/awscli/examples/ec2/get-transit-gateway-multicast-domain-associations.rst index 08e3c8ab8def..90ddbbe1c2cb 100755 --- a/awscli/examples/ec2/get-transit-gateway-multicast-domain-associations.rst +++ b/awscli/examples/ec2/get-transit-gateway-multicast-domain-associations.rst @@ -57,4 +57,4 @@ Output:: ] } -For more information, see `Managing multicast domains `__ in the *Transit Gateways Guide*. \ No newline at end of file +For more information, see `Multicast domains `__ in the *Transit Gateways Guide*. diff --git a/awscli/examples/ec2/get-transit-gateway-prefix-list-references.rst b/awscli/examples/ec2/get-transit-gateway-prefix-list-references.rst index f3c695898eb1..2a73a6e20ad1 100644 --- a/awscli/examples/ec2/get-transit-gateway-prefix-list-references.rst +++ b/awscli/examples/ec2/get-transit-gateway-prefix-list-references.rst @@ -1,28 +1,28 @@ -**To get prefix list references in a transit gateway route table** - -The following ``get-transit-gateway-prefix-list-references`` example gets the prefix list references for the specified transit gateway route table, and filters by the ID of a specific prefix list. :: - - aws ec2 get-transit-gateway-prefix-list-references \ - --transit-gateway-route-table-id tgw-rtb-0123456789abcd123 \ - --filters Name=prefix-list-id,Values=pl-11111122222222333 - -Output:: - - { - "TransitGatewayPrefixListReferences": [ - { - "TransitGatewayRouteTableId": "tgw-rtb-0123456789abcd123", - "PrefixListId": "pl-11111122222222333", - "PrefixListOwnerId": "123456789012", - "State": "available", - "Blackhole": false, - "TransitGatewayAttachment": { - "TransitGatewayAttachmentId": "tgw-attach-aabbccddaabbccaab", - "ResourceType": "vpc", - "ResourceId": "vpc-112233445566aabbc" - } - } - ] - } - -For more information, see `Prefix list references `__ in the *Transit Gateways Guide*. +**To get prefix list references in a transit gateway route table** + +The following ``get-transit-gateway-prefix-list-references`` example gets the prefix list references for the specified transit gateway route table, and filters by the ID of a specific prefix list. :: + + aws ec2 get-transit-gateway-prefix-list-references \ + --transit-gateway-route-table-id tgw-rtb-0123456789abcd123 \ + --filters Name=prefix-list-id,Values=pl-11111122222222333 + +Output:: + + { + "TransitGatewayPrefixListReferences": [ + { + "TransitGatewayRouteTableId": "tgw-rtb-0123456789abcd123", + "PrefixListId": "pl-11111122222222333", + "PrefixListOwnerId": "123456789012", + "State": "available", + "Blackhole": false, + "TransitGatewayAttachment": { + "TransitGatewayAttachmentId": "tgw-attach-aabbccddaabbccaab", + "ResourceType": "vpc", + "ResourceId": "vpc-112233445566aabbc" + } + } + ] + } + +For more information, see `Prefix list references `__ in the *Transit Gateways Guide*. diff --git a/awscli/examples/ec2/list-images-in-recycle-bin.rst b/awscli/examples/ec2/list-images-in-recycle-bin.rst index b375b8cde15c..ceee4b13566f 100644 --- a/awscli/examples/ec2/list-images-in-recycle-bin.rst +++ b/awscli/examples/ec2/list-images-in-recycle-bin.rst @@ -18,4 +18,4 @@ Output:: ] } -For more information, see `Recover AMIs from the Recycle Bin `__ in the *Amazon Elastic Compute Cloud User Guide*. \ No newline at end of file +For more information, see `Recover deleted AMIs from the Recycle Bin `__ in the *Amazon EBS User Guide*. diff --git a/awscli/examples/ec2/list-snapshots-in-recycle-bin.rst b/awscli/examples/ec2/list-snapshots-in-recycle-bin.rst index c4a8d6b7436d..9abe1fb74f5e 100644 --- a/awscli/examples/ec2/list-snapshots-in-recycle-bin.rst +++ b/awscli/examples/ec2/list-snapshots-in-recycle-bin.rst @@ -19,4 +19,4 @@ Output:: ] } -For more information about Recycle Bin for Amazon EBS, see `Recover snapshots from the Recycle Bin `__ in the *Amazon EC2 User Guide*. \ No newline at end of file +For more information about Recycle Bin, see `Recover deleted snapshots from the Recycle Bin `__ in the *Amazon EBS User Guide*. diff --git a/awscli/examples/ec2/modify-availability-zone-group.rst b/awscli/examples/ec2/modify-availability-zone-group.rst index c6e79c72ae0a..c9315139869c 100644 --- a/awscli/examples/ec2/modify-availability-zone-group.rst +++ b/awscli/examples/ec2/modify-availability-zone-group.rst @@ -12,4 +12,4 @@ Output:: "Return": true } -For more information, see `Regions and Zones `__ in the *Amazon Elastic Compute Cloud User Guide for Linux Instances*. \ No newline at end of file +For more information, see `Regions and Zones `__ in the *Amazon EC2 User Guide*. diff --git a/awscli/examples/ec2/modify-capacity-reservation.rst b/awscli/examples/ec2/modify-capacity-reservation.rst index e1306bca5efa..4668040d76d1 100644 --- a/awscli/examples/ec2/modify-capacity-reservation.rst +++ b/awscli/examples/ec2/modify-capacity-reservation.rst @@ -1,24 +1,26 @@ -**Example 1: To change the number of instances reserved by an existing capacity reservation** - -The following ``modify-capacity-reservation`` example changes the number of instances for which the capacity reservation reserves capacity. :: - - aws ec2 modify-capacity-reservation \ - --capacity-reservation-id cr-1234abcd56EXAMPLE \ - --instance-count 5 - -Output:: - - { - "Return": true - } - -**Example 2: To change the end date and time for an existing capacity reservation** - -The following ``modify-capacity-reservation`` example modifies an existing capacity reservation to end at the specified date and time. :: - - aws ec2 modify-capacity-reservation \ - --capacity-reservation-id cr-1234abcd56EXAMPLE \ - --end-date-type limited \ - --end-date 2019-08-31T23:59:59Z - -For more information, see `Modifying a Capacity Reservation `__ in the *Amazon Elastic Compute Cloud User Guide for Linux Instances*. +**Example 1: To change the number of instances reserved by an existing capacity reservation** + +The following ``modify-capacity-reservation`` example changes the number of instances for which the capacity reservation reserves capacity. :: + + aws ec2 modify-capacity-reservation \ + --capacity-reservation-id cr-1234abcd56EXAMPLE \ + --instance-count 5 + +Output:: + + { + "Return": true + } + +For more information, see `Modify a Capacity Reservation `__ in the *Amazon EC2 User Guide*. + +**Example 2: To change the end date and time for an existing capacity reservation** + +The following ``modify-capacity-reservation`` example modifies an existing capacity reservation to end at the specified date and time. :: + + aws ec2 modify-capacity-reservation \ + --capacity-reservation-id cr-1234abcd56EXAMPLE \ + --end-date-type limited \ + --end-date 2019-08-31T23:59:59Z + +For more information, see `Modify a Capacity Reservation `__ in the *Amazon EC2 User Guide*. diff --git a/awscli/examples/ec2/modify-fleet.rst b/awscli/examples/ec2/modify-fleet.rst index 4bc309a86497..922dca1f4f19 100644 --- a/awscli/examples/ec2/modify-fleet.rst +++ b/awscli/examples/ec2/modify-fleet.rst @@ -12,4 +12,4 @@ Output:: "Return": true } -For more information, see `Managing an EC2 Fleet `__ in the *Amazon Elastic Compute Cloud User Guide for Linux Instances*. \ No newline at end of file +For more information, see `Manage an EC2 Fleet `__ in the *Amazon EC2 User Guide*. diff --git a/awscli/examples/ec2/modify-hosts.rst b/awscli/examples/ec2/modify-hosts.rst index 737457d77f2c..952e9483c23f 100644 --- a/awscli/examples/ec2/modify-hosts.rst +++ b/awscli/examples/ec2/modify-hosts.rst @@ -1,35 +1,37 @@ -**Example 1: To enable auto-placement for a Dedicated Host** - -The following ``modify-hosts`` example enables auto-placement for a Dedicated Host so that it accepts any untargeted instance launches that match its instance type configuration. :: - - aws ec2 modify-hosts \ - --host-id h-06c2f189b4EXAMPLE \ - --auto-placement on - -Output:: - - { - "Successful": [ - "h-06c2f189b4EXAMPLE" - ], - "Unsuccessful": [] - } - -**Example 2: To enable host recovery for a Dedicated Host** - -The following ``modify-hosts`` example enables host recovery for the specified Dedicated Host. :: - - aws ec2 modify-hosts \ - --host-id h-06c2f189b4EXAMPLE \ - --host-recovery on - -Output:: - - { - "Successful": [ - "h-06c2f189b4EXAMPLE" - ], - "Unsuccessful": [] - } - -For more information, see `Modifying Dedicated Host Auto-Placement `__ in the *Amazon Elastic Compute Cloud User Guide for Linux Instances*. +**Example 1: To enable auto-placement for a Dedicated Host** + +The following ``modify-hosts`` example enables auto-placement for a Dedicated Host so that it accepts any untargeted instance launches that match its instance type configuration. :: + + aws ec2 modify-hosts \ + --host-id h-06c2f189b4EXAMPLE \ + --auto-placement on + +Output:: + + { + "Successful": [ + "h-06c2f189b4EXAMPLE" + ], + "Unsuccessful": [] + } + +For more information, see `Modify the auto-placement setting for a Dedicated Host `__ in the *Amazon EC2 User Guide*. + +**Example 2: To enable host recovery for a Dedicated Host** + +The following ``modify-hosts`` example enables host recovery for the specified Dedicated Host. :: + + aws ec2 modify-hosts \ + --host-id h-06c2f189b4EXAMPLE \ + --host-recovery on + +Output:: + + { + "Successful": [ + "h-06c2f189b4EXAMPLE" + ], + "Unsuccessful": [] + } + +For more information, see `Modify the auto-placement setting for a Dedicated Host `__ in the *Amazon EC2 User Guide*. diff --git a/awscli/examples/ec2/modify-instance-capacity-reservation-attributes.rst b/awscli/examples/ec2/modify-instance-capacity-reservation-attributes.rst index 7d08f5857870..821dcc50e30b 100644 --- a/awscli/examples/ec2/modify-instance-capacity-reservation-attributes.rst +++ b/awscli/examples/ec2/modify-instance-capacity-reservation-attributes.rst @@ -1,29 +1,31 @@ -**Example 1: To modify an instance's capacity reservation targeting settings** - -The following ``modify-instance-capacity-reservation-attributes`` example modifies a stopped instance to target a specific capacity reservation. :: - - aws ec2 modify-instance-capacity-reservation-attributes \ - --instance-id i-EXAMPLE8765abcd4e \ - --capacity-reservation-specification 'CapacityReservationTarget={CapacityReservationId= cr-1234abcd56EXAMPLE }' - -Output:: - - { - "Return": true - } - -**Example 2: To modify an instance's capacity reservation targeting settings** - -The following ``modify-instance-capacity-reservation-attributes`` example modifies a stopped instance that targets the specified capacity reservation to launch in any capacity reservation that has matching attributes (instance type, platform, Availability Zone) and that has open instance matching criteria. :: - - aws ec2 modify-instance-capacity-reservation-attributes \ - --instance-id i-EXAMPLE8765abcd4e \ - --capacity-reservation-specification 'CapacityReservationPreference=open' - -Output:: - - { - "Return": true - } - -For more information, see `Modifying an Instance's Capacity Reservation Settings `__ in the *Amazon Elastic Compute Cloud User Guide for Linux Instances*. +**Example 1: To modify an instance's capacity reservation targeting settings** + +The following ``modify-instance-capacity-reservation-attributes`` example modifies a stopped instance to target a specific capacity reservation. :: + + aws ec2 modify-instance-capacity-reservation-attributes \ + --instance-id i-EXAMPLE8765abcd4e \ + --capacity-reservation-specification 'CapacityReservationTarget={CapacityReservationId= cr-1234abcd56EXAMPLE }' + +Output:: + + { + "Return": true + } + +For more information, see `Modify the Capacity Reservation settings of your instance `__ in the *Amazon EC2 User Guide*. + +**Example 2: To modify an instance's capacity reservation targeting settings** + +The following ``modify-instance-capacity-reservation-attributes`` example modifies a stopped instance that targets the specified capacity reservation to launch in any capacity reservation that has matching attributes (instance type, platform, Availability Zone) and that has open instance matching criteria. :: + + aws ec2 modify-instance-capacity-reservation-attributes \ + --instance-id i-EXAMPLE8765abcd4e \ + --capacity-reservation-specification 'CapacityReservationPreference=open' + +Output:: + + { + "Return": true + } + +For more information, see `Modify the Capacity Reservation settings of your instance `__ in the *Amazon EC2 User Guide*. diff --git a/awscli/examples/ec2/modify-instance-maintenance-options.rst b/awscli/examples/ec2/modify-instance-maintenance-options.rst index d3615befa19a..ffb974d38e2b 100644 --- a/awscli/examples/ec2/modify-instance-maintenance-options.rst +++ b/awscli/examples/ec2/modify-instance-maintenance-options.rst @@ -13,7 +13,7 @@ Output:: "AutoRecovery": "disabled" } -For more information, see `Recover your instance `__ in the *Amazon EC2 User Guide for Linux Instances*. +For more information, see `Configure simplified automatic recovery `__ in the *Amazon EC2 User Guide*. **Example 2: To set the recovery behavior of an instance to default** @@ -30,4 +30,4 @@ Output:: "AutoRecovery": "default" } -For more information, see `Recover your instance `__ in the *Amazon EC2 User Guide for Linux Instances*. +For more information, see `Configure simplified automatic recovery `__ in the *Amazon EC2 User Guide*. diff --git a/awscli/examples/ec2/modify-instance-metadata-options.rst b/awscli/examples/ec2/modify-instance-metadata-options.rst index 951d8181849a..d48be5aa7765 100644 --- a/awscli/examples/ec2/modify-instance-metadata-options.rst +++ b/awscli/examples/ec2/modify-instance-metadata-options.rst @@ -19,8 +19,8 @@ Output:: } } -For more information, see `Instance metadata and user data `__ in the *Amazon Elastic Compute Cloud User Guide for Linux Instances*. - +For more information, see `Instance metadata `__ in the *Amazon EC2 User Guide*. + **Example 2: To disable instance metadata** The following ``modify-instance-metadata-options`` example disables the use of all versions of instance metadata on the specified instance. :: @@ -41,11 +41,11 @@ Output:: } } -For more information, see `Instance metadata and user data `__ in the *Amazon Elastic Compute Cloud User Guide for Linux Instances*. +For more information, see `Instance metadata `__ in the *Amazon EC2 User Guide*. **Example 3: To enable instance metadata IPv6 endpoint for your instance** -The following ``modify-instance-metadata-options`` example shows you how to turn on the IPv6 endpoint for the instance metadata service. :: +The following ``modify-instance-metadata-options`` example shows you how to turn on the IPv6 endpoint for the instance metadata service. By default, the IPv6 endpoint is disabled. This is true even if you have launched an instance into an IPv6-only subnet. The IPv6 endpoint for IMDS is only accessible on instances built on the Nitro System. :: aws ec2 modify-instance-metadata-options \ --instance-id i-1234567898abcdef0 \ @@ -65,4 +65,4 @@ Output:: } } -By default, the IPv6 endpoint is disabled. This is true even if you have launched an instance into an IPv6-only subnet. The IPv6 endpoint for IMDS is only accessible on instances built on the Nitro System. For more information, see `Instance metadata and user data `__ in the *Amazon Elastic Compute Cloud User Guide for Linux Instances*. \ No newline at end of file +For more information, see `Instance metadata `__ in the *Amazon EC2 User Guide*. diff --git a/awscli/examples/ec2/modify-instance-placement.rst b/awscli/examples/ec2/modify-instance-placement.rst index cd55c72eaeb9..4c356c2e1bb9 100644 --- a/awscli/examples/ec2/modify-instance-placement.rst +++ b/awscli/examples/ec2/modify-instance-placement.rst @@ -1,80 +1,76 @@ -**Example 1: To remove an instance's affinity with a Dedicated Host** - -The following ``modify-instance-placement`` example removes an instance's affinity with a Dedicated Host and enables it to launch on any available Dedicated Host in your account that supports its instance type. :: - - aws ec2 modify-instance-placement \ - --instance-id i-0e6ddf6187EXAMPLE \ - --affinity default - -Output:: - - { - "Return": true - } - -**Example 2: To establish affinity between an instance and the specified Dedicated Host** - -The following ``modify-instance-placement`` example establishes a launch relationship between an instance and a Dedicated Host. The instance is only able to run on the specified Dedicated Host. :: - - aws ec2 modify-instance-placement \ - --instance-id i-0e6ddf6187EXAMPLE \ - --affinity host \ - --host-id i-0e6ddf6187EXAMPLE - -Output:: - - { - "Return": true - } - -For more information, see `Modifying Instance Tenancy and Affinity `__ in the *Amazon Elastic Compute Cloud User Guide for Linux Instances*. - -**Example 3: To move an instance to a placement group** - -The following ``modify-instance-placement`` example moves an instance to a placement group, stop the instance, modify the instance placement, and then restart the instance. :: - - aws ec2 stop-instances \ - --instance-ids i-0123a456700123456 - - aws ec2 modify-instance-placement \ - --instance-id i-0123a456700123456 \ - --group-name MySpreadGroup - - aws ec2 start-instances \ - --instance-ids i-0123a456700123456 - -For more information, see `Changing the Placement Group for an Instance `__ in the *Amazon Elastic Compute Cloud Users Guide*. - -**Example 4: To remove an instance from a placement group** - -The following ``modify-instance-placement`` example removes an instance from a placement group by stopping the instance, modifying the instance placement, and then restarting the instance. The following example specifies an empty string ("") for the placement group name to indicate that the instance is not to be located in a placement group. - -Stop the instance:: - - aws ec2 stop-instances \ - --instance-ids i-0123a456700123456 - -Modify the placement (Windows Command Prompt, Linux, and macOS):: - - aws ec2 modify-instance-placement \ - --instance-id i-0123a456700123456 \ - --group-name "" - -Modify the placement (Windows PowerShell):: - - aws ec2 modify-instance-placement ` - --instance-id i-0123a456700123456 ` - --group-name """" - -Restart the instance:: - - aws ec2 start-instances \ - --instance-ids i-0123a456700123456 - -Output:: - - { - "Return": true - } - -For more information, see `Modifying Instance Tenancy and Affinity `__ in the *Amazon Elastic Compute Cloud User Guide for Linux Instances*. \ No newline at end of file +**Example 1: To remove an instance's affinity with a Dedicated Host** + +The following ``modify-instance-placement`` example removes an instance's affinity with a Dedicated Host and enables it to launch on any available Dedicated Host in your account that supports its instance type. :: + + aws ec2 modify-instance-placement \ + --instance-id i-0e6ddf6187EXAMPLE \ + --affinity default + +Output:: + + { + "Return": true + } + +**Example 2: To establish affinity between an instance and the specified Dedicated Host** + +The following ``modify-instance-placement`` example establishes a launch relationship between an instance and a Dedicated Host. The instance is only able to run on the specified Dedicated Host. :: + + aws ec2 modify-instance-placement \ + --instance-id i-0e6ddf6187EXAMPLE \ + --affinity host \ + --host-id i-0e6ddf6187EXAMPLE + +Output:: + + { + "Return": true + } + +**Example 3: To move an instance to a placement group** + +The following ``modify-instance-placement`` example moves an instance to a placement group, stop the instance, modify the instance placement, and then restart the instance. :: + + aws ec2 stop-instances \ + --instance-ids i-0123a456700123456 + + aws ec2 modify-instance-placement \ + --instance-id i-0123a456700123456 \ + --group-name MySpreadGroup + + aws ec2 start-instances \ + --instance-ids i-0123a456700123456 + +**Example 4: To remove an instance from a placement group** + +The following ``modify-instance-placement`` example removes an instance from a placement group by stopping the instance, modifying the instance placement, and then restarting the instance. The following example specifies an empty string ("") for the placement group name to indicate that the instance is not to be located in a placement group. + +Stop the instance:: + + aws ec2 stop-instances \ + --instance-ids i-0123a456700123456 + +Modify the placement (Windows Command Prompt):: + + aws ec2 modify-instance-placement \ + --instance-id i-0123a456700123456 \ + --group-name "" + +Modify the placement (Windows PowerShell, Linux, and macOS):: + + aws ec2 modify-instance-placement ` + --instance-id i-0123a456700123456 ` + --group-name '' + +Restart the instance:: + + aws ec2 start-instances \ + --instance-ids i-0123a456700123456 + +Output:: + + { + "Return": true + } + +For more information, see `Modify Dedicated Host tenancy and affinity `__ in the *Amazon EC2 User Guide*. diff --git a/awscli/examples/ec2/modify-snapshot-tier.rst b/awscli/examples/ec2/modify-snapshot-tier.rst index 89f7b5549020..d00059ed4bac 100644 --- a/awscli/examples/ec2/modify-snapshot-tier.rst +++ b/awscli/examples/ec2/modify-snapshot-tier.rst @@ -1,6 +1,6 @@ -**Example 1: To archive a snapshot** +**To archive a snapshot** -The following ``modify-snapshot-tier`` example archives the specified snapshot. :: +The following ``modify-snapshot-tier`` example archives the specified snapshot. The ``TieringStartTime`` response parameter indicates the date and time at which the archive process was started, in UTC time format (YYYY-MM-DDTHH:MM:SSZ). :: aws ec2 modify-snapshot-tier \ --snapshot-id snap-01234567890abcedf \ @@ -13,6 +13,4 @@ Output:: "TieringStartTime": "2021-09-15T16:44:37.574Z" } -The ``TieringStartTime`` response parameter indicates the date and time at which the archive process was started, in UTC time format (YYYY-MM-DDTHH:MM:SSZ). - -For more information about snapshot archiving, see `Archive Amazon EBS snapshots `__ in the *Amazon EC2 User Guide*. \ No newline at end of file +For more information about snapshot archiving, see `Archive Amazon EBS snapshots `__ in the *Amazon EBS User Guide*. diff --git a/awscli/examples/ec2/modify-transit-gateway-prefix-list-reference.rst b/awscli/examples/ec2/modify-transit-gateway-prefix-list-reference.rst index b4719a323560..4af295a7029d 100644 --- a/awscli/examples/ec2/modify-transit-gateway-prefix-list-reference.rst +++ b/awscli/examples/ec2/modify-transit-gateway-prefix-list-reference.rst @@ -1,27 +1,27 @@ -**To modify a reference to a prefix list** - -The following ``modify-transit-gateway-prefix-list-reference`` example modifies the prefix list reference in the specified route table by changing the attachment to which traffic is routed. :: - - aws ec2 modify-transit-gateway-prefix-list-reference \ - --transit-gateway-route-table-id tgw-rtb-0123456789abcd123 \ - --prefix-list-id pl-11111122222222333 \ - --transit-gateway-attachment-id tgw-attach-aabbccddaabbccaab - -Output:: - - { - "TransitGatewayPrefixListReference": { - "TransitGatewayRouteTableId": "tgw-rtb-0123456789abcd123", - "PrefixListId": "pl-11111122222222333", - "PrefixListOwnerId": "123456789012", - "State": "modifying", - "Blackhole": false, - "TransitGatewayAttachment": { - "TransitGatewayAttachmentId": "tgw-attach-aabbccddaabbccaab", - "ResourceType": "vpc", - "ResourceId": "vpc-112233445566aabbc" - } - } - } - -For more information, see `Prefix list references `__ in the *Transit Gateways Guide*. +**To modify a reference to a prefix list** + +The following ``modify-transit-gateway-prefix-list-reference`` example modifies the prefix list reference in the specified route table by changing the attachment to which traffic is routed. :: + + aws ec2 modify-transit-gateway-prefix-list-reference \ + --transit-gateway-route-table-id tgw-rtb-0123456789abcd123 \ + --prefix-list-id pl-11111122222222333 \ + --transit-gateway-attachment-id tgw-attach-aabbccddaabbccaab + +Output:: + + { + "TransitGatewayPrefixListReference": { + "TransitGatewayRouteTableId": "tgw-rtb-0123456789abcd123", + "PrefixListId": "pl-11111122222222333", + "PrefixListOwnerId": "123456789012", + "State": "modifying", + "Blackhole": false, + "TransitGatewayAttachment": { + "TransitGatewayAttachmentId": "tgw-attach-aabbccddaabbccaab", + "ResourceType": "vpc", + "ResourceId": "vpc-112233445566aabbc" + } + } + } + +For more information, see `Prefix list references `__ in the *Transit Gateways Guide*. diff --git a/awscli/examples/ec2/modify-verified-access-endpoint.rst b/awscli/examples/ec2/modify-verified-access-endpoint.rst index 4158acfc610c..d21e2cf5a5da 100644 --- a/awscli/examples/ec2/modify-verified-access-endpoint.rst +++ b/awscli/examples/ec2/modify-verified-access-endpoint.rst @@ -4,7 +4,7 @@ The following ``modify-verified-access-endpoint`` example adds the specified des aws ec2 modify-verified-access-endpoint \ --verified-access-endpoint-id vae-066fac616d4d546f2 \ - --description "Testing Verified Access" + --description 'Testing Verified Access' Output:: @@ -35,4 +35,4 @@ Output:: } } -For more information, see `Verified Access endpoints `__ in the *AWS Verified Access User Guide*. +For more information, see `Verified Access endpoints `__ in the *AWS Verified Access User Guide*. diff --git a/awscli/examples/ec2/register-instance-event-notification-attributes.rst b/awscli/examples/ec2/register-instance-event-notification-attributes.rst index b47c7aaf4316..db45a4dfacc1 100644 --- a/awscli/examples/ec2/register-instance-event-notification-attributes.rst +++ b/awscli/examples/ec2/register-instance-event-notification-attributes.rst @@ -14,7 +14,7 @@ Output:: } } -For more information, see `Scheduled events for your instances `__ in the *Amazon Elastic Compute Cloud User Guide for Linux Instances*. +For more information, see `Scheduled events for your instances `__ in the *Amazon EC2 User Guide*. **Example 2: To include specific tags in event notifications** @@ -35,4 +35,4 @@ Output:: } } -For more information, see `Scheduled events for your instances `__ in the *Amazon Elastic Compute Cloud User Guide for Linux Instances*. \ No newline at end of file +For more information, see `Scheduled events for your instances `__ in the *Amazon EC2 User Guide*. diff --git a/awscli/examples/ec2/register-transit-gateway-multicast-group-members.rst b/awscli/examples/ec2/register-transit-gateway-multicast-group-members.rst index 46ddf85f5cf6..bbb74add71e2 100755 --- a/awscli/examples/ec2/register-transit-gateway-multicast-group-members.rst +++ b/awscli/examples/ec2/register-transit-gateway-multicast-group-members.rst @@ -19,4 +19,4 @@ Output:: } } -For more information, see `Managing multicast domains `__ in the *Transit Gateways User Guide*. \ No newline at end of file +For more information, see `Multicast domains `__ in the *Transit Gateways User Guide*. diff --git a/awscli/examples/ec2/register-transit-gateway-multicast-group-sources.rst b/awscli/examples/ec2/register-transit-gateway-multicast-group-sources.rst index c8b67bfe69ff..545087ca7928 100644 --- a/awscli/examples/ec2/register-transit-gateway-multicast-group-sources.rst +++ b/awscli/examples/ec2/register-transit-gateway-multicast-group-sources.rst @@ -19,4 +19,4 @@ Output:: } } -For more information, see `Managing multicast domains `__ in the *Transit Gateways Guide*. \ No newline at end of file +For more information, see `Multicast domains `__ in the *Transit Gateways Guide*. diff --git a/awscli/examples/ec2/restore-image-from-recycle-bin.rst b/awscli/examples/ec2/restore-image-from-recycle-bin.rst index f3bc9224486d..97f5b47b7315 100644 --- a/awscli/examples/ec2/restore-image-from-recycle-bin.rst +++ b/awscli/examples/ec2/restore-image-from-recycle-bin.rst @@ -11,4 +11,4 @@ Output:: "Return": true } -For more information, see `Recover AMIs from the Recycle Bin `__ in the *Amazon Elastic Compute Cloud User Guide*. \ No newline at end of file +For more information, see `Recover deleted AMIs from the Recycle Bin `__ in the *Amazon EBS User Guide*. diff --git a/awscli/examples/ec2/restore-snapshot-from-recycle-bin.rst b/awscli/examples/ec2/restore-snapshot-from-recycle-bin.rst index 901823578b61..89970d86c142 100644 --- a/awscli/examples/ec2/restore-snapshot-from-recycle-bin.rst +++ b/awscli/examples/ec2/restore-snapshot-from-recycle-bin.rst @@ -7,4 +7,4 @@ The following ``restore-snapshot-from-recycle-bin`` example restores a snapshot This command produces no output. -For more information about Recycle Bin for Amazon EBS, see `Recover snapshots from the Recycle Bin `__ in the *Amazon EC2 User Guide*. \ No newline at end of file +For more information about Recycle Bin, see `Recover deleted snapshots from the Recycle Bin `__ in the *Amazon EBS User Guide*. diff --git a/awscli/examples/ec2/restore-snapshot-tier.rst b/awscli/examples/ec2/restore-snapshot-tier.rst index e62a70a856c9..f0c6cd206e69 100644 --- a/awscli/examples/ec2/restore-snapshot-tier.rst +++ b/awscli/examples/ec2/restore-snapshot-tier.rst @@ -13,7 +13,7 @@ Output:: "IsPermanentRestore": true } -For more information about snapshot archiving, see `Archive Amazon EBS snapshots ` in the *Amazon EC2 User Guide*. +For more information about snapshot archiving, see `Archive Amazon EBS snapshots `__ in the *Amazon EBS User Guide*. **Example 2: To temporarily restore an archived snapshot** @@ -31,7 +31,7 @@ Output:: "IsPermanentRestore": false } -For more information about snapshot archiving, see `Archive Amazon EBS snapshots ` in the *Amazon EC2 User Guide*. +For more information about snapshot archiving, see `Archive Amazon EBS snapshots `__ in the *Amazon EBS User Guide*. **Example 3: To modify the restore period** @@ -49,7 +49,7 @@ Output:: "IsPermanentRestore": false } -For more information about snapshot archiving, see `Archive Amazon EBS snapshots ` in the *Amazon EC2 User Guide*. +For more information about snapshot archiving, see `Archive Amazon EBS snapshots `__ in the *Amazon EBS User Guide*. **Example 4: To modify the restore type** @@ -66,4 +66,4 @@ Output:: "IsPermanentRestore": true } -For more information about snapshot archiving, see `Archive Amazon EBS snapshots ` in the *Amazon EC2 User Guide*. \ No newline at end of file +For more information about snapshot archiving, see `Archive Amazon EBS snapshots `__ in the *Amazon EBS User Guide*. diff --git a/awscli/examples/ec2/search-transit-gateway-multicast-groups.rst b/awscli/examples/ec2/search-transit-gateway-multicast-groups.rst index 0f801b40a60c..09adac09a4a3 100755 --- a/awscli/examples/ec2/search-transit-gateway-multicast-groups.rst +++ b/awscli/examples/ec2/search-transit-gateway-multicast-groups.rst @@ -23,4 +23,4 @@ Output:: ] } -For more information, see `Managing multicast groups `__ in the *Transit Gateways Guide*. \ No newline at end of file +For more information, see `Multicast on transit gateways `__ in the *Transit Gateways Guide*. diff --git a/awscli/examples/ec2/start-network-insights-access-scope-analysis.rst b/awscli/examples/ec2/start-network-insights-access-scope-analysis.rst index 90bddfc0b94a..4903f56b8bea 100644 --- a/awscli/examples/ec2/start-network-insights-access-scope-analysis.rst +++ b/awscli/examples/ec2/start-network-insights-access-scope-analysis.rst @@ -1,21 +1,21 @@ -**To start a Network Insights access scope analysis** - -The following ``start-network-insights-access-scope-analysis`` example starts the scope analysis in your AWS account. :: - - aws ec2 start-network-insights-access-scope-analysis \ - --region us-east-1 \ - --network-insights-access-scope-id nis-123456789111 - -Output:: - - { - "NetworkInsightsAccessScopeAnalysis": { - "NetworkInsightsAccessScopeAnalysisId": "nisa-123456789222", - "NetworkInsightsAccessScopeAnalysisArn": "arn:aws:ec2:us-east-1:123456789012:network-insights-access-scope-analysis/nisa-123456789222", - "NetworkInsightsAccessScopeId": "nis-123456789111", - "Status": "running", - "StartDate": "2022-01-26T00:47:06.814000+00:00" - } - } - -For more information, see `Getting started with Network Access Analyzer using the AWS CLI `__ in the *Network Access Analyzer Guide*. \ No newline at end of file +**To start a Network Insights access scope analysis** + +The following ``start-network-insights-access-scope-analysis`` example starts the scope analysis in your AWS account. :: + + aws ec2 start-network-insights-access-scope-analysis \ + --region us-east-1 \ + --network-insights-access-scope-id nis-123456789111 + +Output:: + + { + "NetworkInsightsAccessScopeAnalysis": { + "NetworkInsightsAccessScopeAnalysisId": "nisa-123456789222", + "NetworkInsightsAccessScopeAnalysisArn": "arn:aws:ec2:us-east-1:123456789012:network-insights-access-scope-analysis/nisa-123456789222", + "NetworkInsightsAccessScopeId": "nis-123456789111", + "Status": "running", + "StartDate": "2022-01-26T00:47:06.814000+00:00" + } + } + +For more information, see `Getting started with Network Access Analyzer using the AWS CLI `__ in the *Network Access Analyzer Guide*. From 25984d5c92e0a2d1cc59d24f17da692872bfe790 Mon Sep 17 00:00:00 2001 From: jonathan343 <43360731+jonathan343@users.noreply.github.com> Date: Tue, 7 Jan 2025 13:04:35 -0500 Subject: [PATCH 0383/1087] Remove examples for iot1click-devices and iot1click-projects (#9187) --- .../claim-devices-by-claim-code.rst | 15 --------- .../iot1click-devices/describe-device.rst | 27 ---------------- .../finalize-device-claim.rst | 14 -------- .../iot1click-devices/get-device-methods.rst | 30 ----------------- .../initiate-device-claim.rst | 14 -------- .../invoke-device-method.rst | 24 -------------- .../iot1click-devices/list-device-events.rst | 32 ------------------- .../iot1click-devices/list-devices.rst | 26 --------------- .../list-tags-for-resource.rst | 17 ---------- .../iot1click-devices/tag-resource.rst | 20 ------------ .../iot1click-devices/unclaim-device.rst | 14 -------- .../iot1click-devices/untag-resource.rst | 12 ------- .../iot1click-devices/update-device-state.rst | 11 ------- .../associate-device-with-placement.rst | 13 -------- .../iot1click-projects/create-placement.rst | 12 ------- .../iot1click-projects/create-project.rst | 27 ---------------- .../iot1click-projects/delete-placement.rst | 11 ------- .../iot1click-projects/delete-project.rst | 10 ------ .../iot1click-projects/describe-placement.rst | 24 -------------- .../iot1click-projects/describe-project.rst | 32 ------------------- .../disassociate-device-from-placement.rst | 12 ------- .../get-devices-in-placement.rst | 17 ---------- .../iot1click-projects/list-placements.rst | 21 ------------ .../iot1click-projects/list-projects.rst | 21 ------------ .../list-tags-for-resource.rst | 17 ---------- .../iot1click-projects/tag-resource.rst | 20 ------------ .../iot1click-projects/untag-resource.rst | 11 ------- .../iot1click-projects/update-placement.rst | 21 ------------ .../iot1click-projects/update-project.rst | 11 ------- 29 files changed, 536 deletions(-) delete mode 100644 awscli/examples/iot1click-devices/claim-devices-by-claim-code.rst delete mode 100644 awscli/examples/iot1click-devices/describe-device.rst delete mode 100644 awscli/examples/iot1click-devices/finalize-device-claim.rst delete mode 100644 awscli/examples/iot1click-devices/get-device-methods.rst delete mode 100644 awscli/examples/iot1click-devices/initiate-device-claim.rst delete mode 100644 awscli/examples/iot1click-devices/invoke-device-method.rst delete mode 100644 awscli/examples/iot1click-devices/list-device-events.rst delete mode 100644 awscli/examples/iot1click-devices/list-devices.rst delete mode 100644 awscli/examples/iot1click-devices/list-tags-for-resource.rst delete mode 100644 awscli/examples/iot1click-devices/tag-resource.rst delete mode 100644 awscli/examples/iot1click-devices/unclaim-device.rst delete mode 100644 awscli/examples/iot1click-devices/untag-resource.rst delete mode 100644 awscli/examples/iot1click-devices/update-device-state.rst delete mode 100644 awscli/examples/iot1click-projects/associate-device-with-placement.rst delete mode 100644 awscli/examples/iot1click-projects/create-placement.rst delete mode 100644 awscli/examples/iot1click-projects/create-project.rst delete mode 100644 awscli/examples/iot1click-projects/delete-placement.rst delete mode 100644 awscli/examples/iot1click-projects/delete-project.rst delete mode 100644 awscli/examples/iot1click-projects/describe-placement.rst delete mode 100644 awscli/examples/iot1click-projects/describe-project.rst delete mode 100644 awscli/examples/iot1click-projects/disassociate-device-from-placement.rst delete mode 100644 awscli/examples/iot1click-projects/get-devices-in-placement.rst delete mode 100644 awscli/examples/iot1click-projects/list-placements.rst delete mode 100644 awscli/examples/iot1click-projects/list-projects.rst delete mode 100644 awscli/examples/iot1click-projects/list-tags-for-resource.rst delete mode 100644 awscli/examples/iot1click-projects/tag-resource.rst delete mode 100644 awscli/examples/iot1click-projects/untag-resource.rst delete mode 100644 awscli/examples/iot1click-projects/update-placement.rst delete mode 100644 awscli/examples/iot1click-projects/update-project.rst diff --git a/awscli/examples/iot1click-devices/claim-devices-by-claim-code.rst b/awscli/examples/iot1click-devices/claim-devices-by-claim-code.rst deleted file mode 100644 index 6cc1c3eb4ed7..000000000000 --- a/awscli/examples/iot1click-devices/claim-devices-by-claim-code.rst +++ /dev/null @@ -1,15 +0,0 @@ -**To claim one or more AWS IoT 1-Click devices using a claim code** - -The following ``claim-devices-by-claim-code`` example claims the specified AWS IoT 1-Click device using a claim code (instead of a device ID). :: - - aws iot1click-devices claim-devices-by-claim-code \ - --claim-code C-123EXAMPLE - -Output:: - - { - "Total": 9 - "ClaimCode": "C-123EXAMPLE" - } - -For more information, see `Using AWS IoT 1-Click with the AWS CLI `__ in the *AWS IoT 1-Click Developer Guide*. diff --git a/awscli/examples/iot1click-devices/describe-device.rst b/awscli/examples/iot1click-devices/describe-device.rst deleted file mode 100644 index b89d99bc72fb..000000000000 --- a/awscli/examples/iot1click-devices/describe-device.rst +++ /dev/null @@ -1,27 +0,0 @@ -**To describe a device** - -The following ``describe-device`` example describes the specified device. :: - - aws iot1click-devices describe-device \ - --device-id G030PM0123456789 - -Output:: - - { - "DeviceDescription": { - "Arn": "arn:aws:iot1click:us-west-2:012345678901:devices/G030PM0123456789", - "Attributes": { - "projectRegion": "us-west-2", - "projectName": "AnytownDumpsters", - "placementName": "customer217", - "deviceTemplateName": "empty-dumpster-request" - }, - "DeviceId": "G030PM0123456789", - "Enabled": false, - "RemainingLife": 99.9, - "Type": "button", - "Tags": {} - } - } - -For more information, see `Using AWS IoT 1-Click with the AWS CLI `__ in the *AWS IoT 1-Click Developer Guide*. diff --git a/awscli/examples/iot1click-devices/finalize-device-claim.rst b/awscli/examples/iot1click-devices/finalize-device-claim.rst deleted file mode 100644 index 6999dc44006a..000000000000 --- a/awscli/examples/iot1click-devices/finalize-device-claim.rst +++ /dev/null @@ -1,14 +0,0 @@ -**To finalize a claim request for an AWS IoT 1-Click device using a device ID** - -The following ``finalize-device-claim`` example finalizes a claim request for the specified AWS IoT 1-Click device using a device ID (instead of a claim code). :: - - aws iot1click-devices finalize-device-claim \ - --device-id G030PM0123456789 - -Output:: - - { - "State": "CLAIMED" - } - -For more information, see `Using AWS IoT 1-Click with the AWS CLI `__ in the *AWS IoT 1-Click Developer Guide*. diff --git a/awscli/examples/iot1click-devices/get-device-methods.rst b/awscli/examples/iot1click-devices/get-device-methods.rst deleted file mode 100644 index df8392d94032..000000000000 --- a/awscli/examples/iot1click-devices/get-device-methods.rst +++ /dev/null @@ -1,30 +0,0 @@ -**To list the available methods for a device** - -The following ``get-device-methods`` example lists the available methods for a device. :: - - aws iot1click-devices get-device-methods \ - --device-id G030PM0123456789 - -Output:: - - { - "DeviceMethods": [ - { - "MethodName": "getDeviceHealthParameters" - }, - { - "MethodName": "setDeviceHealthMonitorCallback" - }, - { - "MethodName": "getDeviceHealthMonitorCallback" - }, - { - "MethodName": "setOnClickCallback" - }, - { - "MethodName": "getOnClickCallback" - } - ] - } - -For more information, see `Using AWS IoT 1-Click with the AWS CLI `__ in the *AWS IoT 1-Click Developer Guide*. diff --git a/awscli/examples/iot1click-devices/initiate-device-claim.rst b/awscli/examples/iot1click-devices/initiate-device-claim.rst deleted file mode 100644 index 1899d1deb474..000000000000 --- a/awscli/examples/iot1click-devices/initiate-device-claim.rst +++ /dev/null @@ -1,14 +0,0 @@ -**To initiate a claim request for an AWS IoT 1-Click device using a device ID** - -The following ``initiate-device-claim`` example initiates a claim request for the specified AWS IoT 1-Click device using a device ID (instead of a claim code). :: - - aws iot1click-devices initiate-device-claim \ - --device-id G030PM0123456789 - -Output:: - - { - "State": "CLAIM_INITIATED" - } - -For more information, see `Using AWS IoT 1-Click with the AWS CLI `__ in the *AWS IoT 1-Click Developer Guide*. diff --git a/awscli/examples/iot1click-devices/invoke-device-method.rst b/awscli/examples/iot1click-devices/invoke-device-method.rst deleted file mode 100644 index 26889f1bb6e5..000000000000 --- a/awscli/examples/iot1click-devices/invoke-device-method.rst +++ /dev/null @@ -1,24 +0,0 @@ -**To invoke a device method on a device** - -The following ``invoke-device-method`` example invokes the specified method on a device. :: - - aws iot1click-devices invoke-device-method \ - --cli-input-json file://invoke-device-method.json - -Contents of ``invoke-device-method.json``:: - - { - "DeviceId": "G030PM0123456789", - "DeviceMethod": { - "DeviceType": "device", - "MethodName": "getDeviceHealthParameters" - } - } - -Output:: - - { - "DeviceMethodResponse": "{\"remainingLife\": 99.8}" - } - -For more information, see `Using AWS IoT 1-Click with the AWS CLI `__ in the *AWS IoT 1-Click Developer Guide*. diff --git a/awscli/examples/iot1click-devices/list-device-events.rst b/awscli/examples/iot1click-devices/list-device-events.rst deleted file mode 100644 index 51ed175560c7..000000000000 --- a/awscli/examples/iot1click-devices/list-device-events.rst +++ /dev/null @@ -1,32 +0,0 @@ -**To list a device's events for a specified time range** - -The following ``list-device-events`` example lists the specified device's events for the specified time range. :: - - aws iot1click-devices list-device-events \ - --device-id G030PM0123456789 \ - --from-time-stamp 2019-07-17T15:45:12.880Z --to-time-stamp 2019-07-19T15:45:12.880Z - -Output:: - - { - "Events": [ - { - "Device": { - "Attributes": {}, - "DeviceId": "G030PM0123456789", - "Type": "button" - }, - "StdEvent": "{\"clickType\": \"SINGLE\", \"reportedTime\": \"2019-07-18T23:47:55.015Z\", \"certificateId\": \"fe8798a6c97c62ef8756b80eeefdcf2280f3352f82faa8080c74cc4f4a4d1811\", \"remainingLife\": 99.85000000000001, \"testMode\": false}" - }, - { - "Device": { - "Attributes": {}, - "DeviceId": "G030PM0123456789", - "Type": "button" - }, - "StdEvent": "{\"clickType\": \"DOUBLE\", \"reportedTime\": \"2019-07-19T00:14:41.353Z\", \"certificateId\": \"fe8798a6c97c62ef8756b80eeefdcf2280f3352f82faa8080c74cc4f4a4d1811\", \"remainingLife\": 99.8, \"testMode\": false}" - } - ] - } - -For more information, see `Using AWS IoT 1-Click with the AWS CLI `__ in the *AWS IoT 1-Click Developer Guide*. diff --git a/awscli/examples/iot1click-devices/list-devices.rst b/awscli/examples/iot1click-devices/list-devices.rst deleted file mode 100644 index ef3d317cee27..000000000000 --- a/awscli/examples/iot1click-devices/list-devices.rst +++ /dev/null @@ -1,26 +0,0 @@ -**To list the devices of a specified type** - -The following ``list-devices`` example lists the devices of a specified type. :: - - aws iot1click-devices list-devices \ - --device-type button - -This command produces no output. - -Output:: - - { - "Devices": [ - { - "remainingLife": 99.9, - "attributes": { - "arn": "arn:aws:iot1click:us-west-2:123456789012:devices/G030PM0123456789", - "type": "button", - "deviceId": "G030PM0123456789", - "enabled": false - } - } - ] - } - -For more information, see `Using AWS IoT 1-Click with the AWS CLI `__ in the *AWS IoT 1-Click Developer Guide*. diff --git a/awscli/examples/iot1click-devices/list-tags-for-resource.rst b/awscli/examples/iot1click-devices/list-tags-for-resource.rst deleted file mode 100644 index 89cdc329f6f9..000000000000 --- a/awscli/examples/iot1click-devices/list-tags-for-resource.rst +++ /dev/null @@ -1,17 +0,0 @@ -**To list the tags for a device** - -The following ``list-tags-for-resource`` example list the tags for the specified device. :: - - aws iot1click-devices list-tags-for-resource \ - --resource-arn "arn:aws:iot1click:us-west-2:012345678901:devices/G030PM0123456789" - -Output:: - - { - "Tags": { - "Driver Phone": "123-555-0199", - "Driver": "Jorge Souza" - } - } - -For more information, see `Using AWS IoT 1-Click with the AWS CLI `__ in the *AWS IoT 1-Click Developer Guide*. diff --git a/awscli/examples/iot1click-devices/tag-resource.rst b/awscli/examples/iot1click-devices/tag-resource.rst deleted file mode 100644 index 51ef0a043953..000000000000 --- a/awscli/examples/iot1click-devices/tag-resource.rst +++ /dev/null @@ -1,20 +0,0 @@ -**To add tags to a device AWS resource** - -The following ``tag-resource`` example adds two tags to the specified resource. :: - - aws iot1click-devices tag-resource \ - --cli-input-json file://devices-tag-resource.json - -Contents of ``devices-tag-resource.json``:: - - { - "ResourceArn": "arn:aws:iot1click:us-west-2:123456789012:devices/G030PM0123456789", - "Tags": { - "Driver": "Jorge Souza", - "Driver Phone": "123-555-0199" - } - } - -This command produces no output. - -For more information, see `Using AWS IoT 1-Click with the AWS CLI `__ in the *AWS IoT 1-Click Developer Guide*. diff --git a/awscli/examples/iot1click-devices/unclaim-device.rst b/awscli/examples/iot1click-devices/unclaim-device.rst deleted file mode 100644 index c69c5086452b..000000000000 --- a/awscli/examples/iot1click-devices/unclaim-device.rst +++ /dev/null @@ -1,14 +0,0 @@ -**To unclaim (deregister) a device from your AWS account** - -The following ``unclaim-device`` example unclaims (deregisters) the specified device from your AWS account. :: - - aws iot1click-devices unclaim-device \ - --device-id G030PM0123456789 - -Output:: - - { - "State": "UNCLAIMED" - } - -For more information, see `Using AWS IoT 1-Click with the AWS CLI `__ in the *AWS IoT 1-Click Developer Guide*. diff --git a/awscli/examples/iot1click-devices/untag-resource.rst b/awscli/examples/iot1click-devices/untag-resource.rst deleted file mode 100644 index 6ce9efe73dbb..000000000000 --- a/awscli/examples/iot1click-devices/untag-resource.rst +++ /dev/null @@ -1,12 +0,0 @@ -**To remove tags from a device AWS resource** - -The following ``untag-resource`` example removes the tags with the names ``Driver Phone`` and ``Driver`` from the specified device resource. :: - - aws iot1click-devices untag-resource \ - --resource-arn "arn:aws:iot1click:us-west-2:123456789012:projects/AnytownDumpsters" \ - --tag-keys "Driver Phone" "Driver" - - -This command produces no output. - -For more information, see `Using AWS IoT 1-Click with the AWS CLI `__ in the *AWS IoT 1-Click Developer Guide*. diff --git a/awscli/examples/iot1click-devices/update-device-state.rst b/awscli/examples/iot1click-devices/update-device-state.rst deleted file mode 100644 index 4d0b6c1b682d..000000000000 --- a/awscli/examples/iot1click-devices/update-device-state.rst +++ /dev/null @@ -1,11 +0,0 @@ -**To update the ``enabled`` state for a device** - -The following ``update-device-state`` sets the state of the specified device to ``enabled``. :: - - aws iot1click-devices update-device-state \ - --device-id G030PM0123456789 \ - --enabled - -This command produces no output. - -For more information, see `Using AWS IoT 1-Click with the AWS CLI `__ in the *AWS IoT 1-Click Developer Guide*. diff --git a/awscli/examples/iot1click-projects/associate-device-with-placement.rst b/awscli/examples/iot1click-projects/associate-device-with-placement.rst deleted file mode 100644 index 37f928793e33..000000000000 --- a/awscli/examples/iot1click-projects/associate-device-with-placement.rst +++ /dev/null @@ -1,13 +0,0 @@ -**To associate an AWS IoT 1-Click device with an existing placement** - -The following ``associate-device-with-placement`` example associates the specified AWS IoT 1-Click device with an existing placement. :: - - aws iot1click-projects associate-device-with-placement \ - --project-name AnytownDumpsters \ - --placement-name customer217 \ - --device-template-name empty-dumpster-request \ - --device-id G030PM0123456789 - -This command produces no output. - -For more information, see `Using AWS IoT 1-Click with the AWS CLI `__ in the *AWS IoT 1-Click Developer Guide*. diff --git a/awscli/examples/iot1click-projects/create-placement.rst b/awscli/examples/iot1click-projects/create-placement.rst deleted file mode 100644 index 28feb09ea97b..000000000000 --- a/awscli/examples/iot1click-projects/create-placement.rst +++ /dev/null @@ -1,12 +0,0 @@ -**To create an AWS IoT 1-Click placement for a project** - -The following ``create-placement`` example create an AWS IoT 1-Click placement for the specified project. :: - - aws iot1click-projects create-placement \ - --project-name AnytownDumpsters \ - --placement-name customer217 \ - --attributes "{"location": "123 Any Street Anytown, USA 10001", "phone": "123-456-7890"}" - -This command produces no output. - -For more information, see `Using AWS IoT 1-Click with the AWS CLI `__ in the *AWS IoT 1-Click Developer Guide*. diff --git a/awscli/examples/iot1click-projects/create-project.rst b/awscli/examples/iot1click-projects/create-project.rst deleted file mode 100644 index 4ece7ec5cd46..000000000000 --- a/awscli/examples/iot1click-projects/create-project.rst +++ /dev/null @@ -1,27 +0,0 @@ -**To create an AWS IoT 1-Click project for zero or more placements** - -The following ``create-project`` example creates an AWS IoT 1-Click project for a placement. - - aws iot1click-projects create-project \ - --cli-input-json file://create-project.json - -Contents of ``create-project.json``:: - - { - "projectName": "AnytownDumpsters", - "description": "All dumpsters in the Anytown region.", - "placementTemplate": { - "defaultAttributes": { - "City" : "Anytown" - }, - "deviceTemplates": { - "empty-dumpster-request" : { - "deviceType": "button" - } - } - } - } - -This command produces no output. - -For more information, see `Using AWS IoT 1-Click with the AWS CLI `__ in the *AWS IoT 1-Click Developer Guide*. diff --git a/awscli/examples/iot1click-projects/delete-placement.rst b/awscli/examples/iot1click-projects/delete-placement.rst deleted file mode 100644 index 1a76fcbcb601..000000000000 --- a/awscli/examples/iot1click-projects/delete-placement.rst +++ /dev/null @@ -1,11 +0,0 @@ -**To delete a placement from a project** - -The following ``delete-placement`` example deletes the specified placement from a project. :: - - aws iot1click-projects delete-placement \ - --project-name AnytownDumpsters \ - --placement-name customer217 - -This command produces no output. - -For more information, see `Using AWS IoT 1-Click with the AWS CLI `__ in the *AWS IoT 1-Click Developer Guide*. diff --git a/awscli/examples/iot1click-projects/delete-project.rst b/awscli/examples/iot1click-projects/delete-project.rst deleted file mode 100644 index 936810b449ab..000000000000 --- a/awscli/examples/iot1click-projects/delete-project.rst +++ /dev/null @@ -1,10 +0,0 @@ -**To delete a project from your AWS account** - -The following ``delete-project`` example deletes the specified project from your AWS account. :: - - aws iot1click-projects delete-project \ - --project-name AnytownDumpsters - -This command produces no output. - -For more information, see `Using AWS IoT 1-Click with the AWS CLI `__ in the *AWS IoT 1-Click Developer Guide*. diff --git a/awscli/examples/iot1click-projects/describe-placement.rst b/awscli/examples/iot1click-projects/describe-placement.rst deleted file mode 100644 index 980e175ea77e..000000000000 --- a/awscli/examples/iot1click-projects/describe-placement.rst +++ /dev/null @@ -1,24 +0,0 @@ -**To describe a placement for a project** - -The following ``describe-placement`` example describes a placement for the specified project. :: - - aws iot1click-projects describe-placement \ - --project-name AnytownDumpsters \ - --placement-name customer217 - -Output:: - - { - "placement": { - "projectName": "AnytownDumpsters", - "placementName": "customer217", - "attributes": { - "phone": "123-555-0110", - "location": "123 Any Street Anytown, USA 10001" - }, - "createdDate": 1563488454, - "updatedDate": 1563488454 - } - } - -For more information, see `Using AWS IoT 1-Click with the AWS CLI `__ in the *AWS IoT 1-Click Developer Guide*. diff --git a/awscli/examples/iot1click-projects/describe-project.rst b/awscli/examples/iot1click-projects/describe-project.rst deleted file mode 100644 index f57a786e400a..000000000000 --- a/awscli/examples/iot1click-projects/describe-project.rst +++ /dev/null @@ -1,32 +0,0 @@ -**To describe an AWS IoT 1-Click project** - -The following ``describe-project`` example describes the specified AWS IoT 1-Click project. :: - - aws iot1click-projects describe-project \ - --project-name AnytownDumpsters - -Output:: - - { - "project": { - "arn": "arn:aws:iot1click:us-west-2:012345678901:projects/AnytownDumpsters", - "projectName": "AnytownDumpsters", - "description": "All dumpsters in the Anytown region.", - "createdDate": 1563483100, - "updatedDate": 1563483100, - "placementTemplate": { - "defaultAttributes": { - "City": "Anytown" - }, - "deviceTemplates": { - "empty-dumpster-request": { - "deviceType": "button", - "callbackOverrides": {} - } - } - }, - "tags": {} - } - } - -For more information, see `Using AWS IoT 1-Click with the AWS CLI `__ in the *AWS IoT 1-Click Developer Guide*. diff --git a/awscli/examples/iot1click-projects/disassociate-device-from-placement.rst b/awscli/examples/iot1click-projects/disassociate-device-from-placement.rst deleted file mode 100644 index b66f2e844866..000000000000 --- a/awscli/examples/iot1click-projects/disassociate-device-from-placement.rst +++ /dev/null @@ -1,12 +0,0 @@ -**To disassociate a device from a placement** - -The following ``disassociate-device-from-placement`` example disassociates the specified device from a placement. :: - - aws iot1click-projects disassociate-device-from-placement \ - --project-name AnytownDumpsters \ - --placement-name customer217 \ - --device-template-name empty-dumpster-request - -This command produces no output. - -For more information, see `Using AWS IoT 1-Click with the AWS CLI `__ in the *AWS IoT 1-Click Developer Guide*. diff --git a/awscli/examples/iot1click-projects/get-devices-in-placement.rst b/awscli/examples/iot1click-projects/get-devices-in-placement.rst deleted file mode 100644 index 2ef62a3b942d..000000000000 --- a/awscli/examples/iot1click-projects/get-devices-in-placement.rst +++ /dev/null @@ -1,17 +0,0 @@ -**To list all devices in a placement contained in a project** - -The following ``get-devices-in-placement`` example lists all devices in a the specified placement contained in the specified project. :: - - aws iot1click-projects get-devices-in-placement \ - --project-name AnytownDumpsters \ - --placement-name customer217 - -Output:: - - { - "devices": { - "empty-dumpster-request": "G030PM0123456789" - } - } - -For more information, see `Using AWS IoT 1-Click with the AWS CLI `__ in the *AWS IoT 1-Click Developer Guide*. diff --git a/awscli/examples/iot1click-projects/list-placements.rst b/awscli/examples/iot1click-projects/list-placements.rst deleted file mode 100644 index e28fd28ca049..000000000000 --- a/awscli/examples/iot1click-projects/list-placements.rst +++ /dev/null @@ -1,21 +0,0 @@ -**To list all AWS IoT 1-Click placements for a project** - -The following ``list-placements`` example lists all AWS IoT 1-Click placements for the specified project. :: - - aws iot1click-projects list-placements \ - --project-name AnytownDumpsters - -Output:: - - { - "placements": [ - { - "projectName": "AnytownDumpsters", - "placementName": "customer217", - "createdDate": 1563488454, - "updatedDate": 1563488454 - } - ] - } - -For more information, see `Using AWS IoT 1-Click with the AWS CLI `__ in the *AWS IoT 1-Click Developer Guide*. diff --git a/awscli/examples/iot1click-projects/list-projects.rst b/awscli/examples/iot1click-projects/list-projects.rst deleted file mode 100644 index 54efeedf4349..000000000000 --- a/awscli/examples/iot1click-projects/list-projects.rst +++ /dev/null @@ -1,21 +0,0 @@ -**To list all AWS IoT 1-Click projects** - -The following ``list-projects`` example list all AWS IoT 1-Click projects in your account. :: - - aws iot1click-projects list-projects - -Output:: - - { - "projects": [ - { - "arn": "arn:aws:iot1click:us-west-2:012345678901:projects/AnytownDumpsters", - "projectName": "AnytownDumpsters", - "createdDate": 1563483100, - "updatedDate": 1563483100, - "tags": {} - } - ] - } - -For more information, see `Using AWS IoT 1-Click with the AWS CLI `__ in the *AWS IoT 1-Click Developer Guide*. diff --git a/awscli/examples/iot1click-projects/list-tags-for-resource.rst b/awscli/examples/iot1click-projects/list-tags-for-resource.rst deleted file mode 100644 index 5ccba4fa102f..000000000000 --- a/awscli/examples/iot1click-projects/list-tags-for-resource.rst +++ /dev/null @@ -1,17 +0,0 @@ -**To list the tags for a project resource** - -The following ``list-tags-for-resource`` example list the tags for the specified project resource. :: - - aws iot1click-projects list-tags-for-resource \ - --resource-arn "arn:aws:iot1click:us-west-2:123456789012:projects/AnytownDumpsters" - -Output:: - - { - "tags": { - "Manager": "Li Juan", - "Account": "45215" - } - } - -For more information, see `Using AWS IoT 1-Click with the AWS CLI `__ in the *AWS IoT 1-Click Developer Guide*. diff --git a/awscli/examples/iot1click-projects/tag-resource.rst b/awscli/examples/iot1click-projects/tag-resource.rst deleted file mode 100644 index 8dc43f58acc1..000000000000 --- a/awscli/examples/iot1click-projects/tag-resource.rst +++ /dev/null @@ -1,20 +0,0 @@ -**To add tags to a project resource** - -The following ``tag-resource`` example adds two tags to the specified project resource. :: - - aws iot1click-projects tag-resource \ - --cli-input-json file://devices-tag-resource.json - -Contents of ``devices-tag-resource.json``:: - - { - "resourceArn": "arn:aws:iot1click:us-west-2:123456789012:projects/AnytownDumpsters", - "tags": { - "Account": "45215", - "Manager": "Li Juan" - } - } - -This command produces no output. - -For more information, see `Using AWS IoT 1-Click with the AWS CLI `__ in the *AWS IoT 1-Click Developer Guide*. diff --git a/awscli/examples/iot1click-projects/untag-resource.rst b/awscli/examples/iot1click-projects/untag-resource.rst deleted file mode 100644 index 5bc6e7ee6e4d..000000000000 --- a/awscli/examples/iot1click-projects/untag-resource.rst +++ /dev/null @@ -1,11 +0,0 @@ -**To remove tags from a project resource** - -The following ``untag-resource`` example removes the tag with the key name ``Manager`` from the specified project. :: - - aws iot1click-projects untag-resource \ - --resource-arn "arn:aws:iot1click:us-west-2:123456789012:projects/AnytownDumpsters" \ - --tag-keys "Manager" - -This command produces no output. - -For more information, see `Using AWS IoT 1-Click with the AWS CLI `__ in the *AWS IoT 1-Click Developer Guide*. diff --git a/awscli/examples/iot1click-projects/update-placement.rst b/awscli/examples/iot1click-projects/update-placement.rst deleted file mode 100644 index 1e996040594d..000000000000 --- a/awscli/examples/iot1click-projects/update-placement.rst +++ /dev/null @@ -1,21 +0,0 @@ -**To update the "attributes" key-value pairs of a placement** - -The following ``update-placement`` example update the "attributes" key-value pairs of a placement. :: - - aws iot1click-projects update-placement \ - --cli-input-json file://update-placement.json - -Contents of ``update-placement.json``:: - - { - "projectName": "AnytownDumpsters", - "placementName": "customer217", - "attributes": { - "phone": "123-456-7890", - "location": "123 Any Street Anytown, USA 10001" - } - } - -This command produces no output. - -For more information, see `Using AWS IoT 1-Click with the AWS CLI `__ in the *AWS IoT 1-Click Developer Guide*. diff --git a/awscli/examples/iot1click-projects/update-project.rst b/awscli/examples/iot1click-projects/update-project.rst deleted file mode 100644 index 3bd7d9b8eb5e..000000000000 --- a/awscli/examples/iot1click-projects/update-project.rst +++ /dev/null @@ -1,11 +0,0 @@ -**To update settings for a project** - -The following ``update-project`` example updates the description for a project. :: - - aws iot1click-projects update-project \ - --project-name AnytownDumpsters \ - --description "All dumpsters (yard waste, recycling, garbage) in the Anytown region." - -This command produces no output. - -For more information, see `Using AWS IoT 1-Click with the AWS CLI `__ in the *AWS IoT 1-Click Developer Guide*. From 2d8687fd5187189639a84256f1de7af58029dc4d Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 7 Jan 2025 19:04:51 +0000 Subject: [PATCH 0384/1087] Update changelog based on model updates --- .changes/next-release/api-change-cloudhsmv2-17472.json | 5 +++++ .changes/next-release/api-change-dynamodb-55517.json | 5 +++++ .changes/next-release/api-change-imagebuilder-41209.json | 5 +++++ 3 files changed, 15 insertions(+) create mode 100644 .changes/next-release/api-change-cloudhsmv2-17472.json create mode 100644 .changes/next-release/api-change-dynamodb-55517.json create mode 100644 .changes/next-release/api-change-imagebuilder-41209.json diff --git a/.changes/next-release/api-change-cloudhsmv2-17472.json b/.changes/next-release/api-change-cloudhsmv2-17472.json new file mode 100644 index 000000000000..13335e6e9c92 --- /dev/null +++ b/.changes/next-release/api-change-cloudhsmv2-17472.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``cloudhsmv2``", + "description": "Adds support to ModifyCluster for modifying a Cluster's Hsm Type." +} diff --git a/.changes/next-release/api-change-dynamodb-55517.json b/.changes/next-release/api-change-dynamodb-55517.json new file mode 100644 index 000000000000..79f1f95efedd --- /dev/null +++ b/.changes/next-release/api-change-dynamodb-55517.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``dynamodb``", + "description": "This release makes Amazon DynamoDB point-in-time-recovery (PITR) to be configurable. You can set PITR recovery period for each table individually to between 1 and 35 days." +} diff --git a/.changes/next-release/api-change-imagebuilder-41209.json b/.changes/next-release/api-change-imagebuilder-41209.json new file mode 100644 index 000000000000..b1837e628af4 --- /dev/null +++ b/.changes/next-release/api-change-imagebuilder-41209.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``imagebuilder``", + "description": "This release adds support for importing images from ISO disk files. Added new ImportDiskImage API operation." +} From 13482b1cccf92b3c5476b11a8070652431242d34 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 7 Jan 2025 19:06:18 +0000 Subject: [PATCH 0385/1087] Bumping version to 1.36.35 --- .changes/1.36.35.json | 22 +++++++++++++++++++ .../api-change-cloudhsmv2-17472.json | 5 ----- .../api-change-dynamodb-55517.json | 5 ----- .../api-change-imagebuilder-41209.json | 5 ----- .../next-release/enhancement-s3ls-20704.json | 5 ----- CHANGELOG.rst | 9 ++++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 10 files changed, 35 insertions(+), 24 deletions(-) create mode 100644 .changes/1.36.35.json delete mode 100644 .changes/next-release/api-change-cloudhsmv2-17472.json delete mode 100644 .changes/next-release/api-change-dynamodb-55517.json delete mode 100644 .changes/next-release/api-change-imagebuilder-41209.json delete mode 100644 .changes/next-release/enhancement-s3ls-20704.json diff --git a/.changes/1.36.35.json b/.changes/1.36.35.json new file mode 100644 index 000000000000..824d663c08db --- /dev/null +++ b/.changes/1.36.35.json @@ -0,0 +1,22 @@ +[ + { + "category": "``cloudhsmv2``", + "description": "Adds support to ModifyCluster for modifying a Cluster's Hsm Type.", + "type": "api-change" + }, + { + "category": "``dynamodb``", + "description": "This release makes Amazon DynamoDB point-in-time-recovery (PITR) to be configurable. You can set PITR recovery period for each table individually to between 1 and 35 days.", + "type": "api-change" + }, + { + "category": "``imagebuilder``", + "description": "This release adds support for importing images from ISO disk files. Added new ImportDiskImage API operation.", + "type": "api-change" + }, + { + "category": "``s3 ls``", + "description": "Expose low-level ``ListBuckets` parameters ``Prefix`` and ``BucketRegion`` to high-level ``s3 ls`` command as ``--bucket-name-prefix`` and ``--bucket-region``.", + "type": "enhancement" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-cloudhsmv2-17472.json b/.changes/next-release/api-change-cloudhsmv2-17472.json deleted file mode 100644 index 13335e6e9c92..000000000000 --- a/.changes/next-release/api-change-cloudhsmv2-17472.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``cloudhsmv2``", - "description": "Adds support to ModifyCluster for modifying a Cluster's Hsm Type." -} diff --git a/.changes/next-release/api-change-dynamodb-55517.json b/.changes/next-release/api-change-dynamodb-55517.json deleted file mode 100644 index 79f1f95efedd..000000000000 --- a/.changes/next-release/api-change-dynamodb-55517.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``dynamodb``", - "description": "This release makes Amazon DynamoDB point-in-time-recovery (PITR) to be configurable. You can set PITR recovery period for each table individually to between 1 and 35 days." -} diff --git a/.changes/next-release/api-change-imagebuilder-41209.json b/.changes/next-release/api-change-imagebuilder-41209.json deleted file mode 100644 index b1837e628af4..000000000000 --- a/.changes/next-release/api-change-imagebuilder-41209.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``imagebuilder``", - "description": "This release adds support for importing images from ISO disk files. Added new ImportDiskImage API operation." -} diff --git a/.changes/next-release/enhancement-s3ls-20704.json b/.changes/next-release/enhancement-s3ls-20704.json deleted file mode 100644 index a98c6c6bb8a8..000000000000 --- a/.changes/next-release/enhancement-s3ls-20704.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "enhancement", - "category": "``s3 ls``", - "description": "Expose low-level ``ListBuckets` parameters ``Prefix`` and ``BucketRegion`` to high-level ``s3 ls`` command as ``--bucket-name-prefix`` and ``--bucket-region``." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 7ac5fb07e6ae..79fe7c86388c 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,15 @@ CHANGELOG ========= +1.36.35 +======= + +* api-change:``cloudhsmv2``: Adds support to ModifyCluster for modifying a Cluster's Hsm Type. +* api-change:``dynamodb``: This release makes Amazon DynamoDB point-in-time-recovery (PITR) to be configurable. You can set PITR recovery period for each table individually to between 1 and 35 days. +* api-change:``imagebuilder``: This release adds support for importing images from ISO disk files. Added new ImportDiskImage API operation. +* enhancement:``s3 ls``: Expose low-level ``ListBuckets` parameters ``Prefix`` and ``BucketRegion`` to high-level ``s3 ls`` command as ``--bucket-name-prefix`` and ``--bucket-region``. + + 1.36.34 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index b4c52eaab45f..f5265aa5c696 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.36.34' +__version__ = '1.36.35' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 267c445b01ee..0d169951f987 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.36.' # The full version, including alpha/beta/rc tags. -release = '1.36.34' +release = '1.36.35' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index ebf55f4554b9..6b10e127014e 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.93 + botocore==1.35.94 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index fd1283982935..f813c9f6ba5f 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.93', + 'botocore==1.35.94', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 610d4e2a33836c3b757271f8fad1f2a2af5b0adf Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 8 Jan 2025 19:05:53 +0000 Subject: [PATCH 0386/1087] Update changelog based on model updates --- .changes/next-release/api-change-rds-14023.json | 5 +++++ .changes/next-release/api-change-route53-94214.json | 5 +++++ .changes/next-release/api-change-sagemaker-96087.json | 5 +++++ 3 files changed, 15 insertions(+) create mode 100644 .changes/next-release/api-change-rds-14023.json create mode 100644 .changes/next-release/api-change-route53-94214.json create mode 100644 .changes/next-release/api-change-sagemaker-96087.json diff --git a/.changes/next-release/api-change-rds-14023.json b/.changes/next-release/api-change-rds-14023.json new file mode 100644 index 000000000000..b46651912401 --- /dev/null +++ b/.changes/next-release/api-change-rds-14023.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``rds``", + "description": "Updates Amazon RDS documentation to clarify the RestoreDBClusterToPointInTime description." +} diff --git a/.changes/next-release/api-change-route53-94214.json b/.changes/next-release/api-change-route53-94214.json new file mode 100644 index 000000000000..193ff1ba6a59 --- /dev/null +++ b/.changes/next-release/api-change-route53-94214.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``route53``", + "description": "Amazon Route 53 now supports the Asia Pacific (Thailand) Region (ap-southeast-7) for latency records, geoproximity records, and private DNS for Amazon VPCs in that region" +} diff --git a/.changes/next-release/api-change-sagemaker-96087.json b/.changes/next-release/api-change-sagemaker-96087.json new file mode 100644 index 000000000000..3a599839740d --- /dev/null +++ b/.changes/next-release/api-change-sagemaker-96087.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``sagemaker``", + "description": "Adds support for IPv6 for SageMaker HyperPod cluster nodes." +} From c79c86a427629a1d32d2da2a54075d394a542223 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 8 Jan 2025 19:07:51 +0000 Subject: [PATCH 0387/1087] Bumping version to 1.36.36 --- .changes/1.36.36.json | 17 +++++++++++++++++ .changes/next-release/api-change-rds-14023.json | 5 ----- .../next-release/api-change-route53-94214.json | 5 ----- .../api-change-sagemaker-96087.json | 5 ----- CHANGELOG.rst | 8 ++++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 9 files changed, 29 insertions(+), 19 deletions(-) create mode 100644 .changes/1.36.36.json delete mode 100644 .changes/next-release/api-change-rds-14023.json delete mode 100644 .changes/next-release/api-change-route53-94214.json delete mode 100644 .changes/next-release/api-change-sagemaker-96087.json diff --git a/.changes/1.36.36.json b/.changes/1.36.36.json new file mode 100644 index 000000000000..689a15015b8d --- /dev/null +++ b/.changes/1.36.36.json @@ -0,0 +1,17 @@ +[ + { + "category": "``rds``", + "description": "Updates Amazon RDS documentation to clarify the RestoreDBClusterToPointInTime description.", + "type": "api-change" + }, + { + "category": "``route53``", + "description": "Amazon Route 53 now supports the Asia Pacific (Thailand) Region (ap-southeast-7) for latency records, geoproximity records, and private DNS for Amazon VPCs in that region", + "type": "api-change" + }, + { + "category": "``sagemaker``", + "description": "Adds support for IPv6 for SageMaker HyperPod cluster nodes.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-rds-14023.json b/.changes/next-release/api-change-rds-14023.json deleted file mode 100644 index b46651912401..000000000000 --- a/.changes/next-release/api-change-rds-14023.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``rds``", - "description": "Updates Amazon RDS documentation to clarify the RestoreDBClusterToPointInTime description." -} diff --git a/.changes/next-release/api-change-route53-94214.json b/.changes/next-release/api-change-route53-94214.json deleted file mode 100644 index 193ff1ba6a59..000000000000 --- a/.changes/next-release/api-change-route53-94214.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``route53``", - "description": "Amazon Route 53 now supports the Asia Pacific (Thailand) Region (ap-southeast-7) for latency records, geoproximity records, and private DNS for Amazon VPCs in that region" -} diff --git a/.changes/next-release/api-change-sagemaker-96087.json b/.changes/next-release/api-change-sagemaker-96087.json deleted file mode 100644 index 3a599839740d..000000000000 --- a/.changes/next-release/api-change-sagemaker-96087.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``sagemaker``", - "description": "Adds support for IPv6 for SageMaker HyperPod cluster nodes." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 79fe7c86388c..4020d7717377 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,14 @@ CHANGELOG ========= +1.36.36 +======= + +* api-change:``rds``: Updates Amazon RDS documentation to clarify the RestoreDBClusterToPointInTime description. +* api-change:``route53``: Amazon Route 53 now supports the Asia Pacific (Thailand) Region (ap-southeast-7) for latency records, geoproximity records, and private DNS for Amazon VPCs in that region +* api-change:``sagemaker``: Adds support for IPv6 for SageMaker HyperPod cluster nodes. + + 1.36.35 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index f5265aa5c696..99004b623e8e 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.36.35' +__version__ = '1.36.36' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 0d169951f987..170e1787b573 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.36.' # The full version, including alpha/beta/rc tags. -release = '1.36.35' +release = '1.36.36' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 6b10e127014e..74c2f4f44f17 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.94 + botocore==1.35.95 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index f813c9f6ba5f..f9dfe6f28d15 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.94', + 'botocore==1.35.95', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From ba14db281318f321f6158cbd96c643b45cab094d Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 9 Jan 2025 19:03:58 +0000 Subject: [PATCH 0388/1087] Update changelog based on model updates --- .changes/next-release/api-change-codebuild-2116.json | 5 +++++ .changes/next-release/api-change-computeoptimizer-77073.json | 5 +++++ .changes/next-release/api-change-fms-88443.json | 5 +++++ 3 files changed, 15 insertions(+) create mode 100644 .changes/next-release/api-change-codebuild-2116.json create mode 100644 .changes/next-release/api-change-computeoptimizer-77073.json create mode 100644 .changes/next-release/api-change-fms-88443.json diff --git a/.changes/next-release/api-change-codebuild-2116.json b/.changes/next-release/api-change-codebuild-2116.json new file mode 100644 index 000000000000..5d0ee6905e1e --- /dev/null +++ b/.changes/next-release/api-change-codebuild-2116.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``codebuild``", + "description": "AWS CodeBuild Now Supports BuildBatch in Reserved Capacity and Lambda" +} diff --git a/.changes/next-release/api-change-computeoptimizer-77073.json b/.changes/next-release/api-change-computeoptimizer-77073.json new file mode 100644 index 000000000000..99e541cedbcb --- /dev/null +++ b/.changes/next-release/api-change-computeoptimizer-77073.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``compute-optimizer``", + "description": "This release expands AWS Compute Optimizer rightsizing recommendation support for Amazon EC2 Auto Scaling groups to include those with scaling policies and multiple instance types." +} diff --git a/.changes/next-release/api-change-fms-88443.json b/.changes/next-release/api-change-fms-88443.json new file mode 100644 index 000000000000..14827288af11 --- /dev/null +++ b/.changes/next-release/api-change-fms-88443.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``fms``", + "description": "AWS Firewall Manager now lets you combine multiple resource tags using the logical AND operator or the logical OR operator." +} From 25b28c68015fa0438c5d5d7aa81137b90351714e Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 9 Jan 2025 19:05:20 +0000 Subject: [PATCH 0389/1087] Bumping version to 1.36.37 --- .changes/1.36.37.json | 17 +++++++++++++++++ .../next-release/api-change-codebuild-2116.json | 5 ----- .../api-change-computeoptimizer-77073.json | 5 ----- .changes/next-release/api-change-fms-88443.json | 5 ----- CHANGELOG.rst | 8 ++++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 9 files changed, 29 insertions(+), 19 deletions(-) create mode 100644 .changes/1.36.37.json delete mode 100644 .changes/next-release/api-change-codebuild-2116.json delete mode 100644 .changes/next-release/api-change-computeoptimizer-77073.json delete mode 100644 .changes/next-release/api-change-fms-88443.json diff --git a/.changes/1.36.37.json b/.changes/1.36.37.json new file mode 100644 index 000000000000..776885cb0a99 --- /dev/null +++ b/.changes/1.36.37.json @@ -0,0 +1,17 @@ +[ + { + "category": "``codebuild``", + "description": "AWS CodeBuild Now Supports BuildBatch in Reserved Capacity and Lambda", + "type": "api-change" + }, + { + "category": "``compute-optimizer``", + "description": "This release expands AWS Compute Optimizer rightsizing recommendation support for Amazon EC2 Auto Scaling groups to include those with scaling policies and multiple instance types.", + "type": "api-change" + }, + { + "category": "``fms``", + "description": "AWS Firewall Manager now lets you combine multiple resource tags using the logical AND operator or the logical OR operator.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-codebuild-2116.json b/.changes/next-release/api-change-codebuild-2116.json deleted file mode 100644 index 5d0ee6905e1e..000000000000 --- a/.changes/next-release/api-change-codebuild-2116.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``codebuild``", - "description": "AWS CodeBuild Now Supports BuildBatch in Reserved Capacity and Lambda" -} diff --git a/.changes/next-release/api-change-computeoptimizer-77073.json b/.changes/next-release/api-change-computeoptimizer-77073.json deleted file mode 100644 index 99e541cedbcb..000000000000 --- a/.changes/next-release/api-change-computeoptimizer-77073.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``compute-optimizer``", - "description": "This release expands AWS Compute Optimizer rightsizing recommendation support for Amazon EC2 Auto Scaling groups to include those with scaling policies and multiple instance types." -} diff --git a/.changes/next-release/api-change-fms-88443.json b/.changes/next-release/api-change-fms-88443.json deleted file mode 100644 index 14827288af11..000000000000 --- a/.changes/next-release/api-change-fms-88443.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``fms``", - "description": "AWS Firewall Manager now lets you combine multiple resource tags using the logical AND operator or the logical OR operator." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 4020d7717377..a60336356ea0 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,14 @@ CHANGELOG ========= +1.36.37 +======= + +* api-change:``codebuild``: AWS CodeBuild Now Supports BuildBatch in Reserved Capacity and Lambda +* api-change:``compute-optimizer``: This release expands AWS Compute Optimizer rightsizing recommendation support for Amazon EC2 Auto Scaling groups to include those with scaling policies and multiple instance types. +* api-change:``fms``: AWS Firewall Manager now lets you combine multiple resource tags using the logical AND operator or the logical OR operator. + + 1.36.36 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 99004b623e8e..2800187a219e 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.36.36' +__version__ = '1.36.37' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 170e1787b573..b38d54e243c0 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.36.' # The full version, including alpha/beta/rc tags. -release = '1.36.36' +release = '1.36.37' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 74c2f4f44f17..ab422e87d8ec 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.95 + botocore==1.35.96 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index f9dfe6f28d15..cd68d1b288dc 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.95', + 'botocore==1.35.96', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From bfda5d1776c9e470e5b6c5e960771bc364537226 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 10 Jan 2025 19:04:24 +0000 Subject: [PATCH 0390/1087] Update changelog based on model updates --- .changes/next-release/api-change-redshift-77528.json | 5 +++++ .changes/next-release/api-change-securitylake-51254.json | 5 +++++ .changes/next-release/api-change-sts-53062.json | 5 +++++ 3 files changed, 15 insertions(+) create mode 100644 .changes/next-release/api-change-redshift-77528.json create mode 100644 .changes/next-release/api-change-securitylake-51254.json create mode 100644 .changes/next-release/api-change-sts-53062.json diff --git a/.changes/next-release/api-change-redshift-77528.json b/.changes/next-release/api-change-redshift-77528.json new file mode 100644 index 000000000000..a85dad7bd83c --- /dev/null +++ b/.changes/next-release/api-change-redshift-77528.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``redshift``", + "description": "Additions to the PubliclyAccessible and Encrypted parameters clarifying what the defaults are." +} diff --git a/.changes/next-release/api-change-securitylake-51254.json b/.changes/next-release/api-change-securitylake-51254.json new file mode 100644 index 000000000000..e0008a07fad6 --- /dev/null +++ b/.changes/next-release/api-change-securitylake-51254.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``securitylake``", + "description": "Doc only update for ServiceName that fixes several customer-reported issues" +} diff --git a/.changes/next-release/api-change-sts-53062.json b/.changes/next-release/api-change-sts-53062.json new file mode 100644 index 000000000000..c521f7ed740b --- /dev/null +++ b/.changes/next-release/api-change-sts-53062.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``sts``", + "description": "Fixed typos in the descriptions." +} From 8ca2e5a172c96b42c0c9d1d8bb6f18c0600f2aa1 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 10 Jan 2025 19:05:49 +0000 Subject: [PATCH 0391/1087] Bumping version to 1.36.38 --- .changes/1.36.38.json | 17 +++++++++++++++++ .../next-release/api-change-redshift-77528.json | 5 ----- .../api-change-securitylake-51254.json | 5 ----- .changes/next-release/api-change-sts-53062.json | 5 ----- CHANGELOG.rst | 8 ++++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 9 files changed, 29 insertions(+), 19 deletions(-) create mode 100644 .changes/1.36.38.json delete mode 100644 .changes/next-release/api-change-redshift-77528.json delete mode 100644 .changes/next-release/api-change-securitylake-51254.json delete mode 100644 .changes/next-release/api-change-sts-53062.json diff --git a/.changes/1.36.38.json b/.changes/1.36.38.json new file mode 100644 index 000000000000..db30622d861a --- /dev/null +++ b/.changes/1.36.38.json @@ -0,0 +1,17 @@ +[ + { + "category": "``redshift``", + "description": "Additions to the PubliclyAccessible and Encrypted parameters clarifying what the defaults are.", + "type": "api-change" + }, + { + "category": "``securitylake``", + "description": "Doc only update for ServiceName that fixes several customer-reported issues", + "type": "api-change" + }, + { + "category": "``sts``", + "description": "Fixed typos in the descriptions.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-redshift-77528.json b/.changes/next-release/api-change-redshift-77528.json deleted file mode 100644 index a85dad7bd83c..000000000000 --- a/.changes/next-release/api-change-redshift-77528.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``redshift``", - "description": "Additions to the PubliclyAccessible and Encrypted parameters clarifying what the defaults are." -} diff --git a/.changes/next-release/api-change-securitylake-51254.json b/.changes/next-release/api-change-securitylake-51254.json deleted file mode 100644 index e0008a07fad6..000000000000 --- a/.changes/next-release/api-change-securitylake-51254.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``securitylake``", - "description": "Doc only update for ServiceName that fixes several customer-reported issues" -} diff --git a/.changes/next-release/api-change-sts-53062.json b/.changes/next-release/api-change-sts-53062.json deleted file mode 100644 index c521f7ed740b..000000000000 --- a/.changes/next-release/api-change-sts-53062.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``sts``", - "description": "Fixed typos in the descriptions." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index a60336356ea0..34c740bec18a 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,14 @@ CHANGELOG ========= +1.36.38 +======= + +* api-change:``redshift``: Additions to the PubliclyAccessible and Encrypted parameters clarifying what the defaults are. +* api-change:``securitylake``: Doc only update for ServiceName that fixes several customer-reported issues +* api-change:``sts``: Fixed typos in the descriptions. + + 1.36.37 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 2800187a219e..3c98d845b198 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.36.37' +__version__ = '1.36.38' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index b38d54e243c0..aa35cfc71f48 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.36.' # The full version, including alpha/beta/rc tags. -release = '1.36.37' +release = '1.36.38' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index ab422e87d8ec..9d30e16e5eb0 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.96 + botocore==1.35.97 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index cd68d1b288dc..28b609fe3331 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.96', + 'botocore==1.35.97', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 8f19e75cb1b6e5f44108443310f8e29cbcf70cb6 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 13 Jan 2025 19:03:10 +0000 Subject: [PATCH 0392/1087] Update changelog based on model updates --- .changes/next-release/api-change-artifact-55998.json | 5 +++++ .changes/next-release/api-change-bedrock-30207.json | 5 +++++ .changes/next-release/api-change-ec2-27314.json | 5 +++++ .changes/next-release/api-change-kafkaconnect-3399.json | 5 +++++ .changes/next-release/api-change-transcribe-30448.json | 5 +++++ 5 files changed, 25 insertions(+) create mode 100644 .changes/next-release/api-change-artifact-55998.json create mode 100644 .changes/next-release/api-change-bedrock-30207.json create mode 100644 .changes/next-release/api-change-ec2-27314.json create mode 100644 .changes/next-release/api-change-kafkaconnect-3399.json create mode 100644 .changes/next-release/api-change-transcribe-30448.json diff --git a/.changes/next-release/api-change-artifact-55998.json b/.changes/next-release/api-change-artifact-55998.json new file mode 100644 index 000000000000..cbd4cb71a88c --- /dev/null +++ b/.changes/next-release/api-change-artifact-55998.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``artifact``", + "description": "Support resolving regional API calls to partition's leader region endpoint." +} diff --git a/.changes/next-release/api-change-bedrock-30207.json b/.changes/next-release/api-change-bedrock-30207.json new file mode 100644 index 000000000000..41fa344770aa --- /dev/null +++ b/.changes/next-release/api-change-bedrock-30207.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock``", + "description": "With this release, Bedrock Evaluation will now support latency-optimized inference for foundation models." +} diff --git a/.changes/next-release/api-change-ec2-27314.json b/.changes/next-release/api-change-ec2-27314.json new file mode 100644 index 000000000000..da0218ccbb8d --- /dev/null +++ b/.changes/next-release/api-change-ec2-27314.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ec2``", + "description": "Add support for DisconnectOnSessionTimeout flag in CreateClientVpnEndpoint and ModifyClientVpnEndpoint requests and DescribeClientVpnEndpoints responses" +} diff --git a/.changes/next-release/api-change-kafkaconnect-3399.json b/.changes/next-release/api-change-kafkaconnect-3399.json new file mode 100644 index 000000000000..ff210d1d5a46 --- /dev/null +++ b/.changes/next-release/api-change-kafkaconnect-3399.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``kafkaconnect``", + "description": "Support updating connector configuration via UpdateConnector API. Release Operations API to monitor the status of the connector operation." +} diff --git a/.changes/next-release/api-change-transcribe-30448.json b/.changes/next-release/api-change-transcribe-30448.json new file mode 100644 index 000000000000..ba5c5c4e9fcb --- /dev/null +++ b/.changes/next-release/api-change-transcribe-30448.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``transcribe``", + "description": "This update provides tagging support for Transcribe's Call Analytics Jobs and Call Analytics Categories." +} From 07fddce8dd892f5074e4f2c4e3104756f4265827 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 13 Jan 2025 19:04:20 +0000 Subject: [PATCH 0393/1087] Bumping version to 1.36.39 --- .changes/1.36.39.json | 27 +++++++++++++++++++ .../api-change-artifact-55998.json | 5 ---- .../api-change-bedrock-30207.json | 5 ---- .../next-release/api-change-ec2-27314.json | 5 ---- .../api-change-kafkaconnect-3399.json | 5 ---- .../api-change-transcribe-30448.json | 5 ---- CHANGELOG.rst | 10 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 11 files changed, 41 insertions(+), 29 deletions(-) create mode 100644 .changes/1.36.39.json delete mode 100644 .changes/next-release/api-change-artifact-55998.json delete mode 100644 .changes/next-release/api-change-bedrock-30207.json delete mode 100644 .changes/next-release/api-change-ec2-27314.json delete mode 100644 .changes/next-release/api-change-kafkaconnect-3399.json delete mode 100644 .changes/next-release/api-change-transcribe-30448.json diff --git a/.changes/1.36.39.json b/.changes/1.36.39.json new file mode 100644 index 000000000000..d5042c05fe8c --- /dev/null +++ b/.changes/1.36.39.json @@ -0,0 +1,27 @@ +[ + { + "category": "``artifact``", + "description": "Support resolving regional API calls to partition's leader region endpoint.", + "type": "api-change" + }, + { + "category": "``bedrock``", + "description": "With this release, Bedrock Evaluation will now support latency-optimized inference for foundation models.", + "type": "api-change" + }, + { + "category": "``ec2``", + "description": "Add support for DisconnectOnSessionTimeout flag in CreateClientVpnEndpoint and ModifyClientVpnEndpoint requests and DescribeClientVpnEndpoints responses", + "type": "api-change" + }, + { + "category": "``kafkaconnect``", + "description": "Support updating connector configuration via UpdateConnector API. Release Operations API to monitor the status of the connector operation.", + "type": "api-change" + }, + { + "category": "``transcribe``", + "description": "This update provides tagging support for Transcribe's Call Analytics Jobs and Call Analytics Categories.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-artifact-55998.json b/.changes/next-release/api-change-artifact-55998.json deleted file mode 100644 index cbd4cb71a88c..000000000000 --- a/.changes/next-release/api-change-artifact-55998.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``artifact``", - "description": "Support resolving regional API calls to partition's leader region endpoint." -} diff --git a/.changes/next-release/api-change-bedrock-30207.json b/.changes/next-release/api-change-bedrock-30207.json deleted file mode 100644 index 41fa344770aa..000000000000 --- a/.changes/next-release/api-change-bedrock-30207.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock``", - "description": "With this release, Bedrock Evaluation will now support latency-optimized inference for foundation models." -} diff --git a/.changes/next-release/api-change-ec2-27314.json b/.changes/next-release/api-change-ec2-27314.json deleted file mode 100644 index da0218ccbb8d..000000000000 --- a/.changes/next-release/api-change-ec2-27314.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ec2``", - "description": "Add support for DisconnectOnSessionTimeout flag in CreateClientVpnEndpoint and ModifyClientVpnEndpoint requests and DescribeClientVpnEndpoints responses" -} diff --git a/.changes/next-release/api-change-kafkaconnect-3399.json b/.changes/next-release/api-change-kafkaconnect-3399.json deleted file mode 100644 index ff210d1d5a46..000000000000 --- a/.changes/next-release/api-change-kafkaconnect-3399.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``kafkaconnect``", - "description": "Support updating connector configuration via UpdateConnector API. Release Operations API to monitor the status of the connector operation." -} diff --git a/.changes/next-release/api-change-transcribe-30448.json b/.changes/next-release/api-change-transcribe-30448.json deleted file mode 100644 index ba5c5c4e9fcb..000000000000 --- a/.changes/next-release/api-change-transcribe-30448.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``transcribe``", - "description": "This update provides tagging support for Transcribe's Call Analytics Jobs and Call Analytics Categories." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 34c740bec18a..230625998250 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,16 @@ CHANGELOG ========= +1.36.39 +======= + +* api-change:``artifact``: Support resolving regional API calls to partition's leader region endpoint. +* api-change:``bedrock``: With this release, Bedrock Evaluation will now support latency-optimized inference for foundation models. +* api-change:``ec2``: Add support for DisconnectOnSessionTimeout flag in CreateClientVpnEndpoint and ModifyClientVpnEndpoint requests and DescribeClientVpnEndpoints responses +* api-change:``kafkaconnect``: Support updating connector configuration via UpdateConnector API. Release Operations API to monitor the status of the connector operation. +* api-change:``transcribe``: This update provides tagging support for Transcribe's Call Analytics Jobs and Call Analytics Categories. + + 1.36.38 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 3c98d845b198..7b45d44a9296 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.36.38' +__version__ = '1.36.39' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index aa35cfc71f48..d03d9ffd108f 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.36.' # The full version, including alpha/beta/rc tags. -release = '1.36.38' +release = '1.36.39' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 9d30e16e5eb0..ce0d6de055b9 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.97 + botocore==1.35.98 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 28b609fe3331..5f46ffe281f1 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.97', + 'botocore==1.35.98', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From a874019da8ca5fc3da0077a8613386438b4a79a5 Mon Sep 17 00:00:00 2001 From: Tim Finnigan <87778557+tim-finnigan@users.noreply.github.com> Date: Mon, 13 Jan 2025 14:08:06 -0800 Subject: [PATCH 0394/1087] Add note on chunk size adjustment behavior (#8828) --- awscli/topics/s3-config.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/awscli/topics/s3-config.rst b/awscli/topics/s3-config.rst index 0b5da90b2d96..b33f23681a86 100644 --- a/awscli/topics/s3-config.rst +++ b/awscli/topics/s3-config.rst @@ -171,7 +171,9 @@ file is divided into chunks. This configuration option specifies what the chunk size (also referred to as the part size) should be. This value can specified using the same semantics as ``multipart_threshold``, that is either as the number of bytes as an integer, or using a size -suffix. +suffix. If the specified chunk size does not fit within the established +limits for S3 multipart uploads, the chunk size will be automatically +adjusted to a valid value. max_bandwidth From 5dad7cf705506c1978b9fb665a7ea9c37f532c07 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 14 Jan 2025 19:03:26 +0000 Subject: [PATCH 0395/1087] Update changelog based on model updates --- .changes/next-release/api-change-gamelift-52002.json | 5 +++++ .changes/next-release/api-change-route53-68927.json | 5 +++++ 2 files changed, 10 insertions(+) create mode 100644 .changes/next-release/api-change-gamelift-52002.json create mode 100644 .changes/next-release/api-change-route53-68927.json diff --git a/.changes/next-release/api-change-gamelift-52002.json b/.changes/next-release/api-change-gamelift-52002.json new file mode 100644 index 000000000000..3d2cef6080da --- /dev/null +++ b/.changes/next-release/api-change-gamelift-52002.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``gamelift``", + "description": "Amazon GameLift releases a new game session placement feature: PriorityConfigurationOverride. You can now override how a game session queue prioritizes placement locations for a single StartGameSessionPlacement request." +} diff --git a/.changes/next-release/api-change-route53-68927.json b/.changes/next-release/api-change-route53-68927.json new file mode 100644 index 000000000000..3a0e801ff490 --- /dev/null +++ b/.changes/next-release/api-change-route53-68927.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``route53``", + "description": "Amazon Route 53 now supports the Mexico (Central) Region (mx-central-1) for latency records, geoproximity records, and private DNS for Amazon VPCs in that region" +} From 9d698b5747a34463407f8fe3167f9fc5b4261cfe Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 14 Jan 2025 19:04:49 +0000 Subject: [PATCH 0396/1087] Bumping version to 1.36.40 --- .changes/1.36.40.json | 12 ++++++++++++ .changes/next-release/api-change-gamelift-52002.json | 5 ----- .changes/next-release/api-change-route53-68927.json | 5 ----- CHANGELOG.rst | 7 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 8 files changed, 23 insertions(+), 14 deletions(-) create mode 100644 .changes/1.36.40.json delete mode 100644 .changes/next-release/api-change-gamelift-52002.json delete mode 100644 .changes/next-release/api-change-route53-68927.json diff --git a/.changes/1.36.40.json b/.changes/1.36.40.json new file mode 100644 index 000000000000..b791ac137e72 --- /dev/null +++ b/.changes/1.36.40.json @@ -0,0 +1,12 @@ +[ + { + "category": "``gamelift``", + "description": "Amazon GameLift releases a new game session placement feature: PriorityConfigurationOverride. You can now override how a game session queue prioritizes placement locations for a single StartGameSessionPlacement request.", + "type": "api-change" + }, + { + "category": "``route53``", + "description": "Amazon Route 53 now supports the Mexico (Central) Region (mx-central-1) for latency records, geoproximity records, and private DNS for Amazon VPCs in that region", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-gamelift-52002.json b/.changes/next-release/api-change-gamelift-52002.json deleted file mode 100644 index 3d2cef6080da..000000000000 --- a/.changes/next-release/api-change-gamelift-52002.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``gamelift``", - "description": "Amazon GameLift releases a new game session placement feature: PriorityConfigurationOverride. You can now override how a game session queue prioritizes placement locations for a single StartGameSessionPlacement request." -} diff --git a/.changes/next-release/api-change-route53-68927.json b/.changes/next-release/api-change-route53-68927.json deleted file mode 100644 index 3a0e801ff490..000000000000 --- a/.changes/next-release/api-change-route53-68927.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``route53``", - "description": "Amazon Route 53 now supports the Mexico (Central) Region (mx-central-1) for latency records, geoproximity records, and private DNS for Amazon VPCs in that region" -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 230625998250..c62e85eec647 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,13 @@ CHANGELOG ========= +1.36.40 +======= + +* api-change:``gamelift``: Amazon GameLift releases a new game session placement feature: PriorityConfigurationOverride. You can now override how a game session queue prioritizes placement locations for a single StartGameSessionPlacement request. +* api-change:``route53``: Amazon Route 53 now supports the Mexico (Central) Region (mx-central-1) for latency records, geoproximity records, and private DNS for Amazon VPCs in that region + + 1.36.39 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 7b45d44a9296..d52c12ed6343 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.36.39' +__version__ = '1.36.40' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index d03d9ffd108f..6eed4fd98d10 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.36.' # The full version, including alpha/beta/rc tags. -release = '1.36.39' +release = '1.36.40' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index ce0d6de055b9..e45874bdfd23 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.98 + botocore==1.35.99 docutils>=0.10,<0.17 s3transfer>=0.10.0,<0.11.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 5f46ffe281f1..6e2085e60e2c 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.98', + 'botocore==1.35.99', 'docutils>=0.10,<0.17', 's3transfer>=0.10.0,<0.11.0', 'PyYAML>=3.10,<6.1', From 72c756649ee60b7b180b70837adc45569a417147 Mon Sep 17 00:00:00 2001 From: Elysa Hall Date: Tue, 19 Nov 2024 18:37:45 +0000 Subject: [PATCH 0397/1087] CLI examples cloudtrail, ec2, ecs, macie2 --- .../cloudtrail/create-subscription.rst | 55 +++--- awscli/examples/cloudtrail/create-trail.rst | 24 +-- .../examples/cloudtrail/describe-trails.rst | 59 +++--- .../cloudtrail/put-event-selectors.rst | 18 +- .../cloudtrail/update-subscription.rst | 47 ++--- awscli/examples/cloudtrail/update-trail.rst | 22 ++- .../ec2/describe-capacity-reservations.rst | 77 +++++--- .../ec2/describe-instance-image-metadata.rst | 186 ++++++++++++++++++ .../ecs/describe-service-deployments.rst | 54 +++++ .../ecs/describe-service-revisions.rst | 60 ++++++ .../examples/ecs/list-service-deployments.rst | 25 +++ awscli/examples/macie2/describe-buckets.rst | 24 +-- 12 files changed, 502 insertions(+), 149 deletions(-) create mode 100644 awscli/examples/ec2/describe-instance-image-metadata.rst create mode 100644 awscli/examples/ecs/describe-service-deployments.rst create mode 100644 awscli/examples/ecs/describe-service-revisions.rst create mode 100644 awscli/examples/ecs/list-service-deployments.rst diff --git a/awscli/examples/cloudtrail/create-subscription.rst b/awscli/examples/cloudtrail/create-subscription.rst index b3f2fc0ea4a3..4818205fb79b 100644 --- a/awscli/examples/cloudtrail/create-subscription.rst +++ b/awscli/examples/cloudtrail/create-subscription.rst @@ -1,32 +1,35 @@ **To create and configure AWS resources for a trail** -The following ``create-subscription`` command creates a new S3 bucket and SNS topic for ``Trail1``:: +The following ``create-subscription`` command creates a new S3 bucket and SNS topic for ``Trail1``. :: - aws cloudtrail create-subscription --name Trail1 --s3-new-bucket my-bucket --sns-new-topic my-topic + aws cloudtrail create-subscription \ + --name Trail1 \ + --s3-new-bucket amzn-s3-demo-bucket \ + --sns-new-topic my-topic Output:: - Setting up new S3 bucket my-bucket... - Setting up new SNS topic my-topic... - Creating/updating CloudTrail configuration... - CloudTrail configuration: - { - "trailList": [ - { - "IncludeGlobalServiceEvents": true, - "Name": "Trail1", - "TrailARN": "arn:aws:cloudtrail:us-east-1:123456789012:trail/Trail1", - "LogFileValidationEnabled": false, - "IsMultiRegionTrail": false, - "S3BucketName": "my-bucket", - "SnsTopicName": "my-topic", - "HomeRegion": "us-east-1" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "f39e51f6-c615-11e5-85bd-d35ca21ee3e2" - } - } - Starting CloudTrail service... - Logs will be delivered to my-bucket \ No newline at end of file + Setting up new S3 bucket amzn-s3-demo-bucket... + Setting up new SNS topic my-topic... + Creating/updating CloudTrail configuration... + CloudTrail configuration: + { + "trailList": [ + { + "IncludeGlobalServiceEvents": true, + "Name": "Trail1", + "TrailARN": "arn:aws:cloudtrail:us-east-1:123456789012:trail/Trail1", + "LogFileValidationEnabled": false, + "IsMultiRegionTrail": false, + "S3BucketName": "amzn-s3-demo-bucket", + "SnsTopicName": "my-topic", + "HomeRegion": "us-east-1" + } + ], + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "f39e51f6-c615-11e5-85bd-d35ca21ee3e2" + } + } + Starting CloudTrail service... + Logs will be delivered to my-bucket diff --git a/awscli/examples/cloudtrail/create-trail.rst b/awscli/examples/cloudtrail/create-trail.rst index 95d33cbedde7..069de7ac6f29 100644 --- a/awscli/examples/cloudtrail/create-trail.rst +++ b/awscli/examples/cloudtrail/create-trail.rst @@ -1,17 +1,19 @@ **To create a trail** -The following ``create-trail`` command creates a multi-region trail named ``Trail1`` and specifies an S3 bucket:: +The following ``create-trail`` example creates a multi-region trail named ``Trail1`` and specifies an S3 bucket. :: - aws cloudtrail create-trail --name Trail1 --s3-bucket-name my-bucket --is-multi-region-trail + aws cloudtrail create-trail \ + --name Trail1 \ + --s3-bucket-name amzn-s3-demo-bucket \ + --is-multi-region-trail Output:: - { - "IncludeGlobalServiceEvents": true, - "Name": "Trail1", - "TrailARN": "arn:aws:cloudtrail:us-west-2:123456789012:trail/Trail1", - "LogFileValidationEnabled": false, - "IsMultiRegionTrail": true, - "S3BucketName": "my-bucket" - } - \ No newline at end of file + { + "IncludeGlobalServiceEvents": true, + "Name": "Trail1", + "TrailARN": "arn:aws:cloudtrail:us-west-2:123456789012:trail/Trail1", + "LogFileValidationEnabled": false, + "IsMultiRegionTrail": true, + "S3BucketName": "amzn-s3-demo-bucket" + } diff --git a/awscli/examples/cloudtrail/describe-trails.rst b/awscli/examples/cloudtrail/describe-trails.rst index f09a67b50ff1..6e15cf173e9a 100644 --- a/awscli/examples/cloudtrail/describe-trails.rst +++ b/awscli/examples/cloudtrail/describe-trails.rst @@ -1,35 +1,36 @@ **To describe a trail** -The following ``describe-trails`` command returns the settings for ``Trail1`` and ``Trail2``:: +The following ``describe-trails`` example returns the settings for ``Trail1`` and ``Trail2``. :: - aws cloudtrail describe-trails --trail-name-list Trail1 Trail2 + aws cloudtrail describe-trails \ + --trail-name-list Trail1 Trail2 Output:: - { - "trailList": [ - { - "IncludeGlobalServiceEvents": true, - "Name": "Trail1", - "TrailARN": "arn:aws:cloudtrail:us-east-1:123456789012:trail/Trail1", - "LogFileValidationEnabled": false, - "IsMultiRegionTrail": false, - "S3BucketName": "my-bucket", - "CloudWatchLogsRoleArn": "arn:aws:iam::123456789012:role/CloudTrail_CloudWatchLogs_Role", - "CloudWatchLogsLogGroupArn": "arn:aws:logs:us-east-1:123456789012:log-group:CloudTrail:*", - "SnsTopicName": "my-topic", - "HomeRegion": "us-east-1" - }, - { - "IncludeGlobalServiceEvents": true, - "Name": "Trail2", - "S3KeyPrefix": "my-prefix", - "TrailARN": "arn:aws:cloudtrail:us-east-1:123456789012:trail/Trail2", - "LogFileValidationEnabled": false, - "IsMultiRegionTrail": false, - "S3BucketName": "my-bucket", - "KmsKeyId": "arn:aws:kms:us-east-1:123456789012:key/4c5ae5ac-3c13-421e-8335-c7868ef6a769", - "HomeRegion": "us-east-1" - } - ] - } \ No newline at end of file + { + "trailList": [ + { + "IncludeGlobalServiceEvents": true, + "Name": "Trail1", + "TrailARN": "arn:aws:cloudtrail:us-east-1:123456789012:trail/Trail1", + "LogFileValidationEnabled": false, + "IsMultiRegionTrail": false, + "S3BucketName": "amzn-s3-demo-bucket", + "CloudWatchLogsRoleArn": "arn:aws:iam::123456789012:role/CloudTrail_CloudWatchLogs_Role", + "CloudWatchLogsLogGroupArn": "arn:aws:logs:us-east-1:123456789012:log-group:CloudTrail:*", + "SnsTopicName": "my-topic", + "HomeRegion": "us-east-1" + }, + { + "IncludeGlobalServiceEvents": true, + "Name": "Trail2", + "S3KeyPrefix": "my-prefix", + "TrailARN": "arn:aws:cloudtrail:us-east-1:123456789012:trail/Trail2", + "LogFileValidationEnabled": false, + "IsMultiRegionTrail": false, + "S3BucketName": "amzn-s3-demo-bucket2", + "KmsKeyId": "arn:aws:kms:us-east-1:123456789012:key/4c5ae5ac-3c13-421e-8335-c7868ef6a769", + "HomeRegion": "us-east-1" + } + ] + } diff --git a/awscli/examples/cloudtrail/put-event-selectors.rst b/awscli/examples/cloudtrail/put-event-selectors.rst index 7fe09312ce2e..e43ff6fd153a 100755 --- a/awscli/examples/cloudtrail/put-event-selectors.rst +++ b/awscli/examples/cloudtrail/put-event-selectors.rst @@ -2,11 +2,11 @@ You can add advanced event selectors, and conditions for your advanced event selectors, up to a maximum of 500 values for all conditions and selectors on a trail. You can use advanced event selectors to log all available data event types. You can use either advanced event selectors or basic event selectors, but not both. If you apply advanced event selectors to a trail, any existing basic event selectors are overwritten. -The following example creates an advanced event selector for a trail named ``myTrail`` to log all management events, log S3 PutObject and DeleteObject API calls for all but one S3 bucket, log data API calls for a Lambda function named ``myFunction``, and log Publish API calls on an SNS topic named ``myTopic``. :: +The following ``put-event-selectors`` example creates an advanced event selector for a trail named ``myTrail`` to log all management events, log S3 PutObject and DeleteObject API calls for all but one S3 bucket, log data API calls for a Lambda function named ``myFunction``, and log Publish API calls on an SNS topic named ``myTopic``. :: aws cloudtrail put-event-selectors \ --trail-name myTrail \ - --advanced-event-selectors '[{"Name": "Log all management events", "FieldSelectors": [{ "Field": "eventCategory", "Equals": ["Management"] }] },{"Name": "Log PutObject and DeleteObject events for all but one bucket","FieldSelectors": [{ "Field": "eventCategory", "Equals": ["Data"] },{ "Field": "resources.type", "Equals": ["AWS::S3::Object"] },{ "Field": "eventName", "Equals": ["PutObject","DeleteObject"] },{ "Field": "resources.ARN", "NotStartsWith": ["arn:aws:s3:::sample_bucket_name/"] }]},{"Name": "Log data events for a specific Lambda function","FieldSelectors": [{ "Field": "eventCategory", "Equals": ["Data"] },{ "Field": "resources.type", "Equals": ["AWS::Lambda::Function"] },{ "Field": "resources.ARN", "Equals": ["arn:aws:lambda:us-east-1:123456789012:function:myFunction"] }]},{"Name": "Log all Publish API calls on a specific SNS topic","FieldSelectors": [{ "Field": "eventCategory", "Equals": ["Data"] },{ "Field": "resources.type", "Equals": ["AWS::SNS::Topic"] },{ "Field": "eventName", "Equals": ["Publish"] },{ "Field": "resources.ARN", "Equals": ["arn:aws:sns:us-east-1:123456789012:myTopic.fifo"] }]}]' + --advanced-event-selectors '[{"Name": "Log all management events", "FieldSelectors": [{ "Field": "eventCategory", "Equals": ["Management"] }] },{"Name": "Log PutObject and DeleteObject events for all but one bucket","FieldSelectors": [{ "Field": "eventCategory", "Equals": ["Data"] },{ "Field": "resources.type", "Equals": ["AWS::S3::Object"] },{ "Field": "eventName", "Equals": ["PutObject","DeleteObject"] },{ "Field": "resources.ARN", "NotStartsWith": ["arn:aws:s3:::amzn-s3-demo-bucket/"] }]},{"Name": "Log data events for a specific Lambda function","FieldSelectors": [{ "Field": "eventCategory", "Equals": ["Data"] },{ "Field": "resources.type", "Equals": ["AWS::Lambda::Function"] },{ "Field": "resources.ARN", "Equals": ["arn:aws:lambda:us-east-1:123456789012:function:myFunction"] }]},{"Name": "Log all Publish API calls on a specific SNS topic","FieldSelectors": [{ "Field": "eventCategory", "Equals": ["Data"] },{ "Field": "resources.type", "Equals": ["AWS::SNS::Topic"] },{ "Field": "eventName", "Equals": ["Publish"] },{ "Field": "resources.ARN", "Equals": ["arn:aws:sns:us-east-1:123456789012:myTopic.fifo"] }]}]' Output:: @@ -49,7 +49,7 @@ Output:: { "Field": "resources.ARN", "NotStartsWith": [ - "arn:aws:s3:::sample_bucket_name/" + "arn:aws:s3:::amzn-s3-demo-bucket/" ] } ] @@ -115,11 +115,11 @@ For more information, see `Log events by using advanced event selectors `__ in the *AWS CloudTrail User Guide*. \ No newline at end of file +For more information, see `Log events by using basic event selectors `__ in the *AWS CloudTrail User Guide*. diff --git a/awscli/examples/cloudtrail/update-subscription.rst b/awscli/examples/cloudtrail/update-subscription.rst index fb0316a5f89b..958076d415bb 100644 --- a/awscli/examples/cloudtrail/update-subscription.rst +++ b/awscli/examples/cloudtrail/update-subscription.rst @@ -1,30 +1,33 @@ **To update the configuration settings for a trail** -The following ``update-subscription`` command updates the trail to specify a new S3 bucket and SNS topic:: +The following ``update-subscription`` example updates the trail to specify a new S3 bucket and SNS topic. :: - aws cloudtrail update-subscription --name Trail1 --s3-new-bucket my-bucket-new --sns-new-topic my-topic-new + aws cloudtrail update-subscription \ + --name Trail1 \ + --s3-new-bucket amzn-s3-demo-bucket \ + --sns-new-topic my-topic-new Output:: - Setting up new S3 bucket my-bucket-new... - Setting up new SNS topic my-topic-new... - Creating/updating CloudTrail configuration... - CloudTrail configuration: - { - "trailList": [ + Setting up new S3 bucket amzn-s3-demo-bucket... + Setting up new SNS topic my-topic-new... + Creating/updating CloudTrail configuration... + CloudTrail configuration: { - "IncludeGlobalServiceEvents": true, - "Name": "Trail1", - "TrailARN": "arn:aws:cloudtrail:us-east-1:123456789012:trail/Trail1", - "LogFileValidationEnabled": false, - "IsMultiRegionTrail": false, - "S3BucketName": "my-bucket-new", - "SnsTopicName": "my-topic-new", - "HomeRegion": "us-east-1" + "trailList": [ + { + "IncludeGlobalServiceEvents": true, + "Name": "Trail1", + "TrailARN": "arn:aws:cloudtrail:us-east-1:123456789012:trail/Trail1", + "LogFileValidationEnabled": false, + "IsMultiRegionTrail": false, + "S3BucketName": "amzn-s3-demo-bucket", + "SnsTopicName": "my-topic-new", + "HomeRegion": "us-east-1" + } + ], + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "31126f8a-c616-11e5-9cc6-2fd637936879" + } } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "31126f8a-c616-11e5-9cc6-2fd637936879" - } - } \ No newline at end of file diff --git a/awscli/examples/cloudtrail/update-trail.rst b/awscli/examples/cloudtrail/update-trail.rst index 37539b0b9849..951209c61e4d 100644 --- a/awscli/examples/cloudtrail/update-trail.rst +++ b/awscli/examples/cloudtrail/update-trail.rst @@ -1,16 +1,18 @@ **To update a trail** -The following ``update-trail`` command updates a trail to use an existing bucket for log delivery:: +The following ``update-trail`` example updates a trail to use an existing bucket for log delivery. :: - aws cloudtrail update-trail --name Trail1 --s3-bucket-name my-bucket + aws cloudtrail update-trail \ + --name Trail1 \ + --s3-bucket-name amzn-s3-demo-bucket Output:: - { - "IncludeGlobalServiceEvents": true, - "Name": "Trail1", - "TrailARN": "arn:aws:cloudtrail:us-west-2:123456789012:trail/Trail1", - "LogFileValidationEnabled": false, - "IsMultiRegionTrail": true, - "S3BucketName": "my-bucket" - } \ No newline at end of file + { + "IncludeGlobalServiceEvents": true, + "Name": "Trail1", + "TrailARN": "arn:aws:cloudtrail:us-west-2:123456789012:trail/Trail1", + "LogFileValidationEnabled": false, + "IsMultiRegionTrail": true, + "S3BucketName": "amzn-s3-demo-bucket" + } diff --git a/awscli/examples/ec2/describe-capacity-reservations.rst b/awscli/examples/ec2/describe-capacity-reservations.rst index 6894e824b5ba..f6151c288782 100644 --- a/awscli/examples/ec2/describe-capacity-reservations.rst +++ b/awscli/examples/ec2/describe-capacity-reservations.rst @@ -10,35 +10,45 @@ Output:: "CapacityReservations": [ { "CapacityReservationId": "cr-1234abcd56EXAMPLE ", - "EndDateType": "unlimited", - "AvailabilityZone": "eu-west-1a", - "InstanceMatchCriteria": "open", - "Tags": [], - "EphemeralStorage": false, - "CreateDate": "2019-08-16T09:03:18.000Z", - "AvailableInstanceCount": 1, + "OwnerId": "123456789111", + "CapacityReservationArn": "arn:aws:ec2:us-east-1:123456789111:capacity-reservation/cr-1234abcd56EXAMPLE", + "AvailabilityZoneId": "use1-az2", + "InstanceType": "c5.large", "InstancePlatform": "Linux/UNIX", - "TotalInstanceCount": 1, - "State": "active", + "AvailabilityZone": "us-east-1a", "Tenancy": "default", + "TotalInstanceCount": 1, + "AvailableInstanceCount": 1, "EbsOptimized": true, - "InstanceType": "a1.medium" - }, - { - "CapacityReservationId": "cr-abcdEXAMPLE9876ef ", + "EphemeralStorage": false, + "State": "active", + "StartDate": "2024-10-23T15:00:24+00:00", "EndDateType": "unlimited", - "AvailabilityZone": "eu-west-1a", "InstanceMatchCriteria": "open", + "CreateDate": "2024-10-23T15:00:24+00:00", "Tags": [], - "EphemeralStorage": false, - "CreateDate": "2019-08-07T11:34:19.000Z", - "AvailableInstanceCount": 3, + "CapacityAllocations": [] + }, + { + "CapacityReservationId": "cr-abcdEXAMPLE9876ef ", + "OwnerId": "123456789111", + "CapacityReservationArn": "arn:aws:ec2:us-east-1:123456789111:capacity-reservation/cr-abcdEXAMPLE9876ef", + "AvailabilityZoneId": "use1-az2", + "InstanceType": "c4.large", "InstancePlatform": "Linux/UNIX", - "TotalInstanceCount": 3, - "State": "cancelled", + "AvailabilityZone": "us-east-1a", "Tenancy": "default", + "TotalInstanceCount": 1, + "AvailableInstanceCount": 1, "EbsOptimized": true, - "InstanceType": "m5.large" + "EphemeralStorage": false, + "State": "cancelled", + "StartDate": "2024-10-23T15:01:03+00:00", + "EndDateType": "unlimited", + "InstanceMatchCriteria": "open", + "CreateDate": "2024-10-23T15:01:02+00:00", + "Tags": [], + "CapacityAllocations": [] } ] } @@ -55,20 +65,25 @@ Output:: { "CapacityReservations": [ { - "CapacityReservationId": "cr-1234abcd56EXAMPLE", - "EndDateType": "unlimited", - "AvailabilityZone": "eu-west-1a", - "InstanceMatchCriteria": "open", - "Tags": [], - "EphemeralStorage": false, - "CreateDate": "2019-08-16T09:03:18.000Z", - "AvailableInstanceCount": 1, + "CapacityReservationId": "cr-abcdEXAMPLE9876ef ", + "OwnerId": "123456789111", + "CapacityReservationArn": "arn:aws:ec2:us-east-1:123456789111:capacity-reservation/cr-abcdEXAMPLE9876ef", + "AvailabilityZoneId": "use1-az2", + "InstanceType": "c4.large", "InstancePlatform": "Linux/UNIX", - "TotalInstanceCount": 1, - "State": "active", + "AvailabilityZone": "us-east-1a", "Tenancy": "default", + "TotalInstanceCount": 1, + "AvailableInstanceCount": 1, "EbsOptimized": true, - "InstanceType": "a1.medium" + "EphemeralStorage": false, + "State": "active", + "StartDate": "2024-10-23T15:01:03+00:00", + "EndDateType": "unlimited", + "InstanceMatchCriteria": "open", + "CreateDate": "2024-10-23T15:01:02+00:00", + "Tags": [], + "CapacityAllocations": [] } ] } diff --git a/awscli/examples/ec2/describe-instance-image-metadata.rst b/awscli/examples/ec2/describe-instance-image-metadata.rst new file mode 100644 index 000000000000..c768a6610efe --- /dev/null +++ b/awscli/examples/ec2/describe-instance-image-metadata.rst @@ -0,0 +1,186 @@ +**Example 1: To describe the AMI metadata for all instances** + +The following ``describe-instance-image-metadata`` example describes the AMI metadata of all the instances in your AWS account in the specified Region. :: + + aws ec2 describe-instance-image-metadata \ + --region us-east-1 + +Output:: + + { + "InstanceImageMetadata": [ + { + "InstanceId": "i-1234567890EXAMPLE", + "InstanceType": "t2.micro", + "LaunchTime": "2024-08-28T11:25:45+00:00", + "AvailabilityZone": "us-east-1a", + "State": { + "Code": 16, + "Name": "running" + }, + "OwnerId": "123412341234", + "Tags": [ + { + "Key": "MyTagName", + "Value": "my-tag-value" + } + ], + "ImageMetadata": { + "ImageId": "ami-0b752bf1df193a6c4", + "Name": "al2023-ami-2023.5.20240819.0-kernel-6.1-x86_64", + "OwnerId": "137112412989", + "State": "available", + "ImageOwnerAlias": "amazon", + "CreationDate": "2023-01-25T17:20:40Z", + "DeprecationTime": "2025-01-25T17:20:40Z", + "IsPublic": true + } + } + ], + "NextToken": "...EXAMPLEwIAABAA2JHaFxLnEXAMPLE..." + } + +For more information, see `Amazon Machine Images in Amazon EC2 `__ in the *Amazon EC2 User Guide*. + +**Example 2: To describe the AMI metadata for the specified instances** + +The following ``describe-instance-image-metadata`` example describes the AMI metadata for the specified instances. :: + + aws ec2 describe-instance-image-metadata \ + --region us-east-1 \ + --instance-ids i-1234567890EXAMPLE i-0987654321EXAMPLE + +Output:: + + { + "InstanceImageMetadata": [ + { + "InstanceId": "i-1234567890EXAMPLE", + "InstanceType": "t2.micro", + "LaunchTime": "2024-08-28T11:25:45+00:00", + "AvailabilityZone": "us-east-1a", + "State": { + "Code": 16, + "Name": "running" + }, + "OwnerId": "123412341234", + "Tags": [ + { + "Key": "MyTagName", + "Value": "my-tag-value" + } + ], + "ImageMetadata": { + "ImageId": "ami-0b752bf1df193a6c4", + "Name": "al2023-ami-2023.5.20240819.0-kernel-6.1-x86_64", + "OwnerId": "137112412989", + "State": "available", + "ImageOwnerAlias": "amazon", + "CreationDate": "2023-01-25T17:20:40Z", + "DeprecationTime": "2025-01-25T17:20:40Z", + "IsPublic": true + } + }, + { + "InstanceId": "i-0987654321EXAMPLE", + "InstanceType": "t2.micro", + "LaunchTime": "2024-08-28T11:25:45+00:00", + "AvailabilityZone": "us-east-1a", + "State": { + "Code": 16, + "Name": "running" + }, + "OwnerId": "123412341234", + "Tags": [ + { + "Key": "MyTagName", + "Value": "my-tag-value" + } + ], + "ImageMetadata": { + "ImageId": "ami-0b752bf1df193a6c4", + "Name": "al2023-ami-2023.5.20240819.0-kernel-6.1-x86_64", + "OwnerId": "137112412989", + "State": "available", + "ImageOwnerAlias": "amazon", + "CreationDate": "2023-01-25T17:20:40Z", + "DeprecationTime": "2025-01-25T17:20:40Z", + "IsPublic": true + } + } + ] + } + +For more information, see `Amazon Machine Images in Amazon EC2 `__ in the *Amazon EC2 User Guide*. + +**Example 3: To describe the AMI metadata for instances based on filters** + +The following ``describe-instance-image-metadata`` example describes the AMI metadata for ``t2.nano`` and ``t2.micro`` instances in the ``us-east-1a`` Availability Zone. :: + + aws ec2 describe-instance-image-metadata \ + --region us-east-1 \ + --filters Name=availability-zone,Values=us-east-1a Name=instance-type,Values=t2.nano,t2.micro + +Output:: + + { + "InstanceImageMetadata": [ + { + "InstanceId": "i-1234567890EXAMPLE", + "InstanceType": "t2.micro", + "LaunchTime": "2024-08-28T11:25:45+00:00", + "AvailabilityZone": "us-east-1a", + "State": { + "Code": 16, + "Name": "running" + }, + "OwnerId": "123412341234", + "Tags": [ + { + "Key": "MyTagName", + "Value": "my-tag-value" + } + ], + "ImageMetadata": { + "ImageId": "ami-0b752bf1df193a6c4", + "Name": "al2023-ami-2023.5.20240819.0-kernel-6.1-x86_64", + "OwnerId": "137112412989", + "State": "available", + "ImageOwnerAlias": "amazon", + "CreationDate": "2023-01-25T17:20:40Z", + "DeprecationTime": "2025-01-25T17:20:40Z", + "IsPublic": true + } + }, + { + "InstanceId": "i-0987654321EXAMPLE", + "InstanceType": "t2.micro", + "LaunchTime": "2024-08-28T11:25:45+00:00", + "AvailabilityZone": "us-east-1a", + "State": { + "Code": 16, + "Name": "running" + }, + "OwnerId": "123412341234", + "Tags": [ + { + "Key": "MyTagName", + "Value": "my-tag-value" + } + ], + "ImageMetadata": { + "ImageId": "ami-0b752bf1df193a6c4", + "Name": "al2023-ami-2023.5.20240819.0-kernel-6.1-x86_64", + "OwnerId": "137112412989", + "State": "available", + "ImageOwnerAlias": "amazon", + "CreationDate": "2023-01-25T17:20:40Z", + "DeprecationTime": "2025-01-25T17:20:40Z", + "IsPublic": true + } + } + ], + "NextToken": "...EXAMPLEV7ixRYHwIAABAA2JHaFxLnDAzpatfEXAMPLE..." + } + +For more information, see `Amazon Machine Images in Amazon EC2 `__ in the *Amazon EC2 User Guide*. diff --git a/awscli/examples/ecs/describe-service-deployments.rst b/awscli/examples/ecs/describe-service-deployments.rst new file mode 100644 index 000000000000..f7f97b6810f4 --- /dev/null +++ b/awscli/examples/ecs/describe-service-deployments.rst @@ -0,0 +1,54 @@ +**To describe service deployment details** + +The following ``describe-service-deployments`` example returns the service deployment details for the service deployment with the ARN ``arn:aws:ecs:us-east-1:123456789012:service-deployment/example-cluster/example-service/ejGvqq2ilnbKT9qj0vLJe``. :: + + aws ecs describe-service-deployments \ + --service-deployment-arn arn:aws:ecs:us-east-1:123456789012:service-deployment/example-cluster/example-service/ejGvqq2ilnbKT9qj0vLJe + +Output:: + + { + "serviceDeployments": [ + { + "serviceDeploymentArn": "arn:aws:ecs:us-east-1:123456789012:service-deployment/example-cluster/example-service/ejGvqq2ilnbKT9qj0vLJe", + "serviceArn": "arn:aws:ecs:us-east-1:123456789012:service/example-cluster/example-service", + "clusterArn": "arn:aws:ecs:us-east-1:123456789012:cluster/example-cluster", + "createdAt": "2024-10-31T08:03:30.917000-04:00", + "startedAt": "2024-10-31T08:03:32.510000-04:00", + "finishedAt": "2024-10-31T08:05:04.527000-04:00", + "updatedAt": "2024-10-31T08:05:04.527000-04:00", + "sourceServiceRevisions": [], + "targetServiceRevision": { + "arn": "arn:aws:ecs:us-east-1:123456789012:service-revision/example-cluster/example-service/1485800978477494678", + "requestedTaskCount": 1, + "runningTaskCount": 1, + "pendingTaskCount": 0 + }, + "status": "SUCCESSFUL", + "deploymentConfiguration": { + "deploymentCircuitBreaker": { + "enable": true, + "rollback": true + }, + "maximumPercent": 200, + "minimumHealthyPercent": 100, + "alarms": { + "alarmNames": [], + "rollback": false, + "enable": false + } + }, + "deploymentCircuitBreaker": { + "status": "MONITORING_COMPLETE", + "failureCount": 0, + "threshold": 3 + }, + "alarms": { + "status": "DISABLED" + } + } + ], + "failures": [] + } + +For more information, see `View service history using Amazon ECS service deployments `_ in the *Amazon ECS Developer Guide*. diff --git a/awscli/examples/ecs/describe-service-revisions.rst b/awscli/examples/ecs/describe-service-revisions.rst new file mode 100644 index 000000000000..22fb2436dbbc --- /dev/null +++ b/awscli/examples/ecs/describe-service-revisions.rst @@ -0,0 +1,60 @@ +**To describe service revision details** + +The following ``describe-service-revisions`` example returns the service revision details for the service revision with the ARN ``arn:aws:ecs:us-east-1:123456789012:service-revision/example-cluster/example-service/1485800978477494678``. :: + + aws ecs describe-service-revisions \ + --service-revision-arns arn:aws:ecs:us-east-1:123456789012:service-revision/example-cluster/example-service/1485800978477494678 + +Output:: + + { + "serviceRevisions": [ + { + "serviceRevisionArn": "arn:aws:ecs:us-east-1:123456789012:service-revision/example-cluster/example-service/1485800978477494678", + "serviceArn": "arn:aws:ecs:us-east-1:123456789012:service/example-cluster/example-service", + "clusterArn": "arn:aws:ecs:us-east-1:123456789012:cluster/example-cluster", + "taskDefinition": "arn:aws:ecs:us-east-1:123456789012:task-definition/webserver:5", + "capacityProviderStrategy": [ + { + "capacityProvider": "FARGATE", + "weight": 1, + "base": 0 + } + ], + "platformVersion": "1.4.0", + "platformFamily": "Linux", + "networkConfiguration": { + "awsvpcConfiguration": { + "subnets": [ + "subnet-0d0eab1bb38d5ca64", + "subnet-0db5010045995c2d5" + ], + "securityGroups": [ + "sg-02556bf85a191f59a" + ], + "assignPublicIp": "ENABLED" + } + }, + "containerImages": [ + { + "containerName": "aws-otel-collector", + "imageDigest": "sha256:7a1b3560655071bcacd66902c20ebe9a69470d5691fe3bd36baace7c2f3c4640", + "image": "public.ecr.aws/aws-observability/aws-otel-collector:v0.32.0" + }, + { + "containerName": "web", + "imageDigest": "sha256:28402db69fec7c17e179ea87882667f1e054391138f77ffaf0c3eb388efc3ffb", + "image": "nginx" + } + ], + "guardDutyEnabled": false, + "serviceConnectConfiguration": { + "enabled": false + }, + "createdAt": "2024-10-31T08:03:29.302000-04:00" + } + ], + "failures": [] + } + +For more information, see `Amazon ECS service revisions `_ in the *Amazon ECS Developer Guide*. diff --git a/awscli/examples/ecs/list-service-deployments.rst b/awscli/examples/ecs/list-service-deployments.rst new file mode 100644 index 000000000000..c1583085f22f --- /dev/null +++ b/awscli/examples/ecs/list-service-deployments.rst @@ -0,0 +1,25 @@ +**To list service deployments** + +The following ``list-service-deployments`` example retrieves the service deployments for the service named ``example-service``. :: + + aws ecs list-service-deployments \ + --service arn:aws:ecs:us-east-1:123456789012:service/example-cluster/example-service + +Output:: + + { + "serviceDeployments": [ + { + "serviceDeploymentArn": "arn:aws:ecs:us-east-1:123456789012:service-deployment/example-cluster/example-service/ejGvqq2ilnbKT9qj0vLJe", + "serviceArn": "arn:aws:ecs:us-east-1:123456789012:service/example-cluster/example-service", + "clusterArn": "arn:aws:ecs:us-east-1:123456789012:cluster/example-cluster", + "startedAt": "2024-10-31T08:03:32.510000-04:00", + "createdAt": "2024-10-31T08:03:30.917000-04:00", + "finishedAt": "2024-10-31T08:05:04.527000-04:00", + "targetServiceRevisionArn": "arn:aws:ecs:us-east-1:123456789012:service-revision/example-cluster/example-service/1485800978477494678", + "status": "SUCCESSFUL" + } + ] + } + +For more information, see `View service history using Amazon ECS service deployments `_ in the *Amazon ECS Developer Guide*. diff --git a/awscli/examples/macie2/describe-buckets.rst b/awscli/examples/macie2/describe-buckets.rst index 222526726e7c..171d524d3f3f 100644 --- a/awscli/examples/macie2/describe-buckets.rst +++ b/awscli/examples/macie2/describe-buckets.rst @@ -1,9 +1,9 @@ **To query data about one or more S3 buckets that Amazon Macie monitors and analyzes for your account** -The following ``describe-buckets`` example queries metadata for all S3 buckets whose names begin with MY-S3 and are in the current AWS Region. :: +The following ``describe-buckets`` example queries metadata for all S3 buckets whose names begin with amzn-s3-demo-bucket and are in the current AWS Region. :: aws macie2 describe-buckets \ - --criteria '{"bucketName":{"prefix":"my-S3"}}' + --criteria '{"bucketName":{"prefix":"amzn-s3-demo-bucket"}}' Output:: @@ -12,6 +12,7 @@ Output:: { "accountId": "123456789012", "allowsUnencryptedObjectUploads": "FALSE", + "automatedDiscoveryMonitoringStatus": "MONITORED", "bucketArn": "arn:aws:s3:::amzn-s3-demo-bucket1", "bucketCreatedAt": "2020-05-18T19:54:00+00:00", "bucketName": "amzn-s3-demo-bucket1", @@ -20,11 +21,11 @@ Output:: "jobDetails": { "isDefinedInJob": "TRUE", "isMonitoredByJob": "TRUE", - "lastJobId": "08c81dc4a2f3377fae45c9ddaexample", - "lastJobRunTime": "2021-04-26T14:55:30.270000+00:00" + "lastJobId": "08c81dc4a2f3377fae45c9ddaEXAMPLE", + "lastJobRunTime": "2024-08-19T14:55:30.270000+00:00" }, - "lastAutomatedDiscoveryTime": "2022-12-10T19:11:25.364000+00:00", - "lastUpdated": "2022-12-13T07:33:06.337000+00:00", + "lastAutomatedDiscoveryTime": "2024-10-22T19:11:25.364000+00:00", + "lastUpdated": "2024-10-25T07:33:06.337000+00:00", "objectCount": 13, "objectCountByEncryptionType": { "customerManaged": 0, @@ -101,6 +102,7 @@ Output:: { "accountId": "123456789012", "allowsUnencryptedObjectUploads": "TRUE", + "automatedDiscoveryMonitoringStatus": "MONITORED", "bucketArn": "arn:aws:s3:::amzn-s3-demo-bucket2", "bucketCreatedAt": "2020-11-25T18:24:38+00:00", "bucketName": "amzn-s3-demo-bucket2", @@ -109,11 +111,11 @@ Output:: "jobDetails": { "isDefinedInJob": "TRUE", "isMonitoredByJob": "FALSE", - "lastJobId": "188d4f6044d621771ef7d65f2example", - "lastJobRunTime": "2021-04-09T19:37:11.511000+00:00" + "lastJobId": "188d4f6044d621771ef7d65f2EXAMPLE", + "lastJobRunTime": "2024-07-09T19:37:11.511000+00:00" }, - "lastAutomatedDiscoveryTime": "2022-12-12T19:11:25.364000+00:00", - "lastUpdated": "2022-12-13T07:33:06.337000+00:00", + "lastAutomatedDiscoveryTime": "2024-10-24T19:11:25.364000+00:00", + "lastUpdated": "2024-10-25T07:33:06.337000+00:00", "objectCount": 8, "objectCountByEncryptionType": { "customerManaged": 0, @@ -190,4 +192,4 @@ Output:: ] } -For more information, see `Filtering your S3 bucket inventory `__ in the *Amazon Macie User Guide*. \ No newline at end of file +For more information, see `Filtering your S3 bucket inventory `__ in the *Amazon Macie User Guide*. From c165d8da185d8c4749e0012f098f143218d06d90 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 15 Jan 2025 19:59:20 +0000 Subject: [PATCH 0398/1087] Merge customizations for S3 --- awscli/customizations/s3/subcommands.py | 2 +- awscli/topics/s3-faq.rst | 73 ++++++++++++------- tests/functional/s3/__init__.py | 1 + tests/functional/s3/test_cp_command.py | 22 +++++- tests/functional/s3/test_sync_command.py | 16 ++++ tests/functional/s3api/test_get_object.py | 8 +- .../customizations/s3/test_copy_params.py | 19 +++-- 7 files changed, 104 insertions(+), 37 deletions(-) diff --git a/awscli/customizations/s3/subcommands.py b/awscli/customizations/s3/subcommands.py index e0f79b90bcbe..3f3a2834c6d5 100644 --- a/awscli/customizations/s3/subcommands.py +++ b/awscli/customizations/s3/subcommands.py @@ -458,7 +458,7 @@ } CHECKSUM_ALGORITHM = { - 'name': 'checksum-algorithm', 'choices': ['CRC32', 'SHA256', 'SHA1', 'CRC32C'], + 'name': 'checksum-algorithm', 'choices': ['CRC64NVME', 'CRC32', 'SHA256', 'SHA1', 'CRC32C'], 'help_text': 'Indicates the algorithm used to create the checksum for the object.' } diff --git a/awscli/topics/s3-faq.rst b/awscli/topics/s3-faq.rst index 2e8babe13a41..975b8d122a66 100644 --- a/awscli/topics/s3-faq.rst +++ b/awscli/topics/s3-faq.rst @@ -13,32 +13,55 @@ Below are common questions regarding the use of Amazon S3 in the AWS CLI. Q: Does the AWS CLI validate checksums? --------------------------------------- -The AWS CLI will perform checksum validation for uploading files in -specific scenarios. +The AWS CLI will attempt to perform checksum validation for uploading and +downloading files, as described below. Upload ~~~~~~ -The AWS CLI will calculate and auto-populate the ``Content-MD5`` header for -both standard and multipart uploads. If the checksum that S3 calculates does -not match the ``Content-MD5`` provided, S3 will not store the object and -instead will return an error message back the AWS CLI. The AWS CLI will retry -this error up to 5 times before giving up. On the case that any files fail to -transfer successfully to S3, the AWS CLI will exit with a non zero RC. -See ``aws help return-codes`` for more information. - -If the upload request is signed with Signature Version 4, then the AWS CLI uses the -``x-amz-content-sha256`` header as a checksum instead of ``Content-MD5``. -The AWS CLI will use Signature Version 4 for S3 in several cases: - -* You're using an AWS region that only supports Signature Version 4. This - includes ``eu-central-1`` and ``ap-northeast-2``. -* You explicitly opt in and set ``signature_version = s3v4`` in your - ``~/.aws/config`` file. - -Note that the AWS CLI will add a ``Content-MD5`` header for both -the high level ``aws s3`` commands that perform uploads -(``aws s3 cp``, ``aws s3 sync``) as well as the low level ``s3api`` -commands including ``aws s3api put-object`` and ``aws s3api upload-part``. - -If you want to verify the integrity of an object during upload, see `How can I check the integrity of an object uploaded to Amazon S3? `_ in the *AWS Knowledge Center*. +The AWS CLI v1 will calculate and auto-populate a ``x-amz-checksum-`` HTTP header by +default for each upload, where ```` is the algorithm used to calculate the checksum. +By default, the Cyclic Redundancy Check 32 (CRC32) algorithm +is used to calculate checksums, but an alternative algorithm can be specified by using the +``--checksum-algorithm`` argument on high-level ``aws s3`` commands. The checksum algorithms +supported by the AWS CLI v1 are: + +- CRC64NVME (Recommended) +- CRC32 +- CRC32C +- SHA1 +- SHA256 + +Amazon S3 will use the algorithm specified in the header to calculate the checksum of the object. If it +does not match the checksum provided, the object will not be stored and an error message +will be returned. Otherwise, the checksum is stored in object metadata that you can use +later to verify data integrity of download operations (see Download section). + +.. note:: + Note that the AWS CLI will perform the above checksum calculations for commands that perform uploads. This + includes high-level commands like ``aws s3 cp``, ``aws s3 sync``, and ``aws s3 mv``, and low-level commands + like ``aws s3api put-object`` and ``aws s3api upload-part``." + + For high-level command invocations that result in uploading multiple files (e.g. ``aws s3 sync``), + the same checksum algorithm will be used for all file uploads included in the command execution. + +For more information about verifying data integrity in Amazon S3, see +`Checking object integrity in Amazon S3? +`_ in the Amazon S3 User Guide. + +Download +~~~~~~ + +The AWS CLI will attempt to verify the checksum of downloads when possible. If a non-MD5 checksum is returned +with a downloaded object, the CLI will use the same algorithm to recalculate the checksum and verify +it matches the one stored in Amazon S3. If checksum validation fails, an error is raised and the request will NOT be +retried. + +.. note:: + Note that the AWS CLI will perform the above checksum calculations for commands that perform uploads. This + includes high-level commands like ``aws s3 cp``, ``aws s3 sync``, and ``aws s3 mv``, and low-level commands + like ``aws s3api get-object``" + +For more information about verifying data integrity in Amazon S3, see +`Checking object integrity in Amazon S3? +`_ in the Amazon S3 User Guide. diff --git a/tests/functional/s3/__init__.py b/tests/functional/s3/__init__.py index 8fe4c6a65006..c43e7d68e472 100644 --- a/tests/functional/s3/__init__.py +++ b/tests/functional/s3/__init__.py @@ -105,6 +105,7 @@ def put_object_request(self, bucket, key, **override_kwargs): params = { 'Bucket': bucket, 'Key': key, + 'ChecksumAlgorithm': 'CRC32', 'Body': mock.ANY, } params.update(override_kwargs) diff --git a/tests/functional/s3/test_cp_command.py b/tests/functional/s3/test_cp_command.py index 14617e64b450..79eea2ccab7e 100644 --- a/tests/functional/s3/test_cp_command.py +++ b/tests/functional/s3/test_cp_command.py @@ -82,7 +82,7 @@ def test_upload_grants(self): {'Key': u'key.txt', 'Bucket': u'bucket', 'GrantRead': u'id=foo', 'GrantFullControl': u'id=bar', 'GrantReadACP': u'id=biz', 'GrantWriteACP': u'id=baz', 'ContentType': u'text/plain', - 'Body': mock.ANY} + 'Body': mock.ANY, 'ChecksumAlgorithm': 'CRC32'} ) def test_upload_expires(self): @@ -449,6 +449,7 @@ def test_cp_with_sse_flag(self): self.assertDictEqual( self.operations_called[0][1], {'Key': 'key.txt', 'Bucket': 'bucket', + 'ChecksumAlgorithm': 'CRC32', 'ContentType': 'text/plain', 'Body': mock.ANY, 'ServerSideEncryption': 'AES256'} ) @@ -464,6 +465,7 @@ def test_cp_with_sse_c_flag(self): self.assertDictEqual( self.operations_called[0][1], {'Key': 'key.txt', 'Bucket': 'bucket', + 'ChecksumAlgorithm': 'CRC32', 'ContentType': 'text/plain', 'Body': mock.ANY, 'SSECustomerAlgorithm': 'AES256', 'SSECustomerKey': 'foo'} ) @@ -488,6 +490,7 @@ def test_cp_with_sse_c_fileb(self): expected_args = { 'Key': 'key.txt', 'Bucket': 'bucket', + 'ChecksumAlgorithm': 'CRC32', 'ContentType': 'text/plain', 'Body': mock.ANY, 'SSECustomerAlgorithm': 'AES256', @@ -563,6 +566,7 @@ def test_cp_upload_with_sse_kms_and_key_id(self): self.assertDictEqual( self.operations_called[0][1], {'Key': 'key.txt', 'Bucket': 'bucket', + 'ChecksumAlgorithm': 'CRC32', 'ContentType': 'text/plain', 'Body': mock.ANY, 'SSEKMSKeyId': 'foo', 'ServerSideEncryption': 'aws:kms'} ) @@ -588,6 +592,7 @@ def test_cp_upload_large_file_with_sse_kms_and_key_id(self): self.assertDictEqual( self.operations_called[0][1], {'Key': 'key.txt', 'Bucket': 'bucket', + 'ChecksumAlgorithm': 'CRC32', 'ContentType': 'text/plain', 'SSEKMSKeyId': 'foo', 'ServerSideEncryption': 'aws:kms'} ) @@ -708,6 +713,14 @@ def test_upload_with_checksum_algorithm_crc32c(self): self.assertEqual(self.operations_called[0][0].name, 'PutObject') self.assertEqual(self.operations_called[0][1]['ChecksumAlgorithm'], 'CRC32C') + @requires_crt + def test_upload_with_checksum_algorithm_crc64nvme(self): + full_path = self.files.create_file('foo.txt', 'contents') + cmdline = f'{self.prefix} {full_path} s3://bucket/key.txt --checksum-algorithm CRC64NVME' + self.run_cmd(cmdline, expected_rc=0) + self.assertEqual(self.operations_called[0][0].name, 'PutObject') + self.assertEqual(self.operations_called[0][1]['ChecksumAlgorithm'], 'CRC64NVME') + def test_multipart_upload_with_checksum_algorithm_crc32(self): full_path = self.files.create_file('foo.txt', 'a' * 10 * (1024 ** 2)) self.parsed_responses = [ @@ -791,6 +804,7 @@ def test_streaming_upload(self): expected_args = { 'Bucket': 'bucket', 'Key': 'streaming.txt', + 'ChecksumAlgorithm': 'CRC32', 'Body': mock.ANY } @@ -812,6 +826,7 @@ def test_streaming_upload_with_expected_size(self): expected_args = { 'Bucket': 'bucket', 'Key': 'streaming.txt', + 'ChecksumAlgorithm': 'CRC32', 'Body': mock.ANY } @@ -917,6 +932,7 @@ def test_single_upload(self): ('PutObject', { 'Bucket': 'mybucket', 'Key': 'mykey', + 'ChecksumAlgorithm': 'CRC32', 'RequestPayer': 'requester', 'Body': mock.ANY, }) @@ -941,11 +957,13 @@ def test_multipart_upload(self): ('CreateMultipartUpload', { 'Bucket': 'mybucket', 'Key': 'mykey', + 'ChecksumAlgorithm': 'CRC32', 'RequestPayer': 'requester', }), ('UploadPart', { 'Bucket': 'mybucket', 'Key': 'mykey', + 'ChecksumAlgorithm': 'CRC32', 'RequestPayer': 'requester', 'UploadId': 'myid', 'PartNumber': mock.ANY, @@ -954,6 +972,7 @@ def test_multipart_upload(self): ('UploadPart', { 'Bucket': 'mybucket', 'Key': 'mykey', + 'ChecksumAlgorithm': 'CRC32', 'RequestPayer': 'requester', 'UploadId': 'myid', 'PartNumber': mock.ANY, @@ -986,6 +1005,7 @@ def test_recursive_upload(self): ('PutObject', { 'Bucket': 'mybucket', 'Key': 'myfile', + 'ChecksumAlgorithm': 'CRC32', 'RequestPayer': 'requester', 'Body': mock.ANY, }) diff --git a/tests/functional/s3/test_sync_command.py b/tests/functional/s3/test_sync_command.py index b3978edcf426..c096862ce01c 100644 --- a/tests/functional/s3/test_sync_command.py +++ b/tests/functional/s3/test_sync_command.py @@ -375,6 +375,22 @@ def test_download_with_checksum_mode_sha256(self): self.assertEqual(self.operations_called[1][0].name, 'GetObject') self.assertIn(('ChecksumMode', 'ENABLED'), self.operations_called[1][1].items()) + def test_download_with_checksum_mode_crc64nvme(self): + self.parsed_responses = [ + self.list_objects_response(['bucket']), + # Mocked GetObject response with a checksum algorithm specified + { + 'ETag': 'foo-1', + 'ChecksumCRC64NVME': 'checksum', + 'Body': BytesIO(b'foo') + } + ] + cmdline = f'{self.prefix} s3://bucket/foo {self.files.rootdir} --checksum-mode ENABLED' + self.run_cmd(cmdline, expected_rc=0) + self.assertEqual(self.operations_called[0][0].name, 'ListObjectsV2') + self.assertEqual(self.operations_called[1][0].name, 'GetObject') + self.assertIn(('ChecksumMode', 'ENABLED'), self.operations_called[1][1].items()) + class TestSyncCommandWithS3Express(BaseS3TransferCommandTest): diff --git a/tests/functional/s3api/test_get_object.py b/tests/functional/s3api/test_get_object.py index ec32015254d9..5b0e2d53983f 100644 --- a/tests/functional/s3api/test_get_object.py +++ b/tests/functional/s3api/test_get_object.py @@ -38,6 +38,7 @@ def test_simple(self): cmdline += ' outfile' self.addCleanup(self.remove_file_if_exists, 'outfile') self.assert_params_for_cmd(cmdline, {'Bucket': 'mybucket', + 'ChecksumMode': 'ENABLED', 'Key': 'mykey'}) def test_range(self): @@ -48,6 +49,7 @@ def test_range(self): cmdline += ' outfile' self.addCleanup(self.remove_file_if_exists, 'outfile') self.assert_params_for_cmd(cmdline, {'Bucket': 'mybucket', + 'ChecksumMode': 'ENABLED', 'Key': 'mykey', 'Range': 'bytes=0-499'}) @@ -61,7 +63,9 @@ def test_response_headers(self): self.addCleanup(self.remove_file_if_exists, 'outfile') self.assert_params_for_cmd( cmdline, { - 'Bucket': 'mybucket', 'Key': 'mykey', + 'Bucket': 'mybucket', + 'ChecksumMode': 'ENABLED', + 'Key': 'mykey', 'ResponseCacheControl': 'No-cache', 'ResponseContentEncoding': 'x-gzip' } @@ -83,7 +87,7 @@ def test_streaming_output_arg_with_error_response(self): cmdline += ' outfile' self.addCleanup(self.remove_file_if_exists, 'outfile') self.assert_params_for_cmd( - cmdline, {'Bucket': 'mybucket', 'Key': 'mykey'}) + cmdline, {'Bucket': 'mybucket', 'ChecksumMode': 'ENABLED', 'Key': 'mykey'}) if __name__ == "__main__": diff --git a/tests/unit/customizations/s3/test_copy_params.py b/tests/unit/customizations/s3/test_copy_params.py index 1f735f96d949..9d637e455e64 100644 --- a/tests/unit/customizations/s3/test_copy_params.py +++ b/tests/unit/customizations/s3/test_copy_params.py @@ -50,7 +50,7 @@ def test_simple(self): cmdline = self.prefix cmdline += self.file_path cmdline += ' s3://mybucket/mykey' - result = {'Bucket': u'mybucket', 'Key': u'mykey'} + result = {'Bucket': u'mybucket', 'Key': u'mykey', 'ChecksumAlgorithm': 'CRC32'} self.assert_params(cmdline, result) def test_sse(self): @@ -59,7 +59,7 @@ def test_sse(self): cmdline += ' s3://mybucket/mykey' cmdline += ' --sse' result = {'Bucket': u'mybucket', 'Key': u'mykey', - 'ServerSideEncryption': 'AES256'} + 'ServerSideEncryption': 'AES256', 'ChecksumAlgorithm': 'CRC32'} self.assert_params(cmdline, result) def test_storage_class(self): @@ -68,7 +68,7 @@ def test_storage_class(self): cmdline += ' s3://mybucket/mykey' cmdline += ' --storage-class REDUCED_REDUNDANCY' result = {'Bucket': u'mybucket', 'Key': u'mykey', - 'StorageClass': u'REDUCED_REDUNDANCY'} + 'StorageClass': u'REDUCED_REDUNDANCY', 'ChecksumAlgorithm': 'CRC32'} self.assert_params(cmdline, result) def test_standard_ia_storage_class(self): @@ -77,7 +77,7 @@ def test_standard_ia_storage_class(self): cmdline += ' s3://mybucket/mykey' cmdline += ' --storage-class STANDARD_IA' result = {'Bucket': u'mybucket', 'Key': u'mykey', - 'StorageClass': u'STANDARD_IA'} + 'StorageClass': u'STANDARD_IA', 'ChecksumAlgorithm': 'CRC32'} self.assert_params(cmdline, result) def test_glacier_ir_storage_class(self): @@ -86,7 +86,7 @@ def test_glacier_ir_storage_class(self): cmdline += ' s3://mybucket/mykey' cmdline += ' --storage-class GLACIER_IR' result = {'Bucket': u'mybucket', 'Key': u'mykey', - 'StorageClass': u'GLACIER_IR'} + 'ChecksumAlgorithm': 'CRC32', 'StorageClass': u'GLACIER_IR'} self.assert_params(cmdline, result) def test_website_redirect(self): @@ -96,6 +96,7 @@ def test_website_redirect(self): cmdline += ' --website-redirect /foobar' result = {'Bucket': u'mybucket', 'Key': u'mykey', + 'ChecksumAlgorithm': 'CRC32', 'WebsiteRedirectLocation': u'/foobar'} self.assert_params(cmdline, result) @@ -104,7 +105,7 @@ def test_acl(self): cmdline += self.file_path cmdline += ' s3://mybucket/mykey' cmdline += ' --acl public-read' - result = {'Bucket': 'mybucket', 'Key': 'mykey', 'ACL': 'public-read'} + result = {'Bucket': 'mybucket', 'Key': 'mykey', 'ChecksumAlgorithm': 'CRC32', 'ACL': 'public-read'} self.assert_params(cmdline, result) def test_content_params(self): @@ -116,6 +117,7 @@ def test_content_params(self): cmdline += ' --cache-control max-age=3600,must-revalidate' cmdline += ' --content-disposition attachment;filename="fname.ext"' result = {'Bucket': 'mybucket', 'Key': 'mykey', + 'ChecksumAlgorithm': 'CRC32', 'ContentEncoding': 'x-gzip', 'ContentLanguage': 'piglatin', 'ContentDisposition': 'attachment;filename="fname.ext"', @@ -131,7 +133,8 @@ def test_grants(self): result = {'Bucket': u'mybucket', 'GrantFullControl': u'alice', 'GrantRead': u'bob', - 'Key': u'mykey'} + 'Key': u'mykey', + 'ChecksumAlgorithm': 'CRC32'} self.assert_params(cmdline, result) def test_grants_bad(self): @@ -148,7 +151,7 @@ def test_content_type(self): cmdline += ' s3://mybucket/mykey' cmdline += ' --content-type text/xml' result = {'Bucket': u'mybucket', 'ContentType': u'text/xml', - 'Key': u'mykey'} + 'Key': u'mykey', 'ChecksumAlgorithm': 'CRC32'} self.assert_params(cmdline, result) From 4b9355bec243c71937e77fdfa2174051b07ed962 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 15 Jan 2025 19:59:24 +0000 Subject: [PATCH 0399/1087] Update changelog based on model updates --- .changes/next-release/api-change-apigateway-60347.json | 5 +++++ .../next-release/api-change-bedrockagentruntime-35138.json | 5 +++++ .changes/next-release/api-change-cognitoidentity-69156.json | 5 +++++ .../next-release/api-change-partnercentralselling-21264.json | 5 +++++ .changes/next-release/api-change-s3-32487.json | 5 +++++ .changes/next-release/api-change-securityir-21058.json | 5 +++++ .changes/next-release/api-change-sesv2-69110.json | 5 +++++ .changes/next-release/api-change-workspaces-8280.json | 5 +++++ .../next-release/api-change-workspacesthinclient-4571.json | 5 +++++ 9 files changed, 45 insertions(+) create mode 100644 .changes/next-release/api-change-apigateway-60347.json create mode 100644 .changes/next-release/api-change-bedrockagentruntime-35138.json create mode 100644 .changes/next-release/api-change-cognitoidentity-69156.json create mode 100644 .changes/next-release/api-change-partnercentralselling-21264.json create mode 100644 .changes/next-release/api-change-s3-32487.json create mode 100644 .changes/next-release/api-change-securityir-21058.json create mode 100644 .changes/next-release/api-change-sesv2-69110.json create mode 100644 .changes/next-release/api-change-workspaces-8280.json create mode 100644 .changes/next-release/api-change-workspacesthinclient-4571.json diff --git a/.changes/next-release/api-change-apigateway-60347.json b/.changes/next-release/api-change-apigateway-60347.json new file mode 100644 index 000000000000..d29e130eb731 --- /dev/null +++ b/.changes/next-release/api-change-apigateway-60347.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``apigateway``", + "description": "Documentation updates for Amazon API Gateway" +} diff --git a/.changes/next-release/api-change-bedrockagentruntime-35138.json b/.changes/next-release/api-change-bedrockagentruntime-35138.json new file mode 100644 index 000000000000..3529a4006b4b --- /dev/null +++ b/.changes/next-release/api-change-bedrockagentruntime-35138.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-agent-runtime``", + "description": "Now supports streaming for inline agents." +} diff --git a/.changes/next-release/api-change-cognitoidentity-69156.json b/.changes/next-release/api-change-cognitoidentity-69156.json new file mode 100644 index 000000000000..997758ffa43a --- /dev/null +++ b/.changes/next-release/api-change-cognitoidentity-69156.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``cognito-identity``", + "description": "corrects the dual-stack endpoint configuration" +} diff --git a/.changes/next-release/api-change-partnercentralselling-21264.json b/.changes/next-release/api-change-partnercentralselling-21264.json new file mode 100644 index 000000000000..00470c13c3a3 --- /dev/null +++ b/.changes/next-release/api-change-partnercentralselling-21264.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``partnercentral-selling``", + "description": "Add Tagging support for ResourceSnapshotJob resources" +} diff --git a/.changes/next-release/api-change-s3-32487.json b/.changes/next-release/api-change-s3-32487.json new file mode 100644 index 000000000000..70e1499555ce --- /dev/null +++ b/.changes/next-release/api-change-s3-32487.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``s3``", + "description": "This change enhances integrity protections for new SDK requests to S3. S3 SDKs now support the CRC64NVME checksum algorithm, full object checksums for multipart S3 objects, and new default integrity protections for S3 requests." +} diff --git a/.changes/next-release/api-change-securityir-21058.json b/.changes/next-release/api-change-securityir-21058.json new file mode 100644 index 000000000000..c298dc1a1789 --- /dev/null +++ b/.changes/next-release/api-change-securityir-21058.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``security-ir``", + "description": "Increase minimum length of Threat Actor IP 'userAgent' to 1." +} diff --git a/.changes/next-release/api-change-sesv2-69110.json b/.changes/next-release/api-change-sesv2-69110.json new file mode 100644 index 000000000000..d71a52815f9d --- /dev/null +++ b/.changes/next-release/api-change-sesv2-69110.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``sesv2``", + "description": "This release introduces a new recommendation in Virtual Deliverability Manager Advisor, which detects elevated complaint rates for customer sending identities." +} diff --git a/.changes/next-release/api-change-workspaces-8280.json b/.changes/next-release/api-change-workspaces-8280.json new file mode 100644 index 000000000000..503a89b5fc51 --- /dev/null +++ b/.changes/next-release/api-change-workspaces-8280.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``workspaces``", + "description": "Added GeneralPurpose.4xlarge & GeneralPurpose.8xlarge ComputeTypes." +} diff --git a/.changes/next-release/api-change-workspacesthinclient-4571.json b/.changes/next-release/api-change-workspacesthinclient-4571.json new file mode 100644 index 000000000000..b302ea4722a3 --- /dev/null +++ b/.changes/next-release/api-change-workspacesthinclient-4571.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``workspaces-thin-client``", + "description": "Mark type in MaintenanceWindow as required." +} From e98990a680780059b5ce9db3c5b3d6e1cdcfcc58 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 15 Jan 2025 20:00:04 +0000 Subject: [PATCH 0400/1087] Add changelog entries from botocore --- .changes/next-release/feature-s3-71868.json | 5 +++++ .changes/next-release/feature-s3-95405.json | 5 +++++ .changes/next-release/feature-s3-96694.json | 5 +++++ 3 files changed, 15 insertions(+) create mode 100644 .changes/next-release/feature-s3-71868.json create mode 100644 .changes/next-release/feature-s3-95405.json create mode 100644 .changes/next-release/feature-s3-96694.json diff --git a/.changes/next-release/feature-s3-71868.json b/.changes/next-release/feature-s3-71868.json new file mode 100644 index 000000000000..e4f7ac4602c7 --- /dev/null +++ b/.changes/next-release/feature-s3-71868.json @@ -0,0 +1,5 @@ +{ + "type": "feature", + "category": "``s3``", + "description": "The S3 client attempts to validate response checksums for all S3 API operations that support checksums. However, if the SDK has not implemented the specified checksum algorithm then this validation is skipped. Checksum validation behavior can be configured using the ``when_supported`` and ``when_required`` options - in code using the ``response_checksum_validation`` parameter for ``botocore.config.Config``, in the shared AWS config file using ``response_checksum_validation``, or as an env variable using ``AWS_RESPONSE_CHECKSUM_VALIDATION``." +} diff --git a/.changes/next-release/feature-s3-95405.json b/.changes/next-release/feature-s3-95405.json new file mode 100644 index 000000000000..b9b2bde53bc9 --- /dev/null +++ b/.changes/next-release/feature-s3-95405.json @@ -0,0 +1,5 @@ +{ + "type": "feature", + "category": "``s3``", + "description": "Added support for the CRC64NVME checksum algorithm in the S3 client through the optional AWS CRT (``awscrt``) dependency." +} diff --git a/.changes/next-release/feature-s3-96694.json b/.changes/next-release/feature-s3-96694.json new file mode 100644 index 000000000000..1661fbe3a75b --- /dev/null +++ b/.changes/next-release/feature-s3-96694.json @@ -0,0 +1,5 @@ +{ + "type": "feature", + "category": "``s3``", + "description": "S3 client behavior is updated to always calculate a CRC32 checksum by default for operations that support it (such as PutObject or UploadPart), or require it (such as DeleteObjects). Checksum behavior can be configured using ``when_supported`` and ``when_required`` options - in code using the ``request_checksum_calculation`` parameter for ``botocore.config.Config``, in the shared AWS config file using ``request_checksum_calculation``, or as an env variable using ``AWS_REQUEST_CHECKSUM_CALCULATION``. Note: Botocore will no longer automatically compute and populate the Content-MD5 header." +} From 524174c46970a80372a1674ae2af04b50d08cb4f Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 15 Jan 2025 20:00:32 +0000 Subject: [PATCH 0401/1087] Bumping version to 1.37.0 --- .changes/1.37.0.json | 62 +++++++++++++++++++ .../api-change-apigateway-60347.json | 5 -- .../api-change-bedrockagentruntime-35138.json | 5 -- .../api-change-cognitoidentity-69156.json | 5 -- ...pi-change-partnercentralselling-21264.json | 5 -- .../next-release/api-change-s3-32487.json | 5 -- .../api-change-securityir-21058.json | 5 -- .../next-release/api-change-sesv2-69110.json | 5 -- .../api-change-workspaces-8280.json | 5 -- .../api-change-workspacesthinclient-4571.json | 5 -- .changes/next-release/feature-s3-71868.json | 5 -- .changes/next-release/feature-s3-95405.json | 5 -- .changes/next-release/feature-s3-96694.json | 5 -- CHANGELOG.rst | 17 +++++ awscli/__init__.py | 2 +- doc/source/conf.py | 4 +- setup.cfg | 4 +- setup.py | 4 +- 18 files changed, 86 insertions(+), 67 deletions(-) create mode 100644 .changes/1.37.0.json delete mode 100644 .changes/next-release/api-change-apigateway-60347.json delete mode 100644 .changes/next-release/api-change-bedrockagentruntime-35138.json delete mode 100644 .changes/next-release/api-change-cognitoidentity-69156.json delete mode 100644 .changes/next-release/api-change-partnercentralselling-21264.json delete mode 100644 .changes/next-release/api-change-s3-32487.json delete mode 100644 .changes/next-release/api-change-securityir-21058.json delete mode 100644 .changes/next-release/api-change-sesv2-69110.json delete mode 100644 .changes/next-release/api-change-workspaces-8280.json delete mode 100644 .changes/next-release/api-change-workspacesthinclient-4571.json delete mode 100644 .changes/next-release/feature-s3-71868.json delete mode 100644 .changes/next-release/feature-s3-95405.json delete mode 100644 .changes/next-release/feature-s3-96694.json diff --git a/.changes/1.37.0.json b/.changes/1.37.0.json new file mode 100644 index 000000000000..e585c5c9293e --- /dev/null +++ b/.changes/1.37.0.json @@ -0,0 +1,62 @@ +[ + { + "category": "``apigateway``", + "description": "Documentation updates for Amazon API Gateway", + "type": "api-change" + }, + { + "category": "``bedrock-agent-runtime``", + "description": "Now supports streaming for inline agents.", + "type": "api-change" + }, + { + "category": "``cognito-identity``", + "description": "corrects the dual-stack endpoint configuration", + "type": "api-change" + }, + { + "category": "``partnercentral-selling``", + "description": "Add Tagging support for ResourceSnapshotJob resources", + "type": "api-change" + }, + { + "category": "``s3``", + "description": "This change enhances integrity protections for new SDK requests to S3. S3 SDKs now support the CRC64NVME checksum algorithm, full object checksums for multipart S3 objects, and new default integrity protections for S3 requests.", + "type": "api-change" + }, + { + "category": "``security-ir``", + "description": "Increase minimum length of Threat Actor IP 'userAgent' to 1.", + "type": "api-change" + }, + { + "category": "``sesv2``", + "description": "This release introduces a new recommendation in Virtual Deliverability Manager Advisor, which detects elevated complaint rates for customer sending identities.", + "type": "api-change" + }, + { + "category": "``workspaces``", + "description": "Added GeneralPurpose.4xlarge & GeneralPurpose.8xlarge ComputeTypes.", + "type": "api-change" + }, + { + "category": "``workspaces-thin-client``", + "description": "Mark type in MaintenanceWindow as required.", + "type": "api-change" + }, + { + "category": "``s3``", + "description": "The S3 client attempts to validate response checksums for all S3 API operations that support checksums. However, if the SDK has not implemented the specified checksum algorithm then this validation is skipped. Checksum validation behavior can be configured using the ``when_supported`` and ``when_required`` options - in code using the ``response_checksum_validation`` parameter for ``botocore.config.Config``, in the shared AWS config file using ``response_checksum_validation``, or as an env variable using ``AWS_RESPONSE_CHECKSUM_VALIDATION``.", + "type": "feature" + }, + { + "category": "``s3``", + "description": "Added support for the CRC64NVME checksum algorithm in the S3 client through the optional AWS CRT (``awscrt``) dependency.", + "type": "feature" + }, + { + "category": "``s3``", + "description": "S3 client behavior is updated to always calculate a CRC32 checksum by default for operations that support it (such as PutObject or UploadPart), or require it (such as DeleteObjects). Checksum behavior can be configured using ``when_supported`` and ``when_required`` options - in code using the ``request_checksum_calculation`` parameter for ``botocore.config.Config``, in the shared AWS config file using ``request_checksum_calculation``, or as an env variable using ``AWS_REQUEST_CHECKSUM_CALCULATION``. Note: Botocore will no longer automatically compute and populate the Content-MD5 header.", + "type": "feature" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-apigateway-60347.json b/.changes/next-release/api-change-apigateway-60347.json deleted file mode 100644 index d29e130eb731..000000000000 --- a/.changes/next-release/api-change-apigateway-60347.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``apigateway``", - "description": "Documentation updates for Amazon API Gateway" -} diff --git a/.changes/next-release/api-change-bedrockagentruntime-35138.json b/.changes/next-release/api-change-bedrockagentruntime-35138.json deleted file mode 100644 index 3529a4006b4b..000000000000 --- a/.changes/next-release/api-change-bedrockagentruntime-35138.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-agent-runtime``", - "description": "Now supports streaming for inline agents." -} diff --git a/.changes/next-release/api-change-cognitoidentity-69156.json b/.changes/next-release/api-change-cognitoidentity-69156.json deleted file mode 100644 index 997758ffa43a..000000000000 --- a/.changes/next-release/api-change-cognitoidentity-69156.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``cognito-identity``", - "description": "corrects the dual-stack endpoint configuration" -} diff --git a/.changes/next-release/api-change-partnercentralselling-21264.json b/.changes/next-release/api-change-partnercentralselling-21264.json deleted file mode 100644 index 00470c13c3a3..000000000000 --- a/.changes/next-release/api-change-partnercentralselling-21264.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``partnercentral-selling``", - "description": "Add Tagging support for ResourceSnapshotJob resources" -} diff --git a/.changes/next-release/api-change-s3-32487.json b/.changes/next-release/api-change-s3-32487.json deleted file mode 100644 index 70e1499555ce..000000000000 --- a/.changes/next-release/api-change-s3-32487.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``s3``", - "description": "This change enhances integrity protections for new SDK requests to S3. S3 SDKs now support the CRC64NVME checksum algorithm, full object checksums for multipart S3 objects, and new default integrity protections for S3 requests." -} diff --git a/.changes/next-release/api-change-securityir-21058.json b/.changes/next-release/api-change-securityir-21058.json deleted file mode 100644 index c298dc1a1789..000000000000 --- a/.changes/next-release/api-change-securityir-21058.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``security-ir``", - "description": "Increase minimum length of Threat Actor IP 'userAgent' to 1." -} diff --git a/.changes/next-release/api-change-sesv2-69110.json b/.changes/next-release/api-change-sesv2-69110.json deleted file mode 100644 index d71a52815f9d..000000000000 --- a/.changes/next-release/api-change-sesv2-69110.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``sesv2``", - "description": "This release introduces a new recommendation in Virtual Deliverability Manager Advisor, which detects elevated complaint rates for customer sending identities." -} diff --git a/.changes/next-release/api-change-workspaces-8280.json b/.changes/next-release/api-change-workspaces-8280.json deleted file mode 100644 index 503a89b5fc51..000000000000 --- a/.changes/next-release/api-change-workspaces-8280.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``workspaces``", - "description": "Added GeneralPurpose.4xlarge & GeneralPurpose.8xlarge ComputeTypes." -} diff --git a/.changes/next-release/api-change-workspacesthinclient-4571.json b/.changes/next-release/api-change-workspacesthinclient-4571.json deleted file mode 100644 index b302ea4722a3..000000000000 --- a/.changes/next-release/api-change-workspacesthinclient-4571.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``workspaces-thin-client``", - "description": "Mark type in MaintenanceWindow as required." -} diff --git a/.changes/next-release/feature-s3-71868.json b/.changes/next-release/feature-s3-71868.json deleted file mode 100644 index e4f7ac4602c7..000000000000 --- a/.changes/next-release/feature-s3-71868.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "feature", - "category": "``s3``", - "description": "The S3 client attempts to validate response checksums for all S3 API operations that support checksums. However, if the SDK has not implemented the specified checksum algorithm then this validation is skipped. Checksum validation behavior can be configured using the ``when_supported`` and ``when_required`` options - in code using the ``response_checksum_validation`` parameter for ``botocore.config.Config``, in the shared AWS config file using ``response_checksum_validation``, or as an env variable using ``AWS_RESPONSE_CHECKSUM_VALIDATION``." -} diff --git a/.changes/next-release/feature-s3-95405.json b/.changes/next-release/feature-s3-95405.json deleted file mode 100644 index b9b2bde53bc9..000000000000 --- a/.changes/next-release/feature-s3-95405.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "feature", - "category": "``s3``", - "description": "Added support for the CRC64NVME checksum algorithm in the S3 client through the optional AWS CRT (``awscrt``) dependency." -} diff --git a/.changes/next-release/feature-s3-96694.json b/.changes/next-release/feature-s3-96694.json deleted file mode 100644 index 1661fbe3a75b..000000000000 --- a/.changes/next-release/feature-s3-96694.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "feature", - "category": "``s3``", - "description": "S3 client behavior is updated to always calculate a CRC32 checksum by default for operations that support it (such as PutObject or UploadPart), or require it (such as DeleteObjects). Checksum behavior can be configured using ``when_supported`` and ``when_required`` options - in code using the ``request_checksum_calculation`` parameter for ``botocore.config.Config``, in the shared AWS config file using ``request_checksum_calculation``, or as an env variable using ``AWS_REQUEST_CHECKSUM_CALCULATION``. Note: Botocore will no longer automatically compute and populate the Content-MD5 header." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index c62e85eec647..af3bf08d6e31 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,23 @@ CHANGELOG ========= +1.37.0 +====== + +* api-change:``apigateway``: Documentation updates for Amazon API Gateway +* api-change:``bedrock-agent-runtime``: Now supports streaming for inline agents. +* api-change:``cognito-identity``: corrects the dual-stack endpoint configuration +* api-change:``partnercentral-selling``: Add Tagging support for ResourceSnapshotJob resources +* api-change:``s3``: This change enhances integrity protections for new SDK requests to S3. S3 SDKs now support the CRC64NVME checksum algorithm, full object checksums for multipart S3 objects, and new default integrity protections for S3 requests. +* api-change:``security-ir``: Increase minimum length of Threat Actor IP 'userAgent' to 1. +* api-change:``sesv2``: This release introduces a new recommendation in Virtual Deliverability Manager Advisor, which detects elevated complaint rates for customer sending identities. +* api-change:``workspaces``: Added GeneralPurpose.4xlarge & GeneralPurpose.8xlarge ComputeTypes. +* api-change:``workspaces-thin-client``: Mark type in MaintenanceWindow as required. +* feature:``s3``: The S3 client attempts to validate response checksums for all S3 API operations that support checksums. However, if the SDK has not implemented the specified checksum algorithm then this validation is skipped. Checksum validation behavior can be configured using the ``when_supported`` and ``when_required`` options - in code using the ``response_checksum_validation`` parameter for ``botocore.config.Config``, in the shared AWS config file using ``response_checksum_validation``, or as an env variable using ``AWS_RESPONSE_CHECKSUM_VALIDATION``. +* feature:``s3``: Added support for the CRC64NVME checksum algorithm in the S3 client through the optional AWS CRT (``awscrt``) dependency. +* feature:``s3``: S3 client behavior is updated to always calculate a CRC32 checksum by default for operations that support it (such as PutObject or UploadPart), or require it (such as DeleteObjects). Checksum behavior can be configured using ``when_supported`` and ``when_required`` options - in code using the ``request_checksum_calculation`` parameter for ``botocore.config.Config``, in the shared AWS config file using ``request_checksum_calculation``, or as an env variable using ``AWS_REQUEST_CHECKSUM_CALCULATION``. Note: Botocore will no longer automatically compute and populate the Content-MD5 header. + + 1.36.40 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index d52c12ed6343..9ba1c8ba2695 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.36.40' +__version__ = '1.37.0' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 6eed4fd98d10..746b6d90bea5 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -50,9 +50,9 @@ # built documents. # # The short X.Y version. -version = '1.36.' +version = '1.37' # The full version, including alpha/beta/rc tags. -release = '1.36.40' +release = '1.37.0' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index e45874bdfd23..6b4d6d09c976 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,9 +3,9 @@ universal = 0 [metadata] requires_dist = - botocore==1.35.99 + botocore==1.36.0 docutils>=0.10,<0.17 - s3transfer>=0.10.0,<0.11.0 + s3transfer>=0.11.0,<0.12.0 PyYAML>=3.10,<6.1 colorama>=0.2.5,<0.4.7 rsa>=3.1.2,<4.8 diff --git a/setup.py b/setup.py index 6e2085e60e2c..de95ca6d0861 100644 --- a/setup.py +++ b/setup.py @@ -24,9 +24,9 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.35.99', + 'botocore==1.36.0', 'docutils>=0.10,<0.17', - 's3transfer>=0.10.0,<0.11.0', + 's3transfer>=0.11.0,<0.12.0', 'PyYAML>=3.10,<6.1', 'colorama>=0.2.5,<0.4.7', 'rsa>=3.1.2,<4.8', From 3ef2e734b5a4c8f576ced99cc142cc56fab63894 Mon Sep 17 00:00:00 2001 From: David Souther Date: Thu, 16 Jan 2025 12:53:51 -0500 Subject: [PATCH 0402/1087] Replaced /awsExampleBucket/ with amzn-s3-demo-bucket --- awscli/examples/qldb/describe-journal-s3-export.rst | 2 +- awscli/examples/qldb/export-journal-to-s3.rst | 2 +- awscli/examples/qldb/list-journal-s3-exports-for-ledger.rst | 2 +- awscli/examples/qldb/list-journal-s3-exports.rst | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/awscli/examples/qldb/describe-journal-s3-export.rst b/awscli/examples/qldb/describe-journal-s3-export.rst index 5c20514b0c9e..05279de7f315 100644 --- a/awscli/examples/qldb/describe-journal-s3-export.rst +++ b/awscli/examples/qldb/describe-journal-s3-export.rst @@ -11,7 +11,7 @@ Output:: { "ExportDescription": { "S3ExportConfiguration": { - "Bucket": "awsExampleBucket", + "Bucket": "amzn-s3-demo-bucket", "Prefix": "ledgerexport1/", "EncryptionConfiguration": { "ObjectEncryptionType": "SSE_S3" diff --git a/awscli/examples/qldb/export-journal-to-s3.rst b/awscli/examples/qldb/export-journal-to-s3.rst index f935178c75af..11c89b185188 100644 --- a/awscli/examples/qldb/export-journal-to-s3.rst +++ b/awscli/examples/qldb/export-journal-to-s3.rst @@ -12,7 +12,7 @@ The following ``export-journal-to-s3`` example creates an export job for journal Contents of ``my-s3-export-config.json``:: { - "Bucket": "awsExampleBucket", + "Bucket": "amzn-s3-demo-bucket", "Prefix": "ledgerexport1/", "EncryptionConfiguration": { "ObjectEncryptionType": "SSE_S3" diff --git a/awscli/examples/qldb/list-journal-s3-exports-for-ledger.rst b/awscli/examples/qldb/list-journal-s3-exports-for-ledger.rst index 14b784d75039..4c3db2b7a6e9 100644 --- a/awscli/examples/qldb/list-journal-s3-exports-for-ledger.rst +++ b/awscli/examples/qldb/list-journal-s3-exports-for-ledger.rst @@ -14,7 +14,7 @@ Output:: "ExclusiveEndTime": 1568847599.0, "ExportCreationTime": 1568847801.418, "S3ExportConfiguration": { - "Bucket": "awsExampleBucket", + "Bucket": "amzn-s3-demo-bucket", "Prefix": "ledgerexport1/", "EncryptionConfiguration": { "ObjectEncryptionType": "SSE_S3" diff --git a/awscli/examples/qldb/list-journal-s3-exports.rst b/awscli/examples/qldb/list-journal-s3-exports.rst index 641e77ab1519..e4add1552bca 100644 --- a/awscli/examples/qldb/list-journal-s3-exports.rst +++ b/awscli/examples/qldb/list-journal-s3-exports.rst @@ -15,7 +15,7 @@ Output:: "EncryptionConfiguration": { "ObjectEncryptionType": "SSE_S3" }, - "Bucket": "awsExampleBucket", + "Bucket": "amzn-s3-demo-bucket", "Prefix": "ledgerexport1/" }, "RoleArn": "arn:aws:iam::123456789012:role/my-s3-export-role", @@ -31,7 +31,7 @@ Output:: "EncryptionConfiguration": { "ObjectEncryptionType": "SSE_S3" }, - "Bucket": "awsExampleBucket", + "Bucket": "amzn-s3-demo-bucket", "Prefix": "ledgerexport1/" }, "RoleArn": "arn:aws:iam::123456789012:role/my-s3-export-role", From a8e7ea4c47794692033ff599163a770e10e4738b Mon Sep 17 00:00:00 2001 From: David Souther Date: Thu, 16 Jan 2025 12:53:53 -0500 Subject: [PATCH 0403/1087] Replaced /awsexamplebucket/ with amzn-s3-demo-bucket --- .../cloudfront/create-distribution-with-tags.rst | 12 ++++++------ awscli/examples/cloudfront/get-distribution.rst | 6 +++--- .../resourcegroupstaggingapi/untag-resources.rst | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/awscli/examples/cloudfront/create-distribution-with-tags.rst b/awscli/examples/cloudfront/create-distribution-with-tags.rst index 889c289c2613..a47680b9041d 100644 --- a/awscli/examples/cloudfront/create-distribution-with-tags.rst +++ b/awscli/examples/cloudfront/create-distribution-with-tags.rst @@ -39,8 +39,8 @@ the file, which contains two tags: "Quantity": 1, "Items": [ { - "Id": "awsexamplebucket.s3.amazonaws.com-cli-example", - "DomainName": "awsexamplebucket.s3.amazonaws.com", + "Id": "amzn-s3-demo-bucket.s3.amazonaws.com-cli-example", + "DomainName": "amzn-s3-demo-bucket.s3.amazonaws.com", "OriginPath": "", "CustomHeaders": { "Quantity": 0 @@ -55,7 +55,7 @@ the file, which contains two tags: "Quantity": 0 }, "DefaultCacheBehavior": { - "TargetOriginId": "awsexamplebucket.s3.amazonaws.com-cli-example", + "TargetOriginId": "amzn-s3-demo-bucket.s3.amazonaws.com-cli-example", "ForwardedValues": { "QueryString": false, "Cookies": { @@ -155,8 +155,8 @@ Output:: "Quantity": 1, "Items": [ { - "Id": "awsexamplebucket.s3.amazonaws.com-cli-example", - "DomainName": "awsexamplebucket.s3.amazonaws.com", + "Id": "amzn-s3-demo-bucket.s3.amazonaws.com-cli-example", + "DomainName": "amzn-s3-demo-bucket.s3.amazonaws.com", "OriginPath": "", "CustomHeaders": { "Quantity": 0 @@ -171,7 +171,7 @@ Output:: "Quantity": 0 }, "DefaultCacheBehavior": { - "TargetOriginId": "awsexamplebucket.s3.amazonaws.com-cli-example", + "TargetOriginId": "amzn-s3-demo-bucket.s3.amazonaws.com-cli-example", "ForwardedValues": { "QueryString": false, "Cookies": { diff --git a/awscli/examples/cloudfront/get-distribution.rst b/awscli/examples/cloudfront/get-distribution.rst index a881ecae4af2..490eb9ef2f5d 100644 --- a/awscli/examples/cloudfront/get-distribution.rst +++ b/awscli/examples/cloudfront/get-distribution.rst @@ -34,8 +34,8 @@ Output:: "Quantity": 1, "Items": [ { - "Id": "awsexamplebucket.s3.amazonaws.com-cli-example", - "DomainName": "awsexamplebucket.s3.amazonaws.com", + "Id": "amzn-s3-demo-bucket.s3.amazonaws.com-cli-example", + "DomainName": "amzn-s3-demo-bucket.s3.amazonaws.com", "OriginPath": "", "CustomHeaders": { "Quantity": 0 @@ -50,7 +50,7 @@ Output:: "Quantity": 0 }, "DefaultCacheBehavior": { - "TargetOriginId": "awsexamplebucket.s3.amazonaws.com-cli-example", + "TargetOriginId": "amzn-s3-demo-bucket.s3.amazonaws.com-cli-example", "ForwardedValues": { "QueryString": false, "Cookies": { diff --git a/awscli/examples/resourcegroupstaggingapi/untag-resources.rst b/awscli/examples/resourcegroupstaggingapi/untag-resources.rst index e614cd992990..bc11b93abeda 100644 --- a/awscli/examples/resourcegroupstaggingapi/untag-resources.rst +++ b/awscli/examples/resourcegroupstaggingapi/untag-resources.rst @@ -3,7 +3,7 @@ The following ``untag-resources`` example removes the specified tag keys and any associated values from the specified resource. :: aws resourcegroupstaggingapi untag-resources \ - --resource-arn-list arn:aws:s3:::awsexamplebucket \ + --resource-arn-list arn:aws:s3:::amzn-s3-demo-bucket \ --tag-keys Environment CostCenter Output:: From 909bb3539351bf4a820207eece0e243063604623 Mon Sep 17 00:00:00 2001 From: David Souther Date: Thu, 16 Jan 2025 12:54:11 -0500 Subject: [PATCH 0404/1087] Replaced /mybucket2/ with amzn-s3-demo-bucket2 --- awscli/examples/cloudtrail/put-event-selectors.rst | 4 ++-- awscli/examples/s3/cp.rst | 14 +++++++------- awscli/examples/s3/ls.rst | 4 ++-- awscli/examples/s3/mv.rst | 10 +++++----- awscli/examples/s3/sync.rst | 10 +++++----- 5 files changed, 21 insertions(+), 21 deletions(-) diff --git a/awscli/examples/cloudtrail/put-event-selectors.rst b/awscli/examples/cloudtrail/put-event-selectors.rst index 7fe09312ce2e..0651b74f14bf 100755 --- a/awscli/examples/cloudtrail/put-event-selectors.rst +++ b/awscli/examples/cloudtrail/put-event-selectors.rst @@ -119,7 +119,7 @@ The following example creates an event selector for a trail named ``TrailName`` aws cloudtrail put-event-selectors \ --trail-name TrailName \ - --event-selectors '[{"ReadWriteType": "All","IncludeManagementEvents": true,"DataResources": [{"Type":"AWS::S3::Object", "Values": ["arn:aws:s3:::mybucket/prefix","arn:aws:s3:::mybucket2/prefix2"]},{"Type": "AWS::Lambda::Function","Values": ["arn:aws:lambda:us-west-2:999999999999:function:hello-world-python-function"]}]}]' + --event-selectors '[{"ReadWriteType": "All","IncludeManagementEvents": true,"DataResources": [{"Type":"AWS::S3::Object", "Values": ["arn:aws:s3:::mybucket/prefix","arn:aws:s3:::amzn-s3-demo-bucket2/prefix2"]},{"Type": "AWS::Lambda::Function","Values": ["arn:aws:lambda:us-west-2:999999999999:function:hello-world-python-function"]}]}]' Output:: @@ -131,7 +131,7 @@ Output:: { "Values": [ "arn:aws:s3:::mybucket/prefix", - "arn:aws:s3:::mybucket2/prefix2" + "arn:aws:s3:::amzn-s3-demo-bucket2/prefix2" ], "Type": "AWS::S3::Object" }, diff --git a/awscli/examples/s3/cp.rst b/awscli/examples/s3/cp.rst index 0eb85fda80bc..c89ddef1b666 100644 --- a/awscli/examples/s3/cp.rst +++ b/awscli/examples/s3/cp.rst @@ -45,11 +45,11 @@ Output:: The following ``cp`` command copies a single object to a specified bucket while retaining its original name:: - aws s3 cp s3://mybucket/test.txt s3://mybucket2/ + aws s3 cp s3://mybucket/test.txt s3://amzn-s3-demo-bucket2/ Output:: - copy: s3://mybucket/test.txt to s3://mybucket2/test.txt + copy: s3://mybucket/test.txt to s3://amzn-s3-demo-bucket2/test.txt **Example 6: Recursively copying S3 objects to a local directory** @@ -85,25 +85,25 @@ When passed with the parameter ``--recursive``, the following ``cp`` command rec specified bucket to another bucket while excluding some objects by using an ``--exclude`` parameter. In this example, the bucket ``mybucket`` has the objects ``test1.txt`` and ``another/test1.txt``:: - aws s3 cp s3://mybucket/ s3://mybucket2/ \ + aws s3 cp s3://mybucket/ s3://amzn-s3-demo-bucket2/ \ --recursive \ --exclude "another/*" Output:: - copy: s3://mybucket/test1.txt to s3://mybucket2/test1.txt + copy: s3://mybucket/test1.txt to s3://amzn-s3-demo-bucket2/test1.txt You can combine ``--exclude`` and ``--include`` options to copy only objects that match a pattern, excluding all others:: - aws s3 cp s3://mybucket/logs/ s3://mybucket2/logs/ \ + aws s3 cp s3://mybucket/logs/ s3://amzn-s3-demo-bucket2/logs/ \ --recursive \ --exclude "*" \ --include "*.log" Output:: - copy: s3://mybucket/logs/test/test.log to s3://mybucket2/logs/test/test.log - copy: s3://mybucket/logs/test3.log to s3://mybucket2/logs/test3.log + copy: s3://mybucket/logs/test/test.log to s3://amzn-s3-demo-bucket2/logs/test/test.log + copy: s3://mybucket/logs/test3.log to s3://amzn-s3-demo-bucket2/logs/test3.log **Example 9: Setting the Access Control List (ACL) while copying an S3 object** diff --git a/awscli/examples/s3/ls.rst b/awscli/examples/s3/ls.rst index 3754f80d0165..decd5e168daa 100644 --- a/awscli/examples/s3/ls.rst +++ b/awscli/examples/s3/ls.rst @@ -1,13 +1,13 @@ **Example 1: Listing all user owned buckets** -The following ``ls`` command lists all of the bucket owned by the user. In this example, the user owns the buckets ``mybucket`` and ``mybucket2``. The timestamp is the date the bucket was created, shown in your machine's time zone. This date can change when making changes to your bucket, such as editing its bucket policy. Note if ``s3://`` is used for the path argument ````, it will list all of the buckets as well. :: +The following ``ls`` command lists all of the bucket owned by the user. In this example, the user owns the buckets ``mybucket`` and ``amzn-s3-demo-bucket2``. The timestamp is the date the bucket was created, shown in your machine's time zone. This date can change when making changes to your bucket, such as editing its bucket policy. Note if ``s3://`` is used for the path argument ````, it will list all of the buckets as well. :: aws s3 ls Output:: 2013-07-11 17:08:50 mybucket - 2013-07-24 14:55:44 mybucket2 + 2013-07-24 14:55:44 amzn-s3-demo-bucket2 **Example 2: Listing all prefixes and objects in a bucket** diff --git a/awscli/examples/s3/mv.rst b/awscli/examples/s3/mv.rst index 07b385c59dd5..62f9860adfe1 100644 --- a/awscli/examples/s3/mv.rst +++ b/awscli/examples/s3/mv.rst @@ -32,11 +32,11 @@ Output:: The following ``mv`` command moves a single object to a specified bucket while retaining its original name:: - aws s3 mv s3://mybucket/test.txt s3://mybucket2/ + aws s3 mv s3://mybucket/test.txt s3://amzn-s3-demo-bucket2/ Output:: - move: s3://mybucket/test.txt to s3://mybucket2/test.txt + move: s3://mybucket/test.txt to s3://amzn-s3-demo-bucket2/test.txt **Example 5: Move all objects and prefixes in a bucket to the local directory** @@ -64,7 +64,7 @@ this example, the directory ``myDir`` has the files ``test1.txt`` and ``test2.jp Output:: - move: myDir/test1.txt to s3://mybucket2/test1.txt + move: myDir/test1.txt to s3://amzn-s3-demo-bucket2/test1.txt **Example 7: Move all objects and prefixes in a bucket to the local directory, except specified prefix** @@ -72,13 +72,13 @@ When passed with the parameter ``--recursive``, the following ``mv`` command rec specified bucket to another bucket while excluding some objects by using an ``--exclude`` parameter. In this example, the bucket ``mybucket`` has the objects ``test1.txt`` and ``another/test1.txt``. :: - aws s3 mv s3://mybucket/ s3://mybucket2/ \ + aws s3 mv s3://mybucket/ s3://amzn-s3-demo-bucket2/ \ --recursive \ --exclude "mybucket/another/*" Output:: - move: s3://mybucket/test1.txt to s3://mybucket2/test1.txt + move: s3://mybucket/test1.txt to s3://amzn-s3-demo-bucket2/test1.txt **Example 8: Move an object to the specified bucket and set the ACL** diff --git a/awscli/examples/s3/sync.rst b/awscli/examples/s3/sync.rst index 86498ed8c4d0..1e6966678da3 100644 --- a/awscli/examples/s3/sync.rst +++ b/awscli/examples/s3/sync.rst @@ -21,15 +21,15 @@ prefix and bucket by copying S3 objects. An S3 object will require copying if th the last modified time of the source is newer than the last modified time of the destination, or the S3 object does not exist under the specified bucket and prefix destination. -In this example, the user syncs the bucket ``mybucket`` to the bucket ``mybucket2``. The bucket ``mybucket`` contains the objects ``test.txt`` and ``test2.txt``. The bucket -``mybucket2`` contains no objects:: +In this example, the user syncs the bucket ``mybucket`` to the bucket ``amzn-s3-demo-bucket2``. The bucket ``mybucket`` contains the objects ``test.txt`` and ``test2.txt``. The bucket +``amzn-s3-demo-bucket2`` contains no objects:: - aws s3 sync s3://mybucket s3://mybucket2 + aws s3 sync s3://mybucket s3://amzn-s3-demo-bucket2 Output:: - copy: s3://mybucket/test.txt to s3://mybucket2/test.txt - copy: s3://mybucket/test2.txt to s3://mybucket2/test2.txt + copy: s3://mybucket/test.txt to s3://amzn-s3-demo-bucket2/test.txt + copy: s3://mybucket/test2.txt to s3://amzn-s3-demo-bucket2/test2.txt **Example 3: Sync all S3 objects from the specified S3 bucket to the local directory** From 493f1063a414a6476b597a8e75ea9f0f662df4d0 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 16 Jan 2025 19:12:57 +0000 Subject: [PATCH 0405/1087] Update changelog based on model updates --- .changes/next-release/api-change-ecs-20386.json | 5 +++++ .changes/next-release/api-change-sagemaker-31683.json | 5 +++++ 2 files changed, 10 insertions(+) create mode 100644 .changes/next-release/api-change-ecs-20386.json create mode 100644 .changes/next-release/api-change-sagemaker-31683.json diff --git a/.changes/next-release/api-change-ecs-20386.json b/.changes/next-release/api-change-ecs-20386.json new file mode 100644 index 000000000000..08d1d521b59a --- /dev/null +++ b/.changes/next-release/api-change-ecs-20386.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ecs``", + "description": "The release addresses Amazon ECS documentation tickets." +} diff --git a/.changes/next-release/api-change-sagemaker-31683.json b/.changes/next-release/api-change-sagemaker-31683.json new file mode 100644 index 000000000000..055af6cb60a5 --- /dev/null +++ b/.changes/next-release/api-change-sagemaker-31683.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``sagemaker``", + "description": "Added support for ml.trn1.32xlarge instance type in Reserved Capacity Offering" +} From bbc0b120da8f3a8d28049e7c5c46af0f2cb1ebd8 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 16 Jan 2025 19:14:27 +0000 Subject: [PATCH 0406/1087] Bumping version to 1.37.1 --- .changes/1.37.1.json | 12 ++++++++++++ .changes/next-release/api-change-ecs-20386.json | 5 ----- .../next-release/api-change-sagemaker-31683.json | 5 ----- CHANGELOG.rst | 7 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 8 files changed, 23 insertions(+), 14 deletions(-) create mode 100644 .changes/1.37.1.json delete mode 100644 .changes/next-release/api-change-ecs-20386.json delete mode 100644 .changes/next-release/api-change-sagemaker-31683.json diff --git a/.changes/1.37.1.json b/.changes/1.37.1.json new file mode 100644 index 000000000000..2e77650de0f0 --- /dev/null +++ b/.changes/1.37.1.json @@ -0,0 +1,12 @@ +[ + { + "category": "``ecs``", + "description": "The release addresses Amazon ECS documentation tickets.", + "type": "api-change" + }, + { + "category": "``sagemaker``", + "description": "Added support for ml.trn1.32xlarge instance type in Reserved Capacity Offering", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-ecs-20386.json b/.changes/next-release/api-change-ecs-20386.json deleted file mode 100644 index 08d1d521b59a..000000000000 --- a/.changes/next-release/api-change-ecs-20386.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ecs``", - "description": "The release addresses Amazon ECS documentation tickets." -} diff --git a/.changes/next-release/api-change-sagemaker-31683.json b/.changes/next-release/api-change-sagemaker-31683.json deleted file mode 100644 index 055af6cb60a5..000000000000 --- a/.changes/next-release/api-change-sagemaker-31683.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``sagemaker``", - "description": "Added support for ml.trn1.32xlarge instance type in Reserved Capacity Offering" -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index af3bf08d6e31..6ae23f519778 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,13 @@ CHANGELOG ========= +1.37.1 +====== + +* api-change:``ecs``: The release addresses Amazon ECS documentation tickets. +* api-change:``sagemaker``: Added support for ml.trn1.32xlarge instance type in Reserved Capacity Offering + + 1.37.0 ====== diff --git a/awscli/__init__.py b/awscli/__init__.py index 9ba1c8ba2695..819d92d1eeec 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.37.0' +__version__ = '1.37.1' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 746b6d90bea5..303b44cf4b33 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.37' # The full version, including alpha/beta/rc tags. -release = '1.37.0' +release = '1.37.1' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 6b4d6d09c976..8bfbf4bbb0b4 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.36.0 + botocore==1.36.1 docutils>=0.10,<0.17 s3transfer>=0.11.0,<0.12.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index de95ca6d0861..ec324c58f42e 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.36.0', + 'botocore==1.36.1', 'docutils>=0.10,<0.17', 's3transfer>=0.11.0,<0.12.0', 'PyYAML>=3.10,<6.1', From b28c5824a124ce842fedda0d91a6404f1a14b933 Mon Sep 17 00:00:00 2001 From: Steven Meyer <108885656+meyertst-aws@users.noreply.github.com> Date: Thu, 16 Jan 2025 15:51:44 -0500 Subject: [PATCH 0407/1087] Update HealthLake examples (#9096) --- .../healthlake/create-fhir-datastore.rst | 43 +++++++++++++--- .../healthlake/delete-fhir-datastore.rst | 15 +++--- .../healthlake/describe-fhir-datastore.rst | 30 ++++++++---- .../healthlake/describe-fhir-export-job.rst | 17 ++++--- .../healthlake/describe-fhir-import-job.rst | 11 ++--- .../healthlake/list-fhir-datastores.rst | 32 ++++++------ .../healthlake/list-fhir-export-jobs.rst | 41 +++++++++------- .../healthlake/list-fhir-import-jobs.rst | 49 ++++++++++++------- .../healthlake/list-tags-for-resource.rst | 9 ++-- .../healthlake/start-fhir-export-job.rst | 10 ++-- .../healthlake/start-fhir-import-job.rst | 13 ++--- awscli/examples/healthlake/tag-resource.rst | 11 ++--- awscli/examples/healthlake/untag-resource.rst | 11 ++--- 13 files changed, 173 insertions(+), 119 deletions(-) diff --git a/awscli/examples/healthlake/create-fhir-datastore.rst b/awscli/examples/healthlake/create-fhir-datastore.rst index 3921476a6eb7..f2114244b770 100644 --- a/awscli/examples/healthlake/create-fhir-datastore.rst +++ b/awscli/examples/healthlake/create-fhir-datastore.rst @@ -1,20 +1,47 @@ -**To create a FHIR Data Store.** +**Example 1: Create a SigV4-enabled HealthLake data store** -The following ``create-fhir-datastore`` example demonstrates how to create a new Data Store in Amazon HealthLake. :: +The following ``create-fhir-datastore`` example demonstrates how to create a new data store in AWS HealthLake. :: aws healthlake create-fhir-datastore \ - --region us-east-1 \ - --datastore-type-version R4 \ --datastore-type-version R4 \ --datastore-name "FhirTestDatastore" Output:: { - "DatastoreEndpoint": "https://healthlake.us-east-1.amazonaws.com/datastore/(Datastore ID)/r4/", - "DatastoreArn": "arn:aws:healthlake:us-east-1:(AWS Account ID):datastore/(Datastore ID)", + "DatastoreEndpoint": "https://healthlake.us-east-1.amazonaws.com/datastore/(Data store ID)/r4/", + "DatastoreArn": "arn:aws:healthlake:us-east-1:(AWS Account ID):datastore/(Data store ID)", + "DatastoreStatus": "CREATING", + "DatastoreId": "(Data store ID)" + } + +**Example 2: Create a SMART on FHIR-enabled HealthLake data store** + +The following ``create-fhir-datastore`` example demonstrates how to create a new SMART on FHIR-enabled data store in AWS HealthLake. :: + + aws healthlake create-fhir-datastore \ + --datastore-name "your-data-store-name" \ + --datastore-type-version R4 \ + --preload-data-config PreloadDataType="SYNTHEA" \ + --sse-configuration '{ "KmsEncryptionConfig": { "CmkType": "CUSTOMER_MANAGED_KMS_KEY", "KmsKeyId": "arn:aws:kms:us-east-1:your-account-id:key/your-key-id" } }' \ + --identity-provider-configuration file://identity_provider_configuration.json + +Contents of ``identity_provider_configuration.json``:: + + { + "AuthorizationStrategy": "SMART_ON_FHIR_V1", + "FineGrainedAuthorizationEnabled": true, + "IdpLambdaArn": "arn:aws:lambda:your-region:your-account-id:function:your-lambda-name", + "Metadata": "{\"issuer\":\"https://ehr.example.com\", \"jwks_uri\":\"https://ehr.example.com/.well-known/jwks.json\",\"authorization_endpoint\":\"https://ehr.example.com/auth/authorize\",\"token_endpoint\":\"https://ehr.token.com/auth/token\",\"token_endpoint_auth_methods_supported\":[\"client_secret_basic\",\"foo\"],\"grant_types_supported\":[\"client_credential\",\"foo\"],\"registration_endpoint\":\"https://ehr.example.com/auth/register\",\"scopes_supported\":[\"openId\",\"profile\",\"launch\"],\"response_types_supported\":[\"code\"],\"management_endpoint\":\"https://ehr.example.com/user/manage\",\"introspection_endpoint\":\"https://ehr.example.com/user/introspect\",\"revocation_endpoint\":\"https://ehr.example.com/user/revoke\",\"code_challenge_methods_supported\":[\"S256\"],\"capabilities\":[\"launch-ehr\",\"sso-openid-connect\",\"client-public\"]}" + } + +Output:: + + { + "DatastoreEndpoint": "https://healthlake.us-east-1.amazonaws.com/datastore/(Data store ID)/r4/", + "DatastoreArn": "arn:aws:healthlake:us-east-1:(AWS Account ID):datastore/(Data store ID)", "DatastoreStatus": "CREATING", - "DatastoreId": "(Datastore ID)" + "DatastoreId": "(Data store ID)" } -For more information, see `Creating and monitoring a FHIR Data Store `__ in the *Amazon HealthLake Developer Guide*. +For more information, see `Creating and monitoring a FHIR data store `__ in the *AWS HealthLake Developer Guide*. diff --git a/awscli/examples/healthlake/delete-fhir-datastore.rst b/awscli/examples/healthlake/delete-fhir-datastore.rst index 7d8272d4febe..d4668f95dd6f 100644 --- a/awscli/examples/healthlake/delete-fhir-datastore.rst +++ b/awscli/examples/healthlake/delete-fhir-datastore.rst @@ -1,18 +1,17 @@ -**To delete a FHIR Data Store** +**To delete a FHIR data store** -The following ``delete-fhir-datastore`` example demonstrates how to delete a Data Store and all of its contents in Amazon HealthLake. :: +The following ``delete-fhir-datastore`` example demonstrates how to delete a data store and all of its contents in AWS HealthLake. :: aws healthlake delete-fhir-datastore \ - --datastore-id (Data Store ID) \ - --region us-east-1 + --datastore-id (Data store ID) Output:: { - "DatastoreEndpoint": "https://healthlake.us-east-1.amazonaws.com/datastore/(Datastore ID)/r4/", - "DatastoreArn": "arn:aws:healthlake:us-east-1:(AWS Account ID):datastore/(Datastore ID)", + "DatastoreEndpoint": "https://healthlake.us-east-1.amazonaws.com/datastore/(Data store ID)/r4/", + "DatastoreArn": "arn:aws:healthlake:us-east-1:(AWS Account ID):datastore/(Data store ID)", "DatastoreStatus": "DELETING", - "DatastoreId": "(Datastore ID)" + "DatastoreId": "(Data store ID)" } -For more information, see `Creating and monitoring a FHIR Data Store ` in the *Amazon HealthLake Developer Guide*. +For more information, see `Creating and monitoring a FHIR data store ` in the *AWS HealthLake Developer Guide*. diff --git a/awscli/examples/healthlake/describe-fhir-datastore.rst b/awscli/examples/healthlake/describe-fhir-datastore.rst index 8de511924d5d..3c58363f11dd 100644 --- a/awscli/examples/healthlake/describe-fhir-datastore.rst +++ b/awscli/examples/healthlake/describe-fhir-datastore.rst @@ -1,10 +1,9 @@ -**To describe a FHIR Data Store** +**To describe a FHIR data store** -The following ``describe-fhir-datastore`` example demonstrates how to find the properties of a Data Store in Amazon HealthLake. :: +The following ``describe-fhir-datastore`` example demonstrates how to find the properties of a data store in AWS HealthLake. :: aws healthlake describe-fhir-datastore \ - --datastore-id "1f2f459836ac6c513ce899f9e4f66a59" \ - --region us-east-1 + --datastore-id "1f2f459836ac6c513ce899f9e4f66a59" Output:: @@ -14,13 +13,24 @@ Output:: "PreloadDataConfig": { "PreloadDataType": "SYNTHEA" }, - "DatastoreName": "FhirTestDatastore", - "DatastoreArn": "arn:aws:healthlake:us-east-1:(AWS Account ID):datastore/(Datastore ID)", - "DatastoreEndpoint": "https://healthlake.us-east-1.amazonaws.com/datastore/(Datastore ID)/r4/", - "DatastoreStatus": "CREATING", + "SseConfiguration": { + "KmsEncryptionConfig": { + "CmkType": "CUSTOMER_MANAGED_KMS_KEY", + "KmsKeyId": "arn:aws:kms:us-east-1:123456789012:key/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111" + } + }, + "DatastoreName": "Demo", + "DatastoreArn": "arn:aws:healthlake:us-east-1::datastore/", + "DatastoreEndpoint": "https://healthlake.us-east-1.amazonaws.com/datastore//r4/", + "DatastoreStatus": "ACTIVE", "DatastoreTypeVersion": "R4", - "DatastoreId": "(Datastore ID)" + "CreatedAt": 1603761064.881, + "DatastoreId": "", + "IdentityProviderConfiguration": { + "AuthorizationStrategy": "AWS_AUTH", + "FineGrainedAuthorizationEnabled": false + } } } -For more information, see `Creating and monitoring a FHIR Data Stores `__ in the *Amazon HealthLake Developer Guide*. +For more information, see `Creating and monitoring a FHIR data stores `__ in the *AWS HealthLake Developer Guide*. diff --git a/awscli/examples/healthlake/describe-fhir-export-job.rst b/awscli/examples/healthlake/describe-fhir-export-job.rst index 74b35572b1b2..94369576516d 100644 --- a/awscli/examples/healthlake/describe-fhir-export-job.rst +++ b/awscli/examples/healthlake/describe-fhir-export-job.rst @@ -1,9 +1,9 @@ **To describe a FHIR export job** -The following ``describe-fhir-export-job`` example shows how to find the properties of a FHIR export job in Amazon HealthLake. :: +The following ``describe-fhir-export-job`` example shows how to find the properties of a FHIR export job in AWS HealthLake. :: aws healthlake describe-fhir-export-job \ - --datastore-id (Datastore ID) \ + --datastore-id (Data store ID) \ --job-id 9b9a51943afaedd0a8c0c26c49135a31 Output:: @@ -13,12 +13,17 @@ Output:: "DataAccessRoleArn": "arn:aws:iam::(AWS Account ID):role/(Role Name)", "JobStatus": "IN_PROGRESS", "JobId": "9009813e9d69ba7cf79bcb3468780f16", - "SubmitTime": 1609175692.715, + "SubmitTime": "2024-11-20T11:31:46.672000-05:00", + "EndTime": "2024-11-20T11:34:01.636000-05:00", "OutputDataConfig": { - "S3Uri": "s3://(Bucket Name)/(Prefix Name)/59593b2d0367ce252b5e66bf5fd6b574-FHIR_EXPORT-9009813e9d69ba7cf79bcb3468780f16/" + "S3Configuration": { + "S3Uri": "s3://(Bucket Name)/(Prefix Name)/", + "KmsKeyId": "arn:aws:kms:us-east-1:012345678910:key/d330e7fc-b56c-4216-a250-f4c43ef46e83" + } + }, - "DatastoreId": "(Datastore ID)" + "DatastoreId": "(Data store ID)" } } -For more information, see `Exporting files from a FHIR Data Store `__ in the *Amazon HealthLake Developer Guide*. +For more information, see `Exporting files from a FHIR data store `__ in the *AWS HealthLake Developer Guide*. diff --git a/awscli/examples/healthlake/describe-fhir-import-job.rst b/awscli/examples/healthlake/describe-fhir-import-job.rst index 0df4adbc3da5..26b80f7eafd2 100644 --- a/awscli/examples/healthlake/describe-fhir-import-job.rst +++ b/awscli/examples/healthlake/describe-fhir-import-job.rst @@ -1,11 +1,10 @@ **To describe a FHIR import job** -The following ``describe-fhir-import-job`` example shows how to learn the properties of a FHIR import job using Amazon HealthLake. :: +The following ``describe-fhir-import-job`` example shows how to learn the properties of a FHIR import job using AWS HealthLake. :: aws healthlake describe-fhir-import-job \ - --datastore-id (Datastore ID) \ - --job-id c145fbb27b192af392f8ce6e7838e34f \ - --region us-east-1 + --datastore-id (Data store ID) \ + --job-id c145fbb27b192af392f8ce6e7838e34f Output:: @@ -20,8 +19,8 @@ Output:: "JobId": "c145fbb27b192af392f8ce6e7838e34f", "SubmitTime": 1606272542.161, "EndTime": 1606272609.497, - "DatastoreId": "(Datastore ID)" + "DatastoreId": "(Data store ID)" } } -For more information, see `Importing files to a FHIR Data Store `__ in the *Amazon HealthLake Developer Guide*. +For more information, see `Importing files to a FHIR data store `__ in the *AWS HealthLake Developer Guide*. diff --git a/awscli/examples/healthlake/list-fhir-datastores.rst b/awscli/examples/healthlake/list-fhir-datastores.rst index 0936d0166d41..9169a61c245e 100644 --- a/awscli/examples/healthlake/list-fhir-datastores.rst +++ b/awscli/examples/healthlake/list-fhir-datastores.rst @@ -1,9 +1,8 @@ -**To list FHIR Data Stores** +**To list FHIR data stores** -The following ``list-fhir-datastores`` example shows to how to use the command and how users can filter results based on Data Store status in Amazon HealthLake. :: +The following ``list-fhir-datastores`` example shows to how to use the command and how users can filter results based on data store status in AWS HealthLake. :: aws healthlake list-fhir-datastores \ - --region us-east-1 \ --filter DatastoreStatus=ACTIVE Output:: @@ -14,24 +13,25 @@ Output:: "PreloadDataConfig": { "PreloadDataType": "SYNTHEA" }, - "DatastoreName": "FhirTestDatastore", - "DatastoreArn": "arn:aws:healthlake:us-east-1::datastore/", - "DatastoreEndpoint": "https://healthlake.us-east-1.amazonaws.com/datastore//r4/", - "DatastoreStatus": "ACTIVE", - "DatastoreTypeVersion": "R4", - "CreatedAt": 1605574003.209, - "DatastoreId": "" - }, - { + "SseConfiguration": { + "KmsEncryptionConfig": { + "CmkType": "CUSTOMER_MANAGED_KMS_KEY", + "KmsKeyId": "arn:aws:kms:us-east-1:123456789012:key/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111" + } + }, "DatastoreName": "Demo", - "DatastoreArn": "arn:aws:healthlake:us-east-1::datastore/", - "DatastoreEndpoint": "https://healthlake.us-east-1.amazonaws.com/datastore//r4/", + "DatastoreArn": "arn:aws:healthlake:us-east-1::datastore/", + "DatastoreEndpoint": "https://healthlake.us-east-1.amazonaws.com/datastore//r4/", "DatastoreStatus": "ACTIVE", "DatastoreTypeVersion": "R4", "CreatedAt": 1603761064.881, - "DatastoreId": "" + "DatastoreId": "", + "IdentityProviderConfiguration": { + "AuthorizationStrategy": "AWS_AUTH", + "FineGrainedAuthorizationEnabled": false + } } ] } -For more information, see `Creating and monitoring a FHIR Data Store `__ in the *Amazon HealthLake Developer Guide*. +For more information, see `Creating and monitoring a FHIR data store `__ in the *AWS HealthLake Developer Guide*. diff --git a/awscli/examples/healthlake/list-fhir-export-jobs.rst b/awscli/examples/healthlake/list-fhir-export-jobs.rst index a4f123de4df4..7e45c19088eb 100644 --- a/awscli/examples/healthlake/list-fhir-export-jobs.rst +++ b/awscli/examples/healthlake/list-fhir-export-jobs.rst @@ -3,7 +3,7 @@ The following ``list-fhir-export-jobs`` example shows how to use the command to view a list of export jobs associated with an account. :: aws healthlake list-fhir-export-jobs \ - --datastore-id (Datastore ID) \ + --datastore-id (Data store ID) \ --submitted-before (DATE like 2024-10-13T19:00:00Z)\ --submitted-after (DATE like 2020-10-13T19:00:00Z )\ --job-name "FHIR-EXPORT" \ @@ -13,23 +13,26 @@ The following ``list-fhir-export-jobs`` example shows how to use the command to Output:: { - "ExportJobProperties": { - "OutputDataConfig": { - "S3Uri": "s3://(Bucket Name)/(Prefix Name)/" - "S3Configuration": { - "S3Uri": "s3://(Bucket Name)/(Prefix Name)/", - "KmsKeyId" : "(KmsKey Id)" - }, - }, - "DataAccessRoleArn": "arn:aws:iam::(AWS Account ID):role/(Role Name)", - "JobStatus": "COMPLETED", - "JobId": "c145fbb27b192af392f8ce6e7838e34f", - "JobName" "FHIR-EXPORT", - "SubmitTime": 1606272542.161, - "EndTime": 1606272609.497, - "DatastoreId": "(Datastore ID)" - } + "ExportJobPropertiesList": [ + { + "ExportJobProperties": { + "OutputDataConfig": { + "S3Uri": "s3://(Bucket Name)/(Prefix Name)/", + "S3Configuration": { + "S3Uri": "s3://(Bucket Name)/(Prefix Name)/", + "KmsKeyId": "(KmsKey Id)" + } + }, + "DataAccessRoleArn": "arn:aws:iam::(AWS Account ID):role/(Role Name)", + "JobStatus": "COMPLETED", + "JobId": "c145fbb27b192af392f8ce6e7838e34f", + "JobName": "FHIR-EXPORT", + "SubmitTime": "2024-11-20T11:31:46.672000-05:00", + "EndTime": "2024-11-20T11:34:01.636000-05:00", + "DatastoreId": "(Data store ID)" + } + } + ] } - "NextToken": String -For more information, see `Exporting files from a FHIR Data Store `__ in the Amazon HealthLake Developer Guide. \ No newline at end of file +For more information, see `Exporting files from a FHIR data store `__ in the AWS HealthLake Developer Guide. \ No newline at end of file diff --git a/awscli/examples/healthlake/list-fhir-import-jobs.rst b/awscli/examples/healthlake/list-fhir-import-jobs.rst index c296438650ff..428df7220d93 100644 --- a/awscli/examples/healthlake/list-fhir-import-jobs.rst +++ b/awscli/examples/healthlake/list-fhir-import-jobs.rst @@ -3,7 +3,7 @@ The following ``list-fhir-import-jobs`` example shows how to use the command to view a list of all import jobs associated with an account. :: aws healthlake list-fhir-import-jobs \ - --datastore-id (Datastore ID) \ + --datastore-id (Data store ID) \ --submitted-before (DATE like 2024-10-13T19:00:00Z) \ --submitted-after (DATE like 2020-10-13T19:00:00Z ) \ --job-name "FHIR-IMPORT" \ @@ -13,23 +13,36 @@ The following ``list-fhir-import-jobs`` example shows how to use the command to Output:: { - "ImportJobProperties": { - "OutputDataConfig": { - "S3Uri": "s3://(Bucket Name)/(Prefix Name)/", + "ImportJobPropertiesList": [ + { + "JobId": "c0fddbf76f238297632d4aebdbfc9ddf", + "JobStatus": "COMPLETED", + "SubmitTime": "2024-11-20T10:08:46.813000-05:00", + "EndTime": "2024-11-20T10:10:09.093000-05:00", + "DatastoreId": "(Data store ID)", + "InputDataConfig": { + "S3Uri": "s3://(Bucket Name)/(Prefix Name)/" + }, + "JobOutputDataConfig": { "S3Configuration": { - "S3Uri": "s3://(Bucket Name)/(Prefix Name)/", - "KmsKeyId" : "(KmsKey Id)" - }, - }, - "DataAccessRoleArn": "arn:aws:iam::(AWS Account ID):role/(Role Name)", - "JobStatus": "COMPLETED", - "JobId": "c145fbb27b192af392f8ce6e7838e34f", - "JobName" "FHIR-IMPORT", - "SubmitTime": 1606272542.161, - "EndTime": 1606272609.497, - "DatastoreId": "(Datastore ID)" - } + "S3Uri": "s3://(Bucket Name)/import/6407b9ae4c2def3cb6f1a46a0c599ec0-FHIR_IMPORT-c0fddbf76f238297632d4aebdbfc9ddf/", + "KmsKeyId": "arn:aws:kms:us-east-1:123456789012:key/b7f645cb-e564-4981-8672-9e012d1ff1a0" + } + }, + "JobProgressReport": { + "TotalNumberOfScannedFiles": 1, + "TotalSizeOfScannedFilesInMB": 0.001798, + "TotalNumberOfImportedFiles": 1, + "TotalNumberOfResourcesScanned": 1, + "TotalNumberOfResourcesImported": 1, + "TotalNumberOfResourcesWithCustomerError": 0, + "TotalNumberOfFilesReadWithCustomerError": 0, + "Throughput": 0.0 + }, + "DataAccessRoleArn": "arn:aws:iam::(AWS Account ID):role/(Role Name)" + } + ] } - "NextToken": String -For more information, see `Importing files to FHIR Data Store `__ in the Amazon HealthLake Developer Guide. \ No newline at end of file + +For more information, see `Importing files to FHIR data store `__ in the AWS HealthLake Developer Guide. \ No newline at end of file diff --git a/awscli/examples/healthlake/list-tags-for-resource.rst b/awscli/examples/healthlake/list-tags-for-resource.rst index 85e30b32de8b..47b227316e26 100644 --- a/awscli/examples/healthlake/list-tags-for-resource.rst +++ b/awscli/examples/healthlake/list-tags-for-resource.rst @@ -1,10 +1,9 @@ -**To list tags for a Data Store** +**To list tags for a data store** -The following ``list-tags-for-resource`` example lists the tags associated with the specified Data Store.:: +The following ``list-tags-for-resource`` example lists the tags associated with the specified data store.:: aws healthlake list-tags-for-resource \ - --resource-arn "arn:aws:healthlake:us-east-1:674914422125:datastore/fhir/0725c83f4307f263e16fd56b6d8ebdbe" \ - --region us-east-1 + --resource-arn "arn:aws:healthlake:us-east-1:123456789012:datastore/fhir/0725c83f4307f263e16fd56b6d8ebdbe" Output:: @@ -15,4 +14,4 @@ Output:: } } -For more information, see `Tagging resources in Amazon HealthLake `__ in the Amazon HealthLake Developer Guide. \ No newline at end of file +For more information, see `Tagging resources in AWS HealthLake `__ in the AWS HealthLake Developer Guide. \ No newline at end of file diff --git a/awscli/examples/healthlake/start-fhir-export-job.rst b/awscli/examples/healthlake/start-fhir-export-job.rst index 7bcc929f1323..034b67188d0f 100644 --- a/awscli/examples/healthlake/start-fhir-export-job.rst +++ b/awscli/examples/healthlake/start-fhir-export-job.rst @@ -1,18 +1,18 @@ **To start a FHIR export job** -The following ``start-fhir-export-job`` example shows how to start a FHIR export job using Amazon HealthLake. :: +The following ``start-fhir-export-job`` example shows how to start a FHIR export job using AWS HealthLake. :: aws healthlake start-fhir-export-job \ - --output-data-config S3Uri="s3://(Bucket Name)/(Prefix Name)/" \ - --datastore-id (Datastore ID) \ + --output-data-config '{"S3Configuration": {"S3Uri":"s3://(Bucket Name)/(Prefix Name)/","KmsKeyId":"arn:aws:kms:us-east-1:012345678910:key/d330e7fc-b56c-4216-a250-f4c43ef46e83"}}' \ + --datastore-id (Data store ID) \ --data-access-role-arn arn:aws:iam::(AWS Account ID):role/(Role Name) Output:: { - "DatastoreId": "(Datastore ID)", + "DatastoreId": "(Data store ID)", "JobStatus": "SUBMITTED", "JobId": "9b9a51943afaedd0a8c0c26c49135a31" } -For more information, see `Exporting files from a FHIR Data Store `__ in the *Amazon HealthLake Developer Guide*. +For more information, see `Exporting files from a FHIR data store `__ in the *AWS HealthLake Developer Guide*. diff --git a/awscli/examples/healthlake/start-fhir-import-job.rst b/awscli/examples/healthlake/start-fhir-import-job.rst index 040e0af38a52..15018ce283f3 100644 --- a/awscli/examples/healthlake/start-fhir-import-job.rst +++ b/awscli/examples/healthlake/start-fhir-import-job.rst @@ -1,19 +1,20 @@ **To start a FHIR import job** -The following ``start-fhir-import-job`` example shows how to start a FHIR import job using Amazon HealthLake. :: +The following ``start-fhir-import-job`` example shows how to start a FHIR import job using AWS HealthLake. :: aws healthlake start-fhir-import-job \ --input-data-config S3Uri="s3://(Bucket Name)/(Prefix Name)/" \ - --datastore-id (Datastore ID) \ - --data-access-role-arn "arn:aws:iam::(AWS Account ID):role/(Role Name)" \ - --region us-east-1 + --job-output-data-config '{"S3Configuration": {"S3Uri":"s3://(Bucket Name)/(Prefix Name)/","KmsKeyId":"arn:aws:kms:us-east-1:012345678910:key/d330e7fc-b56c-4216-a250-f4c43ef46e83"}}' \ + --datastore-id (Data store ID) \ + --data-access-role-arn "arn:aws:iam::(AWS Account ID):role/(Role Name)" Output:: { - "DatastoreId": "(Datastore ID)", + "DatastoreId": "(Data store ID)", "JobStatus": "SUBMITTED", "JobId": "c145fbb27b192af392f8ce6e7838e34f" } -For more information, see `Importing files to a FHIR Data Store 'https://docs.aws.amazon.com/healthlake/latest/devguide/import-datastore.html`__ in the *Amazon HeatlhLake Developer Guide*. +For more information, see `Importing files to a FHIR data store `__ in the *AWS HealthLake Developer Guide*. + diff --git a/awscli/examples/healthlake/tag-resource.rst b/awscli/examples/healthlake/tag-resource.rst index a62dca35a508..2411ff7c9208 100644 --- a/awscli/examples/healthlake/tag-resource.rst +++ b/awscli/examples/healthlake/tag-resource.rst @@ -1,12 +1,11 @@ -**To add a tag to Data Store** +**To add a tag to data store** -The following ``tag-resource`` example shows how to add a tag to a Data Store. :: +The following ``tag-resource`` example shows how to add a tag to a data store. :: aws healthlake tag-resource \ - --resource-arn "arn:aws:healthlake:us-east-1:691207106566:datastore/fhir/0725c83f4307f263e16fd56b6d8ebdbe" \ - --tags '[{"Key": "key1", "Value": "value1"}]' \ - --region us-east-1 + --resource-arn "arn:aws:healthlake:us-east-1:123456789012:datastore/fhir/0725c83f4307f263e16fd56b6d8ebdbe" \ + --tags '[{"Key": "key1", "Value": "value1"}]' This command produces no output. -For more information, see 'Adding a tag to a Data Store '__ in the *Amazon HealthLake Developer Guide.*. \ No newline at end of file +For more information, see `Adding a tag to a data store `__ in the *AWS HealthLake Developer Guide.*. \ No newline at end of file diff --git a/awscli/examples/healthlake/untag-resource.rst b/awscli/examples/healthlake/untag-resource.rst index 539cfb4c16d3..76e18e102647 100644 --- a/awscli/examples/healthlake/untag-resource.rst +++ b/awscli/examples/healthlake/untag-resource.rst @@ -1,12 +1,11 @@ -**To remove tags from a Data Store.** +**To remove tags from a data store.** -The following ``untag-resource`` example shows how to remove tags from a Data Store. :: +The following ``untag-resource`` example shows how to remove tags from a data store. :: aws healthlake untag-resource \ - --resource-arn "arn:aws:healthlake:us-east-1:674914422125:datastore/fhir/b91723d65c6fdeb1d26543a49d2ed1fa" \ - --tag-keys '["key1"]' \ - --region us-east-1 + --resource-arn "arn:aws:healthlake:us-east-1:123456789012:datastore/fhir/b91723d65c6fdeb1d26543a49d2ed1fa" \ + --tag-keys '["key1"]' This command produces no output. -For more information, see `Removing tags from a Data Store `__ in the *Amazon HealthLake Developer Guide*. \ No newline at end of file +For more information, see `Removing tags from a data store `__ in the *AWS HealthLake Developer Guide*. \ No newline at end of file From 4ec12562a55f6db55b7c8a2fc72a047b7a663701 Mon Sep 17 00:00:00 2001 From: Chaitanya Gummadi <62628013+chaitanyagummadi@users.noreply.github.com> Date: Fri, 17 Jan 2025 13:05:41 -0600 Subject: [PATCH 0408/1087] Add API command examples for observabilityadmin service (#9116) --- ...try-evaluation-status-for-organization.rst | 13 ++++++ .../get-telemetry-evaluation-status.rst | 13 ++++++ ...st-resource-telemetry-for-organization.rst | 43 +++++++++++++++++++ .../list-resource-telemetry.rst | 29 +++++++++++++ ...-telemetry-evaluation-for-organization.rst | 9 ++++ .../start-telemetry-evaluation.rst | 9 ++++ ...-telemetry-evaluation-for-organization.rst | 9 ++++ .../stop-telemetry-evaluation.rst | 9 ++++ 8 files changed, 134 insertions(+) create mode 100644 awscli/examples/observabilityadmin/get-telemetry-evaluation-status-for-organization.rst create mode 100644 awscli/examples/observabilityadmin/get-telemetry-evaluation-status.rst create mode 100644 awscli/examples/observabilityadmin/list-resource-telemetry-for-organization.rst create mode 100644 awscli/examples/observabilityadmin/list-resource-telemetry.rst create mode 100644 awscli/examples/observabilityadmin/start-telemetry-evaluation-for-organization.rst create mode 100644 awscli/examples/observabilityadmin/start-telemetry-evaluation.rst create mode 100644 awscli/examples/observabilityadmin/stop-telemetry-evaluation-for-organization.rst create mode 100644 awscli/examples/observabilityadmin/stop-telemetry-evaluation.rst diff --git a/awscli/examples/observabilityadmin/get-telemetry-evaluation-status-for-organization.rst b/awscli/examples/observabilityadmin/get-telemetry-evaluation-status-for-organization.rst new file mode 100644 index 000000000000..59c574403504 --- /dev/null +++ b/awscli/examples/observabilityadmin/get-telemetry-evaluation-status-for-organization.rst @@ -0,0 +1,13 @@ +**To get telemetry onboarding status for the organization** + +The following ``get-telemetry-evaluation-status-for-organization`` example returns the current onboarding status of the telemetry config feature for the organization. :: + + aws observabilityadmin get-telemetry-evaluation-status-for-organization + +Output:: + + { + "Status": "RUNNING" + } + +For more information, see `Auditing CloudWatch telemetry configurations `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/observabilityadmin/get-telemetry-evaluation-status.rst b/awscli/examples/observabilityadmin/get-telemetry-evaluation-status.rst new file mode 100644 index 000000000000..f953b8dea072 --- /dev/null +++ b/awscli/examples/observabilityadmin/get-telemetry-evaluation-status.rst @@ -0,0 +1,13 @@ +**To get telemetry onboarding status for the account** + +The following ``get-telemetry-evaluation-status`` example returns the current onboarding status of the telemetry config feature in the specified account. :: + + aws observabilityadmin get-telemetry-evaluation-status + +Output:: + + { + "Status": "RUNNING" + } + +For more information, see `Auditing CloudWatch telemetry configurations `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/observabilityadmin/list-resource-telemetry-for-organization.rst b/awscli/examples/observabilityadmin/list-resource-telemetry-for-organization.rst new file mode 100644 index 000000000000..db79eb32d366 --- /dev/null +++ b/awscli/examples/observabilityadmin/list-resource-telemetry-for-organization.rst @@ -0,0 +1,43 @@ +**To retrieve the telemetry configurations for the organization** + +The following ``list-resource-telemetry-for-organization`` example returns a list of telemetry configurations in the organization for AWS resources supported by telemetry config. :: + + aws observabilityadmin list-resource-telemetry-for-organization \ + --resource-types AWS::EC2::Instance + +Output:: + + { + "TelemetryConfigurations": [ + { + "AccountIdentifier": "111111111111", + "TelemetryConfigurationState": { + "Logs": "NotApplicable", + "Metrics": "Disabled", + "Traces": "NotApplicable" + }, + "ResourceType": "AWS::EC2::Instance", + "ResourceIdentifier": "i-a166400b", + "ResourceTags": { + "Name": "dev" + }, + "LastUpdateTimeStamp": 1733168548521 + }, + { + "AccountIdentifier": "222222222222", + "TelemetryConfigurationState": { + "Logs": "NotApplicable", + "Metrics": "Disabled", + "Traces": "NotApplicable" + }, + "ResourceType": "AWS::EC2::Instance", + "ResourceIdentifier": "i-b188560f", + "ResourceTags": { + "Name": "apache" + }, + "LastUpdateTimeStamp": 1732744260182 + } + ] + } + +For more information, see `Auditing CloudWatch telemetry configurations `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/observabilityadmin/list-resource-telemetry.rst b/awscli/examples/observabilityadmin/list-resource-telemetry.rst new file mode 100644 index 000000000000..f175e1143d46 --- /dev/null +++ b/awscli/examples/observabilityadmin/list-resource-telemetry.rst @@ -0,0 +1,29 @@ +**To retrieve the telemetry configurations for the account** + +The following ``list-resource-telemetry`` example returns a list of telemetry configurations for AWS resources supported by telemetry config in the specified account. :: + + aws observabilityadmin list-resource-telemetry \ + --resource-types AWS::EC2::Instance + +Output:: + + { + "TelemetryConfigurations": [ + { + "AccountIdentifier": "111111111111", + "TelemetryConfigurationState": { + "Logs": "NotApplicable", + "Metrics": "Disabled", + "Traces": "NotApplicable" + }, + "ResourceType": "AWS::EC2::Instance", + "ResourceIdentifier": "i-0e979d278b040f856", + "ResourceTags": { + "Name": "apache" + }, + "LastUpdateTimeStamp": 1732744260182 + } + ] + } + +For more information, see `Auditing CloudWatch telemetry configurations `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/observabilityadmin/start-telemetry-evaluation-for-organization.rst b/awscli/examples/observabilityadmin/start-telemetry-evaluation-for-organization.rst new file mode 100644 index 000000000000..feb8bcf93fbf --- /dev/null +++ b/awscli/examples/observabilityadmin/start-telemetry-evaluation-for-organization.rst @@ -0,0 +1,9 @@ +**To enable the telemetry config feature** + +The following ``start-telemetry-evaluation-for-organization`` example enables the telemetry config feature for the organization. :: + + aws observabilityadmin start-telemetry-evaluation-for-organization + +This command produces no output. + +For more information, see `Turning on CloudWatch telemetry auditing `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/observabilityadmin/start-telemetry-evaluation.rst b/awscli/examples/observabilityadmin/start-telemetry-evaluation.rst new file mode 100644 index 000000000000..e3f7051232a9 --- /dev/null +++ b/awscli/examples/observabilityadmin/start-telemetry-evaluation.rst @@ -0,0 +1,9 @@ +**To enable the telemetry config feature** + +The following ``start-telemetry-evaluation`` example enables the telemetry config feature in the specified account. :: + + aws observabilityadmin start-telemetry-evaluation + +This command produces no output. + +For more information, see `Turning on CloudWatch telemetry auditing `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/observabilityadmin/stop-telemetry-evaluation-for-organization.rst b/awscli/examples/observabilityadmin/stop-telemetry-evaluation-for-organization.rst new file mode 100644 index 000000000000..fc86280e7292 --- /dev/null +++ b/awscli/examples/observabilityadmin/stop-telemetry-evaluation-for-organization.rst @@ -0,0 +1,9 @@ +**To disable the telemetry config feature** + +The following ``stop-telemetry-evaluation-for-organization`` example disables the telemetry config feature for the organization. :: + + aws observabilityadmin stop-telemetry-evaluation-for-organization + +This command produces no output. + +For more information, see `Turning off CloudWatch telemetry auditing `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/observabilityadmin/stop-telemetry-evaluation.rst b/awscli/examples/observabilityadmin/stop-telemetry-evaluation.rst new file mode 100644 index 000000000000..28957c59728e --- /dev/null +++ b/awscli/examples/observabilityadmin/stop-telemetry-evaluation.rst @@ -0,0 +1,9 @@ +**To disable the telemetry config feature** + +The following ``stop-telemetry-evaluation`` example disables the telemetry config feature in the specified account. :: + + aws observabilityadmin stop-telemetry-evaluation + +This command produces no output. + +For more information, see `Turning off CloudWatch telemetry auditing `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file From 22bc2b947c733bf0a2faf448d6bd19785dea1220 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 17 Jan 2025 19:09:30 +0000 Subject: [PATCH 0409/1087] Update changelog based on model updates --- .changes/next-release/api-change-bedrockruntime-15372.json | 5 +++++ .changes/next-release/api-change-detective-84982.json | 5 +++++ .changes/next-release/api-change-ec2-30061.json | 5 +++++ .changes/next-release/api-change-notifications-79169.json | 5 +++++ .changes/next-release/api-change-sagemaker-91899.json | 5 +++++ 5 files changed, 25 insertions(+) create mode 100644 .changes/next-release/api-change-bedrockruntime-15372.json create mode 100644 .changes/next-release/api-change-detective-84982.json create mode 100644 .changes/next-release/api-change-ec2-30061.json create mode 100644 .changes/next-release/api-change-notifications-79169.json create mode 100644 .changes/next-release/api-change-sagemaker-91899.json diff --git a/.changes/next-release/api-change-bedrockruntime-15372.json b/.changes/next-release/api-change-bedrockruntime-15372.json new file mode 100644 index 000000000000..9dc9f2a6e6cb --- /dev/null +++ b/.changes/next-release/api-change-bedrockruntime-15372.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-runtime``", + "description": "Allow hyphens in tool name for Converse and ConverseStream APIs" +} diff --git a/.changes/next-release/api-change-detective-84982.json b/.changes/next-release/api-change-detective-84982.json new file mode 100644 index 000000000000..b24ca1d66a56 --- /dev/null +++ b/.changes/next-release/api-change-detective-84982.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``detective``", + "description": "Doc only update for Detective documentation." +} diff --git a/.changes/next-release/api-change-ec2-30061.json b/.changes/next-release/api-change-ec2-30061.json new file mode 100644 index 000000000000..90560a43bf87 --- /dev/null +++ b/.changes/next-release/api-change-ec2-30061.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ec2``", + "description": "Release u7i-6tb.112xlarge, u7i-8tb.112xlarge, u7inh-32tb.480xlarge, p5e.48xlarge, p5en.48xlarge, f2.12xlarge, f2.48xlarge, trn2.48xlarge instance types." +} diff --git a/.changes/next-release/api-change-notifications-79169.json b/.changes/next-release/api-change-notifications-79169.json new file mode 100644 index 000000000000..a13f634c074a --- /dev/null +++ b/.changes/next-release/api-change-notifications-79169.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``notifications``", + "description": "Added support for Managed Notifications, integration with AWS Organization and added aggregation summaries for Aggregate Notifications" +} diff --git a/.changes/next-release/api-change-sagemaker-91899.json b/.changes/next-release/api-change-sagemaker-91899.json new file mode 100644 index 000000000000..9bc71fdfd391 --- /dev/null +++ b/.changes/next-release/api-change-sagemaker-91899.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``sagemaker``", + "description": "Correction of docs for \"Added support for ml.trn1.32xlarge instance type in Reserved Capacity Offering\"" +} From 3ee705bd7c16719d5a0be3d7a88363e148e50d39 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 17 Jan 2025 19:10:56 +0000 Subject: [PATCH 0410/1087] Bumping version to 1.37.2 --- .changes/1.37.2.json | 27 +++++++++++++++++++ .../api-change-bedrockruntime-15372.json | 5 ---- .../api-change-detective-84982.json | 5 ---- .../next-release/api-change-ec2-30061.json | 5 ---- .../api-change-notifications-79169.json | 5 ---- .../api-change-sagemaker-91899.json | 5 ---- CHANGELOG.rst | 10 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 11 files changed, 41 insertions(+), 29 deletions(-) create mode 100644 .changes/1.37.2.json delete mode 100644 .changes/next-release/api-change-bedrockruntime-15372.json delete mode 100644 .changes/next-release/api-change-detective-84982.json delete mode 100644 .changes/next-release/api-change-ec2-30061.json delete mode 100644 .changes/next-release/api-change-notifications-79169.json delete mode 100644 .changes/next-release/api-change-sagemaker-91899.json diff --git a/.changes/1.37.2.json b/.changes/1.37.2.json new file mode 100644 index 000000000000..b39c72d4d2f8 --- /dev/null +++ b/.changes/1.37.2.json @@ -0,0 +1,27 @@ +[ + { + "category": "``bedrock-runtime``", + "description": "Allow hyphens in tool name for Converse and ConverseStream APIs", + "type": "api-change" + }, + { + "category": "``detective``", + "description": "Doc only update for Detective documentation.", + "type": "api-change" + }, + { + "category": "``ec2``", + "description": "Release u7i-6tb.112xlarge, u7i-8tb.112xlarge, u7inh-32tb.480xlarge, p5e.48xlarge, p5en.48xlarge, f2.12xlarge, f2.48xlarge, trn2.48xlarge instance types.", + "type": "api-change" + }, + { + "category": "``notifications``", + "description": "Added support for Managed Notifications, integration with AWS Organization and added aggregation summaries for Aggregate Notifications", + "type": "api-change" + }, + { + "category": "``sagemaker``", + "description": "Correction of docs for \"Added support for ml.trn1.32xlarge instance type in Reserved Capacity Offering\"", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-bedrockruntime-15372.json b/.changes/next-release/api-change-bedrockruntime-15372.json deleted file mode 100644 index 9dc9f2a6e6cb..000000000000 --- a/.changes/next-release/api-change-bedrockruntime-15372.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-runtime``", - "description": "Allow hyphens in tool name for Converse and ConverseStream APIs" -} diff --git a/.changes/next-release/api-change-detective-84982.json b/.changes/next-release/api-change-detective-84982.json deleted file mode 100644 index b24ca1d66a56..000000000000 --- a/.changes/next-release/api-change-detective-84982.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``detective``", - "description": "Doc only update for Detective documentation." -} diff --git a/.changes/next-release/api-change-ec2-30061.json b/.changes/next-release/api-change-ec2-30061.json deleted file mode 100644 index 90560a43bf87..000000000000 --- a/.changes/next-release/api-change-ec2-30061.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ec2``", - "description": "Release u7i-6tb.112xlarge, u7i-8tb.112xlarge, u7inh-32tb.480xlarge, p5e.48xlarge, p5en.48xlarge, f2.12xlarge, f2.48xlarge, trn2.48xlarge instance types." -} diff --git a/.changes/next-release/api-change-notifications-79169.json b/.changes/next-release/api-change-notifications-79169.json deleted file mode 100644 index a13f634c074a..000000000000 --- a/.changes/next-release/api-change-notifications-79169.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``notifications``", - "description": "Added support for Managed Notifications, integration with AWS Organization and added aggregation summaries for Aggregate Notifications" -} diff --git a/.changes/next-release/api-change-sagemaker-91899.json b/.changes/next-release/api-change-sagemaker-91899.json deleted file mode 100644 index 9bc71fdfd391..000000000000 --- a/.changes/next-release/api-change-sagemaker-91899.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``sagemaker``", - "description": "Correction of docs for \"Added support for ml.trn1.32xlarge instance type in Reserved Capacity Offering\"" -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 6ae23f519778..9b866f034bec 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,16 @@ CHANGELOG ========= +1.37.2 +====== + +* api-change:``bedrock-runtime``: Allow hyphens in tool name for Converse and ConverseStream APIs +* api-change:``detective``: Doc only update for Detective documentation. +* api-change:``ec2``: Release u7i-6tb.112xlarge, u7i-8tb.112xlarge, u7inh-32tb.480xlarge, p5e.48xlarge, p5en.48xlarge, f2.12xlarge, f2.48xlarge, trn2.48xlarge instance types. +* api-change:``notifications``: Added support for Managed Notifications, integration with AWS Organization and added aggregation summaries for Aggregate Notifications +* api-change:``sagemaker``: Correction of docs for "Added support for ml.trn1.32xlarge instance type in Reserved Capacity Offering" + + 1.37.1 ====== diff --git a/awscli/__init__.py b/awscli/__init__.py index 819d92d1eeec..cd7fca4d8b9c 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.37.1' +__version__ = '1.37.2' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 303b44cf4b33..dd4c20207653 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.37' # The full version, including alpha/beta/rc tags. -release = '1.37.1' +release = '1.37.2' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 8bfbf4bbb0b4..581b0f63750f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.36.1 + botocore==1.36.2 docutils>=0.10,<0.17 s3transfer>=0.11.0,<0.12.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index ec324c58f42e..04f50f223edb 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.36.1', + 'botocore==1.36.2', 'docutils>=0.10,<0.17', 's3transfer>=0.11.0,<0.12.0', 'PyYAML>=3.10,<6.1', From 6c5d652a172ee13e02d62f7b9b7646e7cff59906 Mon Sep 17 00:00:00 2001 From: Steve Yoo <106777148+hssyoo@users.noreply.github.com> Date: Fri, 17 Jan 2025 15:56:38 -0500 Subject: [PATCH 0411/1087] Fix v2 cherry-pick GH action (#9231) --- .github/workflows/doc-pr-cherry-pick.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/doc-pr-cherry-pick.yml b/.github/workflows/doc-pr-cherry-pick.yml index a25fb08e9bf7..508c4f15a6be 100644 --- a/.github/workflows/doc-pr-cherry-pick.yml +++ b/.github/workflows/doc-pr-cherry-pick.yml @@ -27,7 +27,9 @@ jobs: run: | gh pr checkout $PR_NUMBER PR_COMMITS=$(gh pr view $PR_NUMBER --json commits --jq '.commits[].oid') - echo "PR_COMMITS=$PR_COMMITS" >> $GITHUB_OUTPUT + echo "PR_COMMITS<> "$GITHUB_OUTPUT" + echo "$PR_COMMITS" >> "$GITHUB_OUTPUT" + echo "EOF" >> "$GITHUB_OUTPUT" env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} PR_NUMBER: ${{ github.event.inputs.pr_number }} From bda0262800b708aac7433eb1bbbcbbf56d7c4738 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 21 Jan 2025 19:09:36 +0000 Subject: [PATCH 0412/1087] Update changelog based on model updates --- .changes/next-release/api-change-batch-77933.json | 5 +++++ .changes/next-release/api-change-cognitoidp-8107.json | 5 +++++ .changes/next-release/api-change-connect-82299.json | 5 +++++ .changes/next-release/api-change-emrserverless-15497.json | 5 +++++ .changes/next-release/api-change-iotsitewise-49946.json | 5 +++++ .changes/next-release/api-change-logs-48784.json | 5 +++++ .changes/next-release/api-change-quicksight-83277.json | 5 +++++ .changes/next-release/api-change-sns-47680.json | 5 +++++ 8 files changed, 40 insertions(+) create mode 100644 .changes/next-release/api-change-batch-77933.json create mode 100644 .changes/next-release/api-change-cognitoidp-8107.json create mode 100644 .changes/next-release/api-change-connect-82299.json create mode 100644 .changes/next-release/api-change-emrserverless-15497.json create mode 100644 .changes/next-release/api-change-iotsitewise-49946.json create mode 100644 .changes/next-release/api-change-logs-48784.json create mode 100644 .changes/next-release/api-change-quicksight-83277.json create mode 100644 .changes/next-release/api-change-sns-47680.json diff --git a/.changes/next-release/api-change-batch-77933.json b/.changes/next-release/api-change-batch-77933.json new file mode 100644 index 000000000000..402da4724870 --- /dev/null +++ b/.changes/next-release/api-change-batch-77933.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``batch``", + "description": "Documentation-only update: clarified the description of the shareDecaySeconds parameter of the FairsharePolicy data type, clarified the description of the priority parameter of the JobQueueDetail data type." +} diff --git a/.changes/next-release/api-change-cognitoidp-8107.json b/.changes/next-release/api-change-cognitoidp-8107.json new file mode 100644 index 000000000000..41783b08a5c0 --- /dev/null +++ b/.changes/next-release/api-change-cognitoidp-8107.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``cognito-idp``", + "description": "corrects the dual-stack endpoint configuration for cognitoidp" +} diff --git a/.changes/next-release/api-change-connect-82299.json b/.changes/next-release/api-change-connect-82299.json new file mode 100644 index 000000000000..7bc9b02e4c4f --- /dev/null +++ b/.changes/next-release/api-change-connect-82299.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``connect``", + "description": "Added DeleteContactFlowVersion API and the CAMPAIGN flow type" +} diff --git a/.changes/next-release/api-change-emrserverless-15497.json b/.changes/next-release/api-change-emrserverless-15497.json new file mode 100644 index 000000000000..c37e23e75fa2 --- /dev/null +++ b/.changes/next-release/api-change-emrserverless-15497.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``emr-serverless``", + "description": "Increasing entryPoint in SparkSubmit to accept longer script paths. New limit is 4kb." +} diff --git a/.changes/next-release/api-change-iotsitewise-49946.json b/.changes/next-release/api-change-iotsitewise-49946.json new file mode 100644 index 000000000000..076cee397999 --- /dev/null +++ b/.changes/next-release/api-change-iotsitewise-49946.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``iotsitewise``", + "description": "AWS IoT SiteWise now supports ingestion and querying of Null (all data types) and NaN (double type) values of bad or uncertain data quality. New partial error handling prevents data loss during ingestion. Enabled by default for new customers; existing customers can opt-in." +} diff --git a/.changes/next-release/api-change-logs-48784.json b/.changes/next-release/api-change-logs-48784.json new file mode 100644 index 000000000000..10a70eb75617 --- /dev/null +++ b/.changes/next-release/api-change-logs-48784.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``logs``", + "description": "Documentation-only update to address doc errors" +} diff --git a/.changes/next-release/api-change-quicksight-83277.json b/.changes/next-release/api-change-quicksight-83277.json new file mode 100644 index 000000000000..daf1c83b3a89 --- /dev/null +++ b/.changes/next-release/api-change-quicksight-83277.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``quicksight``", + "description": "Added `DigitGroupingStyle` in ThousandsSeparator to allow grouping by `LAKH`( Indian Grouping system ) currency. Support LAKH and `CRORE` currency types in Column Formatting." +} diff --git a/.changes/next-release/api-change-sns-47680.json b/.changes/next-release/api-change-sns-47680.json new file mode 100644 index 000000000000..72636c332c3b --- /dev/null +++ b/.changes/next-release/api-change-sns-47680.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``sns``", + "description": "This release adds support for the topic attribute FifoThroughputScope for SNS FIFO topics. For details, see the documentation history in the Amazon Simple Notification Service Developer Guide." +} From e13b886b1502866a108967ff55094f996dc4c3eb Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 21 Jan 2025 19:11:10 +0000 Subject: [PATCH 0413/1087] Bumping version to 1.37.3 --- .changes/1.37.3.json | 42 +++++++++++++++++++ .../next-release/api-change-batch-77933.json | 5 --- .../api-change-cognitoidp-8107.json | 5 --- .../api-change-connect-82299.json | 5 --- .../api-change-emrserverless-15497.json | 5 --- .../api-change-iotsitewise-49946.json | 5 --- .../next-release/api-change-logs-48784.json | 5 --- .../api-change-quicksight-83277.json | 5 --- .../next-release/api-change-sns-47680.json | 5 --- CHANGELOG.rst | 13 ++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 14 files changed, 59 insertions(+), 44 deletions(-) create mode 100644 .changes/1.37.3.json delete mode 100644 .changes/next-release/api-change-batch-77933.json delete mode 100644 .changes/next-release/api-change-cognitoidp-8107.json delete mode 100644 .changes/next-release/api-change-connect-82299.json delete mode 100644 .changes/next-release/api-change-emrserverless-15497.json delete mode 100644 .changes/next-release/api-change-iotsitewise-49946.json delete mode 100644 .changes/next-release/api-change-logs-48784.json delete mode 100644 .changes/next-release/api-change-quicksight-83277.json delete mode 100644 .changes/next-release/api-change-sns-47680.json diff --git a/.changes/1.37.3.json b/.changes/1.37.3.json new file mode 100644 index 000000000000..94029600af68 --- /dev/null +++ b/.changes/1.37.3.json @@ -0,0 +1,42 @@ +[ + { + "category": "``batch``", + "description": "Documentation-only update: clarified the description of the shareDecaySeconds parameter of the FairsharePolicy data type, clarified the description of the priority parameter of the JobQueueDetail data type.", + "type": "api-change" + }, + { + "category": "``cognito-idp``", + "description": "corrects the dual-stack endpoint configuration for cognitoidp", + "type": "api-change" + }, + { + "category": "``connect``", + "description": "Added DeleteContactFlowVersion API and the CAMPAIGN flow type", + "type": "api-change" + }, + { + "category": "``emr-serverless``", + "description": "Increasing entryPoint in SparkSubmit to accept longer script paths. New limit is 4kb.", + "type": "api-change" + }, + { + "category": "``iotsitewise``", + "description": "AWS IoT SiteWise now supports ingestion and querying of Null (all data types) and NaN (double type) values of bad or uncertain data quality. New partial error handling prevents data loss during ingestion. Enabled by default for new customers; existing customers can opt-in.", + "type": "api-change" + }, + { + "category": "``logs``", + "description": "Documentation-only update to address doc errors", + "type": "api-change" + }, + { + "category": "``quicksight``", + "description": "Added `DigitGroupingStyle` in ThousandsSeparator to allow grouping by `LAKH`( Indian Grouping system ) currency. Support LAKH and `CRORE` currency types in Column Formatting.", + "type": "api-change" + }, + { + "category": "``sns``", + "description": "This release adds support for the topic attribute FifoThroughputScope for SNS FIFO topics. For details, see the documentation history in the Amazon Simple Notification Service Developer Guide.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-batch-77933.json b/.changes/next-release/api-change-batch-77933.json deleted file mode 100644 index 402da4724870..000000000000 --- a/.changes/next-release/api-change-batch-77933.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``batch``", - "description": "Documentation-only update: clarified the description of the shareDecaySeconds parameter of the FairsharePolicy data type, clarified the description of the priority parameter of the JobQueueDetail data type." -} diff --git a/.changes/next-release/api-change-cognitoidp-8107.json b/.changes/next-release/api-change-cognitoidp-8107.json deleted file mode 100644 index 41783b08a5c0..000000000000 --- a/.changes/next-release/api-change-cognitoidp-8107.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``cognito-idp``", - "description": "corrects the dual-stack endpoint configuration for cognitoidp" -} diff --git a/.changes/next-release/api-change-connect-82299.json b/.changes/next-release/api-change-connect-82299.json deleted file mode 100644 index 7bc9b02e4c4f..000000000000 --- a/.changes/next-release/api-change-connect-82299.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``connect``", - "description": "Added DeleteContactFlowVersion API and the CAMPAIGN flow type" -} diff --git a/.changes/next-release/api-change-emrserverless-15497.json b/.changes/next-release/api-change-emrserverless-15497.json deleted file mode 100644 index c37e23e75fa2..000000000000 --- a/.changes/next-release/api-change-emrserverless-15497.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``emr-serverless``", - "description": "Increasing entryPoint in SparkSubmit to accept longer script paths. New limit is 4kb." -} diff --git a/.changes/next-release/api-change-iotsitewise-49946.json b/.changes/next-release/api-change-iotsitewise-49946.json deleted file mode 100644 index 076cee397999..000000000000 --- a/.changes/next-release/api-change-iotsitewise-49946.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``iotsitewise``", - "description": "AWS IoT SiteWise now supports ingestion and querying of Null (all data types) and NaN (double type) values of bad or uncertain data quality. New partial error handling prevents data loss during ingestion. Enabled by default for new customers; existing customers can opt-in." -} diff --git a/.changes/next-release/api-change-logs-48784.json b/.changes/next-release/api-change-logs-48784.json deleted file mode 100644 index 10a70eb75617..000000000000 --- a/.changes/next-release/api-change-logs-48784.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``logs``", - "description": "Documentation-only update to address doc errors" -} diff --git a/.changes/next-release/api-change-quicksight-83277.json b/.changes/next-release/api-change-quicksight-83277.json deleted file mode 100644 index daf1c83b3a89..000000000000 --- a/.changes/next-release/api-change-quicksight-83277.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``quicksight``", - "description": "Added `DigitGroupingStyle` in ThousandsSeparator to allow grouping by `LAKH`( Indian Grouping system ) currency. Support LAKH and `CRORE` currency types in Column Formatting." -} diff --git a/.changes/next-release/api-change-sns-47680.json b/.changes/next-release/api-change-sns-47680.json deleted file mode 100644 index 72636c332c3b..000000000000 --- a/.changes/next-release/api-change-sns-47680.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``sns``", - "description": "This release adds support for the topic attribute FifoThroughputScope for SNS FIFO topics. For details, see the documentation history in the Amazon Simple Notification Service Developer Guide." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 9b866f034bec..1895ddcbe05d 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,19 @@ CHANGELOG ========= +1.37.3 +====== + +* api-change:``batch``: Documentation-only update: clarified the description of the shareDecaySeconds parameter of the FairsharePolicy data type, clarified the description of the priority parameter of the JobQueueDetail data type. +* api-change:``cognito-idp``: corrects the dual-stack endpoint configuration for cognitoidp +* api-change:``connect``: Added DeleteContactFlowVersion API and the CAMPAIGN flow type +* api-change:``emr-serverless``: Increasing entryPoint in SparkSubmit to accept longer script paths. New limit is 4kb. +* api-change:``iotsitewise``: AWS IoT SiteWise now supports ingestion and querying of Null (all data types) and NaN (double type) values of bad or uncertain data quality. New partial error handling prevents data loss during ingestion. Enabled by default for new customers; existing customers can opt-in. +* api-change:``logs``: Documentation-only update to address doc errors +* api-change:``quicksight``: Added `DigitGroupingStyle` in ThousandsSeparator to allow grouping by `LAKH`( Indian Grouping system ) currency. Support LAKH and `CRORE` currency types in Column Formatting. +* api-change:``sns``: This release adds support for the topic attribute FifoThroughputScope for SNS FIFO topics. For details, see the documentation history in the Amazon Simple Notification Service Developer Guide. + + 1.37.2 ====== diff --git a/awscli/__init__.py b/awscli/__init__.py index cd7fca4d8b9c..85f8445683e7 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.37.2' +__version__ = '1.37.3' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index dd4c20207653..5e7f808935de 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.37' # The full version, including alpha/beta/rc tags. -release = '1.37.2' +release = '1.37.3' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 581b0f63750f..a406a6ab7dd0 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.36.2 + botocore==1.36.3 docutils>=0.10,<0.17 s3transfer>=0.11.0,<0.12.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 04f50f223edb..06765f0e7153 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.36.2', + 'botocore==1.36.3', 'docutils>=0.10,<0.17', 's3transfer>=0.11.0,<0.12.0', 'PyYAML>=3.10,<6.1', From 32ecf80d5fe8803ae2c3b4d9f71f5428834c71a9 Mon Sep 17 00:00:00 2001 From: Elysa Hall Date: Tue, 19 Nov 2024 16:17:37 +0000 Subject: [PATCH 0414/1087] CLI examples for cloudfront, ec2, ivs, rds, securitylake --- .../create-distribution-with-tags.rst | 22 +- .../examples/cloudfront/get-distribution.rst | 16 +- .../examples/ec2/accept-address-transfer.rst | 2 +- awscli/examples/ec2/allocate-hosts.rst | 110 ++++---- awscli/examples/ec2/associate-address.rst | 79 +++--- .../ec2/authorize-security-group-egress.rst | 79 ++++-- .../ec2/authorize-security-group-ingress.rst | 30 +- .../ec2/cancel-capacity-reservation.rst | 28 +- .../ec2/cancel-spot-fleet-requests.rst | 89 +++--- awscli/examples/ec2/copy-snapshot.rst | 6 +- .../ec2/create-capacity-reservation.rst | 190 ++++++------- .../ec2/create-replace-root-volume-task.rst | 4 +- .../ec2/create-restore-image-task.rst | 4 +- .../ec2/create-spot-datafeed-subscription.rst | 2 +- awscli/examples/ec2/create-tags.rst | 86 +++--- .../ec2/create-traffic-mirror-filter-rule.rst | 64 ++--- .../ec2/create-traffic-mirror-filter.rst | 34 ++- .../ec2/create-traffic-mirror-session.rst | 62 ++-- .../ec2/create-traffic-mirror-target.rst | 80 +++--- ...-transit-gateway-prefix-list-reference.rst | 54 ++-- .../ec2/create-verified-access-endpoint.rst | 2 +- ...ate-vpc-endpoint-service-configuration.rst | 132 ++++----- awscli/examples/ec2/create-vpc-endpoint.rst | 8 +- ...be-vpc-endpoint-service-configurations.rst | 124 ++++---- .../ec2/describe-vpc-endpoint-services.rst | 266 +++++++++--------- .../examples/ec2/describe-vpc-endpoints.rst | 178 ++++++------ .../rds/download-db-log-file-portion.rst | 10 +- ...ogsource.rst => create-aws-log-source.rst} | 0 ...ource.rst => create-custom-log-source.rst} | 0 .../create-subscriber-data-access.rst | 41 --- .../create-subscriber-query-access.rst | 41 --- .../securitylake/create-subscriber.rst | 83 ++++++ ...ogsource.rst => delete-aws-log-source.rst} | 0 ...ource.rst => delete-custom-log-source.rst} | 0 34 files changed, 989 insertions(+), 937 deletions(-) rename awscli/examples/securitylake/{create-aws-logsource.rst => create-aws-log-source.rst} (100%) rename awscli/examples/securitylake/{create-custom-logsource.rst => create-custom-log-source.rst} (100%) delete mode 100644 awscli/examples/securitylake/create-subscriber-data-access.rst delete mode 100644 awscli/examples/securitylake/create-subscriber-query-access.rst create mode 100644 awscli/examples/securitylake/create-subscriber.rst rename awscli/examples/securitylake/{delete-aws-logsource.rst => delete-aws-log-source.rst} (100%) rename awscli/examples/securitylake/{delete-custom-logsource.rst => delete-custom-log-source.rst} (100%) diff --git a/awscli/examples/cloudfront/create-distribution-with-tags.rst b/awscli/examples/cloudfront/create-distribution-with-tags.rst index 889c289c2613..c9d8944b803e 100644 --- a/awscli/examples/cloudfront/create-distribution-with-tags.rst +++ b/awscli/examples/cloudfront/create-distribution-with-tags.rst @@ -1,20 +1,16 @@ **To create a CloudFront distribution with tags** -The following example creates a distribution with two tags by providing the -distribution configuration and tags in a JSON file named -``dist-config-with-tags.json``:: +The following ``create-distribution-with-tags`` example creates a distribution with two tags by providing the distribution configuration and tags in a JSON file named ``dist-config-with-tags.json``. :: aws cloudfront create-distribution-with-tags \ --distribution-config-with-tags file://dist-config-with-tags.json -The file ``dist-config-with-tags.json`` is a JSON document in the current -folder that contains the following. Note the ``Tags`` object at the top of -the file, which contains two tags: +The file ``dist-config-with-tags.json`` is a JSON document in the current folder. Note the ``Tags`` object at the top of the file, which contains two tags: - ``Name = ExampleDistribution`` - ``Project = ExampleProject`` -:: +Contents of ``dist-config-with-tags.json``:: { "Tags": { @@ -39,8 +35,8 @@ the file, which contains two tags: "Quantity": 1, "Items": [ { - "Id": "awsexamplebucket.s3.amazonaws.com-cli-example", - "DomainName": "awsexamplebucket.s3.amazonaws.com", + "Id": "amzn-s3-demo-bucket.s3.amazonaws.com-cli-example", + "DomainName": "amzn-s3-demo-bucket.s3.amazonaws.com", "OriginPath": "", "CustomHeaders": { "Quantity": 0 @@ -55,7 +51,7 @@ the file, which contains two tags: "Quantity": 0 }, "DefaultCacheBehavior": { - "TargetOriginId": "awsexamplebucket.s3.amazonaws.com-cli-example", + "TargetOriginId": "amzn-s3-demo-bucket.s3.amazonaws.com-cli-example", "ForwardedValues": { "QueryString": false, "Cookies": { @@ -155,8 +151,8 @@ Output:: "Quantity": 1, "Items": [ { - "Id": "awsexamplebucket.s3.amazonaws.com-cli-example", - "DomainName": "awsexamplebucket.s3.amazonaws.com", + "Id": "amzn-s3-demo-bucket.s3.amazonaws.com-cli-example", + "DomainName": "amzn-s3-demo-bucket.s3.amazonaws.com", "OriginPath": "", "CustomHeaders": { "Quantity": 0 @@ -171,7 +167,7 @@ Output:: "Quantity": 0 }, "DefaultCacheBehavior": { - "TargetOriginId": "awsexamplebucket.s3.amazonaws.com-cli-example", + "TargetOriginId": "amzn-s3-demo-bucket.s3.amazonaws.com-cli-example", "ForwardedValues": { "QueryString": false, "Cookies": { diff --git a/awscli/examples/cloudfront/get-distribution.rst b/awscli/examples/cloudfront/get-distribution.rst index a881ecae4af2..f536b386f22c 100644 --- a/awscli/examples/cloudfront/get-distribution.rst +++ b/awscli/examples/cloudfront/get-distribution.rst @@ -1,13 +1,9 @@ **To get a CloudFront distribution** -The following example gets the CloudFront distribution with the ID -``EDFDVBD6EXAMPLE``, including its ``ETag``. The distribution ID is returned in -the `create-distribution `_ and `list-distributions -`_ commands. +The following ``get-distribution`` example gets the CloudFront distribution with the ID ``EDFDVBD6EXAMPLE``, including its ``ETag``. The distribution ID is returned in the `create-distribution `__ and `list-distributions `__ commands. :: -:: - - aws cloudfront get-distribution --id EDFDVBD6EXAMPLE + aws cloudfront get-distribution \ + --id EDFDVBD6EXAMPLE Output:: @@ -34,8 +30,8 @@ Output:: "Quantity": 1, "Items": [ { - "Id": "awsexamplebucket.s3.amazonaws.com-cli-example", - "DomainName": "awsexamplebucket.s3.amazonaws.com", + "Id": "amzn-s3-demo-bucket.s3.amazonaws.com-cli-example", + "DomainName": "amzn-s3-demo-bucket.s3.amazonaws.com", "OriginPath": "", "CustomHeaders": { "Quantity": 0 @@ -50,7 +46,7 @@ Output:: "Quantity": 0 }, "DefaultCacheBehavior": { - "TargetOriginId": "awsexamplebucket.s3.amazonaws.com-cli-example", + "TargetOriginId": "amzn-s3-demo-bucket.s3.amazonaws.com-cli-example", "ForwardedValues": { "QueryString": false, "Cookies": { diff --git a/awscli/examples/ec2/accept-address-transfer.rst b/awscli/examples/ec2/accept-address-transfer.rst index 314a0b206b9d..af9e5880acd1 100644 --- a/awscli/examples/ec2/accept-address-transfer.rst +++ b/awscli/examples/ec2/accept-address-transfer.rst @@ -18,4 +18,4 @@ Output:: } } -For more information, see `Transfer Elastic IP addresses `__ in the *Amazon VPC User Guide*. +For more information, see `Transfer Elastic IP addresses `__ in the *Amazon VPC User Guide*. \ No newline at end of file diff --git a/awscli/examples/ec2/allocate-hosts.rst b/awscli/examples/ec2/allocate-hosts.rst index bc1feb511aaf..1b5ef17525f4 100644 --- a/awscli/examples/ec2/allocate-hosts.rst +++ b/awscli/examples/ec2/allocate-hosts.rst @@ -1,55 +1,55 @@ -**Example 1: To allocate a Dedicated Host** - -The following ``allocate-hosts`` example allocates a single Dedicated Host in the ``eu-west-1a`` Availability Zone, onto which you can launch ``m5.large`` instances. By default, the Dedicated Host accepts only target instance launches, and does not support host recovery. :: - - aws ec2 allocate-hosts \ - --instance-type m5.large \ - --availability-zone eu-west-1a \ - --quantity 1 - -Output:: - - { - "HostIds": [ - "h-07879acf49EXAMPLE" - ] - } - -**Example 2: To allocate a Dedicated Host with auto-placement and host recovery enabled** - -The following ``allocate-hosts`` example allocates a single Dedicated Host in the ``eu-west-1a`` Availability Zone with auto-placement and host recovery enabled. :: - - aws ec2 allocate-hosts \ - --instance-type m5.large \ - --availability-zone eu-west-1a \ - --auto-placement on \ - --host-recovery on \ - --quantity 1 - -Output:: - - { - "HostIds": [ - "h-07879acf49EXAMPLE" - ] - } - -**Example 3: To allocate a Dedicated Host with tags** - -The following ``allocate-hosts`` example allocates a single Dedicated Host and applies a tag with a key named ``purpose`` and a value of ``production``. :: - - aws ec2 allocate-hosts \ - --instance-type m5.large \ - --availability-zone eu-west-1a \ - --quantity 1 \ - --tag-specifications 'ResourceType=dedicated-host,Tags={Key=purpose,Value=production}' - -Output:: - - { - "HostIds": [ - "h-07879acf49EXAMPLE" - ] - } - -For more information, see `Allocating Dedicated Hosts `__ in the *Amazon Elastic Compute Cloud User Guide for Linux Instances*. +**Example 1: To allocate a Dedicated Host** + +The following ``allocate-hosts`` example allocates a single Dedicated Host in the ``eu-west-1a`` Availability Zone, onto which you can launch ``m5.large`` instances. By default, the Dedicated Host accepts only target instance launches, and does not support host recovery. :: + + aws ec2 allocate-hosts \ + --instance-type m5.large \ + --availability-zone eu-west-1a \ + --quantity 1 + +Output:: + + { + "HostIds": [ + "h-07879acf49EXAMPLE" + ] + } + +**Example 2: To allocate a Dedicated Host with auto-placement and host recovery enabled** + +The following ``allocate-hosts`` example allocates a single Dedicated Host in the ``eu-west-1a`` Availability Zone with auto-placement and host recovery enabled. :: + + aws ec2 allocate-hosts \ + --instance-type m5.large \ + --availability-zone eu-west-1a \ + --auto-placement on \ + --host-recovery on \ + --quantity 1 + +Output:: + + { + "HostIds": [ + "h-07879acf49EXAMPLE" + ] + } + +**Example 3: To allocate a Dedicated Host with tags** + +The following ``allocate-hosts`` example allocates a single Dedicated Host and applies a tag with a key named ``purpose`` and a value of ``production``. :: + + aws ec2 allocate-hosts \ + --instance-type m5.large \ + --availability-zone eu-west-1a \ + --quantity 1 \ + --tag-specifications 'ResourceType=dedicated-host,Tags={Key=purpose,Value=production}' + +Output:: + + { + "HostIds": [ + "h-07879acf49EXAMPLE" + ] + } + +For more information, see `Allocate a Dedicated Host `__ in the *Amazon EC2 User Guide*. \ No newline at end of file diff --git a/awscli/examples/ec2/associate-address.rst b/awscli/examples/ec2/associate-address.rst index 6db0020a1361..08a8fdf3b8cd 100644 --- a/awscli/examples/ec2/associate-address.rst +++ b/awscli/examples/ec2/associate-address.rst @@ -1,35 +1,44 @@ -**To associate an Elastic IP addresses in EC2-Classic** - -This example associates an Elastic IP address with an instance in EC2-Classic. If the command succeeds, no output is returned. - -Command:: - - aws ec2 associate-address --instance-id i-07ffe74c7330ebf53 --public-ip 198.51.100.0 - -**To associate an Elastic IP address in EC2-VPC** - -This example associates an Elastic IP address with an instance in a VPC. - -Command:: - - aws ec2 associate-address --instance-id i-0b263919b6498b123 --allocation-id eipalloc-64d5890a - -Output:: - - { - "AssociationId": "eipassoc-2bebb745" - } - -This example associates an Elastic IP address with a network interface. - -Command:: - - aws ec2 associate-address --allocation-id eipalloc-64d5890a --network-interface-id eni-1a2b3c4d - -This example associates an Elastic IP with a private IP address that's associated with a network interface. - -Command:: - - aws ec2 associate-address --allocation-id eipalloc-64d5890a --network-interface-id eni-1a2b3c4d --private-ip-address 10.0.0.85 - - +**Example 1: To associate an Elastic IP address with an instance** + +The following ``associate-address`` example associates an Elastic IP address with the specified EC2 instance. :: + + aws ec2 associate-address \ + --instance-id i-0b263919b6498b123 \ + --allocation-id eipalloc-64d5890a + +Output:: + + { + "AssociationId": "eipassoc-2bebb745" + } + +**Example 2: To associate an Elastic IP address with a network interface** + +The following ``associate-address`` example associates the specified Elastic IP address with the specified network interface. :: + + aws ec2 associate-address + --allocation-id eipalloc-64d5890a \ + --network-interface-id eni-1a2b3c4d + +Output:: + + { + "AssociationId": "eipassoc-2bebb745" + } + +**Example 3: To associate an Elastic IP address with a private IP address** + +The following ``associate-address`` example associates the specified Elastic IP address with the specified private IP address in the specified network interface. :: + + aws ec2 associate-address \ + --allocation-id eipalloc-64d5890a \ + --network-interface-id eni-1a2b3c4d \ + --private-ip-address 10.0.0.85 + +Output:: + + { + "AssociationId": "eipassoc-2bebb745" + } + +For more information, see `Elastic IP addresses `__ in the *Amazon EC2 User Guide*. diff --git a/awscli/examples/ec2/authorize-security-group-egress.rst b/awscli/examples/ec2/authorize-security-group-egress.rst index 654851b99de8..998212a87feb 100644 --- a/awscli/examples/ec2/authorize-security-group-egress.rst +++ b/awscli/examples/ec2/authorize-security-group-egress.rst @@ -1,23 +1,56 @@ -**To add a rule that allows outbound traffic to a specific address range** - -This example command adds a rule that grants access to the specified address ranges on TCP port 80. - -Command (Linux):: - - aws ec2 authorize-security-group-egress --group-id sg-1a2b3c4d --ip-permissions IpProtocol=tcp,FromPort=80,ToPort=80,IpRanges='[{CidrIp=10.0.0.0/16}]' - -Command (Windows):: - - aws ec2 authorize-security-group-egress --group-id sg-1a2b3c4d --ip-permissions IpProtocol=tcp,FromPort=80,ToPort=80,IpRanges=[{CidrIp=10.0.0.0/16}] - -**To add a rule that allows outbound traffic to a specific security group** - -This example command adds a rule that grants access to the specified security group on TCP port 80. - -Command (Linux):: - - aws ec2 authorize-security-group-egress --group-id sg-1a2b3c4d --ip-permissions IpProtocol=tcp,FromPort=80,ToPort=80,UserIdGroupPairs='[{GroupId=sg-4b51a32f}]' - -Command (Windows):: - - aws ec2 authorize-security-group-egress --group-id sg-1a2b3c4d --ip-permissions IpProtocol=tcp,FromPort=80,ToPort=80,UserIdGroupPairs=[{GroupId=sg-4b51a32f}] +**Example 1: To add a rule that allows outbound traffic to a specific address range** + +The following ``authorize-security-group-egress`` example adds a rule that grants access to the specified address ranges on TCP port 80. :: + + aws ec2 authorize-security-group-egress \ + --group-id sg-1234567890abcdef0 \ + --ip-permissions 'IpProtocol=tcp,FromPort=80,ToPort=80,IpRanges=[{CidrIp=10.0.0.0/16}]' + +Output:: + + { + "Return": true, + "SecurityGroupRules": [ + { + "SecurityGroupRuleId": "sgr-0b15794cdb17bf29c", + "GroupId": "sg-1234567890abcdef0", + "GroupOwnerId": "123456789012", + "IsEgress": true, + "IpProtocol": "tcp", + "FromPort": 80, + "ToPort": 80, + "CidrIpv4": "10.0.0.0/16" + } + ] + } + +**Example 2: To add a rule that allows outbound traffic to a specific security group** + +The following ``authorize-security-group-egress`` example adds a rule that grants access to the specified security group on TCP port 80. :: + + aws ec2 authorize-security-group-egress \ + --group-id sg-1234567890abcdef0 \ + --ip-permissions 'IpProtocol=tcp,FromPort=80,ToPort=80,UserIdGroupPairs=[{GroupId=sg-0aad1c26bbeec5c22}]' + +Output:: + + { + "Return": true, + "SecurityGroupRules": [ + { + "SecurityGroupRuleId": "sgr-0b5dd815afcea9cc3", + "GroupId": "sg-1234567890abcdef0", + "GroupOwnerId": "123456789012", + "IsEgress": true, + "IpProtocol": "tcp", + "FromPort": 80, + "ToPort": 80, + "ReferencedGroupInfo": { + "GroupId": "sg-0aad1c26bbeec5c22", + "UserId": "123456789012" + } + } + ] + } + +For more information, see `Security groups `__ in the *Amazon VPC User Guide*. diff --git a/awscli/examples/ec2/authorize-security-group-ingress.rst b/awscli/examples/ec2/authorize-security-group-ingress.rst index 4ccf6498fb47..aa27acac5df2 100644 --- a/awscli/examples/ec2/authorize-security-group-ingress.rst +++ b/awscli/examples/ec2/authorize-security-group-ingress.rst @@ -59,11 +59,11 @@ Output:: **Example 3: To add multiple rules in the same call** -The following ``authorize-security-group-ingress`` example uses the ``ip-permissions`` parameter to add two inbound rules, one that enables inbound access on TCP port 3389 (RDP) and the other that enables ping/ICMP. +The following ``authorize-security-group-ingress`` example uses the ``ip-permissions`` parameter to add two inbound rules, one that enables inbound access on TCP port 3389 (RDP) and the other that enables ping/ICMP. :: aws ec2 authorize-security-group-ingress \ --group-id sg-1234567890abcdef0 \ - --ip-permissions IpProtocol=tcp,FromPort=3389,ToPort=3389,IpRanges="[{CidrIp=172.31.0.0/16}]" IpProtocol=icmp,FromPort=-1,ToPort=-1,IpRanges="[{CidrIp=172.31.0.0/16}]" + --ip-permissions 'IpProtocol=tcp,FromPort=3389,ToPort=3389,IpRanges=[{CidrIp=172.31.0.0/16}]" "IpProtocol=icmp,FromPort=-1,ToPort=-1,IpRanges=[{CidrIp=172.31.0.0/16}]' Output:: @@ -92,14 +92,14 @@ Output:: } ] } - + **Example 4: To add a rule for ICMP traffic** -The following ``authorize-security-group-ingress`` example uses the ``ip-permissions`` parameter to add an inbound rule that allows the ICMP message ``Destination Unreachable: Fragmentation Needed and Don't Fragment was Set`` (Type 3, Code 4) from anywhere. +The following ``authorize-security-group-ingress`` example uses the ``ip-permissions`` parameter to add an inbound rule that allows the ICMP message ``Destination Unreachable: Fragmentation Needed and Don't Fragment was Set`` (Type 3, Code 4) from anywhere. :: aws ec2 authorize-security-group-ingress \ --group-id sg-1234567890abcdef0 \ - --ip-permissions IpProtocol=icmp,FromPort=3,ToPort=4,IpRanges="[{CidrIp=0.0.0.0/0}]" + --ip-permissions 'IpProtocol=icmp,FromPort=3,ToPort=4,IpRanges=[{CidrIp=0.0.0.0/0}]' Output:: @@ -121,11 +121,11 @@ Output:: **Example 5: To add a rule for IPv6 traffic** -The following ``authorize-security-group-ingress`` example uses the ``ip-permissions`` parameter to add an inbound rule that allows SSH access (port 22) from the IPv6 range ``2001:db8:1234:1a00::/64``. +The following ``authorize-security-group-ingress`` example uses the ``ip-permissions`` parameter to add an inbound rule that allows SSH access (port 22) from the IPv6 range ``2001:db8:1234:1a00::/64``. :: aws ec2 authorize-security-group-ingress \ --group-id sg-1234567890abcdef0 \ - --ip-permissions IpProtocol=tcp,FromPort=22,ToPort=22,Ipv6Ranges="[{CidrIpv6=2001:db8:1234:1a00::/64}]" + --ip-permissions 'IpProtocol=tcp,FromPort=22,ToPort=22,Ipv6Ranges=[{CidrIpv6=2001:db8:1234:1a00::/64}]' Output:: @@ -147,12 +147,12 @@ Output:: **Example 6: To add a rule for ICMPv6 traffic** -The following ``authorize-security-group-ingress`` example uses the ``ip-permissions`` parameter to add an inbound rule that allows ICMPv6 traffic from anywhere. +The following ``authorize-security-group-ingress`` example uses the ``ip-permissions`` parameter to add an inbound rule that allows ICMPv6 traffic from anywhere. :: aws ec2 authorize-security-group-ingress \ --group-id sg-1234567890abcdef0 \ - --ip-permissions IpProtocol=icmpv6,Ipv6Ranges="[{CidrIpv6=::/0}]" - + --ip-permissions 'IpProtocol=icmpv6,Ipv6Ranges=[{CidrIpv6=::/0}]' + Output:: { @@ -173,11 +173,11 @@ Output:: **Example 7: Add a rule with a description** -The following ``authorize-security-group-ingress`` example uses the ``ip-permissions`` parameter to add an inbound rule that allows RDP traffic from the specified IPv4 address range. The rule includes a description to help you identify it later. +The following ``authorize-security-group-ingress`` example uses the ``ip-permissions`` parameter to add an inbound rule that allows RDP traffic from the specified IPv4 address range. The rule includes a description to help you identify it later. :: aws ec2 authorize-security-group-ingress \ --group-id sg-1234567890abcdef0 \ - --ip-permissions IpProtocol=tcp,FromPort=3389,ToPort=3389,IpRanges="[{CidrIp=203.0.113.0/24,Description='RDP access from NY office'}]" + --ip-permissions 'IpProtocol=tcp,FromPort=3389,ToPort=3389,IpRanges=[{CidrIp=203.0.113.0/24,Description='RDP access from NY office'}]' Output:: @@ -200,11 +200,11 @@ Output:: **Example 8: To add an inbound rule that uses a prefix list** -The following ``authorize-security-group-ingress`` example uses the ``ip-permissions`` parameter to add an inbound rule that allows all traffic for the CIDR ranges in the specified prefix list. +The following ``authorize-security-group-ingress`` example uses the ``ip-permissions`` parameter to add an inbound rule that allows all traffic for the CIDR ranges in the specified prefix list. :: aws ec2 authorize-security-group-ingress \ --group-id sg-04a351bfe432d4e71 \ - --ip-permissions IpProtocol=all,PrefixListIds="[{PrefixListId=pl-002dc3ec097de1514}]" + --ip-permissions 'IpProtocol=all,PrefixListIds=[{PrefixListId=pl-002dc3ec097de1514}]' Output:: @@ -224,4 +224,4 @@ Output:: ] } -For more information, see `Security groups `__ in the *Amazon VPC User Guide*. \ No newline at end of file +For more information, see `Security groups `__ in the *Amazon VPC User Guide*. diff --git a/awscli/examples/ec2/cancel-capacity-reservation.rst b/awscli/examples/ec2/cancel-capacity-reservation.rst index 0ba6d4bbb857..d604e1b05b75 100644 --- a/awscli/examples/ec2/cancel-capacity-reservation.rst +++ b/awscli/examples/ec2/cancel-capacity-reservation.rst @@ -1,14 +1,14 @@ -**To cancel a capacity reservation** - -The following ``cancel-capacity-reservation`` example cancels the specified capacity reservation. :: - - aws ec2 cancel-capacity-reservation \ - --capacity-reservation-id cr-1234abcd56EXAMPLE - -Output:: - - { - "Return": true - } - -For more information, see `Canceling a Capacity Reservation `__ in the *Amazon Elastic Compute Cloud User Guide for Linux Instances*. +**To cancel a capacity reservation** + +The following ``cancel-capacity-reservation`` example cancels the specified capacity reservation. :: + + aws ec2 cancel-capacity-reservation \ + --capacity-reservation-id cr-1234abcd56EXAMPLE + +Output:: + + { + "Return": true + } + +For more information, see `Cancel a Capacity Reservation `__ in the *Amazon EC2 User Guide*. diff --git a/awscli/examples/ec2/cancel-spot-fleet-requests.rst b/awscli/examples/ec2/cancel-spot-fleet-requests.rst index 11deda9385c9..25a498189a93 100644 --- a/awscli/examples/ec2/cancel-spot-fleet-requests.rst +++ b/awscli/examples/ec2/cancel-spot-fleet-requests.rst @@ -1,46 +1,43 @@ -**Example 1: To cancel a Spot fleet request and terminate the associated instances** - -The following ``cancel-spot-fleet-requests`` example cancels a Spot Fleet request and terminates the associated On-Demand Instances and Spot Instances. :: - - aws ec2 cancel-spot-fleet-requests \ - --spot-fleet-request-ids sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE \ - --terminate-instances - -Output:: - - { - "SuccessfulFleetRequests": [ - { - "SpotFleetRequestId": "sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE", - "CurrentSpotFleetRequestState": "cancelled_terminating", - "PreviousSpotFleetRequestState": "active" - } - ], - "UnsuccessfulFleetRequests": [] - } - -For more information, see `Cancel a Spot Fleet request `__ in the *Amazon Elastic Compute Cloud User Guide for Linux Instances*. - - -**Example 2: To cancel a Spot fleet request without terminating the associated instances** - -The following ``cancel-spot-fleet-requests`` example cancels a Spot Fleet request without terminating the associated On-Demand Instances and Spot Instances. :: - - aws ec2 cancel-spot-fleet-requests \ - --spot-fleet-request-ids sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE \ - --no-terminate-instances - -Output:: - - { - "SuccessfulFleetRequests": [ - { - "SpotFleetRequestId": "sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE", - "CurrentSpotFleetRequestState": "cancelled_running", - "PreviousSpotFleetRequestState": "active" - } - ], - "UnsuccessfulFleetRequests": [] - } - -For more information, see `Cancel a Spot Fleet request `__ in the *Amazon Elastic Compute Cloud User Guide for Linux Instances*. \ No newline at end of file +**Example 1: To cancel a Spot fleet request and terminate the associated instances** + +The following ``cancel-spot-fleet-requests`` example cancels a Spot Fleet request and terminates the associated On-Demand Instances and Spot Instances. :: + + aws ec2 cancel-spot-fleet-requests \ + --spot-fleet-request-ids sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE \ + --terminate-instances + +Output:: + + { + "SuccessfulFleetRequests": [ + { + "SpotFleetRequestId": "sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE", + "CurrentSpotFleetRequestState": "cancelled_terminating", + "PreviousSpotFleetRequestState": "active" + } + ], + "UnsuccessfulFleetRequests": [] + } + +**Example 2: To cancel a Spot fleet request without terminating the associated instances** + +The following ``cancel-spot-fleet-requests`` example cancels a Spot Fleet request without terminating the associated On-Demand Instances and Spot Instances. :: + + aws ec2 cancel-spot-fleet-requests \ + --spot-fleet-request-ids sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE \ + --no-terminate-instances + +Output:: + + { + "SuccessfulFleetRequests": [ + { + "SpotFleetRequestId": "sfr-73fbd2ce-aa30-494c-8788-1cee4EXAMPLE", + "CurrentSpotFleetRequestState": "cancelled_running", + "PreviousSpotFleetRequestState": "active" + } + ], + "UnsuccessfulFleetRequests": [] + } + +For more information, see `Cancel a Spot Fleet request `__ in the *Amazon EC2 User Guide*. \ No newline at end of file diff --git a/awscli/examples/ec2/copy-snapshot.rst b/awscli/examples/ec2/copy-snapshot.rst index 97433a9a0a59..bdcacc94eae3 100644 --- a/awscli/examples/ec2/copy-snapshot.rst +++ b/awscli/examples/ec2/copy-snapshot.rst @@ -6,7 +6,7 @@ The following ``copy-snapshot`` example command copies the specified snapshot fr --region us-east-1 \ --source-region us-west-2 \ --source-snapshot-id snap-066877671789bd71b \ - --description "This is my copied snapshot." + --description 'This is my copied snapshot.' Output:: @@ -14,8 +14,6 @@ Output:: "SnapshotId": "snap-066877671789bd71b" } -For more information, see `Copy an Amazon EBS snapshot `__ in the *Amazon EC2 User Guide*. - **Example 2: To copy an unencrypted snapshot and encrypt the new snapshot** The following ``copy-snapshot`` command copies the specified unencrypted snapshot from the ``us-west-2`` Region to the current Region and encrypts the new snapshot using the specified KMS key. :: @@ -32,4 +30,4 @@ Output:: "SnapshotId": "snap-066877671789bd71b" } -For more information, see `Copy an Amazon EBS snapshot `__ in the *Amazon EC2 User Guide*. \ No newline at end of file +For more information, see `Copy an Amazon EBS snapshot `__ in the *Amazon EBS User Guide*. \ No newline at end of file diff --git a/awscli/examples/ec2/create-capacity-reservation.rst b/awscli/examples/ec2/create-capacity-reservation.rst index e1efa833bfdf..5c1780721626 100644 --- a/awscli/examples/ec2/create-capacity-reservation.rst +++ b/awscli/examples/ec2/create-capacity-reservation.rst @@ -1,95 +1,95 @@ -**Example 1: To create a Capacity Reservation** - -The following ``create-capacity-reservation`` example creates a capacity reservation in the ``eu-west-1a`` Availability Zone, into which you can launch three ``t2.medium`` instances running a Linux/Unix operating system. By default, the capacity reservation is created with open instance matching criteria and no support for ephemeral storage, and it remains active until you manually cancel it. :: - - aws ec2 create-capacity-reservation \ - --availability-zone eu-west-1a \ - --instance-type t2.medium \ - --instance-platform Linux/UNIX \ - --instance-count 3 - -Output:: - - { - "CapacityReservation": { - "CapacityReservationId": "cr-1234abcd56EXAMPLE ", - "EndDateType": "unlimited", - "AvailabilityZone": "eu-west-1a", - "InstanceMatchCriteria": "open", - "EphemeralStorage": false, - "CreateDate": "2019-08-16T09:27:35.000Z", - "AvailableInstanceCount": 3, - "InstancePlatform": "Linux/UNIX", - "TotalInstanceCount": 3, - "State": "active", - "Tenancy": "default", - "EbsOptimized": false, - "InstanceType": "t2.medium" - } - } - -**Example 2: To create a Capacity Reservation that automatically ends at a specified date/time** - -The following ``create-capacity-reservation`` example creates a capacity reservation in the ``eu-west-1a`` Availability Zone, into which you can launch three ``m5.large`` instances running a Linux/Unix operating system. This capacity reservation automatically ends on 08/31/2019 at 23:59:59. :: - - aws ec2 create-capacity-reservation \ - --availability-zone eu-west-1a \ - --instance-type m5.large \ - --instance-platform Linux/UNIX \ - --instance-count 3 \ - --end-date-type limited \ - --end-date 2019-08-31T23:59:59Z - -Output:: - - { - "CapacityReservation": { - "CapacityReservationId": "cr-1234abcd56EXAMPLE ", - "EndDateType": "limited", - "AvailabilityZone": "eu-west-1a", - "EndDate": "2019-08-31T23:59:59.000Z", - "InstanceMatchCriteria": "open", - "EphemeralStorage": false, - "CreateDate": "2019-08-16T10:15:53.000Z", - "AvailableInstanceCount": 3, - "InstancePlatform": "Linux/UNIX", - "TotalInstanceCount": 3, - "State": "active", - "Tenancy": "default", - "EbsOptimized": false, - "InstanceType": "m5.large" - } - } - -**Example 3: To create a Capacity Reservation that accepts only targeted instance launches** - -The following ``create-capacity-reservation`` example creates a capacity reservation that accepts only targeted instance launches. :: - - aws ec2 create-capacity-reservation \ - --availability-zone eu-west-1a \ - --instance-type m5.large \ - --instance-platform Linux/UNIX \ - --instance-count 3 \ - --instance-match-criteria targeted - -Output:: - - { - "CapacityReservation": { - "CapacityReservationId": "cr-1234abcd56EXAMPLE ", - "EndDateType": "unlimited", - "AvailabilityZone": "eu-west-1a", - "InstanceMatchCriteria": "targeted", - "EphemeralStorage": false, - "CreateDate": "2019-08-16T10:21:57.000Z", - "AvailableInstanceCount": 3, - "InstancePlatform": "Linux/UNIX", - "TotalInstanceCount": 3, - "State": "active", - "Tenancy": "default", - "EbsOptimized": false, - "InstanceType": "m5.large" - } - } - -For more information, see `Creating a Capacity Reservation `__ in the *Amazon Elastic Compute Cloud User Guide for Linux Instances*. +**Example 1: To create a Capacity Reservation** + +The following ``create-capacity-reservation`` example creates a capacity reservation in the ``eu-west-1a`` Availability Zone, into which you can launch three ``t2.medium`` instances running a Linux/Unix operating system. By default, the capacity reservation is created with open instance matching criteria and no support for ephemeral storage, and it remains active until you manually cancel it. :: + + aws ec2 create-capacity-reservation \ + --availability-zone eu-west-1a \ + --instance-type t2.medium \ + --instance-platform Linux/UNIX \ + --instance-count 3 + +Output:: + + { + "CapacityReservation": { + "CapacityReservationId": "cr-1234abcd56EXAMPLE ", + "EndDateType": "unlimited", + "AvailabilityZone": "eu-west-1a", + "InstanceMatchCriteria": "open", + "EphemeralStorage": false, + "CreateDate": "2019-08-16T09:27:35.000Z", + "AvailableInstanceCount": 3, + "InstancePlatform": "Linux/UNIX", + "TotalInstanceCount": 3, + "State": "active", + "Tenancy": "default", + "EbsOptimized": false, + "InstanceType": "t2.medium" + } + } + +**Example 2: To create a Capacity Reservation that automatically ends at a specified date/time** + +The following ``create-capacity-reservation`` example creates a capacity reservation in the ``eu-west-1a`` Availability Zone, into which you can launch three ``m5.large`` instances running a Linux/Unix operating system. This capacity reservation automatically ends on 08/31/2019 at 23:59:59. :: + + aws ec2 create-capacity-reservation \ + --availability-zone eu-west-1a \ + --instance-type m5.large \ + --instance-platform Linux/UNIX \ + --instance-count 3 \ + --end-date-type limited \ + --end-date 2019-08-31T23:59:59Z + +Output:: + + { + "CapacityReservation": { + "CapacityReservationId": "cr-1234abcd56EXAMPLE ", + "EndDateType": "limited", + "AvailabilityZone": "eu-west-1a", + "EndDate": "2019-08-31T23:59:59.000Z", + "InstanceMatchCriteria": "open", + "EphemeralStorage": false, + "CreateDate": "2019-08-16T10:15:53.000Z", + "AvailableInstanceCount": 3, + "InstancePlatform": "Linux/UNIX", + "TotalInstanceCount": 3, + "State": "active", + "Tenancy": "default", + "EbsOptimized": false, + "InstanceType": "m5.large" + } + } + +**Example 3: To create a Capacity Reservation that accepts only targeted instance launches** + +The following ``create-capacity-reservation`` example creates a capacity reservation that accepts only targeted instance launches. :: + + aws ec2 create-capacity-reservation \ + --availability-zone eu-west-1a \ + --instance-type m5.large \ + --instance-platform Linux/UNIX \ + --instance-count 3 \ + --instance-match-criteria targeted + +Output:: + + { + "CapacityReservation": { + "CapacityReservationId": "cr-1234abcd56EXAMPLE ", + "EndDateType": "unlimited", + "AvailabilityZone": "eu-west-1a", + "InstanceMatchCriteria": "targeted", + "EphemeralStorage": false, + "CreateDate": "2019-08-16T10:21:57.000Z", + "AvailableInstanceCount": 3, + "InstancePlatform": "Linux/UNIX", + "TotalInstanceCount": 3, + "State": "active", + "Tenancy": "default", + "EbsOptimized": false, + "InstanceType": "m5.large" + } + } + +For more information, see `Create a Capacity Reservation `__ in the *Amazon EC2 User Guide*. diff --git a/awscli/examples/ec2/create-replace-root-volume-task.rst b/awscli/examples/ec2/create-replace-root-volume-task.rst index a97cbd40547b..978ae33936a1 100644 --- a/awscli/examples/ec2/create-replace-root-volume-task.rst +++ b/awscli/examples/ec2/create-replace-root-volume-task.rst @@ -18,8 +18,6 @@ Output:: } } -For more information, see `Replace a root volume `__ in the *Amazon Elastic Compute Cloud User Guide*. - **Example 2: To restore a root volume to a specific snapshot** The following ``create-replace-root-volume-task`` example restores the root volume of instance i-0123456789abcdefa to snapshot snap-0abcdef1234567890. :: @@ -41,4 +39,4 @@ Output:: } } -For more information, see `Replace a root volume `__ in the *Amazon Elastic Compute Cloud User Guide*. \ No newline at end of file +For more information, see `Replace a root volume `__ in the *Amazon EC2 User Guide*. \ No newline at end of file diff --git a/awscli/examples/ec2/create-restore-image-task.rst b/awscli/examples/ec2/create-restore-image-task.rst index c305191681f9..b9a27daa2bf9 100644 --- a/awscli/examples/ec2/create-restore-image-task.rst +++ b/awscli/examples/ec2/create-restore-image-task.rst @@ -5,7 +5,7 @@ The following ``create-restore-image-task`` example restores an AMI from an S3 b aws ec2 create-restore-image-task \ --object-key ami-1234567890abcdef0.bin \ --bucket my-ami-bucket \ - --name "New AMI Name" + --name 'New AMI Name' Output:: @@ -13,4 +13,4 @@ Output:: "ImageId": "ami-0eab20fe36f83e1a8" } -For more information about storing and restoring an AMI using S3, see `Store and restore an AMI using S3 ` in the *Amazon EC2 User Guide*. \ No newline at end of file +For more information, see `Store and restore an AMI using S3 `__ in the *Amazon EC2 User Guide*. diff --git a/awscli/examples/ec2/create-spot-datafeed-subscription.rst b/awscli/examples/ec2/create-spot-datafeed-subscription.rst index 9f644f9e6b38..d00ae6a230a1 100644 --- a/awscli/examples/ec2/create-spot-datafeed-subscription.rst +++ b/awscli/examples/ec2/create-spot-datafeed-subscription.rst @@ -21,4 +21,4 @@ The data feed is stored in the Amazon S3 bucket that you specified. The file nam my-bucket.s3.amazonaws.com/spot-data-feed/123456789012.YYYY-MM-DD-HH.n.abcd1234.gz -For more information, see `Spot Instance data feed `__ in the *Amazon Elastic Compute Cloud User Guide for Linux Instances*. \ No newline at end of file +For more information, see `Spot Instance data feed `__ in the *Amazon EC2 User Guide*. diff --git a/awscli/examples/ec2/create-tags.rst b/awscli/examples/ec2/create-tags.rst index fc829bdabb25..2024d83b2d89 100755 --- a/awscli/examples/ec2/create-tags.rst +++ b/awscli/examples/ec2/create-tags.rst @@ -1,43 +1,43 @@ -**Example 1: To add a tag to a resource** - -The following ``create-tags`` example adds the tag ``Stack=production`` to the specified image, or overwrites an existing tag for the AMI where the tag key is ``Stack``. :: - - aws ec2 create-tags \ - --resources ami-1234567890abcdef0 \ - --tags Key=Stack,Value=production - -For more information, see `This is the topic title `__ in the *Amazon Elastic Compute Cloud User Guide for Linux Instances*. - -**Example 2: To add tags to multiple resources** - -The following ``create-tags`` example adds (or overwrites) two tags for an AMI and an instance. One of the tags has a key (``webserver``) but no value (value is set to an empty string). The other tag has a key (``stack``) and a value (``Production``). :: - - aws ec2 create-tags \ - --resources ami-1a2b3c4d i-1234567890abcdef0 \ - --tags Key=webserver,Value= Key=stack,Value=Production - -For more information, see `This is the topic title `__ in the *Amazon Elastic Compute Cloud User Guide for Linux Instances*. - -**Example 3: To add tags containing special characters** - -The following ``create-tags`` example adds the tag ``[Group]=test`` for an instance. The square brackets ([ and ]) are special characters, and must be escaped. The following examples also use the line continuation character appropriate for each environment. - -If you are using Windows, surround the element that has special characters with double quotes ("), and then precede each double quote character with a backslash (\\) as follows:: - - aws ec2 create-tags ^ - --resources i-1234567890abcdef0 ^ - --tags Key=\"[Group]\",Value=test - -If you are using Windows PowerShell, surround the element the value that has special characters with double quotes ("), precede each double quote character with a backslash (\\), and then surround the entire key and value structure with single quotes (') as follows:: - - aws ec2 create-tags ` - --resources i-1234567890abcdef0 ` - --tags 'Key=\"[Group]\",Value=test' - -If you are using Linux or OS X, surround the element that has special characters with double quotes ("), and then surround the entire key and value structure with single quotes (') as follows:: - - aws ec2 create-tags \ - --resources i-1234567890abcdef0 \ - --tags 'Key="[Group]",Value=test' - -For more information, see `This is the topic title `__ in the *Amazon Elastic Compute Cloud User Guide for Linux Instances*. +**Example 1: To add a tag to a resource** + +The following ``create-tags`` example adds the tag ``Stack=production`` to the specified image, or overwrites an existing tag for the AMI where the tag key is ``Stack``. :: + + aws ec2 create-tags \ + --resources ami-1234567890abcdef0 \ + --tags Key=Stack,Value=production + +This command produces no output + +**Example 2: To add tags to multiple resources** + +The following ``create-tags`` example adds (or overwrites) two tags for an AMI and an instance. One of the tags has a key (``webserver``) but no value (value is set to an empty string). The other tag has a key (``stack``) and a value (``Production``). :: + + aws ec2 create-tags \ + --resources ami-1a2b3c4d i-1234567890abcdef0 \ + --tags Key=webserver,Value= Key=stack,Value=Production + +This command produces no output + +**Example 3: To add tags containing special characters** + +The following ``create-tags`` examples add the tag ``[Group]=test`` for an instance. The square brackets ([ and ]) are special characters, and must be escaped. The following examples also use the line continuation character appropriate for each environment. + +If you are using Windows, surround the element that has special characters with double quotes ("), and then precede each double quote character with a backslash (\\) as follows. :: + + aws ec2 create-tags ^ + --resources i-1234567890abcdef0 ^ + --tags Key=\"[Group]\",Value=test + +If you are using Windows PowerShell, surround the element the value that has special characters with double quotes ("), precede each double quote character with a backslash (\\), and then surround the entire key and value structure with single quotes (') as follows. :: + + aws ec2 create-tags ` + --resources i-1234567890abcdef0 ` + --tags 'Key=\"[Group]\",Value=test' + +If you are using Linux or OS X, surround the element that has special characters with double quotes ("), and then surround the entire key and value structure with single quotes (') as follows. :: + + aws ec2 create-tags \ + --resources i-1234567890abcdef0 \ + --tags 'Key="[Group]",Value=test' + +For more information, see `Tag your Amazon EC2 resources `__ in the *Amazon EC2 User Guide*. \ No newline at end of file diff --git a/awscli/examples/ec2/create-traffic-mirror-filter-rule.rst b/awscli/examples/ec2/create-traffic-mirror-filter-rule.rst index 28d34a49216f..52ae18172e25 100644 --- a/awscli/examples/ec2/create-traffic-mirror-filter-rule.rst +++ b/awscli/examples/ec2/create-traffic-mirror-filter-rule.rst @@ -1,32 +1,32 @@ -**To create a filter rule for incoming TCP traffic** - -The following ``create-traffic-mirror-filter-rule`` example creates a rule that you can use to mirror all incoming TCP traffic. Before you run this command, use ``create-traffic-mirror-filter`` to create the the Traffic Mirror filter. :: - - aws ec2 create-traffic-mirror-filter-rule \ - --description "TCP Rule" \ - --destination-cidr-block 0.0.0.0/0 \ - --protocol 6 \ - --rule-action accept \ - --rule-number 1 \ - --source-cidr-block 0.0.0.0/0 \ - --traffic-direction ingress \ - --traffic-mirror-filter-id tmf-04812ff784b25ae67 - -Output:: - - { - "TrafficMirrorFilterRule": { - "DestinationCidrBlock": "0.0.0.0/0", - "TrafficMirrorFilterId": "tmf-04812ff784b25ae67", - "TrafficMirrorFilterRuleId": "tmfr-02d20d996673f3732", - "SourceCidrBlock": "0.0.0.0/0", - "TrafficDirection": "ingress", - "Description": "TCP Rule", - "RuleNumber": 1, - "RuleAction": "accept", - "Protocol": 6 - }, - "ClientToken": "4752b573-40a6-4eac-a8a4-a72058761219" - } - -For more information, see `Create a Traffic Mirror Filter `__ in the *AWS Traffic Mirroring Guide*. +**To create a filter rule for incoming TCP traffic** + +The following ``create-traffic-mirror-filter-rule`` example creates a rule that you can use to mirror all incoming TCP traffic. Before you run this command, use ``create-traffic-mirror-filter`` to create the the traffic mirror filter. :: + + aws ec2 create-traffic-mirror-filter-rule \ + --description 'TCP Rule' \ + --destination-cidr-block 0.0.0.0/0 \ + --protocol 6 \ + --rule-action accept \ + --rule-number 1 \ + --source-cidr-block 0.0.0.0/0 \ + --traffic-direction ingress \ + --traffic-mirror-filter-id tmf-04812ff784b25ae67 + +Output:: + + { + "TrafficMirrorFilterRule": { + "DestinationCidrBlock": "0.0.0.0/0", + "TrafficMirrorFilterId": "tmf-04812ff784b25ae67", + "TrafficMirrorFilterRuleId": "tmfr-02d20d996673f3732", + "SourceCidrBlock": "0.0.0.0/0", + "TrafficDirection": "ingress", + "Description": "TCP Rule", + "RuleNumber": 1, + "RuleAction": "accept", + "Protocol": 6 + }, + "ClientToken": "4752b573-40a6-4eac-a8a4-a72058761219" + } + +For more information, see `Create a traffic mirror filter `__ in the *Traffic Mirroring Guide*. diff --git a/awscli/examples/ec2/create-traffic-mirror-filter.rst b/awscli/examples/ec2/create-traffic-mirror-filter.rst index c2cfbae582e2..23ab1f981bf8 100644 --- a/awscli/examples/ec2/create-traffic-mirror-filter.rst +++ b/awscli/examples/ec2/create-traffic-mirror-filter.rst @@ -1,12 +1,22 @@ -**To create a Traffic Mirror Filter** - -The following ``create-traffic-mirror-filter`` example creates a Traffic Mirror filter. After you create the filter, use ``create-traffic-mirror-filter-rule`` to add rules to the filter. :: - - aws ec2 create-traffic-mirror-filter \ - --description "TCP Filter" - -Output:: - - { "ClientToken": "28908518-100b-4987-8233-8c744EXAMPLE", "TrafficMirrorFilter": { "TrafficMirrorFilterId": "tmf-04812ff784EXAMPLE", "Description": "TCP Filter", "EgressFilterRules": [], "IngressFilterRules": [], "Tags": [], "NetworkServices": [] } } - -For more information, see `Create a Traffic Mirror Filter `__ in the *AWS Traffic Mirroring Guide*. +**To create a traffic mirror filter** + +The following ``create-traffic-mirror-filter`` example creates a traffic mirror filter. After you create the filter, use ``create-traffic-mirror-filter-rule`` to add rules. :: + + aws ec2 create-traffic-mirror-filter \ + --description 'TCP Filter' + +Output:: + + { + "ClientToken": "28908518-100b-4987-8233-8c744EXAMPLE", + "TrafficMirrorFilter": { + "TrafficMirrorFilterId": "tmf-04812ff784EXAMPLE", + "Description": "TCP Filter", + "EgressFilterRules": [], + "IngressFilterRules": [], + "Tags": [], + "NetworkServices": [] + } + } + +For more information, see `Create a traffic mirror filter `__ in the *Traffic Mirroring Guide*. \ No newline at end of file diff --git a/awscli/examples/ec2/create-traffic-mirror-session.rst b/awscli/examples/ec2/create-traffic-mirror-session.rst index 35e5ea5e91d7..c3c44aace32c 100644 --- a/awscli/examples/ec2/create-traffic-mirror-session.rst +++ b/awscli/examples/ec2/create-traffic-mirror-session.rst @@ -1,31 +1,31 @@ -**To create a Traffic Mirror Session** - -The following ``create-traffic-mirror-session`` command creates a traffic mirror sessions for the specified source and target for 25 bytes of the packet. :: - - aws ec2 create-traffic-mirror-session \ - --description "example session" \ - --traffic-mirror-target-id tmt-07f75d8feeEXAMPLE \ - --network-interface-id eni-070203f901EXAMPLE \ - --session-number 1 \ - --packet-length 25 \ - --traffic-mirror-filter-id tmf-04812ff784EXAMPLE - -Output:: - - { - "TrafficMirrorSession": { - "TrafficMirrorSessionId": "tms-08a33b1214EXAMPLE", - "TrafficMirrorTargetId": "tmt-07f75d8feeEXAMPLE", - "TrafficMirrorFilterId": "tmf-04812ff784EXAMPLE", - "NetworkInterfaceId": "eni-070203f901EXAMPLE", - "OwnerId": "111122223333", - "PacketLength": 25, - "SessionNumber": 1, - "VirtualNetworkId": 7159709, - "Description": "example session", - "Tags": [] - }, - "ClientToken": "5236cffc-ee13-4a32-bb5b-388d9da09d96" - } - -For more information, see `Create a Traffic Mirror Session `__ in the *AWS Traffic Mirroring Guide*. +**To create a traffic mirror session** + +The following ``create-traffic-mirror-session`` command creates a traffic mirror session for the specified source and target for 25 bytes of the packet. :: + + aws ec2 create-traffic-mirror-session \ + --description 'example session' \ + --traffic-mirror-target-id tmt-07f75d8feeEXAMPLE \ + --network-interface-id eni-070203f901EXAMPLE \ + --session-number 1 \ + --packet-length 25 \ + --traffic-mirror-filter-id tmf-04812ff784EXAMPLE + +Output:: + + { + "TrafficMirrorSession": { + "TrafficMirrorSessionId": "tms-08a33b1214EXAMPLE", + "TrafficMirrorTargetId": "tmt-07f75d8feeEXAMPLE", + "TrafficMirrorFilterId": "tmf-04812ff784EXAMPLE", + "NetworkInterfaceId": "eni-070203f901EXAMPLE", + "OwnerId": "111122223333", + "PacketLength": 25, + "SessionNumber": 1, + "VirtualNetworkId": 7159709, + "Description": "example session", + "Tags": [] + }, + "ClientToken": "5236cffc-ee13-4a32-bb5b-388d9da09d96" + } + +For more information, see `Create a traffic mirror session `__ in the *Traffic Mirroring Guide*. \ No newline at end of file diff --git a/awscli/examples/ec2/create-traffic-mirror-target.rst b/awscli/examples/ec2/create-traffic-mirror-target.rst index 0b178302dc88..8d5089bdb9ea 100644 --- a/awscli/examples/ec2/create-traffic-mirror-target.rst +++ b/awscli/examples/ec2/create-traffic-mirror-target.rst @@ -1,35 +1,45 @@ -**To create a a Network Load Balancer Traffic Mirror target** - -The following ``create-traffic-mirror-target`` example creates a Network Load Balancer Traffic Mirror target. :: - - aws ec2 create-traffic-mirror-target \ - --description "Example Network Load Balancer Target" \ - --network-load-balancer-arn arn:aws:elasticloadbalancing:us-east-1:111122223333:loadbalancer/net/NLB/7cdec873EXAMPLE - -Output:: - - { "TrafficMirrorTarget": { "Type": "network-load-balancer", "Tags": [], "Description": "Example Network Load Balancer Target", "OwnerId": "111122223333", "NetworkLoadBalancerArn": "arn:aws:elasticloadbalancing:us-east-1:724145273726:loadbalancer/net/NLB/7cdec873EXAMPLE", "TrafficMirrorTargetId": "tmt-0dabe9b0a6EXAMPLE" }, "ClientToken": "d5c090f5-8a0f-49c7-8281-72c796a21f72" } - -**To create a network Traffic Mirror target** - -The following ``create-traffic-mirror-target`` example creates a network interface Traffic Mirror target. - - aws ec2 create-traffic-mirror-target \ - --description "Network interface target" \ - --network-interface-id eni-eni-01f6f631eEXAMPLE - -Output:: - - { - "ClientToken": "5289a345-0358-4e62-93d5-47ef3061d65e", - "TrafficMirrorTarget": { - "Description": "Network interface target", - "NetworkInterfaceId": "eni-01f6f631eEXAMPLE", - "TrafficMirrorTargetId": "tmt-02dcdbe2abEXAMPLE", - "OwnerId": "111122223333", - "Type": "network-interface", - "Tags": [] - } - } - -For more information, see `Create a Traffic Mirror Target `__ in the *AWS Traffic Mirroring Guide*. \ No newline at end of file +**To create a a Network Load Balancer traffic mirror target** + +The following ``create-traffic-mirror-target`` example creates a Network Load Balancer traffic mirror target. :: + + aws ec2 create-traffic-mirror-target \ + --description 'Example Network Load Balancer Target' \ + --network-load-balancer-arn arn:aws:elasticloadbalancing:us-east-1:111122223333:loadbalancer/net/NLB/7cdec873EXAMPLE + +Output:: + + { + "TrafficMirrorTarget": { + "Type": "network-load-balancer", + "Tags": [], + "Description": "Example Network Load Balancer Target", + "OwnerId": "111122223333", + "NetworkLoadBalancerArn": "arn:aws:elasticloadbalancing:us-east-1:724145273726:loadbalancer/net/NLB/7cdec873EXAMPLE", + "TrafficMirrorTargetId": "tmt-0dabe9b0a6EXAMPLE" + }, + "ClientToken": "d5c090f5-8a0f-49c7-8281-72c796a21f72" + } + +**To create a network traffic mirror target** + +The following ``create-traffic-mirror-target`` example creates a network interface Traffic Mirror target. :: + + aws ec2 create-traffic-mirror-target \ + --description 'Network interface target' \ + --network-interface-id eni-eni-01f6f631eEXAMPLE + +Output:: + + { + "ClientToken": "5289a345-0358-4e62-93d5-47ef3061d65e", + "TrafficMirrorTarget": { + "Description": "Network interface target", + "NetworkInterfaceId": "eni-01f6f631eEXAMPLE", + "TrafficMirrorTargetId": "tmt-02dcdbe2abEXAMPLE", + "OwnerId": "111122223333", + "Type": "network-interface", + "Tags": [] + } + } + +For more information, see `Create a traffic mirror target `__ in the *Traffic Mirroring Guide*. \ No newline at end of file diff --git a/awscli/examples/ec2/create-transit-gateway-prefix-list-reference.rst b/awscli/examples/ec2/create-transit-gateway-prefix-list-reference.rst index 849d4b3cedc6..2c677d391e7b 100644 --- a/awscli/examples/ec2/create-transit-gateway-prefix-list-reference.rst +++ b/awscli/examples/ec2/create-transit-gateway-prefix-list-reference.rst @@ -1,27 +1,27 @@ -**To create a reference to a prefix list** - -The following ``create-transit-gateway-prefix-list-reference`` example creates a reference to the specified prefix list in the specified transit gateway route table. :: - - aws ec2 create-transit-gateway-prefix-list-reference \ - --transit-gateway-route-table-id tgw-rtb-0123456789abcd123 \ - --prefix-list-id pl-11111122222222333 \ - --transit-gateway-attachment-id tgw-attach-aaaaaabbbbbb11111 - -Output:: - - { - "TransitGatewayPrefixListReference": { - "TransitGatewayRouteTableId": "tgw-rtb-0123456789abcd123", - "PrefixListId": "pl-11111122222222333", - "PrefixListOwnerId": "123456789012", - "State": "pending", - "Blackhole": false, - "TransitGatewayAttachment": { - "TransitGatewayAttachmentId": "tgw-attach-aaaaaabbbbbb11111", - "ResourceType": "vpc", - "ResourceId": "vpc-112233445566aabbc" - } - } - } - -For more information, see `Prefix list references `__ in the *Transit Gateways Guide*. +**To create a reference to a prefix list** + +The following ``create-transit-gateway-prefix-list-reference`` example creates a reference to the specified prefix list in the specified transit gateway route table. :: + + aws ec2 create-transit-gateway-prefix-list-reference \ + --transit-gateway-route-table-id tgw-rtb-0123456789abcd123 \ + --prefix-list-id pl-11111122222222333 \ + --transit-gateway-attachment-id tgw-attach-aaaaaabbbbbb11111 + +Output:: + + { + "TransitGatewayPrefixListReference": { + "TransitGatewayRouteTableId": "tgw-rtb-0123456789abcd123", + "PrefixListId": "pl-11111122222222333", + "PrefixListOwnerId": "123456789012", + "State": "pending", + "Blackhole": false, + "TransitGatewayAttachment": { + "TransitGatewayAttachmentId": "tgw-attach-aaaaaabbbbbb11111", + "ResourceType": "vpc", + "ResourceId": "vpc-112233445566aabbc" + } + } + } + +For more information, see `Create a prefix list reference `__ in the *Transit Gateways Guide*. \ No newline at end of file diff --git a/awscli/examples/ec2/create-verified-access-endpoint.rst b/awscli/examples/ec2/create-verified-access-endpoint.rst index 45170370e808..680f982574b3 100644 --- a/awscli/examples/ec2/create-verified-access-endpoint.rst +++ b/awscli/examples/ec2/create-verified-access-endpoint.rst @@ -48,4 +48,4 @@ Output:: } } -For more information, see `Verified Access endpoints `__ in the *AWS Verified Access User Guide*. +For more information, see `Verified Access endpoints `__ in the *AWS Verified Access User Guide*. \ No newline at end of file diff --git a/awscli/examples/ec2/create-vpc-endpoint-service-configuration.rst b/awscli/examples/ec2/create-vpc-endpoint-service-configuration.rst index b0c3b9025133..69bc5275b97a 100644 --- a/awscli/examples/ec2/create-vpc-endpoint-service-configuration.rst +++ b/awscli/examples/ec2/create-vpc-endpoint-service-configuration.rst @@ -1,65 +1,67 @@ -**Example 1: To create an endpoint service configuration for an interface endpoint** - -The following ``create-vpc-endpoint-service-configuration`` example creates a VPC endpoint service configuration using the Network Load Balancer ``nlb-vpce``. This example also specifies that requests to connect to the service through an interface endpoint must be accepted. :: - - aws ec2 create-vpc-endpoint-service-configuration \ - --network-load-balancer-arns arn:aws:elasticloadbalancing:us-east-1:123456789012:loadbalancer/net/nlb-vpce/e94221227f1ba532 \ - --acceptance-required - -Output:: - - { - "ServiceConfiguration": { - "ServiceType": [ - { - "ServiceType": "Interface" - } - ], - "NetworkLoadBalancerArns": [ - "arn:aws:elasticloadbalancing:us-east-1:123456789012:loadbalancer/net/nlb-vpce/e94221227f1ba532" - ], - "ServiceName": "com.amazonaws.vpce.us-east-1.vpce-svc-03d5ebb7d9579a2b3", - "ServiceState": "Available", - "ServiceId": "vpce-svc-03d5ebb7d9579a2b3", - "AcceptanceRequired": true, - "AvailabilityZones": [ - "us-east-1d" - ], - "BaseEndpointDnsNames": [ - "vpce-svc-03d5ebb7d9579a2b3.us-east-1.vpce.amazonaws.com" - ] - } - } - -**Example 2: To create an endpoint service configuration for a Gateway Load Balancer endpoint** - -The following ``create-vpc-endpoint-service-configuration`` example creates a VPC endpoint service configuration using the Gateway Load Balancer ``GWLBService``. Requests to connect to the service through a Gateway Load Balancer endpoint are automatically accepted. :: - - aws ec2 create-vpc-endpoint-service-configuration \ - --gateway-load-balancer-arns arn:aws:elasticloadbalancing:us-east-1:123456789012:loadbalancer/gwy/GWLBService/123123123123abcc \ - --no-acceptance-required - -Output:: - - { - "ServiceConfiguration": { - "ServiceType": [ - { - "ServiceType": "GatewayLoadBalancer" - } - ], - "ServiceId": "vpce-svc-123123a1c43abc123", - "ServiceName": "com.amazonaws.vpce.us-east-1.vpce-svc-123123a1c43abc123", - "ServiceState": "Available", - "AvailabilityZones": [ - "us-east-1d" - ], - "AcceptanceRequired": false, - "ManagesVpcEndpoints": false, - "GatewayLoadBalancerArns": [ - "arn:aws:elasticloadbalancing:us-east-1:123456789012:loadbalancer/gwy/GWLBService/123123123123abcc" - ] - } - } - -For more information, see `VPC endpoint services `__ in the *Amazon VPC User Guide*. +**Example 1: To create an endpoint service configuration for an interface endpoint** + +The following ``create-vpc-endpoint-service-configuration`` example creates a VPC endpoint service configuration using the Network Load Balancer ``nlb-vpce``. This example also specifies that requests to connect to the service through an interface endpoint must be accepted. :: + + aws ec2 create-vpc-endpoint-service-configuration \ + --network-load-balancer-arns arn:aws:elasticloadbalancing:us-east-1:123456789012:loadbalancer/net/nlb-vpce/e94221227f1ba532 \ + --acceptance-required + +Output:: + + { + "ServiceConfiguration": { + "ServiceType": [ + { + "ServiceType": "Interface" + } + ], + "NetworkLoadBalancerArns": [ + "arn:aws:elasticloadbalancing:us-east-1:123456789012:loadbalancer/net/nlb-vpce/e94221227f1ba532" + ], + "ServiceName": "com.amazonaws.vpce.us-east-1.vpce-svc-03d5ebb7d9579a2b3", + "ServiceState": "Available", + "ServiceId": "vpce-svc-03d5ebb7d9579a2b3", + "AcceptanceRequired": true, + "AvailabilityZones": [ + "us-east-1d" + ], + "BaseEndpointDnsNames": [ + "vpce-svc-03d5ebb7d9579a2b3.us-east-1.vpce.amazonaws.com" + ] + } + } + +For more information, see `Create an endpoint service `__ in the *AWS PrivateLink User Guide*. + +**Example 2: To create an endpoint service configuration for a Gateway Load Balancer endpoint** + +The following ``create-vpc-endpoint-service-configuration`` example creates a VPC endpoint service configuration using the Gateway Load Balancer ``GWLBService``. Requests to connect to the service through a Gateway Load Balancer endpoint are automatically accepted. :: + + aws ec2 create-vpc-endpoint-service-configuration \ + --gateway-load-balancer-arns arn:aws:elasticloadbalancing:us-east-1:123456789012:loadbalancer/gwy/GWLBService/123123123123abcc \ + --no-acceptance-required + +Output:: + + { + "ServiceConfiguration": { + "ServiceType": [ + { + "ServiceType": "GatewayLoadBalancer" + } + ], + "ServiceId": "vpce-svc-123123a1c43abc123", + "ServiceName": "com.amazonaws.vpce.us-east-1.vpce-svc-123123a1c43abc123", + "ServiceState": "Available", + "AvailabilityZones": [ + "us-east-1d" + ], + "AcceptanceRequired": false, + "ManagesVpcEndpoints": false, + "GatewayLoadBalancerArns": [ + "arn:aws:elasticloadbalancing:us-east-1:123456789012:loadbalancer/gwy/GWLBService/123123123123abcc" + ] + } + } + +For more information, see `Create a Gateway Load Balancer endpoint service `__ in the *AWS PrivateLink User Guide*. \ No newline at end of file diff --git a/awscli/examples/ec2/create-vpc-endpoint.rst b/awscli/examples/ec2/create-vpc-endpoint.rst index 4f2c4c8dc8fc..de693a8e8739 100644 --- a/awscli/examples/ec2/create-vpc-endpoint.rst +++ b/awscli/examples/ec2/create-vpc-endpoint.rst @@ -23,7 +23,7 @@ Output:: } } -For more information, see `Creating a gateway endpoint `__ in the *AWSPrivateLink Guide*. +For more information, see `Create a gateway endpoint `__ in the *AWS PrivateLink User Guide*. **Example 2: To create an interface endpoint** @@ -82,11 +82,11 @@ Output:: } } -For more information, see `Creating an interface endpoint `__ in the *User Guide for AWSPrivateLink*. +For more information, see `Create an interface VPC endpoint `__ in the *AWS PrivateLink User Guide*. **Example 3: To create a Gateway Load Balancer endpoint** -The following ``create-vpc-endpoint`` example creates a Gateway Load Balancer endpoint between VPC ``vpc-111122223333aabbc`` and a service that is configured using a Gateway Load Balancer. :: +The following ``create-vpc-endpoint`` example creates a Gateway Load Balancer endpoint between VPC ``vpc-111122223333aabbc`` and and a service that is configured using a Gateway Load Balancer. :: aws ec2 create-vpc-endpoint \ --service-name com.amazonaws.vpce.us-east-1.vpce-svc-123123a1c43abc123 \ @@ -115,4 +115,4 @@ Output:: } } -For more information, see `Gateway Load Balancer endpoints `__ in the *User Guide for AWSPrivateLink*. +For more information, see `Gateway Load Balancer endpoints `__ in the *AWS PrivateLink User Guide*. \ No newline at end of file diff --git a/awscli/examples/ec2/describe-vpc-endpoint-service-configurations.rst b/awscli/examples/ec2/describe-vpc-endpoint-service-configurations.rst index 4240eeb0b757..7a917077df90 100644 --- a/awscli/examples/ec2/describe-vpc-endpoint-service-configurations.rst +++ b/awscli/examples/ec2/describe-vpc-endpoint-service-configurations.rst @@ -1,62 +1,62 @@ -**To describe endpoint service configurations** - -The following ``describe-vpc-endpoint-service-configurations`` example describes your endpoint service configurations. :: - - aws ec2 describe-vpc-endpoint-service-configurations - -Output:: - - { - "ServiceConfigurations": [ - { - "ServiceType": [ - { - "ServiceType": "GatewayLoadBalancer" - } - ], - "ServiceId": "vpce-svc-012d33a1c4321cabc", - "ServiceName": "com.amazonaws.vpce.us-east-1.vpce-svc-012d33a1c4321cabc", - "ServiceState": "Available", - "AvailabilityZones": [ - "us-east-1d" - ], - "AcceptanceRequired": false, - "ManagesVpcEndpoints": false, - "GatewayLoadBalancerArns": [ - "arn:aws:elasticloadbalancing:us-east-1:123456789012:loadbalancer/gwy/GWLBService/123210844e429123" - ], - "Tags": [] - }, - { - "ServiceType": [ - { - "ServiceType": "Interface" - } - ], - "ServiceId": "vpce-svc-123cabc125efa123", - "ServiceName": "com.amazonaws.vpce.us-east-1.vpce-svc-123cabc125efa123", - "ServiceState": "Available", - "AvailabilityZones": [ - "us-east-1a" - ], - "AcceptanceRequired": true, - "ManagesVpcEndpoints": false, - "NetworkLoadBalancerArns": [ - "arn:aws:elasticloadbalancing:us-east-1:123456789012:loadbalancer/net/NLBforService/1238753950b25123" - ], - "BaseEndpointDnsNames": [ - "vpce-svc-123cabc125efa123.us-east-1.vpce.amazonaws.com" - ], - "PrivateDnsName": "example.com", - "PrivateDnsNameConfiguration": { - "State": "failed", - "Type": "TXT", - "Value": "vpce:qUAth3FdeABCApUiXabc", - "Name": "_1d367jvbg34znqvyefrj" - }, - "Tags": [] - } - ] - } - -For more information, see `VPC endpoint services `__ in the *Amazon VPC User Guide*. +**To describe endpoint service configurations** + +The following ``describe-vpc-endpoint-service-configurations`` example describes your endpoint service configurations. :: + + aws ec2 describe-vpc-endpoint-service-configurations + +Output:: + + { + "ServiceConfigurations": [ + { + "ServiceType": [ + { + "ServiceType": "GatewayLoadBalancer" + } + ], + "ServiceId": "vpce-svc-012d33a1c4321cabc", + "ServiceName": "com.amazonaws.vpce.us-east-1.vpce-svc-012d33a1c4321cabc", + "ServiceState": "Available", + "AvailabilityZones": [ + "us-east-1d" + ], + "AcceptanceRequired": false, + "ManagesVpcEndpoints": false, + "GatewayLoadBalancerArns": [ + "arn:aws:elasticloadbalancing:us-east-1:123456789012:loadbalancer/gwy/GWLBService/123210844e429123" + ], + "Tags": [] + }, + { + "ServiceType": [ + { + "ServiceType": "Interface" + } + ], + "ServiceId": "vpce-svc-123cabc125efa123", + "ServiceName": "com.amazonaws.vpce.us-east-1.vpce-svc-123cabc125efa123", + "ServiceState": "Available", + "AvailabilityZones": [ + "us-east-1a" + ], + "AcceptanceRequired": true, + "ManagesVpcEndpoints": false, + "NetworkLoadBalancerArns": [ + "arn:aws:elasticloadbalancing:us-east-1:123456789012:loadbalancer/net/NLBforService/1238753950b25123" + ], + "BaseEndpointDnsNames": [ + "vpce-svc-123cabc125efa123.us-east-1.vpce.amazonaws.com" + ], + "PrivateDnsName": "example.com", + "PrivateDnsNameConfiguration": { + "State": "failed", + "Type": "TXT", + "Value": "vpce:qUAth3FdeABCApUiXabc", + "Name": "_1d367jvbg34znqvyefrj" + }, + "Tags": [] + } + ] + } + +For more information, see `Concepts `__ in the *AWS PrivateLink User Guide*. diff --git a/awscli/examples/ec2/describe-vpc-endpoint-services.rst b/awscli/examples/ec2/describe-vpc-endpoint-services.rst index e378fac0fa43..bf57f83b6a87 100644 --- a/awscli/examples/ec2/describe-vpc-endpoint-services.rst +++ b/awscli/examples/ec2/describe-vpc-endpoint-services.rst @@ -1,134 +1,132 @@ -**Example 1: To describe all VPC endpoint services** - -The following "describe-vpc-endpoint-services" example lists all VPC endpoint services for an AWS Region. :: - - aws ec2 describe-vpc-endpoint-services - -Output:: - - { - "ServiceDetails": [ - { - "ServiceType": [ - { - "ServiceType": "Gateway" - } - ], - "AcceptanceRequired": false, - "ServiceName": "com.amazonaws.us-east-1.dynamodb", - "VpcEndpointPolicySupported": true, - "Owner": "amazon", - "AvailabilityZones": [ - "us-east-1a", - "us-east-1b", - "us-east-1c", - "us-east-1d", - "us-east-1e", - "us-east-1f" - ], - "BaseEndpointDnsNames": [ - "dynamodb.us-east-1.amazonaws.com" - ] - }, - { - "ServiceType": [ - { - "ServiceType": "Interface" - } - ], - "PrivateDnsName": "ec2.us-east-1.amazonaws.com", - "ServiceName": "com.amazonaws.us-east-1.ec2", - "VpcEndpointPolicySupported": false, - "Owner": "amazon", - "AvailabilityZones": [ - "us-east-1a", - "us-east-1b", - "us-east-1c", - "us-east-1d", - "us-east-1e", - "us-east-1f" - ], - "AcceptanceRequired": false, - "BaseEndpointDnsNames": [ - "ec2.us-east-1.vpce.amazonaws.com" - ] - }, - { - "ServiceType": [ - { - "ServiceType": "Interface" - } - ], - "PrivateDnsName": "ssm.us-east-1.amazonaws.com", - "ServiceName": "com.amazonaws.us-east-1.ssm", - "VpcEndpointPolicySupported": true, - "Owner": "amazon", - "AvailabilityZones": [ - "us-east-1a", - "us-east-1b", - "us-east-1c", - "us-east-1d", - "us-east-1e" - ], - "AcceptanceRequired": false, - "BaseEndpointDnsNames": [ - "ssm.us-east-1.vpce.amazonaws.com" - ] - } - ], - "ServiceNames": [ - "com.amazonaws.us-east-1.dynamodb", - "com.amazonaws.us-east-1.ec2", - "com.amazonaws.us-east-1.ec2messages", - "com.amazonaws.us-east-1.elasticloadbalancing", - "com.amazonaws.us-east-1.kinesis-streams", - "com.amazonaws.us-east-1.s3", - "com.amazonaws.us-east-1.ssm" - ] - } - -For more information, see `View available AWS service names `__ in the *User Guide for AWSPrivateLink*. - -**Example 2: To describe the details about an endpoint service** - -The following "describe-vpc-endpoint-services" example lists the details of the Amazon S3 interface endpoint srvice :: - - aws ec2 describe-vpc-endpoint-services \ - --filter "Name=service-type,Values=Interface" Name=service-name,Values=com.amazonaws.us-east-1.s3 - -Output:: - - { - "ServiceDetails": [ - { - "ServiceName": "com.amazonaws.us-east-1.s3", - "ServiceId": "vpce-svc-081d84efcdEXAMPLE", - "ServiceType": [ - { - "ServiceType": "Interface" - } - ], - "AvailabilityZones": [ - "us-east-1a", - "us-east-1b", - "us-east-1c", - "us-east-1d", - "us-east-1e", - "us-east-1f" - ], - "Owner": "amazon", - "BaseEndpointDnsNames": [ - "s3.us-east-1.vpce.amazonaws.com" - ], - "VpcEndpointPolicySupported": true, - "AcceptanceRequired": false, - "ManagesVpcEndpoints": false, - "Tags": [] - } - ], - "ServiceNames": [ - "com.amazonaws.us-east-1.s3" - ] - } - -For more information, see `View available AWS service names `__ in the *User Guide for AWSPrivateLink*. \ No newline at end of file +**Example 1: To describe all VPC endpoint services** + +The following ``describe-vpc-endpoint-services`` example lists all VPC endpoint services for an AWS Region. :: + + aws ec2 describe-vpc-endpoint-services + +Output:: + + { + "ServiceDetails": [ + { + "ServiceType": [ + { + "ServiceType": "Gateway" + } + ], + "AcceptanceRequired": false, + "ServiceName": "com.amazonaws.us-east-1.dynamodb", + "VpcEndpointPolicySupported": true, + "Owner": "amazon", + "AvailabilityZones": [ + "us-east-1a", + "us-east-1b", + "us-east-1c", + "us-east-1d", + "us-east-1e", + "us-east-1f" + ], + "BaseEndpointDnsNames": [ + "dynamodb.us-east-1.amazonaws.com" + ] + }, + { + "ServiceType": [ + { + "ServiceType": "Interface" + } + ], + "PrivateDnsName": "ec2.us-east-1.amazonaws.com", + "ServiceName": "com.amazonaws.us-east-1.ec2", + "VpcEndpointPolicySupported": false, + "Owner": "amazon", + "AvailabilityZones": [ + "us-east-1a", + "us-east-1b", + "us-east-1c", + "us-east-1d", + "us-east-1e", + "us-east-1f" + ], + "AcceptanceRequired": false, + "BaseEndpointDnsNames": [ + "ec2.us-east-1.vpce.amazonaws.com" + ] + }, + { + "ServiceType": [ + { + "ServiceType": "Interface" + } + ], + "PrivateDnsName": "ssm.us-east-1.amazonaws.com", + "ServiceName": "com.amazonaws.us-east-1.ssm", + "VpcEndpointPolicySupported": true, + "Owner": "amazon", + "AvailabilityZones": [ + "us-east-1a", + "us-east-1b", + "us-east-1c", + "us-east-1d", + "us-east-1e" + ], + "AcceptanceRequired": false, + "BaseEndpointDnsNames": [ + "ssm.us-east-1.vpce.amazonaws.com" + ] + } + ], + "ServiceNames": [ + "com.amazonaws.us-east-1.dynamodb", + "com.amazonaws.us-east-1.ec2", + "com.amazonaws.us-east-1.ec2messages", + "com.amazonaws.us-east-1.elasticloadbalancing", + "com.amazonaws.us-east-1.kinesis-streams", + "com.amazonaws.us-east-1.s3", + "com.amazonaws.us-east-1.ssm" + ] + } + +**Example 2: To describe the details about an endpoint service** + +The following ``describe-vpc-endpoint-services`` example lists the details of the Amazon S3 interface endpoint service. :: + + aws ec2 describe-vpc-endpoint-services \ + --filter 'Name=service-type,Values=Interface' Name=service-name,Values=com.amazonaws.us-east-1.s3 + +Output:: + + { + "ServiceDetails": [ + { + "ServiceName": "com.amazonaws.us-east-1.s3", + "ServiceId": "vpce-svc-081d84efcdEXAMPLE", + "ServiceType": [ + { + "ServiceType": "Interface" + } + ], + "AvailabilityZones": [ + "us-east-1a", + "us-east-1b", + "us-east-1c", + "us-east-1d", + "us-east-1e", + "us-east-1f" + ], + "Owner": "amazon", + "BaseEndpointDnsNames": [ + "s3.us-east-1.vpce.amazonaws.com" + ], + "VpcEndpointPolicySupported": true, + "AcceptanceRequired": false, + "ManagesVpcEndpoints": false, + "Tags": [] + } + ], + "ServiceNames": [ + "com.amazonaws.us-east-1.s3" + ] + } + +For more information, see `View available AWS service names `__ in the *AWS PrivateLink User Guide*. diff --git a/awscli/examples/ec2/describe-vpc-endpoints.rst b/awscli/examples/ec2/describe-vpc-endpoints.rst index c28b740a45fa..ad7902e63cfa 100644 --- a/awscli/examples/ec2/describe-vpc-endpoints.rst +++ b/awscli/examples/ec2/describe-vpc-endpoints.rst @@ -1,89 +1,89 @@ -**To describe your VPC endpoints** - -The following ``describe-vpc-endpoints`` example displays details for all of your VPC endpoints. :: - - aws ec2 describe-vpc-endpoints - -Output:: - - { - "VpcEndpoints": [ - { - "PolicyDocument": "{\"Version\":\"2008-10-17\",\"Statement\":[{\"Effect\":\"Allow\",\"Principal\":\"*\",\"Action\":\"*\",\"Resource\":\"*\"}]}", - "VpcId": "vpc-aabb1122", - "NetworkInterfaceIds": [], - "SubnetIds": [], - "PrivateDnsEnabled": true, - "State": "available", - "ServiceName": "com.amazonaws.us-east-1.dynamodb", - "RouteTableIds": [ - "rtb-3d560345" - ], - "Groups": [], - "VpcEndpointId": "vpce-032a826a", - "VpcEndpointType": "Gateway", - "CreationTimestamp": "2017-09-05T20:41:28Z", - "DnsEntries": [], - "OwnerId": "123456789012" - }, - { - "PolicyDocument": "{\n \"Statement\": [\n {\n \"Action\": \"*\", \n \"Effect\": \"Allow\", \n \"Principal\": \"*\", \n \"Resource\": \"*\"\n }\n ]\n}", - "VpcId": "vpc-1a2b3c4d", - "NetworkInterfaceIds": [ - "eni-2ec2b084", - "eni-1b4a65cf" - ], - "SubnetIds": [ - "subnet-d6fcaa8d", - "subnet-7b16de0c" - ], - "PrivateDnsEnabled": false, - "State": "available", - "ServiceName": "com.amazonaws.us-east-1.elasticloadbalancing", - "RouteTableIds": [], - "Groups": [ - { - "GroupName": "default", - "GroupId": "sg-54e8bf31" - } - ], - "VpcEndpointId": "vpce-0f89a33420c1931d7", - "VpcEndpointType": "Interface", - "CreationTimestamp": "2017-09-05T17:55:27.583Z", - "DnsEntries": [ - { - "HostedZoneId": "Z7HUB22UULQXV", - "DnsName": "vpce-0f89a33420c1931d7-bluzidnv.elasticloadbalancing.us-east-1.vpce.amazonaws.com" - }, - { - "HostedZoneId": "Z7HUB22UULQXV", - "DnsName": "vpce-0f89a33420c1931d7-bluzidnv-us-east-1b.elasticloadbalancing.us-east-1.vpce.amazonaws.com" - }, - { - "HostedZoneId": "Z7HUB22UULQXV", - "DnsName": "vpce-0f89a33420c1931d7-bluzidnv-us-east-1a.elasticloadbalancing.us-east-1.vpce.amazonaws.com" - } - ], - "OwnerId": "123456789012" - }, - { - "VpcEndpointId": "vpce-aabbaabbaabbaabba", - "VpcEndpointType": "GatewayLoadBalancer", - "VpcId": "vpc-111122223333aabbc", - "ServiceName": "com.amazonaws.vpce.us-east-1.vpce-svc-123123a1c43abc123", - "State": "available", - "SubnetIds": [ - "subnet-0011aabbcc2233445" - ], - "RequesterManaged": false, - "NetworkInterfaceIds": [ - "eni-01010120203030405" - ], - "CreationTimestamp": "2020-11-11T08:06:03.522Z", - "Tags": [], - "OwnerId": "123456789012" - } - ] - } - -For more information, see `VPC endpoints `__ in the *Amazon VPC User Guide*. +**To describe your VPC endpoints** + +The following ``describe-vpc-endpoints`` example displays details for all of your VPC endpoints. :: + + aws ec2 describe-vpc-endpoints + +Output:: + + { + "VpcEndpoints": [ + { + "PolicyDocument": "{\"Version\":\"2008-10-17\",\"Statement\":[{\"Effect\":\"Allow\",\"Principal\":\"*\",\"Action\":\"*\",\"Resource\":\"*\"}]}", + "VpcId": "vpc-aabb1122", + "NetworkInterfaceIds": [], + "SubnetIds": [], + "PrivateDnsEnabled": true, + "State": "available", + "ServiceName": "com.amazonaws.us-east-1.dynamodb", + "RouteTableIds": [ + "rtb-3d560345" + ], + "Groups": [], + "VpcEndpointId": "vpce-032a826a", + "VpcEndpointType": "Gateway", + "CreationTimestamp": "2017-09-05T20:41:28Z", + "DnsEntries": [], + "OwnerId": "123456789012" + }, + { + "PolicyDocument": "{\n \"Statement\": [\n {\n \"Action\": \"*\", \n \"Effect\": \"Allow\", \n \"Principal\": \"*\", \n \"Resource\": \"*\"\n }\n ]\n}", + "VpcId": "vpc-1a2b3c4d", + "NetworkInterfaceIds": [ + "eni-2ec2b084", + "eni-1b4a65cf" + ], + "SubnetIds": [ + "subnet-d6fcaa8d", + "subnet-7b16de0c" + ], + "PrivateDnsEnabled": false, + "State": "available", + "ServiceName": "com.amazonaws.us-east-1.elasticloadbalancing", + "RouteTableIds": [], + "Groups": [ + { + "GroupName": "default", + "GroupId": "sg-54e8bf31" + } + ], + "VpcEndpointId": "vpce-0f89a33420c1931d7", + "VpcEndpointType": "Interface", + "CreationTimestamp": "2017-09-05T17:55:27.583Z", + "DnsEntries": [ + { + "HostedZoneId": "Z7HUB22UULQXV", + "DnsName": "vpce-0f89a33420c1931d7-bluzidnv.elasticloadbalancing.us-east-1.vpce.amazonaws.com" + }, + { + "HostedZoneId": "Z7HUB22UULQXV", + "DnsName": "vpce-0f89a33420c1931d7-bluzidnv-us-east-1b.elasticloadbalancing.us-east-1.vpce.amazonaws.com" + }, + { + "HostedZoneId": "Z7HUB22UULQXV", + "DnsName": "vpce-0f89a33420c1931d7-bluzidnv-us-east-1a.elasticloadbalancing.us-east-1.vpce.amazonaws.com" + } + ], + "OwnerId": "123456789012" + }, + { + "VpcEndpointId": "vpce-aabbaabbaabbaabba", + "VpcEndpointType": "GatewayLoadBalancer", + "VpcId": "vpc-111122223333aabbc", + "ServiceName": "com.amazonaws.vpce.us-east-1.vpce-svc-123123a1c43abc123", + "State": "available", + "SubnetIds": [ + "subnet-0011aabbcc2233445" + ], + "RequesterManaged": false, + "NetworkInterfaceIds": [ + "eni-01010120203030405" + ], + "CreationTimestamp": "2020-11-11T08:06:03.522Z", + "Tags": [], + "OwnerId": "123456789012" + } + ] + } + +For more information, see `Concepts `__ in the *AWS PrivateLink User Guide*. diff --git a/awscli/examples/rds/download-db-log-file-portion.rst b/awscli/examples/rds/download-db-log-file-portion.rst index 3434b57b6034..3dd10e8523ef 100644 --- a/awscli/examples/rds/download-db-log-file-portion.rst +++ b/awscli/examples/rds/download-db-log-file-portion.rst @@ -1,4 +1,4 @@ -**To download a DB log file** +**Example 1: To download the latest part of a DB log file** The following ``download-db-log-file-portion`` example downloads only the latest part of your log file, saving it to a local file named ``tail.txt``. :: @@ -7,7 +7,11 @@ The following ``download-db-log-file-portion`` example downloads only the latest --log-file-name log.txt \ --output text > tail.txt -To download the entire file, you need to include the ``--starting-token 0`` parameter. The following example saves the output to a local file named ``full.txt``. :: +The saved file might contain blank lines. They appear at the end of each part of the log file while being downloaded. + +**Example 2: To download an entire DB log file** + +The following ``download-db-log-file-portion`` example downloads the entire log file, using the ``--starting-token 0`` parameter, and saves the output to a local file named ``full.txt``. :: aws rds download-db-log-file-portion \ --db-instance-identifier test-instance \ @@ -15,4 +19,4 @@ To download the entire file, you need to include the ``--starting-token 0`` para --starting-token 0 \ --output text > full.txt -The saved file might contain blank lines. They appear at the end of each part of the log file while being downloaded. This generally doesn't cause any trouble in your log file analysis. +The saved file might contain blank lines. They appear at the end of each part of the log file while being downloaded. \ No newline at end of file diff --git a/awscli/examples/securitylake/create-aws-logsource.rst b/awscli/examples/securitylake/create-aws-log-source.rst similarity index 100% rename from awscli/examples/securitylake/create-aws-logsource.rst rename to awscli/examples/securitylake/create-aws-log-source.rst diff --git a/awscli/examples/securitylake/create-custom-logsource.rst b/awscli/examples/securitylake/create-custom-log-source.rst similarity index 100% rename from awscli/examples/securitylake/create-custom-logsource.rst rename to awscli/examples/securitylake/create-custom-log-source.rst diff --git a/awscli/examples/securitylake/create-subscriber-data-access.rst b/awscli/examples/securitylake/create-subscriber-data-access.rst deleted file mode 100644 index 6ee467ea17a9..000000000000 --- a/awscli/examples/securitylake/create-subscriber-data-access.rst +++ /dev/null @@ -1,41 +0,0 @@ -**To create a subscriber with data access** - -The following ``create-subscriber`` example creates a subscriber in Security Lake with access to data in the current AWS Region for the specified subscriber identity for an AWS source. :: - - aws securitylake create-subscriber \ - --access-types "S3" \ - --sources '[{"awsLogSource": {"sourceName": "VPC_FLOW","sourceVersion": "2.0"}}]' \ - --subscriber-name "opensearch-s3" \ - --subscriber-identity '{"principal": "029189416600","externalId": "123456789012"}' - -Output:: - - { - "subscriber": { - "accessTypes": [ - "S3" - ], - "createdAt": "2024-07-17T19:08:26.787000+00:00", - "roleArn": "arn:aws:iam::773172568199:role/AmazonSecurityLake-896f218b-cfba-40be-a255-8b49a65d0407", - "s3BucketArn": "arn:aws:s3:::aws-security-data-lake-us-east-1-um632ufwpvxkyz0bc5hkb64atycnf3", - "sources": [ - { - "awsLogSource": { - "sourceName": "VPC_FLOW", - "sourceVersion": "2.0" - } - } - ], - "subscriberArn": "arn:aws:securitylake:us-east-1:773172568199:subscriber/896f218b-cfba-40be-a255-8b49a65d0407", - "subscriberId": "896f218b-cfba-40be-a255-8b49a65d0407", - "subscriberIdentity": { - "externalId": "123456789012", - "principal": "029189416600" - }, - "subscriberName": "opensearch-s3", - "subscriberStatus": "ACTIVE", - "updatedAt": "2024-07-17T19:08:27.133000+00:00" - } - } - -For more information, see `Creating a subscriber with data access `__ in the *Amazon Security Lake User Guide*. \ No newline at end of file diff --git a/awscli/examples/securitylake/create-subscriber-query-access.rst b/awscli/examples/securitylake/create-subscriber-query-access.rst deleted file mode 100644 index 6fa3e93ae127..000000000000 --- a/awscli/examples/securitylake/create-subscriber-query-access.rst +++ /dev/null @@ -1,41 +0,0 @@ -**To create a subscriber with query access** - -The following ``create-subscriber`` example creates a subscriber in Security Lake with query access in the current AWS Region for the specified subscriber identity. :: - - aws securitylake create-subscriber \ - --access-types "LAKEFORMATION" \ - --sources '[{"awsLogSource": {"sourceName": "VPC_FLOW","sourceVersion": "2.0"}}]' \ - --subscriber-name "opensearch-s3" \ - --subscriber-identity '{"principal": "029189416600","externalId": "123456789012"}' - -Output:: - - { - "subscriber": { - "accessTypes": [ - "LAKEFORMATION" - ], - "createdAt": "2024-07-18T01:05:55.853000+00:00", - "resourceShareArn": "arn:aws:ram:us-east-1:123456789012:resource-share/8c31da49-c224-4f1e-bb12-37ab756d6d8a", - "resourceShareName": "LakeFormation-V2-NAMENAMENA-123456789012", - "sources": [ - { - "awsLogSource": { - "sourceName": "VPC_FLOW", - "sourceVersion": "2.0" - } - } - ], - "subscriberArn": "arn:aws:securitylake:us-east-1:123456789012:subscriber/e762aabb-ce3d-4585-beab-63474597845d", - "subscriberId": "e762aabb-ce3d-4585-beab-63474597845d", - "subscriberIdentity": { - "externalId": "123456789012", - "principal": "029189416600" - }, - "subscriberName": "opensearch-s3", - "subscriberStatus": "ACTIVE", - "updatedAt": "2024-07-18T01:05:58.393000+00:00" - } - } - -For more information, see `Creating a subscriber with query access `__ in the *Amazon Security Lake User Guide*. \ No newline at end of file diff --git a/awscli/examples/securitylake/create-subscriber.rst b/awscli/examples/securitylake/create-subscriber.rst new file mode 100644 index 000000000000..516f0611ec59 --- /dev/null +++ b/awscli/examples/securitylake/create-subscriber.rst @@ -0,0 +1,83 @@ +**Example 1: To create a subscriber with data access** + +The following ``create-subscriber`` example creates a subscriber in Security Lake with access to data in the current AWS Region for the specified subscriber identity for an AWS source. :: + + aws securitylake create-subscriber \ + --access-types "S3" \ + --sources '[{"awsLogSource": {"sourceName": "VPC_FLOW","sourceVersion": "2.0"}}]' \ + --subscriber-name 'opensearch-s3' \ + --subscriber-identity '{"principal": "029189416600","externalId": "123456789012"}' + +Output:: + + { + "subscriber": { + "accessTypes": [ + "S3" + ], + "createdAt": "2024-07-17T19:08:26.787000+00:00", + "roleArn": "arn:aws:iam::773172568199:role/AmazonSecurityLake-896f218b-cfba-40be-a255-8b49a65d0407", + "s3BucketArn": "arn:aws:s3:::aws-security-data-lake-us-east-1-um632ufwpvxkyz0bc5hkb64atycnf3", + "sources": [ + { + "awsLogSource": { + "sourceName": "VPC_FLOW", + "sourceVersion": "2.0" + } + } + ], + "subscriberArn": "arn:aws:securitylake:us-east-1:773172568199:subscriber/896f218b-cfba-40be-a255-8b49a65d0407", + "subscriberId": "896f218b-cfba-40be-a255-8b49a65d0407", + "subscriberIdentity": { + "externalId": "123456789012", + "principal": "029189416600" + }, + "subscriberName": "opensearch-s3", + "subscriberStatus": "ACTIVE", + "updatedAt": "2024-07-17T19:08:27.133000+00:00" + } + } + +For more information, see `Creating a subscriber with data access `__ in the *Amazon Security Lake User Guide*. + +**Example 2: To create a subscriber with query access** + +The following ``create-subscriber`` example creates a subscriber in Security Lake with query access in the current AWS Region for the specified subscriber identity. :: + + aws securitylake create-subscriber \ + --access-types "LAKEFORMATION" \ + --sources '[{"awsLogSource": {"sourceName": "VPC_FLOW","sourceVersion": "2.0"}}]' \ + --subscriber-name 'opensearch-s3' \ + --subscriber-identity '{"principal": "029189416600","externalId": "123456789012"}' + +Output:: + + { + "subscriber": { + "accessTypes": [ + "LAKEFORMATION" + ], + "createdAt": "2024-07-18T01:05:55.853000+00:00", + "resourceShareArn": "arn:aws:ram:us-east-1:123456789012:resource-share/8c31da49-c224-4f1e-bb12-37ab756d6d8a", + "resourceShareName": "LakeFormation-V2-NAMENAMENA-123456789012", + "sources": [ + { + "awsLogSource": { + "sourceName": "VPC_FLOW", + "sourceVersion": "2.0" + } + } + ], + "subscriberArn": "arn:aws:securitylake:us-east-1:123456789012:subscriber/e762aabb-ce3d-4585-beab-63474597845d", + "subscriberId": "e762aabb-ce3d-4585-beab-63474597845d", + "subscriberIdentity": { + "externalId": "123456789012", + "principal": "029189416600" + }, + "subscriberName": "opensearch-s3", + "subscriberStatus": "ACTIVE", + "updatedAt": "2024-07-18T01:05:58.393000+00:00" + } + } + +For more information, see `Creating a subscriber with query access `__ in the *Amazon Security Lake User Guide*. \ No newline at end of file diff --git a/awscli/examples/securitylake/delete-aws-logsource.rst b/awscli/examples/securitylake/delete-aws-log-source.rst similarity index 100% rename from awscli/examples/securitylake/delete-aws-logsource.rst rename to awscli/examples/securitylake/delete-aws-log-source.rst diff --git a/awscli/examples/securitylake/delete-custom-logsource.rst b/awscli/examples/securitylake/delete-custom-log-source.rst similarity index 100% rename from awscli/examples/securitylake/delete-custom-logsource.rst rename to awscli/examples/securitylake/delete-custom-log-source.rst From 41a934c44d4f007305e4b50c534478e2b7451aaf Mon Sep 17 00:00:00 2001 From: Elysa Hall Date: Wed, 30 Oct 2024 17:07:40 +0000 Subject: [PATCH 0415/1087] CLI examples for ds-data, ecr-public --- awscli/examples/ds-data/add-group-member.rst | 12 + awscli/examples/ds-data/create-group.rst | 17 + awscli/examples/ds-data/create-user.rst | 17 + awscli/examples/ds-data/delete-group.rst | 11 + awscli/examples/ds-data/delete-user.rst | 11 + awscli/examples/ds-data/describe-group.rst | 21 + awscli/examples/ds-data/describe-user.rst | 21 + .../ds-data/disable-directory-data-access.rst | 10 + awscli/examples/ds-data/disable-user.rst | 11 + .../ds-data/enable-directory-data-access.rst | 10 + .../examples/ds-data/list-group-members.rst | 29 + .../ds-data/list-groups-for-member.rst | 25 + awscli/examples/ds-data/list-groups.rst | 503 ++++++++++++++++++ awscli/examples/ds-data/list-users.rst | 57 ++ .../examples/ds-data/remove-group-member.rst | 12 + .../examples/ds-data/reset-user-password.rst | 12 + awscli/examples/ds-data/search-groups.rst | 25 + awscli/examples/ds-data/search-users.rst | 24 + awscli/examples/ds-data/update-group.rst | 13 + awscli/examples/ds-data/update-user.rst | 13 + .../ecr-public/get-registry-catalog-data.rst | 14 + .../get-repository-catalog-data.rst | 29 + .../ecr-public/list-tags-for-resource.rst | 28 + .../ecr-public/put-registry-catalog-data.rst | 15 + .../put-repository-catalog-data.rst | 9 +- awscli/examples/ecr-public/tag-resource.rst | 21 + awscli/examples/ecr-public/untag-resource.rst | 12 + 27 files changed, 978 insertions(+), 4 deletions(-) create mode 100644 awscli/examples/ds-data/add-group-member.rst create mode 100644 awscli/examples/ds-data/create-group.rst create mode 100644 awscli/examples/ds-data/create-user.rst create mode 100644 awscli/examples/ds-data/delete-group.rst create mode 100644 awscli/examples/ds-data/delete-user.rst create mode 100644 awscli/examples/ds-data/describe-group.rst create mode 100644 awscli/examples/ds-data/describe-user.rst create mode 100644 awscli/examples/ds-data/disable-directory-data-access.rst create mode 100644 awscli/examples/ds-data/disable-user.rst create mode 100644 awscli/examples/ds-data/enable-directory-data-access.rst create mode 100644 awscli/examples/ds-data/list-group-members.rst create mode 100644 awscli/examples/ds-data/list-groups-for-member.rst create mode 100644 awscli/examples/ds-data/list-groups.rst create mode 100644 awscli/examples/ds-data/list-users.rst create mode 100644 awscli/examples/ds-data/remove-group-member.rst create mode 100644 awscli/examples/ds-data/reset-user-password.rst create mode 100644 awscli/examples/ds-data/search-groups.rst create mode 100644 awscli/examples/ds-data/search-users.rst create mode 100644 awscli/examples/ds-data/update-group.rst create mode 100644 awscli/examples/ds-data/update-user.rst create mode 100644 awscli/examples/ecr-public/get-registry-catalog-data.rst create mode 100644 awscli/examples/ecr-public/get-repository-catalog-data.rst create mode 100644 awscli/examples/ecr-public/list-tags-for-resource.rst create mode 100644 awscli/examples/ecr-public/put-registry-catalog-data.rst create mode 100644 awscli/examples/ecr-public/tag-resource.rst create mode 100644 awscli/examples/ecr-public/untag-resource.rst diff --git a/awscli/examples/ds-data/add-group-member.rst b/awscli/examples/ds-data/add-group-member.rst new file mode 100644 index 000000000000..45c54d26ab41 --- /dev/null +++ b/awscli/examples/ds-data/add-group-member.rst @@ -0,0 +1,12 @@ +**To add a group member to a directory** + +The following ``add-group-member`` example adds the specified user to the specified group in the specified directory. :: + + aws ds-data add-group-member \ + --directory-id d-1234567890 \ + --group-name 'sales' \ + --member-name 'john.doe' + +This command produces no output. + +For more information, see `Adding or removing AWS Managed Microsoft AD members to groups and groups to groups `__ in the *AWS Directory Service Administration Guide*. diff --git a/awscli/examples/ds-data/create-group.rst b/awscli/examples/ds-data/create-group.rst new file mode 100644 index 000000000000..9451cebd2c78 --- /dev/null +++ b/awscli/examples/ds-data/create-group.rst @@ -0,0 +1,17 @@ +**To create a group for a directory** + +The following ``create-group`` example creates a group in the specified directory. :: + + aws ds-data create-group \ + --directory-id d-1234567890 \ + --sam-account-name 'sales' + +Output:: + + { + "DirectoryId": "d-9067f3da7a", + "SAMAccountName": "sales", + "SID": "S-1-2-34-5567891234-5678912345-67891234567-8912" + } + +For more information, see `Creating an AWS Managed Microsoft AD group `__ in the *AWS Directory Service Administration Guide*. diff --git a/awscli/examples/ds-data/create-user.rst b/awscli/examples/ds-data/create-user.rst new file mode 100644 index 000000000000..f348abf0bce6 --- /dev/null +++ b/awscli/examples/ds-data/create-user.rst @@ -0,0 +1,17 @@ +**To create a user** + +The following ``create-user`` example creates a user in the specified directory. :: + + aws ds-data create-user \ + --directory-id d-1234567890 \ + --sam-account-name 'john.doe' + +Output:: + + { + "DirectoryId": "d-1234567890", + "SAMAccountName": "john.doe", + "SID": "S-1-2-34-5567891234-5678912345-67891234567-8912" + } + +For more information, see `Creating an AWS Managed Microsoft AD user `__ in the *AWS Directory Service Administration Guide*. diff --git a/awscli/examples/ds-data/delete-group.rst b/awscli/examples/ds-data/delete-group.rst new file mode 100644 index 000000000000..33c155c7ffbf --- /dev/null +++ b/awscli/examples/ds-data/delete-group.rst @@ -0,0 +1,11 @@ +**To delete a group** + +The following ``delete-group`` example deletes the specified group from the specified directory. :: + + aws ds-data delete-group \ + --directory-id d-1234567890 \ + --sam-account-name 'sales' + +This command produces no output. + +For more information, see `Deleting an AWS Managed Microsoft AD group `__ in the *AWS Directory Service Administration Guide*. diff --git a/awscli/examples/ds-data/delete-user.rst b/awscli/examples/ds-data/delete-user.rst new file mode 100644 index 000000000000..9ffd38f8ea04 --- /dev/null +++ b/awscli/examples/ds-data/delete-user.rst @@ -0,0 +1,11 @@ +**To delete a user** + +The following ``delete-user`` example deletes the specified user from the specified directory. :: + + aws ds-data delete-user \ + --directory-id d-1234567890 \ + --sam-account-name 'john.doe' + +This command produces no output. + +For more information, see `Deleting an AWS Managed Microsoft AD user `__ in the *AWS Directory Service Administration Guide*. diff --git a/awscli/examples/ds-data/describe-group.rst b/awscli/examples/ds-data/describe-group.rst new file mode 100644 index 000000000000..ef8b227a6864 --- /dev/null +++ b/awscli/examples/ds-data/describe-group.rst @@ -0,0 +1,21 @@ +**To list details of a group** + +The following ``describe-group`` example gets information for the specified group in the specified directory. :: + + aws ds-data describe-group \ + --directory-id d-1234567890 \ + --sam-account-name 'sales' + +Output:: + + { + "DirectoryId": "d-1234567890", + "DistinguishedName": "CN=sales,OU=Users,OU=CORP,DC=corp,DC=example,DC=com", + "GroupScope": "Global", + "GroupType": "Security", + "Realm": "corp.example.com", + "SAMAccountName": "sales", + "SID": "S-1-2-34-5567891234-5678912345-67891234567-8912" + } + +For more information, see `Viewing and updating an AWS Managed Microsoft AD group's details `__ in the *AWS Directory Service Administration Guide*. diff --git a/awscli/examples/ds-data/describe-user.rst b/awscli/examples/ds-data/describe-user.rst new file mode 100644 index 000000000000..1ea210ad962c --- /dev/null +++ b/awscli/examples/ds-data/describe-user.rst @@ -0,0 +1,21 @@ +**To list information for a user** + +The following ``describe-user`` example gets information for the specified user in the specified directory. :: + + aws ds-data describe-user command-name \ + --directory-id d-1234567890 \ + --sam-account-name 'john.doe' + +Output:: + + { + "DirectoryId": "d-1234567890", + "DistinguishedName": "CN=john.doe,OU=Users,OU=CORP,DC=corp,DC=example,DC=com", + "Enabled": false, + "Realm": "corp.example.com", + "SAMAccountName": "john.doe", + "SID": "S-1-2-34-5678901234-5678901234-5678910123-4567", + "UserPrincipalName": "john.doe@CORP.EXAMPLE.COM" + } + +For more information, see `Viewing and updating an AWS Managed Microsoft AD user `__ in the *AWS Directory Service Administration Guide*. diff --git a/awscli/examples/ds-data/disable-directory-data-access.rst b/awscli/examples/ds-data/disable-directory-data-access.rst new file mode 100644 index 000000000000..e02e870b7ab3 --- /dev/null +++ b/awscli/examples/ds-data/disable-directory-data-access.rst @@ -0,0 +1,10 @@ +**To disable Directory Service Data API for a directory** + +The following ``disable-directory-data-access`` example disables the Directory Service Data API for the specified directory. :: + + aws ds disable-directory-data-access \ + --directory-id d-1234567890 + +This command produces no output. + +For more information, see `Enabling or disabling user and group management or AWS Directory Service Data `__ in the *AWS Directory Service Administration Guide*. diff --git a/awscli/examples/ds-data/disable-user.rst b/awscli/examples/ds-data/disable-user.rst new file mode 100644 index 000000000000..fc71978b8583 --- /dev/null +++ b/awscli/examples/ds-data/disable-user.rst @@ -0,0 +1,11 @@ +**To disable a user** + +The following ``disable-user`` example disables the specified user in the specified directory. :: + + aws ds-data disable-user \ + --directory-id d-1234567890 \ + --sam-account-name 'john.doe' + +This command produces no output. + +For more information, see `Disabling an AWS Managed Microsoft AD user `__ in the *AWS Directory Service Administration Guide*. diff --git a/awscli/examples/ds-data/enable-directory-data-access.rst b/awscli/examples/ds-data/enable-directory-data-access.rst new file mode 100644 index 000000000000..2be21265a81a --- /dev/null +++ b/awscli/examples/ds-data/enable-directory-data-access.rst @@ -0,0 +1,10 @@ +**To enable Directory Service Data API for a directory** + +The following ``enable-directory-data-access`` example enables the Directory Service Data API for the specified directory. :: + + aws ds enable-directory-data-access \ + --directory-id d-1234567890 + +This command produces no output. + +For more information, see `Enabling or disabling user and group management or AWS Directory Service Data `__ in the *AWS Directory Service Administration Guide*. diff --git a/awscli/examples/ds-data/list-group-members.rst b/awscli/examples/ds-data/list-group-members.rst new file mode 100644 index 000000000000..157d632a6533 --- /dev/null +++ b/awscli/examples/ds-data/list-group-members.rst @@ -0,0 +1,29 @@ +**To list a directory's group members** + +The following ``list-group-members`` example lists the group members for the specified group in the specified directory. :: + + aws ds-data list-group-members \ + --directory-id d-1234567890 \ + --sam-account-name 'sales' + +Output:: + + { + "Members": [ + { + "MemberType": "USER", + "SAMAccountName": "Jane Doe", + "SID": "S-1-2-34-5678901234-5678901234-5678910123-4568" + }, + { + "MemberType": "USER", + "SAMAccountName": "John Doe", + "SID": "S-1-2-34-5678901234-5678901234-5678910123-4569" + } + ], + "DirectoryId": "d-1234567890", + "MemberRealm": "corp.example.com", + "Realm": "corp.example.com" + } + +For more information, see `Viewing and updating an AWS Managed Microsoft AD group's details `__ in the *AWS Directory Service Administration Guide*. diff --git a/awscli/examples/ds-data/list-groups-for-member.rst b/awscli/examples/ds-data/list-groups-for-member.rst new file mode 100644 index 000000000000..1ac8a8746fc2 --- /dev/null +++ b/awscli/examples/ds-data/list-groups-for-member.rst @@ -0,0 +1,25 @@ +**To list a directory's group membership** + +The following ``list-groups-for-member`` example lists group membership for the specified user in the specified directory. :: + + aws ds-data list-groups-for-member \ + --directory-id d-1234567890 \ + --sam-account-name 'john.doe' + +Output:: + + { + "Groups": [ + { + "GroupScope": "Global", + "GroupType": "Security", + "SAMAccountName": "Domain Users", + "SID": "S-1-2-34-5678901234-5678901234-5678910123-4567" + } + ], + "DirectoryId": "d-1234567890", + "MemberRealm": "corp.example.com", + "Realm": "corp.example.com" + } + +For more information, see `Viewing and updating an AWS Managed Microsoft AD user `__ in the *AWS Directory Service Administration Guide*. diff --git a/awscli/examples/ds-data/list-groups.rst b/awscli/examples/ds-data/list-groups.rst new file mode 100644 index 000000000000..d01ce5f2b981 --- /dev/null +++ b/awscli/examples/ds-data/list-groups.rst @@ -0,0 +1,503 @@ +**To list a directory's groups** + +The following ``list-groups`` example lists groups in the specified directory. :: + + aws ds-data list-groups \ + --directory-id d-1234567890 + +Output:: + + { + "Groups": [ + { + "GroupScope": "BuiltinLocal", + "GroupType": "Security", + "SAMAccountName": "Administrators", + "SID": "S-1-2-33-441" + }, + { + "GroupScope": "BuiltinLocal", + "GroupType": "Security", + "SAMAccountName": "Users", + "SID": "S-1-2-33-442" + }, + { + "GroupScope": "BuiltinLocal", + "GroupType": "Security", + "SAMAccountName": "Guests", + "SID": "S-1-2-33-443" + }, + { + "GroupScope": "BuiltinLocal", + "GroupType": "Security", + "SAMAccountName": "Print Operators", + "SID": "S-1-2-33-444" + }, + { + "GroupScope": "BuiltinLocal", + "GroupType": "Security", + "SAMAccountName": "Backup Operators", + "SID": "S-1-2-33-445" + }, + { + "GroupScope": "BuiltinLocal", + "GroupType": "Security", + "SAMAccountName": "Replicator", + "SID": "S-1-2-33-446" + }, + { + "GroupScope": "BuiltinLocal", + "GroupType": "Security", + "SAMAccountName": "Remote Desktop Users", + "SID": "S-1-2-33-447" + }, + { + "GroupScope": "BuiltinLocal", + "GroupType": "Security", + "SAMAccountName": "Network Configuration Operators", + "SID": "S-1-2-33-448" + }, + { + "GroupScope": "BuiltinLocal", + "GroupType": "Security", + "SAMAccountName": "Performance Monitor Users", + "SID": "S-1-2-33-449" + }, + { + "GroupScope": "BuiltinLocal", + "GroupType": "Security", + "SAMAccountName": "Performance Log Users", + "SID": "S-1-2-33-450" + }, + { + "GroupScope": "BuiltinLocal", + "GroupType": "Security", + "SAMAccountName": "Distributed COM Users", + "SID": "S-1-2-33-451" + }, + { + "GroupScope": "BuiltinLocal", + "GroupType": "Security", + "SAMAccountName": "IIS_IUSRS", + "SID": "S-1-2-33-452" + }, + { + "GroupScope": "BuiltinLocal", + "GroupType": "Security", + "SAMAccountName": "Cryptographic Operators", + "SID": "S-1-2-33-453" + }, + { + "GroupScope": "BuiltinLocal", + "GroupType": "Security", + "SAMAccountName": "Event Log Readers", + "SID": "S-1-2-33-454" + }, + { + "GroupScope": "BuiltinLocal", + "GroupType": "Security", + "SAMAccountName": "Certificate Service DCOM Access", + "SID": "S-1-2-33-456" + }, + { + "GroupScope": "BuiltinLocal", + "GroupType": "Security", + "SAMAccountName": "RDS Remote Access Servers", + "SID": "S-1-2-33-457" + }, + { + "GroupScope": "BuiltinLocal", + "GroupType": "Security", + "SAMAccountName": "RDS Endpoint Servers", + "SID": "S-1-2-33-458" + }, + { + "GroupScope": "BuiltinLocal", + "GroupType": "Security", + "SAMAccountName": "RDS Management Servers", + "SID": "S-1-2-33-459" + }, + { + "GroupScope": "BuiltinLocal", + "GroupType": "Security", + "SAMAccountName": "Hyper-V Administrators", + "SID": "S-1-2-33-460" + }, + { + "GroupScope": "BuiltinLocal", + "GroupType": "Security", + "SAMAccountName": "Access Control Assistance Operators", + "SID": "S-1-2-33-461" + }, + { + "GroupScope": "BuiltinLocal", + "GroupType": "Security", + "SAMAccountName": "Remote Management Users", + "SID": "S-1-2-33-462" + }, + { + "GroupScope": "BuiltinLocal", + "GroupType": "Security", + "SAMAccountName": "Storage Replica Administrators", + "SID": "S-1-2-33-463" + }, + { + "GroupScope": "Global", + "GroupType": "Security", + "SAMAccountName": "Domain Computers", + "SID": "S-1-2-34-56789123456-7891012345-6789123486-789" + }, + { + "GroupScope": "Global", + "GroupType": "Security", + "SAMAccountName": "Domain Controllers", + "SID": "S-1-2-34-56789123456-7891012345-6789123486-790" + }, + { + "GroupScope": "Universal", + "GroupType": "Security", + "SAMAccountName": "Schema Admins", + "SID": "S-1-2-34-56789123456-7891012345-6789123486-791" + }, + { + "GroupScope": "Universal", + "GroupType": "Security", + "SAMAccountName": "Enterprise Admins", + "SID": "S-1-2-34-56789123456-7891012345-6789123486-792" + }, + { + "GroupScope": "DomainLocal", + "GroupType": "Security", + "SAMAccountName": "Cert Publishers", + "SID": "S-1-2-34-56789123456-7891012345-6789123486-793" + }, + { + "GroupScope": "Global", + "GroupType": "Security", + "SAMAccountName": "Domain Admins", + "SID": "S-1-2-34-56789123456-7891012345-6789123486-794" + }, + { + "GroupScope": "Global", + "GroupType": "Security", + "SAMAccountName": "Domain Users", + "SID": "S-1-2-34-56789123456-7891012345-6789123486-795" + }, + { + "GroupScope": "Global", + "GroupType": "Security", + "SAMAccountName": "Domain Guests", + "SID": "S-1-2-34-56789123456-7891012345-6789123486-796" + }, + { + "GroupScope": "Global", + "GroupType": "Security", + "SAMAccountName": "Group Policy Creator Owners", + "SID": "S-1-2-34-56789123456-7891012345-6789123486-797" + }, + { + "GroupScope": "DomainLocal", + "GroupType": "Security", + "SAMAccountName": "RAS and IAS Servers", + "SID": "S-1-2-34-56789123456-7891012345-6789123486-798" + }, + { + "GroupScope": "BuiltinLocal", + "GroupType": "Security", + "SAMAccountName": "Server Operators", + "SID": "S-1-2-33-464" + }, + { + "GroupScope": "BuiltinLocal", + "GroupType": "Security", + "SAMAccountName": "Account Operators", + "SID": "S-1-2-33-465" + }, + { + "GroupScope": "BuiltinLocal", + "GroupType": "Security", + "SAMAccountName": "Pre-Windows 2000 Compatible Access", + "SID": "S-1-2-33-466" + }, + { + "GroupScope": "BuiltinLocal", + "GroupType": "Security", + "SAMAccountName": "Incoming Forest Trust Builders", + "SID": "S-1-2-33-467" + }, + { + "GroupScope": "BuiltinLocal", + "GroupType": "Security", + "SAMAccountName": "Windows Authorization Access Group", + "SID": "S-1-2-33-468" + }, + { + "GroupScope": "BuiltinLocal", + "GroupType": "Security", + "SAMAccountName": "Terminal Server License Servers", + "SID": "S-1-2-33-469" + }, + { + "GroupScope": "DomainLocal", + "GroupType": "Security", + "SAMAccountName": "Allowed RODC Password Replication Group", + "SID": "S-1-2-34-56789123456-7891012345-6789123486-798" + }, + { + "GroupScope": "DomainLocal", + "GroupType": "Security", + "SAMAccountName": "Denied RODC Password Replication Group", + "SID": "S-1-2-34-56789123456-7891012345-6789123486-799" + }, + { + "GroupScope": "Global", + "GroupType": "Security", + "SAMAccountName": "Read-only Domain Controllers", + "SID": "S-1-2-34-56789123456-7891012345-6789123486-800" + }, + { + "GroupScope": "Universal", + "GroupType": "Security", + "SAMAccountName": "Enterprise Read-only Domain Controllers", + "SID": "S-1-2-34-56789123456-7891012345-6789123486-801" + }, + { + "GroupScope": "Global", + "GroupType": "Security", + "SAMAccountName": "Cloneable Domain Controllers", + "SID": "S-1-2-34-56789123456-7891012345-6789123486-802" + }, + { + "GroupScope": "Global", + "GroupType": "Security", + "SAMAccountName": "Protected Users", + "SID": "S-1-2-34-56789123456-7891012345-6789123486-803" + }, + { + "GroupScope": "Global", + "GroupType": "Security", + "SAMAccountName": "Key Admins", + "SID": "S-1-2-34-56789123456-7891012345-6789123486-804" + }, + { + "GroupScope": "Universal", + "GroupType": "Security", + "SAMAccountName": "Enterprise Key Admins", + "SID": "S-1-2-34-56789123456-7891012345-6789123486-805" + }, + { + "GroupScope": "DomainLocal", + "GroupType": "Security", + "SAMAccountName": "DnsAdmins", + "SID": "S-1-2-34-5678901234-5678901234-5678910123-4567" + }, + { + "GroupScope": "Global", + "GroupType": "Security", + "SAMAccountName": "DnsUpdateProxy", + "SID": "S-1-2-34-5678901234-5678901234-5678910123-4568" + }, + { + "GroupScope": "DomainLocal", + "GroupType": "Security", + "SAMAccountName": "Admins", + "SID": "S-1-2-34-5678901234-5678901234-5678910123-4569" + }, + { + "GroupScope": "DomainLocal", + "GroupType": "Security", + "SAMAccountName": "AWSAdministrators", + "SID": "S-1-2-34-5678901234-5678901234-5678910123-4570" + }, + { + "GroupScope": "DomainLocal", + "GroupType": "Security", + "SAMAccountName": "AWS Object Management Service Accounts", + "SID": "S-1-2-34-5678901234-5678901234-5678910123-4571" + }, + { + "GroupScope": "DomainLocal", + "GroupType": "Security", + "SAMAccountName": "AWS Private CA Connector for AD Delegated Group", + "SID": "S-1-2-34-5678901234-5678901234-5678910123-4572" + }, + { + "GroupScope": "DomainLocal", + "GroupType": "Security", + "SAMAccountName": "AWS Application and Service Delegated Group", + "SID": "S-1-2-34-5678901234-5678901234-5678910123-4573" + }, + { + "GroupScope": "DomainLocal", + "GroupType": "Security", + "SAMAccountName": "AWS Delegated Administrators", + "SID": "S-1-2-34-5678901234-5678901234-5678910123-4574" + }, + { + "GroupScope": "DomainLocal", + "GroupType": "Security", + "SAMAccountName": "AWS Delegated FSx Administrators", + "SID": "S-1-2-34-5678901234-5678901234-5678910123-4575" + }, + { + "GroupScope": "DomainLocal", + "GroupType": "Security", + "SAMAccountName": "AWS Delegated Account Operators", + "SID": "S-1-2-34-5678901234-5678901234-5678910123-4576" + }, + { + "GroupScope": "DomainLocal", + "GroupType": "Security", + "SAMAccountName": "AWS Delegated Active Directory Based Activation Administrators", + "SID": "S-1-2-34-5678901234-5678901234-5678910123-4577" + }, + { + "GroupScope": "DomainLocal", + "GroupType": "Security", + "SAMAccountName": "AWS Delegated Allowed to Authenticate Objects", + "SID": "S-1-2-34-5678901234-5678901234-5678910123-4578" + }, + { + "GroupScope": "DomainLocal", + "GroupType": "Security", + "SAMAccountName": "AWS Delegated Allowed to Authenticate to Domain Controllers", + "SID": "S-1-2-34-5678901234-5678901234-5678910123-4579" + }, + { + "GroupScope": "DomainLocal", + "GroupType": "Security", + "SAMAccountName": "AWS Delegated Deleted Object Lifetime Administrators", + "SID": "S-1-2-34-5678901234-5678901234-5678910123-4580" + }, + { + "GroupScope": "DomainLocal", + "GroupType": "Security", + "SAMAccountName": "AWS Delegated Distributed File System Administrators", + "SID": "S-1-2-34-5678901234-5678901234-5678910123-4581" + }, + { + "GroupScope": "DomainLocal", + "GroupType": "Security", + "SAMAccountName": "AWS Delegated Dynamic Host Configuration Protocol Administrators", + "SID": "S-1-2-34-5678901234-5678901234-5678910123-4582" + }, + { + "GroupScope": "DomainLocal", + "GroupType": "Security", + "SAMAccountName": "AWS Delegated Enterprise Certificate Authority Administrators", + "SID": "S-1-2-34-5678901234-5678901234-5678910123-4583" + }, + { + "GroupScope": "DomainLocal", + "GroupType": "Security", + "SAMAccountName": "AWS Delegated Fine Grained Password Policy Administrators", + "SID": "S-1-2-34-5678901234-5678901234-5678910123-4584" + }, + { + "GroupScope": "DomainLocal", + "GroupType": "Security", + "SAMAccountName": "AWS Delegated Group Policy Administrators", + "SID": "S-1-2-34-5678901234-5678901234-5678910123-4585" + }, + { + "GroupScope": "DomainLocal", + "GroupType": "Security", + "SAMAccountName": "AWS Delegated Managed Service Account Administrators", + "SID": "S-1-2-34-5678901234-5678901234-5678910123-4586" + }, + { + "GroupScope": "DomainLocal", + "GroupType": "Security", + "SAMAccountName": "AWS Delegated Read Foreign Security Principals", + "SID": "S-1-2-34-5678901234-5678901234-5678910123-4587" + }, + { + "GroupScope": "DomainLocal", + "GroupType": "Security", + "SAMAccountName": "AWS Delegated Remote Access Service Administrators", + "SID": "S-1-2-34-5678901234-5678901234-5678910123-4588" + }, + { + "GroupScope": "DomainLocal", + "GroupType": "Security", + "SAMAccountName": "AWS Delegated Replicate Directory Changes Administrators", + "SID": "S-1-2-34-5678901234-5678901234-5678910123-4588" + }, + { + "GroupScope": "DomainLocal", + "GroupType": "Security", + "SAMAccountName": "AWS Delegated Sites and Services Administrators", + "SID": "S-1-2-34-5678901234-5678901234-5678910123-4589" + }, + { + "GroupScope": "DomainLocal", + "GroupType": "Security", + "SAMAccountName": "AWS Delegated System Management Administrators", + "SID": "S-1-2-34-5678901234-5678901234-5678910123-4590" + }, + { + "GroupScope": "DomainLocal", + "GroupType": "Security", + "SAMAccountName": "AWS Delegated Terminal Server Licensing Administrators", + "SID": "S-1-2-34-5678901234-5678901234-5678910123-4591" + }, + { + "GroupScope": "DomainLocal", + "GroupType": "Security", + "SAMAccountName": "AWS Delegated User Principal Name Suffix Administrators", + "SID": "S-1-2-34-5678901234-5678901234-5678910123-4592" + }, + { + "GroupScope": "DomainLocal", + "GroupType": "Security", + "SAMAccountName": "AWS Delegated Add Workstations To Domain Users", + "SID": "S-1-2-34-5678901234-5678901234-5678910123-4593" + }, + { + "GroupScope": "DomainLocal", + "GroupType": "Security", + "SAMAccountName": "AWS Delegated Domain Name System Administrators", + "SID": "S-1-2-34-5678901234-5678901234-5678910123-4594" + }, + { + "GroupScope": "DomainLocal", + "GroupType": "Security", + "SAMAccountName": "AWS Delegated Kerberos Delegation Administrators", + "SID": "S-1-2-34-5678901234-5678901234-5678910123-4595" + }, + { + "GroupScope": "DomainLocal", + "GroupType": "Security", + "SAMAccountName": "AWS Delegated Server Administrators", + "SID": "S-1-2-34-5678901234-5678901234-5678910123-4596" + }, + { + "GroupScope": "DomainLocal", + "GroupType": "Security", + "SAMAccountName": "AWS Delegated MS-NPRC Non-Compliant Devices", + "SID": "S-1-2-34-5678901234-5678901234-5678910123-4597" + }, + { + "GroupScope": "Global", + "GroupType": "Security", + "SAMAccountName": "Remote Access", + "SID": "S-1-2-34-5678901234-5678901234-5678910123-4598" + }, + { + "GroupScope": "Global", + "GroupType": "Security", + "SAMAccountName": "Accounting", + "SID": "S-1-2-34-5678901234-5678901234-5678910123-4599" + }, + { + "GroupScope": "Global", + "GroupType": "Distribution", + "SAMAccountName": "sales", + "SID": "S-1-2-34-5678901234-5678901234-5678910123-4567" + } + ], + "DirectoryId": "d-1234567890", + "Realm": "corp.example.com" + } + +For more information, see `Viewing and updating an AWS Managed Microsoft AD group's details `__ in the *AWS Directory Service Administration Guide*. diff --git a/awscli/examples/ds-data/list-users.rst b/awscli/examples/ds-data/list-users.rst new file mode 100644 index 000000000000..6b3a43792c82 --- /dev/null +++ b/awscli/examples/ds-data/list-users.rst @@ -0,0 +1,57 @@ +**To list a directory's users** + +The following ``list-users`` example lists users in the specified directory. :: + + aws ds-data list-users \ + --directory-id d-1234567890 + +Output:: + + { + "Users": [ + { + "Enabled": true, + "SAMAccountName": "Administrator", + "SID": "S-1-2-34-5678910123-4567895012-3456789012-345" + }, + { + "Enabled": false, + "SAMAccountName": "Guest", + "SID": "S-1-2-34-5678910123-4567895012-3456789012-345" + }, + { + "Enabled": false, + "SAMAccountName": "krbtgt", + "SID": "S-1-2-34-5678910123-4567895012-3456789012-346" + }, + { + "Enabled": true, + "SAMAccountName": "Admin", + "SID": "S-1-2-34-5678910123-4567895012-3456789012-347" + }, + { + "Enabled": true, + "SAMAccountName": "Richard Roe", + "SID": "S-1-2-34-5678910123-4567895012-3456789012-348" + }, + { + "Enabled": true, + "SAMAccountName": "Jane Doe", + "SID": "S-1-2-34-5678910123-4567895012-3456789012-349" + }, + { + "Enabled": true, + "SAMAccountName": "AWS_WGnzYlN6YyY", + "SID": "S-1-2-34-5678901234-5678901234-5678910123-4567" + }, + { + "Enabled": true, + "SAMAccountName": "john.doe", + "SID": "S-1-2-34-5678901234-5678901234-5678910123-4568" + } + ], + "DirectoryId": "d-1234567890", + "Realm": "corp.example.com" + } + +For more information, see `Viewing and updating an AWS Managed Microsoft AD user `__ in the *AWS Directory Service Administration Guide*. diff --git a/awscli/examples/ds-data/remove-group-member.rst b/awscli/examples/ds-data/remove-group-member.rst new file mode 100644 index 000000000000..a44c8313c693 --- /dev/null +++ b/awscli/examples/ds-data/remove-group-member.rst @@ -0,0 +1,12 @@ +**To remove a group member from a directory** + +The following ``remove-group-member`` example removes the specified group member from the specified group in the specified directory. :: + + aws ds-data remove-group-member \ + --directory-id d-1234567890 \ + --group-name 'sales' \ + --member-name 'john.doe' + +This command produces no output. + +For more information, see `Adding and removing AWS Managed Microsoft AD members to groups and groups to groups `__ in the *AWS Directory Service Administration Guide*. diff --git a/awscli/examples/ds-data/reset-user-password.rst b/awscli/examples/ds-data/reset-user-password.rst new file mode 100644 index 000000000000..524985116969 --- /dev/null +++ b/awscli/examples/ds-data/reset-user-password.rst @@ -0,0 +1,12 @@ +**To reset a user password in a directory** + +The following ``reset-user-password`` example resets and enables the specified user in the specified directory. :: + + aws ds reset-user-password \ + --directory-id d-1234567890 \ + --user-name 'john.doe' \ + --new-password 'password' + +This command produces no output. + +For more information, see `Resetting and enabling an AWS Managed Microsoft AD user's password `__ in the *AWS Directory Service Administration Guide*. diff --git a/awscli/examples/ds-data/search-groups.rst b/awscli/examples/ds-data/search-groups.rst new file mode 100644 index 000000000000..dc8fb354d55b --- /dev/null +++ b/awscli/examples/ds-data/search-groups.rst @@ -0,0 +1,25 @@ +**To search for a group in a directory** + +The following ``search-groups`` example searches for the specified group in the specified directory. :: + + aws ds-data search-groups \ + --directory-id d-1234567890 \ + --search-attributes 'SamAccountName' \ + --search-string 'sales' + +Output:: + + { + "Groups": [ + { + "GroupScope": "Global", + "GroupType": "Distribution", + "SAMAccountName": "sales", + "SID": "S-1-2-34-5678901234-5678901234-5678910123-4567" + } + ], + "DirectoryId": "d-1234567890", + "Realm": "corp.example.com" + } + +For more information, see `Viewing and updating an AWS Managed Microsoft AD group's details `__ in the *AWS Directory Service Administration Guide*. diff --git a/awscli/examples/ds-data/search-users.rst b/awscli/examples/ds-data/search-users.rst new file mode 100644 index 000000000000..091b99e7a423 --- /dev/null +++ b/awscli/examples/ds-data/search-users.rst @@ -0,0 +1,24 @@ +**To search for a user in a directory** + +The following ``search-users`` example searches for the specified user in the specified directory. :: + + aws ds-data search-users \ + --directory-id d-1234567890 \ + --search-attributes 'SamAccountName' \ + --Search-string 'john.doe' + +Output:: + + { + "Users": [ + { + "Enabled": true, + "SAMAccountName": "john.doe", + "SID": "S-1-2-34-5678901234-5678901234-5678910123-4567" + } + ], + "DirectoryId": "d-1234567890", + "Realm": "corp.example.com" + } + +For more information, see `Viewing and updating an AWS Managed Microsoft AD user `__ in the *AWS Directory Service Administration Guide*. diff --git a/awscli/examples/ds-data/update-group.rst b/awscli/examples/ds-data/update-group.rst new file mode 100644 index 000000000000..e4198aa3e2de --- /dev/null +++ b/awscli/examples/ds-data/update-group.rst @@ -0,0 +1,13 @@ +**To update a group's attribute in a directory** + +The following ``update-group`` example updates the specified attribute for the specified group in the specified directory. :: + + aws ds-data update-group \ + --directory-id d-1234567890 \ + --sam-account-name 'sales' \ + --update-type 'REPLACE' \ + --group-type 'Distribution' + +This command produces no output. + +For more information, see `Viewing and updating an AWS Managed Microsoft AD group's details `__ in the *AWS Directory Service Administration Guide*. diff --git a/awscli/examples/ds-data/update-user.rst b/awscli/examples/ds-data/update-user.rst new file mode 100644 index 000000000000..08f82ae3d838 --- /dev/null +++ b/awscli/examples/ds-data/update-user.rst @@ -0,0 +1,13 @@ +**To update a user's attribute in a directory** + +The following ``update-user`` example updates the specified attribute for the specified user in the specified directory. :: + + aws ds-data update-user \ + --directory-id d-1234567890 \ + --sam-account-name 'john.doe' \ + --update-type 'ADD' \ + --email-address 'example.corp.com' + +This command produces no output. + +For more information, see `Viewing and updating an AWS Managed Microsoft AD user `__ in the *AWS Directory Service Administration Guide*. diff --git a/awscli/examples/ecr-public/get-registry-catalog-data.rst b/awscli/examples/ecr-public/get-registry-catalog-data.rst new file mode 100644 index 000000000000..e293089a41af --- /dev/null +++ b/awscli/examples/ecr-public/get-registry-catalog-data.rst @@ -0,0 +1,14 @@ +**To retrieve catalog metadata for a public ECR registry** + +The following ``get-registry-catalog-data`` retrieves catalog metadata for an ECR public registry. :: + + aws ecr-public get-registry-catalog-data \ + --region us-east-1 + +Output:: + + { + "registryCatalogData": { + "displayName": "YourCustomPublicRepositoryalias" + } + } diff --git a/awscli/examples/ecr-public/get-repository-catalog-data.rst b/awscli/examples/ecr-public/get-repository-catalog-data.rst new file mode 100644 index 000000000000..b3db31e94692 --- /dev/null +++ b/awscli/examples/ecr-public/get-repository-catalog-data.rst @@ -0,0 +1,29 @@ +**To retrieve catalog metadata for a repository in a public registry** + +The following ``get-repository-catalog-data`` example lists the catalog metadata for the repository ``project-a/nginx-web-app`` in a public registry. :: + + aws ecr-public get-repository-catalog-data \ + --repository-name project-a/nginx-web-app \ + --region us-east-1 + +Output:: + + { + "catalogData": { + "description": "My project-a ECR Public Repository", + "architectures": [ + "ARM", + "ARM 64", + "x86", + "x86-64" + ], + "operatingSystems": [ + "Linux" + ], + "logoUrl": "https://d3g9o9u8re44ak.cloudfront.net/logo/491d3846-8f33-4d8b-a10c-c2ce271e6c0d/4f09d87c-2569-4916-a932-5c296bf6f88a.png", + "aboutText": "## Quick reference\n\nMaintained ", + "usageText": "## Supported architectures\n\namd64, arm64v8\n\n## " + } + } + +For more information, see `Repository catalog data `__ in the *Amazon ECR Public*. \ No newline at end of file diff --git a/awscli/examples/ecr-public/list-tags-for-resource.rst b/awscli/examples/ecr-public/list-tags-for-resource.rst new file mode 100644 index 000000000000..fd700be2205f --- /dev/null +++ b/awscli/examples/ecr-public/list-tags-for-resource.rst @@ -0,0 +1,28 @@ +**To list tags for a public repository in a public registry** + +The following ``list-tags-for-resource`` example lists the tags for a resource named ``project-a/nginx-web-app`` in a public registry. :: + + aws ecr-public list-tags-for-resource \ + --resource-arn arn:aws:ecr-public::123456789012:repository/project-a/nginx-web-app \ + --region us-east-1 + +Output:: + + { + "tags": [ + { + "Key": "Environment", + "Value": "Prod" + }, + { + "Key": "stack", + "Value": "dev1" + }, + { + "Key": "Name", + "Value": "project-a/nginx-web-app" + } + ] + } + +For more information, see `List tags for a public repository `__ in the *Amazon ECR Public*. diff --git a/awscli/examples/ecr-public/put-registry-catalog-data.rst b/awscli/examples/ecr-public/put-registry-catalog-data.rst new file mode 100644 index 000000000000..d9f4fb8d2c30 --- /dev/null +++ b/awscli/examples/ecr-public/put-registry-catalog-data.rst @@ -0,0 +1,15 @@ +**To create or update catalog metadata for a public ECR registry** + +The following ``put-registry-catalog-data`` creates or updates catalog metadata for an ECR public registry. (Only accounts that have the verified account badge can have a registry display name. :: + + aws ecr-public put-registry-catalog-data \ + --region us-east-1 \ + --display-name + +Output:: + + { + "registryCatalogData": { + "displayName": "YourCustomPublicRepositoryalias" + } + } diff --git a/awscli/examples/ecr-public/put-repository-catalog-data.rst b/awscli/examples/ecr-public/put-repository-catalog-data.rst index 9be052cdd6ec..678b9fd87c1a 100644 --- a/awscli/examples/ecr-public/put-repository-catalog-data.rst +++ b/awscli/examples/ecr-public/put-repository-catalog-data.rst @@ -1,4 +1,4 @@ -**Example 1: To creates or updates the catalog data for a repository in a public registry.** +**To create or update the catalog data for a repository in a public registry** The following ``put-repository-catalog-data`` example creates or update catalog data for reposiotry named `project-a/nginx-web-app` in a public registry, along with logoImageBlob, aboutText, usageText and tags information. :: @@ -10,6 +10,7 @@ The following ``put-repository-catalog-data`` example creates or update catalog Contents of ``repository-catalog-data.json``:: { + "repositoryName": "project-a/nginx-web-app", "catalogData": { "description": "My project-a ECR Public Repository", "architectures": [ @@ -21,9 +22,9 @@ Contents of ``repository-catalog-data.json``:: "operatingSystems": [ "Linux" ], - "logoImageBlob": "iVBORw0KGgoAAAANSUhEUgAAAYYAAAGGCAMAAABIXtbXAAAAq1BMVEVHcEz// ", + "logoImageBlob": "iVBORw0KGgoA<>ErkJggg==", "aboutText": "## Quick reference.", - "usageText": "## Supported architectures are as follows" + "usageText": "## Supported architectures are as follows." } } @@ -41,7 +42,7 @@ Output:: "operatingSystems": [ "Linux" ], - "logoUrl": "https://d3g9o9u8re44ak.cloudfront.net/logo/491d3846-8f33-4d8b-a10c-c2ce271e6c0d/4f09d87c-2569-4916-a932-5c296bf6f88a.png", + "logoUrl": "https://d3g9o9u8re44ak.cloudfront.net/logo/df86cf58-ee60-4061-b804-0be24d97ccb1/4a9ed9b2-69e4-4ede-b924-461462d20ef0.png", "aboutText": "## Quick reference.", "usageText": "## Supported architectures are as follows." } diff --git a/awscli/examples/ecr-public/tag-resource.rst b/awscli/examples/ecr-public/tag-resource.rst new file mode 100644 index 000000000000..1d070887329b --- /dev/null +++ b/awscli/examples/ecr-public/tag-resource.rst @@ -0,0 +1,21 @@ +**Example 1: To tags an existing public repository in a public registry** + +The following ``tag-resource`` example tags a repository named ``project-a/nginx-web-app`` in a public registry. :: + + aws ecr-public tag-resource \ + --resource-arn arn:aws:ecr-public::123456789012:repository/project-a/nginx-web-app \ + --tags Key=stack,Value=dev \ + --region us-east-1 + +For more information, see `Using Tags for a public repository `__ in the *Amazon ECR Public*. + +**Example 2: To tag an existing public repository with multiple tags in a public registry.** + +The following ``tag-resource`` example tags an existing repository with multiple tags. :: + + aws ecr-public tag-resource \ + --resource-arn arn:aws:ecr-public::890517186334:repository/project-a/nginx-web-app \ + --tags Key=key1,Value=value1 Key=key2,Value=value2 Key=key3,Value=value3 \ + --region us-east-1 + +For more information, see `Using Tags for a public repository `__ in the *Amazon ECR Public*. diff --git a/awscli/examples/ecr-public/untag-resource.rst b/awscli/examples/ecr-public/untag-resource.rst new file mode 100644 index 000000000000..4ff4445b5494 --- /dev/null +++ b/awscli/examples/ecr-public/untag-resource.rst @@ -0,0 +1,12 @@ +**Example 1: To untags an existing public repository in a public registry** + +The following ``untag-resource`` example tags a repository named ``project-a/nginx-web-app`` in a public registry. :: + + aws ecr-public untag-resource \ + --resource-arn arn:aws:ecr-public::123456789012:repository/project-a/nginx-web-app \ + --tag-keys stack \ + --region us-east-1 + +This command produces no output. + +For more information, see `Using Tags for a public repository `__ in the *Amazon ECR Public*. From 2f325c84cbcf3c08a1c8b515b38317f885bd842f Mon Sep 17 00:00:00 2001 From: David Souther Date: Wed, 22 Jan 2025 11:44:56 -0500 Subject: [PATCH 0416/1087] Replaced /CodeDeployDemoBucket/ with amzn-s3-demo-bucket (#9227) --- awscli/examples/deploy/batch-get-deployments.rst | 4 ++-- awscli/examples/deploy/create-deployment.rst | 2 +- awscli/examples/deploy/get-application-revision.rst | 4 ++-- awscli/examples/deploy/get-deployment.rst | 2 +- awscli/examples/deploy/list-application-revisions.rst | 6 +++--- awscli/examples/deploy/push.rst | 4 ++-- awscli/examples/deploy/register-application-revision.rst | 2 +- 7 files changed, 12 insertions(+), 12 deletions(-) diff --git a/awscli/examples/deploy/batch-get-deployments.rst b/awscli/examples/deploy/batch-get-deployments.rst index 0e2d8fb810db..3f4c8bdebe64 100755 --- a/awscli/examples/deploy/batch-get-deployments.rst +++ b/awscli/examples/deploy/batch-get-deployments.rst @@ -26,7 +26,7 @@ Output:: "s3Location": { "bundleType": "zip", "version": "uTecLusEXAMPLEFXtfUcyfV8bEXAMPLE", - "bucket": "CodeDeployDemoBucket", + "bucket": "amzn-s3-demo-bucket", "key": "WordPressApp.zip" } }, @@ -56,7 +56,7 @@ Output:: "s3Location": { "bundleType": "zip", "eTag": "\"dd56cfdEXAMPLE8e768f9d77fEXAMPLE\"", - "bucket": "CodeDeployDemoBucket", + "bucket": "amzn-s3-demo-bucket", "key": "MyOtherApp.zip" } }, diff --git a/awscli/examples/deploy/create-deployment.rst b/awscli/examples/deploy/create-deployment.rst index 39cfad4f8a96..d016e64f9dfd 100755 --- a/awscli/examples/deploy/create-deployment.rst +++ b/awscli/examples/deploy/create-deployment.rst @@ -7,7 +7,7 @@ The following ``create-deployment`` example creates a deployment and associates --deployment-config-name CodeDeployDefault.OneAtATime \ --deployment-group-name WordPress_DG \ --description "My demo deployment" \ - --s3-location bucket=CodeDeployDemoBucket,bundleType=zip,eTag=dd56cfdEXAMPLE8e768f9d77fEXAMPLE,key=WordPressApp.zip + --s3-location bucket=amzn-s3-demo-bucket,bundleType=zip,eTag=dd56cfdEXAMPLE8e768f9d77fEXAMPLE,key=WordPressApp.zip Output:: diff --git a/awscli/examples/deploy/get-application-revision.rst b/awscli/examples/deploy/get-application-revision.rst index 671e16ad926c..b8144203964e 100755 --- a/awscli/examples/deploy/get-application-revision.rst +++ b/awscli/examples/deploy/get-application-revision.rst @@ -4,7 +4,7 @@ The following ``get-application-revision`` example displays information about an aws deploy get-application-revision \ --application-name WordPress_App \ - --s3-location bucket=CodeDeployDemoBucket,bundleType=zip,eTag=dd56cfdEXAMPLE8e768f9d77fEXAMPLE,key=WordPressApp.zip + --s3-location bucket=amzn-s3-demo-bucket,bundleType=zip,eTag=dd56cfdEXAMPLE8e768f9d77fEXAMPLE,key=WordPressApp.zip Output:: @@ -22,7 +22,7 @@ Output:: "s3Location": { "bundleType": "zip", "eTag": "dd56cfdEXAMPLE8e768f9d77fEXAMPLE", - "bucket": "CodeDeployDemoBucket", + "bucket": "amzn-s3-demo-bucket", "key": "WordPressApp.zip" } } diff --git a/awscli/examples/deploy/get-deployment.rst b/awscli/examples/deploy/get-deployment.rst index 8bdc8255155b..2e2f2a073626 100755 --- a/awscli/examples/deploy/get-deployment.rst +++ b/awscli/examples/deploy/get-deployment.rst @@ -25,7 +25,7 @@ Output:: "s3Location": { "bundleType": "zip", "eTag": "\"dd56cfdEXAMPLE8e768f9d77fEXAMPLE\"", - "bucket": "CodeDeployDemoBucket", + "bucket": "amzn-s3-demo-bucket", "key": "WordPressApp.zip" } }, diff --git a/awscli/examples/deploy/list-application-revisions.rst b/awscli/examples/deploy/list-application-revisions.rst index fc199fd1a887..8a6b48207ffc 100755 --- a/awscli/examples/deploy/list-application-revisions.rst +++ b/awscli/examples/deploy/list-application-revisions.rst @@ -4,7 +4,7 @@ The following ``list-application-revisions`` example displays information about aws deploy list-application-revisions \ --application-name WordPress_App \ - --s-3-bucket CodeDeployDemoBucket \ + --s-3-bucket amzn-s3-demo-bucket \ --deployed exclude \ --s-3-key-prefix WordPress_ \ --sort-by lastUsedTime \ @@ -18,7 +18,7 @@ Output:: "revisionType": "S3", "s3Location": { "version": "uTecLusvCB_JqHFXtfUcyfV8bEXAMPLE", - "bucket": "CodeDeployDemoBucket", + "bucket": "amzn-s3-demo-bucket", "key": "WordPress_App.zip", "bundleType": "zip" } @@ -27,7 +27,7 @@ Output:: "revisionType": "S3", "s3Location": { "version": "tMk.UxgDpMEVb7V187ZM6wVAWEXAMPLE", - "bucket": "CodeDeployDemoBucket", + "bucket": "amzn-s3-demo-bucket", "key": "WordPress_App_2-0.zip", "bundleType": "zip" } diff --git a/awscli/examples/deploy/push.rst b/awscli/examples/deploy/push.rst index ea30dc58e71a..dbaa42ec6810 100755 --- a/awscli/examples/deploy/push.rst +++ b/awscli/examples/deploy/push.rst @@ -6,10 +6,10 @@ The following ``push`` example bundles and deploys an application revision to Am --application-name WordPress_App \ --description "This is my deployment" \ --ignore-hidden-files \ - --s3-location s3://CodeDeployDemoBucket/WordPressApp.zip \ + --s3-location s3://amzn-s3-demo-bucket/WordPressApp.zip \ --source /tmp/MyLocalDeploymentFolder/ The output describes how to use the ``create-deployment`` command to create a deployment that uses the uploaded application revision. :: To deploy with this revision, run: - aws deploy create-deployment --application-name WordPress_App --deployment-config-name --deployment-group-name --s3-location bucket=CodeDeployDemoBucket,key=WordPressApp.zip,bundleType=zip,eTag="cecc9b8EXAMPLE50a6e71fdb88EXAMPLE",version=LFsJAUdEXAMPLEfvKtvi79L8EXAMPLE \ No newline at end of file + aws deploy create-deployment --application-name WordPress_App --deployment-config-name --deployment-group-name --s3-location bucket=amzn-s3-demo-bucket,key=WordPressApp.zip,bundleType=zip,eTag="cecc9b8EXAMPLE50a6e71fdb88EXAMPLE",version=LFsJAUdEXAMPLEfvKtvi79L8EXAMPLE \ No newline at end of file diff --git a/awscli/examples/deploy/register-application-revision.rst b/awscli/examples/deploy/register-application-revision.rst index 49a03130afe3..d294b9d80431 100755 --- a/awscli/examples/deploy/register-application-revision.rst +++ b/awscli/examples/deploy/register-application-revision.rst @@ -5,6 +5,6 @@ The following ``register-application-revision`` example registers information ab aws deploy register-application-revision \ --application-name WordPress_App \ --description "Revised WordPress application" \ - --s3-location bucket=CodeDeployDemoBucket,key=RevisedWordPressApp.zip,bundleType=zip,eTag=cecc9b8a08eac650a6e71fdb88EXAMPLE + --s3-location bucket=amzn-s3-demo-bucket,key=RevisedWordPressApp.zip,bundleType=zip,eTag=cecc9b8a08eac650a6e71fdb88EXAMPLE This command produces no output. From 2d26edf411d833eb601208c1cebdeae2e42e0d9f Mon Sep 17 00:00:00 2001 From: Waseem Ahammed Date: Wed, 22 Jan 2025 22:37:06 +0530 Subject: [PATCH 0417/1087] Updated AWS CLI command to describe EKS cluster (#9144) --- awscli/examples/eks/describe-cluster.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awscli/examples/eks/describe-cluster.rst b/awscli/examples/eks/describe-cluster.rst index 273623d00cd9..4d68e6400134 100644 --- a/awscli/examples/eks/describe-cluster.rst +++ b/awscli/examples/eks/describe-cluster.rst @@ -3,7 +3,7 @@ The following ``describe-cluster`` example actively running EKS addon in your Amazon EKS cluster. :: aws eks describe-cluster \ - --cluster-name my-eks-cluster + --name my-eks-cluster Output:: From e7f9582558029370dc7dfc85b6ab0d1dd04f564d Mon Sep 17 00:00:00 2001 From: David Souther Date: Wed, 22 Jan 2025 12:23:55 -0500 Subject: [PATCH 0418/1087] Replaced /myBucket/ with amzn-s3-demo-bucket (#9221) --- .../examples/emr/create-cluster-examples.rst | 8 ++-- awscli/examples/emr/schedule-hbase-backup.rst | 46 +++++++++---------- awscli/examples/importexport/create-job.rst | 4 +- .../importexport/get-shipping-label.rst | 2 +- awscli/examples/importexport/get-status.rst | 2 +- 5 files changed, 31 insertions(+), 31 deletions(-) diff --git a/awscli/examples/emr/create-cluster-examples.rst b/awscli/examples/emr/create-cluster-examples.rst index 3dea47bc7161..0d8f673f90ec 100644 --- a/awscli/examples/emr/create-cluster-examples.rst +++ b/awscli/examples/emr/create-cluster-examples.rst @@ -114,7 +114,7 @@ The following example references ``configurations.json`` as a local file. :: The following example references ``configurations.json`` as a file in Amazon S3. :: aws emr create-cluster \ - --configurations https://s3.amazonaws.com/myBucket/configurations.json \ + --configurations https://s3.amazonaws.com/amzn-s3-demo-bucket/configurations.json \ --release-label emr-5.9.0 \ --instance-groups InstanceGroupType=MASTER,InstanceCount=1,InstanceType=m4.large InstanceGroupType=CORE,InstanceCount=2,InstanceType=m4.large \ --auto-terminate @@ -223,7 +223,7 @@ The following ``create-cluster`` example uses the ``--enable-debugging`` paramet aws emr create-cluster \ --enable-debugging \ - --log-uri s3://myBucket/myLog \ + --log-uri s3://amzn-s3-demo-bucket/myLog \ --release-label emr-5.9.0 \ --instance-groups InstanceGroupType=MASTER,InstanceCount=1,InstanceType=m4.large InstanceGroupType=CORE,InstanceCount=2,InstanceType=m4.large \ --auto-terminate @@ -357,7 +357,7 @@ The following ``create-cluster`` example adds steps by specifying a JAR file sto Custom JAR steps require the ``Jar=`` parameter, which specifies the path and file name of the JAR. Optional parameters are ``Type``, ``Name``, ``ActionOnFailure``, ``Args``, and ``MainClass``. If main class is not specified, the JAR file should specify ``Main-Class`` in its manifest file. :: aws emr create-cluster \ - --steps Type=CUSTOM_JAR,Name=CustomJAR,ActionOnFailure=CONTINUE,Jar=s3://myBucket/mytest.jar,Args=arg1,arg2,arg3 Type=CUSTOM_JAR,Name=CustomJAR,ActionOnFailure=CONTINUE,Jar=s3://myBucket/mytest.jar,MainClass=mymainclass,Args=arg1,arg2,arg3 \ + --steps Type=CUSTOM_JAR,Name=CustomJAR,ActionOnFailure=CONTINUE,Jar=s3://amzn-s3-demo-bucket/mytest.jar,Args=arg1,arg2,arg3 Type=CUSTOM_JAR,Name=CustomJAR,ActionOnFailure=CONTINUE,Jar=s3://amzn-s3-demo-bucket/mytest.jar,MainClass=mymainclass,Args=arg1,arg2,arg3 \ --release-label emr-5.3.1 \ --instance-groups InstanceGroupType=MASTER,InstanceCount=1,InstanceType=m4.large InstanceGroupType=CORE,InstanceCount=2,InstanceType=m4.large \ --auto-terminate @@ -503,7 +503,7 @@ The following ``create-cluster`` example creates an Amazon EMR cluster that uses aws emr create-cluster \ --release-label emr-5.30.0 \ - --log-uri s3://myBucket/myLog \ + --log-uri s3://amzn-s3-demo-bucket/myLog \ --log-encryption-kms-key-id arn:aws:kms:us-east-1:110302272565:key/dd559181-283e-45d7-99d1-66da348c4d33 \ --instance-groups InstanceGroupType=MASTER,InstanceCount=1,InstanceType=m4.large InstanceGroupType=CORE,InstanceCount=2,InstanceType=m4.large diff --git a/awscli/examples/emr/schedule-hbase-backup.rst b/awscli/examples/emr/schedule-hbase-backup.rst index 9f9d99de79cd..2c81d52c3323 100644 --- a/awscli/examples/emr/schedule-hbase-backup.rst +++ b/awscli/examples/emr/schedule-hbase-backup.rst @@ -1,28 +1,28 @@ **Note: This command can only be used with HBase on AMI version 2.x and 3.x** -**1. To schedule a full HBase backup** +**1. To schedule a full HBase backup** >>>>>>> 06ab6d6e13564b5733d75abaf3b599f93cf39a23 -- Command:: - - aws emr schedule-hbase-backup --cluster-id j-XXXXXXYY --type full --dir - s3://myBucket/backup --interval 10 --unit hours --start-time - 2014-04-21T05:26:10Z --consistent - -- Output:: - - None - - -**2. To schedule an incremental HBase backup** - -- Command:: - - aws emr schedule-hbase-backup --cluster-id j-XXXXXXYY --type incremental - --dir s3://myBucket/backup --interval 30 --unit minutes --start-time - 2014-04-21T05:26:10Z --consistent - -- Output:: - - None +- Command:: + + aws emr schedule-hbase-backup --cluster-id j-XXXXXXYY --type full --dir + s3://amzn-s3-demo-bucket/backup --interval 10 --unit hours --start-time + 2014-04-21T05:26:10Z --consistent + +- Output:: + + None + + +**2. To schedule an incremental HBase backup** + +- Command:: + + aws emr schedule-hbase-backup --cluster-id j-XXXXXXYY --type incremental + --dir s3://amzn-s3-demo-bucket/backup --interval 30 --unit minutes --start-time + 2014-04-21T05:26:10Z --consistent + +- Output:: + + None diff --git a/awscli/examples/importexport/create-job.rst b/awscli/examples/importexport/create-job.rst index 4b6d75360e6f..84b6c701d10b 100644 --- a/awscli/examples/importexport/create-job.rst +++ b/awscli/examples/importexport/create-job.rst @@ -17,7 +17,7 @@ The file ``manifest`` is a YAML formatted text file in the current directory wit deviceId: 49382 eraseDevice: yes notificationEmail: john.doe@example.com;jane.roe@example.com - bucket: myBucket + bucket: amzn-s3-demo-bucket For more information on the manifest file format, see `Creating Import Manifests`_ in the *AWS Import/Export Developer Guide*. @@ -38,7 +38,7 @@ You can also pass the manifest as a string in quotes:: deviceId: 49382 eraseDevice: yes notificationEmail: john.doe@example.com;jane.roe@example.com - bucket: myBucket' + bucket: amzn-s3-demo-bucket' For information on quoting string arguments and using files, see `Specifying Parameter Values`_ in the *AWS CLI User Guide*. diff --git a/awscli/examples/importexport/get-shipping-label.rst b/awscli/examples/importexport/get-shipping-label.rst index 9f8a08ef5c21..c4ee1af28503 100644 --- a/awscli/examples/importexport/get-shipping-label.rst +++ b/awscli/examples/importexport/get-shipping-label.rst @@ -4,7 +4,7 @@ The following command creates a pre-paid shipping label for the specified job:: The output for the get-shipping-label command looks like the following:: - https://s3.amazonaws.com/myBucket/shipping-label-EX1ID.pdf + https://s3.amazonaws.com/amzn-s3-demo-bucket/shipping-label-EX1ID.pdf The link in the output contains the pre-paid shipping label generated in a PDF. It also contains shipping instructions with a unique bar code to identify and authenticate your device. For more information about using the pre-paid shipping label and shipping your device, see `Shipping Your Storage Device`_ in the *AWS Import/Export Developer Guide*. diff --git a/awscli/examples/importexport/get-status.rst b/awscli/examples/importexport/get-status.rst index 1770efea0c3c..c7c1bf9a18d5 100644 --- a/awscli/examples/importexport/get-status.rst +++ b/awscli/examples/importexport/get-status.rst @@ -6,7 +6,7 @@ The output for the get-status command looks like the following:: 2015-05-27T18:58:21Z manifestVersion:2.0 generator:Text editor - bucket:myBucket + bucket:amzn-s3-demo-bucket deviceId:49382 eraseDevice:yes notificationEmail:john.doe@example.com;jane.roe@example.com From 056e34edcb733c942894425e19d379b3363d654c Mon Sep 17 00:00:00 2001 From: Elysa <60367675+elysahall@users.noreply.github.com> Date: Wed, 22 Jan 2025 09:53:12 -0800 Subject: [PATCH 0419/1087] Update awscli/examples/ecr-public/put-registry-catalog-data.rst Co-authored-by: Kenneth Daily --- awscli/examples/ecr-public/put-registry-catalog-data.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awscli/examples/ecr-public/put-registry-catalog-data.rst b/awscli/examples/ecr-public/put-registry-catalog-data.rst index d9f4fb8d2c30..57c83973ece1 100644 --- a/awscli/examples/ecr-public/put-registry-catalog-data.rst +++ b/awscli/examples/ecr-public/put-registry-catalog-data.rst @@ -1,6 +1,6 @@ **To create or update catalog metadata for a public ECR registry** -The following ``put-registry-catalog-data`` creates or updates catalog metadata for an ECR public registry. (Only accounts that have the verified account badge can have a registry display name. :: +The following ``put-registry-catalog-data`` creates or updates catalog metadata for an ECR public registry. Only accounts that have the verified account badge can have a registry display name. :: aws ecr-public put-registry-catalog-data \ --region us-east-1 \ From f4de3263896ea90d96c15a58da51d529695610ef Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 22 Jan 2025 19:13:56 +0000 Subject: [PATCH 0420/1087] Update changelog based on model updates --- .../next-release/api-change-bedrockagentruntime-82794.json | 5 +++++ .changes/next-release/api-change-glue-77797.json | 5 +++++ .changes/next-release/api-change-medialive-23252.json | 5 +++++ .../next-release/api-change-workspacesthinclient-96417.json | 5 +++++ 4 files changed, 20 insertions(+) create mode 100644 .changes/next-release/api-change-bedrockagentruntime-82794.json create mode 100644 .changes/next-release/api-change-glue-77797.json create mode 100644 .changes/next-release/api-change-medialive-23252.json create mode 100644 .changes/next-release/api-change-workspacesthinclient-96417.json diff --git a/.changes/next-release/api-change-bedrockagentruntime-82794.json b/.changes/next-release/api-change-bedrockagentruntime-82794.json new file mode 100644 index 000000000000..b2dba5647bd9 --- /dev/null +++ b/.changes/next-release/api-change-bedrockagentruntime-82794.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-agent-runtime``", + "description": "Adds multi-turn input support for an Agent node in an Amazon Bedrock Flow" +} diff --git a/.changes/next-release/api-change-glue-77797.json b/.changes/next-release/api-change-glue-77797.json new file mode 100644 index 000000000000..0bf38c02dc64 --- /dev/null +++ b/.changes/next-release/api-change-glue-77797.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``glue``", + "description": "Docs Update for timeout changes" +} diff --git a/.changes/next-release/api-change-medialive-23252.json b/.changes/next-release/api-change-medialive-23252.json new file mode 100644 index 000000000000..72d0bb3e544c --- /dev/null +++ b/.changes/next-release/api-change-medialive-23252.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``medialive``", + "description": "AWS Elemental MediaLive adds a new feature, ID3 segment tagging, in CMAF Ingest output groups. It allows customers to insert ID3 tags into every output segment, controlled by a newly added channel schedule action Id3SegmentTagging." +} diff --git a/.changes/next-release/api-change-workspacesthinclient-96417.json b/.changes/next-release/api-change-workspacesthinclient-96417.json new file mode 100644 index 000000000000..47bd464ea069 --- /dev/null +++ b/.changes/next-release/api-change-workspacesthinclient-96417.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``workspaces-thin-client``", + "description": "Rename WorkSpaces Web to WorkSpaces Secure Browser" +} From c71ba24b672a60880a587dd1a621af9ad356fd3e Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 22 Jan 2025 19:15:05 +0000 Subject: [PATCH 0421/1087] Bumping version to 1.37.4 --- .changes/1.37.4.json | 22 +++++++++++++++++++ .../api-change-bedrockagentruntime-82794.json | 5 ----- .../next-release/api-change-glue-77797.json | 5 ----- .../api-change-medialive-23252.json | 5 ----- ...api-change-workspacesthinclient-96417.json | 5 ----- CHANGELOG.rst | 9 ++++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 10 files changed, 35 insertions(+), 24 deletions(-) create mode 100644 .changes/1.37.4.json delete mode 100644 .changes/next-release/api-change-bedrockagentruntime-82794.json delete mode 100644 .changes/next-release/api-change-glue-77797.json delete mode 100644 .changes/next-release/api-change-medialive-23252.json delete mode 100644 .changes/next-release/api-change-workspacesthinclient-96417.json diff --git a/.changes/1.37.4.json b/.changes/1.37.4.json new file mode 100644 index 000000000000..9142e622e669 --- /dev/null +++ b/.changes/1.37.4.json @@ -0,0 +1,22 @@ +[ + { + "category": "``bedrock-agent-runtime``", + "description": "Adds multi-turn input support for an Agent node in an Amazon Bedrock Flow", + "type": "api-change" + }, + { + "category": "``glue``", + "description": "Docs Update for timeout changes", + "type": "api-change" + }, + { + "category": "``medialive``", + "description": "AWS Elemental MediaLive adds a new feature, ID3 segment tagging, in CMAF Ingest output groups. It allows customers to insert ID3 tags into every output segment, controlled by a newly added channel schedule action Id3SegmentTagging.", + "type": "api-change" + }, + { + "category": "``workspaces-thin-client``", + "description": "Rename WorkSpaces Web to WorkSpaces Secure Browser", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-bedrockagentruntime-82794.json b/.changes/next-release/api-change-bedrockagentruntime-82794.json deleted file mode 100644 index b2dba5647bd9..000000000000 --- a/.changes/next-release/api-change-bedrockagentruntime-82794.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-agent-runtime``", - "description": "Adds multi-turn input support for an Agent node in an Amazon Bedrock Flow" -} diff --git a/.changes/next-release/api-change-glue-77797.json b/.changes/next-release/api-change-glue-77797.json deleted file mode 100644 index 0bf38c02dc64..000000000000 --- a/.changes/next-release/api-change-glue-77797.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``glue``", - "description": "Docs Update for timeout changes" -} diff --git a/.changes/next-release/api-change-medialive-23252.json b/.changes/next-release/api-change-medialive-23252.json deleted file mode 100644 index 72d0bb3e544c..000000000000 --- a/.changes/next-release/api-change-medialive-23252.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``medialive``", - "description": "AWS Elemental MediaLive adds a new feature, ID3 segment tagging, in CMAF Ingest output groups. It allows customers to insert ID3 tags into every output segment, controlled by a newly added channel schedule action Id3SegmentTagging." -} diff --git a/.changes/next-release/api-change-workspacesthinclient-96417.json b/.changes/next-release/api-change-workspacesthinclient-96417.json deleted file mode 100644 index 47bd464ea069..000000000000 --- a/.changes/next-release/api-change-workspacesthinclient-96417.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``workspaces-thin-client``", - "description": "Rename WorkSpaces Web to WorkSpaces Secure Browser" -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 1895ddcbe05d..a266c390f68d 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,15 @@ CHANGELOG ========= +1.37.4 +====== + +* api-change:``bedrock-agent-runtime``: Adds multi-turn input support for an Agent node in an Amazon Bedrock Flow +* api-change:``glue``: Docs Update for timeout changes +* api-change:``medialive``: AWS Elemental MediaLive adds a new feature, ID3 segment tagging, in CMAF Ingest output groups. It allows customers to insert ID3 tags into every output segment, controlled by a newly added channel schedule action Id3SegmentTagging. +* api-change:``workspaces-thin-client``: Rename WorkSpaces Web to WorkSpaces Secure Browser + + 1.37.3 ====== diff --git a/awscli/__init__.py b/awscli/__init__.py index 85f8445683e7..6cf2e8f3c93a 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.37.3' +__version__ = '1.37.4' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 5e7f808935de..716ee5cd738b 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.37' # The full version, including alpha/beta/rc tags. -release = '1.37.3' +release = '1.37.4' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index a406a6ab7dd0..2a66df070e66 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.36.3 + botocore==1.36.4 docutils>=0.10,<0.17 s3transfer>=0.11.0,<0.12.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 06765f0e7153..0afeb9e59a69 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.36.3', + 'botocore==1.36.4', 'docutils>=0.10,<0.17', 's3transfer>=0.11.0,<0.12.0', 'PyYAML>=3.10,<6.1', From 5ce56018d65a198518aa37efdb83926d3fc12c32 Mon Sep 17 00:00:00 2001 From: David Souther Date: Wed, 22 Jan 2025 16:14:25 -0500 Subject: [PATCH 0422/1087] Replaced /MyBucket/ with amzn-s3-demo-bucket (#9226) --- awscli/examples/s3api/put-bucket-acl.rst | 2 +- awscli/examples/s3api/put-bucket-cors.rst | 2 +- awscli/examples/s3api/put-bucket-logging.rst | 20 ++++++++++---------- awscli/examples/s3api/put-bucket-policy.rst | 10 +++++----- awscli/examples/s3api/put-object-acl.rst | 2 +- 5 files changed, 18 insertions(+), 18 deletions(-) diff --git a/awscli/examples/s3api/put-bucket-acl.rst b/awscli/examples/s3api/put-bucket-acl.rst index 42418a8160aa..91a1ed127336 100644 --- a/awscli/examples/s3api/put-bucket-acl.rst +++ b/awscli/examples/s3api/put-bucket-acl.rst @@ -1,7 +1,7 @@ This example grants ``full control`` to two AWS users (*user1@example.com* and *user2@example.com*) and ``read`` permission to everyone:: - aws s3api put-bucket-acl --bucket MyBucket --grant-full-control emailaddress=user1@example.com,emailaddress=user2@example.com --grant-read uri=http://acs.amazonaws.com/groups/global/AllUsers + aws s3api put-bucket-acl --bucket amzn-s3-demo-bucket --grant-full-control emailaddress=user1@example.com,emailaddress=user2@example.com --grant-read uri=http://acs.amazonaws.com/groups/global/AllUsers See http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTacl.html for details on custom ACLs (the s3api ACL commands, such as ``put-bucket-acl``, use the same shorthand argument notation). diff --git a/awscli/examples/s3api/put-bucket-cors.rst b/awscli/examples/s3api/put-bucket-cors.rst index 83494f3c058c..65be5da0b721 100644 --- a/awscli/examples/s3api/put-bucket-cors.rst +++ b/awscli/examples/s3api/put-bucket-cors.rst @@ -1,7 +1,7 @@ The following example enables ``PUT``, ``POST``, and ``DELETE`` requests from *www.example.com*, and enables ``GET`` requests from any domain:: - aws s3api put-bucket-cors --bucket MyBucket --cors-configuration file://cors.json + aws s3api put-bucket-cors --bucket amzn-s3-demo-bucket --cors-configuration file://cors.json cors.json: { diff --git a/awscli/examples/s3api/put-bucket-logging.rst b/awscli/examples/s3api/put-bucket-logging.rst index 8c1242943989..17beeef1226e 100644 --- a/awscli/examples/s3api/put-bucket-logging.rst +++ b/awscli/examples/s3api/put-bucket-logging.rst @@ -1,9 +1,9 @@ **Example 1: To set bucket policy logging** -The following ``put-bucket-logging`` example sets the logging policy for *MyBucket*. First, grant the logging service principal permission in your bucket policy using the ``put-bucket-policy`` command. :: +The following ``put-bucket-logging`` example sets the logging policy for *amzn-s3-demo-bucket*. First, grant the logging service principal permission in your bucket policy using the ``put-bucket-policy`` command. :: aws s3api put-bucket-policy \ - --bucket MyBucket \ + --bucket amzn-s3-demo-bucket \ --policy file://policy.json Contents of ``policy.json``:: @@ -16,7 +16,7 @@ Contents of ``policy.json``:: "Effect": "Allow", "Principal": {"Service": "logging.s3.amazonaws.com"}, "Action": "s3:PutObject", - "Resource": "arn:aws:s3:::MyBucket/Logs/*", + "Resource": "arn:aws:s3:::amzn-s3-demo-bucket/Logs/*", "Condition": { "ArnLike": {"aws:SourceARN": "arn:aws:s3:::SOURCE-BUCKET-NAME"}, "StringEquals": {"aws:SourceAccount": "SOURCE-AWS-ACCOUNT-ID"} @@ -28,14 +28,14 @@ Contents of ``policy.json``:: To apply the logging policy, use ``put-bucket-logging``. :: aws s3api put-bucket-logging \ - --bucket MyBucket \ + --bucket amzn-s3-demo-bucket \ --bucket-logging-status file://logging.json Contents of ``logging.json``:: { "LoggingEnabled": { - "TargetBucket": "MyBucket", + "TargetBucket": "amzn-s3-demo-bucket", "TargetPrefix": "Logs/" } } @@ -46,26 +46,26 @@ For more information, see `Amazon S3 Server Access Logging Date: Thu, 23 Jan 2025 09:34:06 -0500 Subject: [PATCH 0423/1087] Replaced /my-s3-bucket/ with amzn-s3-demo-bucket (#9222) --- .../codebuild/create-report-group.rst | 4 +- .../datapipeline/get-pipeline-definition.rst | 2 +- .../describe-spot-datafeed-subscription.rst | 2 +- awscli/examples/ec2/register-image.rst | 64 +++---- awscli/examples/kendra/create-data-source.rst | 46 ++--- .../examples/kendra/describe-data-source.rst | 166 +++++++++--------- awscli/examples/kendra/update-data-source.rst | 36 ++-- .../polly/get-speech-synthesis-task.rst | 46 ++--- .../polly/list-speech-synthesis-tasks.rst | 50 +++--- .../polly/start-speech-synthesis-task.rst | 54 +++--- 10 files changed, 235 insertions(+), 235 deletions(-) diff --git a/awscli/examples/codebuild/create-report-group.rst b/awscli/examples/codebuild/create-report-group.rst index ba9815c0fa1d..f94266b403a9 100644 --- a/awscli/examples/codebuild/create-report-group.rst +++ b/awscli/examples/codebuild/create-report-group.rst @@ -13,7 +13,7 @@ Contents of create-report-group-source.json:: "exportConfig": { "exportConfigType": "S3", "s3Destination": { - "bucket": "my-s3-bucket", + "bucket": "amzn-s3-demo-bucket", "path": "", "packaging": "ZIP", "encryptionDisabled": true @@ -31,7 +31,7 @@ Output:: "exportConfig": { "exportConfigType": "S3", "s3Destination": { - "bucket": "my-s3-bucket", + "bucket": "amzn-s3-demo-bucket", "path": "", "packaging": "ZIP", "encryptionDisabled": true diff --git a/awscli/examples/datapipeline/get-pipeline-definition.rst b/awscli/examples/datapipeline/get-pipeline-definition.rst index 0e62f1c4d235..c37795856766 100644 --- a/awscli/examples/datapipeline/get-pipeline-definition.rst +++ b/awscli/examples/datapipeline/get-pipeline-definition.rst @@ -83,7 +83,7 @@ The following is example output:: } ], "values": { - "myS3OutputLoc": "s3://my-s3-bucket/", + "myS3OutputLoc": "s3://amzn-s3-demo-bucket/", "myS3InputLoc": "s3://us-east-1.elasticmapreduce.samples/pig-apache-logs/data", "myShellCmd": "grep -rc \"GET\" ${INPUT1_STAGING_DIR}/* > ${OUTPUT1_STAGING_DIR}/output.txt" } diff --git a/awscli/examples/ec2/describe-spot-datafeed-subscription.rst b/awscli/examples/ec2/describe-spot-datafeed-subscription.rst index b532ff50a93f..24f68d689540 100644 --- a/awscli/examples/ec2/describe-spot-datafeed-subscription.rst +++ b/awscli/examples/ec2/describe-spot-datafeed-subscription.rst @@ -12,7 +12,7 @@ Output:: "SpotDatafeedSubscription": { "OwnerId": "123456789012", "Prefix": "spotdata", - "Bucket": "my-s3-bucket", + "Bucket": "amzn-s3-demo-bucket", "State": "Active" } } diff --git a/awscli/examples/ec2/register-image.rst b/awscli/examples/ec2/register-image.rst index 71e3743e7bfa..5b794d6d7d70 100644 --- a/awscli/examples/ec2/register-image.rst +++ b/awscli/examples/ec2/register-image.rst @@ -1,32 +1,32 @@ -**Example 1: To register an AMI using a manifest file** - -The following ``register-image`` example registers an AMI using the specified manifest file in Amazon S3. :: - - aws ec2 register-image \ - --name my-image \ - --image-location my-s3-bucket/myimage/image.manifest.xml - -Output:: - - { - "ImageId": "ami-1234567890EXAMPLE" - } - -For more information, see `Amazon Machine Images (AMI) `__ in the *Amazon EC2 User Guide*. - -**Example 2: To register an AMI using a snapshot of a root device** - -The following ``register-image`` example registers an AMI using the specified snapshot of an EBS root volume as device ``/dev/xvda``. The block device mapping also includes an empty 100 GiB EBS volume as device ``/dev/xvdf``. :: - - aws ec2 register-image \ - --name my-image \ - --root-device-name /dev/xvda \ - --block-device-mappings DeviceName=/dev/xvda,Ebs={SnapshotId=snap-0db2cf683925d191f} DeviceName=/dev/xvdf,Ebs={VolumeSize=100} - -Output:: - - { - "ImageId": "ami-1a2b3c4d5eEXAMPLE" - } - -For more information, see `Amazon Machine Images (AMI) `__ in the *Amazon EC2 User Guide*. +**Example 1: To register an AMI using a manifest file** + +The following ``register-image`` example registers an AMI using the specified manifest file in Amazon S3. :: + + aws ec2 register-image \ + --name my-image \ + --image-location amzn-s3-demo-bucket/myimage/image.manifest.xml + +Output:: + + { + "ImageId": "ami-1234567890EXAMPLE" + } + +For more information, see `Amazon Machine Images (AMI) `__ in the *Amazon EC2 User Guide*. + +**Example 2: To register an AMI using a snapshot of a root device** + +The following ``register-image`` example registers an AMI using the specified snapshot of an EBS root volume as device ``/dev/xvda``. The block device mapping also includes an empty 100 GiB EBS volume as device ``/dev/xvdf``. :: + + aws ec2 register-image \ + --name my-image \ + --root-device-name /dev/xvda \ + --block-device-mappings DeviceName=/dev/xvda,Ebs={SnapshotId=snap-0db2cf683925d191f} DeviceName=/dev/xvdf,Ebs={VolumeSize=100} + +Output:: + + { + "ImageId": "ami-1a2b3c4d5eEXAMPLE" + } + +For more information, see `Amazon Machine Images (AMI) `__ in the *Amazon EC2 User Guide*. diff --git a/awscli/examples/kendra/create-data-source.rst b/awscli/examples/kendra/create-data-source.rst index b551f145066c..e1020f24d0a7 100644 --- a/awscli/examples/kendra/create-data-source.rst +++ b/awscli/examples/kendra/create-data-source.rst @@ -1,24 +1,24 @@ -**To create an Amazon Kendra data source connector** - -The following ``create-data-source`` creates and configures an Amazon Kendra data source connector. You can use ``describe-data-source`` to view the status of a data source connector, and read any error messages if the status shows a data source connector "FAILED" to completely create. :: - - aws kendra create-data-source \ - --name "example data source 1" \ - --description "Example data source 1 for example index 1 contains the first set of example documents" \ - --tags '{"Key": "test resources", "Value": "kendra"}, {"Key": "test resources", "Value": "aws"}' \ - --role-arn "arn:aws:iam::my-account-id:role/KendraRoleForS3TemplateConfigDataSource" \ - --index-id exampleindex1 \ - --language-code "es" \ - --schedule "0 0 18 ? * TUE,MON,WED,THU,FRI,SAT *" \ - --configuration '{"TemplateConfiguration": {"Template": file://s3schemaconfig.json}}' \ - --type "TEMPLATE" \ - --custom-document-enrichment-configuration '{"PostExtractionHookConfiguration": {"LambdaArn": "arn:aws:iam::my-account-id:function/my-function-ocr-docs", "S3Bucket": "s3://my-s3-bucket/scanned-image-text-example-docs"}, "RoleArn": "arn:aws:iam:my-account-id:role/KendraRoleForCDE"}' \ - --vpc-configuration '{"SecurityGroupIds": ["sg-1234567890abcdef0"], "SubnetIds": ["subnet-1c234","subnet-2b134"]}' - -Output:: - - { - "Id": "exampledatasource1" - } - +**To create an Amazon Kendra data source connector** + +The following ``create-data-source`` creates and configures an Amazon Kendra data source connector. You can use ``describe-data-source`` to view the status of a data source connector, and read any error messages if the status shows a data source connector "FAILED" to completely create. :: + + aws kendra create-data-source \ + --name "example data source 1" \ + --description "Example data source 1 for example index 1 contains the first set of example documents" \ + --tags '{"Key": "test resources", "Value": "kendra"}, {"Key": "test resources", "Value": "aws"}' \ + --role-arn "arn:aws:iam::my-account-id:role/KendraRoleForS3TemplateConfigDataSource" \ + --index-id exampleindex1 \ + --language-code "es" \ + --schedule "0 0 18 ? * TUE,MON,WED,THU,FRI,SAT *" \ + --configuration '{"TemplateConfiguration": {"Template": file://s3schemaconfig.json}}' \ + --type "TEMPLATE" \ + --custom-document-enrichment-configuration '{"PostExtractionHookConfiguration": {"LambdaArn": "arn:aws:iam::my-account-id:function/my-function-ocr-docs", "S3Bucket": "s3://amzn-s3-demo-bucket/scanned-image-text-example-docs"}, "RoleArn": "arn:aws:iam:my-account-id:role/KendraRoleForCDE"}' \ + --vpc-configuration '{"SecurityGroupIds": ["sg-1234567890abcdef0"], "SubnetIds": ["subnet-1c234","subnet-2b134"]}' + +Output:: + + { + "Id": "exampledatasource1" + } + For more information, see `Getting started with an Amazon Kendra index and data source connector `__ in the *Amazon Kendra Developer Guide*. \ No newline at end of file diff --git a/awscli/examples/kendra/describe-data-source.rst b/awscli/examples/kendra/describe-data-source.rst index a950e80ca680..196b5430a509 100644 --- a/awscli/examples/kendra/describe-data-source.rst +++ b/awscli/examples/kendra/describe-data-source.rst @@ -1,84 +1,84 @@ -**To get information about an Amazon Kendra data source connector** - -The following ``describe-data-source`` gets information about an Amazon Kendra data soource connector. You can view the configuration of a data source connector, and read any error messages if the status shows a data source connector "FAILED" to completely create. :: - - aws kendra describe-data-source \ - --id exampledatasource1 \ - --index-id exampleindex1 - -Output:: - - { - "Configuration": { - "TemplateConfiguration": { - "Template": { - "connectionConfiguration": { - "repositoryEndpointMetadata": { - "BucketName": "my-bucket" - } - }, - "repositoryConfigurations": { - "document":{ - "fieldMappings": [ - { - "indexFieldName":"_document_title", - "indexFieldType":"STRING", - "dataSourceFieldName": "title" - }, - { - "indexFieldName":"_last_updated_at", - "indexFieldType":"DATE", - "dataSourceFieldName": "modified_date" - } - ] - } - }, - "additionalProperties": { - "inclusionPatterns": [ - "*.txt", - "*.doc", - "*.docx" - ], - "exclusionPatterns": [ - "*.json" - ], - "inclusionPrefixes": [ - "PublicExampleDocsFolder" - ], - "exclusionPrefixes": [ - "PrivateDocsFolder/private" - ], - "aclConfigurationFilePath": "ExampleDocsFolder/AclConfig.json", - "metadataFilesPrefix": "metadata" - }, - "syncMode": "FULL_CRAWL", - "type" : "S3", - "version": "1.0.0" - } - } - }, - "CreatedAt": 2024-02-25T13:30:10+00:00, - "CustomDocumentEnrichmentConfiguration": { - "PostExtractionHookConfiguration": { - "LambdaArn": "arn:aws:iam::my-account-id:function/my-function-ocr-docs", - "S3Bucket": "s3://my-s3-bucket/scanned-image-text-example-docs/function" - }, - "RoleArn": "arn:aws:iam:my-account-id:role/KendraRoleForCDE" - } - "Description": "Example data source 1 for example index 1 contains the first set of example documents", - "Id": exampledatasource1, - "IndexId": exampleindex1, - "LanguageCode": "en", - "Name": "example data source 1", - "RoleArn": "arn:aws:iam::my-account-id:role/KendraRoleForS3TemplateConfigDataSource", - "Schedule": "0 0 18 ? * TUE,MON,WED,THU,FRI,SAT *", - "Status": "ACTIVE", - "Type": "TEMPLATE", - "UpdatedAt": 1709163615, - "VpcConfiguration": { - "SecurityGroupIds": ["sg-1234567890abcdef0"], - "SubnetIds": ["subnet-1c234","subnet-2b134"] - } - } - +**To get information about an Amazon Kendra data source connector** + +The following ``describe-data-source`` gets information about an Amazon Kendra data soource connector. You can view the configuration of a data source connector, and read any error messages if the status shows a data source connector "FAILED" to completely create. :: + + aws kendra describe-data-source \ + --id exampledatasource1 \ + --index-id exampleindex1 + +Output:: + + { + "Configuration": { + "TemplateConfiguration": { + "Template": { + "connectionConfiguration": { + "repositoryEndpointMetadata": { + "BucketName": "my-bucket" + } + }, + "repositoryConfigurations": { + "document":{ + "fieldMappings": [ + { + "indexFieldName":"_document_title", + "indexFieldType":"STRING", + "dataSourceFieldName": "title" + }, + { + "indexFieldName":"_last_updated_at", + "indexFieldType":"DATE", + "dataSourceFieldName": "modified_date" + } + ] + } + }, + "additionalProperties": { + "inclusionPatterns": [ + "*.txt", + "*.doc", + "*.docx" + ], + "exclusionPatterns": [ + "*.json" + ], + "inclusionPrefixes": [ + "PublicExampleDocsFolder" + ], + "exclusionPrefixes": [ + "PrivateDocsFolder/private" + ], + "aclConfigurationFilePath": "ExampleDocsFolder/AclConfig.json", + "metadataFilesPrefix": "metadata" + }, + "syncMode": "FULL_CRAWL", + "type" : "S3", + "version": "1.0.0" + } + } + }, + "CreatedAt": 2024-02-25T13:30:10+00:00, + "CustomDocumentEnrichmentConfiguration": { + "PostExtractionHookConfiguration": { + "LambdaArn": "arn:aws:iam::my-account-id:function/my-function-ocr-docs", + "S3Bucket": "s3://amzn-s3-demo-bucket/scanned-image-text-example-docs/function" + }, + "RoleArn": "arn:aws:iam:my-account-id:role/KendraRoleForCDE" + } + "Description": "Example data source 1 for example index 1 contains the first set of example documents", + "Id": exampledatasource1, + "IndexId": exampleindex1, + "LanguageCode": "en", + "Name": "example data source 1", + "RoleArn": "arn:aws:iam::my-account-id:role/KendraRoleForS3TemplateConfigDataSource", + "Schedule": "0 0 18 ? * TUE,MON,WED,THU,FRI,SAT *", + "Status": "ACTIVE", + "Type": "TEMPLATE", + "UpdatedAt": 1709163615, + "VpcConfiguration": { + "SecurityGroupIds": ["sg-1234567890abcdef0"], + "SubnetIds": ["subnet-1c234","subnet-2b134"] + } + } + For more information, see `Getting started with an Amazon Kendra index and data source connector `__ in the *Amazon Kendra Developer Guide*. \ No newline at end of file diff --git a/awscli/examples/kendra/update-data-source.rst b/awscli/examples/kendra/update-data-source.rst index ebdbeb56c328..68146e9d05a9 100644 --- a/awscli/examples/kendra/update-data-source.rst +++ b/awscli/examples/kendra/update-data-source.rst @@ -1,19 +1,19 @@ -**To update an Amazon Kendra data source connector** - -The following ``update-data-source`` updates the configuration of an Amazon Kendra data source connector. If the action is successful, the service either sends back no output, the HTTP status code 200, or the AWS CLI return code 0. You can use ``describe-data-source`` to view the configuration and status of a data source connector. :: - - aws kendra update-data-source \ - --id exampledatasource1 \ - --index-id exampleindex1 \ - --name "new name for example data source 1" \ - --description "new description for example data source 1" \ - --role-arn arn:aws:iam::my-account-id:role/KendraNewRoleForExampleDataSource \ - --configuration '{"TemplateConfiguration": {"Template": file://s3schemanewconfig.json}}' \ - --custom-document-enrichment-configuration '{"PostExtractionHookConfiguration": {"LambdaArn": "arn:aws:iam::my-account-id:function/my-function-ocr-docs", "S3Bucket": "s3://my-s3-bucket/scanned-image-text-example-docs"}, "RoleArn": "arn:aws:iam:my-account-id:role/KendraNewRoleForCDE"}' \ - --language-code "es" \ - --schedule "0 0 18 ? * MON,WED,FRI *" \ - --vpc-configuration '{"SecurityGroupIds": ["sg-1234567890abcdef0"], "SubnetIds": ["subnet-1c234","subnet-2b134"]}' - -This command produces no output. - +**To update an Amazon Kendra data source connector** + +The following ``update-data-source`` updates the configuration of an Amazon Kendra data source connector. If the action is successful, the service either sends back no output, the HTTP status code 200, or the AWS CLI return code 0. You can use ``describe-data-source`` to view the configuration and status of a data source connector. :: + + aws kendra update-data-source \ + --id exampledatasource1 \ + --index-id exampleindex1 \ + --name "new name for example data source 1" \ + --description "new description for example data source 1" \ + --role-arn arn:aws:iam::my-account-id:role/KendraNewRoleForExampleDataSource \ + --configuration '{"TemplateConfiguration": {"Template": file://s3schemanewconfig.json}}' \ + --custom-document-enrichment-configuration '{"PostExtractionHookConfiguration": {"LambdaArn": "arn:aws:iam::my-account-id:function/my-function-ocr-docs", "S3Bucket": "s3://amzn-s3-demo-bucket/scanned-image-text-example-docs"}, "RoleArn": "arn:aws:iam:my-account-id:role/KendraNewRoleForCDE"}' \ + --language-code "es" \ + --schedule "0 0 18 ? * MON,WED,FRI *" \ + --vpc-configuration '{"SecurityGroupIds": ["sg-1234567890abcdef0"], "SubnetIds": ["subnet-1c234","subnet-2b134"]}' + +This command produces no output. + For more information, see `Getting started with an Amazon Kendra index and data source connector `__ in the *Amazon Kendra Developer Guide*. \ No newline at end of file diff --git a/awscli/examples/polly/get-speech-synthesis-task.rst b/awscli/examples/polly/get-speech-synthesis-task.rst index 3d25165e19b2..64b726d9c0c0 100644 --- a/awscli/examples/polly/get-speech-synthesis-task.rst +++ b/awscli/examples/polly/get-speech-synthesis-task.rst @@ -1,23 +1,23 @@ -**To get information about a speech synthesis task** - -The following ``get-speech-synthesis-task`` example retrieves information about the specified speech synthesis task. :: - - aws polly get-speech-synthesis-task \ - --task-id 70b61c0f-57ce-4715-a247-cae8729dcce9 - -Output:: - - { - "SynthesisTask": { - "TaskId": "70b61c0f-57ce-4715-a247-cae8729dcce9", - "TaskStatus": "completed", - "OutputUri": "https://s3.us-west-2.amazonaws.com/my-s3-bucket/70b61c0f-57ce-4715-a247-cae8729dcce9.mp3", - "CreationTime": 1603911042.689, - "RequestCharacters": 1311, - "OutputFormat": "mp3", - "TextType": "text", - "VoiceId": "Joanna" - } - } - -For more information, see `Creating long audio files `__ in the *Amazon Polly Developer Guide*. +**To get information about a speech synthesis task** + +The following ``get-speech-synthesis-task`` example retrieves information about the specified speech synthesis task. :: + + aws polly get-speech-synthesis-task \ + --task-id 70b61c0f-57ce-4715-a247-cae8729dcce9 + +Output:: + + { + "SynthesisTask": { + "TaskId": "70b61c0f-57ce-4715-a247-cae8729dcce9", + "TaskStatus": "completed", + "OutputUri": "https://s3.us-west-2.amazonaws.com/amzn-s3-demo-bucket/70b61c0f-57ce-4715-a247-cae8729dcce9.mp3", + "CreationTime": 1603911042.689, + "RequestCharacters": 1311, + "OutputFormat": "mp3", + "TextType": "text", + "VoiceId": "Joanna" + } + } + +For more information, see `Creating long audio files `__ in the *Amazon Polly Developer Guide*. diff --git a/awscli/examples/polly/list-speech-synthesis-tasks.rst b/awscli/examples/polly/list-speech-synthesis-tasks.rst index 99ba9891aa3c..5ddbdccb0cd0 100644 --- a/awscli/examples/polly/list-speech-synthesis-tasks.rst +++ b/awscli/examples/polly/list-speech-synthesis-tasks.rst @@ -1,25 +1,25 @@ -**To list your speech synthesis tasks** - -The following ``list-speech-synthesis-tasks`` example lists your speech synthesis tasks. :: - - aws polly list-speech-synthesis-tasks - -Output:: - - { - "SynthesisTasks": [ - { - "TaskId": "70b61c0f-57ce-4715-a247-cae8729dcce9", - "TaskStatus": "completed", - "OutputUri": "https://s3.us-west-2.amazonaws.com/my-s3-bucket/70b61c0f-57ce-4715-a247-cae8729dcce9.mp3", - "CreationTime": 1603911042.689, - "RequestCharacters": 1311, - "OutputFormat": "mp3", - "TextType": "text", - "VoiceId": "Joanna" - } - ] - } - -For more information, see `Creating long audio files `__ in the *Amazon Polly Developer Guide*. - +**To list your speech synthesis tasks** + +The following ``list-speech-synthesis-tasks`` example lists your speech synthesis tasks. :: + + aws polly list-speech-synthesis-tasks + +Output:: + + { + "SynthesisTasks": [ + { + "TaskId": "70b61c0f-57ce-4715-a247-cae8729dcce9", + "TaskStatus": "completed", + "OutputUri": "https://s3.us-west-2.amazonaws.com/amzn-s3-demo-bucket/70b61c0f-57ce-4715-a247-cae8729dcce9.mp3", + "CreationTime": 1603911042.689, + "RequestCharacters": 1311, + "OutputFormat": "mp3", + "TextType": "text", + "VoiceId": "Joanna" + } + ] + } + +For more information, see `Creating long audio files `__ in the *Amazon Polly Developer Guide*. + diff --git a/awscli/examples/polly/start-speech-synthesis-task.rst b/awscli/examples/polly/start-speech-synthesis-task.rst index aa85d49d52d3..740fcde3f1a6 100644 --- a/awscli/examples/polly/start-speech-synthesis-task.rst +++ b/awscli/examples/polly/start-speech-synthesis-task.rst @@ -1,27 +1,27 @@ -**To synthesize text** - -The following ``start-speech-synthesis-task`` example synthesizes the text in ``text_file.txt`` and stores the resulting MP3 file in the specified bucket. :: - - aws polly start-speech-synthesis-task \ - --output-format mp3 \ - --output-s3-bucket-name my-s3-bucket \ - --text file://text_file.txt \ - --voice-id Joanna - -Output:: - - { - "SynthesisTask": { - "TaskId": "70b61c0f-57ce-4715-a247-cae8729dcce9", - "TaskStatus": "scheduled", - "OutputUri": "https://s3.us-east-2.amazonaws.com/my-s3-bucket/70b61c0f-57ce-4715-a247-cae8729dcce9.mp3", - "CreationTime": 1603911042.689, - "RequestCharacters": 1311, - "OutputFormat": "mp3", - "TextType": "text", - "VoiceId": "Joanna" - } - } - -For more information, see `Creating long audio files `__ in the *Amazon Polly Developer Guide*. - +**To synthesize text** + +The following ``start-speech-synthesis-task`` example synthesizes the text in ``text_file.txt`` and stores the resulting MP3 file in the specified bucket. :: + + aws polly start-speech-synthesis-task \ + --output-format mp3 \ + --output-s3-bucket-name amzn-s3-demo-bucket \ + --text file://text_file.txt \ + --voice-id Joanna + +Output:: + + { + "SynthesisTask": { + "TaskId": "70b61c0f-57ce-4715-a247-cae8729dcce9", + "TaskStatus": "scheduled", + "OutputUri": "https://s3.us-east-2.amazonaws.com/amzn-s3-demo-bucket/70b61c0f-57ce-4715-a247-cae8729dcce9.mp3", + "CreationTime": 1603911042.689, + "RequestCharacters": 1311, + "OutputFormat": "mp3", + "TextType": "text", + "VoiceId": "Joanna" + } + } + +For more information, see `Creating long audio files `__ in the *Amazon Polly Developer Guide*. + From 0af2bb5cde1809f32d90bd06cf681e199eb25939 Mon Sep 17 00:00:00 2001 From: David Souther Date: Thu, 23 Jan 2025 10:07:00 -0500 Subject: [PATCH 0424/1087] Replaced /test-bucket/ with amzn-s3-demo-bucket (#9218) --- .../create-storage-configuration.rst | 40 ++++++------- .../get-storage-configuration.rst | 40 ++++++------- .../list-storage-configurations.rst | 58 +++++++++---------- 3 files changed, 69 insertions(+), 69 deletions(-) diff --git a/awscli/examples/ivs-realtime/create-storage-configuration.rst b/awscli/examples/ivs-realtime/create-storage-configuration.rst index 09d535e6c4a8..904e02a7b48d 100644 --- a/awscli/examples/ivs-realtime/create-storage-configuration.rst +++ b/awscli/examples/ivs-realtime/create-storage-configuration.rst @@ -1,21 +1,21 @@ -**To create a composition storage configuration** - -The following ``create-storage-configuration`` example creates a composition storage configuration with the specified properties. :: - - aws ivs-realtime create-storage-configuration \ - --name "test-sc" --s3 "bucketName=test-bucket-name" - -Output:: - - { - "storageConfiguration": { - "arn": "arn:aws:ivs:ap-northeast-1:123456789012:storage-configuration/ABabCDcdEFef", - "name": "test-sc", - "s3": { - "bucketName": "test-bucket-name" - }, - "tags": {} - } - } - +**To create a composition storage configuration** + +The following ``create-storage-configuration`` example creates a composition storage configuration with the specified properties. :: + + aws ivs-realtime create-storage-configuration \ + --name "test-sc" --s3 "bucketName=amzn-s3-demo-bucket" + +Output:: + + { + "storageConfiguration": { + "arn": "arn:aws:ivs:ap-northeast-1:123456789012:storage-configuration/ABabCDcdEFef", + "name": "test-sc", + "s3": { + "bucketName": "amzn-s3-demo-bucket" + }, + "tags": {} + } + } + For more information, see `Enabling Multiple Hosts on an Amazon IVS Stream `__ in the *Amazon Interactive Video Service User Guide*. \ No newline at end of file diff --git a/awscli/examples/ivs-realtime/get-storage-configuration.rst b/awscli/examples/ivs-realtime/get-storage-configuration.rst index 4d21230d8388..c04c3c2cfe02 100644 --- a/awscli/examples/ivs-realtime/get-storage-configuration.rst +++ b/awscli/examples/ivs-realtime/get-storage-configuration.rst @@ -1,21 +1,21 @@ -**To get a composition storage configuration** - -The following ``get-storage-configuration`` example gets the composition storage configuration specified by the given ARN (Amazon Resource Name). :: - - aws ivs-realtime get-storage-configuration \ - --name arn "arn:aws:ivs:ap-northeast-1:123456789012:storage-configuration/abcdABCDefgh" - -Output:: - - { - "storageConfiguration": { - "arn": "arn:aws:ivs:ap-northeast-1:123456789012:storage-configuration/abcdABCDefgh", - "name": "test-sc", - "s3": { - "bucketName": "test-bucket-name" - }, - "tags": {} - } - } - +**To get a composition storage configuration** + +The following ``get-storage-configuration`` example gets the composition storage configuration specified by the given ARN (Amazon Resource Name). :: + + aws ivs-realtime get-storage-configuration \ + --name arn "arn:aws:ivs:ap-northeast-1:123456789012:storage-configuration/abcdABCDefgh" + +Output:: + + { + "storageConfiguration": { + "arn": "arn:aws:ivs:ap-northeast-1:123456789012:storage-configuration/abcdABCDefgh", + "name": "test-sc", + "s3": { + "bucketName": "amzn-s3-demo-bucket" + }, + "tags": {} + } + } + For more information, see `Enabling Multiple Hosts on an Amazon IVS Stream `__ in the *Amazon Interactive Video Service User Guide*. \ No newline at end of file diff --git a/awscli/examples/ivs-realtime/list-storage-configurations.rst b/awscli/examples/ivs-realtime/list-storage-configurations.rst index dbcbc29fa946..11bd1f872fae 100644 --- a/awscli/examples/ivs-realtime/list-storage-configurations.rst +++ b/awscli/examples/ivs-realtime/list-storage-configurations.rst @@ -1,30 +1,30 @@ -**To list composition storage configurations** - -The following ``list-storage-configurations`` lists all composition storage configurations for your AWS account, in the AWS region where the API request is processed. :: - - aws ivs-realtime list-storage-configurations - -Output:: - - { - "storageConfigurations": [ - { - "arn": "arn:aws:ivs:ap-northeast-1:123456789012:storage-configuration/abcdABCDefgh", - "name": "test-sc-1", - "s3": { - "bucketName": "test-bucket-1-name" - }, - "tags": {} - }, - { - "arn": "arn:aws:ivs:ap-northeast-1:123456789012:storage-configuration/ABCefgEFGabc", - "name": "test-sc-2", - "s3": { - "bucketName": "test-bucket-2-name" - }, - "tags": {} - } - ] - } - +**To list composition storage configurations** + +The following ``list-storage-configurations`` lists all composition storage configurations for your AWS account, in the AWS region where the API request is processed. :: + + aws ivs-realtime list-storage-configurations + +Output:: + + { + "storageConfigurations": [ + { + "arn": "arn:aws:ivs:ap-northeast-1:123456789012:storage-configuration/abcdABCDefgh", + "name": "test-sc-1", + "s3": { + "bucketName": "amzn-s3-demo-bucket-1" + }, + "tags": {} + }, + { + "arn": "arn:aws:ivs:ap-northeast-1:123456789012:storage-configuration/ABCefgEFGabc", + "name": "test-sc-2", + "s3": { + "bucketName": "amzn-s3-demo-bucket-2" + }, + "tags": {} + } + ] + } + For more information, see `Enabling Multiple Hosts on an Amazon IVS Stream `__ in the *Amazon Interactive Video Service User Guide*. \ No newline at end of file From b4042fa1467b6f1ad7b7be89fe63a309285718fd Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 23 Jan 2025 19:06:20 +0000 Subject: [PATCH 0425/1087] Update changelog based on model updates --- .changes/next-release/api-change-ec2-16179.json | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changes/next-release/api-change-ec2-16179.json diff --git a/.changes/next-release/api-change-ec2-16179.json b/.changes/next-release/api-change-ec2-16179.json new file mode 100644 index 000000000000..ab541216c7b3 --- /dev/null +++ b/.changes/next-release/api-change-ec2-16179.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ec2``", + "description": "Added \"future\" allocation type for future dated capacity reservation" +} From 9d2a24d165e12a258921e40479b44e2f8ee7d1b1 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 23 Jan 2025 19:07:31 +0000 Subject: [PATCH 0426/1087] Bumping version to 1.37.5 --- .changes/1.37.5.json | 7 +++++++ .changes/next-release/api-change-ec2-16179.json | 5 ----- CHANGELOG.rst | 6 ++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 7 files changed, 17 insertions(+), 9 deletions(-) create mode 100644 .changes/1.37.5.json delete mode 100644 .changes/next-release/api-change-ec2-16179.json diff --git a/.changes/1.37.5.json b/.changes/1.37.5.json new file mode 100644 index 000000000000..80c9496ad909 --- /dev/null +++ b/.changes/1.37.5.json @@ -0,0 +1,7 @@ +[ + { + "category": "``ec2``", + "description": "Added \"future\" allocation type for future dated capacity reservation", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-ec2-16179.json b/.changes/next-release/api-change-ec2-16179.json deleted file mode 100644 index ab541216c7b3..000000000000 --- a/.changes/next-release/api-change-ec2-16179.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ec2``", - "description": "Added \"future\" allocation type for future dated capacity reservation" -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index a266c390f68d..eef44f3223fc 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,12 @@ CHANGELOG ========= +1.37.5 +====== + +* api-change:``ec2``: Added "future" allocation type for future dated capacity reservation + + 1.37.4 ====== diff --git a/awscli/__init__.py b/awscli/__init__.py index 6cf2e8f3c93a..2f364c212850 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.37.4' +__version__ = '1.37.5' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 716ee5cd738b..0a50f866157e 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.37' # The full version, including alpha/beta/rc tags. -release = '1.37.4' +release = '1.37.5' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 2a66df070e66..6f887215aa4f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.36.4 + botocore==1.36.5 docutils>=0.10,<0.17 s3transfer>=0.11.0,<0.12.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 0afeb9e59a69..9a47ba0bb43e 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.36.4', + 'botocore==1.36.5', 'docutils>=0.10,<0.17', 's3transfer>=0.11.0,<0.12.0', 'PyYAML>=3.10,<6.1', From 999ec3bf7d03d7b47c92f9eea1794e3f43daba87 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 24 Jan 2025 19:09:09 +0000 Subject: [PATCH 0427/1087] Update changelog based on model updates --- .changes/next-release/api-change-cloudtrail-36607.json | 5 +++++ .changes/next-release/api-change-eks-232.json | 5 +++++ .changes/next-release/api-change-healthlake-82857.json | 5 +++++ .changes/next-release/api-change-ssm-64132.json | 5 +++++ .changes/next-release/api-change-ssooidc-68527.json | 5 +++++ .changes/next-release/api-change-transfer-88750.json | 5 +++++ 6 files changed, 30 insertions(+) create mode 100644 .changes/next-release/api-change-cloudtrail-36607.json create mode 100644 .changes/next-release/api-change-eks-232.json create mode 100644 .changes/next-release/api-change-healthlake-82857.json create mode 100644 .changes/next-release/api-change-ssm-64132.json create mode 100644 .changes/next-release/api-change-ssooidc-68527.json create mode 100644 .changes/next-release/api-change-transfer-88750.json diff --git a/.changes/next-release/api-change-cloudtrail-36607.json b/.changes/next-release/api-change-cloudtrail-36607.json new file mode 100644 index 000000000000..c2c4ab590a88 --- /dev/null +++ b/.changes/next-release/api-change-cloudtrail-36607.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``cloudtrail``", + "description": "This release introduces the SearchSampleQueries API that allows users to search for CloudTrail Lake sample queries." +} diff --git a/.changes/next-release/api-change-eks-232.json b/.changes/next-release/api-change-eks-232.json new file mode 100644 index 000000000000..4b15c9d3f0e0 --- /dev/null +++ b/.changes/next-release/api-change-eks-232.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``eks``", + "description": "Adds support for UpdateStrategies in EKS Managed Node Groups." +} diff --git a/.changes/next-release/api-change-healthlake-82857.json b/.changes/next-release/api-change-healthlake-82857.json new file mode 100644 index 000000000000..420a6facf607 --- /dev/null +++ b/.changes/next-release/api-change-healthlake-82857.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``healthlake``", + "description": "Added new authorization strategy value 'SMART_ON_FHIR' for CreateFHIRDatastore API to support Smart App 2.0" +} diff --git a/.changes/next-release/api-change-ssm-64132.json b/.changes/next-release/api-change-ssm-64132.json new file mode 100644 index 000000000000..ff8babc6660e --- /dev/null +++ b/.changes/next-release/api-change-ssm-64132.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ssm``", + "description": "Systems Manager doc-only update for January, 2025." +} diff --git a/.changes/next-release/api-change-ssooidc-68527.json b/.changes/next-release/api-change-ssooidc-68527.json new file mode 100644 index 000000000000..4835f24e12eb --- /dev/null +++ b/.changes/next-release/api-change-ssooidc-68527.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``sso-oidc``", + "description": "Fixed typos in the descriptions." +} diff --git a/.changes/next-release/api-change-transfer-88750.json b/.changes/next-release/api-change-transfer-88750.json new file mode 100644 index 000000000000..7c437d737a29 --- /dev/null +++ b/.changes/next-release/api-change-transfer-88750.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``transfer``", + "description": "Added CustomDirectories as a new directory option for storing inbound AS2 messages, MDN files and Status files." +} From 8ad1ce6c448cba9a1ddbd6a4f2a2d8731c981401 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 24 Jan 2025 19:10:33 +0000 Subject: [PATCH 0428/1087] Bumping version to 1.37.6 --- .changes/1.37.6.json | 32 +++++++++++++++++++ .../api-change-cloudtrail-36607.json | 5 --- .changes/next-release/api-change-eks-232.json | 5 --- .../api-change-healthlake-82857.json | 5 --- .../next-release/api-change-ssm-64132.json | 5 --- .../api-change-ssooidc-68527.json | 5 --- .../api-change-transfer-88750.json | 5 --- CHANGELOG.rst | 11 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 12 files changed, 47 insertions(+), 34 deletions(-) create mode 100644 .changes/1.37.6.json delete mode 100644 .changes/next-release/api-change-cloudtrail-36607.json delete mode 100644 .changes/next-release/api-change-eks-232.json delete mode 100644 .changes/next-release/api-change-healthlake-82857.json delete mode 100644 .changes/next-release/api-change-ssm-64132.json delete mode 100644 .changes/next-release/api-change-ssooidc-68527.json delete mode 100644 .changes/next-release/api-change-transfer-88750.json diff --git a/.changes/1.37.6.json b/.changes/1.37.6.json new file mode 100644 index 000000000000..e57e3527f4da --- /dev/null +++ b/.changes/1.37.6.json @@ -0,0 +1,32 @@ +[ + { + "category": "``cloudtrail``", + "description": "This release introduces the SearchSampleQueries API that allows users to search for CloudTrail Lake sample queries.", + "type": "api-change" + }, + { + "category": "``eks``", + "description": "Adds support for UpdateStrategies in EKS Managed Node Groups.", + "type": "api-change" + }, + { + "category": "``healthlake``", + "description": "Added new authorization strategy value 'SMART_ON_FHIR' for CreateFHIRDatastore API to support Smart App 2.0", + "type": "api-change" + }, + { + "category": "``ssm``", + "description": "Systems Manager doc-only update for January, 2025.", + "type": "api-change" + }, + { + "category": "``sso-oidc``", + "description": "Fixed typos in the descriptions.", + "type": "api-change" + }, + { + "category": "``transfer``", + "description": "Added CustomDirectories as a new directory option for storing inbound AS2 messages, MDN files and Status files.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-cloudtrail-36607.json b/.changes/next-release/api-change-cloudtrail-36607.json deleted file mode 100644 index c2c4ab590a88..000000000000 --- a/.changes/next-release/api-change-cloudtrail-36607.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``cloudtrail``", - "description": "This release introduces the SearchSampleQueries API that allows users to search for CloudTrail Lake sample queries." -} diff --git a/.changes/next-release/api-change-eks-232.json b/.changes/next-release/api-change-eks-232.json deleted file mode 100644 index 4b15c9d3f0e0..000000000000 --- a/.changes/next-release/api-change-eks-232.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``eks``", - "description": "Adds support for UpdateStrategies in EKS Managed Node Groups." -} diff --git a/.changes/next-release/api-change-healthlake-82857.json b/.changes/next-release/api-change-healthlake-82857.json deleted file mode 100644 index 420a6facf607..000000000000 --- a/.changes/next-release/api-change-healthlake-82857.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``healthlake``", - "description": "Added new authorization strategy value 'SMART_ON_FHIR' for CreateFHIRDatastore API to support Smart App 2.0" -} diff --git a/.changes/next-release/api-change-ssm-64132.json b/.changes/next-release/api-change-ssm-64132.json deleted file mode 100644 index ff8babc6660e..000000000000 --- a/.changes/next-release/api-change-ssm-64132.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ssm``", - "description": "Systems Manager doc-only update for January, 2025." -} diff --git a/.changes/next-release/api-change-ssooidc-68527.json b/.changes/next-release/api-change-ssooidc-68527.json deleted file mode 100644 index 4835f24e12eb..000000000000 --- a/.changes/next-release/api-change-ssooidc-68527.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``sso-oidc``", - "description": "Fixed typos in the descriptions." -} diff --git a/.changes/next-release/api-change-transfer-88750.json b/.changes/next-release/api-change-transfer-88750.json deleted file mode 100644 index 7c437d737a29..000000000000 --- a/.changes/next-release/api-change-transfer-88750.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``transfer``", - "description": "Added CustomDirectories as a new directory option for storing inbound AS2 messages, MDN files and Status files." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index eef44f3223fc..8823ec7ec56e 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,17 @@ CHANGELOG ========= +1.37.6 +====== + +* api-change:``cloudtrail``: This release introduces the SearchSampleQueries API that allows users to search for CloudTrail Lake sample queries. +* api-change:``eks``: Adds support for UpdateStrategies in EKS Managed Node Groups. +* api-change:``healthlake``: Added new authorization strategy value 'SMART_ON_FHIR' for CreateFHIRDatastore API to support Smart App 2.0 +* api-change:``ssm``: Systems Manager doc-only update for January, 2025. +* api-change:``sso-oidc``: Fixed typos in the descriptions. +* api-change:``transfer``: Added CustomDirectories as a new directory option for storing inbound AS2 messages, MDN files and Status files. + + 1.37.5 ====== diff --git a/awscli/__init__.py b/awscli/__init__.py index 2f364c212850..2fa36fae879a 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.37.5' +__version__ = '1.37.6' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 0a50f866157e..8d0ef79f7ff8 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.37' # The full version, including alpha/beta/rc tags. -release = '1.37.5' +release = '1.37.6' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 6f887215aa4f..320fc837a193 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.36.5 + botocore==1.36.6 docutils>=0.10,<0.17 s3transfer>=0.11.0,<0.12.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 9a47ba0bb43e..408a22b0ef6a 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.36.5', + 'botocore==1.36.6', 'docutils>=0.10,<0.17', 's3transfer>=0.11.0,<0.12.0', 'PyYAML>=3.10,<6.1', From cc247b66cde8666c45a14500b89b77c5eb63c889 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 26 Jan 2025 06:46:51 +0000 Subject: [PATCH 0429/1087] Bump actions/stale from 9.0.0 to 9.1.0 Bumps [actions/stale](https://github.com/actions/stale) from 9.0.0 to 9.1.0. - [Release notes](https://github.com/actions/stale/releases) - [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/stale/compare/28ca1036281a5e5922ead5184a1bbf96e5fc984e...5bef64f19d7facfb25b37b414482c7164d639639) --- updated-dependencies: - dependency-name: actions/stale dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/stale_community_prs.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/stale_community_prs.yml b/.github/workflows/stale_community_prs.yml index 95db22970161..b2d96702025b 100644 --- a/.github/workflows/stale_community_prs.yml +++ b/.github/workflows/stale_community_prs.yml @@ -5,7 +5,7 @@ jobs: stale-implementation-stage: runs-on: ubuntu-latest steps: - - uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e + - uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639 with: debug-only: true repo-token: ${{ secrets.GITHUB_TOKEN }} @@ -25,7 +25,7 @@ jobs: stale-review-stage: runs-on: ubuntu-latest steps: - - uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e + - uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639 with: debug-only: true repo-token: ${{ secrets.GITHUB_TOKEN }} @@ -43,7 +43,7 @@ jobs: labels-to-add-when-unstale: responded exempt-pr-labels: responded,maintainers # Forces PRs to be skipped if these are not removed by maintainers. close-pr-label: DONTUSE - - uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e + - uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639 with: debug-only: true repo-token: ${{ secrets.GITHUB_TOKEN }} From b8018aa4b414eee4243de3412cbca5a084507ac6 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 27 Jan 2025 19:25:16 +0000 Subject: [PATCH 0430/1087] Update changelog based on model updates --- .changes/next-release/api-change-bedrockagent-6471.json | 5 +++++ .changes/next-release/api-change-iot-70823.json | 5 +++++ .changes/next-release/api-change-mediaconvert-94932.json | 5 +++++ .changes/next-release/api-change-s3control-33658.json | 5 +++++ 4 files changed, 20 insertions(+) create mode 100644 .changes/next-release/api-change-bedrockagent-6471.json create mode 100644 .changes/next-release/api-change-iot-70823.json create mode 100644 .changes/next-release/api-change-mediaconvert-94932.json create mode 100644 .changes/next-release/api-change-s3control-33658.json diff --git a/.changes/next-release/api-change-bedrockagent-6471.json b/.changes/next-release/api-change-bedrockagent-6471.json new file mode 100644 index 000000000000..2bd0f14710ad --- /dev/null +++ b/.changes/next-release/api-change-bedrockagent-6471.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-agent``", + "description": "Add support for the prompt caching feature for Bedrock Prompt Management" +} diff --git a/.changes/next-release/api-change-iot-70823.json b/.changes/next-release/api-change-iot-70823.json new file mode 100644 index 000000000000..d867037b2ba8 --- /dev/null +++ b/.changes/next-release/api-change-iot-70823.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``iot``", + "description": "Raised the documentParameters size limit to 30 KB for AWS IoT Device Management - Jobs." +} diff --git a/.changes/next-release/api-change-mediaconvert-94932.json b/.changes/next-release/api-change-mediaconvert-94932.json new file mode 100644 index 000000000000..dc903f143f72 --- /dev/null +++ b/.changes/next-release/api-change-mediaconvert-94932.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``mediaconvert``", + "description": "This release adds support for dynamic audio configuration and the ability to disable the deblocking filter for h265 encodes." +} diff --git a/.changes/next-release/api-change-s3control-33658.json b/.changes/next-release/api-change-s3control-33658.json new file mode 100644 index 000000000000..1262c246fe4d --- /dev/null +++ b/.changes/next-release/api-change-s3control-33658.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``s3control``", + "description": "Minor fix to ARN validation for Lambda functions passed to S3 Batch Operations" +} From fd865d9c56f0d1a594bf236583fbf5579deced4c Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 27 Jan 2025 19:26:39 +0000 Subject: [PATCH 0431/1087] Bumping version to 1.37.7 --- .changes/1.37.7.json | 22 +++++++++++++++++++ .../api-change-bedrockagent-6471.json | 5 ----- .../next-release/api-change-iot-70823.json | 5 ----- .../api-change-mediaconvert-94932.json | 5 ----- .../api-change-s3control-33658.json | 5 ----- CHANGELOG.rst | 9 ++++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 10 files changed, 35 insertions(+), 24 deletions(-) create mode 100644 .changes/1.37.7.json delete mode 100644 .changes/next-release/api-change-bedrockagent-6471.json delete mode 100644 .changes/next-release/api-change-iot-70823.json delete mode 100644 .changes/next-release/api-change-mediaconvert-94932.json delete mode 100644 .changes/next-release/api-change-s3control-33658.json diff --git a/.changes/1.37.7.json b/.changes/1.37.7.json new file mode 100644 index 000000000000..aa1b97abae8f --- /dev/null +++ b/.changes/1.37.7.json @@ -0,0 +1,22 @@ +[ + { + "category": "``bedrock-agent``", + "description": "Add support for the prompt caching feature for Bedrock Prompt Management", + "type": "api-change" + }, + { + "category": "``iot``", + "description": "Raised the documentParameters size limit to 30 KB for AWS IoT Device Management - Jobs.", + "type": "api-change" + }, + { + "category": "``mediaconvert``", + "description": "This release adds support for dynamic audio configuration and the ability to disable the deblocking filter for h265 encodes.", + "type": "api-change" + }, + { + "category": "``s3control``", + "description": "Minor fix to ARN validation for Lambda functions passed to S3 Batch Operations", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-bedrockagent-6471.json b/.changes/next-release/api-change-bedrockagent-6471.json deleted file mode 100644 index 2bd0f14710ad..000000000000 --- a/.changes/next-release/api-change-bedrockagent-6471.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-agent``", - "description": "Add support for the prompt caching feature for Bedrock Prompt Management" -} diff --git a/.changes/next-release/api-change-iot-70823.json b/.changes/next-release/api-change-iot-70823.json deleted file mode 100644 index d867037b2ba8..000000000000 --- a/.changes/next-release/api-change-iot-70823.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``iot``", - "description": "Raised the documentParameters size limit to 30 KB for AWS IoT Device Management - Jobs." -} diff --git a/.changes/next-release/api-change-mediaconvert-94932.json b/.changes/next-release/api-change-mediaconvert-94932.json deleted file mode 100644 index dc903f143f72..000000000000 --- a/.changes/next-release/api-change-mediaconvert-94932.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``mediaconvert``", - "description": "This release adds support for dynamic audio configuration and the ability to disable the deblocking filter for h265 encodes." -} diff --git a/.changes/next-release/api-change-s3control-33658.json b/.changes/next-release/api-change-s3control-33658.json deleted file mode 100644 index 1262c246fe4d..000000000000 --- a/.changes/next-release/api-change-s3control-33658.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``s3control``", - "description": "Minor fix to ARN validation for Lambda functions passed to S3 Batch Operations" -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 8823ec7ec56e..a285a840422d 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,15 @@ CHANGELOG ========= +1.37.7 +====== + +* api-change:``bedrock-agent``: Add support for the prompt caching feature for Bedrock Prompt Management +* api-change:``iot``: Raised the documentParameters size limit to 30 KB for AWS IoT Device Management - Jobs. +* api-change:``mediaconvert``: This release adds support for dynamic audio configuration and the ability to disable the deblocking filter for h265 encodes. +* api-change:``s3control``: Minor fix to ARN validation for Lambda functions passed to S3 Batch Operations + + 1.37.6 ====== diff --git a/awscli/__init__.py b/awscli/__init__.py index 2fa36fae879a..14cac30ab0d8 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.37.6' +__version__ = '1.37.7' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 8d0ef79f7ff8..2faa002c4ae4 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.37' # The full version, including alpha/beta/rc tags. -release = '1.37.6' +release = '1.37.7' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 320fc837a193..7afa34706849 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.36.6 + botocore==1.36.7 docutils>=0.10,<0.17 s3transfer>=0.11.0,<0.12.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 408a22b0ef6a..784839c71874 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.36.6', + 'botocore==1.36.7', 'docutils>=0.10,<0.17', 's3transfer>=0.11.0,<0.12.0', 'PyYAML>=3.10,<6.1', From 3c7710a6f686926f92304fae72c35dfe8e3ec5da Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 28 Jan 2025 19:05:00 +0000 Subject: [PATCH 0432/1087] Update changelog based on model updates --- .changes/next-release/api-change-appsync-58845.json | 5 +++++ .changes/next-release/api-change-datasync-68295.json | 5 +++++ .changes/next-release/api-change-deadline-14575.json | 5 +++++ .changes/next-release/api-change-ec2-63702.json | 5 +++++ .changes/next-release/api-change-firehose-44296.json | 5 +++++ .../next-release/api-change-timestreaminfluxdb-48638.json | 5 +++++ 6 files changed, 30 insertions(+) create mode 100644 .changes/next-release/api-change-appsync-58845.json create mode 100644 .changes/next-release/api-change-datasync-68295.json create mode 100644 .changes/next-release/api-change-deadline-14575.json create mode 100644 .changes/next-release/api-change-ec2-63702.json create mode 100644 .changes/next-release/api-change-firehose-44296.json create mode 100644 .changes/next-release/api-change-timestreaminfluxdb-48638.json diff --git a/.changes/next-release/api-change-appsync-58845.json b/.changes/next-release/api-change-appsync-58845.json new file mode 100644 index 000000000000..79f45cb3ec3f --- /dev/null +++ b/.changes/next-release/api-change-appsync-58845.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``appsync``", + "description": "Add stash and outErrors to EvaluateCode/EvaluateMappingTemplate response" +} diff --git a/.changes/next-release/api-change-datasync-68295.json b/.changes/next-release/api-change-datasync-68295.json new file mode 100644 index 000000000000..227baef6e358 --- /dev/null +++ b/.changes/next-release/api-change-datasync-68295.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``datasync``", + "description": "AWS DataSync now supports the Kerberos authentication protocol for SMB locations." +} diff --git a/.changes/next-release/api-change-deadline-14575.json b/.changes/next-release/api-change-deadline-14575.json new file mode 100644 index 000000000000..2faeee6af059 --- /dev/null +++ b/.changes/next-release/api-change-deadline-14575.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``deadline``", + "description": "feature: Deadline: Add support for limiting the concurrent usage of external resources, like floating licenses, using limits and the ability to constrain the maximum number of workers that work on a job" +} diff --git a/.changes/next-release/api-change-ec2-63702.json b/.changes/next-release/api-change-ec2-63702.json new file mode 100644 index 000000000000..e0360705ef6c --- /dev/null +++ b/.changes/next-release/api-change-ec2-63702.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ec2``", + "description": "This release changes the CreateFleet CLI and SDK's such that if you do not specify a client token, a randomly generated token is used for the request to ensure idempotency." +} diff --git a/.changes/next-release/api-change-firehose-44296.json b/.changes/next-release/api-change-firehose-44296.json new file mode 100644 index 000000000000..f5c8e1e1e21a --- /dev/null +++ b/.changes/next-release/api-change-firehose-44296.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``firehose``", + "description": "For AppendOnly streams, Firehose will automatically scale to match your throughput." +} diff --git a/.changes/next-release/api-change-timestreaminfluxdb-48638.json b/.changes/next-release/api-change-timestreaminfluxdb-48638.json new file mode 100644 index 000000000000..4ea61fd26434 --- /dev/null +++ b/.changes/next-release/api-change-timestreaminfluxdb-48638.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``timestream-influxdb``", + "description": "Adds 'allocatedStorage' parameter to UpdateDbInstance API that allows increasing the database instance storage size and 'dbStorageType' parameter to UpdateDbInstance API that allows changing the storage type of the database instance" +} From ffdf801b7390ef88a8600c29db2dc4480eba7c9c Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 28 Jan 2025 19:06:30 +0000 Subject: [PATCH 0433/1087] Bumping version to 1.37.8 --- .changes/1.37.8.json | 32 +++++++++++++++++++ .../api-change-appsync-58845.json | 5 --- .../api-change-datasync-68295.json | 5 --- .../api-change-deadline-14575.json | 5 --- .../next-release/api-change-ec2-63702.json | 5 --- .../api-change-firehose-44296.json | 5 --- .../api-change-timestreaminfluxdb-48638.json | 5 --- CHANGELOG.rst | 11 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 12 files changed, 47 insertions(+), 34 deletions(-) create mode 100644 .changes/1.37.8.json delete mode 100644 .changes/next-release/api-change-appsync-58845.json delete mode 100644 .changes/next-release/api-change-datasync-68295.json delete mode 100644 .changes/next-release/api-change-deadline-14575.json delete mode 100644 .changes/next-release/api-change-ec2-63702.json delete mode 100644 .changes/next-release/api-change-firehose-44296.json delete mode 100644 .changes/next-release/api-change-timestreaminfluxdb-48638.json diff --git a/.changes/1.37.8.json b/.changes/1.37.8.json new file mode 100644 index 000000000000..e68e5acbb29b --- /dev/null +++ b/.changes/1.37.8.json @@ -0,0 +1,32 @@ +[ + { + "category": "``appsync``", + "description": "Add stash and outErrors to EvaluateCode/EvaluateMappingTemplate response", + "type": "api-change" + }, + { + "category": "``datasync``", + "description": "AWS DataSync now supports the Kerberos authentication protocol for SMB locations.", + "type": "api-change" + }, + { + "category": "``deadline``", + "description": "feature: Deadline: Add support for limiting the concurrent usage of external resources, like floating licenses, using limits and the ability to constrain the maximum number of workers that work on a job", + "type": "api-change" + }, + { + "category": "``ec2``", + "description": "This release changes the CreateFleet CLI and SDK's such that if you do not specify a client token, a randomly generated token is used for the request to ensure idempotency.", + "type": "api-change" + }, + { + "category": "``firehose``", + "description": "For AppendOnly streams, Firehose will automatically scale to match your throughput.", + "type": "api-change" + }, + { + "category": "``timestream-influxdb``", + "description": "Adds 'allocatedStorage' parameter to UpdateDbInstance API that allows increasing the database instance storage size and 'dbStorageType' parameter to UpdateDbInstance API that allows changing the storage type of the database instance", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-appsync-58845.json b/.changes/next-release/api-change-appsync-58845.json deleted file mode 100644 index 79f45cb3ec3f..000000000000 --- a/.changes/next-release/api-change-appsync-58845.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``appsync``", - "description": "Add stash and outErrors to EvaluateCode/EvaluateMappingTemplate response" -} diff --git a/.changes/next-release/api-change-datasync-68295.json b/.changes/next-release/api-change-datasync-68295.json deleted file mode 100644 index 227baef6e358..000000000000 --- a/.changes/next-release/api-change-datasync-68295.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``datasync``", - "description": "AWS DataSync now supports the Kerberos authentication protocol for SMB locations." -} diff --git a/.changes/next-release/api-change-deadline-14575.json b/.changes/next-release/api-change-deadline-14575.json deleted file mode 100644 index 2faeee6af059..000000000000 --- a/.changes/next-release/api-change-deadline-14575.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``deadline``", - "description": "feature: Deadline: Add support for limiting the concurrent usage of external resources, like floating licenses, using limits and the ability to constrain the maximum number of workers that work on a job" -} diff --git a/.changes/next-release/api-change-ec2-63702.json b/.changes/next-release/api-change-ec2-63702.json deleted file mode 100644 index e0360705ef6c..000000000000 --- a/.changes/next-release/api-change-ec2-63702.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ec2``", - "description": "This release changes the CreateFleet CLI and SDK's such that if you do not specify a client token, a randomly generated token is used for the request to ensure idempotency." -} diff --git a/.changes/next-release/api-change-firehose-44296.json b/.changes/next-release/api-change-firehose-44296.json deleted file mode 100644 index f5c8e1e1e21a..000000000000 --- a/.changes/next-release/api-change-firehose-44296.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``firehose``", - "description": "For AppendOnly streams, Firehose will automatically scale to match your throughput." -} diff --git a/.changes/next-release/api-change-timestreaminfluxdb-48638.json b/.changes/next-release/api-change-timestreaminfluxdb-48638.json deleted file mode 100644 index 4ea61fd26434..000000000000 --- a/.changes/next-release/api-change-timestreaminfluxdb-48638.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``timestream-influxdb``", - "description": "Adds 'allocatedStorage' parameter to UpdateDbInstance API that allows increasing the database instance storage size and 'dbStorageType' parameter to UpdateDbInstance API that allows changing the storage type of the database instance" -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index a285a840422d..6425c1877911 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,17 @@ CHANGELOG ========= +1.37.8 +====== + +* api-change:``appsync``: Add stash and outErrors to EvaluateCode/EvaluateMappingTemplate response +* api-change:``datasync``: AWS DataSync now supports the Kerberos authentication protocol for SMB locations. +* api-change:``deadline``: feature: Deadline: Add support for limiting the concurrent usage of external resources, like floating licenses, using limits and the ability to constrain the maximum number of workers that work on a job +* api-change:``ec2``: This release changes the CreateFleet CLI and SDK's such that if you do not specify a client token, a randomly generated token is used for the request to ensure idempotency. +* api-change:``firehose``: For AppendOnly streams, Firehose will automatically scale to match your throughput. +* api-change:``timestream-influxdb``: Adds 'allocatedStorage' parameter to UpdateDbInstance API that allows increasing the database instance storage size and 'dbStorageType' parameter to UpdateDbInstance API that allows changing the storage type of the database instance + + 1.37.7 ====== diff --git a/awscli/__init__.py b/awscli/__init__.py index 14cac30ab0d8..e0cd413f36bc 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.37.7' +__version__ = '1.37.8' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 2faa002c4ae4..2c8a564cb5d2 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.37' # The full version, including alpha/beta/rc tags. -release = '1.37.7' +release = '1.37.8' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 7afa34706849..2db18e0b9178 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.36.7 + botocore==1.36.8 docutils>=0.10,<0.17 s3transfer>=0.11.0,<0.12.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 784839c71874..16256b5c4430 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.36.7', + 'botocore==1.36.8', 'docutils>=0.10,<0.17', 's3transfer>=0.11.0,<0.12.0', 'PyYAML>=3.10,<6.1', From 55b3fc469908bcc1aaf2808af3e0075a41d7586d Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 29 Jan 2025 19:39:56 +0000 Subject: [PATCH 0434/1087] Update changelog based on model updates --- .../next-release/api-change-bcmpricingcalculator-10506.json | 5 +++++ .changes/next-release/api-change-ecr-7376.json | 5 +++++ .changes/next-release/api-change-ecrpublic-72985.json | 5 +++++ .changes/next-release/api-change-mailmanager-72260.json | 5 +++++ .changes/next-release/api-change-s3-36828.json | 5 +++++ 5 files changed, 25 insertions(+) create mode 100644 .changes/next-release/api-change-bcmpricingcalculator-10506.json create mode 100644 .changes/next-release/api-change-ecr-7376.json create mode 100644 .changes/next-release/api-change-ecrpublic-72985.json create mode 100644 .changes/next-release/api-change-mailmanager-72260.json create mode 100644 .changes/next-release/api-change-s3-36828.json diff --git a/.changes/next-release/api-change-bcmpricingcalculator-10506.json b/.changes/next-release/api-change-bcmpricingcalculator-10506.json new file mode 100644 index 000000000000..97517732c86f --- /dev/null +++ b/.changes/next-release/api-change-bcmpricingcalculator-10506.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bcm-pricing-calculator``", + "description": "Added ConflictException error type in DeleteBillScenario, BatchDeleteBillScenarioCommitmentModification, BatchDeleteBillScenarioUsageModification, BatchUpdateBillScenarioUsageModification, and BatchUpdateBillScenarioCommitmentModification API operations." +} diff --git a/.changes/next-release/api-change-ecr-7376.json b/.changes/next-release/api-change-ecr-7376.json new file mode 100644 index 000000000000..8b053ac28dcf --- /dev/null +++ b/.changes/next-release/api-change-ecr-7376.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ecr``", + "description": "Add support for Dualstack and Dualstack-with-FIPS Endpoints" +} diff --git a/.changes/next-release/api-change-ecrpublic-72985.json b/.changes/next-release/api-change-ecrpublic-72985.json new file mode 100644 index 000000000000..b79cc45620b0 --- /dev/null +++ b/.changes/next-release/api-change-ecrpublic-72985.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ecr-public``", + "description": "Add support for Dualstack Endpoints" +} diff --git a/.changes/next-release/api-change-mailmanager-72260.json b/.changes/next-release/api-change-mailmanager-72260.json new file mode 100644 index 000000000000..a4d98f807fa2 --- /dev/null +++ b/.changes/next-release/api-change-mailmanager-72260.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``mailmanager``", + "description": "This release includes a new feature for Amazon SES Mail Manager which allows customers to specify known addresses and domains and make use of those in traffic policies and rules actions to distinguish between known and unknown entries." +} diff --git a/.changes/next-release/api-change-s3-36828.json b/.changes/next-release/api-change-s3-36828.json new file mode 100644 index 000000000000..4c6cd90a99fd --- /dev/null +++ b/.changes/next-release/api-change-s3-36828.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``s3``", + "description": "Change the type of MpuObjectSize in CompleteMultipartUploadRequest from int to long." +} From 3f5469aa1e9d98b4bb934a8f98ea5845f27b3735 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 29 Jan 2025 19:41:11 +0000 Subject: [PATCH 0435/1087] Bumping version to 1.37.9 --- .changes/1.37.9.json | 27 +++++++++++++++++++ ...api-change-bcmpricingcalculator-10506.json | 5 ---- .../next-release/api-change-ecr-7376.json | 5 ---- .../api-change-ecrpublic-72985.json | 5 ---- .../api-change-mailmanager-72260.json | 5 ---- .../next-release/api-change-s3-36828.json | 5 ---- CHANGELOG.rst | 10 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 11 files changed, 41 insertions(+), 29 deletions(-) create mode 100644 .changes/1.37.9.json delete mode 100644 .changes/next-release/api-change-bcmpricingcalculator-10506.json delete mode 100644 .changes/next-release/api-change-ecr-7376.json delete mode 100644 .changes/next-release/api-change-ecrpublic-72985.json delete mode 100644 .changes/next-release/api-change-mailmanager-72260.json delete mode 100644 .changes/next-release/api-change-s3-36828.json diff --git a/.changes/1.37.9.json b/.changes/1.37.9.json new file mode 100644 index 000000000000..b24ad64671b9 --- /dev/null +++ b/.changes/1.37.9.json @@ -0,0 +1,27 @@ +[ + { + "category": "``bcm-pricing-calculator``", + "description": "Added ConflictException error type in DeleteBillScenario, BatchDeleteBillScenarioCommitmentModification, BatchDeleteBillScenarioUsageModification, BatchUpdateBillScenarioUsageModification, and BatchUpdateBillScenarioCommitmentModification API operations.", + "type": "api-change" + }, + { + "category": "``ecr``", + "description": "Add support for Dualstack and Dualstack-with-FIPS Endpoints", + "type": "api-change" + }, + { + "category": "``ecr-public``", + "description": "Add support for Dualstack Endpoints", + "type": "api-change" + }, + { + "category": "``mailmanager``", + "description": "This release includes a new feature for Amazon SES Mail Manager which allows customers to specify known addresses and domains and make use of those in traffic policies and rules actions to distinguish between known and unknown entries.", + "type": "api-change" + }, + { + "category": "``s3``", + "description": "Change the type of MpuObjectSize in CompleteMultipartUploadRequest from int to long.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-bcmpricingcalculator-10506.json b/.changes/next-release/api-change-bcmpricingcalculator-10506.json deleted file mode 100644 index 97517732c86f..000000000000 --- a/.changes/next-release/api-change-bcmpricingcalculator-10506.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bcm-pricing-calculator``", - "description": "Added ConflictException error type in DeleteBillScenario, BatchDeleteBillScenarioCommitmentModification, BatchDeleteBillScenarioUsageModification, BatchUpdateBillScenarioUsageModification, and BatchUpdateBillScenarioCommitmentModification API operations." -} diff --git a/.changes/next-release/api-change-ecr-7376.json b/.changes/next-release/api-change-ecr-7376.json deleted file mode 100644 index 8b053ac28dcf..000000000000 --- a/.changes/next-release/api-change-ecr-7376.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ecr``", - "description": "Add support for Dualstack and Dualstack-with-FIPS Endpoints" -} diff --git a/.changes/next-release/api-change-ecrpublic-72985.json b/.changes/next-release/api-change-ecrpublic-72985.json deleted file mode 100644 index b79cc45620b0..000000000000 --- a/.changes/next-release/api-change-ecrpublic-72985.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ecr-public``", - "description": "Add support for Dualstack Endpoints" -} diff --git a/.changes/next-release/api-change-mailmanager-72260.json b/.changes/next-release/api-change-mailmanager-72260.json deleted file mode 100644 index a4d98f807fa2..000000000000 --- a/.changes/next-release/api-change-mailmanager-72260.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``mailmanager``", - "description": "This release includes a new feature for Amazon SES Mail Manager which allows customers to specify known addresses and domains and make use of those in traffic policies and rules actions to distinguish between known and unknown entries." -} diff --git a/.changes/next-release/api-change-s3-36828.json b/.changes/next-release/api-change-s3-36828.json deleted file mode 100644 index 4c6cd90a99fd..000000000000 --- a/.changes/next-release/api-change-s3-36828.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``s3``", - "description": "Change the type of MpuObjectSize in CompleteMultipartUploadRequest from int to long." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 6425c1877911..6ad3cf96c4cd 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,16 @@ CHANGELOG ========= +1.37.9 +====== + +* api-change:``bcm-pricing-calculator``: Added ConflictException error type in DeleteBillScenario, BatchDeleteBillScenarioCommitmentModification, BatchDeleteBillScenarioUsageModification, BatchUpdateBillScenarioUsageModification, and BatchUpdateBillScenarioCommitmentModification API operations. +* api-change:``ecr``: Add support for Dualstack and Dualstack-with-FIPS Endpoints +* api-change:``ecr-public``: Add support for Dualstack Endpoints +* api-change:``mailmanager``: This release includes a new feature for Amazon SES Mail Manager which allows customers to specify known addresses and domains and make use of those in traffic policies and rules actions to distinguish between known and unknown entries. +* api-change:``s3``: Change the type of MpuObjectSize in CompleteMultipartUploadRequest from int to long. + + 1.37.8 ====== diff --git a/awscli/__init__.py b/awscli/__init__.py index e0cd413f36bc..8b7bf60ec4f8 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.37.8' +__version__ = '1.37.9' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 2c8a564cb5d2..0d28c326aeeb 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.37' # The full version, including alpha/beta/rc tags. -release = '1.37.8' +release = '1.37.9' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 2db18e0b9178..67d74b94945f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.36.8 + botocore==1.36.9 docutils>=0.10,<0.17 s3transfer>=0.11.0,<0.12.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 16256b5c4430..2ec5554f38d2 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.36.8', + 'botocore==1.36.9', 'docutils>=0.10,<0.17', 's3transfer>=0.11.0,<0.12.0', 'PyYAML>=3.10,<6.1', From 49539c5e102f3db1b078f628b7b844ff690e20f6 Mon Sep 17 00:00:00 2001 From: Ben Bodenmiller Date: Thu, 30 Jan 2025 06:58:37 -0800 Subject: [PATCH 0436/1087] Improve formatting in docs (#8775) --- awscli/examples/eks/update-kubeconfig/_description.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/awscli/examples/eks/update-kubeconfig/_description.rst b/awscli/examples/eks/update-kubeconfig/_description.rst index 00da7bca22f1..29c93f23c55e 100644 --- a/awscli/examples/eks/update-kubeconfig/_description.rst +++ b/awscli/examples/eks/update-kubeconfig/_description.rst @@ -4,16 +4,16 @@ Note: To use the resulting configuration, you must have kubectl installed and in your PATH environment variable. This command constructs a configuration with prepopulated server and certificate authority data values for a specified cluster. -You can specify an IAM role ARN with the --role-arn option to use for authentication when you issue kubectl commands. +You can specify an IAM role ARN with the ``--role-arn`` option to use for authentication when you issue kubectl commands. Otherwise, the IAM entity in your default AWS CLI or SDK credential chain is used. You can view your default AWS CLI or SDK identity by running the ``aws sts get-caller-identity`` command. The resulting kubeconfig is created as a new file or merged with an existing kubeconfig file using the following logic: -* If you specify a path with the --kubeconfig option, then the resulting configuration file is created there or merged with an existing kubeconfig at that location. -* Or, if you have the KUBECONFIG environment variable set, then the resulting configuration file is created at the first entry in that variable or merged with an existing kubeconfig at that location. -* Otherwise, by default, the resulting configuration file is created at the default kubeconfig path (.kube/config) in your home directory or merged with an existing kubeconfig at that location. +* If you specify a path with the ``--kubeconfig option``, then the resulting configuration file is created there or merged with an existing kubeconfig at that location. +* Or, if you have the ``KUBECONFIG`` environment variable set, then the resulting configuration file is created at the first entry in that variable or merged with an existing kubeconfig at that location. +* Otherwise, by default, the resulting configuration file is created at the default kubeconfig path (``.kube/config``) in your home directory or merged with an existing kubeconfig at that location. * If a previous cluster configuration exists for an Amazon EKS cluster with the same name at the specified path, the existing configuration is overwritten with the new configuration. * When update-kubeconfig writes a configuration to a kubeconfig file, the current-context of the kubeconfig file is set to that configuration. -You can use the --dry-run option to print the resulting configuration to stdout instead of writing it to the specified location. +You can use the ``--dry-run`` option to print the resulting configuration to stdout instead of writing it to the specified location. From d69ed5dba208b8923d76a47ef365aeb0cff3239e Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 30 Jan 2025 20:09:26 +0000 Subject: [PATCH 0437/1087] Update changelog based on model updates --- .changes/next-release/api-change-appstream-36524.json | 5 +++++ .../next-release/api-change-bedrockagentruntime-85690.json | 5 +++++ .changes/next-release/api-change-ecr-66415.json | 5 +++++ .changes/next-release/api-change-ecrpublic-55003.json | 5 +++++ .changes/next-release/api-change-mediatailor-68705.json | 5 +++++ .changes/next-release/api-change-qbusiness-3173.json | 5 +++++ .changes/next-release/api-change-s3tables-96551.json | 5 +++++ .../next-release/api-change-verifiedpermissions-83456.json | 5 +++++ 8 files changed, 40 insertions(+) create mode 100644 .changes/next-release/api-change-appstream-36524.json create mode 100644 .changes/next-release/api-change-bedrockagentruntime-85690.json create mode 100644 .changes/next-release/api-change-ecr-66415.json create mode 100644 .changes/next-release/api-change-ecrpublic-55003.json create mode 100644 .changes/next-release/api-change-mediatailor-68705.json create mode 100644 .changes/next-release/api-change-qbusiness-3173.json create mode 100644 .changes/next-release/api-change-s3tables-96551.json create mode 100644 .changes/next-release/api-change-verifiedpermissions-83456.json diff --git a/.changes/next-release/api-change-appstream-36524.json b/.changes/next-release/api-change-appstream-36524.json new file mode 100644 index 000000000000..d1e78fe555eb --- /dev/null +++ b/.changes/next-release/api-change-appstream-36524.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``appstream``", + "description": "Add support for managing admin consent requirement on selected domains for OneDrive Storage Connectors in AppStream2.0." +} diff --git a/.changes/next-release/api-change-bedrockagentruntime-85690.json b/.changes/next-release/api-change-bedrockagentruntime-85690.json new file mode 100644 index 000000000000..6d12ee19e40a --- /dev/null +++ b/.changes/next-release/api-change-bedrockagentruntime-85690.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-agent-runtime``", + "description": "Add a 'reason' field to InternalServerException" +} diff --git a/.changes/next-release/api-change-ecr-66415.json b/.changes/next-release/api-change-ecr-66415.json new file mode 100644 index 000000000000..fd86ddf8953b --- /dev/null +++ b/.changes/next-release/api-change-ecr-66415.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ecr``", + "description": "Temporarily updating dualstack endpoint support" +} diff --git a/.changes/next-release/api-change-ecrpublic-55003.json b/.changes/next-release/api-change-ecrpublic-55003.json new file mode 100644 index 000000000000..0e2a812b5d28 --- /dev/null +++ b/.changes/next-release/api-change-ecrpublic-55003.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ecr-public``", + "description": "Temporarily updating dualstack endpoint support" +} diff --git a/.changes/next-release/api-change-mediatailor-68705.json b/.changes/next-release/api-change-mediatailor-68705.json new file mode 100644 index 000000000000..1b5322216047 --- /dev/null +++ b/.changes/next-release/api-change-mediatailor-68705.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``mediatailor``", + "description": "Adds options for configuring how MediaTailor conditions ads before inserting them into the content stream. Based on the new settings, MediaTailor will either transcode ads to match the content stream as it has in the past, or it will insert ads without first transcoding them." +} diff --git a/.changes/next-release/api-change-qbusiness-3173.json b/.changes/next-release/api-change-qbusiness-3173.json new file mode 100644 index 000000000000..2545e4272b62 --- /dev/null +++ b/.changes/next-release/api-change-qbusiness-3173.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``qbusiness``", + "description": "Added APIs to manage QBusiness user subscriptions" +} diff --git a/.changes/next-release/api-change-s3tables-96551.json b/.changes/next-release/api-change-s3tables-96551.json new file mode 100644 index 000000000000..28e02dedd4d3 --- /dev/null +++ b/.changes/next-release/api-change-s3tables-96551.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``s3tables``", + "description": "You can now use the CreateTable API operation to create tables with schemas by adding an optional metadata argument." +} diff --git a/.changes/next-release/api-change-verifiedpermissions-83456.json b/.changes/next-release/api-change-verifiedpermissions-83456.json new file mode 100644 index 000000000000..95585d7e38cc --- /dev/null +++ b/.changes/next-release/api-change-verifiedpermissions-83456.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``verifiedpermissions``", + "description": "Adds Cedar JSON format support for entities and context data in authorization requests" +} From 6474a38cd00fb6a2aa300fc937c47fd49e2ae22c Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 30 Jan 2025 20:10:41 +0000 Subject: [PATCH 0438/1087] Bumping version to 1.37.10 --- .changes/1.37.10.json | 42 +++++++++++++++++++ .../api-change-appstream-36524.json | 5 --- .../api-change-bedrockagentruntime-85690.json | 5 --- .../next-release/api-change-ecr-66415.json | 5 --- .../api-change-ecrpublic-55003.json | 5 --- .../api-change-mediatailor-68705.json | 5 --- .../api-change-qbusiness-3173.json | 5 --- .../api-change-s3tables-96551.json | 5 --- .../api-change-verifiedpermissions-83456.json | 5 --- CHANGELOG.rst | 13 ++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 4 +- setup.cfg | 2 +- setup.py | 2 +- 14 files changed, 60 insertions(+), 45 deletions(-) create mode 100644 .changes/1.37.10.json delete mode 100644 .changes/next-release/api-change-appstream-36524.json delete mode 100644 .changes/next-release/api-change-bedrockagentruntime-85690.json delete mode 100644 .changes/next-release/api-change-ecr-66415.json delete mode 100644 .changes/next-release/api-change-ecrpublic-55003.json delete mode 100644 .changes/next-release/api-change-mediatailor-68705.json delete mode 100644 .changes/next-release/api-change-qbusiness-3173.json delete mode 100644 .changes/next-release/api-change-s3tables-96551.json delete mode 100644 .changes/next-release/api-change-verifiedpermissions-83456.json diff --git a/.changes/1.37.10.json b/.changes/1.37.10.json new file mode 100644 index 000000000000..c8ecdf706555 --- /dev/null +++ b/.changes/1.37.10.json @@ -0,0 +1,42 @@ +[ + { + "category": "``appstream``", + "description": "Add support for managing admin consent requirement on selected domains for OneDrive Storage Connectors in AppStream2.0.", + "type": "api-change" + }, + { + "category": "``bedrock-agent-runtime``", + "description": "Add a 'reason' field to InternalServerException", + "type": "api-change" + }, + { + "category": "``ecr``", + "description": "Temporarily updating dualstack endpoint support", + "type": "api-change" + }, + { + "category": "``ecr-public``", + "description": "Temporarily updating dualstack endpoint support", + "type": "api-change" + }, + { + "category": "``mediatailor``", + "description": "Adds options for configuring how MediaTailor conditions ads before inserting them into the content stream. Based on the new settings, MediaTailor will either transcode ads to match the content stream as it has in the past, or it will insert ads without first transcoding them.", + "type": "api-change" + }, + { + "category": "``qbusiness``", + "description": "Added APIs to manage QBusiness user subscriptions", + "type": "api-change" + }, + { + "category": "``s3tables``", + "description": "You can now use the CreateTable API operation to create tables with schemas by adding an optional metadata argument.", + "type": "api-change" + }, + { + "category": "``verifiedpermissions``", + "description": "Adds Cedar JSON format support for entities and context data in authorization requests", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-appstream-36524.json b/.changes/next-release/api-change-appstream-36524.json deleted file mode 100644 index d1e78fe555eb..000000000000 --- a/.changes/next-release/api-change-appstream-36524.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``appstream``", - "description": "Add support for managing admin consent requirement on selected domains for OneDrive Storage Connectors in AppStream2.0." -} diff --git a/.changes/next-release/api-change-bedrockagentruntime-85690.json b/.changes/next-release/api-change-bedrockagentruntime-85690.json deleted file mode 100644 index 6d12ee19e40a..000000000000 --- a/.changes/next-release/api-change-bedrockagentruntime-85690.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-agent-runtime``", - "description": "Add a 'reason' field to InternalServerException" -} diff --git a/.changes/next-release/api-change-ecr-66415.json b/.changes/next-release/api-change-ecr-66415.json deleted file mode 100644 index fd86ddf8953b..000000000000 --- a/.changes/next-release/api-change-ecr-66415.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ecr``", - "description": "Temporarily updating dualstack endpoint support" -} diff --git a/.changes/next-release/api-change-ecrpublic-55003.json b/.changes/next-release/api-change-ecrpublic-55003.json deleted file mode 100644 index 0e2a812b5d28..000000000000 --- a/.changes/next-release/api-change-ecrpublic-55003.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ecr-public``", - "description": "Temporarily updating dualstack endpoint support" -} diff --git a/.changes/next-release/api-change-mediatailor-68705.json b/.changes/next-release/api-change-mediatailor-68705.json deleted file mode 100644 index 1b5322216047..000000000000 --- a/.changes/next-release/api-change-mediatailor-68705.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``mediatailor``", - "description": "Adds options for configuring how MediaTailor conditions ads before inserting them into the content stream. Based on the new settings, MediaTailor will either transcode ads to match the content stream as it has in the past, or it will insert ads without first transcoding them." -} diff --git a/.changes/next-release/api-change-qbusiness-3173.json b/.changes/next-release/api-change-qbusiness-3173.json deleted file mode 100644 index 2545e4272b62..000000000000 --- a/.changes/next-release/api-change-qbusiness-3173.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``qbusiness``", - "description": "Added APIs to manage QBusiness user subscriptions" -} diff --git a/.changes/next-release/api-change-s3tables-96551.json b/.changes/next-release/api-change-s3tables-96551.json deleted file mode 100644 index 28e02dedd4d3..000000000000 --- a/.changes/next-release/api-change-s3tables-96551.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``s3tables``", - "description": "You can now use the CreateTable API operation to create tables with schemas by adding an optional metadata argument." -} diff --git a/.changes/next-release/api-change-verifiedpermissions-83456.json b/.changes/next-release/api-change-verifiedpermissions-83456.json deleted file mode 100644 index 95585d7e38cc..000000000000 --- a/.changes/next-release/api-change-verifiedpermissions-83456.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``verifiedpermissions``", - "description": "Adds Cedar JSON format support for entities and context data in authorization requests" -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 6ad3cf96c4cd..b817d0ac6dc1 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,19 @@ CHANGELOG ========= +1.37.10 +======= + +* api-change:``appstream``: Add support for managing admin consent requirement on selected domains for OneDrive Storage Connectors in AppStream2.0. +* api-change:``bedrock-agent-runtime``: Add a 'reason' field to InternalServerException +* api-change:``ecr``: Temporarily updating dualstack endpoint support +* api-change:``ecr-public``: Temporarily updating dualstack endpoint support +* api-change:``mediatailor``: Adds options for configuring how MediaTailor conditions ads before inserting them into the content stream. Based on the new settings, MediaTailor will either transcode ads to match the content stream as it has in the past, or it will insert ads without first transcoding them. +* api-change:``qbusiness``: Added APIs to manage QBusiness user subscriptions +* api-change:``s3tables``: You can now use the CreateTable API operation to create tables with schemas by adding an optional metadata argument. +* api-change:``verifiedpermissions``: Adds Cedar JSON format support for entities and context data in authorization requests + + 1.37.9 ====== diff --git a/awscli/__init__.py b/awscli/__init__.py index 8b7bf60ec4f8..01a39c2d379e 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.37.9' +__version__ = '1.37.10' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 0d28c326aeeb..a760a7c324a3 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -50,9 +50,9 @@ # built documents. # # The short X.Y version. -version = '1.37' +version = '1.37.' # The full version, including alpha/beta/rc tags. -release = '1.37.9' +release = '1.37.10' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 67d74b94945f..8f5c60ce8917 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.36.9 + botocore==1.36.10 docutils>=0.10,<0.17 s3transfer>=0.11.0,<0.12.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 2ec5554f38d2..4ddbcce47c6b 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.36.9', + 'botocore==1.36.10', 'docutils>=0.10,<0.17', 's3transfer>=0.11.0,<0.12.0', 'PyYAML>=3.10,<6.1', From bfb68ce5ce05b539323f7688299ee4d066135203 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 31 Jan 2025 19:04:10 +0000 Subject: [PATCH 0439/1087] Update changelog based on model updates --- .changes/next-release/api-change-amp-17229.json | 5 +++++ .../next-release/api-change-bedrockagentruntime-88971.json | 5 +++++ .changes/next-release/api-change-codebuild-67348.json | 5 +++++ .changes/next-release/api-change-georoutes-70834.json | 5 +++++ .changes/next-release/api-change-rds-41539.json | 5 +++++ .changes/next-release/api-change-sagemaker-15974.json | 5 +++++ 6 files changed, 30 insertions(+) create mode 100644 .changes/next-release/api-change-amp-17229.json create mode 100644 .changes/next-release/api-change-bedrockagentruntime-88971.json create mode 100644 .changes/next-release/api-change-codebuild-67348.json create mode 100644 .changes/next-release/api-change-georoutes-70834.json create mode 100644 .changes/next-release/api-change-rds-41539.json create mode 100644 .changes/next-release/api-change-sagemaker-15974.json diff --git a/.changes/next-release/api-change-amp-17229.json b/.changes/next-release/api-change-amp-17229.json new file mode 100644 index 000000000000..606334bd9e29 --- /dev/null +++ b/.changes/next-release/api-change-amp-17229.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``amp``", + "description": "Add support for sending metrics to cross account and CMCK AMP workspaces through RoleConfiguration on Create/Update Scraper." +} diff --git a/.changes/next-release/api-change-bedrockagentruntime-88971.json b/.changes/next-release/api-change-bedrockagentruntime-88971.json new file mode 100644 index 000000000000..22945dbcfa22 --- /dev/null +++ b/.changes/next-release/api-change-bedrockagentruntime-88971.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-agent-runtime``", + "description": "This change is to deprecate the existing citation field under RetrieveAndGenerateStream API response in lieu of GeneratedResponsePart and RetrievedReferences" +} diff --git a/.changes/next-release/api-change-codebuild-67348.json b/.changes/next-release/api-change-codebuild-67348.json new file mode 100644 index 000000000000..6c918628d38a --- /dev/null +++ b/.changes/next-release/api-change-codebuild-67348.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``codebuild``", + "description": "Added support for CodeBuild self-hosted Buildkite runner builds" +} diff --git a/.changes/next-release/api-change-georoutes-70834.json b/.changes/next-release/api-change-georoutes-70834.json new file mode 100644 index 000000000000..8a955bf7761a --- /dev/null +++ b/.changes/next-release/api-change-georoutes-70834.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``geo-routes``", + "description": "The OptimizeWaypoints API now supports 50 waypoints per request (20 with constraints like AccessHours or AppointmentTime). It adds waypoint clustering via Clustering and ClusteringIndex for better optimization. Also, total distance validation is removed for greater flexibility." +} diff --git a/.changes/next-release/api-change-rds-41539.json b/.changes/next-release/api-change-rds-41539.json new file mode 100644 index 000000000000..457185bd3c4a --- /dev/null +++ b/.changes/next-release/api-change-rds-41539.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``rds``", + "description": "Updates to Aurora MySQL and Aurora PostgreSQL API pages with instance log type in the create and modify DB Cluster." +} diff --git a/.changes/next-release/api-change-sagemaker-15974.json b/.changes/next-release/api-change-sagemaker-15974.json new file mode 100644 index 000000000000..441df4ae1a6d --- /dev/null +++ b/.changes/next-release/api-change-sagemaker-15974.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``sagemaker``", + "description": "This release introduces a new valid value in InstanceType parameter: p5en.48xlarge, in ProductionVariant." +} From 5920d41f42bc2d5960c0ad9fc212b9b2b5d9c157 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 31 Jan 2025 19:05:40 +0000 Subject: [PATCH 0440/1087] Bumping version to 1.37.11 --- .changes/1.37.11.json | 32 +++++++++++++++++++ .../next-release/api-change-amp-17229.json | 5 --- .../api-change-bedrockagentruntime-88971.json | 5 --- .../api-change-codebuild-67348.json | 5 --- .../api-change-georoutes-70834.json | 5 --- .../next-release/api-change-rds-41539.json | 5 --- .../api-change-sagemaker-15974.json | 5 --- CHANGELOG.rst | 11 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 12 files changed, 47 insertions(+), 34 deletions(-) create mode 100644 .changes/1.37.11.json delete mode 100644 .changes/next-release/api-change-amp-17229.json delete mode 100644 .changes/next-release/api-change-bedrockagentruntime-88971.json delete mode 100644 .changes/next-release/api-change-codebuild-67348.json delete mode 100644 .changes/next-release/api-change-georoutes-70834.json delete mode 100644 .changes/next-release/api-change-rds-41539.json delete mode 100644 .changes/next-release/api-change-sagemaker-15974.json diff --git a/.changes/1.37.11.json b/.changes/1.37.11.json new file mode 100644 index 000000000000..40166a6a5c04 --- /dev/null +++ b/.changes/1.37.11.json @@ -0,0 +1,32 @@ +[ + { + "category": "``amp``", + "description": "Add support for sending metrics to cross account and CMCK AMP workspaces through RoleConfiguration on Create/Update Scraper.", + "type": "api-change" + }, + { + "category": "``bedrock-agent-runtime``", + "description": "This change is to deprecate the existing citation field under RetrieveAndGenerateStream API response in lieu of GeneratedResponsePart and RetrievedReferences", + "type": "api-change" + }, + { + "category": "``codebuild``", + "description": "Added support for CodeBuild self-hosted Buildkite runner builds", + "type": "api-change" + }, + { + "category": "``geo-routes``", + "description": "The OptimizeWaypoints API now supports 50 waypoints per request (20 with constraints like AccessHours or AppointmentTime). It adds waypoint clustering via Clustering and ClusteringIndex for better optimization. Also, total distance validation is removed for greater flexibility.", + "type": "api-change" + }, + { + "category": "``rds``", + "description": "Updates to Aurora MySQL and Aurora PostgreSQL API pages with instance log type in the create and modify DB Cluster.", + "type": "api-change" + }, + { + "category": "``sagemaker``", + "description": "This release introduces a new valid value in InstanceType parameter: p5en.48xlarge, in ProductionVariant.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-amp-17229.json b/.changes/next-release/api-change-amp-17229.json deleted file mode 100644 index 606334bd9e29..000000000000 --- a/.changes/next-release/api-change-amp-17229.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``amp``", - "description": "Add support for sending metrics to cross account and CMCK AMP workspaces through RoleConfiguration on Create/Update Scraper." -} diff --git a/.changes/next-release/api-change-bedrockagentruntime-88971.json b/.changes/next-release/api-change-bedrockagentruntime-88971.json deleted file mode 100644 index 22945dbcfa22..000000000000 --- a/.changes/next-release/api-change-bedrockagentruntime-88971.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-agent-runtime``", - "description": "This change is to deprecate the existing citation field under RetrieveAndGenerateStream API response in lieu of GeneratedResponsePart and RetrievedReferences" -} diff --git a/.changes/next-release/api-change-codebuild-67348.json b/.changes/next-release/api-change-codebuild-67348.json deleted file mode 100644 index 6c918628d38a..000000000000 --- a/.changes/next-release/api-change-codebuild-67348.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``codebuild``", - "description": "Added support for CodeBuild self-hosted Buildkite runner builds" -} diff --git a/.changes/next-release/api-change-georoutes-70834.json b/.changes/next-release/api-change-georoutes-70834.json deleted file mode 100644 index 8a955bf7761a..000000000000 --- a/.changes/next-release/api-change-georoutes-70834.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``geo-routes``", - "description": "The OptimizeWaypoints API now supports 50 waypoints per request (20 with constraints like AccessHours or AppointmentTime). It adds waypoint clustering via Clustering and ClusteringIndex for better optimization. Also, total distance validation is removed for greater flexibility." -} diff --git a/.changes/next-release/api-change-rds-41539.json b/.changes/next-release/api-change-rds-41539.json deleted file mode 100644 index 457185bd3c4a..000000000000 --- a/.changes/next-release/api-change-rds-41539.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``rds``", - "description": "Updates to Aurora MySQL and Aurora PostgreSQL API pages with instance log type in the create and modify DB Cluster." -} diff --git a/.changes/next-release/api-change-sagemaker-15974.json b/.changes/next-release/api-change-sagemaker-15974.json deleted file mode 100644 index 441df4ae1a6d..000000000000 --- a/.changes/next-release/api-change-sagemaker-15974.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``sagemaker``", - "description": "This release introduces a new valid value in InstanceType parameter: p5en.48xlarge, in ProductionVariant." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index b817d0ac6dc1..1660e6ee4dea 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,17 @@ CHANGELOG ========= +1.37.11 +======= + +* api-change:``amp``: Add support for sending metrics to cross account and CMCK AMP workspaces through RoleConfiguration on Create/Update Scraper. +* api-change:``bedrock-agent-runtime``: This change is to deprecate the existing citation field under RetrieveAndGenerateStream API response in lieu of GeneratedResponsePart and RetrievedReferences +* api-change:``codebuild``: Added support for CodeBuild self-hosted Buildkite runner builds +* api-change:``geo-routes``: The OptimizeWaypoints API now supports 50 waypoints per request (20 with constraints like AccessHours or AppointmentTime). It adds waypoint clustering via Clustering and ClusteringIndex for better optimization. Also, total distance validation is removed for greater flexibility. +* api-change:``rds``: Updates to Aurora MySQL and Aurora PostgreSQL API pages with instance log type in the create and modify DB Cluster. +* api-change:``sagemaker``: This release introduces a new valid value in InstanceType parameter: p5en.48xlarge, in ProductionVariant. + + 1.37.10 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 01a39c2d379e..07fe5aafd833 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.37.10' +__version__ = '1.37.11' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index a760a7c324a3..fbf474bc6a57 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.37.' # The full version, including alpha/beta/rc tags. -release = '1.37.10' +release = '1.37.11' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 8f5c60ce8917..5ba88b7086f0 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.36.10 + botocore==1.36.11 docutils>=0.10,<0.17 s3transfer>=0.11.0,<0.12.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 4ddbcce47c6b..4ab11ff3c774 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.36.10', + 'botocore==1.36.11', 'docutils>=0.10,<0.17', 's3transfer>=0.11.0,<0.12.0', 'PyYAML>=3.10,<6.1', From e456c272c6eecc485a471d4630b3493088645488 Mon Sep 17 00:00:00 2001 From: Chaitanya Gummadi <62628013+chaitanyagummadi@users.noreply.github.com> Date: Fri, 31 Jan 2025 15:06:22 -0600 Subject: [PATCH 0441/1087] Add CLI examples for CloudWatch NetworkFlowMonitor (#9127) --- .../networkflowmonitor/create-monitor.rst | 19 ++++++++++++ .../networkflowmonitor/create-scope.rst | 16 ++++++++++ .../networkflowmonitor/delete-monitor.rst | 10 +++++++ .../networkflowmonitor/delete-scope.rst | 10 +++++++ .../networkflowmonitor/get-monitor.rst | 26 ++++++++++++++++ ...orkload-insights-top-contributors-data.rst | 30 +++++++++++++++++++ ...lts-workload-insights-top-contributors.rst | 27 +++++++++++++++++ ...-query-status-monitor-top-contributors.rst | 15 ++++++++++ ...orkload-insights-top-contributors-data.rst | 15 ++++++++++ ...tus-workload-insights-top-contributors.rst | 15 ++++++++++ .../examples/networkflowmonitor/get-scope.rst | 28 +++++++++++++++++ .../networkflowmonitor/list-monitors.rst | 19 ++++++++++++ .../networkflowmonitor/list-scopes.rst | 19 ++++++++++++ .../list-tags-for-resource.rst | 17 +++++++++++ .../start-query-monitor-top-contributors.rst | 18 +++++++++++ ...orkload-insights-top-contributors-data.rst | 18 +++++++++++ ...ery-workload-insights-top-contributors.rst | 18 +++++++++++ .../stop-query-monitor-top-contributors.rst | 11 +++++++ ...orkload-insights-top-contributors-data.rst | 11 +++++++ ...ery-workload-insights-top-contributors.rst | 11 +++++++ .../networkflowmonitor/tag-resource.rst | 11 +++++++ .../networkflowmonitor/untag-resource.rst | 11 +++++++ .../networkflowmonitor/update-monitor.rst | 21 +++++++++++++ 23 files changed, 396 insertions(+) create mode 100644 awscli/examples/networkflowmonitor/create-monitor.rst create mode 100644 awscli/examples/networkflowmonitor/create-scope.rst create mode 100644 awscli/examples/networkflowmonitor/delete-monitor.rst create mode 100644 awscli/examples/networkflowmonitor/delete-scope.rst create mode 100644 awscli/examples/networkflowmonitor/get-monitor.rst create mode 100644 awscli/examples/networkflowmonitor/get-query-results-workload-insights-top-contributors-data.rst create mode 100644 awscli/examples/networkflowmonitor/get-query-results-workload-insights-top-contributors.rst create mode 100644 awscli/examples/networkflowmonitor/get-query-status-monitor-top-contributors.rst create mode 100644 awscli/examples/networkflowmonitor/get-query-status-workload-insights-top-contributors-data.rst create mode 100644 awscli/examples/networkflowmonitor/get-query-status-workload-insights-top-contributors.rst create mode 100644 awscli/examples/networkflowmonitor/get-scope.rst create mode 100644 awscli/examples/networkflowmonitor/list-monitors.rst create mode 100644 awscli/examples/networkflowmonitor/list-scopes.rst create mode 100644 awscli/examples/networkflowmonitor/list-tags-for-resource.rst create mode 100644 awscli/examples/networkflowmonitor/start-query-monitor-top-contributors.rst create mode 100644 awscli/examples/networkflowmonitor/start-query-workload-insights-top-contributors-data.rst create mode 100644 awscli/examples/networkflowmonitor/start-query-workload-insights-top-contributors.rst create mode 100644 awscli/examples/networkflowmonitor/stop-query-monitor-top-contributors.rst create mode 100644 awscli/examples/networkflowmonitor/stop-query-workload-insights-top-contributors-data.rst create mode 100644 awscli/examples/networkflowmonitor/stop-query-workload-insights-top-contributors.rst create mode 100644 awscli/examples/networkflowmonitor/tag-resource.rst create mode 100644 awscli/examples/networkflowmonitor/untag-resource.rst create mode 100644 awscli/examples/networkflowmonitor/update-monitor.rst diff --git a/awscli/examples/networkflowmonitor/create-monitor.rst b/awscli/examples/networkflowmonitor/create-monitor.rst new file mode 100644 index 000000000000..90508cbd60b3 --- /dev/null +++ b/awscli/examples/networkflowmonitor/create-monitor.rst @@ -0,0 +1,19 @@ +**To create a monitor** + +The following ``create-monitor`` example creates a monitor named ``demo`` in the specified account. :: + + aws networkflowmonitor create-monitor \ + --monitor-name demo \ + --local-resources type="AWS::EC2::VPC",identifier="arn:aws:ec2:us-east-1:123456789012:vpc/vpc-03ea55eeda25adbb0" \ + --scope-arn arn:aws:networkflowmonitor:us-east-1:123456789012:scope/e21cda79-30a0-4c12-9299-d8629d76d8cf + +Output:: + + { + "monitorArn": "arn:aws:networkflowmonitor:us-east-1:123456789012:monitor/demo", + "monitorName": "demo", + "monitorStatus": "ACTIVE", + "tags": {} + } + +For more information, see `Create a monitor in Network Flow Monitor `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/networkflowmonitor/create-scope.rst b/awscli/examples/networkflowmonitor/create-scope.rst new file mode 100644 index 000000000000..9e7f3af4883b --- /dev/null +++ b/awscli/examples/networkflowmonitor/create-scope.rst @@ -0,0 +1,16 @@ +**To create a scope** + +The following ``create-scope`` example creates a scope that includes a set of resources for which Network Flow Monitor will generate network traffic metrics. :: + + aws networkflowmonitor create-scope \ + --targets '[{"targetIdentifier":{"targetId":{"accountId":"123456789012"},"targetType":"ACCOUNT"},"region":"us-east-1"}]' + +Output:: + + { + "scopeId": "97626f8d-8a21-4b5d-813a-1a0962dd4615", + "status": "IN_PROGRESS", + "tags": {} + } + +For more information, see `Components and features of Network Flow Monitor `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/networkflowmonitor/delete-monitor.rst b/awscli/examples/networkflowmonitor/delete-monitor.rst new file mode 100644 index 000000000000..1911b20ca793 --- /dev/null +++ b/awscli/examples/networkflowmonitor/delete-monitor.rst @@ -0,0 +1,10 @@ +**To delete a monitor** + +The following ``delete-monitor`` example deletes a monitor named ``demo`` in the specified account. :: + + aws networkflowmonitor delete-monitor \ + --monitor-name demo + +This command produces no output. + +For more information, see `Delete a monitor in Network Flow Monitor `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/networkflowmonitor/delete-scope.rst b/awscli/examples/networkflowmonitor/delete-scope.rst new file mode 100644 index 000000000000..b8e2c8375211 --- /dev/null +++ b/awscli/examples/networkflowmonitor/delete-scope.rst @@ -0,0 +1,10 @@ +**To delete a scope** + +The following ``delete-scope`` example deletes a specified scope. :: + + aws networkflowmonitor delete-scope \ + --scope-id fdc20616-6bb4-4242-a24e-a748e65ca7ac + +This command produces no output. + +For more information, see `Components and features of Network Flow Monitor `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/networkflowmonitor/get-monitor.rst b/awscli/examples/networkflowmonitor/get-monitor.rst new file mode 100644 index 000000000000..e15be2d6c4f5 --- /dev/null +++ b/awscli/examples/networkflowmonitor/get-monitor.rst @@ -0,0 +1,26 @@ +**To retrieve information about a monitor** + +The following ``get-monitor`` example displays information about the monitor named ``demo`` in the specified account. :: + + aws networkflowmonitor get-monitor \ + --monitor-name Demo + +Output:: + + { + "monitorArn": "arn:aws:networkflowmonitor:us-east-1:123456789012:monitor/Demo", + "monitorName": "Demo", + "monitorStatus": "ACTIVE", + "localResources": [ + { + "type": "AWS::EC2::VPC", + "identifier": "arn:aws:ec2:us-east-1:123456789012:vpc/vpc-03ea55eeda25adbb0" + } + ], + "remoteResources": [], + "createdAt": "2024-12-09T12:21:51.616000-06:00", + "modifiedAt": "2024-12-09T12:21:55.412000-06:00", + "tags": {} + } + +For more information, see `Components and features of Network Flow Monitor `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/networkflowmonitor/get-query-results-workload-insights-top-contributors-data.rst b/awscli/examples/networkflowmonitor/get-query-results-workload-insights-top-contributors-data.rst new file mode 100644 index 000000000000..adcdc1f127e8 --- /dev/null +++ b/awscli/examples/networkflowmonitor/get-query-results-workload-insights-top-contributors-data.rst @@ -0,0 +1,30 @@ +**To retrieve the top contributor data on workload insights** + +The following ``get-query-results-workload-insights-top-contributors-data`` example returns the data for the specified query. :: + + aws networkflowmonitor get-query-results-workload-insights-top-contributors-data \ + --scope-id e21cda79-30a0-4c12-9299-d8629d76d8cf \ + --query-id cc4f4ab3-3103-33b8-80ff-d6597a0c6cea + +Output:: + + { + "datapoints": [ + { + "timestamps": [ + "2024-12-09T19:00:00+00:00", + "2024-12-09T19:05:00+00:00", + "2024-12-09T19:10:00+00:00" + ], + "values": [ + 259943.0, + 194856.0, + 216432.0 + ], + "label": "use1-az6" + } + ], + "unit": "Bytes" + } + +For more information, see `Evaluate network flows with workload insights `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/networkflowmonitor/get-query-results-workload-insights-top-contributors.rst b/awscli/examples/networkflowmonitor/get-query-results-workload-insights-top-contributors.rst new file mode 100644 index 000000000000..8b8bb1b65107 --- /dev/null +++ b/awscli/examples/networkflowmonitor/get-query-results-workload-insights-top-contributors.rst @@ -0,0 +1,27 @@ +**To retrieve the top contributors on workload insights** + +The following ``get-query-results-workload-insights-top-contributors`` example returns the data for the specified query. :: + + aws networkflowmonitor get-query-results-workload-insights-top-contributors \ + --scope-id e21cda79-30a0-4c12-9299-d8629d76d8cf \ + --query-id 1fc423d3-b144-37a6-80e6-e2c7d26eea0c + +Output:: + + { + "topContributors": [ + { + "accountId": "123456789012", + "localSubnetId": "subnet-0a5b30fb95dca2c14", + "localAz": "use1-az6", + "localVpcId": "vpc-03ea55eeda25adbb0", + "localRegion": "us-east-1", + "remoteIdentifier": "", + "value": 908443, + "localSubnetArn": "arn:aws:ec2:us-east-1:123456789012:subnet/subnet-0a5b30fb95dca2c14", + "localVpcArn": "arn:aws:ec2:us-east-1:123456789012:vpc/vpc-03ea55eeda25adbb0" + } + ] + } + +For more information, see `Evaluate network flows with workload insights `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/networkflowmonitor/get-query-status-monitor-top-contributors.rst b/awscli/examples/networkflowmonitor/get-query-status-monitor-top-contributors.rst new file mode 100644 index 000000000000..74acb44bcd32 --- /dev/null +++ b/awscli/examples/networkflowmonitor/get-query-status-monitor-top-contributors.rst @@ -0,0 +1,15 @@ +**To retrieve the status of the query** + +The following ``get-query-status-monitor-top-contributors`` example displays the current status of the query in the specified account. :: + + aws networkflowmonitor get-query-status-monitor-top-contributors \ + --monitor-name Demo \ + --query-id 5398eabd-bc40-3f5f-aba3-bcb639d3c7ca + +Output:: + + { + "status": "SUCCEEDED" + } + +For more information, see `Evaluate network flows with workload insights `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/networkflowmonitor/get-query-status-workload-insights-top-contributors-data.rst b/awscli/examples/networkflowmonitor/get-query-status-workload-insights-top-contributors-data.rst new file mode 100644 index 000000000000..b28892592959 --- /dev/null +++ b/awscli/examples/networkflowmonitor/get-query-status-workload-insights-top-contributors-data.rst @@ -0,0 +1,15 @@ +**To retrieve the status of the query** + +The following ``get-query-status-workload-insights-top-contributors-data`` example displays the current status of the query in the specified account. :: + + aws networkflowmonitor get-query-status-workload-insights-top-contributors-data \ + --scope-id e21cda79-30a0-4c12-9299-d8629d76d8cf \ + --query-id 4333754d-8ae1-3f29-b6b7-c36db2e7f8ac + +Output:: + + { + "status": "SUCCEEDED" + } + +For more information, see `Evaluate network flows with workload insights `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/networkflowmonitor/get-query-status-workload-insights-top-contributors.rst b/awscli/examples/networkflowmonitor/get-query-status-workload-insights-top-contributors.rst new file mode 100644 index 000000000000..1b4c4930b9c8 --- /dev/null +++ b/awscli/examples/networkflowmonitor/get-query-status-workload-insights-top-contributors.rst @@ -0,0 +1,15 @@ +**To retrieve the status of the query** + +The following ``get-query-status-workload-insights-top-contributors`` example displays the current status of the query in the specified account. :: + + aws networkflowmonitor get-query-status-workload-insights-top-contributors \ + --scope-id e21cda79-30a0-4c12-9299-d8629d76d8cf \ + --query-id f2a87c70-3e5a-362e-8beb-4747d13d8419 + +Output:: + + { + "status": "SUCCEEDED" + } + +For more information, see `Evaluate network flows with workload insights `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/networkflowmonitor/get-scope.rst b/awscli/examples/networkflowmonitor/get-scope.rst new file mode 100644 index 000000000000..cf073a0dcba2 --- /dev/null +++ b/awscli/examples/networkflowmonitor/get-scope.rst @@ -0,0 +1,28 @@ +**To retrieve information about a scope** + +The following ``get-scope`` example displays information about a scope, such as status, tags, name and target details. :: + + aws networkflowmonitor get-scope \ + --scope-id e21cda79-30a0-4c12-9299-d8629d76d8cf + +Output:: + + { + "scopeId": "e21cda79-30a0-4c12-9299-d8629d76d8cf", + "status": "SUCCEEDED", + "scopeArn": "arn:aws:networkflowmonitor:us-east-1:123456789012:scope/e21cda79-30a0-4c12-9299-d8629d76d8cf", + "targets": [ + { + "targetIdentifier": { + "targetId": { + "accountId": "123456789012" + }, + "targetType": "ACCOUNT" + }, + "region": "us-east-1" + } + ], + "tags": {} + } + +For more information, see `Components and features of Network Flow Monitor `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/networkflowmonitor/list-monitors.rst b/awscli/examples/networkflowmonitor/list-monitors.rst new file mode 100644 index 000000000000..bb5fac04456e --- /dev/null +++ b/awscli/examples/networkflowmonitor/list-monitors.rst @@ -0,0 +1,19 @@ +**To retrieve a list of monitors** + +The following ``list-monitors`` example returns returns all the monitors in the specified account. :: + + aws networkflowmonitor list-monitors + +Output:: + + { + "monitors": [ + { + "monitorArn": "arn:aws:networkflowmonitor:us-east-1:123456789012:monitor/Demo", + "monitorName": "Demo", + "monitorStatus": "ACTIVE" + } + ] + } + +For more information, see `Components and features of Network Flow Monitor `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/networkflowmonitor/list-scopes.rst b/awscli/examples/networkflowmonitor/list-scopes.rst new file mode 100644 index 000000000000..cb6f8695f68b --- /dev/null +++ b/awscli/examples/networkflowmonitor/list-scopes.rst @@ -0,0 +1,19 @@ +**To retrieve a list of scopes** + +The following ``list-scopes`` example lists all scopes in the specified account. :: + + aws networkflowmonitor list-scopes + +Output:: + + { + "scopes": [ + { + "scopeId": "fdc20616-6bb4-4242-a24e-a748e65ca7ac", + "status": "SUCCEEDED", + "scopeArn": "arn:aws:networkflowmonitor:us-east-1:123456789012:scope/fdc20616-6bb4-4242-a24e-a748e65ca7ac" + } + ] + } + +For more information, see `Components and features of Network Flow Monitor `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/networkflowmonitor/list-tags-for-resource.rst b/awscli/examples/networkflowmonitor/list-tags-for-resource.rst new file mode 100644 index 000000000000..7a93df77040e --- /dev/null +++ b/awscli/examples/networkflowmonitor/list-tags-for-resource.rst @@ -0,0 +1,17 @@ +**To list the tags** + +The following ``list-tags-for-resource`` example returns all the tags associated with the specified resource. :: + + aws networkflowmonitor list-tags-for-resource \ + --resource-arn arn:aws:networkflowmonitor:us-east-1:123456789012:monitor/Demo + +Output:: + + { + "tags": { + "Value": "Production", + "Key": "stack" + } + } + +For more information, see `Tagging your Amazon CloudWatch resources `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/networkflowmonitor/start-query-monitor-top-contributors.rst b/awscli/examples/networkflowmonitor/start-query-monitor-top-contributors.rst new file mode 100644 index 000000000000..bf06a321e278 --- /dev/null +++ b/awscli/examples/networkflowmonitor/start-query-monitor-top-contributors.rst @@ -0,0 +1,18 @@ +**To start a query** + +The following ``start-query-monitor-top-contributors`` example starts the query which returns a query ID to retrieve the top contributors. :: + + aws networkflowmonitor start-query-monitor-top-contributors \ + --monitor-name Demo \ + --start-time 2024-12-09T19:00:00Z \ + --end-time 2024-12-09T19:15:00Z \ + --metric-name DATA_TRANSFERRED \ + --destination-category UNCLASSIFIED + +Output:: + + { + "queryId": "aecd3a88-0283-35b0-a17d-6e944dc8531d" + } + +For more information, see `Evaluate network flows with workload insights `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/networkflowmonitor/start-query-workload-insights-top-contributors-data.rst b/awscli/examples/networkflowmonitor/start-query-workload-insights-top-contributors-data.rst new file mode 100644 index 000000000000..f0bdade153e5 --- /dev/null +++ b/awscli/examples/networkflowmonitor/start-query-workload-insights-top-contributors-data.rst @@ -0,0 +1,18 @@ +**To start a query** + +The following ``start-query-workload-insights-top-contributors-data`` example starts the query which returns a query ID to retrieve the top contributors. :: + + aws networkflowmonitor start-query-workload-insights-top-contributors-data \ + --scope-id e21cda79-30a0-4c12-9299-d8629d76d8cf \ + --start-time 2024-12-09T19:00:00Z \ + --end-time 2024-12-09T19:15:00Z \ + --metric-name DATA_TRANSFERRED \ + --destination-category UNCLASSIFIED + +Output:: + + { + "queryId": "cc4f4ab3-3103-33b8-80ff-d6597a0c6cea" + } + +For more information, see `Evaluate network flows with workload insights `__ in the *Amazon CloudWatch User Guide*. diff --git a/awscli/examples/networkflowmonitor/start-query-workload-insights-top-contributors.rst b/awscli/examples/networkflowmonitor/start-query-workload-insights-top-contributors.rst new file mode 100644 index 000000000000..2e9f58032e86 --- /dev/null +++ b/awscli/examples/networkflowmonitor/start-query-workload-insights-top-contributors.rst @@ -0,0 +1,18 @@ +**To start a query** + +The following ``start-query-workload-insights-top-contributors`` example starts the query which returns a query ID to retrieve the top contributors. :: + + aws networkflowmonitor start-query-workload-insights-top-contributors \ + --scope-id e21cda79-30a0-4c12-9299-d8629d76d8cf \ + --start-time 2024-12-09T19:00:00Z \ + --end-time 2024-12-09T19:15:00Z \ + --metric-name DATA_TRANSFERRED \ + --destination-category UNCLASSIFIED + +Output:: + + { + "queryId": "1fc423d3-b144-37a6-80e6-e2c7d26eea0c" + } + +For more information, see `Evaluate network flows with workload insights `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/networkflowmonitor/stop-query-monitor-top-contributors.rst b/awscli/examples/networkflowmonitor/stop-query-monitor-top-contributors.rst new file mode 100644 index 000000000000..a0584f2bde6d --- /dev/null +++ b/awscli/examples/networkflowmonitor/stop-query-monitor-top-contributors.rst @@ -0,0 +1,11 @@ +**To stop a query** + +The following ``stop-query-monitor-top-contributors`` example stops the query in the specified account. :: + + aws networkflowmonitor stop-query-monitor-top-contributors \ + --monitor-name Demo \ + --query-id aecd3a88-0283-35b0-a17d-6e944dc8531d + +This command produces no output. + +For more information, see `Evaluate network flows with workload insights `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/networkflowmonitor/stop-query-workload-insights-top-contributors-data.rst b/awscli/examples/networkflowmonitor/stop-query-workload-insights-top-contributors-data.rst new file mode 100644 index 000000000000..713a278c14fc --- /dev/null +++ b/awscli/examples/networkflowmonitor/stop-query-workload-insights-top-contributors-data.rst @@ -0,0 +1,11 @@ +**To stop a query** + +The following ``stop-query-workload-insights-top-contributors-data`` example stops the query in the specified account. :: + + aws networkflowmonitor stop-query-workload-insights-top-contributors-data \ + --scope-id e21cda79-30a0-4c12-9299-d8629d76d8cf \ + --query-id cc4f4ab3-3103-33b8-80ff-d6597a0c6cea + +This command produces no output. + +For more information, see `Evaluate network flows with workload insights `__ in the *Amazon CloudWatch User Guide*. diff --git a/awscli/examples/networkflowmonitor/stop-query-workload-insights-top-contributors.rst b/awscli/examples/networkflowmonitor/stop-query-workload-insights-top-contributors.rst new file mode 100644 index 000000000000..f90e788be97f --- /dev/null +++ b/awscli/examples/networkflowmonitor/stop-query-workload-insights-top-contributors.rst @@ -0,0 +1,11 @@ +**To stop a query** + +The following ``stop-query-workload-insights-top-contributors`` example stops the query in the specified account. :: + + aws networkflowmonitor stop-query-workload-insights-top-contributors \ + --scope-id e21cda79-30a0-4c12-9299-d8629d76d8cf \ + --query-id 1fc423d3-b144-37a6-80e6-e2c7d26eea0c + +This command produces no output. + +For more information, see `Evaluate network flows with workload insights `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/networkflowmonitor/tag-resource.rst b/awscli/examples/networkflowmonitor/tag-resource.rst new file mode 100644 index 000000000000..a974a71740c5 --- /dev/null +++ b/awscli/examples/networkflowmonitor/tag-resource.rst @@ -0,0 +1,11 @@ +**To add a tag to the specified resource** + +The following ``tag-resource`` example adds a tag to the monitor in the specified account. :: + + aws networkflowmonitor tag-resource \ + --resource-arn arn:aws:networkflowmonitor:us-east-1:123456789012:monitor/Demo \ + --tags Key=stack,Value=Production + +This command produces no output. + +For more information, see `Tagging your Amazon CloudWatch resources `__ in the *Amazon CloudWatch User Guide*. diff --git a/awscli/examples/networkflowmonitor/untag-resource.rst b/awscli/examples/networkflowmonitor/untag-resource.rst new file mode 100644 index 000000000000..bc80c4b0a9c1 --- /dev/null +++ b/awscli/examples/networkflowmonitor/untag-resource.rst @@ -0,0 +1,11 @@ +**To remove a tag from the specified resource** + +The following ``untag-resource`` example removes a tag from the monitor in the specified account. :: + + aws networkflowmonitor untag-resource \ + --resource-arn arn:aws:networkflowmonitor:us-east-1:123456789012:monitor/Demo \ + --tag-keys stack + +This command produces no output. + +For more information, see `Tagging your Amazon CloudWatch resources `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file diff --git a/awscli/examples/networkflowmonitor/update-monitor.rst b/awscli/examples/networkflowmonitor/update-monitor.rst new file mode 100644 index 000000000000..a97a288bf801 --- /dev/null +++ b/awscli/examples/networkflowmonitor/update-monitor.rst @@ -0,0 +1,21 @@ +**To update an existing monitor** + +The following ``update-monitor`` example updates the monitor named ``Demo`` in the specified account. :: + + aws networkflowmonitor update-monitor \ + --monitor-name Demo \ + --local-resources-to-add type="AWS::EC2::VPC",identifier="arn:aws:ec2:us-east-1:123456789012:vpc/vpc-048d08dfbec623f94" + +Output:: + + { + "monitorArn": "arn:aws:networkflowmonitor:us-east-1:123456789012:monitor/Demo", + "monitorName": "Demo", + "monitorStatus": "ACTIVE", + "tags": { + "Value": "Production", + "Key": "stack" + } + } + +For more information, see `Components and features of Network Flow Monitor `__ in the *Amazon CloudWatch User Guide*. \ No newline at end of file From 155195a2e30daf3813d435894bf07333b144780a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 2 Feb 2025 06:36:06 +0000 Subject: [PATCH 0442/1087] Bump aws-actions/closed-issue-message from 1 to 2 Bumps [aws-actions/closed-issue-message](https://github.com/aws-actions/closed-issue-message) from 1 to 2. - [Release notes](https://github.com/aws-actions/closed-issue-message/releases) - [Commits](https://github.com/aws-actions/closed-issue-message/compare/v1...v2) --- updated-dependencies: - dependency-name: aws-actions/closed-issue-message dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/closed-issue-message.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/closed-issue-message.yml b/.github/workflows/closed-issue-message.yml index 895153ce2567..6ab5db076912 100644 --- a/.github/workflows/closed-issue-message.yml +++ b/.github/workflows/closed-issue-message.yml @@ -6,7 +6,7 @@ jobs: auto_comment: runs-on: ubuntu-latest steps: - - uses: aws-actions/closed-issue-message@v1 + - uses: aws-actions/closed-issue-message@v2 with: # These inputs are both required repo-token: "${{ secrets.GITHUB_TOKEN }}" From 10e17652904374258d071aae558e83fa48a3ef27 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 3 Feb 2025 19:03:45 +0000 Subject: [PATCH 0443/1087] Update changelog based on model updates --- .changes/next-release/api-change-mediatailor-62754.json | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changes/next-release/api-change-mediatailor-62754.json diff --git a/.changes/next-release/api-change-mediatailor-62754.json b/.changes/next-release/api-change-mediatailor-62754.json new file mode 100644 index 000000000000..170c76fba7e8 --- /dev/null +++ b/.changes/next-release/api-change-mediatailor-62754.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``mediatailor``", + "description": "Add support for CloudWatch Vended Logs which allows for delivery of customer logs to CloudWatch Logs, S3, or Firehose." +} From af26bf6812e55de993340289b169b409530e09dd Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 3 Feb 2025 19:05:14 +0000 Subject: [PATCH 0444/1087] Bumping version to 1.37.12 --- .changes/1.37.12.json | 7 +++++++ .changes/next-release/api-change-mediatailor-62754.json | 5 ----- CHANGELOG.rst | 6 ++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 7 files changed, 17 insertions(+), 9 deletions(-) create mode 100644 .changes/1.37.12.json delete mode 100644 .changes/next-release/api-change-mediatailor-62754.json diff --git a/.changes/1.37.12.json b/.changes/1.37.12.json new file mode 100644 index 000000000000..2cb82857eefb --- /dev/null +++ b/.changes/1.37.12.json @@ -0,0 +1,7 @@ +[ + { + "category": "``mediatailor``", + "description": "Add support for CloudWatch Vended Logs which allows for delivery of customer logs to CloudWatch Logs, S3, or Firehose.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-mediatailor-62754.json b/.changes/next-release/api-change-mediatailor-62754.json deleted file mode 100644 index 170c76fba7e8..000000000000 --- a/.changes/next-release/api-change-mediatailor-62754.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``mediatailor``", - "description": "Add support for CloudWatch Vended Logs which allows for delivery of customer logs to CloudWatch Logs, S3, or Firehose." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 1660e6ee4dea..4854f7ca0843 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,12 @@ CHANGELOG ========= +1.37.12 +======= + +* api-change:``mediatailor``: Add support for CloudWatch Vended Logs which allows for delivery of customer logs to CloudWatch Logs, S3, or Firehose. + + 1.37.11 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 07fe5aafd833..2dcaa6f667dc 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.37.11' +__version__ = '1.37.12' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index fbf474bc6a57..9f335b0ec5c7 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.37.' # The full version, including alpha/beta/rc tags. -release = '1.37.11' +release = '1.37.12' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 5ba88b7086f0..8a01bd28e7db 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.36.11 + botocore==1.36.12 docutils>=0.10,<0.17 s3transfer>=0.11.0,<0.12.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 4ab11ff3c774..735e93fedb34 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.36.11', + 'botocore==1.36.12', 'docutils>=0.10,<0.17', 's3transfer>=0.11.0,<0.12.0', 'PyYAML>=3.10,<6.1', From 5aac8feba4963c684049f5159cfc25f3118d5b00 Mon Sep 17 00:00:00 2001 From: David Souther Date: Tue, 4 Feb 2025 10:09:30 -0500 Subject: [PATCH 0445/1087] Replaced /my-bucket/ with amzn-s3-demo-bucket (#9223) * Replaced /my-bucket/ with amzn-s3-demo-bucket * Update create-spot-datafeed-subscription.rst --- .../cloudtrail/create-subscription.rst | 70 +++--- awscli/examples/cloudtrail/create-trail.rst | 38 +-- .../examples/cloudtrail/describe-trails.rst | 72 +++--- .../cloudtrail/update-subscription.rst | 66 ++--- awscli/examples/cloudtrail/update-trail.rst | 36 +-- .../codepipeline/list-action-executions.rst | 228 +++++++++--------- .../ec2/create-spot-datafeed-subscription.rst | 48 ++-- .../create-application-version.rst | 6 +- .../examples/kendra/describe-data-source.rst | 2 +- .../delete-bucket-analytics-configuration.rst | 2 +- .../delete-bucket-metrics-configuration.rst | 2 +- .../delete-public-access-block.rst | 2 +- .../get-bucket-analytics-configuration.rst | 2 +- .../get-bucket-metrics-configuration.rst | 2 +- .../networkmanager/get-object-retention.rst | 2 +- .../get-public-access-block.rst | 2 +- .../list-bucket-analytics-configurations.rst | 2 +- .../list-bucket-metrics-configurations.rst | 2 +- .../put-bucket-metrics-configuration.rst | 2 +- .../networkmanager/put-object-retention.rst | 2 +- .../put-public-access-block.rst | 2 +- .../create-robot-application-version.rst | 2 +- .../robomaker/create-robot-application.rst | 4 +- .../create-simulation-application-version.rst | 2 +- .../create-simulation-application.rst | 4 +- .../robomaker/describe-robot-application.rst | 2 +- .../describe-simulation-application.rst | 2 +- .../robomaker/update-robot-application.rst | 4 +- .../update-simulation-application.rst | 4 +- awscli/examples/s3/website.rst | 4 +- .../examples/s3api/abort-multipart-upload.rst | 4 +- .../s3api/complete-multipart-upload.rst | 8 +- awscli/examples/s3api/create-bucket.rst | 18 +- .../s3api/create-multipart-upload.rst | 8 +- .../delete-bucket-analytics-configuration.rst | 2 +- awscli/examples/s3api/delete-bucket-cors.rst | 4 +- .../s3api/delete-bucket-encryption.rst | 2 +- .../delete-bucket-inventory-configuration.rst | 2 +- .../s3api/delete-bucket-lifecycle.rst | 4 +- .../delete-bucket-metrics-configuration.rst | 2 +- .../examples/s3api/delete-bucket-policy.rst | 4 +- .../s3api/delete-bucket-replication.rst | 4 +- .../examples/s3api/delete-bucket-tagging.rst | 4 +- .../examples/s3api/delete-bucket-website.rst | 4 +- awscli/examples/s3api/delete-bucket.rst | 4 +- .../examples/s3api/delete-object-tagging.rst | 2 +- awscli/examples/s3api/delete-object.rst | 4 +- awscli/examples/s3api/delete-objects.rst | 4 +- .../s3api/delete-public-access-block.rst | 2 +- .../get-bucket-accelerate-configuration.rst | 2 +- awscli/examples/s3api/get-bucket-acl.rst | 4 +- .../get-bucket-analytics-configuration.rst | 2 +- awscli/examples/s3api/get-bucket-cors.rst | 4 +- .../examples/s3api/get-bucket-encryption.rst | 4 +- .../get-bucket-inventory-configuration.rst | 4 +- .../get-bucket-lifecycle-configuration.rst | 4 +- .../examples/s3api/get-bucket-lifecycle.rst | 4 +- awscli/examples/s3api/get-bucket-location.rst | 4 +- awscli/examples/s3api/get-bucket-logging.rst | 4 +- .../get-bucket-metrics-configuration.rst | 2 +- .../get-bucket-notification-configuration.rst | 4 +- .../s3api/get-bucket-notification.rst | 4 +- .../s3api/get-bucket-policy-status.rst | 4 +- awscli/examples/s3api/get-bucket-policy.rst | 6 +- .../examples/s3api/get-bucket-replication.rst | 6 +- .../s3api/get-bucket-request-payment.rst | 2 +- awscli/examples/s3api/get-bucket-tagging.rst | 4 +- .../examples/s3api/get-bucket-versioning.rst | 4 +- awscli/examples/s3api/get-bucket-website.rst | 4 +- awscli/examples/s3api/get-object-acl.rst | 4 +- .../examples/s3api/get-object-attributes.rst | 2 +- .../examples/s3api/get-object-legal-hold.rst | 2 +- .../s3api/get-object-lock-configuration.rst | 2 +- .../examples/s3api/get-object-retention.rst | 2 +- awscli/examples/s3api/get-object-tagging.rst | 6 +- awscli/examples/s3api/get-object-torrent.rst | 4 +- .../s3api/get-public-access-block.rst | 2 +- awscli/examples/s3api/head-bucket.rst | 4 +- awscli/examples/s3api/head-object.rst | 4 +- .../list-bucket-analytics-configurations.rst | 2 +- .../list-bucket-inventory-configurations.rst | 6 +- .../list-bucket-metrics-configurations.rst | 2 +- .../examples/s3api/list-multipart-uploads.rst | 4 +- .../examples/s3api/list-object-versions.rst | 4 +- awscli/examples/s3api/list-objects-v2.rst | 2 +- awscli/examples/s3api/list-parts.rst | 4 +- .../put-bucket-accelerate-configuration.rst | 2 +- .../put-bucket-analytics-configuration.rst | 2 +- .../examples/s3api/put-bucket-encryption.rst | 2 +- .../put-bucket-inventory-configuration.rst | 12 +- .../put-bucket-lifecycle-configuration.rst | 4 +- .../examples/s3api/put-bucket-lifecycle.rst | 4 +- .../put-bucket-metrics-configuration.rst | 2 +- .../put-bucket-notification-configuration.rst | 88 +++---- .../s3api/put-bucket-notification.rst | 8 +- .../s3api/put-bucket-request-payment.rst | 4 +- awscli/examples/s3api/put-bucket-tagging.rst | 8 +- .../examples/s3api/put-bucket-versioning.rst | 6 +- awscli/examples/s3api/put-bucket-website.rst | 4 +- .../examples/s3api/put-object-legal-hold.rst | 2 +- .../s3api/put-object-lock-configuration.rst | 2 +- .../examples/s3api/put-object-retention.rst | 2 +- awscli/examples/s3api/put-object-tagging.rst | 4 +- .../s3api/put-public-access-block.rst | 2 +- .../examples/s3api/select-object-content.rst | 2 +- awscli/examples/s3api/upload-part-copy.rst | 4 +- awscli/examples/s3api/upload-part.rst | 2 +- awscli/examples/s3api/wait/bucket-exists.rst | 2 +- .../examples/s3api/wait/bucket-not-exists.rst | 2 +- awscli/examples/s3api/wait/object-exists.rst | 2 +- .../examples/s3api/wait/object-not-exists.rst | 2 +- 111 files changed, 505 insertions(+), 505 deletions(-) diff --git a/awscli/examples/cloudtrail/create-subscription.rst b/awscli/examples/cloudtrail/create-subscription.rst index 4818205fb79b..8b285d005281 100644 --- a/awscli/examples/cloudtrail/create-subscription.rst +++ b/awscli/examples/cloudtrail/create-subscription.rst @@ -1,35 +1,35 @@ -**To create and configure AWS resources for a trail** - -The following ``create-subscription`` command creates a new S3 bucket and SNS topic for ``Trail1``. :: - - aws cloudtrail create-subscription \ - --name Trail1 \ - --s3-new-bucket amzn-s3-demo-bucket \ - --sns-new-topic my-topic - -Output:: - - Setting up new S3 bucket amzn-s3-demo-bucket... - Setting up new SNS topic my-topic... - Creating/updating CloudTrail configuration... - CloudTrail configuration: - { - "trailList": [ - { - "IncludeGlobalServiceEvents": true, - "Name": "Trail1", - "TrailARN": "arn:aws:cloudtrail:us-east-1:123456789012:trail/Trail1", - "LogFileValidationEnabled": false, - "IsMultiRegionTrail": false, - "S3BucketName": "amzn-s3-demo-bucket", - "SnsTopicName": "my-topic", - "HomeRegion": "us-east-1" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "f39e51f6-c615-11e5-85bd-d35ca21ee3e2" - } - } - Starting CloudTrail service... - Logs will be delivered to my-bucket +**To create and configure AWS resources for a trail** + +The following ``create-subscription`` command creates a new S3 bucket and SNS topic for ``Trail1``. :: + + aws cloudtrail create-subscription \ + --name Trail1 \ + --s3-new-bucket amzn-s3-demo-bucket \ + --sns-new-topic my-topic + +Output:: + + Setting up new S3 bucket amzn-s3-demo-bucket... + Setting up new SNS topic my-topic... + Creating/updating CloudTrail configuration... + CloudTrail configuration: + { + "trailList": [ + { + "IncludeGlobalServiceEvents": true, + "Name": "Trail1", + "TrailARN": "arn:aws:cloudtrail:us-east-1:123456789012:trail/Trail1", + "LogFileValidationEnabled": false, + "IsMultiRegionTrail": false, + "S3BucketName": "amzn-s3-demo-bucket", + "SnsTopicName": "my-topic", + "HomeRegion": "us-east-1" + } + ], + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "f39e51f6-c615-11e5-85bd-d35ca21ee3e2" + } + } + Starting CloudTrail service... + Logs will be delivered to my-bucket \ No newline at end of file diff --git a/awscli/examples/cloudtrail/create-trail.rst b/awscli/examples/cloudtrail/create-trail.rst index 069de7ac6f29..0472c5fb2948 100644 --- a/awscli/examples/cloudtrail/create-trail.rst +++ b/awscli/examples/cloudtrail/create-trail.rst @@ -1,19 +1,19 @@ -**To create a trail** - -The following ``create-trail`` example creates a multi-region trail named ``Trail1`` and specifies an S3 bucket. :: - - aws cloudtrail create-trail \ - --name Trail1 \ - --s3-bucket-name amzn-s3-demo-bucket \ - --is-multi-region-trail - -Output:: - - { - "IncludeGlobalServiceEvents": true, - "Name": "Trail1", - "TrailARN": "arn:aws:cloudtrail:us-west-2:123456789012:trail/Trail1", - "LogFileValidationEnabled": false, - "IsMultiRegionTrail": true, - "S3BucketName": "amzn-s3-demo-bucket" - } +**To create a trail** + +The following ``create-trail`` example creates a multi-region trail named ``Trail1`` and specifies an S3 bucket. :: + + aws cloudtrail create-trail \ + --name Trail1 \ + --s3-bucket-name amzn-s3-demo-bucket \ + --is-multi-region-trail + +Output:: + + { + "IncludeGlobalServiceEvents": true, + "Name": "Trail1", + "TrailARN": "arn:aws:cloudtrail:us-west-2:123456789012:trail/Trail1", + "LogFileValidationEnabled": false, + "IsMultiRegionTrail": true, + "S3BucketName": "amzn-s3-demo-bucket" + } diff --git a/awscli/examples/cloudtrail/describe-trails.rst b/awscli/examples/cloudtrail/describe-trails.rst index 6e15cf173e9a..d92635af7964 100644 --- a/awscli/examples/cloudtrail/describe-trails.rst +++ b/awscli/examples/cloudtrail/describe-trails.rst @@ -1,36 +1,36 @@ -**To describe a trail** - -The following ``describe-trails`` example returns the settings for ``Trail1`` and ``Trail2``. :: - - aws cloudtrail describe-trails \ - --trail-name-list Trail1 Trail2 - -Output:: - - { - "trailList": [ - { - "IncludeGlobalServiceEvents": true, - "Name": "Trail1", - "TrailARN": "arn:aws:cloudtrail:us-east-1:123456789012:trail/Trail1", - "LogFileValidationEnabled": false, - "IsMultiRegionTrail": false, - "S3BucketName": "amzn-s3-demo-bucket", - "CloudWatchLogsRoleArn": "arn:aws:iam::123456789012:role/CloudTrail_CloudWatchLogs_Role", - "CloudWatchLogsLogGroupArn": "arn:aws:logs:us-east-1:123456789012:log-group:CloudTrail:*", - "SnsTopicName": "my-topic", - "HomeRegion": "us-east-1" - }, - { - "IncludeGlobalServiceEvents": true, - "Name": "Trail2", - "S3KeyPrefix": "my-prefix", - "TrailARN": "arn:aws:cloudtrail:us-east-1:123456789012:trail/Trail2", - "LogFileValidationEnabled": false, - "IsMultiRegionTrail": false, - "S3BucketName": "amzn-s3-demo-bucket2", - "KmsKeyId": "arn:aws:kms:us-east-1:123456789012:key/4c5ae5ac-3c13-421e-8335-c7868ef6a769", - "HomeRegion": "us-east-1" - } - ] - } +**To describe a trail** + +The following ``describe-trails`` example returns the settings for ``Trail1`` and ``Trail2``. :: + + aws cloudtrail describe-trails \ + --trail-name-list Trail1 Trail2 + +Output:: + + { + "trailList": [ + { + "IncludeGlobalServiceEvents": true, + "Name": "Trail1", + "TrailARN": "arn:aws:cloudtrail:us-east-1:123456789012:trail/Trail1", + "LogFileValidationEnabled": false, + "IsMultiRegionTrail": false, + "S3BucketName": "amzn-s3-demo-bucket", + "CloudWatchLogsRoleArn": "arn:aws:iam::123456789012:role/CloudTrail_CloudWatchLogs_Role", + "CloudWatchLogsLogGroupArn": "arn:aws:logs:us-east-1:123456789012:log-group:CloudTrail:*", + "SnsTopicName": "my-topic", + "HomeRegion": "us-east-1" + }, + { + "IncludeGlobalServiceEvents": true, + "Name": "Trail2", + "S3KeyPrefix": "my-prefix", + "TrailARN": "arn:aws:cloudtrail:us-east-1:123456789012:trail/Trail2", + "LogFileValidationEnabled": false, + "IsMultiRegionTrail": false, + "S3BucketName": "amzn-s3-demo-bucket2", + "KmsKeyId": "arn:aws:kms:us-east-1:123456789012:key/4c5ae5ac-3c13-421e-8335-c7868ef6a769", + "HomeRegion": "us-east-1" + } + ] + } diff --git a/awscli/examples/cloudtrail/update-subscription.rst b/awscli/examples/cloudtrail/update-subscription.rst index 958076d415bb..f1b7df74b997 100644 --- a/awscli/examples/cloudtrail/update-subscription.rst +++ b/awscli/examples/cloudtrail/update-subscription.rst @@ -1,33 +1,33 @@ -**To update the configuration settings for a trail** - -The following ``update-subscription`` example updates the trail to specify a new S3 bucket and SNS topic. :: - - aws cloudtrail update-subscription \ - --name Trail1 \ - --s3-new-bucket amzn-s3-demo-bucket \ - --sns-new-topic my-topic-new - -Output:: - - Setting up new S3 bucket amzn-s3-demo-bucket... - Setting up new SNS topic my-topic-new... - Creating/updating CloudTrail configuration... - CloudTrail configuration: - { - "trailList": [ - { - "IncludeGlobalServiceEvents": true, - "Name": "Trail1", - "TrailARN": "arn:aws:cloudtrail:us-east-1:123456789012:trail/Trail1", - "LogFileValidationEnabled": false, - "IsMultiRegionTrail": false, - "S3BucketName": "amzn-s3-demo-bucket", - "SnsTopicName": "my-topic-new", - "HomeRegion": "us-east-1" - } - ], - "ResponseMetadata": { - "HTTPStatusCode": 200, - "RequestId": "31126f8a-c616-11e5-9cc6-2fd637936879" - } - } +**To update the configuration settings for a trail** + +The following ``update-subscription`` example updates the trail to specify a new S3 bucket and SNS topic. :: + + aws cloudtrail update-subscription \ + --name Trail1 \ + --s3-new-bucket amzn-s3-demo-bucket \ + --sns-new-topic my-topic-new + +Output:: + + Setting up new S3 bucket amzn-s3-demo-bucket... + Setting up new SNS topic my-topic-new... + Creating/updating CloudTrail configuration... + CloudTrail configuration: + { + "trailList": [ + { + "IncludeGlobalServiceEvents": true, + "Name": "Trail1", + "TrailARN": "arn:aws:cloudtrail:us-east-1:123456789012:trail/Trail1", + "LogFileValidationEnabled": false, + "IsMultiRegionTrail": false, + "S3BucketName": "amzn-s3-demo-bucket", + "SnsTopicName": "my-topic-new", + "HomeRegion": "us-east-1" + } + ], + "ResponseMetadata": { + "HTTPStatusCode": 200, + "RequestId": "31126f8a-c616-11e5-9cc6-2fd637936879" + } + } diff --git a/awscli/examples/cloudtrail/update-trail.rst b/awscli/examples/cloudtrail/update-trail.rst index 951209c61e4d..f7b9284d88b6 100644 --- a/awscli/examples/cloudtrail/update-trail.rst +++ b/awscli/examples/cloudtrail/update-trail.rst @@ -1,18 +1,18 @@ -**To update a trail** - -The following ``update-trail`` example updates a trail to use an existing bucket for log delivery. :: - - aws cloudtrail update-trail \ - --name Trail1 \ - --s3-bucket-name amzn-s3-demo-bucket - -Output:: - - { - "IncludeGlobalServiceEvents": true, - "Name": "Trail1", - "TrailARN": "arn:aws:cloudtrail:us-west-2:123456789012:trail/Trail1", - "LogFileValidationEnabled": false, - "IsMultiRegionTrail": true, - "S3BucketName": "amzn-s3-demo-bucket" - } +**To update a trail** + +The following ``update-trail`` example updates a trail to use an existing bucket for log delivery. :: + + aws cloudtrail update-trail \ + --name Trail1 \ + --s3-bucket-name amzn-s3-demo-bucket + +Output:: + + { + "IncludeGlobalServiceEvents": true, + "Name": "Trail1", + "TrailARN": "arn:aws:cloudtrail:us-west-2:123456789012:trail/Trail1", + "LogFileValidationEnabled": false, + "IsMultiRegionTrail": true, + "S3BucketName": "amzn-s3-demo-bucket" + } \ No newline at end of file diff --git a/awscli/examples/codepipeline/list-action-executions.rst b/awscli/examples/codepipeline/list-action-executions.rst index 907ef50fd54d..f5b7503650ad 100644 --- a/awscli/examples/codepipeline/list-action-executions.rst +++ b/awscli/examples/codepipeline/list-action-executions.rst @@ -1,115 +1,115 @@ -**To list action executions** - -The following ``list-action-executions`` example views action execution details for a pipeline, such as action execution ID, input artifacts, output artifacts, execution result, and status. :: - - aws codepipeline list-action-executions \ - --pipeline-name myPipeline - -Output:: - - { - "actionExecutionDetails": [ - { - "pipelineExecutionId": "EXAMPLE0-adfc-488e-bf4c-1111111720d3", - "actionExecutionId": "EXAMPLE4-2ee8-4853-bd6a-111111158148", - "pipelineVersion": 12, - "stageName": "Deploy", - "actionName": "Deploy", - "startTime": 1598572628.6, - "lastUpdateTime": 1598572661.255, - "status": "Succeeded", - "input": { - "actionTypeId": { - "category": "Deploy", - "owner": "AWS", - "provider": "CodeDeploy", - "version": "1" - }, - "configuration": { - "ApplicationName": "my-application", - "DeploymentGroupName": "my-deployment-group" - }, - "resolvedConfiguration": { - "ApplicationName": "my-application", - "DeploymentGroupName": "my-deployment-group" - }, - "region": "us-east-1", - "inputArtifacts": [ - { - "name": "SourceArtifact", - "s3location": { - "bucket": "artifact-bucket", - "key": "myPipeline/SourceArti/key" - } - } - ], - "namespace": "DeployVariables" - }, - "output": { - "outputArtifacts": [], - "executionResult": { - "externalExecutionId": "d-EXAMPLEE5", - "externalExecutionSummary": "Deployment Succeeded", - "externalExecutionUrl": "https://myaddress.com" - }, - "outputVariables": {} - } - }, - { - "pipelineExecutionId": "EXAMPLE0-adfc-488e-bf4c-1111111720d3", - "actionExecutionId": "EXAMPLE5-abb4-4192-9031-11111113a7b0", - "pipelineVersion": 12, - "stageName": "Source", - "actionName": "Source", - "startTime": 1598572624.387, - "lastUpdateTime": 1598572628.16, - "status": "Succeeded", - "input": { - "actionTypeId": { - "category": "Source", - "owner": "AWS", - "provider": "CodeCommit", - "version": "1" - }, - "configuration": { - "BranchName": "production", - "PollForSourceChanges": "false", - "RepositoryName": "my-repo" - }, - "resolvedConfiguration": { - "BranchName": "production", - "PollForSourceChanges": "false", - "RepositoryName": "my-repo" - }, - "region": "us-east-1", - "inputArtifacts": [], - "namespace": "SourceVariables" - }, - "output": { - "outputArtifacts": [ - { - "name": "SourceArtifact", - "s3location": { - "bucket": "my-bucket", - "key": "myPipeline/SourceArti/key" - } - } - ], - "executionResult": { - "externalExecutionId": "1111111ad99dcd35914c00b7fbea13995EXAMPLE", - "externalExecutionSummary": "Edited template.yml", - "externalExecutionUrl": "https://myaddress.com" - }, - "outputVariables": { - "AuthorDate": "2020-05-08T17:45:43Z", - "BranchName": "production", - "CommitId": "EXAMPLEad99dcd35914c00b7fbea139951111111", - "CommitMessage": "Edited template.yml", - "CommitterDate": "2020-05-08T17:45:43Z", - "RepositoryName": "my-repo" - } - } - }, - . . . . - +**To list action executions** + +The following ``list-action-executions`` example views action execution details for a pipeline, such as action execution ID, input artifacts, output artifacts, execution result, and status. :: + + aws codepipeline list-action-executions \ + --pipeline-name myPipeline + +Output:: + + { + "actionExecutionDetails": [ + { + "pipelineExecutionId": "EXAMPLE0-adfc-488e-bf4c-1111111720d3", + "actionExecutionId": "EXAMPLE4-2ee8-4853-bd6a-111111158148", + "pipelineVersion": 12, + "stageName": "Deploy", + "actionName": "Deploy", + "startTime": 1598572628.6, + "lastUpdateTime": 1598572661.255, + "status": "Succeeded", + "input": { + "actionTypeId": { + "category": "Deploy", + "owner": "AWS", + "provider": "CodeDeploy", + "version": "1" + }, + "configuration": { + "ApplicationName": "my-application", + "DeploymentGroupName": "my-deployment-group" + }, + "resolvedConfiguration": { + "ApplicationName": "my-application", + "DeploymentGroupName": "my-deployment-group" + }, + "region": "us-east-1", + "inputArtifacts": [ + { + "name": "SourceArtifact", + "s3location": { + "bucket": "artifact-bucket", + "key": "myPipeline/SourceArti/key" + } + } + ], + "namespace": "DeployVariables" + }, + "output": { + "outputArtifacts": [], + "executionResult": { + "externalExecutionId": "d-EXAMPLEE5", + "externalExecutionSummary": "Deployment Succeeded", + "externalExecutionUrl": "https://myaddress.com" + }, + "outputVariables": {} + } + }, + { + "pipelineExecutionId": "EXAMPLE0-adfc-488e-bf4c-1111111720d3", + "actionExecutionId": "EXAMPLE5-abb4-4192-9031-11111113a7b0", + "pipelineVersion": 12, + "stageName": "Source", + "actionName": "Source", + "startTime": 1598572624.387, + "lastUpdateTime": 1598572628.16, + "status": "Succeeded", + "input": { + "actionTypeId": { + "category": "Source", + "owner": "AWS", + "provider": "CodeCommit", + "version": "1" + }, + "configuration": { + "BranchName": "production", + "PollForSourceChanges": "false", + "RepositoryName": "my-repo" + }, + "resolvedConfiguration": { + "BranchName": "production", + "PollForSourceChanges": "false", + "RepositoryName": "my-repo" + }, + "region": "us-east-1", + "inputArtifacts": [], + "namespace": "SourceVariables" + }, + "output": { + "outputArtifacts": [ + { + "name": "SourceArtifact", + "s3location": { + "bucket": "amzn-s3-demo-bucket", + "key": "myPipeline/SourceArti/key" + } + } + ], + "executionResult": { + "externalExecutionId": "1111111ad99dcd35914c00b7fbea13995EXAMPLE", + "externalExecutionSummary": "Edited template.yml", + "externalExecutionUrl": "https://myaddress.com" + }, + "outputVariables": { + "AuthorDate": "2020-05-08T17:45:43Z", + "BranchName": "production", + "CommitId": "EXAMPLEad99dcd35914c00b7fbea139951111111", + "CommitMessage": "Edited template.yml", + "CommitterDate": "2020-05-08T17:45:43Z", + "RepositoryName": "my-repo" + } + } + }, + . . . . + For more information, see `View action executions (CLI) `__ in the *AWS CodePipeline User Guide*. \ No newline at end of file diff --git a/awscli/examples/ec2/create-spot-datafeed-subscription.rst b/awscli/examples/ec2/create-spot-datafeed-subscription.rst index d00ae6a230a1..29dd3992737b 100644 --- a/awscli/examples/ec2/create-spot-datafeed-subscription.rst +++ b/awscli/examples/ec2/create-spot-datafeed-subscription.rst @@ -1,24 +1,24 @@ -**To create a Spot Instance data feed** - -The following ``create-spot-datafeed-subscription`` example creates a Spot Instance data feed. :: - - aws ec2 create-spot-datafeed-subscription \ - --bucket my-bucket \ - --prefix spot-data-feed - -Output:: - - { - "SpotDatafeedSubscription": { - "Bucket": "my-bucket", - "OwnerId": "123456789012", - "Prefix": "spot-data-feed", - "State": "Active" - } - } - -The data feed is stored in the Amazon S3 bucket that you specified. The file names for this data feed have the following format. :: - - my-bucket.s3.amazonaws.com/spot-data-feed/123456789012.YYYY-MM-DD-HH.n.abcd1234.gz - -For more information, see `Spot Instance data feed `__ in the *Amazon EC2 User Guide*. +**To create a Spot Instance data feed** + +The following ``create-spot-datafeed-subscription`` example creates a Spot Instance data feed. :: + + aws ec2 create-spot-datafeed-subscription \ + --bucket amzn-s3-demo-bucket \ + --prefix spot-data-feed + +Output:: + + { + "SpotDatafeedSubscription": { + "Bucket": "amzn-s3-demo-bucket", + "OwnerId": "123456789012", + "Prefix": "spot-data-feed", + "State": "Active" + } + } + +The data feed is stored in the Amazon S3 bucket that you specified. The file names for this data feed have the following format. :: + + amzn-s3-demo-bucket.s3.amazonaws.com/spot-data-feed/123456789012.YYYY-MM-DD-HH.n.abcd1234.gz + +For more information, see `Spot Instance data feed `__ in the *Amazon EC2 User Guide*. diff --git a/awscli/examples/elasticbeanstalk/create-application-version.rst b/awscli/examples/elasticbeanstalk/create-application-version.rst index cf504b44965a..1043b7eb7629 100644 --- a/awscli/examples/elasticbeanstalk/create-application-version.rst +++ b/awscli/examples/elasticbeanstalk/create-application-version.rst @@ -2,9 +2,9 @@ The following command creates a new version, "v1" of an application named "MyApp":: - aws elasticbeanstalk create-application-version --application-name MyApp --version-label v1 --description MyAppv1 --source-bundle S3Bucket="my-bucket",S3Key="sample.war" --auto-create-application + aws elasticbeanstalk create-application-version --application-name MyApp --version-label v1 --description MyAppv1 --source-bundle S3Bucket="amzn-s3-demo-bucket",S3Key="sample.war" --auto-create-application -The application will be created automatically if it does not already exist, due to the auto-create-application option. The source bundle is a .war file stored in an s3 bucket named "my-bucket" that contains the Apache Tomcat sample application. +The application will be created automatically if it does not already exist, due to the auto-create-application option. The source bundle is a .war file stored in an s3 bucket named "amzn-s3-demo-bucket" that contains the Apache Tomcat sample application. Output:: @@ -16,7 +16,7 @@ Output:: "DateCreated": "2015-02-03T23:01:25.412Z", "DateUpdated": "2015-02-03T23:01:25.412Z", "SourceBundle": { - "S3Bucket": "my-bucket", + "S3Bucket": "amzn-s3-demo-bucket", "S3Key": "sample.war" } } diff --git a/awscli/examples/kendra/describe-data-source.rst b/awscli/examples/kendra/describe-data-source.rst index 196b5430a509..9494458e7ec7 100644 --- a/awscli/examples/kendra/describe-data-source.rst +++ b/awscli/examples/kendra/describe-data-source.rst @@ -14,7 +14,7 @@ Output:: "Template": { "connectionConfiguration": { "repositoryEndpointMetadata": { - "BucketName": "my-bucket" + "BucketName": "amzn-s3-demo-bucket" } }, "repositoryConfigurations": { diff --git a/awscli/examples/networkmanager/delete-bucket-analytics-configuration.rst b/awscli/examples/networkmanager/delete-bucket-analytics-configuration.rst index 47d350e423f5..51c3d0a5f88a 100755 --- a/awscli/examples/networkmanager/delete-bucket-analytics-configuration.rst +++ b/awscli/examples/networkmanager/delete-bucket-analytics-configuration.rst @@ -3,7 +3,7 @@ The following ``delete-bucket-analytics-configuration`` example removes the analytics configuration for the specified bucket and ID. :: aws s3api delete-bucket-analytics-configuration \ - --bucket my-bucket \ + --bucket amzn-s3-demo-bucket \ --id 1 This command produces no output. \ No newline at end of file diff --git a/awscli/examples/networkmanager/delete-bucket-metrics-configuration.rst b/awscli/examples/networkmanager/delete-bucket-metrics-configuration.rst index 325d31ce2dc7..6b428609f898 100755 --- a/awscli/examples/networkmanager/delete-bucket-metrics-configuration.rst +++ b/awscli/examples/networkmanager/delete-bucket-metrics-configuration.rst @@ -3,7 +3,7 @@ The following ``delete-bucket-metrics-configuration`` example removes the metrics configuration for the specified bucket and ID. :: aws s3api delete-bucket-metrics-configuration \ - --bucket my-bucket \ + --bucket amzn-s3-demo-bucket \ --id 123 This command produces no output. \ No newline at end of file diff --git a/awscli/examples/networkmanager/delete-public-access-block.rst b/awscli/examples/networkmanager/delete-public-access-block.rst index 563a8b5069b9..54fd0ee6dc40 100755 --- a/awscli/examples/networkmanager/delete-public-access-block.rst +++ b/awscli/examples/networkmanager/delete-public-access-block.rst @@ -3,6 +3,6 @@ The following ``delete-public-access-block`` example removes the block public access configuration on the specified bucket. :: aws s3api delete-public-access-block \ - --bucket my-bucket + --bucket amzn-s3-demo-bucket This command produces no output. diff --git a/awscli/examples/networkmanager/get-bucket-analytics-configuration.rst b/awscli/examples/networkmanager/get-bucket-analytics-configuration.rst index e9e0bba7eb41..b6f1ffe97f48 100755 --- a/awscli/examples/networkmanager/get-bucket-analytics-configuration.rst +++ b/awscli/examples/networkmanager/get-bucket-analytics-configuration.rst @@ -3,7 +3,7 @@ The following ``get-bucket-analytics-configuration`` example displays the analytics configuration for the specified bucket and ID. :: aws s3api get-bucket-analytics-configuration \ - --bucket my-bucket \ + --bucket amzn-s3-demo-bucket \ --id 1 Output:: diff --git a/awscli/examples/networkmanager/get-bucket-metrics-configuration.rst b/awscli/examples/networkmanager/get-bucket-metrics-configuration.rst index d0628a55f7e2..bfed5f1804de 100755 --- a/awscli/examples/networkmanager/get-bucket-metrics-configuration.rst +++ b/awscli/examples/networkmanager/get-bucket-metrics-configuration.rst @@ -3,7 +3,7 @@ The following ``get-bucket-metrics-configuration`` example displays the metrics configuration for the specified bucket and ID. :: aws s3api get-bucket-metrics-configuration \ - --bucket my-bucket \ + --bucket amzn-s3-demo-bucket \ --id 123 Output:: diff --git a/awscli/examples/networkmanager/get-object-retention.rst b/awscli/examples/networkmanager/get-object-retention.rst index ebd67e632b54..d2930010a993 100755 --- a/awscli/examples/networkmanager/get-object-retention.rst +++ b/awscli/examples/networkmanager/get-object-retention.rst @@ -3,7 +3,7 @@ The following ``get-object-retention`` example retrieves the object retention configuration for the specified object. :: aws s3api get-object-retention \ - --bucket my-bucket-with-object-lock \ + --bucket amzn-s3-demo-bucket-with-object-lock \ --key doc1.rtf Output:: diff --git a/awscli/examples/networkmanager/get-public-access-block.rst b/awscli/examples/networkmanager/get-public-access-block.rst index 8bf9dcdbea6d..abd1b972aac5 100755 --- a/awscli/examples/networkmanager/get-public-access-block.rst +++ b/awscli/examples/networkmanager/get-public-access-block.rst @@ -2,7 +2,7 @@ The following ``get-public-access-block`` example displays the block public access configuration for the specified bucket. :: - aws s3api get-public-access-block --bucket my-bucket + aws s3api get-public-access-block --bucket amzn-s3-demo-bucket Output:: diff --git a/awscli/examples/networkmanager/list-bucket-analytics-configurations.rst b/awscli/examples/networkmanager/list-bucket-analytics-configurations.rst index cedf797292d1..93d5131d76cc 100755 --- a/awscli/examples/networkmanager/list-bucket-analytics-configurations.rst +++ b/awscli/examples/networkmanager/list-bucket-analytics-configurations.rst @@ -3,7 +3,7 @@ The following ``list-bucket-analytics-configurations`` retrieves a list of analytics configurations for the specified bucket. :: aws s3api list-bucket-analytics-configurations \ - --bucket my-bucket + --bucket amzn-s3-demo-bucket Output:: diff --git a/awscli/examples/networkmanager/list-bucket-metrics-configurations.rst b/awscli/examples/networkmanager/list-bucket-metrics-configurations.rst index 769c4d7404b6..79145dd11cc0 100755 --- a/awscli/examples/networkmanager/list-bucket-metrics-configurations.rst +++ b/awscli/examples/networkmanager/list-bucket-metrics-configurations.rst @@ -3,7 +3,7 @@ The following ``list-bucket-metrics-configurations`` example retrieves a list of metrics configurations for the specified bucket. :: aws s3api list-bucket-metrics-configurations \ - --bucket my-bucket + --bucket amzn-s3-demo-bucket Output:: diff --git a/awscli/examples/networkmanager/put-bucket-metrics-configuration.rst b/awscli/examples/networkmanager/put-bucket-metrics-configuration.rst index 024118e03e96..7e6b3123eab3 100755 --- a/awscli/examples/networkmanager/put-bucket-metrics-configuration.rst +++ b/awscli/examples/networkmanager/put-bucket-metrics-configuration.rst @@ -3,7 +3,7 @@ The following ``put-bucket-metrics-configuration`` example sets a metric configuration with ID 123 for the specified bucket. :: aws s3api put-bucket-metrics-configuration \ - --bucket my-bucket \ + --bucket amzn-s3-demo-bucket \ --id 123 \ --metrics-configuration '{"Id": "123", "Filter": {"Prefix": "logs"}}' diff --git a/awscli/examples/networkmanager/put-object-retention.rst b/awscli/examples/networkmanager/put-object-retention.rst index f2fc164f16cf..092a22937b15 100755 --- a/awscli/examples/networkmanager/put-object-retention.rst +++ b/awscli/examples/networkmanager/put-object-retention.rst @@ -3,7 +3,7 @@ The following ``put-object-retention`` example sets an object retention configuration for the specified object until 2025-01-01. :: aws s3api put-object-retention \ - --bucket my-bucket-with-object-lock \ + --bucket amzn-s3-demo-bucket-with-object-lock \ --key doc1.rtf \ --retention '{ "Mode": "GOVERNANCE", "RetainUntilDate": "2025-01-01T00:00:00" }' diff --git a/awscli/examples/networkmanager/put-public-access-block.rst b/awscli/examples/networkmanager/put-public-access-block.rst index f06bf915f85d..5d082bc98d34 100755 --- a/awscli/examples/networkmanager/put-public-access-block.rst +++ b/awscli/examples/networkmanager/put-public-access-block.rst @@ -3,7 +3,7 @@ The following ``put-public-access-block`` example sets a restrictive block public access configuration for the specified bucket. :: aws s3api put-public-access-block \ - --bucket my-bucket \ + --bucket amzn-s3-demo-bucket \ --public-access-block-configuration "BlockPublicAcls=true,IgnorePublicAcls=true,BlockPublicPolicy=true,RestrictPublicBuckets=true" This command produces no output. diff --git a/awscli/examples/robomaker/create-robot-application-version.rst b/awscli/examples/robomaker/create-robot-application-version.rst index a3ff727f1fe5..bc080204de6d 100644 --- a/awscli/examples/robomaker/create-robot-application-version.rst +++ b/awscli/examples/robomaker/create-robot-application-version.rst @@ -14,7 +14,7 @@ Output:: "version": "1", "sources": [ { - "s3Bucket": "my-bucket", + "s3Bucket": "amzn-s3-demo-bucket", "s3Key": "my-robot-application.tar.gz", "etag": "f8cf5526f1c6e7b3a72c3ed3f79c5493-70", "architecture": "ARMHF" diff --git a/awscli/examples/robomaker/create-robot-application.rst b/awscli/examples/robomaker/create-robot-application.rst index ae992690ed9c..372c81d992e4 100644 --- a/awscli/examples/robomaker/create-robot-application.rst +++ b/awscli/examples/robomaker/create-robot-application.rst @@ -4,7 +4,7 @@ This example creates a robot application. Command:: - aws robomaker create-robot-application --name MyRobotApplication --sources s3Bucket=my-bucket,s3Key=my-robot-application.tar.gz,architecture=X86_64 --robot-software-suite name=ROS,version=Kinetic + aws robomaker create-robot-application --name MyRobotApplication --sources s3Bucket=amzn-s3-demo-bucket,s3Key=my-robot-application.tar.gz,architecture=X86_64 --robot-software-suite name=ROS,version=Kinetic Output:: @@ -14,7 +14,7 @@ Output:: "version": "$LATEST", "sources": [ { - "s3Bucket": "my-bucket", + "s3Bucket": "amzn-s3-demo-bucket", "s3Key": "my-robot-application.tar.gz", "architecture": "ARMHF" } diff --git a/awscli/examples/robomaker/create-simulation-application-version.rst b/awscli/examples/robomaker/create-simulation-application-version.rst index 446b86928b29..b4a1e6e759cd 100644 --- a/awscli/examples/robomaker/create-simulation-application-version.rst +++ b/awscli/examples/robomaker/create-simulation-application-version.rst @@ -14,7 +14,7 @@ Output:: "version": "1", "sources": [ { - "s3Bucket": "my-bucket", + "s3Bucket": "amzn-s3-demo-bucket", "s3Key": "my-simulation-application.tar.gz", "etag": "00d8a94ff113856688c4fce618ae0f45-94", "architecture": "X86_64" diff --git a/awscli/examples/robomaker/create-simulation-application.rst b/awscli/examples/robomaker/create-simulation-application.rst index 4c528e80f453..4f6cf95732c0 100644 --- a/awscli/examples/robomaker/create-simulation-application.rst +++ b/awscli/examples/robomaker/create-simulation-application.rst @@ -4,7 +4,7 @@ This example creates a simulation application. Command:: - aws robomaker create-simulation-application --name MyRobotApplication --sources s3Bucket=my-bucket,s3Key=my-simulation-application.tar.gz,architecture=ARMHF --robot-software-suite name=ROS,version=Kinetic --simulation-software-suite name=Gazebo,version=7 --rendering-engine name=OGRE,version=1.x + aws robomaker create-simulation-application --name MyRobotApplication --sources s3Bucket=amzn-s3-demo-bucket,s3Key=my-simulation-application.tar.gz,architecture=ARMHF --robot-software-suite name=ROS,version=Kinetic --simulation-software-suite name=Gazebo,version=7 --rendering-engine name=OGRE,version=1.x Output:: @@ -14,7 +14,7 @@ Output:: "version": "$LATEST", "sources": [ { - "s3Bucket": "my-bucket", + "s3Bucket": "amzn-s3-demo-bucket", "s3Key": "my-simulation-application.tar.gz", "architecture": "X86_64" } diff --git a/awscli/examples/robomaker/describe-robot-application.rst b/awscli/examples/robomaker/describe-robot-application.rst index 137513c01503..52f7fe664b38 100644 --- a/awscli/examples/robomaker/describe-robot-application.rst +++ b/awscli/examples/robomaker/describe-robot-application.rst @@ -14,7 +14,7 @@ Output:: "version": "$LATEST", "sources": [ { - "s3Bucket": "my-bucket", + "s3Bucket": "amzn-s3-demo-bucket", "s3Key": "my-robot-application.tar.gz", "architecture": "X86_64" } diff --git a/awscli/examples/robomaker/describe-simulation-application.rst b/awscli/examples/robomaker/describe-simulation-application.rst index 578a7c7b1f35..d946bf8886dc 100644 --- a/awscli/examples/robomaker/describe-simulation-application.rst +++ b/awscli/examples/robomaker/describe-simulation-application.rst @@ -14,7 +14,7 @@ Output:: "version": "$LATEST", "sources": [ { - "s3Bucket": "my-bucket", + "s3Bucket": "amzn-s3-demo-bucket", "s3Key": "my-simulation-application.tar.gz", "architecture": "X86_64" } diff --git a/awscli/examples/robomaker/update-robot-application.rst b/awscli/examples/robomaker/update-robot-application.rst index d6057c8ee468..429135c15601 100644 --- a/awscli/examples/robomaker/update-robot-application.rst +++ b/awscli/examples/robomaker/update-robot-application.rst @@ -4,7 +4,7 @@ This example updates a robot application. Command:: - aws robomaker update-robot-application --application arn:aws:robomaker:us-west-2:111111111111:robot-application/MyRobotApplication/1551203485821 --sources s3Bucket=my-bucket,s3Key=my-robot-application.tar.gz,architecture=X86_64 --robot-software-suite name=ROS,version=Kinetic + aws robomaker update-robot-application --application arn:aws:robomaker:us-west-2:111111111111:robot-application/MyRobotApplication/1551203485821 --sources s3Bucket=amzn-s3-demo-bucket,s3Key=my-robot-application.tar.gz,architecture=X86_64 --robot-software-suite name=ROS,version=Kinetic Output:: @@ -14,7 +14,7 @@ Output:: "version": "$LATEST", "sources": [ { - "s3Bucket": "my-bucket", + "s3Bucket": "amzn-s3-demo-bucket", "s3Key": "my-robot-application.tar.gz", "architecture": "X86_64" } diff --git a/awscli/examples/robomaker/update-simulation-application.rst b/awscli/examples/robomaker/update-simulation-application.rst index 54388e3fe804..b69a2a2b5236 100644 --- a/awscli/examples/robomaker/update-simulation-application.rst +++ b/awscli/examples/robomaker/update-simulation-application.rst @@ -4,7 +4,7 @@ This example updates a simulation application. Command:: - aws robomaker update-simulation-application --application arn:aws:robomaker:us-west-2:111111111111:simulation-application/MySimulationApplication/1551203427605 --sources s3Bucket=my-bucket,s3Key=my-simulation-application.tar.gz,architecture=X86_64 --robot-software-suite name=ROS,version=Kinetic --simulation-software-suite name=Gazebo,version=7 --rendering-engine name=OGRE,version=1.x + aws robomaker update-simulation-application --application arn:aws:robomaker:us-west-2:111111111111:simulation-application/MySimulationApplication/1551203427605 --sources s3Bucket=amzn-s3-demo-bucket,s3Key=my-simulation-application.tar.gz,architecture=X86_64 --robot-software-suite name=ROS,version=Kinetic --simulation-software-suite name=Gazebo,version=7 --rendering-engine name=OGRE,version=1.x Output:: @@ -14,7 +14,7 @@ Output:: "version": "$LATEST", "sources": [ { - "s3Bucket": "my-bucket", + "s3Bucket": "amzn-s3-demo-bucket", "s3Key": "my-simulation-application.tar.gz", "architecture": "X86_64" } diff --git a/awscli/examples/s3/website.rst b/awscli/examples/s3/website.rst index 65ea8df9f3a5..2326e6d002bb 100644 --- a/awscli/examples/s3/website.rst +++ b/awscli/examples/s3/website.rst @@ -1,10 +1,10 @@ **Configure an S3 bucket as a static website** -The following command configures a bucket named ``my-bucket`` as a static website. The index document option specifies the file in ``my-bucket`` that visitors will be directed to when they navigate to the website URL. In this case, the bucket is in the us-west-2 region, so the site would appear at ``http://my-bucket.s3-website-us-west-2.amazonaws.com``. +The following command configures a bucket named ``amzn-s3-demo-bucket`` as a static website. The index document option specifies the file in ``amzn-s3-demo-bucket`` that visitors will be directed to when they navigate to the website URL. In this case, the bucket is in the us-west-2 region, so the site would appear at ``http://amzn-s3-demo-bucket.s3-website-us-west-2.amazonaws.com``. All files in the bucket that appear on the static site must be configured to allow visitors to open them. File permissions are configured separately from the bucket website configuration. :: - aws s3 website s3://my-bucket/ \ + aws s3 website s3://amzn-s3-demo-bucket/ \ --index-document index.html \ --error-document error.html diff --git a/awscli/examples/s3api/abort-multipart-upload.rst b/awscli/examples/s3api/abort-multipart-upload.rst index 0ab11e334f86..2a2ba1a85e47 100644 --- a/awscli/examples/s3api/abort-multipart-upload.rst +++ b/awscli/examples/s3api/abort-multipart-upload.rst @@ -1,9 +1,9 @@ **To abort the specified multipart upload** -The following ``abort-multipart-upload`` command aborts a multipart upload for the key ``multipart/01`` in the bucket ``my-bucket``. :: +The following ``abort-multipart-upload`` command aborts a multipart upload for the key ``multipart/01`` in the bucket ``amzn-s3-demo-bucket``. :: aws s3api abort-multipart-upload \ - --bucket my-bucket \ + --bucket amzn-s3-demo-bucket \ --key multipart/01 \ --upload-id dfRtDYU0WWCCcH43C3WFbkRONycyCpTJJvxu2i5GYkZljF.Yxwh6XG7WfS2vC4to6HiV6Yjlx.cph0gtNBtJ8P3URCSbB7rjxI5iEwVDmgaXZOGgkk5nVTW16HOQ5l0R diff --git a/awscli/examples/s3api/complete-multipart-upload.rst b/awscli/examples/s3api/complete-multipart-upload.rst index c6b82347cf21..f1271ec6e671 100644 --- a/awscli/examples/s3api/complete-multipart-upload.rst +++ b/awscli/examples/s3api/complete-multipart-upload.rst @@ -1,6 +1,6 @@ -The following command completes a multipart upload for the key ``multipart/01`` in the bucket ``my-bucket``:: +The following command completes a multipart upload for the key ``multipart/01`` in the bucket ``amzn-s3-demo-bucket``:: - aws s3api complete-multipart-upload --multipart-upload file://mpustruct --bucket my-bucket --key 'multipart/01' --upload-id dfRtDYU0WWCCcH43C3WFbkRONycyCpTJJvxu2i5GYkZljF.Yxwh6XG7WfS2vC4to6HiV6Yjlx.cph0gtNBtJ8P3URCSbB7rjxI5iEwVDmgaXZOGgkk5nVTW16HOQ5l0R + aws s3api complete-multipart-upload --multipart-upload file://mpustruct --bucket amzn-s3-demo-bucket --key 'multipart/01' --upload-id dfRtDYU0WWCCcH43C3WFbkRONycyCpTJJvxu2i5GYkZljF.Yxwh6XG7WfS2vC4to6HiV6Yjlx.cph0gtNBtJ8P3URCSbB7rjxI5iEwVDmgaXZOGgkk5nVTW16HOQ5l0R The upload ID required by this command is output by ``create-multipart-upload`` and can also be retrieved with ``list-multipart-uploads``. @@ -31,7 +31,7 @@ Output:: { "ETag": "\"3944a9f7a4faab7f78788ff6210f63f0-3\"", - "Bucket": "my-bucket", - "Location": "https://my-bucket.s3.amazonaws.com/multipart%2F01", + "Bucket": "amzn-s3-demo-bucket", + "Location": "https://amzn-s3-demo-bucket.s3.amazonaws.com/multipart%2F01", "Key": "multipart/01" } diff --git a/awscli/examples/s3api/create-bucket.rst b/awscli/examples/s3api/create-bucket.rst index 8bbe58af45c7..62370f5e427d 100644 --- a/awscli/examples/s3api/create-bucket.rst +++ b/awscli/examples/s3api/create-bucket.rst @@ -1,52 +1,52 @@ **Example 1: To create a bucket** -The following ``create-bucket`` example creates a bucket named ``my-bucket``:: +The following ``create-bucket`` example creates a bucket named ``amzn-s3-demo-bucket``:: aws s3api create-bucket \ - --bucket my-bucket \ + --bucket amzn-s3-demo-bucket \ --region us-east-1 Output:: { - "Location": "/my-bucket" + "Location": "/amzn-s3-demo-bucket" } For more information, see `Creating a bucket `__ in the *Amazon S3 User Guide*. **Example 2: To create a bucket with owner enforced** -The following ``create-bucket`` example creates a bucket named ``my-bucket`` that uses the bucket owner enforced setting for S3 Object Ownership. :: +The following ``create-bucket`` example creates a bucket named ``amzn-s3-demo-bucket`` that uses the bucket owner enforced setting for S3 Object Ownership. :: aws s3api create-bucket \ - --bucket my-bucket \ + --bucket amzn-s3-demo-bucket \ --region us-east-1 \ --object-ownership BucketOwnerEnforced Output:: { - "Location": "/my-bucket" + "Location": "/amzn-s3-demo-bucket" } For more information, see `Controlling ownership of objects and disabling ACLs `__ in the *Amazon S3 User Guide*. **Example 3: To create a bucket outside of the ``us-east-1`` region** -The following ``create-bucket`` example creates a bucket named ``my-bucket`` in the +The following ``create-bucket`` example creates a bucket named ``amzn-s3-demo-bucket`` in the ``eu-west-1`` region. Regions outside of ``us-east-1`` require the appropriate ``LocationConstraint`` to be specified in order to create the bucket in the desired region. :: aws s3api create-bucket \ - --bucket my-bucket \ + --bucket amzn-s3-demo-bucket \ --region eu-west-1 \ --create-bucket-configuration LocationConstraint=eu-west-1 Output:: { - "Location": "http://my-bucket.s3.amazonaws.com/" + "Location": "http://amzn-s3-demo-bucket.s3.amazonaws.com/" } For more information, see `Creating a bucket `__ in the *Amazon S3 User Guide*. \ No newline at end of file diff --git a/awscli/examples/s3api/create-multipart-upload.rst b/awscli/examples/s3api/create-multipart-upload.rst index a0552e99a0de..ed096f03cee8 100644 --- a/awscli/examples/s3api/create-multipart-upload.rst +++ b/awscli/examples/s3api/create-multipart-upload.rst @@ -1,13 +1,13 @@ -The following command creates a multipart upload in the bucket ``my-bucket`` with the key ``multipart/01``:: +The following command creates a multipart upload in the bucket ``amzn-s3-demo-bucket`` with the key ``multipart/01``:: - aws s3api create-multipart-upload --bucket my-bucket --key 'multipart/01' + aws s3api create-multipart-upload --bucket amzn-s3-demo-bucket --key 'multipart/01' Output:: { - "Bucket": "my-bucket", + "Bucket": "amzn-s3-demo-bucket", "UploadId": "dfRtDYU0WWCCcH43C3WFbkRONycyCpTJJvxu2i5GYkZljF.Yxwh6XG7WfS2vC4to6HiV6Yjlx.cph0gtNBtJ8P3URCSbB7rjxI5iEwVDmgaXZOGgkk5nVTW16HOQ5l0R", "Key": "multipart/01" } -The completed file will be named ``01`` in a folder called ``multipart`` in the bucket ``my-bucket``. Save the upload ID, key and bucket name for use with the ``upload-part`` command. \ No newline at end of file +The completed file will be named ``01`` in a folder called ``multipart`` in the bucket ``amzn-s3-demo-bucket``. Save the upload ID, key and bucket name for use with the ``upload-part`` command. \ No newline at end of file diff --git a/awscli/examples/s3api/delete-bucket-analytics-configuration.rst b/awscli/examples/s3api/delete-bucket-analytics-configuration.rst index 47d350e423f5..51c3d0a5f88a 100755 --- a/awscli/examples/s3api/delete-bucket-analytics-configuration.rst +++ b/awscli/examples/s3api/delete-bucket-analytics-configuration.rst @@ -3,7 +3,7 @@ The following ``delete-bucket-analytics-configuration`` example removes the analytics configuration for the specified bucket and ID. :: aws s3api delete-bucket-analytics-configuration \ - --bucket my-bucket \ + --bucket amzn-s3-demo-bucket \ --id 1 This command produces no output. \ No newline at end of file diff --git a/awscli/examples/s3api/delete-bucket-cors.rst b/awscli/examples/s3api/delete-bucket-cors.rst index 53ca2a4e8f08..6c9ceeb74883 100644 --- a/awscli/examples/s3api/delete-bucket-cors.rst +++ b/awscli/examples/s3api/delete-bucket-cors.rst @@ -1,3 +1,3 @@ -The following command deletes a Cross-Origin Resource Sharing configuration from a bucket named ``my-bucket``:: +The following command deletes a Cross-Origin Resource Sharing configuration from a bucket named ``amzn-s3-demo-bucket``:: - aws s3api delete-bucket-cors --bucket my-bucket + aws s3api delete-bucket-cors --bucket amzn-s3-demo-bucket diff --git a/awscli/examples/s3api/delete-bucket-encryption.rst b/awscli/examples/s3api/delete-bucket-encryption.rst index da439a3203af..fd6e966909d3 100755 --- a/awscli/examples/s3api/delete-bucket-encryption.rst +++ b/awscli/examples/s3api/delete-bucket-encryption.rst @@ -3,6 +3,6 @@ The following ``delete-bucket-encryption`` example deletes the server-side encryption configuration of the specified bucket. :: aws s3api delete-bucket-encryption \ - --bucket my-bucket + --bucket amzn-s3-demo-bucket This command produces no output. diff --git a/awscli/examples/s3api/delete-bucket-inventory-configuration.rst b/awscli/examples/s3api/delete-bucket-inventory-configuration.rst index a9e062df24d4..6ddd5ab6d545 100755 --- a/awscli/examples/s3api/delete-bucket-inventory-configuration.rst +++ b/awscli/examples/s3api/delete-bucket-inventory-configuration.rst @@ -3,7 +3,7 @@ The following ``delete-bucket-inventory-configuration`` example deletes the inventory configuration with ID ``1`` for the specified bucket. :: aws s3api delete-bucket-inventory-configuration \ - --bucket my-bucket \ + --bucket amzn-s3-demo-bucket \ --id 1 This command produces no output. diff --git a/awscli/examples/s3api/delete-bucket-lifecycle.rst b/awscli/examples/s3api/delete-bucket-lifecycle.rst index 8d06f89305e7..3235ef5caa48 100644 --- a/awscli/examples/s3api/delete-bucket-lifecycle.rst +++ b/awscli/examples/s3api/delete-bucket-lifecycle.rst @@ -1,3 +1,3 @@ -The following command deletes a lifecycle configuration from a bucket named ``my-bucket``:: +The following command deletes a lifecycle configuration from a bucket named ``amzn-s3-demo-bucket``:: - aws s3api delete-bucket-lifecycle --bucket my-bucket + aws s3api delete-bucket-lifecycle --bucket amzn-s3-demo-bucket diff --git a/awscli/examples/s3api/delete-bucket-metrics-configuration.rst b/awscli/examples/s3api/delete-bucket-metrics-configuration.rst index 325d31ce2dc7..6b428609f898 100755 --- a/awscli/examples/s3api/delete-bucket-metrics-configuration.rst +++ b/awscli/examples/s3api/delete-bucket-metrics-configuration.rst @@ -3,7 +3,7 @@ The following ``delete-bucket-metrics-configuration`` example removes the metrics configuration for the specified bucket and ID. :: aws s3api delete-bucket-metrics-configuration \ - --bucket my-bucket \ + --bucket amzn-s3-demo-bucket \ --id 123 This command produces no output. \ No newline at end of file diff --git a/awscli/examples/s3api/delete-bucket-policy.rst b/awscli/examples/s3api/delete-bucket-policy.rst index 0e104e57e475..bbd01103c8dd 100644 --- a/awscli/examples/s3api/delete-bucket-policy.rst +++ b/awscli/examples/s3api/delete-bucket-policy.rst @@ -1,3 +1,3 @@ -The following command deletes a bucket policy from a bucket named ``my-bucket``:: +The following command deletes a bucket policy from a bucket named ``amzn-s3-demo-bucket``:: - aws s3api delete-bucket-policy --bucket my-bucket + aws s3api delete-bucket-policy --bucket amzn-s3-demo-bucket diff --git a/awscli/examples/s3api/delete-bucket-replication.rst b/awscli/examples/s3api/delete-bucket-replication.rst index 50f9dfc38e5d..db8faac83e35 100644 --- a/awscli/examples/s3api/delete-bucket-replication.rst +++ b/awscli/examples/s3api/delete-bucket-replication.rst @@ -1,3 +1,3 @@ -The following command deletes a replication configuration from a bucket named ``my-bucket``:: +The following command deletes a replication configuration from a bucket named ``amzn-s3-demo-bucket``:: - aws s3api delete-bucket-replication --bucket my-bucket + aws s3api delete-bucket-replication --bucket amzn-s3-demo-bucket diff --git a/awscli/examples/s3api/delete-bucket-tagging.rst b/awscli/examples/s3api/delete-bucket-tagging.rst index 713a6ad29f48..cdce318063d8 100644 --- a/awscli/examples/s3api/delete-bucket-tagging.rst +++ b/awscli/examples/s3api/delete-bucket-tagging.rst @@ -1,3 +1,3 @@ -The following command deletes a tagging configuration from a bucket named ``my-bucket``:: +The following command deletes a tagging configuration from a bucket named ``amzn-s3-demo-bucket``:: - aws s3api delete-bucket-tagging --bucket my-bucket + aws s3api delete-bucket-tagging --bucket amzn-s3-demo-bucket diff --git a/awscli/examples/s3api/delete-bucket-website.rst b/awscli/examples/s3api/delete-bucket-website.rst index 155cd1e474a0..781e3322be9c 100644 --- a/awscli/examples/s3api/delete-bucket-website.rst +++ b/awscli/examples/s3api/delete-bucket-website.rst @@ -1,3 +1,3 @@ -The following command deletes a website configuration from a bucket named ``my-bucket``:: +The following command deletes a website configuration from a bucket named ``amzn-s3-demo-bucket``:: - aws s3api delete-bucket-website --bucket my-bucket + aws s3api delete-bucket-website --bucket amzn-s3-demo-bucket diff --git a/awscli/examples/s3api/delete-bucket.rst b/awscli/examples/s3api/delete-bucket.rst index 761eafb15e94..b1cc31522761 100644 --- a/awscli/examples/s3api/delete-bucket.rst +++ b/awscli/examples/s3api/delete-bucket.rst @@ -1,3 +1,3 @@ -The following command deletes a bucket named ``my-bucket``:: +The following command deletes a bucket named ``amzn-s3-demo-bucket``:: - aws s3api delete-bucket --bucket my-bucket --region us-east-1 + aws s3api delete-bucket --bucket amzn-s3-demo-bucket --region us-east-1 diff --git a/awscli/examples/s3api/delete-object-tagging.rst b/awscli/examples/s3api/delete-object-tagging.rst index dbfd27da53f1..d29617f81859 100755 --- a/awscli/examples/s3api/delete-object-tagging.rst +++ b/awscli/examples/s3api/delete-object-tagging.rst @@ -3,7 +3,7 @@ The following ``delete-object-tagging`` example deletes the tag with the specified key from the object ``doc1.rtf``. :: aws s3api delete-object-tagging \ - --bucket my-bucket \ + --bucket amzn-s3-demo-bucket \ --key doc1.rtf This command produces no output. \ No newline at end of file diff --git a/awscli/examples/s3api/delete-object.rst b/awscli/examples/s3api/delete-object.rst index 3a5df3c4e062..6f1a23963f38 100644 --- a/awscli/examples/s3api/delete-object.rst +++ b/awscli/examples/s3api/delete-object.rst @@ -1,6 +1,6 @@ -The following command deletes an object named ``test.txt`` from a bucket named ``my-bucket``:: +The following command deletes an object named ``test.txt`` from a bucket named ``amzn-s3-demo-bucket``:: - aws s3api delete-object --bucket my-bucket --key test.txt + aws s3api delete-object --bucket amzn-s3-demo-bucket --key test.txt If bucket versioning is enabled, the output will contain the version ID of the delete marker:: diff --git a/awscli/examples/s3api/delete-objects.rst b/awscli/examples/s3api/delete-objects.rst index 2446efd51ab4..f08f728f26d1 100644 --- a/awscli/examples/s3api/delete-objects.rst +++ b/awscli/examples/s3api/delete-objects.rst @@ -1,6 +1,6 @@ -The following command deletes an object from a bucket named ``my-bucket``:: +The following command deletes an object from a bucket named ``amzn-s3-demo-bucket``:: - aws s3api delete-objects --bucket my-bucket --delete file://delete.json + aws s3api delete-objects --bucket amzn-s3-demo-bucket --delete file://delete.json ``delete.json`` is a JSON document in the current directory that specifies the object to delete:: diff --git a/awscli/examples/s3api/delete-public-access-block.rst b/awscli/examples/s3api/delete-public-access-block.rst index 563a8b5069b9..54fd0ee6dc40 100755 --- a/awscli/examples/s3api/delete-public-access-block.rst +++ b/awscli/examples/s3api/delete-public-access-block.rst @@ -3,6 +3,6 @@ The following ``delete-public-access-block`` example removes the block public access configuration on the specified bucket. :: aws s3api delete-public-access-block \ - --bucket my-bucket + --bucket amzn-s3-demo-bucket This command produces no output. diff --git a/awscli/examples/s3api/get-bucket-accelerate-configuration.rst b/awscli/examples/s3api/get-bucket-accelerate-configuration.rst index c40bd611d6b4..3f18aa88bcfb 100644 --- a/awscli/examples/s3api/get-bucket-accelerate-configuration.rst +++ b/awscli/examples/s3api/get-bucket-accelerate-configuration.rst @@ -3,7 +3,7 @@ The following ``get-bucket-accelerate-configuration`` example retrieves the accelerate configuration for the specified bucket. :: aws s3api get-bucket-accelerate-configuration \ - --bucket my-bucket + --bucket amzn-s3-demo-bucket Output:: diff --git a/awscli/examples/s3api/get-bucket-acl.rst b/awscli/examples/s3api/get-bucket-acl.rst index 42f40386a31a..33870686cf53 100644 --- a/awscli/examples/s3api/get-bucket-acl.rst +++ b/awscli/examples/s3api/get-bucket-acl.rst @@ -1,6 +1,6 @@ -The following command retrieves the access control list for a bucket named ``my-bucket``:: +The following command retrieves the access control list for a bucket named ``amzn-s3-demo-bucket``:: - aws s3api get-bucket-acl --bucket my-bucket + aws s3api get-bucket-acl --bucket amzn-s3-demo-bucket Output:: diff --git a/awscli/examples/s3api/get-bucket-analytics-configuration.rst b/awscli/examples/s3api/get-bucket-analytics-configuration.rst index e9e0bba7eb41..b6f1ffe97f48 100755 --- a/awscli/examples/s3api/get-bucket-analytics-configuration.rst +++ b/awscli/examples/s3api/get-bucket-analytics-configuration.rst @@ -3,7 +3,7 @@ The following ``get-bucket-analytics-configuration`` example displays the analytics configuration for the specified bucket and ID. :: aws s3api get-bucket-analytics-configuration \ - --bucket my-bucket \ + --bucket amzn-s3-demo-bucket \ --id 1 Output:: diff --git a/awscli/examples/s3api/get-bucket-cors.rst b/awscli/examples/s3api/get-bucket-cors.rst index 2bbf9f68e6ae..b712b011e9ed 100644 --- a/awscli/examples/s3api/get-bucket-cors.rst +++ b/awscli/examples/s3api/get-bucket-cors.rst @@ -1,6 +1,6 @@ -The following command retrieves the Cross-Origin Resource Sharing configuration for a bucket named ``my-bucket``:: +The following command retrieves the Cross-Origin Resource Sharing configuration for a bucket named ``amzn-s3-demo-bucket``:: - aws s3api get-bucket-cors --bucket my-bucket + aws s3api get-bucket-cors --bucket amzn-s3-demo-bucket Output:: diff --git a/awscli/examples/s3api/get-bucket-encryption.rst b/awscli/examples/s3api/get-bucket-encryption.rst index f442f11b58c7..376f4bbdaecc 100755 --- a/awscli/examples/s3api/get-bucket-encryption.rst +++ b/awscli/examples/s3api/get-bucket-encryption.rst @@ -1,9 +1,9 @@ **To retrieve the server-side encryption configuration for a bucket** -The following ``get-bucket-encryption`` example retrieves the server-side encryption configuration for the bucket ``my-bucket``. :: +The following ``get-bucket-encryption`` example retrieves the server-side encryption configuration for the bucket ``amzn-s3-demo-bucket``. :: aws s3api get-bucket-encryption \ - --bucket my-bucket + --bucket amzn-s3-demo-bucket Output:: diff --git a/awscli/examples/s3api/get-bucket-inventory-configuration.rst b/awscli/examples/s3api/get-bucket-inventory-configuration.rst index 90a9524a2f79..52bc5d78099d 100755 --- a/awscli/examples/s3api/get-bucket-inventory-configuration.rst +++ b/awscli/examples/s3api/get-bucket-inventory-configuration.rst @@ -3,7 +3,7 @@ The following ``get-bucket-inventory-configuration`` example retrieves the inventory configuration for the specified bucket with ID ``1``. :: aws s3api get-bucket-inventory-configuration \ - --bucket my-bucket \ + --bucket amzn-s3-demo-bucket \ --id 1 Output:: @@ -14,7 +14,7 @@ Output:: "Destination": { "S3BucketDestination": { "Format": "ORC", - "Bucket": "arn:aws:s3:::my-bucket", + "Bucket": "arn:aws:s3:::amzn-s3-demo-bucket", "AccountId": "123456789012" } }, diff --git a/awscli/examples/s3api/get-bucket-lifecycle-configuration.rst b/awscli/examples/s3api/get-bucket-lifecycle-configuration.rst index 4a10dc8bd642..f279be5d73d5 100644 --- a/awscli/examples/s3api/get-bucket-lifecycle-configuration.rst +++ b/awscli/examples/s3api/get-bucket-lifecycle-configuration.rst @@ -1,6 +1,6 @@ -The following command retrieves the lifecycle configuration for a bucket named ``my-bucket``:: +The following command retrieves the lifecycle configuration for a bucket named ``amzn-s3-demo-bucket``:: - aws s3api get-bucket-lifecycle-configuration --bucket my-bucket + aws s3api get-bucket-lifecycle-configuration --bucket amzn-s3-demo-bucket Output:: diff --git a/awscli/examples/s3api/get-bucket-lifecycle.rst b/awscli/examples/s3api/get-bucket-lifecycle.rst index fcb23fa8bf07..f58960e1e8ff 100644 --- a/awscli/examples/s3api/get-bucket-lifecycle.rst +++ b/awscli/examples/s3api/get-bucket-lifecycle.rst @@ -1,6 +1,6 @@ -The following command retrieves the lifecycle configuration for a bucket named ``my-bucket``:: +The following command retrieves the lifecycle configuration for a bucket named ``amzn-s3-demo-bucket``:: - aws s3api get-bucket-lifecycle --bucket my-bucket + aws s3api get-bucket-lifecycle --bucket amzn-s3-demo-bucket Output:: diff --git a/awscli/examples/s3api/get-bucket-location.rst b/awscli/examples/s3api/get-bucket-location.rst index 092fa5e8afe0..0ad5c7ec973d 100644 --- a/awscli/examples/s3api/get-bucket-location.rst +++ b/awscli/examples/s3api/get-bucket-location.rst @@ -1,6 +1,6 @@ -The following command retrieves the location constraint for a bucket named ``my-bucket``, if a constraint exists:: +The following command retrieves the location constraint for a bucket named ``amzn-s3-demo-bucket``, if a constraint exists:: - aws s3api get-bucket-location --bucket my-bucket + aws s3api get-bucket-location --bucket amzn-s3-demo-bucket Output:: diff --git a/awscli/examples/s3api/get-bucket-logging.rst b/awscli/examples/s3api/get-bucket-logging.rst index f1398a5b914b..6a1876ba3bfc 100755 --- a/awscli/examples/s3api/get-bucket-logging.rst +++ b/awscli/examples/s3api/get-bucket-logging.rst @@ -3,13 +3,13 @@ The following ``get-bucket-logging`` example retrieves the logging status for the specified bucket. :: aws s3api get-bucket-logging \ - --bucket my-bucket + --bucket amzn-s3-demo-bucket Output:: { "LoggingEnabled": { "TargetPrefix": "", - "TargetBucket": "my-bucket-logs" + "TargetBucket": "amzn-s3-demo-bucket-logs" } } diff --git a/awscli/examples/s3api/get-bucket-metrics-configuration.rst b/awscli/examples/s3api/get-bucket-metrics-configuration.rst index d0628a55f7e2..bfed5f1804de 100755 --- a/awscli/examples/s3api/get-bucket-metrics-configuration.rst +++ b/awscli/examples/s3api/get-bucket-metrics-configuration.rst @@ -3,7 +3,7 @@ The following ``get-bucket-metrics-configuration`` example displays the metrics configuration for the specified bucket and ID. :: aws s3api get-bucket-metrics-configuration \ - --bucket my-bucket \ + --bucket amzn-s3-demo-bucket \ --id 123 Output:: diff --git a/awscli/examples/s3api/get-bucket-notification-configuration.rst b/awscli/examples/s3api/get-bucket-notification-configuration.rst index 8eca1c3fa895..1f39bedd7481 100644 --- a/awscli/examples/s3api/get-bucket-notification-configuration.rst +++ b/awscli/examples/s3api/get-bucket-notification-configuration.rst @@ -1,6 +1,6 @@ -The following command retrieves the notification configuration for a bucket named ``my-bucket``:: +The following command retrieves the notification configuration for a bucket named ``amzn-s3-demo-bucket``:: - aws s3api get-bucket-notification-configuration --bucket my-bucket + aws s3api get-bucket-notification-configuration --bucket amzn-s3-demo-bucket Output:: diff --git a/awscli/examples/s3api/get-bucket-notification.rst b/awscli/examples/s3api/get-bucket-notification.rst index e8a591e66ee1..91eafc505918 100644 --- a/awscli/examples/s3api/get-bucket-notification.rst +++ b/awscli/examples/s3api/get-bucket-notification.rst @@ -1,6 +1,6 @@ -The following command retrieves the notification configuration for a bucket named ``my-bucket``:: +The following command retrieves the notification configuration for a bucket named ``amzn-s3-demo-bucket``:: - aws s3api get-bucket-notification --bucket my-bucket + aws s3api get-bucket-notification --bucket amzn-s3-demo-bucket Output:: diff --git a/awscli/examples/s3api/get-bucket-policy-status.rst b/awscli/examples/s3api/get-bucket-policy-status.rst index 599f1f128a17..5164c3e30173 100755 --- a/awscli/examples/s3api/get-bucket-policy-status.rst +++ b/awscli/examples/s3api/get-bucket-policy-status.rst @@ -1,9 +1,9 @@ **To retrieve the policy status for a bucket indicating whether the bucket is public** -The following ``get-bucket-policy-status`` example retrieves the policy status for the bucket ``my-bucket``. :: +The following ``get-bucket-policy-status`` example retrieves the policy status for the bucket ``amzn-s3-demo-bucket``. :: aws s3api get-bucket-policy-status \ - --bucket my-bucket + --bucket amzn-s3-demo-bucket Output:: diff --git a/awscli/examples/s3api/get-bucket-policy.rst b/awscli/examples/s3api/get-bucket-policy.rst index 606e3297fbd9..e0279f3a2f7f 100644 --- a/awscli/examples/s3api/get-bucket-policy.rst +++ b/awscli/examples/s3api/get-bucket-policy.rst @@ -1,11 +1,11 @@ -The following command retrieves the bucket policy for a bucket named ``my-bucket``:: +The following command retrieves the bucket policy for a bucket named ``amzn-s3-demo-bucket``:: - aws s3api get-bucket-policy --bucket my-bucket + aws s3api get-bucket-policy --bucket amzn-s3-demo-bucket Output:: { - "Policy": "{\"Version\":\"2008-10-17\",\"Statement\":[{\"Sid\":\"\",\"Effect\":\"Allow\",\"Principal\":\"*\",\"Action\":\"s3:GetObject\",\"Resource\":\"arn:aws:s3:::my-bucket/*\"},{\"Sid\":\"\",\"Effect\":\"Deny\",\"Principal\":\"*\",\"Action\":\"s3:GetObject\",\"Resource\":\"arn:aws:s3:::my-bucket/secret/*\"}]}" + "Policy": "{\"Version\":\"2008-10-17\",\"Statement\":[{\"Sid\":\"\",\"Effect\":\"Allow\",\"Principal\":\"*\",\"Action\":\"s3:GetObject\",\"Resource\":\"arn:aws:s3:::amzn-s3-demo-bucket/*\"},{\"Sid\":\"\",\"Effect\":\"Deny\",\"Principal\":\"*\",\"Action\":\"s3:GetObject\",\"Resource\":\"arn:aws:s3:::amzn-s3-demo-bucket/secret/*\"}]}" } Get and put a bucket policy diff --git a/awscli/examples/s3api/get-bucket-replication.rst b/awscli/examples/s3api/get-bucket-replication.rst index c056c701e844..23e1aae1e3ae 100644 --- a/awscli/examples/s3api/get-bucket-replication.rst +++ b/awscli/examples/s3api/get-bucket-replication.rst @@ -1,6 +1,6 @@ -The following command retrieves the replication configuration for a bucket named ``my-bucket``:: +The following command retrieves the replication configuration for a bucket named ``amzn-s3-demo-bucket``:: - aws s3api get-bucket-replication --bucket my-bucket + aws s3api get-bucket-replication --bucket amzn-s3-demo-bucket Output:: @@ -11,7 +11,7 @@ Output:: "Status": "Enabled", "Prefix": "", "Destination": { - "Bucket": "arn:aws:s3:::my-bucket-backup", + "Bucket": "arn:aws:s3:::amzn-s3-demo-bucket-backup", "StorageClass": "STANDARD" }, "ID": "ZmUwNzE4ZmQ4tMjVhOS00MTlkLOGI4NDkzZTIWJjNTUtYTA1" diff --git a/awscli/examples/s3api/get-bucket-request-payment.rst b/awscli/examples/s3api/get-bucket-request-payment.rst index 41c9f8d8f8d8..d53d664d8e8b 100644 --- a/awscli/examples/s3api/get-bucket-request-payment.rst +++ b/awscli/examples/s3api/get-bucket-request-payment.rst @@ -3,7 +3,7 @@ The following ``get-bucket-request-payment`` example retrieves the requester pays configuration for the specified bucket. :: aws s3api get-bucket-request-payment \ - --bucket my-bucket + --bucket amzn-s3-demo-bucket Output:: diff --git a/awscli/examples/s3api/get-bucket-tagging.rst b/awscli/examples/s3api/get-bucket-tagging.rst index fbbee96e7d9d..8d8906462e6c 100644 --- a/awscli/examples/s3api/get-bucket-tagging.rst +++ b/awscli/examples/s3api/get-bucket-tagging.rst @@ -1,6 +1,6 @@ -The following command retrieves the tagging configuration for a bucket named ``my-bucket``:: +The following command retrieves the tagging configuration for a bucket named ``amzn-s3-demo-bucket``:: - aws s3api get-bucket-tagging --bucket my-bucket + aws s3api get-bucket-tagging --bucket amzn-s3-demo-bucket Output:: diff --git a/awscli/examples/s3api/get-bucket-versioning.rst b/awscli/examples/s3api/get-bucket-versioning.rst index fea8280d06af..7ba6890a28c9 100644 --- a/awscli/examples/s3api/get-bucket-versioning.rst +++ b/awscli/examples/s3api/get-bucket-versioning.rst @@ -1,6 +1,6 @@ -The following command retrieves the versioning configuration for a bucket named ``my-bucket``:: +The following command retrieves the versioning configuration for a bucket named ``amzn-s3-demo-bucket``:: - aws s3api get-bucket-versioning --bucket my-bucket + aws s3api get-bucket-versioning --bucket amzn-s3-demo-bucket Output:: diff --git a/awscli/examples/s3api/get-bucket-website.rst b/awscli/examples/s3api/get-bucket-website.rst index e4a3682b4fe4..b0945d07e068 100644 --- a/awscli/examples/s3api/get-bucket-website.rst +++ b/awscli/examples/s3api/get-bucket-website.rst @@ -1,6 +1,6 @@ -The following command retrieves the static website configuration for a bucket named ``my-bucket``:: +The following command retrieves the static website configuration for a bucket named ``amzn-s3-demo-bucket``:: - aws s3api get-bucket-website --bucket my-bucket + aws s3api get-bucket-website --bucket amzn-s3-demo-bucket Output:: diff --git a/awscli/examples/s3api/get-object-acl.rst b/awscli/examples/s3api/get-object-acl.rst index b487cdd93b94..5d89a58b2a86 100644 --- a/awscli/examples/s3api/get-object-acl.rst +++ b/awscli/examples/s3api/get-object-acl.rst @@ -1,6 +1,6 @@ -The following command retrieves the access control list for an object in a bucket named ``my-bucket``:: +The following command retrieves the access control list for an object in a bucket named ``amzn-s3-demo-bucket``:: - aws s3api get-object-acl --bucket my-bucket --key index.html + aws s3api get-object-acl --bucket amzn-s3-demo-bucket --key index.html Output:: diff --git a/awscli/examples/s3api/get-object-attributes.rst b/awscli/examples/s3api/get-object-attributes.rst index 12f10f72bd3f..d9cc78c685df 100644 --- a/awscli/examples/s3api/get-object-attributes.rst +++ b/awscli/examples/s3api/get-object-attributes.rst @@ -3,7 +3,7 @@ The following ``get-object-attributes`` example retrieves metadata from the object ``doc1.rtf``. :: aws s3api get-object-attributes \ - --bucket my-bucket \ + --bucket amzn-s3-demo-bucket \ --key doc1.rtf \ --object-attributes "StorageClass" "ETag" "ObjectSize" diff --git a/awscli/examples/s3api/get-object-legal-hold.rst b/awscli/examples/s3api/get-object-legal-hold.rst index 1163d94a0c35..74bd0f05f6a3 100644 --- a/awscli/examples/s3api/get-object-legal-hold.rst +++ b/awscli/examples/s3api/get-object-legal-hold.rst @@ -3,7 +3,7 @@ The following ``get-object-legal-hold`` example retrieves the Legal Hold status for the specified object. :: aws s3api get-object-legal-hold \ - --bucket my-bucket-with-object-lock \ + --bucket amzn-s3-demo-bucket-with-object-lock \ --key doc1.rtf Output:: diff --git a/awscli/examples/s3api/get-object-lock-configuration.rst b/awscli/examples/s3api/get-object-lock-configuration.rst index 3be8c620185f..d75b2ba6a1ca 100755 --- a/awscli/examples/s3api/get-object-lock-configuration.rst +++ b/awscli/examples/s3api/get-object-lock-configuration.rst @@ -3,7 +3,7 @@ The following ``get-object-lock-configuration`` example retrieves the object lock configuration for the specified bucket. :: aws s3api get-object-lock-configuration \ - --bucket my-bucket-with-object-lock + --bucket amzn-s3-demo-bucket-with-object-lock Output:: diff --git a/awscli/examples/s3api/get-object-retention.rst b/awscli/examples/s3api/get-object-retention.rst index ebd67e632b54..d2930010a993 100755 --- a/awscli/examples/s3api/get-object-retention.rst +++ b/awscli/examples/s3api/get-object-retention.rst @@ -3,7 +3,7 @@ The following ``get-object-retention`` example retrieves the object retention configuration for the specified object. :: aws s3api get-object-retention \ - --bucket my-bucket-with-object-lock \ + --bucket amzn-s3-demo-bucket-with-object-lock \ --key doc1.rtf Output:: diff --git a/awscli/examples/s3api/get-object-tagging.rst b/awscli/examples/s3api/get-object-tagging.rst index 8fe3225c26a8..d942238876d2 100755 --- a/awscli/examples/s3api/get-object-tagging.rst +++ b/awscli/examples/s3api/get-object-tagging.rst @@ -3,7 +3,7 @@ The following ``get-object-tagging`` example retrieves the values for the specified key from the specified object. :: aws s3api get-object-tagging \ - --bucket my-bucket \ + --bucket amzn-s3-demo-bucket \ --key doc1.rtf Output:: @@ -20,7 +20,7 @@ Output:: The following ``get-object-tagging`` example tries to retrieve the tag sets of the object ``doc2.rtf``, which has no tags. :: aws s3api get-object-tagging \ - --bucket my-bucket \ + --bucket amzn-s3-demo-bucket \ --key doc2.rtf Output:: @@ -33,7 +33,7 @@ Output:: The following ``get-object-tagging`` example retrieves the tag sets of the object ``doc3.rtf``, which has multiple tags. :: aws s3api get-object-tagging \ - --bucket my-bucket \ + --bucket amzn-s3-demo-bucket \ --key doc3.rtf Output:: diff --git a/awscli/examples/s3api/get-object-torrent.rst b/awscli/examples/s3api/get-object-torrent.rst index dc23e558d75a..989e9e6cfbb7 100644 --- a/awscli/examples/s3api/get-object-torrent.rst +++ b/awscli/examples/s3api/get-object-torrent.rst @@ -1,5 +1,5 @@ -The following command creates a torrent for an object in a bucket named ``my-bucket``:: +The following command creates a torrent for an object in a bucket named ``amzn-s3-demo-bucket``:: - aws s3api get-object-torrent --bucket my-bucket --key large-video-file.mp4 large-video-file.torrent + aws s3api get-object-torrent --bucket amzn-s3-demo-bucket --key large-video-file.mp4 large-video-file.torrent The torrent file is saved locally in the current folder. Note that the output filename (``large-video-file.torrent``) is specified without an option name and must be the last argument in the command. \ No newline at end of file diff --git a/awscli/examples/s3api/get-public-access-block.rst b/awscli/examples/s3api/get-public-access-block.rst index 7cd897d1ea5d..2c2dea9220e8 100755 --- a/awscli/examples/s3api/get-public-access-block.rst +++ b/awscli/examples/s3api/get-public-access-block.rst @@ -3,7 +3,7 @@ The following ``get-public-access-block`` example displays the block public access configuration for the specified bucket. :: aws s3api get-public-access-block \ - --bucket my-bucket + --bucket amzn-s3-demo-bucket Output:: diff --git a/awscli/examples/s3api/head-bucket.rst b/awscli/examples/s3api/head-bucket.rst index 695c90f580a0..1a08f13f22e5 100644 --- a/awscli/examples/s3api/head-bucket.rst +++ b/awscli/examples/s3api/head-bucket.rst @@ -1,6 +1,6 @@ -The following command verifies access to a bucket named ``my-bucket``:: +The following command verifies access to a bucket named ``amzn-s3-demo-bucket``:: - aws s3api head-bucket --bucket my-bucket + aws s3api head-bucket --bucket amzn-s3-demo-bucket If the bucket exists and you have access to it, no output is returned. Otherwise, an error message will be shown. For example:: diff --git a/awscli/examples/s3api/head-object.rst b/awscli/examples/s3api/head-object.rst index e432a649c85a..1c87881b65e0 100644 --- a/awscli/examples/s3api/head-object.rst +++ b/awscli/examples/s3api/head-object.rst @@ -1,6 +1,6 @@ -The following command retrieves metadata for an object in a bucket named ``my-bucket``:: +The following command retrieves metadata for an object in a bucket named ``amzn-s3-demo-bucket``:: - aws s3api head-object --bucket my-bucket --key index.html + aws s3api head-object --bucket amzn-s3-demo-bucket --key index.html Output:: diff --git a/awscli/examples/s3api/list-bucket-analytics-configurations.rst b/awscli/examples/s3api/list-bucket-analytics-configurations.rst index cedf797292d1..93d5131d76cc 100755 --- a/awscli/examples/s3api/list-bucket-analytics-configurations.rst +++ b/awscli/examples/s3api/list-bucket-analytics-configurations.rst @@ -3,7 +3,7 @@ The following ``list-bucket-analytics-configurations`` retrieves a list of analytics configurations for the specified bucket. :: aws s3api list-bucket-analytics-configurations \ - --bucket my-bucket + --bucket amzn-s3-demo-bucket Output:: diff --git a/awscli/examples/s3api/list-bucket-inventory-configurations.rst b/awscli/examples/s3api/list-bucket-inventory-configurations.rst index 2b40ede04fdf..1a8c2e5fcbdc 100755 --- a/awscli/examples/s3api/list-bucket-inventory-configurations.rst +++ b/awscli/examples/s3api/list-bucket-inventory-configurations.rst @@ -3,7 +3,7 @@ The following ``list-bucket-inventory-configurations`` example lists the inventory configurations for the specified bucket. :: aws s3api list-bucket-inventory-configurations \ - --bucket my-bucket + --bucket amzn-s3-demo-bucket Output:: @@ -14,7 +14,7 @@ Output:: "Destination": { "S3BucketDestination": { "Format": "ORC", - "Bucket": "arn:aws:s3:::my-bucket", + "Bucket": "arn:aws:s3:::amzn-s3-demo-bucket", "AccountId": "123456789012" } }, @@ -29,7 +29,7 @@ Output:: "Destination": { "S3BucketDestination": { "Format": "CSV", - "Bucket": "arn:aws:s3:::my-bucket", + "Bucket": "arn:aws:s3:::amzn-s3-demo-bucket", "AccountId": "123456789012" } }, diff --git a/awscli/examples/s3api/list-bucket-metrics-configurations.rst b/awscli/examples/s3api/list-bucket-metrics-configurations.rst index 769c4d7404b6..79145dd11cc0 100755 --- a/awscli/examples/s3api/list-bucket-metrics-configurations.rst +++ b/awscli/examples/s3api/list-bucket-metrics-configurations.rst @@ -3,7 +3,7 @@ The following ``list-bucket-metrics-configurations`` example retrieves a list of metrics configurations for the specified bucket. :: aws s3api list-bucket-metrics-configurations \ - --bucket my-bucket + --bucket amzn-s3-demo-bucket Output:: diff --git a/awscli/examples/s3api/list-multipart-uploads.rst b/awscli/examples/s3api/list-multipart-uploads.rst index 34d825f5b0bf..082bae3443e2 100644 --- a/awscli/examples/s3api/list-multipart-uploads.rst +++ b/awscli/examples/s3api/list-multipart-uploads.rst @@ -1,6 +1,6 @@ -The following command lists all of the active multipart uploads for a bucket named ``my-bucket``:: +The following command lists all of the active multipart uploads for a bucket named ``amzn-s3-demo-bucket``:: - aws s3api list-multipart-uploads --bucket my-bucket + aws s3api list-multipart-uploads --bucket amzn-s3-demo-bucket Output:: diff --git a/awscli/examples/s3api/list-object-versions.rst b/awscli/examples/s3api/list-object-versions.rst index dce635a23f90..5f21a6114e13 100644 --- a/awscli/examples/s3api/list-object-versions.rst +++ b/awscli/examples/s3api/list-object-versions.rst @@ -1,6 +1,6 @@ -The following command retrieves version information for an object in a bucket named ``my-bucket``:: +The following command retrieves version information for an object in a bucket named ``amzn-s3-demo-bucket``:: - aws s3api list-object-versions --bucket my-bucket --prefix index.html + aws s3api list-object-versions --bucket amzn-s3-demo-bucket --prefix index.html Output:: diff --git a/awscli/examples/s3api/list-objects-v2.rst b/awscli/examples/s3api/list-objects-v2.rst index 0e98fcb3d1ea..2ecf04b7cbcc 100644 --- a/awscli/examples/s3api/list-objects-v2.rst +++ b/awscli/examples/s3api/list-objects-v2.rst @@ -3,7 +3,7 @@ The following ``list-objects-v2`` example lists the objects in the specified bucket. :: aws s3api list-objects-v2 \ - --bucket my-bucket + --bucket amzn-s3-demo-bucket Output:: diff --git a/awscli/examples/s3api/list-parts.rst b/awscli/examples/s3api/list-parts.rst index 2e574da1c224..0328f7133fc9 100644 --- a/awscli/examples/s3api/list-parts.rst +++ b/awscli/examples/s3api/list-parts.rst @@ -1,6 +1,6 @@ -The following command lists all of the parts that have been uploaded for a multipart upload with key ``multipart/01`` in the bucket ``my-bucket``:: +The following command lists all of the parts that have been uploaded for a multipart upload with key ``multipart/01`` in the bucket ``amzn-s3-demo-bucket``:: - aws s3api list-parts --bucket my-bucket --key 'multipart/01' --upload-id dfRtDYU0WWCCcH43C3WFbkRONycyCpTJJvxu2i5GYkZljF.Yxwh6XG7WfS2vC4to6HiV6Yjlx.cph0gtNBtJ8P3URCSbB7rjxI5iEwVDmgaXZOGgkk5nVTW16HOQ5l0R + aws s3api list-parts --bucket amzn-s3-demo-bucket --key 'multipart/01' --upload-id dfRtDYU0WWCCcH43C3WFbkRONycyCpTJJvxu2i5GYkZljF.Yxwh6XG7WfS2vC4to6HiV6Yjlx.cph0gtNBtJ8P3URCSbB7rjxI5iEwVDmgaXZOGgkk5nVTW16HOQ5l0R Output:: diff --git a/awscli/examples/s3api/put-bucket-accelerate-configuration.rst b/awscli/examples/s3api/put-bucket-accelerate-configuration.rst index 0cbb96053791..0bad93b16b78 100644 --- a/awscli/examples/s3api/put-bucket-accelerate-configuration.rst +++ b/awscli/examples/s3api/put-bucket-accelerate-configuration.rst @@ -3,7 +3,7 @@ The following ``put-bucket-accelerate-configuration`` example enables the accelerate configuration for the specified bucket. :: aws s3api put-bucket-accelerate-configuration \ - --bucket my-bucket \ + --bucket amzn-s3-demo-bucket \ --accelerate-configuration Status=Enabled This command produces no output. diff --git a/awscli/examples/s3api/put-bucket-analytics-configuration.rst b/awscli/examples/s3api/put-bucket-analytics-configuration.rst index 25dea1fcfbae..64ae218931ae 100644 --- a/awscli/examples/s3api/put-bucket-analytics-configuration.rst +++ b/awscli/examples/s3api/put-bucket-analytics-configuration.rst @@ -3,7 +3,7 @@ The following ``put-bucket-analytics-configuration`` example configures analytics for the specified bucket. :: aws s3api put-bucket-analytics-configuration \ - --bucket my-bucket --id 1 \ + --bucket amzn-s3-demo-bucket --id 1 \ --analytics-configuration '{"Id": "1","StorageClassAnalysis": {}}' This command produces no output. diff --git a/awscli/examples/s3api/put-bucket-encryption.rst b/awscli/examples/s3api/put-bucket-encryption.rst index da892f68aad0..c9bed5350fca 100644 --- a/awscli/examples/s3api/put-bucket-encryption.rst +++ b/awscli/examples/s3api/put-bucket-encryption.rst @@ -3,7 +3,7 @@ The following ``put-bucket-encryption`` example sets AES256 encryption as the default for the specified bucket. :: aws s3api put-bucket-encryption \ - --bucket my-bucket \ + --bucket amzn-s3-demo-bucket \ --server-side-encryption-configuration '{"Rules": [{"ApplyServerSideEncryptionByDefault": {"SSEAlgorithm": "AES256"}}]}' This command produces no output. \ No newline at end of file diff --git a/awscli/examples/s3api/put-bucket-inventory-configuration.rst b/awscli/examples/s3api/put-bucket-inventory-configuration.rst index a5f260604033..71cb607dbf63 100755 --- a/awscli/examples/s3api/put-bucket-inventory-configuration.rst +++ b/awscli/examples/s3api/put-bucket-inventory-configuration.rst @@ -1,21 +1,21 @@ **Example 1: To set an inventory configuration for a bucket** -The following ``put-bucket-inventory-configuration`` example sets a weekly ORC-formatted inventory report for the bucket ``my-bucket``. :: +The following ``put-bucket-inventory-configuration`` example sets a weekly ORC-formatted inventory report for the bucket ``amzn-s3-demo-bucket``. :: aws s3api put-bucket-inventory-configuration \ - --bucket my-bucket \ + --bucket amzn-s3-demo-bucket \ --id 1 \ - --inventory-configuration '{"Destination": { "S3BucketDestination": { "AccountId": "123456789012", "Bucket": "arn:aws:s3:::my-bucket", "Format": "ORC" }}, "IsEnabled": true, "Id": "1", "IncludedObjectVersions": "Current", "Schedule": { "Frequency": "Weekly" }}' + --inventory-configuration '{"Destination": { "S3BucketDestination": { "AccountId": "123456789012", "Bucket": "arn:aws:s3:::amzn-s3-demo-bucket", "Format": "ORC" }}, "IsEnabled": true, "Id": "1", "IncludedObjectVersions": "Current", "Schedule": { "Frequency": "Weekly" }}' This command produces no output. **Example 2: To set an inventory configuration for a bucket** -The following ``put-bucket-inventory-configuration`` example sets a daily CSV-formatted inventory report for the bucket ``my-bucket``. :: +The following ``put-bucket-inventory-configuration`` example sets a daily CSV-formatted inventory report for the bucket ``amzn-s3-demo-bucket``. :: aws s3api put-bucket-inventory-configuration \ - --bucket my-bucket \ + --bucket amzn-s3-demo-bucket \ --id 2 \ - --inventory-configuration '{"Destination": { "S3BucketDestination": { "AccountId": "123456789012", "Bucket": "arn:aws:s3:::my-bucket", "Format": "CSV" }}, "IsEnabled": true, "Id": "2", "IncludedObjectVersions": "Current", "Schedule": { "Frequency": "Daily" }}' + --inventory-configuration '{"Destination": { "S3BucketDestination": { "AccountId": "123456789012", "Bucket": "arn:aws:s3:::amzn-s3-demo-bucket", "Format": "CSV" }}, "IsEnabled": true, "Id": "2", "IncludedObjectVersions": "Current", "Schedule": { "Frequency": "Daily" }}' This command produces no output. diff --git a/awscli/examples/s3api/put-bucket-lifecycle-configuration.rst b/awscli/examples/s3api/put-bucket-lifecycle-configuration.rst index 243ea8ea51f5..c47e452d2aa8 100644 --- a/awscli/examples/s3api/put-bucket-lifecycle-configuration.rst +++ b/awscli/examples/s3api/put-bucket-lifecycle-configuration.rst @@ -1,6 +1,6 @@ -The following command applies a lifecycle configuration to a bucket named ``my-bucket``:: +The following command applies a lifecycle configuration to a bucket named ``amzn-s3-demo-bucket``:: - aws s3api put-bucket-lifecycle-configuration --bucket my-bucket --lifecycle-configuration file://lifecycle.json + aws s3api put-bucket-lifecycle-configuration --bucket amzn-s3-demo-bucket --lifecycle-configuration file://lifecycle.json The file ``lifecycle.json`` is a JSON document in the current folder that specifies two rules:: diff --git a/awscli/examples/s3api/put-bucket-lifecycle.rst b/awscli/examples/s3api/put-bucket-lifecycle.rst index c236b7d220ca..f4fc8582bcc9 100644 --- a/awscli/examples/s3api/put-bucket-lifecycle.rst +++ b/awscli/examples/s3api/put-bucket-lifecycle.rst @@ -1,6 +1,6 @@ -The following command applies a lifecycle configuration to the bucket ``my-bucket``:: +The following command applies a lifecycle configuration to the bucket ``amzn-s3-demo-bucket``:: - aws s3api put-bucket-lifecycle --bucket my-bucket --lifecycle-configuration file://lifecycle.json + aws s3api put-bucket-lifecycle --bucket amzn-s3-demo-bucket --lifecycle-configuration file://lifecycle.json The file ``lifecycle.json`` is a JSON document in the current folder that specifies two rules:: diff --git a/awscli/examples/s3api/put-bucket-metrics-configuration.rst b/awscli/examples/s3api/put-bucket-metrics-configuration.rst index 024118e03e96..7e6b3123eab3 100755 --- a/awscli/examples/s3api/put-bucket-metrics-configuration.rst +++ b/awscli/examples/s3api/put-bucket-metrics-configuration.rst @@ -3,7 +3,7 @@ The following ``put-bucket-metrics-configuration`` example sets a metric configuration with ID 123 for the specified bucket. :: aws s3api put-bucket-metrics-configuration \ - --bucket my-bucket \ + --bucket amzn-s3-demo-bucket \ --id 123 \ --metrics-configuration '{"Id": "123", "Filter": {"Prefix": "logs"}}' diff --git a/awscli/examples/s3api/put-bucket-notification-configuration.rst b/awscli/examples/s3api/put-bucket-notification-configuration.rst index fccb49dbbfa2..3ac21e64fde9 100644 --- a/awscli/examples/s3api/put-bucket-notification-configuration.rst +++ b/awscli/examples/s3api/put-bucket-notification-configuration.rst @@ -1,45 +1,45 @@ -**To enable the specified notifications to a bucket** - -The following ``put-bucket-notification-configuration`` example applies a notification configuration to a bucket named ``my-bucket``. The file ``notification.json`` is a JSON document in the current folder that specifies an SNS topic and an event type to monitor. :: - - aws s3api put-bucket-notification-configuration \ - --bucket my-bucket \ - --notification-configuration file://notification.json - -Contents of ``notification.json``:: - - { - "TopicConfigurations": [ - { - "TopicArn": "arn:aws:sns:us-west-2:123456789012:s3-notification-topic", - "Events": [ - "s3:ObjectCreated:*" - ] - } - ] - } - -The SNS topic must have an IAM policy attached to it that allows Amazon S3 to publish to it. :: - - { - "Version": "2008-10-17", - "Id": "example-ID", - "Statement": [ - { - "Sid": "example-statement-ID", - "Effect": "Allow", - "Principal": { - "Service": "s3.amazonaws.com" - }, - "Action": [ - "SNS:Publish" - ], - "Resource": "arn:aws:sns:us-west-2:123456789012::s3-notification-topic", - "Condition": { - "ArnLike": { - "aws:SourceArn": "arn:aws:s3:*:*:my-bucket" - } - } - } - ] +**To enable the specified notifications to a bucket** + +The following ``put-bucket-notification-configuration`` example applies a notification configuration to a bucket named ``amzn-s3-demo-bucket``. The file ``notification.json`` is a JSON document in the current folder that specifies an SNS topic and an event type to monitor. :: + + aws s3api put-bucket-notification-configuration \ + --bucket amzn-s3-demo-bucket \ + --notification-configuration file://notification.json + +Contents of ``notification.json``:: + + { + "TopicConfigurations": [ + { + "TopicArn": "arn:aws:sns:us-west-2:123456789012:s3-notification-topic", + "Events": [ + "s3:ObjectCreated:*" + ] + } + ] + } + +The SNS topic must have an IAM policy attached to it that allows Amazon S3 to publish to it. :: + + { + "Version": "2008-10-17", + "Id": "example-ID", + "Statement": [ + { + "Sid": "example-statement-ID", + "Effect": "Allow", + "Principal": { + "Service": "s3.amazonaws.com" + }, + "Action": [ + "SNS:Publish" + ], + "Resource": "arn:aws:sns:us-west-2:123456789012::s3-notification-topic", + "Condition": { + "ArnLike": { + "aws:SourceArn": "arn:aws:s3:*:*:amzn-s3-demo-bucket" + } + } + } + ] } \ No newline at end of file diff --git a/awscli/examples/s3api/put-bucket-notification.rst b/awscli/examples/s3api/put-bucket-notification.rst index c31b512eee03..5790b354d3f4 100644 --- a/awscli/examples/s3api/put-bucket-notification.rst +++ b/awscli/examples/s3api/put-bucket-notification.rst @@ -1,6 +1,6 @@ -The applies a notification configuration to a bucket named ``my-bucket``:: +The applies a notification configuration to a bucket named ``amzn-s3-demo-bucket``:: - aws s3api put-bucket-notification --bucket my-bucket --notification-configuration file://notification.json + aws s3api put-bucket-notification --bucket amzn-s3-demo-bucket --notification-configuration file://notification.json The file ``notification.json`` is a JSON document in the current folder that specifies an SNS topic and an event type to monitor:: @@ -26,10 +26,10 @@ The SNS topic must have an IAM policy attached to it that allows Amazon S3 to pu "Action": [ "SNS:Publish" ], - "Resource": "arn:aws:sns:us-west-2:123456789012:my-bucket", + "Resource": "arn:aws:sns:us-west-2:123456789012:amzn-s3-demo-bucket", "Condition": { "ArnLike": { - "aws:SourceArn": "arn:aws:s3:*:*:my-bucket" + "aws:SourceArn": "arn:aws:s3:*:*:amzn-s3-demo-bucket" } } } diff --git a/awscli/examples/s3api/put-bucket-request-payment.rst b/awscli/examples/s3api/put-bucket-request-payment.rst index 988fb077978d..516496a23d77 100644 --- a/awscli/examples/s3api/put-bucket-request-payment.rst +++ b/awscli/examples/s3api/put-bucket-request-payment.rst @@ -3,7 +3,7 @@ The following ``put-bucket-request-payment`` example enables ``requester pays`` for the specified bucket. :: aws s3api put-bucket-request-payment \ - --bucket my-bucket \ + --bucket amzn-s3-demo-bucket \ --request-payment-configuration '{"Payer":"Requester"}' This command produces no output. @@ -13,7 +13,7 @@ This command produces no output. The following ``put-bucket-request-payment`` example disables ``requester pays`` for the specified bucket. :: aws s3api put-bucket-request-payment \ - --bucket my-bucket \ + --bucket amzn-s3-demo-bucket \ --request-payment-configuration '{"Payer":"BucketOwner"}' This command produces no output. diff --git a/awscli/examples/s3api/put-bucket-tagging.rst b/awscli/examples/s3api/put-bucket-tagging.rst index adc4327eb15b..c954c88fe461 100644 --- a/awscli/examples/s3api/put-bucket-tagging.rst +++ b/awscli/examples/s3api/put-bucket-tagging.rst @@ -1,6 +1,6 @@ -The following command applies a tagging configuration to a bucket named ``my-bucket``:: +The following command applies a tagging configuration to a bucket named ``amzn-s3-demo-bucket``:: - aws s3api put-bucket-tagging --bucket my-bucket --tagging file://tagging.json + aws s3api put-bucket-tagging --bucket amzn-s3-demo-bucket --tagging file://tagging.json The file ``tagging.json`` is a JSON document in the current folder that specifies tags:: @@ -13,6 +13,6 @@ The file ``tagging.json`` is a JSON document in the current folder that specifie ] } -Or apply a tagging configuration to ``my-bucket`` directly from the command line:: +Or apply a tagging configuration to ``amzn-s3-demo-bucket`` directly from the command line:: - aws s3api put-bucket-tagging --bucket my-bucket --tagging 'TagSet=[{Key=organization,Value=marketing}]' + aws s3api put-bucket-tagging --bucket amzn-s3-demo-bucket --tagging 'TagSet=[{Key=organization,Value=marketing}]' diff --git a/awscli/examples/s3api/put-bucket-versioning.rst b/awscli/examples/s3api/put-bucket-versioning.rst index e27c166e27fc..4d75859a112a 100644 --- a/awscli/examples/s3api/put-bucket-versioning.rst +++ b/awscli/examples/s3api/put-bucket-versioning.rst @@ -1,7 +1,7 @@ -The following command enables versioning on a bucket named ``my-bucket``:: +The following command enables versioning on a bucket named ``amzn-s3-demo-bucket``:: - aws s3api put-bucket-versioning --bucket my-bucket --versioning-configuration Status=Enabled + aws s3api put-bucket-versioning --bucket amzn-s3-demo-bucket --versioning-configuration Status=Enabled The following command enables versioning, and uses an mfa code :: - aws s3api put-bucket-versioning --bucket my-bucket --versioning-configuration Status=Enabled --mfa "SERIAL 123456" + aws s3api put-bucket-versioning --bucket amzn-s3-demo-bucket --versioning-configuration Status=Enabled --mfa "SERIAL 123456" diff --git a/awscli/examples/s3api/put-bucket-website.rst b/awscli/examples/s3api/put-bucket-website.rst index 0d13f0e128af..e84e3cde8481 100644 --- a/awscli/examples/s3api/put-bucket-website.rst +++ b/awscli/examples/s3api/put-bucket-website.rst @@ -1,6 +1,6 @@ -The applies a static website configuration to a bucket named ``my-bucket``:: +The applies a static website configuration to a bucket named ``amzn-s3-demo-bucket``:: - aws s3api put-bucket-website --bucket my-bucket --website-configuration file://website.json + aws s3api put-bucket-website --bucket amzn-s3-demo-bucket --website-configuration file://website.json The file ``website.json`` is a JSON document in the current folder that specifies index and error pages for the website:: diff --git a/awscli/examples/s3api/put-object-legal-hold.rst b/awscli/examples/s3api/put-object-legal-hold.rst index aba1214b9960..07862ae34f5e 100644 --- a/awscli/examples/s3api/put-object-legal-hold.rst +++ b/awscli/examples/s3api/put-object-legal-hold.rst @@ -3,7 +3,7 @@ The following ``put-object-legal-hold`` example sets a Legal Hold on the object ``doc1.rtf``. :: aws s3api put-object-legal-hold \ - --bucket my-bucket-with-object-lock \ + --bucket amzn-s3-demo-bucket-with-object-lock \ --key doc1.rtf \ --legal-hold Status=ON diff --git a/awscli/examples/s3api/put-object-lock-configuration.rst b/awscli/examples/s3api/put-object-lock-configuration.rst index 10344a2042a1..358397bba28c 100755 --- a/awscli/examples/s3api/put-object-lock-configuration.rst +++ b/awscli/examples/s3api/put-object-lock-configuration.rst @@ -3,7 +3,7 @@ The following ``put-object-lock-configuration`` example sets a 50-day object lock on the specified bucket. :: aws s3api put-object-lock-configuration \ - --bucket my-bucket-with-object-lock \ + --bucket amzn-s3-demo-bucket-with-object-lock \ --object-lock-configuration '{ "ObjectLockEnabled": "Enabled", "Rule": { "DefaultRetention": { "Mode": "COMPLIANCE", "Days": 50 }}}' This command produces no output. \ No newline at end of file diff --git a/awscli/examples/s3api/put-object-retention.rst b/awscli/examples/s3api/put-object-retention.rst index f2fc164f16cf..092a22937b15 100755 --- a/awscli/examples/s3api/put-object-retention.rst +++ b/awscli/examples/s3api/put-object-retention.rst @@ -3,7 +3,7 @@ The following ``put-object-retention`` example sets an object retention configuration for the specified object until 2025-01-01. :: aws s3api put-object-retention \ - --bucket my-bucket-with-object-lock \ + --bucket amzn-s3-demo-bucket-with-object-lock \ --key doc1.rtf \ --retention '{ "Mode": "GOVERNANCE", "RetainUntilDate": "2025-01-01T00:00:00" }' diff --git a/awscli/examples/s3api/put-object-tagging.rst b/awscli/examples/s3api/put-object-tagging.rst index b63810897f73..169aefdb58b9 100755 --- a/awscli/examples/s3api/put-object-tagging.rst +++ b/awscli/examples/s3api/put-object-tagging.rst @@ -3,7 +3,7 @@ The following ``put-object-tagging`` example sets a tag with the key ``designation`` and the value ``confidential`` on the specified object. :: aws s3api put-object-tagging \ - --bucket my-bucket \ + --bucket amzn-s3-demo-bucket \ --key doc1.rtf \ --tagging '{"TagSet": [{ "Key": "designation", "Value": "confidential" }]}' @@ -12,7 +12,7 @@ This command produces no output. The following ``put-object-tagging`` example sets multiple tags sets on the specified object. :: aws s3api put-object-tagging \ - --bucket my-bucket-example \ + --bucket amzn-s3-demo-bucket-example \ --key doc3.rtf \ --tagging '{"TagSet": [{ "Key": "designation", "Value": "confidential" }, { "Key": "department", "Value": "finance" }, { "Key": "team", "Value": "payroll" } ]}' diff --git a/awscli/examples/s3api/put-public-access-block.rst b/awscli/examples/s3api/put-public-access-block.rst index f06bf915f85d..5d082bc98d34 100755 --- a/awscli/examples/s3api/put-public-access-block.rst +++ b/awscli/examples/s3api/put-public-access-block.rst @@ -3,7 +3,7 @@ The following ``put-public-access-block`` example sets a restrictive block public access configuration for the specified bucket. :: aws s3api put-public-access-block \ - --bucket my-bucket \ + --bucket amzn-s3-demo-bucket \ --public-access-block-configuration "BlockPublicAcls=true,IgnorePublicAcls=true,BlockPublicPolicy=true,RestrictPublicBuckets=true" This command produces no output. diff --git a/awscli/examples/s3api/select-object-content.rst b/awscli/examples/s3api/select-object-content.rst index 0385f8e30f22..5462af4f1f39 100755 --- a/awscli/examples/s3api/select-object-content.rst +++ b/awscli/examples/s3api/select-object-content.rst @@ -3,7 +3,7 @@ The following ``select-object-content`` example filters the object ``my-data-file.csv`` with the specified SQL statement and sends output to a file. :: aws s3api select-object-content \ - --bucket my-bucket \ + --bucket amzn-s3-demo-bucket \ --key my-data-file.csv \ --expression "select * from s3object limit 100" \ --expression-type 'SQL' \ diff --git a/awscli/examples/s3api/upload-part-copy.rst b/awscli/examples/s3api/upload-part-copy.rst index 2c0504261e23..a1194464ca35 100755 --- a/awscli/examples/s3api/upload-part-copy.rst +++ b/awscli/examples/s3api/upload-part-copy.rst @@ -3,9 +3,9 @@ The following ``upload-part-copy`` example uploads a part by copying data from an existing object as a data source. :: aws s3api upload-part-copy \ - --bucket my-bucket \ + --bucket amzn-s3-demo-bucket \ --key "Map_Data_June.mp4" \ - --copy-source "my-bucket/copy_of_Map_Data_June.mp4" \ + --copy-source "amzn-s3-demo-bucket/copy_of_Map_Data_June.mp4" \ --part-number 1 \ --upload-id "bq0tdE1CDpWQYRPLHuNG50xAT6pA5D.m_RiBy0ggOH6b13pVRY7QjvLlf75iFdJqp_2wztk5hvpUM2SesXgrzbehG5hViyktrfANpAD0NO.Nk3XREBqvGeZF6U3ipiSm" diff --git a/awscli/examples/s3api/upload-part.rst b/awscli/examples/s3api/upload-part.rst index e8a35eb1f7c6..fb8f4a704040 100644 --- a/awscli/examples/s3api/upload-part.rst +++ b/awscli/examples/s3api/upload-part.rst @@ -1,6 +1,6 @@ The following command uploads the first part in a multipart upload initiated with the ``create-multipart-upload`` command:: - aws s3api upload-part --bucket my-bucket --key 'multipart/01' --part-number 1 --body part01 --upload-id "dfRtDYU0WWCCcH43C3WFbkRONycyCpTJJvxu2i5GYkZljF.Yxwh6XG7WfS2vC4to6HiV6Yjlx.cph0gtNBtJ8P3URCSbB7rjxI5iEwVDmgaXZOGgkk5nVTW16HOQ5l0R" + aws s3api upload-part --bucket amzn-s3-demo-bucket --key 'multipart/01' --part-number 1 --body part01 --upload-id "dfRtDYU0WWCCcH43C3WFbkRONycyCpTJJvxu2i5GYkZljF.Yxwh6XG7WfS2vC4to6HiV6Yjlx.cph0gtNBtJ8P3URCSbB7rjxI5iEwVDmgaXZOGgkk5nVTW16HOQ5l0R" The ``body`` option takes the name or path of a local file for upload (do not use the file:// prefix). The minimum part size is 5 MB. Upload ID is returned by ``create-multipart-upload`` and can also be retrieved with ``list-multipart-uploads``. Bucket and key are specified when you create the multipart upload. diff --git a/awscli/examples/s3api/wait/bucket-exists.rst b/awscli/examples/s3api/wait/bucket-exists.rst index 35d0060386ad..b6c1d27fa7da 100755 --- a/awscli/examples/s3api/wait/bucket-exists.rst +++ b/awscli/examples/s3api/wait/bucket-exists.rst @@ -3,6 +3,6 @@ The following ``wait bucket-exists`` example pauses and continues only after it can confirm that the specified bucket exists. :: aws s3api wait bucket-exists \ - --bucket my-bucket + --bucket amzn-s3-demo-bucket This command produces no output. diff --git a/awscli/examples/s3api/wait/bucket-not-exists.rst b/awscli/examples/s3api/wait/bucket-not-exists.rst index 941f9f02ff7f..ef975b1ea132 100755 --- a/awscli/examples/s3api/wait/bucket-not-exists.rst +++ b/awscli/examples/s3api/wait/bucket-not-exists.rst @@ -3,6 +3,6 @@ The following ``wait bucket-not-exists`` example pauses and continues only after it can confirm that the specified bucket doesn't exist. :: aws s3api wait bucket-not-exists \ - --bucket my-bucket + --bucket amzn-s3-demo-bucket This command produces no output. diff --git a/awscli/examples/s3api/wait/object-exists.rst b/awscli/examples/s3api/wait/object-exists.rst index 787f4f838d7e..ddef8f8ea625 100755 --- a/awscli/examples/s3api/wait/object-exists.rst +++ b/awscli/examples/s3api/wait/object-exists.rst @@ -3,7 +3,7 @@ The following ``wait object-not-exists`` example pauses and continues only after it can confirm that the specified object (``--key``) in the specified bucket exists. :: aws s3api wait object-exists \ - --bucket my-bucket \ + --bucket amzn-s3-demo-bucket \ --key doc1.rtf This command produces no output. \ No newline at end of file diff --git a/awscli/examples/s3api/wait/object-not-exists.rst b/awscli/examples/s3api/wait/object-not-exists.rst index 416cb930d07e..a19df3e412c4 100755 --- a/awscli/examples/s3api/wait/object-not-exists.rst +++ b/awscli/examples/s3api/wait/object-not-exists.rst @@ -3,7 +3,7 @@ The following ``wait object-not-exists`` example pauses and continues only after it can confirm that the specified object (``--key``) in the specified bucket doesn't exist. :: aws s3api wait object-not-exists \ - --bucket my-bucket \ + --bucket amzn-s3-demo-bucket \ --key doc1.rtf This command produces no output. \ No newline at end of file From 50687a2982c2fcd9b74586e178ed636ee79fd12b Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 4 Feb 2025 19:04:03 +0000 Subject: [PATCH 0446/1087] Update changelog based on model updates --- .changes/next-release/api-change-datasync-84197.json | 5 +++++ .changes/next-release/api-change-dms-55398.json | 5 +++++ .changes/next-release/api-change-iam-74306.json | 5 +++++ .changes/next-release/api-change-neptunegraph-33823.json | 5 +++++ .changes/next-release/api-change-qbusiness-27126.json | 5 +++++ .changes/next-release/api-change-sagemaker-73404.json | 5 +++++ 6 files changed, 30 insertions(+) create mode 100644 .changes/next-release/api-change-datasync-84197.json create mode 100644 .changes/next-release/api-change-dms-55398.json create mode 100644 .changes/next-release/api-change-iam-74306.json create mode 100644 .changes/next-release/api-change-neptunegraph-33823.json create mode 100644 .changes/next-release/api-change-qbusiness-27126.json create mode 100644 .changes/next-release/api-change-sagemaker-73404.json diff --git a/.changes/next-release/api-change-datasync-84197.json b/.changes/next-release/api-change-datasync-84197.json new file mode 100644 index 000000000000..0b4735bb0efa --- /dev/null +++ b/.changes/next-release/api-change-datasync-84197.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``datasync``", + "description": "Doc-only update to provide more information on using Kerberos authentication with SMB locations." +} diff --git a/.changes/next-release/api-change-dms-55398.json b/.changes/next-release/api-change-dms-55398.json new file mode 100644 index 000000000000..c317d76edd78 --- /dev/null +++ b/.changes/next-release/api-change-dms-55398.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``dms``", + "description": "Introduces TargetDataSettings with the TablePreparationMode option available for data migrations." +} diff --git a/.changes/next-release/api-change-iam-74306.json b/.changes/next-release/api-change-iam-74306.json new file mode 100644 index 000000000000..015be43bbd19 --- /dev/null +++ b/.changes/next-release/api-change-iam-74306.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``iam``", + "description": "This release adds support for accepting encrypted SAML assertions. Customers can now configure their identity provider to encrypt the SAML assertions it sends to IAM." +} diff --git a/.changes/next-release/api-change-neptunegraph-33823.json b/.changes/next-release/api-change-neptunegraph-33823.json new file mode 100644 index 000000000000..085eb9168e7b --- /dev/null +++ b/.changes/next-release/api-change-neptunegraph-33823.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``neptune-graph``", + "description": "Added argument to `list-export` to filter by graph ID" +} diff --git a/.changes/next-release/api-change-qbusiness-27126.json b/.changes/next-release/api-change-qbusiness-27126.json new file mode 100644 index 000000000000..2e1c50d9c8a2 --- /dev/null +++ b/.changes/next-release/api-change-qbusiness-27126.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``qbusiness``", + "description": "Adds functionality to enable/disable a new Q Business Chat orchestration feature. If enabled, Q Business can orchestrate over datasources and plugins without the need for customers to select specific chat modes." +} diff --git a/.changes/next-release/api-change-sagemaker-73404.json b/.changes/next-release/api-change-sagemaker-73404.json new file mode 100644 index 000000000000..a7cf6268f4f6 --- /dev/null +++ b/.changes/next-release/api-change-sagemaker-73404.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``sagemaker``", + "description": "IPv6 support for Hyperpod clusters" +} From abe40acd6d5a5269b16921a509302d598ced7d7b Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 4 Feb 2025 19:05:19 +0000 Subject: [PATCH 0447/1087] Bumping version to 1.37.13 --- .changes/1.37.13.json | 32 +++++++++++++++++++ .../api-change-datasync-84197.json | 5 --- .../next-release/api-change-dms-55398.json | 5 --- .../next-release/api-change-iam-74306.json | 5 --- .../api-change-neptunegraph-33823.json | 5 --- .../api-change-qbusiness-27126.json | 5 --- .../api-change-sagemaker-73404.json | 5 --- CHANGELOG.rst | 11 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 12 files changed, 47 insertions(+), 34 deletions(-) create mode 100644 .changes/1.37.13.json delete mode 100644 .changes/next-release/api-change-datasync-84197.json delete mode 100644 .changes/next-release/api-change-dms-55398.json delete mode 100644 .changes/next-release/api-change-iam-74306.json delete mode 100644 .changes/next-release/api-change-neptunegraph-33823.json delete mode 100644 .changes/next-release/api-change-qbusiness-27126.json delete mode 100644 .changes/next-release/api-change-sagemaker-73404.json diff --git a/.changes/1.37.13.json b/.changes/1.37.13.json new file mode 100644 index 000000000000..b021503cc9c3 --- /dev/null +++ b/.changes/1.37.13.json @@ -0,0 +1,32 @@ +[ + { + "category": "``datasync``", + "description": "Doc-only update to provide more information on using Kerberos authentication with SMB locations.", + "type": "api-change" + }, + { + "category": "``dms``", + "description": "Introduces TargetDataSettings with the TablePreparationMode option available for data migrations.", + "type": "api-change" + }, + { + "category": "``iam``", + "description": "This release adds support for accepting encrypted SAML assertions. Customers can now configure their identity provider to encrypt the SAML assertions it sends to IAM.", + "type": "api-change" + }, + { + "category": "``neptune-graph``", + "description": "Added argument to `list-export` to filter by graph ID", + "type": "api-change" + }, + { + "category": "``qbusiness``", + "description": "Adds functionality to enable/disable a new Q Business Chat orchestration feature. If enabled, Q Business can orchestrate over datasources and plugins without the need for customers to select specific chat modes.", + "type": "api-change" + }, + { + "category": "``sagemaker``", + "description": "IPv6 support for Hyperpod clusters", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-datasync-84197.json b/.changes/next-release/api-change-datasync-84197.json deleted file mode 100644 index 0b4735bb0efa..000000000000 --- a/.changes/next-release/api-change-datasync-84197.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``datasync``", - "description": "Doc-only update to provide more information on using Kerberos authentication with SMB locations." -} diff --git a/.changes/next-release/api-change-dms-55398.json b/.changes/next-release/api-change-dms-55398.json deleted file mode 100644 index c317d76edd78..000000000000 --- a/.changes/next-release/api-change-dms-55398.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``dms``", - "description": "Introduces TargetDataSettings with the TablePreparationMode option available for data migrations." -} diff --git a/.changes/next-release/api-change-iam-74306.json b/.changes/next-release/api-change-iam-74306.json deleted file mode 100644 index 015be43bbd19..000000000000 --- a/.changes/next-release/api-change-iam-74306.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``iam``", - "description": "This release adds support for accepting encrypted SAML assertions. Customers can now configure their identity provider to encrypt the SAML assertions it sends to IAM." -} diff --git a/.changes/next-release/api-change-neptunegraph-33823.json b/.changes/next-release/api-change-neptunegraph-33823.json deleted file mode 100644 index 085eb9168e7b..000000000000 --- a/.changes/next-release/api-change-neptunegraph-33823.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``neptune-graph``", - "description": "Added argument to `list-export` to filter by graph ID" -} diff --git a/.changes/next-release/api-change-qbusiness-27126.json b/.changes/next-release/api-change-qbusiness-27126.json deleted file mode 100644 index 2e1c50d9c8a2..000000000000 --- a/.changes/next-release/api-change-qbusiness-27126.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``qbusiness``", - "description": "Adds functionality to enable/disable a new Q Business Chat orchestration feature. If enabled, Q Business can orchestrate over datasources and plugins without the need for customers to select specific chat modes." -} diff --git a/.changes/next-release/api-change-sagemaker-73404.json b/.changes/next-release/api-change-sagemaker-73404.json deleted file mode 100644 index a7cf6268f4f6..000000000000 --- a/.changes/next-release/api-change-sagemaker-73404.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``sagemaker``", - "description": "IPv6 support for Hyperpod clusters" -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 4854f7ca0843..50f44dadc122 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,17 @@ CHANGELOG ========= +1.37.13 +======= + +* api-change:``datasync``: Doc-only update to provide more information on using Kerberos authentication with SMB locations. +* api-change:``dms``: Introduces TargetDataSettings with the TablePreparationMode option available for data migrations. +* api-change:``iam``: This release adds support for accepting encrypted SAML assertions. Customers can now configure their identity provider to encrypt the SAML assertions it sends to IAM. +* api-change:``neptune-graph``: Added argument to `list-export` to filter by graph ID +* api-change:``qbusiness``: Adds functionality to enable/disable a new Q Business Chat orchestration feature. If enabled, Q Business can orchestrate over datasources and plugins without the need for customers to select specific chat modes. +* api-change:``sagemaker``: IPv6 support for Hyperpod clusters + + 1.37.12 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 2dcaa6f667dc..8cf56e17e636 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.37.12' +__version__ = '1.37.13' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 9f335b0ec5c7..ec432fc8b39c 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.37.' # The full version, including alpha/beta/rc tags. -release = '1.37.12' +release = '1.37.13' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 8a01bd28e7db..f6ba187a22db 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.36.12 + botocore==1.36.13 docutils>=0.10,<0.17 s3transfer>=0.11.0,<0.12.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 735e93fedb34..096fbd0df58f 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.36.12', + 'botocore==1.36.13', 'docutils>=0.10,<0.17', 's3transfer>=0.11.0,<0.12.0', 'PyYAML>=3.10,<6.1', From 1fdf2262b1e82e5d9f88eb1055934b516b051724 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 5 Feb 2025 19:06:00 +0000 Subject: [PATCH 0448/1087] Update changelog based on model updates --- .changes/next-release/api-change-rds-89678.json | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changes/next-release/api-change-rds-89678.json diff --git a/.changes/next-release/api-change-rds-89678.json b/.changes/next-release/api-change-rds-89678.json new file mode 100644 index 000000000000..ba6a66f546bd --- /dev/null +++ b/.changes/next-release/api-change-rds-89678.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``rds``", + "description": "Documentation updates to clarify the description for the parameter AllocatedStorage for the DB cluster data type, the description for the parameter DeleteAutomatedBackups for the DeleteDBCluster API operation, and removing an outdated note for the CreateDBParameterGroup API operation." +} From 48daeda5fc60256709b53a487bb84a632c000944 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 5 Feb 2025 19:07:25 +0000 Subject: [PATCH 0449/1087] Bumping version to 1.37.14 --- .changes/1.37.14.json | 7 +++++++ .changes/next-release/api-change-rds-89678.json | 5 ----- CHANGELOG.rst | 6 ++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 7 files changed, 17 insertions(+), 9 deletions(-) create mode 100644 .changes/1.37.14.json delete mode 100644 .changes/next-release/api-change-rds-89678.json diff --git a/.changes/1.37.14.json b/.changes/1.37.14.json new file mode 100644 index 000000000000..2b14e6c30cfc --- /dev/null +++ b/.changes/1.37.14.json @@ -0,0 +1,7 @@ +[ + { + "category": "``rds``", + "description": "Documentation updates to clarify the description for the parameter AllocatedStorage for the DB cluster data type, the description for the parameter DeleteAutomatedBackups for the DeleteDBCluster API operation, and removing an outdated note for the CreateDBParameterGroup API operation.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-rds-89678.json b/.changes/next-release/api-change-rds-89678.json deleted file mode 100644 index ba6a66f546bd..000000000000 --- a/.changes/next-release/api-change-rds-89678.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``rds``", - "description": "Documentation updates to clarify the description for the parameter AllocatedStorage for the DB cluster data type, the description for the parameter DeleteAutomatedBackups for the DeleteDBCluster API operation, and removing an outdated note for the CreateDBParameterGroup API operation." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 50f44dadc122..e01b07c10f5e 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,12 @@ CHANGELOG ========= +1.37.14 +======= + +* api-change:``rds``: Documentation updates to clarify the description for the parameter AllocatedStorage for the DB cluster data type, the description for the parameter DeleteAutomatedBackups for the DeleteDBCluster API operation, and removing an outdated note for the CreateDBParameterGroup API operation. + + 1.37.13 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 8cf56e17e636..9661fb622c94 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.37.13' +__version__ = '1.37.14' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index ec432fc8b39c..8b8994e564cf 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.37.' # The full version, including alpha/beta/rc tags. -release = '1.37.13' +release = '1.37.14' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index f6ba187a22db..8880dbd8302e 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.36.13 + botocore==1.36.14 docutils>=0.10,<0.17 s3transfer>=0.11.0,<0.12.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 096fbd0df58f..44ba7bebd99b 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.36.13', + 'botocore==1.36.14', 'docutils>=0.10,<0.17', 's3transfer>=0.11.0,<0.12.0', 'PyYAML>=3.10,<6.1', From 0dc97b72992eba079e8c8c8418435037096c70f6 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 6 Feb 2025 19:02:50 +0000 Subject: [PATCH 0450/1087] Update changelog based on model updates --- .changes/next-release/api-change-cloudformation-94144.json | 5 +++++ .changes/next-release/api-change-connectcases-30936.json | 5 +++++ .../next-release/api-change-costoptimizationhub-80109.json | 5 +++++ .changes/next-release/api-change-s3-70389.json | 5 +++++ 4 files changed, 20 insertions(+) create mode 100644 .changes/next-release/api-change-cloudformation-94144.json create mode 100644 .changes/next-release/api-change-connectcases-30936.json create mode 100644 .changes/next-release/api-change-costoptimizationhub-80109.json create mode 100644 .changes/next-release/api-change-s3-70389.json diff --git a/.changes/next-release/api-change-cloudformation-94144.json b/.changes/next-release/api-change-cloudformation-94144.json new file mode 100644 index 000000000000..8ea37961b9e8 --- /dev/null +++ b/.changes/next-release/api-change-cloudformation-94144.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``cloudformation``", + "description": "We added 5 new stack refactoring APIs: CreateStackRefactor, ExecuteStackRefactor, ListStackRefactors, DescribeStackRefactor, ListStackRefactorActions." +} diff --git a/.changes/next-release/api-change-connectcases-30936.json b/.changes/next-release/api-change-connectcases-30936.json new file mode 100644 index 000000000000..1f19dfe0419a --- /dev/null +++ b/.changes/next-release/api-change-connectcases-30936.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``connectcases``", + "description": "This release adds the ability to conditionally require fields on a template. Check public documentation for more information." +} diff --git a/.changes/next-release/api-change-costoptimizationhub-80109.json b/.changes/next-release/api-change-costoptimizationhub-80109.json new file mode 100644 index 000000000000..ead8f41c17f9 --- /dev/null +++ b/.changes/next-release/api-change-costoptimizationhub-80109.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``cost-optimization-hub``", + "description": "This release enables AWS Cost Optimization Hub to show cost optimization recommendations for Amazon Auto Scaling Groups, including those with single and mixed instance types." +} diff --git a/.changes/next-release/api-change-s3-70389.json b/.changes/next-release/api-change-s3-70389.json new file mode 100644 index 000000000000..12888c3bcabf --- /dev/null +++ b/.changes/next-release/api-change-s3-70389.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``s3``", + "description": "Updated list of the valid AWS Region values for the LocationConstraint parameter for general purpose buckets." +} From ac9c63c61d6634ffebb3d447dcde7197ac1555c8 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 6 Feb 2025 19:04:08 +0000 Subject: [PATCH 0451/1087] Bumping version to 1.37.15 --- .changes/1.37.15.json | 22 +++++++++++++++++++ .../api-change-cloudformation-94144.json | 5 ----- .../api-change-connectcases-30936.json | 5 ----- .../api-change-costoptimizationhub-80109.json | 5 ----- .../next-release/api-change-s3-70389.json | 5 ----- CHANGELOG.rst | 9 ++++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 10 files changed, 35 insertions(+), 24 deletions(-) create mode 100644 .changes/1.37.15.json delete mode 100644 .changes/next-release/api-change-cloudformation-94144.json delete mode 100644 .changes/next-release/api-change-connectcases-30936.json delete mode 100644 .changes/next-release/api-change-costoptimizationhub-80109.json delete mode 100644 .changes/next-release/api-change-s3-70389.json diff --git a/.changes/1.37.15.json b/.changes/1.37.15.json new file mode 100644 index 000000000000..073945b45f6c --- /dev/null +++ b/.changes/1.37.15.json @@ -0,0 +1,22 @@ +[ + { + "category": "``cloudformation``", + "description": "We added 5 new stack refactoring APIs: CreateStackRefactor, ExecuteStackRefactor, ListStackRefactors, DescribeStackRefactor, ListStackRefactorActions.", + "type": "api-change" + }, + { + "category": "``connectcases``", + "description": "This release adds the ability to conditionally require fields on a template. Check public documentation for more information.", + "type": "api-change" + }, + { + "category": "``cost-optimization-hub``", + "description": "This release enables AWS Cost Optimization Hub to show cost optimization recommendations for Amazon Auto Scaling Groups, including those with single and mixed instance types.", + "type": "api-change" + }, + { + "category": "``s3``", + "description": "Updated list of the valid AWS Region values for the LocationConstraint parameter for general purpose buckets.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-cloudformation-94144.json b/.changes/next-release/api-change-cloudformation-94144.json deleted file mode 100644 index 8ea37961b9e8..000000000000 --- a/.changes/next-release/api-change-cloudformation-94144.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``cloudformation``", - "description": "We added 5 new stack refactoring APIs: CreateStackRefactor, ExecuteStackRefactor, ListStackRefactors, DescribeStackRefactor, ListStackRefactorActions." -} diff --git a/.changes/next-release/api-change-connectcases-30936.json b/.changes/next-release/api-change-connectcases-30936.json deleted file mode 100644 index 1f19dfe0419a..000000000000 --- a/.changes/next-release/api-change-connectcases-30936.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``connectcases``", - "description": "This release adds the ability to conditionally require fields on a template. Check public documentation for more information." -} diff --git a/.changes/next-release/api-change-costoptimizationhub-80109.json b/.changes/next-release/api-change-costoptimizationhub-80109.json deleted file mode 100644 index ead8f41c17f9..000000000000 --- a/.changes/next-release/api-change-costoptimizationhub-80109.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``cost-optimization-hub``", - "description": "This release enables AWS Cost Optimization Hub to show cost optimization recommendations for Amazon Auto Scaling Groups, including those with single and mixed instance types." -} diff --git a/.changes/next-release/api-change-s3-70389.json b/.changes/next-release/api-change-s3-70389.json deleted file mode 100644 index 12888c3bcabf..000000000000 --- a/.changes/next-release/api-change-s3-70389.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``s3``", - "description": "Updated list of the valid AWS Region values for the LocationConstraint parameter for general purpose buckets." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index e01b07c10f5e..bea5db50ea75 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,15 @@ CHANGELOG ========= +1.37.15 +======= + +* api-change:``cloudformation``: We added 5 new stack refactoring APIs: CreateStackRefactor, ExecuteStackRefactor, ListStackRefactors, DescribeStackRefactor, ListStackRefactorActions. +* api-change:``connectcases``: This release adds the ability to conditionally require fields on a template. Check public documentation for more information. +* api-change:``cost-optimization-hub``: This release enables AWS Cost Optimization Hub to show cost optimization recommendations for Amazon Auto Scaling Groups, including those with single and mixed instance types. +* api-change:``s3``: Updated list of the valid AWS Region values for the LocationConstraint parameter for general purpose buckets. + + 1.37.14 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 9661fb622c94..a5760b50d4aa 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.37.14' +__version__ = '1.37.15' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 8b8994e564cf..bf5b2c4db390 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.37.' # The full version, including alpha/beta/rc tags. -release = '1.37.14' +release = '1.37.15' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 8880dbd8302e..ce28d93297db 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.36.14 + botocore==1.36.15 docutils>=0.10,<0.17 s3transfer>=0.11.0,<0.12.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 44ba7bebd99b..f8bea20ca7b1 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.36.14', + 'botocore==1.36.15', 'docutils>=0.10,<0.17', 's3transfer>=0.11.0,<0.12.0', 'PyYAML>=3.10,<6.1', From b28d58785235a5a1df30712b78796a442a7d783f Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 7 Feb 2025 19:06:01 +0000 Subject: [PATCH 0452/1087] Update changelog based on model updates --- .changes/next-release/api-change-ecr-62107.json | 5 +++++ .changes/next-release/api-change-eks-99494.json | 5 +++++ .changes/next-release/api-change-mediaconvert-16054.json | 5 +++++ .changes/next-release/api-change-pi-30687.json | 5 +++++ .changes/next-release/api-change-transcribe-68654.json | 5 +++++ 5 files changed, 25 insertions(+) create mode 100644 .changes/next-release/api-change-ecr-62107.json create mode 100644 .changes/next-release/api-change-eks-99494.json create mode 100644 .changes/next-release/api-change-mediaconvert-16054.json create mode 100644 .changes/next-release/api-change-pi-30687.json create mode 100644 .changes/next-release/api-change-transcribe-68654.json diff --git a/.changes/next-release/api-change-ecr-62107.json b/.changes/next-release/api-change-ecr-62107.json new file mode 100644 index 000000000000..fd3d6a7d992a --- /dev/null +++ b/.changes/next-release/api-change-ecr-62107.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ecr``", + "description": "Adds support to handle the new basic scanning daily quota." +} diff --git a/.changes/next-release/api-change-eks-99494.json b/.changes/next-release/api-change-eks-99494.json new file mode 100644 index 000000000000..0b00315cd38f --- /dev/null +++ b/.changes/next-release/api-change-eks-99494.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``eks``", + "description": "Introduce versionStatus field to take place of status field in EKS DescribeClusterVersions API" +} diff --git a/.changes/next-release/api-change-mediaconvert-16054.json b/.changes/next-release/api-change-mediaconvert-16054.json new file mode 100644 index 000000000000..a5a20cf80546 --- /dev/null +++ b/.changes/next-release/api-change-mediaconvert-16054.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``mediaconvert``", + "description": "This release adds support for Animated GIF output, forced chroma sample positioning metadata, and Extensible Wave Container format" +} diff --git a/.changes/next-release/api-change-pi-30687.json b/.changes/next-release/api-change-pi-30687.json new file mode 100644 index 000000000000..2ea2f65bb266 --- /dev/null +++ b/.changes/next-release/api-change-pi-30687.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``pi``", + "description": "Adds documentation for dimension groups and dimensions to analyze locks for Database Insights." +} diff --git a/.changes/next-release/api-change-transcribe-68654.json b/.changes/next-release/api-change-transcribe-68654.json new file mode 100644 index 000000000000..04d82e94a2a2 --- /dev/null +++ b/.changes/next-release/api-change-transcribe-68654.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``transcribe``", + "description": "This release adds support for the Clinical Note Template Customization feature for the AWS HealthScribe APIs within Amazon Transcribe." +} From d7a6723d9bb2dca4736fcff9e839dcce226ef295 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 7 Feb 2025 19:07:16 +0000 Subject: [PATCH 0453/1087] Bumping version to 1.37.16 --- .changes/1.37.16.json | 27 +++++++++++++++++++ .../next-release/api-change-ecr-62107.json | 5 ---- .../next-release/api-change-eks-99494.json | 5 ---- .../api-change-mediaconvert-16054.json | 5 ---- .../next-release/api-change-pi-30687.json | 5 ---- .../api-change-transcribe-68654.json | 5 ---- CHANGELOG.rst | 10 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 11 files changed, 41 insertions(+), 29 deletions(-) create mode 100644 .changes/1.37.16.json delete mode 100644 .changes/next-release/api-change-ecr-62107.json delete mode 100644 .changes/next-release/api-change-eks-99494.json delete mode 100644 .changes/next-release/api-change-mediaconvert-16054.json delete mode 100644 .changes/next-release/api-change-pi-30687.json delete mode 100644 .changes/next-release/api-change-transcribe-68654.json diff --git a/.changes/1.37.16.json b/.changes/1.37.16.json new file mode 100644 index 000000000000..68ff1d3c6f60 --- /dev/null +++ b/.changes/1.37.16.json @@ -0,0 +1,27 @@ +[ + { + "category": "``ecr``", + "description": "Adds support to handle the new basic scanning daily quota.", + "type": "api-change" + }, + { + "category": "``eks``", + "description": "Introduce versionStatus field to take place of status field in EKS DescribeClusterVersions API", + "type": "api-change" + }, + { + "category": "``mediaconvert``", + "description": "This release adds support for Animated GIF output, forced chroma sample positioning metadata, and Extensible Wave Container format", + "type": "api-change" + }, + { + "category": "``pi``", + "description": "Adds documentation for dimension groups and dimensions to analyze locks for Database Insights.", + "type": "api-change" + }, + { + "category": "``transcribe``", + "description": "This release adds support for the Clinical Note Template Customization feature for the AWS HealthScribe APIs within Amazon Transcribe.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-ecr-62107.json b/.changes/next-release/api-change-ecr-62107.json deleted file mode 100644 index fd3d6a7d992a..000000000000 --- a/.changes/next-release/api-change-ecr-62107.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ecr``", - "description": "Adds support to handle the new basic scanning daily quota." -} diff --git a/.changes/next-release/api-change-eks-99494.json b/.changes/next-release/api-change-eks-99494.json deleted file mode 100644 index 0b00315cd38f..000000000000 --- a/.changes/next-release/api-change-eks-99494.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``eks``", - "description": "Introduce versionStatus field to take place of status field in EKS DescribeClusterVersions API" -} diff --git a/.changes/next-release/api-change-mediaconvert-16054.json b/.changes/next-release/api-change-mediaconvert-16054.json deleted file mode 100644 index a5a20cf80546..000000000000 --- a/.changes/next-release/api-change-mediaconvert-16054.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``mediaconvert``", - "description": "This release adds support for Animated GIF output, forced chroma sample positioning metadata, and Extensible Wave Container format" -} diff --git a/.changes/next-release/api-change-pi-30687.json b/.changes/next-release/api-change-pi-30687.json deleted file mode 100644 index 2ea2f65bb266..000000000000 --- a/.changes/next-release/api-change-pi-30687.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``pi``", - "description": "Adds documentation for dimension groups and dimensions to analyze locks for Database Insights." -} diff --git a/.changes/next-release/api-change-transcribe-68654.json b/.changes/next-release/api-change-transcribe-68654.json deleted file mode 100644 index 04d82e94a2a2..000000000000 --- a/.changes/next-release/api-change-transcribe-68654.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``transcribe``", - "description": "This release adds support for the Clinical Note Template Customization feature for the AWS HealthScribe APIs within Amazon Transcribe." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index bea5db50ea75..6dfbceef0359 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,16 @@ CHANGELOG ========= +1.37.16 +======= + +* api-change:``ecr``: Adds support to handle the new basic scanning daily quota. +* api-change:``eks``: Introduce versionStatus field to take place of status field in EKS DescribeClusterVersions API +* api-change:``mediaconvert``: This release adds support for Animated GIF output, forced chroma sample positioning metadata, and Extensible Wave Container format +* api-change:``pi``: Adds documentation for dimension groups and dimensions to analyze locks for Database Insights. +* api-change:``transcribe``: This release adds support for the Clinical Note Template Customization feature for the AWS HealthScribe APIs within Amazon Transcribe. + + 1.37.15 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index a5760b50d4aa..581d2dc40f91 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.37.15' +__version__ = '1.37.16' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index bf5b2c4db390..a795c95b9cf8 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.37.' # The full version, including alpha/beta/rc tags. -release = '1.37.15' +release = '1.37.16' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index ce28d93297db..dfedba71211b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.36.15 + botocore==1.36.16 docutils>=0.10,<0.17 s3transfer>=0.11.0,<0.12.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index f8bea20ca7b1..18b37a016697 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.36.15', + 'botocore==1.36.16', 'docutils>=0.10,<0.17', 's3transfer>=0.11.0,<0.12.0', 'PyYAML>=3.10,<6.1', From 96f96b844bc11580c43bb7e3071e56b4b5e249db Mon Sep 17 00:00:00 2001 From: Scott Brown Date: Fri, 7 Feb 2025 13:07:32 -0700 Subject: [PATCH 0454/1087] Fixes issue #9284 --- awscli/alias.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awscli/alias.py b/awscli/alias.py index d44821439ee9..29014051ff2e 100644 --- a/awscli/alias.py +++ b/awscli/alias.py @@ -257,7 +257,7 @@ def _get_global_parameters_to_update(self, parsed_alias_args): if parsed_param in self.UNSUPPORTED_GLOBAL_PARAMETERS: raise InvalidAliasException( f'Global parameter "--{parsed_param}" detected in alias ' - f'"{self._alias_name}" which is not support in ' + f'"{self._alias_name}" which is not supported in ' 'subcommand aliases.' ) else: From 619bcbaab23780f7ea4fdc4567fcabfeb4e56bb6 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 10 Feb 2025 19:23:18 +0000 Subject: [PATCH 0455/1087] Update changelog based on model updates --- .changes/next-release/api-change-apigatewayv2-55491.json | 5 +++++ .changes/next-release/api-change-cloudfront-19050.json | 5 +++++ .changes/next-release/api-change-connect-99443.json | 5 +++++ .changes/next-release/api-change-dms-25935.json | 5 +++++ 4 files changed, 20 insertions(+) create mode 100644 .changes/next-release/api-change-apigatewayv2-55491.json create mode 100644 .changes/next-release/api-change-cloudfront-19050.json create mode 100644 .changes/next-release/api-change-connect-99443.json create mode 100644 .changes/next-release/api-change-dms-25935.json diff --git a/.changes/next-release/api-change-apigatewayv2-55491.json b/.changes/next-release/api-change-apigatewayv2-55491.json new file mode 100644 index 000000000000..13438d08a3ad --- /dev/null +++ b/.changes/next-release/api-change-apigatewayv2-55491.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``apigatewayv2``", + "description": "Documentation updates for Amazon API Gateway" +} diff --git a/.changes/next-release/api-change-cloudfront-19050.json b/.changes/next-release/api-change-cloudfront-19050.json new file mode 100644 index 000000000000..37e062b95e63 --- /dev/null +++ b/.changes/next-release/api-change-cloudfront-19050.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``cloudfront``", + "description": "Doc-only update that adds defaults for CloudFront VpcOriginEndpointConfig values." +} diff --git a/.changes/next-release/api-change-connect-99443.json b/.changes/next-release/api-change-connect-99443.json new file mode 100644 index 000000000000..6c68c44bfa23 --- /dev/null +++ b/.changes/next-release/api-change-connect-99443.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``connect``", + "description": "Updated the CreateContact API documentation to indicate that it only applies to EMAIL contacts." +} diff --git a/.changes/next-release/api-change-dms-25935.json b/.changes/next-release/api-change-dms-25935.json new file mode 100644 index 000000000000..2596884cc9f2 --- /dev/null +++ b/.changes/next-release/api-change-dms-25935.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``dms``", + "description": "New vendors for DMS Data Providers: DB2 LUW and DB2 for z/OS" +} From c32fdfc949b1d9b0f38d06e8b4fe30453df1f6ee Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 10 Feb 2025 19:24:44 +0000 Subject: [PATCH 0456/1087] Bumping version to 1.37.17 --- .changes/1.37.17.json | 22 +++++++++++++++++++ .../api-change-apigatewayv2-55491.json | 5 ----- .../api-change-cloudfront-19050.json | 5 ----- .../api-change-connect-99443.json | 5 ----- .../next-release/api-change-dms-25935.json | 5 ----- CHANGELOG.rst | 9 ++++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 10 files changed, 35 insertions(+), 24 deletions(-) create mode 100644 .changes/1.37.17.json delete mode 100644 .changes/next-release/api-change-apigatewayv2-55491.json delete mode 100644 .changes/next-release/api-change-cloudfront-19050.json delete mode 100644 .changes/next-release/api-change-connect-99443.json delete mode 100644 .changes/next-release/api-change-dms-25935.json diff --git a/.changes/1.37.17.json b/.changes/1.37.17.json new file mode 100644 index 000000000000..825530a91c69 --- /dev/null +++ b/.changes/1.37.17.json @@ -0,0 +1,22 @@ +[ + { + "category": "``apigatewayv2``", + "description": "Documentation updates for Amazon API Gateway", + "type": "api-change" + }, + { + "category": "``cloudfront``", + "description": "Doc-only update that adds defaults for CloudFront VpcOriginEndpointConfig values.", + "type": "api-change" + }, + { + "category": "``connect``", + "description": "Updated the CreateContact API documentation to indicate that it only applies to EMAIL contacts.", + "type": "api-change" + }, + { + "category": "``dms``", + "description": "New vendors for DMS Data Providers: DB2 LUW and DB2 for z/OS", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-apigatewayv2-55491.json b/.changes/next-release/api-change-apigatewayv2-55491.json deleted file mode 100644 index 13438d08a3ad..000000000000 --- a/.changes/next-release/api-change-apigatewayv2-55491.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``apigatewayv2``", - "description": "Documentation updates for Amazon API Gateway" -} diff --git a/.changes/next-release/api-change-cloudfront-19050.json b/.changes/next-release/api-change-cloudfront-19050.json deleted file mode 100644 index 37e062b95e63..000000000000 --- a/.changes/next-release/api-change-cloudfront-19050.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``cloudfront``", - "description": "Doc-only update that adds defaults for CloudFront VpcOriginEndpointConfig values." -} diff --git a/.changes/next-release/api-change-connect-99443.json b/.changes/next-release/api-change-connect-99443.json deleted file mode 100644 index 6c68c44bfa23..000000000000 --- a/.changes/next-release/api-change-connect-99443.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``connect``", - "description": "Updated the CreateContact API documentation to indicate that it only applies to EMAIL contacts." -} diff --git a/.changes/next-release/api-change-dms-25935.json b/.changes/next-release/api-change-dms-25935.json deleted file mode 100644 index 2596884cc9f2..000000000000 --- a/.changes/next-release/api-change-dms-25935.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``dms``", - "description": "New vendors for DMS Data Providers: DB2 LUW and DB2 for z/OS" -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 6dfbceef0359..4fe931b7584a 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,15 @@ CHANGELOG ========= +1.37.17 +======= + +* api-change:``apigatewayv2``: Documentation updates for Amazon API Gateway +* api-change:``cloudfront``: Doc-only update that adds defaults for CloudFront VpcOriginEndpointConfig values. +* api-change:``connect``: Updated the CreateContact API documentation to indicate that it only applies to EMAIL contacts. +* api-change:``dms``: New vendors for DMS Data Providers: DB2 LUW and DB2 for z/OS + + 1.37.16 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 581d2dc40f91..4657529279ed 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.37.16' +__version__ = '1.37.17' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index a795c95b9cf8..ba42a22e1870 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.37.' # The full version, including alpha/beta/rc tags. -release = '1.37.16' +release = '1.37.17' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index dfedba71211b..caea3a360bb4 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.36.16 + botocore==1.36.17 docutils>=0.10,<0.17 s3transfer>=0.11.0,<0.12.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 18b37a016697..7d3504661fee 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.36.16', + 'botocore==1.36.17', 'docutils>=0.10,<0.17', 's3transfer>=0.11.0,<0.12.0', 'PyYAML>=3.10,<6.1', From 12f750e4cf1b141ba1632289094371c1a1f9eac3 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 11 Feb 2025 19:46:11 +0000 Subject: [PATCH 0457/1087] Update changelog based on model updates --- .changes/next-release/api-change-acmpca-28466.json | 5 +++++ .changes/next-release/api-change-appsync-7348.json | 5 +++++ .changes/next-release/api-change-ec2-16210.json | 5 +++++ .changes/next-release/api-change-pi-59761.json | 5 +++++ 4 files changed, 20 insertions(+) create mode 100644 .changes/next-release/api-change-acmpca-28466.json create mode 100644 .changes/next-release/api-change-appsync-7348.json create mode 100644 .changes/next-release/api-change-ec2-16210.json create mode 100644 .changes/next-release/api-change-pi-59761.json diff --git a/.changes/next-release/api-change-acmpca-28466.json b/.changes/next-release/api-change-acmpca-28466.json new file mode 100644 index 000000000000..44b84f4a3fcb --- /dev/null +++ b/.changes/next-release/api-change-acmpca-28466.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``acm-pca``", + "description": "Private Certificate Authority service now supports Partitioned CRL as a revocation configuration option." +} diff --git a/.changes/next-release/api-change-appsync-7348.json b/.changes/next-release/api-change-appsync-7348.json new file mode 100644 index 000000000000..673b8c631bfe --- /dev/null +++ b/.changes/next-release/api-change-appsync-7348.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``appsync``", + "description": "Add support for operation level caching" +} diff --git a/.changes/next-release/api-change-ec2-16210.json b/.changes/next-release/api-change-ec2-16210.json new file mode 100644 index 000000000000..10b1a61a7dd0 --- /dev/null +++ b/.changes/next-release/api-change-ec2-16210.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ec2``", + "description": "Adding support for the new fullSnapshotSizeInBytes field in the response of the EC2 EBS DescribeSnapshots API. This field represents the size of all the blocks that were written to the source volume at the time the snapshot was created." +} diff --git a/.changes/next-release/api-change-pi-59761.json b/.changes/next-release/api-change-pi-59761.json new file mode 100644 index 000000000000..f72953445647 --- /dev/null +++ b/.changes/next-release/api-change-pi-59761.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``pi``", + "description": "Documentation only update for RDS Performance Insights dimensions for execution plans and locking analysis." +} From f1c295168b8018b6ec15b0ed6693da4282bbb2e1 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 11 Feb 2025 19:47:50 +0000 Subject: [PATCH 0458/1087] Bumping version to 1.37.18 --- .changes/1.37.18.json | 22 +++++++++++++++++++ .../next-release/api-change-acmpca-28466.json | 5 ----- .../next-release/api-change-appsync-7348.json | 5 ----- .../next-release/api-change-ec2-16210.json | 5 ----- .../next-release/api-change-pi-59761.json | 5 ----- CHANGELOG.rst | 9 ++++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 10 files changed, 35 insertions(+), 24 deletions(-) create mode 100644 .changes/1.37.18.json delete mode 100644 .changes/next-release/api-change-acmpca-28466.json delete mode 100644 .changes/next-release/api-change-appsync-7348.json delete mode 100644 .changes/next-release/api-change-ec2-16210.json delete mode 100644 .changes/next-release/api-change-pi-59761.json diff --git a/.changes/1.37.18.json b/.changes/1.37.18.json new file mode 100644 index 000000000000..ad88392d62cb --- /dev/null +++ b/.changes/1.37.18.json @@ -0,0 +1,22 @@ +[ + { + "category": "``acm-pca``", + "description": "Private Certificate Authority service now supports Partitioned CRL as a revocation configuration option.", + "type": "api-change" + }, + { + "category": "``appsync``", + "description": "Add support for operation level caching", + "type": "api-change" + }, + { + "category": "``ec2``", + "description": "Adding support for the new fullSnapshotSizeInBytes field in the response of the EC2 EBS DescribeSnapshots API. This field represents the size of all the blocks that were written to the source volume at the time the snapshot was created.", + "type": "api-change" + }, + { + "category": "``pi``", + "description": "Documentation only update for RDS Performance Insights dimensions for execution plans and locking analysis.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-acmpca-28466.json b/.changes/next-release/api-change-acmpca-28466.json deleted file mode 100644 index 44b84f4a3fcb..000000000000 --- a/.changes/next-release/api-change-acmpca-28466.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``acm-pca``", - "description": "Private Certificate Authority service now supports Partitioned CRL as a revocation configuration option." -} diff --git a/.changes/next-release/api-change-appsync-7348.json b/.changes/next-release/api-change-appsync-7348.json deleted file mode 100644 index 673b8c631bfe..000000000000 --- a/.changes/next-release/api-change-appsync-7348.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``appsync``", - "description": "Add support for operation level caching" -} diff --git a/.changes/next-release/api-change-ec2-16210.json b/.changes/next-release/api-change-ec2-16210.json deleted file mode 100644 index 10b1a61a7dd0..000000000000 --- a/.changes/next-release/api-change-ec2-16210.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ec2``", - "description": "Adding support for the new fullSnapshotSizeInBytes field in the response of the EC2 EBS DescribeSnapshots API. This field represents the size of all the blocks that were written to the source volume at the time the snapshot was created." -} diff --git a/.changes/next-release/api-change-pi-59761.json b/.changes/next-release/api-change-pi-59761.json deleted file mode 100644 index f72953445647..000000000000 --- a/.changes/next-release/api-change-pi-59761.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``pi``", - "description": "Documentation only update for RDS Performance Insights dimensions for execution plans and locking analysis." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 4fe931b7584a..a2af4d45b445 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,15 @@ CHANGELOG ========= +1.37.18 +======= + +* api-change:``acm-pca``: Private Certificate Authority service now supports Partitioned CRL as a revocation configuration option. +* api-change:``appsync``: Add support for operation level caching +* api-change:``ec2``: Adding support for the new fullSnapshotSizeInBytes field in the response of the EC2 EBS DescribeSnapshots API. This field represents the size of all the blocks that were written to the source volume at the time the snapshot was created. +* api-change:``pi``: Documentation only update for RDS Performance Insights dimensions for execution plans and locking analysis. + + 1.37.17 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 4657529279ed..4316b14fbd0b 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.37.17' +__version__ = '1.37.18' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index ba42a22e1870..e4557c19917d 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.37.' # The full version, including alpha/beta/rc tags. -release = '1.37.17' +release = '1.37.18' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index caea3a360bb4..dc1fb87b6104 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.36.17 + botocore==1.36.18 docutils>=0.10,<0.17 s3transfer>=0.11.0,<0.12.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 7d3504661fee..0c26553e8945 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.36.17', + 'botocore==1.36.18', 'docutils>=0.10,<0.17', 's3transfer>=0.11.0,<0.12.0', 'PyYAML>=3.10,<6.1', From b0c159f8e46f77711546f347a1e9e2b88a873672 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 12 Feb 2025 19:08:07 +0000 Subject: [PATCH 0459/1087] Update changelog based on model updates --- .changes/next-release/api-change-b2bi-15376.json | 5 +++++ .changes/next-release/api-change-bedrockagent-6836.json | 5 +++++ .../next-release/api-change-bedrockagentruntime-83355.json | 5 +++++ .changes/next-release/api-change-codebuild-87721.json | 5 +++++ .changes/next-release/api-change-fsx-13287.json | 5 +++++ .changes/next-release/api-change-medialive-15688.json | 5 +++++ .../next-release/api-change-opensearchserverless-81985.json | 5 +++++ .changes/next-release/api-change-polly-33474.json | 5 +++++ 8 files changed, 40 insertions(+) create mode 100644 .changes/next-release/api-change-b2bi-15376.json create mode 100644 .changes/next-release/api-change-bedrockagent-6836.json create mode 100644 .changes/next-release/api-change-bedrockagentruntime-83355.json create mode 100644 .changes/next-release/api-change-codebuild-87721.json create mode 100644 .changes/next-release/api-change-fsx-13287.json create mode 100644 .changes/next-release/api-change-medialive-15688.json create mode 100644 .changes/next-release/api-change-opensearchserverless-81985.json create mode 100644 .changes/next-release/api-change-polly-33474.json diff --git a/.changes/next-release/api-change-b2bi-15376.json b/.changes/next-release/api-change-b2bi-15376.json new file mode 100644 index 000000000000..2fecfc3ec428 --- /dev/null +++ b/.changes/next-release/api-change-b2bi-15376.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``b2bi``", + "description": "Allow spaces in the following fields in the Partnership resource: ISA 06 - Sender ID, ISA 08 - Receiver ID, GS 02 - Application Sender Code, GS 03 - Application Receiver Code" +} diff --git a/.changes/next-release/api-change-bedrockagent-6836.json b/.changes/next-release/api-change-bedrockagent-6836.json new file mode 100644 index 000000000000..7dec6c53095e --- /dev/null +++ b/.changes/next-release/api-change-bedrockagent-6836.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-agent``", + "description": "This releases adds the additionalModelRequestFields field to the CreateAgent and UpdateAgent operations. Use additionalModelRequestFields to specify additional inference parameters for a model beyond the base inference parameters." +} diff --git a/.changes/next-release/api-change-bedrockagentruntime-83355.json b/.changes/next-release/api-change-bedrockagentruntime-83355.json new file mode 100644 index 000000000000..f1bdc78ed92c --- /dev/null +++ b/.changes/next-release/api-change-bedrockagentruntime-83355.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-agent-runtime``", + "description": "This releases adds the additionalModelRequestFields field to the InvokeInlineAgent operation. Use additionalModelRequestFields to specify additional inference parameters for a model beyond the base inference parameters." +} diff --git a/.changes/next-release/api-change-codebuild-87721.json b/.changes/next-release/api-change-codebuild-87721.json new file mode 100644 index 000000000000..b8553b390547 --- /dev/null +++ b/.changes/next-release/api-change-codebuild-87721.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``codebuild``", + "description": "Add note for the RUNNER_BUILDKITE_BUILD buildType." +} diff --git a/.changes/next-release/api-change-fsx-13287.json b/.changes/next-release/api-change-fsx-13287.json new file mode 100644 index 000000000000..446b7d25b93a --- /dev/null +++ b/.changes/next-release/api-change-fsx-13287.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``fsx``", + "description": "Support for in-place Lustre version upgrades" +} diff --git a/.changes/next-release/api-change-medialive-15688.json b/.changes/next-release/api-change-medialive-15688.json new file mode 100644 index 000000000000..b7d7a1956436 --- /dev/null +++ b/.changes/next-release/api-change-medialive-15688.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``medialive``", + "description": "Adds a RequestId parameter to all MediaLive Workflow Monitor create operations. The RequestId parameter allows idempotent operations." +} diff --git a/.changes/next-release/api-change-opensearchserverless-81985.json b/.changes/next-release/api-change-opensearchserverless-81985.json new file mode 100644 index 000000000000..2ef62ef53880 --- /dev/null +++ b/.changes/next-release/api-change-opensearchserverless-81985.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``opensearchserverless``", + "description": "Custom OpenSearchServerless Entity ID for SAML Config." +} diff --git a/.changes/next-release/api-change-polly-33474.json b/.changes/next-release/api-change-polly-33474.json new file mode 100644 index 000000000000..8650fba43ecb --- /dev/null +++ b/.changes/next-release/api-change-polly-33474.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``polly``", + "description": "Added support for the new voice - Jasmine (en-SG). Jasmine is available as a Neural voice only." +} From fc300718dad1a23b5ca2634988370cc4a8ea3aef Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 12 Feb 2025 19:09:37 +0000 Subject: [PATCH 0460/1087] Bumping version to 1.37.19 --- .changes/1.37.19.json | 42 +++++++++++++++++++ .../next-release/api-change-b2bi-15376.json | 5 --- .../api-change-bedrockagent-6836.json | 5 --- .../api-change-bedrockagentruntime-83355.json | 5 --- .../api-change-codebuild-87721.json | 5 --- .../next-release/api-change-fsx-13287.json | 5 --- .../api-change-medialive-15688.json | 5 --- ...api-change-opensearchserverless-81985.json | 5 --- .../next-release/api-change-polly-33474.json | 5 --- CHANGELOG.rst | 13 ++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 14 files changed, 59 insertions(+), 44 deletions(-) create mode 100644 .changes/1.37.19.json delete mode 100644 .changes/next-release/api-change-b2bi-15376.json delete mode 100644 .changes/next-release/api-change-bedrockagent-6836.json delete mode 100644 .changes/next-release/api-change-bedrockagentruntime-83355.json delete mode 100644 .changes/next-release/api-change-codebuild-87721.json delete mode 100644 .changes/next-release/api-change-fsx-13287.json delete mode 100644 .changes/next-release/api-change-medialive-15688.json delete mode 100644 .changes/next-release/api-change-opensearchserverless-81985.json delete mode 100644 .changes/next-release/api-change-polly-33474.json diff --git a/.changes/1.37.19.json b/.changes/1.37.19.json new file mode 100644 index 000000000000..4350b41b4d67 --- /dev/null +++ b/.changes/1.37.19.json @@ -0,0 +1,42 @@ +[ + { + "category": "``b2bi``", + "description": "Allow spaces in the following fields in the Partnership resource: ISA 06 - Sender ID, ISA 08 - Receiver ID, GS 02 - Application Sender Code, GS 03 - Application Receiver Code", + "type": "api-change" + }, + { + "category": "``bedrock-agent``", + "description": "This releases adds the additionalModelRequestFields field to the CreateAgent and UpdateAgent operations. Use additionalModelRequestFields to specify additional inference parameters for a model beyond the base inference parameters.", + "type": "api-change" + }, + { + "category": "``bedrock-agent-runtime``", + "description": "This releases adds the additionalModelRequestFields field to the InvokeInlineAgent operation. Use additionalModelRequestFields to specify additional inference parameters for a model beyond the base inference parameters.", + "type": "api-change" + }, + { + "category": "``codebuild``", + "description": "Add note for the RUNNER_BUILDKITE_BUILD buildType.", + "type": "api-change" + }, + { + "category": "``fsx``", + "description": "Support for in-place Lustre version upgrades", + "type": "api-change" + }, + { + "category": "``medialive``", + "description": "Adds a RequestId parameter to all MediaLive Workflow Monitor create operations. The RequestId parameter allows idempotent operations.", + "type": "api-change" + }, + { + "category": "``opensearchserverless``", + "description": "Custom OpenSearchServerless Entity ID for SAML Config.", + "type": "api-change" + }, + { + "category": "``polly``", + "description": "Added support for the new voice - Jasmine (en-SG). Jasmine is available as a Neural voice only.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-b2bi-15376.json b/.changes/next-release/api-change-b2bi-15376.json deleted file mode 100644 index 2fecfc3ec428..000000000000 --- a/.changes/next-release/api-change-b2bi-15376.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``b2bi``", - "description": "Allow spaces in the following fields in the Partnership resource: ISA 06 - Sender ID, ISA 08 - Receiver ID, GS 02 - Application Sender Code, GS 03 - Application Receiver Code" -} diff --git a/.changes/next-release/api-change-bedrockagent-6836.json b/.changes/next-release/api-change-bedrockagent-6836.json deleted file mode 100644 index 7dec6c53095e..000000000000 --- a/.changes/next-release/api-change-bedrockagent-6836.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-agent``", - "description": "This releases adds the additionalModelRequestFields field to the CreateAgent and UpdateAgent operations. Use additionalModelRequestFields to specify additional inference parameters for a model beyond the base inference parameters." -} diff --git a/.changes/next-release/api-change-bedrockagentruntime-83355.json b/.changes/next-release/api-change-bedrockagentruntime-83355.json deleted file mode 100644 index f1bdc78ed92c..000000000000 --- a/.changes/next-release/api-change-bedrockagentruntime-83355.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-agent-runtime``", - "description": "This releases adds the additionalModelRequestFields field to the InvokeInlineAgent operation. Use additionalModelRequestFields to specify additional inference parameters for a model beyond the base inference parameters." -} diff --git a/.changes/next-release/api-change-codebuild-87721.json b/.changes/next-release/api-change-codebuild-87721.json deleted file mode 100644 index b8553b390547..000000000000 --- a/.changes/next-release/api-change-codebuild-87721.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``codebuild``", - "description": "Add note for the RUNNER_BUILDKITE_BUILD buildType." -} diff --git a/.changes/next-release/api-change-fsx-13287.json b/.changes/next-release/api-change-fsx-13287.json deleted file mode 100644 index 446b7d25b93a..000000000000 --- a/.changes/next-release/api-change-fsx-13287.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``fsx``", - "description": "Support for in-place Lustre version upgrades" -} diff --git a/.changes/next-release/api-change-medialive-15688.json b/.changes/next-release/api-change-medialive-15688.json deleted file mode 100644 index b7d7a1956436..000000000000 --- a/.changes/next-release/api-change-medialive-15688.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``medialive``", - "description": "Adds a RequestId parameter to all MediaLive Workflow Monitor create operations. The RequestId parameter allows idempotent operations." -} diff --git a/.changes/next-release/api-change-opensearchserverless-81985.json b/.changes/next-release/api-change-opensearchserverless-81985.json deleted file mode 100644 index 2ef62ef53880..000000000000 --- a/.changes/next-release/api-change-opensearchserverless-81985.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``opensearchserverless``", - "description": "Custom OpenSearchServerless Entity ID for SAML Config." -} diff --git a/.changes/next-release/api-change-polly-33474.json b/.changes/next-release/api-change-polly-33474.json deleted file mode 100644 index 8650fba43ecb..000000000000 --- a/.changes/next-release/api-change-polly-33474.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``polly``", - "description": "Added support for the new voice - Jasmine (en-SG). Jasmine is available as a Neural voice only." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index a2af4d45b445..4b48f9df7ac4 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,19 @@ CHANGELOG ========= +1.37.19 +======= + +* api-change:``b2bi``: Allow spaces in the following fields in the Partnership resource: ISA 06 - Sender ID, ISA 08 - Receiver ID, GS 02 - Application Sender Code, GS 03 - Application Receiver Code +* api-change:``bedrock-agent``: This releases adds the additionalModelRequestFields field to the CreateAgent and UpdateAgent operations. Use additionalModelRequestFields to specify additional inference parameters for a model beyond the base inference parameters. +* api-change:``bedrock-agent-runtime``: This releases adds the additionalModelRequestFields field to the InvokeInlineAgent operation. Use additionalModelRequestFields to specify additional inference parameters for a model beyond the base inference parameters. +* api-change:``codebuild``: Add note for the RUNNER_BUILDKITE_BUILD buildType. +* api-change:``fsx``: Support for in-place Lustre version upgrades +* api-change:``medialive``: Adds a RequestId parameter to all MediaLive Workflow Monitor create operations. The RequestId parameter allows idempotent operations. +* api-change:``opensearchserverless``: Custom OpenSearchServerless Entity ID for SAML Config. +* api-change:``polly``: Added support for the new voice - Jasmine (en-SG). Jasmine is available as a Neural voice only. + + 1.37.18 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 4316b14fbd0b..58772a3179da 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.37.18' +__version__ = '1.37.19' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index e4557c19917d..1cc4fe181fe5 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.37.' # The full version, including alpha/beta/rc tags. -release = '1.37.18' +release = '1.37.19' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index dc1fb87b6104..ff9bc6a23c6b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.36.18 + botocore==1.36.19 docutils>=0.10,<0.17 s3transfer>=0.11.0,<0.12.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 0c26553e8945..624554d5ba03 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.36.18', + 'botocore==1.36.19', 'docutils>=0.10,<0.17', 's3transfer>=0.11.0,<0.12.0', 'PyYAML>=3.10,<6.1', From 45ce235a7a43798ec7dfcb37bbbf78da0ee01710 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 13 Feb 2025 19:06:05 +0000 Subject: [PATCH 0461/1087] Update changelog based on model updates --- .changes/next-release/api-change-accessanalyzer-60283.json | 5 +++++ .changes/next-release/api-change-acmpca-23947.json | 5 +++++ .changes/next-release/api-change-ecs-73084.json | 5 +++++ .changes/next-release/api-change-fis-73978.json | 5 +++++ .changes/next-release/api-change-sagemaker-72373.json | 5 +++++ .changes/next-release/api-change-storagegateway-12956.json | 5 +++++ 6 files changed, 30 insertions(+) create mode 100644 .changes/next-release/api-change-accessanalyzer-60283.json create mode 100644 .changes/next-release/api-change-acmpca-23947.json create mode 100644 .changes/next-release/api-change-ecs-73084.json create mode 100644 .changes/next-release/api-change-fis-73978.json create mode 100644 .changes/next-release/api-change-sagemaker-72373.json create mode 100644 .changes/next-release/api-change-storagegateway-12956.json diff --git a/.changes/next-release/api-change-accessanalyzer-60283.json b/.changes/next-release/api-change-accessanalyzer-60283.json new file mode 100644 index 000000000000..7ddb8513d94c --- /dev/null +++ b/.changes/next-release/api-change-accessanalyzer-60283.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``accessanalyzer``", + "description": "This release introduces the getFindingsStatistics API, enabling users to retrieve aggregated finding statistics for IAM Access Analyzer's external access and unused access analysis features. Updated service API and documentation." +} diff --git a/.changes/next-release/api-change-acmpca-23947.json b/.changes/next-release/api-change-acmpca-23947.json new file mode 100644 index 000000000000..409a2dd3a1bb --- /dev/null +++ b/.changes/next-release/api-change-acmpca-23947.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``acm-pca``", + "description": "Private Certificate Authority (PCA) documentation updates" +} diff --git a/.changes/next-release/api-change-ecs-73084.json b/.changes/next-release/api-change-ecs-73084.json new file mode 100644 index 000000000000..4b845d868f1a --- /dev/null +++ b/.changes/next-release/api-change-ecs-73084.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ecs``", + "description": "This is a documentation only release to support migrating Amazon ECS service ARNs to the long ARN format." +} diff --git a/.changes/next-release/api-change-fis-73978.json b/.changes/next-release/api-change-fis-73978.json new file mode 100644 index 000000000000..6b666cdb5573 --- /dev/null +++ b/.changes/next-release/api-change-fis-73978.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``fis``", + "description": "Adds auto-pagination for the following operations: ListActions, ListExperimentTemplates, ListTargetAccountConfigurations, ListExperiments, ListExperimentResolvedTargets, ListTargetResourceTypes. Reduces length constraints of prefixes for logConfiguration and experimentReportConfiguration." +} diff --git a/.changes/next-release/api-change-sagemaker-72373.json b/.changes/next-release/api-change-sagemaker-72373.json new file mode 100644 index 000000000000..ec59aa355994 --- /dev/null +++ b/.changes/next-release/api-change-sagemaker-72373.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``sagemaker``", + "description": "Adds additional values to the InferenceAmiVersion parameter in the ProductionVariant data type." +} diff --git a/.changes/next-release/api-change-storagegateway-12956.json b/.changes/next-release/api-change-storagegateway-12956.json new file mode 100644 index 000000000000..932378ac58f5 --- /dev/null +++ b/.changes/next-release/api-change-storagegateway-12956.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``storagegateway``", + "description": "This release adds support for generating cache reports on S3 File Gateways for files that fail to upload." +} From a7813ad56fe1dad5d73a69aeaa9b0807a394ad9f Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 13 Feb 2025 19:07:32 +0000 Subject: [PATCH 0462/1087] Bumping version to 1.37.20 --- .changes/1.37.20.json | 32 +++++++++++++++++++ .../api-change-accessanalyzer-60283.json | 5 --- .../next-release/api-change-acmpca-23947.json | 5 --- .../next-release/api-change-ecs-73084.json | 5 --- .../next-release/api-change-fis-73978.json | 5 --- .../api-change-sagemaker-72373.json | 5 --- .../api-change-storagegateway-12956.json | 5 --- CHANGELOG.rst | 11 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 12 files changed, 47 insertions(+), 34 deletions(-) create mode 100644 .changes/1.37.20.json delete mode 100644 .changes/next-release/api-change-accessanalyzer-60283.json delete mode 100644 .changes/next-release/api-change-acmpca-23947.json delete mode 100644 .changes/next-release/api-change-ecs-73084.json delete mode 100644 .changes/next-release/api-change-fis-73978.json delete mode 100644 .changes/next-release/api-change-sagemaker-72373.json delete mode 100644 .changes/next-release/api-change-storagegateway-12956.json diff --git a/.changes/1.37.20.json b/.changes/1.37.20.json new file mode 100644 index 000000000000..0c44a9fa248a --- /dev/null +++ b/.changes/1.37.20.json @@ -0,0 +1,32 @@ +[ + { + "category": "``accessanalyzer``", + "description": "This release introduces the getFindingsStatistics API, enabling users to retrieve aggregated finding statistics for IAM Access Analyzer's external access and unused access analysis features. Updated service API and documentation.", + "type": "api-change" + }, + { + "category": "``acm-pca``", + "description": "Private Certificate Authority (PCA) documentation updates", + "type": "api-change" + }, + { + "category": "``ecs``", + "description": "This is a documentation only release to support migrating Amazon ECS service ARNs to the long ARN format.", + "type": "api-change" + }, + { + "category": "``fis``", + "description": "Adds auto-pagination for the following operations: ListActions, ListExperimentTemplates, ListTargetAccountConfigurations, ListExperiments, ListExperimentResolvedTargets, ListTargetResourceTypes. Reduces length constraints of prefixes for logConfiguration and experimentReportConfiguration.", + "type": "api-change" + }, + { + "category": "``sagemaker``", + "description": "Adds additional values to the InferenceAmiVersion parameter in the ProductionVariant data type.", + "type": "api-change" + }, + { + "category": "``storagegateway``", + "description": "This release adds support for generating cache reports on S3 File Gateways for files that fail to upload.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-accessanalyzer-60283.json b/.changes/next-release/api-change-accessanalyzer-60283.json deleted file mode 100644 index 7ddb8513d94c..000000000000 --- a/.changes/next-release/api-change-accessanalyzer-60283.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``accessanalyzer``", - "description": "This release introduces the getFindingsStatistics API, enabling users to retrieve aggregated finding statistics for IAM Access Analyzer's external access and unused access analysis features. Updated service API and documentation." -} diff --git a/.changes/next-release/api-change-acmpca-23947.json b/.changes/next-release/api-change-acmpca-23947.json deleted file mode 100644 index 409a2dd3a1bb..000000000000 --- a/.changes/next-release/api-change-acmpca-23947.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``acm-pca``", - "description": "Private Certificate Authority (PCA) documentation updates" -} diff --git a/.changes/next-release/api-change-ecs-73084.json b/.changes/next-release/api-change-ecs-73084.json deleted file mode 100644 index 4b845d868f1a..000000000000 --- a/.changes/next-release/api-change-ecs-73084.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ecs``", - "description": "This is a documentation only release to support migrating Amazon ECS service ARNs to the long ARN format." -} diff --git a/.changes/next-release/api-change-fis-73978.json b/.changes/next-release/api-change-fis-73978.json deleted file mode 100644 index 6b666cdb5573..000000000000 --- a/.changes/next-release/api-change-fis-73978.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``fis``", - "description": "Adds auto-pagination for the following operations: ListActions, ListExperimentTemplates, ListTargetAccountConfigurations, ListExperiments, ListExperimentResolvedTargets, ListTargetResourceTypes. Reduces length constraints of prefixes for logConfiguration and experimentReportConfiguration." -} diff --git a/.changes/next-release/api-change-sagemaker-72373.json b/.changes/next-release/api-change-sagemaker-72373.json deleted file mode 100644 index ec59aa355994..000000000000 --- a/.changes/next-release/api-change-sagemaker-72373.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``sagemaker``", - "description": "Adds additional values to the InferenceAmiVersion parameter in the ProductionVariant data type." -} diff --git a/.changes/next-release/api-change-storagegateway-12956.json b/.changes/next-release/api-change-storagegateway-12956.json deleted file mode 100644 index 932378ac58f5..000000000000 --- a/.changes/next-release/api-change-storagegateway-12956.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``storagegateway``", - "description": "This release adds support for generating cache reports on S3 File Gateways for files that fail to upload." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 4b48f9df7ac4..2eff5690d916 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,17 @@ CHANGELOG ========= +1.37.20 +======= + +* api-change:``accessanalyzer``: This release introduces the getFindingsStatistics API, enabling users to retrieve aggregated finding statistics for IAM Access Analyzer's external access and unused access analysis features. Updated service API and documentation. +* api-change:``acm-pca``: Private Certificate Authority (PCA) documentation updates +* api-change:``ecs``: This is a documentation only release to support migrating Amazon ECS service ARNs to the long ARN format. +* api-change:``fis``: Adds auto-pagination for the following operations: ListActions, ListExperimentTemplates, ListTargetAccountConfigurations, ListExperiments, ListExperimentResolvedTargets, ListTargetResourceTypes. Reduces length constraints of prefixes for logConfiguration and experimentReportConfiguration. +* api-change:``sagemaker``: Adds additional values to the InferenceAmiVersion parameter in the ProductionVariant data type. +* api-change:``storagegateway``: This release adds support for generating cache reports on S3 File Gateways for files that fail to upload. + + 1.37.19 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 58772a3179da..c9b63a1dfc66 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.37.19' +__version__ = '1.37.20' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 1cc4fe181fe5..1d8b31a15740 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.37.' # The full version, including alpha/beta/rc tags. -release = '1.37.19' +release = '1.37.20' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index ff9bc6a23c6b..b753e9856f01 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.36.19 + botocore==1.36.20 docutils>=0.10,<0.17 s3transfer>=0.11.0,<0.12.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 624554d5ba03..bde457bb5db0 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.36.19', + 'botocore==1.36.20', 'docutils>=0.10,<0.17', 's3transfer>=0.11.0,<0.12.0', 'PyYAML>=3.10,<6.1', From 783a5b9f8d17510ac5b413deefa5d3290b9b2879 Mon Sep 17 00:00:00 2001 From: Nate Prewitt Date: Thu, 13 Feb 2025 16:31:33 -0800 Subject: [PATCH 0463/1087] Ignore .venv directories (#9299) --- .gitignore | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.gitignore b/.gitignore index 8bb22129f381..7d2bbe6e1b8f 100644 --- a/.gitignore +++ b/.gitignore @@ -39,6 +39,14 @@ nosetests.xml .idea* src/ + +# Virtualenvs +.venv +venv +env +env2 +env3 + # CLI docs generation doc/source/aws_man_pages.json doc/source/reference From 55ce961bf4114ff20305a7bcb89407317367a7e4 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 14 Feb 2025 19:11:27 +0000 Subject: [PATCH 0464/1087] Update changelog based on model updates --- .changes/next-release/api-change-codebuild-79364.json | 5 +++++ .changes/next-release/api-change-connect-62446.json | 5 +++++ .changes/next-release/api-change-dms-64576.json | 5 +++++ .changes/next-release/api-change-rdsdata-84040.json | 5 +++++ .changes/next-release/api-change-s3-30966.json | 5 +++++ .changes/next-release/api-change-wafv2-2872.json | 5 +++++ .../next-release/api-change-workspacesthinclient-14294.json | 5 +++++ 7 files changed, 35 insertions(+) create mode 100644 .changes/next-release/api-change-codebuild-79364.json create mode 100644 .changes/next-release/api-change-connect-62446.json create mode 100644 .changes/next-release/api-change-dms-64576.json create mode 100644 .changes/next-release/api-change-rdsdata-84040.json create mode 100644 .changes/next-release/api-change-s3-30966.json create mode 100644 .changes/next-release/api-change-wafv2-2872.json create mode 100644 .changes/next-release/api-change-workspacesthinclient-14294.json diff --git a/.changes/next-release/api-change-codebuild-79364.json b/.changes/next-release/api-change-codebuild-79364.json new file mode 100644 index 000000000000..7fc52506c8b8 --- /dev/null +++ b/.changes/next-release/api-change-codebuild-79364.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``codebuild``", + "description": "Added test suite names to test case metadata" +} diff --git a/.changes/next-release/api-change-connect-62446.json b/.changes/next-release/api-change-connect-62446.json new file mode 100644 index 000000000000..289ec1661a4d --- /dev/null +++ b/.changes/next-release/api-change-connect-62446.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``connect``", + "description": "Release Notes: 1) Analytics API enhancements: Added new ListAnalyticsDataLakeDataSets API. 2) Onboarding API Idempotency: Adds ClientToken to instance creation and management APIs to support idempotency." +} diff --git a/.changes/next-release/api-change-dms-64576.json b/.changes/next-release/api-change-dms-64576.json new file mode 100644 index 000000000000..a34047848acb --- /dev/null +++ b/.changes/next-release/api-change-dms-64576.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``dms``", + "description": "Introduces premigration assessment feature to DMS Serverless API for start-replication and describe-replications" +} diff --git a/.changes/next-release/api-change-rdsdata-84040.json b/.changes/next-release/api-change-rdsdata-84040.json new file mode 100644 index 000000000000..83a1998c2162 --- /dev/null +++ b/.changes/next-release/api-change-rdsdata-84040.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``rds-data``", + "description": "Add support for Stop DB feature." +} diff --git a/.changes/next-release/api-change-s3-30966.json b/.changes/next-release/api-change-s3-30966.json new file mode 100644 index 000000000000..d71a2878bab6 --- /dev/null +++ b/.changes/next-release/api-change-s3-30966.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``s3``", + "description": "Added support for Content-Range header in HeadObject response." +} diff --git a/.changes/next-release/api-change-wafv2-2872.json b/.changes/next-release/api-change-wafv2-2872.json new file mode 100644 index 000000000000..b54f405f27af --- /dev/null +++ b/.changes/next-release/api-change-wafv2-2872.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``wafv2``", + "description": "The WAFv2 API now supports configuring data protection in webACLs." +} diff --git a/.changes/next-release/api-change-workspacesthinclient-14294.json b/.changes/next-release/api-change-workspacesthinclient-14294.json new file mode 100644 index 000000000000..b5157eb27477 --- /dev/null +++ b/.changes/next-release/api-change-workspacesthinclient-14294.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``workspaces-thin-client``", + "description": "Update Environment and Device name field definitions" +} From a0aefd7099adbc9f254195ea5d288c61690c41fc Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 14 Feb 2025 19:12:43 +0000 Subject: [PATCH 0465/1087] Bumping version to 1.37.21 --- .changes/1.37.21.json | 37 +++++++++++++++++++ .../api-change-codebuild-79364.json | 5 --- .../api-change-connect-62446.json | 5 --- .../next-release/api-change-dms-64576.json | 5 --- .../api-change-rdsdata-84040.json | 5 --- .../next-release/api-change-s3-30966.json | 5 --- .../next-release/api-change-wafv2-2872.json | 5 --- ...api-change-workspacesthinclient-14294.json | 5 --- CHANGELOG.rst | 12 ++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 13 files changed, 53 insertions(+), 39 deletions(-) create mode 100644 .changes/1.37.21.json delete mode 100644 .changes/next-release/api-change-codebuild-79364.json delete mode 100644 .changes/next-release/api-change-connect-62446.json delete mode 100644 .changes/next-release/api-change-dms-64576.json delete mode 100644 .changes/next-release/api-change-rdsdata-84040.json delete mode 100644 .changes/next-release/api-change-s3-30966.json delete mode 100644 .changes/next-release/api-change-wafv2-2872.json delete mode 100644 .changes/next-release/api-change-workspacesthinclient-14294.json diff --git a/.changes/1.37.21.json b/.changes/1.37.21.json new file mode 100644 index 000000000000..a7948e24d32b --- /dev/null +++ b/.changes/1.37.21.json @@ -0,0 +1,37 @@ +[ + { + "category": "``codebuild``", + "description": "Added test suite names to test case metadata", + "type": "api-change" + }, + { + "category": "``connect``", + "description": "Release Notes: 1) Analytics API enhancements: Added new ListAnalyticsDataLakeDataSets API. 2) Onboarding API Idempotency: Adds ClientToken to instance creation and management APIs to support idempotency.", + "type": "api-change" + }, + { + "category": "``dms``", + "description": "Introduces premigration assessment feature to DMS Serverless API for start-replication and describe-replications", + "type": "api-change" + }, + { + "category": "``rds-data``", + "description": "Add support for Stop DB feature.", + "type": "api-change" + }, + { + "category": "``s3``", + "description": "Added support for Content-Range header in HeadObject response.", + "type": "api-change" + }, + { + "category": "``wafv2``", + "description": "The WAFv2 API now supports configuring data protection in webACLs.", + "type": "api-change" + }, + { + "category": "``workspaces-thin-client``", + "description": "Update Environment and Device name field definitions", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-codebuild-79364.json b/.changes/next-release/api-change-codebuild-79364.json deleted file mode 100644 index 7fc52506c8b8..000000000000 --- a/.changes/next-release/api-change-codebuild-79364.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``codebuild``", - "description": "Added test suite names to test case metadata" -} diff --git a/.changes/next-release/api-change-connect-62446.json b/.changes/next-release/api-change-connect-62446.json deleted file mode 100644 index 289ec1661a4d..000000000000 --- a/.changes/next-release/api-change-connect-62446.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``connect``", - "description": "Release Notes: 1) Analytics API enhancements: Added new ListAnalyticsDataLakeDataSets API. 2) Onboarding API Idempotency: Adds ClientToken to instance creation and management APIs to support idempotency." -} diff --git a/.changes/next-release/api-change-dms-64576.json b/.changes/next-release/api-change-dms-64576.json deleted file mode 100644 index a34047848acb..000000000000 --- a/.changes/next-release/api-change-dms-64576.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``dms``", - "description": "Introduces premigration assessment feature to DMS Serverless API for start-replication and describe-replications" -} diff --git a/.changes/next-release/api-change-rdsdata-84040.json b/.changes/next-release/api-change-rdsdata-84040.json deleted file mode 100644 index 83a1998c2162..000000000000 --- a/.changes/next-release/api-change-rdsdata-84040.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``rds-data``", - "description": "Add support for Stop DB feature." -} diff --git a/.changes/next-release/api-change-s3-30966.json b/.changes/next-release/api-change-s3-30966.json deleted file mode 100644 index d71a2878bab6..000000000000 --- a/.changes/next-release/api-change-s3-30966.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``s3``", - "description": "Added support for Content-Range header in HeadObject response." -} diff --git a/.changes/next-release/api-change-wafv2-2872.json b/.changes/next-release/api-change-wafv2-2872.json deleted file mode 100644 index b54f405f27af..000000000000 --- a/.changes/next-release/api-change-wafv2-2872.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``wafv2``", - "description": "The WAFv2 API now supports configuring data protection in webACLs." -} diff --git a/.changes/next-release/api-change-workspacesthinclient-14294.json b/.changes/next-release/api-change-workspacesthinclient-14294.json deleted file mode 100644 index b5157eb27477..000000000000 --- a/.changes/next-release/api-change-workspacesthinclient-14294.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``workspaces-thin-client``", - "description": "Update Environment and Device name field definitions" -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 2eff5690d916..e158fdfc5219 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,18 @@ CHANGELOG ========= +1.37.21 +======= + +* api-change:``codebuild``: Added test suite names to test case metadata +* api-change:``connect``: Release Notes: 1) Analytics API enhancements: Added new ListAnalyticsDataLakeDataSets API. 2) Onboarding API Idempotency: Adds ClientToken to instance creation and management APIs to support idempotency. +* api-change:``dms``: Introduces premigration assessment feature to DMS Serverless API for start-replication and describe-replications +* api-change:``rds-data``: Add support for Stop DB feature. +* api-change:``s3``: Added support for Content-Range header in HeadObject response. +* api-change:``wafv2``: The WAFv2 API now supports configuring data protection in webACLs. +* api-change:``workspaces-thin-client``: Update Environment and Device name field definitions + + 1.37.20 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index c9b63a1dfc66..733e8c593165 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.37.20' +__version__ = '1.37.21' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 1d8b31a15740..6002f9bf2271 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.37.' # The full version, including alpha/beta/rc tags. -release = '1.37.20' +release = '1.37.21' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index b753e9856f01..2aafa2a28617 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.36.20 + botocore==1.36.21 docutils>=0.10,<0.17 s3transfer>=0.11.0,<0.12.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index bde457bb5db0..ee94b91af393 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.36.20', + 'botocore==1.36.21', 'docutils>=0.10,<0.17', 's3transfer>=0.11.0,<0.12.0', 'PyYAML>=3.10,<6.1', From d22b2563981b20c8cfc5515a6259fea4ac9f45d6 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 17 Feb 2025 19:07:58 +0000 Subject: [PATCH 0466/1087] Update changelog based on model updates --- .changes/next-release/api-change-amplify-7736.json | 5 +++++ .changes/next-release/api-change-dms-59930.json | 5 +++++ .../next-release/api-change-timestreaminfluxdb-3603.json | 5 +++++ 3 files changed, 15 insertions(+) create mode 100644 .changes/next-release/api-change-amplify-7736.json create mode 100644 .changes/next-release/api-change-dms-59930.json create mode 100644 .changes/next-release/api-change-timestreaminfluxdb-3603.json diff --git a/.changes/next-release/api-change-amplify-7736.json b/.changes/next-release/api-change-amplify-7736.json new file mode 100644 index 000000000000..7a92bd3a4f92 --- /dev/null +++ b/.changes/next-release/api-change-amplify-7736.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``amplify``", + "description": "Add ComputeRoleArn to CreateApp, UpdateApp, CreateBranch, and UpdateBranch, allowing caller to specify a role to be assumed by Amplify Hosting for server-side rendered applications." +} diff --git a/.changes/next-release/api-change-dms-59930.json b/.changes/next-release/api-change-dms-59930.json new file mode 100644 index 000000000000..9a059f3c68af --- /dev/null +++ b/.changes/next-release/api-change-dms-59930.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``dms``", + "description": "Support replicationConfigArn in DMS DescribeApplicableIndividualAssessments API." +} diff --git a/.changes/next-release/api-change-timestreaminfluxdb-3603.json b/.changes/next-release/api-change-timestreaminfluxdb-3603.json new file mode 100644 index 000000000000..c26bb443923a --- /dev/null +++ b/.changes/next-release/api-change-timestreaminfluxdb-3603.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``timestream-influxdb``", + "description": "This release introduces APIs to manage DbClusters and adds support for read replicas" +} From 92ace11cfd122844b0af2c5f73da2ab7486677eb Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 17 Feb 2025 19:09:27 +0000 Subject: [PATCH 0467/1087] Bumping version to 1.37.22 --- .changes/1.37.22.json | 17 +++++++++++++++++ .../next-release/api-change-amplify-7736.json | 5 ----- .changes/next-release/api-change-dms-59930.json | 5 ----- .../api-change-timestreaminfluxdb-3603.json | 5 ----- CHANGELOG.rst | 8 ++++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 9 files changed, 29 insertions(+), 19 deletions(-) create mode 100644 .changes/1.37.22.json delete mode 100644 .changes/next-release/api-change-amplify-7736.json delete mode 100644 .changes/next-release/api-change-dms-59930.json delete mode 100644 .changes/next-release/api-change-timestreaminfluxdb-3603.json diff --git a/.changes/1.37.22.json b/.changes/1.37.22.json new file mode 100644 index 000000000000..12c343b42f07 --- /dev/null +++ b/.changes/1.37.22.json @@ -0,0 +1,17 @@ +[ + { + "category": "``amplify``", + "description": "Add ComputeRoleArn to CreateApp, UpdateApp, CreateBranch, and UpdateBranch, allowing caller to specify a role to be assumed by Amplify Hosting for server-side rendered applications.", + "type": "api-change" + }, + { + "category": "``dms``", + "description": "Support replicationConfigArn in DMS DescribeApplicableIndividualAssessments API.", + "type": "api-change" + }, + { + "category": "``timestream-influxdb``", + "description": "This release introduces APIs to manage DbClusters and adds support for read replicas", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-amplify-7736.json b/.changes/next-release/api-change-amplify-7736.json deleted file mode 100644 index 7a92bd3a4f92..000000000000 --- a/.changes/next-release/api-change-amplify-7736.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``amplify``", - "description": "Add ComputeRoleArn to CreateApp, UpdateApp, CreateBranch, and UpdateBranch, allowing caller to specify a role to be assumed by Amplify Hosting for server-side rendered applications." -} diff --git a/.changes/next-release/api-change-dms-59930.json b/.changes/next-release/api-change-dms-59930.json deleted file mode 100644 index 9a059f3c68af..000000000000 --- a/.changes/next-release/api-change-dms-59930.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``dms``", - "description": "Support replicationConfigArn in DMS DescribeApplicableIndividualAssessments API." -} diff --git a/.changes/next-release/api-change-timestreaminfluxdb-3603.json b/.changes/next-release/api-change-timestreaminfluxdb-3603.json deleted file mode 100644 index c26bb443923a..000000000000 --- a/.changes/next-release/api-change-timestreaminfluxdb-3603.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``timestream-influxdb``", - "description": "This release introduces APIs to manage DbClusters and adds support for read replicas" -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index e158fdfc5219..a955b5d8f4f6 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,14 @@ CHANGELOG ========= +1.37.22 +======= + +* api-change:``amplify``: Add ComputeRoleArn to CreateApp, UpdateApp, CreateBranch, and UpdateBranch, allowing caller to specify a role to be assumed by Amplify Hosting for server-side rendered applications. +* api-change:``dms``: Support replicationConfigArn in DMS DescribeApplicableIndividualAssessments API. +* api-change:``timestream-influxdb``: This release introduces APIs to manage DbClusters and adds support for read replicas + + 1.37.21 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 733e8c593165..1dd81c76e102 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.37.21' +__version__ = '1.37.22' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 6002f9bf2271..9da71e41a8f7 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.37.' # The full version, including alpha/beta/rc tags. -release = '1.37.21' +release = '1.37.22' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 2aafa2a28617..9ac1a55d0630 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.36.21 + botocore==1.36.22 docutils>=0.10,<0.17 s3transfer>=0.11.0,<0.12.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index ee94b91af393..9a564618c807 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.36.21', + 'botocore==1.36.22', 'docutils>=0.10,<0.17', 's3transfer>=0.11.0,<0.12.0', 'PyYAML>=3.10,<6.1', From 5bee022091752fdc9df816bc3b448271b472b19c Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 18 Feb 2025 19:13:35 +0000 Subject: [PATCH 0468/1087] Update changelog based on model updates --- .changes/next-release/api-change-batch-43417.json | 5 +++++ .changes/next-release/api-change-emrcontainers-30098.json | 5 +++++ .changes/next-release/api-change-medialive-83985.json | 5 +++++ 3 files changed, 15 insertions(+) create mode 100644 .changes/next-release/api-change-batch-43417.json create mode 100644 .changes/next-release/api-change-emrcontainers-30098.json create mode 100644 .changes/next-release/api-change-medialive-83985.json diff --git a/.changes/next-release/api-change-batch-43417.json b/.changes/next-release/api-change-batch-43417.json new file mode 100644 index 000000000000..b7570c5304dc --- /dev/null +++ b/.changes/next-release/api-change-batch-43417.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``batch``", + "description": "This documentation-only update corrects some typos." +} diff --git a/.changes/next-release/api-change-emrcontainers-30098.json b/.changes/next-release/api-change-emrcontainers-30098.json new file mode 100644 index 000000000000..17d6d77860e7 --- /dev/null +++ b/.changes/next-release/api-change-emrcontainers-30098.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``emr-containers``", + "description": "EMR on EKS StartJobRun Api will be supporting the configuration of log storage in AWS by using \"managedLogs\" under \"MonitoringConfiguration\"." +} diff --git a/.changes/next-release/api-change-medialive-83985.json b/.changes/next-release/api-change-medialive-83985.json new file mode 100644 index 000000000000..968f8f7d9140 --- /dev/null +++ b/.changes/next-release/api-change-medialive-83985.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``medialive``", + "description": "Adds support for creating CloudWatchAlarmTemplates for AWS Elemental MediaTailor Playback Configuration resources." +} From 0ca29335116eb9592e90326745e7179ef4d570f7 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 18 Feb 2025 19:14:47 +0000 Subject: [PATCH 0469/1087] Bumping version to 1.37.23 --- .changes/1.37.23.json | 17 +++++++++++++++++ .../next-release/api-change-batch-43417.json | 5 ----- .../api-change-emrcontainers-30098.json | 5 ----- .../api-change-medialive-83985.json | 5 ----- CHANGELOG.rst | 8 ++++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 9 files changed, 29 insertions(+), 19 deletions(-) create mode 100644 .changes/1.37.23.json delete mode 100644 .changes/next-release/api-change-batch-43417.json delete mode 100644 .changes/next-release/api-change-emrcontainers-30098.json delete mode 100644 .changes/next-release/api-change-medialive-83985.json diff --git a/.changes/1.37.23.json b/.changes/1.37.23.json new file mode 100644 index 000000000000..e561fd3d18d6 --- /dev/null +++ b/.changes/1.37.23.json @@ -0,0 +1,17 @@ +[ + { + "category": "``batch``", + "description": "This documentation-only update corrects some typos.", + "type": "api-change" + }, + { + "category": "``emr-containers``", + "description": "EMR on EKS StartJobRun Api will be supporting the configuration of log storage in AWS by using \"managedLogs\" under \"MonitoringConfiguration\".", + "type": "api-change" + }, + { + "category": "``medialive``", + "description": "Adds support for creating CloudWatchAlarmTemplates for AWS Elemental MediaTailor Playback Configuration resources.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-batch-43417.json b/.changes/next-release/api-change-batch-43417.json deleted file mode 100644 index b7570c5304dc..000000000000 --- a/.changes/next-release/api-change-batch-43417.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``batch``", - "description": "This documentation-only update corrects some typos." -} diff --git a/.changes/next-release/api-change-emrcontainers-30098.json b/.changes/next-release/api-change-emrcontainers-30098.json deleted file mode 100644 index 17d6d77860e7..000000000000 --- a/.changes/next-release/api-change-emrcontainers-30098.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``emr-containers``", - "description": "EMR on EKS StartJobRun Api will be supporting the configuration of log storage in AWS by using \"managedLogs\" under \"MonitoringConfiguration\"." -} diff --git a/.changes/next-release/api-change-medialive-83985.json b/.changes/next-release/api-change-medialive-83985.json deleted file mode 100644 index 968f8f7d9140..000000000000 --- a/.changes/next-release/api-change-medialive-83985.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``medialive``", - "description": "Adds support for creating CloudWatchAlarmTemplates for AWS Elemental MediaTailor Playback Configuration resources." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index a955b5d8f4f6..054ad6887ef4 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,14 @@ CHANGELOG ========= +1.37.23 +======= + +* api-change:``batch``: This documentation-only update corrects some typos. +* api-change:``emr-containers``: EMR on EKS StartJobRun Api will be supporting the configuration of log storage in AWS by using "managedLogs" under "MonitoringConfiguration". +* api-change:``medialive``: Adds support for creating CloudWatchAlarmTemplates for AWS Elemental MediaTailor Playback Configuration resources. + + 1.37.22 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 1dd81c76e102..6d39513a575b 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.37.22' +__version__ = '1.37.23' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 9da71e41a8f7..477310026acb 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.37.' # The full version, including alpha/beta/rc tags. -release = '1.37.22' +release = '1.37.23' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 9ac1a55d0630..520337bb0bf4 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.36.22 + botocore==1.36.23 docutils>=0.10,<0.17 s3transfer>=0.11.0,<0.12.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 9a564618c807..51eb3a0619d4 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.36.22', + 'botocore==1.36.23', 'docutils>=0.10,<0.17', 's3transfer>=0.11.0,<0.12.0', 'PyYAML>=3.10,<6.1', From 32c3c87fbc54a91eb0032f4a04a9a3b1c60f56cf Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 19 Feb 2025 19:10:53 +0000 Subject: [PATCH 0470/1087] Update changelog based on model updates --- .changes/next-release/api-change-codepipeline-34977.json | 5 +++++ .changes/next-release/api-change-ecs-68064.json | 5 +++++ .changes/next-release/api-change-lightsail-73057.json | 5 +++++ .changes/next-release/api-change-location-88563.json | 5 +++++ .changes/next-release/api-change-mailmanager-5766.json | 5 +++++ .changes/next-release/api-change-networkfirewall-27864.json | 5 +++++ .changes/next-release/api-change-sagemaker-24674.json | 5 +++++ .changes/next-release/api-change-sesv2-3981.json | 5 +++++ 8 files changed, 40 insertions(+) create mode 100644 .changes/next-release/api-change-codepipeline-34977.json create mode 100644 .changes/next-release/api-change-ecs-68064.json create mode 100644 .changes/next-release/api-change-lightsail-73057.json create mode 100644 .changes/next-release/api-change-location-88563.json create mode 100644 .changes/next-release/api-change-mailmanager-5766.json create mode 100644 .changes/next-release/api-change-networkfirewall-27864.json create mode 100644 .changes/next-release/api-change-sagemaker-24674.json create mode 100644 .changes/next-release/api-change-sesv2-3981.json diff --git a/.changes/next-release/api-change-codepipeline-34977.json b/.changes/next-release/api-change-codepipeline-34977.json new file mode 100644 index 000000000000..5e9909866826 --- /dev/null +++ b/.changes/next-release/api-change-codepipeline-34977.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``codepipeline``", + "description": "Add environment variables to codepipeline action declaration." +} diff --git a/.changes/next-release/api-change-ecs-68064.json b/.changes/next-release/api-change-ecs-68064.json new file mode 100644 index 000000000000..18bbd89dda81 --- /dev/null +++ b/.changes/next-release/api-change-ecs-68064.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ecs``", + "description": "This is a documentation only release for Amazon ECS that supports the CPU task limit increase." +} diff --git a/.changes/next-release/api-change-lightsail-73057.json b/.changes/next-release/api-change-lightsail-73057.json new file mode 100644 index 000000000000..2016aa0f5a0c --- /dev/null +++ b/.changes/next-release/api-change-lightsail-73057.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``lightsail``", + "description": "Documentation updates for Amazon Lightsail." +} diff --git a/.changes/next-release/api-change-location-88563.json b/.changes/next-release/api-change-location-88563.json new file mode 100644 index 000000000000..86c29c90d683 --- /dev/null +++ b/.changes/next-release/api-change-location-88563.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``location``", + "description": "Adds support for larger property maps for tracking and geofence positions changes. It increases the maximum number of items from 3 to 4, and the maximum value length from 40 to 150." +} diff --git a/.changes/next-release/api-change-mailmanager-5766.json b/.changes/next-release/api-change-mailmanager-5766.json new file mode 100644 index 000000000000..81add00abfc1 --- /dev/null +++ b/.changes/next-release/api-change-mailmanager-5766.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``mailmanager``", + "description": "This release adds additional metadata fields in Mail Manager archive searches to show email source and details about emails that were archived when being sent with SES." +} diff --git a/.changes/next-release/api-change-networkfirewall-27864.json b/.changes/next-release/api-change-networkfirewall-27864.json new file mode 100644 index 000000000000..99315aa9299c --- /dev/null +++ b/.changes/next-release/api-change-networkfirewall-27864.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``network-firewall``", + "description": "This release introduces Network Firewall's Automated Domain List feature. New APIs include UpdateFirewallAnalysisSettings, StartAnalysisReport, GetAnalysisReportResults, and ListAnalysisReports. These allow customers to enable analysis on firewalls to identify and report frequently accessed domain." +} diff --git a/.changes/next-release/api-change-sagemaker-24674.json b/.changes/next-release/api-change-sagemaker-24674.json new file mode 100644 index 000000000000..dc5d0d099ad0 --- /dev/null +++ b/.changes/next-release/api-change-sagemaker-24674.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``sagemaker``", + "description": "Adds r8g instance type support to SageMaker Realtime Endpoints" +} diff --git a/.changes/next-release/api-change-sesv2-3981.json b/.changes/next-release/api-change-sesv2-3981.json new file mode 100644 index 000000000000..c1954edb4db8 --- /dev/null +++ b/.changes/next-release/api-change-sesv2-3981.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``sesv2``", + "description": "This release adds the ability for outbound email sent with SES to preserve emails to a Mail Manager archive." +} From ed65850ceaf2dece1ca01b6562af9c4feb590753 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 19 Feb 2025 19:12:24 +0000 Subject: [PATCH 0471/1087] Bumping version to 1.37.24 --- .changes/1.37.24.json | 42 +++++++++++++++++++ .../api-change-codepipeline-34977.json | 5 --- .../next-release/api-change-ecs-68064.json | 5 --- .../api-change-lightsail-73057.json | 5 --- .../api-change-location-88563.json | 5 --- .../api-change-mailmanager-5766.json | 5 --- .../api-change-networkfirewall-27864.json | 5 --- .../api-change-sagemaker-24674.json | 5 --- .../next-release/api-change-sesv2-3981.json | 5 --- CHANGELOG.rst | 13 ++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 14 files changed, 59 insertions(+), 44 deletions(-) create mode 100644 .changes/1.37.24.json delete mode 100644 .changes/next-release/api-change-codepipeline-34977.json delete mode 100644 .changes/next-release/api-change-ecs-68064.json delete mode 100644 .changes/next-release/api-change-lightsail-73057.json delete mode 100644 .changes/next-release/api-change-location-88563.json delete mode 100644 .changes/next-release/api-change-mailmanager-5766.json delete mode 100644 .changes/next-release/api-change-networkfirewall-27864.json delete mode 100644 .changes/next-release/api-change-sagemaker-24674.json delete mode 100644 .changes/next-release/api-change-sesv2-3981.json diff --git a/.changes/1.37.24.json b/.changes/1.37.24.json new file mode 100644 index 000000000000..2c9dbde574bf --- /dev/null +++ b/.changes/1.37.24.json @@ -0,0 +1,42 @@ +[ + { + "category": "``codepipeline``", + "description": "Add environment variables to codepipeline action declaration.", + "type": "api-change" + }, + { + "category": "``ecs``", + "description": "This is a documentation only release for Amazon ECS that supports the CPU task limit increase.", + "type": "api-change" + }, + { + "category": "``lightsail``", + "description": "Documentation updates for Amazon Lightsail.", + "type": "api-change" + }, + { + "category": "``location``", + "description": "Adds support for larger property maps for tracking and geofence positions changes. It increases the maximum number of items from 3 to 4, and the maximum value length from 40 to 150.", + "type": "api-change" + }, + { + "category": "``mailmanager``", + "description": "This release adds additional metadata fields in Mail Manager archive searches to show email source and details about emails that were archived when being sent with SES.", + "type": "api-change" + }, + { + "category": "``network-firewall``", + "description": "This release introduces Network Firewall's Automated Domain List feature. New APIs include UpdateFirewallAnalysisSettings, StartAnalysisReport, GetAnalysisReportResults, and ListAnalysisReports. These allow customers to enable analysis on firewalls to identify and report frequently accessed domain.", + "type": "api-change" + }, + { + "category": "``sagemaker``", + "description": "Adds r8g instance type support to SageMaker Realtime Endpoints", + "type": "api-change" + }, + { + "category": "``sesv2``", + "description": "This release adds the ability for outbound email sent with SES to preserve emails to a Mail Manager archive.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-codepipeline-34977.json b/.changes/next-release/api-change-codepipeline-34977.json deleted file mode 100644 index 5e9909866826..000000000000 --- a/.changes/next-release/api-change-codepipeline-34977.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``codepipeline``", - "description": "Add environment variables to codepipeline action declaration." -} diff --git a/.changes/next-release/api-change-ecs-68064.json b/.changes/next-release/api-change-ecs-68064.json deleted file mode 100644 index 18bbd89dda81..000000000000 --- a/.changes/next-release/api-change-ecs-68064.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ecs``", - "description": "This is a documentation only release for Amazon ECS that supports the CPU task limit increase." -} diff --git a/.changes/next-release/api-change-lightsail-73057.json b/.changes/next-release/api-change-lightsail-73057.json deleted file mode 100644 index 2016aa0f5a0c..000000000000 --- a/.changes/next-release/api-change-lightsail-73057.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``lightsail``", - "description": "Documentation updates for Amazon Lightsail." -} diff --git a/.changes/next-release/api-change-location-88563.json b/.changes/next-release/api-change-location-88563.json deleted file mode 100644 index 86c29c90d683..000000000000 --- a/.changes/next-release/api-change-location-88563.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``location``", - "description": "Adds support for larger property maps for tracking and geofence positions changes. It increases the maximum number of items from 3 to 4, and the maximum value length from 40 to 150." -} diff --git a/.changes/next-release/api-change-mailmanager-5766.json b/.changes/next-release/api-change-mailmanager-5766.json deleted file mode 100644 index 81add00abfc1..000000000000 --- a/.changes/next-release/api-change-mailmanager-5766.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``mailmanager``", - "description": "This release adds additional metadata fields in Mail Manager archive searches to show email source and details about emails that were archived when being sent with SES." -} diff --git a/.changes/next-release/api-change-networkfirewall-27864.json b/.changes/next-release/api-change-networkfirewall-27864.json deleted file mode 100644 index 99315aa9299c..000000000000 --- a/.changes/next-release/api-change-networkfirewall-27864.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``network-firewall``", - "description": "This release introduces Network Firewall's Automated Domain List feature. New APIs include UpdateFirewallAnalysisSettings, StartAnalysisReport, GetAnalysisReportResults, and ListAnalysisReports. These allow customers to enable analysis on firewalls to identify and report frequently accessed domain." -} diff --git a/.changes/next-release/api-change-sagemaker-24674.json b/.changes/next-release/api-change-sagemaker-24674.json deleted file mode 100644 index dc5d0d099ad0..000000000000 --- a/.changes/next-release/api-change-sagemaker-24674.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``sagemaker``", - "description": "Adds r8g instance type support to SageMaker Realtime Endpoints" -} diff --git a/.changes/next-release/api-change-sesv2-3981.json b/.changes/next-release/api-change-sesv2-3981.json deleted file mode 100644 index c1954edb4db8..000000000000 --- a/.changes/next-release/api-change-sesv2-3981.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``sesv2``", - "description": "This release adds the ability for outbound email sent with SES to preserve emails to a Mail Manager archive." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 054ad6887ef4..09d6a33a8297 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,19 @@ CHANGELOG ========= +1.37.24 +======= + +* api-change:``codepipeline``: Add environment variables to codepipeline action declaration. +* api-change:``ecs``: This is a documentation only release for Amazon ECS that supports the CPU task limit increase. +* api-change:``lightsail``: Documentation updates for Amazon Lightsail. +* api-change:``location``: Adds support for larger property maps for tracking and geofence positions changes. It increases the maximum number of items from 3 to 4, and the maximum value length from 40 to 150. +* api-change:``mailmanager``: This release adds additional metadata fields in Mail Manager archive searches to show email source and details about emails that were archived when being sent with SES. +* api-change:``network-firewall``: This release introduces Network Firewall's Automated Domain List feature. New APIs include UpdateFirewallAnalysisSettings, StartAnalysisReport, GetAnalysisReportResults, and ListAnalysisReports. These allow customers to enable analysis on firewalls to identify and report frequently accessed domain. +* api-change:``sagemaker``: Adds r8g instance type support to SageMaker Realtime Endpoints +* api-change:``sesv2``: This release adds the ability for outbound email sent with SES to preserve emails to a Mail Manager archive. + + 1.37.23 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 6d39513a575b..cca8dff928e1 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.37.23' +__version__ = '1.37.24' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 477310026acb..43615953b2ed 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.37.' # The full version, including alpha/beta/rc tags. -release = '1.37.23' +release = '1.37.24' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 520337bb0bf4..51a576fd3074 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.36.23 + botocore==1.36.24 docutils>=0.10,<0.17 s3transfer>=0.11.0,<0.12.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 51eb3a0619d4..b33609b830fa 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.36.23', + 'botocore==1.36.24', 'docutils>=0.10,<0.17', 's3transfer>=0.11.0,<0.12.0', 'PyYAML>=3.10,<6.1', From 68264d21c02bd7215e4bb2f9c31cc6a5bb44f1f1 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 20 Feb 2025 19:09:34 +0000 Subject: [PATCH 0472/1087] Update changelog based on model updates --- .changes/next-release/api-change-codebuild-20877.json | 5 +++++ .changes/next-release/api-change-guardduty-33010.json | 5 +++++ .../api-change-licensemanagerusersubscriptions-61033.json | 5 +++++ .changes/next-release/api-change-rds-53087.json | 5 +++++ .changes/next-release/api-change-sagemaker-70209.json | 5 +++++ .changes/next-release/api-change-workspacesweb-27323.json | 5 +++++ 6 files changed, 30 insertions(+) create mode 100644 .changes/next-release/api-change-codebuild-20877.json create mode 100644 .changes/next-release/api-change-guardduty-33010.json create mode 100644 .changes/next-release/api-change-licensemanagerusersubscriptions-61033.json create mode 100644 .changes/next-release/api-change-rds-53087.json create mode 100644 .changes/next-release/api-change-sagemaker-70209.json create mode 100644 .changes/next-release/api-change-workspacesweb-27323.json diff --git a/.changes/next-release/api-change-codebuild-20877.json b/.changes/next-release/api-change-codebuild-20877.json new file mode 100644 index 000000000000..73e85a6c99ca --- /dev/null +++ b/.changes/next-release/api-change-codebuild-20877.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``codebuild``", + "description": "Add webhook status and status message to AWS CodeBuild webhooks" +} diff --git a/.changes/next-release/api-change-guardduty-33010.json b/.changes/next-release/api-change-guardduty-33010.json new file mode 100644 index 000000000000..8afefa605882 --- /dev/null +++ b/.changes/next-release/api-change-guardduty-33010.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``guardduty``", + "description": "Reduce the minimum number of required attack sequence signals from 2 to 1" +} diff --git a/.changes/next-release/api-change-licensemanagerusersubscriptions-61033.json b/.changes/next-release/api-change-licensemanagerusersubscriptions-61033.json new file mode 100644 index 000000000000..aeb3ba973775 --- /dev/null +++ b/.changes/next-release/api-change-licensemanagerusersubscriptions-61033.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``license-manager-user-subscriptions``", + "description": "Updates entity to include Microsoft RDS SAL as a valid type of user subscription." +} diff --git a/.changes/next-release/api-change-rds-53087.json b/.changes/next-release/api-change-rds-53087.json new file mode 100644 index 000000000000..9961fac967ce --- /dev/null +++ b/.changes/next-release/api-change-rds-53087.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``rds``", + "description": "CloudWatch Database Insights now supports Amazon RDS." +} diff --git a/.changes/next-release/api-change-sagemaker-70209.json b/.changes/next-release/api-change-sagemaker-70209.json new file mode 100644 index 000000000000..6914357332bf --- /dev/null +++ b/.changes/next-release/api-change-sagemaker-70209.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``sagemaker``", + "description": "Added new capability in the UpdateCluster operation to remove instance groups from your SageMaker HyperPod cluster." +} diff --git a/.changes/next-release/api-change-workspacesweb-27323.json b/.changes/next-release/api-change-workspacesweb-27323.json new file mode 100644 index 000000000000..790441d0f7ee --- /dev/null +++ b/.changes/next-release/api-change-workspacesweb-27323.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``workspaces-web``", + "description": "Add support for toolbar configuration under user settings." +} From f5eb32bf061462afdaba9bcefb5769e45ae68a25 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 20 Feb 2025 19:11:10 +0000 Subject: [PATCH 0473/1087] Bumping version to 1.37.25 --- .changes/1.37.25.json | 32 +++++++++++++++++++ .../api-change-codebuild-20877.json | 5 --- .../api-change-guardduty-33010.json | 5 --- ...licensemanagerusersubscriptions-61033.json | 5 --- .../next-release/api-change-rds-53087.json | 5 --- .../api-change-sagemaker-70209.json | 5 --- .../api-change-workspacesweb-27323.json | 5 --- CHANGELOG.rst | 11 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 12 files changed, 47 insertions(+), 34 deletions(-) create mode 100644 .changes/1.37.25.json delete mode 100644 .changes/next-release/api-change-codebuild-20877.json delete mode 100644 .changes/next-release/api-change-guardduty-33010.json delete mode 100644 .changes/next-release/api-change-licensemanagerusersubscriptions-61033.json delete mode 100644 .changes/next-release/api-change-rds-53087.json delete mode 100644 .changes/next-release/api-change-sagemaker-70209.json delete mode 100644 .changes/next-release/api-change-workspacesweb-27323.json diff --git a/.changes/1.37.25.json b/.changes/1.37.25.json new file mode 100644 index 000000000000..c6d500af6066 --- /dev/null +++ b/.changes/1.37.25.json @@ -0,0 +1,32 @@ +[ + { + "category": "``codebuild``", + "description": "Add webhook status and status message to AWS CodeBuild webhooks", + "type": "api-change" + }, + { + "category": "``guardduty``", + "description": "Reduce the minimum number of required attack sequence signals from 2 to 1", + "type": "api-change" + }, + { + "category": "``license-manager-user-subscriptions``", + "description": "Updates entity to include Microsoft RDS SAL as a valid type of user subscription.", + "type": "api-change" + }, + { + "category": "``rds``", + "description": "CloudWatch Database Insights now supports Amazon RDS.", + "type": "api-change" + }, + { + "category": "``sagemaker``", + "description": "Added new capability in the UpdateCluster operation to remove instance groups from your SageMaker HyperPod cluster.", + "type": "api-change" + }, + { + "category": "``workspaces-web``", + "description": "Add support for toolbar configuration under user settings.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-codebuild-20877.json b/.changes/next-release/api-change-codebuild-20877.json deleted file mode 100644 index 73e85a6c99ca..000000000000 --- a/.changes/next-release/api-change-codebuild-20877.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``codebuild``", - "description": "Add webhook status and status message to AWS CodeBuild webhooks" -} diff --git a/.changes/next-release/api-change-guardduty-33010.json b/.changes/next-release/api-change-guardduty-33010.json deleted file mode 100644 index 8afefa605882..000000000000 --- a/.changes/next-release/api-change-guardduty-33010.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``guardduty``", - "description": "Reduce the minimum number of required attack sequence signals from 2 to 1" -} diff --git a/.changes/next-release/api-change-licensemanagerusersubscriptions-61033.json b/.changes/next-release/api-change-licensemanagerusersubscriptions-61033.json deleted file mode 100644 index aeb3ba973775..000000000000 --- a/.changes/next-release/api-change-licensemanagerusersubscriptions-61033.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``license-manager-user-subscriptions``", - "description": "Updates entity to include Microsoft RDS SAL as a valid type of user subscription." -} diff --git a/.changes/next-release/api-change-rds-53087.json b/.changes/next-release/api-change-rds-53087.json deleted file mode 100644 index 9961fac967ce..000000000000 --- a/.changes/next-release/api-change-rds-53087.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``rds``", - "description": "CloudWatch Database Insights now supports Amazon RDS." -} diff --git a/.changes/next-release/api-change-sagemaker-70209.json b/.changes/next-release/api-change-sagemaker-70209.json deleted file mode 100644 index 6914357332bf..000000000000 --- a/.changes/next-release/api-change-sagemaker-70209.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``sagemaker``", - "description": "Added new capability in the UpdateCluster operation to remove instance groups from your SageMaker HyperPod cluster." -} diff --git a/.changes/next-release/api-change-workspacesweb-27323.json b/.changes/next-release/api-change-workspacesweb-27323.json deleted file mode 100644 index 790441d0f7ee..000000000000 --- a/.changes/next-release/api-change-workspacesweb-27323.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``workspaces-web``", - "description": "Add support for toolbar configuration under user settings." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 09d6a33a8297..a29e3b92185a 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,17 @@ CHANGELOG ========= +1.37.25 +======= + +* api-change:``codebuild``: Add webhook status and status message to AWS CodeBuild webhooks +* api-change:``guardduty``: Reduce the minimum number of required attack sequence signals from 2 to 1 +* api-change:``license-manager-user-subscriptions``: Updates entity to include Microsoft RDS SAL as a valid type of user subscription. +* api-change:``rds``: CloudWatch Database Insights now supports Amazon RDS. +* api-change:``sagemaker``: Added new capability in the UpdateCluster operation to remove instance groups from your SageMaker HyperPod cluster. +* api-change:``workspaces-web``: Add support for toolbar configuration under user settings. + + 1.37.24 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index cca8dff928e1..8ab1bd2a257c 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.37.24' +__version__ = '1.37.25' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 43615953b2ed..55b85038fc65 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.37.' # The full version, including alpha/beta/rc tags. -release = '1.37.24' +release = '1.37.25' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 51a576fd3074..df28f995f03c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.36.24 + botocore==1.36.25 docutils>=0.10,<0.17 s3transfer>=0.11.0,<0.12.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index b33609b830fa..4b0246902994 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.36.24', + 'botocore==1.36.25', 'docutils>=0.10,<0.17', 's3transfer>=0.11.0,<0.12.0', 'PyYAML>=3.10,<6.1', From 3112018c03dde6a447741a63cf77eabaa1da7a87 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 21 Feb 2025 19:12:20 +0000 Subject: [PATCH 0474/1087] Update changelog based on model updates --- .changes/next-release/api-change-appstream-46199.json | 5 +++++ .changes/next-release/api-change-bedrockagent-15702.json | 5 +++++ 2 files changed, 10 insertions(+) create mode 100644 .changes/next-release/api-change-appstream-46199.json create mode 100644 .changes/next-release/api-change-bedrockagent-15702.json diff --git a/.changes/next-release/api-change-appstream-46199.json b/.changes/next-release/api-change-appstream-46199.json new file mode 100644 index 000000000000..23ac8f2646e1 --- /dev/null +++ b/.changes/next-release/api-change-appstream-46199.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``appstream``", + "description": "Added support for Certificate-Based Authentication on AppStream 2.0 multi-session fleets." +} diff --git a/.changes/next-release/api-change-bedrockagent-15702.json b/.changes/next-release/api-change-bedrockagent-15702.json new file mode 100644 index 000000000000..900c1a4f8305 --- /dev/null +++ b/.changes/next-release/api-change-bedrockagent-15702.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-agent``", + "description": "Introduce a new parameter which represents the user-agent header value used by the Bedrock Knowledge Base Web Connector." +} From 155a8e0702e49831195d4147a7a3ded7f24148ea Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 21 Feb 2025 19:13:54 +0000 Subject: [PATCH 0475/1087] Bumping version to 1.37.26 --- .changes/1.37.26.json | 12 ++++++++++++ .../next-release/api-change-appstream-46199.json | 5 ----- .../next-release/api-change-bedrockagent-15702.json | 5 ----- CHANGELOG.rst | 7 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 8 files changed, 23 insertions(+), 14 deletions(-) create mode 100644 .changes/1.37.26.json delete mode 100644 .changes/next-release/api-change-appstream-46199.json delete mode 100644 .changes/next-release/api-change-bedrockagent-15702.json diff --git a/.changes/1.37.26.json b/.changes/1.37.26.json new file mode 100644 index 000000000000..1a9ff5f6a715 --- /dev/null +++ b/.changes/1.37.26.json @@ -0,0 +1,12 @@ +[ + { + "category": "``appstream``", + "description": "Added support for Certificate-Based Authentication on AppStream 2.0 multi-session fleets.", + "type": "api-change" + }, + { + "category": "``bedrock-agent``", + "description": "Introduce a new parameter which represents the user-agent header value used by the Bedrock Knowledge Base Web Connector.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-appstream-46199.json b/.changes/next-release/api-change-appstream-46199.json deleted file mode 100644 index 23ac8f2646e1..000000000000 --- a/.changes/next-release/api-change-appstream-46199.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``appstream``", - "description": "Added support for Certificate-Based Authentication on AppStream 2.0 multi-session fleets." -} diff --git a/.changes/next-release/api-change-bedrockagent-15702.json b/.changes/next-release/api-change-bedrockagent-15702.json deleted file mode 100644 index 900c1a4f8305..000000000000 --- a/.changes/next-release/api-change-bedrockagent-15702.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-agent``", - "description": "Introduce a new parameter which represents the user-agent header value used by the Bedrock Knowledge Base Web Connector." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index a29e3b92185a..b0156022d971 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,13 @@ CHANGELOG ========= +1.37.26 +======= + +* api-change:``appstream``: Added support for Certificate-Based Authentication on AppStream 2.0 multi-session fleets. +* api-change:``bedrock-agent``: Introduce a new parameter which represents the user-agent header value used by the Bedrock Knowledge Base Web Connector. + + 1.37.25 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 8ab1bd2a257c..6b7ec78f07c0 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.37.25' +__version__ = '1.37.26' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 55b85038fc65..b80cf49d84a6 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.37.' # The full version, including alpha/beta/rc tags. -release = '1.37.25' +release = '1.37.26' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index df28f995f03c..ca52457359b4 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.36.25 + botocore==1.36.26 docutils>=0.10,<0.17 s3transfer>=0.11.0,<0.12.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 4b0246902994..865408c832a8 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.36.25', + 'botocore==1.36.26', 'docutils>=0.10,<0.17', 's3transfer>=0.11.0,<0.12.0', 'PyYAML>=3.10,<6.1', From ff1582398c789609a9141c3182cd89f139dfac62 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 24 Feb 2025 20:28:11 +0000 Subject: [PATCH 0476/1087] Update changelog based on model updates --- .changes/next-release/api-change-bedrockagent-24188.json | 5 +++++ .../next-release/api-change-bedrockagentruntime-24368.json | 5 +++++ .changes/next-release/api-change-bedrockruntime-36300.json | 5 +++++ .changes/next-release/api-change-elasticache-36862.json | 5 +++++ 4 files changed, 20 insertions(+) create mode 100644 .changes/next-release/api-change-bedrockagent-24188.json create mode 100644 .changes/next-release/api-change-bedrockagentruntime-24368.json create mode 100644 .changes/next-release/api-change-bedrockruntime-36300.json create mode 100644 .changes/next-release/api-change-elasticache-36862.json diff --git a/.changes/next-release/api-change-bedrockagent-24188.json b/.changes/next-release/api-change-bedrockagent-24188.json new file mode 100644 index 000000000000..bdf6c165cd9e --- /dev/null +++ b/.changes/next-release/api-change-bedrockagent-24188.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-agent``", + "description": "This release improves support for newer models in Amazon Bedrock Flows." +} diff --git a/.changes/next-release/api-change-bedrockagentruntime-24368.json b/.changes/next-release/api-change-bedrockagentruntime-24368.json new file mode 100644 index 000000000000..9c6107c58c1c --- /dev/null +++ b/.changes/next-release/api-change-bedrockagentruntime-24368.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-agent-runtime``", + "description": "Adding support for ReasoningContent fields in Pre-Processing, Post-Processing and Orchestration Trace outputs." +} diff --git a/.changes/next-release/api-change-bedrockruntime-36300.json b/.changes/next-release/api-change-bedrockruntime-36300.json new file mode 100644 index 000000000000..d02802dd0fb6 --- /dev/null +++ b/.changes/next-release/api-change-bedrockruntime-36300.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-runtime``", + "description": "This release adds Reasoning Content support to Converse and ConverseStream APIs" +} diff --git a/.changes/next-release/api-change-elasticache-36862.json b/.changes/next-release/api-change-elasticache-36862.json new file mode 100644 index 000000000000..1d80dd20bebb --- /dev/null +++ b/.changes/next-release/api-change-elasticache-36862.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``elasticache``", + "description": "Documentation update, adding clarity and rephrasing." +} From 1f95b9d862c7f7184df3e4264a35f75647eceae9 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 24 Feb 2025 20:29:12 +0000 Subject: [PATCH 0477/1087] Add changelog entries from botocore --- .changes/next-release/feature-Endpoints-14344.json | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changes/next-release/feature-Endpoints-14344.json diff --git a/.changes/next-release/feature-Endpoints-14344.json b/.changes/next-release/feature-Endpoints-14344.json new file mode 100644 index 000000000000..b1dbdaa8c290 --- /dev/null +++ b/.changes/next-release/feature-Endpoints-14344.json @@ -0,0 +1,5 @@ +{ + "type": "feature", + "category": "Endpoints", + "description": "Generate and use AWS-account-based endpoints for compatible services when the account ID is available. At launch, DynamoDB is the first and only compatible service. The new endpoint URL pattern will be ``https://.ddb..amazonaws.com``. Additional services may be added in the future. See the documentation for details: https://docs.aws.amazon.com/sdkref/latest/guide/feature-account-endpoints.html" +} From 45f3efe503c443f653ac92faf52ff59b68ce597a Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 24 Feb 2025 20:29:41 +0000 Subject: [PATCH 0478/1087] Bumping version to 1.38.0 --- .changes/1.38.0.json | 27 +++++++++++++++++++ .../api-change-bedrockagent-24188.json | 5 ---- .../api-change-bedrockagentruntime-24368.json | 5 ---- .../api-change-bedrockruntime-36300.json | 5 ---- .../api-change-elasticache-36862.json | 5 ---- .../next-release/feature-Endpoints-14344.json | 5 ---- CHANGELOG.rst | 10 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 4 +-- setup.cfg | 2 +- setup.py | 2 +- 11 files changed, 42 insertions(+), 30 deletions(-) create mode 100644 .changes/1.38.0.json delete mode 100644 .changes/next-release/api-change-bedrockagent-24188.json delete mode 100644 .changes/next-release/api-change-bedrockagentruntime-24368.json delete mode 100644 .changes/next-release/api-change-bedrockruntime-36300.json delete mode 100644 .changes/next-release/api-change-elasticache-36862.json delete mode 100644 .changes/next-release/feature-Endpoints-14344.json diff --git a/.changes/1.38.0.json b/.changes/1.38.0.json new file mode 100644 index 000000000000..82945c57a456 --- /dev/null +++ b/.changes/1.38.0.json @@ -0,0 +1,27 @@ +[ + { + "category": "``bedrock-agent``", + "description": "This release improves support for newer models in Amazon Bedrock Flows.", + "type": "api-change" + }, + { + "category": "``bedrock-agent-runtime``", + "description": "Adding support for ReasoningContent fields in Pre-Processing, Post-Processing and Orchestration Trace outputs.", + "type": "api-change" + }, + { + "category": "``bedrock-runtime``", + "description": "This release adds Reasoning Content support to Converse and ConverseStream APIs", + "type": "api-change" + }, + { + "category": "``elasticache``", + "description": "Documentation update, adding clarity and rephrasing.", + "type": "api-change" + }, + { + "category": "Endpoints", + "description": "Generate and use AWS-account-based endpoints for compatible services when the account ID is available. At launch, DynamoDB is the first and only compatible service. The new endpoint URL pattern will be ``https://.ddb..amazonaws.com``. Additional services may be added in the future. See the documentation for details: https://docs.aws.amazon.com/sdkref/latest/guide/feature-account-endpoints.html", + "type": "feature" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-bedrockagent-24188.json b/.changes/next-release/api-change-bedrockagent-24188.json deleted file mode 100644 index bdf6c165cd9e..000000000000 --- a/.changes/next-release/api-change-bedrockagent-24188.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-agent``", - "description": "This release improves support for newer models in Amazon Bedrock Flows." -} diff --git a/.changes/next-release/api-change-bedrockagentruntime-24368.json b/.changes/next-release/api-change-bedrockagentruntime-24368.json deleted file mode 100644 index 9c6107c58c1c..000000000000 --- a/.changes/next-release/api-change-bedrockagentruntime-24368.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-agent-runtime``", - "description": "Adding support for ReasoningContent fields in Pre-Processing, Post-Processing and Orchestration Trace outputs." -} diff --git a/.changes/next-release/api-change-bedrockruntime-36300.json b/.changes/next-release/api-change-bedrockruntime-36300.json deleted file mode 100644 index d02802dd0fb6..000000000000 --- a/.changes/next-release/api-change-bedrockruntime-36300.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-runtime``", - "description": "This release adds Reasoning Content support to Converse and ConverseStream APIs" -} diff --git a/.changes/next-release/api-change-elasticache-36862.json b/.changes/next-release/api-change-elasticache-36862.json deleted file mode 100644 index 1d80dd20bebb..000000000000 --- a/.changes/next-release/api-change-elasticache-36862.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``elasticache``", - "description": "Documentation update, adding clarity and rephrasing." -} diff --git a/.changes/next-release/feature-Endpoints-14344.json b/.changes/next-release/feature-Endpoints-14344.json deleted file mode 100644 index b1dbdaa8c290..000000000000 --- a/.changes/next-release/feature-Endpoints-14344.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "feature", - "category": "Endpoints", - "description": "Generate and use AWS-account-based endpoints for compatible services when the account ID is available. At launch, DynamoDB is the first and only compatible service. The new endpoint URL pattern will be ``https://.ddb..amazonaws.com``. Additional services may be added in the future. See the documentation for details: https://docs.aws.amazon.com/sdkref/latest/guide/feature-account-endpoints.html" -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index b0156022d971..18d34f6b03ad 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,16 @@ CHANGELOG ========= +1.38.0 +====== + +* api-change:``bedrock-agent``: This release improves support for newer models in Amazon Bedrock Flows. +* api-change:``bedrock-agent-runtime``: Adding support for ReasoningContent fields in Pre-Processing, Post-Processing and Orchestration Trace outputs. +* api-change:``bedrock-runtime``: This release adds Reasoning Content support to Converse and ConverseStream APIs +* api-change:``elasticache``: Documentation update, adding clarity and rephrasing. +* feature:Endpoints: Generate and use AWS-account-based endpoints for compatible services when the account ID is available. At launch, DynamoDB is the first and only compatible service. The new endpoint URL pattern will be ``https://.ddb..amazonaws.com``. Additional services may be added in the future. See the documentation for details: https://docs.aws.amazon.com/sdkref/latest/guide/feature-account-endpoints.html + + 1.37.26 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 6b7ec78f07c0..c4db8d059b5f 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.37.26' +__version__ = '1.38.0' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index b80cf49d84a6..d66fc8911d55 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -50,9 +50,9 @@ # built documents. # # The short X.Y version. -version = '1.37.' +version = '1.38' # The full version, including alpha/beta/rc tags. -release = '1.37.26' +release = '1.38.0' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index ca52457359b4..526e108da68e 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.36.26 + botocore==1.37.0 docutils>=0.10,<0.17 s3transfer>=0.11.0,<0.12.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 865408c832a8..fadc6d7e235b 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.36.26', + 'botocore==1.37.0', 'docutils>=0.10,<0.17', 's3transfer>=0.11.0,<0.12.0', 'PyYAML>=3.10,<6.1', From d79f300deedb65a32a23c6a2fe15aedab97a6b58 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 25 Feb 2025 19:14:47 +0000 Subject: [PATCH 0479/1087] Update changelog based on model updates --- .changes/next-release/api-change-codebuild-38351.json | 5 +++++ .changes/next-release/api-change-devicefarm-71704.json | 5 +++++ .changes/next-release/api-change-ec2-48394.json | 5 +++++ .changes/next-release/api-change-iot-76154.json | 5 +++++ .changes/next-release/api-change-taxsettings-54450.json | 5 +++++ 5 files changed, 25 insertions(+) create mode 100644 .changes/next-release/api-change-codebuild-38351.json create mode 100644 .changes/next-release/api-change-devicefarm-71704.json create mode 100644 .changes/next-release/api-change-ec2-48394.json create mode 100644 .changes/next-release/api-change-iot-76154.json create mode 100644 .changes/next-release/api-change-taxsettings-54450.json diff --git a/.changes/next-release/api-change-codebuild-38351.json b/.changes/next-release/api-change-codebuild-38351.json new file mode 100644 index 000000000000..a17befd43952 --- /dev/null +++ b/.changes/next-release/api-change-codebuild-38351.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``codebuild``", + "description": "Adding \"reportArns\" field in output of BatchGetBuildBatches API. \"reportArns\" is an array that contains the ARNs of reports created by merging reports from builds associated with the batch build." +} diff --git a/.changes/next-release/api-change-devicefarm-71704.json b/.changes/next-release/api-change-devicefarm-71704.json new file mode 100644 index 000000000000..0a433f2edcf4 --- /dev/null +++ b/.changes/next-release/api-change-devicefarm-71704.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``devicefarm``", + "description": "Add an optional configuration to the ScheduleRun and CreateRemoteAccessSession API to set a device level http/s proxy." +} diff --git a/.changes/next-release/api-change-ec2-48394.json b/.changes/next-release/api-change-ec2-48394.json new file mode 100644 index 000000000000..ec246ba61e69 --- /dev/null +++ b/.changes/next-release/api-change-ec2-48394.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ec2``", + "description": "Adds support for time-based EBS-backed AMI copy operations. Time-based copy ensures that EBS-backed AMIs are copied within and across Regions in a specified timeframe." +} diff --git a/.changes/next-release/api-change-iot-76154.json b/.changes/next-release/api-change-iot-76154.json new file mode 100644 index 000000000000..39b757100f2a --- /dev/null +++ b/.changes/next-release/api-change-iot-76154.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``iot``", + "description": "AWS IoT - AWS IoT Device Defender adds support for a new Device Defender Audit Check that monitors device certificate age and custom threshold configurations for both the new device certificate age check and existing device certificate expiry check." +} diff --git a/.changes/next-release/api-change-taxsettings-54450.json b/.changes/next-release/api-change-taxsettings-54450.json new file mode 100644 index 000000000000..912a4d6bb3e0 --- /dev/null +++ b/.changes/next-release/api-change-taxsettings-54450.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``taxsettings``", + "description": "PutTaxRegistration API changes for Egypt, Greece, Vietnam countries" +} From 8aedde77c32f2295921633cdea8a3bb34af62bcd Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 25 Feb 2025 19:16:26 +0000 Subject: [PATCH 0480/1087] Bumping version to 1.38.1 --- .changes/1.38.1.json | 27 +++++++++++++++++++ .../api-change-codebuild-38351.json | 5 ---- .../api-change-devicefarm-71704.json | 5 ---- .../next-release/api-change-ec2-48394.json | 5 ---- .../next-release/api-change-iot-76154.json | 5 ---- .../api-change-taxsettings-54450.json | 5 ---- CHANGELOG.rst | 10 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 11 files changed, 41 insertions(+), 29 deletions(-) create mode 100644 .changes/1.38.1.json delete mode 100644 .changes/next-release/api-change-codebuild-38351.json delete mode 100644 .changes/next-release/api-change-devicefarm-71704.json delete mode 100644 .changes/next-release/api-change-ec2-48394.json delete mode 100644 .changes/next-release/api-change-iot-76154.json delete mode 100644 .changes/next-release/api-change-taxsettings-54450.json diff --git a/.changes/1.38.1.json b/.changes/1.38.1.json new file mode 100644 index 000000000000..ee8441507ebd --- /dev/null +++ b/.changes/1.38.1.json @@ -0,0 +1,27 @@ +[ + { + "category": "``codebuild``", + "description": "Adding \"reportArns\" field in output of BatchGetBuildBatches API. \"reportArns\" is an array that contains the ARNs of reports created by merging reports from builds associated with the batch build.", + "type": "api-change" + }, + { + "category": "``devicefarm``", + "description": "Add an optional configuration to the ScheduleRun and CreateRemoteAccessSession API to set a device level http/s proxy.", + "type": "api-change" + }, + { + "category": "``ec2``", + "description": "Adds support for time-based EBS-backed AMI copy operations. Time-based copy ensures that EBS-backed AMIs are copied within and across Regions in a specified timeframe.", + "type": "api-change" + }, + { + "category": "``iot``", + "description": "AWS IoT - AWS IoT Device Defender adds support for a new Device Defender Audit Check that monitors device certificate age and custom threshold configurations for both the new device certificate age check and existing device certificate expiry check.", + "type": "api-change" + }, + { + "category": "``taxsettings``", + "description": "PutTaxRegistration API changes for Egypt, Greece, Vietnam countries", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-codebuild-38351.json b/.changes/next-release/api-change-codebuild-38351.json deleted file mode 100644 index a17befd43952..000000000000 --- a/.changes/next-release/api-change-codebuild-38351.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``codebuild``", - "description": "Adding \"reportArns\" field in output of BatchGetBuildBatches API. \"reportArns\" is an array that contains the ARNs of reports created by merging reports from builds associated with the batch build." -} diff --git a/.changes/next-release/api-change-devicefarm-71704.json b/.changes/next-release/api-change-devicefarm-71704.json deleted file mode 100644 index 0a433f2edcf4..000000000000 --- a/.changes/next-release/api-change-devicefarm-71704.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``devicefarm``", - "description": "Add an optional configuration to the ScheduleRun and CreateRemoteAccessSession API to set a device level http/s proxy." -} diff --git a/.changes/next-release/api-change-ec2-48394.json b/.changes/next-release/api-change-ec2-48394.json deleted file mode 100644 index ec246ba61e69..000000000000 --- a/.changes/next-release/api-change-ec2-48394.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ec2``", - "description": "Adds support for time-based EBS-backed AMI copy operations. Time-based copy ensures that EBS-backed AMIs are copied within and across Regions in a specified timeframe." -} diff --git a/.changes/next-release/api-change-iot-76154.json b/.changes/next-release/api-change-iot-76154.json deleted file mode 100644 index 39b757100f2a..000000000000 --- a/.changes/next-release/api-change-iot-76154.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``iot``", - "description": "AWS IoT - AWS IoT Device Defender adds support for a new Device Defender Audit Check that monitors device certificate age and custom threshold configurations for both the new device certificate age check and existing device certificate expiry check." -} diff --git a/.changes/next-release/api-change-taxsettings-54450.json b/.changes/next-release/api-change-taxsettings-54450.json deleted file mode 100644 index 912a4d6bb3e0..000000000000 --- a/.changes/next-release/api-change-taxsettings-54450.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``taxsettings``", - "description": "PutTaxRegistration API changes for Egypt, Greece, Vietnam countries" -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 18d34f6b03ad..5413f7e9af33 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,16 @@ CHANGELOG ========= +1.38.1 +====== + +* api-change:``codebuild``: Adding "reportArns" field in output of BatchGetBuildBatches API. "reportArns" is an array that contains the ARNs of reports created by merging reports from builds associated with the batch build. +* api-change:``devicefarm``: Add an optional configuration to the ScheduleRun and CreateRemoteAccessSession API to set a device level http/s proxy. +* api-change:``ec2``: Adds support for time-based EBS-backed AMI copy operations. Time-based copy ensures that EBS-backed AMIs are copied within and across Regions in a specified timeframe. +* api-change:``iot``: AWS IoT - AWS IoT Device Defender adds support for a new Device Defender Audit Check that monitors device certificate age and custom threshold configurations for both the new device certificate age check and existing device certificate expiry check. +* api-change:``taxsettings``: PutTaxRegistration API changes for Egypt, Greece, Vietnam countries + + 1.38.0 ====== diff --git a/awscli/__init__.py b/awscli/__init__.py index c4db8d059b5f..d418fee1cecf 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.38.0' +__version__ = '1.38.1' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index d66fc8911d55..04f4b5b83a1a 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.38' # The full version, including alpha/beta/rc tags. -release = '1.38.0' +release = '1.38.1' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 526e108da68e..0eda60db2af6 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.37.0 + botocore==1.37.1 docutils>=0.10,<0.17 s3transfer>=0.11.0,<0.12.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index fadc6d7e235b..f83fa41633e5 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.37.0', + 'botocore==1.37.1', 'docutils>=0.10,<0.17', 's3transfer>=0.11.0,<0.12.0', 'PyYAML>=3.10,<6.1', From 7c0f37713fd6b1800b22af0b86194456ee89c6ab Mon Sep 17 00:00:00 2001 From: Ahmed Moustafa <35640105+aemous@users.noreply.github.com> Date: Wed, 26 Feb 2025 11:17:57 -0500 Subject: [PATCH 0481/1087] Cloudformation deploy documentation clarification (#9316) --- awscli/customizations/cloudformation/deploy.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/awscli/customizations/cloudformation/deploy.py b/awscli/customizations/cloudformation/deploy.py index a4c8e86b00ea..456279786247 100644 --- a/awscli/customizations/cloudformation/deploy.py +++ b/awscli/customizations/cloudformation/deploy.py @@ -224,9 +224,13 @@ class DeployCommand(BasicCommand): 'dest': 'fail_on_empty_changeset', 'default': True, 'help_text': ( - 'Specify if the CLI should return a non-zero exit code if ' - 'there are no changes to be made to the stack. The default ' - 'behavior is to return a non-zero exit code.' + 'Specify if the CLI should return a non-zero exit code ' + 'when there are no changes to be made to the stack. By ' + 'default, a non-zero exit code is returned, and this is ' + 'the same behavior that occurs when ' + '`--fail-on-empty-changeset` is specified. If ' + '`--no-fail-on-empty-changeset` is specified, then the ' + 'CLI will return a zero exit code.' ) }, { From a79352e823e61d00d2de2735d22328caf6cb4e46 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 26 Feb 2025 19:28:50 +0000 Subject: [PATCH 0482/1087] Merge customizations for Chime --- ...one-numbers-with-voice-connector-group.rst | 16 -------- ...ate-phone-numbers-with-voice-connector.rst | 16 -------- .../examples/chime/create-proxy-session.rst | 37 ------------------- .../chime/create-voice-connector-group.rst | 21 ----------- .../examples/chime/create-voice-connector.rst | 24 ------------ .../examples/chime/delete-proxy-session.rst | 11 ------ .../chime/delete-voice-connector-group.rst | 10 ----- .../delete-voice-connector-origination.rst | 10 ----- .../chime/delete-voice-connector-proxy.rst | 10 ----- ...oice-connector-streaming-configuration.rst | 10 ----- ...oice-connector-termination-credentials.rst | 11 ------ .../delete-voice-connector-termination.rst | 10 ----- .../examples/chime/delete-voice-connector.rst | 10 ----- ...one-numbers-from-voice-connector-group.rst | 15 -------- ...ate-phone-numbers-from-voice-connector.rst | 15 -------- awscli/examples/chime/get-proxy-session.rst | 36 ------------------ .../chime/get-voice-connector-group.rst | 20 ---------- ...-voice-connector-logging-configuration.rst | 17 --------- .../chime/get-voice-connector-origination.rst | 25 ------------- .../chime/get-voice-connector-proxy.rst | 20 ---------- ...oice-connector-streaming-configuration.rst | 17 --------- ...get-voice-connector-termination-health.rst | 17 --------- .../chime/get-voice-connector-termination.rst | 25 ------------- awscli/examples/chime/get-voice-connector.rst | 22 ----------- awscli/examples/chime/list-proxy-sessions.rst | 35 ------------------ .../chime/list-voice-connector-groups.rst | 21 ----------- ...oice-connector-termination-credentials.rst | 17 --------- .../examples/chime/list-voice-connectors.rst | 32 ---------------- ...-voice-connector-logging-configuration.rst | 17 --------- .../chime/put-voice-connector-origination.rst | 26 ------------- .../chime/put-voice-connector-proxy.rst | 22 ----------- ...oice-connector-streaming-configuration.rst | 18 --------- ...oice-connector-termination-credentials.rst | 11 ------ .../chime/put-voice-connector-termination.rst | 24 ------------ .../examples/chime/update-proxy-session.rst | 36 ------------------ .../chime/update-voice-connector-group.rst | 27 -------------- .../examples/chime/update-voice-connector.rst | 24 ------------ 37 files changed, 735 deletions(-) delete mode 100644 awscli/examples/chime/associate-phone-numbers-with-voice-connector-group.rst delete mode 100644 awscli/examples/chime/associate-phone-numbers-with-voice-connector.rst delete mode 100644 awscli/examples/chime/create-proxy-session.rst delete mode 100644 awscli/examples/chime/create-voice-connector-group.rst delete mode 100644 awscli/examples/chime/create-voice-connector.rst delete mode 100644 awscli/examples/chime/delete-proxy-session.rst delete mode 100644 awscli/examples/chime/delete-voice-connector-group.rst delete mode 100644 awscli/examples/chime/delete-voice-connector-origination.rst delete mode 100644 awscli/examples/chime/delete-voice-connector-proxy.rst delete mode 100644 awscli/examples/chime/delete-voice-connector-streaming-configuration.rst delete mode 100644 awscli/examples/chime/delete-voice-connector-termination-credentials.rst delete mode 100644 awscli/examples/chime/delete-voice-connector-termination.rst delete mode 100644 awscli/examples/chime/delete-voice-connector.rst delete mode 100644 awscli/examples/chime/disassociate-phone-numbers-from-voice-connector-group.rst delete mode 100644 awscli/examples/chime/disassociate-phone-numbers-from-voice-connector.rst delete mode 100644 awscli/examples/chime/get-proxy-session.rst delete mode 100644 awscli/examples/chime/get-voice-connector-group.rst delete mode 100644 awscli/examples/chime/get-voice-connector-logging-configuration.rst delete mode 100644 awscli/examples/chime/get-voice-connector-origination.rst delete mode 100644 awscli/examples/chime/get-voice-connector-proxy.rst delete mode 100644 awscli/examples/chime/get-voice-connector-streaming-configuration.rst delete mode 100644 awscli/examples/chime/get-voice-connector-termination-health.rst delete mode 100644 awscli/examples/chime/get-voice-connector-termination.rst delete mode 100644 awscli/examples/chime/get-voice-connector.rst delete mode 100644 awscli/examples/chime/list-proxy-sessions.rst delete mode 100644 awscli/examples/chime/list-voice-connector-groups.rst delete mode 100644 awscli/examples/chime/list-voice-connector-termination-credentials.rst delete mode 100644 awscli/examples/chime/list-voice-connectors.rst delete mode 100644 awscli/examples/chime/put-voice-connector-logging-configuration.rst delete mode 100644 awscli/examples/chime/put-voice-connector-origination.rst delete mode 100644 awscli/examples/chime/put-voice-connector-proxy.rst delete mode 100644 awscli/examples/chime/put-voice-connector-streaming-configuration.rst delete mode 100644 awscli/examples/chime/put-voice-connector-termination-credentials.rst delete mode 100644 awscli/examples/chime/put-voice-connector-termination.rst delete mode 100644 awscli/examples/chime/update-proxy-session.rst delete mode 100644 awscli/examples/chime/update-voice-connector-group.rst delete mode 100644 awscli/examples/chime/update-voice-connector.rst diff --git a/awscli/examples/chime/associate-phone-numbers-with-voice-connector-group.rst b/awscli/examples/chime/associate-phone-numbers-with-voice-connector-group.rst deleted file mode 100644 index 8d1569fa9e22..000000000000 --- a/awscli/examples/chime/associate-phone-numbers-with-voice-connector-group.rst +++ /dev/null @@ -1,16 +0,0 @@ -**To associate phone numbers with an Amazon Chime Voice Connector group** - -The following ``associate-phone-numbers-with-voice-connector-group`` example associates the specified phone numbers with an Amazon Chime Voice Connector group. :: - - aws chime associate-phone-numbers-with-voice-connector-group \ - --voice-connector-group-id 123a456b-c7d8-90e1-fg23-4h567jkl8901 \ - --e164-phone-numbers "+12065550100" "+12065550101" \ - --force-associate - -Output:: - - { - "PhoneNumberErrors": [] - } - -For more information, see `Working with Amazon Chime Voice Connector groups `__ in the *Amazon Chime Administration Guide*. diff --git a/awscli/examples/chime/associate-phone-numbers-with-voice-connector.rst b/awscli/examples/chime/associate-phone-numbers-with-voice-connector.rst deleted file mode 100644 index 65f4c9598155..000000000000 --- a/awscli/examples/chime/associate-phone-numbers-with-voice-connector.rst +++ /dev/null @@ -1,16 +0,0 @@ -**To associate phone numbers with an Amazon Chime Voice Connector** - -The following ``associate-phone-numbers-with-voice-connector`` example associates the specified phone numbers with an Amazon Chime Voice Connector. :: - - aws chime associate-phone-numbers-with-voice-connector \ - --voice-connector-id abcdef1ghij2klmno3pqr4 \ - --e164-phone-numbers "+12065550100" "+12065550101" - --force-associate - -Output:: - - { - "PhoneNumberErrors": [] - } - -For more information, see `Working with Amazon Chime Voice Connectors `__ in the *Amazon Chime Administration Guide*. diff --git a/awscli/examples/chime/create-proxy-session.rst b/awscli/examples/chime/create-proxy-session.rst deleted file mode 100644 index 267390a22c9d..000000000000 --- a/awscli/examples/chime/create-proxy-session.rst +++ /dev/null @@ -1,37 +0,0 @@ -**To create a proxy session** - -The following ``create-proxy-session`` example creates a proxy session with voice and SMS capabilities. :: - - aws chime create-proxy-session \ - --voice-connector-id abcdef1ghij2klmno3pqr4 \ - --participant-phone-numbers "+14015550101" "+12065550100" \ - --capabilities "Voice" "SMS" - -Output:: - - { - "ProxySession": { - "VoiceConnectorId": "abcdef1ghij2klmno3pqr4", - "ProxySessionId": "123a4bc5-67d8-901e-2f3g-h4ghjk56789l", - "Status": "Open", - "ExpiryMinutes": 60, - "Capabilities": [ - "SMS", - "Voice" - ], - "CreatedTimestamp": "2020-04-15T16:10:10.288Z", - "UpdatedTimestamp": "2020-04-15T16:10:10.288Z", - "Participants": [ - { - "PhoneNumber": "+12065550100", - "ProxyPhoneNumber": "+19135550199" - }, - { - "PhoneNumber": "+14015550101", - "ProxyPhoneNumber": "+19135550199" - } - ] - } - } - -For more information, see `Proxy Phone Sessions `__ in the *Amazon Chime Developer Guide*. diff --git a/awscli/examples/chime/create-voice-connector-group.rst b/awscli/examples/chime/create-voice-connector-group.rst deleted file mode 100644 index 126c8fc9ea5c..000000000000 --- a/awscli/examples/chime/create-voice-connector-group.rst +++ /dev/null @@ -1,21 +0,0 @@ -**To create an Amazon Chime Voice Connector group** - -The following ``create-voice-connector-group`` example creates an Amazon Chime Voice Connector group that includes the specified Amazon Chime Voice Connector. :: - - aws chime create-voice-connector-group \ - --name myGroup \ - --voice-connector-items VoiceConnectorId=abcdef1ghij2klmno3pqr4,Priority=2 - -Output:: - - { - "VoiceConnectorGroup": { - "VoiceConnectorGroupId": "123a456b-c7d8-90e1-fg23-4h567jkl8901", - "Name": "myGroup", - "VoiceConnectorItems": [], - "CreatedTimestamp": "2019-09-18T16:38:34.734Z", - "UpdatedTimestamp": "2019-09-18T16:38:34.734Z" - } - } - -For more information, see `Working with Amazon Chime Voice Connector Groups `__ in the *Amazon Chime Administration Guide*. diff --git a/awscli/examples/chime/create-voice-connector.rst b/awscli/examples/chime/create-voice-connector.rst deleted file mode 100644 index fffc0af2ca01..000000000000 --- a/awscli/examples/chime/create-voice-connector.rst +++ /dev/null @@ -1,24 +0,0 @@ -**To create an Amazon Chime Voice Connector** - -The following ``create-voice-connector`` example creates an Amazon Chime Voice Connector in the specified AWS Region, with encryption enabled. :: - - aws chime create-voice-connector \ - --name newVoiceConnector \ - --aws-region us-west-2 \ - --require-encryption - -Output:: - - { - "VoiceConnector": { - "VoiceConnectorId": "abcdef1ghij2klmno3pqr4", - "AwsRegion": "us-west-2", - "Name": "newVoiceConnector", - "OutboundHostName": "abcdef1ghij2klmno3pqr4.voiceconnector.chime.aws", - "RequireEncryption": true, - "CreatedTimestamp": "2019-09-18T20:34:01.352Z", - "UpdatedTimestamp": "2019-09-18T20:34:01.352Z" - } - } - -For more information, see `Working with Amazon Chime Voice Connectors `__ in the *Amazon Chime Administration Guide*. diff --git a/awscli/examples/chime/delete-proxy-session.rst b/awscli/examples/chime/delete-proxy-session.rst deleted file mode 100644 index bb6a6770dda4..000000000000 --- a/awscli/examples/chime/delete-proxy-session.rst +++ /dev/null @@ -1,11 +0,0 @@ -**To delete a proxy session** - -The following ``delete-proxy-session`` example deletes the specified proxy session. :: - - aws chime delete-proxy-session \ - --voice-connector-id abcdef1ghij2klmno3pqr4 \ - --proxy-session-id 123a4bc5-67d8-901e-2f3g-h4ghjk56789l - -This command produces no output. - -For more information, see `Proxy Phone Sessions `__ in the *Amazon Chime Developer Guide*. diff --git a/awscli/examples/chime/delete-voice-connector-group.rst b/awscli/examples/chime/delete-voice-connector-group.rst deleted file mode 100644 index e7ff6da11de1..000000000000 --- a/awscli/examples/chime/delete-voice-connector-group.rst +++ /dev/null @@ -1,10 +0,0 @@ -**title** - -The following ``delete-voice-connector-group`` example deletes the specified Amazon Chime Voice Connector group. :: - - aws chime delete-voice-connector-group \ - --voice-connector-group-id 123a456b-c7d8-90e1-fg23-4h567jkl8901 - -This command produces no output. - -For more information, see `Working with Amazon Chime Voice Connector Groups `__ in the *Amazon Chime Administration Guide*. \ No newline at end of file diff --git a/awscli/examples/chime/delete-voice-connector-origination.rst b/awscli/examples/chime/delete-voice-connector-origination.rst deleted file mode 100644 index 76221faf2d0f..000000000000 --- a/awscli/examples/chime/delete-voice-connector-origination.rst +++ /dev/null @@ -1,10 +0,0 @@ -**To delete origination settings** - -The following ``delete-voice-connector-origination`` example deletes the origination host, port, protocol, priority, and weight from the specified Amazon Chime Voice Connector. :: - - aws chime delete-voice-connector-origination \ - --voice-connector-id abcdef1ghij2klmno3pqr4 - -This command produces no output. - -For more information, see `Working with Amazon Chime Voice Connectors `__ in the *Amazon Chime Administration Guide*. diff --git a/awscli/examples/chime/delete-voice-connector-proxy.rst b/awscli/examples/chime/delete-voice-connector-proxy.rst deleted file mode 100644 index d48f030d804b..000000000000 --- a/awscli/examples/chime/delete-voice-connector-proxy.rst +++ /dev/null @@ -1,10 +0,0 @@ -**To delete a proxy configuration** - -The following ``delete-voice-connector-proxy`` example deletes the proxy configuration from your Amazon Chime Voice Connector. :: - - aws chime delete-voice-connector-proxy \ - --voice-connector-id abcdef1ghij2klmno3pqr4 - -This command produces no output. - -For more information, see `Proxy Phone Sessions `__ in the *Amazon Chime Developer Guide*. diff --git a/awscli/examples/chime/delete-voice-connector-streaming-configuration.rst b/awscli/examples/chime/delete-voice-connector-streaming-configuration.rst deleted file mode 100644 index 957b4c9f93c7..000000000000 --- a/awscli/examples/chime/delete-voice-connector-streaming-configuration.rst +++ /dev/null @@ -1,10 +0,0 @@ -**To delete a streaming configuration** - -The following ``delete-voice-connector-streaming-configuration`` example deletes the streaming configuration for the specified Amazon Chime Voice Connector. :: - - aws chime delete-voice-connector-streaming-configuration \ - --voice-connector-id abcdef1ghij2klmno3pqr4 - -This command produces no output. - -For more information, see `Streaming Amazon Chime Voice Connector Data to Kinesis `__ in the *Amazon Chime Administration Guide*. diff --git a/awscli/examples/chime/delete-voice-connector-termination-credentials.rst b/awscli/examples/chime/delete-voice-connector-termination-credentials.rst deleted file mode 100644 index ba0e11a2402f..000000000000 --- a/awscli/examples/chime/delete-voice-connector-termination-credentials.rst +++ /dev/null @@ -1,11 +0,0 @@ -**To delete termination credentials** - -The following ``delete-voice-connector-termination-credentials`` example deletes the termination credentials for the specified user name and Amazon Chime Voice Connector. :: - - aws chime delete-voice-connector-termination-credentials \ - --voice-connector-id abcdef1ghij2klmno3pqr4 \ - --usernames "jdoe" - -This command produces no output. - -For more information, see `Working with Amazon Chime Voice Connectors `__ in the *Amazon Chime Administration Guide*. diff --git a/awscli/examples/chime/delete-voice-connector-termination.rst b/awscli/examples/chime/delete-voice-connector-termination.rst deleted file mode 100644 index fb7dc10aaef0..000000000000 --- a/awscli/examples/chime/delete-voice-connector-termination.rst +++ /dev/null @@ -1,10 +0,0 @@ -**To delete termination settings** - -The following ``delete-voice-connector-termination`` example deletes the termination settings for the specified Amazon Chime Voice Connector. :: - - aws chime delete-voice-connector-termination \ - --voice-connector-id abcdef1ghij2klmno3pqr4 - -This command produces no output. - -For more information, see `Working with Amazon Chime Voice Connectors `__ in the *Amazon Chime Administration Guide*. diff --git a/awscli/examples/chime/delete-voice-connector.rst b/awscli/examples/chime/delete-voice-connector.rst deleted file mode 100644 index 6ff00b2e334e..000000000000 --- a/awscli/examples/chime/delete-voice-connector.rst +++ /dev/null @@ -1,10 +0,0 @@ -**To delete an Amazon Chime Voice Connector** - -The following ``delete-voice-connector`` example doesthis :: - - aws chime delete-voice-connector \ - --voice-connector-id abcdef1ghij2klmno3pqr4 - -This command produces no output. - -For more information, see `Working with Amazon Chime Voice Connectors `__ in the *Amazon Chime Administration Guide*. diff --git a/awscli/examples/chime/disassociate-phone-numbers-from-voice-connector-group.rst b/awscli/examples/chime/disassociate-phone-numbers-from-voice-connector-group.rst deleted file mode 100644 index 96ac4ea58984..000000000000 --- a/awscli/examples/chime/disassociate-phone-numbers-from-voice-connector-group.rst +++ /dev/null @@ -1,15 +0,0 @@ -**To disassociate phone numbers from an Amazon Chime Voice Connector group** - -The following ``disassociate-phone-numbers-from-voice-connector-group`` example disassociates the specified phone numbers from an Amazon Chime Voice Connector group. :: - - aws chime disassociate-phone-numbers-from-voice-connector-group \ - --voice-connector-group-id 123a456b-c7d8-90e1-fg23-4h567jkl8901 \ - --e164-phone-numbers "+12065550100" "+12065550101" - -Output:: - - { - "PhoneNumberErrors": [] - } - -For more information, see `Working with Amazon Chime Voice Connector Groups `__ in the *Amazon Chime Administration Guide*. diff --git a/awscli/examples/chime/disassociate-phone-numbers-from-voice-connector.rst b/awscli/examples/chime/disassociate-phone-numbers-from-voice-connector.rst deleted file mode 100644 index 1a002ed8d141..000000000000 --- a/awscli/examples/chime/disassociate-phone-numbers-from-voice-connector.rst +++ /dev/null @@ -1,15 +0,0 @@ -**To disassociate phone numbers from an Amazon Chime Voice Connector** - -The following ``disassociate-phone-numbers-from-voice-connector`` example disassociates the specified phone numbers from an Amazon Chime Voice Connector. :: - - aws chime disassociate-phone-numbers-from-voice-connector \ - --voice-connector-id abcdef1ghij2klmno3pqr4 \ - --e164-phone-numbers "+12065550100" "+12065550101" - -Output:: - - { - "PhoneNumberErrors": [] - } - -For more information, see `Working with Amazon Chime Voice Connectors `__ in the *Amazon Chime Administration Guide*. diff --git a/awscli/examples/chime/get-proxy-session.rst b/awscli/examples/chime/get-proxy-session.rst deleted file mode 100644 index 0cff43880c34..000000000000 --- a/awscli/examples/chime/get-proxy-session.rst +++ /dev/null @@ -1,36 +0,0 @@ -**To get proxy session details** - -The following ``get-proxy-session`` example lists the details of the specified proxy session. :: - - aws chime get-proxy-session \ - --voice-connector-id abcdef1ghij2klmno3pqr4 \ - --proxy-session-id 123a4bc5-67d8-901e-2f3g-h4ghjk56789l - -Output:: - - { - "ProxySession": { - "VoiceConnectorId": "abcdef1ghij2klmno3pqr4", - "ProxySessionId": "123a4bc5-67d8-901e-2f3g-h4ghjk56789l", - "Status": "Open", - "ExpiryMinutes": 60, - "Capabilities": [ - "SMS", - "Voice" - ], - "CreatedTimestamp": "2020-04-15T16:10:10.288Z", - "UpdatedTimestamp": "2020-04-15T16:10:10.288Z", - "Participants": [ - { - "PhoneNumber": "+12065550100", - "ProxyPhoneNumber": "+19135550199" - }, - { - "PhoneNumber": "+14015550101", - "ProxyPhoneNumber": "+19135550199" - } - ] - } - } - -For more information, see `Proxy Phone Sessions `__ in the *Amazon Chime Developer Guide*. diff --git a/awscli/examples/chime/get-voice-connector-group.rst b/awscli/examples/chime/get-voice-connector-group.rst deleted file mode 100644 index 5194851ae6ec..000000000000 --- a/awscli/examples/chime/get-voice-connector-group.rst +++ /dev/null @@ -1,20 +0,0 @@ -**To get details for an Amazon Chime Voice Connector group** - -The following ``get-voice-connector-group`` example displays details for the specified Amazon Chime Voice Connector group. :: - - aws chime get-voice-connector-group \ - --voice-connector-group-id 123a456b-c7d8-90e1-fg23-4h567jkl8901 - -Output:: - - { - "VoiceConnectorGroup": { - "VoiceConnectorGroupId": "123a456b-c7d8-90e1-fg23-4h567jkl8901", - "Name": "myGroup", - "VoiceConnectorItems": [], - "CreatedTimestamp": "2019-09-18T16:38:34.734Z", - "UpdatedTimestamp": "2019-09-18T16:38:34.734Z" - } - } - -For more information, see `Working with Amazon Chime Voice Connector Groups `__ in the *Amazon Chime Administration Guide*. diff --git a/awscli/examples/chime/get-voice-connector-logging-configuration.rst b/awscli/examples/chime/get-voice-connector-logging-configuration.rst deleted file mode 100644 index 1d33ec358849..000000000000 --- a/awscli/examples/chime/get-voice-connector-logging-configuration.rst +++ /dev/null @@ -1,17 +0,0 @@ -**To get logging configuration details** - -The following ``get-voice-connector-logging-configuration`` example retreives the logging configuration details for the specified Amazon Chime Voice Connector. :: - - aws chime get-voice-connector-logging-configuration \ - --voice-connector-id abcdef1ghij2klmno3pqr4 - -Output:: - - { - "LoggingConfiguration": { - "EnableSIPLogs": true - } - } - - -For more information, see `Streaming Amazon Chime Voice Connector Media to Kinesis `__ in the *Amazon Chime Administration Guide*. \ No newline at end of file diff --git a/awscli/examples/chime/get-voice-connector-origination.rst b/awscli/examples/chime/get-voice-connector-origination.rst deleted file mode 100644 index e3c6cd099b22..000000000000 --- a/awscli/examples/chime/get-voice-connector-origination.rst +++ /dev/null @@ -1,25 +0,0 @@ -**To retrieve origination settings** - -The following ``get-voice-connector-origination`` example retrieves the origination host, port, protocol, priority, and weight for the specified Amazon Chime Voice Connector. :: - - aws chime get-voice-connector-origination \ - --voice-connector-id abcdef1ghij2klmno3pqr4 - -Output:: - - { - "Origination": { - "Routes": [ - { - "Host": "10.24.34.0", - "Port": 1234, - "Protocol": "TCP", - "Priority": 1, - "Weight": 5 - } - ], - "Disabled": false - } - } - -For more information, see `Working with Amazon Chime Voice Connectors `__ in the *Amazon Chime Administration Guide*. diff --git a/awscli/examples/chime/get-voice-connector-proxy.rst b/awscli/examples/chime/get-voice-connector-proxy.rst deleted file mode 100644 index 1ebab68d853c..000000000000 --- a/awscli/examples/chime/get-voice-connector-proxy.rst +++ /dev/null @@ -1,20 +0,0 @@ -**To get proxy configuration details** - -The following ``get-voice-connector-proxy`` example gets the proxy configuration details for your Amazon Chime Voice Connector. :: - - aws chime get-voice-connector-proxy \ - --voice-connector-id abcdef1ghij2klmno3pqr4 - -Output:: - - { - "Proxy": { - "DefaultSessionExpiryMinutes": 60, - "Disabled": false, - "PhoneNumberCountries": [ - "US" - ] - } - } - -For more information, see `Proxy Phone Sessions `__ in the *Amazon Chime Developer Guide*. diff --git a/awscli/examples/chime/get-voice-connector-streaming-configuration.rst b/awscli/examples/chime/get-voice-connector-streaming-configuration.rst deleted file mode 100644 index f2d2130d7fa9..000000000000 --- a/awscli/examples/chime/get-voice-connector-streaming-configuration.rst +++ /dev/null @@ -1,17 +0,0 @@ -**To get streaming configuration details** - -The following ``get-voice-connector-streaming-configuration`` example gets the streaming configuration details for the specified Amazon Chime Voice Connector. :: - - aws chime get-voice-connector-streaming-configuration \ - --voice-connector-id abcdef1ghij2klmno3pqr4 - -Output:: - - { - "StreamingConfiguration": { - "DataRetentionInHours": 24, - "Disabled": false - } - } - -For more information, see `Streaming Amazon Chime Voice Connector Data to Kinesis `__ in the *Amazon Chime Administration Guide*. diff --git a/awscli/examples/chime/get-voice-connector-termination-health.rst b/awscli/examples/chime/get-voice-connector-termination-health.rst deleted file mode 100644 index 16865be603a4..000000000000 --- a/awscli/examples/chime/get-voice-connector-termination-health.rst +++ /dev/null @@ -1,17 +0,0 @@ -**To retrieve termination health details** - -The following ``get-voice-connector-termination-health`` example retrieves the termination health details for the specified Amazon Chime Voice Connector. :: - - aws chime get-voice-connector-termination-health \ - --voice-connector-id abcdef1ghij2klmno3pqr4 - -Output:: - - { - "TerminationHealth": { - "Timestamp": "Fri Aug 23 16:45:55 UTC 2019", - "Source": "10.24.34.0" - } - } - -For more information, see `Working with Amazon Chime Voice Connectors `__ in the *Amazon Chime Administration Guide*. diff --git a/awscli/examples/chime/get-voice-connector-termination.rst b/awscli/examples/chime/get-voice-connector-termination.rst deleted file mode 100644 index f0c7f663cb70..000000000000 --- a/awscli/examples/chime/get-voice-connector-termination.rst +++ /dev/null @@ -1,25 +0,0 @@ -**To retrieve termination settings** - -The following ``get-voice-connector-termination`` example retrieves the termination settings for the specified Amazon Chime Voice Connector. :: - - aws chime get-voice-connector-termination \ - --voice-connector-id abcdef1ghij2klmno3pqr4 - -This command produces no output. -Output:: - - { - "Termination": { - "CpsLimit": 1, - "DefaultPhoneNumber": "+12065550100", - "CallingRegions": [ - "US" - ], - "CidrAllowedList": [ - "10.24.34.0/23" - ], - "Disabled": false - } - } - -For more information, see `Working with Amazon Chime Voice Connectors `__ in the *Amazon Chime Administration Guide*. diff --git a/awscli/examples/chime/get-voice-connector.rst b/awscli/examples/chime/get-voice-connector.rst deleted file mode 100644 index e949829f1e07..000000000000 --- a/awscli/examples/chime/get-voice-connector.rst +++ /dev/null @@ -1,22 +0,0 @@ -**To get details for an Amazon Chime Voice Connector** - -The following ``get-voice-connector`` example displays the details of the specified Amazon Chime Voice Connector. :: - - aws chime get-voice-connector \ - --voice-connector-id abcdef1ghij2klmno3pqr4 - -Output:: - - { - "VoiceConnector": { - "VoiceConnectorId": "abcdef1ghij2klmno3pqr4", - "AwsRegion": "us-west-2", - "Name": "newVoiceConnector", - "OutboundHostName": "abcdef1ghij2klmno3pqr4.voiceconnector.chime.aws", - "RequireEncryption": true, - "CreatedTimestamp": "2019-09-18T20:34:01.352Z", - "UpdatedTimestamp": "2019-09-18T20:34:01.352Z" - } - } - -For more information, see `Working with Amazon Chime Voice Connectors `__ in the *Amazon Chime Administration Guide*. diff --git a/awscli/examples/chime/list-proxy-sessions.rst b/awscli/examples/chime/list-proxy-sessions.rst deleted file mode 100644 index 45cd08efbd89..000000000000 --- a/awscli/examples/chime/list-proxy-sessions.rst +++ /dev/null @@ -1,35 +0,0 @@ -**To list proxy sessions** - -The following ``list-proxy-sessions`` example lists the proxy sessions for your Amazon Chime Voice Connector. :: - - aws chime list-proxy-sessions \ - --voice-connector-id abcdef1ghij2klmno3pqr4 - -Output:: - - { - "ProxySession": { - "VoiceConnectorId": "abcdef1ghij2klmno3pqr4", - "ProxySessionId": "123a4bc5-67d8-901e-2f3g-h4ghjk56789l", - "Status": "Open", - "ExpiryMinutes": 60, - "Capabilities": [ - "SMS", - "Voice" - ], - "CreatedTimestamp": "2020-04-15T16:10:10.288Z", - "UpdatedTimestamp": "2020-04-15T16:10:10.288Z", - "Participants": [ - { - "PhoneNumber": "+12065550100", - "ProxyPhoneNumber": "+19135550199" - }, - { - "PhoneNumber": "+14015550101", - "ProxyPhoneNumber": "+19135550199" - } - ] - } - } - -For more information, see `Proxy Phone Sessions `__ in the *Amazon Chime Developer Guide*. diff --git a/awscli/examples/chime/list-voice-connector-groups.rst b/awscli/examples/chime/list-voice-connector-groups.rst deleted file mode 100644 index 74a83dea413e..000000000000 --- a/awscli/examples/chime/list-voice-connector-groups.rst +++ /dev/null @@ -1,21 +0,0 @@ -**To list Amazon Chime Voice Connector groups for an Amazon Chime account** - -The following ``list-voice-connector-groups`` example lists the Amazon Chime Voice Connector groups associated with the administrator's Amazon Chime account. :: - - aws chime list-voice-connector-groups - -Output:: - - { - "VoiceConnectorGroups": [ - { - "VoiceConnectorGroupId": "123a456b-c7d8-90e1-fg23-4h567jkl8901", - "Name": "myGroup", - "VoiceConnectorItems": [], - "CreatedTimestamp": "2019-09-18T16:38:34.734Z", - "UpdatedTimestamp": "2019-09-18T16:38:34.734Z" - } - ] - } - -For more information, see `Working with Amazon Chime Voice Connector groups `__ in the *Amazon Chime Administration Guide*. diff --git a/awscli/examples/chime/list-voice-connector-termination-credentials.rst b/awscli/examples/chime/list-voice-connector-termination-credentials.rst deleted file mode 100644 index c52ca1efd046..000000000000 --- a/awscli/examples/chime/list-voice-connector-termination-credentials.rst +++ /dev/null @@ -1,17 +0,0 @@ -**To retrieve a list of termination credentials** - -The following ``list-voice-connector-termination-credentials`` example retrieves a list of the termination credentials for the specified Amazon Chime Voice Connector. :: - - aws chime list-voice-connector-termination-credentials \ - --voice-connector-id abcdef1ghij2klmno3pqr4 - -This command produces no output. -Output:: - - { - "Usernames": [ - "jdoe" - ] - } - -For more information, see `Working with Amazon Chime Voice Connectors `__ in the *Amazon Chime Administration Guide*. diff --git a/awscli/examples/chime/list-voice-connectors.rst b/awscli/examples/chime/list-voice-connectors.rst deleted file mode 100644 index 748d14086de3..000000000000 --- a/awscli/examples/chime/list-voice-connectors.rst +++ /dev/null @@ -1,32 +0,0 @@ -**To list Amazon Chime Voice Connectors for an account** - -The following ``list-voice-connectors`` example lists the Amazon Chime Voice Connectors associated with the caller's account. :: - - aws chime list-voice-connectors - -Output:: - - { - "VoiceConnectors": [ - { - "VoiceConnectorId": "abcdef1ghij2klmno3pqr4", - "AwsRegion": "us-east-1", - "Name": "MyVoiceConnector", - "OutboundHostName": "abcdef1ghij2klmno3pqr4.voiceconnector.chime.aws", - "RequireEncryption": true, - "CreatedTimestamp": "2019-06-04T18:46:56.508Z", - "UpdatedTimestamp": "2019-09-18T16:33:00.806Z" - }, - { - "VoiceConnectorId": "cbadef1ghij2klmno3pqr5", - "AwsRegion": "us-west-2", - "Name": "newVoiceConnector", - "OutboundHostName": "cbadef1ghij2klmno3pqr5.voiceconnector.chime.aws", - "RequireEncryption": true, - "CreatedTimestamp": "2019-09-18T20:34:01.352Z", - "UpdatedTimestamp": "2019-09-18T20:34:01.352Z" - } - ] - } - -For more information, see `Working with Amazon Chime Voice Connectors `__ in the *Amazon Chime Administration Guide*. diff --git a/awscli/examples/chime/put-voice-connector-logging-configuration.rst b/awscli/examples/chime/put-voice-connector-logging-configuration.rst deleted file mode 100644 index b448491370e8..000000000000 --- a/awscli/examples/chime/put-voice-connector-logging-configuration.rst +++ /dev/null @@ -1,17 +0,0 @@ -**To add a logging configuration for an Amazon Chime Voice Connector** - -The following ``put-voice-connector-logging-configuration`` example turns on the SIP logging configuration for the specified Amazon Chime Voice Connector. :: - - aws chime put-voice-connector-logging-configuration \ - --voice-connector-id abcdef1ghij2klmno3pqr4 \ - --logging-configuration EnableSIPLogs=true - -Output:: - - { - "LoggingConfiguration": { - "EnableSIPLogs": true - } - } - -For more information, see `Streaming Amazon Chime Voice Connector Media to Kinesis `__ in the *Amazon Chime Administration Guide*. diff --git a/awscli/examples/chime/put-voice-connector-origination.rst b/awscli/examples/chime/put-voice-connector-origination.rst deleted file mode 100644 index a125fe342905..000000000000 --- a/awscli/examples/chime/put-voice-connector-origination.rst +++ /dev/null @@ -1,26 +0,0 @@ -**To set up origination settings** - -The following ``put-voice-connector-origination`` example sets up the origination host, port, protocol, priority, and weight for the specified Amazon Chime Voice Connector. :: - - aws chime put-voice-connector-origination \ - --voice-connector-id abcdef1ghij2klmno3pqr4 \ - --origination Routes=[{Host="10.24.34.0",Port=1234,Protocol="TCP",Priority=1,Weight=5}],Disabled=false - -Output:: - - { - "Origination": { - "Routes": [ - { - "Host": "10.24.34.0", - "Port": 1234, - "Protocol": "TCP", - "Priority": 1, - "Weight": 5 - } - ], - "Disabled": false - } - } - -For more information, see `Working with Amazon Chime Voice Connectors `__ in the *Amazon Chime Administration Guide*. diff --git a/awscli/examples/chime/put-voice-connector-proxy.rst b/awscli/examples/chime/put-voice-connector-proxy.rst deleted file mode 100644 index a1496d64d84f..000000000000 --- a/awscli/examples/chime/put-voice-connector-proxy.rst +++ /dev/null @@ -1,22 +0,0 @@ -**To put a proxy configuration** - -The following ``put-voice-connector-proxy`` example sets a proxy configuration to your Amazon Chime Voice Connector. :: - - aws chime put-voice-connector-proxy \ - --voice-connector-id abcdef1ghij2klmno3pqr4 \ - --default-session-expiry-minutes 60 \ - --phone-number-pool-countries "US" - -Output:: - - { - "Proxy": { - "DefaultSessionExpiryMinutes": 60, - "Disabled": false, - "PhoneNumberCountries": [ - "US" - ] - } - } - -For more information, see `Proxy Phone Sessions `__ in the *Amazon Chime Developer Guide*. diff --git a/awscli/examples/chime/put-voice-connector-streaming-configuration.rst b/awscli/examples/chime/put-voice-connector-streaming-configuration.rst deleted file mode 100644 index 8c05056a2de0..000000000000 --- a/awscli/examples/chime/put-voice-connector-streaming-configuration.rst +++ /dev/null @@ -1,18 +0,0 @@ -**To create a streaming configuration** - -The following ``put-voice-connector-streaming-configuration`` example creates a streaming configuration for the specified Amazon Chime Voice Connector. It enables media streaming from the Amazon Chime Voice Connector to Amazon Kinesis, and sets the data retention period to 24 hours. :: - - aws chime put-voice-connector-streaming-configuration \ - --voice-connector-id abcdef1ghij2klmno3pqr4 \ - --streaming-configuration DataRetentionInHours=24,Disabled=false - -Output:: - - { - "StreamingConfiguration": { - "DataRetentionInHours": 24, - "Disabled": false - } - } - -For more information, see `Streaming Amazon Chime Voice Connector Data to Kinesis `__ in the *Amazon Chime Administration Guide*. diff --git a/awscli/examples/chime/put-voice-connector-termination-credentials.rst b/awscli/examples/chime/put-voice-connector-termination-credentials.rst deleted file mode 100644 index b42f7f6f6fc3..000000000000 --- a/awscli/examples/chime/put-voice-connector-termination-credentials.rst +++ /dev/null @@ -1,11 +0,0 @@ -**To set up termination credentials** - -The following ``put-voice-connector-termination-credentials`` example sets termination credentials for the specified Amazon Chime Voice Connector. :: - - aws chime put-voice-connector-termination-credentials \ - --voice-connector-id abcdef1ghij2klmno3pqr4 \ - --credentials Username="jdoe",Password="XXXXXXXX" - -This command produces no output. - -For more information, see `Working with Amazon Chime Voice Connectors `__ in the *Amazon Chime Administration Guide*. diff --git a/awscli/examples/chime/put-voice-connector-termination.rst b/awscli/examples/chime/put-voice-connector-termination.rst deleted file mode 100644 index fb0093e0e41f..000000000000 --- a/awscli/examples/chime/put-voice-connector-termination.rst +++ /dev/null @@ -1,24 +0,0 @@ -**To set up termination settings** - -The following ``put-voice-connector-termination`` example sets the calling regions and allowed IP host termination settings for the specified Amazon Chime Voice Connector. :: - - aws chime put-voice-connector-termination \ - --voice-connector-id abcdef1ghij2klmno3pqr4 \ - --termination CallingRegions="US",CidrAllowedList="10.24.34.0/23",Disabled=false - -Output:: - - { - "Termination": { - "CpsLimit": 0, - "CallingRegions": [ - "US" - ], - "CidrAllowedList": [ - "10.24.34.0/23" - ], - "Disabled": false - } - } - -For more information, see `Working with Amazon Chime Voice Connectors `__ in the *Amazon Chime Administration Guide*. diff --git a/awscli/examples/chime/update-proxy-session.rst b/awscli/examples/chime/update-proxy-session.rst deleted file mode 100644 index 94099230ede9..000000000000 --- a/awscli/examples/chime/update-proxy-session.rst +++ /dev/null @@ -1,36 +0,0 @@ -**To update a proxy session** - -The following ``update-proxy-session`` example updates the proxy session capabilities. :: - - aws chime update-proxy-session \ - --voice-connector-id abcdef1ghij2klmno3pqr4 \ - --proxy-session-id 123a4bc5-67d8-901e-2f3g-h4ghjk56789l \ - --capabilities "Voice" - -Output:: - - { - "ProxySession": { - "VoiceConnectorId": "abcdef1ghij2klmno3pqr4", - "ProxySessionId": "123a4bc5-67d8-901e-2f3g-h4ghjk56789l", - "Status": "Open", - "ExpiryMinutes": 60, - "Capabilities": [ - "Voice" - ], - "CreatedTimestamp": "2020-04-15T16:10:10.288Z", - "UpdatedTimestamp": "2020-04-15T16:10:10.288Z", - "Participants": [ - { - "PhoneNumber": "+12065550100", - "ProxyPhoneNumber": "+19135550199" - }, - { - "PhoneNumber": "+14015550101", - "ProxyPhoneNumber": "+19135550199" - } - ] - } - } - -For more information, see `Proxy Phone Sessions `__ in the *Amazon Chime Developer Guide*. diff --git a/awscli/examples/chime/update-voice-connector-group.rst b/awscli/examples/chime/update-voice-connector-group.rst deleted file mode 100644 index 428ac65e5b3f..000000000000 --- a/awscli/examples/chime/update-voice-connector-group.rst +++ /dev/null @@ -1,27 +0,0 @@ -**To update the details for an Amazon Chime Voice Connector group** - -The following ``update-voice-connector-group`` example updates the details of the specified Amazon Chime Voice Connector group. :: - - aws chime update-voice-connector-group \ - --voice-connector-group-id 123a456b-c7d8-90e1-fg23-4h567jkl8901 \ - --name "newGroupName" \ - --voice-connector-items VoiceConnectorId=abcdef1ghij2klmno3pqr4,Priority=1 - -Output:: - - { - "VoiceConnectorGroup": { - "VoiceConnectorGroupId": "123a456b-c7d8-90e1-fg23-4h567jkl8901", - "Name": "newGroupName", - "VoiceConnectorItems": [ - { - "VoiceConnectorId": "abcdef1ghij2klmno3pqr4", - "Priority": 1 - } - ], - "CreatedTimestamp": "2019-09-18T16:38:34.734Z", - "UpdatedTimestamp": "2019-10-28T19:00:57.081Z" - } - } - -For more information, see `Working with Amazon Chime Voice Connector Groups `__ in the *Amazon Chime Administration Guide*. diff --git a/awscli/examples/chime/update-voice-connector.rst b/awscli/examples/chime/update-voice-connector.rst deleted file mode 100644 index a80223f3383e..000000000000 --- a/awscli/examples/chime/update-voice-connector.rst +++ /dev/null @@ -1,24 +0,0 @@ -**To update the details for an Amazon Chime Voice Connector** - -The following ``update-voice-connector`` example updates the name of the specified Amazon Chime Voice Connector. :: - - aws chime update-voice-connector \ - --voice-connector-id abcdef1ghij2klmno3pqr4 \ - --name newName \ - --require-encryption - -Output:: - - { - "VoiceConnector": { - "VoiceConnectorId": "abcdef1ghij2klmno3pqr4", - "AwsRegion": "us-west-2", - "Name": "newName", - "OutboundHostName": "abcdef1ghij2klmno3pqr4.voiceconnector.chime.aws", - "RequireEncryption": true, - "CreatedTimestamp": "2019-09-18T20:34:01.352Z", - "UpdatedTimestamp": "2019-09-18T20:40:52.895Z" - } - } - -For more information, see `Working with Amazon Chime Voice Connectors `__ in the *Amazon Chime Administration Guide*. From 344026d488c642e680b7569026d915b485658534 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 26 Feb 2025 19:28:55 +0000 Subject: [PATCH 0483/1087] Update changelog based on model updates --- .../next-release/api-change-applicationsignals-54046.json | 5 +++++ .changes/next-release/api-change-batch-70576.json | 5 +++++ .changes/next-release/api-change-chime-12404.json | 5 +++++ .changes/next-release/api-change-cloudfront-88364.json | 5 +++++ .changes/next-release/api-change-ec2-96903.json | 5 +++++ .changes/next-release/api-change-iotfleetwise-69053.json | 5 +++++ .changes/next-release/api-change-oam-87579.json | 5 +++++ .changes/next-release/api-change-sagemaker-92793.json | 5 +++++ 8 files changed, 40 insertions(+) create mode 100644 .changes/next-release/api-change-applicationsignals-54046.json create mode 100644 .changes/next-release/api-change-batch-70576.json create mode 100644 .changes/next-release/api-change-chime-12404.json create mode 100644 .changes/next-release/api-change-cloudfront-88364.json create mode 100644 .changes/next-release/api-change-ec2-96903.json create mode 100644 .changes/next-release/api-change-iotfleetwise-69053.json create mode 100644 .changes/next-release/api-change-oam-87579.json create mode 100644 .changes/next-release/api-change-sagemaker-92793.json diff --git a/.changes/next-release/api-change-applicationsignals-54046.json b/.changes/next-release/api-change-applicationsignals-54046.json new file mode 100644 index 000000000000..294b9c585107 --- /dev/null +++ b/.changes/next-release/api-change-applicationsignals-54046.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``application-signals``", + "description": "This release adds API support for reading Service Level Objectives and Services from monitoring accounts, from SLO and Service-scoped operations, including ListServices and ListServiceLevelObjectives." +} diff --git a/.changes/next-release/api-change-batch-70576.json b/.changes/next-release/api-change-batch-70576.json new file mode 100644 index 000000000000..d0986d2f9d96 --- /dev/null +++ b/.changes/next-release/api-change-batch-70576.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``batch``", + "description": "AWS Batch: Resource Aware Scheduling feature support" +} diff --git a/.changes/next-release/api-change-chime-12404.json b/.changes/next-release/api-change-chime-12404.json new file mode 100644 index 000000000000..a0c7cf548f91 --- /dev/null +++ b/.changes/next-release/api-change-chime-12404.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``chime``", + "description": "Removes the Amazon Chime SDK APIs from the \"chime\" namespace. Amazon Chime SDK APIs continue to be available in the AWS SDK via the dedicated Amazon Chime SDK namespaces: chime-sdk-identity, chime-sdk-mediapipelines, chime-sdk-meetings, chime-sdk-messaging, and chime-sdk-voice." +} diff --git a/.changes/next-release/api-change-cloudfront-88364.json b/.changes/next-release/api-change-cloudfront-88364.json new file mode 100644 index 000000000000..f9e173fbaab6 --- /dev/null +++ b/.changes/next-release/api-change-cloudfront-88364.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``cloudfront``", + "description": "Documentation update for VPC origin config." +} diff --git a/.changes/next-release/api-change-ec2-96903.json b/.changes/next-release/api-change-ec2-96903.json new file mode 100644 index 000000000000..9792ae2027da --- /dev/null +++ b/.changes/next-release/api-change-ec2-96903.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ec2``", + "description": "Amazon EC2 Fleet customers can now override the Block Device Mapping specified in the Launch Template when creating a new Fleet request, saving the effort of creating and associating new Launch Templates to customize the Block Device Mapping." +} diff --git a/.changes/next-release/api-change-iotfleetwise-69053.json b/.changes/next-release/api-change-iotfleetwise-69053.json new file mode 100644 index 000000000000..f8c13cd6d75a --- /dev/null +++ b/.changes/next-release/api-change-iotfleetwise-69053.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``iotfleetwise``", + "description": "This release adds an optional listResponseScope request parameter in certain list API requests to limit the response to metadata only." +} diff --git a/.changes/next-release/api-change-oam-87579.json b/.changes/next-release/api-change-oam-87579.json new file mode 100644 index 000000000000..277b8eab3fff --- /dev/null +++ b/.changes/next-release/api-change-oam-87579.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``oam``", + "description": "This release adds support for sharing AWS::ApplicationSignals::Service and AWS::ApplicationSignals::ServiceLevelObjective resources." +} diff --git a/.changes/next-release/api-change-sagemaker-92793.json b/.changes/next-release/api-change-sagemaker-92793.json new file mode 100644 index 000000000000..9ff5a3a6e2c4 --- /dev/null +++ b/.changes/next-release/api-change-sagemaker-92793.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``sagemaker``", + "description": "AWS SageMaker InferenceComponents now support rolling update deployments for Inference Components." +} From 7dfd1d2abefa1b39c7f799407e000f3a4720627e Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 26 Feb 2025 19:30:13 +0000 Subject: [PATCH 0484/1087] Bumping version to 1.38.2 --- .changes/1.38.2.json | 42 +++++++++++++++++++ .../api-change-applicationsignals-54046.json | 5 --- .../next-release/api-change-batch-70576.json | 5 --- .../next-release/api-change-chime-12404.json | 5 --- .../api-change-cloudfront-88364.json | 5 --- .../next-release/api-change-ec2-96903.json | 5 --- .../api-change-iotfleetwise-69053.json | 5 --- .../next-release/api-change-oam-87579.json | 5 --- .../api-change-sagemaker-92793.json | 5 --- CHANGELOG.rst | 13 ++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 14 files changed, 59 insertions(+), 44 deletions(-) create mode 100644 .changes/1.38.2.json delete mode 100644 .changes/next-release/api-change-applicationsignals-54046.json delete mode 100644 .changes/next-release/api-change-batch-70576.json delete mode 100644 .changes/next-release/api-change-chime-12404.json delete mode 100644 .changes/next-release/api-change-cloudfront-88364.json delete mode 100644 .changes/next-release/api-change-ec2-96903.json delete mode 100644 .changes/next-release/api-change-iotfleetwise-69053.json delete mode 100644 .changes/next-release/api-change-oam-87579.json delete mode 100644 .changes/next-release/api-change-sagemaker-92793.json diff --git a/.changes/1.38.2.json b/.changes/1.38.2.json new file mode 100644 index 000000000000..e4611f261bf8 --- /dev/null +++ b/.changes/1.38.2.json @@ -0,0 +1,42 @@ +[ + { + "category": "``application-signals``", + "description": "This release adds API support for reading Service Level Objectives and Services from monitoring accounts, from SLO and Service-scoped operations, including ListServices and ListServiceLevelObjectives.", + "type": "api-change" + }, + { + "category": "``batch``", + "description": "AWS Batch: Resource Aware Scheduling feature support", + "type": "api-change" + }, + { + "category": "``chime``", + "description": "Removes the Amazon Chime SDK APIs from the \"chime\" namespace. Amazon Chime SDK APIs continue to be available in the AWS SDK via the dedicated Amazon Chime SDK namespaces: chime-sdk-identity, chime-sdk-mediapipelines, chime-sdk-meetings, chime-sdk-messaging, and chime-sdk-voice.", + "type": "api-change" + }, + { + "category": "``cloudfront``", + "description": "Documentation update for VPC origin config.", + "type": "api-change" + }, + { + "category": "``ec2``", + "description": "Amazon EC2 Fleet customers can now override the Block Device Mapping specified in the Launch Template when creating a new Fleet request, saving the effort of creating and associating new Launch Templates to customize the Block Device Mapping.", + "type": "api-change" + }, + { + "category": "``iotfleetwise``", + "description": "This release adds an optional listResponseScope request parameter in certain list API requests to limit the response to metadata only.", + "type": "api-change" + }, + { + "category": "``oam``", + "description": "This release adds support for sharing AWS::ApplicationSignals::Service and AWS::ApplicationSignals::ServiceLevelObjective resources.", + "type": "api-change" + }, + { + "category": "``sagemaker``", + "description": "AWS SageMaker InferenceComponents now support rolling update deployments for Inference Components.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-applicationsignals-54046.json b/.changes/next-release/api-change-applicationsignals-54046.json deleted file mode 100644 index 294b9c585107..000000000000 --- a/.changes/next-release/api-change-applicationsignals-54046.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``application-signals``", - "description": "This release adds API support for reading Service Level Objectives and Services from monitoring accounts, from SLO and Service-scoped operations, including ListServices and ListServiceLevelObjectives." -} diff --git a/.changes/next-release/api-change-batch-70576.json b/.changes/next-release/api-change-batch-70576.json deleted file mode 100644 index d0986d2f9d96..000000000000 --- a/.changes/next-release/api-change-batch-70576.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``batch``", - "description": "AWS Batch: Resource Aware Scheduling feature support" -} diff --git a/.changes/next-release/api-change-chime-12404.json b/.changes/next-release/api-change-chime-12404.json deleted file mode 100644 index a0c7cf548f91..000000000000 --- a/.changes/next-release/api-change-chime-12404.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``chime``", - "description": "Removes the Amazon Chime SDK APIs from the \"chime\" namespace. Amazon Chime SDK APIs continue to be available in the AWS SDK via the dedicated Amazon Chime SDK namespaces: chime-sdk-identity, chime-sdk-mediapipelines, chime-sdk-meetings, chime-sdk-messaging, and chime-sdk-voice." -} diff --git a/.changes/next-release/api-change-cloudfront-88364.json b/.changes/next-release/api-change-cloudfront-88364.json deleted file mode 100644 index f9e173fbaab6..000000000000 --- a/.changes/next-release/api-change-cloudfront-88364.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``cloudfront``", - "description": "Documentation update for VPC origin config." -} diff --git a/.changes/next-release/api-change-ec2-96903.json b/.changes/next-release/api-change-ec2-96903.json deleted file mode 100644 index 9792ae2027da..000000000000 --- a/.changes/next-release/api-change-ec2-96903.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ec2``", - "description": "Amazon EC2 Fleet customers can now override the Block Device Mapping specified in the Launch Template when creating a new Fleet request, saving the effort of creating and associating new Launch Templates to customize the Block Device Mapping." -} diff --git a/.changes/next-release/api-change-iotfleetwise-69053.json b/.changes/next-release/api-change-iotfleetwise-69053.json deleted file mode 100644 index f8c13cd6d75a..000000000000 --- a/.changes/next-release/api-change-iotfleetwise-69053.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``iotfleetwise``", - "description": "This release adds an optional listResponseScope request parameter in certain list API requests to limit the response to metadata only." -} diff --git a/.changes/next-release/api-change-oam-87579.json b/.changes/next-release/api-change-oam-87579.json deleted file mode 100644 index 277b8eab3fff..000000000000 --- a/.changes/next-release/api-change-oam-87579.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``oam``", - "description": "This release adds support for sharing AWS::ApplicationSignals::Service and AWS::ApplicationSignals::ServiceLevelObjective resources." -} diff --git a/.changes/next-release/api-change-sagemaker-92793.json b/.changes/next-release/api-change-sagemaker-92793.json deleted file mode 100644 index 9ff5a3a6e2c4..000000000000 --- a/.changes/next-release/api-change-sagemaker-92793.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``sagemaker``", - "description": "AWS SageMaker InferenceComponents now support rolling update deployments for Inference Components." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 5413f7e9af33..e1f7bf584d78 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,19 @@ CHANGELOG ========= +1.38.2 +====== + +* api-change:``application-signals``: This release adds API support for reading Service Level Objectives and Services from monitoring accounts, from SLO and Service-scoped operations, including ListServices and ListServiceLevelObjectives. +* api-change:``batch``: AWS Batch: Resource Aware Scheduling feature support +* api-change:``chime``: Removes the Amazon Chime SDK APIs from the "chime" namespace. Amazon Chime SDK APIs continue to be available in the AWS SDK via the dedicated Amazon Chime SDK namespaces: chime-sdk-identity, chime-sdk-mediapipelines, chime-sdk-meetings, chime-sdk-messaging, and chime-sdk-voice. +* api-change:``cloudfront``: Documentation update for VPC origin config. +* api-change:``ec2``: Amazon EC2 Fleet customers can now override the Block Device Mapping specified in the Launch Template when creating a new Fleet request, saving the effort of creating and associating new Launch Templates to customize the Block Device Mapping. +* api-change:``iotfleetwise``: This release adds an optional listResponseScope request parameter in certain list API requests to limit the response to metadata only. +* api-change:``oam``: This release adds support for sharing AWS::ApplicationSignals::Service and AWS::ApplicationSignals::ServiceLevelObjective resources. +* api-change:``sagemaker``: AWS SageMaker InferenceComponents now support rolling update deployments for Inference Components. + + 1.38.1 ====== diff --git a/awscli/__init__.py b/awscli/__init__.py index d418fee1cecf..0633e84d87d7 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.38.1' +__version__ = '1.38.2' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 04f4b5b83a1a..d29dfe1e8b4b 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.38' # The full version, including alpha/beta/rc tags. -release = '1.38.1' +release = '1.38.2' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 0eda60db2af6..5ec627b81a40 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.37.1 + botocore==1.37.2 docutils>=0.10,<0.17 s3transfer>=0.11.0,<0.12.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index f83fa41633e5..3c8e6041c7c1 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.37.1', + 'botocore==1.37.2', 'docutils>=0.10,<0.17', 's3transfer>=0.11.0,<0.12.0', 'PyYAML>=3.10,<6.1', From 484b1fa1d6ef401bf48f1113afeeb5fa2f0a570b Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 27 Feb 2025 19:11:28 +0000 Subject: [PATCH 0485/1087] Update changelog based on model updates --- .../next-release/api-change-bedrockagentruntime-70737.json | 5 +++++ .changes/next-release/api-change-emr-37967.json | 5 +++++ .changes/next-release/api-change-qbusiness-96657.json | 5 +++++ .../next-release/api-change-redshiftserverless-48956.json | 5 +++++ .changes/next-release/api-change-sagemaker-45650.json | 5 +++++ .changes/next-release/api-change-storagegateway-46362.json | 5 +++++ 6 files changed, 30 insertions(+) create mode 100644 .changes/next-release/api-change-bedrockagentruntime-70737.json create mode 100644 .changes/next-release/api-change-emr-37967.json create mode 100644 .changes/next-release/api-change-qbusiness-96657.json create mode 100644 .changes/next-release/api-change-redshiftserverless-48956.json create mode 100644 .changes/next-release/api-change-sagemaker-45650.json create mode 100644 .changes/next-release/api-change-storagegateway-46362.json diff --git a/.changes/next-release/api-change-bedrockagentruntime-70737.json b/.changes/next-release/api-change-bedrockagentruntime-70737.json new file mode 100644 index 000000000000..bdba4ae63785 --- /dev/null +++ b/.changes/next-release/api-change-bedrockagentruntime-70737.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-agent-runtime``", + "description": "Introduces Sessions (preview) to enable stateful conversations in GenAI applications." +} diff --git a/.changes/next-release/api-change-emr-37967.json b/.changes/next-release/api-change-emr-37967.json new file mode 100644 index 000000000000..73e9ee9901cf --- /dev/null +++ b/.changes/next-release/api-change-emr-37967.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``emr``", + "description": "Definition update for EbsConfiguration." +} diff --git a/.changes/next-release/api-change-qbusiness-96657.json b/.changes/next-release/api-change-qbusiness-96657.json new file mode 100644 index 000000000000..3822268c57bb --- /dev/null +++ b/.changes/next-release/api-change-qbusiness-96657.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``qbusiness``", + "description": "This release supports deleting attachments from conversations." +} diff --git a/.changes/next-release/api-change-redshiftserverless-48956.json b/.changes/next-release/api-change-redshiftserverless-48956.json new file mode 100644 index 000000000000..dd4eae81e02c --- /dev/null +++ b/.changes/next-release/api-change-redshiftserverless-48956.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``redshift-serverless``", + "description": "Add track support for Redshift Serverless workgroup." +} diff --git a/.changes/next-release/api-change-sagemaker-45650.json b/.changes/next-release/api-change-sagemaker-45650.json new file mode 100644 index 000000000000..6c5e8c959b4d --- /dev/null +++ b/.changes/next-release/api-change-sagemaker-45650.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``sagemaker``", + "description": "SageMaker HubService is introducing support for creating Training Jobs in Curated Hub (Private Hub). Additionally, it is introducing two new APIs: UpdateHubContent and UpdateHubContentReference." +} diff --git a/.changes/next-release/api-change-storagegateway-46362.json b/.changes/next-release/api-change-storagegateway-46362.json new file mode 100644 index 000000000000..c2b7788d2ce0 --- /dev/null +++ b/.changes/next-release/api-change-storagegateway-46362.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``storagegateway``", + "description": "This release adds support to invoke a process that cleans the specified file share's cache of file entries that are failing upload to Amazon S3." +} From d8d6d282cb6a71e3b4274cba5f78ea423847a235 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 27 Feb 2025 19:12:44 +0000 Subject: [PATCH 0486/1087] Bumping version to 1.38.3 --- .changes/1.38.3.json | 32 +++++++++++++++++++ .../api-change-bedrockagentruntime-70737.json | 5 --- .../next-release/api-change-emr-37967.json | 5 --- .../api-change-qbusiness-96657.json | 5 --- .../api-change-redshiftserverless-48956.json | 5 --- .../api-change-sagemaker-45650.json | 5 --- .../api-change-storagegateway-46362.json | 5 --- CHANGELOG.rst | 11 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 12 files changed, 47 insertions(+), 34 deletions(-) create mode 100644 .changes/1.38.3.json delete mode 100644 .changes/next-release/api-change-bedrockagentruntime-70737.json delete mode 100644 .changes/next-release/api-change-emr-37967.json delete mode 100644 .changes/next-release/api-change-qbusiness-96657.json delete mode 100644 .changes/next-release/api-change-redshiftserverless-48956.json delete mode 100644 .changes/next-release/api-change-sagemaker-45650.json delete mode 100644 .changes/next-release/api-change-storagegateway-46362.json diff --git a/.changes/1.38.3.json b/.changes/1.38.3.json new file mode 100644 index 000000000000..771e13af120f --- /dev/null +++ b/.changes/1.38.3.json @@ -0,0 +1,32 @@ +[ + { + "category": "``bedrock-agent-runtime``", + "description": "Introduces Sessions (preview) to enable stateful conversations in GenAI applications.", + "type": "api-change" + }, + { + "category": "``emr``", + "description": "Definition update for EbsConfiguration.", + "type": "api-change" + }, + { + "category": "``qbusiness``", + "description": "This release supports deleting attachments from conversations.", + "type": "api-change" + }, + { + "category": "``redshift-serverless``", + "description": "Add track support for Redshift Serverless workgroup.", + "type": "api-change" + }, + { + "category": "``sagemaker``", + "description": "SageMaker HubService is introducing support for creating Training Jobs in Curated Hub (Private Hub). Additionally, it is introducing two new APIs: UpdateHubContent and UpdateHubContentReference.", + "type": "api-change" + }, + { + "category": "``storagegateway``", + "description": "This release adds support to invoke a process that cleans the specified file share's cache of file entries that are failing upload to Amazon S3.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-bedrockagentruntime-70737.json b/.changes/next-release/api-change-bedrockagentruntime-70737.json deleted file mode 100644 index bdba4ae63785..000000000000 --- a/.changes/next-release/api-change-bedrockagentruntime-70737.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-agent-runtime``", - "description": "Introduces Sessions (preview) to enable stateful conversations in GenAI applications." -} diff --git a/.changes/next-release/api-change-emr-37967.json b/.changes/next-release/api-change-emr-37967.json deleted file mode 100644 index 73e9ee9901cf..000000000000 --- a/.changes/next-release/api-change-emr-37967.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``emr``", - "description": "Definition update for EbsConfiguration." -} diff --git a/.changes/next-release/api-change-qbusiness-96657.json b/.changes/next-release/api-change-qbusiness-96657.json deleted file mode 100644 index 3822268c57bb..000000000000 --- a/.changes/next-release/api-change-qbusiness-96657.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``qbusiness``", - "description": "This release supports deleting attachments from conversations." -} diff --git a/.changes/next-release/api-change-redshiftserverless-48956.json b/.changes/next-release/api-change-redshiftserverless-48956.json deleted file mode 100644 index dd4eae81e02c..000000000000 --- a/.changes/next-release/api-change-redshiftserverless-48956.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``redshift-serverless``", - "description": "Add track support for Redshift Serverless workgroup." -} diff --git a/.changes/next-release/api-change-sagemaker-45650.json b/.changes/next-release/api-change-sagemaker-45650.json deleted file mode 100644 index 6c5e8c959b4d..000000000000 --- a/.changes/next-release/api-change-sagemaker-45650.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``sagemaker``", - "description": "SageMaker HubService is introducing support for creating Training Jobs in Curated Hub (Private Hub). Additionally, it is introducing two new APIs: UpdateHubContent and UpdateHubContentReference." -} diff --git a/.changes/next-release/api-change-storagegateway-46362.json b/.changes/next-release/api-change-storagegateway-46362.json deleted file mode 100644 index c2b7788d2ce0..000000000000 --- a/.changes/next-release/api-change-storagegateway-46362.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``storagegateway``", - "description": "This release adds support to invoke a process that cleans the specified file share's cache of file entries that are failing upload to Amazon S3." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index e1f7bf584d78..0030eee97773 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,17 @@ CHANGELOG ========= +1.38.3 +====== + +* api-change:``bedrock-agent-runtime``: Introduces Sessions (preview) to enable stateful conversations in GenAI applications. +* api-change:``emr``: Definition update for EbsConfiguration. +* api-change:``qbusiness``: This release supports deleting attachments from conversations. +* api-change:``redshift-serverless``: Add track support for Redshift Serverless workgroup. +* api-change:``sagemaker``: SageMaker HubService is introducing support for creating Training Jobs in Curated Hub (Private Hub). Additionally, it is introducing two new APIs: UpdateHubContent and UpdateHubContentReference. +* api-change:``storagegateway``: This release adds support to invoke a process that cleans the specified file share's cache of file entries that are failing upload to Amazon S3. + + 1.38.2 ====== diff --git a/awscli/__init__.py b/awscli/__init__.py index 0633e84d87d7..47fb6e704a14 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.38.2' +__version__ = '1.38.3' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index d29dfe1e8b4b..d4978e754073 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.38' # The full version, including alpha/beta/rc tags. -release = '1.38.2' +release = '1.38.3' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 5ec627b81a40..b4d1f4a17e37 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.37.2 + botocore==1.37.3 docutils>=0.10,<0.17 s3transfer>=0.11.0,<0.12.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 3c8e6041c7c1..6476701a764c 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.37.2', + 'botocore==1.37.3', 'docutils>=0.10,<0.17', 's3transfer>=0.11.0,<0.12.0', 'PyYAML>=3.10,<6.1', From cf313e1cca19b90251e447e0170e499f8fc0e3b2 Mon Sep 17 00:00:00 2001 From: Elysa <60367675+elysahall@users.noreply.github.com> Date: Fri, 28 Feb 2025 08:57:55 -0800 Subject: [PATCH 0487/1087] CLI examples for ec2, ecs, ivs-realtime, lambda (#9179) --- awscli/examples/ec2/allocate-address.rst | 23 +++++- .../examples/ecs/wait/services-inactive.rst | 9 +++ awscli/examples/ecs/wait/task-stopped.rst | 22 ++++++ awscli/examples/ivs-realtime/create-stage.rst | 75 ++++++++++++++++-- .../examples/ivs-realtime/get-composition.rst | 75 +++++++++++++++++- awscli/examples/ivs-realtime/get-stage.rst | 17 ++-- .../ivs-realtime/start-composition.rst | 77 +++++++++++++++++++ awscli/examples/ivs-realtime/update-stage.rst | 22 ++++-- awscli/examples/lambda/invoke.rst | 4 +- 9 files changed, 301 insertions(+), 23 deletions(-) create mode 100644 awscli/examples/ecs/wait/services-inactive.rst create mode 100644 awscli/examples/ecs/wait/task-stopped.rst diff --git a/awscli/examples/ec2/allocate-address.rst b/awscli/examples/ec2/allocate-address.rst index 99d973e47fa5..c46f6c91e5ce 100755 --- a/awscli/examples/ec2/allocate-address.rst +++ b/awscli/examples/ec2/allocate-address.rst @@ -53,4 +53,25 @@ Output:: "NetworkBorderGroup": "us-west-2", } -For more information, see `Elastic IP addresses `__ in the *Amazon EC2 User Guide*. \ No newline at end of file +For more information, see `Elastic IP addresses `__ in the *Amazon EC2 User Guide*. + +**Example 4: To allocate an Elastic IP address from an IPAM pool** + +The following ``allocate-address`` example allocates a specific /32 Elastic IP address from an Amazon VPC IP Address Manager (IPAM) pool. :: + + aws ec2 allocate-address \ + --region us-east-1 \ + --ipam-pool-id ipam-pool-1234567890abcdef0 \ + --address 192.0.2.0 + +Output:: + + { + "PublicIp": "192.0.2.0", + "AllocationId": "eipalloc-abcdef01234567890", + "PublicIpv4Pool": "ipam-pool-1234567890abcdef0", + "NetworkBorderGroup": "us-east-1", + "Domain": "vpc" + } + +For more information, see `Allocate sequential Elastic IP addresses from an IPAM pool `__ in the *Amazon VPC IPAM User Guide*. diff --git a/awscli/examples/ecs/wait/services-inactive.rst b/awscli/examples/ecs/wait/services-inactive.rst new file mode 100644 index 000000000000..91d0050788c5 --- /dev/null +++ b/awscli/examples/ecs/wait/services-inactive.rst @@ -0,0 +1,9 @@ +**Wait until an ECS service becomes inactive** + +The following ``service-inactive`` example waits until ECS services becomes inactive in the cluster. :: + + aws ecs wait services-inactive \ + --cluster MyCluster \ + --services MyService + +This command produces no output. diff --git a/awscli/examples/ecs/wait/task-stopped.rst b/awscli/examples/ecs/wait/task-stopped.rst new file mode 100644 index 000000000000..80f6042d9c61 --- /dev/null +++ b/awscli/examples/ecs/wait/task-stopped.rst @@ -0,0 +1,22 @@ +**Example 1: Wait until an ECS task is in stopped state** + +The following ``wait tasks-stopped`` example waits until the provided tasks in the command are in a stopped state. You can pass IDs or full ARN of the tasks. This example uses ID of the task. :: + + aws ecs wait tasks-stopped \ + --cluster MyCluster \ + --tasks 2c196f0a00dd4f58b7c8897a5c7bce13 + +This command produces no output. + +**Example 2: Wait until multiple ECS tasks are in stopped state** + +The following ``wait tasks-stopped`` example waits until the multiple tasks provided in the command are in a stopped state. You can pass IDs or full ARN of the tasks. This example uses IDs of the tasks. :: + + aws ecs wait tasks-stopped \ + --cluster MyCluster \ + --tasks 2c196f0a00dd4f58b7c8897a5c7bce13 4d590253bb114126b7afa7b58EXAMPLE + +This command produces no output. + + + diff --git a/awscli/examples/ivs-realtime/create-stage.rst b/awscli/examples/ivs-realtime/create-stage.rst index 5b94fa41baf6..c9b32d4ea151 100644 --- a/awscli/examples/ivs-realtime/create-stage.rst +++ b/awscli/examples/ivs-realtime/create-stage.rst @@ -19,11 +19,24 @@ Output:: "stage": { "activeSessionId": "st-a1b2c3d4e5f6g", "arn": "arn:aws:ivs:us-west-2:123456789012:stage/abcdABCDefgh", + "autoParticipantRecordingConfiguration": { + "storageConfigurationArn": "", + "mediaTypes": [ + "AUDIO_VIDEO" + ], + "thumbnailConfiguration": { + "targetIntervalSeconds": 60, + "storage": [ + "SEQUENTIAL" + ], + "recordingMode": "DISABLED" + } + }, "endpoints": { "events": "wss://global.events.live-video.net", "rtmp": "rtmp://9x0y8z7s6t5u.global-contribute-staging.live-video.net/app/", "rtmps": "rtmps://9x0y8z7s6t5u.global-contribute-staging.live-video.net:443/app/", - "whip": "https://1a2b3c4d5e6f.global-bm.whip.live-video.net" + "whip": "https://9x0y8z7s6t5u.global-bm.whip.live-video.net" }, "name": "stage1", "tags": {} @@ -47,16 +60,23 @@ Output:: "activeSessionId": "st-a1b2c3d4e5f6g", "arn": "arn:aws:ivs:us-west-2:123456789012:stage/abcdABCDefgh", "autoParticipantRecordingConfiguration": { - "mediaTypes": [ - "AUDIO_VIDEO" - ], - "storageConfigurationArn": "arn:aws:ivs:us-west-2:123456789012:storage-configuration/abcdABCDefgh", - }, + "storageConfigurationArn": "arn:aws:ivs:us-west-2:123456789012:storage-configuration/abcdABCDefgh" + "mediaTypes": [ + "AUDIO_VIDEO" + ], + "thumbnailConfiguration": { + "targetIntervalSeconds": 60, + "storage": [ + "SEQUENTIAL" + ], + "recordingMode": "DISABLED" + } + }, "endpoints": { "events": "wss://global.events.live-video.net", "rtmp": "rtmp://9x0y8z7s6t5u.global-contribute-staging.live-video.net/app/", "rtmps": "rtmps://9x0y8z7s6t5u.global-contribute-staging.live-video.net:443/app/", - "whip": "https://1a2b3c4d5e6f.global-bm.whip.live-video.net" + "whip": "https://9x0y8z7s6t5u.global-bm.whip.live-video.net" }, "name": "stage1", "tags": {} @@ -64,3 +84,44 @@ Output:: } For more information, see `Enabling Multiple Hosts on an Amazon IVS Stream `__ in the *Amazon Interactive Video Service User Guide*. + +**Example 3: To create a stage and configure individial participant recording with thumbnail recording enabled** + +The following ``create-stage`` example creates a stage and configures individual participant recording with thumbnail recording enabled. :: + + aws ivs-realtime create-stage \ + --name stage1 \ + --auto-participant-recording-configuration '{"mediaTypes": ["AUDIO_VIDEO"],"storageConfigurationArn": "arn:aws:ivs:us-west-2:123456789012:storage-configuration/abcdABCDefgh", \ + "thumbnailConfiguration": {"recordingMode": "INTERVAL","storage": ["SEQUENTIAL"],"targetIntervalSeconds": 60}}' + +Output:: + + { + "stage": { + "activeSessionId": "st-a1b2c3d4e5f6g", + "arn": "arn:aws:ivs:us-west-2:123456789012:stage/abcdABCDefgh", + "autoParticipantRecordingConfiguration": { + "storageConfigurationArn": "arn:aws:ivs:us-west-2:123456789012:storage-configuration/abcdABCDefgh", + "mediaTypes": [ + "AUDIO_VIDEO" + ], + "thumbnailConfiguration": { + "targetIntervalSeconds": 60, + "storage": [ + "SEQUENTIAL" + ], + "recordingMode": "INTERVAL" + } + }, + "endpoints": { + "events": "wss://global.events.live-video.net", + "rtmp": "rtmp://9x0y8z7s6t5u.global-contribute-staging.live-video.net/app/", + "rtmps": "rtmps://9x0y8z7s6t5u.global-contribute-staging.live-video.net:443/app/", + "whip": "https://9x0y8z7s6t5u.global-bm.whip.live-video.net" + }, + "name": "stage1", + "tags": {} + } + } + +For more information, see `Enabling Multiple Hosts on an Amazon IVS Stream `__ in the *Amazon Interactive Video Service User Guide*. \ No newline at end of file diff --git a/awscli/examples/ivs-realtime/get-composition.rst b/awscli/examples/ivs-realtime/get-composition.rst index c85f680c10b2..f796cde2d83f 100644 --- a/awscli/examples/ivs-realtime/get-composition.rst +++ b/awscli/examples/ivs-realtime/get-composition.rst @@ -33,7 +33,7 @@ Output:: "recordingConfiguration": { "format": "HLS" }, - "storageConfigurationArn": "arn:arn:aws:ivs:ap-northeast-1:123456789012:storage-configuration/FefABabCDcdE" + "storageConfigurationArn": "arn:arn:aws:ivs:ap-northeast-1:123456789012:storage-configuration/FefABabCDcdE", } }, "detail": { @@ -130,4 +130,77 @@ Output:: } } +For more information, see `Composite Recording (Real-Time Streaming) `__ in the *Amazon Interactive Video Service User Guide*. + +**Example 3: To get a composition with thumbnail recording enabled** + +The following ``get-composition`` example gets the composition for the ARN (Amazon Resource Name) specified, which has thumbnail recording enabled with default settings. :: + + aws ivs-realtime get-composition \ + --arn "arn:aws:ivs:ap-northeast-1:123456789012:composition/abcdABCDefgh" + +Output:: + + { + "composition": { + "arn": "arn:aws:ivs:ap-northeast-1:123456789012:composition/abcdABCDefgh", + "destinations": [ + { + "configuration": { + "channel": { + "channelArn": "arn:aws:ivs:ap-northeast-1:123456789012:channel/abcABCdefDEg", + "encoderConfigurationArn": "arn:aws:ivs:ap-northeast-1:123456789012:encoder-configuration/ABabCDcdEFef" + }, + "name": "" + }, + "id": "AabBCcdDEefF", + "startTime": "2023-10-16T23:26:00+00:00", + "state": "ACTIVE" + }, + { + "configuration": { + "name": "", + "s3": { + "encoderConfigurationArns": [ + "arn:aws:ivs:arn:aws:ivs:ap-northeast-1:123456789012:encoder-configuration/ABabCDcdEFef" + ], + "recordingConfiguration": { + "format": "HLS" + }, + "storageConfigurationArn": "arn:arn:aws:ivs:ap-northeast-1:123456789012:storage-configuration/FefABabCDcdE", + "thumbnailConfigurations": [ + { + "targetIntervalSeconds": 60, + "storage": [ + "SEQUENTIAL" + ], + } + ] + } + }, + "detail": { + "s3": { + "recordingPrefix": "aBcDeFgHhGfE/AbCdEfGhHgFe/GHFabcgefABC/composite" + } + }, + "id": "GHFabcgefABC", + "startTime": "2023-10-16T23:26:00+00:00", + "state": "STARTING" + } + ], + "layout": { + "grid": { + "featuredParticipantAttribute": "" + "gridGap": 2, + "omitStoppedVideo": false, + "videoAspectRatio": "VIDEO", + "videoFillMode": "" } + }, + "stageArn": "arn:aws:ivs:ap-northeast-1:123456789012:stage/defgABCDabcd", + "startTime": "2023-10-16T23:24:00+00:00", + "state": "ACTIVE", + "tags": {} + } + } + For more information, see `Composite Recording (Real-Time Streaming) `__ in the *Amazon Interactive Video Service User Guide*. \ No newline at end of file diff --git a/awscli/examples/ivs-realtime/get-stage.rst b/awscli/examples/ivs-realtime/get-stage.rst index cf56514a5a99..22bb45d6c93a 100644 --- a/awscli/examples/ivs-realtime/get-stage.rst +++ b/awscli/examples/ivs-realtime/get-stage.rst @@ -12,20 +12,27 @@ Output:: "activeSessionId": "st-a1b2c3d4e5f6g", "arn": "arn:aws:ivs:us-west-2:123456789012:stage/abcdABCDefgh", "autoParticipantRecordingConfiguration": { + "storageConfigurationArn": "", "mediaTypes": [ - "AUDIO_VIDEO" + "AUDIO_VIDEO" ], - "storageConfigurationArn": "arn:aws:ivs:us-west-2:123456789012:storage-configuration/abcdABCDefgh", - }, + "thumbnailConfiguration": { + "targetIntervalSeconds": 60, + "storage": [ + "SEQUENTIAL" + ], + "recordingMode": "DISABLED", + } + }, "endpoints": { "events": "wss://global.events.live-video.net", "rtmp": "rtmp://9x0y8z7s6t5u.global-contribute-staging.live-video.net/app/", "rtmps": "rtmps://9x0y8z7s6t5u.global-contribute-staging.live-video.net:443/app/", - "whip": "https://1a2b3c4d5e6f.global-bm.whip.live-video.net" + "whip": "https://9x0y8z7s6t5u.global-bm.whip.live-video.net" }, "name": "test", "tags": {} } } -For more information, see `Enabling Multiple Hosts on an Amazon IVS Stream `__ in the *Amazon Interactive Video Service User Guide*. +For more information, see `Enabling Multiple Hosts on an Amazon IVS Stream `__ in the *Amazon Interactive Video Service User Guide*. \ No newline at end of file diff --git a/awscli/examples/ivs-realtime/start-composition.rst b/awscli/examples/ivs-realtime/start-composition.rst index fbfac59128a3..ba7eaee808c9 100644 --- a/awscli/examples/ivs-realtime/start-composition.rst +++ b/awscli/examples/ivs-realtime/start-composition.rst @@ -136,4 +136,81 @@ Output:: } } +For more information, see `Composite Recording (Real-Time Streaming) `__ in the *Amazon Interactive Video Service User Guide*. + +**Example 3: To start a composition with thubnail recording enabled** + +The following ``start-composition`` example starts a composition for the specified stage to be streamed to the specified locations with thumbnail recording enabled. :: + + aws ivs-realtime start-composition \ + --stage-arn arn:aws:ivs:ap-northeast-1:123456789012:stage/defgABCDabcd \ + --destinations '[{"channel": {"channelArn": "arn:aws:ivs:ap-northeast-1:123456789012:channel/abcABCdefDEg", \ + "encoderConfigurationArn": "arn:aws:ivs:ap-northeast-1:123456789012:encoder-configuration/ABabCDcdEFef"}}, \ + {"s3": {"encoderConfigurationArns": ["arn:aws:ivs:ap-northeast-1:123456789012:encoder-configuration/ABabCDcdEFef"], \ + "storageConfigurationArn": "arn:aws:ivs:ap-northeast-1:123456789012:storage-configuration/FefABabCDcdE", \ + "thumbnailConfigurations": [{"storage": ["SEQUENTIAL"],"targetIntervalSeconds": 60}]}}]' + +Output:: + + { + "composition": { + "arn": "arn:aws:ivs:ap-northeast-1:123456789012:composition/abcdABCDefgh", + "destinations": [ + { + "configuration": { + "channel": { + "channelArn": "arn:aws:ivs:ap-northeast-1:123456789012:channel/abcABCdefDEg", + "encoderConfigurationArn": "arn:aws:ivs:ap-northeast-1:123456789012:encoder-configuration/ABabCDcdEFef" + }, + "name": "" + }, + "id": "AabBCcdDEefF", + "state": "STARTING" + }, + { + "configuration": { + "name": "", + "s3": { + "encoderConfigurationArns": [ + "arn:aws:ivs:arn:aws:ivs:ap-northeast-1:123456789012:encoder-configuration/ABabCDcdEFef" + ], + "recordingConfiguration": { + "format": "HLS" + }, + "storageConfigurationArn": "arn:arn:aws:ivs:ap-northeast-1:123456789012:storage-configuration/FefABabCDcdE", + "thumbnailConfigurations": [ + { + "targetIntervalSeconds": 60, + "storage": [ + "SEQUENTIAL" + ] + } + ] + } + }, + "detail": { + "s3": { + "recordingPrefix": "aBcDeFgHhGfE/AbCdEfGhHgFe/GHFabcgefABC/composite" + } + }, + "id": "GHFabcgefABC", + "state": "STARTING" + } + ], + "layout": { + "grid": { + "featuredParticipantAttribute": "" + "gridGap": 2, + "omitStoppedVideo": false, + "videoAspectRatio": "VIDEO", + "videoFillMode": "" + } + }, + "stageArn": "arn:aws:ivs:ap-northeast-1:123456789012:stage/defgABCDabcd", + "startTime": "2023-10-16T23:24:00+00:00", + "state": "STARTING", + "tags": {} + } + } + For more information, see `Composite Recording (Real-Time Streaming) `__ in the *Amazon Interactive Video Service User Guide*. \ No newline at end of file diff --git a/awscli/examples/ivs-realtime/update-stage.rst b/awscli/examples/ivs-realtime/update-stage.rst index 8a566d6a9631..945fab63b9c7 100644 --- a/awscli/examples/ivs-realtime/update-stage.rst +++ b/awscli/examples/ivs-realtime/update-stage.rst @@ -1,10 +1,11 @@ **To update a stage's configuration** -The following ``update-stage`` example updates a stage for a specified stage ARN to update the stage name and configure individual participant recording. :: +The following ``update-stage`` example updates a stage for a specified stage ARN to update the stage name and configure individual participant recording with thumbnail recording enabled. :: aws ivs-realtime update-stage \ --arn arn:aws:ivs:us-west-2:123456789012:stage/abcdABCDefgh \ - --auto-participant-recording-configuration '{"mediaTypes": ["AUDIO_VIDEO"],"storageConfigurationArn": "arn:aws:ivs:us-west-2:123456789012:storage-configuration/abcdABCDefgh"}' \ + --auto-participant-recording-configuration '{"mediaTypes": ["AUDIO_VIDEO"],"storageConfigurationArn": "arn:aws:ivs:us-west-2:123456789012:storage-configuration/abcdABCDefgh", \ + "thumbnailConfiguration": {"recordingMode": "INTERVAL","storage": ["SEQUENTIAL"],"targetIntervalSeconds": 60}}' \ --name stage1a Output:: @@ -13,10 +14,17 @@ Output:: "stage": { "arn": "arn:aws:ivs:us-west-2:123456789012:stage/abcdABCDefgh", "autoParticipantRecordingConfiguration": { - "mediaTypes": [ - "AUDIO_VIDEO" - ], - "storageConfigurationArn": "arn:aws:ivs:us-west-2:123456789012:storage-configuration/abcdABCDefgh", + "mediaTypes": [ + "AUDIO_VIDEO" + ], + "storageConfigurationArn": "arn:aws:ivs:us-west-2:123456789012:storage-configuration/abcdABCDefgh", + "thumbnailConfiguration": { + "targetIntervalSeconds": 60, + "storage": [ + "SEQUENTIAL" + ], + "recordingMode": "INTERVAL" + } }, "endpoints": { "events": "wss://global.events.live-video.net", @@ -29,4 +37,4 @@ Output:: } } -For more information, see `Enabling Multiple Hosts on an Amazon IVS Stream `__ in the *Amazon Interactive Video Service User Guide*. +For more information, see `Enabling Multiple Hosts on an Amazon IVS Stream `__ in the *Amazon Interactive Video Service User Guide*. \ No newline at end of file diff --git a/awscli/examples/lambda/invoke.rst b/awscli/examples/lambda/invoke.rst index 0e213cf703d1..6f50021ce551 100755 --- a/awscli/examples/lambda/invoke.rst +++ b/awscli/examples/lambda/invoke.rst @@ -15,7 +15,7 @@ Output:: "StatusCode": 200 } -For more information, see `Synchronous Invocation `__ in the *AWS Lambda Developer Guide*. +For more information, see `Invoke a Lambda function synchronously `__ in the *AWS Lambda Developer Guide*. **Example 2: To invoke a Lambda function asynchronously** @@ -34,4 +34,4 @@ Output:: "StatusCode": 202 } -For more information, see `Asynchronous Invocation `__ in the *AWS Lambda Developer Guide*. +For more information, see `Invoking a Lambda function asynchronously `__ in the *AWS Lambda Developer Guide*. From e6b82ef261e8a244fba9e6b336af3ec496a385b0 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 28 Feb 2025 19:14:54 +0000 Subject: [PATCH 0488/1087] Update changelog based on model updates --- .changes/next-release/api-change-bedrockagent-10629.json | 5 +++++ .../next-release/api-change-bedrockdataautomation-21834.json | 5 +++++ .../api-change-bedrockdataautomationruntime-39157.json | 5 +++++ .changes/next-release/api-change-dms-51125.json | 5 +++++ .changes/next-release/api-change-eks-26227.json | 5 +++++ .changes/next-release/api-change-mediaconvert-69990.json | 5 +++++ .changes/next-release/api-change-pricing-22144.json | 5 +++++ .changes/next-release/api-change-ssm-39280.json | 5 +++++ 8 files changed, 40 insertions(+) create mode 100644 .changes/next-release/api-change-bedrockagent-10629.json create mode 100644 .changes/next-release/api-change-bedrockdataautomation-21834.json create mode 100644 .changes/next-release/api-change-bedrockdataautomationruntime-39157.json create mode 100644 .changes/next-release/api-change-dms-51125.json create mode 100644 .changes/next-release/api-change-eks-26227.json create mode 100644 .changes/next-release/api-change-mediaconvert-69990.json create mode 100644 .changes/next-release/api-change-pricing-22144.json create mode 100644 .changes/next-release/api-change-ssm-39280.json diff --git a/.changes/next-release/api-change-bedrockagent-10629.json b/.changes/next-release/api-change-bedrockagent-10629.json new file mode 100644 index 000000000000..3b62ba429951 --- /dev/null +++ b/.changes/next-release/api-change-bedrockagent-10629.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-agent``", + "description": "This release lets Amazon Bedrock Flows support newer models by increasing the maximum length of output in a prompt configuration. This release also increases the maximum number of prompt variables to 20 and the maximum number of node inputs to 20." +} diff --git a/.changes/next-release/api-change-bedrockdataautomation-21834.json b/.changes/next-release/api-change-bedrockdataautomation-21834.json new file mode 100644 index 000000000000..dd8c6101092b --- /dev/null +++ b/.changes/next-release/api-change-bedrockdataautomation-21834.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-data-automation``", + "description": "Renamed and added new StandardConfiguration enums. Added support to update EncryptionConfiguration in UpdateBlueprint and UpdateDataAutomation APIs. Changed HttpStatus code for DeleteBlueprint and DeleteDataAutomationProject APIs to 200 from 204. Added APIs to support tagging." +} diff --git a/.changes/next-release/api-change-bedrockdataautomationruntime-39157.json b/.changes/next-release/api-change-bedrockdataautomationruntime-39157.json new file mode 100644 index 000000000000..5d64e53ca2dc --- /dev/null +++ b/.changes/next-release/api-change-bedrockdataautomationruntime-39157.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-data-automation-runtime``", + "description": "Added a mandatory parameter DataAutomationProfileArn to support for cross region inference for InvokeDataAutomationAsync API. Renamed DataAutomationArn to DataAutomationProjectArn. Added APIs to support tagging." +} diff --git a/.changes/next-release/api-change-dms-51125.json b/.changes/next-release/api-change-dms-51125.json new file mode 100644 index 000000000000..7e52aedc02e2 --- /dev/null +++ b/.changes/next-release/api-change-dms-51125.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``dms``", + "description": "Add skipped status to the Result Statistics of an Assessment Run" +} diff --git a/.changes/next-release/api-change-eks-26227.json b/.changes/next-release/api-change-eks-26227.json new file mode 100644 index 000000000000..6584377522e5 --- /dev/null +++ b/.changes/next-release/api-change-eks-26227.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``eks``", + "description": "Adding licenses to EKS Anywhere Subscription operations response." +} diff --git a/.changes/next-release/api-change-mediaconvert-69990.json b/.changes/next-release/api-change-mediaconvert-69990.json new file mode 100644 index 000000000000..e1bfd8b8373b --- /dev/null +++ b/.changes/next-release/api-change-mediaconvert-69990.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``mediaconvert``", + "description": "The AWS MediaConvert Probe API allows you to analyze media files and retrieve detailed metadata about their content, format, and structure." +} diff --git a/.changes/next-release/api-change-pricing-22144.json b/.changes/next-release/api-change-pricing-22144.json new file mode 100644 index 000000000000..4e73e065ece2 --- /dev/null +++ b/.changes/next-release/api-change-pricing-22144.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``pricing``", + "description": "Update GetProducts and DescribeServices API request input validations." +} diff --git a/.changes/next-release/api-change-ssm-39280.json b/.changes/next-release/api-change-ssm-39280.json new file mode 100644 index 000000000000..9052633b99f8 --- /dev/null +++ b/.changes/next-release/api-change-ssm-39280.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ssm``", + "description": "Systems Manager doc-only updates for Feb. 2025." +} From 6b3656c0bc77057fa5f1d0fdf005512494377951 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 28 Feb 2025 19:16:27 +0000 Subject: [PATCH 0489/1087] Bumping version to 1.38.4 --- .changes/1.38.4.json | 42 +++++++++++++++++++ .../api-change-bedrockagent-10629.json | 5 --- ...pi-change-bedrockdataautomation-21834.json | 5 --- ...ge-bedrockdataautomationruntime-39157.json | 5 --- .../next-release/api-change-dms-51125.json | 5 --- .../next-release/api-change-eks-26227.json | 5 --- .../api-change-mediaconvert-69990.json | 5 --- .../api-change-pricing-22144.json | 5 --- .../next-release/api-change-ssm-39280.json | 5 --- CHANGELOG.rst | 13 ++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 14 files changed, 59 insertions(+), 44 deletions(-) create mode 100644 .changes/1.38.4.json delete mode 100644 .changes/next-release/api-change-bedrockagent-10629.json delete mode 100644 .changes/next-release/api-change-bedrockdataautomation-21834.json delete mode 100644 .changes/next-release/api-change-bedrockdataautomationruntime-39157.json delete mode 100644 .changes/next-release/api-change-dms-51125.json delete mode 100644 .changes/next-release/api-change-eks-26227.json delete mode 100644 .changes/next-release/api-change-mediaconvert-69990.json delete mode 100644 .changes/next-release/api-change-pricing-22144.json delete mode 100644 .changes/next-release/api-change-ssm-39280.json diff --git a/.changes/1.38.4.json b/.changes/1.38.4.json new file mode 100644 index 000000000000..232290822343 --- /dev/null +++ b/.changes/1.38.4.json @@ -0,0 +1,42 @@ +[ + { + "category": "``bedrock-agent``", + "description": "This release lets Amazon Bedrock Flows support newer models by increasing the maximum length of output in a prompt configuration. This release also increases the maximum number of prompt variables to 20 and the maximum number of node inputs to 20.", + "type": "api-change" + }, + { + "category": "``bedrock-data-automation``", + "description": "Renamed and added new StandardConfiguration enums. Added support to update EncryptionConfiguration in UpdateBlueprint and UpdateDataAutomation APIs. Changed HttpStatus code for DeleteBlueprint and DeleteDataAutomationProject APIs to 200 from 204. Added APIs to support tagging.", + "type": "api-change" + }, + { + "category": "``bedrock-data-automation-runtime``", + "description": "Added a mandatory parameter DataAutomationProfileArn to support for cross region inference for InvokeDataAutomationAsync API. Renamed DataAutomationArn to DataAutomationProjectArn. Added APIs to support tagging.", + "type": "api-change" + }, + { + "category": "``dms``", + "description": "Add skipped status to the Result Statistics of an Assessment Run", + "type": "api-change" + }, + { + "category": "``eks``", + "description": "Adding licenses to EKS Anywhere Subscription operations response.", + "type": "api-change" + }, + { + "category": "``mediaconvert``", + "description": "The AWS MediaConvert Probe API allows you to analyze media files and retrieve detailed metadata about their content, format, and structure.", + "type": "api-change" + }, + { + "category": "``pricing``", + "description": "Update GetProducts and DescribeServices API request input validations.", + "type": "api-change" + }, + { + "category": "``ssm``", + "description": "Systems Manager doc-only updates for Feb. 2025.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-bedrockagent-10629.json b/.changes/next-release/api-change-bedrockagent-10629.json deleted file mode 100644 index 3b62ba429951..000000000000 --- a/.changes/next-release/api-change-bedrockagent-10629.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-agent``", - "description": "This release lets Amazon Bedrock Flows support newer models by increasing the maximum length of output in a prompt configuration. This release also increases the maximum number of prompt variables to 20 and the maximum number of node inputs to 20." -} diff --git a/.changes/next-release/api-change-bedrockdataautomation-21834.json b/.changes/next-release/api-change-bedrockdataautomation-21834.json deleted file mode 100644 index dd8c6101092b..000000000000 --- a/.changes/next-release/api-change-bedrockdataautomation-21834.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-data-automation``", - "description": "Renamed and added new StandardConfiguration enums. Added support to update EncryptionConfiguration in UpdateBlueprint and UpdateDataAutomation APIs. Changed HttpStatus code for DeleteBlueprint and DeleteDataAutomationProject APIs to 200 from 204. Added APIs to support tagging." -} diff --git a/.changes/next-release/api-change-bedrockdataautomationruntime-39157.json b/.changes/next-release/api-change-bedrockdataautomationruntime-39157.json deleted file mode 100644 index 5d64e53ca2dc..000000000000 --- a/.changes/next-release/api-change-bedrockdataautomationruntime-39157.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-data-automation-runtime``", - "description": "Added a mandatory parameter DataAutomationProfileArn to support for cross region inference for InvokeDataAutomationAsync API. Renamed DataAutomationArn to DataAutomationProjectArn. Added APIs to support tagging." -} diff --git a/.changes/next-release/api-change-dms-51125.json b/.changes/next-release/api-change-dms-51125.json deleted file mode 100644 index 7e52aedc02e2..000000000000 --- a/.changes/next-release/api-change-dms-51125.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``dms``", - "description": "Add skipped status to the Result Statistics of an Assessment Run" -} diff --git a/.changes/next-release/api-change-eks-26227.json b/.changes/next-release/api-change-eks-26227.json deleted file mode 100644 index 6584377522e5..000000000000 --- a/.changes/next-release/api-change-eks-26227.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``eks``", - "description": "Adding licenses to EKS Anywhere Subscription operations response." -} diff --git a/.changes/next-release/api-change-mediaconvert-69990.json b/.changes/next-release/api-change-mediaconvert-69990.json deleted file mode 100644 index e1bfd8b8373b..000000000000 --- a/.changes/next-release/api-change-mediaconvert-69990.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``mediaconvert``", - "description": "The AWS MediaConvert Probe API allows you to analyze media files and retrieve detailed metadata about their content, format, and structure." -} diff --git a/.changes/next-release/api-change-pricing-22144.json b/.changes/next-release/api-change-pricing-22144.json deleted file mode 100644 index 4e73e065ece2..000000000000 --- a/.changes/next-release/api-change-pricing-22144.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``pricing``", - "description": "Update GetProducts and DescribeServices API request input validations." -} diff --git a/.changes/next-release/api-change-ssm-39280.json b/.changes/next-release/api-change-ssm-39280.json deleted file mode 100644 index 9052633b99f8..000000000000 --- a/.changes/next-release/api-change-ssm-39280.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ssm``", - "description": "Systems Manager doc-only updates for Feb. 2025." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 0030eee97773..2755779d7dc9 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,19 @@ CHANGELOG ========= +1.38.4 +====== + +* api-change:``bedrock-agent``: This release lets Amazon Bedrock Flows support newer models by increasing the maximum length of output in a prompt configuration. This release also increases the maximum number of prompt variables to 20 and the maximum number of node inputs to 20. +* api-change:``bedrock-data-automation``: Renamed and added new StandardConfiguration enums. Added support to update EncryptionConfiguration in UpdateBlueprint and UpdateDataAutomation APIs. Changed HttpStatus code for DeleteBlueprint and DeleteDataAutomationProject APIs to 200 from 204. Added APIs to support tagging. +* api-change:``bedrock-data-automation-runtime``: Added a mandatory parameter DataAutomationProfileArn to support for cross region inference for InvokeDataAutomationAsync API. Renamed DataAutomationArn to DataAutomationProjectArn. Added APIs to support tagging. +* api-change:``dms``: Add skipped status to the Result Statistics of an Assessment Run +* api-change:``eks``: Adding licenses to EKS Anywhere Subscription operations response. +* api-change:``mediaconvert``: The AWS MediaConvert Probe API allows you to analyze media files and retrieve detailed metadata about their content, format, and structure. +* api-change:``pricing``: Update GetProducts and DescribeServices API request input validations. +* api-change:``ssm``: Systems Manager doc-only updates for Feb. 2025. + + 1.38.3 ====== diff --git a/awscli/__init__.py b/awscli/__init__.py index 47fb6e704a14..c95225520da5 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.38.3' +__version__ = '1.38.4' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index d4978e754073..433771c4dd52 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.38' # The full version, including alpha/beta/rc tags. -release = '1.38.3' +release = '1.38.4' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index b4d1f4a17e37..7af748d75e3c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.37.3 + botocore==1.37.4 docutils>=0.10,<0.17 s3transfer>=0.11.0,<0.12.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 6476701a764c..2a9e3359c182 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.37.3', + 'botocore==1.37.4', 'docutils>=0.10,<0.17', 's3transfer>=0.11.0,<0.12.0', 'PyYAML>=3.10,<6.1', From f43ca344444935f76a46a5a2ef34f54373833e93 Mon Sep 17 00:00:00 2001 From: Andrew Asseily Date: Sun, 2 Mar 2025 17:21:41 -0500 Subject: [PATCH 0490/1087] Disable Account ID Endpoint Mode for Unsigned Requests --- awscli/customizations/globalargs.py | 18 +++++------------- tests/unit/customizations/test_globalargs.py | 11 ++++------- 2 files changed, 9 insertions(+), 20 deletions(-) diff --git a/awscli/customizations/globalargs.py b/awscli/customizations/globalargs.py index af11c9335e86..93321ccd85aa 100644 --- a/awscli/customizations/globalargs.py +++ b/awscli/customizations/globalargs.py @@ -12,15 +12,13 @@ # language governing permissions and limitations under the License. import sys import os - from botocore.client import Config +from botocore import UNSIGNED from botocore.endpoint import DEFAULT_TIMEOUT -from botocore.handlers import disable_signing import jmespath from awscli.compat import urlparse - def register_parse_global_args(cli): cli.register('top-level-args-parsed', resolve_types, unique_id='resolve-types') @@ -81,17 +79,12 @@ def resolve_verify_ssl(parsed_args, session, **kwargs): verify = getattr(parsed_args, 'ca_bundle', None) setattr(parsed_args, arg_name, verify) - def no_sign_request(parsed_args, session, **kwargs): if not parsed_args.sign_request: - # In order to make signing disabled for all requests - # we need to use botocore's ``disable_signing()`` handler. - # Register this first to override other handlers. - emitter = session.get_component('event_emitter') - emitter.register_first( - 'choose-signer', disable_signing, unique_id='disable-signing', - ) - + # Disable request signing by setting the signature version to UNSIGNED + # in the default client configuration. This ensures all new clients + # will be created with signing disabled. + _update_default_client_config(session, 'signature_version', UNSIGNED) def resolve_cli_connect_timeout(parsed_args, session, **kwargs): arg_name = 'connect_timeout' @@ -102,7 +95,6 @@ def resolve_cli_read_timeout(parsed_args, session, **kwargs): arg_name = 'read_timeout' _resolve_timeout(session, parsed_args, arg_name) - def _resolve_timeout(session, parsed_args, arg_name): arg_value = getattr(parsed_args, arg_name, None) if arg_value is None: diff --git a/tests/unit/customizations/test_globalargs.py b/tests/unit/customizations/test_globalargs.py index 96586b705118..8316b7c9229b 100644 --- a/tests/unit/customizations/test_globalargs.py +++ b/tests/unit/customizations/test_globalargs.py @@ -11,7 +11,7 @@ # ANY KIND, either express or implied. See the License for the specific # language governing permissions and limitations under the License. from botocore.session import get_session -from botocore.handlers import disable_signing +from botocore import UNSIGNED import os from awscli.testutils import mock, unittest @@ -132,16 +132,13 @@ def test_no_verify_ssl_overrides_cli_cert_bundle(self): def test_no_sign_request_if_option_specified(self): args = FakeParsedArgs(sign_request=False) session = mock.Mock() - - globalargs.no_sign_request(args, session) - emitter = session.get_component('event_emitter') - emitter.register_first.assert_called_with( - 'choose-signer', disable_signing, unique_id='disable-signing') + with mock.patch('awscli.customizations.globalargs._update_default_client_config') as mock_update: + globalargs.no_sign_request(args, session) + mock_update.assert_called_once_with(session, 'signature_version', UNSIGNED) def test_request_signed_by_default(self): args = FakeParsedArgs(sign_request=True) session = mock.Mock() - globalargs.no_sign_request(args, session) self.assertFalse(session.register.called) From 897f80052f124d1253cf8108a01e0da24860c776 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 3 Mar 2025 19:16:16 +0000 Subject: [PATCH 0491/1087] Update changelog based on model updates --- .changes/next-release/api-change-cognitoidp-32384.json | 5 +++++ .changes/next-release/api-change-ec2-22643.json | 5 +++++ .changes/next-release/api-change-qbusiness-55116.json | 5 +++++ .changes/next-release/api-change-rum-9257.json | 5 +++++ .changes/next-release/api-change-sagemaker-36415.json | 5 +++++ .changes/next-release/api-change-transcribe-20536.json | 5 +++++ 6 files changed, 30 insertions(+) create mode 100644 .changes/next-release/api-change-cognitoidp-32384.json create mode 100644 .changes/next-release/api-change-ec2-22643.json create mode 100644 .changes/next-release/api-change-qbusiness-55116.json create mode 100644 .changes/next-release/api-change-rum-9257.json create mode 100644 .changes/next-release/api-change-sagemaker-36415.json create mode 100644 .changes/next-release/api-change-transcribe-20536.json diff --git a/.changes/next-release/api-change-cognitoidp-32384.json b/.changes/next-release/api-change-cognitoidp-32384.json new file mode 100644 index 000000000000..22f772ccccd5 --- /dev/null +++ b/.changes/next-release/api-change-cognitoidp-32384.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``cognito-idp``", + "description": "Added the capacity to return available challenges in admin authentication and to set version 3 of the pre token generation event for M2M ATC." +} diff --git a/.changes/next-release/api-change-ec2-22643.json b/.changes/next-release/api-change-ec2-22643.json new file mode 100644 index 000000000000..8ce442451698 --- /dev/null +++ b/.changes/next-release/api-change-ec2-22643.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ec2``", + "description": "Update the DescribeVpcs response" +} diff --git a/.changes/next-release/api-change-qbusiness-55116.json b/.changes/next-release/api-change-qbusiness-55116.json new file mode 100644 index 000000000000..d50ccdd803fc --- /dev/null +++ b/.changes/next-release/api-change-qbusiness-55116.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``qbusiness``", + "description": "Adds support for the ingestion of audio and video files by Q Business, which can be configured with the mediaExtractionConfiguration parameter." +} diff --git a/.changes/next-release/api-change-rum-9257.json b/.changes/next-release/api-change-rum-9257.json new file mode 100644 index 000000000000..cf69133d7e6d --- /dev/null +++ b/.changes/next-release/api-change-rum-9257.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``rum``", + "description": "Add support for PutResourcePolicy, GetResourcePolicy and DeleteResourcePolicy to support resource based policies for AWS CloudWatch RUM" +} diff --git a/.changes/next-release/api-change-sagemaker-36415.json b/.changes/next-release/api-change-sagemaker-36415.json new file mode 100644 index 000000000000..329f64bce125 --- /dev/null +++ b/.changes/next-release/api-change-sagemaker-36415.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``sagemaker``", + "description": "Add DomainId to CreateDomainResponse" +} diff --git a/.changes/next-release/api-change-transcribe-20536.json b/.changes/next-release/api-change-transcribe-20536.json new file mode 100644 index 000000000000..65ba9c4cddc9 --- /dev/null +++ b/.changes/next-release/api-change-transcribe-20536.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``transcribe``", + "description": "Updating documentation for post call analytics job queueing." +} From a479b0ca1aaf24337a97f8ae0f53f7c587531538 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 3 Mar 2025 19:17:32 +0000 Subject: [PATCH 0492/1087] Bumping version to 1.38.5 --- .changes/1.38.5.json | 32 +++++++++++++++++++ .../api-change-cognitoidp-32384.json | 5 --- .../next-release/api-change-ec2-22643.json | 5 --- .../api-change-qbusiness-55116.json | 5 --- .../next-release/api-change-rum-9257.json | 5 --- .../api-change-sagemaker-36415.json | 5 --- .../api-change-transcribe-20536.json | 5 --- CHANGELOG.rst | 11 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 12 files changed, 47 insertions(+), 34 deletions(-) create mode 100644 .changes/1.38.5.json delete mode 100644 .changes/next-release/api-change-cognitoidp-32384.json delete mode 100644 .changes/next-release/api-change-ec2-22643.json delete mode 100644 .changes/next-release/api-change-qbusiness-55116.json delete mode 100644 .changes/next-release/api-change-rum-9257.json delete mode 100644 .changes/next-release/api-change-sagemaker-36415.json delete mode 100644 .changes/next-release/api-change-transcribe-20536.json diff --git a/.changes/1.38.5.json b/.changes/1.38.5.json new file mode 100644 index 000000000000..5ef20dad57b6 --- /dev/null +++ b/.changes/1.38.5.json @@ -0,0 +1,32 @@ +[ + { + "category": "``cognito-idp``", + "description": "Added the capacity to return available challenges in admin authentication and to set version 3 of the pre token generation event for M2M ATC.", + "type": "api-change" + }, + { + "category": "``ec2``", + "description": "Update the DescribeVpcs response", + "type": "api-change" + }, + { + "category": "``qbusiness``", + "description": "Adds support for the ingestion of audio and video files by Q Business, which can be configured with the mediaExtractionConfiguration parameter.", + "type": "api-change" + }, + { + "category": "``rum``", + "description": "Add support for PutResourcePolicy, GetResourcePolicy and DeleteResourcePolicy to support resource based policies for AWS CloudWatch RUM", + "type": "api-change" + }, + { + "category": "``sagemaker``", + "description": "Add DomainId to CreateDomainResponse", + "type": "api-change" + }, + { + "category": "``transcribe``", + "description": "Updating documentation for post call analytics job queueing.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-cognitoidp-32384.json b/.changes/next-release/api-change-cognitoidp-32384.json deleted file mode 100644 index 22f772ccccd5..000000000000 --- a/.changes/next-release/api-change-cognitoidp-32384.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``cognito-idp``", - "description": "Added the capacity to return available challenges in admin authentication and to set version 3 of the pre token generation event for M2M ATC." -} diff --git a/.changes/next-release/api-change-ec2-22643.json b/.changes/next-release/api-change-ec2-22643.json deleted file mode 100644 index 8ce442451698..000000000000 --- a/.changes/next-release/api-change-ec2-22643.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ec2``", - "description": "Update the DescribeVpcs response" -} diff --git a/.changes/next-release/api-change-qbusiness-55116.json b/.changes/next-release/api-change-qbusiness-55116.json deleted file mode 100644 index d50ccdd803fc..000000000000 --- a/.changes/next-release/api-change-qbusiness-55116.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``qbusiness``", - "description": "Adds support for the ingestion of audio and video files by Q Business, which can be configured with the mediaExtractionConfiguration parameter." -} diff --git a/.changes/next-release/api-change-rum-9257.json b/.changes/next-release/api-change-rum-9257.json deleted file mode 100644 index cf69133d7e6d..000000000000 --- a/.changes/next-release/api-change-rum-9257.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``rum``", - "description": "Add support for PutResourcePolicy, GetResourcePolicy and DeleteResourcePolicy to support resource based policies for AWS CloudWatch RUM" -} diff --git a/.changes/next-release/api-change-sagemaker-36415.json b/.changes/next-release/api-change-sagemaker-36415.json deleted file mode 100644 index 329f64bce125..000000000000 --- a/.changes/next-release/api-change-sagemaker-36415.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``sagemaker``", - "description": "Add DomainId to CreateDomainResponse" -} diff --git a/.changes/next-release/api-change-transcribe-20536.json b/.changes/next-release/api-change-transcribe-20536.json deleted file mode 100644 index 65ba9c4cddc9..000000000000 --- a/.changes/next-release/api-change-transcribe-20536.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``transcribe``", - "description": "Updating documentation for post call analytics job queueing." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 2755779d7dc9..939c56036408 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,17 @@ CHANGELOG ========= +1.38.5 +====== + +* api-change:``cognito-idp``: Added the capacity to return available challenges in admin authentication and to set version 3 of the pre token generation event for M2M ATC. +* api-change:``ec2``: Update the DescribeVpcs response +* api-change:``qbusiness``: Adds support for the ingestion of audio and video files by Q Business, which can be configured with the mediaExtractionConfiguration parameter. +* api-change:``rum``: Add support for PutResourcePolicy, GetResourcePolicy and DeleteResourcePolicy to support resource based policies for AWS CloudWatch RUM +* api-change:``sagemaker``: Add DomainId to CreateDomainResponse +* api-change:``transcribe``: Updating documentation for post call analytics job queueing. + + 1.38.4 ====== diff --git a/awscli/__init__.py b/awscli/__init__.py index c95225520da5..700af4a190f2 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.38.4' +__version__ = '1.38.5' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 433771c4dd52..17e53fa0fa09 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.38' # The full version, including alpha/beta/rc tags. -release = '1.38.4' +release = '1.38.5' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 7af748d75e3c..47edd719bc18 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.37.4 + botocore==1.37.5 docutils>=0.10,<0.17 s3transfer>=0.11.0,<0.12.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 2a9e3359c182..25438fe6f181 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.37.4', + 'botocore==1.37.5', 'docutils>=0.10,<0.17', 's3transfer>=0.11.0,<0.12.0', 'PyYAML>=3.10,<6.1', From 810493fc3f83579b5c133f400113a76dfca56263 Mon Sep 17 00:00:00 2001 From: Elysa Hall Date: Mon, 3 Mar 2025 23:09:13 +0000 Subject: [PATCH 0493/1087] Examples ds-data --- awscli/examples/ds-data/create-group.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/awscli/examples/ds-data/create-group.rst b/awscli/examples/ds-data/create-group.rst index 9451cebd2c78..df7f17df9262 100644 --- a/awscli/examples/ds-data/create-group.rst +++ b/awscli/examples/ds-data/create-group.rst @@ -1,15 +1,15 @@ -**To create a group for a directory** +**To list the available widgets** -The following ``create-group`` example creates a group in the specified directory. :: +The following ``create-group`` example creates a group in a specified directory. :: aws ds-data create-group \ --directory-id d-1234567890 \ - --sam-account-name 'sales' + --sam-account-name "sales" Output:: { - "DirectoryId": "d-9067f3da7a", + "DirectoryId": "d-1234567890", "SAMAccountName": "sales", "SID": "S-1-2-34-5567891234-5678912345-67891234567-8912" } From 9bf76c3f41d8942fefbf08f103cb7b17fcd9d524 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 4 Mar 2025 19:13:50 +0000 Subject: [PATCH 0494/1087] Update changelog based on model updates --- .changes/next-release/api-change-elasticache-90329.json | 5 +++++ .../api-change-iotmanagedintegrations-10306.json | 5 +++++ .changes/next-release/api-change-iotsitewise-23702.json | 5 +++++ .changes/next-release/api-change-rds-58305.json | 5 +++++ 4 files changed, 20 insertions(+) create mode 100644 .changes/next-release/api-change-elasticache-90329.json create mode 100644 .changes/next-release/api-change-iotmanagedintegrations-10306.json create mode 100644 .changes/next-release/api-change-iotsitewise-23702.json create mode 100644 .changes/next-release/api-change-rds-58305.json diff --git a/.changes/next-release/api-change-elasticache-90329.json b/.changes/next-release/api-change-elasticache-90329.json new file mode 100644 index 000000000000..0029fc52ce71 --- /dev/null +++ b/.changes/next-release/api-change-elasticache-90329.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``elasticache``", + "description": "Doc only update, listing 'valkey7' and 'valkey8' as engine options for parameter groups." +} diff --git a/.changes/next-release/api-change-iotmanagedintegrations-10306.json b/.changes/next-release/api-change-iotmanagedintegrations-10306.json new file mode 100644 index 000000000000..1a506db6a5c6 --- /dev/null +++ b/.changes/next-release/api-change-iotmanagedintegrations-10306.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``iot-managed-integrations``", + "description": "Adding managed integrations APIs for IoT Device Management to setup and control devices across different manufacturers and connectivity protocols. APIs include managedthing operations, credential and provisioning profile management, notification configuration, and OTA update." +} diff --git a/.changes/next-release/api-change-iotsitewise-23702.json b/.changes/next-release/api-change-iotsitewise-23702.json new file mode 100644 index 000000000000..d44f819706db --- /dev/null +++ b/.changes/next-release/api-change-iotsitewise-23702.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``iotsitewise``", + "description": "AWS IoT SiteWise now supports MQTT-enabled, V3 gateways. Configure data destinations for real-time ingestion into AWS IoT SiteWise or buffered ingestion using Amazon S3 storage. You can also use path filters for precise data collection from specific MQTT topics." +} diff --git a/.changes/next-release/api-change-rds-58305.json b/.changes/next-release/api-change-rds-58305.json new file mode 100644 index 000000000000..714087861b6e --- /dev/null +++ b/.changes/next-release/api-change-rds-58305.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``rds``", + "description": "Note support for Database Insights for Amazon RDS." +} From 01acf78a8441f8718b6a68a05ba016ad2915d5bd Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 4 Mar 2025 19:15:20 +0000 Subject: [PATCH 0495/1087] Bumping version to 1.38.6 --- .changes/1.38.6.json | 22 +++++++++++++++++++ .../api-change-elasticache-90329.json | 5 ----- ...i-change-iotmanagedintegrations-10306.json | 5 ----- .../api-change-iotsitewise-23702.json | 5 ----- .../next-release/api-change-rds-58305.json | 5 ----- CHANGELOG.rst | 9 ++++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 10 files changed, 35 insertions(+), 24 deletions(-) create mode 100644 .changes/1.38.6.json delete mode 100644 .changes/next-release/api-change-elasticache-90329.json delete mode 100644 .changes/next-release/api-change-iotmanagedintegrations-10306.json delete mode 100644 .changes/next-release/api-change-iotsitewise-23702.json delete mode 100644 .changes/next-release/api-change-rds-58305.json diff --git a/.changes/1.38.6.json b/.changes/1.38.6.json new file mode 100644 index 000000000000..6902d9ff8211 --- /dev/null +++ b/.changes/1.38.6.json @@ -0,0 +1,22 @@ +[ + { + "category": "``elasticache``", + "description": "Doc only update, listing 'valkey7' and 'valkey8' as engine options for parameter groups.", + "type": "api-change" + }, + { + "category": "``iot-managed-integrations``", + "description": "Adding managed integrations APIs for IoT Device Management to setup and control devices across different manufacturers and connectivity protocols. APIs include managedthing operations, credential and provisioning profile management, notification configuration, and OTA update.", + "type": "api-change" + }, + { + "category": "``iotsitewise``", + "description": "AWS IoT SiteWise now supports MQTT-enabled, V3 gateways. Configure data destinations for real-time ingestion into AWS IoT SiteWise or buffered ingestion using Amazon S3 storage. You can also use path filters for precise data collection from specific MQTT topics.", + "type": "api-change" + }, + { + "category": "``rds``", + "description": "Note support for Database Insights for Amazon RDS.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-elasticache-90329.json b/.changes/next-release/api-change-elasticache-90329.json deleted file mode 100644 index 0029fc52ce71..000000000000 --- a/.changes/next-release/api-change-elasticache-90329.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``elasticache``", - "description": "Doc only update, listing 'valkey7' and 'valkey8' as engine options for parameter groups." -} diff --git a/.changes/next-release/api-change-iotmanagedintegrations-10306.json b/.changes/next-release/api-change-iotmanagedintegrations-10306.json deleted file mode 100644 index 1a506db6a5c6..000000000000 --- a/.changes/next-release/api-change-iotmanagedintegrations-10306.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``iot-managed-integrations``", - "description": "Adding managed integrations APIs for IoT Device Management to setup and control devices across different manufacturers and connectivity protocols. APIs include managedthing operations, credential and provisioning profile management, notification configuration, and OTA update." -} diff --git a/.changes/next-release/api-change-iotsitewise-23702.json b/.changes/next-release/api-change-iotsitewise-23702.json deleted file mode 100644 index d44f819706db..000000000000 --- a/.changes/next-release/api-change-iotsitewise-23702.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``iotsitewise``", - "description": "AWS IoT SiteWise now supports MQTT-enabled, V3 gateways. Configure data destinations for real-time ingestion into AWS IoT SiteWise or buffered ingestion using Amazon S3 storage. You can also use path filters for precise data collection from specific MQTT topics." -} diff --git a/.changes/next-release/api-change-rds-58305.json b/.changes/next-release/api-change-rds-58305.json deleted file mode 100644 index 714087861b6e..000000000000 --- a/.changes/next-release/api-change-rds-58305.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``rds``", - "description": "Note support for Database Insights for Amazon RDS." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 939c56036408..b2e648e3eb60 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,15 @@ CHANGELOG ========= +1.38.6 +====== + +* api-change:``elasticache``: Doc only update, listing 'valkey7' and 'valkey8' as engine options for parameter groups. +* api-change:``iot-managed-integrations``: Adding managed integrations APIs for IoT Device Management to setup and control devices across different manufacturers and connectivity protocols. APIs include managedthing operations, credential and provisioning profile management, notification configuration, and OTA update. +* api-change:``iotsitewise``: AWS IoT SiteWise now supports MQTT-enabled, V3 gateways. Configure data destinations for real-time ingestion into AWS IoT SiteWise or buffered ingestion using Amazon S3 storage. You can also use path filters for precise data collection from specific MQTT topics. +* api-change:``rds``: Note support for Database Insights for Amazon RDS. + + 1.38.5 ====== diff --git a/awscli/__init__.py b/awscli/__init__.py index 700af4a190f2..29c9caef2ff7 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.38.5' +__version__ = '1.38.6' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 17e53fa0fa09..820447218482 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.38' # The full version, including alpha/beta/rc tags. -release = '1.38.5' +release = '1.38.6' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 47edd719bc18..e92651465ee6 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.37.5 + botocore==1.37.6 docutils>=0.10,<0.17 s3transfer>=0.11.0,<0.12.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 25438fe6f181..b29821857b62 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.37.5', + 'botocore==1.37.6', 'docutils>=0.10,<0.17', 's3transfer>=0.11.0,<0.12.0', 'PyYAML>=3.10,<6.1', From 22bbf8ea46ea1e22761b5fc76a892050087d7153 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 5 Mar 2025 19:19:12 +0000 Subject: [PATCH 0496/1087] Update changelog based on model updates --- .changes/next-release/api-change-bedrockruntime-30687.json | 5 +++++ .changes/next-release/api-change-datasync-53899.json | 5 +++++ .changes/next-release/api-change-gameliftstreams-22764.json | 5 +++++ .changes/next-release/api-change-iotfleetwise-63642.json | 5 +++++ .changes/next-release/api-change-workspaces-27498.json | 5 +++++ 5 files changed, 25 insertions(+) create mode 100644 .changes/next-release/api-change-bedrockruntime-30687.json create mode 100644 .changes/next-release/api-change-datasync-53899.json create mode 100644 .changes/next-release/api-change-gameliftstreams-22764.json create mode 100644 .changes/next-release/api-change-iotfleetwise-63642.json create mode 100644 .changes/next-release/api-change-workspaces-27498.json diff --git a/.changes/next-release/api-change-bedrockruntime-30687.json b/.changes/next-release/api-change-bedrockruntime-30687.json new file mode 100644 index 000000000000..c39e7cbc9087 --- /dev/null +++ b/.changes/next-release/api-change-bedrockruntime-30687.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-runtime``", + "description": "This releases adds support for Custom Prompt Router ARN" +} diff --git a/.changes/next-release/api-change-datasync-53899.json b/.changes/next-release/api-change-datasync-53899.json new file mode 100644 index 000000000000..d32120e77cc4 --- /dev/null +++ b/.changes/next-release/api-change-datasync-53899.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``datasync``", + "description": "AWS DataSync now supports modifying ServerHostname while updating locations SMB, NFS, and ObjectStorage." +} diff --git a/.changes/next-release/api-change-gameliftstreams-22764.json b/.changes/next-release/api-change-gameliftstreams-22764.json new file mode 100644 index 000000000000..4bb0c8cada04 --- /dev/null +++ b/.changes/next-release/api-change-gameliftstreams-22764.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``gameliftstreams``", + "description": "New Service: Amazon GameLift Streams delivers low-latency game streaming from AWS global infrastructure to virtually any device with a browser at up to 1080p resolution and 60 fps." +} diff --git a/.changes/next-release/api-change-iotfleetwise-63642.json b/.changes/next-release/api-change-iotfleetwise-63642.json new file mode 100644 index 000000000000..134ec3080c62 --- /dev/null +++ b/.changes/next-release/api-change-iotfleetwise-63642.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``iotfleetwise``", + "description": "This release adds floating point support for CAN/OBD signals and adds support for signed OBD signals." +} diff --git a/.changes/next-release/api-change-workspaces-27498.json b/.changes/next-release/api-change-workspaces-27498.json new file mode 100644 index 000000000000..5f96360bc3da --- /dev/null +++ b/.changes/next-release/api-change-workspaces-27498.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``workspaces``", + "description": "Added DeviceTypeWorkSpacesThinClient type to allow users to access their WorkSpaces through a WorkSpaces Thin Client." +} From de49e4c86fba727afb2bebe901a4957ea9a0facf Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 5 Mar 2025 19:24:25 +0000 Subject: [PATCH 0497/1087] Bumping version to 1.38.7 --- .changes/1.38.7.json | 27 +++++++++++++++++++ .../api-change-bedrockruntime-30687.json | 5 ---- .../api-change-datasync-53899.json | 5 ---- .../api-change-gameliftstreams-22764.json | 5 ---- .../api-change-iotfleetwise-63642.json | 5 ---- .../api-change-workspaces-27498.json | 5 ---- CHANGELOG.rst | 10 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 11 files changed, 41 insertions(+), 29 deletions(-) create mode 100644 .changes/1.38.7.json delete mode 100644 .changes/next-release/api-change-bedrockruntime-30687.json delete mode 100644 .changes/next-release/api-change-datasync-53899.json delete mode 100644 .changes/next-release/api-change-gameliftstreams-22764.json delete mode 100644 .changes/next-release/api-change-iotfleetwise-63642.json delete mode 100644 .changes/next-release/api-change-workspaces-27498.json diff --git a/.changes/1.38.7.json b/.changes/1.38.7.json new file mode 100644 index 000000000000..9de7a42672ba --- /dev/null +++ b/.changes/1.38.7.json @@ -0,0 +1,27 @@ +[ + { + "category": "``bedrock-runtime``", + "description": "This releases adds support for Custom Prompt Router ARN", + "type": "api-change" + }, + { + "category": "``datasync``", + "description": "AWS DataSync now supports modifying ServerHostname while updating locations SMB, NFS, and ObjectStorage.", + "type": "api-change" + }, + { + "category": "``gameliftstreams``", + "description": "New Service: Amazon GameLift Streams delivers low-latency game streaming from AWS global infrastructure to virtually any device with a browser at up to 1080p resolution and 60 fps.", + "type": "api-change" + }, + { + "category": "``iotfleetwise``", + "description": "This release adds floating point support for CAN/OBD signals and adds support for signed OBD signals.", + "type": "api-change" + }, + { + "category": "``workspaces``", + "description": "Added DeviceTypeWorkSpacesThinClient type to allow users to access their WorkSpaces through a WorkSpaces Thin Client.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-bedrockruntime-30687.json b/.changes/next-release/api-change-bedrockruntime-30687.json deleted file mode 100644 index c39e7cbc9087..000000000000 --- a/.changes/next-release/api-change-bedrockruntime-30687.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-runtime``", - "description": "This releases adds support for Custom Prompt Router ARN" -} diff --git a/.changes/next-release/api-change-datasync-53899.json b/.changes/next-release/api-change-datasync-53899.json deleted file mode 100644 index d32120e77cc4..000000000000 --- a/.changes/next-release/api-change-datasync-53899.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``datasync``", - "description": "AWS DataSync now supports modifying ServerHostname while updating locations SMB, NFS, and ObjectStorage." -} diff --git a/.changes/next-release/api-change-gameliftstreams-22764.json b/.changes/next-release/api-change-gameliftstreams-22764.json deleted file mode 100644 index 4bb0c8cada04..000000000000 --- a/.changes/next-release/api-change-gameliftstreams-22764.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``gameliftstreams``", - "description": "New Service: Amazon GameLift Streams delivers low-latency game streaming from AWS global infrastructure to virtually any device with a browser at up to 1080p resolution and 60 fps." -} diff --git a/.changes/next-release/api-change-iotfleetwise-63642.json b/.changes/next-release/api-change-iotfleetwise-63642.json deleted file mode 100644 index 134ec3080c62..000000000000 --- a/.changes/next-release/api-change-iotfleetwise-63642.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``iotfleetwise``", - "description": "This release adds floating point support for CAN/OBD signals and adds support for signed OBD signals." -} diff --git a/.changes/next-release/api-change-workspaces-27498.json b/.changes/next-release/api-change-workspaces-27498.json deleted file mode 100644 index 5f96360bc3da..000000000000 --- a/.changes/next-release/api-change-workspaces-27498.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``workspaces``", - "description": "Added DeviceTypeWorkSpacesThinClient type to allow users to access their WorkSpaces through a WorkSpaces Thin Client." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index b2e648e3eb60..8ec92106ff27 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,16 @@ CHANGELOG ========= +1.38.7 +====== + +* api-change:``bedrock-runtime``: This releases adds support for Custom Prompt Router ARN +* api-change:``datasync``: AWS DataSync now supports modifying ServerHostname while updating locations SMB, NFS, and ObjectStorage. +* api-change:``gameliftstreams``: New Service: Amazon GameLift Streams delivers low-latency game streaming from AWS global infrastructure to virtually any device with a browser at up to 1080p resolution and 60 fps. +* api-change:``iotfleetwise``: This release adds floating point support for CAN/OBD signals and adds support for signed OBD signals. +* api-change:``workspaces``: Added DeviceTypeWorkSpacesThinClient type to allow users to access their WorkSpaces through a WorkSpaces Thin Client. + + 1.38.6 ====== diff --git a/awscli/__init__.py b/awscli/__init__.py index 29c9caef2ff7..6ed1281c18da 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.38.6' +__version__ = '1.38.7' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 820447218482..c2caa525f6be 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.38' # The full version, including alpha/beta/rc tags. -release = '1.38.6' +release = '1.38.7' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index e92651465ee6..3142c1438a5d 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.37.6 + botocore==1.37.7 docutils>=0.10,<0.17 s3transfer>=0.11.0,<0.12.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index b29821857b62..e54bf2a640a0 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.37.6', + 'botocore==1.37.7', 'docutils>=0.10,<0.17', 's3transfer>=0.11.0,<0.12.0', 'PyYAML>=3.10,<6.1', From 2935fc0a8ccec27cd0ee1ad902a6cb7658e793df Mon Sep 17 00:00:00 2001 From: David Souther Date: Thu, 16 Jan 2025 12:54:02 -0500 Subject: [PATCH 0498/1087] Replaced /mybucket/ with amzn-s3-demo-bucket --- .../cloudformation/_package_description.rst | 2 +- awscli/examples/emr/add-steps.rst | 16 +-- .../examples/emr/create-cluster-examples.rst | 10 +- awscli/examples/rds/cancel-export-task.rst | 44 +++--- awscli/examples/rds/describe-export-tasks.rst | 80 +++++------ .../rds/restore-db-cluster-from-s3.rst | 128 +++++++++--------- awscli/examples/rds/start-export-task.rst | 52 +++---- awscli/examples/s3/_concepts.rst | 4 +- awscli/examples/s3/cp.rst | 60 ++++---- awscli/examples/s3/ls.rst | 14 +- awscli/examples/s3/mb.rst | 12 +- awscli/examples/s3/mv.rst | 42 +++--- awscli/examples/s3/rb.rst | 16 +-- awscli/examples/s3/rm.rst | 24 ++-- awscli/examples/s3/sync.rst | 54 ++++---- awscli/examples/s3api/get-bucket-policy.rst | 4 +- 16 files changed, 281 insertions(+), 281 deletions(-) diff --git a/awscli/examples/cloudformation/_package_description.rst b/awscli/examples/cloudformation/_package_description.rst index f47ec2212916..21566ac96c5d 100644 --- a/awscli/examples/cloudformation/_package_description.rst +++ b/awscli/examples/cloudformation/_package_description.rst @@ -40,7 +40,7 @@ For example, if your AWS Lambda function source code is in the ``/home/user/code/lambdafunction/`` folder, specify ``CodeUri: /home/user/code/lambdafunction`` for the ``AWS::Serverless::Function`` resource. The command returns a template and replaces -the local path with the S3 location: ``CodeUri: s3://mybucket/lambdafunction.zip``. +the local path with the S3 location: ``CodeUri: s3://amzn-s3-demo-bucket/lambdafunction.zip``. If you specify a file, the command directly uploads it to the S3 bucket. If you specify a folder, the command zips the folder and then uploads the .zip file. diff --git a/awscli/examples/emr/add-steps.rst b/awscli/examples/emr/add-steps.rst index 282c77edbe41..6ec39f356ebe 100644 --- a/awscli/examples/emr/add-steps.rst +++ b/awscli/examples/emr/add-steps.rst @@ -2,7 +2,7 @@ - Command:: - aws emr add-steps --cluster-id j-XXXXXXXX --steps Type=CUSTOM_JAR,Name=CustomJAR,ActionOnFailure=CONTINUE,Jar=s3://mybucket/mytest.jar,Args=arg1,arg2,arg3 Type=CUSTOM_JAR,Name=CustomJAR,ActionOnFailure=CONTINUE,Jar=s3://mybucket/mytest.jar,MainClass=mymainclass,Args=arg1,arg2,arg3 + aws emr add-steps --cluster-id j-XXXXXXXX --steps Type=CUSTOM_JAR,Name=CustomJAR,ActionOnFailure=CONTINUE,Jar=s3://amzn-s3-demo-bucket/mytest.jar,Args=arg1,arg2,arg3 Type=CUSTOM_JAR,Name=CustomJAR,ActionOnFailure=CONTINUE,Jar=s3://amzn-s3-demo-bucket/mytest.jar,MainClass=mymainclass,Args=arg1,arg2,arg3 - Required parameters:: @@ -25,7 +25,7 @@ - Command:: - aws emr add-steps --cluster-id j-XXXXXXXX --steps Type=STREAMING,Name='Streaming Program',ActionOnFailure=CONTINUE,Args=[-files,s3://elasticmapreduce/samples/wordcount/wordSplitter.py,-mapper,wordSplitter.py,-reducer,aggregate,-input,s3://elasticmapreduce/samples/wordcount/input,-output,s3://mybucket/wordcount/output] + aws emr add-steps --cluster-id j-XXXXXXXX --steps Type=STREAMING,Name='Streaming Program',ActionOnFailure=CONTINUE,Args=[-files,s3://elasticmapreduce/samples/wordcount/wordSplitter.py,-mapper,wordSplitter.py,-reducer,aggregate,-input,s3://elasticmapreduce/samples/wordcount/input,-output,s3://amzn-s3-demo-bucket/wordcount/output] - Required parameters:: @@ -40,7 +40,7 @@ [ { "Name": "JSON Streaming Step", - "Args": ["-files","s3://elasticmapreduce/samples/wordcount/wordSplitter.py","-mapper","wordSplitter.py","-reducer","aggregate","-input","s3://elasticmapreduce/samples/wordcount/input","-output","s3://mybucket/wordcount/output"], + "Args": ["-files","s3://elasticmapreduce/samples/wordcount/wordSplitter.py","-mapper","wordSplitter.py","-reducer","aggregate","-input","s3://elasticmapreduce/samples/wordcount/input","-output","s3://amzn-s3-demo-bucket/wordcount/output"], "ActionOnFailure": "CONTINUE", "Type": "STREAMING" } @@ -72,15 +72,15 @@ NOTE: JSON arguments must include options and values as their own items in the l "ActionOnFailure": "CONTINUE", "Args": [ "-files", - "s3://mybucket/mapper.py,s3://mybucket/reducer.py", + "s3://amzn-s3-demo-bucket/mapper.py,s3://amzn-s3-demo-bucket/reducer.py", "-mapper", "mapper.py", "-reducer", "reducer.py", "-input", - "s3://mybucket/input", + "s3://amzn-s3-demo-bucket/input", "-output", - "s3://mybucket/output"] + "s3://amzn-s3-demo-bucket/output"] } ] @@ -109,7 +109,7 @@ NOTE: JSON arguments must include options and values as their own items in the l - Command:: - aws emr add-steps --cluster-id j-XXXXXXXX --steps Type=HIVE,Name='Hive program',ActionOnFailure=CONTINUE,Args=[-f,s3://mybucket/myhivescript.q,-d,INPUT=s3://mybucket/myhiveinput,-d,OUTPUT=s3://mybucket/myhiveoutput,arg1,arg2] Type=HIVE,Name='Hive steps',ActionOnFailure=TERMINATE_CLUSTER,Args=[-f,s3://elasticmapreduce/samples/hive-ads/libs/model-build.q,-d,INPUT=s3://elasticmapreduce/samples/hive-ads/tables,-d,OUTPUT=s3://mybucket/hive-ads/output/2014-04-18/11-07-32,-d,LIBS=s3://elasticmapreduce/samples/hive-ads/libs] + aws emr add-steps --cluster-id j-XXXXXXXX --steps Type=HIVE,Name='Hive program',ActionOnFailure=CONTINUE,Args=[-f,s3://amzn-s3-demo-bucket/myhivescript.q,-d,INPUT=s3://amzn-s3-demo-bucket/myhiveinput,-d,OUTPUT=s3://amzn-s3-demo-bucket/myhiveoutput,arg1,arg2] Type=HIVE,Name='Hive steps',ActionOnFailure=TERMINATE_CLUSTER,Args=[-f,s3://elasticmapreduce/samples/hive-ads/libs/model-build.q,-d,INPUT=s3://elasticmapreduce/samples/hive-ads/tables,-d,OUTPUT=s3://amzn-s3-demo-bucket/hive-ads/output/2014-04-18/11-07-32,-d,LIBS=s3://elasticmapreduce/samples/hive-ads/libs] - Required parameters:: @@ -134,7 +134,7 @@ NOTE: JSON arguments must include options and values as their own items in the l - Command:: - aws emr add-steps --cluster-id j-XXXXXXXX --steps Type=PIG,Name='Pig program',ActionOnFailure=CONTINUE,Args=[-f,s3://mybucket/mypigscript.pig,-p,INPUT=s3://mybucket/mypiginput,-p,OUTPUT=s3://mybucket/mypigoutput,arg1,arg2] Type=PIG,Name='Pig program',Args=[-f,s3://elasticmapreduce/samples/pig-apache/do-reports2.pig,-p,INPUT=s3://elasticmapreduce/samples/pig-apache/input,-p,OUTPUT=s3://mybucket/pig-apache/output,arg1,arg2] + aws emr add-steps --cluster-id j-XXXXXXXX --steps Type=PIG,Name='Pig program',ActionOnFailure=CONTINUE,Args=[-f,s3://amzn-s3-demo-bucket/mypigscript.pig,-p,INPUT=s3://amzn-s3-demo-bucket/mypiginput,-p,OUTPUT=s3://amzn-s3-demo-bucket/mypigoutput,arg1,arg2] Type=PIG,Name='Pig program',Args=[-f,s3://elasticmapreduce/samples/pig-apache/do-reports2.pig,-p,INPUT=s3://elasticmapreduce/samples/pig-apache/input,-p,OUTPUT=s3://amzn-s3-demo-bucket/pig-apache/output,arg1,arg2] - Required parameters:: diff --git a/awscli/examples/emr/create-cluster-examples.rst b/awscli/examples/emr/create-cluster-examples.rst index 0d8f673f90ec..23d48e524fe9 100644 --- a/awscli/examples/emr/create-cluster-examples.rst +++ b/awscli/examples/emr/create-cluster-examples.rst @@ -369,7 +369,7 @@ The following ``create-cluster`` examples add a streaming step to a cluster that The following example specifies the step inline. :: aws emr create-cluster \ - --steps Type=STREAMING,Name='Streaming Program',ActionOnFailure=CONTINUE,Args=[-files,s3://elasticmapreduce/samples/wordcount/wordSplitter.py,-mapper,wordSplitter.py,-reducer,aggregate,-input,s3://elasticmapreduce/samples/wordcount/input,-output,s3://mybucket/wordcount/output] \ + --steps Type=STREAMING,Name='Streaming Program',ActionOnFailure=CONTINUE,Args=[-files,s3://elasticmapreduce/samples/wordcount/wordSplitter.py,-mapper,wordSplitter.py,-reducer,aggregate,-input,s3://elasticmapreduce/samples/wordcount/input,-output,s3://amzn-s3-demo-bucket/wordcount/output] \ --release-label emr-5.3.1 \ --instance-groups InstanceGroupType=MASTER,InstanceCount=1,InstanceType=m4.large InstanceGroupType=CORE,InstanceCount=2,InstanceType=m4.large \ --auto-terminate @@ -397,7 +397,7 @@ Contents of ``multiplefiles.json``:: "-input", "s3://elasticmapreduce/samples/wordcount/input", "-output", - "s3://mybucket/wordcount/output" + "s3://amzn-s3-demo-bucket/wordcount/output" ], "ActionOnFailure": "CONTINUE", "Type": "STREAMING" @@ -409,7 +409,7 @@ Contents of ``multiplefiles.json``:: The following example add Hive steps when creating a cluster. Hive steps require parameters ``Type`` and ``Args``. Hive steps optional parameters are ``Name`` and ``ActionOnFailure``. :: aws emr create-cluster \ - --steps Type=HIVE,Name='Hive program',ActionOnFailure=CONTINUE,ActionOnFailure=TERMINATE_CLUSTER,Args=[-f,s3://elasticmapreduce/samples/hive-ads/libs/model-build.q,-d,INPUT=s3://elasticmapreduce/samples/hive-ads/tables,-d,OUTPUT=s3://mybucket/hive-ads/output/2014-04-18/11-07-32,-d,LIBS=s3://elasticmapreduce/samples/hive-ads/libs] \ + --steps Type=HIVE,Name='Hive program',ActionOnFailure=CONTINUE,ActionOnFailure=TERMINATE_CLUSTER,Args=[-f,s3://elasticmapreduce/samples/hive-ads/libs/model-build.q,-d,INPUT=s3://elasticmapreduce/samples/hive-ads/tables,-d,OUTPUT=s3://amzn-s3-demo-bucket/hive-ads/output/2014-04-18/11-07-32,-d,LIBS=s3://elasticmapreduce/samples/hive-ads/libs] \ --applications Name=Hive \ --release-label emr-5.3.1 \ --instance-groups InstanceGroupType=MASTER,InstanceCount=1,InstanceType=m4.large InstanceGroupType=CORE,InstanceCount=2,InstanceType=m4.large @@ -419,7 +419,7 @@ The following example add Hive steps when creating a cluster. Hive steps require The following example adds Pig steps when creating a cluster. Pig steps required parameters are ``Type`` and ``Args``. Pig steps optional parameters are ``Name`` and ``ActionOnFailure``. :: aws emr create-cluster \ - --steps Type=PIG,Name='Pig program',ActionOnFailure=CONTINUE,Args=[-f,s3://elasticmapreduce/samples/pig-apache/do-reports2.pig,-p,INPUT=s3://elasticmapreduce/samples/pig-apache/input,-p,OUTPUT=s3://mybucket/pig-apache/output] \ + --steps Type=PIG,Name='Pig program',ActionOnFailure=CONTINUE,Args=[-f,s3://elasticmapreduce/samples/pig-apache/do-reports2.pig,-p,INPUT=s3://elasticmapreduce/samples/pig-apache/input,-p,OUTPUT=s3://amzn-s3-demo-bucket/pig-apache/output] \ --applications Name=Pig \ --release-label emr-5.3.1 \ --instance-groups InstanceGroupType=MASTER,InstanceCount=1,InstanceType=m4.large InstanceGroupType=CORE,InstanceCount=2,InstanceType=m4.large @@ -429,7 +429,7 @@ The following example adds Pig steps when creating a cluster. Pig steps required The following ``create-cluster`` example runs two bootstrap actions defined as scripts that are stored in Amazon S3. :: aws emr create-cluster \ - --bootstrap-actions Path=s3://mybucket/myscript1,Name=BootstrapAction1,Args=[arg1,arg2] Path=s3://mybucket/myscript2,Name=BootstrapAction2,Args=[arg1,arg2] \ + --bootstrap-actions Path=s3://amzn-s3-demo-bucket/myscript1,Name=BootstrapAction1,Args=[arg1,arg2] Path=s3://amzn-s3-demo-bucket/myscript2,Name=BootstrapAction2,Args=[arg1,arg2] \ --release-label emr-5.3.1 \ --instance-groups InstanceGroupType=MASTER,InstanceCount=1,InstanceType=m4.large InstanceGroupType=CORE,InstanceCount=2,InstanceType=m4.large \ --auto-terminate diff --git a/awscli/examples/rds/cancel-export-task.rst b/awscli/examples/rds/cancel-export-task.rst index edf6c140a809..29e7820f768b 100644 --- a/awscli/examples/rds/cancel-export-task.rst +++ b/awscli/examples/rds/cancel-export-task.rst @@ -1,23 +1,23 @@ -**To cancel a snapshot export to Amazon S3** - -The following ``cancel-export-task`` example cancels an export task in progress that is exporting a snapshot to Amazon S3. :: - - aws rds cancel-export-task \ - --export-task-identifier my-s3-export-1 - -Output:: - - { - "ExportTaskIdentifier": "my-s3-export-1", - "SourceArn": "arn:aws:rds:us-east-1:123456789012:snapshot:publisher-final-snapshot", - "SnapshotTime": "2019-03-24T20:01:09.815Z", - "S3Bucket": "mybucket", - "S3Prefix": "", - "IamRoleArn": "arn:aws:iam::123456789012:role/service-role/export-snap-S3-role", - "KmsKeyId": "arn:aws:kms:us-east-1:123456789012:key/abcd0000-7bfd-4594-af38-aabbccddeeff", - "Status": "CANCELING", - "PercentProgress": 0, - "TotalExtractedDataInGB": 0 - } - +**To cancel a snapshot export to Amazon S3** + +The following ``cancel-export-task`` example cancels an export task in progress that is exporting a snapshot to Amazon S3. :: + + aws rds cancel-export-task \ + --export-task-identifier my-s3-export-1 + +Output:: + + { + "ExportTaskIdentifier": "my-s3-export-1", + "SourceArn": "arn:aws:rds:us-east-1:123456789012:snapshot:publisher-final-snapshot", + "SnapshotTime": "2019-03-24T20:01:09.815Z", + "S3Bucket": "amzn-s3-demo-bucket", + "S3Prefix": "", + "IamRoleArn": "arn:aws:iam::123456789012:role/service-role/export-snap-S3-role", + "KmsKeyId": "arn:aws:kms:us-east-1:123456789012:key/abcd0000-7bfd-4594-af38-aabbccddeeff", + "Status": "CANCELING", + "PercentProgress": 0, + "TotalExtractedDataInGB": 0 + } + For more information, see `Canceling a snapshot export task `__ in the *Amazon RDS User Guide* or `Canceling a snapshot export task `__ in the *Amazon Aurora User Guide*. \ No newline at end of file diff --git a/awscli/examples/rds/describe-export-tasks.rst b/awscli/examples/rds/describe-export-tasks.rst index a39d1125afce..dd18e0943108 100644 --- a/awscli/examples/rds/describe-export-tasks.rst +++ b/awscli/examples/rds/describe-export-tasks.rst @@ -1,40 +1,40 @@ -**To describe snapshot export tasks** - -The following ``describe-export-tasks`` example returns information about snapshot exports to Amazon S3. :: - - aws rds describe-export-tasks - -Output:: - - { - "ExportTasks": [ - { - "ExportTaskIdentifier": "test-snapshot-export", - "SourceArn": "arn:aws:rds:us-west-2:123456789012:snapshot:test-snapshot", - "SnapshotTime": "2020-03-02T18:26:28.163Z", - "TaskStartTime": "2020-03-02T18:57:56.896Z", - "TaskEndTime": "2020-03-02T19:10:31.985Z", - "S3Bucket": "mybucket", - "S3Prefix": "", - "IamRoleArn": "arn:aws:iam::123456789012:role/service-role/ExportRole", - "KmsKeyId": "arn:aws:kms:us-west-2:123456789012:key/abcd0000-7fca-4128-82f2-aabbccddeeff", - "Status": "COMPLETE", - "PercentProgress": 100, - "TotalExtractedDataInGB": 0 - }, - { - "ExportTaskIdentifier": "my-s3-export", - "SourceArn": "arn:aws:rds:us-west-2:123456789012:snapshot:db5-snapshot-test", - "SnapshotTime": "2020-03-27T20:48:42.023Z", - "S3Bucket": "mybucket", - "S3Prefix": "", - "IamRoleArn": "arn:aws:iam::123456789012:role/service-role/ExportRole", - "KmsKeyId": "arn:aws:kms:us-west-2:123456789012:key/abcd0000-7fca-4128-82f2-aabbccddeeff", - "Status": "STARTING", - "PercentProgress": 0, - "TotalExtractedDataInGB": 0 - } - ] - } - -For more information, see `Monitoring Snapshot Exports `__ in the *Amazon RDS User Guide*. +**To describe snapshot export tasks** + +The following ``describe-export-tasks`` example returns information about snapshot exports to Amazon S3. :: + + aws rds describe-export-tasks + +Output:: + + { + "ExportTasks": [ + { + "ExportTaskIdentifier": "test-snapshot-export", + "SourceArn": "arn:aws:rds:us-west-2:123456789012:snapshot:test-snapshot", + "SnapshotTime": "2020-03-02T18:26:28.163Z", + "TaskStartTime": "2020-03-02T18:57:56.896Z", + "TaskEndTime": "2020-03-02T19:10:31.985Z", + "S3Bucket": "amzn-s3-demo-bucket", + "S3Prefix": "", + "IamRoleArn": "arn:aws:iam::123456789012:role/service-role/ExportRole", + "KmsKeyId": "arn:aws:kms:us-west-2:123456789012:key/abcd0000-7fca-4128-82f2-aabbccddeeff", + "Status": "COMPLETE", + "PercentProgress": 100, + "TotalExtractedDataInGB": 0 + }, + { + "ExportTaskIdentifier": "my-s3-export", + "SourceArn": "arn:aws:rds:us-west-2:123456789012:snapshot:db5-snapshot-test", + "SnapshotTime": "2020-03-27T20:48:42.023Z", + "S3Bucket": "amzn-s3-demo-bucket", + "S3Prefix": "", + "IamRoleArn": "arn:aws:iam::123456789012:role/service-role/ExportRole", + "KmsKeyId": "arn:aws:kms:us-west-2:123456789012:key/abcd0000-7fca-4128-82f2-aabbccddeeff", + "Status": "STARTING", + "PercentProgress": 0, + "TotalExtractedDataInGB": 0 + } + ] + } + +For more information, see `Monitoring Snapshot Exports `__ in the *Amazon RDS User Guide*. diff --git a/awscli/examples/rds/restore-db-cluster-from-s3.rst b/awscli/examples/rds/restore-db-cluster-from-s3.rst index e30d207c106c..3f7fe445d389 100644 --- a/awscli/examples/rds/restore-db-cluster-from-s3.rst +++ b/awscli/examples/rds/restore-db-cluster-from-s3.rst @@ -1,64 +1,64 @@ -**To restore an Amazon Aurora DB cluster from Amazon S3** - -The following ``restore-db-cluster-from-s3`` example restores an Amazon Aurora MySQL version 5.7-compatible DB cluster from a MySQL 5.7 DB backup file in Amazon S3. :: - - aws rds restore-db-cluster-from-s3 \ - --db-cluster-identifier cluster-s3-restore \ - --engine aurora-mysql \ - --master-username admin \ - --master-user-password mypassword \ - --s3-bucket-name mybucket \ - --s3-prefix test-backup \ - --s3-ingestion-role-arn arn:aws:iam::123456789012:role/service-role/TestBackup \ - --source-engine mysql \ - --source-engine-version 5.7.28 - -Output:: - - { - "DBCluster": { - "AllocatedStorage": 1, - "AvailabilityZones": [ - "us-west-2c", - "us-west-2a", - "us-west-2b" - ], - "BackupRetentionPeriod": 1, - "DBClusterIdentifier": "cluster-s3-restore", - "DBClusterParameterGroup": "default.aurora-mysql5.7", - "DBSubnetGroup": "default", - "Status": "creating", - "Endpoint": "cluster-s3-restore.cluster-co3xyzabc123.us-west-2.rds.amazonaws.com", - "ReaderEndpoint": "cluster-s3-restore.cluster-ro-co3xyzabc123.us-west-2.rds.amazonaws.com", - "MultiAZ": false, - "Engine": "aurora-mysql", - "EngineVersion": "5.7.12", - "Port": 3306, - "MasterUsername": "admin", - "PreferredBackupWindow": "11:15-11:45", - "PreferredMaintenanceWindow": "thu:12:19-thu:12:49", - "ReadReplicaIdentifiers": [], - "DBClusterMembers": [], - "VpcSecurityGroups": [ - { - "VpcSecurityGroupId": "sg-########", - "Status": "active" - } - ], - "HostedZoneId": "Z1PVIF0EXAMPLE", - "StorageEncrypted": false, - "DbClusterResourceId": "cluster-SU5THYQQHOWCXZZDGXREXAMPLE", - "DBClusterArn": "arn:aws:rds:us-west-2:123456789012:cluster:cluster-s3-restore", - "AssociatedRoles": [], - "IAMDatabaseAuthenticationEnabled": false, - "ClusterCreateTime": "2020-07-27T14:22:08.095Z", - "EngineMode": "provisioned", - "DeletionProtection": false, - "HttpEndpointEnabled": false, - "CopyTagsToSnapshot": false, - "CrossAccountClone": false, - "DomainMemberships": [] - } - } - -For more information, see `Migrating Data from MySQL by Using an Amazon S3 Bucket `__ in the *Amazon Aurora User Guide*. +**To restore an Amazon Aurora DB cluster from Amazon S3** + +The following ``restore-db-cluster-from-s3`` example restores an Amazon Aurora MySQL version 5.7-compatible DB cluster from a MySQL 5.7 DB backup file in Amazon S3. :: + + aws rds restore-db-cluster-from-s3 \ + --db-cluster-identifier cluster-s3-restore \ + --engine aurora-mysql \ + --master-username admin \ + --master-user-password mypassword \ + --s3-bucket-name amzn-s3-demo-bucket \ + --s3-prefix test-backup \ + --s3-ingestion-role-arn arn:aws:iam::123456789012:role/service-role/TestBackup \ + --source-engine mysql \ + --source-engine-version 5.7.28 + +Output:: + + { + "DBCluster": { + "AllocatedStorage": 1, + "AvailabilityZones": [ + "us-west-2c", + "us-west-2a", + "us-west-2b" + ], + "BackupRetentionPeriod": 1, + "DBClusterIdentifier": "cluster-s3-restore", + "DBClusterParameterGroup": "default.aurora-mysql5.7", + "DBSubnetGroup": "default", + "Status": "creating", + "Endpoint": "cluster-s3-restore.cluster-co3xyzabc123.us-west-2.rds.amazonaws.com", + "ReaderEndpoint": "cluster-s3-restore.cluster-ro-co3xyzabc123.us-west-2.rds.amazonaws.com", + "MultiAZ": false, + "Engine": "aurora-mysql", + "EngineVersion": "5.7.12", + "Port": 3306, + "MasterUsername": "admin", + "PreferredBackupWindow": "11:15-11:45", + "PreferredMaintenanceWindow": "thu:12:19-thu:12:49", + "ReadReplicaIdentifiers": [], + "DBClusterMembers": [], + "VpcSecurityGroups": [ + { + "VpcSecurityGroupId": "sg-########", + "Status": "active" + } + ], + "HostedZoneId": "Z1PVIF0EXAMPLE", + "StorageEncrypted": false, + "DbClusterResourceId": "cluster-SU5THYQQHOWCXZZDGXREXAMPLE", + "DBClusterArn": "arn:aws:rds:us-west-2:123456789012:cluster:cluster-s3-restore", + "AssociatedRoles": [], + "IAMDatabaseAuthenticationEnabled": false, + "ClusterCreateTime": "2020-07-27T14:22:08.095Z", + "EngineMode": "provisioned", + "DeletionProtection": false, + "HttpEndpointEnabled": false, + "CopyTagsToSnapshot": false, + "CrossAccountClone": false, + "DomainMemberships": [] + } + } + +For more information, see `Migrating Data from MySQL by Using an Amazon S3 Bucket `__ in the *Amazon Aurora User Guide*. diff --git a/awscli/examples/rds/start-export-task.rst b/awscli/examples/rds/start-export-task.rst index ae45c407d689..d99476c90fab 100644 --- a/awscli/examples/rds/start-export-task.rst +++ b/awscli/examples/rds/start-export-task.rst @@ -1,26 +1,26 @@ -**To export a snapshot to Amazon S3** - -The following ``start-export-task`` example exports a DB snapshot named ``db5-snapshot-test`` to the Amazon S3 bucket named ``mybucket``. :: - - aws rds start-export-task \ - --export-task-identifier my-s3-export \ - --source-arn arn:aws:rds:us-west-2:123456789012:snapshot:db5-snapshot-test \ - --s3-bucket-name mybucket \ - --iam-role-arn arn:aws:iam::123456789012:role/service-role/ExportRole \ - --kms-key-id arn:aws:kms:us-west-2:123456789012:key/abcd0000-7fca-4128-82f2-aabbccddeeff - -Output:: - - { - "ExportTaskIdentifier": "my-s3-export", - "SourceArn": "arn:aws:rds:us-west-2:123456789012:snapshot:db5-snapshot-test", - "SnapshotTime": "2020-03-27T20:48:42.023Z", - "S3Bucket": "mybucket", - "IamRoleArn": "arn:aws:iam::123456789012:role/service-role/ExportRole", - "KmsKeyId": "arn:aws:kms:us-west-2:123456789012:key/abcd0000-7fca-4128-82f2-aabbccddeeff", - "Status": "STARTING", - "PercentProgress": 0, - "TotalExtractedDataInGB": 0 - } - -For more information, see `Exporting a Snapshot to an Amazon S3 Bucket `__ in the *Amazon RDS User Guide*. +**To export a snapshot to Amazon S3** + +The following ``start-export-task`` example exports a DB snapshot named ``db5-snapshot-test`` to the Amazon S3 bucket named ``amzn-s3-demo-bucket``. :: + + aws rds start-export-task \ + --export-task-identifier my-s3-export \ + --source-arn arn:aws:rds:us-west-2:123456789012:snapshot:db5-snapshot-test \ + --s3-bucket-name amzn-s3-demo-bucket \ + --iam-role-arn arn:aws:iam::123456789012:role/service-role/ExportRole \ + --kms-key-id arn:aws:kms:us-west-2:123456789012:key/abcd0000-7fca-4128-82f2-aabbccddeeff + +Output:: + + { + "ExportTaskIdentifier": "my-s3-export", + "SourceArn": "arn:aws:rds:us-west-2:123456789012:snapshot:db5-snapshot-test", + "SnapshotTime": "2020-03-27T20:48:42.023Z", + "S3Bucket": "amzn-s3-demo-bucket", + "IamRoleArn": "arn:aws:iam::123456789012:role/service-role/ExportRole", + "KmsKeyId": "arn:aws:kms:us-west-2:123456789012:key/abcd0000-7fca-4128-82f2-aabbccddeeff", + "Status": "STARTING", + "PercentProgress": 0, + "TotalExtractedDataInGB": 0 + } + +For more information, see `Exporting a Snapshot to an Amazon S3 Bucket `__ in the *Amazon RDS User Guide*. diff --git a/awscli/examples/s3/_concepts.rst b/awscli/examples/s3/_concepts.rst index a2a36ffd7986..3a922bfb5734 100644 --- a/awscli/examples/s3/_concepts.rst +++ b/awscli/examples/s3/_concepts.rst @@ -14,13 +14,13 @@ are two types of path arguments: ``LocalPath`` and ``S3Uri``. written as an absolute path or relative path. ``S3Uri``: represents the location of a S3 object, prefix, or bucket. This -must be written in the form ``s3://mybucket/mykey`` where ``mybucket`` is +must be written in the form ``s3://amzn-s3-demo-bucket/mykey`` where ``amzn-s3-demo-bucket`` is the specified S3 bucket, ``mykey`` is the specified S3 key. The path argument must begin with ``s3://`` in order to denote that the path argument refers to a S3 object. Note that prefixes are separated by forward slashes. For example, if the S3 object ``myobject`` had the prefix ``myprefix``, the S3 key would be ``myprefix/myobject``, and if the object was in the bucket -``mybucket``, the ``S3Uri`` would be ``s3://mybucket/myprefix/myobject``. +``amzn-s3-demo-bucket``, the ``S3Uri`` would be ``s3://amzn-s3-demo-bucket/myprefix/myobject``. ``S3Uri`` also supports S3 access points. To specify an access point, this value must be of the form ``s3:///``. For example if diff --git a/awscli/examples/s3/cp.rst b/awscli/examples/s3/cp.rst index c89ddef1b666..eb2529c28d35 100644 --- a/awscli/examples/s3/cp.rst +++ b/awscli/examples/s3/cp.rst @@ -3,67 +3,67 @@ The following ``cp`` command copies a single file to a specified bucket and key:: - aws s3 cp test.txt s3://mybucket/test2.txt + aws s3 cp test.txt s3://amzn-s3-demo-bucket/test2.txt Output:: - upload: test.txt to s3://mybucket/test2.txt + upload: test.txt to s3://amzn-s3-demo-bucket/test2.txt **Example 2: Copying a local file to S3 with an expiration date** The following ``cp`` command copies a single file to a specified bucket and key that expires at the specified ISO 8601 timestamp:: - aws s3 cp test.txt s3://mybucket/test2.txt \ + aws s3 cp test.txt s3://amzn-s3-demo-bucket/test2.txt \ --expires 2014-10-01T20:30:00Z Output:: - upload: test.txt to s3://mybucket/test2.txt + upload: test.txt to s3://amzn-s3-demo-bucket/test2.txt **Example 3: Copying a file from S3 to S3** The following ``cp`` command copies a single s3 object to a specified bucket and key:: - aws s3 cp s3://mybucket/test.txt s3://mybucket/test2.txt + aws s3 cp s3://amzn-s3-demo-bucket/test.txt s3://amzn-s3-demo-bucket/test2.txt Output:: - copy: s3://mybucket/test.txt to s3://mybucket/test2.txt + copy: s3://amzn-s3-demo-bucket/test.txt to s3://amzn-s3-demo-bucket/test2.txt **Example 4: Copying an S3 object to a local file** The following ``cp`` command copies a single object to a specified file locally:: - aws s3 cp s3://mybucket/test.txt test2.txt + aws s3 cp s3://amzn-s3-demo-bucket/test.txt test2.txt Output:: - download: s3://mybucket/test.txt to test2.txt + download: s3://amzn-s3-demo-bucket/test.txt to test2.txt **Example 5: Copying an S3 object from one bucket to another** The following ``cp`` command copies a single object to a specified bucket while retaining its original name:: - aws s3 cp s3://mybucket/test.txt s3://amzn-s3-demo-bucket2/ + aws s3 cp s3://amzn-s3-demo-bucket/test.txt s3://amzn-s3-demo-bucket2/ Output:: - copy: s3://mybucket/test.txt to s3://amzn-s3-demo-bucket2/test.txt + copy: s3://amzn-s3-demo-bucket/test.txt to s3://amzn-s3-demo-bucket2/test.txt **Example 6: Recursively copying S3 objects to a local directory** When passed with the parameter ``--recursive``, the following ``cp`` command recursively copies all objects under a -specified prefix and bucket to a specified directory. In this example, the bucket ``mybucket`` has the objects +specified prefix and bucket to a specified directory. In this example, the bucket ``amzn-s3-demo-bucket`` has the objects ``test1.txt`` and ``test2.txt``:: - aws s3 cp s3://mybucket . \ + aws s3 cp s3://amzn-s3-demo-bucket . \ --recursive Output:: - download: s3://mybucket/test1.txt to test1.txt - download: s3://mybucket/test2.txt to test2.txt + download: s3://amzn-s3-demo-bucket/test1.txt to test1.txt + download: s3://amzn-s3-demo-bucket/test2.txt to test2.txt **Example 7: Recursively copying local files to S3** @@ -71,51 +71,51 @@ When passed with the parameter ``--recursive``, the following ``cp`` command rec specified directory to a specified bucket and prefix while excluding some files by using an ``--exclude`` parameter. In this example, the directory ``myDir`` has the files ``test1.txt`` and ``test2.jpg``:: - aws s3 cp myDir s3://mybucket/ \ + aws s3 cp myDir s3://amzn-s3-demo-bucket/ \ --recursive \ --exclude "*.jpg" Output:: - upload: myDir/test1.txt to s3://mybucket/test1.txt + upload: myDir/test1.txt to s3://amzn-s3-demo-bucket/test1.txt **Example 8: Recursively copying S3 objects to another bucket** When passed with the parameter ``--recursive``, the following ``cp`` command recursively copies all objects under a specified bucket to another bucket while excluding some objects by using an ``--exclude`` parameter. In this example, -the bucket ``mybucket`` has the objects ``test1.txt`` and ``another/test1.txt``:: +the bucket ``amzn-s3-demo-bucket`` has the objects ``test1.txt`` and ``another/test1.txt``:: - aws s3 cp s3://mybucket/ s3://amzn-s3-demo-bucket2/ \ + aws s3 cp s3://amzn-s3-demo-bucket/ s3://amzn-s3-demo-bucket2/ \ --recursive \ --exclude "another/*" Output:: - copy: s3://mybucket/test1.txt to s3://amzn-s3-demo-bucket2/test1.txt + copy: s3://amzn-s3-demo-bucket/test1.txt to s3://amzn-s3-demo-bucket2/test1.txt You can combine ``--exclude`` and ``--include`` options to copy only objects that match a pattern, excluding all others:: - aws s3 cp s3://mybucket/logs/ s3://amzn-s3-demo-bucket2/logs/ \ + aws s3 cp s3://amzn-s3-demo-bucket/logs/ s3://amzn-s3-demo-bucket2/logs/ \ --recursive \ --exclude "*" \ --include "*.log" Output:: - copy: s3://mybucket/logs/test/test.log to s3://amzn-s3-demo-bucket2/logs/test/test.log - copy: s3://mybucket/logs/test3.log to s3://amzn-s3-demo-bucket2/logs/test3.log + copy: s3://amzn-s3-demo-bucket/logs/test/test.log to s3://amzn-s3-demo-bucket2/logs/test/test.log + copy: s3://amzn-s3-demo-bucket/logs/test3.log to s3://amzn-s3-demo-bucket2/logs/test3.log **Example 9: Setting the Access Control List (ACL) while copying an S3 object** The following ``cp`` command copies a single object to a specified bucket and key while setting the ACL to ``public-read-write``:: - aws s3 cp s3://mybucket/test.txt s3://mybucket/test2.txt \ + aws s3 cp s3://amzn-s3-demo-bucket/test.txt s3://amzn-s3-demo-bucket/test2.txt \ --acl public-read-write Output:: - copy: s3://mybucket/test.txt to s3://mybucket/test2.txt + copy: s3://amzn-s3-demo-bucket/test.txt to s3://amzn-s3-demo-bucket/test2.txt Note that if you're using the ``--acl`` option, ensure that any associated IAM policies include the ``"s3:PutObjectAcl"`` action:: @@ -138,7 +138,7 @@ Output:: "s3:PutObjectAcl" ], "Resource": [ - "arn:aws:s3:::mybucket/*" + "arn:aws:s3:::amzn-s3-demo-bucket/*" ], "Effect": "Allow", "Sid": "Stmt1234567891234" @@ -152,11 +152,11 @@ Output:: The following ``cp`` command illustrates the use of the ``--grants`` option to grant read access to all users identified by URI and full control to a specific user identified by their Canonical ID:: - aws s3 cp file.txt s3://mybucket/ --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers full=id=79a59df900b949e55d96a1e698fbacedfd6e09d98eacf8f8d5218e7cd47ef2be + aws s3 cp file.txt s3://amzn-s3-demo-bucket/ --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers full=id=79a59df900b949e55d96a1e698fbacedfd6e09d98eacf8f8d5218e7cd47ef2be Output:: - upload: file.txt to s3://mybucket/file.txt + upload: file.txt to s3://amzn-s3-demo-bucket/file.txt **Example 11: Uploading a local file stream to S3** @@ -164,13 +164,13 @@ Output:: The following ``cp`` command uploads a local file stream from standard input to a specified bucket and key:: - aws s3 cp - s3://mybucket/stream.txt + aws s3 cp - s3://amzn-s3-demo-bucket/stream.txt **Example 12: Uploading a local file stream that is larger than 50GB to S3** The following ``cp`` command uploads a 51GB local file stream from standard input to a specified bucket and key. The ``--expected-size`` option must be provided, or the upload may fail when it reaches the default part limit of 10,000:: - aws s3 cp - s3://mybucket/stream.txt --expected-size 54760833024 + aws s3 cp - s3://amzn-s3-demo-bucket/stream.txt --expected-size 54760833024 **Example 13: Downloading an S3 object as a local file stream** @@ -178,7 +178,7 @@ The following ``cp`` command uploads a 51GB local file stream from standard inpu The following ``cp`` command downloads an S3 object locally as a stream to standard output. Downloading as a stream is not currently compatible with the ``--recursive`` parameter:: - aws s3 cp s3://mybucket/stream.txt - + aws s3 cp s3://amzn-s3-demo-bucket/stream.txt - **Example 14: Uploading to an S3 access point** diff --git a/awscli/examples/s3/ls.rst b/awscli/examples/s3/ls.rst index decd5e168daa..e3e456134834 100644 --- a/awscli/examples/s3/ls.rst +++ b/awscli/examples/s3/ls.rst @@ -1,19 +1,19 @@ **Example 1: Listing all user owned buckets** -The following ``ls`` command lists all of the bucket owned by the user. In this example, the user owns the buckets ``mybucket`` and ``amzn-s3-demo-bucket2``. The timestamp is the date the bucket was created, shown in your machine's time zone. This date can change when making changes to your bucket, such as editing its bucket policy. Note if ``s3://`` is used for the path argument ````, it will list all of the buckets as well. :: +The following ``ls`` command lists all of the bucket owned by the user. In this example, the user owns the buckets ``amzn-s3-demo-bucket`` and ``amzn-s3-demo-bucket2``. The timestamp is the date the bucket was created, shown in your machine's time zone. This date can change when making changes to your bucket, such as editing its bucket policy. Note if ``s3://`` is used for the path argument ````, it will list all of the buckets as well. :: aws s3 ls Output:: - 2013-07-11 17:08:50 mybucket + 2013-07-11 17:08:50 amzn-s3-demo-bucket 2013-07-24 14:55:44 amzn-s3-demo-bucket2 **Example 2: Listing all prefixes and objects in a bucket** -The following ``ls`` command lists objects and common prefixes under a specified bucket and prefix. In this example, the user owns the bucket ``mybucket`` with the objects ``test.txt`` and ``somePrefix/test.txt``. The ``LastWriteTime`` and ``Length`` are arbitrary. Note that since the ``ls`` command has no interaction with the local filesystem, the ``s3://`` URI scheme is not required to resolve ambiguity and may be omitted. :: +The following ``ls`` command lists objects and common prefixes under a specified bucket and prefix. In this example, the user owns the bucket ``amzn-s3-demo-bucket`` with the objects ``test.txt`` and ``somePrefix/test.txt``. The ``LastWriteTime`` and ``Length`` are arbitrary. Note that since the ``ls`` command has no interaction with the local filesystem, the ``s3://`` URI scheme is not required to resolve ambiguity and may be omitted. :: - aws s3 ls s3://mybucket + aws s3 ls s3://amzn-s3-demo-bucket Output:: @@ -24,7 +24,7 @@ Output:: The following ``ls`` command lists objects and common prefixes under a specified bucket and prefix. However, there are no objects nor common prefixes under the specified bucket and prefix. :: - aws s3 ls s3://mybucket/noExistPrefix + aws s3 ls s3://amzn-s3-demo-bucket/noExistPrefix Output:: @@ -34,7 +34,7 @@ Output:: The following ``ls`` command will recursively list objects in a bucket. Rather than showing ``PRE dirname/`` in the output, all the content in a bucket will be listed in order. :: - aws s3 ls s3://mybucket \ + aws s3 ls s3://amzn-s3-demo-bucket \ --recursive Output:: @@ -54,7 +54,7 @@ Output:: The following ``ls`` command demonstrates the same command using the --human-readable and --summarize options. --human-readable displays file size in Bytes/MiB/KiB/GiB/TiB/PiB/EiB. --summarize displays the total number of objects and total size at the end of the result listing:: - aws s3 ls s3://mybucket \ + aws s3 ls s3://amzn-s3-demo-bucket \ --recursive \ --human-readable \ --summarize diff --git a/awscli/examples/s3/mb.rst b/awscli/examples/s3/mb.rst index aa1e15234bb5..c7d25f3e0a62 100644 --- a/awscli/examples/s3/mb.rst +++ b/awscli/examples/s3/mb.rst @@ -1,22 +1,22 @@ **Example 1: Create a bucket** -The following ``mb`` command creates a bucket. In this example, the user makes the bucket ``mybucket``. The bucket is +The following ``mb`` command creates a bucket. In this example, the user makes the bucket ``amzn-s3-demo-bucket``. The bucket is created in the region specified in the user's configuration file:: - aws s3 mb s3://mybucket + aws s3 mb s3://amzn-s3-demo-bucket Output:: - make_bucket: s3://mybucket + make_bucket: s3://amzn-s3-demo-bucket **Example 2: Create a bucket in the specified region** The following ``mb`` command creates a bucket in a region specified by the ``--region`` parameter. In this example, the -user makes the bucket ``mybucket`` in the region ``us-west-1``:: +user makes the bucket ``amzn-s3-demo-bucket`` in the region ``us-west-1``:: - aws s3 mb s3://mybucket \ + aws s3 mb s3://amzn-s3-demo-bucket \ --region us-west-1 Output:: - make_bucket: s3://mybucket + make_bucket: s3://amzn-s3-demo-bucket diff --git a/awscli/examples/s3/mv.rst b/awscli/examples/s3/mv.rst index 62f9860adfe1..836d5d0fcae0 100644 --- a/awscli/examples/s3/mv.rst +++ b/awscli/examples/s3/mv.rst @@ -2,55 +2,55 @@ The following ``mv`` command moves a single file to a specified bucket and key. :: - aws s3 mv test.txt s3://mybucket/test2.txt + aws s3 mv test.txt s3://amzn-s3-demo-bucket/test2.txt Output:: - move: test.txt to s3://mybucket/test2.txt + move: test.txt to s3://amzn-s3-demo-bucket/test2.txt **Example 2: Move an object to the specified bucket and key** The following ``mv`` command moves a single s3 object to a specified bucket and key. :: - aws s3 mv s3://mybucket/test.txt s3://mybucket/test2.txt + aws s3 mv s3://amzn-s3-demo-bucket/test.txt s3://amzn-s3-demo-bucket/test2.txt Output:: - move: s3://mybucket/test.txt to s3://mybucket/test2.txt + move: s3://amzn-s3-demo-bucket/test.txt to s3://amzn-s3-demo-bucket/test2.txt **Example 3: Move an S3 object to the local directory** The following ``mv`` command moves a single object to a specified file locally. :: - aws s3 mv s3://mybucket/test.txt test2.txt + aws s3 mv s3://amzn-s3-demo-bucket/test.txt test2.txt Output:: - move: s3://mybucket/test.txt to test2.txt + move: s3://amzn-s3-demo-bucket/test.txt to test2.txt **Example 4: Move an object with it's original name to the specified bucket** The following ``mv`` command moves a single object to a specified bucket while retaining its original name:: - aws s3 mv s3://mybucket/test.txt s3://amzn-s3-demo-bucket2/ + aws s3 mv s3://amzn-s3-demo-bucket/test.txt s3://amzn-s3-demo-bucket2/ Output:: - move: s3://mybucket/test.txt to s3://amzn-s3-demo-bucket2/test.txt + move: s3://amzn-s3-demo-bucket/test.txt to s3://amzn-s3-demo-bucket2/test.txt **Example 5: Move all objects and prefixes in a bucket to the local directory** When passed with the parameter ``--recursive``, the following ``mv`` command recursively moves all objects under a -specified prefix and bucket to a specified directory. In this example, the bucket ``mybucket`` has the objects +specified prefix and bucket to a specified directory. In this example, the bucket ``amzn-s3-demo-bucket`` has the objects ``test1.txt`` and ``test2.txt``. :: - aws s3 mv s3://mybucket . \ + aws s3 mv s3://amzn-s3-demo-bucket . \ --recursive Output:: - move: s3://mybucket/test1.txt to test1.txt - move: s3://mybucket/test2.txt to test2.txt + move: s3://amzn-s3-demo-bucket/test1.txt to test1.txt + move: s3://amzn-s3-demo-bucket/test2.txt to test2.txt **Example 6: Move all objects and prefixes in a bucket to the local directory, except ``.jpg`` files** @@ -58,7 +58,7 @@ When passed with the parameter ``--recursive``, the following ``mv`` command rec specified directory to a specified bucket and prefix while excluding some files by using an ``--exclude`` parameter. In this example, the directory ``myDir`` has the files ``test1.txt`` and ``test2.jpg``. :: - aws s3 mv myDir s3://mybucket/ \ + aws s3 mv myDir s3://amzn-s3-demo-bucket/ \ --recursive \ --exclude "*.jpg" @@ -70,39 +70,39 @@ Output:: When passed with the parameter ``--recursive``, the following ``mv`` command recursively moves all objects under a specified bucket to another bucket while excluding some objects by using an ``--exclude`` parameter. In this example, -the bucket ``mybucket`` has the objects ``test1.txt`` and ``another/test1.txt``. :: +the bucket ``amzn-s3-demo-bucket`` has the objects ``test1.txt`` and ``another/test1.txt``. :: - aws s3 mv s3://mybucket/ s3://amzn-s3-demo-bucket2/ \ + aws s3 mv s3://amzn-s3-demo-bucket/ s3://amzn-s3-demo-bucket2/ \ --recursive \ - --exclude "mybucket/another/*" + --exclude "amzn-s3-demo-bucket/another/*" Output:: - move: s3://mybucket/test1.txt to s3://amzn-s3-demo-bucket2/test1.txt + move: s3://amzn-s3-demo-bucket/test1.txt to s3://amzn-s3-demo-bucket2/test1.txt **Example 8: Move an object to the specified bucket and set the ACL** The following ``mv`` command moves a single object to a specified bucket and key while setting the ACL to ``public-read-write``. :: - aws s3 mv s3://mybucket/test.txt s3://mybucket/test2.txt \ + aws s3 mv s3://amzn-s3-demo-bucket/test.txt s3://amzn-s3-demo-bucket/test2.txt \ --acl public-read-write Output:: - move: s3://mybucket/test.txt to s3://mybucket/test2.txt + move: s3://amzn-s3-demo-bucket/test.txt to s3://amzn-s3-demo-bucket/test2.txt **Example 9: Move a local file to the specified bucket and grant permissions** The following ``mv`` command illustrates the use of the ``--grants`` option to grant read access to all users and full control to a specific user identified by their email address. :: - aws s3 mv file.txt s3://mybucket/ \ + aws s3 mv file.txt s3://amzn-s3-demo-bucket/ \ --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers full=emailaddress=user@example.com Output:: - move: file.txt to s3://mybucket/file.txt + move: file.txt to s3://amzn-s3-demo-bucket/file.txt **Example 10: Move a file to an S3 access point** diff --git a/awscli/examples/s3/rb.rst b/awscli/examples/s3/rb.rst index 1abecb67ae92..a37590c40c11 100644 --- a/awscli/examples/s3/rb.rst +++ b/awscli/examples/s3/rb.rst @@ -1,24 +1,24 @@ **Example 1: Delete a bucket** -The following ``rb`` command removes a bucket. In this example, the user's bucket is ``mybucket``. Note that the bucket must be empty in order to remove:: +The following ``rb`` command removes a bucket. In this example, the user's bucket is ``amzn-s3-demo-bucket``. Note that the bucket must be empty in order to remove:: - aws s3 rb s3://mybucket + aws s3 rb s3://amzn-s3-demo-bucket Output:: - remove_bucket: mybucket + remove_bucket: amzn-s3-demo-bucket **Example 2: Force delete a bucket** The following ``rb`` command uses the ``--force`` parameter to first remove all of the objects in the bucket and then -remove the bucket itself. In this example, the user's bucket is ``mybucket`` and the objects in ``mybucket`` are +remove the bucket itself. In this example, the user's bucket is ``amzn-s3-demo-bucket`` and the objects in ``amzn-s3-demo-bucket`` are ``test1.txt`` and ``test2.txt``:: - aws s3 rb s3://mybucket \ + aws s3 rb s3://amzn-s3-demo-bucket \ --force Output:: - delete: s3://mybucket/test1.txt - delete: s3://mybucket/test2.txt - remove_bucket: mybucket \ No newline at end of file + delete: s3://amzn-s3-demo-bucket/test1.txt + delete: s3://amzn-s3-demo-bucket/test2.txt + remove_bucket: amzn-s3-demo-bucket \ No newline at end of file diff --git a/awscli/examples/s3/rm.rst b/awscli/examples/s3/rm.rst index 73cb6ce4905d..735e38995202 100644 --- a/awscli/examples/s3/rm.rst +++ b/awscli/examples/s3/rm.rst @@ -2,54 +2,54 @@ The following ``rm`` command deletes a single s3 object:: - aws s3 rm s3://mybucket/test2.txt + aws s3 rm s3://amzn-s3-demo-bucket/test2.txt Output:: - delete: s3://mybucket/test2.txt + delete: s3://amzn-s3-demo-bucket/test2.txt **Example 2: Delete all contents in a bucket** The following ``rm`` command recursively deletes all objects under a specified bucket and prefix when passed with the -parameter ``--recursive``. In this example, the bucket ``mybucket`` contains the objects ``test1.txt`` and +parameter ``--recursive``. In this example, the bucket ``amzn-s3-demo-bucket`` contains the objects ``test1.txt`` and ``test2.txt``:: - aws s3 rm s3://mybucket \ + aws s3 rm s3://amzn-s3-demo-bucket \ --recursive Output:: - delete: s3://mybucket/test1.txt - delete: s3://mybucket/test2.txt + delete: s3://amzn-s3-demo-bucket/test1.txt + delete: s3://amzn-s3-demo-bucket/test2.txt **Example 3: Delete all contents in a bucket, except ``.jpg`` files** The following ``rm`` command recursively deletes all objects under a specified bucket and prefix when passed with the parameter ``--recursive`` while excluding some objects by using an ``--exclude`` parameter. In this example, the bucket -``mybucket`` has the objects ``test1.txt`` and ``test2.jpg``:: +``amzn-s3-demo-bucket`` has the objects ``test1.txt`` and ``test2.jpg``:: - aws s3 rm s3://mybucket/ \ + aws s3 rm s3://amzn-s3-demo-bucket/ \ --recursive \ --exclude "*.jpg" Output:: - delete: s3://mybucket/test1.txt + delete: s3://amzn-s3-demo-bucket/test1.txt **Example 4: Delete all contents in a bucket, except objects under the specified prefix** The following ``rm`` command recursively deletes all objects under a specified bucket and prefix when passed with the parameter ``--recursive`` while excluding all objects under a particular prefix by using an ``--exclude`` parameter. In -this example, the bucket ``mybucket`` has the objects ``test1.txt`` and ``another/test.txt``:: +this example, the bucket ``amzn-s3-demo-bucket`` has the objects ``test1.txt`` and ``another/test.txt``:: - aws s3 rm s3://mybucket/ \ + aws s3 rm s3://amzn-s3-demo-bucket/ \ --recursive \ --exclude "another/*" Output:: - delete: s3://mybucket/test1.txt + delete: s3://amzn-s3-demo-bucket/test1.txt **Example 5: Delete an object from an S3 access point** diff --git a/awscli/examples/s3/sync.rst b/awscli/examples/s3/sync.rst index 1e6966678da3..bee26f6684fc 100644 --- a/awscli/examples/s3/sync.rst +++ b/awscli/examples/s3/sync.rst @@ -4,15 +4,15 @@ The following ``sync`` command syncs objects from a local directory to the speci uploading the local files to S3. A local file will require uploading if the size of the local file is different than the size of the S3 object, the last modified time of the local file is newer than the last modified time of the S3 object, or the local file does not exist under the specified bucket and prefix. In this example, the user syncs the -bucket ``mybucket`` to the local current directory. The local current directory contains the files ``test.txt`` and -``test2.txt``. The bucket ``mybucket`` contains no objects. :: +bucket ``amzn-s3-demo-bucket`` to the local current directory. The local current directory contains the files ``test.txt`` and +``test2.txt``. The bucket ``amzn-s3-demo-bucket`` contains no objects. :: - aws s3 sync . s3://mybucket + aws s3 sync . s3://amzn-s3-demo-bucket Output:: - upload: test.txt to s3://mybucket/test.txt - upload: test2.txt to s3://mybucket/test2.txt + upload: test.txt to s3://amzn-s3-demo-bucket/test.txt + upload: test2.txt to s3://amzn-s3-demo-bucket/test2.txt **Example 2: Sync all S3 objects from the specified S3 bucket to another bucket** @@ -21,15 +21,15 @@ prefix and bucket by copying S3 objects. An S3 object will require copying if th the last modified time of the source is newer than the last modified time of the destination, or the S3 object does not exist under the specified bucket and prefix destination. -In this example, the user syncs the bucket ``mybucket`` to the bucket ``amzn-s3-demo-bucket2``. The bucket ``mybucket`` contains the objects ``test.txt`` and ``test2.txt``. The bucket +In this example, the user syncs the bucket ``amzn-s3-demo-bucket`` to the bucket ``amzn-s3-demo-bucket2``. The bucket ``amzn-s3-demo-bucket`` contains the objects ``test.txt`` and ``test2.txt``. The bucket ``amzn-s3-demo-bucket2`` contains no objects:: - aws s3 sync s3://mybucket s3://amzn-s3-demo-bucket2 + aws s3 sync s3://amzn-s3-demo-bucket s3://amzn-s3-demo-bucket2 Output:: - copy: s3://mybucket/test.txt to s3://amzn-s3-demo-bucket2/test.txt - copy: s3://mybucket/test2.txt to s3://amzn-s3-demo-bucket2/test2.txt + copy: s3://amzn-s3-demo-bucket/test.txt to s3://amzn-s3-demo-bucket2/test.txt + copy: s3://amzn-s3-demo-bucket/test2.txt to s3://amzn-s3-demo-bucket2/test2.txt **Example 3: Sync all S3 objects from the specified S3 bucket to the local directory** @@ -38,62 +38,62 @@ downloading S3 objects. An S3 object will require downloading if the size of the local file, the last modified time of the S3 object is newer than the last modified time of the local file, or the S3 object does not exist in the local directory. Take note that when objects are downloaded from S3, the last modified time of the local file is changed to the last modified time of the S3 object. In this example, the user syncs the -bucket ``mybucket`` to the current local directory. The bucket ``mybucket`` contains the objects ``test.txt`` and +bucket ``amzn-s3-demo-bucket`` to the current local directory. The bucket ``amzn-s3-demo-bucket`` contains the objects ``test.txt`` and ``test2.txt``. The current local directory has no files:: - aws s3 sync s3://mybucket . + aws s3 sync s3://amzn-s3-demo-bucket . Output:: - download: s3://mybucket/test.txt to test.txt - download: s3://mybucket/test2.txt to test2.txt + download: s3://amzn-s3-demo-bucket/test.txt to test.txt + download: s3://amzn-s3-demo-bucket/test2.txt to test2.txt **Example 4: Sync all local objects to the specified bucket and delete all files that do not match** The following ``sync`` command syncs objects under a specified prefix and bucket to files in a local directory by uploading the local files to S3. Because of the ``--delete`` parameter, any files existing under the specified prefix and bucket but not existing in the local directory will be deleted. In this example, the user syncs -the bucket ``mybucket`` to the local current directory. The local current directory contains the files ``test.txt`` and -``test2.txt``. The bucket ``mybucket`` contains the object ``test3.txt``:: +the bucket ``amzn-s3-demo-bucket`` to the local current directory. The local current directory contains the files ``test.txt`` and +``test2.txt``. The bucket ``amzn-s3-demo-bucket`` contains the object ``test3.txt``:: - aws s3 sync . s3://mybucket \ + aws s3 sync . s3://amzn-s3-demo-bucket \ --delete Output:: - upload: test.txt to s3://mybucket/test.txt - upload: test2.txt to s3://mybucket/test2.txt - delete: s3://mybucket/test3.txt + upload: test.txt to s3://amzn-s3-demo-bucket/test.txt + upload: test2.txt to s3://amzn-s3-demo-bucket/test2.txt + delete: s3://amzn-s3-demo-bucket/test3.txt **Example 5: Sync all local objects to the specified bucket except ``.jpg`` files** The following ``sync`` command syncs objects under a specified prefix and bucket to files in a local directory by uploading the local files to S3. Because of the ``--exclude`` parameter, all files matching the pattern -existing both in S3 and locally will be excluded from the sync. In this example, the user syncs the bucket ``mybucket`` +existing both in S3 and locally will be excluded from the sync. In this example, the user syncs the bucket ``amzn-s3-demo-bucket`` to the local current directory. The local current directory contains the files ``test.jpg`` and ``test2.txt``. The -bucket ``mybucket`` contains the object ``test.jpg`` of a different size than the local ``test.jpg``:: +bucket ``amzn-s3-demo-bucket`` contains the object ``test.jpg`` of a different size than the local ``test.jpg``:: - aws s3 sync . s3://mybucket \ + aws s3 sync . s3://amzn-s3-demo-bucket \ --exclude "*.jpg" Output:: - upload: test2.txt to s3://mybucket/test2.txt + upload: test2.txt to s3://amzn-s3-demo-bucket/test2.txt **Example 6: Sync all local objects to the specified bucket except specified directory files** The following ``sync`` command syncs files under a local directory to objects under a specified prefix and bucket by downloading S3 objects. This example uses the ``--exclude`` parameter flag to exclude a specified directory and S3 prefix from the ``sync`` command. In this example, the user syncs the local current directory to the bucket -``mybucket``. The local current directory contains the files ``test.txt`` and ``another/test2.txt``. The bucket -``mybucket`` contains the objects ``another/test5.txt`` and ``test1.txt``:: +``amzn-s3-demo-bucket``. The local current directory contains the files ``test.txt`` and ``another/test2.txt``. The bucket +``amzn-s3-demo-bucket`` contains the objects ``another/test5.txt`` and ``test1.txt``:: - aws s3 sync s3://mybucket/ . \ + aws s3 sync s3://amzn-s3-demo-bucket/ . \ --exclude "*another/*" Output:: - download: s3://mybucket/test1.txt to test1.txt + download: s3://amzn-s3-demo-bucket/test1.txt to test1.txt **Example 7: Sync all objects between buckets in different regions** diff --git a/awscli/examples/s3api/get-bucket-policy.rst b/awscli/examples/s3api/get-bucket-policy.rst index e0279f3a2f7f..ea219624de98 100644 --- a/awscli/examples/s3api/get-bucket-policy.rst +++ b/awscli/examples/s3api/get-bucket-policy.rst @@ -16,9 +16,9 @@ make modifications to the file, and then use ``put-bucket-policy`` to apply the modified bucket policy. To download the bucket policy to a file, you can run:: - aws s3api get-bucket-policy --bucket mybucket --query Policy --output text > policy.json + aws s3api get-bucket-policy --bucket amzn-s3-demo-bucket --query Policy --output text > policy.json You can then modify the ``policy.json`` file as needed. Finally you can apply this modified policy back to the S3 bucket by running:: - aws s3api put-bucket-policy --bucket mybucket --policy file://policy.json + aws s3api put-bucket-policy --bucket amzn-s3-demo-bucket --policy file://policy.json From ef5c8255225b078039ea8fb7a480c1e2c2b3f834 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 6 Mar 2025 19:16:43 +0000 Subject: [PATCH 0499/1087] Update changelog based on model updates --- .changes/next-release/api-change-bedrock-66397.json | 5 +++++ .changes/next-release/api-change-cloudtrail-28071.json | 5 +++++ .changes/next-release/api-change-ivsrealtime-98957.json | 5 +++++ .../next-release/api-change-networkflowmonitor-96667.json | 5 +++++ .changes/next-release/api-change-redshiftdata-15387.json | 5 +++++ .changes/next-release/api-change-wafv2-52579.json | 5 +++++ .changes/next-release/api-change-workspaces-64230.json | 5 +++++ 7 files changed, 35 insertions(+) create mode 100644 .changes/next-release/api-change-bedrock-66397.json create mode 100644 .changes/next-release/api-change-cloudtrail-28071.json create mode 100644 .changes/next-release/api-change-ivsrealtime-98957.json create mode 100644 .changes/next-release/api-change-networkflowmonitor-96667.json create mode 100644 .changes/next-release/api-change-redshiftdata-15387.json create mode 100644 .changes/next-release/api-change-wafv2-52579.json create mode 100644 .changes/next-release/api-change-workspaces-64230.json diff --git a/.changes/next-release/api-change-bedrock-66397.json b/.changes/next-release/api-change-bedrock-66397.json new file mode 100644 index 000000000000..1277d9d69ab9 --- /dev/null +++ b/.changes/next-release/api-change-bedrock-66397.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock``", + "description": "This releases adds support for Custom Prompt Router" +} diff --git a/.changes/next-release/api-change-cloudtrail-28071.json b/.changes/next-release/api-change-cloudtrail-28071.json new file mode 100644 index 000000000000..ce4a0acc55dc --- /dev/null +++ b/.changes/next-release/api-change-cloudtrail-28071.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``cloudtrail``", + "description": "Doc-only update for CloudTrail." +} diff --git a/.changes/next-release/api-change-ivsrealtime-98957.json b/.changes/next-release/api-change-ivsrealtime-98957.json new file mode 100644 index 000000000000..467801352c86 --- /dev/null +++ b/.changes/next-release/api-change-ivsrealtime-98957.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ivs-realtime``", + "description": "IVS Real-Time now offers customers the ability to merge fragmented recordings in the event of a participant disconnect." +} diff --git a/.changes/next-release/api-change-networkflowmonitor-96667.json b/.changes/next-release/api-change-networkflowmonitor-96667.json new file mode 100644 index 000000000000..4ba17aef1db4 --- /dev/null +++ b/.changes/next-release/api-change-networkflowmonitor-96667.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``networkflowmonitor``", + "description": "This release contains 2 changes. 1: DeleteScope/GetScope/UpdateScope operations now return 404 instead of 500 when the resource does not exist. 2: Expected string format for clientToken fields of CreateMonitorInput/CreateScopeInput/UpdateMonitorInput have been updated to be an UUID based string." +} diff --git a/.changes/next-release/api-change-redshiftdata-15387.json b/.changes/next-release/api-change-redshiftdata-15387.json new file mode 100644 index 000000000000..c603af99b062 --- /dev/null +++ b/.changes/next-release/api-change-redshiftdata-15387.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``redshift-data``", + "description": "This release adds support for ListStatements API to filter statements by ClusterIdentifier, WorkgroupName, and Database." +} diff --git a/.changes/next-release/api-change-wafv2-52579.json b/.changes/next-release/api-change-wafv2-52579.json new file mode 100644 index 000000000000..d12868b42f41 --- /dev/null +++ b/.changes/next-release/api-change-wafv2-52579.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``wafv2``", + "description": "You can now perform an exact match or rate limit aggregation against the web request's JA4 fingerprint." +} diff --git a/.changes/next-release/api-change-workspaces-64230.json b/.changes/next-release/api-change-workspaces-64230.json new file mode 100644 index 000000000000..53219aa9f5ed --- /dev/null +++ b/.changes/next-release/api-change-workspaces-64230.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``workspaces``", + "description": "Added a new ModifyEndpointEncryptionMode API for managing endpoint encryption settings." +} From 7246787d63b55ac426225ee5dc7c31c1584e5b77 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 6 Mar 2025 19:22:20 +0000 Subject: [PATCH 0500/1087] Bumping version to 1.38.8 --- .changes/1.38.8.json | 37 +++++++++++++++++++ .../api-change-bedrock-66397.json | 5 --- .../api-change-cloudtrail-28071.json | 5 --- .../api-change-ivsrealtime-98957.json | 5 --- .../api-change-networkflowmonitor-96667.json | 5 --- .../api-change-redshiftdata-15387.json | 5 --- .../next-release/api-change-wafv2-52579.json | 5 --- .../api-change-workspaces-64230.json | 5 --- CHANGELOG.rst | 12 ++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 13 files changed, 53 insertions(+), 39 deletions(-) create mode 100644 .changes/1.38.8.json delete mode 100644 .changes/next-release/api-change-bedrock-66397.json delete mode 100644 .changes/next-release/api-change-cloudtrail-28071.json delete mode 100644 .changes/next-release/api-change-ivsrealtime-98957.json delete mode 100644 .changes/next-release/api-change-networkflowmonitor-96667.json delete mode 100644 .changes/next-release/api-change-redshiftdata-15387.json delete mode 100644 .changes/next-release/api-change-wafv2-52579.json delete mode 100644 .changes/next-release/api-change-workspaces-64230.json diff --git a/.changes/1.38.8.json b/.changes/1.38.8.json new file mode 100644 index 000000000000..634571ce75f7 --- /dev/null +++ b/.changes/1.38.8.json @@ -0,0 +1,37 @@ +[ + { + "category": "``bedrock``", + "description": "This releases adds support for Custom Prompt Router", + "type": "api-change" + }, + { + "category": "``cloudtrail``", + "description": "Doc-only update for CloudTrail.", + "type": "api-change" + }, + { + "category": "``ivs-realtime``", + "description": "IVS Real-Time now offers customers the ability to merge fragmented recordings in the event of a participant disconnect.", + "type": "api-change" + }, + { + "category": "``networkflowmonitor``", + "description": "This release contains 2 changes. 1: DeleteScope/GetScope/UpdateScope operations now return 404 instead of 500 when the resource does not exist. 2: Expected string format for clientToken fields of CreateMonitorInput/CreateScopeInput/UpdateMonitorInput have been updated to be an UUID based string.", + "type": "api-change" + }, + { + "category": "``redshift-data``", + "description": "This release adds support for ListStatements API to filter statements by ClusterIdentifier, WorkgroupName, and Database.", + "type": "api-change" + }, + { + "category": "``wafv2``", + "description": "You can now perform an exact match or rate limit aggregation against the web request's JA4 fingerprint.", + "type": "api-change" + }, + { + "category": "``workspaces``", + "description": "Added a new ModifyEndpointEncryptionMode API for managing endpoint encryption settings.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-bedrock-66397.json b/.changes/next-release/api-change-bedrock-66397.json deleted file mode 100644 index 1277d9d69ab9..000000000000 --- a/.changes/next-release/api-change-bedrock-66397.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock``", - "description": "This releases adds support for Custom Prompt Router" -} diff --git a/.changes/next-release/api-change-cloudtrail-28071.json b/.changes/next-release/api-change-cloudtrail-28071.json deleted file mode 100644 index ce4a0acc55dc..000000000000 --- a/.changes/next-release/api-change-cloudtrail-28071.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``cloudtrail``", - "description": "Doc-only update for CloudTrail." -} diff --git a/.changes/next-release/api-change-ivsrealtime-98957.json b/.changes/next-release/api-change-ivsrealtime-98957.json deleted file mode 100644 index 467801352c86..000000000000 --- a/.changes/next-release/api-change-ivsrealtime-98957.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ivs-realtime``", - "description": "IVS Real-Time now offers customers the ability to merge fragmented recordings in the event of a participant disconnect." -} diff --git a/.changes/next-release/api-change-networkflowmonitor-96667.json b/.changes/next-release/api-change-networkflowmonitor-96667.json deleted file mode 100644 index 4ba17aef1db4..000000000000 --- a/.changes/next-release/api-change-networkflowmonitor-96667.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``networkflowmonitor``", - "description": "This release contains 2 changes. 1: DeleteScope/GetScope/UpdateScope operations now return 404 instead of 500 when the resource does not exist. 2: Expected string format for clientToken fields of CreateMonitorInput/CreateScopeInput/UpdateMonitorInput have been updated to be an UUID based string." -} diff --git a/.changes/next-release/api-change-redshiftdata-15387.json b/.changes/next-release/api-change-redshiftdata-15387.json deleted file mode 100644 index c603af99b062..000000000000 --- a/.changes/next-release/api-change-redshiftdata-15387.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``redshift-data``", - "description": "This release adds support for ListStatements API to filter statements by ClusterIdentifier, WorkgroupName, and Database." -} diff --git a/.changes/next-release/api-change-wafv2-52579.json b/.changes/next-release/api-change-wafv2-52579.json deleted file mode 100644 index d12868b42f41..000000000000 --- a/.changes/next-release/api-change-wafv2-52579.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``wafv2``", - "description": "You can now perform an exact match or rate limit aggregation against the web request's JA4 fingerprint." -} diff --git a/.changes/next-release/api-change-workspaces-64230.json b/.changes/next-release/api-change-workspaces-64230.json deleted file mode 100644 index 53219aa9f5ed..000000000000 --- a/.changes/next-release/api-change-workspaces-64230.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``workspaces``", - "description": "Added a new ModifyEndpointEncryptionMode API for managing endpoint encryption settings." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 8ec92106ff27..854df667fdd7 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,18 @@ CHANGELOG ========= +1.38.8 +====== + +* api-change:``bedrock``: This releases adds support for Custom Prompt Router +* api-change:``cloudtrail``: Doc-only update for CloudTrail. +* api-change:``ivs-realtime``: IVS Real-Time now offers customers the ability to merge fragmented recordings in the event of a participant disconnect. +* api-change:``networkflowmonitor``: This release contains 2 changes. 1: DeleteScope/GetScope/UpdateScope operations now return 404 instead of 500 when the resource does not exist. 2: Expected string format for clientToken fields of CreateMonitorInput/CreateScopeInput/UpdateMonitorInput have been updated to be an UUID based string. +* api-change:``redshift-data``: This release adds support for ListStatements API to filter statements by ClusterIdentifier, WorkgroupName, and Database. +* api-change:``wafv2``: You can now perform an exact match or rate limit aggregation against the web request's JA4 fingerprint. +* api-change:``workspaces``: Added a new ModifyEndpointEncryptionMode API for managing endpoint encryption settings. + + 1.38.7 ====== diff --git a/awscli/__init__.py b/awscli/__init__.py index 6ed1281c18da..06c2b724d717 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.38.7' +__version__ = '1.38.8' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index c2caa525f6be..acc21a30d4de 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.38' # The full version, including alpha/beta/rc tags. -release = '1.38.7' +release = '1.38.8' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 3142c1438a5d..afc96f2247c4 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.37.7 + botocore==1.37.8 docutils>=0.10,<0.17 s3transfer>=0.11.0,<0.12.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index e54bf2a640a0..38128eb1871f 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.37.7', + 'botocore==1.37.8', 'docutils>=0.10,<0.17', 's3transfer>=0.11.0,<0.12.0', 'PyYAML>=3.10,<6.1', From 770d797f31c33755425c2b67ccc7ffd1050a0f78 Mon Sep 17 00:00:00 2001 From: Elysa <60367675+elysahall@users.noreply.github.com> Date: Fri, 7 Mar 2025 07:59:26 -0800 Subject: [PATCH 0501/1087] CLI examples ecs, cognito-idp (#9312) --- .../get-identity-provider-by-identifier.rst | 35 +++ .../get-log-delivery-configuration.rst | 32 +++ .../cognito-idp/get-signing-certificate.rst | 27 +- .../cognito-idp/get-ui-customization.rst | 41 +-- .../get-user-attribute-verification-code.rst | 19 ++ .../cognito-idp/get-user-auth-factors.rst | 20 ++ .../cognito-idp/get-user-pool-mfa-config.rst | 33 +++ awscli/examples/cognito-idp/get-user.rst | 56 ++++ .../examples/cognito-idp/global-sign-out.rst | 10 + awscli/examples/cognito-idp/initiate-auth.rst | 27 ++ awscli/examples/cognito-idp/list-devices.rst | 48 ++-- awscli/examples/cognito-idp/list-groups.rst | 32 +++ .../cognito-idp/list-identity-providers.rst | 29 +++ .../cognito-idp/list-resource-servers.rst | 43 ++++ .../cognito-idp/list-tags-for-resource.rst | 17 ++ .../cognito-idp/list-user-import-jobs.rst | 118 ++++----- .../cognito-idp/list-user-pool-clients.rst | 32 +++ .../examples/cognito-idp/list-user-pools.rst | 70 +++-- awscli/examples/cognito-idp/list-users.rst | 133 +++++++--- .../list-web-authn-credentials.rst | 22 ++ .../cognito-idp/respond-to-auth-challenge.rst | 105 ++++++-- awscli/examples/cognito-idp/revoke-token.rst | 11 + .../set-log-delivery-configuration.rst | 33 +++ .../cognito-idp/set-risk-configuration.rst | 159 ++++++++++-- .../cognito-idp/set-ui-customization.rst | 63 +++-- .../cognito-idp/set-user-mfa-preference.rst | 11 +- .../cognito-idp/set-user-pool-mfa-config.rst | 38 +++ .../cognito-idp/start-user-import-job.rst | 56 ++-- .../start-web-authn-registration.rst | 47 ++++ .../cognito-idp/stop-user-import-job.rst | 60 +++-- awscli/examples/ecs/create-cluster.rst | 88 ++++--- awscli/examples/ecs/put-account-setting.rst | 13 +- .../examples/ecs/update-cluster-settings.rst | 12 +- awscli/examples/ecs/update-service.rst | 242 +++++++++++++++++- 34 files changed, 1418 insertions(+), 364 deletions(-) create mode 100644 awscli/examples/cognito-idp/get-identity-provider-by-identifier.rst create mode 100644 awscli/examples/cognito-idp/get-log-delivery-configuration.rst create mode 100644 awscli/examples/cognito-idp/get-user-attribute-verification-code.rst create mode 100644 awscli/examples/cognito-idp/get-user-auth-factors.rst create mode 100644 awscli/examples/cognito-idp/get-user-pool-mfa-config.rst create mode 100644 awscli/examples/cognito-idp/get-user.rst create mode 100644 awscli/examples/cognito-idp/global-sign-out.rst create mode 100644 awscli/examples/cognito-idp/initiate-auth.rst create mode 100644 awscli/examples/cognito-idp/list-groups.rst create mode 100644 awscli/examples/cognito-idp/list-identity-providers.rst create mode 100644 awscli/examples/cognito-idp/list-resource-servers.rst create mode 100644 awscli/examples/cognito-idp/list-tags-for-resource.rst create mode 100644 awscli/examples/cognito-idp/list-user-pool-clients.rst create mode 100644 awscli/examples/cognito-idp/list-web-authn-credentials.rst create mode 100644 awscli/examples/cognito-idp/revoke-token.rst create mode 100644 awscli/examples/cognito-idp/set-log-delivery-configuration.rst create mode 100644 awscli/examples/cognito-idp/set-user-pool-mfa-config.rst create mode 100644 awscli/examples/cognito-idp/start-web-authn-registration.rst diff --git a/awscli/examples/cognito-idp/get-identity-provider-by-identifier.rst b/awscli/examples/cognito-idp/get-identity-provider-by-identifier.rst new file mode 100644 index 000000000000..a11f92b85bd1 --- /dev/null +++ b/awscli/examples/cognito-idp/get-identity-provider-by-identifier.rst @@ -0,0 +1,35 @@ +**To get the configuration of an identity provider from the IdP identifier** + +The following ``get-identity-provider-by-identifier`` example returns the configuration of the identity provider with the identifier ``mysso``. :: + + aws cognito-idp get-identity-provider-by-identifier \ + --user-pool-id us-west-2_EXAMPLE \ + --idp-identifier mysso + +Output:: + + { + "IdentityProvider": { + "UserPoolId": "us-west-2_EXAMPLE", + "ProviderName": "MYSAML", + "ProviderType": "SAML", + "ProviderDetails": { + "ActiveEncryptionCertificate": "[Certificate contents]", + "IDPSignout": "false", + "MetadataURL": "https://auth.example.com/saml/metadata/", + "SLORedirectBindingURI": "https://auth.example.com/saml/logout/", + "SSORedirectBindingURI": "https://auth.example.com/saml/assertion/" + }, + "AttributeMapping": { + "email": "email" + }, + "IdpIdentifiers": [ + "mysso", + "mysamlsso" + ], + "LastModifiedDate": 1705616729.188, + "CreationDate": 1643734622.919 + } + } + +For more information, see `Third-party IdP sign-in `__ in the *Amazon Cognito Developer Guide*. diff --git a/awscli/examples/cognito-idp/get-log-delivery-configuration.rst b/awscli/examples/cognito-idp/get-log-delivery-configuration.rst new file mode 100644 index 000000000000..d44153105e2d --- /dev/null +++ b/awscli/examples/cognito-idp/get-log-delivery-configuration.rst @@ -0,0 +1,32 @@ +**To display the log delivery configuration** + +The following ``get-log-delivery-configuration`` example displays the log export settings of the requested user pool. :: + + aws cognito-idp get-log-delivery-configuration \ + --user-pool-id us-west-2_EXAMPLE + +Output:: + + { + "LogDeliveryConfiguration": { + "UserPoolId": "us-west-2_EXAMPLE", + "LogConfigurations": [ + { + "LogLevel": "INFO", + "EventSource": "userAuthEvents", + "FirehoseConfiguration": { + "StreamArn": "arn:aws:firehose:us-west-2:123456789012:deliverystream/my-test-deliverystream" + } + }, + { + "LogLevel": "ERROR", + "EventSource": "userNotification", + "CloudWatchLogsConfiguration": { + "LogGroupArn": "arn:aws:logs:us-west-2:123456789012:log-group:my-message-delivery-logs" + } + } + ] + } + } + +For more information, see `Exporting user pool logs `__ in the *Amazon Cognito Developer Guide*. diff --git a/awscli/examples/cognito-idp/get-signing-certificate.rst b/awscli/examples/cognito-idp/get-signing-certificate.rst index f7c26f1bfe6b..7099f8e656e5 100644 --- a/awscli/examples/cognito-idp/get-signing-certificate.rst +++ b/awscli/examples/cognito-idp/get-signing-certificate.rst @@ -1,13 +1,14 @@ -**To get a signing certificate** - -This example gets a signing certificate for a user pool. - -Command:: - - aws cognito-idp get-signing-certificate --user-pool-id us-west-2_aaaaaaaaa - -Output:: - - { - "Certificate": "CERTIFICATE_DATA" - } \ No newline at end of file +**To display the SAML signing certificate** + +The following ``get-signing-certificate`` example displays the SAML 2.0 signing certificate for the request user pool. :: + + aws cognito-idp get-signing-certificate \ + --user-pool-id us-west-2_EXAMPLE + +Output:: + + { + "Certificate": "[Certificate content]" + } + +For more information, see `SAML signing and encryption `__ in the *Amazon Cognito Developer Guide*. diff --git a/awscli/examples/cognito-idp/get-ui-customization.rst b/awscli/examples/cognito-idp/get-ui-customization.rst index 8943912c245f..e7a9675320bb 100644 --- a/awscli/examples/cognito-idp/get-ui-customization.rst +++ b/awscli/examples/cognito-idp/get-ui-customization.rst @@ -1,19 +1,22 @@ -**To get UI customization information** - -This example gets UI customization information for a user pool. - -Command:: - - aws cognito-idp get-ui-customization --user-pool-id us-west-2_aaaaaaaaa - -Output:: - - { - "UICustomization": { - "UserPoolId": "us-west-2_aaaaaaaaa", - "ClientId": "ALL", - "ImageUrl": "https://aaaaaaaaaaaaa.cloudfront.net/us-west-2_aaaaaaaaa/ALL/20190128231240/assets/images/image.jpg", - "CSS": ".logo-customizable {\n\tmax-width: 60%;\n\tmax-height: 30%;\n}\n.banner-customizable {\n\tpadding: 25px 0px 25px 10px;\n\tbackground-color: lightgray;\n}\n.label-customizable {\n\tfont-weight: 300;\n}\n.textDescription-customizable {\n\tpadding-top: 10px;\n\tpadding-bottom: 10px;\n\tdisplay: block;\n\tfont-size: 16px;\n}\n.idpDescription-customizable {\n\tpadding-top: 10px;\n\tpadding-bottom: 10px;\n\tdisplay: block;\n\tfont-size: 16px;\n}\n.legalText-customizable {\n\tcolor: #747474;\n\tfont-size: 11px;\n}\n.submitButton-customizable {\n\tfont-size: 14px;\n\tfont-weight: bold;\n\tmargin: 20px 0px 10px 0px;\n\theight: 40px;\n\twidth: 100%;\n\tcolor: #fff;\n\tbackground-color: #337ab7;\n}\n.submitButton-customizable:hover {\n\tcolor: #fff;\n\tbackground-color: #286090;\n}\n.errorMessage-customizable {\n\tpadding: 5px;\n\tfont-size: 14px;\n\twidth: 100%;\n\tbackground: #F5F5F5;\n\tborder: 2px solid #D64958;\n\tcolor: #D64958;\n}\n.inputField-customizable {\n\twidth: 100%;\n\theight: 34px;\n\tcolor: #555;\n\tbackground-color: #fff;\n\tborder: 1px solid #ccc;\n}\n.inputField-customizable:focus {\n\tborder-color: #66afe9;\n\toutline: 0;\n}\n.idpButton-customizable {\n\theight: 40px;\n\twidth: 100%;\n\ttext-align: center;\n\tmargin-bottom: 15px;\n\tcolor: #fff;\n\tbackground-color: #5bc0de;\n\tborder-color: #46b8da;\n}\n.idpButton-customizable:hover {\n\tcolor: #fff;\n\tbackground-color: #31b0d5;\n}\n.socialButton-customizable {\n\theight: 40px;\n\ttext-align: left;\n\twidth: 100%;\n\tmargin-bottom: 15px;\n}\n.redirect-customizable {\n\ttext-align: center;\n}\n.passwordCheck-notValid-customizable {\n\tcolor: #DF3312;\n}\n.passwordCheck-valid-customizable {\n\tcolor: #19BF00;\n}\n.background-customizable {\n\tbackground-color: #faf;\n}\n", - "CSSVersion": "20190128231240" - } - } \ No newline at end of file +**To display the classic hosted UI customization settings for an app client** + +The following ``get-ui-customization`` example displays the classic hosted UI customization settings for an app client that doesn't inherit settings from the user pool. :: + + aws cognito-idp get-ui-customization \ + --user-pool-id us-west-2_EXAMPLE \ + --client-id 1example23456789 + + +Output:: + + { + "UICustomization": { + "UserPoolId": "us-west-2_EXAMPLE", + "ClientId": "1example23456789", + "ImageUrl": "https://example.cloudfront.net/us-west-2_EXAMPLE/1example23456789/20250115191928/assets/images/image.jpg", + "CSS": "\n.logo-customizable {\n max-width: 80%;\n max-height: 30%;\n}\n\n.banner-customizable {\n padding: 25px 0px 25px 0px;\n background-color: lightgray;\n}\n\n.label-customizable {\n font-weight: 400;\n}\n\n.textDescription-customizable {\n padding-top: 100px;\n padding-bottom: 10px;\n display: block;\n font-size: 12px;\n}\n\n.idpDescription-customizable {\n padding-top: 10px;\n padding-bottom: 10px;\n display: block;\n font-size: 16px;\n}\n\n.legalText-customizable {\n color: #747474;\n font-size: 11px;\n}\n\n.submitButton-customizable {\n font-size: 14px;\n font-weight: bold;\n margin: 20px 0px 10px 0px;\n height: 50px;\n width: 100%;\n color: #fff;\n background-color: #337ab7;\n}\n\n.submitButton-customizable:hover {\n color: #fff;\n background-color: #286090;\n}\n\n.errorMessage-customizable {\n padding: 5px;\n font-size: 12px;\n width: 100%;\n background: #F5F5F5;\n border: 2px solid #D64958;\n color: #D64958;\n}\n\n.inputField-customizable {\n width: 100%;\n height: 34px;\n color: #555;\n background-color: #fff;\n border: 1px solid #ccc;\n}\n\n.inputField-customizable:focus {\n border-color: #66afe9;\n outline: 0;\n}\n\n.idpButton-customizable {\n height: 40px;\n width: 100%;\n width: 100%;\n text-align: center;\n margin-bottom: 15px;\n color: #fff;\n background-color: #5bc0de;\n border-color: #46b8da;\n}\n\n.idpButton-customizable:hover {\n color: #fff;\n background-color: #31b0d5;\n}\n\n.socialButton-customizable {\n border-radius: 2px;\n height: 60px;\n margin-bottom: 15px;\n padding: 1px;\n text-align: left;\n width: 100%;\n}\n\n.redirect-customizable {\n text-align: center;\n}\n\n.passwordCheck-notValid-customizable {\n color: #DF3312;\n}\n\n.passwordCheck-valid-customizable {\n color: #19BF00;\n}\n\n.background-customizable {\n background-color: #fff;\n}\n", + "CSSVersion": "20250115191928" + } + } + +For more information, see `Hosted UI (classic) branding `__ in the *Amazon Cognito Developer Guide*. diff --git a/awscli/examples/cognito-idp/get-user-attribute-verification-code.rst b/awscli/examples/cognito-idp/get-user-attribute-verification-code.rst new file mode 100644 index 000000000000..bb249c49f56c --- /dev/null +++ b/awscli/examples/cognito-idp/get-user-attribute-verification-code.rst @@ -0,0 +1,19 @@ +**To send an attribute verification code to the current user** + +The following ``get-user-attribute-verification-code`` example sends an attribute verification code to the currently signed-in user's email address. :: + + aws cognito-idp get-user-attribute-verification-code \ + --access-token eyJra456defEXAMPLE \ + --attribute-name email + +Output:: + + { + "CodeDeliveryDetails": { + "Destination": "a***@e***", + "DeliveryMedium": "EMAIL", + "AttributeName": "email" + } + } + +For more information, see `Signing up and confirming user accounts `__ in the *Amazon Cognito Developer Guide*. diff --git a/awscli/examples/cognito-idp/get-user-auth-factors.rst b/awscli/examples/cognito-idp/get-user-auth-factors.rst new file mode 100644 index 000000000000..736cf1df1b39 --- /dev/null +++ b/awscli/examples/cognito-idp/get-user-auth-factors.rst @@ -0,0 +1,20 @@ +**To list the authentication factors available to the current user** + +The following ``get-user-auth-factors`` example lists the available authentication factors for the currently signed-in user. :: + + aws cognito-idp get-user-auth-factors \ + --access-token eyJra456defEXAMPLE + +Output:: + + { + "Username": "testuser", + "ConfiguredUserAuthFactors": [ + "PASSWORD", + "EMAIL_OTP", + "SMS_OTP", + "WEB_AUTHN" + ] + } + +For more information, see `Authentication `__ in the *Amazon Cognito Developer Guide*. diff --git a/awscli/examples/cognito-idp/get-user-pool-mfa-config.rst b/awscli/examples/cognito-idp/get-user-pool-mfa-config.rst new file mode 100644 index 000000000000..02cf42a33036 --- /dev/null +++ b/awscli/examples/cognito-idp/get-user-pool-mfa-config.rst @@ -0,0 +1,33 @@ +**To display the multi-factor authentication and WebAuthn settings of a user pool** + +The following ``get-user-pool-mfa-config`` example displays the MFA and WebAuthn configuration of the requested user pool. :: + + aws cognito-idp get-user-pool-mfa-config \ + --user-pool-id us-west-2_EXAMPLE + +Output:: + + { + "SmsMfaConfiguration": { + "SmsAuthenticationMessage": "Your OTP for MFA or sign-in: use {####}.", + "SmsConfiguration": { + "SnsCallerArn": "arn:aws:iam::123456789012:role/service-role/my-SMS-Role", + "ExternalId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111", + "SnsRegion": "us-west-2" + } + }, + "SoftwareTokenMfaConfiguration": { + "Enabled": true + }, + "EmailMfaConfiguration": { + "Message": "Your OTP for MFA or sign-in: use {####}", + "Subject": "OTP test" + }, + "MfaConfiguration": "OPTIONAL", + "WebAuthnConfiguration": { + "RelyingPartyId": "auth.example.com", + "UserVerification": "preferred" + } + } + +For more information, see `Adding MFA `__ in the *Amazon Cognito Developer Guide*. diff --git a/awscli/examples/cognito-idp/get-user.rst b/awscli/examples/cognito-idp/get-user.rst new file mode 100644 index 000000000000..8f15c934f387 --- /dev/null +++ b/awscli/examples/cognito-idp/get-user.rst @@ -0,0 +1,56 @@ +**To get the details of the current user** + +The following ``get-user`` example displays the profile of the currently signed-in user. :: + + aws cognito-idp get-user \ + --access-token eyJra456defEXAMPLE + +Output:: + + { + "Username": "johndoe", + "UserAttributes": [ + { + "Name": "sub", + "Value": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111" + }, + { + "Name": "identities", + "Value": "[{\"userId\":\"a1b2c3d4-5678-90ab-cdef-EXAMPLE22222\",\"providerName\":\"SignInWithApple\",\"providerType\":\"SignInWithApple\",\"issuer\":null,\"primary\":false,\"dateCreated\":1701125599632}]" + }, + { + "Name": "email_verified", + "Value": "true" + }, + { + "Name": "custom:state", + "Value": "Maine" + }, + { + "Name": "name", + "Value": "John Doe" + }, + { + "Name": "phone_number_verified", + "Value": "true" + }, + { + "Name": "phone_number", + "Value": "+12065551212" + }, + { + "Name": "preferred_username", + "Value": "jamesdoe" + }, + { + "Name": "locale", + "Value": "EMEA" + }, + { + "Name": "email", + "Value": "jamesdoe@example.com" + } + ] + } + +For more information, see `Managing users `__ in the *Amazon Cognito Developer Guide*. diff --git a/awscli/examples/cognito-idp/global-sign-out.rst b/awscli/examples/cognito-idp/global-sign-out.rst new file mode 100644 index 000000000000..45bfef6539d7 --- /dev/null +++ b/awscli/examples/cognito-idp/global-sign-out.rst @@ -0,0 +1,10 @@ +**To sign out the current user** + +The following ``global-sign-out`` example signs out the current user. :: + + aws cognito-idp global-sign-out \ + --access-token eyJra456defEXAMPLE + +This command produces no output. + +For more information, see `Managing users `__ in the *Amazon Cognito Developer Guide*. diff --git a/awscli/examples/cognito-idp/initiate-auth.rst b/awscli/examples/cognito-idp/initiate-auth.rst new file mode 100644 index 000000000000..95fa3eb2911b --- /dev/null +++ b/awscli/examples/cognito-idp/initiate-auth.rst @@ -0,0 +1,27 @@ +**To sign in a user** + +The following ``initiate-auth`` example signs in a user with the basic username-password flow and no additional challenges. :: + + aws cognito-idp initiate-auth \ + --auth-flow USER_PASSWORD_AUTH \ + --client-id 1example23456789 \ + --analytics-metadata AnalyticsEndpointId=d70b2ba36a8c4dc5a04a0451aEXAMPLE \ + --auth-parameters USERNAME=testuser,PASSWORD=[Password] --user-context-data EncodedData=mycontextdata --client-metadata MyTestKey=MyTestValue + +Output:: + + { + "AuthenticationResult": { + "AccessToken": "eyJra456defEXAMPLE", + "ExpiresIn": 3600, + "TokenType": "Bearer", + "RefreshToken": "eyJra123abcEXAMPLE", + "IdToken": "eyJra789ghiEXAMPLE", + "NewDeviceMetadata": { + "DeviceKey": "us-west-2_a1b2c3d4-5678-90ab-cdef-EXAMPLE11111", + "DeviceGroupKey": "-v7w9UcY6" + } + } + } + +For more information, see `Authentication `__ in the *Amazon Cognito Developer Guide*. diff --git a/awscli/examples/cognito-idp/list-devices.rst b/awscli/examples/cognito-idp/list-devices.rst index d74692723d2c..caca5364e72a 100644 --- a/awscli/examples/cognito-idp/list-devices.rst +++ b/awscli/examples/cognito-idp/list-devices.rst @@ -1,18 +1,15 @@ -**To list devices for a user** +**To list a user's devices** -The following ``list-devices`` example lists devices for the currently sign-in user. :: +The following ``list-devices`` example lists the devices that the current user has registered. :: - aws cognito-idp admin-list-devices \ - --user-pool-id us-west-2_EXAMPLE \ - --access-token eyJra456defEXAMPLE \ - --limit 1 + aws cognito-idp list-devices \ + --access-token eyJra456defEXAMPLE Output:: { "Devices": [ { - "DeviceKey": "us-west-2_a1b2c3d4-5678-90ab-cdef-EXAMPLE11111", "DeviceAttributes": [ { "Name": "device_status", @@ -20,34 +17,35 @@ Output:: }, { "Name": "device_name", - "Value": "MyDevice" - }, - { - "Name": "dev:device_arn", - "Value": "arn:aws:cognito-idp:us-west-2:123456789012:owner/diego.us-west-2_EXAMPLE/device/us-west-2_a1b2c3d4-5678-90ab-cdef-EXAMPLE11111" - }, - { - "Name": "dev:device_owner", - "Value": "diego.us-west-2_EXAMPLE" + "Value": "Dart-device" }, { "Name": "last_ip_used", "Value": "192.0.2.1" - }, + } + ], + "DeviceCreateDate": 1715100742.022, + "DeviceKey": "us-west-2_a1b2c3d4-5678-90ab-cdef-EXAMPLE11111", + "DeviceLastAuthenticatedDate": 1715100742.0, + "DeviceLastModifiedDate": 1723233651.167 + }, + { + "DeviceAttributes": [ { - "Name": "dev:device_remembered_status", - "Value": "remembered" + "Name": "device_status", + "Value": "valid" }, { - "Name": "dev:device_sdk", - "Value": "aws-sdk" + "Name": "last_ip_used", + "Value": "192.0.2.2" } ], - "DeviceCreateDate": 1715100742.022, - "DeviceLastModifiedDate": 1723233651.167, - "DeviceLastAuthenticatedDate": 1715100742.0 + "DeviceCreateDate": 1726856147.993, + "DeviceKey": "us-west-2_a1b2c3d4-5678-90ab-cdef-EXAMPLE22222", + "DeviceLastAuthenticatedDate": 1726856147.0, + "DeviceLastModifiedDate": 1726856147.993 } ] } -For more information, see `Working with user devices in your user pool `__ in the *Amazon Cognito Developer Guide*. +For more information, see `Working with devices `__ in the *Amazon Cognito Developer Guide*. diff --git a/awscli/examples/cognito-idp/list-groups.rst b/awscli/examples/cognito-idp/list-groups.rst new file mode 100644 index 000000000000..649d31e01e25 --- /dev/null +++ b/awscli/examples/cognito-idp/list-groups.rst @@ -0,0 +1,32 @@ +**To list the groups in a user pool** + +The following ``list-groups`` example lists the first two groups in the requested user pool. :: + + aws cognito-idp list-groups \ + --user-pool-id us-west-2_EXAMPLE \ + --max-items 2 + +Output:: + + { + "Groups": [ + { + "CreationDate": 1681760899.633, + "Description": "My test group", + "GroupName": "testgroup", + "LastModifiedDate": 1681760899.633, + "Precedence": 1, + "UserPoolId": "us-west-2_EXAMPLE" + }, + { + "CreationDate": 1642632749.051, + "Description": "Autogenerated group for users who sign in using Facebook", + "GroupName": "us-west-2_EXAMPLE_Facebook", + "LastModifiedDate": 1642632749.051, + "UserPoolId": "us-west-2_EXAMPLE" + } + ], + "NextToken": "[Pagination token]" + } + +For more information, see `Adding groups to a user pool `__ in the *Amazon Cognito Developer Guide*. diff --git a/awscli/examples/cognito-idp/list-identity-providers.rst b/awscli/examples/cognito-idp/list-identity-providers.rst new file mode 100644 index 000000000000..cb6d477389c3 --- /dev/null +++ b/awscli/examples/cognito-idp/list-identity-providers.rst @@ -0,0 +1,29 @@ +**To list identity providers** + +The following ``list-identity-providers`` example lists the first two identity providers in the requested user pool. :: + + aws cognito-idp list-identity-providers \ + --user-pool-id us-west-2_EXAMPLE \ + --max-items 2 + +Output:: + + { + "Providers": [ + { + "CreationDate": 1619477386.504, + "LastModifiedDate": 1703798328.142, + "ProviderName": "Azure", + "ProviderType": "SAML" + }, + { + "CreationDate": 1642698776.175, + "LastModifiedDate": 1642699086.453, + "ProviderName": "LoginWithAmazon", + "ProviderType": "LoginWithAmazon" + } + ], + "NextToken": "[Pagination token]" + } + +For more information, see `Third-party IdP sign-in `__ in the *Amazon Cognito Developer Guide*. diff --git a/awscli/examples/cognito-idp/list-resource-servers.rst b/awscli/examples/cognito-idp/list-resource-servers.rst new file mode 100644 index 000000000000..cd102d50d51e --- /dev/null +++ b/awscli/examples/cognito-idp/list-resource-servers.rst @@ -0,0 +1,43 @@ +**To list resource servers** + +The following ``list-resource-servers`` example lists the first two resource servers in the requested user pool. :: + + aws cognito-idp list-resource-servers \ + --user-pool-id us-west-2_EXAMPLE \ + --max-results 2 + +Output:: + + { + "ResourceServers": [ + { + "Identifier": "myapi.example.com", + "Name": "Example API with custom access control scopes", + "Scopes": [ + { + "ScopeDescription": "International customers", + "ScopeName": "international.read" + }, + { + "ScopeDescription": "Domestic customers", + "ScopeName": "domestic.read" + } + ], + "UserPoolId": "us-west-2_EXAMPLE" + }, + { + "Identifier": "myapi2.example.com", + "Name": "Another example API for access control", + "Scopes": [ + { + "ScopeDescription": "B2B customers", + "ScopeName": "b2b.read" + } + ], + "UserPoolId": "us-west-2_EXAMPLE" + } + ], + "NextToken": "[Pagination token]" + } + +For more information, see `Access control with resource servers `__ in the *Amazon Cognito Developer Guide*. diff --git a/awscli/examples/cognito-idp/list-tags-for-resource.rst b/awscli/examples/cognito-idp/list-tags-for-resource.rst new file mode 100644 index 000000000000..81f03862e025 --- /dev/null +++ b/awscli/examples/cognito-idp/list-tags-for-resource.rst @@ -0,0 +1,17 @@ +**To list user pool tags** + +The following ``list-tags-for-resource`` example lists the tags assigned to the user pool with the requested ARN. :: + + aws cognito-idp list-tags-for-resource \ + --resource-arn arn:aws:cognito-idp:us-west-2:123456789012:userpool/us-west-2_EXAMPLE + +Output:: + + { + "Tags": { + "administrator": "Jie", + "tenant": "ExampleCorp" + } + } + +For more information, see `Tagging Amazon Cognito resources `__ in the *Amazon Cognito Developer Guide*. diff --git a/awscli/examples/cognito-idp/list-user-import-jobs.rst b/awscli/examples/cognito-idp/list-user-import-jobs.rst index e279cd016cb1..309631bfb4ca 100644 --- a/awscli/examples/cognito-idp/list-user-import-jobs.rst +++ b/awscli/examples/cognito-idp/list-user-import-jobs.rst @@ -1,57 +1,61 @@ -**To list user import jobs** - -This example lists user import jobs. - -For more information about importing users, see `Importing Users into User Pools From a CSV File`_. - -Command:: - - aws cognito-idp list-user-import-jobs --user-pool-id us-west-2_aaaaaaaaa --max-results 20 - -Output:: - - { - "UserImportJobs": [ - { - "JobName": "Test2", - "JobId": "import-d0OnwGA3mV", - "UserPoolId": "us-west-2_aaaaaaaaa", - "PreSignedUrl": "PRE_SIGNED_URL", - "CreationDate": 1548272793.069, - "Status": "Created", - "CloudWatchLogsRoleArn": "arn:aws:iam::111111111111:role/CognitoCloudWatchLogsRole", - "ImportedUsers": 0, - "SkippedUsers": 0, - "FailedUsers": 0 - }, - { - "JobName": "Test1", - "JobId": "import-qQ0DCt2fRh", - "UserPoolId": "us-west-2_aaaaaaaaa", - "PreSignedUrl": "PRE_SIGNED_URL", - "CreationDate": 1548271795.471, - "Status": "Created", - "CloudWatchLogsRoleArn": "arn:aws:iam::111111111111:role/CognitoCloudWatchLogsRole", - "ImportedUsers": 0, - "SkippedUsers": 0, - "FailedUsers": 0 - }, - { - "JobName": "import-Test1", - "JobId": "import-TZqNQvDRnW", - "UserPoolId": "us-west-2_aaaaaaaaa", - "PreSignedUrl": "PRE_SIGNED_URL", - "CreationDate": 1548271708.512, - "StartDate": 1548277247.962, - "CompletionDate": 1548277248.912, - "Status": "Failed", - "CloudWatchLogsRoleArn": "arn:aws:iam::111111111111:role/CognitoCloudWatchLogsRole", - "ImportedUsers": 0, - "SkippedUsers": 0, - "FailedUsers": 1, - "CompletionMessage": "Too many users have failed or been skipped during the import." - } - ] - } - -.. _`Importing Users into User Pools From a CSV File`: https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-using-import-tool.html \ No newline at end of file +**To list user import jobs and statuses** + +The following ``list-user-import-jobs`` example lists first three user import jobs and their details in the requested user pool. :: + + aws cognito-idp list-user-import-jobs \ + --user-pool-id us-west-2_EXAMPLE \ + --max-results 3 + +Output:: + + { + "PaginationToken": "us-west-2_EXAMPLE#import-example3#1667948397084", + "UserImportJobs": [ + { + "CloudWatchLogsRoleArn": "arn:aws:iam::123456789012:role/service-role/Cognito-UserImport-Role", + "CompletionDate": 1735329786.142, + "CompletionMessage": "The user import job has expired.", + "CreationDate": 1735241621.022, + "FailedUsers": 0, + "ImportedUsers": 0, + "JobId": "import-example1", + "JobName": "Test-import-job-1", + "PreSignedUrl": "https://aws-cognito-idp-user-import-pdx.s3.us-west-2.amazonaws.com/123456789012/us-west-2_EXAMPLE/import-mAgUtd8PMm?X-Amz-Security-Token=[token]&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20241226T193341Z&X-Amz-SignedHeaders=host%3Bx-amz-server-side-encryption&X-Amz-Expires=899&X-Amz-Credential=[credential]&X-Amz-Signature=[signature]", + "SkippedUsers": 0, + "Status": "Expired", + "UserPoolId": "us-west-2_EXAMPLE" + }, + { + "CloudWatchLogsRoleArn": "arn:aws:iam::123456789012:role/service-role/Cognito-UserImport-Role", + "CompletionDate": 1681509058.408, + "CompletionMessage": "Too many users have failed or been skipped during the import.", + "CreationDate": 1681509001.477, + "FailedUsers": 1, + "ImportedUsers": 0, + "JobId": "import-example2", + "JobName": "Test-import-job-2", + "PreSignedUrl": "https://aws-cognito-idp-user-import-pdx.s3.us-west-2.amazonaws.com/123456789012/us-west-2_EXAMPLE/import-mAgUtd8PMm?X-Amz-Security-Token=[token]&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20241226T193341Z&X-Amz-SignedHeaders=host%3Bx-amz-server-side-encryption&X-Amz-Expires=899&X-Amz-Credential=[credential]&X-Amz-Signature=[signature]", + "SkippedUsers": 0, + "StartDate": 1681509057.965, + "Status": "Failed", + "UserPoolId": "us-west-2_EXAMPLE" + }, + { + "CloudWatchLogsRoleArn": "arn:aws:iam::123456789012:role/service-role/Cognito-UserImport-Role", + "CompletionDate": 1.667864578676E9, + "CompletionMessage": "Import Job Completed Successfully.", + "CreationDate": 1.667864480281E9, + "FailedUsers": 0, + "ImportedUsers": 6, + "JobId": "import-example3", + "JobName": "Test-import-job-3", + "PreSignedUrl": "https://aws-cognito-idp-user-import-pdx.s3.us-west-2.amazonaws.com/123456789012/us-west-2_EXAMPLE/import-mAgUtd8PMm?X-Amz-Security-Token=[token]&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20241226T193341Z&X-Amz-SignedHeaders=host%3Bx-amz-server-side-encryption&X-Amz-Expires=899&X-Amz-Credential=[credential]&X-Amz-Signature=[signature]", + "SkippedUsers": 0, + "StartDate": 1.667864578167E9, + "Status": "Succeeded", + "UserPoolId": "us-west-2_EXAMPLE" + } + ] + } + +For more information, see `Importing users from a CSV file `__ in the *Amazon Cognito Developer Guide*. diff --git a/awscli/examples/cognito-idp/list-user-pool-clients.rst b/awscli/examples/cognito-idp/list-user-pool-clients.rst new file mode 100644 index 000000000000..f2f99077716d --- /dev/null +++ b/awscli/examples/cognito-idp/list-user-pool-clients.rst @@ -0,0 +1,32 @@ +**To list app clients** + +The following ``list-user-pool-clients`` example lists the first three app clients in the requested user pool. :: + + aws cognito-idp list-user-pool-clients \ + --user-pool-id us-west-2_EXAMPLE \ + --max-results 3 + +Output:: + + { + "NextToken": "[Pagination token]", + "UserPoolClients": [ + { + "ClientId": "1example23456789", + "ClientName": "app-client-1", + "UserPoolId": "us-west-2_EXAMPLE" + }, + { + "ClientId": "2example34567890", + "ClientName": "app-client-2", + "UserPoolId": "us-west-2_EXAMPLE" + }, + { + "ClientId": "3example45678901", + "ClientName": "app-client-3", + "UserPoolId": "us-west-2_EXAMPLE" + } + ] + } + +For more information, see `App clients `__ in the *Amazon Cognito Developer Guide*. diff --git a/awscli/examples/cognito-idp/list-user-pools.rst b/awscli/examples/cognito-idp/list-user-pools.rst index 302487ef61fa..2b906a0909dd 100644 --- a/awscli/examples/cognito-idp/list-user-pools.rst +++ b/awscli/examples/cognito-idp/list-user-pools.rst @@ -1,22 +1,48 @@ -**To list user pools** - -This example lists up to 20 user pools. - -Command:: - - aws cognito-idp list-user-pools --max-results 20 - -Output:: - - { - "UserPools": [ - { - "CreationDate": 1547763720.822, - "LastModifiedDate": 1547763720.822, - "LambdaConfig": {}, - "Id": "us-west-2_aaaaaaaaa", - "Name": "MyUserPool" - } - ] - } - +**To list user pools** + +The following ``list-user-pools`` example lists 3 of the available user pools in the AWS account of the current CLI credentials. :: + + aws cognito-idp list-user-pools \ + --max-results 3 + +Output:: + + { + "NextToken": "[Pagination token]", + "UserPools": [ + { + "CreationDate": 1681502497.741, + "Id": "us-west-2_EXAMPLE1", + "LambdaConfig": { + "CustomMessage": "arn:aws:lambda:us-east-1:123456789012:function:MyFunction", + "PreSignUp": "arn:aws:lambda:us-east-1:123456789012:function:MyFunction", + "PreTokenGeneration": "arn:aws:lambda:us-east-1:123456789012:function:MyFunction", + "PreTokenGenerationConfig": { + "LambdaArn": "arn:aws:lambda:us-east-1:123456789012:function:MyFunction", + "LambdaVersion": "V1_0" + } + }, + "LastModifiedDate": 1681502497.741, + "Name": "user pool 1" + }, + { + "CreationDate": 1686064178.717, + "Id": "us-west-2_EXAMPLE2", + "LambdaConfig": { + }, + "LastModifiedDate": 1686064178.873, + "Name": "user pool 2" + }, + { + "CreationDate": 1627681712.237, + "Id": "us-west-2_EXAMPLE3", + "LambdaConfig": { + "UserMigration": "arn:aws:lambda:us-east-1:123456789012:function:MyFunction" + }, + "LastModifiedDate": 1678486942.479, + "Name": "user pool 3" + } + ] + } + +For more information, see `Amazon Cognito user pools `__ in the *Amazon Cognito Developer Guide*. diff --git a/awscli/examples/cognito-idp/list-users.rst b/awscli/examples/cognito-idp/list-users.rst index 6245e17cf36f..2de4e336d790 100644 --- a/awscli/examples/cognito-idp/list-users.rst +++ b/awscli/examples/cognito-idp/list-users.rst @@ -1,35 +1,98 @@ -**To list users** - -This example lists up to 20 users. - -Command:: - - aws cognito-idp list-users --user-pool-id us-west-2_aaaaaaaaa --limit 20 - -Output:: - - { - "Users": [ - { - "Username": "22704aa3-fc10-479a-97eb-2af5806bd327", - "Enabled": true, - "UserStatus": "FORCE_CHANGE_PASSWORD", - "UserCreateDate": 1548089817.683, - "UserLastModifiedDate": 1548089817.683, - "Attributes": [ - { - "Name": "sub", - "Value": "22704aa3-fc10-479a-97eb-2af5806bd327" - }, - { - "Name": "email_verified", - "Value": "true" - }, - { - "Name": "email", - "Value": "mary@example.com" - } - ] - } - ] - } +**Example 1: To list users with a server-side filter** + +The following ``list-users`` example lists 3 users in the requested user pool whose email addresses begin with ``testuser``. :: + + aws cognito-idp list-users \ + --user-pool-id us-west-2_EXAMPLE \ + --filter email^=\"testuser\" \ + --max-items 3 + +Output:: + + { + "PaginationToken": "efgh5678EXAMPLE", + "Users": [ + { + "Attributes": [ + { + "Name": "sub", + "Value": "eaad0219-2117-439f-8d46-4db20e59268f" + }, + { + "Name": "email", + "Value": "testuser@example.com" + } + ], + "Enabled": true, + "UserCreateDate": 1682955829.578, + "UserLastModifiedDate": 1689030181.63, + "UserStatus": "CONFIRMED", + "Username": "testuser" + }, + { + "Attributes": [ + { + "Name": "sub", + "Value": "3b994cfd-0b07-4581-be46-3c82f9a70c90" + }, + { + "Name": "email", + "Value": "testuser2@example.com" + } + ], + "Enabled": true, + "UserCreateDate": 1684427979.201, + "UserLastModifiedDate": 1684427979.201, + "UserStatus": "UNCONFIRMED", + "Username": "testuser2" + }, + { + "Attributes": [ + { + "Name": "sub", + "Value": "5929e0d1-4c34-42d1-9b79-a5ecacfe66f7" + }, + { + "Name": "email", + "Value": "testuser3@example.com" + } + ], + "Enabled": true, + "UserCreateDate": 1684427823.641, + "UserLastModifiedDate": 1684427823.641, + "UserStatus": "UNCONFIRMED", + "Username": "testuser3@example.com" + } + ] + } + +For more information, see `Managing and searching for users `__ in the *Amazon Cognito Developer Guide*. + +**Example 2: To list users with a client-side filter** + +The following ``list-users`` example lists the attributes of three users who have an attribute, in this case their email address, that contains the email domain "@example.com". If other attributes contained this string, they would also be displayed. The second user has no attributes that match the query and is excluded from the displayed output, but not from the server response. :: + + aws cognito-idp list-users \ + --user-pool-id us-west-2_EXAMPLE \ + --max-items 3 + --query Users\[\*\].Attributes\[\?Value\.contains\(\@\,\'@example.com\'\)\] + +Output:: + + [ + [ + { + "Name": "email", + "Value": "admin@example.com" + } + ], + [], + [ + { + "Name": "email", + "Value": "operator@example.com" + } + ] + ] + +For more information, see `Managing and searching for users `__ in the *Amazon Cognito Developer Guide*. diff --git a/awscli/examples/cognito-idp/list-web-authn-credentials.rst b/awscli/examples/cognito-idp/list-web-authn-credentials.rst new file mode 100644 index 000000000000..a5fe69d29858 --- /dev/null +++ b/awscli/examples/cognito-idp/list-web-authn-credentials.rst @@ -0,0 +1,22 @@ +**To list passkey credentials** + +The following ``list-web-authn-credentials`` example lists passkey, or WebAuthn, credentials for the current user. They have one registered device. :: + + aws cognito-idp list-web-authn-credentials \ + --access-token eyJra456defEXAMPLE + +Output:: + + { + "Credentials": [ + { + "AuthenticatorAttachment": "cross-platform", + "CreatedAt": 1736293876.115, + "CredentialId": "8LApgk4-lNUFHbhm2w6Und7-uxcc8coJGsPxiogvHoItc64xWQc3r4CEXAMPLE", + "FriendlyCredentialName": "Roaming passkey", + "RelyingPartyId": "auth.example.com" + } + ] + } + +For more information, see `Passkey sign-in `__ in the *Amazon Cognito Developer Guide*. diff --git a/awscli/examples/cognito-idp/respond-to-auth-challenge.rst b/awscli/examples/cognito-idp/respond-to-auth-challenge.rst index 282d97eb3809..f627f5cd5c5c 100644 --- a/awscli/examples/cognito-idp/respond-to-auth-challenge.rst +++ b/awscli/examples/cognito-idp/respond-to-auth-challenge.rst @@ -1,27 +1,78 @@ -**To respond to an authorization challenge** - -This example responds to an authorization challenge initiated with `initiate-auth`_. It is a response to the NEW_PASSWORD_REQUIRED challenge. -It sets a password for user jane@example.com. - -Command:: - - aws cognito-idp respond-to-auth-challenge --client-id 3n4b5urk1ft4fl3mg5e62d9ado --challenge-name NEW_PASSWORD_REQUIRED --challenge-responses USERNAME=jane@example.com,NEW_PASSWORD="password" --session "SESSION_TOKEN" - -Output:: - - { - "ChallengeParameters": {}, - "AuthenticationResult": { - "AccessToken": "ACCESS_TOKEN", - "ExpiresIn": 3600, - "TokenType": "Bearer", - "RefreshToken": "REFRESH_TOKEN", - "IdToken": "ID_TOKEN", - "NewDeviceMetadata": { - "DeviceKey": "us-west-2_fec070d2-fa88-424a-8ec8-b26d7198eb23", - "DeviceGroupKey": "-wt2ha1Zd" - } - } - } - -.. _`initiate-auth`: https://docs.aws.amazon.com/cli/latest/reference/cognito-idp/initiate-auth.html \ No newline at end of file +**Example 1: To respond to a NEW_PASSWORD_REQUIRED challenge** + +The following ``respond-to-auth-challenge`` example responds to a NEW_PASSWORD_REQUIRED challenge that `initiate-auth`_ returned. It sets a password for the user ``jane@example.com``. :: + + aws cognito-idp respond-to-auth-challenge \ + --client-id 1example23456789 \ + --challenge-name NEW_PASSWORD_REQUIRED \ + --challenge-responses USERNAME=jane@example.com,NEW_PASSWORD=[Password] \ + --session AYABeEv5HklEXAMPLE + +Output:: + + { + "ChallengeParameters": {}, + "AuthenticationResult": { + "AccessToken": "ACCESS_TOKEN", + "ExpiresIn": 3600, + "TokenType": "Bearer", + "RefreshToken": "REFRESH_TOKEN", + "IdToken": "ID_TOKEN", + "NewDeviceMetadata": { + "DeviceKey": "us-west-2_a1b2c3d4-5678-90ab-cdef-EXAMPLE11111", + "DeviceGroupKey": "-wt2ha1Zd" + } + } + } + +For more information, see `Authentication `__ in the *Amazon Cognito Developer Guide*. + +**Example 2: To respond to a SELECT_MFA_TYPE challenge** + +The following ``respond-to-auth-challenge`` example chooses TOTP MFA as the MFA option for the current user. The user was prompted to select an MFA type and will next be prompted to enter their MFA code. :: + + aws cognito-idp respond-to-auth-challenge \ + --client-id 1example23456789 + --session AYABeEv5HklEXAMPLE + --challenge-name SELECT_MFA_TYPE + --challenge-responses USERNAME=testuser,ANSWER=SOFTWARE_TOKEN_MFA + +Output:: + + { + "ChallengeName": "SOFTWARE_TOKEN_MFA", + "Session": "AYABeEv5HklEXAMPLE", + "ChallengeParameters": { + "FRIENDLY_DEVICE_NAME": "transparent" + } + } + +For more information, see `Adding MFA `__ in the *Amazon Cognito Developer Guide*. + +**Example 3: To respond to a SOFTWARE_TOKEN_MFA challenge** + +The following ``respond-to-auth-challenge`` example provides a TOTP MFA code and completes sign-in. :: + + aws cognito-idp respond-to-auth-challenge \ + --client-id 1example23456789 \ + --session AYABeEv5HklEXAMPLE \ + --challenge-name SOFTWARE_TOKEN_MFA \ + --challenge-responses USERNAME=testuser,SOFTWARE_TOKEN_MFA_CODE=123456 + +Output:: + + { + "AuthenticationResult": { + "AccessToken": "eyJra456defEXAMPLE", + "ExpiresIn": 3600, + "TokenType": "Bearer", + "RefreshToken": "eyJra123abcEXAMPLE", + "IdToken": "eyJra789ghiEXAMPLE", + "NewDeviceMetadata": { + "DeviceKey": "us-west-2_a1b2c3d4-5678-90ab-cdef-EXAMPLE11111", + "DeviceGroupKey": "-v7w9UcY6" + } + } + } + +For more information, see `Adding MFA `__ in the *Amazon Cognito Developer Guide*. diff --git a/awscli/examples/cognito-idp/revoke-token.rst b/awscli/examples/cognito-idp/revoke-token.rst new file mode 100644 index 000000000000..3725bf81df6b --- /dev/null +++ b/awscli/examples/cognito-idp/revoke-token.rst @@ -0,0 +1,11 @@ +**To revoke a refresh token** + +The following ``revoke-token`` revokes the requested refresh token and associated access tokens. :: + + aws cognito-idp revoke-token \ + --token eyJjd123abcEXAMPLE \ + --client-id 1example23456789 + +This command produces no output. + +For more information, see `Revoking tokens `__ in the *Amazon Cognito Developer Guide*. diff --git a/awscli/examples/cognito-idp/set-log-delivery-configuration.rst b/awscli/examples/cognito-idp/set-log-delivery-configuration.rst new file mode 100644 index 000000000000..0c7c6906d195 --- /dev/null +++ b/awscli/examples/cognito-idp/set-log-delivery-configuration.rst @@ -0,0 +1,33 @@ +**To set up log export from a user pool** + +The following ``set-log-delivery-configuration`` example configures the requested user pool with user-notification error logging to a log group and user-authentication info logging to an S3 bucket. :: + + aws cognito-idp set-log-delivery-configuration \ + --user-pool-id us-west-2_EXAMPLE \ + --log-configurations LogLevel=ERROR,EventSource=userNotification,CloudWatchLogsConfiguration={LogGroupArn=arn:aws:logs:us-west-2:123456789012:log-group:cognito-exported} LogLevel=INFO,EventSource=userAuthEvents,S3Configuration={BucketArn=arn:aws:s3:::amzn-s3-demo-bucket1} + +Output:: + + { + "LogDeliveryConfiguration": { + "LogConfigurations": [ + { + "CloudWatchLogsConfiguration": { + "LogGroupArn": "arn:aws:logs:us-west-2:123456789012:log-group:cognito-exported" + }, + "EventSource": "userNotification", + "LogLevel": "ERROR" + }, + { + "EventSource": "userAuthEvents", + "LogLevel": "INFO", + "S3Configuration": { + "BucketArn": "arn:aws:s3:::amzn-s3-demo-bucket1" + } + } + ], + "UserPoolId": "us-west-2_EXAMPLE" + } + } + +For more information, see `Exporting user pool logs `__ in the *Amazon Cognito Developer Guide*. diff --git a/awscli/examples/cognito-idp/set-risk-configuration.rst b/awscli/examples/cognito-idp/set-risk-configuration.rst index 5c78c0a98201..a31c7e0ffbdb 100644 --- a/awscli/examples/cognito-idp/set-risk-configuration.rst +++ b/awscli/examples/cognito-idp/set-risk-configuration.rst @@ -1,23 +1,136 @@ -**To set risk configuration** - -This example sets the risk configuration for a user pool. It sets the sign-up event action to NO_ACTION. - -Command:: - - aws cognito-idp set-risk-configuration --user-pool-id us-west-2_aaaaaaaaa --compromised-credentials-risk-configuration EventFilter=SIGN_UP,Actions={EventAction=NO_ACTION} - -Output:: - - { - "RiskConfiguration": { - "UserPoolId": "us-west-2_aaaaaaaaa", - "CompromisedCredentialsRiskConfiguration": { - "EventFilter": [ - "SIGN_UP" - ], - "Actions": { - "EventAction": "NO_ACTION" - } - } - } - } \ No newline at end of file +**To set the threat protection risk configuration** + +The following ``set-risk-configuration`` example configures threat protection messages and actions, compromised credentials, and IP address exceptions in the requested app client. Because of the complexity of the NotifyConfiguration object, JSON input is a best practice for this command. :: + + aws cognito-idp set-risk-configuration \ + --cli-input-json file://set-risk-configuration.json + +Contents of ``set-risk-configuration.json``:: + + { + "AccountTakeoverRiskConfiguration": { + "Actions": { + "HighAction": { + "EventAction": "MFA_REQUIRED", + "Notify": true + }, + "LowAction": { + "EventAction": "NO_ACTION", + "Notify": true + }, + "MediumAction": { + "EventAction": "MFA_IF_CONFIGURED", + "Notify": true + } + }, + "NotifyConfiguration": { + "BlockEmail": { + "HtmlBody": "\n\n\n\tHTML email context\n\t\n\n\n
We blocked an unrecognized sign-in to your account with this information:\n
    \n
  • Time: {login-time}
  • \n
  • Device: {device-name}
  • \n
  • Location: {city}, {country}
  • \n
\nIf this sign-in was not by you, you should change your password and notify us by clicking on this link\nIf this sign-in was by you, you can follow this link to let us know
\n\n", + "Subject": "Blocked sign-in attempt", + "TextBody": "We blocked an unrecognized sign-in to your account with this information:\nTime: {login-time}\nDevice: {device-name}\nLocation: {city}, {country}\nIf this sign-in was not by you, you should change your password and notify us by clicking on {one-click-link-invalid}\nIf this sign-in was by you, you can follow {one-click-link-valid} to let us know" + }, + "From": "admin@example.com", + "MfaEmail": { + "HtmlBody": "\n\n\n\tHTML email context\n\t\n\n\n
We required you to use multi-factor authentication for the following sign-in attempt:\n
    \n
  • Time: {login-time}
  • \n
  • Device: {device-name}
  • \n
  • Location: {city}, {country}
  • \n
\nIf this sign-in was not by you, you should change your password and notify us by clicking on this link\nIf this sign-in was by you, you can follow this link to let us know
\n\n", + "Subject": "New sign-in attempt", + "TextBody": "We required you to use multi-factor authentication for the following sign-in attempt:\nTime: {login-time}\nDevice: {device-name}\nLocation: {city}, {country}\nIf this sign-in was not by you, you should change your password and notify us by clicking on {one-click-link-invalid}\nIf this sign-in was by you, you can follow {one-click-link-valid} to let us know" + }, + "NoActionEmail": { + "HtmlBody": "\n\n\n\tHTML email context\n\t\n\n\n
We observed an unrecognized sign-in to your account with this information:\n
    \n
  • Time: {login-time}
  • \n
  • Device: {device-name}
  • \n
  • Location: {city}, {country}
  • \n
\nIf this sign-in was not by you, you should change your password and notify us by clicking on this link\nIf this sign-in was by you, you can follow this link to let us know
\n\n", + "Subject": "New sign-in attempt", + "TextBody": "We observed an unrecognized sign-in to your account with this information:\nTime: {login-time}\nDevice: {device-name}\nLocation: {city}, {country}\nIf this sign-in was not by you, you should change your password and notify us by clicking on {one-click-link-invalid}\nIf this sign-in was by you, you can follow {one-click-link-valid} to let us know" + }, + "ReplyTo": "admin@example.com", + "SourceArn": "arn:aws:ses:us-west-2:123456789012:identity/admin@example.com" + } + }, + "ClientId": "1example23456789", + "CompromisedCredentialsRiskConfiguration": { + "Actions": { + "EventAction": "BLOCK" + }, + "EventFilter": [ + "PASSWORD_CHANGE", + "SIGN_UP", + "SIGN_IN" + ] + }, + "RiskExceptionConfiguration": { + "BlockedIPRangeList": [ + "192.0.2.1/32", + "192.0.2.2/32" + ], + "SkippedIPRangeList": [ + "203.0.113.1/32", + "203.0.113.2/32" + ] + }, + "UserPoolId": "us-west-2_EXAMPLE" + } + +Output:: + + { + "RiskConfiguration": { + "AccountTakeoverRiskConfiguration": { + "Actions": { + "HighAction": { + "EventAction": "MFA_REQUIRED", + "Notify": true + }, + "LowAction": { + "EventAction": "NO_ACTION", + "Notify": true + }, + "MediumAction": { + "EventAction": "MFA_IF_CONFIGURED", + "Notify": true + } + }, + "NotifyConfiguration": { + "BlockEmail": { + "HtmlBody": "\n\n\n\tHTML email context\n\t\n\n\n
We blocked an unrecognized sign-in to your account with this information:\n
    \n
  • Time: {login-time}
  • \n
  • Device: {device-name}
  • \n
  • Location: {city}, {country}
  • \n
\nIf this sign-in was not by you, you should change your password and notify us by clicking on this link\nIf this sign-in was by you, you can follow this link to let us know
\n\n", + "Subject": "Blocked sign-in attempt", + "TextBody": "We blocked an unrecognized sign-in to your account with this information:\nTime: {login-time}\nDevice: {device-name}\nLocation: {city}, {country}\nIf this sign-in was not by you, you should change your password and notify us by clicking on {one-click-link-invalid}\nIf this sign-in was by you, you can follow {one-click-link-valid} to let us know" + }, + "From": "admin@example.com", + "MfaEmail": { + "HtmlBody": "\n\n\n\tHTML email context\n\t\n\n\n
We required you to use multi-factor authentication for the following sign-in attempt:\n
    \n
  • Time: {login-time}
  • \n
  • Device: {device-name}
  • \n
  • Location: {city}, {country}
  • \n
\nIf this sign-in was not by you, you should change your password and notify us by clicking on this link\nIf this sign-in was by you, you can follow this link to let us know
\n\n", + "Subject": "New sign-in attempt", + "TextBody": "We required you to use multi-factor authentication for the following sign-in attempt:\nTime: {login-time}\nDevice: {device-name}\nLocation: {city}, {country}\nIf this sign-in was not by you, you should change your password and notify us by clicking on {one-click-link-invalid}\nIf this sign-in was by you, you can follow {one-click-link-valid} to let us know" + }, + "NoActionEmail": { + "HtmlBody": "\n\n\n\tHTML email context\n\t\n\n\n
We observed an unrecognized sign-in to your account with this information:\n
    \n
  • Time: {login-time}
  • \n
  • Device: {device-name}
  • \n
  • Location: {city}, {country}
  • \n
\nIf this sign-in was not by you, you should change your password and notify us by clicking on this link\nIf this sign-in was by you, you can follow this link to let us know
\n\n", + "Subject": "New sign-in attempt", + "TextBody": "We observed an unrecognized sign-in to your account with this information:\nTime: {login-time}\nDevice: {device-name}\nLocation: {city}, {country}\nIf this sign-in was not by you, you should change your password and notify us by clicking on {one-click-link-invalid}\nIf this sign-in was by you, you can follow {one-click-link-valid} to let us know" + }, + "ReplyTo": "admin@example.com", + "SourceArn": "arn:aws:ses:us-west-2:123456789012:identity/admin@example.com" + } + }, + "ClientId": "1example23456789", + "CompromisedCredentialsRiskConfiguration": { + "Actions": { + "EventAction": "BLOCK" + }, + "EventFilter": [ + "PASSWORD_CHANGE", + "SIGN_UP", + "SIGN_IN" + ] + }, + "RiskExceptionConfiguration": { + "BlockedIPRangeList": [ + "192.0.2.1/32", + "192.0.2.2/32" + ], + "SkippedIPRangeList": [ + "203.0.113.1/32", + "203.0.113.2/32" + ] + }, + "UserPoolId": "us-west-2_EXAMPLE" + } + } + +For more information, see `Threat protection `__ in the *Amazon Cognito Developer Guide*. \ No newline at end of file diff --git a/awscli/examples/cognito-idp/set-ui-customization.rst b/awscli/examples/cognito-idp/set-ui-customization.rst index 7864e3a7bc51..39d505ee92e8 100644 --- a/awscli/examples/cognito-idp/set-ui-customization.rst +++ b/awscli/examples/cognito-idp/set-ui-customization.rst @@ -1,18 +1,45 @@ -**To set UI customization** - -This example customizes the CSS setting for a user pool. - -Command:: - - aws cognito-idp set-ui-customization --user-pool-id us-west-2_aaaaaaaaa --css ".logo-customizable {\n\tmax-width: 60%;\n\tmax-height: 30%;\n}\n.banner-customizable {\n\tpadding: 25px 0px 25px 10px;\n\tbackground-color: lightgray;\n}\n.label-customizable {\n\tfont-weight: 300;\n}\n.textDescription-customizable {\n\tpadding-top: 10px;\n\tpadding-bottom: 10px;\n\tdisplay: block;\n\tfont-size: 16px;\n}\n.idpDescription-customizable {\n\tpadding-top: 10px;\n\tpadding-bottom: 10px;\n\tdisplay: block;\n\tfont-size: 16px;\n}\n.legalText-customizable {\n\tcolor: #747474;\n\tfont-size: 11px;\n}\n.submitButton-customizable {\n\tfont-size: 14px;\n\tfont-weight: bold;\n\tmargin: 20px 0px 10px 0px;\n\theight: 40px;\n\twidth: 100%;\n\tcolor: #fff;\n\tbackground-color: #337ab7;\n}\n.submitButton-customizable:hover {\n\tcolor: #fff;\n\tbackground-color: #286090;\n}\n.errorMessage-customizable {\n\tpadding: 5px;\n\tfont-size: 14px;\n\twidth: 100%;\n\tbackground: #F5F5F5;\n\tborder: 2px solid #D64958;\n\tcolor: #D64958;\n}\n.inputField-customizable {\n\twidth: 100%;\n\theight: 34px;\n\tcolor: #555;\n\tbackground-color: #fff;\n\tborder: 1px solid #ccc;\n}\n.inputField-customizable:focus {\n\tborder-color: #66afe9;\n\toutline: 0;\n}\n.idpButton-customizable {\n\theight: 40px;\n\twidth: 100%;\n\ttext-align: center;\n\tmargin-bottom: 15px;\n\tcolor: #fff;\n\tbackground-color: #5bc0de;\n\tborder-color: #46b8da;\n}\n.idpButton-customizable:hover {\n\tcolor: #fff;\n\tbackground-color: #31b0d5;\n}\n.socialButton-customizable {\n\theight: 40px;\n\ttext-align: left;\n\twidth: 100%;\n\tmargin-bottom: 15px;\n}\n.redirect-customizable {\n\ttext-align: center;\n}\n.passwordCheck-notValid-customizable {\n\tcolor: #DF3312;\n}\n.passwordCheck-valid-customizable {\n\tcolor: #19BF00;\n}\n.background-customizable {\n\tbackground-color: #faf;\n}\n" - -Output:: - - { - "UICustomization": { - "UserPoolId": "us-west-2_aaaaaaaaa", - "ClientId": "ALL", - "CSS": ".logo-customizable {\n\tmax-width: 60%;\n\tmax-height: 30%;\n}\n.banner-customizable {\n\tpadding: 25px 0px 25px 10px;\n\tbackground-color: lightgray;\n}\n.label-customizable {\n\tfont-weight: 300;\n}\n.textDescription-customizable {\n\tpadding-top: 10px;\n\tpadding-bottom: 10px;\n\tdisplay: block;\n\tfont-size: 16px;\n}\n.idpDescription-customizable {\n\tpadding-top: 10px;\n\tpadding-bottom: 10px;\n\tdisplay: block;\n\tfont-size: 16px;\n}\n.legalText-customizable {\n\tcolor: #747474;\n\tfont-size: 11px;\n}\n.submitButton-customizable {\n\tfont-size: 14px;\n\tfont-weight: bold;\n\tmargin: 20px 0px 10px 0px;\n\theight: 40px;\n\twidth: 100%;\n\tcolor: #fff;\n\tbackground-color: #337ab7;\n}\n.submitButton-customizable:hover {\n\tcolor: #fff;\n\tbackground-color: #286090;\n}\n.errorMessage-customizable {\n\tpadding: 5px;\n\tfont-size: 14px;\n\twidth: 100%;\n\tbackground: #F5F5F5;\n\tborder: 2px solid #D64958;\n\tcolor: #D64958;\n}\n.inputField-customizable {\n\twidth: 100%;\n\theight: 34px;\n\tcolor: #555;\n\tbackground-color: #fff;\n\tborder: 1px solid #ccc;\n}\n.inputField-customizable:focus {\n\tborder-color: #66afe9;\n\toutline: 0;\n}\n.idpButton-customizable {\n\theight: 40px;\n\twidth: 100%;\n\ttext-align: center;\n\tmargin-bottom: 15px;\n\tcolor: #fff;\n\tbackground-color: #5bc0de;\n\tborder-color: #46b8da;\n}\n.idpButton-customizable:hover {\n\tcolor: #fff;\n\tbackground-color: #31b0d5;\n}\n.socialButton-customizable {\n\theight: 40px;\n\ttext-align: left;\n\twidth: 100%;\n\tmargin-bottom: 15px;\n}\n.redirect-customizable {\n\ttext-align: center;\n}\n.passwordCheck-notValid-customizable {\n\tcolor: #DF3312;\n}\n.passwordCheck-valid-customizable {\n\tcolor: #19BF00;\n}\n.background-customizable {\n\tbackground-color: #faf;\n}\n", - "CSSVersion": "20190129172214" - } - } \ No newline at end of file +**Example 1: To customize the classic hosted UI for an app client** + +The following ``set-ui-customization`` example configures the requested app client with some custom CSS and with the Amazon Cognito logo as the application logo. :: + + aws cognito-idp set-ui-customization \ + --user-pool-id us-west-2_ywDJHlIfU \ + --client-id 14pq32c5q2uq2q7keorloqvb23 \ + --css ".logo-customizable {\n\tmax-width: 60%;\n\tmax-height: 30%;\n}\n.banner-customizable {\n\tpadding: 25px 0px 25px 0px;\n\tbackground-color: lightgray;\n}\n.label-customizable {\n\tfont-weight: 400;\n}\n.textDescription-customizable {\n\tpadding-top: 10px;\n\tpadding-bottom: 10px;\n\tdisplay: block;\n\tfont-size: 16px;\n}\n.idpDescription-customizable {\n\tpadding-top: 10px;\n\tpadding-bottom: 10px;\n\tdisplay: block;\n\tfont-size: 16px;\n}\n.legalText-customizable {\n\tcolor: #747474;\n\tfont-size: 11px;\n}\n.submitButton-customizable {\n\tfont-size: 11px;\n\tfont-weight: normal;\n\tmargin: 20px -15px 10px -13px;\n\theight: 40px;\n\twidth: 108%;\n\tcolor: #fff;\n\tbackground-color: #337ab7;\n\ttext-align: center;\n}\n.submitButton-customizable:hover {\n\tcolor: #fff;\n\tbackground-color: #286090;\n}\n.errorMessage-customizable {\n\tpadding: 5px;\n\tfont-size: 14px;\n\twidth: 100%;\n\tbackground: #F5F5F5;\n\tborder: 2px solid #D64958;\n\tcolor: #D64958;\n}\n.inputField-customizable {\n\twidth: 100%;\n\theight: 34px;\n\tcolor: #555;\n\tbackground-color: #fff;\n\tborder: 1px solid #ccc;\n\tborder-radius: 0px;\n}\n.inputField-customizable:focus {\n\tborder-color: #66afe9;\n\toutline: 0;\n}\n.idpButton-customizable {\n\theight: 40px;\n\twidth: 100%;\n\twidth: 100%;\n\ttext-align: center;\n\tmargin-bottom: 15px;\n\tcolor: #fff;\n\tbackground-color: #5bc0de;\n\tborder-color: #46b8da;\n}\n.idpButton-customizable:hover {\n\tcolor: #fff;\n\tbackground-color: #31b0d5;\n}\n.socialButton-customizable {\n\tborder-radius: 2px;\n\theight: 40px;\n\tmargin-bottom: 15px;\n\tpadding: 1px;\n\ttext-align: left;\n\twidth: 100%;\n}\n.redirect-customizable {\n\ttext-align: center;\n}\n.passwordCheck-notValid-customizable {\n\tcolor: #DF3312;\n}\n.passwordCheck-valid-customizable {\n\tcolor: #19BF00;\n}\n.background-customizable {\n\tbackground-color: #fff;\n}\n" \ + --image-file iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAMAAAC5zwKfAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAA2UExURd00TN9BV/Cmsfvm6f3y9P////fM0uqAj+yNmu6ZpvnZ3eNabuFNYuZneehzhPKzvPTAxwAAAOiMMlkAAAASdFJOU///////////////////////AOK/vxIAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAKDSURBVFhH7ZfpkoMgEISDHKuEw/d/2u2BQWMiBrG29o+fVsKatdPMAeZxc3Nz8w+ISekzmB++sYIw/I/tjHzrPpO2Tx62EbR2PNxFac+jVuKxRaV50IzXkUe76NOCoUuwlvnQKei02gNF0ykotOLRBq/nboeWRxAISx2EbsHFoRhK6Igk2JJlwScfQjgt06dOaWWiTbEDAe/iq8N9kqCw2uCbHkHlYkaXEF8EYeL9RDqT4FhC6XMIIEifdcUwCc4leNyhabadWU6OlKYJE1Oac3NSPhB5rlaXlSgmr/1lww4nPaU/1ylfLGxX1r6Y66ZZkCqvnOlqKWws59ELj7fULc2CubwySYkdDuuiY0/F0L6Q5pZiSG0SfZTSTCOUhxOCH1AdIoCpTTIjtd+VpEjUDDytQH/0Fpc661Aisas/4qmyUItD557pSCOSQQzlx27J+meyDGc5zZgfhWuXE1lGgmVOMwmWdeGdzhjqZV14x5vSj7vsC5JDz/Cl0Vhp56n2NQt1wQIpury1EPbwyaYm+IhmAQKoajkH51wg4cMZ1wQ3QG9efKWWOaDhYWnU6jXjCMdRmm21PArI+Pb5DYoH93hq0ZCPlxeGJho/DI15C6sQc/L2sTC47UFBKZGHT6k+zlXg7WebA0Nr0HTcLMfk/Y4Rc65D3iG6WDd7YLSlVqk87bVhUwhnClrx11RsVQwlAA818Mn+QEs71BhSFU6orsUfKhHp72XMGYXi4q9c64RXRvzkWurRfG2vI2be/VaNcNgpX0Evb/vio7nPMmj5qujkpQgSaPd1UcVqciHFDNZpOcGlcOPyi+AamCbIL9fitxAGeFN2Dl+3vZubm5u/4fH4Bd14HhIPdwZPAAAAAElFTkSuQmCC + +Output:: + + { + "UICustomization": { + "UserPoolId": "us-west-2_ywDJHlIfU", + "ClientId": "14pq32c5q2uq2q7keorloqvb23", + "ImageUrl": "https://cf.thewrong.club/14pq32c5q2uq2q7keorloqvb23/20250117005911/assets/images/image.jpg", + "CSS": ".logo-customizable {\n\tmax-width: 60%;\n\tmax-height: 30%;\n}\n.banner-customizable {\n\tpadding: 25px 0px 25px 0px;\n\tbackground-color: lightgray;\n}\n.label-customizable {\n\tfont-weight: 400;\n}\n.textDescription-customizable {\n\tpadding-top: 10px;\n\tpadding-bottom: 10px;\n\tdisplay: block;\n\tfont-size: 16px;\n}\n.idpDescription-customizable {\n\tpadding-top: 10px;\n\tpadding-bottom: 10px;\n\tdisplay: block;\n\tfont-size: 16px;\n}\n.legalText-customizable {\n\tcolor: #747474;\n\tfont-size: 11px;\n}\n.submitButton-customizable {\n\tfont-size: 11px;\n\tfont-weight: normal;\n\tmargin: 20px -15px 10px -13px;\n\theight: 40px;\n\twidth: 108%;\n\tcolor: #fff;\n\tbackground-color: #337ab7;\n\ttext-align: center;\n}\n.submitButton-customizable:hover {\n\tcolor: #fff;\n\tbackground-color: #286090;\n}\n.errorMessage-customizable {\n\tpadding: 5px;\n\tfont-size: 14px;\n\twidth: 100%;\n\tbackground: #F5F5F5;\n\tborder: 2px solid #D64958;\n\tcolor: #D64958;\n}\n.inputField-customizable {\n\twidth: 100%;\n\theight: 34px;\n\tcolor: #555;\n\tbackground-color: #fff;\n\tborder: 1px solid #ccc;\n\tborder-radius: 0px;\n}\n.inputField-customizable:focus {\n\tborder-color: #66afe9;\n\toutline: 0;\n}\n.idpButton-customizable {\n\theight: 40px;\n\twidth: 100%;\n\twidth: 100%;\n\ttext-align: center;\n\tmargin-bottom: 15px;\n\tcolor: #fff;\n\tbackground-color: #5bc0de;\n\tborder-color: #46b8da;\n}\n.idpButton-customizable:hover {\n\tcolor: #fff;\n\tbackground-color: #31b0d5;\n}\n.socialButton-customizable {\n\tborder-radius: 2px;\n\theight: 40px;\n\tmargin-bottom: 15px;\n\tpadding: 1px;\n\ttext-align: left;\n\twidth: 100%;\n}\n.redirect-customizable {\n\ttext-align: center;\n}\n.passwordCheck-notValid-customizable {\n\tcolor: #DF3312;\n}\n.passwordCheck-valid-customizable {\n\tcolor: #19BF00;\n}\n.background-customizable {\n\tbackground-color: #fff;\n}\n", + "CSSVersion": "20250117005911" + } + } + +**Example 2: To set the default UI customization for all app clients** + +The following ``set-ui-customization`` example configures the requested user pool for all app clients that don't have a client-specific configuration. The command applies some custom CSS and with the Amazon Cognito logo as the application logo. :: + + aws cognito-idp set-ui-customization \ + --user-pool-id us-west-2_ywDJHlIfU \ + --client-id ALL \ + --css ".logo-customizable {\n\tmax-width: 60%;\n\tmax-height: 30%;\n}\n.banner-customizable {\n\tpadding: 25px 0px 25px 0px;\n\tbackground-color: lightgray;\n}\n.label-customizable {\n\tfont-weight: 400;\n}\n.textDescription-customizable {\n\tpadding-top: 10px;\n\tpadding-bottom: 10px;\n\tdisplay: block;\n\tfont-size: 16px;\n}\n.idpDescription-customizable {\n\tpadding-top: 10px;\n\tpadding-bottom: 10px;\n\tdisplay: block;\n\tfont-size: 16px;\n}\n.legalText-customizable {\n\tcolor: #747474;\n\tfont-size: 11px;\n}\n.submitButton-customizable {\n\tfont-size: 11px;\n\tfont-weight: normal;\n\tmargin: 20px -15px 10px -13px;\n\theight: 40px;\n\twidth: 108%;\n\tcolor: #fff;\n\tbackground-color: #337ab7;\n\ttext-align: center;\n}\n.submitButton-customizable:hover {\n\tcolor: #fff;\n\tbackground-color: #286090;\n}\n.errorMessage-customizable {\n\tpadding: 5px;\n\tfont-size: 14px;\n\twidth: 100%;\n\tbackground: #F5F5F5;\n\tborder: 2px solid #D64958;\n\tcolor: #D64958;\n}\n.inputField-customizable {\n\twidth: 100%;\n\theight: 34px;\n\tcolor: #555;\n\tbackground-color: #fff;\n\tborder: 1px solid #ccc;\n\tborder-radius: 0px;\n}\n.inputField-customizable:focus {\n\tborder-color: #66afe9;\n\toutline: 0;\n}\n.idpButton-customizable {\n\theight: 40px;\n\twidth: 100%;\n\twidth: 100%;\n\ttext-align: center;\n\tmargin-bottom: 15px;\n\tcolor: #fff;\n\tbackground-color: #5bc0de;\n\tborder-color: #46b8da;\n}\n.idpButton-customizable:hover {\n\tcolor: #fff;\n\tbackground-color: #31b0d5;\n}\n.socialButton-customizable {\n\tborder-radius: 2px;\n\theight: 40px;\n\tmargin-bottom: 15px;\n\tpadding: 1px;\n\ttext-align: left;\n\twidth: 100%;\n}\n.redirect-customizable {\n\ttext-align: center;\n}\n.passwordCheck-notValid-customizable {\n\tcolor: #DF3312;\n}\n.passwordCheck-valid-customizable {\n\tcolor: #19BF00;\n}\n.background-customizable {\n\tbackground-color: #fff;\n}\n" \ + --image-file iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAMAAAC5zwKfAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAA2UExURd00TN9BV/Cmsfvm6f3y9P////fM0uqAj+yNmu6ZpvnZ3eNabuFNYuZneehzhPKzvPTAxwAAAOiMMlkAAAASdFJOU///////////////////////AOK/vxIAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAKDSURBVFhH7ZfpkoMgEISDHKuEw/d/2u2BQWMiBrG29o+fVsKatdPMAeZxc3Nz8w+ISekzmB++sYIw/I/tjHzrPpO2Tx62EbR2PNxFac+jVuKxRaV50IzXkUe76NOCoUuwlvnQKei02gNF0ykotOLRBq/nboeWRxAISx2EbsHFoRhK6Igk2JJlwScfQjgt06dOaWWiTbEDAe/iq8N9kqCw2uCbHkHlYkaXEF8EYeL9RDqT4FhC6XMIIEifdcUwCc4leNyhabadWU6OlKYJE1Oac3NSPhB5rlaXlSgmr/1lww4nPaU/1ylfLGxX1r6Y66ZZkCqvnOlqKWws59ELj7fULc2CubwySYkdDuuiY0/F0L6Q5pZiSG0SfZTSTCOUhxOCH1AdIoCpTTIjtd+VpEjUDDytQH/0Fpc661Aisas/4qmyUItD557pSCOSQQzlx27J+meyDGc5zZgfhWuXE1lGgmVOMwmWdeGdzhjqZV14x5vSj7vsC5JDz/Cl0Vhp56n2NQt1wQIpury1EPbwyaYm+IhmAQKoajkH51wg4cMZ1wQ3QG9efKWWOaDhYWnU6jXjCMdRmm21PArI+Pb5DYoH93hq0ZCPlxeGJho/DI15C6sQc/L2sTC47UFBKZGHT6k+zlXg7WebA0Nr0HTcLMfk/Y4Rc65D3iG6WDd7YLSlVqk87bVhUwhnClrx11RsVQwlAA818Mn+QEs71BhSFU6orsUfKhHp72XMGYXi4q9c64RXRvzkWurRfG2vI2be/VaNcNgpX0Evb/vio7nPMmj5qujkpQgSaPd1UcVqciHFDNZpOcGlcOPyi+AamCbIL9fitxAGeFN2Dl+3vZubm5u/4fH4Bd14HhIPdwZPAAAAAElFTkSuQmCC + +Output:: + + { + "UICustomization": { + "UserPoolId": "us-west-2_ywDJHlIfU", + "ClientId": "14pq32c5q2uq2q7keorloqvb23", + "ImageUrl": "https://cf.thewrong.club/14pq32c5q2uq2q7keorloqvb23/20250117005911/assets/images/image.jpg", + "CSS": ".logo-customizable {\n\tmax-width: 60%;\n\tmax-height: 30%;\n}\n.banner-customizable {\n\tpadding: 25px 0px 25px 0px;\n\tbackground-color: lightgray;\n}\n.label-customizable {\n\tfont-weight: 400;\n}\n.textDescription-customizable {\n\tpadding-top: 10px;\n\tpadding-bottom: 10px;\n\tdisplay: block;\n\tfont-size: 16px;\n}\n.idpDescription-customizable {\n\tpadding-top: 10px;\n\tpadding-bottom: 10px;\n\tdisplay: block;\n\tfont-size: 16px;\n}\n.legalText-customizable {\n\tcolor: #747474;\n\tfont-size: 11px;\n}\n.submitButton-customizable {\n\tfont-size: 11px;\n\tfont-weight: normal;\n\tmargin: 20px -15px 10px -13px;\n\theight: 40px;\n\twidth: 108%;\n\tcolor: #fff;\n\tbackground-color: #337ab7;\n\ttext-align: center;\n}\n.submitButton-customizable:hover {\n\tcolor: #fff;\n\tbackground-color: #286090;\n}\n.errorMessage-customizable {\n\tpadding: 5px;\n\tfont-size: 14px;\n\twidth: 100%;\n\tbackground: #F5F5F5;\n\tborder: 2px solid #D64958;\n\tcolor: #D64958;\n}\n.inputField-customizable {\n\twidth: 100%;\n\theight: 34px;\n\tcolor: #555;\n\tbackground-color: #fff;\n\tborder: 1px solid #ccc;\n\tborder-radius: 0px;\n}\n.inputField-customizable:focus {\n\tborder-color: #66afe9;\n\toutline: 0;\n}\n.idpButton-customizable {\n\theight: 40px;\n\twidth: 100%;\n\twidth: 100%;\n\ttext-align: center;\n\tmargin-bottom: 15px;\n\tcolor: #fff;\n\tbackground-color: #5bc0de;\n\tborder-color: #46b8da;\n}\n.idpButton-customizable:hover {\n\tcolor: #fff;\n\tbackground-color: #31b0d5;\n}\n.socialButton-customizable {\n\tborder-radius: 2px;\n\theight: 40px;\n\tmargin-bottom: 15px;\n\tpadding: 1px;\n\ttext-align: left;\n\twidth: 100%;\n}\n.redirect-customizable {\n\ttext-align: center;\n}\n.passwordCheck-notValid-customizable {\n\tcolor: #DF3312;\n}\n.passwordCheck-valid-customizable {\n\tcolor: #19BF00;\n}\n.background-customizable {\n\tbackground-color: #fff;\n}\n", + "CSSVersion": "20250117005911" + } + } + +For more information, see `Hosted UI (classic) branding `__ in the *Amazon Cognito Developer Guide*. diff --git a/awscli/examples/cognito-idp/set-user-mfa-preference.rst b/awscli/examples/cognito-idp/set-user-mfa-preference.rst index b1cd207010b2..4df1f77a318a 100644 --- a/awscli/examples/cognito-idp/set-user-mfa-preference.rst +++ b/awscli/examples/cognito-idp/set-user-mfa-preference.rst @@ -1,12 +1,13 @@ -**To set user MFA settings** +**To set a user's MFA preference** -The following ``set-user-mfa-preference`` example modifies the MFA delivery options. It changes the MFA delivery medium to SMS. :: +The following ``set-user-mfa-preference`` example configures the current user to use TOTP MFA and disables all other MFA factors. :: aws cognito-idp set-user-mfa-preference \ - --access-token "eyJra12345EXAMPLE" \ + --access-token eyJra456defEXAMPLE \ --software-token-mfa-settings Enabled=true,PreferredMfa=true \ - --sms-mfa-settings Enabled=false,PreferredMfa=false + --sms-mfa-settings Enabled=false,PreferredMfa=false \ + --email-mfa-settings Enabled=false,PreferredMfa=false This command produces no output. -For more information, see `Adding MFA to a user pool `__ in the *Amazon Cognito Developer Guide*. \ No newline at end of file +For more information, see `Adding MFA `__ in the *Amazon Cognito Developer Guide*. diff --git a/awscli/examples/cognito-idp/set-user-pool-mfa-config.rst b/awscli/examples/cognito-idp/set-user-pool-mfa-config.rst new file mode 100644 index 000000000000..e973739ea474 --- /dev/null +++ b/awscli/examples/cognito-idp/set-user-pool-mfa-config.rst @@ -0,0 +1,38 @@ +**To configure user pool MFA and WebAuthn** + +The following ``set-user-pool-mfa-config`` example configures the requested user pool with optional MFA with all available MFA methods, and sets the WebAuthn configuration. :: + + aws cognito-idp set-user-pool-mfa-config \ + --user-pool-id us-west-2_EXAMPLE \ + --sms-mfa-configuration "SmsAuthenticationMessage=\"Your OTP for MFA or sign-in: use {####}.\",SmsConfiguration={SnsCallerArn=arn:aws:iam::123456789012:role/service-role/test-SMS-Role,ExternalId=a1b2c3d4-5678-90ab-cdef-EXAMPLE11111,SnsRegion=us-west-2}" \ + --software-token-mfa-configuration Enabled=true \ + --email-mfa-configuration "Message=\"Your OTP for MFA or sign-in: use {####}\",Subject=\"OTP test\"" \ + --mfa-configuration OPTIONAL \ + --web-authn-configuration RelyingPartyId=auth.example.com,UserVerification=preferred + +Output:: + + { + "EmailMfaConfiguration": { + "Message": "Your OTP for MFA or sign-in: use {####}", + "Subject": "OTP test" + }, + "MfaConfiguration": "OPTIONAL", + "SmsMfaConfiguration": { + "SmsAuthenticationMessage": "Your OTP for MFA or sign-in: use {####}.", + "SmsConfiguration": { + "ExternalId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111", + "SnsCallerArn": "arn:aws:iam::123456789012:role/service-role/test-SMS-Role", + "SnsRegion": "us-west-2" + } + }, + "SoftwareTokenMfaConfiguration": { + "Enabled": true + }, + "WebAuthnConfiguration": { + "RelyingPartyId": "auth.example.com", + "UserVerification": "preferred" + } + } + +For more information, see `Adding MFA `__ and `Passkey sign-in `__ in the *Amazon Cognito Developer Guide*. diff --git a/awscli/examples/cognito-idp/start-user-import-job.rst b/awscli/examples/cognito-idp/start-user-import-job.rst index e33be386eccd..17e79d493946 100644 --- a/awscli/examples/cognito-idp/start-user-import-job.rst +++ b/awscli/examples/cognito-idp/start-user-import-job.rst @@ -1,29 +1,27 @@ -**To start a user import job** - -This example starts a user input job. - -For more information about importing users, see `Importing Users into User Pools From a CSV File`_. - -Command:: - - aws cognito-idp start-user-import-job --user-pool-id us-west-2_aaaaaaaaa --job-id import-TZqNQvDRnW - -Output:: - - { - "UserImportJob": { - "JobName": "import-Test10", - "JobId": "import-lmpxSOuIzH", - "UserPoolId": "us-west-2_aaaaaaaaa", - "PreSignedUrl": "PRE_SIGNED_URL", - "CreationDate": 1548278378.928, - "StartDate": 1548278397.334, - "Status": "Pending", - "CloudWatchLogsRoleArn": "arn:aws:iam::111111111111:role/CognitoCloudWatchLogsRole", - "ImportedUsers": 0, - "SkippedUsers": 0, - "FailedUsers": 0 - } - } - -.. _`Importing Users into User Pools From a CSV File`: https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-using-import-tool.html \ No newline at end of file +**To start an import job** + +The following ``start-user-import-job`` example starts the requested import job in the requested user pool. :: + + aws cognito-idp start-user-import-job \ + --user-pool-id us-west-2_EXAMPLE \ + --job-id import-mAgUtd8PMm + +Output:: + + { + "UserImportJob": { + "CloudWatchLogsRoleArn": "arn:aws:iam::123456789012:role/example-cloudwatch-logs-role", + "CreationDate": 1736442975.904, + "FailedUsers": 0, + "ImportedUsers": 0, + "JobId": "import-mAgUtd8PMm", + "JobName": "Customer import", + "PreSignedUrl": "https://aws-cognito-idp-user-import-pdx.s3.us-west-2.amazonaws.com/123456789012/us-west-2_EXAMPLE/import-mAgUtd8PMm?X-Amz-Security-Token=[token]&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20241226T193341Z&X-Amz-SignedHeaders=host%3Bx-amz-server-side-encryption&X-Amz-Expires=899&X-Amz-Credential=[credential]&X-Amz-Signature=[signature]", + "SkippedUsers": 0, + "StartDate": 1736443020.081, + "Status": "Pending", + "UserPoolId": "us-west-2_EXAMPLE" + } + } + +For more information, see `Importing users into a user pool `__ in the *Amazon Cognito Developer Guide*. \ No newline at end of file diff --git a/awscli/examples/cognito-idp/start-web-authn-registration.rst b/awscli/examples/cognito-idp/start-web-authn-registration.rst new file mode 100644 index 000000000000..35a49b83c58f --- /dev/null +++ b/awscli/examples/cognito-idp/start-web-authn-registration.rst @@ -0,0 +1,47 @@ +**To get passkey registration information for a signed-in user** + +The following ``start-web-authn-registration`` example generates WebAuthn registration options for the current user. :: + + aws cognito-idp start-web-authn-registration \ + --access-token eyJra456defEXAMPLE + +Output:: + + { + "CredentialCreationOptions": { + "authenticatorSelection": { + "requireResidentKey": true, + "residentKey": "required", + "userVerification": "preferred" + }, + "challenge": "wxvbDicyqQqvF2EXAMPLE", + "excludeCredentials": [ + { + "id": "8LApgk4-lNUFHbhm2w6Und7-uxcc8coJGsPxiogvHoItc64xWQc3r4CEXAMPLE", + "type": "public-key" + } + ], + "pubKeyCredParams": [ + { + "alg": -7, + "type": "public-key" + }, + { + "alg": -257, + "type": "public-key" + } + ], + "rp": { + "id": "auth.example.com", + "name": "auth.example.com" + }, + "timeout": 60000, + "user": { + "displayName": "testuser", + "id": "ZWFhZDAyMTktMjExNy00MzlmLThkNDYtNGRiMjBlNEXAMPLE", + "name": "testuser" + } + } + } + +For more information, see `Passkey sign-in `__ in the *Amazon Cognito Developer Guide*. diff --git a/awscli/examples/cognito-idp/stop-user-import-job.rst b/awscli/examples/cognito-idp/stop-user-import-job.rst index 4d62b7f1534d..eb24e9233971 100644 --- a/awscli/examples/cognito-idp/stop-user-import-job.rst +++ b/awscli/examples/cognito-idp/stop-user-import-job.rst @@ -1,31 +1,29 @@ -**To stop a user import job** - -This example stops a user input job. - -For more information about importing users, see `Importing Users into User Pools From a CSV File`_. - -Command:: - - aws cognito-idp stop-user-import-job --user-pool-id us-west-2_aaaaaaaaa --job-id import-TZqNQvDRnW - -Output:: - - { - "UserImportJob": { - "JobName": "import-Test5", - "JobId": "import-Fx0kARISFL", - "UserPoolId": "us-west-2_aaaaaaaaa", - "PreSignedUrl": "PRE_SIGNED_URL", - "CreationDate": 1548278576.259, - "StartDate": 1548278623.366, - "CompletionDate": 1548278626.741, - "Status": "Stopped", - "CloudWatchLogsRoleArn": "arn:aws:iam::111111111111:role/CognitoCloudWatchLogsRole", - "ImportedUsers": 0, - "SkippedUsers": 0, - "FailedUsers": 0, - "CompletionMessage": "The Import Job was stopped by the developer." - } - } - -.. _`Importing Users into User Pools From a CSV File`: https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-using-import-tool.html \ No newline at end of file +**To stop an import job** + +The following ``stop-user-import-job`` example stops the requested running user import job in the requested user pool. :: + + aws cognito-idp stop-user-import-job \ + --user-pool-id us-west-2_EXAMPLE \ + --job-id import-mAgUtd8PMm + +Output:: + + { + "UserImportJob": { + "CloudWatchLogsRoleArn": "arn:aws:iam::123456789012:role/example-cloudwatch-logs-role", + "CompletionDate": 1736443496.379, + "CompletionMessage": "The Import Job was stopped by the developer.", + "CreationDate": 1736443471.781, + "FailedUsers": 0, + "ImportedUsers": 0, + "JobId": "import-mAgUtd8PMm", + "JobName": "Customer import", + "PreSignedUrl": "https://aws-cognito-idp-user-import-pdx.s3.us-west-2.amazonaws.com/123456789012/us-west-2_EXAMPLE/import-mAgUtd8PMm?X-Amz-Security-Token=[token]&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20241226T193341Z&X-Amz-SignedHeaders=host%3Bx-amz-server-side-encryption&X-Amz-Expires=899&X-Amz-Credential=[credential]&X-Amz-Signature=[signature]", + "SkippedUsers": 0, + "StartDate": 1736443494.154, + "Status": "Stopped", + "UserPoolId": "us-west-2_EXAMPLE" + } + } + +For more information, see `Importing users into a user pool `__ in the *Amazon Cognito Developer Guide*. diff --git a/awscli/examples/ecs/create-cluster.rst b/awscli/examples/ecs/create-cluster.rst index b412fbce13f2..f49d7503ee40 100644 --- a/awscli/examples/ecs/create-cluster.rst +++ b/awscli/examples/ecs/create-cluster.rst @@ -1,9 +1,11 @@ **Example 1: To create a new cluster** -The following ``create-cluster`` example creates a cluster. :: +The following ``create-cluster`` example creates a cluster named ``MyCluster`` and enables CloudWatch Container Insights with enhanced observability. :: aws ecs create-cluster \ - --cluster-name MyCluster + --cluster-name MyCluster \ + --settings name=containerInsights,value=enhanced + Output:: @@ -17,6 +19,12 @@ Output:: "runningTasksCount": 0, "activeServicesCount": 0, "statistics": [], + "settings": [ + { + "name": "containerInsights", + "value": "enhanced" + } + ], "tags": [] } } @@ -25,7 +33,7 @@ For more information, see `Creating a Cluster `_ in the *AWS CLI User Guide*. :: +The following ``create-cluster`` example creates a cluster with multiple tags. For more information about adding tags using shorthand syntax, see `Using Shorthand Syntax with the AWS Command Line Interface `__ in the *AWS CLI User Guide*. :: aws ecs create-cluster \ --cluster-name MyCluster \ - --tags key=key1,value=value1 key=key2,value=value2 key=key3,value=value3 + --tags key=key1,value=value1 key=key2,value=value2 Output:: - { - "cluster": { - "clusterArn": "arn:aws:ecs:us-west-2:123456789012:cluster/MyCluster", - "clusterName": "MyCluster", - "status": "ACTIVE", - "registeredContainerInstancesCount": 0, - "pendingTasksCount": 0, - "runningTasksCount": 0, - "activeServicesCount": 0, - "statistics": [], - "tags": [ - { - "key": "key1", - "value": "value1" - }, - { - "key": "key2", - "value": "value2" - }, - { - "key": "key3", - "value": "value3" - } - ] + { + "cluster": { + "clusterArn": "arn:aws:ecs:us-west-2:123456789012:cluster/MyCluster", + "clusterName": "MyCluster", + "status": "ACTIVE", + "registeredContainerInstancesCount": 0, + "pendingTasksCount": 0, + "runningTasksCount": 0, + "activeServicesCount": 0, + "statistics": [], + "tags": [ + { + "key": "key1", + "value": "value1" + }, + { + "key": "key2", + "value": "value2" + } + ] } } -For more information, see `Creating a Cluster `__ in the *Amazon ECS Developer Guide*. \ No newline at end of file +For more information, see `Creating a Cluster `__ in the *Amazon ECS Developer Guide*. diff --git a/awscli/examples/ecs/put-account-setting.rst b/awscli/examples/ecs/put-account-setting.rst index cca46677cd52..52104581703d 100644 --- a/awscli/examples/ecs/put-account-setting.rst +++ b/awscli/examples/ecs/put-account-setting.rst @@ -1,16 +1,19 @@ **To modify the account setting for your IAM user account** -The following ``put-account-setting`` example enables the ``serviceLongArnFormat`` account setting for your IAM user account. :: +The following ``put-account-setting`` example sets the ``containerInsights`` account setting to ``enhanced`` for your IAM user account. This turns on Container Insights with enhanced observability. :: - aws ecs put-account-setting --name serviceLongArnFormat --value enabled + aws ecs put-account-setting \ + --name containerInsights \ + --value enhanced Output:: { "setting": { - "name": "serviceLongArnFormat", - "value": "enabled", - "principalArn": "arn:aws:iam::130757420319:user/your_username" + "name": "containerInsights", + "value": "enhanced", + "principalArn": "arn:aws:iam::123456789012:user/johndoe", + "type": "user" } } diff --git a/awscli/examples/ecs/update-cluster-settings.rst b/awscli/examples/ecs/update-cluster-settings.rst index c9f317150878..839ae0d754a0 100644 --- a/awscli/examples/ecs/update-cluster-settings.rst +++ b/awscli/examples/ecs/update-cluster-settings.rst @@ -1,16 +1,16 @@ **To modify the settings for your cluster** -The following ``update-cluster-settings`` example enables CloudWatch Container Insights for the ``default`` cluster. :: +The following ``update-cluster-settings`` example enables CloudWatch Container Insights with enhanced observability for the ``MyCluster`` cluster. :: aws ecs update-cluster-settings \ - --cluster default \ - --settings name=containerInsights,value=enabled + --cluster MyCluster \ + --settings name=containerInsights,value=enhanced Output:: { "cluster": { - "clusterArn": "arn:aws:ecs:us-west-2:123456789012:cluster/MyCluster", + "clusterArn": "arn:aws:ecs:us-esat-1:123456789012:cluster/MyCluster", "clusterName": "default", "status": "ACTIVE", "registeredContainerInstancesCount": 0, @@ -22,10 +22,10 @@ Output:: "settings": [ { "name": "containerInsights", - "value": "enabled" + "value": "enhanced" } ] } } -For more information, see `Modifying Account Settings `__ in the *Amazon ECS Developer Guide*. \ No newline at end of file +For more information, see `Modifying Account Settings `__ in the *Amazon ECS Developer Guide*. diff --git a/awscli/examples/ecs/update-service.rst b/awscli/examples/ecs/update-service.rst index ac872373e45c..74380e3b5aa2 100644 --- a/awscli/examples/ecs/update-service.rst +++ b/awscli/examples/ecs/update-service.rst @@ -1,13 +1,241 @@ -**Example 1: To change the task definition used in a service** +**Example 1: To change the number of instantiations in a service** -The following ``update-service`` example updates the ``my-http-service`` service to use the ``amazon-ecs-sample`` task definition. :: +The following ``update-service`` example updates the desired task count of the service ``my-http-service`` to 2. :: - aws ecs update-service --service my-http-service --task-definition amazon-ecs-sample + aws ecs update-service \ + --cluster MyCluster + --service my-http-service \ + --desired-count 2 -**Example 2: To change the number of tasks in a service** +Output:: -The following ``update-service`` example updates the desired task count of the service ``my-http-service`` to 3. :: + { + "service": { + "serviceArn": "arn:aws:ecs:us-east-1:123456789012:service/MyCluster/my-http-service", + "serviceName": "my-http-service", + "clusterArn": "arn:aws:ecs:us-east-1:123456789012:cluster/MyCluster", + "loadBalancers": [], + "serviceRegistries": [], + "status": "ACTIVE", + "desiredCount": 2, + "runningCount": 1, + "pendingCount": 0, + "capacityProviderStrategy": [ + { + "capacityProvider": "FARGATE", + "weight": 1, + "base": 0 + } + ], + "platformVersion": "LATEST", + "platformFamily": "Linux", + "taskDefinition": "arn:aws:ecs:us-east-1:123456789012:task-definition/MyTaskDefinition", + "deploymentConfiguration": { + "deploymentCircuitBreaker": { + "enable": true, + "rollback": true + }, + "maximumPercent": 200, + "minimumHealthyPercent": 100, + "alarms": { + "alarmNames": [], + "rollback": false, + "enable": false + } + }, + "deployments": [ + { + "id": "ecs-svc/1976744184940610707", + "status": "PRIMARY", + "taskkDefinition": "arn:aws:ecs:us-east-1:123456789012:task-definition/MyTaskDefinition", + "desiredCount": 1, + "pendingCount": 0, + "runningCount": 1, + "failedTasks": 0, + "createdAt": "2024-12-03T16:24:25.225000-05:00", + "updatedAt": "2024-12-03T16:25:15.837000-05:00", + "capacityProviderStrategy": [ + { + "capacityProvider": "FARGATE", + "weight": 1, + "base": 0 + } + ], + "platformVersion": "1.4.0", + "platformFamily": "Linux", + "networkConfiguration": { + "awsvpcConfiguration": { + "subnets": [ + "subnet-0d0eab1bb38d5ca64", + "subnet-0db5010045995c2d5" + ], + "securityGroups": [ + "sg-02556bf85a191f59a" + ], + "assignPublicIp": "ENABLED" + } + }, + "rolloutState": "COMPLETED", + "rolloutStateReason": "ECS deployment ecs-svc/1976744184940610707 completed." + } + ], + "roleArn": "arn:aws:iam::123456789012:role/aws-service-role/ecs.amazonaws.com/AWSServiceRoleForECS", + "events": [ + { + "id": "f27350b9-4b2a-4e2e-b72e-a4b68380de45", + "createdAt": "2024-12-30T13:24:07.345000-05:00", + "message": "(service my-http-service) has reached a steady state." + }, + { + "id": "e764ec63-f53f-45e3-9af2-d99f922d2957", + "createdAt": "2024-12-30T12:32:21.600000-05:00", + "message": "(service my-http-service) has reached a steady state." + }, + { + "id": "28444756-c2fa-47f8-bd60-93a8e05f3991", + "createdAt": "2024-12-08T19:26:10.367000-05:00", + "message": "(service my-http-service) has reached a steady state." + } + ], + "createdAt": "2024-12-03T16:24:25.225000-05:00", + "placementConstraints": [], + "placementStrategy": [], + "networkConfiguration": { + "awsvpcConfiguration": { + "subnets": [ + "subnet-0d0eab1bb38d5ca64", + "subnet-0db5010045995c2d5" + ], + "securityGroups": [ + "sg-02556bf85a191f59a" + ], + "assignPublicIp": "ENABLED" + } + }, + "healthCheckGracePeriodSeconds": 0, + "schedulingStrategy": "REPLICA", + "deploymentController": { + "type": "ECS" + }, + "createdBy": "arn:aws:iam::123456789012:role/Admin", + "enableECSManagedTags": true, + "propagateTags": "NONE", + "enableExecuteCommand": false, + "availabilityZoneRebalancing": "ENABLED" + } + } - aws ecs update-service --service my-http-service --desired-count 3 +For more information, see `Updating an Amazon ECS service using the console `__ in the *Amazon ECS Developer Guide*. -For more information, see `Updating a Service `_ in the *Amazon ECS Developer Guide*. \ No newline at end of file +**Example 2: To turn on Availability Zone rebalancing for a service** + +The following ``update-service`` example turns on Availability Zone rebalancing for the service ``my-http-service``. :: + + aws ecs update-service \ + --cluster MyCluster \ + --service my-http-service \ + --availability-zone-rebalancing ENABLED + +Output:: + + { + "service": { + "serviceArn": "arn:aws:ecs:us-east-1:123456789012:service/MyCluster/my-http-service", + "serviceName": "my-http-service", + "clusterArn": "arn:aws:ecs:us-east-1:123456789012:cluster/MyCluster", + "loadBalancers": [], + "serviceRegistries": [], + "status": "ACTIVE", + "desiredCount": 2, + "runningCount": 1, + "pendingCount": 0, + "capacityProviderStrategy": [ + { + "capacityProvider": "FARGATE", + "weight": 1, + "base": 0 + } + ], + "platformVersion": "LATEST", + "platformFamily": "Linux", + "taskDefinition": "arn:aws:ecs:us-east-1:123456789012:task-definition/MyTaskDefinition", + "deploymentConfiguration": { + "deploymentCircuitBreaker": { + "enable": true, + "rollback": true + }, + "maximumPercent": 200, + "minimumHealthyPercent": 100, + "alarms": { + "alarmNames": [], + "rollback": false, + "enable": false + } + }, + "deployments": [ + { + "id": "ecs-svc/1976744184940610707", + "status": "PRIMARY", + "taskkDefinition": "arn:aws:ecs:us-east-1:123456789012:task-definition/MyTaskDefinition", + "desiredCount": 1, + "pendingCount": 0, + "runningCount": 1, + "failedTasks": 0, + "createdAt": "2024-12-03T16:24:25.225000-05:00", + "updatedAt": "2024-12-03T16:25:15.837000-05:00", + "capacityProviderStrategy": [ + { + "capacityProvider": "FARGATE", + "weight": 1, + "base": 0 + } + ], + "platformVersion": "1.4.0", + "platformFamily": "Linux", + "networkConfiguration": { + "awsvpcConfiguration": { + "subnets": [ + "subnet-0d0eab1bb38d5ca64", + "subnet-0db5010045995c2d5" + ], + "securityGroups": [ + "sg-02556bf85a191f59a" + ], + "assignPublicIp": "ENABLED" + } + }, + "rolloutState": "COMPLETED", + "rolloutStateReason": "ECS deployment ecs-svc/1976744184940610707 completed." + } + ], + "roleArn": "arn:aws:iam::123456789012:role/aws-service-role/ecs.amazonaws.com/AWSServiceRoleForECS", + "events": [], + "createdAt": "2024-12-03T16:24:25.225000-05:00", + "placementConstraints": [], + "placementStrategy": [], + "networkConfiguration": { + "awsvpcConfiguration": { + "subnets": [ + "subnet-0d0eab1bb38d5ca64", + "subnet-0db5010045995c2d5" + ], + "securityGroups": [ + "sg-02556bf85a191f59a" + ], + "assignPublicIp": "ENABLED" + } + }, + "healthCheckGracePeriodSeconds": 0, + "schedulingStrategy": "REPLICA", + "deploymentController": { + "type": "ECS" + }, + "createdBy": "arn:aws:iam::123456789012:role/Admin", + "enableECSManagedTags": true, + "propagateTags": "NONE", + "enableExecuteCommand": false, + "availabilityZoneRebalancing": "ENABLED" + } + } + +For more information, see `Updating an Amazon ECS service using the console `__ in the *Amazon ECS Developer Guide*. \ No newline at end of file From 4bfe872d6636fe5c9ede4f499e4ea73fc9247d7c Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 7 Mar 2025 20:57:05 +0000 Subject: [PATCH 0502/1087] Update changelog based on model updates --- .changes/next-release/api-change-bedrockagent-51468.json | 5 +++++ .../next-release/api-change-bedrockagentruntime-65158.json | 5 +++++ .changes/next-release/api-change-cloudfront-43977.json | 5 +++++ .changes/next-release/api-change-ec2-72396.json | 5 +++++ .changes/next-release/api-change-elbv2-22863.json | 5 +++++ .changes/next-release/api-change-neptunegraph-17244.json | 5 +++++ 6 files changed, 30 insertions(+) create mode 100644 .changes/next-release/api-change-bedrockagent-51468.json create mode 100644 .changes/next-release/api-change-bedrockagentruntime-65158.json create mode 100644 .changes/next-release/api-change-cloudfront-43977.json create mode 100644 .changes/next-release/api-change-ec2-72396.json create mode 100644 .changes/next-release/api-change-elbv2-22863.json create mode 100644 .changes/next-release/api-change-neptunegraph-17244.json diff --git a/.changes/next-release/api-change-bedrockagent-51468.json b/.changes/next-release/api-change-bedrockagent-51468.json new file mode 100644 index 000000000000..dcf0ff7eb6b6 --- /dev/null +++ b/.changes/next-release/api-change-bedrockagent-51468.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-agent``", + "description": "Introduces support for Neptune Analytics as a vector data store and adds Context Enrichment Configurations, enabling use cases such as GraphRAG." +} diff --git a/.changes/next-release/api-change-bedrockagentruntime-65158.json b/.changes/next-release/api-change-bedrockagentruntime-65158.json new file mode 100644 index 000000000000..f92634b76c30 --- /dev/null +++ b/.changes/next-release/api-change-bedrockagentruntime-65158.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-agent-runtime``", + "description": "Support Multi Agent Collaboration within Inline Agents" +} diff --git a/.changes/next-release/api-change-cloudfront-43977.json b/.changes/next-release/api-change-cloudfront-43977.json new file mode 100644 index 000000000000..1394b21dc8ed --- /dev/null +++ b/.changes/next-release/api-change-cloudfront-43977.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``cloudfront``", + "description": "Documentation updates for Amazon CloudFront." +} diff --git a/.changes/next-release/api-change-ec2-72396.json b/.changes/next-release/api-change-ec2-72396.json new file mode 100644 index 000000000000..17049dc12d1f --- /dev/null +++ b/.changes/next-release/api-change-ec2-72396.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ec2``", + "description": "Add serviceManaged field to DescribeAddresses API response." +} diff --git a/.changes/next-release/api-change-elbv2-22863.json b/.changes/next-release/api-change-elbv2-22863.json new file mode 100644 index 000000000000..8786029471de --- /dev/null +++ b/.changes/next-release/api-change-elbv2-22863.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``elbv2``", + "description": "This release adds support for assigning IP addresses to Application Load Balancers from VPC IP Address Manager pools." +} diff --git a/.changes/next-release/api-change-neptunegraph-17244.json b/.changes/next-release/api-change-neptunegraph-17244.json new file mode 100644 index 000000000000..a96113347f7a --- /dev/null +++ b/.changes/next-release/api-change-neptunegraph-17244.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``neptune-graph``", + "description": "Several small updates to resolve customer requests." +} From ad51379f8f1454f6897bf75d2d2662fffc280913 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 7 Mar 2025 20:58:33 +0000 Subject: [PATCH 0503/1087] Bumping version to 1.38.9 --- .changes/1.38.9.json | 32 +++++++++++++++++++ .../api-change-bedrockagent-51468.json | 5 --- .../api-change-bedrockagentruntime-65158.json | 5 --- .../api-change-cloudfront-43977.json | 5 --- .../next-release/api-change-ec2-72396.json | 5 --- .../next-release/api-change-elbv2-22863.json | 5 --- .../api-change-neptunegraph-17244.json | 5 --- CHANGELOG.rst | 11 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 12 files changed, 47 insertions(+), 34 deletions(-) create mode 100644 .changes/1.38.9.json delete mode 100644 .changes/next-release/api-change-bedrockagent-51468.json delete mode 100644 .changes/next-release/api-change-bedrockagentruntime-65158.json delete mode 100644 .changes/next-release/api-change-cloudfront-43977.json delete mode 100644 .changes/next-release/api-change-ec2-72396.json delete mode 100644 .changes/next-release/api-change-elbv2-22863.json delete mode 100644 .changes/next-release/api-change-neptunegraph-17244.json diff --git a/.changes/1.38.9.json b/.changes/1.38.9.json new file mode 100644 index 000000000000..28d755b66313 --- /dev/null +++ b/.changes/1.38.9.json @@ -0,0 +1,32 @@ +[ + { + "category": "``bedrock-agent``", + "description": "Introduces support for Neptune Analytics as a vector data store and adds Context Enrichment Configurations, enabling use cases such as GraphRAG.", + "type": "api-change" + }, + { + "category": "``bedrock-agent-runtime``", + "description": "Support Multi Agent Collaboration within Inline Agents", + "type": "api-change" + }, + { + "category": "``cloudfront``", + "description": "Documentation updates for Amazon CloudFront.", + "type": "api-change" + }, + { + "category": "``ec2``", + "description": "Add serviceManaged field to DescribeAddresses API response.", + "type": "api-change" + }, + { + "category": "``elbv2``", + "description": "This release adds support for assigning IP addresses to Application Load Balancers from VPC IP Address Manager pools.", + "type": "api-change" + }, + { + "category": "``neptune-graph``", + "description": "Several small updates to resolve customer requests.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-bedrockagent-51468.json b/.changes/next-release/api-change-bedrockagent-51468.json deleted file mode 100644 index dcf0ff7eb6b6..000000000000 --- a/.changes/next-release/api-change-bedrockagent-51468.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-agent``", - "description": "Introduces support for Neptune Analytics as a vector data store and adds Context Enrichment Configurations, enabling use cases such as GraphRAG." -} diff --git a/.changes/next-release/api-change-bedrockagentruntime-65158.json b/.changes/next-release/api-change-bedrockagentruntime-65158.json deleted file mode 100644 index f92634b76c30..000000000000 --- a/.changes/next-release/api-change-bedrockagentruntime-65158.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-agent-runtime``", - "description": "Support Multi Agent Collaboration within Inline Agents" -} diff --git a/.changes/next-release/api-change-cloudfront-43977.json b/.changes/next-release/api-change-cloudfront-43977.json deleted file mode 100644 index 1394b21dc8ed..000000000000 --- a/.changes/next-release/api-change-cloudfront-43977.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``cloudfront``", - "description": "Documentation updates for Amazon CloudFront." -} diff --git a/.changes/next-release/api-change-ec2-72396.json b/.changes/next-release/api-change-ec2-72396.json deleted file mode 100644 index 17049dc12d1f..000000000000 --- a/.changes/next-release/api-change-ec2-72396.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ec2``", - "description": "Add serviceManaged field to DescribeAddresses API response." -} diff --git a/.changes/next-release/api-change-elbv2-22863.json b/.changes/next-release/api-change-elbv2-22863.json deleted file mode 100644 index 8786029471de..000000000000 --- a/.changes/next-release/api-change-elbv2-22863.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``elbv2``", - "description": "This release adds support for assigning IP addresses to Application Load Balancers from VPC IP Address Manager pools." -} diff --git a/.changes/next-release/api-change-neptunegraph-17244.json b/.changes/next-release/api-change-neptunegraph-17244.json deleted file mode 100644 index a96113347f7a..000000000000 --- a/.changes/next-release/api-change-neptunegraph-17244.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``neptune-graph``", - "description": "Several small updates to resolve customer requests." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 854df667fdd7..08a828028bde 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,17 @@ CHANGELOG ========= +1.38.9 +====== + +* api-change:``bedrock-agent``: Introduces support for Neptune Analytics as a vector data store and adds Context Enrichment Configurations, enabling use cases such as GraphRAG. +* api-change:``bedrock-agent-runtime``: Support Multi Agent Collaboration within Inline Agents +* api-change:``cloudfront``: Documentation updates for Amazon CloudFront. +* api-change:``ec2``: Add serviceManaged field to DescribeAddresses API response. +* api-change:``elbv2``: This release adds support for assigning IP addresses to Application Load Balancers from VPC IP Address Manager pools. +* api-change:``neptune-graph``: Several small updates to resolve customer requests. + + 1.38.8 ====== diff --git a/awscli/__init__.py b/awscli/__init__.py index 06c2b724d717..94598a8a7a22 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.38.8' +__version__ = '1.38.9' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index acc21a30d4de..dd440e8a0e1b 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.38' # The full version, including alpha/beta/rc tags. -release = '1.38.8' +release = '1.38.9' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index afc96f2247c4..a320694d8fad 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.37.8 + botocore==1.37.9 docutils>=0.10,<0.17 s3transfer>=0.11.0,<0.12.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 38128eb1871f..ce520d8ca87b 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.37.8', + 'botocore==1.37.9', 'docutils>=0.10,<0.17', 's3transfer>=0.11.0,<0.12.0', 'PyYAML>=3.10,<6.1', From d6a50f1275a199f514ff8c3d3472719297c37910 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 10 Mar 2025 18:12:50 +0000 Subject: [PATCH 0504/1087] Update changelog based on model updates --- .changes/next-release/api-change-bedrockagent-91766.json | 5 +++++ .../next-release/api-change-bedrockagentruntime-95832.json | 5 +++++ .changes/next-release/api-change-ce-54411.json | 5 +++++ .changes/next-release/api-change-connect-58244.json | 5 +++++ .changes/next-release/api-change-medialive-79561.json | 5 +++++ .changes/next-release/api-change-pcaconnectorad-13179.json | 5 +++++ .changes/next-release/api-change-securityhub-11216.json | 5 +++++ .../next-release/api-change-timestreaminfluxdb-77064.json | 5 +++++ 8 files changed, 40 insertions(+) create mode 100644 .changes/next-release/api-change-bedrockagent-91766.json create mode 100644 .changes/next-release/api-change-bedrockagentruntime-95832.json create mode 100644 .changes/next-release/api-change-ce-54411.json create mode 100644 .changes/next-release/api-change-connect-58244.json create mode 100644 .changes/next-release/api-change-medialive-79561.json create mode 100644 .changes/next-release/api-change-pcaconnectorad-13179.json create mode 100644 .changes/next-release/api-change-securityhub-11216.json create mode 100644 .changes/next-release/api-change-timestreaminfluxdb-77064.json diff --git a/.changes/next-release/api-change-bedrockagent-91766.json b/.changes/next-release/api-change-bedrockagent-91766.json new file mode 100644 index 000000000000..94009fdc0e37 --- /dev/null +++ b/.changes/next-release/api-change-bedrockagent-91766.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-agent``", + "description": "Add support for computer use tools" +} diff --git a/.changes/next-release/api-change-bedrockagentruntime-95832.json b/.changes/next-release/api-change-bedrockagentruntime-95832.json new file mode 100644 index 000000000000..7bbff07a307e --- /dev/null +++ b/.changes/next-release/api-change-bedrockagentruntime-95832.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-agent-runtime``", + "description": "Add support for computer use tools" +} diff --git a/.changes/next-release/api-change-ce-54411.json b/.changes/next-release/api-change-ce-54411.json new file mode 100644 index 000000000000..9dfeeeb72b21 --- /dev/null +++ b/.changes/next-release/api-change-ce-54411.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ce``", + "description": "Releasing minor partition endpoint updates." +} diff --git a/.changes/next-release/api-change-connect-58244.json b/.changes/next-release/api-change-connect-58244.json new file mode 100644 index 000000000000..9fe37b10320b --- /dev/null +++ b/.changes/next-release/api-change-connect-58244.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``connect``", + "description": "Add support for contact transfers in external voice systems." +} diff --git a/.changes/next-release/api-change-medialive-79561.json b/.changes/next-release/api-change-medialive-79561.json new file mode 100644 index 000000000000..84d9c4fab29e --- /dev/null +++ b/.changes/next-release/api-change-medialive-79561.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``medialive``", + "description": "Adds defaultFontSize and defaultLineHeight as options in the EbuTtDDestinationSettings within the caption descriptions for an output stream." +} diff --git a/.changes/next-release/api-change-pcaconnectorad-13179.json b/.changes/next-release/api-change-pcaconnectorad-13179.json new file mode 100644 index 000000000000..486b046b7ed6 --- /dev/null +++ b/.changes/next-release/api-change-pcaconnectorad-13179.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``pca-connector-ad``", + "description": "PrivateCA Connector for Active Directory now supports dual stack endpoints. This release adds the IpAddressType option to the VpcInformation on a Connector which determines whether the endpoint supports IPv4 only or IPv4 and IPv6 traffic." +} diff --git a/.changes/next-release/api-change-securityhub-11216.json b/.changes/next-release/api-change-securityhub-11216.json new file mode 100644 index 000000000000..15d71dfdeb39 --- /dev/null +++ b/.changes/next-release/api-change-securityhub-11216.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``securityhub``", + "description": "This release adds new StandardsControlsUpdatable field to the StandardsSubscription resource" +} diff --git a/.changes/next-release/api-change-timestreaminfluxdb-77064.json b/.changes/next-release/api-change-timestreaminfluxdb-77064.json new file mode 100644 index 000000000000..3ebe775be505 --- /dev/null +++ b/.changes/next-release/api-change-timestreaminfluxdb-77064.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``timestream-influxdb``", + "description": "This release updates the default value of pprof-disabled from false to true." +} From df8b17c00d2da84c23eb295dae4f7b46f9d9c088 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 10 Mar 2025 18:14:19 +0000 Subject: [PATCH 0505/1087] Bumping version to 1.38.10 --- .changes/1.38.10.json | 42 +++++++++++++++++++ .../api-change-bedrockagent-91766.json | 5 --- .../api-change-bedrockagentruntime-95832.json | 5 --- .../next-release/api-change-ce-54411.json | 5 --- .../api-change-connect-58244.json | 5 --- .../api-change-medialive-79561.json | 5 --- .../api-change-pcaconnectorad-13179.json | 5 --- .../api-change-securityhub-11216.json | 5 --- .../api-change-timestreaminfluxdb-77064.json | 5 --- CHANGELOG.rst | 13 ++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 4 +- setup.cfg | 2 +- setup.py | 2 +- 14 files changed, 60 insertions(+), 45 deletions(-) create mode 100644 .changes/1.38.10.json delete mode 100644 .changes/next-release/api-change-bedrockagent-91766.json delete mode 100644 .changes/next-release/api-change-bedrockagentruntime-95832.json delete mode 100644 .changes/next-release/api-change-ce-54411.json delete mode 100644 .changes/next-release/api-change-connect-58244.json delete mode 100644 .changes/next-release/api-change-medialive-79561.json delete mode 100644 .changes/next-release/api-change-pcaconnectorad-13179.json delete mode 100644 .changes/next-release/api-change-securityhub-11216.json delete mode 100644 .changes/next-release/api-change-timestreaminfluxdb-77064.json diff --git a/.changes/1.38.10.json b/.changes/1.38.10.json new file mode 100644 index 000000000000..9396d932b0f8 --- /dev/null +++ b/.changes/1.38.10.json @@ -0,0 +1,42 @@ +[ + { + "category": "``bedrock-agent``", + "description": "Add support for computer use tools", + "type": "api-change" + }, + { + "category": "``bedrock-agent-runtime``", + "description": "Add support for computer use tools", + "type": "api-change" + }, + { + "category": "``ce``", + "description": "Releasing minor partition endpoint updates.", + "type": "api-change" + }, + { + "category": "``connect``", + "description": "Add support for contact transfers in external voice systems.", + "type": "api-change" + }, + { + "category": "``medialive``", + "description": "Adds defaultFontSize and defaultLineHeight as options in the EbuTtDDestinationSettings within the caption descriptions for an output stream.", + "type": "api-change" + }, + { + "category": "``pca-connector-ad``", + "description": "PrivateCA Connector for Active Directory now supports dual stack endpoints. This release adds the IpAddressType option to the VpcInformation on a Connector which determines whether the endpoint supports IPv4 only or IPv4 and IPv6 traffic.", + "type": "api-change" + }, + { + "category": "``securityhub``", + "description": "This release adds new StandardsControlsUpdatable field to the StandardsSubscription resource", + "type": "api-change" + }, + { + "category": "``timestream-influxdb``", + "description": "This release updates the default value of pprof-disabled from false to true.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-bedrockagent-91766.json b/.changes/next-release/api-change-bedrockagent-91766.json deleted file mode 100644 index 94009fdc0e37..000000000000 --- a/.changes/next-release/api-change-bedrockagent-91766.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-agent``", - "description": "Add support for computer use tools" -} diff --git a/.changes/next-release/api-change-bedrockagentruntime-95832.json b/.changes/next-release/api-change-bedrockagentruntime-95832.json deleted file mode 100644 index 7bbff07a307e..000000000000 --- a/.changes/next-release/api-change-bedrockagentruntime-95832.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-agent-runtime``", - "description": "Add support for computer use tools" -} diff --git a/.changes/next-release/api-change-ce-54411.json b/.changes/next-release/api-change-ce-54411.json deleted file mode 100644 index 9dfeeeb72b21..000000000000 --- a/.changes/next-release/api-change-ce-54411.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ce``", - "description": "Releasing minor partition endpoint updates." -} diff --git a/.changes/next-release/api-change-connect-58244.json b/.changes/next-release/api-change-connect-58244.json deleted file mode 100644 index 9fe37b10320b..000000000000 --- a/.changes/next-release/api-change-connect-58244.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``connect``", - "description": "Add support for contact transfers in external voice systems." -} diff --git a/.changes/next-release/api-change-medialive-79561.json b/.changes/next-release/api-change-medialive-79561.json deleted file mode 100644 index 84d9c4fab29e..000000000000 --- a/.changes/next-release/api-change-medialive-79561.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``medialive``", - "description": "Adds defaultFontSize and defaultLineHeight as options in the EbuTtDDestinationSettings within the caption descriptions for an output stream." -} diff --git a/.changes/next-release/api-change-pcaconnectorad-13179.json b/.changes/next-release/api-change-pcaconnectorad-13179.json deleted file mode 100644 index 486b046b7ed6..000000000000 --- a/.changes/next-release/api-change-pcaconnectorad-13179.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``pca-connector-ad``", - "description": "PrivateCA Connector for Active Directory now supports dual stack endpoints. This release adds the IpAddressType option to the VpcInformation on a Connector which determines whether the endpoint supports IPv4 only or IPv4 and IPv6 traffic." -} diff --git a/.changes/next-release/api-change-securityhub-11216.json b/.changes/next-release/api-change-securityhub-11216.json deleted file mode 100644 index 15d71dfdeb39..000000000000 --- a/.changes/next-release/api-change-securityhub-11216.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``securityhub``", - "description": "This release adds new StandardsControlsUpdatable field to the StandardsSubscription resource" -} diff --git a/.changes/next-release/api-change-timestreaminfluxdb-77064.json b/.changes/next-release/api-change-timestreaminfluxdb-77064.json deleted file mode 100644 index 3ebe775be505..000000000000 --- a/.changes/next-release/api-change-timestreaminfluxdb-77064.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``timestream-influxdb``", - "description": "This release updates the default value of pprof-disabled from false to true." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 08a828028bde..c016b144d34f 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,19 @@ CHANGELOG ========= +1.38.10 +======= + +* api-change:``bedrock-agent``: Add support for computer use tools +* api-change:``bedrock-agent-runtime``: Add support for computer use tools +* api-change:``ce``: Releasing minor partition endpoint updates. +* api-change:``connect``: Add support for contact transfers in external voice systems. +* api-change:``medialive``: Adds defaultFontSize and defaultLineHeight as options in the EbuTtDDestinationSettings within the caption descriptions for an output stream. +* api-change:``pca-connector-ad``: PrivateCA Connector for Active Directory now supports dual stack endpoints. This release adds the IpAddressType option to the VpcInformation on a Connector which determines whether the endpoint supports IPv4 only or IPv4 and IPv6 traffic. +* api-change:``securityhub``: This release adds new StandardsControlsUpdatable field to the StandardsSubscription resource +* api-change:``timestream-influxdb``: This release updates the default value of pprof-disabled from false to true. + + 1.38.9 ====== diff --git a/awscli/__init__.py b/awscli/__init__.py index 94598a8a7a22..a7ddf173c5a4 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.38.9' +__version__ = '1.38.10' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index dd440e8a0e1b..7d9dfbc9a531 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -50,9 +50,9 @@ # built documents. # # The short X.Y version. -version = '1.38' +version = '1.38.' # The full version, including alpha/beta/rc tags. -release = '1.38.9' +release = '1.38.10' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index a320694d8fad..a0a89fc0dca3 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.37.9 + botocore==1.37.10 docutils>=0.10,<0.17 s3transfer>=0.11.0,<0.12.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index ce520d8ca87b..c620becde789 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.37.9', + 'botocore==1.37.10', 'docutils>=0.10,<0.17', 's3transfer>=0.11.0,<0.12.0', 'PyYAML>=3.10,<6.1', From 7db9313443edf5bfbfca48c6f4f64b650088cfaa Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 11 Mar 2025 18:26:55 +0000 Subject: [PATCH 0506/1087] Update changelog based on model updates --- .changes/next-release/api-change-ec2-39071.json | 5 +++++ .changes/next-release/api-change-ecr-62086.json | 5 +++++ .changes/next-release/api-change-ecs-75888.json | 5 +++++ .changes/next-release/api-change-inspector2-79843.json | 5 +++++ .changes/next-release/api-change-medialive-61253.json | 5 +++++ 5 files changed, 25 insertions(+) create mode 100644 .changes/next-release/api-change-ec2-39071.json create mode 100644 .changes/next-release/api-change-ecr-62086.json create mode 100644 .changes/next-release/api-change-ecs-75888.json create mode 100644 .changes/next-release/api-change-inspector2-79843.json create mode 100644 .changes/next-release/api-change-medialive-61253.json diff --git a/.changes/next-release/api-change-ec2-39071.json b/.changes/next-release/api-change-ec2-39071.json new file mode 100644 index 000000000000..73c32df3ffb8 --- /dev/null +++ b/.changes/next-release/api-change-ec2-39071.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ec2``", + "description": "This release adds the GroupLongName field to the response of the DescribeAvailabilityZones API." +} diff --git a/.changes/next-release/api-change-ecr-62086.json b/.changes/next-release/api-change-ecr-62086.json new file mode 100644 index 000000000000..a3d9dd081d62 --- /dev/null +++ b/.changes/next-release/api-change-ecr-62086.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ecr``", + "description": "This release adds Amazon ECR to Amazon ECR pull through cache rules support." +} diff --git a/.changes/next-release/api-change-ecs-75888.json b/.changes/next-release/api-change-ecs-75888.json new file mode 100644 index 000000000000..6f6a37aa084d --- /dev/null +++ b/.changes/next-release/api-change-ecs-75888.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ecs``", + "description": "This is a documentation only update for Amazon ECS to address various tickets." +} diff --git a/.changes/next-release/api-change-inspector2-79843.json b/.changes/next-release/api-change-inspector2-79843.json new file mode 100644 index 000000000000..79626ce7d6fa --- /dev/null +++ b/.changes/next-release/api-change-inspector2-79843.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``inspector2``", + "description": "Adding componentArn to network reachability details" +} diff --git a/.changes/next-release/api-change-medialive-61253.json b/.changes/next-release/api-change-medialive-61253.json new file mode 100644 index 000000000000..0cbe28ba5a0c --- /dev/null +++ b/.changes/next-release/api-change-medialive-61253.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``medialive``", + "description": "Add an enum option DISABLED for Output Locking Mode under Global Configuration." +} From 39d108d65ac4593bd72f882d65f965cc1bb64714 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 11 Mar 2025 18:28:28 +0000 Subject: [PATCH 0507/1087] Bumping version to 1.38.11 --- .changes/1.38.11.json | 27 +++++++++++++++++++ .../next-release/api-change-ec2-39071.json | 5 ---- .../next-release/api-change-ecr-62086.json | 5 ---- .../next-release/api-change-ecs-75888.json | 5 ---- .../api-change-inspector2-79843.json | 5 ---- .../api-change-medialive-61253.json | 5 ---- CHANGELOG.rst | 10 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 11 files changed, 41 insertions(+), 29 deletions(-) create mode 100644 .changes/1.38.11.json delete mode 100644 .changes/next-release/api-change-ec2-39071.json delete mode 100644 .changes/next-release/api-change-ecr-62086.json delete mode 100644 .changes/next-release/api-change-ecs-75888.json delete mode 100644 .changes/next-release/api-change-inspector2-79843.json delete mode 100644 .changes/next-release/api-change-medialive-61253.json diff --git a/.changes/1.38.11.json b/.changes/1.38.11.json new file mode 100644 index 000000000000..ccbd2e922a5e --- /dev/null +++ b/.changes/1.38.11.json @@ -0,0 +1,27 @@ +[ + { + "category": "``ec2``", + "description": "This release adds the GroupLongName field to the response of the DescribeAvailabilityZones API.", + "type": "api-change" + }, + { + "category": "``ecr``", + "description": "This release adds Amazon ECR to Amazon ECR pull through cache rules support.", + "type": "api-change" + }, + { + "category": "``ecs``", + "description": "This is a documentation only update for Amazon ECS to address various tickets.", + "type": "api-change" + }, + { + "category": "``inspector2``", + "description": "Adding componentArn to network reachability details", + "type": "api-change" + }, + { + "category": "``medialive``", + "description": "Add an enum option DISABLED for Output Locking Mode under Global Configuration.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-ec2-39071.json b/.changes/next-release/api-change-ec2-39071.json deleted file mode 100644 index 73c32df3ffb8..000000000000 --- a/.changes/next-release/api-change-ec2-39071.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ec2``", - "description": "This release adds the GroupLongName field to the response of the DescribeAvailabilityZones API." -} diff --git a/.changes/next-release/api-change-ecr-62086.json b/.changes/next-release/api-change-ecr-62086.json deleted file mode 100644 index a3d9dd081d62..000000000000 --- a/.changes/next-release/api-change-ecr-62086.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ecr``", - "description": "This release adds Amazon ECR to Amazon ECR pull through cache rules support." -} diff --git a/.changes/next-release/api-change-ecs-75888.json b/.changes/next-release/api-change-ecs-75888.json deleted file mode 100644 index 6f6a37aa084d..000000000000 --- a/.changes/next-release/api-change-ecs-75888.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ecs``", - "description": "This is a documentation only update for Amazon ECS to address various tickets." -} diff --git a/.changes/next-release/api-change-inspector2-79843.json b/.changes/next-release/api-change-inspector2-79843.json deleted file mode 100644 index 79626ce7d6fa..000000000000 --- a/.changes/next-release/api-change-inspector2-79843.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``inspector2``", - "description": "Adding componentArn to network reachability details" -} diff --git a/.changes/next-release/api-change-medialive-61253.json b/.changes/next-release/api-change-medialive-61253.json deleted file mode 100644 index 0cbe28ba5a0c..000000000000 --- a/.changes/next-release/api-change-medialive-61253.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``medialive``", - "description": "Add an enum option DISABLED for Output Locking Mode under Global Configuration." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index c016b144d34f..91703d69885a 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,16 @@ CHANGELOG ========= +1.38.11 +======= + +* api-change:``ec2``: This release adds the GroupLongName field to the response of the DescribeAvailabilityZones API. +* api-change:``ecr``: This release adds Amazon ECR to Amazon ECR pull through cache rules support. +* api-change:``ecs``: This is a documentation only update for Amazon ECS to address various tickets. +* api-change:``inspector2``: Adding componentArn to network reachability details +* api-change:``medialive``: Add an enum option DISABLED for Output Locking Mode under Global Configuration. + + 1.38.10 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index a7ddf173c5a4..7564da3b712e 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.38.10' +__version__ = '1.38.11' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 7d9dfbc9a531..c9be8bd62647 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.38.' # The full version, including alpha/beta/rc tags. -release = '1.38.10' +release = '1.38.11' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index a0a89fc0dca3..8488199c4689 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.37.10 + botocore==1.37.11 docutils>=0.10,<0.17 s3transfer>=0.11.0,<0.12.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index c620becde789..df6c5fb47e8a 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.37.10', + 'botocore==1.37.11', 'docutils>=0.10,<0.17', 's3transfer>=0.11.0,<0.12.0', 'PyYAML>=3.10,<6.1', From d3a4a859fba375865141aaf2e18f13b59bdfe943 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 13 Mar 2025 18:04:03 +0000 Subject: [PATCH 0508/1087] Update changelog based on model updates --- .changes/next-release/api-change-acmpca-52292.json | 5 +++++ .changes/next-release/api-change-amplify-55218.json | 5 +++++ .changes/next-release/api-change-codebuild-5218.json | 5 +++++ .changes/next-release/api-change-datazone-78794.json | 5 +++++ .changes/next-release/api-change-dynamodb-3033.json | 5 +++++ .changes/next-release/api-change-ec2-83841.json | 5 +++++ .changes/next-release/api-change-ivsrealtime-67503.json | 5 +++++ .changes/next-release/api-change-logs-6968.json | 5 +++++ .changes/next-release/api-change-mediapackagev2-21940.json | 5 +++++ .changes/next-release/api-change-s3control-39508.json | 5 +++++ 10 files changed, 50 insertions(+) create mode 100644 .changes/next-release/api-change-acmpca-52292.json create mode 100644 .changes/next-release/api-change-amplify-55218.json create mode 100644 .changes/next-release/api-change-codebuild-5218.json create mode 100644 .changes/next-release/api-change-datazone-78794.json create mode 100644 .changes/next-release/api-change-dynamodb-3033.json create mode 100644 .changes/next-release/api-change-ec2-83841.json create mode 100644 .changes/next-release/api-change-ivsrealtime-67503.json create mode 100644 .changes/next-release/api-change-logs-6968.json create mode 100644 .changes/next-release/api-change-mediapackagev2-21940.json create mode 100644 .changes/next-release/api-change-s3control-39508.json diff --git a/.changes/next-release/api-change-acmpca-52292.json b/.changes/next-release/api-change-acmpca-52292.json new file mode 100644 index 000000000000..6a22e55682c3 --- /dev/null +++ b/.changes/next-release/api-change-acmpca-52292.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``acm-pca``", + "description": "Private Certificate Authority service now supports P521 and RSA3072 key algorithms." +} diff --git a/.changes/next-release/api-change-amplify-55218.json b/.changes/next-release/api-change-amplify-55218.json new file mode 100644 index 000000000000..225f8c5f74c8 --- /dev/null +++ b/.changes/next-release/api-change-amplify-55218.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``amplify``", + "description": "Introduced support for Skew Protection. Added enableSkewProtection field to createBranch and updateBranch API." +} diff --git a/.changes/next-release/api-change-codebuild-5218.json b/.changes/next-release/api-change-codebuild-5218.json new file mode 100644 index 000000000000..a275b7df70cc --- /dev/null +++ b/.changes/next-release/api-change-codebuild-5218.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``codebuild``", + "description": "AWS CodeBuild now supports webhook filtering by organization name" +} diff --git a/.changes/next-release/api-change-datazone-78794.json b/.changes/next-release/api-change-datazone-78794.json new file mode 100644 index 000000000000..3d9d0ab39474 --- /dev/null +++ b/.changes/next-release/api-change-datazone-78794.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``datazone``", + "description": "This release adds support to update projects and environments" +} diff --git a/.changes/next-release/api-change-dynamodb-3033.json b/.changes/next-release/api-change-dynamodb-3033.json new file mode 100644 index 000000000000..6b86e901f4ac --- /dev/null +++ b/.changes/next-release/api-change-dynamodb-3033.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``dynamodb``", + "description": "Generate account endpoints for DynamoDB requests using ARN-sourced account ID when available" +} diff --git a/.changes/next-release/api-change-ec2-83841.json b/.changes/next-release/api-change-ec2-83841.json new file mode 100644 index 000000000000..d585d2526ee9 --- /dev/null +++ b/.changes/next-release/api-change-ec2-83841.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ec2``", + "description": "This release changes the CreateLaunchTemplate, CreateLaunchTemplateVersion, ModifyLaunchTemplate CLI and SDKs such that if you do not specify a client token, a randomly generated token is used for the request to ensure idempotency." +} diff --git a/.changes/next-release/api-change-ivsrealtime-67503.json b/.changes/next-release/api-change-ivsrealtime-67503.json new file mode 100644 index 000000000000..469cd4483e75 --- /dev/null +++ b/.changes/next-release/api-change-ivsrealtime-67503.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ivs-realtime``", + "description": "IVS Real-Time now offers customers the ability to adjust the participant & composition recording segment duration" +} diff --git a/.changes/next-release/api-change-logs-6968.json b/.changes/next-release/api-change-logs-6968.json new file mode 100644 index 000000000000..ad079706bf83 --- /dev/null +++ b/.changes/next-release/api-change-logs-6968.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``logs``", + "description": "Updated CreateLogAnomalyDetector to accept only kms key arn" +} diff --git a/.changes/next-release/api-change-mediapackagev2-21940.json b/.changes/next-release/api-change-mediapackagev2-21940.json new file mode 100644 index 000000000000..b6baa7dcd453 --- /dev/null +++ b/.changes/next-release/api-change-mediapackagev2-21940.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``mediapackagev2``", + "description": "This release adds the ResetChannelState and ResetOriginEndpointState operation to reset MediaPackage V2 channel and origin endpoint. This release also adds a new field, UrlEncodeChildManifest, for HLS/LL-HLS to allow URL-encoding child manifest query string based on the requirements of AWS SigV4." +} diff --git a/.changes/next-release/api-change-s3control-39508.json b/.changes/next-release/api-change-s3control-39508.json new file mode 100644 index 000000000000..392c2b03f5ae --- /dev/null +++ b/.changes/next-release/api-change-s3control-39508.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``s3control``", + "description": "Updating GetDataAccess response for S3 Access Grants to include the matched Grantee for the requested prefix" +} From d24226190d2ff2175b32f98525d01e1a1afedaa1 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 13 Mar 2025 18:05:36 +0000 Subject: [PATCH 0509/1087] Bumping version to 1.38.12 --- .changes/1.38.12.json | 52 +++++++++++++++++++ .../next-release/api-change-acmpca-52292.json | 5 -- .../api-change-amplify-55218.json | 5 -- .../api-change-codebuild-5218.json | 5 -- .../api-change-datazone-78794.json | 5 -- .../api-change-dynamodb-3033.json | 5 -- .../next-release/api-change-ec2-83841.json | 5 -- .../api-change-ivsrealtime-67503.json | 5 -- .../next-release/api-change-logs-6968.json | 5 -- .../api-change-mediapackagev2-21940.json | 5 -- .../api-change-s3control-39508.json | 5 -- CHANGELOG.rst | 15 ++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 16 files changed, 71 insertions(+), 54 deletions(-) create mode 100644 .changes/1.38.12.json delete mode 100644 .changes/next-release/api-change-acmpca-52292.json delete mode 100644 .changes/next-release/api-change-amplify-55218.json delete mode 100644 .changes/next-release/api-change-codebuild-5218.json delete mode 100644 .changes/next-release/api-change-datazone-78794.json delete mode 100644 .changes/next-release/api-change-dynamodb-3033.json delete mode 100644 .changes/next-release/api-change-ec2-83841.json delete mode 100644 .changes/next-release/api-change-ivsrealtime-67503.json delete mode 100644 .changes/next-release/api-change-logs-6968.json delete mode 100644 .changes/next-release/api-change-mediapackagev2-21940.json delete mode 100644 .changes/next-release/api-change-s3control-39508.json diff --git a/.changes/1.38.12.json b/.changes/1.38.12.json new file mode 100644 index 000000000000..5e657cf21fb1 --- /dev/null +++ b/.changes/1.38.12.json @@ -0,0 +1,52 @@ +[ + { + "category": "``acm-pca``", + "description": "Private Certificate Authority service now supports P521 and RSA3072 key algorithms.", + "type": "api-change" + }, + { + "category": "``amplify``", + "description": "Introduced support for Skew Protection. Added enableSkewProtection field to createBranch and updateBranch API.", + "type": "api-change" + }, + { + "category": "``codebuild``", + "description": "AWS CodeBuild now supports webhook filtering by organization name", + "type": "api-change" + }, + { + "category": "``datazone``", + "description": "This release adds support to update projects and environments", + "type": "api-change" + }, + { + "category": "``dynamodb``", + "description": "Generate account endpoints for DynamoDB requests using ARN-sourced account ID when available", + "type": "api-change" + }, + { + "category": "``ec2``", + "description": "This release changes the CreateLaunchTemplate, CreateLaunchTemplateVersion, ModifyLaunchTemplate CLI and SDKs such that if you do not specify a client token, a randomly generated token is used for the request to ensure idempotency.", + "type": "api-change" + }, + { + "category": "``ivs-realtime``", + "description": "IVS Real-Time now offers customers the ability to adjust the participant & composition recording segment duration", + "type": "api-change" + }, + { + "category": "``logs``", + "description": "Updated CreateLogAnomalyDetector to accept only kms key arn", + "type": "api-change" + }, + { + "category": "``mediapackagev2``", + "description": "This release adds the ResetChannelState and ResetOriginEndpointState operation to reset MediaPackage V2 channel and origin endpoint. This release also adds a new field, UrlEncodeChildManifest, for HLS/LL-HLS to allow URL-encoding child manifest query string based on the requirements of AWS SigV4.", + "type": "api-change" + }, + { + "category": "``s3control``", + "description": "Updating GetDataAccess response for S3 Access Grants to include the matched Grantee for the requested prefix", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-acmpca-52292.json b/.changes/next-release/api-change-acmpca-52292.json deleted file mode 100644 index 6a22e55682c3..000000000000 --- a/.changes/next-release/api-change-acmpca-52292.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``acm-pca``", - "description": "Private Certificate Authority service now supports P521 and RSA3072 key algorithms." -} diff --git a/.changes/next-release/api-change-amplify-55218.json b/.changes/next-release/api-change-amplify-55218.json deleted file mode 100644 index 225f8c5f74c8..000000000000 --- a/.changes/next-release/api-change-amplify-55218.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``amplify``", - "description": "Introduced support for Skew Protection. Added enableSkewProtection field to createBranch and updateBranch API." -} diff --git a/.changes/next-release/api-change-codebuild-5218.json b/.changes/next-release/api-change-codebuild-5218.json deleted file mode 100644 index a275b7df70cc..000000000000 --- a/.changes/next-release/api-change-codebuild-5218.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``codebuild``", - "description": "AWS CodeBuild now supports webhook filtering by organization name" -} diff --git a/.changes/next-release/api-change-datazone-78794.json b/.changes/next-release/api-change-datazone-78794.json deleted file mode 100644 index 3d9d0ab39474..000000000000 --- a/.changes/next-release/api-change-datazone-78794.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``datazone``", - "description": "This release adds support to update projects and environments" -} diff --git a/.changes/next-release/api-change-dynamodb-3033.json b/.changes/next-release/api-change-dynamodb-3033.json deleted file mode 100644 index 6b86e901f4ac..000000000000 --- a/.changes/next-release/api-change-dynamodb-3033.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``dynamodb``", - "description": "Generate account endpoints for DynamoDB requests using ARN-sourced account ID when available" -} diff --git a/.changes/next-release/api-change-ec2-83841.json b/.changes/next-release/api-change-ec2-83841.json deleted file mode 100644 index d585d2526ee9..000000000000 --- a/.changes/next-release/api-change-ec2-83841.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ec2``", - "description": "This release changes the CreateLaunchTemplate, CreateLaunchTemplateVersion, ModifyLaunchTemplate CLI and SDKs such that if you do not specify a client token, a randomly generated token is used for the request to ensure idempotency." -} diff --git a/.changes/next-release/api-change-ivsrealtime-67503.json b/.changes/next-release/api-change-ivsrealtime-67503.json deleted file mode 100644 index 469cd4483e75..000000000000 --- a/.changes/next-release/api-change-ivsrealtime-67503.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ivs-realtime``", - "description": "IVS Real-Time now offers customers the ability to adjust the participant & composition recording segment duration" -} diff --git a/.changes/next-release/api-change-logs-6968.json b/.changes/next-release/api-change-logs-6968.json deleted file mode 100644 index ad079706bf83..000000000000 --- a/.changes/next-release/api-change-logs-6968.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``logs``", - "description": "Updated CreateLogAnomalyDetector to accept only kms key arn" -} diff --git a/.changes/next-release/api-change-mediapackagev2-21940.json b/.changes/next-release/api-change-mediapackagev2-21940.json deleted file mode 100644 index b6baa7dcd453..000000000000 --- a/.changes/next-release/api-change-mediapackagev2-21940.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``mediapackagev2``", - "description": "This release adds the ResetChannelState and ResetOriginEndpointState operation to reset MediaPackage V2 channel and origin endpoint. This release also adds a new field, UrlEncodeChildManifest, for HLS/LL-HLS to allow URL-encoding child manifest query string based on the requirements of AWS SigV4." -} diff --git a/.changes/next-release/api-change-s3control-39508.json b/.changes/next-release/api-change-s3control-39508.json deleted file mode 100644 index 392c2b03f5ae..000000000000 --- a/.changes/next-release/api-change-s3control-39508.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``s3control``", - "description": "Updating GetDataAccess response for S3 Access Grants to include the matched Grantee for the requested prefix" -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 91703d69885a..21f5e66d94fe 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,21 @@ CHANGELOG ========= +1.38.12 +======= + +* api-change:``acm-pca``: Private Certificate Authority service now supports P521 and RSA3072 key algorithms. +* api-change:``amplify``: Introduced support for Skew Protection. Added enableSkewProtection field to createBranch and updateBranch API. +* api-change:``codebuild``: AWS CodeBuild now supports webhook filtering by organization name +* api-change:``datazone``: This release adds support to update projects and environments +* api-change:``dynamodb``: Generate account endpoints for DynamoDB requests using ARN-sourced account ID when available +* api-change:``ec2``: This release changes the CreateLaunchTemplate, CreateLaunchTemplateVersion, ModifyLaunchTemplate CLI and SDKs such that if you do not specify a client token, a randomly generated token is used for the request to ensure idempotency. +* api-change:``ivs-realtime``: IVS Real-Time now offers customers the ability to adjust the participant & composition recording segment duration +* api-change:``logs``: Updated CreateLogAnomalyDetector to accept only kms key arn +* api-change:``mediapackagev2``: This release adds the ResetChannelState and ResetOriginEndpointState operation to reset MediaPackage V2 channel and origin endpoint. This release also adds a new field, UrlEncodeChildManifest, for HLS/LL-HLS to allow URL-encoding child manifest query string based on the requirements of AWS SigV4. +* api-change:``s3control``: Updating GetDataAccess response for S3 Access Grants to include the matched Grantee for the requested prefix + + 1.38.11 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 7564da3b712e..b5b56e6111d4 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.38.11' +__version__ = '1.38.12' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index c9be8bd62647..c712d4b77e67 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.38.' # The full version, including alpha/beta/rc tags. -release = '1.38.11' +release = '1.38.12' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 8488199c4689..eb80c93bd42c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.37.11 + botocore==1.37.12 docutils>=0.10,<0.17 s3transfer>=0.11.0,<0.12.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index df6c5fb47e8a..474ffc5d9038 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.37.11', + 'botocore==1.37.12', 'docutils>=0.10,<0.17', 's3transfer>=0.11.0,<0.12.0', 'PyYAML>=3.10,<6.1', From cb7cee7668961003b2972e7c60bbf47ca56f8bf4 Mon Sep 17 00:00:00 2001 From: Elysa <60367675+elysahall@users.noreply.github.com> Date: Fri, 14 Mar 2025 10:28:36 -0700 Subject: [PATCH 0510/1087] CLI examples cognito-idp, ec2, vpc-lattice (#9323) --- awscli/examples/cognito-idp/tag-resource.rst | 11 + .../examples/cognito-idp/untag-resource.rst | 11 + .../cognito-idp/update-identity-provider.rst | 71 ++ .../update-managed-login-branding.rst | 949 ++++++++++++++++++ .../cognito-idp/update-user-pool-client.rst | 145 ++- .../cognito-idp/update-user-pool-domain.rst | 18 + .../cognito-idp/verify-software-token.rst | 15 + .../cognito-idp/verify-user-attribute.rst | 10 + .../ec2/associate-security-group-vpc.rst | 15 + awscli/examples/ec2/create-vpc-endpoint.rst | 314 +++--- ...scribe-security-group-vpc-associations.rst | 21 + .../describe-vpc-endpoint-associations.rst | 24 + ...isable-image-deregistration-protection.rst | 14 + .../ec2/disassociate-security-group-vpc.rst | 15 + ...enable-image-deregistration-protection.rst | 14 + .../create-resource-configuration.rst | 32 + .../vpc-lattice/create-resource-gateway.rst | 27 + .../delete-resource-configuration.rst | 10 + .../vpc-lattice/delete-resource-gateway.rst | 17 + .../get-resource-configuration.rst | 32 + .../vpc-lattice/get-resource-gateway.rst | 27 + .../list-resource-configurations.rst | 25 + .../list-resource-endpoint-associations.rst | 24 + .../vpc-lattice/list-resource-gateways.rst | 30 + ...vice-network-vpc-endpoint-associations.rst | 22 + 25 files changed, 1751 insertions(+), 142 deletions(-) create mode 100644 awscli/examples/cognito-idp/tag-resource.rst create mode 100644 awscli/examples/cognito-idp/untag-resource.rst create mode 100644 awscli/examples/cognito-idp/update-identity-provider.rst create mode 100644 awscli/examples/cognito-idp/update-managed-login-branding.rst create mode 100644 awscli/examples/cognito-idp/update-user-pool-domain.rst create mode 100644 awscli/examples/cognito-idp/verify-software-token.rst create mode 100644 awscli/examples/cognito-idp/verify-user-attribute.rst create mode 100644 awscli/examples/ec2/associate-security-group-vpc.rst create mode 100644 awscli/examples/ec2/describe-security-group-vpc-associations.rst create mode 100644 awscli/examples/ec2/describe-vpc-endpoint-associations.rst create mode 100644 awscli/examples/ec2/disable-image-deregistration-protection.rst create mode 100644 awscli/examples/ec2/disassociate-security-group-vpc.rst create mode 100644 awscli/examples/ec2/enable-image-deregistration-protection.rst create mode 100644 awscli/examples/vpc-lattice/create-resource-configuration.rst create mode 100644 awscli/examples/vpc-lattice/create-resource-gateway.rst create mode 100644 awscli/examples/vpc-lattice/delete-resource-configuration.rst create mode 100644 awscli/examples/vpc-lattice/delete-resource-gateway.rst create mode 100644 awscli/examples/vpc-lattice/get-resource-configuration.rst create mode 100644 awscli/examples/vpc-lattice/get-resource-gateway.rst create mode 100644 awscli/examples/vpc-lattice/list-resource-configurations.rst create mode 100644 awscli/examples/vpc-lattice/list-resource-endpoint-associations.rst create mode 100644 awscli/examples/vpc-lattice/list-resource-gateways.rst create mode 100644 awscli/examples/vpc-lattice/list-service-network-vpc-endpoint-associations.rst diff --git a/awscli/examples/cognito-idp/tag-resource.rst b/awscli/examples/cognito-idp/tag-resource.rst new file mode 100644 index 000000000000..43f8cc3f8ab9 --- /dev/null +++ b/awscli/examples/cognito-idp/tag-resource.rst @@ -0,0 +1,11 @@ +**To tag a user pool** + +The following ``tag-resource`` example applies ``administrator`` and ``department`` tags to the requested user pool. :: + + aws cognito-idp tag-resource \ + --resource-arn arn:aws:cognito-idp:us-west-2:123456789012:userpool/us-west-2_EXAMPLE \ + --tags administrator=Jie,tenant=ExampleCorp + +This command produces no output. + +For more information, see `Tagging Amazon Cognito resources `__ in the *Amazon Cognito Developer Guide*. diff --git a/awscli/examples/cognito-idp/untag-resource.rst b/awscli/examples/cognito-idp/untag-resource.rst new file mode 100644 index 000000000000..0582bce9249f --- /dev/null +++ b/awscli/examples/cognito-idp/untag-resource.rst @@ -0,0 +1,11 @@ +**To remove tags from a user pool** + +The following ``untag-resource`` example removes ``administrator`` and ``department`` tags from the requested user pool. :: + + aws cognito-idp untag-resource \ + --resource-arn arn:aws:cognito-idp:us-west-2:767671399759:userpool/us-west-2_l5cxwdm2K \ + --tag-keys administrator tenant + +This command produces no output. + +For more information, see `Tagging Amazon Cognito resources `__ in the *Amazon Cognito Developer Guide*. diff --git a/awscli/examples/cognito-idp/update-identity-provider.rst b/awscli/examples/cognito-idp/update-identity-provider.rst new file mode 100644 index 000000000000..cdcc48409ea9 --- /dev/null +++ b/awscli/examples/cognito-idp/update-identity-provider.rst @@ -0,0 +1,71 @@ +**To update a user pool identity provider** + +The following ``update-identity-provider`` example updates the OIDC provider "MyOIDCIdP" in the requested user pool. :: + + aws cognito-idp update-identity-provider \ + --cli-input-json file://update-identity-provider.json + +Contents of ``update-identity-provider.json``:: + + { + "AttributeMapping": { + "email": "idp_email", + "email_verified": "idp_email_verified", + "username": "sub" + }, + "CreationDate": 1.701129701653E9, + "IdpIdentifiers": [ + "corp", + "dev" + ], + "LastModifiedDate": 1.701129701653E9, + "ProviderDetails": { + "attributes_request_method": "GET", + "attributes_url": "https://example.com/userInfo", + "attributes_url_add_attributes": "false", + "authorize_scopes": "openid profile", + "authorize_url": "https://example.com/authorize", + "client_id": "idpexampleclient123", + "client_secret": "idpexamplesecret456", + "jwks_uri": "https://example.com/.well-known/jwks.json", + "oidc_issuer": "https://example.com", + "token_url": "https://example.com/token" + }, + "ProviderName": "MyOIDCIdP", + "UserPoolId": "us-west-2_EXAMPLE" + } + +Output:: + + { + "IdentityProvider": { + "AttributeMapping": { + "email": "idp_email", + "email_verified": "idp_email_verified", + "username": "sub" + }, + "CreationDate": 1701129701.653, + "IdpIdentifiers": [ + "corp", + "dev" + ], + "LastModifiedDate": 1736444278.211, + "ProviderDetails": { + "attributes_request_method": "GET", + "attributes_url": "https://example.com/userInfo", + "attributes_url_add_attributes": "false", + "authorize_scopes": "openid profile", + "authorize_url": "https://example.com/authorize", + "client_id": "idpexampleclient123", + "client_secret": "idpexamplesecret456", + "jwks_uri": "https://example.com/.well-known/jwks.json", + "oidc_issuer": "https://example.com", + "token_url": "https://example.com/token" + }, + "ProviderName": "MyOIDCIdP", + "ProviderType": "OIDC", + "UserPoolId": "us-west-2_EXAMPLE" + } + } + +For more information, see `Configuring a domain `__ in the *Amazon Cognito Developer Guide*. diff --git a/awscli/examples/cognito-idp/update-managed-login-branding.rst b/awscli/examples/cognito-idp/update-managed-login-branding.rst new file mode 100644 index 000000000000..c968630b6751 --- /dev/null +++ b/awscli/examples/cognito-idp/update-managed-login-branding.rst @@ -0,0 +1,949 @@ +**To update a managed login branding style** + +The following ``update-managed-login-branding`` example updates the requested app client branding style. :: + + aws cognito-idp update-managed-login-branding \ + --cli-input-json file://update-managed-login-branding.json + +Contents of ``update-managed-login-branding.json``:: + + { + "Assets": [ + { + "Bytes": "PHN2ZyB3aWR0aD0iMjAwMDAiIGhlaWdodD0iNDAwIiB2aWV3Qm94PSIwIDAgMjAwMDAgNDAwIiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8ZyBjbGlwLXBhdGg9InVybCgjY2xpcDBfMTcyNTlfMjM2Njc0KSI+CjxyZWN0IHdpZHRoPSIyMDAwMCIgaGVpZ2h0PSI0MDAiIGZpbGw9InVybCgjcGFpbnQwX2xpbmVhcl8xNzI1OV8yMzY2NzQpIi8+CjxwYXRoIGQ9Ik0wIDBIMjAwMDBWNDAwSDBWMFoiIGZpbGw9IiMxMjIwMzciIGZpbGwtb3BhY2l0eT0iMC41Ii8+CjwvZz4KPGRlZnM+CjxsaW5lYXJHcmFkaWVudCBpZD0icGFpbnQwX2xpbmVhcl8xNzI1OV8yMzY2NzQiIHgxPSItODk0LjI0OSIgeTE9IjE5OS45MzEiIHgyPSIxODAzNC41IiB5Mj0iLTU4OTkuNTciIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj4KPHN0b3Agc3RvcC1jb2xvcj0iI0JGODBGRiIvPgo8c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNGRjhGQUIiLz4KPC9saW5lYXJHcmFkaWVudD4KPGNsaXBQYXRoIGlkPSJjbGlwMF8xNzI1OV8yMzY2NzQiPgo8cmVjdCB3aWR0aD0iMjAwMDAiIGhlaWdodD0iNDAwIiBmaWxsPSJ3aGl0ZSIvPgo8L2NsaXBQYXRoPgo8L2RlZnM+Cjwvc3ZnPgo=", + "Category": "PAGE_FOOTER_BACKGROUND", + "ColorMode": "DARK", + "Extension": "SVG" + } + ], + "ManagedLoginBrandingId": "63f30090-6b1f-4278-b885-2bbb81f8e545", + "Settings": { + "categories": { + "auth": { + "authMethodOrder": [ + [ + { + "display": "BUTTON", + "type": "FEDERATED" + }, + { + "display": "INPUT", + "type": "USERNAME_PASSWORD" + } + ] + ], + "federation": { + "interfaceStyle": "BUTTON_LIST", + "order": [ + ] + } + }, + "form": { + "displayGraphics": true, + "instructions": { + "enabled": false + }, + "languageSelector": { + "enabled": false + }, + "location": { + "horizontal": "CENTER", + "vertical": "CENTER" + }, + "sessionTimerDisplay": "NONE" + }, + "global": { + "colorSchemeMode": "LIGHT", + "pageFooter": { + "enabled": false + }, + "pageHeader": { + "enabled": false + }, + "spacingDensity": "REGULAR" + }, + "signUp": { + "acceptanceElements": [ + { + "enforcement": "NONE", + "textKey": "en" + } + ] + } + }, + "componentClasses": { + "buttons": { + "borderRadius": 8.0 + }, + "divider": { + "darkMode": { + "borderColor": "232b37ff" + }, + "lightMode": { + "borderColor": "ebebf0ff" + } + }, + "dropDown": { + "borderRadius": 8.0, + "darkMode": { + "defaults": { + "itemBackgroundColor": "192534ff" + }, + "hover": { + "itemBackgroundColor": "081120ff", + "itemBorderColor": "5f6b7aff", + "itemTextColor": "e9ebedff" + }, + "match": { + "itemBackgroundColor": "d1d5dbff", + "itemTextColor": "89bdeeff" + } + }, + "lightMode": { + "defaults": { + "itemBackgroundColor": "ffffffff" + }, + "hover": { + "itemBackgroundColor": "f4f4f4ff", + "itemBorderColor": "7d8998ff", + "itemTextColor": "000716ff" + }, + "match": { + "itemBackgroundColor": "414d5cff", + "itemTextColor": "0972d3ff" + } + } + }, + "focusState": { + "darkMode": { + "borderColor": "539fe5ff" + }, + "lightMode": { + "borderColor": "0972d3ff" + } + }, + "idpButtons": { + "icons": { + "enabled": true + } + }, + "input": { + "borderRadius": 8.0, + "darkMode": { + "defaults": { + "backgroundColor": "0f1b2aff", + "borderColor": "5f6b7aff" + }, + "placeholderColor": "8d99a8ff" + }, + "lightMode": { + "defaults": { + "backgroundColor": "ffffffff", + "borderColor": "7d8998ff" + }, + "placeholderColor": "5f6b7aff" + } + }, + "inputDescription": { + "darkMode": { + "textColor": "8d99a8ff" + }, + "lightMode": { + "textColor": "5f6b7aff" + } + }, + "inputLabel": { + "darkMode": { + "textColor": "d1d5dbff" + }, + "lightMode": { + "textColor": "000716ff" + } + }, + "link": { + "darkMode": { + "defaults": { + "textColor": "539fe5ff" + }, + "hover": { + "textColor": "89bdeeff" + } + }, + "lightMode": { + "defaults": { + "textColor": "0972d3ff" + }, + "hover": { + "textColor": "033160ff" + } + } + }, + "optionControls": { + "darkMode": { + "defaults": { + "backgroundColor": "0f1b2aff", + "borderColor": "7d8998ff" + }, + "selected": { + "backgroundColor": "539fe5ff", + "foregroundColor": "000716ff" + } + }, + "lightMode": { + "defaults": { + "backgroundColor": "ffffffff", + "borderColor": "7d8998ff" + }, + "selected": { + "backgroundColor": "0972d3ff", + "foregroundColor": "ffffffff" + } + } + }, + "statusIndicator": { + "darkMode": { + "error": { + "backgroundColor": "1a0000ff", + "borderColor": "eb6f6fff", + "indicatorColor": "eb6f6fff" + }, + "pending": { + "indicatorColor": "AAAAAAAA" + }, + "success": { + "backgroundColor": "001a02ff", + "borderColor": "29ad32ff", + "indicatorColor": "29ad32ff" + }, + "warning": { + "backgroundColor": "1d1906ff", + "borderColor": "e0ca57ff", + "indicatorColor": "e0ca57ff" + } + }, + "lightMode": { + "error": { + "backgroundColor": "fff7f7ff", + "borderColor": "d91515ff", + "indicatorColor": "d91515ff" + }, + "pending": { + "indicatorColor": "AAAAAAAA" + }, + "success": { + "backgroundColor": "f2fcf3ff", + "borderColor": "037f0cff", + "indicatorColor": "037f0cff" + }, + "warning": { + "backgroundColor": "fffce9ff", + "borderColor": "8d6605ff", + "indicatorColor": "8d6605ff" + } + } + } + }, + "components": { + "alert": { + "borderRadius": 12.0, + "darkMode": { + "error": { + "backgroundColor": "1a0000ff", + "borderColor": "eb6f6fff" + } + }, + "lightMode": { + "error": { + "backgroundColor": "fff7f7ff", + "borderColor": "d91515ff" + } + } + }, + "favicon": { + "enabledTypes": [ + "ICO", + "SVG" + ] + }, + "form": { + "backgroundImage": { + "enabled": false + }, + "borderRadius": 8.0, + "darkMode": { + "backgroundColor": "0f1b2aff", + "borderColor": "424650ff" + }, + "lightMode": { + "backgroundColor": "ffffffff", + "borderColor": "c6c6cdff" + }, + "logo": { + "enabled": false, + "formInclusion": "IN", + "location": "CENTER", + "position": "TOP" + } + }, + "idpButton": { + "custom": { + }, + "standard": { + "darkMode": { + "active": { + "backgroundColor": "354150ff", + "borderColor": "89bdeeff", + "textColor": "89bdeeff" + }, + "defaults": { + "backgroundColor": "0f1b2aff", + "borderColor": "c6c6cdff", + "textColor": "c6c6cdff" + }, + "hover": { + "backgroundColor": "192534ff", + "borderColor": "89bdeeff", + "textColor": "89bdeeff" + } + }, + "lightMode": { + "active": { + "backgroundColor": "d3e7f9ff", + "borderColor": "033160ff", + "textColor": "033160ff" + }, + "defaults": { + "backgroundColor": "ffffffff", + "borderColor": "424650ff", + "textColor": "424650ff" + }, + "hover": { + "backgroundColor": "f2f8fdff", + "borderColor": "033160ff", + "textColor": "033160ff" + } + } + } + }, + "pageBackground": { + "darkMode": { + "color": "0f1b2aff" + }, + "image": { + "enabled": true + }, + "lightMode": { + "color": "ffffffff" + } + }, + "pageFooter": { + "backgroundImage": { + "enabled": false + }, + "darkMode": { + "background": { + "color": "0f141aff" + }, + "borderColor": "424650ff" + }, + "lightMode": { + "background": { + "color": "fafafaff" + }, + "borderColor": "d5dbdbff" + }, + "logo": { + "enabled": false, + "location": "START" + } + }, + "pageHeader": { + "backgroundImage": { + "enabled": false + }, + "darkMode": { + "background": { + "color": "0f141aff" + }, + "borderColor": "424650ff" + }, + "lightMode": { + "background": { + "color": "fafafaff" + }, + "borderColor": "d5dbdbff" + }, + "logo": { + "enabled": false, + "location": "START" + } + }, + "pageText": { + "darkMode": { + "bodyColor": "b6bec9ff", + "descriptionColor": "b6bec9ff", + "headingColor": "d1d5dbff" + }, + "lightMode": { + "bodyColor": "414d5cff", + "descriptionColor": "414d5cff", + "headingColor": "000716ff" + } + }, + "phoneNumberSelector": { + "displayType": "TEXT" + }, + "primaryButton": { + "darkMode": { + "active": { + "backgroundColor": "539fe5ff", + "textColor": "000716ff" + }, + "defaults": { + "backgroundColor": "539fe5ff", + "textColor": "000716ff" + }, + "disabled": { + "backgroundColor": "ffffffff", + "borderColor": "ffffffff" + }, + "hover": { + "backgroundColor": "89bdeeff", + "textColor": "000716ff" + } + }, + "lightMode": { + "active": { + "backgroundColor": "033160ff", + "textColor": "ffffffff" + }, + "defaults": { + "backgroundColor": "0972d3ff", + "textColor": "ffffffff" + }, + "disabled": { + "backgroundColor": "ffffffff", + "borderColor": "ffffffff" + }, + "hover": { + "backgroundColor": "033160ff", + "textColor": "ffffffff" + } + } + }, + "secondaryButton": { + "darkMode": { + "active": { + "backgroundColor": "354150ff", + "borderColor": "89bdeeff", + "textColor": "89bdeeff" + }, + "defaults": { + "backgroundColor": "0f1b2aff", + "borderColor": "539fe5ff", + "textColor": "539fe5ff" + }, + "hover": { + "backgroundColor": "192534ff", + "borderColor": "89bdeeff", + "textColor": "89bdeeff" + } + }, + "lightMode": { + "active": { + "backgroundColor": "d3e7f9ff", + "borderColor": "033160ff", + "textColor": "033160ff" + }, + "defaults": { + "backgroundColor": "ffffffff", + "borderColor": "0972d3ff", + "textColor": "0972d3ff" + }, + "hover": { + "backgroundColor": "f2f8fdff", + "borderColor": "033160ff", + "textColor": "033160ff" + } + } + } + } + }, + "UseCognitoProvidedValues": false, + "UserPoolId": "ca-central-1_EXAMPLE" + } + +Output:: + + { + "ManagedLoginBranding": { + "Assets": [ + { + "Bytes": "PHN2ZyB3aWR0aD0iMjAwMDAiIGhlaWdodD0iNDAwIiB2aWV3Qm94PSIwIDAgMjAwMDAgNDAwIiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8ZyBjbGlwLXBhdGg9InVybCgjY2xpcDBfMTcyNTlfMjM2Njc0KSI+CjxyZWN0IHdpZHRoPSIyMDAwMCIgaGVpZ2h0PSI0MDAiIGZpbGw9InVybCgjcGFpbnQwX2xpbmVhcl8xNzI1OV8yMzY2NzQpIi8+CjxwYXRoIGQ9Ik0wIDBIMjAwMDBWNDAwSDBWMFoiIGZpbGw9IiMxMjIwMzciIGZpbGwtb3BhY2l0eT0iMC41Ii8+CjwvZz4KPGRlZnM+CjxsaW5lYXJHcmFkaWVudCBpZD0icGFpbnQwX2xpbmVhcl8xNzI1OV8yMzY2NzQiIHgxPSItODk0LjI0OSIgeTE9IjE5OS45MzEiIHgyPSIxODAzNC41IiB5Mj0iLTU4OTkuNTciIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIj4KPHN0b3Agc3RvcC1jb2xvcj0iI0JGODBGRiIvPgo8c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiNGRjhGQUIiLz4KPC9saW5lYXJHcmFkaWVudD4KPGNsaXBQYXRoIGlkPSJjbGlwMF8xNzI1OV8yMzY2NzQiPgo8cmVjdCB3aWR0aD0iMjAwMDAiIGhlaWdodD0iNDAwIiBmaWxsPSJ3aGl0ZSIvPgo8L2NsaXBQYXRoPgo8L2RlZnM+Cjwvc3ZnPgo=", + "Category": "PAGE_FOOTER_BACKGROUND", + "ColorMode": "DARK", + "Extension": "SVG" + } + ], + "CreationDate": 1732138490.642, + "LastModifiedDate": 1732140420.301, + "ManagedLoginBrandingId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111", + "Settings": { + "categories": { + "auth": { + "authMethodOrder": [ + [ + { + "display": "BUTTON", + "type": "FEDERATED" + }, + { + "display": "INPUT", + "type": "USERNAME_PASSWORD" + } + ] + ], + "federation": { + "interfaceStyle": "BUTTON_LIST", + "order": [ + ] + } + }, + "form": { + "displayGraphics": true, + "instructions": { + "enabled": false + }, + "languageSelector": { + "enabled": false + }, + "location": { + "horizontal": "CENTER", + "vertical": "CENTER" + }, + "sessionTimerDisplay": "NONE" + }, + "global": { + "colorSchemeMode": "LIGHT", + "pageFooter": { + "enabled": false + }, + "pageHeader": { + "enabled": false + }, + "spacingDensity": "REGULAR" + }, + "signUp": { + "acceptanceElements": [ + { + "enforcement": "NONE", + "textKey": "en" + } + ] + } + }, + "componentClasses": { + "buttons": { + "borderRadius": 8.0 + }, + "divider": { + "darkMode": { + "borderColor": "232b37ff" + }, + "lightMode": { + "borderColor": "ebebf0ff" + } + }, + "dropDown": { + "borderRadius": 8.0, + "darkMode": { + "defaults": { + "itemBackgroundColor": "192534ff" + }, + "hover": { + "itemBackgroundColor": "081120ff", + "itemBorderColor": "5f6b7aff", + "itemTextColor": "e9ebedff" + }, + "match": { + "itemBackgroundColor": "d1d5dbff", + "itemTextColor": "89bdeeff" + } + }, + "lightMode": { + "defaults": { + "itemBackgroundColor": "ffffffff" + }, + "hover": { + "itemBackgroundColor": "f4f4f4ff", + "itemBorderColor": "7d8998ff", + "itemTextColor": "000716ff" + }, + "match": { + "itemBackgroundColor": "414d5cff", + "itemTextColor": "0972d3ff" + } + } + }, + "focusState": { + "darkMode": { + "borderColor": "539fe5ff" + }, + "lightMode": { + "borderColor": "0972d3ff" + } + }, + "idpButtons": { + "icons": { + "enabled": true + } + }, + "input": { + "borderRadius": 8.0, + "darkMode": { + "defaults": { + "backgroundColor": "0f1b2aff", + "borderColor": "5f6b7aff" + }, + "placeholderColor": "8d99a8ff" + }, + "lightMode": { + "defaults": { + "backgroundColor": "ffffffff", + "borderColor": "7d8998ff" + }, + "placeholderColor": "5f6b7aff" + } + }, + "inputDescription": { + "darkMode": { + "textColor": "8d99a8ff" + }, + "lightMode": { + "textColor": "5f6b7aff" + } + }, + "inputLabel": { + "darkMode": { + "textColor": "d1d5dbff" + }, + "lightMode": { + "textColor": "000716ff" + } + }, + "link": { + "darkMode": { + "defaults": { + "textColor": "539fe5ff" + }, + "hover": { + "textColor": "89bdeeff" + } + }, + "lightMode": { + "defaults": { + "textColor": "0972d3ff" + }, + "hover": { + "textColor": "033160ff" + } + } + }, + "optionControls": { + "darkMode": { + "defaults": { + "backgroundColor": "0f1b2aff", + "borderColor": "7d8998ff" + }, + "selected": { + "backgroundColor": "539fe5ff", + "foregroundColor": "000716ff" + } + }, + "lightMode": { + "defaults": { + "backgroundColor": "ffffffff", + "borderColor": "7d8998ff" + }, + "selected": { + "backgroundColor": "0972d3ff", + "foregroundColor": "ffffffff" + } + } + }, + "statusIndicator": { + "darkMode": { + "error": { + "backgroundColor": "1a0000ff", + "borderColor": "eb6f6fff", + "indicatorColor": "eb6f6fff" + }, + "pending": { + "indicatorColor": "AAAAAAAA" + }, + "success": { + "backgroundColor": "001a02ff", + "borderColor": "29ad32ff", + "indicatorColor": "29ad32ff" + }, + "warning": { + "backgroundColor": "1d1906ff", + "borderColor": "e0ca57ff", + "indicatorColor": "e0ca57ff" + } + }, + "lightMode": { + "error": { + "backgroundColor": "fff7f7ff", + "borderColor": "d91515ff", + "indicatorColor": "d91515ff" + }, + "pending": { + "indicatorColor": "AAAAAAAA" + }, + "success": { + "backgroundColor": "f2fcf3ff", + "borderColor": "037f0cff", + "indicatorColor": "037f0cff" + }, + "warning": { + "backgroundColor": "fffce9ff", + "borderColor": "8d6605ff", + "indicatorColor": "8d6605ff" + } + } + } + }, + "components": { + "alert": { + "borderRadius": 12.0, + "darkMode": { + "error": { + "backgroundColor": "1a0000ff", + "borderColor": "eb6f6fff" + } + }, + "lightMode": { + "error": { + "backgroundColor": "fff7f7ff", + "borderColor": "d91515ff" + } + } + }, + "favicon": { + "enabledTypes": [ + "ICO", + "SVG" + ] + }, + "form": { + "backgroundImage": { + "enabled": false + }, + "borderRadius": 8.0, + "darkMode": { + "backgroundColor": "0f1b2aff", + "borderColor": "424650ff" + }, + "lightMode": { + "backgroundColor": "ffffffff", + "borderColor": "c6c6cdff" + }, + "logo": { + "enabled": false, + "formInclusion": "IN", + "location": "CENTER", + "position": "TOP" + } + }, + "idpButton": { + "custom": { + }, + "standard": { + "darkMode": { + "active": { + "backgroundColor": "354150ff", + "borderColor": "89bdeeff", + "textColor": "89bdeeff" + }, + "defaults": { + "backgroundColor": "0f1b2aff", + "borderColor": "c6c6cdff", + "textColor": "c6c6cdff" + }, + "hover": { + "backgroundColor": "192534ff", + "borderColor": "89bdeeff", + "textColor": "89bdeeff" + } + }, + "lightMode": { + "active": { + "backgroundColor": "d3e7f9ff", + "borderColor": "033160ff", + "textColor": "033160ff" + }, + "defaults": { + "backgroundColor": "ffffffff", + "borderColor": "424650ff", + "textColor": "424650ff" + }, + "hover": { + "backgroundColor": "f2f8fdff", + "borderColor": "033160ff", + "textColor": "033160ff" + } + } + } + }, + "pageBackground": { + "darkMode": { + "color": "0f1b2aff" + }, + "image": { + "enabled": true + }, + "lightMode": { + "color": "ffffffff" + } + }, + "pageFooter": { + "backgroundImage": { + "enabled": false + }, + "darkMode": { + "background": { + "color": "0f141aff" + }, + "borderColor": "424650ff" + }, + "lightMode": { + "background": { + "color": "fafafaff" + }, + "borderColor": "d5dbdbff" + }, + "logo": { + "enabled": false, + "location": "START" + } + }, + "pageHeader": { + "backgroundImage": { + "enabled": false + }, + "darkMode": { + "background": { + "color": "0f141aff" + }, + "borderColor": "424650ff" + }, + "lightMode": { + "background": { + "color": "fafafaff" + }, + "borderColor": "d5dbdbff" + }, + "logo": { + "enabled": false, + "location": "START" + } + }, + "pageText": { + "darkMode": { + "bodyColor": "b6bec9ff", + "descriptionColor": "b6bec9ff", + "headingColor": "d1d5dbff" + }, + "lightMode": { + "bodyColor": "414d5cff", + "descriptionColor": "414d5cff", + "headingColor": "000716ff" + } + }, + "phoneNumberSelector": { + "displayType": "TEXT" + }, + "primaryButton": { + "darkMode": { + "active": { + "backgroundColor": "539fe5ff", + "textColor": "000716ff" + }, + "defaults": { + "backgroundColor": "539fe5ff", + "textColor": "000716ff" + }, + "disabled": { + "backgroundColor": "ffffffff", + "borderColor": "ffffffff" + }, + "hover": { + "backgroundColor": "89bdeeff", + "textColor": "000716ff" + } + }, + "lightMode": { + "active": { + "backgroundColor": "033160ff", + "textColor": "ffffffff" + }, + "defaults": { + "backgroundColor": "0972d3ff", + "textColor": "ffffffff" + }, + "disabled": { + "backgroundColor": "ffffffff", + "borderColor": "ffffffff" + }, + "hover": { + "backgroundColor": "033160ff", + "textColor": "ffffffff" + } + } + }, + "secondaryButton": { + "darkMode": { + "active": { + "backgroundColor": "354150ff", + "borderColor": "89bdeeff", + "textColor": "89bdeeff" + }, + "defaults": { + "backgroundColor": "0f1b2aff", + "borderColor": "539fe5ff", + "textColor": "539fe5ff" + }, + "hover": { + "backgroundColor": "192534ff", + "borderColor": "89bdeeff", + "textColor": "89bdeeff" + } + }, + "lightMode": { + "active": { + "backgroundColor": "d3e7f9ff", + "borderColor": "033160ff", + "textColor": "033160ff" + }, + "defaults": { + "backgroundColor": "ffffffff", + "borderColor": "0972d3ff", + "textColor": "0972d3ff" + }, + "hover": { + "backgroundColor": "f2f8fdff", + "borderColor": "033160ff", + "textColor": "033160ff" + } + } + } + } + }, + "UseCognitoProvidedValues": false, + "UserPoolId": "ca-central-1_EXAMPLE" + } + } + +For more information, see `Apply branding to managed login pages `__ in the *Amazon Cognito Developer Guide*. + \ No newline at end of file diff --git a/awscli/examples/cognito-idp/update-user-pool-client.rst b/awscli/examples/cognito-idp/update-user-pool-client.rst index b2f922eb0a91..7a9425459a39 100644 --- a/awscli/examples/cognito-idp/update-user-pool-client.rst +++ b/awscli/examples/cognito-idp/update-user-pool-client.rst @@ -1,24 +1,121 @@ -**To update a user pool client** - -This example updates the name of a user pool client. It also adds a writeable attribute "nickname". - -Command:: - - aws cognito-idp update-user-pool-client --user-pool-id us-west-2_aaaaaaaaa --client-id 3n4b5urk1ft4fl3mg5e62d9ado --client-name "NewClientName" --write-attributes "nickname" - -Output:: - - { - "UserPoolClient": { - "UserPoolId": "us-west-2_aaaaaaaaa", - "ClientName": "NewClientName", - "ClientId": "3n4b5urk1ft4fl3mg5e62d9ado", - "LastModifiedDate": 1548802761.334, - "CreationDate": 1548178931.258, - "RefreshTokenValidity": 30, - "WriteAttributes": [ - "nickname" - ], - "AllowedOAuthFlowsUserPoolClient": false - } - } \ No newline at end of file +**To update an app client** + +The following ``update-user-pool-client`` example updates the configuration of the requested app client. :: + + aws cognito-idp update-user-pool-client \ + --user-pool-id us-west-2_EXAMPLE \ + --client-id 1example23456789 \ + --client-name my-test-app \ + --refresh-token-validity 30 \ + --access-token-validity 60 \ + --id-token-validity 60 \ + --token-validity-units AccessToken=minutes,IdToken=minutes,RefreshToken=days \ + --read-attributes "address" "birthdate" "email" "email_verified" "family_name" "gender" "locale" "middle_name" "name" "nickname" "phone_number" "phone_number_verified" "picture" "preferred_username" "profile" "updated_at" "website" "zoneinfo" \ + --write-attributes "address" "birthdate" "email" "family_name" "gender" "locale" "middle_name" "name" "nickname" "phone_number" "picture" "preferred_username" "profile" "updated_at" "website" "zoneinfo" \ + --explicit-auth-flows "ALLOW_ADMIN_USER_PASSWORD_AUTH" "ALLOW_CUSTOM_AUTH" "ALLOW_REFRESH_TOKEN_AUTH" "ALLOW_USER_PASSWORD_AUTH" "ALLOW_USER_SRP_AUTH" \ + --supported-identity-providers "MySAML" "COGNITO" "Google" \ + --callback-urls "https://www.example.com" "https://app2.example.com" \ + --logout-urls "https://auth.example.com/login?client_id=1example23456789&response_type=code&redirect_uri=https%3A%2F%2Fwww.example.com" "https://example.com/logout" \ + --default-redirect-uri "https://www.example.com" \ + --allowed-o-auth-flows "code" "implicit" \ + --allowed-o-auth-scopes "openid" "profile" "aws.cognito.signin.user.admin" \ + --allowed-o-auth-flows-user-pool-client \ + --prevent-user-existence-errors ENABLED \ + --enable-token-revocation \ + --no-enable-propagate-additional-user-context-data \ + --auth-session-validity 3 + +Output:: + + { + "UserPoolClient": { + "UserPoolId": "us-west-2_EXAMPLE", + "ClientName": "my-test-app", + "ClientId": "1example23456789", + "LastModifiedDate": "2025-01-31T14:40:12.498000-08:00", + "CreationDate": "2023-09-13T16:26:34.408000-07:00", + "RefreshTokenValidity": 30, + "AccessTokenValidity": 60, + "IdTokenValidity": 60, + "TokenValidityUnits": { + "AccessToken": "minutes", + "IdToken": "minutes", + "RefreshToken": "days" + }, + "ReadAttributes": [ + "website", + "zoneinfo", + "address", + "birthdate", + "email_verified", + "gender", + "profile", + "phone_number_verified", + "preferred_username", + "locale", + "middle_name", + "picture", + "updated_at", + "name", + "nickname", + "phone_number", + "family_name", + "email" + ], + "WriteAttributes": [ + "website", + "zoneinfo", + "address", + "birthdate", + "gender", + "profile", + "preferred_username", + "locale", + "middle_name", + "picture", + "updated_at", + "name", + "nickname", + "phone_number", + "family_name", + "email" + ], + "ExplicitAuthFlows": [ + "ALLOW_CUSTOM_AUTH", + "ALLOW_USER_PASSWORD_AUTH", + "ALLOW_ADMIN_USER_PASSWORD_AUTH", + "ALLOW_USER_SRP_AUTH", + "ALLOW_REFRESH_TOKEN_AUTH" + ], + "SupportedIdentityProviders": [ + "Google", + "COGNITO", + "MySAML" + ], + "CallbackURLs": [ + "https://www.example.com", + "https://app2.example.com" + ], + "LogoutURLs": [ + "https://example.com/logout", + "https://auth.example.com/login?client_id=1example23456789&response_type=code&redirect_uri=https%3A%2F%2Fwww.example.com" + ], + "DefaultRedirectURI": "https://www.example.com", + "AllowedOAuthFlows": [ + "implicit", + "code" + ], + "AllowedOAuthScopes": [ + "aws.cognito.signin.user.admin", + "openid", + "profile" + ], + "AllowedOAuthFlowsUserPoolClient": true, + "PreventUserExistenceErrors": "ENABLED", + "EnableTokenRevocation": true, + "EnablePropagateAdditionalUserContextData": false, + "AuthSessionValidity": 3 + } + } + +For more information, see `Application-specific settings with app clients `__ in the *Amazon Cognito Developer Guide*. \ No newline at end of file diff --git a/awscli/examples/cognito-idp/update-user-pool-domain.rst b/awscli/examples/cognito-idp/update-user-pool-domain.rst new file mode 100644 index 000000000000..54bb0cff1530 --- /dev/null +++ b/awscli/examples/cognito-idp/update-user-pool-domain.rst @@ -0,0 +1,18 @@ +**To update a custom domain** + +The following ``update-user-pool-domain`` example configures the branding version and certificate for the custom domain the requested user pool. :: + + aws cognito-idp update-user-pool-domain \ + --user-pool-id ca-central-1_EXAMPLE \ + --domain auth.example.com \ + --managed-login-version 2 \ + --custom-domain-config CertificateArn=arn:aws:acm:us-east-1:123456789012:certificate/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111 + +Output:: + + { + "CloudFrontDomain": "example.cloudfront.net", + "ManagedLoginVersion": 2 + } + +For more information, see `Managed login `__ and `Configuring a domain `__ in the *Amazon Cognito Developer Guide*. diff --git a/awscli/examples/cognito-idp/verify-software-token.rst b/awscli/examples/cognito-idp/verify-software-token.rst new file mode 100644 index 000000000000..44d78c3b6544 --- /dev/null +++ b/awscli/examples/cognito-idp/verify-software-token.rst @@ -0,0 +1,15 @@ +**To confirm registration of a TOTP authenticator** + +The following ``verify-software-token`` example completes TOTP registration for the current user. :: + + aws cognito-idp verify-software-token \ + --access-token eyJra456defEXAMPLE \ + --user-code 123456 + +Output:: + + { + "Status": "SUCCESS" + } + +For more information, see `Adding MFA to a user pool `__ in the *Amazon Cognito Developer Guide*. \ No newline at end of file diff --git a/awscli/examples/cognito-idp/verify-user-attribute.rst b/awscli/examples/cognito-idp/verify-user-attribute.rst new file mode 100644 index 000000000000..3e635cf30ed1 --- /dev/null +++ b/awscli/examples/cognito-idp/verify-user-attribute.rst @@ -0,0 +1,10 @@ +**To verify an attribute change** + +The following ``verify-user-attribute`` example verifies a change to the current user's email attribute. :: + + aws cognito-idp verify-user-attribute \ + --access-token eyJra456defEXAMPLE \ + --attribute-name email \ + --code 123456 + +For more information, see `Configuring email or phone verification `__ in the *Amazon Cognito Developer Guide*. diff --git a/awscli/examples/ec2/associate-security-group-vpc.rst b/awscli/examples/ec2/associate-security-group-vpc.rst new file mode 100644 index 000000000000..1629b6690f75 --- /dev/null +++ b/awscli/examples/ec2/associate-security-group-vpc.rst @@ -0,0 +1,15 @@ +**To associate a security group with another VPC** + +The following ``associate-security-group-vpc`` example associates the specified security group with the specified VPC. :: + + aws ec2 associate-security-group-vpc \ + --group-id sg-04dbb43907d3f8a78 \ + --vpc-id vpc-0bf4c2739bc05a694 + +Output:: + + { + "State": "associating" + } + +For more information, see `Associate security groups with multiple VPCs `__ in the *Amazon VPC User Guide*. diff --git a/awscli/examples/ec2/create-vpc-endpoint.rst b/awscli/examples/ec2/create-vpc-endpoint.rst index de693a8e8739..5f93b9496a7a 100644 --- a/awscli/examples/ec2/create-vpc-endpoint.rst +++ b/awscli/examples/ec2/create-vpc-endpoint.rst @@ -1,118 +1,196 @@ -**Example 1: To create a gateway endpoint** - -The following ``create-vpc-endpoint`` example creates a gateway VPC endpoint between VPC ``vpc-1a2b3c4d`` and Amazon S3 in the ``us-east-1`` region, and associates route table ``rtb-11aa22bb`` with the endpoint. :: - - aws ec2 create-vpc-endpoint \ - --vpc-id vpc-1a2b3c4d \ - --service-name com.amazonaws.us-east-1.s3 \ - --route-table-ids rtb-11aa22bb - -Output:: - - { - "VpcEndpoint": { - "PolicyDocument": "{\"Version\":\"2008-10-17\",\"Statement\":[{\"Sid\":\"\",\"Effect\":\"Allow\",\"Principal\":\"\*\",\"Action\":\"\*\",\"Resource\":\"\*\"}]}", - "VpcId": "vpc-1a2b3c4d", - "State": "available", - "ServiceName": "com.amazonaws.us-east-1.s3", - "RouteTableIds": [ - "rtb-11aa22bb" - ], - "VpcEndpointId": "vpc-1a2b3c4d", - "CreationTimestamp": "2015-05-15T09:40:50Z" - } - } - -For more information, see `Create a gateway endpoint `__ in the *AWS PrivateLink User Guide*. - -**Example 2: To create an interface endpoint** - -The following ``create-vpc-endpoint`` example creates an interface VPC endpoint between VPC ``vpc-1a2b3c4d`` and Amazon S3 in the ``us-east-1`` region. The command creates the endpoint in subnet ``subnet-1a2b3c4d``, associates it with security group ``sg-1a2b3c4d``, and adds a tag with a key of "Service" and a Value of "S3". :: - - aws ec2 create-vpc-endpoint \ - --vpc-id vpc-1a2b3c4d \ - --vpc-endpoint-type Interface \ - --service-name com.amazonaws.us-east-1.s3 \ - --subnet-ids subnet-7b16de0c \ - --security-group-id sg-1a2b3c4d \ - --tag-specifications ResourceType=vpc-endpoint,Tags=[{Key=service,Value=S3}] - -Output:: - - { - "VpcEndpoint": { - "VpcEndpointId": "vpce-1a2b3c4d5e6f1a2b3", - "VpcEndpointType": "Interface", - "VpcId": "vpc-1a2b3c4d", - "ServiceName": "com.amazonaws.us-east-1.s3", - "State": "pending", - "RouteTableIds": [], - "SubnetIds": [ - "subnet-1a2b3c4d" - ], - "Groups": [ - { - "GroupId": "sg-1a2b3c4d", - "GroupName": "default" - } - ], - "PrivateDnsEnabled": false, - "RequesterManaged": false, - "NetworkInterfaceIds": [ - "eni-0b16f0581c8ac6877" - ], - "DnsEntries": [ - { - "DnsName": "*.vpce-1a2b3c4d5e6f1a2b3-9hnenorg.s3.us-east-1.vpce.amazonaws.com", - "HostedZoneId": "Z7HUB22UULQXV" - }, - { - "DnsName": "*.vpce-1a2b3c4d5e6f1a2b3-9hnenorg-us-east-1c.s3.us-east-1.vpce.amazonaws.com", - "HostedZoneId": "Z7HUB22UULQXV" - } - ], - "CreationTimestamp": "2021-03-05T14:46:16.030000+00:00", - "Tags": [ - { - "Key": "service", - "Value": "S3" - } - ], - "OwnerId": "123456789012" - } - } - -For more information, see `Create an interface VPC endpoint `__ in the *AWS PrivateLink User Guide*. - -**Example 3: To create a Gateway Load Balancer endpoint** - -The following ``create-vpc-endpoint`` example creates a Gateway Load Balancer endpoint between VPC ``vpc-111122223333aabbc`` and and a service that is configured using a Gateway Load Balancer. :: - - aws ec2 create-vpc-endpoint \ - --service-name com.amazonaws.vpce.us-east-1.vpce-svc-123123a1c43abc123 \ - --vpc-endpoint-type GatewayLoadBalancer \ - --vpc-id vpc-111122223333aabbc \ - --subnet-ids subnet-0011aabbcc2233445 - -Output:: - - { - "VpcEndpoint": { - "VpcEndpointId": "vpce-aabbaabbaabbaabba", - "VpcEndpointType": "GatewayLoadBalancer", - "VpcId": "vpc-111122223333aabbc", - "ServiceName": "com.amazonaws.vpce.us-east-1.vpce-svc-123123a1c43abc123", - "State": "pending", - "SubnetIds": [ - "subnet-0011aabbcc2233445" - ], - "RequesterManaged": false, - "NetworkInterfaceIds": [ - "eni-01010120203030405" - ], - "CreationTimestamp": "2020-11-11T08:06:03.522Z", - "OwnerId": "123456789012" - } - } - -For more information, see `Gateway Load Balancer endpoints `__ in the *AWS PrivateLink User Guide*. \ No newline at end of file +**Example 1: To create a gateway endpoint** + +The following ``create-vpc-endpoint`` example creates a gateway VPC endpoint between VPC ``vpc-1a2b3c4d`` and Amazon S3 in the ``us-east-1`` region, and associates route table ``rtb-11aa22bb`` with the endpoint. :: + + aws ec2 create-vpc-endpoint \ + --vpc-id vpc-1a2b3c4d \ + --service-name com.amazonaws.us-east-1.s3 \ + --route-table-ids rtb-11aa22bb + +Output:: + + { + "VpcEndpoint": { + "PolicyDocument": "{\"Version\":\"2008-10-17\",\"Statement\":[{\"Sid\":\"\",\"Effect\":\"Allow\",\"Principal\":\"\*\",\"Action\":\"\*\",\"Resource\":\"\*\"}]}", + "VpcId": "vpc-1a2b3c4d", + "State": "available", + "ServiceName": "com.amazonaws.us-east-1.s3", + "RouteTableIds": [ + "rtb-11aa22bb" + ], + "VpcEndpointId": "vpc-1a2b3c4d", + "CreationTimestamp": "2015-05-15T09:40:50Z" + } + } + +For more information, see `Create a gateway endpoint `__ in the *AWS PrivateLink User Guide*. + +**Example 2: To create an interface endpoint** + +The following ``create-vpc-endpoint`` example creates an interface VPC endpoint between VPC ``vpc-1a2b3c4d`` and Amazon S3 in the ``us-east-1`` region. The command creates the endpoint in subnet ``subnet-1a2b3c4d``, associates it with security group ``sg-1a2b3c4d``, and adds a tag with a key of "Service" and a Value of "S3". :: + + aws ec2 create-vpc-endpoint \ + --vpc-id vpc-1a2b3c4d \ + --vpc-endpoint-type Interface \ + --service-name com.amazonaws.us-east-1.s3 \ + --subnet-ids subnet-7b16de0c \ + --security-group-id sg-1a2b3c4d \ + --tag-specifications ResourceType=vpc-endpoint,Tags=[{Key=service,Value=S3}] + +Output:: + + { + "VpcEndpoint": { + "VpcEndpointId": "vpce-1a2b3c4d5e6f1a2b3", + "VpcEndpointType": "Interface", + "VpcId": "vpc-1a2b3c4d", + "ServiceName": "com.amazonaws.us-east-1.s3", + "State": "pending", + "RouteTableIds": [], + "SubnetIds": [ + "subnet-1a2b3c4d" + ], + "Groups": [ + { + "GroupId": "sg-1a2b3c4d", + "GroupName": "default" + } + ], + "PrivateDnsEnabled": false, + "RequesterManaged": false, + "NetworkInterfaceIds": [ + "eni-0b16f0581c8ac6877" + ], + "DnsEntries": [ + { + "DnsName": "*.vpce-1a2b3c4d5e6f1a2b3-9hnenorg.s3.us-east-1.vpce.amazonaws.com", + "HostedZoneId": "Z7HUB22UULQXV" + }, + { + "DnsName": "*.vpce-1a2b3c4d5e6f1a2b3-9hnenorg-us-east-1c.s3.us-east-1.vpce.amazonaws.com", + "HostedZoneId": "Z7HUB22UULQXV" + } + ], + "CreationTimestamp": "2021-03-05T14:46:16.030000+00:00", + "Tags": [ + { + "Key": "service", + "Value": "S3" + } + ], + "OwnerId": "123456789012" + } + } + +For more information, see `Create an interface VPC endpoint `__ in the *AWS PrivateLink User Guide*. + +**Example 3: To create a Gateway Load Balancer endpoint** + +The following ``create-vpc-endpoint`` example creates a Gateway Load Balancer endpoint between VPC ``vpc-111122223333aabbc`` and and a service that is configured using a Gateway Load Balancer. :: + + aws ec2 create-vpc-endpoint \ + --service-name com.amazonaws.vpce.us-east-1.vpce-svc-123123a1c43abc123 \ + --vpc-endpoint-type GatewayLoadBalancer \ + --vpc-id vpc-111122223333aabbc \ + --subnet-ids subnet-0011aabbcc2233445 + +Output:: + + { + "VpcEndpoint": { + "VpcEndpointId": "vpce-aabbaabbaabbaabba", + "VpcEndpointType": "GatewayLoadBalancer", + "VpcId": "vpc-111122223333aabbc", + "ServiceName": "com.amazonaws.vpce.us-east-1.vpce-svc-123123a1c43abc123", + "State": "pending", + "SubnetIds": [ + "subnet-0011aabbcc2233445" + ], + "RequesterManaged": false, + "NetworkInterfaceIds": [ + "eni-01010120203030405" + ], + "CreationTimestamp": "2020-11-11T08:06:03.522Z", + "OwnerId": "123456789012" + } + } + +For more information, see `Gateway Load Balancer endpoints `__ in the *AWS PrivateLink User Guide*. + +**Example 4: To create a resource endpoint** + +The following ``create-vpc-endpoint`` example creates a resource endpoint. :: + + aws ec2 create-vpc-endpoint \ + --vpc-endpoint-type Resource \ + --vpc-id vpc-111122223333aabbc \ + --subnet-ids subnet-0011aabbcc2233445 \ + --resource-configuration-arn arn:aws:vpc-lattice-us-east-1:123456789012:resourceconfiguration/rcfg-0123abcde98765432 + +Output:: + + { + "VpcEndpoint": { + "VpcEndpointId": "vpce-00939a7ed9EXAMPLE", + "VpcEndpointType": "Resource", + "VpcId": "vpc-111122223333aabbc", + "State": "Pending", + "SubnetIds": [ + "subnet-0011aabbcc2233445" + ], + "Groups": [ + { + "GroupId": "sg-03e2f15fbfc09b000", + "GroupName": "default" + } + ], + "IpAddressType": "IPV4", + "PrivateDnsEnabled": false, + "CreationTimestamp": "2025-02-06T23:38:49.525000+00:00", + "Tags": [], + "OwnerId": "123456789012", + "ResourceConfigurationArn": "arn:aws:vpc-lattice:us-east-1:123456789012:resourceconfiguration/rcfg-0123abcde98765432" + } + } + +For more information, see `Resource endpoints `__ in the *AWS PrivateLink User Guide*. + +**Example 5: To create a service network endpoint** + +The following ``create-vpc-endpoint`` example creates a service network endpoint. :: + + aws ec2 create-vpc-endpoint \ + --vpc-endpoint-type ServiceNetwork \ + --vpc-id vpc-111122223333aabbc \ + --subnet-ids subnet-0011aabbcc2233445 \ + --service-network-arn arn:aws:vpc-lattice:us-east-1:123456789012:servicenetwork/sn-0101abcd5432abcd0 \ + --security-group-ids sg-0123456789012abcd + +Output:: + + { + "VpcEndpoint": { + "VpcEndpointId": "vpce-0f00567fa8EXAMPLE", + "VpcEndpointType": "ServiceNetwork", + "VpcId": "vpc-111122223333aabbc", + "State": "Pending", + "SubnetIds": [ + "subnet-0011aabbcc2233445" + ], + "Groups": [ + { + "GroupId": "sg-0123456789012abcd", + "GroupName": "my-security-group" + } + ], + "IpAddressType": "IPV4", + "PrivateDnsEnabled": false, + "CreationTimestamp": "2025-02-06T23:44:20.449000+00:00", + "Tags": [], + "OwnerId": "123456789012", + "ServiceNetworkArn": "arn:aws:vpc-lattice:us-east-1:123456789012:servicenetwork/sn-0101abcd5432abcd0" + } + } + +For more information, see `Service network endpoints `__ in the *AWS PrivateLink User Guide*. + diff --git a/awscli/examples/ec2/describe-security-group-vpc-associations.rst b/awscli/examples/ec2/describe-security-group-vpc-associations.rst new file mode 100644 index 000000000000..6efdaea8b978 --- /dev/null +++ b/awscli/examples/ec2/describe-security-group-vpc-associations.rst @@ -0,0 +1,21 @@ +**To describe VPC associations** + +The following ``describe-security-group-vpc-associations`` example describes the VPC associations for the specified security group. :: + + aws ec2 describe-security-group-vpc-associations \ + --filters Name=group-id,Values=sg-04dbb43907d3f8a78 + +Output:: + + { + "SecurityGroupVpcAssociations": [ + { + "GroupId": "sg-04dbb43907d3f8a78", + "VpcId": "vpc-0bf4c2739bc05a694", + "VpcOwnerId": "123456789012", + "State": "associated" + } + ] + } + +For more information, see `Associate security groups with multiple VPCs `__ in the *Amazon VPC User Guide*. diff --git a/awscli/examples/ec2/describe-vpc-endpoint-associations.rst b/awscli/examples/ec2/describe-vpc-endpoint-associations.rst new file mode 100644 index 000000000000..59d98c094e14 --- /dev/null +++ b/awscli/examples/ec2/describe-vpc-endpoint-associations.rst @@ -0,0 +1,24 @@ +**To describe VPC endpoint associations** + +The following ``describe-vpc-endpoint-associations`` example describes your VPC endpoint associations. :: + + aws ec2 describe-vpc-endpoint-associations + +Output:: + + { + "VpcEndpointAssociations": [ + { + "Id": "vpce-rsc-asc-0a810ca6ac8866bf9", + "VpcEndpointId": "vpce-019b90d6f16d4f958", + "AssociatedResourceAccessibility": "Accessible", + "DnsEntry": { + "DnsName": "vpce-019b90d6f16d4f958.rcfg-07129f3acded87625.4232ccc.vpc-lattice-rsc.us-east-2.on.aws", + "HostedZoneId": "Z03265862FOUNWMZOKUF4" + }, + "AssociatedResourceArn": "arn:aws:vpc-lattice:us-east-1:123456789012:resourceconfiguration/rcfg-07129f3acded87625" + } + ] + } + +For more information, see `Manage VPC endpoint associations `__ in the *AWS PrivateLink User Guide*. diff --git a/awscli/examples/ec2/disable-image-deregistration-protection.rst b/awscli/examples/ec2/disable-image-deregistration-protection.rst new file mode 100644 index 000000000000..7a017f3800cd --- /dev/null +++ b/awscli/examples/ec2/disable-image-deregistration-protection.rst @@ -0,0 +1,14 @@ +**To disable deregistration protection** + +The following ``disable-image-deregistration-protection`` example disables deregistration protection for the specified image. :: + + aws ec2 disable-image-deregistration-protection \ + --image-id ami-0b1a928a144a74ec9 + +Output:: + + { + "Return": "disabled" + } + +For more information, see `Protect an AMI from deregistration `__ in the *Amazon EC2 User Guide*. diff --git a/awscli/examples/ec2/disassociate-security-group-vpc.rst b/awscli/examples/ec2/disassociate-security-group-vpc.rst new file mode 100644 index 000000000000..e66494dd2739 --- /dev/null +++ b/awscli/examples/ec2/disassociate-security-group-vpc.rst @@ -0,0 +1,15 @@ +**To disassociate a security group from a VPC** + +The following ``disassociate-security-group-vpc`` example disassociates the specified security group from the specified VPC. :: + + aws ec2 disassociate-security-group-vpc \ + --group-id sg-04dbb43907d3f8a78 \ + --vpc-id vpc-0bf4c2739bc05a694 + +Output:: + + { + "State": "disassociating" + } + +For more information, see `Associate security groups with multiple VPCs `__ in the *Amazon VPC User Guide*. diff --git a/awscli/examples/ec2/enable-image-deregistration-protection.rst b/awscli/examples/ec2/enable-image-deregistration-protection.rst new file mode 100644 index 000000000000..66874f881f92 --- /dev/null +++ b/awscli/examples/ec2/enable-image-deregistration-protection.rst @@ -0,0 +1,14 @@ +**To enable deregistration protection** + +The following ``enable-image-deregistration-protection`` example enables deregistration protection for the specified image. :: + + aws ec2 enable-image-deregistration-protection \ + --image-id ami-0b1a928a144a74ec9 + +Output:: + + { + "Return": "enabled-without-cooldown" + } + +For more information, see `Protect an EC2 AMI from deregistration `__ in the *Amazon EC2 User Guide*. diff --git a/awscli/examples/vpc-lattice/create-resource-configuration.rst b/awscli/examples/vpc-lattice/create-resource-configuration.rst new file mode 100644 index 000000000000..91d4ed581372 --- /dev/null +++ b/awscli/examples/vpc-lattice/create-resource-configuration.rst @@ -0,0 +1,32 @@ +**To create a resource configuration** + +The following ``create-resource-configuration`` example creates a resource configuration that specifies a single IPv4 address. :: + + aws vpc-lattice create-resource-configuration \ + --name my-resource-config \ + --type SINGLE \ + --resource-gateway-identifier rgw-0bba03f3d56060135 \ + --resource-configuration-definition 'ipResource={ipAddress=10.0.14.85}' + +Output:: + + { + "allowAssociationToShareableServiceNetwork": true, + "arn": "arn:aws:vpc-lattice:us-east-1:123456789012:resourceconfiguration/rcfg-07129f3acded87625", + "id": "rcfg-07129f3acded87625", + "name": "my-resource-config", + "portRanges": [ + "1-65535" + ], + "protocol": "TCP", + "resourceConfigurationDefinition": { + "ipResource": { + "ipAddress": "10.0.14.85" + } + }, + "resourceGatewayId": "rgw-0bba03f3d56060135", + "status": "ACTIVE", + "type": "SINGLE" + } + +For more information, see `Resource configurations for VPC resources `__ in the *Amazon VPC Lattice User Guide*. diff --git a/awscli/examples/vpc-lattice/create-resource-gateway.rst b/awscli/examples/vpc-lattice/create-resource-gateway.rst new file mode 100644 index 000000000000..0b34009bdeea --- /dev/null +++ b/awscli/examples/vpc-lattice/create-resource-gateway.rst @@ -0,0 +1,27 @@ +**To create a resource gateway** + +The following ``create-resource-gateway`` example creates a resource gateway for the specified subnet. :: + + aws vpc-lattice create-resource-gateway \ + --name my-resource-gateway \ + --vpc-identifier vpc-0bf4c2739bc05a69 \ + --subnet-ids subnet-08e8943905b63a683 + +Output:: + + { + "arn": "arn:aws:vpc-lattice:us-east-1:123456789012:resourcegateway/rgw-0bba03f3d56060135", + "id": "rgw-0bba03f3d56060135", + "ipAddressType": "IPV4", + "name": "my-resource-gateway", + "securityGroupIds": [ + "sg-087ffd596c5fe962c" + ], + "status": "ACTIVE", + "subnetIds": [ + "subnet-08e8943905b63a683" + ], + "vpcIdentifier": "vpc-0bf4c2739bc05a694" + } + +For more information, see `Resource gateways in VPC Lattice `__ in the *Amazon VPC Lattice User Guide*. diff --git a/awscli/examples/vpc-lattice/delete-resource-configuration.rst b/awscli/examples/vpc-lattice/delete-resource-configuration.rst new file mode 100644 index 000000000000..15c185f4ccce --- /dev/null +++ b/awscli/examples/vpc-lattice/delete-resource-configuration.rst @@ -0,0 +1,10 @@ +**To delete a resource configuration** + +The following ``delete-resource-configuration`` example deletes the specified resource configuration. :: + + aws vpc-lattice delete-resource-configuration \ + --resource-configuration-identifier rcfg-07129f3acded87625 + +This command produces no output. + +For more information, see `Resource gateways in VPC Lattice `__ in the *Amazon VPC Lattice User Guide*. diff --git a/awscli/examples/vpc-lattice/delete-resource-gateway.rst b/awscli/examples/vpc-lattice/delete-resource-gateway.rst new file mode 100644 index 000000000000..d571497ed99c --- /dev/null +++ b/awscli/examples/vpc-lattice/delete-resource-gateway.rst @@ -0,0 +1,17 @@ +**To delete a resource gateway** + +The following ``delete-resource-gateway`` example deletes the specified resource gateway. :: + + aws vpc-lattice delete-resource-gateway \ + --resource-gateway-identifier rgw-0bba03f3d56060135 + +Output:: + + { + "arn": "arn:aws:vpc-lattice:us-east-1:123456789012:resourcegateway/rgw-0bba03f3d56060135", + "id": "rgw-0bba03f3d56060135", + "name": "my-resource-gateway", + "status": "DELETE_IN_PROGRESS" + } + +For more information, see `Resource gateways in VPC Lattice `__ in the *Amazon VPC Lattice User Guide*. diff --git a/awscli/examples/vpc-lattice/get-resource-configuration.rst b/awscli/examples/vpc-lattice/get-resource-configuration.rst new file mode 100644 index 000000000000..419c92735682 --- /dev/null +++ b/awscli/examples/vpc-lattice/get-resource-configuration.rst @@ -0,0 +1,32 @@ +**To get information about a resource configuration** + +The following ``get-resource-configuration`` example gets information about the specified resource configuration. :: + + aws vpc-lattice get-resource-configuration \ + --resource-configuration-identifier rcfg-07129f3acded87625 + +Output:: + + { + "allowAssociationToShareableServiceNetwork": true, + "amazonManaged": false, + "arn": "arn:aws:vpc-lattice:us-east-1:123456789012:resourceconfiguration/rcfg-07129f3acded87625", + "createdAt": "2025-02-01T00:57:35.871000+00:00", + "id": "rcfg-07129f3acded87625", + "lastUpdatedAt": "2025-02-01T00:57:46.874000+00:00", + "name": "my-resource-config", + "portRanges": [ + "1-65535" + ], + "protocol": "TCP", + "resourceConfigurationDefinition": { + "ipResource": { + "ipAddress": "10.0.14.85" + } + }, + "resourceGatewayId": "rgw-0bba03f3d56060135", + "status": "ACTIVE", + "type": "SINGLE" + } + +For more information, see `Resource gateways in VPC Lattice `__ in the *Amazon VPC Lattice User Guide*. diff --git a/awscli/examples/vpc-lattice/get-resource-gateway.rst b/awscli/examples/vpc-lattice/get-resource-gateway.rst new file mode 100644 index 000000000000..2bf7adc24766 --- /dev/null +++ b/awscli/examples/vpc-lattice/get-resource-gateway.rst @@ -0,0 +1,27 @@ +**To get information about a resource gateway** + +The following ``get-resource-gateway`` example gets information about the specified resource gateway. :: + + aws vpc-lattice get-resource-gateway \ + --resource-gateway-identifier rgw-0bba03f3d56060135 + +Output:: + + { + "arn": "arn:aws:vpc-lattice:us-east-1:123456789012:resourcegateway/rgw-0bba03f3d56060135", + "createdAt": "2025-02-01T00:57:33.241000+00:00", + "id": "rgw-0bba03f3d56060135", + "ipAddressType": "IPV4", + "lastUpdatedAt": "2025-02-01T00:57:44.351000+00:00", + "name": "my-resource-gateway", + "securityGroupIds": [ + "sg-087ffd596c5fe962c" + ], + "status": "ACTIVE", + "subnetIds": [ + "subnet-08e8943905b63a683" + ], + "vpcId": "vpc-0bf4c2739bc05a694" + } + +For more information, see `Resource gateways in VPC Lattice `__ in the *Amazon VPC Lattice User Guide*. diff --git a/awscli/examples/vpc-lattice/list-resource-configurations.rst b/awscli/examples/vpc-lattice/list-resource-configurations.rst new file mode 100644 index 000000000000..3f0c816befee --- /dev/null +++ b/awscli/examples/vpc-lattice/list-resource-configurations.rst @@ -0,0 +1,25 @@ +**To list your resource configurations** + +The following ``list-resource-configurations`` example lists your resource configurations. :: + + aws vpc-lattice list-resource-configurations + +Output:: + + { + "items": [ + { + "amazonManaged": false, + "arn": "arn:aws:vpc-lattice:us-east-1:123456789012:resourceconfiguration/rcfg-07129f3acded87625", + "createdAt": "2025-02-01T00:57:35.871000+00:00", + "id": "rcfg-07129f3acded87625", + "lastUpdatedAt": "2025-02-01T00:57:46.874000+00:00", + "name": "my-resource-config", + "resourceGatewayId": "rgw-0bba03f3d56060135", + "status": "ACTIVE", + "type": "SINGLE" + } + ] + } + +For more information, see `Resource configurations `__ in the *Amazon VPC Lattice User Guide*. diff --git a/awscli/examples/vpc-lattice/list-resource-endpoint-associations.rst b/awscli/examples/vpc-lattice/list-resource-endpoint-associations.rst new file mode 100644 index 000000000000..2984fd582d80 --- /dev/null +++ b/awscli/examples/vpc-lattice/list-resource-endpoint-associations.rst @@ -0,0 +1,24 @@ +**To list the VPC endpoint associations** + +The following ``list-resource-endpoint-associations`` example lists the VPC endpoints associated with the specified resource configuration. :: + + aws vpc-lattice list-resource-endpoint-associations \ + --resource-configuration-identifier rcfg-07129f3acded87625 + +Output:: + + { + "items": [ + { + "arn": "arn:aws:vpc-lattice:us-east-1:123456789012:resourceendpointassociation/rea-0956a7435baf89326", + "createdAt": "2025-02-01T00:57:38.998000+00:00", + "id": "rea-0956a7435baf89326", + "resourceConfigurationArn": "arn:aws:vpc-lattice:us-east-1:123456789012:resourceconfiguration/rcfg-07129f3acded87625", + "resourceConfigurationId": "rcfg-07129f3acded87625", + "vpcEndpointId": "vpce-019b90d6f16d4f958", + "vpcEndpointOwner": "123456789012" + } + ] + } + +For more information, see `Manage associations for a VPC Lattice resource configuration `__ in the *Amazon VPC Lattice User Guide*. diff --git a/awscli/examples/vpc-lattice/list-resource-gateways.rst b/awscli/examples/vpc-lattice/list-resource-gateways.rst new file mode 100644 index 000000000000..75566a51c2d1 --- /dev/null +++ b/awscli/examples/vpc-lattice/list-resource-gateways.rst @@ -0,0 +1,30 @@ +**To list your resource gateways** + +The following ``list-resource-gateways`` example lists your resource gateways. :: + + aws vpc-lattice list-resource-gateways + +Output:: + + { + "items": [ + { + "arn": "arn:aws:vpc-lattice:us-east-1:123456789012:resourcegateway/rgw-0bba03f3d56060135", + "createdAt": "2025-02-01T00:57:33.241000+00:00", + "id": "rgw-0bba03f3d56060135", + "ipAddressType": "IPV4", + "lastUpdatedAt": "2025-02-01T00:57:44.351000+00:00", + "name": "my-resource-gateway", + "seurityGroupIds": [ + "sg-087ffd596c5fe962c" + ], + "status": "ACTIVE", + "subnetIds": [ + "subnet-08e8943905b63a683" + ], + "vpcIdentifier": "vpc-0bf4c2739bc05a694" + } + ] + } + +For more information, see `Resource gateways in VPC Lattice `__ in the *Amazon VPC Lattice User Guide*. diff --git a/awscli/examples/vpc-lattice/list-service-network-vpc-endpoint-associations.rst b/awscli/examples/vpc-lattice/list-service-network-vpc-endpoint-associations.rst new file mode 100644 index 000000000000..272eb6265b9f --- /dev/null +++ b/awscli/examples/vpc-lattice/list-service-network-vpc-endpoint-associations.rst @@ -0,0 +1,22 @@ +**To list the VPC endpoint associations** + +The following ``list-service-network-vpc-endpoint-associations`` example lists the VPC endpoints associated with the specific service network. :: + + aws vpc-lattice list-service-network-vpc-endpoint-associations \ + --service-network-identifier sn-0808d1748faee0c1e + +Output:: + + { + "items": [ + { + "createdAt": "2025-02-01T01:21:36.667000+00:00", + "serviceNetworkArn": "arn:aws:vpc-lattice:us-east-1:123456789012:servicenetwork/sn-0808d1748faee0c1e", + "state": "ACTIVE", + "vpcEndpointId": "vpce-0cc199f605eaeace7", + "vpcEndpointOwnerId": "123456789012" + } + ] + } + +For more information, see `Manage the associations for a VPC Lattice service network `__ in the *Amazon VPC Lattice User Guide*. From e9cfbcfe12bd40859c6dfb7bf74092ad30693da0 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 14 Mar 2025 18:00:56 +0000 Subject: [PATCH 0511/1087] Update changelog based on model updates --- .changes/next-release/api-change-cognitoidentity-74382.json | 5 +++++ .changes/next-release/api-change-cognitoidp-89981.json | 5 +++++ .changes/next-release/api-change-glue-13505.json | 5 +++++ .changes/next-release/api-change-lakeformation-82382.json | 5 +++++ 4 files changed, 20 insertions(+) create mode 100644 .changes/next-release/api-change-cognitoidentity-74382.json create mode 100644 .changes/next-release/api-change-cognitoidp-89981.json create mode 100644 .changes/next-release/api-change-glue-13505.json create mode 100644 .changes/next-release/api-change-lakeformation-82382.json diff --git a/.changes/next-release/api-change-cognitoidentity-74382.json b/.changes/next-release/api-change-cognitoidentity-74382.json new file mode 100644 index 000000000000..c456c569afc5 --- /dev/null +++ b/.changes/next-release/api-change-cognitoidentity-74382.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``cognito-identity``", + "description": "Updated API model build artifacts for identity pools" +} diff --git a/.changes/next-release/api-change-cognitoidp-89981.json b/.changes/next-release/api-change-cognitoidp-89981.json new file mode 100644 index 000000000000..c87c68786bae --- /dev/null +++ b/.changes/next-release/api-change-cognitoidp-89981.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``cognito-idp``", + "description": "Minor description updates to API parameters" +} diff --git a/.changes/next-release/api-change-glue-13505.json b/.changes/next-release/api-change-glue-13505.json new file mode 100644 index 000000000000..c63e0f9428b3 --- /dev/null +++ b/.changes/next-release/api-change-glue-13505.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``glue``", + "description": "This release added AllowFullTableExternalDataAccess to glue catalog resource." +} diff --git a/.changes/next-release/api-change-lakeformation-82382.json b/.changes/next-release/api-change-lakeformation-82382.json new file mode 100644 index 000000000000..b35b5f62ba95 --- /dev/null +++ b/.changes/next-release/api-change-lakeformation-82382.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``lakeformation``", + "description": "This release added \"condition\" to LakeFormation OptIn APIs, also added WithPrivilegedAccess flag to RegisterResource and DescribeResource." +} From 16ebe1b4b05d680f38c8933680cb54efd8f75cfd Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 14 Mar 2025 18:02:30 +0000 Subject: [PATCH 0512/1087] Bumping version to 1.38.13 --- .changes/1.38.13.json | 22 +++++++++++++++++++ .../api-change-cognitoidentity-74382.json | 5 ----- .../api-change-cognitoidp-89981.json | 5 ----- .../next-release/api-change-glue-13505.json | 5 ----- .../api-change-lakeformation-82382.json | 5 ----- CHANGELOG.rst | 9 ++++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 10 files changed, 35 insertions(+), 24 deletions(-) create mode 100644 .changes/1.38.13.json delete mode 100644 .changes/next-release/api-change-cognitoidentity-74382.json delete mode 100644 .changes/next-release/api-change-cognitoidp-89981.json delete mode 100644 .changes/next-release/api-change-glue-13505.json delete mode 100644 .changes/next-release/api-change-lakeformation-82382.json diff --git a/.changes/1.38.13.json b/.changes/1.38.13.json new file mode 100644 index 000000000000..c58ff5ddb0ce --- /dev/null +++ b/.changes/1.38.13.json @@ -0,0 +1,22 @@ +[ + { + "category": "``cognito-identity``", + "description": "Updated API model build artifacts for identity pools", + "type": "api-change" + }, + { + "category": "``cognito-idp``", + "description": "Minor description updates to API parameters", + "type": "api-change" + }, + { + "category": "``glue``", + "description": "This release added AllowFullTableExternalDataAccess to glue catalog resource.", + "type": "api-change" + }, + { + "category": "``lakeformation``", + "description": "This release added \"condition\" to LakeFormation OptIn APIs, also added WithPrivilegedAccess flag to RegisterResource and DescribeResource.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-cognitoidentity-74382.json b/.changes/next-release/api-change-cognitoidentity-74382.json deleted file mode 100644 index c456c569afc5..000000000000 --- a/.changes/next-release/api-change-cognitoidentity-74382.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``cognito-identity``", - "description": "Updated API model build artifacts for identity pools" -} diff --git a/.changes/next-release/api-change-cognitoidp-89981.json b/.changes/next-release/api-change-cognitoidp-89981.json deleted file mode 100644 index c87c68786bae..000000000000 --- a/.changes/next-release/api-change-cognitoidp-89981.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``cognito-idp``", - "description": "Minor description updates to API parameters" -} diff --git a/.changes/next-release/api-change-glue-13505.json b/.changes/next-release/api-change-glue-13505.json deleted file mode 100644 index c63e0f9428b3..000000000000 --- a/.changes/next-release/api-change-glue-13505.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``glue``", - "description": "This release added AllowFullTableExternalDataAccess to glue catalog resource." -} diff --git a/.changes/next-release/api-change-lakeformation-82382.json b/.changes/next-release/api-change-lakeformation-82382.json deleted file mode 100644 index b35b5f62ba95..000000000000 --- a/.changes/next-release/api-change-lakeformation-82382.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``lakeformation``", - "description": "This release added \"condition\" to LakeFormation OptIn APIs, also added WithPrivilegedAccess flag to RegisterResource and DescribeResource." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 21f5e66d94fe..2499c515dc5c 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,15 @@ CHANGELOG ========= +1.38.13 +======= + +* api-change:``cognito-identity``: Updated API model build artifacts for identity pools +* api-change:``cognito-idp``: Minor description updates to API parameters +* api-change:``glue``: This release added AllowFullTableExternalDataAccess to glue catalog resource. +* api-change:``lakeformation``: This release added "condition" to LakeFormation OptIn APIs, also added WithPrivilegedAccess flag to RegisterResource and DescribeResource. + + 1.38.12 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index b5b56e6111d4..c6766ac7be8e 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.38.12' +__version__ = '1.38.13' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index c712d4b77e67..4759f5ec6cf7 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.38.' # The full version, including alpha/beta/rc tags. -release = '1.38.12' +release = '1.38.13' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index eb80c93bd42c..d00eb9fc372c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.37.12 + botocore==1.37.13 docutils>=0.10,<0.17 s3transfer>=0.11.0,<0.12.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 474ffc5d9038..a1a95409aa1d 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.37.12', + 'botocore==1.37.13', 'docutils>=0.10,<0.17', 's3transfer>=0.11.0,<0.12.0', 'PyYAML>=3.10,<6.1', From 4e521e242e0864b7adae182169b22b916e68e69e Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 17 Mar 2025 18:17:49 +0000 Subject: [PATCH 0513/1087] Update changelog based on model updates --- .../next-release/api-change-applicationsignals-63006.json | 5 +++++ .changes/next-release/api-change-geomaps-16570.json | 5 +++++ .changes/next-release/api-change-rum-28990.json | 5 +++++ .changes/next-release/api-change-taxsettings-51141.json | 5 +++++ .changes/next-release/api-change-wafv2-71396.json | 5 +++++ 5 files changed, 25 insertions(+) create mode 100644 .changes/next-release/api-change-applicationsignals-63006.json create mode 100644 .changes/next-release/api-change-geomaps-16570.json create mode 100644 .changes/next-release/api-change-rum-28990.json create mode 100644 .changes/next-release/api-change-taxsettings-51141.json create mode 100644 .changes/next-release/api-change-wafv2-71396.json diff --git a/.changes/next-release/api-change-applicationsignals-63006.json b/.changes/next-release/api-change-applicationsignals-63006.json new file mode 100644 index 000000000000..c95adddaf3ae --- /dev/null +++ b/.changes/next-release/api-change-applicationsignals-63006.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``application-signals``", + "description": "This release adds support for adding, removing, and listing SLO time exclusion windows with the BatchUpdateExclusionWindows and ListServiceLevelObjectiveExclusionWindows APIs." +} diff --git a/.changes/next-release/api-change-geomaps-16570.json b/.changes/next-release/api-change-geomaps-16570.json new file mode 100644 index 000000000000..6949c91c995c --- /dev/null +++ b/.changes/next-release/api-change-geomaps-16570.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``geo-maps``", + "description": "Provide support for vector map styles in the GetStaticMap operation." +} diff --git a/.changes/next-release/api-change-rum-28990.json b/.changes/next-release/api-change-rum-28990.json new file mode 100644 index 000000000000..adfb63d6dafd --- /dev/null +++ b/.changes/next-release/api-change-rum-28990.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``rum``", + "description": "CloudWatch RUM now supports unminification of JS error stack traces." +} diff --git a/.changes/next-release/api-change-taxsettings-51141.json b/.changes/next-release/api-change-taxsettings-51141.json new file mode 100644 index 000000000000..d7a830c6f24a --- /dev/null +++ b/.changes/next-release/api-change-taxsettings-51141.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``taxsettings``", + "description": "Adjust Vietnam PaymentVoucherNumber regex and minor API change." +} diff --git a/.changes/next-release/api-change-wafv2-71396.json b/.changes/next-release/api-change-wafv2-71396.json new file mode 100644 index 000000000000..799196335c2d --- /dev/null +++ b/.changes/next-release/api-change-wafv2-71396.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``wafv2``", + "description": "AWS WAF now lets you inspect fragments of request URIs. You can specify the scope of the URI to inspect and narrow the set of URI fragments." +} From 55c05370cda5a6436498927de9fb79dbb72e1243 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 17 Mar 2025 18:19:13 +0000 Subject: [PATCH 0514/1087] Bumping version to 1.38.14 --- .changes/1.38.14.json | 27 +++++++++++++++++++ .../api-change-applicationsignals-63006.json | 5 ---- .../api-change-geomaps-16570.json | 5 ---- .../next-release/api-change-rum-28990.json | 5 ---- .../api-change-taxsettings-51141.json | 5 ---- .../next-release/api-change-wafv2-71396.json | 5 ---- CHANGELOG.rst | 10 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 11 files changed, 41 insertions(+), 29 deletions(-) create mode 100644 .changes/1.38.14.json delete mode 100644 .changes/next-release/api-change-applicationsignals-63006.json delete mode 100644 .changes/next-release/api-change-geomaps-16570.json delete mode 100644 .changes/next-release/api-change-rum-28990.json delete mode 100644 .changes/next-release/api-change-taxsettings-51141.json delete mode 100644 .changes/next-release/api-change-wafv2-71396.json diff --git a/.changes/1.38.14.json b/.changes/1.38.14.json new file mode 100644 index 000000000000..c19fe6136728 --- /dev/null +++ b/.changes/1.38.14.json @@ -0,0 +1,27 @@ +[ + { + "category": "``application-signals``", + "description": "This release adds support for adding, removing, and listing SLO time exclusion windows with the BatchUpdateExclusionWindows and ListServiceLevelObjectiveExclusionWindows APIs.", + "type": "api-change" + }, + { + "category": "``geo-maps``", + "description": "Provide support for vector map styles in the GetStaticMap operation.", + "type": "api-change" + }, + { + "category": "``rum``", + "description": "CloudWatch RUM now supports unminification of JS error stack traces.", + "type": "api-change" + }, + { + "category": "``taxsettings``", + "description": "Adjust Vietnam PaymentVoucherNumber regex and minor API change.", + "type": "api-change" + }, + { + "category": "``wafv2``", + "description": "AWS WAF now lets you inspect fragments of request URIs. You can specify the scope of the URI to inspect and narrow the set of URI fragments.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-applicationsignals-63006.json b/.changes/next-release/api-change-applicationsignals-63006.json deleted file mode 100644 index c95adddaf3ae..000000000000 --- a/.changes/next-release/api-change-applicationsignals-63006.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``application-signals``", - "description": "This release adds support for adding, removing, and listing SLO time exclusion windows with the BatchUpdateExclusionWindows and ListServiceLevelObjectiveExclusionWindows APIs." -} diff --git a/.changes/next-release/api-change-geomaps-16570.json b/.changes/next-release/api-change-geomaps-16570.json deleted file mode 100644 index 6949c91c995c..000000000000 --- a/.changes/next-release/api-change-geomaps-16570.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``geo-maps``", - "description": "Provide support for vector map styles in the GetStaticMap operation." -} diff --git a/.changes/next-release/api-change-rum-28990.json b/.changes/next-release/api-change-rum-28990.json deleted file mode 100644 index adfb63d6dafd..000000000000 --- a/.changes/next-release/api-change-rum-28990.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``rum``", - "description": "CloudWatch RUM now supports unminification of JS error stack traces." -} diff --git a/.changes/next-release/api-change-taxsettings-51141.json b/.changes/next-release/api-change-taxsettings-51141.json deleted file mode 100644 index d7a830c6f24a..000000000000 --- a/.changes/next-release/api-change-taxsettings-51141.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``taxsettings``", - "description": "Adjust Vietnam PaymentVoucherNumber regex and minor API change." -} diff --git a/.changes/next-release/api-change-wafv2-71396.json b/.changes/next-release/api-change-wafv2-71396.json deleted file mode 100644 index 799196335c2d..000000000000 --- a/.changes/next-release/api-change-wafv2-71396.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``wafv2``", - "description": "AWS WAF now lets you inspect fragments of request URIs. You can specify the scope of the URI to inspect and narrow the set of URI fragments." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 2499c515dc5c..c6ffa07e5b54 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,16 @@ CHANGELOG ========= +1.38.14 +======= + +* api-change:``application-signals``: This release adds support for adding, removing, and listing SLO time exclusion windows with the BatchUpdateExclusionWindows and ListServiceLevelObjectiveExclusionWindows APIs. +* api-change:``geo-maps``: Provide support for vector map styles in the GetStaticMap operation. +* api-change:``rum``: CloudWatch RUM now supports unminification of JS error stack traces. +* api-change:``taxsettings``: Adjust Vietnam PaymentVoucherNumber regex and minor API change. +* api-change:``wafv2``: AWS WAF now lets you inspect fragments of request URIs. You can specify the scope of the URI to inspect and narrow the set of URI fragments. + + 1.38.13 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index c6766ac7be8e..a843b2ee4713 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.38.13' +__version__ = '1.38.14' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 4759f5ec6cf7..b94c89731387 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.38.' # The full version, including alpha/beta/rc tags. -release = '1.38.13' +release = '1.38.14' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index d00eb9fc372c..eb36fb6b74d4 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.37.13 + botocore==1.37.14 docutils>=0.10,<0.17 s3transfer>=0.11.0,<0.12.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index a1a95409aa1d..2c44ce919ccf 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.37.13', + 'botocore==1.37.14', 'docutils>=0.10,<0.17', 's3transfer>=0.11.0,<0.12.0', 'PyYAML>=3.10,<6.1', From 6aa8bb05b74aab10b039a89ba3ae93abeb7f4965 Mon Sep 17 00:00:00 2001 From: Nate Prewitt Date: Tue, 18 Mar 2025 07:27:36 -0700 Subject: [PATCH 0515/1087] Add 3.8 deprecation date (#9378) --- README.rst | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/README.rst b/README.rst index 709b1a7f1df3..7daa93606f72 100644 --- a/README.rst +++ b/README.rst @@ -35,13 +35,9 @@ The aws-cli package works on Python versions: Notices ~~~~~~~ -On 2022-05-30, support for Python 3.6 was ended. This follows the -Python Software Foundation `end of support `__ -for the runtime which occurred on 2021-12-23. - -On 2023-12-13, support for Python 3.7 was ended. This follows the -Python Software Foundation `end of support `__ -for the runtime which occurred on 2023-06-27. +On 2025-04-22, support for Python 3.8 will end for the AWS CLI. This follows the +Python Software Foundation `end of support `__ +for the runtime which occurred on 2024-10-07. For more information, see this `blog post `__. *Attention!* From 5f07db17488b9cc5ef04b5b751d4cac8f71e1a8c Mon Sep 17 00:00:00 2001 From: Elysa Hall Date: Thu, 27 Feb 2025 22:49:46 +0000 Subject: [PATCH 0516/1087] CLI examples ecs, servicediscovery --- awscli/examples/ecs/create-service.rst | 161 +++++- awscli/examples/ecs/run-task.rst | 129 ++++- awscli/examples/ecs/start-task.rst | 136 ++++- awscli/examples/ecs/update-service.rst | 524 +++++++++++++++++- .../create-http-namespace.rst | 17 + .../create-public-dns-namespace.rst | 18 + .../delete-service-attributes.rst | 11 + .../discover-instances-revision.rst | 15 + .../servicediscovery/discover-instances.rst | 1 + .../servicediscovery/get-instance.rst | 24 + .../get-instances-health-status.rst | 17 + .../servicediscovery/get-namespace.rst | 28 + .../servicediscovery/get-operation.rst | 3 +- .../get-service-attributes.rst | 19 + .../examples/servicediscovery/get-service.rst | 23 + .../servicediscovery/list-operations.rst | 29 + .../list-tags-for-resource.rst | 23 + .../servicediscovery/tag-resource.rst | 11 + .../servicediscovery/untag-resource.rst | 11 + .../update-http-namespace.rst | 18 + .../update-instance-custom-health-status.rst | 12 + .../update-private-dns-namespace.rst | 18 + .../update-public-dns-namespace.rst | 18 + .../update-service-attributes.rst | 11 + .../servicediscovery/update-service.rst | 17 + 25 files changed, 1264 insertions(+), 30 deletions(-) create mode 100644 awscli/examples/servicediscovery/create-http-namespace.rst create mode 100644 awscli/examples/servicediscovery/create-public-dns-namespace.rst create mode 100644 awscli/examples/servicediscovery/delete-service-attributes.rst create mode 100644 awscli/examples/servicediscovery/discover-instances-revision.rst create mode 100644 awscli/examples/servicediscovery/get-instance.rst create mode 100644 awscli/examples/servicediscovery/get-instances-health-status.rst create mode 100644 awscli/examples/servicediscovery/get-namespace.rst create mode 100644 awscli/examples/servicediscovery/get-service-attributes.rst create mode 100644 awscli/examples/servicediscovery/get-service.rst create mode 100644 awscli/examples/servicediscovery/list-operations.rst create mode 100644 awscli/examples/servicediscovery/list-tags-for-resource.rst create mode 100644 awscli/examples/servicediscovery/tag-resource.rst create mode 100644 awscli/examples/servicediscovery/untag-resource.rst create mode 100644 awscli/examples/servicediscovery/update-http-namespace.rst create mode 100644 awscli/examples/servicediscovery/update-instance-custom-health-status.rst create mode 100644 awscli/examples/servicediscovery/update-private-dns-namespace.rst create mode 100644 awscli/examples/servicediscovery/update-public-dns-namespace.rst create mode 100644 awscli/examples/servicediscovery/update-service-attributes.rst create mode 100644 awscli/examples/servicediscovery/update-service.rst diff --git a/awscli/examples/ecs/create-service.rst b/awscli/examples/ecs/create-service.rst index b6c1997dd55f..5ac1aff6e95f 100644 --- a/awscli/examples/ecs/create-service.rst +++ b/awscli/examples/ecs/create-service.rst @@ -9,7 +9,7 @@ The following ``create-service`` example shows how to create a service using a F --desired-count 2 \ --launch-type FARGATE \ --platform-version LATEST \ - --network-configuration "awsvpcConfiguration={subnets=[subnet-12344321],securityGroups=[sg-12344321],assignPublicIp=ENABLED}" \ + --network-configuration 'awsvpcConfiguration={subnets=[subnet-12344321],securityGroups=[sg-12344321],assignPublicIp=ENABLED}' \ --tags key=key1,value=value1 key=key2,value=value2 key=key3,value=value3 Output:: @@ -93,6 +93,8 @@ Output:: } } +For more information, see `Creating a Service `__ in the *Amazon ECS Developer Guide*. + **Example 2: To create a service using the EC2 launch type** The following ``create-service`` example shows how to create a service called ``ecs-simple-service`` with a task that uses the EC2 launch type. The service uses the ``sleep360`` task definition and it maintains 1 instantiation of the task. :: @@ -145,6 +147,8 @@ Output:: } } +For more information, see `Creating a Service `__ in the *Amazon ECS Developer Guide*. + **Example 3: To create a service that uses an external deployment controller** The following ``create-service`` example creates a service that uses an external deployment controller. :: @@ -189,11 +193,20 @@ Output:: } } +For more information, see `Creating a Service `__ in the *Amazon ECS Developer Guide*. + **Example 4: To create a new service behind a load balancer** -The following ``create-service`` example shows how to create a service that is behind a load balancer. You must have a load balancer configured in the same Region as your container instance. This example uses the ``--cli-input-json`` option and a JSON input file called ``ecs-simple-service-elb.json`` with the following content:: +The following ``create-service`` example shows how to create a service that is behind a load balancer. You must have a load balancer configured in the same Region as your container instance. This example uses the ``--cli-input-json`` option and a JSON input file called ``ecs-simple-service-elb.json`` with the following content. :: - { + aws ecs create-service \ + --cluster MyCluster \ + --service-name ecs-simple-service-elb \ + --cli-input-json file://ecs-simple-service-elb.json + +Contents of ``ecs-simple-service-elb.json``:: + + { "serviceName": "ecs-simple-service-elb", "taskDefinition": "ecs-demo", "loadBalancers": [ @@ -207,13 +220,6 @@ The following ``create-service`` example shows how to create a service that is b "role": "ecsServiceRole" } -Command:: - - aws ecs create-service \ - --cluster MyCluster \ - --service-name ecs-simple-service-elb \ - --cli-input-json file://ecs-simple-service-elb.json - Output:: { @@ -231,7 +237,7 @@ Output:: "roleArn": "arn:aws:iam::123456789012:role/ecsServiceRole", "desiredCount": 10, "serviceName": "ecs-simple-service-elb", - "clusterArn": "arn:aws:ecs:`_ in the *Amazon ECS Developer Guide*. \ No newline at end of file +For more information, see `Use load balancing to distribute Amazon ECS service traffic `__ in the *Amazon ECS Developer Guide*. + +**Example 5: To configure Amazon EBS volumes at service creation** + +The following ``create-service`` example shows how to configure Amazon EBS volumes for each task managed by the service. You must have an Amazon ECS infrastructure role configured with the ``AmazonECSInfrastructureRolePolicyForVolumes`` managed policy attached. You must specify a task definition with the same volume name as in the ``create-service`` request. This example uses the ``--cli-input-json`` option and a JSON input file called ``ecs-simple-service-ebs.json`` with the following content. :: + + aws ecs create-service \ + --cli-input-json file://ecs-simple-service-ebs.json + +Contents of ``ecs-simple-service-ebs.json``:: + + { + "cluster": "mycluster", + "taskDefinition": "mytaskdef", + "serviceName": "ecs-simple-service-ebs", + "desiredCount": 2, + "launchType": "FARGATE", + "networkConfiguration":{ + "awsvpcConfiguration":{ + "assignPublicIp": "ENABLED", + "securityGroups": ["sg-12344321"], + "subnets":["subnet-12344321"] + } + }, + "volumeConfigurations": [ + { + "name": "myEbsVolume", + "managedEBSVolume": { + "roleArn":"arn:aws:iam::123456789012:role/ecsInfrastructureRole", + "volumeType": "gp3", + "sizeInGiB": 100, + "iops": 3000, + "throughput": 125, + "filesystemType": "ext4" + } + } + ] + } + +Output:: + + { + "service": { + "serviceArn": "arn:aws:ecs:us-west-2:123456789012:service/mycluster/ecs-simple-service-ebs", + "serviceName": "ecs-simple-service-ebs", + "clusterArn": "arn:aws:ecs:us-west-2:123456789012:cluster/mycluster", + "loadBalancers": [], + "serviceRegistries": [], + "status": "ACTIVE", + "desiredCount": 2, + "runningCount": 0, + "pendingCount": 0, + "launchType": "EC2", + "taskDefinition": "arn:aws:ecs:us-west-2:123456789012:task-definition/mytaskdef:3", + "deploymentConfiguration": { + "deploymentCircuitBreaker": { + "enable": false, + "rollback": false + }, + "maximumPercent": 200, + "minimumHealthyPercent": 100 + }, + "deployments": [ + { + "id": "ecs-svc/7851020056849183687", + "status": "PRIMARY", + "taskDefinition": "arn:aws:ecs:us-west-2:123456789012:task-definition/mytaskdef:3", + "desiredCount": 0, + "pendingCount": 0, + "runningCount": 0, + "failedTasks": 0, + "createdAt": "2025-01-21T11:32:38.034000-06:00", + "updatedAt": "2025-01-21T11:32:38.034000-06:00", + "launchType": "EC2", + "networkConfiguration": { + "awsvpcConfiguration": { + "subnets": [ + "subnet-12344321" + ], + "securityGroups": [ + "sg-12344321" + ], + "assignPublicIp": "DISABLED" + } + }, + "rolloutState": "IN_PROGRESS", + "rolloutStateReason": "ECS deployment ecs-svc/7851020056849183687 in progress.", + "volumeConfigurations": [ + { + "name": "myEBSVolume", + "managedEBSVolume": { + "volumeType": "gp3", + "sizeInGiB": 100, + "iops": 3000, + "throughput": 125, + "roleArn": "arn:aws:iam::123456789012:role/ecsInfrastructureRole", + "filesystemType": "ext4" + } + } + ] + } + ], + "roleArn": "arn:aws:iam::123456789012:role/aws-service-role/ecs.amazonaws.com/AWSServiceRoleForECS", + "events": [], + "createdAt": "2025-01-21T11:32:38.034000-06:00", + "placementConstraints": [], + "placementStrategy": [], + "networkConfiguration": { + "awsvpcConfiguration": { + "subnets": [ + "subnet-12344321" + ], + "securityGroups": [ + "sg-12344321" + ], + "assignPublicIp": "DISABLED" + } + }, + "healthCheckGracePeriodSeconds": 0, + "schedulingStrategy": "REPLICA", + "deploymentController": { + "type": "ECS" + }, + "createdBy": "arn:aws:iam::123456789012:user/AIDACKCEVSQ6C2EXAMPLE", + "enableECSManagedTags": false, + "propagateTags": "NONE", + "enableExecuteCommand": false, + "availabilityZoneRebalancing": "DISABLED" + } + } + +For more information, see `Use Amazon EBS volumes with Amazon ECS `__ in the *Amazon ECS Developer Guide*. \ No newline at end of file diff --git a/awscli/examples/ecs/run-task.rst b/awscli/examples/ecs/run-task.rst index 109093d9f654..d9af590038e5 100644 --- a/awscli/examples/ecs/run-task.rst +++ b/awscli/examples/ecs/run-task.rst @@ -1,4 +1,4 @@ -**To run a task on your default cluster** +**Example 1: To run a task on your default cluster** The following ``run-task`` example runs a task on the default cluster and uses a client token. :: @@ -60,4 +60,129 @@ Output:: "failures": [] } -For more information, see `Running Tasks `__ in the *Amazon ECS Developer Guide*. \ No newline at end of file +For more information, see `Running an application as a standalone task `__ in the *Amazon ECS Developer Guide*. + +**Example 2: To configure an Amazon EBS volume for a standalone task** + +The following ``run-task`` example configures an encrypted Amazon EBS volume for a Fargate task on the default cluster. You must have an Amazon ECS infrastructure role configured with the ``AmazonECSInfrastructureRolePolicyForVolumes`` managed policy attached. You must specify a task definition with the same volume name as in the ``run-task`` request. This example uses the ``--cli-input-json`` option and a JSON input file called ``ebs.json``. :: + + aws ecs run-task \ + --cli-input-json file://ebs.json + +Contents of ``ebs.json``:: + + { + "cluster": "default", + "taskDefinition": "mytaskdef", + "launchType": "FARGATE", + "networkConfiguration":{ + "awsvpcConfiguration":{ + "assignPublicIp": "ENABLED", + "securityGroups": ["sg-12344321"], + "subnets":["subnet-12344321"] + } + }, + "volumeConfigurations": [ + { + "name": "myEBSVolume", + "managedEBSVolume": { + "volumeType": "gp3", + "sizeInGiB": 100, + "roleArn":"arn:aws:iam::1111222333:role/ecsInfrastructureRole", + "encrypted": true, + "kmsKeyId": "arn:aws:kms:region:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab" + } + } + ] + } + +Output:: + + { + "tasks": [ + { + "attachments": [ + { + "id": "ce868693-15ca-4083-91ac-f782f64000c9", + "type": "ElasticNetworkInterface", + "status": "PRECREATED", + "details": [ + { + "name": "subnetId", + "value": "subnet-070982705451dad82" + } + ] + }, + { + "id": "a17ed863-786c-4372-b5b3-b23e53f37877", + "type": "AmazonElasticBlockStorage", + "status": "CREATED", + "details": [ + { + "name": "roleArn", + "value": "arn:aws:iam::123456789012:role/ecsInfrastructureRole" + }, + { + "name": "volumeName", + "value": "myEBSVolume" + }, + { + "name": "deleteOnTermination", + "value": "true" + } + ] + } + ], + "attributes": [ + { + "name": "ecs.cpu-architecture", + "value": "x86_64" + } + ], + "availabilityZone": "us-west-2b", + "clusterArn": "arn:aws:ecs:us-west-2:123456789012:cluster/default", + "containers": [ + { + "containerArn": "arn:aws:ecs:us-west-2:123456789012:container/default/7f1fbd3629434cc4b82d72d2f09b67c9/e21962a2-f328-4699-98a3-5161ac2c186a", + "taskArn": "arn:aws:ecs:us-west-2:123456789012:task/default/7f1fbd3629434cc4b82d72d2f09b67c9", + "name": "container-using-ebs", + "image": "amazonlinux:2", + "lastStatus": "PENDING", + "networkInterfaces": [], + "cpu": "0" + } + ], + "cpu": "1024", + "createdAt": "2025-01-23T10:29:46.650000-06:00", + "desiredStatus": "RUNNING", + "enableExecuteCommand": false, + "group": "family:mytaskdef", + "lastStatus": "PROVISIONING", + "launchType": "FARGATE", + "memory": "3072", + "overrides": { + "containerOverrides": [ + { + "name": "container-using-ebs" + } + ], + "inferenceAcceleratorOverrides": [] + }, + "platformVersion": "1.4.0", + "platformFamily": "Linux", + "tags": [], + "taskArn": "arn:aws:ecs:us-west-2:123456789012:task/default/7f1fbd3629434cc4b82d72d2f09b67c9", + "taskDefinitionArn": "arn:aws:ecs:us-west-2:123456789012:task-definition/mytaskdef:4", + "version": 1, + "ephemeralStorage": { + "sizeInGiB": 20 + }, + "fargateEphemeralStorage": { + "sizeInGiB": 20 + } + } + ], + "failures": [] + } + +For more information, see `Use Amazon EBS volumes with Amazon ECS `__ in the *Amazon ECS Developer Guide*. diff --git a/awscli/examples/ecs/start-task.rst b/awscli/examples/ecs/start-task.rst index e1c320b61900..6c3b033bb215 100644 --- a/awscli/examples/ecs/start-task.rst +++ b/awscli/examples/ecs/start-task.rst @@ -1,6 +1,6 @@ -**To start a new task** +**Example 1: To start a new task** -The following ``start-task`` starts a task using the latest revision of the ``sleep360`` task definition on the specified container instance in the default cluster. :: +The following ``start-task`` example starts a task using the latest revision of the ``sleep360`` task definition on the specified container instance in the default cluster. :: aws ecs start-task \ --task-definition sleep360 \ @@ -11,10 +11,10 @@ Output:: { "tasks": [ { - "taskArn": "arn:aws:ecs:us-west-2:130757420319:task/default/666fdccc2e2d4b6894dd422f4eeee8f8", - "clusterArn": "arn:aws:ecs:us-west-2:130757420319:cluster/default", - "taskDefinitionArn": "arn:aws:ecs:us-west-2:130757420319:task-definition/sleep360:3", - "containerInstanceArn": "arn:aws:ecs:us-west-2:130757420319:container-instance/default/765936fadbdd46b5991a4bd70c2a43d4", + "taskArn": "arn:aws:ecs:us-west-2:123456789012:task/default/666fdccc2e2d4b6894dd422f4eeee8f8", + "clusterArn": "arn:aws:ecs:us-west-2:123456789012:cluster/default", + "taskDefinitionArn": "arn:aws:ecs:us-west-2:123456789012:task-definition/sleep360:3", + "containerInstanceArn": "arn:aws:ecs:us-west-2:123456789012:container-instance/default/765936fadbdd46b5991a4bd70c2a43d4", "overrides": { "containerOverrides": [ { @@ -28,8 +28,8 @@ Output:: "memory": "128", "containers": [ { - "containerArn": "arn:aws:ecs:us-west-2:130757420319:container/75f11ed4-8a3d-4f26-a33b-ad1db9e02d41", - "taskArn": "arn:aws:ecs:us-west-2:130757420319:task/default/666fdccc2e2d4b6894dd422f4eeee8f8", + "containerArn": "arn:aws:ecs:us-west-2:123456789012:container/75f11ed4-8a3d-4f26-a33b-ad1db9e02d41", + "taskArn": "arn:aws:ecs:us-west-2:123456789012:task/default/666fdccc2e2d4b6894dd422f4eeee8f8", "name": "sleep", "lastStatus": "PENDING", "networkInterfaces": [], @@ -47,3 +47,123 @@ Output:: ], "failures": [] } + +For more information, see `Schedule your containers on Amazon ECS `__ in the *Amazon ECS Developer Guide*. + +**Example 2: To configure an Amazon EBS volume at task start** + +The following ``start-task`` example configures an encrypted Amazon EBS volume for a task on the specified container instance. You must have an Amazon ECS infrastructure role configured with the ``AmazonECSInfrastructureRolePolicyForVolumes`` managed policy attached. You must specify a task definition with the same volume name as in the ``start-task`` request. This example uses the ``--cli-input-json`` option and a JSON input file called ``ebs.json`` with the following content. :: + + aws ecs start-task \ + --cli-input-json file://ebs.json \ + --container-instances 765936fadbdd46b5991a4bd70c2a43d4 + +Contents of ``ebs.json``:: + + { + "cluster": "default", + "taskDefinition": "mytaskdef", + "networkConfiguration":{ + "awsvpcConfiguration":{ + "assignPublicIp": "ENABLED", + "securityGroups": ["sg-12344321"], + "subnets":["subnet-12344321"] + } + }, + "volumeConfigurations": [ + { + "name": "myEBSVolume", + "managedEBSVolume": { + "volumeType": "gp3", + "sizeInGiB": 100, + "roleArn":"arn:aws:iam::123456789012:role/ecsInfrastructureRole", + "encrypted": true, + "kmsKeyId": "arn:aws:kms:region:123456789012:key/1234abcd-12ab-34cd-56ef-1234567890ab" + } + } + ] + } + +Output:: + + { + "tasks": [ + { + "attachments": [ + { + "id": "aea29489-9dcd-49f1-8164-4d91566e1113", + "type": "ElasticNetworkInterface", + "status": "PRECREATED", + "details": [ + { + "name": "subnetId", + "value": "subnet-12344321" + } + ] + }, + { + "id": "f29e1222-9a1e-410f-b499-a12a7cd6d42e", + "type": "AmazonElasticBlockStorage", + "status": "CREATED", + "details": [ + { + "name": "roleArn", + "value": "arn:aws:iam::123456789012:role/ecsInfrastructureRole" + }, + { + "name": "volumeName", + "value": "myEBSVolume" + }, + { + "name": "deleteOnTermination", + "value": "true" + } + ] + } + ], + "attributes": [ + { + "name": "ecs.cpu-architecture", + "value": "arm64" + } + ], + "availabilityZone": "us-west-2c", + "clusterArn": "arn:aws:ecs:us-west-2:123456789012:cluster/default", + "containerInstanceArn": "arn:aws:ecs:us-west-2:123456789012:container-instance/default/765936fadbdd46b5991a4bd70c2a43d4", + "containers": [ + { + "containerArn": "arn:aws:ecs:us-west-2:123456789012:container/default/bb122ace3ed84add92c00a351a03c69e/a4a9ed10-51c7-4567-9653-50e71b94f867", + "taskArn": "arn:aws:ecs:us-west-2:123456789012:task/default/bb122ace3ed84add92c00a351a03c69e", + "name": "container-using-ebs", + "image": "amazonlinux:2", + "lastStatus": "PENDING", + "networkInterfaces": [], + "cpu": "0" + } + ], + "cpu": "1024", + "createdAt": "2025-01-23T14:51:05.191000-06:00", + "desiredStatus": "RUNNING", + "enableExecuteCommand": false, + "group": "family:mytaskdef", + "lastStatus": "PROVISIONING", + "launchType": "EC2", + "memory": "3072", + "overrides": { + "containerOverrides": [ + { + "name": "container-using-ebs" + } + ], + "inferenceAcceleratorOverrides": [] + }, + "tags": [], + "taskArn": "arn:aws:ecs:us-west-2:123456789012:task/default/bb122ace3ed84add92c00a351a03c69e", + "taskDefinitionArn": "arn:aws:ecs:us-west-2:123456789012:task-definition/mytaskdef:4", + "version": 1 + } + ], + "failures": [] + } + +For more information, see `Use Amazon EBS volumes with Amazon ECS `__ in the *Amazon ECS Developer Guide*. diff --git a/awscli/examples/ecs/update-service.rst b/awscli/examples/ecs/update-service.rst index 74380e3b5aa2..f23a8d572950 100644 --- a/awscli/examples/ecs/update-service.rst +++ b/awscli/examples/ecs/update-service.rst @@ -1,11 +1,153 @@ -**Example 1: To change the number of instantiations in a service** +**Example 1: To change the task definition used in a service** -The following ``update-service`` example updates the desired task count of the service ``my-http-service`` to 2. :: +The following ``update-service`` example updates the ``my-http-service`` service to use the ``amazon-ecs-sample`` task definition. :: aws ecs update-service \ - --cluster MyCluster - --service my-http-service \ - --desired-count 2 + --cluster test \ + --service my-http-service \ + --task-definition amazon-ecs-sample + +Output:: + + { + "service": { + "serviceArn": "arn:aws:ecs:us-west-2:123456789012:service/test/my-http-service", + "serviceName": "my-http-service", + "clusterArn": "arn:aws:ecs:us-west-2:123456789012:cluster/test", + "loadBalancers": [], + "serviceRegistries": [], + "status": "ACTIVE", + "desiredCount": 2, + "runningCount": 2, + "pendingCount": 0, + "launchType": "FARGATE", + "platformVersion": "1.4.0", + "platformFamily": "Linux", + "taskDefinition": "arn:aws:ecs:us-west-2:123456789012:task-definition/amazon-ecs-sample:2", + "deploymentConfiguration": { + "deploymentCircuitBreaker": { + "enable": true, + "rollback": true + }, + "maximumPercent": 200, + "minimumHealthyPercent": 100, + "alarms": { + "alarmNames": [], + "rollback": false, + "enable": false + } + }, + "deployments": [ + { + "id": "ecs-svc/7419115625193919142", + "status": "PRIMARY", + "taskDefinition": "arn:aws:ecs:us-west-2:123456789012:task-definition/amazon-ecs-sample:2", + "desiredCount": 0, + "pendingCount": 0, + "runningCount": 0, + "failedTasks": 0, + "createdAt": "2025-02-21T13:26:02.734000-06:00", + "updatedAt": "2025-02-21T13:26:02.734000-06:00", + "launchType": "FARGATE", + "platformVersion": "1.4.0", + "platformFamily": "Linux", + "networkConfiguration": { + "awsvpcConfiguration": { + "subnets": [ + "subnet-12344321" + ], + "securityGroups": [ + "sg-12344321" + ], + "assignPublicIp": "ENABLED" + } + }, + "rolloutState": "IN_PROGRESS", + "rolloutStateReason": "ECS deployment ecs-svc/7419115625193919142 in progress." + }, + { + "id": "ecs-svc/1709597507655421668", + "status": "ACTIVE", + "taskDefinition": "arn:aws:ecs:us-west-2:123456789012:task-definition/old-amazon-ecs-sample:4", + "desiredCount": 2, + "pendingCount": 0, + "runningCount": 2, + "failedTasks": 0, + "createdAt": "2025-01-24T11:13:07.621000-06:00", + "updatedAt": "2025-02-02T16:11:30.838000-06:00", + "launchType": "FARGATE", + "platformVersion": "1.4.0", + "platformFamily": "Linux", + "networkConfiguration": { + "awsvpcConfiguration": { + "subnets": [ + "subnet-12344321" + ], + "securityGroups": [ + "sg-12344321" + ], + "assignPublicIp": "ENABLED" + } + }, + "rolloutState": "COMPLETED", + "rolloutStateReason": "ECS deployment ecs-svc/1709597507655421668 completed." + } + ], + "roleArn": "arn:aws:iam::123456789012:role/aws-service-role/ecs.amazonaws.com/AWSServiceRoleForECS", + "events": [ + { + "id": "e40b4d1c-80d9-4834-aaf3-6a268e530e17", + "createdAt": "2025-02-21T10:31:26.037000-06:00", + "message": "(my-http-service) has reached a steady state." + }, + { + "id": "6ac069ad-fc8b-4e49-a35d-b5574a964c8e", + "createdAt": "2025-02-21T04:31:22.703000-06:00", + "message": "(my-http-service) has reached a steady state." + }, + { + "id": "265f7d37-dfd1-4880-a846-ec486f341919", + "createdAt": "2025-02-20T22:31:22.514000-06:00", + "message": "(my-http-service) has reached a steady state." + } + ], + "createdAt": "2024-10-30T17:12:43.218000-05:00", + "placementConstraints": [], + "placementStrategy": [], + "networkConfiguration": { + "awsvpcConfiguration": { + "subnets": [ + "subnet-12344321", + ], + "securityGroups": [ + "sg-12344321" + ], + "assignPublicIp": "ENABLED" + } + }, + "healthCheckGracePeriodSeconds": 0, + "schedulingStrategy": "REPLICA", + "deploymentController": { + "type": "ECS" + }, + "createdBy": "arn:aws:iam::123456789012:role/AIDACKCEVSQ6C2EXAMPLE", + "enableECSManagedTags": true, + "propagateTags": "NONE", + "enableExecuteCommand": false, + "availabilityZoneRebalancing": "DISABLED" + } + } + +For more information, see `Update an Amazon ECS service using the console `__ in the *Amazon ECS Developer Guide*. + +**Example 2: To change the number of tasks in a service** + +The following ``update-service`` example updates the desired task count of the service ``my-http-service`` from to 2. :: + + aws ecs update-service \ + --cluster MyCluster \ + --service my-http-service \ + --desired-count 2 Output:: @@ -127,7 +269,375 @@ Output:: For more information, see `Updating an Amazon ECS service using the console `__ in the *Amazon ECS Developer Guide*. -**Example 2: To turn on Availability Zone rebalancing for a service** +**Example 3: To configure Amazon EBS volumes for attachment at service update** + +The following ``update-service`` example updates the service ``my-http-service`` to use Amazon EBS volumes. You must have an Amazon ECS infrastructure role configured with the ``AmazonECSInfrastructureRolePolicyForVolumes`` managed policy attached. You must also specify a task definition with the same volume name as in the ``update-service`` request and with ``configuredAtLaunch`` set to ``true``. This example uses the ``--cli-input-json`` option and a JSON input file called ``ebs.json``. :: + + aws ecs update-service \ + --cli-input-json file://ebs.json + +Contents of ``ebs.json``:: + + { + "cluster": "mycluster", + "taskDefinition": "mytaskdef", + "service": "my-http-service", + "desiredCount": 2, + "volumeConfigurations": [ + { + "name": "myEbsVolume", + "managedEBSVolume": { + "roleArn":"arn:aws:iam::123456789012:role/ecsInfrastructureRole", + "volumeType": "gp3", + "sizeInGiB": 100, + "iops": 3000, + "throughput": 125, + "filesystemType": "ext4" + } + } + ] + } + +Output:: + + { + "service": { + "serviceArn": "arn:aws:ecs:us-west-2:123456789012:service/mycluster/my-http-service", + "serviceName": "my-http-service", + "clusterArn": "arn:aws:ecs:us-west-2:123456789012:cluster/mycluster", + "loadBalancers": [], + "serviceRegistries": [], + "status": "ACTIVE", + "desiredCount": 2, + "runningCount": 2, + "pendingCount": 0, + "launchType": "FARGATE", + "platformVersion": "LATEST", + "platformFamily": "Linux", + "taskDefinition": "arn:aws:ecs:us-west-2:123456789012:task-definition/mytaskdef:1", + "deploymentConfiguration": { + "deploymentCircuitBreaker": { + "enable": true, + "rollback": true + }, + "maximumPercent": 200, + "minimumHealthyPercent": 100, + "alarms": { + "alarmNames": [], + "rollback": false, + "enable": false + } + }, + "deployments": [ + { + "id": "ecs-svc/2420458347226626275", + "status": "PRIMARY", + "taskDefinition": "arn:aws:ecs:us-west-2:123456789012:task-definition/mytaskdef:1", + "desiredCount": 0, + "pendingCount": 0, + "runningCount": 0, + "failedTasks": 0, + "createdAt": "2025-02-21T15:07:20.519000-06:00", + "updatedAt": "2025-02-21T15:07:20.519000-06:00", + "launchType": "FARGATE", + "platformVersion": "1.4.0", + "platformFamily": "Linux", + "networkConfiguration": { + "awsvpcConfiguration": { + "subnets": [ + "subnet-12344321", + ], + "securityGroups": [ + "sg-12344321" + ], + "assignPublicIp": "ENABLED" + } + }, + "rolloutState": "IN_PROGRESS", + "rolloutStateReason": "ECS deployment ecs-svc/2420458347226626275 in progress.", + "volumeConfigurations": [ + { + "name": "ebs-volume", + "managedEBSVolume": { + "volumeType": "gp3", + "sizeInGiB": 100, + "iops": 3000, + "throughput": 125, + "roleArn": "arn:aws:iam::123456789012:role/ecsInfrastructureRole", + "filesystemType": "ext4" + } + } + ] + }, + { + "id": "ecs-svc/5191625155316533644", + "status": "ACTIVE", + "taskDefinition": "arn:aws:ecs:us-west-2:123456789012:task-definition/mytaskdef:2", + "desiredCount": 2, + "pendingCount": 0, + "runningCount": 2, + "failedTasks": 0, + "createdAt": "2025-02-21T14:54:48.862000-06:00", + "updatedAt": "2025-02-21T14:57:22.502000-06:00", + "launchType": "FARGATE", + "platformVersion": "1.4.0", + "platformFamily": "Linux", + "networkConfiguration": { + "awsvpcConfiguration": { + "subnets": [ + "subnet-12344321" + ], + "securityGroups": [ + "sg-12344321" + ], + "assignPublicIp": "ENABLED" + } + }, + "rolloutState": "COMPLETED", + "rolloutStateReason": "ECS deployment ecs-svc/5191625155316533644 completed." + } + ], + "roleArn": "arn:aws:iam::123456789012:role/aws-service-role/ecs.amazonaws.com/AWSServiceRoleForECS", + "events": [ + { + "id": "b5823113-c2c5-458e-9649-8c2ed38f23a5", + "createdAt": "2025-02-21T14:57:22.508000-06:00", + "message": "(service my-http-service) has reached a steady state." + }, + { + "id": "b05a48e8-da35-4074-80aa-37ceb3167357", + "createdAt": "2025-02-21T14:57:22.507000-06:00", + "message": "(service my-http-service) (deployment ecs-svc/5191625155316533644) deployment completed." + }, + { + "id": "a10cd55d-4ba6-4cea-a655-5a5d32ada8a0", + "createdAt": "2025-02-21T14:55:32.833000-06:00", + "message": "(service my-http-service) has started 1 tasks: (task fb9c8df512684aec92f3c57dc3f22361)." + }, + ], + "createdAt": "2025-02-21T14:54:48.862000-06:00", + "placementConstraints": [], + "placementStrategy": [], + "networkConfiguration": { + "awsvpcConfiguration": { + "subnets": [ + "subnet-12344321" + ], + "securityGroups": [ + "sg-12344321" + ], + "assignPublicIp": "ENABLED" + } + }, + "healthCheckGracePeriodSeconds": 0, + "schedulingStrategy": "REPLICA", + "deploymentController": { + "type": "ECS" + }, + "createdBy": "arn:aws:iam::123456789012:role/AIDACKCEVSQ6C2EXAMPLE", + "enableECSManagedTags": true, + "propagateTags": "NONE", + "enableExecuteCommand": false, + "availabilityZoneRebalancing": "ENABLED" + } + } + + +For more information, see `Use Amazon EBS volumes with Amazon ECS `__ in the *Amazon ECS Developer Guide*. + +**Example 4: To update a service to no longer use Amazon EBS volumes** + +The following ``update-service`` example updates the service ``my-http-service`` to no longer use Amazon EBS volumes. You must specify a task definition revision with ``configuredAtLaunch`` set to ``false``. :: + + aws ecs update-service \ + --cluster mycluster \ + --task-definition mytaskdef \ + --service my-http-service \ + --desired-count 2 \ + --volume-configurations "[]" + +Output:: + + { + "service": { + "serviceArn": "arn:aws:ecs:us-west-2:123456789012:service/mycluster/my-http-service", + "serviceName": "my-http-service", + "clusterArn": "arn:aws:ecs:us-west-2:123456789012:cluster/mycluster", + "loadBalancers": [], + "serviceRegistries": [], + "status": "ACTIVE", + "desiredCount": 2, + "runningCount": 2, + "pendingCount": 0, + "launchType": "FARGATE", + "platformVersion": "LATEST", + "platformFamily": "Linux", + "taskDefinition": "arn:aws:ecs:us-west-2:123456789012:task-definition/mytaskdef:3", + "deploymentConfiguration": { + "deploymentCircuitBreaker": { + "enable": true, + "rollback": true + }, + "maximumPercent": 200, + "minimumHealthyPercent": 100, + "alarms": { + "alarmNames": [], + "rollback": false, + "enable": false + } + }, + "deployments": [ + { + "id": "ecs-svc/7522791612543716777", + "status": "PRIMARY", + "taskDefinition": "arn:aws:ecs:us-west-2:123456789012:task-definition/mytaskdef:3", + "desiredCount": 0, + "pendingCount": 0, + "runningCount": 0, + "failedTasks": 0, + "createdAt": "2025-02-21T15:25:38.598000-06:00", + "updatedAt": "2025-02-21T15:25:38.598000-06:00", + "launchType": "FARGATE", + "platformVersion": "1.4.0", + "platformFamily": "Linux", + "networkConfiguration": { + "awsvpcConfiguration": { + "subnets": [ + "subnet-12344321" + ], + "securityGroups": [ + "sg-12344321" + ], + "assignPublicIp": "ENABLED" + } + }, + "rolloutState": "IN_PROGRESS", + "rolloutStateReason": "ECS deployment ecs-svc/7522791612543716777 in progress." + }, + { + "id": "ecs-svc/2420458347226626275", + "status": "ACTIVE", + "taskDefinition": "arn:aws:ecs:us-west-2:123456789012:task-definition/myoldtaskdef:1", + "desiredCount": 2, + "pendingCount": 0, + "runningCount": 2, + "failedTasks": 0, + "createdAt": "2025-02-21T15:07:20.519000-06:00", + "updatedAt": "2025-02-21T15:10:59.955000-06:00", + "launchType": "FARGATE", + "platformVersion": "1.4.0", + "platformFamily": "Linux", + "networkConfiguration": { + "awsvpcConfiguration": { + "subnets": [ + "subnet-12344321" + ], + "securityGroups": [ + "sg-12344321" + ], + "assignPublicIp": "ENABLED" + } + }, + "rolloutState": "COMPLETED", + "rolloutStateReason": "ECS deployment ecs-svc/2420458347226626275 completed.", + "volumeConfigurations": [ + { + "name": "ebs-volume", + "managedEBSVolume": { + "volumeType": "gp3", + "sizeInGiB": 100, + "iops": 3000, + "throughput": 125, + "roleArn": "arn:aws:iam::123456789012:role/ecsInfrastructureRole", + "filesystemType": "ext4" + } + } + ] + } + ], + "roleArn": "arn:aws:iam::123456789012:role/aws-service-role/ecs.amazonaws.com/AWSServiceRoleForECS", + "events": [ + { + "id": "4f2c3ca1-7800-4048-ba57-bba210ada2ad", + "createdAt": "2025-02-21T15:10:59.959000-06:00", + "message": "(service my-http-service) has reached a steady state." + }, + { + "id": "4b36a593-2d40-4ed6-8be8-b9b699eb6198", + "createdAt": "2025-02-21T15:10:59.958000-06:00", + "message": "(service my-http-service) (deployment ecs-svc/2420458347226626275) deployment completed." + }, + { + "id": "88380089-14e2-4ef0-8dbb-a33991683371", + "createdAt": "2025-02-21T15:09:39.055000-06:00", + "message": "(service my-http-service) has stopped 1 running tasks: (task fb9c8df512684aec92f3c57dc3f22361)." + }, + { + "id": "97d84243-d52f-4255-89bb-9311391c61f6", + "createdAt": "2025-02-21T15:08:57.653000-06:00", + "message": "(service my-http-service) has stopped 1 running tasks: (task 33eff090ad2c40539daa837e6503a9bc)." + }, + { + "id": "672ece6c-e2d0-4021-b5da-eefb14001687", + "createdAt": "2025-02-21T15:08:15.631000-06:00", + "message": "(service my-http-service) has started 1 tasks: (task 996c02a66ff24f3190a4a8e0c841740f)." + }, + { + "id": "a3cf9bea-9be6-4175-ac28-4c68360986eb", + "createdAt": "2025-02-21T15:07:36.931000-06:00", + "message": "(service my-http-service) has started 1 tasks: (task d5d23c39f89e46cf9a647b9cc6572feb)." + }, + { + "id": "b5823113-c2c5-458e-9649-8c2ed38f23a5", + "createdAt": "2025-02-21T14:57:22.508000-06:00", + "message": "(service my-http-service) has reached a steady state." + }, + { + "id": "b05a48e8-da35-4074-80aa-37ceb3167357", + "createdAt": "2025-02-21T14:57:22.507000-06:00", + "message": "(service my-http-service) (deployment ecs-svc/5191625155316533644) deployment completed." + }, + { + "id": "a10cd55d-4ba6-4cea-a655-5a5d32ada8a0", + "createdAt": "2025-02-21T14:55:32.833000-06:00", + "message": "(service my-http-service) has started 1 tasks: (task fb9c8df512684aec92f3c57dc3f22361)." + }, + { + "id": "42da91fa-e26d-42ef-88c3-bb5965c56b2f", + "createdAt": "2025-02-21T14:55:02.703000-06:00", + "message": "(service my-http-service) has started 1 tasks: (task 33eff090ad2c40539daa837e6503a9bc)." + } + ], + "createdAt": "2025-02-21T14:54:48.862000-06:00", + "placementConstraints": [], + "placementStrategy": [], + "networkConfiguration": { + "awsvpcConfiguration": { + "subnets": [ + "subnet-12344321" + ], + "securityGroups": [ + "sg-12344321" + ], + "assignPublicIp": "ENABLED" + } + }, + "healthCheckGracePeriodSeconds": 0, + "schedulingStrategy": "REPLICA", + "deploymentController": { + "type": "ECS" + }, + "createdBy": "arn:aws:iam::123456789012:role/AIDACKCEVSQ6C2EXAMPLE", + "enableECSManagedTags": true, + "propagateTags": "NONE", + "enableExecuteCommand": false, + "availabilityZoneRebalancing": "ENABLED" + } + } + +For more information, see `Use Amazon EBS volumes with Amazon ECS `__ in the *Amazon ECS Developer Guide*. + +**Example 5: To turn on Availability Zone rebalancing for a service** The following ``update-service`` example turns on Availability Zone rebalancing for the service ``my-http-service``. :: @@ -238,4 +748,4 @@ Output:: } } -For more information, see `Updating an Amazon ECS service using the console `__ in the *Amazon ECS Developer Guide*. \ No newline at end of file +For more information, see `Updating an Amazon ECS service using the console `__ in the *Amazon ECS Developer Guide*. diff --git a/awscli/examples/servicediscovery/create-http-namespace.rst b/awscli/examples/servicediscovery/create-http-namespace.rst new file mode 100644 index 000000000000..6d438927243a --- /dev/null +++ b/awscli/examples/servicediscovery/create-http-namespace.rst @@ -0,0 +1,17 @@ +**To create an HTTP namespace** + +The following ``create-http-namespace`` example creates an HTTP namespace ``example.com``. :: + + aws servicediscovery create-http-namespace \ + --name example.com \ + --creator-request-id example-request-id + +Output:: + + { + "OperationId": "gv4g5meo7ndmeh4fqskygvk23d2fijwa-k9302yzd" + } + +To confirm that the operation succeeded, you can run ``get-operation``. For more information, see `get-operation `__ . + +For more information about creating a namespace, see `Creating an AWS Cloud Map namespace to group application services `__ in the *AWS Cloud Map Developer Guide*. diff --git a/awscli/examples/servicediscovery/create-public-dns-namespace.rst b/awscli/examples/servicediscovery/create-public-dns-namespace.rst new file mode 100644 index 000000000000..4cde2b973fcc --- /dev/null +++ b/awscli/examples/servicediscovery/create-public-dns-namespace.rst @@ -0,0 +1,18 @@ +**To create an public DNS namespace** + +The following ``create-public-dns-namespace`` example creates an public DNS namespace ``example.com``. :: + + aws servicediscovery create-public-dns-namespace \ + --name example-public-dns.com \ + --creator-request-id example-public-request-id \ + --properties DnsProperties={SOA={TTL=60}} + +Output:: + + { + "OperationId": "gv4g5meo7ndmeh4fqskygvk23d2fijwa-k9302yzd" + } + +To confirm that the operation succeeded, you can run ``get-operation``. + +For more information about creating a namespace, see `Creating an AWS Cloud Map namespace to group application services `__ in the *AWS Cloud Map Developer Guide*. diff --git a/awscli/examples/servicediscovery/delete-service-attributes.rst b/awscli/examples/servicediscovery/delete-service-attributes.rst new file mode 100644 index 000000000000..a311c70411c4 --- /dev/null +++ b/awscli/examples/servicediscovery/delete-service-attributes.rst @@ -0,0 +1,11 @@ +**To delete a service attribute** + +The following ``delete-service-attributes`` example deletes a service attribute with the key ``Port`` that is associated with the specified service. :: + + aws servicediscovery delete-service-attributes \ + --service-id srv-e4anhexample0004 \ + --attributes Port + +This command produces no output. + +For more information, see `Deleting namespaces `__ in the *AWS Cloud Map Developer Guide*. diff --git a/awscli/examples/servicediscovery/discover-instances-revision.rst b/awscli/examples/servicediscovery/discover-instances-revision.rst new file mode 100644 index 000000000000..b7326ef3c72c --- /dev/null +++ b/awscli/examples/servicediscovery/discover-instances-revision.rst @@ -0,0 +1,15 @@ +**To discover the revision of an instance** + +The following ``discover-instances-revision`` example discovers the increasing revision of an instance. :: + + aws servicediscovery discover-instances-revision \ + --namespace-name example.com \ + --service-name myservice + +Output:: + + { + "InstancesRevision": 123456 + } + +For more information, see `AWS Cloud Map service instances `__ in the *AWS Cloud Map Developer Guide*. diff --git a/awscli/examples/servicediscovery/discover-instances.rst b/awscli/examples/servicediscovery/discover-instances.rst index 0f372cdf66bb..9c3a245ad5d8 100644 --- a/awscli/examples/servicediscovery/discover-instances.rst +++ b/awscli/examples/servicediscovery/discover-instances.rst @@ -25,3 +25,4 @@ Output:: ] } +For more information, see `AWS Cloud Map service instances `__ in the *AWS Cloud Map Developer Guide*. diff --git a/awscli/examples/servicediscovery/get-instance.rst b/awscli/examples/servicediscovery/get-instance.rst new file mode 100644 index 000000000000..64dd4211b3cc --- /dev/null +++ b/awscli/examples/servicediscovery/get-instance.rst @@ -0,0 +1,24 @@ +**To get the details of an instance** + +The following ``get-instance`` example gets the attributes of a service. :: + + aws servicediscovery get-instance \ + --service-id srv-e4anhexample0004 + --instance-id i-abcd1234 + +Output:: + + { + "Instances": { + "Id": "arn:aws:servicediscovery:us-west-2:111122223333;:service/srv-e4anhexample0004", + "Attributes": { + "AWS_INSTANCE_IPV4": "192.0.2.44", + "AWS_INSTANCE_PORT": "80", + "color": "green", + "region": "us-west-2", + "stage": "beta" + } + } + } + +For more information, see `AWS Cloud Map service instances `__ in the *AWS Cloud Map Developer Guide*. diff --git a/awscli/examples/servicediscovery/get-instances-health-status.rst b/awscli/examples/servicediscovery/get-instances-health-status.rst new file mode 100644 index 000000000000..d150f5de7d21 --- /dev/null +++ b/awscli/examples/servicediscovery/get-instances-health-status.rst @@ -0,0 +1,17 @@ +**To get the health status of instances associated with a service** + +The following ``get-instances-health-status`` example gets the health status of instances associated with the specified service. :: + + aws servicediscovery get-instances-health-status \ + --service-id srv-e4anhexample0004 + +Output:: + + { + "Status": { + "i-abcd1234": "HEALTHY", + "i-abcd1235": "UNHEALTHY" + } + } + +For more information, see `AWS Cloud Map service instances `__ in the *AWS Cloud Map Developer Guide*. diff --git a/awscli/examples/servicediscovery/get-namespace.rst b/awscli/examples/servicediscovery/get-namespace.rst new file mode 100644 index 000000000000..675d2fd4cd37 --- /dev/null +++ b/awscli/examples/servicediscovery/get-namespace.rst @@ -0,0 +1,28 @@ +**To get the details of a namespace** + +The following ``get-namespace`` example retrieves information about the specified namespace. :: + + aws servicediscovery get-namespace \ + --id ns-e4anhexample0004 + +Output:: + + { + "Namespaces": { + "Arn": "arn:aws:servicediscovery:us-west-2:123456789012:namespace/ns-e4anhexample0004", + "CreateDate": "20181118T211712Z", + "CreatorRequestId": "example-creator-request-id-0001", + "Description": "Example.com AWS Cloud Map HTTP Namespace", + "Id": "ns-e4anhexample0004", + "Name": "example-http.com", + "Properties": { + "DnsProperties": {}, + "HttpProperties": { + "HttpName": "example-http.com" + } + }, + "Type": "HTTP" + } + } + +For more information, see `AWS Cloud Map namespaces `__ in the *AWS Cloud Map Developer Guide*. diff --git a/awscli/examples/servicediscovery/get-operation.rst b/awscli/examples/servicediscovery/get-operation.rst index c46b33904e4b..4d9689136e4c 100644 --- a/awscli/examples/servicediscovery/get-operation.rst +++ b/awscli/examples/servicediscovery/get-operation.rst @@ -1,6 +1,6 @@ **To get the result of an operation** -The following ``get-operation`` example gets the result of an operation. :: +The following ``get-operation`` example gets the result of a namespace creation operation. :: aws servicediscovery get-operation \ --operation-id gv4g5meo7ndmeh4fqskygvk23d2fijwa-k9302yzd @@ -20,3 +20,4 @@ Output:: } } +For more information, see `Creating an AWS Cloud Map namespace to group application services `__ in the *AWS Cloud Map Developer Guide*. diff --git a/awscli/examples/servicediscovery/get-service-attributes.rst b/awscli/examples/servicediscovery/get-service-attributes.rst new file mode 100644 index 000000000000..15d586e0e425 --- /dev/null +++ b/awscli/examples/servicediscovery/get-service-attributes.rst @@ -0,0 +1,19 @@ +**To get the attributes of an service** + +The following ``get-service-attributes`` example gets the attributes of a service. :: + + aws servicediscovery get-service-attributes \ + --service-id srv-e4anhexample0004 + +Output:: + + { + "ServiceAttributes": { + "ServiceArn": "arn:aws:servicediscovery:us-west-2:111122223333;:service/srv-e4anhexample0004", + "Attributes": { + "Port": "80" + } + } + } + +For more information, see `AWS Cloud Map services `__ in the *AWS Cloud Map Developer Guide*. diff --git a/awscli/examples/servicediscovery/get-service.rst b/awscli/examples/servicediscovery/get-service.rst new file mode 100644 index 000000000000..8f60c1f32537 --- /dev/null +++ b/awscli/examples/servicediscovery/get-service.rst @@ -0,0 +1,23 @@ +**To get the settings of a service** + +The following ``get-service`` example gets the settings of a specified service. :: + + aws servicediscovery get-service \ + --id srv-e4anhexample0004 + +Output:: + + { + "Service": { + "Id": "srv-e4anhexample0004", + "Arn": "arn:aws:servicediscovery:us-west-2:111122223333:service/srv-e4anhexample0004", + "Name": "test-service", + "NamespaceId": "ns-e4anhexample0004", + "DnsConfig": {}, + "Type": "HTTP", + "CreateDate": "2025-02-24T10:59:02.905000-06:00", + "CreatorRequestId": "3f50f9d9-b14c-482e-a556-d2a22fe6106d" + } + } + +For more information, see `AWS Cloud Map services `__ in the *AWS Cloud Map Developer Guide*. diff --git a/awscli/examples/servicediscovery/list-operations.rst b/awscli/examples/servicediscovery/list-operations.rst new file mode 100644 index 000000000000..cc057700caeb --- /dev/null +++ b/awscli/examples/servicediscovery/list-operations.rst @@ -0,0 +1,29 @@ +**To list operations that meet the specified criteria** + +The following ``list-operations`` example lists operations that have a status of ``PENDING`` or ``SUCCESS``. :: + + aws servicediscovery list-operations \ + --service-id srv-e4anhexample0004 \ + --filters Name=STATUS,Condition=IN,Values=PENDING,SUCCESS + +Output:: + + { + "Operations": [ + { + "Id": "76yy8ovhpdz0plmjzbsnqgnrqvpv2qdt-kexample", + "Status": "SUCCESS" + }, + { + "Id": "prysnyzpji3u2ciy45nke83x2zanl7yk-dexample", + "Status": "SUCCESS" + }, + { + "Id": "ko4ekftir7kzlbechsh7xvcdgcpk66gh-7example", + "Status": "PENDING" + } + ] + } + + +For more information, see `What is AWS Cloud Map? `__ in the *AWS Cloud Map Developer Guide*. diff --git a/awscli/examples/servicediscovery/list-tags-for-resource.rst b/awscli/examples/servicediscovery/list-tags-for-resource.rst new file mode 100644 index 000000000000..b91254f54684 --- /dev/null +++ b/awscli/examples/servicediscovery/list-tags-for-resource.rst @@ -0,0 +1,23 @@ +**To list tags associated with the specified resource** + +The following ``list-tags-for-resource`` example lists tags for the specified resource. :: + + aws servicediscovery list-tags-for-resource \ + --resource-arn arn:aws:servicediscovery:us-west-2:123456789012:namespace/ns-e4anhexample0004 + +Output:: + + { + "Tags": [ + { + "Key": "Project", + "Value": "Zeta" + }, + { + "Key": "Department", + "Value": "Engineering" + } + ] + } + +For more information, see `Tagging your AWS Cloud Map resources `__ in the *AWS Cloud Map Developer Guide*. diff --git a/awscli/examples/servicediscovery/tag-resource.rst b/awscli/examples/servicediscovery/tag-resource.rst new file mode 100644 index 000000000000..89f00b1bd652 --- /dev/null +++ b/awscli/examples/servicediscovery/tag-resource.rst @@ -0,0 +1,11 @@ +**To associate tags with the specified resource** + +The following ``tag-resource`` example associates a ``Department`` tag with the value ``Engineering`` with the specified namespace. :: + + aws servicediscovery tag-resource \ + --resource-arn arn:aws:servicediscovery:us-west-2:123456789012:namespace/ns-e4anhexample0004 \ + --tags Key=Department, Value=Engineering + +This command produces no output. + +For more information, see `Tagging your AWS Cloud Map resources `__ in the *AWS Cloud Map Developer Guide*. diff --git a/awscli/examples/servicediscovery/untag-resource.rst b/awscli/examples/servicediscovery/untag-resource.rst new file mode 100644 index 000000000000..5aaab5cb5f15 --- /dev/null +++ b/awscli/examples/servicediscovery/untag-resource.rst @@ -0,0 +1,11 @@ +**To remove tags from the specified resource** + +The following ``untag-resource`` example removes a ``Department`` tag from the specified namespace. :: + + aws servicediscovery untag-resource \ + --resource-arn arn:aws:servicediscovery:us-west-2:123456789012:namespace/ns-e4anhexample0004 \ + --tags Key=Department, Value=Engineering + +This command produces no output. + +For more information, see `Tagging your AWS Cloud Map resources `__ in the *AWS Cloud Map Developer Guide*. diff --git a/awscli/examples/servicediscovery/update-http-namespace.rst b/awscli/examples/servicediscovery/update-http-namespace.rst new file mode 100644 index 000000000000..533ef1cb5b70 --- /dev/null +++ b/awscli/examples/servicediscovery/update-http-namespace.rst @@ -0,0 +1,18 @@ +**To update an HTTP namespace** + +The following ``update-http-namespace`` example updates the specified HTTP namespace's description. :: + + aws servicediscovery update-http-namespace \ + --id ns-vh4nbmEXAMPLE \ + --updater-request-id example-request-id \ + --namespace Description="The updated namespace description." + +Output:: + + { + "OperationId": "gv4g5meo7ndmeh4fqskygvk23d2fijwa-k9302yzd" + } + +To confirm that the operation succeeded, you can run ``get-operation``. For more information, see `get-operation `__ . + +For more information, see `AWS Cloud Map namespaces `__ in the *AWS Cloud Map Developer Guide*. \ No newline at end of file diff --git a/awscli/examples/servicediscovery/update-instance-custom-health-status.rst b/awscli/examples/servicediscovery/update-instance-custom-health-status.rst new file mode 100644 index 000000000000..dc4d1eee0fcb --- /dev/null +++ b/awscli/examples/servicediscovery/update-instance-custom-health-status.rst @@ -0,0 +1,12 @@ +**To update a custom health check** + +The following ``update-instance-custom-health-status`` example updates the status of the custom health check for the specified service and example service instance to ``HEALTHY``. :: + + aws servicediscovery update-instance-custom-health-status \ + --service-id srv-e4anhexample0004 \ + --instance-id example \ + --status HEALTHY + +This command produces no output. + +For more information, see `AWS Cloud Map service health check configuration `__ in the *AWS Cloud Map Developer Guide*. diff --git a/awscli/examples/servicediscovery/update-private-dns-namespace.rst b/awscli/examples/servicediscovery/update-private-dns-namespace.rst new file mode 100644 index 000000000000..b97cce91d852 --- /dev/null +++ b/awscli/examples/servicediscovery/update-private-dns-namespace.rst @@ -0,0 +1,18 @@ +**To update a private DNS namespace** + +The following ``update-private-dns-namespace`` example updates the description of a private DNS namespace. :: + + aws servicediscovery update-private-dns-namespace \ + --id ns-bk3aEXAMPLE \ + --updater-request-id example-private-request-id \ + --namespace Description="The updated namespace description." + +Output:: + + { + "OperationId": "gv4g5meo7ndmeh4fqskygvk23d2fijwa-k9302yzd" + } + +To confirm that the operation succeeded, you can run ``get-operation``. + +For more information, see `AWS Cloud Map namespaces `__ in the *AWS Cloud Map Developer Guide*. diff --git a/awscli/examples/servicediscovery/update-public-dns-namespace.rst b/awscli/examples/servicediscovery/update-public-dns-namespace.rst new file mode 100644 index 000000000000..9457e45649ba --- /dev/null +++ b/awscli/examples/servicediscovery/update-public-dns-namespace.rst @@ -0,0 +1,18 @@ +**To update a public DNS namespace** + +The following ``update-public-dns-namespace`` example updates the description of a public DNS namespace. :: + + aws servicediscovery update-public-dns-namespace \ + --id ns-bk3aEXAMPLE \ + --updater-request-id example-public-request-id \ + --namespace Description="The updated namespace description." + +Output:: + + { + "OperationId": "gv4g5meo7ndmeh4fqskygvk23d2fijwa-k9302yzd" + } + +To confirm that the operation succeeded, you can run ``get-operation``. + +For more information, see `AWS Cloud Map namespaces `__ in the *AWS Cloud Map Developer Guide*. diff --git a/awscli/examples/servicediscovery/update-service-attributes.rst b/awscli/examples/servicediscovery/update-service-attributes.rst new file mode 100644 index 000000000000..c077868a9758 --- /dev/null +++ b/awscli/examples/servicediscovery/update-service-attributes.rst @@ -0,0 +1,11 @@ + **To update a service to add an attribute** + +The following ``update-service-attributes`` example updates the specified service to add a service attribute with a key ``Port`` and a value ``80``. :: + + aws servicediscovery update-service-attributes \ + --service-id srv-e4anhexample0004 \ + --attributes Port=80 + +This command produces no output. + +For more information, see `AWS Cloud Map services `__ in the *AWS Cloud Map Developer Guide*. diff --git a/awscli/examples/servicediscovery/update-service.rst b/awscli/examples/servicediscovery/update-service.rst new file mode 100644 index 000000000000..e2e7df51e098 --- /dev/null +++ b/awscli/examples/servicediscovery/update-service.rst @@ -0,0 +1,17 @@ +**To update a service** + +The following ``update-service`` example updates a service to update the ``DnsConfig`` and ``HealthCheckConfig`` settings. :: + + aws servicediscovery update-service \ + --id srv-e4anhexample0004 \ + --service "DnsConfig={DnsRecords=[{"Type"="A","TTL"=60}]},HealthCheckConfig={"Type"="HTTP","ResourcePath"="/","FailureThreshold"="2"}" + +Output:: + + { + "OperationId": "gv4g5meo7ndmeh4fqskygvk23d2fijwa-k9302yzd" + } + +To confirm that the operation succeeded, you can run ``get-operation``. + +For more information about updating a service, see `Updating an AWS Cloud Map service `__ in the *AWS Cloud Map Developer Guide*. From 90a20431fe48496a9c6c8bdf8a1a222a04d7a76f Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 18 Mar 2025 18:15:12 +0000 Subject: [PATCH 0517/1087] Update changelog based on model updates --- .changes/next-release/api-change-appsync-60690.json | 5 +++++ .changes/next-release/api-change-cleanrooms-258.json | 5 +++++ .changes/next-release/api-change-mediaconvert-81007.json | 5 +++++ .changes/next-release/api-change-route53-90231.json | 5 +++++ 4 files changed, 20 insertions(+) create mode 100644 .changes/next-release/api-change-appsync-60690.json create mode 100644 .changes/next-release/api-change-cleanrooms-258.json create mode 100644 .changes/next-release/api-change-mediaconvert-81007.json create mode 100644 .changes/next-release/api-change-route53-90231.json diff --git a/.changes/next-release/api-change-appsync-60690.json b/.changes/next-release/api-change-appsync-60690.json new file mode 100644 index 000000000000..5e32b2928442 --- /dev/null +++ b/.changes/next-release/api-change-appsync-60690.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``appsync``", + "description": "Providing Tagging support for DomainName in AppSync" +} diff --git a/.changes/next-release/api-change-cleanrooms-258.json b/.changes/next-release/api-change-cleanrooms-258.json new file mode 100644 index 000000000000..2542dccf210e --- /dev/null +++ b/.changes/next-release/api-change-cleanrooms-258.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``cleanrooms``", + "description": "This release adds support for PySpark jobs. Customers can now analyze data by running jobs using approved PySpark analysis templates." +} diff --git a/.changes/next-release/api-change-mediaconvert-81007.json b/.changes/next-release/api-change-mediaconvert-81007.json new file mode 100644 index 000000000000..b5459d7a93fa --- /dev/null +++ b/.changes/next-release/api-change-mediaconvert-81007.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``mediaconvert``", + "description": "This release adds support for AVC passthrough, the ability to specify PTS offset without padding, and an A/V segment matching feature." +} diff --git a/.changes/next-release/api-change-route53-90231.json b/.changes/next-release/api-change-route53-90231.json new file mode 100644 index 000000000000..e12fe9593ab2 --- /dev/null +++ b/.changes/next-release/api-change-route53-90231.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``route53``", + "description": "Amazon Route 53 now supports the iso-f regions for private DNS Amazon VPCs and cloudwatch healthchecks." +} From 69d17e430ae6f36f9c8e0353f6e3ea9bab5e57a8 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 18 Mar 2025 18:16:47 +0000 Subject: [PATCH 0518/1087] Bumping version to 1.38.15 --- .changes/1.38.15.json | 22 +++++++++++++++++++ .../api-change-appsync-60690.json | 5 ----- .../api-change-cleanrooms-258.json | 5 ----- .../api-change-mediaconvert-81007.json | 5 ----- .../api-change-route53-90231.json | 5 ----- CHANGELOG.rst | 9 ++++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 10 files changed, 35 insertions(+), 24 deletions(-) create mode 100644 .changes/1.38.15.json delete mode 100644 .changes/next-release/api-change-appsync-60690.json delete mode 100644 .changes/next-release/api-change-cleanrooms-258.json delete mode 100644 .changes/next-release/api-change-mediaconvert-81007.json delete mode 100644 .changes/next-release/api-change-route53-90231.json diff --git a/.changes/1.38.15.json b/.changes/1.38.15.json new file mode 100644 index 000000000000..566bbbd7ed03 --- /dev/null +++ b/.changes/1.38.15.json @@ -0,0 +1,22 @@ +[ + { + "category": "``appsync``", + "description": "Providing Tagging support for DomainName in AppSync", + "type": "api-change" + }, + { + "category": "``cleanrooms``", + "description": "This release adds support for PySpark jobs. Customers can now analyze data by running jobs using approved PySpark analysis templates.", + "type": "api-change" + }, + { + "category": "``mediaconvert``", + "description": "This release adds support for AVC passthrough, the ability to specify PTS offset without padding, and an A/V segment matching feature.", + "type": "api-change" + }, + { + "category": "``route53``", + "description": "Amazon Route 53 now supports the iso-f regions for private DNS Amazon VPCs and cloudwatch healthchecks.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-appsync-60690.json b/.changes/next-release/api-change-appsync-60690.json deleted file mode 100644 index 5e32b2928442..000000000000 --- a/.changes/next-release/api-change-appsync-60690.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``appsync``", - "description": "Providing Tagging support for DomainName in AppSync" -} diff --git a/.changes/next-release/api-change-cleanrooms-258.json b/.changes/next-release/api-change-cleanrooms-258.json deleted file mode 100644 index 2542dccf210e..000000000000 --- a/.changes/next-release/api-change-cleanrooms-258.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``cleanrooms``", - "description": "This release adds support for PySpark jobs. Customers can now analyze data by running jobs using approved PySpark analysis templates." -} diff --git a/.changes/next-release/api-change-mediaconvert-81007.json b/.changes/next-release/api-change-mediaconvert-81007.json deleted file mode 100644 index b5459d7a93fa..000000000000 --- a/.changes/next-release/api-change-mediaconvert-81007.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``mediaconvert``", - "description": "This release adds support for AVC passthrough, the ability to specify PTS offset without padding, and an A/V segment matching feature." -} diff --git a/.changes/next-release/api-change-route53-90231.json b/.changes/next-release/api-change-route53-90231.json deleted file mode 100644 index e12fe9593ab2..000000000000 --- a/.changes/next-release/api-change-route53-90231.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``route53``", - "description": "Amazon Route 53 now supports the iso-f regions for private DNS Amazon VPCs and cloudwatch healthchecks." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index c6ffa07e5b54..1ff4b99e6aef 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,15 @@ CHANGELOG ========= +1.38.15 +======= + +* api-change:``appsync``: Providing Tagging support for DomainName in AppSync +* api-change:``cleanrooms``: This release adds support for PySpark jobs. Customers can now analyze data by running jobs using approved PySpark analysis templates. +* api-change:``mediaconvert``: This release adds support for AVC passthrough, the ability to specify PTS offset without padding, and an A/V segment matching feature. +* api-change:``route53``: Amazon Route 53 now supports the iso-f regions for private DNS Amazon VPCs and cloudwatch healthchecks. + + 1.38.14 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index a843b2ee4713..ec5e16ce377b 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.38.14' +__version__ = '1.38.15' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index b94c89731387..4a6f6a11ebe1 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.38.' # The full version, including alpha/beta/rc tags. -release = '1.38.14' +release = '1.38.15' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index eb36fb6b74d4..7948ca95ab05 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.37.14 + botocore==1.37.15 docutils>=0.10,<0.17 s3transfer>=0.11.0,<0.12.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 2c44ce919ccf..91949019d0cb 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.37.14', + 'botocore==1.37.15', 'docutils>=0.10,<0.17', 's3transfer>=0.11.0,<0.12.0', 'PyYAML>=3.10,<6.1', From 09eacdcbf9507d9758add55db350bb19cc831e43 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 19 Mar 2025 18:50:15 +0000 Subject: [PATCH 0519/1087] Update changelog based on model updates --- .changes/next-release/api-change-bedrock-7059.json | 5 +++++ .changes/next-release/api-change-ec2-60450.json | 5 +++++ .changes/next-release/api-change-lambda-16214.json | 5 +++++ .changes/next-release/api-change-mediaconnect-20922.json | 5 +++++ .changes/next-release/api-change-neptunegraph-32551.json | 5 +++++ .changes/next-release/api-change-sagemaker-74087.json | 5 +++++ 6 files changed, 30 insertions(+) create mode 100644 .changes/next-release/api-change-bedrock-7059.json create mode 100644 .changes/next-release/api-change-ec2-60450.json create mode 100644 .changes/next-release/api-change-lambda-16214.json create mode 100644 .changes/next-release/api-change-mediaconnect-20922.json create mode 100644 .changes/next-release/api-change-neptunegraph-32551.json create mode 100644 .changes/next-release/api-change-sagemaker-74087.json diff --git a/.changes/next-release/api-change-bedrock-7059.json b/.changes/next-release/api-change-bedrock-7059.json new file mode 100644 index 000000000000..217fa4749f97 --- /dev/null +++ b/.changes/next-release/api-change-bedrock-7059.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock``", + "description": "Support custom prompt routers for evaluation jobs" +} diff --git a/.changes/next-release/api-change-ec2-60450.json b/.changes/next-release/api-change-ec2-60450.json new file mode 100644 index 000000000000..ab2805bdce18 --- /dev/null +++ b/.changes/next-release/api-change-ec2-60450.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ec2``", + "description": "Doc-only updates for EC2 for March 2025." +} diff --git a/.changes/next-release/api-change-lambda-16214.json b/.changes/next-release/api-change-lambda-16214.json new file mode 100644 index 000000000000..63bcf7d6b507 --- /dev/null +++ b/.changes/next-release/api-change-lambda-16214.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``lambda``", + "description": "Add Ruby 3.4 (ruby3.4) support to AWS Lambda." +} diff --git a/.changes/next-release/api-change-mediaconnect-20922.json b/.changes/next-release/api-change-mediaconnect-20922.json new file mode 100644 index 000000000000..86c23b09d222 --- /dev/null +++ b/.changes/next-release/api-change-mediaconnect-20922.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``mediaconnect``", + "description": "This release adds support for NDI flow outputs in AWS Elemental MediaConnect. You can now send content from your MediaConnect transport streams directly to your NDI environment using the new NDI output type." +} diff --git a/.changes/next-release/api-change-neptunegraph-32551.json b/.changes/next-release/api-change-neptunegraph-32551.json new file mode 100644 index 000000000000..ed37f78175ad --- /dev/null +++ b/.changes/next-release/api-change-neptunegraph-32551.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``neptune-graph``", + "description": "Update IAM Role ARN Validation to Support Role Paths" +} diff --git a/.changes/next-release/api-change-sagemaker-74087.json b/.changes/next-release/api-change-sagemaker-74087.json new file mode 100644 index 000000000000..24c15367c469 --- /dev/null +++ b/.changes/next-release/api-change-sagemaker-74087.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``sagemaker``", + "description": "Added support for g6, g6e, m6i, c6i instance types in SageMaker Processing Jobs." +} From 80d98d2b545fca632f65ac09fe3ea1580d9cb1a5 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 19 Mar 2025 18:51:50 +0000 Subject: [PATCH 0520/1087] Bumping version to 1.38.16 --- .changes/1.38.16.json | 32 +++++++++++++++++++ .../next-release/api-change-bedrock-7059.json | 5 --- .../next-release/api-change-ec2-60450.json | 5 --- .../next-release/api-change-lambda-16214.json | 5 --- .../api-change-mediaconnect-20922.json | 5 --- .../api-change-neptunegraph-32551.json | 5 --- .../api-change-sagemaker-74087.json | 5 --- CHANGELOG.rst | 11 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 12 files changed, 47 insertions(+), 34 deletions(-) create mode 100644 .changes/1.38.16.json delete mode 100644 .changes/next-release/api-change-bedrock-7059.json delete mode 100644 .changes/next-release/api-change-ec2-60450.json delete mode 100644 .changes/next-release/api-change-lambda-16214.json delete mode 100644 .changes/next-release/api-change-mediaconnect-20922.json delete mode 100644 .changes/next-release/api-change-neptunegraph-32551.json delete mode 100644 .changes/next-release/api-change-sagemaker-74087.json diff --git a/.changes/1.38.16.json b/.changes/1.38.16.json new file mode 100644 index 000000000000..b6b1731aba40 --- /dev/null +++ b/.changes/1.38.16.json @@ -0,0 +1,32 @@ +[ + { + "category": "``bedrock``", + "description": "Support custom prompt routers for evaluation jobs", + "type": "api-change" + }, + { + "category": "``ec2``", + "description": "Doc-only updates for EC2 for March 2025.", + "type": "api-change" + }, + { + "category": "``lambda``", + "description": "Add Ruby 3.4 (ruby3.4) support to AWS Lambda.", + "type": "api-change" + }, + { + "category": "``mediaconnect``", + "description": "This release adds support for NDI flow outputs in AWS Elemental MediaConnect. You can now send content from your MediaConnect transport streams directly to your NDI environment using the new NDI output type.", + "type": "api-change" + }, + { + "category": "``neptune-graph``", + "description": "Update IAM Role ARN Validation to Support Role Paths", + "type": "api-change" + }, + { + "category": "``sagemaker``", + "description": "Added support for g6, g6e, m6i, c6i instance types in SageMaker Processing Jobs.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-bedrock-7059.json b/.changes/next-release/api-change-bedrock-7059.json deleted file mode 100644 index 217fa4749f97..000000000000 --- a/.changes/next-release/api-change-bedrock-7059.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock``", - "description": "Support custom prompt routers for evaluation jobs" -} diff --git a/.changes/next-release/api-change-ec2-60450.json b/.changes/next-release/api-change-ec2-60450.json deleted file mode 100644 index ab2805bdce18..000000000000 --- a/.changes/next-release/api-change-ec2-60450.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ec2``", - "description": "Doc-only updates for EC2 for March 2025." -} diff --git a/.changes/next-release/api-change-lambda-16214.json b/.changes/next-release/api-change-lambda-16214.json deleted file mode 100644 index 63bcf7d6b507..000000000000 --- a/.changes/next-release/api-change-lambda-16214.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``lambda``", - "description": "Add Ruby 3.4 (ruby3.4) support to AWS Lambda." -} diff --git a/.changes/next-release/api-change-mediaconnect-20922.json b/.changes/next-release/api-change-mediaconnect-20922.json deleted file mode 100644 index 86c23b09d222..000000000000 --- a/.changes/next-release/api-change-mediaconnect-20922.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``mediaconnect``", - "description": "This release adds support for NDI flow outputs in AWS Elemental MediaConnect. You can now send content from your MediaConnect transport streams directly to your NDI environment using the new NDI output type." -} diff --git a/.changes/next-release/api-change-neptunegraph-32551.json b/.changes/next-release/api-change-neptunegraph-32551.json deleted file mode 100644 index ed37f78175ad..000000000000 --- a/.changes/next-release/api-change-neptunegraph-32551.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``neptune-graph``", - "description": "Update IAM Role ARN Validation to Support Role Paths" -} diff --git a/.changes/next-release/api-change-sagemaker-74087.json b/.changes/next-release/api-change-sagemaker-74087.json deleted file mode 100644 index 24c15367c469..000000000000 --- a/.changes/next-release/api-change-sagemaker-74087.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``sagemaker``", - "description": "Added support for g6, g6e, m6i, c6i instance types in SageMaker Processing Jobs." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 1ff4b99e6aef..295092c0a000 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,17 @@ CHANGELOG ========= +1.38.16 +======= + +* api-change:``bedrock``: Support custom prompt routers for evaluation jobs +* api-change:``ec2``: Doc-only updates for EC2 for March 2025. +* api-change:``lambda``: Add Ruby 3.4 (ruby3.4) support to AWS Lambda. +* api-change:``mediaconnect``: This release adds support for NDI flow outputs in AWS Elemental MediaConnect. You can now send content from your MediaConnect transport streams directly to your NDI environment using the new NDI output type. +* api-change:``neptune-graph``: Update IAM Role ARN Validation to Support Role Paths +* api-change:``sagemaker``: Added support for g6, g6e, m6i, c6i instance types in SageMaker Processing Jobs. + + 1.38.15 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index ec5e16ce377b..2a4aec3240e6 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.38.15' +__version__ = '1.38.16' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 4a6f6a11ebe1..75193b288769 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.38.' # The full version, including alpha/beta/rc tags. -release = '1.38.15' +release = '1.38.16' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 7948ca95ab05..213f02cd1533 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.37.15 + botocore==1.37.16 docutils>=0.10,<0.17 s3transfer>=0.11.0,<0.12.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 91949019d0cb..a19754af3183 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.37.15', + 'botocore==1.37.16', 'docutils>=0.10,<0.17', 's3transfer>=0.11.0,<0.12.0', 'PyYAML>=3.10,<6.1', From 56436b7aff193c0b7abb3402436f3d79abe40827 Mon Sep 17 00:00:00 2001 From: Andrew Johnston Date: Thu, 20 Mar 2025 05:35:04 -0800 Subject: [PATCH 0521/1087] Fix code highlighting typo in AWS CLI S3 Configuration documentation (#9389) --- awscli/topics/s3-config.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awscli/topics/s3-config.rst b/awscli/topics/s3-config.rst index b33f23681a86..9ca408919ecb 100644 --- a/awscli/topics/s3-config.rst +++ b/awscli/topics/s3-config.rst @@ -40,7 +40,7 @@ and ``aws s3api``: on your bucket before attempting to use the endpoint. This is mutually exclusive with the ``use_dualstack_endpoint`` option. * ``use_dualstack_endpoint`` - Use the Amazon S3 dual IPv4 / IPv6 endpoint for - all ``s3 `` and ``s3api`` commands. This is mutually exclusive with the + all ``s3`` and ``s3api`` commands. This is mutually exclusive with the ``use_accelerate_endpoint`` option. * ``addressing_style`` - Specifies which addressing style to use. This controls if the bucket name is in the hostname or part of the URL. Value values are: From 291bcb982397f98e0f501ad146a28104bed21e6c Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 20 Mar 2025 18:26:17 +0000 Subject: [PATCH 0522/1087] Update changelog based on model updates --- .changes/next-release/api-change-amplify-95319.json | 5 +++++ .changes/next-release/api-change-bedrock-18974.json | 5 +++++ .changes/next-release/api-change-controlcatalog-50798.json | 5 +++++ .changes/next-release/api-change-mailmanager-19769.json | 5 +++++ .changes/next-release/api-change-networkfirewall-73790.json | 5 +++++ 5 files changed, 25 insertions(+) create mode 100644 .changes/next-release/api-change-amplify-95319.json create mode 100644 .changes/next-release/api-change-bedrock-18974.json create mode 100644 .changes/next-release/api-change-controlcatalog-50798.json create mode 100644 .changes/next-release/api-change-mailmanager-19769.json create mode 100644 .changes/next-release/api-change-networkfirewall-73790.json diff --git a/.changes/next-release/api-change-amplify-95319.json b/.changes/next-release/api-change-amplify-95319.json new file mode 100644 index 000000000000..a36b8bca1e02 --- /dev/null +++ b/.changes/next-release/api-change-amplify-95319.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``amplify``", + "description": "Added appId field to Webhook responses" +} diff --git a/.changes/next-release/api-change-bedrock-18974.json b/.changes/next-release/api-change-bedrock-18974.json new file mode 100644 index 000000000000..fc08a9cc6af4 --- /dev/null +++ b/.changes/next-release/api-change-bedrock-18974.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock``", + "description": "With this release, Bedrock Evaluation will now support bring your own inference responses." +} diff --git a/.changes/next-release/api-change-controlcatalog-50798.json b/.changes/next-release/api-change-controlcatalog-50798.json new file mode 100644 index 000000000000..a55e3bc03c59 --- /dev/null +++ b/.changes/next-release/api-change-controlcatalog-50798.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``controlcatalog``", + "description": "Add ExemptAssumeRoot parameter to adapt for new AWS AssumeRoot capability." +} diff --git a/.changes/next-release/api-change-mailmanager-19769.json b/.changes/next-release/api-change-mailmanager-19769.json new file mode 100644 index 000000000000..e92855032fef --- /dev/null +++ b/.changes/next-release/api-change-mailmanager-19769.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``mailmanager``", + "description": "Amazon SES Mail Manager. Extended rule string and boolean expressions to support analysis in condition evaluation. Extended ingress point string expression to support analysis in condition evaluation" +} diff --git a/.changes/next-release/api-change-networkfirewall-73790.json b/.changes/next-release/api-change-networkfirewall-73790.json new file mode 100644 index 000000000000..e9e4522dab3f --- /dev/null +++ b/.changes/next-release/api-change-networkfirewall-73790.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``network-firewall``", + "description": "You can now use flow operations to either flush or capture traffic monitored in your firewall's flow table." +} From 1ed51e6298ebd0a0232d98490a19d4d771726f79 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 20 Mar 2025 18:27:33 +0000 Subject: [PATCH 0523/1087] Bumping version to 1.38.17 --- .changes/1.38.17.json | 27 +++++++++++++++++++ .../api-change-amplify-95319.json | 5 ---- .../api-change-bedrock-18974.json | 5 ---- .../api-change-controlcatalog-50798.json | 5 ---- .../api-change-mailmanager-19769.json | 5 ---- .../api-change-networkfirewall-73790.json | 5 ---- CHANGELOG.rst | 10 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 11 files changed, 41 insertions(+), 29 deletions(-) create mode 100644 .changes/1.38.17.json delete mode 100644 .changes/next-release/api-change-amplify-95319.json delete mode 100644 .changes/next-release/api-change-bedrock-18974.json delete mode 100644 .changes/next-release/api-change-controlcatalog-50798.json delete mode 100644 .changes/next-release/api-change-mailmanager-19769.json delete mode 100644 .changes/next-release/api-change-networkfirewall-73790.json diff --git a/.changes/1.38.17.json b/.changes/1.38.17.json new file mode 100644 index 000000000000..fbccd35af6e3 --- /dev/null +++ b/.changes/1.38.17.json @@ -0,0 +1,27 @@ +[ + { + "category": "``amplify``", + "description": "Added appId field to Webhook responses", + "type": "api-change" + }, + { + "category": "``bedrock``", + "description": "With this release, Bedrock Evaluation will now support bring your own inference responses.", + "type": "api-change" + }, + { + "category": "``controlcatalog``", + "description": "Add ExemptAssumeRoot parameter to adapt for new AWS AssumeRoot capability.", + "type": "api-change" + }, + { + "category": "``mailmanager``", + "description": "Amazon SES Mail Manager. Extended rule string and boolean expressions to support analysis in condition evaluation. Extended ingress point string expression to support analysis in condition evaluation", + "type": "api-change" + }, + { + "category": "``network-firewall``", + "description": "You can now use flow operations to either flush or capture traffic monitored in your firewall's flow table.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-amplify-95319.json b/.changes/next-release/api-change-amplify-95319.json deleted file mode 100644 index a36b8bca1e02..000000000000 --- a/.changes/next-release/api-change-amplify-95319.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``amplify``", - "description": "Added appId field to Webhook responses" -} diff --git a/.changes/next-release/api-change-bedrock-18974.json b/.changes/next-release/api-change-bedrock-18974.json deleted file mode 100644 index fc08a9cc6af4..000000000000 --- a/.changes/next-release/api-change-bedrock-18974.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock``", - "description": "With this release, Bedrock Evaluation will now support bring your own inference responses." -} diff --git a/.changes/next-release/api-change-controlcatalog-50798.json b/.changes/next-release/api-change-controlcatalog-50798.json deleted file mode 100644 index a55e3bc03c59..000000000000 --- a/.changes/next-release/api-change-controlcatalog-50798.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``controlcatalog``", - "description": "Add ExemptAssumeRoot parameter to adapt for new AWS AssumeRoot capability." -} diff --git a/.changes/next-release/api-change-mailmanager-19769.json b/.changes/next-release/api-change-mailmanager-19769.json deleted file mode 100644 index e92855032fef..000000000000 --- a/.changes/next-release/api-change-mailmanager-19769.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``mailmanager``", - "description": "Amazon SES Mail Manager. Extended rule string and boolean expressions to support analysis in condition evaluation. Extended ingress point string expression to support analysis in condition evaluation" -} diff --git a/.changes/next-release/api-change-networkfirewall-73790.json b/.changes/next-release/api-change-networkfirewall-73790.json deleted file mode 100644 index e9e4522dab3f..000000000000 --- a/.changes/next-release/api-change-networkfirewall-73790.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``network-firewall``", - "description": "You can now use flow operations to either flush or capture traffic monitored in your firewall's flow table." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 295092c0a000..ee7e5ce39f6c 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,16 @@ CHANGELOG ========= +1.38.17 +======= + +* api-change:``amplify``: Added appId field to Webhook responses +* api-change:``bedrock``: With this release, Bedrock Evaluation will now support bring your own inference responses. +* api-change:``controlcatalog``: Add ExemptAssumeRoot parameter to adapt for new AWS AssumeRoot capability. +* api-change:``mailmanager``: Amazon SES Mail Manager. Extended rule string and boolean expressions to support analysis in condition evaluation. Extended ingress point string expression to support analysis in condition evaluation +* api-change:``network-firewall``: You can now use flow operations to either flush or capture traffic monitored in your firewall's flow table. + + 1.38.16 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 2a4aec3240e6..686c05f58c18 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.38.16' +__version__ = '1.38.17' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 75193b288769..63165f4df8a2 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.38.' # The full version, including alpha/beta/rc tags. -release = '1.38.16' +release = '1.38.17' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 213f02cd1533..af2e94f19202 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.37.16 + botocore==1.37.17 docutils>=0.10,<0.17 s3transfer>=0.11.0,<0.12.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index a19754af3183..50545be5645b 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.37.16', + 'botocore==1.37.17', 'docutils>=0.10,<0.17', 's3transfer>=0.11.0,<0.12.0', 'PyYAML>=3.10,<6.1', From 6247d4c026896adac2828d6225e1f44c517f568e Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 21 Mar 2025 18:10:56 +0000 Subject: [PATCH 0524/1087] Update changelog based on model updates --- .changes/next-release/api-change-bedrock-75350.json | 5 +++++ .changes/next-release/api-change-datazone-1177.json | 5 +++++ .../api-change-route53recoverycontrolconfig-10001.json | 5 +++++ .changes/next-release/api-change-sagemaker-74371.json | 5 +++++ 4 files changed, 20 insertions(+) create mode 100644 .changes/next-release/api-change-bedrock-75350.json create mode 100644 .changes/next-release/api-change-datazone-1177.json create mode 100644 .changes/next-release/api-change-route53recoverycontrolconfig-10001.json create mode 100644 .changes/next-release/api-change-sagemaker-74371.json diff --git a/.changes/next-release/api-change-bedrock-75350.json b/.changes/next-release/api-change-bedrock-75350.json new file mode 100644 index 000000000000..9a20acf39564 --- /dev/null +++ b/.changes/next-release/api-change-bedrock-75350.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock``", + "description": "A CustomModelUnit(CMU) is an abstract view of the hardware utilization that Bedrock needs to host a a single copy of your custom imported model. Bedrock determines the number of CMUs that a model copy needs when you import the custom model. You can use CMUs to estimate the cost of Inference's." +} diff --git a/.changes/next-release/api-change-datazone-1177.json b/.changes/next-release/api-change-datazone-1177.json new file mode 100644 index 000000000000..b801917d2e4b --- /dev/null +++ b/.changes/next-release/api-change-datazone-1177.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``datazone``", + "description": "Add support for overriding selection of default AWS IAM Identity Center instance as part of Amazon DataZone domain APIs." +} diff --git a/.changes/next-release/api-change-route53recoverycontrolconfig-10001.json b/.changes/next-release/api-change-route53recoverycontrolconfig-10001.json new file mode 100644 index 000000000000..b4752e62533a --- /dev/null +++ b/.changes/next-release/api-change-route53recoverycontrolconfig-10001.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``route53-recovery-control-config``", + "description": "Adds dual-stack (IPv4 and IPv6) endpoint support for route53-recovery-control-config operations, opt-in dual-stack addresses for cluster endpoints, and UpdateCluster API to update the network-type of clusters between IPv4 and dual-stack." +} diff --git a/.changes/next-release/api-change-sagemaker-74371.json b/.changes/next-release/api-change-sagemaker-74371.json new file mode 100644 index 000000000000..4b091bb86d24 --- /dev/null +++ b/.changes/next-release/api-change-sagemaker-74371.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``sagemaker``", + "description": "This release does the following: 1.) Adds DurationHours as a required field to the SearchTrainingPlanOfferings action in the SageMaker AI API; 2.) Adds support for G6e instance types for SageMaker AI inference optimization jobs." +} From 0f082caa21509614fbdfea6294efdeb7838e98a5 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 21 Mar 2025 18:12:22 +0000 Subject: [PATCH 0525/1087] Bumping version to 1.38.18 --- .changes/1.38.18.json | 22 +++++++++++++++++++ .../api-change-bedrock-75350.json | 5 ----- .../api-change-datazone-1177.json | 5 ----- ...ge-route53recoverycontrolconfig-10001.json | 5 ----- .../api-change-sagemaker-74371.json | 5 ----- CHANGELOG.rst | 9 ++++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 10 files changed, 35 insertions(+), 24 deletions(-) create mode 100644 .changes/1.38.18.json delete mode 100644 .changes/next-release/api-change-bedrock-75350.json delete mode 100644 .changes/next-release/api-change-datazone-1177.json delete mode 100644 .changes/next-release/api-change-route53recoverycontrolconfig-10001.json delete mode 100644 .changes/next-release/api-change-sagemaker-74371.json diff --git a/.changes/1.38.18.json b/.changes/1.38.18.json new file mode 100644 index 000000000000..23b5c7a4eb88 --- /dev/null +++ b/.changes/1.38.18.json @@ -0,0 +1,22 @@ +[ + { + "category": "``bedrock``", + "description": "A CustomModelUnit(CMU) is an abstract view of the hardware utilization that Bedrock needs to host a a single copy of your custom imported model. Bedrock determines the number of CMUs that a model copy needs when you import the custom model. You can use CMUs to estimate the cost of Inference's.", + "type": "api-change" + }, + { + "category": "``datazone``", + "description": "Add support for overriding selection of default AWS IAM Identity Center instance as part of Amazon DataZone domain APIs.", + "type": "api-change" + }, + { + "category": "``route53-recovery-control-config``", + "description": "Adds dual-stack (IPv4 and IPv6) endpoint support for route53-recovery-control-config operations, opt-in dual-stack addresses for cluster endpoints, and UpdateCluster API to update the network-type of clusters between IPv4 and dual-stack.", + "type": "api-change" + }, + { + "category": "``sagemaker``", + "description": "This release does the following: 1.) Adds DurationHours as a required field to the SearchTrainingPlanOfferings action in the SageMaker AI API; 2.) Adds support for G6e instance types for SageMaker AI inference optimization jobs.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-bedrock-75350.json b/.changes/next-release/api-change-bedrock-75350.json deleted file mode 100644 index 9a20acf39564..000000000000 --- a/.changes/next-release/api-change-bedrock-75350.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock``", - "description": "A CustomModelUnit(CMU) is an abstract view of the hardware utilization that Bedrock needs to host a a single copy of your custom imported model. Bedrock determines the number of CMUs that a model copy needs when you import the custom model. You can use CMUs to estimate the cost of Inference's." -} diff --git a/.changes/next-release/api-change-datazone-1177.json b/.changes/next-release/api-change-datazone-1177.json deleted file mode 100644 index b801917d2e4b..000000000000 --- a/.changes/next-release/api-change-datazone-1177.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``datazone``", - "description": "Add support for overriding selection of default AWS IAM Identity Center instance as part of Amazon DataZone domain APIs." -} diff --git a/.changes/next-release/api-change-route53recoverycontrolconfig-10001.json b/.changes/next-release/api-change-route53recoverycontrolconfig-10001.json deleted file mode 100644 index b4752e62533a..000000000000 --- a/.changes/next-release/api-change-route53recoverycontrolconfig-10001.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``route53-recovery-control-config``", - "description": "Adds dual-stack (IPv4 and IPv6) endpoint support for route53-recovery-control-config operations, opt-in dual-stack addresses for cluster endpoints, and UpdateCluster API to update the network-type of clusters between IPv4 and dual-stack." -} diff --git a/.changes/next-release/api-change-sagemaker-74371.json b/.changes/next-release/api-change-sagemaker-74371.json deleted file mode 100644 index 4b091bb86d24..000000000000 --- a/.changes/next-release/api-change-sagemaker-74371.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``sagemaker``", - "description": "This release does the following: 1.) Adds DurationHours as a required field to the SearchTrainingPlanOfferings action in the SageMaker AI API; 2.) Adds support for G6e instance types for SageMaker AI inference optimization jobs." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index ee7e5ce39f6c..d847e2d38ff3 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,15 @@ CHANGELOG ========= +1.38.18 +======= + +* api-change:``bedrock``: A CustomModelUnit(CMU) is an abstract view of the hardware utilization that Bedrock needs to host a a single copy of your custom imported model. Bedrock determines the number of CMUs that a model copy needs when you import the custom model. You can use CMUs to estimate the cost of Inference's. +* api-change:``datazone``: Add support for overriding selection of default AWS IAM Identity Center instance as part of Amazon DataZone domain APIs. +* api-change:``route53-recovery-control-config``: Adds dual-stack (IPv4 and IPv6) endpoint support for route53-recovery-control-config operations, opt-in dual-stack addresses for cluster endpoints, and UpdateCluster API to update the network-type of clusters between IPv4 and dual-stack. +* api-change:``sagemaker``: This release does the following: 1.) Adds DurationHours as a required field to the SearchTrainingPlanOfferings action in the SageMaker AI API; 2.) Adds support for G6e instance types for SageMaker AI inference optimization jobs. + + 1.38.17 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 686c05f58c18..ef2756251990 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.38.17' +__version__ = '1.38.18' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 63165f4df8a2..4477f616045a 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.38.' # The full version, including alpha/beta/rc tags. -release = '1.38.17' +release = '1.38.18' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index af2e94f19202..74c3e709783c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.37.17 + botocore==1.37.18 docutils>=0.10,<0.17 s3transfer>=0.11.0,<0.12.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 50545be5645b..17d52537f6a3 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.37.17', + 'botocore==1.37.18', 'docutils>=0.10,<0.17', 's3transfer>=0.11.0,<0.12.0', 'PyYAML>=3.10,<6.1', From 1a29c12d1a984082e60ac4fe81eb163c12b91b0e Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 24 Mar 2025 18:05:21 +0000 Subject: [PATCH 0526/1087] Update changelog based on model updates --- .changes/next-release/api-change-iotwireless-47940.json | 5 +++++ .changes/next-release/api-change-pcs-86191.json | 5 +++++ .changes/next-release/api-change-qconnect-78206.json | 5 +++++ .changes/next-release/api-change-ssm-36770.json | 5 +++++ 4 files changed, 20 insertions(+) create mode 100644 .changes/next-release/api-change-iotwireless-47940.json create mode 100644 .changes/next-release/api-change-pcs-86191.json create mode 100644 .changes/next-release/api-change-qconnect-78206.json create mode 100644 .changes/next-release/api-change-ssm-36770.json diff --git a/.changes/next-release/api-change-iotwireless-47940.json b/.changes/next-release/api-change-iotwireless-47940.json new file mode 100644 index 000000000000..311aec6f2ad7 --- /dev/null +++ b/.changes/next-release/api-change-iotwireless-47940.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``iotwireless``", + "description": "Mark EutranCid under LteNmr optional." +} diff --git a/.changes/next-release/api-change-pcs-86191.json b/.changes/next-release/api-change-pcs-86191.json new file mode 100644 index 000000000000..ad426b4bc89c --- /dev/null +++ b/.changes/next-release/api-change-pcs-86191.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``pcs``", + "description": "ClusterName/ClusterIdentifier, ComputeNodeGroupName/ComputeNodeGroupIdentifier, and QueueName/QueueIdentifier can now have 10 characters, and a minimum of 3 characters. The TagResource API action can now return ServiceQuotaExceededException." +} diff --git a/.changes/next-release/api-change-qconnect-78206.json b/.changes/next-release/api-change-qconnect-78206.json new file mode 100644 index 000000000000..e7db2eba7f22 --- /dev/null +++ b/.changes/next-release/api-change-qconnect-78206.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``qconnect``", + "description": "Provides the correct value for supported model ID." +} diff --git a/.changes/next-release/api-change-ssm-36770.json b/.changes/next-release/api-change-ssm-36770.json new file mode 100644 index 000000000000..3e1ce94671f0 --- /dev/null +++ b/.changes/next-release/api-change-ssm-36770.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ssm``", + "description": "This release adds the AvailableSecurityUpdatesComplianceStatus field to patch baseline operations, as well as the AvailableSecurityUpdateCount and InstancesWithAvailableSecurityUpdates to patch state operations. Applies to Windows Server managed nodes only." +} From 095bc57a7886f94e66cca3c72143758f7d5e39f4 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 24 Mar 2025 18:06:54 +0000 Subject: [PATCH 0527/1087] Bumping version to 1.38.19 --- .changes/1.38.19.json | 22 +++++++++++++++++++ .../api-change-iotwireless-47940.json | 5 ----- .../next-release/api-change-pcs-86191.json | 5 ----- .../api-change-qconnect-78206.json | 5 ----- .../next-release/api-change-ssm-36770.json | 5 ----- CHANGELOG.rst | 9 ++++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 10 files changed, 35 insertions(+), 24 deletions(-) create mode 100644 .changes/1.38.19.json delete mode 100644 .changes/next-release/api-change-iotwireless-47940.json delete mode 100644 .changes/next-release/api-change-pcs-86191.json delete mode 100644 .changes/next-release/api-change-qconnect-78206.json delete mode 100644 .changes/next-release/api-change-ssm-36770.json diff --git a/.changes/1.38.19.json b/.changes/1.38.19.json new file mode 100644 index 000000000000..313091b1b9f2 --- /dev/null +++ b/.changes/1.38.19.json @@ -0,0 +1,22 @@ +[ + { + "category": "``iotwireless``", + "description": "Mark EutranCid under LteNmr optional.", + "type": "api-change" + }, + { + "category": "``pcs``", + "description": "ClusterName/ClusterIdentifier, ComputeNodeGroupName/ComputeNodeGroupIdentifier, and QueueName/QueueIdentifier can now have 10 characters, and a minimum of 3 characters. The TagResource API action can now return ServiceQuotaExceededException.", + "type": "api-change" + }, + { + "category": "``qconnect``", + "description": "Provides the correct value for supported model ID.", + "type": "api-change" + }, + { + "category": "``ssm``", + "description": "This release adds the AvailableSecurityUpdatesComplianceStatus field to patch baseline operations, as well as the AvailableSecurityUpdateCount and InstancesWithAvailableSecurityUpdates to patch state operations. Applies to Windows Server managed nodes only.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-iotwireless-47940.json b/.changes/next-release/api-change-iotwireless-47940.json deleted file mode 100644 index 311aec6f2ad7..000000000000 --- a/.changes/next-release/api-change-iotwireless-47940.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``iotwireless``", - "description": "Mark EutranCid under LteNmr optional." -} diff --git a/.changes/next-release/api-change-pcs-86191.json b/.changes/next-release/api-change-pcs-86191.json deleted file mode 100644 index ad426b4bc89c..000000000000 --- a/.changes/next-release/api-change-pcs-86191.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``pcs``", - "description": "ClusterName/ClusterIdentifier, ComputeNodeGroupName/ComputeNodeGroupIdentifier, and QueueName/QueueIdentifier can now have 10 characters, and a minimum of 3 characters. The TagResource API action can now return ServiceQuotaExceededException." -} diff --git a/.changes/next-release/api-change-qconnect-78206.json b/.changes/next-release/api-change-qconnect-78206.json deleted file mode 100644 index e7db2eba7f22..000000000000 --- a/.changes/next-release/api-change-qconnect-78206.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``qconnect``", - "description": "Provides the correct value for supported model ID." -} diff --git a/.changes/next-release/api-change-ssm-36770.json b/.changes/next-release/api-change-ssm-36770.json deleted file mode 100644 index 3e1ce94671f0..000000000000 --- a/.changes/next-release/api-change-ssm-36770.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ssm``", - "description": "This release adds the AvailableSecurityUpdatesComplianceStatus field to patch baseline operations, as well as the AvailableSecurityUpdateCount and InstancesWithAvailableSecurityUpdates to patch state operations. Applies to Windows Server managed nodes only." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index d847e2d38ff3..a940c4fe8e68 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,15 @@ CHANGELOG ========= +1.38.19 +======= + +* api-change:``iotwireless``: Mark EutranCid under LteNmr optional. +* api-change:``pcs``: ClusterName/ClusterIdentifier, ComputeNodeGroupName/ComputeNodeGroupIdentifier, and QueueName/QueueIdentifier can now have 10 characters, and a minimum of 3 characters. The TagResource API action can now return ServiceQuotaExceededException. +* api-change:``qconnect``: Provides the correct value for supported model ID. +* api-change:``ssm``: This release adds the AvailableSecurityUpdatesComplianceStatus field to patch baseline operations, as well as the AvailableSecurityUpdateCount and InstancesWithAvailableSecurityUpdates to patch state operations. Applies to Windows Server managed nodes only. + + 1.38.18 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index ef2756251990..18cf7977760c 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.38.18' +__version__ = '1.38.19' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 4477f616045a..88ac2b20e60e 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.38.' # The full version, including alpha/beta/rc tags. -release = '1.38.18' +release = '1.38.19' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 74c3e709783c..54aa44f414f0 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.37.18 + botocore==1.37.19 docutils>=0.10,<0.17 s3transfer>=0.11.0,<0.12.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 17d52537f6a3..abf2edd14248 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.37.18', + 'botocore==1.37.19', 'docutils>=0.10,<0.17', 's3transfer>=0.11.0,<0.12.0', 'PyYAML>=3.10,<6.1', From 155750c166092443a44fd3bf3bd5b623fc0605ef Mon Sep 17 00:00:00 2001 From: Andrew Asseily <77591070+AndrewAsseily@users.noreply.github.com> Date: Tue, 25 Mar 2025 11:34:45 -0400 Subject: [PATCH 0528/1087] Remove reference to Python version v1 (#9397) * Remove reference to Python version * Fit to length constraints --- doc/README.rst | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/doc/README.rst b/doc/README.rst index 57cda6de96b8..efacdaf7da04 100644 --- a/doc/README.rst +++ b/doc/README.rst @@ -2,10 +2,9 @@ Building The Documentation ========================== -Before building the documentation, make sure you have Python 3.7, -the awscli, and all the necessary dependencies installed. You can -install dependencies by using the requirements-docs.txt file at the -root of this repo:: +Before building the documentation, ensure you have the AWS CLI and +necessary dependencies installed. You can install dependencies by +using the requirements-docs.txt file at the root of this repo:: pip install -r requirements-docs.txt From 9856adee105a9a344959434b7ffeffb45ceb027d Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 25 Mar 2025 18:05:50 +0000 Subject: [PATCH 0529/1087] Update changelog based on model updates --- .changes/next-release/api-change-bedrockagent-1308.json | 5 +++++ .changes/next-release/api-change-eks-59067.json | 5 +++++ .changes/next-release/api-change-gameliftstreams-50375.json | 5 +++++ .changes/next-release/api-change-keyspaces-58785.json | 5 +++++ .../api-change-marketplaceentitlement-91869.json | 5 +++++ .../next-release/api-change-meteringmarketplace-25499.json | 5 +++++ .changes/next-release/api-change-sagemaker-66342.json | 5 +++++ .../next-release/api-change-workspacesthinclient-15179.json | 5 +++++ 8 files changed, 40 insertions(+) create mode 100644 .changes/next-release/api-change-bedrockagent-1308.json create mode 100644 .changes/next-release/api-change-eks-59067.json create mode 100644 .changes/next-release/api-change-gameliftstreams-50375.json create mode 100644 .changes/next-release/api-change-keyspaces-58785.json create mode 100644 .changes/next-release/api-change-marketplaceentitlement-91869.json create mode 100644 .changes/next-release/api-change-meteringmarketplace-25499.json create mode 100644 .changes/next-release/api-change-sagemaker-66342.json create mode 100644 .changes/next-release/api-change-workspacesthinclient-15179.json diff --git a/.changes/next-release/api-change-bedrockagent-1308.json b/.changes/next-release/api-change-bedrockagent-1308.json new file mode 100644 index 000000000000..8b86bc346c0d --- /dev/null +++ b/.changes/next-release/api-change-bedrockagent-1308.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-agent``", + "description": "Adding support for Amazon OpenSearch Managed clusters as a vector database in Knowledge Bases for Amazon Bedrock" +} diff --git a/.changes/next-release/api-change-eks-59067.json b/.changes/next-release/api-change-eks-59067.json new file mode 100644 index 000000000000..7d2f0afaf910 --- /dev/null +++ b/.changes/next-release/api-change-eks-59067.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``eks``", + "description": "Added support to override upgrade-blocking readiness checks via force flag when updating a cluster." +} diff --git a/.changes/next-release/api-change-gameliftstreams-50375.json b/.changes/next-release/api-change-gameliftstreams-50375.json new file mode 100644 index 000000000000..3e8da911ebc7 --- /dev/null +++ b/.changes/next-release/api-change-gameliftstreams-50375.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``gameliftstreams``", + "description": "Minor updates to improve developer experience." +} diff --git a/.changes/next-release/api-change-keyspaces-58785.json b/.changes/next-release/api-change-keyspaces-58785.json new file mode 100644 index 000000000000..6bc9f25ec612 --- /dev/null +++ b/.changes/next-release/api-change-keyspaces-58785.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``keyspaces``", + "description": "Removing replication region limitation for Amazon Keyspaces Multi-Region Replication APIs." +} diff --git a/.changes/next-release/api-change-marketplaceentitlement-91869.json b/.changes/next-release/api-change-marketplaceentitlement-91869.json new file mode 100644 index 000000000000..f944a27f0801 --- /dev/null +++ b/.changes/next-release/api-change-marketplaceentitlement-91869.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``marketplace-entitlement``", + "description": "This release enhances the GetEntitlements API to support new filter CUSTOMER_AWS_ACCOUNT_ID in request and CustomerAWSAccountId field in response." +} diff --git a/.changes/next-release/api-change-meteringmarketplace-25499.json b/.changes/next-release/api-change-meteringmarketplace-25499.json new file mode 100644 index 000000000000..25ac3b405ebc --- /dev/null +++ b/.changes/next-release/api-change-meteringmarketplace-25499.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``meteringmarketplace``", + "description": "This release enhances the BatchMeterUsage API to support new field CustomerAWSAccountId in request and response and making CustomerIdentifier optional. CustomerAWSAccountId or CustomerIdentifier must be provided in request but not both." +} diff --git a/.changes/next-release/api-change-sagemaker-66342.json b/.changes/next-release/api-change-sagemaker-66342.json new file mode 100644 index 000000000000..d6b7f4a67dc1 --- /dev/null +++ b/.changes/next-release/api-change-sagemaker-66342.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``sagemaker``", + "description": "This release adds support for customer-managed KMS keys in Amazon SageMaker Partner AI Apps" +} diff --git a/.changes/next-release/api-change-workspacesthinclient-15179.json b/.changes/next-release/api-change-workspacesthinclient-15179.json new file mode 100644 index 000000000000..a52a05763779 --- /dev/null +++ b/.changes/next-release/api-change-workspacesthinclient-15179.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``workspaces-thin-client``", + "description": "Deprecate tags field in Get API responses" +} From b7da0662bbe84f1144b9bb5e7d98318b294dd073 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 25 Mar 2025 18:07:09 +0000 Subject: [PATCH 0530/1087] Bumping version to 1.38.20 --- .changes/1.38.20.json | 42 +++++++++++++++++++ .../api-change-bedrockagent-1308.json | 5 --- .../next-release/api-change-eks-59067.json | 5 --- .../api-change-gameliftstreams-50375.json | 5 --- .../api-change-keyspaces-58785.json | 5 --- ...i-change-marketplaceentitlement-91869.json | 5 --- .../api-change-meteringmarketplace-25499.json | 5 --- .../api-change-sagemaker-66342.json | 5 --- ...api-change-workspacesthinclient-15179.json | 5 --- CHANGELOG.rst | 13 ++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 14 files changed, 59 insertions(+), 44 deletions(-) create mode 100644 .changes/1.38.20.json delete mode 100644 .changes/next-release/api-change-bedrockagent-1308.json delete mode 100644 .changes/next-release/api-change-eks-59067.json delete mode 100644 .changes/next-release/api-change-gameliftstreams-50375.json delete mode 100644 .changes/next-release/api-change-keyspaces-58785.json delete mode 100644 .changes/next-release/api-change-marketplaceentitlement-91869.json delete mode 100644 .changes/next-release/api-change-meteringmarketplace-25499.json delete mode 100644 .changes/next-release/api-change-sagemaker-66342.json delete mode 100644 .changes/next-release/api-change-workspacesthinclient-15179.json diff --git a/.changes/1.38.20.json b/.changes/1.38.20.json new file mode 100644 index 000000000000..7083ad6fba47 --- /dev/null +++ b/.changes/1.38.20.json @@ -0,0 +1,42 @@ +[ + { + "category": "``bedrock-agent``", + "description": "Adding support for Amazon OpenSearch Managed clusters as a vector database in Knowledge Bases for Amazon Bedrock", + "type": "api-change" + }, + { + "category": "``eks``", + "description": "Added support to override upgrade-blocking readiness checks via force flag when updating a cluster.", + "type": "api-change" + }, + { + "category": "``gameliftstreams``", + "description": "Minor updates to improve developer experience.", + "type": "api-change" + }, + { + "category": "``keyspaces``", + "description": "Removing replication region limitation for Amazon Keyspaces Multi-Region Replication APIs.", + "type": "api-change" + }, + { + "category": "``marketplace-entitlement``", + "description": "This release enhances the GetEntitlements API to support new filter CUSTOMER_AWS_ACCOUNT_ID in request and CustomerAWSAccountId field in response.", + "type": "api-change" + }, + { + "category": "``meteringmarketplace``", + "description": "This release enhances the BatchMeterUsage API to support new field CustomerAWSAccountId in request and response and making CustomerIdentifier optional. CustomerAWSAccountId or CustomerIdentifier must be provided in request but not both.", + "type": "api-change" + }, + { + "category": "``sagemaker``", + "description": "This release adds support for customer-managed KMS keys in Amazon SageMaker Partner AI Apps", + "type": "api-change" + }, + { + "category": "``workspaces-thin-client``", + "description": "Deprecate tags field in Get API responses", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-bedrockagent-1308.json b/.changes/next-release/api-change-bedrockagent-1308.json deleted file mode 100644 index 8b86bc346c0d..000000000000 --- a/.changes/next-release/api-change-bedrockagent-1308.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-agent``", - "description": "Adding support for Amazon OpenSearch Managed clusters as a vector database in Knowledge Bases for Amazon Bedrock" -} diff --git a/.changes/next-release/api-change-eks-59067.json b/.changes/next-release/api-change-eks-59067.json deleted file mode 100644 index 7d2f0afaf910..000000000000 --- a/.changes/next-release/api-change-eks-59067.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``eks``", - "description": "Added support to override upgrade-blocking readiness checks via force flag when updating a cluster." -} diff --git a/.changes/next-release/api-change-gameliftstreams-50375.json b/.changes/next-release/api-change-gameliftstreams-50375.json deleted file mode 100644 index 3e8da911ebc7..000000000000 --- a/.changes/next-release/api-change-gameliftstreams-50375.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``gameliftstreams``", - "description": "Minor updates to improve developer experience." -} diff --git a/.changes/next-release/api-change-keyspaces-58785.json b/.changes/next-release/api-change-keyspaces-58785.json deleted file mode 100644 index 6bc9f25ec612..000000000000 --- a/.changes/next-release/api-change-keyspaces-58785.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``keyspaces``", - "description": "Removing replication region limitation for Amazon Keyspaces Multi-Region Replication APIs." -} diff --git a/.changes/next-release/api-change-marketplaceentitlement-91869.json b/.changes/next-release/api-change-marketplaceentitlement-91869.json deleted file mode 100644 index f944a27f0801..000000000000 --- a/.changes/next-release/api-change-marketplaceentitlement-91869.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``marketplace-entitlement``", - "description": "This release enhances the GetEntitlements API to support new filter CUSTOMER_AWS_ACCOUNT_ID in request and CustomerAWSAccountId field in response." -} diff --git a/.changes/next-release/api-change-meteringmarketplace-25499.json b/.changes/next-release/api-change-meteringmarketplace-25499.json deleted file mode 100644 index 25ac3b405ebc..000000000000 --- a/.changes/next-release/api-change-meteringmarketplace-25499.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``meteringmarketplace``", - "description": "This release enhances the BatchMeterUsage API to support new field CustomerAWSAccountId in request and response and making CustomerIdentifier optional. CustomerAWSAccountId or CustomerIdentifier must be provided in request but not both." -} diff --git a/.changes/next-release/api-change-sagemaker-66342.json b/.changes/next-release/api-change-sagemaker-66342.json deleted file mode 100644 index d6b7f4a67dc1..000000000000 --- a/.changes/next-release/api-change-sagemaker-66342.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``sagemaker``", - "description": "This release adds support for customer-managed KMS keys in Amazon SageMaker Partner AI Apps" -} diff --git a/.changes/next-release/api-change-workspacesthinclient-15179.json b/.changes/next-release/api-change-workspacesthinclient-15179.json deleted file mode 100644 index a52a05763779..000000000000 --- a/.changes/next-release/api-change-workspacesthinclient-15179.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``workspaces-thin-client``", - "description": "Deprecate tags field in Get API responses" -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index a940c4fe8e68..8810ddcf0124 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,19 @@ CHANGELOG ========= +1.38.20 +======= + +* api-change:``bedrock-agent``: Adding support for Amazon OpenSearch Managed clusters as a vector database in Knowledge Bases for Amazon Bedrock +* api-change:``eks``: Added support to override upgrade-blocking readiness checks via force flag when updating a cluster. +* api-change:``gameliftstreams``: Minor updates to improve developer experience. +* api-change:``keyspaces``: Removing replication region limitation for Amazon Keyspaces Multi-Region Replication APIs. +* api-change:``marketplace-entitlement``: This release enhances the GetEntitlements API to support new filter CUSTOMER_AWS_ACCOUNT_ID in request and CustomerAWSAccountId field in response. +* api-change:``meteringmarketplace``: This release enhances the BatchMeterUsage API to support new field CustomerAWSAccountId in request and response and making CustomerIdentifier optional. CustomerAWSAccountId or CustomerIdentifier must be provided in request but not both. +* api-change:``sagemaker``: This release adds support for customer-managed KMS keys in Amazon SageMaker Partner AI Apps +* api-change:``workspaces-thin-client``: Deprecate tags field in Get API responses + + 1.38.19 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 18cf7977760c..2da4ace021f0 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.38.19' +__version__ = '1.38.20' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 88ac2b20e60e..b51a58016077 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.38.' # The full version, including alpha/beta/rc tags. -release = '1.38.19' +release = '1.38.20' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 54aa44f414f0..2da8eef19d5f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.37.19 + botocore==1.37.20 docutils>=0.10,<0.17 s3transfer>=0.11.0,<0.12.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index abf2edd14248..5d57e3dc1a45 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.37.19', + 'botocore==1.37.20', 'docutils>=0.10,<0.17', 's3transfer>=0.11.0,<0.12.0', 'PyYAML>=3.10,<6.1', From 362abc7efd8e77362382431734257a8d4c8d21c6 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 26 Mar 2025 19:03:43 +0000 Subject: [PATCH 0531/1087] Update changelog based on model updates --- .changes/next-release/api-change-arczonalshift-69578.json | 5 +++++ .changes/next-release/api-change-directconnect-60395.json | 5 +++++ .changes/next-release/api-change-mediaconvert-4181.json | 5 +++++ .changes/next-release/api-change-mediatailor-88186.json | 5 +++++ .changes/next-release/api-change-polly-40624.json | 5 +++++ .changes/next-release/api-change-rds-62688.json | 5 +++++ .changes/next-release/api-change-wafv2-53166.json | 5 +++++ 7 files changed, 35 insertions(+) create mode 100644 .changes/next-release/api-change-arczonalshift-69578.json create mode 100644 .changes/next-release/api-change-directconnect-60395.json create mode 100644 .changes/next-release/api-change-mediaconvert-4181.json create mode 100644 .changes/next-release/api-change-mediatailor-88186.json create mode 100644 .changes/next-release/api-change-polly-40624.json create mode 100644 .changes/next-release/api-change-rds-62688.json create mode 100644 .changes/next-release/api-change-wafv2-53166.json diff --git a/.changes/next-release/api-change-arczonalshift-69578.json b/.changes/next-release/api-change-arczonalshift-69578.json new file mode 100644 index 000000000000..a4ad8b041659 --- /dev/null +++ b/.changes/next-release/api-change-arczonalshift-69578.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``arc-zonal-shift``", + "description": "Add new shiftType field for ARC zonal shifts." +} diff --git a/.changes/next-release/api-change-directconnect-60395.json b/.changes/next-release/api-change-directconnect-60395.json new file mode 100644 index 000000000000..d0ca564dfe1a --- /dev/null +++ b/.changes/next-release/api-change-directconnect-60395.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``directconnect``", + "description": "With this release, AWS Direct Connect allows you to tag your Direct Connect gateways. Tags are metadata that you can create and use to manage your Direct Connect gateways. For more information about tagging, see AWS Tagging Strategies." +} diff --git a/.changes/next-release/api-change-mediaconvert-4181.json b/.changes/next-release/api-change-mediaconvert-4181.json new file mode 100644 index 000000000000..8226c00ceac6 --- /dev/null +++ b/.changes/next-release/api-change-mediaconvert-4181.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``mediaconvert``", + "description": "This release adds a configurable Quality Level setting for the top rendition of Auto ABR jobs" +} diff --git a/.changes/next-release/api-change-mediatailor-88186.json b/.changes/next-release/api-change-mediatailor-88186.json new file mode 100644 index 000000000000..5f079b05513c --- /dev/null +++ b/.changes/next-release/api-change-mediatailor-88186.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``mediatailor``", + "description": "Add support for log filtering which allow customers to filter out selected event types from logs." +} diff --git a/.changes/next-release/api-change-polly-40624.json b/.changes/next-release/api-change-polly-40624.json new file mode 100644 index 000000000000..4955926b05e4 --- /dev/null +++ b/.changes/next-release/api-change-polly-40624.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``polly``", + "description": "Added support for the new voice - Jihye (ko-KR). Jihye is available as a Neural voice only." +} diff --git a/.changes/next-release/api-change-rds-62688.json b/.changes/next-release/api-change-rds-62688.json new file mode 100644 index 000000000000..c1b75cefdc92 --- /dev/null +++ b/.changes/next-release/api-change-rds-62688.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``rds``", + "description": "Add note about the Availability Zone where RDS restores the DB cluster for the RestoreDBClusterToPointInTime operation." +} diff --git a/.changes/next-release/api-change-wafv2-53166.json b/.changes/next-release/api-change-wafv2-53166.json new file mode 100644 index 000000000000..93a71588291a --- /dev/null +++ b/.changes/next-release/api-change-wafv2-53166.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``wafv2``", + "description": "This release adds the ability to associate an AWS WAF v2 web ACL with an AWS Amplify App." +} From d78eb6ca722923973a57a81c53996855390e75ad Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 26 Mar 2025 19:04:58 +0000 Subject: [PATCH 0532/1087] Bumping version to 1.38.21 --- .changes/1.38.21.json | 37 +++++++++++++++++++ .../api-change-arczonalshift-69578.json | 5 --- .../api-change-directconnect-60395.json | 5 --- .../api-change-mediaconvert-4181.json | 5 --- .../api-change-mediatailor-88186.json | 5 --- .../next-release/api-change-polly-40624.json | 5 --- .../next-release/api-change-rds-62688.json | 5 --- .../next-release/api-change-wafv2-53166.json | 5 --- CHANGELOG.rst | 12 ++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 13 files changed, 53 insertions(+), 39 deletions(-) create mode 100644 .changes/1.38.21.json delete mode 100644 .changes/next-release/api-change-arczonalshift-69578.json delete mode 100644 .changes/next-release/api-change-directconnect-60395.json delete mode 100644 .changes/next-release/api-change-mediaconvert-4181.json delete mode 100644 .changes/next-release/api-change-mediatailor-88186.json delete mode 100644 .changes/next-release/api-change-polly-40624.json delete mode 100644 .changes/next-release/api-change-rds-62688.json delete mode 100644 .changes/next-release/api-change-wafv2-53166.json diff --git a/.changes/1.38.21.json b/.changes/1.38.21.json new file mode 100644 index 000000000000..93ac6bb49b0d --- /dev/null +++ b/.changes/1.38.21.json @@ -0,0 +1,37 @@ +[ + { + "category": "``arc-zonal-shift``", + "description": "Add new shiftType field for ARC zonal shifts.", + "type": "api-change" + }, + { + "category": "``directconnect``", + "description": "With this release, AWS Direct Connect allows you to tag your Direct Connect gateways. Tags are metadata that you can create and use to manage your Direct Connect gateways. For more information about tagging, see AWS Tagging Strategies.", + "type": "api-change" + }, + { + "category": "``mediaconvert``", + "description": "This release adds a configurable Quality Level setting for the top rendition of Auto ABR jobs", + "type": "api-change" + }, + { + "category": "``mediatailor``", + "description": "Add support for log filtering which allow customers to filter out selected event types from logs.", + "type": "api-change" + }, + { + "category": "``polly``", + "description": "Added support for the new voice - Jihye (ko-KR). Jihye is available as a Neural voice only.", + "type": "api-change" + }, + { + "category": "``rds``", + "description": "Add note about the Availability Zone where RDS restores the DB cluster for the RestoreDBClusterToPointInTime operation.", + "type": "api-change" + }, + { + "category": "``wafv2``", + "description": "This release adds the ability to associate an AWS WAF v2 web ACL with an AWS Amplify App.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-arczonalshift-69578.json b/.changes/next-release/api-change-arczonalshift-69578.json deleted file mode 100644 index a4ad8b041659..000000000000 --- a/.changes/next-release/api-change-arczonalshift-69578.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``arc-zonal-shift``", - "description": "Add new shiftType field for ARC zonal shifts." -} diff --git a/.changes/next-release/api-change-directconnect-60395.json b/.changes/next-release/api-change-directconnect-60395.json deleted file mode 100644 index d0ca564dfe1a..000000000000 --- a/.changes/next-release/api-change-directconnect-60395.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``directconnect``", - "description": "With this release, AWS Direct Connect allows you to tag your Direct Connect gateways. Tags are metadata that you can create and use to manage your Direct Connect gateways. For more information about tagging, see AWS Tagging Strategies." -} diff --git a/.changes/next-release/api-change-mediaconvert-4181.json b/.changes/next-release/api-change-mediaconvert-4181.json deleted file mode 100644 index 8226c00ceac6..000000000000 --- a/.changes/next-release/api-change-mediaconvert-4181.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``mediaconvert``", - "description": "This release adds a configurable Quality Level setting for the top rendition of Auto ABR jobs" -} diff --git a/.changes/next-release/api-change-mediatailor-88186.json b/.changes/next-release/api-change-mediatailor-88186.json deleted file mode 100644 index 5f079b05513c..000000000000 --- a/.changes/next-release/api-change-mediatailor-88186.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``mediatailor``", - "description": "Add support for log filtering which allow customers to filter out selected event types from logs." -} diff --git a/.changes/next-release/api-change-polly-40624.json b/.changes/next-release/api-change-polly-40624.json deleted file mode 100644 index 4955926b05e4..000000000000 --- a/.changes/next-release/api-change-polly-40624.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``polly``", - "description": "Added support for the new voice - Jihye (ko-KR). Jihye is available as a Neural voice only." -} diff --git a/.changes/next-release/api-change-rds-62688.json b/.changes/next-release/api-change-rds-62688.json deleted file mode 100644 index c1b75cefdc92..000000000000 --- a/.changes/next-release/api-change-rds-62688.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``rds``", - "description": "Add note about the Availability Zone where RDS restores the DB cluster for the RestoreDBClusterToPointInTime operation." -} diff --git a/.changes/next-release/api-change-wafv2-53166.json b/.changes/next-release/api-change-wafv2-53166.json deleted file mode 100644 index 93a71588291a..000000000000 --- a/.changes/next-release/api-change-wafv2-53166.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``wafv2``", - "description": "This release adds the ability to associate an AWS WAF v2 web ACL with an AWS Amplify App." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 8810ddcf0124..e76fe6e8832d 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,18 @@ CHANGELOG ========= +1.38.21 +======= + +* api-change:``arc-zonal-shift``: Add new shiftType field for ARC zonal shifts. +* api-change:``directconnect``: With this release, AWS Direct Connect allows you to tag your Direct Connect gateways. Tags are metadata that you can create and use to manage your Direct Connect gateways. For more information about tagging, see AWS Tagging Strategies. +* api-change:``mediaconvert``: This release adds a configurable Quality Level setting for the top rendition of Auto ABR jobs +* api-change:``mediatailor``: Add support for log filtering which allow customers to filter out selected event types from logs. +* api-change:``polly``: Added support for the new voice - Jihye (ko-KR). Jihye is available as a Neural voice only. +* api-change:``rds``: Add note about the Availability Zone where RDS restores the DB cluster for the RestoreDBClusterToPointInTime operation. +* api-change:``wafv2``: This release adds the ability to associate an AWS WAF v2 web ACL with an AWS Amplify App. + + 1.38.20 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 2da4ace021f0..90f5259cccaf 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.38.20' +__version__ = '1.38.21' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index b51a58016077..1f03675951f6 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.38.' # The full version, including alpha/beta/rc tags. -release = '1.38.20' +release = '1.38.21' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 2da8eef19d5f..ea4bf7bba5d4 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.37.20 + botocore==1.37.21 docutils>=0.10,<0.17 s3transfer>=0.11.0,<0.12.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 5d57e3dc1a45..6110e69bd8a9 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.37.20', + 'botocore==1.37.21', 'docutils>=0.10,<0.17', 's3transfer>=0.11.0,<0.12.0', 'PyYAML>=3.10,<6.1', From 1b66cc8a8e2d1ebba50f790e93153d920d022457 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 27 Mar 2025 18:12:59 +0000 Subject: [PATCH 0533/1087] Update changelog based on model updates --- .changes/next-release/api-change-batch-3215.json | 5 +++++ .../next-release/api-change-bcmpricingcalculator-35473.json | 5 +++++ .../next-release/api-change-bedrockagentruntime-16206.json | 5 +++++ .changes/next-release/api-change-cloudformation-82503.json | 5 +++++ .changes/next-release/api-change-datazone-73317.json | 5 +++++ .changes/next-release/api-change-eks-6159.json | 5 +++++ .changes/next-release/api-change-gamelift-54538.json | 5 +++++ .changes/next-release/api-change-iam-32444.json | 5 +++++ .changes/next-release/api-change-sagemaker-91098.json | 5 +++++ .changes/next-release/api-change-ssooidc-28672.json | 5 +++++ 10 files changed, 50 insertions(+) create mode 100644 .changes/next-release/api-change-batch-3215.json create mode 100644 .changes/next-release/api-change-bcmpricingcalculator-35473.json create mode 100644 .changes/next-release/api-change-bedrockagentruntime-16206.json create mode 100644 .changes/next-release/api-change-cloudformation-82503.json create mode 100644 .changes/next-release/api-change-datazone-73317.json create mode 100644 .changes/next-release/api-change-eks-6159.json create mode 100644 .changes/next-release/api-change-gamelift-54538.json create mode 100644 .changes/next-release/api-change-iam-32444.json create mode 100644 .changes/next-release/api-change-sagemaker-91098.json create mode 100644 .changes/next-release/api-change-ssooidc-28672.json diff --git a/.changes/next-release/api-change-batch-3215.json b/.changes/next-release/api-change-batch-3215.json new file mode 100644 index 000000000000..0b6d546344b6 --- /dev/null +++ b/.changes/next-release/api-change-batch-3215.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``batch``", + "description": "This release will enable two features: Firelens log driver, and Execute Command on Batch jobs on ECS. Both features will be passed through to ECS." +} diff --git a/.changes/next-release/api-change-bcmpricingcalculator-35473.json b/.changes/next-release/api-change-bcmpricingcalculator-35473.json new file mode 100644 index 000000000000..dd1469d64d08 --- /dev/null +++ b/.changes/next-release/api-change-bcmpricingcalculator-35473.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bcm-pricing-calculator``", + "description": "Added standaloneAccountRateTypeSelections for GetPreferences and UpdatePreferences APIs. Added STALE enum value to status attribute in GetBillScenario and UpdateBillScenario APIs." +} diff --git a/.changes/next-release/api-change-bedrockagentruntime-16206.json b/.changes/next-release/api-change-bedrockagentruntime-16206.json new file mode 100644 index 000000000000..a1ddf2bbb872 --- /dev/null +++ b/.changes/next-release/api-change-bedrockagentruntime-16206.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-agent-runtime``", + "description": "bedrock flow now support node action trace." +} diff --git a/.changes/next-release/api-change-cloudformation-82503.json b/.changes/next-release/api-change-cloudformation-82503.json new file mode 100644 index 000000000000..52ac020c0c0f --- /dev/null +++ b/.changes/next-release/api-change-cloudformation-82503.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``cloudformation``", + "description": "Adding support for the new parameter \"ScanFilters\" in the CloudFormation StartResourceScan API. When this parameter is included, the StartResourceScan API will initiate a scan limited to the resource types specified by the parameter." +} diff --git a/.changes/next-release/api-change-datazone-73317.json b/.changes/next-release/api-change-datazone-73317.json new file mode 100644 index 000000000000..e04a78525d2d --- /dev/null +++ b/.changes/next-release/api-change-datazone-73317.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``datazone``", + "description": "This release adds new action type of Create Listing Changeset for the Metadata Enforcement Rule feature." +} diff --git a/.changes/next-release/api-change-eks-6159.json b/.changes/next-release/api-change-eks-6159.json new file mode 100644 index 000000000000..79e410fecc3c --- /dev/null +++ b/.changes/next-release/api-change-eks-6159.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``eks``", + "description": "Added support for BOTTLEROCKET FIPS AMIs to AMI types in US regions." +} diff --git a/.changes/next-release/api-change-gamelift-54538.json b/.changes/next-release/api-change-gamelift-54538.json new file mode 100644 index 000000000000..18b1d372974a --- /dev/null +++ b/.changes/next-release/api-change-gamelift-54538.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``gamelift``", + "description": "Amazon GameLift Servers add support for additional instance types." +} diff --git a/.changes/next-release/api-change-iam-32444.json b/.changes/next-release/api-change-iam-32444.json new file mode 100644 index 000000000000..3022d11556f0 --- /dev/null +++ b/.changes/next-release/api-change-iam-32444.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``iam``", + "description": "Update IAM dual-stack endpoints for BJS, IAD and PDT partitions" +} diff --git a/.changes/next-release/api-change-sagemaker-91098.json b/.changes/next-release/api-change-sagemaker-91098.json new file mode 100644 index 000000000000..892f6c925bb0 --- /dev/null +++ b/.changes/next-release/api-change-sagemaker-91098.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``sagemaker``", + "description": "add: recovery mode for SageMaker Studio apps" +} diff --git a/.changes/next-release/api-change-ssooidc-28672.json b/.changes/next-release/api-change-ssooidc-28672.json new file mode 100644 index 000000000000..cde057a23157 --- /dev/null +++ b/.changes/next-release/api-change-ssooidc-28672.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``sso-oidc``", + "description": "This release adds AwsAdditionalDetails in the CreateTokenWithIAM API response." +} From 74edc0a9211072eef21129e81a6661a9759d2eeb Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 27 Mar 2025 18:14:29 +0000 Subject: [PATCH 0534/1087] Bumping version to 1.38.22 --- .changes/1.38.22.json | 52 +++++++++++++++++++ .../next-release/api-change-batch-3215.json | 5 -- ...api-change-bcmpricingcalculator-35473.json | 5 -- .../api-change-bedrockagentruntime-16206.json | 5 -- .../api-change-cloudformation-82503.json | 5 -- .../api-change-datazone-73317.json | 5 -- .../next-release/api-change-eks-6159.json | 5 -- .../api-change-gamelift-54538.json | 5 -- .../next-release/api-change-iam-32444.json | 5 -- .../api-change-sagemaker-91098.json | 5 -- .../api-change-ssooidc-28672.json | 5 -- CHANGELOG.rst | 15 ++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 16 files changed, 71 insertions(+), 54 deletions(-) create mode 100644 .changes/1.38.22.json delete mode 100644 .changes/next-release/api-change-batch-3215.json delete mode 100644 .changes/next-release/api-change-bcmpricingcalculator-35473.json delete mode 100644 .changes/next-release/api-change-bedrockagentruntime-16206.json delete mode 100644 .changes/next-release/api-change-cloudformation-82503.json delete mode 100644 .changes/next-release/api-change-datazone-73317.json delete mode 100644 .changes/next-release/api-change-eks-6159.json delete mode 100644 .changes/next-release/api-change-gamelift-54538.json delete mode 100644 .changes/next-release/api-change-iam-32444.json delete mode 100644 .changes/next-release/api-change-sagemaker-91098.json delete mode 100644 .changes/next-release/api-change-ssooidc-28672.json diff --git a/.changes/1.38.22.json b/.changes/1.38.22.json new file mode 100644 index 000000000000..1b6f94bc8d7d --- /dev/null +++ b/.changes/1.38.22.json @@ -0,0 +1,52 @@ +[ + { + "category": "``batch``", + "description": "This release will enable two features: Firelens log driver, and Execute Command on Batch jobs on ECS. Both features will be passed through to ECS.", + "type": "api-change" + }, + { + "category": "``bcm-pricing-calculator``", + "description": "Added standaloneAccountRateTypeSelections for GetPreferences and UpdatePreferences APIs. Added STALE enum value to status attribute in GetBillScenario and UpdateBillScenario APIs.", + "type": "api-change" + }, + { + "category": "``bedrock-agent-runtime``", + "description": "bedrock flow now support node action trace.", + "type": "api-change" + }, + { + "category": "``cloudformation``", + "description": "Adding support for the new parameter \"ScanFilters\" in the CloudFormation StartResourceScan API. When this parameter is included, the StartResourceScan API will initiate a scan limited to the resource types specified by the parameter.", + "type": "api-change" + }, + { + "category": "``datazone``", + "description": "This release adds new action type of Create Listing Changeset for the Metadata Enforcement Rule feature.", + "type": "api-change" + }, + { + "category": "``eks``", + "description": "Added support for BOTTLEROCKET FIPS AMIs to AMI types in US regions.", + "type": "api-change" + }, + { + "category": "``gamelift``", + "description": "Amazon GameLift Servers add support for additional instance types.", + "type": "api-change" + }, + { + "category": "``iam``", + "description": "Update IAM dual-stack endpoints for BJS, IAD and PDT partitions", + "type": "api-change" + }, + { + "category": "``sagemaker``", + "description": "add: recovery mode for SageMaker Studio apps", + "type": "api-change" + }, + { + "category": "``sso-oidc``", + "description": "This release adds AwsAdditionalDetails in the CreateTokenWithIAM API response.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-batch-3215.json b/.changes/next-release/api-change-batch-3215.json deleted file mode 100644 index 0b6d546344b6..000000000000 --- a/.changes/next-release/api-change-batch-3215.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``batch``", - "description": "This release will enable two features: Firelens log driver, and Execute Command on Batch jobs on ECS. Both features will be passed through to ECS." -} diff --git a/.changes/next-release/api-change-bcmpricingcalculator-35473.json b/.changes/next-release/api-change-bcmpricingcalculator-35473.json deleted file mode 100644 index dd1469d64d08..000000000000 --- a/.changes/next-release/api-change-bcmpricingcalculator-35473.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bcm-pricing-calculator``", - "description": "Added standaloneAccountRateTypeSelections for GetPreferences and UpdatePreferences APIs. Added STALE enum value to status attribute in GetBillScenario and UpdateBillScenario APIs." -} diff --git a/.changes/next-release/api-change-bedrockagentruntime-16206.json b/.changes/next-release/api-change-bedrockagentruntime-16206.json deleted file mode 100644 index a1ddf2bbb872..000000000000 --- a/.changes/next-release/api-change-bedrockagentruntime-16206.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-agent-runtime``", - "description": "bedrock flow now support node action trace." -} diff --git a/.changes/next-release/api-change-cloudformation-82503.json b/.changes/next-release/api-change-cloudformation-82503.json deleted file mode 100644 index 52ac020c0c0f..000000000000 --- a/.changes/next-release/api-change-cloudformation-82503.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``cloudformation``", - "description": "Adding support for the new parameter \"ScanFilters\" in the CloudFormation StartResourceScan API. When this parameter is included, the StartResourceScan API will initiate a scan limited to the resource types specified by the parameter." -} diff --git a/.changes/next-release/api-change-datazone-73317.json b/.changes/next-release/api-change-datazone-73317.json deleted file mode 100644 index e04a78525d2d..000000000000 --- a/.changes/next-release/api-change-datazone-73317.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``datazone``", - "description": "This release adds new action type of Create Listing Changeset for the Metadata Enforcement Rule feature." -} diff --git a/.changes/next-release/api-change-eks-6159.json b/.changes/next-release/api-change-eks-6159.json deleted file mode 100644 index 79e410fecc3c..000000000000 --- a/.changes/next-release/api-change-eks-6159.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``eks``", - "description": "Added support for BOTTLEROCKET FIPS AMIs to AMI types in US regions." -} diff --git a/.changes/next-release/api-change-gamelift-54538.json b/.changes/next-release/api-change-gamelift-54538.json deleted file mode 100644 index 18b1d372974a..000000000000 --- a/.changes/next-release/api-change-gamelift-54538.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``gamelift``", - "description": "Amazon GameLift Servers add support for additional instance types." -} diff --git a/.changes/next-release/api-change-iam-32444.json b/.changes/next-release/api-change-iam-32444.json deleted file mode 100644 index 3022d11556f0..000000000000 --- a/.changes/next-release/api-change-iam-32444.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``iam``", - "description": "Update IAM dual-stack endpoints for BJS, IAD and PDT partitions" -} diff --git a/.changes/next-release/api-change-sagemaker-91098.json b/.changes/next-release/api-change-sagemaker-91098.json deleted file mode 100644 index 892f6c925bb0..000000000000 --- a/.changes/next-release/api-change-sagemaker-91098.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``sagemaker``", - "description": "add: recovery mode for SageMaker Studio apps" -} diff --git a/.changes/next-release/api-change-ssooidc-28672.json b/.changes/next-release/api-change-ssooidc-28672.json deleted file mode 100644 index cde057a23157..000000000000 --- a/.changes/next-release/api-change-ssooidc-28672.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``sso-oidc``", - "description": "This release adds AwsAdditionalDetails in the CreateTokenWithIAM API response." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index e76fe6e8832d..4434a1b37df2 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,21 @@ CHANGELOG ========= +1.38.22 +======= + +* api-change:``batch``: This release will enable two features: Firelens log driver, and Execute Command on Batch jobs on ECS. Both features will be passed through to ECS. +* api-change:``bcm-pricing-calculator``: Added standaloneAccountRateTypeSelections for GetPreferences and UpdatePreferences APIs. Added STALE enum value to status attribute in GetBillScenario and UpdateBillScenario APIs. +* api-change:``bedrock-agent-runtime``: bedrock flow now support node action trace. +* api-change:``cloudformation``: Adding support for the new parameter "ScanFilters" in the CloudFormation StartResourceScan API. When this parameter is included, the StartResourceScan API will initiate a scan limited to the resource types specified by the parameter. +* api-change:``datazone``: This release adds new action type of Create Listing Changeset for the Metadata Enforcement Rule feature. +* api-change:``eks``: Added support for BOTTLEROCKET FIPS AMIs to AMI types in US regions. +* api-change:``gamelift``: Amazon GameLift Servers add support for additional instance types. +* api-change:``iam``: Update IAM dual-stack endpoints for BJS, IAD and PDT partitions +* api-change:``sagemaker``: add: recovery mode for SageMaker Studio apps +* api-change:``sso-oidc``: This release adds AwsAdditionalDetails in the CreateTokenWithIAM API response. + + 1.38.21 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 90f5259cccaf..61533da54dba 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.38.21' +__version__ = '1.38.22' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 1f03675951f6..c626c6041b56 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.38.' # The full version, including alpha/beta/rc tags. -release = '1.38.21' +release = '1.38.22' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index ea4bf7bba5d4..f3075aeb2b55 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.37.21 + botocore==1.37.22 docutils>=0.10,<0.17 s3transfer>=0.11.0,<0.12.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 6110e69bd8a9..525dc0b0a727 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.37.21', + 'botocore==1.37.22', 'docutils>=0.10,<0.17', 's3transfer>=0.11.0,<0.12.0', 'PyYAML>=3.10,<6.1', From 0c9086ab22d323d46a0d2719d0ee3b6d9e1b274f Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 28 Mar 2025 18:08:51 +0000 Subject: [PATCH 0535/1087] Update changelog based on model updates --- .changes/next-release/api-change-apigateway-20199.json | 5 +++++ .changes/next-release/api-change-apigatewayv2-82774.json | 5 +++++ .changes/next-release/api-change-bedrockruntime-82661.json | 5 +++++ .changes/next-release/api-change-codebuild-87338.json | 5 +++++ .changes/next-release/api-change-ecs-37121.json | 5 +++++ .../next-release/api-change-meteringmarketplace-10250.json | 5 +++++ .changes/next-release/api-change-networkmanager-23097.json | 5 +++++ .../next-release/api-change-paymentcryptography-22675.json | 5 +++++ .changes/next-release/api-change-quicksight-21332.json | 5 +++++ .changes/next-release/api-change-sagemaker-83506.json | 5 +++++ 10 files changed, 50 insertions(+) create mode 100644 .changes/next-release/api-change-apigateway-20199.json create mode 100644 .changes/next-release/api-change-apigatewayv2-82774.json create mode 100644 .changes/next-release/api-change-bedrockruntime-82661.json create mode 100644 .changes/next-release/api-change-codebuild-87338.json create mode 100644 .changes/next-release/api-change-ecs-37121.json create mode 100644 .changes/next-release/api-change-meteringmarketplace-10250.json create mode 100644 .changes/next-release/api-change-networkmanager-23097.json create mode 100644 .changes/next-release/api-change-paymentcryptography-22675.json create mode 100644 .changes/next-release/api-change-quicksight-21332.json create mode 100644 .changes/next-release/api-change-sagemaker-83506.json diff --git a/.changes/next-release/api-change-apigateway-20199.json b/.changes/next-release/api-change-apigateway-20199.json new file mode 100644 index 000000000000..ac0de6d5ce72 --- /dev/null +++ b/.changes/next-release/api-change-apigateway-20199.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``apigateway``", + "description": "Adds support for setting the IP address type to allow dual-stack or IPv4 address types to invoke your APIs or domain names." +} diff --git a/.changes/next-release/api-change-apigatewayv2-82774.json b/.changes/next-release/api-change-apigatewayv2-82774.json new file mode 100644 index 000000000000..201035369f52 --- /dev/null +++ b/.changes/next-release/api-change-apigatewayv2-82774.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``apigatewayv2``", + "description": "Adds support for setting the IP address type to allow dual-stack or IPv4 address types to invoke your APIs or domain names." +} diff --git a/.changes/next-release/api-change-bedrockruntime-82661.json b/.changes/next-release/api-change-bedrockruntime-82661.json new file mode 100644 index 000000000000..04a1ab2b0378 --- /dev/null +++ b/.changes/next-release/api-change-bedrockruntime-82661.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-runtime``", + "description": "Launching Multi-modality Content Filter for Amazon Bedrock Guardrails." +} diff --git a/.changes/next-release/api-change-codebuild-87338.json b/.changes/next-release/api-change-codebuild-87338.json new file mode 100644 index 000000000000..4831df8a83a6 --- /dev/null +++ b/.changes/next-release/api-change-codebuild-87338.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``codebuild``", + "description": "This release adds support for cacheNamespace in ProjectCache" +} diff --git a/.changes/next-release/api-change-ecs-37121.json b/.changes/next-release/api-change-ecs-37121.json new file mode 100644 index 000000000000..6df1b5826397 --- /dev/null +++ b/.changes/next-release/api-change-ecs-37121.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ecs``", + "description": "This is an Amazon ECS documentation only release that addresses tickets." +} diff --git a/.changes/next-release/api-change-meteringmarketplace-10250.json b/.changes/next-release/api-change-meteringmarketplace-10250.json new file mode 100644 index 000000000000..d7ca955c3545 --- /dev/null +++ b/.changes/next-release/api-change-meteringmarketplace-10250.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``meteringmarketplace``", + "description": "Add support for Marketplace Metering Service dual-stack endpoints." +} diff --git a/.changes/next-release/api-change-networkmanager-23097.json b/.changes/next-release/api-change-networkmanager-23097.json new file mode 100644 index 000000000000..8aedcfc814cc --- /dev/null +++ b/.changes/next-release/api-change-networkmanager-23097.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``networkmanager``", + "description": "Add support for NetworkManager Dualstack endpoints." +} diff --git a/.changes/next-release/api-change-paymentcryptography-22675.json b/.changes/next-release/api-change-paymentcryptography-22675.json new file mode 100644 index 000000000000..d431cb72a135 --- /dev/null +++ b/.changes/next-release/api-change-paymentcryptography-22675.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``payment-cryptography``", + "description": "The service adds support for transferring AES-256 and other keys between the service and other service providers and HSMs. This feature uses ECDH to derive a one-time key transport key to enable these secure key exchanges." +} diff --git a/.changes/next-release/api-change-quicksight-21332.json b/.changes/next-release/api-change-quicksight-21332.json new file mode 100644 index 000000000000..2d5d42503351 --- /dev/null +++ b/.changes/next-release/api-change-quicksight-21332.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``quicksight``", + "description": "RLS permission dataset with userAs: RLS_RULES flag, Q in QuickSight/Threshold Alerts/Schedules/Snapshots in QS embedding, toggle dataset refresh email alerts via API, transposed table with options: column width, type and index, toggle Q&A on dashboards, Oracle Service Name when creating data source." +} diff --git a/.changes/next-release/api-change-sagemaker-83506.json b/.changes/next-release/api-change-sagemaker-83506.json new file mode 100644 index 000000000000..2e77bd0aef52 --- /dev/null +++ b/.changes/next-release/api-change-sagemaker-83506.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``sagemaker``", + "description": "TransformAmiVersion for Batch Transform and SageMaker Search Service Aggregate Search API Extension" +} From 483444f6d04b8055afaf682c259d56b2a6c10c09 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 28 Mar 2025 18:10:09 +0000 Subject: [PATCH 0536/1087] Bumping version to 1.38.23 --- .changes/1.38.23.json | 52 +++++++++++++++++++ .../api-change-apigateway-20199.json | 5 -- .../api-change-apigatewayv2-82774.json | 5 -- .../api-change-bedrockruntime-82661.json | 5 -- .../api-change-codebuild-87338.json | 5 -- .../next-release/api-change-ecs-37121.json | 5 -- .../api-change-meteringmarketplace-10250.json | 5 -- .../api-change-networkmanager-23097.json | 5 -- .../api-change-paymentcryptography-22675.json | 5 -- .../api-change-quicksight-21332.json | 5 -- .../api-change-sagemaker-83506.json | 5 -- CHANGELOG.rst | 15 ++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 16 files changed, 71 insertions(+), 54 deletions(-) create mode 100644 .changes/1.38.23.json delete mode 100644 .changes/next-release/api-change-apigateway-20199.json delete mode 100644 .changes/next-release/api-change-apigatewayv2-82774.json delete mode 100644 .changes/next-release/api-change-bedrockruntime-82661.json delete mode 100644 .changes/next-release/api-change-codebuild-87338.json delete mode 100644 .changes/next-release/api-change-ecs-37121.json delete mode 100644 .changes/next-release/api-change-meteringmarketplace-10250.json delete mode 100644 .changes/next-release/api-change-networkmanager-23097.json delete mode 100644 .changes/next-release/api-change-paymentcryptography-22675.json delete mode 100644 .changes/next-release/api-change-quicksight-21332.json delete mode 100644 .changes/next-release/api-change-sagemaker-83506.json diff --git a/.changes/1.38.23.json b/.changes/1.38.23.json new file mode 100644 index 000000000000..4e433b1b6ad0 --- /dev/null +++ b/.changes/1.38.23.json @@ -0,0 +1,52 @@ +[ + { + "category": "``apigateway``", + "description": "Adds support for setting the IP address type to allow dual-stack or IPv4 address types to invoke your APIs or domain names.", + "type": "api-change" + }, + { + "category": "``apigatewayv2``", + "description": "Adds support for setting the IP address type to allow dual-stack or IPv4 address types to invoke your APIs or domain names.", + "type": "api-change" + }, + { + "category": "``bedrock-runtime``", + "description": "Launching Multi-modality Content Filter for Amazon Bedrock Guardrails.", + "type": "api-change" + }, + { + "category": "``codebuild``", + "description": "This release adds support for cacheNamespace in ProjectCache", + "type": "api-change" + }, + { + "category": "``ecs``", + "description": "This is an Amazon ECS documentation only release that addresses tickets.", + "type": "api-change" + }, + { + "category": "``meteringmarketplace``", + "description": "Add support for Marketplace Metering Service dual-stack endpoints.", + "type": "api-change" + }, + { + "category": "``networkmanager``", + "description": "Add support for NetworkManager Dualstack endpoints.", + "type": "api-change" + }, + { + "category": "``payment-cryptography``", + "description": "The service adds support for transferring AES-256 and other keys between the service and other service providers and HSMs. This feature uses ECDH to derive a one-time key transport key to enable these secure key exchanges.", + "type": "api-change" + }, + { + "category": "``quicksight``", + "description": "RLS permission dataset with userAs: RLS_RULES flag, Q in QuickSight/Threshold Alerts/Schedules/Snapshots in QS embedding, toggle dataset refresh email alerts via API, transposed table with options: column width, type and index, toggle Q&A on dashboards, Oracle Service Name when creating data source.", + "type": "api-change" + }, + { + "category": "``sagemaker``", + "description": "TransformAmiVersion for Batch Transform and SageMaker Search Service Aggregate Search API Extension", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-apigateway-20199.json b/.changes/next-release/api-change-apigateway-20199.json deleted file mode 100644 index ac0de6d5ce72..000000000000 --- a/.changes/next-release/api-change-apigateway-20199.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``apigateway``", - "description": "Adds support for setting the IP address type to allow dual-stack or IPv4 address types to invoke your APIs or domain names." -} diff --git a/.changes/next-release/api-change-apigatewayv2-82774.json b/.changes/next-release/api-change-apigatewayv2-82774.json deleted file mode 100644 index 201035369f52..000000000000 --- a/.changes/next-release/api-change-apigatewayv2-82774.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``apigatewayv2``", - "description": "Adds support for setting the IP address type to allow dual-stack or IPv4 address types to invoke your APIs or domain names." -} diff --git a/.changes/next-release/api-change-bedrockruntime-82661.json b/.changes/next-release/api-change-bedrockruntime-82661.json deleted file mode 100644 index 04a1ab2b0378..000000000000 --- a/.changes/next-release/api-change-bedrockruntime-82661.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-runtime``", - "description": "Launching Multi-modality Content Filter for Amazon Bedrock Guardrails." -} diff --git a/.changes/next-release/api-change-codebuild-87338.json b/.changes/next-release/api-change-codebuild-87338.json deleted file mode 100644 index 4831df8a83a6..000000000000 --- a/.changes/next-release/api-change-codebuild-87338.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``codebuild``", - "description": "This release adds support for cacheNamespace in ProjectCache" -} diff --git a/.changes/next-release/api-change-ecs-37121.json b/.changes/next-release/api-change-ecs-37121.json deleted file mode 100644 index 6df1b5826397..000000000000 --- a/.changes/next-release/api-change-ecs-37121.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ecs``", - "description": "This is an Amazon ECS documentation only release that addresses tickets." -} diff --git a/.changes/next-release/api-change-meteringmarketplace-10250.json b/.changes/next-release/api-change-meteringmarketplace-10250.json deleted file mode 100644 index d7ca955c3545..000000000000 --- a/.changes/next-release/api-change-meteringmarketplace-10250.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``meteringmarketplace``", - "description": "Add support for Marketplace Metering Service dual-stack endpoints." -} diff --git a/.changes/next-release/api-change-networkmanager-23097.json b/.changes/next-release/api-change-networkmanager-23097.json deleted file mode 100644 index 8aedcfc814cc..000000000000 --- a/.changes/next-release/api-change-networkmanager-23097.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``networkmanager``", - "description": "Add support for NetworkManager Dualstack endpoints." -} diff --git a/.changes/next-release/api-change-paymentcryptography-22675.json b/.changes/next-release/api-change-paymentcryptography-22675.json deleted file mode 100644 index d431cb72a135..000000000000 --- a/.changes/next-release/api-change-paymentcryptography-22675.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``payment-cryptography``", - "description": "The service adds support for transferring AES-256 and other keys between the service and other service providers and HSMs. This feature uses ECDH to derive a one-time key transport key to enable these secure key exchanges." -} diff --git a/.changes/next-release/api-change-quicksight-21332.json b/.changes/next-release/api-change-quicksight-21332.json deleted file mode 100644 index 2d5d42503351..000000000000 --- a/.changes/next-release/api-change-quicksight-21332.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``quicksight``", - "description": "RLS permission dataset with userAs: RLS_RULES flag, Q in QuickSight/Threshold Alerts/Schedules/Snapshots in QS embedding, toggle dataset refresh email alerts via API, transposed table with options: column width, type and index, toggle Q&A on dashboards, Oracle Service Name when creating data source." -} diff --git a/.changes/next-release/api-change-sagemaker-83506.json b/.changes/next-release/api-change-sagemaker-83506.json deleted file mode 100644 index 2e77bd0aef52..000000000000 --- a/.changes/next-release/api-change-sagemaker-83506.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``sagemaker``", - "description": "TransformAmiVersion for Batch Transform and SageMaker Search Service Aggregate Search API Extension" -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 4434a1b37df2..7a7febc0eac3 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,21 @@ CHANGELOG ========= +1.38.23 +======= + +* api-change:``apigateway``: Adds support for setting the IP address type to allow dual-stack or IPv4 address types to invoke your APIs or domain names. +* api-change:``apigatewayv2``: Adds support for setting the IP address type to allow dual-stack or IPv4 address types to invoke your APIs or domain names. +* api-change:``bedrock-runtime``: Launching Multi-modality Content Filter for Amazon Bedrock Guardrails. +* api-change:``codebuild``: This release adds support for cacheNamespace in ProjectCache +* api-change:``ecs``: This is an Amazon ECS documentation only release that addresses tickets. +* api-change:``meteringmarketplace``: Add support for Marketplace Metering Service dual-stack endpoints. +* api-change:``networkmanager``: Add support for NetworkManager Dualstack endpoints. +* api-change:``payment-cryptography``: The service adds support for transferring AES-256 and other keys between the service and other service providers and HSMs. This feature uses ECDH to derive a one-time key transport key to enable these secure key exchanges. +* api-change:``quicksight``: RLS permission dataset with userAs: RLS_RULES flag, Q in QuickSight/Threshold Alerts/Schedules/Snapshots in QS embedding, toggle dataset refresh email alerts via API, transposed table with options: column width, type and index, toggle Q&A on dashboards, Oracle Service Name when creating data source. +* api-change:``sagemaker``: TransformAmiVersion for Batch Transform and SageMaker Search Service Aggregate Search API Extension + + 1.38.22 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 61533da54dba..43d8497be91b 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.38.22' +__version__ = '1.38.23' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index c626c6041b56..459c7759e768 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.38.' # The full version, including alpha/beta/rc tags. -release = '1.38.22' +release = '1.38.23' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index f3075aeb2b55..f8f821bc5b3f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.37.22 + botocore==1.37.23 docutils>=0.10,<0.17 s3transfer>=0.11.0,<0.12.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 525dc0b0a727..71e91c53fad5 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.37.22', + 'botocore==1.37.23', 'docutils>=0.10,<0.17', 's3transfer>=0.11.0,<0.12.0', 'PyYAML>=3.10,<6.1', From 0b3cb0f57d7d088fcba89eec290279c965af0857 Mon Sep 17 00:00:00 2001 From: Daniil Millwood Date: Fri, 28 Mar 2025 21:06:47 +0000 Subject: [PATCH 0537/1087] cli examples for ivs realtime --- awscli/examples/ivs-realtime/create-stage.rst | 25 ++++++++++++---- .../examples/ivs-realtime/get-composition.rst | 24 ++++++++++----- awscli/examples/ivs-realtime/get-stage.rst | 30 +++++++++++-------- .../ivs-realtime/start-composition.rst | 24 ++++++++++----- awscli/examples/ivs-realtime/update-stage.rst | 11 +++++-- 5 files changed, 78 insertions(+), 36 deletions(-) diff --git a/awscli/examples/ivs-realtime/create-stage.rst b/awscli/examples/ivs-realtime/create-stage.rst index c9b32d4ea151..c3af5b233ed7 100644 --- a/awscli/examples/ivs-realtime/create-stage.rst +++ b/awscli/examples/ivs-realtime/create-stage.rst @@ -30,6 +30,10 @@ Output:: "SEQUENTIAL" ], "recordingMode": "DISABLED" + }, + "recordingReconnectWindowSeconds": 0, + "hlsConfiguration": { + "targetSegmentDurationSeconds": 6 } }, "endpoints": { @@ -43,7 +47,7 @@ Output:: } } -For more information, see `Enabling Multiple Hosts on an Amazon IVS Stream `__ in the *Amazon Interactive Video Service User Guide*. +For more information, see `Enabling Multiple Hosts on an Amazon IVS Stream `__ in the *Amazon IVS Low-Latency Streaming User Guide*. **Example 2: To create a stage and configure individial participant recording** @@ -51,7 +55,8 @@ The following ``create-stage`` example creates a stage and configures individual aws ivs-realtime create-stage \ --name stage1 \ - --auto-participant-recording-configuration '{"mediaTypes": ["AUDIO_VIDEO"],"storageConfigurationArn": "arn:aws:ivs:us-west-2:123456789012:storage-configuration/abcdABCDefgh"}' + --auto-participant-recording-configuration '{"mediaTypes": ["AUDIO_VIDEO"],"storageConfigurationArn": "arn:aws:ivs:us-west-2:123456789012:storage-configuration/abcdABCDefgh", "recordingReconnectWindowSeconds": 100, \ + "hlsConfiguration": {"targetSegmentDurationSeconds": 5}}' Output:: @@ -70,8 +75,12 @@ Output:: "SEQUENTIAL" ], "recordingMode": "DISABLED" + }, + "recordingReconnectWindowSeconds": 100, + "hlsConfiguration": { + "targetSegmentDurationSeconds": 5 } - }, + }, "endpoints": { "events": "wss://global.events.live-video.net", "rtmp": "rtmp://9x0y8z7s6t5u.global-contribute-staging.live-video.net/app/", @@ -83,7 +92,7 @@ Output:: } } -For more information, see `Enabling Multiple Hosts on an Amazon IVS Stream `__ in the *Amazon Interactive Video Service User Guide*. +For more information, see `Enabling Multiple Hosts on an Amazon IVS Stream `__ in the *Amazon IVS Low-Latency Streaming User Guide*. **Example 3: To create a stage and configure individial participant recording with thumbnail recording enabled** @@ -111,8 +120,12 @@ Output:: "SEQUENTIAL" ], "recordingMode": "INTERVAL" + }, + "recordingReconnectWindowSeconds": 0, + "hlsConfiguration": { + "targetSegmentDurationSeconds": 6 } - }, + }, "endpoints": { "events": "wss://global.events.live-video.net", "rtmp": "rtmp://9x0y8z7s6t5u.global-contribute-staging.live-video.net/app/", @@ -124,4 +137,4 @@ Output:: } } -For more information, see `Enabling Multiple Hosts on an Amazon IVS Stream `__ in the *Amazon Interactive Video Service User Guide*. \ No newline at end of file +For more information, see `Enabling Multiple Hosts on an Amazon IVS Stream `__ in the *Amazon IVS Low-Latency Streaming User Guide*. \ No newline at end of file diff --git a/awscli/examples/ivs-realtime/get-composition.rst b/awscli/examples/ivs-realtime/get-composition.rst index f796cde2d83f..98fd9d57212a 100644 --- a/awscli/examples/ivs-realtime/get-composition.rst +++ b/awscli/examples/ivs-realtime/get-composition.rst @@ -31,7 +31,10 @@ Output:: "arn:aws:ivs:arn:aws:ivs:ap-northeast-1:123456789012:encoder-configuration/ABabCDcdEFef" ], "recordingConfiguration": { - "format": "HLS" + "format": "HLS", + "hlsConfiguration": { + "targetSegmentDurationSeconds": 2 + } }, "storageConfigurationArn": "arn:arn:aws:ivs:ap-northeast-1:123456789012:storage-configuration/FefABabCDcdE", } @@ -52,7 +55,8 @@ Output:: "gridGap": 2, "omitStoppedVideo": false, "videoAspectRatio": "VIDEO", - "videoFillMode": "" } + "videoFillMode": "" + } }, "stageArn": "arn:aws:ivs:ap-northeast-1:123456789012:stage/defgABCDabcd", "startTime": "2023-10-16T23:24:00+00:00", @@ -61,7 +65,7 @@ Output:: } } -For more information, see `Composite Recording (Real-Time Streaming) `__ in the *Amazon Interactive Video Service User Guide*. +For more information, see `IVS Composite Recording | Real-Time Streaming `__ in the *Amazon IVS Real-Time Streaming User Guide*. **Example 2: To get a composition with PiP layout** @@ -96,7 +100,10 @@ Output:: "arn:aws:ivs:arn:aws:ivs:ap-northeast-1:123456789012:encoder-configuration/ABabCDcdEFef" ], "recordingConfiguration": { - "format": "HLS" + "format": "HLS", + "hlsConfiguration": { + "targetSegmentDurationSeconds": 2 + } }, "storageConfigurationArn": "arn:arn:aws:ivs:ap-northeast-1:123456789012:storage-configuration/FefABabCDcdE" } @@ -130,7 +137,7 @@ Output:: } } -For more information, see `Composite Recording (Real-Time Streaming) `__ in the *Amazon Interactive Video Service User Guide*. +For more information, see `IVS Composite Recording | Real-Time Streaming `__ in the *Amazon IVS Real-Time Streaming User Guide*. **Example 3: To get a composition with thumbnail recording enabled** @@ -165,7 +172,10 @@ Output:: "arn:aws:ivs:arn:aws:ivs:ap-northeast-1:123456789012:encoder-configuration/ABabCDcdEFef" ], "recordingConfiguration": { - "format": "HLS" + "format": "HLS", + "hlsConfiguration": { + "targetSegmentDurationSeconds": 2 + } }, "storageConfigurationArn": "arn:arn:aws:ivs:ap-northeast-1:123456789012:storage-configuration/FefABabCDcdE", "thumbnailConfigurations": [ @@ -203,4 +213,4 @@ Output:: } } -For more information, see `Composite Recording (Real-Time Streaming) `__ in the *Amazon Interactive Video Service User Guide*. \ No newline at end of file +For more information, see `IVS Composite Recording | Real-Time Streaming `__ in the *Amazon IVS Real-Time Streaming User Guide*. \ No newline at end of file diff --git a/awscli/examples/ivs-realtime/get-stage.rst b/awscli/examples/ivs-realtime/get-stage.rst index 22bb45d6c93a..df674b06cbe5 100644 --- a/awscli/examples/ivs-realtime/get-stage.rst +++ b/awscli/examples/ivs-realtime/get-stage.rst @@ -12,18 +12,22 @@ Output:: "activeSessionId": "st-a1b2c3d4e5f6g", "arn": "arn:aws:ivs:us-west-2:123456789012:stage/abcdABCDefgh", "autoParticipantRecordingConfiguration": { - "storageConfigurationArn": "", - "mediaTypes": [ - "AUDIO_VIDEO" - ], - "thumbnailConfiguration": { - "targetIntervalSeconds": 60, - "storage": [ - "SEQUENTIAL" - ], - "recordingMode": "DISABLED", - } - }, + "storageConfigurationArn": "", + "mediaTypes": [ + "AUDIO_VIDEO" + ], + "thumbnailConfiguration": { + "targetIntervalSeconds": 60, + "storage": [ + "SEQUENTIAL" + ], + "recordingMode": "DISABLED", + }, + "recordingReconnectWindowSeconds": 0, + "hlsConfiguration": { + "targetSegmentDurationSeconds": 6 + } + }, "endpoints": { "events": "wss://global.events.live-video.net", "rtmp": "rtmp://9x0y8z7s6t5u.global-contribute-staging.live-video.net/app/", @@ -35,4 +39,4 @@ Output:: } } -For more information, see `Enabling Multiple Hosts on an Amazon IVS Stream `__ in the *Amazon Interactive Video Service User Guide*. \ No newline at end of file +For more information, see `Enabling Multiple Hosts on an Amazon IVS Stream `__ in the *Amazon IVS Low-Latency Streaming User Guide*. \ No newline at end of file diff --git a/awscli/examples/ivs-realtime/start-composition.rst b/awscli/examples/ivs-realtime/start-composition.rst index ba7eaee808c9..985a8f761984 100644 --- a/awscli/examples/ivs-realtime/start-composition.rst +++ b/awscli/examples/ivs-realtime/start-composition.rst @@ -7,6 +7,7 @@ The following ``start-composition`` example starts a composition for the specifi --destinations '[{"channel": {"channelArn": "arn:aws:ivs:ap-northeast-1:123456789012:channel/abcABCdefDEg", \ "encoderConfigurationArn": "arn:aws:ivs:ap-northeast-1:123456789012:encoder-configuration/ABabCDcdEFef"}}, \ {"s3":{"encoderConfigurationArns":["arn:aws:ivs:ap-northeast-1:123456789012:encoder-configuration/ABabCDcdEFef"], \ + "recordingConfiguration": {"hlsConfiguration": {"targetSegmentDurationSeconds": 5}}, \ "storageConfigurationArn":"arn:aws:ivs:ap-northeast-1:123456789012:storage-configuration/FefABabCDcdE"}}]' Output:: @@ -34,7 +35,10 @@ Output:: "arn:aws:ivs:arn:aws:ivs:ap-northeast-1:123456789012:encoder-configuration/ABabCDcdEFef" ], "recordingConfiguration": { - "format": "HLS" + "format": "HLS", + "hlsConfiguration": { + "targetSegmentDurationSeconds": 5 + } }, "storageConfigurationArn": "arn:arn:aws:ivs:ap-northeast-1:123456789012:storage-configuration/FefABabCDcdE" } @@ -64,7 +68,7 @@ Output:: } } -For more information, see `Composite Recording (Real-Time Streaming) `__ in the *Amazon Interactive Video Service User Guide*. +For more information, see `IVS Composite Recording | Real-Time Streaming `__ in the *Amazon IVS Real-Time Streaming User Guide*. **Example 2: To start a composition with PiP layout** @@ -103,7 +107,10 @@ Output:: "arn:aws:ivs:arn:aws:ivs:ap-northeast-1:123456789012:encoder-configuration/ABabCDcdEFef" ], "recordingConfiguration": { - "format": "HLS" + "format": "HLS", + "hlsConfiguration": { + "targetSegmentDurationSeconds": 2 + } }, "storageConfigurationArn": "arn:arn:aws:ivs:ap-northeast-1:123456789012:storage-configuration/FefABabCDcdE" } @@ -136,9 +143,9 @@ Output:: } } -For more information, see `Composite Recording (Real-Time Streaming) `__ in the *Amazon Interactive Video Service User Guide*. +For more information, see `IVS Composite Recording | Real-Time Streaming `__ in the *Amazon IVS Real-Time Streaming User Guide*. -**Example 3: To start a composition with thubnail recording enabled** +**Example 3: To start a composition with thumbnail recording enabled** The following ``start-composition`` example starts a composition for the specified stage to be streamed to the specified locations with thumbnail recording enabled. :: @@ -175,7 +182,10 @@ Output:: "arn:aws:ivs:arn:aws:ivs:ap-northeast-1:123456789012:encoder-configuration/ABabCDcdEFef" ], "recordingConfiguration": { - "format": "HLS" + "format": "HLS", + "hlsConfiguration": { + "targetSegmentDurationSeconds": 2 + } }, "storageConfigurationArn": "arn:arn:aws:ivs:ap-northeast-1:123456789012:storage-configuration/FefABabCDcdE", "thumbnailConfigurations": [ @@ -213,4 +223,4 @@ Output:: } } -For more information, see `Composite Recording (Real-Time Streaming) `__ in the *Amazon Interactive Video Service User Guide*. \ No newline at end of file +For more information, see `IVS Composite Recording | Real-Time Streaming `__ in the *Amazon IVS Real-Time Streaming User Guide*. \ No newline at end of file diff --git a/awscli/examples/ivs-realtime/update-stage.rst b/awscli/examples/ivs-realtime/update-stage.rst index 945fab63b9c7..530d88e48f1b 100644 --- a/awscli/examples/ivs-realtime/update-stage.rst +++ b/awscli/examples/ivs-realtime/update-stage.rst @@ -4,8 +4,9 @@ The following ``update-stage`` example updates a stage for a specified stage ARN aws ivs-realtime update-stage \ --arn arn:aws:ivs:us-west-2:123456789012:stage/abcdABCDefgh \ - --auto-participant-recording-configuration '{"mediaTypes": ["AUDIO_VIDEO"],"storageConfigurationArn": "arn:aws:ivs:us-west-2:123456789012:storage-configuration/abcdABCDefgh", \ - "thumbnailConfiguration": {"recordingMode": "INTERVAL","storage": ["SEQUENTIAL"],"targetIntervalSeconds": 60}}' \ + --auto-participant-recording-configuration '{"mediaTypes": ["AUDIO_VIDEO"],"storageConfigurationArn": "arn:aws:ivs:us-west-2:123456789012:storage-configuration/abcdABCDefgh", "recordingReconnectWindowSeconds": 100, \ + "thumbnailConfiguration": {"recordingMode": "INTERVAL","storage": ["SEQUENTIAL"],"targetIntervalSeconds": 60}} \ + "hlsConfiguration": {"targetSegmentDurationSeconds": 5}}' \ --name stage1a Output:: @@ -24,6 +25,10 @@ Output:: "SEQUENTIAL" ], "recordingMode": "INTERVAL" + }, + "recordingReconnectWindowSeconds": 100, + "hlsConfiguration": { + "targetSegmentDurationSeconds": 5 } }, "endpoints": { @@ -37,4 +42,4 @@ Output:: } } -For more information, see `Enabling Multiple Hosts on an Amazon IVS Stream `__ in the *Amazon Interactive Video Service User Guide*. \ No newline at end of file +For more information, see `Enabling Multiple Hosts on an Amazon IVS Stream `__ in the *Amazon IVS Low-Latency Streaming User Guide*. \ No newline at end of file From 1a86cb967e6a4a3aefb3354e469e37b64c24ef70 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 31 Mar 2025 18:15:55 +0000 Subject: [PATCH 0538/1087] Update changelog based on model updates --- .changes/next-release/api-change-bedrockruntime-92026.json | 5 +++++ .changes/next-release/api-change-deadline-31932.json | 5 +++++ .changes/next-release/api-change-ec2-75568.json | 5 +++++ .changes/next-release/api-change-eks-25281.json | 5 +++++ .../api-change-marketplaceentitlement-20226.json | 5 +++++ .changes/next-release/api-change-outposts-40940.json | 5 +++++ .changes/next-release/api-change-s3-87716.json | 5 +++++ .changes/next-release/api-change-s3control-58373.json | 5 +++++ .changes/next-release/api-change-sesv2-99379.json | 5 +++++ .changes/next-release/api-change-transfer-92163.json | 5 +++++ 10 files changed, 50 insertions(+) create mode 100644 .changes/next-release/api-change-bedrockruntime-92026.json create mode 100644 .changes/next-release/api-change-deadline-31932.json create mode 100644 .changes/next-release/api-change-ec2-75568.json create mode 100644 .changes/next-release/api-change-eks-25281.json create mode 100644 .changes/next-release/api-change-marketplaceentitlement-20226.json create mode 100644 .changes/next-release/api-change-outposts-40940.json create mode 100644 .changes/next-release/api-change-s3-87716.json create mode 100644 .changes/next-release/api-change-s3control-58373.json create mode 100644 .changes/next-release/api-change-sesv2-99379.json create mode 100644 .changes/next-release/api-change-transfer-92163.json diff --git a/.changes/next-release/api-change-bedrockruntime-92026.json b/.changes/next-release/api-change-bedrockruntime-92026.json new file mode 100644 index 000000000000..2664bd3791d6 --- /dev/null +++ b/.changes/next-release/api-change-bedrockruntime-92026.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-runtime``", + "description": "Add Prompt Caching support to Converse and ConverseStream APIs" +} diff --git a/.changes/next-release/api-change-deadline-31932.json b/.changes/next-release/api-change-deadline-31932.json new file mode 100644 index 000000000000..9d0ab02339d9 --- /dev/null +++ b/.changes/next-release/api-change-deadline-31932.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``deadline``", + "description": "With this release you can use a new field to specify the search term match type. Search term match types currently support fuzzy and contains matching." +} diff --git a/.changes/next-release/api-change-ec2-75568.json b/.changes/next-release/api-change-ec2-75568.json new file mode 100644 index 000000000000..71ffc84c2641 --- /dev/null +++ b/.changes/next-release/api-change-ec2-75568.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ec2``", + "description": "Release VPC Route Server, a new feature allowing dynamic routing in VPCs." +} diff --git a/.changes/next-release/api-change-eks-25281.json b/.changes/next-release/api-change-eks-25281.json new file mode 100644 index 000000000000..872d7dee6efd --- /dev/null +++ b/.changes/next-release/api-change-eks-25281.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``eks``", + "description": "Add support for updating RemoteNetworkConfig for hybrid nodes on EKS UpdateClusterConfig API" +} diff --git a/.changes/next-release/api-change-marketplaceentitlement-20226.json b/.changes/next-release/api-change-marketplaceentitlement-20226.json new file mode 100644 index 000000000000..680f398be2e3 --- /dev/null +++ b/.changes/next-release/api-change-marketplaceentitlement-20226.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``marketplace-entitlement``", + "description": "Add support for Marketplace Entitlement Service dual-stack endpoints." +} diff --git a/.changes/next-release/api-change-outposts-40940.json b/.changes/next-release/api-change-outposts-40940.json new file mode 100644 index 000000000000..796eec63a990 --- /dev/null +++ b/.changes/next-release/api-change-outposts-40940.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``outposts``", + "description": "Enabling Asset Level Capacity Management feature, which allows customers to create a Capacity Task for a single Asset on their active Outpost." +} diff --git a/.changes/next-release/api-change-s3-87716.json b/.changes/next-release/api-change-s3-87716.json new file mode 100644 index 000000000000..784a2f800816 --- /dev/null +++ b/.changes/next-release/api-change-s3-87716.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``s3``", + "description": "Amazon S3 adds support for S3 Access Points for directory buckets in AWS Dedicated Local Zones" +} diff --git a/.changes/next-release/api-change-s3control-58373.json b/.changes/next-release/api-change-s3control-58373.json new file mode 100644 index 000000000000..c5655ec29840 --- /dev/null +++ b/.changes/next-release/api-change-s3control-58373.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``s3control``", + "description": "Amazon S3 adds support for S3 Access Points for directory buckets in AWS Dedicated Local Zones" +} diff --git a/.changes/next-release/api-change-sesv2-99379.json b/.changes/next-release/api-change-sesv2-99379.json new file mode 100644 index 000000000000..bbf1129f8dde --- /dev/null +++ b/.changes/next-release/api-change-sesv2-99379.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``sesv2``", + "description": "Add dual-stack support to global endpoints." +} diff --git a/.changes/next-release/api-change-transfer-92163.json b/.changes/next-release/api-change-transfer-92163.json new file mode 100644 index 000000000000..1f7b0a58d536 --- /dev/null +++ b/.changes/next-release/api-change-transfer-92163.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``transfer``", + "description": "Add WebAppEndpointPolicy support for WebApps" +} From d77697a73862e748151eae64ae398a70281aa649 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 31 Mar 2025 18:17:28 +0000 Subject: [PATCH 0539/1087] Bumping version to 1.38.24 --- .changes/1.38.24.json | 52 +++++++++++++++++++ .../api-change-bedrockruntime-92026.json | 5 -- .../api-change-deadline-31932.json | 5 -- .../next-release/api-change-ec2-75568.json | 5 -- .../next-release/api-change-eks-25281.json | 5 -- ...i-change-marketplaceentitlement-20226.json | 5 -- .../api-change-outposts-40940.json | 5 -- .../next-release/api-change-s3-87716.json | 5 -- .../api-change-s3control-58373.json | 5 -- .../next-release/api-change-sesv2-99379.json | 5 -- .../api-change-transfer-92163.json | 5 -- CHANGELOG.rst | 15 ++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 16 files changed, 71 insertions(+), 54 deletions(-) create mode 100644 .changes/1.38.24.json delete mode 100644 .changes/next-release/api-change-bedrockruntime-92026.json delete mode 100644 .changes/next-release/api-change-deadline-31932.json delete mode 100644 .changes/next-release/api-change-ec2-75568.json delete mode 100644 .changes/next-release/api-change-eks-25281.json delete mode 100644 .changes/next-release/api-change-marketplaceentitlement-20226.json delete mode 100644 .changes/next-release/api-change-outposts-40940.json delete mode 100644 .changes/next-release/api-change-s3-87716.json delete mode 100644 .changes/next-release/api-change-s3control-58373.json delete mode 100644 .changes/next-release/api-change-sesv2-99379.json delete mode 100644 .changes/next-release/api-change-transfer-92163.json diff --git a/.changes/1.38.24.json b/.changes/1.38.24.json new file mode 100644 index 000000000000..c72e58062706 --- /dev/null +++ b/.changes/1.38.24.json @@ -0,0 +1,52 @@ +[ + { + "category": "``bedrock-runtime``", + "description": "Add Prompt Caching support to Converse and ConverseStream APIs", + "type": "api-change" + }, + { + "category": "``deadline``", + "description": "With this release you can use a new field to specify the search term match type. Search term match types currently support fuzzy and contains matching.", + "type": "api-change" + }, + { + "category": "``ec2``", + "description": "Release VPC Route Server, a new feature allowing dynamic routing in VPCs.", + "type": "api-change" + }, + { + "category": "``eks``", + "description": "Add support for updating RemoteNetworkConfig for hybrid nodes on EKS UpdateClusterConfig API", + "type": "api-change" + }, + { + "category": "``marketplace-entitlement``", + "description": "Add support for Marketplace Entitlement Service dual-stack endpoints.", + "type": "api-change" + }, + { + "category": "``outposts``", + "description": "Enabling Asset Level Capacity Management feature, which allows customers to create a Capacity Task for a single Asset on their active Outpost.", + "type": "api-change" + }, + { + "category": "``s3``", + "description": "Amazon S3 adds support for S3 Access Points for directory buckets in AWS Dedicated Local Zones", + "type": "api-change" + }, + { + "category": "``s3control``", + "description": "Amazon S3 adds support for S3 Access Points for directory buckets in AWS Dedicated Local Zones", + "type": "api-change" + }, + { + "category": "``sesv2``", + "description": "Add dual-stack support to global endpoints.", + "type": "api-change" + }, + { + "category": "``transfer``", + "description": "Add WebAppEndpointPolicy support for WebApps", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-bedrockruntime-92026.json b/.changes/next-release/api-change-bedrockruntime-92026.json deleted file mode 100644 index 2664bd3791d6..000000000000 --- a/.changes/next-release/api-change-bedrockruntime-92026.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-runtime``", - "description": "Add Prompt Caching support to Converse and ConverseStream APIs" -} diff --git a/.changes/next-release/api-change-deadline-31932.json b/.changes/next-release/api-change-deadline-31932.json deleted file mode 100644 index 9d0ab02339d9..000000000000 --- a/.changes/next-release/api-change-deadline-31932.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``deadline``", - "description": "With this release you can use a new field to specify the search term match type. Search term match types currently support fuzzy and contains matching." -} diff --git a/.changes/next-release/api-change-ec2-75568.json b/.changes/next-release/api-change-ec2-75568.json deleted file mode 100644 index 71ffc84c2641..000000000000 --- a/.changes/next-release/api-change-ec2-75568.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ec2``", - "description": "Release VPC Route Server, a new feature allowing dynamic routing in VPCs." -} diff --git a/.changes/next-release/api-change-eks-25281.json b/.changes/next-release/api-change-eks-25281.json deleted file mode 100644 index 872d7dee6efd..000000000000 --- a/.changes/next-release/api-change-eks-25281.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``eks``", - "description": "Add support for updating RemoteNetworkConfig for hybrid nodes on EKS UpdateClusterConfig API" -} diff --git a/.changes/next-release/api-change-marketplaceentitlement-20226.json b/.changes/next-release/api-change-marketplaceentitlement-20226.json deleted file mode 100644 index 680f398be2e3..000000000000 --- a/.changes/next-release/api-change-marketplaceentitlement-20226.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``marketplace-entitlement``", - "description": "Add support for Marketplace Entitlement Service dual-stack endpoints." -} diff --git a/.changes/next-release/api-change-outposts-40940.json b/.changes/next-release/api-change-outposts-40940.json deleted file mode 100644 index 796eec63a990..000000000000 --- a/.changes/next-release/api-change-outposts-40940.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``outposts``", - "description": "Enabling Asset Level Capacity Management feature, which allows customers to create a Capacity Task for a single Asset on their active Outpost." -} diff --git a/.changes/next-release/api-change-s3-87716.json b/.changes/next-release/api-change-s3-87716.json deleted file mode 100644 index 784a2f800816..000000000000 --- a/.changes/next-release/api-change-s3-87716.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``s3``", - "description": "Amazon S3 adds support for S3 Access Points for directory buckets in AWS Dedicated Local Zones" -} diff --git a/.changes/next-release/api-change-s3control-58373.json b/.changes/next-release/api-change-s3control-58373.json deleted file mode 100644 index c5655ec29840..000000000000 --- a/.changes/next-release/api-change-s3control-58373.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``s3control``", - "description": "Amazon S3 adds support for S3 Access Points for directory buckets in AWS Dedicated Local Zones" -} diff --git a/.changes/next-release/api-change-sesv2-99379.json b/.changes/next-release/api-change-sesv2-99379.json deleted file mode 100644 index bbf1129f8dde..000000000000 --- a/.changes/next-release/api-change-sesv2-99379.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``sesv2``", - "description": "Add dual-stack support to global endpoints." -} diff --git a/.changes/next-release/api-change-transfer-92163.json b/.changes/next-release/api-change-transfer-92163.json deleted file mode 100644 index 1f7b0a58d536..000000000000 --- a/.changes/next-release/api-change-transfer-92163.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``transfer``", - "description": "Add WebAppEndpointPolicy support for WebApps" -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 7a7febc0eac3..2ae2ce434732 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,21 @@ CHANGELOG ========= +1.38.24 +======= + +* api-change:``bedrock-runtime``: Add Prompt Caching support to Converse and ConverseStream APIs +* api-change:``deadline``: With this release you can use a new field to specify the search term match type. Search term match types currently support fuzzy and contains matching. +* api-change:``ec2``: Release VPC Route Server, a new feature allowing dynamic routing in VPCs. +* api-change:``eks``: Add support for updating RemoteNetworkConfig for hybrid nodes on EKS UpdateClusterConfig API +* api-change:``marketplace-entitlement``: Add support for Marketplace Entitlement Service dual-stack endpoints. +* api-change:``outposts``: Enabling Asset Level Capacity Management feature, which allows customers to create a Capacity Task for a single Asset on their active Outpost. +* api-change:``s3``: Amazon S3 adds support for S3 Access Points for directory buckets in AWS Dedicated Local Zones +* api-change:``s3control``: Amazon S3 adds support for S3 Access Points for directory buckets in AWS Dedicated Local Zones +* api-change:``sesv2``: Add dual-stack support to global endpoints. +* api-change:``transfer``: Add WebAppEndpointPolicy support for WebApps + + 1.38.23 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 43d8497be91b..1ff7d7eba1e6 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.38.23' +__version__ = '1.38.24' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 459c7759e768..2327077b26db 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.38.' # The full version, including alpha/beta/rc tags. -release = '1.38.23' +release = '1.38.24' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index f8f821bc5b3f..33a416192974 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.37.23 + botocore==1.37.24 docutils>=0.10,<0.17 s3transfer>=0.11.0,<0.12.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 71e91c53fad5..822d437bca71 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.37.23', + 'botocore==1.37.24', 'docutils>=0.10,<0.17', 's3transfer>=0.11.0,<0.12.0', 'PyYAML>=3.10,<6.1', From 3a2a74efc97f0adb6a8db2ec0224cff91bd8f1fd Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 1 Apr 2025 18:14:29 +0000 Subject: [PATCH 0540/1087] Update changelog based on model updates --- .changes/next-release/api-change-cleanrooms-70566.json | 5 +++++ .changes/next-release/api-change-sagemaker-66520.json | 5 +++++ 2 files changed, 10 insertions(+) create mode 100644 .changes/next-release/api-change-cleanrooms-70566.json create mode 100644 .changes/next-release/api-change-sagemaker-66520.json diff --git a/.changes/next-release/api-change-cleanrooms-70566.json b/.changes/next-release/api-change-cleanrooms-70566.json new file mode 100644 index 000000000000..75e0038c1933 --- /dev/null +++ b/.changes/next-release/api-change-cleanrooms-70566.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``cleanrooms``", + "description": "This release adds support for updating the analytics engine of a collaboration." +} diff --git a/.changes/next-release/api-change-sagemaker-66520.json b/.changes/next-release/api-change-sagemaker-66520.json new file mode 100644 index 000000000000..d53becee36b8 --- /dev/null +++ b/.changes/next-release/api-change-sagemaker-66520.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``sagemaker``", + "description": "Added tagging support for SageMaker notebook instance lifecycle configurations" +} From a0a094935e431ca6ace4ced8d4ce58e5f091ad11 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 1 Apr 2025 18:15:59 +0000 Subject: [PATCH 0541/1087] Bumping version to 1.38.25 --- .changes/1.38.25.json | 12 ++++++++++++ .../next-release/api-change-cleanrooms-70566.json | 5 ----- .../next-release/api-change-sagemaker-66520.json | 5 ----- CHANGELOG.rst | 7 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 8 files changed, 23 insertions(+), 14 deletions(-) create mode 100644 .changes/1.38.25.json delete mode 100644 .changes/next-release/api-change-cleanrooms-70566.json delete mode 100644 .changes/next-release/api-change-sagemaker-66520.json diff --git a/.changes/1.38.25.json b/.changes/1.38.25.json new file mode 100644 index 000000000000..a313e59c9d28 --- /dev/null +++ b/.changes/1.38.25.json @@ -0,0 +1,12 @@ +[ + { + "category": "``cleanrooms``", + "description": "This release adds support for updating the analytics engine of a collaboration.", + "type": "api-change" + }, + { + "category": "``sagemaker``", + "description": "Added tagging support for SageMaker notebook instance lifecycle configurations", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-cleanrooms-70566.json b/.changes/next-release/api-change-cleanrooms-70566.json deleted file mode 100644 index 75e0038c1933..000000000000 --- a/.changes/next-release/api-change-cleanrooms-70566.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``cleanrooms``", - "description": "This release adds support for updating the analytics engine of a collaboration." -} diff --git a/.changes/next-release/api-change-sagemaker-66520.json b/.changes/next-release/api-change-sagemaker-66520.json deleted file mode 100644 index d53becee36b8..000000000000 --- a/.changes/next-release/api-change-sagemaker-66520.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``sagemaker``", - "description": "Added tagging support for SageMaker notebook instance lifecycle configurations" -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 2ae2ce434732..c47cedd1ed4d 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,13 @@ CHANGELOG ========= +1.38.25 +======= + +* api-change:``cleanrooms``: This release adds support for updating the analytics engine of a collaboration. +* api-change:``sagemaker``: Added tagging support for SageMaker notebook instance lifecycle configurations + + 1.38.24 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 1ff7d7eba1e6..0a9473358425 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.38.24' +__version__ = '1.38.25' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 2327077b26db..41a152e29734 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.38.' # The full version, including alpha/beta/rc tags. -release = '1.38.24' +release = '1.38.25' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 33a416192974..442c2c859e7a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.37.24 + botocore==1.37.25 docutils>=0.10,<0.17 s3transfer>=0.11.0,<0.12.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 822d437bca71..e825aa76bde4 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.37.24', + 'botocore==1.37.25', 'docutils>=0.10,<0.17', 's3transfer>=0.11.0,<0.12.0', 'PyYAML>=3.10,<6.1', From 461c7a9f003b93c42d3c8a88b7320c62c5fb1753 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 2 Apr 2025 18:16:16 +0000 Subject: [PATCH 0542/1087] Update changelog based on model updates --- .../next-release/api-change-applicationsignals-20431.json | 5 +++++ .changes/next-release/api-change-codebuild-68474.json | 5 +++++ .changes/next-release/api-change-ecr-62250.json | 5 +++++ .changes/next-release/api-change-ecs-28829.json | 5 +++++ .changes/next-release/api-change-lexv2models-93830.json | 5 +++++ .changes/next-release/api-change-medialive-6673.json | 5 +++++ 6 files changed, 30 insertions(+) create mode 100644 .changes/next-release/api-change-applicationsignals-20431.json create mode 100644 .changes/next-release/api-change-codebuild-68474.json create mode 100644 .changes/next-release/api-change-ecr-62250.json create mode 100644 .changes/next-release/api-change-ecs-28829.json create mode 100644 .changes/next-release/api-change-lexv2models-93830.json create mode 100644 .changes/next-release/api-change-medialive-6673.json diff --git a/.changes/next-release/api-change-applicationsignals-20431.json b/.changes/next-release/api-change-applicationsignals-20431.json new file mode 100644 index 000000000000..8483fa7cd29b --- /dev/null +++ b/.changes/next-release/api-change-applicationsignals-20431.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``application-signals``", + "description": "Application Signals now supports creating Service Level Objectives on service dependencies. Users can now create or update SLOs on discovered service dependencies to monitor their standard application metrics." +} diff --git a/.changes/next-release/api-change-codebuild-68474.json b/.changes/next-release/api-change-codebuild-68474.json new file mode 100644 index 000000000000..8fca1fb099fe --- /dev/null +++ b/.changes/next-release/api-change-codebuild-68474.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``codebuild``", + "description": "This release adds support for environment type WINDOWS_SERVER_2022_CONTAINER in ProjectEnvironment" +} diff --git a/.changes/next-release/api-change-ecr-62250.json b/.changes/next-release/api-change-ecr-62250.json new file mode 100644 index 000000000000..7cbfaa900e17 --- /dev/null +++ b/.changes/next-release/api-change-ecr-62250.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ecr``", + "description": "Fix for customer issues related to AWS account ID and size limitation for token." +} diff --git a/.changes/next-release/api-change-ecs-28829.json b/.changes/next-release/api-change-ecs-28829.json new file mode 100644 index 000000000000..3d53c17ceafa --- /dev/null +++ b/.changes/next-release/api-change-ecs-28829.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ecs``", + "description": "This is an Amazon ECS documentation only update to address various tickets." +} diff --git a/.changes/next-release/api-change-lexv2models-93830.json b/.changes/next-release/api-change-lexv2models-93830.json new file mode 100644 index 000000000000..af9176cdbafb --- /dev/null +++ b/.changes/next-release/api-change-lexv2models-93830.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``lexv2-models``", + "description": "Release feature of errorlogging for lex bot, customer can config this feature in bot version to generate log for error exception which helps debug" +} diff --git a/.changes/next-release/api-change-medialive-6673.json b/.changes/next-release/api-change-medialive-6673.json new file mode 100644 index 000000000000..79dae175e74d --- /dev/null +++ b/.changes/next-release/api-change-medialive-6673.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``medialive``", + "description": "Added support for SMPTE 2110 inputs when running a channel in a MediaLive Anywhere cluster. This feature enables ingestion of SMPTE 2110-compliant video, audio, and ancillary streams by reading SDP files that AWS Elemental MediaLive can retrieve from a network source." +} From 675ddf3baf8e1cba2301f9ca24930cb4e3625878 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 2 Apr 2025 18:17:38 +0000 Subject: [PATCH 0543/1087] Bumping version to 1.38.26 --- .changes/1.38.26.json | 32 +++++++++++++++++++ .../api-change-applicationsignals-20431.json | 5 --- .../api-change-codebuild-68474.json | 5 --- .../next-release/api-change-ecr-62250.json | 5 --- .../next-release/api-change-ecs-28829.json | 5 --- .../api-change-lexv2models-93830.json | 5 --- .../api-change-medialive-6673.json | 5 --- CHANGELOG.rst | 11 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 12 files changed, 47 insertions(+), 34 deletions(-) create mode 100644 .changes/1.38.26.json delete mode 100644 .changes/next-release/api-change-applicationsignals-20431.json delete mode 100644 .changes/next-release/api-change-codebuild-68474.json delete mode 100644 .changes/next-release/api-change-ecr-62250.json delete mode 100644 .changes/next-release/api-change-ecs-28829.json delete mode 100644 .changes/next-release/api-change-lexv2models-93830.json delete mode 100644 .changes/next-release/api-change-medialive-6673.json diff --git a/.changes/1.38.26.json b/.changes/1.38.26.json new file mode 100644 index 000000000000..be572673e089 --- /dev/null +++ b/.changes/1.38.26.json @@ -0,0 +1,32 @@ +[ + { + "category": "``application-signals``", + "description": "Application Signals now supports creating Service Level Objectives on service dependencies. Users can now create or update SLOs on discovered service dependencies to monitor their standard application metrics.", + "type": "api-change" + }, + { + "category": "``codebuild``", + "description": "This release adds support for environment type WINDOWS_SERVER_2022_CONTAINER in ProjectEnvironment", + "type": "api-change" + }, + { + "category": "``ecr``", + "description": "Fix for customer issues related to AWS account ID and size limitation for token.", + "type": "api-change" + }, + { + "category": "``ecs``", + "description": "This is an Amazon ECS documentation only update to address various tickets.", + "type": "api-change" + }, + { + "category": "``lexv2-models``", + "description": "Release feature of errorlogging for lex bot, customer can config this feature in bot version to generate log for error exception which helps debug", + "type": "api-change" + }, + { + "category": "``medialive``", + "description": "Added support for SMPTE 2110 inputs when running a channel in a MediaLive Anywhere cluster. This feature enables ingestion of SMPTE 2110-compliant video, audio, and ancillary streams by reading SDP files that AWS Elemental MediaLive can retrieve from a network source.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-applicationsignals-20431.json b/.changes/next-release/api-change-applicationsignals-20431.json deleted file mode 100644 index 8483fa7cd29b..000000000000 --- a/.changes/next-release/api-change-applicationsignals-20431.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``application-signals``", - "description": "Application Signals now supports creating Service Level Objectives on service dependencies. Users can now create or update SLOs on discovered service dependencies to monitor their standard application metrics." -} diff --git a/.changes/next-release/api-change-codebuild-68474.json b/.changes/next-release/api-change-codebuild-68474.json deleted file mode 100644 index 8fca1fb099fe..000000000000 --- a/.changes/next-release/api-change-codebuild-68474.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``codebuild``", - "description": "This release adds support for environment type WINDOWS_SERVER_2022_CONTAINER in ProjectEnvironment" -} diff --git a/.changes/next-release/api-change-ecr-62250.json b/.changes/next-release/api-change-ecr-62250.json deleted file mode 100644 index 7cbfaa900e17..000000000000 --- a/.changes/next-release/api-change-ecr-62250.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ecr``", - "description": "Fix for customer issues related to AWS account ID and size limitation for token." -} diff --git a/.changes/next-release/api-change-ecs-28829.json b/.changes/next-release/api-change-ecs-28829.json deleted file mode 100644 index 3d53c17ceafa..000000000000 --- a/.changes/next-release/api-change-ecs-28829.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ecs``", - "description": "This is an Amazon ECS documentation only update to address various tickets." -} diff --git a/.changes/next-release/api-change-lexv2models-93830.json b/.changes/next-release/api-change-lexv2models-93830.json deleted file mode 100644 index af9176cdbafb..000000000000 --- a/.changes/next-release/api-change-lexv2models-93830.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``lexv2-models``", - "description": "Release feature of errorlogging for lex bot, customer can config this feature in bot version to generate log for error exception which helps debug" -} diff --git a/.changes/next-release/api-change-medialive-6673.json b/.changes/next-release/api-change-medialive-6673.json deleted file mode 100644 index 79dae175e74d..000000000000 --- a/.changes/next-release/api-change-medialive-6673.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``medialive``", - "description": "Added support for SMPTE 2110 inputs when running a channel in a MediaLive Anywhere cluster. This feature enables ingestion of SMPTE 2110-compliant video, audio, and ancillary streams by reading SDP files that AWS Elemental MediaLive can retrieve from a network source." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index c47cedd1ed4d..c514d67e6b46 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,17 @@ CHANGELOG ========= +1.38.26 +======= + +* api-change:``application-signals``: Application Signals now supports creating Service Level Objectives on service dependencies. Users can now create or update SLOs on discovered service dependencies to monitor their standard application metrics. +* api-change:``codebuild``: This release adds support for environment type WINDOWS_SERVER_2022_CONTAINER in ProjectEnvironment +* api-change:``ecr``: Fix for customer issues related to AWS account ID and size limitation for token. +* api-change:``ecs``: This is an Amazon ECS documentation only update to address various tickets. +* api-change:``lexv2-models``: Release feature of errorlogging for lex bot, customer can config this feature in bot version to generate log for error exception which helps debug +* api-change:``medialive``: Added support for SMPTE 2110 inputs when running a channel in a MediaLive Anywhere cluster. This feature enables ingestion of SMPTE 2110-compliant video, audio, and ancillary streams by reading SDP files that AWS Elemental MediaLive can retrieve from a network source. + + 1.38.25 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 0a9473358425..f4d4ca30cee2 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.38.25' +__version__ = '1.38.26' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 41a152e29734..6c49fbce2353 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.38.' # The full version, including alpha/beta/rc tags. -release = '1.38.25' +release = '1.38.26' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 442c2c859e7a..3c2671bacad2 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.37.25 + botocore==1.37.26 docutils>=0.10,<0.17 s3transfer>=0.11.0,<0.12.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index e825aa76bde4..32a2a5b4bfd2 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.37.25', + 'botocore==1.37.26', 'docutils>=0.10,<0.17', 's3transfer>=0.11.0,<0.12.0', 'PyYAML>=3.10,<6.1', From aee4eef3217ac590bd50a0aefe8b18d305a9245d Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 3 Apr 2025 18:11:10 +0000 Subject: [PATCH 0544/1087] Update changelog based on model updates --- .changes/next-release/api-change-bedrockagent-23283.json | 5 +++++ .changes/next-release/api-change-chimesdkvoice-85321.json | 5 +++++ .changes/next-release/api-change-mailmanager-21132.json | 5 +++++ .changes/next-release/api-change-opensearch-41800.json | 5 +++++ .changes/next-release/api-change-route53-65726.json | 5 +++++ .changes/next-release/api-change-sagemaker-1647.json | 5 +++++ .changes/next-release/api-change-sesv2-86419.json | 5 +++++ .changes/next-release/api-change-transcribe-29601.json | 5 +++++ 8 files changed, 40 insertions(+) create mode 100644 .changes/next-release/api-change-bedrockagent-23283.json create mode 100644 .changes/next-release/api-change-chimesdkvoice-85321.json create mode 100644 .changes/next-release/api-change-mailmanager-21132.json create mode 100644 .changes/next-release/api-change-opensearch-41800.json create mode 100644 .changes/next-release/api-change-route53-65726.json create mode 100644 .changes/next-release/api-change-sagemaker-1647.json create mode 100644 .changes/next-release/api-change-sesv2-86419.json create mode 100644 .changes/next-release/api-change-transcribe-29601.json diff --git a/.changes/next-release/api-change-bedrockagent-23283.json b/.changes/next-release/api-change-bedrockagent-23283.json new file mode 100644 index 000000000000..3c0c55b6c73b --- /dev/null +++ b/.changes/next-release/api-change-bedrockagent-23283.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-agent``", + "description": "Added optional \"customMetadataField\" for Amazon Aurora knowledge bases, allowing single-column metadata. Also added optional \"textIndexName\" for MongoDB Atlas knowledge bases, enabling hybrid search support." +} diff --git a/.changes/next-release/api-change-chimesdkvoice-85321.json b/.changes/next-release/api-change-chimesdkvoice-85321.json new file mode 100644 index 000000000000..c31c8d44ad40 --- /dev/null +++ b/.changes/next-release/api-change-chimesdkvoice-85321.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``chime-sdk-voice``", + "description": "Added FOC date as an attribute of PhoneNumberOrder, added AccessDeniedException as a possible return type of ValidateE911Address" +} diff --git a/.changes/next-release/api-change-mailmanager-21132.json b/.changes/next-release/api-change-mailmanager-21132.json new file mode 100644 index 000000000000..2310d5cabcdc --- /dev/null +++ b/.changes/next-release/api-change-mailmanager-21132.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``mailmanager``", + "description": "Add support for Dual_Stack and PrivateLink types of IngressPoint. For configuration requests, SES Mail Manager will now accept both IPv4/IPv6 dual-stack endpoints and AWS PrivateLink VPC endpoints for email receiving." +} diff --git a/.changes/next-release/api-change-opensearch-41800.json b/.changes/next-release/api-change-opensearch-41800.json new file mode 100644 index 000000000000..7a746796ea22 --- /dev/null +++ b/.changes/next-release/api-change-opensearch-41800.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``opensearch``", + "description": "Improve descriptions for various API commands and data types." +} diff --git a/.changes/next-release/api-change-route53-65726.json b/.changes/next-release/api-change-route53-65726.json new file mode 100644 index 000000000000..25dc5a803bb0 --- /dev/null +++ b/.changes/next-release/api-change-route53-65726.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``route53``", + "description": "Added us-gov-east-1 and us-gov-west-1 as valid Latency Based Routing regions for change-resource-record-sets." +} diff --git a/.changes/next-release/api-change-sagemaker-1647.json b/.changes/next-release/api-change-sagemaker-1647.json new file mode 100644 index 000000000000..640e76844689 --- /dev/null +++ b/.changes/next-release/api-change-sagemaker-1647.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``sagemaker``", + "description": "Adds support for i3en, m7i, r7i instance types for SageMaker Hyperpod" +} diff --git a/.changes/next-release/api-change-sesv2-86419.json b/.changes/next-release/api-change-sesv2-86419.json new file mode 100644 index 000000000000..8820cf52018d --- /dev/null +++ b/.changes/next-release/api-change-sesv2-86419.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``sesv2``", + "description": "This release enables customers to provide attachments in the SESv2 SendEmail and SendBulkEmail APIs." +} diff --git a/.changes/next-release/api-change-transcribe-29601.json b/.changes/next-release/api-change-transcribe-29601.json new file mode 100644 index 000000000000..e50929f77993 --- /dev/null +++ b/.changes/next-release/api-change-transcribe-29601.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``transcribe``", + "description": "This Feature Adds Support for the \"zh-HK\" Locale for Batch Operations" +} From 2c52259eef5dbc76c5767c08a47f6cadfbced93b Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Thu, 3 Apr 2025 18:12:36 +0000 Subject: [PATCH 0545/1087] Bumping version to 1.38.27 --- .changes/1.38.27.json | 42 +++++++++++++++++++ .../api-change-bedrockagent-23283.json | 5 --- .../api-change-chimesdkvoice-85321.json | 5 --- .../api-change-mailmanager-21132.json | 5 --- .../api-change-opensearch-41800.json | 5 --- .../api-change-route53-65726.json | 5 --- .../api-change-sagemaker-1647.json | 5 --- .../next-release/api-change-sesv2-86419.json | 5 --- .../api-change-transcribe-29601.json | 5 --- CHANGELOG.rst | 13 ++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 14 files changed, 59 insertions(+), 44 deletions(-) create mode 100644 .changes/1.38.27.json delete mode 100644 .changes/next-release/api-change-bedrockagent-23283.json delete mode 100644 .changes/next-release/api-change-chimesdkvoice-85321.json delete mode 100644 .changes/next-release/api-change-mailmanager-21132.json delete mode 100644 .changes/next-release/api-change-opensearch-41800.json delete mode 100644 .changes/next-release/api-change-route53-65726.json delete mode 100644 .changes/next-release/api-change-sagemaker-1647.json delete mode 100644 .changes/next-release/api-change-sesv2-86419.json delete mode 100644 .changes/next-release/api-change-transcribe-29601.json diff --git a/.changes/1.38.27.json b/.changes/1.38.27.json new file mode 100644 index 000000000000..6991afda9078 --- /dev/null +++ b/.changes/1.38.27.json @@ -0,0 +1,42 @@ +[ + { + "category": "``bedrock-agent``", + "description": "Added optional \"customMetadataField\" for Amazon Aurora knowledge bases, allowing single-column metadata. Also added optional \"textIndexName\" for MongoDB Atlas knowledge bases, enabling hybrid search support.", + "type": "api-change" + }, + { + "category": "``chime-sdk-voice``", + "description": "Added FOC date as an attribute of PhoneNumberOrder, added AccessDeniedException as a possible return type of ValidateE911Address", + "type": "api-change" + }, + { + "category": "``mailmanager``", + "description": "Add support for Dual_Stack and PrivateLink types of IngressPoint. For configuration requests, SES Mail Manager will now accept both IPv4/IPv6 dual-stack endpoints and AWS PrivateLink VPC endpoints for email receiving.", + "type": "api-change" + }, + { + "category": "``opensearch``", + "description": "Improve descriptions for various API commands and data types.", + "type": "api-change" + }, + { + "category": "``route53``", + "description": "Added us-gov-east-1 and us-gov-west-1 as valid Latency Based Routing regions for change-resource-record-sets.", + "type": "api-change" + }, + { + "category": "``sagemaker``", + "description": "Adds support for i3en, m7i, r7i instance types for SageMaker Hyperpod", + "type": "api-change" + }, + { + "category": "``sesv2``", + "description": "This release enables customers to provide attachments in the SESv2 SendEmail and SendBulkEmail APIs.", + "type": "api-change" + }, + { + "category": "``transcribe``", + "description": "This Feature Adds Support for the \"zh-HK\" Locale for Batch Operations", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-bedrockagent-23283.json b/.changes/next-release/api-change-bedrockagent-23283.json deleted file mode 100644 index 3c0c55b6c73b..000000000000 --- a/.changes/next-release/api-change-bedrockagent-23283.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-agent``", - "description": "Added optional \"customMetadataField\" for Amazon Aurora knowledge bases, allowing single-column metadata. Also added optional \"textIndexName\" for MongoDB Atlas knowledge bases, enabling hybrid search support." -} diff --git a/.changes/next-release/api-change-chimesdkvoice-85321.json b/.changes/next-release/api-change-chimesdkvoice-85321.json deleted file mode 100644 index c31c8d44ad40..000000000000 --- a/.changes/next-release/api-change-chimesdkvoice-85321.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``chime-sdk-voice``", - "description": "Added FOC date as an attribute of PhoneNumberOrder, added AccessDeniedException as a possible return type of ValidateE911Address" -} diff --git a/.changes/next-release/api-change-mailmanager-21132.json b/.changes/next-release/api-change-mailmanager-21132.json deleted file mode 100644 index 2310d5cabcdc..000000000000 --- a/.changes/next-release/api-change-mailmanager-21132.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``mailmanager``", - "description": "Add support for Dual_Stack and PrivateLink types of IngressPoint. For configuration requests, SES Mail Manager will now accept both IPv4/IPv6 dual-stack endpoints and AWS PrivateLink VPC endpoints for email receiving." -} diff --git a/.changes/next-release/api-change-opensearch-41800.json b/.changes/next-release/api-change-opensearch-41800.json deleted file mode 100644 index 7a746796ea22..000000000000 --- a/.changes/next-release/api-change-opensearch-41800.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``opensearch``", - "description": "Improve descriptions for various API commands and data types." -} diff --git a/.changes/next-release/api-change-route53-65726.json b/.changes/next-release/api-change-route53-65726.json deleted file mode 100644 index 25dc5a803bb0..000000000000 --- a/.changes/next-release/api-change-route53-65726.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``route53``", - "description": "Added us-gov-east-1 and us-gov-west-1 as valid Latency Based Routing regions for change-resource-record-sets." -} diff --git a/.changes/next-release/api-change-sagemaker-1647.json b/.changes/next-release/api-change-sagemaker-1647.json deleted file mode 100644 index 640e76844689..000000000000 --- a/.changes/next-release/api-change-sagemaker-1647.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``sagemaker``", - "description": "Adds support for i3en, m7i, r7i instance types for SageMaker Hyperpod" -} diff --git a/.changes/next-release/api-change-sesv2-86419.json b/.changes/next-release/api-change-sesv2-86419.json deleted file mode 100644 index 8820cf52018d..000000000000 --- a/.changes/next-release/api-change-sesv2-86419.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``sesv2``", - "description": "This release enables customers to provide attachments in the SESv2 SendEmail and SendBulkEmail APIs." -} diff --git a/.changes/next-release/api-change-transcribe-29601.json b/.changes/next-release/api-change-transcribe-29601.json deleted file mode 100644 index e50929f77993..000000000000 --- a/.changes/next-release/api-change-transcribe-29601.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``transcribe``", - "description": "This Feature Adds Support for the \"zh-HK\" Locale for Batch Operations" -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index c514d67e6b46..0517de11c5f8 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,19 @@ CHANGELOG ========= +1.38.27 +======= + +* api-change:``bedrock-agent``: Added optional "customMetadataField" for Amazon Aurora knowledge bases, allowing single-column metadata. Also added optional "textIndexName" for MongoDB Atlas knowledge bases, enabling hybrid search support. +* api-change:``chime-sdk-voice``: Added FOC date as an attribute of PhoneNumberOrder, added AccessDeniedException as a possible return type of ValidateE911Address +* api-change:``mailmanager``: Add support for Dual_Stack and PrivateLink types of IngressPoint. For configuration requests, SES Mail Manager will now accept both IPv4/IPv6 dual-stack endpoints and AWS PrivateLink VPC endpoints for email receiving. +* api-change:``opensearch``: Improve descriptions for various API commands and data types. +* api-change:``route53``: Added us-gov-east-1 and us-gov-west-1 as valid Latency Based Routing regions for change-resource-record-sets. +* api-change:``sagemaker``: Adds support for i3en, m7i, r7i instance types for SageMaker Hyperpod +* api-change:``sesv2``: This release enables customers to provide attachments in the SESv2 SendEmail and SendBulkEmail APIs. +* api-change:``transcribe``: This Feature Adds Support for the "zh-HK" Locale for Batch Operations + + 1.38.26 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index f4d4ca30cee2..f6029a8e8690 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.38.26' +__version__ = '1.38.27' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 6c49fbce2353..be74e46b42c6 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.38.' # The full version, including alpha/beta/rc tags. -release = '1.38.26' +release = '1.38.27' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 3c2671bacad2..453330c076fa 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.37.26 + botocore==1.37.27 docutils>=0.10,<0.17 s3transfer>=0.11.0,<0.12.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 32a2a5b4bfd2..951894a38360 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.37.26', + 'botocore==1.37.27', 'docutils>=0.10,<0.17', 's3transfer>=0.11.0,<0.12.0', 'PyYAML>=3.10,<6.1', From 5f4a152b038265fa6a3e2897e1df30b1f5567a77 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 4 Apr 2025 18:20:44 +0000 Subject: [PATCH 0546/1087] Update changelog based on model updates --- .changes/next-release/api-change-dsdata-94492.json | 5 +++++ .changes/next-release/api-change-ec2-28858.json | 5 +++++ .changes/next-release/api-change-events-30074.json | 5 +++++ .changes/next-release/api-change-s3control-87313.json | 5 +++++ 4 files changed, 20 insertions(+) create mode 100644 .changes/next-release/api-change-dsdata-94492.json create mode 100644 .changes/next-release/api-change-ec2-28858.json create mode 100644 .changes/next-release/api-change-events-30074.json create mode 100644 .changes/next-release/api-change-s3control-87313.json diff --git a/.changes/next-release/api-change-dsdata-94492.json b/.changes/next-release/api-change-dsdata-94492.json new file mode 100644 index 000000000000..d038add26971 --- /dev/null +++ b/.changes/next-release/api-change-dsdata-94492.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ds-data``", + "description": "Doc only update - fixed broken links." +} diff --git a/.changes/next-release/api-change-ec2-28858.json b/.changes/next-release/api-change-ec2-28858.json new file mode 100644 index 000000000000..96b4fca2a15f --- /dev/null +++ b/.changes/next-release/api-change-ec2-28858.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ec2``", + "description": "Doc-only updates for Amazon EC2" +} diff --git a/.changes/next-release/api-change-events-30074.json b/.changes/next-release/api-change-events-30074.json new file mode 100644 index 000000000000..d7237343429b --- /dev/null +++ b/.changes/next-release/api-change-events-30074.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``events``", + "description": "Amazon EventBridge adds support for customer-managed keys on Archives and validations for two fields: eventSourceArn and kmsKeyIdentifier." +} diff --git a/.changes/next-release/api-change-s3control-87313.json b/.changes/next-release/api-change-s3control-87313.json new file mode 100644 index 000000000000..11b10dbdab5a --- /dev/null +++ b/.changes/next-release/api-change-s3control-87313.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``s3control``", + "description": "Updated max size of Prefixes parameter of Scope data type." +} From 0f36e332553b47fc553a687b3e399bac6666281f Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Fri, 4 Apr 2025 18:22:16 +0000 Subject: [PATCH 0547/1087] Bumping version to 1.38.28 --- .changes/1.38.28.json | 22 +++++++++++++++++++ .../next-release/api-change-dsdata-94492.json | 5 ----- .../next-release/api-change-ec2-28858.json | 5 ----- .../next-release/api-change-events-30074.json | 5 ----- .../api-change-s3control-87313.json | 5 ----- CHANGELOG.rst | 9 ++++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 10 files changed, 35 insertions(+), 24 deletions(-) create mode 100644 .changes/1.38.28.json delete mode 100644 .changes/next-release/api-change-dsdata-94492.json delete mode 100644 .changes/next-release/api-change-ec2-28858.json delete mode 100644 .changes/next-release/api-change-events-30074.json delete mode 100644 .changes/next-release/api-change-s3control-87313.json diff --git a/.changes/1.38.28.json b/.changes/1.38.28.json new file mode 100644 index 000000000000..cbc67cd43cd7 --- /dev/null +++ b/.changes/1.38.28.json @@ -0,0 +1,22 @@ +[ + { + "category": "``ds-data``", + "description": "Doc only update - fixed broken links.", + "type": "api-change" + }, + { + "category": "``ec2``", + "description": "Doc-only updates for Amazon EC2", + "type": "api-change" + }, + { + "category": "``events``", + "description": "Amazon EventBridge adds support for customer-managed keys on Archives and validations for two fields: eventSourceArn and kmsKeyIdentifier.", + "type": "api-change" + }, + { + "category": "``s3control``", + "description": "Updated max size of Prefixes parameter of Scope data type.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-dsdata-94492.json b/.changes/next-release/api-change-dsdata-94492.json deleted file mode 100644 index d038add26971..000000000000 --- a/.changes/next-release/api-change-dsdata-94492.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ds-data``", - "description": "Doc only update - fixed broken links." -} diff --git a/.changes/next-release/api-change-ec2-28858.json b/.changes/next-release/api-change-ec2-28858.json deleted file mode 100644 index 96b4fca2a15f..000000000000 --- a/.changes/next-release/api-change-ec2-28858.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ec2``", - "description": "Doc-only updates for Amazon EC2" -} diff --git a/.changes/next-release/api-change-events-30074.json b/.changes/next-release/api-change-events-30074.json deleted file mode 100644 index d7237343429b..000000000000 --- a/.changes/next-release/api-change-events-30074.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``events``", - "description": "Amazon EventBridge adds support for customer-managed keys on Archives and validations for two fields: eventSourceArn and kmsKeyIdentifier." -} diff --git a/.changes/next-release/api-change-s3control-87313.json b/.changes/next-release/api-change-s3control-87313.json deleted file mode 100644 index 11b10dbdab5a..000000000000 --- a/.changes/next-release/api-change-s3control-87313.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``s3control``", - "description": "Updated max size of Prefixes parameter of Scope data type." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 0517de11c5f8..a581107d5a2f 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,15 @@ CHANGELOG ========= +1.38.28 +======= + +* api-change:``ds-data``: Doc only update - fixed broken links. +* api-change:``ec2``: Doc-only updates for Amazon EC2 +* api-change:``events``: Amazon EventBridge adds support for customer-managed keys on Archives and validations for two fields: eventSourceArn and kmsKeyIdentifier. +* api-change:``s3control``: Updated max size of Prefixes parameter of Scope data type. + + 1.38.27 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index f6029a8e8690..61d9ee35297c 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.38.27' +__version__ = '1.38.28' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index be74e46b42c6..7e929150d72c 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.38.' # The full version, including alpha/beta/rc tags. -release = '1.38.27' +release = '1.38.28' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 453330c076fa..afdecb70274c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.37.27 + botocore==1.37.28 docutils>=0.10,<0.17 s3transfer>=0.11.0,<0.12.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 951894a38360..1a8e630521fc 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.37.27', + 'botocore==1.37.28', 'docutils>=0.10,<0.17', 's3transfer>=0.11.0,<0.12.0', 'PyYAML>=3.10,<6.1', From ed17673900c8662dff150ad74baaa20f97d72deb Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 7 Apr 2025 18:29:17 +0000 Subject: [PATCH 0548/1087] Update changelog based on model updates --- .changes/next-release/api-change-bedrock-56395.json | 5 +++++ .changes/next-release/api-change-bedrockruntime-15845.json | 5 +++++ .changes/next-release/api-change-codebuild-97954.json | 5 +++++ .changes/next-release/api-change-glue-9510.json | 5 +++++ .changes/next-release/api-change-medialive-71692.json | 5 +++++ .changes/next-release/api-change-personalize-87306.json | 5 +++++ .changes/next-release/api-change-transfer-81252.json | 5 +++++ 7 files changed, 35 insertions(+) create mode 100644 .changes/next-release/api-change-bedrock-56395.json create mode 100644 .changes/next-release/api-change-bedrockruntime-15845.json create mode 100644 .changes/next-release/api-change-codebuild-97954.json create mode 100644 .changes/next-release/api-change-glue-9510.json create mode 100644 .changes/next-release/api-change-medialive-71692.json create mode 100644 .changes/next-release/api-change-personalize-87306.json create mode 100644 .changes/next-release/api-change-transfer-81252.json diff --git a/.changes/next-release/api-change-bedrock-56395.json b/.changes/next-release/api-change-bedrock-56395.json new file mode 100644 index 000000000000..78a4e6db08c7 --- /dev/null +++ b/.changes/next-release/api-change-bedrock-56395.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock``", + "description": "New options for how to handle harmful content detected by Amazon Bedrock Guardrails." +} diff --git a/.changes/next-release/api-change-bedrockruntime-15845.json b/.changes/next-release/api-change-bedrockruntime-15845.json new file mode 100644 index 000000000000..14a4b9750dd9 --- /dev/null +++ b/.changes/next-release/api-change-bedrockruntime-15845.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-runtime``", + "description": "New options for how to handle harmful content detected by Amazon Bedrock Guardrails." +} diff --git a/.changes/next-release/api-change-codebuild-97954.json b/.changes/next-release/api-change-codebuild-97954.json new file mode 100644 index 000000000000..4d5b60cc839d --- /dev/null +++ b/.changes/next-release/api-change-codebuild-97954.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``codebuild``", + "description": "AWS CodeBuild now offers an enhanced debugging experience." +} diff --git a/.changes/next-release/api-change-glue-9510.json b/.changes/next-release/api-change-glue-9510.json new file mode 100644 index 000000000000..395b2282fabc --- /dev/null +++ b/.changes/next-release/api-change-glue-9510.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``glue``", + "description": "Add input validations for multiple Glue APIs" +} diff --git a/.changes/next-release/api-change-medialive-71692.json b/.changes/next-release/api-change-medialive-71692.json new file mode 100644 index 000000000000..6ffa6105f98c --- /dev/null +++ b/.changes/next-release/api-change-medialive-71692.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``medialive``", + "description": "AWS Elemental MediaLive now supports SDI inputs to MediaLive Anywhere Channels in workflows that use AWS SDKs." +} diff --git a/.changes/next-release/api-change-personalize-87306.json b/.changes/next-release/api-change-personalize-87306.json new file mode 100644 index 000000000000..e29a3a5706f9 --- /dev/null +++ b/.changes/next-release/api-change-personalize-87306.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``personalize``", + "description": "Add support for eventsConfig for CreateSolution, UpdateSolution, DescribeSolution, DescribeSolutionVersion. Add support for GetSolutionMetrics to return weighted NDCG metrics when eventsConfig is enabled for the solution." +} diff --git a/.changes/next-release/api-change-transfer-81252.json b/.changes/next-release/api-change-transfer-81252.json new file mode 100644 index 000000000000..9ccf1ac533da --- /dev/null +++ b/.changes/next-release/api-change-transfer-81252.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``transfer``", + "description": "This launch enables customers to manage contents of their remote directories, by deleting old files or moving files to archive folders in remote servers once they have been retrieved. Customers will be able to automate the process using event-driven architecture." +} From 06c48ed43357c8217598dd76fca8e5e9f9d5ead6 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Mon, 7 Apr 2025 18:30:48 +0000 Subject: [PATCH 0549/1087] Bumping version to 1.38.29 --- .changes/1.38.29.json | 37 +++++++++++++++++++ .../api-change-bedrock-56395.json | 5 --- .../api-change-bedrockruntime-15845.json | 5 --- .../api-change-codebuild-97954.json | 5 --- .../next-release/api-change-glue-9510.json | 5 --- .../api-change-medialive-71692.json | 5 --- .../api-change-personalize-87306.json | 5 --- .../api-change-transfer-81252.json | 5 --- CHANGELOG.rst | 12 ++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 13 files changed, 53 insertions(+), 39 deletions(-) create mode 100644 .changes/1.38.29.json delete mode 100644 .changes/next-release/api-change-bedrock-56395.json delete mode 100644 .changes/next-release/api-change-bedrockruntime-15845.json delete mode 100644 .changes/next-release/api-change-codebuild-97954.json delete mode 100644 .changes/next-release/api-change-glue-9510.json delete mode 100644 .changes/next-release/api-change-medialive-71692.json delete mode 100644 .changes/next-release/api-change-personalize-87306.json delete mode 100644 .changes/next-release/api-change-transfer-81252.json diff --git a/.changes/1.38.29.json b/.changes/1.38.29.json new file mode 100644 index 000000000000..8eb8ad4589e1 --- /dev/null +++ b/.changes/1.38.29.json @@ -0,0 +1,37 @@ +[ + { + "category": "``bedrock``", + "description": "New options for how to handle harmful content detected by Amazon Bedrock Guardrails.", + "type": "api-change" + }, + { + "category": "``bedrock-runtime``", + "description": "New options for how to handle harmful content detected by Amazon Bedrock Guardrails.", + "type": "api-change" + }, + { + "category": "``codebuild``", + "description": "AWS CodeBuild now offers an enhanced debugging experience.", + "type": "api-change" + }, + { + "category": "``glue``", + "description": "Add input validations for multiple Glue APIs", + "type": "api-change" + }, + { + "category": "``medialive``", + "description": "AWS Elemental MediaLive now supports SDI inputs to MediaLive Anywhere Channels in workflows that use AWS SDKs.", + "type": "api-change" + }, + { + "category": "``personalize``", + "description": "Add support for eventsConfig for CreateSolution, UpdateSolution, DescribeSolution, DescribeSolutionVersion. Add support for GetSolutionMetrics to return weighted NDCG metrics when eventsConfig is enabled for the solution.", + "type": "api-change" + }, + { + "category": "``transfer``", + "description": "This launch enables customers to manage contents of their remote directories, by deleting old files or moving files to archive folders in remote servers once they have been retrieved. Customers will be able to automate the process using event-driven architecture.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-bedrock-56395.json b/.changes/next-release/api-change-bedrock-56395.json deleted file mode 100644 index 78a4e6db08c7..000000000000 --- a/.changes/next-release/api-change-bedrock-56395.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock``", - "description": "New options for how to handle harmful content detected by Amazon Bedrock Guardrails." -} diff --git a/.changes/next-release/api-change-bedrockruntime-15845.json b/.changes/next-release/api-change-bedrockruntime-15845.json deleted file mode 100644 index 14a4b9750dd9..000000000000 --- a/.changes/next-release/api-change-bedrockruntime-15845.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-runtime``", - "description": "New options for how to handle harmful content detected by Amazon Bedrock Guardrails." -} diff --git a/.changes/next-release/api-change-codebuild-97954.json b/.changes/next-release/api-change-codebuild-97954.json deleted file mode 100644 index 4d5b60cc839d..000000000000 --- a/.changes/next-release/api-change-codebuild-97954.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``codebuild``", - "description": "AWS CodeBuild now offers an enhanced debugging experience." -} diff --git a/.changes/next-release/api-change-glue-9510.json b/.changes/next-release/api-change-glue-9510.json deleted file mode 100644 index 395b2282fabc..000000000000 --- a/.changes/next-release/api-change-glue-9510.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``glue``", - "description": "Add input validations for multiple Glue APIs" -} diff --git a/.changes/next-release/api-change-medialive-71692.json b/.changes/next-release/api-change-medialive-71692.json deleted file mode 100644 index 6ffa6105f98c..000000000000 --- a/.changes/next-release/api-change-medialive-71692.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``medialive``", - "description": "AWS Elemental MediaLive now supports SDI inputs to MediaLive Anywhere Channels in workflows that use AWS SDKs." -} diff --git a/.changes/next-release/api-change-personalize-87306.json b/.changes/next-release/api-change-personalize-87306.json deleted file mode 100644 index e29a3a5706f9..000000000000 --- a/.changes/next-release/api-change-personalize-87306.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``personalize``", - "description": "Add support for eventsConfig for CreateSolution, UpdateSolution, DescribeSolution, DescribeSolutionVersion. Add support for GetSolutionMetrics to return weighted NDCG metrics when eventsConfig is enabled for the solution." -} diff --git a/.changes/next-release/api-change-transfer-81252.json b/.changes/next-release/api-change-transfer-81252.json deleted file mode 100644 index 9ccf1ac533da..000000000000 --- a/.changes/next-release/api-change-transfer-81252.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``transfer``", - "description": "This launch enables customers to manage contents of their remote directories, by deleting old files or moving files to archive folders in remote servers once they have been retrieved. Customers will be able to automate the process using event-driven architecture." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index a581107d5a2f..d2904da42a69 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,18 @@ CHANGELOG ========= +1.38.29 +======= + +* api-change:``bedrock``: New options for how to handle harmful content detected by Amazon Bedrock Guardrails. +* api-change:``bedrock-runtime``: New options for how to handle harmful content detected by Amazon Bedrock Guardrails. +* api-change:``codebuild``: AWS CodeBuild now offers an enhanced debugging experience. +* api-change:``glue``: Add input validations for multiple Glue APIs +* api-change:``medialive``: AWS Elemental MediaLive now supports SDI inputs to MediaLive Anywhere Channels in workflows that use AWS SDKs. +* api-change:``personalize``: Add support for eventsConfig for CreateSolution, UpdateSolution, DescribeSolution, DescribeSolutionVersion. Add support for GetSolutionMetrics to return weighted NDCG metrics when eventsConfig is enabled for the solution. +* api-change:``transfer``: This launch enables customers to manage contents of their remote directories, by deleting old files or moving files to archive folders in remote servers once they have been retrieved. Customers will be able to automate the process using event-driven architecture. + + 1.38.28 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index 61d9ee35297c..d8e8094a2184 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.38.28' +__version__ = '1.38.29' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 7e929150d72c..2cb533df7f41 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.38.' # The full version, including alpha/beta/rc tags. -release = '1.38.28' +release = '1.38.29' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index afdecb70274c..9ed8a50a8689 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.37.28 + botocore==1.37.29 docutils>=0.10,<0.17 s3transfer>=0.11.0,<0.12.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 1a8e630521fc..31e20b36d90e 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.37.28', + 'botocore==1.37.29', 'docutils>=0.10,<0.17', 's3transfer>=0.11.0,<0.12.0', 'PyYAML>=3.10,<6.1', From cff521b2ad05541468094e161bedfeb716e329a0 Mon Sep 17 00:00:00 2001 From: Andrew Asseily <77591070+AndrewAsseily@users.noreply.github.com> Date: Tue, 8 Apr 2025 13:42:25 -0400 Subject: [PATCH 0550/1087] Update broken link (#9429) --- awscli/examples/iot/get-topic-rule.rst | 2 +- awscli/examples/iot/list-topic-rules.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/awscli/examples/iot/get-topic-rule.rst b/awscli/examples/iot/get-topic-rule.rst index 441101430073..90292b3352ca 100644 --- a/awscli/examples/iot/get-topic-rule.rst +++ b/awscli/examples/iot/get-topic-rule.rst @@ -28,5 +28,5 @@ Output:: } } -For more information, see `Viewing Your Rules `__ in the *AWS IoT Developers Guide*. +For more information, see `Viewing Your Rules `__ in the *AWS IoT Developers Guide*. diff --git a/awscli/examples/iot/list-topic-rules.rst b/awscli/examples/iot/list-topic-rules.rst index 681bd10d2dc5..7207956c6c94 100644 --- a/awscli/examples/iot/list-topic-rules.rst +++ b/awscli/examples/iot/list-topic-rules.rst @@ -25,4 +25,4 @@ Output:: ] } -For more information, see `Viewing Your Rules `__ in the *AWS IoT Developers Guide*. +For more information, see `Viewing Your Rules `__ in the *AWS IoT Developers Guide*. From a8cd9f10468adc3d2579b3d4669abf162eeb6063 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 8 Apr 2025 20:59:44 +0000 Subject: [PATCH 0551/1087] Merge customizations for Bedrock Runtime --- awscli/customizations/removals.py | 1 + 1 file changed, 1 insertion(+) diff --git a/awscli/customizations/removals.py b/awscli/customizations/removals.py index 5add46dc4f81..dc93215fb875 100644 --- a/awscli/customizations/removals.py +++ b/awscli/customizations/removals.py @@ -52,6 +52,7 @@ def register_removals(event_handler): remove_commands=['invoke-endpoint-with-response-stream']) cmd_remover.remove(on_event='building-command-table.bedrock-runtime', remove_commands=['invoke-model-with-response-stream', + 'invoke-model-with-bidirectional-stream', 'converse-stream']) cmd_remover.remove(on_event='building-command-table.bedrock-agent-runtime', remove_commands=['invoke-agent', From e7007dda5f9f52e6479492d6ca7813a405cca406 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 8 Apr 2025 20:59:48 +0000 Subject: [PATCH 0552/1087] Update changelog based on model updates --- .changes/next-release/api-change-bedrockruntime-21155.json | 5 +++++ .changes/next-release/api-change-ce-37871.json | 5 +++++ .../next-release/api-change-costoptimizationhub-71725.json | 5 +++++ .changes/next-release/api-change-iotfleetwise-83592.json | 5 +++++ .changes/next-release/api-change-securityhub-63781.json | 5 +++++ .changes/next-release/api-change-storagegateway-93138.json | 5 +++++ .changes/next-release/api-change-taxsettings-35286.json | 5 +++++ 7 files changed, 35 insertions(+) create mode 100644 .changes/next-release/api-change-bedrockruntime-21155.json create mode 100644 .changes/next-release/api-change-ce-37871.json create mode 100644 .changes/next-release/api-change-costoptimizationhub-71725.json create mode 100644 .changes/next-release/api-change-iotfleetwise-83592.json create mode 100644 .changes/next-release/api-change-securityhub-63781.json create mode 100644 .changes/next-release/api-change-storagegateway-93138.json create mode 100644 .changes/next-release/api-change-taxsettings-35286.json diff --git a/.changes/next-release/api-change-bedrockruntime-21155.json b/.changes/next-release/api-change-bedrockruntime-21155.json new file mode 100644 index 000000000000..15b1b5e67228 --- /dev/null +++ b/.changes/next-release/api-change-bedrockruntime-21155.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``bedrock-runtime``", + "description": "This release introduces our latest bedrock runtime API, InvokeModelWithBidirectionalStream. The API supports both input and output streams and is supported by only HTTP2.0." +} diff --git a/.changes/next-release/api-change-ce-37871.json b/.changes/next-release/api-change-ce-37871.json new file mode 100644 index 000000000000..e344afb22b49 --- /dev/null +++ b/.changes/next-release/api-change-ce-37871.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``ce``", + "description": "This release supports Pagination traits on Cost Anomaly Detection APIs." +} diff --git a/.changes/next-release/api-change-costoptimizationhub-71725.json b/.changes/next-release/api-change-costoptimizationhub-71725.json new file mode 100644 index 000000000000..a23935076a88 --- /dev/null +++ b/.changes/next-release/api-change-costoptimizationhub-71725.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``cost-optimization-hub``", + "description": "This release adds resource type \"MemoryDbReservedInstances\" and resource type \"DynamoDbReservedCapacity\" to the GetRecommendation, ListRecommendations, and ListRecommendationSummaries APIs to support new MemoryDB and DynamoDB RI recommendations." +} diff --git a/.changes/next-release/api-change-iotfleetwise-83592.json b/.changes/next-release/api-change-iotfleetwise-83592.json new file mode 100644 index 000000000000..2d60e6edf416 --- /dev/null +++ b/.changes/next-release/api-change-iotfleetwise-83592.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``iotfleetwise``", + "description": "This release adds the option to update the strategy of state templates already associated to a vehicle, without the need to remove and re-add them." +} diff --git a/.changes/next-release/api-change-securityhub-63781.json b/.changes/next-release/api-change-securityhub-63781.json new file mode 100644 index 000000000000..25cc2cdce780 --- /dev/null +++ b/.changes/next-release/api-change-securityhub-63781.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``securityhub``", + "description": "Documentation updates for AWS Security Hub." +} diff --git a/.changes/next-release/api-change-storagegateway-93138.json b/.changes/next-release/api-change-storagegateway-93138.json new file mode 100644 index 000000000000..76e07ca4e4d7 --- /dev/null +++ b/.changes/next-release/api-change-storagegateway-93138.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``storagegateway``", + "description": "Added new ActiveDirectoryStatus value, ListCacheReports paginator, and support for longer pagination tokens." +} diff --git a/.changes/next-release/api-change-taxsettings-35286.json b/.changes/next-release/api-change-taxsettings-35286.json new file mode 100644 index 000000000000..7dda98948b0e --- /dev/null +++ b/.changes/next-release/api-change-taxsettings-35286.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``taxsettings``", + "description": "Uzbekistan Launch on TaxSettings Page" +} From 781536ded9ce982609c4214815175f5809a3d493 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Tue, 8 Apr 2025 21:01:21 +0000 Subject: [PATCH 0553/1087] Bumping version to 1.38.30 --- .changes/1.38.30.json | 37 +++++++++++++++++++ .../api-change-bedrockruntime-21155.json | 5 --- .../next-release/api-change-ce-37871.json | 5 --- .../api-change-costoptimizationhub-71725.json | 5 --- .../api-change-iotfleetwise-83592.json | 5 --- .../api-change-securityhub-63781.json | 5 --- .../api-change-storagegateway-93138.json | 5 --- .../api-change-taxsettings-35286.json | 5 --- CHANGELOG.rst | 12 ++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 13 files changed, 53 insertions(+), 39 deletions(-) create mode 100644 .changes/1.38.30.json delete mode 100644 .changes/next-release/api-change-bedrockruntime-21155.json delete mode 100644 .changes/next-release/api-change-ce-37871.json delete mode 100644 .changes/next-release/api-change-costoptimizationhub-71725.json delete mode 100644 .changes/next-release/api-change-iotfleetwise-83592.json delete mode 100644 .changes/next-release/api-change-securityhub-63781.json delete mode 100644 .changes/next-release/api-change-storagegateway-93138.json delete mode 100644 .changes/next-release/api-change-taxsettings-35286.json diff --git a/.changes/1.38.30.json b/.changes/1.38.30.json new file mode 100644 index 000000000000..1cf987c0996d --- /dev/null +++ b/.changes/1.38.30.json @@ -0,0 +1,37 @@ +[ + { + "category": "``bedrock-runtime``", + "description": "This release introduces our latest bedrock runtime API, InvokeModelWithBidirectionalStream. The API supports both input and output streams and is supported by only HTTP2.0.", + "type": "api-change" + }, + { + "category": "``ce``", + "description": "This release supports Pagination traits on Cost Anomaly Detection APIs.", + "type": "api-change" + }, + { + "category": "``cost-optimization-hub``", + "description": "This release adds resource type \"MemoryDbReservedInstances\" and resource type \"DynamoDbReservedCapacity\" to the GetRecommendation, ListRecommendations, and ListRecommendationSummaries APIs to support new MemoryDB and DynamoDB RI recommendations.", + "type": "api-change" + }, + { + "category": "``iotfleetwise``", + "description": "This release adds the option to update the strategy of state templates already associated to a vehicle, without the need to remove and re-add them.", + "type": "api-change" + }, + { + "category": "``securityhub``", + "description": "Documentation updates for AWS Security Hub.", + "type": "api-change" + }, + { + "category": "``storagegateway``", + "description": "Added new ActiveDirectoryStatus value, ListCacheReports paginator, and support for longer pagination tokens.", + "type": "api-change" + }, + { + "category": "``taxsettings``", + "description": "Uzbekistan Launch on TaxSettings Page", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-bedrockruntime-21155.json b/.changes/next-release/api-change-bedrockruntime-21155.json deleted file mode 100644 index 15b1b5e67228..000000000000 --- a/.changes/next-release/api-change-bedrockruntime-21155.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``bedrock-runtime``", - "description": "This release introduces our latest bedrock runtime API, InvokeModelWithBidirectionalStream. The API supports both input and output streams and is supported by only HTTP2.0." -} diff --git a/.changes/next-release/api-change-ce-37871.json b/.changes/next-release/api-change-ce-37871.json deleted file mode 100644 index e344afb22b49..000000000000 --- a/.changes/next-release/api-change-ce-37871.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``ce``", - "description": "This release supports Pagination traits on Cost Anomaly Detection APIs." -} diff --git a/.changes/next-release/api-change-costoptimizationhub-71725.json b/.changes/next-release/api-change-costoptimizationhub-71725.json deleted file mode 100644 index a23935076a88..000000000000 --- a/.changes/next-release/api-change-costoptimizationhub-71725.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``cost-optimization-hub``", - "description": "This release adds resource type \"MemoryDbReservedInstances\" and resource type \"DynamoDbReservedCapacity\" to the GetRecommendation, ListRecommendations, and ListRecommendationSummaries APIs to support new MemoryDB and DynamoDB RI recommendations." -} diff --git a/.changes/next-release/api-change-iotfleetwise-83592.json b/.changes/next-release/api-change-iotfleetwise-83592.json deleted file mode 100644 index 2d60e6edf416..000000000000 --- a/.changes/next-release/api-change-iotfleetwise-83592.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``iotfleetwise``", - "description": "This release adds the option to update the strategy of state templates already associated to a vehicle, without the need to remove and re-add them." -} diff --git a/.changes/next-release/api-change-securityhub-63781.json b/.changes/next-release/api-change-securityhub-63781.json deleted file mode 100644 index 25cc2cdce780..000000000000 --- a/.changes/next-release/api-change-securityhub-63781.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``securityhub``", - "description": "Documentation updates for AWS Security Hub." -} diff --git a/.changes/next-release/api-change-storagegateway-93138.json b/.changes/next-release/api-change-storagegateway-93138.json deleted file mode 100644 index 76e07ca4e4d7..000000000000 --- a/.changes/next-release/api-change-storagegateway-93138.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``storagegateway``", - "description": "Added new ActiveDirectoryStatus value, ListCacheReports paginator, and support for longer pagination tokens." -} diff --git a/.changes/next-release/api-change-taxsettings-35286.json b/.changes/next-release/api-change-taxsettings-35286.json deleted file mode 100644 index 7dda98948b0e..000000000000 --- a/.changes/next-release/api-change-taxsettings-35286.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``taxsettings``", - "description": "Uzbekistan Launch on TaxSettings Page" -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index d2904da42a69..a5fe6fc7c5de 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,18 @@ CHANGELOG ========= +1.38.30 +======= + +* api-change:``bedrock-runtime``: This release introduces our latest bedrock runtime API, InvokeModelWithBidirectionalStream. The API supports both input and output streams and is supported by only HTTP2.0. +* api-change:``ce``: This release supports Pagination traits on Cost Anomaly Detection APIs. +* api-change:``cost-optimization-hub``: This release adds resource type "MemoryDbReservedInstances" and resource type "DynamoDbReservedCapacity" to the GetRecommendation, ListRecommendations, and ListRecommendationSummaries APIs to support new MemoryDB and DynamoDB RI recommendations. +* api-change:``iotfleetwise``: This release adds the option to update the strategy of state templates already associated to a vehicle, without the need to remove and re-add them. +* api-change:``securityhub``: Documentation updates for AWS Security Hub. +* api-change:``storagegateway``: Added new ActiveDirectoryStatus value, ListCacheReports paginator, and support for longer pagination tokens. +* api-change:``taxsettings``: Uzbekistan Launch on TaxSettings Page + + 1.38.29 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index d8e8094a2184..ee3b26331254 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.38.29' +__version__ = '1.38.30' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 2cb533df7f41..4d1a9d3b6bb4 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.38.' # The full version, including alpha/beta/rc tags. -release = '1.38.29' +release = '1.38.30' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 9ed8a50a8689..5b9a6ce50731 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.37.29 + botocore==1.37.30 docutils>=0.10,<0.17 s3transfer>=0.11.0,<0.12.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 31e20b36d90e..79480174bd6c 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.37.29', + 'botocore==1.37.30', 'docutils>=0.10,<0.17', 's3transfer>=0.11.0,<0.12.0', 'PyYAML>=3.10,<6.1', From 76846726b62086191579d290c32956f3df0af202 Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 9 Apr 2025 18:22:04 +0000 Subject: [PATCH 0554/1087] Update changelog based on model updates --- .changes/next-release/api-change-controlcatalog-5819.json | 5 +++++ .changes/next-release/api-change-dynamodb-77183.json | 5 +++++ .changes/next-release/api-change-glue-80619.json | 5 +++++ .changes/next-release/api-change-groundstation-88141.json | 5 +++++ .changes/next-release/api-change-transfer-47438.json | 5 +++++ 5 files changed, 25 insertions(+) create mode 100644 .changes/next-release/api-change-controlcatalog-5819.json create mode 100644 .changes/next-release/api-change-dynamodb-77183.json create mode 100644 .changes/next-release/api-change-glue-80619.json create mode 100644 .changes/next-release/api-change-groundstation-88141.json create mode 100644 .changes/next-release/api-change-transfer-47438.json diff --git a/.changes/next-release/api-change-controlcatalog-5819.json b/.changes/next-release/api-change-controlcatalog-5819.json new file mode 100644 index 000000000000..bafaf7a13029 --- /dev/null +++ b/.changes/next-release/api-change-controlcatalog-5819.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``controlcatalog``", + "description": "The GetControl API now surfaces a control's Severity, CreateTime, and Identifier for a control's Implementation. The ListControls API now surfaces a control's Behavior, Severity, CreateTime, and Identifier for a control's Implementation." +} diff --git a/.changes/next-release/api-change-dynamodb-77183.json b/.changes/next-release/api-change-dynamodb-77183.json new file mode 100644 index 000000000000..88fa0dca5db9 --- /dev/null +++ b/.changes/next-release/api-change-dynamodb-77183.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``dynamodb``", + "description": "Documentation update for secondary indexes and Create_Table." +} diff --git a/.changes/next-release/api-change-glue-80619.json b/.changes/next-release/api-change-glue-80619.json new file mode 100644 index 000000000000..746096018344 --- /dev/null +++ b/.changes/next-release/api-change-glue-80619.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``glue``", + "description": "The TableOptimizer APIs in AWS Glue now return the DpuHours field in each TableOptimizerRun, providing clients visibility to the DPU-hours used for billing in managed Apache Iceberg table compaction optimization." +} diff --git a/.changes/next-release/api-change-groundstation-88141.json b/.changes/next-release/api-change-groundstation-88141.json new file mode 100644 index 000000000000..a1f506fa4335 --- /dev/null +++ b/.changes/next-release/api-change-groundstation-88141.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``groundstation``", + "description": "Support tagging Agents and adjust input field validations" +} diff --git a/.changes/next-release/api-change-transfer-47438.json b/.changes/next-release/api-change-transfer-47438.json new file mode 100644 index 000000000000..2188fec28527 --- /dev/null +++ b/.changes/next-release/api-change-transfer-47438.json @@ -0,0 +1,5 @@ +{ + "type": "api-change", + "category": "``transfer``", + "description": "This launch includes 2 enhancements to SFTP connectors user-experience: 1) Customers can self-serve concurrent connections setting for their connectors, and 2) Customers can discover the public host key of remote servers using their SFTP connectors." +} From 89088ee7f0d91bf5807d3cbe0a00f8f163564bea Mon Sep 17 00:00:00 2001 From: aws-sdk-python-automation Date: Wed, 9 Apr 2025 18:23:32 +0000 Subject: [PATCH 0555/1087] Bumping version to 1.38.31 --- .changes/1.38.31.json | 27 +++++++++++++++++++ .../api-change-controlcatalog-5819.json | 5 ---- .../api-change-dynamodb-77183.json | 5 ---- .../next-release/api-change-glue-80619.json | 5 ---- .../api-change-groundstation-88141.json | 5 ---- .../api-change-transfer-47438.json | 5 ---- CHANGELOG.rst | 10 +++++++ awscli/__init__.py | 2 +- doc/source/conf.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 11 files changed, 41 insertions(+), 29 deletions(-) create mode 100644 .changes/1.38.31.json delete mode 100644 .changes/next-release/api-change-controlcatalog-5819.json delete mode 100644 .changes/next-release/api-change-dynamodb-77183.json delete mode 100644 .changes/next-release/api-change-glue-80619.json delete mode 100644 .changes/next-release/api-change-groundstation-88141.json delete mode 100644 .changes/next-release/api-change-transfer-47438.json diff --git a/.changes/1.38.31.json b/.changes/1.38.31.json new file mode 100644 index 000000000000..d43f8bed42ca --- /dev/null +++ b/.changes/1.38.31.json @@ -0,0 +1,27 @@ +[ + { + "category": "``controlcatalog``", + "description": "The GetControl API now surfaces a control's Severity, CreateTime, and Identifier for a control's Implementation. The ListControls API now surfaces a control's Behavior, Severity, CreateTime, and Identifier for a control's Implementation.", + "type": "api-change" + }, + { + "category": "``dynamodb``", + "description": "Documentation update for secondary indexes and Create_Table.", + "type": "api-change" + }, + { + "category": "``glue``", + "description": "The TableOptimizer APIs in AWS Glue now return the DpuHours field in each TableOptimizerRun, providing clients visibility to the DPU-hours used for billing in managed Apache Iceberg table compaction optimization.", + "type": "api-change" + }, + { + "category": "``groundstation``", + "description": "Support tagging Agents and adjust input field validations", + "type": "api-change" + }, + { + "category": "``transfer``", + "description": "This launch includes 2 enhancements to SFTP connectors user-experience: 1) Customers can self-serve concurrent connections setting for their connectors, and 2) Customers can discover the public host key of remote servers using their SFTP connectors.", + "type": "api-change" + } +] \ No newline at end of file diff --git a/.changes/next-release/api-change-controlcatalog-5819.json b/.changes/next-release/api-change-controlcatalog-5819.json deleted file mode 100644 index bafaf7a13029..000000000000 --- a/.changes/next-release/api-change-controlcatalog-5819.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``controlcatalog``", - "description": "The GetControl API now surfaces a control's Severity, CreateTime, and Identifier for a control's Implementation. The ListControls API now surfaces a control's Behavior, Severity, CreateTime, and Identifier for a control's Implementation." -} diff --git a/.changes/next-release/api-change-dynamodb-77183.json b/.changes/next-release/api-change-dynamodb-77183.json deleted file mode 100644 index 88fa0dca5db9..000000000000 --- a/.changes/next-release/api-change-dynamodb-77183.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``dynamodb``", - "description": "Documentation update for secondary indexes and Create_Table." -} diff --git a/.changes/next-release/api-change-glue-80619.json b/.changes/next-release/api-change-glue-80619.json deleted file mode 100644 index 746096018344..000000000000 --- a/.changes/next-release/api-change-glue-80619.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``glue``", - "description": "The TableOptimizer APIs in AWS Glue now return the DpuHours field in each TableOptimizerRun, providing clients visibility to the DPU-hours used for billing in managed Apache Iceberg table compaction optimization." -} diff --git a/.changes/next-release/api-change-groundstation-88141.json b/.changes/next-release/api-change-groundstation-88141.json deleted file mode 100644 index a1f506fa4335..000000000000 --- a/.changes/next-release/api-change-groundstation-88141.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``groundstation``", - "description": "Support tagging Agents and adjust input field validations" -} diff --git a/.changes/next-release/api-change-transfer-47438.json b/.changes/next-release/api-change-transfer-47438.json deleted file mode 100644 index 2188fec28527..000000000000 --- a/.changes/next-release/api-change-transfer-47438.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "api-change", - "category": "``transfer``", - "description": "This launch includes 2 enhancements to SFTP connectors user-experience: 1) Customers can self-serve concurrent connections setting for their connectors, and 2) Customers can discover the public host key of remote servers using their SFTP connectors." -} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index a5fe6fc7c5de..c7d54232b36f 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,16 @@ CHANGELOG ========= +1.38.31 +======= + +* api-change:``controlcatalog``: The GetControl API now surfaces a control's Severity, CreateTime, and Identifier for a control's Implementation. The ListControls API now surfaces a control's Behavior, Severity, CreateTime, and Identifier for a control's Implementation. +* api-change:``dynamodb``: Documentation update for secondary indexes and Create_Table. +* api-change:``glue``: The TableOptimizer APIs in AWS Glue now return the DpuHours field in each TableOptimizerRun, providing clients visibility to the DPU-hours used for billing in managed Apache Iceberg table compaction optimization. +* api-change:``groundstation``: Support tagging Agents and adjust input field validations +* api-change:``transfer``: This launch includes 2 enhancements to SFTP connectors user-experience: 1) Customers can self-serve concurrent connections setting for their connectors, and 2) Customers can discover the public host key of remote servers using their SFTP connectors. + + 1.38.30 ======= diff --git a/awscli/__init__.py b/awscli/__init__.py index ee3b26331254..6993b61908e1 100644 --- a/awscli/__init__.py +++ b/awscli/__init__.py @@ -18,7 +18,7 @@ import os -__version__ = '1.38.30' +__version__ = '1.38.31' # # Get our data path to be added to botocore's search path diff --git a/doc/source/conf.py b/doc/source/conf.py index 4d1a9d3b6bb4..eea3584733d4 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -52,7 +52,7 @@ # The short X.Y version. version = '1.38.' # The full version, including alpha/beta/rc tags. -release = '1.38.30' +release = '1.38.31' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.cfg b/setup.cfg index 5b9a6ce50731..5987b7932bc7 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,7 +3,7 @@ universal = 0 [metadata] requires_dist = - botocore==1.37.30 + botocore==1.37.31 docutils>=0.10,<0.17 s3transfer>=0.11.0,<0.12.0 PyYAML>=3.10,<6.1 diff --git a/setup.py b/setup.py index 79480174bd6c..b86ace802cfe 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ def find_version(*file_paths): install_requires = [ - 'botocore==1.37.30', + 'botocore==1.37.31', 'docutils>=0.10,<0.17', 's3transfer>=0.11.0,<0.12.0', 'PyYAML>=3.10,<6.1', From 255ca411c27b2d8a2dd12297e1e197a4b39e0e93 Mon Sep 17 00:00:00 2001 From: Andrew Asseily <77591070+AndrewAsseily@users.noreply.github.com> Date: Thu, 10 Apr 2025 12:47:46 -0400 Subject: [PATCH 0556/1087] Upgrade Sphinx and Docutils (#9396) * Upgrade sphinx to 6.2.0 * Upgrade docutils * reorder * Alabaster * remove reference to jQuery * revert override.css change * reintroduce search functionality --- .../guzzle_sphinx_theme/layout.html | 1 - .../guzzle_sphinx_theme/searchbox.html | 2 +- .../static/jquery-1.9.1.min.js | 5 ----- requirements-docs.txt | 21 ++++++------------- setup.cfg | 2 +- setup.py | 2 +- 6 files changed, 9 insertions(+), 24 deletions(-) delete mode 100644 doc/source/guzzle_sphinx_theme/guzzle_sphinx_theme/static/jquery-1.9.1.min.js diff --git a/doc/source/guzzle_sphinx_theme/guzzle_sphinx_theme/layout.html b/doc/source/guzzle_sphinx_theme/guzzle_sphinx_theme/layout.html index 7f923af3cf36..c5d10489260d 100644 --- a/doc/source/guzzle_sphinx_theme/guzzle_sphinx_theme/layout.html +++ b/doc/source/guzzle_sphinx_theme/guzzle_sphinx_theme/layout.html @@ -10,7 +10,6 @@ {%- block htmltitle %} {{ super() }} - {%- endblock %} diff --git a/doc/source/guzzle_sphinx_theme/guzzle_sphinx_theme/searchbox.html b/doc/source/guzzle_sphinx_theme/guzzle_sphinx_theme/searchbox.html index ceec39a7fd54..ac1200203251 100644 --- a/doc/source/guzzle_sphinx_theme/guzzle_sphinx_theme/searchbox.html +++ b/doc/source/guzzle_sphinx_theme/guzzle_sphinx_theme/searchbox.html @@ -9,5 +9,5 @@

{{ _('Quick search') }}

- + {%- endif %} diff --git a/doc/source/guzzle_sphinx_theme/guzzle_sphinx_theme/static/jquery-1.9.1.min.js b/doc/source/guzzle_sphinx_theme/guzzle_sphinx_theme/static/jquery-1.9.1.min.js deleted file mode 100644 index c6a59aebb3fb..000000000000 --- a/doc/source/guzzle_sphinx_theme/guzzle_sphinx_theme/static/jquery-1.9.1.min.js +++ /dev/null @@ -1,5 +0,0 @@ -/*! jQuery v1.9.1 | (c) 2005, 2012 jQuery Foundation, Inc. | jquery.org/license - //@ sourceMappingURL=jquery.min.map - */(function(e,t){var n,r,i=typeof t,o=e.document,a=e.location,s=e.jQuery,u=e.$,l={},c=[],p="1.9.1",f=c.concat,d=c.push,h=c.slice,g=c.indexOf,m=l.toString,y=l.hasOwnProperty,v=p.trim,b=function(e,t){return new b.fn.init(e,t,r)},x=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,w=/\S+/g,T=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,N=/^(?:(<[\w\W]+>)[^>]*|#([\w-]*))$/,C=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,k=/^[\],:{}\s]*$/,E=/(?:^|:|,)(?:\s*\[)+/g,S=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,A=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,j=/^-ms-/,D=/-([\da-z])/gi,L=function(e,t){return t.toUpperCase()},H=function(e){(o.addEventListener||"load"===e.type||"complete"===o.readyState)&&(q(),b.ready())},q=function(){o.addEventListener?(o.removeEventListener("DOMContentLoaded",H,!1),e.removeEventListener("load",H,!1)):(o.detachEvent("onreadystatechange",H),e.detachEvent("onload",H))};b.fn=b.prototype={jquery:p,constructor:b,init:function(e,n,r){var i,a;if(!e)return this;if("string"==typeof e){if(i="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:N.exec(e),!i||!i[1]&&n)return!n||n.jquery?(n||r).find(e):this.constructor(n).find(e);if(i[1]){if(n=n instanceof b?n[0]:n,b.merge(this,b.parseHTML(i[1],n&&n.nodeType?n.ownerDocument||n:o,!0)),C.test(i[1])&&b.isPlainObject(n))for(i in n)b.isFunction(this[i])?this[i](n[i]):this.attr(i,n[i]);return this}if(a=o.getElementById(i[2]),a&&a.parentNode){if(a.id!==i[2])return r.find(e);this.length=1,this[0]=a}return this.context=o,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):b.isFunction(e)?r.ready(e):(e.selector!==t&&(this.selector=e.selector,this.context=e.context),b.makeArray(e,this))},selector:"",length:0,size:function(){return this.length},toArray:function(){return h.call(this)},get:function(e){return null==e?this.toArray():0>e?this[this.length+e]:this[e]},pushStack:function(e){var t=b.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e,t){return b.each(this,e,t)},ready:function(e){return b.ready.promise().done(e),this},slice:function(){return this.pushStack(h.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(0>e?t:0);return this.pushStack(n>=0&&t>n?[this[n]]:[])},map:function(e){return this.pushStack(b.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:d,sort:[].sort,splice:[].splice},b.fn.init.prototype=b.fn,b.extend=b.fn.extend=function(){var e,n,r,i,o,a,s=arguments[0]||{},u=1,l=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[1]||{},u=2),"object"==typeof s||b.isFunction(s)||(s={}),l===u&&(s=this,--u);l>u;u++)if(null!=(o=arguments[u]))for(i in o)e=s[i],r=o[i],s!==r&&(c&&r&&(b.isPlainObject(r)||(n=b.isArray(r)))?(n?(n=!1,a=e&&b.isArray(e)?e:[]):a=e&&b.isPlainObject(e)?e:{},s[i]=b.extend(c,a,r)):r!==t&&(s[i]=r));return s},b.extend({noConflict:function(t){return e.$===b&&(e.$=u),t&&e.jQuery===b&&(e.jQuery=s),b},isReady:!1,readyWait:1,holdReady:function(e){e?b.readyWait++:b.ready(!0)},ready:function(e){if(e===!0?!--b.readyWait:!b.isReady){if(!o.body)return setTimeout(b.ready);b.isReady=!0,e!==!0&&--b.readyWait>0||(n.resolveWith(o,[b]),b.fn.trigger&&b(o).trigger("ready").off("ready"))}},isFunction:function(e){return"function"===b.type(e)},isArray:Array.isArray||function(e){return"array"===b.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?l[m.call(e)]||"object":typeof e},isPlainObject:function(e){if(!e||"object"!==b.type(e)||e.nodeType||b.isWindow(e))return!1;try{if(e.constructor&&!y.call(e,"constructor")&&!y.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}var r;for(r in e);return r===t||y.call(e,r)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw Error(e)},parseHTML:function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||o;var r=C.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=b.buildFragment([e],t,i),i&&b(i).remove(),b.merge([],r.childNodes))},parseJSON:function(n){return e.JSON&&e.JSON.parse?e.JSON.parse(n):null===n?n:"string"==typeof n&&(n=b.trim(n),n&&k.test(n.replace(S,"@").replace(A,"]").replace(E,"")))?Function("return "+n)():(b.error("Invalid JSON: "+n),t)},parseXML:function(n){var r,i;if(!n||"string"!=typeof n)return null;try{e.DOMParser?(i=new DOMParser,r=i.parseFromString(n,"text/xml")):(r=new ActiveXObject("Microsoft.XMLDOM"),r.async="false",r.loadXML(n))}catch(o){r=t}return r&&r.documentElement&&!r.getElementsByTagName("parsererror").length||b.error("Invalid XML: "+n),r},noop:function(){},globalEval:function(t){t&&b.trim(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(j,"ms-").replace(D,L)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,n){var r,i=0,o=e.length,a=M(e);if(n){if(a){for(;o>i;i++)if(r=t.apply(e[i],n),r===!1)break}else for(i in e)if(r=t.apply(e[i],n),r===!1)break}else if(a){for(;o>i;i++)if(r=t.call(e[i],i,e[i]),r===!1)break}else for(i in e)if(r=t.call(e[i],i,e[i]),r===!1)break;return e},trim:v&&!v.call("\ufeff\u00a0")?function(e){return null==e?"":v.call(e)}:function(e){return null==e?"":(e+"").replace(T,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(M(Object(e))?b.merge(n,"string"==typeof e?[e]:e):d.call(n,e)),n},inArray:function(e,t,n){var r;if(t){if(g)return g.call(t,e,n);for(r=t.length,n=n?0>n?Math.max(0,r+n):n:0;r>n;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,n){var r=n.length,i=e.length,o=0;if("number"==typeof r)for(;r>o;o++)e[i++]=n[o];else while(n[o]!==t)e[i++]=n[o++];return e.length=i,e},grep:function(e,t,n){var r,i=[],o=0,a=e.length;for(n=!!n;a>o;o++)r=!!t(e[o],o),n!==r&&i.push(e[o]);return i},map:function(e,t,n){var r,i=0,o=e.length,a=M(e),s=[];if(a)for(;o>i;i++)r=t(e[i],i,n),null!=r&&(s[s.length]=r);else for(i in e)r=t(e[i],i,n),null!=r&&(s[s.length]=r);return f.apply([],s)},guid:1,proxy:function(e,n){var r,i,o;return"string"==typeof n&&(o=e[n],n=e,e=o),b.isFunction(e)?(r=h.call(arguments,2),i=function(){return e.apply(n||this,r.concat(h.call(arguments)))},i.guid=e.guid=e.guid||b.guid++,i):t},access:function(e,n,r,i,o,a,s){var u=0,l=e.length,c=null==r;if("object"===b.type(r)){o=!0;for(u in r)b.access(e,n,u,r[u],!0,a,s)}else if(i!==t&&(o=!0,b.isFunction(i)||(s=!0),c&&(s?(n.call(e,i),n=null):(c=n,n=function(e,t,n){return c.call(b(e),n)})),n))for(;l>u;u++)n(e[u],r,s?i:i.call(e[u],u,n(e[u],r)));return o?e:c?n.call(e):l?n(e[0],r):a},now:function(){return(new Date).getTime()}}),b.ready.promise=function(t){if(!n)if(n=b.Deferred(),"complete"===o.readyState)setTimeout(b.ready);else if(o.addEventListener)o.addEventListener("DOMContentLoaded",H,!1),e.addEventListener("load",H,!1);else{o.attachEvent("onreadystatechange",H),e.attachEvent("onload",H);var r=!1;try{r=null==e.frameElement&&o.documentElement}catch(i){}r&&r.doScroll&&function a(){if(!b.isReady){try{r.doScroll("left")}catch(e){return setTimeout(a,50)}q(),b.ready()}}()}return n.promise(t)},b.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(e,t){l["[object "+t+"]"]=t.toLowerCase()});function M(e){var t=e.length,n=b.type(e);return b.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===n||"function"!==n&&(0===t||"number"==typeof t&&t>0&&t-1 in e)}r=b(o);var _={};function F(e){var t=_[e]={};return b.each(e.match(w)||[],function(e,n){t[n]=!0}),t}b.Callbacks=function(e){e="string"==typeof e?_[e]||F(e):b.extend({},e);var n,r,i,o,a,s,u=[],l=!e.once&&[],c=function(t){for(r=e.memory&&t,i=!0,a=s||0,s=0,o=u.length,n=!0;u&&o>a;a++)if(u[a].apply(t[0],t[1])===!1&&e.stopOnFalse){r=!1;break}n=!1,u&&(l?l.length&&c(l.shift()):r?u=[]:p.disable())},p={add:function(){if(u){var t=u.length;(function i(t){b.each(t,function(t,n){var r=b.type(n);"function"===r?e.unique&&p.has(n)||u.push(n):n&&n.length&&"string"!==r&&i(n)})})(arguments),n?o=u.length:r&&(s=t,c(r))}return this},remove:function(){return u&&b.each(arguments,function(e,t){var r;while((r=b.inArray(t,u,r))>-1)u.splice(r,1),n&&(o>=r&&o--,a>=r&&a--)}),this},has:function(e){return e?b.inArray(e,u)>-1:!(!u||!u.length)},empty:function(){return u=[],this},disable:function(){return u=l=r=t,this},disabled:function(){return!u},lock:function(){return l=t,r||p.disable(),this},locked:function(){return!l},fireWith:function(e,t){return t=t||[],t=[e,t.slice?t.slice():t],!u||i&&!l||(n?l.push(t):c(t)),this},fire:function(){return p.fireWith(this,arguments),this},fired:function(){return!!i}};return p},b.extend({Deferred:function(e){var t=[["resolve","done",b.Callbacks("once memory"),"resolved"],["reject","fail",b.Callbacks("once memory"),"rejected"],["notify","progress",b.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return b.Deferred(function(n){b.each(t,function(t,o){var a=o[0],s=b.isFunction(e[t])&&e[t];i[o[1]](function(){var e=s&&s.apply(this,arguments);e&&b.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[a+"With"](this===r?n.promise():this,s?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?b.extend(e,r):r}},i={};return r.pipe=r.then,b.each(t,function(e,o){var a=o[2],s=o[3];r[o[1]]=a.add,s&&a.add(function(){n=s},t[1^e][2].disable,t[2][2].lock),i[o[0]]=function(){return i[o[0]+"With"](this===i?r:this,arguments),this},i[o[0]+"With"]=a.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t=0,n=h.call(arguments),r=n.length,i=1!==r||e&&b.isFunction(e.promise)?r:0,o=1===i?e:b.Deferred(),a=function(e,t,n){return function(r){t[e]=this,n[e]=arguments.length>1?h.call(arguments):r,n===s?o.notifyWith(t,n):--i||o.resolveWith(t,n)}},s,u,l;if(r>1)for(s=Array(r),u=Array(r),l=Array(r);r>t;t++)n[t]&&b.isFunction(n[t].promise)?n[t].promise().done(a(t,l,n)).fail(o.reject).progress(a(t,u,s)):--i;return i||o.resolveWith(l,n),o.promise()}}),b.support=function(){var t,n,r,a,s,u,l,c,p,f,d=o.createElement("div");if(d.setAttribute("className","t"),d.innerHTML="
a",n=d.getElementsByTagName("*"),r=d.getElementsByTagName("a")[0],!n||!r||!n.length)return{};s=o.createElement("select"),l=s.appendChild(o.createElement("option")),a=d.getElementsByTagName("input")[0],r.style.cssText="top:1px;float:left;opacity:.5",t={getSetAttribute:"t"!==d.className,leadingWhitespace:3===d.firstChild.nodeType,tbody:!d.getElementsByTagName("tbody").length,htmlSerialize:!!d.getElementsByTagName("link").length,style:/top/.test(r.getAttribute("style")),hrefNormalized:"/a"===r.getAttribute("href"),opacity:/^0.5/.test(r.style.opacity),cssFloat:!!r.style.cssFloat,checkOn:!!a.value,optSelected:l.selected,enctype:!!o.createElement("form").enctype,html5Clone:"<:nav>"!==o.createElement("nav").cloneNode(!0).outerHTML,boxModel:"CSS1Compat"===o.compatMode,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,boxSizingReliable:!0,pixelPosition:!1},a.checked=!0,t.noCloneChecked=a.cloneNode(!0).checked,s.disabled=!0,t.optDisabled=!l.disabled;try{delete d.test}catch(h){t.deleteExpando=!1}a=o.createElement("input"),a.setAttribute("value",""),t.input=""===a.getAttribute("value"),a.value="t",a.setAttribute("type","radio"),t.radioValue="t"===a.value,a.setAttribute("checked","t"),a.setAttribute("name","t"),u=o.createDocumentFragment(),u.appendChild(a),t.appendChecked=a.checked,t.checkClone=u.cloneNode(!0).cloneNode(!0).lastChild.checked,d.attachEvent&&(d.attachEvent("onclick",function(){t.noCloneEvent=!1}),d.cloneNode(!0).click());for(f in{submit:!0,change:!0,focusin:!0})d.setAttribute(c="on"+f,"t"),t[f+"Bubbles"]=c in e||d.attributes[c].expando===!1;return d.style.backgroundClip="content-box",d.cloneNode(!0).style.backgroundClip="",t.clearCloneStyle="content-box"===d.style.backgroundClip,b(function(){var n,r,a,s="padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;",u=o.getElementsByTagName("body")[0];u&&(n=o.createElement("div"),n.style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",u.appendChild(n).appendChild(d),d.innerHTML="
t
",a=d.getElementsByTagName("td"),a[0].style.cssText="padding:0;margin:0;border:0;display:none",p=0===a[0].offsetHeight,a[0].style.display="",a[1].style.display="none",t.reliableHiddenOffsets=p&&0===a[0].offsetHeight,d.innerHTML="",d.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",t.boxSizing=4===d.offsetWidth,t.doesNotIncludeMarginInBodyOffset=1!==u.offsetTop,e.getComputedStyle&&(t.pixelPosition="1%"!==(e.getComputedStyle(d,null)||{}).top,t.boxSizingReliable="4px"===(e.getComputedStyle(d,null)||{width:"4px"}).width,r=d.appendChild(o.createElement("div")),r.style.cssText=d.style.cssText=s,r.style.marginRight=r.style.width="0",d.style.width="1px",t.reliableMarginRight=!parseFloat((e.getComputedStyle(r,null)||{}).marginRight)),typeof d.style.zoom!==i&&(d.innerHTML="",d.style.cssText=s+"width:1px;padding:1px;display:inline;zoom:1",t.inlineBlockNeedsLayout=3===d.offsetWidth,d.style.display="block",d.innerHTML="
",d.firstChild.style.width="5px",t.shrinkWrapBlocks=3!==d.offsetWidth,t.inlineBlockNeedsLayout&&(u.style.zoom=1)),u.removeChild(n),n=d=a=r=null)}),n=s=u=l=r=a=null,t}();var O=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,B=/([A-Z])/g;function P(e,n,r,i){if(b.acceptData(e)){var o,a,s=b.expando,u="string"==typeof n,l=e.nodeType,p=l?b.cache:e,f=l?e[s]:e[s]&&s;if(f&&p[f]&&(i||p[f].data)||!u||r!==t)return f||(l?e[s]=f=c.pop()||b.guid++:f=s),p[f]||(p[f]={},l||(p[f].toJSON=b.noop)),("object"==typeof n||"function"==typeof n)&&(i?p[f]=b.extend(p[f],n):p[f].data=b.extend(p[f].data,n)),o=p[f],i||(o.data||(o.data={}),o=o.data),r!==t&&(o[b.camelCase(n)]=r),u?(a=o[n],null==a&&(a=o[b.camelCase(n)])):a=o,a}}function R(e,t,n){if(b.acceptData(e)){var r,i,o,a=e.nodeType,s=a?b.cache:e,u=a?e[b.expando]:b.expando;if(s[u]){if(t&&(o=n?s[u]:s[u].data)){b.isArray(t)?t=t.concat(b.map(t,b.camelCase)):t in o?t=[t]:(t=b.camelCase(t),t=t in o?[t]:t.split(" "));for(r=0,i=t.length;i>r;r++)delete o[t[r]];if(!(n?$:b.isEmptyObject)(o))return}(n||(delete s[u].data,$(s[u])))&&(a?b.cleanData([e],!0):b.support.deleteExpando||s!=s.window?delete s[u]:s[u]=null)}}}b.extend({cache:{},expando:"jQuery"+(p+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(e){return e=e.nodeType?b.cache[e[b.expando]]:e[b.expando],!!e&&!$(e)},data:function(e,t,n){return P(e,t,n)},removeData:function(e,t){return R(e,t)},_data:function(e,t,n){return P(e,t,n,!0)},_removeData:function(e,t){return R(e,t,!0)},acceptData:function(e){if(e.nodeType&&1!==e.nodeType&&9!==e.nodeType)return!1;var t=e.nodeName&&b.noData[e.nodeName.toLowerCase()];return!t||t!==!0&&e.getAttribute("classid")===t}}),b.fn.extend({data:function(e,n){var r,i,o=this[0],a=0,s=null;if(e===t){if(this.length&&(s=b.data(o),1===o.nodeType&&!b._data(o,"parsedAttrs"))){for(r=o.attributes;r.length>a;a++)i=r[a].name,i.indexOf("data-")||(i=b.camelCase(i.slice(5)),W(o,i,s[i]));b._data(o,"parsedAttrs",!0)}return s}return"object"==typeof e?this.each(function(){b.data(this,e)}):b.access(this,function(n){return n===t?o?W(o,e,b.data(o,e)):null:(this.each(function(){b.data(this,e,n)}),t)},null,n,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){b.removeData(this,e)})}});function W(e,n,r){if(r===t&&1===e.nodeType){var i="data-"+n.replace(B,"-$1").toLowerCase();if(r=e.getAttribute(i),"string"==typeof r){try{r="true"===r?!0:"false"===r?!1:"null"===r?null:+r+""===r?+r:O.test(r)?b.parseJSON(r):r}catch(o){}b.data(e,n,r)}else r=t}return r}function $(e){var t;for(t in e)if(("data"!==t||!b.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}b.extend({queue:function(e,n,r){var i;return e?(n=(n||"fx")+"queue",i=b._data(e,n),r&&(!i||b.isArray(r)?i=b._data(e,n,b.makeArray(r)):i.push(r)),i||[]):t},dequeue:function(e,t){t=t||"fx";var n=b.queue(e,t),r=n.length,i=n.shift(),o=b._queueHooks(e,t),a=function(){b.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),o.cur=i,i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return b._data(e,n)||b._data(e,n,{empty:b.Callbacks("once memory").add(function(){b._removeData(e,t+"queue"),b._removeData(e,n)})})}}),b.fn.extend({queue:function(e,n){var r=2;return"string"!=typeof e&&(n=e,e="fx",r--),r>arguments.length?b.queue(this[0],e):n===t?this:this.each(function(){var t=b.queue(this,e,n);b._queueHooks(this,e),"fx"===e&&"inprogress"!==t[0]&&b.dequeue(this,e)})},dequeue:function(e){return this.each(function(){b.dequeue(this,e)})},delay:function(e,t){return e=b.fx?b.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,n){var r=setTimeout(t,e);n.stop=function(){clearTimeout(r)}})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,n){var r,i=1,o=b.Deferred(),a=this,s=this.length,u=function(){--i||o.resolveWith(a,[a])};"string"!=typeof e&&(n=e,e=t),e=e||"fx";while(s--)r=b._data(a[s],e+"queueHooks"),r&&r.empty&&(i++,r.empty.add(u));return u(),o.promise(n)}});var I,z,X=/[\t\r\n]/g,U=/\r/g,V=/^(?:input|select|textarea|button|object)$/i,Y=/^(?:a|area)$/i,J=/^(?:checked|selected|autofocus|autoplay|async|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped)$/i,G=/^(?:checked|selected)$/i,Q=b.support.getSetAttribute,K=b.support.input;b.fn.extend({attr:function(e,t){return b.access(this,b.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){b.removeAttr(this,e)})},prop:function(e,t){return b.access(this,b.prop,e,t,arguments.length>1)},removeProp:function(e){return e=b.propFix[e]||e,this.each(function(){try{this[e]=t,delete this[e]}catch(n){}})},addClass:function(e){var t,n,r,i,o,a=0,s=this.length,u="string"==typeof e&&e;if(b.isFunction(e))return this.each(function(t){b(this).addClass(e.call(this,t,this.className))});if(u)for(t=(e||"").match(w)||[];s>a;a++)if(n=this[a],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(X," "):" ")){o=0;while(i=t[o++])0>r.indexOf(" "+i+" ")&&(r+=i+" ");n.className=b.trim(r)}return this},removeClass:function(e){var t,n,r,i,o,a=0,s=this.length,u=0===arguments.length||"string"==typeof e&&e;if(b.isFunction(e))return this.each(function(t){b(this).removeClass(e.call(this,t,this.className))});if(u)for(t=(e||"").match(w)||[];s>a;a++)if(n=this[a],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(X," "):"")){o=0;while(i=t[o++])while(r.indexOf(" "+i+" ")>=0)r=r.replace(" "+i+" "," ");n.className=e?b.trim(r):""}return this},toggleClass:function(e,t){var n=typeof e,r="boolean"==typeof t;return b.isFunction(e)?this.each(function(n){b(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if("string"===n){var o,a=0,s=b(this),u=t,l=e.match(w)||[];while(o=l[a++])u=r?u:!s.hasClass(o),s[u?"addClass":"removeClass"](o)}else(n===i||"boolean"===n)&&(this.className&&b._data(this,"__className__",this.className),this.className=this.className||e===!1?"":b._data(this,"__className__")||"")})},hasClass:function(e){var t=" "+e+" ",n=0,r=this.length;for(;r>n;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(X," ").indexOf(t)>=0)return!0;return!1},val:function(e){var n,r,i,o=this[0];{if(arguments.length)return i=b.isFunction(e),this.each(function(n){var o,a=b(this);1===this.nodeType&&(o=i?e.call(this,n,a.val()):e,null==o?o="":"number"==typeof o?o+="":b.isArray(o)&&(o=b.map(o,function(e){return null==e?"":e+""})),r=b.valHooks[this.type]||b.valHooks[this.nodeName.toLowerCase()],r&&"set"in r&&r.set(this,o,"value")!==t||(this.value=o))});if(o)return r=b.valHooks[o.type]||b.valHooks[o.nodeName.toLowerCase()],r&&"get"in r&&(n=r.get(o,"value"))!==t?n:(n=o.value,"string"==typeof n?n.replace(U,""):null==n?"":n)}}}),b.extend({valHooks:{option:{get:function(e){var t=e.attributes.value;return!t||t.specified?e.value:e.text}},select:{get:function(e){var t,n,r=e.options,i=e.selectedIndex,o="select-one"===e.type||0>i,a=o?null:[],s=o?i+1:r.length,u=0>i?s:o?i:0;for(;s>u;u++)if(n=r[u],!(!n.selected&&u!==i||(b.support.optDisabled?n.disabled:null!==n.getAttribute("disabled"))||n.parentNode.disabled&&b.nodeName(n.parentNode,"optgroup"))){if(t=b(n).val(),o)return t;a.push(t)}return a},set:function(e,t){var n=b.makeArray(t);return b(e).find("option").each(function(){this.selected=b.inArray(b(this).val(),n)>=0}),n.length||(e.selectedIndex=-1),n}}},attr:function(e,n,r){var o,a,s,u=e.nodeType;if(e&&3!==u&&8!==u&&2!==u)return typeof e.getAttribute===i?b.prop(e,n,r):(a=1!==u||!b.isXMLDoc(e),a&&(n=n.toLowerCase(),o=b.attrHooks[n]||(J.test(n)?z:I)),r===t?o&&a&&"get"in o&&null!==(s=o.get(e,n))?s:(typeof e.getAttribute!==i&&(s=e.getAttribute(n)),null==s?t:s):null!==r?o&&a&&"set"in o&&(s=o.set(e,r,n))!==t?s:(e.setAttribute(n,r+""),r):(b.removeAttr(e,n),t))},removeAttr:function(e,t){var n,r,i=0,o=t&&t.match(w);if(o&&1===e.nodeType)while(n=o[i++])r=b.propFix[n]||n,J.test(n)?!Q&&G.test(n)?e[b.camelCase("default-"+n)]=e[r]=!1:e[r]=!1:b.attr(e,n,""),e.removeAttribute(Q?n:r)},attrHooks:{type:{set:function(e,t){if(!b.support.radioValue&&"radio"===t&&b.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(e,n,r){var i,o,a,s=e.nodeType;if(e&&3!==s&&8!==s&&2!==s)return a=1!==s||!b.isXMLDoc(e),a&&(n=b.propFix[n]||n,o=b.propHooks[n]),r!==t?o&&"set"in o&&(i=o.set(e,r,n))!==t?i:e[n]=r:o&&"get"in o&&null!==(i=o.get(e,n))?i:e[n]},propHooks:{tabIndex:{get:function(e){var n=e.getAttributeNode("tabindex");return n&&n.specified?parseInt(n.value,10):V.test(e.nodeName)||Y.test(e.nodeName)&&e.href?0:t}}}}),z={get:function(e,n){var r=b.prop(e,n),i="boolean"==typeof r&&e.getAttribute(n),o="boolean"==typeof r?K&&Q?null!=i:G.test(n)?e[b.camelCase("default-"+n)]:!!i:e.getAttributeNode(n);return o&&o.value!==!1?n.toLowerCase():t},set:function(e,t,n){return t===!1?b.removeAttr(e,n):K&&Q||!G.test(n)?e.setAttribute(!Q&&b.propFix[n]||n,n):e[b.camelCase("default-"+n)]=e[n]=!0,n}},K&&Q||(b.attrHooks.value={get:function(e,n){var r=e.getAttributeNode(n);return b.nodeName(e,"input")?e.defaultValue:r&&r.specified?r.value:t},set:function(e,n,r){return b.nodeName(e,"input")?(e.defaultValue=n,t):I&&I.set(e,n,r)}}),Q||(I=b.valHooks.button={get:function(e,n){var r=e.getAttributeNode(n);return r&&("id"===n||"name"===n||"coords"===n?""!==r.value:r.specified)?r.value:t},set:function(e,n,r){var i=e.getAttributeNode(r);return i||e.setAttributeNode(i=e.ownerDocument.createAttribute(r)),i.value=n+="","value"===r||n===e.getAttribute(r)?n:t}},b.attrHooks.contenteditable={get:I.get,set:function(e,t,n){I.set(e,""===t?!1:t,n)}},b.each(["width","height"],function(e,n){b.attrHooks[n]=b.extend(b.attrHooks[n],{set:function(e,r){return""===r?(e.setAttribute(n,"auto"),r):t}})})),b.support.hrefNormalized||(b.each(["href","src","width","height"],function(e,n){b.attrHooks[n]=b.extend(b.attrHooks[n],{get:function(e){var r=e.getAttribute(n,2);return null==r?t:r}})}),b.each(["href","src"],function(e,t){b.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}})),b.support.style||(b.attrHooks.style={get:function(e){return e.style.cssText||t},set:function(e,t){return e.style.cssText=t+""}}),b.support.optSelected||(b.propHooks.selected=b.extend(b.propHooks.selected,{get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}})),b.support.enctype||(b.propFix.enctype="encoding"),b.support.checkOn||b.each(["radio","checkbox"],function(){b.valHooks[this]={get:function(e){return null===e.getAttribute("value")?"on":e.value}}}),b.each(["radio","checkbox"],function(){b.valHooks[this]=b.extend(b.valHooks[this],{set:function(e,n){return b.isArray(n)?e.checked=b.inArray(b(e).val(),n)>=0:t}})});var Z=/^(?:input|select|textarea)$/i,et=/^key/,tt=/^(?:mouse|contextmenu)|click/,nt=/^(?:focusinfocus|focusoutblur)$/,rt=/^([^.]*)(?:\.(.+)|)$/;function it(){return!0}function ot(){return!1}b.event={global:{},add:function(e,n,r,o,a){var s,u,l,c,p,f,d,h,g,m,y,v=b._data(e);if(v){r.handler&&(c=r,r=c.handler,a=c.selector),r.guid||(r.guid=b.guid++),(u=v.events)||(u=v.events={}),(f=v.handle)||(f=v.handle=function(e){return typeof b===i||e&&b.event.triggered===e.type?t:b.event.dispatch.apply(f.elem,arguments)},f.elem=e),n=(n||"").match(w)||[""],l=n.length;while(l--)s=rt.exec(n[l])||[],g=y=s[1],m=(s[2]||"").split(".").sort(),p=b.event.special[g]||{},g=(a?p.delegateType:p.bindType)||g,p=b.event.special[g]||{},d=b.extend({type:g,origType:y,data:o,handler:r,guid:r.guid,selector:a,needsContext:a&&b.expr.match.needsContext.test(a),namespace:m.join(".")},c),(h=u[g])||(h=u[g]=[],h.delegateCount=0,p.setup&&p.setup.call(e,o,m,f)!==!1||(e.addEventListener?e.addEventListener(g,f,!1):e.attachEvent&&e.attachEvent("on"+g,f))),p.add&&(p.add.call(e,d),d.handler.guid||(d.handler.guid=r.guid)),a?h.splice(h.delegateCount++,0,d):h.push(d),b.event.global[g]=!0;e=null}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,p,f,d,h,g,m=b.hasData(e)&&b._data(e);if(m&&(c=m.events)){t=(t||"").match(w)||[""],l=t.length;while(l--)if(s=rt.exec(t[l])||[],d=g=s[1],h=(s[2]||"").split(".").sort(),d){p=b.event.special[d]||{},d=(r?p.delegateType:p.bindType)||d,f=c[d]||[],s=s[2]&&RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),u=o=f.length;while(o--)a=f[o],!i&&g!==a.origType||n&&n.guid!==a.guid||s&&!s.test(a.namespace)||r&&r!==a.selector&&("**"!==r||!a.selector)||(f.splice(o,1),a.selector&&f.delegateCount--,p.remove&&p.remove.call(e,a));u&&!f.length&&(p.teardown&&p.teardown.call(e,h,m.handle)!==!1||b.removeEvent(e,d,m.handle),delete c[d])}else for(d in c)b.event.remove(e,d+t[l],n,r,!0);b.isEmptyObject(c)&&(delete m.handle,b._removeData(e,"events"))}},trigger:function(n,r,i,a){var s,u,l,c,p,f,d,h=[i||o],g=y.call(n,"type")?n.type:n,m=y.call(n,"namespace")?n.namespace.split("."):[];if(l=f=i=i||o,3!==i.nodeType&&8!==i.nodeType&&!nt.test(g+b.event.triggered)&&(g.indexOf(".")>=0&&(m=g.split("."),g=m.shift(),m.sort()),u=0>g.indexOf(":")&&"on"+g,n=n[b.expando]?n:new b.Event(g,"object"==typeof n&&n),n.isTrigger=!0,n.namespace=m.join("."),n.namespace_re=n.namespace?RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,n.result=t,n.target||(n.target=i),r=null==r?[n]:b.makeArray(r,[n]),p=b.event.special[g]||{},a||!p.trigger||p.trigger.apply(i,r)!==!1)){if(!a&&!p.noBubble&&!b.isWindow(i)){for(c=p.delegateType||g,nt.test(c+g)||(l=l.parentNode);l;l=l.parentNode)h.push(l),f=l;f===(i.ownerDocument||o)&&h.push(f.defaultView||f.parentWindow||e)}d=0;while((l=h[d++])&&!n.isPropagationStopped())n.type=d>1?c:p.bindType||g,s=(b._data(l,"events")||{})[n.type]&&b._data(l,"handle"),s&&s.apply(l,r),s=u&&l[u],s&&b.acceptData(l)&&s.apply&&s.apply(l,r)===!1&&n.preventDefault();if(n.type=g,!(a||n.isDefaultPrevented()||p._default&&p._default.apply(i.ownerDocument,r)!==!1||"click"===g&&b.nodeName(i,"a")||!b.acceptData(i)||!u||!i[g]||b.isWindow(i))){f=i[u],f&&(i[u]=null),b.event.triggered=g;try{i[g]()}catch(v){}b.event.triggered=t,f&&(i[u]=f)}return n.result}},dispatch:function(e){e=b.event.fix(e);var n,r,i,o,a,s=[],u=h.call(arguments),l=(b._data(this,"events")||{})[e.type]||[],c=b.event.special[e.type]||{};if(u[0]=e,e.delegateTarget=this,!c.preDispatch||c.preDispatch.call(this,e)!==!1){s=b.event.handlers.call(this,e,l),n=0;while((o=s[n++])&&!e.isPropagationStopped()){e.currentTarget=o.elem,a=0;while((i=o.handlers[a++])&&!e.isImmediatePropagationStopped())(!e.namespace_re||e.namespace_re.test(i.namespace))&&(e.handleObj=i,e.data=i.data,r=((b.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,u),r!==t&&(e.result=r)===!1&&(e.preventDefault(),e.stopPropagation()))}return c.postDispatch&&c.postDispatch.call(this,e),e.result}},handlers:function(e,n){var r,i,o,a,s=[],u=n.delegateCount,l=e.target;if(u&&l.nodeType&&(!e.button||"click"!==e.type))for(;l!=this;l=l.parentNode||this)if(1===l.nodeType&&(l.disabled!==!0||"click"!==e.type)){for(o=[],a=0;u>a;a++)i=n[a],r=i.selector+" ",o[r]===t&&(o[r]=i.needsContext?b(r,this).index(l)>=0:b.find(r,this,null,[l]).length),o[r]&&o.push(i);o.length&&s.push({elem:l,handlers:o})}return n.length>u&&s.push({elem:this,handlers:n.slice(u)}),s},fix:function(e){if(e[b.expando])return e;var t,n,r,i=e.type,a=e,s=this.fixHooks[i];s||(this.fixHooks[i]=s=tt.test(i)?this.mouseHooks:et.test(i)?this.keyHooks:{}),r=s.props?this.props.concat(s.props):this.props,e=new b.Event(a),t=r.length;while(t--)n=r[t],e[n]=a[n];return e.target||(e.target=a.srcElement||o),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,s.filter?s.filter(e,a):e},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,n){var r,i,a,s=n.button,u=n.fromElement;return null==e.pageX&&null!=n.clientX&&(i=e.target.ownerDocument||o,a=i.documentElement,r=i.body,e.pageX=n.clientX+(a&&a.scrollLeft||r&&r.scrollLeft||0)-(a&&a.clientLeft||r&&r.clientLeft||0),e.pageY=n.clientY+(a&&a.scrollTop||r&&r.scrollTop||0)-(a&&a.clientTop||r&&r.clientTop||0)),!e.relatedTarget&&u&&(e.relatedTarget=u===e.target?n.toElement:u),e.which||s===t||(e.which=1&s?1:2&s?3:4&s?2:0),e}},special:{load:{noBubble:!0},click:{trigger:function(){return b.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):t}},focus:{trigger:function(){if(this!==o.activeElement&&this.focus)try{return this.focus(),!1}catch(e){}},delegateType:"focusin"},blur:{trigger:function(){return this===o.activeElement&&this.blur?(this.blur(),!1):t},delegateType:"focusout"},beforeunload:{postDispatch:function(e){e.result!==t&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n,r){var i=b.extend(new b.Event,n,{type:e,isSimulated:!0,originalEvent:{}});r?b.event.trigger(i,null,t):b.event.dispatch.call(t,i),i.isDefaultPrevented()&&n.preventDefault()}},b.removeEvent=o.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)}:function(e,t,n){var r="on"+t;e.detachEvent&&(typeof e[r]===i&&(e[r]=null),e.detachEvent(r,n))},b.Event=function(e,n){return this instanceof b.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.returnValue===!1||e.getPreventDefault&&e.getPreventDefault()?it:ot):this.type=e,n&&b.extend(this,n),this.timeStamp=e&&e.timeStamp||b.now(),this[b.expando]=!0,t):new b.Event(e,n)},b.Event.prototype={isDefaultPrevented:ot,isPropagationStopped:ot,isImmediatePropagationStopped:ot,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=it,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=it,e&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=it,this.stopPropagation()}},b.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(e,t){b.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj; - return(!i||i!==r&&!b.contains(r,i))&&(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),b.support.submitBubbles||(b.event.special.submit={setup:function(){return b.nodeName(this,"form")?!1:(b.event.add(this,"click._submit keypress._submit",function(e){var n=e.target,r=b.nodeName(n,"input")||b.nodeName(n,"button")?n.form:t;r&&!b._data(r,"submitBubbles")&&(b.event.add(r,"submit._submit",function(e){e._submit_bubble=!0}),b._data(r,"submitBubbles",!0))}),t)},postDispatch:function(e){e._submit_bubble&&(delete e._submit_bubble,this.parentNode&&!e.isTrigger&&b.event.simulate("submit",this.parentNode,e,!0))},teardown:function(){return b.nodeName(this,"form")?!1:(b.event.remove(this,"._submit"),t)}}),b.support.changeBubbles||(b.event.special.change={setup:function(){return Z.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(b.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._just_changed=!0)}),b.event.add(this,"click._change",function(e){this._just_changed&&!e.isTrigger&&(this._just_changed=!1),b.event.simulate("change",this,e,!0)})),!1):(b.event.add(this,"beforeactivate._change",function(e){var t=e.target;Z.test(t.nodeName)&&!b._data(t,"changeBubbles")&&(b.event.add(t,"change._change",function(e){!this.parentNode||e.isSimulated||e.isTrigger||b.event.simulate("change",this.parentNode,e,!0)}),b._data(t,"changeBubbles",!0))}),t)},handle:function(e){var n=e.target;return this!==n||e.isSimulated||e.isTrigger||"radio"!==n.type&&"checkbox"!==n.type?e.handleObj.handler.apply(this,arguments):t},teardown:function(){return b.event.remove(this,"._change"),!Z.test(this.nodeName)}}),b.support.focusinBubbles||b.each({focus:"focusin",blur:"focusout"},function(e,t){var n=0,r=function(e){b.event.simulate(t,e.target,b.event.fix(e),!0)};b.event.special[t]={setup:function(){0===n++&&o.addEventListener(e,r,!0)},teardown:function(){0===--n&&o.removeEventListener(e,r,!0)}}}),b.fn.extend({on:function(e,n,r,i,o){var a,s;if("object"==typeof e){"string"!=typeof n&&(r=r||n,n=t);for(a in e)this.on(a,n,r,e[a],o);return this}if(null==r&&null==i?(i=n,r=n=t):null==i&&("string"==typeof n?(i=r,r=t):(i=r,r=n,n=t)),i===!1)i=ot;else if(!i)return this;return 1===o&&(s=i,i=function(e){return b().off(e),s.apply(this,arguments)},i.guid=s.guid||(s.guid=b.guid++)),this.each(function(){b.event.add(this,e,i,r,n)})},one:function(e,t,n,r){return this.on(e,t,n,r,1)},off:function(e,n,r){var i,o;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,b(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof e){for(o in e)this.off(o,n,e[o]);return this}return(n===!1||"function"==typeof n)&&(r=n,n=t),r===!1&&(r=ot),this.each(function(){b.event.remove(this,e,r,n)})},bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},trigger:function(e,t){return this.each(function(){b.event.trigger(e,t,this)})},triggerHandler:function(e,n){var r=this[0];return r?b.event.trigger(e,n,r,!0):t}}),function(e,t){var n,r,i,o,a,s,u,l,c,p,f,d,h,g,m,y,v,x="sizzle"+-new Date,w=e.document,T={},N=0,C=0,k=it(),E=it(),S=it(),A=typeof t,j=1<<31,D=[],L=D.pop,H=D.push,q=D.slice,M=D.indexOf||function(e){var t=0,n=this.length;for(;n>t;t++)if(this[t]===e)return t;return-1},_="[\\x20\\t\\r\\n\\f]",F="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",O=F.replace("w","w#"),B="([*^$|!~]?=)",P="\\["+_+"*("+F+")"+_+"*(?:"+B+_+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+O+")|)|)"+_+"*\\]",R=":("+F+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+P.replace(3,8)+")*)|.*)\\)|)",W=RegExp("^"+_+"+|((?:^|[^\\\\])(?:\\\\.)*)"+_+"+$","g"),$=RegExp("^"+_+"*,"+_+"*"),I=RegExp("^"+_+"*([\\x20\\t\\r\\n\\f>+~])"+_+"*"),z=RegExp(R),X=RegExp("^"+O+"$"),U={ID:RegExp("^#("+F+")"),CLASS:RegExp("^\\.("+F+")"),NAME:RegExp("^\\[name=['\"]?("+F+")['\"]?\\]"),TAG:RegExp("^("+F.replace("w","w*")+")"),ATTR:RegExp("^"+P),PSEUDO:RegExp("^"+R),CHILD:RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+_+"*(even|odd|(([+-]|)(\\d*)n|)"+_+"*(?:([+-]|)"+_+"*(\\d+)|))"+_+"*\\)|)","i"),needsContext:RegExp("^"+_+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+_+"*((?:-\\d)?\\d*)"+_+"*\\)|)(?=[^-]|$)","i")},V=/[\x20\t\r\n\f]*[+~]/,Y=/^[^{]+\{\s*\[native code/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,G=/^(?:input|select|textarea|button)$/i,Q=/^h\d$/i,K=/'|\\/g,Z=/\=[\x20\t\r\n\f]*([^'"\]]*)[\x20\t\r\n\f]*\]/g,et=/\\([\da-fA-F]{1,6}[\x20\t\r\n\f]?|.)/g,tt=function(e,t){var n="0x"+t-65536;return n!==n?t:0>n?String.fromCharCode(n+65536):String.fromCharCode(55296|n>>10,56320|1023&n)};try{q.call(w.documentElement.childNodes,0)[0].nodeType}catch(nt){q=function(e){var t,n=[];while(t=this[e++])n.push(t);return n}}function rt(e){return Y.test(e+"")}function it(){var e,t=[];return e=function(n,r){return t.push(n+=" ")>i.cacheLength&&delete e[t.shift()],e[n]=r}}function ot(e){return e[x]=!0,e}function at(e){var t=p.createElement("div");try{return e(t)}catch(n){return!1}finally{t=null}}function st(e,t,n,r){var i,o,a,s,u,l,f,g,m,v;if((t?t.ownerDocument||t:w)!==p&&c(t),t=t||p,n=n||[],!e||"string"!=typeof e)return n;if(1!==(s=t.nodeType)&&9!==s)return[];if(!d&&!r){if(i=J.exec(e))if(a=i[1]){if(9===s){if(o=t.getElementById(a),!o||!o.parentNode)return n;if(o.id===a)return n.push(o),n}else if(t.ownerDocument&&(o=t.ownerDocument.getElementById(a))&&y(t,o)&&o.id===a)return n.push(o),n}else{if(i[2])return H.apply(n,q.call(t.getElementsByTagName(e),0)),n;if((a=i[3])&&T.getByClassName&&t.getElementsByClassName)return H.apply(n,q.call(t.getElementsByClassName(a),0)),n}if(T.qsa&&!h.test(e)){if(f=!0,g=x,m=t,v=9===s&&e,1===s&&"object"!==t.nodeName.toLowerCase()){l=ft(e),(f=t.getAttribute("id"))?g=f.replace(K,"\\$&"):t.setAttribute("id",g),g="[id='"+g+"'] ",u=l.length;while(u--)l[u]=g+dt(l[u]);m=V.test(e)&&t.parentNode||t,v=l.join(",")}if(v)try{return H.apply(n,q.call(m.querySelectorAll(v),0)),n}catch(b){}finally{f||t.removeAttribute("id")}}}return wt(e.replace(W,"$1"),t,n,r)}a=st.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?"HTML"!==t.nodeName:!1},c=st.setDocument=function(e){var n=e?e.ownerDocument||e:w;return n!==p&&9===n.nodeType&&n.documentElement?(p=n,f=n.documentElement,d=a(n),T.tagNameNoComments=at(function(e){return e.appendChild(n.createComment("")),!e.getElementsByTagName("*").length}),T.attributes=at(function(e){e.innerHTML="";var t=typeof e.lastChild.getAttribute("multiple");return"boolean"!==t&&"string"!==t}),T.getByClassName=at(function(e){return e.innerHTML="",e.getElementsByClassName&&e.getElementsByClassName("e").length?(e.lastChild.className="e",2===e.getElementsByClassName("e").length):!1}),T.getByName=at(function(e){e.id=x+0,e.innerHTML="
",f.insertBefore(e,f.firstChild);var t=n.getElementsByName&&n.getElementsByName(x).length===2+n.getElementsByName(x+0).length;return T.getIdNotName=!n.getElementById(x),f.removeChild(e),t}),i.attrHandle=at(function(e){return e.innerHTML="",e.firstChild&&typeof e.firstChild.getAttribute!==A&&"#"===e.firstChild.getAttribute("href")})?{}:{href:function(e){return e.getAttribute("href",2)},type:function(e){return e.getAttribute("type")}},T.getIdNotName?(i.find.ID=function(e,t){if(typeof t.getElementById!==A&&!d){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},i.filter.ID=function(e){var t=e.replace(et,tt);return function(e){return e.getAttribute("id")===t}}):(i.find.ID=function(e,n){if(typeof n.getElementById!==A&&!d){var r=n.getElementById(e);return r?r.id===e||typeof r.getAttributeNode!==A&&r.getAttributeNode("id").value===e?[r]:t:[]}},i.filter.ID=function(e){var t=e.replace(et,tt);return function(e){var n=typeof e.getAttributeNode!==A&&e.getAttributeNode("id");return n&&n.value===t}}),i.find.TAG=T.tagNameNoComments?function(e,n){return typeof n.getElementsByTagName!==A?n.getElementsByTagName(e):t}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},i.find.NAME=T.getByName&&function(e,n){return typeof n.getElementsByName!==A?n.getElementsByName(name):t},i.find.CLASS=T.getByClassName&&function(e,n){return typeof n.getElementsByClassName===A||d?t:n.getElementsByClassName(e)},g=[],h=[":focus"],(T.qsa=rt(n.querySelectorAll))&&(at(function(e){e.innerHTML="",e.querySelectorAll("[selected]").length||h.push("\\["+_+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)"),e.querySelectorAll(":checked").length||h.push(":checked")}),at(function(e){e.innerHTML="",e.querySelectorAll("[i^='']").length&&h.push("[*^$]="+_+"*(?:\"\"|'')"),e.querySelectorAll(":enabled").length||h.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),h.push(",.*:")})),(T.matchesSelector=rt(m=f.matchesSelector||f.mozMatchesSelector||f.webkitMatchesSelector||f.oMatchesSelector||f.msMatchesSelector))&&at(function(e){T.disconnectedMatch=m.call(e,"div"),m.call(e,"[s!='']:x"),g.push("!=",R)}),h=RegExp(h.join("|")),g=RegExp(g.join("|")),y=rt(f.contains)||f.compareDocumentPosition?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},v=f.compareDocumentPosition?function(e,t){var r;return e===t?(u=!0,0):(r=t.compareDocumentPosition&&e.compareDocumentPosition&&e.compareDocumentPosition(t))?1&r||e.parentNode&&11===e.parentNode.nodeType?e===n||y(w,e)?-1:t===n||y(w,t)?1:0:4&r?-1:1:e.compareDocumentPosition?-1:1}:function(e,t){var r,i=0,o=e.parentNode,a=t.parentNode,s=[e],l=[t];if(e===t)return u=!0,0;if(!o||!a)return e===n?-1:t===n?1:o?-1:a?1:0;if(o===a)return ut(e,t);r=e;while(r=r.parentNode)s.unshift(r);r=t;while(r=r.parentNode)l.unshift(r);while(s[i]===l[i])i++;return i?ut(s[i],l[i]):s[i]===w?-1:l[i]===w?1:0},u=!1,[0,0].sort(v),T.detectDuplicates=u,p):p},st.matches=function(e,t){return st(e,null,null,t)},st.matchesSelector=function(e,t){if((e.ownerDocument||e)!==p&&c(e),t=t.replace(Z,"='$1']"),!(!T.matchesSelector||d||g&&g.test(t)||h.test(t)))try{var n=m.call(e,t);if(n||T.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(r){}return st(t,p,null,[e]).length>0},st.contains=function(e,t){return(e.ownerDocument||e)!==p&&c(e),y(e,t)},st.attr=function(e,t){var n;return(e.ownerDocument||e)!==p&&c(e),d||(t=t.toLowerCase()),(n=i.attrHandle[t])?n(e):d||T.attributes?e.getAttribute(t):((n=e.getAttributeNode(t))||e.getAttribute(t))&&e[t]===!0?t:n&&n.specified?n.value:null},st.error=function(e){throw Error("Syntax error, unrecognized expression: "+e)},st.uniqueSort=function(e){var t,n=[],r=1,i=0;if(u=!T.detectDuplicates,e.sort(v),u){for(;t=e[r];r++)t===e[r-1]&&(i=n.push(r));while(i--)e.splice(n[i],1)}return e};function ut(e,t){var n=t&&e,r=n&&(~t.sourceIndex||j)-(~e.sourceIndex||j);if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function lt(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function ct(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function pt(e){return ot(function(t){return t=+t,ot(function(n,r){var i,o=e([],n.length,t),a=o.length;while(a--)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}o=st.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r];r++)n+=o(t);return n},i=st.selectors={cacheLength:50,createPseudo:ot,match:U,find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(et,tt),e[3]=(e[4]||e[5]||"").replace(et,tt),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||st.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&st.error(e[0]),e},PSEUDO:function(e){var t,n=!e[5]&&e[2];return U.CHILD.test(e[0])?null:(e[4]?e[2]=e[4]:n&&z.test(n)&&(t=ft(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){return"*"===e?function(){return!0}:(e=e.replace(et,tt).toLowerCase(),function(t){return t.nodeName&&t.nodeName.toLowerCase()===e})},CLASS:function(e){var t=k[e+" "];return t||(t=RegExp("(^|"+_+")"+e+"("+_+"|$)"))&&k(e,function(e){return t.test(e.className||typeof e.getAttribute!==A&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var i=st.attr(r,e);return null==i?"!="===t:t?(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i+" ").indexOf(n)>-1:"|="===t?i===n||i.slice(0,n.length+1)===n+"-":!1):!0}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var l,c,p,f,d,h,g=o!==a?"nextSibling":"previousSibling",m=t.parentNode,y=s&&t.nodeName.toLowerCase(),v=!u&&!s;if(m){if(o){while(g){p=t;while(p=p[g])if(s?p.nodeName.toLowerCase()===y:1===p.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?m.firstChild:m.lastChild],a&&v){c=m[x]||(m[x]={}),l=c[e]||[],d=l[0]===N&&l[1],f=l[0]===N&&l[2],p=d&&m.childNodes[d];while(p=++d&&p&&p[g]||(f=d=0)||h.pop())if(1===p.nodeType&&++f&&p===t){c[e]=[N,d,f];break}}else if(v&&(l=(t[x]||(t[x]={}))[e])&&l[0]===N)f=l[1];else while(p=++d&&p&&p[g]||(f=d=0)||h.pop())if((s?p.nodeName.toLowerCase()===y:1===p.nodeType)&&++f&&(v&&((p[x]||(p[x]={}))[e]=[N,f]),p===t))break;return f-=i,f===r||0===f%r&&f/r>=0}}},PSEUDO:function(e,t){var n,r=i.pseudos[e]||i.setFilters[e.toLowerCase()]||st.error("unsupported pseudo: "+e);return r[x]?r(t):r.length>1?(n=[e,e,"",t],i.setFilters.hasOwnProperty(e.toLowerCase())?ot(function(e,n){var i,o=r(e,t),a=o.length;while(a--)i=M.call(e,o[a]),e[i]=!(n[i]=o[a])}):function(e){return r(e,0,n)}):r}},pseudos:{not:ot(function(e){var t=[],n=[],r=s(e.replace(W,"$1"));return r[x]?ot(function(e,t,n,i){var o,a=r(e,null,i,[]),s=e.length;while(s--)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,i,o){return t[0]=e,r(t,null,o,n),!n.pop()}}),has:ot(function(e){return function(t){return st(e,t).length>0}}),contains:ot(function(e){return function(t){return(t.textContent||t.innerText||o(t)).indexOf(e)>-1}}),lang:ot(function(e){return X.test(e||"")||st.error("unsupported lang: "+e),e=e.replace(et,tt).toLowerCase(),function(t){var n;do if(n=d?t.getAttribute("xml:lang")||t.getAttribute("lang"):t.lang)return n=n.toLowerCase(),n===e||0===n.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===f},focus:function(e){return e===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeName>"@"||3===e.nodeType||4===e.nodeType)return!1;return!0},parent:function(e){return!i.pseudos.empty(e)},header:function(e){return Q.test(e.nodeName)},input:function(e){return G.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||t.toLowerCase()===e.type)},first:pt(function(){return[0]}),last:pt(function(e,t){return[t-1]}),eq:pt(function(e,t,n){return[0>n?n+t:n]}),even:pt(function(e,t){var n=0;for(;t>n;n+=2)e.push(n);return e}),odd:pt(function(e,t){var n=1;for(;t>n;n+=2)e.push(n);return e}),lt:pt(function(e,t,n){var r=0>n?n+t:n;for(;--r>=0;)e.push(r);return e}),gt:pt(function(e,t,n){var r=0>n?n+t:n;for(;t>++r;)e.push(r);return e})}};for(n in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})i.pseudos[n]=lt(n);for(n in{submit:!0,reset:!0})i.pseudos[n]=ct(n);function ft(e,t){var n,r,o,a,s,u,l,c=E[e+" "];if(c)return t?0:c.slice(0);s=e,u=[],l=i.preFilter;while(s){(!n||(r=$.exec(s)))&&(r&&(s=s.slice(r[0].length)||s),u.push(o=[])),n=!1,(r=I.exec(s))&&(n=r.shift(),o.push({value:n,type:r[0].replace(W," ")}),s=s.slice(n.length));for(a in i.filter)!(r=U[a].exec(s))||l[a]&&!(r=l[a](r))||(n=r.shift(),o.push({value:n,type:a,matches:r}),s=s.slice(n.length));if(!n)break}return t?s.length:s?st.error(e):E(e,u).slice(0)}function dt(e){var t=0,n=e.length,r="";for(;n>t;t++)r+=e[t].value;return r}function ht(e,t,n){var i=t.dir,o=n&&"parentNode"===i,a=C++;return t.first?function(t,n,r){while(t=t[i])if(1===t.nodeType||o)return e(t,n,r)}:function(t,n,s){var u,l,c,p=N+" "+a;if(s){while(t=t[i])if((1===t.nodeType||o)&&e(t,n,s))return!0}else while(t=t[i])if(1===t.nodeType||o)if(c=t[x]||(t[x]={}),(l=c[i])&&l[0]===p){if((u=l[1])===!0||u===r)return u===!0}else if(l=c[i]=[p],l[1]=e(t,n,s)||r,l[1]===!0)return!0}}function gt(e){return e.length>1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function mt(e,t,n,r,i){var o,a=[],s=0,u=e.length,l=null!=t;for(;u>s;s++)(o=e[s])&&(!n||n(o,r,i))&&(a.push(o),l&&t.push(s));return a}function yt(e,t,n,r,i,o){return r&&!r[x]&&(r=yt(r)),i&&!i[x]&&(i=yt(i,o)),ot(function(o,a,s,u){var l,c,p,f=[],d=[],h=a.length,g=o||xt(t||"*",s.nodeType?[s]:s,[]),m=!e||!o&&t?g:mt(g,f,e,s,u),y=n?i||(o?e:h||r)?[]:a:m;if(n&&n(m,y,s,u),r){l=mt(y,d),r(l,[],s,u),c=l.length;while(c--)(p=l[c])&&(y[d[c]]=!(m[d[c]]=p))}if(o){if(i||e){if(i){l=[],c=y.length;while(c--)(p=y[c])&&l.push(m[c]=p);i(null,y=[],l,u)}c=y.length;while(c--)(p=y[c])&&(l=i?M.call(o,p):f[c])>-1&&(o[l]=!(a[l]=p))}}else y=mt(y===a?y.splice(h,y.length):y),i?i(null,a,y,u):H.apply(a,y)})}function vt(e){var t,n,r,o=e.length,a=i.relative[e[0].type],s=a||i.relative[" "],u=a?1:0,c=ht(function(e){return e===t},s,!0),p=ht(function(e){return M.call(t,e)>-1},s,!0),f=[function(e,n,r){return!a&&(r||n!==l)||((t=n).nodeType?c(e,n,r):p(e,n,r))}];for(;o>u;u++)if(n=i.relative[e[u].type])f=[ht(gt(f),n)];else{if(n=i.filter[e[u].type].apply(null,e[u].matches),n[x]){for(r=++u;o>r;r++)if(i.relative[e[r].type])break;return yt(u>1&>(f),u>1&&dt(e.slice(0,u-1)).replace(W,"$1"),n,r>u&&vt(e.slice(u,r)),o>r&&vt(e=e.slice(r)),o>r&&dt(e))}f.push(n)}return gt(f)}function bt(e,t){var n=0,o=t.length>0,a=e.length>0,s=function(s,u,c,f,d){var h,g,m,y=[],v=0,b="0",x=s&&[],w=null!=d,T=l,C=s||a&&i.find.TAG("*",d&&u.parentNode||u),k=N+=null==T?1:Math.random()||.1;for(w&&(l=u!==p&&u,r=n);null!=(h=C[b]);b++){if(a&&h){g=0;while(m=e[g++])if(m(h,u,c)){f.push(h);break}w&&(N=k,r=++n)}o&&((h=!m&&h)&&v--,s&&x.push(h))}if(v+=b,o&&b!==v){g=0;while(m=t[g++])m(x,y,u,c);if(s){if(v>0)while(b--)x[b]||y[b]||(y[b]=L.call(f));y=mt(y)}H.apply(f,y),w&&!s&&y.length>0&&v+t.length>1&&st.uniqueSort(f)}return w&&(N=k,l=T),x};return o?ot(s):s}s=st.compile=function(e,t){var n,r=[],i=[],o=S[e+" "];if(!o){t||(t=ft(e)),n=t.length;while(n--)o=vt(t[n]),o[x]?r.push(o):i.push(o);o=S(e,bt(i,r))}return o};function xt(e,t,n){var r=0,i=t.length;for(;i>r;r++)st(e,t[r],n);return n}function wt(e,t,n,r){var o,a,u,l,c,p=ft(e);if(!r&&1===p.length){if(a=p[0]=p[0].slice(0),a.length>2&&"ID"===(u=a[0]).type&&9===t.nodeType&&!d&&i.relative[a[1].type]){if(t=i.find.ID(u.matches[0].replace(et,tt),t)[0],!t)return n;e=e.slice(a.shift().value.length)}o=U.needsContext.test(e)?0:a.length;while(o--){if(u=a[o],i.relative[l=u.type])break;if((c=i.find[l])&&(r=c(u.matches[0].replace(et,tt),V.test(a[0].type)&&t.parentNode||t))){if(a.splice(o,1),e=r.length&&dt(a),!e)return H.apply(n,q.call(r,0)),n;break}}}return s(e,p)(r,t,d,n,V.test(e)),n}i.pseudos.nth=i.pseudos.eq;function Tt(){}i.filters=Tt.prototype=i.pseudos,i.setFilters=new Tt,c(),st.attr=b.attr,b.find=st,b.expr=st.selectors,b.expr[":"]=b.expr.pseudos,b.unique=st.uniqueSort,b.text=st.getText,b.isXMLDoc=st.isXML,b.contains=st.contains}(e);var at=/Until$/,st=/^(?:parents|prev(?:Until|All))/,ut=/^.[^:#\[\.,]*$/,lt=b.expr.match.needsContext,ct={children:!0,contents:!0,next:!0,prev:!0};b.fn.extend({find:function(e){var t,n,r,i=this.length;if("string"!=typeof e)return r=this,this.pushStack(b(e).filter(function(){for(t=0;i>t;t++)if(b.contains(r[t],this))return!0}));for(n=[],t=0;i>t;t++)b.find(e,this[t],n);return n=this.pushStack(i>1?b.unique(n):n),n.selector=(this.selector?this.selector+" ":"")+e,n},has:function(e){var t,n=b(e,this),r=n.length;return this.filter(function(){for(t=0;r>t;t++)if(b.contains(this,n[t]))return!0})},not:function(e){return this.pushStack(ft(this,e,!1))},filter:function(e){return this.pushStack(ft(this,e,!0))},is:function(e){return!!e&&("string"==typeof e?lt.test(e)?b(e,this.context).index(this[0])>=0:b.filter(e,this).length>0:this.filter(e).length>0)},closest:function(e,t){var n,r=0,i=this.length,o=[],a=lt.test(e)||"string"!=typeof e?b(e,t||this.context):0;for(;i>r;r++){n=this[r];while(n&&n.ownerDocument&&n!==t&&11!==n.nodeType){if(a?a.index(n)>-1:b.find.matchesSelector(n,e)){o.push(n);break}n=n.parentNode}}return this.pushStack(o.length>1?b.unique(o):o)},index:function(e){return e?"string"==typeof e?b.inArray(this[0],b(e)):b.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){var n="string"==typeof e?b(e,t):b.makeArray(e&&e.nodeType?[e]:e),r=b.merge(this.get(),n);return this.pushStack(b.unique(r))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),b.fn.andSelf=b.fn.addBack;function pt(e,t){do e=e[t];while(e&&1!==e.nodeType);return e}b.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return b.dir(e,"parentNode")},parentsUntil:function(e,t,n){return b.dir(e,"parentNode",n)},next:function(e){return pt(e,"nextSibling")},prev:function(e){return pt(e,"previousSibling")},nextAll:function(e){return b.dir(e,"nextSibling")},prevAll:function(e){return b.dir(e,"previousSibling")},nextUntil:function(e,t,n){return b.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return b.dir(e,"previousSibling",n)},siblings:function(e){return b.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return b.sibling(e.firstChild)},contents:function(e){return b.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:b.merge([],e.childNodes)}},function(e,t){b.fn[e]=function(n,r){var i=b.map(this,t,n);return at.test(e)||(r=n),r&&"string"==typeof r&&(i=b.filter(r,i)),i=this.length>1&&!ct[e]?b.unique(i):i,this.length>1&&st.test(e)&&(i=i.reverse()),this.pushStack(i)}}),b.extend({filter:function(e,t,n){return n&&(e=":not("+e+")"),1===t.length?b.find.matchesSelector(t[0],e)?[t[0]]:[]:b.find.matches(e,t)},dir:function(e,n,r){var i=[],o=e[n];while(o&&9!==o.nodeType&&(r===t||1!==o.nodeType||!b(o).is(r)))1===o.nodeType&&i.push(o),o=o[n];return i},sibling:function(e,t){var n=[];for(;e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}});function ft(e,t,n){if(t=t||0,b.isFunction(t))return b.grep(e,function(e,r){var i=!!t.call(e,r,e);return i===n});if(t.nodeType)return b.grep(e,function(e){return e===t===n});if("string"==typeof t){var r=b.grep(e,function(e){return 1===e.nodeType});if(ut.test(t))return b.filter(t,r,!n);t=b.filter(t,r)}return b.grep(e,function(e){return b.inArray(e,t)>=0===n})}function dt(e){var t=ht.split("|"),n=e.createDocumentFragment();if(n.createElement)while(t.length)n.createElement(t.pop());return n}var ht="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",gt=/ jQuery\d+="(?:null|\d+)"/g,mt=RegExp("<(?:"+ht+")[\\s/>]","i"),yt=/^\s+/,vt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,bt=/<([\w:]+)/,xt=/\s*$/g,At={option:[1,""],legend:[1,"
","
"],area:[1,"",""],param:[1,"",""],thead:[1,"","
"],tr:[2,"","
"],col:[2,"","
"],td:[3,"","
"],_default:b.support.htmlSerialize?[0,"",""]:[1,"X
","
"]},jt=dt(o),Dt=jt.appendChild(o.createElement("div"));At.optgroup=At.option,At.tbody=At.tfoot=At.colgroup=At.caption=At.thead,At.th=At.td,b.fn.extend({text:function(e){return b.access(this,function(e){return e===t?b.text(this):this.empty().append((this[0]&&this[0].ownerDocument||o).createTextNode(e))},null,e,arguments.length)},wrapAll:function(e){if(b.isFunction(e))return this.each(function(t){b(this).wrapAll(e.call(this,t))});if(this[0]){var t=b(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstChild&&1===e.firstChild.nodeType)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return b.isFunction(e)?this.each(function(t){b(this).wrapInner(e.call(this,t))}):this.each(function(){var t=b(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=b.isFunction(e);return this.each(function(n){b(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){b.nodeName(this,"body")||b(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(e){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&this.appendChild(e)})},prepend:function(){return this.domManip(arguments,!0,function(e){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&this.insertBefore(e,this.firstChild)})},before:function(){return this.domManip(arguments,!1,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,!1,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},remove:function(e,t){var n,r=0;for(;null!=(n=this[r]);r++)(!e||b.filter(e,[n]).length>0)&&(t||1!==n.nodeType||b.cleanData(Ot(n)),n.parentNode&&(t&&b.contains(n.ownerDocument,n)&&Mt(Ot(n,"script")),n.parentNode.removeChild(n)));return this},empty:function(){var e,t=0;for(;null!=(e=this[t]);t++){1===e.nodeType&&b.cleanData(Ot(e,!1));while(e.firstChild)e.removeChild(e.firstChild);e.options&&b.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=null==e?!1:e,t=null==t?e:t,this.map(function(){return b.clone(this,e,t)})},html:function(e){return b.access(this,function(e){var n=this[0]||{},r=0,i=this.length;if(e===t)return 1===n.nodeType?n.innerHTML.replace(gt,""):t;if(!("string"!=typeof e||Tt.test(e)||!b.support.htmlSerialize&&mt.test(e)||!b.support.leadingWhitespace&&yt.test(e)||At[(bt.exec(e)||["",""])[1].toLowerCase()])){e=e.replace(vt,"<$1>");try{for(;i>r;r++)n=this[r]||{},1===n.nodeType&&(b.cleanData(Ot(n,!1)),n.innerHTML=e);n=0}catch(o){}}n&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(e){var t=b.isFunction(e);return t||"string"==typeof e||(e=b(e).not(this).detach()),this.domManip([e],!0,function(e){var t=this.nextSibling,n=this.parentNode;n&&(b(this).remove(),n.insertBefore(e,t))})},detach:function(e){return this.remove(e,!0)},domManip:function(e,n,r){e=f.apply([],e);var i,o,a,s,u,l,c=0,p=this.length,d=this,h=p-1,g=e[0],m=b.isFunction(g);if(m||!(1>=p||"string"!=typeof g||b.support.checkClone)&&Ct.test(g))return this.each(function(i){var o=d.eq(i);m&&(e[0]=g.call(this,i,n?o.html():t)),o.domManip(e,n,r)});if(p&&(l=b.buildFragment(e,this[0].ownerDocument,!1,this),i=l.firstChild,1===l.childNodes.length&&(l=i),i)){for(n=n&&b.nodeName(i,"tr"),s=b.map(Ot(l,"script"),Ht),a=s.length;p>c;c++)o=l,c!==h&&(o=b.clone(o,!0,!0),a&&b.merge(s,Ot(o,"script"))),r.call(n&&b.nodeName(this[c],"table")?Lt(this[c],"tbody"):this[c],o,c);if(a)for(u=s[s.length-1].ownerDocument,b.map(s,qt),c=0;a>c;c++)o=s[c],kt.test(o.type||"")&&!b._data(o,"globalEval")&&b.contains(u,o)&&(o.src?b.ajax({url:o.src,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0}):b.globalEval((o.text||o.textContent||o.innerHTML||"").replace(St,"")));l=i=null}return this}});function Lt(e,t){return e.getElementsByTagName(t)[0]||e.appendChild(e.ownerDocument.createElement(t))}function Ht(e){var t=e.getAttributeNode("type");return e.type=(t&&t.specified)+"/"+e.type,e}function qt(e){var t=Et.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function Mt(e,t){var n,r=0;for(;null!=(n=e[r]);r++)b._data(n,"globalEval",!t||b._data(t[r],"globalEval"))}function _t(e,t){if(1===t.nodeType&&b.hasData(e)){var n,r,i,o=b._data(e),a=b._data(t,o),s=o.events;if(s){delete a.handle,a.events={};for(n in s)for(r=0,i=s[n].length;i>r;r++)b.event.add(t,n,s[n][r])}a.data&&(a.data=b.extend({},a.data))}}function Ft(e,t){var n,r,i;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!b.support.noCloneEvent&&t[b.expando]){i=b._data(t);for(r in i.events)b.removeEvent(t,r,i.handle);t.removeAttribute(b.expando)}"script"===n&&t.text!==e.text?(Ht(t).text=e.text,qt(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),b.support.html5Clone&&e.innerHTML&&!b.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&Nt.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===n?t.defaultSelected=t.selected=e.defaultSelected:("input"===n||"textarea"===n)&&(t.defaultValue=e.defaultValue)}}b.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){b.fn[e]=function(e){var n,r=0,i=[],o=b(e),a=o.length-1;for(;a>=r;r++)n=r===a?this:this.clone(!0),b(o[r])[t](n),d.apply(i,n.get());return this.pushStack(i)}});function Ot(e,n){var r,o,a=0,s=typeof e.getElementsByTagName!==i?e.getElementsByTagName(n||"*"):typeof e.querySelectorAll!==i?e.querySelectorAll(n||"*"):t;if(!s)for(s=[],r=e.childNodes||e;null!=(o=r[a]);a++)!n||b.nodeName(o,n)?s.push(o):b.merge(s,Ot(o,n));return n===t||n&&b.nodeName(e,n)?b.merge([e],s):s}function Bt(e){Nt.test(e.type)&&(e.defaultChecked=e.checked)}b.extend({clone:function(e,t,n){var r,i,o,a,s,u=b.contains(e.ownerDocument,e);if(b.support.html5Clone||b.isXMLDoc(e)||!mt.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(Dt.innerHTML=e.outerHTML,Dt.removeChild(o=Dt.firstChild)),!(b.support.noCloneEvent&&b.support.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||b.isXMLDoc(e)))for(r=Ot(o),s=Ot(e),a=0;null!=(i=s[a]);++a)r[a]&&Ft(i,r[a]);if(t)if(n)for(s=s||Ot(e),r=r||Ot(o),a=0;null!=(i=s[a]);a++)_t(i,r[a]);else _t(e,o);return r=Ot(o,"script"),r.length>0&&Mt(r,!u&&Ot(e,"script")),r=s=i=null,o},buildFragment:function(e,t,n,r){var i,o,a,s,u,l,c,p=e.length,f=dt(t),d=[],h=0;for(;p>h;h++)if(o=e[h],o||0===o)if("object"===b.type(o))b.merge(d,o.nodeType?[o]:o);else if(wt.test(o)){s=s||f.appendChild(t.createElement("div")),u=(bt.exec(o)||["",""])[1].toLowerCase(),c=At[u]||At._default,s.innerHTML=c[1]+o.replace(vt,"<$1>")+c[2],i=c[0];while(i--)s=s.lastChild;if(!b.support.leadingWhitespace&&yt.test(o)&&d.push(t.createTextNode(yt.exec(o)[0])),!b.support.tbody){o="table"!==u||xt.test(o)?""!==c[1]||xt.test(o)?0:s:s.firstChild,i=o&&o.childNodes.length;while(i--)b.nodeName(l=o.childNodes[i],"tbody")&&!l.childNodes.length&&o.removeChild(l) -}b.merge(d,s.childNodes),s.textContent="";while(s.firstChild)s.removeChild(s.firstChild);s=f.lastChild}else d.push(t.createTextNode(o));s&&f.removeChild(s),b.support.appendChecked||b.grep(Ot(d,"input"),Bt),h=0;while(o=d[h++])if((!r||-1===b.inArray(o,r))&&(a=b.contains(o.ownerDocument,o),s=Ot(f.appendChild(o),"script"),a&&Mt(s),n)){i=0;while(o=s[i++])kt.test(o.type||"")&&n.push(o)}return s=null,f},cleanData:function(e,t){var n,r,o,a,s=0,u=b.expando,l=b.cache,p=b.support.deleteExpando,f=b.event.special;for(;null!=(n=e[s]);s++)if((t||b.acceptData(n))&&(o=n[u],a=o&&l[o])){if(a.events)for(r in a.events)f[r]?b.event.remove(n,r):b.removeEvent(n,r,a.handle);l[o]&&(delete l[o],p?delete n[u]:typeof n.removeAttribute!==i?n.removeAttribute(u):n[u]=null,c.push(o))}}});var Pt,Rt,Wt,$t=/alpha\([^)]*\)/i,It=/opacity\s*=\s*([^)]*)/,zt=/^(top|right|bottom|left)$/,Xt=/^(none|table(?!-c[ea]).+)/,Ut=/^margin/,Vt=RegExp("^("+x+")(.*)$","i"),Yt=RegExp("^("+x+")(?!px)[a-z%]+$","i"),Jt=RegExp("^([+-])=("+x+")","i"),Gt={BODY:"block"},Qt={position:"absolute",visibility:"hidden",display:"block"},Kt={letterSpacing:0,fontWeight:400},Zt=["Top","Right","Bottom","Left"],en=["Webkit","O","Moz","ms"];function tn(e,t){if(t in e)return t;var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=en.length;while(i--)if(t=en[i]+n,t in e)return t;return r}function nn(e,t){return e=t||e,"none"===b.css(e,"display")||!b.contains(e.ownerDocument,e)}function rn(e,t){var n,r,i,o=[],a=0,s=e.length;for(;s>a;a++)r=e[a],r.style&&(o[a]=b._data(r,"olddisplay"),n=r.style.display,t?(o[a]||"none"!==n||(r.style.display=""),""===r.style.display&&nn(r)&&(o[a]=b._data(r,"olddisplay",un(r.nodeName)))):o[a]||(i=nn(r),(n&&"none"!==n||!i)&&b._data(r,"olddisplay",i?n:b.css(r,"display"))));for(a=0;s>a;a++)r=e[a],r.style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?o[a]||"":"none"));return e}b.fn.extend({css:function(e,n){return b.access(this,function(e,n,r){var i,o,a={},s=0;if(b.isArray(n)){for(o=Rt(e),i=n.length;i>s;s++)a[n[s]]=b.css(e,n[s],!1,o);return a}return r!==t?b.style(e,n,r):b.css(e,n)},e,n,arguments.length>1)},show:function(){return rn(this,!0)},hide:function(){return rn(this)},toggle:function(e){var t="boolean"==typeof e;return this.each(function(){(t?e:nn(this))?b(this).show():b(this).hide()})}}),b.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Wt(e,"opacity");return""===n?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":b.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,n,r,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,a,s,u=b.camelCase(n),l=e.style;if(n=b.cssProps[u]||(b.cssProps[u]=tn(l,u)),s=b.cssHooks[n]||b.cssHooks[u],r===t)return s&&"get"in s&&(o=s.get(e,!1,i))!==t?o:l[n];if(a=typeof r,"string"===a&&(o=Jt.exec(r))&&(r=(o[1]+1)*o[2]+parseFloat(b.css(e,n)),a="number"),!(null==r||"number"===a&&isNaN(r)||("number"!==a||b.cssNumber[u]||(r+="px"),b.support.clearCloneStyle||""!==r||0!==n.indexOf("background")||(l[n]="inherit"),s&&"set"in s&&(r=s.set(e,r,i))===t)))try{l[n]=r}catch(c){}}},css:function(e,n,r,i){var o,a,s,u=b.camelCase(n);return n=b.cssProps[u]||(b.cssProps[u]=tn(e.style,u)),s=b.cssHooks[n]||b.cssHooks[u],s&&"get"in s&&(a=s.get(e,!0,r)),a===t&&(a=Wt(e,n,i)),"normal"===a&&n in Kt&&(a=Kt[n]),""===r||r?(o=parseFloat(a),r===!0||b.isNumeric(o)?o||0:a):a},swap:function(e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];i=n.apply(e,r||[]);for(o in t)e.style[o]=a[o];return i}}),e.getComputedStyle?(Rt=function(t){return e.getComputedStyle(t,null)},Wt=function(e,n,r){var i,o,a,s=r||Rt(e),u=s?s.getPropertyValue(n)||s[n]:t,l=e.style;return s&&(""!==u||b.contains(e.ownerDocument,e)||(u=b.style(e,n)),Yt.test(u)&&Ut.test(n)&&(i=l.width,o=l.minWidth,a=l.maxWidth,l.minWidth=l.maxWidth=l.width=u,u=s.width,l.width=i,l.minWidth=o,l.maxWidth=a)),u}):o.documentElement.currentStyle&&(Rt=function(e){return e.currentStyle},Wt=function(e,n,r){var i,o,a,s=r||Rt(e),u=s?s[n]:t,l=e.style;return null==u&&l&&l[n]&&(u=l[n]),Yt.test(u)&&!zt.test(n)&&(i=l.left,o=e.runtimeStyle,a=o&&o.left,a&&(o.left=e.currentStyle.left),l.left="fontSize"===n?"1em":u,u=l.pixelLeft+"px",l.left=i,a&&(o.left=a)),""===u?"auto":u});function on(e,t,n){var r=Vt.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function an(e,t,n,r,i){var o=n===(r?"border":"content")?4:"width"===t?1:0,a=0;for(;4>o;o+=2)"margin"===n&&(a+=b.css(e,n+Zt[o],!0,i)),r?("content"===n&&(a-=b.css(e,"padding"+Zt[o],!0,i)),"margin"!==n&&(a-=b.css(e,"border"+Zt[o]+"Width",!0,i))):(a+=b.css(e,"padding"+Zt[o],!0,i),"padding"!==n&&(a+=b.css(e,"border"+Zt[o]+"Width",!0,i)));return a}function sn(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,o=Rt(e),a=b.support.boxSizing&&"border-box"===b.css(e,"boxSizing",!1,o);if(0>=i||null==i){if(i=Wt(e,t,o),(0>i||null==i)&&(i=e.style[t]),Yt.test(i))return i;r=a&&(b.support.boxSizingReliable||i===e.style[t]),i=parseFloat(i)||0}return i+an(e,t,n||(a?"border":"content"),r,o)+"px"}function un(e){var t=o,n=Gt[e];return n||(n=ln(e,t),"none"!==n&&n||(Pt=(Pt||b("