@aws-sdk/client-detective 3.489.0 → 3.495.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/dist-cjs/Detective.js +1 -69
- package/dist-cjs/DetectiveClient.js +1 -43
- package/dist-cjs/commands/AcceptInvitationCommand.js +1 -28
- package/dist-cjs/commands/BatchGetGraphMemberDatasourcesCommand.js +1 -28
- package/dist-cjs/commands/BatchGetMembershipDatasourcesCommand.js +1 -28
- package/dist-cjs/commands/CreateGraphCommand.js +1 -28
- package/dist-cjs/commands/CreateMembersCommand.js +1 -29
- package/dist-cjs/commands/DeleteGraphCommand.js +1 -28
- package/dist-cjs/commands/DeleteMembersCommand.js +1 -28
- package/dist-cjs/commands/DescribeOrganizationConfigurationCommand.js +1 -28
- package/dist-cjs/commands/DisableOrganizationAdminAccountCommand.js +1 -28
- package/dist-cjs/commands/DisassociateMembershipCommand.js +1 -28
- package/dist-cjs/commands/EnableOrganizationAdminAccountCommand.js +1 -28
- package/dist-cjs/commands/GetInvestigationCommand.js +1 -28
- package/dist-cjs/commands/GetMembersCommand.js +1 -29
- package/dist-cjs/commands/ListDatasourcePackagesCommand.js +1 -28
- package/dist-cjs/commands/ListGraphsCommand.js +1 -28
- package/dist-cjs/commands/ListIndicatorsCommand.js +1 -28
- package/dist-cjs/commands/ListInvestigationsCommand.js +1 -28
- package/dist-cjs/commands/ListInvitationsCommand.js +1 -29
- package/dist-cjs/commands/ListMembersCommand.js +1 -29
- package/dist-cjs/commands/ListOrganizationAdminAccountsCommand.js +1 -28
- package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
- package/dist-cjs/commands/RejectInvitationCommand.js +1 -28
- package/dist-cjs/commands/StartInvestigationCommand.js +1 -28
- package/dist-cjs/commands/StartMonitoringMemberCommand.js +1 -28
- package/dist-cjs/commands/TagResourceCommand.js +1 -28
- package/dist-cjs/commands/UntagResourceCommand.js +1 -28
- package/dist-cjs/commands/UpdateDatasourcePackagesCommand.js +1 -28
- package/dist-cjs/commands/UpdateInvestigationStateCommand.js +1 -28
- package/dist-cjs/commands/UpdateOrganizationConfigurationCommand.js +1 -28
- package/dist-cjs/commands/index.js +1 -32
- package/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +3051 -11
- package/dist-cjs/models/DetectiveServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -4
- package/dist-cjs/models/models_0.js +1 -218
- package/dist-cjs/pagination/Interfaces.js +1 -2
- package/dist-cjs/pagination/ListDatasourcePackagesPaginator.js +1 -7
- package/dist-cjs/pagination/ListGraphsPaginator.js +1 -7
- package/dist-cjs/pagination/ListInvitationsPaginator.js +1 -7
- package/dist-cjs/pagination/ListMembersPaginator.js +1 -7
- package/dist-cjs/pagination/ListOrganizationAdminAccountsPaginator.js +1 -7
- package/dist-cjs/pagination/index.js +1 -9
- package/dist-cjs/protocols/Aws_restJson1.js +1 -2008
- package/dist-cjs/runtimeExtensions.js +1 -22
- package/package.json +40 -40
|
@@ -1,12 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DetectiveServiceException = exports.__ServiceException = void 0;
|
|
4
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
-
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
6
|
-
class DetectiveServiceException extends smithy_client_1.ServiceException {
|
|
7
|
-
constructor(options) {
|
|
8
|
-
super(options);
|
|
9
|
-
Object.setPrototypeOf(this, DetectiveServiceException.prototype);
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
exports.DetectiveServiceException = DetectiveServiceException;
|
|
1
|
+
module.exports = require("../index.js");
|
package/dist-cjs/models/index.js
CHANGED
|
@@ -1,218 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ListMembersResponseFilterSensitiveLog = exports.ListInvitationsResponseFilterSensitiveLog = exports.GetMembersResponseFilterSensitiveLog = exports.CreateMembersResponseFilterSensitiveLog = exports.MemberDetailFilterSensitiveLog = exports.CreateMembersRequestFilterSensitiveLog = exports.AccountFilterSensitiveLog = exports.SortOrder = exports.Field = exports.Reason = exports.IndicatorType = exports.Status = exports.State = exports.Severity = exports.EntityType = exports.TooManyRequestsException = exports.MemberStatus = exports.InvitationType = exports.MemberDisabledReason = exports.ServiceQuotaExceededException = exports.DatasourcePackageIngestState = exports.DatasourcePackage = exports.ValidationException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.AccessDeniedException = exports.ErrorCode = void 0;
|
|
4
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
-
const DetectiveServiceException_1 = require("./DetectiveServiceException");
|
|
6
|
-
exports.ErrorCode = {
|
|
7
|
-
InternalError: "INTERNAL_ERROR",
|
|
8
|
-
InvalidGraphArn: "INVALID_GRAPH_ARN",
|
|
9
|
-
InvalidRequestBody: "INVALID_REQUEST_BODY",
|
|
10
|
-
};
|
|
11
|
-
class AccessDeniedException extends DetectiveServiceException_1.DetectiveServiceException {
|
|
12
|
-
constructor(opts) {
|
|
13
|
-
super({
|
|
14
|
-
name: "AccessDeniedException",
|
|
15
|
-
$fault: "client",
|
|
16
|
-
...opts,
|
|
17
|
-
});
|
|
18
|
-
this.name = "AccessDeniedException";
|
|
19
|
-
this.$fault = "client";
|
|
20
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
21
|
-
this.Message = opts.Message;
|
|
22
|
-
this.ErrorCode = opts.ErrorCode;
|
|
23
|
-
this.ErrorCodeReason = opts.ErrorCodeReason;
|
|
24
|
-
this.SubErrorCode = opts.SubErrorCode;
|
|
25
|
-
this.SubErrorCodeReason = opts.SubErrorCodeReason;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
exports.AccessDeniedException = AccessDeniedException;
|
|
29
|
-
class ConflictException extends DetectiveServiceException_1.DetectiveServiceException {
|
|
30
|
-
constructor(opts) {
|
|
31
|
-
super({
|
|
32
|
-
name: "ConflictException",
|
|
33
|
-
$fault: "client",
|
|
34
|
-
...opts,
|
|
35
|
-
});
|
|
36
|
-
this.name = "ConflictException";
|
|
37
|
-
this.$fault = "client";
|
|
38
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
39
|
-
this.Message = opts.Message;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
exports.ConflictException = ConflictException;
|
|
43
|
-
class InternalServerException extends DetectiveServiceException_1.DetectiveServiceException {
|
|
44
|
-
constructor(opts) {
|
|
45
|
-
super({
|
|
46
|
-
name: "InternalServerException",
|
|
47
|
-
$fault: "server",
|
|
48
|
-
...opts,
|
|
49
|
-
});
|
|
50
|
-
this.name = "InternalServerException";
|
|
51
|
-
this.$fault = "server";
|
|
52
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
53
|
-
this.Message = opts.Message;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
exports.InternalServerException = InternalServerException;
|
|
57
|
-
class ResourceNotFoundException extends DetectiveServiceException_1.DetectiveServiceException {
|
|
58
|
-
constructor(opts) {
|
|
59
|
-
super({
|
|
60
|
-
name: "ResourceNotFoundException",
|
|
61
|
-
$fault: "client",
|
|
62
|
-
...opts,
|
|
63
|
-
});
|
|
64
|
-
this.name = "ResourceNotFoundException";
|
|
65
|
-
this.$fault = "client";
|
|
66
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
67
|
-
this.Message = opts.Message;
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
71
|
-
class ValidationException extends DetectiveServiceException_1.DetectiveServiceException {
|
|
72
|
-
constructor(opts) {
|
|
73
|
-
super({
|
|
74
|
-
name: "ValidationException",
|
|
75
|
-
$fault: "client",
|
|
76
|
-
...opts,
|
|
77
|
-
});
|
|
78
|
-
this.name = "ValidationException";
|
|
79
|
-
this.$fault = "client";
|
|
80
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
81
|
-
this.Message = opts.Message;
|
|
82
|
-
this.ErrorCode = opts.ErrorCode;
|
|
83
|
-
this.ErrorCodeReason = opts.ErrorCodeReason;
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
exports.ValidationException = ValidationException;
|
|
87
|
-
exports.DatasourcePackage = {
|
|
88
|
-
ASFF_SECURITYHUB_FINDING: "ASFF_SECURITYHUB_FINDING",
|
|
89
|
-
DETECTIVE_CORE: "DETECTIVE_CORE",
|
|
90
|
-
EKS_AUDIT: "EKS_AUDIT",
|
|
91
|
-
};
|
|
92
|
-
exports.DatasourcePackageIngestState = {
|
|
93
|
-
DISABLED: "DISABLED",
|
|
94
|
-
STARTED: "STARTED",
|
|
95
|
-
STOPPED: "STOPPED",
|
|
96
|
-
};
|
|
97
|
-
class ServiceQuotaExceededException extends DetectiveServiceException_1.DetectiveServiceException {
|
|
98
|
-
constructor(opts) {
|
|
99
|
-
super({
|
|
100
|
-
name: "ServiceQuotaExceededException",
|
|
101
|
-
$fault: "client",
|
|
102
|
-
...opts,
|
|
103
|
-
});
|
|
104
|
-
this.name = "ServiceQuotaExceededException";
|
|
105
|
-
this.$fault = "client";
|
|
106
|
-
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
107
|
-
this.Message = opts.Message;
|
|
108
|
-
this.Resources = opts.Resources;
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
112
|
-
exports.MemberDisabledReason = {
|
|
113
|
-
VOLUME_TOO_HIGH: "VOLUME_TOO_HIGH",
|
|
114
|
-
VOLUME_UNKNOWN: "VOLUME_UNKNOWN",
|
|
115
|
-
};
|
|
116
|
-
exports.InvitationType = {
|
|
117
|
-
INVITATION: "INVITATION",
|
|
118
|
-
ORGANIZATION: "ORGANIZATION",
|
|
119
|
-
};
|
|
120
|
-
exports.MemberStatus = {
|
|
121
|
-
ACCEPTED_BUT_DISABLED: "ACCEPTED_BUT_DISABLED",
|
|
122
|
-
ENABLED: "ENABLED",
|
|
123
|
-
INVITED: "INVITED",
|
|
124
|
-
VERIFICATION_FAILED: "VERIFICATION_FAILED",
|
|
125
|
-
VERIFICATION_IN_PROGRESS: "VERIFICATION_IN_PROGRESS",
|
|
126
|
-
};
|
|
127
|
-
class TooManyRequestsException extends DetectiveServiceException_1.DetectiveServiceException {
|
|
128
|
-
constructor(opts) {
|
|
129
|
-
super({
|
|
130
|
-
name: "TooManyRequestsException",
|
|
131
|
-
$fault: "client",
|
|
132
|
-
...opts,
|
|
133
|
-
});
|
|
134
|
-
this.name = "TooManyRequestsException";
|
|
135
|
-
this.$fault = "client";
|
|
136
|
-
Object.setPrototypeOf(this, TooManyRequestsException.prototype);
|
|
137
|
-
this.Message = opts.Message;
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
exports.TooManyRequestsException = TooManyRequestsException;
|
|
141
|
-
exports.EntityType = {
|
|
142
|
-
IAM_ROLE: "IAM_ROLE",
|
|
143
|
-
IAM_USER: "IAM_USER",
|
|
144
|
-
};
|
|
145
|
-
exports.Severity = {
|
|
146
|
-
CRITICAL: "CRITICAL",
|
|
147
|
-
HIGH: "HIGH",
|
|
148
|
-
INFORMATIONAL: "INFORMATIONAL",
|
|
149
|
-
LOW: "LOW",
|
|
150
|
-
MEDIUM: "MEDIUM",
|
|
151
|
-
};
|
|
152
|
-
exports.State = {
|
|
153
|
-
ACTIVE: "ACTIVE",
|
|
154
|
-
ARCHIVED: "ARCHIVED",
|
|
155
|
-
};
|
|
156
|
-
exports.Status = {
|
|
157
|
-
FAILED: "FAILED",
|
|
158
|
-
RUNNING: "RUNNING",
|
|
159
|
-
SUCCESSFUL: "SUCCESSFUL",
|
|
160
|
-
};
|
|
161
|
-
exports.IndicatorType = {
|
|
162
|
-
FLAGGED_IP_ADDRESS: "FLAGGED_IP_ADDRESS",
|
|
163
|
-
IMPOSSIBLE_TRAVEL: "IMPOSSIBLE_TRAVEL",
|
|
164
|
-
NEW_ASO: "NEW_ASO",
|
|
165
|
-
NEW_GEOLOCATION: "NEW_GEOLOCATION",
|
|
166
|
-
NEW_USER_AGENT: "NEW_USER_AGENT",
|
|
167
|
-
RELATED_FINDING: "RELATED_FINDING",
|
|
168
|
-
RELATED_FINDING_GROUP: "RELATED_FINDING_GROUP",
|
|
169
|
-
TTP_OBSERVED: "TTP_OBSERVED",
|
|
170
|
-
};
|
|
171
|
-
exports.Reason = {
|
|
172
|
-
AWS_THREAT_INTELLIGENCE: "AWS_THREAT_INTELLIGENCE",
|
|
173
|
-
};
|
|
174
|
-
exports.Field = {
|
|
175
|
-
CREATED_TIME: "CREATED_TIME",
|
|
176
|
-
SEVERITY: "SEVERITY",
|
|
177
|
-
STATUS: "STATUS",
|
|
178
|
-
};
|
|
179
|
-
exports.SortOrder = {
|
|
180
|
-
ASC: "ASC",
|
|
181
|
-
DESC: "DESC",
|
|
182
|
-
};
|
|
183
|
-
const AccountFilterSensitiveLog = (obj) => ({
|
|
184
|
-
...obj,
|
|
185
|
-
...(obj.EmailAddress && { EmailAddress: smithy_client_1.SENSITIVE_STRING }),
|
|
186
|
-
});
|
|
187
|
-
exports.AccountFilterSensitiveLog = AccountFilterSensitiveLog;
|
|
188
|
-
const CreateMembersRequestFilterSensitiveLog = (obj) => ({
|
|
189
|
-
...obj,
|
|
190
|
-
...(obj.Message && { Message: smithy_client_1.SENSITIVE_STRING }),
|
|
191
|
-
...(obj.Accounts && { Accounts: obj.Accounts.map((item) => (0, exports.AccountFilterSensitiveLog)(item)) }),
|
|
192
|
-
});
|
|
193
|
-
exports.CreateMembersRequestFilterSensitiveLog = CreateMembersRequestFilterSensitiveLog;
|
|
194
|
-
const MemberDetailFilterSensitiveLog = (obj) => ({
|
|
195
|
-
...obj,
|
|
196
|
-
...(obj.EmailAddress && { EmailAddress: smithy_client_1.SENSITIVE_STRING }),
|
|
197
|
-
});
|
|
198
|
-
exports.MemberDetailFilterSensitiveLog = MemberDetailFilterSensitiveLog;
|
|
199
|
-
const CreateMembersResponseFilterSensitiveLog = (obj) => ({
|
|
200
|
-
...obj,
|
|
201
|
-
...(obj.Members && { Members: obj.Members.map((item) => (0, exports.MemberDetailFilterSensitiveLog)(item)) }),
|
|
202
|
-
});
|
|
203
|
-
exports.CreateMembersResponseFilterSensitiveLog = CreateMembersResponseFilterSensitiveLog;
|
|
204
|
-
const GetMembersResponseFilterSensitiveLog = (obj) => ({
|
|
205
|
-
...obj,
|
|
206
|
-
...(obj.MemberDetails && { MemberDetails: obj.MemberDetails.map((item) => (0, exports.MemberDetailFilterSensitiveLog)(item)) }),
|
|
207
|
-
});
|
|
208
|
-
exports.GetMembersResponseFilterSensitiveLog = GetMembersResponseFilterSensitiveLog;
|
|
209
|
-
const ListInvitationsResponseFilterSensitiveLog = (obj) => ({
|
|
210
|
-
...obj,
|
|
211
|
-
...(obj.Invitations && { Invitations: obj.Invitations.map((item) => (0, exports.MemberDetailFilterSensitiveLog)(item)) }),
|
|
212
|
-
});
|
|
213
|
-
exports.ListInvitationsResponseFilterSensitiveLog = ListInvitationsResponseFilterSensitiveLog;
|
|
214
|
-
const ListMembersResponseFilterSensitiveLog = (obj) => ({
|
|
215
|
-
...obj,
|
|
216
|
-
...(obj.MemberDetails && { MemberDetails: obj.MemberDetails.map((item) => (0, exports.MemberDetailFilterSensitiveLog)(item)) }),
|
|
217
|
-
});
|
|
218
|
-
exports.ListMembersResponseFilterSensitiveLog = ListMembersResponseFilterSensitiveLog;
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateListDatasourcePackages = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const ListDatasourcePackagesCommand_1 = require("../commands/ListDatasourcePackagesCommand");
|
|
6
|
-
const DetectiveClient_1 = require("../DetectiveClient");
|
|
7
|
-
exports.paginateListDatasourcePackages = (0, core_1.createPaginator)(DetectiveClient_1.DetectiveClient, ListDatasourcePackagesCommand_1.ListDatasourcePackagesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateListGraphs = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const ListGraphsCommand_1 = require("../commands/ListGraphsCommand");
|
|
6
|
-
const DetectiveClient_1 = require("../DetectiveClient");
|
|
7
|
-
exports.paginateListGraphs = (0, core_1.createPaginator)(DetectiveClient_1.DetectiveClient, ListGraphsCommand_1.ListGraphsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateListInvitations = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const ListInvitationsCommand_1 = require("../commands/ListInvitationsCommand");
|
|
6
|
-
const DetectiveClient_1 = require("../DetectiveClient");
|
|
7
|
-
exports.paginateListInvitations = (0, core_1.createPaginator)(DetectiveClient_1.DetectiveClient, ListInvitationsCommand_1.ListInvitationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateListMembers = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const ListMembersCommand_1 = require("../commands/ListMembersCommand");
|
|
6
|
-
const DetectiveClient_1 = require("../DetectiveClient");
|
|
7
|
-
exports.paginateListMembers = (0, core_1.createPaginator)(DetectiveClient_1.DetectiveClient, ListMembersCommand_1.ListMembersCommand, "NextToken", "NextToken", "MaxResults");
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateListOrganizationAdminAccounts = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const ListOrganizationAdminAccountsCommand_1 = require("../commands/ListOrganizationAdminAccountsCommand");
|
|
6
|
-
const DetectiveClient_1 = require("../DetectiveClient");
|
|
7
|
-
exports.paginateListOrganizationAdminAccounts = (0, core_1.createPaginator)(DetectiveClient_1.DetectiveClient, ListOrganizationAdminAccountsCommand_1.ListOrganizationAdminAccountsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,9 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./Interfaces"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./ListDatasourcePackagesPaginator"), exports);
|
|
6
|
-
tslib_1.__exportStar(require("./ListGraphsPaginator"), exports);
|
|
7
|
-
tslib_1.__exportStar(require("./ListInvitationsPaginator"), exports);
|
|
8
|
-
tslib_1.__exportStar(require("./ListMembersPaginator"), exports);
|
|
9
|
-
tslib_1.__exportStar(require("./ListOrganizationAdminAccountsPaginator"), exports);
|
|
1
|
+
module.exports = require("../index.js");
|