@aws-sdk/client-fms 3.185.0 → 3.188.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.
Files changed (48) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist-es/FMS.js +122 -129
  3. package/dist-es/FMSClient.js +22 -28
  4. package/dist-es/commands/AssociateAdminAccountCommand.js +22 -29
  5. package/dist-es/commands/AssociateThirdPartyFirewallCommand.js +21 -28
  6. package/dist-es/commands/DeleteAppsListCommand.js +22 -29
  7. package/dist-es/commands/DeleteNotificationChannelCommand.js +22 -29
  8. package/dist-es/commands/DeletePolicyCommand.js +22 -29
  9. package/dist-es/commands/DeleteProtocolsListCommand.js +22 -29
  10. package/dist-es/commands/DisassociateAdminAccountCommand.js +22 -29
  11. package/dist-es/commands/DisassociateThirdPartyFirewallCommand.js +21 -28
  12. package/dist-es/commands/GetAdminAccountCommand.js +21 -28
  13. package/dist-es/commands/GetAppsListCommand.js +21 -28
  14. package/dist-es/commands/GetComplianceDetailCommand.js +21 -28
  15. package/dist-es/commands/GetNotificationChannelCommand.js +21 -28
  16. package/dist-es/commands/GetPolicyCommand.js +21 -28
  17. package/dist-es/commands/GetProtectionStatusCommand.js +21 -28
  18. package/dist-es/commands/GetProtocolsListCommand.js +21 -28
  19. package/dist-es/commands/GetThirdPartyFirewallAssociationStatusCommand.js +21 -28
  20. package/dist-es/commands/GetViolationDetailsCommand.js +21 -28
  21. package/dist-es/commands/ListAppsListsCommand.js +21 -28
  22. package/dist-es/commands/ListComplianceStatusCommand.js +21 -28
  23. package/dist-es/commands/ListMemberAccountsCommand.js +21 -28
  24. package/dist-es/commands/ListPoliciesCommand.js +21 -28
  25. package/dist-es/commands/ListProtocolsListsCommand.js +21 -28
  26. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  27. package/dist-es/commands/ListThirdPartyFirewallFirewallPoliciesCommand.js +21 -28
  28. package/dist-es/commands/PutAppsListCommand.js +21 -28
  29. package/dist-es/commands/PutNotificationChannelCommand.js +22 -29
  30. package/dist-es/commands/PutPolicyCommand.js +21 -28
  31. package/dist-es/commands/PutProtocolsListCommand.js +21 -28
  32. package/dist-es/commands/TagResourceCommand.js +21 -28
  33. package/dist-es/commands/UntagResourceCommand.js +21 -28
  34. package/dist-es/endpoints.js +8 -8
  35. package/dist-es/models/FMSServiceException.js +5 -10
  36. package/dist-es/models/models_0.js +423 -190
  37. package/dist-es/pagination/ListAppsListsPaginator.js +25 -68
  38. package/dist-es/pagination/ListComplianceStatusPaginator.js +25 -68
  39. package/dist-es/pagination/ListMemberAccountsPaginator.js +25 -68
  40. package/dist-es/pagination/ListPoliciesPaginator.js +25 -68
  41. package/dist-es/pagination/ListProtocolsListsPaginator.js +25 -68
  42. package/dist-es/pagination/ListThirdPartyFirewallFirewallPoliciesPaginator.js +25 -68
  43. package/dist-es/protocols/Aws_json1_1.js +2077 -2665
  44. package/dist-es/runtimeConfig.browser.js +26 -12
  45. package/dist-es/runtimeConfig.js +30 -12
  46. package/dist-es/runtimeConfig.native.js +8 -5
  47. package/dist-es/runtimeConfig.shared.js +8 -11
  48. package/package.json +33 -33
@@ -1,6 +1,5 @@
1
- import { __assign, __awaiter, __generator } from "tslib";
2
1
  import { getRegionInfo } from "@aws-sdk/config-resolver";
3
- var regionHash = {
2
+ const regionHash = {
4
3
  "af-south-1": {
5
4
  variants: [
6
5
  {
@@ -170,7 +169,7 @@ var regionHash = {
170
169
  ],
171
170
  },
172
171
  };
173
- var partitionHash = {
172
+ const partitionHash = {
174
173
  aws: {
175
174
  regions: [
176
175
  "af-south-1",
@@ -309,8 +308,9 @@ var partitionHash = {
309
308
  ],
310
309
  },
311
310
  };
312
- export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
313
- return __generator(this, function (_a) {
314
- return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "fms", regionHash: regionHash, partitionHash: partitionHash }))];
315
- });
316
- }); };
311
+ export const defaultRegionInfoProvider = async (region, options) => getRegionInfo(region, {
312
+ ...options,
313
+ signingService: "fms",
314
+ regionHash,
315
+ partitionHash,
316
+ });
@@ -1,12 +1,7 @@
1
- import { __extends } from "tslib";
2
1
  import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
- var FMSServiceException = (function (_super) {
4
- __extends(FMSServiceException, _super);
5
- function FMSServiceException(options) {
6
- var _this = _super.call(this, options) || this;
7
- Object.setPrototypeOf(_this, FMSServiceException.prototype);
8
- return _this;
2
+ export class FMSServiceException extends __ServiceException {
3
+ constructor(options) {
4
+ super(options);
5
+ Object.setPrototypeOf(this, FMSServiceException.prototype);
9
6
  }
10
- return FMSServiceException;
11
- }(__ServiceException));
12
- export { FMSServiceException };
7
+ }