aws-sdk-appsync 1.82.0 → 1.89.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bc086f88837d8e455093e09c3909f700a471853d992f86fde8f1f3473d76991c
4
- data.tar.gz: a0d5ee515cbd3d453f128e7bf9e0e23df0bdd83e5d8f663c5146b9b3ed35d552
3
+ metadata.gz: 352d74ed038b72d348edb1e7b1797adfb9c3f82f0e61a489d32fc0a2e763fe37
4
+ data.tar.gz: fb6e659c4db561db2915b4ff0199af1447004e380e1a755f2c735b8a7bfe01c5
5
5
  SHA512:
6
- metadata.gz: 3fee07ab83b5ef6fc88f2a8f8ff5efc34b90932798383227764cf58aac360753d698c5fcb79a51dcbabed318e1a82b2c0327d199e4f713c5e6477b8e39b5502f
7
- data.tar.gz: 6be8eb8459bd773c801d3d35291c9eda4280b967a650df34c7eb28e9d8923909462127837722f0f79c18a4fdeaa4508e25a42b3cabcbb7c01995c4fefa8fc22b
6
+ metadata.gz: beb5b951636b3ae281081444aa28be7fa08098753acaccd5b5e99077bbc70b249e7a26daa977173d92205fdceffd0071b22a77d991fc59e6cff0d102680790c1
7
+ data.tar.gz: 47db438bd9615406c2c5e591f23a7c2f1df3aab13af2efd20ed61ff2ca434e44d363949f363d2a97d58cb0d25fe4f3bf582539a54b8021a5e4c8ddec9d4de73e
data/CHANGELOG.md CHANGED
@@ -1,6 +1,41 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.89.0 (2024-09-24)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.88.0 (2024-09-23)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.87.0 (2024-09-20)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
19
+ 1.86.0 (2024-09-11)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
24
+ 1.85.0 (2024-09-10)
25
+ ------------------
26
+
27
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
28
+
29
+ 1.84.0 (2024-09-04)
30
+ ------------------
31
+
32
+ * Feature - Adds new logging levels (INFO and DEBUG) for additional log output control
33
+
34
+ 1.83.0 (2024-09-03)
35
+ ------------------
36
+
37
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
38
+
4
39
  1.82.0 (2024-07-23)
5
40
  ------------------
6
41
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.82.0
1
+ 1.89.0
@@ -32,11 +32,10 @@ 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
 
38
- Aws::Plugins::GlobalConfiguration.add_identifier(:appsync)
39
-
40
39
  module Aws::AppSync
41
40
  # An API client for AppSync. To construct a client, you need to configure a `:region` and `:credentials`.
42
41
  #
@@ -83,6 +82,7 @@ module Aws::AppSync
83
82
  add_plugin(Aws::Plugins::RequestCompression)
84
83
  add_plugin(Aws::Plugins::DefaultsMode)
85
84
  add_plugin(Aws::Plugins::RecursionDetection)
85
+ add_plugin(Aws::Plugins::Telemetry)
86
86
  add_plugin(Aws::Plugins::Sign)
87
87
  add_plugin(Aws::Plugins::Protocols::RestJson)
88
88
  add_plugin(Aws::AppSync::Plugins::Endpoints)
@@ -128,13 +128,15 @@ module Aws::AppSync
128
128
  # locations will be searched for credentials:
129
129
  #
130
130
  # * `Aws.config[:credentials]`
131
- # * The `:access_key_id`, `:secret_access_key`, and `:session_token` options.
132
- # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
131
+ # * The `:access_key_id`, `:secret_access_key`, `:session_token`, and
132
+ # `:account_id` options.
133
+ # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY'],
134
+ # ENV['AWS_SESSION_TOKEN'], and ENV['AWS_ACCOUNT_ID']
133
135
  # * `~/.aws/credentials`
134
136
  # * `~/.aws/config`
135
137
  # * EC2/ECS IMDS instance profile - When used by default, the timeouts
136
138
  # are very aggressive. Construct and pass an instance of
137
- # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
139
+ # `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
138
140
  # enable retries and extended timeouts. Instance profile credential
139
141
  # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
140
142
  # to true.
@@ -153,6 +155,8 @@ module Aws::AppSync
153
155
  #
154
156
  # @option options [String] :access_key_id
155
157
  #
158
+ # @option options [String] :account_id
159
+ #
156
160
  # @option options [Boolean] :active_endpoint_cache (false)
157
161
  # When set to `true`, a thread polling for endpoints will be running in
158
162
  # the background every 60 secs (default). Defaults to `false`.
@@ -330,6 +334,16 @@ module Aws::AppSync
330
334
  # ** Please note ** When response stubbing is enabled, no HTTP
331
335
  # requests are made, and retries are disabled.
332
336
  #
337
+ # @option options [Aws::Telemetry::TelemetryProviderBase] :telemetry_provider (Aws::Telemetry::NoOpTelemetryProvider)
338
+ # Allows you to provide a telemetry provider, which is used to
339
+ # emit telemetry data. By default, uses `NoOpTelemetryProvider` which
340
+ # will not record or emit any telemetry data. The SDK supports the
341
+ # following telemetry providers:
342
+ #
343
+ # * OpenTelemetry (OTel) - To use the OTel provider, install and require the
344
+ # `opentelemetry-sdk` gem and then, pass in an instance of a
345
+ # `Aws::Telemetry::OTelProvider` for telemetry provider.
346
+ #
333
347
  # @option options [Aws::TokenProvider] :token_provider
334
348
  # A Bearer Token Provider. This can be an instance of any one of the
335
349
  # following classes:
@@ -357,7 +371,9 @@ module Aws::AppSync
357
371
  # sending the request.
358
372
  #
359
373
  # @option options [Aws::AppSync::EndpointProvider] :endpoint_provider
360
- # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::AppSync::EndpointParameters`
374
+ # The endpoint provider used to resolve endpoints. Any object that responds to
375
+ # `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to
376
+ # `Aws::AppSync::EndpointParameters`.
361
377
  #
362
378
  # @option options [Float] :http_continue_timeout (1)
363
379
  # The number of seconds to wait for a 100-continue response before sending the
@@ -413,6 +429,12 @@ module Aws::AppSync
413
429
  # @option options [String] :ssl_ca_store
414
430
  # Sets the X509::Store to verify peer certificate.
415
431
  #
432
+ # @option options [OpenSSL::X509::Certificate] :ssl_cert
433
+ # Sets a client certificate when creating http connections.
434
+ #
435
+ # @option options [OpenSSL::PKey] :ssl_key
436
+ # Sets a client key when creating http connections.
437
+ #
416
438
  # @option options [Float] :ssl_timeout
417
439
  # Sets the SSL timeout in seconds
418
440
  #
@@ -1143,7 +1165,7 @@ module Aws::AppSync
1143
1165
  # resp = client.create_graphql_api({
1144
1166
  # name: "String", # required
1145
1167
  # log_config: {
1146
- # field_log_level: "NONE", # required, accepts NONE, ERROR, ALL
1168
+ # field_log_level: "NONE", # required, accepts NONE, ERROR, ALL, INFO, DEBUG
1147
1169
  # cloud_watch_logs_role_arn: "String", # required
1148
1170
  # exclude_verbose_content: false,
1149
1171
  # },
@@ -1209,7 +1231,7 @@ module Aws::AppSync
1209
1231
  # resp.graphql_api.name #=> String
1210
1232
  # resp.graphql_api.api_id #=> String
1211
1233
  # 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"
1234
+ # resp.graphql_api.log_config.field_log_level #=> String, one of "NONE", "ERROR", "ALL", "INFO", "DEBUG"
1213
1235
  # resp.graphql_api.log_config.cloud_watch_logs_role_arn #=> String
1214
1236
  # resp.graphql_api.log_config.exclude_verbose_content #=> Boolean
1215
1237
  # resp.graphql_api.user_pool_config.user_pool_id #=> String
@@ -2189,7 +2211,7 @@ module Aws::AppSync
2189
2211
  # resp.graphql_api.name #=> String
2190
2212
  # resp.graphql_api.api_id #=> String
2191
2213
  # 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"
2214
+ # resp.graphql_api.log_config.field_log_level #=> String, one of "NONE", "ERROR", "ALL", "INFO", "DEBUG"
2193
2215
  # resp.graphql_api.log_config.cloud_watch_logs_role_arn #=> String
2194
2216
  # resp.graphql_api.log_config.exclude_verbose_content #=> Boolean
2195
2217
  # resp.graphql_api.user_pool_config.user_pool_id #=> String
@@ -2748,7 +2770,7 @@ module Aws::AppSync
2748
2770
  # resp.graphql_apis[0].name #=> String
2749
2771
  # resp.graphql_apis[0].api_id #=> String
2750
2772
  # 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"
2773
+ # resp.graphql_apis[0].log_config.field_log_level #=> String, one of "NONE", "ERROR", "ALL", "INFO", "DEBUG"
2752
2774
  # resp.graphql_apis[0].log_config.cloud_watch_logs_role_arn #=> String
2753
2775
  # resp.graphql_apis[0].log_config.exclude_verbose_content #=> Boolean
2754
2776
  # resp.graphql_apis[0].user_pool_config.user_pool_id #=> String
@@ -3926,7 +3948,7 @@ module Aws::AppSync
3926
3948
  # api_id: "String", # required
3927
3949
  # name: "String", # required
3928
3950
  # log_config: {
3929
- # field_log_level: "NONE", # required, accepts NONE, ERROR, ALL
3951
+ # field_log_level: "NONE", # required, accepts NONE, ERROR, ALL, INFO, DEBUG
3930
3952
  # cloud_watch_logs_role_arn: "String", # required
3931
3953
  # exclude_verbose_content: false,
3932
3954
  # },
@@ -3987,7 +4009,7 @@ module Aws::AppSync
3987
4009
  # resp.graphql_api.name #=> String
3988
4010
  # resp.graphql_api.api_id #=> String
3989
4011
  # 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"
4012
+ # resp.graphql_api.log_config.field_log_level #=> String, one of "NONE", "ERROR", "ALL", "INFO", "DEBUG"
3991
4013
  # resp.graphql_api.log_config.cloud_watch_logs_role_arn #=> String
3992
4014
  # resp.graphql_api.log_config.exclude_verbose_content #=> Boolean
3993
4015
  # resp.graphql_api.user_pool_config.user_pool_id #=> String
@@ -4293,14 +4315,19 @@ module Aws::AppSync
4293
4315
  # @api private
4294
4316
  def build_request(operation_name, params = {})
4295
4317
  handlers = @handlers.for(operation_name)
4318
+ tracer = config.telemetry_provider.tracer_provider.tracer(
4319
+ Aws::Telemetry.module_to_tracer_name('Aws::AppSync')
4320
+ )
4296
4321
  context = Seahorse::Client::RequestContext.new(
4297
4322
  operation_name: operation_name,
4298
4323
  operation: config.api.operation(operation_name),
4299
4324
  client: self,
4300
4325
  params: params,
4301
- config: config)
4326
+ config: config,
4327
+ tracer: tracer
4328
+ )
4302
4329
  context[:gem_name] = 'aws-sdk-appsync'
4303
- context[:gem_version] = '1.82.0'
4330
+ context[:gem_version] = '1.89.0'
4304
4331
  Seahorse::Client::Request.new(handlers, context)
4305
4332
  end
4306
4333
 
@@ -7,6 +7,7 @@
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
10
+
10
11
  module Aws::AppSync
11
12
  # @api private
12
13
  module ClientApi