aws-sdk-appsync 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e1a295d185b031048d428e910e8dc1f6c9b9673d
4
- data.tar.gz: 1607069ee16464e60642cb2efa3c4ad3eefe1754
3
+ metadata.gz: e850081ea9516331e5371af1fdde08778df5c6d8
4
+ data.tar.gz: 79fba034982c175755095dc14580382d49c65118
5
5
  SHA512:
6
- metadata.gz: 7c06293c3b79ac958578ac64417ddeca9fe0696e4f0bcbf08dfc59d747b59dc2b9dec8733790889adebf0619fcd002dcb1b8476b20dd8fd1330ec2685f3867f0
7
- data.tar.gz: b55252c460d81fb7bb75776c10279216ecc05c057593184e5829509ea0f636db88f7957e256f7d359e7a828c23d5c1c56690abb5c2ee369cc9ccbf4b082ea7b7
6
+ metadata.gz: bd6ca2dddd1937bbfeb28b3298afa478799f064534777edb50ec84ac1601514ee025c16f89092900fec06a9fb3d6130e234938a4b761493b1d9297d03427005d
7
+ data.tar.gz: 07b77d888a53585ba0faba6e5340e469b2f757a1fb0ce5e0f026f112dc56384284b0d345aa0641aa82da1166675216c6b8c4149e79f3f1ade67af7a0aa76b1ac
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-appsync/customizations'
42
42
  # @service
43
43
  module Aws::AppSync
44
44
 
45
- GEM_VERSION = '1.0.0'
45
+ GEM_VERSION = '1.1.0'
46
46
 
47
47
  end
@@ -154,6 +154,11 @@ module Aws::AppSync
154
154
  # @option params [String] :description
155
155
  # A description of the purpose of the API key.
156
156
  #
157
+ # @option params [Integer] :expires
158
+ # The time after which the API key expires. The date is represented as
159
+ # seconds since the epoch, rounded down to the nearest hour. The default
160
+ # value for this parameter is 7 days from creation time.
161
+ #
157
162
  # @return [Types::CreateApiKeyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
158
163
  #
159
164
  # * {Types::CreateApiKeyResponse#api_key #api_key} => Types::ApiKey
@@ -163,6 +168,7 @@ module Aws::AppSync
163
168
  # resp = client.create_api_key({
164
169
  # api_id: "String", # required
165
170
  # description: "String",
171
+ # expires: 1,
166
172
  # })
167
173
  #
168
174
  # @example Response structure
@@ -217,7 +223,7 @@ module Aws::AppSync
217
223
  # api_id: "String", # required
218
224
  # name: "ResourceName", # required
219
225
  # description: "String",
220
- # type: "AWS_LAMBDA", # required, accepts AWS_LAMBDA, AMAZON_DYNAMODB, AMAZON_ELASTICSEARCH
226
+ # type: "AWS_LAMBDA", # required, accepts AWS_LAMBDA, AMAZON_DYNAMODB, AMAZON_ELASTICSEARCH, NONE
221
227
  # service_role_arn: "String",
222
228
  # dynamodb_config: {
223
229
  # table_name: "String", # required
@@ -238,7 +244,7 @@ module Aws::AppSync
238
244
  # resp.data_source.data_source_arn #=> String
239
245
  # resp.data_source.name #=> String
240
246
  # resp.data_source.description #=> String
241
- # resp.data_source.type #=> String, one of "AWS_LAMBDA", "AMAZON_DYNAMODB", "AMAZON_ELASTICSEARCH"
247
+ # resp.data_source.type #=> String, one of "AWS_LAMBDA", "AMAZON_DYNAMODB", "AMAZON_ELASTICSEARCH", "NONE"
242
248
  # resp.data_source.service_role_arn #=> String
243
249
  # resp.data_source.dynamodb_config.table_name #=> String
244
250
  # resp.data_source.dynamodb_config.aws_region #=> String
@@ -274,7 +280,7 @@ module Aws::AppSync
274
280
  # @example Request syntax with placeholder values
275
281
  #
276
282
  # resp = client.create_graphql_api({
277
- # name: "ResourceName", # required
283
+ # name: "String", # required
278
284
  # authentication_type: "API_KEY", # required, accepts API_KEY, AWS_IAM, AMAZON_COGNITO_USER_POOLS
279
285
  # user_pool_config: {
280
286
  # user_pool_id: "String", # required
@@ -326,7 +332,7 @@ module Aws::AppSync
326
332
  # @option params [required, String] :request_mapping_template
327
333
  # The mapping template to be used for requests.
328
334
  #
329
- # A resolver use a request mapping template to convert a GraphQL
335
+ # A resolver uses a request mapping template to convert a GraphQL
330
336
  # expression into a format that a data source can understand. Mapping
331
337
  # templates are written in Apache Velocity Template Language (VTL).
332
338
  #
@@ -567,7 +573,7 @@ module Aws::AppSync
567
573
  # resp.data_source.data_source_arn #=> String
568
574
  # resp.data_source.name #=> String
569
575
  # resp.data_source.description #=> String
570
- # resp.data_source.type #=> String, one of "AWS_LAMBDA", "AMAZON_DYNAMODB", "AMAZON_ELASTICSEARCH"
576
+ # resp.data_source.type #=> String, one of "AWS_LAMBDA", "AMAZON_DYNAMODB", "AMAZON_ELASTICSEARCH", "NONE"
571
577
  # resp.data_source.service_role_arn #=> String
572
578
  # resp.data_source.dynamodb_config.table_name #=> String
573
579
  # resp.data_source.dynamodb_config.aws_region #=> String
@@ -840,7 +846,7 @@ module Aws::AppSync
840
846
  # resp.data_sources[0].data_source_arn #=> String
841
847
  # resp.data_sources[0].name #=> String
842
848
  # resp.data_sources[0].description #=> String
843
- # resp.data_sources[0].type #=> String, one of "AWS_LAMBDA", "AMAZON_DYNAMODB", "AMAZON_ELASTICSEARCH"
849
+ # resp.data_sources[0].type #=> String, one of "AWS_LAMBDA", "AMAZON_DYNAMODB", "AMAZON_ELASTICSEARCH", "NONE"
844
850
  # resp.data_sources[0].service_role_arn #=> String
845
851
  # resp.data_sources[0].dynamodb_config.table_name #=> String
846
852
  # resp.data_sources[0].dynamodb_config.aws_region #=> String
@@ -1039,6 +1045,49 @@ module Aws::AppSync
1039
1045
  req.send_request(options)
1040
1046
  end
1041
1047
 
1048
+ # Updates an API key.
1049
+ #
1050
+ # @option params [required, String] :api_id
1051
+ # The ID for the GraphQL API
1052
+ #
1053
+ # @option params [required, String] :id
1054
+ # The API key ID.
1055
+ #
1056
+ # @option params [String] :description
1057
+ # A description of the purpose of the API key.
1058
+ #
1059
+ # @option params [Integer] :expires
1060
+ # The time after which the API key expires. The date is represented as
1061
+ # seconds since the epoch.
1062
+ #
1063
+ # @return [Types::UpdateApiKeyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1064
+ #
1065
+ # * {Types::UpdateApiKeyResponse#api_key #api_key} => Types::ApiKey
1066
+ #
1067
+ # @example Request syntax with placeholder values
1068
+ #
1069
+ # resp = client.update_api_key({
1070
+ # api_id: "String", # required
1071
+ # id: "String", # required
1072
+ # description: "String",
1073
+ # expires: 1,
1074
+ # })
1075
+ #
1076
+ # @example Response structure
1077
+ #
1078
+ # resp.api_key.id #=> String
1079
+ # resp.api_key.description #=> String
1080
+ # resp.api_key.expires #=> Integer
1081
+ #
1082
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateApiKey AWS API Documentation
1083
+ #
1084
+ # @overload update_api_key(params = {})
1085
+ # @param [Hash] params ({})
1086
+ def update_api_key(params = {}, options = {})
1087
+ req = build_request(:update_api_key, params)
1088
+ req.send_request(options)
1089
+ end
1090
+
1042
1091
  # Updates a `DataSource` object.
1043
1092
  #
1044
1093
  # @option params [required, String] :api_id
@@ -1075,7 +1124,7 @@ module Aws::AppSync
1075
1124
  # api_id: "String", # required
1076
1125
  # name: "ResourceName", # required
1077
1126
  # description: "String",
1078
- # type: "AWS_LAMBDA", # required, accepts AWS_LAMBDA, AMAZON_DYNAMODB, AMAZON_ELASTICSEARCH
1127
+ # type: "AWS_LAMBDA", # required, accepts AWS_LAMBDA, AMAZON_DYNAMODB, AMAZON_ELASTICSEARCH, NONE
1079
1128
  # service_role_arn: "String",
1080
1129
  # dynamodb_config: {
1081
1130
  # table_name: "String", # required
@@ -1096,7 +1145,7 @@ module Aws::AppSync
1096
1145
  # resp.data_source.data_source_arn #=> String
1097
1146
  # resp.data_source.name #=> String
1098
1147
  # resp.data_source.description #=> String
1099
- # resp.data_source.type #=> String, one of "AWS_LAMBDA", "AMAZON_DYNAMODB", "AMAZON_ELASTICSEARCH"
1148
+ # resp.data_source.type #=> String, one of "AWS_LAMBDA", "AMAZON_DYNAMODB", "AMAZON_ELASTICSEARCH", "NONE"
1100
1149
  # resp.data_source.service_role_arn #=> String
1101
1150
  # resp.data_source.dynamodb_config.table_name #=> String
1102
1151
  # resp.data_source.dynamodb_config.aws_region #=> String
@@ -1137,7 +1186,7 @@ module Aws::AppSync
1137
1186
  #
1138
1187
  # resp = client.update_graphql_api({
1139
1188
  # api_id: "String", # required
1140
- # name: "ResourceName", # required
1189
+ # name: "String", # required
1141
1190
  # authentication_type: "API_KEY", # accepts API_KEY, AWS_IAM, AMAZON_COGNITO_USER_POOLS
1142
1191
  # user_pool_config: {
1143
1192
  # user_pool_id: "String", # required
@@ -1279,7 +1328,7 @@ module Aws::AppSync
1279
1328
  params: params,
1280
1329
  config: config)
1281
1330
  context[:gem_name] = 'aws-sdk-appsync'
1282
- context[:gem_version] = '1.0.0'
1331
+ context[:gem_version] = '1.1.0'
1283
1332
  Seahorse::Client::Request.new(handlers, context)
1284
1333
  end
1285
1334
 
@@ -13,6 +13,7 @@ module Aws::AppSync
13
13
 
14
14
  ApiKey = Shapes::StructureShape.new(name: 'ApiKey')
15
15
  ApiKeyLimitExceededException = Shapes::StructureShape.new(name: 'ApiKeyLimitExceededException')
16
+ ApiKeyValidityOutOfBoundsException = Shapes::StructureShape.new(name: 'ApiKeyValidityOutOfBoundsException')
16
17
  ApiKeys = Shapes::ListShape.new(name: 'ApiKeys')
17
18
  ApiLimitExceededException = Shapes::StructureShape.new(name: 'ApiLimitExceededException')
18
19
  AuthenticationType = Shapes::StringShape.new(name: 'AuthenticationType')
@@ -93,6 +94,8 @@ module Aws::AppSync
93
94
  TypeDefinitionFormat = Shapes::StringShape.new(name: 'TypeDefinitionFormat')
94
95
  TypeList = Shapes::ListShape.new(name: 'TypeList')
95
96
  UnauthorizedException = Shapes::StructureShape.new(name: 'UnauthorizedException')
97
+ UpdateApiKeyRequest = Shapes::StructureShape.new(name: 'UpdateApiKeyRequest')
98
+ UpdateApiKeyResponse = Shapes::StructureShape.new(name: 'UpdateApiKeyResponse')
96
99
  UpdateDataSourceRequest = Shapes::StructureShape.new(name: 'UpdateDataSourceRequest')
97
100
  UpdateDataSourceResponse = Shapes::StructureShape.new(name: 'UpdateDataSourceResponse')
98
101
  UpdateGraphqlApiRequest = Shapes::StructureShape.new(name: 'UpdateGraphqlApiRequest')
@@ -112,6 +115,7 @@ module Aws::AppSync
112
115
 
113
116
  CreateApiKeyRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "apiId"))
114
117
  CreateApiKeyRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
118
+ CreateApiKeyRequest.add_member(:expires, Shapes::ShapeRef.new(shape: Long, location_name: "expires"))
115
119
  CreateApiKeyRequest.struct_class = Types::CreateApiKeyRequest
116
120
 
117
121
  CreateApiKeyResponse.add_member(:api_key, Shapes::ShapeRef.new(shape: ApiKey, location_name: "apiKey"))
@@ -130,7 +134,7 @@ module Aws::AppSync
130
134
  CreateDataSourceResponse.add_member(:data_source, Shapes::ShapeRef.new(shape: DataSource, location_name: "dataSource"))
131
135
  CreateDataSourceResponse.struct_class = Types::CreateDataSourceResponse
132
136
 
133
- CreateGraphqlApiRequest.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "name"))
137
+ CreateGraphqlApiRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
134
138
  CreateGraphqlApiRequest.add_member(:authentication_type, Shapes::ShapeRef.new(shape: AuthenticationType, required: true, location_name: "authenticationType"))
135
139
  CreateGraphqlApiRequest.add_member(:user_pool_config, Shapes::ShapeRef.new(shape: UserPoolConfig, location_name: "userPoolConfig"))
136
140
  CreateGraphqlApiRequest.struct_class = Types::CreateGraphqlApiRequest
@@ -341,6 +345,15 @@ module Aws::AppSync
341
345
 
342
346
  TypeList.member = Shapes::ShapeRef.new(shape: Type)
343
347
 
348
+ UpdateApiKeyRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "apiId"))
349
+ UpdateApiKeyRequest.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "id"))
350
+ UpdateApiKeyRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
351
+ UpdateApiKeyRequest.add_member(:expires, Shapes::ShapeRef.new(shape: Long, location_name: "expires"))
352
+ UpdateApiKeyRequest.struct_class = Types::UpdateApiKeyRequest
353
+
354
+ UpdateApiKeyResponse.add_member(:api_key, Shapes::ShapeRef.new(shape: ApiKey, location_name: "apiKey"))
355
+ UpdateApiKeyResponse.struct_class = Types::UpdateApiKeyResponse
356
+
344
357
  UpdateDataSourceRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "apiId"))
345
358
  UpdateDataSourceRequest.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "name"))
346
359
  UpdateDataSourceRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
@@ -355,7 +368,7 @@ module Aws::AppSync
355
368
  UpdateDataSourceResponse.struct_class = Types::UpdateDataSourceResponse
356
369
 
357
370
  UpdateGraphqlApiRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "apiId"))
358
- UpdateGraphqlApiRequest.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "name"))
371
+ UpdateGraphqlApiRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
359
372
  UpdateGraphqlApiRequest.add_member(:authentication_type, Shapes::ShapeRef.new(shape: AuthenticationType, location_name: "authenticationType"))
360
373
  UpdateGraphqlApiRequest.add_member(:user_pool_config, Shapes::ShapeRef.new(shape: UserPoolConfig, location_name: "userPoolConfig"))
361
374
  UpdateGraphqlApiRequest.struct_class = Types::UpdateGraphqlApiRequest
@@ -417,6 +430,7 @@ module Aws::AppSync
417
430
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
418
431
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
419
432
  o.errors << Shapes::ShapeRef.new(shape: ApiKeyLimitExceededException)
433
+ o.errors << Shapes::ShapeRef.new(shape: ApiKeyValidityOutOfBoundsException)
420
434
  end)
421
435
 
422
436
  api.add_operation(:create_data_source, Seahorse::Model::Operation.new.tap do |o|
@@ -681,6 +695,20 @@ module Aws::AppSync
681
695
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
682
696
  end)
683
697
 
698
+ api.add_operation(:update_api_key, Seahorse::Model::Operation.new.tap do |o|
699
+ o.name = "UpdateApiKey"
700
+ o.http_method = "POST"
701
+ o.http_request_uri = "/v1/apis/{apiId}/apikeys/{id}"
702
+ o.input = Shapes::ShapeRef.new(shape: UpdateApiKeyRequest)
703
+ o.output = Shapes::ShapeRef.new(shape: UpdateApiKeyResponse)
704
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
705
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
706
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
707
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
708
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
709
+ o.errors << Shapes::ShapeRef.new(shape: ApiKeyValidityOutOfBoundsException)
710
+ end)
711
+
684
712
  api.add_operation(:update_data_source, Seahorse::Model::Operation.new.tap do |o|
685
713
  o.name = "UpdateDataSource"
686
714
  o.http_method = "POST"
@@ -19,7 +19,8 @@ module Aws::AppSync
19
19
  # @return [String]
20
20
  #
21
21
  # @!attribute [rw] expires
22
- # The time when the API key expires.
22
+ # The time after which the API key expires. The date is represented as
23
+ # seconds since the epoch, rounded down to the nearest hour.
23
24
  # @return [Integer]
24
25
  #
25
26
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ApiKey AWS API Documentation
@@ -37,6 +38,7 @@ module Aws::AppSync
37
38
  # {
38
39
  # api_id: "String", # required
39
40
  # description: "String",
41
+ # expires: 1,
40
42
  # }
41
43
  #
42
44
  # @!attribute [rw] api_id
@@ -47,11 +49,18 @@ module Aws::AppSync
47
49
  # A description of the purpose of the API key.
48
50
  # @return [String]
49
51
  #
52
+ # @!attribute [rw] expires
53
+ # The time after which the API key expires. The date is represented as
54
+ # seconds since the epoch, rounded down to the nearest hour. The
55
+ # default value for this parameter is 7 days from creation time.
56
+ # @return [Integer]
57
+ #
50
58
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateApiKeyRequest AWS API Documentation
51
59
  #
52
60
  class CreateApiKeyRequest < Struct.new(
53
61
  :api_id,
54
- :description)
62
+ :description,
63
+ :expires)
55
64
  include Aws::Structure
56
65
  end
57
66
 
@@ -73,7 +82,7 @@ module Aws::AppSync
73
82
  # api_id: "String", # required
74
83
  # name: "ResourceName", # required
75
84
  # description: "String",
76
- # type: "AWS_LAMBDA", # required, accepts AWS_LAMBDA, AMAZON_DYNAMODB, AMAZON_ELASTICSEARCH
85
+ # type: "AWS_LAMBDA", # required, accepts AWS_LAMBDA, AMAZON_DYNAMODB, AMAZON_ELASTICSEARCH, NONE
77
86
  # service_role_arn: "String",
78
87
  # dynamodb_config: {
79
88
  # table_name: "String", # required
@@ -151,7 +160,7 @@ module Aws::AppSync
151
160
  # data as a hash:
152
161
  #
153
162
  # {
154
- # name: "ResourceName", # required
163
+ # name: "String", # required
155
164
  # authentication_type: "API_KEY", # required, accepts API_KEY, AWS_IAM, AMAZON_COGNITO_USER_POOLS
156
165
  # user_pool_config: {
157
166
  # user_pool_id: "String", # required
@@ -224,7 +233,7 @@ module Aws::AppSync
224
233
  # @!attribute [rw] request_mapping_template
225
234
  # The mapping template to be used for requests.
226
235
  #
227
- # A resolver use a request mapping template to convert a GraphQL
236
+ # A resolver uses a request mapping template to convert a GraphQL
228
237
  # expression into a format that a data source can understand. Mapping
229
238
  # templates are written in Apache Velocity Template Language (VTL).
230
239
  # @return [String]
@@ -320,6 +329,18 @@ module Aws::AppSync
320
329
  #
321
330
  # @!attribute [rw] type
322
331
  # The type of the data source.
332
+ #
333
+ # * **AMAZON\_DYNAMODB**\: The data source is an Amazon DynamoDB
334
+ # table.
335
+ #
336
+ # * **AMAZON\_ELASTICSEARCH**\: The data source is an Amazon
337
+ # Elasticsearch Service domain.
338
+ #
339
+ # * **AWS\_LAMBDA**\: The data source is an AWS Lambda function.
340
+ #
341
+ # * **NONE**\: There is no data source. This type is used when the
342
+ # required information can be computed on the fly without connecting
343
+ # to a back-end data source.
323
344
  # @return [String]
324
345
  #
325
346
  # @!attribute [rw] service_role_arn
@@ -1190,6 +1211,54 @@ module Aws::AppSync
1190
1211
  include Aws::Structure
1191
1212
  end
1192
1213
 
1214
+ # @note When making an API call, you may pass UpdateApiKeyRequest
1215
+ # data as a hash:
1216
+ #
1217
+ # {
1218
+ # api_id: "String", # required
1219
+ # id: "String", # required
1220
+ # description: "String",
1221
+ # expires: 1,
1222
+ # }
1223
+ #
1224
+ # @!attribute [rw] api_id
1225
+ # The ID for the GraphQL API
1226
+ # @return [String]
1227
+ #
1228
+ # @!attribute [rw] id
1229
+ # The API key ID.
1230
+ # @return [String]
1231
+ #
1232
+ # @!attribute [rw] description
1233
+ # A description of the purpose of the API key.
1234
+ # @return [String]
1235
+ #
1236
+ # @!attribute [rw] expires
1237
+ # The time after which the API key expires. The date is represented as
1238
+ # seconds since the epoch.
1239
+ # @return [Integer]
1240
+ #
1241
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateApiKeyRequest AWS API Documentation
1242
+ #
1243
+ class UpdateApiKeyRequest < Struct.new(
1244
+ :api_id,
1245
+ :id,
1246
+ :description,
1247
+ :expires)
1248
+ include Aws::Structure
1249
+ end
1250
+
1251
+ # @!attribute [rw] api_key
1252
+ # The API key.
1253
+ # @return [Types::ApiKey]
1254
+ #
1255
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateApiKeyResponse AWS API Documentation
1256
+ #
1257
+ class UpdateApiKeyResponse < Struct.new(
1258
+ :api_key)
1259
+ include Aws::Structure
1260
+ end
1261
+
1193
1262
  # @note When making an API call, you may pass UpdateDataSourceRequest
1194
1263
  # data as a hash:
1195
1264
  #
@@ -1197,7 +1266,7 @@ module Aws::AppSync
1197
1266
  # api_id: "String", # required
1198
1267
  # name: "ResourceName", # required
1199
1268
  # description: "String",
1200
- # type: "AWS_LAMBDA", # required, accepts AWS_LAMBDA, AMAZON_DYNAMODB, AMAZON_ELASTICSEARCH
1269
+ # type: "AWS_LAMBDA", # required, accepts AWS_LAMBDA, AMAZON_DYNAMODB, AMAZON_ELASTICSEARCH, NONE
1201
1270
  # service_role_arn: "String",
1202
1271
  # dynamodb_config: {
1203
1272
  # table_name: "String", # required
@@ -1275,7 +1344,7 @@ module Aws::AppSync
1275
1344
  #
1276
1345
  # {
1277
1346
  # api_id: "String", # required
1278
- # name: "ResourceName", # required
1347
+ # name: "String", # required
1279
1348
  # authentication_type: "API_KEY", # accepts API_KEY, AWS_IAM, AMAZON_COGNITO_USER_POOLS
1280
1349
  # user_pool_config: {
1281
1350
  # user_pool_id: "String", # required
@@ -1313,7 +1382,7 @@ module Aws::AppSync
1313
1382
  end
1314
1383
 
1315
1384
  # @!attribute [rw] graphql_api
1316
- # The udpated `GraphqlApi` object.
1385
+ # The updated `GraphqlApi` object.
1317
1386
  # @return [Types::GraphqlApi]
1318
1387
  #
1319
1388
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateGraphqlApiResponse AWS API Documentation
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.0.0
4
+ version: 1.1.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: 2017-11-29 00:00:00.000000000 Z
11
+ date: 2018-02-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core