@aws-sdk/client-grafana 3.50.0 → 3.53.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 +27 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/GrafanaServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +110 -1
- package/dist-cjs/protocols/Aws_restJson1.js +166 -528
- package/dist-es/index.js +1 -0
- package/dist-es/models/GrafanaServiceException.js +12 -0
- package/dist-es/models/models_0.js +102 -1
- package/dist-es/protocols/Aws_restJson1.js +299 -581
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/GrafanaServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +51 -47
- package/dist-types/ts3.4/Grafana.d.ts +60 -0
- package/dist-types/ts3.4/GrafanaClient.d.ts +84 -0
- package/dist-types/ts3.4/commands/AssociateLicenseCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateWorkspaceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteWorkspaceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeWorkspaceAuthenticationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeWorkspaceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisassociateLicenseCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListPermissionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListWorkspacesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdatePermissionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateWorkspaceAuthenticationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateWorkspaceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +11 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/GrafanaServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +679 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListPermissionsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListWorkspacesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +35 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +33 -33
package/dist-es/index.js
CHANGED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
|
|
3
|
+
var GrafanaServiceException = (function (_super) {
|
|
4
|
+
__extends(GrafanaServiceException, _super);
|
|
5
|
+
function GrafanaServiceException(options) {
|
|
6
|
+
var _this = _super.call(this, options) || this;
|
|
7
|
+
Object.setPrototypeOf(_this, GrafanaServiceException.prototype);
|
|
8
|
+
return _this;
|
|
9
|
+
}
|
|
10
|
+
return GrafanaServiceException;
|
|
11
|
+
}(__ServiceException));
|
|
12
|
+
export { GrafanaServiceException };
|
|
@@ -1,5 +1,18 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __extends } from "tslib";
|
|
2
2
|
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { GrafanaServiceException as __BaseException } from "./GrafanaServiceException";
|
|
4
|
+
var AccessDeniedException = (function (_super) {
|
|
5
|
+
__extends(AccessDeniedException, _super);
|
|
6
|
+
function AccessDeniedException(opts) {
|
|
7
|
+
var _this = _super.call(this, __assign({ name: "AccessDeniedException", $fault: "client" }, opts)) || this;
|
|
8
|
+
_this.name = "AccessDeniedException";
|
|
9
|
+
_this.$fault = "client";
|
|
10
|
+
Object.setPrototypeOf(_this, AccessDeniedException.prototype);
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
return AccessDeniedException;
|
|
14
|
+
}(__BaseException));
|
|
15
|
+
export { AccessDeniedException };
|
|
3
16
|
export var AccountAccessType;
|
|
4
17
|
(function (AccountAccessType) {
|
|
5
18
|
AccountAccessType["CURRENT_ACCOUNT"] = "CURRENT_ACCOUNT";
|
|
@@ -72,6 +85,50 @@ export var AssociateLicenseResponse;
|
|
|
72
85
|
(function (AssociateLicenseResponse) {
|
|
73
86
|
AssociateLicenseResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.workspace && { workspace: WorkspaceDescription.filterSensitiveLog(obj.workspace) }))); };
|
|
74
87
|
})(AssociateLicenseResponse || (AssociateLicenseResponse = {}));
|
|
88
|
+
var InternalServerException = (function (_super) {
|
|
89
|
+
__extends(InternalServerException, _super);
|
|
90
|
+
function InternalServerException(opts) {
|
|
91
|
+
var _this = _super.call(this, __assign({ name: "InternalServerException", $fault: "server" }, opts)) || this;
|
|
92
|
+
_this.name = "InternalServerException";
|
|
93
|
+
_this.$fault = "server";
|
|
94
|
+
_this.$retryable = {};
|
|
95
|
+
Object.setPrototypeOf(_this, InternalServerException.prototype);
|
|
96
|
+
_this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
97
|
+
return _this;
|
|
98
|
+
}
|
|
99
|
+
return InternalServerException;
|
|
100
|
+
}(__BaseException));
|
|
101
|
+
export { InternalServerException };
|
|
102
|
+
var ResourceNotFoundException = (function (_super) {
|
|
103
|
+
__extends(ResourceNotFoundException, _super);
|
|
104
|
+
function ResourceNotFoundException(opts) {
|
|
105
|
+
var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
|
|
106
|
+
_this.name = "ResourceNotFoundException";
|
|
107
|
+
_this.$fault = "client";
|
|
108
|
+
Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
|
|
109
|
+
_this.resourceId = opts.resourceId;
|
|
110
|
+
_this.resourceType = opts.resourceType;
|
|
111
|
+
return _this;
|
|
112
|
+
}
|
|
113
|
+
return ResourceNotFoundException;
|
|
114
|
+
}(__BaseException));
|
|
115
|
+
export { ResourceNotFoundException };
|
|
116
|
+
var ThrottlingException = (function (_super) {
|
|
117
|
+
__extends(ThrottlingException, _super);
|
|
118
|
+
function ThrottlingException(opts) {
|
|
119
|
+
var _this = _super.call(this, __assign({ name: "ThrottlingException", $fault: "client" }, opts)) || this;
|
|
120
|
+
_this.name = "ThrottlingException";
|
|
121
|
+
_this.$fault = "client";
|
|
122
|
+
_this.$retryable = {};
|
|
123
|
+
Object.setPrototypeOf(_this, ThrottlingException.prototype);
|
|
124
|
+
_this.serviceCode = opts.serviceCode;
|
|
125
|
+
_this.quotaCode = opts.quotaCode;
|
|
126
|
+
_this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
127
|
+
return _this;
|
|
128
|
+
}
|
|
129
|
+
return ThrottlingException;
|
|
130
|
+
}(__BaseException));
|
|
131
|
+
export { ThrottlingException };
|
|
75
132
|
export var ValidationExceptionField;
|
|
76
133
|
(function (ValidationExceptionField) {
|
|
77
134
|
ValidationExceptionField.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -83,6 +140,20 @@ export var ValidationExceptionReason;
|
|
|
83
140
|
ValidationExceptionReason["OTHER"] = "OTHER";
|
|
84
141
|
ValidationExceptionReason["UNKNOWN_OPERATION"] = "UNKNOWN_OPERATION";
|
|
85
142
|
})(ValidationExceptionReason || (ValidationExceptionReason = {}));
|
|
143
|
+
var ValidationException = (function (_super) {
|
|
144
|
+
__extends(ValidationException, _super);
|
|
145
|
+
function ValidationException(opts) {
|
|
146
|
+
var _this = _super.call(this, __assign({ name: "ValidationException", $fault: "client" }, opts)) || this;
|
|
147
|
+
_this.name = "ValidationException";
|
|
148
|
+
_this.$fault = "client";
|
|
149
|
+
Object.setPrototypeOf(_this, ValidationException.prototype);
|
|
150
|
+
_this.reason = opts.reason;
|
|
151
|
+
_this.fieldList = opts.fieldList;
|
|
152
|
+
return _this;
|
|
153
|
+
}
|
|
154
|
+
return ValidationException;
|
|
155
|
+
}(__BaseException));
|
|
156
|
+
export { ValidationException };
|
|
86
157
|
export var DescribeWorkspaceAuthenticationRequest;
|
|
87
158
|
(function (DescribeWorkspaceAuthenticationRequest) {
|
|
88
159
|
DescribeWorkspaceAuthenticationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -130,6 +201,20 @@ export var DescribeWorkspaceAuthenticationResponse;
|
|
|
130
201
|
(function (DescribeWorkspaceAuthenticationResponse) {
|
|
131
202
|
DescribeWorkspaceAuthenticationResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.authentication && { authentication: AuthenticationDescription.filterSensitiveLog(obj.authentication) }))); };
|
|
132
203
|
})(DescribeWorkspaceAuthenticationResponse || (DescribeWorkspaceAuthenticationResponse = {}));
|
|
204
|
+
var ConflictException = (function (_super) {
|
|
205
|
+
__extends(ConflictException, _super);
|
|
206
|
+
function ConflictException(opts) {
|
|
207
|
+
var _this = _super.call(this, __assign({ name: "ConflictException", $fault: "client" }, opts)) || this;
|
|
208
|
+
_this.name = "ConflictException";
|
|
209
|
+
_this.$fault = "client";
|
|
210
|
+
Object.setPrototypeOf(_this, ConflictException.prototype);
|
|
211
|
+
_this.resourceId = opts.resourceId;
|
|
212
|
+
_this.resourceType = opts.resourceType;
|
|
213
|
+
return _this;
|
|
214
|
+
}
|
|
215
|
+
return ConflictException;
|
|
216
|
+
}(__BaseException));
|
|
217
|
+
export { ConflictException };
|
|
133
218
|
export var UpdateWorkspaceAuthenticationRequest;
|
|
134
219
|
(function (UpdateWorkspaceAuthenticationRequest) {
|
|
135
220
|
UpdateWorkspaceAuthenticationRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.samlConfiguration && { samlConfiguration: SamlConfiguration.filterSensitiveLog(obj.samlConfiguration) }))); };
|
|
@@ -201,6 +286,22 @@ export var CreateWorkspaceResponse;
|
|
|
201
286
|
(function (CreateWorkspaceResponse) {
|
|
202
287
|
CreateWorkspaceResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.workspace && { workspace: WorkspaceDescription.filterSensitiveLog(obj.workspace) }))); };
|
|
203
288
|
})(CreateWorkspaceResponse || (CreateWorkspaceResponse = {}));
|
|
289
|
+
var ServiceQuotaExceededException = (function (_super) {
|
|
290
|
+
__extends(ServiceQuotaExceededException, _super);
|
|
291
|
+
function ServiceQuotaExceededException(opts) {
|
|
292
|
+
var _this = _super.call(this, __assign({ name: "ServiceQuotaExceededException", $fault: "client" }, opts)) || this;
|
|
293
|
+
_this.name = "ServiceQuotaExceededException";
|
|
294
|
+
_this.$fault = "client";
|
|
295
|
+
Object.setPrototypeOf(_this, ServiceQuotaExceededException.prototype);
|
|
296
|
+
_this.resourceId = opts.resourceId;
|
|
297
|
+
_this.resourceType = opts.resourceType;
|
|
298
|
+
_this.serviceCode = opts.serviceCode;
|
|
299
|
+
_this.quotaCode = opts.quotaCode;
|
|
300
|
+
return _this;
|
|
301
|
+
}
|
|
302
|
+
return ServiceQuotaExceededException;
|
|
303
|
+
}(__BaseException));
|
|
304
|
+
export { ServiceQuotaExceededException };
|
|
204
305
|
export var DeleteWorkspaceRequest;
|
|
205
306
|
(function (DeleteWorkspaceRequest) {
|
|
206
307
|
DeleteWorkspaceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|