@aws-sdk/client-security-ir 3.901.0 → 3.907.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/index.js +1835 -2078
- package/package.json +6 -6
package/dist-cjs/index.js
CHANGED
|
@@ -1,2115 +1,1872 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
var
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
var
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
CloseCaseCommand: () => CloseCaseCommand,
|
|
32
|
-
ClosureCode: () => ClosureCode,
|
|
33
|
-
ConflictException: () => ConflictException,
|
|
34
|
-
CreateCaseCommand: () => CreateCaseCommand,
|
|
35
|
-
CreateCaseCommentCommand: () => CreateCaseCommentCommand,
|
|
36
|
-
CreateCaseCommentRequestFilterSensitiveLog: () => CreateCaseCommentRequestFilterSensitiveLog,
|
|
37
|
-
CreateCaseRequestFilterSensitiveLog: () => CreateCaseRequestFilterSensitiveLog,
|
|
38
|
-
CreateMembershipCommand: () => CreateMembershipCommand,
|
|
39
|
-
CreateMembershipRequestFilterSensitiveLog: () => CreateMembershipRequestFilterSensitiveLog,
|
|
40
|
-
CustomerType: () => CustomerType,
|
|
41
|
-
EngagementType: () => EngagementType,
|
|
42
|
-
GetCaseAttachmentDownloadUrlCommand: () => GetCaseAttachmentDownloadUrlCommand,
|
|
43
|
-
GetCaseAttachmentDownloadUrlResponseFilterSensitiveLog: () => GetCaseAttachmentDownloadUrlResponseFilterSensitiveLog,
|
|
44
|
-
GetCaseAttachmentUploadUrlCommand: () => GetCaseAttachmentUploadUrlCommand,
|
|
45
|
-
GetCaseAttachmentUploadUrlRequestFilterSensitiveLog: () => GetCaseAttachmentUploadUrlRequestFilterSensitiveLog,
|
|
46
|
-
GetCaseAttachmentUploadUrlResponseFilterSensitiveLog: () => GetCaseAttachmentUploadUrlResponseFilterSensitiveLog,
|
|
47
|
-
GetCaseCommand: () => GetCaseCommand,
|
|
48
|
-
GetCaseResponseFilterSensitiveLog: () => GetCaseResponseFilterSensitiveLog,
|
|
49
|
-
GetMembershipCommand: () => GetMembershipCommand,
|
|
50
|
-
GetMembershipResponseFilterSensitiveLog: () => GetMembershipResponseFilterSensitiveLog,
|
|
51
|
-
IncidentResponderFilterSensitiveLog: () => IncidentResponderFilterSensitiveLog,
|
|
52
|
-
InternalServerException: () => InternalServerException,
|
|
53
|
-
InvalidTokenException: () => InvalidTokenException,
|
|
54
|
-
ListCaseEditsCommand: () => ListCaseEditsCommand,
|
|
55
|
-
ListCasesCommand: () => ListCasesCommand,
|
|
56
|
-
ListCasesItemFilterSensitiveLog: () => ListCasesItemFilterSensitiveLog,
|
|
57
|
-
ListCasesResponseFilterSensitiveLog: () => ListCasesResponseFilterSensitiveLog,
|
|
58
|
-
ListCommentsCommand: () => ListCommentsCommand,
|
|
59
|
-
ListCommentsItemFilterSensitiveLog: () => ListCommentsItemFilterSensitiveLog,
|
|
60
|
-
ListCommentsResponseFilterSensitiveLog: () => ListCommentsResponseFilterSensitiveLog,
|
|
61
|
-
ListMembershipsCommand: () => ListMembershipsCommand,
|
|
62
|
-
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
63
|
-
MembershipAccountRelationshipStatus: () => MembershipAccountRelationshipStatus,
|
|
64
|
-
MembershipAccountRelationshipType: () => MembershipAccountRelationshipType,
|
|
65
|
-
MembershipStatus: () => MembershipStatus,
|
|
66
|
-
OptInFeatureName: () => OptInFeatureName,
|
|
67
|
-
PendingAction: () => PendingAction,
|
|
68
|
-
ResolverType: () => ResolverType,
|
|
69
|
-
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
70
|
-
SecurityIR: () => SecurityIR,
|
|
71
|
-
SecurityIRClient: () => SecurityIRClient,
|
|
72
|
-
SecurityIRServiceException: () => SecurityIRServiceException,
|
|
73
|
-
SecurityIncidentResponseNotActiveException: () => SecurityIncidentResponseNotActiveException,
|
|
74
|
-
SelfManagedCaseStatus: () => SelfManagedCaseStatus,
|
|
75
|
-
ServiceQuotaExceededException: () => ServiceQuotaExceededException,
|
|
76
|
-
TagResourceCommand: () => TagResourceCommand,
|
|
77
|
-
ThreatActorIpFilterSensitiveLog: () => ThreatActorIpFilterSensitiveLog,
|
|
78
|
-
ThrottlingException: () => ThrottlingException,
|
|
79
|
-
UntagResourceCommand: () => UntagResourceCommand,
|
|
80
|
-
UpdateCaseCommand: () => UpdateCaseCommand,
|
|
81
|
-
UpdateCaseCommentCommand: () => UpdateCaseCommentCommand,
|
|
82
|
-
UpdateCaseCommentRequestFilterSensitiveLog: () => UpdateCaseCommentRequestFilterSensitiveLog,
|
|
83
|
-
UpdateCaseCommentResponseFilterSensitiveLog: () => UpdateCaseCommentResponseFilterSensitiveLog,
|
|
84
|
-
UpdateCaseRequestFilterSensitiveLog: () => UpdateCaseRequestFilterSensitiveLog,
|
|
85
|
-
UpdateCaseStatusCommand: () => UpdateCaseStatusCommand,
|
|
86
|
-
UpdateMembershipCommand: () => UpdateMembershipCommand,
|
|
87
|
-
UpdateMembershipRequestFilterSensitiveLog: () => UpdateMembershipRequestFilterSensitiveLog,
|
|
88
|
-
UpdateResolverTypeCommand: () => UpdateResolverTypeCommand,
|
|
89
|
-
ValidationException: () => ValidationException,
|
|
90
|
-
ValidationExceptionReason: () => ValidationExceptionReason,
|
|
91
|
-
WatcherFilterSensitiveLog: () => WatcherFilterSensitiveLog,
|
|
92
|
-
__Client: () => import_smithy_client.Client,
|
|
93
|
-
paginateListCaseEdits: () => paginateListCaseEdits,
|
|
94
|
-
paginateListCases: () => paginateListCases,
|
|
95
|
-
paginateListComments: () => paginateListComments,
|
|
96
|
-
paginateListMemberships: () => paginateListMemberships
|
|
97
|
-
});
|
|
98
|
-
module.exports = __toCommonJS(index_exports);
|
|
99
|
-
|
|
100
|
-
// src/SecurityIRClient.ts
|
|
101
|
-
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
102
|
-
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
103
|
-
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
104
|
-
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
105
|
-
var import_config_resolver = require("@smithy/config-resolver");
|
|
106
|
-
var import_core = require("@smithy/core");
|
|
107
|
-
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
108
|
-
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
109
|
-
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
110
|
-
|
|
111
|
-
var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
|
|
112
|
-
|
|
113
|
-
// src/endpoint/EndpointParameters.ts
|
|
114
|
-
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
115
|
-
return Object.assign(options, {
|
|
116
|
-
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
117
|
-
defaultSigningName: "security-ir"
|
|
118
|
-
});
|
|
119
|
-
}, "resolveClientEndpointParameters");
|
|
120
|
-
var commonParams = {
|
|
121
|
-
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
122
|
-
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
123
|
-
Region: { type: "builtInParams", name: "region" }
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var middlewareHostHeader = require('@aws-sdk/middleware-host-header');
|
|
4
|
+
var middlewareLogger = require('@aws-sdk/middleware-logger');
|
|
5
|
+
var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
|
|
6
|
+
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
7
|
+
var configResolver = require('@smithy/config-resolver');
|
|
8
|
+
var core = require('@smithy/core');
|
|
9
|
+
var middlewareContentLength = require('@smithy/middleware-content-length');
|
|
10
|
+
var middlewareEndpoint = require('@smithy/middleware-endpoint');
|
|
11
|
+
var middlewareRetry = require('@smithy/middleware-retry');
|
|
12
|
+
var smithyClient = require('@smithy/smithy-client');
|
|
13
|
+
var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
14
|
+
var runtimeConfig = require('./runtimeConfig');
|
|
15
|
+
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
16
|
+
var protocolHttp = require('@smithy/protocol-http');
|
|
17
|
+
var middlewareSerde = require('@smithy/middleware-serde');
|
|
18
|
+
var core$1 = require('@aws-sdk/core');
|
|
19
|
+
var uuid = require('@smithy/uuid');
|
|
20
|
+
|
|
21
|
+
const resolveClientEndpointParameters = (options) => {
|
|
22
|
+
return Object.assign(options, {
|
|
23
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
24
|
+
defaultSigningName: "security-ir",
|
|
25
|
+
});
|
|
26
|
+
};
|
|
27
|
+
const commonParams = {
|
|
28
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
29
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
30
|
+
Region: { type: "builtInParams", name: "region" },
|
|
124
31
|
};
|
|
125
32
|
|
|
126
|
-
|
|
127
|
-
|
|
33
|
+
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
34
|
+
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
35
|
+
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
36
|
+
let _credentials = runtimeConfig.credentials;
|
|
37
|
+
return {
|
|
38
|
+
setHttpAuthScheme(httpAuthScheme) {
|
|
39
|
+
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
40
|
+
if (index === -1) {
|
|
41
|
+
_httpAuthSchemes.push(httpAuthScheme);
|
|
42
|
+
}
|
|
43
|
+
else {
|
|
44
|
+
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
httpAuthSchemes() {
|
|
48
|
+
return _httpAuthSchemes;
|
|
49
|
+
},
|
|
50
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
51
|
+
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
52
|
+
},
|
|
53
|
+
httpAuthSchemeProvider() {
|
|
54
|
+
return _httpAuthSchemeProvider;
|
|
55
|
+
},
|
|
56
|
+
setCredentials(credentials) {
|
|
57
|
+
_credentials = credentials;
|
|
58
|
+
},
|
|
59
|
+
credentials() {
|
|
60
|
+
return _credentials;
|
|
61
|
+
},
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
const resolveHttpAuthRuntimeConfig = (config) => {
|
|
65
|
+
return {
|
|
66
|
+
httpAuthSchemes: config.httpAuthSchemes(),
|
|
67
|
+
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
68
|
+
credentials: config.credentials(),
|
|
69
|
+
};
|
|
70
|
+
};
|
|
128
71
|
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
72
|
+
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
73
|
+
const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
74
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
75
|
+
return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
76
|
+
};
|
|
133
77
|
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
78
|
+
class SecurityIRClient extends smithyClient.Client {
|
|
79
|
+
config;
|
|
80
|
+
constructor(...[configuration]) {
|
|
81
|
+
const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
|
|
82
|
+
super(_config_0);
|
|
83
|
+
this.initConfig = _config_0;
|
|
84
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
85
|
+
const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);
|
|
86
|
+
const _config_3 = middlewareRetry.resolveRetryConfig(_config_2);
|
|
87
|
+
const _config_4 = configResolver.resolveRegionConfig(_config_3);
|
|
88
|
+
const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);
|
|
89
|
+
const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5);
|
|
90
|
+
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
91
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
92
|
+
this.config = _config_8;
|
|
93
|
+
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
94
|
+
this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
|
|
95
|
+
this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
|
|
96
|
+
this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
|
|
97
|
+
this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
|
|
98
|
+
this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
|
|
99
|
+
this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
100
|
+
httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultSecurityIRHttpAuthSchemeParametersProvider,
|
|
101
|
+
identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({
|
|
102
|
+
"aws.auth#sigv4": config.credentials,
|
|
103
|
+
}),
|
|
104
|
+
}));
|
|
105
|
+
this.middlewareStack.use(core.getHttpSigningPlugin(this.config));
|
|
162
106
|
}
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
httpAuthSchemes: config.httpAuthSchemes(),
|
|
168
|
-
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
169
|
-
credentials: config.credentials()
|
|
170
|
-
};
|
|
171
|
-
}, "resolveHttpAuthRuntimeConfig");
|
|
172
|
-
|
|
173
|
-
// src/runtimeExtensions.ts
|
|
174
|
-
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
175
|
-
const extensionConfiguration = Object.assign(
|
|
176
|
-
(0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),
|
|
177
|
-
(0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),
|
|
178
|
-
(0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),
|
|
179
|
-
getHttpAuthExtensionConfiguration(runtimeConfig)
|
|
180
|
-
);
|
|
181
|
-
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
182
|
-
return Object.assign(
|
|
183
|
-
runtimeConfig,
|
|
184
|
-
(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
185
|
-
(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
186
|
-
(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
187
|
-
resolveHttpAuthRuntimeConfig(extensionConfiguration)
|
|
188
|
-
);
|
|
189
|
-
}, "resolveRuntimeExtensions");
|
|
107
|
+
destroy() {
|
|
108
|
+
super.destroy();
|
|
109
|
+
}
|
|
110
|
+
}
|
|
190
111
|
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
112
|
+
class SecurityIRServiceException extends smithyClient.ServiceException {
|
|
113
|
+
constructor(options) {
|
|
114
|
+
super(options);
|
|
115
|
+
Object.setPrototypeOf(this, SecurityIRServiceException.prototype);
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
class AccessDeniedException extends SecurityIRServiceException {
|
|
120
|
+
name = "AccessDeniedException";
|
|
121
|
+
$fault = "client";
|
|
122
|
+
constructor(opts) {
|
|
123
|
+
super({
|
|
124
|
+
name: "AccessDeniedException",
|
|
125
|
+
$fault: "client",
|
|
126
|
+
...opts,
|
|
127
|
+
});
|
|
128
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
const AwsRegion = {
|
|
132
|
+
AF_SOUTH_1: "af-south-1",
|
|
133
|
+
AP_EAST_1: "ap-east-1",
|
|
134
|
+
AP_EAST_2: "ap-east-2",
|
|
135
|
+
AP_NORTHEAST_1: "ap-northeast-1",
|
|
136
|
+
AP_NORTHEAST_2: "ap-northeast-2",
|
|
137
|
+
AP_NORTHEAST_3: "ap-northeast-3",
|
|
138
|
+
AP_SOUTHEAST_1: "ap-southeast-1",
|
|
139
|
+
AP_SOUTHEAST_2: "ap-southeast-2",
|
|
140
|
+
AP_SOUTHEAST_3: "ap-southeast-3",
|
|
141
|
+
AP_SOUTHEAST_4: "ap-southeast-4",
|
|
142
|
+
AP_SOUTHEAST_5: "ap-southeast-5",
|
|
143
|
+
AP_SOUTHEAST_7: "ap-southeast-7",
|
|
144
|
+
AP_SOUTH_1: "ap-south-1",
|
|
145
|
+
AP_SOUTH_2: "ap-south-2",
|
|
146
|
+
CA_CENTRAL_1: "ca-central-1",
|
|
147
|
+
CA_WEST_1: "ca-west-1",
|
|
148
|
+
CN_NORTHWEST_1: "cn-northwest-1",
|
|
149
|
+
CN_NORTH_1: "cn-north-1",
|
|
150
|
+
EU_CENTRAL_1: "eu-central-1",
|
|
151
|
+
EU_CENTRAL_2: "eu-central-2",
|
|
152
|
+
EU_NORTH_1: "eu-north-1",
|
|
153
|
+
EU_SOUTH_1: "eu-south-1",
|
|
154
|
+
EU_SOUTH_2: "eu-south-2",
|
|
155
|
+
EU_WEST_1: "eu-west-1",
|
|
156
|
+
EU_WEST_2: "eu-west-2",
|
|
157
|
+
EU_WEST_3: "eu-west-3",
|
|
158
|
+
IL_CENTRAL_1: "il-central-1",
|
|
159
|
+
ME_CENTRAL_1: "me-central-1",
|
|
160
|
+
ME_SOUTH_1: "me-south-1",
|
|
161
|
+
MX_CENTRAL_1: "mx-central-1",
|
|
162
|
+
SA_EAST_1: "sa-east-1",
|
|
163
|
+
US_EAST_1: "us-east-1",
|
|
164
|
+
US_EAST_2: "us-east-2",
|
|
165
|
+
US_WEST_1: "us-west-1",
|
|
166
|
+
US_WEST_2: "us-west-2",
|
|
237
167
|
};
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
// src/commands/BatchGetMemberAccountDetailsCommand.ts
|
|
243
|
-
|
|
244
|
-
var import_middleware_serde = require("@smithy/middleware-serde");
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
// src/protocols/Aws_restJson1.ts
|
|
248
|
-
var import_core2 = require("@aws-sdk/core");
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
var import_uuid = require("@smithy/uuid");
|
|
252
|
-
|
|
253
|
-
// src/models/models_0.ts
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
// src/models/SecurityIRServiceException.ts
|
|
257
|
-
|
|
258
|
-
var SecurityIRServiceException = class _SecurityIRServiceException extends import_smithy_client.ServiceException {
|
|
259
|
-
static {
|
|
260
|
-
__name(this, "SecurityIRServiceException");
|
|
261
|
-
}
|
|
262
|
-
/**
|
|
263
|
-
* @internal
|
|
264
|
-
*/
|
|
265
|
-
constructor(options) {
|
|
266
|
-
super(options);
|
|
267
|
-
Object.setPrototypeOf(this, _SecurityIRServiceException.prototype);
|
|
268
|
-
}
|
|
168
|
+
const MembershipAccountRelationshipStatus = {
|
|
169
|
+
ASSOCIATED: "Associated",
|
|
170
|
+
DISASSOCIATED: "Disassociated",
|
|
171
|
+
UNASSOCIATED: "Unassociated",
|
|
269
172
|
};
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
static {
|
|
274
|
-
__name(this, "AccessDeniedException");
|
|
275
|
-
}
|
|
276
|
-
name = "AccessDeniedException";
|
|
277
|
-
$fault = "client";
|
|
278
|
-
/**
|
|
279
|
-
* @internal
|
|
280
|
-
*/
|
|
281
|
-
constructor(opts) {
|
|
282
|
-
super({
|
|
283
|
-
name: "AccessDeniedException",
|
|
284
|
-
$fault: "client",
|
|
285
|
-
...opts
|
|
286
|
-
});
|
|
287
|
-
Object.setPrototypeOf(this, _AccessDeniedException.prototype);
|
|
288
|
-
}
|
|
289
|
-
};
|
|
290
|
-
var AwsRegion = {
|
|
291
|
-
AF_SOUTH_1: "af-south-1",
|
|
292
|
-
AP_EAST_1: "ap-east-1",
|
|
293
|
-
AP_EAST_2: "ap-east-2",
|
|
294
|
-
AP_NORTHEAST_1: "ap-northeast-1",
|
|
295
|
-
AP_NORTHEAST_2: "ap-northeast-2",
|
|
296
|
-
AP_NORTHEAST_3: "ap-northeast-3",
|
|
297
|
-
AP_SOUTHEAST_1: "ap-southeast-1",
|
|
298
|
-
AP_SOUTHEAST_2: "ap-southeast-2",
|
|
299
|
-
AP_SOUTHEAST_3: "ap-southeast-3",
|
|
300
|
-
AP_SOUTHEAST_4: "ap-southeast-4",
|
|
301
|
-
AP_SOUTHEAST_5: "ap-southeast-5",
|
|
302
|
-
AP_SOUTHEAST_7: "ap-southeast-7",
|
|
303
|
-
AP_SOUTH_1: "ap-south-1",
|
|
304
|
-
AP_SOUTH_2: "ap-south-2",
|
|
305
|
-
CA_CENTRAL_1: "ca-central-1",
|
|
306
|
-
CA_WEST_1: "ca-west-1",
|
|
307
|
-
CN_NORTHWEST_1: "cn-northwest-1",
|
|
308
|
-
CN_NORTH_1: "cn-north-1",
|
|
309
|
-
EU_CENTRAL_1: "eu-central-1",
|
|
310
|
-
EU_CENTRAL_2: "eu-central-2",
|
|
311
|
-
EU_NORTH_1: "eu-north-1",
|
|
312
|
-
EU_SOUTH_1: "eu-south-1",
|
|
313
|
-
EU_SOUTH_2: "eu-south-2",
|
|
314
|
-
EU_WEST_1: "eu-west-1",
|
|
315
|
-
EU_WEST_2: "eu-west-2",
|
|
316
|
-
EU_WEST_3: "eu-west-3",
|
|
317
|
-
IL_CENTRAL_1: "il-central-1",
|
|
318
|
-
ME_CENTRAL_1: "me-central-1",
|
|
319
|
-
ME_SOUTH_1: "me-south-1",
|
|
320
|
-
MX_CENTRAL_1: "mx-central-1",
|
|
321
|
-
SA_EAST_1: "sa-east-1",
|
|
322
|
-
US_EAST_1: "us-east-1",
|
|
323
|
-
US_EAST_2: "us-east-2",
|
|
324
|
-
US_WEST_1: "us-west-1",
|
|
325
|
-
US_WEST_2: "us-west-2"
|
|
326
|
-
};
|
|
327
|
-
var MembershipAccountRelationshipStatus = {
|
|
328
|
-
ASSOCIATED: "Associated",
|
|
329
|
-
DISASSOCIATED: "Disassociated",
|
|
330
|
-
UNASSOCIATED: "Unassociated"
|
|
331
|
-
};
|
|
332
|
-
var MembershipAccountRelationshipType = {
|
|
333
|
-
ORGANIZATION: "Organization",
|
|
334
|
-
UNRELATED: "Unrelated"
|
|
335
|
-
};
|
|
336
|
-
var ConflictException = class _ConflictException extends SecurityIRServiceException {
|
|
337
|
-
static {
|
|
338
|
-
__name(this, "ConflictException");
|
|
339
|
-
}
|
|
340
|
-
name = "ConflictException";
|
|
341
|
-
$fault = "client";
|
|
342
|
-
/**
|
|
343
|
-
* <p>The ID of the conflicting resource.</p>
|
|
344
|
-
* @public
|
|
345
|
-
*/
|
|
346
|
-
resourceId;
|
|
347
|
-
/**
|
|
348
|
-
* <p>The type of the conflicting resource.</p>
|
|
349
|
-
* @public
|
|
350
|
-
*/
|
|
351
|
-
resourceType;
|
|
352
|
-
/**
|
|
353
|
-
* @internal
|
|
354
|
-
*/
|
|
355
|
-
constructor(opts) {
|
|
356
|
-
super({
|
|
357
|
-
name: "ConflictException",
|
|
358
|
-
$fault: "client",
|
|
359
|
-
...opts
|
|
360
|
-
});
|
|
361
|
-
Object.setPrototypeOf(this, _ConflictException.prototype);
|
|
362
|
-
this.resourceId = opts.resourceId;
|
|
363
|
-
this.resourceType = opts.resourceType;
|
|
364
|
-
}
|
|
365
|
-
};
|
|
366
|
-
var InternalServerException = class _InternalServerException extends SecurityIRServiceException {
|
|
367
|
-
static {
|
|
368
|
-
__name(this, "InternalServerException");
|
|
369
|
-
}
|
|
370
|
-
name = "InternalServerException";
|
|
371
|
-
$fault = "server";
|
|
372
|
-
$retryable = {};
|
|
373
|
-
/**
|
|
374
|
-
* <p>The number of seconds after which to retry the request.</p>
|
|
375
|
-
* @public
|
|
376
|
-
*/
|
|
377
|
-
retryAfterSeconds;
|
|
378
|
-
/**
|
|
379
|
-
* @internal
|
|
380
|
-
*/
|
|
381
|
-
constructor(opts) {
|
|
382
|
-
super({
|
|
383
|
-
name: "InternalServerException",
|
|
384
|
-
$fault: "server",
|
|
385
|
-
...opts
|
|
386
|
-
});
|
|
387
|
-
Object.setPrototypeOf(this, _InternalServerException.prototype);
|
|
388
|
-
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
389
|
-
}
|
|
390
|
-
};
|
|
391
|
-
var InvalidTokenException = class _InvalidTokenException extends SecurityIRServiceException {
|
|
392
|
-
static {
|
|
393
|
-
__name(this, "InvalidTokenException");
|
|
394
|
-
}
|
|
395
|
-
name = "InvalidTokenException";
|
|
396
|
-
$fault = "client";
|
|
397
|
-
$retryable = {};
|
|
398
|
-
/**
|
|
399
|
-
* @internal
|
|
400
|
-
*/
|
|
401
|
-
constructor(opts) {
|
|
402
|
-
super({
|
|
403
|
-
name: "InvalidTokenException",
|
|
404
|
-
$fault: "client",
|
|
405
|
-
...opts
|
|
406
|
-
});
|
|
407
|
-
Object.setPrototypeOf(this, _InvalidTokenException.prototype);
|
|
408
|
-
}
|
|
409
|
-
};
|
|
410
|
-
var ResourceNotFoundException = class _ResourceNotFoundException extends SecurityIRServiceException {
|
|
411
|
-
static {
|
|
412
|
-
__name(this, "ResourceNotFoundException");
|
|
413
|
-
}
|
|
414
|
-
name = "ResourceNotFoundException";
|
|
415
|
-
$fault = "client";
|
|
416
|
-
/**
|
|
417
|
-
* @internal
|
|
418
|
-
*/
|
|
419
|
-
constructor(opts) {
|
|
420
|
-
super({
|
|
421
|
-
name: "ResourceNotFoundException",
|
|
422
|
-
$fault: "client",
|
|
423
|
-
...opts
|
|
424
|
-
});
|
|
425
|
-
Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
|
|
426
|
-
}
|
|
427
|
-
};
|
|
428
|
-
var SecurityIncidentResponseNotActiveException = class _SecurityIncidentResponseNotActiveException extends SecurityIRServiceException {
|
|
429
|
-
static {
|
|
430
|
-
__name(this, "SecurityIncidentResponseNotActiveException");
|
|
431
|
-
}
|
|
432
|
-
name = "SecurityIncidentResponseNotActiveException";
|
|
433
|
-
$fault = "client";
|
|
434
|
-
/**
|
|
435
|
-
* @internal
|
|
436
|
-
*/
|
|
437
|
-
constructor(opts) {
|
|
438
|
-
super({
|
|
439
|
-
name: "SecurityIncidentResponseNotActiveException",
|
|
440
|
-
$fault: "client",
|
|
441
|
-
...opts
|
|
442
|
-
});
|
|
443
|
-
Object.setPrototypeOf(this, _SecurityIncidentResponseNotActiveException.prototype);
|
|
444
|
-
}
|
|
445
|
-
};
|
|
446
|
-
var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends SecurityIRServiceException {
|
|
447
|
-
static {
|
|
448
|
-
__name(this, "ServiceQuotaExceededException");
|
|
449
|
-
}
|
|
450
|
-
name = "ServiceQuotaExceededException";
|
|
451
|
-
$fault = "client";
|
|
452
|
-
/**
|
|
453
|
-
* <p>The ID of the requested resource which lead to the service quota exception.</p>
|
|
454
|
-
* @public
|
|
455
|
-
*/
|
|
456
|
-
resourceId;
|
|
457
|
-
/**
|
|
458
|
-
* <p>The type of the requested resource which lead to the service quota exception.</p>
|
|
459
|
-
* @public
|
|
460
|
-
*/
|
|
461
|
-
resourceType;
|
|
462
|
-
/**
|
|
463
|
-
* <p>The service code of the quota.</p>
|
|
464
|
-
* @public
|
|
465
|
-
*/
|
|
466
|
-
serviceCode;
|
|
467
|
-
/**
|
|
468
|
-
* <p>The code of the quota.</p>
|
|
469
|
-
* @public
|
|
470
|
-
*/
|
|
471
|
-
quotaCode;
|
|
472
|
-
/**
|
|
473
|
-
* @internal
|
|
474
|
-
*/
|
|
475
|
-
constructor(opts) {
|
|
476
|
-
super({
|
|
477
|
-
name: "ServiceQuotaExceededException",
|
|
478
|
-
$fault: "client",
|
|
479
|
-
...opts
|
|
480
|
-
});
|
|
481
|
-
Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
|
|
482
|
-
this.resourceId = opts.resourceId;
|
|
483
|
-
this.resourceType = opts.resourceType;
|
|
484
|
-
this.serviceCode = opts.serviceCode;
|
|
485
|
-
this.quotaCode = opts.quotaCode;
|
|
486
|
-
}
|
|
487
|
-
};
|
|
488
|
-
var ThrottlingException = class _ThrottlingException extends SecurityIRServiceException {
|
|
489
|
-
static {
|
|
490
|
-
__name(this, "ThrottlingException");
|
|
491
|
-
}
|
|
492
|
-
name = "ThrottlingException";
|
|
493
|
-
$fault = "client";
|
|
494
|
-
$retryable = {
|
|
495
|
-
throttling: true
|
|
496
|
-
};
|
|
497
|
-
/**
|
|
498
|
-
* <p>The service code of the exception.</p>
|
|
499
|
-
* @public
|
|
500
|
-
*/
|
|
501
|
-
serviceCode;
|
|
502
|
-
/**
|
|
503
|
-
* <p>The quota code of the exception.</p>
|
|
504
|
-
* @public
|
|
505
|
-
*/
|
|
506
|
-
quotaCode;
|
|
507
|
-
/**
|
|
508
|
-
* <p>The number of seconds after which to retry the request.</p>
|
|
509
|
-
* @public
|
|
510
|
-
*/
|
|
511
|
-
retryAfterSeconds;
|
|
512
|
-
/**
|
|
513
|
-
* @internal
|
|
514
|
-
*/
|
|
515
|
-
constructor(opts) {
|
|
516
|
-
super({
|
|
517
|
-
name: "ThrottlingException",
|
|
518
|
-
$fault: "client",
|
|
519
|
-
...opts
|
|
520
|
-
});
|
|
521
|
-
Object.setPrototypeOf(this, _ThrottlingException.prototype);
|
|
522
|
-
this.serviceCode = opts.serviceCode;
|
|
523
|
-
this.quotaCode = opts.quotaCode;
|
|
524
|
-
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
525
|
-
}
|
|
526
|
-
};
|
|
527
|
-
var ValidationExceptionReason = {
|
|
528
|
-
CANNOT_PARSE: "CANNOT_PARSE",
|
|
529
|
-
FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
|
|
530
|
-
OTHER: "OTHER",
|
|
531
|
-
UNKNOWN_OPERATION: "UNKNOWN_OPERATION"
|
|
532
|
-
};
|
|
533
|
-
var ValidationException = class _ValidationException extends SecurityIRServiceException {
|
|
534
|
-
static {
|
|
535
|
-
__name(this, "ValidationException");
|
|
536
|
-
}
|
|
537
|
-
name = "ValidationException";
|
|
538
|
-
$fault = "client";
|
|
539
|
-
/**
|
|
540
|
-
* <p>The reason for the exception.</p>
|
|
541
|
-
* @public
|
|
542
|
-
*/
|
|
543
|
-
reason;
|
|
544
|
-
/**
|
|
545
|
-
* <p>The fields which lead to the exception.</p>
|
|
546
|
-
* @public
|
|
547
|
-
*/
|
|
548
|
-
fieldList;
|
|
549
|
-
/**
|
|
550
|
-
* @internal
|
|
551
|
-
*/
|
|
552
|
-
constructor(opts) {
|
|
553
|
-
super({
|
|
554
|
-
name: "ValidationException",
|
|
555
|
-
$fault: "client",
|
|
556
|
-
...opts
|
|
557
|
-
});
|
|
558
|
-
Object.setPrototypeOf(this, _ValidationException.prototype);
|
|
559
|
-
this.reason = opts.reason;
|
|
560
|
-
this.fieldList = opts.fieldList;
|
|
561
|
-
}
|
|
562
|
-
};
|
|
563
|
-
var CaseStatus = {
|
|
564
|
-
ACKNOWLEDGED: "Acknowledged",
|
|
565
|
-
CLOSED: "Closed",
|
|
566
|
-
CONTAINMENT_ERADICATION_AND_RECOVERY: "Containment, Eradication and Recovery",
|
|
567
|
-
DETECTION_AND_ANALYSIS: "Detection and Analysis",
|
|
568
|
-
POST_INCIDENT_ACTIVITIES: "Post-incident Activities",
|
|
569
|
-
READY_TO_CLOSE: "Ready to Close",
|
|
570
|
-
SUBMITTED: "Submitted"
|
|
571
|
-
};
|
|
572
|
-
var EngagementType = {
|
|
573
|
-
INVESTIGATION: "Investigation",
|
|
574
|
-
SECURITY_INCIDENT: "Security Incident"
|
|
575
|
-
};
|
|
576
|
-
var ResolverType = {
|
|
577
|
-
AWS: "AWS",
|
|
578
|
-
SELF: "Self"
|
|
579
|
-
};
|
|
580
|
-
var CaseAttachmentStatus = {
|
|
581
|
-
FAILED: "Failed",
|
|
582
|
-
PENDING: "Pending",
|
|
583
|
-
VERIFIED: "Verified"
|
|
584
|
-
};
|
|
585
|
-
var ClosureCode = {
|
|
586
|
-
DUPLICATE: "Duplicate",
|
|
587
|
-
FALSE_POSITIVE: "False Positive",
|
|
588
|
-
INVESTIGATION_COMPLETED: "Investigation Completed",
|
|
589
|
-
NOT_RESOLVED: "Not Resolved"
|
|
590
|
-
};
|
|
591
|
-
var PendingAction = {
|
|
592
|
-
CUSTOMER: "Customer",
|
|
593
|
-
NONE: "None"
|
|
594
|
-
};
|
|
595
|
-
var SelfManagedCaseStatus = {
|
|
596
|
-
CONTAINMENT_ERADICATION_AND_RECOVERY: "Containment, Eradication and Recovery",
|
|
597
|
-
DETECTION_AND_ANALYSIS: "Detection and Analysis",
|
|
598
|
-
POST_INCIDENT_ACTIVITIES: "Post-incident Activities",
|
|
599
|
-
SUBMITTED: "Submitted"
|
|
600
|
-
};
|
|
601
|
-
var OptInFeatureName = {
|
|
602
|
-
TRIAGE: "Triage"
|
|
603
|
-
};
|
|
604
|
-
var CustomerType = {
|
|
605
|
-
ORGANIZATION: "Organization",
|
|
606
|
-
STANDALONE: "Standalone"
|
|
607
|
-
};
|
|
608
|
-
var MembershipStatus = {
|
|
609
|
-
ACTIVE: "Active",
|
|
610
|
-
CANCELLED: "Cancelled",
|
|
611
|
-
TERMINATED: "Terminated"
|
|
612
|
-
};
|
|
613
|
-
var ThreatActorIpFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
614
|
-
...obj,
|
|
615
|
-
...obj.ipAddress && { ipAddress: import_smithy_client.SENSITIVE_STRING }
|
|
616
|
-
}), "ThreatActorIpFilterSensitiveLog");
|
|
617
|
-
var WatcherFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
618
|
-
...obj,
|
|
619
|
-
...obj.email && { email: import_smithy_client.SENSITIVE_STRING },
|
|
620
|
-
...obj.name && { name: import_smithy_client.SENSITIVE_STRING },
|
|
621
|
-
...obj.jobTitle && { jobTitle: import_smithy_client.SENSITIVE_STRING }
|
|
622
|
-
}), "WatcherFilterSensitiveLog");
|
|
623
|
-
var CreateCaseRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
624
|
-
...obj,
|
|
625
|
-
...obj.title && { title: import_smithy_client.SENSITIVE_STRING },
|
|
626
|
-
...obj.description && { description: import_smithy_client.SENSITIVE_STRING },
|
|
627
|
-
...obj.watchers && { watchers: obj.watchers.map((item) => WatcherFilterSensitiveLog(item)) },
|
|
628
|
-
...obj.threatActorIpAddresses && {
|
|
629
|
-
threatActorIpAddresses: obj.threatActorIpAddresses.map((item) => ThreatActorIpFilterSensitiveLog(item))
|
|
630
|
-
}
|
|
631
|
-
}), "CreateCaseRequestFilterSensitiveLog");
|
|
632
|
-
var CreateCaseCommentRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
633
|
-
...obj,
|
|
634
|
-
...obj.body && { body: import_smithy_client.SENSITIVE_STRING }
|
|
635
|
-
}), "CreateCaseCommentRequestFilterSensitiveLog");
|
|
636
|
-
var CaseAttachmentAttributesFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
637
|
-
...obj,
|
|
638
|
-
...obj.fileName && { fileName: import_smithy_client.SENSITIVE_STRING }
|
|
639
|
-
}), "CaseAttachmentAttributesFilterSensitiveLog");
|
|
640
|
-
var GetCaseResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
641
|
-
...obj,
|
|
642
|
-
...obj.title && { title: import_smithy_client.SENSITIVE_STRING },
|
|
643
|
-
...obj.description && { description: import_smithy_client.SENSITIVE_STRING },
|
|
644
|
-
...obj.threatActorIpAddresses && {
|
|
645
|
-
threatActorIpAddresses: obj.threatActorIpAddresses.map((item) => ThreatActorIpFilterSensitiveLog(item))
|
|
646
|
-
},
|
|
647
|
-
...obj.watchers && { watchers: obj.watchers.map((item) => WatcherFilterSensitiveLog(item)) },
|
|
648
|
-
...obj.caseAttachments && {
|
|
649
|
-
caseAttachments: obj.caseAttachments.map((item) => CaseAttachmentAttributesFilterSensitiveLog(item))
|
|
650
|
-
}
|
|
651
|
-
}), "GetCaseResponseFilterSensitiveLog");
|
|
652
|
-
var GetCaseAttachmentDownloadUrlResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
653
|
-
...obj,
|
|
654
|
-
...obj.attachmentPresignedUrl && { attachmentPresignedUrl: import_smithy_client.SENSITIVE_STRING }
|
|
655
|
-
}), "GetCaseAttachmentDownloadUrlResponseFilterSensitiveLog");
|
|
656
|
-
var GetCaseAttachmentUploadUrlRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
657
|
-
...obj,
|
|
658
|
-
...obj.fileName && { fileName: import_smithy_client.SENSITIVE_STRING }
|
|
659
|
-
}), "GetCaseAttachmentUploadUrlRequestFilterSensitiveLog");
|
|
660
|
-
var GetCaseAttachmentUploadUrlResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
661
|
-
...obj,
|
|
662
|
-
...obj.attachmentPresignedUrl && { attachmentPresignedUrl: import_smithy_client.SENSITIVE_STRING }
|
|
663
|
-
}), "GetCaseAttachmentUploadUrlResponseFilterSensitiveLog");
|
|
664
|
-
var ListCasesItemFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
665
|
-
...obj,
|
|
666
|
-
...obj.title && { title: import_smithy_client.SENSITIVE_STRING }
|
|
667
|
-
}), "ListCasesItemFilterSensitiveLog");
|
|
668
|
-
var ListCasesResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
669
|
-
...obj,
|
|
670
|
-
...obj.items && { items: obj.items.map((item) => ListCasesItemFilterSensitiveLog(item)) }
|
|
671
|
-
}), "ListCasesResponseFilterSensitiveLog");
|
|
672
|
-
var ListCommentsItemFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
673
|
-
...obj,
|
|
674
|
-
...obj.body && { body: import_smithy_client.SENSITIVE_STRING }
|
|
675
|
-
}), "ListCommentsItemFilterSensitiveLog");
|
|
676
|
-
var ListCommentsResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
677
|
-
...obj,
|
|
678
|
-
...obj.items && { items: obj.items.map((item) => ListCommentsItemFilterSensitiveLog(item)) }
|
|
679
|
-
}), "ListCommentsResponseFilterSensitiveLog");
|
|
680
|
-
var UpdateCaseRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
681
|
-
...obj,
|
|
682
|
-
...obj.title && { title: import_smithy_client.SENSITIVE_STRING },
|
|
683
|
-
...obj.description && { description: import_smithy_client.SENSITIVE_STRING },
|
|
684
|
-
...obj.watchersToAdd && { watchersToAdd: obj.watchersToAdd.map((item) => WatcherFilterSensitiveLog(item)) },
|
|
685
|
-
...obj.watchersToDelete && {
|
|
686
|
-
watchersToDelete: obj.watchersToDelete.map((item) => WatcherFilterSensitiveLog(item))
|
|
687
|
-
},
|
|
688
|
-
...obj.threatActorIpAddressesToAdd && {
|
|
689
|
-
threatActorIpAddressesToAdd: obj.threatActorIpAddressesToAdd.map((item) => ThreatActorIpFilterSensitiveLog(item))
|
|
690
|
-
},
|
|
691
|
-
...obj.threatActorIpAddressesToDelete && {
|
|
692
|
-
threatActorIpAddressesToDelete: obj.threatActorIpAddressesToDelete.map(
|
|
693
|
-
(item) => ThreatActorIpFilterSensitiveLog(item)
|
|
694
|
-
)
|
|
695
|
-
}
|
|
696
|
-
}), "UpdateCaseRequestFilterSensitiveLog");
|
|
697
|
-
var UpdateCaseCommentRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
698
|
-
...obj,
|
|
699
|
-
...obj.body && { body: import_smithy_client.SENSITIVE_STRING }
|
|
700
|
-
}), "UpdateCaseCommentRequestFilterSensitiveLog");
|
|
701
|
-
var UpdateCaseCommentResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
702
|
-
...obj,
|
|
703
|
-
...obj.body && { body: import_smithy_client.SENSITIVE_STRING }
|
|
704
|
-
}), "UpdateCaseCommentResponseFilterSensitiveLog");
|
|
705
|
-
var IncidentResponderFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
706
|
-
...obj,
|
|
707
|
-
...obj.name && { name: import_smithy_client.SENSITIVE_STRING },
|
|
708
|
-
...obj.jobTitle && { jobTitle: import_smithy_client.SENSITIVE_STRING },
|
|
709
|
-
...obj.email && { email: import_smithy_client.SENSITIVE_STRING }
|
|
710
|
-
}), "IncidentResponderFilterSensitiveLog");
|
|
711
|
-
var CreateMembershipRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
712
|
-
...obj,
|
|
713
|
-
...obj.membershipName && { membershipName: import_smithy_client.SENSITIVE_STRING },
|
|
714
|
-
...obj.incidentResponseTeam && {
|
|
715
|
-
incidentResponseTeam: obj.incidentResponseTeam.map((item) => IncidentResponderFilterSensitiveLog(item))
|
|
716
|
-
}
|
|
717
|
-
}), "CreateMembershipRequestFilterSensitiveLog");
|
|
718
|
-
var GetMembershipResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
719
|
-
...obj,
|
|
720
|
-
...obj.membershipName && { membershipName: import_smithy_client.SENSITIVE_STRING },
|
|
721
|
-
...obj.incidentResponseTeam && {
|
|
722
|
-
incidentResponseTeam: obj.incidentResponseTeam.map((item) => IncidentResponderFilterSensitiveLog(item))
|
|
723
|
-
}
|
|
724
|
-
}), "GetMembershipResponseFilterSensitiveLog");
|
|
725
|
-
var UpdateMembershipRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
726
|
-
...obj,
|
|
727
|
-
...obj.membershipName && { membershipName: import_smithy_client.SENSITIVE_STRING },
|
|
728
|
-
...obj.incidentResponseTeam && {
|
|
729
|
-
incidentResponseTeam: obj.incidentResponseTeam.map((item) => IncidentResponderFilterSensitiveLog(item))
|
|
730
|
-
}
|
|
731
|
-
}), "UpdateMembershipRequestFilterSensitiveLog");
|
|
732
|
-
|
|
733
|
-
// src/protocols/Aws_restJson1.ts
|
|
734
|
-
var se_BatchGetMemberAccountDetailsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
735
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
736
|
-
const headers = {
|
|
737
|
-
"content-type": "application/json"
|
|
738
|
-
};
|
|
739
|
-
b.bp("/v1/membership/{membershipId}/batch-member-details");
|
|
740
|
-
b.p("membershipId", () => input.membershipId, "{membershipId}", false);
|
|
741
|
-
let body;
|
|
742
|
-
body = JSON.stringify(
|
|
743
|
-
(0, import_smithy_client.take)(input, {
|
|
744
|
-
accountIds: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "accountIds")
|
|
745
|
-
})
|
|
746
|
-
);
|
|
747
|
-
b.m("POST").h(headers).b(body);
|
|
748
|
-
return b.build();
|
|
749
|
-
}, "se_BatchGetMemberAccountDetailsCommand");
|
|
750
|
-
var se_CancelMembershipCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
751
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
752
|
-
const headers = {};
|
|
753
|
-
b.bp("/v1/membership/{membershipId}");
|
|
754
|
-
b.p("membershipId", () => input.membershipId, "{membershipId}", false);
|
|
755
|
-
let body;
|
|
756
|
-
b.m("PUT").h(headers).b(body);
|
|
757
|
-
return b.build();
|
|
758
|
-
}, "se_CancelMembershipCommand");
|
|
759
|
-
var se_CloseCaseCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
760
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
761
|
-
const headers = {};
|
|
762
|
-
b.bp("/v1/cases/{caseId}/close-case");
|
|
763
|
-
b.p("caseId", () => input.caseId, "{caseId}", false);
|
|
764
|
-
let body;
|
|
765
|
-
b.m("POST").h(headers).b(body);
|
|
766
|
-
return b.build();
|
|
767
|
-
}, "se_CloseCaseCommand");
|
|
768
|
-
var se_CreateCaseCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
769
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
770
|
-
const headers = {
|
|
771
|
-
"content-type": "application/json"
|
|
772
|
-
};
|
|
773
|
-
b.bp("/v1/create-case");
|
|
774
|
-
let body;
|
|
775
|
-
body = JSON.stringify(
|
|
776
|
-
(0, import_smithy_client.take)(input, {
|
|
777
|
-
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
778
|
-
description: [],
|
|
779
|
-
engagementType: [],
|
|
780
|
-
impactedAccounts: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "impactedAccounts"),
|
|
781
|
-
impactedAwsRegions: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "impactedAwsRegions"),
|
|
782
|
-
impactedServices: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "impactedServices"),
|
|
783
|
-
reportedIncidentStartDate: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "reportedIncidentStartDate"),
|
|
784
|
-
resolverType: [],
|
|
785
|
-
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags"),
|
|
786
|
-
threatActorIpAddresses: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "threatActorIpAddresses"),
|
|
787
|
-
title: [],
|
|
788
|
-
watchers: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "watchers")
|
|
789
|
-
})
|
|
790
|
-
);
|
|
791
|
-
b.m("POST").h(headers).b(body);
|
|
792
|
-
return b.build();
|
|
793
|
-
}, "se_CreateCaseCommand");
|
|
794
|
-
var se_CreateCaseCommentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
795
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
796
|
-
const headers = {
|
|
797
|
-
"content-type": "application/json"
|
|
798
|
-
};
|
|
799
|
-
b.bp("/v1/cases/{caseId}/create-comment");
|
|
800
|
-
b.p("caseId", () => input.caseId, "{caseId}", false);
|
|
801
|
-
let body;
|
|
802
|
-
body = JSON.stringify(
|
|
803
|
-
(0, import_smithy_client.take)(input, {
|
|
804
|
-
body: [],
|
|
805
|
-
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()]
|
|
806
|
-
})
|
|
807
|
-
);
|
|
808
|
-
b.m("POST").h(headers).b(body);
|
|
809
|
-
return b.build();
|
|
810
|
-
}, "se_CreateCaseCommentCommand");
|
|
811
|
-
var se_CreateMembershipCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
812
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
813
|
-
const headers = {
|
|
814
|
-
"content-type": "application/json"
|
|
815
|
-
};
|
|
816
|
-
b.bp("/v1/membership");
|
|
817
|
-
let body;
|
|
818
|
-
body = JSON.stringify(
|
|
819
|
-
(0, import_smithy_client.take)(input, {
|
|
820
|
-
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
821
|
-
coverEntireOrganization: [],
|
|
822
|
-
incidentResponseTeam: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "incidentResponseTeam"),
|
|
823
|
-
membershipName: [],
|
|
824
|
-
optInFeatures: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "optInFeatures"),
|
|
825
|
-
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
|
|
826
|
-
})
|
|
827
|
-
);
|
|
828
|
-
b.m("POST").h(headers).b(body);
|
|
829
|
-
return b.build();
|
|
830
|
-
}, "se_CreateMembershipCommand");
|
|
831
|
-
var se_GetCaseCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
832
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
833
|
-
const headers = {};
|
|
834
|
-
b.bp("/v1/cases/{caseId}/get-case");
|
|
835
|
-
b.p("caseId", () => input.caseId, "{caseId}", false);
|
|
836
|
-
let body;
|
|
837
|
-
b.m("GET").h(headers).b(body);
|
|
838
|
-
return b.build();
|
|
839
|
-
}, "se_GetCaseCommand");
|
|
840
|
-
var se_GetCaseAttachmentDownloadUrlCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
841
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
842
|
-
const headers = {};
|
|
843
|
-
b.bp("/v1/cases/{caseId}/get-presigned-url/{attachmentId}");
|
|
844
|
-
b.p("caseId", () => input.caseId, "{caseId}", false);
|
|
845
|
-
b.p("attachmentId", () => input.attachmentId, "{attachmentId}", false);
|
|
846
|
-
let body;
|
|
847
|
-
b.m("GET").h(headers).b(body);
|
|
848
|
-
return b.build();
|
|
849
|
-
}, "se_GetCaseAttachmentDownloadUrlCommand");
|
|
850
|
-
var se_GetCaseAttachmentUploadUrlCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
851
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
852
|
-
const headers = {
|
|
853
|
-
"content-type": "application/json"
|
|
854
|
-
};
|
|
855
|
-
b.bp("/v1/cases/{caseId}/get-presigned-url");
|
|
856
|
-
b.p("caseId", () => input.caseId, "{caseId}", false);
|
|
857
|
-
let body;
|
|
858
|
-
body = JSON.stringify(
|
|
859
|
-
(0, import_smithy_client.take)(input, {
|
|
860
|
-
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
861
|
-
contentLength: [],
|
|
862
|
-
fileName: []
|
|
863
|
-
})
|
|
864
|
-
);
|
|
865
|
-
b.m("POST").h(headers).b(body);
|
|
866
|
-
return b.build();
|
|
867
|
-
}, "se_GetCaseAttachmentUploadUrlCommand");
|
|
868
|
-
var se_GetMembershipCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
869
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
870
|
-
const headers = {};
|
|
871
|
-
b.bp("/v1/membership/{membershipId}");
|
|
872
|
-
b.p("membershipId", () => input.membershipId, "{membershipId}", false);
|
|
873
|
-
let body;
|
|
874
|
-
b.m("GET").h(headers).b(body);
|
|
875
|
-
return b.build();
|
|
876
|
-
}, "se_GetMembershipCommand");
|
|
877
|
-
var se_ListCaseEditsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
878
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
879
|
-
const headers = {
|
|
880
|
-
"content-type": "application/json"
|
|
881
|
-
};
|
|
882
|
-
b.bp("/v1/cases/{caseId}/list-case-edits");
|
|
883
|
-
b.p("caseId", () => input.caseId, "{caseId}", false);
|
|
884
|
-
let body;
|
|
885
|
-
body = JSON.stringify(
|
|
886
|
-
(0, import_smithy_client.take)(input, {
|
|
887
|
-
maxResults: [],
|
|
888
|
-
nextToken: []
|
|
889
|
-
})
|
|
890
|
-
);
|
|
891
|
-
b.m("POST").h(headers).b(body);
|
|
892
|
-
return b.build();
|
|
893
|
-
}, "se_ListCaseEditsCommand");
|
|
894
|
-
var se_ListCasesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
895
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
896
|
-
const headers = {
|
|
897
|
-
"content-type": "application/json"
|
|
898
|
-
};
|
|
899
|
-
b.bp("/v1/list-cases");
|
|
900
|
-
let body;
|
|
901
|
-
body = JSON.stringify(
|
|
902
|
-
(0, import_smithy_client.take)(input, {
|
|
903
|
-
maxResults: [],
|
|
904
|
-
nextToken: []
|
|
905
|
-
})
|
|
906
|
-
);
|
|
907
|
-
b.m("POST").h(headers).b(body);
|
|
908
|
-
return b.build();
|
|
909
|
-
}, "se_ListCasesCommand");
|
|
910
|
-
var se_ListCommentsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
911
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
912
|
-
const headers = {
|
|
913
|
-
"content-type": "application/json"
|
|
914
|
-
};
|
|
915
|
-
b.bp("/v1/cases/{caseId}/list-comments");
|
|
916
|
-
b.p("caseId", () => input.caseId, "{caseId}", false);
|
|
917
|
-
let body;
|
|
918
|
-
body = JSON.stringify(
|
|
919
|
-
(0, import_smithy_client.take)(input, {
|
|
920
|
-
maxResults: [],
|
|
921
|
-
nextToken: []
|
|
922
|
-
})
|
|
923
|
-
);
|
|
924
|
-
b.m("POST").h(headers).b(body);
|
|
925
|
-
return b.build();
|
|
926
|
-
}, "se_ListCommentsCommand");
|
|
927
|
-
var se_ListMembershipsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
928
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
929
|
-
const headers = {
|
|
930
|
-
"content-type": "application/json"
|
|
931
|
-
};
|
|
932
|
-
b.bp("/v1/memberships");
|
|
933
|
-
let body;
|
|
934
|
-
body = JSON.stringify(
|
|
935
|
-
(0, import_smithy_client.take)(input, {
|
|
936
|
-
maxResults: [],
|
|
937
|
-
nextToken: []
|
|
938
|
-
})
|
|
939
|
-
);
|
|
940
|
-
b.m("POST").h(headers).b(body);
|
|
941
|
-
return b.build();
|
|
942
|
-
}, "se_ListMembershipsCommand");
|
|
943
|
-
var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
944
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
945
|
-
const headers = {};
|
|
946
|
-
b.bp("/v1/tags/{resourceArn}");
|
|
947
|
-
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
948
|
-
let body;
|
|
949
|
-
b.m("GET").h(headers).b(body);
|
|
950
|
-
return b.build();
|
|
951
|
-
}, "se_ListTagsForResourceCommand");
|
|
952
|
-
var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
953
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
954
|
-
const headers = {
|
|
955
|
-
"content-type": "application/json"
|
|
956
|
-
};
|
|
957
|
-
b.bp("/v1/tags/{resourceArn}");
|
|
958
|
-
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
959
|
-
let body;
|
|
960
|
-
body = JSON.stringify(
|
|
961
|
-
(0, import_smithy_client.take)(input, {
|
|
962
|
-
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
|
|
963
|
-
})
|
|
964
|
-
);
|
|
965
|
-
b.m("POST").h(headers).b(body);
|
|
966
|
-
return b.build();
|
|
967
|
-
}, "se_TagResourceCommand");
|
|
968
|
-
var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
969
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
970
|
-
const headers = {};
|
|
971
|
-
b.bp("/v1/tags/{resourceArn}");
|
|
972
|
-
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
973
|
-
const query = (0, import_smithy_client.map)({
|
|
974
|
-
[_tK]: [(0, import_smithy_client.expectNonNull)(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []]
|
|
975
|
-
});
|
|
976
|
-
let body;
|
|
977
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
978
|
-
return b.build();
|
|
979
|
-
}, "se_UntagResourceCommand");
|
|
980
|
-
var se_UpdateCaseCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
981
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
982
|
-
const headers = {
|
|
983
|
-
"content-type": "application/json"
|
|
984
|
-
};
|
|
985
|
-
b.bp("/v1/cases/{caseId}/update-case");
|
|
986
|
-
b.p("caseId", () => input.caseId, "{caseId}", false);
|
|
987
|
-
let body;
|
|
988
|
-
body = JSON.stringify(
|
|
989
|
-
(0, import_smithy_client.take)(input, {
|
|
990
|
-
actualIncidentStartDate: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "actualIncidentStartDate"),
|
|
991
|
-
description: [],
|
|
992
|
-
engagementType: [],
|
|
993
|
-
impactedAccountsToAdd: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "impactedAccountsToAdd"),
|
|
994
|
-
impactedAccountsToDelete: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "impactedAccountsToDelete"),
|
|
995
|
-
impactedAwsRegionsToAdd: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "impactedAwsRegionsToAdd"),
|
|
996
|
-
impactedAwsRegionsToDelete: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "impactedAwsRegionsToDelete"),
|
|
997
|
-
impactedServicesToAdd: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "impactedServicesToAdd"),
|
|
998
|
-
impactedServicesToDelete: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "impactedServicesToDelete"),
|
|
999
|
-
reportedIncidentStartDate: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "reportedIncidentStartDate"),
|
|
1000
|
-
threatActorIpAddressesToAdd: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "threatActorIpAddressesToAdd"),
|
|
1001
|
-
threatActorIpAddressesToDelete: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "threatActorIpAddressesToDelete"),
|
|
1002
|
-
title: [],
|
|
1003
|
-
watchersToAdd: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "watchersToAdd"),
|
|
1004
|
-
watchersToDelete: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "watchersToDelete")
|
|
1005
|
-
})
|
|
1006
|
-
);
|
|
1007
|
-
b.m("POST").h(headers).b(body);
|
|
1008
|
-
return b.build();
|
|
1009
|
-
}, "se_UpdateCaseCommand");
|
|
1010
|
-
var se_UpdateCaseCommentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1011
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
1012
|
-
const headers = {
|
|
1013
|
-
"content-type": "application/json"
|
|
1014
|
-
};
|
|
1015
|
-
b.bp("/v1/cases/{caseId}/update-case-comment/{commentId}");
|
|
1016
|
-
b.p("caseId", () => input.caseId, "{caseId}", false);
|
|
1017
|
-
b.p("commentId", () => input.commentId, "{commentId}", false);
|
|
1018
|
-
let body;
|
|
1019
|
-
body = JSON.stringify(
|
|
1020
|
-
(0, import_smithy_client.take)(input, {
|
|
1021
|
-
body: []
|
|
1022
|
-
})
|
|
1023
|
-
);
|
|
1024
|
-
b.m("PUT").h(headers).b(body);
|
|
1025
|
-
return b.build();
|
|
1026
|
-
}, "se_UpdateCaseCommentCommand");
|
|
1027
|
-
var se_UpdateCaseStatusCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1028
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
1029
|
-
const headers = {
|
|
1030
|
-
"content-type": "application/json"
|
|
1031
|
-
};
|
|
1032
|
-
b.bp("/v1/cases/{caseId}/update-case-status");
|
|
1033
|
-
b.p("caseId", () => input.caseId, "{caseId}", false);
|
|
1034
|
-
let body;
|
|
1035
|
-
body = JSON.stringify(
|
|
1036
|
-
(0, import_smithy_client.take)(input, {
|
|
1037
|
-
caseStatus: []
|
|
1038
|
-
})
|
|
1039
|
-
);
|
|
1040
|
-
b.m("POST").h(headers).b(body);
|
|
1041
|
-
return b.build();
|
|
1042
|
-
}, "se_UpdateCaseStatusCommand");
|
|
1043
|
-
var se_UpdateMembershipCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1044
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
1045
|
-
const headers = {
|
|
1046
|
-
"content-type": "application/json"
|
|
1047
|
-
};
|
|
1048
|
-
b.bp("/v1/membership/{membershipId}/update-membership");
|
|
1049
|
-
b.p("membershipId", () => input.membershipId, "{membershipId}", false);
|
|
1050
|
-
let body;
|
|
1051
|
-
body = JSON.stringify(
|
|
1052
|
-
(0, import_smithy_client.take)(input, {
|
|
1053
|
-
incidentResponseTeam: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "incidentResponseTeam"),
|
|
1054
|
-
membershipAccountsConfigurationsUpdate: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "membershipAccountsConfigurationsUpdate"),
|
|
1055
|
-
membershipName: [],
|
|
1056
|
-
optInFeatures: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "optInFeatures"),
|
|
1057
|
-
undoMembershipCancellation: []
|
|
1058
|
-
})
|
|
1059
|
-
);
|
|
1060
|
-
b.m("PUT").h(headers).b(body);
|
|
1061
|
-
return b.build();
|
|
1062
|
-
}, "se_UpdateMembershipCommand");
|
|
1063
|
-
var se_UpdateResolverTypeCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1064
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
1065
|
-
const headers = {
|
|
1066
|
-
"content-type": "application/json"
|
|
1067
|
-
};
|
|
1068
|
-
b.bp("/v1/cases/{caseId}/update-resolver-type");
|
|
1069
|
-
b.p("caseId", () => input.caseId, "{caseId}", false);
|
|
1070
|
-
let body;
|
|
1071
|
-
body = JSON.stringify(
|
|
1072
|
-
(0, import_smithy_client.take)(input, {
|
|
1073
|
-
resolverType: []
|
|
1074
|
-
})
|
|
1075
|
-
);
|
|
1076
|
-
b.m("POST").h(headers).b(body);
|
|
1077
|
-
return b.build();
|
|
1078
|
-
}, "se_UpdateResolverTypeCommand");
|
|
1079
|
-
var de_BatchGetMemberAccountDetailsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1080
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1081
|
-
return de_CommandError(output, context);
|
|
1082
|
-
}
|
|
1083
|
-
const contents = (0, import_smithy_client.map)({
|
|
1084
|
-
$metadata: deserializeMetadata(output)
|
|
1085
|
-
});
|
|
1086
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1087
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1088
|
-
errors: import_smithy_client._json,
|
|
1089
|
-
items: import_smithy_client._json
|
|
1090
|
-
});
|
|
1091
|
-
Object.assign(contents, doc);
|
|
1092
|
-
return contents;
|
|
1093
|
-
}, "de_BatchGetMemberAccountDetailsCommand");
|
|
1094
|
-
var de_CancelMembershipCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1095
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1096
|
-
return de_CommandError(output, context);
|
|
1097
|
-
}
|
|
1098
|
-
const contents = (0, import_smithy_client.map)({
|
|
1099
|
-
$metadata: deserializeMetadata(output)
|
|
1100
|
-
});
|
|
1101
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1102
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1103
|
-
membershipId: import_smithy_client.expectString
|
|
1104
|
-
});
|
|
1105
|
-
Object.assign(contents, doc);
|
|
1106
|
-
return contents;
|
|
1107
|
-
}, "de_CancelMembershipCommand");
|
|
1108
|
-
var de_CloseCaseCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1109
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1110
|
-
return de_CommandError(output, context);
|
|
1111
|
-
}
|
|
1112
|
-
const contents = (0, import_smithy_client.map)({
|
|
1113
|
-
$metadata: deserializeMetadata(output)
|
|
1114
|
-
});
|
|
1115
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1116
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1117
|
-
caseStatus: import_smithy_client.expectString,
|
|
1118
|
-
closedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "closedDate")
|
|
1119
|
-
});
|
|
1120
|
-
Object.assign(contents, doc);
|
|
1121
|
-
return contents;
|
|
1122
|
-
}, "de_CloseCaseCommand");
|
|
1123
|
-
var de_CreateCaseCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1124
|
-
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1125
|
-
return de_CommandError(output, context);
|
|
1126
|
-
}
|
|
1127
|
-
const contents = (0, import_smithy_client.map)({
|
|
1128
|
-
$metadata: deserializeMetadata(output)
|
|
1129
|
-
});
|
|
1130
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1131
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1132
|
-
caseId: import_smithy_client.expectString
|
|
1133
|
-
});
|
|
1134
|
-
Object.assign(contents, doc);
|
|
1135
|
-
return contents;
|
|
1136
|
-
}, "de_CreateCaseCommand");
|
|
1137
|
-
var de_CreateCaseCommentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1138
|
-
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1139
|
-
return de_CommandError(output, context);
|
|
1140
|
-
}
|
|
1141
|
-
const contents = (0, import_smithy_client.map)({
|
|
1142
|
-
$metadata: deserializeMetadata(output)
|
|
1143
|
-
});
|
|
1144
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1145
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1146
|
-
commentId: import_smithy_client.expectString
|
|
1147
|
-
});
|
|
1148
|
-
Object.assign(contents, doc);
|
|
1149
|
-
return contents;
|
|
1150
|
-
}, "de_CreateCaseCommentCommand");
|
|
1151
|
-
var de_CreateMembershipCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1152
|
-
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1153
|
-
return de_CommandError(output, context);
|
|
1154
|
-
}
|
|
1155
|
-
const contents = (0, import_smithy_client.map)({
|
|
1156
|
-
$metadata: deserializeMetadata(output)
|
|
1157
|
-
});
|
|
1158
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1159
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1160
|
-
membershipId: import_smithy_client.expectString
|
|
1161
|
-
});
|
|
1162
|
-
Object.assign(contents, doc);
|
|
1163
|
-
return contents;
|
|
1164
|
-
}, "de_CreateMembershipCommand");
|
|
1165
|
-
var de_GetCaseCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1166
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1167
|
-
return de_CommandError(output, context);
|
|
1168
|
-
}
|
|
1169
|
-
const contents = (0, import_smithy_client.map)({
|
|
1170
|
-
$metadata: deserializeMetadata(output)
|
|
1171
|
-
});
|
|
1172
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1173
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1174
|
-
actualIncidentStartDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "actualIncidentStartDate"),
|
|
1175
|
-
caseArn: import_smithy_client.expectString,
|
|
1176
|
-
caseAttachments: /* @__PURE__ */ __name((_) => de_CaseAttachmentsList(_, context), "caseAttachments"),
|
|
1177
|
-
caseStatus: import_smithy_client.expectString,
|
|
1178
|
-
closedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "closedDate"),
|
|
1179
|
-
closureCode: import_smithy_client.expectString,
|
|
1180
|
-
createdDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdDate"),
|
|
1181
|
-
description: import_smithy_client.expectString,
|
|
1182
|
-
engagementType: import_smithy_client.expectString,
|
|
1183
|
-
impactedAccounts: import_smithy_client._json,
|
|
1184
|
-
impactedAwsRegions: import_smithy_client._json,
|
|
1185
|
-
impactedServices: import_smithy_client._json,
|
|
1186
|
-
lastUpdatedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "lastUpdatedDate"),
|
|
1187
|
-
pendingAction: import_smithy_client.expectString,
|
|
1188
|
-
reportedIncidentStartDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "reportedIncidentStartDate"),
|
|
1189
|
-
resolverType: import_smithy_client.expectString,
|
|
1190
|
-
threatActorIpAddresses: import_smithy_client._json,
|
|
1191
|
-
title: import_smithy_client.expectString,
|
|
1192
|
-
watchers: import_smithy_client._json
|
|
1193
|
-
});
|
|
1194
|
-
Object.assign(contents, doc);
|
|
1195
|
-
return contents;
|
|
1196
|
-
}, "de_GetCaseCommand");
|
|
1197
|
-
var de_GetCaseAttachmentDownloadUrlCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1198
|
-
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1199
|
-
return de_CommandError(output, context);
|
|
1200
|
-
}
|
|
1201
|
-
const contents = (0, import_smithy_client.map)({
|
|
1202
|
-
$metadata: deserializeMetadata(output)
|
|
1203
|
-
});
|
|
1204
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1205
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1206
|
-
attachmentPresignedUrl: import_smithy_client.expectString
|
|
1207
|
-
});
|
|
1208
|
-
Object.assign(contents, doc);
|
|
1209
|
-
return contents;
|
|
1210
|
-
}, "de_GetCaseAttachmentDownloadUrlCommand");
|
|
1211
|
-
var de_GetCaseAttachmentUploadUrlCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1212
|
-
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1213
|
-
return de_CommandError(output, context);
|
|
1214
|
-
}
|
|
1215
|
-
const contents = (0, import_smithy_client.map)({
|
|
1216
|
-
$metadata: deserializeMetadata(output)
|
|
1217
|
-
});
|
|
1218
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1219
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1220
|
-
attachmentPresignedUrl: import_smithy_client.expectString
|
|
1221
|
-
});
|
|
1222
|
-
Object.assign(contents, doc);
|
|
1223
|
-
return contents;
|
|
1224
|
-
}, "de_GetCaseAttachmentUploadUrlCommand");
|
|
1225
|
-
var de_GetMembershipCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1226
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1227
|
-
return de_CommandError(output, context);
|
|
1228
|
-
}
|
|
1229
|
-
const contents = (0, import_smithy_client.map)({
|
|
1230
|
-
$metadata: deserializeMetadata(output)
|
|
1231
|
-
});
|
|
1232
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1233
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1234
|
-
accountId: import_smithy_client.expectString,
|
|
1235
|
-
customerType: import_smithy_client.expectString,
|
|
1236
|
-
incidentResponseTeam: import_smithy_client._json,
|
|
1237
|
-
membershipAccountsConfigurations: import_smithy_client._json,
|
|
1238
|
-
membershipActivationTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "membershipActivationTimestamp"),
|
|
1239
|
-
membershipArn: import_smithy_client.expectString,
|
|
1240
|
-
membershipDeactivationTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "membershipDeactivationTimestamp"),
|
|
1241
|
-
membershipId: import_smithy_client.expectString,
|
|
1242
|
-
membershipName: import_smithy_client.expectString,
|
|
1243
|
-
membershipStatus: import_smithy_client.expectString,
|
|
1244
|
-
numberOfAccountsCovered: import_smithy_client.expectLong,
|
|
1245
|
-
optInFeatures: import_smithy_client._json,
|
|
1246
|
-
region: import_smithy_client.expectString
|
|
1247
|
-
});
|
|
1248
|
-
Object.assign(contents, doc);
|
|
1249
|
-
return contents;
|
|
1250
|
-
}, "de_GetMembershipCommand");
|
|
1251
|
-
var de_ListCaseEditsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1252
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1253
|
-
return de_CommandError(output, context);
|
|
1254
|
-
}
|
|
1255
|
-
const contents = (0, import_smithy_client.map)({
|
|
1256
|
-
$metadata: deserializeMetadata(output)
|
|
1257
|
-
});
|
|
1258
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1259
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1260
|
-
items: /* @__PURE__ */ __name((_) => de_CaseEditItems(_, context), "items"),
|
|
1261
|
-
nextToken: import_smithy_client.expectString,
|
|
1262
|
-
total: import_smithy_client.expectInt32
|
|
1263
|
-
});
|
|
1264
|
-
Object.assign(contents, doc);
|
|
1265
|
-
return contents;
|
|
1266
|
-
}, "de_ListCaseEditsCommand");
|
|
1267
|
-
var de_ListCasesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1268
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1269
|
-
return de_CommandError(output, context);
|
|
1270
|
-
}
|
|
1271
|
-
const contents = (0, import_smithy_client.map)({
|
|
1272
|
-
$metadata: deserializeMetadata(output)
|
|
1273
|
-
});
|
|
1274
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1275
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1276
|
-
items: /* @__PURE__ */ __name((_) => de_ListCasesItems(_, context), "items"),
|
|
1277
|
-
nextToken: import_smithy_client.expectString,
|
|
1278
|
-
total: import_smithy_client.expectLong
|
|
1279
|
-
});
|
|
1280
|
-
Object.assign(contents, doc);
|
|
1281
|
-
return contents;
|
|
1282
|
-
}, "de_ListCasesCommand");
|
|
1283
|
-
var de_ListCommentsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1284
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1285
|
-
return de_CommandError(output, context);
|
|
1286
|
-
}
|
|
1287
|
-
const contents = (0, import_smithy_client.map)({
|
|
1288
|
-
$metadata: deserializeMetadata(output)
|
|
1289
|
-
});
|
|
1290
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1291
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1292
|
-
items: /* @__PURE__ */ __name((_) => de_ListCommentsItems(_, context), "items"),
|
|
1293
|
-
nextToken: import_smithy_client.expectString,
|
|
1294
|
-
total: import_smithy_client.expectInt32
|
|
1295
|
-
});
|
|
1296
|
-
Object.assign(contents, doc);
|
|
1297
|
-
return contents;
|
|
1298
|
-
}, "de_ListCommentsCommand");
|
|
1299
|
-
var de_ListMembershipsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1300
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1301
|
-
return de_CommandError(output, context);
|
|
1302
|
-
}
|
|
1303
|
-
const contents = (0, import_smithy_client.map)({
|
|
1304
|
-
$metadata: deserializeMetadata(output)
|
|
1305
|
-
});
|
|
1306
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1307
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1308
|
-
items: import_smithy_client._json,
|
|
1309
|
-
nextToken: import_smithy_client.expectString
|
|
1310
|
-
});
|
|
1311
|
-
Object.assign(contents, doc);
|
|
1312
|
-
return contents;
|
|
1313
|
-
}, "de_ListMembershipsCommand");
|
|
1314
|
-
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1315
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1316
|
-
return de_CommandError(output, context);
|
|
1317
|
-
}
|
|
1318
|
-
const contents = (0, import_smithy_client.map)({
|
|
1319
|
-
$metadata: deserializeMetadata(output)
|
|
1320
|
-
});
|
|
1321
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1322
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1323
|
-
tags: import_smithy_client._json
|
|
1324
|
-
});
|
|
1325
|
-
Object.assign(contents, doc);
|
|
1326
|
-
return contents;
|
|
1327
|
-
}, "de_ListTagsForResourceCommand");
|
|
1328
|
-
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1329
|
-
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1330
|
-
return de_CommandError(output, context);
|
|
1331
|
-
}
|
|
1332
|
-
const contents = (0, import_smithy_client.map)({
|
|
1333
|
-
$metadata: deserializeMetadata(output)
|
|
1334
|
-
});
|
|
1335
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1336
|
-
return contents;
|
|
1337
|
-
}, "de_TagResourceCommand");
|
|
1338
|
-
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1339
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1340
|
-
return de_CommandError(output, context);
|
|
1341
|
-
}
|
|
1342
|
-
const contents = (0, import_smithy_client.map)({
|
|
1343
|
-
$metadata: deserializeMetadata(output)
|
|
1344
|
-
});
|
|
1345
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1346
|
-
return contents;
|
|
1347
|
-
}, "de_UntagResourceCommand");
|
|
1348
|
-
var de_UpdateCaseCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1349
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1350
|
-
return de_CommandError(output, context);
|
|
1351
|
-
}
|
|
1352
|
-
const contents = (0, import_smithy_client.map)({
|
|
1353
|
-
$metadata: deserializeMetadata(output)
|
|
1354
|
-
});
|
|
1355
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1356
|
-
return contents;
|
|
1357
|
-
}, "de_UpdateCaseCommand");
|
|
1358
|
-
var de_UpdateCaseCommentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1359
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1360
|
-
return de_CommandError(output, context);
|
|
1361
|
-
}
|
|
1362
|
-
const contents = (0, import_smithy_client.map)({
|
|
1363
|
-
$metadata: deserializeMetadata(output)
|
|
1364
|
-
});
|
|
1365
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1366
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1367
|
-
body: import_smithy_client.expectString,
|
|
1368
|
-
commentId: import_smithy_client.expectString
|
|
1369
|
-
});
|
|
1370
|
-
Object.assign(contents, doc);
|
|
1371
|
-
return contents;
|
|
1372
|
-
}, "de_UpdateCaseCommentCommand");
|
|
1373
|
-
var de_UpdateCaseStatusCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1374
|
-
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1375
|
-
return de_CommandError(output, context);
|
|
1376
|
-
}
|
|
1377
|
-
const contents = (0, import_smithy_client.map)({
|
|
1378
|
-
$metadata: deserializeMetadata(output)
|
|
1379
|
-
});
|
|
1380
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1381
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1382
|
-
caseStatus: import_smithy_client.expectString
|
|
1383
|
-
});
|
|
1384
|
-
Object.assign(contents, doc);
|
|
1385
|
-
return contents;
|
|
1386
|
-
}, "de_UpdateCaseStatusCommand");
|
|
1387
|
-
var de_UpdateMembershipCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1388
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1389
|
-
return de_CommandError(output, context);
|
|
1390
|
-
}
|
|
1391
|
-
const contents = (0, import_smithy_client.map)({
|
|
1392
|
-
$metadata: deserializeMetadata(output)
|
|
1393
|
-
});
|
|
1394
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1395
|
-
return contents;
|
|
1396
|
-
}, "de_UpdateMembershipCommand");
|
|
1397
|
-
var de_UpdateResolverTypeCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1398
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1399
|
-
return de_CommandError(output, context);
|
|
1400
|
-
}
|
|
1401
|
-
const contents = (0, import_smithy_client.map)({
|
|
1402
|
-
$metadata: deserializeMetadata(output)
|
|
1403
|
-
});
|
|
1404
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1405
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1406
|
-
caseId: import_smithy_client.expectString,
|
|
1407
|
-
caseStatus: import_smithy_client.expectString,
|
|
1408
|
-
resolverType: import_smithy_client.expectString
|
|
1409
|
-
});
|
|
1410
|
-
Object.assign(contents, doc);
|
|
1411
|
-
return contents;
|
|
1412
|
-
}, "de_UpdateResolverTypeCommand");
|
|
1413
|
-
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1414
|
-
const parsedOutput = {
|
|
1415
|
-
...output,
|
|
1416
|
-
body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
|
|
1417
|
-
};
|
|
1418
|
-
const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
|
|
1419
|
-
switch (errorCode) {
|
|
1420
|
-
case "AccessDeniedException":
|
|
1421
|
-
case "com.amazonaws.securityir#AccessDeniedException":
|
|
1422
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1423
|
-
case "ConflictException":
|
|
1424
|
-
case "com.amazonaws.securityir#ConflictException":
|
|
1425
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1426
|
-
case "InternalServerException":
|
|
1427
|
-
case "com.amazonaws.securityir#InternalServerException":
|
|
1428
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1429
|
-
case "InvalidTokenException":
|
|
1430
|
-
case "com.amazonaws.securityir#InvalidTokenException":
|
|
1431
|
-
throw await de_InvalidTokenExceptionRes(parsedOutput, context);
|
|
1432
|
-
case "ResourceNotFoundException":
|
|
1433
|
-
case "com.amazonaws.securityir#ResourceNotFoundException":
|
|
1434
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1435
|
-
case "SecurityIncidentResponseNotActiveException":
|
|
1436
|
-
case "com.amazonaws.securityir#SecurityIncidentResponseNotActiveException":
|
|
1437
|
-
throw await de_SecurityIncidentResponseNotActiveExceptionRes(parsedOutput, context);
|
|
1438
|
-
case "ServiceQuotaExceededException":
|
|
1439
|
-
case "com.amazonaws.securityir#ServiceQuotaExceededException":
|
|
1440
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1441
|
-
case "ThrottlingException":
|
|
1442
|
-
case "com.amazonaws.securityir#ThrottlingException":
|
|
1443
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1444
|
-
case "ValidationException":
|
|
1445
|
-
case "com.amazonaws.securityir#ValidationException":
|
|
1446
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1447
|
-
default:
|
|
1448
|
-
const parsedBody = parsedOutput.body;
|
|
1449
|
-
return throwDefaultError({
|
|
1450
|
-
output,
|
|
1451
|
-
parsedBody,
|
|
1452
|
-
errorCode
|
|
1453
|
-
});
|
|
1454
|
-
}
|
|
1455
|
-
}, "de_CommandError");
|
|
1456
|
-
var throwDefaultError = (0, import_smithy_client.withBaseException)(SecurityIRServiceException);
|
|
1457
|
-
var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1458
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1459
|
-
const data = parsedOutput.body;
|
|
1460
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1461
|
-
message: import_smithy_client.expectString
|
|
1462
|
-
});
|
|
1463
|
-
Object.assign(contents, doc);
|
|
1464
|
-
const exception = new AccessDeniedException({
|
|
1465
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1466
|
-
...contents
|
|
1467
|
-
});
|
|
1468
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1469
|
-
}, "de_AccessDeniedExceptionRes");
|
|
1470
|
-
var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1471
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1472
|
-
const data = parsedOutput.body;
|
|
1473
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1474
|
-
message: import_smithy_client.expectString,
|
|
1475
|
-
resourceId: import_smithy_client.expectString,
|
|
1476
|
-
resourceType: import_smithy_client.expectString
|
|
1477
|
-
});
|
|
1478
|
-
Object.assign(contents, doc);
|
|
1479
|
-
const exception = new ConflictException({
|
|
1480
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1481
|
-
...contents
|
|
1482
|
-
});
|
|
1483
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1484
|
-
}, "de_ConflictExceptionRes");
|
|
1485
|
-
var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1486
|
-
const contents = (0, import_smithy_client.map)({
|
|
1487
|
-
[_rAS]: [() => void 0 !== parsedOutput.headers[_ra], () => (0, import_smithy_client.strictParseInt32)(parsedOutput.headers[_ra])]
|
|
1488
|
-
});
|
|
1489
|
-
const data = parsedOutput.body;
|
|
1490
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1491
|
-
message: import_smithy_client.expectString
|
|
1492
|
-
});
|
|
1493
|
-
Object.assign(contents, doc);
|
|
1494
|
-
const exception = new InternalServerException({
|
|
1495
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1496
|
-
...contents
|
|
1497
|
-
});
|
|
1498
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1499
|
-
}, "de_InternalServerExceptionRes");
|
|
1500
|
-
var de_InvalidTokenExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1501
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1502
|
-
const data = parsedOutput.body;
|
|
1503
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1504
|
-
message: import_smithy_client.expectString
|
|
1505
|
-
});
|
|
1506
|
-
Object.assign(contents, doc);
|
|
1507
|
-
const exception = new InvalidTokenException({
|
|
1508
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1509
|
-
...contents
|
|
1510
|
-
});
|
|
1511
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1512
|
-
}, "de_InvalidTokenExceptionRes");
|
|
1513
|
-
var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1514
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1515
|
-
const data = parsedOutput.body;
|
|
1516
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1517
|
-
message: import_smithy_client.expectString
|
|
1518
|
-
});
|
|
1519
|
-
Object.assign(contents, doc);
|
|
1520
|
-
const exception = new ResourceNotFoundException({
|
|
1521
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1522
|
-
...contents
|
|
1523
|
-
});
|
|
1524
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1525
|
-
}, "de_ResourceNotFoundExceptionRes");
|
|
1526
|
-
var de_SecurityIncidentResponseNotActiveExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1527
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1528
|
-
const data = parsedOutput.body;
|
|
1529
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1530
|
-
message: import_smithy_client.expectString
|
|
1531
|
-
});
|
|
1532
|
-
Object.assign(contents, doc);
|
|
1533
|
-
const exception = new SecurityIncidentResponseNotActiveException({
|
|
1534
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1535
|
-
...contents
|
|
1536
|
-
});
|
|
1537
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1538
|
-
}, "de_SecurityIncidentResponseNotActiveExceptionRes");
|
|
1539
|
-
var de_ServiceQuotaExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1540
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1541
|
-
const data = parsedOutput.body;
|
|
1542
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1543
|
-
message: import_smithy_client.expectString,
|
|
1544
|
-
quotaCode: import_smithy_client.expectString,
|
|
1545
|
-
resourceId: import_smithy_client.expectString,
|
|
1546
|
-
resourceType: import_smithy_client.expectString,
|
|
1547
|
-
serviceCode: import_smithy_client.expectString
|
|
1548
|
-
});
|
|
1549
|
-
Object.assign(contents, doc);
|
|
1550
|
-
const exception = new ServiceQuotaExceededException({
|
|
1551
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1552
|
-
...contents
|
|
1553
|
-
});
|
|
1554
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1555
|
-
}, "de_ServiceQuotaExceededExceptionRes");
|
|
1556
|
-
var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1557
|
-
const contents = (0, import_smithy_client.map)({
|
|
1558
|
-
[_rAS]: [() => void 0 !== parsedOutput.headers[_ra], () => (0, import_smithy_client.strictParseInt32)(parsedOutput.headers[_ra])]
|
|
1559
|
-
});
|
|
1560
|
-
const data = parsedOutput.body;
|
|
1561
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1562
|
-
message: import_smithy_client.expectString,
|
|
1563
|
-
quotaCode: import_smithy_client.expectString,
|
|
1564
|
-
serviceCode: import_smithy_client.expectString
|
|
1565
|
-
});
|
|
1566
|
-
Object.assign(contents, doc);
|
|
1567
|
-
const exception = new ThrottlingException({
|
|
1568
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1569
|
-
...contents
|
|
1570
|
-
});
|
|
1571
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1572
|
-
}, "de_ThrottlingExceptionRes");
|
|
1573
|
-
var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1574
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1575
|
-
const data = parsedOutput.body;
|
|
1576
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1577
|
-
fieldList: import_smithy_client._json,
|
|
1578
|
-
message: import_smithy_client.expectString,
|
|
1579
|
-
reason: import_smithy_client.expectString
|
|
1580
|
-
});
|
|
1581
|
-
Object.assign(contents, doc);
|
|
1582
|
-
const exception = new ValidationException({
|
|
1583
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1584
|
-
...contents
|
|
1585
|
-
});
|
|
1586
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1587
|
-
}, "de_ValidationExceptionRes");
|
|
1588
|
-
var de_CaseAttachmentAttributes = /* @__PURE__ */ __name((output, context) => {
|
|
1589
|
-
return (0, import_smithy_client.take)(output, {
|
|
1590
|
-
attachmentId: import_smithy_client.expectString,
|
|
1591
|
-
attachmentStatus: import_smithy_client.expectString,
|
|
1592
|
-
createdDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdDate"),
|
|
1593
|
-
creator: import_smithy_client.expectString,
|
|
1594
|
-
fileName: import_smithy_client.expectString
|
|
1595
|
-
});
|
|
1596
|
-
}, "de_CaseAttachmentAttributes");
|
|
1597
|
-
var de_CaseAttachmentsList = /* @__PURE__ */ __name((output, context) => {
|
|
1598
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1599
|
-
return de_CaseAttachmentAttributes(entry, context);
|
|
1600
|
-
});
|
|
1601
|
-
return retVal;
|
|
1602
|
-
}, "de_CaseAttachmentsList");
|
|
1603
|
-
var de_CaseEditItem = /* @__PURE__ */ __name((output, context) => {
|
|
1604
|
-
return (0, import_smithy_client.take)(output, {
|
|
1605
|
-
action: import_smithy_client.expectString,
|
|
1606
|
-
eventTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "eventTimestamp"),
|
|
1607
|
-
message: import_smithy_client.expectString,
|
|
1608
|
-
principal: import_smithy_client.expectString
|
|
1609
|
-
});
|
|
1610
|
-
}, "de_CaseEditItem");
|
|
1611
|
-
var de_CaseEditItems = /* @__PURE__ */ __name((output, context) => {
|
|
1612
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1613
|
-
return de_CaseEditItem(entry, context);
|
|
1614
|
-
});
|
|
1615
|
-
return retVal;
|
|
1616
|
-
}, "de_CaseEditItems");
|
|
1617
|
-
var de_ListCasesItem = /* @__PURE__ */ __name((output, context) => {
|
|
1618
|
-
return (0, import_smithy_client.take)(output, {
|
|
1619
|
-
caseArn: import_smithy_client.expectString,
|
|
1620
|
-
caseId: import_smithy_client.expectString,
|
|
1621
|
-
caseStatus: import_smithy_client.expectString,
|
|
1622
|
-
closedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "closedDate"),
|
|
1623
|
-
createdDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdDate"),
|
|
1624
|
-
engagementType: import_smithy_client.expectString,
|
|
1625
|
-
lastUpdatedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "lastUpdatedDate"),
|
|
1626
|
-
pendingAction: import_smithy_client.expectString,
|
|
1627
|
-
resolverType: import_smithy_client.expectString,
|
|
1628
|
-
title: import_smithy_client.expectString
|
|
1629
|
-
});
|
|
1630
|
-
}, "de_ListCasesItem");
|
|
1631
|
-
var de_ListCasesItems = /* @__PURE__ */ __name((output, context) => {
|
|
1632
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1633
|
-
return de_ListCasesItem(entry, context);
|
|
1634
|
-
});
|
|
1635
|
-
return retVal;
|
|
1636
|
-
}, "de_ListCasesItems");
|
|
1637
|
-
var de_ListCommentsItem = /* @__PURE__ */ __name((output, context) => {
|
|
1638
|
-
return (0, import_smithy_client.take)(output, {
|
|
1639
|
-
body: import_smithy_client.expectString,
|
|
1640
|
-
commentId: import_smithy_client.expectString,
|
|
1641
|
-
createdDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdDate"),
|
|
1642
|
-
creator: import_smithy_client.expectString,
|
|
1643
|
-
lastUpdatedBy: import_smithy_client.expectString,
|
|
1644
|
-
lastUpdatedDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "lastUpdatedDate")
|
|
1645
|
-
});
|
|
1646
|
-
}, "de_ListCommentsItem");
|
|
1647
|
-
var de_ListCommentsItems = /* @__PURE__ */ __name((output, context) => {
|
|
1648
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1649
|
-
return de_ListCommentsItem(entry, context);
|
|
1650
|
-
});
|
|
1651
|
-
return retVal;
|
|
1652
|
-
}, "de_ListCommentsItems");
|
|
1653
|
-
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
1654
|
-
httpStatusCode: output.statusCode,
|
|
1655
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1656
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1657
|
-
cfId: output.headers["x-amz-cf-id"]
|
|
1658
|
-
}), "deserializeMetadata");
|
|
1659
|
-
var _rAS = "retryAfterSeconds";
|
|
1660
|
-
var _ra = "retry-after";
|
|
1661
|
-
var _tK = "tagKeys";
|
|
1662
|
-
|
|
1663
|
-
// src/commands/BatchGetMemberAccountDetailsCommand.ts
|
|
1664
|
-
var BatchGetMemberAccountDetailsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1665
|
-
return [
|
|
1666
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1667
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1668
|
-
];
|
|
1669
|
-
}).s("SecurityIncidentResponse", "BatchGetMemberAccountDetails", {}).n("SecurityIRClient", "BatchGetMemberAccountDetailsCommand").f(void 0, void 0).ser(se_BatchGetMemberAccountDetailsCommand).de(de_BatchGetMemberAccountDetailsCommand).build() {
|
|
1670
|
-
static {
|
|
1671
|
-
__name(this, "BatchGetMemberAccountDetailsCommand");
|
|
1672
|
-
}
|
|
173
|
+
const MembershipAccountRelationshipType = {
|
|
174
|
+
ORGANIZATION: "Organization",
|
|
175
|
+
UNRELATED: "Unrelated",
|
|
1673
176
|
};
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
})
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
177
|
+
class ConflictException extends SecurityIRServiceException {
|
|
178
|
+
name = "ConflictException";
|
|
179
|
+
$fault = "client";
|
|
180
|
+
resourceId;
|
|
181
|
+
resourceType;
|
|
182
|
+
constructor(opts) {
|
|
183
|
+
super({
|
|
184
|
+
name: "ConflictException",
|
|
185
|
+
$fault: "client",
|
|
186
|
+
...opts,
|
|
187
|
+
});
|
|
188
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
189
|
+
this.resourceId = opts.resourceId;
|
|
190
|
+
this.resourceType = opts.resourceType;
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
class InternalServerException extends SecurityIRServiceException {
|
|
194
|
+
name = "InternalServerException";
|
|
195
|
+
$fault = "server";
|
|
196
|
+
$retryable = {};
|
|
197
|
+
retryAfterSeconds;
|
|
198
|
+
constructor(opts) {
|
|
199
|
+
super({
|
|
200
|
+
name: "InternalServerException",
|
|
201
|
+
$fault: "server",
|
|
202
|
+
...opts,
|
|
203
|
+
});
|
|
204
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
205
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
class InvalidTokenException extends SecurityIRServiceException {
|
|
209
|
+
name = "InvalidTokenException";
|
|
210
|
+
$fault = "client";
|
|
211
|
+
$retryable = {};
|
|
212
|
+
constructor(opts) {
|
|
213
|
+
super({
|
|
214
|
+
name: "InvalidTokenException",
|
|
215
|
+
$fault: "client",
|
|
216
|
+
...opts,
|
|
217
|
+
});
|
|
218
|
+
Object.setPrototypeOf(this, InvalidTokenException.prototype);
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
class ResourceNotFoundException extends SecurityIRServiceException {
|
|
222
|
+
name = "ResourceNotFoundException";
|
|
223
|
+
$fault = "client";
|
|
224
|
+
constructor(opts) {
|
|
225
|
+
super({
|
|
226
|
+
name: "ResourceNotFoundException",
|
|
227
|
+
$fault: "client",
|
|
228
|
+
...opts,
|
|
229
|
+
});
|
|
230
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
class SecurityIncidentResponseNotActiveException extends SecurityIRServiceException {
|
|
234
|
+
name = "SecurityIncidentResponseNotActiveException";
|
|
235
|
+
$fault = "client";
|
|
236
|
+
constructor(opts) {
|
|
237
|
+
super({
|
|
238
|
+
name: "SecurityIncidentResponseNotActiveException",
|
|
239
|
+
$fault: "client",
|
|
240
|
+
...opts,
|
|
241
|
+
});
|
|
242
|
+
Object.setPrototypeOf(this, SecurityIncidentResponseNotActiveException.prototype);
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
class ServiceQuotaExceededException extends SecurityIRServiceException {
|
|
246
|
+
name = "ServiceQuotaExceededException";
|
|
247
|
+
$fault = "client";
|
|
248
|
+
resourceId;
|
|
249
|
+
resourceType;
|
|
250
|
+
serviceCode;
|
|
251
|
+
quotaCode;
|
|
252
|
+
constructor(opts) {
|
|
253
|
+
super({
|
|
254
|
+
name: "ServiceQuotaExceededException",
|
|
255
|
+
$fault: "client",
|
|
256
|
+
...opts,
|
|
257
|
+
});
|
|
258
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
259
|
+
this.resourceId = opts.resourceId;
|
|
260
|
+
this.resourceType = opts.resourceType;
|
|
261
|
+
this.serviceCode = opts.serviceCode;
|
|
262
|
+
this.quotaCode = opts.quotaCode;
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
class ThrottlingException extends SecurityIRServiceException {
|
|
266
|
+
name = "ThrottlingException";
|
|
267
|
+
$fault = "client";
|
|
268
|
+
$retryable = {
|
|
269
|
+
throttling: true,
|
|
270
|
+
};
|
|
271
|
+
serviceCode;
|
|
272
|
+
quotaCode;
|
|
273
|
+
retryAfterSeconds;
|
|
274
|
+
constructor(opts) {
|
|
275
|
+
super({
|
|
276
|
+
name: "ThrottlingException",
|
|
277
|
+
$fault: "client",
|
|
278
|
+
...opts,
|
|
279
|
+
});
|
|
280
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
281
|
+
this.serviceCode = opts.serviceCode;
|
|
282
|
+
this.quotaCode = opts.quotaCode;
|
|
283
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
const ValidationExceptionReason = {
|
|
287
|
+
CANNOT_PARSE: "CANNOT_PARSE",
|
|
288
|
+
FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
|
|
289
|
+
OTHER: "OTHER",
|
|
290
|
+
UNKNOWN_OPERATION: "UNKNOWN_OPERATION",
|
|
1688
291
|
};
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
})
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
292
|
+
class ValidationException extends SecurityIRServiceException {
|
|
293
|
+
name = "ValidationException";
|
|
294
|
+
$fault = "client";
|
|
295
|
+
reason;
|
|
296
|
+
fieldList;
|
|
297
|
+
constructor(opts) {
|
|
298
|
+
super({
|
|
299
|
+
name: "ValidationException",
|
|
300
|
+
$fault: "client",
|
|
301
|
+
...opts,
|
|
302
|
+
});
|
|
303
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
304
|
+
this.reason = opts.reason;
|
|
305
|
+
this.fieldList = opts.fieldList;
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
const CaseStatus = {
|
|
309
|
+
ACKNOWLEDGED: "Acknowledged",
|
|
310
|
+
CLOSED: "Closed",
|
|
311
|
+
CONTAINMENT_ERADICATION_AND_RECOVERY: "Containment, Eradication and Recovery",
|
|
312
|
+
DETECTION_AND_ANALYSIS: "Detection and Analysis",
|
|
313
|
+
POST_INCIDENT_ACTIVITIES: "Post-incident Activities",
|
|
314
|
+
READY_TO_CLOSE: "Ready to Close",
|
|
315
|
+
SUBMITTED: "Submitted",
|
|
1703
316
|
};
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
var CreateCaseCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1710
|
-
return [
|
|
1711
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1712
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1713
|
-
];
|
|
1714
|
-
}).s("SecurityIncidentResponse", "CreateCase", {}).n("SecurityIRClient", "CreateCaseCommand").f(CreateCaseRequestFilterSensitiveLog, void 0).ser(se_CreateCaseCommand).de(de_CreateCaseCommand).build() {
|
|
1715
|
-
static {
|
|
1716
|
-
__name(this, "CreateCaseCommand");
|
|
1717
|
-
}
|
|
317
|
+
const EngagementType = {
|
|
318
|
+
INVESTIGATION: "Investigation",
|
|
319
|
+
SECURITY_INCIDENT: "Security Incident",
|
|
1718
320
|
};
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
var CreateCaseCommentCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1725
|
-
return [
|
|
1726
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1727
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1728
|
-
];
|
|
1729
|
-
}).s("SecurityIncidentResponse", "CreateCaseComment", {}).n("SecurityIRClient", "CreateCaseCommentCommand").f(CreateCaseCommentRequestFilterSensitiveLog, void 0).ser(se_CreateCaseCommentCommand).de(de_CreateCaseCommentCommand).build() {
|
|
1730
|
-
static {
|
|
1731
|
-
__name(this, "CreateCaseCommentCommand");
|
|
1732
|
-
}
|
|
321
|
+
const ResolverType = {
|
|
322
|
+
AWS: "AWS",
|
|
323
|
+
SELF: "Self",
|
|
1733
324
|
};
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
var CreateMembershipCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1740
|
-
return [
|
|
1741
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1742
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1743
|
-
];
|
|
1744
|
-
}).s("SecurityIncidentResponse", "CreateMembership", {}).n("SecurityIRClient", "CreateMembershipCommand").f(CreateMembershipRequestFilterSensitiveLog, void 0).ser(se_CreateMembershipCommand).de(de_CreateMembershipCommand).build() {
|
|
1745
|
-
static {
|
|
1746
|
-
__name(this, "CreateMembershipCommand");
|
|
1747
|
-
}
|
|
325
|
+
const CaseAttachmentStatus = {
|
|
326
|
+
FAILED: "Failed",
|
|
327
|
+
PENDING: "Pending",
|
|
328
|
+
VERIFIED: "Verified",
|
|
1748
329
|
};
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
var GetCaseAttachmentDownloadUrlCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1755
|
-
return [
|
|
1756
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1757
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1758
|
-
];
|
|
1759
|
-
}).s("SecurityIncidentResponse", "GetCaseAttachmentDownloadUrl", {}).n("SecurityIRClient", "GetCaseAttachmentDownloadUrlCommand").f(void 0, GetCaseAttachmentDownloadUrlResponseFilterSensitiveLog).ser(se_GetCaseAttachmentDownloadUrlCommand).de(de_GetCaseAttachmentDownloadUrlCommand).build() {
|
|
1760
|
-
static {
|
|
1761
|
-
__name(this, "GetCaseAttachmentDownloadUrlCommand");
|
|
1762
|
-
}
|
|
330
|
+
const ClosureCode = {
|
|
331
|
+
DUPLICATE: "Duplicate",
|
|
332
|
+
FALSE_POSITIVE: "False Positive",
|
|
333
|
+
INVESTIGATION_COMPLETED: "Investigation Completed",
|
|
334
|
+
NOT_RESOLVED: "Not Resolved",
|
|
1763
335
|
};
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
var GetCaseAttachmentUploadUrlCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1770
|
-
return [
|
|
1771
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1772
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1773
|
-
];
|
|
1774
|
-
}).s("SecurityIncidentResponse", "GetCaseAttachmentUploadUrl", {}).n("SecurityIRClient", "GetCaseAttachmentUploadUrlCommand").f(GetCaseAttachmentUploadUrlRequestFilterSensitiveLog, GetCaseAttachmentUploadUrlResponseFilterSensitiveLog).ser(se_GetCaseAttachmentUploadUrlCommand).de(de_GetCaseAttachmentUploadUrlCommand).build() {
|
|
1775
|
-
static {
|
|
1776
|
-
__name(this, "GetCaseAttachmentUploadUrlCommand");
|
|
1777
|
-
}
|
|
336
|
+
const PendingAction = {
|
|
337
|
+
CUSTOMER: "Customer",
|
|
338
|
+
NONE: "None",
|
|
1778
339
|
};
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
var GetCaseCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1785
|
-
return [
|
|
1786
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1787
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1788
|
-
];
|
|
1789
|
-
}).s("SecurityIncidentResponse", "GetCase", {}).n("SecurityIRClient", "GetCaseCommand").f(void 0, GetCaseResponseFilterSensitiveLog).ser(se_GetCaseCommand).de(de_GetCaseCommand).build() {
|
|
1790
|
-
static {
|
|
1791
|
-
__name(this, "GetCaseCommand");
|
|
1792
|
-
}
|
|
340
|
+
const SelfManagedCaseStatus = {
|
|
341
|
+
CONTAINMENT_ERADICATION_AND_RECOVERY: "Containment, Eradication and Recovery",
|
|
342
|
+
DETECTION_AND_ANALYSIS: "Detection and Analysis",
|
|
343
|
+
POST_INCIDENT_ACTIVITIES: "Post-incident Activities",
|
|
344
|
+
SUBMITTED: "Submitted",
|
|
1793
345
|
};
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
var GetMembershipCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1800
|
-
return [
|
|
1801
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1802
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1803
|
-
];
|
|
1804
|
-
}).s("SecurityIncidentResponse", "GetMembership", {}).n("SecurityIRClient", "GetMembershipCommand").f(void 0, GetMembershipResponseFilterSensitiveLog).ser(se_GetMembershipCommand).de(de_GetMembershipCommand).build() {
|
|
1805
|
-
static {
|
|
1806
|
-
__name(this, "GetMembershipCommand");
|
|
1807
|
-
}
|
|
346
|
+
const OptInFeatureName = {
|
|
347
|
+
TRIAGE: "Triage",
|
|
1808
348
|
};
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
var ListCaseEditsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1815
|
-
return [
|
|
1816
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1817
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1818
|
-
];
|
|
1819
|
-
}).s("SecurityIncidentResponse", "ListCaseEdits", {}).n("SecurityIRClient", "ListCaseEditsCommand").f(void 0, void 0).ser(se_ListCaseEditsCommand).de(de_ListCaseEditsCommand).build() {
|
|
1820
|
-
static {
|
|
1821
|
-
__name(this, "ListCaseEditsCommand");
|
|
1822
|
-
}
|
|
349
|
+
const CustomerType = {
|
|
350
|
+
ORGANIZATION: "Organization",
|
|
351
|
+
STANDALONE: "Standalone",
|
|
1823
352
|
};
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
var ListCasesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1830
|
-
return [
|
|
1831
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1832
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1833
|
-
];
|
|
1834
|
-
}).s("SecurityIncidentResponse", "ListCases", {}).n("SecurityIRClient", "ListCasesCommand").f(void 0, ListCasesResponseFilterSensitiveLog).ser(se_ListCasesCommand).de(de_ListCasesCommand).build() {
|
|
1835
|
-
static {
|
|
1836
|
-
__name(this, "ListCasesCommand");
|
|
1837
|
-
}
|
|
353
|
+
const MembershipStatus = {
|
|
354
|
+
ACTIVE: "Active",
|
|
355
|
+
CANCELLED: "Cancelled",
|
|
356
|
+
TERMINATED: "Terminated",
|
|
1838
357
|
};
|
|
358
|
+
const ThreatActorIpFilterSensitiveLog = (obj) => ({
|
|
359
|
+
...obj,
|
|
360
|
+
...(obj.ipAddress && { ipAddress: smithyClient.SENSITIVE_STRING }),
|
|
361
|
+
});
|
|
362
|
+
const WatcherFilterSensitiveLog = (obj) => ({
|
|
363
|
+
...obj,
|
|
364
|
+
...(obj.email && { email: smithyClient.SENSITIVE_STRING }),
|
|
365
|
+
...(obj.name && { name: smithyClient.SENSITIVE_STRING }),
|
|
366
|
+
...(obj.jobTitle && { jobTitle: smithyClient.SENSITIVE_STRING }),
|
|
367
|
+
});
|
|
368
|
+
const CreateCaseRequestFilterSensitiveLog = (obj) => ({
|
|
369
|
+
...obj,
|
|
370
|
+
...(obj.title && { title: smithyClient.SENSITIVE_STRING }),
|
|
371
|
+
...(obj.description && { description: smithyClient.SENSITIVE_STRING }),
|
|
372
|
+
...(obj.watchers && { watchers: obj.watchers.map((item) => WatcherFilterSensitiveLog(item)) }),
|
|
373
|
+
...(obj.threatActorIpAddresses && {
|
|
374
|
+
threatActorIpAddresses: obj.threatActorIpAddresses.map((item) => ThreatActorIpFilterSensitiveLog(item)),
|
|
375
|
+
}),
|
|
376
|
+
});
|
|
377
|
+
const CreateCaseCommentRequestFilterSensitiveLog = (obj) => ({
|
|
378
|
+
...obj,
|
|
379
|
+
...(obj.body && { body: smithyClient.SENSITIVE_STRING }),
|
|
380
|
+
});
|
|
381
|
+
const CaseAttachmentAttributesFilterSensitiveLog = (obj) => ({
|
|
382
|
+
...obj,
|
|
383
|
+
...(obj.fileName && { fileName: smithyClient.SENSITIVE_STRING }),
|
|
384
|
+
});
|
|
385
|
+
const GetCaseResponseFilterSensitiveLog = (obj) => ({
|
|
386
|
+
...obj,
|
|
387
|
+
...(obj.title && { title: smithyClient.SENSITIVE_STRING }),
|
|
388
|
+
...(obj.description && { description: smithyClient.SENSITIVE_STRING }),
|
|
389
|
+
...(obj.threatActorIpAddresses && {
|
|
390
|
+
threatActorIpAddresses: obj.threatActorIpAddresses.map((item) => ThreatActorIpFilterSensitiveLog(item)),
|
|
391
|
+
}),
|
|
392
|
+
...(obj.watchers && { watchers: obj.watchers.map((item) => WatcherFilterSensitiveLog(item)) }),
|
|
393
|
+
...(obj.caseAttachments && {
|
|
394
|
+
caseAttachments: obj.caseAttachments.map((item) => CaseAttachmentAttributesFilterSensitiveLog(item)),
|
|
395
|
+
}),
|
|
396
|
+
});
|
|
397
|
+
const GetCaseAttachmentDownloadUrlResponseFilterSensitiveLog = (obj) => ({
|
|
398
|
+
...obj,
|
|
399
|
+
...(obj.attachmentPresignedUrl && { attachmentPresignedUrl: smithyClient.SENSITIVE_STRING }),
|
|
400
|
+
});
|
|
401
|
+
const GetCaseAttachmentUploadUrlRequestFilterSensitiveLog = (obj) => ({
|
|
402
|
+
...obj,
|
|
403
|
+
...(obj.fileName && { fileName: smithyClient.SENSITIVE_STRING }),
|
|
404
|
+
});
|
|
405
|
+
const GetCaseAttachmentUploadUrlResponseFilterSensitiveLog = (obj) => ({
|
|
406
|
+
...obj,
|
|
407
|
+
...(obj.attachmentPresignedUrl && { attachmentPresignedUrl: smithyClient.SENSITIVE_STRING }),
|
|
408
|
+
});
|
|
409
|
+
const ListCasesItemFilterSensitiveLog = (obj) => ({
|
|
410
|
+
...obj,
|
|
411
|
+
...(obj.title && { title: smithyClient.SENSITIVE_STRING }),
|
|
412
|
+
});
|
|
413
|
+
const ListCasesResponseFilterSensitiveLog = (obj) => ({
|
|
414
|
+
...obj,
|
|
415
|
+
...(obj.items && { items: obj.items.map((item) => ListCasesItemFilterSensitiveLog(item)) }),
|
|
416
|
+
});
|
|
417
|
+
const ListCommentsItemFilterSensitiveLog = (obj) => ({
|
|
418
|
+
...obj,
|
|
419
|
+
...(obj.body && { body: smithyClient.SENSITIVE_STRING }),
|
|
420
|
+
});
|
|
421
|
+
const ListCommentsResponseFilterSensitiveLog = (obj) => ({
|
|
422
|
+
...obj,
|
|
423
|
+
...(obj.items && { items: obj.items.map((item) => ListCommentsItemFilterSensitiveLog(item)) }),
|
|
424
|
+
});
|
|
425
|
+
const UpdateCaseRequestFilterSensitiveLog = (obj) => ({
|
|
426
|
+
...obj,
|
|
427
|
+
...(obj.title && { title: smithyClient.SENSITIVE_STRING }),
|
|
428
|
+
...(obj.description && { description: smithyClient.SENSITIVE_STRING }),
|
|
429
|
+
...(obj.watchersToAdd && { watchersToAdd: obj.watchersToAdd.map((item) => WatcherFilterSensitiveLog(item)) }),
|
|
430
|
+
...(obj.watchersToDelete && {
|
|
431
|
+
watchersToDelete: obj.watchersToDelete.map((item) => WatcherFilterSensitiveLog(item)),
|
|
432
|
+
}),
|
|
433
|
+
...(obj.threatActorIpAddressesToAdd && {
|
|
434
|
+
threatActorIpAddressesToAdd: obj.threatActorIpAddressesToAdd.map((item) => ThreatActorIpFilterSensitiveLog(item)),
|
|
435
|
+
}),
|
|
436
|
+
...(obj.threatActorIpAddressesToDelete && {
|
|
437
|
+
threatActorIpAddressesToDelete: obj.threatActorIpAddressesToDelete.map((item) => ThreatActorIpFilterSensitiveLog(item)),
|
|
438
|
+
}),
|
|
439
|
+
});
|
|
440
|
+
const UpdateCaseCommentRequestFilterSensitiveLog = (obj) => ({
|
|
441
|
+
...obj,
|
|
442
|
+
...(obj.body && { body: smithyClient.SENSITIVE_STRING }),
|
|
443
|
+
});
|
|
444
|
+
const UpdateCaseCommentResponseFilterSensitiveLog = (obj) => ({
|
|
445
|
+
...obj,
|
|
446
|
+
...(obj.body && { body: smithyClient.SENSITIVE_STRING }),
|
|
447
|
+
});
|
|
448
|
+
const IncidentResponderFilterSensitiveLog = (obj) => ({
|
|
449
|
+
...obj,
|
|
450
|
+
...(obj.name && { name: smithyClient.SENSITIVE_STRING }),
|
|
451
|
+
...(obj.jobTitle && { jobTitle: smithyClient.SENSITIVE_STRING }),
|
|
452
|
+
...(obj.email && { email: smithyClient.SENSITIVE_STRING }),
|
|
453
|
+
});
|
|
454
|
+
const CreateMembershipRequestFilterSensitiveLog = (obj) => ({
|
|
455
|
+
...obj,
|
|
456
|
+
...(obj.membershipName && { membershipName: smithyClient.SENSITIVE_STRING }),
|
|
457
|
+
...(obj.incidentResponseTeam && {
|
|
458
|
+
incidentResponseTeam: obj.incidentResponseTeam.map((item) => IncidentResponderFilterSensitiveLog(item)),
|
|
459
|
+
}),
|
|
460
|
+
});
|
|
461
|
+
const GetMembershipResponseFilterSensitiveLog = (obj) => ({
|
|
462
|
+
...obj,
|
|
463
|
+
...(obj.membershipName && { membershipName: smithyClient.SENSITIVE_STRING }),
|
|
464
|
+
...(obj.incidentResponseTeam && {
|
|
465
|
+
incidentResponseTeam: obj.incidentResponseTeam.map((item) => IncidentResponderFilterSensitiveLog(item)),
|
|
466
|
+
}),
|
|
467
|
+
});
|
|
468
|
+
const UpdateMembershipRequestFilterSensitiveLog = (obj) => ({
|
|
469
|
+
...obj,
|
|
470
|
+
...(obj.membershipName && { membershipName: smithyClient.SENSITIVE_STRING }),
|
|
471
|
+
...(obj.incidentResponseTeam && {
|
|
472
|
+
incidentResponseTeam: obj.incidentResponseTeam.map((item) => IncidentResponderFilterSensitiveLog(item)),
|
|
473
|
+
}),
|
|
474
|
+
});
|
|
1839
475
|
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
(
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
476
|
+
const se_BatchGetMemberAccountDetailsCommand = async (input, context) => {
|
|
477
|
+
const b = core.requestBuilder(input, context);
|
|
478
|
+
const headers = {
|
|
479
|
+
"content-type": "application/json",
|
|
480
|
+
};
|
|
481
|
+
b.bp("/v1/membership/{membershipId}/batch-member-details");
|
|
482
|
+
b.p("membershipId", () => input.membershipId, "{membershipId}", false);
|
|
483
|
+
let body;
|
|
484
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
485
|
+
accountIds: (_) => smithyClient._json(_),
|
|
486
|
+
}));
|
|
487
|
+
b.m("POST").h(headers).b(body);
|
|
488
|
+
return b.build();
|
|
1853
489
|
};
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1863
|
-
];
|
|
1864
|
-
}).s("SecurityIncidentResponse", "ListMemberships", {}).n("SecurityIRClient", "ListMembershipsCommand").f(void 0, void 0).ser(se_ListMembershipsCommand).de(de_ListMembershipsCommand).build() {
|
|
1865
|
-
static {
|
|
1866
|
-
__name(this, "ListMembershipsCommand");
|
|
1867
|
-
}
|
|
490
|
+
const se_CancelMembershipCommand = async (input, context) => {
|
|
491
|
+
const b = core.requestBuilder(input, context);
|
|
492
|
+
const headers = {};
|
|
493
|
+
b.bp("/v1/membership/{membershipId}");
|
|
494
|
+
b.p("membershipId", () => input.membershipId, "{membershipId}", false);
|
|
495
|
+
let body;
|
|
496
|
+
b.m("PUT").h(headers).b(body);
|
|
497
|
+
return b.build();
|
|
1868
498
|
};
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1878
|
-
];
|
|
1879
|
-
}).s("SecurityIncidentResponse", "ListTagsForResource", {}).n("SecurityIRClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
|
|
1880
|
-
static {
|
|
1881
|
-
__name(this, "ListTagsForResourceCommand");
|
|
1882
|
-
}
|
|
499
|
+
const se_CloseCaseCommand = async (input, context) => {
|
|
500
|
+
const b = core.requestBuilder(input, context);
|
|
501
|
+
const headers = {};
|
|
502
|
+
b.bp("/v1/cases/{caseId}/close-case");
|
|
503
|
+
b.p("caseId", () => input.caseId, "{caseId}", false);
|
|
504
|
+
let body;
|
|
505
|
+
b.m("POST").h(headers).b(body);
|
|
506
|
+
return b.build();
|
|
1883
507
|
};
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
508
|
+
const se_CreateCaseCommand = async (input, context) => {
|
|
509
|
+
const b = core.requestBuilder(input, context);
|
|
510
|
+
const headers = {
|
|
511
|
+
"content-type": "application/json",
|
|
512
|
+
};
|
|
513
|
+
b.bp("/v1/create-case");
|
|
514
|
+
let body;
|
|
515
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
516
|
+
clientToken: [true, (_) => _ ?? uuid.v4()],
|
|
517
|
+
description: [],
|
|
518
|
+
engagementType: [],
|
|
519
|
+
impactedAccounts: (_) => smithyClient._json(_),
|
|
520
|
+
impactedAwsRegions: (_) => smithyClient._json(_),
|
|
521
|
+
impactedServices: (_) => smithyClient._json(_),
|
|
522
|
+
reportedIncidentStartDate: (_) => _.getTime() / 1_000,
|
|
523
|
+
resolverType: [],
|
|
524
|
+
tags: (_) => smithyClient._json(_),
|
|
525
|
+
threatActorIpAddresses: (_) => smithyClient._json(_),
|
|
526
|
+
title: [],
|
|
527
|
+
watchers: (_) => smithyClient._json(_),
|
|
528
|
+
}));
|
|
529
|
+
b.m("POST").h(headers).b(body);
|
|
530
|
+
return b.build();
|
|
1898
531
|
};
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
532
|
+
const se_CreateCaseCommentCommand = async (input, context) => {
|
|
533
|
+
const b = core.requestBuilder(input, context);
|
|
534
|
+
const headers = {
|
|
535
|
+
"content-type": "application/json",
|
|
536
|
+
};
|
|
537
|
+
b.bp("/v1/cases/{caseId}/create-comment");
|
|
538
|
+
b.p("caseId", () => input.caseId, "{caseId}", false);
|
|
539
|
+
let body;
|
|
540
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
541
|
+
body: [],
|
|
542
|
+
clientToken: [true, (_) => _ ?? uuid.v4()],
|
|
543
|
+
}));
|
|
544
|
+
b.m("POST").h(headers).b(body);
|
|
545
|
+
return b.build();
|
|
1913
546
|
};
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
547
|
+
const se_CreateMembershipCommand = async (input, context) => {
|
|
548
|
+
const b = core.requestBuilder(input, context);
|
|
549
|
+
const headers = {
|
|
550
|
+
"content-type": "application/json",
|
|
551
|
+
};
|
|
552
|
+
b.bp("/v1/membership");
|
|
553
|
+
let body;
|
|
554
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
555
|
+
clientToken: [true, (_) => _ ?? uuid.v4()],
|
|
556
|
+
coverEntireOrganization: [],
|
|
557
|
+
incidentResponseTeam: (_) => smithyClient._json(_),
|
|
558
|
+
membershipName: [],
|
|
559
|
+
optInFeatures: (_) => smithyClient._json(_),
|
|
560
|
+
tags: (_) => smithyClient._json(_),
|
|
561
|
+
}));
|
|
562
|
+
b.m("POST").h(headers).b(body);
|
|
563
|
+
return b.build();
|
|
1928
564
|
};
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1938
|
-
];
|
|
1939
|
-
}).s("SecurityIncidentResponse", "UpdateCaseComment", {}).n("SecurityIRClient", "UpdateCaseCommentCommand").f(UpdateCaseCommentRequestFilterSensitiveLog, UpdateCaseCommentResponseFilterSensitiveLog).ser(se_UpdateCaseCommentCommand).de(de_UpdateCaseCommentCommand).build() {
|
|
1940
|
-
static {
|
|
1941
|
-
__name(this, "UpdateCaseCommentCommand");
|
|
1942
|
-
}
|
|
565
|
+
const se_GetCaseCommand = async (input, context) => {
|
|
566
|
+
const b = core.requestBuilder(input, context);
|
|
567
|
+
const headers = {};
|
|
568
|
+
b.bp("/v1/cases/{caseId}/get-case");
|
|
569
|
+
b.p("caseId", () => input.caseId, "{caseId}", false);
|
|
570
|
+
let body;
|
|
571
|
+
b.m("GET").h(headers).b(body);
|
|
572
|
+
return b.build();
|
|
1943
573
|
};
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
(
|
|
1952
|
-
|
|
1953
|
-
];
|
|
1954
|
-
}).s("SecurityIncidentResponse", "UpdateCaseStatus", {}).n("SecurityIRClient", "UpdateCaseStatusCommand").f(void 0, void 0).ser(se_UpdateCaseStatusCommand).de(de_UpdateCaseStatusCommand).build() {
|
|
1955
|
-
static {
|
|
1956
|
-
__name(this, "UpdateCaseStatusCommand");
|
|
1957
|
-
}
|
|
574
|
+
const se_GetCaseAttachmentDownloadUrlCommand = async (input, context) => {
|
|
575
|
+
const b = core.requestBuilder(input, context);
|
|
576
|
+
const headers = {};
|
|
577
|
+
b.bp("/v1/cases/{caseId}/get-presigned-url/{attachmentId}");
|
|
578
|
+
b.p("caseId", () => input.caseId, "{caseId}", false);
|
|
579
|
+
b.p("attachmentId", () => input.attachmentId, "{attachmentId}", false);
|
|
580
|
+
let body;
|
|
581
|
+
b.m("GET").h(headers).b(body);
|
|
582
|
+
return b.build();
|
|
1958
583
|
};
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
584
|
+
const se_GetCaseAttachmentUploadUrlCommand = async (input, context) => {
|
|
585
|
+
const b = core.requestBuilder(input, context);
|
|
586
|
+
const headers = {
|
|
587
|
+
"content-type": "application/json",
|
|
588
|
+
};
|
|
589
|
+
b.bp("/v1/cases/{caseId}/get-presigned-url");
|
|
590
|
+
b.p("caseId", () => input.caseId, "{caseId}", false);
|
|
591
|
+
let body;
|
|
592
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
593
|
+
clientToken: [true, (_) => _ ?? uuid.v4()],
|
|
594
|
+
contentLength: [],
|
|
595
|
+
fileName: [],
|
|
596
|
+
}));
|
|
597
|
+
b.m("POST").h(headers).b(body);
|
|
598
|
+
return b.build();
|
|
1973
599
|
};
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1983
|
-
];
|
|
1984
|
-
}).s("SecurityIncidentResponse", "UpdateResolverType", {}).n("SecurityIRClient", "UpdateResolverTypeCommand").f(void 0, void 0).ser(se_UpdateResolverTypeCommand).de(de_UpdateResolverTypeCommand).build() {
|
|
1985
|
-
static {
|
|
1986
|
-
__name(this, "UpdateResolverTypeCommand");
|
|
1987
|
-
}
|
|
600
|
+
const se_GetMembershipCommand = async (input, context) => {
|
|
601
|
+
const b = core.requestBuilder(input, context);
|
|
602
|
+
const headers = {};
|
|
603
|
+
b.bp("/v1/membership/{membershipId}");
|
|
604
|
+
b.p("membershipId", () => input.membershipId, "{membershipId}", false);
|
|
605
|
+
let body;
|
|
606
|
+
b.m("GET").h(headers).b(body);
|
|
607
|
+
return b.build();
|
|
1988
608
|
};
|
|
609
|
+
const se_ListCaseEditsCommand = async (input, context) => {
|
|
610
|
+
const b = core.requestBuilder(input, context);
|
|
611
|
+
const headers = {
|
|
612
|
+
"content-type": "application/json",
|
|
613
|
+
};
|
|
614
|
+
b.bp("/v1/cases/{caseId}/list-case-edits");
|
|
615
|
+
b.p("caseId", () => input.caseId, "{caseId}", false);
|
|
616
|
+
let body;
|
|
617
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
618
|
+
maxResults: [],
|
|
619
|
+
nextToken: [],
|
|
620
|
+
}));
|
|
621
|
+
b.m("POST").h(headers).b(body);
|
|
622
|
+
return b.build();
|
|
623
|
+
};
|
|
624
|
+
const se_ListCasesCommand = async (input, context) => {
|
|
625
|
+
const b = core.requestBuilder(input, context);
|
|
626
|
+
const headers = {
|
|
627
|
+
"content-type": "application/json",
|
|
628
|
+
};
|
|
629
|
+
b.bp("/v1/list-cases");
|
|
630
|
+
let body;
|
|
631
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
632
|
+
maxResults: [],
|
|
633
|
+
nextToken: [],
|
|
634
|
+
}));
|
|
635
|
+
b.m("POST").h(headers).b(body);
|
|
636
|
+
return b.build();
|
|
637
|
+
};
|
|
638
|
+
const se_ListCommentsCommand = async (input, context) => {
|
|
639
|
+
const b = core.requestBuilder(input, context);
|
|
640
|
+
const headers = {
|
|
641
|
+
"content-type": "application/json",
|
|
642
|
+
};
|
|
643
|
+
b.bp("/v1/cases/{caseId}/list-comments");
|
|
644
|
+
b.p("caseId", () => input.caseId, "{caseId}", false);
|
|
645
|
+
let body;
|
|
646
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
647
|
+
maxResults: [],
|
|
648
|
+
nextToken: [],
|
|
649
|
+
}));
|
|
650
|
+
b.m("POST").h(headers).b(body);
|
|
651
|
+
return b.build();
|
|
652
|
+
};
|
|
653
|
+
const se_ListMembershipsCommand = async (input, context) => {
|
|
654
|
+
const b = core.requestBuilder(input, context);
|
|
655
|
+
const headers = {
|
|
656
|
+
"content-type": "application/json",
|
|
657
|
+
};
|
|
658
|
+
b.bp("/v1/memberships");
|
|
659
|
+
let body;
|
|
660
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
661
|
+
maxResults: [],
|
|
662
|
+
nextToken: [],
|
|
663
|
+
}));
|
|
664
|
+
b.m("POST").h(headers).b(body);
|
|
665
|
+
return b.build();
|
|
666
|
+
};
|
|
667
|
+
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
668
|
+
const b = core.requestBuilder(input, context);
|
|
669
|
+
const headers = {};
|
|
670
|
+
b.bp("/v1/tags/{resourceArn}");
|
|
671
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
672
|
+
let body;
|
|
673
|
+
b.m("GET").h(headers).b(body);
|
|
674
|
+
return b.build();
|
|
675
|
+
};
|
|
676
|
+
const se_TagResourceCommand = async (input, context) => {
|
|
677
|
+
const b = core.requestBuilder(input, context);
|
|
678
|
+
const headers = {
|
|
679
|
+
"content-type": "application/json",
|
|
680
|
+
};
|
|
681
|
+
b.bp("/v1/tags/{resourceArn}");
|
|
682
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
683
|
+
let body;
|
|
684
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
685
|
+
tags: (_) => smithyClient._json(_),
|
|
686
|
+
}));
|
|
687
|
+
b.m("POST").h(headers).b(body);
|
|
688
|
+
return b.build();
|
|
689
|
+
};
|
|
690
|
+
const se_UntagResourceCommand = async (input, context) => {
|
|
691
|
+
const b = core.requestBuilder(input, context);
|
|
692
|
+
const headers = {};
|
|
693
|
+
b.bp("/v1/tags/{resourceArn}");
|
|
694
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
695
|
+
const query = smithyClient.map({
|
|
696
|
+
[_tK]: [smithyClient.expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []],
|
|
697
|
+
});
|
|
698
|
+
let body;
|
|
699
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
700
|
+
return b.build();
|
|
701
|
+
};
|
|
702
|
+
const se_UpdateCaseCommand = async (input, context) => {
|
|
703
|
+
const b = core.requestBuilder(input, context);
|
|
704
|
+
const headers = {
|
|
705
|
+
"content-type": "application/json",
|
|
706
|
+
};
|
|
707
|
+
b.bp("/v1/cases/{caseId}/update-case");
|
|
708
|
+
b.p("caseId", () => input.caseId, "{caseId}", false);
|
|
709
|
+
let body;
|
|
710
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
711
|
+
actualIncidentStartDate: (_) => _.getTime() / 1_000,
|
|
712
|
+
description: [],
|
|
713
|
+
engagementType: [],
|
|
714
|
+
impactedAccountsToAdd: (_) => smithyClient._json(_),
|
|
715
|
+
impactedAccountsToDelete: (_) => smithyClient._json(_),
|
|
716
|
+
impactedAwsRegionsToAdd: (_) => smithyClient._json(_),
|
|
717
|
+
impactedAwsRegionsToDelete: (_) => smithyClient._json(_),
|
|
718
|
+
impactedServicesToAdd: (_) => smithyClient._json(_),
|
|
719
|
+
impactedServicesToDelete: (_) => smithyClient._json(_),
|
|
720
|
+
reportedIncidentStartDate: (_) => _.getTime() / 1_000,
|
|
721
|
+
threatActorIpAddressesToAdd: (_) => smithyClient._json(_),
|
|
722
|
+
threatActorIpAddressesToDelete: (_) => smithyClient._json(_),
|
|
723
|
+
title: [],
|
|
724
|
+
watchersToAdd: (_) => smithyClient._json(_),
|
|
725
|
+
watchersToDelete: (_) => smithyClient._json(_),
|
|
726
|
+
}));
|
|
727
|
+
b.m("POST").h(headers).b(body);
|
|
728
|
+
return b.build();
|
|
729
|
+
};
|
|
730
|
+
const se_UpdateCaseCommentCommand = async (input, context) => {
|
|
731
|
+
const b = core.requestBuilder(input, context);
|
|
732
|
+
const headers = {
|
|
733
|
+
"content-type": "application/json",
|
|
734
|
+
};
|
|
735
|
+
b.bp("/v1/cases/{caseId}/update-case-comment/{commentId}");
|
|
736
|
+
b.p("caseId", () => input.caseId, "{caseId}", false);
|
|
737
|
+
b.p("commentId", () => input.commentId, "{commentId}", false);
|
|
738
|
+
let body;
|
|
739
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
740
|
+
body: [],
|
|
741
|
+
}));
|
|
742
|
+
b.m("PUT").h(headers).b(body);
|
|
743
|
+
return b.build();
|
|
744
|
+
};
|
|
745
|
+
const se_UpdateCaseStatusCommand = async (input, context) => {
|
|
746
|
+
const b = core.requestBuilder(input, context);
|
|
747
|
+
const headers = {
|
|
748
|
+
"content-type": "application/json",
|
|
749
|
+
};
|
|
750
|
+
b.bp("/v1/cases/{caseId}/update-case-status");
|
|
751
|
+
b.p("caseId", () => input.caseId, "{caseId}", false);
|
|
752
|
+
let body;
|
|
753
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
754
|
+
caseStatus: [],
|
|
755
|
+
}));
|
|
756
|
+
b.m("POST").h(headers).b(body);
|
|
757
|
+
return b.build();
|
|
758
|
+
};
|
|
759
|
+
const se_UpdateMembershipCommand = async (input, context) => {
|
|
760
|
+
const b = core.requestBuilder(input, context);
|
|
761
|
+
const headers = {
|
|
762
|
+
"content-type": "application/json",
|
|
763
|
+
};
|
|
764
|
+
b.bp("/v1/membership/{membershipId}/update-membership");
|
|
765
|
+
b.p("membershipId", () => input.membershipId, "{membershipId}", false);
|
|
766
|
+
let body;
|
|
767
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
768
|
+
incidentResponseTeam: (_) => smithyClient._json(_),
|
|
769
|
+
membershipAccountsConfigurationsUpdate: (_) => smithyClient._json(_),
|
|
770
|
+
membershipName: [],
|
|
771
|
+
optInFeatures: (_) => smithyClient._json(_),
|
|
772
|
+
undoMembershipCancellation: [],
|
|
773
|
+
}));
|
|
774
|
+
b.m("PUT").h(headers).b(body);
|
|
775
|
+
return b.build();
|
|
776
|
+
};
|
|
777
|
+
const se_UpdateResolverTypeCommand = async (input, context) => {
|
|
778
|
+
const b = core.requestBuilder(input, context);
|
|
779
|
+
const headers = {
|
|
780
|
+
"content-type": "application/json",
|
|
781
|
+
};
|
|
782
|
+
b.bp("/v1/cases/{caseId}/update-resolver-type");
|
|
783
|
+
b.p("caseId", () => input.caseId, "{caseId}", false);
|
|
784
|
+
let body;
|
|
785
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
786
|
+
resolverType: [],
|
|
787
|
+
}));
|
|
788
|
+
b.m("POST").h(headers).b(body);
|
|
789
|
+
return b.build();
|
|
790
|
+
};
|
|
791
|
+
const de_BatchGetMemberAccountDetailsCommand = async (output, context) => {
|
|
792
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
793
|
+
return de_CommandError(output, context);
|
|
794
|
+
}
|
|
795
|
+
const contents = smithyClient.map({
|
|
796
|
+
$metadata: deserializeMetadata(output),
|
|
797
|
+
});
|
|
798
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
799
|
+
const doc = smithyClient.take(data, {
|
|
800
|
+
errors: smithyClient._json,
|
|
801
|
+
items: smithyClient._json,
|
|
802
|
+
});
|
|
803
|
+
Object.assign(contents, doc);
|
|
804
|
+
return contents;
|
|
805
|
+
};
|
|
806
|
+
const de_CancelMembershipCommand = async (output, context) => {
|
|
807
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
808
|
+
return de_CommandError(output, context);
|
|
809
|
+
}
|
|
810
|
+
const contents = smithyClient.map({
|
|
811
|
+
$metadata: deserializeMetadata(output),
|
|
812
|
+
});
|
|
813
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
814
|
+
const doc = smithyClient.take(data, {
|
|
815
|
+
membershipId: smithyClient.expectString,
|
|
816
|
+
});
|
|
817
|
+
Object.assign(contents, doc);
|
|
818
|
+
return contents;
|
|
819
|
+
};
|
|
820
|
+
const de_CloseCaseCommand = async (output, context) => {
|
|
821
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
822
|
+
return de_CommandError(output, context);
|
|
823
|
+
}
|
|
824
|
+
const contents = smithyClient.map({
|
|
825
|
+
$metadata: deserializeMetadata(output),
|
|
826
|
+
});
|
|
827
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
828
|
+
const doc = smithyClient.take(data, {
|
|
829
|
+
caseStatus: smithyClient.expectString,
|
|
830
|
+
closedDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
831
|
+
});
|
|
832
|
+
Object.assign(contents, doc);
|
|
833
|
+
return contents;
|
|
834
|
+
};
|
|
835
|
+
const de_CreateCaseCommand = async (output, context) => {
|
|
836
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
837
|
+
return de_CommandError(output, context);
|
|
838
|
+
}
|
|
839
|
+
const contents = smithyClient.map({
|
|
840
|
+
$metadata: deserializeMetadata(output),
|
|
841
|
+
});
|
|
842
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
843
|
+
const doc = smithyClient.take(data, {
|
|
844
|
+
caseId: smithyClient.expectString,
|
|
845
|
+
});
|
|
846
|
+
Object.assign(contents, doc);
|
|
847
|
+
return contents;
|
|
848
|
+
};
|
|
849
|
+
const de_CreateCaseCommentCommand = async (output, context) => {
|
|
850
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
851
|
+
return de_CommandError(output, context);
|
|
852
|
+
}
|
|
853
|
+
const contents = smithyClient.map({
|
|
854
|
+
$metadata: deserializeMetadata(output),
|
|
855
|
+
});
|
|
856
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
857
|
+
const doc = smithyClient.take(data, {
|
|
858
|
+
commentId: smithyClient.expectString,
|
|
859
|
+
});
|
|
860
|
+
Object.assign(contents, doc);
|
|
861
|
+
return contents;
|
|
862
|
+
};
|
|
863
|
+
const de_CreateMembershipCommand = async (output, context) => {
|
|
864
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
865
|
+
return de_CommandError(output, context);
|
|
866
|
+
}
|
|
867
|
+
const contents = smithyClient.map({
|
|
868
|
+
$metadata: deserializeMetadata(output),
|
|
869
|
+
});
|
|
870
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
871
|
+
const doc = smithyClient.take(data, {
|
|
872
|
+
membershipId: smithyClient.expectString,
|
|
873
|
+
});
|
|
874
|
+
Object.assign(contents, doc);
|
|
875
|
+
return contents;
|
|
876
|
+
};
|
|
877
|
+
const de_GetCaseCommand = async (output, context) => {
|
|
878
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
879
|
+
return de_CommandError(output, context);
|
|
880
|
+
}
|
|
881
|
+
const contents = smithyClient.map({
|
|
882
|
+
$metadata: deserializeMetadata(output),
|
|
883
|
+
});
|
|
884
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
885
|
+
const doc = smithyClient.take(data, {
|
|
886
|
+
actualIncidentStartDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
887
|
+
caseArn: smithyClient.expectString,
|
|
888
|
+
caseAttachments: (_) => de_CaseAttachmentsList(_),
|
|
889
|
+
caseStatus: smithyClient.expectString,
|
|
890
|
+
closedDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
891
|
+
closureCode: smithyClient.expectString,
|
|
892
|
+
createdDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
893
|
+
description: smithyClient.expectString,
|
|
894
|
+
engagementType: smithyClient.expectString,
|
|
895
|
+
impactedAccounts: smithyClient._json,
|
|
896
|
+
impactedAwsRegions: smithyClient._json,
|
|
897
|
+
impactedServices: smithyClient._json,
|
|
898
|
+
lastUpdatedDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
899
|
+
pendingAction: smithyClient.expectString,
|
|
900
|
+
reportedIncidentStartDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
901
|
+
resolverType: smithyClient.expectString,
|
|
902
|
+
threatActorIpAddresses: smithyClient._json,
|
|
903
|
+
title: smithyClient.expectString,
|
|
904
|
+
watchers: smithyClient._json,
|
|
905
|
+
});
|
|
906
|
+
Object.assign(contents, doc);
|
|
907
|
+
return contents;
|
|
908
|
+
};
|
|
909
|
+
const de_GetCaseAttachmentDownloadUrlCommand = async (output, context) => {
|
|
910
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
911
|
+
return de_CommandError(output, context);
|
|
912
|
+
}
|
|
913
|
+
const contents = smithyClient.map({
|
|
914
|
+
$metadata: deserializeMetadata(output),
|
|
915
|
+
});
|
|
916
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
917
|
+
const doc = smithyClient.take(data, {
|
|
918
|
+
attachmentPresignedUrl: smithyClient.expectString,
|
|
919
|
+
});
|
|
920
|
+
Object.assign(contents, doc);
|
|
921
|
+
return contents;
|
|
922
|
+
};
|
|
923
|
+
const de_GetCaseAttachmentUploadUrlCommand = async (output, context) => {
|
|
924
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
925
|
+
return de_CommandError(output, context);
|
|
926
|
+
}
|
|
927
|
+
const contents = smithyClient.map({
|
|
928
|
+
$metadata: deserializeMetadata(output),
|
|
929
|
+
});
|
|
930
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
931
|
+
const doc = smithyClient.take(data, {
|
|
932
|
+
attachmentPresignedUrl: smithyClient.expectString,
|
|
933
|
+
});
|
|
934
|
+
Object.assign(contents, doc);
|
|
935
|
+
return contents;
|
|
936
|
+
};
|
|
937
|
+
const de_GetMembershipCommand = async (output, context) => {
|
|
938
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
939
|
+
return de_CommandError(output, context);
|
|
940
|
+
}
|
|
941
|
+
const contents = smithyClient.map({
|
|
942
|
+
$metadata: deserializeMetadata(output),
|
|
943
|
+
});
|
|
944
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
945
|
+
const doc = smithyClient.take(data, {
|
|
946
|
+
accountId: smithyClient.expectString,
|
|
947
|
+
customerType: smithyClient.expectString,
|
|
948
|
+
incidentResponseTeam: smithyClient._json,
|
|
949
|
+
membershipAccountsConfigurations: smithyClient._json,
|
|
950
|
+
membershipActivationTimestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
951
|
+
membershipArn: smithyClient.expectString,
|
|
952
|
+
membershipDeactivationTimestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
953
|
+
membershipId: smithyClient.expectString,
|
|
954
|
+
membershipName: smithyClient.expectString,
|
|
955
|
+
membershipStatus: smithyClient.expectString,
|
|
956
|
+
numberOfAccountsCovered: smithyClient.expectLong,
|
|
957
|
+
optInFeatures: smithyClient._json,
|
|
958
|
+
region: smithyClient.expectString,
|
|
959
|
+
});
|
|
960
|
+
Object.assign(contents, doc);
|
|
961
|
+
return contents;
|
|
962
|
+
};
|
|
963
|
+
const de_ListCaseEditsCommand = async (output, context) => {
|
|
964
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
965
|
+
return de_CommandError(output, context);
|
|
966
|
+
}
|
|
967
|
+
const contents = smithyClient.map({
|
|
968
|
+
$metadata: deserializeMetadata(output),
|
|
969
|
+
});
|
|
970
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
971
|
+
const doc = smithyClient.take(data, {
|
|
972
|
+
items: (_) => de_CaseEditItems(_),
|
|
973
|
+
nextToken: smithyClient.expectString,
|
|
974
|
+
total: smithyClient.expectInt32,
|
|
975
|
+
});
|
|
976
|
+
Object.assign(contents, doc);
|
|
977
|
+
return contents;
|
|
978
|
+
};
|
|
979
|
+
const de_ListCasesCommand = async (output, context) => {
|
|
980
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
981
|
+
return de_CommandError(output, context);
|
|
982
|
+
}
|
|
983
|
+
const contents = smithyClient.map({
|
|
984
|
+
$metadata: deserializeMetadata(output),
|
|
985
|
+
});
|
|
986
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
987
|
+
const doc = smithyClient.take(data, {
|
|
988
|
+
items: (_) => de_ListCasesItems(_),
|
|
989
|
+
nextToken: smithyClient.expectString,
|
|
990
|
+
total: smithyClient.expectLong,
|
|
991
|
+
});
|
|
992
|
+
Object.assign(contents, doc);
|
|
993
|
+
return contents;
|
|
994
|
+
};
|
|
995
|
+
const de_ListCommentsCommand = async (output, context) => {
|
|
996
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
997
|
+
return de_CommandError(output, context);
|
|
998
|
+
}
|
|
999
|
+
const contents = smithyClient.map({
|
|
1000
|
+
$metadata: deserializeMetadata(output),
|
|
1001
|
+
});
|
|
1002
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1003
|
+
const doc = smithyClient.take(data, {
|
|
1004
|
+
items: (_) => de_ListCommentsItems(_),
|
|
1005
|
+
nextToken: smithyClient.expectString,
|
|
1006
|
+
total: smithyClient.expectInt32,
|
|
1007
|
+
});
|
|
1008
|
+
Object.assign(contents, doc);
|
|
1009
|
+
return contents;
|
|
1010
|
+
};
|
|
1011
|
+
const de_ListMembershipsCommand = async (output, context) => {
|
|
1012
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1013
|
+
return de_CommandError(output, context);
|
|
1014
|
+
}
|
|
1015
|
+
const contents = smithyClient.map({
|
|
1016
|
+
$metadata: deserializeMetadata(output),
|
|
1017
|
+
});
|
|
1018
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1019
|
+
const doc = smithyClient.take(data, {
|
|
1020
|
+
items: smithyClient._json,
|
|
1021
|
+
nextToken: smithyClient.expectString,
|
|
1022
|
+
});
|
|
1023
|
+
Object.assign(contents, doc);
|
|
1024
|
+
return contents;
|
|
1025
|
+
};
|
|
1026
|
+
const de_ListTagsForResourceCommand = async (output, context) => {
|
|
1027
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1028
|
+
return de_CommandError(output, context);
|
|
1029
|
+
}
|
|
1030
|
+
const contents = smithyClient.map({
|
|
1031
|
+
$metadata: deserializeMetadata(output),
|
|
1032
|
+
});
|
|
1033
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1034
|
+
const doc = smithyClient.take(data, {
|
|
1035
|
+
tags: smithyClient._json,
|
|
1036
|
+
});
|
|
1037
|
+
Object.assign(contents, doc);
|
|
1038
|
+
return contents;
|
|
1039
|
+
};
|
|
1040
|
+
const de_TagResourceCommand = async (output, context) => {
|
|
1041
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1042
|
+
return de_CommandError(output, context);
|
|
1043
|
+
}
|
|
1044
|
+
const contents = smithyClient.map({
|
|
1045
|
+
$metadata: deserializeMetadata(output),
|
|
1046
|
+
});
|
|
1047
|
+
await smithyClient.collectBody(output.body, context);
|
|
1048
|
+
return contents;
|
|
1049
|
+
};
|
|
1050
|
+
const de_UntagResourceCommand = async (output, context) => {
|
|
1051
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1052
|
+
return de_CommandError(output, context);
|
|
1053
|
+
}
|
|
1054
|
+
const contents = smithyClient.map({
|
|
1055
|
+
$metadata: deserializeMetadata(output),
|
|
1056
|
+
});
|
|
1057
|
+
await smithyClient.collectBody(output.body, context);
|
|
1058
|
+
return contents;
|
|
1059
|
+
};
|
|
1060
|
+
const de_UpdateCaseCommand = async (output, context) => {
|
|
1061
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1062
|
+
return de_CommandError(output, context);
|
|
1063
|
+
}
|
|
1064
|
+
const contents = smithyClient.map({
|
|
1065
|
+
$metadata: deserializeMetadata(output),
|
|
1066
|
+
});
|
|
1067
|
+
await smithyClient.collectBody(output.body, context);
|
|
1068
|
+
return contents;
|
|
1069
|
+
};
|
|
1070
|
+
const de_UpdateCaseCommentCommand = async (output, context) => {
|
|
1071
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1072
|
+
return de_CommandError(output, context);
|
|
1073
|
+
}
|
|
1074
|
+
const contents = smithyClient.map({
|
|
1075
|
+
$metadata: deserializeMetadata(output),
|
|
1076
|
+
});
|
|
1077
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1078
|
+
const doc = smithyClient.take(data, {
|
|
1079
|
+
body: smithyClient.expectString,
|
|
1080
|
+
commentId: smithyClient.expectString,
|
|
1081
|
+
});
|
|
1082
|
+
Object.assign(contents, doc);
|
|
1083
|
+
return contents;
|
|
1084
|
+
};
|
|
1085
|
+
const de_UpdateCaseStatusCommand = async (output, context) => {
|
|
1086
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1087
|
+
return de_CommandError(output, context);
|
|
1088
|
+
}
|
|
1089
|
+
const contents = smithyClient.map({
|
|
1090
|
+
$metadata: deserializeMetadata(output),
|
|
1091
|
+
});
|
|
1092
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1093
|
+
const doc = smithyClient.take(data, {
|
|
1094
|
+
caseStatus: smithyClient.expectString,
|
|
1095
|
+
});
|
|
1096
|
+
Object.assign(contents, doc);
|
|
1097
|
+
return contents;
|
|
1098
|
+
};
|
|
1099
|
+
const de_UpdateMembershipCommand = async (output, context) => {
|
|
1100
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1101
|
+
return de_CommandError(output, context);
|
|
1102
|
+
}
|
|
1103
|
+
const contents = smithyClient.map({
|
|
1104
|
+
$metadata: deserializeMetadata(output),
|
|
1105
|
+
});
|
|
1106
|
+
await smithyClient.collectBody(output.body, context);
|
|
1107
|
+
return contents;
|
|
1108
|
+
};
|
|
1109
|
+
const de_UpdateResolverTypeCommand = async (output, context) => {
|
|
1110
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1111
|
+
return de_CommandError(output, context);
|
|
1112
|
+
}
|
|
1113
|
+
const contents = smithyClient.map({
|
|
1114
|
+
$metadata: deserializeMetadata(output),
|
|
1115
|
+
});
|
|
1116
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1117
|
+
const doc = smithyClient.take(data, {
|
|
1118
|
+
caseId: smithyClient.expectString,
|
|
1119
|
+
caseStatus: smithyClient.expectString,
|
|
1120
|
+
resolverType: smithyClient.expectString,
|
|
1121
|
+
});
|
|
1122
|
+
Object.assign(contents, doc);
|
|
1123
|
+
return contents;
|
|
1124
|
+
};
|
|
1125
|
+
const de_CommandError = async (output, context) => {
|
|
1126
|
+
const parsedOutput = {
|
|
1127
|
+
...output,
|
|
1128
|
+
body: await core$1.parseJsonErrorBody(output.body, context),
|
|
1129
|
+
};
|
|
1130
|
+
const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1131
|
+
switch (errorCode) {
|
|
1132
|
+
case "AccessDeniedException":
|
|
1133
|
+
case "com.amazonaws.securityir#AccessDeniedException":
|
|
1134
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput);
|
|
1135
|
+
case "ConflictException":
|
|
1136
|
+
case "com.amazonaws.securityir#ConflictException":
|
|
1137
|
+
throw await de_ConflictExceptionRes(parsedOutput);
|
|
1138
|
+
case "InternalServerException":
|
|
1139
|
+
case "com.amazonaws.securityir#InternalServerException":
|
|
1140
|
+
throw await de_InternalServerExceptionRes(parsedOutput);
|
|
1141
|
+
case "InvalidTokenException":
|
|
1142
|
+
case "com.amazonaws.securityir#InvalidTokenException":
|
|
1143
|
+
throw await de_InvalidTokenExceptionRes(parsedOutput);
|
|
1144
|
+
case "ResourceNotFoundException":
|
|
1145
|
+
case "com.amazonaws.securityir#ResourceNotFoundException":
|
|
1146
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput);
|
|
1147
|
+
case "SecurityIncidentResponseNotActiveException":
|
|
1148
|
+
case "com.amazonaws.securityir#SecurityIncidentResponseNotActiveException":
|
|
1149
|
+
throw await de_SecurityIncidentResponseNotActiveExceptionRes(parsedOutput);
|
|
1150
|
+
case "ServiceQuotaExceededException":
|
|
1151
|
+
case "com.amazonaws.securityir#ServiceQuotaExceededException":
|
|
1152
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput);
|
|
1153
|
+
case "ThrottlingException":
|
|
1154
|
+
case "com.amazonaws.securityir#ThrottlingException":
|
|
1155
|
+
throw await de_ThrottlingExceptionRes(parsedOutput);
|
|
1156
|
+
case "ValidationException":
|
|
1157
|
+
case "com.amazonaws.securityir#ValidationException":
|
|
1158
|
+
throw await de_ValidationExceptionRes(parsedOutput);
|
|
1159
|
+
default:
|
|
1160
|
+
const parsedBody = parsedOutput.body;
|
|
1161
|
+
return throwDefaultError({
|
|
1162
|
+
output,
|
|
1163
|
+
parsedBody,
|
|
1164
|
+
errorCode,
|
|
1165
|
+
});
|
|
1166
|
+
}
|
|
1167
|
+
};
|
|
1168
|
+
const throwDefaultError = smithyClient.withBaseException(SecurityIRServiceException);
|
|
1169
|
+
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
1170
|
+
const contents = smithyClient.map({});
|
|
1171
|
+
const data = parsedOutput.body;
|
|
1172
|
+
const doc = smithyClient.take(data, {
|
|
1173
|
+
message: smithyClient.expectString,
|
|
1174
|
+
});
|
|
1175
|
+
Object.assign(contents, doc);
|
|
1176
|
+
const exception = new AccessDeniedException({
|
|
1177
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1178
|
+
...contents,
|
|
1179
|
+
});
|
|
1180
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1181
|
+
};
|
|
1182
|
+
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
1183
|
+
const contents = smithyClient.map({});
|
|
1184
|
+
const data = parsedOutput.body;
|
|
1185
|
+
const doc = smithyClient.take(data, {
|
|
1186
|
+
message: smithyClient.expectString,
|
|
1187
|
+
resourceId: smithyClient.expectString,
|
|
1188
|
+
resourceType: smithyClient.expectString,
|
|
1189
|
+
});
|
|
1190
|
+
Object.assign(contents, doc);
|
|
1191
|
+
const exception = new ConflictException({
|
|
1192
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1193
|
+
...contents,
|
|
1194
|
+
});
|
|
1195
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1196
|
+
};
|
|
1197
|
+
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
1198
|
+
const contents = smithyClient.map({
|
|
1199
|
+
[_rAS]: [() => void 0 !== parsedOutput.headers[_ra], () => smithyClient.strictParseInt32(parsedOutput.headers[_ra])],
|
|
1200
|
+
});
|
|
1201
|
+
const data = parsedOutput.body;
|
|
1202
|
+
const doc = smithyClient.take(data, {
|
|
1203
|
+
message: smithyClient.expectString,
|
|
1204
|
+
});
|
|
1205
|
+
Object.assign(contents, doc);
|
|
1206
|
+
const exception = new InternalServerException({
|
|
1207
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1208
|
+
...contents,
|
|
1209
|
+
});
|
|
1210
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1211
|
+
};
|
|
1212
|
+
const de_InvalidTokenExceptionRes = async (parsedOutput, context) => {
|
|
1213
|
+
const contents = smithyClient.map({});
|
|
1214
|
+
const data = parsedOutput.body;
|
|
1215
|
+
const doc = smithyClient.take(data, {
|
|
1216
|
+
message: smithyClient.expectString,
|
|
1217
|
+
});
|
|
1218
|
+
Object.assign(contents, doc);
|
|
1219
|
+
const exception = new InvalidTokenException({
|
|
1220
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1221
|
+
...contents,
|
|
1222
|
+
});
|
|
1223
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1224
|
+
};
|
|
1225
|
+
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1226
|
+
const contents = smithyClient.map({});
|
|
1227
|
+
const data = parsedOutput.body;
|
|
1228
|
+
const doc = smithyClient.take(data, {
|
|
1229
|
+
message: smithyClient.expectString,
|
|
1230
|
+
});
|
|
1231
|
+
Object.assign(contents, doc);
|
|
1232
|
+
const exception = new ResourceNotFoundException({
|
|
1233
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1234
|
+
...contents,
|
|
1235
|
+
});
|
|
1236
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1237
|
+
};
|
|
1238
|
+
const de_SecurityIncidentResponseNotActiveExceptionRes = async (parsedOutput, context) => {
|
|
1239
|
+
const contents = smithyClient.map({});
|
|
1240
|
+
const data = parsedOutput.body;
|
|
1241
|
+
const doc = smithyClient.take(data, {
|
|
1242
|
+
message: smithyClient.expectString,
|
|
1243
|
+
});
|
|
1244
|
+
Object.assign(contents, doc);
|
|
1245
|
+
const exception = new SecurityIncidentResponseNotActiveException({
|
|
1246
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1247
|
+
...contents,
|
|
1248
|
+
});
|
|
1249
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1250
|
+
};
|
|
1251
|
+
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
1252
|
+
const contents = smithyClient.map({});
|
|
1253
|
+
const data = parsedOutput.body;
|
|
1254
|
+
const doc = smithyClient.take(data, {
|
|
1255
|
+
message: smithyClient.expectString,
|
|
1256
|
+
quotaCode: smithyClient.expectString,
|
|
1257
|
+
resourceId: smithyClient.expectString,
|
|
1258
|
+
resourceType: smithyClient.expectString,
|
|
1259
|
+
serviceCode: smithyClient.expectString,
|
|
1260
|
+
});
|
|
1261
|
+
Object.assign(contents, doc);
|
|
1262
|
+
const exception = new ServiceQuotaExceededException({
|
|
1263
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1264
|
+
...contents,
|
|
1265
|
+
});
|
|
1266
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1267
|
+
};
|
|
1268
|
+
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
1269
|
+
const contents = smithyClient.map({
|
|
1270
|
+
[_rAS]: [() => void 0 !== parsedOutput.headers[_ra], () => smithyClient.strictParseInt32(parsedOutput.headers[_ra])],
|
|
1271
|
+
});
|
|
1272
|
+
const data = parsedOutput.body;
|
|
1273
|
+
const doc = smithyClient.take(data, {
|
|
1274
|
+
message: smithyClient.expectString,
|
|
1275
|
+
quotaCode: smithyClient.expectString,
|
|
1276
|
+
serviceCode: smithyClient.expectString,
|
|
1277
|
+
});
|
|
1278
|
+
Object.assign(contents, doc);
|
|
1279
|
+
const exception = new ThrottlingException({
|
|
1280
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1281
|
+
...contents,
|
|
1282
|
+
});
|
|
1283
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1284
|
+
};
|
|
1285
|
+
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
1286
|
+
const contents = smithyClient.map({});
|
|
1287
|
+
const data = parsedOutput.body;
|
|
1288
|
+
const doc = smithyClient.take(data, {
|
|
1289
|
+
fieldList: smithyClient._json,
|
|
1290
|
+
message: smithyClient.expectString,
|
|
1291
|
+
reason: smithyClient.expectString,
|
|
1292
|
+
});
|
|
1293
|
+
Object.assign(contents, doc);
|
|
1294
|
+
const exception = new ValidationException({
|
|
1295
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1296
|
+
...contents,
|
|
1297
|
+
});
|
|
1298
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1299
|
+
};
|
|
1300
|
+
const de_CaseAttachmentAttributes = (output, context) => {
|
|
1301
|
+
return smithyClient.take(output, {
|
|
1302
|
+
attachmentId: smithyClient.expectString,
|
|
1303
|
+
attachmentStatus: smithyClient.expectString,
|
|
1304
|
+
createdDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1305
|
+
creator: smithyClient.expectString,
|
|
1306
|
+
fileName: smithyClient.expectString,
|
|
1307
|
+
});
|
|
1308
|
+
};
|
|
1309
|
+
const de_CaseAttachmentsList = (output, context) => {
|
|
1310
|
+
const retVal = (output || [])
|
|
1311
|
+
.filter((e) => e != null)
|
|
1312
|
+
.map((entry) => {
|
|
1313
|
+
return de_CaseAttachmentAttributes(entry);
|
|
1314
|
+
});
|
|
1315
|
+
return retVal;
|
|
1316
|
+
};
|
|
1317
|
+
const de_CaseEditItem = (output, context) => {
|
|
1318
|
+
return smithyClient.take(output, {
|
|
1319
|
+
action: smithyClient.expectString,
|
|
1320
|
+
eventTimestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1321
|
+
message: smithyClient.expectString,
|
|
1322
|
+
principal: smithyClient.expectString,
|
|
1323
|
+
});
|
|
1324
|
+
};
|
|
1325
|
+
const de_CaseEditItems = (output, context) => {
|
|
1326
|
+
const retVal = (output || [])
|
|
1327
|
+
.filter((e) => e != null)
|
|
1328
|
+
.map((entry) => {
|
|
1329
|
+
return de_CaseEditItem(entry);
|
|
1330
|
+
});
|
|
1331
|
+
return retVal;
|
|
1332
|
+
};
|
|
1333
|
+
const de_ListCasesItem = (output, context) => {
|
|
1334
|
+
return smithyClient.take(output, {
|
|
1335
|
+
caseArn: smithyClient.expectString,
|
|
1336
|
+
caseId: smithyClient.expectString,
|
|
1337
|
+
caseStatus: smithyClient.expectString,
|
|
1338
|
+
closedDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1339
|
+
createdDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1340
|
+
engagementType: smithyClient.expectString,
|
|
1341
|
+
lastUpdatedDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1342
|
+
pendingAction: smithyClient.expectString,
|
|
1343
|
+
resolverType: smithyClient.expectString,
|
|
1344
|
+
title: smithyClient.expectString,
|
|
1345
|
+
});
|
|
1346
|
+
};
|
|
1347
|
+
const de_ListCasesItems = (output, context) => {
|
|
1348
|
+
const retVal = (output || [])
|
|
1349
|
+
.filter((e) => e != null)
|
|
1350
|
+
.map((entry) => {
|
|
1351
|
+
return de_ListCasesItem(entry);
|
|
1352
|
+
});
|
|
1353
|
+
return retVal;
|
|
1354
|
+
};
|
|
1355
|
+
const de_ListCommentsItem = (output, context) => {
|
|
1356
|
+
return smithyClient.take(output, {
|
|
1357
|
+
body: smithyClient.expectString,
|
|
1358
|
+
commentId: smithyClient.expectString,
|
|
1359
|
+
createdDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1360
|
+
creator: smithyClient.expectString,
|
|
1361
|
+
lastUpdatedBy: smithyClient.expectString,
|
|
1362
|
+
lastUpdatedDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1363
|
+
});
|
|
1364
|
+
};
|
|
1365
|
+
const de_ListCommentsItems = (output, context) => {
|
|
1366
|
+
const retVal = (output || [])
|
|
1367
|
+
.filter((e) => e != null)
|
|
1368
|
+
.map((entry) => {
|
|
1369
|
+
return de_ListCommentsItem(entry);
|
|
1370
|
+
});
|
|
1371
|
+
return retVal;
|
|
1372
|
+
};
|
|
1373
|
+
const deserializeMetadata = (output) => ({
|
|
1374
|
+
httpStatusCode: output.statusCode,
|
|
1375
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1376
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1377
|
+
cfId: output.headers["x-amz-cf-id"],
|
|
1378
|
+
});
|
|
1379
|
+
const _rAS = "retryAfterSeconds";
|
|
1380
|
+
const _ra = "retry-after";
|
|
1381
|
+
const _tK = "tagKeys";
|
|
1382
|
+
|
|
1383
|
+
class BatchGetMemberAccountDetailsCommand extends smithyClient.Command
|
|
1384
|
+
.classBuilder()
|
|
1385
|
+
.ep(commonParams)
|
|
1386
|
+
.m(function (Command, cs, config, o) {
|
|
1387
|
+
return [
|
|
1388
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1389
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1390
|
+
];
|
|
1391
|
+
})
|
|
1392
|
+
.s("SecurityIncidentResponse", "BatchGetMemberAccountDetails", {})
|
|
1393
|
+
.n("SecurityIRClient", "BatchGetMemberAccountDetailsCommand")
|
|
1394
|
+
.f(void 0, void 0)
|
|
1395
|
+
.ser(se_BatchGetMemberAccountDetailsCommand)
|
|
1396
|
+
.de(de_BatchGetMemberAccountDetailsCommand)
|
|
1397
|
+
.build() {
|
|
1398
|
+
}
|
|
1399
|
+
|
|
1400
|
+
class CancelMembershipCommand extends smithyClient.Command
|
|
1401
|
+
.classBuilder()
|
|
1402
|
+
.ep(commonParams)
|
|
1403
|
+
.m(function (Command, cs, config, o) {
|
|
1404
|
+
return [
|
|
1405
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1406
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1407
|
+
];
|
|
1408
|
+
})
|
|
1409
|
+
.s("SecurityIncidentResponse", "CancelMembership", {})
|
|
1410
|
+
.n("SecurityIRClient", "CancelMembershipCommand")
|
|
1411
|
+
.f(void 0, void 0)
|
|
1412
|
+
.ser(se_CancelMembershipCommand)
|
|
1413
|
+
.de(de_CancelMembershipCommand)
|
|
1414
|
+
.build() {
|
|
1415
|
+
}
|
|
1416
|
+
|
|
1417
|
+
class CloseCaseCommand extends smithyClient.Command
|
|
1418
|
+
.classBuilder()
|
|
1419
|
+
.ep(commonParams)
|
|
1420
|
+
.m(function (Command, cs, config, o) {
|
|
1421
|
+
return [
|
|
1422
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1423
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1424
|
+
];
|
|
1425
|
+
})
|
|
1426
|
+
.s("SecurityIncidentResponse", "CloseCase", {})
|
|
1427
|
+
.n("SecurityIRClient", "CloseCaseCommand")
|
|
1428
|
+
.f(void 0, void 0)
|
|
1429
|
+
.ser(se_CloseCaseCommand)
|
|
1430
|
+
.de(de_CloseCaseCommand)
|
|
1431
|
+
.build() {
|
|
1432
|
+
}
|
|
1433
|
+
|
|
1434
|
+
class CreateCaseCommand extends smithyClient.Command
|
|
1435
|
+
.classBuilder()
|
|
1436
|
+
.ep(commonParams)
|
|
1437
|
+
.m(function (Command, cs, config, o) {
|
|
1438
|
+
return [
|
|
1439
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1440
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1441
|
+
];
|
|
1442
|
+
})
|
|
1443
|
+
.s("SecurityIncidentResponse", "CreateCase", {})
|
|
1444
|
+
.n("SecurityIRClient", "CreateCaseCommand")
|
|
1445
|
+
.f(CreateCaseRequestFilterSensitiveLog, void 0)
|
|
1446
|
+
.ser(se_CreateCaseCommand)
|
|
1447
|
+
.de(de_CreateCaseCommand)
|
|
1448
|
+
.build() {
|
|
1449
|
+
}
|
|
1450
|
+
|
|
1451
|
+
class CreateCaseCommentCommand extends smithyClient.Command
|
|
1452
|
+
.classBuilder()
|
|
1453
|
+
.ep(commonParams)
|
|
1454
|
+
.m(function (Command, cs, config, o) {
|
|
1455
|
+
return [
|
|
1456
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1457
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1458
|
+
];
|
|
1459
|
+
})
|
|
1460
|
+
.s("SecurityIncidentResponse", "CreateCaseComment", {})
|
|
1461
|
+
.n("SecurityIRClient", "CreateCaseCommentCommand")
|
|
1462
|
+
.f(CreateCaseCommentRequestFilterSensitiveLog, void 0)
|
|
1463
|
+
.ser(se_CreateCaseCommentCommand)
|
|
1464
|
+
.de(de_CreateCaseCommentCommand)
|
|
1465
|
+
.build() {
|
|
1466
|
+
}
|
|
1467
|
+
|
|
1468
|
+
class CreateMembershipCommand extends smithyClient.Command
|
|
1469
|
+
.classBuilder()
|
|
1470
|
+
.ep(commonParams)
|
|
1471
|
+
.m(function (Command, cs, config, o) {
|
|
1472
|
+
return [
|
|
1473
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1474
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1475
|
+
];
|
|
1476
|
+
})
|
|
1477
|
+
.s("SecurityIncidentResponse", "CreateMembership", {})
|
|
1478
|
+
.n("SecurityIRClient", "CreateMembershipCommand")
|
|
1479
|
+
.f(CreateMembershipRequestFilterSensitiveLog, void 0)
|
|
1480
|
+
.ser(se_CreateMembershipCommand)
|
|
1481
|
+
.de(de_CreateMembershipCommand)
|
|
1482
|
+
.build() {
|
|
1483
|
+
}
|
|
1484
|
+
|
|
1485
|
+
class GetCaseAttachmentDownloadUrlCommand extends smithyClient.Command
|
|
1486
|
+
.classBuilder()
|
|
1487
|
+
.ep(commonParams)
|
|
1488
|
+
.m(function (Command, cs, config, o) {
|
|
1489
|
+
return [
|
|
1490
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1491
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1492
|
+
];
|
|
1493
|
+
})
|
|
1494
|
+
.s("SecurityIncidentResponse", "GetCaseAttachmentDownloadUrl", {})
|
|
1495
|
+
.n("SecurityIRClient", "GetCaseAttachmentDownloadUrlCommand")
|
|
1496
|
+
.f(void 0, GetCaseAttachmentDownloadUrlResponseFilterSensitiveLog)
|
|
1497
|
+
.ser(se_GetCaseAttachmentDownloadUrlCommand)
|
|
1498
|
+
.de(de_GetCaseAttachmentDownloadUrlCommand)
|
|
1499
|
+
.build() {
|
|
1500
|
+
}
|
|
1501
|
+
|
|
1502
|
+
class GetCaseAttachmentUploadUrlCommand extends smithyClient.Command
|
|
1503
|
+
.classBuilder()
|
|
1504
|
+
.ep(commonParams)
|
|
1505
|
+
.m(function (Command, cs, config, o) {
|
|
1506
|
+
return [
|
|
1507
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1508
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1509
|
+
];
|
|
1510
|
+
})
|
|
1511
|
+
.s("SecurityIncidentResponse", "GetCaseAttachmentUploadUrl", {})
|
|
1512
|
+
.n("SecurityIRClient", "GetCaseAttachmentUploadUrlCommand")
|
|
1513
|
+
.f(GetCaseAttachmentUploadUrlRequestFilterSensitiveLog, GetCaseAttachmentUploadUrlResponseFilterSensitiveLog)
|
|
1514
|
+
.ser(se_GetCaseAttachmentUploadUrlCommand)
|
|
1515
|
+
.de(de_GetCaseAttachmentUploadUrlCommand)
|
|
1516
|
+
.build() {
|
|
1517
|
+
}
|
|
1518
|
+
|
|
1519
|
+
class GetCaseCommand extends smithyClient.Command
|
|
1520
|
+
.classBuilder()
|
|
1521
|
+
.ep(commonParams)
|
|
1522
|
+
.m(function (Command, cs, config, o) {
|
|
1523
|
+
return [
|
|
1524
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1525
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1526
|
+
];
|
|
1527
|
+
})
|
|
1528
|
+
.s("SecurityIncidentResponse", "GetCase", {})
|
|
1529
|
+
.n("SecurityIRClient", "GetCaseCommand")
|
|
1530
|
+
.f(void 0, GetCaseResponseFilterSensitiveLog)
|
|
1531
|
+
.ser(se_GetCaseCommand)
|
|
1532
|
+
.de(de_GetCaseCommand)
|
|
1533
|
+
.build() {
|
|
1534
|
+
}
|
|
1535
|
+
|
|
1536
|
+
class GetMembershipCommand extends smithyClient.Command
|
|
1537
|
+
.classBuilder()
|
|
1538
|
+
.ep(commonParams)
|
|
1539
|
+
.m(function (Command, cs, config, o) {
|
|
1540
|
+
return [
|
|
1541
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1542
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1543
|
+
];
|
|
1544
|
+
})
|
|
1545
|
+
.s("SecurityIncidentResponse", "GetMembership", {})
|
|
1546
|
+
.n("SecurityIRClient", "GetMembershipCommand")
|
|
1547
|
+
.f(void 0, GetMembershipResponseFilterSensitiveLog)
|
|
1548
|
+
.ser(se_GetMembershipCommand)
|
|
1549
|
+
.de(de_GetMembershipCommand)
|
|
1550
|
+
.build() {
|
|
1551
|
+
}
|
|
1552
|
+
|
|
1553
|
+
class ListCaseEditsCommand extends smithyClient.Command
|
|
1554
|
+
.classBuilder()
|
|
1555
|
+
.ep(commonParams)
|
|
1556
|
+
.m(function (Command, cs, config, o) {
|
|
1557
|
+
return [
|
|
1558
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1559
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1560
|
+
];
|
|
1561
|
+
})
|
|
1562
|
+
.s("SecurityIncidentResponse", "ListCaseEdits", {})
|
|
1563
|
+
.n("SecurityIRClient", "ListCaseEditsCommand")
|
|
1564
|
+
.f(void 0, void 0)
|
|
1565
|
+
.ser(se_ListCaseEditsCommand)
|
|
1566
|
+
.de(de_ListCaseEditsCommand)
|
|
1567
|
+
.build() {
|
|
1568
|
+
}
|
|
1569
|
+
|
|
1570
|
+
class ListCasesCommand extends smithyClient.Command
|
|
1571
|
+
.classBuilder()
|
|
1572
|
+
.ep(commonParams)
|
|
1573
|
+
.m(function (Command, cs, config, o) {
|
|
1574
|
+
return [
|
|
1575
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1576
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1577
|
+
];
|
|
1578
|
+
})
|
|
1579
|
+
.s("SecurityIncidentResponse", "ListCases", {})
|
|
1580
|
+
.n("SecurityIRClient", "ListCasesCommand")
|
|
1581
|
+
.f(void 0, ListCasesResponseFilterSensitiveLog)
|
|
1582
|
+
.ser(se_ListCasesCommand)
|
|
1583
|
+
.de(de_ListCasesCommand)
|
|
1584
|
+
.build() {
|
|
1585
|
+
}
|
|
1586
|
+
|
|
1587
|
+
class ListCommentsCommand extends smithyClient.Command
|
|
1588
|
+
.classBuilder()
|
|
1589
|
+
.ep(commonParams)
|
|
1590
|
+
.m(function (Command, cs, config, o) {
|
|
1591
|
+
return [
|
|
1592
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1593
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1594
|
+
];
|
|
1595
|
+
})
|
|
1596
|
+
.s("SecurityIncidentResponse", "ListComments", {})
|
|
1597
|
+
.n("SecurityIRClient", "ListCommentsCommand")
|
|
1598
|
+
.f(void 0, ListCommentsResponseFilterSensitiveLog)
|
|
1599
|
+
.ser(se_ListCommentsCommand)
|
|
1600
|
+
.de(de_ListCommentsCommand)
|
|
1601
|
+
.build() {
|
|
1602
|
+
}
|
|
1603
|
+
|
|
1604
|
+
class ListMembershipsCommand extends smithyClient.Command
|
|
1605
|
+
.classBuilder()
|
|
1606
|
+
.ep(commonParams)
|
|
1607
|
+
.m(function (Command, cs, config, o) {
|
|
1608
|
+
return [
|
|
1609
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1610
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1611
|
+
];
|
|
1612
|
+
})
|
|
1613
|
+
.s("SecurityIncidentResponse", "ListMemberships", {})
|
|
1614
|
+
.n("SecurityIRClient", "ListMembershipsCommand")
|
|
1615
|
+
.f(void 0, void 0)
|
|
1616
|
+
.ser(se_ListMembershipsCommand)
|
|
1617
|
+
.de(de_ListMembershipsCommand)
|
|
1618
|
+
.build() {
|
|
1619
|
+
}
|
|
1620
|
+
|
|
1621
|
+
class ListTagsForResourceCommand extends smithyClient.Command
|
|
1622
|
+
.classBuilder()
|
|
1623
|
+
.ep(commonParams)
|
|
1624
|
+
.m(function (Command, cs, config, o) {
|
|
1625
|
+
return [
|
|
1626
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1627
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1628
|
+
];
|
|
1629
|
+
})
|
|
1630
|
+
.s("SecurityIncidentResponse", "ListTagsForResource", {})
|
|
1631
|
+
.n("SecurityIRClient", "ListTagsForResourceCommand")
|
|
1632
|
+
.f(void 0, void 0)
|
|
1633
|
+
.ser(se_ListTagsForResourceCommand)
|
|
1634
|
+
.de(de_ListTagsForResourceCommand)
|
|
1635
|
+
.build() {
|
|
1636
|
+
}
|
|
1637
|
+
|
|
1638
|
+
class TagResourceCommand extends smithyClient.Command
|
|
1639
|
+
.classBuilder()
|
|
1640
|
+
.ep(commonParams)
|
|
1641
|
+
.m(function (Command, cs, config, o) {
|
|
1642
|
+
return [
|
|
1643
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1644
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1645
|
+
];
|
|
1646
|
+
})
|
|
1647
|
+
.s("SecurityIncidentResponse", "TagResource", {})
|
|
1648
|
+
.n("SecurityIRClient", "TagResourceCommand")
|
|
1649
|
+
.f(void 0, void 0)
|
|
1650
|
+
.ser(se_TagResourceCommand)
|
|
1651
|
+
.de(de_TagResourceCommand)
|
|
1652
|
+
.build() {
|
|
1653
|
+
}
|
|
1654
|
+
|
|
1655
|
+
class UntagResourceCommand extends smithyClient.Command
|
|
1656
|
+
.classBuilder()
|
|
1657
|
+
.ep(commonParams)
|
|
1658
|
+
.m(function (Command, cs, config, o) {
|
|
1659
|
+
return [
|
|
1660
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1661
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1662
|
+
];
|
|
1663
|
+
})
|
|
1664
|
+
.s("SecurityIncidentResponse", "UntagResource", {})
|
|
1665
|
+
.n("SecurityIRClient", "UntagResourceCommand")
|
|
1666
|
+
.f(void 0, void 0)
|
|
1667
|
+
.ser(se_UntagResourceCommand)
|
|
1668
|
+
.de(de_UntagResourceCommand)
|
|
1669
|
+
.build() {
|
|
1670
|
+
}
|
|
1671
|
+
|
|
1672
|
+
class UpdateCaseCommand extends smithyClient.Command
|
|
1673
|
+
.classBuilder()
|
|
1674
|
+
.ep(commonParams)
|
|
1675
|
+
.m(function (Command, cs, config, o) {
|
|
1676
|
+
return [
|
|
1677
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1678
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1679
|
+
];
|
|
1680
|
+
})
|
|
1681
|
+
.s("SecurityIncidentResponse", "UpdateCase", {})
|
|
1682
|
+
.n("SecurityIRClient", "UpdateCaseCommand")
|
|
1683
|
+
.f(UpdateCaseRequestFilterSensitiveLog, void 0)
|
|
1684
|
+
.ser(se_UpdateCaseCommand)
|
|
1685
|
+
.de(de_UpdateCaseCommand)
|
|
1686
|
+
.build() {
|
|
1687
|
+
}
|
|
1688
|
+
|
|
1689
|
+
class UpdateCaseCommentCommand extends smithyClient.Command
|
|
1690
|
+
.classBuilder()
|
|
1691
|
+
.ep(commonParams)
|
|
1692
|
+
.m(function (Command, cs, config, o) {
|
|
1693
|
+
return [
|
|
1694
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1695
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1696
|
+
];
|
|
1697
|
+
})
|
|
1698
|
+
.s("SecurityIncidentResponse", "UpdateCaseComment", {})
|
|
1699
|
+
.n("SecurityIRClient", "UpdateCaseCommentCommand")
|
|
1700
|
+
.f(UpdateCaseCommentRequestFilterSensitiveLog, UpdateCaseCommentResponseFilterSensitiveLog)
|
|
1701
|
+
.ser(se_UpdateCaseCommentCommand)
|
|
1702
|
+
.de(de_UpdateCaseCommentCommand)
|
|
1703
|
+
.build() {
|
|
1704
|
+
}
|
|
1705
|
+
|
|
1706
|
+
class UpdateCaseStatusCommand extends smithyClient.Command
|
|
1707
|
+
.classBuilder()
|
|
1708
|
+
.ep(commonParams)
|
|
1709
|
+
.m(function (Command, cs, config, o) {
|
|
1710
|
+
return [
|
|
1711
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1712
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1713
|
+
];
|
|
1714
|
+
})
|
|
1715
|
+
.s("SecurityIncidentResponse", "UpdateCaseStatus", {})
|
|
1716
|
+
.n("SecurityIRClient", "UpdateCaseStatusCommand")
|
|
1717
|
+
.f(void 0, void 0)
|
|
1718
|
+
.ser(se_UpdateCaseStatusCommand)
|
|
1719
|
+
.de(de_UpdateCaseStatusCommand)
|
|
1720
|
+
.build() {
|
|
1721
|
+
}
|
|
1722
|
+
|
|
1723
|
+
class UpdateMembershipCommand extends smithyClient.Command
|
|
1724
|
+
.classBuilder()
|
|
1725
|
+
.ep(commonParams)
|
|
1726
|
+
.m(function (Command, cs, config, o) {
|
|
1727
|
+
return [
|
|
1728
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1729
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1730
|
+
];
|
|
1731
|
+
})
|
|
1732
|
+
.s("SecurityIncidentResponse", "UpdateMembership", {})
|
|
1733
|
+
.n("SecurityIRClient", "UpdateMembershipCommand")
|
|
1734
|
+
.f(UpdateMembershipRequestFilterSensitiveLog, void 0)
|
|
1735
|
+
.ser(se_UpdateMembershipCommand)
|
|
1736
|
+
.de(de_UpdateMembershipCommand)
|
|
1737
|
+
.build() {
|
|
1738
|
+
}
|
|
1739
|
+
|
|
1740
|
+
class UpdateResolverTypeCommand extends smithyClient.Command
|
|
1741
|
+
.classBuilder()
|
|
1742
|
+
.ep(commonParams)
|
|
1743
|
+
.m(function (Command, cs, config, o) {
|
|
1744
|
+
return [
|
|
1745
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1746
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1747
|
+
];
|
|
1748
|
+
})
|
|
1749
|
+
.s("SecurityIncidentResponse", "UpdateResolverType", {})
|
|
1750
|
+
.n("SecurityIRClient", "UpdateResolverTypeCommand")
|
|
1751
|
+
.f(void 0, void 0)
|
|
1752
|
+
.ser(se_UpdateResolverTypeCommand)
|
|
1753
|
+
.de(de_UpdateResolverTypeCommand)
|
|
1754
|
+
.build() {
|
|
1755
|
+
}
|
|
1756
|
+
|
|
1757
|
+
const commands = {
|
|
1758
|
+
BatchGetMemberAccountDetailsCommand,
|
|
1759
|
+
CancelMembershipCommand,
|
|
1760
|
+
CloseCaseCommand,
|
|
1761
|
+
CreateCaseCommand,
|
|
1762
|
+
CreateCaseCommentCommand,
|
|
1763
|
+
CreateMembershipCommand,
|
|
1764
|
+
GetCaseCommand,
|
|
1765
|
+
GetCaseAttachmentDownloadUrlCommand,
|
|
1766
|
+
GetCaseAttachmentUploadUrlCommand,
|
|
1767
|
+
GetMembershipCommand,
|
|
1768
|
+
ListCaseEditsCommand,
|
|
1769
|
+
ListCasesCommand,
|
|
1770
|
+
ListCommentsCommand,
|
|
1771
|
+
ListMembershipsCommand,
|
|
1772
|
+
ListTagsForResourceCommand,
|
|
1773
|
+
TagResourceCommand,
|
|
1774
|
+
UntagResourceCommand,
|
|
1775
|
+
UpdateCaseCommand,
|
|
1776
|
+
UpdateCaseCommentCommand,
|
|
1777
|
+
UpdateCaseStatusCommand,
|
|
1778
|
+
UpdateMembershipCommand,
|
|
1779
|
+
UpdateResolverTypeCommand,
|
|
1780
|
+
};
|
|
1781
|
+
class SecurityIR extends SecurityIRClient {
|
|
1782
|
+
}
|
|
1783
|
+
smithyClient.createAggregatedClient(commands, SecurityIR);
|
|
1989
1784
|
|
|
1990
|
-
|
|
1991
|
-
var commands = {
|
|
1992
|
-
BatchGetMemberAccountDetailsCommand,
|
|
1993
|
-
CancelMembershipCommand,
|
|
1994
|
-
CloseCaseCommand,
|
|
1995
|
-
CreateCaseCommand,
|
|
1996
|
-
CreateCaseCommentCommand,
|
|
1997
|
-
CreateMembershipCommand,
|
|
1998
|
-
GetCaseCommand,
|
|
1999
|
-
GetCaseAttachmentDownloadUrlCommand,
|
|
2000
|
-
GetCaseAttachmentUploadUrlCommand,
|
|
2001
|
-
GetMembershipCommand,
|
|
2002
|
-
ListCaseEditsCommand,
|
|
2003
|
-
ListCasesCommand,
|
|
2004
|
-
ListCommentsCommand,
|
|
2005
|
-
ListMembershipsCommand,
|
|
2006
|
-
ListTagsForResourceCommand,
|
|
2007
|
-
TagResourceCommand,
|
|
2008
|
-
UntagResourceCommand,
|
|
2009
|
-
UpdateCaseCommand,
|
|
2010
|
-
UpdateCaseCommentCommand,
|
|
2011
|
-
UpdateCaseStatusCommand,
|
|
2012
|
-
UpdateMembershipCommand,
|
|
2013
|
-
UpdateResolverTypeCommand
|
|
2014
|
-
};
|
|
2015
|
-
var SecurityIR = class extends SecurityIRClient {
|
|
2016
|
-
static {
|
|
2017
|
-
__name(this, "SecurityIR");
|
|
2018
|
-
}
|
|
2019
|
-
};
|
|
2020
|
-
(0, import_smithy_client.createAggregatedClient)(commands, SecurityIR);
|
|
2021
|
-
|
|
2022
|
-
// src/pagination/ListCaseEditsPaginator.ts
|
|
2023
|
-
|
|
2024
|
-
var paginateListCaseEdits = (0, import_core.createPaginator)(SecurityIRClient, ListCaseEditsCommand, "nextToken", "nextToken", "maxResults");
|
|
2025
|
-
|
|
2026
|
-
// src/pagination/ListCasesPaginator.ts
|
|
2027
|
-
|
|
2028
|
-
var paginateListCases = (0, import_core.createPaginator)(SecurityIRClient, ListCasesCommand, "nextToken", "nextToken", "maxResults");
|
|
2029
|
-
|
|
2030
|
-
// src/pagination/ListCommentsPaginator.ts
|
|
1785
|
+
const paginateListCaseEdits = core.createPaginator(SecurityIRClient, ListCaseEditsCommand, "nextToken", "nextToken", "maxResults");
|
|
2031
1786
|
|
|
2032
|
-
|
|
1787
|
+
const paginateListCases = core.createPaginator(SecurityIRClient, ListCasesCommand, "nextToken", "nextToken", "maxResults");
|
|
2033
1788
|
|
|
2034
|
-
|
|
1789
|
+
const paginateListComments = core.createPaginator(SecurityIRClient, ListCommentsCommand, "nextToken", "nextToken", "maxResults");
|
|
2035
1790
|
|
|
2036
|
-
|
|
2037
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
1791
|
+
const paginateListMemberships = core.createPaginator(SecurityIRClient, ListMembershipsCommand, "nextToken", "nextToken", "maxResults");
|
|
2038
1792
|
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
SecurityIRClient,
|
|
2043
|
-
SecurityIR,
|
|
2044
|
-
$Command,
|
|
2045
|
-
BatchGetMemberAccountDetailsCommand,
|
|
2046
|
-
CancelMembershipCommand,
|
|
2047
|
-
CloseCaseCommand,
|
|
2048
|
-
CreateCaseCommand,
|
|
2049
|
-
CreateCaseCommentCommand,
|
|
2050
|
-
CreateMembershipCommand,
|
|
2051
|
-
GetCaseAttachmentDownloadUrlCommand,
|
|
2052
|
-
GetCaseAttachmentUploadUrlCommand,
|
|
2053
|
-
GetCaseCommand,
|
|
2054
|
-
GetMembershipCommand,
|
|
2055
|
-
ListCaseEditsCommand,
|
|
2056
|
-
ListCasesCommand,
|
|
2057
|
-
ListCommentsCommand,
|
|
2058
|
-
ListMembershipsCommand,
|
|
2059
|
-
ListTagsForResourceCommand,
|
|
2060
|
-
TagResourceCommand,
|
|
2061
|
-
UntagResourceCommand,
|
|
2062
|
-
UpdateCaseCommand,
|
|
2063
|
-
UpdateCaseCommentCommand,
|
|
2064
|
-
UpdateCaseStatusCommand,
|
|
2065
|
-
UpdateMembershipCommand,
|
|
2066
|
-
UpdateResolverTypeCommand,
|
|
2067
|
-
paginateListCaseEdits,
|
|
2068
|
-
paginateListCases,
|
|
2069
|
-
paginateListComments,
|
|
2070
|
-
paginateListMemberships,
|
|
2071
|
-
AccessDeniedException,
|
|
2072
|
-
AwsRegion,
|
|
2073
|
-
MembershipAccountRelationshipStatus,
|
|
2074
|
-
MembershipAccountRelationshipType,
|
|
2075
|
-
ConflictException,
|
|
2076
|
-
InternalServerException,
|
|
2077
|
-
InvalidTokenException,
|
|
2078
|
-
ResourceNotFoundException,
|
|
2079
|
-
SecurityIncidentResponseNotActiveException,
|
|
2080
|
-
ServiceQuotaExceededException,
|
|
2081
|
-
ThrottlingException,
|
|
2082
|
-
ValidationExceptionReason,
|
|
2083
|
-
ValidationException,
|
|
2084
|
-
CaseStatus,
|
|
2085
|
-
EngagementType,
|
|
2086
|
-
ResolverType,
|
|
2087
|
-
CaseAttachmentStatus,
|
|
2088
|
-
ClosureCode,
|
|
2089
|
-
PendingAction,
|
|
2090
|
-
SelfManagedCaseStatus,
|
|
2091
|
-
OptInFeatureName,
|
|
2092
|
-
CustomerType,
|
|
2093
|
-
MembershipStatus,
|
|
2094
|
-
ThreatActorIpFilterSensitiveLog,
|
|
2095
|
-
WatcherFilterSensitiveLog,
|
|
2096
|
-
CreateCaseRequestFilterSensitiveLog,
|
|
2097
|
-
CreateCaseCommentRequestFilterSensitiveLog,
|
|
2098
|
-
CaseAttachmentAttributesFilterSensitiveLog,
|
|
2099
|
-
GetCaseResponseFilterSensitiveLog,
|
|
2100
|
-
GetCaseAttachmentDownloadUrlResponseFilterSensitiveLog,
|
|
2101
|
-
GetCaseAttachmentUploadUrlRequestFilterSensitiveLog,
|
|
2102
|
-
GetCaseAttachmentUploadUrlResponseFilterSensitiveLog,
|
|
2103
|
-
ListCasesItemFilterSensitiveLog,
|
|
2104
|
-
ListCasesResponseFilterSensitiveLog,
|
|
2105
|
-
ListCommentsItemFilterSensitiveLog,
|
|
2106
|
-
ListCommentsResponseFilterSensitiveLog,
|
|
2107
|
-
UpdateCaseRequestFilterSensitiveLog,
|
|
2108
|
-
UpdateCaseCommentRequestFilterSensitiveLog,
|
|
2109
|
-
UpdateCaseCommentResponseFilterSensitiveLog,
|
|
2110
|
-
IncidentResponderFilterSensitiveLog,
|
|
2111
|
-
CreateMembershipRequestFilterSensitiveLog,
|
|
2112
|
-
GetMembershipResponseFilterSensitiveLog,
|
|
2113
|
-
UpdateMembershipRequestFilterSensitiveLog
|
|
1793
|
+
Object.defineProperty(exports, "$Command", {
|
|
1794
|
+
enumerable: true,
|
|
1795
|
+
get: function () { return smithyClient.Command; }
|
|
2114
1796
|
});
|
|
2115
|
-
|
|
1797
|
+
Object.defineProperty(exports, "__Client", {
|
|
1798
|
+
enumerable: true,
|
|
1799
|
+
get: function () { return smithyClient.Client; }
|
|
1800
|
+
});
|
|
1801
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
1802
|
+
exports.AwsRegion = AwsRegion;
|
|
1803
|
+
exports.BatchGetMemberAccountDetailsCommand = BatchGetMemberAccountDetailsCommand;
|
|
1804
|
+
exports.CancelMembershipCommand = CancelMembershipCommand;
|
|
1805
|
+
exports.CaseAttachmentAttributesFilterSensitiveLog = CaseAttachmentAttributesFilterSensitiveLog;
|
|
1806
|
+
exports.CaseAttachmentStatus = CaseAttachmentStatus;
|
|
1807
|
+
exports.CaseStatus = CaseStatus;
|
|
1808
|
+
exports.CloseCaseCommand = CloseCaseCommand;
|
|
1809
|
+
exports.ClosureCode = ClosureCode;
|
|
1810
|
+
exports.ConflictException = ConflictException;
|
|
1811
|
+
exports.CreateCaseCommand = CreateCaseCommand;
|
|
1812
|
+
exports.CreateCaseCommentCommand = CreateCaseCommentCommand;
|
|
1813
|
+
exports.CreateCaseCommentRequestFilterSensitiveLog = CreateCaseCommentRequestFilterSensitiveLog;
|
|
1814
|
+
exports.CreateCaseRequestFilterSensitiveLog = CreateCaseRequestFilterSensitiveLog;
|
|
1815
|
+
exports.CreateMembershipCommand = CreateMembershipCommand;
|
|
1816
|
+
exports.CreateMembershipRequestFilterSensitiveLog = CreateMembershipRequestFilterSensitiveLog;
|
|
1817
|
+
exports.CustomerType = CustomerType;
|
|
1818
|
+
exports.EngagementType = EngagementType;
|
|
1819
|
+
exports.GetCaseAttachmentDownloadUrlCommand = GetCaseAttachmentDownloadUrlCommand;
|
|
1820
|
+
exports.GetCaseAttachmentDownloadUrlResponseFilterSensitiveLog = GetCaseAttachmentDownloadUrlResponseFilterSensitiveLog;
|
|
1821
|
+
exports.GetCaseAttachmentUploadUrlCommand = GetCaseAttachmentUploadUrlCommand;
|
|
1822
|
+
exports.GetCaseAttachmentUploadUrlRequestFilterSensitiveLog = GetCaseAttachmentUploadUrlRequestFilterSensitiveLog;
|
|
1823
|
+
exports.GetCaseAttachmentUploadUrlResponseFilterSensitiveLog = GetCaseAttachmentUploadUrlResponseFilterSensitiveLog;
|
|
1824
|
+
exports.GetCaseCommand = GetCaseCommand;
|
|
1825
|
+
exports.GetCaseResponseFilterSensitiveLog = GetCaseResponseFilterSensitiveLog;
|
|
1826
|
+
exports.GetMembershipCommand = GetMembershipCommand;
|
|
1827
|
+
exports.GetMembershipResponseFilterSensitiveLog = GetMembershipResponseFilterSensitiveLog;
|
|
1828
|
+
exports.IncidentResponderFilterSensitiveLog = IncidentResponderFilterSensitiveLog;
|
|
1829
|
+
exports.InternalServerException = InternalServerException;
|
|
1830
|
+
exports.InvalidTokenException = InvalidTokenException;
|
|
1831
|
+
exports.ListCaseEditsCommand = ListCaseEditsCommand;
|
|
1832
|
+
exports.ListCasesCommand = ListCasesCommand;
|
|
1833
|
+
exports.ListCasesItemFilterSensitiveLog = ListCasesItemFilterSensitiveLog;
|
|
1834
|
+
exports.ListCasesResponseFilterSensitiveLog = ListCasesResponseFilterSensitiveLog;
|
|
1835
|
+
exports.ListCommentsCommand = ListCommentsCommand;
|
|
1836
|
+
exports.ListCommentsItemFilterSensitiveLog = ListCommentsItemFilterSensitiveLog;
|
|
1837
|
+
exports.ListCommentsResponseFilterSensitiveLog = ListCommentsResponseFilterSensitiveLog;
|
|
1838
|
+
exports.ListMembershipsCommand = ListMembershipsCommand;
|
|
1839
|
+
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
1840
|
+
exports.MembershipAccountRelationshipStatus = MembershipAccountRelationshipStatus;
|
|
1841
|
+
exports.MembershipAccountRelationshipType = MembershipAccountRelationshipType;
|
|
1842
|
+
exports.MembershipStatus = MembershipStatus;
|
|
1843
|
+
exports.OptInFeatureName = OptInFeatureName;
|
|
1844
|
+
exports.PendingAction = PendingAction;
|
|
1845
|
+
exports.ResolverType = ResolverType;
|
|
1846
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
1847
|
+
exports.SecurityIR = SecurityIR;
|
|
1848
|
+
exports.SecurityIRClient = SecurityIRClient;
|
|
1849
|
+
exports.SecurityIRServiceException = SecurityIRServiceException;
|
|
1850
|
+
exports.SecurityIncidentResponseNotActiveException = SecurityIncidentResponseNotActiveException;
|
|
1851
|
+
exports.SelfManagedCaseStatus = SelfManagedCaseStatus;
|
|
1852
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
1853
|
+
exports.TagResourceCommand = TagResourceCommand;
|
|
1854
|
+
exports.ThreatActorIpFilterSensitiveLog = ThreatActorIpFilterSensitiveLog;
|
|
1855
|
+
exports.ThrottlingException = ThrottlingException;
|
|
1856
|
+
exports.UntagResourceCommand = UntagResourceCommand;
|
|
1857
|
+
exports.UpdateCaseCommand = UpdateCaseCommand;
|
|
1858
|
+
exports.UpdateCaseCommentCommand = UpdateCaseCommentCommand;
|
|
1859
|
+
exports.UpdateCaseCommentRequestFilterSensitiveLog = UpdateCaseCommentRequestFilterSensitiveLog;
|
|
1860
|
+
exports.UpdateCaseCommentResponseFilterSensitiveLog = UpdateCaseCommentResponseFilterSensitiveLog;
|
|
1861
|
+
exports.UpdateCaseRequestFilterSensitiveLog = UpdateCaseRequestFilterSensitiveLog;
|
|
1862
|
+
exports.UpdateCaseStatusCommand = UpdateCaseStatusCommand;
|
|
1863
|
+
exports.UpdateMembershipCommand = UpdateMembershipCommand;
|
|
1864
|
+
exports.UpdateMembershipRequestFilterSensitiveLog = UpdateMembershipRequestFilterSensitiveLog;
|
|
1865
|
+
exports.UpdateResolverTypeCommand = UpdateResolverTypeCommand;
|
|
1866
|
+
exports.ValidationException = ValidationException;
|
|
1867
|
+
exports.ValidationExceptionReason = ValidationExceptionReason;
|
|
1868
|
+
exports.WatcherFilterSensitiveLog = WatcherFilterSensitiveLog;
|
|
1869
|
+
exports.paginateListCaseEdits = paginateListCaseEdits;
|
|
1870
|
+
exports.paginateListCases = paginateListCases;
|
|
1871
|
+
exports.paginateListComments = paginateListComments;
|
|
1872
|
+
exports.paginateListMemberships = paginateListMemberships;
|