@aws-sdk/client-amp 3.312.0 → 3.316.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/dist-cjs/Amp.js +25 -294
- package/dist-cjs/protocols/Aws_restJson1.js +249 -359
- package/dist-es/Amp.js +25 -294
- package/dist-es/protocols/Aws_restJson1.js +215 -325
- package/dist-types/Amp.d.ts +28 -47
- package/dist-types/ts3.4/Amp.d.ts +2 -1
- package/package.json +6 -6
package/dist-types/Amp.d.ts
CHANGED
|
@@ -21,156 +21,137 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta
|
|
|
21
21
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
22
22
|
import { UpdateLoggingConfigurationCommandInput, UpdateLoggingConfigurationCommandOutput } from "./commands/UpdateLoggingConfigurationCommand";
|
|
23
23
|
import { UpdateWorkspaceAliasCommandInput, UpdateWorkspaceAliasCommandOutput } from "./commands/UpdateWorkspaceAliasCommand";
|
|
24
|
-
|
|
25
|
-
* @public
|
|
26
|
-
* Amazon Managed Service for Prometheus
|
|
27
|
-
*/
|
|
28
|
-
export declare class Amp extends AmpClient {
|
|
24
|
+
export interface Amp {
|
|
29
25
|
/**
|
|
30
|
-
* @
|
|
31
|
-
* Create an alert manager definition.
|
|
26
|
+
* @see {@link CreateAlertManagerDefinitionCommand}
|
|
32
27
|
*/
|
|
33
28
|
createAlertManagerDefinition(args: CreateAlertManagerDefinitionCommandInput, options?: __HttpHandlerOptions): Promise<CreateAlertManagerDefinitionCommandOutput>;
|
|
34
29
|
createAlertManagerDefinition(args: CreateAlertManagerDefinitionCommandInput, cb: (err: any, data?: CreateAlertManagerDefinitionCommandOutput) => void): void;
|
|
35
30
|
createAlertManagerDefinition(args: CreateAlertManagerDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAlertManagerDefinitionCommandOutput) => void): void;
|
|
36
31
|
/**
|
|
37
|
-
* @
|
|
38
|
-
* Create logging configuration.
|
|
32
|
+
* @see {@link CreateLoggingConfigurationCommand}
|
|
39
33
|
*/
|
|
40
34
|
createLoggingConfiguration(args: CreateLoggingConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<CreateLoggingConfigurationCommandOutput>;
|
|
41
35
|
createLoggingConfiguration(args: CreateLoggingConfigurationCommandInput, cb: (err: any, data?: CreateLoggingConfigurationCommandOutput) => void): void;
|
|
42
36
|
createLoggingConfiguration(args: CreateLoggingConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateLoggingConfigurationCommandOutput) => void): void;
|
|
43
37
|
/**
|
|
44
|
-
* @
|
|
45
|
-
* Create a rule group namespace.
|
|
38
|
+
* @see {@link CreateRuleGroupsNamespaceCommand}
|
|
46
39
|
*/
|
|
47
40
|
createRuleGroupsNamespace(args: CreateRuleGroupsNamespaceCommandInput, options?: __HttpHandlerOptions): Promise<CreateRuleGroupsNamespaceCommandOutput>;
|
|
48
41
|
createRuleGroupsNamespace(args: CreateRuleGroupsNamespaceCommandInput, cb: (err: any, data?: CreateRuleGroupsNamespaceCommandOutput) => void): void;
|
|
49
42
|
createRuleGroupsNamespace(args: CreateRuleGroupsNamespaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateRuleGroupsNamespaceCommandOutput) => void): void;
|
|
50
43
|
/**
|
|
51
|
-
* @
|
|
52
|
-
* Creates a new AMP workspace.
|
|
44
|
+
* @see {@link CreateWorkspaceCommand}
|
|
53
45
|
*/
|
|
54
46
|
createWorkspace(args: CreateWorkspaceCommandInput, options?: __HttpHandlerOptions): Promise<CreateWorkspaceCommandOutput>;
|
|
55
47
|
createWorkspace(args: CreateWorkspaceCommandInput, cb: (err: any, data?: CreateWorkspaceCommandOutput) => void): void;
|
|
56
48
|
createWorkspace(args: CreateWorkspaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateWorkspaceCommandOutput) => void): void;
|
|
57
49
|
/**
|
|
58
|
-
* @
|
|
59
|
-
* Deletes an alert manager definition.
|
|
50
|
+
* @see {@link DeleteAlertManagerDefinitionCommand}
|
|
60
51
|
*/
|
|
61
52
|
deleteAlertManagerDefinition(args: DeleteAlertManagerDefinitionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAlertManagerDefinitionCommandOutput>;
|
|
62
53
|
deleteAlertManagerDefinition(args: DeleteAlertManagerDefinitionCommandInput, cb: (err: any, data?: DeleteAlertManagerDefinitionCommandOutput) => void): void;
|
|
63
54
|
deleteAlertManagerDefinition(args: DeleteAlertManagerDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAlertManagerDefinitionCommandOutput) => void): void;
|
|
64
55
|
/**
|
|
65
|
-
* @
|
|
66
|
-
* Delete logging configuration.
|
|
56
|
+
* @see {@link DeleteLoggingConfigurationCommand}
|
|
67
57
|
*/
|
|
68
58
|
deleteLoggingConfiguration(args: DeleteLoggingConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteLoggingConfigurationCommandOutput>;
|
|
69
59
|
deleteLoggingConfiguration(args: DeleteLoggingConfigurationCommandInput, cb: (err: any, data?: DeleteLoggingConfigurationCommandOutput) => void): void;
|
|
70
60
|
deleteLoggingConfiguration(args: DeleteLoggingConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteLoggingConfigurationCommandOutput) => void): void;
|
|
71
61
|
/**
|
|
72
|
-
* @
|
|
73
|
-
* Delete a rule groups namespace.
|
|
62
|
+
* @see {@link DeleteRuleGroupsNamespaceCommand}
|
|
74
63
|
*/
|
|
75
64
|
deleteRuleGroupsNamespace(args: DeleteRuleGroupsNamespaceCommandInput, options?: __HttpHandlerOptions): Promise<DeleteRuleGroupsNamespaceCommandOutput>;
|
|
76
65
|
deleteRuleGroupsNamespace(args: DeleteRuleGroupsNamespaceCommandInput, cb: (err: any, data?: DeleteRuleGroupsNamespaceCommandOutput) => void): void;
|
|
77
66
|
deleteRuleGroupsNamespace(args: DeleteRuleGroupsNamespaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRuleGroupsNamespaceCommandOutput) => void): void;
|
|
78
67
|
/**
|
|
79
|
-
* @
|
|
80
|
-
* Deletes an AMP workspace.
|
|
68
|
+
* @see {@link DeleteWorkspaceCommand}
|
|
81
69
|
*/
|
|
82
70
|
deleteWorkspace(args: DeleteWorkspaceCommandInput, options?: __HttpHandlerOptions): Promise<DeleteWorkspaceCommandOutput>;
|
|
83
71
|
deleteWorkspace(args: DeleteWorkspaceCommandInput, cb: (err: any, data?: DeleteWorkspaceCommandOutput) => void): void;
|
|
84
72
|
deleteWorkspace(args: DeleteWorkspaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteWorkspaceCommandOutput) => void): void;
|
|
85
73
|
/**
|
|
86
|
-
* @
|
|
87
|
-
* Describes an alert manager definition.
|
|
74
|
+
* @see {@link DescribeAlertManagerDefinitionCommand}
|
|
88
75
|
*/
|
|
89
76
|
describeAlertManagerDefinition(args: DescribeAlertManagerDefinitionCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAlertManagerDefinitionCommandOutput>;
|
|
90
77
|
describeAlertManagerDefinition(args: DescribeAlertManagerDefinitionCommandInput, cb: (err: any, data?: DescribeAlertManagerDefinitionCommandOutput) => void): void;
|
|
91
78
|
describeAlertManagerDefinition(args: DescribeAlertManagerDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAlertManagerDefinitionCommandOutput) => void): void;
|
|
92
79
|
/**
|
|
93
|
-
* @
|
|
94
|
-
* Describes logging configuration.
|
|
80
|
+
* @see {@link DescribeLoggingConfigurationCommand}
|
|
95
81
|
*/
|
|
96
82
|
describeLoggingConfiguration(args: DescribeLoggingConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<DescribeLoggingConfigurationCommandOutput>;
|
|
97
83
|
describeLoggingConfiguration(args: DescribeLoggingConfigurationCommandInput, cb: (err: any, data?: DescribeLoggingConfigurationCommandOutput) => void): void;
|
|
98
84
|
describeLoggingConfiguration(args: DescribeLoggingConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeLoggingConfigurationCommandOutput) => void): void;
|
|
99
85
|
/**
|
|
100
|
-
* @
|
|
101
|
-
* Describe a rule groups namespace.
|
|
86
|
+
* @see {@link DescribeRuleGroupsNamespaceCommand}
|
|
102
87
|
*/
|
|
103
88
|
describeRuleGroupsNamespace(args: DescribeRuleGroupsNamespaceCommandInput, options?: __HttpHandlerOptions): Promise<DescribeRuleGroupsNamespaceCommandOutput>;
|
|
104
89
|
describeRuleGroupsNamespace(args: DescribeRuleGroupsNamespaceCommandInput, cb: (err: any, data?: DescribeRuleGroupsNamespaceCommandOutput) => void): void;
|
|
105
90
|
describeRuleGroupsNamespace(args: DescribeRuleGroupsNamespaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeRuleGroupsNamespaceCommandOutput) => void): void;
|
|
106
91
|
/**
|
|
107
|
-
* @
|
|
108
|
-
* Describes an existing AMP workspace.
|
|
92
|
+
* @see {@link DescribeWorkspaceCommand}
|
|
109
93
|
*/
|
|
110
94
|
describeWorkspace(args: DescribeWorkspaceCommandInput, options?: __HttpHandlerOptions): Promise<DescribeWorkspaceCommandOutput>;
|
|
111
95
|
describeWorkspace(args: DescribeWorkspaceCommandInput, cb: (err: any, data?: DescribeWorkspaceCommandOutput) => void): void;
|
|
112
96
|
describeWorkspace(args: DescribeWorkspaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeWorkspaceCommandOutput) => void): void;
|
|
113
97
|
/**
|
|
114
|
-
* @
|
|
115
|
-
* Lists rule groups namespaces.
|
|
98
|
+
* @see {@link ListRuleGroupsNamespacesCommand}
|
|
116
99
|
*/
|
|
117
100
|
listRuleGroupsNamespaces(args: ListRuleGroupsNamespacesCommandInput, options?: __HttpHandlerOptions): Promise<ListRuleGroupsNamespacesCommandOutput>;
|
|
118
101
|
listRuleGroupsNamespaces(args: ListRuleGroupsNamespacesCommandInput, cb: (err: any, data?: ListRuleGroupsNamespacesCommandOutput) => void): void;
|
|
119
102
|
listRuleGroupsNamespaces(args: ListRuleGroupsNamespacesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRuleGroupsNamespacesCommandOutput) => void): void;
|
|
120
103
|
/**
|
|
121
|
-
* @
|
|
122
|
-
* Lists the tags you have assigned to the resource.
|
|
104
|
+
* @see {@link ListTagsForResourceCommand}
|
|
123
105
|
*/
|
|
124
106
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
125
107
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
126
108
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
127
109
|
/**
|
|
128
|
-
* @
|
|
129
|
-
* Lists all AMP workspaces, including workspaces being created or deleted.
|
|
110
|
+
* @see {@link ListWorkspacesCommand}
|
|
130
111
|
*/
|
|
131
112
|
listWorkspaces(args: ListWorkspacesCommandInput, options?: __HttpHandlerOptions): Promise<ListWorkspacesCommandOutput>;
|
|
132
113
|
listWorkspaces(args: ListWorkspacesCommandInput, cb: (err: any, data?: ListWorkspacesCommandOutput) => void): void;
|
|
133
114
|
listWorkspaces(args: ListWorkspacesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListWorkspacesCommandOutput) => void): void;
|
|
134
115
|
/**
|
|
135
|
-
* @
|
|
136
|
-
* Update an alert manager definition.
|
|
116
|
+
* @see {@link PutAlertManagerDefinitionCommand}
|
|
137
117
|
*/
|
|
138
118
|
putAlertManagerDefinition(args: PutAlertManagerDefinitionCommandInput, options?: __HttpHandlerOptions): Promise<PutAlertManagerDefinitionCommandOutput>;
|
|
139
119
|
putAlertManagerDefinition(args: PutAlertManagerDefinitionCommandInput, cb: (err: any, data?: PutAlertManagerDefinitionCommandOutput) => void): void;
|
|
140
120
|
putAlertManagerDefinition(args: PutAlertManagerDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutAlertManagerDefinitionCommandOutput) => void): void;
|
|
141
121
|
/**
|
|
142
|
-
* @
|
|
143
|
-
* Update a rule groups namespace.
|
|
122
|
+
* @see {@link PutRuleGroupsNamespaceCommand}
|
|
144
123
|
*/
|
|
145
124
|
putRuleGroupsNamespace(args: PutRuleGroupsNamespaceCommandInput, options?: __HttpHandlerOptions): Promise<PutRuleGroupsNamespaceCommandOutput>;
|
|
146
125
|
putRuleGroupsNamespace(args: PutRuleGroupsNamespaceCommandInput, cb: (err: any, data?: PutRuleGroupsNamespaceCommandOutput) => void): void;
|
|
147
126
|
putRuleGroupsNamespace(args: PutRuleGroupsNamespaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutRuleGroupsNamespaceCommandOutput) => void): void;
|
|
148
127
|
/**
|
|
149
|
-
* @
|
|
150
|
-
* Creates tags for the specified resource.
|
|
128
|
+
* @see {@link TagResourceCommand}
|
|
151
129
|
*/
|
|
152
130
|
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
153
131
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
154
132
|
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
155
133
|
/**
|
|
156
|
-
* @
|
|
157
|
-
* Deletes tags from the specified resource.
|
|
134
|
+
* @see {@link UntagResourceCommand}
|
|
158
135
|
*/
|
|
159
136
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
160
137
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
161
138
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
162
139
|
/**
|
|
163
|
-
* @
|
|
164
|
-
* Update logging configuration.
|
|
140
|
+
* @see {@link UpdateLoggingConfigurationCommand}
|
|
165
141
|
*/
|
|
166
142
|
updateLoggingConfiguration(args: UpdateLoggingConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateLoggingConfigurationCommandOutput>;
|
|
167
143
|
updateLoggingConfiguration(args: UpdateLoggingConfigurationCommandInput, cb: (err: any, data?: UpdateLoggingConfigurationCommandOutput) => void): void;
|
|
168
144
|
updateLoggingConfiguration(args: UpdateLoggingConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateLoggingConfigurationCommandOutput) => void): void;
|
|
169
145
|
/**
|
|
170
|
-
* @
|
|
171
|
-
* Updates an AMP workspace alias.
|
|
146
|
+
* @see {@link UpdateWorkspaceAliasCommand}
|
|
172
147
|
*/
|
|
173
148
|
updateWorkspaceAlias(args: UpdateWorkspaceAliasCommandInput, options?: __HttpHandlerOptions): Promise<UpdateWorkspaceAliasCommandOutput>;
|
|
174
149
|
updateWorkspaceAlias(args: UpdateWorkspaceAliasCommandInput, cb: (err: any, data?: UpdateWorkspaceAliasCommandOutput) => void): void;
|
|
175
150
|
updateWorkspaceAlias(args: UpdateWorkspaceAliasCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateWorkspaceAliasCommandOutput) => void): void;
|
|
176
151
|
}
|
|
152
|
+
/**
|
|
153
|
+
* @public
|
|
154
|
+
* Amazon Managed Service for Prometheus
|
|
155
|
+
*/
|
|
156
|
+
export declare class Amp extends AmpClient implements Amp {
|
|
157
|
+
}
|
|
@@ -84,7 +84,7 @@ import {
|
|
|
84
84
|
UpdateWorkspaceAliasCommandInput,
|
|
85
85
|
UpdateWorkspaceAliasCommandOutput,
|
|
86
86
|
} from "./commands/UpdateWorkspaceAliasCommand";
|
|
87
|
-
export
|
|
87
|
+
export interface Amp {
|
|
88
88
|
createAlertManagerDefinition(
|
|
89
89
|
args: CreateAlertManagerDefinitionCommandInput,
|
|
90
90
|
options?: __HttpHandlerOptions
|
|
@@ -359,3 +359,4 @@ export declare class Amp extends AmpClient {
|
|
|
359
359
|
cb: (err: any, data?: UpdateWorkspaceAliasCommandOutput) => void
|
|
360
360
|
): void;
|
|
361
361
|
}
|
|
362
|
+
export declare class Amp extends AmpClient implements Amp {}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-amp",
|
|
3
3
|
"description": "AWS SDK for JavaScript Amp Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.316.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.316.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.316.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
@@ -40,14 +40,14 @@
|
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.310.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
+
"@aws-sdk/smithy-client": "3.316.0",
|
|
44
44
|
"@aws-sdk/types": "3.310.0",
|
|
45
45
|
"@aws-sdk/url-parser": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-base64": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.316.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.316.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.310.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.310.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|