@aws-sdk/client-fms 3.987.0 → 3.989.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.
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
6
6
  import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
7
7
  import { defaultFMSHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
8
8
  import { defaultEndpointResolver } from "./endpoint/endpointResolver";
9
+ import { errorTypeRegistries } from "./schemas/schemas_0";
9
10
  export const getRuntimeConfig = (config) => {
10
11
  return {
11
12
  apiVersion: "2018-01-01",
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
26
27
  protocol: config?.protocol ?? AwsJson1_1Protocol,
27
28
  protocolSettings: config?.protocolSettings ?? {
28
29
  defaultNamespace: "com.amazonaws.fms",
30
+ errorTypeRegistries,
29
31
  version: "2018-01-01",
30
32
  serviceTarget: "AWSFMS_20180101",
31
33
  },
@@ -251,7 +251,7 @@ const _LTPFFPRi = "ListThirdPartyFirewallFirewallPoliciesResponse";
251
251
  const _LU = "LastUpdated";
252
252
  const _LUT = "ListUpdateToken";
253
253
  const _LUTa = "LastUpdateTime";
254
- const _M = "Metadata";
254
+ const _M = "Message";
255
255
  const _MA = "MemberAccount";
256
256
  const _MAI = "MemberAccountId";
257
257
  const _MAIe = "MemberAccountIds";
@@ -259,7 +259,7 @@ const _MAe = "MemberAccounts";
259
259
  const _MOS = "MarketplaceOnboardingStatus";
260
260
  const _MR = "MaxResults";
261
261
  const _MSD = "ManagedServiceData";
262
- const _Me = "Message";
262
+ const _Me = "Metadata";
263
263
  const _N = "Name";
264
264
  const _NACP = "NetworkAclCommonPolicy";
265
265
  const _NAE = "NetworkAclEntry";
@@ -459,6 +459,50 @@ const n0 = "com.amazonaws.fms";
459
459
  import { TypeRegistry } from "@smithy/core/schema";
460
460
  import { InternalErrorException, InvalidInputException, InvalidOperationException, InvalidTypeException, LimitExceededException, ResourceNotFoundException, } from "../models/errors";
461
461
  import { FMSServiceException } from "../models/FMSServiceException";
462
+ const _s_registry = TypeRegistry.for(_s);
463
+ export var FMSServiceException$ = [-3, _s, "FMSServiceException", 0, [], []];
464
+ _s_registry.registerError(FMSServiceException$, FMSServiceException);
465
+ const n0_registry = TypeRegistry.for(n0);
466
+ export var InternalErrorException$ = [-3, n0, _IEE,
467
+ { [_e]: _c },
468
+ [_M],
469
+ [0]
470
+ ];
471
+ n0_registry.registerError(InternalErrorException$, InternalErrorException);
472
+ export var InvalidInputException$ = [-3, n0, _IIE,
473
+ { [_e]: _c },
474
+ [_M],
475
+ [0]
476
+ ];
477
+ n0_registry.registerError(InvalidInputException$, InvalidInputException);
478
+ export var InvalidOperationException$ = [-3, n0, _IOE,
479
+ { [_e]: _c },
480
+ [_M],
481
+ [0]
482
+ ];
483
+ n0_registry.registerError(InvalidOperationException$, InvalidOperationException);
484
+ export var InvalidTypeException$ = [-3, n0, _ITE,
485
+ { [_e]: _c },
486
+ [_M],
487
+ [0]
488
+ ];
489
+ n0_registry.registerError(InvalidTypeException$, InvalidTypeException);
490
+ export var LimitExceededException$ = [-3, n0, _LEE,
491
+ { [_e]: _c },
492
+ [_M],
493
+ [0]
494
+ ];
495
+ n0_registry.registerError(LimitExceededException$, LimitExceededException);
496
+ export var ResourceNotFoundException$ = [-3, n0, _RNFE,
497
+ { [_e]: _c },
498
+ [_M],
499
+ [0]
500
+ ];
501
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
502
+ export const errorTypeRegistries = [
503
+ _s_registry,
504
+ n0_registry,
505
+ ];
462
506
  export var AccountScope$ = [3, n0, _AS,
463
507
  0,
464
508
  [_A, _AAE, _ESA],
@@ -546,7 +590,7 @@ export var BatchDisassociateResourceResponse$ = [3, n0, _BDRRa,
546
590
  ];
547
591
  export var ComplianceViolator$ = [3, n0, _CV,
548
592
  0,
549
- [_RI, _VR, _RT, _M],
593
+ [_RI, _VR, _RT, _Me],
550
594
  [0, 0, 0, 128 | 0]
551
595
  ];
552
596
  export var CreateNetworkAclAction$ = [3, n0, _CNAA,
@@ -809,41 +853,11 @@ export var GetViolationDetailsResponse$ = [3, n0, _GVDRe,
809
853
  [_VD],
810
854
  [() => ViolationDetail$]
811
855
  ];
812
- export var InternalErrorException$ = [-3, n0, _IEE,
813
- { [_e]: _c },
814
- [_Me],
815
- [0]
816
- ];
817
- TypeRegistry.for(n0).registerError(InternalErrorException$, InternalErrorException);
818
- export var InvalidInputException$ = [-3, n0, _IIE,
819
- { [_e]: _c },
820
- [_Me],
821
- [0]
822
- ];
823
- TypeRegistry.for(n0).registerError(InvalidInputException$, InvalidInputException);
824
856
  export var InvalidNetworkAclEntriesViolation$ = [3, n0, _INAEV,
825
857
  0,
826
858
  [_V, _Su, _SAZ, _CANA, _EVn],
827
859
  [0, 0, 0, 0, () => EntryViolations]
828
860
  ];
829
- export var InvalidOperationException$ = [-3, n0, _IOE,
830
- { [_e]: _c },
831
- [_Me],
832
- [0]
833
- ];
834
- TypeRegistry.for(n0).registerError(InvalidOperationException$, InvalidOperationException);
835
- export var InvalidTypeException$ = [-3, n0, _ITE,
836
- { [_e]: _c },
837
- [_Me],
838
- [0]
839
- ];
840
- TypeRegistry.for(n0).registerError(InvalidTypeException$, InvalidTypeException);
841
- export var LimitExceededException$ = [-3, n0, _LEE,
842
- { [_e]: _c },
843
- [_Me],
844
- [0]
845
- ];
846
- TypeRegistry.for(n0).registerError(LimitExceededException$, LimitExceededException);
847
861
  export var ListAdminAccountsForOrganizationRequest$ = [3, n0, _LAAFOR,
848
862
  0,
849
863
  [_NT, _MR],
@@ -1189,12 +1203,6 @@ export var Resource$ = [3, n0, _Res,
1189
1203
  [_URI, _AI],
1190
1204
  [0, 0], 1
1191
1205
  ];
1192
- export var ResourceNotFoundException$ = [-3, n0, _RNFE,
1193
- { [_e]: _c },
1194
- [_Me],
1195
- [0]
1196
- ];
1197
- TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
1198
1206
  export var ResourceSet$ = [3, n0, _RSe,
1199
1207
  0,
1200
1208
  [_N, _RTL, _Id_, _D, _UT, _LUTa, _RSS],
@@ -1321,8 +1329,6 @@ export var WebACLHasOutOfScopeResourcesViolation$ = [3, n0, _WACLHOOSRV,
1321
1329
  [0, 64 | 0]
1322
1330
  ];
1323
1331
  var __Unit = "unit";
1324
- export var FMSServiceException$ = [-3, _s, "FMSServiceException", 0, [], []];
1325
- TypeRegistry.for(_s).registerError(FMSServiceException$, FMSServiceException);
1326
1332
  var AccountIdList = 64 | 0;
1327
1333
  var AdminAccountSummaryList = [1, n0, _AASL,
1328
1334
  0, () => AdminAccountSummary$
@@ -1,4 +1,18 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
3
+ export declare var FMSServiceException$: StaticErrorSchema;
4
+ export declare var InternalErrorException$: StaticErrorSchema;
5
+ export declare var InvalidInputException$: StaticErrorSchema;
6
+ export declare var InvalidOperationException$: StaticErrorSchema;
7
+ export declare var InvalidTypeException$: StaticErrorSchema;
8
+ export declare var LimitExceededException$: StaticErrorSchema;
9
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
10
+ /**
11
+ * TypeRegistry instances containing modeled errors.
12
+ * @internal
13
+ *
14
+ */
15
+ export declare const errorTypeRegistries: TypeRegistry[];
2
16
  export declare var AccountScope$: StaticStructureSchema;
3
17
  export declare var ActionTarget$: StaticStructureSchema;
4
18
  export declare var AdminAccountSummary$: StaticStructureSchema;
@@ -69,12 +83,7 @@ export declare var GetThirdPartyFirewallAssociationStatusRequest$: StaticStructu
69
83
  export declare var GetThirdPartyFirewallAssociationStatusResponse$: StaticStructureSchema;
70
84
  export declare var GetViolationDetailsRequest$: StaticStructureSchema;
71
85
  export declare var GetViolationDetailsResponse$: StaticStructureSchema;
72
- export declare var InternalErrorException$: StaticErrorSchema;
73
- export declare var InvalidInputException$: StaticErrorSchema;
74
86
  export declare var InvalidNetworkAclEntriesViolation$: StaticStructureSchema;
75
- export declare var InvalidOperationException$: StaticErrorSchema;
76
- export declare var InvalidTypeException$: StaticErrorSchema;
77
- export declare var LimitExceededException$: StaticErrorSchema;
78
87
  export declare var ListAdminAccountsForOrganizationRequest$: StaticStructureSchema;
79
88
  export declare var ListAdminAccountsForOrganizationResponse$: StaticStructureSchema;
80
89
  export declare var ListAdminsManagingAccountRequest$: StaticStructureSchema;
@@ -144,7 +153,6 @@ export declare var RemediationAction$: StaticStructureSchema;
144
153
  export declare var RemediationActionWithOrder$: StaticStructureSchema;
145
154
  export declare var ReplaceNetworkAclAssociationAction$: StaticStructureSchema;
146
155
  export declare var Resource$: StaticStructureSchema;
147
- export declare var ResourceNotFoundException$: StaticErrorSchema;
148
156
  export declare var ResourceSet$: StaticStructureSchema;
149
157
  export declare var ResourceSetSummary$: StaticStructureSchema;
150
158
  export declare var ResourceTag$: StaticStructureSchema;
@@ -170,7 +178,6 @@ export declare var UntagResourceResponse$: StaticStructureSchema;
170
178
  export declare var ViolationDetail$: StaticStructureSchema;
171
179
  export declare var WebACLHasIncompatibleConfigurationViolation$: StaticStructureSchema;
172
180
  export declare var WebACLHasOutOfScopeResourcesViolation$: StaticStructureSchema;
173
- export declare var FMSServiceException$: StaticErrorSchema;
174
181
  export declare var AssociateAdminAccount$: StaticOperationSchema;
175
182
  export declare var AssociateThirdPartyFirewall$: StaticOperationSchema;
176
183
  export declare var BatchAssociateResource$: StaticOperationSchema;
@@ -1,8 +1,17 @@
1
+ import { TypeRegistry } from "@smithy/core/schema";
1
2
  import {
2
3
  StaticErrorSchema,
3
4
  StaticOperationSchema,
4
5
  StaticStructureSchema,
5
6
  } from "@smithy/types";
7
+ export declare var FMSServiceException$: StaticErrorSchema;
8
+ export declare var InternalErrorException$: StaticErrorSchema;
9
+ export declare var InvalidInputException$: StaticErrorSchema;
10
+ export declare var InvalidOperationException$: StaticErrorSchema;
11
+ export declare var InvalidTypeException$: StaticErrorSchema;
12
+ export declare var LimitExceededException$: StaticErrorSchema;
13
+ export declare var ResourceNotFoundException$: StaticErrorSchema;
14
+ export declare const errorTypeRegistries: TypeRegistry[];
6
15
  export declare var AccountScope$: StaticStructureSchema;
7
16
  export declare var ActionTarget$: StaticStructureSchema;
8
17
  export declare var AdminAccountSummary$: StaticStructureSchema;
@@ -73,12 +82,7 @@ export declare var GetThirdPartyFirewallAssociationStatusRequest$: StaticStructu
73
82
  export declare var GetThirdPartyFirewallAssociationStatusResponse$: StaticStructureSchema;
74
83
  export declare var GetViolationDetailsRequest$: StaticStructureSchema;
75
84
  export declare var GetViolationDetailsResponse$: StaticStructureSchema;
76
- export declare var InternalErrorException$: StaticErrorSchema;
77
- export declare var InvalidInputException$: StaticErrorSchema;
78
85
  export declare var InvalidNetworkAclEntriesViolation$: StaticStructureSchema;
79
- export declare var InvalidOperationException$: StaticErrorSchema;
80
- export declare var InvalidTypeException$: StaticErrorSchema;
81
- export declare var LimitExceededException$: StaticErrorSchema;
82
86
  export declare var ListAdminAccountsForOrganizationRequest$: StaticStructureSchema;
83
87
  export declare var ListAdminAccountsForOrganizationResponse$: StaticStructureSchema;
84
88
  export declare var ListAdminsManagingAccountRequest$: StaticStructureSchema;
@@ -148,7 +152,6 @@ export declare var RemediationAction$: StaticStructureSchema;
148
152
  export declare var RemediationActionWithOrder$: StaticStructureSchema;
149
153
  export declare var ReplaceNetworkAclAssociationAction$: StaticStructureSchema;
150
154
  export declare var Resource$: StaticStructureSchema;
151
- export declare var ResourceNotFoundException$: StaticErrorSchema;
152
155
  export declare var ResourceSet$: StaticStructureSchema;
153
156
  export declare var ResourceSetSummary$: StaticStructureSchema;
154
157
  export declare var ResourceTag$: StaticStructureSchema;
@@ -174,7 +177,6 @@ export declare var UntagResourceResponse$: StaticStructureSchema;
174
177
  export declare var ViolationDetail$: StaticStructureSchema;
175
178
  export declare var WebACLHasIncompatibleConfigurationViolation$: StaticStructureSchema;
176
179
  export declare var WebACLHasOutOfScopeResourcesViolation$: StaticStructureSchema;
177
- export declare var FMSServiceException$: StaticErrorSchema;
178
180
  export declare var AssociateAdminAccount$: StaticOperationSchema;
179
181
  export declare var AssociateThirdPartyFirewall$: StaticOperationSchema;
180
182
  export declare var BatchAssociateResource$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-fms",
3
3
  "description": "AWS SDK for JavaScript Fms Client for Node.js, Browser and React Native",
4
- "version": "3.987.0",
4
+ "version": "3.989.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-fms",
@@ -21,38 +21,38 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.973.7",
25
- "@aws-sdk/credential-provider-node": "^3.972.6",
24
+ "@aws-sdk/core": "^3.973.9",
25
+ "@aws-sdk/credential-provider-node": "^3.972.8",
26
26
  "@aws-sdk/middleware-host-header": "^3.972.3",
27
27
  "@aws-sdk/middleware-logger": "^3.972.3",
28
28
  "@aws-sdk/middleware-recursion-detection": "^3.972.3",
29
- "@aws-sdk/middleware-user-agent": "^3.972.7",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.9",
30
30
  "@aws-sdk/region-config-resolver": "^3.972.3",
31
31
  "@aws-sdk/types": "^3.973.1",
32
- "@aws-sdk/util-endpoints": "3.987.0",
32
+ "@aws-sdk/util-endpoints": "3.989.0",
33
33
  "@aws-sdk/util-user-agent-browser": "^3.972.3",
34
- "@aws-sdk/util-user-agent-node": "^3.972.5",
34
+ "@aws-sdk/util-user-agent-node": "^3.972.7",
35
35
  "@smithy/config-resolver": "^4.4.6",
36
- "@smithy/core": "^3.22.1",
36
+ "@smithy/core": "^3.23.0",
37
37
  "@smithy/fetch-http-handler": "^5.3.9",
38
38
  "@smithy/hash-node": "^4.2.8",
39
39
  "@smithy/invalid-dependency": "^4.2.8",
40
40
  "@smithy/middleware-content-length": "^4.2.8",
41
- "@smithy/middleware-endpoint": "^4.4.13",
42
- "@smithy/middleware-retry": "^4.4.30",
41
+ "@smithy/middleware-endpoint": "^4.4.14",
42
+ "@smithy/middleware-retry": "^4.4.31",
43
43
  "@smithy/middleware-serde": "^4.2.9",
44
44
  "@smithy/middleware-stack": "^4.2.8",
45
45
  "@smithy/node-config-provider": "^4.3.8",
46
- "@smithy/node-http-handler": "^4.4.9",
46
+ "@smithy/node-http-handler": "^4.4.10",
47
47
  "@smithy/protocol-http": "^5.3.8",
48
- "@smithy/smithy-client": "^4.11.2",
48
+ "@smithy/smithy-client": "^4.11.3",
49
49
  "@smithy/types": "^4.12.0",
50
50
  "@smithy/url-parser": "^4.2.8",
51
51
  "@smithy/util-base64": "^4.3.0",
52
52
  "@smithy/util-body-length-browser": "^4.2.0",
53
53
  "@smithy/util-body-length-node": "^4.2.1",
54
- "@smithy/util-defaults-mode-browser": "^4.3.29",
55
- "@smithy/util-defaults-mode-node": "^4.2.32",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.30",
55
+ "@smithy/util-defaults-mode-node": "^4.2.33",
56
56
  "@smithy/util-endpoints": "^3.2.8",
57
57
  "@smithy/util-middleware": "^4.2.8",
58
58
  "@smithy/util-retry": "^4.2.8",