@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,1103 @@
|
|
|
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
|
+
* Updating or deleting a resource can cause an inconsistent state.
|
|
21
|
+
*/
|
|
22
|
+
export interface ConflictException extends __SmithyException, $MetadataBearer {
|
|
23
|
+
name: "ConflictException";
|
|
24
|
+
$fault: "client";
|
|
25
|
+
/**
|
|
26
|
+
* Description of the error.
|
|
27
|
+
*/
|
|
28
|
+
message: string | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* Identifier of the resource affected.
|
|
31
|
+
*/
|
|
32
|
+
resourceId: string | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* Type of the resource affected.
|
|
35
|
+
*/
|
|
36
|
+
resourceType: string | undefined;
|
|
37
|
+
}
|
|
38
|
+
export declare namespace ConflictException {
|
|
39
|
+
/**
|
|
40
|
+
* @internal
|
|
41
|
+
*/
|
|
42
|
+
const filterSensitiveLog: (obj: ConflictException) => any;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Represents the input of a CreateAlertManagerDefinition operation.
|
|
46
|
+
*/
|
|
47
|
+
export interface CreateAlertManagerDefinitionRequest {
|
|
48
|
+
/**
|
|
49
|
+
* The ID of the workspace in which to create the alert manager definition.
|
|
50
|
+
*/
|
|
51
|
+
workspaceId: string | undefined;
|
|
52
|
+
/**
|
|
53
|
+
* The alert manager definition data.
|
|
54
|
+
*/
|
|
55
|
+
data: Uint8Array | undefined;
|
|
56
|
+
/**
|
|
57
|
+
* Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
|
|
58
|
+
*/
|
|
59
|
+
clientToken?: string;
|
|
60
|
+
}
|
|
61
|
+
export declare namespace CreateAlertManagerDefinitionRequest {
|
|
62
|
+
/**
|
|
63
|
+
* @internal
|
|
64
|
+
*/
|
|
65
|
+
const filterSensitiveLog: (obj: CreateAlertManagerDefinitionRequest) => any;
|
|
66
|
+
}
|
|
67
|
+
export declare enum AlertManagerDefinitionStatusCode {
|
|
68
|
+
/**
|
|
69
|
+
* Definition has been created/updated. Update/Deletion is disallowed until definition is ACTIVE and workspace status is ACTIVE.
|
|
70
|
+
*/
|
|
71
|
+
ACTIVE = "ACTIVE",
|
|
72
|
+
/**
|
|
73
|
+
* Definition is being created. Update/Deletion is disallowed until definition is ACTIVE and workspace status is ACTIVE.
|
|
74
|
+
*/
|
|
75
|
+
CREATING = "CREATING",
|
|
76
|
+
/**
|
|
77
|
+
* Definition creation failed.
|
|
78
|
+
*/
|
|
79
|
+
CREATION_FAILED = "CREATION_FAILED",
|
|
80
|
+
/**
|
|
81
|
+
* Definition is being deleting. Update/Deletion is disallowed until definition is ACTIVE and workspace status is ACTIVE.
|
|
82
|
+
*/
|
|
83
|
+
DELETING = "DELETING",
|
|
84
|
+
/**
|
|
85
|
+
* Definition update failed.
|
|
86
|
+
*/
|
|
87
|
+
UPDATE_FAILED = "UPDATE_FAILED",
|
|
88
|
+
/**
|
|
89
|
+
* Definition is being updated. Update/Deletion is disallowed until definition is ACTIVE and workspace status is ACTIVE.
|
|
90
|
+
*/
|
|
91
|
+
UPDATING = "UPDATING"
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Represents the status of a definition.
|
|
95
|
+
*/
|
|
96
|
+
export interface AlertManagerDefinitionStatus {
|
|
97
|
+
/**
|
|
98
|
+
* Status code of this definition.
|
|
99
|
+
*/
|
|
100
|
+
statusCode: AlertManagerDefinitionStatusCode | string | undefined;
|
|
101
|
+
/**
|
|
102
|
+
* The reason for failure if any.
|
|
103
|
+
*/
|
|
104
|
+
statusReason?: string;
|
|
105
|
+
}
|
|
106
|
+
export declare namespace AlertManagerDefinitionStatus {
|
|
107
|
+
/**
|
|
108
|
+
* @internal
|
|
109
|
+
*/
|
|
110
|
+
const filterSensitiveLog: (obj: AlertManagerDefinitionStatus) => any;
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* Represents the output of a CreateAlertManagerDefinition operation.
|
|
114
|
+
*/
|
|
115
|
+
export interface CreateAlertManagerDefinitionResponse {
|
|
116
|
+
/**
|
|
117
|
+
* The status of alert manager definition.
|
|
118
|
+
*/
|
|
119
|
+
status: AlertManagerDefinitionStatus | undefined;
|
|
120
|
+
}
|
|
121
|
+
export declare namespace CreateAlertManagerDefinitionResponse {
|
|
122
|
+
/**
|
|
123
|
+
* @internal
|
|
124
|
+
*/
|
|
125
|
+
const filterSensitiveLog: (obj: CreateAlertManagerDefinitionResponse) => any;
|
|
126
|
+
}
|
|
127
|
+
/**
|
|
128
|
+
* Unexpected error during processing of request.
|
|
129
|
+
*/
|
|
130
|
+
export interface InternalServerException extends __SmithyException, $MetadataBearer {
|
|
131
|
+
name: "InternalServerException";
|
|
132
|
+
$fault: "server";
|
|
133
|
+
$retryable: {};
|
|
134
|
+
/**
|
|
135
|
+
* Description of the error.
|
|
136
|
+
*/
|
|
137
|
+
message: string | undefined;
|
|
138
|
+
/**
|
|
139
|
+
* Advice to clients on when the call can be safely retried.
|
|
140
|
+
*/
|
|
141
|
+
retryAfterSeconds?: number;
|
|
142
|
+
}
|
|
143
|
+
export declare namespace InternalServerException {
|
|
144
|
+
/**
|
|
145
|
+
* @internal
|
|
146
|
+
*/
|
|
147
|
+
const filterSensitiveLog: (obj: InternalServerException) => any;
|
|
148
|
+
}
|
|
149
|
+
/**
|
|
150
|
+
* Request references a resource which does not exist.
|
|
151
|
+
*/
|
|
152
|
+
export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
|
|
153
|
+
name: "ResourceNotFoundException";
|
|
154
|
+
$fault: "client";
|
|
155
|
+
/**
|
|
156
|
+
* Description of the error.
|
|
157
|
+
*/
|
|
158
|
+
message: string | undefined;
|
|
159
|
+
/**
|
|
160
|
+
* Identifier of the resource affected.
|
|
161
|
+
*/
|
|
162
|
+
resourceId: string | undefined;
|
|
163
|
+
/**
|
|
164
|
+
* Type of the resource affected.
|
|
165
|
+
*/
|
|
166
|
+
resourceType: string | undefined;
|
|
167
|
+
}
|
|
168
|
+
export declare namespace ResourceNotFoundException {
|
|
169
|
+
/**
|
|
170
|
+
* @internal
|
|
171
|
+
*/
|
|
172
|
+
const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
|
|
173
|
+
}
|
|
174
|
+
/**
|
|
175
|
+
* Request would cause a service quota to be exceeded.
|
|
176
|
+
*/
|
|
177
|
+
export interface ServiceQuotaExceededException extends __SmithyException, $MetadataBearer {
|
|
178
|
+
name: "ServiceQuotaExceededException";
|
|
179
|
+
$fault: "client";
|
|
180
|
+
/**
|
|
181
|
+
* Description of the error.
|
|
182
|
+
*/
|
|
183
|
+
message: string | undefined;
|
|
184
|
+
/**
|
|
185
|
+
* Identifier of the resource affected.
|
|
186
|
+
*/
|
|
187
|
+
resourceId: string | undefined;
|
|
188
|
+
/**
|
|
189
|
+
* Type of the resource affected.
|
|
190
|
+
*/
|
|
191
|
+
resourceType: string | undefined;
|
|
192
|
+
/**
|
|
193
|
+
* Service Quotas requirement to identify originating service.
|
|
194
|
+
*/
|
|
195
|
+
serviceCode: string | undefined;
|
|
196
|
+
/**
|
|
197
|
+
* Service Quotas requirement to identify originating quota.
|
|
198
|
+
*/
|
|
199
|
+
quotaCode: string | undefined;
|
|
200
|
+
}
|
|
201
|
+
export declare namespace ServiceQuotaExceededException {
|
|
202
|
+
/**
|
|
203
|
+
* @internal
|
|
204
|
+
*/
|
|
205
|
+
const filterSensitiveLog: (obj: ServiceQuotaExceededException) => any;
|
|
206
|
+
}
|
|
207
|
+
/**
|
|
208
|
+
* Request was denied due to request throttling.
|
|
209
|
+
*/
|
|
210
|
+
export interface ThrottlingException extends __SmithyException, $MetadataBearer {
|
|
211
|
+
name: "ThrottlingException";
|
|
212
|
+
$fault: "client";
|
|
213
|
+
$retryable: {};
|
|
214
|
+
/**
|
|
215
|
+
* Description of the error.
|
|
216
|
+
*/
|
|
217
|
+
message: string | undefined;
|
|
218
|
+
/**
|
|
219
|
+
* Service Quotas requirement to identify originating service.
|
|
220
|
+
*/
|
|
221
|
+
serviceCode?: string;
|
|
222
|
+
/**
|
|
223
|
+
* Service Quotas requirement to identify originating quota.
|
|
224
|
+
*/
|
|
225
|
+
quotaCode?: string;
|
|
226
|
+
/**
|
|
227
|
+
* Advice to clients on when the call can be safely retried.
|
|
228
|
+
*/
|
|
229
|
+
retryAfterSeconds?: number;
|
|
230
|
+
}
|
|
231
|
+
export declare namespace ThrottlingException {
|
|
232
|
+
/**
|
|
233
|
+
* @internal
|
|
234
|
+
*/
|
|
235
|
+
const filterSensitiveLog: (obj: ThrottlingException) => any;
|
|
236
|
+
}
|
|
237
|
+
/**
|
|
238
|
+
* Stores information about a field passed inside a request that resulted in an exception.
|
|
239
|
+
*/
|
|
240
|
+
export interface ValidationExceptionField {
|
|
241
|
+
/**
|
|
242
|
+
* The field name.
|
|
243
|
+
*/
|
|
244
|
+
name: string | undefined;
|
|
245
|
+
/**
|
|
246
|
+
* Message describing why the field failed validation.
|
|
247
|
+
*/
|
|
248
|
+
message: string | undefined;
|
|
249
|
+
}
|
|
250
|
+
export declare namespace ValidationExceptionField {
|
|
251
|
+
/**
|
|
252
|
+
* @internal
|
|
253
|
+
*/
|
|
254
|
+
const filterSensitiveLog: (obj: ValidationExceptionField) => any;
|
|
255
|
+
}
|
|
256
|
+
export declare enum ValidationExceptionReason {
|
|
257
|
+
CANNOT_PARSE = "CANNOT_PARSE",
|
|
258
|
+
FIELD_VALIDATION_FAILED = "FIELD_VALIDATION_FAILED",
|
|
259
|
+
OTHER = "OTHER",
|
|
260
|
+
UNKNOWN_OPERATION = "UNKNOWN_OPERATION"
|
|
261
|
+
}
|
|
262
|
+
/**
|
|
263
|
+
* The input fails to satisfy the constraints specified by an AWS service.
|
|
264
|
+
*/
|
|
265
|
+
export interface ValidationException extends __SmithyException, $MetadataBearer {
|
|
266
|
+
name: "ValidationException";
|
|
267
|
+
$fault: "client";
|
|
268
|
+
/**
|
|
269
|
+
* Description of the error.
|
|
270
|
+
*/
|
|
271
|
+
message: string | undefined;
|
|
272
|
+
/**
|
|
273
|
+
* Reason the request failed validation.
|
|
274
|
+
*/
|
|
275
|
+
reason: ValidationExceptionReason | string | undefined;
|
|
276
|
+
/**
|
|
277
|
+
* The field that caused the error, if applicable. If more than one field caused the error, pick one and elaborate in the message.
|
|
278
|
+
*/
|
|
279
|
+
fieldList?: ValidationExceptionField[];
|
|
280
|
+
}
|
|
281
|
+
export declare namespace ValidationException {
|
|
282
|
+
/**
|
|
283
|
+
* @internal
|
|
284
|
+
*/
|
|
285
|
+
const filterSensitiveLog: (obj: ValidationException) => any;
|
|
286
|
+
}
|
|
287
|
+
/**
|
|
288
|
+
* Represents the input of a DeleteAlertManagerDefinition operation.
|
|
289
|
+
*/
|
|
290
|
+
export interface DeleteAlertManagerDefinitionRequest {
|
|
291
|
+
/**
|
|
292
|
+
* The ID of the workspace in which to delete the alert manager definition.
|
|
293
|
+
*/
|
|
294
|
+
workspaceId: string | undefined;
|
|
295
|
+
/**
|
|
296
|
+
* Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
|
|
297
|
+
*/
|
|
298
|
+
clientToken?: string;
|
|
299
|
+
}
|
|
300
|
+
export declare namespace DeleteAlertManagerDefinitionRequest {
|
|
301
|
+
/**
|
|
302
|
+
* @internal
|
|
303
|
+
*/
|
|
304
|
+
const filterSensitiveLog: (obj: DeleteAlertManagerDefinitionRequest) => any;
|
|
305
|
+
}
|
|
306
|
+
/**
|
|
307
|
+
* Represents the input of a DescribeAlertManagerDefinition operation.
|
|
308
|
+
*/
|
|
309
|
+
export interface DescribeAlertManagerDefinitionRequest {
|
|
310
|
+
/**
|
|
311
|
+
* The ID of the workspace to describe.
|
|
312
|
+
*/
|
|
313
|
+
workspaceId: string | undefined;
|
|
314
|
+
}
|
|
315
|
+
export declare namespace DescribeAlertManagerDefinitionRequest {
|
|
316
|
+
/**
|
|
317
|
+
* @internal
|
|
318
|
+
*/
|
|
319
|
+
const filterSensitiveLog: (obj: DescribeAlertManagerDefinitionRequest) => any;
|
|
320
|
+
}
|
|
321
|
+
/**
|
|
322
|
+
* Represents the properties of an alert manager definition.
|
|
323
|
+
*/
|
|
324
|
+
export interface AlertManagerDefinitionDescription {
|
|
325
|
+
/**
|
|
326
|
+
* The status of alert manager definition.
|
|
327
|
+
*/
|
|
328
|
+
status: AlertManagerDefinitionStatus | undefined;
|
|
329
|
+
/**
|
|
330
|
+
* The alert manager definition.
|
|
331
|
+
*/
|
|
332
|
+
data: Uint8Array | undefined;
|
|
333
|
+
/**
|
|
334
|
+
* The time when the alert manager definition was created.
|
|
335
|
+
*/
|
|
336
|
+
createdAt: Date | undefined;
|
|
337
|
+
/**
|
|
338
|
+
* The time when the alert manager definition was modified.
|
|
339
|
+
*/
|
|
340
|
+
modifiedAt: Date | undefined;
|
|
341
|
+
}
|
|
342
|
+
export declare namespace AlertManagerDefinitionDescription {
|
|
343
|
+
/**
|
|
344
|
+
* @internal
|
|
345
|
+
*/
|
|
346
|
+
const filterSensitiveLog: (obj: AlertManagerDefinitionDescription) => any;
|
|
347
|
+
}
|
|
348
|
+
/**
|
|
349
|
+
* Represents the output of a DescribeAlertManagerDefinition operation.
|
|
350
|
+
*/
|
|
351
|
+
export interface DescribeAlertManagerDefinitionResponse {
|
|
352
|
+
/**
|
|
353
|
+
* The properties of the selected workspace's alert manager definition.
|
|
354
|
+
*/
|
|
355
|
+
alertManagerDefinition: AlertManagerDefinitionDescription | undefined;
|
|
356
|
+
}
|
|
357
|
+
export declare namespace DescribeAlertManagerDefinitionResponse {
|
|
358
|
+
/**
|
|
359
|
+
* @internal
|
|
360
|
+
*/
|
|
361
|
+
const filterSensitiveLog: (obj: DescribeAlertManagerDefinitionResponse) => any;
|
|
362
|
+
}
|
|
363
|
+
/**
|
|
364
|
+
* Represents the input of a PutAlertManagerDefinition operation.
|
|
365
|
+
*/
|
|
366
|
+
export interface PutAlertManagerDefinitionRequest {
|
|
367
|
+
/**
|
|
368
|
+
* The ID of the workspace in which to update the alert manager definition.
|
|
369
|
+
*/
|
|
370
|
+
workspaceId: string | undefined;
|
|
371
|
+
/**
|
|
372
|
+
* The alert manager definition data.
|
|
373
|
+
*/
|
|
374
|
+
data: Uint8Array | undefined;
|
|
375
|
+
/**
|
|
376
|
+
* Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
|
|
377
|
+
*/
|
|
378
|
+
clientToken?: string;
|
|
379
|
+
}
|
|
380
|
+
export declare namespace PutAlertManagerDefinitionRequest {
|
|
381
|
+
/**
|
|
382
|
+
* @internal
|
|
383
|
+
*/
|
|
384
|
+
const filterSensitiveLog: (obj: PutAlertManagerDefinitionRequest) => any;
|
|
385
|
+
}
|
|
386
|
+
/**
|
|
387
|
+
* Represents the output of a PutAlertManagerDefinition operation.
|
|
388
|
+
*/
|
|
389
|
+
export interface PutAlertManagerDefinitionResponse {
|
|
390
|
+
/**
|
|
391
|
+
* The status of alert manager definition.
|
|
392
|
+
*/
|
|
393
|
+
status: AlertManagerDefinitionStatus | undefined;
|
|
394
|
+
}
|
|
395
|
+
export declare namespace PutAlertManagerDefinitionResponse {
|
|
396
|
+
/**
|
|
397
|
+
* @internal
|
|
398
|
+
*/
|
|
399
|
+
const filterSensitiveLog: (obj: PutAlertManagerDefinitionResponse) => any;
|
|
400
|
+
}
|
|
401
|
+
export interface ListTagsForResourceRequest {
|
|
402
|
+
/**
|
|
403
|
+
* The ARN of the resource.
|
|
404
|
+
*/
|
|
405
|
+
resourceArn: string | undefined;
|
|
406
|
+
}
|
|
407
|
+
export declare namespace ListTagsForResourceRequest {
|
|
408
|
+
/**
|
|
409
|
+
* @internal
|
|
410
|
+
*/
|
|
411
|
+
const filterSensitiveLog: (obj: ListTagsForResourceRequest) => any;
|
|
412
|
+
}
|
|
413
|
+
export interface ListTagsForResourceResponse {
|
|
414
|
+
/**
|
|
415
|
+
* The list of tags assigned to the resource.
|
|
416
|
+
*/
|
|
417
|
+
tags?: {
|
|
418
|
+
[key: string]: string;
|
|
419
|
+
};
|
|
420
|
+
}
|
|
421
|
+
export declare namespace ListTagsForResourceResponse {
|
|
422
|
+
/**
|
|
423
|
+
* @internal
|
|
424
|
+
*/
|
|
425
|
+
const filterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
|
|
426
|
+
}
|
|
427
|
+
export interface TagResourceRequest {
|
|
428
|
+
/**
|
|
429
|
+
* The ARN of the resource.
|
|
430
|
+
*/
|
|
431
|
+
resourceArn: string | undefined;
|
|
432
|
+
/**
|
|
433
|
+
* The list of tags assigned to the resource.
|
|
434
|
+
*/
|
|
435
|
+
tags: {
|
|
436
|
+
[key: string]: string;
|
|
437
|
+
} | undefined;
|
|
438
|
+
}
|
|
439
|
+
export declare namespace TagResourceRequest {
|
|
440
|
+
/**
|
|
441
|
+
* @internal
|
|
442
|
+
*/
|
|
443
|
+
const filterSensitiveLog: (obj: TagResourceRequest) => any;
|
|
444
|
+
}
|
|
445
|
+
export interface TagResourceResponse {
|
|
446
|
+
}
|
|
447
|
+
export declare namespace TagResourceResponse {
|
|
448
|
+
/**
|
|
449
|
+
* @internal
|
|
450
|
+
*/
|
|
451
|
+
const filterSensitiveLog: (obj: TagResourceResponse) => any;
|
|
452
|
+
}
|
|
453
|
+
export interface UntagResourceRequest {
|
|
454
|
+
/**
|
|
455
|
+
* The ARN of the resource.
|
|
456
|
+
*/
|
|
457
|
+
resourceArn: string | undefined;
|
|
458
|
+
/**
|
|
459
|
+
* One or more tag keys
|
|
460
|
+
*/
|
|
461
|
+
tagKeys: string[] | undefined;
|
|
462
|
+
}
|
|
463
|
+
export declare namespace UntagResourceRequest {
|
|
464
|
+
/**
|
|
465
|
+
* @internal
|
|
466
|
+
*/
|
|
467
|
+
const filterSensitiveLog: (obj: UntagResourceRequest) => any;
|
|
468
|
+
}
|
|
469
|
+
export interface UntagResourceResponse {
|
|
470
|
+
}
|
|
471
|
+
export declare namespace UntagResourceResponse {
|
|
472
|
+
/**
|
|
473
|
+
* @internal
|
|
474
|
+
*/
|
|
475
|
+
const filterSensitiveLog: (obj: UntagResourceResponse) => any;
|
|
476
|
+
}
|
|
477
|
+
/**
|
|
478
|
+
* Represents the input of a CreateWorkspace operation.
|
|
479
|
+
*/
|
|
480
|
+
export interface CreateWorkspaceRequest {
|
|
481
|
+
/**
|
|
482
|
+
* An optional user-assigned alias for this workspace. This alias is for user reference and does not need to be unique.
|
|
483
|
+
*/
|
|
484
|
+
alias?: string;
|
|
485
|
+
/**
|
|
486
|
+
* Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
|
|
487
|
+
*/
|
|
488
|
+
clientToken?: string;
|
|
489
|
+
/**
|
|
490
|
+
* Optional, user-provided tags for this workspace.
|
|
491
|
+
*/
|
|
492
|
+
tags?: {
|
|
493
|
+
[key: string]: string;
|
|
494
|
+
};
|
|
495
|
+
}
|
|
496
|
+
export declare namespace CreateWorkspaceRequest {
|
|
497
|
+
/**
|
|
498
|
+
* @internal
|
|
499
|
+
*/
|
|
500
|
+
const filterSensitiveLog: (obj: CreateWorkspaceRequest) => any;
|
|
501
|
+
}
|
|
502
|
+
export declare enum WorkspaceStatusCode {
|
|
503
|
+
/**
|
|
504
|
+
* Workspace has been created and is usable.
|
|
505
|
+
*/
|
|
506
|
+
ACTIVE = "ACTIVE",
|
|
507
|
+
/**
|
|
508
|
+
* Workspace is being created. Deletion is disallowed until status is ACTIVE.
|
|
509
|
+
*/
|
|
510
|
+
CREATING = "CREATING",
|
|
511
|
+
/**
|
|
512
|
+
* Workspace creation failed. Refer to WorkspaceStatus.failureReason for more details.
|
|
513
|
+
*/
|
|
514
|
+
CREATION_FAILED = "CREATION_FAILED",
|
|
515
|
+
/**
|
|
516
|
+
* Workspace is being deleted. Deletions are allowed only when status is ACTIVE.
|
|
517
|
+
*/
|
|
518
|
+
DELETING = "DELETING",
|
|
519
|
+
/**
|
|
520
|
+
* Workspace is being updated. Updates are allowed only when status is ACTIVE.
|
|
521
|
+
*/
|
|
522
|
+
UPDATING = "UPDATING"
|
|
523
|
+
}
|
|
524
|
+
/**
|
|
525
|
+
* Represents the status of a workspace.
|
|
526
|
+
*/
|
|
527
|
+
export interface WorkspaceStatus {
|
|
528
|
+
/**
|
|
529
|
+
* Status code of this workspace.
|
|
530
|
+
*/
|
|
531
|
+
statusCode: WorkspaceStatusCode | string | undefined;
|
|
532
|
+
}
|
|
533
|
+
export declare namespace WorkspaceStatus {
|
|
534
|
+
/**
|
|
535
|
+
* @internal
|
|
536
|
+
*/
|
|
537
|
+
const filterSensitiveLog: (obj: WorkspaceStatus) => any;
|
|
538
|
+
}
|
|
539
|
+
/**
|
|
540
|
+
* Represents the output of a CreateWorkspace operation.
|
|
541
|
+
*/
|
|
542
|
+
export interface CreateWorkspaceResponse {
|
|
543
|
+
/**
|
|
544
|
+
* The generated ID of the workspace that was just created.
|
|
545
|
+
*/
|
|
546
|
+
workspaceId: string | undefined;
|
|
547
|
+
/**
|
|
548
|
+
* The ARN of the workspace that was just created.
|
|
549
|
+
*/
|
|
550
|
+
arn: string | undefined;
|
|
551
|
+
/**
|
|
552
|
+
* The status of the workspace that was just created (usually CREATING).
|
|
553
|
+
*/
|
|
554
|
+
status: WorkspaceStatus | undefined;
|
|
555
|
+
/**
|
|
556
|
+
* The tags of this workspace.
|
|
557
|
+
*/
|
|
558
|
+
tags?: {
|
|
559
|
+
[key: string]: string;
|
|
560
|
+
};
|
|
561
|
+
}
|
|
562
|
+
export declare namespace CreateWorkspaceResponse {
|
|
563
|
+
/**
|
|
564
|
+
* @internal
|
|
565
|
+
*/
|
|
566
|
+
const filterSensitiveLog: (obj: CreateWorkspaceResponse) => any;
|
|
567
|
+
}
|
|
568
|
+
/**
|
|
569
|
+
* Represents the input of a DeleteWorkspace operation.
|
|
570
|
+
*/
|
|
571
|
+
export interface DeleteWorkspaceRequest {
|
|
572
|
+
/**
|
|
573
|
+
* The ID of the workspace to delete.
|
|
574
|
+
*/
|
|
575
|
+
workspaceId: string | undefined;
|
|
576
|
+
/**
|
|
577
|
+
* Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
|
|
578
|
+
*/
|
|
579
|
+
clientToken?: string;
|
|
580
|
+
}
|
|
581
|
+
export declare namespace DeleteWorkspaceRequest {
|
|
582
|
+
/**
|
|
583
|
+
* @internal
|
|
584
|
+
*/
|
|
585
|
+
const filterSensitiveLog: (obj: DeleteWorkspaceRequest) => any;
|
|
586
|
+
}
|
|
587
|
+
/**
|
|
588
|
+
* Represents the input of a DescribeWorkspace operation.
|
|
589
|
+
*/
|
|
590
|
+
export interface DescribeWorkspaceRequest {
|
|
591
|
+
/**
|
|
592
|
+
* The ID of the workspace to describe.
|
|
593
|
+
*/
|
|
594
|
+
workspaceId: string | undefined;
|
|
595
|
+
}
|
|
596
|
+
export declare namespace DescribeWorkspaceRequest {
|
|
597
|
+
/**
|
|
598
|
+
* @internal
|
|
599
|
+
*/
|
|
600
|
+
const filterSensitiveLog: (obj: DescribeWorkspaceRequest) => any;
|
|
601
|
+
}
|
|
602
|
+
/**
|
|
603
|
+
* Represents the properties of a workspace.
|
|
604
|
+
*/
|
|
605
|
+
export interface WorkspaceDescription {
|
|
606
|
+
/**
|
|
607
|
+
* Unique string identifying this workspace.
|
|
608
|
+
*/
|
|
609
|
+
workspaceId: string | undefined;
|
|
610
|
+
/**
|
|
611
|
+
* Alias of this workspace.
|
|
612
|
+
*/
|
|
613
|
+
alias?: string;
|
|
614
|
+
/**
|
|
615
|
+
* The Amazon Resource Name (ARN) of this workspace.
|
|
616
|
+
*/
|
|
617
|
+
arn: string | undefined;
|
|
618
|
+
/**
|
|
619
|
+
* The status of this workspace.
|
|
620
|
+
*/
|
|
621
|
+
status: WorkspaceStatus | undefined;
|
|
622
|
+
/**
|
|
623
|
+
* Prometheus endpoint URI.
|
|
624
|
+
*/
|
|
625
|
+
prometheusEndpoint?: string;
|
|
626
|
+
/**
|
|
627
|
+
* The time when the workspace was created.
|
|
628
|
+
*/
|
|
629
|
+
createdAt: Date | undefined;
|
|
630
|
+
/**
|
|
631
|
+
* The tags of this workspace.
|
|
632
|
+
*/
|
|
633
|
+
tags?: {
|
|
634
|
+
[key: string]: string;
|
|
635
|
+
};
|
|
636
|
+
}
|
|
637
|
+
export declare namespace WorkspaceDescription {
|
|
638
|
+
/**
|
|
639
|
+
* @internal
|
|
640
|
+
*/
|
|
641
|
+
const filterSensitiveLog: (obj: WorkspaceDescription) => any;
|
|
642
|
+
}
|
|
643
|
+
/**
|
|
644
|
+
* Represents the output of a DescribeWorkspace operation.
|
|
645
|
+
*/
|
|
646
|
+
export interface DescribeWorkspaceResponse {
|
|
647
|
+
/**
|
|
648
|
+
* The properties of the selected workspace.
|
|
649
|
+
*/
|
|
650
|
+
workspace: WorkspaceDescription | undefined;
|
|
651
|
+
}
|
|
652
|
+
export declare namespace DescribeWorkspaceResponse {
|
|
653
|
+
/**
|
|
654
|
+
* @internal
|
|
655
|
+
*/
|
|
656
|
+
const filterSensitiveLog: (obj: DescribeWorkspaceResponse) => any;
|
|
657
|
+
}
|
|
658
|
+
/**
|
|
659
|
+
* Represents the input of a ListWorkspaces operation.
|
|
660
|
+
*/
|
|
661
|
+
export interface ListWorkspacesRequest {
|
|
662
|
+
/**
|
|
663
|
+
* Pagination token to request the next page in a paginated list. This token is obtained from the output of the previous ListWorkspaces request.
|
|
664
|
+
*/
|
|
665
|
+
nextToken?: string;
|
|
666
|
+
/**
|
|
667
|
+
* Optional filter for workspace alias. Only the workspaces with aliases that begin with this value will be returned.
|
|
668
|
+
*/
|
|
669
|
+
alias?: string;
|
|
670
|
+
/**
|
|
671
|
+
* Maximum results to return in response (default=100, maximum=1000).
|
|
672
|
+
*/
|
|
673
|
+
maxResults?: number;
|
|
674
|
+
}
|
|
675
|
+
export declare namespace ListWorkspacesRequest {
|
|
676
|
+
/**
|
|
677
|
+
* @internal
|
|
678
|
+
*/
|
|
679
|
+
const filterSensitiveLog: (obj: ListWorkspacesRequest) => any;
|
|
680
|
+
}
|
|
681
|
+
/**
|
|
682
|
+
* Represents a summary of the properties of a workspace.
|
|
683
|
+
*/
|
|
684
|
+
export interface WorkspaceSummary {
|
|
685
|
+
/**
|
|
686
|
+
* Unique string identifying this workspace.
|
|
687
|
+
*/
|
|
688
|
+
workspaceId: string | undefined;
|
|
689
|
+
/**
|
|
690
|
+
* Alias of this workspace.
|
|
691
|
+
*/
|
|
692
|
+
alias?: string;
|
|
693
|
+
/**
|
|
694
|
+
* The AmazonResourceName of this workspace.
|
|
695
|
+
*/
|
|
696
|
+
arn: string | undefined;
|
|
697
|
+
/**
|
|
698
|
+
* The status of this workspace.
|
|
699
|
+
*/
|
|
700
|
+
status: WorkspaceStatus | undefined;
|
|
701
|
+
/**
|
|
702
|
+
* The time when the workspace was created.
|
|
703
|
+
*/
|
|
704
|
+
createdAt: Date | undefined;
|
|
705
|
+
/**
|
|
706
|
+
* The tags of this workspace.
|
|
707
|
+
*/
|
|
708
|
+
tags?: {
|
|
709
|
+
[key: string]: string;
|
|
710
|
+
};
|
|
711
|
+
}
|
|
712
|
+
export declare namespace WorkspaceSummary {
|
|
713
|
+
/**
|
|
714
|
+
* @internal
|
|
715
|
+
*/
|
|
716
|
+
const filterSensitiveLog: (obj: WorkspaceSummary) => any;
|
|
717
|
+
}
|
|
718
|
+
/**
|
|
719
|
+
* Represents the output of a ListWorkspaces operation.
|
|
720
|
+
*/
|
|
721
|
+
export interface ListWorkspacesResponse {
|
|
722
|
+
/**
|
|
723
|
+
* The list of existing workspaces, including those undergoing creation or deletion.
|
|
724
|
+
*/
|
|
725
|
+
workspaces: WorkspaceSummary[] | undefined;
|
|
726
|
+
/**
|
|
727
|
+
* Pagination token to use when requesting the next page in this list.
|
|
728
|
+
*/
|
|
729
|
+
nextToken?: string;
|
|
730
|
+
}
|
|
731
|
+
export declare namespace ListWorkspacesResponse {
|
|
732
|
+
/**
|
|
733
|
+
* @internal
|
|
734
|
+
*/
|
|
735
|
+
const filterSensitiveLog: (obj: ListWorkspacesResponse) => any;
|
|
736
|
+
}
|
|
737
|
+
/**
|
|
738
|
+
* Represents the input of a CreateRuleGroupsNamespace operation.
|
|
739
|
+
*/
|
|
740
|
+
export interface CreateRuleGroupsNamespaceRequest {
|
|
741
|
+
/**
|
|
742
|
+
* The ID of the workspace in which to create the rule group namespace.
|
|
743
|
+
*/
|
|
744
|
+
workspaceId: string | undefined;
|
|
745
|
+
/**
|
|
746
|
+
* The rule groups namespace name.
|
|
747
|
+
*/
|
|
748
|
+
name: string | undefined;
|
|
749
|
+
/**
|
|
750
|
+
* The namespace data that define the rule groups.
|
|
751
|
+
*/
|
|
752
|
+
data: Uint8Array | undefined;
|
|
753
|
+
/**
|
|
754
|
+
* Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
|
|
755
|
+
*/
|
|
756
|
+
clientToken?: string;
|
|
757
|
+
/**
|
|
758
|
+
* Optional, user-provided tags for this rule groups namespace.
|
|
759
|
+
*/
|
|
760
|
+
tags?: {
|
|
761
|
+
[key: string]: string;
|
|
762
|
+
};
|
|
763
|
+
}
|
|
764
|
+
export declare namespace CreateRuleGroupsNamespaceRequest {
|
|
765
|
+
/**
|
|
766
|
+
* @internal
|
|
767
|
+
*/
|
|
768
|
+
const filterSensitiveLog: (obj: CreateRuleGroupsNamespaceRequest) => any;
|
|
769
|
+
}
|
|
770
|
+
export declare enum RuleGroupsNamespaceStatusCode {
|
|
771
|
+
/**
|
|
772
|
+
* Namespace has been created/updated. Update/Deletion is disallowed until namespace is ACTIVE and workspace status is ACTIVE.
|
|
773
|
+
*/
|
|
774
|
+
ACTIVE = "ACTIVE",
|
|
775
|
+
/**
|
|
776
|
+
* Namespace is being created. Update/Deletion is disallowed until namespace is ACTIVE and workspace status is ACTIVE.
|
|
777
|
+
*/
|
|
778
|
+
CREATING = "CREATING",
|
|
779
|
+
/**
|
|
780
|
+
* Namespace creation failed.
|
|
781
|
+
*/
|
|
782
|
+
CREATION_FAILED = "CREATION_FAILED",
|
|
783
|
+
/**
|
|
784
|
+
* Namespace is being deleting. Update/Deletion is disallowed until namespace is ACTIVE and workspace status is ACTIVE.
|
|
785
|
+
*/
|
|
786
|
+
DELETING = "DELETING",
|
|
787
|
+
/**
|
|
788
|
+
* Namespace update failed.
|
|
789
|
+
*/
|
|
790
|
+
UPDATE_FAILED = "UPDATE_FAILED",
|
|
791
|
+
/**
|
|
792
|
+
* Namespace is being updated. Update/Deletion is disallowed until namespace is ACTIVE and workspace status is ACTIVE.
|
|
793
|
+
*/
|
|
794
|
+
UPDATING = "UPDATING"
|
|
795
|
+
}
|
|
796
|
+
/**
|
|
797
|
+
* Represents the status of a namespace.
|
|
798
|
+
*/
|
|
799
|
+
export interface RuleGroupsNamespaceStatus {
|
|
800
|
+
/**
|
|
801
|
+
* Status code of this namespace.
|
|
802
|
+
*/
|
|
803
|
+
statusCode: RuleGroupsNamespaceStatusCode | string | undefined;
|
|
804
|
+
/**
|
|
805
|
+
* The reason for failure if any.
|
|
806
|
+
*/
|
|
807
|
+
statusReason?: string;
|
|
808
|
+
}
|
|
809
|
+
export declare namespace RuleGroupsNamespaceStatus {
|
|
810
|
+
/**
|
|
811
|
+
* @internal
|
|
812
|
+
*/
|
|
813
|
+
const filterSensitiveLog: (obj: RuleGroupsNamespaceStatus) => any;
|
|
814
|
+
}
|
|
815
|
+
/**
|
|
816
|
+
* Represents the output of a CreateRuleGroupsNamespace operation.
|
|
817
|
+
*/
|
|
818
|
+
export interface CreateRuleGroupsNamespaceResponse {
|
|
819
|
+
/**
|
|
820
|
+
* The rule groups namespace name.
|
|
821
|
+
*/
|
|
822
|
+
name: string | undefined;
|
|
823
|
+
/**
|
|
824
|
+
* The Amazon Resource Name (ARN) of this rule groups namespace.
|
|
825
|
+
*/
|
|
826
|
+
arn: string | undefined;
|
|
827
|
+
/**
|
|
828
|
+
* The status of rule groups namespace.
|
|
829
|
+
*/
|
|
830
|
+
status: RuleGroupsNamespaceStatus | undefined;
|
|
831
|
+
/**
|
|
832
|
+
* The tags of this rule groups namespace.
|
|
833
|
+
*/
|
|
834
|
+
tags?: {
|
|
835
|
+
[key: string]: string;
|
|
836
|
+
};
|
|
837
|
+
}
|
|
838
|
+
export declare namespace CreateRuleGroupsNamespaceResponse {
|
|
839
|
+
/**
|
|
840
|
+
* @internal
|
|
841
|
+
*/
|
|
842
|
+
const filterSensitiveLog: (obj: CreateRuleGroupsNamespaceResponse) => any;
|
|
843
|
+
}
|
|
844
|
+
/**
|
|
845
|
+
* Represents the input of a DeleteRuleGroupsNamespace operation.
|
|
846
|
+
*/
|
|
847
|
+
export interface DeleteRuleGroupsNamespaceRequest {
|
|
848
|
+
/**
|
|
849
|
+
* The ID of the workspace to delete rule group definition.
|
|
850
|
+
*/
|
|
851
|
+
workspaceId: string | undefined;
|
|
852
|
+
/**
|
|
853
|
+
* The rule groups namespace name.
|
|
854
|
+
*/
|
|
855
|
+
name: string | undefined;
|
|
856
|
+
/**
|
|
857
|
+
* Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
|
|
858
|
+
*/
|
|
859
|
+
clientToken?: string;
|
|
860
|
+
}
|
|
861
|
+
export declare namespace DeleteRuleGroupsNamespaceRequest {
|
|
862
|
+
/**
|
|
863
|
+
* @internal
|
|
864
|
+
*/
|
|
865
|
+
const filterSensitiveLog: (obj: DeleteRuleGroupsNamespaceRequest) => any;
|
|
866
|
+
}
|
|
867
|
+
/**
|
|
868
|
+
* Represents the input of a DescribeRuleGroupsNamespace operation.
|
|
869
|
+
*/
|
|
870
|
+
export interface DescribeRuleGroupsNamespaceRequest {
|
|
871
|
+
/**
|
|
872
|
+
* The ID of the workspace to describe.
|
|
873
|
+
*/
|
|
874
|
+
workspaceId: string | undefined;
|
|
875
|
+
/**
|
|
876
|
+
* The rule groups namespace.
|
|
877
|
+
*/
|
|
878
|
+
name: string | undefined;
|
|
879
|
+
}
|
|
880
|
+
export declare namespace DescribeRuleGroupsNamespaceRequest {
|
|
881
|
+
/**
|
|
882
|
+
* @internal
|
|
883
|
+
*/
|
|
884
|
+
const filterSensitiveLog: (obj: DescribeRuleGroupsNamespaceRequest) => any;
|
|
885
|
+
}
|
|
886
|
+
/**
|
|
887
|
+
* Represents a description of the rule groups namespace.
|
|
888
|
+
*/
|
|
889
|
+
export interface RuleGroupsNamespaceDescription {
|
|
890
|
+
/**
|
|
891
|
+
* The Amazon Resource Name (ARN) of this rule groups namespace.
|
|
892
|
+
*/
|
|
893
|
+
arn: string | undefined;
|
|
894
|
+
/**
|
|
895
|
+
* The rule groups namespace name.
|
|
896
|
+
*/
|
|
897
|
+
name: string | undefined;
|
|
898
|
+
/**
|
|
899
|
+
* The status of rule groups namespace.
|
|
900
|
+
*/
|
|
901
|
+
status: RuleGroupsNamespaceStatus | undefined;
|
|
902
|
+
/**
|
|
903
|
+
* The rule groups namespace data.
|
|
904
|
+
*/
|
|
905
|
+
data: Uint8Array | undefined;
|
|
906
|
+
/**
|
|
907
|
+
* The time when the rule groups namespace was created.
|
|
908
|
+
*/
|
|
909
|
+
createdAt: Date | undefined;
|
|
910
|
+
/**
|
|
911
|
+
* The time when the rule groups namespace was modified.
|
|
912
|
+
*/
|
|
913
|
+
modifiedAt: Date | undefined;
|
|
914
|
+
/**
|
|
915
|
+
* The tags of this rule groups namespace.
|
|
916
|
+
*/
|
|
917
|
+
tags?: {
|
|
918
|
+
[key: string]: string;
|
|
919
|
+
};
|
|
920
|
+
}
|
|
921
|
+
export declare namespace RuleGroupsNamespaceDescription {
|
|
922
|
+
/**
|
|
923
|
+
* @internal
|
|
924
|
+
*/
|
|
925
|
+
const filterSensitiveLog: (obj: RuleGroupsNamespaceDescription) => any;
|
|
926
|
+
}
|
|
927
|
+
/**
|
|
928
|
+
* Represents the output of a DescribeRuleGroupsNamespace operation.
|
|
929
|
+
*/
|
|
930
|
+
export interface DescribeRuleGroupsNamespaceResponse {
|
|
931
|
+
/**
|
|
932
|
+
* The selected rule groups namespace.
|
|
933
|
+
*/
|
|
934
|
+
ruleGroupsNamespace: RuleGroupsNamespaceDescription | undefined;
|
|
935
|
+
}
|
|
936
|
+
export declare namespace DescribeRuleGroupsNamespaceResponse {
|
|
937
|
+
/**
|
|
938
|
+
* @internal
|
|
939
|
+
*/
|
|
940
|
+
const filterSensitiveLog: (obj: DescribeRuleGroupsNamespaceResponse) => any;
|
|
941
|
+
}
|
|
942
|
+
/**
|
|
943
|
+
* Represents the input of a ListRuleGroupsNamespaces operation.
|
|
944
|
+
*/
|
|
945
|
+
export interface ListRuleGroupsNamespacesRequest {
|
|
946
|
+
/**
|
|
947
|
+
* The ID of the workspace.
|
|
948
|
+
*/
|
|
949
|
+
workspaceId: string | undefined;
|
|
950
|
+
/**
|
|
951
|
+
* Optional filter for rule groups namespace name. Only the rule groups namespace that begin with this value will be returned.
|
|
952
|
+
*/
|
|
953
|
+
name?: string;
|
|
954
|
+
/**
|
|
955
|
+
* Pagination token to request the next page in a paginated list. This token is obtained from the output of the previous ListRuleGroupsNamespaces request.
|
|
956
|
+
*/
|
|
957
|
+
nextToken?: string;
|
|
958
|
+
/**
|
|
959
|
+
* Maximum results to return in response (default=100, maximum=1000).
|
|
960
|
+
*/
|
|
961
|
+
maxResults?: number;
|
|
962
|
+
}
|
|
963
|
+
export declare namespace ListRuleGroupsNamespacesRequest {
|
|
964
|
+
/**
|
|
965
|
+
* @internal
|
|
966
|
+
*/
|
|
967
|
+
const filterSensitiveLog: (obj: ListRuleGroupsNamespacesRequest) => any;
|
|
968
|
+
}
|
|
969
|
+
/**
|
|
970
|
+
* Represents a summary of the rule groups namespace.
|
|
971
|
+
*/
|
|
972
|
+
export interface RuleGroupsNamespaceSummary {
|
|
973
|
+
/**
|
|
974
|
+
* The Amazon Resource Name (ARN) of this rule groups namespace.
|
|
975
|
+
*/
|
|
976
|
+
arn: string | undefined;
|
|
977
|
+
/**
|
|
978
|
+
* The rule groups namespace name.
|
|
979
|
+
*/
|
|
980
|
+
name: string | undefined;
|
|
981
|
+
/**
|
|
982
|
+
* The status of rule groups namespace.
|
|
983
|
+
*/
|
|
984
|
+
status: RuleGroupsNamespaceStatus | undefined;
|
|
985
|
+
/**
|
|
986
|
+
* The time when the rule groups namespace was created.
|
|
987
|
+
*/
|
|
988
|
+
createdAt: Date | undefined;
|
|
989
|
+
/**
|
|
990
|
+
* The time when the rule groups namespace was modified.
|
|
991
|
+
*/
|
|
992
|
+
modifiedAt: Date | undefined;
|
|
993
|
+
/**
|
|
994
|
+
* The tags of this rule groups namespace.
|
|
995
|
+
*/
|
|
996
|
+
tags?: {
|
|
997
|
+
[key: string]: string;
|
|
998
|
+
};
|
|
999
|
+
}
|
|
1000
|
+
export declare namespace RuleGroupsNamespaceSummary {
|
|
1001
|
+
/**
|
|
1002
|
+
* @internal
|
|
1003
|
+
*/
|
|
1004
|
+
const filterSensitiveLog: (obj: RuleGroupsNamespaceSummary) => any;
|
|
1005
|
+
}
|
|
1006
|
+
/**
|
|
1007
|
+
* Represents the output of a ListRuleGroupsNamespaces operation.
|
|
1008
|
+
*/
|
|
1009
|
+
export interface ListRuleGroupsNamespacesResponse {
|
|
1010
|
+
/**
|
|
1011
|
+
* The list of the selected rule groups namespaces.
|
|
1012
|
+
*/
|
|
1013
|
+
ruleGroupsNamespaces: RuleGroupsNamespaceSummary[] | undefined;
|
|
1014
|
+
/**
|
|
1015
|
+
* Pagination token to use when requesting the next page in this list.
|
|
1016
|
+
*/
|
|
1017
|
+
nextToken?: string;
|
|
1018
|
+
}
|
|
1019
|
+
export declare namespace ListRuleGroupsNamespacesResponse {
|
|
1020
|
+
/**
|
|
1021
|
+
* @internal
|
|
1022
|
+
*/
|
|
1023
|
+
const filterSensitiveLog: (obj: ListRuleGroupsNamespacesResponse) => any;
|
|
1024
|
+
}
|
|
1025
|
+
/**
|
|
1026
|
+
* Represents the input of a PutRuleGroupsNamespace operation.
|
|
1027
|
+
*/
|
|
1028
|
+
export interface PutRuleGroupsNamespaceRequest {
|
|
1029
|
+
/**
|
|
1030
|
+
* The ID of the workspace in which to update the rule group namespace.
|
|
1031
|
+
*/
|
|
1032
|
+
workspaceId: string | undefined;
|
|
1033
|
+
/**
|
|
1034
|
+
* The rule groups namespace name.
|
|
1035
|
+
*/
|
|
1036
|
+
name: string | undefined;
|
|
1037
|
+
/**
|
|
1038
|
+
* The namespace data that define the rule groups.
|
|
1039
|
+
*/
|
|
1040
|
+
data: Uint8Array | undefined;
|
|
1041
|
+
/**
|
|
1042
|
+
* Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
|
|
1043
|
+
*/
|
|
1044
|
+
clientToken?: string;
|
|
1045
|
+
}
|
|
1046
|
+
export declare namespace PutRuleGroupsNamespaceRequest {
|
|
1047
|
+
/**
|
|
1048
|
+
* @internal
|
|
1049
|
+
*/
|
|
1050
|
+
const filterSensitiveLog: (obj: PutRuleGroupsNamespaceRequest) => any;
|
|
1051
|
+
}
|
|
1052
|
+
/**
|
|
1053
|
+
* Represents the output of a PutRuleGroupsNamespace operation.
|
|
1054
|
+
*/
|
|
1055
|
+
export interface PutRuleGroupsNamespaceResponse {
|
|
1056
|
+
/**
|
|
1057
|
+
* The rule groups namespace name.
|
|
1058
|
+
*/
|
|
1059
|
+
name: string | undefined;
|
|
1060
|
+
/**
|
|
1061
|
+
* The Amazon Resource Name (ARN) of this rule groups namespace.
|
|
1062
|
+
*/
|
|
1063
|
+
arn: string | undefined;
|
|
1064
|
+
/**
|
|
1065
|
+
* The status of rule groups namespace.
|
|
1066
|
+
*/
|
|
1067
|
+
status: RuleGroupsNamespaceStatus | undefined;
|
|
1068
|
+
/**
|
|
1069
|
+
* The tags of this rule groups namespace.
|
|
1070
|
+
*/
|
|
1071
|
+
tags?: {
|
|
1072
|
+
[key: string]: string;
|
|
1073
|
+
};
|
|
1074
|
+
}
|
|
1075
|
+
export declare namespace PutRuleGroupsNamespaceResponse {
|
|
1076
|
+
/**
|
|
1077
|
+
* @internal
|
|
1078
|
+
*/
|
|
1079
|
+
const filterSensitiveLog: (obj: PutRuleGroupsNamespaceResponse) => any;
|
|
1080
|
+
}
|
|
1081
|
+
/**
|
|
1082
|
+
* Represents the input of an UpdateWorkspaceAlias operation.
|
|
1083
|
+
*/
|
|
1084
|
+
export interface UpdateWorkspaceAliasRequest {
|
|
1085
|
+
/**
|
|
1086
|
+
* The ID of the workspace being updated.
|
|
1087
|
+
*/
|
|
1088
|
+
workspaceId: string | undefined;
|
|
1089
|
+
/**
|
|
1090
|
+
* The new alias of the workspace.
|
|
1091
|
+
*/
|
|
1092
|
+
alias?: string;
|
|
1093
|
+
/**
|
|
1094
|
+
* Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
|
|
1095
|
+
*/
|
|
1096
|
+
clientToken?: string;
|
|
1097
|
+
}
|
|
1098
|
+
export declare namespace UpdateWorkspaceAliasRequest {
|
|
1099
|
+
/**
|
|
1100
|
+
* @internal
|
|
1101
|
+
*/
|
|
1102
|
+
const filterSensitiveLog: (obj: UpdateWorkspaceAliasRequest) => any;
|
|
1103
|
+
}
|