@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,562 +0,0 @@
|
|
|
1
|
-
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
|
|
2
|
-
/**
|
|
3
|
-
* User does not have sufficient access to perform this action.
|
|
4
|
-
*/
|
|
5
|
-
export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
|
|
6
|
-
name: "AccessDeniedException";
|
|
7
|
-
$fault: "client";
|
|
8
|
-
/**
|
|
9
|
-
* Description of the error.
|
|
10
|
-
*/
|
|
11
|
-
message: string | undefined;
|
|
12
|
-
}
|
|
13
|
-
export declare namespace AccessDeniedException {
|
|
14
|
-
/**
|
|
15
|
-
* @internal
|
|
16
|
-
*/
|
|
17
|
-
const filterSensitiveLog: (obj: AccessDeniedException) => any;
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* Unexpected error during processing of request.
|
|
21
|
-
*/
|
|
22
|
-
export interface InternalServerException extends __SmithyException, $MetadataBearer {
|
|
23
|
-
name: "InternalServerException";
|
|
24
|
-
$fault: "server";
|
|
25
|
-
$retryable: {};
|
|
26
|
-
/**
|
|
27
|
-
* Description of the error.
|
|
28
|
-
*/
|
|
29
|
-
message: string | undefined;
|
|
30
|
-
/**
|
|
31
|
-
* Advice to clients on when the call can be safely retried.
|
|
32
|
-
*/
|
|
33
|
-
retryAfterSeconds?: number;
|
|
34
|
-
}
|
|
35
|
-
export declare namespace InternalServerException {
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
|
-
const filterSensitiveLog: (obj: InternalServerException) => any;
|
|
40
|
-
}
|
|
41
|
-
export interface ListTagsForResourceRequest {
|
|
42
|
-
/**
|
|
43
|
-
* The ARN of the resource.
|
|
44
|
-
*/
|
|
45
|
-
resourceArn: string | undefined;
|
|
46
|
-
}
|
|
47
|
-
export declare namespace ListTagsForResourceRequest {
|
|
48
|
-
/**
|
|
49
|
-
* @internal
|
|
50
|
-
*/
|
|
51
|
-
const filterSensitiveLog: (obj: ListTagsForResourceRequest) => any;
|
|
52
|
-
}
|
|
53
|
-
export interface ListTagsForResourceResponse {
|
|
54
|
-
/**
|
|
55
|
-
* The list of tags assigned to the resource.
|
|
56
|
-
*/
|
|
57
|
-
tags?: {
|
|
58
|
-
[key: string]: string;
|
|
59
|
-
};
|
|
60
|
-
}
|
|
61
|
-
export declare namespace ListTagsForResourceResponse {
|
|
62
|
-
/**
|
|
63
|
-
* @internal
|
|
64
|
-
*/
|
|
65
|
-
const filterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
|
|
66
|
-
}
|
|
67
|
-
/**
|
|
68
|
-
* Request references a resource which does not exist.
|
|
69
|
-
*/
|
|
70
|
-
export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
|
|
71
|
-
name: "ResourceNotFoundException";
|
|
72
|
-
$fault: "client";
|
|
73
|
-
/**
|
|
74
|
-
* Description of the error.
|
|
75
|
-
*/
|
|
76
|
-
message: string | undefined;
|
|
77
|
-
/**
|
|
78
|
-
* Identifier of the resource affected.
|
|
79
|
-
*/
|
|
80
|
-
resourceId: string | undefined;
|
|
81
|
-
/**
|
|
82
|
-
* Type of the resource affected.
|
|
83
|
-
*/
|
|
84
|
-
resourceType: string | undefined;
|
|
85
|
-
}
|
|
86
|
-
export declare namespace ResourceNotFoundException {
|
|
87
|
-
/**
|
|
88
|
-
* @internal
|
|
89
|
-
*/
|
|
90
|
-
const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
|
|
91
|
-
}
|
|
92
|
-
/**
|
|
93
|
-
* Request was denied due to request throttling.
|
|
94
|
-
*/
|
|
95
|
-
export interface ThrottlingException extends __SmithyException, $MetadataBearer {
|
|
96
|
-
name: "ThrottlingException";
|
|
97
|
-
$fault: "client";
|
|
98
|
-
$retryable: {};
|
|
99
|
-
/**
|
|
100
|
-
* Description of the error.
|
|
101
|
-
*/
|
|
102
|
-
message: string | undefined;
|
|
103
|
-
/**
|
|
104
|
-
* Service Quotas requirement to identify originating service.
|
|
105
|
-
*/
|
|
106
|
-
serviceCode?: string;
|
|
107
|
-
/**
|
|
108
|
-
* Service Quotas requirement to identify originating quota.
|
|
109
|
-
*/
|
|
110
|
-
quotaCode?: string;
|
|
111
|
-
/**
|
|
112
|
-
* Advice to clients on when the call can be safely retried.
|
|
113
|
-
*/
|
|
114
|
-
retryAfterSeconds?: number;
|
|
115
|
-
}
|
|
116
|
-
export declare namespace ThrottlingException {
|
|
117
|
-
/**
|
|
118
|
-
* @internal
|
|
119
|
-
*/
|
|
120
|
-
const filterSensitiveLog: (obj: ThrottlingException) => any;
|
|
121
|
-
}
|
|
122
|
-
/**
|
|
123
|
-
* Stores information about a field passed inside a request that resulted in an exception.
|
|
124
|
-
*/
|
|
125
|
-
export interface ValidationExceptionField {
|
|
126
|
-
/**
|
|
127
|
-
* The field name.
|
|
128
|
-
*/
|
|
129
|
-
name: string | undefined;
|
|
130
|
-
/**
|
|
131
|
-
* Message describing why the field failed validation.
|
|
132
|
-
*/
|
|
133
|
-
message: string | undefined;
|
|
134
|
-
}
|
|
135
|
-
export declare namespace ValidationExceptionField {
|
|
136
|
-
/**
|
|
137
|
-
* @internal
|
|
138
|
-
*/
|
|
139
|
-
const filterSensitiveLog: (obj: ValidationExceptionField) => any;
|
|
140
|
-
}
|
|
141
|
-
export declare enum ValidationExceptionReason {
|
|
142
|
-
CANNOT_PARSE = "CANNOT_PARSE",
|
|
143
|
-
FIELD_VALIDATION_FAILED = "FIELD_VALIDATION_FAILED",
|
|
144
|
-
OTHER = "OTHER",
|
|
145
|
-
UNKNOWN_OPERATION = "UNKNOWN_OPERATION"
|
|
146
|
-
}
|
|
147
|
-
/**
|
|
148
|
-
* The input fails to satisfy the constraints specified by an AWS service.
|
|
149
|
-
*/
|
|
150
|
-
export interface ValidationException extends __SmithyException, $MetadataBearer {
|
|
151
|
-
name: "ValidationException";
|
|
152
|
-
$fault: "client";
|
|
153
|
-
/**
|
|
154
|
-
* Description of the error.
|
|
155
|
-
*/
|
|
156
|
-
message: string | undefined;
|
|
157
|
-
/**
|
|
158
|
-
* Reason the request failed validation.
|
|
159
|
-
*/
|
|
160
|
-
reason: ValidationExceptionReason | string | undefined;
|
|
161
|
-
/**
|
|
162
|
-
* The field that caused the error, if applicable. If more than one field caused the error, pick one and elaborate in the message.
|
|
163
|
-
*/
|
|
164
|
-
fieldList?: ValidationExceptionField[];
|
|
165
|
-
}
|
|
166
|
-
export declare namespace ValidationException {
|
|
167
|
-
/**
|
|
168
|
-
* @internal
|
|
169
|
-
*/
|
|
170
|
-
const filterSensitiveLog: (obj: ValidationException) => any;
|
|
171
|
-
}
|
|
172
|
-
export interface TagResourceRequest {
|
|
173
|
-
/**
|
|
174
|
-
* The ARN of the resource.
|
|
175
|
-
*/
|
|
176
|
-
resourceArn: string | undefined;
|
|
177
|
-
/**
|
|
178
|
-
* The list of tags assigned to the resource.
|
|
179
|
-
*/
|
|
180
|
-
tags: {
|
|
181
|
-
[key: string]: string;
|
|
182
|
-
} | undefined;
|
|
183
|
-
}
|
|
184
|
-
export declare namespace TagResourceRequest {
|
|
185
|
-
/**
|
|
186
|
-
* @internal
|
|
187
|
-
*/
|
|
188
|
-
const filterSensitiveLog: (obj: TagResourceRequest) => any;
|
|
189
|
-
}
|
|
190
|
-
export interface TagResourceResponse {
|
|
191
|
-
}
|
|
192
|
-
export declare namespace TagResourceResponse {
|
|
193
|
-
/**
|
|
194
|
-
* @internal
|
|
195
|
-
*/
|
|
196
|
-
const filterSensitiveLog: (obj: TagResourceResponse) => any;
|
|
197
|
-
}
|
|
198
|
-
export interface UntagResourceRequest {
|
|
199
|
-
/**
|
|
200
|
-
* The ARN of the resource.
|
|
201
|
-
*/
|
|
202
|
-
resourceArn: string | undefined;
|
|
203
|
-
/**
|
|
204
|
-
* One or more tag keys
|
|
205
|
-
*/
|
|
206
|
-
tagKeys: string[] | undefined;
|
|
207
|
-
}
|
|
208
|
-
export declare namespace UntagResourceRequest {
|
|
209
|
-
/**
|
|
210
|
-
* @internal
|
|
211
|
-
*/
|
|
212
|
-
const filterSensitiveLog: (obj: UntagResourceRequest) => any;
|
|
213
|
-
}
|
|
214
|
-
export interface UntagResourceResponse {
|
|
215
|
-
}
|
|
216
|
-
export declare namespace UntagResourceResponse {
|
|
217
|
-
/**
|
|
218
|
-
* @internal
|
|
219
|
-
*/
|
|
220
|
-
const filterSensitiveLog: (obj: UntagResourceResponse) => any;
|
|
221
|
-
}
|
|
222
|
-
/**
|
|
223
|
-
* Updating or deleting a resource can cause an inconsistent state.
|
|
224
|
-
*/
|
|
225
|
-
export interface ConflictException extends __SmithyException, $MetadataBearer {
|
|
226
|
-
name: "ConflictException";
|
|
227
|
-
$fault: "client";
|
|
228
|
-
/**
|
|
229
|
-
* Description of the error.
|
|
230
|
-
*/
|
|
231
|
-
message: string | undefined;
|
|
232
|
-
/**
|
|
233
|
-
* Identifier of the resource affected.
|
|
234
|
-
*/
|
|
235
|
-
resourceId: string | undefined;
|
|
236
|
-
/**
|
|
237
|
-
* Type of the resource affected.
|
|
238
|
-
*/
|
|
239
|
-
resourceType: string | undefined;
|
|
240
|
-
}
|
|
241
|
-
export declare namespace ConflictException {
|
|
242
|
-
/**
|
|
243
|
-
* @internal
|
|
244
|
-
*/
|
|
245
|
-
const filterSensitiveLog: (obj: ConflictException) => any;
|
|
246
|
-
}
|
|
247
|
-
/**
|
|
248
|
-
* Represents the input of a CreateWorkspace operation.
|
|
249
|
-
*/
|
|
250
|
-
export interface CreateWorkspaceRequest {
|
|
251
|
-
/**
|
|
252
|
-
* An optional user-assigned alias for this workspace. This alias is for user reference and does not need to be unique.
|
|
253
|
-
*/
|
|
254
|
-
alias?: string;
|
|
255
|
-
/**
|
|
256
|
-
* Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
|
|
257
|
-
*/
|
|
258
|
-
clientToken?: string;
|
|
259
|
-
/**
|
|
260
|
-
* Optional, user-provided tags for this workspace.
|
|
261
|
-
*/
|
|
262
|
-
tags?: {
|
|
263
|
-
[key: string]: string;
|
|
264
|
-
};
|
|
265
|
-
}
|
|
266
|
-
export declare namespace CreateWorkspaceRequest {
|
|
267
|
-
/**
|
|
268
|
-
* @internal
|
|
269
|
-
*/
|
|
270
|
-
const filterSensitiveLog: (obj: CreateWorkspaceRequest) => any;
|
|
271
|
-
}
|
|
272
|
-
export declare enum WorkspaceStatusCode {
|
|
273
|
-
/**
|
|
274
|
-
* Workspace has been created and is usable.
|
|
275
|
-
*/
|
|
276
|
-
ACTIVE = "ACTIVE",
|
|
277
|
-
/**
|
|
278
|
-
* Workspace is being created. Deletion is disallowed until status is ACTIVE.
|
|
279
|
-
*/
|
|
280
|
-
CREATING = "CREATING",
|
|
281
|
-
/**
|
|
282
|
-
* Workspace creation failed. Refer to WorkspaceStatus.failureReason for more details.
|
|
283
|
-
*/
|
|
284
|
-
CREATION_FAILED = "CREATION_FAILED",
|
|
285
|
-
/**
|
|
286
|
-
* Workspace is being deleted. Deletions are allowed only when status is ACTIVE.
|
|
287
|
-
*/
|
|
288
|
-
DELETING = "DELETING",
|
|
289
|
-
/**
|
|
290
|
-
* Workspace is being updated. Updates are allowed only when status is ACTIVE.
|
|
291
|
-
*/
|
|
292
|
-
UPDATING = "UPDATING"
|
|
293
|
-
}
|
|
294
|
-
/**
|
|
295
|
-
* Represents the status of a workspace.
|
|
296
|
-
*/
|
|
297
|
-
export interface WorkspaceStatus {
|
|
298
|
-
/**
|
|
299
|
-
* Status code of this workspace.
|
|
300
|
-
*/
|
|
301
|
-
statusCode: WorkspaceStatusCode | string | undefined;
|
|
302
|
-
}
|
|
303
|
-
export declare namespace WorkspaceStatus {
|
|
304
|
-
/**
|
|
305
|
-
* @internal
|
|
306
|
-
*/
|
|
307
|
-
const filterSensitiveLog: (obj: WorkspaceStatus) => any;
|
|
308
|
-
}
|
|
309
|
-
/**
|
|
310
|
-
* Represents the output of a CreateWorkspace operation.
|
|
311
|
-
*/
|
|
312
|
-
export interface CreateWorkspaceResponse {
|
|
313
|
-
/**
|
|
314
|
-
* The generated ID of the workspace that was just created.
|
|
315
|
-
*/
|
|
316
|
-
workspaceId: string | undefined;
|
|
317
|
-
/**
|
|
318
|
-
* The ARN of the workspace that was just created.
|
|
319
|
-
*/
|
|
320
|
-
arn: string | undefined;
|
|
321
|
-
/**
|
|
322
|
-
* The status of the workspace that was just created (usually CREATING).
|
|
323
|
-
*/
|
|
324
|
-
status: WorkspaceStatus | undefined;
|
|
325
|
-
/**
|
|
326
|
-
* The tags of this workspace.
|
|
327
|
-
*/
|
|
328
|
-
tags?: {
|
|
329
|
-
[key: string]: string;
|
|
330
|
-
};
|
|
331
|
-
}
|
|
332
|
-
export declare namespace CreateWorkspaceResponse {
|
|
333
|
-
/**
|
|
334
|
-
* @internal
|
|
335
|
-
*/
|
|
336
|
-
const filterSensitiveLog: (obj: CreateWorkspaceResponse) => any;
|
|
337
|
-
}
|
|
338
|
-
/**
|
|
339
|
-
* Request would cause a service quota to be exceeded.
|
|
340
|
-
*/
|
|
341
|
-
export interface ServiceQuotaExceededException extends __SmithyException, $MetadataBearer {
|
|
342
|
-
name: "ServiceQuotaExceededException";
|
|
343
|
-
$fault: "client";
|
|
344
|
-
/**
|
|
345
|
-
* Description of the error.
|
|
346
|
-
*/
|
|
347
|
-
message: string | undefined;
|
|
348
|
-
/**
|
|
349
|
-
* Identifier of the resource affected.
|
|
350
|
-
*/
|
|
351
|
-
resourceId: string | undefined;
|
|
352
|
-
/**
|
|
353
|
-
* Type of the resource affected.
|
|
354
|
-
*/
|
|
355
|
-
resourceType: string | undefined;
|
|
356
|
-
/**
|
|
357
|
-
* Service Quotas requirement to identify originating service.
|
|
358
|
-
*/
|
|
359
|
-
serviceCode: string | undefined;
|
|
360
|
-
/**
|
|
361
|
-
* Service Quotas requirement to identify originating quota.
|
|
362
|
-
*/
|
|
363
|
-
quotaCode: string | undefined;
|
|
364
|
-
}
|
|
365
|
-
export declare namespace ServiceQuotaExceededException {
|
|
366
|
-
/**
|
|
367
|
-
* @internal
|
|
368
|
-
*/
|
|
369
|
-
const filterSensitiveLog: (obj: ServiceQuotaExceededException) => any;
|
|
370
|
-
}
|
|
371
|
-
/**
|
|
372
|
-
* Represents the input of a DeleteWorkspace operation.
|
|
373
|
-
*/
|
|
374
|
-
export interface DeleteWorkspaceRequest {
|
|
375
|
-
/**
|
|
376
|
-
* The ID of the workspace to delete.
|
|
377
|
-
*/
|
|
378
|
-
workspaceId: string | undefined;
|
|
379
|
-
/**
|
|
380
|
-
* Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
|
|
381
|
-
*/
|
|
382
|
-
clientToken?: string;
|
|
383
|
-
}
|
|
384
|
-
export declare namespace DeleteWorkspaceRequest {
|
|
385
|
-
/**
|
|
386
|
-
* @internal
|
|
387
|
-
*/
|
|
388
|
-
const filterSensitiveLog: (obj: DeleteWorkspaceRequest) => any;
|
|
389
|
-
}
|
|
390
|
-
/**
|
|
391
|
-
* Represents the input of a DescribeWorkspace operation.
|
|
392
|
-
*/
|
|
393
|
-
export interface DescribeWorkspaceRequest {
|
|
394
|
-
/**
|
|
395
|
-
* The ID of the workspace to describe.
|
|
396
|
-
*/
|
|
397
|
-
workspaceId: string | undefined;
|
|
398
|
-
}
|
|
399
|
-
export declare namespace DescribeWorkspaceRequest {
|
|
400
|
-
/**
|
|
401
|
-
* @internal
|
|
402
|
-
*/
|
|
403
|
-
const filterSensitiveLog: (obj: DescribeWorkspaceRequest) => any;
|
|
404
|
-
}
|
|
405
|
-
/**
|
|
406
|
-
* Represents the properties of a workspace.
|
|
407
|
-
*/
|
|
408
|
-
export interface WorkspaceDescription {
|
|
409
|
-
/**
|
|
410
|
-
* Unique string identifying this workspace.
|
|
411
|
-
*/
|
|
412
|
-
workspaceId: string | undefined;
|
|
413
|
-
/**
|
|
414
|
-
* Alias of this workspace.
|
|
415
|
-
*/
|
|
416
|
-
alias?: string;
|
|
417
|
-
/**
|
|
418
|
-
* The Amazon Resource Name (ARN) of this workspace.
|
|
419
|
-
*/
|
|
420
|
-
arn: string | undefined;
|
|
421
|
-
/**
|
|
422
|
-
* The status of this workspace.
|
|
423
|
-
*/
|
|
424
|
-
status: WorkspaceStatus | undefined;
|
|
425
|
-
/**
|
|
426
|
-
* Prometheus endpoint URI.
|
|
427
|
-
*/
|
|
428
|
-
prometheusEndpoint?: string;
|
|
429
|
-
/**
|
|
430
|
-
* The time when the workspace was created.
|
|
431
|
-
*/
|
|
432
|
-
createdAt: Date | undefined;
|
|
433
|
-
/**
|
|
434
|
-
* The tags of this workspace.
|
|
435
|
-
*/
|
|
436
|
-
tags?: {
|
|
437
|
-
[key: string]: string;
|
|
438
|
-
};
|
|
439
|
-
}
|
|
440
|
-
export declare namespace WorkspaceDescription {
|
|
441
|
-
/**
|
|
442
|
-
* @internal
|
|
443
|
-
*/
|
|
444
|
-
const filterSensitiveLog: (obj: WorkspaceDescription) => any;
|
|
445
|
-
}
|
|
446
|
-
/**
|
|
447
|
-
* Represents the output of a DescribeWorkspace operation.
|
|
448
|
-
*/
|
|
449
|
-
export interface DescribeWorkspaceResponse {
|
|
450
|
-
/**
|
|
451
|
-
* The properties of the selected workspace.
|
|
452
|
-
*/
|
|
453
|
-
workspace: WorkspaceDescription | undefined;
|
|
454
|
-
}
|
|
455
|
-
export declare namespace DescribeWorkspaceResponse {
|
|
456
|
-
/**
|
|
457
|
-
* @internal
|
|
458
|
-
*/
|
|
459
|
-
const filterSensitiveLog: (obj: DescribeWorkspaceResponse) => any;
|
|
460
|
-
}
|
|
461
|
-
/**
|
|
462
|
-
* Represents the input of a ListWorkspaces operation.
|
|
463
|
-
*/
|
|
464
|
-
export interface ListWorkspacesRequest {
|
|
465
|
-
/**
|
|
466
|
-
* Pagination token to request the next page in a paginated list. This token is obtained from the output of the previous ListWorkspaces request.
|
|
467
|
-
*/
|
|
468
|
-
nextToken?: string;
|
|
469
|
-
/**
|
|
470
|
-
* Optional filter for workspace alias. Only the workspaces with aliases that begin with this value will be returned.
|
|
471
|
-
*/
|
|
472
|
-
alias?: string;
|
|
473
|
-
/**
|
|
474
|
-
* Maximum results to return in response (default=100, maximum=1000).
|
|
475
|
-
*/
|
|
476
|
-
maxResults?: number;
|
|
477
|
-
}
|
|
478
|
-
export declare namespace ListWorkspacesRequest {
|
|
479
|
-
/**
|
|
480
|
-
* @internal
|
|
481
|
-
*/
|
|
482
|
-
const filterSensitiveLog: (obj: ListWorkspacesRequest) => any;
|
|
483
|
-
}
|
|
484
|
-
/**
|
|
485
|
-
* Represents a summary of the properties of a workspace.
|
|
486
|
-
*/
|
|
487
|
-
export interface WorkspaceSummary {
|
|
488
|
-
/**
|
|
489
|
-
* Unique string identifying this workspace.
|
|
490
|
-
*/
|
|
491
|
-
workspaceId: string | undefined;
|
|
492
|
-
/**
|
|
493
|
-
* Alias of this workspace.
|
|
494
|
-
*/
|
|
495
|
-
alias?: string;
|
|
496
|
-
/**
|
|
497
|
-
* The AmazonResourceName of this workspace.
|
|
498
|
-
*/
|
|
499
|
-
arn: string | undefined;
|
|
500
|
-
/**
|
|
501
|
-
* The status of this workspace.
|
|
502
|
-
*/
|
|
503
|
-
status: WorkspaceStatus | undefined;
|
|
504
|
-
/**
|
|
505
|
-
* The time when the workspace was created.
|
|
506
|
-
*/
|
|
507
|
-
createdAt: Date | undefined;
|
|
508
|
-
/**
|
|
509
|
-
* The tags of this workspace.
|
|
510
|
-
*/
|
|
511
|
-
tags?: {
|
|
512
|
-
[key: string]: string;
|
|
513
|
-
};
|
|
514
|
-
}
|
|
515
|
-
export declare namespace WorkspaceSummary {
|
|
516
|
-
/**
|
|
517
|
-
* @internal
|
|
518
|
-
*/
|
|
519
|
-
const filterSensitiveLog: (obj: WorkspaceSummary) => any;
|
|
520
|
-
}
|
|
521
|
-
/**
|
|
522
|
-
* Represents the output of a ListWorkspaces operation.
|
|
523
|
-
*/
|
|
524
|
-
export interface ListWorkspacesResponse {
|
|
525
|
-
/**
|
|
526
|
-
* The list of existing workspaces, including those undergoing creation or deletion.
|
|
527
|
-
*/
|
|
528
|
-
workspaces: WorkspaceSummary[] | undefined;
|
|
529
|
-
/**
|
|
530
|
-
* Pagination token to use when requesting the next page in this list.
|
|
531
|
-
*/
|
|
532
|
-
nextToken?: string;
|
|
533
|
-
}
|
|
534
|
-
export declare namespace ListWorkspacesResponse {
|
|
535
|
-
/**
|
|
536
|
-
* @internal
|
|
537
|
-
*/
|
|
538
|
-
const filterSensitiveLog: (obj: ListWorkspacesResponse) => any;
|
|
539
|
-
}
|
|
540
|
-
/**
|
|
541
|
-
* Represents the input of an UpdateWorkspaceAlias operation.
|
|
542
|
-
*/
|
|
543
|
-
export interface UpdateWorkspaceAliasRequest {
|
|
544
|
-
/**
|
|
545
|
-
* The ID of the workspace being updated.
|
|
546
|
-
*/
|
|
547
|
-
workspaceId: string | undefined;
|
|
548
|
-
/**
|
|
549
|
-
* The new alias of the workspace.
|
|
550
|
-
*/
|
|
551
|
-
alias?: string;
|
|
552
|
-
/**
|
|
553
|
-
* Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
|
|
554
|
-
*/
|
|
555
|
-
clientToken?: string;
|
|
556
|
-
}
|
|
557
|
-
export declare namespace UpdateWorkspaceAliasRequest {
|
|
558
|
-
/**
|
|
559
|
-
* @internal
|
|
560
|
-
*/
|
|
561
|
-
const filterSensitiveLog: (obj: UpdateWorkspaceAliasRequest) => any;
|
|
562
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { CreateWorkspaceCommandInput, CreateWorkspaceCommandOutput } from "../commands/CreateWorkspaceCommand";
|
|
2
|
-
import { DeleteWorkspaceCommandInput, DeleteWorkspaceCommandOutput } from "../commands/DeleteWorkspaceCommand";
|
|
3
|
-
import { DescribeWorkspaceCommandInput, DescribeWorkspaceCommandOutput } from "../commands/DescribeWorkspaceCommand";
|
|
4
|
-
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
|
|
5
|
-
import { ListWorkspacesCommandInput, ListWorkspacesCommandOutput } from "../commands/ListWorkspacesCommand";
|
|
6
|
-
import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
|
|
7
|
-
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
|
|
8
|
-
import { UpdateWorkspaceAliasCommandInput, UpdateWorkspaceAliasCommandOutput } from "../commands/UpdateWorkspaceAliasCommand";
|
|
9
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
10
|
-
import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
|
|
11
|
-
export declare const serializeAws_restJson1CreateWorkspaceCommand: (input: CreateWorkspaceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
12
|
-
export declare const serializeAws_restJson1DeleteWorkspaceCommand: (input: DeleteWorkspaceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
13
|
-
export declare const serializeAws_restJson1DescribeWorkspaceCommand: (input: DescribeWorkspaceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
14
|
-
export declare const serializeAws_restJson1ListTagsForResourceCommand: (input: ListTagsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
15
|
-
export declare const serializeAws_restJson1ListWorkspacesCommand: (input: ListWorkspacesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
16
|
-
export declare const serializeAws_restJson1TagResourceCommand: (input: TagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
17
|
-
export declare const serializeAws_restJson1UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
18
|
-
export declare const serializeAws_restJson1UpdateWorkspaceAliasCommand: (input: UpdateWorkspaceAliasCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
19
|
-
export declare const deserializeAws_restJson1CreateWorkspaceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateWorkspaceCommandOutput>;
|
|
20
|
-
export declare const deserializeAws_restJson1DeleteWorkspaceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteWorkspaceCommandOutput>;
|
|
21
|
-
export declare const deserializeAws_restJson1DescribeWorkspaceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeWorkspaceCommandOutput>;
|
|
22
|
-
export declare const deserializeAws_restJson1ListTagsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsForResourceCommandOutput>;
|
|
23
|
-
export declare const deserializeAws_restJson1ListWorkspacesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListWorkspacesCommandOutput>;
|
|
24
|
-
export declare const deserializeAws_restJson1TagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagResourceCommandOutput>;
|
|
25
|
-
export declare const deserializeAws_restJson1UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
|
|
26
|
-
export declare const deserializeAws_restJson1UpdateWorkspaceAliasCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateWorkspaceAliasCommandOutput>;
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { AmpClient } from "./AmpClient";
|
|
2
|
-
import { CreateWorkspaceCommandInput, CreateWorkspaceCommandOutput } from "./commands/CreateWorkspaceCommand";
|
|
3
|
-
import { DeleteWorkspaceCommandInput, DeleteWorkspaceCommandOutput } from "./commands/DeleteWorkspaceCommand";
|
|
4
|
-
import { DescribeWorkspaceCommandInput, DescribeWorkspaceCommandOutput } from "./commands/DescribeWorkspaceCommand";
|
|
5
|
-
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
6
|
-
import { ListWorkspacesCommandInput, ListWorkspacesCommandOutput } from "./commands/ListWorkspacesCommand";
|
|
7
|
-
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
8
|
-
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
9
|
-
import { UpdateWorkspaceAliasCommandInput, UpdateWorkspaceAliasCommandOutput } from "./commands/UpdateWorkspaceAliasCommand";
|
|
10
|
-
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
11
|
-
/**
|
|
12
|
-
* Amazon Managed Service for Prometheus
|
|
13
|
-
*/
|
|
14
|
-
export declare class Amp extends AmpClient {
|
|
15
|
-
/**
|
|
16
|
-
* Creates a new AMP workspace.
|
|
17
|
-
*/
|
|
18
|
-
createWorkspace(args: CreateWorkspaceCommandInput, options?: __HttpHandlerOptions): Promise<CreateWorkspaceCommandOutput>;
|
|
19
|
-
createWorkspace(args: CreateWorkspaceCommandInput, cb: (err: any, data?: CreateWorkspaceCommandOutput) => void): void;
|
|
20
|
-
createWorkspace(args: CreateWorkspaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateWorkspaceCommandOutput) => void): void;
|
|
21
|
-
/**
|
|
22
|
-
* Deletes an AMP workspace.
|
|
23
|
-
*/
|
|
24
|
-
deleteWorkspace(args: DeleteWorkspaceCommandInput, options?: __HttpHandlerOptions): Promise<DeleteWorkspaceCommandOutput>;
|
|
25
|
-
deleteWorkspace(args: DeleteWorkspaceCommandInput, cb: (err: any, data?: DeleteWorkspaceCommandOutput) => void): void;
|
|
26
|
-
deleteWorkspace(args: DeleteWorkspaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteWorkspaceCommandOutput) => void): void;
|
|
27
|
-
/**
|
|
28
|
-
* Describes an existing AMP workspace.
|
|
29
|
-
*/
|
|
30
|
-
describeWorkspace(args: DescribeWorkspaceCommandInput, options?: __HttpHandlerOptions): Promise<DescribeWorkspaceCommandOutput>;
|
|
31
|
-
describeWorkspace(args: DescribeWorkspaceCommandInput, cb: (err: any, data?: DescribeWorkspaceCommandOutput) => void): void;
|
|
32
|
-
describeWorkspace(args: DescribeWorkspaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeWorkspaceCommandOutput) => void): void;
|
|
33
|
-
/**
|
|
34
|
-
* Lists the tags you have assigned to the resource.
|
|
35
|
-
*/
|
|
36
|
-
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
37
|
-
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
38
|
-
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
39
|
-
/**
|
|
40
|
-
* Lists all AMP workspaces, including workspaces being created or deleted.
|
|
41
|
-
*/
|
|
42
|
-
listWorkspaces(args: ListWorkspacesCommandInput, options?: __HttpHandlerOptions): Promise<ListWorkspacesCommandOutput>;
|
|
43
|
-
listWorkspaces(args: ListWorkspacesCommandInput, cb: (err: any, data?: ListWorkspacesCommandOutput) => void): void;
|
|
44
|
-
listWorkspaces(args: ListWorkspacesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListWorkspacesCommandOutput) => void): void;
|
|
45
|
-
/**
|
|
46
|
-
* Creates tags for the specified resource.
|
|
47
|
-
*/
|
|
48
|
-
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
49
|
-
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
50
|
-
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
51
|
-
/**
|
|
52
|
-
* Deletes tags from the specified resource.
|
|
53
|
-
*/
|
|
54
|
-
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
55
|
-
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
56
|
-
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
57
|
-
/**
|
|
58
|
-
* Updates an AMP workspace alias.
|
|
59
|
-
*/
|
|
60
|
-
updateWorkspaceAlias(args: UpdateWorkspaceAliasCommandInput, options?: __HttpHandlerOptions): Promise<UpdateWorkspaceAliasCommandOutput>;
|
|
61
|
-
updateWorkspaceAlias(args: UpdateWorkspaceAliasCommandInput, cb: (err: any, data?: UpdateWorkspaceAliasCommandOutput) => void): void;
|
|
62
|
-
updateWorkspaceAlias(args: UpdateWorkspaceAliasCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateWorkspaceAliasCommandOutput) => void): void;
|
|
63
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export * from "./AmpClient";
|
|
2
|
-
export * from "./Amp";
|
|
3
|
-
export * from "./commands/CreateWorkspaceCommand";
|
|
4
|
-
export * from "./commands/DeleteWorkspaceCommand";
|
|
5
|
-
export * from "./commands/DescribeWorkspaceCommand";
|
|
6
|
-
export * from "./commands/ListTagsForResourceCommand";
|
|
7
|
-
export * from "./commands/ListWorkspacesCommand";
|
|
8
|
-
export * from "./pagination/ListWorkspacesPaginator";
|
|
9
|
-
export * from "./commands/TagResourceCommand";
|
|
10
|
-
export * from "./commands/UntagResourceCommand";
|
|
11
|
-
export * from "./commands/UpdateWorkspaceAliasCommand";
|
|
12
|
-
export * from "./pagination/Interfaces";
|
|
13
|
-
export * from "./models/index";
|