@aws-sdk/client-amp 3.32.0 → 3.36.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/CHANGELOG.md +44 -0
- package/README.md +7 -7
- package/dist-cjs/Amp.js +265 -0
- package/{dist/cjs → dist-cjs}/AmpClient.js +8 -9
- package/dist-cjs/commands/CreateAlertManagerDefinitionCommand.js +60 -0
- package/dist-cjs/commands/CreateRuleGroupsNamespaceCommand.js +60 -0
- package/{dist/cjs → dist-cjs}/commands/CreateWorkspaceCommand.js +2 -3
- package/dist-cjs/commands/DeleteAlertManagerDefinitionCommand.js +60 -0
- package/dist-cjs/commands/DeleteRuleGroupsNamespaceCommand.js +60 -0
- package/{dist/cjs → dist-cjs}/commands/DeleteWorkspaceCommand.js +2 -3
- package/dist-cjs/commands/DescribeAlertManagerDefinitionCommand.js +60 -0
- package/dist-cjs/commands/DescribeRuleGroupsNamespaceCommand.js +60 -0
- package/{dist/cjs → dist-cjs}/commands/DescribeWorkspaceCommand.js +2 -3
- package/dist-cjs/commands/ListRuleGroupsNamespacesCommand.js +60 -0
- package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/ListWorkspacesCommand.js +2 -3
- package/dist-cjs/commands/PutAlertManagerDefinitionCommand.js +60 -0
- package/dist-cjs/commands/PutRuleGroupsNamespaceCommand.js +60 -0
- package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/commands/UpdateWorkspaceAliasCommand.js +2 -3
- package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
- package/{dist/cjs → dist-cjs}/index.js +12 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +501 -0
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListRuleGroupsNamespacesPaginator.js +45 -0
- package/{dist/cjs → dist-cjs}/pagination/ListWorkspacesPaginator.js +0 -1
- package/dist-cjs/protocols/Aws_restJson1.js +2393 -0
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +2 -2
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +2 -2
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -1
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -2
- package/dist-cjs/waiters/waitForWorkspaceActive.js +63 -0
- package/dist-cjs/waiters/waitForWorkspaceDeleted.js +48 -0
- package/dist-es/Amp.js +265 -0
- package/{dist/es → dist-es}/AmpClient.js +2 -11
- package/dist-es/commands/CreateAlertManagerDefinitionCommand.js +39 -0
- package/dist-es/commands/CreateRuleGroupsNamespaceCommand.js +39 -0
- package/{dist/es → dist-es}/commands/CreateWorkspaceCommand.js +4 -30
- package/dist-es/commands/DeleteAlertManagerDefinitionCommand.js +39 -0
- package/dist-es/commands/DeleteRuleGroupsNamespaceCommand.js +39 -0
- package/{dist/es → dist-es}/commands/DeleteWorkspaceCommand.js +4 -30
- package/dist-es/commands/DescribeAlertManagerDefinitionCommand.js +39 -0
- package/dist-es/commands/DescribeRuleGroupsNamespaceCommand.js +39 -0
- package/{dist/es → dist-es}/commands/DescribeWorkspaceCommand.js +4 -30
- package/dist-es/commands/ListRuleGroupsNamespacesCommand.js +39 -0
- package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListWorkspacesCommand.js +4 -30
- package/dist-es/commands/PutAlertManagerDefinitionCommand.js +39 -0
- package/dist-es/commands/PutRuleGroupsNamespaceCommand.js +39 -0
- package/{dist/es → dist-es}/commands/TagResourceCommand.js +4 -30
- package/{dist/es → dist-es}/commands/UntagResourceCommand.js +4 -30
- package/{dist/es → dist-es}/commands/UpdateWorkspaceAliasCommand.js +4 -30
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/dist-es/index.js +25 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/dist-es/models/models_0.js +218 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListRuleGroupsNamespacesPaginator.js +74 -0
- package/{dist/es → dist-es}/pagination/ListWorkspacesPaginator.js +16 -29
- package/dist-es/protocols/Aws_restJson1.js +2684 -0
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
- package/dist-es/waiters/waitForWorkspaceActive.js +69 -0
- package/dist-es/waiters/waitForWorkspaceDeleted.js +54 -0
- package/dist-types/Amp.d.ts +126 -0
- package/{dist/types/ts3.4 → dist-types}/AmpClient.d.ts +149 -140
- package/dist-types/commands/CreateAlertManagerDefinitionCommand.d.ts +35 -0
- package/dist-types/commands/CreateRuleGroupsNamespaceCommand.d.ts +35 -0
- package/{dist/types → dist-types}/commands/CreateWorkspaceCommand.d.ts +2 -2
- package/dist-types/commands/DeleteAlertManagerDefinitionCommand.d.ts +35 -0
- package/dist-types/commands/DeleteRuleGroupsNamespaceCommand.d.ts +35 -0
- package/{dist/types → dist-types}/commands/DeleteWorkspaceCommand.d.ts +2 -2
- package/dist-types/commands/DescribeAlertManagerDefinitionCommand.d.ts +35 -0
- package/dist-types/commands/DescribeRuleGroupsNamespaceCommand.d.ts +35 -0
- package/{dist/types → dist-types}/commands/DescribeWorkspaceCommand.d.ts +2 -2
- package/dist-types/commands/ListRuleGroupsNamespacesCommand.d.ts +35 -0
- package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListWorkspacesCommand.d.ts +2 -2
- package/dist-types/commands/PutAlertManagerDefinitionCommand.d.ts +35 -0
- package/dist-types/commands/PutRuleGroupsNamespaceCommand.d.ts +35 -0
- package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateWorkspaceAliasCommand.d.ts +2 -2
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/dist-types/index.d.ts +25 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/dist-types/models/models_0.d.ts +1103 -0
- package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
- package/dist-types/pagination/ListRuleGroupsNamespacesPaginator.d.ts +4 -0
- package/{dist/types → dist-types}/pagination/ListWorkspacesPaginator.d.ts +1 -1
- package/dist-types/protocols/Aws_restJson1.d.ts +53 -0
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +1 -0
- package/{dist/types/ts3.4 → dist-types}/runtimeConfig.d.ts +37 -36
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +1 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/dist-types/ts3.4/Amp.d.ts +126 -0
- package/{dist/types → dist-types/ts3.4}/AmpClient.d.ts +149 -140
- package/dist-types/ts3.4/commands/CreateAlertManagerDefinitionCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/CreateRuleGroupsNamespaceCommand.d.ts +35 -0
- package/{dist/types → dist-types}/ts3.4/commands/CreateWorkspaceCommand.d.ts +2 -2
- package/dist-types/ts3.4/commands/DeleteAlertManagerDefinitionCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DeleteRuleGroupsNamespaceCommand.d.ts +35 -0
- package/{dist/types → dist-types}/ts3.4/commands/DeleteWorkspaceCommand.d.ts +2 -2
- package/dist-types/ts3.4/commands/DescribeAlertManagerDefinitionCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DescribeRuleGroupsNamespaceCommand.d.ts +35 -0
- package/{dist/types → dist-types}/ts3.4/commands/DescribeWorkspaceCommand.d.ts +2 -2
- package/dist-types/ts3.4/commands/ListRuleGroupsNamespacesCommand.d.ts +35 -0
- package/{dist/types → dist-types}/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/ListWorkspacesCommand.d.ts +2 -2
- package/dist-types/ts3.4/commands/PutAlertManagerDefinitionCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/PutRuleGroupsNamespaceCommand.d.ts +35 -0
- package/{dist/types → dist-types}/ts3.4/commands/TagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/UntagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/commands/UpdateWorkspaceAliasCommand.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/dist-types/ts3.4/index.d.ts +25 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1103 -0
- package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/dist-types/ts3.4/pagination/ListRuleGroupsNamespacesPaginator.d.ts +4 -0
- package/{dist/types → dist-types}/ts3.4/pagination/ListWorkspacesPaginator.d.ts +1 -1
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +53 -0
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/{dist/types → dist-types/ts3.4}/runtimeConfig.d.ts +37 -36
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
- package/dist-types/ts3.4/waiters/waitForWorkspaceActive.d.ts +14 -0
- package/dist-types/ts3.4/waiters/waitForWorkspaceDeleted.d.ts +14 -0
- package/dist-types/waiters/waitForWorkspaceActive.d.ts +14 -0
- package/dist-types/waiters/waitForWorkspaceDeleted.d.ts +14 -0
- package/package.json +53 -49
- package/Amp.ts +0 -293
- package/AmpClient.ts +0 -265
- package/commands/CreateWorkspaceCommand.ts +0 -94
- package/commands/DeleteWorkspaceCommand.ts +0 -94
- package/commands/DescribeWorkspaceCommand.ts +0 -94
- package/commands/ListTagsForResourceCommand.ts +0 -94
- package/commands/ListWorkspacesCommand.ts +0 -94
- package/commands/TagResourceCommand.ts +0 -94
- package/commands/UntagResourceCommand.ts +0 -94
- package/commands/UpdateWorkspaceAliasCommand.ts +0 -94
- package/dist/cjs/Amp.js +0 -131
- package/dist/cjs/Amp.js.map +0 -1
- package/dist/cjs/AmpClient.js.map +0 -1
- package/dist/cjs/commands/CreateWorkspaceCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteWorkspaceCommand.js.map +0 -1
- package/dist/cjs/commands/DescribeWorkspaceCommand.js.map +0 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/cjs/commands/ListWorkspacesCommand.js.map +0 -1
- package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateWorkspaceAliasCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js +0 -259
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -93
- package/dist/cjs/pagination/Interfaces.js.map +0 -1
- package/dist/cjs/pagination/ListWorkspacesPaginator.js.map +0 -1
- package/dist/cjs/protocols/Aws_restJson1.js +0 -1176
- package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/Amp.js +0 -134
- package/dist/es/Amp.js.map +0 -1
- package/dist/es/AmpClient.js.map +0 -1
- package/dist/es/commands/CreateWorkspaceCommand.js.map +0 -1
- package/dist/es/commands/DeleteWorkspaceCommand.js.map +0 -1
- package/dist/es/commands/DescribeWorkspaceCommand.js.map +0 -1
- package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/es/commands/ListWorkspacesCommand.js.map +0 -1
- package/dist/es/commands/TagResourceCommand.js.map +0 -1
- package/dist/es/commands/UntagResourceCommand.js.map +0 -1
- package/dist/es/commands/UpdateWorkspaceAliasCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -14
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js +0 -207
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -93
- package/dist/es/pagination/Interfaces.js +0 -2
- package/dist/es/pagination/Interfaces.js.map +0 -1
- package/dist/es/pagination/ListWorkspacesPaginator.js.map +0 -1
- package/dist/es/protocols/Aws_restJson1.js +0 -1327
- package/dist/es/protocols/Aws_restJson1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/dist/types/Amp.d.ts +0 -63
- package/dist/types/index.d.ts +0 -13
- package/dist/types/models/models_0.d.ts +0 -562
- package/dist/types/protocols/Aws_restJson1.d.ts +0 -26
- package/dist/types/ts3.4/Amp.d.ts +0 -63
- package/dist/types/ts3.4/index.d.ts +0 -13
- package/dist/types/ts3.4/models/models_0.d.ts +0 -562
- package/dist/types/ts3.4/protocols/Aws_restJson1.d.ts +0 -26
- package/endpoints.ts +0 -57
- package/index.ts +0 -13
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -689
- package/pagination/Interfaces.ts +0 -7
- package/pagination/ListWorkspacesPaginator.ts +0 -58
- package/protocols/Aws_restJson1.ts +0 -1348
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -12
- package/tsconfig.json +0 -32
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { PaginationConfiguration } from "@aws-sdk/types";
|
|
1
2
|
import { Amp } from "../Amp";
|
|
2
3
|
import { AmpClient } from "../AmpClient";
|
|
3
|
-
import { PaginationConfiguration } from "@aws-sdk/types";
|
|
4
4
|
export interface AmpPaginationConfiguration extends PaginationConfiguration {
|
|
5
5
|
client: Amp | AmpClient;
|
|
6
6
|
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import { ListRuleGroupsNamespacesCommandInput, ListRuleGroupsNamespacesCommandOutput } from "../commands/ListRuleGroupsNamespacesCommand";
|
|
3
|
+
import { AmpPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
export declare function paginateListRuleGroupsNamespaces(config: AmpPaginationConfiguration, input: ListRuleGroupsNamespacesCommandInput, ...additionalArguments: any): Paginator<ListRuleGroupsNamespacesCommandOutput>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
1
2
|
import { ListWorkspacesCommandInput, ListWorkspacesCommandOutput } from "../commands/ListWorkspacesCommand";
|
|
2
3
|
import { AmpPaginationConfiguration } from "./Interfaces";
|
|
3
|
-
import { Paginator } from "@aws-sdk/types";
|
|
4
4
|
export declare function paginateListWorkspaces(config: AmpPaginationConfiguration, input: ListWorkspacesCommandInput, ...additionalArguments: any): Paginator<ListWorkspacesCommandOutput>;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
2
|
+
import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
|
|
3
|
+
import { CreateAlertManagerDefinitionCommandInput, CreateAlertManagerDefinitionCommandOutput } from "../commands/CreateAlertManagerDefinitionCommand";
|
|
4
|
+
import { CreateRuleGroupsNamespaceCommandInput, CreateRuleGroupsNamespaceCommandOutput } from "../commands/CreateRuleGroupsNamespaceCommand";
|
|
5
|
+
import { CreateWorkspaceCommandInput, CreateWorkspaceCommandOutput } from "../commands/CreateWorkspaceCommand";
|
|
6
|
+
import { DeleteAlertManagerDefinitionCommandInput, DeleteAlertManagerDefinitionCommandOutput } from "../commands/DeleteAlertManagerDefinitionCommand";
|
|
7
|
+
import { DeleteRuleGroupsNamespaceCommandInput, DeleteRuleGroupsNamespaceCommandOutput } from "../commands/DeleteRuleGroupsNamespaceCommand";
|
|
8
|
+
import { DeleteWorkspaceCommandInput, DeleteWorkspaceCommandOutput } from "../commands/DeleteWorkspaceCommand";
|
|
9
|
+
import { DescribeAlertManagerDefinitionCommandInput, DescribeAlertManagerDefinitionCommandOutput } from "../commands/DescribeAlertManagerDefinitionCommand";
|
|
10
|
+
import { DescribeRuleGroupsNamespaceCommandInput, DescribeRuleGroupsNamespaceCommandOutput } from "../commands/DescribeRuleGroupsNamespaceCommand";
|
|
11
|
+
import { DescribeWorkspaceCommandInput, DescribeWorkspaceCommandOutput } from "../commands/DescribeWorkspaceCommand";
|
|
12
|
+
import { ListRuleGroupsNamespacesCommandInput, ListRuleGroupsNamespacesCommandOutput } from "../commands/ListRuleGroupsNamespacesCommand";
|
|
13
|
+
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
|
|
14
|
+
import { ListWorkspacesCommandInput, ListWorkspacesCommandOutput } from "../commands/ListWorkspacesCommand";
|
|
15
|
+
import { PutAlertManagerDefinitionCommandInput, PutAlertManagerDefinitionCommandOutput } from "../commands/PutAlertManagerDefinitionCommand";
|
|
16
|
+
import { PutRuleGroupsNamespaceCommandInput, PutRuleGroupsNamespaceCommandOutput } from "../commands/PutRuleGroupsNamespaceCommand";
|
|
17
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
|
|
18
|
+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
|
|
19
|
+
import { UpdateWorkspaceAliasCommandInput, UpdateWorkspaceAliasCommandOutput } from "../commands/UpdateWorkspaceAliasCommand";
|
|
20
|
+
export declare const serializeAws_restJson1CreateAlertManagerDefinitionCommand: (input: CreateAlertManagerDefinitionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
21
|
+
export declare const serializeAws_restJson1CreateRuleGroupsNamespaceCommand: (input: CreateRuleGroupsNamespaceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
22
|
+
export declare const serializeAws_restJson1CreateWorkspaceCommand: (input: CreateWorkspaceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
23
|
+
export declare const serializeAws_restJson1DeleteAlertManagerDefinitionCommand: (input: DeleteAlertManagerDefinitionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
24
|
+
export declare const serializeAws_restJson1DeleteRuleGroupsNamespaceCommand: (input: DeleteRuleGroupsNamespaceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
25
|
+
export declare const serializeAws_restJson1DeleteWorkspaceCommand: (input: DeleteWorkspaceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
26
|
+
export declare const serializeAws_restJson1DescribeAlertManagerDefinitionCommand: (input: DescribeAlertManagerDefinitionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
27
|
+
export declare const serializeAws_restJson1DescribeRuleGroupsNamespaceCommand: (input: DescribeRuleGroupsNamespaceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
28
|
+
export declare const serializeAws_restJson1DescribeWorkspaceCommand: (input: DescribeWorkspaceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
29
|
+
export declare const serializeAws_restJson1ListRuleGroupsNamespacesCommand: (input: ListRuleGroupsNamespacesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
30
|
+
export declare const serializeAws_restJson1ListTagsForResourceCommand: (input: ListTagsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
31
|
+
export declare const serializeAws_restJson1ListWorkspacesCommand: (input: ListWorkspacesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
32
|
+
export declare const serializeAws_restJson1PutAlertManagerDefinitionCommand: (input: PutAlertManagerDefinitionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
33
|
+
export declare const serializeAws_restJson1PutRuleGroupsNamespaceCommand: (input: PutRuleGroupsNamespaceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
34
|
+
export declare const serializeAws_restJson1TagResourceCommand: (input: TagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
35
|
+
export declare const serializeAws_restJson1UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
36
|
+
export declare const serializeAws_restJson1UpdateWorkspaceAliasCommand: (input: UpdateWorkspaceAliasCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
37
|
+
export declare const deserializeAws_restJson1CreateAlertManagerDefinitionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateAlertManagerDefinitionCommandOutput>;
|
|
38
|
+
export declare const deserializeAws_restJson1CreateRuleGroupsNamespaceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateRuleGroupsNamespaceCommandOutput>;
|
|
39
|
+
export declare const deserializeAws_restJson1CreateWorkspaceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateWorkspaceCommandOutput>;
|
|
40
|
+
export declare const deserializeAws_restJson1DeleteAlertManagerDefinitionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteAlertManagerDefinitionCommandOutput>;
|
|
41
|
+
export declare const deserializeAws_restJson1DeleteRuleGroupsNamespaceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteRuleGroupsNamespaceCommandOutput>;
|
|
42
|
+
export declare const deserializeAws_restJson1DeleteWorkspaceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteWorkspaceCommandOutput>;
|
|
43
|
+
export declare const deserializeAws_restJson1DescribeAlertManagerDefinitionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeAlertManagerDefinitionCommandOutput>;
|
|
44
|
+
export declare const deserializeAws_restJson1DescribeRuleGroupsNamespaceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeRuleGroupsNamespaceCommandOutput>;
|
|
45
|
+
export declare const deserializeAws_restJson1DescribeWorkspaceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeWorkspaceCommandOutput>;
|
|
46
|
+
export declare const deserializeAws_restJson1ListRuleGroupsNamespacesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListRuleGroupsNamespacesCommandOutput>;
|
|
47
|
+
export declare const deserializeAws_restJson1ListTagsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsForResourceCommandOutput>;
|
|
48
|
+
export declare const deserializeAws_restJson1ListWorkspacesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListWorkspacesCommandOutput>;
|
|
49
|
+
export declare const deserializeAws_restJson1PutAlertManagerDefinitionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutAlertManagerDefinitionCommandOutput>;
|
|
50
|
+
export declare const deserializeAws_restJson1PutRuleGroupsNamespaceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutRuleGroupsNamespaceCommandOutput>;
|
|
51
|
+
export declare const deserializeAws_restJson1TagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagResourceCommandOutput>;
|
|
52
|
+
export declare const deserializeAws_restJson1UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
|
|
53
|
+
export declare const deserializeAws_restJson1UpdateWorkspaceAliasCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateWorkspaceAliasCommandOutput>;
|
|
@@ -32,5 +32,6 @@ export declare const getRuntimeConfig: (config: AmpClientConfig) => {
|
|
|
32
32
|
signingEscapePath?: boolean | undefined;
|
|
33
33
|
systemClockOffset?: number | undefined;
|
|
34
34
|
signingRegion?: string | undefined;
|
|
35
|
+
signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
|
|
35
36
|
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
36
37
|
};
|
|
@@ -1,36 +1,37 @@
|
|
|
1
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
2
|
-
import { AmpClientConfig } from "./AmpClient";
|
|
3
|
-
/**
|
|
4
|
-
* @internal
|
|
5
|
-
*/
|
|
6
|
-
export declare const getRuntimeConfig: (config: AmpClientConfig) => {
|
|
7
|
-
runtime: string;
|
|
8
|
-
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
|
-
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
|
-
bodyLengthChecker: (body: any) => number | undefined;
|
|
11
|
-
credentialDefaultProvider: import("@aws-sdk/client-sts/dist
|
|
12
|
-
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
|
-
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
|
-
region: string | import("@aws-sdk/types").Provider<string>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | NodeHttpHandler;
|
|
16
|
-
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
|
-
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
|
-
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
19
|
-
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
20
|
-
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
21
|
-
apiVersion: string;
|
|
22
|
-
urlParser: import("@aws-sdk/types").UrlParser;
|
|
23
|
-
disableHostPrefix: boolean;
|
|
24
|
-
logger: import("@aws-sdk/types").Logger;
|
|
25
|
-
serviceId: string;
|
|
26
|
-
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
|
-
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
28
|
-
tls?: boolean | undefined;
|
|
29
|
-
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
30
|
-
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
|
|
31
|
-
signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
|
|
32
|
-
signingEscapePath?: boolean | undefined;
|
|
33
|
-
systemClockOffset?: number | undefined;
|
|
34
|
-
signingRegion?: string | undefined;
|
|
35
|
-
|
|
36
|
-
|
|
1
|
+
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
2
|
+
import { AmpClientConfig } from "./AmpClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const getRuntimeConfig: (config: AmpClientConfig) => {
|
|
7
|
+
runtime: string;
|
|
8
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
|
+
bodyLengthChecker: (body: any) => number | undefined;
|
|
11
|
+
credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
|
|
12
|
+
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
|
+
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
|
+
region: string | import("@aws-sdk/types").Provider<string>;
|
|
15
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | NodeHttpHandler;
|
|
16
|
+
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
|
+
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
|
+
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
19
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
20
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
21
|
+
apiVersion: string;
|
|
22
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
23
|
+
disableHostPrefix: boolean;
|
|
24
|
+
logger: import("@aws-sdk/types").Logger;
|
|
25
|
+
serviceId: string;
|
|
26
|
+
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
|
+
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
28
|
+
tls?: boolean | undefined;
|
|
29
|
+
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
30
|
+
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
|
|
31
|
+
signer?: import("@aws-sdk/types").RequestSigner | import("@aws-sdk/types").Provider<import("@aws-sdk/types").RequestSigner> | undefined;
|
|
32
|
+
signingEscapePath?: boolean | undefined;
|
|
33
|
+
systemClockOffset?: number | undefined;
|
|
34
|
+
signingRegion?: string | undefined;
|
|
35
|
+
signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
|
|
36
|
+
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
37
|
+
};
|
|
@@ -31,5 +31,6 @@ export declare const getRuntimeConfig: (config: AmpClientConfig) => {
|
|
|
31
31
|
signingEscapePath?: boolean | undefined;
|
|
32
32
|
systemClockOffset?: number | undefined;
|
|
33
33
|
signingRegion?: string | undefined;
|
|
34
|
+
signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
|
|
34
35
|
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
35
36
|
};
|
|
File without changes
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
|
+
import { AmpClient } from "./AmpClient";
|
|
3
|
+
import { CreateAlertManagerDefinitionCommandInput, CreateAlertManagerDefinitionCommandOutput } from "./commands/CreateAlertManagerDefinitionCommand";
|
|
4
|
+
import { CreateRuleGroupsNamespaceCommandInput, CreateRuleGroupsNamespaceCommandOutput } from "./commands/CreateRuleGroupsNamespaceCommand";
|
|
5
|
+
import { CreateWorkspaceCommandInput, CreateWorkspaceCommandOutput } from "./commands/CreateWorkspaceCommand";
|
|
6
|
+
import { DeleteAlertManagerDefinitionCommandInput, DeleteAlertManagerDefinitionCommandOutput } from "./commands/DeleteAlertManagerDefinitionCommand";
|
|
7
|
+
import { DeleteRuleGroupsNamespaceCommandInput, DeleteRuleGroupsNamespaceCommandOutput } from "./commands/DeleteRuleGroupsNamespaceCommand";
|
|
8
|
+
import { DeleteWorkspaceCommandInput, DeleteWorkspaceCommandOutput } from "./commands/DeleteWorkspaceCommand";
|
|
9
|
+
import { DescribeAlertManagerDefinitionCommandInput, DescribeAlertManagerDefinitionCommandOutput } from "./commands/DescribeAlertManagerDefinitionCommand";
|
|
10
|
+
import { DescribeRuleGroupsNamespaceCommandInput, DescribeRuleGroupsNamespaceCommandOutput } from "./commands/DescribeRuleGroupsNamespaceCommand";
|
|
11
|
+
import { DescribeWorkspaceCommandInput, DescribeWorkspaceCommandOutput } from "./commands/DescribeWorkspaceCommand";
|
|
12
|
+
import { ListRuleGroupsNamespacesCommandInput, ListRuleGroupsNamespacesCommandOutput } from "./commands/ListRuleGroupsNamespacesCommand";
|
|
13
|
+
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
14
|
+
import { ListWorkspacesCommandInput, ListWorkspacesCommandOutput } from "./commands/ListWorkspacesCommand";
|
|
15
|
+
import { PutAlertManagerDefinitionCommandInput, PutAlertManagerDefinitionCommandOutput } from "./commands/PutAlertManagerDefinitionCommand";
|
|
16
|
+
import { PutRuleGroupsNamespaceCommandInput, PutRuleGroupsNamespaceCommandOutput } from "./commands/PutRuleGroupsNamespaceCommand";
|
|
17
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
18
|
+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
19
|
+
import { UpdateWorkspaceAliasCommandInput, UpdateWorkspaceAliasCommandOutput } from "./commands/UpdateWorkspaceAliasCommand";
|
|
20
|
+
/**
|
|
21
|
+
* Amazon Managed Service for Prometheus
|
|
22
|
+
*/
|
|
23
|
+
export declare class Amp extends AmpClient {
|
|
24
|
+
/**
|
|
25
|
+
* Create an alert manager definition.
|
|
26
|
+
*/
|
|
27
|
+
createAlertManagerDefinition(args: CreateAlertManagerDefinitionCommandInput, options?: __HttpHandlerOptions): Promise<CreateAlertManagerDefinitionCommandOutput>;
|
|
28
|
+
createAlertManagerDefinition(args: CreateAlertManagerDefinitionCommandInput, cb: (err: any, data?: CreateAlertManagerDefinitionCommandOutput) => void): void;
|
|
29
|
+
createAlertManagerDefinition(args: CreateAlertManagerDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAlertManagerDefinitionCommandOutput) => void): void;
|
|
30
|
+
/**
|
|
31
|
+
* Create a rule group namespace.
|
|
32
|
+
*/
|
|
33
|
+
createRuleGroupsNamespace(args: CreateRuleGroupsNamespaceCommandInput, options?: __HttpHandlerOptions): Promise<CreateRuleGroupsNamespaceCommandOutput>;
|
|
34
|
+
createRuleGroupsNamespace(args: CreateRuleGroupsNamespaceCommandInput, cb: (err: any, data?: CreateRuleGroupsNamespaceCommandOutput) => void): void;
|
|
35
|
+
createRuleGroupsNamespace(args: CreateRuleGroupsNamespaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateRuleGroupsNamespaceCommandOutput) => void): void;
|
|
36
|
+
/**
|
|
37
|
+
* Creates a new AMP workspace.
|
|
38
|
+
*/
|
|
39
|
+
createWorkspace(args: CreateWorkspaceCommandInput, options?: __HttpHandlerOptions): Promise<CreateWorkspaceCommandOutput>;
|
|
40
|
+
createWorkspace(args: CreateWorkspaceCommandInput, cb: (err: any, data?: CreateWorkspaceCommandOutput) => void): void;
|
|
41
|
+
createWorkspace(args: CreateWorkspaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateWorkspaceCommandOutput) => void): void;
|
|
42
|
+
/**
|
|
43
|
+
* Deletes an alert manager definition.
|
|
44
|
+
*/
|
|
45
|
+
deleteAlertManagerDefinition(args: DeleteAlertManagerDefinitionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAlertManagerDefinitionCommandOutput>;
|
|
46
|
+
deleteAlertManagerDefinition(args: DeleteAlertManagerDefinitionCommandInput, cb: (err: any, data?: DeleteAlertManagerDefinitionCommandOutput) => void): void;
|
|
47
|
+
deleteAlertManagerDefinition(args: DeleteAlertManagerDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAlertManagerDefinitionCommandOutput) => void): void;
|
|
48
|
+
/**
|
|
49
|
+
* Delete a rule groups namespace.
|
|
50
|
+
*/
|
|
51
|
+
deleteRuleGroupsNamespace(args: DeleteRuleGroupsNamespaceCommandInput, options?: __HttpHandlerOptions): Promise<DeleteRuleGroupsNamespaceCommandOutput>;
|
|
52
|
+
deleteRuleGroupsNamespace(args: DeleteRuleGroupsNamespaceCommandInput, cb: (err: any, data?: DeleteRuleGroupsNamespaceCommandOutput) => void): void;
|
|
53
|
+
deleteRuleGroupsNamespace(args: DeleteRuleGroupsNamespaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRuleGroupsNamespaceCommandOutput) => void): void;
|
|
54
|
+
/**
|
|
55
|
+
* Deletes an AMP workspace.
|
|
56
|
+
*/
|
|
57
|
+
deleteWorkspace(args: DeleteWorkspaceCommandInput, options?: __HttpHandlerOptions): Promise<DeleteWorkspaceCommandOutput>;
|
|
58
|
+
deleteWorkspace(args: DeleteWorkspaceCommandInput, cb: (err: any, data?: DeleteWorkspaceCommandOutput) => void): void;
|
|
59
|
+
deleteWorkspace(args: DeleteWorkspaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteWorkspaceCommandOutput) => void): void;
|
|
60
|
+
/**
|
|
61
|
+
* Describes an alert manager definition.
|
|
62
|
+
*/
|
|
63
|
+
describeAlertManagerDefinition(args: DescribeAlertManagerDefinitionCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAlertManagerDefinitionCommandOutput>;
|
|
64
|
+
describeAlertManagerDefinition(args: DescribeAlertManagerDefinitionCommandInput, cb: (err: any, data?: DescribeAlertManagerDefinitionCommandOutput) => void): void;
|
|
65
|
+
describeAlertManagerDefinition(args: DescribeAlertManagerDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAlertManagerDefinitionCommandOutput) => void): void;
|
|
66
|
+
/**
|
|
67
|
+
* Describe a rule groups namespace.
|
|
68
|
+
*/
|
|
69
|
+
describeRuleGroupsNamespace(args: DescribeRuleGroupsNamespaceCommandInput, options?: __HttpHandlerOptions): Promise<DescribeRuleGroupsNamespaceCommandOutput>;
|
|
70
|
+
describeRuleGroupsNamespace(args: DescribeRuleGroupsNamespaceCommandInput, cb: (err: any, data?: DescribeRuleGroupsNamespaceCommandOutput) => void): void;
|
|
71
|
+
describeRuleGroupsNamespace(args: DescribeRuleGroupsNamespaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeRuleGroupsNamespaceCommandOutput) => void): void;
|
|
72
|
+
/**
|
|
73
|
+
* Describes an existing AMP workspace.
|
|
74
|
+
*/
|
|
75
|
+
describeWorkspace(args: DescribeWorkspaceCommandInput, options?: __HttpHandlerOptions): Promise<DescribeWorkspaceCommandOutput>;
|
|
76
|
+
describeWorkspace(args: DescribeWorkspaceCommandInput, cb: (err: any, data?: DescribeWorkspaceCommandOutput) => void): void;
|
|
77
|
+
describeWorkspace(args: DescribeWorkspaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeWorkspaceCommandOutput) => void): void;
|
|
78
|
+
/**
|
|
79
|
+
* Lists rule groups namespaces.
|
|
80
|
+
*/
|
|
81
|
+
listRuleGroupsNamespaces(args: ListRuleGroupsNamespacesCommandInput, options?: __HttpHandlerOptions): Promise<ListRuleGroupsNamespacesCommandOutput>;
|
|
82
|
+
listRuleGroupsNamespaces(args: ListRuleGroupsNamespacesCommandInput, cb: (err: any, data?: ListRuleGroupsNamespacesCommandOutput) => void): void;
|
|
83
|
+
listRuleGroupsNamespaces(args: ListRuleGroupsNamespacesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRuleGroupsNamespacesCommandOutput) => void): void;
|
|
84
|
+
/**
|
|
85
|
+
* Lists the tags you have assigned to the resource.
|
|
86
|
+
*/
|
|
87
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
88
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
89
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
90
|
+
/**
|
|
91
|
+
* Lists all AMP workspaces, including workspaces being created or deleted.
|
|
92
|
+
*/
|
|
93
|
+
listWorkspaces(args: ListWorkspacesCommandInput, options?: __HttpHandlerOptions): Promise<ListWorkspacesCommandOutput>;
|
|
94
|
+
listWorkspaces(args: ListWorkspacesCommandInput, cb: (err: any, data?: ListWorkspacesCommandOutput) => void): void;
|
|
95
|
+
listWorkspaces(args: ListWorkspacesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListWorkspacesCommandOutput) => void): void;
|
|
96
|
+
/**
|
|
97
|
+
* Update an alert manager definition.
|
|
98
|
+
*/
|
|
99
|
+
putAlertManagerDefinition(args: PutAlertManagerDefinitionCommandInput, options?: __HttpHandlerOptions): Promise<PutAlertManagerDefinitionCommandOutput>;
|
|
100
|
+
putAlertManagerDefinition(args: PutAlertManagerDefinitionCommandInput, cb: (err: any, data?: PutAlertManagerDefinitionCommandOutput) => void): void;
|
|
101
|
+
putAlertManagerDefinition(args: PutAlertManagerDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutAlertManagerDefinitionCommandOutput) => void): void;
|
|
102
|
+
/**
|
|
103
|
+
* Update a rule groups namespace.
|
|
104
|
+
*/
|
|
105
|
+
putRuleGroupsNamespace(args: PutRuleGroupsNamespaceCommandInput, options?: __HttpHandlerOptions): Promise<PutRuleGroupsNamespaceCommandOutput>;
|
|
106
|
+
putRuleGroupsNamespace(args: PutRuleGroupsNamespaceCommandInput, cb: (err: any, data?: PutRuleGroupsNamespaceCommandOutput) => void): void;
|
|
107
|
+
putRuleGroupsNamespace(args: PutRuleGroupsNamespaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutRuleGroupsNamespaceCommandOutput) => void): void;
|
|
108
|
+
/**
|
|
109
|
+
* Creates tags for the specified resource.
|
|
110
|
+
*/
|
|
111
|
+
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
112
|
+
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
113
|
+
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
114
|
+
/**
|
|
115
|
+
* Deletes tags from the specified resource.
|
|
116
|
+
*/
|
|
117
|
+
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
118
|
+
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
119
|
+
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
120
|
+
/**
|
|
121
|
+
* Updates an AMP workspace alias.
|
|
122
|
+
*/
|
|
123
|
+
updateWorkspaceAlias(args: UpdateWorkspaceAliasCommandInput, options?: __HttpHandlerOptions): Promise<UpdateWorkspaceAliasCommandOutput>;
|
|
124
|
+
updateWorkspaceAlias(args: UpdateWorkspaceAliasCommandInput, cb: (err: any, data?: UpdateWorkspaceAliasCommandOutput) => void): void;
|
|
125
|
+
updateWorkspaceAlias(args: UpdateWorkspaceAliasCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateWorkspaceAliasCommandOutput) => void): void;
|
|
126
|
+
}
|
|
@@ -1,140 +1,149 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
*
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
*
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
*
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
*
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
*
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
*
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
*
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
*
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
*
|
|
77
|
-
*/
|
|
78
|
-
|
|
79
|
-
/**
|
|
80
|
-
*
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
*
|
|
90
|
-
*/
|
|
91
|
-
|
|
92
|
-
/**
|
|
93
|
-
*
|
|
94
|
-
*/
|
|
95
|
-
|
|
96
|
-
/**
|
|
97
|
-
*
|
|
98
|
-
* @internal
|
|
99
|
-
*/
|
|
100
|
-
|
|
101
|
-
/**
|
|
102
|
-
*
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
*
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
1
|
+
import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
|
|
2
|
+
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
3
|
+
import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
4
|
+
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
|
+
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
|
+
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
+
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
+
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
|
+
import { CreateAlertManagerDefinitionCommandInput, CreateAlertManagerDefinitionCommandOutput } from "./commands/CreateAlertManagerDefinitionCommand";
|
|
10
|
+
import { CreateRuleGroupsNamespaceCommandInput, CreateRuleGroupsNamespaceCommandOutput } from "./commands/CreateRuleGroupsNamespaceCommand";
|
|
11
|
+
import { CreateWorkspaceCommandInput, CreateWorkspaceCommandOutput } from "./commands/CreateWorkspaceCommand";
|
|
12
|
+
import { DeleteAlertManagerDefinitionCommandInput, DeleteAlertManagerDefinitionCommandOutput } from "./commands/DeleteAlertManagerDefinitionCommand";
|
|
13
|
+
import { DeleteRuleGroupsNamespaceCommandInput, DeleteRuleGroupsNamespaceCommandOutput } from "./commands/DeleteRuleGroupsNamespaceCommand";
|
|
14
|
+
import { DeleteWorkspaceCommandInput, DeleteWorkspaceCommandOutput } from "./commands/DeleteWorkspaceCommand";
|
|
15
|
+
import { DescribeAlertManagerDefinitionCommandInput, DescribeAlertManagerDefinitionCommandOutput } from "./commands/DescribeAlertManagerDefinitionCommand";
|
|
16
|
+
import { DescribeRuleGroupsNamespaceCommandInput, DescribeRuleGroupsNamespaceCommandOutput } from "./commands/DescribeRuleGroupsNamespaceCommand";
|
|
17
|
+
import { DescribeWorkspaceCommandInput, DescribeWorkspaceCommandOutput } from "./commands/DescribeWorkspaceCommand";
|
|
18
|
+
import { ListRuleGroupsNamespacesCommandInput, ListRuleGroupsNamespacesCommandOutput } from "./commands/ListRuleGroupsNamespacesCommand";
|
|
19
|
+
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
20
|
+
import { ListWorkspacesCommandInput, ListWorkspacesCommandOutput } from "./commands/ListWorkspacesCommand";
|
|
21
|
+
import { PutAlertManagerDefinitionCommandInput, PutAlertManagerDefinitionCommandOutput } from "./commands/PutAlertManagerDefinitionCommand";
|
|
22
|
+
import { PutRuleGroupsNamespaceCommandInput, PutRuleGroupsNamespaceCommandOutput } from "./commands/PutRuleGroupsNamespaceCommand";
|
|
23
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
24
|
+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
25
|
+
import { UpdateWorkspaceAliasCommandInput, UpdateWorkspaceAliasCommandOutput } from "./commands/UpdateWorkspaceAliasCommand";
|
|
26
|
+
export declare type ServiceInputTypes = CreateAlertManagerDefinitionCommandInput | CreateRuleGroupsNamespaceCommandInput | CreateWorkspaceCommandInput | DeleteAlertManagerDefinitionCommandInput | DeleteRuleGroupsNamespaceCommandInput | DeleteWorkspaceCommandInput | DescribeAlertManagerDefinitionCommandInput | DescribeRuleGroupsNamespaceCommandInput | DescribeWorkspaceCommandInput | ListRuleGroupsNamespacesCommandInput | ListTagsForResourceCommandInput | ListWorkspacesCommandInput | PutAlertManagerDefinitionCommandInput | PutRuleGroupsNamespaceCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateWorkspaceAliasCommandInput;
|
|
27
|
+
export declare type ServiceOutputTypes = CreateAlertManagerDefinitionCommandOutput | CreateRuleGroupsNamespaceCommandOutput | CreateWorkspaceCommandOutput | DeleteAlertManagerDefinitionCommandOutput | DeleteRuleGroupsNamespaceCommandOutput | DeleteWorkspaceCommandOutput | DescribeAlertManagerDefinitionCommandOutput | DescribeRuleGroupsNamespaceCommandOutput | DescribeWorkspaceCommandOutput | ListRuleGroupsNamespacesCommandOutput | ListTagsForResourceCommandOutput | ListWorkspacesCommandOutput | PutAlertManagerDefinitionCommandOutput | PutRuleGroupsNamespaceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateWorkspaceAliasCommandOutput;
|
|
28
|
+
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
29
|
+
/**
|
|
30
|
+
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
31
|
+
*/
|
|
32
|
+
requestHandler?: __HttpHandler;
|
|
33
|
+
/**
|
|
34
|
+
* A constructor for a class implementing the {@link __Hash} interface
|
|
35
|
+
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
36
|
+
* @internal
|
|
37
|
+
*/
|
|
38
|
+
sha256?: __HashConstructor;
|
|
39
|
+
/**
|
|
40
|
+
* The function that will be used to convert strings into HTTP endpoints.
|
|
41
|
+
* @internal
|
|
42
|
+
*/
|
|
43
|
+
urlParser?: __UrlParser;
|
|
44
|
+
/**
|
|
45
|
+
* A function that can calculate the length of a request body.
|
|
46
|
+
* @internal
|
|
47
|
+
*/
|
|
48
|
+
bodyLengthChecker?: (body: any) => number | undefined;
|
|
49
|
+
/**
|
|
50
|
+
* A function that converts a stream into an array of bytes.
|
|
51
|
+
* @internal
|
|
52
|
+
*/
|
|
53
|
+
streamCollector?: __StreamCollector;
|
|
54
|
+
/**
|
|
55
|
+
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
56
|
+
* @internal
|
|
57
|
+
*/
|
|
58
|
+
base64Decoder?: __Decoder;
|
|
59
|
+
/**
|
|
60
|
+
* The function that will be used to convert binary data to a base64-encoded string.
|
|
61
|
+
* @internal
|
|
62
|
+
*/
|
|
63
|
+
base64Encoder?: __Encoder;
|
|
64
|
+
/**
|
|
65
|
+
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
66
|
+
* @internal
|
|
67
|
+
*/
|
|
68
|
+
utf8Decoder?: __Decoder;
|
|
69
|
+
/**
|
|
70
|
+
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
71
|
+
* @internal
|
|
72
|
+
*/
|
|
73
|
+
utf8Encoder?: __Encoder;
|
|
74
|
+
/**
|
|
75
|
+
* The runtime environment.
|
|
76
|
+
* @internal
|
|
77
|
+
*/
|
|
78
|
+
runtime?: string;
|
|
79
|
+
/**
|
|
80
|
+
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
|
|
81
|
+
* trait of an operation.
|
|
82
|
+
*/
|
|
83
|
+
disableHostPrefix?: boolean;
|
|
84
|
+
/**
|
|
85
|
+
* Value for how many times a request will be made at most in case of retry.
|
|
86
|
+
*/
|
|
87
|
+
maxAttempts?: number | __Provider<number>;
|
|
88
|
+
/**
|
|
89
|
+
* Specifies which retry algorithm to use.
|
|
90
|
+
*/
|
|
91
|
+
retryMode?: string | __Provider<string>;
|
|
92
|
+
/**
|
|
93
|
+
* Optional logger for logging debug/info/warn/error.
|
|
94
|
+
*/
|
|
95
|
+
logger?: __Logger;
|
|
96
|
+
/**
|
|
97
|
+
* Unique service identifier.
|
|
98
|
+
* @internal
|
|
99
|
+
*/
|
|
100
|
+
serviceId?: string;
|
|
101
|
+
/**
|
|
102
|
+
* The AWS region to which this client will send requests
|
|
103
|
+
*/
|
|
104
|
+
region?: string | __Provider<string>;
|
|
105
|
+
/**
|
|
106
|
+
* Default credentials provider; Not available in browser runtime.
|
|
107
|
+
* @internal
|
|
108
|
+
*/
|
|
109
|
+
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
110
|
+
/**
|
|
111
|
+
* Fetch related hostname, signing name or signing region with given region.
|
|
112
|
+
* @internal
|
|
113
|
+
*/
|
|
114
|
+
regionInfoProvider?: RegionInfoProvider;
|
|
115
|
+
/**
|
|
116
|
+
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
117
|
+
* @internal
|
|
118
|
+
*/
|
|
119
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
120
|
+
}
|
|
121
|
+
declare type AmpClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
122
|
+
/**
|
|
123
|
+
* The configuration interface of AmpClient class constructor that set the region, credentials and other options.
|
|
124
|
+
*/
|
|
125
|
+
export interface AmpClientConfig extends AmpClientConfigType {
|
|
126
|
+
}
|
|
127
|
+
declare type AmpClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
|
|
128
|
+
/**
|
|
129
|
+
* The resolved configuration interface of AmpClient class. This is resolved and normalized from the {@link AmpClientConfig | constructor configuration interface}.
|
|
130
|
+
*/
|
|
131
|
+
export interface AmpClientResolvedConfig extends AmpClientResolvedConfigType {
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* Amazon Managed Service for Prometheus
|
|
135
|
+
*/
|
|
136
|
+
export declare class AmpClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, AmpClientResolvedConfig> {
|
|
137
|
+
/**
|
|
138
|
+
* The resolved configuration of AmpClient class. This is resolved and normalized from the {@link AmpClientConfig | constructor configuration interface}.
|
|
139
|
+
*/
|
|
140
|
+
readonly config: AmpClientResolvedConfig;
|
|
141
|
+
constructor(configuration: AmpClientConfig);
|
|
142
|
+
/**
|
|
143
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
144
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
145
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
146
|
+
*/
|
|
147
|
+
destroy(): void;
|
|
148
|
+
}
|
|
149
|
+
export {};
|