aws-sdk-appsync 1.32.0 → 1.37.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 +3 -2
- data/lib/aws-sdk-appsync/client.rb +39 -17
- 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: a77aeb235835a9f82549d4860c5b2aa20d98775bdf466ef8d77d7a49e068a72f
|
4
|
+
data.tar.gz: 403c53e80abb178fc62a11b7e6abd095077223306707b42fe6dab8fa33e94cc1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 163b07c49d06d52664a11990ea40c10d0b8cbee957da883e9f5b5ee53840ba6251628db1d6f039b6ccb23985d285612e08a543dafc2b74b6185a7d6a19a71159
|
7
|
+
data.tar.gz: 5fd6845ce8eb951eff062845705d2cbd0e030b8329a0aed1beef6380bfe36f5fcd21f3d206e2ab1790d8a2c67493b9cdb47da8af0dd0918bc01ffab916c7b157
|
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
|
|
@@ -44,9 +45,9 @@ require_relative 'aws-sdk-appsync/customizations'
|
|
44
45
|
#
|
45
46
|
# See {Errors} for more information.
|
46
47
|
#
|
47
|
-
#
|
48
|
+
# @!group service
|
48
49
|
module Aws::AppSync
|
49
50
|
|
50
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.37.0'
|
51
52
|
|
52
53
|
end
|
@@ -85,13 +85,28 @@ module Aws::AppSync
|
|
85
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
86
86
|
# credentials.
|
87
87
|
#
|
88
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
89
|
+
# shared file, such as `~/.aws/config`.
|
90
|
+
#
|
91
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
92
|
+
#
|
93
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
94
|
+
# assume a role after providing credentials via the web.
|
95
|
+
#
|
96
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
97
|
+
# access token generated from `aws login`.
|
98
|
+
#
|
99
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
100
|
+
# process that outputs to stdout.
|
101
|
+
#
|
88
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
89
103
|
# from an EC2 IMDS on an EC2 instance.
|
90
104
|
#
|
91
|
-
# * `Aws::
|
92
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
93
107
|
#
|
94
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
95
110
|
#
|
96
111
|
# When `:credentials` are not configured directly, the following
|
97
112
|
# locations will be searched for credentials:
|
@@ -101,10 +116,10 @@ module Aws::AppSync
|
|
101
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
102
117
|
# * `~/.aws/credentials`
|
103
118
|
# * `~/.aws/config`
|
104
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
105
|
-
# very aggressive. Construct and pass an instance of
|
106
|
-
# `Aws::InstanceProfileCredentails`
|
107
|
-
# timeouts.
|
119
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
|
+
# are very aggressive. Construct and pass an instance of
|
121
|
+
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
+
# enable retries and extended timeouts.
|
108
123
|
#
|
109
124
|
# @option options [required, String] :region
|
110
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -335,7 +350,7 @@ module Aws::AppSync
|
|
335
350
|
#
|
336
351
|
# * **FULL\_REQUEST\_CACHING**\: All requests are fully cached.
|
337
352
|
#
|
338
|
-
# * **PER\_RESOLVER\_CACHING**\: Individual
|
353
|
+
# * **PER\_RESOLVER\_CACHING**\: Individual resolvers that you specify
|
339
354
|
# are cached.
|
340
355
|
#
|
341
356
|
# @option params [required, String] :type
|
@@ -361,7 +376,7 @@ module Aws::AppSync
|
|
361
376
|
# of July 2020, this is deprecated, and the generic identifiers above
|
362
377
|
# should be used.
|
363
378
|
#
|
364
|
-
# The following legacy instance types are
|
379
|
+
# The following legacy instance types are available, but their use is
|
365
380
|
# discouraged:
|
366
381
|
#
|
367
382
|
# * **T2\_SMALL**\: A t2.small instance type.
|
@@ -443,6 +458,7 @@ module Aws::AppSync
|
|
443
458
|
# resp.api_key.id #=> String
|
444
459
|
# resp.api_key.description #=> String
|
445
460
|
# resp.api_key.expires #=> Integer
|
461
|
+
# resp.api_key.deletes #=> Integer
|
446
462
|
#
|
447
463
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateApiKey AWS API Documentation
|
448
464
|
#
|
@@ -747,6 +763,7 @@ module Aws::AppSync
|
|
747
763
|
# resp.graphql_api.additional_authentication_providers[0].user_pool_config.aws_region #=> String
|
748
764
|
# resp.graphql_api.additional_authentication_providers[0].user_pool_config.app_id_client_regex #=> String
|
749
765
|
# resp.graphql_api.xray_enabled #=> Boolean
|
766
|
+
# resp.graphql_api.waf_web_acl_arn #=> String
|
750
767
|
#
|
751
768
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateGraphqlApi AWS API Documentation
|
752
769
|
#
|
@@ -1287,6 +1304,7 @@ module Aws::AppSync
|
|
1287
1304
|
# resp.graphql_api.additional_authentication_providers[0].user_pool_config.aws_region #=> String
|
1288
1305
|
# resp.graphql_api.additional_authentication_providers[0].user_pool_config.app_id_client_regex #=> String
|
1289
1306
|
# resp.graphql_api.xray_enabled #=> Boolean
|
1307
|
+
# resp.graphql_api.waf_web_acl_arn #=> String
|
1290
1308
|
#
|
1291
1309
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetGraphqlApi AWS API Documentation
|
1292
1310
|
#
|
@@ -1456,10 +1474,10 @@ module Aws::AppSync
|
|
1456
1474
|
|
1457
1475
|
# Lists the API keys for a given API.
|
1458
1476
|
#
|
1459
|
-
# <note markdown="1"> API keys are deleted automatically
|
1460
|
-
#
|
1461
|
-
#
|
1462
|
-
#
|
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.
|
1463
1481
|
#
|
1464
1482
|
# </note>
|
1465
1483
|
#
|
@@ -1493,6 +1511,7 @@ module Aws::AppSync
|
|
1493
1511
|
# resp.api_keys[0].id #=> String
|
1494
1512
|
# resp.api_keys[0].description #=> String
|
1495
1513
|
# resp.api_keys[0].expires #=> Integer
|
1514
|
+
# resp.api_keys[0].deletes #=> Integer
|
1496
1515
|
# resp.next_token #=> String
|
1497
1516
|
#
|
1498
1517
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListApiKeys AWS API Documentation
|
@@ -1671,6 +1690,7 @@ module Aws::AppSync
|
|
1671
1690
|
# resp.graphql_apis[0].additional_authentication_providers[0].user_pool_config.aws_region #=> String
|
1672
1691
|
# resp.graphql_apis[0].additional_authentication_providers[0].user_pool_config.app_id_client_regex #=> String
|
1673
1692
|
# resp.graphql_apis[0].xray_enabled #=> Boolean
|
1693
|
+
# resp.graphql_apis[0].waf_web_acl_arn #=> String
|
1674
1694
|
# resp.next_token #=> String
|
1675
1695
|
#
|
1676
1696
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListGraphqlApis AWS API Documentation
|
@@ -1982,7 +2002,7 @@ module Aws::AppSync
|
|
1982
2002
|
#
|
1983
2003
|
# * **FULL\_REQUEST\_CACHING**\: All requests are fully cached.
|
1984
2004
|
#
|
1985
|
-
# * **PER\_RESOLVER\_CACHING**\: Individual
|
2005
|
+
# * **PER\_RESOLVER\_CACHING**\: Individual resolvers that you specify
|
1986
2006
|
# are cached.
|
1987
2007
|
#
|
1988
2008
|
# @option params [required, String] :type
|
@@ -2008,7 +2028,7 @@ module Aws::AppSync
|
|
2008
2028
|
# of July 2020, this is deprecated, and the generic identifiers above
|
2009
2029
|
# should be used.
|
2010
2030
|
#
|
2011
|
-
# The following legacy instance types are
|
2031
|
+
# The following legacy instance types are available, but their use is
|
2012
2032
|
# discouraged:
|
2013
2033
|
#
|
2014
2034
|
# * **T2\_SMALL**\: A t2.small instance type.
|
@@ -2056,7 +2076,7 @@ module Aws::AppSync
|
|
2056
2076
|
req.send_request(options)
|
2057
2077
|
end
|
2058
2078
|
|
2059
|
-
# Updates an API key.
|
2079
|
+
# Updates an API key. The key can be updated while it is not deleted.
|
2060
2080
|
#
|
2061
2081
|
# @option params [required, String] :api_id
|
2062
2082
|
# The ID for the GraphQL API.
|
@@ -2089,6 +2109,7 @@ module Aws::AppSync
|
|
2089
2109
|
# resp.api_key.id #=> String
|
2090
2110
|
# resp.api_key.description #=> String
|
2091
2111
|
# resp.api_key.expires #=> Integer
|
2112
|
+
# resp.api_key.deletes #=> Integer
|
2092
2113
|
#
|
2093
2114
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateApiKey AWS API Documentation
|
2094
2115
|
#
|
@@ -2391,6 +2412,7 @@ module Aws::AppSync
|
|
2391
2412
|
# resp.graphql_api.additional_authentication_providers[0].user_pool_config.aws_region #=> String
|
2392
2413
|
# resp.graphql_api.additional_authentication_providers[0].user_pool_config.app_id_client_regex #=> String
|
2393
2414
|
# resp.graphql_api.xray_enabled #=> Boolean
|
2415
|
+
# resp.graphql_api.waf_web_acl_arn #=> String
|
2394
2416
|
#
|
2395
2417
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateGraphqlApi AWS API Documentation
|
2396
2418
|
#
|
@@ -2564,7 +2586,7 @@ module Aws::AppSync
|
|
2564
2586
|
params: params,
|
2565
2587
|
config: config)
|
2566
2588
|
context[:gem_name] = 'aws-sdk-appsync'
|
2567
|
-
context[:gem_version] = '1.
|
2589
|
+
context[:gem_version] = '1.37.0'
|
2568
2590
|
Seahorse::Client::Request.new(handlers, context)
|
2569
2591
|
end
|
2570
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.37.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-20 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.109.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.109.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|