[Python-modules-commits] [awscli] 01/07: New upstream version 1.14.32
Takaki Taniguchi
takaki at moszumanska.debian.org
Sat Feb 3 13:14:43 UTC 2018
This is an automated email from the git hooks/post-receive script.
takaki pushed a commit to branch master
in repository awscli.
commit 0dfe8f49654b355ba70888f0eb4cda1c8ccbf116
Author: TANIGUCHI Takaki <takaki at asis.media-as.org>
Date: Sat Feb 3 22:07:40 2018 +0900
New upstream version 1.14.32
---
PKG-INFO | 7 +-
README.rst | 4 +-
awscli.egg-info/PKG-INFO | 7 +-
awscli.egg-info/SOURCES.txt | 90 ++-
awscli.egg-info/requires.txt | 4 +-
awscli/__init__.py | 2 +-
awscli/clidocs.py | 24 +-
awscli/clidriver.py | 28 +-
awscli/compat.py | 69 ++-
awscli/customizations/argrename.py | 3 +
awscli/customizations/assumerole.py | 53 +-
.../cloudformation/artifact_exporter.py | 34 +-
awscli/customizations/cloudformation/deploy.py | 154 +++++-
awscli/customizations/cloudformation/deployer.py | 50 +-
awscli/customizations/cloudformation/exceptions.py | 18 +-
awscli/customizations/cloudformation/package.py | 2 +-
awscli/customizations/commands.py | 4 +
awscli/customizations/configure/__init__.py | 11 +
awscli/customizations/configure/addmodel.py | 4 +-
awscli/customizations/configure/configure.py | 12 +-
awscli/customizations/configure/set.py | 8 +-
awscli/customizations/datapipeline/__init__.py | 18 +-
awscli/customizations/emr/argumentschema.py | 26 +
awscli/customizations/emr/createcluster.py | 9 +-
awscli/customizations/emr/helptext.py | 604 ++++++++++++---------
awscli/customizations/history/__init__.py | 107 ++++
awscli/customizations/history/commands.py | 63 +++
awscli/customizations/history/constants.py | 18 +
awscli/customizations/history/db.py | 273 ++++++++++
awscli/customizations/history/list.py | 122 +++++
awscli/customizations/history/show.py | 400 ++++++++++++++
awscli/customizations/preview.py | 1 -
awscli/customizations/putmetricdata.py | 30 +-
awscli/customizations/s3/filegenerator.py | 2 +-
awscli/customizations/s3/filters.py | 2 +-
awscli/customizations/s3/results.py | 6 +
awscli/customizations/s3/s3handler.py | 6 +-
awscli/customizations/s3/subcommands.py | 25 +-
awscli/customizations/s3/transferconfig.py | 18 +-
.../{cloudformation => }/s3uploader.py | 18 +-
awscli/customizations/sagemaker.py | 28 +
awscli/customizations/servicecatalog/__init__.py | 24 +
awscli/customizations/servicecatalog/exceptions.py | 25 +
awscli/customizations/servicecatalog/generate.py | 35 ++
.../customizations/servicecatalog/generatebase.py | 54 ++
.../servicecatalog/generateproduct.py | 165 ++++++
.../servicecatalog/generateprovisioningartifact.py | 98 ++++
awscli/customizations/servicecatalog/helptext.py | 53 ++
awscli/customizations/servicecatalog/utils.py | 34 ++
awscli/examples/acm/list-certificates.rst | 48 +-
awscli/examples/acm/request-certificate.rst | 12 +-
awscli/examples/cloud9/create-environment-ec2.rst | 13 +
.../cloud9/create-environment-membership.rst | 18 +
.../cloud9/delete-environment-membership.rst | 11 +
awscli/examples/cloud9/delete-environment.rst | 11 +
.../cloud9/describe-environment-memberships.rst | 76 +++
.../cloud9/describe-environment-status.rst | 14 +
awscli/examples/cloud9/describe-environments.rst | 29 +
awscli/examples/cloud9/list-environments.rst | 16 +
.../cloud9/update-environment-membership.rst | 18 +
awscli/examples/cloud9/update-environment.rst | 11 +
awscli/examples/cloudformation/deploy.rst | 2 +-
.../examples/cloudwatch/get-metric-statistics.rst | 2 +-
awscli/examples/configure/add-model.rst | 9 +
awscli/examples/devicefarm/create-device-pool.rst | 32 ++
awscli/examples/devicefarm/create-project.rst | 15 +
awscli/examples/devicefarm/create-upload.rst | 24 +
awscli/examples/devicefarm/get-upload.rst | 21 +
awscli/examples/devicefarm/list-projects.rst | 22 +
.../create-direct-connect-gateway-association.rst | 19 +
.../create-direct-connect-gateway.rst | 19 +
.../delete-direct-connect-gateway-association.rst | 19 +
.../delete-direct-connect-gateway.rst | 19 +
...escribe-direct-connect-gateway-associations.rst | 29 +
...describe-direct-connect-gateway-attachments.rst | 22 +
.../describe-direct-connect-gateways.rst | 28 +
.../accept-reserved-instances-exchange-quote.rst | 13 +
.../ec2/accept-vpc-endpoint-connections.rst | 13 +
awscli/examples/ec2/associate-vpc-cidr-block.rst | 21 +
.../ec2/authorize-security-group-ingress.rst | 12 +-
awscli/examples/ec2/copy-fpga-image.rst | 13 +
awscli/examples/ec2/create-default-subnet.rst | 23 +
awscli/examples/ec2/create-fpga-image.rst | 14 +
.../ec2/create-launch-template-version.rst | 37 ++
awscli/examples/ec2/create-launch-template.rst | 20 +
...create-vpc-endpoint-connection-notification.rst | 23 +
.../create-vpc-endpoint-service-configuration.rst | 32 ++
awscli/examples/ec2/create-vpc-endpoint.rst | 54 +-
.../examples/ec2/create-vpc-peering-connection.rst | 15 +-
awscli/examples/ec2/create-vpc.rst | 57 +-
awscli/examples/ec2/create-vpn-connection.rst | 36 +-
awscli/examples/ec2/create-vpn-gateway.rst | 21 +
awscli/examples/ec2/delete-fpga-image.rst | 13 +
.../ec2/delete-launch-template-versions.rst | 20 +
awscli/examples/ec2/delete-launch-template.rst | 20 +
...elete-vpc-endpoint-connection-notifications.rst | 13 +
.../delete-vpc-endpoint-service-configurations.rst | 13 +
awscli/examples/ec2/describe-elastic-gpus.rst | 5 +
.../examples/ec2/describe-fpga-image-attribute.rst | 20 +
awscli/examples/ec2/describe-fpga-images.rst | 34 ++
.../ec2/describe-host-reservation-offerings.rst | 62 +++
awscli/examples/ec2/describe-host-reservations.rst | 30 +
.../describe-instance-credit-specifications.rst | 18 +
.../ec2/describe-launch-template-versions.rst | 83 +++
awscli/examples/ec2/describe-launch-templates.rst | 46 ++
awscli/examples/ec2/describe-nat-gateways.rst | 19 +-
awscli/examples/ec2/describe-security-groups.rst | 1 +
.../ec2/describe-stale-security-groups.rst | 3 +-
...cribe-vpc-endpoint-connection-notifications.rst | 27 +
.../ec2/describe-vpc-endpoint-connections.rst | 21 +
...escribe-vpc-endpoint-service-configurations.rst | 34 ++
.../describe-vpc-endpoint-service-permissions.rst | 18 +
.../ec2/describe-vpc-endpoint-services.rst | 168 +++++-
awscli/examples/ec2/describe-vpc-endpoints.rst | 67 ++-
awscli/examples/ec2/describe-vpcs.rst | 40 +-
awscli/examples/ec2/describe-vpn-connections.rst | 61 ++-
.../examples/ec2/disassociate-vpc-cidr-block.rst | 21 +
.../ec2/get-host-reservation-purchase-preview.rst | 26 +
awscli/examples/ec2/get-launch-template-data.rst | 51 ++
.../ec2/get-reserved-instances-exchange-quote.rst | 49 ++
.../examples/ec2/modify-fpga-image-attribute.rst | 20 +
.../ec2/modify-instance-credit-specification.rst | 18 +
awscli/examples/ec2/modify-launch-template.rst | 20 +
awscli/examples/ec2/modify-reserved-instances.rst | 6 +-
...modify-vpc-endpoint-connection-notification.rst | 13 +
.../modify-vpc-endpoint-service-configuration.rst | 13 +
.../modify-vpc-endpoint-service-permissions.rst | 19 +
awscli/examples/ec2/modify-vpc-endpoint.rst | 18 +-
awscli/examples/ec2/modify-vpc-tenancy.rst | 13 +
awscli/examples/ec2/purchase-host-reservation.rst | 27 +
.../ec2/reject-vpc-endpoint-connections.rst | 13 +
awscli/examples/ec2/replace-route.rst | 2 +-
awscli/examples/ec2/reset-fpga-image-attribute.rst | 13 +
awscli/examples/ec2/run-instances.rst | 10 +-
...ate-security-group-rule-descriptions-egress.rst | 7 +
...te-security-group-rule-descriptions-ingress.rst | 7 +
.../examples/ecr/get-lifecycle-policy-preview.rst | 21 +
awscli/examples/ecr/get-lifecycle-policy.rst | 16 +
awscli/examples/ecr/put-lifecycle-policy.rst | 36 ++
.../ecr/start-lifecycle-policy-preview.rst | 37 ++
awscli/examples/ecs/list-container-instances.rst | 4 +-
.../examples/elbv2/add-listener-certificates.rst | 18 +
awscli/examples/elbv2/create-listener.rst | 41 +-
awscli/examples/elbv2/create-load-balancer.rst | 114 ++--
awscli/examples/elbv2/create-rule.rst | 48 +-
awscli/examples/elbv2/create-target-group.rst | 63 ++-
awscli/examples/elbv2/describe-account-limits.rst | 46 ++
.../elbv2/describe-listener-certificates.rst | 26 +
awscli/examples/elbv2/describe-listeners.rst | 6 +-
awscli/examples/elbv2/describe-load-balancers.rst | 38 +-
awscli/examples/elbv2/describe-rules.rst | 41 +-
awscli/examples/elbv2/describe-target-groups.rst | 25 +-
awscli/examples/elbv2/register-targets.rst | 10 +-
.../elbv2/remove-listener-certificates.rst | 7 +
awscli/examples/elbv2/set-ip-address-type.rst | 13 +
awscli/examples/emr/add-steps.rst | 4 +-
awscli/examples/emr/create-cluster-examples.rst | 19 +
awscli/examples/emr/create-cluster-synopsis.rst | 1 +
.../examples/emr/create-security-configuration.rst | 58 ++
awscli/examples/iam/list-group-policies.rst | 2 +-
awscli/examples/iam/list-mfa-devices.rst | 4 +-
awscli/examples/opsworkscm/associate-node.rst | 2 +-
awscli/examples/opsworkscm/disassociate-node.rst | 2 +-
awscli/examples/organizations/create-policy.rst | 4 +-
.../list-organizational-units-for-parent.rst | 2 +-
awscli/examples/s3/_concepts.rst | 2 +-
awscli/examples/s3/cp.rst | 4 +-
awscli/examples/s3/ls.rst | 6 +-
awscli/examples/s3/mv.rst | 4 +-
awscli/examples/s3/sync.rst | 4 +-
awscli/examples/s3api/get-object.rst | 4 +
awscli/examples/ses/send-email.rst | 4 +-
awscli/examples/ses/send-raw-email.rst | 4 +-
awscli/examples/ssm/get-parameters.rst | 20 +
awscli/examples/ssm/put-parameter.rst | 10 +-
awscli/handlers.py | 8 +
awscli/paramfile.py | 20 +
awscli/table.py | 10 +-
awscli/testutils.py | 45 +-
awscli/topics/config-vars.rst | 105 +++-
awscli/topics/s3-config.rst | 33 +-
awscli/utils.py | 47 ++
setup.cfg | 4 +-
setup.py | 4 +-
184 files changed, 5374 insertions(+), 689 deletions(-)
diff --git a/PKG-INFO b/PKG-INFO
index 6445b80..54545b7 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,11 +1,12 @@
Metadata-Version: 1.1
Name: awscli
-Version: 1.11.139
+Version: 1.14.32
Summary: Universal Command Line Environment for AWS.
Home-page: http://aws.amazon.com/cli/
Author: Amazon Web Services
Author-email: UNKNOWN
License: Apache License 2.0
+Description-Content-Type: UNKNOWN
Description: =======
aws-cli
=======
@@ -76,9 +77,7 @@ Description: =======
CLI Releases
------------
- The release notes for the AWS CLI can be found `here <http://aws.amazon.com/releasenotes/CLI>`__.
- You can also find a `CHANGELOG <https://github.com/aws/aws-cli/blob/develop/CHANGELOG.rst>`__
- in the github repo.
+ The release notes for the AWS CLI can be found `here <https://github.com/aws/aws-cli/blob/develop/CHANGELOG.rst>`__.
------------------
diff --git a/README.rst b/README.rst
index 86d1210..b8f9bd4 100644
--- a/README.rst
+++ b/README.rst
@@ -68,9 +68,7 @@ If you want to run the ``develop`` branch of the CLI, see the
CLI Releases
------------
-The release notes for the AWS CLI can be found `here <http://aws.amazon.com/releasenotes/CLI>`__.
-You can also find a `CHANGELOG <https://github.com/aws/aws-cli/blob/develop/CHANGELOG.rst>`__
-in the github repo.
+The release notes for the AWS CLI can be found `here <https://github.com/aws/aws-cli/blob/develop/CHANGELOG.rst>`__.
------------------
diff --git a/awscli.egg-info/PKG-INFO b/awscli.egg-info/PKG-INFO
index 6445b80..54545b7 100644
--- a/awscli.egg-info/PKG-INFO
+++ b/awscli.egg-info/PKG-INFO
@@ -1,11 +1,12 @@
Metadata-Version: 1.1
Name: awscli
-Version: 1.11.139
+Version: 1.14.32
Summary: Universal Command Line Environment for AWS.
Home-page: http://aws.amazon.com/cli/
Author: Amazon Web Services
Author-email: UNKNOWN
License: Apache License 2.0
+Description-Content-Type: UNKNOWN
Description: =======
aws-cli
=======
@@ -76,9 +77,7 @@ Description: =======
CLI Releases
------------
- The release notes for the AWS CLI can be found `here <http://aws.amazon.com/releasenotes/CLI>`__.
- You can also find a `CHANGELOG <https://github.com/aws/aws-cli/blob/develop/CHANGELOG.rst>`__
- in the github repo.
+ The release notes for the AWS CLI can be found `here <https://github.com/aws/aws-cli/blob/develop/CHANGELOG.rst>`__.
------------------
diff --git a/awscli.egg-info/SOURCES.txt b/awscli.egg-info/SOURCES.txt
index ac4d31a..90df474 100644
--- a/awscli.egg-info/SOURCES.txt
+++ b/awscli.egg-info/SOURCES.txt
@@ -64,6 +64,8 @@ awscli/customizations/removals.py
awscli/customizations/route53.py
awscli/customizations/s3endpoint.py
awscli/customizations/s3errormsg.py
+awscli/customizations/s3uploader.py
+awscli/customizations/sagemaker.py
awscli/customizations/scalarparse.py
awscli/customizations/sessendemail.py
awscli/customizations/streamingoutputarg.py
@@ -76,7 +78,6 @@ awscli/customizations/cloudformation/deploy.py
awscli/customizations/cloudformation/deployer.py
awscli/customizations/cloudformation/exceptions.py
awscli/customizations/cloudformation/package.py
-awscli/customizations/cloudformation/s3uploader.py
awscli/customizations/cloudformation/yamlhelper.py
awscli/customizations/cloudtrail/__init__.py
awscli/customizations/cloudtrail/subscribe.py
@@ -149,6 +150,12 @@ awscli/customizations/emr/terminateclusters.py
awscli/customizations/gamelift/__init__.py
awscli/customizations/gamelift/getlog.py
awscli/customizations/gamelift/uploadbuild.py
+awscli/customizations/history/__init__.py
+awscli/customizations/history/commands.py
+awscli/customizations/history/constants.py
+awscli/customizations/history/db.py
+awscli/customizations/history/list.py
+awscli/customizations/history/show.py
awscli/customizations/s3/__init__.py
awscli/customizations/s3/comparator.py
awscli/customizations/s3/fileformat.py
@@ -168,6 +175,14 @@ awscli/customizations/s3/syncstrategy/delete.py
awscli/customizations/s3/syncstrategy/exacttimestamps.py
awscli/customizations/s3/syncstrategy/register.py
awscli/customizations/s3/syncstrategy/sizeonly.py
+awscli/customizations/servicecatalog/__init__.py
+awscli/customizations/servicecatalog/exceptions.py
+awscli/customizations/servicecatalog/generate.py
+awscli/customizations/servicecatalog/generatebase.py
+awscli/customizations/servicecatalog/generateproduct.py
+awscli/customizations/servicecatalog/generateprovisioningartifact.py
+awscli/customizations/servicecatalog/helptext.py
+awscli/customizations/servicecatalog/utils.py
awscli/data/cli.json
awscli/examples/acm/add-tags-to-certificate.rst
awscli/examples/acm/delete-certificate.rst
@@ -341,6 +356,16 @@ awscli/examples/batch/submit-job.rst
awscli/examples/batch/terminate-job.rst
awscli/examples/batch/update-compute-environment.rst
awscli/examples/batch/update-job-queue.rst
+awscli/examples/cloud9/create-environment-ec2.rst
+awscli/examples/cloud9/create-environment-membership.rst
+awscli/examples/cloud9/delete-environment-membership.rst
+awscli/examples/cloud9/delete-environment.rst
+awscli/examples/cloud9/describe-environment-memberships.rst
+awscli/examples/cloud9/describe-environment-status.rst
+awscli/examples/cloud9/describe-environments.rst
+awscli/examples/cloud9/list-environments.rst
+awscli/examples/cloud9/update-environment-membership.rst
+awscli/examples/cloud9/update-environment.rst
awscli/examples/cloudformation/_deploy_description.rst
awscli/examples/cloudformation/_package_description.rst
awscli/examples/cloudformation/cancel-update-stack.rst
@@ -443,6 +468,7 @@ awscli/examples/configservice/start-configuration-recorder.rst
awscli/examples/configservice/stop-configuration-recorder.rst
awscli/examples/configservice/subscribe.rst
awscli/examples/configure/_description.rst
+awscli/examples/configure/add-model.rst
awscli/examples/configure/get/_description.rst
awscli/examples/configure/get/_examples.rst
awscli/examples/configure/set/_description.rst
@@ -495,6 +521,11 @@ awscli/examples/deploy/stop-deployment.rst
awscli/examples/deploy/uninstall.rst
awscli/examples/deploy/update-application.rst
awscli/examples/deploy/update-deployment-group.rst
+awscli/examples/devicefarm/create-device-pool.rst
+awscli/examples/devicefarm/create-project.rst
+awscli/examples/devicefarm/create-upload.rst
+awscli/examples/devicefarm/get-upload.rst
+awscli/examples/devicefarm/list-projects.rst
awscli/examples/directconnect/allocate-connection-on-interconnect.rst
awscli/examples/directconnect/allocate-hosted-connection.rst
awscli/examples/directconnect/allocate-private-virtual-interface.rst
@@ -507,18 +538,25 @@ awscli/examples/directconnect/confirm-private-virtual-interface.rst
awscli/examples/directconnect/confirm-public-virtual-interface.rst
awscli/examples/directconnect/create-bgp-peer.rst
awscli/examples/directconnect/create-connection.rst
+awscli/examples/directconnect/create-direct-connect-gateway-association.rst
+awscli/examples/directconnect/create-direct-connect-gateway.rst
awscli/examples/directconnect/create-interconnect.rst
awscli/examples/directconnect/create-lag.rst
awscli/examples/directconnect/create-private-virtual-interface.rst
awscli/examples/directconnect/create-public-virtual-interface.rst
awscli/examples/directconnect/delete-bgp-peer.rst
awscli/examples/directconnect/delete-connection.rst
+awscli/examples/directconnect/delete-direct-connect-gateway-association.rst
+awscli/examples/directconnect/delete-direct-connect-gateway.rst
awscli/examples/directconnect/delete-interconnect.rst
awscli/examples/directconnect/delete-lag.rst
awscli/examples/directconnect/delete-virtual-interface.rst
awscli/examples/directconnect/describe-connection-loa.rst
awscli/examples/directconnect/describe-connections-on-interconnect.rst
awscli/examples/directconnect/describe-connections.rst
+awscli/examples/directconnect/describe-direct-connect-gateway-associations.rst
+awscli/examples/directconnect/describe-direct-connect-gateway-attachments.rst
+awscli/examples/directconnect/describe-direct-connect-gateways.rst
awscli/examples/directconnect/describe-hosted-connections.rst
awscli/examples/directconnect/describe-interconnect-loa.rst
awscli/examples/directconnect/describe-interconnects.rst
@@ -553,6 +591,8 @@ awscli/examples/dynamodb/query.rst
awscli/examples/dynamodb/scan.rst
awscli/examples/dynamodb/update-item.rst
awscli/examples/dynamodb/update-table.rst
+awscli/examples/ec2/accept-reserved-instances-exchange-quote.rst
+awscli/examples/ec2/accept-vpc-endpoint-connections.rst
awscli/examples/ec2/accept-vpc-peering-connection.rst
awscli/examples/ec2/allocate-address.rst
awscli/examples/ec2/allocate-hosts.rst
@@ -578,17 +618,22 @@ awscli/examples/ec2/cancel-export-task.rst
awscli/examples/ec2/cancel-spot-fleet-requests.rst
awscli/examples/ec2/cancel-spot-instance-requests.rst
awscli/examples/ec2/confirm-product-instance.rst
+awscli/examples/ec2/copy-fpga-image.rst
awscli/examples/ec2/copy-image.rst
awscli/examples/ec2/copy-snapshot.rst
awscli/examples/ec2/create-customer-gateway.rst
+awscli/examples/ec2/create-default-subnet.rst
awscli/examples/ec2/create-default-vpc.rst
awscli/examples/ec2/create-dhcp-options.rst
awscli/examples/ec2/create-egress-only-internet-gateway.rst
awscli/examples/ec2/create-flow-logs.rst
+awscli/examples/ec2/create-fpga-image.rst
awscli/examples/ec2/create-image.rst
awscli/examples/ec2/create-instance-export-task.rst
awscli/examples/ec2/create-internet-gateway.rst
awscli/examples/ec2/create-key-pair.rst
+awscli/examples/ec2/create-launch-template-version.rst
+awscli/examples/ec2/create-launch-template.rst
awscli/examples/ec2/create-nat-gateway.rst
awscli/examples/ec2/create-network-acl-entry.rst
awscli/examples/ec2/create-network-acl.rst
@@ -603,6 +648,8 @@ awscli/examples/ec2/create-spot-datafeed-subscription.rst
awscli/examples/ec2/create-subnet.rst
awscli/examples/ec2/create-tags.rst
awscli/examples/ec2/create-volume.rst
+awscli/examples/ec2/create-vpc-endpoint-connection-notification.rst
+awscli/examples/ec2/create-vpc-endpoint-service-configuration.rst
awscli/examples/ec2/create-vpc-endpoint.rst
awscli/examples/ec2/create-vpc-peering-connection.rst
awscli/examples/ec2/create-vpc.rst
@@ -613,8 +660,11 @@ awscli/examples/ec2/delete-customer-gateway.rst
awscli/examples/ec2/delete-dhcp-options.rst
awscli/examples/ec2/delete-egress-only-internet-gateway.rst
awscli/examples/ec2/delete-flow-logs.rst
+awscli/examples/ec2/delete-fpga-image.rst
awscli/examples/ec2/delete-internet-gateway.rst
awscli/examples/ec2/delete-key-pair.rst
+awscli/examples/ec2/delete-launch-template-versions.rst
+awscli/examples/ec2/delete-launch-template.rst
awscli/examples/ec2/delete-nat-gateway.rst
awscli/examples/ec2/delete-network-acl-entry.rst
awscli/examples/ec2/delete-network-acl.rst
@@ -629,6 +679,8 @@ awscli/examples/ec2/delete-spot-datafeed-subscription.rst
awscli/examples/ec2/delete-subnet.rst
awscli/examples/ec2/delete-tags.rst
awscli/examples/ec2/delete-volume.rst
+awscli/examples/ec2/delete-vpc-endpoint-connection-notifications.rst
+awscli/examples/ec2/delete-vpc-endpoint-service-configurations.rst
awscli/examples/ec2/delete-vpc-endpoints.rst
awscli/examples/ec2/delete-vpc-peering-connection.rst
awscli/examples/ec2/delete-vpc.rst
@@ -645,8 +697,13 @@ awscli/examples/ec2/describe-conversion-tasks.rst
awscli/examples/ec2/describe-customer-gateways.rst
awscli/examples/ec2/describe-dhcp-options.rst
awscli/examples/ec2/describe-egress-only-internet-gateways.rst
+awscli/examples/ec2/describe-elastic-gpus.rst
awscli/examples/ec2/describe-export-tasks.rst
awscli/examples/ec2/describe-flow-logs.rst
+awscli/examples/ec2/describe-fpga-image-attribute.rst
+awscli/examples/ec2/describe-fpga-images.rst
+awscli/examples/ec2/describe-host-reservation-offerings.rst
+awscli/examples/ec2/describe-host-reservations.rst
awscli/examples/ec2/describe-hosts.rst
awscli/examples/ec2/describe-iam-instance-profile-associations.rst
awscli/examples/ec2/describe-id-format.rst
@@ -654,10 +711,13 @@ awscli/examples/ec2/describe-identity-id-format.rst
awscli/examples/ec2/describe-image-attribute.rst
awscli/examples/ec2/describe-images.rst
awscli/examples/ec2/describe-instance-attribute.rst
+awscli/examples/ec2/describe-instance-credit-specifications.rst
awscli/examples/ec2/describe-instance-status.rst
awscli/examples/ec2/describe-instances.rst
awscli/examples/ec2/describe-internet-gateways.rst
awscli/examples/ec2/describe-key-pairs.rst
+awscli/examples/ec2/describe-launch-template-versions.rst
+awscli/examples/ec2/describe-launch-templates.rst
awscli/examples/ec2/describe-moving-addresses.rst
awscli/examples/ec2/describe-nat-gateways.rst
awscli/examples/ec2/describe-network-acls.rst
@@ -692,6 +752,10 @@ awscli/examples/ec2/describe-volumes.rst
awscli/examples/ec2/describe-vpc-attribute.rst
awscli/examples/ec2/describe-vpc-classic-link-dns-support.rst
awscli/examples/ec2/describe-vpc-classic-link.rst
+awscli/examples/ec2/describe-vpc-endpoint-connection-notifications.rst
+awscli/examples/ec2/describe-vpc-endpoint-connections.rst
+awscli/examples/ec2/describe-vpc-endpoint-service-configurations.rst
+awscli/examples/ec2/describe-vpc-endpoint-service-permissions.rst
awscli/examples/ec2/describe-vpc-endpoint-services.rst
awscli/examples/ec2/describe-vpc-endpoints.rst
awscli/examples/ec2/describe-vpc-peering-connections.rst
@@ -716,14 +780,20 @@ awscli/examples/ec2/enable-volume-io.rst
awscli/examples/ec2/enable-vpc-classic-link-dns-support.rst
awscli/examples/ec2/enable-vpc-classic-link.rst
awscli/examples/ec2/get-console-output.rst
+awscli/examples/ec2/get-host-reservation-purchase-preview.rst
+awscli/examples/ec2/get-launch-template-data.rst
awscli/examples/ec2/get-password-data.rst
+awscli/examples/ec2/get-reserved-instances-exchange-quote.rst
awscli/examples/ec2/import-key-pair.rst
+awscli/examples/ec2/modify-fpga-image-attribute.rst
awscli/examples/ec2/modify-hosts.rst
awscli/examples/ec2/modify-id-format.rst
awscli/examples/ec2/modify-identity-id-format.rst
awscli/examples/ec2/modify-image-attribute.rst
awscli/examples/ec2/modify-instance-attribute.rst
+awscli/examples/ec2/modify-instance-credit-specification.rst
awscli/examples/ec2/modify-instance-placement.rst
+awscli/examples/ec2/modify-launch-template.rst
awscli/examples/ec2/modify-network-interface-attribute.rst
awscli/examples/ec2/modify-reserved-instances.rst
awscli/examples/ec2/modify-snapshot-attribute.rst
@@ -731,14 +801,20 @@ awscli/examples/ec2/modify-spot-fleet-request.rst
awscli/examples/ec2/modify-subnet-attribute.rst
awscli/examples/ec2/modify-volume-attribute.rst
awscli/examples/ec2/modify-vpc-attribute.rst
+awscli/examples/ec2/modify-vpc-endpoint-connection-notification.rst
+awscli/examples/ec2/modify-vpc-endpoint-service-configuration.rst
+awscli/examples/ec2/modify-vpc-endpoint-service-permissions.rst
awscli/examples/ec2/modify-vpc-endpoint.rst
awscli/examples/ec2/modify-vpc-peering-connection-options.rst
+awscli/examples/ec2/modify-vpc-tenancy.rst
awscli/examples/ec2/monitor-instances.rst
awscli/examples/ec2/move-address-to-vpc.rst
+awscli/examples/ec2/purchase-host-reservation.rst
awscli/examples/ec2/purchase-reserved-instances-offering.rst
awscli/examples/ec2/purchase-scheduled-instances.rst
awscli/examples/ec2/reboot-instances.rst
awscli/examples/ec2/register-image.rst
+awscli/examples/ec2/reject-vpc-endpoint-connections.rst
awscli/examples/ec2/reject-vpc-peering-connection.rst
awscli/examples/ec2/release-address.rst
awscli/examples/ec2/release-hosts.rst
@@ -750,6 +826,7 @@ awscli/examples/ec2/replace-route.rst
awscli/examples/ec2/report-instance-status.rst
awscli/examples/ec2/request-spot-fleet.rst
awscli/examples/ec2/request-spot-instances.rst
+awscli/examples/ec2/reset-fpga-image-attribute.rst
awscli/examples/ec2/reset-image-attribute.rst
awscli/examples/ec2/reset-instance-attribute.rst
awscli/examples/ec2/reset-snapshot-attribute.rst
@@ -764,14 +841,20 @@ awscli/examples/ec2/terminate-instances.rst
awscli/examples/ec2/unassign-ipv6-addresses.rst
awscli/examples/ec2/unassign-private-ip-addresses.rst
awscli/examples/ec2/unmonitor-instances.rst
+awscli/examples/ec2/update-security-group-rule-descriptions-egress.rst
+awscli/examples/ec2/update-security-group-rule-descriptions-ingress.rst
awscli/examples/ecr/batch-delete-image.rst
awscli/examples/ecr/batch-get-image.rst
awscli/examples/ecr/create-repository.rst
awscli/examples/ecr/delete-repository.rst
awscli/examples/ecr/describe-repositories.rst
awscli/examples/ecr/get-authorization-token.rst
+awscli/examples/ecr/get-lifecycle-policy-preview.rst
+awscli/examples/ecr/get-lifecycle-policy.rst
awscli/examples/ecr/get-login.rst
awscli/examples/ecr/get-login_description.rst
+awscli/examples/ecr/put-lifecycle-policy.rst
+awscli/examples/ecr/start-lifecycle-policy-preview.rst
awscli/examples/ecs/create-cluster.rst
awscli/examples/ecs/create-service.rst
awscli/examples/ecs/delete-cluster.rst
@@ -856,6 +939,7 @@ awscli/examples/elb/remove-tags.rst
awscli/examples/elb/set-load-balancer-listener-ssl-certificate.rst
awscli/examples/elb/set-load-balancer-policies-for-backend-server.rst
awscli/examples/elb/set-load-balancer-policies-of-listener.rst
+awscli/examples/elbv2/add-listener-certificates.rst
awscli/examples/elbv2/add-tags.rst
awscli/examples/elbv2/create-listener.rst
awscli/examples/elbv2/create-load-balancer.rst
@@ -866,6 +950,8 @@ awscli/examples/elbv2/delete-load-balancer.rst
awscli/examples/elbv2/delete-rule.rst
awscli/examples/elbv2/delete-target-group.rst
awscli/examples/elbv2/deregister-targets.rst
+awscli/examples/elbv2/describe-account-limits.rst
+awscli/examples/elbv2/describe-listener-certificates.rst
awscli/examples/elbv2/describe-listeners.rst
awscli/examples/elbv2/describe-load-balancer-attributes.rst
awscli/examples/elbv2/describe-load-balancers.rst
@@ -881,7 +967,9 @@ awscli/examples/elbv2/modify-rule.rst
awscli/examples/elbv2/modify-target-group-attributes.rst
awscli/examples/elbv2/modify-target-group.rst
awscli/examples/elbv2/register-targets.rst
+awscli/examples/elbv2/remove-listener-certificates.rst
awscli/examples/elbv2/remove-tags.rst
+awscli/examples/elbv2/set-ip-address-type.rst
awscli/examples/elbv2/set-rule-priorities.rst
awscli/examples/elbv2/set-security-groups.rst
awscli/examples/elbv2/set-subnets.rst
diff --git a/awscli.egg-info/requires.txt b/awscli.egg-info/requires.txt
index b39912f..df29649 100644
--- a/awscli.egg-info/requires.txt
+++ b/awscli.egg-info/requires.txt
@@ -1,8 +1,8 @@
-botocore==1.6.6
+botocore==1.8.36
colorama<=0.3.7,>=0.2.5
docutils>=0.10
rsa<=3.5.0,>=3.1.2
-s3transfer<0.2.0,>=0.1.9
+s3transfer<0.2.0,>=0.1.12
PyYAML<=3.12,>=3.10
[:python_version=="2.6"]
diff --git a/awscli/__init__.py b/awscli/__init__.py
index 63c1c1b..2537d55 100644
--- a/awscli/__init__.py
+++ b/awscli/__init__.py
@@ -17,7 +17,7 @@ A Universal Command Line Environment for Amazon Web Services.
"""
import os
-__version__ = '1.11.139'
+__version__ = '1.14.32'
#
# Get our data path to be added to botocore's search path
diff --git a/awscli/clidocs.py b/awscli/clidocs.py
index 38102d8..a166ecd 100644
--- a/awscli/clidocs.py
+++ b/awscli/clidocs.py
@@ -340,6 +340,16 @@ class OperationDocumentEventHandler(CLIDocumentEventHandler):
doc.style.h2('Description')
doc.include_doc_string(operation_model.documentation)
self._add_webapi_crosslink(help_command)
+ self._add_top_level_args_reference(help_command)
+
+ def _add_top_level_args_reference(self, help_command):
+ help_command.doc.writeln('')
+ help_command.doc.write("See ")
+ help_command.doc.style.internal_link(
+ title="'aws help'",
+ page='/reference/index'
+ )
+ help_command.doc.writeln(' for descriptions of global parameters.')
def _add_webapi_crosslink(self, help_command):
doc = help_command.doc
@@ -416,12 +426,12 @@ class OperationDocumentEventHandler(CLIDocumentEventHandler):
doc.style.dedent()
doc.write('}')
elif argument_model.type_name == 'structure':
- doc.write('{')
- doc.style.indent()
- doc.style.new_line()
self._doc_input_structure_members(doc, argument_model, stack)
def _doc_input_structure_members(self, doc, argument_model, stack):
+ doc.write('{')
+ doc.style.indent()
+ doc.style.new_line()
members = argument_model.members
for i, member_name in enumerate(members):
member_model = members[member_name]
@@ -441,9 +451,8 @@ class OperationDocumentEventHandler(CLIDocumentEventHandler):
if i < len(members) - 1:
doc.write(',')
doc.style.new_line()
- else:
- doc.style.dedent()
- doc.style.new_line()
+ doc.style.dedent()
+ doc.style.new_line()
doc.write('}')
def doc_option_example(self, arg_name, help_command, event_name, **kwargs):
@@ -562,6 +571,9 @@ class OperationDocumentEventHandler(CLIDocumentEventHandler):
doc.style.dedent()
doc.style.new_paragraph()
+ def doc_options_end(self, help_command, **kwargs):
+ self._add_top_level_args_reference(help_command)
+
class TopicListerDocumentEventHandler(CLIDocumentEventHandler):
DESCRIPTION = (
diff --git a/awscli/clidriver.py b/awscli/clidriver.py
index cf4b12e..c113642 100644
--- a/awscli/clidriver.py
+++ b/awscli/clidriver.py
@@ -21,6 +21,7 @@ from botocore import xform_name
from botocore.compat import copy_kwargs, OrderedDict
from botocore.exceptions import NoCredentialsError
from botocore.exceptions import NoRegionError
+from botocore.history import get_global_history_recorder
from awscli import EnvironmentVariables, __version__
from awscli.compat import get_stderr_text_writer
@@ -44,16 +45,20 @@ from awscli.argprocess import unpack_argument
from awscli.alias import AliasLoader
from awscli.alias import AliasCommandInjector
from awscli.utils import emit_top_level_args_parsed_event
+from awscli.utils import write_exception
LOG = logging.getLogger('awscli.clidriver')
LOG_FORMAT = (
'%(asctime)s - %(threadName)s - %(name)s - %(levelname)s - %(message)s')
+HISTORY_RECORDER = get_global_history_recorder()
def main():
driver = create_clidriver()
- return driver.main()
+ rc = driver.main()
+ HISTORY_RECORDER.record('CLI_RC', rc, 'CLI')
+ return rc
def create_clidriver():
@@ -196,7 +201,10 @@ class CLIDriver(object):
# general exception handling logic as calling into the
# command table. This is why it's in the try/except clause.
self._handle_top_level_args(parsed_args)
- self._emit_session_event()
+ self._emit_session_event(parsed_args)
+ HISTORY_RECORDER.record(
+ 'CLI_VERSION', self.session.user_agent(), 'CLI')
+ HISTORY_RECORDER.record('CLI_ARGUMENTS', args, 'CLI')
return command_table[parsed_args.command](remaining, parsed_args)
except UnknownArgumentError as e:
sys.stderr.write("usage: %s\n" % USAGE)
@@ -222,19 +230,18 @@ class CLIDriver(object):
except Exception as e:
LOG.debug("Exception caught in main()", exc_info=True)
LOG.debug("Exiting with rc 255")
- err = get_stderr_text_writer()
- err.write("\n")
- err.write(six.text_type(e))
- err.write("\n")
+ write_exception(e, outfile=get_stderr_text_writer())
return 255
- def _emit_session_event(self):
+ def _emit_session_event(self, parsed_args):
# This event is guaranteed to run after the session has been
# initialized and a profile has been set. This was previously
# problematic because if something in CLIDriver caused the
# session components to be reset (such as session.profile = foo)
# then all the prior registered components would be removed.
- self.session.emit('session-initialized', session=self.session)
+ self.session.emit(
+ 'session-initialized', session=self.session,
+ parsed_args=parsed_args)
def _show_error(self, msg):
LOG.debug(msg, exc_info=True)
@@ -425,6 +432,8 @@ class ServiceOperation(object):
self._lineage = [self]
self._operation_model = operation_model
self._session = session
+ if operation_model.deprecated:
+ self._UNDOCUMENTED = True
@property
def name(self):
@@ -557,7 +566,8 @@ class ServiceOperation(object):
cli_arg_name = xform_name(arg_name, '-')
arg_class = self.ARG_TYPES.get(arg_shape.type_name,
self.DEFAULT_ARG_CLASS)
- is_required = arg_name in required_arguments
+ is_token = arg_shape.metadata.get('idempotencyToken', False)
+ is_required = arg_name in required_arguments and not is_token
event_emitter = self._session.get_component('event_emitter')
arg_object = arg_class(
name=cli_arg_name,
diff --git a/awscli/compat.py b/awscli/compat.py
index 19bf70a..a4edc9b 100644
--- a/awscli/compat.py
+++ b/awscli/compat.py
@@ -11,7 +11,9 @@
# ANY KIND, either express or implied. See the License for the specific
# language governing permissions and limitations under the License.
import sys
+import shlex
import os
+import platform
import zipfile
from botocore.compat import six
@@ -25,7 +27,9 @@ PY3 = six.PY3
queue = six.moves.queue
shlex_quote = six.moves.shlex_quote
StringIO = six.StringIO
+BytesIO = six.BytesIO
urlopen = six.moves.urllib.request.urlopen
+binary_type = six.binary_type
# Most, but not all, python installations will have zlib. This is required to
# compress any files we send via a push. If we can't compress, we can still
@@ -37,6 +41,29 @@ except ImportError:
ZIP_COMPRESSION_MODE = zipfile.ZIP_STORED
+try:
+ import sqlite3
+except ImportError:
+ sqlite3 = None
+
+
+is_windows = sys.platform == 'win32'
+
+
+if is_windows:
+ default_pager = 'more'
+else:
+ default_pager = 'less -R'
+
+
+class StdinMissingError(Exception):
+ def __init__(self):
+ message = (
+ 'stdin is required for this operation, but is not available.'
+ )
+ super(StdinMissingError, self).__init__(message)
+
+
class NonTranslatedStdout(object):
""" This context manager sets the line-end translation mode for stdout.
@@ -57,6 +84,7 @@ class NonTranslatedStdout(object):
import msvcrt
msvcrt.setmode(sys.stdout.fileno(), self.previous_mode)
+
def ensure_text_type(s):
if isinstance(s, six.text_type):
return s
@@ -64,6 +92,7 @@ def ensure_text_type(s):
return s.decode('utf-8')
raise ValueError("Expected str, unicode or bytes, received %s." % type(s))
+
if six.PY3:
import locale
import urllib.parse as urlparse
@@ -72,7 +101,13 @@ if six.PY3:
raw_input = input
- binary_stdin = sys.stdin.buffer
+ def get_binary_stdin():
+ if sys.stdin is None:
+ raise StdinMissingError()
+ return sys.stdin.buffer
+
+ def get_binary_stdout():
+ return sys.stdout.buffer
def _get_text_writer(stream, errors):
return stream
@@ -116,7 +151,13 @@ else:
raw_input = raw_input
- binary_stdin = sys.stdin
+ def get_binary_stdin():
+ if sys.stdin is None:
+ raise StdinMissingError()
+ return sys.stdin
+
+ def get_binary_stdout():
+ return sys.stdout
def _get_text_writer(stream, errors):
# In python3, all the sys.stdout/sys.stderr streams are in text
@@ -199,7 +240,7 @@ def compat_shell_quote(s, platform=None):
def _windows_shell_quote(s):
"""Return a Windows shell-escaped version of the string *s*
- Windows has potentially bizarre rules depending on where you look. When
+ Windows has potentially bizarre rules depending on where you look. When
spawning a process via the Windows C runtime the rules are as follows:
https://docs.microsoft.com/en-us/cpp/cpp/parsing-cpp-command-line-arguments
@@ -208,7 +249,7 @@ def _windows_shell_quote(s):
* Only space and tab are valid delimiters
* Double quotes are the only valid quotes
- * Backslash is interpreted literally unless it is part of a chain that
+ * Backslash is interpreted literally unless it is part of a chain that
leads up to a double quote. Then the backslashes escape the backslashes,
and if there is an odd number the final backslash escapes the quote.
@@ -257,3 +298,23 @@ def _windows_shell_quote(s):
# quoted.
return '"%s"' % new_s
return new_s
+
+
+def get_popen_kwargs_for_pager_cmd(pager_cmd=None):
+ """Returns the default pager to use dependent on platform
+
+ :rtype: str
+ :returns: A string represent the paging command to run based on the
+ platform being used.
+ """
+ popen_kwargs = {}
+ if pager_cmd is None:
+ pager_cmd = default_pager
+ # Similar to what we do with the help command, we need to specify
+ # shell as True to make it work in the pager for Windows
+ if is_windows:
+ popen_kwargs = {'shell': True}
+ else:
+ pager_cmd = shlex.split(pager_cmd)
+ popen_kwargs['args'] = pager_cmd
+ return popen_kwargs
diff --git a/awscli/customizations/argrename.py b/awscli/customizations/argrename.py
index 6ed8f8f..2b69cc9 100644
--- a/awscli/customizations/argrename.py
+++ b/awscli/customizations/argrename.py
@@ -67,6 +67,9 @@ ARGUMENT_RENAMES = {
'lex-models.delete-bot-version.version': 'bot-version',
'lex-models.delete-intent-version.version': 'intent-version',
'lex-models.delete-slot-type-version.version': 'slot-type-version',
+ 'lex-models.get-export.version': 'resource-version',
+ 'mobile.create-project.region': 'project-region',
+ 'rekognition.create-stream-processor.output': 'stream-processor-output',
}
# Same format as ARGUMENT_RENAMES, but instead of renaming the arguments,
diff --git a/awscli/customizations/assumerole.py b/awscli/customizations/assumerole.py
index ee9ce47..17172ef 100644
--- a/awscli/customizations/assumerole.py
+++ b/awscli/customizations/assumerole.py
@@ -1,10 +1,11 @@
import os
-import json
import logging
from botocore.exceptions import ProfileNotFound
+from botocore.credentials import JSONFileCache
LOG = logging.getLogger(__name__)
+CACHE_DIR = os.path.expanduser(os.path.join('~', '.aws', 'cli', 'cache'))
def register_assume_role_provider(event_handlers):
@@ -37,52 +38,4 @@ def inject_assume_role_provider_cache(session, **kwargs):
"JSONFileCache for assume-role.")
return
provider = cred_chain.get_provider('assume-role')
- provider.cache = JSONFileCache()
-
-
-class JSONFileCache(object):
- """JSON file cache.
-
- This provides a dict like interface that stores JSON serializable
- objects.
-
- The objects are serialized to JSON and stored in a file. These
- values can be retrieved at a later time.
-
- """
-
- CACHE_DIR = os.path.expanduser(os.path.join('~', '.aws', 'cli', 'cache'))
-
- def __init__(self, working_dir=CACHE_DIR):
- self._working_dir = working_dir
-
- def __contains__(self, cache_key):
- actual_key = self._convert_cache_key(cache_key)
- return os.path.isfile(actual_key)
-
- def __getitem__(self, cache_key):
- """Retrieve value from a cache key."""
- actual_key = self._convert_cache_key(cache_key)
- try:
- with open(actual_key) as f:
- return json.load(f)
- except (OSError, ValueError, IOError):
- raise KeyError(cache_key)
-
- def __setitem__(self, cache_key, value):
- full_key = self._convert_cache_key(cache_key)
- try:
- file_content = json.dumps(value)
- except (TypeError, ValueError):
- raise ValueError("Value cannot be cached, must be "
- "JSON serializable: %s" % value)
- if not os.path.isdir(self._working_dir):
- os.makedirs(self._working_dir)
- with os.fdopen(os.open(full_key,
- os.O_WRONLY | os.O_CREAT, 0o600), 'w') as f:
- f.truncate()
- f.write(file_content)
-
- def _convert_cache_key(self, cache_key):
- full_path = os.path.join(self._working_dir, cache_key + '.json')
- return full_path
+ provider.cache = JSONFileCache(CACHE_DIR)
diff --git a/awscli/customizations/cloudformation/artifact_exporter.py b/awscli/customizations/cloudformation/artifact_exporter.py
index 105557e..21b4f35 100644
--- a/awscli/customizations/cloudformation/artifact_exporter.py
+++ b/awscli/customizations/cloudformation/artifact_exporter.py
@@ -17,6 +17,7 @@ import tempfile
import zipfile
import contextlib
import uuid
+import shutil
from awscli.compat import six
from awscli.compat import urlparse
@@ -55,6 +56,12 @@ def is_local_file(path):
return is_path_value_valid(path) and os.path.isfile(path)
+def is_zip_file(path):
+ return (
+ is_path_value_valid(path) and
+ zipfile.is_zipfile(path))
... 8275 lines suppressed ...
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/awscli.git
More information about the Python-modules-commits
mailing list