@aws-sdk/client-accessanalyzer 3.194.0 → 3.196.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/CHANGELOG.md +12 -0
- package/dist-cjs/AccessAnalyzerClient.js +11 -8
- package/dist-cjs/commands/ApplyArchiveRuleCommand.js +10 -0
- package/dist-cjs/commands/CancelPolicyGenerationCommand.js +10 -0
- package/dist-cjs/commands/CreateAccessPreviewCommand.js +10 -0
- package/dist-cjs/commands/CreateAnalyzerCommand.js +10 -0
- package/dist-cjs/commands/CreateArchiveRuleCommand.js +10 -0
- package/dist-cjs/commands/DeleteAnalyzerCommand.js +10 -0
- package/dist-cjs/commands/DeleteArchiveRuleCommand.js +10 -0
- package/dist-cjs/commands/GetAccessPreviewCommand.js +10 -0
- package/dist-cjs/commands/GetAnalyzedResourceCommand.js +10 -0
- package/dist-cjs/commands/GetAnalyzerCommand.js +10 -0
- package/dist-cjs/commands/GetArchiveRuleCommand.js +10 -0
- package/dist-cjs/commands/GetFindingCommand.js +10 -0
- package/dist-cjs/commands/GetGeneratedPolicyCommand.js +10 -0
- package/dist-cjs/commands/ListAccessPreviewFindingsCommand.js +10 -0
- package/dist-cjs/commands/ListAccessPreviewsCommand.js +10 -0
- package/dist-cjs/commands/ListAnalyzedResourcesCommand.js +10 -0
- package/dist-cjs/commands/ListAnalyzersCommand.js +10 -0
- package/dist-cjs/commands/ListArchiveRulesCommand.js +10 -0
- package/dist-cjs/commands/ListFindingsCommand.js +10 -0
- package/dist-cjs/commands/ListPolicyGenerationsCommand.js +10 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +10 -0
- package/dist-cjs/commands/StartPolicyGenerationCommand.js +10 -0
- package/dist-cjs/commands/StartResourceScanCommand.js +10 -0
- package/dist-cjs/commands/TagResourceCommand.js +10 -0
- package/dist-cjs/commands/UntagResourceCommand.js +10 -0
- package/dist-cjs/commands/UpdateArchiveRuleCommand.js +10 -0
- package/dist-cjs/commands/UpdateFindingsCommand.js +10 -0
- package/dist-cjs/commands/ValidatePolicyCommand.js +10 -0
- package/dist-cjs/endpoint/EndpointParameters.js +13 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +318 -0
- package/dist-cjs/models/models_0.js +93 -3
- package/dist-cjs/protocols/Aws_restJson1.js +259 -0
- package/dist-cjs/runtimeConfig.shared.js +3 -3
- package/dist-es/AccessAnalyzerClient.js +12 -9
- package/dist-es/commands/ApplyArchiveRuleCommand.js +10 -0
- package/dist-es/commands/CancelPolicyGenerationCommand.js +10 -0
- package/dist-es/commands/CreateAccessPreviewCommand.js +10 -0
- package/dist-es/commands/CreateAnalyzerCommand.js +10 -0
- package/dist-es/commands/CreateArchiveRuleCommand.js +10 -0
- package/dist-es/commands/DeleteAnalyzerCommand.js +10 -0
- package/dist-es/commands/DeleteArchiveRuleCommand.js +10 -0
- package/dist-es/commands/GetAccessPreviewCommand.js +10 -0
- package/dist-es/commands/GetAnalyzedResourceCommand.js +10 -0
- package/dist-es/commands/GetAnalyzerCommand.js +10 -0
- package/dist-es/commands/GetArchiveRuleCommand.js +10 -0
- package/dist-es/commands/GetFindingCommand.js +10 -0
- package/dist-es/commands/GetGeneratedPolicyCommand.js +10 -0
- package/dist-es/commands/ListAccessPreviewFindingsCommand.js +10 -0
- package/dist-es/commands/ListAccessPreviewsCommand.js +10 -0
- package/dist-es/commands/ListAnalyzedResourcesCommand.js +10 -0
- package/dist-es/commands/ListAnalyzersCommand.js +10 -0
- package/dist-es/commands/ListArchiveRulesCommand.js +10 -0
- package/dist-es/commands/ListFindingsCommand.js +10 -0
- package/dist-es/commands/ListPolicyGenerationsCommand.js +10 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +10 -0
- package/dist-es/commands/StartPolicyGenerationCommand.js +10 -0
- package/dist-es/commands/StartResourceScanCommand.js +10 -0
- package/dist-es/commands/TagResourceCommand.js +10 -0
- package/dist-es/commands/UntagResourceCommand.js +10 -0
- package/dist-es/commands/UpdateArchiveRuleCommand.js +10 -0
- package/dist-es/commands/UpdateFindingsCommand.js +10 -0
- package/dist-es/commands/ValidatePolicyCommand.js +10 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +315 -0
- package/dist-es/models/models_0.js +82 -0
- package/dist-es/protocols/Aws_restJson1.js +260 -1
- package/dist-es/runtimeConfig.shared.js +2 -2
- package/dist-types/AccessAnalyzerClient.d.ts +6 -9
- package/dist-types/commands/ApplyArchiveRuleCommand.d.ts +2 -0
- package/dist-types/commands/CancelPolicyGenerationCommand.d.ts +2 -0
- package/dist-types/commands/CreateAccessPreviewCommand.d.ts +2 -0
- package/dist-types/commands/CreateAnalyzerCommand.d.ts +2 -0
- package/dist-types/commands/CreateArchiveRuleCommand.d.ts +2 -0
- package/dist-types/commands/DeleteAnalyzerCommand.d.ts +2 -0
- package/dist-types/commands/DeleteArchiveRuleCommand.d.ts +2 -0
- package/dist-types/commands/GetAccessPreviewCommand.d.ts +2 -0
- package/dist-types/commands/GetAnalyzedResourceCommand.d.ts +2 -0
- package/dist-types/commands/GetAnalyzerCommand.d.ts +2 -0
- package/dist-types/commands/GetArchiveRuleCommand.d.ts +2 -0
- package/dist-types/commands/GetFindingCommand.d.ts +2 -0
- package/dist-types/commands/GetGeneratedPolicyCommand.d.ts +2 -0
- package/dist-types/commands/ListAccessPreviewFindingsCommand.d.ts +2 -0
- package/dist-types/commands/ListAccessPreviewsCommand.d.ts +2 -0
- package/dist-types/commands/ListAnalyzedResourcesCommand.d.ts +2 -0
- package/dist-types/commands/ListAnalyzersCommand.d.ts +2 -0
- package/dist-types/commands/ListArchiveRulesCommand.d.ts +2 -0
- package/dist-types/commands/ListFindingsCommand.d.ts +2 -0
- package/dist-types/commands/ListPolicyGenerationsCommand.d.ts +2 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/dist-types/commands/StartPolicyGenerationCommand.d.ts +2 -0
- package/dist-types/commands/StartResourceScanCommand.d.ts +2 -0
- package/dist-types/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
- package/dist-types/commands/UpdateArchiveRuleCommand.d.ts +2 -0
- package/dist-types/commands/UpdateFindingsCommand.d.ts +2 -0
- package/dist-types/commands/ValidatePolicyCommand.d.ts +2 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +475 -5
- package/dist-types/runtimeConfig.browser.d.ts +4 -2
- package/dist-types/runtimeConfig.d.ts +4 -2
- package/dist-types/runtimeConfig.native.d.ts +4 -2
- package/dist-types/runtimeConfig.shared.d.ts +3 -1
- package/dist-types/ts3.4/AccessAnalyzerClient.d.ts +15 -8
- package/dist-types/ts3.4/commands/ApplyArchiveRuleCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CancelPolicyGenerationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateAccessPreviewCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateAnalyzerCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateArchiveRuleCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteAnalyzerCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteArchiveRuleCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetAccessPreviewCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetAnalyzedResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetAnalyzerCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetArchiveRuleCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetFindingCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetGeneratedPolicyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListAccessPreviewFindingsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListAccessPreviewsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListAnalyzedResourcesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListAnalyzersCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListArchiveRulesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListFindingsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListPolicyGenerationsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/StartPolicyGenerationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/StartResourceScanCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateArchiveRuleCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateFindingsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ValidatePolicyCommand.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +227 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
- package/package.json +5 -3
- package/dist-cjs/endpoints.js +0 -196
- package/dist-es/endpoints.js +0 -192
- package/dist-types/endpoints.d.ts +0 -2
- package/dist-types/ts3.4/endpoints.d.ts +0 -2
package/dist-es/endpoints.js
DELETED
|
@@ -1,192 +0,0 @@
|
|
|
1
|
-
import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
2
|
-
const regionHash = {
|
|
3
|
-
"ca-central-1": {
|
|
4
|
-
variants: [
|
|
5
|
-
{
|
|
6
|
-
hostname: "access-analyzer-fips.ca-central-1.amazonaws.com",
|
|
7
|
-
tags: ["fips"],
|
|
8
|
-
},
|
|
9
|
-
],
|
|
10
|
-
},
|
|
11
|
-
"us-east-1": {
|
|
12
|
-
variants: [
|
|
13
|
-
{
|
|
14
|
-
hostname: "access-analyzer-fips.us-east-1.amazonaws.com",
|
|
15
|
-
tags: ["fips"],
|
|
16
|
-
},
|
|
17
|
-
],
|
|
18
|
-
},
|
|
19
|
-
"us-east-2": {
|
|
20
|
-
variants: [
|
|
21
|
-
{
|
|
22
|
-
hostname: "access-analyzer-fips.us-east-2.amazonaws.com",
|
|
23
|
-
tags: ["fips"],
|
|
24
|
-
},
|
|
25
|
-
],
|
|
26
|
-
},
|
|
27
|
-
"us-gov-east-1": {
|
|
28
|
-
variants: [
|
|
29
|
-
{
|
|
30
|
-
hostname: "access-analyzer.us-gov-east-1.amazonaws.com",
|
|
31
|
-
tags: [],
|
|
32
|
-
},
|
|
33
|
-
],
|
|
34
|
-
signingRegion: "us-gov-east-1",
|
|
35
|
-
},
|
|
36
|
-
"us-gov-west-1": {
|
|
37
|
-
variants: [
|
|
38
|
-
{
|
|
39
|
-
hostname: "access-analyzer.us-gov-west-1.amazonaws.com",
|
|
40
|
-
tags: [],
|
|
41
|
-
},
|
|
42
|
-
],
|
|
43
|
-
signingRegion: "us-gov-west-1",
|
|
44
|
-
},
|
|
45
|
-
"us-west-1": {
|
|
46
|
-
variants: [
|
|
47
|
-
{
|
|
48
|
-
hostname: "access-analyzer-fips.us-west-1.amazonaws.com",
|
|
49
|
-
tags: ["fips"],
|
|
50
|
-
},
|
|
51
|
-
],
|
|
52
|
-
},
|
|
53
|
-
"us-west-2": {
|
|
54
|
-
variants: [
|
|
55
|
-
{
|
|
56
|
-
hostname: "access-analyzer-fips.us-west-2.amazonaws.com",
|
|
57
|
-
tags: ["fips"],
|
|
58
|
-
},
|
|
59
|
-
],
|
|
60
|
-
},
|
|
61
|
-
};
|
|
62
|
-
const partitionHash = {
|
|
63
|
-
aws: {
|
|
64
|
-
regions: [
|
|
65
|
-
"af-south-1",
|
|
66
|
-
"ap-east-1",
|
|
67
|
-
"ap-northeast-1",
|
|
68
|
-
"ap-northeast-2",
|
|
69
|
-
"ap-northeast-3",
|
|
70
|
-
"ap-south-1",
|
|
71
|
-
"ap-southeast-1",
|
|
72
|
-
"ap-southeast-2",
|
|
73
|
-
"ap-southeast-3",
|
|
74
|
-
"ca-central-1",
|
|
75
|
-
"eu-central-1",
|
|
76
|
-
"eu-north-1",
|
|
77
|
-
"eu-south-1",
|
|
78
|
-
"eu-west-1",
|
|
79
|
-
"eu-west-2",
|
|
80
|
-
"eu-west-3",
|
|
81
|
-
"fips-ca-central-1",
|
|
82
|
-
"fips-us-east-1",
|
|
83
|
-
"fips-us-east-2",
|
|
84
|
-
"fips-us-west-1",
|
|
85
|
-
"fips-us-west-2",
|
|
86
|
-
"me-central-1",
|
|
87
|
-
"me-south-1",
|
|
88
|
-
"sa-east-1",
|
|
89
|
-
"us-east-1",
|
|
90
|
-
"us-east-2",
|
|
91
|
-
"us-west-1",
|
|
92
|
-
"us-west-2",
|
|
93
|
-
],
|
|
94
|
-
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
|
|
95
|
-
variants: [
|
|
96
|
-
{
|
|
97
|
-
hostname: "access-analyzer.{region}.amazonaws.com",
|
|
98
|
-
tags: [],
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
hostname: "access-analyzer-fips.{region}.amazonaws.com",
|
|
102
|
-
tags: ["fips"],
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
hostname: "access-analyzer-fips.{region}.api.aws",
|
|
106
|
-
tags: ["dualstack", "fips"],
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
hostname: "access-analyzer.{region}.api.aws",
|
|
110
|
-
tags: ["dualstack"],
|
|
111
|
-
},
|
|
112
|
-
],
|
|
113
|
-
},
|
|
114
|
-
"aws-cn": {
|
|
115
|
-
regions: ["cn-north-1", "cn-northwest-1"],
|
|
116
|
-
regionRegex: "^cn\\-\\w+\\-\\d+$",
|
|
117
|
-
variants: [
|
|
118
|
-
{
|
|
119
|
-
hostname: "access-analyzer.{region}.amazonaws.com.cn",
|
|
120
|
-
tags: [],
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
hostname: "access-analyzer-fips.{region}.amazonaws.com.cn",
|
|
124
|
-
tags: ["fips"],
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
hostname: "access-analyzer-fips.{region}.api.amazonwebservices.com.cn",
|
|
128
|
-
tags: ["dualstack", "fips"],
|
|
129
|
-
},
|
|
130
|
-
{
|
|
131
|
-
hostname: "access-analyzer.{region}.api.amazonwebservices.com.cn",
|
|
132
|
-
tags: ["dualstack"],
|
|
133
|
-
},
|
|
134
|
-
],
|
|
135
|
-
},
|
|
136
|
-
"aws-iso": {
|
|
137
|
-
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
138
|
-
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
|
|
139
|
-
variants: [
|
|
140
|
-
{
|
|
141
|
-
hostname: "access-analyzer.{region}.c2s.ic.gov",
|
|
142
|
-
tags: [],
|
|
143
|
-
},
|
|
144
|
-
{
|
|
145
|
-
hostname: "access-analyzer-fips.{region}.c2s.ic.gov",
|
|
146
|
-
tags: ["fips"],
|
|
147
|
-
},
|
|
148
|
-
],
|
|
149
|
-
},
|
|
150
|
-
"aws-iso-b": {
|
|
151
|
-
regions: ["us-isob-east-1"],
|
|
152
|
-
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
|
|
153
|
-
variants: [
|
|
154
|
-
{
|
|
155
|
-
hostname: "access-analyzer.{region}.sc2s.sgov.gov",
|
|
156
|
-
tags: [],
|
|
157
|
-
},
|
|
158
|
-
{
|
|
159
|
-
hostname: "access-analyzer-fips.{region}.sc2s.sgov.gov",
|
|
160
|
-
tags: ["fips"],
|
|
161
|
-
},
|
|
162
|
-
],
|
|
163
|
-
},
|
|
164
|
-
"aws-us-gov": {
|
|
165
|
-
regions: ["us-gov-east-1", "us-gov-west-1"],
|
|
166
|
-
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
|
|
167
|
-
variants: [
|
|
168
|
-
{
|
|
169
|
-
hostname: "access-analyzer.{region}.amazonaws.com",
|
|
170
|
-
tags: [],
|
|
171
|
-
},
|
|
172
|
-
{
|
|
173
|
-
hostname: "access-analyzer-fips.{region}.amazonaws.com",
|
|
174
|
-
tags: ["fips"],
|
|
175
|
-
},
|
|
176
|
-
{
|
|
177
|
-
hostname: "access-analyzer-fips.{region}.api.aws",
|
|
178
|
-
tags: ["dualstack", "fips"],
|
|
179
|
-
},
|
|
180
|
-
{
|
|
181
|
-
hostname: "access-analyzer.{region}.api.aws",
|
|
182
|
-
tags: ["dualstack"],
|
|
183
|
-
},
|
|
184
|
-
],
|
|
185
|
-
},
|
|
186
|
-
};
|
|
187
|
-
export const defaultRegionInfoProvider = async (region, options) => getRegionInfo(region, {
|
|
188
|
-
...options,
|
|
189
|
-
signingService: "access-analyzer",
|
|
190
|
-
regionHash,
|
|
191
|
-
partitionHash,
|
|
192
|
-
});
|