gcloud 0.0.7 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/{packages/gcutil-1.7.1/lib/google_api_python_client/apiclient/ext/__init__.py → .gemtest} +0 -0
- data/.rubocop.yml +17 -0
- data/CHANGELOG.md +5 -0
- data/CONTRIBUTING.md +93 -0
- data/LICENSE +201 -674
- data/Manifest.txt +66 -0
- data/README.md +110 -12
- data/Rakefile +34 -3
- data/gcloud.gemspec +48 -17
- data/lib/gcloud.rb +8 -0
- data/lib/gcloud/backoff.rb +115 -0
- data/lib/gcloud/credentials.rb +124 -0
- data/lib/gcloud/datastore.rb +66 -0
- data/lib/gcloud/datastore/connection.rb +177 -0
- data/lib/gcloud/datastore/credentials.rb +41 -0
- data/lib/gcloud/datastore/dataset.rb +259 -0
- data/lib/gcloud/datastore/dataset/lookup_results.rb +60 -0
- data/lib/gcloud/datastore/dataset/query_results.rb +87 -0
- data/lib/gcloud/datastore/entity.rb +257 -0
- data/lib/gcloud/datastore/errors.rb +65 -0
- data/lib/gcloud/datastore/key.rb +151 -0
- data/lib/gcloud/datastore/properties.rb +102 -0
- data/lib/gcloud/datastore/proto.rb +253 -0
- data/lib/gcloud/datastore/query.rb +189 -0
- data/lib/gcloud/datastore/transaction.rb +116 -0
- data/lib/gcloud/proto/datastore_v1.pb.rb +377 -0
- data/lib/gcloud/storage.rb +78 -0
- data/lib/gcloud/storage/bucket.rb +254 -0
- data/lib/gcloud/storage/bucket/acl.rb +311 -0
- data/lib/gcloud/storage/bucket/list.rb +45 -0
- data/lib/gcloud/storage/connection.rb +358 -0
- data/{packages/gsutil/gslib/commands/__init__.py → lib/gcloud/storage/credentials.rb} +13 -2
- data/lib/gcloud/storage/errors.rb +78 -0
- data/lib/gcloud/storage/file.rb +287 -0
- data/lib/gcloud/storage/file/acl.rb +172 -0
- data/lib/gcloud/storage/file/list.rb +52 -0
- data/lib/gcloud/storage/file/verifier.rb +65 -0
- data/lib/gcloud/storage/project.rb +119 -0
- data/lib/gcloud/version.rb +5 -0
- data/{packages/gsutil/gslib/tests/testcase/__init__.py → rakelib/console.rake} +14 -4
- data/{packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/version.py → rakelib/manifest.rake} +11 -4
- data/{packages/gsutil/gslib/addlhelp/__init__.py → rakelib/proto.rake} +4 -2
- data/{packages/gsutil/gslib/tests/__init__.py → rakelib/rubocop.rake} +4 -2
- data/rakelib/test.rake +144 -0
- data/test/gcloud/datastore/proto/test_cursor.rb +36 -0
- data/test/gcloud/datastore/proto/test_direction.rb +60 -0
- data/test/gcloud/datastore/proto/test_operator.rb +76 -0
- data/test/gcloud/datastore/proto/test_value.rb +231 -0
- data/test/gcloud/datastore/test_connection.rb +93 -0
- data/test/gcloud/datastore/test_credentials.rb +38 -0
- data/test/gcloud/datastore/test_dataset.rb +413 -0
- data/test/gcloud/datastore/test_entity.rb +161 -0
- data/test/gcloud/datastore/test_entity_exclude.rb +225 -0
- data/test/gcloud/datastore/test_key.rb +189 -0
- data/test/gcloud/datastore/test_query.rb +271 -0
- data/test/gcloud/datastore/test_transaction.rb +121 -0
- data/test/gcloud/storage/test_backoff.rb +127 -0
- data/test/gcloud/storage/test_bucket.rb +270 -0
- data/test/gcloud/storage/test_bucket_acl.rb +253 -0
- data/test/gcloud/storage/test_default_acl.rb +256 -0
- data/test/gcloud/storage/test_file.rb +221 -0
- data/test/gcloud/storage/test_file_acl.rb +367 -0
- data/test/gcloud/storage/test_project.rb +180 -0
- data/{packages/gsutil/gslib/no_op_auth_plugin.py → test/gcloud/storage/test_storage.rb} +14 -15
- data/test/gcloud/storage/test_verifier.rb +62 -0
- data/test/gcloud/test_version.rb +8 -0
- data/test/helper.rb +91 -0
- metadata +259 -1020
- data.tar.gz.sig +0 -2
- data/CHANGELOG +0 -14
- data/Makefile +0 -13
- data/Manifest +0 -937
- data/TODO +0 -2
- data/bin/gcloud +0 -7
- data/bin/gcutil-symlink +0 -53
- data/bin/gsutil-symlink +0 -377
- data/init.rb +0 -3
- data/packages/README +0 -6
- data/packages/gcutil-1.7.1.tar.gz +0 -0
- data/packages/gcutil-1.7.1/CHANGELOG +0 -197
- data/packages/gcutil-1.7.1/LICENSE +0 -202
- data/packages/gcutil-1.7.1/VERSION +0 -1
- data/packages/gcutil-1.7.1/gcutil +0 -53
- data/packages/gcutil-1.7.1/lib/google_api_python_client/LICENSE +0 -23
- data/packages/gcutil-1.7.1/lib/google_api_python_client/apiclient/__init__.py +0 -1
- data/packages/gcutil-1.7.1/lib/google_api_python_client/apiclient/__init__.pyc +0 -0
- data/packages/gcutil-1.7.1/lib/google_api_python_client/apiclient/discovery.py +0 -743
- data/packages/gcutil-1.7.1/lib/google_api_python_client/apiclient/discovery.pyc +0 -0
- data/packages/gcutil-1.7.1/lib/google_api_python_client/apiclient/errors.py +0 -123
- data/packages/gcutil-1.7.1/lib/google_api_python_client/apiclient/errors.pyc +0 -0
- data/packages/gcutil-1.7.1/lib/google_api_python_client/apiclient/http.py +0 -1443
- data/packages/gcutil-1.7.1/lib/google_api_python_client/apiclient/http.pyc +0 -0
- data/packages/gcutil-1.7.1/lib/google_api_python_client/apiclient/mimeparse.py +0 -172
- data/packages/gcutil-1.7.1/lib/google_api_python_client/apiclient/mimeparse.pyc +0 -0
- data/packages/gcutil-1.7.1/lib/google_api_python_client/apiclient/model.py +0 -385
- data/packages/gcutil-1.7.1/lib/google_api_python_client/apiclient/model.pyc +0 -0
- data/packages/gcutil-1.7.1/lib/google_api_python_client/apiclient/schema.py +0 -303
- data/packages/gcutil-1.7.1/lib/google_api_python_client/apiclient/schema.pyc +0 -0
- data/packages/gcutil-1.7.1/lib/google_api_python_client/oauth2client/__init__.py +0 -1
- data/packages/gcutil-1.7.1/lib/google_api_python_client/oauth2client/__init__.pyc +0 -0
- data/packages/gcutil-1.7.1/lib/google_api_python_client/oauth2client/anyjson.py +0 -32
- data/packages/gcutil-1.7.1/lib/google_api_python_client/oauth2client/anyjson.pyc +0 -0
- data/packages/gcutil-1.7.1/lib/google_api_python_client/oauth2client/appengine.py +0 -528
- data/packages/gcutil-1.7.1/lib/google_api_python_client/oauth2client/client.py +0 -1139
- data/packages/gcutil-1.7.1/lib/google_api_python_client/oauth2client/client.pyc +0 -0
- data/packages/gcutil-1.7.1/lib/google_api_python_client/oauth2client/clientsecrets.py +0 -105
- data/packages/gcutil-1.7.1/lib/google_api_python_client/oauth2client/clientsecrets.pyc +0 -0
- data/packages/gcutil-1.7.1/lib/google_api_python_client/oauth2client/crypt.py +0 -244
- data/packages/gcutil-1.7.1/lib/google_api_python_client/oauth2client/crypt.pyc +0 -0
- data/packages/gcutil-1.7.1/lib/google_api_python_client/oauth2client/django_orm.py +0 -124
- data/packages/gcutil-1.7.1/lib/google_api_python_client/oauth2client/file.py +0 -107
- data/packages/gcutil-1.7.1/lib/google_api_python_client/oauth2client/locked_file.py +0 -343
- data/packages/gcutil-1.7.1/lib/google_api_python_client/oauth2client/locked_file.pyc +0 -0
- data/packages/gcutil-1.7.1/lib/google_api_python_client/oauth2client/multistore_file.py +0 -379
- data/packages/gcutil-1.7.1/lib/google_api_python_client/oauth2client/multistore_file.pyc +0 -0
- data/packages/gcutil-1.7.1/lib/google_api_python_client/oauth2client/tools.py +0 -174
- data/packages/gcutil-1.7.1/lib/google_api_python_client/oauth2client/tools.pyc +0 -0
- data/packages/gcutil-1.7.1/lib/google_api_python_client/uritemplate/__init__.py +0 -147
- data/packages/gcutil-1.7.1/lib/google_api_python_client/uritemplate/__init__.pyc +0 -0
- data/packages/gcutil-1.7.1/lib/google_apputils/LICENSE +0 -202
- data/packages/gcutil-1.7.1/lib/google_apputils/google/__init__.py +0 -3
- data/packages/gcutil-1.7.1/lib/google_apputils/google/__init__.pyc +0 -0
- data/packages/gcutil-1.7.1/lib/google_apputils/google/apputils/__init__.py +0 -3
- data/packages/gcutil-1.7.1/lib/google_apputils/google/apputils/__init__.pyc +0 -0
- data/packages/gcutil-1.7.1/lib/google_apputils/google/apputils/app.py +0 -356
- data/packages/gcutil-1.7.1/lib/google_apputils/google/apputils/app.pyc +0 -0
- data/packages/gcutil-1.7.1/lib/google_apputils/google/apputils/appcommands.py +0 -783
- data/packages/gcutil-1.7.1/lib/google_apputils/google/apputils/appcommands.pyc +0 -0
- data/packages/gcutil-1.7.1/lib/google_apputils/google/apputils/basetest.py +0 -1260
- data/packages/gcutil-1.7.1/lib/google_apputils/google/apputils/datelib.py +0 -421
- data/packages/gcutil-1.7.1/lib/google_apputils/google/apputils/debug.py +0 -60
- data/packages/gcutil-1.7.1/lib/google_apputils/google/apputils/file_util.py +0 -181
- data/packages/gcutil-1.7.1/lib/google_apputils/google/apputils/resources.py +0 -67
- data/packages/gcutil-1.7.1/lib/google_apputils/google/apputils/run_script_module.py +0 -217
- data/packages/gcutil-1.7.1/lib/google_apputils/google/apputils/setup_command.py +0 -159
- data/packages/gcutil-1.7.1/lib/google_apputils/google/apputils/shellutil.py +0 -49
- data/packages/gcutil-1.7.1/lib/google_apputils/google/apputils/stopwatch.py +0 -204
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/__init__.py +0 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/__init__.pyc +0 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/auth_helper.py +0 -140
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/auth_helper.pyc +0 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/auth_helper_test.py +0 -149
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/auto_auth.py +0 -130
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/auto_auth.pyc +0 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/auto_auth_test.py +0 -75
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/basic_cmds.py +0 -128
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/basic_cmds.pyc +0 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/basic_cmds_test.py +0 -111
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/command_base.py +0 -1808
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/command_base.pyc +0 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/command_base_test.py +0 -1651
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/compute/v1beta13.json +0 -2851
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/compute/v1beta14.json +0 -3361
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/disk_cmds.py +0 -342
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/disk_cmds.pyc +0 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/disk_cmds_test.py +0 -474
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/firewall_cmds.py +0 -344
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/firewall_cmds.pyc +0 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/firewall_cmds_test.py +0 -231
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/flags_cache.py +0 -274
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/flags_cache.pyc +0 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/gcutil +0 -89
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/gcutil_logging.py +0 -69
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/gcutil_logging.pyc +0 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/image_cmds.py +0 -262
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/image_cmds.pyc +0 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/image_cmds_test.py +0 -172
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/instance_cmds.py +0 -1506
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/instance_cmds.pyc +0 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/instance_cmds_test.py +0 -1904
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/kernel_cmds.py +0 -91
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/kernel_cmds.pyc +0 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/kernel_cmds_test.py +0 -56
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/machine_type_cmds.py +0 -106
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/machine_type_cmds.pyc +0 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/machine_type_cmds_test.py +0 -59
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/metadata.py +0 -96
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/metadata.pyc +0 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/metadata_lib.py +0 -357
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/metadata_lib.pyc +0 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/metadata_test.py +0 -84
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/mock_api.py +0 -420
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/mock_metadata.py +0 -58
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/move_cmds.py +0 -824
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/move_cmds.pyc +0 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/move_cmds_test.py +0 -307
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/network_cmds.py +0 -178
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/network_cmds.pyc +0 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/network_cmds_test.py +0 -133
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/operation_cmds.py +0 -181
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/operation_cmds.pyc +0 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/operation_cmds_test.py +0 -196
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/path_initializer.py +0 -38
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/path_initializer.pyc +0 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/project_cmds.py +0 -173
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/project_cmds.pyc +0 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/project_cmds_test.py +0 -111
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/scopes.py +0 -61
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/scopes.pyc +0 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/scopes_test.py +0 -50
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/snapshot_cmds.py +0 -276
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/snapshot_cmds.pyc +0 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/snapshot_cmds_test.py +0 -260
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/ssh_keys.py +0 -266
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/ssh_keys.pyc +0 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/ssh_keys_test.py +0 -128
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/table_formatter.py +0 -563
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/table_formatter.pyc +0 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/thread_pool.py +0 -188
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/thread_pool.pyc +0 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/thread_pool_test.py +0 -88
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/utils.py +0 -208
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/utils.pyc +0 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/utils_test.py +0 -193
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/version.pyc +0 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/version_checker.py +0 -246
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/version_checker.pyc +0 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/version_checker_test.py +0 -271
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/zone_cmds.py +0 -151
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/zone_cmds.pyc +0 -0
- data/packages/gcutil-1.7.1/lib/google_compute_engine/gcutil/zone_cmds_test.py +0 -60
- data/packages/gcutil-1.7.1/lib/httplib2/LICENSE +0 -21
- data/packages/gcutil-1.7.1/lib/httplib2/httplib2/__init__.py +0 -1630
- data/packages/gcutil-1.7.1/lib/httplib2/httplib2/__init__.pyc +0 -0
- data/packages/gcutil-1.7.1/lib/httplib2/httplib2/cacerts.txt +0 -714
- data/packages/gcutil-1.7.1/lib/httplib2/httplib2/iri2uri.py +0 -110
- data/packages/gcutil-1.7.1/lib/httplib2/httplib2/iri2uri.pyc +0 -0
- data/packages/gcutil-1.7.1/lib/httplib2/httplib2/socks.py +0 -438
- data/packages/gcutil-1.7.1/lib/httplib2/httplib2/socks.pyc +0 -0
- data/packages/gcutil-1.7.1/lib/iso8601/LICENSE +0 -20
- data/packages/gcutil-1.7.1/lib/iso8601/iso8601/__init__.py +0 -1
- data/packages/gcutil-1.7.1/lib/iso8601/iso8601/__init__.pyc +0 -0
- data/packages/gcutil-1.7.1/lib/iso8601/iso8601/iso8601.py +0 -102
- data/packages/gcutil-1.7.1/lib/iso8601/iso8601/iso8601.pyc +0 -0
- data/packages/gcutil-1.7.1/lib/iso8601/iso8601/test_iso8601.py +0 -111
- data/packages/gcutil-1.7.1/lib/python_gflags/AUTHORS +0 -2
- data/packages/gcutil-1.7.1/lib/python_gflags/LICENSE +0 -28
- data/packages/gcutil-1.7.1/lib/python_gflags/gflags.py +0 -2862
- data/packages/gcutil-1.7.1/lib/python_gflags/gflags.pyc +0 -0
- data/packages/gcutil-1.7.1/lib/python_gflags/gflags2man.py +0 -544
- data/packages/gcutil-1.7.1/lib/python_gflags/gflags_validators.py +0 -187
- data/packages/gcutil-1.7.1/lib/python_gflags/gflags_validators.pyc +0 -0
- data/packages/gsutil.tar.gz +0 -0
- data/packages/gsutil/CHECKSUM +0 -1
- data/packages/gsutil/COPYING +0 -202
- data/packages/gsutil/LICENSE.third_party +0 -295
- data/packages/gsutil/MANIFEST.in +0 -5
- data/packages/gsutil/README +0 -38
- data/packages/gsutil/README.pkg +0 -49
- data/packages/gsutil/ReleaseNotes.txt +0 -780
- data/packages/gsutil/VERSION +0 -1
- data/packages/gsutil/boto/Changelog.rst +0 -35
- data/packages/gsutil/boto/LICENSE +0 -18
- data/packages/gsutil/boto/MANIFEST.in +0 -12
- data/packages/gsutil/boto/README.rst +0 -163
- data/packages/gsutil/boto/bin/asadmin +0 -290
- data/packages/gsutil/boto/bin/bundle_image +0 -27
- data/packages/gsutil/boto/bin/cfadmin +0 -108
- data/packages/gsutil/boto/bin/cq +0 -89
- data/packages/gsutil/boto/bin/cwutil +0 -140
- data/packages/gsutil/boto/bin/elbadmin +0 -284
- data/packages/gsutil/boto/bin/fetch_file +0 -43
- data/packages/gsutil/boto/bin/glacier +0 -154
- data/packages/gsutil/boto/bin/instance_events +0 -145
- data/packages/gsutil/boto/bin/kill_instance +0 -35
- data/packages/gsutil/boto/bin/launch_instance +0 -252
- data/packages/gsutil/boto/bin/list_instances +0 -90
- data/packages/gsutil/boto/bin/lss3 +0 -77
- data/packages/gsutil/boto/bin/mturk +0 -465
- data/packages/gsutil/boto/bin/pyami_sendmail +0 -52
- data/packages/gsutil/boto/bin/route53 +0 -205
- data/packages/gsutil/boto/bin/s3put +0 -374
- data/packages/gsutil/boto/bin/sdbadmin +0 -194
- data/packages/gsutil/boto/bin/taskadmin +0 -116
- data/packages/gsutil/boto/boto/__init__.py +0 -793
- data/packages/gsutil/boto/boto/__init__.pyc +0 -0
- data/packages/gsutil/boto/boto/auth.py +0 -682
- data/packages/gsutil/boto/boto/auth.pyc +0 -0
- data/packages/gsutil/boto/boto/auth_handler.py +0 -58
- data/packages/gsutil/boto/boto/auth_handler.pyc +0 -0
- data/packages/gsutil/boto/boto/beanstalk/__init__.py +0 -65
- data/packages/gsutil/boto/boto/beanstalk/exception.py +0 -64
- data/packages/gsutil/boto/boto/beanstalk/layer1.py +0 -1153
- data/packages/gsutil/boto/boto/beanstalk/response.py +0 -703
- data/packages/gsutil/boto/boto/beanstalk/wrapper.py +0 -29
- data/packages/gsutil/boto/boto/cacerts/__init__.py +0 -22
- data/packages/gsutil/boto/boto/cacerts/__init__.pyc +0 -0
- data/packages/gsutil/boto/boto/cacerts/cacerts.txt +0 -633
- data/packages/gsutil/boto/boto/cloudformation/__init__.py +0 -68
- data/packages/gsutil/boto/boto/cloudformation/connection.py +0 -364
- data/packages/gsutil/boto/boto/cloudformation/stack.py +0 -360
- data/packages/gsutil/boto/boto/cloudformation/template.py +0 -43
- data/packages/gsutil/boto/boto/cloudfront/__init__.py +0 -324
- data/packages/gsutil/boto/boto/cloudfront/distribution.py +0 -745
- data/packages/gsutil/boto/boto/cloudfront/exception.py +0 -26
- data/packages/gsutil/boto/boto/cloudfront/identity.py +0 -122
- data/packages/gsutil/boto/boto/cloudfront/invalidation.py +0 -216
- data/packages/gsutil/boto/boto/cloudfront/logging.py +0 -38
- data/packages/gsutil/boto/boto/cloudfront/object.py +0 -48
- data/packages/gsutil/boto/boto/cloudfront/origin.py +0 -150
- data/packages/gsutil/boto/boto/cloudfront/signers.py +0 -60
- data/packages/gsutil/boto/boto/cloudsearch/__init__.py +0 -45
- data/packages/gsutil/boto/boto/cloudsearch/document.py +0 -265
- data/packages/gsutil/boto/boto/cloudsearch/domain.py +0 -394
- data/packages/gsutil/boto/boto/cloudsearch/layer1.py +0 -738
- data/packages/gsutil/boto/boto/cloudsearch/layer2.py +0 -67
- data/packages/gsutil/boto/boto/cloudsearch/optionstatus.py +0 -248
- data/packages/gsutil/boto/boto/cloudsearch/search.py +0 -365
- data/packages/gsutil/boto/boto/cloudsearch/sourceattribute.py +0 -75
- data/packages/gsutil/boto/boto/compat.py +0 -28
- data/packages/gsutil/boto/boto/compat.pyc +0 -0
- data/packages/gsutil/boto/boto/connection.py +0 -1081
- data/packages/gsutil/boto/boto/connection.pyc +0 -0
- data/packages/gsutil/boto/boto/contrib/__init__.py +0 -22
- data/packages/gsutil/boto/boto/contrib/ymlmessage.py +0 -52
- data/packages/gsutil/boto/boto/core/README +0 -58
- data/packages/gsutil/boto/boto/core/__init__.py +0 -23
- data/packages/gsutil/boto/boto/core/auth.py +0 -78
- data/packages/gsutil/boto/boto/core/credentials.py +0 -154
- data/packages/gsutil/boto/boto/core/dictresponse.py +0 -178
- data/packages/gsutil/boto/boto/core/service.py +0 -67
- data/packages/gsutil/boto/boto/datapipeline/__init__.py +0 -0
- data/packages/gsutil/boto/boto/datapipeline/exceptions.py +0 -42
- data/packages/gsutil/boto/boto/datapipeline/layer1.py +0 -546
- data/packages/gsutil/boto/boto/dynamodb/__init__.py +0 -66
- data/packages/gsutil/boto/boto/dynamodb/batch.py +0 -262
- data/packages/gsutil/boto/boto/dynamodb/condition.py +0 -170
- data/packages/gsutil/boto/boto/dynamodb/exceptions.py +0 -64
- data/packages/gsutil/boto/boto/dynamodb/item.py +0 -196
- data/packages/gsutil/boto/boto/dynamodb/layer1.py +0 -575
- data/packages/gsutil/boto/boto/dynamodb/layer2.py +0 -798
- data/packages/gsutil/boto/boto/dynamodb/schema.py +0 -112
- data/packages/gsutil/boto/boto/dynamodb/table.py +0 -540
- data/packages/gsutil/boto/boto/dynamodb/types.py +0 -326
- data/packages/gsutil/boto/boto/ec2/__init__.py +0 -96
- data/packages/gsutil/boto/boto/ec2/address.py +0 -103
- data/packages/gsutil/boto/boto/ec2/autoscale/__init__.py +0 -781
- data/packages/gsutil/boto/boto/ec2/autoscale/activity.py +0 -74
- data/packages/gsutil/boto/boto/ec2/autoscale/group.py +0 -337
- data/packages/gsutil/boto/boto/ec2/autoscale/instance.py +0 -60
- data/packages/gsutil/boto/boto/ec2/autoscale/launchconfig.py +0 -209
- data/packages/gsutil/boto/boto/ec2/autoscale/policy.py +0 -166
- data/packages/gsutil/boto/boto/ec2/autoscale/request.py +0 -38
- data/packages/gsutil/boto/boto/ec2/autoscale/scheduled.py +0 -60
- data/packages/gsutil/boto/boto/ec2/autoscale/tag.py +0 -84
- data/packages/gsutil/boto/boto/ec2/blockdevicemapping.py +0 -141
- data/packages/gsutil/boto/boto/ec2/bundleinstance.py +0 -78
- data/packages/gsutil/boto/boto/ec2/buyreservation.py +0 -84
- data/packages/gsutil/boto/boto/ec2/cloudwatch/__init__.py +0 -603
- data/packages/gsutil/boto/boto/ec2/cloudwatch/alarm.py +0 -316
- data/packages/gsutil/boto/boto/ec2/cloudwatch/datapoint.py +0 -40
- data/packages/gsutil/boto/boto/ec2/cloudwatch/dimension.py +0 -38
- data/packages/gsutil/boto/boto/ec2/cloudwatch/listelement.py +0 -31
- data/packages/gsutil/boto/boto/ec2/cloudwatch/metric.py +0 -175
- data/packages/gsutil/boto/boto/ec2/connection.py +0 -3409
- data/packages/gsutil/boto/boto/ec2/ec2object.py +0 -107
- data/packages/gsutil/boto/boto/ec2/elb/__init__.py +0 -553
- data/packages/gsutil/boto/boto/ec2/elb/healthcheck.py +0 -89
- data/packages/gsutil/boto/boto/ec2/elb/instancestate.py +0 -62
- data/packages/gsutil/boto/boto/ec2/elb/listelement.py +0 -36
- data/packages/gsutil/boto/boto/ec2/elb/listener.py +0 -75
- data/packages/gsutil/boto/boto/ec2/elb/loadbalancer.py +0 -324
- data/packages/gsutil/boto/boto/ec2/elb/policies.py +0 -89
- data/packages/gsutil/boto/boto/ec2/elb/securitygroup.py +0 -38
- data/packages/gsutil/boto/boto/ec2/group.py +0 -39
- data/packages/gsutil/boto/boto/ec2/image.py +0 -350
- data/packages/gsutil/boto/boto/ec2/instance.py +0 -661
- data/packages/gsutil/boto/boto/ec2/instanceinfo.py +0 -51
- data/packages/gsutil/boto/boto/ec2/instancestatus.py +0 -207
- data/packages/gsutil/boto/boto/ec2/keypair.py +0 -113
- data/packages/gsutil/boto/boto/ec2/launchspecification.py +0 -105
- data/packages/gsutil/boto/boto/ec2/networkinterface.py +0 -247
- data/packages/gsutil/boto/boto/ec2/placementgroup.py +0 -51
- data/packages/gsutil/boto/boto/ec2/regioninfo.py +0 -34
- data/packages/gsutil/boto/boto/ec2/reservedinstance.py +0 -227
- data/packages/gsutil/boto/boto/ec2/securitygroup.py +0 -357
- data/packages/gsutil/boto/boto/ec2/snapshot.py +0 -170
- data/packages/gsutil/boto/boto/ec2/spotdatafeedsubscription.py +0 -63
- data/packages/gsutil/boto/boto/ec2/spotinstancerequest.py +0 -188
- data/packages/gsutil/boto/boto/ec2/spotpricehistory.py +0 -55
- data/packages/gsutil/boto/boto/ec2/tag.py +0 -87
- data/packages/gsutil/boto/boto/ec2/vmtype.py +0 -58
- data/packages/gsutil/boto/boto/ec2/volume.py +0 -293
- data/packages/gsutil/boto/boto/ec2/volumestatus.py +0 -200
- data/packages/gsutil/boto/boto/ec2/zone.py +0 -80
- data/packages/gsutil/boto/boto/ecs/__init__.py +0 -90
- data/packages/gsutil/boto/boto/ecs/item.py +0 -153
- data/packages/gsutil/boto/boto/elasticache/__init__.py +0 -62
- data/packages/gsutil/boto/boto/elasticache/layer1.py +0 -1252
- data/packages/gsutil/boto/boto/elastictranscoder/__init__.py +0 -62
- data/packages/gsutil/boto/boto/elastictranscoder/exceptions.py +0 -46
- data/packages/gsutil/boto/boto/elastictranscoder/layer1.py +0 -509
- data/packages/gsutil/boto/boto/emr/__init__.py +0 -73
- data/packages/gsutil/boto/boto/emr/bootstrap_action.py +0 -44
- data/packages/gsutil/boto/boto/emr/connection.py +0 -531
- data/packages/gsutil/boto/boto/emr/emrobject.py +0 -176
- data/packages/gsutil/boto/boto/emr/instance_group.py +0 -43
- data/packages/gsutil/boto/boto/emr/step.py +0 -281
- data/packages/gsutil/boto/boto/exception.py +0 -476
- data/packages/gsutil/boto/boto/exception.pyc +0 -0
- data/packages/gsutil/boto/boto/file/README +0 -49
- data/packages/gsutil/boto/boto/file/__init__.py +0 -28
- data/packages/gsutil/boto/boto/file/bucket.py +0 -112
- data/packages/gsutil/boto/boto/file/connection.py +0 -33
- data/packages/gsutil/boto/boto/file/key.py +0 -199
- data/packages/gsutil/boto/boto/file/simpleresultset.py +0 -30
- data/packages/gsutil/boto/boto/fps/__init__.py +0 -21
- data/packages/gsutil/boto/boto/fps/connection.py +0 -369
- data/packages/gsutil/boto/boto/fps/exception.py +0 -344
- data/packages/gsutil/boto/boto/fps/response.py +0 -175
- data/packages/gsutil/boto/boto/glacier/__init__.py +0 -57
- data/packages/gsutil/boto/boto/glacier/concurrent.py +0 -409
- data/packages/gsutil/boto/boto/glacier/exceptions.py +0 -58
- data/packages/gsutil/boto/boto/glacier/job.py +0 -152
- data/packages/gsutil/boto/boto/glacier/layer1.py +0 -637
- data/packages/gsutil/boto/boto/glacier/layer2.py +0 -93
- data/packages/gsutil/boto/boto/glacier/response.py +0 -48
- data/packages/gsutil/boto/boto/glacier/utils.py +0 -163
- data/packages/gsutil/boto/boto/glacier/vault.py +0 -387
- data/packages/gsutil/boto/boto/glacier/writer.py +0 -242
- data/packages/gsutil/boto/boto/gs/__init__.py +0 -22
- data/packages/gsutil/boto/boto/gs/__init__.pyc +0 -0
- data/packages/gsutil/boto/boto/gs/acl.py +0 -304
- data/packages/gsutil/boto/boto/gs/acl.pyc +0 -0
- data/packages/gsutil/boto/boto/gs/bucket.py +0 -870
- data/packages/gsutil/boto/boto/gs/bucket.pyc +0 -0
- data/packages/gsutil/boto/boto/gs/bucketlistresultset.py +0 -64
- data/packages/gsutil/boto/boto/gs/bucketlistresultset.pyc +0 -0
- data/packages/gsutil/boto/boto/gs/connection.py +0 -103
- data/packages/gsutil/boto/boto/gs/connection.pyc +0 -0
- data/packages/gsutil/boto/boto/gs/cors.py +0 -169
- data/packages/gsutil/boto/boto/gs/cors.pyc +0 -0
- data/packages/gsutil/boto/boto/gs/key.py +0 -704
- data/packages/gsutil/boto/boto/gs/key.pyc +0 -0
- data/packages/gsutil/boto/boto/gs/resumable_upload_handler.py +0 -659
- data/packages/gsutil/boto/boto/gs/resumable_upload_handler.pyc +0 -0
- data/packages/gsutil/boto/boto/gs/user.py +0 -54
- data/packages/gsutil/boto/boto/gs/user.pyc +0 -0
- data/packages/gsutil/boto/boto/handler.py +0 -44
- data/packages/gsutil/boto/boto/handler.pyc +0 -0
- data/packages/gsutil/boto/boto/https_connection.py +0 -124
- data/packages/gsutil/boto/boto/https_connection.pyc +0 -0
- data/packages/gsutil/boto/boto/iam/__init__.py +0 -74
- data/packages/gsutil/boto/boto/iam/connection.py +0 -1317
- data/packages/gsutil/boto/boto/iam/summarymap.py +0 -42
- data/packages/gsutil/boto/boto/jsonresponse.py +0 -163
- data/packages/gsutil/boto/boto/jsonresponse.pyc +0 -0
- data/packages/gsutil/boto/boto/manage/__init__.py +0 -23
- data/packages/gsutil/boto/boto/manage/cmdshell.py +0 -241
- data/packages/gsutil/boto/boto/manage/propget.py +0 -64
- data/packages/gsutil/boto/boto/manage/server.py +0 -556
- data/packages/gsutil/boto/boto/manage/task.py +0 -175
- data/packages/gsutil/boto/boto/manage/test_manage.py +0 -34
- data/packages/gsutil/boto/boto/manage/volume.py +0 -420
- data/packages/gsutil/boto/boto/mashups/__init__.py +0 -23
- data/packages/gsutil/boto/boto/mashups/interactive.py +0 -97
- data/packages/gsutil/boto/boto/mashups/iobject.py +0 -115
- data/packages/gsutil/boto/boto/mashups/order.py +0 -211
- data/packages/gsutil/boto/boto/mashups/server.py +0 -395
- data/packages/gsutil/boto/boto/mturk/__init__.py +0 -23
- data/packages/gsutil/boto/boto/mturk/connection.py +0 -1027
- data/packages/gsutil/boto/boto/mturk/layoutparam.py +0 -55
- data/packages/gsutil/boto/boto/mturk/notification.py +0 -103
- data/packages/gsutil/boto/boto/mturk/price.py +0 -48
- data/packages/gsutil/boto/boto/mturk/qualification.py +0 -137
- data/packages/gsutil/boto/boto/mturk/question.py +0 -455
- data/packages/gsutil/boto/boto/mws/__init__.py +0 -21
- data/packages/gsutil/boto/boto/mws/connection.py +0 -813
- data/packages/gsutil/boto/boto/mws/exception.py +0 -75
- data/packages/gsutil/boto/boto/mws/response.py +0 -655
- data/packages/gsutil/boto/boto/plugin.py +0 -90
- data/packages/gsutil/boto/boto/plugin.pyc +0 -0
- data/packages/gsutil/boto/boto/provider.py +0 -337
- data/packages/gsutil/boto/boto/provider.pyc +0 -0
- data/packages/gsutil/boto/boto/pyami/__init__.py +0 -22
- data/packages/gsutil/boto/boto/pyami/__init__.pyc +0 -0
- data/packages/gsutil/boto/boto/pyami/bootstrap.py +0 -134
- data/packages/gsutil/boto/boto/pyami/config.py +0 -229
- data/packages/gsutil/boto/boto/pyami/config.pyc +0 -0
- data/packages/gsutil/boto/boto/pyami/copybot.cfg +0 -60
- data/packages/gsutil/boto/boto/pyami/copybot.py +0 -97
- data/packages/gsutil/boto/boto/pyami/helloworld.py +0 -28
- data/packages/gsutil/boto/boto/pyami/installers/__init__.py +0 -64
- data/packages/gsutil/boto/boto/pyami/installers/ubuntu/__init__.py +0 -22
- data/packages/gsutil/boto/boto/pyami/installers/ubuntu/apache.py +0 -43
- data/packages/gsutil/boto/boto/pyami/installers/ubuntu/ebs.py +0 -238
- data/packages/gsutil/boto/boto/pyami/installers/ubuntu/installer.py +0 -96
- data/packages/gsutil/boto/boto/pyami/installers/ubuntu/mysql.py +0 -109
- data/packages/gsutil/boto/boto/pyami/installers/ubuntu/trac.py +0 -139
- data/packages/gsutil/boto/boto/pyami/launch_ami.py +0 -178
- data/packages/gsutil/boto/boto/pyami/scriptbase.py +0 -44
- data/packages/gsutil/boto/boto/pyami/startup.py +0 -60
- data/packages/gsutil/boto/boto/rds/__init__.py +0 -1194
- data/packages/gsutil/boto/boto/rds/dbinstance.py +0 -357
- data/packages/gsutil/boto/boto/rds/dbsecuritygroup.py +0 -177
- data/packages/gsutil/boto/boto/rds/dbsnapshot.py +0 -108
- data/packages/gsutil/boto/boto/rds/event.py +0 -49
- data/packages/gsutil/boto/boto/rds/parametergroup.py +0 -201
- data/packages/gsutil/boto/boto/rds/regioninfo.py +0 -32
- data/packages/gsutil/boto/boto/regioninfo.py +0 -63
- data/packages/gsutil/boto/boto/regioninfo.pyc +0 -0
- data/packages/gsutil/boto/boto/resultset.py +0 -169
- data/packages/gsutil/boto/boto/resultset.pyc +0 -0
- data/packages/gsutil/boto/boto/roboto/__init__.py +0 -1
- data/packages/gsutil/boto/boto/roboto/awsqueryrequest.py +0 -504
- data/packages/gsutil/boto/boto/roboto/awsqueryservice.py +0 -121
- data/packages/gsutil/boto/boto/roboto/param.py +0 -147
- data/packages/gsutil/boto/boto/route53/__init__.py +0 -75
- data/packages/gsutil/boto/boto/route53/connection.py +0 -403
- data/packages/gsutil/boto/boto/route53/exception.py +0 -27
- data/packages/gsutil/boto/boto/route53/hostedzone.py +0 -56
- data/packages/gsutil/boto/boto/route53/record.py +0 -306
- data/packages/gsutil/boto/boto/route53/status.py +0 -42
- data/packages/gsutil/boto/boto/route53/zone.py +0 -412
- data/packages/gsutil/boto/boto/s3/__init__.py +0 -84
- data/packages/gsutil/boto/boto/s3/__init__.pyc +0 -0
- data/packages/gsutil/boto/boto/s3/acl.py +0 -164
- data/packages/gsutil/boto/boto/s3/acl.pyc +0 -0
- data/packages/gsutil/boto/boto/s3/bucket.py +0 -1634
- data/packages/gsutil/boto/boto/s3/bucket.pyc +0 -0
- data/packages/gsutil/boto/boto/s3/bucketlistresultset.py +0 -139
- data/packages/gsutil/boto/boto/s3/bucketlistresultset.pyc +0 -0
- data/packages/gsutil/boto/boto/s3/bucketlogging.py +0 -83
- data/packages/gsutil/boto/boto/s3/bucketlogging.pyc +0 -0
- data/packages/gsutil/boto/boto/s3/connection.py +0 -540
- data/packages/gsutil/boto/boto/s3/connection.pyc +0 -0
- data/packages/gsutil/boto/boto/s3/cors.py +0 -210
- data/packages/gsutil/boto/boto/s3/cors.pyc +0 -0
- data/packages/gsutil/boto/boto/s3/deletemarker.py +0 -55
- data/packages/gsutil/boto/boto/s3/deletemarker.pyc +0 -0
- data/packages/gsutil/boto/boto/s3/key.py +0 -1712
- data/packages/gsutil/boto/boto/s3/key.pyc +0 -0
- data/packages/gsutil/boto/boto/s3/keyfile.py +0 -134
- data/packages/gsutil/boto/boto/s3/keyfile.pyc +0 -0
- data/packages/gsutil/boto/boto/s3/lifecycle.py +0 -231
- data/packages/gsutil/boto/boto/s3/lifecycle.pyc +0 -0
- data/packages/gsutil/boto/boto/s3/multidelete.py +0 -138
- data/packages/gsutil/boto/boto/s3/multidelete.pyc +0 -0
- data/packages/gsutil/boto/boto/s3/multipart.py +0 -315
- data/packages/gsutil/boto/boto/s3/multipart.pyc +0 -0
- data/packages/gsutil/boto/boto/s3/prefix.py +0 -42
- data/packages/gsutil/boto/boto/s3/prefix.pyc +0 -0
- data/packages/gsutil/boto/boto/s3/resumable_download_handler.py +0 -339
- data/packages/gsutil/boto/boto/s3/resumable_download_handler.pyc +0 -0
- data/packages/gsutil/boto/boto/s3/tagging.py +0 -71
- data/packages/gsutil/boto/boto/s3/tagging.pyc +0 -0
- data/packages/gsutil/boto/boto/s3/user.py +0 -49
- data/packages/gsutil/boto/boto/s3/user.pyc +0 -0
- data/packages/gsutil/boto/boto/s3/website.py +0 -237
- data/packages/gsutil/boto/boto/s3/website.pyc +0 -0
- data/packages/gsutil/boto/boto/sdb/__init__.py +0 -67
- data/packages/gsutil/boto/boto/sdb/connection.py +0 -617
- data/packages/gsutil/boto/boto/sdb/db/__init__.py +0 -20
- data/packages/gsutil/boto/boto/sdb/db/blob.py +0 -75
- data/packages/gsutil/boto/boto/sdb/db/key.py +0 -59
- data/packages/gsutil/boto/boto/sdb/db/manager/__init__.py +0 -85
- data/packages/gsutil/boto/boto/sdb/db/manager/sdbmanager.py +0 -732
- data/packages/gsutil/boto/boto/sdb/db/manager/xmlmanager.py +0 -517
- data/packages/gsutil/boto/boto/sdb/db/model.py +0 -294
- data/packages/gsutil/boto/boto/sdb/db/property.py +0 -703
- data/packages/gsutil/boto/boto/sdb/db/query.py +0 -85
- data/packages/gsutil/boto/boto/sdb/db/sequence.py +0 -226
- data/packages/gsutil/boto/boto/sdb/db/test_db.py +0 -231
- data/packages/gsutil/boto/boto/sdb/domain.py +0 -377
- data/packages/gsutil/boto/boto/sdb/item.py +0 -181
- data/packages/gsutil/boto/boto/sdb/queryresultset.py +0 -92
- data/packages/gsutil/boto/boto/sdb/regioninfo.py +0 -32
- data/packages/gsutil/boto/boto/services/__init__.py +0 -23
- data/packages/gsutil/boto/boto/services/bs.py +0 -179
- data/packages/gsutil/boto/boto/services/message.py +0 -58
- data/packages/gsutil/boto/boto/services/result.py +0 -136
- data/packages/gsutil/boto/boto/services/service.py +0 -161
- data/packages/gsutil/boto/boto/services/servicedef.py +0 -91
- data/packages/gsutil/boto/boto/services/sonofmmm.cfg +0 -43
- data/packages/gsutil/boto/boto/services/sonofmmm.py +0 -81
- data/packages/gsutil/boto/boto/services/submit.py +0 -88
- data/packages/gsutil/boto/boto/ses/__init__.py +0 -54
- data/packages/gsutil/boto/boto/ses/connection.py +0 -521
- data/packages/gsutil/boto/boto/ses/exceptions.py +0 -77
- data/packages/gsutil/boto/boto/sns/__init__.py +0 -78
- data/packages/gsutil/boto/boto/sns/connection.py +0 -431
- data/packages/gsutil/boto/boto/sqs/__init__.py +0 -56
- data/packages/gsutil/boto/boto/sqs/attributes.py +0 -46
- data/packages/gsutil/boto/boto/sqs/batchresults.py +0 -95
- data/packages/gsutil/boto/boto/sqs/connection.py +0 -417
- data/packages/gsutil/boto/boto/sqs/jsonmessage.py +0 -43
- data/packages/gsutil/boto/boto/sqs/message.py +0 -253
- data/packages/gsutil/boto/boto/sqs/queue.py +0 -478
- data/packages/gsutil/boto/boto/sqs/regioninfo.py +0 -32
- data/packages/gsutil/boto/boto/storage_uri.py +0 -835
- data/packages/gsutil/boto/boto/storage_uri.pyc +0 -0
- data/packages/gsutil/boto/boto/sts/__init__.py +0 -55
- data/packages/gsutil/boto/boto/sts/connection.py +0 -207
- data/packages/gsutil/boto/boto/sts/credentials.py +0 -215
- data/packages/gsutil/boto/boto/swf/__init__.py +0 -60
- data/packages/gsutil/boto/boto/swf/exceptions.py +0 -44
- data/packages/gsutil/boto/boto/swf/layer1.py +0 -1512
- data/packages/gsutil/boto/boto/swf/layer1_decisions.py +0 -287
- data/packages/gsutil/boto/boto/swf/layer2.py +0 -342
- data/packages/gsutil/boto/boto/utils.py +0 -927
- data/packages/gsutil/boto/boto/utils.pyc +0 -0
- data/packages/gsutil/boto/boto/vpc/__init__.py +0 -910
- data/packages/gsutil/boto/boto/vpc/customergateway.py +0 -54
- data/packages/gsutil/boto/boto/vpc/dhcpoptions.py +0 -72
- data/packages/gsutil/boto/boto/vpc/internetgateway.py +0 -72
- data/packages/gsutil/boto/boto/vpc/routetable.py +0 -109
- data/packages/gsutil/boto/boto/vpc/subnet.py +0 -57
- data/packages/gsutil/boto/boto/vpc/vpc.py +0 -54
- data/packages/gsutil/boto/boto/vpc/vpnconnection.py +0 -60
- data/packages/gsutil/boto/boto/vpc/vpngateway.py +0 -83
- data/packages/gsutil/boto/docs/BotoCheatSheet.pdf +0 -0
- data/packages/gsutil/boto/docs/Makefile +0 -89
- data/packages/gsutil/boto/docs/make.bat +0 -113
- data/packages/gsutil/boto/docs/source/_templates/layout.html +0 -3
- data/packages/gsutil/boto/docs/source/autoscale_tut.rst +0 -220
- data/packages/gsutil/boto/docs/source/boto_config_tut.rst +0 -125
- data/packages/gsutil/boto/docs/source/boto_theme/static/boto.css_t +0 -239
- data/packages/gsutil/boto/docs/source/boto_theme/static/pygments.css +0 -61
- data/packages/gsutil/boto/docs/source/boto_theme/theme.conf +0 -3
- data/packages/gsutil/boto/docs/source/cloudfront_tut.rst +0 -196
- data/packages/gsutil/boto/docs/source/cloudsearch_tut.rst +0 -411
- data/packages/gsutil/boto/docs/source/cloudwatch_tut.rst +0 -116
- data/packages/gsutil/boto/docs/source/conf.py +0 -32
- data/packages/gsutil/boto/docs/source/contributing.rst +0 -204
- data/packages/gsutil/boto/docs/source/documentation.rst +0 -59
- data/packages/gsutil/boto/docs/source/dynamodb_tut.rst +0 -339
- data/packages/gsutil/boto/docs/source/ec2_tut.rst +0 -86
- data/packages/gsutil/boto/docs/source/elb_tut.rst +0 -257
- data/packages/gsutil/boto/docs/source/emr_tut.rst +0 -108
- data/packages/gsutil/boto/docs/source/index.rst +0 -146
- data/packages/gsutil/boto/docs/source/rds_tut.rst +0 -108
- data/packages/gsutil/boto/docs/source/ref/autoscale.rst +0 -62
- data/packages/gsutil/boto/docs/source/ref/beanstalk.rst +0 -26
- data/packages/gsutil/boto/docs/source/ref/boto.rst +0 -47
- data/packages/gsutil/boto/docs/source/ref/cloudformation.rst +0 -34
- data/packages/gsutil/boto/docs/source/ref/cloudfront.rst +0 -68
- data/packages/gsutil/boto/docs/source/ref/cloudsearch.rst +0 -59
- data/packages/gsutil/boto/docs/source/ref/cloudwatch.rst +0 -27
- data/packages/gsutil/boto/docs/source/ref/contrib.rst +0 -32
- data/packages/gsutil/boto/docs/source/ref/datapipeline.rst +0 -26
- data/packages/gsutil/boto/docs/source/ref/dynamodb.rst +0 -61
- data/packages/gsutil/boto/docs/source/ref/ec2.rst +0 -140
- data/packages/gsutil/boto/docs/source/ref/ecs.rst +0 -19
- data/packages/gsutil/boto/docs/source/ref/elasticache.rst +0 -19
- data/packages/gsutil/boto/docs/source/ref/elastictranscoder.rst +0 -26
- data/packages/gsutil/boto/docs/source/ref/elb.rst +0 -47
- data/packages/gsutil/boto/docs/source/ref/emr.rst +0 -34
- data/packages/gsutil/boto/docs/source/ref/file.rst +0 -34
- data/packages/gsutil/boto/docs/source/ref/fps.rst +0 -19
- data/packages/gsutil/boto/docs/source/ref/glacier.rst +0 -63
- data/packages/gsutil/boto/docs/source/ref/gs.rst +0 -72
- data/packages/gsutil/boto/docs/source/ref/iam.rst +0 -27
- data/packages/gsutil/boto/docs/source/ref/index.rst +0 -40
- data/packages/gsutil/boto/docs/source/ref/manage.rst +0 -47
- data/packages/gsutil/boto/docs/source/ref/mturk.rst +0 -54
- data/packages/gsutil/boto/docs/source/ref/mws.rst +0 -33
- data/packages/gsutil/boto/docs/source/ref/pyami.rst +0 -103
- data/packages/gsutil/boto/docs/source/ref/rds.rst +0 -47
- data/packages/gsutil/boto/docs/source/ref/route53.rst +0 -34
- data/packages/gsutil/boto/docs/source/ref/s3.rst +0 -111
- data/packages/gsutil/boto/docs/source/ref/sdb.rst +0 -45
- data/packages/gsutil/boto/docs/source/ref/sdb_db.rst +0 -83
- data/packages/gsutil/boto/docs/source/ref/services.rst +0 -61
- data/packages/gsutil/boto/docs/source/ref/ses.rst +0 -21
- data/packages/gsutil/boto/docs/source/ref/sns.rst +0 -17
- data/packages/gsutil/boto/docs/source/ref/sqs.rst +0 -61
- data/packages/gsutil/boto/docs/source/ref/sts.rst +0 -25
- data/packages/gsutil/boto/docs/source/ref/swf.rst +0 -22
- data/packages/gsutil/boto/docs/source/ref/vpc.rst +0 -54
- data/packages/gsutil/boto/docs/source/s3_tut.rst +0 -450
- data/packages/gsutil/boto/docs/source/security_groups.rst +0 -82
- data/packages/gsutil/boto/docs/source/ses_tut.rst +0 -171
- data/packages/gsutil/boto/docs/source/simpledb_tut.rst +0 -188
- data/packages/gsutil/boto/docs/source/sqs_tut.rst +0 -246
- data/packages/gsutil/boto/docs/source/vpc_tut.rst +0 -100
- data/packages/gsutil/boto/pylintrc +0 -305
- data/packages/gsutil/boto/requirements.txt +0 -10
- data/packages/gsutil/boto/setup.py +0 -89
- data/packages/gsutil/boto/tests/__init__.py +0 -20
- data/packages/gsutil/boto/tests/db/test_lists.py +0 -96
- data/packages/gsutil/boto/tests/db/test_password.py +0 -128
- data/packages/gsutil/boto/tests/db/test_query.py +0 -152
- data/packages/gsutil/boto/tests/db/test_sequence.py +0 -109
- data/packages/gsutil/boto/tests/devpay/__init__.py +0 -0
- data/packages/gsutil/boto/tests/devpay/test_s3.py +0 -181
- data/packages/gsutil/boto/tests/fps/__init__.py +0 -0
- data/packages/gsutil/boto/tests/fps/test.py +0 -100
- data/packages/gsutil/boto/tests/fps/test_verify_signature.py +0 -12
- data/packages/gsutil/boto/tests/integration/__init__.py +0 -0
- data/packages/gsutil/boto/tests/integration/beanstalk/test_wrapper.py +0 -209
- data/packages/gsutil/boto/tests/integration/cloudformation/__init__.py +0 -21
- data/packages/gsutil/boto/tests/integration/cloudformation/test_cert_verification.py +0 -40
- data/packages/gsutil/boto/tests/integration/cloudformation/test_connection.py +0 -110
- data/packages/gsutil/boto/tests/integration/cloudsearch/__init__.py +0 -21
- data/packages/gsutil/boto/tests/integration/cloudsearch/test_cert_verification.py +0 -40
- data/packages/gsutil/boto/tests/integration/datapipeline/test_layer1.py +0 -122
- data/packages/gsutil/boto/tests/integration/dynamodb/__init__.py +0 -20
- data/packages/gsutil/boto/tests/integration/dynamodb/test_cert_verification.py +0 -40
- data/packages/gsutil/boto/tests/integration/dynamodb/test_layer1.py +0 -266
- data/packages/gsutil/boto/tests/integration/dynamodb/test_layer2.py +0 -484
- data/packages/gsutil/boto/tests/integration/dynamodb/test_table.py +0 -84
- data/packages/gsutil/boto/tests/integration/ec2/__init__.py +0 -20
- data/packages/gsutil/boto/tests/integration/ec2/autoscale/__init__.py +0 -21
- data/packages/gsutil/boto/tests/integration/ec2/autoscale/test_cert_verification.py +0 -40
- data/packages/gsutil/boto/tests/integration/ec2/autoscale/test_connection.py +0 -167
- data/packages/gsutil/boto/tests/integration/ec2/cloudwatch/__init__.py +0 -20
- data/packages/gsutil/boto/tests/integration/ec2/cloudwatch/test_cert_verification.py +0 -40
- data/packages/gsutil/boto/tests/integration/ec2/cloudwatch/test_connection.py +0 -277
- data/packages/gsutil/boto/tests/integration/ec2/elb/__init__.py +0 -20
- data/packages/gsutil/boto/tests/integration/ec2/elb/test_cert_verification.py +0 -40
- data/packages/gsutil/boto/tests/integration/ec2/elb/test_connection.py +0 -130
- data/packages/gsutil/boto/tests/integration/ec2/test_cert_verification.py +0 -40
- data/packages/gsutil/boto/tests/integration/ec2/test_connection.py +0 -192
- data/packages/gsutil/boto/tests/integration/ec2/vpc/__init__.py +0 -0
- data/packages/gsutil/boto/tests/integration/ec2/vpc/test_connection.py +0 -95
- data/packages/gsutil/boto/tests/integration/elasticache/__init__.py +0 -0
- data/packages/gsutil/boto/tests/integration/elasticache/test_layer1.py +0 -67
- data/packages/gsutil/boto/tests/integration/elastictranscoder/__init__.py +0 -0
- data/packages/gsutil/boto/tests/integration/elastictranscoder/test_cert_verification.py +0 -35
- data/packages/gsutil/boto/tests/integration/elastictranscoder/test_layer1.py +0 -115
- data/packages/gsutil/boto/tests/integration/emr/__init__.py +0 -20
- data/packages/gsutil/boto/tests/integration/emr/test_cert_verification.py +0 -40
- data/packages/gsutil/boto/tests/integration/glacier/__init__.py +0 -22
- data/packages/gsutil/boto/tests/integration/glacier/test_cert_verification.py +0 -40
- data/packages/gsutil/boto/tests/integration/glacier/test_layer1.py +0 -44
- data/packages/gsutil/boto/tests/integration/glacier/test_layer2.py +0 -45
- data/packages/gsutil/boto/tests/integration/gs/__init__.py +0 -0
- data/packages/gsutil/boto/tests/integration/gs/cb_test_harness.py +0 -71
- data/packages/gsutil/boto/tests/integration/gs/test_basic.py +0 -379
- data/packages/gsutil/boto/tests/integration/gs/test_generation_conditionals.py +0 -399
- data/packages/gsutil/boto/tests/integration/gs/test_resumable_downloads.py +0 -358
- data/packages/gsutil/boto/tests/integration/gs/test_resumable_uploads.py +0 -525
- data/packages/gsutil/boto/tests/integration/gs/test_storage_uri.py +0 -125
- data/packages/gsutil/boto/tests/integration/gs/test_versioning.py +0 -268
- data/packages/gsutil/boto/tests/integration/gs/testcase.py +0 -116
- data/packages/gsutil/boto/tests/integration/gs/util.py +0 -63
- data/packages/gsutil/boto/tests/integration/iam/__init__.py +0 -20
- data/packages/gsutil/boto/tests/integration/iam/test_cert_verification.py +0 -40
- data/packages/gsutil/boto/tests/integration/mws/__init__.py +0 -0
- data/packages/gsutil/boto/tests/integration/mws/test.py +0 -100
- data/packages/gsutil/boto/tests/integration/rds/__init__.py +0 -21
- data/packages/gsutil/boto/tests/integration/rds/test_cert_verification.py +0 -40
- data/packages/gsutil/boto/tests/integration/route53/__init__.py +0 -20
- data/packages/gsutil/boto/tests/integration/route53/test_cert_verification.py +0 -40
- data/packages/gsutil/boto/tests/integration/route53/test_zone.py +0 -132
- data/packages/gsutil/boto/tests/integration/s3/__init__.py +0 -20
- data/packages/gsutil/boto/tests/integration/s3/mock_storage_service.py +0 -589
- data/packages/gsutil/boto/tests/integration/s3/other_cacerts.txt +0 -70
- data/packages/gsutil/boto/tests/integration/s3/test_bucket.py +0 -263
- data/packages/gsutil/boto/tests/integration/s3/test_cert_verification.py +0 -40
- data/packages/gsutil/boto/tests/integration/s3/test_connection.py +0 -245
- data/packages/gsutil/boto/tests/integration/s3/test_cors.py +0 -78
- data/packages/gsutil/boto/tests/integration/s3/test_encryption.py +0 -115
- data/packages/gsutil/boto/tests/integration/s3/test_https_cert_validation.py +0 -141
- data/packages/gsutil/boto/tests/integration/s3/test_key.py +0 -375
- data/packages/gsutil/boto/tests/integration/s3/test_mfa.py +0 -95
- data/packages/gsutil/boto/tests/integration/s3/test_multidelete.py +0 -181
- data/packages/gsutil/boto/tests/integration/s3/test_multipart.py +0 -139
- data/packages/gsutil/boto/tests/integration/s3/test_pool.py +0 -246
- data/packages/gsutil/boto/tests/integration/s3/test_versioning.py +0 -158
- data/packages/gsutil/boto/tests/integration/sdb/__init__.py +0 -20
- data/packages/gsutil/boto/tests/integration/sdb/test_cert_verification.py +0 -40
- data/packages/gsutil/boto/tests/integration/sdb/test_connection.py +0 -119
- data/packages/gsutil/boto/tests/integration/ses/__init__.py +0 -0
- data/packages/gsutil/boto/tests/integration/ses/test_cert_verification.py +0 -40
- data/packages/gsutil/boto/tests/integration/ses/test_connection.py +0 -38
- data/packages/gsutil/boto/tests/integration/sns/__init__.py +0 -20
- data/packages/gsutil/boto/tests/integration/sns/test_cert_verification.py +0 -40
- data/packages/gsutil/boto/tests/integration/sqs/__init__.py +0 -20
- data/packages/gsutil/boto/tests/integration/sqs/test_cert_verification.py +0 -40
- data/packages/gsutil/boto/tests/integration/sqs/test_connection.py +0 -217
- data/packages/gsutil/boto/tests/integration/sts/__init__.py +0 -20
- data/packages/gsutil/boto/tests/integration/sts/test_cert_verification.py +0 -40
- data/packages/gsutil/boto/tests/integration/sts/test_session_token.py +0 -65
- data/packages/gsutil/boto/tests/integration/swf/__init__.py +0 -0
- data/packages/gsutil/boto/tests/integration/swf/test_cert_verification.py +0 -40
- data/packages/gsutil/boto/tests/integration/swf/test_layer1.py +0 -246
- data/packages/gsutil/boto/tests/integration/swf/test_layer1_workflow_execution.py +0 -173
- data/packages/gsutil/boto/tests/mturk/__init__.py +0 -0
- data/packages/gsutil/boto/tests/mturk/_init_environment.py +0 -28
- data/packages/gsutil/boto/tests/mturk/all_tests.py +0 -24
- data/packages/gsutil/boto/tests/mturk/cleanup_tests.py +0 -47
- data/packages/gsutil/boto/tests/mturk/common.py +0 -45
- data/packages/gsutil/boto/tests/mturk/create_free_text_question_regex.doctest +0 -100
- data/packages/gsutil/boto/tests/mturk/create_hit.doctest +0 -92
- data/packages/gsutil/boto/tests/mturk/create_hit_binary.doctest +0 -94
- data/packages/gsutil/boto/tests/mturk/create_hit_external.py +0 -21
- data/packages/gsutil/boto/tests/mturk/create_hit_from_hit_type.doctest +0 -103
- data/packages/gsutil/boto/tests/mturk/create_hit_test.py +0 -21
- data/packages/gsutil/boto/tests/mturk/create_hit_with_qualifications.py +0 -16
- data/packages/gsutil/boto/tests/mturk/hit_persistence.py +0 -27
- data/packages/gsutil/boto/tests/mturk/mocks.py +0 -11
- data/packages/gsutil/boto/tests/mturk/reviewable_hits.doctest +0 -129
- data/packages/gsutil/boto/tests/mturk/run-doctest.py +0 -13
- data/packages/gsutil/boto/tests/mturk/search_hits.doctest +0 -16
- data/packages/gsutil/boto/tests/mturk/selenium_support.py +0 -61
- data/packages/gsutil/boto/tests/mturk/support.py +0 -7
- data/packages/gsutil/boto/tests/mturk/test_disable_hit.py +0 -11
- data/packages/gsutil/boto/tests/test.py +0 -59
- data/packages/gsutil/boto/tests/unit/__init__.py +0 -79
- data/packages/gsutil/boto/tests/unit/auth/__init__.py +0 -0
- data/packages/gsutil/boto/tests/unit/auth/test_sigv4.py +0 -73
- data/packages/gsutil/boto/tests/unit/beanstalk/__init__.py +0 -0
- data/packages/gsutil/boto/tests/unit/beanstalk/test_layer1.py +0 -128
- data/packages/gsutil/boto/tests/unit/cloudformation/__init__.py +0 -0
- data/packages/gsutil/boto/tests/unit/cloudformation/test_connection.py +0 -605
- data/packages/gsutil/boto/tests/unit/cloudformation/test_stack.py +0 -63
- data/packages/gsutil/boto/tests/unit/cloudfront/__init__.py +0 -0
- data/packages/gsutil/boto/tests/unit/cloudfront/test_invalidation_list.py +0 -113
- data/packages/gsutil/boto/tests/unit/cloudfront/test_signed_urls.py +0 -354
- data/packages/gsutil/boto/tests/unit/cloudsearch/__init__.py +0 -1
- data/packages/gsutil/boto/tests/unit/cloudsearch/test_connection.py +0 -241
- data/packages/gsutil/boto/tests/unit/cloudsearch/test_document.py +0 -324
- data/packages/gsutil/boto/tests/unit/cloudsearch/test_search.py +0 -325
- data/packages/gsutil/boto/tests/unit/dynamodb/__init__.py +0 -0
- data/packages/gsutil/boto/tests/unit/dynamodb/test_batch.py +0 -103
- data/packages/gsutil/boto/tests/unit/dynamodb/test_layer2.py +0 -119
- data/packages/gsutil/boto/tests/unit/dynamodb/test_types.py +0 -82
- data/packages/gsutil/boto/tests/unit/ec2/__init__.py +0 -0
- data/packages/gsutil/boto/tests/unit/ec2/autoscale/__init__.py +0 -0
- data/packages/gsutil/boto/tests/unit/ec2/autoscale/test_group.py +0 -162
- data/packages/gsutil/boto/tests/unit/ec2/test_address.py +0 -39
- data/packages/gsutil/boto/tests/unit/ec2/test_blockdevicemapping.py +0 -79
- data/packages/gsutil/boto/tests/unit/ec2/test_connection.py +0 -480
- data/packages/gsutil/boto/tests/unit/ec2/test_instance.py +0 -243
- data/packages/gsutil/boto/tests/unit/ec2/test_networkinterface.py +0 -140
- data/packages/gsutil/boto/tests/unit/ec2/test_volume.py +0 -248
- data/packages/gsutil/boto/tests/unit/emr/test_emr_responses.py +0 -373
- data/packages/gsutil/boto/tests/unit/glacier/__init__.py +0 -0
- data/packages/gsutil/boto/tests/unit/glacier/test_concurrent.py +0 -120
- data/packages/gsutil/boto/tests/unit/glacier/test_job.py +0 -60
- data/packages/gsutil/boto/tests/unit/glacier/test_layer1.py +0 -98
- data/packages/gsutil/boto/tests/unit/glacier/test_layer2.py +0 -266
- data/packages/gsutil/boto/tests/unit/glacier/test_utils.py +0 -116
- data/packages/gsutil/boto/tests/unit/glacier/test_vault.py +0 -100
- data/packages/gsutil/boto/tests/unit/glacier/test_writer.py +0 -185
- data/packages/gsutil/boto/tests/unit/provider/__init__.py +0 -0
- data/packages/gsutil/boto/tests/unit/provider/test_provider.py +0 -176
- data/packages/gsutil/boto/tests/unit/rds/__init__.py +0 -0
- data/packages/gsutil/boto/tests/unit/rds/test_connection.py +0 -131
- data/packages/gsutil/boto/tests/unit/s3/__init__.py +0 -0
- data/packages/gsutil/boto/tests/unit/s3/test_cors_configuration.py +0 -77
- data/packages/gsutil/boto/tests/unit/s3/test_key.py +0 -75
- data/packages/gsutil/boto/tests/unit/s3/test_keyfile.py +0 -101
- data/packages/gsutil/boto/tests/unit/s3/test_lifecycle.py +0 -97
- data/packages/gsutil/boto/tests/unit/s3/test_tagging.py +0 -47
- data/packages/gsutil/boto/tests/unit/s3/test_uri.py +0 -257
- data/packages/gsutil/boto/tests/unit/s3/test_website.py +0 -188
- data/packages/gsutil/boto/tests/unit/sns/__init__.py +0 -0
- data/packages/gsutil/boto/tests/unit/sns/test_connection.py +0 -99
- data/packages/gsutil/boto/tests/unit/sqs/__init__.py +0 -0
- data/packages/gsutil/boto/tests/unit/sqs/test_connection.py +0 -98
- data/packages/gsutil/boto/tests/unit/sqs/test_queue.py +0 -40
- data/packages/gsutil/boto/tests/unit/sts/test_connection.py +0 -74
- data/packages/gsutil/boto/tests/unit/test_connection.py +0 -60
- data/packages/gsutil/boto/tests/unit/utils/test_utils.py +0 -109
- data/packages/gsutil/boto/tox.ini +0 -8
- data/packages/gsutil/gslib/README +0 -5
- data/packages/gsutil/gslib/__init__.py +0 -22
- data/packages/gsutil/gslib/__init__.pyc +0 -0
- data/packages/gsutil/gslib/addlhelp/acls.py +0 -234
- data/packages/gsutil/gslib/addlhelp/anon.py +0 -57
- data/packages/gsutil/gslib/addlhelp/command_opts.py +0 -116
- data/packages/gsutil/gslib/addlhelp/dev.py +0 -139
- data/packages/gsutil/gslib/addlhelp/metadata.py +0 -186
- data/packages/gsutil/gslib/addlhelp/naming.py +0 -173
- data/packages/gsutil/gslib/addlhelp/prod.py +0 -160
- data/packages/gsutil/gslib/addlhelp/projects.py +0 -130
- data/packages/gsutil/gslib/addlhelp/subdirs.py +0 -110
- data/packages/gsutil/gslib/addlhelp/support.py +0 -86
- data/packages/gsutil/gslib/addlhelp/versioning.py +0 -242
- data/packages/gsutil/gslib/addlhelp/wildcards.py +0 -170
- data/packages/gsutil/gslib/bucket_listing_ref.py +0 -175
- data/packages/gsutil/gslib/bucket_listing_ref.pyc +0 -0
- data/packages/gsutil/gslib/command.py +0 -722
- data/packages/gsutil/gslib/command.pyc +0 -0
- data/packages/gsutil/gslib/command_runner.py +0 -101
- data/packages/gsutil/gslib/command_runner.pyc +0 -0
- data/packages/gsutil/gslib/commands/__init__.pyc +0 -0
- data/packages/gsutil/gslib/commands/cat.py +0 -131
- data/packages/gsutil/gslib/commands/cat.pyc +0 -0
- data/packages/gsutil/gslib/commands/chacl.py +0 -532
- data/packages/gsutil/gslib/commands/chacl.pyc +0 -0
- data/packages/gsutil/gslib/commands/config.py +0 -694
- data/packages/gsutil/gslib/commands/config.pyc +0 -0
- data/packages/gsutil/gslib/commands/cp.py +0 -1818
- data/packages/gsutil/gslib/commands/cp.pyc +0 -0
- data/packages/gsutil/gslib/commands/disablelogging.py +0 -101
- data/packages/gsutil/gslib/commands/disablelogging.pyc +0 -0
- data/packages/gsutil/gslib/commands/enablelogging.py +0 -149
- data/packages/gsutil/gslib/commands/enablelogging.pyc +0 -0
- data/packages/gsutil/gslib/commands/getacl.py +0 -82
- data/packages/gsutil/gslib/commands/getacl.pyc +0 -0
- data/packages/gsutil/gslib/commands/getcors.py +0 -121
- data/packages/gsutil/gslib/commands/getcors.pyc +0 -0
- data/packages/gsutil/gslib/commands/getdefacl.py +0 -86
- data/packages/gsutil/gslib/commands/getdefacl.pyc +0 -0
- data/packages/gsutil/gslib/commands/getlogging.py +0 -137
- data/packages/gsutil/gslib/commands/getlogging.pyc +0 -0
- data/packages/gsutil/gslib/commands/getversioning.py +0 -116
- data/packages/gsutil/gslib/commands/getversioning.pyc +0 -0
- data/packages/gsutil/gslib/commands/getwebcfg.py +0 -122
- data/packages/gsutil/gslib/commands/getwebcfg.pyc +0 -0
- data/packages/gsutil/gslib/commands/help.py +0 -218
- data/packages/gsutil/gslib/commands/help.pyc +0 -0
- data/packages/gsutil/gslib/commands/ls.py +0 -578
- data/packages/gsutil/gslib/commands/ls.pyc +0 -0
- data/packages/gsutil/gslib/commands/mb.py +0 -172
- data/packages/gsutil/gslib/commands/mb.pyc +0 -0
- data/packages/gsutil/gslib/commands/mv.py +0 -159
- data/packages/gsutil/gslib/commands/mv.pyc +0 -0
- data/packages/gsutil/gslib/commands/perfdiag.py +0 -903
- data/packages/gsutil/gslib/commands/perfdiag.pyc +0 -0
- data/packages/gsutil/gslib/commands/rb.py +0 -113
- data/packages/gsutil/gslib/commands/rb.pyc +0 -0
- data/packages/gsutil/gslib/commands/rm.py +0 -239
- data/packages/gsutil/gslib/commands/rm.pyc +0 -0
- data/packages/gsutil/gslib/commands/setacl.py +0 -138
- data/packages/gsutil/gslib/commands/setacl.pyc +0 -0
- data/packages/gsutil/gslib/commands/setcors.py +0 -145
- data/packages/gsutil/gslib/commands/setcors.pyc +0 -0
- data/packages/gsutil/gslib/commands/setdefacl.py +0 -105
- data/packages/gsutil/gslib/commands/setdefacl.pyc +0 -0
- data/packages/gsutil/gslib/commands/setmeta.py +0 -428
- data/packages/gsutil/gslib/commands/setmeta.pyc +0 -0
- data/packages/gsutil/gslib/commands/setversioning.py +0 -114
- data/packages/gsutil/gslib/commands/setversioning.pyc +0 -0
- data/packages/gsutil/gslib/commands/setwebcfg.py +0 -190
- data/packages/gsutil/gslib/commands/setwebcfg.pyc +0 -0
- data/packages/gsutil/gslib/commands/test.py +0 -228
- data/packages/gsutil/gslib/commands/test.pyc +0 -0
- data/packages/gsutil/gslib/commands/update.py +0 -305
- data/packages/gsutil/gslib/commands/update.pyc +0 -0
- data/packages/gsutil/gslib/commands/version.py +0 -150
- data/packages/gsutil/gslib/commands/version.pyc +0 -0
- data/packages/gsutil/gslib/exception.py +0 -76
- data/packages/gsutil/gslib/exception.pyc +0 -0
- data/packages/gsutil/gslib/help_provider.py +0 -81
- data/packages/gsutil/gslib/help_provider.pyc +0 -0
- data/packages/gsutil/gslib/name_expansion.py +0 -550
- data/packages/gsutil/gslib/name_expansion.pyc +0 -0
- data/packages/gsutil/gslib/plurality_checkable_iterator.py +0 -56
- data/packages/gsutil/gslib/plurality_checkable_iterator.pyc +0 -0
- data/packages/gsutil/gslib/project_id.py +0 -67
- data/packages/gsutil/gslib/project_id.pyc +0 -0
- data/packages/gsutil/gslib/storage_uri_builder.py +0 -56
- data/packages/gsutil/gslib/storage_uri_builder.pyc +0 -0
- data/packages/gsutil/gslib/tests/__init__.pyc +0 -0
- data/packages/gsutil/gslib/tests/test_chacl.py +0 -236
- data/packages/gsutil/gslib/tests/test_cp.py +0 -267
- data/packages/gsutil/gslib/tests/test_data/test.gif +0 -0
- data/packages/gsutil/gslib/tests/test_data/test.mp3 +0 -0
- data/packages/gsutil/gslib/tests/test_ls.py +0 -66
- data/packages/gsutil/gslib/tests/test_mv.py +0 -69
- data/packages/gsutil/gslib/tests/test_naming.py +0 -989
- data/packages/gsutil/gslib/tests/test_perfdiag.py +0 -41
- data/packages/gsutil/gslib/tests/test_plurality_checkable_iterator.py +0 -67
- data/packages/gsutil/gslib/tests/test_rm.py +0 -143
- data/packages/gsutil/gslib/tests/test_setacl.py +0 -152
- data/packages/gsutil/gslib/tests/test_setcors.py +0 -168
- data/packages/gsutil/gslib/tests/test_setmeta.py +0 -91
- data/packages/gsutil/gslib/tests/test_setversioning.py +0 -44
- data/packages/gsutil/gslib/tests/test_setwebcfg.py +0 -63
- data/packages/gsutil/gslib/tests/test_thread_pool.py +0 -92
- data/packages/gsutil/gslib/tests/test_wildcard_iterator.py +0 -364
- data/packages/gsutil/gslib/tests/testcase/base.py +0 -89
- data/packages/gsutil/gslib/tests/testcase/integration_testcase.py +0 -197
- data/packages/gsutil/gslib/tests/testcase/unit_testcase.py +0 -230
- data/packages/gsutil/gslib/tests/util.py +0 -125
- data/packages/gsutil/gslib/tests/util.pyc +0 -0
- data/packages/gsutil/gslib/thread_pool.py +0 -79
- data/packages/gsutil/gslib/thread_pool.pyc +0 -0
- data/packages/gsutil/gslib/util.py +0 -151
- data/packages/gsutil/gslib/util.pyc +0 -0
- data/packages/gsutil/gslib/wildcard_iterator.py +0 -492
- data/packages/gsutil/gslib/wildcard_iterator.pyc +0 -0
- data/packages/gsutil/gsutil +0 -377
- data/packages/gsutil/gsutil.spec.in +0 -75
- data/packages/gsutil/oauth2_plugin/__init__.py +0 -22
- data/packages/gsutil/oauth2_plugin/__init__.pyc +0 -0
- data/packages/gsutil/oauth2_plugin/oauth2_client.py +0 -642
- data/packages/gsutil/oauth2_plugin/oauth2_client.pyc +0 -0
- data/packages/gsutil/oauth2_plugin/oauth2_client_test.py +0 -374
- data/packages/gsutil/oauth2_plugin/oauth2_helper.py +0 -110
- data/packages/gsutil/oauth2_plugin/oauth2_helper.pyc +0 -0
- data/packages/gsutil/oauth2_plugin/oauth2_plugin.py +0 -24
- data/packages/gsutil/oauth2_plugin/oauth2_plugin.pyc +0 -0
- data/packages/gsutil/pkg_gen.sh +0 -54
- data/packages/gsutil/pkg_util.py +0 -60
- data/packages/gsutil/setup.py +0 -141
- data/packages/gsutil/third_party/__init__.py +0 -0
- data/packages/gsutil/third_party/__init__.pyc +0 -0
- data/packages/gsutil/third_party/fancy_urllib/README +0 -21
- data/packages/gsutil/third_party/fancy_urllib/__init__.py +0 -398
- data/packages/gsutil/third_party/fancy_urllib/__init__.pyc +0 -0
- data/tasks/rubygem.rake +0 -31
- metadata.gz.sig +0 -0
Binary file
|
@@ -1,58 +0,0 @@
|
|
1
|
-
# Copyright 2010 Google Inc.
|
2
|
-
#
|
3
|
-
# Permission is hereby granted, free of charge, to any person obtaining a
|
4
|
-
# copy of this software and associated documentation files (the
|
5
|
-
# "Software"), to deal in the Software without restriction, including
|
6
|
-
# without limitation the rights to use, copy, modify, merge, publish, dis-
|
7
|
-
# tribute, sublicense, and/or sell copies of the Software, and to permit
|
8
|
-
# persons to whom the Software is furnished to do so, subject to the fol-
|
9
|
-
# lowing conditions:
|
10
|
-
#
|
11
|
-
# The above copyright notice and this permission notice shall be included
|
12
|
-
# in all copies or substantial portions of the Software.
|
13
|
-
#
|
14
|
-
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
15
|
-
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABIL-
|
16
|
-
# ITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
|
17
|
-
# SHALL THE AUTHOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
18
|
-
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
19
|
-
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
20
|
-
# IN THE SOFTWARE.
|
21
|
-
|
22
|
-
"""
|
23
|
-
Defines an interface which all Auth handlers need to implement.
|
24
|
-
"""
|
25
|
-
|
26
|
-
from plugin import Plugin
|
27
|
-
|
28
|
-
class NotReadyToAuthenticate(Exception):
|
29
|
-
pass
|
30
|
-
|
31
|
-
class AuthHandler(Plugin):
|
32
|
-
|
33
|
-
capability = []
|
34
|
-
|
35
|
-
def __init__(self, host, config, provider):
|
36
|
-
"""Constructs the handlers.
|
37
|
-
:type host: string
|
38
|
-
:param host: The host to which the request is being sent.
|
39
|
-
|
40
|
-
:type config: boto.pyami.Config
|
41
|
-
:param config: Boto configuration.
|
42
|
-
|
43
|
-
:type provider: boto.provider.Provider
|
44
|
-
:param provider: Provider details.
|
45
|
-
|
46
|
-
Raises:
|
47
|
-
NotReadyToAuthenticate: if this handler is not willing to
|
48
|
-
authenticate for the given provider and config.
|
49
|
-
"""
|
50
|
-
pass
|
51
|
-
|
52
|
-
def add_auth(self, http_request):
|
53
|
-
"""Invoked to add authentication details to request.
|
54
|
-
|
55
|
-
:type http_request: boto.connection.HTTPRequest
|
56
|
-
:param http_request: HTTP request that needs to be authenticated.
|
57
|
-
"""
|
58
|
-
pass
|
Binary file
|
@@ -1,65 +0,0 @@
|
|
1
|
-
# Copyright (c) 2013 Amazon.com, Inc. or its affiliates.
|
2
|
-
# All Rights Reserved
|
3
|
-
#
|
4
|
-
# Permission is hereby granted, free of charge, to any person obtaining a
|
5
|
-
# copy of this software and associated documentation files (the
|
6
|
-
# "Software"), to deal in the Software without restriction, including
|
7
|
-
# without limitation the rights to use, copy, modify, merge, publish, dis-
|
8
|
-
# tribute, sublicense, and/or sell copies of the Software, and to permit
|
9
|
-
# persons to whom the Software is furnished to do so, subject to the fol-
|
10
|
-
# lowing conditions:
|
11
|
-
#
|
12
|
-
# The above copyright notice and this permission notice shall be included
|
13
|
-
# in all copies or substantial portions of the Software.
|
14
|
-
#
|
15
|
-
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
16
|
-
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABIL-
|
17
|
-
# ITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
|
18
|
-
# SHALL THE AUTHOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
19
|
-
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
-
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
21
|
-
# IN THE SOFTWARE.
|
22
|
-
#
|
23
|
-
from boto.regioninfo import RegionInfo
|
24
|
-
|
25
|
-
|
26
|
-
def regions():
|
27
|
-
"""
|
28
|
-
Get all available regions for the AWS Elastic Beanstalk service.
|
29
|
-
|
30
|
-
:rtype: list
|
31
|
-
:return: A list of :class:`boto.regioninfo.RegionInfo`
|
32
|
-
"""
|
33
|
-
import boto.beanstalk.layer1
|
34
|
-
return [RegionInfo(name='us-east-1',
|
35
|
-
endpoint='elasticbeanstalk.us-east-1.amazonaws.com',
|
36
|
-
connection_cls=boto.beanstalk.layer1.Layer1),
|
37
|
-
RegionInfo(name='us-west-1',
|
38
|
-
endpoint='elasticbeanstalk.us-west-1.amazonaws.com',
|
39
|
-
connection_cls=boto.beanstalk.layer1.Layer1),
|
40
|
-
RegionInfo(name='us-west-2',
|
41
|
-
endpoint='elasticbeanstalk.us-west-2.amazonaws.com',
|
42
|
-
connection_cls=boto.beanstalk.layer1.Layer1),
|
43
|
-
RegionInfo(name='ap-northeast-1',
|
44
|
-
endpoint='elasticbeanstalk.ap-northeast-1.amazonaws.com',
|
45
|
-
connection_cls=boto.beanstalk.layer1.Layer1),
|
46
|
-
RegionInfo(name='ap-southeast-1',
|
47
|
-
endpoint='elasticbeanstalk.ap-southeast-1.amazonaws.com',
|
48
|
-
connection_cls=boto.beanstalk.layer1.Layer1),
|
49
|
-
RegionInfo(name='ap-southeast-2',
|
50
|
-
endpoint='elasticbeanstalk.ap-southeast-2.amazonaws.com',
|
51
|
-
connection_cls=boto.beanstalk.layer1.Layer1),
|
52
|
-
RegionInfo(name='eu-west-1',
|
53
|
-
endpoint='elasticbeanstalk.eu-west-1.amazonaws.com',
|
54
|
-
connection_cls=boto.beanstalk.layer1.Layer1),
|
55
|
-
RegionInfo(name='sa-east-1',
|
56
|
-
endpoint='elasticbeanstalk.sa-east-1.amazonaws.com',
|
57
|
-
connection_cls=boto.beanstalk.layer1.Layer1),
|
58
|
-
]
|
59
|
-
|
60
|
-
|
61
|
-
def connect_to_region(region_name, **kw_params):
|
62
|
-
for region in regions():
|
63
|
-
if region.name == region_name:
|
64
|
-
return region.connect(**kw_params)
|
65
|
-
return None
|
@@ -1,64 +0,0 @@
|
|
1
|
-
import sys
|
2
|
-
import json
|
3
|
-
from boto.exception import BotoServerError
|
4
|
-
|
5
|
-
|
6
|
-
def simple(e):
|
7
|
-
err = json.loads(e.error_message)
|
8
|
-
code = err['Error']['Code']
|
9
|
-
|
10
|
-
try:
|
11
|
-
# Dynamically get the error class.
|
12
|
-
simple_e = getattr(sys.modules[__name__], code)(e, err)
|
13
|
-
except AttributeError:
|
14
|
-
# Return original exception on failure.
|
15
|
-
return e
|
16
|
-
|
17
|
-
return simple_e
|
18
|
-
|
19
|
-
|
20
|
-
class SimpleException(BotoServerError):
|
21
|
-
def __init__(self, e, err):
|
22
|
-
super(SimpleException, self).__init__(e.status, e.reason, e.body)
|
23
|
-
self.body = e.error_message
|
24
|
-
self.request_id = err['RequestId']
|
25
|
-
self.error_code = err['Error']['Code']
|
26
|
-
self.error_message = err['Error']['Message']
|
27
|
-
|
28
|
-
def __repr__(self):
|
29
|
-
return self.__class__.__name__ + ': ' + self.error_message
|
30
|
-
def __str__(self):
|
31
|
-
return self.__class__.__name__ + ': ' + self.error_message
|
32
|
-
|
33
|
-
|
34
|
-
class ValidationError(SimpleException): pass
|
35
|
-
|
36
|
-
# Common beanstalk exceptions.
|
37
|
-
class IncompleteSignature(SimpleException): pass
|
38
|
-
class InternalFailure(SimpleException): pass
|
39
|
-
class InvalidAction(SimpleException): pass
|
40
|
-
class InvalidClientTokenId(SimpleException): pass
|
41
|
-
class InvalidParameterCombination(SimpleException): pass
|
42
|
-
class InvalidParameterValue(SimpleException): pass
|
43
|
-
class InvalidQueryParameter(SimpleException): pass
|
44
|
-
class MalformedQueryString(SimpleException): pass
|
45
|
-
class MissingAction(SimpleException): pass
|
46
|
-
class MissingAuthenticationToken(SimpleException): pass
|
47
|
-
class MissingParameter(SimpleException): pass
|
48
|
-
class OptInRequired(SimpleException): pass
|
49
|
-
class RequestExpired(SimpleException): pass
|
50
|
-
class ServiceUnavailable(SimpleException): pass
|
51
|
-
class Throttling(SimpleException): pass
|
52
|
-
|
53
|
-
|
54
|
-
# Action specific exceptions.
|
55
|
-
class TooManyApplications(SimpleException): pass
|
56
|
-
class InsufficientPrivileges(SimpleException): pass
|
57
|
-
class S3LocationNotInServiceRegion(SimpleException): pass
|
58
|
-
class TooManyApplicationVersions(SimpleException): pass
|
59
|
-
class TooManyConfigurationTemplates(SimpleException): pass
|
60
|
-
class TooManyEnvironments(SimpleException): pass
|
61
|
-
class S3SubscriptionRequired(SimpleException): pass
|
62
|
-
class TooManyBuckets(SimpleException): pass
|
63
|
-
class OperationInProgress(SimpleException): pass
|
64
|
-
class SourceBundleDeletion(SimpleException): pass
|
@@ -1,1153 +0,0 @@
|
|
1
|
-
# Copyright (c) 2012 Mitch Garnaat http://garnaat.org/
|
2
|
-
# Copyright (c) 2012 Amazon.com, Inc. or its affiliates.
|
3
|
-
# All Rights Reserved
|
4
|
-
#
|
5
|
-
# Permission is hereby granted, free of charge, to any person obtaining a
|
6
|
-
# copy of this software and associated documentation files (the
|
7
|
-
# "Software"), to deal in the Software without restriction, including
|
8
|
-
# without limitation the rights to use, copy, modify, merge, publish, dis-
|
9
|
-
# tribute, sublicense, and/or sell copies of the Software, and to permit
|
10
|
-
# persons to whom the Software is furnished to do so, subject to the fol-
|
11
|
-
# lowing conditions:
|
12
|
-
#
|
13
|
-
# The above copyright notice and this permission notice shall be included
|
14
|
-
# in all copies or substantial portions of the Software.
|
15
|
-
#
|
16
|
-
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
17
|
-
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABIL-
|
18
|
-
# ITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
|
19
|
-
# SHALL THE AUTHOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
20
|
-
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
21
|
-
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
22
|
-
# IN THE SOFTWARE.
|
23
|
-
#
|
24
|
-
import json
|
25
|
-
|
26
|
-
import boto
|
27
|
-
import boto.jsonresponse
|
28
|
-
from boto.regioninfo import RegionInfo
|
29
|
-
from boto.connection import AWSQueryConnection
|
30
|
-
|
31
|
-
|
32
|
-
class Layer1(AWSQueryConnection):
|
33
|
-
|
34
|
-
APIVersion = '2010-12-01'
|
35
|
-
DefaultRegionName = 'us-east-1'
|
36
|
-
DefaultRegionEndpoint = 'elasticbeanstalk.us-east-1.amazonaws.com'
|
37
|
-
|
38
|
-
def __init__(self, aws_access_key_id=None, aws_secret_access_key=None,
|
39
|
-
is_secure=True, port=None,
|
40
|
-
proxy=None, proxy_port=None,
|
41
|
-
proxy_user=None, proxy_pass=None, debug=0,
|
42
|
-
https_connection_factory=None, region=None, path='/',
|
43
|
-
api_version=None, security_token=None):
|
44
|
-
if not region:
|
45
|
-
region = RegionInfo(self, self.DefaultRegionName,
|
46
|
-
self.DefaultRegionEndpoint)
|
47
|
-
self.region = region
|
48
|
-
AWSQueryConnection.__init__(self, aws_access_key_id,
|
49
|
-
aws_secret_access_key,
|
50
|
-
is_secure, port, proxy, proxy_port,
|
51
|
-
proxy_user, proxy_pass,
|
52
|
-
self.region.endpoint, debug,
|
53
|
-
https_connection_factory, path,
|
54
|
-
security_token)
|
55
|
-
|
56
|
-
def _required_auth_capability(self):
|
57
|
-
return ['sign-v2']
|
58
|
-
|
59
|
-
def _encode_bool(self, v):
|
60
|
-
v = bool(v)
|
61
|
-
return {True: "true", False: "false"}[v]
|
62
|
-
|
63
|
-
def _get_response(self, action, params, path='/', verb='GET'):
|
64
|
-
params['ContentType'] = 'JSON'
|
65
|
-
response = self.make_request(action, params, path, verb)
|
66
|
-
body = response.read()
|
67
|
-
boto.log.debug(body)
|
68
|
-
if response.status == 200:
|
69
|
-
return json.loads(body)
|
70
|
-
else:
|
71
|
-
raise self.ResponseError(response.status, response.reason, body)
|
72
|
-
|
73
|
-
def check_dns_availability(self, cname_prefix):
|
74
|
-
"""Checks if the specified CNAME is available.
|
75
|
-
|
76
|
-
:type cname_prefix: string
|
77
|
-
:param cname_prefix: The prefix used when this CNAME is
|
78
|
-
reserved.
|
79
|
-
"""
|
80
|
-
params = {'CNAMEPrefix': cname_prefix}
|
81
|
-
return self._get_response('CheckDNSAvailability', params)
|
82
|
-
|
83
|
-
def create_application(self, application_name, description=None):
|
84
|
-
"""
|
85
|
-
Creates an application that has one configuration template
|
86
|
-
named default and no application versions.
|
87
|
-
|
88
|
-
:type application_name: string
|
89
|
-
:param application_name: The name of the application.
|
90
|
-
Constraint: This name must be unique within your account. If the
|
91
|
-
specified name already exists, the action returns an
|
92
|
-
InvalidParameterValue error.
|
93
|
-
|
94
|
-
:type description: string
|
95
|
-
:param description: Describes the application.
|
96
|
-
|
97
|
-
:raises: TooManyApplicationsException
|
98
|
-
"""
|
99
|
-
params = {'ApplicationName': application_name}
|
100
|
-
if description:
|
101
|
-
params['Description'] = description
|
102
|
-
return self._get_response('CreateApplication', params)
|
103
|
-
|
104
|
-
def create_application_version(self, application_name, version_label,
|
105
|
-
description=None, s3_bucket=None,
|
106
|
-
s3_key=None, auto_create_application=None):
|
107
|
-
"""Creates an application version for the specified application.
|
108
|
-
|
109
|
-
:type application_name: string
|
110
|
-
:param application_name: The name of the application. If no
|
111
|
-
application is found with this name, and AutoCreateApplication is
|
112
|
-
false, returns an InvalidParameterValue error.
|
113
|
-
|
114
|
-
:type version_label: string
|
115
|
-
:param version_label: A label identifying this version. Constraint:
|
116
|
-
Must be unique per application. If an application version already
|
117
|
-
exists with this label for the specified application, AWS Elastic
|
118
|
-
Beanstalk returns an InvalidParameterValue error.
|
119
|
-
|
120
|
-
:type description: string
|
121
|
-
:param description: Describes this version.
|
122
|
-
|
123
|
-
:type s3_bucket: string
|
124
|
-
:param s3_bucket: The Amazon S3 bucket where the data is located.
|
125
|
-
|
126
|
-
:type s3_key: string
|
127
|
-
:param s3_key: The Amazon S3 key where the data is located. Both
|
128
|
-
s3_bucket and s3_key must be specified in order to use a specific
|
129
|
-
source bundle. If both of these values are not specified the
|
130
|
-
sample application will be used.
|
131
|
-
|
132
|
-
:type auto_create_application: boolean
|
133
|
-
:param auto_create_application: Determines how the system behaves if
|
134
|
-
the specified application for this version does not already exist:
|
135
|
-
true: Automatically creates the specified application for this
|
136
|
-
version if it does not already exist. false: Returns an
|
137
|
-
InvalidParameterValue if the specified application for this version
|
138
|
-
does not already exist. Default: false Valid Values: true | false
|
139
|
-
|
140
|
-
:raises: TooManyApplicationsException,
|
141
|
-
TooManyApplicationVersionsException,
|
142
|
-
InsufficientPrivilegesException,
|
143
|
-
S3LocationNotInServiceRegionException
|
144
|
-
|
145
|
-
"""
|
146
|
-
params = {'ApplicationName': application_name,
|
147
|
-
'VersionLabel': version_label}
|
148
|
-
if description:
|
149
|
-
params['Description'] = description
|
150
|
-
if s3_bucket and s3_key:
|
151
|
-
params['SourceBundle.S3Bucket'] = s3_bucket
|
152
|
-
params['SourceBundle.S3Key'] = s3_key
|
153
|
-
if auto_create_application:
|
154
|
-
params['AutoCreateApplication'] = self._encode_bool(
|
155
|
-
auto_create_application)
|
156
|
-
return self._get_response('CreateApplicationVersion', params)
|
157
|
-
|
158
|
-
def create_configuration_template(self, application_name, template_name,
|
159
|
-
solution_stack_name=None,
|
160
|
-
source_configuration_application_name=None,
|
161
|
-
source_configuration_template_name=None,
|
162
|
-
environment_id=None, description=None,
|
163
|
-
option_settings=None):
|
164
|
-
"""Creates a configuration template.
|
165
|
-
|
166
|
-
Templates are associated with a specific application and are used to
|
167
|
-
deploy different versions of the application with the same
|
168
|
-
configuration settings.
|
169
|
-
|
170
|
-
:type application_name: string
|
171
|
-
:param application_name: The name of the application to associate with
|
172
|
-
this configuration template. If no application is found with this
|
173
|
-
name, AWS Elastic Beanstalk returns an InvalidParameterValue error.
|
174
|
-
|
175
|
-
:type template_name: string
|
176
|
-
:param template_name: The name of the configuration template.
|
177
|
-
Constraint: This name must be unique per application. Default: If
|
178
|
-
a configuration template already exists with this name, AWS Elastic
|
179
|
-
Beanstalk returns an InvalidParameterValue error.
|
180
|
-
|
181
|
-
:type solution_stack_name: string
|
182
|
-
:param solution_stack_name: The name of the solution stack used by this
|
183
|
-
configuration. The solution stack specifies the operating system,
|
184
|
-
architecture, and application server for a configuration template.
|
185
|
-
It determines the set of configuration options as well as the
|
186
|
-
possible and default values. Use ListAvailableSolutionStacks to
|
187
|
-
obtain a list of available solution stacks. Default: If the
|
188
|
-
SolutionStackName is not specified and the source configuration
|
189
|
-
parameter is blank, AWS Elastic Beanstalk uses the default solution
|
190
|
-
stack. If not specified and the source configuration parameter is
|
191
|
-
specified, AWS Elastic Beanstalk uses the same solution stack as
|
192
|
-
the source configuration template.
|
193
|
-
|
194
|
-
:type source_configuration_application_name: string
|
195
|
-
:param source_configuration_application_name: The name of the
|
196
|
-
application associated with the configuration.
|
197
|
-
|
198
|
-
:type source_configuration_template_name: string
|
199
|
-
:param source_configuration_template_name: The name of the
|
200
|
-
configuration template.
|
201
|
-
|
202
|
-
:type environment_id: string
|
203
|
-
:param environment_id: The ID of the environment used with this
|
204
|
-
configuration template.
|
205
|
-
|
206
|
-
:type description: string
|
207
|
-
:param description: Describes this configuration.
|
208
|
-
|
209
|
-
:type option_settings: list
|
210
|
-
:param option_settings: If specified, AWS Elastic Beanstalk sets the
|
211
|
-
specified configuration option to the requested value. The new
|
212
|
-
value overrides the value obtained from the solution stack or the
|
213
|
-
source configuration template.
|
214
|
-
|
215
|
-
:raises: InsufficientPrivilegesException,
|
216
|
-
TooManyConfigurationTemplatesException
|
217
|
-
"""
|
218
|
-
params = {'ApplicationName': application_name,
|
219
|
-
'TemplateName': template_name}
|
220
|
-
if solution_stack_name:
|
221
|
-
params['SolutionStackName'] = solution_stack_name
|
222
|
-
if source_configuration_application_name:
|
223
|
-
params['SourceConfiguration.ApplicationName'] = source_configuration_application_name
|
224
|
-
if source_configuration_template_name:
|
225
|
-
params['SourceConfiguration.TemplateName'] = source_configuration_template_name
|
226
|
-
if environment_id:
|
227
|
-
params['EnvironmentId'] = environment_id
|
228
|
-
if description:
|
229
|
-
params['Description'] = description
|
230
|
-
if option_settings:
|
231
|
-
self._build_list_params(params, option_settings,
|
232
|
-
'OptionSettings.member',
|
233
|
-
('Namespace', 'OptionName', 'Value'))
|
234
|
-
return self._get_response('CreateConfigurationTemplate', params)
|
235
|
-
|
236
|
-
def create_environment(self, application_name, environment_name,
|
237
|
-
version_label=None, template_name=None,
|
238
|
-
solution_stack_name=None, cname_prefix=None,
|
239
|
-
description=None, option_settings=None,
|
240
|
-
options_to_remove=None):
|
241
|
-
"""Launches an environment for the application using a configuration.
|
242
|
-
|
243
|
-
:type application_name: string
|
244
|
-
:param application_name: The name of the application that contains the
|
245
|
-
version to be deployed. If no application is found with this name,
|
246
|
-
CreateEnvironment returns an InvalidParameterValue error.
|
247
|
-
|
248
|
-
:type version_label: string
|
249
|
-
:param version_label: The name of the application version to deploy. If
|
250
|
-
the specified application has no associated application versions,
|
251
|
-
AWS Elastic Beanstalk UpdateEnvironment returns an
|
252
|
-
InvalidParameterValue error. Default: If not specified, AWS
|
253
|
-
Elastic Beanstalk attempts to launch the most recently created
|
254
|
-
application version.
|
255
|
-
|
256
|
-
:type environment_name: string
|
257
|
-
:param environment_name: A unique name for the deployment environment.
|
258
|
-
Used in the application URL. Constraint: Must be from 4 to 23
|
259
|
-
characters in length. The name can contain only letters, numbers,
|
260
|
-
and hyphens. It cannot start or end with a hyphen. This name must
|
261
|
-
be unique in your account. If the specified name already exists,
|
262
|
-
AWS Elastic Beanstalk returns an InvalidParameterValue error.
|
263
|
-
Default: If the CNAME parameter is not specified, the environment
|
264
|
-
name becomes part of the CNAME, and therefore part of the visible
|
265
|
-
URL for your application.
|
266
|
-
|
267
|
-
:type template_name: string
|
268
|
-
:param template_name: The name of the configuration template to
|
269
|
-
use in deployment. If no configuration template is found with this
|
270
|
-
name, AWS Elastic Beanstalk returns an InvalidParameterValue error.
|
271
|
-
Condition: You must specify either this parameter or a
|
272
|
-
SolutionStackName, but not both. If you specify both, AWS Elastic
|
273
|
-
Beanstalk returns an InvalidParameterCombination error. If you do
|
274
|
-
not specify either, AWS Elastic Beanstalk returns a
|
275
|
-
MissingRequiredParameter error.
|
276
|
-
|
277
|
-
:type solution_stack_name: string
|
278
|
-
:param solution_stack_name: This is an alternative to specifying a
|
279
|
-
configuration name. If specified, AWS Elastic Beanstalk sets the
|
280
|
-
configuration values to the default values associated with the
|
281
|
-
specified solution stack. Condition: You must specify either this
|
282
|
-
or a TemplateName, but not both. If you specify both, AWS Elastic
|
283
|
-
Beanstalk returns an InvalidParameterCombination error. If you do
|
284
|
-
not specify either, AWS Elastic Beanstalk returns a
|
285
|
-
MissingRequiredParameter error.
|
286
|
-
|
287
|
-
:type cname_prefix: string
|
288
|
-
:param cname_prefix: If specified, the environment attempts to use this
|
289
|
-
value as the prefix for the CNAME. If not specified, the
|
290
|
-
environment uses the environment name.
|
291
|
-
|
292
|
-
:type description: string
|
293
|
-
:param description: Describes this environment.
|
294
|
-
|
295
|
-
:type option_settings: list
|
296
|
-
:param option_settings: If specified, AWS Elastic Beanstalk sets the
|
297
|
-
specified configuration options to the requested value in the
|
298
|
-
configuration set for the new environment. These override the
|
299
|
-
values obtained from the solution stack or the configuration
|
300
|
-
template. Each element in the list is a tuple of (Namespace,
|
301
|
-
OptionName, Value), for example::
|
302
|
-
|
303
|
-
[('aws:autoscaling:launchconfiguration',
|
304
|
-
'Ec2KeyName', 'mykeypair')]
|
305
|
-
|
306
|
-
:type options_to_remove: list
|
307
|
-
:param options_to_remove: A list of custom user-defined configuration
|
308
|
-
options to remove from the configuration set for this new
|
309
|
-
environment.
|
310
|
-
|
311
|
-
:raises: TooManyEnvironmentsException, InsufficientPrivilegesException
|
312
|
-
|
313
|
-
"""
|
314
|
-
params = {'ApplicationName': application_name,
|
315
|
-
'EnvironmentName': environment_name}
|
316
|
-
if version_label:
|
317
|
-
params['VersionLabel'] = version_label
|
318
|
-
if template_name:
|
319
|
-
params['TemplateName'] = template_name
|
320
|
-
if solution_stack_name:
|
321
|
-
params['SolutionStackName'] = solution_stack_name
|
322
|
-
if cname_prefix:
|
323
|
-
params['CNAMEPrefix'] = cname_prefix
|
324
|
-
if description:
|
325
|
-
params['Description'] = description
|
326
|
-
if option_settings:
|
327
|
-
self._build_list_params(params, option_settings,
|
328
|
-
'OptionSettings.member',
|
329
|
-
('Namespace', 'OptionName', 'Value'))
|
330
|
-
if options_to_remove:
|
331
|
-
self.build_list_params(params, options_to_remove,
|
332
|
-
'OptionsToRemove.member')
|
333
|
-
return self._get_response('CreateEnvironment', params)
|
334
|
-
|
335
|
-
def create_storage_location(self):
|
336
|
-
"""
|
337
|
-
Creates the Amazon S3 storage location for the account. This
|
338
|
-
location is used to store user log files.
|
339
|
-
|
340
|
-
:raises: TooManyBucketsException,
|
341
|
-
S3SubscriptionRequiredException,
|
342
|
-
InsufficientPrivilegesException
|
343
|
-
|
344
|
-
"""
|
345
|
-
return self._get_response('CreateStorageLocation', params={})
|
346
|
-
|
347
|
-
def delete_application(self, application_name,
|
348
|
-
terminate_env_by_force=None):
|
349
|
-
"""
|
350
|
-
Deletes the specified application along with all associated
|
351
|
-
versions and configurations. The application versions will not
|
352
|
-
be deleted from your Amazon S3 bucket.
|
353
|
-
|
354
|
-
:type application_name: string
|
355
|
-
:param application_name: The name of the application to delete.
|
356
|
-
|
357
|
-
:type terminate_env_by_force: boolean
|
358
|
-
:param terminate_env_by_force: When set to true, running
|
359
|
-
environments will be terminated before deleting the application.
|
360
|
-
|
361
|
-
:raises: OperationInProgressException
|
362
|
-
|
363
|
-
"""
|
364
|
-
params = {'ApplicationName': application_name}
|
365
|
-
if terminate_env_by_force:
|
366
|
-
params['TerminateEnvByForce'] = self._encode_bool(
|
367
|
-
terminate_env_by_force)
|
368
|
-
return self._get_response('DeleteApplication', params)
|
369
|
-
|
370
|
-
def delete_application_version(self, application_name, version_label,
|
371
|
-
delete_source_bundle=None):
|
372
|
-
"""Deletes the specified version from the specified application.
|
373
|
-
|
374
|
-
:type application_name: string
|
375
|
-
:param application_name: The name of the application to delete
|
376
|
-
releases from.
|
377
|
-
|
378
|
-
:type version_label: string
|
379
|
-
:param version_label: The label of the version to delete.
|
380
|
-
|
381
|
-
:type delete_source_bundle: boolean
|
382
|
-
:param delete_source_bundle: Indicates whether to delete the
|
383
|
-
associated source bundle from Amazon S3. Valid Values: true |
|
384
|
-
false
|
385
|
-
|
386
|
-
:raises: SourceBundleDeletionException,
|
387
|
-
InsufficientPrivilegesException,
|
388
|
-
OperationInProgressException,
|
389
|
-
S3LocationNotInServiceRegionException
|
390
|
-
"""
|
391
|
-
params = {'ApplicationName': application_name,
|
392
|
-
'VersionLabel': version_label}
|
393
|
-
if delete_source_bundle:
|
394
|
-
params['DeleteSourceBundle'] = self._encode_bool(
|
395
|
-
delete_source_bundle)
|
396
|
-
return self._get_response('DeleteApplicationVersion', params)
|
397
|
-
|
398
|
-
def delete_configuration_template(self, application_name, template_name):
|
399
|
-
"""Deletes the specified configuration template.
|
400
|
-
|
401
|
-
:type application_name: string
|
402
|
-
:param application_name: The name of the application to delete
|
403
|
-
the configuration template from.
|
404
|
-
|
405
|
-
:type template_name: string
|
406
|
-
:param template_name: The name of the configuration template to
|
407
|
-
delete.
|
408
|
-
|
409
|
-
:raises: OperationInProgressException
|
410
|
-
|
411
|
-
"""
|
412
|
-
params = {'ApplicationName': application_name,
|
413
|
-
'TemplateName': template_name}
|
414
|
-
return self._get_response('DeleteConfigurationTemplate', params)
|
415
|
-
|
416
|
-
def delete_environment_configuration(self, application_name,
|
417
|
-
environment_name):
|
418
|
-
"""
|
419
|
-
Deletes the draft configuration associated with the running
|
420
|
-
environment. Updating a running environment with any
|
421
|
-
configuration changes creates a draft configuration set. You can
|
422
|
-
get the draft configuration using DescribeConfigurationSettings
|
423
|
-
while the update is in progress or if the update fails. The
|
424
|
-
DeploymentStatus for the draft configuration indicates whether
|
425
|
-
the deployment is in process or has failed. The draft
|
426
|
-
configuration remains in existence until it is deleted with this
|
427
|
-
action.
|
428
|
-
|
429
|
-
:type application_name: string
|
430
|
-
:param application_name: The name of the application the
|
431
|
-
environment is associated with.
|
432
|
-
|
433
|
-
:type environment_name: string
|
434
|
-
:param environment_name: The name of the environment to delete
|
435
|
-
the draft configuration from.
|
436
|
-
|
437
|
-
"""
|
438
|
-
params = {'ApplicationName': application_name,
|
439
|
-
'EnvironmentName': environment_name}
|
440
|
-
return self._get_response('DeleteEnvironmentConfiguration', params)
|
441
|
-
|
442
|
-
def describe_application_versions(self, application_name=None,
|
443
|
-
version_labels=None):
|
444
|
-
"""Returns descriptions for existing application versions.
|
445
|
-
|
446
|
-
:type application_name: string
|
447
|
-
:param application_name: If specified, AWS Elastic Beanstalk restricts
|
448
|
-
the returned descriptions to only include ones that are associated
|
449
|
-
with the specified application.
|
450
|
-
|
451
|
-
:type version_labels: list
|
452
|
-
:param version_labels: If specified, restricts the returned
|
453
|
-
descriptions to only include ones that have the specified version
|
454
|
-
labels.
|
455
|
-
|
456
|
-
"""
|
457
|
-
params = {}
|
458
|
-
if application_name:
|
459
|
-
params['ApplicationName'] = application_name
|
460
|
-
if version_labels:
|
461
|
-
self.build_list_params(params, version_labels,
|
462
|
-
'VersionLabels.member')
|
463
|
-
return self._get_response('DescribeApplicationVersions', params)
|
464
|
-
|
465
|
-
def describe_applications(self, application_names=None):
|
466
|
-
"""Returns the descriptions of existing applications.
|
467
|
-
|
468
|
-
:type application_names: list
|
469
|
-
:param application_names: If specified, AWS Elastic Beanstalk restricts
|
470
|
-
the returned descriptions to only include those with the specified
|
471
|
-
names.
|
472
|
-
|
473
|
-
"""
|
474
|
-
params = {}
|
475
|
-
if application_names:
|
476
|
-
self.build_list_params(params, application_names,
|
477
|
-
'ApplicationNames.member')
|
478
|
-
return self._get_response('DescribeApplications', params)
|
479
|
-
|
480
|
-
def describe_configuration_options(self, application_name=None,
|
481
|
-
template_name=None,
|
482
|
-
environment_name=None,
|
483
|
-
solution_stack_name=None, options=None):
|
484
|
-
"""Describes configuration options used in a template or environment.
|
485
|
-
|
486
|
-
Describes the configuration options that are used in a
|
487
|
-
particular configuration template or environment, or that a
|
488
|
-
specified solution stack defines. The description includes the
|
489
|
-
values the options, their default values, and an indication of
|
490
|
-
the required action on a running environment if an option value
|
491
|
-
is changed.
|
492
|
-
|
493
|
-
:type application_name: string
|
494
|
-
:param application_name: The name of the application associated with
|
495
|
-
the configuration template or environment. Only needed if you want
|
496
|
-
to describe the configuration options associated with either the
|
497
|
-
configuration template or environment.
|
498
|
-
|
499
|
-
:type template_name: string
|
500
|
-
:param template_name: The name of the configuration template whose
|
501
|
-
configuration options you want to describe.
|
502
|
-
|
503
|
-
:type environment_name: string
|
504
|
-
:param environment_name: The name of the environment whose
|
505
|
-
configuration options you want to describe.
|
506
|
-
|
507
|
-
:type solution_stack_name: string
|
508
|
-
:param solution_stack_name: The name of the solution stack whose
|
509
|
-
configuration options you want to describe.
|
510
|
-
|
511
|
-
:type options: list
|
512
|
-
:param options: If specified, restricts the descriptions to only
|
513
|
-
the specified options.
|
514
|
-
"""
|
515
|
-
params = {}
|
516
|
-
if application_name:
|
517
|
-
params['ApplicationName'] = application_name
|
518
|
-
if template_name:
|
519
|
-
params['TemplateName'] = template_name
|
520
|
-
if environment_name:
|
521
|
-
params['EnvironmentName'] = environment_name
|
522
|
-
if solution_stack_name:
|
523
|
-
params['SolutionStackName'] = solution_stack_name
|
524
|
-
if options:
|
525
|
-
self.build_list_params(params, options, 'Options.member')
|
526
|
-
return self._get_response('DescribeConfigurationOptions', params)
|
527
|
-
|
528
|
-
def describe_configuration_settings(self, application_name,
|
529
|
-
template_name=None,
|
530
|
-
environment_name=None):
|
531
|
-
"""
|
532
|
-
Returns a description of the settings for the specified
|
533
|
-
configuration set, that is, either a configuration template or
|
534
|
-
the configuration set associated with a running environment.
|
535
|
-
When describing the settings for the configuration set
|
536
|
-
associated with a running environment, it is possible to receive
|
537
|
-
two sets of setting descriptions. One is the deployed
|
538
|
-
configuration set, and the other is a draft configuration of an
|
539
|
-
environment that is either in the process of deployment or that
|
540
|
-
failed to deploy.
|
541
|
-
|
542
|
-
:type application_name: string
|
543
|
-
:param application_name: The application for the environment or
|
544
|
-
configuration template.
|
545
|
-
|
546
|
-
:type template_name: string
|
547
|
-
:param template_name: The name of the configuration template to
|
548
|
-
describe. Conditional: You must specify either this parameter or
|
549
|
-
an EnvironmentName, but not both. If you specify both, AWS Elastic
|
550
|
-
Beanstalk returns an InvalidParameterCombination error. If you do
|
551
|
-
not specify either, AWS Elastic Beanstalk returns a
|
552
|
-
MissingRequiredParameter error.
|
553
|
-
|
554
|
-
:type environment_name: string
|
555
|
-
:param environment_name: The name of the environment to describe.
|
556
|
-
Condition: You must specify either this or a TemplateName, but not
|
557
|
-
both. If you specify both, AWS Elastic Beanstalk returns an
|
558
|
-
InvalidParameterCombination error. If you do not specify either,
|
559
|
-
AWS Elastic Beanstalk returns MissingRequiredParameter error.
|
560
|
-
"""
|
561
|
-
params = {'ApplicationName': application_name}
|
562
|
-
if template_name:
|
563
|
-
params['TemplateName'] = template_name
|
564
|
-
if environment_name:
|
565
|
-
params['EnvironmentName'] = environment_name
|
566
|
-
return self._get_response('DescribeConfigurationSettings', params)
|
567
|
-
|
568
|
-
def describe_environment_resources(self, environment_id=None,
|
569
|
-
environment_name=None):
|
570
|
-
"""Returns AWS resources for this environment.
|
571
|
-
|
572
|
-
:type environment_id: string
|
573
|
-
:param environment_id: The ID of the environment to retrieve AWS
|
574
|
-
resource usage data. Condition: You must specify either this or an
|
575
|
-
EnvironmentName, or both. If you do not specify either, AWS Elastic
|
576
|
-
Beanstalk returns MissingRequiredParameter error.
|
577
|
-
|
578
|
-
:type environment_name: string
|
579
|
-
:param environment_name: The name of the environment to retrieve
|
580
|
-
AWS resource usage data. Condition: You must specify either this
|
581
|
-
or an EnvironmentId, or both. If you do not specify either, AWS
|
582
|
-
Elastic Beanstalk returns MissingRequiredParameter error.
|
583
|
-
|
584
|
-
:raises: InsufficientPrivilegesException
|
585
|
-
"""
|
586
|
-
params = {}
|
587
|
-
if environment_id:
|
588
|
-
params['EnvironmentId'] = environment_id
|
589
|
-
if environment_name:
|
590
|
-
params['EnvironmentName'] = environment_name
|
591
|
-
return self._get_response('DescribeEnvironmentResources', params)
|
592
|
-
|
593
|
-
def describe_environments(self, application_name=None, version_label=None,
|
594
|
-
environment_ids=None, environment_names=None,
|
595
|
-
include_deleted=None,
|
596
|
-
included_deleted_back_to=None):
|
597
|
-
"""Returns descriptions for existing environments.
|
598
|
-
|
599
|
-
:type application_name: string
|
600
|
-
:param application_name: If specified, AWS Elastic Beanstalk restricts
|
601
|
-
the returned descriptions to include only those that are associated
|
602
|
-
with this application.
|
603
|
-
|
604
|
-
:type version_label: string
|
605
|
-
:param version_label: If specified, AWS Elastic Beanstalk restricts the
|
606
|
-
returned descriptions to include only those that are associated
|
607
|
-
with this application version.
|
608
|
-
|
609
|
-
:type environment_ids: list
|
610
|
-
:param environment_ids: If specified, AWS Elastic Beanstalk restricts
|
611
|
-
the returned descriptions to include only those that have the
|
612
|
-
specified IDs.
|
613
|
-
|
614
|
-
:type environment_names: list
|
615
|
-
:param environment_names: If specified, AWS Elastic Beanstalk restricts
|
616
|
-
the returned descriptions to include only those that have the
|
617
|
-
specified names.
|
618
|
-
|
619
|
-
:type include_deleted: boolean
|
620
|
-
:param include_deleted: Indicates whether to include deleted
|
621
|
-
environments: true: Environments that have been deleted after
|
622
|
-
IncludedDeletedBackTo are displayed. false: Do not include deleted
|
623
|
-
environments.
|
624
|
-
|
625
|
-
:type included_deleted_back_to: timestamp
|
626
|
-
:param included_deleted_back_to: If specified when IncludeDeleted is
|
627
|
-
set to true, then environments deleted after this date are
|
628
|
-
displayed.
|
629
|
-
"""
|
630
|
-
params = {}
|
631
|
-
if application_name:
|
632
|
-
params['ApplicationName'] = application_name
|
633
|
-
if version_label:
|
634
|
-
params['VersionLabel'] = version_label
|
635
|
-
if environment_ids:
|
636
|
-
self.build_list_params(params, environment_ids,
|
637
|
-
'EnvironmentIds.member')
|
638
|
-
if environment_names:
|
639
|
-
self.build_list_params(params, environment_names,
|
640
|
-
'EnvironmentNames.member')
|
641
|
-
if include_deleted:
|
642
|
-
params['IncludeDeleted'] = self._encode_bool(include_deleted)
|
643
|
-
if included_deleted_back_to:
|
644
|
-
params['IncludedDeletedBackTo'] = included_deleted_back_to
|
645
|
-
return self._get_response('DescribeEnvironments', params)
|
646
|
-
|
647
|
-
def describe_events(self, application_name=None, version_label=None,
|
648
|
-
template_name=None, environment_id=None,
|
649
|
-
environment_name=None, request_id=None, severity=None,
|
650
|
-
start_time=None, end_time=None, max_records=None,
|
651
|
-
next_token=None):
|
652
|
-
"""Returns event descriptions matching criteria up to the last 6 weeks.
|
653
|
-
|
654
|
-
:type application_name: string
|
655
|
-
:param application_name: If specified, AWS Elastic Beanstalk restricts
|
656
|
-
the returned descriptions to include only those associated with
|
657
|
-
this application.
|
658
|
-
|
659
|
-
:type version_label: string
|
660
|
-
:param version_label: If specified, AWS Elastic Beanstalk restricts the
|
661
|
-
returned descriptions to those associated with this application
|
662
|
-
version.
|
663
|
-
|
664
|
-
:type template_name: string
|
665
|
-
:param template_name: If specified, AWS Elastic Beanstalk restricts the
|
666
|
-
returned descriptions to those that are associated with this
|
667
|
-
environment configuration.
|
668
|
-
|
669
|
-
:type environment_id: string
|
670
|
-
:param environment_id: If specified, AWS Elastic Beanstalk restricts
|
671
|
-
the returned descriptions to those associated with this
|
672
|
-
environment.
|
673
|
-
|
674
|
-
:type environment_name: string
|
675
|
-
:param environment_name: If specified, AWS Elastic Beanstalk restricts
|
676
|
-
the returned descriptions to those associated with this
|
677
|
-
environment.
|
678
|
-
|
679
|
-
:type request_id: string
|
680
|
-
:param request_id: If specified, AWS Elastic Beanstalk restricts the
|
681
|
-
described events to include only those associated with this request
|
682
|
-
ID.
|
683
|
-
|
684
|
-
:type severity: string
|
685
|
-
:param severity: If specified, limits the events returned from this
|
686
|
-
call to include only those with the specified severity or higher.
|
687
|
-
|
688
|
-
:type start_time: timestamp
|
689
|
-
:param start_time: If specified, AWS Elastic Beanstalk restricts the
|
690
|
-
returned descriptions to those that occur on or after this time.
|
691
|
-
|
692
|
-
:type end_time: timestamp
|
693
|
-
:param end_time: If specified, AWS Elastic Beanstalk restricts the
|
694
|
-
returned descriptions to those that occur up to, but not including,
|
695
|
-
the EndTime.
|
696
|
-
|
697
|
-
:type max_records: integer
|
698
|
-
:param max_records: Specifies the maximum number of events that can be
|
699
|
-
returned, beginning with the most recent event.
|
700
|
-
|
701
|
-
:type next_token: string
|
702
|
-
:param next_token: Pagination token. If specified, the events return
|
703
|
-
the next batch of results.
|
704
|
-
"""
|
705
|
-
params = {}
|
706
|
-
if application_name:
|
707
|
-
params['ApplicationName'] = application_name
|
708
|
-
if version_label:
|
709
|
-
params['VersionLabel'] = version_label
|
710
|
-
if template_name:
|
711
|
-
params['TemplateName'] = template_name
|
712
|
-
if environment_id:
|
713
|
-
params['EnvironmentId'] = environment_id
|
714
|
-
if environment_name:
|
715
|
-
params['EnvironmentName'] = environment_name
|
716
|
-
if request_id:
|
717
|
-
params['RequestId'] = request_id
|
718
|
-
if severity:
|
719
|
-
params['Severity'] = severity
|
720
|
-
if start_time:
|
721
|
-
params['StartTime'] = start_time
|
722
|
-
if end_time:
|
723
|
-
params['EndTime'] = end_time
|
724
|
-
if max_records:
|
725
|
-
params['MaxRecords'] = max_records
|
726
|
-
if next_token:
|
727
|
-
params['NextToken'] = next_token
|
728
|
-
return self._get_response('DescribeEvents', params)
|
729
|
-
|
730
|
-
def list_available_solution_stacks(self):
|
731
|
-
"""Returns a list of the available solution stack names."""
|
732
|
-
return self._get_response('ListAvailableSolutionStacks', params={})
|
733
|
-
|
734
|
-
def rebuild_environment(self, environment_id=None, environment_name=None):
|
735
|
-
"""
|
736
|
-
Deletes and recreates all of the AWS resources (for example:
|
737
|
-
the Auto Scaling group, load balancer, etc.) for a specified
|
738
|
-
environment and forces a restart.
|
739
|
-
|
740
|
-
:type environment_id: string
|
741
|
-
:param environment_id: The ID of the environment to rebuild.
|
742
|
-
Condition: You must specify either this or an EnvironmentName, or
|
743
|
-
both. If you do not specify either, AWS Elastic Beanstalk returns
|
744
|
-
MissingRequiredParameter error.
|
745
|
-
|
746
|
-
:type environment_name: string
|
747
|
-
:param environment_name: The name of the environment to rebuild.
|
748
|
-
Condition: You must specify either this or an EnvironmentId, or
|
749
|
-
both. If you do not specify either, AWS Elastic Beanstalk returns
|
750
|
-
MissingRequiredParameter error.
|
751
|
-
|
752
|
-
:raises: InsufficientPrivilegesException
|
753
|
-
"""
|
754
|
-
params = {}
|
755
|
-
if environment_id:
|
756
|
-
params['EnvironmentId'] = environment_id
|
757
|
-
if environment_name:
|
758
|
-
params['EnvironmentName'] = environment_name
|
759
|
-
return self._get_response('RebuildEnvironment', params)
|
760
|
-
|
761
|
-
def request_environment_info(self, info_type='tail', environment_id=None,
|
762
|
-
environment_name=None):
|
763
|
-
"""
|
764
|
-
Initiates a request to compile the specified type of
|
765
|
-
information of the deployed environment. Setting the InfoType
|
766
|
-
to tail compiles the last lines from the application server log
|
767
|
-
files of every Amazon EC2 instance in your environment. Use
|
768
|
-
RetrieveEnvironmentInfo to access the compiled information.
|
769
|
-
|
770
|
-
:type info_type: string
|
771
|
-
:param info_type: The type of information to request.
|
772
|
-
|
773
|
-
:type environment_id: string
|
774
|
-
:param environment_id: The ID of the environment of the
|
775
|
-
requested data. If no such environment is found,
|
776
|
-
RequestEnvironmentInfo returns an InvalidParameterValue error.
|
777
|
-
Condition: You must specify either this or an EnvironmentName, or
|
778
|
-
both. If you do not specify either, AWS Elastic Beanstalk returns
|
779
|
-
MissingRequiredParameter error.
|
780
|
-
|
781
|
-
:type environment_name: string
|
782
|
-
:param environment_name: The name of the environment of the
|
783
|
-
requested data. If no such environment is found,
|
784
|
-
RequestEnvironmentInfo returns an InvalidParameterValue error.
|
785
|
-
Condition: You must specify either this or an EnvironmentId, or
|
786
|
-
both. If you do not specify either, AWS Elastic Beanstalk returns
|
787
|
-
MissingRequiredParameter error.
|
788
|
-
"""
|
789
|
-
params = {'InfoType': info_type}
|
790
|
-
if environment_id:
|
791
|
-
params['EnvironmentId'] = environment_id
|
792
|
-
if environment_name:
|
793
|
-
params['EnvironmentName'] = environment_name
|
794
|
-
return self._get_response('RequestEnvironmentInfo', params)
|
795
|
-
|
796
|
-
def restart_app_server(self, environment_id=None, environment_name=None):
|
797
|
-
"""
|
798
|
-
Causes the environment to restart the application container
|
799
|
-
server running on each Amazon EC2 instance.
|
800
|
-
|
801
|
-
:type environment_id: string
|
802
|
-
:param environment_id: The ID of the environment to restart the server
|
803
|
-
for. Condition: You must specify either this or an
|
804
|
-
EnvironmentName, or both. If you do not specify either, AWS Elastic
|
805
|
-
Beanstalk returns MissingRequiredParameter error.
|
806
|
-
|
807
|
-
:type environment_name: string
|
808
|
-
:param environment_name: The name of the environment to restart the
|
809
|
-
server for. Condition: You must specify either this or an
|
810
|
-
EnvironmentId, or both. If you do not specify either, AWS Elastic
|
811
|
-
Beanstalk returns MissingRequiredParameter error.
|
812
|
-
"""
|
813
|
-
params = {}
|
814
|
-
if environment_id:
|
815
|
-
params['EnvironmentId'] = environment_id
|
816
|
-
if environment_name:
|
817
|
-
params['EnvironmentName'] = environment_name
|
818
|
-
return self._get_response('RestartAppServer', params)
|
819
|
-
|
820
|
-
def retrieve_environment_info(self, info_type='tail', environment_id=None,
|
821
|
-
environment_name=None):
|
822
|
-
"""
|
823
|
-
Retrieves the compiled information from a RequestEnvironmentInfo
|
824
|
-
request.
|
825
|
-
|
826
|
-
:type info_type: string
|
827
|
-
:param info_type: The type of information to retrieve.
|
828
|
-
|
829
|
-
:type environment_id: string
|
830
|
-
:param environment_id: The ID of the data's environment. If no such
|
831
|
-
environment is found, returns an InvalidParameterValue error.
|
832
|
-
Condition: You must specify either this or an EnvironmentName, or
|
833
|
-
both. If you do not specify either, AWS Elastic Beanstalk returns
|
834
|
-
MissingRequiredParameter error.
|
835
|
-
|
836
|
-
:type environment_name: string
|
837
|
-
:param environment_name: The name of the data's environment. If no such
|
838
|
-
environment is found, returns an InvalidParameterValue error.
|
839
|
-
Condition: You must specify either this or an EnvironmentId, or
|
840
|
-
both. If you do not specify either, AWS Elastic Beanstalk returns
|
841
|
-
MissingRequiredParameter error.
|
842
|
-
"""
|
843
|
-
params = {'InfoType': info_type}
|
844
|
-
if environment_id:
|
845
|
-
params['EnvironmentId'] = environment_id
|
846
|
-
if environment_name:
|
847
|
-
params['EnvironmentName'] = environment_name
|
848
|
-
return self._get_response('RetrieveEnvironmentInfo', params)
|
849
|
-
|
850
|
-
def swap_environment_cnames(self, source_environment_id=None,
|
851
|
-
source_environment_name=None,
|
852
|
-
destination_environment_id=None,
|
853
|
-
destination_environment_name=None):
|
854
|
-
"""Swaps the CNAMEs of two environments.
|
855
|
-
|
856
|
-
:type source_environment_id: string
|
857
|
-
:param source_environment_id: The ID of the source environment.
|
858
|
-
Condition: You must specify at least the SourceEnvironmentID or the
|
859
|
-
SourceEnvironmentName. You may also specify both. If you specify
|
860
|
-
the SourceEnvironmentId, you must specify the
|
861
|
-
DestinationEnvironmentId.
|
862
|
-
|
863
|
-
:type source_environment_name: string
|
864
|
-
:param source_environment_name: The name of the source environment.
|
865
|
-
Condition: You must specify at least the SourceEnvironmentID or the
|
866
|
-
SourceEnvironmentName. You may also specify both. If you specify
|
867
|
-
the SourceEnvironmentName, you must specify the
|
868
|
-
DestinationEnvironmentName.
|
869
|
-
|
870
|
-
:type destination_environment_id: string
|
871
|
-
:param destination_environment_id: The ID of the destination
|
872
|
-
environment. Condition: You must specify at least the
|
873
|
-
DestinationEnvironmentID or the DestinationEnvironmentName. You may
|
874
|
-
also specify both. You must specify the SourceEnvironmentId with
|
875
|
-
the DestinationEnvironmentId.
|
876
|
-
|
877
|
-
:type destination_environment_name: string
|
878
|
-
:param destination_environment_name: The name of the destination
|
879
|
-
environment. Condition: You must specify at least the
|
880
|
-
DestinationEnvironmentID or the DestinationEnvironmentName. You may
|
881
|
-
also specify both. You must specify the SourceEnvironmentName with
|
882
|
-
the DestinationEnvironmentName.
|
883
|
-
"""
|
884
|
-
params = {}
|
885
|
-
if source_environment_id:
|
886
|
-
params['SourceEnvironmentId'] = source_environment_id
|
887
|
-
if source_environment_name:
|
888
|
-
params['SourceEnvironmentName'] = source_environment_name
|
889
|
-
if destination_environment_id:
|
890
|
-
params['DestinationEnvironmentId'] = destination_environment_id
|
891
|
-
if destination_environment_name:
|
892
|
-
params['DestinationEnvironmentName'] = destination_environment_name
|
893
|
-
return self._get_response('SwapEnvironmentCNAMEs', params)
|
894
|
-
|
895
|
-
def terminate_environment(self, environment_id=None, environment_name=None,
|
896
|
-
terminate_resources=None):
|
897
|
-
"""Terminates the specified environment.
|
898
|
-
|
899
|
-
:type environment_id: string
|
900
|
-
:param environment_id: The ID of the environment to terminate.
|
901
|
-
Condition: You must specify either this or an EnvironmentName, or
|
902
|
-
both. If you do not specify either, AWS Elastic Beanstalk returns
|
903
|
-
MissingRequiredParameter error.
|
904
|
-
|
905
|
-
:type environment_name: string
|
906
|
-
:param environment_name: The name of the environment to terminate.
|
907
|
-
Condition: You must specify either this or an EnvironmentId, or
|
908
|
-
both. If you do not specify either, AWS Elastic Beanstalk returns
|
909
|
-
MissingRequiredParameter error.
|
910
|
-
|
911
|
-
:type terminate_resources: boolean
|
912
|
-
:param terminate_resources: Indicates whether the associated AWS
|
913
|
-
resources should shut down when the environment is terminated:
|
914
|
-
true: (default) The user AWS resources (for example, the Auto
|
915
|
-
Scaling group, LoadBalancer, etc.) are terminated along with the
|
916
|
-
environment. false: The environment is removed from the AWS
|
917
|
-
Elastic Beanstalk but the AWS resources continue to operate. For
|
918
|
-
more information, see the AWS Elastic Beanstalk User Guide.
|
919
|
-
Default: true Valid Values: true | false
|
920
|
-
|
921
|
-
:raises: InsufficientPrivilegesException
|
922
|
-
"""
|
923
|
-
params = {}
|
924
|
-
if environment_id:
|
925
|
-
params['EnvironmentId'] = environment_id
|
926
|
-
if environment_name:
|
927
|
-
params['EnvironmentName'] = environment_name
|
928
|
-
if terminate_resources:
|
929
|
-
params['TerminateResources'] = self._encode_bool(
|
930
|
-
terminate_resources)
|
931
|
-
return self._get_response('TerminateEnvironment', params)
|
932
|
-
|
933
|
-
def update_application(self, application_name, description=None):
|
934
|
-
"""
|
935
|
-
Updates the specified application to have the specified
|
936
|
-
properties.
|
937
|
-
|
938
|
-
:type application_name: string
|
939
|
-
:param application_name: The name of the application to update.
|
940
|
-
If no such application is found, UpdateApplication returns an
|
941
|
-
InvalidParameterValue error.
|
942
|
-
|
943
|
-
:type description: string
|
944
|
-
:param description: A new description for the application. Default: If
|
945
|
-
not specified, AWS Elastic Beanstalk does not update the
|
946
|
-
description.
|
947
|
-
"""
|
948
|
-
params = {'ApplicationName': application_name}
|
949
|
-
if description:
|
950
|
-
params['Description'] = description
|
951
|
-
return self._get_response('UpdateApplication', params)
|
952
|
-
|
953
|
-
def update_application_version(self, application_name, version_label,
|
954
|
-
description=None):
|
955
|
-
"""Updates the application version to have the properties.
|
956
|
-
|
957
|
-
:type application_name: string
|
958
|
-
:param application_name: The name of the application associated with
|
959
|
-
this version. If no application is found with this name,
|
960
|
-
UpdateApplication returns an InvalidParameterValue error.
|
961
|
-
|
962
|
-
:type version_label: string
|
963
|
-
:param version_label: The name of the version to update. If no
|
964
|
-
application version is found with this label, UpdateApplication
|
965
|
-
returns an InvalidParameterValue error.
|
966
|
-
|
967
|
-
:type description: string
|
968
|
-
:param description: A new description for this release.
|
969
|
-
"""
|
970
|
-
params = {'ApplicationName': application_name,
|
971
|
-
'VersionLabel': version_label}
|
972
|
-
if description:
|
973
|
-
params['Description'] = description
|
974
|
-
return self._get_response('UpdateApplicationVersion', params)
|
975
|
-
|
976
|
-
def update_configuration_template(self, application_name, template_name,
|
977
|
-
description=None, option_settings=None,
|
978
|
-
options_to_remove=None):
|
979
|
-
"""
|
980
|
-
Updates the specified configuration template to have the
|
981
|
-
specified properties or configuration option values.
|
982
|
-
|
983
|
-
:type application_name: string
|
984
|
-
:param application_name: The name of the application associated with
|
985
|
-
the configuration template to update. If no application is found
|
986
|
-
with this name, UpdateConfigurationTemplate returns an
|
987
|
-
InvalidParameterValue error.
|
988
|
-
|
989
|
-
:type template_name: string
|
990
|
-
:param template_name: The name of the configuration template to update.
|
991
|
-
If no configuration template is found with this name,
|
992
|
-
UpdateConfigurationTemplate returns an InvalidParameterValue error.
|
993
|
-
|
994
|
-
:type description: string
|
995
|
-
:param description: A new description for the configuration.
|
996
|
-
|
997
|
-
:type option_settings: list
|
998
|
-
:param option_settings: A list of configuration option settings to
|
999
|
-
update with the new specified option value.
|
1000
|
-
|
1001
|
-
:type options_to_remove: list
|
1002
|
-
:param options_to_remove: A list of configuration options to remove
|
1003
|
-
from the configuration set. Constraint: You can remove only
|
1004
|
-
UserDefined configuration options.
|
1005
|
-
|
1006
|
-
:raises: InsufficientPrivilegesException
|
1007
|
-
"""
|
1008
|
-
params = {'ApplicationName': application_name,
|
1009
|
-
'TemplateName': template_name}
|
1010
|
-
if description:
|
1011
|
-
params['Description'] = description
|
1012
|
-
if option_settings:
|
1013
|
-
self._build_list_params(params, option_settings,
|
1014
|
-
'OptionSettings.member',
|
1015
|
-
('Namespace', 'OptionName', 'Value'))
|
1016
|
-
if options_to_remove:
|
1017
|
-
self.build_list_params(params, options_to_remove,
|
1018
|
-
'OptionsToRemove.member')
|
1019
|
-
return self._get_response('UpdateConfigurationTemplate', params)
|
1020
|
-
|
1021
|
-
def update_environment(self, environment_id=None, environment_name=None,
|
1022
|
-
version_label=None, template_name=None,
|
1023
|
-
description=None, option_settings=None,
|
1024
|
-
options_to_remove=None):
|
1025
|
-
"""
|
1026
|
-
Updates the environment description, deploys a new application
|
1027
|
-
version, updates the configuration settings to an entirely new
|
1028
|
-
configuration template, or updates select configuration option
|
1029
|
-
values in the running environment. Attempting to update both
|
1030
|
-
the release and configuration is not allowed and AWS Elastic
|
1031
|
-
Beanstalk returns an InvalidParameterCombination error. When
|
1032
|
-
updating the configuration settings to a new template or
|
1033
|
-
individual settings, a draft configuration is created and
|
1034
|
-
DescribeConfigurationSettings for this environment returns two
|
1035
|
-
setting descriptions with different DeploymentStatus values.
|
1036
|
-
|
1037
|
-
:type environment_id: string
|
1038
|
-
:param environment_id: The ID of the environment to update. If no
|
1039
|
-
environment with this ID exists, AWS Elastic Beanstalk returns an
|
1040
|
-
InvalidParameterValue error. Condition: You must specify either
|
1041
|
-
this or an EnvironmentName, or both. If you do not specify either,
|
1042
|
-
AWS Elastic Beanstalk returns MissingRequiredParameter error.
|
1043
|
-
|
1044
|
-
:type environment_name: string
|
1045
|
-
:param environment_name: The name of the environment to update. If no
|
1046
|
-
environment with this name exists, AWS Elastic Beanstalk returns an
|
1047
|
-
InvalidParameterValue error. Condition: You must specify either
|
1048
|
-
this or an EnvironmentId, or both. If you do not specify either,
|
1049
|
-
AWS Elastic Beanstalk returns MissingRequiredParameter error.
|
1050
|
-
|
1051
|
-
:type version_label: string
|
1052
|
-
:param version_label: If this parameter is specified, AWS Elastic
|
1053
|
-
Beanstalk deploys the named application version to the environment.
|
1054
|
-
If no such application version is found, returns an
|
1055
|
-
InvalidParameterValue error.
|
1056
|
-
|
1057
|
-
:type template_name: string
|
1058
|
-
:param template_name: If this parameter is specified, AWS Elastic
|
1059
|
-
Beanstalk deploys this configuration template to the environment.
|
1060
|
-
If no such configuration template is found, AWS Elastic Beanstalk
|
1061
|
-
returns an InvalidParameterValue error.
|
1062
|
-
|
1063
|
-
:type description: string
|
1064
|
-
:param description: If this parameter is specified, AWS Elastic
|
1065
|
-
Beanstalk updates the description of this environment.
|
1066
|
-
|
1067
|
-
:type option_settings: list
|
1068
|
-
:param option_settings: If specified, AWS Elastic Beanstalk updates the
|
1069
|
-
configuration set associated with the running environment and sets
|
1070
|
-
the specified configuration options to the requested value.
|
1071
|
-
|
1072
|
-
:type options_to_remove: list
|
1073
|
-
:param options_to_remove: A list of custom user-defined configuration
|
1074
|
-
options to remove from the configuration set for this environment.
|
1075
|
-
|
1076
|
-
:raises: InsufficientPrivilegesException
|
1077
|
-
"""
|
1078
|
-
params = {}
|
1079
|
-
if environment_id:
|
1080
|
-
params['EnvironmentId'] = environment_id
|
1081
|
-
if environment_name:
|
1082
|
-
params['EnvironmentName'] = environment_name
|
1083
|
-
if version_label:
|
1084
|
-
params['VersionLabel'] = version_label
|
1085
|
-
if template_name:
|
1086
|
-
params['TemplateName'] = template_name
|
1087
|
-
if description:
|
1088
|
-
params['Description'] = description
|
1089
|
-
if option_settings:
|
1090
|
-
self._build_list_params(params, option_settings,
|
1091
|
-
'OptionSettings.member',
|
1092
|
-
('Namespace', 'OptionName', 'Value'))
|
1093
|
-
if options_to_remove:
|
1094
|
-
self.build_list_params(params, options_to_remove,
|
1095
|
-
'OptionsToRemove.member')
|
1096
|
-
return self._get_response('UpdateEnvironment', params)
|
1097
|
-
|
1098
|
-
def validate_configuration_settings(self, application_name,
|
1099
|
-
option_settings, template_name=None,
|
1100
|
-
environment_name=None):
|
1101
|
-
"""
|
1102
|
-
Takes a set of configuration settings and either a
|
1103
|
-
configuration template or environment, and determines whether
|
1104
|
-
those values are valid. This action returns a list of messages
|
1105
|
-
indicating any errors or warnings associated with the selection
|
1106
|
-
of option values.
|
1107
|
-
|
1108
|
-
:type application_name: string
|
1109
|
-
:param application_name: The name of the application that the
|
1110
|
-
configuration template or environment belongs to.
|
1111
|
-
|
1112
|
-
:type template_name: string
|
1113
|
-
:param template_name: The name of the configuration template to
|
1114
|
-
validate the settings against. Condition: You cannot specify both
|
1115
|
-
this and an environment name.
|
1116
|
-
|
1117
|
-
:type environment_name: string
|
1118
|
-
:param environment_name: The name of the environment to validate the
|
1119
|
-
settings against. Condition: You cannot specify both this and a
|
1120
|
-
configuration template name.
|
1121
|
-
|
1122
|
-
:type option_settings: list
|
1123
|
-
:param option_settings: A list of the options and desired values to
|
1124
|
-
evaluate.
|
1125
|
-
|
1126
|
-
:raises: InsufficientPrivilegesException
|
1127
|
-
"""
|
1128
|
-
params = {'ApplicationName': application_name}
|
1129
|
-
self._build_list_params(params, option_settings,
|
1130
|
-
'OptionSettings.member',
|
1131
|
-
('Namespace', 'OptionName', 'Value'))
|
1132
|
-
if template_name:
|
1133
|
-
params['TemplateName'] = template_name
|
1134
|
-
if environment_name:
|
1135
|
-
params['EnvironmentName'] = environment_name
|
1136
|
-
return self._get_response('ValidateConfigurationSettings', params)
|
1137
|
-
|
1138
|
-
def _build_list_params(self, params, user_values, prefix, tuple_names):
|
1139
|
-
# For params such as the ConfigurationOptionSettings,
|
1140
|
-
# they can specify a list of tuples where each tuple maps to a specific
|
1141
|
-
# arg. For example:
|
1142
|
-
# user_values = [('foo', 'bar', 'baz']
|
1143
|
-
# prefix=MyOption.member
|
1144
|
-
# tuple_names=('One', 'Two', 'Three')
|
1145
|
-
# would result in:
|
1146
|
-
# MyOption.member.1.One = foo
|
1147
|
-
# MyOption.member.1.Two = bar
|
1148
|
-
# MyOption.member.1.Three = baz
|
1149
|
-
for i, user_value in enumerate(user_values, 1):
|
1150
|
-
current_prefix = '%s.%s' % (prefix, i)
|
1151
|
-
for key, value in zip(tuple_names, user_value):
|
1152
|
-
full_key = '%s.%s' % (current_prefix, key)
|
1153
|
-
params[full_key] = value
|