Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package aws-cli for openSUSE:Factory checked in at 2022-06-05 00:45:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/aws-cli (Old) and /work/SRC/openSUSE:Factory/.aws-cli.new.1548 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "aws-cli" Sun Jun 5 00:45:44 2022 rev:61 rq:980637 version:1.25.2 Changes: -------- --- /work/SRC/openSUSE:Factory/aws-cli/aws-cli.changes 2022-05-22 22:10:15.892761335 +0200 +++ /work/SRC/openSUSE:Factory/.aws-cli.new.1548/aws-cli.changes 2022-06-05 00:45:45.460380631 +0200 @@ -1,0 +2,8 @@ +Fri Jun 3 10:09:38 UTC 2022 - John Paul Adrian Glaubitz <adrian.glaub...@suse.com> + +- Update to version 1.25.2 + + For detailed changes see + https://github.com/aws/aws-cli/blob/1.25.2/CHANGELOG.rst +- Update Requires in spec file from setup.py + +------------------------------------------------------------------- Old: ---- 1.24.4.tar.gz New: ---- 1.25.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ aws-cli.spec ++++++ --- /var/tmp/diff_new_pack.0LZ2Tg/_old 2022-06-05 00:45:46.044381126 +0200 +++ /var/tmp/diff_new_pack.0LZ2Tg/_new 2022-06-05 00:45:46.048381129 +0200 @@ -17,7 +17,7 @@ Name: aws-cli -Version: 1.24.4 +Version: 1.25.2 Release: 0 Summary: Amazon Web Services Command Line Interface License: Apache-2.0 @@ -35,15 +35,15 @@ Requires: python3 Requires: python3-PyYAML <= 6.0.0 Requires: python3-PyYAML >= 3.10 -Requires: python3-botocore >= 1.26.4 +Requires: python3-botocore >= 1.27.2 Requires: python3-colorama <= 0.4.5 Requires: python3-colorama >= 0.2.5 Requires: python3-docutils < 0.20 Requires: python3-docutils >= 0.10 Requires: python3-rsa < 5.0.0 Requires: python3-rsa >= 3.1.2 -Requires: python3-s3transfer < 0.6.0 -Requires: python3-s3transfer >= 0.5.0 +Requires: python3-s3transfer < 0.7.0 +Requires: python3-s3transfer >= 0.6.0 Requires: python3-six %else BuildRequires: bash-completion @@ -52,14 +52,14 @@ Requires: python Requires: python-PyYAML <= 5.5 Requires: python-PyYAML >= 3.10 -Requires: python-botocore >= 1.26.4 +Requires: python-botocore >= 1.27.2 Requires: python-colorama <= 0.4.5 Requires: python-colorama >= 0.2.5 Requires: python-docutils >= 0.10 Requires: python-rsa <= 4.5.0 Requires: python-rsa >= 3.1.2 -Requires: python-s3transfer < 0.6.0 -Requires: python-s3transfer >= 0.5.0 +Requires: python-s3transfer < 0.7.0 +Requires: python-s3transfer >= 0.6.0 Requires: python-six %endif ++++++ 1.24.4.tar.gz -> 1.25.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-cli-1.24.4/.changes/1.24.10.json new/aws-cli-1.25.2/.changes/1.24.10.json --- old/aws-cli-1.24.4/.changes/1.24.10.json 1970-01-01 01:00:00.000000000 +0100 +++ new/aws-cli-1.25.2/.changes/1.24.10.json 2022-06-02 20:14:49.000000000 +0200 @@ -0,0 +1,22 @@ +[ + { + "category": "``appflow``", + "description": "Adding the following features/changes: Parquet output that preserves typing from the source connector, Failed executions threshold before deactivation for scheduled flows, increasing max size of access and refresh token from 2048 to 4096", + "type": "api-change" + }, + { + "category": "``sagemaker``", + "description": "Amazon SageMaker Notebook Instances now allows configuration of Instance Metadata Service version and Amazon SageMaker Studio now supports G5 instance types.", + "type": "api-change" + }, + { + "category": "``datasync``", + "description": "AWS DataSync now supports TLS encryption in transit, file system policies and access points for EFS locations.", + "type": "api-change" + }, + { + "category": "``emr-serverless``", + "description": "This release adds support for Amazon EMR Serverless, a serverless runtime environment that simplifies running analytics applications using the latest open source frameworks such as Apache Spark and Apache Hive.", + "type": "api-change" + } +] \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-cli-1.24.4/.changes/1.24.5.json new/aws-cli-1.25.2/.changes/1.24.5.json --- old/aws-cli-1.24.4/.changes/1.24.5.json 1970-01-01 01:00:00.000000000 +0100 +++ new/aws-cli-1.25.2/.changes/1.24.5.json 2022-06-02 20:14:49.000000000 +0200 @@ -0,0 +1,17 @@ +[ + { + "category": "``comprehend``", + "description": "Comprehend releases 14 new entity types for DetectPiiEntities and ContainsPiiEntities APIs.", + "type": "api-change" + }, + { + "category": "``logs``", + "description": "Doc-only update to publish the new valid values for log retention", + "type": "api-change" + }, + { + "category": "dependency", + "description": "Bump upper bound of docutils to <0.17", + "type": "enhancement" + } +] \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-cli-1.24.4/.changes/1.24.6.json new/aws-cli-1.25.2/.changes/1.24.6.json --- old/aws-cli-1.24.4/.changes/1.24.6.json 1970-01-01 01:00:00.000000000 +0100 +++ new/aws-cli-1.25.2/.changes/1.24.6.json 2022-06-02 20:14:49.000000000 +0200 @@ -0,0 +1,17 @@ +[ + { + "category": "``forecast``", + "description": "New APIs for Monitor that help you understand how your predictors perform over time.", + "type": "api-change" + }, + { + "category": "``elasticache``", + "description": "Added support for encryption in transit for Memcached clusters. Customers can now launch Memcached cluster with encryption in transit enabled when using Memcached version 1.6.12 or later.", + "type": "api-change" + }, + { + "category": "``personalize``", + "description": "Adding modelMetrics as part of DescribeRecommender API response for Personalize.", + "type": "api-change" + } +] \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-cli-1.24.4/.changes/1.24.7.json new/aws-cli-1.25.2/.changes/1.24.7.json --- old/aws-cli-1.24.4/.changes/1.24.7.json 1970-01-01 01:00:00.000000000 +0100 +++ new/aws-cli-1.25.2/.changes/1.24.7.json 2022-06-02 20:14:49.000000000 +0200 @@ -0,0 +1,27 @@ +[ + { + "category": "``ec2``", + "description": "Stop Protection feature enables customers to protect their instances from accidental stop actions.", + "type": "api-change" + }, + { + "category": "``cognito-idp``", + "description": "Amazon Cognito now supports requiring attribute verification (ex. email and phone number) before update.", + "type": "api-change" + }, + { + "category": "``mediaconvert``", + "description": "AWS Elemental MediaConvert SDK has added support for rules that constrain Automatic-ABR rendition selection when generating ABR package ladders.", + "type": "api-change" + }, + { + "category": "``networkmanager``", + "description": "This release adds Multi Account API support for a TGW Global Network, to enable and disable AWSServiceAccess with AwsOrganizations for Network Manager service and dependency CloudFormation StackSets service.", + "type": "api-change" + }, + { + "category": "``ivschat``", + "description": "Doc-only update. For MessageReviewHandler structure, added timeout period in the description of the fallbackResult field", + "type": "api-change" + } +] \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-cli-1.24.4/.changes/1.24.8.json new/aws-cli-1.25.2/.changes/1.24.8.json --- old/aws-cli-1.24.4/.changes/1.24.8.json 1970-01-01 01:00:00.000000000 +0100 +++ new/aws-cli-1.25.2/.changes/1.24.8.json 2022-06-02 20:14:49.000000000 +0200 @@ -0,0 +1,42 @@ +[ + { + "category": "``secretsmanager``", + "description": "Documentation updates for Secrets Manager", + "type": "api-change" + }, + { + "category": "``sagemaker``", + "description": "Amazon SageMaker Autopilot adds support for manually selecting features from the input dataset using the CreateAutoMLJob API.", + "type": "api-change" + }, + { + "category": "``apprunner``", + "description": "Documentation-only update added for CodeConfiguration.", + "type": "api-change" + }, + { + "category": "``apigateway``", + "description": "Documentation updates for Amazon API Gateway", + "type": "api-change" + }, + { + "category": "``fsx``", + "description": "This release adds root squash support to FSx for Lustre to restrict root level access from clients by mapping root users to a less-privileged user/group with limited permissions.", + "type": "api-change" + }, + { + "category": "``lookoutmetrics``", + "description": "Adding AthenaSourceConfig for MetricSet APIs to support Athena as a data source.", + "type": "api-change" + }, + { + "category": "``voice-id``", + "description": "VoiceID will now automatically expire Speakers if they haven't been accessed for Enrollment, Re-enrollment or Successful Auth for three years. The Speaker APIs now return a \"LastAccessedAt\" time for Speakers, and the EvaluateSession API returns \"SPEAKER_EXPIRED\" Auth Decision for EXPIRED Speakers.", + "type": "api-change" + }, + { + "category": "``cloudformation``", + "description": "Add a new parameter statusReason to DescribeStackSetOperation output for additional details", + "type": "api-change" + } +] \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-cli-1.24.4/.changes/1.24.9.json new/aws-cli-1.25.2/.changes/1.24.9.json --- old/aws-cli-1.24.4/.changes/1.24.9.json 1970-01-01 01:00:00.000000000 +0100 +++ new/aws-cli-1.25.2/.changes/1.24.9.json 2022-06-02 20:14:49.000000000 +0200 @@ -0,0 +1,22 @@ +[ + { + "category": "``ec2``", + "description": "C7g instances, powered by the latest generation AWS Graviton3 processors, provide the best price performance in Amazon EC2 for compute-intensive workloads.", + "type": "api-change" + }, + { + "category": "``emr-serverless``", + "description": "This release adds support for Amazon EMR Serverless, a serverless runtime environment that simplifies running analytics applications using the latest open source frameworks such as Apache Spark and Apache Hive.", + "type": "api-change" + }, + { + "category": "``forecast``", + "description": "Introduced a new field in Auto Predictor as Time Alignment Boundary. It helps in aligning the timestamps generated during Forecast exports", + "type": "api-change" + }, + { + "category": "``lightsail``", + "description": "Amazon Lightsail now supports the ability to configure a Lightsail Container Service to pull images from Amazon ECR private repositories in your account.", + "type": "api-change" + } +] \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-cli-1.24.4/.changes/1.25.0.json new/aws-cli-1.25.2/.changes/1.25.0.json --- old/aws-cli-1.24.4/.changes/1.25.0.json 1970-01-01 01:00:00.000000000 +0100 +++ new/aws-cli-1.25.2/.changes/1.25.0.json 2022-06-02 20:14:49.000000000 +0200 @@ -0,0 +1,42 @@ +[ + { + "category": "``lookoutmetrics``", + "description": "Adding backtest mode to detectors using the Cloudwatch data source.", + "type": "api-change" + }, + { + "category": "``transcribe``", + "description": "Amazon Transcribe now supports automatic language identification for multi-lingual audio in batch mode.", + "type": "api-change" + }, + { + "category": "``iotsitewise``", + "description": "This release adds the following new optional field to the IoT SiteWise asset resource: assetDescription.", + "type": "api-change" + }, + { + "category": "``sagemaker``", + "description": "Amazon SageMaker Notebook Instances now support Jupyter Lab 3.", + "type": "api-change" + }, + { + "category": "Python", + "description": "Dropped support for Python 3.6", + "type": "feature" + }, + { + "category": "``drs``", + "description": "Changed existing APIs and added new APIs to accommodate using multiple AWS accounts with AWS Elastic Disaster Recovery.", + "type": "api-change" + }, + { + "category": "``cognito-idp``", + "description": "Amazon Cognito now supports IP Address propagation for all unauthenticated APIs (e.g. SignUp, ForgotPassword).", + "type": "api-change" + }, + { + "category": "Python", + "description": "Dropped support for Python 3.6", + "type": "feature" + } +] \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-cli-1.24.4/.changes/1.25.1.json new/aws-cli-1.25.2/.changes/1.25.1.json --- old/aws-cli-1.24.4/.changes/1.25.1.json 1970-01-01 01:00:00.000000000 +0100 +++ new/aws-cli-1.25.2/.changes/1.25.1.json 2022-06-02 20:14:49.000000000 +0200 @@ -0,0 +1,22 @@ +[ + { + "category": "``route53``", + "description": "Add new APIs to support Route 53 IP Based Routing", + "type": "api-change" + }, + { + "category": "``forecast``", + "description": "Added Format field to Import and Export APIs in Amazon Forecast. Added TimeSeriesSelector to Create Forecast API.", + "type": "api-change" + }, + { + "category": "``chime-sdk-meetings``", + "description": "Adds support for centrally controlling each participant's ability to send and receive audio, video and screen share within a WebRTC session. Attendee capabilities can be specified when the attendee is created and updated during the session with the new BatchUpdateAttendeeCapabilitiesExcept API.", + "type": "api-change" + }, + { + "category": "``backup-gateway``", + "description": "Adds GetGateway and UpdateGatewaySoftwareNow API and adds hypervisor name to UpdateHypervisor API", + "type": "api-change" + } +] \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-cli-1.24.4/.changes/1.25.2.json new/aws-cli-1.25.2/.changes/1.25.2.json --- old/aws-cli-1.24.4/.changes/1.25.2.json 1970-01-01 01:00:00.000000000 +0100 +++ new/aws-cli-1.25.2/.changes/1.25.2.json 2022-06-02 20:14:49.000000000 +0200 @@ -0,0 +1,32 @@ +[ + { + "category": "``connect``", + "description": "This release adds the following features: 1) New APIs to manage (create, list, update) task template resources, 2) Updates to startTaskContact API to support task templates, and 3) new TransferContact API to programmatically transfer in-progress tasks via a contact flow.", + "type": "api-change" + }, + { + "category": "``proton``", + "description": "Add new \"Components\" API to enable users to Create, Delete and Update AWS Proton components.", + "type": "api-change" + }, + { + "category": "``codeartifact``", + "description": "Documentation updates for CodeArtifact", + "type": "api-change" + }, + { + "category": "``application-insights``", + "description": "Provide Account Level onboarding support through CFN/CLI", + "type": "api-change" + }, + { + "category": "``kendra``", + "description": "Amazon Kendra now provides a data source connector for GitHub. For more information, see https://docs.aws.amazon.com/kendra/latest/dg/data-source-github.html", + "type": "api-change" + }, + { + "category": "``voice-id``", + "description": "Added a new attribute ServerSideEncryptionUpdateDetails to Domain and DomainSummary.", + "type": "api-change" + } +] \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-cli-1.24.4/.github/workflows/run-tests.yml new/aws-cli-1.25.2/.github/workflows/run-tests.yml --- old/aws-cli-1.24.4/.github/workflows/run-tests.yml 2022-05-19 20:20:02.000000000 +0200 +++ new/aws-cli-1.25.2/.github/workflows/run-tests.yml 2022-06-02 20:14:49.000000000 +0200 @@ -12,7 +12,7 @@ strategy: fail-fast: false matrix: - python-version: [3.6, 3.7, 3.8, 3.9, 3.10-dev] + python-version: ["3.7", "3.8", "3.9", "3.10"] os: [ubuntu-latest, macOS-latest, windows-latest] steps: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-cli-1.24.4/CHANGELOG.rst new/aws-cli-1.25.2/CHANGELOG.rst --- old/aws-cli-1.24.4/CHANGELOG.rst 2022-05-19 20:20:02.000000000 +0200 +++ new/aws-cli-1.25.2/CHANGELOG.rst 2022-06-02 20:14:49.000000000 +0200 @@ -2,6 +2,96 @@ CHANGELOG ========= +1.25.2 +====== + +* api-change:``connect``: This release adds the following features: 1) New APIs to manage (create, list, update) task template resources, 2) Updates to startTaskContact API to support task templates, and 3) new TransferContact API to programmatically transfer in-progress tasks via a contact flow. +* api-change:``proton``: Add new "Components" API to enable users to Create, Delete and Update AWS Proton components. +* api-change:``codeartifact``: Documentation updates for CodeArtifact +* api-change:``application-insights``: Provide Account Level onboarding support through CFN/CLI +* api-change:``kendra``: Amazon Kendra now provides a data source connector for GitHub. For more information, see https://docs.aws.amazon.com/kendra/latest/dg/data-source-github.html +* api-change:``voice-id``: Added a new attribute ServerSideEncryptionUpdateDetails to Domain and DomainSummary. + + +1.25.1 +====== + +* api-change:``route53``: Add new APIs to support Route 53 IP Based Routing +* api-change:``forecast``: Added Format field to Import and Export APIs in Amazon Forecast. Added TimeSeriesSelector to Create Forecast API. +* api-change:``chime-sdk-meetings``: Adds support for centrally controlling each participant's ability to send and receive audio, video and screen share within a WebRTC session. Attendee capabilities can be specified when the attendee is created and updated during the session with the new BatchUpdateAttendeeCapabilitiesExcept API. +* api-change:``backup-gateway``: Adds GetGateway and UpdateGatewaySoftwareNow API and adds hypervisor name to UpdateHypervisor API + + +1.25.0 +====== + +* api-change:``lookoutmetrics``: Adding backtest mode to detectors using the Cloudwatch data source. +* api-change:``transcribe``: Amazon Transcribe now supports automatic language identification for multi-lingual audio in batch mode. +* api-change:``iotsitewise``: This release adds the following new optional field to the IoT SiteWise asset resource: assetDescription. +* api-change:``sagemaker``: Amazon SageMaker Notebook Instances now support Jupyter Lab 3. +* feature:Python: Dropped support for Python 3.6 +* api-change:``drs``: Changed existing APIs and added new APIs to accommodate using multiple AWS accounts with AWS Elastic Disaster Recovery. +* api-change:``cognito-idp``: Amazon Cognito now supports IP Address propagation for all unauthenticated APIs (e.g. SignUp, ForgotPassword). +* feature:Python: Dropped support for Python 3.6 + + +1.24.10 +======= + +* api-change:``appflow``: Adding the following features/changes: Parquet output that preserves typing from the source connector, Failed executions threshold before deactivation for scheduled flows, increasing max size of access and refresh token from 2048 to 4096 +* api-change:``sagemaker``: Amazon SageMaker Notebook Instances now allows configuration of Instance Metadata Service version and Amazon SageMaker Studio now supports G5 instance types. +* api-change:``datasync``: AWS DataSync now supports TLS encryption in transit, file system policies and access points for EFS locations. +* api-change:``emr-serverless``: This release adds support for Amazon EMR Serverless, a serverless runtime environment that simplifies running analytics applications using the latest open source frameworks such as Apache Spark and Apache Hive. + + +1.24.9 +====== + +* api-change:``ec2``: C7g instances, powered by the latest generation AWS Graviton3 processors, provide the best price performance in Amazon EC2 for compute-intensive workloads. +* api-change:``emr-serverless``: This release adds support for Amazon EMR Serverless, a serverless runtime environment that simplifies running analytics applications using the latest open source frameworks such as Apache Spark and Apache Hive. +* api-change:``forecast``: Introduced a new field in Auto Predictor as Time Alignment Boundary. It helps in aligning the timestamps generated during Forecast exports +* api-change:``lightsail``: Amazon Lightsail now supports the ability to configure a Lightsail Container Service to pull images from Amazon ECR private repositories in your account. + + +1.24.8 +====== + +* api-change:``secretsmanager``: Documentation updates for Secrets Manager +* api-change:``sagemaker``: Amazon SageMaker Autopilot adds support for manually selecting features from the input dataset using the CreateAutoMLJob API. +* api-change:``apprunner``: Documentation-only update added for CodeConfiguration. +* api-change:``apigateway``: Documentation updates for Amazon API Gateway +* api-change:``fsx``: This release adds root squash support to FSx for Lustre to restrict root level access from clients by mapping root users to a less-privileged user/group with limited permissions. +* api-change:``lookoutmetrics``: Adding AthenaSourceConfig for MetricSet APIs to support Athena as a data source. +* api-change:``voice-id``: VoiceID will now automatically expire Speakers if they haven't been accessed for Enrollment, Re-enrollment or Successful Auth for three years. The Speaker APIs now return a "LastAccessedAt" time for Speakers, and the EvaluateSession API returns "SPEAKER_EXPIRED" Auth Decision for EXPIRED Speakers. +* api-change:``cloudformation``: Add a new parameter statusReason to DescribeStackSetOperation output for additional details + + +1.24.7 +====== + +* api-change:``ec2``: Stop Protection feature enables customers to protect their instances from accidental stop actions. +* api-change:``cognito-idp``: Amazon Cognito now supports requiring attribute verification (ex. email and phone number) before update. +* api-change:``mediaconvert``: AWS Elemental MediaConvert SDK has added support for rules that constrain Automatic-ABR rendition selection when generating ABR package ladders. +* api-change:``networkmanager``: This release adds Multi Account API support for a TGW Global Network, to enable and disable AWSServiceAccess with AwsOrganizations for Network Manager service and dependency CloudFormation StackSets service. +* api-change:``ivschat``: Doc-only update. For MessageReviewHandler structure, added timeout period in the description of the fallbackResult field + + +1.24.6 +====== + +* api-change:``forecast``: New APIs for Monitor that help you understand how your predictors perform over time. +* api-change:``elasticache``: Added support for encryption in transit for Memcached clusters. Customers can now launch Memcached cluster with encryption in transit enabled when using Memcached version 1.6.12 or later. +* api-change:``personalize``: Adding modelMetrics as part of DescribeRecommender API response for Personalize. + + +1.24.5 +====== + +* api-change:``comprehend``: Comprehend releases 14 new entity types for DetectPiiEntities and ContainsPiiEntities APIs. +* api-change:``logs``: Doc-only update to publish the new valid values for log retention +* enhancement:dependency: Bump upper bound of docutils to <0.17 + + 1.24.4 ====== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-cli-1.24.4/CONTRIBUTING.md new/aws-cli-1.25.2/CONTRIBUTING.md --- old/aws-cli-1.24.4/CONTRIBUTING.md 2022-05-19 20:20:02.000000000 +0200 +++ new/aws-cli-1.25.2/CONTRIBUTING.md 2022-06-02 20:14:49.000000000 +0200 @@ -21,7 +21,7 @@ - The SDK is released under the [Apache license](http://aws.amazon.com/apache2.0/). Any code you submit will be released under that license. - We maintain a high percentage of code coverage in our unit tests. As a general rule of thumb, code changes should not lower the overall code coverage percentage for the project. In practice, this means that **every bug fix and feature addition should include tests.** - Code should follow [pep8](https://www.python.org/dev/peps/pep-0008/), although if you are modifying an existing module, it is more important for the code to be consistent if there are any discrepancies. Using [`flake8`](https://flake8.pycqa.org/en/latest/) can assist in identifying `pep8` compliance issues. -- Code must work on `python3.6` and higher. +- Code must work on `python3.7` and higher. - The AWS CLI is cross platform and code must work on at least Linux, Windows, and Mac OS X. Avoid platform specific behavior. - If you would like to implement support for a significant feature that is not yet available in the AWS CLI, please talk to us beforehand to avoid any duplication of effort. You can file an [issue](https://github.com/aws/aws-cli/issues) to discuss the feature request further. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-cli-1.24.4/README.rst new/aws-cli-1.25.2/README.rst --- old/aws-cli-1.24.4/README.rst 2022-05-19 20:20:02.000000000 +0200 +++ new/aws-cli-1.25.2/README.rst 2022-06-02 20:14:49.000000000 +0200 @@ -26,7 +26,6 @@ The aws-cli package works on Python versions: -- 3.6.x and greater - 3.7.x and greater - 3.8.x and greater - 3.9.x and greater @@ -40,7 +39,7 @@ need to upgrade their version of Python or pin the version of the AWS CLI. For more information, see this `blog post <https://aws.amazon.com/blogs/developer/announcing-end-of-support-for-python-2-7-in-aws-sdk-for-python-and-aws-cli-v1/>`__. -On 2022-05-30, we will be dropping support for Python 3.6. This follows the +On 2022-05-30, support for Python 3.6 was ended. This follows the Python Software Foundation `end of support <https://www.python.org/dev/peps/pep-0494/#lifespan>`__ for the runtime which occurred on 2021-12-23. For more information, see this `blog post <https://aws.amazon.com/blogs/developer/python-support-policy-updates-for-aws-sdks-and-tools/>`__. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-cli-1.24.4/UPGRADE_PY3.md new/aws-cli-1.25.2/UPGRADE_PY3.md --- old/aws-cli-1.24.4/UPGRADE_PY3.md 2022-05-19 20:20:02.000000000 +0200 +++ new/aws-cli-1.25.2/UPGRADE_PY3.md 2022-06-02 20:14:49.000000000 +0200 @@ -15,13 +15,14 @@ ---- ## Timeline -Going forward, customers using the CLI v1 should transition to using Python 3, with Python 3.6 becoming +Going forward, customers using the CLI v1 should transition to using Python 3, with Python 3.7 becoming the minimum by the end of the transition. The deprecation dates for the affected versions of Python are: |Python version|Deprecation date| |--------------|----------------| | Python 2.7| 7/15/2021| | Python 3.4 and 3.5| 2/1/2021| +| Python 3.6| 5/30/2022| ## Impact on the AWS CLI @@ -47,7 +48,7 @@ aws-cli/1.18.191 Python/2.7.18 Darwin/19.6.0 botocore/1.19.31 ``` -If the second portion of the version string, starting with **Python/** isn???t Python/3.6.x +If the second portion of the version string, starting with **Python/** isn???t Python/3.7.x or higher, you should review the options below. ### Installing CLI with Python 3 @@ -60,7 +61,7 @@ 1. To begin, uninstall your existing copy of the AWS CLI. You can find instructions in the [CLI v1 installation guide](https://docs.aws.amazon.com/cli/latest/userguide/install-linux.html). -2. Now we???ll install Python 3.6 or later. You can get Python from +2. Now we???ll install Python 3.7 or later. You can get Python from [Python.org](https://www.python.org/downloads) or using your local package manager. In this example, we???ll use a recent version, Python 3.8.7, to ensure the longest support window. 3. Next, depending on your installation method, the new Python installation should be available at @@ -87,7 +88,7 @@ 7. If you wish, you may verify that the newly installed copy of the AWS CLI tool, **aws**, is using the correct version of Python. The **aws --version** command reports the **aws** tool's version number, followed by the version of Python it's running under, then the operating system -version and the version of botocore. As long as the Python version is at least 3.6, +version and the version of botocore. As long as the Python version is at least 3.7, you're ready to go: ```bash $ aws --version diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-cli-1.24.4/awscli/__init__.py new/aws-cli-1.25.2/awscli/__init__.py --- old/aws-cli-1.24.4/awscli/__init__.py 2022-05-19 20:20:02.000000000 +0200 +++ new/aws-cli-1.25.2/awscli/__init__.py 2022-06-02 20:14:49.000000000 +0200 @@ -17,7 +17,7 @@ """ import os -__version__ = '1.24.4' +__version__ = '1.25.2' # # Get our data path to be added to botocore's search path diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-cli-1.24.4/awscli/clidocs.py new/aws-cli-1.25.2/awscli/clidocs.py --- old/aws-cli-1.24.4/awscli/clidocs.py 2022-05-19 20:20:02.000000000 +0200 +++ new/aws-cli-1.25.2/awscli/clidocs.py 2022-06-02 20:14:49.000000000 +0200 @@ -38,7 +38,7 @@ def _build_arg_table_groups(self, help_command): arg_groups = {} - for name, arg in help_command.arg_table.items(): + for arg in help_command.arg_table.values(): if arg.group_name is not None: arg_groups.setdefault(arg.group_name, []).append(arg) return arg_groups diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-cli-1.24.4/awscli/clidriver.py new/aws-cli-1.25.2/awscli/clidriver.py --- old/aws-cli-1.24.4/awscli/clidriver.py 2022-05-19 20:20:02.000000000 +0200 +++ new/aws-cli-1.25.2/awscli/clidriver.py 2022-06-02 20:14:49.000000000 +0200 @@ -143,7 +143,6 @@ return commands def _add_aliases(self, command_table, parser): - parser = self._create_parser(command_table) injector = AliasCommandInjector( self.session, self.alias_loader) injector.inject_aliases(command_table, parser) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-cli-1.24.4/awscli/customizations/cloudformation/artifact_exporter.py new/aws-cli-1.25.2/awscli/customizations/cloudformation/artifact_exporter.py --- old/aws-cli-1.24.4/awscli/customizations/cloudformation/artifact_exporter.py 2022-05-19 20:20:02.000000000 +0200 +++ new/aws-cli-1.25.2/awscli/customizations/cloudformation/artifact_exporter.py 2022-06-02 20:14:49.000000000 +0200 @@ -426,6 +426,15 @@ PACKAGE_NULL_PROPERTY = False +class ServerlessStateMachineDefinitionResource(ResourceWithS3UrlDict): + RESOURCE_TYPE = "AWS::Serverless::StateMachine" + PROPERTY_NAME = "DefinitionUri" + BUCKET_NAME_PROPERTY = "Bucket" + OBJECT_KEY_PROPERTY = "Key" + VERSION_PROPERTY = "Version" + PACKAGE_NULL_PROPERTY = False + + class CloudFormationStackResource(Resource): """ Represents CloudFormation::Stack resource that can refer to a nested @@ -497,6 +506,20 @@ PROPERTY_NAME = "Command.ScriptLocation" +class CodeCommitRepositoryS3Resource(ResourceWithS3UrlDict): + """ + Represents CodeCommit::Repository resource. + """ + RESOURCE_TYPE = "AWS::CodeCommit::Repository" + PROPERTY_NAME = "Code.S3" + BUCKET_NAME_PROPERTY = "Bucket" + OBJECT_KEY_PROPERTY = "Key" + VERSION_PROPERTY = "ObjectVersion" + # Don't package the directory if S3 is omitted. + PACKAGE_NULL_PROPERTY = False + FORCE_ZIP = True + + RESOURCES_EXPORT_LIST = [ ServerlessFunctionResource, ServerlessApiResource, @@ -513,7 +536,9 @@ ServerlessLayerVersionResource, LambdaLayerVersionResource, GlueJobCommandScriptLocationResource, - StepFunctionsStateMachineDefinitionResource + StepFunctionsStateMachineDefinitionResource, + ServerlessStateMachineDefinitionResource, + CodeCommitRepositoryS3Resource ] METADATA_EXPORT_LIST = [ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-cli-1.24.4/awscli/customizations/cloudsearch.py new/aws-cli-1.25.2/awscli/customizations/cloudsearch.py --- old/aws-cli-1.24.4/awscli/customizations/cloudsearch.py 2022-05-19 20:20:02.000000000 +0200 +++ new/aws-cli-1.25.2/awscli/customizations/cloudsearch.py 2022-06-02 20:14:49.000000000 +0200 @@ -98,6 +98,9 @@ "hydrate": index_hydrate}), ("IntOptions.SortEnabled", {"name": "sort-enabled", "hydrate": index_hydrate}), + ("IntOptions.SourceField", {"name": "source-field", + "type": "string", + "hydrate": index_hydrate }), ("TextOptions.HighlightEnabled", {"name": "highlight-enabled", "hydrate": index_hydrate}), ("TextOptions.AnalysisScheme", {"name": "analysis-scheme", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-cli-1.24.4/awscli/customizations/emr/createcluster.py new/aws-cli-1.25.2/awscli/customizations/emr/createcluster.py --- old/aws-cli-1.24.4/awscli/customizations/emr/createcluster.py 2022-05-19 20:20:02.000000000 +0200 +++ new/aws-cli-1.25.2/awscli/customizations/emr/createcluster.py 2022-06-02 20:14:49.000000000 +0200 @@ -497,7 +497,7 @@ bootstrap_actions.append(ba_config) result = cluster_ba_list + bootstrap_actions - if len(result) > 0: + if result: cluster['BootstrapActions'] = result return cluster @@ -519,9 +519,9 @@ args=args) def _update_cluster_dict(self, cluster, key, value): - if key in cluster.keys(): + if key in cluster: cluster[key] += value - elif value is not None and len(value) > 0: + elif value: cluster[key] = value return cluster @@ -554,14 +554,14 @@ if constants.HBASE not in specified_apps: missing_apps.add(constants.HBASE.title()) - if len(missing_apps) != 0: + if missing_apps: raise exceptions.MissingApplicationsError( applications=missing_apps) def _get_missing_applications_for_steps(self, specified_apps, parsed_args): allowed_app_steps = set([constants.HIVE, constants.PIG, constants.IMPALA]) - missing_apps = set([]) + missing_apps = set() if parsed_args.steps is not None: for step in parsed_args.steps: if len(missing_apps) == len(allowed_app_steps): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-cli-1.24.4/awscli/customizations/emr/describecluster.py new/aws-cli-1.25.2/awscli/customizations/emr/describecluster.py --- old/aws-cli-1.24.4/awscli/customizations/emr/describecluster.py 2022-05-19 20:20:02.000000000 +0200 +++ new/aws-cli-1.25.2/awscli/customizations/emr/describecluster.py 2022-06-02 20:14:49.000000000 +0200 @@ -42,14 +42,6 @@ if describe_cluster.get('InstanceCollectionType') == constants.INSTANCE_FLEET_TYPE: is_fleet_based_cluster = True - if 'Ec2InstanceAttributes' in describe_cluster: - ec2_instance_attr_keys = \ - describe_cluster['Ec2InstanceAttributes'].keys() - ec2_instance_attr = \ - describe_cluster['Ec2InstanceAttributes'] - else: - ec2_instance_attr_keys = {} - if is_fleet_based_cluster: list_instance_fleets_result = self._call( self._session, 'list_instance_fleets', parameters, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-cli-1.24.4/awscli/customizations/emr/instancefleetsutils.py new/aws-cli-1.25.2/awscli/customizations/emr/instancefleetsutils.py --- old/aws-cli-1.24.4/awscli/customizations/emr/instancefleetsutils.py 2022-05-19 20:20:02.000000000 +0200 +++ new/aws-cli-1.25.2/awscli/customizations/emr/instancefleetsutils.py 2022-06-02 20:14:49.000000000 +0200 @@ -40,9 +40,6 @@ instance_fleet_config['TargetSpotCapacity'] = instance_fleet['TargetSpotCapacity'] if 'InstanceTypeConfigs' in keys: - if 'TargetSpotCapacity' in keys: - for instance_type_config in instance_fleet['InstanceTypeConfigs']: - instance_type_config_keys = instance_type_config.keys() instance_fleet_config['InstanceTypeConfigs'] = instance_fleet['InstanceTypeConfigs'] if 'LaunchSpecifications' in keys: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-cli-1.24.4/awscli/customizations/s3uploader.py new/aws-cli-1.25.2/awscli/customizations/s3uploader.py --- old/aws-cli-1.24.4/awscli/customizations/s3uploader.py 2022-05-19 20:20:02.000000000 +0200 +++ new/aws-cli-1.25.2/awscli/customizations/s3uploader.py 2022-06-02 20:14:49.000000000 +0200 @@ -220,8 +220,8 @@ with self._lock: self._seen_so_far += bytes_transferred percentage = (self._seen_so_far / self._size) * 100 - sys.stdout.write( + sys.stderr.write( "\rUploading to %s %s / %s (%.2f%%)" % (self._remote_path, self._seen_so_far, self._size, percentage)) - sys.stdout.flush() + sys.stderr.flush() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-cli-1.24.4/awscli/customizations/toplevelbool.py new/aws-cli-1.25.2/awscli/customizations/toplevelbool.py --- old/aws-cli-1.24.4/awscli/customizations/toplevelbool.py 2022-05-19 20:20:02.000000000 +0200 +++ new/aws-cli-1.25.2/awscli/customizations/toplevelbool.py 2022-06-02 20:14:49.000000000 +0200 @@ -57,7 +57,7 @@ 'operation-args-parsed.ec2.*', partial(validate_boolean_mutex_groups, boolean_pairs=boolean_pairs)) - for key, value in list(argument_table.items()): + for value in list(argument_table.values()): if hasattr(value, 'argument_model'): arg_model = value.argument_model if _qualifies_for_simplification(arg_model): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-cli-1.24.4/awscli/examples/cloudformation/_package_description.rst new/aws-cli-1.25.2/awscli/examples/cloudformation/_package_description.rst --- old/aws-cli-1.24.4/awscli/examples/cloudformation/_package_description.rst 2022-05-19 20:20:02.000000000 +0200 +++ new/aws-cli-1.25.2/awscli/examples/cloudformation/_package_description.rst 2022-06-02 20:14:49.000000000 +0200 @@ -13,16 +13,23 @@ - ``BodyS3Location`` property for the ``AWS::ApiGateway::RestApi`` resource - ``Code`` property for the ``AWS::Lambda::Function`` resource + - ``Content`` property for the ``AWS::Lambda::LayerVersion`` resource - ``CodeUri`` property for the ``AWS::Serverless::Function`` resource + - ``ContentUri`` property for the ``AWS::Serverless::LayerVersion`` resource + - ``Location`` property for the ``AWS::Serverless::Application`` resource - ``DefinitionS3Location`` property for the ``AWS::AppSync::GraphQLSchema`` resource - ``RequestMappingTemplateS3Location`` property for the ``AWS::AppSync::Resolver`` resource - ``ResponseMappingTemplateS3Location`` property for the ``AWS::AppSync::Resolver`` resource + - ``RequestMappingTemplateS3Location`` property for the ``AWS::AppSync::FunctionConfiguration`` resource + - ``ResponseMappingTemplateS3Location`` property for the ``AWS::AppSync::FunctionConfiguration`` resource - ``DefinitionUri`` property for the ``AWS::Serverless::Api`` resource - ``Location`` parameter for the ``AWS::Include`` transform - ``SourceBundle`` property for the ``AWS::ElasticBeanstalk::ApplicationVersion`` resource - ``TemplateURL`` property for the ``AWS::CloudFormation::Stack`` resource - ``Command.ScriptLocation`` property for the ``AWS::Glue::Job`` resource - ``DefinitionS3Location`` property for the ``AWS::StepFunctions::StateMachine`` resource + - ``DefinitionUri`` property for the ``AWS::Serverless::StateMachine`` resource + - ``S3`` property for the ``AWS::CodeCommit::Repository`` resource To specify a local artifact in your template, specify a path to a local file or folder, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-cli-1.24.4/awscli/examples/cognito-idp/admin-update-user-attributes.rst new/aws-cli-1.25.2/awscli/examples/cognito-idp/admin-update-user-attributes.rst --- old/aws-cli-1.24.4/awscli/examples/cognito-idp/admin-update-user-attributes.rst 2022-05-19 20:20:02.000000000 +0200 +++ new/aws-cli-1.25.2/awscli/examples/cognito-idp/admin-update-user-attributes.rst 2022-06-02 20:14:49.000000000 +0200 @@ -4,5 +4,5 @@ Command:: - aws cognito-idp admin-update-user-attributes --user-pool-id us-west-2_aaaaaaaaa --username di...@example.com --user-attributes Name="custom:CustomAttr1",Value="Purple" + aws cognito-idp admin-update-user-attributes --user-pool-id us-west-2_aaaaaaaaa --username di...@example.com --user-attributes Name="custom:CustomAttr1",Value="Purple" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-cli-1.24.4/awscli/examples/ec2/modify-instance-metadata-options.rst new/aws-cli-1.25.2/awscli/examples/ec2/modify-instance-metadata-options.rst --- old/aws-cli-1.24.4/awscli/examples/ec2/modify-instance-metadata-options.rst 2022-05-19 20:20:02.000000000 +0200 +++ new/aws-cli-1.25.2/awscli/examples/ec2/modify-instance-metadata-options.rst 2022-06-02 20:14:49.000000000 +0200 @@ -42,3 +42,27 @@ } For more information, see `Instance metadata and user data <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html>`__ in the *Amazon Elastic Compute Cloud User Guide for Linux Instances*. + +**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. :: + + aws ec2 modify-instance-metadata-options \ + --instance-id i-1234567898abcdef0 \ + --http-protocol-ipv6 enabled \ + --http-endpoint enabled + +Output:: + + { + "InstanceId": "i-1234567898abcdef0", + "InstanceMetadataOptions": { + "State": "pending", + "HttpTokens": "required", + "HttpPutResponseHopLimit": 1, + "HttpEndpoint": "enabled", + HttpProtocolIpv6": "enabled" + } + } + +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 <https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html>`__ in the *Amazon Elastic Compute Cloud User Guide for Linux Instances*. \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-cli-1.24.4/awscli/examples/lightsail/get-relational-database-bundles.rst new/aws-cli-1.25.2/awscli/examples/lightsail/get-relational-database-bundles.rst --- old/aws-cli-1.24.4/awscli/examples/lightsail/get-relational-database-bundles.rst 2022-05-19 20:20:02.000000000 +0200 +++ new/aws-cli-1.25.2/awscli/examples/lightsail/get-relational-database-bundles.rst 2022-06-02 20:14:49.000000000 +0200 @@ -1,100 +1,102 @@ -**To get the bundles for new relational databases** - -The following ``get-relational-database-bundles`` example displays details about all of the available relational database bundles that can be used to create new relational databases in Amazon Lightsail. :: - - aws lightsail get-relational-database-bundles - -Output:: - - { - "bundles": [ - { - "bundleId": "micro_1_0", - "name": "Micro", - "price": 15.0, - "ramSizeInGb": 1.0, - "diskSizeInGb": 40, - "transferPerMonthInGb": 100, - "cpuCount": 1, - "isEncrypted": false, - "isActive": true - }, - { - "bundleId": "micro_ha_1_0", - "name": "Micro with High Availability", - "price": 30.0, - "ramSizeInGb": 1.0, - "diskSizeInGb": 40, - "transferPerMonthInGb": 100, - "cpuCount": 1, - "isEncrypted": false, - "isActive": true - }, - { - "bundleId": "small_1_0", - "name": "Small", - "price": 30.0, - "ramSizeInGb": 2.0, - "diskSizeInGb": 80, - "transferPerMonthInGb": 100, - "cpuCount": 1, - "isEncrypted": true, - "isActive": true - }, - { - "bundleId": "small_ha_1_0", - "name": "Small with High Availability", - "price": 60.0, - "ramSizeInGb": 2.0, - "diskSizeInGb": 80, - "transferPerMonthInGb": 100, - "cpuCount": 1, - "isEncrypted": true, - "isActive": true - }, - { - "bundleId": "medium_1_0", - "name": "Medium", - "price": 60.0, - "ramSizeInGb": 4.0, - "diskSizeInGb": 120, - "transferPerMonthInGb": 100, - "cpuCount": 2, - "isEncrypted": true, - "isActive": true - }, - { - "bundleId": "medium_ha_1_0", - "name": "Medium with High Availability", - "price": 120.0, - "ramSizeInGb": 4.0, - "diskSizeInGb": 120, - "transferPerMonthInGb": 100, - "cpuCount": 2, - "isEncrypted": true, - "isActive": true - }, - { - "bundleId": "large_1_0", - "name": "Large", - "price": 115.0, - "ramSizeInGb": 8.0, - "diskSizeInGb": 240, - "transferPerMonthInGb": 200, - "cpuCount": 2, - "isEncrypted": true, - "isActive": true - }, - { - "bundleId": "large_ha_1_0", - "name": "Large with High Availability", - "price": 230.0, - "ramSizeInGb": 8.0, - "diskSizeInGb": 240, - "transferPerMonthInGb": 200, - "cpuCount": 2, - "isEncrypted": true, - "isActive": true - } - ] - } +**To get the bundles for new relational databases** + +The following ``get-relational-database-bundles`` example displays details about all of the available relational database bundles that can be used to create new relational databases in Amazon Lightsail. Note that the response does not include inactive bundles because the ``--include-inactive`` flag is not specified in the command. You cannot use inactive bundles to create new relational databases. :: + + aws lightsail get-relational-database-bundles + +Output:: + + { + "bundles": [ + { + "bundleId": "micro_2_0", + "name": "Micro", + "price": 15.0, + "ramSizeInGb": 1.0, + "diskSizeInGb": 40, + "transferPerMonthInGb": 100, + "cpuCount": 2, + "isEncrypted": true, + "isActive": true + }, + { + "bundleId": "micro_ha_2_0", + "name": "Micro with High Availability", + "price": 30.0, + "ramSizeInGb": 1.0, + "diskSizeInGb": 40, + "transferPerMonthInGb": 100, + "cpuCount": 2, + "isEncrypted": true, + "isActive": true + }, + { + "bundleId": "small_2_0", + "name": "Small", + "price": 30.0, + "ramSizeInGb": 2.0, + "diskSizeInGb": 80, + "transferPerMonthInGb": 100, + "cpuCount": 2, + "isEncrypted": true, + "isActive": true + }, + { + "bundleId": "small_ha_2_0", + "name": "Small with High Availability", + "price": 60.0, + "ramSizeInGb": 2.0, + "diskSizeInGb": 80, + "transferPerMonthInGb": 100, + "cpuCount": 2, + "isEncrypted": true, + "isActive": true + }, + { + "bundleId": "medium_2_0", + "name": "Medium", + "price": 60.0, + "ramSizeInGb": 4.0, + "diskSizeInGb": 120, + "transferPerMonthInGb": 100, + "cpuCount": 2, + "isEncrypted": true, + "isActive": true + }, + { + "bundleId": "medium_ha_2_0", + "name": "Medium with High Availability", + "price": 120.0, + "ramSizeInGb": 4.0, + "diskSizeInGb": 120, + "transferPerMonthInGb": 100, + "cpuCount": 2, + "isEncrypted": true, + "isActive": true + }, + { + "bundleId": "large_2_0", + "name": "Large", + "price": 115.0, + "ramSizeInGb": 8.0, + "diskSizeInGb": 240, + "transferPerMonthInGb": 200, + "cpuCount": 2, + "isEncrypted": true, + "isActive": true + }, + { + "bundleId": "large_ha_2_0", + "name": "Large with High Availability", + "price": 230.0, + "ramSizeInGb": 8.0, + "diskSizeInGb": 240, + "transferPerMonthInGb": 200, + "cpuCount": 2, + "isEncrypted": true, + "isActive": true + } + ] + } + +For more information, see `Creating a database in Amazon Lightsail <https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-creating-a-database>`__ in the *Amazon Lightsail Developer Guide*. \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-cli-1.24.4/awscli/examples/route53resolver/create-resolver-rule.rst new/aws-cli-1.25.2/awscli/examples/route53resolver/create-resolver-rule.rst --- old/aws-cli-1.24.4/awscli/examples/route53resolver/create-resolver-rule.rst 2022-05-19 20:20:02.000000000 +0200 +++ new/aws-cli-1.25.2/awscli/examples/route53resolver/create-resolver-rule.rst 2022-06-02 20:14:49.000000000 +0200 @@ -1,6 +1,6 @@ **To create a Resolver rule** -The following ``create-resolver-rule`` example creates a Resolver forwarding rule. The rule uses the outbound endpoint ``rslvr-out-d5e5920e37example`` to forward DNS queries for example.com to the IP address 192.0.2.44. :: +The following ``create-resolver-rule`` example creates a Resolver forwarding rule. The rule uses the outbound endpoint rslvr-out-d5e5920e37example to forward DNS queries for ``example.com`` to the IP addresses 10.24.8.75 and 10.24.8.156. :: aws route53resolver create-resolver-rule \ --creator-request-id 2020-01-02-18:47 \ @@ -8,57 +8,34 @@ --name my-rule \ --resolver-endpoint-id rslvr-out-d5e5920e37example \ --rule-type FORWARD \ - --target-ips="Ip=192.0.2.44" + --target-ips="Ip=10.24.8.75" "Ip=10.24.8.156" Output:: { "ResolverRule": { - "Id": "rslvr-rr-42b60677c0example", - "CreatorRequestId": "2020-01-02-18:47", - "Arn": "arn:aws:route53resolver:us-west-2:111122223333:resolver-rule/rslvr-rr-42b60677c0example", - "DomainName": "example.com.", - "Status": "COMPLETE", - "StatusMessage": "[Trace id: 1-5dc4b177-ff1d9d001a0f80005example] Successfully created Resolver Rule.", - "RuleType": "FORWARD", - "Name": "my-rule", + "Status": "COMPLETE", + "RuleType": "FORWARD", + "ResolverEndpointId": "rslvr-out-d5e5920e37example", + "Name": "my-rule", + "DomainName": "example.com.", + "CreationTime": "2022-05-10T21:35:30.923187Z", "TargetIps": [ { - "Ip": "192.0.2.44", + "Ip": "10.24.8.75", + "Port": 53 + }, + { + "Ip": "10.24.8.156", "Port": 53 } - ], - "ResolverEndpointId": "rslvr-out-d5e5920e37example", - "OwnerId": "111122223333", - "ShareStatus": "NOT_SHARED" + ], + "CreatorRequestId": "2022-05-10-16:33", + "ModificationTime": "2022-05-10T21:35:30.923187Z", + "ShareStatus": "NOT_SHARED", + "Arn": "arn:aws:route53resolver:us-east-1:111117012054:resolver-rule/rslvr-rr-b1e0b905e93611111", + "OwnerId": "111111111111", + "Id": "rslvr-rr-rslvr-rr-b1e0b905e93611111", + "StatusMessage": "[Trace id: 1-22222222-3e56afcc71a3724664f22e24] Successfully created Resolver Rule." } - } - -Alternatively, when you have complicated parameters with multiple values, you can choose to include the parameters in a JSON file and then specify the file when you call ``create-resolver-rule``. Here's the command, which includes a parameter that specifies the name and location of the JSON file. :: - - aws route53resolver create-resolver-rule \ - --cli-input-json file://c:\temp\create-resolver-rule.json - -Contents of ``create-resolver-rule.json``:: - - { - "CreatorRequestId": "2020-01-02-18:47", - "Name": "my-rule", - "RuleType": "FORWARD", - "DomainName": "example.com", - "TargetIps": [ - { - "Ip": "192.0.2.44", - "Port": 53 - } - ], - "ResolverEndpointId": "rslvr-out-d5e5920e37example", - "Tags": [ - { - "Key": "my-key", - "Value": "my-value" - } - ] - } - -For more information about rules, see `Managing Forwarding Rules <https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/resolver-rules-managing.html>`__ in the *Amazon Route 53 Developer Guide*. + } \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-cli-1.24.4/awscli/paramfile.py new/aws-cli-1.25.2/awscli/paramfile.py --- old/aws-cli-1.24.4/awscli/paramfile.py 2022-05-19 20:20:02.000000000 +0200 +++ new/aws-cli-1.25.2/awscli/paramfile.py 2022-06-02 20:14:49.000000000 +0200 @@ -57,6 +57,7 @@ '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', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-cli-1.24.4/doc/README.rst new/aws-cli-1.25.2/doc/README.rst --- old/aws-cli-1.24.4/doc/README.rst 2022-05-19 20:20:02.000000000 +0200 +++ new/aws-cli-1.25.2/doc/README.rst 2022-06-02 20:14:49.000000000 +0200 @@ -2,7 +2,7 @@ Building The Documentation ========================== -Before building the documentation, make sure you have Python 3.6, +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:: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-cli-1.24.4/doc/source/conf.py new/aws-cli-1.25.2/doc/source/conf.py --- old/aws-cli-1.24.4/doc/source/conf.py 2022-05-19 20:20:02.000000000 +0200 +++ new/aws-cli-1.25.2/doc/source/conf.py 2022-06-02 20:14:49.000000000 +0200 @@ -50,9 +50,9 @@ # built documents. # # The short X.Y version. -version = '1.24' +version = '1.25' # The full version, including alpha/beta/rc tags. -release = '1.24.4' +release = '1.25.2' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-cli-1.24.4/requirements-docs.txt new/aws-cli-1.25.2/requirements-docs.txt --- old/aws-cli-1.24.4/requirements-docs.txt 2022-05-19 20:20:02.000000000 +0200 +++ new/aws-cli-1.25.2/requirements-docs.txt 2022-06-02 20:14:49.000000000 +0200 @@ -3,6 +3,6 @@ jinja2<3.1 -docutils>=0.10,<0.16 -Sphinx==1.2.3 +docutils>=0.10,<0.17 +Sphinx==1.3.2 -e . diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-cli-1.24.4/scripts/install new/aws-cli-1.25.2/scripts/install --- old/aws-cli-1.24.4/scripts/install 2022-05-19 20:20:02.000000000 +0200 +++ new/aws-cli-1.25.2/scripts/install 2022-06-02 20:14:49.000000000 +0200 @@ -20,13 +20,13 @@ os.path.dirname(os.path.abspath(__file__)), 'packages') INSTALL_DIR = os.path.expanduser(os.path.join( '~', '.local', 'lib', 'aws')) -GTE_PY37 = sys.version_info[:2] >= (3, 7) UNSUPPORTED_PYTHON = ( (2,6), (2,7), (3,3), (3,4), (3,5), + (3,6), ) INSTALL_ARGS = ( '--no-binary :all: --no-build-isolation --no-cache-dir --no-index ' @@ -59,7 +59,8 @@ } return { - (3, 6): py_36_params + # Example for future deprecations + # (3, 6): py_36_params } @@ -114,24 +115,6 @@ run('%s -m venv %s' % (sys.executable, location)) -def _create_virtualenv_external(location, working_dir): - # working_dir is used (generally somewhere in /tmp) so that we - # don't modify the install/packages directories. - with cd(PACKAGES_DIR): - venv = _get_venv_package_tarball('.') - compressed = tarfile.open(venv) - compressed.extractall(path=working_dir) - compressed.close() - with cd(working_dir): - # We know that virtualenv is the only dir in this directory - # so we can listdir()[0] it. - with cd(os.listdir('.')[0]): - run(('%s virtualenv.py --no-download ' - '--python %s %s') % (sys.executable, - sys.executable, - location)) - - def _get_package_tarball(package_dir, package_prefix): package_filenames = sorted([p for p in os.listdir(package_dir) if p.startswith(package_prefix)]) @@ -157,33 +140,42 @@ ) raise MultipleBundlesError(message % PACKAGES_DIR) cli_tarball = cli_tarball[0] - pip_script = os.path.join(install_dir, bin_path(), 'pip') + python = os.path.join(install_dir, bin_path(), 'python') setup_requires_dir = os.path.join(PACKAGES_DIR, 'setup') with cd(setup_requires_dir): - _install_setup_deps(pip_script, '.') + _install_setup_deps(python, '.') with cd(PACKAGES_DIR): - run('%s install %s --find-links file://%s %s' % ( - pip_script, INSTALL_ARGS, PACKAGES_DIR, cli_tarball)) + run( + '{} -m pip install {} --find-links file://{} {}'.format( + python, INSTALL_ARGS, PACKAGES_DIR, cli_tarball + ) + ) -def _install_setup_deps(pip_script, setup_package_dir): +def _install_setup_deps(python, setup_package_dir): # Some packages declare `setup_requires`, which is a list of dependencies # to be used at setup time. These need to be installed before anything # else, and pip doesn't manage them. We have to manage this ourselves # so for now we're explicitly installing the one setup_requires package # we need. This comes from python-dateutils. setuptools_scm_tarball = _get_package_tarball( - setup_package_dir, 'setuptools_scm') - run('%s install --no-binary :all: --no-cache-dir --no-index ' - '--find-links file://%s %s' % ( - pip_script, setup_package_dir, setuptools_scm_tarball)) - wheel_tarball = _get_package_tarball( - setup_package_dir, 'wheel') - run('%s install --no-binary :all: --no-cache-dir --no-index ' - '--find-links file://%s %s' % ( - pip_script, setup_package_dir, wheel_tarball)) + setup_package_dir, 'setuptools_scm' + ) + run( + ( + '{} -m pip install --no-binary :all: --no-cache-dir --no-index ' + '--find-links file://{} {}' + ).format(python, setup_package_dir, setuptools_scm_tarball) + ) + wheel_tarball = _get_package_tarball(setup_package_dir, 'wheel') + run( + ( + '{} -m pip install --no-binary :all: --no-cache-dir --no-index ' + '--find-links file://{} {}' + ).format(python, setup_package_dir, wheel_tarball) + ) def create_symlink(real_location, symlink_name): @@ -215,7 +207,7 @@ if py_version in UNSUPPORTED_PYTHON: unsupported_python_msg = ( "Unsupported Python version detected: Python {}.{}\n" - "To continue using this installer you must use Python 3.6 " + "To continue using this installer you must use Python 3.7 " "or later.\n" "For more information see the following blog post: " "https://aws.amazon.com/blogs/developer/announcing-end-" @@ -258,10 +250,7 @@ shutil.rmtree(working_dir) -if GTE_PY37: - create_virtualenv = _create_virtualenv_internal -else: - create_virtualenv = _create_virtualenv_external +create_virtualenv = _create_virtualenv_internal if __name__ == '__main__': diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-cli-1.24.4/setup.cfg new/aws-cli-1.25.2/setup.cfg --- old/aws-cli-1.24.4/setup.cfg 2022-05-19 20:20:02.000000000 +0200 +++ new/aws-cli-1.25.2/setup.cfg 2022-06-02 20:14:49.000000000 +0200 @@ -3,9 +3,9 @@ [metadata] requires_dist = - botocore==1.26.4 - docutils>=0.10,<0.16 - s3transfer>=0.5.0,<0.6.0 + botocore==1.27.2 + docutils>=0.10,<0.17 + s3transfer>=0.6.0,<0.7.0 PyYAML>=3.10,<5.5 colorama>=0.2.5,<0.4.5 rsa>=3.1.2,<4.8 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-cli-1.24.4/setup.py new/aws-cli-1.25.2/setup.py --- old/aws-cli-1.24.4/setup.py 2022-05-19 20:20:02.000000000 +0200 +++ new/aws-cli-1.25.2/setup.py 2022-06-02 20:14:49.000000000 +0200 @@ -24,9 +24,9 @@ install_requires = [ - 'botocore==1.26.4', - 'docutils>=0.10,<0.16', - 's3transfer>=0.5.0,<0.6.0', + 'botocore==1.27.2', + 'docutils>=0.10,<0.17', + 's3transfer>=0.6.0,<0.7.0', 'PyYAML>=3.10,<5.5', 'colorama>=0.2.5,<0.4.5', 'rsa>=3.1.2,<4.8', @@ -51,7 +51,7 @@ install_requires=install_requires, extras_require={}, license="Apache License 2.0", - python_requires=">= 3.6", + python_requires=">= 3.7", classifiers=[ 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', @@ -60,7 +60,6 @@ 'License :: OSI Approved :: Apache Software License', 'Programming Language :: Python', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-cli-1.24.4/tests/functional/cloudformation/test_register_type.py new/aws-cli-1.25.2/tests/functional/cloudformation/test_register_type.py --- old/aws-cli-1.24.4/tests/functional/cloudformation/test_register_type.py 1970-01-01 01:00:00.000000000 +0100 +++ new/aws-cli-1.25.2/tests/functional/cloudformation/test_register_type.py 2022-06-02 20:14:49.000000000 +0200 @@ -0,0 +1,28 @@ +# Copyright 2021 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 BaseAWSCommandParamsTest + + +class TestRegisterType(BaseAWSCommandParamsTest): + + prefix = 'cloudformation register-type' + + def test_schema_handler_package_during_register_url(self): + cmdline = self.prefix + cmdline += ' --type-name test-type-name ' + cmdline += '--schema-handler-package s3://bucket-name/my-organization-resource_name.zip' + result = { + 'TypeName': 'test-type-name', + 'SchemaHandlerPackage': 's3://bucket-name/my-organization-resource_name.zip' + } + self.assert_params_for_cmd(cmdline, result) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-cli-1.24.4/tests/functional/cloudsearch/test_cloudsearch.py new/aws-cli-1.25.2/tests/functional/cloudsearch/test_cloudsearch.py --- old/aws-cli-1.24.4/tests/functional/cloudsearch/test_cloudsearch.py 2022-05-19 20:20:02.000000000 +0200 +++ new/aws-cli-1.25.2/tests/functional/cloudsearch/test_cloudsearch.py 2022-06-02 20:14:49.000000000 +0200 @@ -41,12 +41,14 @@ cmdline += ' --type int' cmdline += ' --default-value 10' cmdline += ' --search-enabled false' + cmdline += ' --source-field fieldname123' result = { 'DomainName': 'abc123', 'IndexField': {'IndexFieldName': 'foo', 'IndexFieldType': 'int', 'IntOptions': {'DefaultValue': 10, - 'SearchEnabled': False}}} + 'SearchEnabled': False, + 'SourceField': 'fieldname123'}}} self.assert_params_for_cmd(cmdline, result) def test_latlon(self): @@ -56,11 +58,12 @@ cmdline += ' --type latlon' cmdline += ' --default-value 10' cmdline += ' --search-enabled false' + cmdline += ' --source-field fieldname123' result = { 'DomainName': 'abc123', 'IndexField': { 'IndexFieldName': 'foo', 'IndexFieldType': 'latlon', 'LatLonOptions': { - 'DefaultValue': '10', 'SearchEnabled': False}}} + 'DefaultValue': '10', 'SearchEnabled': False, 'SourceField': 'fieldname123'}}} self.assert_params_for_cmd(cmdline, result) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-cli-1.24.4/tests/unit/customizations/cloudformation/test_artifact_exporter.py new/aws-cli-1.25.2/tests/unit/customizations/cloudformation/test_artifact_exporter.py --- old/aws-cli-1.24.4/tests/unit/customizations/cloudformation/test_artifact_exporter.py 2022-05-19 20:20:02.000000000 +0200 +++ new/aws-cli-1.25.2/tests/unit/customizations/cloudformation/test_artifact_exporter.py 2022-06-02 20:14:49.000000000 +0200 @@ -27,7 +27,9 @@ AppSyncFunctionConfigurationRequestTemplateResource, \ AppSyncFunctionConfigurationResponseTemplateResource, \ GlueJobCommandScriptLocationResource, \ - StepFunctionsStateMachineDefinitionResource + StepFunctionsStateMachineDefinitionResource, \ + ServerlessStateMachineDefinitionResource, \ + CodeCommitRepositoryS3Resource VALID_CASES = [ @@ -158,6 +160,12 @@ "expected_result": { "Bucket": "foo", "Key": "bar", "Version": "baz" } + }, + { + "class": ServerlessStateMachineDefinitionResource, + "expected_result": { + "Bucket": "foo", "Key": "bar", "Version": "baz" + } }, ] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-cli-1.24.4/tox.ini new/aws-cli-1.25.2/tox.ini --- old/aws-cli-1.24.4/tox.ini 2022-05-19 20:20:02.000000000 +0200 +++ new/aws-cli-1.25.2/tox.ini 2022-06-02 20:14:49.000000000 +0200 @@ -1,5 +1,5 @@ [tox] -envlist = py36,py37,py38,py39,py310 +envlist = py37,py38,py39,py310 skipsdist = True