@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
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
import { __assign } from "tslib";
|
|
2
|
+
export var AccessDeniedException;
|
|
3
|
+
(function (AccessDeniedException) {
|
|
4
|
+
AccessDeniedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
5
|
+
})(AccessDeniedException || (AccessDeniedException = {}));
|
|
6
|
+
export var ConflictException;
|
|
7
|
+
(function (ConflictException) {
|
|
8
|
+
ConflictException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
9
|
+
})(ConflictException || (ConflictException = {}));
|
|
10
|
+
export var CreateAlertManagerDefinitionRequest;
|
|
11
|
+
(function (CreateAlertManagerDefinitionRequest) {
|
|
12
|
+
CreateAlertManagerDefinitionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
13
|
+
})(CreateAlertManagerDefinitionRequest || (CreateAlertManagerDefinitionRequest = {}));
|
|
14
|
+
export var AlertManagerDefinitionStatusCode;
|
|
15
|
+
(function (AlertManagerDefinitionStatusCode) {
|
|
16
|
+
AlertManagerDefinitionStatusCode["ACTIVE"] = "ACTIVE";
|
|
17
|
+
AlertManagerDefinitionStatusCode["CREATING"] = "CREATING";
|
|
18
|
+
AlertManagerDefinitionStatusCode["CREATION_FAILED"] = "CREATION_FAILED";
|
|
19
|
+
AlertManagerDefinitionStatusCode["DELETING"] = "DELETING";
|
|
20
|
+
AlertManagerDefinitionStatusCode["UPDATE_FAILED"] = "UPDATE_FAILED";
|
|
21
|
+
AlertManagerDefinitionStatusCode["UPDATING"] = "UPDATING";
|
|
22
|
+
})(AlertManagerDefinitionStatusCode || (AlertManagerDefinitionStatusCode = {}));
|
|
23
|
+
export var AlertManagerDefinitionStatus;
|
|
24
|
+
(function (AlertManagerDefinitionStatus) {
|
|
25
|
+
AlertManagerDefinitionStatus.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
26
|
+
})(AlertManagerDefinitionStatus || (AlertManagerDefinitionStatus = {}));
|
|
27
|
+
export var CreateAlertManagerDefinitionResponse;
|
|
28
|
+
(function (CreateAlertManagerDefinitionResponse) {
|
|
29
|
+
CreateAlertManagerDefinitionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
30
|
+
})(CreateAlertManagerDefinitionResponse || (CreateAlertManagerDefinitionResponse = {}));
|
|
31
|
+
export var InternalServerException;
|
|
32
|
+
(function (InternalServerException) {
|
|
33
|
+
InternalServerException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
34
|
+
})(InternalServerException || (InternalServerException = {}));
|
|
35
|
+
export var ResourceNotFoundException;
|
|
36
|
+
(function (ResourceNotFoundException) {
|
|
37
|
+
ResourceNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
38
|
+
})(ResourceNotFoundException || (ResourceNotFoundException = {}));
|
|
39
|
+
export var ServiceQuotaExceededException;
|
|
40
|
+
(function (ServiceQuotaExceededException) {
|
|
41
|
+
ServiceQuotaExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
42
|
+
})(ServiceQuotaExceededException || (ServiceQuotaExceededException = {}));
|
|
43
|
+
export var ThrottlingException;
|
|
44
|
+
(function (ThrottlingException) {
|
|
45
|
+
ThrottlingException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
46
|
+
})(ThrottlingException || (ThrottlingException = {}));
|
|
47
|
+
export var ValidationExceptionField;
|
|
48
|
+
(function (ValidationExceptionField) {
|
|
49
|
+
ValidationExceptionField.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
50
|
+
})(ValidationExceptionField || (ValidationExceptionField = {}));
|
|
51
|
+
export var ValidationExceptionReason;
|
|
52
|
+
(function (ValidationExceptionReason) {
|
|
53
|
+
ValidationExceptionReason["CANNOT_PARSE"] = "CANNOT_PARSE";
|
|
54
|
+
ValidationExceptionReason["FIELD_VALIDATION_FAILED"] = "FIELD_VALIDATION_FAILED";
|
|
55
|
+
ValidationExceptionReason["OTHER"] = "OTHER";
|
|
56
|
+
ValidationExceptionReason["UNKNOWN_OPERATION"] = "UNKNOWN_OPERATION";
|
|
57
|
+
})(ValidationExceptionReason || (ValidationExceptionReason = {}));
|
|
58
|
+
export var ValidationException;
|
|
59
|
+
(function (ValidationException) {
|
|
60
|
+
ValidationException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
61
|
+
})(ValidationException || (ValidationException = {}));
|
|
62
|
+
export var DeleteAlertManagerDefinitionRequest;
|
|
63
|
+
(function (DeleteAlertManagerDefinitionRequest) {
|
|
64
|
+
DeleteAlertManagerDefinitionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
65
|
+
})(DeleteAlertManagerDefinitionRequest || (DeleteAlertManagerDefinitionRequest = {}));
|
|
66
|
+
export var DescribeAlertManagerDefinitionRequest;
|
|
67
|
+
(function (DescribeAlertManagerDefinitionRequest) {
|
|
68
|
+
DescribeAlertManagerDefinitionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
69
|
+
})(DescribeAlertManagerDefinitionRequest || (DescribeAlertManagerDefinitionRequest = {}));
|
|
70
|
+
export var AlertManagerDefinitionDescription;
|
|
71
|
+
(function (AlertManagerDefinitionDescription) {
|
|
72
|
+
AlertManagerDefinitionDescription.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
73
|
+
})(AlertManagerDefinitionDescription || (AlertManagerDefinitionDescription = {}));
|
|
74
|
+
export var DescribeAlertManagerDefinitionResponse;
|
|
75
|
+
(function (DescribeAlertManagerDefinitionResponse) {
|
|
76
|
+
DescribeAlertManagerDefinitionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
77
|
+
})(DescribeAlertManagerDefinitionResponse || (DescribeAlertManagerDefinitionResponse = {}));
|
|
78
|
+
export var PutAlertManagerDefinitionRequest;
|
|
79
|
+
(function (PutAlertManagerDefinitionRequest) {
|
|
80
|
+
PutAlertManagerDefinitionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
81
|
+
})(PutAlertManagerDefinitionRequest || (PutAlertManagerDefinitionRequest = {}));
|
|
82
|
+
export var PutAlertManagerDefinitionResponse;
|
|
83
|
+
(function (PutAlertManagerDefinitionResponse) {
|
|
84
|
+
PutAlertManagerDefinitionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
85
|
+
})(PutAlertManagerDefinitionResponse || (PutAlertManagerDefinitionResponse = {}));
|
|
86
|
+
export var ListTagsForResourceRequest;
|
|
87
|
+
(function (ListTagsForResourceRequest) {
|
|
88
|
+
ListTagsForResourceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
89
|
+
})(ListTagsForResourceRequest || (ListTagsForResourceRequest = {}));
|
|
90
|
+
export var ListTagsForResourceResponse;
|
|
91
|
+
(function (ListTagsForResourceResponse) {
|
|
92
|
+
ListTagsForResourceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
93
|
+
})(ListTagsForResourceResponse || (ListTagsForResourceResponse = {}));
|
|
94
|
+
export var TagResourceRequest;
|
|
95
|
+
(function (TagResourceRequest) {
|
|
96
|
+
TagResourceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
97
|
+
})(TagResourceRequest || (TagResourceRequest = {}));
|
|
98
|
+
export var TagResourceResponse;
|
|
99
|
+
(function (TagResourceResponse) {
|
|
100
|
+
TagResourceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
101
|
+
})(TagResourceResponse || (TagResourceResponse = {}));
|
|
102
|
+
export var UntagResourceRequest;
|
|
103
|
+
(function (UntagResourceRequest) {
|
|
104
|
+
UntagResourceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
105
|
+
})(UntagResourceRequest || (UntagResourceRequest = {}));
|
|
106
|
+
export var UntagResourceResponse;
|
|
107
|
+
(function (UntagResourceResponse) {
|
|
108
|
+
UntagResourceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
109
|
+
})(UntagResourceResponse || (UntagResourceResponse = {}));
|
|
110
|
+
export var CreateWorkspaceRequest;
|
|
111
|
+
(function (CreateWorkspaceRequest) {
|
|
112
|
+
CreateWorkspaceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
113
|
+
})(CreateWorkspaceRequest || (CreateWorkspaceRequest = {}));
|
|
114
|
+
export var WorkspaceStatusCode;
|
|
115
|
+
(function (WorkspaceStatusCode) {
|
|
116
|
+
WorkspaceStatusCode["ACTIVE"] = "ACTIVE";
|
|
117
|
+
WorkspaceStatusCode["CREATING"] = "CREATING";
|
|
118
|
+
WorkspaceStatusCode["CREATION_FAILED"] = "CREATION_FAILED";
|
|
119
|
+
WorkspaceStatusCode["DELETING"] = "DELETING";
|
|
120
|
+
WorkspaceStatusCode["UPDATING"] = "UPDATING";
|
|
121
|
+
})(WorkspaceStatusCode || (WorkspaceStatusCode = {}));
|
|
122
|
+
export var WorkspaceStatus;
|
|
123
|
+
(function (WorkspaceStatus) {
|
|
124
|
+
WorkspaceStatus.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
125
|
+
})(WorkspaceStatus || (WorkspaceStatus = {}));
|
|
126
|
+
export var CreateWorkspaceResponse;
|
|
127
|
+
(function (CreateWorkspaceResponse) {
|
|
128
|
+
CreateWorkspaceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
129
|
+
})(CreateWorkspaceResponse || (CreateWorkspaceResponse = {}));
|
|
130
|
+
export var DeleteWorkspaceRequest;
|
|
131
|
+
(function (DeleteWorkspaceRequest) {
|
|
132
|
+
DeleteWorkspaceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
133
|
+
})(DeleteWorkspaceRequest || (DeleteWorkspaceRequest = {}));
|
|
134
|
+
export var DescribeWorkspaceRequest;
|
|
135
|
+
(function (DescribeWorkspaceRequest) {
|
|
136
|
+
DescribeWorkspaceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
137
|
+
})(DescribeWorkspaceRequest || (DescribeWorkspaceRequest = {}));
|
|
138
|
+
export var WorkspaceDescription;
|
|
139
|
+
(function (WorkspaceDescription) {
|
|
140
|
+
WorkspaceDescription.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
141
|
+
})(WorkspaceDescription || (WorkspaceDescription = {}));
|
|
142
|
+
export var DescribeWorkspaceResponse;
|
|
143
|
+
(function (DescribeWorkspaceResponse) {
|
|
144
|
+
DescribeWorkspaceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
145
|
+
})(DescribeWorkspaceResponse || (DescribeWorkspaceResponse = {}));
|
|
146
|
+
export var ListWorkspacesRequest;
|
|
147
|
+
(function (ListWorkspacesRequest) {
|
|
148
|
+
ListWorkspacesRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
149
|
+
})(ListWorkspacesRequest || (ListWorkspacesRequest = {}));
|
|
150
|
+
export var WorkspaceSummary;
|
|
151
|
+
(function (WorkspaceSummary) {
|
|
152
|
+
WorkspaceSummary.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
153
|
+
})(WorkspaceSummary || (WorkspaceSummary = {}));
|
|
154
|
+
export var ListWorkspacesResponse;
|
|
155
|
+
(function (ListWorkspacesResponse) {
|
|
156
|
+
ListWorkspacesResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
157
|
+
})(ListWorkspacesResponse || (ListWorkspacesResponse = {}));
|
|
158
|
+
export var CreateRuleGroupsNamespaceRequest;
|
|
159
|
+
(function (CreateRuleGroupsNamespaceRequest) {
|
|
160
|
+
CreateRuleGroupsNamespaceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
161
|
+
})(CreateRuleGroupsNamespaceRequest || (CreateRuleGroupsNamespaceRequest = {}));
|
|
162
|
+
export var RuleGroupsNamespaceStatusCode;
|
|
163
|
+
(function (RuleGroupsNamespaceStatusCode) {
|
|
164
|
+
RuleGroupsNamespaceStatusCode["ACTIVE"] = "ACTIVE";
|
|
165
|
+
RuleGroupsNamespaceStatusCode["CREATING"] = "CREATING";
|
|
166
|
+
RuleGroupsNamespaceStatusCode["CREATION_FAILED"] = "CREATION_FAILED";
|
|
167
|
+
RuleGroupsNamespaceStatusCode["DELETING"] = "DELETING";
|
|
168
|
+
RuleGroupsNamespaceStatusCode["UPDATE_FAILED"] = "UPDATE_FAILED";
|
|
169
|
+
RuleGroupsNamespaceStatusCode["UPDATING"] = "UPDATING";
|
|
170
|
+
})(RuleGroupsNamespaceStatusCode || (RuleGroupsNamespaceStatusCode = {}));
|
|
171
|
+
export var RuleGroupsNamespaceStatus;
|
|
172
|
+
(function (RuleGroupsNamespaceStatus) {
|
|
173
|
+
RuleGroupsNamespaceStatus.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
174
|
+
})(RuleGroupsNamespaceStatus || (RuleGroupsNamespaceStatus = {}));
|
|
175
|
+
export var CreateRuleGroupsNamespaceResponse;
|
|
176
|
+
(function (CreateRuleGroupsNamespaceResponse) {
|
|
177
|
+
CreateRuleGroupsNamespaceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
178
|
+
})(CreateRuleGroupsNamespaceResponse || (CreateRuleGroupsNamespaceResponse = {}));
|
|
179
|
+
export var DeleteRuleGroupsNamespaceRequest;
|
|
180
|
+
(function (DeleteRuleGroupsNamespaceRequest) {
|
|
181
|
+
DeleteRuleGroupsNamespaceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
182
|
+
})(DeleteRuleGroupsNamespaceRequest || (DeleteRuleGroupsNamespaceRequest = {}));
|
|
183
|
+
export var DescribeRuleGroupsNamespaceRequest;
|
|
184
|
+
(function (DescribeRuleGroupsNamespaceRequest) {
|
|
185
|
+
DescribeRuleGroupsNamespaceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
186
|
+
})(DescribeRuleGroupsNamespaceRequest || (DescribeRuleGroupsNamespaceRequest = {}));
|
|
187
|
+
export var RuleGroupsNamespaceDescription;
|
|
188
|
+
(function (RuleGroupsNamespaceDescription) {
|
|
189
|
+
RuleGroupsNamespaceDescription.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
190
|
+
})(RuleGroupsNamespaceDescription || (RuleGroupsNamespaceDescription = {}));
|
|
191
|
+
export var DescribeRuleGroupsNamespaceResponse;
|
|
192
|
+
(function (DescribeRuleGroupsNamespaceResponse) {
|
|
193
|
+
DescribeRuleGroupsNamespaceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
194
|
+
})(DescribeRuleGroupsNamespaceResponse || (DescribeRuleGroupsNamespaceResponse = {}));
|
|
195
|
+
export var ListRuleGroupsNamespacesRequest;
|
|
196
|
+
(function (ListRuleGroupsNamespacesRequest) {
|
|
197
|
+
ListRuleGroupsNamespacesRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
198
|
+
})(ListRuleGroupsNamespacesRequest || (ListRuleGroupsNamespacesRequest = {}));
|
|
199
|
+
export var RuleGroupsNamespaceSummary;
|
|
200
|
+
(function (RuleGroupsNamespaceSummary) {
|
|
201
|
+
RuleGroupsNamespaceSummary.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
202
|
+
})(RuleGroupsNamespaceSummary || (RuleGroupsNamespaceSummary = {}));
|
|
203
|
+
export var ListRuleGroupsNamespacesResponse;
|
|
204
|
+
(function (ListRuleGroupsNamespacesResponse) {
|
|
205
|
+
ListRuleGroupsNamespacesResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
206
|
+
})(ListRuleGroupsNamespacesResponse || (ListRuleGroupsNamespacesResponse = {}));
|
|
207
|
+
export var PutRuleGroupsNamespaceRequest;
|
|
208
|
+
(function (PutRuleGroupsNamespaceRequest) {
|
|
209
|
+
PutRuleGroupsNamespaceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
210
|
+
})(PutRuleGroupsNamespaceRequest || (PutRuleGroupsNamespaceRequest = {}));
|
|
211
|
+
export var PutRuleGroupsNamespaceResponse;
|
|
212
|
+
(function (PutRuleGroupsNamespaceResponse) {
|
|
213
|
+
PutRuleGroupsNamespaceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
214
|
+
})(PutRuleGroupsNamespaceResponse || (PutRuleGroupsNamespaceResponse = {}));
|
|
215
|
+
export var UpdateWorkspaceAliasRequest;
|
|
216
|
+
(function (UpdateWorkspaceAliasRequest) {
|
|
217
|
+
UpdateWorkspaceAliasRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
218
|
+
})(UpdateWorkspaceAliasRequest || (UpdateWorkspaceAliasRequest = {}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { Amp } from "../Amp";
|
|
3
|
+
import { AmpClient } from "../AmpClient";
|
|
4
|
+
import { ListRuleGroupsNamespacesCommand, } from "../commands/ListRuleGroupsNamespacesCommand";
|
|
5
|
+
var makePagedClientRequest = function (client, input) {
|
|
6
|
+
var args = [];
|
|
7
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
8
|
+
args[_i - 2] = arguments[_i];
|
|
9
|
+
}
|
|
10
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
|
+
return __generator(this, function (_a) {
|
|
12
|
+
switch (_a.label) {
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListRuleGroupsNamespacesCommand(input)], __read(args)))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
};
|
|
19
|
+
var makePagedRequest = function (client, input) {
|
|
20
|
+
var args = [];
|
|
21
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
22
|
+
args[_i - 2] = arguments[_i];
|
|
23
|
+
}
|
|
24
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
|
+
return __generator(this, function (_a) {
|
|
26
|
+
switch (_a.label) {
|
|
27
|
+
case 0: return [4, client.listRuleGroupsNamespaces.apply(client, __spreadArray([input], __read(args)))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
export function paginateListRuleGroupsNamespaces(config, input) {
|
|
34
|
+
var additionalArguments = [];
|
|
35
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
36
|
+
additionalArguments[_i - 2] = arguments[_i];
|
|
37
|
+
}
|
|
38
|
+
return __asyncGenerator(this, arguments, function paginateListRuleGroupsNamespaces_1() {
|
|
39
|
+
var token, hasNext, page;
|
|
40
|
+
return __generator(this, function (_a) {
|
|
41
|
+
switch (_a.label) {
|
|
42
|
+
case 0:
|
|
43
|
+
token = config.startingToken || undefined;
|
|
44
|
+
hasNext = true;
|
|
45
|
+
_a.label = 1;
|
|
46
|
+
case 1:
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
48
|
+
input.nextToken = token;
|
|
49
|
+
input["maxResults"] = config.pageSize;
|
|
50
|
+
if (!(config.client instanceof Amp)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
52
|
+
case 2:
|
|
53
|
+
page = _a.sent();
|
|
54
|
+
return [3, 6];
|
|
55
|
+
case 3:
|
|
56
|
+
if (!(config.client instanceof AmpClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
58
|
+
case 4:
|
|
59
|
+
page = _a.sent();
|
|
60
|
+
return [3, 6];
|
|
61
|
+
case 5: throw new Error("Invalid client, expected Amp | AmpClient");
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
64
|
+
case 8:
|
|
65
|
+
_a.sent();
|
|
66
|
+
token = page.nextToken;
|
|
67
|
+
hasNext = !!token;
|
|
68
|
+
return [3, 1];
|
|
69
|
+
case 9: return [4, __await(undefined)];
|
|
70
|
+
case 10: return [2, _a.sent()];
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
});
|
|
74
|
+
}
|
|
@@ -2,9 +2,6 @@ import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArra
|
|
|
2
2
|
import { Amp } from "../Amp";
|
|
3
3
|
import { AmpClient } from "../AmpClient";
|
|
4
4
|
import { ListWorkspacesCommand, } from "../commands/ListWorkspacesCommand";
|
|
5
|
-
/**
|
|
6
|
-
* @private
|
|
7
|
-
*/
|
|
8
5
|
var makePagedClientRequest = function (client, input) {
|
|
9
6
|
var args = [];
|
|
10
7
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -13,17 +10,12 @@ var makePagedClientRequest = function (client, input) {
|
|
|
13
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
14
11
|
return __generator(this, function (_a) {
|
|
15
12
|
switch (_a.label) {
|
|
16
|
-
case 0: return [4
|
|
17
|
-
case 1:
|
|
18
|
-
// @ts-ignore
|
|
19
|
-
return [2 /*return*/, _a.sent()];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListWorkspacesCommand(input)], __read(args)))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
20
15
|
}
|
|
21
16
|
});
|
|
22
17
|
});
|
|
23
18
|
};
|
|
24
|
-
/**
|
|
25
|
-
* @private
|
|
26
|
-
*/
|
|
27
19
|
var makePagedRequest = function (client, input) {
|
|
28
20
|
var args = [];
|
|
29
21
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
@@ -32,10 +24,8 @@ var makePagedRequest = function (client, input) {
|
|
|
32
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
33
25
|
return __generator(this, function (_a) {
|
|
34
26
|
switch (_a.label) {
|
|
35
|
-
case 0: return [4
|
|
36
|
-
case 1:
|
|
37
|
-
// @ts-ignore
|
|
38
|
-
return [2 /*return*/, _a.sent()];
|
|
27
|
+
case 0: return [4, client.listWorkspaces.apply(client, __spreadArray([input], __read(args)))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
39
29
|
}
|
|
40
30
|
});
|
|
41
31
|
});
|
|
@@ -54,34 +44,31 @@ export function paginateListWorkspaces(config, input) {
|
|
|
54
44
|
hasNext = true;
|
|
55
45
|
_a.label = 1;
|
|
56
46
|
case 1:
|
|
57
|
-
if (!hasNext) return [3
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
58
48
|
input.nextToken = token;
|
|
59
49
|
input["maxResults"] = config.pageSize;
|
|
60
|
-
if (!(config.client instanceof Amp)) return [3
|
|
61
|
-
return [4
|
|
50
|
+
if (!(config.client instanceof Amp)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
62
52
|
case 2:
|
|
63
53
|
page = _a.sent();
|
|
64
|
-
return [3
|
|
54
|
+
return [3, 6];
|
|
65
55
|
case 3:
|
|
66
|
-
if (!(config.client instanceof AmpClient)) return [3
|
|
67
|
-
return [4
|
|
56
|
+
if (!(config.client instanceof AmpClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
68
58
|
case 4:
|
|
69
59
|
page = _a.sent();
|
|
70
|
-
return [3
|
|
60
|
+
return [3, 6];
|
|
71
61
|
case 5: throw new Error("Invalid client, expected Amp | AmpClient");
|
|
72
|
-
case 6: return [4
|
|
73
|
-
case 7: return [4
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
74
64
|
case 8:
|
|
75
65
|
_a.sent();
|
|
76
66
|
token = page.nextToken;
|
|
77
67
|
hasNext = !!token;
|
|
78
|
-
return [3
|
|
79
|
-
case 9: return [4
|
|
80
|
-
case 10:
|
|
81
|
-
// @ts-ignore
|
|
82
|
-
return [2 /*return*/, _a.sent()];
|
|
68
|
+
return [3, 1];
|
|
69
|
+
case 9: return [4, __await(undefined)];
|
|
70
|
+
case 10: return [2, _a.sent()];
|
|
83
71
|
}
|
|
84
72
|
});
|
|
85
73
|
});
|
|
86
74
|
}
|
|
87
|
-
//# sourceMappingURL=ListWorkspacesPaginator.js.map
|