diff options
author | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-04-12 16:12:43 +0300 |
---|---|---|
committer | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-04-12 16:12:43 +0300 |
commit | d731aa4b191e1f646ad26e7b7d440bc30dfccdab (patch) | |
tree | df3c99b4e53e84c57e6ef68fc2338e61404f918a | |
parent | 22224c07e601c579339d5df9d1bfd10f9095fbe6 (diff) | |
download | ydb-d731aa4b191e1f646ad26e7b7d440bc30dfccdab.tar.gz |
intermediate changes
ref:5cd03e14d9aa55d1fec7a1ad38339021b48a72f1
19 files changed, 877 insertions, 39 deletions
diff --git a/build/rules/autocheck.blacklist b/build/rules/autocheck.blacklist index afea182b25..795fde059d 100644 --- a/build/rules/autocheck.blacklist +++ b/build/rules/autocheck.blacklist @@ -1001,3 +1001,41 @@ data-ui/datalens-mailer data-ui/datalens-redirects data-ui/date-utils data-ui/logger +data-ui/node-jose +portal/archive/web-tests +portal/archive/java-tools +taxi/dmp/dwh-migrations +portal/archive/release-ui +portal/archive/screenshooter +portal/archive/startrek-stat +data-ui/charts-engine +portal/archive/java-tests +data-ui/chartkit +portal/archive/counters-monitoring +statbox/jam/actions/mstat/market_analyst_yt_sox +portal/archive/tools-python +portal/archive/turkey-tests +taxi/github/api-proxy-config +portal/archive/weather-tests +portal/archive/junit-monitorings-rule +portal/archive/backend-tests +portal/archive/java-tests-common +portal/archive/java-tests-common-steps +portal/archive/java-utils +portal/archive/java-tanker +portal/archive/java-my-cookie-parser +portal/archive/exports-tests +portal/archive/searchapi-tests +portal/archive/tune-tests +portal/archive/exports-tests2 +portal/archive/mainmorda-tests +portal/archive/links-tests +portal/archive/java-calendar-api +portal/archive/java-tanker-utils +classifieds/vsdwh/tools/stat-bot +data-ui/cloud-components +data-ui/common +data-ui/billing-cloud-account +connect +fintech/invest-frontend/www +data-ui/internal-backoffice-api diff --git a/contrib/python/PyHamcrest/.dist-info/METADATA b/contrib/python/PyHamcrest/.dist-info/METADATA new file mode 100644 index 0000000000..e8ca1e0f93 --- /dev/null +++ b/contrib/python/PyHamcrest/.dist-info/METADATA @@ -0,0 +1,353 @@ +Metadata-Version: 2.0 +Name: PyHamcrest +Version: 1.9.0 +Summary: Hamcrest framework for matcher objects +Home-page: https://github.com/hamcrest/PyHamcrest +Author: Chris Rose +Author-email: offline@offby1.net +License: New BSD +Download-URL: http://pypi.python.org/packages/source/P/PyHamcrest/PyHamcrest-1.9.0.tar.gz +Keywords: hamcrest matchers pyunit unit test testing unittest unittesting +Platform: All +Classifier: Development Status :: 5 - Production/Stable +Classifier: Environment :: Console +Classifier: Intended Audience :: Developers +Classifier: License :: OSI Approved :: BSD License +Classifier: Natural Language :: English +Classifier: Operating System :: OS Independent +Classifier: Programming Language :: Python :: 2 +Classifier: Programming Language :: Python :: 2.7 +Classifier: Programming Language :: Python :: 3 +Classifier: Programming Language :: Python :: 3.4 +Classifier: Programming Language :: Python :: Implementation :: CPython +Classifier: Programming Language :: Python :: Implementation :: Jython +Classifier: Programming Language :: Python :: Implementation :: PyPy +Classifier: Topic :: Software Development +Classifier: Topic :: Software Development :: Quality Assurance +Classifier: Topic :: Software Development :: Testing +Provides: hamcrest +Requires-Dist: setuptools +Requires-Dist: six + +PyHamcrest +========== + +| |docs| |travis| |coveralls| |landscape| |scrutinizer| |codeclimate| +| |version| |downloads| |wheel| |supported-versions| |supported-implementations| + +.. |docs| image:: https://readthedocs.org/projects/pyhamcrest/badge/?style=flat + :target: https://pyhamcrest.readthedocs.org/ + :alt: Documentation Status + +.. |travis| image:: http://img.shields.io/travis/hamcrest/PyHamcrest/master.png?style=flat + :alt: Travis-CI Build Status + :target: https://travis-ci.org/hamcrest/PyHamcrest + +.. |appveyor| image:: https://ci.appveyor.com/api/projects/status/github/hamcrest/PyHamcrest?branch=master + :alt: AppVeyor Build Status + :target: https://ci.appveyor.com/project/hamcrest/PyHamcrest + +.. |coveralls| image:: http://img.shields.io/coveralls/hamcrest/PyHamcrest/master.png?style=flat + :alt: Coverage Status + :target: https://coveralls.io/r/hamcrest/PyHamcrest + +.. |landscape| image:: https://landscape.io/github/hamcrest/PyHamcrest/master/landscape.svg?style=flat + :target: https://landscape.io/github/hamcrest/PyHamcrest/master + :alt: Code Quality Status + +.. |codeclimate| image:: https://codeclimate.com/github/hamcrest/PyHamcrest/badges/gpa.svg + :target: https://codeclimate.com/github/hamcrest/PyHamcrest + :alt: Code Climate + +.. |version| image:: http://img.shields.io/pypi/v/PyHamcrest.png?style=flat + :alt: PyPI Package latest release + :target: https://pypi.python.org/pypi/PyHamcrest + +.. |downloads| image:: http://img.shields.io/pypi/dm/PyHamcrest.png?style=flat + :alt: PyPI Package monthly downloads + :target: https://pypi.python.org/pypi/PyHamcrest + +.. |wheel| image:: https://pypip.in/wheel/PyHamcrest/badge.png?style=flat + :alt: PyPI Wheel + :target: https://pypi.python.org/pypi/PyHamcrest + +.. |supported-versions| image:: https://pypip.in/py_versions/PyHamcrest/badge.png?style=flat + :alt: Supported versions + :target: https://pypi.python.org/pypi/PyHamcrest + +.. |supported-implementations| image:: https://pypip.in/implementation/PyHamcrest/badge.png?style=flat + :alt: Supported imlementations + :target: https://pypi.python.org/pypi/PyHamcrest + +.. |scrutinizer| image:: https://img.shields.io/scrutinizer/g/hamcrest/PyHamcrest/master.png?style=flat + :alt: Scrtinizer Status + :target: https://scrutinizer-ci.com/g/hamcrest/PyHamcrest/ + + +Introduction +============ + +PyHamcrest is a framework for writing matcher objects, allowing you to +declaratively define "match" rules. There are a number of situations where +matchers are invaluable, such as UI validation, or data filtering, but it is in +the area of writing flexible tests that matchers are most commonly used. This +tutorial shows you how to use PyHamcrest for unit testing. + +When writing tests it is sometimes difficult to get the balance right between +overspecifying the test (and making it brittle to changes), and not specifying +enough (making the test less valuable since it continues to pass even when the +thing being tested is broken). Having a tool that allows you to pick out +precisely the aspect under test and describe the values it should have, to a +controlled level of precision, helps greatly in writing tests that are "just +right." Such tests fail when the behavior of the aspect under test deviates +from the expected behavior, yet continue to pass when minor, unrelated changes +to the behaviour are made. + +Installation +============ + +Hamcrest can be installed using the usual Python packaging tools. It depends on +distribute, but as long as you have a network connection when you install, the +installation process will take care of that for you. + +My first PyHamcrest test +======================== + +We'll start by writing a very simple PyUnit test, but instead of using PyUnit's +``assertEqual`` method, we'll use PyHamcrest's ``assert_that`` construct and +the standard set of matchers: + +.. code:: python + + from hamcrest import * + import unittest + + class BiscuitTest(unittest.TestCase): + def testEquals(self): + theBiscuit = Biscuit('Ginger') + myBiscuit = Biscuit('Ginger') + assert_that(theBiscuit, equal_to(myBiscuit)) + + if __name__ == '__main__': + unittest.main() + +The ``assert_that`` function is a stylized sentence for making a test +assertion. In this example, the subject of the assertion is the object +``theBiscuit``, which is the first method parameter. The second method +parameter is a matcher for ``Biscuit`` objects, here a matcher that checks one +object is equal to another using the Python ``==`` operator. The test passes +since the ``Biscuit`` class defines an ``__eq__`` method. + +If you have more than one assertion in your test you can include an identifier +for the tested value in the assertion: + +.. code:: python + + assert_that(theBiscuit.getChocolateChipCount(), equal_to(10), 'chocolate chips') + assert_that(theBiscuit.getHazelnutCount(), equal_to(3), 'hazelnuts') + +As a convenience, assert_that can also be used to verify a boolean condition: + +.. code:: python + + assert_that(theBiscuit.isCooked(), 'cooked') + +This is equivalent to the ``assert_`` method of unittest.TestCase, but because +it's a standalone function, it offers greater flexibility in test writing. + + +Predefined matchers +=================== + +PyHamcrest comes with a library of useful matchers: + +* Object + + * ``equal_to`` - match equal object + * ``has_length`` - match ``len()`` + * ``has_property`` - match value of property with given name + * ``has_properties`` - match an object that has all of the given properties. + * ``has_string`` - match ``str()`` + * ``instance_of`` - match object type + * ``none``, ``not_none`` - match ``None``, or not ``None`` + * ``same_instance`` - match same object + * ``calling, raises`` - wrap a method call and assert that it raises an exception + +* Number + + * ``close_to`` - match number close to a given value + * ``greater_than``, ``greater_than_or_equal_to``, ``less_than``, + ``less_than_or_equal_to`` - match numeric ordering + +* Text + + * ``contains_string`` - match part of a string + * ``ends_with`` - match the end of a string + * ``equal_to_ignoring_case`` - match the complete string but ignore case + * ``equal_to_ignoring_whitespace`` - match the complete string but ignore extra whitespace + * ``matches_regexp`` - match a regular expression in a string + * ``starts_with`` - match the beginning of a string + * ``string_contains_in_order`` - match parts of a string, in relative order + +* Logical + + * ``all_of`` - ``and`` together all matchers + * ``any_of`` - ``or`` together all matchers + * ``anything`` - match anything, useful in composite matchers when you don't care about a particular value + * ``is_not`` - negate the matcher + +* Sequence + + * ``contains`` - exactly match the entire sequence + * ``contains_inanyorder`` - match the entire sequence, but in any order + * ``has_item`` - match if given item appears in the sequence + * ``has_items`` - match if all given items appear in the sequence, in any order + * ``is_in`` - match if item appears in the given sequence + * ``only_contains`` - match if sequence's items appear in given list + * ``empty`` - match if the sequence is empty + +* Dictionary + + * ``has_entries`` - match dictionary with list of key-value pairs + * ``has_entry`` - match dictionary containing a key-value pair + * ``has_key`` - match dictionary with a key + * ``has_value`` - match dictionary with a value + +* Decorator + + * ``calling`` - wrap a callable in a deffered object, for subsequent matching on calling behaviour + * ``raises`` - Ensure that a deferred callable raises as expected + * ``described_as`` - give the matcher a custom failure description + * ``is_`` - decorator to improve readability - see `Syntactic sugar` below + +The arguments for many of these matchers accept not just a matching value, but +another matcher, so matchers can be composed for greater flexibility. For +example, ``only_contains(less_than(5))`` will match any sequence where every +item is less than 5. + + +Syntactic sugar +=============== + +PyHamcrest strives to make your tests as readable as possible. For example, the +``is_`` matcher is a wrapper that doesn't add any extra behavior to the +underlying matcher. The following assertions are all equivalent: + +.. code:: python + + assert_that(theBiscuit, equal_to(myBiscuit)) + assert_that(theBiscuit, is_(equal_to(myBiscuit))) + assert_that(theBiscuit, is_(myBiscuit)) + +The last form is allowed since ``is_(value)`` wraps most non-matcher arguments +with ``equal_to``. But if the argument is a type, it is wrapped with +``instance_of``, so the following are also equivalent: + +.. code:: python + + assert_that(theBiscuit, instance_of(Biscuit)) + assert_that(theBiscuit, is_(instance_of(Biscuit))) + assert_that(theBiscuit, is_(Biscuit)) + +*Note that PyHamcrest's ``is_`` matcher is unrelated to Python's ``is`` +operator. The matcher for object identity is ``same_instance``.* + + +Writing custom matchers +======================= + +PyHamcrest comes bundled with lots of useful matchers, but you'll probably find +that you need to create your own from time to time to fit your testing needs. +This commonly occurs when you find a fragment of code that tests the same set +of properties over and over again (and in different tests), and you want to +bundle the fragment into a single assertion. By writing your own matcher you'll +eliminate code duplication and make your tests more readable! + +Let's write our own matcher for testing if a calendar date falls on a Saturday. +This is the test we want to write: + +.. code:: python + + def testDateIsOnASaturday(self): + d = datetime.date(2008, 04, 26) + assert_that(d, is_(on_a_saturday())) + +And here's the implementation: + +.. code:: python + + from hamcrest.core.base_matcher import BaseMatcher + from hamcrest.core.helpers.hasmethod import hasmethod + + class IsGivenDayOfWeek(BaseMatcher): + + def __init__(self, day): + self.day = day # Monday is 0, Sunday is 6 + + def _matches(self, item): + if not hasmethod(item, 'weekday'): + return False + return item.weekday() == self.day + + def describe_to(self, description): + day_as_string = ['Monday', 'Tuesday', 'Wednesday', 'Thursday', + 'Friday', 'Saturday', 'Sunday'] + description.append_text('calendar date falling on ') \ + .append_text(day_as_string[self.day]) + + def on_a_saturday(): + return IsGivenDayOfWeek(5) + +For our Matcher implementation we implement the ``_matches`` method - which +calls the ``weekday`` method after confirming that the argument (which may not +be a date) has such a method - and the ``describe_to`` method - which is used +to produce a failure message when a test fails. Here's an example of how the +failure message looks: + +.. code:: python + + assert_that(datetime.date(2008, 04, 06), is_(on_a_saturday())) + +fails with the message:: + + AssertionError: + Expected: is calendar date falling on Saturday + got: <2008-04-06> + +Let's say this matcher is saved in a module named ``isgivendayofweek``. We +could use it in our test by importing the factory function ``on_a_saturday``: + +.. code:: python + + from hamcrest import * + import unittest + from isgivendayofweek import on_a_saturday + + class DateTest(unittest.TestCase): + def testDateIsOnASaturday(self): + d = datetime.date(2008, 04, 26) + assert_that(d, is_(on_a_saturday())) + + if __name__ == '__main__': + unittest.main() + +Even though the ``on_a_saturday`` function creates a new matcher each time it +is called, you should not assume this is the only usage pattern for your +matcher. Therefore you should make sure your matcher is stateless, so a single +instance can be reused between matches. + + +More resources +============== + +* Documentation_ +* Package_ +* Sources_ +* Hamcrest_ + +.. _Documentation: http://readthedocs.org/docs/pyhamcrest/en/V1.8.2/ +.. _Package: http://pypi.python.org/pypi/PyHamcrest +.. _Sources: https://github.com/hamcrest/PyHamcrest +.. _Hamcrest: http://hamcrest.org + + diff --git a/contrib/python/PyHamcrest/.dist-info/top_level.txt b/contrib/python/PyHamcrest/.dist-info/top_level.txt new file mode 100644 index 0000000000..c5f2ee4d7e --- /dev/null +++ b/contrib/python/PyHamcrest/.dist-info/top_level.txt @@ -0,0 +1 @@ +hamcrest diff --git a/contrib/python/boto3/py3/.dist-info/METADATA b/contrib/python/boto3/py3/.dist-info/METADATA index 675a2b95bb..9cc04b1e68 100644 --- a/contrib/python/boto3/py3/.dist-info/METADATA +++ b/contrib/python/boto3/py3/.dist-info/METADATA @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: boto3 -Version: 1.21.37 +Version: 1.21.38 Summary: The AWS SDK for Python Home-page: https://github.com/boto/boto3 Author: Amazon Web Services @@ -22,7 +22,7 @@ Classifier: Programming Language :: Python :: 3.10 Requires-Python: >= 3.6 License-File: LICENSE License-File: NOTICE -Requires-Dist: botocore (<1.25.0,>=1.24.37) +Requires-Dist: botocore (<1.25.0,>=1.24.38) Requires-Dist: jmespath (<2.0.0,>=0.7.1) Requires-Dist: s3transfer (<0.6.0,>=0.5.0) Provides-Extra: crt diff --git a/contrib/python/boto3/py3/boto3/__init__.py b/contrib/python/boto3/py3/boto3/__init__.py index e1d55f2812..c411e56468 100644 --- a/contrib/python/boto3/py3/boto3/__init__.py +++ b/contrib/python/boto3/py3/boto3/__init__.py @@ -17,7 +17,7 @@ from boto3.compat import _warn_deprecated_python from boto3.session import Session __author__ = 'Amazon Web Services' -__version__ = '1.21.37' +__version__ = '1.21.38' # The default Boto3 session; autoloaded when needed. diff --git a/contrib/python/botocore/py3/.dist-info/METADATA b/contrib/python/botocore/py3/.dist-info/METADATA index 5d8784857a..3b82b3c226 100644 --- a/contrib/python/botocore/py3/.dist-info/METADATA +++ b/contrib/python/botocore/py3/.dist-info/METADATA @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: botocore -Version: 1.24.37 +Version: 1.24.38 Summary: Low-level, data-driven core of boto 3. Home-page: https://github.com/boto/botocore Author: Amazon Web Services diff --git a/contrib/python/botocore/py3/botocore/__init__.py b/contrib/python/botocore/py3/botocore/__init__.py index 1749128d0b..522e8ac71f 100644 --- a/contrib/python/botocore/py3/botocore/__init__.py +++ b/contrib/python/botocore/py3/botocore/__init__.py @@ -16,7 +16,7 @@ import logging import os import re -__version__ = '1.24.37' +__version__ = '1.24.38' class NullHandler(logging.Handler): diff --git a/contrib/python/botocore/py3/botocore/data/amplifyuibuilder/2021-08-11/service-2.json b/contrib/python/botocore/py3/botocore/data/amplifyuibuilder/2021-08-11/service-2.json index c6ef0a47ff..f75532c529 100644 --- a/contrib/python/botocore/py3/botocore/data/amplifyuibuilder/2021-08-11/service-2.json +++ b/contrib/python/botocore/py3/botocore/data/amplifyuibuilder/2021-08-11/service-2.json @@ -452,6 +452,10 @@ "properties":{ "shape":"ComponentProperties", "documentation":"<p>Describes the properties of the child component. You can't specify <code>tags</code> as a valid property for <code>properties</code>.</p>" + }, + "sourceId":{ + "shape":"String", + "documentation":"<p>The unique ID of the child component in its original source system, such as Figma.</p>" } }, "documentation":"<p>A nested UI configuration within a parent <code>Component</code>.</p>" @@ -529,6 +533,10 @@ "shape":"String", "documentation":"<p>The action to perform when a specific event is raised.</p>" }, + "bindingEvent":{ + "shape":"String", + "documentation":"<p>Binds an event to an action on a component. When you specify a <code>bindingEvent</code>, the event is called when the action is performed.</p>" + }, "parameters":{ "shape":"ActionParameters", "documentation":"<p>Describes information about the action.</p>" @@ -975,7 +983,7 @@ ], "members":{ "code":{ - "shape":"SyntheticExchangeCodeForTokenRequestBodyString", + "shape":"SensitiveString", "documentation":"<p>The access code to send in the request.</p>" }, "redirectUri":{ @@ -994,7 +1002,7 @@ ], "members":{ "accessToken":{ - "shape":"SyntheticExchangeCodeForTokenResponseString", + "shape":"SensitiveString", "documentation":"<p>The access token.</p>" }, "expiresIn":{ @@ -1002,7 +1010,7 @@ "documentation":"<p>The date and time when the new access token expires.</p>" }, "refreshToken":{ - "shape":"SyntheticExchangeCodeForTokenResponseString", + "shape":"SensitiveString", "documentation":"<p>The token to use to refresh a previously issued access token that might have expired.</p>" } } @@ -1400,7 +1408,7 @@ "required":["token"], "members":{ "token":{ - "shape":"SyntheticRefreshTokenRequestBodyString", + "shape":"SensitiveString", "documentation":"<p>The token to use to refresh a previously issued access token that might have expired.</p>" } }, @@ -1414,7 +1422,7 @@ ], "members":{ "accessToken":{ - "shape":"SyntheticRefreshTokenResponseString", + "shape":"SensitiveString", "documentation":"<p>The access token.</p>" }, "expiresIn":{ @@ -1447,6 +1455,10 @@ }, "exception":true }, + "SensitiveString":{ + "type":"string", + "sensitive":true + }, "ServiceQuotaExceededException":{ "type":"structure", "members":{ @@ -1489,22 +1501,6 @@ "member":{"shape":"SortProperty"} }, "String":{"type":"string"}, - "SyntheticExchangeCodeForTokenRequestBodyString":{ - "type":"string", - "sensitive":true - }, - "SyntheticExchangeCodeForTokenResponseString":{ - "type":"string", - "sensitive":true - }, - "SyntheticRefreshTokenRequestBodyString":{ - "type":"string", - "sensitive":true - }, - "SyntheticRefreshTokenResponseString":{ - "type":"string", - "sensitive":true - }, "SyntheticTimestamp_date_time":{ "type":"timestamp", "timestampFormat":"iso8601" diff --git a/contrib/python/botocore/py3/botocore/data/apprunner/2020-05-15/service-2.json b/contrib/python/botocore/py3/botocore/data/apprunner/2020-05-15/service-2.json index 64a9470bf6..6a03755200 100644 --- a/contrib/python/botocore/py3/botocore/data/apprunner/2020-05-15/service-2.json +++ b/contrib/python/botocore/py3/botocore/data/apprunner/2020-05-15/service-2.json @@ -41,7 +41,7 @@ {"shape":"InternalServiceErrorException"}, {"shape":"ServiceQuotaExceededException"} ], - "documentation":"<p>Create an App Runner automatic scaling configuration resource. App Runner requires this resource when you create App Runner services that require non-default auto scaling settings. You can share an auto scaling configuration across multiple services.</p> <p>Create multiple revisions of a configuration by calling this action multiple times using the same <code>AutoScalingConfigurationName</code>. The call returns incremental <code>AutoScalingConfigurationRevision</code> values. When you create a service, you can set it to use the latest active revision of an auto scaling configuration or a specific revision.</p> <p>Configure a higher <code>MinSize</code> to increase the spread of your App Runner service over more Availability Zones in the Amazon Web Services Region. The tradeoff is a higher minimal cost.</p> <p>Configure a lower <code>MaxSize</code> to control your cost. The tradeoff is lower responsiveness during peak demand.</p>" + "documentation":"<p>Create an App Runner automatic scaling configuration resource. App Runner requires this resource when you create or update App Runner services and you require non-default auto scaling settings. You can share an auto scaling configuration across multiple services.</p> <p>Create multiple revisions of a configuration by calling this action multiple times using the same <code>AutoScalingConfigurationName</code>. The call returns incremental <code>AutoScalingConfigurationRevision</code> values. When you create a service and configure an auto scaling configuration resource, the service uses the latest active revision of the auto scaling configuration by default. You can optionally configure the service to use a specific revision.</p> <p>Configure a higher <code>MinSize</code> to increase the spread of your App Runner service over more Availability Zones in the Amazon Web Services Region. The tradeoff is a higher minimal cost.</p> <p>Configure a lower <code>MaxSize</code> to control your cost. The tradeoff is lower responsiveness during peak demand.</p>" }, "CreateConnection":{ "name":"CreateConnection", @@ -58,6 +58,21 @@ ], "documentation":"<p>Create an App Runner connection resource. App Runner requires a connection resource when you create App Runner services that access private repositories from certain third-party providers. You can share a connection across multiple services.</p> <p>A connection resource is needed to access GitHub repositories. GitHub requires a user interface approval process through the App Runner console before you can use the connection.</p>" }, + "CreateObservabilityConfiguration":{ + "name":"CreateObservabilityConfiguration", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"CreateObservabilityConfigurationRequest"}, + "output":{"shape":"CreateObservabilityConfigurationResponse"}, + "errors":[ + {"shape":"InvalidRequestException"}, + {"shape":"InternalServiceErrorException"}, + {"shape":"ServiceQuotaExceededException"} + ], + "documentation":"<p>Create an App Runner observability configuration resource. App Runner requires this resource when you create or update App Runner services and you want to enable non-default observability features. You can share an observability configuration across multiple services.</p> <p>Create multiple revisions of a configuration by calling this action multiple times using the same <code>ObservabilityConfigurationName</code>. The call returns incremental <code>ObservabilityConfigurationRevision</code> values. When you create a service and configure an observability configuration resource, the service uses the latest active revision of the observability configuration by default. You can optionally configure the service to use a specific revision.</p> <p>The observability configuration resource is designed to configure multiple features (currently one feature, tracing). This action takes optional parameters that describe the configuration of these features (currently one parameter, <code>TraceConfiguration</code>). If you don't specify a feature parameter, App Runner doesn't enable the feature.</p>" + }, "CreateService":{ "name":"CreateService", "http":{ @@ -118,6 +133,21 @@ ], "documentation":"<p>Delete an App Runner connection. You must first ensure that there are no running App Runner services that use this connection. If there are any, the <code>DeleteConnection</code> action fails.</p>" }, + "DeleteObservabilityConfiguration":{ + "name":"DeleteObservabilityConfiguration", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DeleteObservabilityConfigurationRequest"}, + "output":{"shape":"DeleteObservabilityConfigurationResponse"}, + "errors":[ + {"shape":"InvalidRequestException"}, + {"shape":"InternalServiceErrorException"}, + {"shape":"ResourceNotFoundException"} + ], + "documentation":"<p>Delete an App Runner observability configuration resource. You can delete a specific revision or the latest active revision. You can't delete a configuration that's used by one or more App Runner services.</p>" + }, "DeleteService":{ "name":"DeleteService", "http":{ @@ -179,6 +209,21 @@ ], "documentation":"<p>Return a description of custom domain names that are associated with an App Runner service.</p>" }, + "DescribeObservabilityConfiguration":{ + "name":"DescribeObservabilityConfiguration", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"DescribeObservabilityConfigurationRequest"}, + "output":{"shape":"DescribeObservabilityConfigurationResponse"}, + "errors":[ + {"shape":"InvalidRequestException"}, + {"shape":"InternalServiceErrorException"}, + {"shape":"ResourceNotFoundException"} + ], + "documentation":"<p>Return a full description of an App Runner observability configuration resource.</p>" + }, "DescribeService":{ "name":"DescribeService", "http":{ @@ -237,7 +282,7 @@ {"shape":"InvalidRequestException"}, {"shape":"InternalServiceErrorException"} ], - "documentation":"<p>Returns a list of App Runner automatic scaling configurations in your Amazon Web Services account. You can query the revisions for a specific configuration name or the revisions for all configurations in your account. You can optionally query only the latest revision of each requested name.</p>" + "documentation":"<p>Returns a list of active App Runner automatic scaling configurations in your Amazon Web Services account. You can query the revisions for a specific configuration name or the revisions for all active configurations in your account. You can optionally query only the latest revision of each requested name.</p> <p>To retrieve a full description of a particular configuration revision, call and provide one of the ARNs returned by <code>ListAutoScalingConfigurations</code>.</p>" }, "ListConnections":{ "name":"ListConnections", @@ -253,6 +298,20 @@ ], "documentation":"<p>Returns a list of App Runner connections that are associated with your Amazon Web Services account.</p>" }, + "ListObservabilityConfigurations":{ + "name":"ListObservabilityConfigurations", + "http":{ + "method":"POST", + "requestUri":"/" + }, + "input":{"shape":"ListObservabilityConfigurationsRequest"}, + "output":{"shape":"ListObservabilityConfigurationsResponse"}, + "errors":[ + {"shape":"InvalidRequestException"}, + {"shape":"InternalServiceErrorException"} + ], + "documentation":"<p>Returns a list of active App Runner observability configurations in your Amazon Web Services account. You can query the revisions for a specific configuration name or the revisions for all active configurations in your account. You can optionally query only the latest revision of each requested name.</p> <p>To retrieve a full description of a particular configuration revision, call and provide one of the ARNs returned by <code>ListObservabilityConfigurations</code>.</p>" + }, "ListOperations":{ "name":"ListOperations", "http":{ @@ -504,7 +563,7 @@ }, "Latest":{ "shape":"Boolean", - "documentation":"<p>It's set to <code>true</code> for the configuration with the highest <code>Revision</code> among all configurations that share the same <code>Name</code>. It's set to <code>false</code> otherwise.</p>" + "documentation":"<p>It's set to <code>true</code> for the configuration with the highest <code>Revision</code> among all configurations that share the same <code>AutoScalingConfigurationName</code>. It's set to <code>false</code> otherwise.</p>" }, "Status":{ "shape":"AutoScalingConfigurationStatus", @@ -823,6 +882,34 @@ } } }, + "CreateObservabilityConfigurationRequest":{ + "type":"structure", + "required":["ObservabilityConfigurationName"], + "members":{ + "ObservabilityConfigurationName":{ + "shape":"ObservabilityConfigurationName", + "documentation":"<p>A name for the observability configuration. When you use it for the first time in an Amazon Web Services Region, App Runner creates revision number <code>1</code> of this name. When you use the same name in subsequent calls, App Runner creates incremental revisions of the configuration.</p> <note> <p>The name <code>DefaultConfiguration</code> is reserved. You can't use it to create a new observability configuration, and you can't create a revision of it.</p> <p>When you want to use your own observability configuration for your App Runner service, <i>create a configuration with a different name</i>, and then provide it when you create or update your service.</p> </note>" + }, + "TraceConfiguration":{ + "shape":"TraceConfiguration", + "documentation":"<p>The configuration of the tracing feature within this observability configuration. If you don't specify it, App Runner doesn't enable tracing.</p>" + }, + "Tags":{ + "shape":"TagList", + "documentation":"<p>A list of metadata items that you can associate with your observability configuration resource. A tag is a key-value pair.</p>" + } + } + }, + "CreateObservabilityConfigurationResponse":{ + "type":"structure", + "required":["ObservabilityConfiguration"], + "members":{ + "ObservabilityConfiguration":{ + "shape":"ObservabilityConfiguration", + "documentation":"<p>A description of the App Runner observability configuration that's created by this request.</p>" + } + } + }, "CreateServiceRequest":{ "type":"structure", "required":[ @@ -840,7 +927,7 @@ }, "InstanceConfiguration":{ "shape":"InstanceConfiguration", - "documentation":"<p>The runtime configuration of instances (scaling units) of the App Runner service.</p>" + "documentation":"<p>The runtime configuration of instances (scaling units) of your service.</p>" }, "Tags":{ "shape":"TagList", @@ -856,11 +943,15 @@ }, "AutoScalingConfigurationArn":{ "shape":"AppRunnerResourceArn", - "documentation":"<p>The Amazon Resource Name (ARN) of an App Runner automatic scaling configuration resource that you want to associate with the App Runner service. If not provided, App Runner associates the latest revision of a default auto scaling configuration.</p>" + "documentation":"<p>The Amazon Resource Name (ARN) of an App Runner automatic scaling configuration resource that you want to associate with your service. If not provided, App Runner associates the latest revision of a default auto scaling configuration.</p> <p>Specify an ARN with a name and a revision number to associate that revision. For example: <code>arn:aws:apprunner:us-east-1:123456789012:autoscalingconfiguration/high-availability/3</code> </p> <p>Specify just the name to associate the latest revision. For example: <code>arn:aws:apprunner:us-east-1:123456789012:autoscalingconfiguration/high-availability</code> </p>" }, "NetworkConfiguration":{ "shape":"NetworkConfiguration", "documentation":"<p>Configuration settings related to network traffic of the web application that the App Runner service runs.</p>" + }, + "ObservabilityConfiguration":{ + "shape":"ServiceObservabilityConfiguration", + "documentation":"<p>The observability configuration of your service.</p>" } } }, @@ -998,6 +1089,26 @@ } } }, + "DeleteObservabilityConfigurationRequest":{ + "type":"structure", + "required":["ObservabilityConfigurationArn"], + "members":{ + "ObservabilityConfigurationArn":{ + "shape":"AppRunnerResourceArn", + "documentation":"<p>The Amazon Resource Name (ARN) of the App Runner observability configuration that you want to delete.</p> <p>The ARN can be a full observability configuration ARN, or a partial ARN ending with either <code>.../<i>name</i> </code> or <code>.../<i>name</i>/<i>revision</i> </code>. If a revision isn't specified, the latest active revision is deleted.</p>" + } + } + }, + "DeleteObservabilityConfigurationResponse":{ + "type":"structure", + "required":["ObservabilityConfiguration"], + "members":{ + "ObservabilityConfiguration":{ + "shape":"ObservabilityConfiguration", + "documentation":"<p>A description of the App Runner observability configuration that this request just deleted.</p>" + } + } + }, "DeleteServiceRequest":{ "type":"structure", "required":["ServiceArn"], @@ -1114,6 +1225,26 @@ } } }, + "DescribeObservabilityConfigurationRequest":{ + "type":"structure", + "required":["ObservabilityConfigurationArn"], + "members":{ + "ObservabilityConfigurationArn":{ + "shape":"AppRunnerResourceArn", + "documentation":"<p>The Amazon Resource Name (ARN) of the App Runner observability configuration that you want a description for.</p> <p>The ARN can be a full observability configuration ARN, or a partial ARN ending with either <code>.../<i>name</i> </code> or <code>.../<i>name</i>/<i>revision</i> </code>. If a revision isn't specified, the latest active revision is described.</p>" + } + } + }, + "DescribeObservabilityConfigurationResponse":{ + "type":"structure", + "required":["ObservabilityConfiguration"], + "members":{ + "ObservabilityConfiguration":{ + "shape":"ObservabilityConfiguration", + "documentation":"<p>A full description of the App Runner observability configuration that you specified in this request.</p>" + } + } + }, "DescribeServiceRequest":{ "type":"structure", "required":["ServiceArn"], @@ -1404,11 +1535,11 @@ "members":{ "AutoScalingConfigurationName":{ "shape":"AutoScalingConfigurationName", - "documentation":"<p>The name of the App Runner auto scaling configuration that you want to list. If specified, App Runner lists revisions that share this name. If not specified, App Runner returns revisions of all configurations.</p>" + "documentation":"<p>The name of the App Runner auto scaling configuration that you want to list. If specified, App Runner lists revisions that share this name. If not specified, App Runner returns revisions of all active configurations.</p>" }, "LatestOnly":{ "shape":"Boolean", - "documentation":"<p>Set to <code>true</code> to list only the latest revision for each requested configuration name.</p> <p>Keep as <code>false</code> to list all revisions for each requested configuration name.</p> <p>Default: <code>false</code> </p>" + "documentation":"<p>Set to <code>true</code> to list only the latest revision for each requested configuration name.</p> <p>Set to <code>false</code> to list all revisions for each requested configuration name.</p> <p>Default: <code>true</code> </p>" }, "MaxResults":{ "shape":"MaxResults", @@ -1465,6 +1596,41 @@ } } }, + "ListObservabilityConfigurationsRequest":{ + "type":"structure", + "members":{ + "ObservabilityConfigurationName":{ + "shape":"ObservabilityConfigurationName", + "documentation":"<p>The name of the App Runner observability configuration that you want to list. If specified, App Runner lists revisions that share this name. If not specified, App Runner returns revisions of all active configurations.</p>" + }, + "LatestOnly":{ + "shape":"Boolean", + "documentation":"<p>Set to <code>true</code> to list only the latest revision for each requested configuration name.</p> <p>Set to <code>false</code> to list all revisions for each requested configuration name.</p> <p>Default: <code>true</code> </p>" + }, + "MaxResults":{ + "shape":"MaxResults", + "documentation":"<p>The maximum number of results to include in each response (result page). It's used for a paginated request.</p> <p>If you don't specify <code>MaxResults</code>, the request retrieves all available results in a single response.</p>" + }, + "NextToken":{ + "shape":"NextToken", + "documentation":"<p>A token from a previous result page. It's used for a paginated request. The request retrieves the next result page. All other parameter values must be identical to the ones that are specified in the initial request.</p> <p>If you don't specify <code>NextToken</code>, the request retrieves the first result page.</p>" + } + } + }, + "ListObservabilityConfigurationsResponse":{ + "type":"structure", + "required":["ObservabilityConfigurationSummaryList"], + "members":{ + "ObservabilityConfigurationSummaryList":{ + "shape":"ObservabilityConfigurationSummaryList", + "documentation":"<p>A list of summary information records for observability configurations. In a paginated request, the request returns up to <code>MaxResults</code> records for each call.</p>" + }, + "NextToken":{ + "shape":"NextToken", + "documentation":"<p>The token that you can pass in a subsequent request to get the next result page. It's returned in a paginated request.</p>" + } + } + }, "ListOperationsMaxResults":{ "type":"integer", "max":20, @@ -1602,6 +1768,79 @@ "pattern":".*" }, "NullableBoolean":{"type":"boolean"}, + "ObservabilityConfiguration":{ + "type":"structure", + "members":{ + "ObservabilityConfigurationArn":{ + "shape":"AppRunnerResourceArn", + "documentation":"<p>The Amazon Resource Name (ARN) of this observability configuration.</p>" + }, + "ObservabilityConfigurationName":{ + "shape":"ObservabilityConfigurationName", + "documentation":"<p>The customer-provided observability configuration name. It can be used in multiple revisions of a configuration.</p>" + }, + "TraceConfiguration":{ + "shape":"TraceConfiguration", + "documentation":"<p>The configuration of the tracing feature within this observability configuration. If not specified, tracing isn't enabled.</p>" + }, + "ObservabilityConfigurationRevision":{ + "shape":"Integer", + "documentation":"<p>The revision of this observability configuration. It's unique among all the active configurations (<code>\"Status\": \"ACTIVE\"</code>) that share the same <code>ObservabilityConfigurationName</code>.</p>" + }, + "Latest":{ + "shape":"Boolean", + "documentation":"<p>It's set to <code>true</code> for the configuration with the highest <code>Revision</code> among all configurations that share the same <code>ObservabilityConfigurationName</code>. It's set to <code>false</code> otherwise.</p>" + }, + "Status":{ + "shape":"ObservabilityConfigurationStatus", + "documentation":"<p>The current state of the observability configuration. If the status of a configuration revision is <code>INACTIVE</code>, it was deleted and can't be used. Inactive configuration revisions are permanently removed some time after they are deleted.</p>" + }, + "CreatedAt":{ + "shape":"Timestamp", + "documentation":"<p>The time when the observability configuration was created. It's in Unix time stamp format.</p>" + }, + "DeletedAt":{ + "shape":"Timestamp", + "documentation":"<p>The time when the observability configuration was deleted. It's in Unix time stamp format.</p>" + } + }, + "documentation":"<p>Describes an App Runner observability configuration resource. Multiple revisions of a configuration have the same <code>ObservabilityConfigurationName</code> and different <code>ObservabilityConfigurationRevision</code> values.</p> <p>The resource is designed to configure multiple features (currently one feature, tracing). This type contains optional members that describe the configuration of these features (currently one member, <code>TraceConfiguration</code>). If a feature member isn't specified, the feature isn't enabled.</p>" + }, + "ObservabilityConfigurationName":{ + "type":"string", + "max":32, + "min":4, + "pattern":"[A-Za-z0-9][A-Za-z0-9\\-_]{3,31}" + }, + "ObservabilityConfigurationStatus":{ + "type":"string", + "enum":[ + "ACTIVE", + "INACTIVE" + ] + }, + "ObservabilityConfigurationSummary":{ + "type":"structure", + "members":{ + "ObservabilityConfigurationArn":{ + "shape":"AppRunnerResourceArn", + "documentation":"<p>The Amazon Resource Name (ARN) of this observability configuration.</p>" + }, + "ObservabilityConfigurationName":{ + "shape":"ObservabilityConfigurationName", + "documentation":"<p>The customer-provided observability configuration name. It can be used in multiple revisions of a configuration.</p>" + }, + "ObservabilityConfigurationRevision":{ + "shape":"Integer", + "documentation":"<p>The revision of this observability configuration. It's unique among all the active configurations (<code>\"Status\": \"ACTIVE\"</code>) that share the same <code>ObservabilityConfigurationName</code>.</p>" + } + }, + "documentation":"<p>Provides summary information about an App Runner observability configuration resource.</p> <p>This type contains limited information about an observability configuration. It includes only identification information, without configuration details. It's returned by the <a>ListObservabilityConfigurations</a> action. Complete configuration information is returned by the <a>CreateObservabilityConfiguration</a>, <a>DescribeObservabilityConfiguration</a>, and <a>DeleteObservabilityConfiguration</a> actions using the <a>ObservabilityConfiguration</a> type.</p>" + }, + "ObservabilityConfigurationSummaryList":{ + "type":"list", + "member":{"shape":"ObservabilityConfigurationSummary"} + }, "OperationStatus":{ "type":"string", "enum":[ @@ -1828,6 +2067,10 @@ "NetworkConfiguration":{ "shape":"NetworkConfiguration", "documentation":"<p>Configuration settings related to network traffic of the web application that this service runs.</p>" + }, + "ObservabilityConfiguration":{ + "shape":"ServiceObservabilityConfiguration", + "documentation":"<p>The observability configuration of this service.</p>" } }, "documentation":"<p>Describes an App Runner service. It can describe a service in any state, including deleted services.</p> <p>This type contains the full information about a service, including configuration details. It's returned by the <a href=\"https://docs.aws.amazon.com/apprunner/latest/api/API_CreateService.html\">CreateService</a>, <a href=\"https://docs.aws.amazon.com/apprunner/latest/api/API_DescribeService.html\">DescribeService</a>, and <a href=\"https://docs.aws.amazon.com/apprunner/latest/api/API_DeleteService.html\">DeleteService</a> actions. A subset of this information is returned by the <a href=\"https://docs.aws.amazon.com/apprunner/latest/api/API_ListServices.html\">ListServices</a> action using the <a href=\"https://docs.aws.amazon.com/apprunner/latest/api/API_ServiceSummary.html\">ServiceSummary</a> type.</p>" @@ -1849,6 +2092,21 @@ "min":4, "pattern":"[A-Za-z0-9][A-Za-z0-9-_]{3,39}" }, + "ServiceObservabilityConfiguration":{ + "type":"structure", + "required":["ObservabilityEnabled"], + "members":{ + "ObservabilityEnabled":{ + "shape":"Boolean", + "documentation":"<p>When <code>true</code>, an observability configuration resource is associated with the service, and an <code>ObservabilityConfigurationArn</code> is specified.</p>" + }, + "ObservabilityConfigurationArn":{ + "shape":"AppRunnerResourceArn", + "documentation":"<p>The Amazon Resource Name (ARN) of the observability configuration that is associated with the service. Specified only when <code>ObservabilityEnabled</code> is <code>true</code>.</p> <p>Specify an ARN with a name and a revision number to associate that revision. For example: <code>arn:aws:apprunner:us-east-1:123456789012:observabilityconfiguration/xray-tracing/3</code> </p> <p>Specify just the name to associate the latest revision. For example: <code>arn:aws:apprunner:us-east-1:123456789012:observabilityconfiguration/xray-tracing</code> </p>" + } + }, + "documentation":"<p>Describes the observability configuration of an App Runner service. These are additional observability features, like tracing, that you choose to enable. They're configured in a separate resource that you associate with your service.</p>" + }, "ServiceQuotaExceededException":{ "type":"structure", "members":{ @@ -2042,6 +2300,21 @@ "pattern":".*" }, "Timestamp":{"type":"timestamp"}, + "TraceConfiguration":{ + "type":"structure", + "required":["Vendor"], + "members":{ + "Vendor":{ + "shape":"TracingVendor", + "documentation":"<p>The implementation provider chosen for tracing App Runner services.</p>" + } + }, + "documentation":"<p>Describes the configuration of the tracing feature within an App Runner observability configuration.</p>" + }, + "TracingVendor":{ + "type":"string", + "enum":["AWSXRAY"] + }, "UUID":{ "type":"string", "max":36, @@ -2084,7 +2357,7 @@ }, "InstanceConfiguration":{ "shape":"InstanceConfiguration", - "documentation":"<p>The runtime configuration to apply to instances (scaling units) of the App Runner service.</p>" + "documentation":"<p>The runtime configuration to apply to instances (scaling units) of your service.</p>" }, "AutoScalingConfigurationArn":{ "shape":"AppRunnerResourceArn", @@ -2097,6 +2370,10 @@ "NetworkConfiguration":{ "shape":"NetworkConfiguration", "documentation":"<p>Configuration settings related to network traffic of the web application that the App Runner service runs.</p>" + }, + "ObservabilityConfiguration":{ + "shape":"ServiceObservabilityConfiguration", + "documentation":"<p>The observability configuration of your service.</p>" } } }, diff --git a/contrib/python/botocore/py3/botocore/data/endpoints.json b/contrib/python/botocore/py3/botocore/data/endpoints.json index 0bb4b38cfa..6148b5d9c0 100644 --- a/contrib/python/botocore/py3/botocore/data/endpoints.json +++ b/contrib/python/botocore/py3/botocore/data/endpoints.json @@ -10821,9 +10821,11 @@ "ap-east-1" : { }, "ap-northeast-1" : { }, "ap-northeast-2" : { }, + "ap-northeast-3" : { }, "ap-south-1" : { }, "ap-southeast-1" : { }, "ap-southeast-2" : { }, + "ap-southeast-3" : { }, "ca-central-1" : { "variants" : [ { "hostname" : "servicecatalog-appregistry-fips.ca-central-1.amazonaws.com", diff --git a/contrib/python/botocore/py3/botocore/data/workspaces/2015-04-08/service-2.json b/contrib/python/botocore/py3/botocore/data/workspaces/2015-04-08/service-2.json index 66154d47c2..8dfccc1ca9 100644 --- a/contrib/python/botocore/py3/botocore/data/workspaces/2015-04-08/service-2.json +++ b/contrib/python/botocore/py3/botocore/data/workspaces/2015-04-08/service-2.json @@ -1212,7 +1212,9 @@ "POWER", "GRAPHICS", "POWERPRO", - "GRAPHICSPRO" + "GRAPHICSPRO", + "GRAPHICS_G4DN", + "GRAPHICSPRO_G4DN" ] }, "ComputeType":{ @@ -2563,7 +2565,7 @@ }, "IngestionProcess":{ "shape":"WorkspaceImageIngestionProcess", - "documentation":"<p>The ingestion process to be used when importing the image, depending on which protocol you want to use for your BYOL Workspace image, either PCoIP or WorkSpaces Streaming Protocol (WSP). To use WSP, specify a value that ends in <code>_WSP</code>. To use PCoIP, specify a value that does not end in <code>_WSP</code>. </p> <p>For non-GPU-enabled bundles (bundles other than Graphics or GraphicsPro), specify <code>BYOL_REGULAR</code> or <code>BYOL_REGULAR_WSP</code>, depending on the protocol.</p>" + "documentation":"<p>The ingestion process to be used when importing the image, depending on which protocol you want to use for your BYOL Workspace image, either PCoIP or WorkSpaces Streaming Protocol (WSP). To use WSP, specify a value that ends in <code>_WSP</code>. To use PCoIP, specify a value that does not end in <code>_WSP</code>. </p> <p>For non-GPU-enabled images (bundles other than Graphics.g4dn, GraphicsPro.g4dn, Graphics, or GraphicsPro), specify <code>BYOL_REGULAR</code> or <code>BYOL_REGULAR_WSP</code>, depending on the protocol.</p> <note> <p>Use <code>BYOL_GRAPHICS_G4DN</code> ingestion for both Graphics.g4dn and GraphicsPro.g4dn.</p> </note>" }, "ImageName":{ "shape":"WorkspaceImageName", @@ -2579,7 +2581,7 @@ }, "Applications":{ "shape":"ApplicationList", - "documentation":"<p>If specified, the version of Microsoft Office to subscribe to. Valid only for Windows 10 BYOL images. For more information about subscribing to Office for BYOL images, see <a href=\"https://docs.aws.amazon.com/workspaces/latest/adminguide/byol-windows-images.html\"> Bring Your Own Windows Desktop Licenses</a>.</p> <note> <p>Although this parameter is an array, only one item is allowed at this time.</p> </note>" + "documentation":"<p>If specified, the version of Microsoft Office to subscribe to. Valid only for Windows 10 BYOL images. For more information about subscribing to Office for BYOL images, see <a href=\"https://docs.aws.amazon.com/workspaces/latest/adminguide/byol-windows-images.html\"> Bring Your Own Windows Desktop Licenses</a>.</p> <note> <ul> <li> <p>Although this parameter is an array, only one item is allowed at this time</p> </li> <li> <p>Microsoft Office 2016 application subscription through AWS is currently not supported for Graphics.g4dn Bring Your Own License (BYOL) images</p> </li> </ul> </note>" } } }, @@ -4060,6 +4062,7 @@ "BYOL_REGULAR", "BYOL_GRAPHICS", "BYOL_GRAPHICSPRO", + "BYOL_GRAPHICS_G4DN", "BYOL_REGULAR_WSP" ] }, diff --git a/contrib/python/future/.dist-info/METADATA b/contrib/python/future/.dist-info/METADATA new file mode 100644 index 0000000000..b6f83573fb --- /dev/null +++ b/contrib/python/future/.dist-info/METADATA @@ -0,0 +1,110 @@ +Metadata-Version: 2.1 +Name: future +Version: 0.18.2 +Summary: Clean single-source support for Python 3 and 2 +Home-page: https://python-future.org +Author: Ed Schofield +Author-email: ed@pythoncharmers.com +License: MIT +Keywords: future past python3 migration futurize backport six 2to3 modernize pasteurize 3to2 +Platform: UNKNOWN +Classifier: Programming Language :: Python +Classifier: Programming Language :: Python :: 2 +Classifier: Programming Language :: Python :: 2.6 +Classifier: Programming Language :: Python :: 2.7 +Classifier: Programming Language :: Python :: 3 +Classifier: Programming Language :: Python :: 3.3 +Classifier: Programming Language :: Python :: 3.4 +Classifier: Programming Language :: Python :: 3.5 +Classifier: Programming Language :: Python :: 3.6 +Classifier: Programming Language :: Python :: 3.7 +Classifier: License :: OSI Approved +Classifier: License :: OSI Approved :: MIT License +Classifier: Development Status :: 4 - Beta +Classifier: Intended Audience :: Developers +Requires-Python: >=2.6, !=3.0.*, !=3.1.*, !=3.2.* +License-File: LICENSE.txt + + +future: Easy, safe support for Python 2/3 compatibility +======================================================= + +``future`` is the missing compatibility layer between Python 2 and Python +3. It allows you to use a single, clean Python 3.x-compatible codebase to +support both Python 2 and Python 3 with minimal overhead. + +It is designed to be used as follows:: + + from __future__ import (absolute_import, division, + print_function, unicode_literals) + from builtins import ( + bytes, dict, int, list, object, range, str, + ascii, chr, hex, input, next, oct, open, + pow, round, super, + filter, map, zip) + +followed by predominantly standard, idiomatic Python 3 code that then runs +similarly on Python 2.6/2.7 and Python 3.3+. + +The imports have no effect on Python 3. On Python 2, they shadow the +corresponding builtins, which normally have different semantics on Python 3 +versus 2, to provide their Python 3 semantics. + + +Standard library reorganization +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +``future`` supports the standard library reorganization (PEP 3108) through the +following Py3 interfaces: + + >>> # Top-level packages with Py3 names provided on Py2: + >>> import html.parser + >>> import queue + >>> import tkinter.dialog + >>> import xmlrpc.client + >>> # etc. + + >>> # Aliases provided for extensions to existing Py2 module names: + >>> from future.standard_library import install_aliases + >>> install_aliases() + + >>> from collections import Counter, OrderedDict # backported to Py2.6 + >>> from collections import UserDict, UserList, UserString + >>> import urllib.request + >>> from itertools import filterfalse, zip_longest + >>> from subprocess import getoutput, getstatusoutput + + +Automatic conversion +-------------------- + +An included script called `futurize +<http://python-future.org/automatic_conversion.html>`_ aids in converting +code (from either Python 2 or Python 3) to code compatible with both +platforms. It is similar to ``python-modernize`` but goes further in +providing Python 3 compatibility through the use of the backported types +and builtin functions in ``future``. + + +Documentation +------------- + +See: http://python-future.org + + +Credits +------- + +:Author: Ed Schofield, Jordan M. Adler, et al +:Sponsor: Python Charmers Pty Ltd, Australia, and Python Charmers Pte + Ltd, Singapore. http://pythoncharmers.com +:Others: See docs/credits.rst or http://python-future.org/credits.html + + +Licensing +--------- +Copyright 2013-2019 Python Charmers Pty Ltd, Australia. +The software is distributed under an MIT licence. See LICENSE.txt. + + + diff --git a/contrib/python/future/.dist-info/entry_points.txt b/contrib/python/future/.dist-info/entry_points.txt new file mode 100644 index 0000000000..45d1a880fb --- /dev/null +++ b/contrib/python/future/.dist-info/entry_points.txt @@ -0,0 +1,4 @@ +[console_scripts] +futurize = libfuturize.main:main +pasteurize = libpasteurize.main:main + diff --git a/contrib/python/future/.dist-info/top_level.txt b/contrib/python/future/.dist-info/top_level.txt new file mode 100644 index 0000000000..58f5843c6c --- /dev/null +++ b/contrib/python/future/.dist-info/top_level.txt @@ -0,0 +1,4 @@ +future +libfuturize +libpasteurize +past diff --git a/contrib/python/protobuf/py2/.dist-info/METADATA b/contrib/python/protobuf/py2/.dist-info/METADATA new file mode 100644 index 0000000000..54ef97d698 --- /dev/null +++ b/contrib/python/protobuf/py2/.dist-info/METADATA @@ -0,0 +1,24 @@ +Metadata-Version: 2.1 +Name: protobuf +Version: 3.17.3 +Summary: Protocol Buffers +Home-page: https://developers.google.com/protocol-buffers/ +Maintainer: protobuf@googlegroups.com +Maintainer-email: protobuf@googlegroups.com +License: 3-Clause BSD License +Download-URL: https://github.com/protocolbuffers/protobuf/releases +Platform: UNKNOWN +Classifier: Programming Language :: Python +Classifier: Programming Language :: Python :: 2 +Classifier: Programming Language :: Python :: 2.7 +Classifier: Programming Language :: Python :: 3 +Classifier: Programming Language :: Python :: 3.3 +Classifier: Programming Language :: Python :: 3.4 +Classifier: Programming Language :: Python :: 3.5 +Classifier: Programming Language :: Python :: 3.6 +Classifier: Programming Language :: Python :: 3.7 +Requires-Dist: six (>=1.9) + +Protocol Buffers are Google's data interchange format + + diff --git a/contrib/python/protobuf/py2/.dist-info/top_level.txt b/contrib/python/protobuf/py2/.dist-info/top_level.txt new file mode 100644 index 0000000000..cb429113e0 --- /dev/null +++ b/contrib/python/protobuf/py2/.dist-info/top_level.txt @@ -0,0 +1 @@ +google diff --git a/contrib/python/protobuf/py3/.dist-info/METADATA b/contrib/python/protobuf/py3/.dist-info/METADATA new file mode 100644 index 0000000000..54ef97d698 --- /dev/null +++ b/contrib/python/protobuf/py3/.dist-info/METADATA @@ -0,0 +1,24 @@ +Metadata-Version: 2.1 +Name: protobuf +Version: 3.17.3 +Summary: Protocol Buffers +Home-page: https://developers.google.com/protocol-buffers/ +Maintainer: protobuf@googlegroups.com +Maintainer-email: protobuf@googlegroups.com +License: 3-Clause BSD License +Download-URL: https://github.com/protocolbuffers/protobuf/releases +Platform: UNKNOWN +Classifier: Programming Language :: Python +Classifier: Programming Language :: Python :: 2 +Classifier: Programming Language :: Python :: 2.7 +Classifier: Programming Language :: Python :: 3 +Classifier: Programming Language :: Python :: 3.3 +Classifier: Programming Language :: Python :: 3.4 +Classifier: Programming Language :: Python :: 3.5 +Classifier: Programming Language :: Python :: 3.6 +Classifier: Programming Language :: Python :: 3.7 +Requires-Dist: six (>=1.9) + +Protocol Buffers are Google's data interchange format + + diff --git a/contrib/python/protobuf/py3/.dist-info/top_level.txt b/contrib/python/protobuf/py3/.dist-info/top_level.txt new file mode 100644 index 0000000000..cb429113e0 --- /dev/null +++ b/contrib/python/protobuf/py3/.dist-info/top_level.txt @@ -0,0 +1 @@ +google diff --git a/library/cpp/scheme/scheme.h b/library/cpp/scheme/scheme.h index 3d7c59f3c9..cc0699c67a 100644 --- a/library/cpp/scheme/scheme.h +++ b/library/cpp/scheme/scheme.h @@ -296,8 +296,8 @@ namespace NSc { static const EJsonOpts JO_PARSER_STRICT = TJsonOpts::JO_PARSER_STRICT; // strict json + strict utf8 + comments are disallowed static const EJsonOpts JO_PARSER_DISALLOW_DUPLICATE_KEYS = TJsonOpts::JO_PARSER_DISALLOW_DUPLICATE_KEYS; - static TValue FromJson(TStringBuf, const TJsonOpts& = TJsonOpts()); - static TValue FromJsonThrow(TStringBuf, const TJsonOpts& = TJsonOpts()); + [[nodiscard]] static TValue FromJson(TStringBuf, const TJsonOpts& = TJsonOpts()); + [[nodiscard]] static TValue FromJsonThrow(TStringBuf, const TJsonOpts& = TJsonOpts()); static bool FromJson(TValue&, TStringBuf, const TJsonOpts& = TJsonOpts()); // TODO: Переименовать ToJson в ToJsonUnsafe, а ToJsonSafe в ToJson |