@aws-sdk/client-networkflowmonitor 3.703.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 +417 -0
- package/dist-cjs/NetworkFlowMonitor.js +61 -0
- package/dist-cjs/NetworkFlowMonitorClient.js +50 -0
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/commands/CreateMonitorCommand.js +26 -0
- package/dist-cjs/commands/CreateScopeCommand.js +26 -0
- package/dist-cjs/commands/DeleteMonitorCommand.js +26 -0
- package/dist-cjs/commands/DeleteScopeCommand.js +26 -0
- package/dist-cjs/commands/GetMonitorCommand.js +26 -0
- package/dist-cjs/commands/GetQueryResultsMonitorTopContributorsCommand.js +26 -0
- package/dist-cjs/commands/GetQueryResultsWorkloadInsightsTopContributorsCommand.js +26 -0
- package/dist-cjs/commands/GetQueryResultsWorkloadInsightsTopContributorsDataCommand.js +26 -0
- package/dist-cjs/commands/GetQueryStatusMonitorTopContributorsCommand.js +26 -0
- package/dist-cjs/commands/GetQueryStatusWorkloadInsightsTopContributorsCommand.js +26 -0
- package/dist-cjs/commands/GetQueryStatusWorkloadInsightsTopContributorsDataCommand.js +26 -0
- package/dist-cjs/commands/GetScopeCommand.js +26 -0
- package/dist-cjs/commands/ListMonitorsCommand.js +26 -0
- package/dist-cjs/commands/ListScopesCommand.js +26 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +26 -0
- package/dist-cjs/commands/StartQueryMonitorTopContributorsCommand.js +26 -0
- package/dist-cjs/commands/StartQueryWorkloadInsightsTopContributorsCommand.js +26 -0
- package/dist-cjs/commands/StartQueryWorkloadInsightsTopContributorsDataCommand.js +26 -0
- package/dist-cjs/commands/StopQueryMonitorTopContributorsCommand.js +26 -0
- package/dist-cjs/commands/StopQueryWorkloadInsightsTopContributorsCommand.js +26 -0
- package/dist-cjs/commands/StopQueryWorkloadInsightsTopContributorsDataCommand.js +26 -0
- package/dist-cjs/commands/TagResourceCommand.js +26 -0
- package/dist-cjs/commands/UntagResourceCommand.js +26 -0
- package/dist-cjs/commands/UpdateMonitorCommand.js +26 -0
- package/dist-cjs/commands/UpdateScopeCommand.js +26 -0
- package/dist-cjs/commands/index.js +28 -0
- package/dist-cjs/endpoint/EndpointParameters.js +16 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/NetworkFlowMonitorServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +188 -0
- package/dist-cjs/pagination/GetQueryResultsMonitorTopContributorsPaginator.js +7 -0
- package/dist-cjs/pagination/GetQueryResultsWorkloadInsightsTopContributorsDataPaginator.js +7 -0
- package/dist-cjs/pagination/GetQueryResultsWorkloadInsightsTopContributorsPaginator.js +7 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListMonitorsPaginator.js +7 -0
- package/dist-cjs/pagination/ListScopesPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +9 -0
- package/dist-cjs/protocols/Aws_restJson1.js +907 -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 +34 -0
- package/dist-cjs/runtimeExtensions.js +25 -0
- package/dist-es/NetworkFlowMonitor.js +57 -0
- package/dist-es/NetworkFlowMonitorClient.js +46 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/commands/CreateMonitorCommand.js +22 -0
- package/dist-es/commands/CreateScopeCommand.js +22 -0
- package/dist-es/commands/DeleteMonitorCommand.js +22 -0
- package/dist-es/commands/DeleteScopeCommand.js +22 -0
- package/dist-es/commands/GetMonitorCommand.js +22 -0
- package/dist-es/commands/GetQueryResultsMonitorTopContributorsCommand.js +22 -0
- package/dist-es/commands/GetQueryResultsWorkloadInsightsTopContributorsCommand.js +22 -0
- package/dist-es/commands/GetQueryResultsWorkloadInsightsTopContributorsDataCommand.js +22 -0
- package/dist-es/commands/GetQueryStatusMonitorTopContributorsCommand.js +22 -0
- package/dist-es/commands/GetQueryStatusWorkloadInsightsTopContributorsCommand.js +22 -0
- package/dist-es/commands/GetQueryStatusWorkloadInsightsTopContributorsDataCommand.js +22 -0
- package/dist-es/commands/GetScopeCommand.js +22 -0
- package/dist-es/commands/ListMonitorsCommand.js +22 -0
- package/dist-es/commands/ListScopesCommand.js +22 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +22 -0
- package/dist-es/commands/StartQueryMonitorTopContributorsCommand.js +22 -0
- package/dist-es/commands/StartQueryWorkloadInsightsTopContributorsCommand.js +22 -0
- package/dist-es/commands/StartQueryWorkloadInsightsTopContributorsDataCommand.js +22 -0
- package/dist-es/commands/StopQueryMonitorTopContributorsCommand.js +22 -0
- package/dist-es/commands/StopQueryWorkloadInsightsTopContributorsCommand.js +22 -0
- package/dist-es/commands/StopQueryWorkloadInsightsTopContributorsDataCommand.js +22 -0
- package/dist-es/commands/TagResourceCommand.js +22 -0
- package/dist-es/commands/UntagResourceCommand.js +22 -0
- package/dist-es/commands/UpdateMonitorCommand.js +22 -0
- package/dist-es/commands/UpdateScopeCommand.js +22 -0
- package/dist-es/commands/index.js +25 -0
- package/dist-es/endpoint/EndpointParameters.js +12 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/NetworkFlowMonitorServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +178 -0
- package/dist-es/pagination/GetQueryResultsMonitorTopContributorsPaginator.js +4 -0
- package/dist-es/pagination/GetQueryResultsWorkloadInsightsTopContributorsDataPaginator.js +4 -0
- package/dist-es/pagination/GetQueryResultsWorkloadInsightsTopContributorsPaginator.js +4 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListMonitorsPaginator.js +4 -0
- package/dist-es/pagination/ListScopesPaginator.js +4 -0
- package/dist-es/pagination/index.js +6 -0
- package/dist-es/protocols/Aws_restJson1.js +854 -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 +30 -0
- package/dist-es/runtimeExtensions.js +21 -0
- package/dist-types/NetworkFlowMonitor.d.ts +199 -0
- package/dist-types/NetworkFlowMonitorClient.d.ts +206 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
- package/dist-types/commands/CreateMonitorCommand.d.ts +129 -0
- package/dist-types/commands/CreateScopeCommand.d.ts +112 -0
- package/dist-types/commands/DeleteMonitorCommand.d.ts +84 -0
- package/dist-types/commands/DeleteScopeCommand.d.ts +84 -0
- package/dist-types/commands/GetMonitorCommand.d.ts +106 -0
- package/dist-types/commands/GetQueryResultsMonitorTopContributorsCommand.d.ts +143 -0
- package/dist-types/commands/GetQueryResultsWorkloadInsightsTopContributorsCommand.d.ts +112 -0
- package/dist-types/commands/GetQueryResultsWorkloadInsightsTopContributorsDataCommand.d.ts +115 -0
- package/dist-types/commands/GetQueryStatusMonitorTopContributorsCommand.d.ts +93 -0
- package/dist-types/commands/GetQueryStatusWorkloadInsightsTopContributorsCommand.d.ts +94 -0
- package/dist-types/commands/GetQueryStatusWorkloadInsightsTopContributorsDataCommand.d.ts +95 -0
- package/dist-types/commands/GetScopeCommand.d.ts +103 -0
- package/dist-types/commands/ListMonitorsCommand.d.ts +93 -0
- package/dist-types/commands/ListScopesCommand.d.ts +94 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +91 -0
- package/dist-types/commands/StartQueryMonitorTopContributorsCommand.d.ts +95 -0
- package/dist-types/commands/StartQueryWorkloadInsightsTopContributorsCommand.d.ts +95 -0
- package/dist-types/commands/StartQueryWorkloadInsightsTopContributorsDataCommand.d.ts +100 -0
- package/dist-types/commands/StopQueryMonitorTopContributorsCommand.d.ts +89 -0
- package/dist-types/commands/StopQueryWorkloadInsightsTopContributorsCommand.d.ts +89 -0
- package/dist-types/commands/StopQueryWorkloadInsightsTopContributorsDataCommand.d.ts +93 -0
- package/dist-types/commands/TagResourceCommand.d.ts +90 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +90 -0
- package/dist-types/commands/UpdateMonitorCommand.d.ts +130 -0
- package/dist-types/commands/UpdateScopeCommand.d.ts +114 -0
- package/dist-types/commands/index.d.ts +25 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +34 -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 +9 -0
- package/dist-types/index.d.ts +26 -0
- package/dist-types/models/NetworkFlowMonitorServiceException.d.ts +14 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1904 -0
- package/dist-types/pagination/GetQueryResultsMonitorTopContributorsPaginator.d.ts +7 -0
- package/dist-types/pagination/GetQueryResultsWorkloadInsightsTopContributorsDataPaginator.d.ts +7 -0
- package/dist-types/pagination/GetQueryResultsWorkloadInsightsTopContributorsPaginator.d.ts +7 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListMonitorsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListScopesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +6 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +227 -0
- package/dist-types/runtimeConfig.browser.d.ts +48 -0
- package/dist-types/runtimeConfig.d.ts +48 -0
- package/dist-types/runtimeConfig.native.d.ts +47 -0
- package/dist-types/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/NetworkFlowMonitor.d.ts +494 -0
- package/dist-types/ts3.4/NetworkFlowMonitorClient.d.ts +271 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
- package/dist-types/ts3.4/commands/CreateMonitorCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/CreateScopeCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteMonitorCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteScopeCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetMonitorCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetQueryResultsMonitorTopContributorsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetQueryResultsWorkloadInsightsTopContributorsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetQueryResultsWorkloadInsightsTopContributorsDataCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetQueryStatusMonitorTopContributorsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetQueryStatusWorkloadInsightsTopContributorsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetQueryStatusWorkloadInsightsTopContributorsDataCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetScopeCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListMonitorsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListScopesCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StartQueryMonitorTopContributorsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StartQueryWorkloadInsightsTopContributorsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StartQueryWorkloadInsightsTopContributorsDataCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StopQueryMonitorTopContributorsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StopQueryWorkloadInsightsTopContributorsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StopQueryWorkloadInsightsTopContributorsDataCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdateMonitorCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdateScopeCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/index.d.ts +25 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -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 +9 -0
- package/dist-types/ts3.4/index.d.ts +9 -0
- package/dist-types/ts3.4/models/NetworkFlowMonitorServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +469 -0
- package/dist-types/ts3.4/pagination/GetQueryResultsMonitorTopContributorsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/GetQueryResultsWorkloadInsightsTopContributorsDataPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/GetQueryResultsWorkloadInsightsTopContributorsPaginator.d.ts +11 -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/ListScopesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +6 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +305 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +95 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +96 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +89 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +23 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
- package/package.json +103 -0
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
|
|
2
|
+
import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider } from "@smithy/types";
|
|
3
|
+
import { NetworkFlowMonitorClientResolvedConfig } from "../NetworkFlowMonitorClient";
|
|
4
|
+
/**
|
|
5
|
+
* @internal
|
|
6
|
+
*/
|
|
7
|
+
export interface NetworkFlowMonitorHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
8
|
+
region?: string;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
export interface NetworkFlowMonitorHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<NetworkFlowMonitorClientResolvedConfig, HandlerExecutionContext, NetworkFlowMonitorHttpAuthSchemeParameters, object> {
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const defaultNetworkFlowMonitorHttpAuthSchemeParametersProvider: (config: NetworkFlowMonitorClientResolvedConfig, context: HandlerExecutionContext, input: object) => Promise<NetworkFlowMonitorHttpAuthSchemeParameters>;
|
|
19
|
+
/**
|
|
20
|
+
* @internal
|
|
21
|
+
*/
|
|
22
|
+
export interface NetworkFlowMonitorHttpAuthSchemeProvider extends HttpAuthSchemeProvider<NetworkFlowMonitorHttpAuthSchemeParameters> {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @internal
|
|
26
|
+
*/
|
|
27
|
+
export declare const defaultNetworkFlowMonitorHttpAuthSchemeProvider: NetworkFlowMonitorHttpAuthSchemeProvider;
|
|
28
|
+
/**
|
|
29
|
+
* @internal
|
|
30
|
+
*/
|
|
31
|
+
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
32
|
+
/**
|
|
33
|
+
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
34
|
+
* @internal
|
|
35
|
+
*/
|
|
36
|
+
httpAuthSchemes?: HttpAuthScheme[];
|
|
37
|
+
/**
|
|
38
|
+
* Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
39
|
+
* @internal
|
|
40
|
+
*/
|
|
41
|
+
httpAuthSchemeProvider?: NetworkFlowMonitorHttpAuthSchemeProvider;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @internal
|
|
45
|
+
*/
|
|
46
|
+
export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
|
|
47
|
+
/**
|
|
48
|
+
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
49
|
+
* @internal
|
|
50
|
+
*/
|
|
51
|
+
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
52
|
+
/**
|
|
53
|
+
* Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
54
|
+
* @internal
|
|
55
|
+
*/
|
|
56
|
+
readonly httpAuthSchemeProvider: NetworkFlowMonitorHttpAuthSchemeProvider;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* @internal
|
|
60
|
+
*/
|
|
61
|
+
export declare const resolveHttpAuthSchemeConfig: <T>(config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved) => T & HttpAuthSchemeResolvedConfig;
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { CreateMonitorInput, CreateMonitorOutput } from "../models/models_0";
|
|
4
|
+
import { NetworkFlowMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkFlowMonitorClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateMonitorCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateMonitorCommandInput extends CreateMonitorInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateMonitorCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateMonitorCommandOutput extends CreateMonitorOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateMonitorCommand_base: {
|
|
25
|
+
new (input: CreateMonitorCommandInput): import("@smithy/smithy-client").CommandImpl<CreateMonitorCommandInput, CreateMonitorCommandOutput, NetworkFlowMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: CreateMonitorCommandInput): import("@smithy/smithy-client").CommandImpl<CreateMonitorCommandInput, CreateMonitorCommandOutput, NetworkFlowMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Create a monitor for specific network flows between local and remote resources, so that you can monitor
|
|
31
|
+
* network performance for one or several of your workloads. For each monitor, Network Flow Monitor publishes detailed
|
|
32
|
+
* end-to-end performance metrics and a network health indicators (NHI) that informs you whether there were
|
|
33
|
+
* Amazon Web Services network issues for one or more of the network flows tracked by a monitor, during a time period that you choose.
|
|
34
|
+
* </p>
|
|
35
|
+
* @example
|
|
36
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
37
|
+
* ```javascript
|
|
38
|
+
* import { NetworkFlowMonitorClient, CreateMonitorCommand } from "@aws-sdk/client-networkflowmonitor"; // ES Modules import
|
|
39
|
+
* // const { NetworkFlowMonitorClient, CreateMonitorCommand } = require("@aws-sdk/client-networkflowmonitor"); // CommonJS import
|
|
40
|
+
* const client = new NetworkFlowMonitorClient(config);
|
|
41
|
+
* const input = { // CreateMonitorInput
|
|
42
|
+
* monitorName: "STRING_VALUE", // required
|
|
43
|
+
* localResources: [ // MonitorLocalResources // required
|
|
44
|
+
* { // MonitorLocalResource
|
|
45
|
+
* type: "AWS::EC2::VPC" || "AWS::AvailabilityZone" || "AWS::EC2::Subnet", // required
|
|
46
|
+
* identifier: "STRING_VALUE", // required
|
|
47
|
+
* },
|
|
48
|
+
* ],
|
|
49
|
+
* remoteResources: [ // MonitorRemoteResources
|
|
50
|
+
* { // MonitorRemoteResource
|
|
51
|
+
* type: "AWS::EC2::VPC" || "AWS::AvailabilityZone" || "AWS::EC2::Subnet" || "AWS::AWSService", // required
|
|
52
|
+
* identifier: "STRING_VALUE", // required
|
|
53
|
+
* },
|
|
54
|
+
* ],
|
|
55
|
+
* scopeArn: "STRING_VALUE", // required
|
|
56
|
+
* clientToken: "STRING_VALUE",
|
|
57
|
+
* tags: { // TagMap
|
|
58
|
+
* "<keys>": "STRING_VALUE",
|
|
59
|
+
* },
|
|
60
|
+
* };
|
|
61
|
+
* const command = new CreateMonitorCommand(input);
|
|
62
|
+
* const response = await client.send(command);
|
|
63
|
+
* // { // CreateMonitorOutput
|
|
64
|
+
* // monitorArn: "STRING_VALUE", // required
|
|
65
|
+
* // monitorName: "STRING_VALUE", // required
|
|
66
|
+
* // monitorStatus: "PENDING" || "ACTIVE" || "INACTIVE" || "ERROR" || "DELETING", // required
|
|
67
|
+
* // localResources: [ // MonitorLocalResources // required
|
|
68
|
+
* // { // MonitorLocalResource
|
|
69
|
+
* // type: "AWS::EC2::VPC" || "AWS::AvailabilityZone" || "AWS::EC2::Subnet", // required
|
|
70
|
+
* // identifier: "STRING_VALUE", // required
|
|
71
|
+
* // },
|
|
72
|
+
* // ],
|
|
73
|
+
* // remoteResources: [ // MonitorRemoteResources // required
|
|
74
|
+
* // { // MonitorRemoteResource
|
|
75
|
+
* // type: "AWS::EC2::VPC" || "AWS::AvailabilityZone" || "AWS::EC2::Subnet" || "AWS::AWSService", // required
|
|
76
|
+
* // identifier: "STRING_VALUE", // required
|
|
77
|
+
* // },
|
|
78
|
+
* // ],
|
|
79
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
80
|
+
* // modifiedAt: new Date("TIMESTAMP"), // required
|
|
81
|
+
* // tags: { // TagMap
|
|
82
|
+
* // "<keys>": "STRING_VALUE",
|
|
83
|
+
* // },
|
|
84
|
+
* // };
|
|
85
|
+
*
|
|
86
|
+
* ```
|
|
87
|
+
*
|
|
88
|
+
* @param CreateMonitorCommandInput - {@link CreateMonitorCommandInput}
|
|
89
|
+
* @returns {@link CreateMonitorCommandOutput}
|
|
90
|
+
* @see {@link CreateMonitorCommandInput} for command's `input` shape.
|
|
91
|
+
* @see {@link CreateMonitorCommandOutput} for command's `response` shape.
|
|
92
|
+
* @see {@link NetworkFlowMonitorClientResolvedConfig | config} for NetworkFlowMonitorClient's `config` shape.
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
95
|
+
* <p>You don't have sufficient permission to perform this action.</p>
|
|
96
|
+
*
|
|
97
|
+
* @throws {@link ConflictException} (client fault)
|
|
98
|
+
* <p>The requested resource is in use.</p>
|
|
99
|
+
*
|
|
100
|
+
* @throws {@link InternalServerException} (server fault)
|
|
101
|
+
* <p>An internal error occurred.</p>
|
|
102
|
+
*
|
|
103
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
104
|
+
* <p>The request exceeded a service quota.</p>
|
|
105
|
+
*
|
|
106
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
107
|
+
* <p>The request was denied due to request throttling.</p>
|
|
108
|
+
*
|
|
109
|
+
* @throws {@link ValidationException} (client fault)
|
|
110
|
+
* <p>Invalid request.</p>
|
|
111
|
+
*
|
|
112
|
+
* @throws {@link NetworkFlowMonitorServiceException}
|
|
113
|
+
* <p>Base exception class for all service exceptions from NetworkFlowMonitor service.</p>
|
|
114
|
+
*
|
|
115
|
+
* @public
|
|
116
|
+
*/
|
|
117
|
+
export declare class CreateMonitorCommand extends CreateMonitorCommand_base {
|
|
118
|
+
/** @internal type navigation helper, not in runtime. */
|
|
119
|
+
protected static __types: {
|
|
120
|
+
api: {
|
|
121
|
+
input: CreateMonitorInput;
|
|
122
|
+
output: CreateMonitorOutput;
|
|
123
|
+
};
|
|
124
|
+
sdk: {
|
|
125
|
+
input: CreateMonitorCommandInput;
|
|
126
|
+
output: CreateMonitorCommandOutput;
|
|
127
|
+
};
|
|
128
|
+
};
|
|
129
|
+
}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { CreateScopeInput, CreateScopeOutput } from "../models/models_0";
|
|
4
|
+
import { NetworkFlowMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkFlowMonitorClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateScopeCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateScopeCommandInput extends CreateScopeInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateScopeCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateScopeCommandOutput extends CreateScopeOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateScopeCommand_base: {
|
|
25
|
+
new (input: CreateScopeCommandInput): import("@smithy/smithy-client").CommandImpl<CreateScopeCommandInput, CreateScopeCommandOutput, NetworkFlowMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: CreateScopeCommandInput): import("@smithy/smithy-client").CommandImpl<CreateScopeCommandInput, CreateScopeCommandOutput, NetworkFlowMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Create a scope of resources that you want to be available for Network Flow Monitor to generate metrics for,
|
|
31
|
+
* when you have active agents on those resources sending metrics reports to the Network Flow Monitor backend.
|
|
32
|
+
* This call returns a scope ID to identify the scope.</p>
|
|
33
|
+
* <p>When you create a scope, you enable permissions for Network Flow Monitor. The scope is set to the
|
|
34
|
+
* resources for the Amazon Web Services that enables the feature.</p>
|
|
35
|
+
* @example
|
|
36
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
37
|
+
* ```javascript
|
|
38
|
+
* import { NetworkFlowMonitorClient, CreateScopeCommand } from "@aws-sdk/client-networkflowmonitor"; // ES Modules import
|
|
39
|
+
* // const { NetworkFlowMonitorClient, CreateScopeCommand } = require("@aws-sdk/client-networkflowmonitor"); // CommonJS import
|
|
40
|
+
* const client = new NetworkFlowMonitorClient(config);
|
|
41
|
+
* const input = { // CreateScopeInput
|
|
42
|
+
* targets: [ // TargetResourceList // required
|
|
43
|
+
* { // TargetResource
|
|
44
|
+
* targetIdentifier: { // TargetIdentifier
|
|
45
|
+
* targetId: { // TargetId Union: only one key present
|
|
46
|
+
* accountId: "STRING_VALUE",
|
|
47
|
+
* },
|
|
48
|
+
* targetType: "ACCOUNT", // required
|
|
49
|
+
* },
|
|
50
|
+
* region: "STRING_VALUE", // required
|
|
51
|
+
* },
|
|
52
|
+
* ],
|
|
53
|
+
* clientToken: "STRING_VALUE",
|
|
54
|
+
* tags: { // TagMap
|
|
55
|
+
* "<keys>": "STRING_VALUE",
|
|
56
|
+
* },
|
|
57
|
+
* };
|
|
58
|
+
* const command = new CreateScopeCommand(input);
|
|
59
|
+
* const response = await client.send(command);
|
|
60
|
+
* // { // CreateScopeOutput
|
|
61
|
+
* // scopeId: "STRING_VALUE", // required
|
|
62
|
+
* // status: "SUCCEEDED" || "IN_PROGRESS" || "FAILED", // required
|
|
63
|
+
* // scopeArn: "STRING_VALUE", // required
|
|
64
|
+
* // tags: { // TagMap
|
|
65
|
+
* // "<keys>": "STRING_VALUE",
|
|
66
|
+
* // },
|
|
67
|
+
* // };
|
|
68
|
+
*
|
|
69
|
+
* ```
|
|
70
|
+
*
|
|
71
|
+
* @param CreateScopeCommandInput - {@link CreateScopeCommandInput}
|
|
72
|
+
* @returns {@link CreateScopeCommandOutput}
|
|
73
|
+
* @see {@link CreateScopeCommandInput} for command's `input` shape.
|
|
74
|
+
* @see {@link CreateScopeCommandOutput} for command's `response` shape.
|
|
75
|
+
* @see {@link NetworkFlowMonitorClientResolvedConfig | config} for NetworkFlowMonitorClient's `config` shape.
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
78
|
+
* <p>You don't have sufficient permission to perform this action.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ConflictException} (client fault)
|
|
81
|
+
* <p>The requested resource is in use.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link InternalServerException} (server fault)
|
|
84
|
+
* <p>An internal error occurred.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
87
|
+
* <p>The request exceeded a service quota.</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
90
|
+
* <p>The request was denied due to request throttling.</p>
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link ValidationException} (client fault)
|
|
93
|
+
* <p>Invalid request.</p>
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link NetworkFlowMonitorServiceException}
|
|
96
|
+
* <p>Base exception class for all service exceptions from NetworkFlowMonitor service.</p>
|
|
97
|
+
*
|
|
98
|
+
* @public
|
|
99
|
+
*/
|
|
100
|
+
export declare class CreateScopeCommand extends CreateScopeCommand_base {
|
|
101
|
+
/** @internal type navigation helper, not in runtime. */
|
|
102
|
+
protected static __types: {
|
|
103
|
+
api: {
|
|
104
|
+
input: CreateScopeInput;
|
|
105
|
+
output: CreateScopeOutput;
|
|
106
|
+
};
|
|
107
|
+
sdk: {
|
|
108
|
+
input: CreateScopeCommandInput;
|
|
109
|
+
output: CreateScopeCommandOutput;
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { DeleteMonitorInput, DeleteMonitorOutput } from "../models/models_0";
|
|
4
|
+
import { NetworkFlowMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkFlowMonitorClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteMonitorCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteMonitorCommandInput extends DeleteMonitorInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteMonitorCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteMonitorCommandOutput extends DeleteMonitorOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteMonitorCommand_base: {
|
|
25
|
+
new (input: DeleteMonitorCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteMonitorCommandInput, DeleteMonitorCommandOutput, NetworkFlowMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: DeleteMonitorCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteMonitorCommandInput, DeleteMonitorCommandOutput, NetworkFlowMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Deletes a monitor in Network Flow Monitor.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { NetworkFlowMonitorClient, DeleteMonitorCommand } from "@aws-sdk/client-networkflowmonitor"; // ES Modules import
|
|
35
|
+
* // const { NetworkFlowMonitorClient, DeleteMonitorCommand } = require("@aws-sdk/client-networkflowmonitor"); // CommonJS import
|
|
36
|
+
* const client = new NetworkFlowMonitorClient(config);
|
|
37
|
+
* const input = { // DeleteMonitorInput
|
|
38
|
+
* monitorName: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new DeleteMonitorCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // {};
|
|
43
|
+
*
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* @param DeleteMonitorCommandInput - {@link DeleteMonitorCommandInput}
|
|
47
|
+
* @returns {@link DeleteMonitorCommandOutput}
|
|
48
|
+
* @see {@link DeleteMonitorCommandInput} for command's `input` shape.
|
|
49
|
+
* @see {@link DeleteMonitorCommandOutput} for command's `response` shape.
|
|
50
|
+
* @see {@link NetworkFlowMonitorClientResolvedConfig | config} for NetworkFlowMonitorClient's `config` shape.
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
53
|
+
* <p>You don't have sufficient permission to perform this action.</p>
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link InternalServerException} (server fault)
|
|
56
|
+
* <p>An internal error occurred.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
59
|
+
* <p>The request specifies a resource that doesn't exist.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
62
|
+
* <p>The request was denied due to request throttling.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ValidationException} (client fault)
|
|
65
|
+
* <p>Invalid request.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link NetworkFlowMonitorServiceException}
|
|
68
|
+
* <p>Base exception class for all service exceptions from NetworkFlowMonitor service.</p>
|
|
69
|
+
*
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
export declare class DeleteMonitorCommand extends DeleteMonitorCommand_base {
|
|
73
|
+
/** @internal type navigation helper, not in runtime. */
|
|
74
|
+
protected static __types: {
|
|
75
|
+
api: {
|
|
76
|
+
input: DeleteMonitorInput;
|
|
77
|
+
output: {};
|
|
78
|
+
};
|
|
79
|
+
sdk: {
|
|
80
|
+
input: DeleteMonitorCommandInput;
|
|
81
|
+
output: DeleteMonitorCommandOutput;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { DeleteScopeInput, DeleteScopeOutput } from "../models/models_0";
|
|
4
|
+
import { NetworkFlowMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkFlowMonitorClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteScopeCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteScopeCommandInput extends DeleteScopeInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteScopeCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteScopeCommandOutput extends DeleteScopeOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteScopeCommand_base: {
|
|
25
|
+
new (input: DeleteScopeCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteScopeCommandInput, DeleteScopeCommandOutput, NetworkFlowMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: DeleteScopeCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteScopeCommandInput, DeleteScopeCommandOutput, NetworkFlowMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Deletes a scope that has been defined.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { NetworkFlowMonitorClient, DeleteScopeCommand } from "@aws-sdk/client-networkflowmonitor"; // ES Modules import
|
|
35
|
+
* // const { NetworkFlowMonitorClient, DeleteScopeCommand } = require("@aws-sdk/client-networkflowmonitor"); // CommonJS import
|
|
36
|
+
* const client = new NetworkFlowMonitorClient(config);
|
|
37
|
+
* const input = { // DeleteScopeInput
|
|
38
|
+
* scopeId: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new DeleteScopeCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // {};
|
|
43
|
+
*
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* @param DeleteScopeCommandInput - {@link DeleteScopeCommandInput}
|
|
47
|
+
* @returns {@link DeleteScopeCommandOutput}
|
|
48
|
+
* @see {@link DeleteScopeCommandInput} for command's `input` shape.
|
|
49
|
+
* @see {@link DeleteScopeCommandOutput} for command's `response` shape.
|
|
50
|
+
* @see {@link NetworkFlowMonitorClientResolvedConfig | config} for NetworkFlowMonitorClient's `config` shape.
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
53
|
+
* <p>You don't have sufficient permission to perform this action.</p>
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link InternalServerException} (server fault)
|
|
56
|
+
* <p>An internal error occurred.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
59
|
+
* <p>The request exceeded a service quota.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
62
|
+
* <p>The request was denied due to request throttling.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ValidationException} (client fault)
|
|
65
|
+
* <p>Invalid request.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link NetworkFlowMonitorServiceException}
|
|
68
|
+
* <p>Base exception class for all service exceptions from NetworkFlowMonitor service.</p>
|
|
69
|
+
*
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
export declare class DeleteScopeCommand extends DeleteScopeCommand_base {
|
|
73
|
+
/** @internal type navigation helper, not in runtime. */
|
|
74
|
+
protected static __types: {
|
|
75
|
+
api: {
|
|
76
|
+
input: DeleteScopeInput;
|
|
77
|
+
output: {};
|
|
78
|
+
};
|
|
79
|
+
sdk: {
|
|
80
|
+
input: DeleteScopeCommandInput;
|
|
81
|
+
output: DeleteScopeCommandOutput;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { GetMonitorInput, GetMonitorOutput } from "../models/models_0";
|
|
4
|
+
import { NetworkFlowMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkFlowMonitorClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetMonitorCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetMonitorCommandInput extends GetMonitorInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetMonitorCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetMonitorCommandOutput extends GetMonitorOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetMonitorCommand_base: {
|
|
25
|
+
new (input: GetMonitorCommandInput): import("@smithy/smithy-client").CommandImpl<GetMonitorCommandInput, GetMonitorCommandOutput, NetworkFlowMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: GetMonitorCommandInput): import("@smithy/smithy-client").CommandImpl<GetMonitorCommandInput, GetMonitorCommandOutput, NetworkFlowMonitorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Gets information about a monitor in Network Flow Monitor based on a monitor name. The information returned includes
|
|
31
|
+
* the Amazon Resource Name (ARN), create time, modified time, resources included in the monitor, and status information.</p>
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { NetworkFlowMonitorClient, GetMonitorCommand } from "@aws-sdk/client-networkflowmonitor"; // ES Modules import
|
|
36
|
+
* // const { NetworkFlowMonitorClient, GetMonitorCommand } = require("@aws-sdk/client-networkflowmonitor"); // CommonJS import
|
|
37
|
+
* const client = new NetworkFlowMonitorClient(config);
|
|
38
|
+
* const input = { // GetMonitorInput
|
|
39
|
+
* monitorName: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new GetMonitorCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // GetMonitorOutput
|
|
44
|
+
* // monitorArn: "STRING_VALUE", // required
|
|
45
|
+
* // monitorName: "STRING_VALUE", // required
|
|
46
|
+
* // monitorStatus: "PENDING" || "ACTIVE" || "INACTIVE" || "ERROR" || "DELETING", // required
|
|
47
|
+
* // localResources: [ // MonitorLocalResources // required
|
|
48
|
+
* // { // MonitorLocalResource
|
|
49
|
+
* // type: "AWS::EC2::VPC" || "AWS::AvailabilityZone" || "AWS::EC2::Subnet", // required
|
|
50
|
+
* // identifier: "STRING_VALUE", // required
|
|
51
|
+
* // },
|
|
52
|
+
* // ],
|
|
53
|
+
* // remoteResources: [ // MonitorRemoteResources // required
|
|
54
|
+
* // { // MonitorRemoteResource
|
|
55
|
+
* // type: "AWS::EC2::VPC" || "AWS::AvailabilityZone" || "AWS::EC2::Subnet" || "AWS::AWSService", // required
|
|
56
|
+
* // identifier: "STRING_VALUE", // required
|
|
57
|
+
* // },
|
|
58
|
+
* // ],
|
|
59
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
60
|
+
* // modifiedAt: new Date("TIMESTAMP"), // required
|
|
61
|
+
* // tags: { // TagMap
|
|
62
|
+
* // "<keys>": "STRING_VALUE",
|
|
63
|
+
* // },
|
|
64
|
+
* // };
|
|
65
|
+
*
|
|
66
|
+
* ```
|
|
67
|
+
*
|
|
68
|
+
* @param GetMonitorCommandInput - {@link GetMonitorCommandInput}
|
|
69
|
+
* @returns {@link GetMonitorCommandOutput}
|
|
70
|
+
* @see {@link GetMonitorCommandInput} for command's `input` shape.
|
|
71
|
+
* @see {@link GetMonitorCommandOutput} for command's `response` shape.
|
|
72
|
+
* @see {@link NetworkFlowMonitorClientResolvedConfig | config} for NetworkFlowMonitorClient's `config` shape.
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
75
|
+
* <p>You don't have sufficient permission to perform this action.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link InternalServerException} (server fault)
|
|
78
|
+
* <p>An internal error occurred.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
81
|
+
* <p>The request specifies a resource that doesn't exist.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
84
|
+
* <p>The request was denied due to request throttling.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link ValidationException} (client fault)
|
|
87
|
+
* <p>Invalid request.</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link NetworkFlowMonitorServiceException}
|
|
90
|
+
* <p>Base exception class for all service exceptions from NetworkFlowMonitor service.</p>
|
|
91
|
+
*
|
|
92
|
+
* @public
|
|
93
|
+
*/
|
|
94
|
+
export declare class GetMonitorCommand extends GetMonitorCommand_base {
|
|
95
|
+
/** @internal type navigation helper, not in runtime. */
|
|
96
|
+
protected static __types: {
|
|
97
|
+
api: {
|
|
98
|
+
input: GetMonitorInput;
|
|
99
|
+
output: GetMonitorOutput;
|
|
100
|
+
};
|
|
101
|
+
sdk: {
|
|
102
|
+
input: GetMonitorCommandInput;
|
|
103
|
+
output: GetMonitorCommandOutput;
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
}
|