aws-sdk-appsync 1.12.0 → 1.13.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: 7f5671ec4b3fbd08ebb04e0d3fa35c18467e500c
4
- data.tar.gz: d877334102dd674077a41377e4beca20cae2b733
3
+ metadata.gz: 12fc1a53a194a93d4efade25a8e8f0fd278ed721
4
+ data.tar.gz: 3651721564c37939b6113f5a0af1b6d9f76c5493
5
5
  SHA512:
6
- metadata.gz: dda3f181f0fa39adc986e499d5688690d31ee10bdc542f5c4d4b0a844d0a963de49bea130633d50ff8d942f6a052b07be9e8257cff458132e799cf7cd482d93a
7
- data.tar.gz: 6d8c76675fee8853556e52670c78d1fc112c42897e40c81fbc972bf18d5e5f2910e3143db008e4ddddf3ba63fdd11afdd0d03b686db1f669ce30a96b13274f3e
6
+ metadata.gz: fade32e71c4faa21ecbb05df2c8cb8df397eab61aa7e6ac1946ed3a18ed1e6896f964deb52b804f11e9236275976fc0a8209b5d19c0c863fb01459b315d4fdb0
7
+ data.tar.gz: '09f5384dd869c904bbb0468bcfc12af36a4188a4d839cfdc597f41b25ac24926a5bb880440c93608a22e1645a1201629fc61661195db335d48891e00bf2921e0'
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-appsync/customizations'
42
42
  # @service
43
43
  module Aws::AppSync
44
44
 
45
- GEM_VERSION = '1.12.0'
45
+ GEM_VERSION = '1.13.0'
46
46
 
47
47
  end
@@ -199,6 +199,49 @@ module Aws::AppSync
199
199
  # When `true`, request parameters are validated before
200
200
  # sending the request.
201
201
  #
202
+ # @option options [URI::HTTP,String] :http_proxy A proxy to send
203
+ # requests through. Formatted like 'http://proxy.com:123'.
204
+ #
205
+ # @option options [Float] :http_open_timeout (15) The number of
206
+ # seconds to wait when opening a HTTP session before rasing a
207
+ # `Timeout::Error`.
208
+ #
209
+ # @option options [Integer] :http_read_timeout (60) The default
210
+ # number of seconds to wait for response data. This value can
211
+ # safely be set
212
+ # per-request on the session yeidled by {#session_for}.
213
+ #
214
+ # @option options [Float] :http_idle_timeout (5) The number of
215
+ # seconds a connection is allowed to sit idble before it is
216
+ # considered stale. Stale connections are closed and removed
217
+ # from the pool before making a request.
218
+ #
219
+ # @option options [Float] :http_continue_timeout (1) The number of
220
+ # seconds to wait for a 100-continue response before sending the
221
+ # request body. This option has no effect unless the request has
222
+ # "Expect" header set to "100-continue". Defaults to `nil` which
223
+ # disables this behaviour. This value can safely be set per
224
+ # request on the session yeidled by {#session_for}.
225
+ #
226
+ # @option options [Boolean] :http_wire_trace (false) When `true`,
227
+ # HTTP debug output will be sent to the `:logger`.
228
+ #
229
+ # @option options [Boolean] :ssl_verify_peer (true) When `true`,
230
+ # SSL peer certificates are verified when establishing a
231
+ # connection.
232
+ #
233
+ # @option options [String] :ssl_ca_bundle Full path to the SSL
234
+ # certificate authority bundle file that should be used when
235
+ # verifying peer certificates. If you do not pass
236
+ # `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
237
+ # will be used if available.
238
+ #
239
+ # @option options [String] :ssl_ca_directory Full path of the
240
+ # directory that contains the unbundled SSL certificate
241
+ # authority files for verifying peer certificates. If you do
242
+ # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
243
+ # system default will be used if available.
244
+ #
202
245
  def initialize(*args)
203
246
  super
204
247
  end
@@ -432,8 +475,8 @@ module Aws::AppSync
432
475
  # The Amazon CloudWatch Logs configuration.
433
476
  #
434
477
  # @option params [required, String] :authentication_type
435
- # The authentication type: API key, AWS IAM, or Amazon Cognito user
436
- # pools.
478
+ # The authentication type: API key, AWS IAM, OIDC, or Amazon Cognito
479
+ # user pools.
437
480
  #
438
481
  # @option params [Types::UserPoolConfig] :user_pool_config
439
482
  # The Amazon Cognito user pool configuration.
@@ -441,6 +484,13 @@ module Aws::AppSync
441
484
  # @option params [Types::OpenIDConnectConfig] :open_id_connect_config
442
485
  # The OpenID Connect configuration.
443
486
  #
487
+ # @option params [Hash<String,String>] :tags
488
+ # A `TagMap` object.
489
+ #
490
+ # @option params [Array<Types::AdditionalAuthenticationProvider>] :additional_authentication_providers
491
+ # A list of additional authentication providers for the `GraphqlApi`
492
+ # API.
493
+ #
444
494
  # @return [Types::CreateGraphqlApiResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
445
495
  #
446
496
  # * {Types::CreateGraphqlApiResponse#graphql_api #graphql_api} => Types::GraphqlApi
@@ -466,6 +516,25 @@ module Aws::AppSync
466
516
  # iat_ttl: 1,
467
517
  # auth_ttl: 1,
468
518
  # },
519
+ # tags: {
520
+ # "TagKey" => "TagValue",
521
+ # },
522
+ # additional_authentication_providers: [
523
+ # {
524
+ # authentication_type: "API_KEY", # accepts API_KEY, AWS_IAM, AMAZON_COGNITO_USER_POOLS, OPENID_CONNECT
525
+ # open_id_connect_config: {
526
+ # issuer: "String", # required
527
+ # client_id: "String",
528
+ # iat_ttl: 1,
529
+ # auth_ttl: 1,
530
+ # },
531
+ # user_pool_config: {
532
+ # user_pool_id: "String", # required
533
+ # aws_region: "String", # required
534
+ # app_id_client_regex: "String",
535
+ # },
536
+ # },
537
+ # ],
469
538
  # })
470
539
  #
471
540
  # @example Response structure
@@ -486,6 +555,17 @@ module Aws::AppSync
486
555
  # resp.graphql_api.arn #=> String
487
556
  # resp.graphql_api.uris #=> Hash
488
557
  # resp.graphql_api.uris["String"] #=> String
558
+ # resp.graphql_api.tags #=> Hash
559
+ # resp.graphql_api.tags["TagKey"] #=> String
560
+ # resp.graphql_api.additional_authentication_providers #=> Array
561
+ # resp.graphql_api.additional_authentication_providers[0].authentication_type #=> String, one of "API_KEY", "AWS_IAM", "AMAZON_COGNITO_USER_POOLS", "OPENID_CONNECT"
562
+ # resp.graphql_api.additional_authentication_providers[0].open_id_connect_config.issuer #=> String
563
+ # resp.graphql_api.additional_authentication_providers[0].open_id_connect_config.client_id #=> String
564
+ # resp.graphql_api.additional_authentication_providers[0].open_id_connect_config.iat_ttl #=> Integer
565
+ # resp.graphql_api.additional_authentication_providers[0].open_id_connect_config.auth_ttl #=> Integer
566
+ # resp.graphql_api.additional_authentication_providers[0].user_pool_config.user_pool_id #=> String
567
+ # resp.graphql_api.additional_authentication_providers[0].user_pool_config.aws_region #=> String
568
+ # resp.graphql_api.additional_authentication_providers[0].user_pool_config.app_id_client_regex #=> String
489
569
  #
490
570
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateGraphqlApi AWS API Documentation
491
571
  #
@@ -905,6 +985,17 @@ module Aws::AppSync
905
985
  # resp.graphql_api.arn #=> String
906
986
  # resp.graphql_api.uris #=> Hash
907
987
  # resp.graphql_api.uris["String"] #=> String
988
+ # resp.graphql_api.tags #=> Hash
989
+ # resp.graphql_api.tags["TagKey"] #=> String
990
+ # resp.graphql_api.additional_authentication_providers #=> Array
991
+ # resp.graphql_api.additional_authentication_providers[0].authentication_type #=> String, one of "API_KEY", "AWS_IAM", "AMAZON_COGNITO_USER_POOLS", "OPENID_CONNECT"
992
+ # resp.graphql_api.additional_authentication_providers[0].open_id_connect_config.issuer #=> String
993
+ # resp.graphql_api.additional_authentication_providers[0].open_id_connect_config.client_id #=> String
994
+ # resp.graphql_api.additional_authentication_providers[0].open_id_connect_config.iat_ttl #=> Integer
995
+ # resp.graphql_api.additional_authentication_providers[0].open_id_connect_config.auth_ttl #=> Integer
996
+ # resp.graphql_api.additional_authentication_providers[0].user_pool_config.user_pool_id #=> String
997
+ # resp.graphql_api.additional_authentication_providers[0].user_pool_config.aws_region #=> String
998
+ # resp.graphql_api.additional_authentication_providers[0].user_pool_config.app_id_client_regex #=> String
908
999
  #
909
1000
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetGraphqlApi AWS API Documentation
910
1001
  #
@@ -923,6 +1014,10 @@ module Aws::AppSync
923
1014
  # @option params [required, String] :format
924
1015
  # The schema format: SDL or JSON.
925
1016
  #
1017
+ # @option params [Boolean] :include_directives
1018
+ # A flag that specifies whether the schema introspection should contain
1019
+ # directives.
1020
+ #
926
1021
  # @return [Types::GetIntrospectionSchemaResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
927
1022
  #
928
1023
  # * {Types::GetIntrospectionSchemaResponse#schema #schema} => String
@@ -932,6 +1027,7 @@ module Aws::AppSync
932
1027
  # resp = client.get_introspection_schema({
933
1028
  # api_id: "String", # required
934
1029
  # format: "SDL", # required, accepts SDL, JSON
1030
+ # include_directives: false,
935
1031
  # })
936
1032
  #
937
1033
  # @example Response structure
@@ -1009,7 +1105,7 @@ module Aws::AppSync
1009
1105
  #
1010
1106
  # @example Response structure
1011
1107
  #
1012
- # resp.status #=> String, one of "PROCESSING", "ACTIVE", "DELETING"
1108
+ # resp.status #=> String, one of "PROCESSING", "ACTIVE", "DELETING", "FAILED", "SUCCESS", "NOT_APPLICABLE"
1013
1109
  # resp.details #=> String
1014
1110
  #
1015
1111
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetSchemaCreationStatus AWS API Documentation
@@ -1261,6 +1357,17 @@ module Aws::AppSync
1261
1357
  # resp.graphql_apis[0].arn #=> String
1262
1358
  # resp.graphql_apis[0].uris #=> Hash
1263
1359
  # resp.graphql_apis[0].uris["String"] #=> String
1360
+ # resp.graphql_apis[0].tags #=> Hash
1361
+ # resp.graphql_apis[0].tags["TagKey"] #=> String
1362
+ # resp.graphql_apis[0].additional_authentication_providers #=> Array
1363
+ # resp.graphql_apis[0].additional_authentication_providers[0].authentication_type #=> String, one of "API_KEY", "AWS_IAM", "AMAZON_COGNITO_USER_POOLS", "OPENID_CONNECT"
1364
+ # resp.graphql_apis[0].additional_authentication_providers[0].open_id_connect_config.issuer #=> String
1365
+ # resp.graphql_apis[0].additional_authentication_providers[0].open_id_connect_config.client_id #=> String
1366
+ # resp.graphql_apis[0].additional_authentication_providers[0].open_id_connect_config.iat_ttl #=> Integer
1367
+ # resp.graphql_apis[0].additional_authentication_providers[0].open_id_connect_config.auth_ttl #=> Integer
1368
+ # resp.graphql_apis[0].additional_authentication_providers[0].user_pool_config.user_pool_id #=> String
1369
+ # resp.graphql_apis[0].additional_authentication_providers[0].user_pool_config.aws_region #=> String
1370
+ # resp.graphql_apis[0].additional_authentication_providers[0].user_pool_config.app_id_client_regex #=> String
1264
1371
  # resp.next_token #=> String
1265
1372
  #
1266
1373
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListGraphqlApis AWS API Documentation
@@ -1378,6 +1485,35 @@ module Aws::AppSync
1378
1485
  req.send_request(options)
1379
1486
  end
1380
1487
 
1488
+ # Lists the tags for a resource.
1489
+ #
1490
+ # @option params [required, String] :resource_arn
1491
+ # The `GraphqlApi` ARN.
1492
+ #
1493
+ # @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1494
+ #
1495
+ # * {Types::ListTagsForResourceResponse#tags #tags} => Hash&lt;String,String&gt;
1496
+ #
1497
+ # @example Request syntax with placeholder values
1498
+ #
1499
+ # resp = client.list_tags_for_resource({
1500
+ # resource_arn: "ResourceArn", # required
1501
+ # })
1502
+ #
1503
+ # @example Response structure
1504
+ #
1505
+ # resp.tags #=> Hash
1506
+ # resp.tags["TagKey"] #=> String
1507
+ #
1508
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListTagsForResource AWS API Documentation
1509
+ #
1510
+ # @overload list_tags_for_resource(params = {})
1511
+ # @param [Hash] params ({})
1512
+ def list_tags_for_resource(params = {}, options = {})
1513
+ req = build_request(:list_tags_for_resource, params)
1514
+ req.send_request(options)
1515
+ end
1516
+
1381
1517
  # Lists the types for a given API.
1382
1518
  #
1383
1519
  # @option params [required, String] :api_id
@@ -1451,7 +1587,7 @@ module Aws::AppSync
1451
1587
  #
1452
1588
  # @example Response structure
1453
1589
  #
1454
- # resp.status #=> String, one of "PROCESSING", "ACTIVE", "DELETING"
1590
+ # resp.status #=> String, one of "PROCESSING", "ACTIVE", "DELETING", "FAILED", "SUCCESS", "NOT_APPLICABLE"
1455
1591
  #
1456
1592
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/StartSchemaCreation AWS API Documentation
1457
1593
  #
@@ -1462,6 +1598,60 @@ module Aws::AppSync
1462
1598
  req.send_request(options)
1463
1599
  end
1464
1600
 
1601
+ # Tags a resource with user-supplied tags.
1602
+ #
1603
+ # @option params [required, String] :resource_arn
1604
+ # The `GraphqlApi` ARN.
1605
+ #
1606
+ # @option params [required, Hash<String,String>] :tags
1607
+ # A `TagMap` object.
1608
+ #
1609
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1610
+ #
1611
+ # @example Request syntax with placeholder values
1612
+ #
1613
+ # resp = client.tag_resource({
1614
+ # resource_arn: "ResourceArn", # required
1615
+ # tags: { # required
1616
+ # "TagKey" => "TagValue",
1617
+ # },
1618
+ # })
1619
+ #
1620
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/TagResource AWS API Documentation
1621
+ #
1622
+ # @overload tag_resource(params = {})
1623
+ # @param [Hash] params ({})
1624
+ def tag_resource(params = {}, options = {})
1625
+ req = build_request(:tag_resource, params)
1626
+ req.send_request(options)
1627
+ end
1628
+
1629
+ # Untags a resource.
1630
+ #
1631
+ # @option params [required, String] :resource_arn
1632
+ # The `GraphqlApi` ARN.
1633
+ #
1634
+ # @option params [required, Array<String>] :tag_keys
1635
+ # A list of `TagKey` objects.
1636
+ #
1637
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1638
+ #
1639
+ # @example Request syntax with placeholder values
1640
+ #
1641
+ # resp = client.untag_resource({
1642
+ # resource_arn: "ResourceArn", # required
1643
+ # tag_keys: ["TagKey"], # required
1644
+ # })
1645
+ #
1646
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UntagResource AWS API Documentation
1647
+ #
1648
+ # @overload untag_resource(params = {})
1649
+ # @param [Hash] params ({})
1650
+ def untag_resource(params = {}, options = {})
1651
+ req = build_request(:untag_resource, params)
1652
+ req.send_request(options)
1653
+ end
1654
+
1465
1655
  # Updates an API key.
1466
1656
  #
1467
1657
  # @option params [required, String] :api_id
@@ -1702,6 +1892,10 @@ module Aws::AppSync
1702
1892
  # @option params [Types::OpenIDConnectConfig] :open_id_connect_config
1703
1893
  # The OpenID Connect configuration for the `GraphqlApi` object.
1704
1894
  #
1895
+ # @option params [Array<Types::AdditionalAuthenticationProvider>] :additional_authentication_providers
1896
+ # A list of additional authentication providers for the `GraphqlApi`
1897
+ # API.
1898
+ #
1705
1899
  # @return [Types::UpdateGraphqlApiResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1706
1900
  #
1707
1901
  # * {Types::UpdateGraphqlApiResponse#graphql_api #graphql_api} => Types::GraphqlApi
@@ -1728,6 +1922,22 @@ module Aws::AppSync
1728
1922
  # iat_ttl: 1,
1729
1923
  # auth_ttl: 1,
1730
1924
  # },
1925
+ # additional_authentication_providers: [
1926
+ # {
1927
+ # authentication_type: "API_KEY", # accepts API_KEY, AWS_IAM, AMAZON_COGNITO_USER_POOLS, OPENID_CONNECT
1928
+ # open_id_connect_config: {
1929
+ # issuer: "String", # required
1930
+ # client_id: "String",
1931
+ # iat_ttl: 1,
1932
+ # auth_ttl: 1,
1933
+ # },
1934
+ # user_pool_config: {
1935
+ # user_pool_id: "String", # required
1936
+ # aws_region: "String", # required
1937
+ # app_id_client_regex: "String",
1938
+ # },
1939
+ # },
1940
+ # ],
1731
1941
  # })
1732
1942
  #
1733
1943
  # @example Response structure
@@ -1748,6 +1958,17 @@ module Aws::AppSync
1748
1958
  # resp.graphql_api.arn #=> String
1749
1959
  # resp.graphql_api.uris #=> Hash
1750
1960
  # resp.graphql_api.uris["String"] #=> String
1961
+ # resp.graphql_api.tags #=> Hash
1962
+ # resp.graphql_api.tags["TagKey"] #=> String
1963
+ # resp.graphql_api.additional_authentication_providers #=> Array
1964
+ # resp.graphql_api.additional_authentication_providers[0].authentication_type #=> String, one of "API_KEY", "AWS_IAM", "AMAZON_COGNITO_USER_POOLS", "OPENID_CONNECT"
1965
+ # resp.graphql_api.additional_authentication_providers[0].open_id_connect_config.issuer #=> String
1966
+ # resp.graphql_api.additional_authentication_providers[0].open_id_connect_config.client_id #=> String
1967
+ # resp.graphql_api.additional_authentication_providers[0].open_id_connect_config.iat_ttl #=> Integer
1968
+ # resp.graphql_api.additional_authentication_providers[0].open_id_connect_config.auth_ttl #=> Integer
1969
+ # resp.graphql_api.additional_authentication_providers[0].user_pool_config.user_pool_id #=> String
1970
+ # resp.graphql_api.additional_authentication_providers[0].user_pool_config.aws_region #=> String
1971
+ # resp.graphql_api.additional_authentication_providers[0].user_pool_config.app_id_client_regex #=> String
1751
1972
  #
1752
1973
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateGraphqlApi AWS API Documentation
1753
1974
  #
@@ -1890,7 +2111,7 @@ module Aws::AppSync
1890
2111
  params: params,
1891
2112
  config: config)
1892
2113
  context[:gem_name] = 'aws-sdk-appsync'
1893
- context[:gem_version] = '1.12.0'
2114
+ context[:gem_version] = '1.13.0'
1894
2115
  Seahorse::Client::Request.new(handlers, context)
1895
2116
  end
1896
2117
 
@@ -11,6 +11,9 @@ module Aws::AppSync
11
11
 
12
12
  include Seahorse::Model
13
13
 
14
+ AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
15
+ AdditionalAuthenticationProvider = Shapes::StructureShape.new(name: 'AdditionalAuthenticationProvider')
16
+ AdditionalAuthenticationProviders = Shapes::ListShape.new(name: 'AdditionalAuthenticationProviders')
14
17
  ApiKey = Shapes::StructureShape.new(name: 'ApiKey')
15
18
  ApiKeyLimitExceededException = Shapes::StructureShape.new(name: 'ApiKeyLimitExceededException')
16
19
  ApiKeyValidityOutOfBoundsException = Shapes::StructureShape.new(name: 'ApiKeyValidityOutOfBoundsException')
@@ -23,6 +26,8 @@ module Aws::AppSync
23
26
  BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
24
27
  Blob = Shapes::BlobShape.new(name: 'Blob')
25
28
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
29
+ BooleanValue = Shapes::BooleanShape.new(name: 'BooleanValue')
30
+ CognitoUserPoolConfig = Shapes::StructureShape.new(name: 'CognitoUserPoolConfig')
26
31
  ConcurrentModificationException = Shapes::StructureShape.new(name: 'ConcurrentModificationException')
27
32
  CreateApiKeyRequest = Shapes::StructureShape.new(name: 'CreateApiKeyRequest')
28
33
  CreateApiKeyResponse = Shapes::StructureShape.new(name: 'CreateApiKeyResponse')
@@ -92,6 +97,8 @@ module Aws::AppSync
92
97
  ListResolversByFunctionResponse = Shapes::StructureShape.new(name: 'ListResolversByFunctionResponse')
93
98
  ListResolversRequest = Shapes::StructureShape.new(name: 'ListResolversRequest')
94
99
  ListResolversResponse = Shapes::StructureShape.new(name: 'ListResolversResponse')
100
+ ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
101
+ ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
95
102
  ListTypesRequest = Shapes::StructureShape.new(name: 'ListTypesRequest')
96
103
  ListTypesResponse = Shapes::StructureShape.new(name: 'ListTypesResponse')
97
104
  LogConfig = Shapes::StructureShape.new(name: 'LogConfig')
@@ -110,15 +117,24 @@ module Aws::AppSync
110
117
  Resolver = Shapes::StructureShape.new(name: 'Resolver')
111
118
  ResolverKind = Shapes::StringShape.new(name: 'ResolverKind')
112
119
  Resolvers = Shapes::ListShape.new(name: 'Resolvers')
120
+ ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
113
121
  ResourceName = Shapes::StringShape.new(name: 'ResourceName')
114
122
  SchemaStatus = Shapes::StringShape.new(name: 'SchemaStatus')
115
123
  StartSchemaCreationRequest = Shapes::StructureShape.new(name: 'StartSchemaCreationRequest')
116
124
  StartSchemaCreationResponse = Shapes::StructureShape.new(name: 'StartSchemaCreationResponse')
117
125
  String = Shapes::StringShape.new(name: 'String')
126
+ TagKey = Shapes::StringShape.new(name: 'TagKey')
127
+ TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
128
+ TagMap = Shapes::MapShape.new(name: 'TagMap')
129
+ TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
130
+ TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
131
+ TagValue = Shapes::StringShape.new(name: 'TagValue')
118
132
  Type = Shapes::StructureShape.new(name: 'Type')
119
133
  TypeDefinitionFormat = Shapes::StringShape.new(name: 'TypeDefinitionFormat')
120
134
  TypeList = Shapes::ListShape.new(name: 'TypeList')
121
135
  UnauthorizedException = Shapes::StructureShape.new(name: 'UnauthorizedException')
136
+ UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
137
+ UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
122
138
  UpdateApiKeyRequest = Shapes::StructureShape.new(name: 'UpdateApiKeyRequest')
123
139
  UpdateApiKeyResponse = Shapes::StructureShape.new(name: 'UpdateApiKeyResponse')
124
140
  UpdateDataSourceRequest = Shapes::StructureShape.new(name: 'UpdateDataSourceRequest')
@@ -133,6 +149,13 @@ module Aws::AppSync
133
149
  UpdateTypeResponse = Shapes::StructureShape.new(name: 'UpdateTypeResponse')
134
150
  UserPoolConfig = Shapes::StructureShape.new(name: 'UserPoolConfig')
135
151
 
152
+ AdditionalAuthenticationProvider.add_member(:authentication_type, Shapes::ShapeRef.new(shape: AuthenticationType, location_name: "authenticationType"))
153
+ AdditionalAuthenticationProvider.add_member(:open_id_connect_config, Shapes::ShapeRef.new(shape: OpenIDConnectConfig, location_name: "openIDConnectConfig"))
154
+ AdditionalAuthenticationProvider.add_member(:user_pool_config, Shapes::ShapeRef.new(shape: CognitoUserPoolConfig, location_name: "userPoolConfig"))
155
+ AdditionalAuthenticationProvider.struct_class = Types::AdditionalAuthenticationProvider
156
+
157
+ AdditionalAuthenticationProviders.member = Shapes::ShapeRef.new(shape: AdditionalAuthenticationProvider)
158
+
136
159
  ApiKey.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "id"))
137
160
  ApiKey.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
138
161
  ApiKey.add_member(:expires, Shapes::ShapeRef.new(shape: Long, location_name: "expires"))
@@ -148,6 +171,11 @@ module Aws::AppSync
148
171
  AwsIamConfig.add_member(:signing_service_name, Shapes::ShapeRef.new(shape: String, location_name: "signingServiceName"))
149
172
  AwsIamConfig.struct_class = Types::AwsIamConfig
150
173
 
174
+ CognitoUserPoolConfig.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "userPoolId"))
175
+ CognitoUserPoolConfig.add_member(:aws_region, Shapes::ShapeRef.new(shape: String, required: true, location_name: "awsRegion"))
176
+ CognitoUserPoolConfig.add_member(:app_id_client_regex, Shapes::ShapeRef.new(shape: String, location_name: "appIdClientRegex"))
177
+ CognitoUserPoolConfig.struct_class = Types::CognitoUserPoolConfig
178
+
151
179
  CreateApiKeyRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "apiId"))
152
180
  CreateApiKeyRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
153
181
  CreateApiKeyRequest.add_member(:expires, Shapes::ShapeRef.new(shape: Long, location_name: "expires"))
@@ -188,6 +216,8 @@ module Aws::AppSync
188
216
  CreateGraphqlApiRequest.add_member(:authentication_type, Shapes::ShapeRef.new(shape: AuthenticationType, required: true, location_name: "authenticationType"))
189
217
  CreateGraphqlApiRequest.add_member(:user_pool_config, Shapes::ShapeRef.new(shape: UserPoolConfig, location_name: "userPoolConfig"))
190
218
  CreateGraphqlApiRequest.add_member(:open_id_connect_config, Shapes::ShapeRef.new(shape: OpenIDConnectConfig, location_name: "openIDConnectConfig"))
219
+ CreateGraphqlApiRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
220
+ CreateGraphqlApiRequest.add_member(:additional_authentication_providers, Shapes::ShapeRef.new(shape: AdditionalAuthenticationProviders, location_name: "additionalAuthenticationProviders"))
191
221
  CreateGraphqlApiRequest.struct_class = Types::CreateGraphqlApiRequest
192
222
 
193
223
  CreateGraphqlApiResponse.add_member(:graphql_api, Shapes::ShapeRef.new(shape: GraphqlApi, location_name: "graphqlApi"))
@@ -309,6 +339,7 @@ module Aws::AppSync
309
339
 
310
340
  GetIntrospectionSchemaRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "apiId"))
311
341
  GetIntrospectionSchemaRequest.add_member(:format, Shapes::ShapeRef.new(shape: OutputType, required: true, location: "querystring", location_name: "format"))
342
+ GetIntrospectionSchemaRequest.add_member(:include_directives, Shapes::ShapeRef.new(shape: BooleanValue, location: "querystring", location_name: "includeDirectives"))
312
343
  GetIntrospectionSchemaRequest.struct_class = Types::GetIntrospectionSchemaRequest
313
344
 
314
345
  GetIntrospectionSchemaResponse.add_member(:schema, Shapes::ShapeRef.new(shape: Blob, location_name: "schema"))
@@ -347,6 +378,8 @@ module Aws::AppSync
347
378
  GraphqlApi.add_member(:open_id_connect_config, Shapes::ShapeRef.new(shape: OpenIDConnectConfig, location_name: "openIDConnectConfig"))
348
379
  GraphqlApi.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "arn"))
349
380
  GraphqlApi.add_member(:uris, Shapes::ShapeRef.new(shape: MapOfStringToString, location_name: "uris"))
381
+ GraphqlApi.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
382
+ GraphqlApi.add_member(:additional_authentication_providers, Shapes::ShapeRef.new(shape: AdditionalAuthenticationProviders, location_name: "additionalAuthenticationProviders"))
350
383
  GraphqlApi.struct_class = Types::GraphqlApi
351
384
 
352
385
  GraphqlApis.member = Shapes::ShapeRef.new(shape: GraphqlApi)
@@ -413,6 +446,12 @@ module Aws::AppSync
413
446
  ListResolversResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
414
447
  ListResolversResponse.struct_class = Types::ListResolversResponse
415
448
 
449
+ ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location: "uri", location_name: "resourceArn"))
450
+ ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
451
+
452
+ ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
453
+ ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
454
+
416
455
  ListTypesRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "apiId"))
417
456
  ListTypesRequest.add_member(:format, Shapes::ShapeRef.new(shape: TypeDefinitionFormat, required: true, location: "querystring", location_name: "format"))
418
457
  ListTypesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
@@ -469,6 +508,17 @@ module Aws::AppSync
469
508
  StartSchemaCreationResponse.add_member(:status, Shapes::ShapeRef.new(shape: SchemaStatus, location_name: "status"))
470
509
  StartSchemaCreationResponse.struct_class = Types::StartSchemaCreationResponse
471
510
 
511
+ TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
512
+
513
+ TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
514
+ TagMap.value = Shapes::ShapeRef.new(shape: TagValue)
515
+
516
+ TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location: "uri", location_name: "resourceArn"))
517
+ TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, required: true, location_name: "tags"))
518
+ TagResourceRequest.struct_class = Types::TagResourceRequest
519
+
520
+ TagResourceResponse.struct_class = Types::TagResourceResponse
521
+
472
522
  Type.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "name"))
473
523
  Type.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
474
524
  Type.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "arn"))
@@ -478,6 +528,12 @@ module Aws::AppSync
478
528
 
479
529
  TypeList.member = Shapes::ShapeRef.new(shape: Type)
480
530
 
531
+ UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location: "uri", location_name: "resourceArn"))
532
+ UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
533
+ UntagResourceRequest.struct_class = Types::UntagResourceRequest
534
+
535
+ UntagResourceResponse.struct_class = Types::UntagResourceResponse
536
+
481
537
  UpdateApiKeyRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "apiId"))
482
538
  UpdateApiKeyRequest.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "id"))
483
539
  UpdateApiKeyRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
@@ -521,6 +577,7 @@ module Aws::AppSync
521
577
  UpdateGraphqlApiRequest.add_member(:authentication_type, Shapes::ShapeRef.new(shape: AuthenticationType, location_name: "authenticationType"))
522
578
  UpdateGraphqlApiRequest.add_member(:user_pool_config, Shapes::ShapeRef.new(shape: UserPoolConfig, location_name: "userPoolConfig"))
523
579
  UpdateGraphqlApiRequest.add_member(:open_id_connect_config, Shapes::ShapeRef.new(shape: OpenIDConnectConfig, location_name: "openIDConnectConfig"))
580
+ UpdateGraphqlApiRequest.add_member(:additional_authentication_providers, Shapes::ShapeRef.new(shape: AdditionalAuthenticationProviders, location_name: "additionalAuthenticationProviders"))
524
581
  UpdateGraphqlApiRequest.struct_class = Types::UpdateGraphqlApiRequest
525
582
 
526
583
  UpdateGraphqlApiResponse.add_member(:graphql_api, Shapes::ShapeRef.new(shape: GraphqlApi, location_name: "graphqlApi"))
@@ -701,6 +758,7 @@ module Aws::AppSync
701
758
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
702
759
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
703
760
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
761
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
704
762
  end)
705
763
 
706
764
  api.add_operation(:delete_resolver, Seahorse::Model::Operation.new.tap do |o|
@@ -762,6 +820,7 @@ module Aws::AppSync
762
820
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
763
821
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
764
822
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
823
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
765
824
  end)
766
825
 
767
826
  api.add_operation(:get_introspection_schema, Seahorse::Model::Operation.new.tap do |o|
@@ -883,6 +942,20 @@ module Aws::AppSync
883
942
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
884
943
  end)
885
944
 
945
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
946
+ o.name = "ListTagsForResource"
947
+ o.http_method = "GET"
948
+ o.http_request_uri = "/v1/tags/{resourceArn}"
949
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
950
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
951
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
952
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
953
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
954
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
955
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
956
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
957
+ end)
958
+
886
959
  api.add_operation(:list_types, Seahorse::Model::Operation.new.tap do |o|
887
960
  o.name = "ListTypes"
888
961
  o.http_method = "GET"
@@ -909,6 +982,34 @@ module Aws::AppSync
909
982
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
910
983
  end)
911
984
 
985
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
986
+ o.name = "TagResource"
987
+ o.http_method = "POST"
988
+ o.http_request_uri = "/v1/tags/{resourceArn}"
989
+ o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
990
+ o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
991
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
992
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
993
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
994
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
995
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
996
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
997
+ end)
998
+
999
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
1000
+ o.name = "UntagResource"
1001
+ o.http_method = "DELETE"
1002
+ o.http_request_uri = "/v1/tags/{resourceArn}"
1003
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
1004
+ o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
1005
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1006
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1007
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1008
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1009
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1010
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1011
+ end)
1012
+
912
1013
  api.add_operation(:update_api_key, Seahorse::Model::Operation.new.tap do |o|
913
1014
  o.name = "UpdateApiKey"
914
1015
  o.http_method = "POST"
@@ -959,6 +1060,7 @@ module Aws::AppSync
959
1060
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
960
1061
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
961
1062
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1063
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
962
1064
  end)
963
1065
 
964
1066
  api.add_operation(:update_resolver, Seahorse::Model::Operation.new.tap do |o|
@@ -8,6 +8,48 @@
8
8
  module Aws::AppSync
9
9
  module Types
10
10
 
11
+ # Describes an additional authentication provider.
12
+ #
13
+ # @note When making an API call, you may pass AdditionalAuthenticationProvider
14
+ # data as a hash:
15
+ #
16
+ # {
17
+ # authentication_type: "API_KEY", # accepts API_KEY, AWS_IAM, AMAZON_COGNITO_USER_POOLS, OPENID_CONNECT
18
+ # open_id_connect_config: {
19
+ # issuer: "String", # required
20
+ # client_id: "String",
21
+ # iat_ttl: 1,
22
+ # auth_ttl: 1,
23
+ # },
24
+ # user_pool_config: {
25
+ # user_pool_id: "String", # required
26
+ # aws_region: "String", # required
27
+ # app_id_client_regex: "String",
28
+ # },
29
+ # }
30
+ #
31
+ # @!attribute [rw] authentication_type
32
+ # The authentication type: API key, AWS IAM, OIDC, or Amazon Cognito
33
+ # user pools.
34
+ # @return [String]
35
+ #
36
+ # @!attribute [rw] open_id_connect_config
37
+ # The OpenID Connect configuration.
38
+ # @return [Types::OpenIDConnectConfig]
39
+ #
40
+ # @!attribute [rw] user_pool_config
41
+ # The Amazon Cognito user pool configuration.
42
+ # @return [Types::CognitoUserPoolConfig]
43
+ #
44
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/AdditionalAuthenticationProvider AWS API Documentation
45
+ #
46
+ class AdditionalAuthenticationProvider < Struct.new(
47
+ :authentication_type,
48
+ :open_id_connect_config,
49
+ :user_pool_config)
50
+ include Aws::Structure
51
+ end
52
+
11
53
  # Describes an API key.
12
54
  #
13
55
  # Customers invoke AWS AppSync GraphQL API operations with API keys as
@@ -130,6 +172,39 @@ module Aws::AppSync
130
172
  include Aws::Structure
131
173
  end
132
174
 
175
+ # Describes an Amazon Cognito user pool configuration.
176
+ #
177
+ # @note When making an API call, you may pass CognitoUserPoolConfig
178
+ # data as a hash:
179
+ #
180
+ # {
181
+ # user_pool_id: "String", # required
182
+ # aws_region: "String", # required
183
+ # app_id_client_regex: "String",
184
+ # }
185
+ #
186
+ # @!attribute [rw] user_pool_id
187
+ # The user pool ID.
188
+ # @return [String]
189
+ #
190
+ # @!attribute [rw] aws_region
191
+ # The AWS Region in which the user pool was created.
192
+ # @return [String]
193
+ #
194
+ # @!attribute [rw] app_id_client_regex
195
+ # A regular expression for validating the incoming Amazon Cognito user
196
+ # pool app client ID.
197
+ # @return [String]
198
+ #
199
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CognitoUserPoolConfig AWS API Documentation
200
+ #
201
+ class CognitoUserPoolConfig < Struct.new(
202
+ :user_pool_id,
203
+ :aws_region,
204
+ :app_id_client_regex)
205
+ include Aws::Structure
206
+ end
207
+
133
208
  # @note When making an API call, you may pass CreateApiKeyRequest
134
209
  # data as a hash:
135
210
  #
@@ -374,6 +449,25 @@ module Aws::AppSync
374
449
  # iat_ttl: 1,
375
450
  # auth_ttl: 1,
376
451
  # },
452
+ # tags: {
453
+ # "TagKey" => "TagValue",
454
+ # },
455
+ # additional_authentication_providers: [
456
+ # {
457
+ # authentication_type: "API_KEY", # accepts API_KEY, AWS_IAM, AMAZON_COGNITO_USER_POOLS, OPENID_CONNECT
458
+ # open_id_connect_config: {
459
+ # issuer: "String", # required
460
+ # client_id: "String",
461
+ # iat_ttl: 1,
462
+ # auth_ttl: 1,
463
+ # },
464
+ # user_pool_config: {
465
+ # user_pool_id: "String", # required
466
+ # aws_region: "String", # required
467
+ # app_id_client_regex: "String",
468
+ # },
469
+ # },
470
+ # ],
377
471
  # }
378
472
  #
379
473
  # @!attribute [rw] name
@@ -385,8 +479,8 @@ module Aws::AppSync
385
479
  # @return [Types::LogConfig]
386
480
  #
387
481
  # @!attribute [rw] authentication_type
388
- # The authentication type: API key, AWS IAM, or Amazon Cognito user
389
- # pools.
482
+ # The authentication type: API key, AWS IAM, OIDC, or Amazon Cognito
483
+ # user pools.
390
484
  # @return [String]
391
485
  #
392
486
  # @!attribute [rw] user_pool_config
@@ -397,6 +491,15 @@ module Aws::AppSync
397
491
  # The OpenID Connect configuration.
398
492
  # @return [Types::OpenIDConnectConfig]
399
493
  #
494
+ # @!attribute [rw] tags
495
+ # A `TagMap` object.
496
+ # @return [Hash<String,String>]
497
+ #
498
+ # @!attribute [rw] additional_authentication_providers
499
+ # A list of additional authentication providers for the `GraphqlApi`
500
+ # API.
501
+ # @return [Array<Types::AdditionalAuthenticationProvider>]
502
+ #
400
503
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/CreateGraphqlApiRequest AWS API Documentation
401
504
  #
402
505
  class CreateGraphqlApiRequest < Struct.new(
@@ -404,7 +507,9 @@ module Aws::AppSync
404
507
  :log_config,
405
508
  :authentication_type,
406
509
  :user_pool_config,
407
- :open_id_connect_config)
510
+ :open_id_connect_config,
511
+ :tags,
512
+ :additional_authentication_providers)
408
513
  include Aws::Structure
409
514
  end
410
515
 
@@ -1012,6 +1117,7 @@ module Aws::AppSync
1012
1117
  # {
1013
1118
  # api_id: "String", # required
1014
1119
  # format: "SDL", # required, accepts SDL, JSON
1120
+ # include_directives: false,
1015
1121
  # }
1016
1122
  #
1017
1123
  # @!attribute [rw] api_id
@@ -1022,11 +1128,17 @@ module Aws::AppSync
1022
1128
  # The schema format: SDL or JSON.
1023
1129
  # @return [String]
1024
1130
  #
1131
+ # @!attribute [rw] include_directives
1132
+ # A flag that specifies whether the schema introspection should
1133
+ # contain directives.
1134
+ # @return [Boolean]
1135
+ #
1025
1136
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetIntrospectionSchemaRequest AWS API Documentation
1026
1137
  #
1027
1138
  class GetIntrospectionSchemaRequest < Struct.new(
1028
1139
  :api_id,
1029
- :format)
1140
+ :format,
1141
+ :include_directives)
1030
1142
  include Aws::Structure
1031
1143
  end
1032
1144
 
@@ -1107,8 +1219,9 @@ module Aws::AppSync
1107
1219
  end
1108
1220
 
1109
1221
  # @!attribute [rw] status
1110
- # The current state of the schema (PROCESSING, ACTIVE, or DELETING).
1111
- # Once the schema is in the ACTIVE state, you can add data.
1222
+ # The current state of the schema (PROCESSING, FAILED, SUCCESS, or
1223
+ # NOT\_APPLICABLE). When the schema is in the ACTIVE state, you can
1224
+ # add data.
1112
1225
  # @return [String]
1113
1226
  #
1114
1227
  # @!attribute [rw] details
@@ -1199,6 +1312,15 @@ module Aws::AppSync
1199
1312
  # The URIs.
1200
1313
  # @return [Hash<String,String>]
1201
1314
  #
1315
+ # @!attribute [rw] tags
1316
+ # The tags.
1317
+ # @return [Hash<String,String>]
1318
+ #
1319
+ # @!attribute [rw] additional_authentication_providers
1320
+ # A list of additional authentication providers for the `GraphqlApi`
1321
+ # API.
1322
+ # @return [Array<Types::AdditionalAuthenticationProvider>]
1323
+ #
1202
1324
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GraphqlApi AWS API Documentation
1203
1325
  #
1204
1326
  class GraphqlApi < Struct.new(
@@ -1209,7 +1331,9 @@ module Aws::AppSync
1209
1331
  :user_pool_config,
1210
1332
  :open_id_connect_config,
1211
1333
  :arn,
1212
- :uris)
1334
+ :uris,
1335
+ :tags,
1336
+ :additional_authentication_providers)
1213
1337
  include Aws::Structure
1214
1338
  end
1215
1339
 
@@ -1570,6 +1694,35 @@ module Aws::AppSync
1570
1694
  include Aws::Structure
1571
1695
  end
1572
1696
 
1697
+ # @note When making an API call, you may pass ListTagsForResourceRequest
1698
+ # data as a hash:
1699
+ #
1700
+ # {
1701
+ # resource_arn: "ResourceArn", # required
1702
+ # }
1703
+ #
1704
+ # @!attribute [rw] resource_arn
1705
+ # The `GraphqlApi` ARN.
1706
+ # @return [String]
1707
+ #
1708
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListTagsForResourceRequest AWS API Documentation
1709
+ #
1710
+ class ListTagsForResourceRequest < Struct.new(
1711
+ :resource_arn)
1712
+ include Aws::Structure
1713
+ end
1714
+
1715
+ # @!attribute [rw] tags
1716
+ # A `TagMap` object.
1717
+ # @return [Hash<String,String>]
1718
+ #
1719
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/ListTagsForResourceResponse AWS API Documentation
1720
+ #
1721
+ class ListTagsForResourceResponse < Struct.new(
1722
+ :tags)
1723
+ include Aws::Structure
1724
+ end
1725
+
1573
1726
  # @note When making an API call, you may pass ListTypesRequest
1574
1727
  # data as a hash:
1575
1728
  #
@@ -1900,8 +2053,9 @@ module Aws::AppSync
1900
2053
  end
1901
2054
 
1902
2055
  # @!attribute [rw] status
1903
- # The current state of the schema (PROCESSING, ACTIVE, or DELETING).
1904
- # When the schema is in the ACTIVE state, you can add data.
2056
+ # The current state of the schema (PROCESSING, FAILED, SUCCESS, or
2057
+ # NOT\_APPLICABLE). When the schema is in the ACTIVE state, you can
2058
+ # add data.
1905
2059
  # @return [String]
1906
2060
  #
1907
2061
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/StartSchemaCreationResponse AWS API Documentation
@@ -1911,6 +2065,36 @@ module Aws::AppSync
1911
2065
  include Aws::Structure
1912
2066
  end
1913
2067
 
2068
+ # @note When making an API call, you may pass TagResourceRequest
2069
+ # data as a hash:
2070
+ #
2071
+ # {
2072
+ # resource_arn: "ResourceArn", # required
2073
+ # tags: { # required
2074
+ # "TagKey" => "TagValue",
2075
+ # },
2076
+ # }
2077
+ #
2078
+ # @!attribute [rw] resource_arn
2079
+ # The `GraphqlApi` ARN.
2080
+ # @return [String]
2081
+ #
2082
+ # @!attribute [rw] tags
2083
+ # A `TagMap` object.
2084
+ # @return [Hash<String,String>]
2085
+ #
2086
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/TagResourceRequest AWS API Documentation
2087
+ #
2088
+ class TagResourceRequest < Struct.new(
2089
+ :resource_arn,
2090
+ :tags)
2091
+ include Aws::Structure
2092
+ end
2093
+
2094
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/TagResourceResponse AWS API Documentation
2095
+ #
2096
+ class TagResourceResponse < Aws::EmptyStructure; end
2097
+
1914
2098
  # Describes a type.
1915
2099
  #
1916
2100
  # @!attribute [rw] name
@@ -1944,6 +2128,34 @@ module Aws::AppSync
1944
2128
  include Aws::Structure
1945
2129
  end
1946
2130
 
2131
+ # @note When making an API call, you may pass UntagResourceRequest
2132
+ # data as a hash:
2133
+ #
2134
+ # {
2135
+ # resource_arn: "ResourceArn", # required
2136
+ # tag_keys: ["TagKey"], # required
2137
+ # }
2138
+ #
2139
+ # @!attribute [rw] resource_arn
2140
+ # The `GraphqlApi` ARN.
2141
+ # @return [String]
2142
+ #
2143
+ # @!attribute [rw] tag_keys
2144
+ # A list of `TagKey` objects.
2145
+ # @return [Array<String>]
2146
+ #
2147
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UntagResourceRequest AWS API Documentation
2148
+ #
2149
+ class UntagResourceRequest < Struct.new(
2150
+ :resource_arn,
2151
+ :tag_keys)
2152
+ include Aws::Structure
2153
+ end
2154
+
2155
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UntagResourceResponse AWS API Documentation
2156
+ #
2157
+ class UntagResourceResponse < Aws::EmptyStructure; end
2158
+
1947
2159
  # @note When making an API call, you may pass UpdateApiKeyRequest
1948
2160
  # data as a hash:
1949
2161
  #
@@ -2199,6 +2411,22 @@ module Aws::AppSync
2199
2411
  # iat_ttl: 1,
2200
2412
  # auth_ttl: 1,
2201
2413
  # },
2414
+ # additional_authentication_providers: [
2415
+ # {
2416
+ # authentication_type: "API_KEY", # accepts API_KEY, AWS_IAM, AMAZON_COGNITO_USER_POOLS, OPENID_CONNECT
2417
+ # open_id_connect_config: {
2418
+ # issuer: "String", # required
2419
+ # client_id: "String",
2420
+ # iat_ttl: 1,
2421
+ # auth_ttl: 1,
2422
+ # },
2423
+ # user_pool_config: {
2424
+ # user_pool_id: "String", # required
2425
+ # aws_region: "String", # required
2426
+ # app_id_client_regex: "String",
2427
+ # },
2428
+ # },
2429
+ # ],
2202
2430
  # }
2203
2431
  #
2204
2432
  # @!attribute [rw] api_id
@@ -2227,6 +2455,11 @@ module Aws::AppSync
2227
2455
  # The OpenID Connect configuration for the `GraphqlApi` object.
2228
2456
  # @return [Types::OpenIDConnectConfig]
2229
2457
  #
2458
+ # @!attribute [rw] additional_authentication_providers
2459
+ # A list of additional authentication providers for the `GraphqlApi`
2460
+ # API.
2461
+ # @return [Array<Types::AdditionalAuthenticationProvider>]
2462
+ #
2230
2463
  # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/UpdateGraphqlApiRequest AWS API Documentation
2231
2464
  #
2232
2465
  class UpdateGraphqlApiRequest < Struct.new(
@@ -2235,7 +2468,8 @@ module Aws::AppSync
2235
2468
  :log_config,
2236
2469
  :authentication_type,
2237
2470
  :user_pool_config,
2238
- :open_id_connect_config)
2471
+ :open_id_connect_config,
2472
+ :additional_authentication_providers)
2239
2473
  include Aws::Structure
2240
2474
  end
2241
2475
 
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.12.0
4
+ version: 1.13.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: 2019-03-21 00:00:00.000000000 Z
11
+ date: 2019-05-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -59,7 +59,7 @@ files:
59
59
  - lib/aws-sdk-appsync/errors.rb
60
60
  - lib/aws-sdk-appsync/resource.rb
61
61
  - lib/aws-sdk-appsync/types.rb
62
- homepage: http://github.com/aws/aws-sdk-ruby
62
+ homepage: https://github.com/aws/aws-sdk-ruby
63
63
  licenses:
64
64
  - Apache-2.0
65
65
  metadata: