@aws-sdk/client-guardduty 3.535.0 → 3.540.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.
@@ -1,12 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.defaultEndpointResolver = void 0;
4
- const util_endpoints_1 = require("@smithy/util-endpoints");
4
+ const util_endpoints_1 = require("@aws-sdk/util-endpoints");
5
+ const util_endpoints_2 = require("@smithy/util-endpoints");
5
6
  const ruleset_1 = require("./ruleset");
6
7
  const defaultEndpointResolver = (endpointParams, context = {}) => {
7
- return (0, util_endpoints_1.resolveEndpoint)(ruleset_1.ruleSet, {
8
+ return (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
8
9
  endpointParams: endpointParams,
9
10
  logger: context.logger,
10
11
  });
11
12
  };
12
13
  exports.defaultEndpointResolver = defaultEndpointResolver;
14
+ util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
package/dist-cjs/index.js CHANGED
@@ -5946,9 +5946,6 @@ var paginateListPublishingDestinations = (0, import_core.createPaginator)(GuardD
5946
5946
  // src/pagination/ListThreatIntelSetsPaginator.ts
5947
5947
 
5948
5948
  var paginateListThreatIntelSets = (0, import_core.createPaginator)(GuardDutyClient, ListThreatIntelSetsCommand, "NextToken", "NextToken", "MaxResults");
5949
-
5950
- // src/index.ts
5951
- var import_util_endpoints = require("@aws-sdk/util-endpoints");
5952
5949
  // Annotate the CommonJS export names for ESM import in node:
5953
5950
 
5954
5951
  0 && (module.exports = {
@@ -1,4 +1,5 @@
1
- import { resolveEndpoint } from "@smithy/util-endpoints";
1
+ import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
2
+ import { customEndpointFunctions, resolveEndpoint } from "@smithy/util-endpoints";
2
3
  import { ruleSet } from "./ruleset";
3
4
  export const defaultEndpointResolver = (endpointParams, context = {}) => {
4
5
  return resolveEndpoint(ruleSet, {
@@ -6,3 +7,4 @@ export const defaultEndpointResolver = (endpointParams, context = {}) => {
6
7
  logger: context.logger,
7
8
  });
8
9
  };
10
+ customEndpointFunctions.aws = awsEndpointFunctions;
package/dist-es/index.js CHANGED
@@ -3,5 +3,4 @@ export * from "./GuardDuty";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
5
  export * from "./models";
6
- import "@aws-sdk/util-endpoints";
7
6
  export { GuardDutyServiceException } from "./models/GuardDutyServiceException";
@@ -27,6 +27,8 @@ declare const AcceptInvitationCommand_base: {
27
27
  };
28
28
  /**
29
29
  * <p>Accepts the invitation to be monitored by a GuardDuty administrator account.</p>
30
+ *
31
+ * @deprecated This operation is deprecated, use AcceptAdministratorInvitation instead
30
32
  * @example
31
33
  * Use a bare-bones client and the command you need to make an API call.
32
34
  * ```javascript
@@ -60,7 +62,6 @@ declare const AcceptInvitationCommand_base: {
60
62
  * <p>Base exception class for all service exceptions from GuardDuty service.</p>
61
63
  *
62
64
  * @public
63
- * @deprecated This operation is deprecated, use AcceptAdministratorInvitation instead
64
65
  */
65
66
  export declare class AcceptInvitationCommand extends AcceptInvitationCommand_base {
66
67
  }
@@ -33,6 +33,8 @@ declare const DisassociateFromMasterAccountCommand_base: {
33
33
  * done so that the delegated administrator can invoke the <a href="https://docs.aws.amazon.com/guardduty/latest/APIReference/API_InviteMembers.html">InviteMembers</a> API without the need to invoke the CreateMembers API again. To
34
34
  * remove the details associated with a member account, the delegated administrator must invoke the
35
35
  * <a href="https://docs.aws.amazon.com/guardduty/latest/APIReference/API_DeleteMembers.html">DeleteMembers</a> API.</p>
36
+ *
37
+ * @deprecated This operation is deprecated, use DisassociateFromAdministratorAccount instead
36
38
  * @example
37
39
  * Use a bare-bones client and the command you need to make an API call.
38
40
  * ```javascript
@@ -64,7 +66,6 @@ declare const DisassociateFromMasterAccountCommand_base: {
64
66
  * <p>Base exception class for all service exceptions from GuardDuty service.</p>
65
67
  *
66
68
  * @public
67
- * @deprecated This operation is deprecated, use DisassociateFromAdministratorAccount instead
68
69
  */
69
70
  export declare class DisassociateFromMasterAccountCommand extends DisassociateFromMasterAccountCommand_base {
70
71
  }
@@ -28,6 +28,8 @@ declare const GetMasterAccountCommand_base: {
28
28
  /**
29
29
  * <p>Provides the details for the GuardDuty administrator account associated with the current
30
30
  * GuardDuty member account.</p>
31
+ *
32
+ * @deprecated This operation is deprecated, use GetAdministratorAccount instead
31
33
  * @example
32
34
  * Use a bare-bones client and the command you need to make an API call.
33
35
  * ```javascript
@@ -66,7 +68,6 @@ declare const GetMasterAccountCommand_base: {
66
68
  * <p>Base exception class for all service exceptions from GuardDuty service.</p>
67
69
  *
68
70
  * @public
69
- * @deprecated This operation is deprecated, use GetAdministratorAccount instead
70
71
  */
71
72
  export declare class GetMasterAccountCommand extends GetMasterAccountCommand_base {
72
73
  }
@@ -30,5 +30,4 @@ export { GuardDutyExtensionConfiguration } from "./extensionConfiguration";
30
30
  export * from "./commands";
31
31
  export * from "./pagination";
32
32
  export * from "./models";
33
- import "@aws-sdk/util-endpoints";
34
33
  export { GuardDutyServiceException } from "./models/GuardDutyServiceException";
@@ -6,5 +6,4 @@ export { GuardDutyExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
8
  export * from "./models";
9
- import "@aws-sdk/util-endpoints";
10
9
  export { GuardDutyServiceException } from "./models/GuardDutyServiceException";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-guardduty",
3
3
  "description": "AWS SDK for JavaScript Guardduty Client for Node.js, Browser and React Native",
4
- "version": "3.535.0",
4
+ "version": "3.540.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-guardduty",
@@ -20,16 +20,16 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.535.0",
23
+ "@aws-sdk/client-sts": "3.540.0",
24
24
  "@aws-sdk/core": "3.535.0",
25
- "@aws-sdk/credential-provider-node": "3.535.0",
25
+ "@aws-sdk/credential-provider-node": "3.540.0",
26
26
  "@aws-sdk/middleware-host-header": "3.535.0",
27
27
  "@aws-sdk/middleware-logger": "3.535.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.535.0",
29
- "@aws-sdk/middleware-user-agent": "3.535.0",
29
+ "@aws-sdk/middleware-user-agent": "3.540.0",
30
30
  "@aws-sdk/region-config-resolver": "3.535.0",
31
31
  "@aws-sdk/types": "3.535.0",
32
- "@aws-sdk/util-endpoints": "3.535.0",
32
+ "@aws-sdk/util-endpoints": "3.540.0",
33
33
  "@aws-sdk/util-user-agent-browser": "3.535.0",
34
34
  "@aws-sdk/util-user-agent-node": "3.535.0",
35
35
  "@smithy/config-resolver": "^2.2.0",