@aws-sdk/client-security-ir 3.1068.0 → 3.1069.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/auth/httpAuthSchemeProvider.js +9 -15
- package/dist-cjs/endpoint/bdd.js +2 -5
- package/dist-cjs/endpoint/endpointResolver.js +7 -11
- package/dist-cjs/index.js +117 -137
- package/dist-cjs/models/SecurityIRServiceException.js +4 -8
- package/dist-cjs/models/errors.js +19 -31
- package/dist-cjs/runtimeConfig.browser.js +22 -26
- package/dist-cjs/runtimeConfig.js +30 -34
- package/dist-cjs/runtimeConfig.native.js +4 -7
- package/dist-cjs/runtimeConfig.shared.js +20 -24
- package/dist-cjs/schemas/schemas_0.js +209 -138
- package/package.json +8 -8
|
@@ -1,17 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.
|
|
4
|
-
const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
5
|
-
const client_1 = require("@smithy/core/client");
|
|
6
|
-
const defaultSecurityIRHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
1
|
+
const { resolveAwsSdkSigV4Config } = require("@aws-sdk/core/httpAuthSchemes");
|
|
2
|
+
const { getSmithyContext, normalizeProvider } = require("@smithy/core/client");
|
|
3
|
+
exports.defaultSecurityIRHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
7
4
|
return {
|
|
8
|
-
operation:
|
|
9
|
-
region: await
|
|
5
|
+
operation: getSmithyContext(context).operation,
|
|
6
|
+
region: await normalizeProvider(config.region)() || (() => {
|
|
10
7
|
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
11
8
|
})(),
|
|
12
9
|
};
|
|
13
10
|
};
|
|
14
|
-
exports.defaultSecurityIRHttpAuthSchemeParametersProvider = defaultSecurityIRHttpAuthSchemeParametersProvider;
|
|
15
11
|
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
16
12
|
return {
|
|
17
13
|
schemeId: "aws.auth#sigv4",
|
|
@@ -27,7 +23,7 @@ function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
|
27
23
|
}),
|
|
28
24
|
};
|
|
29
25
|
}
|
|
30
|
-
|
|
26
|
+
exports.defaultSecurityIRHttpAuthSchemeProvider = (authParameters) => {
|
|
31
27
|
const options = [];
|
|
32
28
|
switch (authParameters.operation) {
|
|
33
29
|
default: {
|
|
@@ -36,11 +32,9 @@ const defaultSecurityIRHttpAuthSchemeProvider = (authParameters) => {
|
|
|
36
32
|
}
|
|
37
33
|
return options;
|
|
38
34
|
};
|
|
39
|
-
exports.
|
|
40
|
-
const
|
|
41
|
-
const config_0 = (0, httpAuthSchemes_1.resolveAwsSdkSigV4Config)(config);
|
|
35
|
+
exports.resolveHttpAuthSchemeConfig = (config) => {
|
|
36
|
+
const config_0 = resolveAwsSdkSigV4Config(config);
|
|
42
37
|
return Object.assign(config_0, {
|
|
43
|
-
authSchemePreference:
|
|
38
|
+
authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
|
|
44
39
|
});
|
|
45
40
|
};
|
|
46
|
-
exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
|
package/dist-cjs/endpoint/bdd.js
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.bdd = void 0;
|
|
4
|
-
const endpoints_1 = require("@smithy/core/endpoints");
|
|
1
|
+
const { BinaryDecisionDiagram } = require("@smithy/core/endpoints");
|
|
5
2
|
const a = "isSet", b = { "ref": "Endpoint" }, c = [{ "ref": "Region" }];
|
|
6
3
|
const _data = {
|
|
7
4
|
conditions: [
|
|
@@ -29,4 +26,4 @@ const nodes = new Int32Array([
|
|
|
29
26
|
3, r + 3, r + 4,
|
|
30
27
|
3, r + 1, r + 2,
|
|
31
28
|
]);
|
|
32
|
-
exports.bdd =
|
|
29
|
+
exports.bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
@@ -1,18 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const
|
|
5
|
-
const endpoints_1 = require("@smithy/core/endpoints");
|
|
6
|
-
const bdd_1 = require("./bdd");
|
|
7
|
-
const cache = new endpoints_1.EndpointCache({
|
|
1
|
+
const { awsEndpointFunctions } = require("@aws-sdk/core/client");
|
|
2
|
+
const { customEndpointFunctions, decideEndpoint, EndpointCache } = require("@smithy/core/endpoints");
|
|
3
|
+
const { bdd } = require("./bdd");
|
|
4
|
+
const cache = new EndpointCache({
|
|
8
5
|
size: 50,
|
|
9
6
|
params: ["Endpoint", "Region", "UseFIPS"],
|
|
10
7
|
});
|
|
11
|
-
|
|
12
|
-
return cache.get(endpointParams, () =>
|
|
8
|
+
exports.defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
9
|
+
return cache.get(endpointParams, () => decideEndpoint(bdd, {
|
|
13
10
|
endpointParams: endpointParams,
|
|
14
11
|
logger: context.logger,
|
|
15
12
|
}));
|
|
16
13
|
};
|
|
17
|
-
|
|
18
|
-
endpoints_1.customEndpointFunctions.aws = client_1.awsEndpointFunctions;
|
|
14
|
+
customEndpointFunctions.aws = awsEndpointFunctions;
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,18 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
var __exportStar = (m, e) => { Object.assign(e, m); };
|
|
2
|
+
const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
3
|
+
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
4
|
+
const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
|
|
5
|
+
exports.$Command = Command;
|
|
6
|
+
exports.__Client = Client;
|
|
7
|
+
const { resolveRegionConfig } = require("@smithy/core/config");
|
|
8
|
+
const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
9
|
+
const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
|
|
10
|
+
const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
|
|
11
|
+
const { getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
12
|
+
const { resolveHttpAuthSchemeConfig, defaultSecurityIRHttpAuthSchemeParametersProvider } = require("./auth/httpAuthSchemeProvider");
|
|
13
|
+
const { getRuntimeConfig } = require("./runtimeConfig");
|
|
14
|
+
const { BatchGetMemberAccountDetails$, CancelMembership$, CloseCase$, CreateCase$, CreateCaseComment$, CreateMembership$, GetCaseAttachmentDownloadUrl$, GetCaseAttachmentUploadUrl$, GetCase$, GetMembership$, ListCaseEdits$, ListCases$, ListComments$, ListInvestigations$, ListMemberships$, ListTagsForResource$, SendFeedback$, TagResource$, UntagResource$, UpdateCase$, UpdateCaseComment$, UpdateCaseStatus$, UpdateMembership$, UpdateResolverType$ } = require("./schemas/schemas_0");
|
|
15
|
+
__exportStar(require("./schemas/schemas_0"), exports);
|
|
16
|
+
__exportStar(require("./models/errors"), exports);
|
|
17
|
+
const { SecurityIRServiceException } = require("./models/SecurityIRServiceException");
|
|
18
|
+
exports.SecurityIRServiceException = SecurityIRServiceException;
|
|
16
19
|
|
|
17
20
|
const resolveClientEndpointParameters = (options) => {
|
|
18
21
|
return Object.assign(options, {
|
|
@@ -66,343 +69,343 @@ const resolveHttpAuthRuntimeConfig = (config) => {
|
|
|
66
69
|
};
|
|
67
70
|
|
|
68
71
|
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
69
|
-
const extensionConfiguration = Object.assign(
|
|
72
|
+
const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
70
73
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
71
|
-
return Object.assign(runtimeConfig,
|
|
74
|
+
return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
72
75
|
};
|
|
73
76
|
|
|
74
|
-
class SecurityIRClient extends
|
|
77
|
+
class SecurityIRClient extends Client {
|
|
75
78
|
config;
|
|
76
79
|
constructor(...[configuration]) {
|
|
77
|
-
const _config_0 =
|
|
80
|
+
const _config_0 = getRuntimeConfig(configuration || {});
|
|
78
81
|
super(_config_0);
|
|
79
82
|
this.initConfig = _config_0;
|
|
80
83
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
81
|
-
const _config_2 =
|
|
82
|
-
const _config_3 =
|
|
83
|
-
const _config_4 =
|
|
84
|
-
const _config_5 =
|
|
85
|
-
const _config_6 =
|
|
86
|
-
const _config_7 =
|
|
84
|
+
const _config_2 = resolveUserAgentConfig(_config_1);
|
|
85
|
+
const _config_3 = resolveRetryConfig(_config_2);
|
|
86
|
+
const _config_4 = resolveRegionConfig(_config_3);
|
|
87
|
+
const _config_5 = resolveHostHeaderConfig(_config_4);
|
|
88
|
+
const _config_6 = resolveEndpointConfig(_config_5);
|
|
89
|
+
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
|
87
90
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
88
91
|
this.config = _config_8;
|
|
89
|
-
this.middlewareStack.use(
|
|
90
|
-
this.middlewareStack.use(
|
|
91
|
-
this.middlewareStack.use(
|
|
92
|
-
this.middlewareStack.use(
|
|
93
|
-
this.middlewareStack.use(
|
|
94
|
-
this.middlewareStack.use(
|
|
95
|
-
this.middlewareStack.use(
|
|
96
|
-
this.middlewareStack.use(
|
|
97
|
-
httpAuthSchemeParametersProvider:
|
|
98
|
-
identityProviderConfigProvider: async (config) => new
|
|
92
|
+
this.middlewareStack.use(getSchemaSerdePlugin(this.config));
|
|
93
|
+
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
94
|
+
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
95
|
+
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
96
|
+
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
97
|
+
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
98
|
+
this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
|
|
99
|
+
this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
100
|
+
httpAuthSchemeParametersProvider: defaultSecurityIRHttpAuthSchemeParametersProvider,
|
|
101
|
+
identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({
|
|
99
102
|
"aws.auth#sigv4": config.credentials,
|
|
100
103
|
}),
|
|
101
104
|
}));
|
|
102
|
-
this.middlewareStack.use(
|
|
105
|
+
this.middlewareStack.use(getHttpSigningPlugin(this.config));
|
|
103
106
|
}
|
|
104
107
|
destroy() {
|
|
105
108
|
super.destroy();
|
|
106
109
|
}
|
|
107
110
|
}
|
|
108
111
|
|
|
109
|
-
class BatchGetMemberAccountDetailsCommand extends
|
|
112
|
+
class BatchGetMemberAccountDetailsCommand extends Command
|
|
110
113
|
.classBuilder()
|
|
111
114
|
.ep(commonParams)
|
|
112
115
|
.m(function (Command, cs, config, o) {
|
|
113
|
-
return [
|
|
116
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
114
117
|
})
|
|
115
118
|
.s("SecurityIncidentResponse", "BatchGetMemberAccountDetails", {})
|
|
116
119
|
.n("SecurityIRClient", "BatchGetMemberAccountDetailsCommand")
|
|
117
|
-
.sc(
|
|
120
|
+
.sc(BatchGetMemberAccountDetails$)
|
|
118
121
|
.build() {
|
|
119
122
|
}
|
|
120
123
|
|
|
121
|
-
class CancelMembershipCommand extends
|
|
124
|
+
class CancelMembershipCommand extends Command
|
|
122
125
|
.classBuilder()
|
|
123
126
|
.ep(commonParams)
|
|
124
127
|
.m(function (Command, cs, config, o) {
|
|
125
|
-
return [
|
|
128
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
126
129
|
})
|
|
127
130
|
.s("SecurityIncidentResponse", "CancelMembership", {})
|
|
128
131
|
.n("SecurityIRClient", "CancelMembershipCommand")
|
|
129
|
-
.sc(
|
|
132
|
+
.sc(CancelMembership$)
|
|
130
133
|
.build() {
|
|
131
134
|
}
|
|
132
135
|
|
|
133
|
-
class CloseCaseCommand extends
|
|
136
|
+
class CloseCaseCommand extends Command
|
|
134
137
|
.classBuilder()
|
|
135
138
|
.ep(commonParams)
|
|
136
139
|
.m(function (Command, cs, config, o) {
|
|
137
|
-
return [
|
|
140
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
138
141
|
})
|
|
139
142
|
.s("SecurityIncidentResponse", "CloseCase", {})
|
|
140
143
|
.n("SecurityIRClient", "CloseCaseCommand")
|
|
141
|
-
.sc(
|
|
144
|
+
.sc(CloseCase$)
|
|
142
145
|
.build() {
|
|
143
146
|
}
|
|
144
147
|
|
|
145
|
-
class CreateCaseCommand extends
|
|
148
|
+
class CreateCaseCommand extends Command
|
|
146
149
|
.classBuilder()
|
|
147
150
|
.ep(commonParams)
|
|
148
151
|
.m(function (Command, cs, config, o) {
|
|
149
|
-
return [
|
|
152
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
150
153
|
})
|
|
151
154
|
.s("SecurityIncidentResponse", "CreateCase", {})
|
|
152
155
|
.n("SecurityIRClient", "CreateCaseCommand")
|
|
153
|
-
.sc(
|
|
156
|
+
.sc(CreateCase$)
|
|
154
157
|
.build() {
|
|
155
158
|
}
|
|
156
159
|
|
|
157
|
-
class CreateCaseCommentCommand extends
|
|
160
|
+
class CreateCaseCommentCommand extends Command
|
|
158
161
|
.classBuilder()
|
|
159
162
|
.ep(commonParams)
|
|
160
163
|
.m(function (Command, cs, config, o) {
|
|
161
|
-
return [
|
|
164
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
162
165
|
})
|
|
163
166
|
.s("SecurityIncidentResponse", "CreateCaseComment", {})
|
|
164
167
|
.n("SecurityIRClient", "CreateCaseCommentCommand")
|
|
165
|
-
.sc(
|
|
168
|
+
.sc(CreateCaseComment$)
|
|
166
169
|
.build() {
|
|
167
170
|
}
|
|
168
171
|
|
|
169
|
-
class CreateMembershipCommand extends
|
|
172
|
+
class CreateMembershipCommand extends Command
|
|
170
173
|
.classBuilder()
|
|
171
174
|
.ep(commonParams)
|
|
172
175
|
.m(function (Command, cs, config, o) {
|
|
173
|
-
return [
|
|
176
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
174
177
|
})
|
|
175
178
|
.s("SecurityIncidentResponse", "CreateMembership", {})
|
|
176
179
|
.n("SecurityIRClient", "CreateMembershipCommand")
|
|
177
|
-
.sc(
|
|
180
|
+
.sc(CreateMembership$)
|
|
178
181
|
.build() {
|
|
179
182
|
}
|
|
180
183
|
|
|
181
|
-
class GetCaseAttachmentDownloadUrlCommand extends
|
|
184
|
+
class GetCaseAttachmentDownloadUrlCommand extends Command
|
|
182
185
|
.classBuilder()
|
|
183
186
|
.ep(commonParams)
|
|
184
187
|
.m(function (Command, cs, config, o) {
|
|
185
|
-
return [
|
|
188
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
186
189
|
})
|
|
187
190
|
.s("SecurityIncidentResponse", "GetCaseAttachmentDownloadUrl", {})
|
|
188
191
|
.n("SecurityIRClient", "GetCaseAttachmentDownloadUrlCommand")
|
|
189
|
-
.sc(
|
|
192
|
+
.sc(GetCaseAttachmentDownloadUrl$)
|
|
190
193
|
.build() {
|
|
191
194
|
}
|
|
192
195
|
|
|
193
|
-
class GetCaseAttachmentUploadUrlCommand extends
|
|
196
|
+
class GetCaseAttachmentUploadUrlCommand extends Command
|
|
194
197
|
.classBuilder()
|
|
195
198
|
.ep(commonParams)
|
|
196
199
|
.m(function (Command, cs, config, o) {
|
|
197
|
-
return [
|
|
200
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
198
201
|
})
|
|
199
202
|
.s("SecurityIncidentResponse", "GetCaseAttachmentUploadUrl", {})
|
|
200
203
|
.n("SecurityIRClient", "GetCaseAttachmentUploadUrlCommand")
|
|
201
|
-
.sc(
|
|
204
|
+
.sc(GetCaseAttachmentUploadUrl$)
|
|
202
205
|
.build() {
|
|
203
206
|
}
|
|
204
207
|
|
|
205
|
-
class GetCaseCommand extends
|
|
208
|
+
class GetCaseCommand extends Command
|
|
206
209
|
.classBuilder()
|
|
207
210
|
.ep(commonParams)
|
|
208
211
|
.m(function (Command, cs, config, o) {
|
|
209
|
-
return [
|
|
212
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
210
213
|
})
|
|
211
214
|
.s("SecurityIncidentResponse", "GetCase", {})
|
|
212
215
|
.n("SecurityIRClient", "GetCaseCommand")
|
|
213
|
-
.sc(
|
|
216
|
+
.sc(GetCase$)
|
|
214
217
|
.build() {
|
|
215
218
|
}
|
|
216
219
|
|
|
217
|
-
class GetMembershipCommand extends
|
|
220
|
+
class GetMembershipCommand extends Command
|
|
218
221
|
.classBuilder()
|
|
219
222
|
.ep(commonParams)
|
|
220
223
|
.m(function (Command, cs, config, o) {
|
|
221
|
-
return [
|
|
224
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
222
225
|
})
|
|
223
226
|
.s("SecurityIncidentResponse", "GetMembership", {})
|
|
224
227
|
.n("SecurityIRClient", "GetMembershipCommand")
|
|
225
|
-
.sc(
|
|
228
|
+
.sc(GetMembership$)
|
|
226
229
|
.build() {
|
|
227
230
|
}
|
|
228
231
|
|
|
229
|
-
class ListCaseEditsCommand extends
|
|
232
|
+
class ListCaseEditsCommand extends Command
|
|
230
233
|
.classBuilder()
|
|
231
234
|
.ep(commonParams)
|
|
232
235
|
.m(function (Command, cs, config, o) {
|
|
233
|
-
return [
|
|
236
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
234
237
|
})
|
|
235
238
|
.s("SecurityIncidentResponse", "ListCaseEdits", {})
|
|
236
239
|
.n("SecurityIRClient", "ListCaseEditsCommand")
|
|
237
|
-
.sc(
|
|
240
|
+
.sc(ListCaseEdits$)
|
|
238
241
|
.build() {
|
|
239
242
|
}
|
|
240
243
|
|
|
241
|
-
class ListCasesCommand extends
|
|
244
|
+
class ListCasesCommand extends Command
|
|
242
245
|
.classBuilder()
|
|
243
246
|
.ep(commonParams)
|
|
244
247
|
.m(function (Command, cs, config, o) {
|
|
245
|
-
return [
|
|
248
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
246
249
|
})
|
|
247
250
|
.s("SecurityIncidentResponse", "ListCases", {})
|
|
248
251
|
.n("SecurityIRClient", "ListCasesCommand")
|
|
249
|
-
.sc(
|
|
252
|
+
.sc(ListCases$)
|
|
250
253
|
.build() {
|
|
251
254
|
}
|
|
252
255
|
|
|
253
|
-
class ListCommentsCommand extends
|
|
256
|
+
class ListCommentsCommand extends Command
|
|
254
257
|
.classBuilder()
|
|
255
258
|
.ep(commonParams)
|
|
256
259
|
.m(function (Command, cs, config, o) {
|
|
257
|
-
return [
|
|
260
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
258
261
|
})
|
|
259
262
|
.s("SecurityIncidentResponse", "ListComments", {})
|
|
260
263
|
.n("SecurityIRClient", "ListCommentsCommand")
|
|
261
|
-
.sc(
|
|
264
|
+
.sc(ListComments$)
|
|
262
265
|
.build() {
|
|
263
266
|
}
|
|
264
267
|
|
|
265
|
-
class ListInvestigationsCommand extends
|
|
268
|
+
class ListInvestigationsCommand extends Command
|
|
266
269
|
.classBuilder()
|
|
267
270
|
.ep(commonParams)
|
|
268
271
|
.m(function (Command, cs, config, o) {
|
|
269
|
-
return [
|
|
272
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
270
273
|
})
|
|
271
274
|
.s("SecurityIncidentResponse", "ListInvestigations", {})
|
|
272
275
|
.n("SecurityIRClient", "ListInvestigationsCommand")
|
|
273
|
-
.sc(
|
|
276
|
+
.sc(ListInvestigations$)
|
|
274
277
|
.build() {
|
|
275
278
|
}
|
|
276
279
|
|
|
277
|
-
class ListMembershipsCommand extends
|
|
280
|
+
class ListMembershipsCommand extends Command
|
|
278
281
|
.classBuilder()
|
|
279
282
|
.ep(commonParams)
|
|
280
283
|
.m(function (Command, cs, config, o) {
|
|
281
|
-
return [
|
|
284
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
282
285
|
})
|
|
283
286
|
.s("SecurityIncidentResponse", "ListMemberships", {})
|
|
284
287
|
.n("SecurityIRClient", "ListMembershipsCommand")
|
|
285
|
-
.sc(
|
|
288
|
+
.sc(ListMemberships$)
|
|
286
289
|
.build() {
|
|
287
290
|
}
|
|
288
291
|
|
|
289
|
-
class ListTagsForResourceCommand extends
|
|
292
|
+
class ListTagsForResourceCommand extends Command
|
|
290
293
|
.classBuilder()
|
|
291
294
|
.ep(commonParams)
|
|
292
295
|
.m(function (Command, cs, config, o) {
|
|
293
|
-
return [
|
|
296
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
294
297
|
})
|
|
295
298
|
.s("SecurityIncidentResponse", "ListTagsForResource", {})
|
|
296
299
|
.n("SecurityIRClient", "ListTagsForResourceCommand")
|
|
297
|
-
.sc(
|
|
300
|
+
.sc(ListTagsForResource$)
|
|
298
301
|
.build() {
|
|
299
302
|
}
|
|
300
303
|
|
|
301
|
-
class SendFeedbackCommand extends
|
|
304
|
+
class SendFeedbackCommand extends Command
|
|
302
305
|
.classBuilder()
|
|
303
306
|
.ep(commonParams)
|
|
304
307
|
.m(function (Command, cs, config, o) {
|
|
305
|
-
return [
|
|
308
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
306
309
|
})
|
|
307
310
|
.s("SecurityIncidentResponse", "SendFeedback", {})
|
|
308
311
|
.n("SecurityIRClient", "SendFeedbackCommand")
|
|
309
|
-
.sc(
|
|
312
|
+
.sc(SendFeedback$)
|
|
310
313
|
.build() {
|
|
311
314
|
}
|
|
312
315
|
|
|
313
|
-
class TagResourceCommand extends
|
|
316
|
+
class TagResourceCommand extends Command
|
|
314
317
|
.classBuilder()
|
|
315
318
|
.ep(commonParams)
|
|
316
319
|
.m(function (Command, cs, config, o) {
|
|
317
|
-
return [
|
|
320
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
318
321
|
})
|
|
319
322
|
.s("SecurityIncidentResponse", "TagResource", {})
|
|
320
323
|
.n("SecurityIRClient", "TagResourceCommand")
|
|
321
|
-
.sc(
|
|
324
|
+
.sc(TagResource$)
|
|
322
325
|
.build() {
|
|
323
326
|
}
|
|
324
327
|
|
|
325
|
-
class UntagResourceCommand extends
|
|
328
|
+
class UntagResourceCommand extends Command
|
|
326
329
|
.classBuilder()
|
|
327
330
|
.ep(commonParams)
|
|
328
331
|
.m(function (Command, cs, config, o) {
|
|
329
|
-
return [
|
|
332
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
330
333
|
})
|
|
331
334
|
.s("SecurityIncidentResponse", "UntagResource", {})
|
|
332
335
|
.n("SecurityIRClient", "UntagResourceCommand")
|
|
333
|
-
.sc(
|
|
336
|
+
.sc(UntagResource$)
|
|
334
337
|
.build() {
|
|
335
338
|
}
|
|
336
339
|
|
|
337
|
-
class UpdateCaseCommand extends
|
|
340
|
+
class UpdateCaseCommand extends Command
|
|
338
341
|
.classBuilder()
|
|
339
342
|
.ep(commonParams)
|
|
340
343
|
.m(function (Command, cs, config, o) {
|
|
341
|
-
return [
|
|
344
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
342
345
|
})
|
|
343
346
|
.s("SecurityIncidentResponse", "UpdateCase", {})
|
|
344
347
|
.n("SecurityIRClient", "UpdateCaseCommand")
|
|
345
|
-
.sc(
|
|
348
|
+
.sc(UpdateCase$)
|
|
346
349
|
.build() {
|
|
347
350
|
}
|
|
348
351
|
|
|
349
|
-
class UpdateCaseCommentCommand extends
|
|
352
|
+
class UpdateCaseCommentCommand extends Command
|
|
350
353
|
.classBuilder()
|
|
351
354
|
.ep(commonParams)
|
|
352
355
|
.m(function (Command, cs, config, o) {
|
|
353
|
-
return [
|
|
356
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
354
357
|
})
|
|
355
358
|
.s("SecurityIncidentResponse", "UpdateCaseComment", {})
|
|
356
359
|
.n("SecurityIRClient", "UpdateCaseCommentCommand")
|
|
357
|
-
.sc(
|
|
360
|
+
.sc(UpdateCaseComment$)
|
|
358
361
|
.build() {
|
|
359
362
|
}
|
|
360
363
|
|
|
361
|
-
class UpdateCaseStatusCommand extends
|
|
364
|
+
class UpdateCaseStatusCommand extends Command
|
|
362
365
|
.classBuilder()
|
|
363
366
|
.ep(commonParams)
|
|
364
367
|
.m(function (Command, cs, config, o) {
|
|
365
|
-
return [
|
|
368
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
366
369
|
})
|
|
367
370
|
.s("SecurityIncidentResponse", "UpdateCaseStatus", {})
|
|
368
371
|
.n("SecurityIRClient", "UpdateCaseStatusCommand")
|
|
369
|
-
.sc(
|
|
372
|
+
.sc(UpdateCaseStatus$)
|
|
370
373
|
.build() {
|
|
371
374
|
}
|
|
372
375
|
|
|
373
|
-
class UpdateMembershipCommand extends
|
|
376
|
+
class UpdateMembershipCommand extends Command
|
|
374
377
|
.classBuilder()
|
|
375
378
|
.ep(commonParams)
|
|
376
379
|
.m(function (Command, cs, config, o) {
|
|
377
|
-
return [
|
|
380
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
378
381
|
})
|
|
379
382
|
.s("SecurityIncidentResponse", "UpdateMembership", {})
|
|
380
383
|
.n("SecurityIRClient", "UpdateMembershipCommand")
|
|
381
|
-
.sc(
|
|
384
|
+
.sc(UpdateMembership$)
|
|
382
385
|
.build() {
|
|
383
386
|
}
|
|
384
387
|
|
|
385
|
-
class UpdateResolverTypeCommand extends
|
|
388
|
+
class UpdateResolverTypeCommand extends Command
|
|
386
389
|
.classBuilder()
|
|
387
390
|
.ep(commonParams)
|
|
388
391
|
.m(function (Command, cs, config, o) {
|
|
389
|
-
return [
|
|
392
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
390
393
|
})
|
|
391
394
|
.s("SecurityIncidentResponse", "UpdateResolverType", {})
|
|
392
395
|
.n("SecurityIRClient", "UpdateResolverTypeCommand")
|
|
393
|
-
.sc(
|
|
396
|
+
.sc(UpdateResolverType$)
|
|
394
397
|
.build() {
|
|
395
398
|
}
|
|
396
399
|
|
|
397
|
-
const paginateListCaseEdits =
|
|
400
|
+
const paginateListCaseEdits = createPaginator(SecurityIRClient, ListCaseEditsCommand, "nextToken", "nextToken", "maxResults");
|
|
398
401
|
|
|
399
|
-
const paginateListCases =
|
|
402
|
+
const paginateListCases = createPaginator(SecurityIRClient, ListCasesCommand, "nextToken", "nextToken", "maxResults");
|
|
400
403
|
|
|
401
|
-
const paginateListComments =
|
|
404
|
+
const paginateListComments = createPaginator(SecurityIRClient, ListCommentsCommand, "nextToken", "nextToken", "maxResults");
|
|
402
405
|
|
|
403
|
-
const paginateListInvestigations =
|
|
406
|
+
const paginateListInvestigations = createPaginator(SecurityIRClient, ListInvestigationsCommand, "nextToken", "nextToken", "maxResults");
|
|
404
407
|
|
|
405
|
-
const paginateListMemberships =
|
|
408
|
+
const paginateListMemberships = createPaginator(SecurityIRClient, ListMembershipsCommand, "nextToken", "nextToken", "maxResults");
|
|
406
409
|
|
|
407
410
|
const commands = {
|
|
408
411
|
BatchGetMemberAccountDetailsCommand,
|
|
@@ -439,7 +442,7 @@ const paginators = {
|
|
|
439
442
|
};
|
|
440
443
|
class SecurityIR extends SecurityIRClient {
|
|
441
444
|
}
|
|
442
|
-
|
|
445
|
+
createAggregatedClient(commands, SecurityIR, { paginators });
|
|
443
446
|
|
|
444
447
|
const ActionType = {
|
|
445
448
|
EVIDENCE_COLLECTION: "Evidence",
|
|
@@ -580,9 +583,6 @@ const MembershipStatus = {
|
|
|
580
583
|
TERMINATED: "Terminated",
|
|
581
584
|
};
|
|
582
585
|
|
|
583
|
-
exports.$Command = client.Command;
|
|
584
|
-
exports.__Client = client.Client;
|
|
585
|
-
exports.SecurityIRServiceException = SecurityIRServiceException.SecurityIRServiceException;
|
|
586
586
|
exports.ActionType = ActionType;
|
|
587
587
|
exports.AwsRegion = AwsRegion;
|
|
588
588
|
exports.BatchGetMemberAccountDetailsCommand = BatchGetMemberAccountDetailsCommand;
|
|
@@ -632,23 +632,3 @@ exports.paginateListCases = paginateListCases;
|
|
|
632
632
|
exports.paginateListComments = paginateListComments;
|
|
633
633
|
exports.paginateListInvestigations = paginateListInvestigations;
|
|
634
634
|
exports.paginateListMemberships = paginateListMemberships;
|
|
635
|
-
Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') &&
|
|
636
|
-
!Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
|
|
637
|
-
Object.defineProperty(exports, '__proto__', {
|
|
638
|
-
enumerable: true,
|
|
639
|
-
value: schemas_0['__proto__']
|
|
640
|
-
});
|
|
641
|
-
|
|
642
|
-
Object.keys(schemas_0).forEach(function (k) {
|
|
643
|
-
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k];
|
|
644
|
-
});
|
|
645
|
-
Object.prototype.hasOwnProperty.call(errors, '__proto__') &&
|
|
646
|
-
!Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
|
|
647
|
-
Object.defineProperty(exports, '__proto__', {
|
|
648
|
-
enumerable: true,
|
|
649
|
-
value: errors['__proto__']
|
|
650
|
-
});
|
|
651
|
-
|
|
652
|
-
Object.keys(errors).forEach(function (k) {
|
|
653
|
-
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k];
|
|
654
|
-
});
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.SecurityIRServiceException =
|
|
4
|
-
const client_1 = require("@smithy/core/client");
|
|
5
|
-
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return client_1.ServiceException; } });
|
|
6
|
-
class SecurityIRServiceException extends client_1.ServiceException {
|
|
1
|
+
const { ServiceException: __ServiceException } = require("@smithy/core/client");
|
|
2
|
+
exports.__ServiceException = __ServiceException;
|
|
3
|
+
exports.SecurityIRServiceException = class SecurityIRServiceException extends __ServiceException {
|
|
7
4
|
constructor(options) {
|
|
8
5
|
super(options);
|
|
9
6
|
Object.setPrototypeOf(this, SecurityIRServiceException.prototype);
|
|
10
7
|
}
|
|
11
|
-
}
|
|
12
|
-
exports.SecurityIRServiceException = SecurityIRServiceException;
|
|
8
|
+
};
|