1
- import {
2
- CreateAnalyzerCommandInput ,
3
- CreateAnalyzerCommandOutput
4
- } from "./commands/CreateAnalyzerCommand" ;
5
- import {
6
- CreateArchiveRuleCommandInput ,
7
- CreateArchiveRuleCommandOutput
8
- } from "./commands/CreateArchiveRuleCommand" ;
9
- import {
10
- DeleteAnalyzerCommandInput ,
11
- DeleteAnalyzerCommandOutput
12
- } from "./commands/DeleteAnalyzerCommand" ;
13
- import {
14
- DeleteArchiveRuleCommandInput ,
15
- DeleteArchiveRuleCommandOutput
16
- } from "./commands/DeleteArchiveRuleCommand" ;
1
+ import { CreateAnalyzerCommandInput , CreateAnalyzerCommandOutput } from "./commands/CreateAnalyzerCommand" ;
2
+ import { CreateArchiveRuleCommandInput , CreateArchiveRuleCommandOutput } from "./commands/CreateArchiveRuleCommand" ;
3
+ import { DeleteAnalyzerCommandInput , DeleteAnalyzerCommandOutput } from "./commands/DeleteAnalyzerCommand" ;
4
+ import { DeleteArchiveRuleCommandInput , DeleteArchiveRuleCommandOutput } from "./commands/DeleteArchiveRuleCommand" ;
17
5
import {
18
6
GetAnalyzedResourceCommandInput ,
19
- GetAnalyzedResourceCommandOutput
7
+ GetAnalyzedResourceCommandOutput ,
20
8
} from "./commands/GetAnalyzedResourceCommand" ;
21
- import {
22
- GetAnalyzerCommandInput ,
23
- GetAnalyzerCommandOutput
24
- } from "./commands/GetAnalyzerCommand" ;
25
- import {
26
- GetArchiveRuleCommandInput ,
27
- GetArchiveRuleCommandOutput
28
- } from "./commands/GetArchiveRuleCommand" ;
29
- import {
30
- GetFindingCommandInput ,
31
- GetFindingCommandOutput
32
- } from "./commands/GetFindingCommand" ;
9
+ import { GetAnalyzerCommandInput , GetAnalyzerCommandOutput } from "./commands/GetAnalyzerCommand" ;
10
+ import { GetArchiveRuleCommandInput , GetArchiveRuleCommandOutput } from "./commands/GetArchiveRuleCommand" ;
11
+ import { GetFindingCommandInput , GetFindingCommandOutput } from "./commands/GetFindingCommand" ;
33
12
import {
34
13
ListAnalyzedResourcesCommandInput ,
35
- ListAnalyzedResourcesCommandOutput
14
+ ListAnalyzedResourcesCommandOutput ,
36
15
} from "./commands/ListAnalyzedResourcesCommand" ;
37
- import {
38
- ListAnalyzersCommandInput ,
39
- ListAnalyzersCommandOutput
40
- } from "./commands/ListAnalyzersCommand" ;
41
- import {
42
- ListArchiveRulesCommandInput ,
43
- ListArchiveRulesCommandOutput
44
- } from "./commands/ListArchiveRulesCommand" ;
45
- import {
46
- ListFindingsCommandInput ,
47
- ListFindingsCommandOutput
48
- } from "./commands/ListFindingsCommand" ;
16
+ import { ListAnalyzersCommandInput , ListAnalyzersCommandOutput } from "./commands/ListAnalyzersCommand" ;
17
+ import { ListArchiveRulesCommandInput , ListArchiveRulesCommandOutput } from "./commands/ListArchiveRulesCommand" ;
18
+ import { ListFindingsCommandInput , ListFindingsCommandOutput } from "./commands/ListFindingsCommand" ;
49
19
import {
50
20
ListTagsForResourceCommandInput ,
51
- ListTagsForResourceCommandOutput
21
+ ListTagsForResourceCommandOutput ,
52
22
} from "./commands/ListTagsForResourceCommand" ;
53
- import {
54
- StartResourceScanCommandInput ,
55
- StartResourceScanCommandOutput
56
- } from "./commands/StartResourceScanCommand" ;
57
- import {
58
- TagResourceCommandInput ,
59
- TagResourceCommandOutput
60
- } from "./commands/TagResourceCommand" ;
61
- import {
62
- UntagResourceCommandInput ,
63
- UntagResourceCommandOutput
64
- } from "./commands/UntagResourceCommand" ;
65
- import {
66
- UpdateArchiveRuleCommandInput ,
67
- UpdateArchiveRuleCommandOutput
68
- } from "./commands/UpdateArchiveRuleCommand" ;
69
- import {
70
- UpdateFindingsCommandInput ,
71
- UpdateFindingsCommandOutput
72
- } from "./commands/UpdateFindingsCommand" ;
23
+ import { StartResourceScanCommandInput , StartResourceScanCommandOutput } from "./commands/StartResourceScanCommand" ;
24
+ import { TagResourceCommandInput , TagResourceCommandOutput } from "./commands/TagResourceCommand" ;
25
+ import { UntagResourceCommandInput , UntagResourceCommandOutput } from "./commands/UntagResourceCommand" ;
26
+ import { UpdateArchiveRuleCommandInput , UpdateArchiveRuleCommandOutput } from "./commands/UpdateArchiveRuleCommand" ;
27
+ import { UpdateFindingsCommandInput , UpdateFindingsCommandOutput } from "./commands/UpdateFindingsCommand" ;
73
28
import { ClientDefaultValues as __ClientDefaultValues } from "./runtimeConfig" ;
74
29
import {
75
30
EndpointsInputConfig ,
76
31
EndpointsResolvedConfig ,
77
32
RegionInputConfig ,
78
33
RegionResolvedConfig ,
79
34
resolveEndpointsConfig ,
80
- resolveRegionConfig
35
+ resolveRegionConfig ,
81
36
} from "@aws-sdk/config-resolver" ;
82
37
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length" ;
83
38
import {
84
39
HostHeaderInputConfig ,
85
40
HostHeaderResolvedConfig ,
86
41
getHostHeaderPlugin ,
87
- resolveHostHeaderConfig
42
+ resolveHostHeaderConfig ,
88
43
} from "@aws-sdk/middleware-host-header" ;
89
- import {
90
- RetryInputConfig ,
91
- RetryResolvedConfig ,
92
- getRetryPlugin ,
93
- resolveRetryConfig
94
- } from "@aws-sdk/middleware-retry" ;
44
+ import { RetryInputConfig , RetryResolvedConfig , getRetryPlugin , resolveRetryConfig } from "@aws-sdk/middleware-retry" ;
95
45
import {
96
46
AwsAuthInputConfig ,
97
47
AwsAuthResolvedConfig ,
98
48
getAwsAuthPlugin ,
99
- resolveAwsAuthConfig
49
+ resolveAwsAuthConfig ,
100
50
} from "@aws-sdk/middleware-signing" ;
101
51
import {
102
52
UserAgentInputConfig ,
103
53
UserAgentResolvedConfig ,
104
54
getUserAgentPlugin ,
105
- resolveUserAgentConfig
55
+ resolveUserAgentConfig ,
106
56
} from "@aws-sdk/middleware-user-agent" ;
107
57
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http" ;
108
58
import {
109
59
Client as __Client ,
110
60
SmithyConfiguration as __SmithyConfiguration ,
111
- SmithyResolvedConfiguration as __SmithyResolvedConfiguration
61
+ SmithyResolvedConfiguration as __SmithyResolvedConfiguration ,
112
62
} from "@aws-sdk/smithy-client" ;
113
63
import {
114
64
RegionInfoProvider ,
@@ -119,7 +69,7 @@ import {
119
69
HttpHandlerOptions as __HttpHandlerOptions ,
120
70
Provider as __Provider ,
121
71
StreamCollector as __StreamCollector ,
122
- UrlParser as __UrlParser
72
+ UrlParser as __UrlParser ,
123
73
} from "@aws-sdk/types" ;
124
74
125
75
export type ServiceInputTypes =
@@ -162,8 +112,7 @@ export type ServiceOutputTypes =
162
112
| UpdateArchiveRuleCommandOutput
163
113
| UpdateFindingsCommandOutput ;
164
114
165
- export interface ClientDefaults
166
- extends Partial < __SmithyResolvedConfiguration < __HttpHandlerOptions > > {
115
+ export interface ClientDefaults extends Partial < __SmithyResolvedConfiguration < __HttpHandlerOptions > > {
167
116
/**
168
117
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
169
118
*/
@@ -252,9 +201,7 @@ export interface ClientDefaults
252
201
regionInfoProvider ?: RegionInfoProvider ;
253
202
}
254
203
255
- export type AccessAnalyzerClientConfig = Partial <
256
- __SmithyConfiguration < __HttpHandlerOptions >
257
- > &
204
+ export type AccessAnalyzerClientConfig = Partial < __SmithyConfiguration < __HttpHandlerOptions > > &
258
205
ClientDefaults &
259
206
RegionInputConfig &
260
207
EndpointsInputConfig &
@@ -263,9 +210,7 @@ export type AccessAnalyzerClientConfig = Partial<
263
210
UserAgentInputConfig &
264
211
HostHeaderInputConfig ;
265
212
266
- export type AccessAnalyzerClientResolvedConfig = __SmithyResolvedConfiguration <
267
- __HttpHandlerOptions
268
- > &
213
+ export type AccessAnalyzerClientResolvedConfig = __SmithyResolvedConfiguration < __HttpHandlerOptions > &
269
214
Required < ClientDefaults > &
270
215
RegionResolvedConfig &
271
216
EndpointsResolvedConfig &
@@ -294,7 +239,7 @@ export class AccessAnalyzerClient extends __Client<
294
239
constructor ( configuration : AccessAnalyzerClientConfig ) {
295
240
let _config_0 = {
296
241
...__ClientDefaultValues ,
297
- ...configuration
242
+ ...configuration ,
298
243
} ;
299
244
let _config_1 = resolveRegionConfig ( _config_0 ) ;
300
245
let _config_2 = resolveEndpointsConfig ( _config_1 ) ;
0 commit comments