aws-sdk-appsync 1.71.0 → 1.73.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-appsync/client.rb +242 -1
- data/lib/aws-sdk-appsync/client_api.rb +77 -0
- data/lib/aws-sdk-appsync/endpoints.rb +28 -0
- data/lib/aws-sdk-appsync/plugins/endpoints.rb +4 -0
- data/lib/aws-sdk-appsync/types.rb +374 -12
- data/lib/aws-sdk-appsync.rb +1 -1
- data/sig/client.rbs +45 -8
- data/sig/types.rbs +40 -0
- metadata +2 -2
data/sig/client.rbs
CHANGED
@@ -124,7 +124,8 @@ module Aws
|
|
124
124
|
?transit_encryption_enabled: bool,
|
125
125
|
?at_rest_encryption_enabled: bool,
|
126
126
|
api_caching_behavior: ("FULL_REQUEST_CACHING" | "PER_RESOLVER_CACHING"),
|
127
|
-
type: ("T2_SMALL" | "T2_MEDIUM" | "R4_LARGE" | "R4_XLARGE" | "R4_2XLARGE" | "R4_4XLARGE" | "R4_8XLARGE" | "SMALL" | "MEDIUM" | "LARGE" | "XLARGE" | "LARGE_2X" | "LARGE_4X" | "LARGE_8X" | "LARGE_12X")
|
127
|
+
type: ("T2_SMALL" | "T2_MEDIUM" | "R4_LARGE" | "R4_XLARGE" | "R4_2XLARGE" | "R4_4XLARGE" | "R4_8XLARGE" | "SMALL" | "MEDIUM" | "LARGE" | "XLARGE" | "LARGE_2X" | "LARGE_4X" | "LARGE_8X" | "LARGE_12X"),
|
128
|
+
?health_metrics_config: ("ENABLED" | "DISABLED")
|
128
129
|
) -> _CreateApiCacheResponseSuccess
|
129
130
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateApiCacheResponseSuccess
|
130
131
|
|
@@ -195,7 +196,8 @@ module Aws
|
|
195
196
|
},
|
196
197
|
?event_bridge_config: {
|
197
198
|
event_bus_arn: ::String
|
198
|
-
}
|
199
|
+
},
|
200
|
+
?metrics_config: ("ENABLED" | "DISABLED")
|
199
201
|
) -> _CreateDataSourceResponseSuccess
|
200
202
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDataSourceResponseSuccess
|
201
203
|
|
@@ -299,7 +301,12 @@ module Aws
|
|
299
301
|
?owner_contact: ::String,
|
300
302
|
?introspection_config: ("ENABLED" | "DISABLED"),
|
301
303
|
?query_depth_limit: ::Integer,
|
302
|
-
?resolver_count_limit: ::Integer
|
304
|
+
?resolver_count_limit: ::Integer,
|
305
|
+
?enhanced_metrics_config: {
|
306
|
+
resolver_level_metrics_behavior: ("FULL_REQUEST_RESOLVER_METRICS" | "PER_RESOLVER_METRICS"),
|
307
|
+
data_source_level_metrics_behavior: ("FULL_REQUEST_DATA_SOURCE_METRICS" | "PER_DATA_SOURCE_METRICS"),
|
308
|
+
operation_level_metrics_config: ("ENABLED" | "DISABLED")
|
309
|
+
}
|
303
310
|
) -> _CreateGraphqlApiResponseSuccess
|
304
311
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateGraphqlApiResponseSuccess
|
305
312
|
|
@@ -335,7 +342,8 @@ module Aws
|
|
335
342
|
name: ("APPSYNC_JS"),
|
336
343
|
runtime_version: ::String
|
337
344
|
},
|
338
|
-
?code: ::String
|
345
|
+
?code: ::String,
|
346
|
+
?metrics_config: ("ENABLED" | "DISABLED")
|
339
347
|
) -> _CreateResolverResponseSuccess
|
340
348
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateResolverResponseSuccess
|
341
349
|
|
@@ -576,6 +584,16 @@ module Aws
|
|
576
584
|
) -> _GetGraphqlApiResponseSuccess
|
577
585
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetGraphqlApiResponseSuccess
|
578
586
|
|
587
|
+
interface _GetGraphqlApiEnvironmentVariablesResponseSuccess
|
588
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetGraphqlApiEnvironmentVariablesResponse]
|
589
|
+
def environment_variables: () -> ::Hash[::String, ::String]
|
590
|
+
end
|
591
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppSync/Client.html#get_graphql_api_environment_variables-instance_method
|
592
|
+
def get_graphql_api_environment_variables: (
|
593
|
+
api_id: ::String
|
594
|
+
) -> _GetGraphqlApiEnvironmentVariablesResponseSuccess
|
595
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetGraphqlApiEnvironmentVariablesResponseSuccess
|
596
|
+
|
579
597
|
interface _GetIntrospectionSchemaResponseSuccess
|
580
598
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetIntrospectionSchemaResponse]
|
581
599
|
def schema: () -> ::String
|
@@ -779,6 +797,17 @@ module Aws
|
|
779
797
|
) -> _ListTypesByAssociationResponseSuccess
|
780
798
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTypesByAssociationResponseSuccess
|
781
799
|
|
800
|
+
interface _PutGraphqlApiEnvironmentVariablesResponseSuccess
|
801
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutGraphqlApiEnvironmentVariablesResponse]
|
802
|
+
def environment_variables: () -> ::Hash[::String, ::String]
|
803
|
+
end
|
804
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AppSync/Client.html#put_graphql_api_environment_variables-instance_method
|
805
|
+
def put_graphql_api_environment_variables: (
|
806
|
+
api_id: ::String,
|
807
|
+
environment_variables: Hash[::String, ::String]
|
808
|
+
) -> _PutGraphqlApiEnvironmentVariablesResponseSuccess
|
809
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutGraphqlApiEnvironmentVariablesResponseSuccess
|
810
|
+
|
782
811
|
interface _StartDataSourceIntrospectionResponseSuccess
|
783
812
|
include ::Seahorse::Client::_ResponseSuccess[Types::StartDataSourceIntrospectionResponse]
|
784
813
|
def introspection_id: () -> ::String
|
@@ -846,7 +875,8 @@ module Aws
|
|
846
875
|
api_id: ::String,
|
847
876
|
ttl: ::Integer,
|
848
877
|
api_caching_behavior: ("FULL_REQUEST_CACHING" | "PER_RESOLVER_CACHING"),
|
849
|
-
type: ("T2_SMALL" | "T2_MEDIUM" | "R4_LARGE" | "R4_XLARGE" | "R4_2XLARGE" | "R4_4XLARGE" | "R4_8XLARGE" | "SMALL" | "MEDIUM" | "LARGE" | "XLARGE" | "LARGE_2X" | "LARGE_4X" | "LARGE_8X" | "LARGE_12X")
|
878
|
+
type: ("T2_SMALL" | "T2_MEDIUM" | "R4_LARGE" | "R4_XLARGE" | "R4_2XLARGE" | "R4_4XLARGE" | "R4_8XLARGE" | "SMALL" | "MEDIUM" | "LARGE" | "XLARGE" | "LARGE_2X" | "LARGE_4X" | "LARGE_8X" | "LARGE_12X"),
|
879
|
+
?health_metrics_config: ("ENABLED" | "DISABLED")
|
850
880
|
) -> _UpdateApiCacheResponseSuccess
|
851
881
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateApiCacheResponseSuccess
|
852
882
|
|
@@ -918,7 +948,8 @@ module Aws
|
|
918
948
|
},
|
919
949
|
?event_bridge_config: {
|
920
950
|
event_bus_arn: ::String
|
921
|
-
}
|
951
|
+
},
|
952
|
+
?metrics_config: ("ENABLED" | "DISABLED")
|
922
953
|
) -> _UpdateDataSourceResponseSuccess
|
923
954
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDataSourceResponseSuccess
|
924
955
|
|
@@ -1020,7 +1051,12 @@ module Aws
|
|
1020
1051
|
?owner_contact: ::String,
|
1021
1052
|
?introspection_config: ("ENABLED" | "DISABLED"),
|
1022
1053
|
?query_depth_limit: ::Integer,
|
1023
|
-
?resolver_count_limit: ::Integer
|
1054
|
+
?resolver_count_limit: ::Integer,
|
1055
|
+
?enhanced_metrics_config: {
|
1056
|
+
resolver_level_metrics_behavior: ("FULL_REQUEST_RESOLVER_METRICS" | "PER_RESOLVER_METRICS"),
|
1057
|
+
data_source_level_metrics_behavior: ("FULL_REQUEST_DATA_SOURCE_METRICS" | "PER_DATA_SOURCE_METRICS"),
|
1058
|
+
operation_level_metrics_config: ("ENABLED" | "DISABLED")
|
1059
|
+
}
|
1024
1060
|
) -> _UpdateGraphqlApiResponseSuccess
|
1025
1061
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateGraphqlApiResponseSuccess
|
1026
1062
|
|
@@ -1056,7 +1092,8 @@ module Aws
|
|
1056
1092
|
name: ("APPSYNC_JS"),
|
1057
1093
|
runtime_version: ::String
|
1058
1094
|
},
|
1059
|
-
?code: ::String
|
1095
|
+
?code: ::String,
|
1096
|
+
?metrics_config: ("ENABLED" | "DISABLED")
|
1060
1097
|
) -> _UpdateResolverResponseSuccess
|
1061
1098
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateResolverResponseSuccess
|
1062
1099
|
|
data/sig/types.rbs
CHANGED
@@ -36,6 +36,7 @@ module Aws::AppSync
|
|
36
36
|
attr_accessor at_rest_encryption_enabled: bool
|
37
37
|
attr_accessor type: ("T2_SMALL" | "T2_MEDIUM" | "R4_LARGE" | "R4_XLARGE" | "R4_2XLARGE" | "R4_4XLARGE" | "R4_8XLARGE" | "SMALL" | "MEDIUM" | "LARGE" | "XLARGE" | "LARGE_2X" | "LARGE_4X" | "LARGE_8X" | "LARGE_12X")
|
38
38
|
attr_accessor status: ("AVAILABLE" | "CREATING" | "DELETING" | "MODIFYING" | "FAILED")
|
39
|
+
attr_accessor health_metrics_config: ("ENABLED" | "DISABLED")
|
39
40
|
SENSITIVE: []
|
40
41
|
end
|
41
42
|
|
@@ -168,6 +169,7 @@ module Aws::AppSync
|
|
168
169
|
attr_accessor at_rest_encryption_enabled: bool
|
169
170
|
attr_accessor api_caching_behavior: ("FULL_REQUEST_CACHING" | "PER_RESOLVER_CACHING")
|
170
171
|
attr_accessor type: ("T2_SMALL" | "T2_MEDIUM" | "R4_LARGE" | "R4_XLARGE" | "R4_2XLARGE" | "R4_4XLARGE" | "R4_8XLARGE" | "SMALL" | "MEDIUM" | "LARGE" | "XLARGE" | "LARGE_2X" | "LARGE_4X" | "LARGE_8X" | "LARGE_12X")
|
172
|
+
attr_accessor health_metrics_config: ("ENABLED" | "DISABLED")
|
171
173
|
SENSITIVE: []
|
172
174
|
end
|
173
175
|
|
@@ -201,6 +203,7 @@ module Aws::AppSync
|
|
201
203
|
attr_accessor http_config: Types::HttpDataSourceConfig
|
202
204
|
attr_accessor relational_database_config: Types::RelationalDatabaseDataSourceConfig
|
203
205
|
attr_accessor event_bridge_config: Types::EventBridgeDataSourceConfig
|
206
|
+
attr_accessor metrics_config: ("ENABLED" | "DISABLED")
|
204
207
|
SENSITIVE: []
|
205
208
|
end
|
206
209
|
|
@@ -258,6 +261,7 @@ module Aws::AppSync
|
|
258
261
|
attr_accessor introspection_config: ("ENABLED" | "DISABLED")
|
259
262
|
attr_accessor query_depth_limit: ::Integer
|
260
263
|
attr_accessor resolver_count_limit: ::Integer
|
264
|
+
attr_accessor enhanced_metrics_config: Types::EnhancedMetricsConfig
|
261
265
|
SENSITIVE: []
|
262
266
|
end
|
263
267
|
|
@@ -280,6 +284,7 @@ module Aws::AppSync
|
|
280
284
|
attr_accessor max_batch_size: ::Integer
|
281
285
|
attr_accessor runtime: Types::AppSyncRuntime
|
282
286
|
attr_accessor code: ::String
|
287
|
+
attr_accessor metrics_config: ("ENABLED" | "DISABLED")
|
283
288
|
SENSITIVE: []
|
284
289
|
end
|
285
290
|
|
@@ -313,6 +318,7 @@ module Aws::AppSync
|
|
313
318
|
attr_accessor http_config: Types::HttpDataSourceConfig
|
314
319
|
attr_accessor relational_database_config: Types::RelationalDatabaseDataSourceConfig
|
315
320
|
attr_accessor event_bridge_config: Types::EventBridgeDataSourceConfig
|
321
|
+
attr_accessor metrics_config: ("ENABLED" | "DISABLED")
|
316
322
|
SENSITIVE: []
|
317
323
|
end
|
318
324
|
|
@@ -483,6 +489,13 @@ module Aws::AppSync
|
|
483
489
|
SENSITIVE: []
|
484
490
|
end
|
485
491
|
|
492
|
+
class EnhancedMetricsConfig
|
493
|
+
attr_accessor resolver_level_metrics_behavior: ("FULL_REQUEST_RESOLVER_METRICS" | "PER_RESOLVER_METRICS")
|
494
|
+
attr_accessor data_source_level_metrics_behavior: ("FULL_REQUEST_DATA_SOURCE_METRICS" | "PER_DATA_SOURCE_METRICS")
|
495
|
+
attr_accessor operation_level_metrics_config: ("ENABLED" | "DISABLED")
|
496
|
+
SENSITIVE: []
|
497
|
+
end
|
498
|
+
|
486
499
|
class ErrorDetail
|
487
500
|
attr_accessor message: ::String
|
488
501
|
SENSITIVE: []
|
@@ -619,6 +632,16 @@ module Aws::AppSync
|
|
619
632
|
SENSITIVE: []
|
620
633
|
end
|
621
634
|
|
635
|
+
class GetGraphqlApiEnvironmentVariablesRequest
|
636
|
+
attr_accessor api_id: ::String
|
637
|
+
SENSITIVE: []
|
638
|
+
end
|
639
|
+
|
640
|
+
class GetGraphqlApiEnvironmentVariablesResponse
|
641
|
+
attr_accessor environment_variables: ::Hash[::String, ::String]
|
642
|
+
SENSITIVE: []
|
643
|
+
end
|
644
|
+
|
622
645
|
class GetGraphqlApiRequest
|
623
646
|
attr_accessor api_id: ::String
|
624
647
|
SENSITIVE: []
|
@@ -715,6 +738,7 @@ module Aws::AppSync
|
|
715
738
|
attr_accessor introspection_config: ("ENABLED" | "DISABLED")
|
716
739
|
attr_accessor query_depth_limit: ::Integer
|
717
740
|
attr_accessor resolver_count_limit: ::Integer
|
741
|
+
attr_accessor enhanced_metrics_config: Types::EnhancedMetricsConfig
|
718
742
|
SENSITIVE: []
|
719
743
|
end
|
720
744
|
|
@@ -927,6 +951,17 @@ module Aws::AppSync
|
|
927
951
|
SENSITIVE: []
|
928
952
|
end
|
929
953
|
|
954
|
+
class PutGraphqlApiEnvironmentVariablesRequest
|
955
|
+
attr_accessor api_id: ::String
|
956
|
+
attr_accessor environment_variables: ::Hash[::String, ::String]
|
957
|
+
SENSITIVE: []
|
958
|
+
end
|
959
|
+
|
960
|
+
class PutGraphqlApiEnvironmentVariablesResponse
|
961
|
+
attr_accessor environment_variables: ::Hash[::String, ::String]
|
962
|
+
SENSITIVE: []
|
963
|
+
end
|
964
|
+
|
930
965
|
class RdsDataApiConfig
|
931
966
|
attr_accessor resource_arn: ::String
|
932
967
|
attr_accessor secret_arn: ::String
|
@@ -963,6 +998,7 @@ module Aws::AppSync
|
|
963
998
|
attr_accessor max_batch_size: ::Integer
|
964
999
|
attr_accessor runtime: Types::AppSyncRuntime
|
965
1000
|
attr_accessor code: ::String
|
1001
|
+
attr_accessor metrics_config: ("ENABLED" | "DISABLED")
|
966
1002
|
SENSITIVE: []
|
967
1003
|
end
|
968
1004
|
|
@@ -1075,6 +1111,7 @@ module Aws::AppSync
|
|
1075
1111
|
attr_accessor ttl: ::Integer
|
1076
1112
|
attr_accessor api_caching_behavior: ("FULL_REQUEST_CACHING" | "PER_RESOLVER_CACHING")
|
1077
1113
|
attr_accessor type: ("T2_SMALL" | "T2_MEDIUM" | "R4_LARGE" | "R4_XLARGE" | "R4_2XLARGE" | "R4_4XLARGE" | "R4_8XLARGE" | "SMALL" | "MEDIUM" | "LARGE" | "XLARGE" | "LARGE_2X" | "LARGE_4X" | "LARGE_8X" | "LARGE_12X")
|
1114
|
+
attr_accessor health_metrics_config: ("ENABLED" | "DISABLED")
|
1078
1115
|
SENSITIVE: []
|
1079
1116
|
end
|
1080
1117
|
|
@@ -1109,6 +1146,7 @@ module Aws::AppSync
|
|
1109
1146
|
attr_accessor http_config: Types::HttpDataSourceConfig
|
1110
1147
|
attr_accessor relational_database_config: Types::RelationalDatabaseDataSourceConfig
|
1111
1148
|
attr_accessor event_bridge_config: Types::EventBridgeDataSourceConfig
|
1149
|
+
attr_accessor metrics_config: ("ENABLED" | "DISABLED")
|
1112
1150
|
SENSITIVE: []
|
1113
1151
|
end
|
1114
1152
|
|
@@ -1164,6 +1202,7 @@ module Aws::AppSync
|
|
1164
1202
|
attr_accessor introspection_config: ("ENABLED" | "DISABLED")
|
1165
1203
|
attr_accessor query_depth_limit: ::Integer
|
1166
1204
|
attr_accessor resolver_count_limit: ::Integer
|
1205
|
+
attr_accessor enhanced_metrics_config: Types::EnhancedMetricsConfig
|
1167
1206
|
SENSITIVE: []
|
1168
1207
|
end
|
1169
1208
|
|
@@ -1186,6 +1225,7 @@ module Aws::AppSync
|
|
1186
1225
|
attr_accessor max_batch_size: ::Integer
|
1187
1226
|
attr_accessor runtime: Types::AppSyncRuntime
|
1188
1227
|
attr_accessor code: ::String
|
1228
|
+
attr_accessor metrics_config: ("ENABLED" | "DISABLED")
|
1189
1229
|
SENSITIVE: []
|
1190
1230
|
end
|
1191
1231
|
|
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.73.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-
|
11
|
+
date: 2024-02-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|