aws-sdk-elasticbeanstalk 1.0.0.rc8 → 1.0.0.rc9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-elasticbeanstalk.rb +1 -1
- data/lib/aws-sdk-elasticbeanstalk/client.rb +916 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e6f53697c7060be169a6f866802a6ea56a646b19
|
4
|
+
data.tar.gz: c8b266eb89ca5c8cb858cf6f8dd43b8d908236aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6af9c6326dc21dfcf4b14de6f12a8f516280d723c7a2d9085d5fa577959ac40be61451d4921d91113d6452c33ae29c3801f00d9e10ae972d09e0ac96824f9f89
|
7
|
+
data.tar.gz: 4b95b771f7e5b54efaedf30523a2b43872f3ff3030b4310277c0974644be2c222049ee1afe1f7d9baae9b8f9549c93a4fa50dd061570b636533f17f8e0e476b2
|
@@ -158,6 +158,15 @@ module Aws::ElasticBeanstalk
|
|
158
158
|
#
|
159
159
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
160
160
|
#
|
161
|
+
#
|
162
|
+
# @example Example: To abort a deployment
|
163
|
+
#
|
164
|
+
# # The following code aborts a running application version deployment for an environment named my-env:
|
165
|
+
#
|
166
|
+
# resp = client.abort_environment_update({
|
167
|
+
# environment_name: "my-env",
|
168
|
+
# })
|
169
|
+
#
|
161
170
|
# @example Request syntax with placeholder values
|
162
171
|
#
|
163
172
|
# resp = client.abort_environment_update({
|
@@ -228,6 +237,21 @@ module Aws::ElasticBeanstalk
|
|
228
237
|
# * {Types::CheckDNSAvailabilityResultMessage#available #available} => Boolean
|
229
238
|
# * {Types::CheckDNSAvailabilityResultMessage#fully_qualified_cname #fully_qualified_cname} => String
|
230
239
|
#
|
240
|
+
#
|
241
|
+
# @example Example: To check the availability of a CNAME
|
242
|
+
#
|
243
|
+
# # The following operation checks the availability of the subdomain my-cname:
|
244
|
+
#
|
245
|
+
# resp = client.check_dns_availability({
|
246
|
+
# cname_prefix: "my-cname",
|
247
|
+
# })
|
248
|
+
#
|
249
|
+
# resp.to_h outputs the following:
|
250
|
+
# {
|
251
|
+
# available: true,
|
252
|
+
# fully_qualified_cname: "my-cname.us-west-2.elasticbeanstalk.com",
|
253
|
+
# }
|
254
|
+
#
|
231
255
|
# @example Request syntax with placeholder values
|
232
256
|
#
|
233
257
|
# resp = client.check_dns_availability({
|
@@ -353,6 +377,28 @@ module Aws::ElasticBeanstalk
|
|
353
377
|
#
|
354
378
|
# * {Types::ApplicationDescriptionMessage#application #application} => Types::ApplicationDescription
|
355
379
|
#
|
380
|
+
#
|
381
|
+
# @example Example: To create a new application
|
382
|
+
#
|
383
|
+
# # The following operation creates a new application named my-app:
|
384
|
+
#
|
385
|
+
# resp = client.create_application({
|
386
|
+
# application_name: "my-app",
|
387
|
+
# description: "my application",
|
388
|
+
# })
|
389
|
+
#
|
390
|
+
# resp.to_h outputs the following:
|
391
|
+
# {
|
392
|
+
# application: {
|
393
|
+
# application_name: "my-app",
|
394
|
+
# configuration_templates: [
|
395
|
+
# ],
|
396
|
+
# date_created: Time.parse("2015-02-12T18:32:21.181Z"),
|
397
|
+
# date_updated: Time.parse("2015-02-12T18:32:21.181Z"),
|
398
|
+
# description: "my application",
|
399
|
+
# },
|
400
|
+
# }
|
401
|
+
#
|
356
402
|
# @example Request syntax with placeholder values
|
357
403
|
#
|
358
404
|
# resp = client.create_application({
|
@@ -474,6 +520,38 @@ module Aws::ElasticBeanstalk
|
|
474
520
|
#
|
475
521
|
# * {Types::ApplicationVersionDescriptionMessage#application_version #application_version} => Types::ApplicationVersionDescription
|
476
522
|
#
|
523
|
+
#
|
524
|
+
# @example Example: To create a new application
|
525
|
+
#
|
526
|
+
# # The following operation creates a new version (v1) of an application named my-app:
|
527
|
+
#
|
528
|
+
# resp = client.create_application_version({
|
529
|
+
# application_name: "my-app",
|
530
|
+
# auto_create_application: true,
|
531
|
+
# description: "my-app-v1",
|
532
|
+
# process: true,
|
533
|
+
# source_bundle: {
|
534
|
+
# s3_bucket: "my-bucket",
|
535
|
+
# s3_key: "sample.war",
|
536
|
+
# },
|
537
|
+
# version_label: "v1",
|
538
|
+
# })
|
539
|
+
#
|
540
|
+
# resp.to_h outputs the following:
|
541
|
+
# {
|
542
|
+
# application_version: {
|
543
|
+
# application_name: "my-app",
|
544
|
+
# date_created: Time.parse("2015-02-03T23:01:25.412Z"),
|
545
|
+
# date_updated: Time.parse("2015-02-03T23:01:25.412Z"),
|
546
|
+
# description: "my-app-v1",
|
547
|
+
# source_bundle: {
|
548
|
+
# s3_bucket: "my-bucket",
|
549
|
+
# s3_key: "sample.war",
|
550
|
+
# },
|
551
|
+
# version_label: "v1",
|
552
|
+
# },
|
553
|
+
# }
|
554
|
+
#
|
477
555
|
# @example Request syntax with placeholder values
|
478
556
|
#
|
479
557
|
# resp = client.create_application_version({
|
@@ -609,6 +687,26 @@ module Aws::ElasticBeanstalk
|
|
609
687
|
# * {Types::ConfigurationSettingsDescription#date_updated #date_updated} => Time
|
610
688
|
# * {Types::ConfigurationSettingsDescription#option_settings #option_settings} => Array<Types::ConfigurationOptionSetting>
|
611
689
|
#
|
690
|
+
#
|
691
|
+
# @example Example: To create a configuration template
|
692
|
+
#
|
693
|
+
# # The following operation creates a configuration template named my-app-v1 from the settings applied to an environment with the id e-rpqsewtp2j:
|
694
|
+
#
|
695
|
+
# resp = client.create_configuration_template({
|
696
|
+
# application_name: "my-app",
|
697
|
+
# environment_id: "e-rpqsewtp2j",
|
698
|
+
# template_name: "my-app-v1",
|
699
|
+
# })
|
700
|
+
#
|
701
|
+
# resp.to_h outputs the following:
|
702
|
+
# {
|
703
|
+
# application_name: "my-app",
|
704
|
+
# date_created: Time.parse("2015-08-12T18:40:39Z"),
|
705
|
+
# date_updated: Time.parse("2015-08-12T18:40:39Z"),
|
706
|
+
# solution_stack_name: "64bit Amazon Linux 2015.03 v2.0.0 running Tomcat 8 Java 8",
|
707
|
+
# template_name: "my-app-v1",
|
708
|
+
# }
|
709
|
+
#
|
612
710
|
# @example Request syntax with placeholder values
|
613
711
|
#
|
614
712
|
# resp = client.create_configuration_template({
|
@@ -760,6 +858,38 @@ module Aws::ElasticBeanstalk
|
|
760
858
|
# * {Types::EnvironmentDescription#tier #tier} => Types::EnvironmentTier
|
761
859
|
# * {Types::EnvironmentDescription#environment_links #environment_links} => Array<Types::EnvironmentLink>
|
762
860
|
#
|
861
|
+
#
|
862
|
+
# @example Example: To create a new environment for an application
|
863
|
+
#
|
864
|
+
# # The following operation creates a new environment for version v1 of a java application named my-app:
|
865
|
+
#
|
866
|
+
# resp = client.create_environment({
|
867
|
+
# application_name: "my-app",
|
868
|
+
# cname_prefix: "my-app",
|
869
|
+
# environment_name: "my-env",
|
870
|
+
# solution_stack_name: "64bit Amazon Linux 2015.03 v2.0.0 running Tomcat 8 Java 8",
|
871
|
+
# version_label: "v1",
|
872
|
+
# })
|
873
|
+
#
|
874
|
+
# resp.to_h outputs the following:
|
875
|
+
# {
|
876
|
+
# application_name: "my-app",
|
877
|
+
# cname: "my-app.elasticbeanstalk.com",
|
878
|
+
# date_created: Time.parse("2015-02-03T23:04:54.479Z"),
|
879
|
+
# date_updated: Time.parse("2015-02-03T23:04:54.479Z"),
|
880
|
+
# environment_id: "e-izqpassy4h",
|
881
|
+
# environment_name: "my-env",
|
882
|
+
# health: "Grey",
|
883
|
+
# solution_stack_name: "64bit Amazon Linux 2015.03 v2.0.0 running Tomcat 8 Java 8",
|
884
|
+
# status: "Launching",
|
885
|
+
# tier: {
|
886
|
+
# name: "WebServer",
|
887
|
+
# type: "Standard",
|
888
|
+
# version: " ",
|
889
|
+
# },
|
890
|
+
# version_label: "v1",
|
891
|
+
# }
|
892
|
+
#
|
763
893
|
# @example Request syntax with placeholder values
|
764
894
|
#
|
765
895
|
# resp = client.create_environment({
|
@@ -912,6 +1042,19 @@ module Aws::ElasticBeanstalk
|
|
912
1042
|
#
|
913
1043
|
# * {Types::CreateStorageLocationResultMessage#s3_bucket #s3_bucket} => String
|
914
1044
|
#
|
1045
|
+
#
|
1046
|
+
# @example Example: To create a new environment for an application
|
1047
|
+
#
|
1048
|
+
# # The following operation creates a new environment for version v1 of a java application named my-app:
|
1049
|
+
#
|
1050
|
+
# resp = client.create_storage_location({
|
1051
|
+
# })
|
1052
|
+
#
|
1053
|
+
# resp.to_h outputs the following:
|
1054
|
+
# {
|
1055
|
+
# s3_bucket: "elasticbeanstalk-us-west-2-0123456789012",
|
1056
|
+
# }
|
1057
|
+
#
|
915
1058
|
# @example Response structure
|
916
1059
|
#
|
917
1060
|
# resp.s3_bucket #=> String
|
@@ -942,6 +1085,15 @@ module Aws::ElasticBeanstalk
|
|
942
1085
|
#
|
943
1086
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
944
1087
|
#
|
1088
|
+
#
|
1089
|
+
# @example Example: To delete an application
|
1090
|
+
#
|
1091
|
+
# # The following operation deletes an application named my-app:
|
1092
|
+
#
|
1093
|
+
# resp = client.delete_application({
|
1094
|
+
# application_name: "my-app",
|
1095
|
+
# })
|
1096
|
+
#
|
945
1097
|
# @example Request syntax with placeholder values
|
946
1098
|
#
|
947
1099
|
# resp = client.delete_application({
|
@@ -978,6 +1130,17 @@ module Aws::ElasticBeanstalk
|
|
978
1130
|
#
|
979
1131
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
980
1132
|
#
|
1133
|
+
#
|
1134
|
+
# @example Example: To delete an application version
|
1135
|
+
#
|
1136
|
+
# # The following operation deletes an application version named 22a0-stage-150819_182129 for an application named my-app:
|
1137
|
+
#
|
1138
|
+
# resp = client.delete_application_version({
|
1139
|
+
# application_name: "my-app",
|
1140
|
+
# delete_source_bundle: true,
|
1141
|
+
# version_label: "22a0-stage-150819_182129",
|
1142
|
+
# })
|
1143
|
+
#
|
981
1144
|
# @example Request syntax with placeholder values
|
982
1145
|
#
|
983
1146
|
# resp = client.delete_application_version({
|
@@ -1012,6 +1175,16 @@ module Aws::ElasticBeanstalk
|
|
1012
1175
|
#
|
1013
1176
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1014
1177
|
#
|
1178
|
+
#
|
1179
|
+
# @example Example: To delete a configuration template
|
1180
|
+
#
|
1181
|
+
# # The following operation deletes a configuration template named my-template for an application named my-app:
|
1182
|
+
#
|
1183
|
+
# resp = client.delete_configuration_template({
|
1184
|
+
# application_name: "my-app",
|
1185
|
+
# template_name: "my-template",
|
1186
|
+
# })
|
1187
|
+
#
|
1015
1188
|
# @example Request syntax with placeholder values
|
1016
1189
|
#
|
1017
1190
|
# resp = client.delete_configuration_template({
|
@@ -1047,6 +1220,16 @@ module Aws::ElasticBeanstalk
|
|
1047
1220
|
#
|
1048
1221
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1049
1222
|
#
|
1223
|
+
#
|
1224
|
+
# @example Example: To delete a draft configuration
|
1225
|
+
#
|
1226
|
+
# # The following operation deletes a draft configuration for an environment named my-env:
|
1227
|
+
#
|
1228
|
+
# resp = client.delete_environment_configuration({
|
1229
|
+
# application_name: "my-app",
|
1230
|
+
# environment_name: "my-env",
|
1231
|
+
# })
|
1232
|
+
#
|
1050
1233
|
# @example Request syntax with placeholder values
|
1051
1234
|
#
|
1052
1235
|
# resp = client.delete_environment_configuration({
|
@@ -1121,6 +1304,46 @@ module Aws::ElasticBeanstalk
|
|
1121
1304
|
# * {Types::ApplicationVersionDescriptionsMessage#application_versions #application_versions} => Array<Types::ApplicationVersionDescription>
|
1122
1305
|
# * {Types::ApplicationVersionDescriptionsMessage#next_token #next_token} => String
|
1123
1306
|
#
|
1307
|
+
#
|
1308
|
+
# @example Example: To view information about an application version
|
1309
|
+
#
|
1310
|
+
# # The following operation retrieves information about an application version labeled v2:
|
1311
|
+
#
|
1312
|
+
# resp = client.describe_application_versions({
|
1313
|
+
# application_name: "my-app",
|
1314
|
+
# version_labels: [
|
1315
|
+
# "v2",
|
1316
|
+
# ],
|
1317
|
+
# })
|
1318
|
+
#
|
1319
|
+
# resp.to_h outputs the following:
|
1320
|
+
# {
|
1321
|
+
# application_versions: [
|
1322
|
+
# {
|
1323
|
+
# application_name: "my-app",
|
1324
|
+
# date_created: Time.parse("2015-07-23T01:32:26.079Z"),
|
1325
|
+
# date_updated: Time.parse("2015-07-23T01:32:26.079Z"),
|
1326
|
+
# description: "update cover page",
|
1327
|
+
# source_bundle: {
|
1328
|
+
# s3_bucket: "elasticbeanstalk-us-west-2-015321684451",
|
1329
|
+
# s3_key: "my-app/5026-stage-150723_224258.war",
|
1330
|
+
# },
|
1331
|
+
# version_label: "v2",
|
1332
|
+
# },
|
1333
|
+
# {
|
1334
|
+
# application_name: "my-app",
|
1335
|
+
# date_created: Time.parse("2015-07-23T22:26:10.816Z"),
|
1336
|
+
# date_updated: Time.parse("2015-07-23T22:26:10.816Z"),
|
1337
|
+
# description: "initial version",
|
1338
|
+
# source_bundle: {
|
1339
|
+
# s3_bucket: "elasticbeanstalk-us-west-2-015321684451",
|
1340
|
+
# s3_key: "my-app/5026-stage-150723_222618.war",
|
1341
|
+
# },
|
1342
|
+
# version_label: "v1",
|
1343
|
+
# },
|
1344
|
+
# ],
|
1345
|
+
# }
|
1346
|
+
#
|
1124
1347
|
# @example Request syntax with placeholder values
|
1125
1348
|
#
|
1126
1349
|
# resp = client.describe_application_versions({
|
@@ -1166,6 +1389,52 @@ module Aws::ElasticBeanstalk
|
|
1166
1389
|
#
|
1167
1390
|
# * {Types::ApplicationDescriptionsMessage#applications #applications} => Array<Types::ApplicationDescription>
|
1168
1391
|
#
|
1392
|
+
#
|
1393
|
+
# @example Example: To view a list of applications
|
1394
|
+
#
|
1395
|
+
# # The following operation retrieves information about applications in the current region:
|
1396
|
+
#
|
1397
|
+
# resp = client.describe_applications({
|
1398
|
+
# })
|
1399
|
+
#
|
1400
|
+
# resp.to_h outputs the following:
|
1401
|
+
# {
|
1402
|
+
# applications: [
|
1403
|
+
# {
|
1404
|
+
# application_name: "ruby",
|
1405
|
+
# configuration_templates: [
|
1406
|
+
# ],
|
1407
|
+
# date_created: Time.parse("2015-08-13T21:05:44.376Z"),
|
1408
|
+
# date_updated: Time.parse("2015-08-13T21:05:44.376Z"),
|
1409
|
+
# versions: [
|
1410
|
+
# "Sample Application",
|
1411
|
+
# ],
|
1412
|
+
# },
|
1413
|
+
# {
|
1414
|
+
# application_name: "pythonsample",
|
1415
|
+
# configuration_templates: [
|
1416
|
+
# ],
|
1417
|
+
# date_created: Time.parse("2015-08-13T19:05:43.637Z"),
|
1418
|
+
# date_updated: Time.parse("2015-08-13T19:05:43.637Z"),
|
1419
|
+
# description: "Application created from the EB CLI using \"eb init\"",
|
1420
|
+
# versions: [
|
1421
|
+
# "Sample Application",
|
1422
|
+
# ],
|
1423
|
+
# },
|
1424
|
+
# {
|
1425
|
+
# application_name: "nodejs-example",
|
1426
|
+
# configuration_templates: [
|
1427
|
+
# ],
|
1428
|
+
# date_created: Time.parse("2015-08-06T17:50:02.486Z"),
|
1429
|
+
# date_updated: Time.parse("2015-08-06T17:50:02.486Z"),
|
1430
|
+
# versions: [
|
1431
|
+
# "add elasticache",
|
1432
|
+
# "First Release",
|
1433
|
+
# ],
|
1434
|
+
# },
|
1435
|
+
# ],
|
1436
|
+
# }
|
1437
|
+
#
|
1169
1438
|
# @example Request syntax with placeholder values
|
1170
1439
|
#
|
1171
1440
|
# resp = client.describe_applications({
|
@@ -1237,6 +1506,41 @@ module Aws::ElasticBeanstalk
|
|
1237
1506
|
# * {Types::ConfigurationOptionsDescription#platform_arn #platform_arn} => String
|
1238
1507
|
# * {Types::ConfigurationOptionsDescription#options #options} => Array<Types::ConfigurationOptionDescription>
|
1239
1508
|
#
|
1509
|
+
#
|
1510
|
+
# @example Example: To view configuration options for an environment
|
1511
|
+
#
|
1512
|
+
# # The following operation retrieves descriptions of all available configuration options for an environment named my-env:
|
1513
|
+
#
|
1514
|
+
# resp = client.describe_configuration_options({
|
1515
|
+
# application_name: "my-app",
|
1516
|
+
# environment_name: "my-env",
|
1517
|
+
# })
|
1518
|
+
#
|
1519
|
+
# resp.to_h outputs the following:
|
1520
|
+
# {
|
1521
|
+
# options: [
|
1522
|
+
# {
|
1523
|
+
# change_severity: "NoInterruption",
|
1524
|
+
# default_value: "30",
|
1525
|
+
# max_value: 300,
|
1526
|
+
# min_value: 5,
|
1527
|
+
# name: "Interval",
|
1528
|
+
# namespace: "aws:elb:healthcheck",
|
1529
|
+
# user_defined: false,
|
1530
|
+
# value_type: "Scalar",
|
1531
|
+
# },
|
1532
|
+
# {
|
1533
|
+
# change_severity: "NoInterruption",
|
1534
|
+
# default_value: "2000000",
|
1535
|
+
# min_value: 0,
|
1536
|
+
# name: "LowerThreshold",
|
1537
|
+
# namespace: "aws:autoscaling:trigger",
|
1538
|
+
# user_defined: false,
|
1539
|
+
# value_type: "Scalar",
|
1540
|
+
# },
|
1541
|
+
# ],
|
1542
|
+
# }
|
1543
|
+
#
|
1240
1544
|
# @example Request syntax with placeholder values
|
1241
1545
|
#
|
1242
1546
|
# resp = client.describe_configuration_options({
|
@@ -1322,6 +1626,57 @@ module Aws::ElasticBeanstalk
|
|
1322
1626
|
#
|
1323
1627
|
# * {Types::ConfigurationSettingsDescriptions#configuration_settings #configuration_settings} => Array<Types::ConfigurationSettingsDescription>
|
1324
1628
|
#
|
1629
|
+
#
|
1630
|
+
# @example Example: To view configurations settings for an environment
|
1631
|
+
#
|
1632
|
+
# # The following operation retrieves configuration settings for an environment named my-env:
|
1633
|
+
#
|
1634
|
+
# resp = client.describe_configuration_settings({
|
1635
|
+
# application_name: "my-app",
|
1636
|
+
# environment_name: "my-env",
|
1637
|
+
# })
|
1638
|
+
#
|
1639
|
+
# resp.to_h outputs the following:
|
1640
|
+
# {
|
1641
|
+
# configuration_settings: [
|
1642
|
+
# {
|
1643
|
+
# application_name: "my-app",
|
1644
|
+
# date_created: Time.parse("2015-08-13T19:16:25Z"),
|
1645
|
+
# date_updated: Time.parse("2015-08-13T23:30:07Z"),
|
1646
|
+
# deployment_status: "deployed",
|
1647
|
+
# description: "Environment created from the EB CLI using \"eb create\"",
|
1648
|
+
# environment_name: "my-env",
|
1649
|
+
# option_settings: [
|
1650
|
+
# {
|
1651
|
+
# namespace: "aws:autoscaling:asg",
|
1652
|
+
# option_name: "Availability Zones",
|
1653
|
+
# resource_name: "AWSEBAutoScalingGroup",
|
1654
|
+
# value: "Any",
|
1655
|
+
# },
|
1656
|
+
# {
|
1657
|
+
# namespace: "aws:autoscaling:asg",
|
1658
|
+
# option_name: "Cooldown",
|
1659
|
+
# resource_name: "AWSEBAutoScalingGroup",
|
1660
|
+
# value: "360",
|
1661
|
+
# },
|
1662
|
+
# {
|
1663
|
+
# namespace: "aws:elb:policies",
|
1664
|
+
# option_name: "ConnectionDrainingTimeout",
|
1665
|
+
# resource_name: "AWSEBLoadBalancer",
|
1666
|
+
# value: "20",
|
1667
|
+
# },
|
1668
|
+
# {
|
1669
|
+
# namespace: "aws:elb:policies",
|
1670
|
+
# option_name: "ConnectionSettingIdleTimeout",
|
1671
|
+
# resource_name: "AWSEBLoadBalancer",
|
1672
|
+
# value: "60",
|
1673
|
+
# },
|
1674
|
+
# ],
|
1675
|
+
# solution_stack_name: "64bit Amazon Linux 2015.03 v2.0.0 running Tomcat 8 Java 8",
|
1676
|
+
# },
|
1677
|
+
# ],
|
1678
|
+
# }
|
1679
|
+
#
|
1325
1680
|
# @example Request syntax with placeholder values
|
1326
1681
|
#
|
1327
1682
|
# resp = client.describe_configuration_settings({
|
@@ -1387,6 +1742,58 @@ module Aws::ElasticBeanstalk
|
|
1387
1742
|
# * {Types::DescribeEnvironmentHealthResult#instances_health #instances_health} => Types::InstanceHealthSummary
|
1388
1743
|
# * {Types::DescribeEnvironmentHealthResult#refreshed_at #refreshed_at} => Time
|
1389
1744
|
#
|
1745
|
+
#
|
1746
|
+
# @example Example: To view environment health
|
1747
|
+
#
|
1748
|
+
# # The following operation retrieves overall health information for an environment named my-env:
|
1749
|
+
#
|
1750
|
+
# resp = client.describe_environment_health({
|
1751
|
+
# attribute_names: [
|
1752
|
+
# "All",
|
1753
|
+
# ],
|
1754
|
+
# environment_name: "my-env",
|
1755
|
+
# })
|
1756
|
+
#
|
1757
|
+
# resp.to_h outputs the following:
|
1758
|
+
# {
|
1759
|
+
# application_metrics: {
|
1760
|
+
# duration: 10,
|
1761
|
+
# latency: {
|
1762
|
+
# p10: 0.001,
|
1763
|
+
# p50: 0.001,
|
1764
|
+
# p75: 0.002,
|
1765
|
+
# p85: 0.003,
|
1766
|
+
# p90: 0.003,
|
1767
|
+
# p95: 0.004,
|
1768
|
+
# p99: 0.004,
|
1769
|
+
# p999: 0.004,
|
1770
|
+
# },
|
1771
|
+
# request_count: 45,
|
1772
|
+
# status_codes: {
|
1773
|
+
# status_2xx: 45,
|
1774
|
+
# status_3xx: 0,
|
1775
|
+
# status_4xx: 0,
|
1776
|
+
# status_5xx: 0,
|
1777
|
+
# },
|
1778
|
+
# },
|
1779
|
+
# causes: [
|
1780
|
+
# ],
|
1781
|
+
# color: "Green",
|
1782
|
+
# environment_name: "my-env",
|
1783
|
+
# health_status: "Ok",
|
1784
|
+
# instances_health: {
|
1785
|
+
# degraded: 0,
|
1786
|
+
# info: 0,
|
1787
|
+
# no_data: 0,
|
1788
|
+
# ok: 1,
|
1789
|
+
# pending: 0,
|
1790
|
+
# severe: 0,
|
1791
|
+
# unknown: 0,
|
1792
|
+
# warning: 0,
|
1793
|
+
# },
|
1794
|
+
# refreshed_at: Time.parse("2015-08-20T21:09:18Z"),
|
1795
|
+
# }
|
1796
|
+
#
|
1390
1797
|
# @example Request syntax with placeholder values
|
1391
1798
|
#
|
1392
1799
|
# resp = client.describe_environment_health({
|
@@ -1547,6 +1954,46 @@ module Aws::ElasticBeanstalk
|
|
1547
1954
|
#
|
1548
1955
|
# * {Types::EnvironmentResourceDescriptionsMessage#environment_resources #environment_resources} => Types::EnvironmentResourceDescription
|
1549
1956
|
#
|
1957
|
+
#
|
1958
|
+
# @example Example: To view information about the AWS resources in your environment
|
1959
|
+
#
|
1960
|
+
# # The following operation retrieves information about resources in an environment named my-env:
|
1961
|
+
#
|
1962
|
+
# resp = client.describe_environment_resources({
|
1963
|
+
# environment_name: "my-env",
|
1964
|
+
# })
|
1965
|
+
#
|
1966
|
+
# resp.to_h outputs the following:
|
1967
|
+
# {
|
1968
|
+
# environment_resources: {
|
1969
|
+
# auto_scaling_groups: [
|
1970
|
+
# {
|
1971
|
+
# name: "awseb-e-qu3fyyjyjs-stack-AWSEBAutoScalingGroup-QSB2ZO88SXZT",
|
1972
|
+
# },
|
1973
|
+
# ],
|
1974
|
+
# environment_name: "my-env",
|
1975
|
+
# instances: [
|
1976
|
+
# {
|
1977
|
+
# id: "i-0c91c786",
|
1978
|
+
# },
|
1979
|
+
# ],
|
1980
|
+
# launch_configurations: [
|
1981
|
+
# {
|
1982
|
+
# name: "awseb-e-qu3fyyjyjs-stack-AWSEBAutoScalingLaunchConfiguration-1UUVQIBC96TQ2",
|
1983
|
+
# },
|
1984
|
+
# ],
|
1985
|
+
# load_balancers: [
|
1986
|
+
# {
|
1987
|
+
# name: "awseb-e-q-AWSEBLoa-1EEPZ0K98BIF0",
|
1988
|
+
# },
|
1989
|
+
# ],
|
1990
|
+
# queues: [
|
1991
|
+
# ],
|
1992
|
+
# triggers: [
|
1993
|
+
# ],
|
1994
|
+
# },
|
1995
|
+
# }
|
1996
|
+
#
|
1550
1997
|
# @example Request syntax with placeholder values
|
1551
1998
|
#
|
1552
1999
|
# resp = client.describe_environment_resources({
|
@@ -1616,6 +2063,42 @@ module Aws::ElasticBeanstalk
|
|
1616
2063
|
#
|
1617
2064
|
# * {Types::EnvironmentDescriptionsMessage#environments #environments} => Array<Types::EnvironmentDescription>
|
1618
2065
|
#
|
2066
|
+
#
|
2067
|
+
# @example Example: To view information about an environment
|
2068
|
+
#
|
2069
|
+
# # The following operation retrieves information about an environment named my-env:
|
2070
|
+
#
|
2071
|
+
# resp = client.describe_environments({
|
2072
|
+
# environment_names: [
|
2073
|
+
# "my-env",
|
2074
|
+
# ],
|
2075
|
+
# })
|
2076
|
+
#
|
2077
|
+
# resp.to_h outputs the following:
|
2078
|
+
# {
|
2079
|
+
# environments: [
|
2080
|
+
# {
|
2081
|
+
# abortable_operation_in_progress: false,
|
2082
|
+
# application_name: "my-app",
|
2083
|
+
# cname: "my-env.elasticbeanstalk.com",
|
2084
|
+
# date_created: Time.parse("2015-08-07T20:48:49.599Z"),
|
2085
|
+
# date_updated: Time.parse("2015-08-12T18:16:55.019Z"),
|
2086
|
+
# endpoint_url: "awseb-e-w-AWSEBLoa-1483140XB0Q4L-109QXY8121.us-west-2.elb.amazonaws.com",
|
2087
|
+
# environment_id: "e-rpqsewtp2j",
|
2088
|
+
# environment_name: "my-env",
|
2089
|
+
# health: "Green",
|
2090
|
+
# solution_stack_name: "64bit Amazon Linux 2015.03 v2.0.0 running Tomcat 8 Java 8",
|
2091
|
+
# status: "Ready",
|
2092
|
+
# tier: {
|
2093
|
+
# name: "WebServer",
|
2094
|
+
# type: "Standard",
|
2095
|
+
# version: " ",
|
2096
|
+
# },
|
2097
|
+
# version_label: "7f58-stage-150812_025409",
|
2098
|
+
# },
|
2099
|
+
# ],
|
2100
|
+
# }
|
2101
|
+
#
|
1619
2102
|
# @example Request syntax with placeholder values
|
1620
2103
|
#
|
1621
2104
|
# resp = client.describe_environments({
|
@@ -1729,6 +2212,52 @@ module Aws::ElasticBeanstalk
|
|
1729
2212
|
# * {Types::EventDescriptionsMessage#events #events} => Array<Types::EventDescription>
|
1730
2213
|
# * {Types::EventDescriptionsMessage#next_token #next_token} => String
|
1731
2214
|
#
|
2215
|
+
#
|
2216
|
+
# @example Example: To view events for an environment
|
2217
|
+
#
|
2218
|
+
# # The following operation retrieves events for an environment named my-env:
|
2219
|
+
#
|
2220
|
+
# resp = client.describe_events({
|
2221
|
+
# environment_name: "my-env",
|
2222
|
+
# })
|
2223
|
+
#
|
2224
|
+
# resp.to_h outputs the following:
|
2225
|
+
# {
|
2226
|
+
# events: [
|
2227
|
+
# {
|
2228
|
+
# application_name: "my-app",
|
2229
|
+
# environment_name: "my-env",
|
2230
|
+
# event_date: Time.parse("2015-08-20T07:06:53.535Z"),
|
2231
|
+
# message: "Environment health has transitioned from Info to Ok.",
|
2232
|
+
# severity: "INFO",
|
2233
|
+
# },
|
2234
|
+
# {
|
2235
|
+
# application_name: "my-app",
|
2236
|
+
# environment_name: "my-env",
|
2237
|
+
# event_date: Time.parse("2015-08-20T07:06:02.049Z"),
|
2238
|
+
# message: "Environment update completed successfully.",
|
2239
|
+
# request_id: "b7f3960b-4709-11e5-ba1e-07e16200da41",
|
2240
|
+
# severity: "INFO",
|
2241
|
+
# },
|
2242
|
+
# {
|
2243
|
+
# application_name: "my-app",
|
2244
|
+
# environment_name: "my-env",
|
2245
|
+
# event_date: Time.parse("2015-08-13T19:16:27.561Z"),
|
2246
|
+
# message: "Using elasticbeanstalk-us-west-2-012445113685 as Amazon S3 storage bucket for environment data.",
|
2247
|
+
# request_id: "ca8dfbf6-41ef-11e5-988b-651aa638f46b",
|
2248
|
+
# severity: "INFO",
|
2249
|
+
# },
|
2250
|
+
# {
|
2251
|
+
# application_name: "my-app",
|
2252
|
+
# environment_name: "my-env",
|
2253
|
+
# event_date: Time.parse("2015-08-13T19:16:26.581Z"),
|
2254
|
+
# message: "createEnvironment is starting.",
|
2255
|
+
# request_id: "cdfba8f6-41ef-11e5-988b-65638f41aa6b",
|
2256
|
+
# severity: "INFO",
|
2257
|
+
# },
|
2258
|
+
# ],
|
2259
|
+
# }
|
2260
|
+
#
|
1732
2261
|
# @example Request syntax with placeholder values
|
1733
2262
|
#
|
1734
2263
|
# resp = client.describe_events({
|
@@ -1797,6 +2326,69 @@ module Aws::ElasticBeanstalk
|
|
1797
2326
|
# * {Types::DescribeInstancesHealthResult#refreshed_at #refreshed_at} => Time
|
1798
2327
|
# * {Types::DescribeInstancesHealthResult#next_token #next_token} => String
|
1799
2328
|
#
|
2329
|
+
#
|
2330
|
+
# @example Example: To view environment health
|
2331
|
+
#
|
2332
|
+
# # The following operation retrieves health information for instances in an environment named my-env:
|
2333
|
+
#
|
2334
|
+
# resp = client.describe_instances_health({
|
2335
|
+
# attribute_names: [
|
2336
|
+
# "All",
|
2337
|
+
# ],
|
2338
|
+
# environment_name: "my-env",
|
2339
|
+
# })
|
2340
|
+
#
|
2341
|
+
# resp.to_h outputs the following:
|
2342
|
+
# {
|
2343
|
+
# instance_health_list: [
|
2344
|
+
# {
|
2345
|
+
# application_metrics: {
|
2346
|
+
# duration: 10,
|
2347
|
+
# latency: {
|
2348
|
+
# p10: 0,
|
2349
|
+
# p50: 0.001,
|
2350
|
+
# p75: 0.002,
|
2351
|
+
# p85: 0.003,
|
2352
|
+
# p90: 0.004,
|
2353
|
+
# p95: 0.005,
|
2354
|
+
# p99: 0.006,
|
2355
|
+
# p999: 0.006,
|
2356
|
+
# },
|
2357
|
+
# request_count: 48,
|
2358
|
+
# status_codes: {
|
2359
|
+
# status_2xx: 47,
|
2360
|
+
# status_3xx: 0,
|
2361
|
+
# status_4xx: 1,
|
2362
|
+
# status_5xx: 0,
|
2363
|
+
# },
|
2364
|
+
# },
|
2365
|
+
# causes: [
|
2366
|
+
# ],
|
2367
|
+
# color: "Green",
|
2368
|
+
# health_status: "Ok",
|
2369
|
+
# instance_id: "i-08691cc7",
|
2370
|
+
# launched_at: Time.parse("2015-08-13T19:17:09Z"),
|
2371
|
+
# system: {
|
2372
|
+
# cpu_utilization: {
|
2373
|
+
# io_wait: 0.2,
|
2374
|
+
# irq: 0,
|
2375
|
+
# idle: 97.8,
|
2376
|
+
# nice: 0.1,
|
2377
|
+
# soft_irq: 0.1,
|
2378
|
+
# system: 0.3,
|
2379
|
+
# user: 1.5,
|
2380
|
+
# },
|
2381
|
+
# load_average: [
|
2382
|
+
# 0,
|
2383
|
+
# 0.02,
|
2384
|
+
# 0.05,
|
2385
|
+
# ],
|
2386
|
+
# },
|
2387
|
+
# },
|
2388
|
+
# ],
|
2389
|
+
# refreshed_at: Time.parse("2015-08-20T21:09:08Z"),
|
2390
|
+
# }
|
2391
|
+
#
|
1800
2392
|
# @example Request syntax with placeholder values
|
1801
2393
|
#
|
1802
2394
|
# resp = client.describe_instances_health({
|
@@ -1917,6 +2509,56 @@ module Aws::ElasticBeanstalk
|
|
1917
2509
|
# * {Types::ListAvailableSolutionStacksResultMessage#solution_stacks #solution_stacks} => Array<String>
|
1918
2510
|
# * {Types::ListAvailableSolutionStacksResultMessage#solution_stack_details #solution_stack_details} => Array<Types::SolutionStackDescription>
|
1919
2511
|
#
|
2512
|
+
#
|
2513
|
+
# @example Example: To view solution stacks
|
2514
|
+
#
|
2515
|
+
# # The following operation lists solution stacks for all currently available platform configurations and any that you have used in the past:
|
2516
|
+
#
|
2517
|
+
# resp = client.list_available_solution_stacks({
|
2518
|
+
# })
|
2519
|
+
#
|
2520
|
+
# resp.to_h outputs the following:
|
2521
|
+
# {
|
2522
|
+
# solution_stack_details: [
|
2523
|
+
# {
|
2524
|
+
# permitted_file_types: [
|
2525
|
+
# "zip",
|
2526
|
+
# ],
|
2527
|
+
# solution_stack_name: "64bit Amazon Linux 2015.03 v2.0.0 running Node.js",
|
2528
|
+
# },
|
2529
|
+
# ],
|
2530
|
+
# solution_stacks: [
|
2531
|
+
# "64bit Amazon Linux 2015.03 v2.0.0 running Node.js",
|
2532
|
+
# "64bit Amazon Linux 2015.03 v2.0.0 running PHP 5.6",
|
2533
|
+
# "64bit Amazon Linux 2015.03 v2.0.0 running PHP 5.5",
|
2534
|
+
# "64bit Amazon Linux 2015.03 v2.0.0 running PHP 5.4",
|
2535
|
+
# "64bit Amazon Linux 2015.03 v2.0.0 running Python 3.4",
|
2536
|
+
# "64bit Amazon Linux 2015.03 v2.0.0 running Python 2.7",
|
2537
|
+
# "64bit Amazon Linux 2015.03 v2.0.0 running Python",
|
2538
|
+
# "64bit Amazon Linux 2015.03 v2.0.0 running Ruby 2.2 (Puma)",
|
2539
|
+
# "64bit Amazon Linux 2015.03 v2.0.0 running Ruby 2.2 (Passenger Standalone)",
|
2540
|
+
# "64bit Amazon Linux 2015.03 v2.0.0 running Ruby 2.1 (Puma)",
|
2541
|
+
# "64bit Amazon Linux 2015.03 v2.0.0 running Ruby 2.1 (Passenger Standalone)",
|
2542
|
+
# "64bit Amazon Linux 2015.03 v2.0.0 running Ruby 2.0 (Puma)",
|
2543
|
+
# "64bit Amazon Linux 2015.03 v2.0.0 running Ruby 2.0 (Passenger Standalone)",
|
2544
|
+
# "64bit Amazon Linux 2015.03 v2.0.0 running Ruby 1.9.3",
|
2545
|
+
# "64bit Amazon Linux 2015.03 v2.0.0 running Tomcat 8 Java 8",
|
2546
|
+
# "64bit Amazon Linux 2015.03 v2.0.0 running Tomcat 7 Java 7",
|
2547
|
+
# "64bit Amazon Linux 2015.03 v2.0.0 running Tomcat 7 Java 6",
|
2548
|
+
# "64bit Windows Server Core 2012 R2 running IIS 8.5",
|
2549
|
+
# "64bit Windows Server 2012 R2 running IIS 8.5",
|
2550
|
+
# "64bit Windows Server 2012 running IIS 8",
|
2551
|
+
# "64bit Windows Server 2008 R2 running IIS 7.5",
|
2552
|
+
# "64bit Amazon Linux 2015.03 v2.0.0 running Docker 1.6.2",
|
2553
|
+
# "64bit Amazon Linux 2015.03 v2.0.0 running Multi-container Docker 1.6.2 (Generic)",
|
2554
|
+
# "64bit Debian jessie v2.0.0 running GlassFish 4.1 Java 8 (Preconfigured - Docker)",
|
2555
|
+
# "64bit Debian jessie v2.0.0 running GlassFish 4.0 Java 7 (Preconfigured - Docker)",
|
2556
|
+
# "64bit Debian jessie v2.0.0 running Go 1.4 (Preconfigured - Docker)",
|
2557
|
+
# "64bit Debian jessie v2.0.0 running Go 1.3 (Preconfigured - Docker)",
|
2558
|
+
# "64bit Debian jessie v2.0.0 running Python 3.4 (Preconfigured - Docker)",
|
2559
|
+
# ],
|
2560
|
+
# }
|
2561
|
+
#
|
1920
2562
|
# @example Response structure
|
1921
2563
|
#
|
1922
2564
|
# resp.solution_stacks #=> Array
|
@@ -2011,6 +2653,15 @@ module Aws::ElasticBeanstalk
|
|
2011
2653
|
#
|
2012
2654
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2013
2655
|
#
|
2656
|
+
#
|
2657
|
+
# @example Example: To rebuild an environment
|
2658
|
+
#
|
2659
|
+
# # The following operation terminates and recreates the resources in an environment named my-env:
|
2660
|
+
#
|
2661
|
+
# resp = client.rebuild_environment({
|
2662
|
+
# environment_name: "my-env",
|
2663
|
+
# })
|
2664
|
+
#
|
2014
2665
|
# @example Request syntax with placeholder values
|
2015
2666
|
#
|
2016
2667
|
# resp = client.rebuild_environment({
|
@@ -2071,6 +2722,16 @@ module Aws::ElasticBeanstalk
|
|
2071
2722
|
#
|
2072
2723
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2073
2724
|
#
|
2725
|
+
#
|
2726
|
+
# @example Example: To request tailed logs
|
2727
|
+
#
|
2728
|
+
# # The following operation requests logs from an environment named my-env:
|
2729
|
+
#
|
2730
|
+
# resp = client.request_environment_info({
|
2731
|
+
# environment_name: "my-env",
|
2732
|
+
# info_type: "tail",
|
2733
|
+
# })
|
2734
|
+
#
|
2074
2735
|
# @example Request syntax with placeholder values
|
2075
2736
|
#
|
2076
2737
|
# resp = client.request_environment_info({
|
@@ -2107,6 +2768,15 @@ module Aws::ElasticBeanstalk
|
|
2107
2768
|
#
|
2108
2769
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2109
2770
|
#
|
2771
|
+
#
|
2772
|
+
# @example Example: To restart application servers
|
2773
|
+
#
|
2774
|
+
# # The following operation restarts application servers on all instances in an environment named my-env:
|
2775
|
+
#
|
2776
|
+
# resp = client.restart_app_server({
|
2777
|
+
# environment_name: "my-env",
|
2778
|
+
# })
|
2779
|
+
#
|
2110
2780
|
# @example Request syntax with placeholder values
|
2111
2781
|
#
|
2112
2782
|
# resp = client.restart_app_server({
|
@@ -2159,6 +2829,28 @@ module Aws::ElasticBeanstalk
|
|
2159
2829
|
#
|
2160
2830
|
# * {Types::RetrieveEnvironmentInfoResultMessage#environment_info #environment_info} => Array<Types::EnvironmentInfoDescription>
|
2161
2831
|
#
|
2832
|
+
#
|
2833
|
+
# @example Example: To retrieve tailed logs
|
2834
|
+
#
|
2835
|
+
# # The following operation retrieves a link to logs from an environment named my-env:
|
2836
|
+
#
|
2837
|
+
# resp = client.retrieve_environment_info({
|
2838
|
+
# environment_name: "my-env",
|
2839
|
+
# info_type: "tail",
|
2840
|
+
# })
|
2841
|
+
#
|
2842
|
+
# resp.to_h outputs the following:
|
2843
|
+
# {
|
2844
|
+
# environment_info: [
|
2845
|
+
# {
|
2846
|
+
# ec2_instance_id: "i-09c1c867",
|
2847
|
+
# info_type: "tail",
|
2848
|
+
# message: "https://elasticbeanstalk-us-west-2-0123456789012.s3.amazonaws.com/resources/environments/logs/tail/e-fyqyju3yjs/i-09c1c867/TailLogs-1440109397703.out?AWSAccessKeyId=AKGPT4J56IAJ2EUBL5CQ&Expires=1440195891&Signature=n%2BEalOV6A2HIOx4Rcfb7LT16bBM%3D",
|
2849
|
+
# sample_timestamp: Time.parse("2015-08-20T22:23:17.703Z"),
|
2850
|
+
# },
|
2851
|
+
# ],
|
2852
|
+
# }
|
2853
|
+
#
|
2162
2854
|
# @example Request syntax with placeholder values
|
2163
2855
|
#
|
2164
2856
|
# resp = client.retrieve_environment_info({
|
@@ -2219,6 +2911,16 @@ module Aws::ElasticBeanstalk
|
|
2219
2911
|
#
|
2220
2912
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2221
2913
|
#
|
2914
|
+
#
|
2915
|
+
# @example Example: To swap environment CNAMES
|
2916
|
+
#
|
2917
|
+
# # The following operation swaps the assigned subdomains of two environments:
|
2918
|
+
#
|
2919
|
+
# resp = client.swap_environment_cnames({
|
2920
|
+
# destination_environment_name: "my-env-green",
|
2921
|
+
# source_environment_name: "my-env-blue",
|
2922
|
+
# })
|
2923
|
+
#
|
2222
2924
|
# @example Request syntax with placeholder values
|
2223
2925
|
#
|
2224
2926
|
# resp = client.swap_environment_cnames({
|
@@ -2300,6 +3002,35 @@ module Aws::ElasticBeanstalk
|
|
2300
3002
|
# * {Types::EnvironmentDescription#tier #tier} => Types::EnvironmentTier
|
2301
3003
|
# * {Types::EnvironmentDescription#environment_links #environment_links} => Array<Types::EnvironmentLink>
|
2302
3004
|
#
|
3005
|
+
#
|
3006
|
+
# @example Example: To terminate an environment
|
3007
|
+
#
|
3008
|
+
# # The following operation terminates an Elastic Beanstalk environment named my-env:
|
3009
|
+
#
|
3010
|
+
# resp = client.terminate_environment({
|
3011
|
+
# environment_name: "my-env",
|
3012
|
+
# })
|
3013
|
+
#
|
3014
|
+
# resp.to_h outputs the following:
|
3015
|
+
# {
|
3016
|
+
# abortable_operation_in_progress: false,
|
3017
|
+
# application_name: "my-app",
|
3018
|
+
# cname: "my-env.elasticbeanstalk.com",
|
3019
|
+
# date_created: Time.parse("2015-08-12T18:52:53.622Z"),
|
3020
|
+
# date_updated: Time.parse("2015-08-12T19:05:54.744Z"),
|
3021
|
+
# endpoint_url: "awseb-e-f-AWSEBLoa-1I9XUMP4-8492WNUP202574.us-west-2.elb.amazonaws.com",
|
3022
|
+
# environment_id: "e-fh2eravpns",
|
3023
|
+
# environment_name: "my-env",
|
3024
|
+
# health: "Grey",
|
3025
|
+
# solution_stack_name: "64bit Amazon Linux 2015.03 v2.0.0 running Tomcat 8 Java 8",
|
3026
|
+
# status: "Terminating",
|
3027
|
+
# tier: {
|
3028
|
+
# name: "WebServer",
|
3029
|
+
# type: "Standard",
|
3030
|
+
# version: " ",
|
3031
|
+
# },
|
3032
|
+
# }
|
3033
|
+
#
|
2303
3034
|
# @example Request syntax with placeholder values
|
2304
3035
|
#
|
2305
3036
|
# resp = client.terminate_environment({
|
@@ -2369,6 +3100,35 @@ module Aws::ElasticBeanstalk
|
|
2369
3100
|
#
|
2370
3101
|
# * {Types::ApplicationDescriptionMessage#application #application} => Types::ApplicationDescription
|
2371
3102
|
#
|
3103
|
+
#
|
3104
|
+
# @example Example: To change an application's description
|
3105
|
+
#
|
3106
|
+
# # The following operation updates the description of an application named my-app:
|
3107
|
+
#
|
3108
|
+
# resp = client.update_application({
|
3109
|
+
# application_name: "my-app",
|
3110
|
+
# description: "my Elastic Beanstalk application",
|
3111
|
+
# })
|
3112
|
+
#
|
3113
|
+
# resp.to_h outputs the following:
|
3114
|
+
# {
|
3115
|
+
# application: {
|
3116
|
+
# application_name: "my-app",
|
3117
|
+
# configuration_templates: [
|
3118
|
+
# ],
|
3119
|
+
# date_created: Time.parse("2015-08-13T19:15:50.449Z"),
|
3120
|
+
# date_updated: Time.parse("2015-08-20T22:34:56.195Z"),
|
3121
|
+
# description: "my Elastic Beanstalk application",
|
3122
|
+
# versions: [
|
3123
|
+
# "2fba-stage-150819_234450",
|
3124
|
+
# "bf07-stage-150820_214945",
|
3125
|
+
# "93f8",
|
3126
|
+
# "fd7c-stage-150820_000431",
|
3127
|
+
# "22a0-stage-150819_185942",
|
3128
|
+
# ],
|
3129
|
+
# },
|
3130
|
+
# }
|
3131
|
+
#
|
2372
3132
|
# @example Request syntax with placeholder values
|
2373
3133
|
#
|
2374
3134
|
# resp = client.update_application({
|
@@ -2484,6 +3244,32 @@ module Aws::ElasticBeanstalk
|
|
2484
3244
|
#
|
2485
3245
|
# * {Types::ApplicationVersionDescriptionMessage#application_version #application_version} => Types::ApplicationVersionDescription
|
2486
3246
|
#
|
3247
|
+
#
|
3248
|
+
# @example Example: To change an application version's description
|
3249
|
+
#
|
3250
|
+
# # The following operation updates the description of an application version named 22a0-stage-150819_185942:
|
3251
|
+
#
|
3252
|
+
# resp = client.update_application_version({
|
3253
|
+
# application_name: "my-app",
|
3254
|
+
# description: "new description",
|
3255
|
+
# version_label: "22a0-stage-150819_185942",
|
3256
|
+
# })
|
3257
|
+
#
|
3258
|
+
# resp.to_h outputs the following:
|
3259
|
+
# {
|
3260
|
+
# application_version: {
|
3261
|
+
# application_name: "my-app",
|
3262
|
+
# date_created: Time.parse("2015-08-19T18:59:17.646Z"),
|
3263
|
+
# date_updated: Time.parse("2015-08-20T22:53:28.871Z"),
|
3264
|
+
# description: "new description",
|
3265
|
+
# source_bundle: {
|
3266
|
+
# s3_bucket: "elasticbeanstalk-us-west-2-0123456789012",
|
3267
|
+
# s3_key: "my-app/22a0-stage-150819_185942.war",
|
3268
|
+
# },
|
3269
|
+
# version_label: "22a0-stage-150819_185942",
|
3270
|
+
# },
|
3271
|
+
# }
|
3272
|
+
#
|
2487
3273
|
# @example Request syntax with placeholder values
|
2488
3274
|
#
|
2489
3275
|
# resp = client.update_application_version({
|
@@ -2571,6 +3357,31 @@ module Aws::ElasticBeanstalk
|
|
2571
3357
|
# * {Types::ConfigurationSettingsDescription#date_updated #date_updated} => Time
|
2572
3358
|
# * {Types::ConfigurationSettingsDescription#option_settings #option_settings} => Array<Types::ConfigurationOptionSetting>
|
2573
3359
|
#
|
3360
|
+
#
|
3361
|
+
# @example Example: To update a configuration template
|
3362
|
+
#
|
3363
|
+
# # The following operation removes the configured CloudWatch custom health metrics configuration ConfigDocument from a saved configuration template named my-template:
|
3364
|
+
#
|
3365
|
+
# resp = client.update_configuration_template({
|
3366
|
+
# application_name: "my-app",
|
3367
|
+
# options_to_remove: [
|
3368
|
+
# {
|
3369
|
+
# namespace: "aws:elasticbeanstalk:healthreporting:system",
|
3370
|
+
# option_name: "ConfigDocument",
|
3371
|
+
# },
|
3372
|
+
# ],
|
3373
|
+
# template_name: "my-template",
|
3374
|
+
# })
|
3375
|
+
#
|
3376
|
+
# resp.to_h outputs the following:
|
3377
|
+
# {
|
3378
|
+
# application_name: "my-app",
|
3379
|
+
# date_created: Time.parse("2015-08-20T22:39:31Z"),
|
3380
|
+
# date_updated: Time.parse("2015-08-20T22:43:11Z"),
|
3381
|
+
# solution_stack_name: "64bit Amazon Linux 2015.03 v2.0.0 running Tomcat 8 Java 8",
|
3382
|
+
# template_name: "my-template",
|
3383
|
+
# }
|
3384
|
+
#
|
2574
3385
|
# @example Request syntax with placeholder values
|
2575
3386
|
#
|
2576
3387
|
# resp = client.update_configuration_template({
|
@@ -2725,6 +3536,87 @@ module Aws::ElasticBeanstalk
|
|
2725
3536
|
# * {Types::EnvironmentDescription#tier #tier} => Types::EnvironmentTier
|
2726
3537
|
# * {Types::EnvironmentDescription#environment_links #environment_links} => Array<Types::EnvironmentLink>
|
2727
3538
|
#
|
3539
|
+
#
|
3540
|
+
# @example Example: To update an environment to a new version
|
3541
|
+
#
|
3542
|
+
# # The following operation updates an environment named "my-env" to version "v2" of the application to which it belongs:
|
3543
|
+
#
|
3544
|
+
# resp = client.update_environment({
|
3545
|
+
# environment_name: "my-env",
|
3546
|
+
# version_label: "v2",
|
3547
|
+
# })
|
3548
|
+
#
|
3549
|
+
# resp.to_h outputs the following:
|
3550
|
+
# {
|
3551
|
+
# application_name: "my-app",
|
3552
|
+
# cname: "my-env.elasticbeanstalk.com",
|
3553
|
+
# date_created: Time.parse("2015-02-03T23:04:54.453Z"),
|
3554
|
+
# date_updated: Time.parse("2015-02-03T23:12:29.119Z"),
|
3555
|
+
# endpoint_url: "awseb-e-i-AWSEBLoa-1RDLX6TC9VUAO-0123456789.us-west-2.elb.amazonaws.com",
|
3556
|
+
# environment_id: "e-szqipays4h",
|
3557
|
+
# environment_name: "my-env",
|
3558
|
+
# health: "Grey",
|
3559
|
+
# solution_stack_name: "64bit Amazon Linux running Tomcat 7",
|
3560
|
+
# status: "Updating",
|
3561
|
+
# tier: {
|
3562
|
+
# name: "WebServer",
|
3563
|
+
# type: "Standard",
|
3564
|
+
# version: " ",
|
3565
|
+
# },
|
3566
|
+
# version_label: "v2",
|
3567
|
+
# }
|
3568
|
+
#
|
3569
|
+
# @example Example: To configure option settings
|
3570
|
+
#
|
3571
|
+
# # The following operation configures several options in the aws:elb:loadbalancer namespace:
|
3572
|
+
#
|
3573
|
+
# resp = client.update_environment({
|
3574
|
+
# environment_name: "my-env",
|
3575
|
+
# option_settings: [
|
3576
|
+
# {
|
3577
|
+
# namespace: "aws:elb:healthcheck",
|
3578
|
+
# option_name: "Interval",
|
3579
|
+
# value: "15",
|
3580
|
+
# },
|
3581
|
+
# {
|
3582
|
+
# namespace: "aws:elb:healthcheck",
|
3583
|
+
# option_name: "Timeout",
|
3584
|
+
# value: "8",
|
3585
|
+
# },
|
3586
|
+
# {
|
3587
|
+
# namespace: "aws:elb:healthcheck",
|
3588
|
+
# option_name: "HealthyThreshold",
|
3589
|
+
# value: "2",
|
3590
|
+
# },
|
3591
|
+
# {
|
3592
|
+
# namespace: "aws:elb:healthcheck",
|
3593
|
+
# option_name: "UnhealthyThreshold",
|
3594
|
+
# value: "3",
|
3595
|
+
# },
|
3596
|
+
# ],
|
3597
|
+
# })
|
3598
|
+
#
|
3599
|
+
# resp.to_h outputs the following:
|
3600
|
+
# {
|
3601
|
+
# abortable_operation_in_progress: true,
|
3602
|
+
# application_name: "my-app",
|
3603
|
+
# cname: "my-env.elasticbeanstalk.com",
|
3604
|
+
# date_created: Time.parse("2015-08-07T20:48:49.599Z"),
|
3605
|
+
# date_updated: Time.parse("2015-08-12T18:15:23.804Z"),
|
3606
|
+
# endpoint_url: "awseb-e-w-AWSEBLoa-14XB83101Q4L-104QXY80921.sa-east-1.elb.amazonaws.com",
|
3607
|
+
# environment_id: "e-wtp2rpqsej",
|
3608
|
+
# environment_name: "my-env",
|
3609
|
+
# health: "Grey",
|
3610
|
+
# solution_stack_name: "64bit Amazon Linux 2015.03 v2.0.0 running Tomcat 8 Java 8",
|
3611
|
+
# status: "Updating",
|
3612
|
+
# tier: {
|
3613
|
+
# name: "WebServer",
|
3614
|
+
# type: "Standard",
|
3615
|
+
# version: " ",
|
3616
|
+
# },
|
3617
|
+
# version_label: "7f58-stage-150812_025409",
|
3618
|
+
# }
|
3619
|
+
#
|
2728
3620
|
# @example Request syntax with placeholder values
|
2729
3621
|
#
|
2730
3622
|
# resp = client.update_environment({
|
@@ -2828,6 +3720,29 @@ module Aws::ElasticBeanstalk
|
|
2828
3720
|
#
|
2829
3721
|
# * {Types::ConfigurationSettingsValidationMessages#messages #messages} => Array<Types::ValidationMessage>
|
2830
3722
|
#
|
3723
|
+
#
|
3724
|
+
# @example Example: To validate configuration settings
|
3725
|
+
#
|
3726
|
+
# # The following operation validates a CloudWatch custom metrics config document:
|
3727
|
+
#
|
3728
|
+
# resp = client.validate_configuration_settings({
|
3729
|
+
# application_name: "my-app",
|
3730
|
+
# environment_name: "my-env",
|
3731
|
+
# option_settings: [
|
3732
|
+
# {
|
3733
|
+
# namespace: "aws:elasticbeanstalk:healthreporting:system",
|
3734
|
+
# option_name: "ConfigDocument",
|
3735
|
+
# value: "{\"CloudWatchMetrics\": {\"Environment\": {\"ApplicationLatencyP99.9\": null,\"InstancesSevere\": 60,\"ApplicationLatencyP90\": 60,\"ApplicationLatencyP99\": null,\"ApplicationLatencyP95\": 60,\"InstancesUnknown\": 60,\"ApplicationLatencyP85\": 60,\"InstancesInfo\": null,\"ApplicationRequests2xx\": null,\"InstancesDegraded\": null,\"InstancesWarning\": 60,\"ApplicationLatencyP50\": 60,\"ApplicationRequestsTotal\": null,\"InstancesNoData\": null,\"InstancesPending\": 60,\"ApplicationLatencyP10\": null,\"ApplicationRequests5xx\": null,\"ApplicationLatencyP75\": null,\"InstancesOk\": 60,\"ApplicationRequests3xx\": null,\"ApplicationRequests4xx\": null},\"Instance\": {\"ApplicationLatencyP99.9\": null,\"ApplicationLatencyP90\": 60,\"ApplicationLatencyP99\": null,\"ApplicationLatencyP95\": null,\"ApplicationLatencyP85\": null,\"CPUUser\": 60,\"ApplicationRequests2xx\": null,\"CPUIdle\": null,\"ApplicationLatencyP50\": null,\"ApplicationRequestsTotal\": 60,\"RootFilesystemUtil\": null,\"LoadAverage1min\": null,\"CPUIrq\": null,\"CPUNice\": 60,\"CPUIowait\": 60,\"ApplicationLatencyP10\": null,\"LoadAverage5min\": null,\"ApplicationRequests5xx\": null,\"ApplicationLatencyP75\": 60,\"CPUSystem\": 60,\"ApplicationRequests3xx\": 60,\"ApplicationRequests4xx\": null,\"InstanceHealth\": null,\"CPUSoftirq\": 60}},\"Version\": 1}",
|
3736
|
+
# },
|
3737
|
+
# ],
|
3738
|
+
# })
|
3739
|
+
#
|
3740
|
+
# resp.to_h outputs the following:
|
3741
|
+
# {
|
3742
|
+
# messages: [
|
3743
|
+
# ],
|
3744
|
+
# }
|
3745
|
+
#
|
2831
3746
|
# @example Request syntax with placeholder values
|
2832
3747
|
#
|
2833
3748
|
# resp = client.validate_configuration_settings({
|
@@ -2874,7 +3789,7 @@ module Aws::ElasticBeanstalk
|
|
2874
3789
|
params: params,
|
2875
3790
|
config: config)
|
2876
3791
|
context[:gem_name] = 'aws-sdk-elasticbeanstalk'
|
2877
|
-
context[:gem_version] = '1.0.0.
|
3792
|
+
context[:gem_version] = '1.0.0.rc9'
|
2878
3793
|
Seahorse::Client::Request.new(handlers, context)
|
2879
3794
|
end
|
2880
3795
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-elasticbeanstalk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.
|
4
|
+
version: 1.0.0.rc9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-06-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 3.0.0.
|
19
|
+
version: 3.0.0.rc14
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 3.0.0.
|
26
|
+
version: 3.0.0.rc14
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: aws-sigv4
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|