@aws-sdk/client-lightsail 3.1156.0 → 3.1157.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/dist-cjs/index.js CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1155.0";
72
+ var version = "3.1156.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -984,9 +984,18 @@ const _URRn = "UntagResourceResult";
984
984
  const _UV = "UnpeerVpc";
985
985
  const _UVR = "UnpeerVpcRequest";
986
986
  const _UVRn = "UnpeerVpcResult";
987
+ const _WAC = "WafAcfpConfig";
988
+ const _WACa = "WafAtpConfig";
989
+ const _WBCC = "WafBotControlConfig";
990
+ const _WC = "WafConfig";
991
+ const _WR = "WafRule";
992
+ const _WRI = "WafResponseInspection";
993
+ const _WRL = "WafRuleList";
987
994
  const _a = "arn";
988
995
  const _aBU = "acceptBundleUpdate";
989
996
  const _aC = "appCategory";
997
+ const _aCc = "acfpConfig";
998
+ const _aCt = "atpConfig";
990
999
  const _aD = "accessDetails";
991
1000
  const _aDM = "attachedDiskMapping";
992
1001
  const _aDN = "alternativeDomainNames";
@@ -1031,6 +1040,7 @@ const _al = "alarms";
1031
1040
  const _alg = "algorithm";
1032
1041
  const _av = "average";
1033
1042
  const _b = "behavior";
1043
+ const _bCC = "botControlConfig";
1034
1044
  const _bI = "blueprintId";
1035
1045
  const _bIL = "bpaImpactsLightsail";
1036
1046
  const _bIu = "bundleId";
@@ -1074,6 +1084,7 @@ const _cOo = "configurationOptions";
1074
1084
  const _cP = "contactProtocols";
1075
1085
  const _cPe = "certificateProvider";
1076
1086
  const _cPo = "containerPort";
1087
+ const _cPr = "creationPath";
1077
1088
  const _cS = "containerServices";
1078
1089
  const _cSN = "containerServiceName";
1079
1090
  const _cSe = "certificateStatuses";
@@ -1151,6 +1162,7 @@ const _eT = "endTime";
1151
1162
  const _eTR = "eligibleToRenew";
1152
1163
  const _eV = "engineVersion";
1153
1164
  const _eVD = "engineVersionDescription";
1165
+ const _eW = "enableWaf";
1154
1166
  const _en = "enabled";
1155
1167
  const _end = "end";
1156
1168
  const _eng = "engine";
@@ -1160,6 +1172,7 @@ const _fAD = "fromAttachedDisks";
1160
1172
  const _fBI = "fromBlueprintId";
1161
1173
  const _fBIr = "fromBundleId";
1162
1174
  const _fC = "forwardedCookies";
1175
+ const _fCa = "failureCodes";
1163
1176
  const _fD = "forceDelete";
1164
1177
  const _fDA = "fromDiskArn";
1165
1178
  const _fDAO = "forceDeleteAddOns";
@@ -1225,6 +1238,7 @@ const _iH = "instanceHealth";
1225
1238
  const _iHR = "instanceHealthReason";
1226
1239
  const _iHS = "instanceHealthSummary";
1227
1240
  const _iI = "includeInactive";
1241
+ const _iL = "inspectionLevel";
1228
1242
  const _iM = "isModifiable";
1229
1243
  const _iN = "instanceName";
1230
1244
  const _iNn = "instanceNames";
@@ -1243,6 +1257,7 @@ const _iSns = "instanceSnapshots";
1243
1257
  const _iT = "instanceType";
1244
1258
  const _iTs = "isTerminal";
1245
1259
  const _iURC = "inUseResourceCount";
1260
+ const _iWE = "isWafEnabled";
1246
1261
  const _im = "image";
1247
1262
  const _in = "instances";
1248
1263
  const _ins = "instance";
@@ -1258,6 +1273,7 @@ const _lB = "loadBalancer";
1258
1273
  const _lBN = "loadBalancerName";
1259
1274
  const _lBo = "loadBalancers";
1260
1275
  const _lE = "logEvents";
1276
+ const _lP = "loginPath";
1261
1277
  const _lRT = "latestRestorableTime";
1262
1278
  const _lS = "logStreams";
1263
1279
  const _lSA = "lastSyncedAt";
@@ -1321,6 +1337,7 @@ const _pD = "passwordData";
1321
1337
  const _pDN = "privateDomainName";
1322
1338
  const _pDNu = "publicDomainNames";
1323
1339
  const _pE = "publicEndpoint";
1340
+ const _pF = "passwordField";
1324
1341
  const _pI = "portInfo";
1325
1342
  const _pIA = "privateIpAddress";
1326
1343
  const _pIAC = "publicIpv4AddressCount";
@@ -1341,6 +1358,7 @@ const _pPu = "publicPorts";
1341
1358
  const _pRA = "privateRegistryAccess";
1342
1359
  const _pS = "portStates";
1343
1360
  const _pT = "pageToken";
1361
+ const _pTa = "payloadType";
1344
1362
  const _pTr = "profileType";
1345
1363
  const _pU = "productUrl";
1346
1364
  const _pUr = "pricingUnit";
@@ -1382,12 +1400,14 @@ const _rDe = "relationalDatabase";
1382
1400
  const _rDel = "relationalDatabases";
1383
1401
  const _rFR = "requestFailureReason";
1384
1402
  const _rHZDS = "r53HostedZoneDeletionState";
1403
+ const _rI = "responseInspection";
1385
1404
  const _rL = "registryLogin";
1386
1405
  const _rLE = "resourceLogEvents";
1387
1406
  const _rMUP = "rotateMasterUserPassword";
1388
1407
  const _rN = "resourceName";
1389
1408
  const _rNe = "regionName";
1390
1409
  const _rPP = "responsePagePath";
1410
+ const _rPPe = "registrationPagePath";
1391
1411
  const _rR = "revocationReason";
1392
1412
  const _rRA = "resourcesReceivingAccess";
1393
1413
  const _rRe = "resourceRecord";
@@ -1475,6 +1495,7 @@ const _uA = "updatedAt";
1475
1495
  const _uC = "usageCost";
1476
1496
  const _uD = "userData";
1477
1497
  const _uDC = "useDefaultCertificate";
1498
+ const _uF = "usernameField";
1478
1499
  const _uLRAS = "useLatestRestorableAutoSnapshot";
1479
1500
  const _uLRT = "useLatestRestorableTime";
1480
1501
  const _uT = "unhealthyThreshold";
@@ -1487,7 +1508,9 @@ const _vMTPV = "viewerMinimumTlsProtocolVersion";
1487
1508
  const _vS = "validationStatus";
1488
1509
  const _va = "value";
1489
1510
  const _ve = "versioning";
1511
+ const _w = "waf";
1490
1512
  const _wA = "witnessedAt";
1513
+ const _wR = "wafRules";
1491
1514
  const _zN = "zoneName";
1492
1515
  const n0 = "com.amazonaws.lightsail";
1493
1516
  const _s_registry = new TypeRegistry(_s);
@@ -1957,8 +1980,8 @@ var CreateDiskSnapshotResult$ = [3, n0, _CDSRr,
1957
1980
  ];
1958
1981
  var CreateDistributionRequest$ = [3, n0, _CDRre,
1959
1982
  0,
1960
- [_dN, _or, _dCB, _bIu, _cBS, _cB, _iAT, _ta, _cN, _vMTPV, _ePOA, _dRO, _cER],
1961
- [0, () => InputOrigin$, () => CacheBehavior$, 0, () => CacheSettings$, () => CacheBehaviorList, 0, () => TagList, 0, 0, 2, 0, () => DistributionCustomErrorResponseList], 4
1983
+ [_dN, _or, _dCB, _bIu, _cBS, _cB, _iAT, _ta, _cN, _vMTPV, _ePOA, _dRO, _cER, _eW, _wR],
1984
+ [0, () => InputOrigin$, () => CacheBehavior$, 0, () => CacheSettings$, () => CacheBehaviorList, 0, () => TagList, 0, 0, 2, 0, () => DistributionCustomErrorResponseList, 2, () => WafRuleList], 4
1962
1985
  ];
1963
1986
  var CreateDistributionResult$ = [3, n0, _CDRrea,
1964
1987
  0,
@@ -3212,8 +3235,8 @@ var KeyPair$ = [3, n0, _KP,
3212
3235
  ];
3213
3236
  var LightsailDistribution$ = [3, n0, _LD,
3214
3237
  0,
3215
- [_n, _a, _sC, _cA, _l, _rT, _aDN, _st, _iE, _dNo, _bIu, _cN, _or, _oPDNS, _dCB, _cBS, _cB, _aTUB, _iAT, _ta, _vMTPV, _dRO, _cER],
3216
- [0, 0, 0, 4, () => ResourceLocation$, 0, 64 | 0, 0, 2, 0, 0, 0, () => Origin$, 0, () => CacheBehavior$, () => CacheSettings$, () => CacheBehaviorList, 2, 0, () => TagList, 0, 0, () => DistributionCustomErrorResponseList]
3238
+ [_n, _a, _sC, _cA, _l, _rT, _aDN, _st, _iE, _dNo, _bIu, _cN, _or, _oPDNS, _dCB, _cBS, _cB, _aTUB, _iAT, _ta, _vMTPV, _dRO, _cER, _w],
3239
+ [0, 0, 0, 4, () => ResourceLocation$, 0, 64 | 0, 0, 2, 0, 0, 0, () => Origin$, 0, () => CacheBehavior$, () => CacheSettings$, () => CacheBehaviorList, 2, 0, () => TagList, 0, 0, () => DistributionCustomErrorResponseList, () => WafConfig$]
3217
3240
  ];
3218
3241
  var LoadBalancer$ = [3, n0, _LB,
3219
3242
  0,
@@ -3727,8 +3750,8 @@ var UpdateDistributionBundleResult$ = [3, n0, _UDBRp,
3727
3750
  ];
3728
3751
  var UpdateDistributionRequest$ = [3, n0, _UDR,
3729
3752
  0,
3730
- [_dN, _or, _dCB, _cBS, _cB, _iE, _vMTPV, _cN, _uDC, _ePOA, _dRO, _cER],
3731
- [0, () => InputOrigin$, () => CacheBehavior$, () => CacheSettings$, () => CacheBehaviorList, 2, 0, 0, 2, 2, 0, () => DistributionCustomErrorResponseList], 1
3753
+ [_dN, _or, _dCB, _cBS, _cB, _iE, _vMTPV, _cN, _uDC, _ePOA, _dRO, _cER, _eW, _wR],
3754
+ [0, () => InputOrigin$, () => CacheBehavior$, () => CacheSettings$, () => CacheBehaviorList, 2, 0, 0, 2, 2, 0, () => DistributionCustomErrorResponseList, 2, () => WafRuleList], 1
3732
3755
  ];
3733
3756
  var UpdateDistributionResult$ = [3, n0, _UDRp,
3734
3757
  0,
@@ -3785,6 +3808,36 @@ var UpdateRelationalDatabaseResult$ = [3, n0, _URDRp,
3785
3808
  [_o],
3786
3809
  [() => OperationList]
3787
3810
  ];
3811
+ var WafAcfpConfig$ = [3, n0, _WAC,
3812
+ 0,
3813
+ [_pTa, _cPr, _rPPe, _rI],
3814
+ [0, 0, 0, () => WafResponseInspection$]
3815
+ ];
3816
+ var WafAtpConfig$ = [3, n0, _WACa,
3817
+ 0,
3818
+ [_lP, _pTa, _uF, _pF, _rI],
3819
+ [0, 0, 0, 0, () => WafResponseInspection$]
3820
+ ];
3821
+ var WafBotControlConfig$ = [3, n0, _WBCC,
3822
+ 0,
3823
+ [_iL],
3824
+ [0]
3825
+ ];
3826
+ var WafConfig$ = [3, n0, _WC,
3827
+ 0,
3828
+ [_iWE, _wR],
3829
+ [2, () => WafRuleList]
3830
+ ];
3831
+ var WafResponseInspection$ = [3, n0, _WRI,
3832
+ 0,
3833
+ [_sCu, _fCa],
3834
+ [64 | 1, 64 | 1]
3835
+ ];
3836
+ var WafRule$ = [3, n0, _WR,
3837
+ 0,
3838
+ [_n, _aCt, _aCc, _bCC],
3839
+ [0, () => WafAtpConfig$, () => WafAcfpConfig$, () => WafBotControlConfig$], 1
3840
+ ];
3788
3841
  var AccessKeyList = [1, n0, _AKL,
3789
3842
  0, [() => AccessKey$,
3790
3843
  0]
@@ -3991,6 +4044,9 @@ var StaticIpList = [1, n0, _SIL,
3991
4044
  var TagList = [1, n0, _TL,
3992
4045
  0, () => Tag$
3993
4046
  ];
4047
+ var WafRuleList = [1, n0, _WRL,
4048
+ 0, () => WafRule$
4049
+ ];
3994
4050
  var AttachedDiskMap = [2, n0, _ADM,
3995
4051
  0, 0, () => DiskMapList
3996
4052
  ];
@@ -5730,6 +5786,14 @@ const ViewerMinimumTlsProtocolVersionEnum = {
5730
5786
  TLSv12_2019: "TLSv1.2_2019",
5731
5787
  TLSv12_2021: "TLSv1.2_2021",
5732
5788
  };
5789
+ const WafPayloadTypeEnum = {
5790
+ FORM_ENCODED: "FORM_ENCODED",
5791
+ JSON: "JSON",
5792
+ };
5793
+ const WafInspectionLevelEnum = {
5794
+ COMMON: "COMMON",
5795
+ TARGETED: "TARGETED",
5796
+ };
5733
5797
  const Status = {
5734
5798
  FailedInstanceCreation: "failedInstanceCreation",
5735
5799
  FailedStartingGUISession: "failedStartingGUISession",
@@ -5762,6 +5826,8 @@ const DistributionMetricName = {
5762
5826
  Http5xxErrorRate: "Http5xxErrorRate",
5763
5827
  Requests: "Requests",
5764
5828
  TotalErrorRate: "TotalErrorRate",
5829
+ WafAllowedRequests: "WafAllowedRequests",
5830
+ WafBlockedRequests: "WafBlockedRequests",
5765
5831
  };
5766
5832
  const NameServersUpdateStateCode = {
5767
5833
  Failed: "FAILED",
@@ -6846,4 +6912,12 @@ exports.UpdateRelationalDatabaseParametersResult$ = UpdateRelationalDatabasePara
6846
6912
  exports.UpdateRelationalDatabaseRequest$ = UpdateRelationalDatabaseRequest$;
6847
6913
  exports.UpdateRelationalDatabaseResult$ = UpdateRelationalDatabaseResult$;
6848
6914
  exports.ViewerMinimumTlsProtocolVersionEnum = ViewerMinimumTlsProtocolVersionEnum;
6915
+ exports.WafAcfpConfig$ = WafAcfpConfig$;
6916
+ exports.WafAtpConfig$ = WafAtpConfig$;
6917
+ exports.WafBotControlConfig$ = WafBotControlConfig$;
6918
+ exports.WafConfig$ = WafConfig$;
6919
+ exports.WafInspectionLevelEnum = WafInspectionLevelEnum;
6920
+ exports.WafPayloadTypeEnum = WafPayloadTypeEnum;
6921
+ exports.WafResponseInspection$ = WafResponseInspection$;
6922
+ exports.WafRule$ = WafRule$;
6849
6923
  exports.errorTypeRegistries = errorTypeRegistries;
@@ -440,6 +440,14 @@ export const ViewerMinimumTlsProtocolVersionEnum = {
440
440
  TLSv12_2019: "TLSv1.2_2019",
441
441
  TLSv12_2021: "TLSv1.2_2021",
442
442
  };
443
+ export const WafPayloadTypeEnum = {
444
+ FORM_ENCODED: "FORM_ENCODED",
445
+ JSON: "JSON",
446
+ };
447
+ export const WafInspectionLevelEnum = {
448
+ COMMON: "COMMON",
449
+ TARGETED: "TARGETED",
450
+ };
443
451
  export const Status = {
444
452
  FailedInstanceCreation: "failedInstanceCreation",
445
453
  FailedStartingGUISession: "failedStartingGUISession",
@@ -472,6 +480,8 @@ export const DistributionMetricName = {
472
480
  Http5xxErrorRate: "Http5xxErrorRate",
473
481
  Requests: "Requests",
474
482
  TotalErrorRate: "TotalErrorRate",
483
+ WafAllowedRequests: "WafAllowedRequests",
484
+ WafBlockedRequests: "WafBlockedRequests",
475
485
  };
476
486
  export const NameServersUpdateStateCode = {
477
487
  Failed: "FAILED",
@@ -690,9 +690,18 @@ const _URRn = "UntagResourceResult";
690
690
  const _UV = "UnpeerVpc";
691
691
  const _UVR = "UnpeerVpcRequest";
692
692
  const _UVRn = "UnpeerVpcResult";
693
+ const _WAC = "WafAcfpConfig";
694
+ const _WACa = "WafAtpConfig";
695
+ const _WBCC = "WafBotControlConfig";
696
+ const _WC = "WafConfig";
697
+ const _WR = "WafRule";
698
+ const _WRI = "WafResponseInspection";
699
+ const _WRL = "WafRuleList";
693
700
  const _a = "arn";
694
701
  const _aBU = "acceptBundleUpdate";
695
702
  const _aC = "appCategory";
703
+ const _aCc = "acfpConfig";
704
+ const _aCt = "atpConfig";
696
705
  const _aD = "accessDetails";
697
706
  const _aDM = "attachedDiskMapping";
698
707
  const _aDN = "alternativeDomainNames";
@@ -737,6 +746,7 @@ const _al = "alarms";
737
746
  const _alg = "algorithm";
738
747
  const _av = "average";
739
748
  const _b = "behavior";
749
+ const _bCC = "botControlConfig";
740
750
  const _bI = "blueprintId";
741
751
  const _bIL = "bpaImpactsLightsail";
742
752
  const _bIu = "bundleId";
@@ -780,6 +790,7 @@ const _cOo = "configurationOptions";
780
790
  const _cP = "contactProtocols";
781
791
  const _cPe = "certificateProvider";
782
792
  const _cPo = "containerPort";
793
+ const _cPr = "creationPath";
783
794
  const _cS = "containerServices";
784
795
  const _cSN = "containerServiceName";
785
796
  const _cSe = "certificateStatuses";
@@ -857,6 +868,7 @@ const _eT = "endTime";
857
868
  const _eTR = "eligibleToRenew";
858
869
  const _eV = "engineVersion";
859
870
  const _eVD = "engineVersionDescription";
871
+ const _eW = "enableWaf";
860
872
  const _en = "enabled";
861
873
  const _end = "end";
862
874
  const _eng = "engine";
@@ -866,6 +878,7 @@ const _fAD = "fromAttachedDisks";
866
878
  const _fBI = "fromBlueprintId";
867
879
  const _fBIr = "fromBundleId";
868
880
  const _fC = "forwardedCookies";
881
+ const _fCa = "failureCodes";
869
882
  const _fD = "forceDelete";
870
883
  const _fDA = "fromDiskArn";
871
884
  const _fDAO = "forceDeleteAddOns";
@@ -931,6 +944,7 @@ const _iH = "instanceHealth";
931
944
  const _iHR = "instanceHealthReason";
932
945
  const _iHS = "instanceHealthSummary";
933
946
  const _iI = "includeInactive";
947
+ const _iL = "inspectionLevel";
934
948
  const _iM = "isModifiable";
935
949
  const _iN = "instanceName";
936
950
  const _iNn = "instanceNames";
@@ -949,6 +963,7 @@ const _iSns = "instanceSnapshots";
949
963
  const _iT = "instanceType";
950
964
  const _iTs = "isTerminal";
951
965
  const _iURC = "inUseResourceCount";
966
+ const _iWE = "isWafEnabled";
952
967
  const _im = "image";
953
968
  const _in = "instances";
954
969
  const _ins = "instance";
@@ -964,6 +979,7 @@ const _lB = "loadBalancer";
964
979
  const _lBN = "loadBalancerName";
965
980
  const _lBo = "loadBalancers";
966
981
  const _lE = "logEvents";
982
+ const _lP = "loginPath";
967
983
  const _lRT = "latestRestorableTime";
968
984
  const _lS = "logStreams";
969
985
  const _lSA = "lastSyncedAt";
@@ -1027,6 +1043,7 @@ const _pD = "passwordData";
1027
1043
  const _pDN = "privateDomainName";
1028
1044
  const _pDNu = "publicDomainNames";
1029
1045
  const _pE = "publicEndpoint";
1046
+ const _pF = "passwordField";
1030
1047
  const _pI = "portInfo";
1031
1048
  const _pIA = "privateIpAddress";
1032
1049
  const _pIAC = "publicIpv4AddressCount";
@@ -1047,6 +1064,7 @@ const _pPu = "publicPorts";
1047
1064
  const _pRA = "privateRegistryAccess";
1048
1065
  const _pS = "portStates";
1049
1066
  const _pT = "pageToken";
1067
+ const _pTa = "payloadType";
1050
1068
  const _pTr = "profileType";
1051
1069
  const _pU = "productUrl";
1052
1070
  const _pUr = "pricingUnit";
@@ -1088,12 +1106,14 @@ const _rDe = "relationalDatabase";
1088
1106
  const _rDel = "relationalDatabases";
1089
1107
  const _rFR = "requestFailureReason";
1090
1108
  const _rHZDS = "r53HostedZoneDeletionState";
1109
+ const _rI = "responseInspection";
1091
1110
  const _rL = "registryLogin";
1092
1111
  const _rLE = "resourceLogEvents";
1093
1112
  const _rMUP = "rotateMasterUserPassword";
1094
1113
  const _rN = "resourceName";
1095
1114
  const _rNe = "regionName";
1096
1115
  const _rPP = "responsePagePath";
1116
+ const _rPPe = "registrationPagePath";
1097
1117
  const _rR = "revocationReason";
1098
1118
  const _rRA = "resourcesReceivingAccess";
1099
1119
  const _rRe = "resourceRecord";
@@ -1181,6 +1201,7 @@ const _uA = "updatedAt";
1181
1201
  const _uC = "usageCost";
1182
1202
  const _uD = "userData";
1183
1203
  const _uDC = "useDefaultCertificate";
1204
+ const _uF = "usernameField";
1184
1205
  const _uLRAS = "useLatestRestorableAutoSnapshot";
1185
1206
  const _uLRT = "useLatestRestorableTime";
1186
1207
  const _uT = "unhealthyThreshold";
@@ -1193,7 +1214,9 @@ const _vMTPV = "viewerMinimumTlsProtocolVersion";
1193
1214
  const _vS = "validationStatus";
1194
1215
  const _va = "value";
1195
1216
  const _ve = "versioning";
1217
+ const _w = "waf";
1196
1218
  const _wA = "witnessedAt";
1219
+ const _wR = "wafRules";
1197
1220
  const _zN = "zoneName";
1198
1221
  const n0 = "com.amazonaws.lightsail";
1199
1222
  import { TypeRegistry } from "@smithy/core/schema";
@@ -1666,8 +1689,8 @@ export var CreateDiskSnapshotResult$ = [3, n0, _CDSRr,
1666
1689
  ];
1667
1690
  export var CreateDistributionRequest$ = [3, n0, _CDRre,
1668
1691
  0,
1669
- [_dN, _or, _dCB, _bIu, _cBS, _cB, _iAT, _ta, _cN, _vMTPV, _ePOA, _dRO, _cER],
1670
- [0, () => InputOrigin$, () => CacheBehavior$, 0, () => CacheSettings$, () => CacheBehaviorList, 0, () => TagList, 0, 0, 2, 0, () => DistributionCustomErrorResponseList], 4
1692
+ [_dN, _or, _dCB, _bIu, _cBS, _cB, _iAT, _ta, _cN, _vMTPV, _ePOA, _dRO, _cER, _eW, _wR],
1693
+ [0, () => InputOrigin$, () => CacheBehavior$, 0, () => CacheSettings$, () => CacheBehaviorList, 0, () => TagList, 0, 0, 2, 0, () => DistributionCustomErrorResponseList, 2, () => WafRuleList], 4
1671
1694
  ];
1672
1695
  export var CreateDistributionResult$ = [3, n0, _CDRrea,
1673
1696
  0,
@@ -2921,8 +2944,8 @@ export var KeyPair$ = [3, n0, _KP,
2921
2944
  ];
2922
2945
  export var LightsailDistribution$ = [3, n0, _LD,
2923
2946
  0,
2924
- [_n, _a, _sC, _cA, _l, _rT, _aDN, _st, _iE, _dNo, _bIu, _cN, _or, _oPDNS, _dCB, _cBS, _cB, _aTUB, _iAT, _ta, _vMTPV, _dRO, _cER],
2925
- [0, 0, 0, 4, () => ResourceLocation$, 0, 64 | 0, 0, 2, 0, 0, 0, () => Origin$, 0, () => CacheBehavior$, () => CacheSettings$, () => CacheBehaviorList, 2, 0, () => TagList, 0, 0, () => DistributionCustomErrorResponseList]
2947
+ [_n, _a, _sC, _cA, _l, _rT, _aDN, _st, _iE, _dNo, _bIu, _cN, _or, _oPDNS, _dCB, _cBS, _cB, _aTUB, _iAT, _ta, _vMTPV, _dRO, _cER, _w],
2948
+ [0, 0, 0, 4, () => ResourceLocation$, 0, 64 | 0, 0, 2, 0, 0, 0, () => Origin$, 0, () => CacheBehavior$, () => CacheSettings$, () => CacheBehaviorList, 2, 0, () => TagList, 0, 0, () => DistributionCustomErrorResponseList, () => WafConfig$]
2926
2949
  ];
2927
2950
  export var LoadBalancer$ = [3, n0, _LB,
2928
2951
  0,
@@ -3436,8 +3459,8 @@ export var UpdateDistributionBundleResult$ = [3, n0, _UDBRp,
3436
3459
  ];
3437
3460
  export var UpdateDistributionRequest$ = [3, n0, _UDR,
3438
3461
  0,
3439
- [_dN, _or, _dCB, _cBS, _cB, _iE, _vMTPV, _cN, _uDC, _ePOA, _dRO, _cER],
3440
- [0, () => InputOrigin$, () => CacheBehavior$, () => CacheSettings$, () => CacheBehaviorList, 2, 0, 0, 2, 2, 0, () => DistributionCustomErrorResponseList], 1
3462
+ [_dN, _or, _dCB, _cBS, _cB, _iE, _vMTPV, _cN, _uDC, _ePOA, _dRO, _cER, _eW, _wR],
3463
+ [0, () => InputOrigin$, () => CacheBehavior$, () => CacheSettings$, () => CacheBehaviorList, 2, 0, 0, 2, 2, 0, () => DistributionCustomErrorResponseList, 2, () => WafRuleList], 1
3441
3464
  ];
3442
3465
  export var UpdateDistributionResult$ = [3, n0, _UDRp,
3443
3466
  0,
@@ -3494,6 +3517,36 @@ export var UpdateRelationalDatabaseResult$ = [3, n0, _URDRp,
3494
3517
  [_o],
3495
3518
  [() => OperationList]
3496
3519
  ];
3520
+ export var WafAcfpConfig$ = [3, n0, _WAC,
3521
+ 0,
3522
+ [_pTa, _cPr, _rPPe, _rI],
3523
+ [0, 0, 0, () => WafResponseInspection$]
3524
+ ];
3525
+ export var WafAtpConfig$ = [3, n0, _WACa,
3526
+ 0,
3527
+ [_lP, _pTa, _uF, _pF, _rI],
3528
+ [0, 0, 0, 0, () => WafResponseInspection$]
3529
+ ];
3530
+ export var WafBotControlConfig$ = [3, n0, _WBCC,
3531
+ 0,
3532
+ [_iL],
3533
+ [0]
3534
+ ];
3535
+ export var WafConfig$ = [3, n0, _WC,
3536
+ 0,
3537
+ [_iWE, _wR],
3538
+ [2, () => WafRuleList]
3539
+ ];
3540
+ export var WafResponseInspection$ = [3, n0, _WRI,
3541
+ 0,
3542
+ [_sCu, _fCa],
3543
+ [64 | 1, 64 | 1]
3544
+ ];
3545
+ export var WafRule$ = [3, n0, _WR,
3546
+ 0,
3547
+ [_n, _aCt, _aCc, _bCC],
3548
+ [0, () => WafAtpConfig$, () => WafAcfpConfig$, () => WafBotControlConfig$], 1
3549
+ ];
3497
3550
  var AccessKeyList = [1, n0, _AKL,
3498
3551
  0, [() => AccessKey$,
3499
3552
  0]
@@ -3724,6 +3777,10 @@ var TagKeyList = 64 | 0;
3724
3777
  var TagList = [1, n0, _TL,
3725
3778
  0, () => Tag$
3726
3779
  ];
3780
+ var WafRuleList = [1, n0, _WRL,
3781
+ 0, () => WafRule$
3782
+ ];
3783
+ var WafStatusCodeList = 64 | 1;
3727
3784
  var AttachedDiskMap = [2, n0, _ADM,
3728
3785
  0, 0, () => DiskMapList
3729
3786
  ];
@@ -99,6 +99,42 @@ declare const CreateDistributionCommand_base: {
99
99
  * errorCachingMinTTL: Number("long"),
100
100
  * },
101
101
  * ],
102
+ * enableWaf: true || false,
103
+ * wafRules: [ // WafRuleList
104
+ * { // WafRule
105
+ * name: "STRING_VALUE", // required
106
+ * atpConfig: { // WafAtpConfig
107
+ * loginPath: "STRING_VALUE",
108
+ * payloadType: "JSON" || "FORM_ENCODED",
109
+ * usernameField: "STRING_VALUE",
110
+ * passwordField: "STRING_VALUE",
111
+ * responseInspection: { // WafResponseInspection
112
+ * successCodes: [ // WafStatusCodeList
113
+ * Number("int"),
114
+ * ],
115
+ * failureCodes: [
116
+ * Number("int"),
117
+ * ],
118
+ * },
119
+ * },
120
+ * acfpConfig: { // WafAcfpConfig
121
+ * payloadType: "JSON" || "FORM_ENCODED",
122
+ * creationPath: "STRING_VALUE",
123
+ * registrationPagePath: "STRING_VALUE",
124
+ * responseInspection: {
125
+ * successCodes: [
126
+ * Number("int"),
127
+ * ],
128
+ * failureCodes: [
129
+ * Number("int"),
130
+ * ],
131
+ * },
132
+ * },
133
+ * botControlConfig: { // WafBotControlConfig
134
+ * inspectionLevel: "COMMON" || "TARGETED",
135
+ * },
136
+ * },
137
+ * ],
102
138
  * };
103
139
  * const command = new CreateDistributionCommand(input);
104
140
  * const response = await client.send(command);
@@ -183,6 +219,44 @@ declare const CreateDistributionCommand_base: {
183
219
  * // errorCachingMinTTL: Number("long"),
184
220
  * // },
185
221
  * // ],
222
+ * // waf: { // WafConfig
223
+ * // isWafEnabled: true || false,
224
+ * // wafRules: [ // WafRuleList
225
+ * // { // WafRule
226
+ * // name: "STRING_VALUE", // required
227
+ * // atpConfig: { // WafAtpConfig
228
+ * // loginPath: "STRING_VALUE",
229
+ * // payloadType: "JSON" || "FORM_ENCODED",
230
+ * // usernameField: "STRING_VALUE",
231
+ * // passwordField: "STRING_VALUE",
232
+ * // responseInspection: { // WafResponseInspection
233
+ * // successCodes: [ // WafStatusCodeList
234
+ * // Number("int"),
235
+ * // ],
236
+ * // failureCodes: [
237
+ * // Number("int"),
238
+ * // ],
239
+ * // },
240
+ * // },
241
+ * // acfpConfig: { // WafAcfpConfig
242
+ * // payloadType: "JSON" || "FORM_ENCODED",
243
+ * // creationPath: "STRING_VALUE",
244
+ * // registrationPagePath: "STRING_VALUE",
245
+ * // responseInspection: {
246
+ * // successCodes: [
247
+ * // Number("int"),
248
+ * // ],
249
+ * // failureCodes: [
250
+ * // Number("int"),
251
+ * // ],
252
+ * // },
253
+ * // },
254
+ * // botControlConfig: { // WafBotControlConfig
255
+ * // inspectionLevel: "COMMON" || "TARGETED",
256
+ * // },
257
+ * // },
258
+ * // ],
259
+ * // },
186
260
  * // },
187
261
  * // operation: { // Operation
188
262
  * // id: "STRING_VALUE",
@@ -39,7 +39,7 @@ declare const GetDistributionMetricDataCommand_base: {
39
39
  * const client = new LightsailClient(config);
40
40
  * const input = { // GetDistributionMetricDataRequest
41
41
  * distributionName: "STRING_VALUE", // required
42
- * metricName: "Requests" || "BytesDownloaded" || "BytesUploaded" || "TotalErrorRate" || "Http4xxErrorRate" || "Http5xxErrorRate", // required
42
+ * metricName: "Requests" || "BytesDownloaded" || "BytesUploaded" || "TotalErrorRate" || "Http4xxErrorRate" || "Http5xxErrorRate" || "WafAllowedRequests" || "WafBlockedRequests", // required
43
43
  * startTime: new Date("TIMESTAMP"), // required
44
44
  * endTime: new Date("TIMESTAMP"), // required
45
45
  * period: Number("int"), // required
@@ -51,7 +51,7 @@ declare const GetDistributionMetricDataCommand_base: {
51
51
  * const command = new GetDistributionMetricDataCommand(input);
52
52
  * const response = await client.send(command);
53
53
  * // { // GetDistributionMetricDataResult
54
- * // metricName: "Requests" || "BytesDownloaded" || "BytesUploaded" || "TotalErrorRate" || "Http4xxErrorRate" || "Http5xxErrorRate",
54
+ * // metricName: "Requests" || "BytesDownloaded" || "BytesUploaded" || "TotalErrorRate" || "Http4xxErrorRate" || "Http5xxErrorRate" || "WafAllowedRequests" || "WafBlockedRequests",
55
55
  * // metricData: [ // MetricDatapointList
56
56
  * // { // MetricDatapoint
57
57
  * // average: Number("double"),
@@ -122,6 +122,44 @@ declare const GetDistributionsCommand_base: {
122
122
  * // errorCachingMinTTL: Number("long"),
123
123
  * // },
124
124
  * // ],
125
+ * // waf: { // WafConfig
126
+ * // isWafEnabled: true || false,
127
+ * // wafRules: [ // WafRuleList
128
+ * // { // WafRule
129
+ * // name: "STRING_VALUE", // required
130
+ * // atpConfig: { // WafAtpConfig
131
+ * // loginPath: "STRING_VALUE",
132
+ * // payloadType: "JSON" || "FORM_ENCODED",
133
+ * // usernameField: "STRING_VALUE",
134
+ * // passwordField: "STRING_VALUE",
135
+ * // responseInspection: { // WafResponseInspection
136
+ * // successCodes: [ // WafStatusCodeList
137
+ * // Number("int"),
138
+ * // ],
139
+ * // failureCodes: [
140
+ * // Number("int"),
141
+ * // ],
142
+ * // },
143
+ * // },
144
+ * // acfpConfig: { // WafAcfpConfig
145
+ * // payloadType: "JSON" || "FORM_ENCODED",
146
+ * // creationPath: "STRING_VALUE",
147
+ * // registrationPagePath: "STRING_VALUE",
148
+ * // responseInspection: {
149
+ * // successCodes: [
150
+ * // Number("int"),
151
+ * // ],
152
+ * // failureCodes: [
153
+ * // Number("int"),
154
+ * // ],
155
+ * // },
156
+ * // },
157
+ * // botControlConfig: { // WafBotControlConfig
158
+ * // inspectionLevel: "COMMON" || "TARGETED",
159
+ * // },
160
+ * // },
161
+ * // ],
162
+ * // },
125
163
  * // },
126
164
  * // ],
127
165
  * // nextPageToken: "STRING_VALUE",
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { GetInstanceStateRequest, GetInstanceStateResult } from "../models/models_0";
2
+ import type { GetInstanceStateRequest, GetInstanceStateResult } from "../models/models_1";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { GetKeyPairRequest, GetKeyPairResult } from "../models/models_0";
2
+ import type { GetKeyPairRequest, GetKeyPairResult } from "../models/models_1";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { GetKeyPairsRequest, GetKeyPairsResult } from "../models/models_0";
2
+ import type { GetKeyPairsRequest, GetKeyPairsResult } from "../models/models_1";
3
3
  /**
4
4
  * @public
5
5
  */