@aws-sdk/client-grafana 3.185.0 → 3.188.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 +16 -0
- package/dist-es/Grafana.js +66 -73
- package/dist-es/GrafanaClient.js +22 -28
- package/dist-es/commands/AssociateLicenseCommand.js +21 -28
- package/dist-es/commands/CreateWorkspaceApiKeyCommand.js +21 -28
- package/dist-es/commands/CreateWorkspaceCommand.js +21 -28
- package/dist-es/commands/DeleteWorkspaceApiKeyCommand.js +21 -28
- package/dist-es/commands/DeleteWorkspaceCommand.js +21 -28
- package/dist-es/commands/DescribeWorkspaceAuthenticationCommand.js +21 -28
- package/dist-es/commands/DescribeWorkspaceCommand.js +21 -28
- package/dist-es/commands/DisassociateLicenseCommand.js +21 -28
- package/dist-es/commands/ListPermissionsCommand.js +21 -28
- package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
- package/dist-es/commands/ListWorkspacesCommand.js +21 -28
- package/dist-es/commands/TagResourceCommand.js +21 -28
- package/dist-es/commands/UntagResourceCommand.js +21 -28
- package/dist-es/commands/UpdatePermissionsCommand.js +21 -28
- package/dist-es/commands/UpdateWorkspaceAuthenticationCommand.js +21 -28
- package/dist-es/commands/UpdateWorkspaceCommand.js +21 -28
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/GrafanaServiceException.js +5 -10
- package/dist-es/models/models_0.js +265 -144
- package/dist-es/pagination/ListPermissionsPaginator.js +25 -68
- package/dist-es/pagination/ListWorkspacesPaginator.js +25 -68
- package/dist-es/protocols/Aws_restJson1.js +1351 -1839
- package/dist-es/runtimeConfig.browser.js +26 -12
- package/dist-es/runtimeConfig.js +30 -12
- package/dist-es/runtimeConfig.native.js +8 -5
- package/dist-es/runtimeConfig.shared.js +8 -11
- package/package.json +33 -33
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { UpdateWorkspaceAuthenticationRequestFilterSensitiveLog, UpdateWorkspaceAuthenticationResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1UpdateWorkspaceAuthenticationCommand, serializeAws_restJson1UpdateWorkspaceAuthenticationCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class UpdateWorkspaceAuthenticationCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "GrafanaClient";
|
|
15
|
+
const commandName = "UpdateWorkspaceAuthenticationCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: UpdateWorkspaceAuthenticationRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: UpdateWorkspaceAuthenticationResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
UpdateWorkspaceAuthenticationCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1UpdateWorkspaceAuthenticationCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1UpdateWorkspaceAuthenticationCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { UpdateWorkspaceAuthenticationCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
3
|
import { UpdateWorkspaceRequestFilterSensitiveLog, UpdateWorkspaceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1UpdateWorkspaceCommand, serializeAws_restJson1UpdateWorkspaceCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_this.input = input;
|
|
11
|
-
return _this;
|
|
5
|
+
export class UpdateWorkspaceCommand extends $Command {
|
|
6
|
+
constructor(input) {
|
|
7
|
+
super();
|
|
8
|
+
this.input = input;
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
11
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
logger
|
|
21
|
-
clientName
|
|
22
|
-
commandName
|
|
12
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
13
|
+
const { logger } = configuration;
|
|
14
|
+
const clientName = "GrafanaClient";
|
|
15
|
+
const commandName = "UpdateWorkspaceCommand";
|
|
16
|
+
const handlerExecutionContext = {
|
|
17
|
+
logger,
|
|
18
|
+
clientName,
|
|
19
|
+
commandName,
|
|
23
20
|
inputFilterSensitiveLog: UpdateWorkspaceRequestFilterSensitiveLog,
|
|
24
21
|
outputFilterSensitiveLog: UpdateWorkspaceResponseFilterSensitiveLog,
|
|
25
22
|
};
|
|
26
|
-
|
|
27
|
-
return stack.resolve(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
};
|
|
31
|
-
UpdateWorkspaceCommand.prototype.serialize = function (input, context) {
|
|
23
|
+
const { requestHandler } = configuration;
|
|
24
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
25
|
+
}
|
|
26
|
+
serialize(input, context) {
|
|
32
27
|
return serializeAws_restJson1UpdateWorkspaceCommand(input, context);
|
|
33
|
-
}
|
|
34
|
-
|
|
28
|
+
}
|
|
29
|
+
deserialize(output, context) {
|
|
35
30
|
return deserializeAws_restJson1UpdateWorkspaceCommand(output, context);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
}($Command));
|
|
39
|
-
export { UpdateWorkspaceCommand };
|
|
31
|
+
}
|
|
32
|
+
}
|
package/dist-es/endpoints.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
1
|
import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
3
|
-
|
|
2
|
+
const regionHash = {
|
|
4
3
|
"ap-northeast-1": {
|
|
5
4
|
variants: [
|
|
6
5
|
{
|
|
@@ -92,7 +91,7 @@ var regionHash = {
|
|
|
92
91
|
signingRegion: "us-west-2",
|
|
93
92
|
},
|
|
94
93
|
};
|
|
95
|
-
|
|
94
|
+
const partitionHash = {
|
|
96
95
|
aws: {
|
|
97
96
|
regions: [
|
|
98
97
|
"af-south-1",
|
|
@@ -212,8 +211,9 @@ var partitionHash = {
|
|
|
212
211
|
],
|
|
213
212
|
},
|
|
214
213
|
};
|
|
215
|
-
export
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
214
|
+
export const defaultRegionInfoProvider = async (region, options) => getRegionInfo(region, {
|
|
215
|
+
...options,
|
|
216
|
+
signingService: "grafana",
|
|
217
|
+
regionHash,
|
|
218
|
+
partitionHash,
|
|
219
|
+
});
|
|
@@ -1,12 +1,7 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
Object.setPrototypeOf(_this, GrafanaServiceException.prototype);
|
|
8
|
-
return _this;
|
|
2
|
+
export class GrafanaServiceException extends __ServiceException {
|
|
3
|
+
constructor(options) {
|
|
4
|
+
super(options);
|
|
5
|
+
Object.setPrototypeOf(this, GrafanaServiceException.prototype);
|
|
9
6
|
}
|
|
10
|
-
|
|
11
|
-
}(__ServiceException));
|
|
12
|
-
export { GrafanaServiceException };
|
|
7
|
+
}
|
|
@@ -1,97 +1,96 @@
|
|
|
1
|
-
import { __assign, __extends } from "tslib";
|
|
2
1
|
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
3
2
|
import { GrafanaServiceException as __BaseException } from "./GrafanaServiceException";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
3
|
+
export class AccessDeniedException extends __BaseException {
|
|
4
|
+
constructor(opts) {
|
|
5
|
+
super({
|
|
6
|
+
name: "AccessDeniedException",
|
|
7
|
+
$fault: "client",
|
|
8
|
+
...opts,
|
|
9
|
+
});
|
|
10
|
+
this.name = "AccessDeniedException";
|
|
11
|
+
this.$fault = "client";
|
|
12
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
12
13
|
}
|
|
13
|
-
|
|
14
|
-
}(__BaseException));
|
|
15
|
-
export { AccessDeniedException };
|
|
14
|
+
}
|
|
16
15
|
export var AccountAccessType;
|
|
17
16
|
(function (AccountAccessType) {
|
|
18
17
|
AccountAccessType["CURRENT_ACCOUNT"] = "CURRENT_ACCOUNT";
|
|
19
18
|
AccountAccessType["ORGANIZATION"] = "ORGANIZATION";
|
|
20
19
|
})(AccountAccessType || (AccountAccessType = {}));
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
20
|
+
export class ConflictException extends __BaseException {
|
|
21
|
+
constructor(opts) {
|
|
22
|
+
super({
|
|
23
|
+
name: "ConflictException",
|
|
24
|
+
$fault: "client",
|
|
25
|
+
...opts,
|
|
26
|
+
});
|
|
27
|
+
this.name = "ConflictException";
|
|
28
|
+
this.$fault = "client";
|
|
29
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
30
|
+
this.resourceId = opts.resourceId;
|
|
31
|
+
this.resourceType = opts.resourceType;
|
|
31
32
|
}
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
33
|
+
}
|
|
34
|
+
export class InternalServerException extends __BaseException {
|
|
35
|
+
constructor(opts) {
|
|
36
|
+
super({
|
|
37
|
+
name: "InternalServerException",
|
|
38
|
+
$fault: "server",
|
|
39
|
+
...opts,
|
|
40
|
+
});
|
|
41
|
+
this.name = "InternalServerException";
|
|
42
|
+
this.$fault = "server";
|
|
43
|
+
this.$retryable = {};
|
|
44
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
45
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
45
46
|
}
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
47
|
+
}
|
|
48
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
49
|
+
constructor(opts) {
|
|
50
|
+
super({
|
|
51
|
+
name: "ResourceNotFoundException",
|
|
52
|
+
$fault: "client",
|
|
53
|
+
...opts,
|
|
54
|
+
});
|
|
55
|
+
this.name = "ResourceNotFoundException";
|
|
56
|
+
this.$fault = "client";
|
|
57
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
58
|
+
this.resourceId = opts.resourceId;
|
|
59
|
+
this.resourceType = opts.resourceType;
|
|
59
60
|
}
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
61
|
+
}
|
|
62
|
+
export class ServiceQuotaExceededException extends __BaseException {
|
|
63
|
+
constructor(opts) {
|
|
64
|
+
super({
|
|
65
|
+
name: "ServiceQuotaExceededException",
|
|
66
|
+
$fault: "client",
|
|
67
|
+
...opts,
|
|
68
|
+
});
|
|
69
|
+
this.name = "ServiceQuotaExceededException";
|
|
70
|
+
this.$fault = "client";
|
|
71
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
72
|
+
this.resourceId = opts.resourceId;
|
|
73
|
+
this.resourceType = opts.resourceType;
|
|
74
|
+
this.serviceCode = opts.serviceCode;
|
|
75
|
+
this.quotaCode = opts.quotaCode;
|
|
75
76
|
}
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
77
|
+
}
|
|
78
|
+
export class ThrottlingException extends __BaseException {
|
|
79
|
+
constructor(opts) {
|
|
80
|
+
super({
|
|
81
|
+
name: "ThrottlingException",
|
|
82
|
+
$fault: "client",
|
|
83
|
+
...opts,
|
|
84
|
+
});
|
|
85
|
+
this.name = "ThrottlingException";
|
|
86
|
+
this.$fault = "client";
|
|
87
|
+
this.$retryable = {};
|
|
88
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
89
|
+
this.serviceCode = opts.serviceCode;
|
|
90
|
+
this.quotaCode = opts.quotaCode;
|
|
91
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
91
92
|
}
|
|
92
|
-
|
|
93
|
-
}(__BaseException));
|
|
94
|
-
export { ThrottlingException };
|
|
93
|
+
}
|
|
95
94
|
export var ValidationExceptionReason;
|
|
96
95
|
(function (ValidationExceptionReason) {
|
|
97
96
|
ValidationExceptionReason["CANNOT_PARSE"] = "CANNOT_PARSE";
|
|
@@ -99,20 +98,20 @@ export var ValidationExceptionReason;
|
|
|
99
98
|
ValidationExceptionReason["OTHER"] = "OTHER";
|
|
100
99
|
ValidationExceptionReason["UNKNOWN_OPERATION"] = "UNKNOWN_OPERATION";
|
|
101
100
|
})(ValidationExceptionReason || (ValidationExceptionReason = {}));
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
101
|
+
export class ValidationException extends __BaseException {
|
|
102
|
+
constructor(opts) {
|
|
103
|
+
super({
|
|
104
|
+
name: "ValidationException",
|
|
105
|
+
$fault: "client",
|
|
106
|
+
...opts,
|
|
107
|
+
});
|
|
108
|
+
this.name = "ValidationException";
|
|
109
|
+
this.$fault = "client";
|
|
110
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
111
|
+
this.reason = opts.reason;
|
|
112
|
+
this.fieldList = opts.fieldList;
|
|
112
113
|
}
|
|
113
|
-
|
|
114
|
-
}(__BaseException));
|
|
115
|
-
export { ValidationException };
|
|
114
|
+
}
|
|
116
115
|
export var LicenseType;
|
|
117
116
|
(function (LicenseType) {
|
|
118
117
|
LicenseType["ENTERPRISE"] = "ENTERPRISE";
|
|
@@ -164,7 +163,7 @@ export var WorkspaceStatus;
|
|
|
164
163
|
})(WorkspaceStatus || (WorkspaceStatus = {}));
|
|
165
164
|
export var IdpMetadata;
|
|
166
165
|
(function (IdpMetadata) {
|
|
167
|
-
IdpMetadata.visit =
|
|
166
|
+
IdpMetadata.visit = (value, visitor) => {
|
|
168
167
|
if (value.url !== undefined)
|
|
169
168
|
return visitor.url(value.url);
|
|
170
169
|
if (value.xml !== undefined)
|
|
@@ -188,58 +187,180 @@ export var UpdateAction;
|
|
|
188
187
|
UpdateAction["ADD"] = "ADD";
|
|
189
188
|
UpdateAction["REVOKE"] = "REVOKE";
|
|
190
189
|
})(UpdateAction || (UpdateAction = {}));
|
|
191
|
-
export
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
export
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
export
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
export
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
190
|
+
export const CreateWorkspaceApiKeyRequestFilterSensitiveLog = (obj) => ({
|
|
191
|
+
...obj,
|
|
192
|
+
});
|
|
193
|
+
export const CreateWorkspaceApiKeyResponseFilterSensitiveLog = (obj) => ({
|
|
194
|
+
...obj,
|
|
195
|
+
...(obj.key && { key: SENSITIVE_STRING }),
|
|
196
|
+
});
|
|
197
|
+
export const ValidationExceptionFieldFilterSensitiveLog = (obj) => ({
|
|
198
|
+
...obj,
|
|
199
|
+
});
|
|
200
|
+
export const DeleteWorkspaceApiKeyRequestFilterSensitiveLog = (obj) => ({
|
|
201
|
+
...obj,
|
|
202
|
+
});
|
|
203
|
+
export const DeleteWorkspaceApiKeyResponseFilterSensitiveLog = (obj) => ({
|
|
204
|
+
...obj,
|
|
205
|
+
});
|
|
206
|
+
export const AssertionAttributesFilterSensitiveLog = (obj) => ({
|
|
207
|
+
...obj,
|
|
208
|
+
});
|
|
209
|
+
export const AssociateLicenseRequestFilterSensitiveLog = (obj) => ({
|
|
210
|
+
...obj,
|
|
211
|
+
});
|
|
212
|
+
export const AuthenticationSummaryFilterSensitiveLog = (obj) => ({
|
|
213
|
+
...obj,
|
|
214
|
+
});
|
|
215
|
+
export const WorkspaceDescriptionFilterSensitiveLog = (obj) => ({
|
|
216
|
+
...obj,
|
|
217
|
+
...(obj.description && { description: SENSITIVE_STRING }),
|
|
218
|
+
...(obj.name && { name: SENSITIVE_STRING }),
|
|
219
|
+
...(obj.organizationRoleName && { organizationRoleName: SENSITIVE_STRING }),
|
|
220
|
+
...(obj.organizationalUnits && { organizationalUnits: SENSITIVE_STRING }),
|
|
221
|
+
...(obj.workspaceRoleArn && { workspaceRoleArn: SENSITIVE_STRING }),
|
|
222
|
+
});
|
|
223
|
+
export const AssociateLicenseResponseFilterSensitiveLog = (obj) => ({
|
|
224
|
+
...obj,
|
|
225
|
+
...(obj.workspace && { workspace: WorkspaceDescriptionFilterSensitiveLog(obj.workspace) }),
|
|
226
|
+
});
|
|
227
|
+
export const DescribeWorkspaceAuthenticationRequestFilterSensitiveLog = (obj) => ({
|
|
228
|
+
...obj,
|
|
229
|
+
});
|
|
230
|
+
export const AwsSsoAuthenticationFilterSensitiveLog = (obj) => ({
|
|
231
|
+
...obj,
|
|
232
|
+
});
|
|
233
|
+
export const IdpMetadataFilterSensitiveLog = (obj) => {
|
|
205
234
|
if (obj.url !== undefined)
|
|
206
235
|
return { url: obj.url };
|
|
207
236
|
if (obj.xml !== undefined)
|
|
208
237
|
return { xml: obj.xml };
|
|
209
238
|
if (obj.$unknown !== undefined)
|
|
210
|
-
return
|
|
239
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
211
240
|
};
|
|
212
|
-
export
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
export
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
export
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
export
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
export
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
export
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
export
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
export
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
export
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
241
|
+
export const RoleValuesFilterSensitiveLog = (obj) => ({
|
|
242
|
+
...obj,
|
|
243
|
+
});
|
|
244
|
+
export const SamlConfigurationFilterSensitiveLog = (obj) => ({
|
|
245
|
+
...obj,
|
|
246
|
+
...(obj.idpMetadata && { idpMetadata: IdpMetadataFilterSensitiveLog(obj.idpMetadata) }),
|
|
247
|
+
});
|
|
248
|
+
export const SamlAuthenticationFilterSensitiveLog = (obj) => ({
|
|
249
|
+
...obj,
|
|
250
|
+
...(obj.configuration && { configuration: SamlConfigurationFilterSensitiveLog(obj.configuration) }),
|
|
251
|
+
});
|
|
252
|
+
export const AuthenticationDescriptionFilterSensitiveLog = (obj) => ({
|
|
253
|
+
...obj,
|
|
254
|
+
...(obj.saml && { saml: SamlAuthenticationFilterSensitiveLog(obj.saml) }),
|
|
255
|
+
});
|
|
256
|
+
export const DescribeWorkspaceAuthenticationResponseFilterSensitiveLog = (obj) => ({
|
|
257
|
+
...obj,
|
|
258
|
+
...(obj.authentication && { authentication: AuthenticationDescriptionFilterSensitiveLog(obj.authentication) }),
|
|
259
|
+
});
|
|
260
|
+
export const UpdateWorkspaceAuthenticationRequestFilterSensitiveLog = (obj) => ({
|
|
261
|
+
...obj,
|
|
262
|
+
...(obj.samlConfiguration && { samlConfiguration: SamlConfigurationFilterSensitiveLog(obj.samlConfiguration) }),
|
|
263
|
+
});
|
|
264
|
+
export const UpdateWorkspaceAuthenticationResponseFilterSensitiveLog = (obj) => ({
|
|
265
|
+
...obj,
|
|
266
|
+
...(obj.authentication && { authentication: AuthenticationDescriptionFilterSensitiveLog(obj.authentication) }),
|
|
267
|
+
});
|
|
268
|
+
export const DisassociateLicenseRequestFilterSensitiveLog = (obj) => ({
|
|
269
|
+
...obj,
|
|
270
|
+
});
|
|
271
|
+
export const DisassociateLicenseResponseFilterSensitiveLog = (obj) => ({
|
|
272
|
+
...obj,
|
|
273
|
+
...(obj.workspace && { workspace: WorkspaceDescriptionFilterSensitiveLog(obj.workspace) }),
|
|
274
|
+
});
|
|
275
|
+
export const ListTagsForResourceRequestFilterSensitiveLog = (obj) => ({
|
|
276
|
+
...obj,
|
|
277
|
+
});
|
|
278
|
+
export const ListTagsForResourceResponseFilterSensitiveLog = (obj) => ({
|
|
279
|
+
...obj,
|
|
280
|
+
});
|
|
281
|
+
export const ListPermissionsRequestFilterSensitiveLog = (obj) => ({
|
|
282
|
+
...obj,
|
|
283
|
+
});
|
|
284
|
+
export const UserFilterSensitiveLog = (obj) => ({
|
|
285
|
+
...obj,
|
|
286
|
+
});
|
|
287
|
+
export const PermissionEntryFilterSensitiveLog = (obj) => ({
|
|
288
|
+
...obj,
|
|
289
|
+
});
|
|
290
|
+
export const ListPermissionsResponseFilterSensitiveLog = (obj) => ({
|
|
291
|
+
...obj,
|
|
292
|
+
});
|
|
293
|
+
export const UpdateInstructionFilterSensitiveLog = (obj) => ({
|
|
294
|
+
...obj,
|
|
295
|
+
});
|
|
296
|
+
export const UpdatePermissionsRequestFilterSensitiveLog = (obj) => ({
|
|
297
|
+
...obj,
|
|
298
|
+
});
|
|
299
|
+
export const UpdateErrorFilterSensitiveLog = (obj) => ({
|
|
300
|
+
...obj,
|
|
301
|
+
});
|
|
302
|
+
export const UpdatePermissionsResponseFilterSensitiveLog = (obj) => ({
|
|
303
|
+
...obj,
|
|
304
|
+
});
|
|
305
|
+
export const TagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
306
|
+
...obj,
|
|
307
|
+
});
|
|
308
|
+
export const TagResourceResponseFilterSensitiveLog = (obj) => ({
|
|
309
|
+
...obj,
|
|
310
|
+
});
|
|
311
|
+
export const UntagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
312
|
+
...obj,
|
|
313
|
+
});
|
|
314
|
+
export const UntagResourceResponseFilterSensitiveLog = (obj) => ({
|
|
315
|
+
...obj,
|
|
316
|
+
});
|
|
317
|
+
export const CreateWorkspaceRequestFilterSensitiveLog = (obj) => ({
|
|
318
|
+
...obj,
|
|
319
|
+
...(obj.organizationRoleName && { organizationRoleName: SENSITIVE_STRING }),
|
|
320
|
+
...(obj.workspaceDescription && { workspaceDescription: SENSITIVE_STRING }),
|
|
321
|
+
...(obj.workspaceName && { workspaceName: SENSITIVE_STRING }),
|
|
322
|
+
...(obj.workspaceOrganizationalUnits && { workspaceOrganizationalUnits: SENSITIVE_STRING }),
|
|
323
|
+
...(obj.workspaceRoleArn && { workspaceRoleArn: SENSITIVE_STRING }),
|
|
324
|
+
});
|
|
325
|
+
export const CreateWorkspaceResponseFilterSensitiveLog = (obj) => ({
|
|
326
|
+
...obj,
|
|
327
|
+
...(obj.workspace && { workspace: WorkspaceDescriptionFilterSensitiveLog(obj.workspace) }),
|
|
328
|
+
});
|
|
329
|
+
export const DeleteWorkspaceRequestFilterSensitiveLog = (obj) => ({
|
|
330
|
+
...obj,
|
|
331
|
+
});
|
|
332
|
+
export const DeleteWorkspaceResponseFilterSensitiveLog = (obj) => ({
|
|
333
|
+
...obj,
|
|
334
|
+
...(obj.workspace && { workspace: WorkspaceDescriptionFilterSensitiveLog(obj.workspace) }),
|
|
335
|
+
});
|
|
336
|
+
export const DescribeWorkspaceRequestFilterSensitiveLog = (obj) => ({
|
|
337
|
+
...obj,
|
|
338
|
+
});
|
|
339
|
+
export const DescribeWorkspaceResponseFilterSensitiveLog = (obj) => ({
|
|
340
|
+
...obj,
|
|
341
|
+
...(obj.workspace && { workspace: WorkspaceDescriptionFilterSensitiveLog(obj.workspace) }),
|
|
342
|
+
});
|
|
343
|
+
export const ListWorkspacesRequestFilterSensitiveLog = (obj) => ({
|
|
344
|
+
...obj,
|
|
345
|
+
});
|
|
346
|
+
export const WorkspaceSummaryFilterSensitiveLog = (obj) => ({
|
|
347
|
+
...obj,
|
|
348
|
+
...(obj.description && { description: SENSITIVE_STRING }),
|
|
349
|
+
...(obj.name && { name: SENSITIVE_STRING }),
|
|
350
|
+
});
|
|
351
|
+
export const ListWorkspacesResponseFilterSensitiveLog = (obj) => ({
|
|
352
|
+
...obj,
|
|
353
|
+
...(obj.workspaces && { workspaces: obj.workspaces.map((item) => WorkspaceSummaryFilterSensitiveLog(item)) }),
|
|
354
|
+
});
|
|
355
|
+
export const UpdateWorkspaceRequestFilterSensitiveLog = (obj) => ({
|
|
356
|
+
...obj,
|
|
357
|
+
...(obj.organizationRoleName && { organizationRoleName: SENSITIVE_STRING }),
|
|
358
|
+
...(obj.workspaceDescription && { workspaceDescription: SENSITIVE_STRING }),
|
|
359
|
+
...(obj.workspaceName && { workspaceName: SENSITIVE_STRING }),
|
|
360
|
+
...(obj.workspaceOrganizationalUnits && { workspaceOrganizationalUnits: SENSITIVE_STRING }),
|
|
361
|
+
...(obj.workspaceRoleArn && { workspaceRoleArn: SENSITIVE_STRING }),
|
|
362
|
+
});
|
|
363
|
+
export const UpdateWorkspaceResponseFilterSensitiveLog = (obj) => ({
|
|
364
|
+
...obj,
|
|
365
|
+
...(obj.workspace && { workspace: WorkspaceDescriptionFilterSensitiveLog(obj.workspace) }),
|
|
366
|
+
});
|