@aws-sdk/client-inspector2 3.774.0 → 3.777.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.
Files changed (66) hide show
  1. package/dist-cjs/auth/httpAuthSchemeProvider.js +1 -3
  2. package/dist-cjs/index.js +17 -18
  3. package/dist-es/Inspector2Client.js +2 -1
  4. package/dist-es/auth/httpAuthSchemeProvider.js +1 -3
  5. package/dist-es/endpoint/EndpointParameters.js +2 -3
  6. package/dist-es/runtimeExtensions.js +2 -14
  7. package/dist-types/commands/AssociateMemberCommand.d.ts +1 -0
  8. package/dist-types/commands/BatchGetAccountStatusCommand.d.ts +1 -0
  9. package/dist-types/commands/BatchGetCodeSnippetCommand.d.ts +1 -0
  10. package/dist-types/commands/BatchGetFindingDetailsCommand.d.ts +61 -0
  11. package/dist-types/commands/BatchGetFreeTrialInfoCommand.d.ts +1 -0
  12. package/dist-types/commands/BatchGetMemberEc2DeepInspectionStatusCommand.d.ts +1 -0
  13. package/dist-types/commands/BatchUpdateMemberEc2DeepInspectionStatusCommand.d.ts +1 -0
  14. package/dist-types/commands/CancelFindingsReportCommand.d.ts +1 -0
  15. package/dist-types/commands/CancelSbomExportCommand.d.ts +1 -0
  16. package/dist-types/commands/CreateCisScanConfigurationCommand.d.ts +35 -0
  17. package/dist-types/commands/CreateFilterCommand.d.ts +1 -0
  18. package/dist-types/commands/CreateFindingsReportCommand.d.ts +1 -0
  19. package/dist-types/commands/CreateSbomExportCommand.d.ts +1 -0
  20. package/dist-types/commands/DeleteCisScanConfigurationCommand.d.ts +16 -0
  21. package/dist-types/commands/DeleteFilterCommand.d.ts +1 -0
  22. package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +1 -0
  23. package/dist-types/commands/DisableCommand.d.ts +1 -0
  24. package/dist-types/commands/DisableDelegatedAdminAccountCommand.d.ts +1 -0
  25. package/dist-types/commands/DisassociateMemberCommand.d.ts +1 -0
  26. package/dist-types/commands/EnableCommand.d.ts +1 -0
  27. package/dist-types/commands/EnableDelegatedAdminAccountCommand.d.ts +1 -0
  28. package/dist-types/commands/GetCisScanReportCommand.d.ts +18 -0
  29. package/dist-types/commands/GetCisScanResultDetailsCommand.d.ts +31 -0
  30. package/dist-types/commands/GetConfigurationCommand.d.ts +1 -0
  31. package/dist-types/commands/GetDelegatedAdminAccountCommand.d.ts +1 -0
  32. package/dist-types/commands/GetEc2DeepInspectionConfigurationCommand.d.ts +1 -0
  33. package/dist-types/commands/GetEncryptionKeyCommand.d.ts +1 -0
  34. package/dist-types/commands/GetFindingsReportStatusCommand.d.ts +1 -0
  35. package/dist-types/commands/GetMemberCommand.d.ts +1 -0
  36. package/dist-types/commands/GetSbomExportCommand.d.ts +1 -0
  37. package/dist-types/commands/ListAccountPermissionsCommand.d.ts +1 -0
  38. package/dist-types/commands/ListCisScanConfigurationsCommand.d.ts +39 -0
  39. package/dist-types/commands/ListCisScanResultsAggregatedByChecksCommand.d.ts +31 -0
  40. package/dist-types/commands/ListCisScanResultsAggregatedByTargetResourceCommand.d.ts +34 -0
  41. package/dist-types/commands/ListCisScansCommand.d.ts +36 -0
  42. package/dist-types/commands/ListCoverageCommand.d.ts +1 -0
  43. package/dist-types/commands/ListCoverageStatisticsCommand.d.ts +1 -0
  44. package/dist-types/commands/ListDelegatedAdminAccountsCommand.d.ts +1 -0
  45. package/dist-types/commands/ListFiltersCommand.d.ts +1 -0
  46. package/dist-types/commands/ListFindingAggregationsCommand.d.ts +1 -0
  47. package/dist-types/commands/ListFindingsCommand.d.ts +1 -0
  48. package/dist-types/commands/ListMembersCommand.d.ts +1 -0
  49. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -0
  50. package/dist-types/commands/ListUsageTotalsCommand.d.ts +1 -0
  51. package/dist-types/commands/ResetEncryptionKeyCommand.d.ts +1 -0
  52. package/dist-types/commands/SearchVulnerabilitiesCommand.d.ts +1 -0
  53. package/dist-types/commands/SendCisSessionHealthCommand.d.ts +15 -0
  54. package/dist-types/commands/SendCisSessionTelemetryCommand.d.ts +27 -0
  55. package/dist-types/commands/StartCisSessionCommand.d.ts +17 -0
  56. package/dist-types/commands/StopCisSessionCommand.d.ts +36 -0
  57. package/dist-types/commands/TagResourceCommand.d.ts +1 -0
  58. package/dist-types/commands/UntagResourceCommand.d.ts +1 -0
  59. package/dist-types/commands/UpdateCisScanConfigurationCommand.d.ts +36 -0
  60. package/dist-types/commands/UpdateConfigurationCommand.d.ts +1 -0
  61. package/dist-types/commands/UpdateEc2DeepInspectionConfigurationCommand.d.ts +1 -0
  62. package/dist-types/commands/UpdateEncryptionKeyCommand.d.ts +1 -0
  63. package/dist-types/commands/UpdateFilterCommand.d.ts +1 -0
  64. package/dist-types/commands/UpdateOrgEc2DeepInspectionConfigurationCommand.d.ts +1 -0
  65. package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +1 -1
  66. package/package.json +33 -33
@@ -40,8 +40,6 @@ const defaultInspector2HttpAuthSchemeProvider = (authParameters) => {
40
40
  exports.defaultInspector2HttpAuthSchemeProvider = defaultInspector2HttpAuthSchemeProvider;
41
41
  const resolveHttpAuthSchemeConfig = (config) => {
42
42
  const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config);
43
- return {
44
- ...config_0,
45
- };
43
+ return Object.assign(config_0, {});
46
44
  };
47
45
  exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
package/dist-cjs/index.js CHANGED
@@ -221,12 +221,11 @@ var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
221
221
 
222
222
  // src/endpoint/EndpointParameters.ts
223
223
  var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
224
- return {
225
- ...options,
224
+ return Object.assign(options, {
226
225
  useDualstackEndpoint: options.useDualstackEndpoint ?? false,
227
226
  useFipsEndpoint: options.useFipsEndpoint ?? false,
228
227
  defaultSigningName: "inspector2"
229
- };
228
+ });
230
229
  }, "resolveClientEndpointParameters");
231
230
  var commonParams = {
232
231
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -283,22 +282,21 @@ var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
283
282
  }, "resolveHttpAuthRuntimeConfig");
284
283
 
285
284
  // src/runtimeExtensions.ts
286
- var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
287
285
  var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
288
- const extensionConfiguration = {
289
- ...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
290
- ...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
291
- ...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
292
- ...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig))
293
- };
286
+ const extensionConfiguration = Object.assign(
287
+ (0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),
288
+ (0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),
289
+ (0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),
290
+ getHttpAuthExtensionConfiguration(runtimeConfig)
291
+ );
294
292
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
295
- return {
296
- ...runtimeConfig,
297
- ...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
298
- ...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
299
- ...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
300
- ...resolveHttpAuthRuntimeConfig(extensionConfiguration)
301
- };
293
+ return Object.assign(
294
+ runtimeConfig,
295
+ (0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
296
+ (0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
297
+ (0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
298
+ resolveHttpAuthRuntimeConfig(extensionConfiguration)
299
+ );
302
300
  }, "resolveRuntimeExtensions");
303
301
 
304
302
  // src/Inspector2Client.ts
@@ -312,6 +310,8 @@ var Inspector2Client = class extends import_smithy_client.Client {
312
310
  config;
313
311
  constructor(...[configuration]) {
314
312
  const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
313
+ super(_config_0);
314
+ this.initConfig = _config_0;
315
315
  const _config_1 = resolveClientEndpointParameters(_config_0);
316
316
  const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
317
317
  const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
@@ -320,7 +320,6 @@ var Inspector2Client = class extends import_smithy_client.Client {
320
320
  const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
321
321
  const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
322
322
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
323
- super(_config_8);
324
323
  this.config = _config_8;
325
324
  this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
326
325
  this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
@@ -17,6 +17,8 @@ export class Inspector2Client extends __Client {
17
17
  config;
18
18
  constructor(...[configuration]) {
19
19
  const _config_0 = __getRuntimeConfig(configuration || {});
20
+ super(_config_0);
21
+ this.initConfig = _config_0;
20
22
  const _config_1 = resolveClientEndpointParameters(_config_0);
21
23
  const _config_2 = resolveUserAgentConfig(_config_1);
22
24
  const _config_3 = resolveRetryConfig(_config_2);
@@ -25,7 +27,6 @@ export class Inspector2Client extends __Client {
25
27
  const _config_6 = resolveEndpointConfig(_config_5);
26
28
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
27
29
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
28
- super(_config_8);
29
30
  this.config = _config_8;
30
31
  this.middlewareStack.use(getUserAgentPlugin(this.config));
31
32
  this.middlewareStack.use(getRetryPlugin(this.config));
@@ -35,7 +35,5 @@ export const defaultInspector2HttpAuthSchemeProvider = (authParameters) => {
35
35
  };
36
36
  export const resolveHttpAuthSchemeConfig = (config) => {
37
37
  const config_0 = resolveAwsSdkSigV4Config(config);
38
- return {
39
- ...config_0,
40
- };
38
+ return Object.assign(config_0, {});
41
39
  };
@@ -1,10 +1,9 @@
1
1
  export const resolveClientEndpointParameters = (options) => {
2
- return {
3
- ...options,
2
+ return Object.assign(options, {
4
3
  useDualstackEndpoint: options.useDualstackEndpoint ?? false,
5
4
  useFipsEndpoint: options.useFipsEndpoint ?? false,
6
5
  defaultSigningName: "inspector2",
7
- };
6
+ });
8
7
  };
9
8
  export const commonParams = {
10
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -2,20 +2,8 @@ import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfigurat
2
2
  import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
3
3
  import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
4
4
  import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration";
5
- const asPartial = (t) => t;
6
5
  export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
7
- const extensionConfiguration = {
8
- ...asPartial(getAwsRegionExtensionConfiguration(runtimeConfig)),
9
- ...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
10
- ...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)),
11
- ...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig)),
12
- };
6
+ const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
13
7
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
14
- return {
15
- ...runtimeConfig,
16
- ...resolveAwsRegionExtensionConfiguration(extensionConfiguration),
17
- ...resolveDefaultRuntimeConfig(extensionConfiguration),
18
- ...resolveHttpHandlerRuntimeConfig(extensionConfiguration),
19
- ...resolveHttpAuthRuntimeConfig(extensionConfiguration),
20
- };
8
+ return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
21
9
  };
@@ -71,6 +71,7 @@ declare const AssociateMemberCommand_base: {
71
71
  * @throws {@link Inspector2ServiceException}
72
72
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
73
73
  *
74
+ *
74
75
  * @public
75
76
  */
76
77
  export declare class AssociateMemberCommand extends AssociateMemberCommand_base {
@@ -117,6 +117,7 @@ declare const BatchGetAccountStatusCommand_base: {
117
117
  * @throws {@link Inspector2ServiceException}
118
118
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
119
119
  *
120
+ *
120
121
  * @public
121
122
  */
122
123
  export declare class BatchGetAccountStatusCommand extends BatchGetAccountStatusCommand_base {
@@ -94,6 +94,7 @@ declare const BatchGetCodeSnippetCommand_base: {
94
94
  * @throws {@link Inspector2ServiceException}
95
95
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
96
96
  *
97
+ *
97
98
  * @public
98
99
  */
99
100
  export declare class BatchGetCodeSnippetCommand extends BatchGetCodeSnippetCommand_base {
@@ -110,6 +110,67 @@ declare const BatchGetFindingDetailsCommand_base: {
110
110
  * @throws {@link Inspector2ServiceException}
111
111
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
112
112
  *
113
+ *
114
+ * @example Sample BatchGetFindingDetails Call
115
+ * ```javascript
116
+ * //
117
+ * const input = {
118
+ * findingArns: [
119
+ * "arn:aws:inspector2:eu-west-1:123456789012:finding/78b88cc9aa1d78b6e14fde90d774dde7",
120
+ * "arn:aws:inspector2:eu-west-1:111111111111:finding/78b88cc9aa1d78b6e14fde90d874dde7"
121
+ * ]
122
+ * };
123
+ * const command = new BatchGetFindingDetailsCommand(input);
124
+ * const response = await client.send(command);
125
+ * /* response is
126
+ * {
127
+ * errors: [
128
+ * {
129
+ * errorCode: "ACCESS_DENIED",
130
+ * errorMessage: "You don't have permission to access this finding",
131
+ * findingArn: "arn:aws:inspector2:eu-west-1:111111111111:finding/78b88cc9aa1d78b6e14fde90d874dde7"
132
+ * }
133
+ * ],
134
+ * findingDetails: [
135
+ * {
136
+ * cisaData: {
137
+ * action: "For all affected software assets for which updates exist, the only acceptable remediation actions are: 1) Apply updates; OR 2) remove affected assets from agency networks.",
138
+ * dateAdded: 1688580990,
139
+ * dateDue: 1688580999
140
+ * },
141
+ * cwes: [
142
+ * "cwe-1234"
143
+ * ],
144
+ * epssScore: 0.85,
145
+ * evidences: [
146
+ * {
147
+ * evidenceDetail: "2 sightings on 1 source",
148
+ * evidenceRule: "Historically Linked to Penetration Testing Tools",
149
+ * severity: "Low"
150
+ * }
151
+ * ],
152
+ * exploitObserved: {
153
+ * firstSeen: 1688580800,
154
+ * lastSeen: 1688580990
155
+ * },
156
+ * findingArn: "arn:aws:inspector2:eu-west-1:123456789012:finding/78b88cc9aa1d78b6e14fde90d774dde7",
157
+ * referenceUrls: [
158
+ * "https://nvd.nist.gov/vuln/detail/CVE-2019-20367"
159
+ * ],
160
+ * riskScore: 66,
161
+ * tools: [
162
+ * "Metasploit"
163
+ * ],
164
+ * ttps: [
165
+ * "TA0001",
166
+ * "TA0002"
167
+ * ]
168
+ * }
169
+ * ]
170
+ * }
171
+ * *\/
172
+ * ```
173
+ *
113
174
  * @public
114
175
  */
115
176
  export declare class BatchGetFindingDetailsCommand extends BatchGetFindingDetailsCommand_base {
@@ -88,6 +88,7 @@ declare const BatchGetFreeTrialInfoCommand_base: {
88
88
  * @throws {@link Inspector2ServiceException}
89
89
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
90
90
  *
91
+ *
91
92
  * @public
92
93
  */
93
94
  export declare class BatchGetFreeTrialInfoCommand extends BatchGetFreeTrialInfoCommand_base {
@@ -82,6 +82,7 @@ declare const BatchGetMemberEc2DeepInspectionStatusCommand_base: {
82
82
  * @throws {@link Inspector2ServiceException}
83
83
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
84
84
  *
85
+ *
85
86
  * @public
86
87
  */
87
88
  export declare class BatchGetMemberEc2DeepInspectionStatusCommand extends BatchGetMemberEc2DeepInspectionStatusCommand_base {
@@ -85,6 +85,7 @@ declare const BatchUpdateMemberEc2DeepInspectionStatusCommand_base: {
85
85
  * @throws {@link Inspector2ServiceException}
86
86
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
87
87
  *
88
+ *
88
89
  * @public
89
90
  */
90
91
  export declare class BatchUpdateMemberEc2DeepInspectionStatusCommand extends BatchUpdateMemberEc2DeepInspectionStatusCommand_base {
@@ -70,6 +70,7 @@ declare const CancelFindingsReportCommand_base: {
70
70
  * @throws {@link Inspector2ServiceException}
71
71
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
72
72
  *
73
+ *
73
74
  * @public
74
75
  */
75
76
  export declare class CancelFindingsReportCommand extends CancelFindingsReportCommand_base {
@@ -70,6 +70,7 @@ declare const CancelSbomExportCommand_base: {
70
70
  * @throws {@link Inspector2ServiceException}
71
71
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
72
72
  *
73
+ *
73
74
  * @public
74
75
  */
75
76
  export declare class CancelSbomExportCommand extends CancelSbomExportCommand_base {
@@ -106,6 +106,41 @@ declare const CreateCisScanConfigurationCommand_base: {
106
106
  * @throws {@link Inspector2ServiceException}
107
107
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
108
108
  *
109
+ *
110
+ * @example Sample CreateCisScanConfiguration Call
111
+ * ```javascript
112
+ * //
113
+ * const input = {
114
+ * scanName: "sample",
115
+ * schedule: {
116
+ * daily: {
117
+ * startTime: {
118
+ * timeOfDay: "12:34",
119
+ * timezone: "UTC"
120
+ * }
121
+ * }
122
+ * },
123
+ * securityLevel: "LEVEL_1",
124
+ * targets: {
125
+ * accountIds: [
126
+ * "SELF"
127
+ * ],
128
+ * targetResourceTags: {
129
+ * key: [
130
+ * "value"
131
+ * ]
132
+ * }
133
+ * }
134
+ * };
135
+ * const command = new CreateCisScanConfigurationCommand(input);
136
+ * const response = await client.send(command);
137
+ * /* response is
138
+ * {
139
+ * scanConfigurationArn: "arn:aws:inspector2:us-east-1:123412341234:owner/123412341234/cis-configuration/624b746d-e080-44ae-8c1d-48e653365a38"
140
+ * }
141
+ * *\/
142
+ * ```
143
+ *
109
144
  * @public
110
145
  */
111
146
  export declare class CreateCisScanConfigurationCommand extends CreateCisScanConfigurationCommand_base {
@@ -209,6 +209,7 @@ declare const CreateFilterCommand_base: {
209
209
  * @throws {@link Inspector2ServiceException}
210
210
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
211
211
  *
212
+ *
212
213
  * @public
213
214
  */
214
215
  export declare class CreateFilterCommand extends CreateFilterCommand_base {
@@ -204,6 +204,7 @@ declare const CreateFindingsReportCommand_base: {
204
204
  * @throws {@link Inspector2ServiceException}
205
205
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
206
206
  *
207
+ *
207
208
  * @public
208
209
  */
209
210
  export declare class CreateFindingsReportCommand extends CreateFindingsReportCommand_base {
@@ -122,6 +122,7 @@ declare const CreateSbomExportCommand_base: {
122
122
  * @throws {@link Inspector2ServiceException}
123
123
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
124
124
  *
125
+ *
125
126
  * @public
126
127
  */
127
128
  export declare class CreateSbomExportCommand extends CreateSbomExportCommand_base {
@@ -70,6 +70,22 @@ declare const DeleteCisScanConfigurationCommand_base: {
70
70
  * @throws {@link Inspector2ServiceException}
71
71
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
72
72
  *
73
+ *
74
+ * @example Sample DeleteCisScanConfiguration Call
75
+ * ```javascript
76
+ * //
77
+ * const input = {
78
+ * scanConfigurationArn: "arn:aws:inspector2:us-east-1:123412341234:owner/123412341234/cis-configuration/624b746d-e080-44ae-8c1d-48e653365a38"
79
+ * };
80
+ * const command = new DeleteCisScanConfigurationCommand(input);
81
+ * const response = await client.send(command);
82
+ * /* response is
83
+ * {
84
+ * scanConfigurationArn: "arn:aws:inspector2:us-east-1:123412341234:owner/123412341234/cis-configuration/624b746d-e080-44ae-8c1d-48e653365a38"
85
+ * }
86
+ * *\/
87
+ * ```
88
+ *
73
89
  * @public
74
90
  */
75
91
  export declare class DeleteCisScanConfigurationCommand extends DeleteCisScanConfigurationCommand_base {
@@ -70,6 +70,7 @@ declare const DeleteFilterCommand_base: {
70
70
  * @throws {@link Inspector2ServiceException}
71
71
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
72
72
  *
73
+ *
73
74
  * @public
74
75
  */
75
76
  export declare class DeleteFilterCommand extends DeleteFilterCommand_base {
@@ -71,6 +71,7 @@ declare const DescribeOrganizationConfigurationCommand_base: {
71
71
  * @throws {@link Inspector2ServiceException}
72
72
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
73
73
  *
74
+ *
74
75
  * @public
75
76
  */
76
77
  export declare class DescribeOrganizationConfigurationCommand extends DescribeOrganizationConfigurationCommand_base {
@@ -101,6 +101,7 @@ declare const DisableCommand_base: {
101
101
  * @throws {@link Inspector2ServiceException}
102
102
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
103
103
  *
104
+ *
104
105
  * @public
105
106
  */
106
107
  export declare class DisableCommand extends DisableCommand_base {
@@ -73,6 +73,7 @@ declare const DisableDelegatedAdminAccountCommand_base: {
73
73
  * @throws {@link Inspector2ServiceException}
74
74
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
75
75
  *
76
+ *
76
77
  * @public
77
78
  */
78
79
  export declare class DisableDelegatedAdminAccountCommand extends DisableDelegatedAdminAccountCommand_base {
@@ -67,6 +67,7 @@ declare const DisassociateMemberCommand_base: {
67
67
  * @throws {@link Inspector2ServiceException}
68
68
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
69
69
  *
70
+ *
70
71
  * @public
71
72
  */
72
73
  export declare class DisassociateMemberCommand extends DisassociateMemberCommand_base {
@@ -101,6 +101,7 @@ declare const EnableCommand_base: {
101
101
  * @throws {@link Inspector2ServiceException}
102
102
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
103
103
  *
104
+ *
104
105
  * @public
105
106
  */
106
107
  export declare class EnableCommand extends EnableCommand_base {
@@ -74,6 +74,7 @@ declare const EnableDelegatedAdminAccountCommand_base: {
74
74
  * @throws {@link Inspector2ServiceException}
75
75
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
76
76
  *
77
+ *
77
78
  * @public
78
79
  */
79
80
  export declare class EnableDelegatedAdminAccountCommand extends EnableDelegatedAdminAccountCommand_base {
@@ -75,6 +75,24 @@ declare const GetCisScanReportCommand_base: {
75
75
  * @throws {@link Inspector2ServiceException}
76
76
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
77
77
  *
78
+ *
79
+ * @example Sample GetCisScanReport Call
80
+ * ```javascript
81
+ * //
82
+ * const input = {
83
+ * reportFormat: "PDF",
84
+ * scanArn: "arn:aws:inspector2:us-east-1:123412341234:owner/123412341234/cis-scan/624b746d-e080-44ae-8c1d-48e653365a38"
85
+ * };
86
+ * const command = new GetCisScanReportCommand(input);
87
+ * const response = await client.send(command);
88
+ * /* response is
89
+ * {
90
+ * status: "SUCCEEDED",
91
+ * url: "www.s3.amazon.com/abcdef"
92
+ * }
93
+ * *\/
94
+ * ```
95
+ *
78
96
  * @public
79
97
  */
80
98
  export declare class GetCisScanReportCommand extends GetCisScanReportCommand_base {
@@ -121,6 +121,37 @@ declare const GetCisScanResultDetailsCommand_base: {
121
121
  * @throws {@link Inspector2ServiceException}
122
122
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
123
123
  *
124
+ *
125
+ * @example Sample GetCisScanResultDetails Call
126
+ * ```javascript
127
+ * //
128
+ * const input = {
129
+ * accountId: "123412341234",
130
+ * scanArn: "arn:aws:inspector2:us-east-1:123412341234:owner/123412341234/cis-scan/624b746d-e080-44ae-8c1d-48e653365a38",
131
+ * targetResourceId: "i-12341234"
132
+ * };
133
+ * const command = new GetCisScanResultDetailsCommand(input);
134
+ * const response = await client.send(command);
135
+ * /* response is
136
+ * {
137
+ * scanResultDetails: [
138
+ * {
139
+ * accountId: "123412341234",
140
+ * checkDescription: "description",
141
+ * checkId: "1.1.1.1",
142
+ * level: "LEVEL_1",
143
+ * platform: "AMAZON_LINUX_2",
144
+ * remediation: "fix",
145
+ * scanArn: "arn:aws:inspector2:us-east-1:123412341234:owner/123412341234/cis-scan/624b746d-e080-44ae-8c1d-48e653365a38",
146
+ * status: "PASSED",
147
+ * targetResourceId: "i-12341234",
148
+ * title: "title1"
149
+ * }
150
+ * ]
151
+ * }
152
+ * *\/
153
+ * ```
154
+ *
124
155
  * @public
125
156
  */
126
157
  export declare class GetCisScanResultDetailsCommand extends GetCisScanResultDetailsCommand_base {
@@ -74,6 +74,7 @@ declare const GetConfigurationCommand_base: {
74
74
  * @throws {@link Inspector2ServiceException}
75
75
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
76
76
  *
77
+ *
77
78
  * @public
78
79
  */
79
80
  export declare class GetConfigurationCommand extends GetConfigurationCommand_base {
@@ -72,6 +72,7 @@ declare const GetDelegatedAdminAccountCommand_base: {
72
72
  * @throws {@link Inspector2ServiceException}
73
73
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
74
74
  *
75
+ *
75
76
  * @public
76
77
  */
77
78
  export declare class GetDelegatedAdminAccountCommand extends GetDelegatedAdminAccountCommand_base {
@@ -72,6 +72,7 @@ declare const GetEc2DeepInspectionConfigurationCommand_base: {
72
72
  * @throws {@link Inspector2ServiceException}
73
73
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
74
74
  *
75
+ *
75
76
  * @public
76
77
  */
77
78
  export declare class GetEc2DeepInspectionConfigurationCommand extends GetEc2DeepInspectionConfigurationCommand_base {
@@ -71,6 +71,7 @@ declare const GetEncryptionKeyCommand_base: {
71
71
  * @throws {@link Inspector2ServiceException}
72
72
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
73
73
  *
74
+ *
74
75
  * @public
75
76
  */
76
77
  export declare class GetEncryptionKeyCommand extends GetEncryptionKeyCommand_base {
@@ -207,6 +207,7 @@ declare const GetFindingsReportStatusCommand_base: {
207
207
  * @throws {@link Inspector2ServiceException}
208
208
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
209
209
  *
210
+ *
210
211
  * @public
211
212
  */
212
213
  export declare class GetFindingsReportStatusCommand extends GetFindingsReportStatusCommand_base {
@@ -75,6 +75,7 @@ declare const GetMemberCommand_base: {
75
75
  * @throws {@link Inspector2ServiceException}
76
76
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
77
77
  *
78
+ *
78
79
  * @public
79
80
  */
80
81
  export declare class GetMemberCommand extends GetMemberCommand_base {
@@ -126,6 +126,7 @@ declare const GetSbomExportCommand_base: {
126
126
  * @throws {@link Inspector2ServiceException}
127
127
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
128
128
  *
129
+ *
129
130
  * @public
130
131
  */
131
132
  export declare class GetSbomExportCommand extends GetSbomExportCommand_base {
@@ -75,6 +75,7 @@ declare const ListAccountPermissionsCommand_base: {
75
75
  * @throws {@link Inspector2ServiceException}
76
76
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
77
77
  *
78
+ *
78
79
  * @public
79
80
  */
80
81
  export declare class ListAccountPermissionsCommand extends ListAccountPermissionsCommand_base {
@@ -137,6 +137,45 @@ declare const ListCisScanConfigurationsCommand_base: {
137
137
  * @throws {@link Inspector2ServiceException}
138
138
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
139
139
  *
140
+ *
141
+ * @example Sample ListCisScanConfigurations Call
142
+ * ```javascript
143
+ * //
144
+ * const input = { /* empty *\/ };
145
+ * const command = new ListCisScanConfigurationsCommand(input);
146
+ * const response = await client.send(command);
147
+ * /* response is
148
+ * {
149
+ * scanConfigurations: [
150
+ * {
151
+ * ownerId: "123412341234",
152
+ * scanConfigurationArn: "arn:aws:inspector2:us-east-1:123412341234:owner/123412341234/cis-configuration/624b746d-e080-44ae-8c1d-48e653365a38",
153
+ * scanName: "sample",
154
+ * schedule: {
155
+ * daily: {
156
+ * startTime: {
157
+ * timeOfDay: "12:34",
158
+ * timezone: "UTC"
159
+ * }
160
+ * }
161
+ * },
162
+ * securityLevel: "LEVEL_1",
163
+ * targets: {
164
+ * accountIds: [
165
+ * "123412341234"
166
+ * ],
167
+ * targetResourceTags: {
168
+ * key: [
169
+ * "value"
170
+ * ]
171
+ * }
172
+ * }
173
+ * }
174
+ * ]
175
+ * }
176
+ * *\/
177
+ * ```
178
+ *
140
179
  * @public
141
180
  */
142
181
  export declare class ListCisScanConfigurationsCommand extends ListCisScanConfigurationsCommand_base {
@@ -125,6 +125,37 @@ declare const ListCisScanResultsAggregatedByChecksCommand_base: {
125
125
  * @throws {@link Inspector2ServiceException}
126
126
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
127
127
  *
128
+ *
129
+ * @example Sample ListCisScanResultsAggregatedByChecks Call
130
+ * ```javascript
131
+ * //
132
+ * const input = {
133
+ * scanArn: "arn:aws:inspector2:us-east-1:123412341234:owner/123412341234/cis-scan/624b746d-e080-44ae-8c1d-48e653365a38"
134
+ * };
135
+ * const command = new ListCisScanResultsAggregatedByChecksCommand(input);
136
+ * const response = await client.send(command);
137
+ * /* response is
138
+ * {
139
+ * checkAggregations: [
140
+ * {
141
+ * accountId: "123412341234",
142
+ * checkDescription: "description",
143
+ * checkId: "1.1.1.1",
144
+ * level: "LEVEL_1",
145
+ * platform: "AMAZON_LINUX_2",
146
+ * scanArn: "arn:aws:inspector2:us-east-1:123412341234:owner/123412341234/cis-scan/624b746d-e080-44ae-8c1d-48e653365a38",
147
+ * statusCounts: {
148
+ * failed: 0,
149
+ * passed: 2,
150
+ * skipped: 1
151
+ * },
152
+ * title: "title1"
153
+ * }
154
+ * ]
155
+ * }
156
+ * *\/
157
+ * ```
158
+ *
128
159
  * @public
129
160
  */
130
161
  export declare class ListCisScanResultsAggregatedByChecksCommand extends ListCisScanResultsAggregatedByChecksCommand_base {
@@ -148,6 +148,40 @@ declare const ListCisScanResultsAggregatedByTargetResourceCommand_base: {
148
148
  * @throws {@link Inspector2ServiceException}
149
149
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
150
150
  *
151
+ *
152
+ * @example Sample ListCisScanResultsAggregatedByTargetResource Call
153
+ * ```javascript
154
+ * //
155
+ * const input = {
156
+ * scanArn: "arn:aws:inspector2:us-east-1:123412341234:owner/123412341234/cis-scan/624b746d-e080-44ae-8c1d-48e653365a38"
157
+ * };
158
+ * const command = new ListCisScanResultsAggregatedByTargetResourceCommand(input);
159
+ * const response = await client.send(command);
160
+ * /* response is
161
+ * {
162
+ * targetResourceAggregations: [
163
+ * {
164
+ * accountId: "123412341234",
165
+ * platform: "AMAZON_LINUX_2",
166
+ * scanArn: "arn:aws:inspector2:us-east-1:123412341234:owner/123412341234/cis-scan/624b746d-e080-44ae-8c1d-48e653365a38",
167
+ * statusCounts: {
168
+ * failed: 0,
169
+ * passed: 2,
170
+ * skipped: 1
171
+ * },
172
+ * targetResourceId: "i-12341234",
173
+ * targetResourceTags: {
174
+ * key: [
175
+ * "value"
176
+ * ]
177
+ * },
178
+ * targetStatus: "COMPLETED"
179
+ * }
180
+ * ]
181
+ * }
182
+ * *\/
183
+ * ```
184
+ *
151
185
  * @public
152
186
  */
153
187
  export declare class ListCisScanResultsAggregatedByTargetResourceCommand extends ListCisScanResultsAggregatedByTargetResourceCommand_base {
@@ -154,6 +154,42 @@ declare const ListCisScansCommand_base: {
154
154
  * @throws {@link Inspector2ServiceException}
155
155
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
156
156
  *
157
+ *
158
+ * @example Sample ListCisScans Call
159
+ * ```javascript
160
+ * //
161
+ * const input = { /* empty *\/ };
162
+ * const command = new ListCisScansCommand(input);
163
+ * const response = await client.send(command);
164
+ * /* response is
165
+ * {
166
+ * scans: [
167
+ * {
168
+ * failedChecks: 2,
169
+ * scanArn: "arn:aws:inspector2:us-east-1:123412341234:owner/123412341234/cis-scan/624b746d-e080-44ae-8c1d-48e653365a38",
170
+ * scanConfigurationArn: "arn:aws:inspector2:us-east-1:123412341234:owner/123412341234/cis-configuration/624b746d-e080-44ae-8c1d-48e653365a38",
171
+ * scanDate: "2023-04-12T23:20:50.52Z",
172
+ * scanName: "sample",
173
+ * scheduledBy: "Delegated Admin",
174
+ * securityLevel: "LEVEL_1",
175
+ * status: "COMPLETED",
176
+ * targets: {
177
+ * accountIds: [
178
+ * "123412341234"
179
+ * ],
180
+ * targetResourceTags: {
181
+ * key: [
182
+ * "value"
183
+ * ]
184
+ * }
185
+ * },
186
+ * totalChecks: 150
187
+ * }
188
+ * ]
189
+ * }
190
+ * *\/
191
+ * ```
192
+ *
157
193
  * @public
158
194
  */
159
195
  export declare class ListCisScansCommand extends ListCisScansCommand_base {
@@ -172,6 +172,7 @@ declare const ListCoverageCommand_base: {
172
172
  * @throws {@link Inspector2ServiceException}
173
173
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
174
174
  *
175
+ *
175
176
  * @public
176
177
  */
177
178
  export declare class ListCoverageCommand extends ListCoverageCommand_base {
@@ -136,6 +136,7 @@ declare const ListCoverageStatisticsCommand_base: {
136
136
  * @throws {@link Inspector2ServiceException}
137
137
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
138
138
  *
139
+ *
139
140
  * @public
140
141
  */
141
142
  export declare class ListCoverageStatisticsCommand extends ListCoverageStatisticsCommand_base {
@@ -75,6 +75,7 @@ declare const ListDelegatedAdminAccountsCommand_base: {
75
75
  * @throws {@link Inspector2ServiceException}
76
76
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
77
77
  *
78
+ *
78
79
  * @public
79
80
  */
80
81
  export declare class ListDelegatedAdminAccountsCommand extends ListDelegatedAdminAccountsCommand_base {
@@ -216,6 +216,7 @@ declare const ListFiltersCommand_base: {
216
216
  * @throws {@link Inspector2ServiceException}
217
217
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
218
218
  *
219
+ *
219
220
  * @public
220
221
  */
221
222
  export declare class ListFiltersCommand extends ListFiltersCommand_base {
@@ -292,6 +292,7 @@ declare const ListFindingAggregationsCommand_base: {
292
292
  * @throws {@link Inspector2ServiceException}
293
293
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
294
294
  *
295
+ *
295
296
  * @public
296
297
  */
297
298
  export declare class ListFindingAggregationsCommand extends ListFindingAggregationsCommand_base {
@@ -381,6 +381,7 @@ declare const ListFindingsCommand_base: {
381
381
  * @throws {@link Inspector2ServiceException}
382
382
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
383
383
  *
384
+ *
384
385
  * @public
385
386
  */
386
387
  export declare class ListFindingsCommand extends ListFindingsCommand_base {
@@ -78,6 +78,7 @@ declare const ListMembersCommand_base: {
78
78
  * @throws {@link Inspector2ServiceException}
79
79
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
80
80
  *
81
+ *
81
82
  * @public
82
83
  */
83
84
  export declare class ListMembersCommand extends ListMembersCommand_base {
@@ -69,6 +69,7 @@ declare const ListTagsForResourceCommand_base: {
69
69
  * @throws {@link Inspector2ServiceException}
70
70
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
71
71
  *
72
+ *
72
73
  * @public
73
74
  */
74
75
  export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
@@ -84,6 +84,7 @@ declare const ListUsageTotalsCommand_base: {
84
84
  * @throws {@link Inspector2ServiceException}
85
85
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
86
86
  *
87
+ *
87
88
  * @public
88
89
  */
89
90
  export declare class ListUsageTotalsCommand extends ListUsageTotalsCommand_base {
@@ -69,6 +69,7 @@ declare const ResetEncryptionKeyCommand_base: {
69
69
  * @throws {@link Inspector2ServiceException}
70
70
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
71
71
  *
72
+ *
72
73
  * @public
73
74
  */
74
75
  export declare class ResetEncryptionKeyCommand extends ResetEncryptionKeyCommand_base {
@@ -125,6 +125,7 @@ declare const SearchVulnerabilitiesCommand_base: {
125
125
  * @throws {@link Inspector2ServiceException}
126
126
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
127
127
  *
128
+ *
128
129
  * @public
129
130
  */
130
131
  export declare class SearchVulnerabilitiesCommand extends SearchVulnerabilitiesCommand_base {
@@ -73,6 +73,21 @@ declare const SendCisSessionHealthCommand_base: {
73
73
  * @throws {@link Inspector2ServiceException}
74
74
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
75
75
  *
76
+ *
77
+ * @example Sample SendCisSessionHealth Call
78
+ * ```javascript
79
+ * //
80
+ * const input = {
81
+ * scanJobId: "624b746d-e080-44ae-8c1d-48e653365a38",
82
+ * sessionToken: "624b746d-e080-44ae-8c1d-48e653365a31"
83
+ * };
84
+ * const command = new SendCisSessionHealthCommand(input);
85
+ * const response = await client.send(command);
86
+ * /* response is
87
+ * { /* empty *\/ }
88
+ * *\/
89
+ * ```
90
+ *
76
91
  * @public
77
92
  */
78
93
  export declare class SendCisSessionHealthCommand extends SendCisSessionHealthCommand_base {
@@ -80,6 +80,33 @@ declare const SendCisSessionTelemetryCommand_base: {
80
80
  * @throws {@link Inspector2ServiceException}
81
81
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
82
82
  *
83
+ *
84
+ * @example Sample SendCisSessionTelemetry Call
85
+ * ```javascript
86
+ * //
87
+ * const input = {
88
+ * messages: [
89
+ * {
90
+ * cisRuleDetails: "dGVzdCBleGFtcGxlCg==",
91
+ * ruleId: "1.12.1",
92
+ * status: "FAILED"
93
+ * },
94
+ * {
95
+ * cisRuleDetails: "dGVzdCBleGFtcGxlCg==dGVzdCBleGFtcGxlCg",
96
+ * ruleId: "1.2.1",
97
+ * status: "PASSED"
98
+ * }
99
+ * ],
100
+ * scanJobId: "624b746d-e080-44ae-8c1d-48e653365a38",
101
+ * sessionToken: "624b746d-e080-44ae-8c1d-48e653365a31"
102
+ * };
103
+ * const command = new SendCisSessionTelemetryCommand(input);
104
+ * const response = await client.send(command);
105
+ * /* response is
106
+ * { /* empty *\/ }
107
+ * *\/
108
+ * ```
109
+ *
83
110
  * @public
84
111
  */
85
112
  export declare class SendCisSessionTelemetryCommand extends SendCisSessionTelemetryCommand_base {
@@ -75,6 +75,23 @@ declare const StartCisSessionCommand_base: {
75
75
  * @throws {@link Inspector2ServiceException}
76
76
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
77
77
  *
78
+ *
79
+ * @example Sample SendCisSessionHealth Call
80
+ * ```javascript
81
+ * //
82
+ * const input = {
83
+ * message: {
84
+ * sessionToken: "624b746d-e080-44ae-8c1d-48e653365a31"
85
+ * },
86
+ * scanJobId: "624b746d-e080-44ae-8c1d-48e653365a38"
87
+ * };
88
+ * const command = new StartCisSessionCommand(input);
89
+ * const response = await client.send(command);
90
+ * /* response is
91
+ * { /* empty *\/ }
92
+ * *\/
93
+ * ```
94
+ *
78
95
  * @public
79
96
  */
80
97
  export declare class StartCisSessionCommand extends StartCisSessionCommand_base {
@@ -94,6 +94,42 @@ declare const StopCisSessionCommand_base: {
94
94
  * @throws {@link Inspector2ServiceException}
95
95
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
96
96
  *
97
+ *
98
+ * @example Sample StopCisSession Call
99
+ * ```javascript
100
+ * //
101
+ * const input = {
102
+ * message: {
103
+ * benchmarkProfile: "xccdf_org.cisecurity.benchmarks_profile_Level_1",
104
+ * benchmarkVersion: "2.0.0",
105
+ * computePlatform: {
106
+ * product: "ubuntu",
107
+ * vendor: "canonical",
108
+ * version: "20.04"
109
+ * },
110
+ * progress: {
111
+ * errorChecks: 1,
112
+ * failedChecks: 0,
113
+ * informationalChecks: 1,
114
+ * notApplicableChecks: 0,
115
+ * notEvaluatedChecks: 2,
116
+ * successfulChecks: 5,
117
+ * totalChecks: 10,
118
+ * unknownChecks: 0
119
+ * },
120
+ * reason: "Failure Reason",
121
+ * status: "FAILED"
122
+ * },
123
+ * scanJobId: "624b746d-e080-44ae-8c1d-48e653365a38",
124
+ * sessionToken: "624b746d-e080-44ae-8c1d-48e653365a31"
125
+ * };
126
+ * const command = new StopCisSessionCommand(input);
127
+ * const response = await client.send(command);
128
+ * /* response is
129
+ * { /* empty *\/ }
130
+ * *\/
131
+ * ```
132
+ *
97
133
  * @public
98
134
  */
99
135
  export declare class StopCisSessionCommand extends StopCisSessionCommand_base {
@@ -71,6 +71,7 @@ declare const TagResourceCommand_base: {
71
71
  * @throws {@link Inspector2ServiceException}
72
72
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
73
73
  *
74
+ *
74
75
  * @public
75
76
  */
76
77
  export declare class TagResourceCommand extends TagResourceCommand_base {
@@ -68,6 +68,7 @@ declare const UntagResourceCommand_base: {
68
68
  * @throws {@link Inspector2ServiceException}
69
69
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
70
70
  *
71
+ *
71
72
  * @public
72
73
  */
73
74
  export declare class UntagResourceCommand extends UntagResourceCommand_base {
@@ -107,6 +107,42 @@ declare const UpdateCisScanConfigurationCommand_base: {
107
107
  * @throws {@link Inspector2ServiceException}
108
108
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
109
109
  *
110
+ *
111
+ * @example Sample UpdateCisScanConfiguration Call
112
+ * ```javascript
113
+ * //
114
+ * const input = {
115
+ * scanConfigurationArn: "arn:aws:inspector2:us-east-1:123412341234:owner/123412341234/cis-configuration/624b746d-e080-44ae-8c1d-48e653365a38",
116
+ * scanName: "sample_new",
117
+ * schedule: {
118
+ * daily: {
119
+ * startTime: {
120
+ * timeOfDay: "12:56",
121
+ * timezone: "UTC"
122
+ * }
123
+ * }
124
+ * },
125
+ * securityLevel: "LEVEL_2",
126
+ * targets: {
127
+ * accountIds: [
128
+ * "SELF"
129
+ * ],
130
+ * targetResourceTags: {
131
+ * key2: [
132
+ * "value2"
133
+ * ]
134
+ * }
135
+ * }
136
+ * };
137
+ * const command = new UpdateCisScanConfigurationCommand(input);
138
+ * const response = await client.send(command);
139
+ * /* response is
140
+ * {
141
+ * scanConfigurationArn: "arn:aws:inspector2:us-east-1:123412341234:owner/123412341234/cis-configuration/624b746d-e080-44ae-8c1d-48e653365a38"
142
+ * }
143
+ * *\/
144
+ * ```
145
+ *
110
146
  * @public
111
147
  */
112
148
  export declare class UpdateCisScanConfigurationCommand extends UpdateCisScanConfigurationCommand_base {
@@ -71,6 +71,7 @@ declare const UpdateConfigurationCommand_base: {
71
71
  * @throws {@link Inspector2ServiceException}
72
72
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
73
73
  *
74
+ *
74
75
  * @public
75
76
  */
76
77
  export declare class UpdateConfigurationCommand extends UpdateConfigurationCommand_base {
@@ -77,6 +77,7 @@ declare const UpdateEc2DeepInspectionConfigurationCommand_base: {
77
77
  * @throws {@link Inspector2ServiceException}
78
78
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
79
79
  *
80
+ *
80
81
  * @public
81
82
  */
82
83
  export declare class UpdateEc2DeepInspectionConfigurationCommand extends UpdateEc2DeepInspectionConfigurationCommand_base {
@@ -70,6 +70,7 @@ declare const UpdateEncryptionKeyCommand_base: {
70
70
  * @throws {@link Inspector2ServiceException}
71
71
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
72
72
  *
73
+ *
73
74
  * @public
74
75
  */
75
76
  export declare class UpdateEncryptionKeyCommand extends UpdateEncryptionKeyCommand_base {
@@ -203,6 +203,7 @@ declare const UpdateFilterCommand_base: {
203
203
  * @throws {@link Inspector2ServiceException}
204
204
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
205
205
  *
206
+ *
206
207
  * @public
207
208
  */
208
209
  export declare class UpdateFilterCommand extends UpdateFilterCommand_base {
@@ -67,6 +67,7 @@ declare const UpdateOrgEc2DeepInspectionConfigurationCommand_base: {
67
67
  * @throws {@link Inspector2ServiceException}
68
68
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
69
69
  *
70
+ *
70
71
  * @public
71
72
  */
72
73
  export declare class UpdateOrgEc2DeepInspectionConfigurationCommand extends UpdateOrgEc2DeepInspectionConfigurationCommand_base {
@@ -24,7 +24,6 @@ export interface UpdateOrganizationConfigurationCommandOutput extends UpdateOrga
24
24
  declare const UpdateOrganizationConfigurationCommand_base: {
25
25
  new (input: UpdateOrganizationConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateOrganizationConfigurationCommandInput, UpdateOrganizationConfigurationCommandOutput, Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (__0_0: UpdateOrganizationConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateOrganizationConfigurationCommandInput, UpdateOrganizationConfigurationCommandOutput, Inspector2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- /** @internal type navigation helper, not in runtime. */
28
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
28
  };
30
29
  /**
@@ -78,6 +77,7 @@ declare const UpdateOrganizationConfigurationCommand_base: {
78
77
  * @throws {@link Inspector2ServiceException}
79
78
  * <p>Base exception class for all service exceptions from Inspector2 service.</p>
80
79
  *
80
+ *
81
81
  * @public
82
82
  */
83
83
  export declare class UpdateOrganizationConfigurationCommand extends UpdateOrganizationConfigurationCommand_base {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-inspector2",
3
3
  "description": "AWS SDK for JavaScript Inspector2 Client for Node.js, Browser and React Native",
4
- "version": "3.774.0",
4
+ "version": "3.777.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-inspector2",
@@ -20,41 +20,41 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.774.0",
24
- "@aws-sdk/credential-provider-node": "3.774.0",
25
- "@aws-sdk/middleware-host-header": "3.774.0",
26
- "@aws-sdk/middleware-logger": "3.734.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.772.0",
28
- "@aws-sdk/middleware-user-agent": "3.774.0",
29
- "@aws-sdk/region-config-resolver": "3.734.0",
30
- "@aws-sdk/types": "3.734.0",
31
- "@aws-sdk/util-endpoints": "3.743.0",
32
- "@aws-sdk/util-user-agent-browser": "3.734.0",
33
- "@aws-sdk/util-user-agent-node": "3.774.0",
34
- "@smithy/config-resolver": "^4.0.1",
35
- "@smithy/core": "^3.1.5",
36
- "@smithy/fetch-http-handler": "^5.0.1",
37
- "@smithy/hash-node": "^4.0.1",
38
- "@smithy/invalid-dependency": "^4.0.1",
39
- "@smithy/middleware-content-length": "^4.0.1",
40
- "@smithy/middleware-endpoint": "^4.0.6",
41
- "@smithy/middleware-retry": "^4.0.7",
42
- "@smithy/middleware-serde": "^4.0.2",
43
- "@smithy/middleware-stack": "^4.0.1",
44
- "@smithy/node-config-provider": "^4.0.1",
45
- "@smithy/node-http-handler": "^4.0.3",
46
- "@smithy/protocol-http": "^5.0.1",
47
- "@smithy/smithy-client": "^4.1.6",
48
- "@smithy/types": "^4.1.0",
49
- "@smithy/url-parser": "^4.0.1",
23
+ "@aws-sdk/core": "3.775.0",
24
+ "@aws-sdk/credential-provider-node": "3.777.0",
25
+ "@aws-sdk/middleware-host-header": "3.775.0",
26
+ "@aws-sdk/middleware-logger": "3.775.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.775.0",
28
+ "@aws-sdk/middleware-user-agent": "3.775.0",
29
+ "@aws-sdk/region-config-resolver": "3.775.0",
30
+ "@aws-sdk/types": "3.775.0",
31
+ "@aws-sdk/util-endpoints": "3.775.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.775.0",
33
+ "@aws-sdk/util-user-agent-node": "3.775.0",
34
+ "@smithy/config-resolver": "^4.1.0",
35
+ "@smithy/core": "^3.2.0",
36
+ "@smithy/fetch-http-handler": "^5.0.2",
37
+ "@smithy/hash-node": "^4.0.2",
38
+ "@smithy/invalid-dependency": "^4.0.2",
39
+ "@smithy/middleware-content-length": "^4.0.2",
40
+ "@smithy/middleware-endpoint": "^4.1.0",
41
+ "@smithy/middleware-retry": "^4.1.0",
42
+ "@smithy/middleware-serde": "^4.0.3",
43
+ "@smithy/middleware-stack": "^4.0.2",
44
+ "@smithy/node-config-provider": "^4.0.2",
45
+ "@smithy/node-http-handler": "^4.0.4",
46
+ "@smithy/protocol-http": "^5.1.0",
47
+ "@smithy/smithy-client": "^4.2.0",
48
+ "@smithy/types": "^4.2.0",
49
+ "@smithy/url-parser": "^4.0.2",
50
50
  "@smithy/util-base64": "^4.0.0",
51
51
  "@smithy/util-body-length-browser": "^4.0.0",
52
52
  "@smithy/util-body-length-node": "^4.0.0",
53
- "@smithy/util-defaults-mode-browser": "^4.0.7",
54
- "@smithy/util-defaults-mode-node": "^4.0.7",
55
- "@smithy/util-endpoints": "^3.0.1",
56
- "@smithy/util-middleware": "^4.0.1",
57
- "@smithy/util-retry": "^4.0.1",
53
+ "@smithy/util-defaults-mode-browser": "^4.0.8",
54
+ "@smithy/util-defaults-mode-node": "^4.0.8",
55
+ "@smithy/util-endpoints": "^3.0.2",
56
+ "@smithy/util-middleware": "^4.0.2",
57
+ "@smithy/util-retry": "^4.0.2",
58
58
  "@smithy/util-utf8": "^4.0.0",
59
59
  "@types/uuid": "^9.0.1",
60
60
  "tslib": "^2.6.2",