aws-sdk-apprunner 1.11.0 → 1.14.0
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/CHANGELOG.md +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-apprunner/client.rb +309 -21
- data/lib/aws-sdk-apprunner/client_api.rb +122 -0
- data/lib/aws-sdk-apprunner/types.rb +439 -14
- data/lib/aws-sdk-apprunner.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cbfd3d51ddcc1078d45524b7e884a4b29b47e2e53073e34feb5f9bce0c26bdbc
|
4
|
+
data.tar.gz: 2b63e2055f3488ac8615ff1fbc90ad3d578ed507e3b8c5fcc24325ed995acf26
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b763fbaadd11346ba4a23865115ab69fdc8e467ad86b4e129272eda356dafe593814ba29caf3a2e747ea0cc8fa8cd687d5ce9ab6e4aab5d8b7821899fb942e12
|
7
|
+
data.tar.gz: 96496d47525e599155e2336f33c1aa9410e00a2c4cbd6bf916321f109a3741ce34cb2872e626ee5d20d143a033e4c577ae710073beed6a8a137c256e5d3c1e83
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,21 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.14.0 (2022-05-25)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Documentation-only update added for CodeConfiguration.
|
8
|
+
|
9
|
+
1.13.0 (2022-04-11)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* 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.
|
13
|
+
|
14
|
+
1.12.0 (2022-02-24)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
4
19
|
1.11.0 (2022-02-22)
|
5
20
|
------------------
|
6
21
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.14.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
|
432
|
-
# require non-default auto scaling settings. You can
|
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
|
439
|
-
#
|
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
|
616
|
-
#
|
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
|
634
|
-
#
|
635
|
-
#
|
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
|
@@ -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
|
@@ -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
|
@@ -783,6 +887,10 @@ module Aws::AppRunner
|
|
783
887
|
# single Amazon VPC. App Runner determines the Amazon VPC from the
|
784
888
|
# subnets you specify.
|
785
889
|
#
|
890
|
+
# <note markdown="1"> App Runner currently only provides support for IPv4.
|
891
|
+
#
|
892
|
+
# </note>
|
893
|
+
#
|
786
894
|
# @option params [Array<String>] :security_groups
|
787
895
|
# A list of IDs of security groups that App Runner should use for access
|
788
896
|
# to Amazon Web Services resources under the specified subnets. If not
|
@@ -913,6 +1021,49 @@ module Aws::AppRunner
|
|
913
1021
|
req.send_request(options)
|
914
1022
|
end
|
915
1023
|
|
1024
|
+
# Delete an App Runner observability configuration resource. You can
|
1025
|
+
# delete a specific revision or the latest active revision. You can't
|
1026
|
+
# delete a configuration that's used by one or more App Runner
|
1027
|
+
# services.
|
1028
|
+
#
|
1029
|
+
# @option params [required, String] :observability_configuration_arn
|
1030
|
+
# The Amazon Resource Name (ARN) of the App Runner observability
|
1031
|
+
# configuration that you want to delete.
|
1032
|
+
#
|
1033
|
+
# The ARN can be a full observability configuration ARN, or a partial
|
1034
|
+
# ARN ending with either `.../name ` or `.../name/revision `. If a
|
1035
|
+
# revision isn't specified, the latest active revision is deleted.
|
1036
|
+
#
|
1037
|
+
# @return [Types::DeleteObservabilityConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1038
|
+
#
|
1039
|
+
# * {Types::DeleteObservabilityConfigurationResponse#observability_configuration #observability_configuration} => Types::ObservabilityConfiguration
|
1040
|
+
#
|
1041
|
+
# @example Request syntax with placeholder values
|
1042
|
+
#
|
1043
|
+
# resp = client.delete_observability_configuration({
|
1044
|
+
# observability_configuration_arn: "AppRunnerResourceArn", # required
|
1045
|
+
# })
|
1046
|
+
#
|
1047
|
+
# @example Response structure
|
1048
|
+
#
|
1049
|
+
# resp.observability_configuration.observability_configuration_arn #=> String
|
1050
|
+
# resp.observability_configuration.observability_configuration_name #=> String
|
1051
|
+
# resp.observability_configuration.trace_configuration.vendor #=> String, one of "AWSXRAY"
|
1052
|
+
# resp.observability_configuration.observability_configuration_revision #=> Integer
|
1053
|
+
# resp.observability_configuration.latest #=> Boolean
|
1054
|
+
# resp.observability_configuration.status #=> String, one of "ACTIVE", "INACTIVE"
|
1055
|
+
# resp.observability_configuration.created_at #=> Time
|
1056
|
+
# resp.observability_configuration.deleted_at #=> Time
|
1057
|
+
#
|
1058
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DeleteObservabilityConfiguration AWS API Documentation
|
1059
|
+
#
|
1060
|
+
# @overload delete_observability_configuration(params = {})
|
1061
|
+
# @param [Hash] params ({})
|
1062
|
+
def delete_observability_configuration(params = {}, options = {})
|
1063
|
+
req = build_request(:delete_observability_configuration, params)
|
1064
|
+
req.send_request(options)
|
1065
|
+
end
|
1066
|
+
|
916
1067
|
# Delete an App Runner service.
|
917
1068
|
#
|
918
1069
|
# This is an asynchronous operation. On a successful call, you can use
|
@@ -978,6 +1129,8 @@ module Aws::AppRunner
|
|
978
1129
|
# resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_revision #=> Integer
|
979
1130
|
# resp.service.network_configuration.egress_configuration.egress_type #=> String, one of "DEFAULT", "VPC"
|
980
1131
|
# resp.service.network_configuration.egress_configuration.vpc_connector_arn #=> String
|
1132
|
+
# resp.service.observability_configuration.observability_enabled #=> Boolean
|
1133
|
+
# resp.service.observability_configuration.observability_configuration_arn #=> String
|
981
1134
|
# resp.operation_id #=> String
|
982
1135
|
#
|
983
1136
|
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DeleteService AWS API Documentation
|
@@ -1137,6 +1290,47 @@ module Aws::AppRunner
|
|
1137
1290
|
req.send_request(options)
|
1138
1291
|
end
|
1139
1292
|
|
1293
|
+
# Return a full description of an App Runner observability configuration
|
1294
|
+
# resource.
|
1295
|
+
#
|
1296
|
+
# @option params [required, String] :observability_configuration_arn
|
1297
|
+
# The Amazon Resource Name (ARN) of the App Runner observability
|
1298
|
+
# configuration that you want a description for.
|
1299
|
+
#
|
1300
|
+
# The ARN can be a full observability configuration ARN, or a partial
|
1301
|
+
# ARN ending with either `.../name ` or `.../name/revision `. If a
|
1302
|
+
# revision isn't specified, the latest active revision is described.
|
1303
|
+
#
|
1304
|
+
# @return [Types::DescribeObservabilityConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1305
|
+
#
|
1306
|
+
# * {Types::DescribeObservabilityConfigurationResponse#observability_configuration #observability_configuration} => Types::ObservabilityConfiguration
|
1307
|
+
#
|
1308
|
+
# @example Request syntax with placeholder values
|
1309
|
+
#
|
1310
|
+
# resp = client.describe_observability_configuration({
|
1311
|
+
# observability_configuration_arn: "AppRunnerResourceArn", # required
|
1312
|
+
# })
|
1313
|
+
#
|
1314
|
+
# @example Response structure
|
1315
|
+
#
|
1316
|
+
# resp.observability_configuration.observability_configuration_arn #=> String
|
1317
|
+
# resp.observability_configuration.observability_configuration_name #=> String
|
1318
|
+
# resp.observability_configuration.trace_configuration.vendor #=> String, one of "AWSXRAY"
|
1319
|
+
# resp.observability_configuration.observability_configuration_revision #=> Integer
|
1320
|
+
# resp.observability_configuration.latest #=> Boolean
|
1321
|
+
# resp.observability_configuration.status #=> String, one of "ACTIVE", "INACTIVE"
|
1322
|
+
# resp.observability_configuration.created_at #=> Time
|
1323
|
+
# resp.observability_configuration.deleted_at #=> Time
|
1324
|
+
#
|
1325
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DescribeObservabilityConfiguration AWS API Documentation
|
1326
|
+
#
|
1327
|
+
# @overload describe_observability_configuration(params = {})
|
1328
|
+
# @param [Hash] params ({})
|
1329
|
+
def describe_observability_configuration(params = {}, options = {})
|
1330
|
+
req = build_request(:describe_observability_configuration, params)
|
1331
|
+
req.send_request(options)
|
1332
|
+
end
|
1333
|
+
|
1140
1334
|
# Return a full description of an App Runner service.
|
1141
1335
|
#
|
1142
1336
|
# @option params [required, String] :service_arn
|
@@ -1197,6 +1391,8 @@ module Aws::AppRunner
|
|
1197
1391
|
# resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_revision #=> Integer
|
1198
1392
|
# resp.service.network_configuration.egress_configuration.egress_type #=> String, one of "DEFAULT", "VPC"
|
1199
1393
|
# resp.service.network_configuration.egress_configuration.vpc_connector_arn #=> String
|
1394
|
+
# resp.service.observability_configuration.observability_enabled #=> Boolean
|
1395
|
+
# resp.service.observability_configuration.observability_configuration_arn #=> String
|
1200
1396
|
#
|
1201
1397
|
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DescribeService AWS API Documentation
|
1202
1398
|
#
|
@@ -1302,25 +1498,30 @@ module Aws::AppRunner
|
|
1302
1498
|
req.send_request(options)
|
1303
1499
|
end
|
1304
1500
|
|
1305
|
-
# Returns a list of App Runner automatic scaling configurations
|
1306
|
-
# Amazon Web Services account. You can query the revisions for a
|
1307
|
-
# specific configuration name or the revisions for all
|
1308
|
-
# your account. You can optionally query only the
|
1309
|
-
# each requested name.
|
1501
|
+
# Returns a list of active App Runner automatic scaling configurations
|
1502
|
+
# in your Amazon Web Services account. You can query the revisions for a
|
1503
|
+
# specific configuration name or the revisions for all active
|
1504
|
+
# configurations in your account. You can optionally query only the
|
1505
|
+
# latest revision of each requested name.
|
1506
|
+
#
|
1507
|
+
# To retrieve a full description of a particular configuration revision,
|
1508
|
+
# call and provide one of the ARNs returned by
|
1509
|
+
# `ListAutoScalingConfigurations`.
|
1310
1510
|
#
|
1311
1511
|
# @option params [String] :auto_scaling_configuration_name
|
1312
1512
|
# The name of the App Runner auto scaling configuration that you want to
|
1313
1513
|
# list. If specified, App Runner lists revisions that share this name.
|
1314
|
-
# If not specified, App Runner returns revisions of all
|
1514
|
+
# If not specified, App Runner returns revisions of all active
|
1515
|
+
# configurations.
|
1315
1516
|
#
|
1316
1517
|
# @option params [Boolean] :latest_only
|
1317
1518
|
# Set to `true` to list only the latest revision for each requested
|
1318
1519
|
# configuration name.
|
1319
1520
|
#
|
1320
|
-
#
|
1521
|
+
# Set to `false` to list all revisions for each requested configuration
|
1321
1522
|
# name.
|
1322
1523
|
#
|
1323
|
-
# Default: `
|
1524
|
+
# Default: `true`
|
1324
1525
|
#
|
1325
1526
|
# @option params [Integer] :max_results
|
1326
1527
|
# The maximum number of results to include in each response (result
|
@@ -1427,6 +1628,80 @@ module Aws::AppRunner
|
|
1427
1628
|
req.send_request(options)
|
1428
1629
|
end
|
1429
1630
|
|
1631
|
+
# Returns a list of active App Runner observability configurations in
|
1632
|
+
# your Amazon Web Services account. You can query the revisions for a
|
1633
|
+
# specific configuration name or the revisions for all active
|
1634
|
+
# configurations in your account. You can optionally query only the
|
1635
|
+
# latest revision of each requested name.
|
1636
|
+
#
|
1637
|
+
# To retrieve a full description of a particular configuration revision,
|
1638
|
+
# call and provide one of the ARNs returned by
|
1639
|
+
# `ListObservabilityConfigurations`.
|
1640
|
+
#
|
1641
|
+
# @option params [String] :observability_configuration_name
|
1642
|
+
# The name of the App Runner observability configuration that you want
|
1643
|
+
# to list. If specified, App Runner lists revisions that share this
|
1644
|
+
# name. If not specified, App Runner returns revisions of all active
|
1645
|
+
# configurations.
|
1646
|
+
#
|
1647
|
+
# @option params [Boolean] :latest_only
|
1648
|
+
# Set to `true` to list only the latest revision for each requested
|
1649
|
+
# configuration name.
|
1650
|
+
#
|
1651
|
+
# Set to `false` to list all revisions for each requested configuration
|
1652
|
+
# name.
|
1653
|
+
#
|
1654
|
+
# Default: `true`
|
1655
|
+
#
|
1656
|
+
# @option params [Integer] :max_results
|
1657
|
+
# The maximum number of results to include in each response (result
|
1658
|
+
# page). It's used for a paginated request.
|
1659
|
+
#
|
1660
|
+
# If you don't specify `MaxResults`, the request retrieves all
|
1661
|
+
# available results in a single response.
|
1662
|
+
#
|
1663
|
+
# @option params [String] :next_token
|
1664
|
+
# A token from a previous result page. It's used for a paginated
|
1665
|
+
# request. The request retrieves the next result page. All other
|
1666
|
+
# parameter values must be identical to the ones that are specified in
|
1667
|
+
# the initial request.
|
1668
|
+
#
|
1669
|
+
# If you don't specify `NextToken`, the request retrieves the first
|
1670
|
+
# result page.
|
1671
|
+
#
|
1672
|
+
# @return [Types::ListObservabilityConfigurationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1673
|
+
#
|
1674
|
+
# * {Types::ListObservabilityConfigurationsResponse#observability_configuration_summary_list #observability_configuration_summary_list} => Array<Types::ObservabilityConfigurationSummary>
|
1675
|
+
# * {Types::ListObservabilityConfigurationsResponse#next_token #next_token} => String
|
1676
|
+
#
|
1677
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1678
|
+
#
|
1679
|
+
# @example Request syntax with placeholder values
|
1680
|
+
#
|
1681
|
+
# resp = client.list_observability_configurations({
|
1682
|
+
# observability_configuration_name: "ObservabilityConfigurationName",
|
1683
|
+
# latest_only: false,
|
1684
|
+
# max_results: 1,
|
1685
|
+
# next_token: "NextToken",
|
1686
|
+
# })
|
1687
|
+
#
|
1688
|
+
# @example Response structure
|
1689
|
+
#
|
1690
|
+
# resp.observability_configuration_summary_list #=> Array
|
1691
|
+
# resp.observability_configuration_summary_list[0].observability_configuration_arn #=> String
|
1692
|
+
# resp.observability_configuration_summary_list[0].observability_configuration_name #=> String
|
1693
|
+
# resp.observability_configuration_summary_list[0].observability_configuration_revision #=> Integer
|
1694
|
+
# resp.next_token #=> String
|
1695
|
+
#
|
1696
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/ListObservabilityConfigurations AWS API Documentation
|
1697
|
+
#
|
1698
|
+
# @overload list_observability_configurations(params = {})
|
1699
|
+
# @param [Hash] params ({})
|
1700
|
+
def list_observability_configurations(params = {}, options = {})
|
1701
|
+
req = build_request(:list_observability_configurations, params)
|
1702
|
+
req.send_request(options)
|
1703
|
+
end
|
1704
|
+
|
1430
1705
|
# Return a list of operations that occurred on an App Runner service.
|
1431
1706
|
#
|
1432
1707
|
# The resulting list of OperationSummary objects is sorted in reverse
|
@@ -1700,6 +1975,8 @@ module Aws::AppRunner
|
|
1700
1975
|
# resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_revision #=> Integer
|
1701
1976
|
# resp.service.network_configuration.egress_configuration.egress_type #=> String, one of "DEFAULT", "VPC"
|
1702
1977
|
# resp.service.network_configuration.egress_configuration.vpc_connector_arn #=> String
|
1978
|
+
# resp.service.observability_configuration.observability_enabled #=> Boolean
|
1979
|
+
# resp.service.observability_configuration.observability_configuration_arn #=> String
|
1703
1980
|
# resp.operation_id #=> String
|
1704
1981
|
#
|
1705
1982
|
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/PauseService AWS API Documentation
|
@@ -1777,6 +2054,8 @@ module Aws::AppRunner
|
|
1777
2054
|
# resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_revision #=> Integer
|
1778
2055
|
# resp.service.network_configuration.egress_configuration.egress_type #=> String, one of "DEFAULT", "VPC"
|
1779
2056
|
# resp.service.network_configuration.egress_configuration.vpc_connector_arn #=> String
|
2057
|
+
# resp.service.observability_configuration.observability_enabled #=> Boolean
|
2058
|
+
# resp.service.observability_configuration.observability_configuration_arn #=> String
|
1780
2059
|
# resp.operation_id #=> String
|
1781
2060
|
#
|
1782
2061
|
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/ResumeService AWS API Documentation
|
@@ -1926,8 +2205,8 @@ module Aws::AppRunner
|
|
1926
2205
|
# include.
|
1927
2206
|
#
|
1928
2207
|
# @option params [Types::InstanceConfiguration] :instance_configuration
|
1929
|
-
# The runtime configuration to apply to instances (scaling units) of
|
1930
|
-
#
|
2208
|
+
# The runtime configuration to apply to instances (scaling units) of
|
2209
|
+
# your service.
|
1931
2210
|
#
|
1932
2211
|
# @option params [String] :auto_scaling_configuration_arn
|
1933
2212
|
# The Amazon Resource Name (ARN) of an App Runner automatic scaling
|
@@ -1942,6 +2221,9 @@ module Aws::AppRunner
|
|
1942
2221
|
# Configuration settings related to network traffic of the web
|
1943
2222
|
# application that the App Runner service runs.
|
1944
2223
|
#
|
2224
|
+
# @option params [Types::ServiceObservabilityConfiguration] :observability_configuration
|
2225
|
+
# The observability configuration of your service.
|
2226
|
+
#
|
1945
2227
|
# @return [Types::UpdateServiceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1946
2228
|
#
|
1947
2229
|
# * {Types::UpdateServiceResponse#service #service} => Types::Service
|
@@ -2008,6 +2290,10 @@ module Aws::AppRunner
|
|
2008
2290
|
# vpc_connector_arn: "AppRunnerResourceArn",
|
2009
2291
|
# },
|
2010
2292
|
# },
|
2293
|
+
# observability_configuration: {
|
2294
|
+
# observability_enabled: false, # required
|
2295
|
+
# observability_configuration_arn: "AppRunnerResourceArn",
|
2296
|
+
# },
|
2011
2297
|
# })
|
2012
2298
|
#
|
2013
2299
|
# @example Response structure
|
@@ -2054,6 +2340,8 @@ module Aws::AppRunner
|
|
2054
2340
|
# resp.service.auto_scaling_configuration_summary.auto_scaling_configuration_revision #=> Integer
|
2055
2341
|
# resp.service.network_configuration.egress_configuration.egress_type #=> String, one of "DEFAULT", "VPC"
|
2056
2342
|
# resp.service.network_configuration.egress_configuration.vpc_connector_arn #=> String
|
2343
|
+
# resp.service.observability_configuration.observability_enabled #=> Boolean
|
2344
|
+
# resp.service.observability_configuration.observability_configuration_arn #=> String
|
2057
2345
|
# resp.operation_id #=> String
|
2058
2346
|
#
|
2059
2347
|
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/UpdateService AWS API Documentation
|
@@ -2078,7 +2366,7 @@ module Aws::AppRunner
|
|
2078
2366
|
params: params,
|
2079
2367
|
config: config)
|
2080
2368
|
context[:gem_name] = 'aws-sdk-apprunner'
|
2081
|
-
context[:gem_version] = '1.
|
2369
|
+
context[:gem_version] = '1.14.0'
|
2082
2370
|
Seahorse::Client::Request.new(handlers, context)
|
2083
2371
|
end
|
2084
2372
|
|