aws-sdk-apprunner 1.10.0 → 1.13.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7544607356ba39d2934eadd30c088bb36d0de00cc03e96c3b602559b25928232
4
- data.tar.gz: 8030ee818bee71a4fedde8477a4d11fd52492d4eddbe146890a95ab22ccef612
3
+ metadata.gz: 12f035ff99eaa944ef28cbcf7244d5e82ab01b2ced97f81ed58f9cd8e15f5adb
4
+ data.tar.gz: b3a54819f71dd87e453b4e351a4727658ca218a3f3a5680e92ec78c0ab8a4fb0
5
5
  SHA512:
6
- metadata.gz: 35acd78629f357a88491ec910732728b0e1c77f3a93d649a48e4789475b043200a5d4127d4fae77af3c13f3d6f7dfde29f37f439fdcfd77caf322d741317f8de
7
- data.tar.gz: b0a99c5d7b65e464125f33773e4b9673ef5c2fb0c860bea489a4f30b44ee0e2c253a22c8d6e6aaad7b2b9533c8eaf65764511ed704436774763c6ac591b07db7
6
+ metadata.gz: 263613e977138831b40d525305a765222918d28bd55925c740312be196450d9fb0389379d80aed985e70d05441e99e9bb2b0da0f2ddf19b1411ea54996efe640
7
+ data.tar.gz: '094a4209e422c8cd66045a2a4876068f6fa06d90e25c1768168a5ed33c79fa4cb8707e1560bd9d7eb0a4226345c8e9421f264d812bb8bef483696f6aba0fcb86'
data/CHANGELOG.md CHANGED
@@ -1,6 +1,21 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.13.0 (2022-04-11)
5
+ ------------------
6
+
7
+ * Feature - This release adds tracing for App Runner services with X-Ray using AWS Distro for OpenTelemetry. New APIs: CreateObservabilityConfiguration, DescribeObservabilityConfiguration, ListObservabilityConfigurations, and DeleteObservabilityConfiguration. Updated APIs: CreateService and UpdateService.
8
+
9
+ 1.12.0 (2022-02-24)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.11.0 (2022-02-22)
15
+ ------------------
16
+
17
+ * Feature - AWS App Runner adds a Java platform (Corretto 8, Corretto 11 runtimes) and a Node.js 14 runtime.
18
+
4
19
  1.10.0 (2022-02-08)
5
20
  ------------------
6
21
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.10.0
1
+ 1.13.0
@@ -27,6 +27,7 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
28
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
29
  require 'aws-sdk-core/plugins/http_checksum.rb'
30
+ require 'aws-sdk-core/plugins/checksum_algorithm.rb'
30
31
  require 'aws-sdk-core/plugins/defaults_mode.rb'
31
32
  require 'aws-sdk-core/plugins/recursion_detection.rb'
32
33
  require 'aws-sdk-core/plugins/signature_v4.rb'
@@ -75,6 +76,7 @@ module Aws::AppRunner
75
76
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
76
77
  add_plugin(Aws::Plugins::TransferEncoding)
77
78
  add_plugin(Aws::Plugins::HttpChecksum)
79
+ add_plugin(Aws::Plugins::ChecksumAlgorithm)
78
80
  add_plugin(Aws::Plugins::DefaultsMode)
79
81
  add_plugin(Aws::Plugins::RecursionDetection)
80
82
  add_plugin(Aws::Plugins::SignatureV4)
@@ -428,15 +430,17 @@ module Aws::AppRunner
428
430
  end
429
431
 
430
432
  # Create an App Runner automatic scaling configuration resource. App
431
- # Runner requires this resource when you create App Runner services that
432
- # require non-default auto scaling settings. You can share an auto
433
- # scaling configuration across multiple services.
433
+ # Runner requires this resource when you create or update App Runner
434
+ # services and you require non-default auto scaling settings. You can
435
+ # share an auto scaling configuration across multiple services.
434
436
  #
435
437
  # Create multiple revisions of a configuration by calling this action
436
438
  # multiple times using the same `AutoScalingConfigurationName`. The call
437
439
  # returns incremental `AutoScalingConfigurationRevision` values. When
438
- # you create a service, you can set it to use the latest active revision
439
- # of an auto scaling configuration or a specific revision.
440
+ # you create a service and configure an auto scaling configuration
441
+ # resource, the service uses the latest active revision of the auto
442
+ # scaling configuration by default. You can optionally configure the
443
+ # service to use a specific revision.
440
444
  #
441
445
  # Configure a higher `MinSize` to increase the spread of your App Runner
442
446
  # service over more Availability Zones in the Amazon Web Services
@@ -591,6 +595,90 @@ module Aws::AppRunner
591
595
  req.send_request(options)
592
596
  end
593
597
 
598
+ # Create an App Runner observability configuration resource. App Runner
599
+ # requires this resource when you create or update App Runner services
600
+ # and you want to enable non-default observability features. You can
601
+ # share an observability configuration across multiple services.
602
+ #
603
+ # Create multiple revisions of a configuration by calling this action
604
+ # multiple times using the same `ObservabilityConfigurationName`. The
605
+ # call returns incremental `ObservabilityConfigurationRevision` values.
606
+ # When you create a service and configure an observability configuration
607
+ # resource, the service uses the latest active revision of the
608
+ # observability configuration by default. You can optionally configure
609
+ # the service to use a specific revision.
610
+ #
611
+ # The observability configuration resource is designed to configure
612
+ # multiple features (currently one feature, tracing). This action takes
613
+ # optional parameters that describe the configuration of these features
614
+ # (currently one parameter, `TraceConfiguration`). If you don't specify
615
+ # a feature parameter, App Runner doesn't enable the feature.
616
+ #
617
+ # @option params [required, String] :observability_configuration_name
618
+ # A name for the observability configuration. When you use it for the
619
+ # first time in an Amazon Web Services Region, App Runner creates
620
+ # revision number `1` of this name. When you use the same name in
621
+ # subsequent calls, App Runner creates incremental revisions of the
622
+ # configuration.
623
+ #
624
+ # <note markdown="1"> The name `DefaultConfiguration` is reserved. You can't use it to
625
+ # create a new observability configuration, and you can't create a
626
+ # revision of it.
627
+ #
628
+ # When you want to use your own observability configuration for your App
629
+ # Runner service, *create a configuration with a different name*, and
630
+ # then provide it when you create or update your service.
631
+ #
632
+ # </note>
633
+ #
634
+ # @option params [Types::TraceConfiguration] :trace_configuration
635
+ # The configuration of the tracing feature within this observability
636
+ # configuration. If you don't specify it, App Runner doesn't enable
637
+ # tracing.
638
+ #
639
+ # @option params [Array<Types::Tag>] :tags
640
+ # A list of metadata items that you can associate with your
641
+ # observability configuration resource. A tag is a key-value pair.
642
+ #
643
+ # @return [Types::CreateObservabilityConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
644
+ #
645
+ # * {Types::CreateObservabilityConfigurationResponse#observability_configuration #observability_configuration} => Types::ObservabilityConfiguration
646
+ #
647
+ # @example Request syntax with placeholder values
648
+ #
649
+ # resp = client.create_observability_configuration({
650
+ # observability_configuration_name: "ObservabilityConfigurationName", # required
651
+ # trace_configuration: {
652
+ # vendor: "AWSXRAY", # required, accepts AWSXRAY
653
+ # },
654
+ # tags: [
655
+ # {
656
+ # key: "TagKey",
657
+ # value: "TagValue",
658
+ # },
659
+ # ],
660
+ # })
661
+ #
662
+ # @example Response structure
663
+ #
664
+ # resp.observability_configuration.observability_configuration_arn #=> String
665
+ # resp.observability_configuration.observability_configuration_name #=> String
666
+ # resp.observability_configuration.trace_configuration.vendor #=> String, one of "AWSXRAY"
667
+ # resp.observability_configuration.observability_configuration_revision #=> Integer
668
+ # resp.observability_configuration.latest #=> Boolean
669
+ # resp.observability_configuration.status #=> String, one of "ACTIVE", "INACTIVE"
670
+ # resp.observability_configuration.created_at #=> Time
671
+ # resp.observability_configuration.deleted_at #=> Time
672
+ #
673
+ # @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/CreateObservabilityConfiguration AWS API Documentation
674
+ #
675
+ # @overload create_observability_configuration(params = {})
676
+ # @param [Hash] params ({})
677
+ def create_observability_configuration(params = {}, options = {})
678
+ req = build_request(:create_observability_configuration, params)
679
+ req.send_request(options)
680
+ end
681
+
594
682
  # Create an App Runner service. After the service is created, the action
595
683
  # also automatically starts a deployment.
596
684
  #
@@ -612,8 +700,8 @@ module Aws::AppRunner
612
700
  # image repository.
613
701
  #
614
702
  # @option params [Types::InstanceConfiguration] :instance_configuration
615
- # The runtime configuration of instances (scaling units) of the App
616
- # Runner service.
703
+ # The runtime configuration of instances (scaling units) of your
704
+ # service.
617
705
  #
618
706
  # @option params [Array<Types::Tag>] :tags
619
707
  # An optional list of metadata items that you can associate with the App
@@ -630,14 +718,24 @@ module Aws::AppRunner
630
718
  #
631
719
  # @option params [String] :auto_scaling_configuration_arn
632
720
  # The Amazon Resource Name (ARN) of an App Runner automatic scaling
633
- # configuration resource that you want to associate with the App Runner
634
- # service. If not provided, App Runner associates the latest revision of
635
- # a default auto scaling configuration.
721
+ # configuration resource that you want to associate with your service.
722
+ # If not provided, App Runner associates the latest revision of a
723
+ # default auto scaling configuration.
724
+ #
725
+ # Specify an ARN with a name and a revision number to associate that
726
+ # revision. For example:
727
+ # `arn:aws:apprunner:us-east-1:123456789012:autoscalingconfiguration/high-availability/3`
728
+ #
729
+ # Specify just the name to associate the latest revision. For example:
730
+ # `arn:aws:apprunner:us-east-1:123456789012:autoscalingconfiguration/high-availability`
636
731
  #
637
732
  # @option params [Types::NetworkConfiguration] :network_configuration
638
733
  # Configuration settings related to network traffic of the web
639
734
  # application that the App Runner service runs.
640
735
  #
736
+ # @option params [Types::ServiceObservabilityConfiguration] :observability_configuration
737
+ # The observability configuration of your service.
738
+ #
641
739
  # @return [Types::CreateServiceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
642
740
  #
643
741
  # * {Types::CreateServiceResponse#service #service} => Types::Service
@@ -657,7 +755,7 @@ module Aws::AppRunner
657
755
  # code_configuration: {
658
756
  # configuration_source: "REPOSITORY", # required, accepts REPOSITORY, API
659
757
  # code_configuration_values: {
660
- # runtime: "PYTHON_3", # required, accepts PYTHON_3, NODEJS_12
758
+ # runtime: "PYTHON_3", # required, accepts PYTHON_3, NODEJS_12, NODEJS_14, CORRETTO_8, CORRETTO_11
661
759
  # build_command: "BuildCommand",
662
760
  # start_command: "StartCommand",
663
761
  # port: "String",
@@ -713,6 +811,10 @@ module Aws::AppRunner
713
811
  # vpc_connector_arn: "AppRunnerResourceArn",
714
812
  # },
715
813
  # },
814
+ # observability_configuration: {
815
+ # observability_enabled: false, # required
816
+ # observability_configuration_arn: "AppRunnerResourceArn",
817
+ # },
716
818
  # })
717
819
  #
718
820
  # @example Response structure
@@ -729,7 +831,7 @@ module Aws::AppRunner
729
831
  # resp.service.source_configuration.code_repository.source_code_version.type #=> String, one of "BRANCH"
730
832
  # resp.service.source_configuration.code_repository.source_code_version.value #=> String
731
833
  # resp.service.source_configuration.code_repository.code_configuration.configuration_source #=> String, one of "REPOSITORY", "API"
732
- # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime #=> String, one of "PYTHON_3", "NODEJS_12"
834
+ # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime #=> String, one of "PYTHON_3", "NODEJS_12", "NODEJS_14", "CORRETTO_8", "CORRETTO_11"
733
835
  # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.build_command #=> String
734
836
  # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.start_command #=> String
735
837
  # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.port #=> String
@@ -759,6 +861,8 @@ module Aws::AppRunner
759
861
  # resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_revision #=> Integer
760
862
  # resp.service.network_configuration.egress_configuration.egress_type #=> String, one of "DEFAULT", "VPC"
761
863
  # resp.service.network_configuration.egress_configuration.vpc_connector_arn #=> String
864
+ # resp.service.observability_configuration.observability_enabled #=> Boolean
865
+ # resp.service.observability_configuration.observability_configuration_arn #=> String
762
866
  # resp.operation_id #=> String
763
867
  #
764
868
  # @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/CreateService AWS API Documentation
@@ -913,6 +1017,49 @@ module Aws::AppRunner
913
1017
  req.send_request(options)
914
1018
  end
915
1019
 
1020
+ # Delete an App Runner observability configuration resource. You can
1021
+ # delete a specific revision or the latest active revision. You can't
1022
+ # delete a configuration that's used by one or more App Runner
1023
+ # services.
1024
+ #
1025
+ # @option params [required, String] :observability_configuration_arn
1026
+ # The Amazon Resource Name (ARN) of the App Runner observability
1027
+ # configuration that you want to delete.
1028
+ #
1029
+ # The ARN can be a full observability configuration ARN, or a partial
1030
+ # ARN ending with either `.../name ` or `.../name/revision `. If a
1031
+ # revision isn't specified, the latest active revision is deleted.
1032
+ #
1033
+ # @return [Types::DeleteObservabilityConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1034
+ #
1035
+ # * {Types::DeleteObservabilityConfigurationResponse#observability_configuration #observability_configuration} => Types::ObservabilityConfiguration
1036
+ #
1037
+ # @example Request syntax with placeholder values
1038
+ #
1039
+ # resp = client.delete_observability_configuration({
1040
+ # observability_configuration_arn: "AppRunnerResourceArn", # required
1041
+ # })
1042
+ #
1043
+ # @example Response structure
1044
+ #
1045
+ # resp.observability_configuration.observability_configuration_arn #=> String
1046
+ # resp.observability_configuration.observability_configuration_name #=> String
1047
+ # resp.observability_configuration.trace_configuration.vendor #=> String, one of "AWSXRAY"
1048
+ # resp.observability_configuration.observability_configuration_revision #=> Integer
1049
+ # resp.observability_configuration.latest #=> Boolean
1050
+ # resp.observability_configuration.status #=> String, one of "ACTIVE", "INACTIVE"
1051
+ # resp.observability_configuration.created_at #=> Time
1052
+ # resp.observability_configuration.deleted_at #=> Time
1053
+ #
1054
+ # @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DeleteObservabilityConfiguration AWS API Documentation
1055
+ #
1056
+ # @overload delete_observability_configuration(params = {})
1057
+ # @param [Hash] params ({})
1058
+ def delete_observability_configuration(params = {}, options = {})
1059
+ req = build_request(:delete_observability_configuration, params)
1060
+ req.send_request(options)
1061
+ end
1062
+
916
1063
  # Delete an App Runner service.
917
1064
  #
918
1065
  # This is an asynchronous operation. On a successful call, you can use
@@ -948,7 +1095,7 @@ module Aws::AppRunner
948
1095
  # resp.service.source_configuration.code_repository.source_code_version.type #=> String, one of "BRANCH"
949
1096
  # resp.service.source_configuration.code_repository.source_code_version.value #=> String
950
1097
  # resp.service.source_configuration.code_repository.code_configuration.configuration_source #=> String, one of "REPOSITORY", "API"
951
- # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime #=> String, one of "PYTHON_3", "NODEJS_12"
1098
+ # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime #=> String, one of "PYTHON_3", "NODEJS_12", "NODEJS_14", "CORRETTO_8", "CORRETTO_11"
952
1099
  # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.build_command #=> String
953
1100
  # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.start_command #=> String
954
1101
  # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.port #=> String
@@ -978,6 +1125,8 @@ module Aws::AppRunner
978
1125
  # resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_revision #=> Integer
979
1126
  # resp.service.network_configuration.egress_configuration.egress_type #=> String, one of "DEFAULT", "VPC"
980
1127
  # resp.service.network_configuration.egress_configuration.vpc_connector_arn #=> String
1128
+ # resp.service.observability_configuration.observability_enabled #=> Boolean
1129
+ # resp.service.observability_configuration.observability_configuration_arn #=> String
981
1130
  # resp.operation_id #=> String
982
1131
  #
983
1132
  # @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DeleteService AWS API Documentation
@@ -1137,6 +1286,47 @@ module Aws::AppRunner
1137
1286
  req.send_request(options)
1138
1287
  end
1139
1288
 
1289
+ # Return a full description of an App Runner observability configuration
1290
+ # resource.
1291
+ #
1292
+ # @option params [required, String] :observability_configuration_arn
1293
+ # The Amazon Resource Name (ARN) of the App Runner observability
1294
+ # configuration that you want a description for.
1295
+ #
1296
+ # The ARN can be a full observability configuration ARN, or a partial
1297
+ # ARN ending with either `.../name ` or `.../name/revision `. If a
1298
+ # revision isn't specified, the latest active revision is described.
1299
+ #
1300
+ # @return [Types::DescribeObservabilityConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1301
+ #
1302
+ # * {Types::DescribeObservabilityConfigurationResponse#observability_configuration #observability_configuration} => Types::ObservabilityConfiguration
1303
+ #
1304
+ # @example Request syntax with placeholder values
1305
+ #
1306
+ # resp = client.describe_observability_configuration({
1307
+ # observability_configuration_arn: "AppRunnerResourceArn", # required
1308
+ # })
1309
+ #
1310
+ # @example Response structure
1311
+ #
1312
+ # resp.observability_configuration.observability_configuration_arn #=> String
1313
+ # resp.observability_configuration.observability_configuration_name #=> String
1314
+ # resp.observability_configuration.trace_configuration.vendor #=> String, one of "AWSXRAY"
1315
+ # resp.observability_configuration.observability_configuration_revision #=> Integer
1316
+ # resp.observability_configuration.latest #=> Boolean
1317
+ # resp.observability_configuration.status #=> String, one of "ACTIVE", "INACTIVE"
1318
+ # resp.observability_configuration.created_at #=> Time
1319
+ # resp.observability_configuration.deleted_at #=> Time
1320
+ #
1321
+ # @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DescribeObservabilityConfiguration AWS API Documentation
1322
+ #
1323
+ # @overload describe_observability_configuration(params = {})
1324
+ # @param [Hash] params ({})
1325
+ def describe_observability_configuration(params = {}, options = {})
1326
+ req = build_request(:describe_observability_configuration, params)
1327
+ req.send_request(options)
1328
+ end
1329
+
1140
1330
  # Return a full description of an App Runner service.
1141
1331
  #
1142
1332
  # @option params [required, String] :service_arn
@@ -1167,7 +1357,7 @@ module Aws::AppRunner
1167
1357
  # resp.service.source_configuration.code_repository.source_code_version.type #=> String, one of "BRANCH"
1168
1358
  # resp.service.source_configuration.code_repository.source_code_version.value #=> String
1169
1359
  # resp.service.source_configuration.code_repository.code_configuration.configuration_source #=> String, one of "REPOSITORY", "API"
1170
- # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime #=> String, one of "PYTHON_3", "NODEJS_12"
1360
+ # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime #=> String, one of "PYTHON_3", "NODEJS_12", "NODEJS_14", "CORRETTO_8", "CORRETTO_11"
1171
1361
  # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.build_command #=> String
1172
1362
  # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.start_command #=> String
1173
1363
  # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.port #=> String
@@ -1197,6 +1387,8 @@ module Aws::AppRunner
1197
1387
  # resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_revision #=> Integer
1198
1388
  # resp.service.network_configuration.egress_configuration.egress_type #=> String, one of "DEFAULT", "VPC"
1199
1389
  # resp.service.network_configuration.egress_configuration.vpc_connector_arn #=> String
1390
+ # resp.service.observability_configuration.observability_enabled #=> Boolean
1391
+ # resp.service.observability_configuration.observability_configuration_arn #=> String
1200
1392
  #
1201
1393
  # @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DescribeService AWS API Documentation
1202
1394
  #
@@ -1302,25 +1494,30 @@ module Aws::AppRunner
1302
1494
  req.send_request(options)
1303
1495
  end
1304
1496
 
1305
- # Returns a list of App Runner automatic scaling configurations in your
1306
- # Amazon Web Services account. You can query the revisions for a
1307
- # specific configuration name or the revisions for all configurations in
1308
- # your account. You can optionally query only the latest revision of
1309
- # each requested name.
1497
+ # Returns a list of active App Runner automatic scaling configurations
1498
+ # in your Amazon Web Services account. You can query the revisions for a
1499
+ # specific configuration name or the revisions for all active
1500
+ # configurations in your account. You can optionally query only the
1501
+ # latest revision of each requested name.
1502
+ #
1503
+ # To retrieve a full description of a particular configuration revision,
1504
+ # call and provide one of the ARNs returned by
1505
+ # `ListAutoScalingConfigurations`.
1310
1506
  #
1311
1507
  # @option params [String] :auto_scaling_configuration_name
1312
1508
  # The name of the App Runner auto scaling configuration that you want to
1313
1509
  # list. If specified, App Runner lists revisions that share this name.
1314
- # If not specified, App Runner returns revisions of all configurations.
1510
+ # If not specified, App Runner returns revisions of all active
1511
+ # configurations.
1315
1512
  #
1316
1513
  # @option params [Boolean] :latest_only
1317
1514
  # Set to `true` to list only the latest revision for each requested
1318
1515
  # configuration name.
1319
1516
  #
1320
- # Keep as `false` to list all revisions for each requested configuration
1517
+ # Set to `false` to list all revisions for each requested configuration
1321
1518
  # name.
1322
1519
  #
1323
- # Default: `false`
1520
+ # Default: `true`
1324
1521
  #
1325
1522
  # @option params [Integer] :max_results
1326
1523
  # The maximum number of results to include in each response (result
@@ -1427,6 +1624,80 @@ module Aws::AppRunner
1427
1624
  req.send_request(options)
1428
1625
  end
1429
1626
 
1627
+ # Returns a list of active App Runner observability configurations in
1628
+ # your Amazon Web Services account. You can query the revisions for a
1629
+ # specific configuration name or the revisions for all active
1630
+ # configurations in your account. You can optionally query only the
1631
+ # latest revision of each requested name.
1632
+ #
1633
+ # To retrieve a full description of a particular configuration revision,
1634
+ # call and provide one of the ARNs returned by
1635
+ # `ListObservabilityConfigurations`.
1636
+ #
1637
+ # @option params [String] :observability_configuration_name
1638
+ # The name of the App Runner observability configuration that you want
1639
+ # to list. If specified, App Runner lists revisions that share this
1640
+ # name. If not specified, App Runner returns revisions of all active
1641
+ # configurations.
1642
+ #
1643
+ # @option params [Boolean] :latest_only
1644
+ # Set to `true` to list only the latest revision for each requested
1645
+ # configuration name.
1646
+ #
1647
+ # Set to `false` to list all revisions for each requested configuration
1648
+ # name.
1649
+ #
1650
+ # Default: `true`
1651
+ #
1652
+ # @option params [Integer] :max_results
1653
+ # The maximum number of results to include in each response (result
1654
+ # page). It's used for a paginated request.
1655
+ #
1656
+ # If you don't specify `MaxResults`, the request retrieves all
1657
+ # available results in a single response.
1658
+ #
1659
+ # @option params [String] :next_token
1660
+ # A token from a previous result page. It's used for a paginated
1661
+ # request. The request retrieves the next result page. All other
1662
+ # parameter values must be identical to the ones that are specified in
1663
+ # the initial request.
1664
+ #
1665
+ # If you don't specify `NextToken`, the request retrieves the first
1666
+ # result page.
1667
+ #
1668
+ # @return [Types::ListObservabilityConfigurationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1669
+ #
1670
+ # * {Types::ListObservabilityConfigurationsResponse#observability_configuration_summary_list #observability_configuration_summary_list} => Array&lt;Types::ObservabilityConfigurationSummary&gt;
1671
+ # * {Types::ListObservabilityConfigurationsResponse#next_token #next_token} => String
1672
+ #
1673
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1674
+ #
1675
+ # @example Request syntax with placeholder values
1676
+ #
1677
+ # resp = client.list_observability_configurations({
1678
+ # observability_configuration_name: "ObservabilityConfigurationName",
1679
+ # latest_only: false,
1680
+ # max_results: 1,
1681
+ # next_token: "NextToken",
1682
+ # })
1683
+ #
1684
+ # @example Response structure
1685
+ #
1686
+ # resp.observability_configuration_summary_list #=> Array
1687
+ # resp.observability_configuration_summary_list[0].observability_configuration_arn #=> String
1688
+ # resp.observability_configuration_summary_list[0].observability_configuration_name #=> String
1689
+ # resp.observability_configuration_summary_list[0].observability_configuration_revision #=> Integer
1690
+ # resp.next_token #=> String
1691
+ #
1692
+ # @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/ListObservabilityConfigurations AWS API Documentation
1693
+ #
1694
+ # @overload list_observability_configurations(params = {})
1695
+ # @param [Hash] params ({})
1696
+ def list_observability_configurations(params = {}, options = {})
1697
+ req = build_request(:list_observability_configurations, params)
1698
+ req.send_request(options)
1699
+ end
1700
+
1430
1701
  # Return a list of operations that occurred on an App Runner service.
1431
1702
  #
1432
1703
  # The resulting list of OperationSummary objects is sorted in reverse
@@ -1670,7 +1941,7 @@ module Aws::AppRunner
1670
1941
  # resp.service.source_configuration.code_repository.source_code_version.type #=> String, one of "BRANCH"
1671
1942
  # resp.service.source_configuration.code_repository.source_code_version.value #=> String
1672
1943
  # resp.service.source_configuration.code_repository.code_configuration.configuration_source #=> String, one of "REPOSITORY", "API"
1673
- # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime #=> String, one of "PYTHON_3", "NODEJS_12"
1944
+ # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime #=> String, one of "PYTHON_3", "NODEJS_12", "NODEJS_14", "CORRETTO_8", "CORRETTO_11"
1674
1945
  # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.build_command #=> String
1675
1946
  # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.start_command #=> String
1676
1947
  # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.port #=> String
@@ -1700,6 +1971,8 @@ module Aws::AppRunner
1700
1971
  # resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_revision #=> Integer
1701
1972
  # resp.service.network_configuration.egress_configuration.egress_type #=> String, one of "DEFAULT", "VPC"
1702
1973
  # resp.service.network_configuration.egress_configuration.vpc_connector_arn #=> String
1974
+ # resp.service.observability_configuration.observability_enabled #=> Boolean
1975
+ # resp.service.observability_configuration.observability_configuration_arn #=> String
1703
1976
  # resp.operation_id #=> String
1704
1977
  #
1705
1978
  # @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/PauseService AWS API Documentation
@@ -1747,7 +2020,7 @@ module Aws::AppRunner
1747
2020
  # resp.service.source_configuration.code_repository.source_code_version.type #=> String, one of "BRANCH"
1748
2021
  # resp.service.source_configuration.code_repository.source_code_version.value #=> String
1749
2022
  # resp.service.source_configuration.code_repository.code_configuration.configuration_source #=> String, one of "REPOSITORY", "API"
1750
- # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime #=> String, one of "PYTHON_3", "NODEJS_12"
2023
+ # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime #=> String, one of "PYTHON_3", "NODEJS_12", "NODEJS_14", "CORRETTO_8", "CORRETTO_11"
1751
2024
  # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.build_command #=> String
1752
2025
  # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.start_command #=> String
1753
2026
  # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.port #=> String
@@ -1777,6 +2050,8 @@ module Aws::AppRunner
1777
2050
  # resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_revision #=> Integer
1778
2051
  # resp.service.network_configuration.egress_configuration.egress_type #=> String, one of "DEFAULT", "VPC"
1779
2052
  # resp.service.network_configuration.egress_configuration.vpc_connector_arn #=> String
2053
+ # resp.service.observability_configuration.observability_enabled #=> Boolean
2054
+ # resp.service.observability_configuration.observability_configuration_arn #=> String
1780
2055
  # resp.operation_id #=> String
1781
2056
  #
1782
2057
  # @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/ResumeService AWS API Documentation
@@ -1926,8 +2201,8 @@ module Aws::AppRunner
1926
2201
  # include.
1927
2202
  #
1928
2203
  # @option params [Types::InstanceConfiguration] :instance_configuration
1929
- # The runtime configuration to apply to instances (scaling units) of the
1930
- # App Runner service.
2204
+ # The runtime configuration to apply to instances (scaling units) of
2205
+ # your service.
1931
2206
  #
1932
2207
  # @option params [String] :auto_scaling_configuration_arn
1933
2208
  # The Amazon Resource Name (ARN) of an App Runner automatic scaling
@@ -1942,6 +2217,9 @@ module Aws::AppRunner
1942
2217
  # Configuration settings related to network traffic of the web
1943
2218
  # application that the App Runner service runs.
1944
2219
  #
2220
+ # @option params [Types::ServiceObservabilityConfiguration] :observability_configuration
2221
+ # The observability configuration of your service.
2222
+ #
1945
2223
  # @return [Types::UpdateServiceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1946
2224
  #
1947
2225
  # * {Types::UpdateServiceResponse#service #service} => Types::Service
@@ -1961,7 +2239,7 @@ module Aws::AppRunner
1961
2239
  # code_configuration: {
1962
2240
  # configuration_source: "REPOSITORY", # required, accepts REPOSITORY, API
1963
2241
  # code_configuration_values: {
1964
- # runtime: "PYTHON_3", # required, accepts PYTHON_3, NODEJS_12
2242
+ # runtime: "PYTHON_3", # required, accepts PYTHON_3, NODEJS_12, NODEJS_14, CORRETTO_8, CORRETTO_11
1965
2243
  # build_command: "BuildCommand",
1966
2244
  # start_command: "StartCommand",
1967
2245
  # port: "String",
@@ -2008,6 +2286,10 @@ module Aws::AppRunner
2008
2286
  # vpc_connector_arn: "AppRunnerResourceArn",
2009
2287
  # },
2010
2288
  # },
2289
+ # observability_configuration: {
2290
+ # observability_enabled: false, # required
2291
+ # observability_configuration_arn: "AppRunnerResourceArn",
2292
+ # },
2011
2293
  # })
2012
2294
  #
2013
2295
  # @example Response structure
@@ -2024,7 +2306,7 @@ module Aws::AppRunner
2024
2306
  # resp.service.source_configuration.code_repository.source_code_version.type #=> String, one of "BRANCH"
2025
2307
  # resp.service.source_configuration.code_repository.source_code_version.value #=> String
2026
2308
  # resp.service.source_configuration.code_repository.code_configuration.configuration_source #=> String, one of "REPOSITORY", "API"
2027
- # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime #=> String, one of "PYTHON_3", "NODEJS_12"
2309
+ # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.runtime #=> String, one of "PYTHON_3", "NODEJS_12", "NODEJS_14", "CORRETTO_8", "CORRETTO_11"
2028
2310
  # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.build_command #=> String
2029
2311
  # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.start_command #=> String
2030
2312
  # resp.service.source_configuration.code_repository.code_configuration.code_configuration_values.port #=> String
@@ -2054,6 +2336,8 @@ module Aws::AppRunner
2054
2336
  # resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_revision #=> Integer
2055
2337
  # resp.service.network_configuration.egress_configuration.egress_type #=> String, one of "DEFAULT", "VPC"
2056
2338
  # resp.service.network_configuration.egress_configuration.vpc_connector_arn #=> String
2339
+ # resp.service.observability_configuration.observability_enabled #=> Boolean
2340
+ # resp.service.observability_configuration.observability_configuration_arn #=> String
2057
2341
  # resp.operation_id #=> String
2058
2342
  #
2059
2343
  # @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/UpdateService AWS API Documentation
@@ -2078,7 +2362,7 @@ module Aws::AppRunner
2078
2362
  params: params,
2079
2363
  config: config)
2080
2364
  context[:gem_name] = 'aws-sdk-apprunner'
2081
- context[:gem_version] = '1.10.0'
2365
+ context[:gem_version] = '1.13.0'
2082
2366
  Seahorse::Client::Request.new(handlers, context)
2083
2367
  end
2084
2368