aws-sdk-appsync 1.31.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 52fa6dea92830d23eadf7526d9b05ce3851658bb79d4dd8cb69979be8fc3e98f
4
- data.tar.gz: 32df57c8f2138ec741f74590f042bd510da597f165a4cca5ed40da009db36d06
3
+ metadata.gz: 110a2f5807167e4237ab999fe346fc931c9444986cd678ce34e913ed08fa1388
4
+ data.tar.gz: f347977ce4b44cd5bee1cfdea96000bc8451fd37e3c37c6d3a58f7d213b870a3
5
5
  SHA512:
6
- metadata.gz: 4f563255d4acba90d51a94b8f38e2bba551eb0bb1bf5141c4fc5fa0896ec75fb9e2867ba36dd14bbd9361af011549ae8497d19af8ed41c83a44438f9d4294537
7
- data.tar.gz: a5ce35ec97c3e721a540043125514f2b504fd5b4f66f3a8497daae40500910113c40b2600062b13899e5ac7967b4eb74ba50e6f9d5e7e3c40deeb8327211c1ba
6
+ metadata.gz: 3c99b33a25658b3ed8d80abb08e0e48f9fd71f00713ae20e559ccc6c147635f605a0cfd94c0b48250bf87cdc64b4b0ea5f708e8b0f5d3eaff751aa7559607ccb
7
+ data.tar.gz: e5e9959835c0f6692daea6fbf5c3a8dfbb66b7e5d98a9a67a8e7336aeb12de5eeeddddc9ff1d4c563c39a5908bfc870e46267021eedae397a5d87bb823b56053
@@ -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
- # @service
48
+ # @!group service
48
49
  module Aws::AppSync
49
50
 
50
- GEM_VERSION = '1.31.0'
51
+ GEM_VERSION = '1.36.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::SharedCredentials` - Used for loading credentials from a
92
- # shared file, such as `~/.aws/config`.
105
+ # * `Aws::ECSCredentials` - Used for loading credentials from
106
+ # instances running in ECS.
93
107
  #
94
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
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 are
105
- # very aggressive. Construct and pass an instance of
106
- # `Aws::InstanceProfileCredentails` to enable retries and extended
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
@@ -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
  #
@@ -781,6 +798,10 @@ module Aws::AppSync
781
798
  # expression into a format that a data source can understand. Mapping
782
799
  # templates are written in Apache Velocity Template Language (VTL).
783
800
  #
801
+ # VTL request mapping templates are optional when using a Lambda data
802
+ # source. For all other data sources, VTL request and response mapping
803
+ # templates are required.
804
+ #
784
805
  # @option params [String] :response_mapping_template
785
806
  # The mapping template to be used for responses from the data source.
786
807
  #
@@ -1283,6 +1304,7 @@ module Aws::AppSync
1283
1304
  # resp.graphql_api.additional_authentication_providers[0].user_pool_config.aws_region #=> String
1284
1305
  # resp.graphql_api.additional_authentication_providers[0].user_pool_config.app_id_client_regex #=> String
1285
1306
  # resp.graphql_api.xray_enabled #=> Boolean
1307
+ # resp.graphql_api.waf_web_acl_arn #=> String
1286
1308
  #
1287
1309
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetGraphqlApi AWS API Documentation
1288
1310
  #
@@ -1452,10 +1474,10 @@ module Aws::AppSync
1452
1474
 
1453
1475
  # Lists the API keys for a given API.
1454
1476
  #
1455
- # <note markdown="1"> API keys are deleted automatically sometime after they expire.
1456
- # However, they may still be included in the response until they have
1457
- # actually been deleted. You can safely call `DeleteApiKey` to manually
1458
- # delete a key before it's automatically deleted.
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.
1459
1481
  #
1460
1482
  # </note>
1461
1483
  #
@@ -1489,6 +1511,7 @@ module Aws::AppSync
1489
1511
  # resp.api_keys[0].id #=> String
1490
1512
  # resp.api_keys[0].description #=> String
1491
1513
  # resp.api_keys[0].expires #=> Integer
1514
+ # resp.api_keys[0].deletes #=> Integer
1492
1515
  # resp.next_token #=> String
1493
1516
  #
1494
1517
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListApiKeys AWS API Documentation
@@ -1667,6 +1690,7 @@ module Aws::AppSync
1667
1690
  # resp.graphql_apis[0].additional_authentication_providers[0].user_pool_config.aws_region #=> String
1668
1691
  # resp.graphql_apis[0].additional_authentication_providers[0].user_pool_config.app_id_client_regex #=> String
1669
1692
  # resp.graphql_apis[0].xray_enabled #=> Boolean
1693
+ # resp.graphql_apis[0].waf_web_acl_arn #=> String
1670
1694
  # resp.next_token #=> String
1671
1695
  #
1672
1696
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListGraphqlApis AWS API Documentation
@@ -2052,7 +2076,7 @@ module Aws::AppSync
2052
2076
  req.send_request(options)
2053
2077
  end
2054
2078
 
2055
- # Updates an API key.
2079
+ # Updates an API key. The key can be updated while it is not deleted.
2056
2080
  #
2057
2081
  # @option params [required, String] :api_id
2058
2082
  # The ID for the GraphQL API.
@@ -2085,6 +2109,7 @@ module Aws::AppSync
2085
2109
  # resp.api_key.id #=> String
2086
2110
  # resp.api_key.description #=> String
2087
2111
  # resp.api_key.expires #=> Integer
2112
+ # resp.api_key.deletes #=> Integer
2088
2113
  #
2089
2114
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateApiKey AWS API Documentation
2090
2115
  #
@@ -2387,6 +2412,7 @@ module Aws::AppSync
2387
2412
  # resp.graphql_api.additional_authentication_providers[0].user_pool_config.aws_region #=> String
2388
2413
  # resp.graphql_api.additional_authentication_providers[0].user_pool_config.app_id_client_regex #=> String
2389
2414
  # resp.graphql_api.xray_enabled #=> Boolean
2415
+ # resp.graphql_api.waf_web_acl_arn #=> String
2390
2416
  #
2391
2417
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateGraphqlApi AWS API Documentation
2392
2418
  #
@@ -2414,6 +2440,14 @@ module Aws::AppSync
2414
2440
  # @option params [String] :request_mapping_template
2415
2441
  # The new request mapping template.
2416
2442
  #
2443
+ # A resolver uses a request mapping template to convert a GraphQL
2444
+ # expression into a format that a data source can understand. Mapping
2445
+ # templates are written in Apache Velocity Template Language (VTL).
2446
+ #
2447
+ # VTL request mapping templates are optional when using a Lambda data
2448
+ # source. For all other data sources, VTL request and response mapping
2449
+ # templates are required.
2450
+ #
2417
2451
  # @option params [String] :response_mapping_template
2418
2452
  # The new response mapping template.
2419
2453
  #
@@ -2552,7 +2586,7 @@ module Aws::AppSync
2552
2586
  params: params,
2553
2587
  config: config)
2554
2588
  context[:gem_name] = 'aws-sdk-appsync'
2555
- context[:gem_version] = '1.31.0'
2589
+ context[:gem_version] = '1.36.0'
2556
2590
  Seahorse::Client::Request.new(handlers, context)
2557
2591
  end
2558
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 seconds.
191
+ # * `ListApiKeys` returns the expiration time and deletion time in
192
+ # seconds.
192
193
  #
193
- # * `CreateApiKey` returns the expiration time in seconds and accepts a
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 in seconds and accepts a
197
- # user-provided expiration time in seconds. Key expiration can only be
198
- # updated while the key has not expired.
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
@@ -360,8 +373,8 @@ module Aws::AppSync
360
373
  # @!attribute [rw] caching_keys
361
374
  # The caching keys for a resolver that has caching enabled.
362
375
  #
363
- # Valid values are entries from the `$context.identity` and
364
- # `$context.arguments` maps.
376
+ # Valid values are entries from the `$context.arguments`,
377
+ # `$context.source`, and `$context.identity` maps.
365
378
  # @return [Array<String>]
366
379
  #
367
380
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CachingConfig AWS API Documentation
@@ -922,6 +935,10 @@ module Aws::AppSync
922
935
  # A resolver uses a request mapping template to convert a GraphQL
923
936
  # expression into a format that a data source can understand. Mapping
924
937
  # templates are written in Apache Velocity Template Language (VTL).
938
+ #
939
+ # VTL request mapping templates are optional when using a Lambda data
940
+ # source. For all other data sources, VTL request and response mapping
941
+ # templates are required.
925
942
  # @return [String]
926
943
  #
927
944
  # @!attribute [rw] response_mapping_template
@@ -1877,6 +1894,11 @@ module Aws::AppSync
1877
1894
  # `GraphqlApi`.
1878
1895
  # @return [Boolean]
1879
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
+ #
1880
1902
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GraphqlApi AWS API Documentation
1881
1903
  #
1882
1904
  class GraphqlApi < Struct.new(
@@ -1890,7 +1912,8 @@ module Aws::AppSync
1890
1912
  :uris,
1891
1913
  :tags,
1892
1914
  :additional_authentication_providers,
1893
- :xray_enabled)
1915
+ :xray_enabled,
1916
+ :waf_web_acl_arn)
1894
1917
  SENSITIVE = []
1895
1918
  include Aws::Structure
1896
1919
  end
@@ -3383,6 +3406,14 @@ module Aws::AppSync
3383
3406
  #
3384
3407
  # @!attribute [rw] request_mapping_template
3385
3408
  # The new request mapping template.
3409
+ #
3410
+ # A resolver uses a request mapping template to convert a GraphQL
3411
+ # expression into a format that a data source can understand. Mapping
3412
+ # templates are written in Apache Velocity Template Language (VTL).
3413
+ #
3414
+ # VTL request mapping templates are optional when using a Lambda data
3415
+ # source. For all other data sources, VTL request and response mapping
3416
+ # templates are required.
3386
3417
  # @return [String]
3387
3418
  #
3388
3419
  # @!attribute [rw] response_mapping_template
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.31.0
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-08-05 00:00:00.000000000 Z
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
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.99.0
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.99.0
32
+ version: 3.109.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement