@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.
- package/LICENSE +201 -0
- package/README.md +309 -0
- package/dist-cjs/NetworkMonitor.js +35 -0
- package/dist-cjs/NetworkMonitorClient.js +43 -0
- package/dist-cjs/commands/CreateMonitorCommand.js +51 -0
- package/dist-cjs/commands/CreateProbeCommand.js +51 -0
- package/dist-cjs/commands/DeleteMonitorCommand.js +51 -0
- package/dist-cjs/commands/DeleteProbeCommand.js +51 -0
- package/dist-cjs/commands/GetMonitorCommand.js +51 -0
- package/dist-cjs/commands/GetProbeCommand.js +51 -0
- package/dist-cjs/commands/ListMonitorsCommand.js +51 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +51 -0
- package/dist-cjs/commands/TagResourceCommand.js +51 -0
- package/dist-cjs/commands/UntagResourceCommand.js +51 -0
- package/dist-cjs/commands/UpdateMonitorCommand.js +51 -0
- package/dist-cjs/commands/UpdateProbeCommand.js +51 -0
- package/dist-cjs/commands/index.js +15 -0
- package/dist-cjs/endpoint/EndpointParameters.js +12 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +12 -0
- package/dist-cjs/models/NetworkMonitorServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +122 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListMonitorsPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +5 -0
- package/dist-cjs/protocols/Aws_restJson1.js +957 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +50 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +24 -0
- package/dist-cjs/runtimeExtensions.js +22 -0
- package/dist-es/NetworkMonitor.js +31 -0
- package/dist-es/NetworkMonitorClient.js +39 -0
- package/dist-es/commands/CreateMonitorCommand.js +47 -0
- package/dist-es/commands/CreateProbeCommand.js +47 -0
- package/dist-es/commands/DeleteMonitorCommand.js +47 -0
- package/dist-es/commands/DeleteProbeCommand.js +47 -0
- package/dist-es/commands/GetMonitorCommand.js +47 -0
- package/dist-es/commands/GetProbeCommand.js +47 -0
- package/dist-es/commands/ListMonitorsCommand.js +47 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +47 -0
- package/dist-es/commands/TagResourceCommand.js +47 -0
- package/dist-es/commands/UntagResourceCommand.js +47 -0
- package/dist-es/commands/UpdateMonitorCommand.js +47 -0
- package/dist-es/commands/UpdateProbeCommand.js +47 -0
- package/dist-es/commands/index.js +12 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +7 -0
- package/dist-es/models/NetworkMonitorServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +112 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListMonitorsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +930 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +45 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +20 -0
- package/dist-es/runtimeExtensions.js +18 -0
- package/dist-types/NetworkMonitor.d.ts +102 -0
- package/dist-types/NetworkMonitorClient.d.ts +189 -0
- package/dist-types/commands/CreateMonitorCommand.d.ts +114 -0
- package/dist-types/commands/CreateProbeCommand.d.ts +119 -0
- package/dist-types/commands/DeleteMonitorCommand.d.ts +86 -0
- package/dist-types/commands/DeleteProbeCommand.d.ts +90 -0
- package/dist-types/commands/GetMonitorCommand.d.ts +115 -0
- package/dist-types/commands/GetProbeCommand.d.ts +103 -0
- package/dist-types/commands/ListMonitorsCommand.d.ts +98 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +93 -0
- package/dist-types/commands/TagResourceCommand.d.ts +92 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +92 -0
- package/dist-types/commands/UpdateMonitorCommand.d.ts +98 -0
- package/dist-types/commands/UpdateProbeCommand.d.ts +111 -0
- package/dist-types/commands/index.d.ts +12 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +22 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +8 -0
- package/dist-types/index.d.ts +23 -0
- package/dist-types/models/NetworkMonitorServiceException.d.ts +13 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +902 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListMonitorsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +110 -0
- package/dist-types/runtimeConfig.browser.d.ts +46 -0
- package/dist-types/runtimeConfig.d.ts +46 -0
- package/dist-types/runtimeConfig.native.d.ts +45 -0
- package/dist-types/runtimeConfig.shared.d.ts +19 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/NetworkMonitor.d.ts +211 -0
- package/dist-types/ts3.4/NetworkMonitorClient.d.ts +191 -0
- package/dist-types/ts3.4/commands/CreateMonitorCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/CreateProbeCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DeleteMonitorCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DeleteProbeCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetMonitorCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetProbeCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListMonitorsCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UpdateMonitorCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UpdateProbeCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/index.d.ts +12 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +33 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +7 -0
- package/dist-types/ts3.4/index.d.ts +10 -0
- package/dist-types/ts3.4/models/NetworkMonitorServiceException.d.ts +8 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +254 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListMonitorsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +149 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +97 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +97 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +88 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +19 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/package.json +103 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PaginationConfiguration } from "@smithy/types";
|
|
2
|
+
import { NetworkMonitorClient } from "../NetworkMonitorClient";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export interface NetworkMonitorPaginationConfiguration extends PaginationConfiguration {
|
|
7
|
+
client: NetworkMonitorClient;
|
|
8
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListMonitorsCommandInput, ListMonitorsCommandOutput } from "../commands/ListMonitorsCommand";
|
|
3
|
+
import { NetworkMonitorPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateListMonitors: (config: NetworkMonitorPaginationConfiguration, input: ListMonitorsCommandInput, ...rest: any[]) => Paginator<ListMonitorsCommandOutput>;
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
|
|
2
|
+
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
3
|
+
import { CreateMonitorCommandInput, CreateMonitorCommandOutput } from "../commands/CreateMonitorCommand";
|
|
4
|
+
import { CreateProbeCommandInput, CreateProbeCommandOutput } from "../commands/CreateProbeCommand";
|
|
5
|
+
import { DeleteMonitorCommandInput, DeleteMonitorCommandOutput } from "../commands/DeleteMonitorCommand";
|
|
6
|
+
import { DeleteProbeCommandInput, DeleteProbeCommandOutput } from "../commands/DeleteProbeCommand";
|
|
7
|
+
import { GetMonitorCommandInput, GetMonitorCommandOutput } from "../commands/GetMonitorCommand";
|
|
8
|
+
import { GetProbeCommandInput, GetProbeCommandOutput } from "../commands/GetProbeCommand";
|
|
9
|
+
import { ListMonitorsCommandInput, ListMonitorsCommandOutput } from "../commands/ListMonitorsCommand";
|
|
10
|
+
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
|
|
11
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
|
|
12
|
+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
|
|
13
|
+
import { UpdateMonitorCommandInput, UpdateMonitorCommandOutput } from "../commands/UpdateMonitorCommand";
|
|
14
|
+
import { UpdateProbeCommandInput, UpdateProbeCommandOutput } from "../commands/UpdateProbeCommand";
|
|
15
|
+
/**
|
|
16
|
+
* serializeAws_restJson1CreateMonitorCommand
|
|
17
|
+
*/
|
|
18
|
+
export declare const se_CreateMonitorCommand: (input: CreateMonitorCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
19
|
+
/**
|
|
20
|
+
* serializeAws_restJson1CreateProbeCommand
|
|
21
|
+
*/
|
|
22
|
+
export declare const se_CreateProbeCommand: (input: CreateProbeCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
23
|
+
/**
|
|
24
|
+
* serializeAws_restJson1DeleteMonitorCommand
|
|
25
|
+
*/
|
|
26
|
+
export declare const se_DeleteMonitorCommand: (input: DeleteMonitorCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
27
|
+
/**
|
|
28
|
+
* serializeAws_restJson1DeleteProbeCommand
|
|
29
|
+
*/
|
|
30
|
+
export declare const se_DeleteProbeCommand: (input: DeleteProbeCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
31
|
+
/**
|
|
32
|
+
* serializeAws_restJson1GetMonitorCommand
|
|
33
|
+
*/
|
|
34
|
+
export declare const se_GetMonitorCommand: (input: GetMonitorCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
35
|
+
/**
|
|
36
|
+
* serializeAws_restJson1GetProbeCommand
|
|
37
|
+
*/
|
|
38
|
+
export declare const se_GetProbeCommand: (input: GetProbeCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
39
|
+
/**
|
|
40
|
+
* serializeAws_restJson1ListMonitorsCommand
|
|
41
|
+
*/
|
|
42
|
+
export declare const se_ListMonitorsCommand: (input: ListMonitorsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
43
|
+
/**
|
|
44
|
+
* serializeAws_restJson1ListTagsForResourceCommand
|
|
45
|
+
*/
|
|
46
|
+
export declare const se_ListTagsForResourceCommand: (input: ListTagsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
47
|
+
/**
|
|
48
|
+
* serializeAws_restJson1TagResourceCommand
|
|
49
|
+
*/
|
|
50
|
+
export declare const se_TagResourceCommand: (input: TagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
51
|
+
/**
|
|
52
|
+
* serializeAws_restJson1UntagResourceCommand
|
|
53
|
+
*/
|
|
54
|
+
export declare const se_UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
55
|
+
/**
|
|
56
|
+
* serializeAws_restJson1UpdateMonitorCommand
|
|
57
|
+
*/
|
|
58
|
+
export declare const se_UpdateMonitorCommand: (input: UpdateMonitorCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
59
|
+
/**
|
|
60
|
+
* serializeAws_restJson1UpdateProbeCommand
|
|
61
|
+
*/
|
|
62
|
+
export declare const se_UpdateProbeCommand: (input: UpdateProbeCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
63
|
+
/**
|
|
64
|
+
* deserializeAws_restJson1CreateMonitorCommand
|
|
65
|
+
*/
|
|
66
|
+
export declare const de_CreateMonitorCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateMonitorCommandOutput>;
|
|
67
|
+
/**
|
|
68
|
+
* deserializeAws_restJson1CreateProbeCommand
|
|
69
|
+
*/
|
|
70
|
+
export declare const de_CreateProbeCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateProbeCommandOutput>;
|
|
71
|
+
/**
|
|
72
|
+
* deserializeAws_restJson1DeleteMonitorCommand
|
|
73
|
+
*/
|
|
74
|
+
export declare const de_DeleteMonitorCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteMonitorCommandOutput>;
|
|
75
|
+
/**
|
|
76
|
+
* deserializeAws_restJson1DeleteProbeCommand
|
|
77
|
+
*/
|
|
78
|
+
export declare const de_DeleteProbeCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteProbeCommandOutput>;
|
|
79
|
+
/**
|
|
80
|
+
* deserializeAws_restJson1GetMonitorCommand
|
|
81
|
+
*/
|
|
82
|
+
export declare const de_GetMonitorCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetMonitorCommandOutput>;
|
|
83
|
+
/**
|
|
84
|
+
* deserializeAws_restJson1GetProbeCommand
|
|
85
|
+
*/
|
|
86
|
+
export declare const de_GetProbeCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetProbeCommandOutput>;
|
|
87
|
+
/**
|
|
88
|
+
* deserializeAws_restJson1ListMonitorsCommand
|
|
89
|
+
*/
|
|
90
|
+
export declare const de_ListMonitorsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListMonitorsCommandOutput>;
|
|
91
|
+
/**
|
|
92
|
+
* deserializeAws_restJson1ListTagsForResourceCommand
|
|
93
|
+
*/
|
|
94
|
+
export declare const de_ListTagsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsForResourceCommandOutput>;
|
|
95
|
+
/**
|
|
96
|
+
* deserializeAws_restJson1TagResourceCommand
|
|
97
|
+
*/
|
|
98
|
+
export declare const de_TagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagResourceCommandOutput>;
|
|
99
|
+
/**
|
|
100
|
+
* deserializeAws_restJson1UntagResourceCommand
|
|
101
|
+
*/
|
|
102
|
+
export declare const de_UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
|
|
103
|
+
/**
|
|
104
|
+
* deserializeAws_restJson1UpdateMonitorCommand
|
|
105
|
+
*/
|
|
106
|
+
export declare const de_UpdateMonitorCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateMonitorCommandOutput>;
|
|
107
|
+
/**
|
|
108
|
+
* deserializeAws_restJson1UpdateProbeCommand
|
|
109
|
+
*/
|
|
110
|
+
export declare const de_UpdateProbeCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateProbeCommandOutput>;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
|
|
2
|
+
import { NetworkMonitorClientConfig } from "./NetworkMonitorClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const getRuntimeConfig: (config: NetworkMonitorClientConfig) => {
|
|
7
|
+
runtime: string;
|
|
8
|
+
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
+
credentialDefaultProvider: (input: any) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
|
+
defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
|
|
12
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
|
+
region: string | import("@smithy/types").Provider<any>;
|
|
14
|
+
requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
|
|
15
|
+
updateHttpClientConfig(key: never, value: never): void;
|
|
16
|
+
httpHandlerConfigs(): {};
|
|
17
|
+
}) | RequestHandler;
|
|
18
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
19
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
20
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
21
|
+
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
22
|
+
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
23
|
+
apiVersion: string;
|
|
24
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
25
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
26
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
27
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
28
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
29
|
+
disableHostPrefix: boolean;
|
|
30
|
+
serviceId: string;
|
|
31
|
+
logger: import("@smithy/types").Logger;
|
|
32
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
33
|
+
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
34
|
+
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
35
|
+
logger?: import("@smithy/types").Logger | undefined;
|
|
36
|
+
}) => import("@smithy/types").EndpointV2;
|
|
37
|
+
tls?: boolean | undefined;
|
|
38
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
39
|
+
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").Provider<import("@smithy/types").AwsCredentialIdentity> | undefined;
|
|
40
|
+
signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
|
|
41
|
+
signingEscapePath?: boolean | undefined;
|
|
42
|
+
systemClockOffset?: number | undefined;
|
|
43
|
+
signingRegion?: string | undefined;
|
|
44
|
+
signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
|
|
45
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
46
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
|
|
2
|
+
import { NetworkMonitorClientConfig } from "./NetworkMonitorClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const getRuntimeConfig: (config: NetworkMonitorClientConfig) => {
|
|
7
|
+
runtime: string;
|
|
8
|
+
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
+
credentialDefaultProvider: (input: any) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
|
+
defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
|
|
12
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
|
+
region: string | import("@smithy/types").Provider<string>;
|
|
14
|
+
requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
|
|
15
|
+
updateHttpClientConfig(key: never, value: never): void;
|
|
16
|
+
httpHandlerConfigs(): {};
|
|
17
|
+
}) | RequestHandler;
|
|
18
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
19
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
20
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
21
|
+
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
22
|
+
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
23
|
+
apiVersion: string;
|
|
24
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
25
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
26
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
27
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
28
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
29
|
+
disableHostPrefix: boolean;
|
|
30
|
+
serviceId: string;
|
|
31
|
+
logger: import("@smithy/types").Logger;
|
|
32
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
33
|
+
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
34
|
+
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
35
|
+
logger?: import("@smithy/types").Logger | undefined;
|
|
36
|
+
}) => import("@smithy/types").EndpointV2;
|
|
37
|
+
tls?: boolean | undefined;
|
|
38
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
39
|
+
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").Provider<import("@smithy/types").AwsCredentialIdentity> | undefined;
|
|
40
|
+
signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
|
|
41
|
+
signingEscapePath?: boolean | undefined;
|
|
42
|
+
systemClockOffset?: number | undefined;
|
|
43
|
+
signingRegion?: string | undefined;
|
|
44
|
+
signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
|
|
45
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
46
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { NetworkMonitorClientConfig } from "./NetworkMonitorClient";
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
*/
|
|
5
|
+
export declare const getRuntimeConfig: (config: NetworkMonitorClientConfig) => {
|
|
6
|
+
runtime: string;
|
|
7
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
8
|
+
requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
|
|
9
|
+
updateHttpClientConfig(key: never, value: never): void;
|
|
10
|
+
httpHandlerConfigs(): {};
|
|
11
|
+
}) | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
12
|
+
apiVersion: string;
|
|
13
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
14
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
15
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
16
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
17
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
18
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
19
|
+
utf8Encoder: import("@smithy/types").Encoder;
|
|
20
|
+
disableHostPrefix: boolean;
|
|
21
|
+
serviceId: string;
|
|
22
|
+
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
23
|
+
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
24
|
+
region: string | import("@smithy/types").Provider<any>;
|
|
25
|
+
credentialDefaultProvider: (input: any) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
|
+
defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
|
|
27
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
28
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
29
|
+
logger: import("@smithy/types").Logger;
|
|
30
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
31
|
+
defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
|
|
32
|
+
endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
|
|
33
|
+
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
34
|
+
logger?: import("@smithy/types").Logger | undefined;
|
|
35
|
+
}) => import("@smithy/types").EndpointV2;
|
|
36
|
+
tls?: boolean | undefined;
|
|
37
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
38
|
+
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").Provider<import("@smithy/types").AwsCredentialIdentity> | undefined;
|
|
39
|
+
signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
|
|
40
|
+
signingEscapePath?: boolean | undefined;
|
|
41
|
+
systemClockOffset?: number | undefined;
|
|
42
|
+
signingRegion?: string | undefined;
|
|
43
|
+
signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
|
|
44
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
45
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { NetworkMonitorClientConfig } from "./NetworkMonitorClient";
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
*/
|
|
5
|
+
export declare const getRuntimeConfig: (config: NetworkMonitorClientConfig) => {
|
|
6
|
+
apiVersion: string;
|
|
7
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
8
|
+
base64Encoder: import("@smithy/types").Encoder;
|
|
9
|
+
disableHostPrefix: boolean;
|
|
10
|
+
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
11
|
+
logger?: import("@smithy/types").Logger | undefined;
|
|
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,17 @@
|
|
|
1
|
+
import { NetworkMonitorExtensionConfiguration } from "./extensionConfiguration";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export interface RuntimeExtension {
|
|
6
|
+
configure(extensionConfiguration: NetworkMonitorExtensionConfiguration): void;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
export interface RuntimeExtensionsConfig {
|
|
12
|
+
extensions: RuntimeExtension[];
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @internal
|
|
16
|
+
*/
|
|
17
|
+
export declare const resolveRuntimeExtensions: (runtimeConfig: any, extensions: RuntimeExtension[]) => any;
|
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
CreateMonitorCommandInput,
|
|
4
|
+
CreateMonitorCommandOutput,
|
|
5
|
+
} from "./commands/CreateMonitorCommand";
|
|
6
|
+
import {
|
|
7
|
+
CreateProbeCommandInput,
|
|
8
|
+
CreateProbeCommandOutput,
|
|
9
|
+
} from "./commands/CreateProbeCommand";
|
|
10
|
+
import {
|
|
11
|
+
DeleteMonitorCommandInput,
|
|
12
|
+
DeleteMonitorCommandOutput,
|
|
13
|
+
} from "./commands/DeleteMonitorCommand";
|
|
14
|
+
import {
|
|
15
|
+
DeleteProbeCommandInput,
|
|
16
|
+
DeleteProbeCommandOutput,
|
|
17
|
+
} from "./commands/DeleteProbeCommand";
|
|
18
|
+
import {
|
|
19
|
+
GetMonitorCommandInput,
|
|
20
|
+
GetMonitorCommandOutput,
|
|
21
|
+
} from "./commands/GetMonitorCommand";
|
|
22
|
+
import {
|
|
23
|
+
GetProbeCommandInput,
|
|
24
|
+
GetProbeCommandOutput,
|
|
25
|
+
} from "./commands/GetProbeCommand";
|
|
26
|
+
import {
|
|
27
|
+
ListMonitorsCommandInput,
|
|
28
|
+
ListMonitorsCommandOutput,
|
|
29
|
+
} from "./commands/ListMonitorsCommand";
|
|
30
|
+
import {
|
|
31
|
+
ListTagsForResourceCommandInput,
|
|
32
|
+
ListTagsForResourceCommandOutput,
|
|
33
|
+
} from "./commands/ListTagsForResourceCommand";
|
|
34
|
+
import {
|
|
35
|
+
TagResourceCommandInput,
|
|
36
|
+
TagResourceCommandOutput,
|
|
37
|
+
} from "./commands/TagResourceCommand";
|
|
38
|
+
import {
|
|
39
|
+
UntagResourceCommandInput,
|
|
40
|
+
UntagResourceCommandOutput,
|
|
41
|
+
} from "./commands/UntagResourceCommand";
|
|
42
|
+
import {
|
|
43
|
+
UpdateMonitorCommandInput,
|
|
44
|
+
UpdateMonitorCommandOutput,
|
|
45
|
+
} from "./commands/UpdateMonitorCommand";
|
|
46
|
+
import {
|
|
47
|
+
UpdateProbeCommandInput,
|
|
48
|
+
UpdateProbeCommandOutput,
|
|
49
|
+
} from "./commands/UpdateProbeCommand";
|
|
50
|
+
import { NetworkMonitorClient } from "./NetworkMonitorClient";
|
|
51
|
+
export interface NetworkMonitor {
|
|
52
|
+
createMonitor(
|
|
53
|
+
args: CreateMonitorCommandInput,
|
|
54
|
+
options?: __HttpHandlerOptions
|
|
55
|
+
): Promise<CreateMonitorCommandOutput>;
|
|
56
|
+
createMonitor(
|
|
57
|
+
args: CreateMonitorCommandInput,
|
|
58
|
+
cb: (err: any, data?: CreateMonitorCommandOutput) => void
|
|
59
|
+
): void;
|
|
60
|
+
createMonitor(
|
|
61
|
+
args: CreateMonitorCommandInput,
|
|
62
|
+
options: __HttpHandlerOptions,
|
|
63
|
+
cb: (err: any, data?: CreateMonitorCommandOutput) => void
|
|
64
|
+
): void;
|
|
65
|
+
createProbe(
|
|
66
|
+
args: CreateProbeCommandInput,
|
|
67
|
+
options?: __HttpHandlerOptions
|
|
68
|
+
): Promise<CreateProbeCommandOutput>;
|
|
69
|
+
createProbe(
|
|
70
|
+
args: CreateProbeCommandInput,
|
|
71
|
+
cb: (err: any, data?: CreateProbeCommandOutput) => void
|
|
72
|
+
): void;
|
|
73
|
+
createProbe(
|
|
74
|
+
args: CreateProbeCommandInput,
|
|
75
|
+
options: __HttpHandlerOptions,
|
|
76
|
+
cb: (err: any, data?: CreateProbeCommandOutput) => void
|
|
77
|
+
): void;
|
|
78
|
+
deleteMonitor(
|
|
79
|
+
args: DeleteMonitorCommandInput,
|
|
80
|
+
options?: __HttpHandlerOptions
|
|
81
|
+
): Promise<DeleteMonitorCommandOutput>;
|
|
82
|
+
deleteMonitor(
|
|
83
|
+
args: DeleteMonitorCommandInput,
|
|
84
|
+
cb: (err: any, data?: DeleteMonitorCommandOutput) => void
|
|
85
|
+
): void;
|
|
86
|
+
deleteMonitor(
|
|
87
|
+
args: DeleteMonitorCommandInput,
|
|
88
|
+
options: __HttpHandlerOptions,
|
|
89
|
+
cb: (err: any, data?: DeleteMonitorCommandOutput) => void
|
|
90
|
+
): void;
|
|
91
|
+
deleteProbe(
|
|
92
|
+
args: DeleteProbeCommandInput,
|
|
93
|
+
options?: __HttpHandlerOptions
|
|
94
|
+
): Promise<DeleteProbeCommandOutput>;
|
|
95
|
+
deleteProbe(
|
|
96
|
+
args: DeleteProbeCommandInput,
|
|
97
|
+
cb: (err: any, data?: DeleteProbeCommandOutput) => void
|
|
98
|
+
): void;
|
|
99
|
+
deleteProbe(
|
|
100
|
+
args: DeleteProbeCommandInput,
|
|
101
|
+
options: __HttpHandlerOptions,
|
|
102
|
+
cb: (err: any, data?: DeleteProbeCommandOutput) => void
|
|
103
|
+
): void;
|
|
104
|
+
getMonitor(
|
|
105
|
+
args: GetMonitorCommandInput,
|
|
106
|
+
options?: __HttpHandlerOptions
|
|
107
|
+
): Promise<GetMonitorCommandOutput>;
|
|
108
|
+
getMonitor(
|
|
109
|
+
args: GetMonitorCommandInput,
|
|
110
|
+
cb: (err: any, data?: GetMonitorCommandOutput) => void
|
|
111
|
+
): void;
|
|
112
|
+
getMonitor(
|
|
113
|
+
args: GetMonitorCommandInput,
|
|
114
|
+
options: __HttpHandlerOptions,
|
|
115
|
+
cb: (err: any, data?: GetMonitorCommandOutput) => void
|
|
116
|
+
): void;
|
|
117
|
+
getProbe(
|
|
118
|
+
args: GetProbeCommandInput,
|
|
119
|
+
options?: __HttpHandlerOptions
|
|
120
|
+
): Promise<GetProbeCommandOutput>;
|
|
121
|
+
getProbe(
|
|
122
|
+
args: GetProbeCommandInput,
|
|
123
|
+
cb: (err: any, data?: GetProbeCommandOutput) => void
|
|
124
|
+
): void;
|
|
125
|
+
getProbe(
|
|
126
|
+
args: GetProbeCommandInput,
|
|
127
|
+
options: __HttpHandlerOptions,
|
|
128
|
+
cb: (err: any, data?: GetProbeCommandOutput) => void
|
|
129
|
+
): void;
|
|
130
|
+
listMonitors(
|
|
131
|
+
args: ListMonitorsCommandInput,
|
|
132
|
+
options?: __HttpHandlerOptions
|
|
133
|
+
): Promise<ListMonitorsCommandOutput>;
|
|
134
|
+
listMonitors(
|
|
135
|
+
args: ListMonitorsCommandInput,
|
|
136
|
+
cb: (err: any, data?: ListMonitorsCommandOutput) => void
|
|
137
|
+
): void;
|
|
138
|
+
listMonitors(
|
|
139
|
+
args: ListMonitorsCommandInput,
|
|
140
|
+
options: __HttpHandlerOptions,
|
|
141
|
+
cb: (err: any, data?: ListMonitorsCommandOutput) => void
|
|
142
|
+
): void;
|
|
143
|
+
listTagsForResource(
|
|
144
|
+
args: ListTagsForResourceCommandInput,
|
|
145
|
+
options?: __HttpHandlerOptions
|
|
146
|
+
): Promise<ListTagsForResourceCommandOutput>;
|
|
147
|
+
listTagsForResource(
|
|
148
|
+
args: ListTagsForResourceCommandInput,
|
|
149
|
+
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
150
|
+
): void;
|
|
151
|
+
listTagsForResource(
|
|
152
|
+
args: ListTagsForResourceCommandInput,
|
|
153
|
+
options: __HttpHandlerOptions,
|
|
154
|
+
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
155
|
+
): void;
|
|
156
|
+
tagResource(
|
|
157
|
+
args: TagResourceCommandInput,
|
|
158
|
+
options?: __HttpHandlerOptions
|
|
159
|
+
): Promise<TagResourceCommandOutput>;
|
|
160
|
+
tagResource(
|
|
161
|
+
args: TagResourceCommandInput,
|
|
162
|
+
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
163
|
+
): void;
|
|
164
|
+
tagResource(
|
|
165
|
+
args: TagResourceCommandInput,
|
|
166
|
+
options: __HttpHandlerOptions,
|
|
167
|
+
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
168
|
+
): void;
|
|
169
|
+
untagResource(
|
|
170
|
+
args: UntagResourceCommandInput,
|
|
171
|
+
options?: __HttpHandlerOptions
|
|
172
|
+
): Promise<UntagResourceCommandOutput>;
|
|
173
|
+
untagResource(
|
|
174
|
+
args: UntagResourceCommandInput,
|
|
175
|
+
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
176
|
+
): void;
|
|
177
|
+
untagResource(
|
|
178
|
+
args: UntagResourceCommandInput,
|
|
179
|
+
options: __HttpHandlerOptions,
|
|
180
|
+
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
181
|
+
): void;
|
|
182
|
+
updateMonitor(
|
|
183
|
+
args: UpdateMonitorCommandInput,
|
|
184
|
+
options?: __HttpHandlerOptions
|
|
185
|
+
): Promise<UpdateMonitorCommandOutput>;
|
|
186
|
+
updateMonitor(
|
|
187
|
+
args: UpdateMonitorCommandInput,
|
|
188
|
+
cb: (err: any, data?: UpdateMonitorCommandOutput) => void
|
|
189
|
+
): void;
|
|
190
|
+
updateMonitor(
|
|
191
|
+
args: UpdateMonitorCommandInput,
|
|
192
|
+
options: __HttpHandlerOptions,
|
|
193
|
+
cb: (err: any, data?: UpdateMonitorCommandOutput) => void
|
|
194
|
+
): void;
|
|
195
|
+
updateProbe(
|
|
196
|
+
args: UpdateProbeCommandInput,
|
|
197
|
+
options?: __HttpHandlerOptions
|
|
198
|
+
): Promise<UpdateProbeCommandOutput>;
|
|
199
|
+
updateProbe(
|
|
200
|
+
args: UpdateProbeCommandInput,
|
|
201
|
+
cb: (err: any, data?: UpdateProbeCommandOutput) => void
|
|
202
|
+
): void;
|
|
203
|
+
updateProbe(
|
|
204
|
+
args: UpdateProbeCommandInput,
|
|
205
|
+
options: __HttpHandlerOptions,
|
|
206
|
+
cb: (err: any, data?: UpdateProbeCommandOutput) => void
|
|
207
|
+
): void;
|
|
208
|
+
}
|
|
209
|
+
export declare class NetworkMonitor
|
|
210
|
+
extends NetworkMonitorClient
|
|
211
|
+
implements NetworkMonitor {}
|