aws-sdk-appsync 1.82.0 → 1.84.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: bc086f88837d8e455093e09c3909f700a471853d992f86fde8f1f3473d76991c
4
- data.tar.gz: a0d5ee515cbd3d453f128e7bf9e0e23df0bdd83e5d8f663c5146b9b3ed35d552
3
+ metadata.gz: 31f79ce97bd0e2ddebb1d524e5015202a558e7315a8df71be3cc419068f76ca3
4
+ data.tar.gz: 49fb4ac8e173ee7f43352681c364958198d3f715a64eff0b56acbeb1a157778d
5
5
  SHA512:
6
- metadata.gz: 3fee07ab83b5ef6fc88f2a8f8ff5efc34b90932798383227764cf58aac360753d698c5fcb79a51dcbabed318e1a82b2c0327d199e4f713c5e6477b8e39b5502f
7
- data.tar.gz: 6be8eb8459bd773c801d3d35291c9eda4280b967a650df34c7eb28e9d8923909462127837722f0f79c18a4fdeaa4508e25a42b3cabcbb7c01995c4fefa8fc22b
6
+ metadata.gz: d098de9bca28294a65649421510dfbe0989ae7e117a29b5544d6cceafe3fd2b0c2af9cd2052a23fb4fd19681e9348f7d7fb8a788da491695ac1fe85f1cd11cd5
7
+ data.tar.gz: 84cb391326e417f3fa6a7e06a8cf91231445645289cfd48ac8e739361d87744cf352161a8e6e5a76cb298fe040d8bc01d89db3859955f69edd8c847aa8a55de8
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.84.0 (2024-09-04)
5
+ ------------------
6
+
7
+ * Feature - Adds new logging levels (INFO and DEBUG) for additional log output control
8
+
9
+ 1.83.0 (2024-09-03)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.82.0 (2024-07-23)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.82.0
1
+ 1.84.0
@@ -32,6 +32,7 @@ require 'aws-sdk-core/plugins/checksum_algorithm.rb'
32
32
  require 'aws-sdk-core/plugins/request_compression.rb'
33
33
  require 'aws-sdk-core/plugins/defaults_mode.rb'
34
34
  require 'aws-sdk-core/plugins/recursion_detection.rb'
35
+ require 'aws-sdk-core/plugins/telemetry.rb'
35
36
  require 'aws-sdk-core/plugins/sign.rb'
36
37
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
37
38
 
@@ -83,6 +84,7 @@ module Aws::AppSync
83
84
  add_plugin(Aws::Plugins::RequestCompression)
84
85
  add_plugin(Aws::Plugins::DefaultsMode)
85
86
  add_plugin(Aws::Plugins::RecursionDetection)
87
+ add_plugin(Aws::Plugins::Telemetry)
86
88
  add_plugin(Aws::Plugins::Sign)
87
89
  add_plugin(Aws::Plugins::Protocols::RestJson)
88
90
  add_plugin(Aws::AppSync::Plugins::Endpoints)
@@ -330,6 +332,16 @@ module Aws::AppSync
330
332
  # ** Please note ** When response stubbing is enabled, no HTTP
331
333
  # requests are made, and retries are disabled.
332
334
  #
335
+ # @option options [Aws::Telemetry::TelemetryProviderBase] :telemetry_provider (Aws::Telemetry::NoOpTelemetryProvider)
336
+ # Allows you to provide a telemetry provider, which is used to
337
+ # emit telemetry data. By default, uses `NoOpTelemetryProvider` which
338
+ # will not record or emit any telemetry data. The SDK supports the
339
+ # following telemetry providers:
340
+ #
341
+ # * OpenTelemetry (OTel) - To use the OTel provider, install and require the
342
+ # `opentelemetry-sdk` gem and then, pass in an instance of a
343
+ # `Aws::Telemetry::OTelProvider` for telemetry provider.
344
+ #
333
345
  # @option options [Aws::TokenProvider] :token_provider
334
346
  # A Bearer Token Provider. This can be an instance of any one of the
335
347
  # following classes:
@@ -1143,7 +1155,7 @@ module Aws::AppSync
1143
1155
  # resp = client.create_graphql_api({
1144
1156
  # name: "String", # required
1145
1157
  # log_config: {
1146
- # field_log_level: "NONE", # required, accepts NONE, ERROR, ALL
1158
+ # field_log_level: "NONE", # required, accepts NONE, ERROR, ALL, INFO, DEBUG
1147
1159
  # cloud_watch_logs_role_arn: "String", # required
1148
1160
  # exclude_verbose_content: false,
1149
1161
  # },
@@ -1209,7 +1221,7 @@ module Aws::AppSync
1209
1221
  # resp.graphql_api.name #=> String
1210
1222
  # resp.graphql_api.api_id #=> String
1211
1223
  # resp.graphql_api.authentication_type #=> String, one of "API_KEY", "AWS_IAM", "AMAZON_COGNITO_USER_POOLS", "OPENID_CONNECT", "AWS_LAMBDA"
1212
- # resp.graphql_api.log_config.field_log_level #=> String, one of "NONE", "ERROR", "ALL"
1224
+ # resp.graphql_api.log_config.field_log_level #=> String, one of "NONE", "ERROR", "ALL", "INFO", "DEBUG"
1213
1225
  # resp.graphql_api.log_config.cloud_watch_logs_role_arn #=> String
1214
1226
  # resp.graphql_api.log_config.exclude_verbose_content #=> Boolean
1215
1227
  # resp.graphql_api.user_pool_config.user_pool_id #=> String
@@ -2189,7 +2201,7 @@ module Aws::AppSync
2189
2201
  # resp.graphql_api.name #=> String
2190
2202
  # resp.graphql_api.api_id #=> String
2191
2203
  # resp.graphql_api.authentication_type #=> String, one of "API_KEY", "AWS_IAM", "AMAZON_COGNITO_USER_POOLS", "OPENID_CONNECT", "AWS_LAMBDA"
2192
- # resp.graphql_api.log_config.field_log_level #=> String, one of "NONE", "ERROR", "ALL"
2204
+ # resp.graphql_api.log_config.field_log_level #=> String, one of "NONE", "ERROR", "ALL", "INFO", "DEBUG"
2193
2205
  # resp.graphql_api.log_config.cloud_watch_logs_role_arn #=> String
2194
2206
  # resp.graphql_api.log_config.exclude_verbose_content #=> Boolean
2195
2207
  # resp.graphql_api.user_pool_config.user_pool_id #=> String
@@ -2748,7 +2760,7 @@ module Aws::AppSync
2748
2760
  # resp.graphql_apis[0].name #=> String
2749
2761
  # resp.graphql_apis[0].api_id #=> String
2750
2762
  # resp.graphql_apis[0].authentication_type #=> String, one of "API_KEY", "AWS_IAM", "AMAZON_COGNITO_USER_POOLS", "OPENID_CONNECT", "AWS_LAMBDA"
2751
- # resp.graphql_apis[0].log_config.field_log_level #=> String, one of "NONE", "ERROR", "ALL"
2763
+ # resp.graphql_apis[0].log_config.field_log_level #=> String, one of "NONE", "ERROR", "ALL", "INFO", "DEBUG"
2752
2764
  # resp.graphql_apis[0].log_config.cloud_watch_logs_role_arn #=> String
2753
2765
  # resp.graphql_apis[0].log_config.exclude_verbose_content #=> Boolean
2754
2766
  # resp.graphql_apis[0].user_pool_config.user_pool_id #=> String
@@ -3926,7 +3938,7 @@ module Aws::AppSync
3926
3938
  # api_id: "String", # required
3927
3939
  # name: "String", # required
3928
3940
  # log_config: {
3929
- # field_log_level: "NONE", # required, accepts NONE, ERROR, ALL
3941
+ # field_log_level: "NONE", # required, accepts NONE, ERROR, ALL, INFO, DEBUG
3930
3942
  # cloud_watch_logs_role_arn: "String", # required
3931
3943
  # exclude_verbose_content: false,
3932
3944
  # },
@@ -3987,7 +3999,7 @@ module Aws::AppSync
3987
3999
  # resp.graphql_api.name #=> String
3988
4000
  # resp.graphql_api.api_id #=> String
3989
4001
  # resp.graphql_api.authentication_type #=> String, one of "API_KEY", "AWS_IAM", "AMAZON_COGNITO_USER_POOLS", "OPENID_CONNECT", "AWS_LAMBDA"
3990
- # resp.graphql_api.log_config.field_log_level #=> String, one of "NONE", "ERROR", "ALL"
4002
+ # resp.graphql_api.log_config.field_log_level #=> String, one of "NONE", "ERROR", "ALL", "INFO", "DEBUG"
3991
4003
  # resp.graphql_api.log_config.cloud_watch_logs_role_arn #=> String
3992
4004
  # resp.graphql_api.log_config.exclude_verbose_content #=> Boolean
3993
4005
  # resp.graphql_api.user_pool_config.user_pool_id #=> String
@@ -4293,14 +4305,19 @@ module Aws::AppSync
4293
4305
  # @api private
4294
4306
  def build_request(operation_name, params = {})
4295
4307
  handlers = @handlers.for(operation_name)
4308
+ tracer = config.telemetry_provider.tracer_provider.tracer(
4309
+ Aws::Telemetry.module_to_tracer_name('Aws::AppSync')
4310
+ )
4296
4311
  context = Seahorse::Client::RequestContext.new(
4297
4312
  operation_name: operation_name,
4298
4313
  operation: config.api.operation(operation_name),
4299
4314
  client: self,
4300
4315
  params: params,
4301
- config: config)
4316
+ config: config,
4317
+ tracer: tracer
4318
+ )
4302
4319
  context[:gem_name] = 'aws-sdk-appsync'
4303
- context[:gem_version] = '1.82.0'
4320
+ context[:gem_version] = '1.84.0'
4304
4321
  Seahorse::Client::Request.new(handlers, context)
4305
4322
  end
4306
4323
 
@@ -3575,12 +3575,13 @@ module Aws::AppSync
3575
3575
  # The Amazon CloudWatch Logs configuration.
3576
3576
  #
3577
3577
  # @!attribute [rw] field_log_level
3578
- # The field logging level. Values can be NONE, ERROR, or ALL.
3578
+ # The field logging level. Values can be NONE, ERROR, INFO, DEBUG, or
3579
+ # ALL.
3579
3580
  #
3580
3581
  # * **NONE**: No field-level logs are captured.
3581
3582
  #
3582
- # * **ERROR**: Logs the following information only for the fields that
3583
- # are in error:
3583
+ # * **ERROR**: Logs the following information **only** for the fields
3584
+ # that are in the error category:
3584
3585
  #
3585
3586
  # * The error section in the server response.
3586
3587
  #
@@ -3589,12 +3590,32 @@ module Aws::AppSync
3589
3590
  # * The generated request/response functions that got resolved for
3590
3591
  # error fields.
3591
3592
  #
3593
+ # * **INFO**: Logs the following information **only** for the fields
3594
+ # that are in the info and error categories:
3595
+ #
3596
+ # * Info-level messages.
3597
+ #
3598
+ # * The user messages sent through `$util.log.info` and
3599
+ # `console.log`.
3600
+ #
3601
+ # * Field-level tracing and mapping logs are not shown.
3602
+ #
3603
+ # * **DEBUG**: Logs the following information **only** for the fields
3604
+ # that are in the debug, info, and error categories:
3605
+ #
3606
+ # * Debug-level messages.
3607
+ #
3608
+ # * The user messages sent through `$util.log.info`,
3609
+ # `$util.log.debug`, `console.log`, and `console.debug`.
3610
+ #
3611
+ # * Field-level tracing and mapping logs are not shown.
3612
+ #
3592
3613
  # * **ALL**: The following information is logged for all fields in the
3593
3614
  # query:
3594
3615
  #
3595
3616
  # * Field-level tracing information.
3596
3617
  #
3597
- # * The generated request/response functions that got resolved for
3618
+ # * The generated request/response functions that were resolved for
3598
3619
  # each field.
3599
3620
  # @return [String]
3600
3621
  #
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-appsync/customizations'
52
52
  # @!group service
53
53
  module Aws::AppSync
54
54
 
55
- GEM_VERSION = '1.82.0'
55
+ GEM_VERSION = '1.84.0'
56
56
 
57
57
  end
data/sig/client.rbs CHANGED
@@ -50,6 +50,7 @@ module Aws
50
50
  ?session_token: String,
51
51
  ?sigv4a_signing_region_set: Array[String],
52
52
  ?stub_responses: untyped,
53
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
53
54
  ?token_provider: untyped,
54
55
  ?use_dualstack_endpoint: bool,
55
56
  ?use_fips_endpoint: bool,
@@ -251,7 +252,7 @@ module Aws
251
252
  def create_graphql_api: (
252
253
  name: ::String,
253
254
  ?log_config: {
254
- field_log_level: ("NONE" | "ERROR" | "ALL"),
255
+ field_log_level: ("NONE" | "ERROR" | "ALL" | "INFO" | "DEBUG"),
255
256
  cloud_watch_logs_role_arn: ::String,
256
257
  exclude_verbose_content: bool?
257
258
  },
@@ -1004,7 +1005,7 @@ module Aws
1004
1005
  api_id: ::String,
1005
1006
  name: ::String,
1006
1007
  ?log_config: {
1007
- field_log_level: ("NONE" | "ERROR" | "ALL"),
1008
+ field_log_level: ("NONE" | "ERROR" | "ALL" | "INFO" | "DEBUG"),
1008
1009
  cloud_watch_logs_role_arn: ::String,
1009
1010
  exclude_verbose_content: bool?
1010
1011
  },
data/sig/resource.rbs CHANGED
@@ -50,6 +50,7 @@ module Aws
50
50
  ?session_token: String,
51
51
  ?sigv4a_signing_region_set: Array[String],
52
52
  ?stub_responses: untyped,
53
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
53
54
  ?token_provider: untyped,
54
55
  ?use_dualstack_endpoint: bool,
55
56
  ?use_fips_endpoint: bool,
data/sig/types.rbs CHANGED
@@ -921,7 +921,7 @@ module Aws::AppSync
921
921
  end
922
922
 
923
923
  class LogConfig
924
- attr_accessor field_log_level: ("NONE" | "ERROR" | "ALL")
924
+ attr_accessor field_log_level: ("NONE" | "ERROR" | "ALL" | "INFO" | "DEBUG")
925
925
  attr_accessor cloud_watch_logs_role_arn: ::String
926
926
  attr_accessor exclude_verbose_content: bool
927
927
  SENSITIVE: []
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-appsync
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.82.0
4
+ version: 1.84.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: 2024-07-23 00:00:00.000000000 Z
11
+ date: 2024-09-04 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.201.0
22
+ version: 3.203.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.201.0
32
+ version: 3.203.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement