@aws-sdk/client-cloudtrail 3.190.0 → 3.192.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 +11 -0
- package/dist-cjs/CloudTrailClient.js +11 -8
- package/dist-cjs/commands/AddTagsCommand.js +10 -0
- package/dist-cjs/commands/CancelQueryCommand.js +10 -0
- package/dist-cjs/commands/CreateEventDataStoreCommand.js +10 -0
- package/dist-cjs/commands/CreateTrailCommand.js +10 -0
- package/dist-cjs/commands/DeleteEventDataStoreCommand.js +10 -0
- package/dist-cjs/commands/DeleteTrailCommand.js +10 -0
- package/dist-cjs/commands/DescribeQueryCommand.js +10 -0
- package/dist-cjs/commands/DescribeTrailsCommand.js +10 -0
- package/dist-cjs/commands/GetChannelCommand.js +10 -0
- package/dist-cjs/commands/GetEventDataStoreCommand.js +10 -0
- package/dist-cjs/commands/GetEventSelectorsCommand.js +10 -0
- package/dist-cjs/commands/GetImportCommand.js +10 -0
- package/dist-cjs/commands/GetInsightSelectorsCommand.js +10 -0
- package/dist-cjs/commands/GetQueryResultsCommand.js +10 -0
- package/dist-cjs/commands/GetTrailCommand.js +10 -0
- package/dist-cjs/commands/GetTrailStatusCommand.js +10 -0
- package/dist-cjs/commands/ListChannelsCommand.js +10 -0
- package/dist-cjs/commands/ListEventDataStoresCommand.js +10 -0
- package/dist-cjs/commands/ListImportFailuresCommand.js +10 -0
- package/dist-cjs/commands/ListImportsCommand.js +10 -0
- package/dist-cjs/commands/ListPublicKeysCommand.js +10 -0
- package/dist-cjs/commands/ListQueriesCommand.js +10 -0
- package/dist-cjs/commands/ListTagsCommand.js +10 -0
- package/dist-cjs/commands/ListTrailsCommand.js +10 -0
- package/dist-cjs/commands/LookupEventsCommand.js +10 -0
- package/dist-cjs/commands/PutEventSelectorsCommand.js +10 -0
- package/dist-cjs/commands/PutInsightSelectorsCommand.js +10 -0
- package/dist-cjs/commands/RemoveTagsCommand.js +10 -0
- package/dist-cjs/commands/RestoreEventDataStoreCommand.js +10 -0
- package/dist-cjs/commands/StartImportCommand.js +10 -0
- package/dist-cjs/commands/StartLoggingCommand.js +10 -0
- package/dist-cjs/commands/StartQueryCommand.js +10 -0
- package/dist-cjs/commands/StopImportCommand.js +10 -0
- package/dist-cjs/commands/StopLoggingCommand.js +10 -0
- package/dist-cjs/commands/UpdateEventDataStoreCommand.js +10 -0
- package/dist-cjs/commands/UpdateTrailCommand.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 +356 -0
- package/dist-cjs/models/models_0.js +15 -3
- package/dist-cjs/protocols/Aws_json1_1.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +3 -3
- package/dist-es/CloudTrailClient.js +12 -9
- package/dist-es/commands/AddTagsCommand.js +10 -0
- package/dist-es/commands/CancelQueryCommand.js +10 -0
- package/dist-es/commands/CreateEventDataStoreCommand.js +10 -0
- package/dist-es/commands/CreateTrailCommand.js +10 -0
- package/dist-es/commands/DeleteEventDataStoreCommand.js +10 -0
- package/dist-es/commands/DeleteTrailCommand.js +10 -0
- package/dist-es/commands/DescribeQueryCommand.js +10 -0
- package/dist-es/commands/DescribeTrailsCommand.js +10 -0
- package/dist-es/commands/GetChannelCommand.js +10 -0
- package/dist-es/commands/GetEventDataStoreCommand.js +10 -0
- package/dist-es/commands/GetEventSelectorsCommand.js +10 -0
- package/dist-es/commands/GetImportCommand.js +10 -0
- package/dist-es/commands/GetInsightSelectorsCommand.js +10 -0
- package/dist-es/commands/GetQueryResultsCommand.js +10 -0
- package/dist-es/commands/GetTrailCommand.js +10 -0
- package/dist-es/commands/GetTrailStatusCommand.js +10 -0
- package/dist-es/commands/ListChannelsCommand.js +10 -0
- package/dist-es/commands/ListEventDataStoresCommand.js +10 -0
- package/dist-es/commands/ListImportFailuresCommand.js +10 -0
- package/dist-es/commands/ListImportsCommand.js +10 -0
- package/dist-es/commands/ListPublicKeysCommand.js +10 -0
- package/dist-es/commands/ListQueriesCommand.js +10 -0
- package/dist-es/commands/ListTagsCommand.js +10 -0
- package/dist-es/commands/ListTrailsCommand.js +10 -0
- package/dist-es/commands/LookupEventsCommand.js +10 -0
- package/dist-es/commands/PutEventSelectorsCommand.js +10 -0
- package/dist-es/commands/PutInsightSelectorsCommand.js +10 -0
- package/dist-es/commands/RemoveTagsCommand.js +10 -0
- package/dist-es/commands/RestoreEventDataStoreCommand.js +10 -0
- package/dist-es/commands/StartImportCommand.js +10 -0
- package/dist-es/commands/StartLoggingCommand.js +10 -0
- package/dist-es/commands/StartQueryCommand.js +10 -0
- package/dist-es/commands/StopImportCommand.js +10 -0
- package/dist-es/commands/StopLoggingCommand.js +10 -0
- package/dist-es/commands/UpdateEventDataStoreCommand.js +10 -0
- package/dist-es/commands/UpdateTrailCommand.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 +353 -0
- package/dist-es/models/models_0.js +12 -0
- package/dist-es/protocols/Aws_json1_1.js +15 -0
- package/dist-es/runtimeConfig.shared.js +2 -2
- package/dist-types/CloudTrail.d.ts +9 -5
- package/dist-types/CloudTrailClient.d.ts +6 -9
- package/dist-types/commands/AddTagsCommand.d.ts +2 -0
- package/dist-types/commands/CancelQueryCommand.d.ts +2 -0
- package/dist-types/commands/CreateEventDataStoreCommand.d.ts +2 -0
- package/dist-types/commands/CreateTrailCommand.d.ts +2 -0
- package/dist-types/commands/DeleteEventDataStoreCommand.d.ts +2 -0
- package/dist-types/commands/DeleteTrailCommand.d.ts +2 -0
- package/dist-types/commands/DescribeQueryCommand.d.ts +2 -0
- package/dist-types/commands/DescribeTrailsCommand.d.ts +2 -0
- package/dist-types/commands/GetChannelCommand.d.ts +4 -1
- package/dist-types/commands/GetEventDataStoreCommand.d.ts +2 -0
- package/dist-types/commands/GetEventSelectorsCommand.d.ts +2 -0
- package/dist-types/commands/GetImportCommand.d.ts +3 -1
- package/dist-types/commands/GetInsightSelectorsCommand.d.ts +2 -0
- package/dist-types/commands/GetQueryResultsCommand.d.ts +2 -0
- package/dist-types/commands/GetTrailCommand.d.ts +2 -0
- package/dist-types/commands/GetTrailStatusCommand.d.ts +2 -0
- package/dist-types/commands/ListChannelsCommand.d.ts +4 -1
- package/dist-types/commands/ListEventDataStoresCommand.d.ts +2 -0
- package/dist-types/commands/ListImportFailuresCommand.d.ts +2 -0
- package/dist-types/commands/ListImportsCommand.d.ts +2 -0
- package/dist-types/commands/ListPublicKeysCommand.d.ts +2 -0
- package/dist-types/commands/ListQueriesCommand.d.ts +2 -0
- package/dist-types/commands/ListTagsCommand.d.ts +2 -0
- package/dist-types/commands/ListTrailsCommand.d.ts +2 -0
- package/dist-types/commands/LookupEventsCommand.d.ts +2 -0
- package/dist-types/commands/PutEventSelectorsCommand.d.ts +2 -0
- package/dist-types/commands/PutInsightSelectorsCommand.d.ts +2 -0
- package/dist-types/commands/RemoveTagsCommand.d.ts +2 -0
- package/dist-types/commands/RestoreEventDataStoreCommand.d.ts +2 -0
- package/dist-types/commands/StartImportCommand.d.ts +5 -1
- package/dist-types/commands/StartLoggingCommand.d.ts +2 -0
- package/dist-types/commands/StartQueryCommand.d.ts +3 -1
- package/dist-types/commands/StopImportCommand.d.ts +2 -0
- package/dist-types/commands/StopLoggingCommand.d.ts +2 -0
- package/dist-types/commands/UpdateEventDataStoreCommand.d.ts +2 -0
- package/dist-types/commands/UpdateTrailCommand.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 +87 -69
- 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/CloudTrailClient.d.ts +15 -8
- package/dist-types/ts3.4/commands/AddTagsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CancelQueryCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateEventDataStoreCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateTrailCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteEventDataStoreCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteTrailCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeQueryCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeTrailsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetChannelCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetEventDataStoreCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetEventSelectorsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetImportCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetInsightSelectorsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetQueryResultsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetTrailCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetTrailStatusCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListChannelsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListEventDataStoresCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListImportFailuresCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListImportsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListPublicKeysCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListQueriesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListTrailsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/LookupEventsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutEventSelectorsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutInsightSelectorsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/RemoveTagsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/RestoreEventDataStoreCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/StartImportCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/StartLoggingCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/StartQueryCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/StopImportCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/StopLoggingCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateEventDataStoreCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateTrailCommand.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 +14 -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 +4 -3
- package/dist-cjs/endpoints.js +0 -185
- package/dist-es/endpoints.js +0 -181
- package/dist-types/endpoints.d.ts +0 -2
- package/dist-types/ts3.4/endpoints.d.ts +0 -2
package/dist-cjs/endpoints.js
DELETED
|
@@ -1,185 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.defaultRegionInfoProvider = void 0;
|
|
4
|
-
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
5
|
-
const regionHash = {
|
|
6
|
-
"us-east-1": {
|
|
7
|
-
variants: [
|
|
8
|
-
{
|
|
9
|
-
hostname: "cloudtrail-fips.us-east-1.amazonaws.com",
|
|
10
|
-
tags: ["fips"],
|
|
11
|
-
},
|
|
12
|
-
],
|
|
13
|
-
},
|
|
14
|
-
"us-east-2": {
|
|
15
|
-
variants: [
|
|
16
|
-
{
|
|
17
|
-
hostname: "cloudtrail-fips.us-east-2.amazonaws.com",
|
|
18
|
-
tags: ["fips"],
|
|
19
|
-
},
|
|
20
|
-
],
|
|
21
|
-
},
|
|
22
|
-
"us-gov-east-1": {
|
|
23
|
-
variants: [
|
|
24
|
-
{
|
|
25
|
-
hostname: "cloudtrail.us-gov-east-1.amazonaws.com",
|
|
26
|
-
tags: ["fips"],
|
|
27
|
-
},
|
|
28
|
-
],
|
|
29
|
-
},
|
|
30
|
-
"us-gov-west-1": {
|
|
31
|
-
variants: [
|
|
32
|
-
{
|
|
33
|
-
hostname: "cloudtrail.us-gov-west-1.amazonaws.com",
|
|
34
|
-
tags: ["fips"],
|
|
35
|
-
},
|
|
36
|
-
],
|
|
37
|
-
},
|
|
38
|
-
"us-west-1": {
|
|
39
|
-
variants: [
|
|
40
|
-
{
|
|
41
|
-
hostname: "cloudtrail-fips.us-west-1.amazonaws.com",
|
|
42
|
-
tags: ["fips"],
|
|
43
|
-
},
|
|
44
|
-
],
|
|
45
|
-
},
|
|
46
|
-
"us-west-2": {
|
|
47
|
-
variants: [
|
|
48
|
-
{
|
|
49
|
-
hostname: "cloudtrail-fips.us-west-2.amazonaws.com",
|
|
50
|
-
tags: ["fips"],
|
|
51
|
-
},
|
|
52
|
-
],
|
|
53
|
-
},
|
|
54
|
-
};
|
|
55
|
-
const partitionHash = {
|
|
56
|
-
aws: {
|
|
57
|
-
regions: [
|
|
58
|
-
"af-south-1",
|
|
59
|
-
"ap-east-1",
|
|
60
|
-
"ap-northeast-1",
|
|
61
|
-
"ap-northeast-2",
|
|
62
|
-
"ap-northeast-3",
|
|
63
|
-
"ap-south-1",
|
|
64
|
-
"ap-southeast-1",
|
|
65
|
-
"ap-southeast-2",
|
|
66
|
-
"ap-southeast-3",
|
|
67
|
-
"ca-central-1",
|
|
68
|
-
"eu-central-1",
|
|
69
|
-
"eu-north-1",
|
|
70
|
-
"eu-south-1",
|
|
71
|
-
"eu-west-1",
|
|
72
|
-
"eu-west-2",
|
|
73
|
-
"eu-west-3",
|
|
74
|
-
"fips-us-east-1",
|
|
75
|
-
"fips-us-east-2",
|
|
76
|
-
"fips-us-west-1",
|
|
77
|
-
"fips-us-west-2",
|
|
78
|
-
"me-central-1",
|
|
79
|
-
"me-south-1",
|
|
80
|
-
"sa-east-1",
|
|
81
|
-
"us-east-1",
|
|
82
|
-
"us-east-2",
|
|
83
|
-
"us-west-1",
|
|
84
|
-
"us-west-2",
|
|
85
|
-
],
|
|
86
|
-
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
|
|
87
|
-
variants: [
|
|
88
|
-
{
|
|
89
|
-
hostname: "cloudtrail.{region}.amazonaws.com",
|
|
90
|
-
tags: [],
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
hostname: "cloudtrail-fips.{region}.amazonaws.com",
|
|
94
|
-
tags: ["fips"],
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
hostname: "cloudtrail-fips.{region}.api.aws",
|
|
98
|
-
tags: ["dualstack", "fips"],
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
hostname: "cloudtrail.{region}.api.aws",
|
|
102
|
-
tags: ["dualstack"],
|
|
103
|
-
},
|
|
104
|
-
],
|
|
105
|
-
},
|
|
106
|
-
"aws-cn": {
|
|
107
|
-
regions: ["cn-north-1", "cn-northwest-1"],
|
|
108
|
-
regionRegex: "^cn\\-\\w+\\-\\d+$",
|
|
109
|
-
variants: [
|
|
110
|
-
{
|
|
111
|
-
hostname: "cloudtrail.{region}.amazonaws.com.cn",
|
|
112
|
-
tags: [],
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
hostname: "cloudtrail-fips.{region}.amazonaws.com.cn",
|
|
116
|
-
tags: ["fips"],
|
|
117
|
-
},
|
|
118
|
-
{
|
|
119
|
-
hostname: "cloudtrail-fips.{region}.api.amazonwebservices.com.cn",
|
|
120
|
-
tags: ["dualstack", "fips"],
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
hostname: "cloudtrail.{region}.api.amazonwebservices.com.cn",
|
|
124
|
-
tags: ["dualstack"],
|
|
125
|
-
},
|
|
126
|
-
],
|
|
127
|
-
},
|
|
128
|
-
"aws-iso": {
|
|
129
|
-
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
130
|
-
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
|
|
131
|
-
variants: [
|
|
132
|
-
{
|
|
133
|
-
hostname: "cloudtrail.{region}.c2s.ic.gov",
|
|
134
|
-
tags: [],
|
|
135
|
-
},
|
|
136
|
-
{
|
|
137
|
-
hostname: "cloudtrail-fips.{region}.c2s.ic.gov",
|
|
138
|
-
tags: ["fips"],
|
|
139
|
-
},
|
|
140
|
-
],
|
|
141
|
-
},
|
|
142
|
-
"aws-iso-b": {
|
|
143
|
-
regions: ["us-isob-east-1"],
|
|
144
|
-
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
|
|
145
|
-
variants: [
|
|
146
|
-
{
|
|
147
|
-
hostname: "cloudtrail.{region}.sc2s.sgov.gov",
|
|
148
|
-
tags: [],
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
hostname: "cloudtrail-fips.{region}.sc2s.sgov.gov",
|
|
152
|
-
tags: ["fips"],
|
|
153
|
-
},
|
|
154
|
-
],
|
|
155
|
-
},
|
|
156
|
-
"aws-us-gov": {
|
|
157
|
-
regions: ["fips-us-gov-east-1", "fips-us-gov-west-1", "us-gov-east-1", "us-gov-west-1"],
|
|
158
|
-
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
|
|
159
|
-
variants: [
|
|
160
|
-
{
|
|
161
|
-
hostname: "cloudtrail.{region}.amazonaws.com",
|
|
162
|
-
tags: [],
|
|
163
|
-
},
|
|
164
|
-
{
|
|
165
|
-
hostname: "cloudtrail.us-gov-west-1.amazonaws.com",
|
|
166
|
-
tags: ["fips"],
|
|
167
|
-
},
|
|
168
|
-
{
|
|
169
|
-
hostname: "cloudtrail-fips.{region}.api.aws",
|
|
170
|
-
tags: ["dualstack", "fips"],
|
|
171
|
-
},
|
|
172
|
-
{
|
|
173
|
-
hostname: "cloudtrail.{region}.api.aws",
|
|
174
|
-
tags: ["dualstack"],
|
|
175
|
-
},
|
|
176
|
-
],
|
|
177
|
-
},
|
|
178
|
-
};
|
|
179
|
-
const defaultRegionInfoProvider = async (region, options) => (0, config_resolver_1.getRegionInfo)(region, {
|
|
180
|
-
...options,
|
|
181
|
-
signingService: "cloudtrail",
|
|
182
|
-
regionHash,
|
|
183
|
-
partitionHash,
|
|
184
|
-
});
|
|
185
|
-
exports.defaultRegionInfoProvider = defaultRegionInfoProvider;
|
package/dist-es/endpoints.js
DELETED
|
@@ -1,181 +0,0 @@
|
|
|
1
|
-
import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
2
|
-
const regionHash = {
|
|
3
|
-
"us-east-1": {
|
|
4
|
-
variants: [
|
|
5
|
-
{
|
|
6
|
-
hostname: "cloudtrail-fips.us-east-1.amazonaws.com",
|
|
7
|
-
tags: ["fips"],
|
|
8
|
-
},
|
|
9
|
-
],
|
|
10
|
-
},
|
|
11
|
-
"us-east-2": {
|
|
12
|
-
variants: [
|
|
13
|
-
{
|
|
14
|
-
hostname: "cloudtrail-fips.us-east-2.amazonaws.com",
|
|
15
|
-
tags: ["fips"],
|
|
16
|
-
},
|
|
17
|
-
],
|
|
18
|
-
},
|
|
19
|
-
"us-gov-east-1": {
|
|
20
|
-
variants: [
|
|
21
|
-
{
|
|
22
|
-
hostname: "cloudtrail.us-gov-east-1.amazonaws.com",
|
|
23
|
-
tags: ["fips"],
|
|
24
|
-
},
|
|
25
|
-
],
|
|
26
|
-
},
|
|
27
|
-
"us-gov-west-1": {
|
|
28
|
-
variants: [
|
|
29
|
-
{
|
|
30
|
-
hostname: "cloudtrail.us-gov-west-1.amazonaws.com",
|
|
31
|
-
tags: ["fips"],
|
|
32
|
-
},
|
|
33
|
-
],
|
|
34
|
-
},
|
|
35
|
-
"us-west-1": {
|
|
36
|
-
variants: [
|
|
37
|
-
{
|
|
38
|
-
hostname: "cloudtrail-fips.us-west-1.amazonaws.com",
|
|
39
|
-
tags: ["fips"],
|
|
40
|
-
},
|
|
41
|
-
],
|
|
42
|
-
},
|
|
43
|
-
"us-west-2": {
|
|
44
|
-
variants: [
|
|
45
|
-
{
|
|
46
|
-
hostname: "cloudtrail-fips.us-west-2.amazonaws.com",
|
|
47
|
-
tags: ["fips"],
|
|
48
|
-
},
|
|
49
|
-
],
|
|
50
|
-
},
|
|
51
|
-
};
|
|
52
|
-
const partitionHash = {
|
|
53
|
-
aws: {
|
|
54
|
-
regions: [
|
|
55
|
-
"af-south-1",
|
|
56
|
-
"ap-east-1",
|
|
57
|
-
"ap-northeast-1",
|
|
58
|
-
"ap-northeast-2",
|
|
59
|
-
"ap-northeast-3",
|
|
60
|
-
"ap-south-1",
|
|
61
|
-
"ap-southeast-1",
|
|
62
|
-
"ap-southeast-2",
|
|
63
|
-
"ap-southeast-3",
|
|
64
|
-
"ca-central-1",
|
|
65
|
-
"eu-central-1",
|
|
66
|
-
"eu-north-1",
|
|
67
|
-
"eu-south-1",
|
|
68
|
-
"eu-west-1",
|
|
69
|
-
"eu-west-2",
|
|
70
|
-
"eu-west-3",
|
|
71
|
-
"fips-us-east-1",
|
|
72
|
-
"fips-us-east-2",
|
|
73
|
-
"fips-us-west-1",
|
|
74
|
-
"fips-us-west-2",
|
|
75
|
-
"me-central-1",
|
|
76
|
-
"me-south-1",
|
|
77
|
-
"sa-east-1",
|
|
78
|
-
"us-east-1",
|
|
79
|
-
"us-east-2",
|
|
80
|
-
"us-west-1",
|
|
81
|
-
"us-west-2",
|
|
82
|
-
],
|
|
83
|
-
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
|
|
84
|
-
variants: [
|
|
85
|
-
{
|
|
86
|
-
hostname: "cloudtrail.{region}.amazonaws.com",
|
|
87
|
-
tags: [],
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
hostname: "cloudtrail-fips.{region}.amazonaws.com",
|
|
91
|
-
tags: ["fips"],
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
hostname: "cloudtrail-fips.{region}.api.aws",
|
|
95
|
-
tags: ["dualstack", "fips"],
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
hostname: "cloudtrail.{region}.api.aws",
|
|
99
|
-
tags: ["dualstack"],
|
|
100
|
-
},
|
|
101
|
-
],
|
|
102
|
-
},
|
|
103
|
-
"aws-cn": {
|
|
104
|
-
regions: ["cn-north-1", "cn-northwest-1"],
|
|
105
|
-
regionRegex: "^cn\\-\\w+\\-\\d+$",
|
|
106
|
-
variants: [
|
|
107
|
-
{
|
|
108
|
-
hostname: "cloudtrail.{region}.amazonaws.com.cn",
|
|
109
|
-
tags: [],
|
|
110
|
-
},
|
|
111
|
-
{
|
|
112
|
-
hostname: "cloudtrail-fips.{region}.amazonaws.com.cn",
|
|
113
|
-
tags: ["fips"],
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
hostname: "cloudtrail-fips.{region}.api.amazonwebservices.com.cn",
|
|
117
|
-
tags: ["dualstack", "fips"],
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
hostname: "cloudtrail.{region}.api.amazonwebservices.com.cn",
|
|
121
|
-
tags: ["dualstack"],
|
|
122
|
-
},
|
|
123
|
-
],
|
|
124
|
-
},
|
|
125
|
-
"aws-iso": {
|
|
126
|
-
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
127
|
-
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
|
|
128
|
-
variants: [
|
|
129
|
-
{
|
|
130
|
-
hostname: "cloudtrail.{region}.c2s.ic.gov",
|
|
131
|
-
tags: [],
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
hostname: "cloudtrail-fips.{region}.c2s.ic.gov",
|
|
135
|
-
tags: ["fips"],
|
|
136
|
-
},
|
|
137
|
-
],
|
|
138
|
-
},
|
|
139
|
-
"aws-iso-b": {
|
|
140
|
-
regions: ["us-isob-east-1"],
|
|
141
|
-
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
|
|
142
|
-
variants: [
|
|
143
|
-
{
|
|
144
|
-
hostname: "cloudtrail.{region}.sc2s.sgov.gov",
|
|
145
|
-
tags: [],
|
|
146
|
-
},
|
|
147
|
-
{
|
|
148
|
-
hostname: "cloudtrail-fips.{region}.sc2s.sgov.gov",
|
|
149
|
-
tags: ["fips"],
|
|
150
|
-
},
|
|
151
|
-
],
|
|
152
|
-
},
|
|
153
|
-
"aws-us-gov": {
|
|
154
|
-
regions: ["fips-us-gov-east-1", "fips-us-gov-west-1", "us-gov-east-1", "us-gov-west-1"],
|
|
155
|
-
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
|
|
156
|
-
variants: [
|
|
157
|
-
{
|
|
158
|
-
hostname: "cloudtrail.{region}.amazonaws.com",
|
|
159
|
-
tags: [],
|
|
160
|
-
},
|
|
161
|
-
{
|
|
162
|
-
hostname: "cloudtrail.us-gov-west-1.amazonaws.com",
|
|
163
|
-
tags: ["fips"],
|
|
164
|
-
},
|
|
165
|
-
{
|
|
166
|
-
hostname: "cloudtrail-fips.{region}.api.aws",
|
|
167
|
-
tags: ["dualstack", "fips"],
|
|
168
|
-
},
|
|
169
|
-
{
|
|
170
|
-
hostname: "cloudtrail.{region}.api.aws",
|
|
171
|
-
tags: ["dualstack"],
|
|
172
|
-
},
|
|
173
|
-
],
|
|
174
|
-
},
|
|
175
|
-
};
|
|
176
|
-
export const defaultRegionInfoProvider = async (region, options) => getRegionInfo(region, {
|
|
177
|
-
...options,
|
|
178
|
-
signingService: "cloudtrail",
|
|
179
|
-
regionHash,
|
|
180
|
-
partitionHash,
|
|
181
|
-
});
|