@aws-sdk/client-accessanalyzer 3.193.0 → 3.196.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.
- package/CHANGELOG.md +20 -0
- package/dist-cjs/AccessAnalyzerClient.js +11 -8
- package/dist-cjs/commands/ApplyArchiveRuleCommand.js +10 -0
- package/dist-cjs/commands/CancelPolicyGenerationCommand.js +10 -0
- package/dist-cjs/commands/CreateAccessPreviewCommand.js +10 -0
- package/dist-cjs/commands/CreateAnalyzerCommand.js +10 -0
- package/dist-cjs/commands/CreateArchiveRuleCommand.js +10 -0
- package/dist-cjs/commands/DeleteAnalyzerCommand.js +10 -0
- package/dist-cjs/commands/DeleteArchiveRuleCommand.js +10 -0
- package/dist-cjs/commands/GetAccessPreviewCommand.js +10 -0
- package/dist-cjs/commands/GetAnalyzedResourceCommand.js +10 -0
- package/dist-cjs/commands/GetAnalyzerCommand.js +10 -0
- package/dist-cjs/commands/GetArchiveRuleCommand.js +10 -0
- package/dist-cjs/commands/GetFindingCommand.js +10 -0
- package/dist-cjs/commands/GetGeneratedPolicyCommand.js +10 -0
- package/dist-cjs/commands/ListAccessPreviewFindingsCommand.js +10 -0
- package/dist-cjs/commands/ListAccessPreviewsCommand.js +10 -0
- package/dist-cjs/commands/ListAnalyzedResourcesCommand.js +10 -0
- package/dist-cjs/commands/ListAnalyzersCommand.js +10 -0
- package/dist-cjs/commands/ListArchiveRulesCommand.js +10 -0
- package/dist-cjs/commands/ListFindingsCommand.js +10 -0
- package/dist-cjs/commands/ListPolicyGenerationsCommand.js +10 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +10 -0
- package/dist-cjs/commands/StartPolicyGenerationCommand.js +10 -0
- package/dist-cjs/commands/StartResourceScanCommand.js +10 -0
- package/dist-cjs/commands/TagResourceCommand.js +10 -0
- package/dist-cjs/commands/UntagResourceCommand.js +10 -0
- package/dist-cjs/commands/UpdateArchiveRuleCommand.js +10 -0
- package/dist-cjs/commands/UpdateFindingsCommand.js +10 -0
- package/dist-cjs/commands/ValidatePolicyCommand.js +10 -0
- package/dist-cjs/endpoint/EndpointParameters.js +13 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +318 -0
- package/dist-cjs/models/models_0.js +93 -3
- package/dist-cjs/protocols/Aws_restJson1.js +259 -0
- package/dist-cjs/runtimeConfig.shared.js +3 -3
- package/dist-es/AccessAnalyzerClient.js +12 -9
- package/dist-es/commands/ApplyArchiveRuleCommand.js +10 -0
- package/dist-es/commands/CancelPolicyGenerationCommand.js +10 -0
- package/dist-es/commands/CreateAccessPreviewCommand.js +10 -0
- package/dist-es/commands/CreateAnalyzerCommand.js +10 -0
- package/dist-es/commands/CreateArchiveRuleCommand.js +10 -0
- package/dist-es/commands/DeleteAnalyzerCommand.js +10 -0
- package/dist-es/commands/DeleteArchiveRuleCommand.js +10 -0
- package/dist-es/commands/GetAccessPreviewCommand.js +10 -0
- package/dist-es/commands/GetAnalyzedResourceCommand.js +10 -0
- package/dist-es/commands/GetAnalyzerCommand.js +10 -0
- package/dist-es/commands/GetArchiveRuleCommand.js +10 -0
- package/dist-es/commands/GetFindingCommand.js +10 -0
- package/dist-es/commands/GetGeneratedPolicyCommand.js +10 -0
- package/dist-es/commands/ListAccessPreviewFindingsCommand.js +10 -0
- package/dist-es/commands/ListAccessPreviewsCommand.js +10 -0
- package/dist-es/commands/ListAnalyzedResourcesCommand.js +10 -0
- package/dist-es/commands/ListAnalyzersCommand.js +10 -0
- package/dist-es/commands/ListArchiveRulesCommand.js +10 -0
- package/dist-es/commands/ListFindingsCommand.js +10 -0
- package/dist-es/commands/ListPolicyGenerationsCommand.js +10 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +10 -0
- package/dist-es/commands/StartPolicyGenerationCommand.js +10 -0
- package/dist-es/commands/StartResourceScanCommand.js +10 -0
- package/dist-es/commands/TagResourceCommand.js +10 -0
- package/dist-es/commands/UntagResourceCommand.js +10 -0
- package/dist-es/commands/UpdateArchiveRuleCommand.js +10 -0
- package/dist-es/commands/UpdateFindingsCommand.js +10 -0
- package/dist-es/commands/ValidatePolicyCommand.js +10 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +315 -0
- package/dist-es/models/models_0.js +82 -0
- package/dist-es/protocols/Aws_restJson1.js +260 -1
- package/dist-es/runtimeConfig.shared.js +2 -2
- package/dist-types/AccessAnalyzerClient.d.ts +6 -9
- package/dist-types/commands/ApplyArchiveRuleCommand.d.ts +2 -0
- package/dist-types/commands/CancelPolicyGenerationCommand.d.ts +2 -0
- package/dist-types/commands/CreateAccessPreviewCommand.d.ts +2 -0
- package/dist-types/commands/CreateAnalyzerCommand.d.ts +2 -0
- package/dist-types/commands/CreateArchiveRuleCommand.d.ts +2 -0
- package/dist-types/commands/DeleteAnalyzerCommand.d.ts +2 -0
- package/dist-types/commands/DeleteArchiveRuleCommand.d.ts +2 -0
- package/dist-types/commands/GetAccessPreviewCommand.d.ts +2 -0
- package/dist-types/commands/GetAnalyzedResourceCommand.d.ts +2 -0
- package/dist-types/commands/GetAnalyzerCommand.d.ts +2 -0
- package/dist-types/commands/GetArchiveRuleCommand.d.ts +2 -0
- package/dist-types/commands/GetFindingCommand.d.ts +2 -0
- package/dist-types/commands/GetGeneratedPolicyCommand.d.ts +2 -0
- package/dist-types/commands/ListAccessPreviewFindingsCommand.d.ts +2 -0
- package/dist-types/commands/ListAccessPreviewsCommand.d.ts +2 -0
- package/dist-types/commands/ListAnalyzedResourcesCommand.d.ts +2 -0
- package/dist-types/commands/ListAnalyzersCommand.d.ts +2 -0
- package/dist-types/commands/ListArchiveRulesCommand.d.ts +2 -0
- package/dist-types/commands/ListFindingsCommand.d.ts +2 -0
- package/dist-types/commands/ListPolicyGenerationsCommand.d.ts +2 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/dist-types/commands/StartPolicyGenerationCommand.d.ts +2 -0
- package/dist-types/commands/StartResourceScanCommand.d.ts +2 -0
- package/dist-types/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
- package/dist-types/commands/UpdateArchiveRuleCommand.d.ts +2 -0
- package/dist-types/commands/UpdateFindingsCommand.d.ts +2 -0
- package/dist-types/commands/ValidatePolicyCommand.d.ts +2 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +475 -5
- package/dist-types/runtimeConfig.browser.d.ts +4 -2
- package/dist-types/runtimeConfig.d.ts +4 -2
- package/dist-types/runtimeConfig.native.d.ts +4 -2
- package/dist-types/runtimeConfig.shared.d.ts +3 -1
- package/dist-types/ts3.4/AccessAnalyzerClient.d.ts +15 -8
- package/dist-types/ts3.4/commands/ApplyArchiveRuleCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CancelPolicyGenerationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateAccessPreviewCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateAnalyzerCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateArchiveRuleCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteAnalyzerCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteArchiveRuleCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetAccessPreviewCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetAnalyzedResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetAnalyzerCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetArchiveRuleCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetFindingCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetGeneratedPolicyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListAccessPreviewFindingsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListAccessPreviewsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListAnalyzedResourcesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListAnalyzersCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListArchiveRulesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListFindingsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListPolicyGenerationsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/StartPolicyGenerationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/StartResourceScanCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateArchiveRuleCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateFindingsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ValidatePolicyCommand.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +227 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
- package/package.json +5 -3
- package/dist-cjs/endpoints.js +0 -196
- package/dist-es/endpoints.js +0 -192
- package/dist-types/endpoints.d.ts +0 -2
- package/dist-types/ts3.4/endpoints.d.ts +0 -2
|
@@ -0,0 +1,315 @@
|
|
|
1
|
+
export const ruleSet = {
|
|
2
|
+
version: "1.0",
|
|
3
|
+
parameters: {
|
|
4
|
+
Region: {
|
|
5
|
+
builtIn: "AWS::Region",
|
|
6
|
+
required: false,
|
|
7
|
+
documentation: "The AWS region used to dispatch the request.",
|
|
8
|
+
type: "String",
|
|
9
|
+
},
|
|
10
|
+
UseDualStack: {
|
|
11
|
+
builtIn: "AWS::UseDualStack",
|
|
12
|
+
required: true,
|
|
13
|
+
default: false,
|
|
14
|
+
documentation: "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.",
|
|
15
|
+
type: "Boolean",
|
|
16
|
+
},
|
|
17
|
+
UseFIPS: {
|
|
18
|
+
builtIn: "AWS::UseFIPS",
|
|
19
|
+
required: true,
|
|
20
|
+
default: false,
|
|
21
|
+
documentation: "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.",
|
|
22
|
+
type: "Boolean",
|
|
23
|
+
},
|
|
24
|
+
Endpoint: {
|
|
25
|
+
builtIn: "SDK::Endpoint",
|
|
26
|
+
required: false,
|
|
27
|
+
documentation: "Override the endpoint used to send this request",
|
|
28
|
+
type: "String",
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
rules: [
|
|
32
|
+
{
|
|
33
|
+
conditions: [
|
|
34
|
+
{
|
|
35
|
+
fn: "aws.partition",
|
|
36
|
+
argv: [
|
|
37
|
+
{
|
|
38
|
+
ref: "Region",
|
|
39
|
+
},
|
|
40
|
+
],
|
|
41
|
+
assign: "PartitionResult",
|
|
42
|
+
},
|
|
43
|
+
],
|
|
44
|
+
type: "tree",
|
|
45
|
+
rules: [
|
|
46
|
+
{
|
|
47
|
+
conditions: [
|
|
48
|
+
{
|
|
49
|
+
fn: "isSet",
|
|
50
|
+
argv: [
|
|
51
|
+
{
|
|
52
|
+
ref: "Endpoint",
|
|
53
|
+
},
|
|
54
|
+
],
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
fn: "parseURL",
|
|
58
|
+
argv: [
|
|
59
|
+
{
|
|
60
|
+
ref: "Endpoint",
|
|
61
|
+
},
|
|
62
|
+
],
|
|
63
|
+
assign: "url",
|
|
64
|
+
},
|
|
65
|
+
],
|
|
66
|
+
type: "tree",
|
|
67
|
+
rules: [
|
|
68
|
+
{
|
|
69
|
+
conditions: [
|
|
70
|
+
{
|
|
71
|
+
fn: "booleanEquals",
|
|
72
|
+
argv: [
|
|
73
|
+
{
|
|
74
|
+
ref: "UseFIPS",
|
|
75
|
+
},
|
|
76
|
+
true,
|
|
77
|
+
],
|
|
78
|
+
},
|
|
79
|
+
],
|
|
80
|
+
error: "Invalid Configuration: FIPS and custom endpoint are not supported",
|
|
81
|
+
type: "error",
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
conditions: [],
|
|
85
|
+
type: "tree",
|
|
86
|
+
rules: [
|
|
87
|
+
{
|
|
88
|
+
conditions: [
|
|
89
|
+
{
|
|
90
|
+
fn: "booleanEquals",
|
|
91
|
+
argv: [
|
|
92
|
+
{
|
|
93
|
+
ref: "UseDualStack",
|
|
94
|
+
},
|
|
95
|
+
true,
|
|
96
|
+
],
|
|
97
|
+
},
|
|
98
|
+
],
|
|
99
|
+
error: "Invalid Configuration: Dualstack and custom endpoint are not supported",
|
|
100
|
+
type: "error",
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
conditions: [],
|
|
104
|
+
endpoint: {
|
|
105
|
+
url: {
|
|
106
|
+
ref: "Endpoint",
|
|
107
|
+
},
|
|
108
|
+
properties: {},
|
|
109
|
+
headers: {},
|
|
110
|
+
},
|
|
111
|
+
type: "endpoint",
|
|
112
|
+
},
|
|
113
|
+
],
|
|
114
|
+
},
|
|
115
|
+
],
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
conditions: [
|
|
119
|
+
{
|
|
120
|
+
fn: "booleanEquals",
|
|
121
|
+
argv: [
|
|
122
|
+
{
|
|
123
|
+
ref: "UseFIPS",
|
|
124
|
+
},
|
|
125
|
+
true,
|
|
126
|
+
],
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
fn: "booleanEquals",
|
|
130
|
+
argv: [
|
|
131
|
+
{
|
|
132
|
+
ref: "UseDualStack",
|
|
133
|
+
},
|
|
134
|
+
true,
|
|
135
|
+
],
|
|
136
|
+
},
|
|
137
|
+
],
|
|
138
|
+
type: "tree",
|
|
139
|
+
rules: [
|
|
140
|
+
{
|
|
141
|
+
conditions: [
|
|
142
|
+
{
|
|
143
|
+
fn: "booleanEquals",
|
|
144
|
+
argv: [
|
|
145
|
+
true,
|
|
146
|
+
{
|
|
147
|
+
fn: "getAttr",
|
|
148
|
+
argv: [
|
|
149
|
+
{
|
|
150
|
+
ref: "PartitionResult",
|
|
151
|
+
},
|
|
152
|
+
"supportsFIPS",
|
|
153
|
+
],
|
|
154
|
+
},
|
|
155
|
+
],
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
fn: "booleanEquals",
|
|
159
|
+
argv: [
|
|
160
|
+
true,
|
|
161
|
+
{
|
|
162
|
+
fn: "getAttr",
|
|
163
|
+
argv: [
|
|
164
|
+
{
|
|
165
|
+
ref: "PartitionResult",
|
|
166
|
+
},
|
|
167
|
+
"supportsDualStack",
|
|
168
|
+
],
|
|
169
|
+
},
|
|
170
|
+
],
|
|
171
|
+
},
|
|
172
|
+
],
|
|
173
|
+
type: "tree",
|
|
174
|
+
rules: [
|
|
175
|
+
{
|
|
176
|
+
conditions: [],
|
|
177
|
+
endpoint: {
|
|
178
|
+
url: "https://access-analyzer-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
179
|
+
properties: {},
|
|
180
|
+
headers: {},
|
|
181
|
+
},
|
|
182
|
+
type: "endpoint",
|
|
183
|
+
},
|
|
184
|
+
],
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
conditions: [],
|
|
188
|
+
error: "FIPS and DualStack are enabled, but this partition does not support one or both",
|
|
189
|
+
type: "error",
|
|
190
|
+
},
|
|
191
|
+
],
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
conditions: [
|
|
195
|
+
{
|
|
196
|
+
fn: "booleanEquals",
|
|
197
|
+
argv: [
|
|
198
|
+
{
|
|
199
|
+
ref: "UseFIPS",
|
|
200
|
+
},
|
|
201
|
+
true,
|
|
202
|
+
],
|
|
203
|
+
},
|
|
204
|
+
],
|
|
205
|
+
type: "tree",
|
|
206
|
+
rules: [
|
|
207
|
+
{
|
|
208
|
+
conditions: [
|
|
209
|
+
{
|
|
210
|
+
fn: "booleanEquals",
|
|
211
|
+
argv: [
|
|
212
|
+
true,
|
|
213
|
+
{
|
|
214
|
+
fn: "getAttr",
|
|
215
|
+
argv: [
|
|
216
|
+
{
|
|
217
|
+
ref: "PartitionResult",
|
|
218
|
+
},
|
|
219
|
+
"supportsFIPS",
|
|
220
|
+
],
|
|
221
|
+
},
|
|
222
|
+
],
|
|
223
|
+
},
|
|
224
|
+
],
|
|
225
|
+
type: "tree",
|
|
226
|
+
rules: [
|
|
227
|
+
{
|
|
228
|
+
conditions: [],
|
|
229
|
+
type: "tree",
|
|
230
|
+
rules: [
|
|
231
|
+
{
|
|
232
|
+
conditions: [],
|
|
233
|
+
endpoint: {
|
|
234
|
+
url: "https://access-analyzer-fips.{Region}.{PartitionResult#dnsSuffix}",
|
|
235
|
+
properties: {},
|
|
236
|
+
headers: {},
|
|
237
|
+
},
|
|
238
|
+
type: "endpoint",
|
|
239
|
+
},
|
|
240
|
+
],
|
|
241
|
+
},
|
|
242
|
+
],
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
conditions: [],
|
|
246
|
+
error: "FIPS is enabled but this partition does not support FIPS",
|
|
247
|
+
type: "error",
|
|
248
|
+
},
|
|
249
|
+
],
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
conditions: [
|
|
253
|
+
{
|
|
254
|
+
fn: "booleanEquals",
|
|
255
|
+
argv: [
|
|
256
|
+
{
|
|
257
|
+
ref: "UseDualStack",
|
|
258
|
+
},
|
|
259
|
+
true,
|
|
260
|
+
],
|
|
261
|
+
},
|
|
262
|
+
],
|
|
263
|
+
type: "tree",
|
|
264
|
+
rules: [
|
|
265
|
+
{
|
|
266
|
+
conditions: [
|
|
267
|
+
{
|
|
268
|
+
fn: "booleanEquals",
|
|
269
|
+
argv: [
|
|
270
|
+
true,
|
|
271
|
+
{
|
|
272
|
+
fn: "getAttr",
|
|
273
|
+
argv: [
|
|
274
|
+
{
|
|
275
|
+
ref: "PartitionResult",
|
|
276
|
+
},
|
|
277
|
+
"supportsDualStack",
|
|
278
|
+
],
|
|
279
|
+
},
|
|
280
|
+
],
|
|
281
|
+
},
|
|
282
|
+
],
|
|
283
|
+
type: "tree",
|
|
284
|
+
rules: [
|
|
285
|
+
{
|
|
286
|
+
conditions: [],
|
|
287
|
+
endpoint: {
|
|
288
|
+
url: "https://access-analyzer.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
289
|
+
properties: {},
|
|
290
|
+
headers: {},
|
|
291
|
+
},
|
|
292
|
+
type: "endpoint",
|
|
293
|
+
},
|
|
294
|
+
],
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
conditions: [],
|
|
298
|
+
error: "DualStack is enabled but this partition does not support DualStack",
|
|
299
|
+
type: "error",
|
|
300
|
+
},
|
|
301
|
+
],
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
conditions: [],
|
|
305
|
+
endpoint: {
|
|
306
|
+
url: "https://access-analyzer.{Region}.{PartitionResult#dnsSuffix}",
|
|
307
|
+
properties: {},
|
|
308
|
+
headers: {},
|
|
309
|
+
},
|
|
310
|
+
type: "endpoint",
|
|
311
|
+
},
|
|
312
|
+
],
|
|
313
|
+
},
|
|
314
|
+
],
|
|
315
|
+
};
|
|
@@ -121,6 +121,22 @@ export var KmsGrantOperation;
|
|
|
121
121
|
KmsGrantOperation["SIGN"] = "Sign";
|
|
122
122
|
KmsGrantOperation["VERIFY"] = "Verify";
|
|
123
123
|
})(KmsGrantOperation || (KmsGrantOperation = {}));
|
|
124
|
+
export var RdsDbClusterSnapshotAttributeValue;
|
|
125
|
+
(function (RdsDbClusterSnapshotAttributeValue) {
|
|
126
|
+
RdsDbClusterSnapshotAttributeValue.visit = (value, visitor) => {
|
|
127
|
+
if (value.accountIds !== undefined)
|
|
128
|
+
return visitor.accountIds(value.accountIds);
|
|
129
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
130
|
+
};
|
|
131
|
+
})(RdsDbClusterSnapshotAttributeValue || (RdsDbClusterSnapshotAttributeValue = {}));
|
|
132
|
+
export var RdsDbSnapshotAttributeValue;
|
|
133
|
+
(function (RdsDbSnapshotAttributeValue) {
|
|
134
|
+
RdsDbSnapshotAttributeValue.visit = (value, visitor) => {
|
|
135
|
+
if (value.accountIds !== undefined)
|
|
136
|
+
return visitor.accountIds(value.accountIds);
|
|
137
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
138
|
+
};
|
|
139
|
+
})(RdsDbSnapshotAttributeValue || (RdsDbSnapshotAttributeValue = {}));
|
|
124
140
|
export var NetworkOriginConfiguration;
|
|
125
141
|
(function (NetworkOriginConfiguration) {
|
|
126
142
|
NetworkOriginConfiguration.visit = (value, visitor) => {
|
|
@@ -152,14 +168,26 @@ export var AclPermission;
|
|
|
152
168
|
export var Configuration;
|
|
153
169
|
(function (Configuration) {
|
|
154
170
|
Configuration.visit = (value, visitor) => {
|
|
171
|
+
if (value.ebsSnapshot !== undefined)
|
|
172
|
+
return visitor.ebsSnapshot(value.ebsSnapshot);
|
|
173
|
+
if (value.ecrRepository !== undefined)
|
|
174
|
+
return visitor.ecrRepository(value.ecrRepository);
|
|
155
175
|
if (value.iamRole !== undefined)
|
|
156
176
|
return visitor.iamRole(value.iamRole);
|
|
177
|
+
if (value.efsFileSystem !== undefined)
|
|
178
|
+
return visitor.efsFileSystem(value.efsFileSystem);
|
|
157
179
|
if (value.kmsKey !== undefined)
|
|
158
180
|
return visitor.kmsKey(value.kmsKey);
|
|
181
|
+
if (value.rdsDbClusterSnapshot !== undefined)
|
|
182
|
+
return visitor.rdsDbClusterSnapshot(value.rdsDbClusterSnapshot);
|
|
183
|
+
if (value.rdsDbSnapshot !== undefined)
|
|
184
|
+
return visitor.rdsDbSnapshot(value.rdsDbSnapshot);
|
|
159
185
|
if (value.secretsManagerSecret !== undefined)
|
|
160
186
|
return visitor.secretsManagerSecret(value.secretsManagerSecret);
|
|
161
187
|
if (value.s3Bucket !== undefined)
|
|
162
188
|
return visitor.s3Bucket(value.s3Bucket);
|
|
189
|
+
if (value.snsTopic !== undefined)
|
|
190
|
+
return visitor.snsTopic(value.snsTopic);
|
|
163
191
|
if (value.sqsQueue !== undefined)
|
|
164
192
|
return visitor.sqsQueue(value.sqsQueue);
|
|
165
193
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
@@ -313,6 +341,15 @@ export const CancelPolicyGenerationRequestFilterSensitiveLog = (obj) => ({
|
|
|
313
341
|
export const CancelPolicyGenerationResponseFilterSensitiveLog = (obj) => ({
|
|
314
342
|
...obj,
|
|
315
343
|
});
|
|
344
|
+
export const EbsSnapshotConfigurationFilterSensitiveLog = (obj) => ({
|
|
345
|
+
...obj,
|
|
346
|
+
});
|
|
347
|
+
export const EcrRepositoryConfigurationFilterSensitiveLog = (obj) => ({
|
|
348
|
+
...obj,
|
|
349
|
+
});
|
|
350
|
+
export const EfsFileSystemConfigurationFilterSensitiveLog = (obj) => ({
|
|
351
|
+
...obj,
|
|
352
|
+
});
|
|
316
353
|
export const IamRoleConfigurationFilterSensitiveLog = (obj) => ({
|
|
317
354
|
...obj,
|
|
318
355
|
});
|
|
@@ -325,6 +362,36 @@ export const KmsGrantConfigurationFilterSensitiveLog = (obj) => ({
|
|
|
325
362
|
export const KmsKeyConfigurationFilterSensitiveLog = (obj) => ({
|
|
326
363
|
...obj,
|
|
327
364
|
});
|
|
365
|
+
export const RdsDbClusterSnapshotAttributeValueFilterSensitiveLog = (obj) => {
|
|
366
|
+
if (obj.accountIds !== undefined)
|
|
367
|
+
return { accountIds: obj.accountIds };
|
|
368
|
+
if (obj.$unknown !== undefined)
|
|
369
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
370
|
+
};
|
|
371
|
+
export const RdsDbClusterSnapshotConfigurationFilterSensitiveLog = (obj) => ({
|
|
372
|
+
...obj,
|
|
373
|
+
...(obj.attributes && {
|
|
374
|
+
attributes: Object.entries(obj.attributes).reduce((acc, [key, value]) => ({
|
|
375
|
+
...acc,
|
|
376
|
+
[key]: RdsDbClusterSnapshotAttributeValueFilterSensitiveLog(value),
|
|
377
|
+
}), {}),
|
|
378
|
+
}),
|
|
379
|
+
});
|
|
380
|
+
export const RdsDbSnapshotAttributeValueFilterSensitiveLog = (obj) => {
|
|
381
|
+
if (obj.accountIds !== undefined)
|
|
382
|
+
return { accountIds: obj.accountIds };
|
|
383
|
+
if (obj.$unknown !== undefined)
|
|
384
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
385
|
+
};
|
|
386
|
+
export const RdsDbSnapshotConfigurationFilterSensitiveLog = (obj) => ({
|
|
387
|
+
...obj,
|
|
388
|
+
...(obj.attributes && {
|
|
389
|
+
attributes: Object.entries(obj.attributes).reduce((acc, [key, value]) => ({
|
|
390
|
+
...acc,
|
|
391
|
+
[key]: RdsDbSnapshotAttributeValueFilterSensitiveLog(value),
|
|
392
|
+
}), {}),
|
|
393
|
+
}),
|
|
394
|
+
});
|
|
328
395
|
export const InternetConfigurationFilterSensitiveLog = (obj) => ({
|
|
329
396
|
...obj,
|
|
330
397
|
});
|
|
@@ -373,18 +440,33 @@ export const S3BucketConfigurationFilterSensitiveLog = (obj) => ({
|
|
|
373
440
|
export const SecretsManagerSecretConfigurationFilterSensitiveLog = (obj) => ({
|
|
374
441
|
...obj,
|
|
375
442
|
});
|
|
443
|
+
export const SnsTopicConfigurationFilterSensitiveLog = (obj) => ({
|
|
444
|
+
...obj,
|
|
445
|
+
});
|
|
376
446
|
export const SqsQueueConfigurationFilterSensitiveLog = (obj) => ({
|
|
377
447
|
...obj,
|
|
378
448
|
});
|
|
379
449
|
export const ConfigurationFilterSensitiveLog = (obj) => {
|
|
450
|
+
if (obj.ebsSnapshot !== undefined)
|
|
451
|
+
return { ebsSnapshot: EbsSnapshotConfigurationFilterSensitiveLog(obj.ebsSnapshot) };
|
|
452
|
+
if (obj.ecrRepository !== undefined)
|
|
453
|
+
return { ecrRepository: EcrRepositoryConfigurationFilterSensitiveLog(obj.ecrRepository) };
|
|
380
454
|
if (obj.iamRole !== undefined)
|
|
381
455
|
return { iamRole: IamRoleConfigurationFilterSensitiveLog(obj.iamRole) };
|
|
456
|
+
if (obj.efsFileSystem !== undefined)
|
|
457
|
+
return { efsFileSystem: EfsFileSystemConfigurationFilterSensitiveLog(obj.efsFileSystem) };
|
|
382
458
|
if (obj.kmsKey !== undefined)
|
|
383
459
|
return { kmsKey: KmsKeyConfigurationFilterSensitiveLog(obj.kmsKey) };
|
|
460
|
+
if (obj.rdsDbClusterSnapshot !== undefined)
|
|
461
|
+
return { rdsDbClusterSnapshot: RdsDbClusterSnapshotConfigurationFilterSensitiveLog(obj.rdsDbClusterSnapshot) };
|
|
462
|
+
if (obj.rdsDbSnapshot !== undefined)
|
|
463
|
+
return { rdsDbSnapshot: RdsDbSnapshotConfigurationFilterSensitiveLog(obj.rdsDbSnapshot) };
|
|
384
464
|
if (obj.secretsManagerSecret !== undefined)
|
|
385
465
|
return { secretsManagerSecret: SecretsManagerSecretConfigurationFilterSensitiveLog(obj.secretsManagerSecret) };
|
|
386
466
|
if (obj.s3Bucket !== undefined)
|
|
387
467
|
return { s3Bucket: S3BucketConfigurationFilterSensitiveLog(obj.s3Bucket) };
|
|
468
|
+
if (obj.snsTopic !== undefined)
|
|
469
|
+
return { snsTopic: SnsTopicConfigurationFilterSensitiveLog(obj.snsTopic) };
|
|
388
470
|
if (obj.sqsQueue !== undefined)
|
|
389
471
|
return { sqsQueue: SqsQueueConfigurationFilterSensitiveLog(obj.sqsQueue) };
|
|
390
472
|
if (obj.$unknown !== undefined)
|