aws-sdk-appsync 1.71.0 → 1.73.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.
@@ -44,6 +44,7 @@ module Aws::AppSync
44
44
  Blob = Shapes::BlobShape.new(name: 'Blob')
45
45
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
46
46
  BooleanValue = Shapes::BooleanShape.new(name: 'BooleanValue')
47
+ CacheHealthMetricsConfig = Shapes::StringShape.new(name: 'CacheHealthMetricsConfig')
47
48
  CachingConfig = Shapes::StructureShape.new(name: 'CachingConfig')
48
49
  CachingKeys = Shapes::ListShape.new(name: 'CachingKeys')
49
50
  CertificateArn = Shapes::StringShape.new(name: 'CertificateArn')
@@ -87,6 +88,8 @@ module Aws::AppSync
87
88
  DataSourceIntrospectionModels = Shapes::ListShape.new(name: 'DataSourceIntrospectionModels')
88
89
  DataSourceIntrospectionResult = Shapes::StructureShape.new(name: 'DataSourceIntrospectionResult')
89
90
  DataSourceIntrospectionStatus = Shapes::StringShape.new(name: 'DataSourceIntrospectionStatus')
91
+ DataSourceLevelMetricsBehavior = Shapes::StringShape.new(name: 'DataSourceLevelMetricsBehavior')
92
+ DataSourceLevelMetricsConfig = Shapes::StringShape.new(name: 'DataSourceLevelMetricsConfig')
90
93
  DataSourceType = Shapes::StringShape.new(name: 'DataSourceType')
91
94
  DataSources = Shapes::ListShape.new(name: 'DataSources')
92
95
  Date = Shapes::TimestampShape.new(name: 'Date')
@@ -120,6 +123,10 @@ module Aws::AppSync
120
123
  DomainNameConfigs = Shapes::ListShape.new(name: 'DomainNameConfigs')
121
124
  DynamodbDataSourceConfig = Shapes::StructureShape.new(name: 'DynamodbDataSourceConfig')
122
125
  ElasticsearchDataSourceConfig = Shapes::StructureShape.new(name: 'ElasticsearchDataSourceConfig')
126
+ EnhancedMetricsConfig = Shapes::StructureShape.new(name: 'EnhancedMetricsConfig')
127
+ EnvironmentVariableKey = Shapes::StringShape.new(name: 'EnvironmentVariableKey')
128
+ EnvironmentVariableMap = Shapes::MapShape.new(name: 'EnvironmentVariableMap')
129
+ EnvironmentVariableValue = Shapes::StringShape.new(name: 'EnvironmentVariableValue')
123
130
  ErrorDetail = Shapes::StructureShape.new(name: 'ErrorDetail')
124
131
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
125
132
  EvaluateCodeErrorDetail = Shapes::StructureShape.new(name: 'EvaluateCodeErrorDetail')
@@ -147,6 +154,8 @@ module Aws::AppSync
147
154
  GetDomainNameResponse = Shapes::StructureShape.new(name: 'GetDomainNameResponse')
148
155
  GetFunctionRequest = Shapes::StructureShape.new(name: 'GetFunctionRequest')
149
156
  GetFunctionResponse = Shapes::StructureShape.new(name: 'GetFunctionResponse')
157
+ GetGraphqlApiEnvironmentVariablesRequest = Shapes::StructureShape.new(name: 'GetGraphqlApiEnvironmentVariablesRequest')
158
+ GetGraphqlApiEnvironmentVariablesResponse = Shapes::StructureShape.new(name: 'GetGraphqlApiEnvironmentVariablesResponse')
150
159
  GetGraphqlApiRequest = Shapes::StructureShape.new(name: 'GetGraphqlApiRequest')
151
160
  GetGraphqlApiResponse = Shapes::StructureShape.new(name: 'GetGraphqlApiResponse')
152
161
  GetIntrospectionSchemaRequest = Shapes::StructureShape.new(name: 'GetIntrospectionSchemaRequest')
@@ -204,10 +213,13 @@ module Aws::AppSync
204
213
  NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
205
214
  OpenIDConnectConfig = Shapes::StructureShape.new(name: 'OpenIDConnectConfig')
206
215
  OpenSearchServiceDataSourceConfig = Shapes::StructureShape.new(name: 'OpenSearchServiceDataSourceConfig')
216
+ OperationLevelMetricsConfig = Shapes::StringShape.new(name: 'OperationLevelMetricsConfig')
207
217
  OutputType = Shapes::StringShape.new(name: 'OutputType')
208
218
  Ownership = Shapes::StringShape.new(name: 'Ownership')
209
219
  PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
210
220
  PipelineConfig = Shapes::StructureShape.new(name: 'PipelineConfig')
221
+ PutGraphqlApiEnvironmentVariablesRequest = Shapes::StructureShape.new(name: 'PutGraphqlApiEnvironmentVariablesRequest')
222
+ PutGraphqlApiEnvironmentVariablesResponse = Shapes::StructureShape.new(name: 'PutGraphqlApiEnvironmentVariablesResponse')
211
223
  QueryDepthLimit = Shapes::IntegerShape.new(name: 'QueryDepthLimit')
212
224
  RdsDataApiConfig = Shapes::StructureShape.new(name: 'RdsDataApiConfig')
213
225
  RdsDataApiConfigDatabaseName = Shapes::StringShape.new(name: 'RdsDataApiConfigDatabaseName')
@@ -219,6 +231,8 @@ module Aws::AppSync
219
231
  Resolver = Shapes::StructureShape.new(name: 'Resolver')
220
232
  ResolverCountLimit = Shapes::IntegerShape.new(name: 'ResolverCountLimit')
221
233
  ResolverKind = Shapes::StringShape.new(name: 'ResolverKind')
234
+ ResolverLevelMetricsBehavior = Shapes::StringShape.new(name: 'ResolverLevelMetricsBehavior')
235
+ ResolverLevelMetricsConfig = Shapes::StringShape.new(name: 'ResolverLevelMetricsConfig')
222
236
  Resolvers = Shapes::ListShape.new(name: 'Resolvers')
223
237
  ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
224
238
  ResourceName = Shapes::StringShape.new(name: 'ResourceName')
@@ -294,6 +308,7 @@ module Aws::AppSync
294
308
  ApiCache.add_member(:at_rest_encryption_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "atRestEncryptionEnabled"))
295
309
  ApiCache.add_member(:type, Shapes::ShapeRef.new(shape: ApiCacheType, location_name: "type"))
296
310
  ApiCache.add_member(:status, Shapes::ShapeRef.new(shape: ApiCacheStatus, location_name: "status"))
311
+ ApiCache.add_member(:health_metrics_config, Shapes::ShapeRef.new(shape: CacheHealthMetricsConfig, location_name: "healthMetricsConfig"))
297
312
  ApiCache.struct_class = Types::ApiCache
298
313
 
299
314
  ApiKey.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "id"))
@@ -390,6 +405,7 @@ module Aws::AppSync
390
405
  CreateApiCacheRequest.add_member(:at_rest_encryption_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "atRestEncryptionEnabled"))
391
406
  CreateApiCacheRequest.add_member(:api_caching_behavior, Shapes::ShapeRef.new(shape: ApiCachingBehavior, required: true, location_name: "apiCachingBehavior"))
392
407
  CreateApiCacheRequest.add_member(:type, Shapes::ShapeRef.new(shape: ApiCacheType, required: true, location_name: "type"))
408
+ CreateApiCacheRequest.add_member(:health_metrics_config, Shapes::ShapeRef.new(shape: CacheHealthMetricsConfig, location_name: "healthMetricsConfig"))
393
409
  CreateApiCacheRequest.struct_class = Types::CreateApiCacheRequest
394
410
 
395
411
  CreateApiCacheResponse.add_member(:api_cache, Shapes::ShapeRef.new(shape: ApiCache, location_name: "apiCache"))
@@ -415,6 +431,7 @@ module Aws::AppSync
415
431
  CreateDataSourceRequest.add_member(:http_config, Shapes::ShapeRef.new(shape: HttpDataSourceConfig, location_name: "httpConfig"))
416
432
  CreateDataSourceRequest.add_member(:relational_database_config, Shapes::ShapeRef.new(shape: RelationalDatabaseDataSourceConfig, location_name: "relationalDatabaseConfig"))
417
433
  CreateDataSourceRequest.add_member(:event_bridge_config, Shapes::ShapeRef.new(shape: EventBridgeDataSourceConfig, location_name: "eventBridgeConfig"))
434
+ CreateDataSourceRequest.add_member(:metrics_config, Shapes::ShapeRef.new(shape: DataSourceLevelMetricsConfig, location_name: "metricsConfig"))
418
435
  CreateDataSourceRequest.struct_class = Types::CreateDataSourceRequest
419
436
 
420
437
  CreateDataSourceResponse.add_member(:data_source, Shapes::ShapeRef.new(shape: DataSource, location_name: "dataSource"))
@@ -460,6 +477,7 @@ module Aws::AppSync
460
477
  CreateGraphqlApiRequest.add_member(:introspection_config, Shapes::ShapeRef.new(shape: GraphQLApiIntrospectionConfig, location_name: "introspectionConfig"))
461
478
  CreateGraphqlApiRequest.add_member(:query_depth_limit, Shapes::ShapeRef.new(shape: QueryDepthLimit, location_name: "queryDepthLimit"))
462
479
  CreateGraphqlApiRequest.add_member(:resolver_count_limit, Shapes::ShapeRef.new(shape: ResolverCountLimit, location_name: "resolverCountLimit"))
480
+ CreateGraphqlApiRequest.add_member(:enhanced_metrics_config, Shapes::ShapeRef.new(shape: EnhancedMetricsConfig, location_name: "enhancedMetricsConfig"))
463
481
  CreateGraphqlApiRequest.struct_class = Types::CreateGraphqlApiRequest
464
482
 
465
483
  CreateGraphqlApiResponse.add_member(:graphql_api, Shapes::ShapeRef.new(shape: GraphqlApi, location_name: "graphqlApi"))
@@ -478,6 +496,7 @@ module Aws::AppSync
478
496
  CreateResolverRequest.add_member(:max_batch_size, Shapes::ShapeRef.new(shape: MaxBatchSize, location_name: "maxBatchSize"))
479
497
  CreateResolverRequest.add_member(:runtime, Shapes::ShapeRef.new(shape: AppSyncRuntime, location_name: "runtime"))
480
498
  CreateResolverRequest.add_member(:code, Shapes::ShapeRef.new(shape: Code, location_name: "code"))
499
+ CreateResolverRequest.add_member(:metrics_config, Shapes::ShapeRef.new(shape: ResolverLevelMetricsConfig, location_name: "metricsConfig"))
481
500
  CreateResolverRequest.struct_class = Types::CreateResolverRequest
482
501
 
483
502
  CreateResolverResponse.add_member(:resolver, Shapes::ShapeRef.new(shape: Resolver, location_name: "resolver"))
@@ -503,6 +522,7 @@ module Aws::AppSync
503
522
  DataSource.add_member(:http_config, Shapes::ShapeRef.new(shape: HttpDataSourceConfig, location_name: "httpConfig"))
504
523
  DataSource.add_member(:relational_database_config, Shapes::ShapeRef.new(shape: RelationalDatabaseDataSourceConfig, location_name: "relationalDatabaseConfig"))
505
524
  DataSource.add_member(:event_bridge_config, Shapes::ShapeRef.new(shape: EventBridgeDataSourceConfig, location_name: "eventBridgeConfig"))
525
+ DataSource.add_member(:metrics_config, Shapes::ShapeRef.new(shape: DataSourceLevelMetricsConfig, location_name: "metricsConfig"))
506
526
  DataSource.struct_class = Types::DataSource
507
527
 
508
528
  DataSourceIntrospectionModel.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
@@ -633,6 +653,14 @@ module Aws::AppSync
633
653
  ElasticsearchDataSourceConfig.add_member(:aws_region, Shapes::ShapeRef.new(shape: String, required: true, location_name: "awsRegion"))
634
654
  ElasticsearchDataSourceConfig.struct_class = Types::ElasticsearchDataSourceConfig
635
655
 
656
+ EnhancedMetricsConfig.add_member(:resolver_level_metrics_behavior, Shapes::ShapeRef.new(shape: ResolverLevelMetricsBehavior, required: true, location_name: "resolverLevelMetricsBehavior"))
657
+ EnhancedMetricsConfig.add_member(:data_source_level_metrics_behavior, Shapes::ShapeRef.new(shape: DataSourceLevelMetricsBehavior, required: true, location_name: "dataSourceLevelMetricsBehavior"))
658
+ EnhancedMetricsConfig.add_member(:operation_level_metrics_config, Shapes::ShapeRef.new(shape: OperationLevelMetricsConfig, required: true, location_name: "operationLevelMetricsConfig"))
659
+ EnhancedMetricsConfig.struct_class = Types::EnhancedMetricsConfig
660
+
661
+ EnvironmentVariableMap.key = Shapes::ShapeRef.new(shape: EnvironmentVariableKey)
662
+ EnvironmentVariableMap.value = Shapes::ShapeRef.new(shape: EnvironmentVariableValue)
663
+
636
664
  ErrorDetail.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
637
665
  ErrorDetail.struct_class = Types::ErrorDetail
638
666
 
@@ -730,6 +758,12 @@ module Aws::AppSync
730
758
  GetFunctionResponse.add_member(:function_configuration, Shapes::ShapeRef.new(shape: FunctionConfiguration, location_name: "functionConfiguration"))
731
759
  GetFunctionResponse.struct_class = Types::GetFunctionResponse
732
760
 
761
+ GetGraphqlApiEnvironmentVariablesRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "apiId"))
762
+ GetGraphqlApiEnvironmentVariablesRequest.struct_class = Types::GetGraphqlApiEnvironmentVariablesRequest
763
+
764
+ GetGraphqlApiEnvironmentVariablesResponse.add_member(:environment_variables, Shapes::ShapeRef.new(shape: EnvironmentVariableMap, location_name: "environmentVariables"))
765
+ GetGraphqlApiEnvironmentVariablesResponse.struct_class = Types::GetGraphqlApiEnvironmentVariablesResponse
766
+
733
767
  GetGraphqlApiRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "apiId"))
734
768
  GetGraphqlApiRequest.struct_class = Types::GetGraphqlApiRequest
735
769
 
@@ -801,6 +835,7 @@ module Aws::AppSync
801
835
  GraphqlApi.add_member(:introspection_config, Shapes::ShapeRef.new(shape: GraphQLApiIntrospectionConfig, location_name: "introspectionConfig"))
802
836
  GraphqlApi.add_member(:query_depth_limit, Shapes::ShapeRef.new(shape: QueryDepthLimit, location_name: "queryDepthLimit"))
803
837
  GraphqlApi.add_member(:resolver_count_limit, Shapes::ShapeRef.new(shape: ResolverCountLimit, location_name: "resolverCountLimit"))
838
+ GraphqlApi.add_member(:enhanced_metrics_config, Shapes::ShapeRef.new(shape: EnhancedMetricsConfig, location_name: "enhancedMetricsConfig"))
804
839
  GraphqlApi.struct_class = Types::GraphqlApi
805
840
 
806
841
  GraphqlApis.member = Shapes::ShapeRef.new(shape: GraphqlApi)
@@ -953,6 +988,13 @@ module Aws::AppSync
953
988
  PipelineConfig.add_member(:functions, Shapes::ShapeRef.new(shape: FunctionsIds, location_name: "functions"))
954
989
  PipelineConfig.struct_class = Types::PipelineConfig
955
990
 
991
+ PutGraphqlApiEnvironmentVariablesRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "apiId"))
992
+ PutGraphqlApiEnvironmentVariablesRequest.add_member(:environment_variables, Shapes::ShapeRef.new(shape: EnvironmentVariableMap, required: true, location_name: "environmentVariables"))
993
+ PutGraphqlApiEnvironmentVariablesRequest.struct_class = Types::PutGraphqlApiEnvironmentVariablesRequest
994
+
995
+ PutGraphqlApiEnvironmentVariablesResponse.add_member(:environment_variables, Shapes::ShapeRef.new(shape: EnvironmentVariableMap, location_name: "environmentVariables"))
996
+ PutGraphqlApiEnvironmentVariablesResponse.struct_class = Types::PutGraphqlApiEnvironmentVariablesResponse
997
+
956
998
  RdsDataApiConfig.add_member(:resource_arn, Shapes::ShapeRef.new(shape: RdsDataApiConfigResourceArn, required: true, location_name: "resourceArn"))
957
999
  RdsDataApiConfig.add_member(:secret_arn, Shapes::ShapeRef.new(shape: RdsDataApiConfigSecretArn, required: true, location_name: "secretArn"))
958
1000
  RdsDataApiConfig.add_member(:database_name, Shapes::ShapeRef.new(shape: RdsDataApiConfigDatabaseName, required: true, location_name: "databaseName"))
@@ -982,6 +1024,7 @@ module Aws::AppSync
982
1024
  Resolver.add_member(:max_batch_size, Shapes::ShapeRef.new(shape: MaxBatchSize, location_name: "maxBatchSize"))
983
1025
  Resolver.add_member(:runtime, Shapes::ShapeRef.new(shape: AppSyncRuntime, location_name: "runtime"))
984
1026
  Resolver.add_member(:code, Shapes::ShapeRef.new(shape: Code, location_name: "code"))
1027
+ Resolver.add_member(:metrics_config, Shapes::ShapeRef.new(shape: ResolverLevelMetricsConfig, location_name: "metricsConfig"))
985
1028
  Resolver.struct_class = Types::Resolver
986
1029
 
987
1030
  Resolvers.member = Shapes::ShapeRef.new(shape: Resolver)
@@ -1073,6 +1116,7 @@ module Aws::AppSync
1073
1116
  UpdateApiCacheRequest.add_member(:ttl, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "ttl"))
1074
1117
  UpdateApiCacheRequest.add_member(:api_caching_behavior, Shapes::ShapeRef.new(shape: ApiCachingBehavior, required: true, location_name: "apiCachingBehavior"))
1075
1118
  UpdateApiCacheRequest.add_member(:type, Shapes::ShapeRef.new(shape: ApiCacheType, required: true, location_name: "type"))
1119
+ UpdateApiCacheRequest.add_member(:health_metrics_config, Shapes::ShapeRef.new(shape: CacheHealthMetricsConfig, location_name: "healthMetricsConfig"))
1076
1120
  UpdateApiCacheRequest.struct_class = Types::UpdateApiCacheRequest
1077
1121
 
1078
1122
  UpdateApiCacheResponse.add_member(:api_cache, Shapes::ShapeRef.new(shape: ApiCache, location_name: "apiCache"))
@@ -1099,6 +1143,7 @@ module Aws::AppSync
1099
1143
  UpdateDataSourceRequest.add_member(:http_config, Shapes::ShapeRef.new(shape: HttpDataSourceConfig, location_name: "httpConfig"))
1100
1144
  UpdateDataSourceRequest.add_member(:relational_database_config, Shapes::ShapeRef.new(shape: RelationalDatabaseDataSourceConfig, location_name: "relationalDatabaseConfig"))
1101
1145
  UpdateDataSourceRequest.add_member(:event_bridge_config, Shapes::ShapeRef.new(shape: EventBridgeDataSourceConfig, location_name: "eventBridgeConfig"))
1146
+ UpdateDataSourceRequest.add_member(:metrics_config, Shapes::ShapeRef.new(shape: DataSourceLevelMetricsConfig, location_name: "metricsConfig"))
1102
1147
  UpdateDataSourceRequest.struct_class = Types::UpdateDataSourceRequest
1103
1148
 
1104
1149
  UpdateDataSourceResponse.add_member(:data_source, Shapes::ShapeRef.new(shape: DataSource, location_name: "dataSource"))
@@ -1142,6 +1187,7 @@ module Aws::AppSync
1142
1187
  UpdateGraphqlApiRequest.add_member(:introspection_config, Shapes::ShapeRef.new(shape: GraphQLApiIntrospectionConfig, location_name: "introspectionConfig"))
1143
1188
  UpdateGraphqlApiRequest.add_member(:query_depth_limit, Shapes::ShapeRef.new(shape: QueryDepthLimit, location_name: "queryDepthLimit"))
1144
1189
  UpdateGraphqlApiRequest.add_member(:resolver_count_limit, Shapes::ShapeRef.new(shape: ResolverCountLimit, location_name: "resolverCountLimit"))
1190
+ UpdateGraphqlApiRequest.add_member(:enhanced_metrics_config, Shapes::ShapeRef.new(shape: EnhancedMetricsConfig, location_name: "enhancedMetricsConfig"))
1145
1191
  UpdateGraphqlApiRequest.struct_class = Types::UpdateGraphqlApiRequest
1146
1192
 
1147
1193
  UpdateGraphqlApiResponse.add_member(:graphql_api, Shapes::ShapeRef.new(shape: GraphqlApi, location_name: "graphqlApi"))
@@ -1160,6 +1206,7 @@ module Aws::AppSync
1160
1206
  UpdateResolverRequest.add_member(:max_batch_size, Shapes::ShapeRef.new(shape: MaxBatchSize, location_name: "maxBatchSize"))
1161
1207
  UpdateResolverRequest.add_member(:runtime, Shapes::ShapeRef.new(shape: AppSyncRuntime, location_name: "runtime"))
1162
1208
  UpdateResolverRequest.add_member(:code, Shapes::ShapeRef.new(shape: Code, location_name: "code"))
1209
+ UpdateResolverRequest.add_member(:metrics_config, Shapes::ShapeRef.new(shape: ResolverLevelMetricsConfig, location_name: "metricsConfig"))
1163
1210
  UpdateResolverRequest.struct_class = Types::UpdateResolverRequest
1164
1211
 
1165
1212
  UpdateResolverResponse.add_member(:resolver, Shapes::ShapeRef.new(shape: Resolver, location_name: "resolver"))
@@ -1311,6 +1358,7 @@ module Aws::AppSync
1311
1358
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1312
1359
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1313
1360
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1361
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1314
1362
  end)
1315
1363
 
1316
1364
  api.add_operation(:create_graphql_api, Seahorse::Model::Operation.new.tap do |o|
@@ -1414,6 +1462,7 @@ module Aws::AppSync
1414
1462
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1415
1463
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1416
1464
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1465
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1417
1466
  end)
1418
1467
 
1419
1468
  api.add_operation(:delete_graphql_api, Seahorse::Model::Operation.new.tap do |o|
@@ -1615,6 +1664,19 @@ module Aws::AppSync
1615
1664
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1616
1665
  end)
1617
1666
 
1667
+ api.add_operation(:get_graphql_api_environment_variables, Seahorse::Model::Operation.new.tap do |o|
1668
+ o.name = "GetGraphqlApiEnvironmentVariables"
1669
+ o.http_method = "GET"
1670
+ o.http_request_uri = "/v1/apis/{apiId}/environmentVariables"
1671
+ o.input = Shapes::ShapeRef.new(shape: GetGraphqlApiEnvironmentVariablesRequest)
1672
+ o.output = Shapes::ShapeRef.new(shape: GetGraphqlApiEnvironmentVariablesResponse)
1673
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1674
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1675
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1676
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1677
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1678
+ end)
1679
+
1618
1680
  api.add_operation(:get_introspection_schema, Seahorse::Model::Operation.new.tap do |o|
1619
1681
  o.name = "GetIntrospectionSchema"
1620
1682
  o.http_method = "GET"
@@ -1809,6 +1871,20 @@ module Aws::AppSync
1809
1871
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1810
1872
  end)
1811
1873
 
1874
+ api.add_operation(:put_graphql_api_environment_variables, Seahorse::Model::Operation.new.tap do |o|
1875
+ o.name = "PutGraphqlApiEnvironmentVariables"
1876
+ o.http_method = "PUT"
1877
+ o.http_request_uri = "/v1/apis/{apiId}/environmentVariables"
1878
+ o.input = Shapes::ShapeRef.new(shape: PutGraphqlApiEnvironmentVariablesRequest)
1879
+ o.output = Shapes::ShapeRef.new(shape: PutGraphqlApiEnvironmentVariablesResponse)
1880
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1881
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
1882
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1883
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1884
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1885
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1886
+ end)
1887
+
1812
1888
  api.add_operation(:start_data_source_introspection, Seahorse::Model::Operation.new.tap do |o|
1813
1889
  o.name = "StartDataSourceIntrospection"
1814
1890
  o.http_method = "POST"
@@ -1938,6 +2014,7 @@ module Aws::AppSync
1938
2014
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1939
2015
  o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1940
2016
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
2017
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1941
2018
  end)
1942
2019
 
1943
2020
  api.add_operation(:update_graphql_api, Seahorse::Model::Operation.new.tap do |o|
@@ -460,6 +460,20 @@ module Aws::AppSync
460
460
  end
461
461
  end
462
462
 
463
+ class GetGraphqlApiEnvironmentVariables
464
+ def self.build(context)
465
+ unless context.config.regional_endpoint
466
+ endpoint = context.config.endpoint.to_s
467
+ end
468
+ Aws::AppSync::EndpointParameters.new(
469
+ region: context.config.region,
470
+ use_dual_stack: context.config.use_dualstack_endpoint,
471
+ use_fips: context.config.use_fips_endpoint,
472
+ endpoint: endpoint,
473
+ )
474
+ end
475
+ end
476
+
463
477
  class GetIntrospectionSchema
464
478
  def self.build(context)
465
479
  unless context.config.regional_endpoint
@@ -684,6 +698,20 @@ module Aws::AppSync
684
698
  end
685
699
  end
686
700
 
701
+ class PutGraphqlApiEnvironmentVariables
702
+ def self.build(context)
703
+ unless context.config.regional_endpoint
704
+ endpoint = context.config.endpoint.to_s
705
+ end
706
+ Aws::AppSync::EndpointParameters.new(
707
+ region: context.config.region,
708
+ use_dual_stack: context.config.use_dualstack_endpoint,
709
+ use_fips: context.config.use_fips_endpoint,
710
+ endpoint: endpoint,
711
+ )
712
+ end
713
+ end
714
+
687
715
  class StartDataSourceIntrospection
688
716
  def self.build(context)
689
717
  unless context.config.regional_endpoint
@@ -122,6 +122,8 @@ module Aws::AppSync
122
122
  Aws::AppSync::Endpoints::GetFunction.build(context)
123
123
  when :get_graphql_api
124
124
  Aws::AppSync::Endpoints::GetGraphqlApi.build(context)
125
+ when :get_graphql_api_environment_variables
126
+ Aws::AppSync::Endpoints::GetGraphqlApiEnvironmentVariables.build(context)
125
127
  when :get_introspection_schema
126
128
  Aws::AppSync::Endpoints::GetIntrospectionSchema.build(context)
127
129
  when :get_resolver
@@ -154,6 +156,8 @@ module Aws::AppSync
154
156
  Aws::AppSync::Endpoints::ListTypes.build(context)
155
157
  when :list_types_by_association
156
158
  Aws::AppSync::Endpoints::ListTypesByAssociation.build(context)
159
+ when :put_graphql_api_environment_variables
160
+ Aws::AppSync::Endpoints::PutGraphqlApiEnvironmentVariables.build(context)
157
161
  when :start_data_source_introspection
158
162
  Aws::AppSync::Endpoints::StartDataSourceIntrospection.build(context)
159
163
  when :start_schema_creation