@aws-sdk/client-networkmonitor 3.480.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 (131) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +309 -0
  3. package/dist-cjs/NetworkMonitor.js +35 -0
  4. package/dist-cjs/NetworkMonitorClient.js +43 -0
  5. package/dist-cjs/commands/CreateMonitorCommand.js +51 -0
  6. package/dist-cjs/commands/CreateProbeCommand.js +51 -0
  7. package/dist-cjs/commands/DeleteMonitorCommand.js +51 -0
  8. package/dist-cjs/commands/DeleteProbeCommand.js +51 -0
  9. package/dist-cjs/commands/GetMonitorCommand.js +51 -0
  10. package/dist-cjs/commands/GetProbeCommand.js +51 -0
  11. package/dist-cjs/commands/ListMonitorsCommand.js +51 -0
  12. package/dist-cjs/commands/ListTagsForResourceCommand.js +51 -0
  13. package/dist-cjs/commands/TagResourceCommand.js +51 -0
  14. package/dist-cjs/commands/UntagResourceCommand.js +51 -0
  15. package/dist-cjs/commands/UpdateMonitorCommand.js +51 -0
  16. package/dist-cjs/commands/UpdateProbeCommand.js +51 -0
  17. package/dist-cjs/commands/index.js +15 -0
  18. package/dist-cjs/endpoint/EndpointParameters.js +12 -0
  19. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  20. package/dist-cjs/endpoint/ruleset.js +7 -0
  21. package/dist-cjs/extensionConfiguration.js +2 -0
  22. package/dist-cjs/index.js +12 -0
  23. package/dist-cjs/models/NetworkMonitorServiceException.js +12 -0
  24. package/dist-cjs/models/index.js +4 -0
  25. package/dist-cjs/models/models_0.js +122 -0
  26. package/dist-cjs/pagination/Interfaces.js +2 -0
  27. package/dist-cjs/pagination/ListMonitorsPaginator.js +7 -0
  28. package/dist-cjs/pagination/index.js +5 -0
  29. package/dist-cjs/protocols/Aws_restJson1.js +957 -0
  30. package/dist-cjs/runtimeConfig.browser.js +39 -0
  31. package/dist-cjs/runtimeConfig.js +50 -0
  32. package/dist-cjs/runtimeConfig.native.js +15 -0
  33. package/dist-cjs/runtimeConfig.shared.js +24 -0
  34. package/dist-cjs/runtimeExtensions.js +22 -0
  35. package/dist-es/NetworkMonitor.js +31 -0
  36. package/dist-es/NetworkMonitorClient.js +39 -0
  37. package/dist-es/commands/CreateMonitorCommand.js +47 -0
  38. package/dist-es/commands/CreateProbeCommand.js +47 -0
  39. package/dist-es/commands/DeleteMonitorCommand.js +47 -0
  40. package/dist-es/commands/DeleteProbeCommand.js +47 -0
  41. package/dist-es/commands/GetMonitorCommand.js +47 -0
  42. package/dist-es/commands/GetProbeCommand.js +47 -0
  43. package/dist-es/commands/ListMonitorsCommand.js +47 -0
  44. package/dist-es/commands/ListTagsForResourceCommand.js +47 -0
  45. package/dist-es/commands/TagResourceCommand.js +47 -0
  46. package/dist-es/commands/UntagResourceCommand.js +47 -0
  47. package/dist-es/commands/UpdateMonitorCommand.js +47 -0
  48. package/dist-es/commands/UpdateProbeCommand.js +47 -0
  49. package/dist-es/commands/index.js +12 -0
  50. package/dist-es/endpoint/EndpointParameters.js +8 -0
  51. package/dist-es/endpoint/endpointResolver.js +8 -0
  52. package/dist-es/endpoint/ruleset.js +4 -0
  53. package/dist-es/extensionConfiguration.js +1 -0
  54. package/dist-es/index.js +7 -0
  55. package/dist-es/models/NetworkMonitorServiceException.js +8 -0
  56. package/dist-es/models/index.js +1 -0
  57. package/dist-es/models/models_0.js +112 -0
  58. package/dist-es/pagination/Interfaces.js +1 -0
  59. package/dist-es/pagination/ListMonitorsPaginator.js +4 -0
  60. package/dist-es/pagination/index.js +2 -0
  61. package/dist-es/protocols/Aws_restJson1.js +930 -0
  62. package/dist-es/runtimeConfig.browser.js +34 -0
  63. package/dist-es/runtimeConfig.js +45 -0
  64. package/dist-es/runtimeConfig.native.js +11 -0
  65. package/dist-es/runtimeConfig.shared.js +20 -0
  66. package/dist-es/runtimeExtensions.js +18 -0
  67. package/dist-types/NetworkMonitor.d.ts +102 -0
  68. package/dist-types/NetworkMonitorClient.d.ts +189 -0
  69. package/dist-types/commands/CreateMonitorCommand.d.ts +114 -0
  70. package/dist-types/commands/CreateProbeCommand.d.ts +119 -0
  71. package/dist-types/commands/DeleteMonitorCommand.d.ts +86 -0
  72. package/dist-types/commands/DeleteProbeCommand.d.ts +90 -0
  73. package/dist-types/commands/GetMonitorCommand.d.ts +115 -0
  74. package/dist-types/commands/GetProbeCommand.d.ts +103 -0
  75. package/dist-types/commands/ListMonitorsCommand.d.ts +98 -0
  76. package/dist-types/commands/ListTagsForResourceCommand.d.ts +93 -0
  77. package/dist-types/commands/TagResourceCommand.d.ts +92 -0
  78. package/dist-types/commands/UntagResourceCommand.d.ts +92 -0
  79. package/dist-types/commands/UpdateMonitorCommand.d.ts +98 -0
  80. package/dist-types/commands/UpdateProbeCommand.d.ts +111 -0
  81. package/dist-types/commands/index.d.ts +12 -0
  82. package/dist-types/endpoint/EndpointParameters.d.ts +22 -0
  83. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  84. package/dist-types/endpoint/ruleset.d.ts +2 -0
  85. package/dist-types/extensionConfiguration.d.ts +8 -0
  86. package/dist-types/index.d.ts +23 -0
  87. package/dist-types/models/NetworkMonitorServiceException.d.ts +13 -0
  88. package/dist-types/models/index.d.ts +1 -0
  89. package/dist-types/models/models_0.d.ts +902 -0
  90. package/dist-types/pagination/Interfaces.d.ts +8 -0
  91. package/dist-types/pagination/ListMonitorsPaginator.d.ts +7 -0
  92. package/dist-types/pagination/index.d.ts +2 -0
  93. package/dist-types/protocols/Aws_restJson1.d.ts +110 -0
  94. package/dist-types/runtimeConfig.browser.d.ts +46 -0
  95. package/dist-types/runtimeConfig.d.ts +46 -0
  96. package/dist-types/runtimeConfig.native.d.ts +45 -0
  97. package/dist-types/runtimeConfig.shared.d.ts +19 -0
  98. package/dist-types/runtimeExtensions.d.ts +17 -0
  99. package/dist-types/ts3.4/NetworkMonitor.d.ts +211 -0
  100. package/dist-types/ts3.4/NetworkMonitorClient.d.ts +191 -0
  101. package/dist-types/ts3.4/commands/CreateMonitorCommand.d.ts +35 -0
  102. package/dist-types/ts3.4/commands/CreateProbeCommand.d.ts +35 -0
  103. package/dist-types/ts3.4/commands/DeleteMonitorCommand.d.ts +35 -0
  104. package/dist-types/ts3.4/commands/DeleteProbeCommand.d.ts +35 -0
  105. package/dist-types/ts3.4/commands/GetMonitorCommand.d.ts +35 -0
  106. package/dist-types/ts3.4/commands/GetProbeCommand.d.ts +35 -0
  107. package/dist-types/ts3.4/commands/ListMonitorsCommand.d.ts +35 -0
  108. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
  109. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +35 -0
  110. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +35 -0
  111. package/dist-types/ts3.4/commands/UpdateMonitorCommand.d.ts +35 -0
  112. package/dist-types/ts3.4/commands/UpdateProbeCommand.d.ts +35 -0
  113. package/dist-types/ts3.4/commands/index.d.ts +12 -0
  114. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +33 -0
  115. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  116. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  117. package/dist-types/ts3.4/extensionConfiguration.d.ts +7 -0
  118. package/dist-types/ts3.4/index.d.ts +10 -0
  119. package/dist-types/ts3.4/models/NetworkMonitorServiceException.d.ts +8 -0
  120. package/dist-types/ts3.4/models/index.d.ts +1 -0
  121. package/dist-types/ts3.4/models/models_0.d.ts +254 -0
  122. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  123. package/dist-types/ts3.4/pagination/ListMonitorsPaginator.d.ts +11 -0
  124. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  125. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +149 -0
  126. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +97 -0
  127. package/dist-types/ts3.4/runtimeConfig.d.ts +97 -0
  128. package/dist-types/ts3.4/runtimeConfig.native.d.ts +88 -0
  129. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +19 -0
  130. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  131. package/package.json +103 -0
@@ -0,0 +1,88 @@
1
+ import { NetworkMonitorClientConfig } from "./NetworkMonitorClient";
2
+ export declare const getRuntimeConfig: (config: NetworkMonitorClientConfig) => {
3
+ runtime: string;
4
+ sha256: import("@smithy/types").HashConstructor;
5
+ requestHandler:
6
+ | (import("@smithy/types").RequestHandler<
7
+ any,
8
+ any,
9
+ import("@smithy/types").HttpHandlerOptions
10
+ > &
11
+ import("@smithy/types").RequestHandler<
12
+ import("@smithy/protocol-http").HttpRequest,
13
+ import("@smithy/protocol-http").HttpResponse,
14
+ import("@smithy/types").HttpHandlerOptions
15
+ > & {
16
+ updateHttpClientConfig(key: never, value: never): void;
17
+ httpHandlerConfigs(): {};
18
+ })
19
+ | import("@smithy/fetch-http-handler").FetchHttpHandler;
20
+ apiVersion: string;
21
+ urlParser: import("@smithy/types").UrlParser;
22
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
23
+ streamCollector: import("@smithy/types").StreamCollector;
24
+ base64Decoder: import("@smithy/types").Decoder;
25
+ base64Encoder: import("@smithy/types").Encoder;
26
+ utf8Decoder: import("@smithy/types").Decoder;
27
+ utf8Encoder: import("@smithy/types").Encoder;
28
+ disableHostPrefix: boolean;
29
+ serviceId: string;
30
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
31
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
32
+ region: string | import("@smithy/types").Provider<any>;
33
+ credentialDefaultProvider: (
34
+ input: any
35
+ ) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
36
+ defaultUserAgentProvider: import("@smithy/types").Provider<
37
+ import("@smithy/types").UserAgent
38
+ >;
39
+ maxAttempts: number | import("@smithy/types").Provider<number>;
40
+ retryMode: string | import("@smithy/types").Provider<string>;
41
+ logger: import("@smithy/types").Logger;
42
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
43
+ defaultsMode:
44
+ | import("@smithy/smithy-client").DefaultsMode
45
+ | import("@smithy/types").Provider<
46
+ import("@smithy/smithy-client").DefaultsMode
47
+ >;
48
+ endpoint?:
49
+ | string
50
+ | import("@smithy/types").Endpoint
51
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
52
+ | import("@smithy/types").EndpointV2
53
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
54
+ | undefined;
55
+ endpointProvider: (
56
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
57
+ context?: {
58
+ logger?: import("@smithy/types").Logger | undefined;
59
+ }
60
+ ) => import("@smithy/types").EndpointV2;
61
+ tls?: boolean | undefined;
62
+ retryStrategy?:
63
+ | import("@smithy/types").RetryStrategy
64
+ | import("@smithy/types").RetryStrategyV2
65
+ | undefined;
66
+ credentials?:
67
+ | import("@smithy/types").AwsCredentialIdentity
68
+ | import("@smithy/types").Provider<
69
+ import("@smithy/types").AwsCredentialIdentity
70
+ >
71
+ | undefined;
72
+ signer?:
73
+ | import("@smithy/types").RequestSigner
74
+ | ((
75
+ authScheme?: import("@smithy/types").AuthScheme | undefined
76
+ ) => Promise<import("@smithy/types").RequestSigner>)
77
+ | undefined;
78
+ signingEscapePath?: boolean | undefined;
79
+ systemClockOffset?: number | undefined;
80
+ signingRegion?: string | undefined;
81
+ signerConstructor?:
82
+ | (new (
83
+ options: import("@smithy/signature-v4").SignatureV4Init &
84
+ import("@smithy/signature-v4").SignatureV4CryptoInit
85
+ ) => import("@smithy/types").RequestSigner)
86
+ | undefined;
87
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
88
+ };
@@ -0,0 +1,19 @@
1
+ import { NetworkMonitorClientConfig } from "./NetworkMonitorClient";
2
+ export declare const getRuntimeConfig: (config: NetworkMonitorClientConfig) => {
3
+ apiVersion: string;
4
+ base64Decoder: import("@smithy/types").Decoder;
5
+ base64Encoder: import("@smithy/types").Encoder;
6
+ disableHostPrefix: boolean;
7
+ endpointProvider: (
8
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
9
+ context?: {
10
+ logger?: import("@smithy/types").Logger | undefined;
11
+ }
12
+ ) => import("@smithy/types").EndpointV2;
13
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
14
+ logger: import("@smithy/types").Logger;
15
+ serviceId: string;
16
+ urlParser: import("@smithy/types").UrlParser;
17
+ utf8Decoder: import("@smithy/types").Decoder;
18
+ utf8Encoder: import("@smithy/types").Encoder;
19
+ };
@@ -0,0 +1,11 @@
1
+ import { NetworkMonitorExtensionConfiguration } from "./extensionConfiguration";
2
+ export interface RuntimeExtension {
3
+ configure(extensionConfiguration: NetworkMonitorExtensionConfiguration): void;
4
+ }
5
+ export interface RuntimeExtensionsConfig {
6
+ extensions: RuntimeExtension[];
7
+ }
8
+ export declare const resolveRuntimeExtensions: (
9
+ runtimeConfig: any,
10
+ extensions: RuntimeExtension[]
11
+ ) => any;
package/package.json ADDED
@@ -0,0 +1,103 @@
1
+ {
2
+ "name": "@aws-sdk/client-networkmonitor",
3
+ "description": "AWS SDK for JavaScript Networkmonitor Client for Node.js, Browser and React Native",
4
+ "version": "3.480.0",
5
+ "scripts": {
6
+ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
+ "build:cjs": "tsc -p tsconfig.cjs.json",
8
+ "build:es": "tsc -p tsconfig.es.json",
9
+ "build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
10
+ "build:types": "tsc -p tsconfig.types.json",
11
+ "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
12
+ "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
13
+ "extract:docs": "api-extractor run --local",
14
+ "generate:client": "node ../../scripts/generate-clients/single-service --solo networkmonitor"
15
+ },
16
+ "main": "./dist-cjs/index.js",
17
+ "types": "./dist-types/index.d.ts",
18
+ "module": "./dist-es/index.js",
19
+ "sideEffects": false,
20
+ "dependencies": {
21
+ "@aws-crypto/sha256-browser": "3.0.0",
22
+ "@aws-crypto/sha256-js": "3.0.0",
23
+ "@aws-sdk/client-sts": "3.478.0",
24
+ "@aws-sdk/core": "3.477.0",
25
+ "@aws-sdk/credential-provider-node": "3.478.0",
26
+ "@aws-sdk/middleware-host-header": "3.468.0",
27
+ "@aws-sdk/middleware-logger": "3.468.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.468.0",
29
+ "@aws-sdk/middleware-signing": "3.468.0",
30
+ "@aws-sdk/middleware-user-agent": "3.478.0",
31
+ "@aws-sdk/region-config-resolver": "3.470.0",
32
+ "@aws-sdk/types": "3.468.0",
33
+ "@aws-sdk/util-endpoints": "3.478.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.468.0",
35
+ "@aws-sdk/util-user-agent-node": "3.470.0",
36
+ "@smithy/config-resolver": "^2.0.21",
37
+ "@smithy/core": "^1.2.0",
38
+ "@smithy/fetch-http-handler": "^2.3.1",
39
+ "@smithy/hash-node": "^2.0.17",
40
+ "@smithy/invalid-dependency": "^2.0.15",
41
+ "@smithy/middleware-content-length": "^2.0.17",
42
+ "@smithy/middleware-endpoint": "^2.2.3",
43
+ "@smithy/middleware-retry": "^2.0.24",
44
+ "@smithy/middleware-serde": "^2.0.15",
45
+ "@smithy/middleware-stack": "^2.0.9",
46
+ "@smithy/node-config-provider": "^2.1.8",
47
+ "@smithy/node-http-handler": "^2.2.1",
48
+ "@smithy/protocol-http": "^3.0.11",
49
+ "@smithy/smithy-client": "^2.1.18",
50
+ "@smithy/types": "^2.7.0",
51
+ "@smithy/url-parser": "^2.0.15",
52
+ "@smithy/util-base64": "^2.0.1",
53
+ "@smithy/util-body-length-browser": "^2.0.1",
54
+ "@smithy/util-body-length-node": "^2.1.0",
55
+ "@smithy/util-defaults-mode-browser": "^2.0.22",
56
+ "@smithy/util-defaults-mode-node": "^2.0.29",
57
+ "@smithy/util-endpoints": "^1.0.7",
58
+ "@smithy/util-retry": "^2.0.8",
59
+ "@smithy/util-utf8": "^2.0.2",
60
+ "tslib": "^2.5.0",
61
+ "uuid": "^8.3.2"
62
+ },
63
+ "devDependencies": {
64
+ "@smithy/service-client-documentation-generator": "^2.0.0",
65
+ "@tsconfig/node14": "1.0.3",
66
+ "@types/node": "^14.14.31",
67
+ "@types/uuid": "^8.3.0",
68
+ "concurrently": "7.0.0",
69
+ "downlevel-dts": "0.10.1",
70
+ "rimraf": "3.0.2",
71
+ "typescript": "~4.9.5"
72
+ },
73
+ "engines": {
74
+ "node": ">=14.0.0"
75
+ },
76
+ "typesVersions": {
77
+ "<4.0": {
78
+ "dist-types/*": [
79
+ "dist-types/ts3.4/*"
80
+ ]
81
+ }
82
+ },
83
+ "files": [
84
+ "dist-*/**"
85
+ ],
86
+ "author": {
87
+ "name": "AWS SDK for JavaScript Team",
88
+ "url": "https://aws.amazon.com/javascript/"
89
+ },
90
+ "license": "Apache-2.0",
91
+ "browser": {
92
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
93
+ },
94
+ "react-native": {
95
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
96
+ },
97
+ "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-networkmonitor",
98
+ "repository": {
99
+ "type": "git",
100
+ "url": "https://github.com/aws/aws-sdk-js-v3.git",
101
+ "directory": "clients/client-networkmonitor"
102
+ }
103
+ }