aws-sdk-appsync 1.35.0 → 1.36.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 +1 -1
- data/lib/aws-sdk-appsync/client.rb +13 -6
- data/lib/aws-sdk-appsync/client_api.rb +2 -0
- data/lib/aws-sdk-appsync/types.rb +28 -9
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 110a2f5807167e4237ab999fe346fc931c9444986cd678ce34e913ed08fa1388
|
4
|
+
data.tar.gz: f347977ce4b44cd5bee1cfdea96000bc8451fd37e3c37c6d3a58f7d213b870a3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c99b33a25658b3ed8d80abb08e0e48f9fd71f00713ae20e559ccc6c147635f605a0cfd94c0b48250bf87cdc64b4b0ea5f708e8b0f5d3eaff751aa7559607ccb
|
7
|
+
data.tar.gz: e5e9959835c0f6692daea6fbf5c3a8dfbb66b7e5d98a9a67a8e7336aeb12de5eeeddddc9ff1d4c563c39a5908bfc870e46267021eedae397a5d87bb823b56053
|
data/lib/aws-sdk-appsync.rb
CHANGED
@@ -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
|
@@ -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.36.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)
|
@@ -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
|
@@ -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 WAF ACL associated with this `GraphqlApi` if one
|
1899
|
+
# 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
|
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.36.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: 2020-
|
11
|
+
date: 2020-10-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|