@aws-sdk/client-accessanalyzer 3.1047.0 → 3.1049.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/README.md +14 -0
- package/dist-cjs/endpoint/endpointResolver.js +2 -2
- package/dist-cjs/index.js +37 -13
- package/dist-cjs/runtimeConfig.browser.js +5 -5
- package/dist-cjs/runtimeConfig.js +2 -3
- package/dist-cjs/schemas/schemas_0.js +34 -7
- package/dist-es/AccessAnalyzer.js +4 -0
- package/dist-es/AccessAnalyzerClient.js +1 -4
- package/dist-es/commands/CreateServiceLinkedAnalyzerCommand.js +16 -0
- package/dist-es/commands/DeleteServiceLinkedAnalyzerCommand.js +16 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/endpoint/endpointResolver.js +1 -1
- package/dist-es/runtimeConfig.browser.js +1 -1
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeExtensions.js +1 -1
- package/dist-es/schemas/schemas_0.js +29 -2
- package/dist-types/AccessAnalyzer.d.ts +14 -0
- package/dist-types/AccessAnalyzerClient.d.ts +5 -4
- package/dist-types/commands/CreateServiceLinkedAnalyzerCommand.d.ts +150 -0
- package/dist-types/commands/DeleteServiceLinkedAnalyzerCommand.d.ts +93 -0
- package/dist-types/commands/GetAnalyzerCommand.d.ts +1 -0
- package/dist-types/commands/ListAnalyzersCommand.d.ts +1 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +58 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/schemas/schemas_0.d.ts +5 -0
- package/dist-types/ts3.4/AccessAnalyzer.d.ts +34 -0
- package/dist-types/ts3.4/AccessAnalyzerClient.d.ts +13 -3
- package/dist-types/ts3.4/commands/CreateServiceLinkedAnalyzerCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/DeleteServiceLinkedAnalyzerCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +14 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +5 -0
- package/package.json +6 -14
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccessAnalyzerClient";
|
|
4
|
+
import type { CreateServiceLinkedAnalyzerRequest, CreateServiceLinkedAnalyzerResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateServiceLinkedAnalyzerCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateServiceLinkedAnalyzerCommandInput extends CreateServiceLinkedAnalyzerRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateServiceLinkedAnalyzerCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateServiceLinkedAnalyzerCommandOutput extends CreateServiceLinkedAnalyzerResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateServiceLinkedAnalyzerCommand_base: {
|
|
25
|
+
new (input: CreateServiceLinkedAnalyzerCommandInput): import("@smithy/core/client").CommandImpl<CreateServiceLinkedAnalyzerCommandInput, CreateServiceLinkedAnalyzerCommandOutput, AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateServiceLinkedAnalyzerCommandInput): import("@smithy/core/client").CommandImpl<CreateServiceLinkedAnalyzerCommandInput, CreateServiceLinkedAnalyzerCommandOutput, AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Creates a service-linked analyzer managed by an Amazon Web Services service. This operation can only be invoked by authorized Amazon Web Services services. Direct customer invocation returns <code>AccessDeniedException</code>.</p> <p>Service-linked analyzers enable Amazon Web Services services to create and manage analyzers on behalf of customers. The lifecycle of these analyzers is managed by the calling service.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { AccessAnalyzerClient, CreateServiceLinkedAnalyzerCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
|
|
37
|
+
* // const { AccessAnalyzerClient, CreateServiceLinkedAnalyzerCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
|
|
38
|
+
* // import type { AccessAnalyzerClientConfig } from "@aws-sdk/client-accessanalyzer";
|
|
39
|
+
* const config = {}; // type is AccessAnalyzerClientConfig
|
|
40
|
+
* const client = new AccessAnalyzerClient(config);
|
|
41
|
+
* const input = { // CreateServiceLinkedAnalyzerRequest
|
|
42
|
+
* type: "STRING_VALUE", // required
|
|
43
|
+
* archiveRules: [ // InlineArchiveRulesList
|
|
44
|
+
* { // InlineArchiveRule
|
|
45
|
+
* ruleName: "STRING_VALUE", // required
|
|
46
|
+
* filter: { // FilterCriteriaMap // required
|
|
47
|
+
* "<keys>": { // Criterion
|
|
48
|
+
* eq: [ // ValueList
|
|
49
|
+
* "STRING_VALUE",
|
|
50
|
+
* ],
|
|
51
|
+
* neq: [
|
|
52
|
+
* "STRING_VALUE",
|
|
53
|
+
* ],
|
|
54
|
+
* contains: [
|
|
55
|
+
* "STRING_VALUE",
|
|
56
|
+
* ],
|
|
57
|
+
* exists: true || false,
|
|
58
|
+
* },
|
|
59
|
+
* },
|
|
60
|
+
* },
|
|
61
|
+
* ],
|
|
62
|
+
* clientToken: "STRING_VALUE",
|
|
63
|
+
* configuration: { // AnalyzerConfiguration Union: only one key present
|
|
64
|
+
* unusedAccess: { // UnusedAccessConfiguration
|
|
65
|
+
* unusedAccessAge: Number("int"),
|
|
66
|
+
* analysisRule: { // AnalysisRule
|
|
67
|
+
* exclusions: [ // AnalysisRuleCriteriaList
|
|
68
|
+
* { // AnalysisRuleCriteria
|
|
69
|
+
* accountIds: [ // AccountIdsList
|
|
70
|
+
* "STRING_VALUE",
|
|
71
|
+
* ],
|
|
72
|
+
* resourceTags: [ // TagsList
|
|
73
|
+
* { // TagsMap
|
|
74
|
+
* "<keys>": "STRING_VALUE",
|
|
75
|
+
* },
|
|
76
|
+
* ],
|
|
77
|
+
* },
|
|
78
|
+
* ],
|
|
79
|
+
* },
|
|
80
|
+
* },
|
|
81
|
+
* internalAccess: { // InternalAccessConfiguration
|
|
82
|
+
* analysisRule: { // InternalAccessAnalysisRule
|
|
83
|
+
* inclusions: [ // InternalAccessAnalysisRuleCriteriaList
|
|
84
|
+
* { // InternalAccessAnalysisRuleCriteria
|
|
85
|
+
* accountIds: [
|
|
86
|
+
* "STRING_VALUE",
|
|
87
|
+
* ],
|
|
88
|
+
* resourceTypes: [ // ResourceTypeList
|
|
89
|
+
* "STRING_VALUE",
|
|
90
|
+
* ],
|
|
91
|
+
* resourceArns: [ // ResourceArnsList
|
|
92
|
+
* "STRING_VALUE",
|
|
93
|
+
* ],
|
|
94
|
+
* },
|
|
95
|
+
* ],
|
|
96
|
+
* },
|
|
97
|
+
* },
|
|
98
|
+
* },
|
|
99
|
+
* };
|
|
100
|
+
* const command = new CreateServiceLinkedAnalyzerCommand(input);
|
|
101
|
+
* const response = await client.send(command);
|
|
102
|
+
* // { // CreateServiceLinkedAnalyzerResponse
|
|
103
|
+
* // arn: "STRING_VALUE",
|
|
104
|
+
* // };
|
|
105
|
+
*
|
|
106
|
+
* ```
|
|
107
|
+
*
|
|
108
|
+
* @param CreateServiceLinkedAnalyzerCommandInput - {@link CreateServiceLinkedAnalyzerCommandInput}
|
|
109
|
+
* @returns {@link CreateServiceLinkedAnalyzerCommandOutput}
|
|
110
|
+
* @see {@link CreateServiceLinkedAnalyzerCommandInput} for command's `input` shape.
|
|
111
|
+
* @see {@link CreateServiceLinkedAnalyzerCommandOutput} for command's `response` shape.
|
|
112
|
+
* @see {@link AccessAnalyzerClientResolvedConfig | config} for AccessAnalyzerClient's `config` shape.
|
|
113
|
+
*
|
|
114
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
115
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
116
|
+
*
|
|
117
|
+
* @throws {@link ConflictException} (client fault)
|
|
118
|
+
* <p>A conflict exception error.</p>
|
|
119
|
+
*
|
|
120
|
+
* @throws {@link InternalServerException} (server fault)
|
|
121
|
+
* <p>Internal server error.</p>
|
|
122
|
+
*
|
|
123
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
124
|
+
* <p>Service quote met error.</p>
|
|
125
|
+
*
|
|
126
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
127
|
+
* <p>Throttling limit exceeded error.</p>
|
|
128
|
+
*
|
|
129
|
+
* @throws {@link ValidationException} (client fault)
|
|
130
|
+
* <p>Validation exception error.</p>
|
|
131
|
+
*
|
|
132
|
+
* @throws {@link AccessAnalyzerServiceException}
|
|
133
|
+
* <p>Base exception class for all service exceptions from AccessAnalyzer service.</p>
|
|
134
|
+
*
|
|
135
|
+
*
|
|
136
|
+
* @public
|
|
137
|
+
*/
|
|
138
|
+
export declare class CreateServiceLinkedAnalyzerCommand extends CreateServiceLinkedAnalyzerCommand_base {
|
|
139
|
+
/** @internal type navigation helper, not in runtime. */
|
|
140
|
+
protected static __types: {
|
|
141
|
+
api: {
|
|
142
|
+
input: CreateServiceLinkedAnalyzerRequest;
|
|
143
|
+
output: CreateServiceLinkedAnalyzerResponse;
|
|
144
|
+
};
|
|
145
|
+
sdk: {
|
|
146
|
+
input: CreateServiceLinkedAnalyzerCommandInput;
|
|
147
|
+
output: CreateServiceLinkedAnalyzerCommandOutput;
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AccessAnalyzerClient";
|
|
4
|
+
import type { DeleteServiceLinkedAnalyzerRequest } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteServiceLinkedAnalyzerCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteServiceLinkedAnalyzerCommandInput extends DeleteServiceLinkedAnalyzerRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteServiceLinkedAnalyzerCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteServiceLinkedAnalyzerCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteServiceLinkedAnalyzerCommand_base: {
|
|
25
|
+
new (input: DeleteServiceLinkedAnalyzerCommandInput): import("@smithy/core/client").CommandImpl<DeleteServiceLinkedAnalyzerCommandInput, DeleteServiceLinkedAnalyzerCommandOutput, AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteServiceLinkedAnalyzerCommandInput): import("@smithy/core/client").CommandImpl<DeleteServiceLinkedAnalyzerCommandInput, DeleteServiceLinkedAnalyzerCommandOutput, AccessAnalyzerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Deletes a service-linked analyzer. This operation can be invoked by both authorized Amazon Web Services services and customers.</p> <p>When invoked by a customer, IAM Access Analyzer performs a callback to the managing service to verify whether the analyzer is still in use and can be deleted. If the service indicates the analyzer is still in use, the deletion is rejected with <code>ConflictException</code>.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { AccessAnalyzerClient, DeleteServiceLinkedAnalyzerCommand } from "@aws-sdk/client-accessanalyzer"; // ES Modules import
|
|
37
|
+
* // const { AccessAnalyzerClient, DeleteServiceLinkedAnalyzerCommand } = require("@aws-sdk/client-accessanalyzer"); // CommonJS import
|
|
38
|
+
* // import type { AccessAnalyzerClientConfig } from "@aws-sdk/client-accessanalyzer";
|
|
39
|
+
* const config = {}; // type is AccessAnalyzerClientConfig
|
|
40
|
+
* const client = new AccessAnalyzerClient(config);
|
|
41
|
+
* const input = { // DeleteServiceLinkedAnalyzerRequest
|
|
42
|
+
* analyzerName: "STRING_VALUE", // required
|
|
43
|
+
* clientToken: "STRING_VALUE",
|
|
44
|
+
* };
|
|
45
|
+
* const command = new DeleteServiceLinkedAnalyzerCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // {};
|
|
48
|
+
*
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* @param DeleteServiceLinkedAnalyzerCommandInput - {@link DeleteServiceLinkedAnalyzerCommandInput}
|
|
52
|
+
* @returns {@link DeleteServiceLinkedAnalyzerCommandOutput}
|
|
53
|
+
* @see {@link DeleteServiceLinkedAnalyzerCommandInput} for command's `input` shape.
|
|
54
|
+
* @see {@link DeleteServiceLinkedAnalyzerCommandOutput} for command's `response` shape.
|
|
55
|
+
* @see {@link AccessAnalyzerClientResolvedConfig | config} for AccessAnalyzerClient's `config` shape.
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
58
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ConflictException} (client fault)
|
|
61
|
+
* <p>A conflict exception error.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link InternalServerException} (server fault)
|
|
64
|
+
* <p>Internal server error.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
67
|
+
* <p>The specified resource could not be found.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
70
|
+
* <p>Throttling limit exceeded error.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ValidationException} (client fault)
|
|
73
|
+
* <p>Validation exception error.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link AccessAnalyzerServiceException}
|
|
76
|
+
* <p>Base exception class for all service exceptions from AccessAnalyzer service.</p>
|
|
77
|
+
*
|
|
78
|
+
*
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
export declare class DeleteServiceLinkedAnalyzerCommand extends DeleteServiceLinkedAnalyzerCommand_base {
|
|
82
|
+
/** @internal type navigation helper, not in runtime. */
|
|
83
|
+
protected static __types: {
|
|
84
|
+
api: {
|
|
85
|
+
input: DeleteServiceLinkedAnalyzerRequest;
|
|
86
|
+
output: {};
|
|
87
|
+
};
|
|
88
|
+
sdk: {
|
|
89
|
+
input: DeleteServiceLinkedAnalyzerCommandInput;
|
|
90
|
+
output: DeleteServiceLinkedAnalyzerCommandOutput;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
}
|
|
@@ -6,8 +6,10 @@ export * from "./CheckNoPublicAccessCommand";
|
|
|
6
6
|
export * from "./CreateAccessPreviewCommand";
|
|
7
7
|
export * from "./CreateAnalyzerCommand";
|
|
8
8
|
export * from "./CreateArchiveRuleCommand";
|
|
9
|
+
export * from "./CreateServiceLinkedAnalyzerCommand";
|
|
9
10
|
export * from "./DeleteAnalyzerCommand";
|
|
10
11
|
export * from "./DeleteArchiveRuleCommand";
|
|
12
|
+
export * from "./DeleteServiceLinkedAnalyzerCommand";
|
|
11
13
|
export * from "./GenerateFindingRecommendationCommand";
|
|
12
14
|
export * from "./GetAccessPreviewCommand";
|
|
13
15
|
export * from "./GetAnalyzedResourceCommand";
|
|
@@ -430,6 +430,22 @@ export interface DeleteAnalyzerRequest {
|
|
|
430
430
|
*/
|
|
431
431
|
clientToken?: string | undefined;
|
|
432
432
|
}
|
|
433
|
+
/**
|
|
434
|
+
* <p>Deletes a service-linked analyzer.</p>
|
|
435
|
+
* @public
|
|
436
|
+
*/
|
|
437
|
+
export interface DeleteServiceLinkedAnalyzerRequest {
|
|
438
|
+
/**
|
|
439
|
+
* <p>The name of the service-linked analyzer to delete. Service-linked analyzer names follow the format <code>_AccessAnalyzerFor\{ServiceName\}-\{Id\}</code>.</p>
|
|
440
|
+
* @public
|
|
441
|
+
*/
|
|
442
|
+
analyzerName: string | undefined;
|
|
443
|
+
/**
|
|
444
|
+
* <p>A client token.</p>
|
|
445
|
+
* @public
|
|
446
|
+
*/
|
|
447
|
+
clientToken?: string | undefined;
|
|
448
|
+
}
|
|
433
449
|
/**
|
|
434
450
|
* <p>Retrieves an analyzer.</p>
|
|
435
451
|
* @public
|
|
@@ -507,6 +523,11 @@ export interface AnalyzerSummary {
|
|
|
507
523
|
* @public
|
|
508
524
|
*/
|
|
509
525
|
configuration?: AnalyzerConfiguration | undefined;
|
|
526
|
+
/**
|
|
527
|
+
* <p>The service principal that manages this analyzer (for example, <code>securityhubv2.amazonaws.com</code>). This field is only present for service-linked analyzers and is not included for customer-managed analyzers.</p>
|
|
528
|
+
* @public
|
|
529
|
+
*/
|
|
530
|
+
managedBy?: string | undefined;
|
|
510
531
|
}
|
|
511
532
|
/**
|
|
512
533
|
* <p>The response to the request.</p>
|
|
@@ -1621,6 +1642,43 @@ export interface CreateAccessPreviewResponse {
|
|
|
1621
1642
|
*/
|
|
1622
1643
|
id: string | undefined;
|
|
1623
1644
|
}
|
|
1645
|
+
/**
|
|
1646
|
+
* <p>Creates a service-linked analyzer.</p>
|
|
1647
|
+
* @public
|
|
1648
|
+
*/
|
|
1649
|
+
export interface CreateServiceLinkedAnalyzerRequest {
|
|
1650
|
+
/**
|
|
1651
|
+
* <p>The type of analyzer to create. Valid values are <code>ACCOUNT_UNUSED_ACCESS</code> and <code>ORGANIZATION_UNUSED_ACCESS</code>.</p>
|
|
1652
|
+
* @public
|
|
1653
|
+
*/
|
|
1654
|
+
type: Type | undefined;
|
|
1655
|
+
/**
|
|
1656
|
+
* <p>Specifies the archive rules to add for the analyzer. Archive rules automatically archive findings that meet the criteria you define for the rule.</p>
|
|
1657
|
+
* @public
|
|
1658
|
+
*/
|
|
1659
|
+
archiveRules?: InlineArchiveRule[] | undefined;
|
|
1660
|
+
/**
|
|
1661
|
+
* <p>A client token.</p>
|
|
1662
|
+
* @public
|
|
1663
|
+
*/
|
|
1664
|
+
clientToken?: string | undefined;
|
|
1665
|
+
/**
|
|
1666
|
+
* <p>Specifies the configuration of the analyzer. The specified scope of unused access is used for the configuration.</p>
|
|
1667
|
+
* @public
|
|
1668
|
+
*/
|
|
1669
|
+
configuration?: AnalyzerConfiguration | undefined;
|
|
1670
|
+
}
|
|
1671
|
+
/**
|
|
1672
|
+
* <p>The response to the request to create a service-linked analyzer.</p>
|
|
1673
|
+
* @public
|
|
1674
|
+
*/
|
|
1675
|
+
export interface CreateServiceLinkedAnalyzerResponse {
|
|
1676
|
+
/**
|
|
1677
|
+
* <p>The ARN of the service-linked analyzer that was created by the request. The analyzer name follows the format <code>_AccessAnalyzerFor\{ServiceName\}-\{Id\}</code> where <code>Id</code> is a randomly generated identifier.</p>
|
|
1678
|
+
* @public
|
|
1679
|
+
*/
|
|
1680
|
+
arn?: string | undefined;
|
|
1681
|
+
}
|
|
1624
1682
|
/**
|
|
1625
1683
|
* @public
|
|
1626
1684
|
*/
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: AccessAnalyzerClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/core/client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
|
-
defaultUserAgentProvider: (config?: import("@aws-sdk/
|
|
11
|
+
defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<any>;
|
|
14
14
|
requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
|
|
@@ -9,7 +9,7 @@ export declare const getRuntimeConfig: (config: AccessAnalyzerClientConfig) => {
|
|
|
9
9
|
authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
|
|
10
10
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
11
11
|
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit) => import("@aws-sdk/credential-provider-node/dist-types/runtime/memoize-chain").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
|
|
12
|
-
defaultUserAgentProvider: (config?: import("@aws-sdk/
|
|
12
|
+
defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
13
13
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
14
14
|
region: string | import("@smithy/types").Provider<string>;
|
|
15
15
|
requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
|
|
@@ -26,7 +26,7 @@ export declare const getRuntimeConfig: (config: AccessAnalyzerClientConfig) => {
|
|
|
26
26
|
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
27
27
|
region: string | import("@smithy/types").Provider<any>;
|
|
28
28
|
profile?: string;
|
|
29
|
-
defaultUserAgentProvider: (config?: import("@aws-sdk/
|
|
29
|
+
defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
30
30
|
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
31
31
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
32
32
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
@@ -43,9 +43,12 @@ export declare var CreateAccessPreviewResponse$: StaticStructureSchema;
|
|
|
43
43
|
export declare var CreateAnalyzerRequest$: StaticStructureSchema;
|
|
44
44
|
export declare var CreateAnalyzerResponse$: StaticStructureSchema;
|
|
45
45
|
export declare var CreateArchiveRuleRequest$: StaticStructureSchema;
|
|
46
|
+
export declare var CreateServiceLinkedAnalyzerRequest$: StaticStructureSchema;
|
|
47
|
+
export declare var CreateServiceLinkedAnalyzerResponse$: StaticStructureSchema;
|
|
46
48
|
export declare var Criterion$: StaticStructureSchema;
|
|
47
49
|
export declare var DeleteAnalyzerRequest$: StaticStructureSchema;
|
|
48
50
|
export declare var DeleteArchiveRuleRequest$: StaticStructureSchema;
|
|
51
|
+
export declare var DeleteServiceLinkedAnalyzerRequest$: StaticStructureSchema;
|
|
49
52
|
export declare var DynamodbStreamConfiguration$: StaticStructureSchema;
|
|
50
53
|
export declare var DynamodbTableConfiguration$: StaticStructureSchema;
|
|
51
54
|
export declare var EbsSnapshotConfiguration$: StaticStructureSchema;
|
|
@@ -180,8 +183,10 @@ export declare var CheckNoPublicAccess$: StaticOperationSchema;
|
|
|
180
183
|
export declare var CreateAccessPreview$: StaticOperationSchema;
|
|
181
184
|
export declare var CreateAnalyzer$: StaticOperationSchema;
|
|
182
185
|
export declare var CreateArchiveRule$: StaticOperationSchema;
|
|
186
|
+
export declare var CreateServiceLinkedAnalyzer$: StaticOperationSchema;
|
|
183
187
|
export declare var DeleteAnalyzer$: StaticOperationSchema;
|
|
184
188
|
export declare var DeleteArchiveRule$: StaticOperationSchema;
|
|
189
|
+
export declare var DeleteServiceLinkedAnalyzer$: StaticOperationSchema;
|
|
185
190
|
export declare var GenerateFindingRecommendation$: StaticOperationSchema;
|
|
186
191
|
export declare var GetAccessPreview$: StaticOperationSchema;
|
|
187
192
|
export declare var GetAnalyzedResource$: StaticOperationSchema;
|
|
@@ -36,6 +36,10 @@ import {
|
|
|
36
36
|
CreateArchiveRuleCommandInput,
|
|
37
37
|
CreateArchiveRuleCommandOutput,
|
|
38
38
|
} from "./commands/CreateArchiveRuleCommand";
|
|
39
|
+
import {
|
|
40
|
+
CreateServiceLinkedAnalyzerCommandInput,
|
|
41
|
+
CreateServiceLinkedAnalyzerCommandOutput,
|
|
42
|
+
} from "./commands/CreateServiceLinkedAnalyzerCommand";
|
|
39
43
|
import {
|
|
40
44
|
DeleteAnalyzerCommandInput,
|
|
41
45
|
DeleteAnalyzerCommandOutput,
|
|
@@ -44,6 +48,10 @@ import {
|
|
|
44
48
|
DeleteArchiveRuleCommandInput,
|
|
45
49
|
DeleteArchiveRuleCommandOutput,
|
|
46
50
|
} from "./commands/DeleteArchiveRuleCommand";
|
|
51
|
+
import {
|
|
52
|
+
DeleteServiceLinkedAnalyzerCommandInput,
|
|
53
|
+
DeleteServiceLinkedAnalyzerCommandOutput,
|
|
54
|
+
} from "./commands/DeleteServiceLinkedAnalyzerCommand";
|
|
47
55
|
import {
|
|
48
56
|
GenerateFindingRecommendationCommandInput,
|
|
49
57
|
GenerateFindingRecommendationCommandOutput,
|
|
@@ -257,6 +265,19 @@ export interface AccessAnalyzer {
|
|
|
257
265
|
options: __HttpHandlerOptions,
|
|
258
266
|
cb: (err: any, data?: CreateArchiveRuleCommandOutput) => void
|
|
259
267
|
): void;
|
|
268
|
+
createServiceLinkedAnalyzer(
|
|
269
|
+
args: CreateServiceLinkedAnalyzerCommandInput,
|
|
270
|
+
options?: __HttpHandlerOptions
|
|
271
|
+
): Promise<CreateServiceLinkedAnalyzerCommandOutput>;
|
|
272
|
+
createServiceLinkedAnalyzer(
|
|
273
|
+
args: CreateServiceLinkedAnalyzerCommandInput,
|
|
274
|
+
cb: (err: any, data?: CreateServiceLinkedAnalyzerCommandOutput) => void
|
|
275
|
+
): void;
|
|
276
|
+
createServiceLinkedAnalyzer(
|
|
277
|
+
args: CreateServiceLinkedAnalyzerCommandInput,
|
|
278
|
+
options: __HttpHandlerOptions,
|
|
279
|
+
cb: (err: any, data?: CreateServiceLinkedAnalyzerCommandOutput) => void
|
|
280
|
+
): void;
|
|
260
281
|
deleteAnalyzer(
|
|
261
282
|
args: DeleteAnalyzerCommandInput,
|
|
262
283
|
options?: __HttpHandlerOptions
|
|
@@ -283,6 +304,19 @@ export interface AccessAnalyzer {
|
|
|
283
304
|
options: __HttpHandlerOptions,
|
|
284
305
|
cb: (err: any, data?: DeleteArchiveRuleCommandOutput) => void
|
|
285
306
|
): void;
|
|
307
|
+
deleteServiceLinkedAnalyzer(
|
|
308
|
+
args: DeleteServiceLinkedAnalyzerCommandInput,
|
|
309
|
+
options?: __HttpHandlerOptions
|
|
310
|
+
): Promise<DeleteServiceLinkedAnalyzerCommandOutput>;
|
|
311
|
+
deleteServiceLinkedAnalyzer(
|
|
312
|
+
args: DeleteServiceLinkedAnalyzerCommandInput,
|
|
313
|
+
cb: (err: any, data?: DeleteServiceLinkedAnalyzerCommandOutput) => void
|
|
314
|
+
): void;
|
|
315
|
+
deleteServiceLinkedAnalyzer(
|
|
316
|
+
args: DeleteServiceLinkedAnalyzerCommandInput,
|
|
317
|
+
options: __HttpHandlerOptions,
|
|
318
|
+
cb: (err: any, data?: DeleteServiceLinkedAnalyzerCommandOutput) => void
|
|
319
|
+
): void;
|
|
286
320
|
generateFindingRecommendation(
|
|
287
321
|
args: GenerateFindingRecommendationCommandInput,
|
|
288
322
|
options?: __HttpHandlerOptions
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
HostHeaderInputConfig,
|
|
3
3
|
HostHeaderResolvedConfig,
|
|
4
|
-
} from "@aws-sdk/middleware-host-header";
|
|
5
|
-
import {
|
|
6
4
|
UserAgentInputConfig,
|
|
7
5
|
UserAgentResolvedConfig,
|
|
8
|
-
} from "@aws-sdk/
|
|
6
|
+
} from "@aws-sdk/core/client";
|
|
9
7
|
import {
|
|
10
8
|
DefaultsMode as __DefaultsMode,
|
|
11
9
|
SmithyConfiguration as __SmithyConfiguration,
|
|
@@ -70,6 +68,10 @@ import {
|
|
|
70
68
|
CreateArchiveRuleCommandInput,
|
|
71
69
|
CreateArchiveRuleCommandOutput,
|
|
72
70
|
} from "./commands/CreateArchiveRuleCommand";
|
|
71
|
+
import {
|
|
72
|
+
CreateServiceLinkedAnalyzerCommandInput,
|
|
73
|
+
CreateServiceLinkedAnalyzerCommandOutput,
|
|
74
|
+
} from "./commands/CreateServiceLinkedAnalyzerCommand";
|
|
73
75
|
import {
|
|
74
76
|
DeleteAnalyzerCommandInput,
|
|
75
77
|
DeleteAnalyzerCommandOutput,
|
|
@@ -78,6 +80,10 @@ import {
|
|
|
78
80
|
DeleteArchiveRuleCommandInput,
|
|
79
81
|
DeleteArchiveRuleCommandOutput,
|
|
80
82
|
} from "./commands/DeleteArchiveRuleCommand";
|
|
83
|
+
import {
|
|
84
|
+
DeleteServiceLinkedAnalyzerCommandInput,
|
|
85
|
+
DeleteServiceLinkedAnalyzerCommandOutput,
|
|
86
|
+
} from "./commands/DeleteServiceLinkedAnalyzerCommand";
|
|
81
87
|
import {
|
|
82
88
|
GenerateFindingRecommendationCommandInput,
|
|
83
89
|
GenerateFindingRecommendationCommandOutput,
|
|
@@ -202,8 +208,10 @@ export type ServiceInputTypes =
|
|
|
202
208
|
| CreateAccessPreviewCommandInput
|
|
203
209
|
| CreateAnalyzerCommandInput
|
|
204
210
|
| CreateArchiveRuleCommandInput
|
|
211
|
+
| CreateServiceLinkedAnalyzerCommandInput
|
|
205
212
|
| DeleteAnalyzerCommandInput
|
|
206
213
|
| DeleteArchiveRuleCommandInput
|
|
214
|
+
| DeleteServiceLinkedAnalyzerCommandInput
|
|
207
215
|
| GenerateFindingRecommendationCommandInput
|
|
208
216
|
| GetAccessPreviewCommandInput
|
|
209
217
|
| GetAnalyzedResourceCommandInput
|
|
@@ -240,8 +248,10 @@ export type ServiceOutputTypes =
|
|
|
240
248
|
| CreateAccessPreviewCommandOutput
|
|
241
249
|
| CreateAnalyzerCommandOutput
|
|
242
250
|
| CreateArchiveRuleCommandOutput
|
|
251
|
+
| CreateServiceLinkedAnalyzerCommandOutput
|
|
243
252
|
| DeleteAnalyzerCommandOutput
|
|
244
253
|
| DeleteArchiveRuleCommandOutput
|
|
254
|
+
| DeleteServiceLinkedAnalyzerCommandOutput
|
|
245
255
|
| GenerateFindingRecommendationCommandOutput
|
|
246
256
|
| GetAccessPreviewCommandOutput
|
|
247
257
|
| GetAnalyzedResourceCommandOutput
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
AccessAnalyzerClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../AccessAnalyzerClient";
|
|
8
|
+
import {
|
|
9
|
+
CreateServiceLinkedAnalyzerRequest,
|
|
10
|
+
CreateServiceLinkedAnalyzerResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface CreateServiceLinkedAnalyzerCommandInput
|
|
15
|
+
extends CreateServiceLinkedAnalyzerRequest {}
|
|
16
|
+
export interface CreateServiceLinkedAnalyzerCommandOutput
|
|
17
|
+
extends CreateServiceLinkedAnalyzerResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const CreateServiceLinkedAnalyzerCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: CreateServiceLinkedAnalyzerCommandInput
|
|
22
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
|
+
CreateServiceLinkedAnalyzerCommandInput,
|
|
24
|
+
CreateServiceLinkedAnalyzerCommandOutput,
|
|
25
|
+
AccessAnalyzerClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: CreateServiceLinkedAnalyzerCommandInput
|
|
31
|
+
): import("@smithy/core/client").CommandImpl<
|
|
32
|
+
CreateServiceLinkedAnalyzerCommandInput,
|
|
33
|
+
CreateServiceLinkedAnalyzerCommandOutput,
|
|
34
|
+
AccessAnalyzerClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): {
|
|
39
|
+
[x: string]: unknown;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
export declare class CreateServiceLinkedAnalyzerCommand extends CreateServiceLinkedAnalyzerCommand_base {
|
|
43
|
+
protected static __types: {
|
|
44
|
+
api: {
|
|
45
|
+
input: CreateServiceLinkedAnalyzerRequest;
|
|
46
|
+
output: CreateServiceLinkedAnalyzerResponse;
|
|
47
|
+
};
|
|
48
|
+
sdk: {
|
|
49
|
+
input: CreateServiceLinkedAnalyzerCommandInput;
|
|
50
|
+
output: CreateServiceLinkedAnalyzerCommandOutput;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
AccessAnalyzerClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../AccessAnalyzerClient";
|
|
8
|
+
import { DeleteServiceLinkedAnalyzerRequest } from "../models/models_0";
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
export interface DeleteServiceLinkedAnalyzerCommandInput
|
|
12
|
+
extends DeleteServiceLinkedAnalyzerRequest {}
|
|
13
|
+
export interface DeleteServiceLinkedAnalyzerCommandOutput
|
|
14
|
+
extends __MetadataBearer {}
|
|
15
|
+
declare const DeleteServiceLinkedAnalyzerCommand_base: {
|
|
16
|
+
new (
|
|
17
|
+
input: DeleteServiceLinkedAnalyzerCommandInput
|
|
18
|
+
): import("@smithy/core/client").CommandImpl<
|
|
19
|
+
DeleteServiceLinkedAnalyzerCommandInput,
|
|
20
|
+
DeleteServiceLinkedAnalyzerCommandOutput,
|
|
21
|
+
AccessAnalyzerClientResolvedConfig,
|
|
22
|
+
ServiceInputTypes,
|
|
23
|
+
ServiceOutputTypes
|
|
24
|
+
>;
|
|
25
|
+
new (
|
|
26
|
+
input: DeleteServiceLinkedAnalyzerCommandInput
|
|
27
|
+
): import("@smithy/core/client").CommandImpl<
|
|
28
|
+
DeleteServiceLinkedAnalyzerCommandInput,
|
|
29
|
+
DeleteServiceLinkedAnalyzerCommandOutput,
|
|
30
|
+
AccessAnalyzerClientResolvedConfig,
|
|
31
|
+
ServiceInputTypes,
|
|
32
|
+
ServiceOutputTypes
|
|
33
|
+
>;
|
|
34
|
+
getEndpointParameterInstructions(): {
|
|
35
|
+
[x: string]: unknown;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
export declare class DeleteServiceLinkedAnalyzerCommand extends DeleteServiceLinkedAnalyzerCommand_base {
|
|
39
|
+
protected static __types: {
|
|
40
|
+
api: {
|
|
41
|
+
input: DeleteServiceLinkedAnalyzerRequest;
|
|
42
|
+
output: {};
|
|
43
|
+
};
|
|
44
|
+
sdk: {
|
|
45
|
+
input: DeleteServiceLinkedAnalyzerCommandInput;
|
|
46
|
+
output: DeleteServiceLinkedAnalyzerCommandOutput;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
}
|
|
@@ -6,8 +6,10 @@ export * from "./CheckNoPublicAccessCommand";
|
|
|
6
6
|
export * from "./CreateAccessPreviewCommand";
|
|
7
7
|
export * from "./CreateAnalyzerCommand";
|
|
8
8
|
export * from "./CreateArchiveRuleCommand";
|
|
9
|
+
export * from "./CreateServiceLinkedAnalyzerCommand";
|
|
9
10
|
export * from "./DeleteAnalyzerCommand";
|
|
10
11
|
export * from "./DeleteArchiveRuleCommand";
|
|
12
|
+
export * from "./DeleteServiceLinkedAnalyzerCommand";
|
|
11
13
|
export * from "./GenerateFindingRecommendationCommand";
|
|
12
14
|
export * from "./GetAccessPreviewCommand";
|
|
13
15
|
export * from "./GetAnalyzedResourceCommand";
|