@aws-sdk/client-inspector 3.169.0 → 3.171.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 (64) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist-types/ts3.4/Inspector.d.ts +633 -190
  3. package/dist-types/ts3.4/InspectorClient.d.ts +326 -110
  4. package/dist-types/ts3.4/commands/AddAttributesToFindingsCommand.d.ts +39 -17
  5. package/dist-types/ts3.4/commands/CreateAssessmentTargetCommand.d.ts +39 -17
  6. package/dist-types/ts3.4/commands/CreateAssessmentTemplateCommand.d.ts +39 -17
  7. package/dist-types/ts3.4/commands/CreateExclusionsPreviewCommand.d.ts +39 -17
  8. package/dist-types/ts3.4/commands/CreateResourceGroupCommand.d.ts +36 -17
  9. package/dist-types/ts3.4/commands/DeleteAssessmentRunCommand.d.ts +31 -17
  10. package/dist-types/ts3.4/commands/DeleteAssessmentTargetCommand.d.ts +34 -17
  11. package/dist-types/ts3.4/commands/DeleteAssessmentTemplateCommand.d.ts +35 -17
  12. package/dist-types/ts3.4/commands/DescribeAssessmentRunsCommand.d.ts +39 -17
  13. package/dist-types/ts3.4/commands/DescribeAssessmentTargetsCommand.d.ts +39 -17
  14. package/dist-types/ts3.4/commands/DescribeAssessmentTemplatesCommand.d.ts +39 -17
  15. package/dist-types/ts3.4/commands/DescribeCrossAccountAccessRoleCommand.d.ts +35 -17
  16. package/dist-types/ts3.4/commands/DescribeExclusionsCommand.d.ts +36 -17
  17. package/dist-types/ts3.4/commands/DescribeFindingsCommand.d.ts +35 -17
  18. package/dist-types/ts3.4/commands/DescribeResourceGroupsCommand.d.ts +39 -17
  19. package/dist-types/ts3.4/commands/DescribeRulesPackagesCommand.d.ts +39 -17
  20. package/dist-types/ts3.4/commands/GetAssessmentReportCommand.d.ts +36 -17
  21. package/dist-types/ts3.4/commands/GetExclusionsPreviewCommand.d.ts +39 -17
  22. package/dist-types/ts3.4/commands/GetTelemetryMetadataCommand.d.ts +39 -17
  23. package/dist-types/ts3.4/commands/ListAssessmentRunAgentsCommand.d.ts +39 -17
  24. package/dist-types/ts3.4/commands/ListAssessmentRunsCommand.d.ts +36 -17
  25. package/dist-types/ts3.4/commands/ListAssessmentTargetsCommand.d.ts +39 -17
  26. package/dist-types/ts3.4/commands/ListAssessmentTemplatesCommand.d.ts +39 -17
  27. package/dist-types/ts3.4/commands/ListEventSubscriptionsCommand.d.ts +39 -17
  28. package/dist-types/ts3.4/commands/ListExclusionsCommand.d.ts +35 -17
  29. package/dist-types/ts3.4/commands/ListFindingsCommand.d.ts +32 -17
  30. package/dist-types/ts3.4/commands/ListRulesPackagesCommand.d.ts +36 -17
  31. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +36 -17
  32. package/dist-types/ts3.4/commands/PreviewAgentsCommand.d.ts +35 -17
  33. package/dist-types/ts3.4/commands/RegisterCrossAccountAccessRoleCommand.d.ts +35 -17
  34. package/dist-types/ts3.4/commands/RemoveAttributesFromFindingsCommand.d.ts +39 -17
  35. package/dist-types/ts3.4/commands/SetTagsForResourceCommand.d.ts +31 -17
  36. package/dist-types/ts3.4/commands/StartAssessmentRunCommand.d.ts +36 -17
  37. package/dist-types/ts3.4/commands/StopAssessmentRunCommand.d.ts +31 -17
  38. package/dist-types/ts3.4/commands/SubscribeToEventCommand.d.ts +30 -17
  39. package/dist-types/ts3.4/commands/UnsubscribeFromEventCommand.d.ts +34 -17
  40. package/dist-types/ts3.4/commands/UpdateAssessmentTargetCommand.d.ts +34 -17
  41. package/dist-types/ts3.4/commands/index.d.ts +37 -37
  42. package/dist-types/ts3.4/endpoints.d.ts +2 -2
  43. package/dist-types/ts3.4/index.d.ts +6 -6
  44. package/dist-types/ts3.4/models/InspectorServiceException.d.ts +7 -6
  45. package/dist-types/ts3.4/models/index.d.ts +1 -1
  46. package/dist-types/ts3.4/models/models_0.d.ts +1040 -1290
  47. package/dist-types/ts3.4/pagination/GetExclusionsPreviewPaginator.d.ts +11 -4
  48. package/dist-types/ts3.4/pagination/Interfaces.d.ts +7 -6
  49. package/dist-types/ts3.4/pagination/ListAssessmentRunAgentsPaginator.d.ts +11 -4
  50. package/dist-types/ts3.4/pagination/ListAssessmentRunsPaginator.d.ts +11 -4
  51. package/dist-types/ts3.4/pagination/ListAssessmentTargetsPaginator.d.ts +11 -4
  52. package/dist-types/ts3.4/pagination/ListAssessmentTemplatesPaginator.d.ts +11 -4
  53. package/dist-types/ts3.4/pagination/ListEventSubscriptionsPaginator.d.ts +11 -4
  54. package/dist-types/ts3.4/pagination/ListExclusionsPaginator.d.ts +11 -4
  55. package/dist-types/ts3.4/pagination/ListFindingsPaginator.d.ts +11 -4
  56. package/dist-types/ts3.4/pagination/ListRulesPackagesPaginator.d.ts +11 -4
  57. package/dist-types/ts3.4/pagination/PreviewAgentsPaginator.d.ts +11 -4
  58. package/dist-types/ts3.4/pagination/index.d.ts +11 -11
  59. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +449 -113
  60. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +65 -38
  61. package/dist-types/ts3.4/runtimeConfig.d.ts +65 -38
  62. package/dist-types/ts3.4/runtimeConfig.native.d.ts +66 -37
  63. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +10 -11
  64. package/package.json +34 -34
@@ -1,110 +1,326 @@
1
- import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
2
- import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
3
- import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
4
- import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
- import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
- import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
- import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
- import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
- import { AddAttributesToFindingsCommandInput, AddAttributesToFindingsCommandOutput } from "./commands/AddAttributesToFindingsCommand";
10
- import { CreateAssessmentTargetCommandInput, CreateAssessmentTargetCommandOutput } from "./commands/CreateAssessmentTargetCommand";
11
- import { CreateAssessmentTemplateCommandInput, CreateAssessmentTemplateCommandOutput } from "./commands/CreateAssessmentTemplateCommand";
12
- import { CreateExclusionsPreviewCommandInput, CreateExclusionsPreviewCommandOutput } from "./commands/CreateExclusionsPreviewCommand";
13
- import { CreateResourceGroupCommandInput, CreateResourceGroupCommandOutput } from "./commands/CreateResourceGroupCommand";
14
- import { DeleteAssessmentRunCommandInput, DeleteAssessmentRunCommandOutput } from "./commands/DeleteAssessmentRunCommand";
15
- import { DeleteAssessmentTargetCommandInput, DeleteAssessmentTargetCommandOutput } from "./commands/DeleteAssessmentTargetCommand";
16
- import { DeleteAssessmentTemplateCommandInput, DeleteAssessmentTemplateCommandOutput } from "./commands/DeleteAssessmentTemplateCommand";
17
- import { DescribeAssessmentRunsCommandInput, DescribeAssessmentRunsCommandOutput } from "./commands/DescribeAssessmentRunsCommand";
18
- import { DescribeAssessmentTargetsCommandInput, DescribeAssessmentTargetsCommandOutput } from "./commands/DescribeAssessmentTargetsCommand";
19
- import { DescribeAssessmentTemplatesCommandInput, DescribeAssessmentTemplatesCommandOutput } from "./commands/DescribeAssessmentTemplatesCommand";
20
- import { DescribeCrossAccountAccessRoleCommandInput, DescribeCrossAccountAccessRoleCommandOutput } from "./commands/DescribeCrossAccountAccessRoleCommand";
21
- import { DescribeExclusionsCommandInput, DescribeExclusionsCommandOutput } from "./commands/DescribeExclusionsCommand";
22
- import { DescribeFindingsCommandInput, DescribeFindingsCommandOutput } from "./commands/DescribeFindingsCommand";
23
- import { DescribeResourceGroupsCommandInput, DescribeResourceGroupsCommandOutput } from "./commands/DescribeResourceGroupsCommand";
24
- import { DescribeRulesPackagesCommandInput, DescribeRulesPackagesCommandOutput } from "./commands/DescribeRulesPackagesCommand";
25
- import { GetAssessmentReportCommandInput, GetAssessmentReportCommandOutput } from "./commands/GetAssessmentReportCommand";
26
- import { GetExclusionsPreviewCommandInput, GetExclusionsPreviewCommandOutput } from "./commands/GetExclusionsPreviewCommand";
27
- import { GetTelemetryMetadataCommandInput, GetTelemetryMetadataCommandOutput } from "./commands/GetTelemetryMetadataCommand";
28
- import { ListAssessmentRunAgentsCommandInput, ListAssessmentRunAgentsCommandOutput } from "./commands/ListAssessmentRunAgentsCommand";
29
- import { ListAssessmentRunsCommandInput, ListAssessmentRunsCommandOutput } from "./commands/ListAssessmentRunsCommand";
30
- import { ListAssessmentTargetsCommandInput, ListAssessmentTargetsCommandOutput } from "./commands/ListAssessmentTargetsCommand";
31
- import { ListAssessmentTemplatesCommandInput, ListAssessmentTemplatesCommandOutput } from "./commands/ListAssessmentTemplatesCommand";
32
- import { ListEventSubscriptionsCommandInput, ListEventSubscriptionsCommandOutput } from "./commands/ListEventSubscriptionsCommand";
33
- import { ListExclusionsCommandInput, ListExclusionsCommandOutput } from "./commands/ListExclusionsCommand";
34
- import { ListFindingsCommandInput, ListFindingsCommandOutput } from "./commands/ListFindingsCommand";
35
- import { ListRulesPackagesCommandInput, ListRulesPackagesCommandOutput } from "./commands/ListRulesPackagesCommand";
36
- import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
37
- import { PreviewAgentsCommandInput, PreviewAgentsCommandOutput } from "./commands/PreviewAgentsCommand";
38
- import { RegisterCrossAccountAccessRoleCommandInput, RegisterCrossAccountAccessRoleCommandOutput } from "./commands/RegisterCrossAccountAccessRoleCommand";
39
- import { RemoveAttributesFromFindingsCommandInput, RemoveAttributesFromFindingsCommandOutput } from "./commands/RemoveAttributesFromFindingsCommand";
40
- import { SetTagsForResourceCommandInput, SetTagsForResourceCommandOutput } from "./commands/SetTagsForResourceCommand";
41
- import { StartAssessmentRunCommandInput, StartAssessmentRunCommandOutput } from "./commands/StartAssessmentRunCommand";
42
- import { StopAssessmentRunCommandInput, StopAssessmentRunCommandOutput } from "./commands/StopAssessmentRunCommand";
43
- import { SubscribeToEventCommandInput, SubscribeToEventCommandOutput } from "./commands/SubscribeToEventCommand";
44
- import { UnsubscribeFromEventCommandInput, UnsubscribeFromEventCommandOutput } from "./commands/UnsubscribeFromEventCommand";
45
- import { UpdateAssessmentTargetCommandInput, UpdateAssessmentTargetCommandOutput } from "./commands/UpdateAssessmentTargetCommand";
46
- export declare type ServiceInputTypes = AddAttributesToFindingsCommandInput | CreateAssessmentTargetCommandInput | CreateAssessmentTemplateCommandInput | CreateExclusionsPreviewCommandInput | CreateResourceGroupCommandInput | DeleteAssessmentRunCommandInput | DeleteAssessmentTargetCommandInput | DeleteAssessmentTemplateCommandInput | DescribeAssessmentRunsCommandInput | DescribeAssessmentTargetsCommandInput | DescribeAssessmentTemplatesCommandInput | DescribeCrossAccountAccessRoleCommandInput | DescribeExclusionsCommandInput | DescribeFindingsCommandInput | DescribeResourceGroupsCommandInput | DescribeRulesPackagesCommandInput | GetAssessmentReportCommandInput | GetExclusionsPreviewCommandInput | GetTelemetryMetadataCommandInput | ListAssessmentRunAgentsCommandInput | ListAssessmentRunsCommandInput | ListAssessmentTargetsCommandInput | ListAssessmentTemplatesCommandInput | ListEventSubscriptionsCommandInput | ListExclusionsCommandInput | ListFindingsCommandInput | ListRulesPackagesCommandInput | ListTagsForResourceCommandInput | PreviewAgentsCommandInput | RegisterCrossAccountAccessRoleCommandInput | RemoveAttributesFromFindingsCommandInput | SetTagsForResourceCommandInput | StartAssessmentRunCommandInput | StopAssessmentRunCommandInput | SubscribeToEventCommandInput | UnsubscribeFromEventCommandInput | UpdateAssessmentTargetCommandInput;
47
- export declare type ServiceOutputTypes = AddAttributesToFindingsCommandOutput | CreateAssessmentTargetCommandOutput | CreateAssessmentTemplateCommandOutput | CreateExclusionsPreviewCommandOutput | CreateResourceGroupCommandOutput | DeleteAssessmentRunCommandOutput | DeleteAssessmentTargetCommandOutput | DeleteAssessmentTemplateCommandOutput | DescribeAssessmentRunsCommandOutput | DescribeAssessmentTargetsCommandOutput | DescribeAssessmentTemplatesCommandOutput | DescribeCrossAccountAccessRoleCommandOutput | DescribeExclusionsCommandOutput | DescribeFindingsCommandOutput | DescribeResourceGroupsCommandOutput | DescribeRulesPackagesCommandOutput | GetAssessmentReportCommandOutput | GetExclusionsPreviewCommandOutput | GetTelemetryMetadataCommandOutput | ListAssessmentRunAgentsCommandOutput | ListAssessmentRunsCommandOutput | ListAssessmentTargetsCommandOutput | ListAssessmentTemplatesCommandOutput | ListEventSubscriptionsCommandOutput | ListExclusionsCommandOutput | ListFindingsCommandOutput | ListRulesPackagesCommandOutput | ListTagsForResourceCommandOutput | PreviewAgentsCommandOutput | RegisterCrossAccountAccessRoleCommandOutput | RemoveAttributesFromFindingsCommandOutput | SetTagsForResourceCommandOutput | StartAssessmentRunCommandOutput | StopAssessmentRunCommandOutput | SubscribeToEventCommandOutput | UnsubscribeFromEventCommandOutput | UpdateAssessmentTargetCommandOutput;
48
- export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
49
-
50
- requestHandler?: __HttpHandler;
51
-
52
- sha256?: __HashConstructor;
53
-
54
- urlParser?: __UrlParser;
55
-
56
- bodyLengthChecker?: __BodyLengthCalculator;
57
-
58
- streamCollector?: __StreamCollector;
59
-
60
- base64Decoder?: __Decoder;
61
-
62
- base64Encoder?: __Encoder;
63
-
64
- utf8Decoder?: __Decoder;
65
-
66
- utf8Encoder?: __Encoder;
67
-
68
- runtime?: string;
69
-
70
- disableHostPrefix?: boolean;
71
-
72
- maxAttempts?: number | __Provider<number>;
73
-
74
- retryMode?: string | __Provider<string>;
75
-
76
- logger?: __Logger;
77
-
78
- useDualstackEndpoint?: boolean | __Provider<boolean>;
79
-
80
- useFipsEndpoint?: boolean | __Provider<boolean>;
81
-
82
- serviceId?: string;
83
-
84
- region?: string | __Provider<string>;
85
-
86
- credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
87
-
88
- regionInfoProvider?: RegionInfoProvider;
89
-
90
- defaultUserAgentProvider?: Provider<__UserAgent>;
91
-
92
- defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
93
- }
94
- declare type InspectorClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
95
-
96
- export interface InspectorClientConfig extends InspectorClientConfigType {
97
- }
98
- declare type InspectorClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
99
-
100
- export interface InspectorClientResolvedConfig extends InspectorClientResolvedConfigType {
101
- }
102
-
103
- export declare class InspectorClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, InspectorClientResolvedConfig> {
104
-
105
- readonly config: InspectorClientResolvedConfig;
106
- constructor(configuration: InspectorClientConfig);
107
-
108
- destroy(): void;
109
- }
110
- export {};
1
+ import {
2
+ EndpointsInputConfig,
3
+ EndpointsResolvedConfig,
4
+ RegionInputConfig,
5
+ RegionResolvedConfig,
6
+ } from "@aws-sdk/config-resolver";
7
+ import {
8
+ HostHeaderInputConfig,
9
+ HostHeaderResolvedConfig,
10
+ } from "@aws-sdk/middleware-host-header";
11
+ import {
12
+ RetryInputConfig,
13
+ RetryResolvedConfig,
14
+ } from "@aws-sdk/middleware-retry";
15
+ import {
16
+ AwsAuthInputConfig,
17
+ AwsAuthResolvedConfig,
18
+ } from "@aws-sdk/middleware-signing";
19
+ import {
20
+ UserAgentInputConfig,
21
+ UserAgentResolvedConfig,
22
+ } from "@aws-sdk/middleware-user-agent";
23
+ import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
24
+ import {
25
+ Client as __Client,
26
+ DefaultsMode,
27
+ SmithyConfiguration as __SmithyConfiguration,
28
+ SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
29
+ } from "@aws-sdk/smithy-client";
30
+ import {
31
+ BodyLengthCalculator as __BodyLengthCalculator,
32
+ Credentials as __Credentials,
33
+ Decoder as __Decoder,
34
+ Encoder as __Encoder,
35
+ HashConstructor as __HashConstructor,
36
+ HttpHandlerOptions as __HttpHandlerOptions,
37
+ Logger as __Logger,
38
+ Provider as __Provider,
39
+ Provider,
40
+ RegionInfoProvider,
41
+ StreamCollector as __StreamCollector,
42
+ UrlParser as __UrlParser,
43
+ UserAgent as __UserAgent,
44
+ } from "@aws-sdk/types";
45
+ import {
46
+ AddAttributesToFindingsCommandInput,
47
+ AddAttributesToFindingsCommandOutput,
48
+ } from "./commands/AddAttributesToFindingsCommand";
49
+ import {
50
+ CreateAssessmentTargetCommandInput,
51
+ CreateAssessmentTargetCommandOutput,
52
+ } from "./commands/CreateAssessmentTargetCommand";
53
+ import {
54
+ CreateAssessmentTemplateCommandInput,
55
+ CreateAssessmentTemplateCommandOutput,
56
+ } from "./commands/CreateAssessmentTemplateCommand";
57
+ import {
58
+ CreateExclusionsPreviewCommandInput,
59
+ CreateExclusionsPreviewCommandOutput,
60
+ } from "./commands/CreateExclusionsPreviewCommand";
61
+ import {
62
+ CreateResourceGroupCommandInput,
63
+ CreateResourceGroupCommandOutput,
64
+ } from "./commands/CreateResourceGroupCommand";
65
+ import {
66
+ DeleteAssessmentRunCommandInput,
67
+ DeleteAssessmentRunCommandOutput,
68
+ } from "./commands/DeleteAssessmentRunCommand";
69
+ import {
70
+ DeleteAssessmentTargetCommandInput,
71
+ DeleteAssessmentTargetCommandOutput,
72
+ } from "./commands/DeleteAssessmentTargetCommand";
73
+ import {
74
+ DeleteAssessmentTemplateCommandInput,
75
+ DeleteAssessmentTemplateCommandOutput,
76
+ } from "./commands/DeleteAssessmentTemplateCommand";
77
+ import {
78
+ DescribeAssessmentRunsCommandInput,
79
+ DescribeAssessmentRunsCommandOutput,
80
+ } from "./commands/DescribeAssessmentRunsCommand";
81
+ import {
82
+ DescribeAssessmentTargetsCommandInput,
83
+ DescribeAssessmentTargetsCommandOutput,
84
+ } from "./commands/DescribeAssessmentTargetsCommand";
85
+ import {
86
+ DescribeAssessmentTemplatesCommandInput,
87
+ DescribeAssessmentTemplatesCommandOutput,
88
+ } from "./commands/DescribeAssessmentTemplatesCommand";
89
+ import {
90
+ DescribeCrossAccountAccessRoleCommandInput,
91
+ DescribeCrossAccountAccessRoleCommandOutput,
92
+ } from "./commands/DescribeCrossAccountAccessRoleCommand";
93
+ import {
94
+ DescribeExclusionsCommandInput,
95
+ DescribeExclusionsCommandOutput,
96
+ } from "./commands/DescribeExclusionsCommand";
97
+ import {
98
+ DescribeFindingsCommandInput,
99
+ DescribeFindingsCommandOutput,
100
+ } from "./commands/DescribeFindingsCommand";
101
+ import {
102
+ DescribeResourceGroupsCommandInput,
103
+ DescribeResourceGroupsCommandOutput,
104
+ } from "./commands/DescribeResourceGroupsCommand";
105
+ import {
106
+ DescribeRulesPackagesCommandInput,
107
+ DescribeRulesPackagesCommandOutput,
108
+ } from "./commands/DescribeRulesPackagesCommand";
109
+ import {
110
+ GetAssessmentReportCommandInput,
111
+ GetAssessmentReportCommandOutput,
112
+ } from "./commands/GetAssessmentReportCommand";
113
+ import {
114
+ GetExclusionsPreviewCommandInput,
115
+ GetExclusionsPreviewCommandOutput,
116
+ } from "./commands/GetExclusionsPreviewCommand";
117
+ import {
118
+ GetTelemetryMetadataCommandInput,
119
+ GetTelemetryMetadataCommandOutput,
120
+ } from "./commands/GetTelemetryMetadataCommand";
121
+ import {
122
+ ListAssessmentRunAgentsCommandInput,
123
+ ListAssessmentRunAgentsCommandOutput,
124
+ } from "./commands/ListAssessmentRunAgentsCommand";
125
+ import {
126
+ ListAssessmentRunsCommandInput,
127
+ ListAssessmentRunsCommandOutput,
128
+ } from "./commands/ListAssessmentRunsCommand";
129
+ import {
130
+ ListAssessmentTargetsCommandInput,
131
+ ListAssessmentTargetsCommandOutput,
132
+ } from "./commands/ListAssessmentTargetsCommand";
133
+ import {
134
+ ListAssessmentTemplatesCommandInput,
135
+ ListAssessmentTemplatesCommandOutput,
136
+ } from "./commands/ListAssessmentTemplatesCommand";
137
+ import {
138
+ ListEventSubscriptionsCommandInput,
139
+ ListEventSubscriptionsCommandOutput,
140
+ } from "./commands/ListEventSubscriptionsCommand";
141
+ import {
142
+ ListExclusionsCommandInput,
143
+ ListExclusionsCommandOutput,
144
+ } from "./commands/ListExclusionsCommand";
145
+ import {
146
+ ListFindingsCommandInput,
147
+ ListFindingsCommandOutput,
148
+ } from "./commands/ListFindingsCommand";
149
+ import {
150
+ ListRulesPackagesCommandInput,
151
+ ListRulesPackagesCommandOutput,
152
+ } from "./commands/ListRulesPackagesCommand";
153
+ import {
154
+ ListTagsForResourceCommandInput,
155
+ ListTagsForResourceCommandOutput,
156
+ } from "./commands/ListTagsForResourceCommand";
157
+ import {
158
+ PreviewAgentsCommandInput,
159
+ PreviewAgentsCommandOutput,
160
+ } from "./commands/PreviewAgentsCommand";
161
+ import {
162
+ RegisterCrossAccountAccessRoleCommandInput,
163
+ RegisterCrossAccountAccessRoleCommandOutput,
164
+ } from "./commands/RegisterCrossAccountAccessRoleCommand";
165
+ import {
166
+ RemoveAttributesFromFindingsCommandInput,
167
+ RemoveAttributesFromFindingsCommandOutput,
168
+ } from "./commands/RemoveAttributesFromFindingsCommand";
169
+ import {
170
+ SetTagsForResourceCommandInput,
171
+ SetTagsForResourceCommandOutput,
172
+ } from "./commands/SetTagsForResourceCommand";
173
+ import {
174
+ StartAssessmentRunCommandInput,
175
+ StartAssessmentRunCommandOutput,
176
+ } from "./commands/StartAssessmentRunCommand";
177
+ import {
178
+ StopAssessmentRunCommandInput,
179
+ StopAssessmentRunCommandOutput,
180
+ } from "./commands/StopAssessmentRunCommand";
181
+ import {
182
+ SubscribeToEventCommandInput,
183
+ SubscribeToEventCommandOutput,
184
+ } from "./commands/SubscribeToEventCommand";
185
+ import {
186
+ UnsubscribeFromEventCommandInput,
187
+ UnsubscribeFromEventCommandOutput,
188
+ } from "./commands/UnsubscribeFromEventCommand";
189
+ import {
190
+ UpdateAssessmentTargetCommandInput,
191
+ UpdateAssessmentTargetCommandOutput,
192
+ } from "./commands/UpdateAssessmentTargetCommand";
193
+ export declare type ServiceInputTypes =
194
+ | AddAttributesToFindingsCommandInput
195
+ | CreateAssessmentTargetCommandInput
196
+ | CreateAssessmentTemplateCommandInput
197
+ | CreateExclusionsPreviewCommandInput
198
+ | CreateResourceGroupCommandInput
199
+ | DeleteAssessmentRunCommandInput
200
+ | DeleteAssessmentTargetCommandInput
201
+ | DeleteAssessmentTemplateCommandInput
202
+ | DescribeAssessmentRunsCommandInput
203
+ | DescribeAssessmentTargetsCommandInput
204
+ | DescribeAssessmentTemplatesCommandInput
205
+ | DescribeCrossAccountAccessRoleCommandInput
206
+ | DescribeExclusionsCommandInput
207
+ | DescribeFindingsCommandInput
208
+ | DescribeResourceGroupsCommandInput
209
+ | DescribeRulesPackagesCommandInput
210
+ | GetAssessmentReportCommandInput
211
+ | GetExclusionsPreviewCommandInput
212
+ | GetTelemetryMetadataCommandInput
213
+ | ListAssessmentRunAgentsCommandInput
214
+ | ListAssessmentRunsCommandInput
215
+ | ListAssessmentTargetsCommandInput
216
+ | ListAssessmentTemplatesCommandInput
217
+ | ListEventSubscriptionsCommandInput
218
+ | ListExclusionsCommandInput
219
+ | ListFindingsCommandInput
220
+ | ListRulesPackagesCommandInput
221
+ | ListTagsForResourceCommandInput
222
+ | PreviewAgentsCommandInput
223
+ | RegisterCrossAccountAccessRoleCommandInput
224
+ | RemoveAttributesFromFindingsCommandInput
225
+ | SetTagsForResourceCommandInput
226
+ | StartAssessmentRunCommandInput
227
+ | StopAssessmentRunCommandInput
228
+ | SubscribeToEventCommandInput
229
+ | UnsubscribeFromEventCommandInput
230
+ | UpdateAssessmentTargetCommandInput;
231
+ export declare type ServiceOutputTypes =
232
+ | AddAttributesToFindingsCommandOutput
233
+ | CreateAssessmentTargetCommandOutput
234
+ | CreateAssessmentTemplateCommandOutput
235
+ | CreateExclusionsPreviewCommandOutput
236
+ | CreateResourceGroupCommandOutput
237
+ | DeleteAssessmentRunCommandOutput
238
+ | DeleteAssessmentTargetCommandOutput
239
+ | DeleteAssessmentTemplateCommandOutput
240
+ | DescribeAssessmentRunsCommandOutput
241
+ | DescribeAssessmentTargetsCommandOutput
242
+ | DescribeAssessmentTemplatesCommandOutput
243
+ | DescribeCrossAccountAccessRoleCommandOutput
244
+ | DescribeExclusionsCommandOutput
245
+ | DescribeFindingsCommandOutput
246
+ | DescribeResourceGroupsCommandOutput
247
+ | DescribeRulesPackagesCommandOutput
248
+ | GetAssessmentReportCommandOutput
249
+ | GetExclusionsPreviewCommandOutput
250
+ | GetTelemetryMetadataCommandOutput
251
+ | ListAssessmentRunAgentsCommandOutput
252
+ | ListAssessmentRunsCommandOutput
253
+ | ListAssessmentTargetsCommandOutput
254
+ | ListAssessmentTemplatesCommandOutput
255
+ | ListEventSubscriptionsCommandOutput
256
+ | ListExclusionsCommandOutput
257
+ | ListFindingsCommandOutput
258
+ | ListRulesPackagesCommandOutput
259
+ | ListTagsForResourceCommandOutput
260
+ | PreviewAgentsCommandOutput
261
+ | RegisterCrossAccountAccessRoleCommandOutput
262
+ | RemoveAttributesFromFindingsCommandOutput
263
+ | SetTagsForResourceCommandOutput
264
+ | StartAssessmentRunCommandOutput
265
+ | StopAssessmentRunCommandOutput
266
+ | SubscribeToEventCommandOutput
267
+ | UnsubscribeFromEventCommandOutput
268
+ | UpdateAssessmentTargetCommandOutput;
269
+ export interface ClientDefaults
270
+ extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
271
+ requestHandler?: __HttpHandler;
272
+ sha256?: __HashConstructor;
273
+ urlParser?: __UrlParser;
274
+ bodyLengthChecker?: __BodyLengthCalculator;
275
+ streamCollector?: __StreamCollector;
276
+ base64Decoder?: __Decoder;
277
+ base64Encoder?: __Encoder;
278
+ utf8Decoder?: __Decoder;
279
+ utf8Encoder?: __Encoder;
280
+ runtime?: string;
281
+ disableHostPrefix?: boolean;
282
+ maxAttempts?: number | __Provider<number>;
283
+ retryMode?: string | __Provider<string>;
284
+ logger?: __Logger;
285
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
286
+ useFipsEndpoint?: boolean | __Provider<boolean>;
287
+ serviceId?: string;
288
+ region?: string | __Provider<string>;
289
+ credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
290
+ regionInfoProvider?: RegionInfoProvider;
291
+ defaultUserAgentProvider?: Provider<__UserAgent>;
292
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
293
+ }
294
+ declare type InspectorClientConfigType = Partial<
295
+ __SmithyConfiguration<__HttpHandlerOptions>
296
+ > &
297
+ ClientDefaults &
298
+ RegionInputConfig &
299
+ EndpointsInputConfig &
300
+ RetryInputConfig &
301
+ HostHeaderInputConfig &
302
+ AwsAuthInputConfig &
303
+ UserAgentInputConfig;
304
+ export interface InspectorClientConfig extends InspectorClientConfigType {}
305
+ declare type InspectorClientResolvedConfigType =
306
+ __SmithyResolvedConfiguration<__HttpHandlerOptions> &
307
+ Required<ClientDefaults> &
308
+ RegionResolvedConfig &
309
+ EndpointsResolvedConfig &
310
+ RetryResolvedConfig &
311
+ HostHeaderResolvedConfig &
312
+ AwsAuthResolvedConfig &
313
+ UserAgentResolvedConfig;
314
+ export interface InspectorClientResolvedConfig
315
+ extends InspectorClientResolvedConfigType {}
316
+ export declare class InspectorClient extends __Client<
317
+ __HttpHandlerOptions,
318
+ ServiceInputTypes,
319
+ ServiceOutputTypes,
320
+ InspectorClientResolvedConfig
321
+ > {
322
+ readonly config: InspectorClientResolvedConfig;
323
+ constructor(configuration: InspectorClientConfig);
324
+ destroy(): void;
325
+ }
326
+ export {};
@@ -1,17 +1,39 @@
1
- import { Command as $Command } from "@aws-sdk/smithy-client";
2
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
- import { InspectorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../InspectorClient";
4
- import { AddAttributesToFindingsRequest, AddAttributesToFindingsResponse } from "../models/models_0";
5
- export interface AddAttributesToFindingsCommandInput extends AddAttributesToFindingsRequest {
6
- }
7
- export interface AddAttributesToFindingsCommandOutput extends AddAttributesToFindingsResponse, __MetadataBearer {
8
- }
9
-
10
- export declare class AddAttributesToFindingsCommand extends $Command<AddAttributesToFindingsCommandInput, AddAttributesToFindingsCommandOutput, InspectorClientResolvedConfig> {
11
- readonly input: AddAttributesToFindingsCommandInput;
12
- constructor(input: AddAttributesToFindingsCommandInput);
13
-
14
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: InspectorClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AddAttributesToFindingsCommandInput, AddAttributesToFindingsCommandOutput>;
15
- private serialize;
16
- private deserialize;
17
- }
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import {
3
+ Handler,
4
+ HttpHandlerOptions as __HttpHandlerOptions,
5
+ MetadataBearer as __MetadataBearer,
6
+ MiddlewareStack,
7
+ } from "@aws-sdk/types";
8
+ import {
9
+ InspectorClientResolvedConfig,
10
+ ServiceInputTypes,
11
+ ServiceOutputTypes,
12
+ } from "../InspectorClient";
13
+ import {
14
+ AddAttributesToFindingsRequest,
15
+ AddAttributesToFindingsResponse,
16
+ } from "../models/models_0";
17
+ export interface AddAttributesToFindingsCommandInput
18
+ extends AddAttributesToFindingsRequest {}
19
+ export interface AddAttributesToFindingsCommandOutput
20
+ extends AddAttributesToFindingsResponse,
21
+ __MetadataBearer {}
22
+ export declare class AddAttributesToFindingsCommand extends $Command<
23
+ AddAttributesToFindingsCommandInput,
24
+ AddAttributesToFindingsCommandOutput,
25
+ InspectorClientResolvedConfig
26
+ > {
27
+ readonly input: AddAttributesToFindingsCommandInput;
28
+ constructor(input: AddAttributesToFindingsCommandInput);
29
+ resolveMiddleware(
30
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
31
+ configuration: InspectorClientResolvedConfig,
32
+ options?: __HttpHandlerOptions
33
+ ): Handler<
34
+ AddAttributesToFindingsCommandInput,
35
+ AddAttributesToFindingsCommandOutput
36
+ >;
37
+ private serialize;
38
+ private deserialize;
39
+ }
@@ -1,17 +1,39 @@
1
- import { Command as $Command } from "@aws-sdk/smithy-client";
2
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
- import { InspectorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../InspectorClient";
4
- import { CreateAssessmentTargetRequest, CreateAssessmentTargetResponse } from "../models/models_0";
5
- export interface CreateAssessmentTargetCommandInput extends CreateAssessmentTargetRequest {
6
- }
7
- export interface CreateAssessmentTargetCommandOutput extends CreateAssessmentTargetResponse, __MetadataBearer {
8
- }
9
-
10
- export declare class CreateAssessmentTargetCommand extends $Command<CreateAssessmentTargetCommandInput, CreateAssessmentTargetCommandOutput, InspectorClientResolvedConfig> {
11
- readonly input: CreateAssessmentTargetCommandInput;
12
- constructor(input: CreateAssessmentTargetCommandInput);
13
-
14
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: InspectorClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateAssessmentTargetCommandInput, CreateAssessmentTargetCommandOutput>;
15
- private serialize;
16
- private deserialize;
17
- }
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import {
3
+ Handler,
4
+ HttpHandlerOptions as __HttpHandlerOptions,
5
+ MetadataBearer as __MetadataBearer,
6
+ MiddlewareStack,
7
+ } from "@aws-sdk/types";
8
+ import {
9
+ InspectorClientResolvedConfig,
10
+ ServiceInputTypes,
11
+ ServiceOutputTypes,
12
+ } from "../InspectorClient";
13
+ import {
14
+ CreateAssessmentTargetRequest,
15
+ CreateAssessmentTargetResponse,
16
+ } from "../models/models_0";
17
+ export interface CreateAssessmentTargetCommandInput
18
+ extends CreateAssessmentTargetRequest {}
19
+ export interface CreateAssessmentTargetCommandOutput
20
+ extends CreateAssessmentTargetResponse,
21
+ __MetadataBearer {}
22
+ export declare class CreateAssessmentTargetCommand extends $Command<
23
+ CreateAssessmentTargetCommandInput,
24
+ CreateAssessmentTargetCommandOutput,
25
+ InspectorClientResolvedConfig
26
+ > {
27
+ readonly input: CreateAssessmentTargetCommandInput;
28
+ constructor(input: CreateAssessmentTargetCommandInput);
29
+ resolveMiddleware(
30
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
31
+ configuration: InspectorClientResolvedConfig,
32
+ options?: __HttpHandlerOptions
33
+ ): Handler<
34
+ CreateAssessmentTargetCommandInput,
35
+ CreateAssessmentTargetCommandOutput
36
+ >;
37
+ private serialize;
38
+ private deserialize;
39
+ }
@@ -1,17 +1,39 @@
1
- import { Command as $Command } from "@aws-sdk/smithy-client";
2
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
- import { InspectorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../InspectorClient";
4
- import { CreateAssessmentTemplateRequest, CreateAssessmentTemplateResponse } from "../models/models_0";
5
- export interface CreateAssessmentTemplateCommandInput extends CreateAssessmentTemplateRequest {
6
- }
7
- export interface CreateAssessmentTemplateCommandOutput extends CreateAssessmentTemplateResponse, __MetadataBearer {
8
- }
9
-
10
- export declare class CreateAssessmentTemplateCommand extends $Command<CreateAssessmentTemplateCommandInput, CreateAssessmentTemplateCommandOutput, InspectorClientResolvedConfig> {
11
- readonly input: CreateAssessmentTemplateCommandInput;
12
- constructor(input: CreateAssessmentTemplateCommandInput);
13
-
14
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: InspectorClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateAssessmentTemplateCommandInput, CreateAssessmentTemplateCommandOutput>;
15
- private serialize;
16
- private deserialize;
17
- }
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import {
3
+ Handler,
4
+ HttpHandlerOptions as __HttpHandlerOptions,
5
+ MetadataBearer as __MetadataBearer,
6
+ MiddlewareStack,
7
+ } from "@aws-sdk/types";
8
+ import {
9
+ InspectorClientResolvedConfig,
10
+ ServiceInputTypes,
11
+ ServiceOutputTypes,
12
+ } from "../InspectorClient";
13
+ import {
14
+ CreateAssessmentTemplateRequest,
15
+ CreateAssessmentTemplateResponse,
16
+ } from "../models/models_0";
17
+ export interface CreateAssessmentTemplateCommandInput
18
+ extends CreateAssessmentTemplateRequest {}
19
+ export interface CreateAssessmentTemplateCommandOutput
20
+ extends CreateAssessmentTemplateResponse,
21
+ __MetadataBearer {}
22
+ export declare class CreateAssessmentTemplateCommand extends $Command<
23
+ CreateAssessmentTemplateCommandInput,
24
+ CreateAssessmentTemplateCommandOutput,
25
+ InspectorClientResolvedConfig
26
+ > {
27
+ readonly input: CreateAssessmentTemplateCommandInput;
28
+ constructor(input: CreateAssessmentTemplateCommandInput);
29
+ resolveMiddleware(
30
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
31
+ configuration: InspectorClientResolvedConfig,
32
+ options?: __HttpHandlerOptions
33
+ ): Handler<
34
+ CreateAssessmentTemplateCommandInput,
35
+ CreateAssessmentTemplateCommandOutput
36
+ >;
37
+ private serialize;
38
+ private deserialize;
39
+ }