@aws-sdk/client-detective 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/DetectiveServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +86 -1
- package/dist-cjs/protocols/Aws_restJson1.js +193 -637
- package/dist-es/index.js +1 -0
- package/dist-es/models/DetectiveServiceException.js +12 -0
- package/dist-es/models/models_0.js +80 -1
- package/dist-es/protocols/Aws_restJson1.js +407 -724
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/DetectiveServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +44 -19
- package/dist-types/ts3.4/Detective.d.ts +105 -0
- package/dist-types/ts3.4/DetectiveClient.d.ts +93 -0
- package/dist-types/ts3.4/commands/AcceptInvitationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateGraphCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateMembersCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteGraphCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteMembersCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeOrganizationConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisableOrganizationAdminAccountCommand.d.ts +16 -0
- package/dist-types/ts3.4/commands/DisassociateMembershipCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/EnableOrganizationAdminAccountCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetMembersCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListGraphsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListInvitationsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListMembersCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListOrganizationAdminAccountsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/RejectInvitationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartMonitoringMemberCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateOrganizationConfigurationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +20 -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/DetectiveServiceException.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 +438 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListGraphsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListInvitationsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListMembersPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListOrganizationAdminAccountsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +62 -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/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** generate service exceptions as classes ([#3267](https://github.com/aws/aws-sdk-js-v3/issues/3267)) ([ca64fee](https://github.com/aws/aws-sdk-js-v3/commit/ca64feed3351c394c07dc26b782a5760a396a074))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @aws-sdk/client-detective
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.51.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.50.0...v3.51.0) (2022-02-12)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @aws-sdk/client-detective
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.50.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.49.0...v3.50.0) (2022-02-08)
|
|
7
34
|
|
|
8
35
|
**Note:** Version bump only for package @aws-sdk/client-detective
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DetectiveServiceException = void 0;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
tslib_1.__exportStar(require("./Detective"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./DetectiveClient"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./commands"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./models"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./pagination"), exports);
|
|
10
|
+
var DetectiveServiceException_1 = require("./models/DetectiveServiceException");
|
|
11
|
+
Object.defineProperty(exports, "DetectiveServiceException", { enumerable: true, get: function () { return DetectiveServiceException_1.DetectiveServiceException; } });
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DetectiveServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
class DetectiveServiceException extends smithy_client_1.ServiceException {
|
|
6
|
+
constructor(options) {
|
|
7
|
+
super(options);
|
|
8
|
+
Object.setPrototypeOf(this, DetectiveServiceException.prototype);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.DetectiveServiceException = DetectiveServiceException;
|
|
@@ -1,12 +1,69 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UpdateOrganizationConfigurationRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.StartMonitoringMemberRequest = exports.RejectInvitationRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListOrganizationAdminAccountsResponse = exports.ListOrganizationAdminAccountsRequest = exports.ListMembersResponse = exports.ListMembersRequest = exports.ListInvitationsResponse = exports.ListInvitationsRequest = exports.ListGraphsResponse = exports.Graph = exports.ListGraphsRequest = exports.GetMembersResponse = exports.GetMembersRequest = exports.EnableOrganizationAdminAccountRequest = exports.DisassociateMembershipRequest = exports.DescribeOrganizationConfigurationResponse = exports.DescribeOrganizationConfigurationRequest = exports.DeleteMembersResponse = exports.DeleteMembersRequest = exports.DeleteGraphRequest = exports.CreateMembersResponse = exports.UnprocessedAccount = exports.MemberDetail = exports.MemberStatus = exports.InvitationType = exports.MemberDisabledReason = exports.CreateMembersRequest = exports.CreateGraphResponse = exports.CreateGraphRequest = exports.Administrator = exports.Account = exports.AcceptInvitationRequest = void 0;
|
|
3
|
+
exports.UpdateOrganizationConfigurationRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.StartMonitoringMemberRequest = exports.RejectInvitationRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListOrganizationAdminAccountsResponse = exports.ListOrganizationAdminAccountsRequest = exports.ListMembersResponse = exports.ListMembersRequest = exports.ListInvitationsResponse = exports.ListInvitationsRequest = exports.ListGraphsResponse = exports.Graph = exports.ListGraphsRequest = exports.GetMembersResponse = exports.GetMembersRequest = exports.EnableOrganizationAdminAccountRequest = exports.DisassociateMembershipRequest = exports.TooManyRequestsException = exports.DescribeOrganizationConfigurationResponse = exports.DescribeOrganizationConfigurationRequest = exports.DeleteMembersResponse = exports.DeleteMembersRequest = exports.DeleteGraphRequest = exports.CreateMembersResponse = exports.UnprocessedAccount = exports.MemberDetail = exports.MemberStatus = exports.InvitationType = exports.MemberDisabledReason = exports.CreateMembersRequest = exports.ServiceQuotaExceededException = exports.CreateGraphResponse = exports.CreateGraphRequest = exports.Administrator = exports.Account = exports.ValidationException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.AcceptInvitationRequest = void 0;
|
|
4
|
+
const DetectiveServiceException_1 = require("./DetectiveServiceException");
|
|
4
5
|
var AcceptInvitationRequest;
|
|
5
6
|
(function (AcceptInvitationRequest) {
|
|
6
7
|
AcceptInvitationRequest.filterSensitiveLog = (obj) => ({
|
|
7
8
|
...obj,
|
|
8
9
|
});
|
|
9
10
|
})(AcceptInvitationRequest = exports.AcceptInvitationRequest || (exports.AcceptInvitationRequest = {}));
|
|
11
|
+
class ConflictException extends DetectiveServiceException_1.DetectiveServiceException {
|
|
12
|
+
constructor(opts) {
|
|
13
|
+
super({
|
|
14
|
+
name: "ConflictException",
|
|
15
|
+
$fault: "client",
|
|
16
|
+
...opts,
|
|
17
|
+
});
|
|
18
|
+
this.name = "ConflictException";
|
|
19
|
+
this.$fault = "client";
|
|
20
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
21
|
+
this.Message = opts.Message;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
exports.ConflictException = ConflictException;
|
|
25
|
+
class InternalServerException extends DetectiveServiceException_1.DetectiveServiceException {
|
|
26
|
+
constructor(opts) {
|
|
27
|
+
super({
|
|
28
|
+
name: "InternalServerException",
|
|
29
|
+
$fault: "server",
|
|
30
|
+
...opts,
|
|
31
|
+
});
|
|
32
|
+
this.name = "InternalServerException";
|
|
33
|
+
this.$fault = "server";
|
|
34
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
35
|
+
this.Message = opts.Message;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
exports.InternalServerException = InternalServerException;
|
|
39
|
+
class ResourceNotFoundException extends DetectiveServiceException_1.DetectiveServiceException {
|
|
40
|
+
constructor(opts) {
|
|
41
|
+
super({
|
|
42
|
+
name: "ResourceNotFoundException",
|
|
43
|
+
$fault: "client",
|
|
44
|
+
...opts,
|
|
45
|
+
});
|
|
46
|
+
this.name = "ResourceNotFoundException";
|
|
47
|
+
this.$fault = "client";
|
|
48
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
49
|
+
this.Message = opts.Message;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
53
|
+
class ValidationException extends DetectiveServiceException_1.DetectiveServiceException {
|
|
54
|
+
constructor(opts) {
|
|
55
|
+
super({
|
|
56
|
+
name: "ValidationException",
|
|
57
|
+
$fault: "client",
|
|
58
|
+
...opts,
|
|
59
|
+
});
|
|
60
|
+
this.name = "ValidationException";
|
|
61
|
+
this.$fault = "client";
|
|
62
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
63
|
+
this.Message = opts.Message;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
exports.ValidationException = ValidationException;
|
|
10
67
|
var Account;
|
|
11
68
|
(function (Account) {
|
|
12
69
|
Account.filterSensitiveLog = (obj) => ({
|
|
@@ -31,6 +88,20 @@ var CreateGraphResponse;
|
|
|
31
88
|
...obj,
|
|
32
89
|
});
|
|
33
90
|
})(CreateGraphResponse = exports.CreateGraphResponse || (exports.CreateGraphResponse = {}));
|
|
91
|
+
class ServiceQuotaExceededException extends DetectiveServiceException_1.DetectiveServiceException {
|
|
92
|
+
constructor(opts) {
|
|
93
|
+
super({
|
|
94
|
+
name: "ServiceQuotaExceededException",
|
|
95
|
+
$fault: "client",
|
|
96
|
+
...opts,
|
|
97
|
+
});
|
|
98
|
+
this.name = "ServiceQuotaExceededException";
|
|
99
|
+
this.$fault = "client";
|
|
100
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
101
|
+
this.Message = opts.Message;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
34
105
|
var CreateMembersRequest;
|
|
35
106
|
(function (CreateMembersRequest) {
|
|
36
107
|
CreateMembersRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -103,6 +174,20 @@ var DescribeOrganizationConfigurationResponse;
|
|
|
103
174
|
...obj,
|
|
104
175
|
});
|
|
105
176
|
})(DescribeOrganizationConfigurationResponse = exports.DescribeOrganizationConfigurationResponse || (exports.DescribeOrganizationConfigurationResponse = {}));
|
|
177
|
+
class TooManyRequestsException extends DetectiveServiceException_1.DetectiveServiceException {
|
|
178
|
+
constructor(opts) {
|
|
179
|
+
super({
|
|
180
|
+
name: "TooManyRequestsException",
|
|
181
|
+
$fault: "client",
|
|
182
|
+
...opts,
|
|
183
|
+
});
|
|
184
|
+
this.name = "TooManyRequestsException";
|
|
185
|
+
this.$fault = "client";
|
|
186
|
+
Object.setPrototypeOf(this, TooManyRequestsException.prototype);
|
|
187
|
+
this.Message = opts.Message;
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
exports.TooManyRequestsException = TooManyRequestsException;
|
|
106
191
|
var DisassociateMembershipRequest;
|
|
107
192
|
(function (DisassociateMembershipRequest) {
|
|
108
193
|
DisassociateMembershipRequest.filterSensitiveLog = (obj) => ({
|