@aws-sdk/client-inspector 3.1137.0 → 3.1139.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 CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1136.0";
72
+ var version = "3.1138.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -630,10 +630,10 @@ const _vI = "vpcId";
630
630
  const _va = "valid";
631
631
  const _ve = "version";
632
632
  const n0 = "com.amazonaws.inspector";
633
- const _s_registry = TypeRegistry.for(_s);
633
+ const _s_registry = new TypeRegistry(_s);
634
634
  var InspectorServiceException$ = [-3, _s, "InspectorServiceException", 0, [], []];
635
635
  _s_registry.registerError(InspectorServiceException$, InspectorServiceException);
636
- const n0_registry = TypeRegistry.for(n0);
636
+ const n0_registry = new TypeRegistry(n0);
637
637
  var AccessDeniedException$ = [-3, n0, _ADE,
638
638
  { [_e]: _c, [_hE]: 403 },
639
639
  [_m, _eC, _cR],
@@ -322,10 +322,10 @@ const n0 = "com.amazonaws.inspector";
322
322
  import { TypeRegistry } from "@smithy/core/schema";
323
323
  import { AccessDeniedException, AgentsAlreadyRunningAssessmentException, AssessmentRunInProgressException, InternalException, InvalidCrossAccountRoleException, InvalidInputException, LimitExceededException, NoSuchEntityException, PreviewGenerationInProgressException, ServiceTemporarilyUnavailableException, UnsupportedFeatureException, } from "../models/errors";
324
324
  import { InspectorServiceException } from "../models/InspectorServiceException";
325
- const _s_registry = TypeRegistry.for(_s);
325
+ const _s_registry = new TypeRegistry(_s);
326
326
  export var InspectorServiceException$ = [-3, _s, "InspectorServiceException", 0, [], []];
327
327
  _s_registry.registerError(InspectorServiceException$, InspectorServiceException);
328
- const n0_registry = TypeRegistry.for(n0);
328
+ const n0_registry = new TypeRegistry(n0);
329
329
  export var AccessDeniedException$ = [-3, n0, _ADE,
330
330
  { [_e]: _c, [_hE]: 403 },
331
331
  [_m, _eC, _cR],
@@ -1,4 +1,4 @@
1
- import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder, PaginationConfiguration, Paginator } from "@smithy/types";
2
2
  import { type AddAttributesToFindingsCommandInput, type AddAttributesToFindingsCommandOutput } from "./commands/AddAttributesToFindingsCommand";
3
3
  import { type CreateAssessmentTargetCommandInput, type CreateAssessmentTargetCommandOutput } from "./commands/CreateAssessmentTargetCommand";
4
4
  import { type CreateAssessmentTemplateCommandInput, type CreateAssessmentTemplateCommandOutput } from "./commands/CreateAssessmentTemplateCommand";
@@ -37,236 +37,242 @@ import { type SubscribeToEventCommandInput, type SubscribeToEventCommandOutput }
37
37
  import { type UnsubscribeFromEventCommandInput, type UnsubscribeFromEventCommandOutput } from "./commands/UnsubscribeFromEventCommand";
38
38
  import { type UpdateAssessmentTargetCommandInput, type UpdateAssessmentTargetCommandOutput } from "./commands/UpdateAssessmentTargetCommand";
39
39
  import { InspectorClient } from "./InspectorClient";
40
+ /**
41
+ * @public
42
+ */
43
+ export interface InspectorRequestOptions extends __HttpHandlerOptions {
44
+ metricsRecorder?: __MetricsRecorder<unknown>;
45
+ }
40
46
  export interface Inspector {
41
47
  /**
42
48
  * @see {@link AddAttributesToFindingsCommand}
43
49
  */
44
- addAttributesToFindings(args: AddAttributesToFindingsCommandInput, options?: __HttpHandlerOptions): Promise<AddAttributesToFindingsCommandOutput>;
50
+ addAttributesToFindings(args: AddAttributesToFindingsCommandInput, options?: InspectorRequestOptions): Promise<AddAttributesToFindingsCommandOutput>;
45
51
  addAttributesToFindings(args: AddAttributesToFindingsCommandInput, cb: (err: any, data?: AddAttributesToFindingsCommandOutput) => void): void;
46
- addAttributesToFindings(args: AddAttributesToFindingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AddAttributesToFindingsCommandOutput) => void): void;
52
+ addAttributesToFindings(args: AddAttributesToFindingsCommandInput, options: InspectorRequestOptions, cb: (err: any, data?: AddAttributesToFindingsCommandOutput) => void): void;
47
53
  /**
48
54
  * @see {@link CreateAssessmentTargetCommand}
49
55
  */
50
- createAssessmentTarget(args: CreateAssessmentTargetCommandInput, options?: __HttpHandlerOptions): Promise<CreateAssessmentTargetCommandOutput>;
56
+ createAssessmentTarget(args: CreateAssessmentTargetCommandInput, options?: InspectorRequestOptions): Promise<CreateAssessmentTargetCommandOutput>;
51
57
  createAssessmentTarget(args: CreateAssessmentTargetCommandInput, cb: (err: any, data?: CreateAssessmentTargetCommandOutput) => void): void;
52
- createAssessmentTarget(args: CreateAssessmentTargetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAssessmentTargetCommandOutput) => void): void;
58
+ createAssessmentTarget(args: CreateAssessmentTargetCommandInput, options: InspectorRequestOptions, cb: (err: any, data?: CreateAssessmentTargetCommandOutput) => void): void;
53
59
  /**
54
60
  * @see {@link CreateAssessmentTemplateCommand}
55
61
  */
56
- createAssessmentTemplate(args: CreateAssessmentTemplateCommandInput, options?: __HttpHandlerOptions): Promise<CreateAssessmentTemplateCommandOutput>;
62
+ createAssessmentTemplate(args: CreateAssessmentTemplateCommandInput, options?: InspectorRequestOptions): Promise<CreateAssessmentTemplateCommandOutput>;
57
63
  createAssessmentTemplate(args: CreateAssessmentTemplateCommandInput, cb: (err: any, data?: CreateAssessmentTemplateCommandOutput) => void): void;
58
- createAssessmentTemplate(args: CreateAssessmentTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAssessmentTemplateCommandOutput) => void): void;
64
+ createAssessmentTemplate(args: CreateAssessmentTemplateCommandInput, options: InspectorRequestOptions, cb: (err: any, data?: CreateAssessmentTemplateCommandOutput) => void): void;
59
65
  /**
60
66
  * @see {@link CreateExclusionsPreviewCommand}
61
67
  */
62
- createExclusionsPreview(args: CreateExclusionsPreviewCommandInput, options?: __HttpHandlerOptions): Promise<CreateExclusionsPreviewCommandOutput>;
68
+ createExclusionsPreview(args: CreateExclusionsPreviewCommandInput, options?: InspectorRequestOptions): Promise<CreateExclusionsPreviewCommandOutput>;
63
69
  createExclusionsPreview(args: CreateExclusionsPreviewCommandInput, cb: (err: any, data?: CreateExclusionsPreviewCommandOutput) => void): void;
64
- createExclusionsPreview(args: CreateExclusionsPreviewCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateExclusionsPreviewCommandOutput) => void): void;
70
+ createExclusionsPreview(args: CreateExclusionsPreviewCommandInput, options: InspectorRequestOptions, cb: (err: any, data?: CreateExclusionsPreviewCommandOutput) => void): void;
65
71
  /**
66
72
  * @see {@link CreateResourceGroupCommand}
67
73
  */
68
- createResourceGroup(args: CreateResourceGroupCommandInput, options?: __HttpHandlerOptions): Promise<CreateResourceGroupCommandOutput>;
74
+ createResourceGroup(args: CreateResourceGroupCommandInput, options?: InspectorRequestOptions): Promise<CreateResourceGroupCommandOutput>;
69
75
  createResourceGroup(args: CreateResourceGroupCommandInput, cb: (err: any, data?: CreateResourceGroupCommandOutput) => void): void;
70
- createResourceGroup(args: CreateResourceGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateResourceGroupCommandOutput) => void): void;
76
+ createResourceGroup(args: CreateResourceGroupCommandInput, options: InspectorRequestOptions, cb: (err: any, data?: CreateResourceGroupCommandOutput) => void): void;
71
77
  /**
72
78
  * @see {@link DeleteAssessmentRunCommand}
73
79
  */
74
- deleteAssessmentRun(args: DeleteAssessmentRunCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAssessmentRunCommandOutput>;
80
+ deleteAssessmentRun(args: DeleteAssessmentRunCommandInput, options?: InspectorRequestOptions): Promise<DeleteAssessmentRunCommandOutput>;
75
81
  deleteAssessmentRun(args: DeleteAssessmentRunCommandInput, cb: (err: any, data?: DeleteAssessmentRunCommandOutput) => void): void;
76
- deleteAssessmentRun(args: DeleteAssessmentRunCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAssessmentRunCommandOutput) => void): void;
82
+ deleteAssessmentRun(args: DeleteAssessmentRunCommandInput, options: InspectorRequestOptions, cb: (err: any, data?: DeleteAssessmentRunCommandOutput) => void): void;
77
83
  /**
78
84
  * @see {@link DeleteAssessmentTargetCommand}
79
85
  */
80
- deleteAssessmentTarget(args: DeleteAssessmentTargetCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAssessmentTargetCommandOutput>;
86
+ deleteAssessmentTarget(args: DeleteAssessmentTargetCommandInput, options?: InspectorRequestOptions): Promise<DeleteAssessmentTargetCommandOutput>;
81
87
  deleteAssessmentTarget(args: DeleteAssessmentTargetCommandInput, cb: (err: any, data?: DeleteAssessmentTargetCommandOutput) => void): void;
82
- deleteAssessmentTarget(args: DeleteAssessmentTargetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAssessmentTargetCommandOutput) => void): void;
88
+ deleteAssessmentTarget(args: DeleteAssessmentTargetCommandInput, options: InspectorRequestOptions, cb: (err: any, data?: DeleteAssessmentTargetCommandOutput) => void): void;
83
89
  /**
84
90
  * @see {@link DeleteAssessmentTemplateCommand}
85
91
  */
86
- deleteAssessmentTemplate(args: DeleteAssessmentTemplateCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAssessmentTemplateCommandOutput>;
92
+ deleteAssessmentTemplate(args: DeleteAssessmentTemplateCommandInput, options?: InspectorRequestOptions): Promise<DeleteAssessmentTemplateCommandOutput>;
87
93
  deleteAssessmentTemplate(args: DeleteAssessmentTemplateCommandInput, cb: (err: any, data?: DeleteAssessmentTemplateCommandOutput) => void): void;
88
- deleteAssessmentTemplate(args: DeleteAssessmentTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAssessmentTemplateCommandOutput) => void): void;
94
+ deleteAssessmentTemplate(args: DeleteAssessmentTemplateCommandInput, options: InspectorRequestOptions, cb: (err: any, data?: DeleteAssessmentTemplateCommandOutput) => void): void;
89
95
  /**
90
96
  * @see {@link DescribeAssessmentRunsCommand}
91
97
  */
92
- describeAssessmentRuns(args: DescribeAssessmentRunsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAssessmentRunsCommandOutput>;
98
+ describeAssessmentRuns(args: DescribeAssessmentRunsCommandInput, options?: InspectorRequestOptions): Promise<DescribeAssessmentRunsCommandOutput>;
93
99
  describeAssessmentRuns(args: DescribeAssessmentRunsCommandInput, cb: (err: any, data?: DescribeAssessmentRunsCommandOutput) => void): void;
94
- describeAssessmentRuns(args: DescribeAssessmentRunsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAssessmentRunsCommandOutput) => void): void;
100
+ describeAssessmentRuns(args: DescribeAssessmentRunsCommandInput, options: InspectorRequestOptions, cb: (err: any, data?: DescribeAssessmentRunsCommandOutput) => void): void;
95
101
  /**
96
102
  * @see {@link DescribeAssessmentTargetsCommand}
97
103
  */
98
- describeAssessmentTargets(args: DescribeAssessmentTargetsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAssessmentTargetsCommandOutput>;
104
+ describeAssessmentTargets(args: DescribeAssessmentTargetsCommandInput, options?: InspectorRequestOptions): Promise<DescribeAssessmentTargetsCommandOutput>;
99
105
  describeAssessmentTargets(args: DescribeAssessmentTargetsCommandInput, cb: (err: any, data?: DescribeAssessmentTargetsCommandOutput) => void): void;
100
- describeAssessmentTargets(args: DescribeAssessmentTargetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAssessmentTargetsCommandOutput) => void): void;
106
+ describeAssessmentTargets(args: DescribeAssessmentTargetsCommandInput, options: InspectorRequestOptions, cb: (err: any, data?: DescribeAssessmentTargetsCommandOutput) => void): void;
101
107
  /**
102
108
  * @see {@link DescribeAssessmentTemplatesCommand}
103
109
  */
104
- describeAssessmentTemplates(args: DescribeAssessmentTemplatesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAssessmentTemplatesCommandOutput>;
110
+ describeAssessmentTemplates(args: DescribeAssessmentTemplatesCommandInput, options?: InspectorRequestOptions): Promise<DescribeAssessmentTemplatesCommandOutput>;
105
111
  describeAssessmentTemplates(args: DescribeAssessmentTemplatesCommandInput, cb: (err: any, data?: DescribeAssessmentTemplatesCommandOutput) => void): void;
106
- describeAssessmentTemplates(args: DescribeAssessmentTemplatesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAssessmentTemplatesCommandOutput) => void): void;
112
+ describeAssessmentTemplates(args: DescribeAssessmentTemplatesCommandInput, options: InspectorRequestOptions, cb: (err: any, data?: DescribeAssessmentTemplatesCommandOutput) => void): void;
107
113
  /**
108
114
  * @see {@link DescribeCrossAccountAccessRoleCommand}
109
115
  */
110
116
  describeCrossAccountAccessRole(): Promise<DescribeCrossAccountAccessRoleCommandOutput>;
111
- describeCrossAccountAccessRole(args: DescribeCrossAccountAccessRoleCommandInput, options?: __HttpHandlerOptions): Promise<DescribeCrossAccountAccessRoleCommandOutput>;
117
+ describeCrossAccountAccessRole(args: DescribeCrossAccountAccessRoleCommandInput, options?: InspectorRequestOptions): Promise<DescribeCrossAccountAccessRoleCommandOutput>;
112
118
  describeCrossAccountAccessRole(args: DescribeCrossAccountAccessRoleCommandInput, cb: (err: any, data?: DescribeCrossAccountAccessRoleCommandOutput) => void): void;
113
- describeCrossAccountAccessRole(args: DescribeCrossAccountAccessRoleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeCrossAccountAccessRoleCommandOutput) => void): void;
119
+ describeCrossAccountAccessRole(args: DescribeCrossAccountAccessRoleCommandInput, options: InspectorRequestOptions, cb: (err: any, data?: DescribeCrossAccountAccessRoleCommandOutput) => void): void;
114
120
  /**
115
121
  * @see {@link DescribeExclusionsCommand}
116
122
  */
117
- describeExclusions(args: DescribeExclusionsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeExclusionsCommandOutput>;
123
+ describeExclusions(args: DescribeExclusionsCommandInput, options?: InspectorRequestOptions): Promise<DescribeExclusionsCommandOutput>;
118
124
  describeExclusions(args: DescribeExclusionsCommandInput, cb: (err: any, data?: DescribeExclusionsCommandOutput) => void): void;
119
- describeExclusions(args: DescribeExclusionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeExclusionsCommandOutput) => void): void;
125
+ describeExclusions(args: DescribeExclusionsCommandInput, options: InspectorRequestOptions, cb: (err: any, data?: DescribeExclusionsCommandOutput) => void): void;
120
126
  /**
121
127
  * @see {@link DescribeFindingsCommand}
122
128
  */
123
- describeFindings(args: DescribeFindingsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeFindingsCommandOutput>;
129
+ describeFindings(args: DescribeFindingsCommandInput, options?: InspectorRequestOptions): Promise<DescribeFindingsCommandOutput>;
124
130
  describeFindings(args: DescribeFindingsCommandInput, cb: (err: any, data?: DescribeFindingsCommandOutput) => void): void;
125
- describeFindings(args: DescribeFindingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeFindingsCommandOutput) => void): void;
131
+ describeFindings(args: DescribeFindingsCommandInput, options: InspectorRequestOptions, cb: (err: any, data?: DescribeFindingsCommandOutput) => void): void;
126
132
  /**
127
133
  * @see {@link DescribeResourceGroupsCommand}
128
134
  */
129
- describeResourceGroups(args: DescribeResourceGroupsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeResourceGroupsCommandOutput>;
135
+ describeResourceGroups(args: DescribeResourceGroupsCommandInput, options?: InspectorRequestOptions): Promise<DescribeResourceGroupsCommandOutput>;
130
136
  describeResourceGroups(args: DescribeResourceGroupsCommandInput, cb: (err: any, data?: DescribeResourceGroupsCommandOutput) => void): void;
131
- describeResourceGroups(args: DescribeResourceGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeResourceGroupsCommandOutput) => void): void;
137
+ describeResourceGroups(args: DescribeResourceGroupsCommandInput, options: InspectorRequestOptions, cb: (err: any, data?: DescribeResourceGroupsCommandOutput) => void): void;
132
138
  /**
133
139
  * @see {@link DescribeRulesPackagesCommand}
134
140
  */
135
- describeRulesPackages(args: DescribeRulesPackagesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeRulesPackagesCommandOutput>;
141
+ describeRulesPackages(args: DescribeRulesPackagesCommandInput, options?: InspectorRequestOptions): Promise<DescribeRulesPackagesCommandOutput>;
136
142
  describeRulesPackages(args: DescribeRulesPackagesCommandInput, cb: (err: any, data?: DescribeRulesPackagesCommandOutput) => void): void;
137
- describeRulesPackages(args: DescribeRulesPackagesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeRulesPackagesCommandOutput) => void): void;
143
+ describeRulesPackages(args: DescribeRulesPackagesCommandInput, options: InspectorRequestOptions, cb: (err: any, data?: DescribeRulesPackagesCommandOutput) => void): void;
138
144
  /**
139
145
  * @see {@link GetAssessmentReportCommand}
140
146
  */
141
- getAssessmentReport(args: GetAssessmentReportCommandInput, options?: __HttpHandlerOptions): Promise<GetAssessmentReportCommandOutput>;
147
+ getAssessmentReport(args: GetAssessmentReportCommandInput, options?: InspectorRequestOptions): Promise<GetAssessmentReportCommandOutput>;
142
148
  getAssessmentReport(args: GetAssessmentReportCommandInput, cb: (err: any, data?: GetAssessmentReportCommandOutput) => void): void;
143
- getAssessmentReport(args: GetAssessmentReportCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAssessmentReportCommandOutput) => void): void;
149
+ getAssessmentReport(args: GetAssessmentReportCommandInput, options: InspectorRequestOptions, cb: (err: any, data?: GetAssessmentReportCommandOutput) => void): void;
144
150
  /**
145
151
  * @see {@link GetExclusionsPreviewCommand}
146
152
  */
147
- getExclusionsPreview(args: GetExclusionsPreviewCommandInput, options?: __HttpHandlerOptions): Promise<GetExclusionsPreviewCommandOutput>;
153
+ getExclusionsPreview(args: GetExclusionsPreviewCommandInput, options?: InspectorRequestOptions): Promise<GetExclusionsPreviewCommandOutput>;
148
154
  getExclusionsPreview(args: GetExclusionsPreviewCommandInput, cb: (err: any, data?: GetExclusionsPreviewCommandOutput) => void): void;
149
- getExclusionsPreview(args: GetExclusionsPreviewCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetExclusionsPreviewCommandOutput) => void): void;
155
+ getExclusionsPreview(args: GetExclusionsPreviewCommandInput, options: InspectorRequestOptions, cb: (err: any, data?: GetExclusionsPreviewCommandOutput) => void): void;
150
156
  /**
151
157
  * @see {@link GetTelemetryMetadataCommand}
152
158
  */
153
- getTelemetryMetadata(args: GetTelemetryMetadataCommandInput, options?: __HttpHandlerOptions): Promise<GetTelemetryMetadataCommandOutput>;
159
+ getTelemetryMetadata(args: GetTelemetryMetadataCommandInput, options?: InspectorRequestOptions): Promise<GetTelemetryMetadataCommandOutput>;
154
160
  getTelemetryMetadata(args: GetTelemetryMetadataCommandInput, cb: (err: any, data?: GetTelemetryMetadataCommandOutput) => void): void;
155
- getTelemetryMetadata(args: GetTelemetryMetadataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTelemetryMetadataCommandOutput) => void): void;
161
+ getTelemetryMetadata(args: GetTelemetryMetadataCommandInput, options: InspectorRequestOptions, cb: (err: any, data?: GetTelemetryMetadataCommandOutput) => void): void;
156
162
  /**
157
163
  * @see {@link ListAssessmentRunAgentsCommand}
158
164
  */
159
- listAssessmentRunAgents(args: ListAssessmentRunAgentsCommandInput, options?: __HttpHandlerOptions): Promise<ListAssessmentRunAgentsCommandOutput>;
165
+ listAssessmentRunAgents(args: ListAssessmentRunAgentsCommandInput, options?: InspectorRequestOptions): Promise<ListAssessmentRunAgentsCommandOutput>;
160
166
  listAssessmentRunAgents(args: ListAssessmentRunAgentsCommandInput, cb: (err: any, data?: ListAssessmentRunAgentsCommandOutput) => void): void;
161
- listAssessmentRunAgents(args: ListAssessmentRunAgentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAssessmentRunAgentsCommandOutput) => void): void;
167
+ listAssessmentRunAgents(args: ListAssessmentRunAgentsCommandInput, options: InspectorRequestOptions, cb: (err: any, data?: ListAssessmentRunAgentsCommandOutput) => void): void;
162
168
  /**
163
169
  * @see {@link ListAssessmentRunsCommand}
164
170
  */
165
171
  listAssessmentRuns(): Promise<ListAssessmentRunsCommandOutput>;
166
- listAssessmentRuns(args: ListAssessmentRunsCommandInput, options?: __HttpHandlerOptions): Promise<ListAssessmentRunsCommandOutput>;
172
+ listAssessmentRuns(args: ListAssessmentRunsCommandInput, options?: InspectorRequestOptions): Promise<ListAssessmentRunsCommandOutput>;
167
173
  listAssessmentRuns(args: ListAssessmentRunsCommandInput, cb: (err: any, data?: ListAssessmentRunsCommandOutput) => void): void;
168
- listAssessmentRuns(args: ListAssessmentRunsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAssessmentRunsCommandOutput) => void): void;
174
+ listAssessmentRuns(args: ListAssessmentRunsCommandInput, options: InspectorRequestOptions, cb: (err: any, data?: ListAssessmentRunsCommandOutput) => void): void;
169
175
  /**
170
176
  * @see {@link ListAssessmentTargetsCommand}
171
177
  */
172
178
  listAssessmentTargets(): Promise<ListAssessmentTargetsCommandOutput>;
173
- listAssessmentTargets(args: ListAssessmentTargetsCommandInput, options?: __HttpHandlerOptions): Promise<ListAssessmentTargetsCommandOutput>;
179
+ listAssessmentTargets(args: ListAssessmentTargetsCommandInput, options?: InspectorRequestOptions): Promise<ListAssessmentTargetsCommandOutput>;
174
180
  listAssessmentTargets(args: ListAssessmentTargetsCommandInput, cb: (err: any, data?: ListAssessmentTargetsCommandOutput) => void): void;
175
- listAssessmentTargets(args: ListAssessmentTargetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAssessmentTargetsCommandOutput) => void): void;
181
+ listAssessmentTargets(args: ListAssessmentTargetsCommandInput, options: InspectorRequestOptions, cb: (err: any, data?: ListAssessmentTargetsCommandOutput) => void): void;
176
182
  /**
177
183
  * @see {@link ListAssessmentTemplatesCommand}
178
184
  */
179
185
  listAssessmentTemplates(): Promise<ListAssessmentTemplatesCommandOutput>;
180
- listAssessmentTemplates(args: ListAssessmentTemplatesCommandInput, options?: __HttpHandlerOptions): Promise<ListAssessmentTemplatesCommandOutput>;
186
+ listAssessmentTemplates(args: ListAssessmentTemplatesCommandInput, options?: InspectorRequestOptions): Promise<ListAssessmentTemplatesCommandOutput>;
181
187
  listAssessmentTemplates(args: ListAssessmentTemplatesCommandInput, cb: (err: any, data?: ListAssessmentTemplatesCommandOutput) => void): void;
182
- listAssessmentTemplates(args: ListAssessmentTemplatesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAssessmentTemplatesCommandOutput) => void): void;
188
+ listAssessmentTemplates(args: ListAssessmentTemplatesCommandInput, options: InspectorRequestOptions, cb: (err: any, data?: ListAssessmentTemplatesCommandOutput) => void): void;
183
189
  /**
184
190
  * @see {@link ListEventSubscriptionsCommand}
185
191
  */
186
192
  listEventSubscriptions(): Promise<ListEventSubscriptionsCommandOutput>;
187
- listEventSubscriptions(args: ListEventSubscriptionsCommandInput, options?: __HttpHandlerOptions): Promise<ListEventSubscriptionsCommandOutput>;
193
+ listEventSubscriptions(args: ListEventSubscriptionsCommandInput, options?: InspectorRequestOptions): Promise<ListEventSubscriptionsCommandOutput>;
188
194
  listEventSubscriptions(args: ListEventSubscriptionsCommandInput, cb: (err: any, data?: ListEventSubscriptionsCommandOutput) => void): void;
189
- listEventSubscriptions(args: ListEventSubscriptionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEventSubscriptionsCommandOutput) => void): void;
195
+ listEventSubscriptions(args: ListEventSubscriptionsCommandInput, options: InspectorRequestOptions, cb: (err: any, data?: ListEventSubscriptionsCommandOutput) => void): void;
190
196
  /**
191
197
  * @see {@link ListExclusionsCommand}
192
198
  */
193
- listExclusions(args: ListExclusionsCommandInput, options?: __HttpHandlerOptions): Promise<ListExclusionsCommandOutput>;
199
+ listExclusions(args: ListExclusionsCommandInput, options?: InspectorRequestOptions): Promise<ListExclusionsCommandOutput>;
194
200
  listExclusions(args: ListExclusionsCommandInput, cb: (err: any, data?: ListExclusionsCommandOutput) => void): void;
195
- listExclusions(args: ListExclusionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListExclusionsCommandOutput) => void): void;
201
+ listExclusions(args: ListExclusionsCommandInput, options: InspectorRequestOptions, cb: (err: any, data?: ListExclusionsCommandOutput) => void): void;
196
202
  /**
197
203
  * @see {@link ListFindingsCommand}
198
204
  */
199
205
  listFindings(): Promise<ListFindingsCommandOutput>;
200
- listFindings(args: ListFindingsCommandInput, options?: __HttpHandlerOptions): Promise<ListFindingsCommandOutput>;
206
+ listFindings(args: ListFindingsCommandInput, options?: InspectorRequestOptions): Promise<ListFindingsCommandOutput>;
201
207
  listFindings(args: ListFindingsCommandInput, cb: (err: any, data?: ListFindingsCommandOutput) => void): void;
202
- listFindings(args: ListFindingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListFindingsCommandOutput) => void): void;
208
+ listFindings(args: ListFindingsCommandInput, options: InspectorRequestOptions, cb: (err: any, data?: ListFindingsCommandOutput) => void): void;
203
209
  /**
204
210
  * @see {@link ListRulesPackagesCommand}
205
211
  */
206
212
  listRulesPackages(): Promise<ListRulesPackagesCommandOutput>;
207
- listRulesPackages(args: ListRulesPackagesCommandInput, options?: __HttpHandlerOptions): Promise<ListRulesPackagesCommandOutput>;
213
+ listRulesPackages(args: ListRulesPackagesCommandInput, options?: InspectorRequestOptions): Promise<ListRulesPackagesCommandOutput>;
208
214
  listRulesPackages(args: ListRulesPackagesCommandInput, cb: (err: any, data?: ListRulesPackagesCommandOutput) => void): void;
209
- listRulesPackages(args: ListRulesPackagesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRulesPackagesCommandOutput) => void): void;
215
+ listRulesPackages(args: ListRulesPackagesCommandInput, options: InspectorRequestOptions, cb: (err: any, data?: ListRulesPackagesCommandOutput) => void): void;
210
216
  /**
211
217
  * @see {@link ListTagsForResourceCommand}
212
218
  */
213
- listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
219
+ listTagsForResource(args: ListTagsForResourceCommandInput, options?: InspectorRequestOptions): Promise<ListTagsForResourceCommandOutput>;
214
220
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
215
- listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
221
+ listTagsForResource(args: ListTagsForResourceCommandInput, options: InspectorRequestOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
216
222
  /**
217
223
  * @see {@link PreviewAgentsCommand}
218
224
  */
219
- previewAgents(args: PreviewAgentsCommandInput, options?: __HttpHandlerOptions): Promise<PreviewAgentsCommandOutput>;
225
+ previewAgents(args: PreviewAgentsCommandInput, options?: InspectorRequestOptions): Promise<PreviewAgentsCommandOutput>;
220
226
  previewAgents(args: PreviewAgentsCommandInput, cb: (err: any, data?: PreviewAgentsCommandOutput) => void): void;
221
- previewAgents(args: PreviewAgentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PreviewAgentsCommandOutput) => void): void;
227
+ previewAgents(args: PreviewAgentsCommandInput, options: InspectorRequestOptions, cb: (err: any, data?: PreviewAgentsCommandOutput) => void): void;
222
228
  /**
223
229
  * @see {@link RegisterCrossAccountAccessRoleCommand}
224
230
  */
225
- registerCrossAccountAccessRole(args: RegisterCrossAccountAccessRoleCommandInput, options?: __HttpHandlerOptions): Promise<RegisterCrossAccountAccessRoleCommandOutput>;
231
+ registerCrossAccountAccessRole(args: RegisterCrossAccountAccessRoleCommandInput, options?: InspectorRequestOptions): Promise<RegisterCrossAccountAccessRoleCommandOutput>;
226
232
  registerCrossAccountAccessRole(args: RegisterCrossAccountAccessRoleCommandInput, cb: (err: any, data?: RegisterCrossAccountAccessRoleCommandOutput) => void): void;
227
- registerCrossAccountAccessRole(args: RegisterCrossAccountAccessRoleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RegisterCrossAccountAccessRoleCommandOutput) => void): void;
233
+ registerCrossAccountAccessRole(args: RegisterCrossAccountAccessRoleCommandInput, options: InspectorRequestOptions, cb: (err: any, data?: RegisterCrossAccountAccessRoleCommandOutput) => void): void;
228
234
  /**
229
235
  * @see {@link RemoveAttributesFromFindingsCommand}
230
236
  */
231
- removeAttributesFromFindings(args: RemoveAttributesFromFindingsCommandInput, options?: __HttpHandlerOptions): Promise<RemoveAttributesFromFindingsCommandOutput>;
237
+ removeAttributesFromFindings(args: RemoveAttributesFromFindingsCommandInput, options?: InspectorRequestOptions): Promise<RemoveAttributesFromFindingsCommandOutput>;
232
238
  removeAttributesFromFindings(args: RemoveAttributesFromFindingsCommandInput, cb: (err: any, data?: RemoveAttributesFromFindingsCommandOutput) => void): void;
233
- removeAttributesFromFindings(args: RemoveAttributesFromFindingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RemoveAttributesFromFindingsCommandOutput) => void): void;
239
+ removeAttributesFromFindings(args: RemoveAttributesFromFindingsCommandInput, options: InspectorRequestOptions, cb: (err: any, data?: RemoveAttributesFromFindingsCommandOutput) => void): void;
234
240
  /**
235
241
  * @see {@link SetTagsForResourceCommand}
236
242
  */
237
- setTagsForResource(args: SetTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<SetTagsForResourceCommandOutput>;
243
+ setTagsForResource(args: SetTagsForResourceCommandInput, options?: InspectorRequestOptions): Promise<SetTagsForResourceCommandOutput>;
238
244
  setTagsForResource(args: SetTagsForResourceCommandInput, cb: (err: any, data?: SetTagsForResourceCommandOutput) => void): void;
239
- setTagsForResource(args: SetTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SetTagsForResourceCommandOutput) => void): void;
245
+ setTagsForResource(args: SetTagsForResourceCommandInput, options: InspectorRequestOptions, cb: (err: any, data?: SetTagsForResourceCommandOutput) => void): void;
240
246
  /**
241
247
  * @see {@link StartAssessmentRunCommand}
242
248
  */
243
- startAssessmentRun(args: StartAssessmentRunCommandInput, options?: __HttpHandlerOptions): Promise<StartAssessmentRunCommandOutput>;
249
+ startAssessmentRun(args: StartAssessmentRunCommandInput, options?: InspectorRequestOptions): Promise<StartAssessmentRunCommandOutput>;
244
250
  startAssessmentRun(args: StartAssessmentRunCommandInput, cb: (err: any, data?: StartAssessmentRunCommandOutput) => void): void;
245
- startAssessmentRun(args: StartAssessmentRunCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartAssessmentRunCommandOutput) => void): void;
251
+ startAssessmentRun(args: StartAssessmentRunCommandInput, options: InspectorRequestOptions, cb: (err: any, data?: StartAssessmentRunCommandOutput) => void): void;
246
252
  /**
247
253
  * @see {@link StopAssessmentRunCommand}
248
254
  */
249
- stopAssessmentRun(args: StopAssessmentRunCommandInput, options?: __HttpHandlerOptions): Promise<StopAssessmentRunCommandOutput>;
255
+ stopAssessmentRun(args: StopAssessmentRunCommandInput, options?: InspectorRequestOptions): Promise<StopAssessmentRunCommandOutput>;
250
256
  stopAssessmentRun(args: StopAssessmentRunCommandInput, cb: (err: any, data?: StopAssessmentRunCommandOutput) => void): void;
251
- stopAssessmentRun(args: StopAssessmentRunCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopAssessmentRunCommandOutput) => void): void;
257
+ stopAssessmentRun(args: StopAssessmentRunCommandInput, options: InspectorRequestOptions, cb: (err: any, data?: StopAssessmentRunCommandOutput) => void): void;
252
258
  /**
253
259
  * @see {@link SubscribeToEventCommand}
254
260
  */
255
- subscribeToEvent(args: SubscribeToEventCommandInput, options?: __HttpHandlerOptions): Promise<SubscribeToEventCommandOutput>;
261
+ subscribeToEvent(args: SubscribeToEventCommandInput, options?: InspectorRequestOptions): Promise<SubscribeToEventCommandOutput>;
256
262
  subscribeToEvent(args: SubscribeToEventCommandInput, cb: (err: any, data?: SubscribeToEventCommandOutput) => void): void;
257
- subscribeToEvent(args: SubscribeToEventCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SubscribeToEventCommandOutput) => void): void;
263
+ subscribeToEvent(args: SubscribeToEventCommandInput, options: InspectorRequestOptions, cb: (err: any, data?: SubscribeToEventCommandOutput) => void): void;
258
264
  /**
259
265
  * @see {@link UnsubscribeFromEventCommand}
260
266
  */
261
- unsubscribeFromEvent(args: UnsubscribeFromEventCommandInput, options?: __HttpHandlerOptions): Promise<UnsubscribeFromEventCommandOutput>;
267
+ unsubscribeFromEvent(args: UnsubscribeFromEventCommandInput, options?: InspectorRequestOptions): Promise<UnsubscribeFromEventCommandOutput>;
262
268
  unsubscribeFromEvent(args: UnsubscribeFromEventCommandInput, cb: (err: any, data?: UnsubscribeFromEventCommandOutput) => void): void;
263
- unsubscribeFromEvent(args: UnsubscribeFromEventCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UnsubscribeFromEventCommandOutput) => void): void;
269
+ unsubscribeFromEvent(args: UnsubscribeFromEventCommandInput, options: InspectorRequestOptions, cb: (err: any, data?: UnsubscribeFromEventCommandOutput) => void): void;
264
270
  /**
265
271
  * @see {@link UpdateAssessmentTargetCommand}
266
272
  */
267
- updateAssessmentTarget(args: UpdateAssessmentTargetCommandInput, options?: __HttpHandlerOptions): Promise<UpdateAssessmentTargetCommandOutput>;
273
+ updateAssessmentTarget(args: UpdateAssessmentTargetCommandInput, options?: InspectorRequestOptions): Promise<UpdateAssessmentTargetCommandOutput>;
268
274
  updateAssessmentTarget(args: UpdateAssessmentTargetCommandInput, cb: (err: any, data?: UpdateAssessmentTargetCommandOutput) => void): void;
269
- updateAssessmentTarget(args: UpdateAssessmentTargetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAssessmentTargetCommandOutput) => void): void;
275
+ updateAssessmentTarget(args: UpdateAssessmentTargetCommandInput, options: InspectorRequestOptions, cb: (err: any, data?: UpdateAssessmentTargetCommandOutput) => void): void;
270
276
  /**
271
277
  * @see {@link GetExclusionsPreviewCommand}
272
278
  * @param args - command input.
@@ -1,5 +1,6 @@
1
1
  import {
2
2
  HttpHandlerOptions as __HttpHandlerOptions,
3
+ MetricsRecorder as __MetricsRecorder,
3
4
  PaginationConfiguration,
4
5
  Paginator,
5
6
  } from "@smithy/types";
@@ -152,10 +153,13 @@ import {
152
153
  UpdateAssessmentTargetCommandOutput,
153
154
  } from "./commands/UpdateAssessmentTargetCommand";
154
155
  import { InspectorClient } from "./InspectorClient";
156
+ export interface InspectorRequestOptions extends __HttpHandlerOptions {
157
+ metricsRecorder?: __MetricsRecorder<unknown>;
158
+ }
155
159
  export interface Inspector {
156
160
  addAttributesToFindings(
157
161
  args: AddAttributesToFindingsCommandInput,
158
- options?: __HttpHandlerOptions,
162
+ options?: InspectorRequestOptions,
159
163
  ): Promise<AddAttributesToFindingsCommandOutput>;
160
164
  addAttributesToFindings(
161
165
  args: AddAttributesToFindingsCommandInput,
@@ -163,12 +167,12 @@ export interface Inspector {
163
167
  ): void;
164
168
  addAttributesToFindings(
165
169
  args: AddAttributesToFindingsCommandInput,
166
- options: __HttpHandlerOptions,
170
+ options: InspectorRequestOptions,
167
171
  cb: (err: any, data?: AddAttributesToFindingsCommandOutput) => void,
168
172
  ): void;
169
173
  createAssessmentTarget(
170
174
  args: CreateAssessmentTargetCommandInput,
171
- options?: __HttpHandlerOptions,
175
+ options?: InspectorRequestOptions,
172
176
  ): Promise<CreateAssessmentTargetCommandOutput>;
173
177
  createAssessmentTarget(
174
178
  args: CreateAssessmentTargetCommandInput,
@@ -176,12 +180,12 @@ export interface Inspector {
176
180
  ): void;
177
181
  createAssessmentTarget(
178
182
  args: CreateAssessmentTargetCommandInput,
179
- options: __HttpHandlerOptions,
183
+ options: InspectorRequestOptions,
180
184
  cb: (err: any, data?: CreateAssessmentTargetCommandOutput) => void,
181
185
  ): void;
182
186
  createAssessmentTemplate(
183
187
  args: CreateAssessmentTemplateCommandInput,
184
- options?: __HttpHandlerOptions,
188
+ options?: InspectorRequestOptions,
185
189
  ): Promise<CreateAssessmentTemplateCommandOutput>;
186
190
  createAssessmentTemplate(
187
191
  args: CreateAssessmentTemplateCommandInput,
@@ -189,12 +193,12 @@ export interface Inspector {
189
193
  ): void;
190
194
  createAssessmentTemplate(
191
195
  args: CreateAssessmentTemplateCommandInput,
192
- options: __HttpHandlerOptions,
196
+ options: InspectorRequestOptions,
193
197
  cb: (err: any, data?: CreateAssessmentTemplateCommandOutput) => void,
194
198
  ): void;
195
199
  createExclusionsPreview(
196
200
  args: CreateExclusionsPreviewCommandInput,
197
- options?: __HttpHandlerOptions,
201
+ options?: InspectorRequestOptions,
198
202
  ): Promise<CreateExclusionsPreviewCommandOutput>;
199
203
  createExclusionsPreview(
200
204
  args: CreateExclusionsPreviewCommandInput,
@@ -202,12 +206,12 @@ export interface Inspector {
202
206
  ): void;
203
207
  createExclusionsPreview(
204
208
  args: CreateExclusionsPreviewCommandInput,
205
- options: __HttpHandlerOptions,
209
+ options: InspectorRequestOptions,
206
210
  cb: (err: any, data?: CreateExclusionsPreviewCommandOutput) => void,
207
211
  ): void;
208
212
  createResourceGroup(
209
213
  args: CreateResourceGroupCommandInput,
210
- options?: __HttpHandlerOptions,
214
+ options?: InspectorRequestOptions,
211
215
  ): Promise<CreateResourceGroupCommandOutput>;
212
216
  createResourceGroup(
213
217
  args: CreateResourceGroupCommandInput,
@@ -215,12 +219,12 @@ export interface Inspector {
215
219
  ): void;
216
220
  createResourceGroup(
217
221
  args: CreateResourceGroupCommandInput,
218
- options: __HttpHandlerOptions,
222
+ options: InspectorRequestOptions,
219
223
  cb: (err: any, data?: CreateResourceGroupCommandOutput) => void,
220
224
  ): void;
221
225
  deleteAssessmentRun(
222
226
  args: DeleteAssessmentRunCommandInput,
223
- options?: __HttpHandlerOptions,
227
+ options?: InspectorRequestOptions,
224
228
  ): Promise<DeleteAssessmentRunCommandOutput>;
225
229
  deleteAssessmentRun(
226
230
  args: DeleteAssessmentRunCommandInput,
@@ -228,12 +232,12 @@ export interface Inspector {
228
232
  ): void;
229
233
  deleteAssessmentRun(
230
234
  args: DeleteAssessmentRunCommandInput,
231
- options: __HttpHandlerOptions,
235
+ options: InspectorRequestOptions,
232
236
  cb: (err: any, data?: DeleteAssessmentRunCommandOutput) => void,
233
237
  ): void;
234
238
  deleteAssessmentTarget(
235
239
  args: DeleteAssessmentTargetCommandInput,
236
- options?: __HttpHandlerOptions,
240
+ options?: InspectorRequestOptions,
237
241
  ): Promise<DeleteAssessmentTargetCommandOutput>;
238
242
  deleteAssessmentTarget(
239
243
  args: DeleteAssessmentTargetCommandInput,
@@ -241,12 +245,12 @@ export interface Inspector {
241
245
  ): void;
242
246
  deleteAssessmentTarget(
243
247
  args: DeleteAssessmentTargetCommandInput,
244
- options: __HttpHandlerOptions,
248
+ options: InspectorRequestOptions,
245
249
  cb: (err: any, data?: DeleteAssessmentTargetCommandOutput) => void,
246
250
  ): void;
247
251
  deleteAssessmentTemplate(
248
252
  args: DeleteAssessmentTemplateCommandInput,
249
- options?: __HttpHandlerOptions,
253
+ options?: InspectorRequestOptions,
250
254
  ): Promise<DeleteAssessmentTemplateCommandOutput>;
251
255
  deleteAssessmentTemplate(
252
256
  args: DeleteAssessmentTemplateCommandInput,
@@ -254,12 +258,12 @@ export interface Inspector {
254
258
  ): void;
255
259
  deleteAssessmentTemplate(
256
260
  args: DeleteAssessmentTemplateCommandInput,
257
- options: __HttpHandlerOptions,
261
+ options: InspectorRequestOptions,
258
262
  cb: (err: any, data?: DeleteAssessmentTemplateCommandOutput) => void,
259
263
  ): void;
260
264
  describeAssessmentRuns(
261
265
  args: DescribeAssessmentRunsCommandInput,
262
- options?: __HttpHandlerOptions,
266
+ options?: InspectorRequestOptions,
263
267
  ): Promise<DescribeAssessmentRunsCommandOutput>;
264
268
  describeAssessmentRuns(
265
269
  args: DescribeAssessmentRunsCommandInput,
@@ -267,12 +271,12 @@ export interface Inspector {
267
271
  ): void;
268
272
  describeAssessmentRuns(
269
273
  args: DescribeAssessmentRunsCommandInput,
270
- options: __HttpHandlerOptions,
274
+ options: InspectorRequestOptions,
271
275
  cb: (err: any, data?: DescribeAssessmentRunsCommandOutput) => void,
272
276
  ): void;
273
277
  describeAssessmentTargets(
274
278
  args: DescribeAssessmentTargetsCommandInput,
275
- options?: __HttpHandlerOptions,
279
+ options?: InspectorRequestOptions,
276
280
  ): Promise<DescribeAssessmentTargetsCommandOutput>;
277
281
  describeAssessmentTargets(
278
282
  args: DescribeAssessmentTargetsCommandInput,
@@ -280,12 +284,12 @@ export interface Inspector {
280
284
  ): void;
281
285
  describeAssessmentTargets(
282
286
  args: DescribeAssessmentTargetsCommandInput,
283
- options: __HttpHandlerOptions,
287
+ options: InspectorRequestOptions,
284
288
  cb: (err: any, data?: DescribeAssessmentTargetsCommandOutput) => void,
285
289
  ): void;
286
290
  describeAssessmentTemplates(
287
291
  args: DescribeAssessmentTemplatesCommandInput,
288
- options?: __HttpHandlerOptions,
292
+ options?: InspectorRequestOptions,
289
293
  ): Promise<DescribeAssessmentTemplatesCommandOutput>;
290
294
  describeAssessmentTemplates(
291
295
  args: DescribeAssessmentTemplatesCommandInput,
@@ -293,13 +297,13 @@ export interface Inspector {
293
297
  ): void;
294
298
  describeAssessmentTemplates(
295
299
  args: DescribeAssessmentTemplatesCommandInput,
296
- options: __HttpHandlerOptions,
300
+ options: InspectorRequestOptions,
297
301
  cb: (err: any, data?: DescribeAssessmentTemplatesCommandOutput) => void,
298
302
  ): void;
299
303
  describeCrossAccountAccessRole(): Promise<DescribeCrossAccountAccessRoleCommandOutput>;
300
304
  describeCrossAccountAccessRole(
301
305
  args: DescribeCrossAccountAccessRoleCommandInput,
302
- options?: __HttpHandlerOptions,
306
+ options?: InspectorRequestOptions,
303
307
  ): Promise<DescribeCrossAccountAccessRoleCommandOutput>;
304
308
  describeCrossAccountAccessRole(
305
309
  args: DescribeCrossAccountAccessRoleCommandInput,
@@ -307,12 +311,12 @@ export interface Inspector {
307
311
  ): void;
308
312
  describeCrossAccountAccessRole(
309
313
  args: DescribeCrossAccountAccessRoleCommandInput,
310
- options: __HttpHandlerOptions,
314
+ options: InspectorRequestOptions,
311
315
  cb: (err: any, data?: DescribeCrossAccountAccessRoleCommandOutput) => void,
312
316
  ): void;
313
317
  describeExclusions(
314
318
  args: DescribeExclusionsCommandInput,
315
- options?: __HttpHandlerOptions,
319
+ options?: InspectorRequestOptions,
316
320
  ): Promise<DescribeExclusionsCommandOutput>;
317
321
  describeExclusions(
318
322
  args: DescribeExclusionsCommandInput,
@@ -320,12 +324,12 @@ export interface Inspector {
320
324
  ): void;
321
325
  describeExclusions(
322
326
  args: DescribeExclusionsCommandInput,
323
- options: __HttpHandlerOptions,
327
+ options: InspectorRequestOptions,
324
328
  cb: (err: any, data?: DescribeExclusionsCommandOutput) => void,
325
329
  ): void;
326
330
  describeFindings(
327
331
  args: DescribeFindingsCommandInput,
328
- options?: __HttpHandlerOptions,
332
+ options?: InspectorRequestOptions,
329
333
  ): Promise<DescribeFindingsCommandOutput>;
330
334
  describeFindings(
331
335
  args: DescribeFindingsCommandInput,
@@ -333,12 +337,12 @@ export interface Inspector {
333
337
  ): void;
334
338
  describeFindings(
335
339
  args: DescribeFindingsCommandInput,
336
- options: __HttpHandlerOptions,
340
+ options: InspectorRequestOptions,
337
341
  cb: (err: any, data?: DescribeFindingsCommandOutput) => void,
338
342
  ): void;
339
343
  describeResourceGroups(
340
344
  args: DescribeResourceGroupsCommandInput,
341
- options?: __HttpHandlerOptions,
345
+ options?: InspectorRequestOptions,
342
346
  ): Promise<DescribeResourceGroupsCommandOutput>;
343
347
  describeResourceGroups(
344
348
  args: DescribeResourceGroupsCommandInput,
@@ -346,12 +350,12 @@ export interface Inspector {
346
350
  ): void;
347
351
  describeResourceGroups(
348
352
  args: DescribeResourceGroupsCommandInput,
349
- options: __HttpHandlerOptions,
353
+ options: InspectorRequestOptions,
350
354
  cb: (err: any, data?: DescribeResourceGroupsCommandOutput) => void,
351
355
  ): void;
352
356
  describeRulesPackages(
353
357
  args: DescribeRulesPackagesCommandInput,
354
- options?: __HttpHandlerOptions,
358
+ options?: InspectorRequestOptions,
355
359
  ): Promise<DescribeRulesPackagesCommandOutput>;
356
360
  describeRulesPackages(
357
361
  args: DescribeRulesPackagesCommandInput,
@@ -359,12 +363,12 @@ export interface Inspector {
359
363
  ): void;
360
364
  describeRulesPackages(
361
365
  args: DescribeRulesPackagesCommandInput,
362
- options: __HttpHandlerOptions,
366
+ options: InspectorRequestOptions,
363
367
  cb: (err: any, data?: DescribeRulesPackagesCommandOutput) => void,
364
368
  ): void;
365
369
  getAssessmentReport(
366
370
  args: GetAssessmentReportCommandInput,
367
- options?: __HttpHandlerOptions,
371
+ options?: InspectorRequestOptions,
368
372
  ): Promise<GetAssessmentReportCommandOutput>;
369
373
  getAssessmentReport(
370
374
  args: GetAssessmentReportCommandInput,
@@ -372,12 +376,12 @@ export interface Inspector {
372
376
  ): void;
373
377
  getAssessmentReport(
374
378
  args: GetAssessmentReportCommandInput,
375
- options: __HttpHandlerOptions,
379
+ options: InspectorRequestOptions,
376
380
  cb: (err: any, data?: GetAssessmentReportCommandOutput) => void,
377
381
  ): void;
378
382
  getExclusionsPreview(
379
383
  args: GetExclusionsPreviewCommandInput,
380
- options?: __HttpHandlerOptions,
384
+ options?: InspectorRequestOptions,
381
385
  ): Promise<GetExclusionsPreviewCommandOutput>;
382
386
  getExclusionsPreview(
383
387
  args: GetExclusionsPreviewCommandInput,
@@ -385,12 +389,12 @@ export interface Inspector {
385
389
  ): void;
386
390
  getExclusionsPreview(
387
391
  args: GetExclusionsPreviewCommandInput,
388
- options: __HttpHandlerOptions,
392
+ options: InspectorRequestOptions,
389
393
  cb: (err: any, data?: GetExclusionsPreviewCommandOutput) => void,
390
394
  ): void;
391
395
  getTelemetryMetadata(
392
396
  args: GetTelemetryMetadataCommandInput,
393
- options?: __HttpHandlerOptions,
397
+ options?: InspectorRequestOptions,
394
398
  ): Promise<GetTelemetryMetadataCommandOutput>;
395
399
  getTelemetryMetadata(
396
400
  args: GetTelemetryMetadataCommandInput,
@@ -398,12 +402,12 @@ export interface Inspector {
398
402
  ): void;
399
403
  getTelemetryMetadata(
400
404
  args: GetTelemetryMetadataCommandInput,
401
- options: __HttpHandlerOptions,
405
+ options: InspectorRequestOptions,
402
406
  cb: (err: any, data?: GetTelemetryMetadataCommandOutput) => void,
403
407
  ): void;
404
408
  listAssessmentRunAgents(
405
409
  args: ListAssessmentRunAgentsCommandInput,
406
- options?: __HttpHandlerOptions,
410
+ options?: InspectorRequestOptions,
407
411
  ): Promise<ListAssessmentRunAgentsCommandOutput>;
408
412
  listAssessmentRunAgents(
409
413
  args: ListAssessmentRunAgentsCommandInput,
@@ -411,13 +415,13 @@ export interface Inspector {
411
415
  ): void;
412
416
  listAssessmentRunAgents(
413
417
  args: ListAssessmentRunAgentsCommandInput,
414
- options: __HttpHandlerOptions,
418
+ options: InspectorRequestOptions,
415
419
  cb: (err: any, data?: ListAssessmentRunAgentsCommandOutput) => void,
416
420
  ): void;
417
421
  listAssessmentRuns(): Promise<ListAssessmentRunsCommandOutput>;
418
422
  listAssessmentRuns(
419
423
  args: ListAssessmentRunsCommandInput,
420
- options?: __HttpHandlerOptions,
424
+ options?: InspectorRequestOptions,
421
425
  ): Promise<ListAssessmentRunsCommandOutput>;
422
426
  listAssessmentRuns(
423
427
  args: ListAssessmentRunsCommandInput,
@@ -425,13 +429,13 @@ export interface Inspector {
425
429
  ): void;
426
430
  listAssessmentRuns(
427
431
  args: ListAssessmentRunsCommandInput,
428
- options: __HttpHandlerOptions,
432
+ options: InspectorRequestOptions,
429
433
  cb: (err: any, data?: ListAssessmentRunsCommandOutput) => void,
430
434
  ): void;
431
435
  listAssessmentTargets(): Promise<ListAssessmentTargetsCommandOutput>;
432
436
  listAssessmentTargets(
433
437
  args: ListAssessmentTargetsCommandInput,
434
- options?: __HttpHandlerOptions,
438
+ options?: InspectorRequestOptions,
435
439
  ): Promise<ListAssessmentTargetsCommandOutput>;
436
440
  listAssessmentTargets(
437
441
  args: ListAssessmentTargetsCommandInput,
@@ -439,13 +443,13 @@ export interface Inspector {
439
443
  ): void;
440
444
  listAssessmentTargets(
441
445
  args: ListAssessmentTargetsCommandInput,
442
- options: __HttpHandlerOptions,
446
+ options: InspectorRequestOptions,
443
447
  cb: (err: any, data?: ListAssessmentTargetsCommandOutput) => void,
444
448
  ): void;
445
449
  listAssessmentTemplates(): Promise<ListAssessmentTemplatesCommandOutput>;
446
450
  listAssessmentTemplates(
447
451
  args: ListAssessmentTemplatesCommandInput,
448
- options?: __HttpHandlerOptions,
452
+ options?: InspectorRequestOptions,
449
453
  ): Promise<ListAssessmentTemplatesCommandOutput>;
450
454
  listAssessmentTemplates(
451
455
  args: ListAssessmentTemplatesCommandInput,
@@ -453,13 +457,13 @@ export interface Inspector {
453
457
  ): void;
454
458
  listAssessmentTemplates(
455
459
  args: ListAssessmentTemplatesCommandInput,
456
- options: __HttpHandlerOptions,
460
+ options: InspectorRequestOptions,
457
461
  cb: (err: any, data?: ListAssessmentTemplatesCommandOutput) => void,
458
462
  ): void;
459
463
  listEventSubscriptions(): Promise<ListEventSubscriptionsCommandOutput>;
460
464
  listEventSubscriptions(
461
465
  args: ListEventSubscriptionsCommandInput,
462
- options?: __HttpHandlerOptions,
466
+ options?: InspectorRequestOptions,
463
467
  ): Promise<ListEventSubscriptionsCommandOutput>;
464
468
  listEventSubscriptions(
465
469
  args: ListEventSubscriptionsCommandInput,
@@ -467,12 +471,12 @@ export interface Inspector {
467
471
  ): void;
468
472
  listEventSubscriptions(
469
473
  args: ListEventSubscriptionsCommandInput,
470
- options: __HttpHandlerOptions,
474
+ options: InspectorRequestOptions,
471
475
  cb: (err: any, data?: ListEventSubscriptionsCommandOutput) => void,
472
476
  ): void;
473
477
  listExclusions(
474
478
  args: ListExclusionsCommandInput,
475
- options?: __HttpHandlerOptions,
479
+ options?: InspectorRequestOptions,
476
480
  ): Promise<ListExclusionsCommandOutput>;
477
481
  listExclusions(
478
482
  args: ListExclusionsCommandInput,
@@ -480,13 +484,13 @@ export interface Inspector {
480
484
  ): void;
481
485
  listExclusions(
482
486
  args: ListExclusionsCommandInput,
483
- options: __HttpHandlerOptions,
487
+ options: InspectorRequestOptions,
484
488
  cb: (err: any, data?: ListExclusionsCommandOutput) => void,
485
489
  ): void;
486
490
  listFindings(): Promise<ListFindingsCommandOutput>;
487
491
  listFindings(
488
492
  args: ListFindingsCommandInput,
489
- options?: __HttpHandlerOptions,
493
+ options?: InspectorRequestOptions,
490
494
  ): Promise<ListFindingsCommandOutput>;
491
495
  listFindings(
492
496
  args: ListFindingsCommandInput,
@@ -494,13 +498,13 @@ export interface Inspector {
494
498
  ): void;
495
499
  listFindings(
496
500
  args: ListFindingsCommandInput,
497
- options: __HttpHandlerOptions,
501
+ options: InspectorRequestOptions,
498
502
  cb: (err: any, data?: ListFindingsCommandOutput) => void,
499
503
  ): void;
500
504
  listRulesPackages(): Promise<ListRulesPackagesCommandOutput>;
501
505
  listRulesPackages(
502
506
  args: ListRulesPackagesCommandInput,
503
- options?: __HttpHandlerOptions,
507
+ options?: InspectorRequestOptions,
504
508
  ): Promise<ListRulesPackagesCommandOutput>;
505
509
  listRulesPackages(
506
510
  args: ListRulesPackagesCommandInput,
@@ -508,12 +512,12 @@ export interface Inspector {
508
512
  ): void;
509
513
  listRulesPackages(
510
514
  args: ListRulesPackagesCommandInput,
511
- options: __HttpHandlerOptions,
515
+ options: InspectorRequestOptions,
512
516
  cb: (err: any, data?: ListRulesPackagesCommandOutput) => void,
513
517
  ): void;
514
518
  listTagsForResource(
515
519
  args: ListTagsForResourceCommandInput,
516
- options?: __HttpHandlerOptions,
520
+ options?: InspectorRequestOptions,
517
521
  ): Promise<ListTagsForResourceCommandOutput>;
518
522
  listTagsForResource(
519
523
  args: ListTagsForResourceCommandInput,
@@ -521,12 +525,12 @@ export interface Inspector {
521
525
  ): void;
522
526
  listTagsForResource(
523
527
  args: ListTagsForResourceCommandInput,
524
- options: __HttpHandlerOptions,
528
+ options: InspectorRequestOptions,
525
529
  cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
526
530
  ): void;
527
531
  previewAgents(
528
532
  args: PreviewAgentsCommandInput,
529
- options?: __HttpHandlerOptions,
533
+ options?: InspectorRequestOptions,
530
534
  ): Promise<PreviewAgentsCommandOutput>;
531
535
  previewAgents(
532
536
  args: PreviewAgentsCommandInput,
@@ -534,12 +538,12 @@ export interface Inspector {
534
538
  ): void;
535
539
  previewAgents(
536
540
  args: PreviewAgentsCommandInput,
537
- options: __HttpHandlerOptions,
541
+ options: InspectorRequestOptions,
538
542
  cb: (err: any, data?: PreviewAgentsCommandOutput) => void,
539
543
  ): void;
540
544
  registerCrossAccountAccessRole(
541
545
  args: RegisterCrossAccountAccessRoleCommandInput,
542
- options?: __HttpHandlerOptions,
546
+ options?: InspectorRequestOptions,
543
547
  ): Promise<RegisterCrossAccountAccessRoleCommandOutput>;
544
548
  registerCrossAccountAccessRole(
545
549
  args: RegisterCrossAccountAccessRoleCommandInput,
@@ -547,12 +551,12 @@ export interface Inspector {
547
551
  ): void;
548
552
  registerCrossAccountAccessRole(
549
553
  args: RegisterCrossAccountAccessRoleCommandInput,
550
- options: __HttpHandlerOptions,
554
+ options: InspectorRequestOptions,
551
555
  cb: (err: any, data?: RegisterCrossAccountAccessRoleCommandOutput) => void,
552
556
  ): void;
553
557
  removeAttributesFromFindings(
554
558
  args: RemoveAttributesFromFindingsCommandInput,
555
- options?: __HttpHandlerOptions,
559
+ options?: InspectorRequestOptions,
556
560
  ): Promise<RemoveAttributesFromFindingsCommandOutput>;
557
561
  removeAttributesFromFindings(
558
562
  args: RemoveAttributesFromFindingsCommandInput,
@@ -560,12 +564,12 @@ export interface Inspector {
560
564
  ): void;
561
565
  removeAttributesFromFindings(
562
566
  args: RemoveAttributesFromFindingsCommandInput,
563
- options: __HttpHandlerOptions,
567
+ options: InspectorRequestOptions,
564
568
  cb: (err: any, data?: RemoveAttributesFromFindingsCommandOutput) => void,
565
569
  ): void;
566
570
  setTagsForResource(
567
571
  args: SetTagsForResourceCommandInput,
568
- options?: __HttpHandlerOptions,
572
+ options?: InspectorRequestOptions,
569
573
  ): Promise<SetTagsForResourceCommandOutput>;
570
574
  setTagsForResource(
571
575
  args: SetTagsForResourceCommandInput,
@@ -573,12 +577,12 @@ export interface Inspector {
573
577
  ): void;
574
578
  setTagsForResource(
575
579
  args: SetTagsForResourceCommandInput,
576
- options: __HttpHandlerOptions,
580
+ options: InspectorRequestOptions,
577
581
  cb: (err: any, data?: SetTagsForResourceCommandOutput) => void,
578
582
  ): void;
579
583
  startAssessmentRun(
580
584
  args: StartAssessmentRunCommandInput,
581
- options?: __HttpHandlerOptions,
585
+ options?: InspectorRequestOptions,
582
586
  ): Promise<StartAssessmentRunCommandOutput>;
583
587
  startAssessmentRun(
584
588
  args: StartAssessmentRunCommandInput,
@@ -586,12 +590,12 @@ export interface Inspector {
586
590
  ): void;
587
591
  startAssessmentRun(
588
592
  args: StartAssessmentRunCommandInput,
589
- options: __HttpHandlerOptions,
593
+ options: InspectorRequestOptions,
590
594
  cb: (err: any, data?: StartAssessmentRunCommandOutput) => void,
591
595
  ): void;
592
596
  stopAssessmentRun(
593
597
  args: StopAssessmentRunCommandInput,
594
- options?: __HttpHandlerOptions,
598
+ options?: InspectorRequestOptions,
595
599
  ): Promise<StopAssessmentRunCommandOutput>;
596
600
  stopAssessmentRun(
597
601
  args: StopAssessmentRunCommandInput,
@@ -599,12 +603,12 @@ export interface Inspector {
599
603
  ): void;
600
604
  stopAssessmentRun(
601
605
  args: StopAssessmentRunCommandInput,
602
- options: __HttpHandlerOptions,
606
+ options: InspectorRequestOptions,
603
607
  cb: (err: any, data?: StopAssessmentRunCommandOutput) => void,
604
608
  ): void;
605
609
  subscribeToEvent(
606
610
  args: SubscribeToEventCommandInput,
607
- options?: __HttpHandlerOptions,
611
+ options?: InspectorRequestOptions,
608
612
  ): Promise<SubscribeToEventCommandOutput>;
609
613
  subscribeToEvent(
610
614
  args: SubscribeToEventCommandInput,
@@ -612,12 +616,12 @@ export interface Inspector {
612
616
  ): void;
613
617
  subscribeToEvent(
614
618
  args: SubscribeToEventCommandInput,
615
- options: __HttpHandlerOptions,
619
+ options: InspectorRequestOptions,
616
620
  cb: (err: any, data?: SubscribeToEventCommandOutput) => void,
617
621
  ): void;
618
622
  unsubscribeFromEvent(
619
623
  args: UnsubscribeFromEventCommandInput,
620
- options?: __HttpHandlerOptions,
624
+ options?: InspectorRequestOptions,
621
625
  ): Promise<UnsubscribeFromEventCommandOutput>;
622
626
  unsubscribeFromEvent(
623
627
  args: UnsubscribeFromEventCommandInput,
@@ -625,12 +629,12 @@ export interface Inspector {
625
629
  ): void;
626
630
  unsubscribeFromEvent(
627
631
  args: UnsubscribeFromEventCommandInput,
628
- options: __HttpHandlerOptions,
632
+ options: InspectorRequestOptions,
629
633
  cb: (err: any, data?: UnsubscribeFromEventCommandOutput) => void,
630
634
  ): void;
631
635
  updateAssessmentTarget(
632
636
  args: UpdateAssessmentTargetCommandInput,
633
- options?: __HttpHandlerOptions,
637
+ options?: InspectorRequestOptions,
634
638
  ): Promise<UpdateAssessmentTargetCommandOutput>;
635
639
  updateAssessmentTarget(
636
640
  args: UpdateAssessmentTargetCommandInput,
@@ -638,7 +642,7 @@ export interface Inspector {
638
642
  ): void;
639
643
  updateAssessmentTarget(
640
644
  args: UpdateAssessmentTargetCommandInput,
641
- options: __HttpHandlerOptions,
645
+ options: InspectorRequestOptions,
642
646
  cb: (err: any, data?: UpdateAssessmentTargetCommandOutput) => void,
643
647
  ): void;
644
648
  paginateGetExclusionsPreview(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-inspector",
3
- "version": "3.1137.0",
3
+ "version": "3.1139.0",
4
4
  "description": "AWS SDK for JavaScript Inspector Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-inspector",
6
6
  "license": "Apache-2.0",
@@ -46,13 +46,13 @@
46
46
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
47
47
  },
48
48
  "dependencies": {
49
- "@aws-sdk/core": "^3.978.0",
50
- "@aws-sdk/credential-provider-node": "^3.972.83",
51
- "@aws-sdk/types": "^3.974.5",
52
- "@smithy/core": "^3.33.3",
53
- "@smithy/fetch-http-handler": "^5.7.2",
54
- "@smithy/node-http-handler": "^4.11.3",
55
- "@smithy/types": "^4.17.2",
49
+ "@aws-sdk/core": "^3.978.1",
50
+ "@aws-sdk/credential-provider-node": "^3.972.84",
51
+ "@aws-sdk/types": "^3.974.6",
52
+ "@smithy/core": "^3.35.0",
53
+ "@smithy/fetch-http-handler": "^5.8.0",
54
+ "@smithy/node-http-handler": "^4.12.1",
55
+ "@smithy/types": "^4.19.0",
56
56
  "tslib": "^2.6.2"
57
57
  },
58
58
  "devDependencies": {