aws-sdk-apigatewayv2 1.29.0 → 1.33.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +178 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-apigatewayv2.rb +2 -2
- data/lib/aws-sdk-apigatewayv2/client.rb +161 -46
- data/lib/aws-sdk-apigatewayv2/client_api.rb +13 -1
- data/lib/aws-sdk-apigatewayv2/errors.rb +1 -1
- data/lib/aws-sdk-apigatewayv2/resource.rb +1 -1
- data/lib/aws-sdk-apigatewayv2/types.rb +466 -141
- metadata +11 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 441b967277b4ea7a40c2aad271f4758cf41719e8fc5e1517746d2c2ce10ad12b
|
4
|
+
data.tar.gz: e2da3cfdb3034b905a30de30cc3a7aa7c925a6ad51038fee2ac7a607edb04fdd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '06109173ff3b2115585ea5c0248a6ee3a52d96f1e5591b185f81440b9129b6d2253548cab5e2cf851e6c91ba865328e5085abf16af1983633a24c6a74807bcf3'
|
7
|
+
data.tar.gz: 69cc8592d52794a8cd914a02e7167c42b6b9cde42e47d0957c85f2ccd4c57916ff19a7c4fdf38be70fbb69c23b14484031beae74fa57b515b695861b49a39300
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,178 @@
|
|
1
|
+
Unreleased Changes
|
2
|
+
------------------
|
3
|
+
|
4
|
+
1.33.0 (2021-07-28)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.32.0 (2021-03-10)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.31.0 (2021-02-02)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.30.0 (2020-12-29)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Amazon API Gateway now supports data mapping for HTTP APIs which allows customers to modify HTTP Request before sending it to their integration and HTTP Response before sending it to the invoker.
|
23
|
+
|
24
|
+
1.29.0 (2020-09-30)
|
25
|
+
------------------
|
26
|
+
|
27
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
28
|
+
|
29
|
+
1.28.0 (2020-09-17)
|
30
|
+
------------------
|
31
|
+
|
32
|
+
* Feature - Adds support for mutual TLS authentication and disableAPIExecuteEndpoint for public regional HTTP Apis
|
33
|
+
|
34
|
+
1.27.0 (2020-09-15)
|
35
|
+
------------------
|
36
|
+
|
37
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
38
|
+
|
39
|
+
1.26.0 (2020-09-08)
|
40
|
+
------------------
|
41
|
+
|
42
|
+
* Feature - You can now secure HTTP APIs using Lambda authorizers and IAM authorizers. These options enable you to make flexible auth decisions using a Lambda function, or using IAM policies, respectively.
|
43
|
+
|
44
|
+
1.25.0 (2020-08-25)
|
45
|
+
------------------
|
46
|
+
|
47
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
48
|
+
|
49
|
+
1.24.0 (2020-08-20)
|
50
|
+
------------------
|
51
|
+
|
52
|
+
* Feature - Customers can now create Amazon API Gateway HTTP APIs that route requests to AWS AppConfig, Amazon EventBridge, Amazon Kinesis Data Streams, Amazon SQS, and AWS Step Functions.
|
53
|
+
|
54
|
+
1.23.0 (2020-06-23)
|
55
|
+
------------------
|
56
|
+
|
57
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
58
|
+
|
59
|
+
1.22.1 (2020-06-11)
|
60
|
+
------------------
|
61
|
+
|
62
|
+
* Issue - Republish previous version with correct dependency on `aws-sdk-core`.
|
63
|
+
|
64
|
+
1.22.0 (2020-06-10)
|
65
|
+
------------------
|
66
|
+
|
67
|
+
* Issue - This version has been yanked. (#2327).
|
68
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
69
|
+
|
70
|
+
1.21.0 (2020-05-28)
|
71
|
+
------------------
|
72
|
+
|
73
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
74
|
+
|
75
|
+
1.20.0 (2020-05-07)
|
76
|
+
------------------
|
77
|
+
|
78
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
79
|
+
|
80
|
+
1.19.0 (2020-04-20)
|
81
|
+
------------------
|
82
|
+
|
83
|
+
* Feature - You can now export an OpenAPI 3.0 compliant API definition file for Amazon API Gateway HTTP APIs using the Export API.
|
84
|
+
|
85
|
+
1.18.0 (2020-03-23)
|
86
|
+
------------------
|
87
|
+
|
88
|
+
* Feature - Documentation updates to reflect that the default timeout for integrations is now 30 seconds for HTTP APIs.
|
89
|
+
|
90
|
+
1.17.0 (2020-03-12)
|
91
|
+
------------------
|
92
|
+
|
93
|
+
* Feature - Amazon API Gateway HTTP APIs is now generally available. HTTP APIs offer the core functionality of REST API at up to 71% lower price compared to REST API, 60% lower p99 latency, and is significantly easier to use. As part of general availability, we added new features to route requests to private backends such as private ALBs, NLBs, and IP/ports. We also brought over a set of features from REST API such as Stage Variables, and Stage/Route level throttling. Custom domain names can also now be used with both REST And HTTP APIs.
|
94
|
+
|
95
|
+
1.16.0 (2020-03-09)
|
96
|
+
------------------
|
97
|
+
|
98
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
99
|
+
|
100
|
+
1.15.0 (2019-12-05)
|
101
|
+
------------------
|
102
|
+
|
103
|
+
* Feature - Amazon API Gateway now supports HTTP APIs (beta), enabling customers to quickly build high performance RESTful APIs that are up to 71% cheaper than REST APIs also available from API Gateway. HTTP APIs are optimized for building APIs that proxy to AWS Lambda functions or HTTP backends, making them ideal for serverless workloads. Using HTTP APIs, you can secure your APIs using OIDC and OAuth 2 out of box, quickly build web applications using a simple CORS experience, and get started immediately with automatic deployment and simple create workflows.
|
104
|
+
|
105
|
+
1.14.0 (2019-10-23)
|
106
|
+
------------------
|
107
|
+
|
108
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
109
|
+
|
110
|
+
1.13.0 (2019-07-25)
|
111
|
+
------------------
|
112
|
+
|
113
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
114
|
+
|
115
|
+
1.12.0 (2019-07-12)
|
116
|
+
------------------
|
117
|
+
|
118
|
+
* Feature - Bug fix (Add tags field to Update Stage , Api and DomainName Responses )
|
119
|
+
|
120
|
+
1.11.0 (2019-07-01)
|
121
|
+
------------------
|
122
|
+
|
123
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
124
|
+
|
125
|
+
1.10.0 (2019-06-26)
|
126
|
+
------------------
|
127
|
+
|
128
|
+
* Feature - You can now perform tag operations on ApiGatewayV2 Resources (typically associated with WebSocket APIs)
|
129
|
+
|
130
|
+
1.9.0 (2019-06-24)
|
131
|
+
------------------
|
132
|
+
|
133
|
+
* Feature - Customers can get information about security policies set on custom domain resources in API Gateway
|
134
|
+
|
135
|
+
1.8.0 (2019-06-17)
|
136
|
+
------------------
|
137
|
+
|
138
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
139
|
+
|
140
|
+
1.7.0 (2019-05-21)
|
141
|
+
------------------
|
142
|
+
|
143
|
+
* Feature - API update.
|
144
|
+
|
145
|
+
1.6.0 (2019-05-15)
|
146
|
+
------------------
|
147
|
+
|
148
|
+
* Feature - API update.
|
149
|
+
|
150
|
+
1.5.0 (2019-05-14)
|
151
|
+
------------------
|
152
|
+
|
153
|
+
* Feature - API update.
|
154
|
+
|
155
|
+
1.4.0 (2019-03-21)
|
156
|
+
------------------
|
157
|
+
|
158
|
+
* Feature - API update.
|
159
|
+
|
160
|
+
1.3.0 (2019-03-18)
|
161
|
+
------------------
|
162
|
+
|
163
|
+
* Feature - API update.
|
164
|
+
|
165
|
+
1.2.0 (2019-03-14)
|
166
|
+
------------------
|
167
|
+
|
168
|
+
* Feature - API update.
|
169
|
+
|
170
|
+
1.1.0 (2019-02-28)
|
171
|
+
------------------
|
172
|
+
|
173
|
+
* Feature - API update.
|
174
|
+
|
175
|
+
1.0.0 (2018-12-18)
|
176
|
+
------------------
|
177
|
+
|
178
|
+
* Feature - Initial release of `aws-sdk-apigatewayv2`.
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,202 @@
|
|
1
|
+
|
2
|
+
Apache License
|
3
|
+
Version 2.0, January 2004
|
4
|
+
http://www.apache.org/licenses/
|
5
|
+
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
7
|
+
|
8
|
+
1. Definitions.
|
9
|
+
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
12
|
+
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
14
|
+
the copyright owner that is granting the License.
|
15
|
+
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
17
|
+
other entities that control, are controlled by, or are under common
|
18
|
+
control with that entity. For the purposes of this definition,
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
20
|
+
direction or management of such entity, whether by contract or
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
23
|
+
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
25
|
+
exercising permissions granted by this License.
|
26
|
+
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
28
|
+
including but not limited to software source code, documentation
|
29
|
+
source, and configuration files.
|
30
|
+
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
32
|
+
transformation or translation of a Source form, including but
|
33
|
+
not limited to compiled object code, generated documentation,
|
34
|
+
and conversions to other media types.
|
35
|
+
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
37
|
+
Object form, made available under the License, as indicated by a
|
38
|
+
copyright notice that is included in or attached to the work
|
39
|
+
(an example is provided in the Appendix below).
|
40
|
+
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
47
|
+
the Work and Derivative Works thereof.
|
48
|
+
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
50
|
+
the original version of the Work and any modifications or additions
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
62
|
+
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
65
|
+
subsequently incorporated within the Work.
|
66
|
+
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
73
|
+
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
79
|
+
where such license applies only to those patent claims licensable
|
80
|
+
by such Contributor that are necessarily infringed by their
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
83
|
+
institute patent litigation against any entity (including a
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
86
|
+
or contributory patent infringement, then any patent licenses
|
87
|
+
granted to You under this License for that Work shall terminate
|
88
|
+
as of the date such litigation is filed.
|
89
|
+
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
92
|
+
modifications, and in Source or Object form, provided that You
|
93
|
+
meet the following conditions:
|
94
|
+
|
95
|
+
(a) You must give any other recipients of the Work or
|
96
|
+
Derivative Works a copy of this License; and
|
97
|
+
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
99
|
+
stating that You changed the files; and
|
100
|
+
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
103
|
+
attribution notices from the Source form of the Work,
|
104
|
+
excluding those notices that do not pertain to any part of
|
105
|
+
the Derivative Works; and
|
106
|
+
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
109
|
+
include a readable copy of the attribution notices contained
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
112
|
+
of the following places: within a NOTICE text file distributed
|
113
|
+
as part of the Derivative Works; within the Source form or
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
115
|
+
within a display generated by the Derivative Works, if and
|
116
|
+
wherever such third-party notices normally appear. The contents
|
117
|
+
of the NOTICE file are for informational purposes only and
|
118
|
+
do not modify the License. You may add Your own attribution
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
121
|
+
that such additional attribution notices cannot be construed
|
122
|
+
as modifying the License.
|
123
|
+
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
125
|
+
may provide additional or different license terms and conditions
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
129
|
+
the conditions stated in this License.
|
130
|
+
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
134
|
+
this License, without any additional terms or conditions.
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
136
|
+
the terms of any separate license agreement you may have executed
|
137
|
+
with Licensor regarding such Contributions.
|
138
|
+
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
141
|
+
except as required for reasonable and customary use in describing the
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
143
|
+
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
153
|
+
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
159
|
+
incidental, or consequential damages of any character arising as a
|
160
|
+
result of this License or out of the use or inability to use the
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
163
|
+
other commercial damages or losses), even if such Contributor
|
164
|
+
has been advised of the possibility of such damages.
|
165
|
+
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
169
|
+
or other liability obligations and/or rights consistent with this
|
170
|
+
License. However, in accepting such obligations, You may act only
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
175
|
+
of your accepting any such warranty or additional liability.
|
176
|
+
|
177
|
+
END OF TERMS AND CONDITIONS
|
178
|
+
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
180
|
+
|
181
|
+
To apply the Apache License to your work, attach the following
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
183
|
+
replaced with your own identifying information. (Don't include
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
185
|
+
comment syntax for the file format. We also recommend that a
|
186
|
+
file or class name and description of purpose be included on the
|
187
|
+
same "printed page" as the copyright notice for easier
|
188
|
+
identification within third-party archives.
|
189
|
+
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
191
|
+
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
193
|
+
you may not use this file except in compliance with the License.
|
194
|
+
You may obtain a copy of the License at
|
195
|
+
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
197
|
+
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
201
|
+
See the License for the specific language governing permissions and
|
202
|
+
limitations under the License.
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
1.33.0
|
data/lib/aws-sdk-apigatewayv2.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-apigatewayv2/customizations'
|
|
48
48
|
# @!group service
|
49
49
|
module Aws::ApiGatewayV2
|
50
50
|
|
51
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.33.0'
|
52
52
|
|
53
53
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -790,17 +790,42 @@ module Aws::ApiGatewayV2
|
|
790
790
|
# A string with a length between \[1-64\].
|
791
791
|
#
|
792
792
|
# @option params [Hash<String,String>] :request_parameters
|
793
|
-
#
|
794
|
-
#
|
795
|
-
# parameter name and the
|
796
|
-
#
|
797
|
-
#
|
798
|
-
# must match the pattern of
|
799
|
-
# name
|
800
|
-
#
|
801
|
-
#
|
802
|
-
#
|
803
|
-
#
|
793
|
+
# For WebSocket APIs, a key-value map specifying request parameters that
|
794
|
+
# are passed from the method request to the backend. The key is an
|
795
|
+
# integration request parameter name and the associated value is a
|
796
|
+
# method request parameter value or static value that must be enclosed
|
797
|
+
# within single quotes and pre-encoded as required by the backend. The
|
798
|
+
# method request parameter value must match the pattern of
|
799
|
+
# method.request.*\\\{location\\}*.*\\\{name\\}* , where
|
800
|
+
# *\\\{location\\}* is querystring, path, or header; and *\\\{name\\}*
|
801
|
+
# must be a valid and unique method request parameter name.
|
802
|
+
#
|
803
|
+
# For HTTP API integrations with a specified integrationSubtype, request
|
804
|
+
# parameters are a key-value map specifying parameters that are passed
|
805
|
+
# to AWS\_PROXY integrations. You can provide static values, or map
|
806
|
+
# request data, stage variables, or context variables that are evaluated
|
807
|
+
# at runtime. To learn more, see [Working with AWS service integrations
|
808
|
+
# for HTTP APIs][1].
|
809
|
+
#
|
810
|
+
# For HTTP API integrations without a specified integrationSubtype
|
811
|
+
# request parameters are a key-value map specifying how to transform
|
812
|
+
# HTTP requests before sending them to the backend. The key should
|
813
|
+
# follow the pattern
|
814
|
+
# <action>\:<header\|querystring\|path>.<location>
|
815
|
+
# where action can be append, overwrite or remove. For values, you can
|
816
|
+
# provide static values, or map request data, stage variables, or
|
817
|
+
# context variables that are evaluated at runtime. To learn more, see
|
818
|
+
# [Transforming API requests and responses][2].
|
819
|
+
#
|
820
|
+
#
|
821
|
+
#
|
822
|
+
# [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services.html
|
823
|
+
# [2]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html
|
824
|
+
#
|
825
|
+
# @option params [Hash<String,Hash>] :response_parameters
|
826
|
+
# Supported only for HTTP APIs. You use response parameters to transform
|
827
|
+
# the HTTP response from a backend integration before returning the
|
828
|
+
# response to clients.
|
804
829
|
#
|
805
830
|
# @option params [Hash<String,String>] :request_templates
|
806
831
|
# A mapping of identifier keys to templates. The value is an actual
|
@@ -840,6 +865,7 @@ module Aws::ApiGatewayV2
|
|
840
865
|
# * {Types::CreateIntegrationResult#passthrough_behavior #passthrough_behavior} => String
|
841
866
|
# * {Types::CreateIntegrationResult#payload_format_version #payload_format_version} => String
|
842
867
|
# * {Types::CreateIntegrationResult#request_parameters #request_parameters} => Hash<String,String>
|
868
|
+
# * {Types::CreateIntegrationResult#response_parameters #response_parameters} => Hash<String,Hash<String,String>>
|
843
869
|
# * {Types::CreateIntegrationResult#request_templates #request_templates} => Hash<String,String>
|
844
870
|
# * {Types::CreateIntegrationResult#template_selection_expression #template_selection_expression} => String
|
845
871
|
# * {Types::CreateIntegrationResult#timeout_in_millis #timeout_in_millis} => Integer
|
@@ -863,6 +889,11 @@ module Aws::ApiGatewayV2
|
|
863
889
|
# request_parameters: {
|
864
890
|
# "__string" => "StringWithLengthBetween1And512",
|
865
891
|
# },
|
892
|
+
# response_parameters: {
|
893
|
+
# "__string" => {
|
894
|
+
# "__string" => "StringWithLengthBetween1And512",
|
895
|
+
# },
|
896
|
+
# },
|
866
897
|
# request_templates: {
|
867
898
|
# "__string" => "StringWithLengthBetween0And32K",
|
868
899
|
# },
|
@@ -891,6 +922,9 @@ module Aws::ApiGatewayV2
|
|
891
922
|
# resp.payload_format_version #=> String
|
892
923
|
# resp.request_parameters #=> Hash
|
893
924
|
# resp.request_parameters["__string"] #=> String
|
925
|
+
# resp.response_parameters #=> Hash
|
926
|
+
# resp.response_parameters["__string"] #=> Hash
|
927
|
+
# resp.response_parameters["__string"]["__string"] #=> String
|
894
928
|
# resp.request_templates #=> Hash
|
895
929
|
# resp.request_templates["__string"] #=> String
|
896
930
|
# resp.template_selection_expression #=> String
|
@@ -925,17 +959,37 @@ module Aws::ApiGatewayV2
|
|
925
959
|
# [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions
|
926
960
|
#
|
927
961
|
# @option params [Hash<String,String>] :response_parameters
|
928
|
-
#
|
929
|
-
#
|
930
|
-
# parameter name and the
|
931
|
-
#
|
932
|
-
#
|
933
|
-
# must match the pattern of
|
934
|
-
# name
|
935
|
-
#
|
936
|
-
#
|
937
|
-
#
|
938
|
-
#
|
962
|
+
# For WebSocket APIs, a key-value map specifying request parameters that
|
963
|
+
# are passed from the method request to the backend. The key is an
|
964
|
+
# integration request parameter name and the associated value is a
|
965
|
+
# method request parameter value or static value that must be enclosed
|
966
|
+
# within single quotes and pre-encoded as required by the backend. The
|
967
|
+
# method request parameter value must match the pattern of
|
968
|
+
# method.request.*\\\{location\\}*.*\\\{name\\}* , where
|
969
|
+
# *\\\{location\\}* is querystring, path, or header; and *\\\{name\\}*
|
970
|
+
# must be a valid and unique method request parameter name.
|
971
|
+
#
|
972
|
+
# For HTTP API integrations with a specified integrationSubtype, request
|
973
|
+
# parameters are a key-value map specifying parameters that are passed
|
974
|
+
# to AWS\_PROXY integrations. You can provide static values, or map
|
975
|
+
# request data, stage variables, or context variables that are evaluated
|
976
|
+
# at runtime. To learn more, see [Working with AWS service integrations
|
977
|
+
# for HTTP APIs][1].
|
978
|
+
#
|
979
|
+
# For HTTP API integrations without a specified integrationSubtype
|
980
|
+
# request parameters are a key-value map specifying how to transform
|
981
|
+
# HTTP requests before sending them to the backend. The key should
|
982
|
+
# follow the pattern
|
983
|
+
# <action>\:<header\|querystring\|path>.<location>
|
984
|
+
# where action can be append, overwrite or remove. For values, you can
|
985
|
+
# provide static values, or map request data, stage variables, or
|
986
|
+
# context variables that are evaluated at runtime. To learn more, see
|
987
|
+
# [Transforming API requests and responses][2].
|
988
|
+
#
|
989
|
+
#
|
990
|
+
#
|
991
|
+
# [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services.html
|
992
|
+
# [2]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html
|
939
993
|
#
|
940
994
|
# @option params [Hash<String,String>] :response_templates
|
941
995
|
# A mapping of identifier keys to templates. The value is an actual
|
@@ -2330,6 +2384,7 @@ module Aws::ApiGatewayV2
|
|
2330
2384
|
# * {Types::GetIntegrationResult#passthrough_behavior #passthrough_behavior} => String
|
2331
2385
|
# * {Types::GetIntegrationResult#payload_format_version #payload_format_version} => String
|
2332
2386
|
# * {Types::GetIntegrationResult#request_parameters #request_parameters} => Hash<String,String>
|
2387
|
+
# * {Types::GetIntegrationResult#response_parameters #response_parameters} => Hash<String,Hash<String,String>>
|
2333
2388
|
# * {Types::GetIntegrationResult#request_templates #request_templates} => Hash<String,String>
|
2334
2389
|
# * {Types::GetIntegrationResult#template_selection_expression #template_selection_expression} => String
|
2335
2390
|
# * {Types::GetIntegrationResult#timeout_in_millis #timeout_in_millis} => Integer
|
@@ -2360,6 +2415,9 @@ module Aws::ApiGatewayV2
|
|
2360
2415
|
# resp.payload_format_version #=> String
|
2361
2416
|
# resp.request_parameters #=> Hash
|
2362
2417
|
# resp.request_parameters["__string"] #=> String
|
2418
|
+
# resp.response_parameters #=> Hash
|
2419
|
+
# resp.response_parameters["__string"] #=> Hash
|
2420
|
+
# resp.response_parameters["__string"]["__string"] #=> String
|
2363
2421
|
# resp.request_templates #=> Hash
|
2364
2422
|
# resp.request_templates["__string"] #=> String
|
2365
2423
|
# resp.template_selection_expression #=> String
|
@@ -2500,6 +2558,9 @@ module Aws::ApiGatewayV2
|
|
2500
2558
|
# resp.items[0].payload_format_version #=> String
|
2501
2559
|
# resp.items[0].request_parameters #=> Hash
|
2502
2560
|
# resp.items[0].request_parameters["__string"] #=> String
|
2561
|
+
# resp.items[0].response_parameters #=> Hash
|
2562
|
+
# resp.items[0].response_parameters["__string"] #=> Hash
|
2563
|
+
# resp.items[0].response_parameters["__string"]["__string"] #=> String
|
2503
2564
|
# resp.items[0].request_templates #=> Hash
|
2504
2565
|
# resp.items[0].request_templates["__string"] #=> String
|
2505
2566
|
# resp.items[0].template_selection_expression #=> String
|
@@ -3693,17 +3754,42 @@ module Aws::ApiGatewayV2
|
|
3693
3754
|
# A string with a length between \[1-64\].
|
3694
3755
|
#
|
3695
3756
|
# @option params [Hash<String,String>] :request_parameters
|
3696
|
-
#
|
3697
|
-
#
|
3698
|
-
# parameter name and the
|
3699
|
-
#
|
3700
|
-
#
|
3701
|
-
# must match the pattern of
|
3702
|
-
# name
|
3703
|
-
#
|
3704
|
-
#
|
3705
|
-
#
|
3706
|
-
#
|
3757
|
+
# For WebSocket APIs, a key-value map specifying request parameters that
|
3758
|
+
# are passed from the method request to the backend. The key is an
|
3759
|
+
# integration request parameter name and the associated value is a
|
3760
|
+
# method request parameter value or static value that must be enclosed
|
3761
|
+
# within single quotes and pre-encoded as required by the backend. The
|
3762
|
+
# method request parameter value must match the pattern of
|
3763
|
+
# method.request.*\\\{location\\}*.*\\\{name\\}* , where
|
3764
|
+
# *\\\{location\\}* is querystring, path, or header; and *\\\{name\\}*
|
3765
|
+
# must be a valid and unique method request parameter name.
|
3766
|
+
#
|
3767
|
+
# For HTTP API integrations with a specified integrationSubtype, request
|
3768
|
+
# parameters are a key-value map specifying parameters that are passed
|
3769
|
+
# to AWS\_PROXY integrations. You can provide static values, or map
|
3770
|
+
# request data, stage variables, or context variables that are evaluated
|
3771
|
+
# at runtime. To learn more, see [Working with AWS service integrations
|
3772
|
+
# for HTTP APIs][1].
|
3773
|
+
#
|
3774
|
+
# For HTTP API integrations without a specified integrationSubtype
|
3775
|
+
# request parameters are a key-value map specifying how to transform
|
3776
|
+
# HTTP requests before sending them to the backend. The key should
|
3777
|
+
# follow the pattern
|
3778
|
+
# <action>\:<header\|querystring\|path>.<location>
|
3779
|
+
# where action can be append, overwrite or remove. For values, you can
|
3780
|
+
# provide static values, or map request data, stage variables, or
|
3781
|
+
# context variables that are evaluated at runtime. To learn more, see
|
3782
|
+
# [Transforming API requests and responses][2].
|
3783
|
+
#
|
3784
|
+
#
|
3785
|
+
#
|
3786
|
+
# [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services.html
|
3787
|
+
# [2]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html
|
3788
|
+
#
|
3789
|
+
# @option params [Hash<String,Hash>] :response_parameters
|
3790
|
+
# Supported only for HTTP APIs. You use response parameters to transform
|
3791
|
+
# the HTTP response from a backend integration before returning the
|
3792
|
+
# response to clients.
|
3707
3793
|
#
|
3708
3794
|
# @option params [Hash<String,String>] :request_templates
|
3709
3795
|
# A mapping of identifier keys to templates. The value is an actual
|
@@ -3743,6 +3829,7 @@ module Aws::ApiGatewayV2
|
|
3743
3829
|
# * {Types::UpdateIntegrationResult#passthrough_behavior #passthrough_behavior} => String
|
3744
3830
|
# * {Types::UpdateIntegrationResult#payload_format_version #payload_format_version} => String
|
3745
3831
|
# * {Types::UpdateIntegrationResult#request_parameters #request_parameters} => Hash<String,String>
|
3832
|
+
# * {Types::UpdateIntegrationResult#response_parameters #response_parameters} => Hash<String,Hash<String,String>>
|
3746
3833
|
# * {Types::UpdateIntegrationResult#request_templates #request_templates} => Hash<String,String>
|
3747
3834
|
# * {Types::UpdateIntegrationResult#template_selection_expression #template_selection_expression} => String
|
3748
3835
|
# * {Types::UpdateIntegrationResult#timeout_in_millis #timeout_in_millis} => Integer
|
@@ -3767,6 +3854,11 @@ module Aws::ApiGatewayV2
|
|
3767
3854
|
# request_parameters: {
|
3768
3855
|
# "__string" => "StringWithLengthBetween1And512",
|
3769
3856
|
# },
|
3857
|
+
# response_parameters: {
|
3858
|
+
# "__string" => {
|
3859
|
+
# "__string" => "StringWithLengthBetween1And512",
|
3860
|
+
# },
|
3861
|
+
# },
|
3770
3862
|
# request_templates: {
|
3771
3863
|
# "__string" => "StringWithLengthBetween0And32K",
|
3772
3864
|
# },
|
@@ -3795,6 +3887,9 @@ module Aws::ApiGatewayV2
|
|
3795
3887
|
# resp.payload_format_version #=> String
|
3796
3888
|
# resp.request_parameters #=> Hash
|
3797
3889
|
# resp.request_parameters["__string"] #=> String
|
3890
|
+
# resp.response_parameters #=> Hash
|
3891
|
+
# resp.response_parameters["__string"] #=> Hash
|
3892
|
+
# resp.response_parameters["__string"]["__string"] #=> String
|
3798
3893
|
# resp.request_templates #=> Hash
|
3799
3894
|
# resp.request_templates["__string"] #=> String
|
3800
3895
|
# resp.template_selection_expression #=> String
|
@@ -3831,17 +3926,37 @@ module Aws::ApiGatewayV2
|
|
3831
3926
|
# [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions
|
3832
3927
|
#
|
3833
3928
|
# @option params [Hash<String,String>] :response_parameters
|
3834
|
-
#
|
3835
|
-
#
|
3836
|
-
# parameter name and the
|
3837
|
-
#
|
3838
|
-
#
|
3839
|
-
# must match the pattern of
|
3840
|
-
# name
|
3841
|
-
#
|
3842
|
-
#
|
3843
|
-
#
|
3844
|
-
#
|
3929
|
+
# For WebSocket APIs, a key-value map specifying request parameters that
|
3930
|
+
# are passed from the method request to the backend. The key is an
|
3931
|
+
# integration request parameter name and the associated value is a
|
3932
|
+
# method request parameter value or static value that must be enclosed
|
3933
|
+
# within single quotes and pre-encoded as required by the backend. The
|
3934
|
+
# method request parameter value must match the pattern of
|
3935
|
+
# method.request.*\\\{location\\}*.*\\\{name\\}* , where
|
3936
|
+
# *\\\{location\\}* is querystring, path, or header; and *\\\{name\\}*
|
3937
|
+
# must be a valid and unique method request parameter name.
|
3938
|
+
#
|
3939
|
+
# For HTTP API integrations with a specified integrationSubtype, request
|
3940
|
+
# parameters are a key-value map specifying parameters that are passed
|
3941
|
+
# to AWS\_PROXY integrations. You can provide static values, or map
|
3942
|
+
# request data, stage variables, or context variables that are evaluated
|
3943
|
+
# at runtime. To learn more, see [Working with AWS service integrations
|
3944
|
+
# for HTTP APIs][1].
|
3945
|
+
#
|
3946
|
+
# For HTTP API integrations without a specified integrationSubtype
|
3947
|
+
# request parameters are a key-value map specifying how to transform
|
3948
|
+
# HTTP requests before sending them to the backend. The key should
|
3949
|
+
# follow the pattern
|
3950
|
+
# <action>\:<header\|querystring\|path>.<location>
|
3951
|
+
# where action can be append, overwrite or remove. For values, you can
|
3952
|
+
# provide static values, or map request data, stage variables, or
|
3953
|
+
# context variables that are evaluated at runtime. To learn more, see
|
3954
|
+
# [Transforming API requests and responses][2].
|
3955
|
+
#
|
3956
|
+
#
|
3957
|
+
#
|
3958
|
+
# [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services.html
|
3959
|
+
# [2]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html
|
3845
3960
|
#
|
3846
3961
|
# @option params [Hash<String,String>] :response_templates
|
3847
3962
|
# A mapping of identifier keys to templates. The value is an actual
|
@@ -4336,7 +4451,7 @@ module Aws::ApiGatewayV2
|
|
4336
4451
|
params: params,
|
4337
4452
|
config: config)
|
4338
4453
|
context[:gem_name] = 'aws-sdk-apigatewayv2'
|
4339
|
-
context[:gem_version] = '1.
|
4454
|
+
context[:gem_version] = '1.33.0'
|
4340
4455
|
Seahorse::Client::Request.new(handlers, context)
|
4341
4456
|
end
|
4342
4457
|
|