@aws-sdk/client-detective 3.131.0 → 3.142.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 +34 -0
- package/README.md +7 -5
- package/dist-cjs/Detective.js +60 -0
- package/dist-cjs/commands/AcceptInvitationCommand.js +1 -1
- package/dist-cjs/commands/BatchGetGraphMemberDatasourcesCommand.js +36 -0
- package/dist-cjs/commands/BatchGetMembershipDatasourcesCommand.js +36 -0
- package/dist-cjs/commands/CreateGraphCommand.js +2 -2
- package/dist-cjs/commands/CreateMembersCommand.js +2 -2
- package/dist-cjs/commands/DeleteGraphCommand.js +1 -1
- package/dist-cjs/commands/DeleteMembersCommand.js +2 -2
- package/dist-cjs/commands/DescribeOrganizationConfigurationCommand.js +2 -2
- package/dist-cjs/commands/DisassociateMembershipCommand.js +1 -1
- package/dist-cjs/commands/EnableOrganizationAdminAccountCommand.js +1 -1
- package/dist-cjs/commands/GetMembersCommand.js +2 -2
- package/dist-cjs/commands/ListDatasourcePackagesCommand.js +36 -0
- package/dist-cjs/commands/ListGraphsCommand.js +2 -2
- package/dist-cjs/commands/ListInvitationsCommand.js +2 -2
- package/dist-cjs/commands/ListMembersCommand.js +2 -2
- package/dist-cjs/commands/ListOrganizationAdminAccountsCommand.js +2 -2
- package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-cjs/commands/RejectInvitationCommand.js +1 -1
- package/dist-cjs/commands/StartMonitoringMemberCommand.js +1 -1
- package/dist-cjs/commands/TagResourceCommand.js +2 -2
- package/dist-cjs/commands/UntagResourceCommand.js +2 -2
- package/dist-cjs/commands/UpdateDatasourcePackagesCommand.js +36 -0
- package/dist-cjs/commands/UpdateOrganizationConfigurationCommand.js +1 -1
- package/dist-cjs/commands/index.js +4 -0
- package/dist-cjs/models/models_0.js +214 -217
- package/dist-cjs/pagination/ListDatasourcePackagesPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +618 -306
- package/dist-es/Detective.js +60 -0
- package/dist-es/commands/AcceptInvitationCommand.js +2 -2
- package/dist-es/commands/BatchGetGraphMemberDatasourcesCommand.js +39 -0
- package/dist-es/commands/BatchGetMembershipDatasourcesCommand.js +39 -0
- package/dist-es/commands/CreateGraphCommand.js +3 -3
- package/dist-es/commands/CreateMembersCommand.js +3 -3
- package/dist-es/commands/DeleteGraphCommand.js +2 -2
- package/dist-es/commands/DeleteMembersCommand.js +3 -3
- package/dist-es/commands/DescribeOrganizationConfigurationCommand.js +3 -3
- package/dist-es/commands/DisassociateMembershipCommand.js +2 -2
- package/dist-es/commands/EnableOrganizationAdminAccountCommand.js +2 -2
- package/dist-es/commands/GetMembersCommand.js +3 -3
- package/dist-es/commands/ListDatasourcePackagesCommand.js +39 -0
- package/dist-es/commands/ListGraphsCommand.js +3 -3
- package/dist-es/commands/ListInvitationsCommand.js +3 -3
- package/dist-es/commands/ListMembersCommand.js +3 -3
- package/dist-es/commands/ListOrganizationAdminAccountsCommand.js +3 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-es/commands/RejectInvitationCommand.js +2 -2
- package/dist-es/commands/StartMonitoringMemberCommand.js +2 -2
- package/dist-es/commands/TagResourceCommand.js +3 -3
- package/dist-es/commands/UntagResourceCommand.js +3 -3
- package/dist-es/commands/UpdateDatasourcePackagesCommand.js +39 -0
- package/dist-es/commands/UpdateOrganizationConfigurationCommand.js +2 -2
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/models_0.js +68 -144
- package/dist-es/pagination/ListDatasourcePackagesPaginator.js +75 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +779 -307
- package/dist-types/Detective.d.ts +47 -12
- package/dist-types/DetectiveClient.d.ts +12 -6
- package/dist-types/commands/BatchGetGraphMemberDatasourcesCommand.d.ts +35 -0
- package/dist-types/commands/BatchGetMembershipDatasourcesCommand.d.ts +35 -0
- package/dist-types/commands/DisableOrganizationAdminAccountCommand.d.ts +6 -5
- package/dist-types/commands/EnableOrganizationAdminAccountCommand.d.ts +7 -3
- package/dist-types/commands/ListDatasourcePackagesCommand.d.ts +35 -0
- package/dist-types/commands/UpdateDatasourcePackagesCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +376 -219
- package/dist-types/pagination/ListDatasourcePackagesPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +12 -0
- package/dist-types/ts3.4/Detective.d.ts +20 -0
- package/dist-types/ts3.4/DetectiveClient.d.ts +6 -2
- package/dist-types/ts3.4/commands/BatchGetGraphMemberDatasourcesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/BatchGetMembershipDatasourcesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListDatasourcePackagesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateDatasourcePackagesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +195 -142
- package/dist-types/ts3.4/pagination/ListDatasourcePackagesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +6 -6
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { UpdateOrganizationConfigurationRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1UpdateOrganizationConfigurationCommand, serializeAws_restJson1UpdateOrganizationConfigurationCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var UpdateOrganizationConfigurationCommand = (function (_super) {
|
|
7
7
|
__extends(UpdateOrganizationConfigurationCommand, _super);
|
|
@@ -20,7 +20,7 @@ var UpdateOrganizationConfigurationCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: UpdateOrganizationConfigurationRequestFilterSensitiveLog,
|
|
24
24
|
outputFilterSensitiveLog: function (output) { return output; },
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export * from "./AcceptInvitationCommand";
|
|
2
|
+
export * from "./BatchGetGraphMemberDatasourcesCommand";
|
|
3
|
+
export * from "./BatchGetMembershipDatasourcesCommand";
|
|
2
4
|
export * from "./CreateGraphCommand";
|
|
3
5
|
export * from "./CreateMembersCommand";
|
|
4
6
|
export * from "./DeleteGraphCommand";
|
|
@@ -8,6 +10,7 @@ export * from "./DisableOrganizationAdminAccountCommand";
|
|
|
8
10
|
export * from "./DisassociateMembershipCommand";
|
|
9
11
|
export * from "./EnableOrganizationAdminAccountCommand";
|
|
10
12
|
export * from "./GetMembersCommand";
|
|
13
|
+
export * from "./ListDatasourcePackagesCommand";
|
|
11
14
|
export * from "./ListGraphsCommand";
|
|
12
15
|
export * from "./ListInvitationsCommand";
|
|
13
16
|
export * from "./ListMembersCommand";
|
|
@@ -17,4 +20,5 @@ export * from "./RejectInvitationCommand";
|
|
|
17
20
|
export * from "./StartMonitoringMemberCommand";
|
|
18
21
|
export * from "./TagResourceCommand";
|
|
19
22
|
export * from "./UntagResourceCommand";
|
|
23
|
+
export * from "./UpdateDatasourcePackagesCommand";
|
|
20
24
|
export * from "./UpdateOrganizationConfigurationCommand";
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { __assign, __extends } from "tslib";
|
|
2
2
|
import { DetectiveServiceException as __BaseException } from "./DetectiveServiceException";
|
|
3
|
-
export var AcceptInvitationRequest;
|
|
4
|
-
(function (AcceptInvitationRequest) {
|
|
5
|
-
AcceptInvitationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
6
|
-
})(AcceptInvitationRequest || (AcceptInvitationRequest = {}));
|
|
7
3
|
var ConflictException = (function (_super) {
|
|
8
4
|
__extends(ConflictException, _super);
|
|
9
5
|
function ConflictException(opts) {
|
|
@@ -43,6 +39,12 @@ var ResourceNotFoundException = (function (_super) {
|
|
|
43
39
|
return ResourceNotFoundException;
|
|
44
40
|
}(__BaseException));
|
|
45
41
|
export { ResourceNotFoundException };
|
|
42
|
+
export var ErrorCode;
|
|
43
|
+
(function (ErrorCode) {
|
|
44
|
+
ErrorCode["InternalError"] = "INTERNAL_ERROR";
|
|
45
|
+
ErrorCode["InvalidGraphArn"] = "INVALID_GRAPH_ARN";
|
|
46
|
+
ErrorCode["InvalidRequestBody"] = "INVALID_REQUEST_BODY";
|
|
47
|
+
})(ErrorCode || (ErrorCode = {}));
|
|
46
48
|
var ValidationException = (function (_super) {
|
|
47
49
|
__extends(ValidationException, _super);
|
|
48
50
|
function ValidationException(opts) {
|
|
@@ -51,27 +53,24 @@ var ValidationException = (function (_super) {
|
|
|
51
53
|
_this.$fault = "client";
|
|
52
54
|
Object.setPrototypeOf(_this, ValidationException.prototype);
|
|
53
55
|
_this.Message = opts.Message;
|
|
56
|
+
_this.ErrorCode = opts.ErrorCode;
|
|
57
|
+
_this.ErrorCodeReason = opts.ErrorCodeReason;
|
|
54
58
|
return _this;
|
|
55
59
|
}
|
|
56
60
|
return ValidationException;
|
|
57
61
|
}(__BaseException));
|
|
58
62
|
export { ValidationException };
|
|
59
|
-
export var
|
|
60
|
-
(function (
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
})(CreateGraphRequest || (CreateGraphRequest = {}));
|
|
71
|
-
export var CreateGraphResponse;
|
|
72
|
-
(function (CreateGraphResponse) {
|
|
73
|
-
CreateGraphResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
74
|
-
})(CreateGraphResponse || (CreateGraphResponse = {}));
|
|
63
|
+
export var DatasourcePackage;
|
|
64
|
+
(function (DatasourcePackage) {
|
|
65
|
+
DatasourcePackage["DETECTIVE_CORE"] = "DETECTIVE_CORE";
|
|
66
|
+
DatasourcePackage["EKS_AUDIT"] = "EKS_AUDIT";
|
|
67
|
+
})(DatasourcePackage || (DatasourcePackage = {}));
|
|
68
|
+
export var DatasourcePackageIngestState;
|
|
69
|
+
(function (DatasourcePackageIngestState) {
|
|
70
|
+
DatasourcePackageIngestState["DISABLED"] = "DISABLED";
|
|
71
|
+
DatasourcePackageIngestState["STARTED"] = "STARTED";
|
|
72
|
+
DatasourcePackageIngestState["STOPPED"] = "STOPPED";
|
|
73
|
+
})(DatasourcePackageIngestState || (DatasourcePackageIngestState = {}));
|
|
75
74
|
var ServiceQuotaExceededException = (function (_super) {
|
|
76
75
|
__extends(ServiceQuotaExceededException, _super);
|
|
77
76
|
function ServiceQuotaExceededException(opts) {
|
|
@@ -80,15 +79,12 @@ var ServiceQuotaExceededException = (function (_super) {
|
|
|
80
79
|
_this.$fault = "client";
|
|
81
80
|
Object.setPrototypeOf(_this, ServiceQuotaExceededException.prototype);
|
|
82
81
|
_this.Message = opts.Message;
|
|
82
|
+
_this.Resources = opts.Resources;
|
|
83
83
|
return _this;
|
|
84
84
|
}
|
|
85
85
|
return ServiceQuotaExceededException;
|
|
86
86
|
}(__BaseException));
|
|
87
87
|
export { ServiceQuotaExceededException };
|
|
88
|
-
export var CreateMembersRequest;
|
|
89
|
-
(function (CreateMembersRequest) {
|
|
90
|
-
CreateMembersRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
91
|
-
})(CreateMembersRequest || (CreateMembersRequest = {}));
|
|
92
88
|
export var MemberDisabledReason;
|
|
93
89
|
(function (MemberDisabledReason) {
|
|
94
90
|
MemberDisabledReason["VOLUME_TOO_HIGH"] = "VOLUME_TOO_HIGH";
|
|
@@ -107,38 +103,6 @@ export var MemberStatus;
|
|
|
107
103
|
MemberStatus["VERIFICATION_FAILED"] = "VERIFICATION_FAILED";
|
|
108
104
|
MemberStatus["VERIFICATION_IN_PROGRESS"] = "VERIFICATION_IN_PROGRESS";
|
|
109
105
|
})(MemberStatus || (MemberStatus = {}));
|
|
110
|
-
export var MemberDetail;
|
|
111
|
-
(function (MemberDetail) {
|
|
112
|
-
MemberDetail.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
113
|
-
})(MemberDetail || (MemberDetail = {}));
|
|
114
|
-
export var UnprocessedAccount;
|
|
115
|
-
(function (UnprocessedAccount) {
|
|
116
|
-
UnprocessedAccount.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
117
|
-
})(UnprocessedAccount || (UnprocessedAccount = {}));
|
|
118
|
-
export var CreateMembersResponse;
|
|
119
|
-
(function (CreateMembersResponse) {
|
|
120
|
-
CreateMembersResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
121
|
-
})(CreateMembersResponse || (CreateMembersResponse = {}));
|
|
122
|
-
export var DeleteGraphRequest;
|
|
123
|
-
(function (DeleteGraphRequest) {
|
|
124
|
-
DeleteGraphRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
125
|
-
})(DeleteGraphRequest || (DeleteGraphRequest = {}));
|
|
126
|
-
export var DeleteMembersRequest;
|
|
127
|
-
(function (DeleteMembersRequest) {
|
|
128
|
-
DeleteMembersRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
129
|
-
})(DeleteMembersRequest || (DeleteMembersRequest = {}));
|
|
130
|
-
export var DeleteMembersResponse;
|
|
131
|
-
(function (DeleteMembersResponse) {
|
|
132
|
-
DeleteMembersResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
133
|
-
})(DeleteMembersResponse || (DeleteMembersResponse = {}));
|
|
134
|
-
export var DescribeOrganizationConfigurationRequest;
|
|
135
|
-
(function (DescribeOrganizationConfigurationRequest) {
|
|
136
|
-
DescribeOrganizationConfigurationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
137
|
-
})(DescribeOrganizationConfigurationRequest || (DescribeOrganizationConfigurationRequest = {}));
|
|
138
|
-
export var DescribeOrganizationConfigurationResponse;
|
|
139
|
-
(function (DescribeOrganizationConfigurationResponse) {
|
|
140
|
-
DescribeOrganizationConfigurationResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
141
|
-
})(DescribeOrganizationConfigurationResponse || (DescribeOrganizationConfigurationResponse = {}));
|
|
142
106
|
var TooManyRequestsException = (function (_super) {
|
|
143
107
|
__extends(TooManyRequestsException, _super);
|
|
144
108
|
function TooManyRequestsException(opts) {
|
|
@@ -152,91 +116,51 @@ var TooManyRequestsException = (function (_super) {
|
|
|
152
116
|
return TooManyRequestsException;
|
|
153
117
|
}(__BaseException));
|
|
154
118
|
export { TooManyRequestsException };
|
|
155
|
-
export var
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
export var
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
export var
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
export var
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
export var
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
export var
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
export var
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
export var
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
export var
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
export var
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
export var
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
export var
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
export var ListOrganizationAdminAccountsResponse;
|
|
204
|
-
(function (ListOrganizationAdminAccountsResponse) {
|
|
205
|
-
ListOrganizationAdminAccountsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
206
|
-
})(ListOrganizationAdminAccountsResponse || (ListOrganizationAdminAccountsResponse = {}));
|
|
207
|
-
export var ListTagsForResourceRequest;
|
|
208
|
-
(function (ListTagsForResourceRequest) {
|
|
209
|
-
ListTagsForResourceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
210
|
-
})(ListTagsForResourceRequest || (ListTagsForResourceRequest = {}));
|
|
211
|
-
export var ListTagsForResourceResponse;
|
|
212
|
-
(function (ListTagsForResourceResponse) {
|
|
213
|
-
ListTagsForResourceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
214
|
-
})(ListTagsForResourceResponse || (ListTagsForResourceResponse = {}));
|
|
215
|
-
export var RejectInvitationRequest;
|
|
216
|
-
(function (RejectInvitationRequest) {
|
|
217
|
-
RejectInvitationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
218
|
-
})(RejectInvitationRequest || (RejectInvitationRequest = {}));
|
|
219
|
-
export var StartMonitoringMemberRequest;
|
|
220
|
-
(function (StartMonitoringMemberRequest) {
|
|
221
|
-
StartMonitoringMemberRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
222
|
-
})(StartMonitoringMemberRequest || (StartMonitoringMemberRequest = {}));
|
|
223
|
-
export var TagResourceRequest;
|
|
224
|
-
(function (TagResourceRequest) {
|
|
225
|
-
TagResourceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
226
|
-
})(TagResourceRequest || (TagResourceRequest = {}));
|
|
227
|
-
export var TagResourceResponse;
|
|
228
|
-
(function (TagResourceResponse) {
|
|
229
|
-
TagResourceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
230
|
-
})(TagResourceResponse || (TagResourceResponse = {}));
|
|
231
|
-
export var UntagResourceRequest;
|
|
232
|
-
(function (UntagResourceRequest) {
|
|
233
|
-
UntagResourceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
234
|
-
})(UntagResourceRequest || (UntagResourceRequest = {}));
|
|
235
|
-
export var UntagResourceResponse;
|
|
236
|
-
(function (UntagResourceResponse) {
|
|
237
|
-
UntagResourceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
238
|
-
})(UntagResourceResponse || (UntagResourceResponse = {}));
|
|
239
|
-
export var UpdateOrganizationConfigurationRequest;
|
|
240
|
-
(function (UpdateOrganizationConfigurationRequest) {
|
|
241
|
-
UpdateOrganizationConfigurationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
242
|
-
})(UpdateOrganizationConfigurationRequest || (UpdateOrganizationConfigurationRequest = {}));
|
|
119
|
+
export var AcceptInvitationRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
120
|
+
export var AccountFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
121
|
+
export var AdministratorFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
122
|
+
export var BatchGetGraphMemberDatasourcesRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
123
|
+
export var TimestampForCollectionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
124
|
+
export var MembershipDatasourcesFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
125
|
+
export var UnprocessedAccountFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
126
|
+
export var BatchGetGraphMemberDatasourcesResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
127
|
+
export var BatchGetMembershipDatasourcesRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
128
|
+
export var UnprocessedGraphFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
129
|
+
export var BatchGetMembershipDatasourcesResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
130
|
+
export var CreateGraphRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
131
|
+
export var CreateGraphResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
132
|
+
export var CreateMembersRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
133
|
+
export var DatasourcePackageUsageInfoFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
134
|
+
export var MemberDetailFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
135
|
+
export var CreateMembersResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
136
|
+
export var DeleteGraphRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
137
|
+
export var DeleteMembersRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
138
|
+
export var DeleteMembersResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
139
|
+
export var DescribeOrganizationConfigurationRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
140
|
+
export var DescribeOrganizationConfigurationResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
141
|
+
export var DisassociateMembershipRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
142
|
+
export var EnableOrganizationAdminAccountRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
143
|
+
export var GetMembersRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
144
|
+
export var GetMembersResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
145
|
+
export var ListDatasourcePackagesRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
146
|
+
export var DatasourcePackageIngestDetailFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
147
|
+
export var ListDatasourcePackagesResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
148
|
+
export var ListGraphsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
149
|
+
export var GraphFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
150
|
+
export var ListGraphsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
151
|
+
export var ListInvitationsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
152
|
+
export var ListInvitationsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
153
|
+
export var ListMembersRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
154
|
+
export var ListMembersResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
155
|
+
export var ListOrganizationAdminAccountsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
156
|
+
export var ListOrganizationAdminAccountsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
157
|
+
export var ListTagsForResourceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
158
|
+
export var ListTagsForResourceResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
159
|
+
export var RejectInvitationRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
160
|
+
export var StartMonitoringMemberRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
161
|
+
export var TagResourceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
162
|
+
export var TagResourceResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
163
|
+
export var UntagResourceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
164
|
+
export var UntagResourceResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
165
|
+
export var UpdateDatasourcePackagesRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
166
|
+
export var UpdateOrganizationConfigurationRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { ListDatasourcePackagesCommand, } from "../commands/ListDatasourcePackagesCommand";
|
|
3
|
+
import { Detective } from "../Detective";
|
|
4
|
+
import { DetectiveClient } from "../DetectiveClient";
|
|
5
|
+
var makePagedClientRequest = function (client, input) {
|
|
6
|
+
var args = [];
|
|
7
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
8
|
+
args[_i - 2] = arguments[_i];
|
|
9
|
+
}
|
|
10
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
|
+
return __generator(this, function (_a) {
|
|
12
|
+
switch (_a.label) {
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListDatasourcePackagesCommand(input)], __read(args), false))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
};
|
|
19
|
+
var makePagedRequest = function (client, input) {
|
|
20
|
+
var args = [];
|
|
21
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
22
|
+
args[_i - 2] = arguments[_i];
|
|
23
|
+
}
|
|
24
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
|
+
return __generator(this, function (_a) {
|
|
26
|
+
switch (_a.label) {
|
|
27
|
+
case 0: return [4, client.listDatasourcePackages.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
export function paginateListDatasourcePackages(config, input) {
|
|
34
|
+
var additionalArguments = [];
|
|
35
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
36
|
+
additionalArguments[_i - 2] = arguments[_i];
|
|
37
|
+
}
|
|
38
|
+
return __asyncGenerator(this, arguments, function paginateListDatasourcePackages_1() {
|
|
39
|
+
var token, hasNext, page, prevToken;
|
|
40
|
+
return __generator(this, function (_a) {
|
|
41
|
+
switch (_a.label) {
|
|
42
|
+
case 0:
|
|
43
|
+
token = config.startingToken || undefined;
|
|
44
|
+
hasNext = true;
|
|
45
|
+
_a.label = 1;
|
|
46
|
+
case 1:
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
48
|
+
input.NextToken = token;
|
|
49
|
+
input["MaxResults"] = config.pageSize;
|
|
50
|
+
if (!(config.client instanceof Detective)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
|
+
case 2:
|
|
53
|
+
page = _a.sent();
|
|
54
|
+
return [3, 6];
|
|
55
|
+
case 3:
|
|
56
|
+
if (!(config.client instanceof DetectiveClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
|
+
case 4:
|
|
59
|
+
page = _a.sent();
|
|
60
|
+
return [3, 6];
|
|
61
|
+
case 5: throw new Error("Invalid client, expected Detective | DetectiveClient");
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
64
|
+
case 8:
|
|
65
|
+
_a.sent();
|
|
66
|
+
prevToken = token;
|
|
67
|
+
token = page.NextToken;
|
|
68
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
69
|
+
return [3, 1];
|
|
70
|
+
case 9: return [4, __await(undefined)];
|
|
71
|
+
case 10: return [2, _a.sent()];
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
});
|
|
75
|
+
}
|