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
@@ -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
|
@@ -409,6 +409,10 @@ module Aws::AppRunner
|
|
409
409
|
# @!attribute [rw] code_configuration
|
410
410
|
# Configuration for building and running the service from a source
|
411
411
|
# code repository.
|
412
|
+
#
|
413
|
+
# <note markdown="1"> `CodeConfiguration` is required only for `CreateService` request.
|
414
|
+
#
|
415
|
+
# </note>
|
412
416
|
# @return [Types::CodeConfiguration]
|
413
417
|
#
|
414
418
|
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/CodeRepository AWS API Documentation
|
@@ -643,6 +647,74 @@ module Aws::AppRunner
|
|
643
647
|
include Aws::Structure
|
644
648
|
end
|
645
649
|
|
650
|
+
# @note When making an API call, you may pass CreateObservabilityConfigurationRequest
|
651
|
+
# data as a hash:
|
652
|
+
#
|
653
|
+
# {
|
654
|
+
# observability_configuration_name: "ObservabilityConfigurationName", # required
|
655
|
+
# trace_configuration: {
|
656
|
+
# vendor: "AWSXRAY", # required, accepts AWSXRAY
|
657
|
+
# },
|
658
|
+
# tags: [
|
659
|
+
# {
|
660
|
+
# key: "TagKey",
|
661
|
+
# value: "TagValue",
|
662
|
+
# },
|
663
|
+
# ],
|
664
|
+
# }
|
665
|
+
#
|
666
|
+
# @!attribute [rw] observability_configuration_name
|
667
|
+
# A name for the observability configuration. When you use it for the
|
668
|
+
# first time in an Amazon Web Services Region, App Runner creates
|
669
|
+
# revision number `1` of this name. When you use the same name in
|
670
|
+
# subsequent calls, App Runner creates incremental revisions of the
|
671
|
+
# configuration.
|
672
|
+
#
|
673
|
+
# <note markdown="1"> The name `DefaultConfiguration` is reserved. You can't use it to
|
674
|
+
# create a new observability configuration, and you can't create a
|
675
|
+
# revision of it.
|
676
|
+
#
|
677
|
+
# When you want to use your own observability configuration for your
|
678
|
+
# App Runner service, *create a configuration with a different name*,
|
679
|
+
# and then provide it when you create or update your service.
|
680
|
+
#
|
681
|
+
# </note>
|
682
|
+
# @return [String]
|
683
|
+
#
|
684
|
+
# @!attribute [rw] trace_configuration
|
685
|
+
# The configuration of the tracing feature within this observability
|
686
|
+
# configuration. If you don't specify it, App Runner doesn't enable
|
687
|
+
# tracing.
|
688
|
+
# @return [Types::TraceConfiguration]
|
689
|
+
#
|
690
|
+
# @!attribute [rw] tags
|
691
|
+
# A list of metadata items that you can associate with your
|
692
|
+
# observability configuration resource. A tag is a key-value pair.
|
693
|
+
# @return [Array<Types::Tag>]
|
694
|
+
#
|
695
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/CreateObservabilityConfigurationRequest AWS API Documentation
|
696
|
+
#
|
697
|
+
class CreateObservabilityConfigurationRequest < Struct.new(
|
698
|
+
:observability_configuration_name,
|
699
|
+
:trace_configuration,
|
700
|
+
:tags)
|
701
|
+
SENSITIVE = []
|
702
|
+
include Aws::Structure
|
703
|
+
end
|
704
|
+
|
705
|
+
# @!attribute [rw] observability_configuration
|
706
|
+
# A description of the App Runner observability configuration that's
|
707
|
+
# created by this request.
|
708
|
+
# @return [Types::ObservabilityConfiguration]
|
709
|
+
#
|
710
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/CreateObservabilityConfigurationResponse AWS API Documentation
|
711
|
+
#
|
712
|
+
class CreateObservabilityConfigurationResponse < Struct.new(
|
713
|
+
:observability_configuration)
|
714
|
+
SENSITIVE = []
|
715
|
+
include Aws::Structure
|
716
|
+
end
|
717
|
+
|
646
718
|
# @note When making an API call, you may pass CreateServiceRequest
|
647
719
|
# data as a hash:
|
648
720
|
#
|
@@ -714,6 +786,10 @@ module Aws::AppRunner
|
|
714
786
|
# vpc_connector_arn: "AppRunnerResourceArn",
|
715
787
|
# },
|
716
788
|
# },
|
789
|
+
# observability_configuration: {
|
790
|
+
# observability_enabled: false, # required
|
791
|
+
# observability_configuration_arn: "AppRunnerResourceArn",
|
792
|
+
# },
|
717
793
|
# }
|
718
794
|
#
|
719
795
|
# @!attribute [rw] service_name
|
@@ -728,8 +804,8 @@ module Aws::AppRunner
|
|
728
804
|
# @return [Types::SourceConfiguration]
|
729
805
|
#
|
730
806
|
# @!attribute [rw] instance_configuration
|
731
|
-
# The runtime configuration of instances (scaling units) of
|
732
|
-
#
|
807
|
+
# The runtime configuration of instances (scaling units) of your
|
808
|
+
# service.
|
733
809
|
# @return [Types::InstanceConfiguration]
|
734
810
|
#
|
735
811
|
# @!attribute [rw] tags
|
@@ -751,9 +827,16 @@ module Aws::AppRunner
|
|
751
827
|
#
|
752
828
|
# @!attribute [rw] auto_scaling_configuration_arn
|
753
829
|
# The Amazon Resource Name (ARN) of an App Runner automatic scaling
|
754
|
-
# configuration resource that you want to associate with
|
755
|
-
#
|
756
|
-
#
|
830
|
+
# configuration resource that you want to associate with your service.
|
831
|
+
# If not provided, App Runner associates the latest revision of a
|
832
|
+
# default auto scaling configuration.
|
833
|
+
#
|
834
|
+
# Specify an ARN with a name and a revision number to associate that
|
835
|
+
# revision. For example:
|
836
|
+
# `arn:aws:apprunner:us-east-1:123456789012:autoscalingconfiguration/high-availability/3`
|
837
|
+
#
|
838
|
+
# Specify just the name to associate the latest revision. For example:
|
839
|
+
# `arn:aws:apprunner:us-east-1:123456789012:autoscalingconfiguration/high-availability`
|
757
840
|
# @return [String]
|
758
841
|
#
|
759
842
|
# @!attribute [rw] network_configuration
|
@@ -761,6 +844,10 @@ module Aws::AppRunner
|
|
761
844
|
# application that the App Runner service runs.
|
762
845
|
# @return [Types::NetworkConfiguration]
|
763
846
|
#
|
847
|
+
# @!attribute [rw] observability_configuration
|
848
|
+
# The observability configuration of your service.
|
849
|
+
# @return [Types::ServiceObservabilityConfiguration]
|
850
|
+
#
|
764
851
|
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/CreateServiceRequest AWS API Documentation
|
765
852
|
#
|
766
853
|
class CreateServiceRequest < Struct.new(
|
@@ -771,7 +858,8 @@ module Aws::AppRunner
|
|
771
858
|
:encryption_configuration,
|
772
859
|
:health_check_configuration,
|
773
860
|
:auto_scaling_configuration_arn,
|
774
|
-
:network_configuration
|
861
|
+
:network_configuration,
|
862
|
+
:observability_configuration)
|
775
863
|
SENSITIVE = []
|
776
864
|
include Aws::Structure
|
777
865
|
end
|
@@ -824,6 +912,10 @@ module Aws::AppRunner
|
|
824
912
|
# associates your service with a custom Amazon VPC. Specify IDs of
|
825
913
|
# subnets of a single Amazon VPC. App Runner determines the Amazon VPC
|
826
914
|
# from the subnets you specify.
|
915
|
+
#
|
916
|
+
# <note markdown="1"> App Runner currently only provides support for IPv4.
|
917
|
+
#
|
918
|
+
# </note>
|
827
919
|
# @return [Array<String>]
|
828
920
|
#
|
829
921
|
# @!attribute [rw] security_groups
|
@@ -967,6 +1059,43 @@ module Aws::AppRunner
|
|
967
1059
|
include Aws::Structure
|
968
1060
|
end
|
969
1061
|
|
1062
|
+
# @note When making an API call, you may pass DeleteObservabilityConfigurationRequest
|
1063
|
+
# data as a hash:
|
1064
|
+
#
|
1065
|
+
# {
|
1066
|
+
# observability_configuration_arn: "AppRunnerResourceArn", # required
|
1067
|
+
# }
|
1068
|
+
#
|
1069
|
+
# @!attribute [rw] observability_configuration_arn
|
1070
|
+
# The Amazon Resource Name (ARN) of the App Runner observability
|
1071
|
+
# configuration that you want to delete.
|
1072
|
+
#
|
1073
|
+
# The ARN can be a full observability configuration ARN, or a partial
|
1074
|
+
# ARN ending with either `.../name ` or `.../name/revision `. If a
|
1075
|
+
# revision isn't specified, the latest active revision is deleted.
|
1076
|
+
# @return [String]
|
1077
|
+
#
|
1078
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DeleteObservabilityConfigurationRequest AWS API Documentation
|
1079
|
+
#
|
1080
|
+
class DeleteObservabilityConfigurationRequest < Struct.new(
|
1081
|
+
:observability_configuration_arn)
|
1082
|
+
SENSITIVE = []
|
1083
|
+
include Aws::Structure
|
1084
|
+
end
|
1085
|
+
|
1086
|
+
# @!attribute [rw] observability_configuration
|
1087
|
+
# A description of the App Runner observability configuration that
|
1088
|
+
# this request just deleted.
|
1089
|
+
# @return [Types::ObservabilityConfiguration]
|
1090
|
+
#
|
1091
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DeleteObservabilityConfigurationResponse AWS API Documentation
|
1092
|
+
#
|
1093
|
+
class DeleteObservabilityConfigurationResponse < Struct.new(
|
1094
|
+
:observability_configuration)
|
1095
|
+
SENSITIVE = []
|
1096
|
+
include Aws::Structure
|
1097
|
+
end
|
1098
|
+
|
970
1099
|
# @note When making an API call, you may pass DeleteServiceRequest
|
971
1100
|
# data as a hash:
|
972
1101
|
#
|
@@ -1153,6 +1282,43 @@ module Aws::AppRunner
|
|
1153
1282
|
include Aws::Structure
|
1154
1283
|
end
|
1155
1284
|
|
1285
|
+
# @note When making an API call, you may pass DescribeObservabilityConfigurationRequest
|
1286
|
+
# data as a hash:
|
1287
|
+
#
|
1288
|
+
# {
|
1289
|
+
# observability_configuration_arn: "AppRunnerResourceArn", # required
|
1290
|
+
# }
|
1291
|
+
#
|
1292
|
+
# @!attribute [rw] 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
|
+
# @return [String]
|
1300
|
+
#
|
1301
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DescribeObservabilityConfigurationRequest AWS API Documentation
|
1302
|
+
#
|
1303
|
+
class DescribeObservabilityConfigurationRequest < Struct.new(
|
1304
|
+
:observability_configuration_arn)
|
1305
|
+
SENSITIVE = []
|
1306
|
+
include Aws::Structure
|
1307
|
+
end
|
1308
|
+
|
1309
|
+
# @!attribute [rw] observability_configuration
|
1310
|
+
# A full description of the App Runner observability configuration
|
1311
|
+
# that you specified in this request.
|
1312
|
+
# @return [Types::ObservabilityConfiguration]
|
1313
|
+
#
|
1314
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/DescribeObservabilityConfigurationResponse AWS API Documentation
|
1315
|
+
#
|
1316
|
+
class DescribeObservabilityConfigurationResponse < Struct.new(
|
1317
|
+
:observability_configuration)
|
1318
|
+
SENSITIVE = []
|
1319
|
+
include Aws::Structure
|
1320
|
+
end
|
1321
|
+
|
1156
1322
|
# @note When making an API call, you may pass DescribeServiceRequest
|
1157
1323
|
# data as a hash:
|
1158
1324
|
#
|
@@ -1588,7 +1754,7 @@ module Aws::AppRunner
|
|
1588
1754
|
# @!attribute [rw] auto_scaling_configuration_name
|
1589
1755
|
# The name of the App Runner auto scaling configuration that you want
|
1590
1756
|
# to list. If specified, App Runner lists revisions that share this
|
1591
|
-
# name. If not specified, App Runner returns revisions of all
|
1757
|
+
# name. If not specified, App Runner returns revisions of all active
|
1592
1758
|
# configurations.
|
1593
1759
|
# @return [String]
|
1594
1760
|
#
|
@@ -1596,10 +1762,10 @@ module Aws::AppRunner
|
|
1596
1762
|
# Set to `true` to list only the latest revision for each requested
|
1597
1763
|
# configuration name.
|
1598
1764
|
#
|
1599
|
-
#
|
1765
|
+
# Set to `false` to list all revisions for each requested
|
1600
1766
|
# configuration name.
|
1601
1767
|
#
|
1602
|
-
# Default: `
|
1768
|
+
# Default: `true`
|
1603
1769
|
# @return [Boolean]
|
1604
1770
|
#
|
1605
1771
|
# @!attribute [rw] max_results
|
@@ -1713,6 +1879,82 @@ module Aws::AppRunner
|
|
1713
1879
|
include Aws::Structure
|
1714
1880
|
end
|
1715
1881
|
|
1882
|
+
# @note When making an API call, you may pass ListObservabilityConfigurationsRequest
|
1883
|
+
# data as a hash:
|
1884
|
+
#
|
1885
|
+
# {
|
1886
|
+
# observability_configuration_name: "ObservabilityConfigurationName",
|
1887
|
+
# latest_only: false,
|
1888
|
+
# max_results: 1,
|
1889
|
+
# next_token: "NextToken",
|
1890
|
+
# }
|
1891
|
+
#
|
1892
|
+
# @!attribute [rw] observability_configuration_name
|
1893
|
+
# The name of the App Runner observability configuration that you want
|
1894
|
+
# to list. If specified, App Runner lists revisions that share this
|
1895
|
+
# name. If not specified, App Runner returns revisions of all active
|
1896
|
+
# configurations.
|
1897
|
+
# @return [String]
|
1898
|
+
#
|
1899
|
+
# @!attribute [rw] latest_only
|
1900
|
+
# Set to `true` to list only the latest revision for each requested
|
1901
|
+
# configuration name.
|
1902
|
+
#
|
1903
|
+
# Set to `false` to list all revisions for each requested
|
1904
|
+
# configuration name.
|
1905
|
+
#
|
1906
|
+
# Default: `true`
|
1907
|
+
# @return [Boolean]
|
1908
|
+
#
|
1909
|
+
# @!attribute [rw] max_results
|
1910
|
+
# The maximum number of results to include in each response (result
|
1911
|
+
# page). It's used for a paginated request.
|
1912
|
+
#
|
1913
|
+
# If you don't specify `MaxResults`, the request retrieves all
|
1914
|
+
# available results in a single response.
|
1915
|
+
# @return [Integer]
|
1916
|
+
#
|
1917
|
+
# @!attribute [rw] next_token
|
1918
|
+
# A token from a previous result page. It's used for a paginated
|
1919
|
+
# request. The request retrieves the next result page. All other
|
1920
|
+
# parameter values must be identical to the ones that are specified in
|
1921
|
+
# the initial request.
|
1922
|
+
#
|
1923
|
+
# If you don't specify `NextToken`, the request retrieves the first
|
1924
|
+
# result page.
|
1925
|
+
# @return [String]
|
1926
|
+
#
|
1927
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/ListObservabilityConfigurationsRequest AWS API Documentation
|
1928
|
+
#
|
1929
|
+
class ListObservabilityConfigurationsRequest < Struct.new(
|
1930
|
+
:observability_configuration_name,
|
1931
|
+
:latest_only,
|
1932
|
+
:max_results,
|
1933
|
+
:next_token)
|
1934
|
+
SENSITIVE = []
|
1935
|
+
include Aws::Structure
|
1936
|
+
end
|
1937
|
+
|
1938
|
+
# @!attribute [rw] observability_configuration_summary_list
|
1939
|
+
# A list of summary information records for observability
|
1940
|
+
# configurations. In a paginated request, the request returns up to
|
1941
|
+
# `MaxResults` records for each call.
|
1942
|
+
# @return [Array<Types::ObservabilityConfigurationSummary>]
|
1943
|
+
#
|
1944
|
+
# @!attribute [rw] next_token
|
1945
|
+
# The token that you can pass in a subsequent request to get the next
|
1946
|
+
# result page. It's returned in a paginated request.
|
1947
|
+
# @return [String]
|
1948
|
+
#
|
1949
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/ListObservabilityConfigurationsResponse AWS API Documentation
|
1950
|
+
#
|
1951
|
+
class ListObservabilityConfigurationsResponse < Struct.new(
|
1952
|
+
:observability_configuration_summary_list,
|
1953
|
+
:next_token)
|
1954
|
+
SENSITIVE = []
|
1955
|
+
include Aws::Structure
|
1956
|
+
end
|
1957
|
+
|
1716
1958
|
# @note When making an API call, you may pass ListOperationsRequest
|
1717
1959
|
# data as a hash:
|
1718
1960
|
#
|
@@ -1946,6 +2188,112 @@ module Aws::AppRunner
|
|
1946
2188
|
include Aws::Structure
|
1947
2189
|
end
|
1948
2190
|
|
2191
|
+
# Describes an App Runner observability configuration resource. Multiple
|
2192
|
+
# revisions of a configuration have the same
|
2193
|
+
# `ObservabilityConfigurationName` and different
|
2194
|
+
# `ObservabilityConfigurationRevision` values.
|
2195
|
+
#
|
2196
|
+
# The resource is designed to configure multiple features (currently one
|
2197
|
+
# feature, tracing). This type contains optional members that describe
|
2198
|
+
# the configuration of these features (currently one member,
|
2199
|
+
# `TraceConfiguration`). If a feature member isn't specified, the
|
2200
|
+
# feature isn't enabled.
|
2201
|
+
#
|
2202
|
+
# @!attribute [rw] observability_configuration_arn
|
2203
|
+
# The Amazon Resource Name (ARN) of this observability configuration.
|
2204
|
+
# @return [String]
|
2205
|
+
#
|
2206
|
+
# @!attribute [rw] observability_configuration_name
|
2207
|
+
# The customer-provided observability configuration name. It can be
|
2208
|
+
# used in multiple revisions of a configuration.
|
2209
|
+
# @return [String]
|
2210
|
+
#
|
2211
|
+
# @!attribute [rw] trace_configuration
|
2212
|
+
# The configuration of the tracing feature within this observability
|
2213
|
+
# configuration. If not specified, tracing isn't enabled.
|
2214
|
+
# @return [Types::TraceConfiguration]
|
2215
|
+
#
|
2216
|
+
# @!attribute [rw] observability_configuration_revision
|
2217
|
+
# The revision of this observability configuration. It's unique among
|
2218
|
+
# all the active configurations (`"Status": "ACTIVE"`) that share the
|
2219
|
+
# same `ObservabilityConfigurationName`.
|
2220
|
+
# @return [Integer]
|
2221
|
+
#
|
2222
|
+
# @!attribute [rw] latest
|
2223
|
+
# It's set to `true` for the configuration with the highest
|
2224
|
+
# `Revision` among all configurations that share the same
|
2225
|
+
# `ObservabilityConfigurationName`. It's set to `false` otherwise.
|
2226
|
+
# @return [Boolean]
|
2227
|
+
#
|
2228
|
+
# @!attribute [rw] status
|
2229
|
+
# The current state of the observability configuration. If the status
|
2230
|
+
# of a configuration revision is `INACTIVE`, it was deleted and can't
|
2231
|
+
# be used. Inactive configuration revisions are permanently removed
|
2232
|
+
# some time after they are deleted.
|
2233
|
+
# @return [String]
|
2234
|
+
#
|
2235
|
+
# @!attribute [rw] created_at
|
2236
|
+
# The time when the observability configuration was created. It's in
|
2237
|
+
# Unix time stamp format.
|
2238
|
+
# @return [Time]
|
2239
|
+
#
|
2240
|
+
# @!attribute [rw] deleted_at
|
2241
|
+
# The time when the observability configuration was deleted. It's in
|
2242
|
+
# Unix time stamp format.
|
2243
|
+
# @return [Time]
|
2244
|
+
#
|
2245
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/ObservabilityConfiguration AWS API Documentation
|
2246
|
+
#
|
2247
|
+
class ObservabilityConfiguration < Struct.new(
|
2248
|
+
:observability_configuration_arn,
|
2249
|
+
:observability_configuration_name,
|
2250
|
+
:trace_configuration,
|
2251
|
+
:observability_configuration_revision,
|
2252
|
+
:latest,
|
2253
|
+
:status,
|
2254
|
+
:created_at,
|
2255
|
+
:deleted_at)
|
2256
|
+
SENSITIVE = []
|
2257
|
+
include Aws::Structure
|
2258
|
+
end
|
2259
|
+
|
2260
|
+
# Provides summary information about an App Runner observability
|
2261
|
+
# configuration resource.
|
2262
|
+
#
|
2263
|
+
# This type contains limited information about an observability
|
2264
|
+
# configuration. It includes only identification information, without
|
2265
|
+
# configuration details. It's returned by the
|
2266
|
+
# ListObservabilityConfigurations action. Complete configuration
|
2267
|
+
# information is returned by the CreateObservabilityConfiguration,
|
2268
|
+
# DescribeObservabilityConfiguration, and
|
2269
|
+
# DeleteObservabilityConfiguration actions using the
|
2270
|
+
# ObservabilityConfiguration type.
|
2271
|
+
#
|
2272
|
+
# @!attribute [rw] observability_configuration_arn
|
2273
|
+
# The Amazon Resource Name (ARN) of this observability configuration.
|
2274
|
+
# @return [String]
|
2275
|
+
#
|
2276
|
+
# @!attribute [rw] observability_configuration_name
|
2277
|
+
# The customer-provided observability configuration name. It can be
|
2278
|
+
# used in multiple revisions of a configuration.
|
2279
|
+
# @return [String]
|
2280
|
+
#
|
2281
|
+
# @!attribute [rw] observability_configuration_revision
|
2282
|
+
# The revision of this observability configuration. It's unique among
|
2283
|
+
# all the active configurations (`"Status": "ACTIVE"`) that share the
|
2284
|
+
# same `ObservabilityConfigurationName`.
|
2285
|
+
# @return [Integer]
|
2286
|
+
#
|
2287
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/ObservabilityConfigurationSummary AWS API Documentation
|
2288
|
+
#
|
2289
|
+
class ObservabilityConfigurationSummary < Struct.new(
|
2290
|
+
:observability_configuration_arn,
|
2291
|
+
:observability_configuration_name,
|
2292
|
+
:observability_configuration_revision)
|
2293
|
+
SENSITIVE = []
|
2294
|
+
include Aws::Structure
|
2295
|
+
end
|
2296
|
+
|
1949
2297
|
# Provides summary information for an operation that occurred on an App
|
1950
2298
|
# Runner service.
|
1951
2299
|
#
|
@@ -2190,6 +2538,10 @@ module Aws::AppRunner
|
|
2190
2538
|
# application that this service runs.
|
2191
2539
|
# @return [Types::NetworkConfiguration]
|
2192
2540
|
#
|
2541
|
+
# @!attribute [rw] observability_configuration
|
2542
|
+
# The observability configuration of this service.
|
2543
|
+
# @return [Types::ServiceObservabilityConfiguration]
|
2544
|
+
#
|
2193
2545
|
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/Service AWS API Documentation
|
2194
2546
|
#
|
2195
2547
|
class Service < Struct.new(
|
@@ -2206,7 +2558,49 @@ module Aws::AppRunner
|
|
2206
2558
|
:encryption_configuration,
|
2207
2559
|
:health_check_configuration,
|
2208
2560
|
:auto_scaling_configuration_summary,
|
2209
|
-
:network_configuration
|
2561
|
+
:network_configuration,
|
2562
|
+
:observability_configuration)
|
2563
|
+
SENSITIVE = []
|
2564
|
+
include Aws::Structure
|
2565
|
+
end
|
2566
|
+
|
2567
|
+
# Describes the observability configuration of an App Runner service.
|
2568
|
+
# These are additional observability features, like tracing, that you
|
2569
|
+
# choose to enable. They're configured in a separate resource that you
|
2570
|
+
# associate with your service.
|
2571
|
+
#
|
2572
|
+
# @note When making an API call, you may pass ServiceObservabilityConfiguration
|
2573
|
+
# data as a hash:
|
2574
|
+
#
|
2575
|
+
# {
|
2576
|
+
# observability_enabled: false, # required
|
2577
|
+
# observability_configuration_arn: "AppRunnerResourceArn",
|
2578
|
+
# }
|
2579
|
+
#
|
2580
|
+
# @!attribute [rw] observability_enabled
|
2581
|
+
# When `true`, an observability configuration resource is associated
|
2582
|
+
# with the service, and an `ObservabilityConfigurationArn` is
|
2583
|
+
# specified.
|
2584
|
+
# @return [Boolean]
|
2585
|
+
#
|
2586
|
+
# @!attribute [rw] observability_configuration_arn
|
2587
|
+
# The Amazon Resource Name (ARN) of the observability configuration
|
2588
|
+
# that is associated with the service. Specified only when
|
2589
|
+
# `ObservabilityEnabled` is `true`.
|
2590
|
+
#
|
2591
|
+
# Specify an ARN with a name and a revision number to associate that
|
2592
|
+
# revision. For example:
|
2593
|
+
# `arn:aws:apprunner:us-east-1:123456789012:observabilityconfiguration/xray-tracing/3`
|
2594
|
+
#
|
2595
|
+
# Specify just the name to associate the latest revision. For example:
|
2596
|
+
# `arn:aws:apprunner:us-east-1:123456789012:observabilityconfiguration/xray-tracing`
|
2597
|
+
# @return [String]
|
2598
|
+
#
|
2599
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/ServiceObservabilityConfiguration AWS API Documentation
|
2600
|
+
#
|
2601
|
+
class ServiceObservabilityConfiguration < Struct.new(
|
2602
|
+
:observability_enabled,
|
2603
|
+
:observability_configuration_arn)
|
2210
2604
|
SENSITIVE = []
|
2211
2605
|
include Aws::Structure
|
2212
2606
|
end
|
@@ -2530,6 +2924,28 @@ module Aws::AppRunner
|
|
2530
2924
|
#
|
2531
2925
|
class TagResourceResponse < Aws::EmptyStructure; end
|
2532
2926
|
|
2927
|
+
# Describes the configuration of the tracing feature within an App
|
2928
|
+
# Runner observability configuration.
|
2929
|
+
#
|
2930
|
+
# @note When making an API call, you may pass TraceConfiguration
|
2931
|
+
# data as a hash:
|
2932
|
+
#
|
2933
|
+
# {
|
2934
|
+
# vendor: "AWSXRAY", # required, accepts AWSXRAY
|
2935
|
+
# }
|
2936
|
+
#
|
2937
|
+
# @!attribute [rw] vendor
|
2938
|
+
# The implementation provider chosen for tracing App Runner services.
|
2939
|
+
# @return [String]
|
2940
|
+
#
|
2941
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/TraceConfiguration AWS API Documentation
|
2942
|
+
#
|
2943
|
+
class TraceConfiguration < Struct.new(
|
2944
|
+
:vendor)
|
2945
|
+
SENSITIVE = []
|
2946
|
+
include Aws::Structure
|
2947
|
+
end
|
2948
|
+
|
2533
2949
|
# @note When making an API call, you may pass UntagResourceRequest
|
2534
2950
|
# data as a hash:
|
2535
2951
|
#
|
@@ -2624,6 +3040,10 @@ module Aws::AppRunner
|
|
2624
3040
|
# vpc_connector_arn: "AppRunnerResourceArn",
|
2625
3041
|
# },
|
2626
3042
|
# },
|
3043
|
+
# observability_configuration: {
|
3044
|
+
# observability_enabled: false, # required
|
3045
|
+
# observability_configuration_arn: "AppRunnerResourceArn",
|
3046
|
+
# },
|
2627
3047
|
# }
|
2628
3048
|
#
|
2629
3049
|
# @!attribute [rw] service_arn
|
@@ -2646,7 +3066,7 @@ module Aws::AppRunner
|
|
2646
3066
|
#
|
2647
3067
|
# @!attribute [rw] instance_configuration
|
2648
3068
|
# The runtime configuration to apply to instances (scaling units) of
|
2649
|
-
#
|
3069
|
+
# your service.
|
2650
3070
|
# @return [Types::InstanceConfiguration]
|
2651
3071
|
#
|
2652
3072
|
# @!attribute [rw] auto_scaling_configuration_arn
|
@@ -2665,6 +3085,10 @@ module Aws::AppRunner
|
|
2665
3085
|
# application that the App Runner service runs.
|
2666
3086
|
# @return [Types::NetworkConfiguration]
|
2667
3087
|
#
|
3088
|
+
# @!attribute [rw] observability_configuration
|
3089
|
+
# The observability configuration of your service.
|
3090
|
+
# @return [Types::ServiceObservabilityConfiguration]
|
3091
|
+
#
|
2668
3092
|
# @see http://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15/UpdateServiceRequest AWS API Documentation
|
2669
3093
|
#
|
2670
3094
|
class UpdateServiceRequest < Struct.new(
|
@@ -2673,7 +3097,8 @@ module Aws::AppRunner
|
|
2673
3097
|
:instance_configuration,
|
2674
3098
|
:auto_scaling_configuration_arn,
|
2675
3099
|
:health_check_configuration,
|
2676
|
-
:network_configuration
|
3100
|
+
:network_configuration,
|
3101
|
+
:observability_configuration)
|
2677
3102
|
SENSITIVE = []
|
2678
3103
|
include Aws::Structure
|
2679
3104
|
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.14.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-05-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.127.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.127.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|