aws-sdk-appsync 1.33.0 → 1.38.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/lib/aws-sdk-appsync.rb +2 -1
- data/lib/aws-sdk-appsync/client.rb +17 -10
- data/lib/aws-sdk-appsync/client_api.rb +2 -0
- data/lib/aws-sdk-appsync/types.rb +34 -15
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: aac5f230ea1a1e8a28e056764095fbd5f4bf00a4e37873b7ba594ffe3319ba9c
|
|
4
|
+
data.tar.gz: 4010a969ea819e961b0753e7e0ca4dc2edaff2610fe6028293ffdf714b9346d1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 725fc95984f088fd65876d6e6a378ad4ce013308f0cdffde82a040ce8d68abdebe665d61b910d5438a872d2f24629a7636dd8f55eb2b352039b95a81173901a2
|
|
7
|
+
data.tar.gz: 5cfacb0b5ad445f8e4aef1a5a0f7eb7ced6d1702ffc947acafad589bba5b2ca254c20b96f48f51b4bd07ab7e6074bcbe759eb1a03d715a9bab8052b9a9d93951
|
data/lib/aws-sdk-appsync.rb
CHANGED
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
#
|
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
|
9
9
|
|
|
10
|
+
|
|
10
11
|
require 'aws-sdk-core'
|
|
11
12
|
require 'aws-sigv4'
|
|
12
13
|
|
|
@@ -47,6 +48,6 @@ require_relative 'aws-sdk-appsync/customizations'
|
|
|
47
48
|
# @!group service
|
|
48
49
|
module Aws::AppSync
|
|
49
50
|
|
|
50
|
-
GEM_VERSION = '1.
|
|
51
|
+
GEM_VERSION = '1.38.0'
|
|
51
52
|
|
|
52
53
|
end
|
|
@@ -350,7 +350,7 @@ module Aws::AppSync
|
|
|
350
350
|
#
|
|
351
351
|
# * **FULL\_REQUEST\_CACHING**\: All requests are fully cached.
|
|
352
352
|
#
|
|
353
|
-
# * **PER\_RESOLVER\_CACHING**\: Individual
|
|
353
|
+
# * **PER\_RESOLVER\_CACHING**\: Individual resolvers that you specify
|
|
354
354
|
# are cached.
|
|
355
355
|
#
|
|
356
356
|
# @option params [required, String] :type
|
|
@@ -376,7 +376,7 @@ module Aws::AppSync
|
|
|
376
376
|
# of July 2020, this is deprecated, and the generic identifiers above
|
|
377
377
|
# should be used.
|
|
378
378
|
#
|
|
379
|
-
# The following legacy instance types are
|
|
379
|
+
# The following legacy instance types are available, but their use is
|
|
380
380
|
# discouraged:
|
|
381
381
|
#
|
|
382
382
|
# * **T2\_SMALL**\: A t2.small instance type.
|
|
@@ -458,6 +458,7 @@ module Aws::AppSync
|
|
|
458
458
|
# resp.api_key.id #=> String
|
|
459
459
|
# resp.api_key.description #=> String
|
|
460
460
|
# resp.api_key.expires #=> Integer
|
|
461
|
+
# resp.api_key.deletes #=> Integer
|
|
461
462
|
#
|
|
462
463
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateApiKey AWS API Documentation
|
|
463
464
|
#
|
|
@@ -762,6 +763,7 @@ module Aws::AppSync
|
|
|
762
763
|
# resp.graphql_api.additional_authentication_providers[0].user_pool_config.aws_region #=> String
|
|
763
764
|
# resp.graphql_api.additional_authentication_providers[0].user_pool_config.app_id_client_regex #=> String
|
|
764
765
|
# resp.graphql_api.xray_enabled #=> Boolean
|
|
766
|
+
# resp.graphql_api.waf_web_acl_arn #=> String
|
|
765
767
|
#
|
|
766
768
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateGraphqlApi AWS API Documentation
|
|
767
769
|
#
|
|
@@ -1302,6 +1304,7 @@ module Aws::AppSync
|
|
|
1302
1304
|
# resp.graphql_api.additional_authentication_providers[0].user_pool_config.aws_region #=> String
|
|
1303
1305
|
# resp.graphql_api.additional_authentication_providers[0].user_pool_config.app_id_client_regex #=> String
|
|
1304
1306
|
# resp.graphql_api.xray_enabled #=> Boolean
|
|
1307
|
+
# resp.graphql_api.waf_web_acl_arn #=> String
|
|
1305
1308
|
#
|
|
1306
1309
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetGraphqlApi AWS API Documentation
|
|
1307
1310
|
#
|
|
@@ -1471,10 +1474,10 @@ module Aws::AppSync
|
|
|
1471
1474
|
|
|
1472
1475
|
# Lists the API keys for a given API.
|
|
1473
1476
|
#
|
|
1474
|
-
# <note markdown="1"> API keys are deleted automatically
|
|
1475
|
-
#
|
|
1476
|
-
#
|
|
1477
|
-
#
|
|
1477
|
+
# <note markdown="1"> API keys are deleted automatically 60 days after they expire. However,
|
|
1478
|
+
# they may still be included in the response until they have actually
|
|
1479
|
+
# been deleted. You can safely call `DeleteApiKey` to manually delete a
|
|
1480
|
+
# key before it's automatically deleted.
|
|
1478
1481
|
#
|
|
1479
1482
|
# </note>
|
|
1480
1483
|
#
|
|
@@ -1508,6 +1511,7 @@ module Aws::AppSync
|
|
|
1508
1511
|
# resp.api_keys[0].id #=> String
|
|
1509
1512
|
# resp.api_keys[0].description #=> String
|
|
1510
1513
|
# resp.api_keys[0].expires #=> Integer
|
|
1514
|
+
# resp.api_keys[0].deletes #=> Integer
|
|
1511
1515
|
# resp.next_token #=> String
|
|
1512
1516
|
#
|
|
1513
1517
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListApiKeys AWS API Documentation
|
|
@@ -1686,6 +1690,7 @@ module Aws::AppSync
|
|
|
1686
1690
|
# resp.graphql_apis[0].additional_authentication_providers[0].user_pool_config.aws_region #=> String
|
|
1687
1691
|
# resp.graphql_apis[0].additional_authentication_providers[0].user_pool_config.app_id_client_regex #=> String
|
|
1688
1692
|
# resp.graphql_apis[0].xray_enabled #=> Boolean
|
|
1693
|
+
# resp.graphql_apis[0].waf_web_acl_arn #=> String
|
|
1689
1694
|
# resp.next_token #=> String
|
|
1690
1695
|
#
|
|
1691
1696
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListGraphqlApis AWS API Documentation
|
|
@@ -1997,7 +2002,7 @@ module Aws::AppSync
|
|
|
1997
2002
|
#
|
|
1998
2003
|
# * **FULL\_REQUEST\_CACHING**\: All requests are fully cached.
|
|
1999
2004
|
#
|
|
2000
|
-
# * **PER\_RESOLVER\_CACHING**\: Individual
|
|
2005
|
+
# * **PER\_RESOLVER\_CACHING**\: Individual resolvers that you specify
|
|
2001
2006
|
# are cached.
|
|
2002
2007
|
#
|
|
2003
2008
|
# @option params [required, String] :type
|
|
@@ -2023,7 +2028,7 @@ module Aws::AppSync
|
|
|
2023
2028
|
# of July 2020, this is deprecated, and the generic identifiers above
|
|
2024
2029
|
# should be used.
|
|
2025
2030
|
#
|
|
2026
|
-
# The following legacy instance types are
|
|
2031
|
+
# The following legacy instance types are available, but their use is
|
|
2027
2032
|
# discouraged:
|
|
2028
2033
|
#
|
|
2029
2034
|
# * **T2\_SMALL**\: A t2.small instance type.
|
|
@@ -2071,7 +2076,7 @@ module Aws::AppSync
|
|
|
2071
2076
|
req.send_request(options)
|
|
2072
2077
|
end
|
|
2073
2078
|
|
|
2074
|
-
# Updates an API key.
|
|
2079
|
+
# Updates an API key. The key can be updated while it is not deleted.
|
|
2075
2080
|
#
|
|
2076
2081
|
# @option params [required, String] :api_id
|
|
2077
2082
|
# The ID for the GraphQL API.
|
|
@@ -2104,6 +2109,7 @@ module Aws::AppSync
|
|
|
2104
2109
|
# resp.api_key.id #=> String
|
|
2105
2110
|
# resp.api_key.description #=> String
|
|
2106
2111
|
# resp.api_key.expires #=> Integer
|
|
2112
|
+
# resp.api_key.deletes #=> Integer
|
|
2107
2113
|
#
|
|
2108
2114
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateApiKey AWS API Documentation
|
|
2109
2115
|
#
|
|
@@ -2406,6 +2412,7 @@ module Aws::AppSync
|
|
|
2406
2412
|
# resp.graphql_api.additional_authentication_providers[0].user_pool_config.aws_region #=> String
|
|
2407
2413
|
# resp.graphql_api.additional_authentication_providers[0].user_pool_config.app_id_client_regex #=> String
|
|
2408
2414
|
# resp.graphql_api.xray_enabled #=> Boolean
|
|
2415
|
+
# resp.graphql_api.waf_web_acl_arn #=> String
|
|
2409
2416
|
#
|
|
2410
2417
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateGraphqlApi AWS API Documentation
|
|
2411
2418
|
#
|
|
@@ -2579,7 +2586,7 @@ module Aws::AppSync
|
|
|
2579
2586
|
params: params,
|
|
2580
2587
|
config: config)
|
|
2581
2588
|
context[:gem_name] = 'aws-sdk-appsync'
|
|
2582
|
-
context[:gem_version] = '1.
|
|
2589
|
+
context[:gem_version] = '1.38.0'
|
|
2583
2590
|
Seahorse::Client::Request.new(handlers, context)
|
|
2584
2591
|
end
|
|
2585
2592
|
|
|
@@ -193,6 +193,7 @@ module Aws::AppSync
|
|
|
193
193
|
ApiKey.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "id"))
|
|
194
194
|
ApiKey.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
|
|
195
195
|
ApiKey.add_member(:expires, Shapes::ShapeRef.new(shape: Long, location_name: "expires"))
|
|
196
|
+
ApiKey.add_member(:deletes, Shapes::ShapeRef.new(shape: Long, location_name: "deletes"))
|
|
196
197
|
ApiKey.struct_class = Types::ApiKey
|
|
197
198
|
|
|
198
199
|
ApiKeyLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
|
@@ -476,6 +477,7 @@ module Aws::AppSync
|
|
|
476
477
|
GraphqlApi.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
|
477
478
|
GraphqlApi.add_member(:additional_authentication_providers, Shapes::ShapeRef.new(shape: AdditionalAuthenticationProviders, location_name: "additionalAuthenticationProviders"))
|
|
478
479
|
GraphqlApi.add_member(:xray_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "xrayEnabled"))
|
|
480
|
+
GraphqlApi.add_member(:waf_web_acl_arn, Shapes::ShapeRef.new(shape: String, location_name: "wafWebAclArn"))
|
|
479
481
|
GraphqlApi.struct_class = Types::GraphqlApi
|
|
480
482
|
|
|
481
483
|
GraphqlApis.member = Shapes::ShapeRef.new(shape: GraphqlApi)
|
|
@@ -79,7 +79,7 @@ module Aws::AppSync
|
|
|
79
79
|
#
|
|
80
80
|
# * **FULL\_REQUEST\_CACHING**\: All requests are fully cached.
|
|
81
81
|
#
|
|
82
|
-
# * **PER\_RESOLVER\_CACHING**\: Individual
|
|
82
|
+
# * **PER\_RESOLVER\_CACHING**\: Individual resolvers that you specify
|
|
83
83
|
# are cached.
|
|
84
84
|
# @return [String]
|
|
85
85
|
#
|
|
@@ -116,7 +116,7 @@ module Aws::AppSync
|
|
|
116
116
|
# As of July 2020, this is deprecated, and the generic identifiers
|
|
117
117
|
# above should be used.
|
|
118
118
|
#
|
|
119
|
-
# The following legacy instance types are
|
|
119
|
+
# The following legacy instance types are available, but their use is
|
|
120
120
|
# discouraged:
|
|
121
121
|
#
|
|
122
122
|
# * **T2\_SMALL**\: A t2.small instance type.
|
|
@@ -188,18 +188,25 @@ module Aws::AppSync
|
|
|
188
188
|
# **da2**\: This version was introduced in February 2018 when AppSync
|
|
189
189
|
# added support to extend key expiration.
|
|
190
190
|
#
|
|
191
|
-
# * `ListApiKeys` returns the expiration time in
|
|
191
|
+
# * `ListApiKeys` returns the expiration time and deletion time in
|
|
192
|
+
# seconds.
|
|
192
193
|
#
|
|
193
|
-
# * `CreateApiKey` returns the expiration time
|
|
194
|
-
# user-provided expiration time in seconds.
|
|
194
|
+
# * `CreateApiKey` returns the expiration time and deletion time in
|
|
195
|
+
# seconds and accepts a user-provided expiration time in seconds.
|
|
195
196
|
#
|
|
196
|
-
# * `UpdateApiKey` returns the expiration time
|
|
197
|
-
# user-provided expiration time in seconds.
|
|
198
|
-
#
|
|
197
|
+
# * `UpdateApiKey` returns the expiration time and and deletion time in
|
|
198
|
+
# seconds and accepts a user-provided expiration time in seconds.
|
|
199
|
+
# Expired API keys are kept for 60 days after the expiration time. Key
|
|
200
|
+
# expiration time can be updated while the key is not deleted.
|
|
199
201
|
#
|
|
200
202
|
# * `DeleteApiKey` deletes the item from the table.
|
|
201
203
|
#
|
|
202
|
-
# * Expiration is stored in Amazon DynamoDB as seconds.
|
|
204
|
+
# * Expiration is stored in Amazon DynamoDB as seconds. After the
|
|
205
|
+
# expiration time, using the key to authenticate will fail. But the
|
|
206
|
+
# key can be reinstated before deletion.
|
|
207
|
+
#
|
|
208
|
+
# * Deletion is stored in Amazon DynamoDB as seconds. The key will be
|
|
209
|
+
# deleted after deletion time.
|
|
203
210
|
#
|
|
204
211
|
# @!attribute [rw] id
|
|
205
212
|
# The API key ID.
|
|
@@ -214,12 +221,18 @@ module Aws::AppSync
|
|
|
214
221
|
# seconds since the epoch, rounded down to the nearest hour.
|
|
215
222
|
# @return [Integer]
|
|
216
223
|
#
|
|
224
|
+
# @!attribute [rw] deletes
|
|
225
|
+
# The time after which the API key is deleted. The date is represented
|
|
226
|
+
# as seconds since the epoch, rounded down to the nearest hour.
|
|
227
|
+
# @return [Integer]
|
|
228
|
+
#
|
|
217
229
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ApiKey AWS API Documentation
|
|
218
230
|
#
|
|
219
231
|
class ApiKey < Struct.new(
|
|
220
232
|
:id,
|
|
221
233
|
:description,
|
|
222
|
-
:expires
|
|
234
|
+
:expires,
|
|
235
|
+
:deletes)
|
|
223
236
|
SENSITIVE = []
|
|
224
237
|
include Aws::Structure
|
|
225
238
|
end
|
|
@@ -460,7 +473,7 @@ module Aws::AppSync
|
|
|
460
473
|
#
|
|
461
474
|
# * **FULL\_REQUEST\_CACHING**\: All requests are fully cached.
|
|
462
475
|
#
|
|
463
|
-
# * **PER\_RESOLVER\_CACHING**\: Individual
|
|
476
|
+
# * **PER\_RESOLVER\_CACHING**\: Individual resolvers that you specify
|
|
464
477
|
# are cached.
|
|
465
478
|
# @return [String]
|
|
466
479
|
#
|
|
@@ -487,7 +500,7 @@ module Aws::AppSync
|
|
|
487
500
|
# As of July 2020, this is deprecated, and the generic identifiers
|
|
488
501
|
# above should be used.
|
|
489
502
|
#
|
|
490
|
-
# The following legacy instance types are
|
|
503
|
+
# The following legacy instance types are available, but their use is
|
|
491
504
|
# discouraged:
|
|
492
505
|
#
|
|
493
506
|
# * **T2\_SMALL**\: A t2.small instance type.
|
|
@@ -1881,6 +1894,11 @@ module Aws::AppSync
|
|
|
1881
1894
|
# `GraphqlApi`.
|
|
1882
1895
|
# @return [Boolean]
|
|
1883
1896
|
#
|
|
1897
|
+
# @!attribute [rw] waf_web_acl_arn
|
|
1898
|
+
# The ARN of the AWS Web Application Firewall (WAF) ACL associated
|
|
1899
|
+
# with this `GraphqlApi`, if one exists.
|
|
1900
|
+
# @return [String]
|
|
1901
|
+
#
|
|
1884
1902
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GraphqlApi AWS API Documentation
|
|
1885
1903
|
#
|
|
1886
1904
|
class GraphqlApi < Struct.new(
|
|
@@ -1894,7 +1912,8 @@ module Aws::AppSync
|
|
|
1894
1912
|
:uris,
|
|
1895
1913
|
:tags,
|
|
1896
1914
|
:additional_authentication_providers,
|
|
1897
|
-
:xray_enabled
|
|
1915
|
+
:xray_enabled,
|
|
1916
|
+
:waf_web_acl_arn)
|
|
1898
1917
|
SENSITIVE = []
|
|
1899
1918
|
include Aws::Structure
|
|
1900
1919
|
end
|
|
@@ -2922,7 +2941,7 @@ module Aws::AppSync
|
|
|
2922
2941
|
#
|
|
2923
2942
|
# * **FULL\_REQUEST\_CACHING**\: All requests are fully cached.
|
|
2924
2943
|
#
|
|
2925
|
-
# * **PER\_RESOLVER\_CACHING**\: Individual
|
|
2944
|
+
# * **PER\_RESOLVER\_CACHING**\: Individual resolvers that you specify
|
|
2926
2945
|
# are cached.
|
|
2927
2946
|
# @return [String]
|
|
2928
2947
|
#
|
|
@@ -2949,7 +2968,7 @@ module Aws::AppSync
|
|
|
2949
2968
|
# As of July 2020, this is deprecated, and the generic identifiers
|
|
2950
2969
|
# above should be used.
|
|
2951
2970
|
#
|
|
2952
|
-
# The following legacy instance types are
|
|
2971
|
+
# The following legacy instance types are available, but their use is
|
|
2953
2972
|
# discouraged:
|
|
2954
2973
|
#
|
|
2955
2974
|
# * **T2\_SMALL**\: A t2.small instance type.
|
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.38.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:
|
|
11
|
+
date: 2021-02-02 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.112.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.112.0
|
|
33
33
|
- !ruby/object:Gem::Dependency
|
|
34
34
|
name: aws-sigv4
|
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|