@aws-sdk/client-wafv2 3.315.0 → 3.317.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/README.md +24 -0
- package/dist-cjs/WAFV2.js +58 -672
- package/dist-cjs/commands/CreateAPIKeyCommand.js +45 -0
- package/dist-cjs/commands/GetDecryptedAPIKeyCommand.js +45 -0
- package/dist-cjs/commands/ListAPIKeysCommand.js +45 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/protocols/Aws_json1_1.js +179 -2
- package/dist-es/WAFV2.js +58 -672
- package/dist-es/commands/CreateAPIKeyCommand.js +41 -0
- package/dist-es/commands/GetDecryptedAPIKeyCommand.js +41 -0
- package/dist-es/commands/ListAPIKeysCommand.js +41 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/protocols/Aws_json1_1.js +170 -0
- package/dist-types/WAFV2.d.ts +133 -432
- package/dist-types/WAFV2Client.d.ts +5 -2
- package/dist-types/commands/CreateAPIKeyCommand.d.ts +105 -0
- package/dist-types/commands/GetDecryptedAPIKeyCommand.d.ts +96 -0
- package/dist-types/commands/ListAPIKeysCommand.d.ts +97 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +150 -11
- package/dist-types/protocols/Aws_json1_1.d.ts +27 -0
- package/dist-types/ts3.4/WAFV2.d.ts +53 -1
- package/dist-types/ts3.4/WAFV2Client.d.ts +18 -0
- package/dist-types/ts3.4/commands/CreateAPIKeyCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/GetDecryptedAPIKeyCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListAPIKeysCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +31 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +36 -0
- package/package.json +6 -6
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { de_CreateAPIKeyCommand, se_CreateAPIKeyCommand } from "../protocols/Aws_json1_1";
|
|
5
|
+
export class CreateAPIKeyCommand extends $Command {
|
|
6
|
+
static getEndpointParameterInstructions() {
|
|
7
|
+
return {
|
|
8
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
9
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
10
|
+
Region: { type: "builtInParams", name: "region" },
|
|
11
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
constructor(input) {
|
|
15
|
+
super();
|
|
16
|
+
this.input = input;
|
|
17
|
+
}
|
|
18
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
19
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
20
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreateAPIKeyCommand.getEndpointParameterInstructions()));
|
|
21
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
22
|
+
const { logger } = configuration;
|
|
23
|
+
const clientName = "WAFV2Client";
|
|
24
|
+
const commandName = "CreateAPIKeyCommand";
|
|
25
|
+
const handlerExecutionContext = {
|
|
26
|
+
logger,
|
|
27
|
+
clientName,
|
|
28
|
+
commandName,
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
31
|
+
};
|
|
32
|
+
const { requestHandler } = configuration;
|
|
33
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
|
+
}
|
|
35
|
+
serialize(input, context) {
|
|
36
|
+
return se_CreateAPIKeyCommand(input, context);
|
|
37
|
+
}
|
|
38
|
+
deserialize(output, context) {
|
|
39
|
+
return de_CreateAPIKeyCommand(output, context);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { de_GetDecryptedAPIKeyCommand, se_GetDecryptedAPIKeyCommand } from "../protocols/Aws_json1_1";
|
|
5
|
+
export class GetDecryptedAPIKeyCommand extends $Command {
|
|
6
|
+
static getEndpointParameterInstructions() {
|
|
7
|
+
return {
|
|
8
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
9
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
10
|
+
Region: { type: "builtInParams", name: "region" },
|
|
11
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
constructor(input) {
|
|
15
|
+
super();
|
|
16
|
+
this.input = input;
|
|
17
|
+
}
|
|
18
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
19
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
20
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, GetDecryptedAPIKeyCommand.getEndpointParameterInstructions()));
|
|
21
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
22
|
+
const { logger } = configuration;
|
|
23
|
+
const clientName = "WAFV2Client";
|
|
24
|
+
const commandName = "GetDecryptedAPIKeyCommand";
|
|
25
|
+
const handlerExecutionContext = {
|
|
26
|
+
logger,
|
|
27
|
+
clientName,
|
|
28
|
+
commandName,
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
31
|
+
};
|
|
32
|
+
const { requestHandler } = configuration;
|
|
33
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
|
+
}
|
|
35
|
+
serialize(input, context) {
|
|
36
|
+
return se_GetDecryptedAPIKeyCommand(input, context);
|
|
37
|
+
}
|
|
38
|
+
deserialize(output, context) {
|
|
39
|
+
return de_GetDecryptedAPIKeyCommand(output, context);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { de_ListAPIKeysCommand, se_ListAPIKeysCommand } from "../protocols/Aws_json1_1";
|
|
5
|
+
export class ListAPIKeysCommand extends $Command {
|
|
6
|
+
static getEndpointParameterInstructions() {
|
|
7
|
+
return {
|
|
8
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
9
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
10
|
+
Region: { type: "builtInParams", name: "region" },
|
|
11
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
constructor(input) {
|
|
15
|
+
super();
|
|
16
|
+
this.input = input;
|
|
17
|
+
}
|
|
18
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
19
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
20
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListAPIKeysCommand.getEndpointParameterInstructions()));
|
|
21
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
22
|
+
const { logger } = configuration;
|
|
23
|
+
const clientName = "WAFV2Client";
|
|
24
|
+
const commandName = "ListAPIKeysCommand";
|
|
25
|
+
const handlerExecutionContext = {
|
|
26
|
+
logger,
|
|
27
|
+
clientName,
|
|
28
|
+
commandName,
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
31
|
+
};
|
|
32
|
+
const { requestHandler } = configuration;
|
|
33
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
34
|
+
}
|
|
35
|
+
serialize(input, context) {
|
|
36
|
+
return se_ListAPIKeysCommand(input, context);
|
|
37
|
+
}
|
|
38
|
+
deserialize(output, context) {
|
|
39
|
+
return de_ListAPIKeysCommand(output, context);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from "./AssociateWebACLCommand";
|
|
2
2
|
export * from "./CheckCapacityCommand";
|
|
3
|
+
export * from "./CreateAPIKeyCommand";
|
|
3
4
|
export * from "./CreateIPSetCommand";
|
|
4
5
|
export * from "./CreateRegexPatternSetCommand";
|
|
5
6
|
export * from "./CreateRuleGroupCommand";
|
|
@@ -14,6 +15,7 @@ export * from "./DeleteWebACLCommand";
|
|
|
14
15
|
export * from "./DescribeManagedRuleGroupCommand";
|
|
15
16
|
export * from "./DisassociateWebACLCommand";
|
|
16
17
|
export * from "./GenerateMobileSdkReleaseUrlCommand";
|
|
18
|
+
export * from "./GetDecryptedAPIKeyCommand";
|
|
17
19
|
export * from "./GetIPSetCommand";
|
|
18
20
|
export * from "./GetLoggingConfigurationCommand";
|
|
19
21
|
export * from "./GetManagedRuleSetCommand";
|
|
@@ -25,6 +27,7 @@ export * from "./GetRuleGroupCommand";
|
|
|
25
27
|
export * from "./GetSampledRequestsCommand";
|
|
26
28
|
export * from "./GetWebACLCommand";
|
|
27
29
|
export * from "./GetWebACLForResourceCommand";
|
|
30
|
+
export * from "./ListAPIKeysCommand";
|
|
28
31
|
export * from "./ListAvailableManagedRuleGroupVersionsCommand";
|
|
29
32
|
export * from "./ListAvailableManagedRuleGroupsCommand";
|
|
30
33
|
export * from "./ListIPSetsCommand";
|
|
@@ -14,6 +14,12 @@ export const se_CheckCapacityCommand = async (input, context) => {
|
|
|
14
14
|
body = JSON.stringify(se_CheckCapacityRequest(input, context));
|
|
15
15
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
16
16
|
};
|
|
17
|
+
export const se_CreateAPIKeyCommand = async (input, context) => {
|
|
18
|
+
const headers = sharedHeaders("CreateAPIKey");
|
|
19
|
+
let body;
|
|
20
|
+
body = JSON.stringify(_json(input));
|
|
21
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
22
|
+
};
|
|
17
23
|
export const se_CreateIPSetCommand = async (input, context) => {
|
|
18
24
|
const headers = sharedHeaders("CreateIPSet");
|
|
19
25
|
let body;
|
|
@@ -98,6 +104,12 @@ export const se_GenerateMobileSdkReleaseUrlCommand = async (input, context) => {
|
|
|
98
104
|
body = JSON.stringify(_json(input));
|
|
99
105
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
100
106
|
};
|
|
107
|
+
export const se_GetDecryptedAPIKeyCommand = async (input, context) => {
|
|
108
|
+
const headers = sharedHeaders("GetDecryptedAPIKey");
|
|
109
|
+
let body;
|
|
110
|
+
body = JSON.stringify(_json(input));
|
|
111
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
112
|
+
};
|
|
101
113
|
export const se_GetIPSetCommand = async (input, context) => {
|
|
102
114
|
const headers = sharedHeaders("GetIPSet");
|
|
103
115
|
let body;
|
|
@@ -164,6 +176,12 @@ export const se_GetWebACLForResourceCommand = async (input, context) => {
|
|
|
164
176
|
body = JSON.stringify(_json(input));
|
|
165
177
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
166
178
|
};
|
|
179
|
+
export const se_ListAPIKeysCommand = async (input, context) => {
|
|
180
|
+
const headers = sharedHeaders("ListAPIKeys");
|
|
181
|
+
let body;
|
|
182
|
+
body = JSON.stringify(_json(input));
|
|
183
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
184
|
+
};
|
|
167
185
|
export const se_ListAvailableManagedRuleGroupsCommand = async (input, context) => {
|
|
168
186
|
const headers = sharedHeaders("ListAvailableManagedRuleGroups");
|
|
169
187
|
let body;
|
|
@@ -390,6 +408,47 @@ const de_CheckCapacityCommandError = async (output, context) => {
|
|
|
390
408
|
});
|
|
391
409
|
}
|
|
392
410
|
};
|
|
411
|
+
export const de_CreateAPIKeyCommand = async (output, context) => {
|
|
412
|
+
if (output.statusCode >= 300) {
|
|
413
|
+
return de_CreateAPIKeyCommandError(output, context);
|
|
414
|
+
}
|
|
415
|
+
const data = await parseBody(output.body, context);
|
|
416
|
+
let contents = {};
|
|
417
|
+
contents = _json(data);
|
|
418
|
+
const response = {
|
|
419
|
+
$metadata: deserializeMetadata(output),
|
|
420
|
+
...contents,
|
|
421
|
+
};
|
|
422
|
+
return response;
|
|
423
|
+
};
|
|
424
|
+
const de_CreateAPIKeyCommandError = async (output, context) => {
|
|
425
|
+
const parsedOutput = {
|
|
426
|
+
...output,
|
|
427
|
+
body: await parseErrorBody(output.body, context),
|
|
428
|
+
};
|
|
429
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
430
|
+
switch (errorCode) {
|
|
431
|
+
case "WAFInternalErrorException":
|
|
432
|
+
case "com.amazonaws.wafv2#WAFInternalErrorException":
|
|
433
|
+
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
434
|
+
case "WAFInvalidOperationException":
|
|
435
|
+
case "com.amazonaws.wafv2#WAFInvalidOperationException":
|
|
436
|
+
throw await de_WAFInvalidOperationExceptionRes(parsedOutput, context);
|
|
437
|
+
case "WAFInvalidParameterException":
|
|
438
|
+
case "com.amazonaws.wafv2#WAFInvalidParameterException":
|
|
439
|
+
throw await de_WAFInvalidParameterExceptionRes(parsedOutput, context);
|
|
440
|
+
case "WAFLimitsExceededException":
|
|
441
|
+
case "com.amazonaws.wafv2#WAFLimitsExceededException":
|
|
442
|
+
throw await de_WAFLimitsExceededExceptionRes(parsedOutput, context);
|
|
443
|
+
default:
|
|
444
|
+
const parsedBody = parsedOutput.body;
|
|
445
|
+
return throwDefaultError({
|
|
446
|
+
output,
|
|
447
|
+
parsedBody,
|
|
448
|
+
errorCode,
|
|
449
|
+
});
|
|
450
|
+
}
|
|
451
|
+
};
|
|
393
452
|
export const de_CreateIPSetCommand = async (output, context) => {
|
|
394
453
|
if (output.statusCode >= 300) {
|
|
395
454
|
return de_CreateIPSetCommandError(output, context);
|
|
@@ -1096,6 +1155,47 @@ const de_GenerateMobileSdkReleaseUrlCommandError = async (output, context) => {
|
|
|
1096
1155
|
});
|
|
1097
1156
|
}
|
|
1098
1157
|
};
|
|
1158
|
+
export const de_GetDecryptedAPIKeyCommand = async (output, context) => {
|
|
1159
|
+
if (output.statusCode >= 300) {
|
|
1160
|
+
return de_GetDecryptedAPIKeyCommandError(output, context);
|
|
1161
|
+
}
|
|
1162
|
+
const data = await parseBody(output.body, context);
|
|
1163
|
+
let contents = {};
|
|
1164
|
+
contents = de_GetDecryptedAPIKeyResponse(data, context);
|
|
1165
|
+
const response = {
|
|
1166
|
+
$metadata: deserializeMetadata(output),
|
|
1167
|
+
...contents,
|
|
1168
|
+
};
|
|
1169
|
+
return response;
|
|
1170
|
+
};
|
|
1171
|
+
const de_GetDecryptedAPIKeyCommandError = async (output, context) => {
|
|
1172
|
+
const parsedOutput = {
|
|
1173
|
+
...output,
|
|
1174
|
+
body: await parseErrorBody(output.body, context),
|
|
1175
|
+
};
|
|
1176
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1177
|
+
switch (errorCode) {
|
|
1178
|
+
case "WAFInternalErrorException":
|
|
1179
|
+
case "com.amazonaws.wafv2#WAFInternalErrorException":
|
|
1180
|
+
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
1181
|
+
case "WAFInvalidOperationException":
|
|
1182
|
+
case "com.amazonaws.wafv2#WAFInvalidOperationException":
|
|
1183
|
+
throw await de_WAFInvalidOperationExceptionRes(parsedOutput, context);
|
|
1184
|
+
case "WAFInvalidParameterException":
|
|
1185
|
+
case "com.amazonaws.wafv2#WAFInvalidParameterException":
|
|
1186
|
+
throw await de_WAFInvalidParameterExceptionRes(parsedOutput, context);
|
|
1187
|
+
case "WAFInvalidResourceException":
|
|
1188
|
+
case "com.amazonaws.wafv2#WAFInvalidResourceException":
|
|
1189
|
+
throw await de_WAFInvalidResourceExceptionRes(parsedOutput, context);
|
|
1190
|
+
default:
|
|
1191
|
+
const parsedBody = parsedOutput.body;
|
|
1192
|
+
return throwDefaultError({
|
|
1193
|
+
output,
|
|
1194
|
+
parsedBody,
|
|
1195
|
+
errorCode,
|
|
1196
|
+
});
|
|
1197
|
+
}
|
|
1198
|
+
};
|
|
1099
1199
|
export const de_GetIPSetCommand = async (output, context) => {
|
|
1100
1200
|
if (output.statusCode >= 300) {
|
|
1101
1201
|
return de_GetIPSetCommandError(output, context);
|
|
@@ -1544,6 +1644,47 @@ const de_GetWebACLForResourceCommandError = async (output, context) => {
|
|
|
1544
1644
|
});
|
|
1545
1645
|
}
|
|
1546
1646
|
};
|
|
1647
|
+
export const de_ListAPIKeysCommand = async (output, context) => {
|
|
1648
|
+
if (output.statusCode >= 300) {
|
|
1649
|
+
return de_ListAPIKeysCommandError(output, context);
|
|
1650
|
+
}
|
|
1651
|
+
const data = await parseBody(output.body, context);
|
|
1652
|
+
let contents = {};
|
|
1653
|
+
contents = de_ListAPIKeysResponse(data, context);
|
|
1654
|
+
const response = {
|
|
1655
|
+
$metadata: deserializeMetadata(output),
|
|
1656
|
+
...contents,
|
|
1657
|
+
};
|
|
1658
|
+
return response;
|
|
1659
|
+
};
|
|
1660
|
+
const de_ListAPIKeysCommandError = async (output, context) => {
|
|
1661
|
+
const parsedOutput = {
|
|
1662
|
+
...output,
|
|
1663
|
+
body: await parseErrorBody(output.body, context),
|
|
1664
|
+
};
|
|
1665
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1666
|
+
switch (errorCode) {
|
|
1667
|
+
case "WAFInternalErrorException":
|
|
1668
|
+
case "com.amazonaws.wafv2#WAFInternalErrorException":
|
|
1669
|
+
throw await de_WAFInternalErrorExceptionRes(parsedOutput, context);
|
|
1670
|
+
case "WAFInvalidOperationException":
|
|
1671
|
+
case "com.amazonaws.wafv2#WAFInvalidOperationException":
|
|
1672
|
+
throw await de_WAFInvalidOperationExceptionRes(parsedOutput, context);
|
|
1673
|
+
case "WAFInvalidParameterException":
|
|
1674
|
+
case "com.amazonaws.wafv2#WAFInvalidParameterException":
|
|
1675
|
+
throw await de_WAFInvalidParameterExceptionRes(parsedOutput, context);
|
|
1676
|
+
case "WAFInvalidResourceException":
|
|
1677
|
+
case "com.amazonaws.wafv2#WAFInvalidResourceException":
|
|
1678
|
+
throw await de_WAFInvalidResourceExceptionRes(parsedOutput, context);
|
|
1679
|
+
default:
|
|
1680
|
+
const parsedBody = parsedOutput.body;
|
|
1681
|
+
return throwDefaultError({
|
|
1682
|
+
output,
|
|
1683
|
+
parsedBody,
|
|
1684
|
+
errorCode,
|
|
1685
|
+
});
|
|
1686
|
+
}
|
|
1687
|
+
};
|
|
1547
1688
|
export const de_ListAvailableManagedRuleGroupsCommand = async (output, context) => {
|
|
1548
1689
|
if (output.statusCode >= 300) {
|
|
1549
1690
|
return de_ListAvailableManagedRuleGroupsCommandError(output, context);
|
|
@@ -2823,6 +2964,22 @@ const de_AndStatement = (output, context) => {
|
|
|
2823
2964
|
Statements: (_) => de_Statements(_, context),
|
|
2824
2965
|
});
|
|
2825
2966
|
};
|
|
2967
|
+
const de_APIKeySummaries = (output, context) => {
|
|
2968
|
+
const retVal = (output || [])
|
|
2969
|
+
.filter((e) => e != null)
|
|
2970
|
+
.map((entry) => {
|
|
2971
|
+
return de_APIKeySummary(entry, context);
|
|
2972
|
+
});
|
|
2973
|
+
return retVal;
|
|
2974
|
+
};
|
|
2975
|
+
const de_APIKeySummary = (output, context) => {
|
|
2976
|
+
return take(output, {
|
|
2977
|
+
APIKey: __expectString,
|
|
2978
|
+
CreationTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2979
|
+
TokenDomains: _json,
|
|
2980
|
+
Version: __expectInt32,
|
|
2981
|
+
});
|
|
2982
|
+
};
|
|
2826
2983
|
const de_ByteMatchStatement = (output, context) => {
|
|
2827
2984
|
return take(output, {
|
|
2828
2985
|
FieldToMatch: _json,
|
|
@@ -2854,6 +3011,12 @@ const de_FirewallManagerStatement = (output, context) => {
|
|
|
2854
3011
|
RuleGroupReferenceStatement: _json,
|
|
2855
3012
|
});
|
|
2856
3013
|
};
|
|
3014
|
+
const de_GetDecryptedAPIKeyResponse = (output, context) => {
|
|
3015
|
+
return take(output, {
|
|
3016
|
+
CreationTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3017
|
+
TokenDomains: _json,
|
|
3018
|
+
});
|
|
3019
|
+
};
|
|
2857
3020
|
const de_GetManagedRuleSetResponse = (output, context) => {
|
|
2858
3021
|
return take(output, {
|
|
2859
3022
|
LockToken: __expectString,
|
|
@@ -2890,6 +3053,13 @@ const de_GetWebACLResponse = (output, context) => {
|
|
|
2890
3053
|
WebACL: (_) => de_WebACL(_, context),
|
|
2891
3054
|
});
|
|
2892
3055
|
};
|
|
3056
|
+
const de_ListAPIKeysResponse = (output, context) => {
|
|
3057
|
+
return take(output, {
|
|
3058
|
+
APIKeySummaries: (_) => de_APIKeySummaries(_, context),
|
|
3059
|
+
ApplicationIntegrationURL: __expectString,
|
|
3060
|
+
NextMarker: __expectString,
|
|
3061
|
+
});
|
|
3062
|
+
};
|
|
2893
3063
|
const de_ListAvailableManagedRuleGroupVersionsResponse = (output, context) => {
|
|
2894
3064
|
return take(output, {
|
|
2895
3065
|
CurrentDefaultVersion: __expectString,
|