aws-sdk-appsync 1.53.0 → 1.55.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-appsync/client.rb +184 -9
- data/lib/aws-sdk-appsync/client_api.rb +82 -2
- data/lib/aws-sdk-appsync/endpoint_parameters.rb +66 -0
- data/lib/aws-sdk-appsync/endpoint_provider.rb +111 -0
- data/lib/aws-sdk-appsync/endpoints.rb +729 -0
- data/lib/aws-sdk-appsync/errors.rb +10 -0
- data/lib/aws-sdk-appsync/plugins/endpoints.rb +170 -0
- data/lib/aws-sdk-appsync/types.rb +333 -14
- data/lib/aws-sdk-appsync.rb +5 -1
- metadata +8 -4
@@ -326,6 +326,37 @@ module Aws::AppSync
|
|
326
326
|
include Aws::Structure
|
327
327
|
end
|
328
328
|
|
329
|
+
# Describes a runtime used by an AWS AppSync pipeline resolver or AWS
|
330
|
+
# AppSync function. Specifies the name and version of the runtime to
|
331
|
+
# use. Note that if a runtime is specified, code must also be specified.
|
332
|
+
#
|
333
|
+
# @note When making an API call, you may pass AppSyncRuntime
|
334
|
+
# data as a hash:
|
335
|
+
#
|
336
|
+
# {
|
337
|
+
# name: "APPSYNC_JS", # required, accepts APPSYNC_JS
|
338
|
+
# runtime_version: "String", # required
|
339
|
+
# }
|
340
|
+
#
|
341
|
+
# @!attribute [rw] name
|
342
|
+
# The `name` of the runtime to use. Currently, the only allowed value
|
343
|
+
# is `APPSYNC_JS`.
|
344
|
+
# @return [String]
|
345
|
+
#
|
346
|
+
# @!attribute [rw] runtime_version
|
347
|
+
# The `version` of the runtime to use. Currently, the only allowed
|
348
|
+
# version is `1.0.0`.
|
349
|
+
# @return [String]
|
350
|
+
#
|
351
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/AppSyncRuntime AWS API Documentation
|
352
|
+
#
|
353
|
+
class AppSyncRuntime < Struct.new(
|
354
|
+
:name,
|
355
|
+
:runtime_version)
|
356
|
+
SENSITIVE = []
|
357
|
+
include Aws::Structure
|
358
|
+
end
|
359
|
+
|
329
360
|
# @note When making an API call, you may pass AssociateApiRequest
|
330
361
|
# data as a hash:
|
331
362
|
#
|
@@ -426,16 +457,45 @@ module Aws::AppSync
|
|
426
457
|
include Aws::Structure
|
427
458
|
end
|
428
459
|
|
460
|
+
# Provides further details for the reason behind the bad request. For
|
461
|
+
# reason type `CODE_ERROR`, the detail will contain a list of code
|
462
|
+
# errors.
|
463
|
+
#
|
464
|
+
# @!attribute [rw] code_errors
|
465
|
+
# Contains the list of errors in the request.
|
466
|
+
# @return [Array<Types::CodeError>]
|
467
|
+
#
|
468
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/BadRequestDetail AWS API Documentation
|
469
|
+
#
|
470
|
+
class BadRequestDetail < Struct.new(
|
471
|
+
:code_errors)
|
472
|
+
SENSITIVE = []
|
473
|
+
include Aws::Structure
|
474
|
+
end
|
475
|
+
|
429
476
|
# The request is not well formed. For example, a value is invalid or a
|
430
477
|
# required field is missing. Check the field values, and then try again.
|
431
478
|
#
|
432
479
|
# @!attribute [rw] message
|
433
480
|
# @return [String]
|
434
481
|
#
|
482
|
+
# @!attribute [rw] reason
|
483
|
+
# Provides context for the cause of the bad request. The only
|
484
|
+
# supported value is `CODE_ERROR`.
|
485
|
+
# @return [String]
|
486
|
+
#
|
487
|
+
# @!attribute [rw] detail
|
488
|
+
# Provides further details for the reason behind the bad request. For
|
489
|
+
# reason type `CODE_ERROR`, the detail will contain a list of code
|
490
|
+
# errors.
|
491
|
+
# @return [Types::BadRequestDetail]
|
492
|
+
#
|
435
493
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/BadRequestException AWS API Documentation
|
436
494
|
#
|
437
495
|
class BadRequestException < Struct.new(
|
438
|
-
:message
|
496
|
+
:message,
|
497
|
+
:reason,
|
498
|
+
:detail)
|
439
499
|
SENSITIVE = []
|
440
500
|
include Aws::Structure
|
441
501
|
end
|
@@ -472,6 +532,60 @@ module Aws::AppSync
|
|
472
532
|
include Aws::Structure
|
473
533
|
end
|
474
534
|
|
535
|
+
# Describes an AppSync error.
|
536
|
+
#
|
537
|
+
# @!attribute [rw] error_type
|
538
|
+
# The type of code error.
|
539
|
+
#
|
540
|
+
# Examples include, but aren't limited to: `LINT_ERROR`,
|
541
|
+
# `PARSER_ERROR`.
|
542
|
+
# @return [String]
|
543
|
+
#
|
544
|
+
# @!attribute [rw] value
|
545
|
+
# A user presentable error.
|
546
|
+
#
|
547
|
+
# Examples include, but aren't limited to: `Parsing error:
|
548
|
+
# Unterminated string literal`.
|
549
|
+
# @return [String]
|
550
|
+
#
|
551
|
+
# @!attribute [rw] location
|
552
|
+
# The line, column, and span location of the error in the code.
|
553
|
+
# @return [Types::CodeErrorLocation]
|
554
|
+
#
|
555
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CodeError AWS API Documentation
|
556
|
+
#
|
557
|
+
class CodeError < Struct.new(
|
558
|
+
:error_type,
|
559
|
+
:value,
|
560
|
+
:location)
|
561
|
+
SENSITIVE = []
|
562
|
+
include Aws::Structure
|
563
|
+
end
|
564
|
+
|
565
|
+
# Describes the location of the error in a code sample.
|
566
|
+
#
|
567
|
+
# @!attribute [rw] line
|
568
|
+
# The line number in the code. Defaults to `0` if unknown.
|
569
|
+
# @return [Integer]
|
570
|
+
#
|
571
|
+
# @!attribute [rw] column
|
572
|
+
# The column number in the code. Defaults to `0` if unknown.
|
573
|
+
# @return [Integer]
|
574
|
+
#
|
575
|
+
# @!attribute [rw] span
|
576
|
+
# The span/length of the error. Defaults to `-1` if unknown.
|
577
|
+
# @return [Integer]
|
578
|
+
#
|
579
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CodeErrorLocation AWS API Documentation
|
580
|
+
#
|
581
|
+
class CodeErrorLocation < Struct.new(
|
582
|
+
:line,
|
583
|
+
:column,
|
584
|
+
:span)
|
585
|
+
SENSITIVE = []
|
586
|
+
include Aws::Structure
|
587
|
+
end
|
588
|
+
|
475
589
|
# Describes an Amazon Cognito user pool configuration.
|
476
590
|
#
|
477
591
|
# @note When making an API call, you may pass CognitoUserPoolConfig
|
@@ -867,7 +981,7 @@ module Aws::AppSync
|
|
867
981
|
# data_source_name: "ResourceName", # required
|
868
982
|
# request_mapping_template: "MappingTemplate",
|
869
983
|
# response_mapping_template: "MappingTemplate",
|
870
|
-
# function_version: "String",
|
984
|
+
# function_version: "String",
|
871
985
|
# sync_config: {
|
872
986
|
# conflict_handler: "OPTIMISTIC_CONCURRENCY", # accepts OPTIMISTIC_CONCURRENCY, LAMBDA, AUTOMERGE, NONE
|
873
987
|
# conflict_detection: "VERSION", # accepts VERSION, NONE
|
@@ -876,6 +990,11 @@ module Aws::AppSync
|
|
876
990
|
# },
|
877
991
|
# },
|
878
992
|
# max_batch_size: 1,
|
993
|
+
# runtime: {
|
994
|
+
# name: "APPSYNC_JS", # required, accepts APPSYNC_JS
|
995
|
+
# runtime_version: "String", # required
|
996
|
+
# },
|
997
|
+
# code: "Code",
|
879
998
|
# }
|
880
999
|
#
|
881
1000
|
# @!attribute [rw] api_id
|
@@ -905,7 +1024,8 @@ module Aws::AppSync
|
|
905
1024
|
#
|
906
1025
|
# @!attribute [rw] function_version
|
907
1026
|
# The `version` of the request mapping template. Currently, the
|
908
|
-
# supported value is 2018-05-29.
|
1027
|
+
# supported value is 2018-05-29. Note that when using VTL and mapping
|
1028
|
+
# templates, the `functionVersion` is required.
|
909
1029
|
# @return [String]
|
910
1030
|
#
|
911
1031
|
# @!attribute [rw] sync_config
|
@@ -919,6 +1039,19 @@ module Aws::AppSync
|
|
919
1039
|
# The maximum batching size for a resolver.
|
920
1040
|
# @return [Integer]
|
921
1041
|
#
|
1042
|
+
# @!attribute [rw] runtime
|
1043
|
+
# Describes a runtime used by an AWS AppSync pipeline resolver or AWS
|
1044
|
+
# AppSync function. Specifies the name and version of the runtime to
|
1045
|
+
# use. Note that if a runtime is specified, code must also be
|
1046
|
+
# specified.
|
1047
|
+
# @return [Types::AppSyncRuntime]
|
1048
|
+
#
|
1049
|
+
# @!attribute [rw] code
|
1050
|
+
# The `function` code that contains the request and response
|
1051
|
+
# functions. When code is used, the `runtime` is required. The
|
1052
|
+
# `runtime` value must be `APPSYNC_JS`.
|
1053
|
+
# @return [String]
|
1054
|
+
#
|
922
1055
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateFunctionRequest AWS API Documentation
|
923
1056
|
#
|
924
1057
|
class CreateFunctionRequest < Struct.new(
|
@@ -930,7 +1063,9 @@ module Aws::AppSync
|
|
930
1063
|
:response_mapping_template,
|
931
1064
|
:function_version,
|
932
1065
|
:sync_config,
|
933
|
-
:max_batch_size
|
1066
|
+
:max_batch_size,
|
1067
|
+
:runtime,
|
1068
|
+
:code)
|
934
1069
|
SENSITIVE = []
|
935
1070
|
include Aws::Structure
|
936
1071
|
end
|
@@ -1094,6 +1229,11 @@ module Aws::AppSync
|
|
1094
1229
|
# caching_keys: ["String"],
|
1095
1230
|
# },
|
1096
1231
|
# max_batch_size: 1,
|
1232
|
+
# runtime: {
|
1233
|
+
# name: "APPSYNC_JS", # required, accepts APPSYNC_JS
|
1234
|
+
# runtime_version: "String", # required
|
1235
|
+
# },
|
1236
|
+
# code: "Code",
|
1097
1237
|
# }
|
1098
1238
|
#
|
1099
1239
|
# @!attribute [rw] api_id
|
@@ -1157,6 +1297,19 @@ module Aws::AppSync
|
|
1157
1297
|
# The maximum batching size for a resolver.
|
1158
1298
|
# @return [Integer]
|
1159
1299
|
#
|
1300
|
+
# @!attribute [rw] runtime
|
1301
|
+
# Describes a runtime used by an AWS AppSync pipeline resolver or AWS
|
1302
|
+
# AppSync function. Specifies the name and version of the runtime to
|
1303
|
+
# use. Note that if a runtime is specified, code must also be
|
1304
|
+
# specified.
|
1305
|
+
# @return [Types::AppSyncRuntime]
|
1306
|
+
#
|
1307
|
+
# @!attribute [rw] code
|
1308
|
+
# The `resolver` code that contains the request and response
|
1309
|
+
# functions. When code is used, the `runtime` is required. The
|
1310
|
+
# `runtime` value must be `APPSYNC_JS`.
|
1311
|
+
# @return [String]
|
1312
|
+
#
|
1160
1313
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateResolverRequest AWS API Documentation
|
1161
1314
|
#
|
1162
1315
|
class CreateResolverRequest < Struct.new(
|
@@ -1170,7 +1323,9 @@ module Aws::AppSync
|
|
1170
1323
|
:pipeline_config,
|
1171
1324
|
:sync_config,
|
1172
1325
|
:caching_config,
|
1173
|
-
:max_batch_size
|
1326
|
+
:max_batch_size,
|
1327
|
+
:runtime,
|
1328
|
+
:code)
|
1174
1329
|
SENSITIVE = []
|
1175
1330
|
include Aws::Structure
|
1176
1331
|
end
|
@@ -1723,8 +1878,8 @@ module Aws::AppSync
|
|
1723
1878
|
include Aws::Structure
|
1724
1879
|
end
|
1725
1880
|
|
1726
|
-
# Contains the list of errors generated
|
1727
|
-
#
|
1881
|
+
# Contains the list of errors generated. When using JavaScript, this
|
1882
|
+
# will apply to the request or response function evaluation.
|
1728
1883
|
#
|
1729
1884
|
# @!attribute [rw] message
|
1730
1885
|
# The error payload.
|
@@ -1738,6 +1893,93 @@ module Aws::AppSync
|
|
1738
1893
|
include Aws::Structure
|
1739
1894
|
end
|
1740
1895
|
|
1896
|
+
# Contains the list of errors from a code evaluation response.
|
1897
|
+
#
|
1898
|
+
# @!attribute [rw] message
|
1899
|
+
# The error payload.
|
1900
|
+
# @return [String]
|
1901
|
+
#
|
1902
|
+
# @!attribute [rw] code_errors
|
1903
|
+
# Contains the list of `CodeError` objects.
|
1904
|
+
# @return [Array<Types::CodeError>]
|
1905
|
+
#
|
1906
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/EvaluateCodeErrorDetail AWS API Documentation
|
1907
|
+
#
|
1908
|
+
class EvaluateCodeErrorDetail < Struct.new(
|
1909
|
+
:message,
|
1910
|
+
:code_errors)
|
1911
|
+
SENSITIVE = []
|
1912
|
+
include Aws::Structure
|
1913
|
+
end
|
1914
|
+
|
1915
|
+
# @note When making an API call, you may pass EvaluateCodeRequest
|
1916
|
+
# data as a hash:
|
1917
|
+
#
|
1918
|
+
# {
|
1919
|
+
# runtime: { # required
|
1920
|
+
# name: "APPSYNC_JS", # required, accepts APPSYNC_JS
|
1921
|
+
# runtime_version: "String", # required
|
1922
|
+
# },
|
1923
|
+
# code: "Code", # required
|
1924
|
+
# context: "Context", # required
|
1925
|
+
# function: "String",
|
1926
|
+
# }
|
1927
|
+
#
|
1928
|
+
# @!attribute [rw] runtime
|
1929
|
+
# The runtime to be used when evaluating the code. Currently, only the
|
1930
|
+
# `APPSYNC_JS` runtime is supported.
|
1931
|
+
# @return [Types::AppSyncRuntime]
|
1932
|
+
#
|
1933
|
+
# @!attribute [rw] code
|
1934
|
+
# The code definition to be evaluated. Note that `code` and `runtime`
|
1935
|
+
# are both required for this action. The `runtime` value must be
|
1936
|
+
# `APPSYNC_JS`.
|
1937
|
+
# @return [String]
|
1938
|
+
#
|
1939
|
+
# @!attribute [rw] context
|
1940
|
+
# The map that holds all of the contextual information for your
|
1941
|
+
# resolver invocation. A `context` is required for this action.
|
1942
|
+
# @return [String]
|
1943
|
+
#
|
1944
|
+
# @!attribute [rw] function
|
1945
|
+
# The function within the code to be evaluated. If provided, the valid
|
1946
|
+
# values are `request` and `response`.
|
1947
|
+
# @return [String]
|
1948
|
+
#
|
1949
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/EvaluateCodeRequest AWS API Documentation
|
1950
|
+
#
|
1951
|
+
class EvaluateCodeRequest < Struct.new(
|
1952
|
+
:runtime,
|
1953
|
+
:code,
|
1954
|
+
:context,
|
1955
|
+
:function)
|
1956
|
+
SENSITIVE = []
|
1957
|
+
include Aws::Structure
|
1958
|
+
end
|
1959
|
+
|
1960
|
+
# @!attribute [rw] evaluation_result
|
1961
|
+
# The result of the evaluation operation.
|
1962
|
+
# @return [String]
|
1963
|
+
#
|
1964
|
+
# @!attribute [rw] error
|
1965
|
+
# Contains the payload of the response error.
|
1966
|
+
# @return [Types::EvaluateCodeErrorDetail]
|
1967
|
+
#
|
1968
|
+
# @!attribute [rw] logs
|
1969
|
+
# A list of logs that were generated by calls to `util.log.info` and
|
1970
|
+
# `util.log.error` in the evaluated code.
|
1971
|
+
# @return [Array<String>]
|
1972
|
+
#
|
1973
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/EvaluateCodeResponse AWS API Documentation
|
1974
|
+
#
|
1975
|
+
class EvaluateCodeResponse < Struct.new(
|
1976
|
+
:evaluation_result,
|
1977
|
+
:error,
|
1978
|
+
:logs)
|
1979
|
+
SENSITIVE = []
|
1980
|
+
include Aws::Structure
|
1981
|
+
end
|
1982
|
+
|
1741
1983
|
# @note When making an API call, you may pass EvaluateMappingTemplateRequest
|
1742
1984
|
# data as a hash:
|
1743
1985
|
#
|
@@ -1773,11 +2015,17 @@ module Aws::AppSync
|
|
1773
2015
|
# The `ErrorDetail` object.
|
1774
2016
|
# @return [Types::ErrorDetail]
|
1775
2017
|
#
|
2018
|
+
# @!attribute [rw] logs
|
2019
|
+
# A list of logs that were generated by calls to `util.log.info` and
|
2020
|
+
# `util.log.error` in the evaluated code.
|
2021
|
+
# @return [Array<String>]
|
2022
|
+
#
|
1776
2023
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/EvaluateMappingTemplateResponse AWS API Documentation
|
1777
2024
|
#
|
1778
2025
|
class EvaluateMappingTemplateResponse < Struct.new(
|
1779
2026
|
:evaluation_result,
|
1780
|
-
:error
|
2027
|
+
:error,
|
2028
|
+
:logs)
|
1781
2029
|
SENSITIVE = []
|
1782
2030
|
include Aws::Structure
|
1783
2031
|
end
|
@@ -1857,6 +2105,19 @@ module Aws::AppSync
|
|
1857
2105
|
# The maximum batching size for a resolver.
|
1858
2106
|
# @return [Integer]
|
1859
2107
|
#
|
2108
|
+
# @!attribute [rw] runtime
|
2109
|
+
# Describes a runtime used by an AWS AppSync pipeline resolver or AWS
|
2110
|
+
# AppSync function. Specifies the name and version of the runtime to
|
2111
|
+
# use. Note that if a runtime is specified, code must also be
|
2112
|
+
# specified.
|
2113
|
+
# @return [Types::AppSyncRuntime]
|
2114
|
+
#
|
2115
|
+
# @!attribute [rw] code
|
2116
|
+
# The `function` code that contains the request and response
|
2117
|
+
# functions. When code is used, the `runtime` is required. The
|
2118
|
+
# `runtime` value must be `APPSYNC_JS`.
|
2119
|
+
# @return [String]
|
2120
|
+
#
|
1860
2121
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/FunctionConfiguration AWS API Documentation
|
1861
2122
|
#
|
1862
2123
|
class FunctionConfiguration < Struct.new(
|
@@ -1869,7 +2130,9 @@ module Aws::AppSync
|
|
1869
2130
|
:response_mapping_template,
|
1870
2131
|
:function_version,
|
1871
2132
|
:sync_config,
|
1872
|
-
:max_batch_size
|
2133
|
+
:max_batch_size,
|
2134
|
+
:runtime,
|
2135
|
+
:code)
|
1873
2136
|
SENSITIVE = []
|
1874
2137
|
include Aws::Structure
|
1875
2138
|
end
|
@@ -3246,6 +3509,19 @@ module Aws::AppSync
|
|
3246
3509
|
# The maximum batching size for a resolver.
|
3247
3510
|
# @return [Integer]
|
3248
3511
|
#
|
3512
|
+
# @!attribute [rw] runtime
|
3513
|
+
# Describes a runtime used by an AWS AppSync pipeline resolver or AWS
|
3514
|
+
# AppSync function. Specifies the name and version of the runtime to
|
3515
|
+
# use. Note that if a runtime is specified, code must also be
|
3516
|
+
# specified.
|
3517
|
+
# @return [Types::AppSyncRuntime]
|
3518
|
+
#
|
3519
|
+
# @!attribute [rw] code
|
3520
|
+
# The `resolver` code that contains the request and response
|
3521
|
+
# functions. When code is used, the `runtime` is required. The
|
3522
|
+
# `runtime` value must be `APPSYNC_JS`.
|
3523
|
+
# @return [String]
|
3524
|
+
#
|
3249
3525
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/Resolver AWS API Documentation
|
3250
3526
|
#
|
3251
3527
|
class Resolver < Struct.new(
|
@@ -3259,7 +3535,9 @@ module Aws::AppSync
|
|
3259
3535
|
:pipeline_config,
|
3260
3536
|
:sync_config,
|
3261
3537
|
:caching_config,
|
3262
|
-
:max_batch_size
|
3538
|
+
:max_batch_size,
|
3539
|
+
:runtime,
|
3540
|
+
:code)
|
3263
3541
|
SENSITIVE = []
|
3264
3542
|
include Aws::Structure
|
3265
3543
|
end
|
@@ -3793,7 +4071,7 @@ module Aws::AppSync
|
|
3793
4071
|
# data_source_name: "ResourceName", # required
|
3794
4072
|
# request_mapping_template: "MappingTemplate",
|
3795
4073
|
# response_mapping_template: "MappingTemplate",
|
3796
|
-
# function_version: "String",
|
4074
|
+
# function_version: "String",
|
3797
4075
|
# sync_config: {
|
3798
4076
|
# conflict_handler: "OPTIMISTIC_CONCURRENCY", # accepts OPTIMISTIC_CONCURRENCY, LAMBDA, AUTOMERGE, NONE
|
3799
4077
|
# conflict_detection: "VERSION", # accepts VERSION, NONE
|
@@ -3802,6 +4080,11 @@ module Aws::AppSync
|
|
3802
4080
|
# },
|
3803
4081
|
# },
|
3804
4082
|
# max_batch_size: 1,
|
4083
|
+
# runtime: {
|
4084
|
+
# name: "APPSYNC_JS", # required, accepts APPSYNC_JS
|
4085
|
+
# runtime_version: "String", # required
|
4086
|
+
# },
|
4087
|
+
# code: "Code",
|
3805
4088
|
# }
|
3806
4089
|
#
|
3807
4090
|
# @!attribute [rw] api_id
|
@@ -3835,7 +4118,8 @@ module Aws::AppSync
|
|
3835
4118
|
#
|
3836
4119
|
# @!attribute [rw] function_version
|
3837
4120
|
# The `version` of the request mapping template. Currently, the
|
3838
|
-
# supported value is 2018-05-29.
|
4121
|
+
# supported value is 2018-05-29. Note that when using VTL and mapping
|
4122
|
+
# templates, the `functionVersion` is required.
|
3839
4123
|
# @return [String]
|
3840
4124
|
#
|
3841
4125
|
# @!attribute [rw] sync_config
|
@@ -3849,6 +4133,19 @@ module Aws::AppSync
|
|
3849
4133
|
# The maximum batching size for a resolver.
|
3850
4134
|
# @return [Integer]
|
3851
4135
|
#
|
4136
|
+
# @!attribute [rw] runtime
|
4137
|
+
# Describes a runtime used by an AWS AppSync pipeline resolver or AWS
|
4138
|
+
# AppSync function. Specifies the name and version of the runtime to
|
4139
|
+
# use. Note that if a runtime is specified, code must also be
|
4140
|
+
# specified.
|
4141
|
+
# @return [Types::AppSyncRuntime]
|
4142
|
+
#
|
4143
|
+
# @!attribute [rw] code
|
4144
|
+
# The `function` code that contains the request and response
|
4145
|
+
# functions. When code is used, the `runtime` is required. The
|
4146
|
+
# `runtime` value must be `APPSYNC_JS`.
|
4147
|
+
# @return [String]
|
4148
|
+
#
|
3852
4149
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateFunctionRequest AWS API Documentation
|
3853
4150
|
#
|
3854
4151
|
class UpdateFunctionRequest < Struct.new(
|
@@ -3861,7 +4158,9 @@ module Aws::AppSync
|
|
3861
4158
|
:response_mapping_template,
|
3862
4159
|
:function_version,
|
3863
4160
|
:sync_config,
|
3864
|
-
:max_batch_size
|
4161
|
+
:max_batch_size,
|
4162
|
+
:runtime,
|
4163
|
+
:code)
|
3865
4164
|
SENSITIVE = []
|
3866
4165
|
include Aws::Structure
|
3867
4166
|
end
|
@@ -4024,6 +4323,11 @@ module Aws::AppSync
|
|
4024
4323
|
# caching_keys: ["String"],
|
4025
4324
|
# },
|
4026
4325
|
# max_batch_size: 1,
|
4326
|
+
# runtime: {
|
4327
|
+
# name: "APPSYNC_JS", # required, accepts APPSYNC_JS
|
4328
|
+
# runtime_version: "String", # required
|
4329
|
+
# },
|
4330
|
+
# code: "Code",
|
4027
4331
|
# }
|
4028
4332
|
#
|
4029
4333
|
# @!attribute [rw] api_id
|
@@ -4087,6 +4391,19 @@ module Aws::AppSync
|
|
4087
4391
|
# The maximum batching size for a resolver.
|
4088
4392
|
# @return [Integer]
|
4089
4393
|
#
|
4394
|
+
# @!attribute [rw] runtime
|
4395
|
+
# Describes a runtime used by an AWS AppSync pipeline resolver or AWS
|
4396
|
+
# AppSync function. Specifies the name and version of the runtime to
|
4397
|
+
# use. Note that if a runtime is specified, code must also be
|
4398
|
+
# specified.
|
4399
|
+
# @return [Types::AppSyncRuntime]
|
4400
|
+
#
|
4401
|
+
# @!attribute [rw] code
|
4402
|
+
# The `resolver` code that contains the request and response
|
4403
|
+
# functions. When code is used, the `runtime` is required. The
|
4404
|
+
# `runtime` value must be `APPSYNC_JS`.
|
4405
|
+
# @return [String]
|
4406
|
+
#
|
4090
4407
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateResolverRequest AWS API Documentation
|
4091
4408
|
#
|
4092
4409
|
class UpdateResolverRequest < Struct.new(
|
@@ -4100,7 +4417,9 @@ module Aws::AppSync
|
|
4100
4417
|
:pipeline_config,
|
4101
4418
|
:sync_config,
|
4102
4419
|
:caching_config,
|
4103
|
-
:max_batch_size
|
4420
|
+
:max_batch_size,
|
4421
|
+
:runtime,
|
4422
|
+
:code)
|
4104
4423
|
SENSITIVE = []
|
4105
4424
|
include Aws::Structure
|
4106
4425
|
end
|
data/lib/aws-sdk-appsync.rb
CHANGED
@@ -13,9 +13,13 @@ require 'aws-sigv4'
|
|
13
13
|
|
14
14
|
require_relative 'aws-sdk-appsync/types'
|
15
15
|
require_relative 'aws-sdk-appsync/client_api'
|
16
|
+
require_relative 'aws-sdk-appsync/plugins/endpoints.rb'
|
16
17
|
require_relative 'aws-sdk-appsync/client'
|
17
18
|
require_relative 'aws-sdk-appsync/errors'
|
18
19
|
require_relative 'aws-sdk-appsync/resource'
|
20
|
+
require_relative 'aws-sdk-appsync/endpoint_parameters'
|
21
|
+
require_relative 'aws-sdk-appsync/endpoint_provider'
|
22
|
+
require_relative 'aws-sdk-appsync/endpoints'
|
19
23
|
require_relative 'aws-sdk-appsync/customizations'
|
20
24
|
|
21
25
|
# This module provides support for AWS AppSync. This module is available in the
|
@@ -48,6 +52,6 @@ require_relative 'aws-sdk-appsync/customizations'
|
|
48
52
|
# @!group service
|
49
53
|
module Aws::AppSync
|
50
54
|
|
51
|
-
GEM_VERSION = '1.
|
55
|
+
GEM_VERSION = '1.55.0'
|
52
56
|
|
53
57
|
end
|
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.
|
4
|
+
version: 1.55.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-11-17 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.165.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.165.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -59,7 +59,11 @@ files:
|
|
59
59
|
- lib/aws-sdk-appsync/client.rb
|
60
60
|
- lib/aws-sdk-appsync/client_api.rb
|
61
61
|
- lib/aws-sdk-appsync/customizations.rb
|
62
|
+
- lib/aws-sdk-appsync/endpoint_parameters.rb
|
63
|
+
- lib/aws-sdk-appsync/endpoint_provider.rb
|
64
|
+
- lib/aws-sdk-appsync/endpoints.rb
|
62
65
|
- lib/aws-sdk-appsync/errors.rb
|
66
|
+
- lib/aws-sdk-appsync/plugins/endpoints.rb
|
63
67
|
- lib/aws-sdk-appsync/resource.rb
|
64
68
|
- lib/aws-sdk-appsync/types.rb
|
65
69
|
homepage: https://github.com/aws/aws-sdk-ruby
|