@aws-sdk/client-amp 3.50.0 → 3.53.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/index.js +3 -0
  3. package/dist-cjs/models/AmpServiceException.js +11 -0
  4. package/dist-cjs/models/models_0.js +109 -1
  5. package/dist-cjs/protocols/Aws_restJson1.js +216 -826
  6. package/dist-es/index.js +1 -0
  7. package/dist-es/models/AmpServiceException.js +12 -0
  8. package/dist-es/models/models_0.js +102 -1
  9. package/dist-es/protocols/Aws_restJson1.js +437 -902
  10. package/dist-types/index.d.ts +1 -0
  11. package/dist-types/models/AmpServiceException.d.ts +10 -0
  12. package/dist-types/models/models_0.d.ts +49 -48
  13. package/dist-types/ts3.4/Amp.d.ts +90 -0
  14. package/dist-types/ts3.4/AmpClient.d.ts +90 -0
  15. package/dist-types/ts3.4/commands/CreateAlertManagerDefinitionCommand.d.ts +17 -0
  16. package/dist-types/ts3.4/commands/CreateRuleGroupsNamespaceCommand.d.ts +17 -0
  17. package/dist-types/ts3.4/commands/CreateWorkspaceCommand.d.ts +17 -0
  18. package/dist-types/ts3.4/commands/DeleteAlertManagerDefinitionCommand.d.ts +17 -0
  19. package/dist-types/ts3.4/commands/DeleteRuleGroupsNamespaceCommand.d.ts +17 -0
  20. package/dist-types/ts3.4/commands/DeleteWorkspaceCommand.d.ts +17 -0
  21. package/dist-types/ts3.4/commands/DescribeAlertManagerDefinitionCommand.d.ts +17 -0
  22. package/dist-types/ts3.4/commands/DescribeRuleGroupsNamespaceCommand.d.ts +17 -0
  23. package/dist-types/ts3.4/commands/DescribeWorkspaceCommand.d.ts +17 -0
  24. package/dist-types/ts3.4/commands/ListRuleGroupsNamespacesCommand.d.ts +17 -0
  25. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
  26. package/dist-types/ts3.4/commands/ListWorkspacesCommand.d.ts +17 -0
  27. package/dist-types/ts3.4/commands/PutAlertManagerDefinitionCommand.d.ts +17 -0
  28. package/dist-types/ts3.4/commands/PutRuleGroupsNamespaceCommand.d.ts +17 -0
  29. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  30. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  31. package/dist-types/ts3.4/commands/UpdateWorkspaceAliasCommand.d.ts +17 -0
  32. package/dist-types/ts3.4/commands/index.d.ts +17 -0
  33. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  34. package/dist-types/ts3.4/index.d.ts +7 -0
  35. package/dist-types/ts3.4/models/AmpServiceException.d.ts +6 -0
  36. package/dist-types/ts3.4/models/index.d.ts +1 -0
  37. package/dist-types/ts3.4/models/models_0.d.ts +622 -0
  38. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  39. package/dist-types/ts3.4/pagination/ListRuleGroupsNamespacesPaginator.d.ts +4 -0
  40. package/dist-types/ts3.4/pagination/ListWorkspacesPaginator.d.ts +4 -0
  41. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  42. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +53 -0
  43. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  44. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  45. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  46. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  47. package/dist-types/ts3.4/waiters/index.d.ts +2 -0
  48. package/dist-types/ts3.4/waiters/waitForWorkspaceActive.d.ts +7 -0
  49. package/dist-types/ts3.4/waiters/waitForWorkspaceDeleted.d.ts +7 -0
  50. package/package.json +34 -34
@@ -4,3 +4,4 @@ export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
6
  export * from "./waiters";
7
+ export { AmpServiceException } from "./models/AmpServiceException";
@@ -0,0 +1,10 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+ /**
3
+ * Base exception class for all service exceptions from Amp service.
4
+ */
5
+ export declare class AmpServiceException extends __ServiceException {
6
+ /**
7
+ * @internal
8
+ */
9
+ constructor(options: __ServiceExceptionOptions);
10
+ }
@@ -1,25 +1,22 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { AmpServiceException as __BaseException } from "./AmpServiceException";
2
3
  /**
3
4
  * User does not have sufficient access to perform this action.
4
5
  */
5
- export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
6
- name: "AccessDeniedException";
7
- $fault: "client";
6
+ export declare class AccessDeniedException extends __BaseException {
7
+ readonly name: "AccessDeniedException";
8
+ readonly $fault: "client";
8
9
  /**
9
- * Description of the error.
10
+ * @internal
10
11
  */
11
- message: string | undefined;
12
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
12
13
  }
13
14
  /**
14
15
  * Updating or deleting a resource can cause an inconsistent state.
15
16
  */
16
- export interface ConflictException extends __SmithyException, $MetadataBearer {
17
- name: "ConflictException";
18
- $fault: "client";
19
- /**
20
- * Description of the error.
21
- */
22
- message: string | undefined;
17
+ export declare class ConflictException extends __BaseException {
18
+ readonly name: "ConflictException";
19
+ readonly $fault: "client";
23
20
  /**
24
21
  * Identifier of the resource affected.
25
22
  */
@@ -28,6 +25,10 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
28
25
  * Type of the resource affected.
29
26
  */
30
27
  resourceType: string | undefined;
28
+ /**
29
+ * @internal
30
+ */
31
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
31
32
  }
32
33
  /**
33
34
  * Represents the input of a CreateAlertManagerDefinition operation.
@@ -115,29 +116,25 @@ export declare namespace CreateAlertManagerDefinitionResponse {
115
116
  /**
116
117
  * Unexpected error during processing of request.
117
118
  */
118
- export interface InternalServerException extends __SmithyException, $MetadataBearer {
119
- name: "InternalServerException";
120
- $fault: "server";
119
+ export declare class InternalServerException extends __BaseException {
120
+ readonly name: "InternalServerException";
121
+ readonly $fault: "server";
121
122
  $retryable: {};
122
- /**
123
- * Description of the error.
124
- */
125
- message: string | undefined;
126
123
  /**
127
124
  * Advice to clients on when the call can be safely retried.
128
125
  */
129
126
  retryAfterSeconds?: number;
127
+ /**
128
+ * @internal
129
+ */
130
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
130
131
  }
131
132
  /**
132
133
  * Request references a resource which does not exist.
133
134
  */
134
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
135
- name: "ResourceNotFoundException";
136
- $fault: "client";
137
- /**
138
- * Description of the error.
139
- */
140
- message: string | undefined;
135
+ export declare class ResourceNotFoundException extends __BaseException {
136
+ readonly name: "ResourceNotFoundException";
137
+ readonly $fault: "client";
141
138
  /**
142
139
  * Identifier of the resource affected.
143
140
  */
@@ -146,17 +143,17 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
146
143
  * Type of the resource affected.
147
144
  */
148
145
  resourceType: string | undefined;
146
+ /**
147
+ * @internal
148
+ */
149
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
149
150
  }
150
151
  /**
151
152
  * Request would cause a service quota to be exceeded.
152
153
  */
153
- export interface ServiceQuotaExceededException extends __SmithyException, $MetadataBearer {
154
- name: "ServiceQuotaExceededException";
155
- $fault: "client";
156
- /**
157
- * Description of the error.
158
- */
159
- message: string | undefined;
154
+ export declare class ServiceQuotaExceededException extends __BaseException {
155
+ readonly name: "ServiceQuotaExceededException";
156
+ readonly $fault: "client";
160
157
  /**
161
158
  * Identifier of the resource affected.
162
159
  */
@@ -173,18 +170,18 @@ export interface ServiceQuotaExceededException extends __SmithyException, $Metad
173
170
  * Service Quotas requirement to identify originating quota.
174
171
  */
175
172
  quotaCode: string | undefined;
173
+ /**
174
+ * @internal
175
+ */
176
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
176
177
  }
177
178
  /**
178
179
  * Request was denied due to request throttling.
179
180
  */
180
- export interface ThrottlingException extends __SmithyException, $MetadataBearer {
181
- name: "ThrottlingException";
182
- $fault: "client";
181
+ export declare class ThrottlingException extends __BaseException {
182
+ readonly name: "ThrottlingException";
183
+ readonly $fault: "client";
183
184
  $retryable: {};
184
- /**
185
- * Description of the error.
186
- */
187
- message: string | undefined;
188
185
  /**
189
186
  * Service Quotas requirement to identify originating service.
190
187
  */
@@ -197,6 +194,10 @@ export interface ThrottlingException extends __SmithyException, $MetadataBearer
197
194
  * Advice to clients on when the call can be safely retried.
198
195
  */
199
196
  retryAfterSeconds?: number;
197
+ /**
198
+ * @internal
199
+ */
200
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
200
201
  }
201
202
  /**
202
203
  * Stores information about a field passed inside a request that resulted in an exception.
@@ -226,13 +227,9 @@ export declare enum ValidationExceptionReason {
226
227
  /**
227
228
  * The input fails to satisfy the constraints specified by an AWS service.
228
229
  */
229
- export interface ValidationException extends __SmithyException, $MetadataBearer {
230
- name: "ValidationException";
231
- $fault: "client";
232
- /**
233
- * Description of the error.
234
- */
235
- message: string | undefined;
230
+ export declare class ValidationException extends __BaseException {
231
+ readonly name: "ValidationException";
232
+ readonly $fault: "client";
236
233
  /**
237
234
  * Reason the request failed validation.
238
235
  */
@@ -241,6 +238,10 @@ export interface ValidationException extends __SmithyException, $MetadataBearer
241
238
  * The field that caused the error, if applicable. If more than one field caused the error, pick one and elaborate in the message.
242
239
  */
243
240
  fieldList?: ValidationExceptionField[];
241
+ /**
242
+ * @internal
243
+ */
244
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
244
245
  }
245
246
  /**
246
247
  * Represents the input of a DeleteAlertManagerDefinition operation.
@@ -0,0 +1,90 @@
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
+ export declare class Amp extends AmpClient {
22
+
23
+ createAlertManagerDefinition(args: CreateAlertManagerDefinitionCommandInput, options?: __HttpHandlerOptions): Promise<CreateAlertManagerDefinitionCommandOutput>;
24
+ createAlertManagerDefinition(args: CreateAlertManagerDefinitionCommandInput, cb: (err: any, data?: CreateAlertManagerDefinitionCommandOutput) => void): void;
25
+ createAlertManagerDefinition(args: CreateAlertManagerDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAlertManagerDefinitionCommandOutput) => void): void;
26
+
27
+ createRuleGroupsNamespace(args: CreateRuleGroupsNamespaceCommandInput, options?: __HttpHandlerOptions): Promise<CreateRuleGroupsNamespaceCommandOutput>;
28
+ createRuleGroupsNamespace(args: CreateRuleGroupsNamespaceCommandInput, cb: (err: any, data?: CreateRuleGroupsNamespaceCommandOutput) => void): void;
29
+ createRuleGroupsNamespace(args: CreateRuleGroupsNamespaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateRuleGroupsNamespaceCommandOutput) => void): void;
30
+
31
+ createWorkspace(args: CreateWorkspaceCommandInput, options?: __HttpHandlerOptions): Promise<CreateWorkspaceCommandOutput>;
32
+ createWorkspace(args: CreateWorkspaceCommandInput, cb: (err: any, data?: CreateWorkspaceCommandOutput) => void): void;
33
+ createWorkspace(args: CreateWorkspaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateWorkspaceCommandOutput) => void): void;
34
+
35
+ deleteAlertManagerDefinition(args: DeleteAlertManagerDefinitionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAlertManagerDefinitionCommandOutput>;
36
+ deleteAlertManagerDefinition(args: DeleteAlertManagerDefinitionCommandInput, cb: (err: any, data?: DeleteAlertManagerDefinitionCommandOutput) => void): void;
37
+ deleteAlertManagerDefinition(args: DeleteAlertManagerDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAlertManagerDefinitionCommandOutput) => void): void;
38
+
39
+ deleteRuleGroupsNamespace(args: DeleteRuleGroupsNamespaceCommandInput, options?: __HttpHandlerOptions): Promise<DeleteRuleGroupsNamespaceCommandOutput>;
40
+ deleteRuleGroupsNamespace(args: DeleteRuleGroupsNamespaceCommandInput, cb: (err: any, data?: DeleteRuleGroupsNamespaceCommandOutput) => void): void;
41
+ deleteRuleGroupsNamespace(args: DeleteRuleGroupsNamespaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRuleGroupsNamespaceCommandOutput) => void): void;
42
+
43
+ deleteWorkspace(args: DeleteWorkspaceCommandInput, options?: __HttpHandlerOptions): Promise<DeleteWorkspaceCommandOutput>;
44
+ deleteWorkspace(args: DeleteWorkspaceCommandInput, cb: (err: any, data?: DeleteWorkspaceCommandOutput) => void): void;
45
+ deleteWorkspace(args: DeleteWorkspaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteWorkspaceCommandOutput) => void): void;
46
+
47
+ describeAlertManagerDefinition(args: DescribeAlertManagerDefinitionCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAlertManagerDefinitionCommandOutput>;
48
+ describeAlertManagerDefinition(args: DescribeAlertManagerDefinitionCommandInput, cb: (err: any, data?: DescribeAlertManagerDefinitionCommandOutput) => void): void;
49
+ describeAlertManagerDefinition(args: DescribeAlertManagerDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAlertManagerDefinitionCommandOutput) => void): void;
50
+
51
+ describeRuleGroupsNamespace(args: DescribeRuleGroupsNamespaceCommandInput, options?: __HttpHandlerOptions): Promise<DescribeRuleGroupsNamespaceCommandOutput>;
52
+ describeRuleGroupsNamespace(args: DescribeRuleGroupsNamespaceCommandInput, cb: (err: any, data?: DescribeRuleGroupsNamespaceCommandOutput) => void): void;
53
+ describeRuleGroupsNamespace(args: DescribeRuleGroupsNamespaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeRuleGroupsNamespaceCommandOutput) => void): void;
54
+
55
+ describeWorkspace(args: DescribeWorkspaceCommandInput, options?: __HttpHandlerOptions): Promise<DescribeWorkspaceCommandOutput>;
56
+ describeWorkspace(args: DescribeWorkspaceCommandInput, cb: (err: any, data?: DescribeWorkspaceCommandOutput) => void): void;
57
+ describeWorkspace(args: DescribeWorkspaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeWorkspaceCommandOutput) => void): void;
58
+
59
+ listRuleGroupsNamespaces(args: ListRuleGroupsNamespacesCommandInput, options?: __HttpHandlerOptions): Promise<ListRuleGroupsNamespacesCommandOutput>;
60
+ listRuleGroupsNamespaces(args: ListRuleGroupsNamespacesCommandInput, cb: (err: any, data?: ListRuleGroupsNamespacesCommandOutput) => void): void;
61
+ listRuleGroupsNamespaces(args: ListRuleGroupsNamespacesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRuleGroupsNamespacesCommandOutput) => void): void;
62
+
63
+ listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
64
+ listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
65
+ listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
66
+
67
+ listWorkspaces(args: ListWorkspacesCommandInput, options?: __HttpHandlerOptions): Promise<ListWorkspacesCommandOutput>;
68
+ listWorkspaces(args: ListWorkspacesCommandInput, cb: (err: any, data?: ListWorkspacesCommandOutput) => void): void;
69
+ listWorkspaces(args: ListWorkspacesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListWorkspacesCommandOutput) => void): void;
70
+
71
+ putAlertManagerDefinition(args: PutAlertManagerDefinitionCommandInput, options?: __HttpHandlerOptions): Promise<PutAlertManagerDefinitionCommandOutput>;
72
+ putAlertManagerDefinition(args: PutAlertManagerDefinitionCommandInput, cb: (err: any, data?: PutAlertManagerDefinitionCommandOutput) => void): void;
73
+ putAlertManagerDefinition(args: PutAlertManagerDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutAlertManagerDefinitionCommandOutput) => void): void;
74
+
75
+ putRuleGroupsNamespace(args: PutRuleGroupsNamespaceCommandInput, options?: __HttpHandlerOptions): Promise<PutRuleGroupsNamespaceCommandOutput>;
76
+ putRuleGroupsNamespace(args: PutRuleGroupsNamespaceCommandInput, cb: (err: any, data?: PutRuleGroupsNamespaceCommandOutput) => void): void;
77
+ putRuleGroupsNamespace(args: PutRuleGroupsNamespaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutRuleGroupsNamespaceCommandOutput) => void): void;
78
+
79
+ tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
80
+ tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
81
+ tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
82
+
83
+ untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
84
+ untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
85
+ untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
86
+
87
+ updateWorkspaceAlias(args: UpdateWorkspaceAliasCommandInput, options?: __HttpHandlerOptions): Promise<UpdateWorkspaceAliasCommandOutput>;
88
+ updateWorkspaceAlias(args: UpdateWorkspaceAliasCommandInput, cb: (err: any, data?: UpdateWorkspaceAliasCommandOutput) => void): void;
89
+ updateWorkspaceAlias(args: UpdateWorkspaceAliasCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateWorkspaceAliasCommandOutput) => void): void;
90
+ }
@@ -0,0 +1,90 @@
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, DefaultsMode, 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
+ requestHandler?: __HttpHandler;
31
+
32
+ sha256?: __HashConstructor;
33
+
34
+ urlParser?: __UrlParser;
35
+
36
+ bodyLengthChecker?: (body: any) => number | undefined;
37
+
38
+ streamCollector?: __StreamCollector;
39
+
40
+ base64Decoder?: __Decoder;
41
+
42
+ base64Encoder?: __Encoder;
43
+
44
+ utf8Decoder?: __Decoder;
45
+
46
+ utf8Encoder?: __Encoder;
47
+
48
+ runtime?: string;
49
+
50
+ disableHostPrefix?: boolean;
51
+
52
+ maxAttempts?: number | __Provider<number>;
53
+
54
+ retryMode?: string | __Provider<string>;
55
+
56
+ logger?: __Logger;
57
+
58
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
59
+
60
+ useFipsEndpoint?: boolean | __Provider<boolean>;
61
+
62
+ serviceId?: string;
63
+
64
+ region?: string | __Provider<string>;
65
+
66
+ credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
67
+
68
+ regionInfoProvider?: RegionInfoProvider;
69
+
70
+ defaultUserAgentProvider?: Provider<__UserAgent>;
71
+
72
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
73
+ }
74
+ declare type AmpClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
75
+
76
+ export interface AmpClientConfig extends AmpClientConfigType {
77
+ }
78
+ declare type AmpClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
79
+
80
+ export interface AmpClientResolvedConfig extends AmpClientResolvedConfigType {
81
+ }
82
+
83
+ export declare class AmpClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, AmpClientResolvedConfig> {
84
+
85
+ readonly config: AmpClientResolvedConfig;
86
+ constructor(configuration: AmpClientConfig);
87
+
88
+ destroy(): void;
89
+ }
90
+ export {};
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmpClient";
4
+ import { CreateAlertManagerDefinitionRequest, CreateAlertManagerDefinitionResponse } from "../models/models_0";
5
+ export interface CreateAlertManagerDefinitionCommandInput extends CreateAlertManagerDefinitionRequest {
6
+ }
7
+ export interface CreateAlertManagerDefinitionCommandOutput extends CreateAlertManagerDefinitionResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class CreateAlertManagerDefinitionCommand extends $Command<CreateAlertManagerDefinitionCommandInput, CreateAlertManagerDefinitionCommandOutput, AmpClientResolvedConfig> {
11
+ readonly input: CreateAlertManagerDefinitionCommandInput;
12
+ constructor(input: CreateAlertManagerDefinitionCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AmpClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateAlertManagerDefinitionCommandInput, CreateAlertManagerDefinitionCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmpClient";
4
+ import { CreateRuleGroupsNamespaceRequest, CreateRuleGroupsNamespaceResponse } from "../models/models_0";
5
+ export interface CreateRuleGroupsNamespaceCommandInput extends CreateRuleGroupsNamespaceRequest {
6
+ }
7
+ export interface CreateRuleGroupsNamespaceCommandOutput extends CreateRuleGroupsNamespaceResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class CreateRuleGroupsNamespaceCommand extends $Command<CreateRuleGroupsNamespaceCommandInput, CreateRuleGroupsNamespaceCommandOutput, AmpClientResolvedConfig> {
11
+ readonly input: CreateRuleGroupsNamespaceCommandInput;
12
+ constructor(input: CreateRuleGroupsNamespaceCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AmpClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateRuleGroupsNamespaceCommandInput, CreateRuleGroupsNamespaceCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmpClient";
4
+ import { CreateWorkspaceRequest, CreateWorkspaceResponse } from "../models/models_0";
5
+ export interface CreateWorkspaceCommandInput extends CreateWorkspaceRequest {
6
+ }
7
+ export interface CreateWorkspaceCommandOutput extends CreateWorkspaceResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class CreateWorkspaceCommand extends $Command<CreateWorkspaceCommandInput, CreateWorkspaceCommandOutput, AmpClientResolvedConfig> {
11
+ readonly input: CreateWorkspaceCommandInput;
12
+ constructor(input: CreateWorkspaceCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AmpClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateWorkspaceCommandInput, CreateWorkspaceCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmpClient";
4
+ import { DeleteAlertManagerDefinitionRequest } from "../models/models_0";
5
+ export interface DeleteAlertManagerDefinitionCommandInput extends DeleteAlertManagerDefinitionRequest {
6
+ }
7
+ export interface DeleteAlertManagerDefinitionCommandOutput extends __MetadataBearer {
8
+ }
9
+
10
+ export declare class DeleteAlertManagerDefinitionCommand extends $Command<DeleteAlertManagerDefinitionCommandInput, DeleteAlertManagerDefinitionCommandOutput, AmpClientResolvedConfig> {
11
+ readonly input: DeleteAlertManagerDefinitionCommandInput;
12
+ constructor(input: DeleteAlertManagerDefinitionCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AmpClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteAlertManagerDefinitionCommandInput, DeleteAlertManagerDefinitionCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmpClient";
4
+ import { DeleteRuleGroupsNamespaceRequest } from "../models/models_0";
5
+ export interface DeleteRuleGroupsNamespaceCommandInput extends DeleteRuleGroupsNamespaceRequest {
6
+ }
7
+ export interface DeleteRuleGroupsNamespaceCommandOutput extends __MetadataBearer {
8
+ }
9
+
10
+ export declare class DeleteRuleGroupsNamespaceCommand extends $Command<DeleteRuleGroupsNamespaceCommandInput, DeleteRuleGroupsNamespaceCommandOutput, AmpClientResolvedConfig> {
11
+ readonly input: DeleteRuleGroupsNamespaceCommandInput;
12
+ constructor(input: DeleteRuleGroupsNamespaceCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AmpClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteRuleGroupsNamespaceCommandInput, DeleteRuleGroupsNamespaceCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmpClient";
4
+ import { DeleteWorkspaceRequest } from "../models/models_0";
5
+ export interface DeleteWorkspaceCommandInput extends DeleteWorkspaceRequest {
6
+ }
7
+ export interface DeleteWorkspaceCommandOutput extends __MetadataBearer {
8
+ }
9
+
10
+ export declare class DeleteWorkspaceCommand extends $Command<DeleteWorkspaceCommandInput, DeleteWorkspaceCommandOutput, AmpClientResolvedConfig> {
11
+ readonly input: DeleteWorkspaceCommandInput;
12
+ constructor(input: DeleteWorkspaceCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AmpClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteWorkspaceCommandInput, DeleteWorkspaceCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmpClient";
4
+ import { DescribeAlertManagerDefinitionRequest, DescribeAlertManagerDefinitionResponse } from "../models/models_0";
5
+ export interface DescribeAlertManagerDefinitionCommandInput extends DescribeAlertManagerDefinitionRequest {
6
+ }
7
+ export interface DescribeAlertManagerDefinitionCommandOutput extends DescribeAlertManagerDefinitionResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class DescribeAlertManagerDefinitionCommand extends $Command<DescribeAlertManagerDefinitionCommandInput, DescribeAlertManagerDefinitionCommandOutput, AmpClientResolvedConfig> {
11
+ readonly input: DescribeAlertManagerDefinitionCommandInput;
12
+ constructor(input: DescribeAlertManagerDefinitionCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AmpClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeAlertManagerDefinitionCommandInput, DescribeAlertManagerDefinitionCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmpClient";
4
+ import { DescribeRuleGroupsNamespaceRequest, DescribeRuleGroupsNamespaceResponse } from "../models/models_0";
5
+ export interface DescribeRuleGroupsNamespaceCommandInput extends DescribeRuleGroupsNamespaceRequest {
6
+ }
7
+ export interface DescribeRuleGroupsNamespaceCommandOutput extends DescribeRuleGroupsNamespaceResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class DescribeRuleGroupsNamespaceCommand extends $Command<DescribeRuleGroupsNamespaceCommandInput, DescribeRuleGroupsNamespaceCommandOutput, AmpClientResolvedConfig> {
11
+ readonly input: DescribeRuleGroupsNamespaceCommandInput;
12
+ constructor(input: DescribeRuleGroupsNamespaceCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AmpClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeRuleGroupsNamespaceCommandInput, DescribeRuleGroupsNamespaceCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmpClient";
4
+ import { DescribeWorkspaceRequest, DescribeWorkspaceResponse } from "../models/models_0";
5
+ export interface DescribeWorkspaceCommandInput extends DescribeWorkspaceRequest {
6
+ }
7
+ export interface DescribeWorkspaceCommandOutput extends DescribeWorkspaceResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class DescribeWorkspaceCommand extends $Command<DescribeWorkspaceCommandInput, DescribeWorkspaceCommandOutput, AmpClientResolvedConfig> {
11
+ readonly input: DescribeWorkspaceCommandInput;
12
+ constructor(input: DescribeWorkspaceCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AmpClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeWorkspaceCommandInput, DescribeWorkspaceCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmpClient";
4
+ import { ListRuleGroupsNamespacesRequest, ListRuleGroupsNamespacesResponse } from "../models/models_0";
5
+ export interface ListRuleGroupsNamespacesCommandInput extends ListRuleGroupsNamespacesRequest {
6
+ }
7
+ export interface ListRuleGroupsNamespacesCommandOutput extends ListRuleGroupsNamespacesResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class ListRuleGroupsNamespacesCommand extends $Command<ListRuleGroupsNamespacesCommandInput, ListRuleGroupsNamespacesCommandOutput, AmpClientResolvedConfig> {
11
+ readonly input: ListRuleGroupsNamespacesCommandInput;
12
+ constructor(input: ListRuleGroupsNamespacesCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AmpClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListRuleGroupsNamespacesCommandInput, ListRuleGroupsNamespacesCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmpClient";
4
+ import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
5
+ export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {
6
+ }
7
+ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, AmpClientResolvedConfig> {
11
+ readonly input: ListTagsForResourceCommandInput;
12
+ constructor(input: ListTagsForResourceCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AmpClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmpClient";
4
+ import { ListWorkspacesRequest, ListWorkspacesResponse } from "../models/models_0";
5
+ export interface ListWorkspacesCommandInput extends ListWorkspacesRequest {
6
+ }
7
+ export interface ListWorkspacesCommandOutput extends ListWorkspacesResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class ListWorkspacesCommand extends $Command<ListWorkspacesCommandInput, ListWorkspacesCommandOutput, AmpClientResolvedConfig> {
11
+ readonly input: ListWorkspacesCommandInput;
12
+ constructor(input: ListWorkspacesCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AmpClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListWorkspacesCommandInput, ListWorkspacesCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { AmpClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AmpClient";
4
+ import { PutAlertManagerDefinitionRequest, PutAlertManagerDefinitionResponse } from "../models/models_0";
5
+ export interface PutAlertManagerDefinitionCommandInput extends PutAlertManagerDefinitionRequest {
6
+ }
7
+ export interface PutAlertManagerDefinitionCommandOutput extends PutAlertManagerDefinitionResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class PutAlertManagerDefinitionCommand extends $Command<PutAlertManagerDefinitionCommandInput, PutAlertManagerDefinitionCommandOutput, AmpClientResolvedConfig> {
11
+ readonly input: PutAlertManagerDefinitionCommandInput;
12
+ constructor(input: PutAlertManagerDefinitionCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AmpClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutAlertManagerDefinitionCommandInput, PutAlertManagerDefinitionCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }