@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.
Files changed (219) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/README.md +7 -7
  3. package/dist-cjs/Amp.js +265 -0
  4. package/{dist/cjs → dist-cjs}/AmpClient.js +8 -9
  5. package/dist-cjs/commands/CreateAlertManagerDefinitionCommand.js +60 -0
  6. package/dist-cjs/commands/CreateRuleGroupsNamespaceCommand.js +60 -0
  7. package/{dist/cjs → dist-cjs}/commands/CreateWorkspaceCommand.js +2 -3
  8. package/dist-cjs/commands/DeleteAlertManagerDefinitionCommand.js +60 -0
  9. package/dist-cjs/commands/DeleteRuleGroupsNamespaceCommand.js +60 -0
  10. package/{dist/cjs → dist-cjs}/commands/DeleteWorkspaceCommand.js +2 -3
  11. package/dist-cjs/commands/DescribeAlertManagerDefinitionCommand.js +60 -0
  12. package/dist-cjs/commands/DescribeRuleGroupsNamespaceCommand.js +60 -0
  13. package/{dist/cjs → dist-cjs}/commands/DescribeWorkspaceCommand.js +2 -3
  14. package/dist-cjs/commands/ListRuleGroupsNamespacesCommand.js +60 -0
  15. package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -3
  16. package/{dist/cjs → dist-cjs}/commands/ListWorkspacesCommand.js +2 -3
  17. package/dist-cjs/commands/PutAlertManagerDefinitionCommand.js +60 -0
  18. package/dist-cjs/commands/PutRuleGroupsNamespaceCommand.js +60 -0
  19. package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -3
  20. package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -3
  21. package/{dist/cjs → dist-cjs}/commands/UpdateWorkspaceAliasCommand.js +2 -3
  22. package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
  23. package/{dist/cjs → dist-cjs}/index.js +12 -1
  24. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  25. package/dist-cjs/models/models_0.js +501 -0
  26. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
  27. package/dist-cjs/pagination/ListRuleGroupsNamespacesPaginator.js +45 -0
  28. package/{dist/cjs → dist-cjs}/pagination/ListWorkspacesPaginator.js +0 -1
  29. package/dist-cjs/protocols/Aws_restJson1.js +2393 -0
  30. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +2 -2
  31. package/{dist/cjs → dist-cjs}/runtimeConfig.js +2 -2
  32. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -1
  33. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -2
  34. package/dist-cjs/waiters/waitForWorkspaceActive.js +63 -0
  35. package/dist-cjs/waiters/waitForWorkspaceDeleted.js +48 -0
  36. package/dist-es/Amp.js +265 -0
  37. package/{dist/es → dist-es}/AmpClient.js +2 -11
  38. package/dist-es/commands/CreateAlertManagerDefinitionCommand.js +39 -0
  39. package/dist-es/commands/CreateRuleGroupsNamespaceCommand.js +39 -0
  40. package/{dist/es → dist-es}/commands/CreateWorkspaceCommand.js +4 -30
  41. package/dist-es/commands/DeleteAlertManagerDefinitionCommand.js +39 -0
  42. package/dist-es/commands/DeleteRuleGroupsNamespaceCommand.js +39 -0
  43. package/{dist/es → dist-es}/commands/DeleteWorkspaceCommand.js +4 -30
  44. package/dist-es/commands/DescribeAlertManagerDefinitionCommand.js +39 -0
  45. package/dist-es/commands/DescribeRuleGroupsNamespaceCommand.js +39 -0
  46. package/{dist/es → dist-es}/commands/DescribeWorkspaceCommand.js +4 -30
  47. package/dist-es/commands/ListRuleGroupsNamespacesCommand.js +39 -0
  48. package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +4 -30
  49. package/{dist/es → dist-es}/commands/ListWorkspacesCommand.js +4 -30
  50. package/dist-es/commands/PutAlertManagerDefinitionCommand.js +39 -0
  51. package/dist-es/commands/PutRuleGroupsNamespaceCommand.js +39 -0
  52. package/{dist/es → dist-es}/commands/TagResourceCommand.js +4 -30
  53. package/{dist/es → dist-es}/commands/UntagResourceCommand.js +4 -30
  54. package/{dist/es → dist-es}/commands/UpdateWorkspaceAliasCommand.js +4 -30
  55. package/{dist/es → dist-es}/endpoints.js +1 -2
  56. package/dist-es/index.js +25 -0
  57. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  58. package/dist-es/models/models_0.js +218 -0
  59. package/dist-es/pagination/Interfaces.js +1 -0
  60. package/dist-es/pagination/ListRuleGroupsNamespacesPaginator.js +74 -0
  61. package/{dist/es → dist-es}/pagination/ListWorkspacesPaginator.js +16 -29
  62. package/dist-es/protocols/Aws_restJson1.js +2684 -0
  63. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
  64. package/{dist/es → dist-es}/runtimeConfig.js +1 -5
  65. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
  66. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
  67. package/dist-es/waiters/waitForWorkspaceActive.js +69 -0
  68. package/dist-es/waiters/waitForWorkspaceDeleted.js +54 -0
  69. package/dist-types/Amp.d.ts +126 -0
  70. package/{dist/types/ts3.4 → dist-types}/AmpClient.d.ts +149 -140
  71. package/dist-types/commands/CreateAlertManagerDefinitionCommand.d.ts +35 -0
  72. package/dist-types/commands/CreateRuleGroupsNamespaceCommand.d.ts +35 -0
  73. package/{dist/types → dist-types}/commands/CreateWorkspaceCommand.d.ts +2 -2
  74. package/dist-types/commands/DeleteAlertManagerDefinitionCommand.d.ts +35 -0
  75. package/dist-types/commands/DeleteRuleGroupsNamespaceCommand.d.ts +35 -0
  76. package/{dist/types → dist-types}/commands/DeleteWorkspaceCommand.d.ts +2 -2
  77. package/dist-types/commands/DescribeAlertManagerDefinitionCommand.d.ts +35 -0
  78. package/dist-types/commands/DescribeRuleGroupsNamespaceCommand.d.ts +35 -0
  79. package/{dist/types → dist-types}/commands/DescribeWorkspaceCommand.d.ts +2 -2
  80. package/dist-types/commands/ListRuleGroupsNamespacesCommand.d.ts +35 -0
  81. package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
  82. package/{dist/types → dist-types}/commands/ListWorkspacesCommand.d.ts +2 -2
  83. package/dist-types/commands/PutAlertManagerDefinitionCommand.d.ts +35 -0
  84. package/dist-types/commands/PutRuleGroupsNamespaceCommand.d.ts +35 -0
  85. package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
  86. package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
  87. package/{dist/types → dist-types}/commands/UpdateWorkspaceAliasCommand.d.ts +2 -2
  88. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  89. package/dist-types/index.d.ts +25 -0
  90. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  91. package/dist-types/models/models_0.d.ts +1103 -0
  92. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  93. package/dist-types/pagination/ListRuleGroupsNamespacesPaginator.d.ts +4 -0
  94. package/{dist/types → dist-types}/pagination/ListWorkspacesPaginator.d.ts +1 -1
  95. package/dist-types/protocols/Aws_restJson1.d.ts +53 -0
  96. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +1 -0
  97. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.d.ts +37 -36
  98. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +1 -0
  99. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  100. package/dist-types/ts3.4/Amp.d.ts +126 -0
  101. package/{dist/types → dist-types/ts3.4}/AmpClient.d.ts +149 -140
  102. package/dist-types/ts3.4/commands/CreateAlertManagerDefinitionCommand.d.ts +35 -0
  103. package/dist-types/ts3.4/commands/CreateRuleGroupsNamespaceCommand.d.ts +35 -0
  104. package/{dist/types → dist-types}/ts3.4/commands/CreateWorkspaceCommand.d.ts +2 -2
  105. package/dist-types/ts3.4/commands/DeleteAlertManagerDefinitionCommand.d.ts +35 -0
  106. package/dist-types/ts3.4/commands/DeleteRuleGroupsNamespaceCommand.d.ts +35 -0
  107. package/{dist/types → dist-types}/ts3.4/commands/DeleteWorkspaceCommand.d.ts +2 -2
  108. package/dist-types/ts3.4/commands/DescribeAlertManagerDefinitionCommand.d.ts +35 -0
  109. package/dist-types/ts3.4/commands/DescribeRuleGroupsNamespaceCommand.d.ts +35 -0
  110. package/{dist/types → dist-types}/ts3.4/commands/DescribeWorkspaceCommand.d.ts +2 -2
  111. package/dist-types/ts3.4/commands/ListRuleGroupsNamespacesCommand.d.ts +35 -0
  112. package/{dist/types → dist-types}/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -2
  113. package/{dist/types → dist-types}/ts3.4/commands/ListWorkspacesCommand.d.ts +2 -2
  114. package/dist-types/ts3.4/commands/PutAlertManagerDefinitionCommand.d.ts +35 -0
  115. package/dist-types/ts3.4/commands/PutRuleGroupsNamespaceCommand.d.ts +35 -0
  116. package/{dist/types → dist-types}/ts3.4/commands/TagResourceCommand.d.ts +2 -2
  117. package/{dist/types → dist-types}/ts3.4/commands/UntagResourceCommand.d.ts +2 -2
  118. package/{dist/types → dist-types}/ts3.4/commands/UpdateWorkspaceAliasCommand.d.ts +2 -2
  119. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  120. package/dist-types/ts3.4/index.d.ts +25 -0
  121. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  122. package/dist-types/ts3.4/models/models_0.d.ts +1103 -0
  123. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  124. package/dist-types/ts3.4/pagination/ListRuleGroupsNamespacesPaginator.d.ts +4 -0
  125. package/{dist/types → dist-types}/ts3.4/pagination/ListWorkspacesPaginator.d.ts +1 -1
  126. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +53 -0
  127. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -0
  128. package/{dist/types → dist-types/ts3.4}/runtimeConfig.d.ts +37 -36
  129. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -0
  130. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
  131. package/dist-types/ts3.4/waiters/waitForWorkspaceActive.d.ts +14 -0
  132. package/dist-types/ts3.4/waiters/waitForWorkspaceDeleted.d.ts +14 -0
  133. package/dist-types/waiters/waitForWorkspaceActive.d.ts +14 -0
  134. package/dist-types/waiters/waitForWorkspaceDeleted.d.ts +14 -0
  135. package/package.json +53 -49
  136. package/Amp.ts +0 -293
  137. package/AmpClient.ts +0 -265
  138. package/commands/CreateWorkspaceCommand.ts +0 -94
  139. package/commands/DeleteWorkspaceCommand.ts +0 -94
  140. package/commands/DescribeWorkspaceCommand.ts +0 -94
  141. package/commands/ListTagsForResourceCommand.ts +0 -94
  142. package/commands/ListWorkspacesCommand.ts +0 -94
  143. package/commands/TagResourceCommand.ts +0 -94
  144. package/commands/UntagResourceCommand.ts +0 -94
  145. package/commands/UpdateWorkspaceAliasCommand.ts +0 -94
  146. package/dist/cjs/Amp.js +0 -131
  147. package/dist/cjs/Amp.js.map +0 -1
  148. package/dist/cjs/AmpClient.js.map +0 -1
  149. package/dist/cjs/commands/CreateWorkspaceCommand.js.map +0 -1
  150. package/dist/cjs/commands/DeleteWorkspaceCommand.js.map +0 -1
  151. package/dist/cjs/commands/DescribeWorkspaceCommand.js.map +0 -1
  152. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  153. package/dist/cjs/commands/ListWorkspacesCommand.js.map +0 -1
  154. package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
  155. package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
  156. package/dist/cjs/commands/UpdateWorkspaceAliasCommand.js.map +0 -1
  157. package/dist/cjs/endpoints.js.map +0 -1
  158. package/dist/cjs/index.js.map +0 -1
  159. package/dist/cjs/models/index.js.map +0 -1
  160. package/dist/cjs/models/models_0.js +0 -259
  161. package/dist/cjs/models/models_0.js.map +0 -1
  162. package/dist/cjs/package.json +0 -93
  163. package/dist/cjs/pagination/Interfaces.js.map +0 -1
  164. package/dist/cjs/pagination/ListWorkspacesPaginator.js.map +0 -1
  165. package/dist/cjs/protocols/Aws_restJson1.js +0 -1176
  166. package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
  167. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  168. package/dist/cjs/runtimeConfig.js.map +0 -1
  169. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  170. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  171. package/dist/es/Amp.js +0 -134
  172. package/dist/es/Amp.js.map +0 -1
  173. package/dist/es/AmpClient.js.map +0 -1
  174. package/dist/es/commands/CreateWorkspaceCommand.js.map +0 -1
  175. package/dist/es/commands/DeleteWorkspaceCommand.js.map +0 -1
  176. package/dist/es/commands/DescribeWorkspaceCommand.js.map +0 -1
  177. package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
  178. package/dist/es/commands/ListWorkspacesCommand.js.map +0 -1
  179. package/dist/es/commands/TagResourceCommand.js.map +0 -1
  180. package/dist/es/commands/UntagResourceCommand.js.map +0 -1
  181. package/dist/es/commands/UpdateWorkspaceAliasCommand.js.map +0 -1
  182. package/dist/es/endpoints.js.map +0 -1
  183. package/dist/es/index.js +0 -14
  184. package/dist/es/index.js.map +0 -1
  185. package/dist/es/models/index.js +0 -2
  186. package/dist/es/models/index.js.map +0 -1
  187. package/dist/es/models/models_0.js +0 -207
  188. package/dist/es/models/models_0.js.map +0 -1
  189. package/dist/es/package.json +0 -93
  190. package/dist/es/pagination/Interfaces.js +0 -2
  191. package/dist/es/pagination/Interfaces.js.map +0 -1
  192. package/dist/es/pagination/ListWorkspacesPaginator.js.map +0 -1
  193. package/dist/es/protocols/Aws_restJson1.js +0 -1327
  194. package/dist/es/protocols/Aws_restJson1.js.map +0 -1
  195. package/dist/es/runtimeConfig.browser.js.map +0 -1
  196. package/dist/es/runtimeConfig.js.map +0 -1
  197. package/dist/es/runtimeConfig.native.js.map +0 -1
  198. package/dist/es/runtimeConfig.shared.js.map +0 -1
  199. package/dist/types/Amp.d.ts +0 -63
  200. package/dist/types/index.d.ts +0 -13
  201. package/dist/types/models/models_0.d.ts +0 -562
  202. package/dist/types/protocols/Aws_restJson1.d.ts +0 -26
  203. package/dist/types/ts3.4/Amp.d.ts +0 -63
  204. package/dist/types/ts3.4/index.d.ts +0 -13
  205. package/dist/types/ts3.4/models/models_0.d.ts +0 -562
  206. package/dist/types/ts3.4/protocols/Aws_restJson1.d.ts +0 -26
  207. package/endpoints.ts +0 -57
  208. package/index.ts +0 -13
  209. package/jest.config.js +0 -4
  210. package/models/models_0.ts +0 -689
  211. package/pagination/Interfaces.ts +0 -7
  212. package/pagination/ListWorkspacesPaginator.ts +0 -58
  213. package/protocols/Aws_restJson1.ts +0 -1348
  214. package/runtimeConfig.browser.ts +0 -40
  215. package/runtimeConfig.native.ts +0 -16
  216. package/runtimeConfig.shared.ts +0 -16
  217. package/runtimeConfig.ts +0 -45
  218. package/tsconfig.es.json +0 -12
  219. package/tsconfig.json +0 -32
@@ -1,689 +0,0 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
2
-
3
- /**
4
- * User does not have sufficient access to perform this action.
5
- */
6
- export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
7
- name: "AccessDeniedException";
8
- $fault: "client";
9
- /**
10
- * Description of the error.
11
- */
12
- message: string | undefined;
13
- }
14
-
15
- export namespace AccessDeniedException {
16
- /**
17
- * @internal
18
- */
19
- export const filterSensitiveLog = (obj: AccessDeniedException): any => ({
20
- ...obj,
21
- });
22
- }
23
-
24
- /**
25
- * Unexpected error during processing of request.
26
- */
27
- export interface InternalServerException extends __SmithyException, $MetadataBearer {
28
- name: "InternalServerException";
29
- $fault: "server";
30
- $retryable: {};
31
- /**
32
- * Description of the error.
33
- */
34
- message: string | undefined;
35
-
36
- /**
37
- * Advice to clients on when the call can be safely retried.
38
- */
39
- retryAfterSeconds?: number;
40
- }
41
-
42
- export namespace InternalServerException {
43
- /**
44
- * @internal
45
- */
46
- export const filterSensitiveLog = (obj: InternalServerException): any => ({
47
- ...obj,
48
- });
49
- }
50
-
51
- export interface ListTagsForResourceRequest {
52
- /**
53
- * The ARN of the resource.
54
- */
55
- resourceArn: string | undefined;
56
- }
57
-
58
- export namespace ListTagsForResourceRequest {
59
- /**
60
- * @internal
61
- */
62
- export const filterSensitiveLog = (obj: ListTagsForResourceRequest): any => ({
63
- ...obj,
64
- });
65
- }
66
-
67
- export interface ListTagsForResourceResponse {
68
- /**
69
- * The list of tags assigned to the resource.
70
- */
71
- tags?: { [key: string]: string };
72
- }
73
-
74
- export namespace ListTagsForResourceResponse {
75
- /**
76
- * @internal
77
- */
78
- export const filterSensitiveLog = (obj: ListTagsForResourceResponse): any => ({
79
- ...obj,
80
- });
81
- }
82
-
83
- /**
84
- * Request references a resource which does not exist.
85
- */
86
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
87
- name: "ResourceNotFoundException";
88
- $fault: "client";
89
- /**
90
- * Description of the error.
91
- */
92
- message: string | undefined;
93
-
94
- /**
95
- * Identifier of the resource affected.
96
- */
97
- resourceId: string | undefined;
98
-
99
- /**
100
- * Type of the resource affected.
101
- */
102
- resourceType: string | undefined;
103
- }
104
-
105
- export namespace ResourceNotFoundException {
106
- /**
107
- * @internal
108
- */
109
- export const filterSensitiveLog = (obj: ResourceNotFoundException): any => ({
110
- ...obj,
111
- });
112
- }
113
-
114
- /**
115
- * Request was denied due to request throttling.
116
- */
117
- export interface ThrottlingException extends __SmithyException, $MetadataBearer {
118
- name: "ThrottlingException";
119
- $fault: "client";
120
- $retryable: {};
121
- /**
122
- * Description of the error.
123
- */
124
- message: string | undefined;
125
-
126
- /**
127
- * Service Quotas requirement to identify originating service.
128
- */
129
- serviceCode?: string;
130
-
131
- /**
132
- * Service Quotas requirement to identify originating quota.
133
- */
134
- quotaCode?: string;
135
-
136
- /**
137
- * Advice to clients on when the call can be safely retried.
138
- */
139
- retryAfterSeconds?: number;
140
- }
141
-
142
- export namespace ThrottlingException {
143
- /**
144
- * @internal
145
- */
146
- export const filterSensitiveLog = (obj: ThrottlingException): any => ({
147
- ...obj,
148
- });
149
- }
150
-
151
- /**
152
- * Stores information about a field passed inside a request that resulted in an exception.
153
- */
154
- export interface ValidationExceptionField {
155
- /**
156
- * The field name.
157
- */
158
- name: string | undefined;
159
-
160
- /**
161
- * Message describing why the field failed validation.
162
- */
163
- message: string | undefined;
164
- }
165
-
166
- export namespace ValidationExceptionField {
167
- /**
168
- * @internal
169
- */
170
- export const filterSensitiveLog = (obj: ValidationExceptionField): any => ({
171
- ...obj,
172
- });
173
- }
174
-
175
- export enum ValidationExceptionReason {
176
- CANNOT_PARSE = "CANNOT_PARSE",
177
- FIELD_VALIDATION_FAILED = "FIELD_VALIDATION_FAILED",
178
- OTHER = "OTHER",
179
- UNKNOWN_OPERATION = "UNKNOWN_OPERATION",
180
- }
181
-
182
- /**
183
- * The input fails to satisfy the constraints specified by an AWS service.
184
- */
185
- export interface ValidationException extends __SmithyException, $MetadataBearer {
186
- name: "ValidationException";
187
- $fault: "client";
188
- /**
189
- * Description of the error.
190
- */
191
- message: string | undefined;
192
-
193
- /**
194
- * Reason the request failed validation.
195
- */
196
- reason: ValidationExceptionReason | string | undefined;
197
-
198
- /**
199
- * The field that caused the error, if applicable. If more than one field caused the error, pick one and elaborate in the message.
200
- */
201
- fieldList?: ValidationExceptionField[];
202
- }
203
-
204
- export namespace ValidationException {
205
- /**
206
- * @internal
207
- */
208
- export const filterSensitiveLog = (obj: ValidationException): any => ({
209
- ...obj,
210
- });
211
- }
212
-
213
- export interface TagResourceRequest {
214
- /**
215
- * The ARN of the resource.
216
- */
217
- resourceArn: string | undefined;
218
-
219
- /**
220
- * The list of tags assigned to the resource.
221
- */
222
- tags: { [key: string]: string } | undefined;
223
- }
224
-
225
- export namespace TagResourceRequest {
226
- /**
227
- * @internal
228
- */
229
- export const filterSensitiveLog = (obj: TagResourceRequest): any => ({
230
- ...obj,
231
- });
232
- }
233
-
234
- export interface TagResourceResponse {}
235
-
236
- export namespace TagResourceResponse {
237
- /**
238
- * @internal
239
- */
240
- export const filterSensitiveLog = (obj: TagResourceResponse): any => ({
241
- ...obj,
242
- });
243
- }
244
-
245
- export interface UntagResourceRequest {
246
- /**
247
- * The ARN of the resource.
248
- */
249
- resourceArn: string | undefined;
250
-
251
- /**
252
- * One or more tag keys
253
- */
254
- tagKeys: string[] | undefined;
255
- }
256
-
257
- export namespace UntagResourceRequest {
258
- /**
259
- * @internal
260
- */
261
- export const filterSensitiveLog = (obj: UntagResourceRequest): any => ({
262
- ...obj,
263
- });
264
- }
265
-
266
- export interface UntagResourceResponse {}
267
-
268
- export namespace UntagResourceResponse {
269
- /**
270
- * @internal
271
- */
272
- export const filterSensitiveLog = (obj: UntagResourceResponse): any => ({
273
- ...obj,
274
- });
275
- }
276
-
277
- /**
278
- * Updating or deleting a resource can cause an inconsistent state.
279
- */
280
- export interface ConflictException extends __SmithyException, $MetadataBearer {
281
- name: "ConflictException";
282
- $fault: "client";
283
- /**
284
- * Description of the error.
285
- */
286
- message: string | undefined;
287
-
288
- /**
289
- * Identifier of the resource affected.
290
- */
291
- resourceId: string | undefined;
292
-
293
- /**
294
- * Type of the resource affected.
295
- */
296
- resourceType: string | undefined;
297
- }
298
-
299
- export namespace ConflictException {
300
- /**
301
- * @internal
302
- */
303
- export const filterSensitiveLog = (obj: ConflictException): any => ({
304
- ...obj,
305
- });
306
- }
307
-
308
- /**
309
- * Represents the input of a CreateWorkspace operation.
310
- */
311
- export interface CreateWorkspaceRequest {
312
- /**
313
- * An optional user-assigned alias for this workspace. This alias is for user reference and does not need to be unique.
314
- */
315
- alias?: string;
316
-
317
- /**
318
- * Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
319
- */
320
- clientToken?: string;
321
-
322
- /**
323
- * Optional, user-provided tags for this workspace.
324
- */
325
- tags?: { [key: string]: string };
326
- }
327
-
328
- export namespace CreateWorkspaceRequest {
329
- /**
330
- * @internal
331
- */
332
- export const filterSensitiveLog = (obj: CreateWorkspaceRequest): any => ({
333
- ...obj,
334
- });
335
- }
336
-
337
- export enum WorkspaceStatusCode {
338
- /**
339
- * Workspace has been created and is usable.
340
- */
341
- ACTIVE = "ACTIVE",
342
- /**
343
- * Workspace is being created. Deletion is disallowed until status is ACTIVE.
344
- */
345
- CREATING = "CREATING",
346
- /**
347
- * Workspace creation failed. Refer to WorkspaceStatus.failureReason for more details.
348
- */
349
- CREATION_FAILED = "CREATION_FAILED",
350
- /**
351
- * Workspace is being deleted. Deletions are allowed only when status is ACTIVE.
352
- */
353
- DELETING = "DELETING",
354
- /**
355
- * Workspace is being updated. Updates are allowed only when status is ACTIVE.
356
- */
357
- UPDATING = "UPDATING",
358
- }
359
-
360
- /**
361
- * Represents the status of a workspace.
362
- */
363
- export interface WorkspaceStatus {
364
- /**
365
- * Status code of this workspace.
366
- */
367
- statusCode: WorkspaceStatusCode | string | undefined;
368
- }
369
-
370
- export namespace WorkspaceStatus {
371
- /**
372
- * @internal
373
- */
374
- export const filterSensitiveLog = (obj: WorkspaceStatus): any => ({
375
- ...obj,
376
- });
377
- }
378
-
379
- /**
380
- * Represents the output of a CreateWorkspace operation.
381
- */
382
- export interface CreateWorkspaceResponse {
383
- /**
384
- * The generated ID of the workspace that was just created.
385
- */
386
- workspaceId: string | undefined;
387
-
388
- /**
389
- * The ARN of the workspace that was just created.
390
- */
391
- arn: string | undefined;
392
-
393
- /**
394
- * The status of the workspace that was just created (usually CREATING).
395
- */
396
- status: WorkspaceStatus | undefined;
397
-
398
- /**
399
- * The tags of this workspace.
400
- */
401
- tags?: { [key: string]: string };
402
- }
403
-
404
- export namespace CreateWorkspaceResponse {
405
- /**
406
- * @internal
407
- */
408
- export const filterSensitiveLog = (obj: CreateWorkspaceResponse): any => ({
409
- ...obj,
410
- });
411
- }
412
-
413
- /**
414
- * Request would cause a service quota to be exceeded.
415
- */
416
- export interface ServiceQuotaExceededException extends __SmithyException, $MetadataBearer {
417
- name: "ServiceQuotaExceededException";
418
- $fault: "client";
419
- /**
420
- * Description of the error.
421
- */
422
- message: string | undefined;
423
-
424
- /**
425
- * Identifier of the resource affected.
426
- */
427
- resourceId: string | undefined;
428
-
429
- /**
430
- * Type of the resource affected.
431
- */
432
- resourceType: string | undefined;
433
-
434
- /**
435
- * Service Quotas requirement to identify originating service.
436
- */
437
- serviceCode: string | undefined;
438
-
439
- /**
440
- * Service Quotas requirement to identify originating quota.
441
- */
442
- quotaCode: string | undefined;
443
- }
444
-
445
- export namespace ServiceQuotaExceededException {
446
- /**
447
- * @internal
448
- */
449
- export const filterSensitiveLog = (obj: ServiceQuotaExceededException): any => ({
450
- ...obj,
451
- });
452
- }
453
-
454
- /**
455
- * Represents the input of a DeleteWorkspace operation.
456
- */
457
- export interface DeleteWorkspaceRequest {
458
- /**
459
- * The ID of the workspace to delete.
460
- */
461
- workspaceId: string | undefined;
462
-
463
- /**
464
- * Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
465
- */
466
- clientToken?: string;
467
- }
468
-
469
- export namespace DeleteWorkspaceRequest {
470
- /**
471
- * @internal
472
- */
473
- export const filterSensitiveLog = (obj: DeleteWorkspaceRequest): any => ({
474
- ...obj,
475
- });
476
- }
477
-
478
- /**
479
- * Represents the input of a DescribeWorkspace operation.
480
- */
481
- export interface DescribeWorkspaceRequest {
482
- /**
483
- * The ID of the workspace to describe.
484
- */
485
- workspaceId: string | undefined;
486
- }
487
-
488
- export namespace DescribeWorkspaceRequest {
489
- /**
490
- * @internal
491
- */
492
- export const filterSensitiveLog = (obj: DescribeWorkspaceRequest): any => ({
493
- ...obj,
494
- });
495
- }
496
-
497
- /**
498
- * Represents the properties of a workspace.
499
- */
500
- export interface WorkspaceDescription {
501
- /**
502
- * Unique string identifying this workspace.
503
- */
504
- workspaceId: string | undefined;
505
-
506
- /**
507
- * Alias of this workspace.
508
- */
509
- alias?: string;
510
-
511
- /**
512
- * The Amazon Resource Name (ARN) of this workspace.
513
- */
514
- arn: string | undefined;
515
-
516
- /**
517
- * The status of this workspace.
518
- */
519
- status: WorkspaceStatus | undefined;
520
-
521
- /**
522
- * Prometheus endpoint URI.
523
- */
524
- prometheusEndpoint?: string;
525
-
526
- /**
527
- * The time when the workspace was created.
528
- */
529
- createdAt: Date | undefined;
530
-
531
- /**
532
- * The tags of this workspace.
533
- */
534
- tags?: { [key: string]: string };
535
- }
536
-
537
- export namespace WorkspaceDescription {
538
- /**
539
- * @internal
540
- */
541
- export const filterSensitiveLog = (obj: WorkspaceDescription): any => ({
542
- ...obj,
543
- });
544
- }
545
-
546
- /**
547
- * Represents the output of a DescribeWorkspace operation.
548
- */
549
- export interface DescribeWorkspaceResponse {
550
- /**
551
- * The properties of the selected workspace.
552
- */
553
- workspace: WorkspaceDescription | undefined;
554
- }
555
-
556
- export namespace DescribeWorkspaceResponse {
557
- /**
558
- * @internal
559
- */
560
- export const filterSensitiveLog = (obj: DescribeWorkspaceResponse): any => ({
561
- ...obj,
562
- });
563
- }
564
-
565
- /**
566
- * Represents the input of a ListWorkspaces operation.
567
- */
568
- export interface ListWorkspacesRequest {
569
- /**
570
- * Pagination token to request the next page in a paginated list. This token is obtained from the output of the previous ListWorkspaces request.
571
- */
572
- nextToken?: string;
573
-
574
- /**
575
- * Optional filter for workspace alias. Only the workspaces with aliases that begin with this value will be returned.
576
- */
577
- alias?: string;
578
-
579
- /**
580
- * Maximum results to return in response (default=100, maximum=1000).
581
- */
582
- maxResults?: number;
583
- }
584
-
585
- export namespace ListWorkspacesRequest {
586
- /**
587
- * @internal
588
- */
589
- export const filterSensitiveLog = (obj: ListWorkspacesRequest): any => ({
590
- ...obj,
591
- });
592
- }
593
-
594
- /**
595
- * Represents a summary of the properties of a workspace.
596
- */
597
- export interface WorkspaceSummary {
598
- /**
599
- * Unique string identifying this workspace.
600
- */
601
- workspaceId: string | undefined;
602
-
603
- /**
604
- * Alias of this workspace.
605
- */
606
- alias?: string;
607
-
608
- /**
609
- * The AmazonResourceName of this workspace.
610
- */
611
- arn: string | undefined;
612
-
613
- /**
614
- * The status of this workspace.
615
- */
616
- status: WorkspaceStatus | undefined;
617
-
618
- /**
619
- * The time when the workspace was created.
620
- */
621
- createdAt: Date | undefined;
622
-
623
- /**
624
- * The tags of this workspace.
625
- */
626
- tags?: { [key: string]: string };
627
- }
628
-
629
- export namespace WorkspaceSummary {
630
- /**
631
- * @internal
632
- */
633
- export const filterSensitiveLog = (obj: WorkspaceSummary): any => ({
634
- ...obj,
635
- });
636
- }
637
-
638
- /**
639
- * Represents the output of a ListWorkspaces operation.
640
- */
641
- export interface ListWorkspacesResponse {
642
- /**
643
- * The list of existing workspaces, including those undergoing creation or deletion.
644
- */
645
- workspaces: WorkspaceSummary[] | undefined;
646
-
647
- /**
648
- * Pagination token to use when requesting the next page in this list.
649
- */
650
- nextToken?: string;
651
- }
652
-
653
- export namespace ListWorkspacesResponse {
654
- /**
655
- * @internal
656
- */
657
- export const filterSensitiveLog = (obj: ListWorkspacesResponse): any => ({
658
- ...obj,
659
- });
660
- }
661
-
662
- /**
663
- * Represents the input of an UpdateWorkspaceAlias operation.
664
- */
665
- export interface UpdateWorkspaceAliasRequest {
666
- /**
667
- * The ID of the workspace being updated.
668
- */
669
- workspaceId: string | undefined;
670
-
671
- /**
672
- * The new alias of the workspace.
673
- */
674
- alias?: string;
675
-
676
- /**
677
- * Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
678
- */
679
- clientToken?: string;
680
- }
681
-
682
- export namespace UpdateWorkspaceAliasRequest {
683
- /**
684
- * @internal
685
- */
686
- export const filterSensitiveLog = (obj: UpdateWorkspaceAliasRequest): any => ({
687
- ...obj,
688
- });
689
- }
@@ -1,7 +0,0 @@
1
- import { Amp } from "../Amp";
2
- import { AmpClient } from "../AmpClient";
3
- import { PaginationConfiguration } from "@aws-sdk/types";
4
-
5
- export interface AmpPaginationConfiguration extends PaginationConfiguration {
6
- client: Amp | AmpClient;
7
- }