aws-sdk-appsync 1.70.0 → 1.72.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4e3c13699726336270b912bfdeb162a2d44a0497093e5ecf981969d38c745fbe
4
- data.tar.gz: 11dd1b08794cbb936d6e05fab873f7a834e5a7b472c7c4239c5d6a17a785cfe9
3
+ metadata.gz: b20be619f0a3cd655e0110ebb06c720a42eed94364ab9f9603ff1e2c99f7cbcf
4
+ data.tar.gz: 7f2f342dc0d0e3cb50e588571546c10d2680b23ddab2d2a166b94c8c8bf2cda5
5
5
  SHA512:
6
- metadata.gz: 1e546c54c18cffb4a7ca1e78410f536e2e5b34a6150bcf9d8a6613b665b41829a2798f20124e262337435ce105f671ddc6200dc9f89476e5f349dcb753fe1b2c
7
- data.tar.gz: 4eecaa6fc64665ce779ecf96d038ca24a7e1da5dfe0739a0ed8b27acd2b9333a4625b7159c3ec2e45b2813571159ffde7ce0e691edd18d324cbcab59cd98fae7
6
+ metadata.gz: e5098d28d8fb00135f14769c58119e51a661266c2038444301ab042fff8a91db364105928901ac484cb1fe303941d61d1dd0bdb90c9b2b2d3085bfe5bde77997
7
+ data.tar.gz: e432b6dd4b507dba0eb1ebd9ad4318d64c9fb8140c3098cc0db0da11e1c062320535e7347f957a4bfda192e619cb733908d98356c6852ee8849dfc8b70a3d6a1
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.72.0 (2024-02-06)
5
+ ------------------
6
+
7
+ * Feature - Support for environment variables in AppSync GraphQL APIs
8
+
9
+ 1.71.0 (2024-01-26)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.70.0 (2023-12-19)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.70.0
1
+ 1.72.0
@@ -2151,6 +2151,37 @@ module Aws::AppSync
2151
2151
  req.send_request(options)
2152
2152
  end
2153
2153
 
2154
+ # Retrieves the list of environmental variable key-value pairs
2155
+ # associated with an API by its ID value.
2156
+ #
2157
+ # @option params [required, String] :api_id
2158
+ # The ID of the API from which the environmental variable list will be
2159
+ # retrieved.
2160
+ #
2161
+ # @return [Types::GetGraphqlApiEnvironmentVariablesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2162
+ #
2163
+ # * {Types::GetGraphqlApiEnvironmentVariablesResponse#environment_variables #environment_variables} => Hash<String,String>
2164
+ #
2165
+ # @example Request syntax with placeholder values
2166
+ #
2167
+ # resp = client.get_graphql_api_environment_variables({
2168
+ # api_id: "String", # required
2169
+ # })
2170
+ #
2171
+ # @example Response structure
2172
+ #
2173
+ # resp.environment_variables #=> Hash
2174
+ # resp.environment_variables["EnvironmentVariableKey"] #=> String
2175
+ #
2176
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetGraphqlApiEnvironmentVariables AWS API Documentation
2177
+ #
2178
+ # @overload get_graphql_api_environment_variables(params = {})
2179
+ # @param [Hash] params ({})
2180
+ def get_graphql_api_environment_variables(params = {}, options = {})
2181
+ req = build_request(:get_graphql_api_environment_variables, params)
2182
+ req.send_request(options)
2183
+ end
2184
+
2154
2185
  # Retrieves the introspection schema for a GraphQL API.
2155
2186
  #
2156
2187
  # @option params [required, String] :api_id
@@ -2974,6 +3005,104 @@ module Aws::AppSync
2974
3005
  req.send_request(options)
2975
3006
  end
2976
3007
 
3008
+ # Creates a list of environmental variables in an API by its ID value.
3009
+ #
3010
+ # When creating an environmental variable, it must follow the
3011
+ # constraints below:
3012
+ #
3013
+ # * Both JavaScript and VTL templates support environmental variables.
3014
+ #
3015
+ # * Environmental variables are not evaluated before function
3016
+ # invocation.
3017
+ #
3018
+ # * Environmental variables only support string values.
3019
+ #
3020
+ # * Any defined value in an environmental variable is considered a
3021
+ # string literal and not expanded.
3022
+ #
3023
+ # * Variable evaluations should ideally be performed in the function
3024
+ # code.
3025
+ #
3026
+ # When creating an environmental variable key-value pair, it must follow
3027
+ # the additional constraints below:
3028
+ #
3029
+ # * Keys must begin with a letter.
3030
+ #
3031
+ # * Keys must be at least two characters long.
3032
+ #
3033
+ # * Keys can only contain letters, numbers, and the underscore character
3034
+ # (\_).
3035
+ #
3036
+ # * Values can be up to 512 characters long.
3037
+ #
3038
+ # * You can configure up to 50 key-value pairs in a GraphQL API.
3039
+ #
3040
+ # You can create a list of environmental variables by adding it to the
3041
+ # `environmentVariables` payload as a list in the format
3042
+ # `\{"key1":"value1","key2":"value2", …\}`. Note that each call of the
3043
+ # `PutGraphqlApiEnvironmentVariables` action will result in the
3044
+ # overwriting of the existing environmental variable list of that API.
3045
+ # This means the existing environmental variables will be lost. To avoid
3046
+ # this, you must include all existing and new environmental variables in
3047
+ # the list each time you call this action.
3048
+ #
3049
+ # @option params [required, String] :api_id
3050
+ # The ID of the API to which the environmental variable list will be
3051
+ # written.
3052
+ #
3053
+ # @option params [required, Hash<String,String>] :environment_variables
3054
+ # The list of environmental variables to add to the API.
3055
+ #
3056
+ # When creating an environmental variable key-value pair, it must follow
3057
+ # the additional constraints below:
3058
+ #
3059
+ # * Keys must begin with a letter.
3060
+ #
3061
+ # * Keys must be at least two characters long.
3062
+ #
3063
+ # * Keys can only contain letters, numbers, and the underscore character
3064
+ # (\_).
3065
+ #
3066
+ # * Values can be up to 512 characters long.
3067
+ #
3068
+ # * You can configure up to 50 key-value pairs in a GraphQL API.
3069
+ #
3070
+ # You can create a list of environmental variables by adding it to the
3071
+ # `environmentVariables` payload as a list in the format
3072
+ # `\{"key1":"value1","key2":"value2", …\}`. Note that each call of the
3073
+ # `PutGraphqlApiEnvironmentVariables` action will result in the
3074
+ # overwriting of the existing environmental variable list of that API.
3075
+ # This means the existing environmental variables will be lost. To avoid
3076
+ # this, you must include all existing and new environmental variables in
3077
+ # the list each time you call this action.
3078
+ #
3079
+ # @return [Types::PutGraphqlApiEnvironmentVariablesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3080
+ #
3081
+ # * {Types::PutGraphqlApiEnvironmentVariablesResponse#environment_variables #environment_variables} => Hash&lt;String,String&gt;
3082
+ #
3083
+ # @example Request syntax with placeholder values
3084
+ #
3085
+ # resp = client.put_graphql_api_environment_variables({
3086
+ # api_id: "String", # required
3087
+ # environment_variables: { # required
3088
+ # "EnvironmentVariableKey" => "EnvironmentVariableValue",
3089
+ # },
3090
+ # })
3091
+ #
3092
+ # @example Response structure
3093
+ #
3094
+ # resp.environment_variables #=> Hash
3095
+ # resp.environment_variables["EnvironmentVariableKey"] #=> String
3096
+ #
3097
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/PutGraphqlApiEnvironmentVariables AWS API Documentation
3098
+ #
3099
+ # @overload put_graphql_api_environment_variables(params = {})
3100
+ # @param [Hash] params ({})
3101
+ def put_graphql_api_environment_variables(params = {}, options = {})
3102
+ req = build_request(:put_graphql_api_environment_variables, params)
3103
+ req.send_request(options)
3104
+ end
3105
+
2977
3106
  # Creates a new introspection. Returns the `introspectionId` of the new
2978
3107
  # introspection after its creation.
2979
3108
  #
@@ -3998,7 +4127,7 @@ module Aws::AppSync
3998
4127
  params: params,
3999
4128
  config: config)
4000
4129
  context[:gem_name] = 'aws-sdk-appsync'
4001
- context[:gem_version] = '1.70.0'
4130
+ context[:gem_version] = '1.72.0'
4002
4131
  Seahorse::Client::Request.new(handlers, context)
4003
4132
  end
4004
4133
 
@@ -120,6 +120,9 @@ module Aws::AppSync
120
120
  DomainNameConfigs = Shapes::ListShape.new(name: 'DomainNameConfigs')
121
121
  DynamodbDataSourceConfig = Shapes::StructureShape.new(name: 'DynamodbDataSourceConfig')
122
122
  ElasticsearchDataSourceConfig = Shapes::StructureShape.new(name: 'ElasticsearchDataSourceConfig')
123
+ EnvironmentVariableKey = Shapes::StringShape.new(name: 'EnvironmentVariableKey')
124
+ EnvironmentVariableMap = Shapes::MapShape.new(name: 'EnvironmentVariableMap')
125
+ EnvironmentVariableValue = Shapes::StringShape.new(name: 'EnvironmentVariableValue')
123
126
  ErrorDetail = Shapes::StructureShape.new(name: 'ErrorDetail')
124
127
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
125
128
  EvaluateCodeErrorDetail = Shapes::StructureShape.new(name: 'EvaluateCodeErrorDetail')
@@ -147,6 +150,8 @@ module Aws::AppSync
147
150
  GetDomainNameResponse = Shapes::StructureShape.new(name: 'GetDomainNameResponse')
148
151
  GetFunctionRequest = Shapes::StructureShape.new(name: 'GetFunctionRequest')
149
152
  GetFunctionResponse = Shapes::StructureShape.new(name: 'GetFunctionResponse')
153
+ GetGraphqlApiEnvironmentVariablesRequest = Shapes::StructureShape.new(name: 'GetGraphqlApiEnvironmentVariablesRequest')
154
+ GetGraphqlApiEnvironmentVariablesResponse = Shapes::StructureShape.new(name: 'GetGraphqlApiEnvironmentVariablesResponse')
150
155
  GetGraphqlApiRequest = Shapes::StructureShape.new(name: 'GetGraphqlApiRequest')
151
156
  GetGraphqlApiResponse = Shapes::StructureShape.new(name: 'GetGraphqlApiResponse')
152
157
  GetIntrospectionSchemaRequest = Shapes::StructureShape.new(name: 'GetIntrospectionSchemaRequest')
@@ -208,6 +213,8 @@ module Aws::AppSync
208
213
  Ownership = Shapes::StringShape.new(name: 'Ownership')
209
214
  PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
210
215
  PipelineConfig = Shapes::StructureShape.new(name: 'PipelineConfig')
216
+ PutGraphqlApiEnvironmentVariablesRequest = Shapes::StructureShape.new(name: 'PutGraphqlApiEnvironmentVariablesRequest')
217
+ PutGraphqlApiEnvironmentVariablesResponse = Shapes::StructureShape.new(name: 'PutGraphqlApiEnvironmentVariablesResponse')
211
218
  QueryDepthLimit = Shapes::IntegerShape.new(name: 'QueryDepthLimit')
212
219
  RdsDataApiConfig = Shapes::StructureShape.new(name: 'RdsDataApiConfig')
213
220
  RdsDataApiConfigDatabaseName = Shapes::StringShape.new(name: 'RdsDataApiConfigDatabaseName')
@@ -633,6 +640,9 @@ module Aws::AppSync
633
640
  ElasticsearchDataSourceConfig.add_member(:aws_region, Shapes::ShapeRef.new(shape: String, required: true, location_name: "awsRegion"))
634
641
  ElasticsearchDataSourceConfig.struct_class = Types::ElasticsearchDataSourceConfig
635
642
 
643
+ EnvironmentVariableMap.key = Shapes::ShapeRef.new(shape: EnvironmentVariableKey)
644
+ EnvironmentVariableMap.value = Shapes::ShapeRef.new(shape: EnvironmentVariableValue)
645
+
636
646
  ErrorDetail.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
637
647
  ErrorDetail.struct_class = Types::ErrorDetail
638
648
 
@@ -730,6 +740,12 @@ module Aws::AppSync
730
740
  GetFunctionResponse.add_member(:function_configuration, Shapes::ShapeRef.new(shape: FunctionConfiguration, location_name: "functionConfiguration"))
731
741
  GetFunctionResponse.struct_class = Types::GetFunctionResponse
732
742
 
743
+ GetGraphqlApiEnvironmentVariablesRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "apiId"))
744
+ GetGraphqlApiEnvironmentVariablesRequest.struct_class = Types::GetGraphqlApiEnvironmentVariablesRequest
745
+
746
+ GetGraphqlApiEnvironmentVariablesResponse.add_member(:environment_variables, Shapes::ShapeRef.new(shape: EnvironmentVariableMap, location_name: "environmentVariables"))
747
+ GetGraphqlApiEnvironmentVariablesResponse.struct_class = Types::GetGraphqlApiEnvironmentVariablesResponse
748
+
733
749
  GetGraphqlApiRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "apiId"))
734
750
  GetGraphqlApiRequest.struct_class = Types::GetGraphqlApiRequest
735
751
 
@@ -953,6 +969,13 @@ module Aws::AppSync
953
969
  PipelineConfig.add_member(:functions, Shapes::ShapeRef.new(shape: FunctionsIds, location_name: "functions"))
954
970
  PipelineConfig.struct_class = Types::PipelineConfig
955
971
 
972
+ PutGraphqlApiEnvironmentVariablesRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "apiId"))
973
+ PutGraphqlApiEnvironmentVariablesRequest.add_member(:environment_variables, Shapes::ShapeRef.new(shape: EnvironmentVariableMap, required: true, location_name: "environmentVariables"))
974
+ PutGraphqlApiEnvironmentVariablesRequest.struct_class = Types::PutGraphqlApiEnvironmentVariablesRequest
975
+
976
+ PutGraphqlApiEnvironmentVariablesResponse.add_member(:environment_variables, Shapes::ShapeRef.new(shape: EnvironmentVariableMap, location_name: "environmentVariables"))
977
+ PutGraphqlApiEnvironmentVariablesResponse.struct_class = Types::PutGraphqlApiEnvironmentVariablesResponse
978
+
956
979
  RdsDataApiConfig.add_member(:resource_arn, Shapes::ShapeRef.new(shape: RdsDataApiConfigResourceArn, required: true, location_name: "resourceArn"))
957
980
  RdsDataApiConfig.add_member(:secret_arn, Shapes::ShapeRef.new(shape: RdsDataApiConfigSecretArn, required: true, location_name: "secretArn"))
958
981
  RdsDataApiConfig.add_member(:database_name, Shapes::ShapeRef.new(shape: RdsDataApiConfigDatabaseName, required: true, location_name: "databaseName"))
@@ -1615,6 +1638,19 @@ module Aws::AppSync
1615
1638
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1616
1639
  end)
1617
1640
 
1641
+ api.add_operation(:get_graphql_api_environment_variables, Seahorse::Model::Operation.new.tap do |o|
1642
+ o.name = "GetGraphqlApiEnvironmentVariables"
1643
+ o.http_method = "GET"
1644
+ o.http_request_uri = "/v1/apis/{apiId}/environmentVariables"
1645
+ o.input = Shapes::ShapeRef.new(shape: GetGraphqlApiEnvironmentVariablesRequest)
1646
+ o.output = Shapes::ShapeRef.new(shape: GetGraphqlApiEnvironmentVariablesResponse)
1647
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1648
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1649
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1650
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1651
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1652
+ end)
1653
+
1618
1654
  api.add_operation(:get_introspection_schema, Seahorse::Model::Operation.new.tap do |o|
1619
1655
  o.name = "GetIntrospectionSchema"
1620
1656
  o.http_method = "GET"
@@ -1809,6 +1845,20 @@ module Aws::AppSync
1809
1845
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1810
1846
  end)
1811
1847
 
1848
+ api.add_operation(:put_graphql_api_environment_variables, Seahorse::Model::Operation.new.tap do |o|
1849
+ o.name = "PutGraphqlApiEnvironmentVariables"
1850
+ o.http_method = "PUT"
1851
+ o.http_request_uri = "/v1/apis/{apiId}/environmentVariables"
1852
+ o.input = Shapes::ShapeRef.new(shape: PutGraphqlApiEnvironmentVariablesRequest)
1853
+ o.output = Shapes::ShapeRef.new(shape: PutGraphqlApiEnvironmentVariablesResponse)
1854
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1855
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
1856
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1857
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1858
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1859
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1860
+ end)
1861
+
1812
1862
  api.add_operation(:start_data_source_introspection, Seahorse::Model::Operation.new.tap do |o|
1813
1863
  o.name = "StartDataSourceIntrospection"
1814
1864
  o.http_method = "POST"
@@ -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
@@ -14,6 +14,7 @@ module Aws::AppSync
14
14
  option(
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::AppSync::EndpointProvider',
17
+ rbs_type: 'untyped',
17
18
  docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
19
  'object that responds to `#resolve_endpoint(parameters)` '\
19
20
  'where `parameters` is a Struct similar to '\
@@ -121,6 +122,8 @@ module Aws::AppSync
121
122
  Aws::AppSync::Endpoints::GetFunction.build(context)
122
123
  when :get_graphql_api
123
124
  Aws::AppSync::Endpoints::GetGraphqlApi.build(context)
125
+ when :get_graphql_api_environment_variables
126
+ Aws::AppSync::Endpoints::GetGraphqlApiEnvironmentVariables.build(context)
124
127
  when :get_introspection_schema
125
128
  Aws::AppSync::Endpoints::GetIntrospectionSchema.build(context)
126
129
  when :get_resolver
@@ -153,6 +156,8 @@ module Aws::AppSync
153
156
  Aws::AppSync::Endpoints::ListTypes.build(context)
154
157
  when :list_types_by_association
155
158
  Aws::AppSync::Endpoints::ListTypesByAssociation.build(context)
159
+ when :put_graphql_api_environment_variables
160
+ Aws::AppSync::Endpoints::PutGraphqlApiEnvironmentVariables.build(context)
156
161
  when :start_data_source_introspection
157
162
  Aws::AppSync::Endpoints::StartDataSourceIntrospection.build(context)
158
163
  when :start_schema_creation
@@ -2348,6 +2348,32 @@ module Aws::AppSync
2348
2348
  include Aws::Structure
2349
2349
  end
2350
2350
 
2351
+ # @!attribute [rw] api_id
2352
+ # The ID of the API from which the environmental variable list will be
2353
+ # retrieved.
2354
+ # @return [String]
2355
+ #
2356
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetGraphqlApiEnvironmentVariablesRequest AWS API Documentation
2357
+ #
2358
+ class GetGraphqlApiEnvironmentVariablesRequest < Struct.new(
2359
+ :api_id)
2360
+ SENSITIVE = []
2361
+ include Aws::Structure
2362
+ end
2363
+
2364
+ # @!attribute [rw] environment_variables
2365
+ # The payload containing each environmental variable in the `"key" :
2366
+ # "value"` format.
2367
+ # @return [Hash<String,String>]
2368
+ #
2369
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/GetGraphqlApiEnvironmentVariablesResponse AWS API Documentation
2370
+ #
2371
+ class GetGraphqlApiEnvironmentVariablesResponse < Struct.new(
2372
+ :environment_variables)
2373
+ SENSITIVE = []
2374
+ include Aws::Structure
2375
+ end
2376
+
2351
2377
  # @!attribute [rw] api_id
2352
2378
  # The API ID for the GraphQL API.
2353
2379
  # @return [String]
@@ -3448,6 +3474,60 @@ module Aws::AppSync
3448
3474
  include Aws::Structure
3449
3475
  end
3450
3476
 
3477
+ # @!attribute [rw] api_id
3478
+ # The ID of the API to which the environmental variable list will be
3479
+ # written.
3480
+ # @return [String]
3481
+ #
3482
+ # @!attribute [rw] environment_variables
3483
+ # The list of environmental variables to add to the API.
3484
+ #
3485
+ # When creating an environmental variable key-value pair, it must
3486
+ # follow the additional constraints below:
3487
+ #
3488
+ # * Keys must begin with a letter.
3489
+ #
3490
+ # * Keys must be at least two characters long.
3491
+ #
3492
+ # * Keys can only contain letters, numbers, and the underscore
3493
+ # character (\_).
3494
+ #
3495
+ # * Values can be up to 512 characters long.
3496
+ #
3497
+ # * You can configure up to 50 key-value pairs in a GraphQL API.
3498
+ #
3499
+ # You can create a list of environmental variables by adding it to the
3500
+ # `environmentVariables` payload as a list in the format
3501
+ # `\{"key1":"value1","key2":"value2", …\}`. Note that each call of the
3502
+ # `PutGraphqlApiEnvironmentVariables` action will result in the
3503
+ # overwriting of the existing environmental variable list of that API.
3504
+ # This means the existing environmental variables will be lost. To
3505
+ # avoid this, you must include all existing and new environmental
3506
+ # variables in the list each time you call this action.
3507
+ # @return [Hash<String,String>]
3508
+ #
3509
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/PutGraphqlApiEnvironmentVariablesRequest AWS API Documentation
3510
+ #
3511
+ class PutGraphqlApiEnvironmentVariablesRequest < Struct.new(
3512
+ :api_id,
3513
+ :environment_variables)
3514
+ SENSITIVE = []
3515
+ include Aws::Structure
3516
+ end
3517
+
3518
+ # @!attribute [rw] environment_variables
3519
+ # The payload containing each environmental variable in the `"key" :
3520
+ # "value"` format.
3521
+ # @return [Hash<String,String>]
3522
+ #
3523
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appsync-2017-07-25/PutGraphqlApiEnvironmentVariablesResponse AWS API Documentation
3524
+ #
3525
+ class PutGraphqlApiEnvironmentVariablesResponse < Struct.new(
3526
+ :environment_variables)
3527
+ SENSITIVE = []
3528
+ include Aws::Structure
3529
+ end
3530
+
3451
3531
  # Contains the metadata required to introspect the RDS cluster.
3452
3532
  #
3453
3533
  # @!attribute [rw] resource_arn
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-appsync/customizations'
52
52
  # @!group service
53
53
  module Aws::AppSync
54
54
 
55
- GEM_VERSION = '1.70.0'
55
+ GEM_VERSION = '1.72.0'
56
56
 
57
57
  end