@aws-sdk/client-oam 3.535.0 → 3.544.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
@@ -249,6 +249,7 @@ var ConflictException = _ConflictException;
249
249
  var ResourceType = {
250
250
  AWS_APPLICATIONINSIGHTS_APPLICATION: "AWS::ApplicationInsights::Application",
251
251
  AWS_CLOUDWATCH_METRIC: "AWS::CloudWatch::Metric",
252
+ AWS_INTERNETMONITOR_MONITOR: "AWS::InternetMonitor::Monitor",
252
253
  AWS_LOGS_LOGGROUP: "AWS::Logs::LogGroup",
253
254
  AWS_XRAY_TRACE: "AWS::XRay::Trace"
254
255
  };
@@ -1292,9 +1293,6 @@ var paginateListLinks = (0, import_core.createPaginator)(OAMClient, ListLinksCom
1292
1293
  // src/pagination/ListSinksPaginator.ts
1293
1294
 
1294
1295
  var paginateListSinks = (0, import_core.createPaginator)(OAMClient, ListSinksCommand, "NextToken", "NextToken", "MaxResults");
1295
-
1296
- // src/index.ts
1297
- var import_util_endpoints = require("@aws-sdk/util-endpoints");
1298
1296
  // Annotate the CommonJS export names for ESM import in node:
1299
1297
 
1300
1298
  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 "./OAM";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
5
  export * from "./models";
6
- import "@aws-sdk/util-endpoints";
7
6
  export { OAMServiceException } from "./models/OAMServiceException";
@@ -16,6 +16,7 @@ export class ConflictException extends __BaseException {
16
16
  export const ResourceType = {
17
17
  AWS_APPLICATIONINSIGHTS_APPLICATION: "AWS::ApplicationInsights::Application",
18
18
  AWS_CLOUDWATCH_METRIC: "AWS::CloudWatch::Metric",
19
+ AWS_INTERNETMONITOR_MONITOR: "AWS::InternetMonitor::Monitor",
19
20
  AWS_LOGS_LOGGROUP: "AWS::Logs::LogGroup",
20
21
  AWS_XRAY_TRACE: "AWS::XRay::Trace",
21
22
  };
@@ -45,7 +45,7 @@ declare const CreateLinkCommand_base: {
45
45
  * const input = { // CreateLinkInput
46
46
  * LabelTemplate: "STRING_VALUE", // required
47
47
  * ResourceTypes: [ // ResourceTypesInput // required
48
- * "AWS::CloudWatch::Metric" || "AWS::Logs::LogGroup" || "AWS::XRay::Trace" || "AWS::ApplicationInsights::Application",
48
+ * "AWS::CloudWatch::Metric" || "AWS::Logs::LogGroup" || "AWS::XRay::Trace" || "AWS::ApplicationInsights::Application" || "AWS::InternetMonitor::Monitor",
49
49
  * ],
50
50
  * SinkIdentifier: "STRING_VALUE", // required
51
51
  * Tags: { // TagMapInput
@@ -39,7 +39,7 @@ declare const UpdateLinkCommand_base: {
39
39
  * const input = { // UpdateLinkInput
40
40
  * Identifier: "STRING_VALUE", // required
41
41
  * ResourceTypes: [ // ResourceTypesInput // required
42
- * "AWS::CloudWatch::Metric" || "AWS::Logs::LogGroup" || "AWS::XRay::Trace" || "AWS::ApplicationInsights::Application",
42
+ * "AWS::CloudWatch::Metric" || "AWS::Logs::LogGroup" || "AWS::XRay::Trace" || "AWS::ApplicationInsights::Application" || "AWS::InternetMonitor::Monitor",
43
43
  * ],
44
44
  * };
45
45
  * const command = new UpdateLinkCommand(input);
@@ -21,5 +21,4 @@ export { OAMExtensionConfiguration } from "./extensionConfiguration";
21
21
  export * from "./commands";
22
22
  export * from "./pagination";
23
23
  export * from "./models";
24
- import "@aws-sdk/util-endpoints";
25
24
  export { OAMServiceException } from "./models/OAMServiceException";
@@ -25,6 +25,7 @@ export declare class ConflictException extends __BaseException {
25
25
  export declare const ResourceType: {
26
26
  readonly AWS_APPLICATIONINSIGHTS_APPLICATION: "AWS::ApplicationInsights::Application";
27
27
  readonly AWS_CLOUDWATCH_METRIC: "AWS::CloudWatch::Metric";
28
+ readonly AWS_INTERNETMONITOR_MONITOR: "AWS::InternetMonitor::Monitor";
28
29
  readonly AWS_LOGS_LOGGROUP: "AWS::Logs::LogGroup";
29
30
  readonly AWS_XRAY_TRACE: "AWS::XRay::Trace";
30
31
  };
@@ -6,5 +6,4 @@ export { OAMExtensionConfiguration } 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 { OAMServiceException } from "./models/OAMServiceException";
@@ -10,6 +10,7 @@ export declare class ConflictException extends __BaseException {
10
10
  export declare const ResourceType: {
11
11
  readonly AWS_APPLICATIONINSIGHTS_APPLICATION: "AWS::ApplicationInsights::Application";
12
12
  readonly AWS_CLOUDWATCH_METRIC: "AWS::CloudWatch::Metric";
13
+ readonly AWS_INTERNETMONITOR_MONITOR: "AWS::InternetMonitor::Monitor";
13
14
  readonly AWS_LOGS_LOGGROUP: "AWS::Logs::LogGroup";
14
15
  readonly AWS_XRAY_TRACE: "AWS::XRay::Trace";
15
16
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-oam",
3
3
  "description": "AWS SDK for JavaScript Oam Client for Node.js, Browser and React Native",
4
- "version": "3.535.0",
4
+ "version": "3.544.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-oam",
@@ -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",