aws-sdk-apprunner 1.12.0 → 1.13.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-apprunner/client.rb +303 -21
- data/lib/aws-sdk-apprunner/client_api.rb +122 -0
- data/lib/aws-sdk-apprunner/types.rb +431 -14
- data/lib/aws-sdk-apprunner.rb +1 -1
- metadata +2 -2
@@ -135,8 +135,8 @@ module Aws::AppRunner
|
|
135
135
|
#
|
136
136
|
# @!attribute [rw] latest
|
137
137
|
# It's set to `true` for the configuration with the highest
|
138
|
-
# `Revision` among all configurations that share the same
|
139
|
-
# It's set to `false` otherwise.
|
138
|
+
# `Revision` among all configurations that share the same
|
139
|
+
# `AutoScalingConfigurationName`. It's set to `false` otherwise.
|
140
140
|
# @return [Boolean]
|
141
141
|
#
|
142
142
|
# @!attribute [rw] status
|
@@ -643,6 +643,74 @@ module Aws::AppRunner
|
|
643
643
|
include Aws::Structure
|
644
644
|
end
|
645
645
|
|
646
|
+
# @note When making an API call, you may pass CreateObservabilityConfigurationRequest
|
647
|
+
# data as a hash:
|
648
|
+
#
|
649
|
+
# {
|
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
|
+
# @!attribute [rw] observability_configuration_name
|
663
|
+
# A name for the observability configuration. When you use it for the
|
664
|
+
# first time in an Amazon Web Services Region, App Runner creates
|
665
|
+
# revision number `1` of this name. When you use the same name in
|
666
|
+
# subsequent calls, App Runner creates incremental revisions of the
|
667
|
+
# configuration.
|
668
|
+
#
|
669
|
+
# <note markdown="1"> The name `DefaultConfiguration` is reserved. You can't use it to
|
670
|
+
# create a new observability configuration, and you can't create a
|
671
|
+
# revision of it.
|
672
|
+
#
|
673
|
+
# When you want to use your own observability configuration for your
|
674
|
+
# App Runner service, *create a configuration with a different name*,
|
675
|
+
# and then provide it when you create or update your service.
|
676
|
+
#
|
677
|
+
# </note>
|
678
|
+
# @return [String]
|
679
|
+
#
|
680
|
+
# @!attribute [rw] trace_configuration
|
681
|
+
# The configuration of the tracing feature within this observability
|
682
|
+
# configuration. If you don't specify it, App Runner doesn't enable
|
683
|
+
# tracing.
|
684
|
+
# @return [Types::TraceConfiguration]
|
685
|
+
#
|
686
|
+
# @!attribute [rw] tags
|
687
|
+
# A list of metadata items that you can associate with your
|
688
|
+
# observability configuration resource. A tag is a key-value pair.
|
689
|
+
# @return [Array<Types::Tag>]
|
690
|
+
#
|
691
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/CreateObservabilityConfigurationRequest AWS API Documentation
|
692
|
+
#
|
693
|
+
class CreateObservabilityConfigurationRequest < Struct.new(
|
694
|
+
:observability_configuration_name,
|
695
|
+
:trace_configuration,
|
696
|
+
:tags)
|
697
|
+
SENSITIVE = []
|
698
|
+
include Aws::Structure
|
699
|
+
end
|
700
|
+
|
701
|
+
# @!attribute [rw] observability_configuration
|
702
|
+
# A description of the App Runner observability configuration that's
|
703
|
+
# created by this request.
|
704
|
+
# @return [Types::ObservabilityConfiguration]
|
705
|
+
#
|
706
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/CreateObservabilityConfigurationResponse AWS API Documentation
|
707
|
+
#
|
708
|
+
class CreateObservabilityConfigurationResponse < Struct.new(
|
709
|
+
:observability_configuration)
|
710
|
+
SENSITIVE = []
|
711
|
+
include Aws::Structure
|
712
|
+
end
|
713
|
+
|
646
714
|
# @note When making an API call, you may pass CreateServiceRequest
|
647
715
|
# data as a hash:
|
648
716
|
#
|
@@ -714,6 +782,10 @@ module Aws::AppRunner
|
|
714
782
|
# vpc_connector_arn: "AppRunnerResourceArn",
|
715
783
|
# },
|
716
784
|
# },
|
785
|
+
# observability_configuration: {
|
786
|
+
# observability_enabled: false, # required
|
787
|
+
# observability_configuration_arn: "AppRunnerResourceArn",
|
788
|
+
# },
|
717
789
|
# }
|
718
790
|
#
|
719
791
|
# @!attribute [rw] service_name
|
@@ -728,8 +800,8 @@ module Aws::AppRunner
|
|
728
800
|
# @return [Types::SourceConfiguration]
|
729
801
|
#
|
730
802
|
# @!attribute [rw] instance_configuration
|
731
|
-
# The runtime configuration of instances (scaling units) of
|
732
|
-
#
|
803
|
+
# The runtime configuration of instances (scaling units) of your
|
804
|
+
# service.
|
733
805
|
# @return [Types::InstanceConfiguration]
|
734
806
|
#
|
735
807
|
# @!attribute [rw] tags
|
@@ -751,9 +823,16 @@ module Aws::AppRunner
|
|
751
823
|
#
|
752
824
|
# @!attribute [rw] auto_scaling_configuration_arn
|
753
825
|
# The Amazon Resource Name (ARN) of an App Runner automatic scaling
|
754
|
-
# configuration resource that you want to associate with
|
755
|
-
#
|
756
|
-
#
|
826
|
+
# configuration resource that you want to associate with your service.
|
827
|
+
# If not provided, App Runner associates the latest revision of a
|
828
|
+
# default auto scaling configuration.
|
829
|
+
#
|
830
|
+
# Specify an ARN with a name and a revision number to associate that
|
831
|
+
# revision. For example:
|
832
|
+
# `arn:aws:apprunner:us-east-1:123456789012:autoscalingconfiguration/high-availability/3`
|
833
|
+
#
|
834
|
+
# Specify just the name to associate the latest revision. For example:
|
835
|
+
# `arn:aws:apprunner:us-east-1:123456789012:autoscalingconfiguration/high-availability`
|
757
836
|
# @return [String]
|
758
837
|
#
|
759
838
|
# @!attribute [rw] network_configuration
|
@@ -761,6 +840,10 @@ module Aws::AppRunner
|
|
761
840
|
# application that the App Runner service runs.
|
762
841
|
# @return [Types::NetworkConfiguration]
|
763
842
|
#
|
843
|
+
# @!attribute [rw] observability_configuration
|
844
|
+
# The observability configuration of your service.
|
845
|
+
# @return [Types::ServiceObservabilityConfiguration]
|
846
|
+
#
|
764
847
|
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/CreateServiceRequest AWS API Documentation
|
765
848
|
#
|
766
849
|
class CreateServiceRequest < Struct.new(
|
@@ -771,7 +854,8 @@ module Aws::AppRunner
|
|
771
854
|
:encryption_configuration,
|
772
855
|
:health_check_configuration,
|
773
856
|
:auto_scaling_configuration_arn,
|
774
|
-
:network_configuration
|
857
|
+
:network_configuration,
|
858
|
+
:observability_configuration)
|
775
859
|
SENSITIVE = []
|
776
860
|
include Aws::Structure
|
777
861
|
end
|
@@ -967,6 +1051,43 @@ module Aws::AppRunner
|
|
967
1051
|
include Aws::Structure
|
968
1052
|
end
|
969
1053
|
|
1054
|
+
# @note When making an API call, you may pass DeleteObservabilityConfigurationRequest
|
1055
|
+
# data as a hash:
|
1056
|
+
#
|
1057
|
+
# {
|
1058
|
+
# observability_configuration_arn: "AppRunnerResourceArn", # required
|
1059
|
+
# }
|
1060
|
+
#
|
1061
|
+
# @!attribute [rw] observability_configuration_arn
|
1062
|
+
# The Amazon Resource Name (ARN) of the App Runner observability
|
1063
|
+
# configuration that you want to delete.
|
1064
|
+
#
|
1065
|
+
# The ARN can be a full observability configuration ARN, or a partial
|
1066
|
+
# ARN ending with either `.../name ` or `.../name/revision `. If a
|
1067
|
+
# revision isn't specified, the latest active revision is deleted.
|
1068
|
+
# @return [String]
|
1069
|
+
#
|
1070
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DeleteObservabilityConfigurationRequest AWS API Documentation
|
1071
|
+
#
|
1072
|
+
class DeleteObservabilityConfigurationRequest < Struct.new(
|
1073
|
+
:observability_configuration_arn)
|
1074
|
+
SENSITIVE = []
|
1075
|
+
include Aws::Structure
|
1076
|
+
end
|
1077
|
+
|
1078
|
+
# @!attribute [rw] observability_configuration
|
1079
|
+
# A description of the App Runner observability configuration that
|
1080
|
+
# this request just deleted.
|
1081
|
+
# @return [Types::ObservabilityConfiguration]
|
1082
|
+
#
|
1083
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DeleteObservabilityConfigurationResponse AWS API Documentation
|
1084
|
+
#
|
1085
|
+
class DeleteObservabilityConfigurationResponse < Struct.new(
|
1086
|
+
:observability_configuration)
|
1087
|
+
SENSITIVE = []
|
1088
|
+
include Aws::Structure
|
1089
|
+
end
|
1090
|
+
|
970
1091
|
# @note When making an API call, you may pass DeleteServiceRequest
|
971
1092
|
# data as a hash:
|
972
1093
|
#
|
@@ -1153,6 +1274,43 @@ module Aws::AppRunner
|
|
1153
1274
|
include Aws::Structure
|
1154
1275
|
end
|
1155
1276
|
|
1277
|
+
# @note When making an API call, you may pass DescribeObservabilityConfigurationRequest
|
1278
|
+
# data as a hash:
|
1279
|
+
#
|
1280
|
+
# {
|
1281
|
+
# observability_configuration_arn: "AppRunnerResourceArn", # required
|
1282
|
+
# }
|
1283
|
+
#
|
1284
|
+
# @!attribute [rw] observability_configuration_arn
|
1285
|
+
# The Amazon Resource Name (ARN) of the App Runner observability
|
1286
|
+
# configuration that you want a description for.
|
1287
|
+
#
|
1288
|
+
# The ARN can be a full observability configuration ARN, or a partial
|
1289
|
+
# ARN ending with either `.../name ` or `.../name/revision `. If a
|
1290
|
+
# revision isn't specified, the latest active revision is described.
|
1291
|
+
# @return [String]
|
1292
|
+
#
|
1293
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DescribeObservabilityConfigurationRequest AWS API Documentation
|
1294
|
+
#
|
1295
|
+
class DescribeObservabilityConfigurationRequest < Struct.new(
|
1296
|
+
:observability_configuration_arn)
|
1297
|
+
SENSITIVE = []
|
1298
|
+
include Aws::Structure
|
1299
|
+
end
|
1300
|
+
|
1301
|
+
# @!attribute [rw] observability_configuration
|
1302
|
+
# A full description of the App Runner observability configuration
|
1303
|
+
# that you specified in this request.
|
1304
|
+
# @return [Types::ObservabilityConfiguration]
|
1305
|
+
#
|
1306
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DescribeObservabilityConfigurationResponse AWS API Documentation
|
1307
|
+
#
|
1308
|
+
class DescribeObservabilityConfigurationResponse < Struct.new(
|
1309
|
+
:observability_configuration)
|
1310
|
+
SENSITIVE = []
|
1311
|
+
include Aws::Structure
|
1312
|
+
end
|
1313
|
+
|
1156
1314
|
# @note When making an API call, you may pass DescribeServiceRequest
|
1157
1315
|
# data as a hash:
|
1158
1316
|
#
|
@@ -1588,7 +1746,7 @@ module Aws::AppRunner
|
|
1588
1746
|
# @!attribute [rw] auto_scaling_configuration_name
|
1589
1747
|
# The name of the App Runner auto scaling configuration that you want
|
1590
1748
|
# to list. If specified, App Runner lists revisions that share this
|
1591
|
-
# name. If not specified, App Runner returns revisions of all
|
1749
|
+
# name. If not specified, App Runner returns revisions of all active
|
1592
1750
|
# configurations.
|
1593
1751
|
# @return [String]
|
1594
1752
|
#
|
@@ -1596,10 +1754,10 @@ module Aws::AppRunner
|
|
1596
1754
|
# Set to `true` to list only the latest revision for each requested
|
1597
1755
|
# configuration name.
|
1598
1756
|
#
|
1599
|
-
#
|
1757
|
+
# Set to `false` to list all revisions for each requested
|
1600
1758
|
# configuration name.
|
1601
1759
|
#
|
1602
|
-
# Default: `
|
1760
|
+
# Default: `true`
|
1603
1761
|
# @return [Boolean]
|
1604
1762
|
#
|
1605
1763
|
# @!attribute [rw] max_results
|
@@ -1713,6 +1871,82 @@ module Aws::AppRunner
|
|
1713
1871
|
include Aws::Structure
|
1714
1872
|
end
|
1715
1873
|
|
1874
|
+
# @note When making an API call, you may pass ListObservabilityConfigurationsRequest
|
1875
|
+
# data as a hash:
|
1876
|
+
#
|
1877
|
+
# {
|
1878
|
+
# observability_configuration_name: "ObservabilityConfigurationName",
|
1879
|
+
# latest_only: false,
|
1880
|
+
# max_results: 1,
|
1881
|
+
# next_token: "NextToken",
|
1882
|
+
# }
|
1883
|
+
#
|
1884
|
+
# @!attribute [rw] observability_configuration_name
|
1885
|
+
# The name of the App Runner observability configuration that you want
|
1886
|
+
# to list. If specified, App Runner lists revisions that share this
|
1887
|
+
# name. If not specified, App Runner returns revisions of all active
|
1888
|
+
# configurations.
|
1889
|
+
# @return [String]
|
1890
|
+
#
|
1891
|
+
# @!attribute [rw] latest_only
|
1892
|
+
# Set to `true` to list only the latest revision for each requested
|
1893
|
+
# configuration name.
|
1894
|
+
#
|
1895
|
+
# Set to `false` to list all revisions for each requested
|
1896
|
+
# configuration name.
|
1897
|
+
#
|
1898
|
+
# Default: `true`
|
1899
|
+
# @return [Boolean]
|
1900
|
+
#
|
1901
|
+
# @!attribute [rw] max_results
|
1902
|
+
# The maximum number of results to include in each response (result
|
1903
|
+
# page). It's used for a paginated request.
|
1904
|
+
#
|
1905
|
+
# If you don't specify `MaxResults`, the request retrieves all
|
1906
|
+
# available results in a single response.
|
1907
|
+
# @return [Integer]
|
1908
|
+
#
|
1909
|
+
# @!attribute [rw] next_token
|
1910
|
+
# A token from a previous result page. It's used for a paginated
|
1911
|
+
# request. The request retrieves the next result page. All other
|
1912
|
+
# parameter values must be identical to the ones that are specified in
|
1913
|
+
# the initial request.
|
1914
|
+
#
|
1915
|
+
# If you don't specify `NextToken`, the request retrieves the first
|
1916
|
+
# result page.
|
1917
|
+
# @return [String]
|
1918
|
+
#
|
1919
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/ListObservabilityConfigurationsRequest AWS API Documentation
|
1920
|
+
#
|
1921
|
+
class ListObservabilityConfigurationsRequest < Struct.new(
|
1922
|
+
:observability_configuration_name,
|
1923
|
+
:latest_only,
|
1924
|
+
:max_results,
|
1925
|
+
:next_token)
|
1926
|
+
SENSITIVE = []
|
1927
|
+
include Aws::Structure
|
1928
|
+
end
|
1929
|
+
|
1930
|
+
# @!attribute [rw] observability_configuration_summary_list
|
1931
|
+
# A list of summary information records for observability
|
1932
|
+
# configurations. In a paginated request, the request returns up to
|
1933
|
+
# `MaxResults` records for each call.
|
1934
|
+
# @return [Array<Types::ObservabilityConfigurationSummary>]
|
1935
|
+
#
|
1936
|
+
# @!attribute [rw] next_token
|
1937
|
+
# The token that you can pass in a subsequent request to get the next
|
1938
|
+
# result page. It's returned in a paginated request.
|
1939
|
+
# @return [String]
|
1940
|
+
#
|
1941
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/ListObservabilityConfigurationsResponse AWS API Documentation
|
1942
|
+
#
|
1943
|
+
class ListObservabilityConfigurationsResponse < Struct.new(
|
1944
|
+
:observability_configuration_summary_list,
|
1945
|
+
:next_token)
|
1946
|
+
SENSITIVE = []
|
1947
|
+
include Aws::Structure
|
1948
|
+
end
|
1949
|
+
|
1716
1950
|
# @note When making an API call, you may pass ListOperationsRequest
|
1717
1951
|
# data as a hash:
|
1718
1952
|
#
|
@@ -1946,6 +2180,112 @@ module Aws::AppRunner
|
|
1946
2180
|
include Aws::Structure
|
1947
2181
|
end
|
1948
2182
|
|
2183
|
+
# Describes an App Runner observability configuration resource. Multiple
|
2184
|
+
# revisions of a configuration have the same
|
2185
|
+
# `ObservabilityConfigurationName` and different
|
2186
|
+
# `ObservabilityConfigurationRevision` values.
|
2187
|
+
#
|
2188
|
+
# The resource is designed to configure multiple features (currently one
|
2189
|
+
# feature, tracing). This type contains optional members that describe
|
2190
|
+
# the configuration of these features (currently one member,
|
2191
|
+
# `TraceConfiguration`). If a feature member isn't specified, the
|
2192
|
+
# feature isn't enabled.
|
2193
|
+
#
|
2194
|
+
# @!attribute [rw] observability_configuration_arn
|
2195
|
+
# The Amazon Resource Name (ARN) of this observability configuration.
|
2196
|
+
# @return [String]
|
2197
|
+
#
|
2198
|
+
# @!attribute [rw] observability_configuration_name
|
2199
|
+
# The customer-provided observability configuration name. It can be
|
2200
|
+
# used in multiple revisions of a configuration.
|
2201
|
+
# @return [String]
|
2202
|
+
#
|
2203
|
+
# @!attribute [rw] trace_configuration
|
2204
|
+
# The configuration of the tracing feature within this observability
|
2205
|
+
# configuration. If not specified, tracing isn't enabled.
|
2206
|
+
# @return [Types::TraceConfiguration]
|
2207
|
+
#
|
2208
|
+
# @!attribute [rw] observability_configuration_revision
|
2209
|
+
# The revision of this observability configuration. It's unique among
|
2210
|
+
# all the active configurations (`"Status": "ACTIVE"`) that share the
|
2211
|
+
# same `ObservabilityConfigurationName`.
|
2212
|
+
# @return [Integer]
|
2213
|
+
#
|
2214
|
+
# @!attribute [rw] latest
|
2215
|
+
# It's set to `true` for the configuration with the highest
|
2216
|
+
# `Revision` among all configurations that share the same
|
2217
|
+
# `ObservabilityConfigurationName`. It's set to `false` otherwise.
|
2218
|
+
# @return [Boolean]
|
2219
|
+
#
|
2220
|
+
# @!attribute [rw] status
|
2221
|
+
# The current state of the observability configuration. If the status
|
2222
|
+
# of a configuration revision is `INACTIVE`, it was deleted and can't
|
2223
|
+
# be used. Inactive configuration revisions are permanently removed
|
2224
|
+
# some time after they are deleted.
|
2225
|
+
# @return [String]
|
2226
|
+
#
|
2227
|
+
# @!attribute [rw] created_at
|
2228
|
+
# The time when the observability configuration was created. It's in
|
2229
|
+
# Unix time stamp format.
|
2230
|
+
# @return [Time]
|
2231
|
+
#
|
2232
|
+
# @!attribute [rw] deleted_at
|
2233
|
+
# The time when the observability configuration was deleted. It's in
|
2234
|
+
# Unix time stamp format.
|
2235
|
+
# @return [Time]
|
2236
|
+
#
|
2237
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/ObservabilityConfiguration AWS API Documentation
|
2238
|
+
#
|
2239
|
+
class ObservabilityConfiguration < Struct.new(
|
2240
|
+
:observability_configuration_arn,
|
2241
|
+
:observability_configuration_name,
|
2242
|
+
:trace_configuration,
|
2243
|
+
:observability_configuration_revision,
|
2244
|
+
:latest,
|
2245
|
+
:status,
|
2246
|
+
:created_at,
|
2247
|
+
:deleted_at)
|
2248
|
+
SENSITIVE = []
|
2249
|
+
include Aws::Structure
|
2250
|
+
end
|
2251
|
+
|
2252
|
+
# Provides summary information about an App Runner observability
|
2253
|
+
# configuration resource.
|
2254
|
+
#
|
2255
|
+
# This type contains limited information about an observability
|
2256
|
+
# configuration. It includes only identification information, without
|
2257
|
+
# configuration details. It's returned by the
|
2258
|
+
# ListObservabilityConfigurations action. Complete configuration
|
2259
|
+
# information is returned by the CreateObservabilityConfiguration,
|
2260
|
+
# DescribeObservabilityConfiguration, and
|
2261
|
+
# DeleteObservabilityConfiguration actions using the
|
2262
|
+
# ObservabilityConfiguration type.
|
2263
|
+
#
|
2264
|
+
# @!attribute [rw] observability_configuration_arn
|
2265
|
+
# The Amazon Resource Name (ARN) of this observability configuration.
|
2266
|
+
# @return [String]
|
2267
|
+
#
|
2268
|
+
# @!attribute [rw] observability_configuration_name
|
2269
|
+
# The customer-provided observability configuration name. It can be
|
2270
|
+
# used in multiple revisions of a configuration.
|
2271
|
+
# @return [String]
|
2272
|
+
#
|
2273
|
+
# @!attribute [rw] observability_configuration_revision
|
2274
|
+
# The revision of this observability configuration. It's unique among
|
2275
|
+
# all the active configurations (`"Status": "ACTIVE"`) that share the
|
2276
|
+
# same `ObservabilityConfigurationName`.
|
2277
|
+
# @return [Integer]
|
2278
|
+
#
|
2279
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/ObservabilityConfigurationSummary AWS API Documentation
|
2280
|
+
#
|
2281
|
+
class ObservabilityConfigurationSummary < Struct.new(
|
2282
|
+
:observability_configuration_arn,
|
2283
|
+
:observability_configuration_name,
|
2284
|
+
:observability_configuration_revision)
|
2285
|
+
SENSITIVE = []
|
2286
|
+
include Aws::Structure
|
2287
|
+
end
|
2288
|
+
|
1949
2289
|
# Provides summary information for an operation that occurred on an App
|
1950
2290
|
# Runner service.
|
1951
2291
|
#
|
@@ -2190,6 +2530,10 @@ module Aws::AppRunner
|
|
2190
2530
|
# application that this service runs.
|
2191
2531
|
# @return [Types::NetworkConfiguration]
|
2192
2532
|
#
|
2533
|
+
# @!attribute [rw] observability_configuration
|
2534
|
+
# The observability configuration of this service.
|
2535
|
+
# @return [Types::ServiceObservabilityConfiguration]
|
2536
|
+
#
|
2193
2537
|
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/Service AWS API Documentation
|
2194
2538
|
#
|
2195
2539
|
class Service < Struct.new(
|
@@ -2206,7 +2550,49 @@ module Aws::AppRunner
|
|
2206
2550
|
:encryption_configuration,
|
2207
2551
|
:health_check_configuration,
|
2208
2552
|
:auto_scaling_configuration_summary,
|
2209
|
-
:network_configuration
|
2553
|
+
:network_configuration,
|
2554
|
+
:observability_configuration)
|
2555
|
+
SENSITIVE = []
|
2556
|
+
include Aws::Structure
|
2557
|
+
end
|
2558
|
+
|
2559
|
+
# Describes the observability configuration of an App Runner service.
|
2560
|
+
# These are additional observability features, like tracing, that you
|
2561
|
+
# choose to enable. They're configured in a separate resource that you
|
2562
|
+
# associate with your service.
|
2563
|
+
#
|
2564
|
+
# @note When making an API call, you may pass ServiceObservabilityConfiguration
|
2565
|
+
# data as a hash:
|
2566
|
+
#
|
2567
|
+
# {
|
2568
|
+
# observability_enabled: false, # required
|
2569
|
+
# observability_configuration_arn: "AppRunnerResourceArn",
|
2570
|
+
# }
|
2571
|
+
#
|
2572
|
+
# @!attribute [rw] observability_enabled
|
2573
|
+
# When `true`, an observability configuration resource is associated
|
2574
|
+
# with the service, and an `ObservabilityConfigurationArn` is
|
2575
|
+
# specified.
|
2576
|
+
# @return [Boolean]
|
2577
|
+
#
|
2578
|
+
# @!attribute [rw] observability_configuration_arn
|
2579
|
+
# The Amazon Resource Name (ARN) of the observability configuration
|
2580
|
+
# that is associated with the service. Specified only when
|
2581
|
+
# `ObservabilityEnabled` is `true`.
|
2582
|
+
#
|
2583
|
+
# Specify an ARN with a name and a revision number to associate that
|
2584
|
+
# revision. For example:
|
2585
|
+
# `arn:aws:apprunner:us-east-1:123456789012:observabilityconfiguration/xray-tracing/3`
|
2586
|
+
#
|
2587
|
+
# Specify just the name to associate the latest revision. For example:
|
2588
|
+
# `arn:aws:apprunner:us-east-1:123456789012:observabilityconfiguration/xray-tracing`
|
2589
|
+
# @return [String]
|
2590
|
+
#
|
2591
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/ServiceObservabilityConfiguration AWS API Documentation
|
2592
|
+
#
|
2593
|
+
class ServiceObservabilityConfiguration < Struct.new(
|
2594
|
+
:observability_enabled,
|
2595
|
+
:observability_configuration_arn)
|
2210
2596
|
SENSITIVE = []
|
2211
2597
|
include Aws::Structure
|
2212
2598
|
end
|
@@ -2530,6 +2916,28 @@ module Aws::AppRunner
|
|
2530
2916
|
#
|
2531
2917
|
class TagResourceResponse < Aws::EmptyStructure; end
|
2532
2918
|
|
2919
|
+
# Describes the configuration of the tracing feature within an App
|
2920
|
+
# Runner observability configuration.
|
2921
|
+
#
|
2922
|
+
# @note When making an API call, you may pass TraceConfiguration
|
2923
|
+
# data as a hash:
|
2924
|
+
#
|
2925
|
+
# {
|
2926
|
+
# vendor: "AWSXRAY", # required, accepts AWSXRAY
|
2927
|
+
# }
|
2928
|
+
#
|
2929
|
+
# @!attribute [rw] vendor
|
2930
|
+
# The implementation provider chosen for tracing App Runner services.
|
2931
|
+
# @return [String]
|
2932
|
+
#
|
2933
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/TraceConfiguration AWS API Documentation
|
2934
|
+
#
|
2935
|
+
class TraceConfiguration < Struct.new(
|
2936
|
+
:vendor)
|
2937
|
+
SENSITIVE = []
|
2938
|
+
include Aws::Structure
|
2939
|
+
end
|
2940
|
+
|
2533
2941
|
# @note When making an API call, you may pass UntagResourceRequest
|
2534
2942
|
# data as a hash:
|
2535
2943
|
#
|
@@ -2624,6 +3032,10 @@ module Aws::AppRunner
|
|
2624
3032
|
# vpc_connector_arn: "AppRunnerResourceArn",
|
2625
3033
|
# },
|
2626
3034
|
# },
|
3035
|
+
# observability_configuration: {
|
3036
|
+
# observability_enabled: false, # required
|
3037
|
+
# observability_configuration_arn: "AppRunnerResourceArn",
|
3038
|
+
# },
|
2627
3039
|
# }
|
2628
3040
|
#
|
2629
3041
|
# @!attribute [rw] service_arn
|
@@ -2646,7 +3058,7 @@ module Aws::AppRunner
|
|
2646
3058
|
#
|
2647
3059
|
# @!attribute [rw] instance_configuration
|
2648
3060
|
# The runtime configuration to apply to instances (scaling units) of
|
2649
|
-
#
|
3061
|
+
# your service.
|
2650
3062
|
# @return [Types::InstanceConfiguration]
|
2651
3063
|
#
|
2652
3064
|
# @!attribute [rw] auto_scaling_configuration_arn
|
@@ -2665,6 +3077,10 @@ module Aws::AppRunner
|
|
2665
3077
|
# application that the App Runner service runs.
|
2666
3078
|
# @return [Types::NetworkConfiguration]
|
2667
3079
|
#
|
3080
|
+
# @!attribute [rw] observability_configuration
|
3081
|
+
# The observability configuration of your service.
|
3082
|
+
# @return [Types::ServiceObservabilityConfiguration]
|
3083
|
+
#
|
2668
3084
|
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/UpdateServiceRequest AWS API Documentation
|
2669
3085
|
#
|
2670
3086
|
class UpdateServiceRequest < Struct.new(
|
@@ -2673,7 +3089,8 @@ module Aws::AppRunner
|
|
2673
3089
|
:instance_configuration,
|
2674
3090
|
:auto_scaling_configuration_arn,
|
2675
3091
|
:health_check_configuration,
|
2676
|
-
:network_configuration
|
3092
|
+
:network_configuration,
|
3093
|
+
:observability_configuration)
|
2677
3094
|
SENSITIVE = []
|
2678
3095
|
include Aws::Structure
|
2679
3096
|
end
|
data/lib/aws-sdk-apprunner.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-apprunner
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.13.0
|
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: 2022-
|
11
|
+
date: 2022-04-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|