aws-sdk-lambda 1.136.0 → 1.144.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.
@@ -27,7 +27,7 @@ The endpoint provider used to resolve endpoints. Any object that responds to
27
27
  class Handler < Seahorse::Client::Handler
28
28
  def call(context)
29
29
  unless context[:discovered_endpoint]
30
- params = parameters_for_operation(context)
30
+ params = Aws::Lambda::Endpoints.parameters_for_operation(context)
31
31
  endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
32
 
33
33
  context.http_request.endpoint = endpoint.url
@@ -67,147 +67,6 @@ The endpoint provider used to resolve endpoints. Any object that responds to
67
67
  context.http_request.headers[key] = value
68
68
  end
69
69
  end
70
-
71
- def parameters_for_operation(context)
72
- case context.operation_name
73
- when :add_layer_version_permission
74
- Aws::Lambda::Endpoints::AddLayerVersionPermission.build(context)
75
- when :add_permission
76
- Aws::Lambda::Endpoints::AddPermission.build(context)
77
- when :create_alias
78
- Aws::Lambda::Endpoints::CreateAlias.build(context)
79
- when :create_code_signing_config
80
- Aws::Lambda::Endpoints::CreateCodeSigningConfig.build(context)
81
- when :create_event_source_mapping
82
- Aws::Lambda::Endpoints::CreateEventSourceMapping.build(context)
83
- when :create_function
84
- Aws::Lambda::Endpoints::CreateFunction.build(context)
85
- when :create_function_url_config
86
- Aws::Lambda::Endpoints::CreateFunctionUrlConfig.build(context)
87
- when :delete_alias
88
- Aws::Lambda::Endpoints::DeleteAlias.build(context)
89
- when :delete_code_signing_config
90
- Aws::Lambda::Endpoints::DeleteCodeSigningConfig.build(context)
91
- when :delete_event_source_mapping
92
- Aws::Lambda::Endpoints::DeleteEventSourceMapping.build(context)
93
- when :delete_function
94
- Aws::Lambda::Endpoints::DeleteFunction.build(context)
95
- when :delete_function_code_signing_config
96
- Aws::Lambda::Endpoints::DeleteFunctionCodeSigningConfig.build(context)
97
- when :delete_function_concurrency
98
- Aws::Lambda::Endpoints::DeleteFunctionConcurrency.build(context)
99
- when :delete_function_event_invoke_config
100
- Aws::Lambda::Endpoints::DeleteFunctionEventInvokeConfig.build(context)
101
- when :delete_function_url_config
102
- Aws::Lambda::Endpoints::DeleteFunctionUrlConfig.build(context)
103
- when :delete_layer_version
104
- Aws::Lambda::Endpoints::DeleteLayerVersion.build(context)
105
- when :delete_provisioned_concurrency_config
106
- Aws::Lambda::Endpoints::DeleteProvisionedConcurrencyConfig.build(context)
107
- when :get_account_settings
108
- Aws::Lambda::Endpoints::GetAccountSettings.build(context)
109
- when :get_alias
110
- Aws::Lambda::Endpoints::GetAlias.build(context)
111
- when :get_code_signing_config
112
- Aws::Lambda::Endpoints::GetCodeSigningConfig.build(context)
113
- when :get_event_source_mapping
114
- Aws::Lambda::Endpoints::GetEventSourceMapping.build(context)
115
- when :get_function
116
- Aws::Lambda::Endpoints::GetFunction.build(context)
117
- when :get_function_code_signing_config
118
- Aws::Lambda::Endpoints::GetFunctionCodeSigningConfig.build(context)
119
- when :get_function_concurrency
120
- Aws::Lambda::Endpoints::GetFunctionConcurrency.build(context)
121
- when :get_function_configuration
122
- Aws::Lambda::Endpoints::GetFunctionConfiguration.build(context)
123
- when :get_function_event_invoke_config
124
- Aws::Lambda::Endpoints::GetFunctionEventInvokeConfig.build(context)
125
- when :get_function_recursion_config
126
- Aws::Lambda::Endpoints::GetFunctionRecursionConfig.build(context)
127
- when :get_function_url_config
128
- Aws::Lambda::Endpoints::GetFunctionUrlConfig.build(context)
129
- when :get_layer_version
130
- Aws::Lambda::Endpoints::GetLayerVersion.build(context)
131
- when :get_layer_version_by_arn
132
- Aws::Lambda::Endpoints::GetLayerVersionByArn.build(context)
133
- when :get_layer_version_policy
134
- Aws::Lambda::Endpoints::GetLayerVersionPolicy.build(context)
135
- when :get_policy
136
- Aws::Lambda::Endpoints::GetPolicy.build(context)
137
- when :get_provisioned_concurrency_config
138
- Aws::Lambda::Endpoints::GetProvisionedConcurrencyConfig.build(context)
139
- when :get_runtime_management_config
140
- Aws::Lambda::Endpoints::GetRuntimeManagementConfig.build(context)
141
- when :invoke
142
- Aws::Lambda::Endpoints::Invoke.build(context)
143
- when :invoke_async
144
- Aws::Lambda::Endpoints::InvokeAsync.build(context)
145
- when :invoke_with_response_stream
146
- Aws::Lambda::Endpoints::InvokeWithResponseStream.build(context)
147
- when :list_aliases
148
- Aws::Lambda::Endpoints::ListAliases.build(context)
149
- when :list_code_signing_configs
150
- Aws::Lambda::Endpoints::ListCodeSigningConfigs.build(context)
151
- when :list_event_source_mappings
152
- Aws::Lambda::Endpoints::ListEventSourceMappings.build(context)
153
- when :list_function_event_invoke_configs
154
- Aws::Lambda::Endpoints::ListFunctionEventInvokeConfigs.build(context)
155
- when :list_function_url_configs
156
- Aws::Lambda::Endpoints::ListFunctionUrlConfigs.build(context)
157
- when :list_functions
158
- Aws::Lambda::Endpoints::ListFunctions.build(context)
159
- when :list_functions_by_code_signing_config
160
- Aws::Lambda::Endpoints::ListFunctionsByCodeSigningConfig.build(context)
161
- when :list_layer_versions
162
- Aws::Lambda::Endpoints::ListLayerVersions.build(context)
163
- when :list_layers
164
- Aws::Lambda::Endpoints::ListLayers.build(context)
165
- when :list_provisioned_concurrency_configs
166
- Aws::Lambda::Endpoints::ListProvisionedConcurrencyConfigs.build(context)
167
- when :list_tags
168
- Aws::Lambda::Endpoints::ListTags.build(context)
169
- when :list_versions_by_function
170
- Aws::Lambda::Endpoints::ListVersionsByFunction.build(context)
171
- when :publish_layer_version
172
- Aws::Lambda::Endpoints::PublishLayerVersion.build(context)
173
- when :publish_version
174
- Aws::Lambda::Endpoints::PublishVersion.build(context)
175
- when :put_function_code_signing_config
176
- Aws::Lambda::Endpoints::PutFunctionCodeSigningConfig.build(context)
177
- when :put_function_concurrency
178
- Aws::Lambda::Endpoints::PutFunctionConcurrency.build(context)
179
- when :put_function_event_invoke_config
180
- Aws::Lambda::Endpoints::PutFunctionEventInvokeConfig.build(context)
181
- when :put_function_recursion_config
182
- Aws::Lambda::Endpoints::PutFunctionRecursionConfig.build(context)
183
- when :put_provisioned_concurrency_config
184
- Aws::Lambda::Endpoints::PutProvisionedConcurrencyConfig.build(context)
185
- when :put_runtime_management_config
186
- Aws::Lambda::Endpoints::PutRuntimeManagementConfig.build(context)
187
- when :remove_layer_version_permission
188
- Aws::Lambda::Endpoints::RemoveLayerVersionPermission.build(context)
189
- when :remove_permission
190
- Aws::Lambda::Endpoints::RemovePermission.build(context)
191
- when :tag_resource
192
- Aws::Lambda::Endpoints::TagResource.build(context)
193
- when :untag_resource
194
- Aws::Lambda::Endpoints::UntagResource.build(context)
195
- when :update_alias
196
- Aws::Lambda::Endpoints::UpdateAlias.build(context)
197
- when :update_code_signing_config
198
- Aws::Lambda::Endpoints::UpdateCodeSigningConfig.build(context)
199
- when :update_event_source_mapping
200
- Aws::Lambda::Endpoints::UpdateEventSourceMapping.build(context)
201
- when :update_function_code
202
- Aws::Lambda::Endpoints::UpdateFunctionCode.build(context)
203
- when :update_function_configuration
204
- Aws::Lambda::Endpoints::UpdateFunctionConfiguration.build(context)
205
- when :update_function_event_invoke_config
206
- Aws::Lambda::Endpoints::UpdateFunctionEventInvokeConfig.build(context)
207
- when :update_function_url_config
208
- Aws::Lambda::Endpoints::UpdateFunctionUrlConfig.build(context)
209
- end
210
- end
211
70
  end
212
71
 
213
72
  def add_handlers(handlers, _config)