@aws-sdk/client-s3outposts 3.901.0 → 3.907.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/dist-cjs/index.js +623 -759
- package/package.json +6 -6
package/dist-cjs/index.js
CHANGED
|
@@ -1,798 +1,662 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var middlewareHostHeader = require('@aws-sdk/middleware-host-header');
|
|
4
|
+
var middlewareLogger = require('@aws-sdk/middleware-logger');
|
|
5
|
+
var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
|
|
6
|
+
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
7
|
+
var configResolver = require('@smithy/config-resolver');
|
|
8
|
+
var core = require('@smithy/core');
|
|
9
|
+
var middlewareContentLength = require('@smithy/middleware-content-length');
|
|
10
|
+
var middlewareEndpoint = require('@smithy/middleware-endpoint');
|
|
11
|
+
var middlewareRetry = require('@smithy/middleware-retry');
|
|
12
|
+
var smithyClient = require('@smithy/smithy-client');
|
|
13
|
+
var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
14
|
+
var runtimeConfig = require('./runtimeConfig');
|
|
15
|
+
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
16
|
+
var protocolHttp = require('@smithy/protocol-http');
|
|
17
|
+
var middlewareSerde = require('@smithy/middleware-serde');
|
|
18
|
+
var core$1 = require('@aws-sdk/core');
|
|
19
|
+
|
|
20
|
+
const resolveClientEndpointParameters = (options) => {
|
|
21
|
+
return Object.assign(options, {
|
|
22
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
23
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
24
|
+
defaultSigningName: "s3-outposts",
|
|
25
|
+
});
|
|
10
26
|
};
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
17
|
-
return to;
|
|
27
|
+
const commonParams = {
|
|
28
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
29
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
30
|
+
Region: { type: "builtInParams", name: "region" },
|
|
31
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
18
32
|
};
|
|
19
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
-
|
|
21
|
-
// src/index.ts
|
|
22
|
-
var index_exports = {};
|
|
23
|
-
__export(index_exports, {
|
|
24
|
-
AccessDeniedException: () => AccessDeniedException,
|
|
25
|
-
ConflictException: () => ConflictException,
|
|
26
|
-
CreateEndpointCommand: () => CreateEndpointCommand,
|
|
27
|
-
DeleteEndpointCommand: () => DeleteEndpointCommand,
|
|
28
|
-
EndpointAccessType: () => EndpointAccessType,
|
|
29
|
-
EndpointStatus: () => EndpointStatus,
|
|
30
|
-
InternalServerException: () => InternalServerException,
|
|
31
|
-
ListEndpointsCommand: () => ListEndpointsCommand,
|
|
32
|
-
ListOutpostsWithS3Command: () => ListOutpostsWithS3Command,
|
|
33
|
-
ListSharedEndpointsCommand: () => ListSharedEndpointsCommand,
|
|
34
|
-
OutpostOfflineException: () => OutpostOfflineException,
|
|
35
|
-
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
36
|
-
S3Outposts: () => S3Outposts,
|
|
37
|
-
S3OutpostsClient: () => S3OutpostsClient,
|
|
38
|
-
S3OutpostsServiceException: () => S3OutpostsServiceException,
|
|
39
|
-
ThrottlingException: () => ThrottlingException,
|
|
40
|
-
ValidationException: () => ValidationException,
|
|
41
|
-
__Client: () => import_smithy_client.Client,
|
|
42
|
-
paginateListEndpoints: () => paginateListEndpoints,
|
|
43
|
-
paginateListOutpostsWithS3: () => paginateListOutpostsWithS3,
|
|
44
|
-
paginateListSharedEndpoints: () => paginateListSharedEndpoints
|
|
45
|
-
});
|
|
46
|
-
module.exports = __toCommonJS(index_exports);
|
|
47
33
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
34
|
+
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
35
|
+
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
36
|
+
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
37
|
+
let _credentials = runtimeConfig.credentials;
|
|
38
|
+
return {
|
|
39
|
+
setHttpAuthScheme(httpAuthScheme) {
|
|
40
|
+
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
41
|
+
if (index === -1) {
|
|
42
|
+
_httpAuthSchemes.push(httpAuthScheme);
|
|
43
|
+
}
|
|
44
|
+
else {
|
|
45
|
+
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
httpAuthSchemes() {
|
|
49
|
+
return _httpAuthSchemes;
|
|
50
|
+
},
|
|
51
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
52
|
+
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
53
|
+
},
|
|
54
|
+
httpAuthSchemeProvider() {
|
|
55
|
+
return _httpAuthSchemeProvider;
|
|
56
|
+
},
|
|
57
|
+
setCredentials(credentials) {
|
|
58
|
+
_credentials = credentials;
|
|
59
|
+
},
|
|
60
|
+
credentials() {
|
|
61
|
+
return _credentials;
|
|
62
|
+
},
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
const resolveHttpAuthRuntimeConfig = (config) => {
|
|
66
|
+
return {
|
|
67
|
+
httpAuthSchemes: config.httpAuthSchemes(),
|
|
68
|
+
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
69
|
+
credentials: config.credentials(),
|
|
70
|
+
};
|
|
74
71
|
};
|
|
75
72
|
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
var import_protocol_http = require("@smithy/protocol-http");
|
|
82
|
-
var import_smithy_client = require("@smithy/smithy-client");
|
|
73
|
+
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
74
|
+
const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
75
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
76
|
+
return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
77
|
+
};
|
|
83
78
|
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
79
|
+
class S3OutpostsClient extends smithyClient.Client {
|
|
80
|
+
config;
|
|
81
|
+
constructor(...[configuration]) {
|
|
82
|
+
const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
|
|
83
|
+
super(_config_0);
|
|
84
|
+
this.initConfig = _config_0;
|
|
85
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
86
|
+
const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);
|
|
87
|
+
const _config_3 = middlewareRetry.resolveRetryConfig(_config_2);
|
|
88
|
+
const _config_4 = configResolver.resolveRegionConfig(_config_3);
|
|
89
|
+
const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);
|
|
90
|
+
const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5);
|
|
91
|
+
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
92
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
93
|
+
this.config = _config_8;
|
|
94
|
+
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
95
|
+
this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
|
|
96
|
+
this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
|
|
97
|
+
this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
|
|
98
|
+
this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
|
|
99
|
+
this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
|
|
100
|
+
this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
101
|
+
httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultS3OutpostsHttpAuthSchemeParametersProvider,
|
|
102
|
+
identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({
|
|
103
|
+
"aws.auth#sigv4": config.credentials,
|
|
104
|
+
}),
|
|
105
|
+
}));
|
|
106
|
+
this.middlewareStack.use(core.getHttpSigningPlugin(this.config));
|
|
112
107
|
}
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
httpAuthSchemes: config.httpAuthSchemes(),
|
|
118
|
-
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
119
|
-
credentials: config.credentials()
|
|
120
|
-
};
|
|
121
|
-
}, "resolveHttpAuthRuntimeConfig");
|
|
122
|
-
|
|
123
|
-
// src/runtimeExtensions.ts
|
|
124
|
-
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
125
|
-
const extensionConfiguration = Object.assign(
|
|
126
|
-
(0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),
|
|
127
|
-
(0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),
|
|
128
|
-
(0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),
|
|
129
|
-
getHttpAuthExtensionConfiguration(runtimeConfig)
|
|
130
|
-
);
|
|
131
|
-
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
132
|
-
return Object.assign(
|
|
133
|
-
runtimeConfig,
|
|
134
|
-
(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
135
|
-
(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
136
|
-
(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
137
|
-
resolveHttpAuthRuntimeConfig(extensionConfiguration)
|
|
138
|
-
);
|
|
139
|
-
}, "resolveRuntimeExtensions");
|
|
108
|
+
destroy() {
|
|
109
|
+
super.destroy();
|
|
110
|
+
}
|
|
111
|
+
}
|
|
140
112
|
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
/**
|
|
180
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
181
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
182
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
183
|
-
*/
|
|
184
|
-
destroy() {
|
|
185
|
-
super.destroy();
|
|
186
|
-
}
|
|
113
|
+
class S3OutpostsServiceException extends smithyClient.ServiceException {
|
|
114
|
+
constructor(options) {
|
|
115
|
+
super(options);
|
|
116
|
+
Object.setPrototypeOf(this, S3OutpostsServiceException.prototype);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
class AccessDeniedException extends S3OutpostsServiceException {
|
|
121
|
+
name = "AccessDeniedException";
|
|
122
|
+
$fault = "client";
|
|
123
|
+
Message;
|
|
124
|
+
constructor(opts) {
|
|
125
|
+
super({
|
|
126
|
+
name: "AccessDeniedException",
|
|
127
|
+
$fault: "client",
|
|
128
|
+
...opts,
|
|
129
|
+
});
|
|
130
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
131
|
+
this.Message = opts.Message;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
class ConflictException extends S3OutpostsServiceException {
|
|
135
|
+
name = "ConflictException";
|
|
136
|
+
$fault = "client";
|
|
137
|
+
Message;
|
|
138
|
+
constructor(opts) {
|
|
139
|
+
super({
|
|
140
|
+
name: "ConflictException",
|
|
141
|
+
$fault: "client",
|
|
142
|
+
...opts,
|
|
143
|
+
});
|
|
144
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
145
|
+
this.Message = opts.Message;
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
const EndpointAccessType = {
|
|
149
|
+
CUSTOMER_OWNED_IP: "CustomerOwnedIp",
|
|
150
|
+
PRIVATE: "Private",
|
|
187
151
|
};
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
152
|
+
class InternalServerException extends S3OutpostsServiceException {
|
|
153
|
+
name = "InternalServerException";
|
|
154
|
+
$fault = "server";
|
|
155
|
+
Message;
|
|
156
|
+
constructor(opts) {
|
|
157
|
+
super({
|
|
158
|
+
name: "InternalServerException",
|
|
159
|
+
$fault: "server",
|
|
160
|
+
...opts,
|
|
161
|
+
});
|
|
162
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
163
|
+
this.Message = opts.Message;
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
class OutpostOfflineException extends S3OutpostsServiceException {
|
|
167
|
+
name = "OutpostOfflineException";
|
|
168
|
+
$fault = "client";
|
|
169
|
+
Message;
|
|
170
|
+
constructor(opts) {
|
|
171
|
+
super({
|
|
172
|
+
name: "OutpostOfflineException",
|
|
173
|
+
$fault: "client",
|
|
174
|
+
...opts,
|
|
175
|
+
});
|
|
176
|
+
Object.setPrototypeOf(this, OutpostOfflineException.prototype);
|
|
177
|
+
this.Message = opts.Message;
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
class ResourceNotFoundException extends S3OutpostsServiceException {
|
|
181
|
+
name = "ResourceNotFoundException";
|
|
182
|
+
$fault = "client";
|
|
183
|
+
Message;
|
|
184
|
+
constructor(opts) {
|
|
185
|
+
super({
|
|
186
|
+
name: "ResourceNotFoundException",
|
|
187
|
+
$fault: "client",
|
|
188
|
+
...opts,
|
|
189
|
+
});
|
|
190
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
191
|
+
this.Message = opts.Message;
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
class ThrottlingException extends S3OutpostsServiceException {
|
|
195
|
+
name = "ThrottlingException";
|
|
196
|
+
$fault = "client";
|
|
197
|
+
Message;
|
|
198
|
+
constructor(opts) {
|
|
199
|
+
super({
|
|
200
|
+
name: "ThrottlingException",
|
|
201
|
+
$fault: "client",
|
|
202
|
+
...opts,
|
|
203
|
+
});
|
|
204
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
205
|
+
this.Message = opts.Message;
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
class ValidationException extends S3OutpostsServiceException {
|
|
209
|
+
name = "ValidationException";
|
|
210
|
+
$fault = "client";
|
|
211
|
+
Message;
|
|
212
|
+
constructor(opts) {
|
|
213
|
+
super({
|
|
214
|
+
name: "ValidationException",
|
|
215
|
+
$fault: "client",
|
|
216
|
+
...opts,
|
|
217
|
+
});
|
|
218
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
219
|
+
this.Message = opts.Message;
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
const EndpointStatus = {
|
|
223
|
+
AVAILABLE: "Available",
|
|
224
|
+
CREATE_FAILED: "Create_Failed",
|
|
225
|
+
DELETE_FAILED: "Delete_Failed",
|
|
226
|
+
DELETING: "Deleting",
|
|
227
|
+
PENDING: "Pending",
|
|
215
228
|
};
|
|
216
229
|
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
230
|
+
const se_CreateEndpointCommand = async (input, context) => {
|
|
231
|
+
const b = core.requestBuilder(input, context);
|
|
232
|
+
const headers = {
|
|
233
|
+
"content-type": "application/json",
|
|
234
|
+
};
|
|
235
|
+
b.bp("/S3Outposts/CreateEndpoint");
|
|
236
|
+
let body;
|
|
237
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
238
|
+
AccessType: [],
|
|
239
|
+
CustomerOwnedIpv4Pool: [],
|
|
240
|
+
OutpostId: [],
|
|
241
|
+
SecurityGroupId: [],
|
|
242
|
+
SubnetId: [],
|
|
243
|
+
}));
|
|
244
|
+
b.m("POST").h(headers).b(body);
|
|
245
|
+
return b.build();
|
|
246
|
+
};
|
|
247
|
+
const se_DeleteEndpointCommand = async (input, context) => {
|
|
248
|
+
const b = core.requestBuilder(input, context);
|
|
249
|
+
const headers = {};
|
|
250
|
+
b.bp("/S3Outposts/DeleteEndpoint");
|
|
251
|
+
const query = smithyClient.map({
|
|
252
|
+
[_eI]: [, smithyClient.expectNonNull(input[_EI], `EndpointId`)],
|
|
253
|
+
[_oI]: [, smithyClient.expectNonNull(input[_OI], `OutpostId`)],
|
|
233
254
|
});
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
255
|
+
let body;
|
|
256
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
257
|
+
return b.build();
|
|
237
258
|
};
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
/**
|
|
246
|
-
* @internal
|
|
247
|
-
*/
|
|
248
|
-
constructor(opts) {
|
|
249
|
-
super({
|
|
250
|
-
name: "ConflictException",
|
|
251
|
-
$fault: "client",
|
|
252
|
-
...opts
|
|
259
|
+
const se_ListEndpointsCommand = async (input, context) => {
|
|
260
|
+
const b = core.requestBuilder(input, context);
|
|
261
|
+
const headers = {};
|
|
262
|
+
b.bp("/S3Outposts/ListEndpoints");
|
|
263
|
+
const query = smithyClient.map({
|
|
264
|
+
[_nT]: [, input[_NT]],
|
|
265
|
+
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
253
266
|
});
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
267
|
+
let body;
|
|
268
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
269
|
+
return b.build();
|
|
257
270
|
};
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
271
|
+
const se_ListOutpostsWithS3Command = async (input, context) => {
|
|
272
|
+
const b = core.requestBuilder(input, context);
|
|
273
|
+
const headers = {};
|
|
274
|
+
b.bp("/S3Outposts/ListOutpostsWithS3");
|
|
275
|
+
const query = smithyClient.map({
|
|
276
|
+
[_nT]: [, input[_NT]],
|
|
277
|
+
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
278
|
+
});
|
|
279
|
+
let body;
|
|
280
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
281
|
+
return b.build();
|
|
261
282
|
};
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
* @internal
|
|
271
|
-
*/
|
|
272
|
-
constructor(opts) {
|
|
273
|
-
super({
|
|
274
|
-
name: "InternalServerException",
|
|
275
|
-
$fault: "server",
|
|
276
|
-
...opts
|
|
283
|
+
const se_ListSharedEndpointsCommand = async (input, context) => {
|
|
284
|
+
const b = core.requestBuilder(input, context);
|
|
285
|
+
const headers = {};
|
|
286
|
+
b.bp("/S3Outposts/ListSharedEndpoints");
|
|
287
|
+
const query = smithyClient.map({
|
|
288
|
+
[_nT]: [, input[_NT]],
|
|
289
|
+
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
290
|
+
[_oI]: [, smithyClient.expectNonNull(input[_OI], `OutpostId`)],
|
|
277
291
|
});
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
292
|
+
let body;
|
|
293
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
294
|
+
return b.build();
|
|
281
295
|
};
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
Message;
|
|
289
|
-
/**
|
|
290
|
-
* @internal
|
|
291
|
-
*/
|
|
292
|
-
constructor(opts) {
|
|
293
|
-
super({
|
|
294
|
-
name: "OutpostOfflineException",
|
|
295
|
-
$fault: "client",
|
|
296
|
-
...opts
|
|
296
|
+
const de_CreateEndpointCommand = async (output, context) => {
|
|
297
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
298
|
+
return de_CommandError(output, context);
|
|
299
|
+
}
|
|
300
|
+
const contents = smithyClient.map({
|
|
301
|
+
$metadata: deserializeMetadata(output),
|
|
297
302
|
});
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
303
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
304
|
+
const doc = smithyClient.take(data, {
|
|
305
|
+
EndpointArn: smithyClient.expectString,
|
|
306
|
+
});
|
|
307
|
+
Object.assign(contents, doc);
|
|
308
|
+
return contents;
|
|
301
309
|
};
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
Message;
|
|
309
|
-
/**
|
|
310
|
-
* @internal
|
|
311
|
-
*/
|
|
312
|
-
constructor(opts) {
|
|
313
|
-
super({
|
|
314
|
-
name: "ResourceNotFoundException",
|
|
315
|
-
$fault: "client",
|
|
316
|
-
...opts
|
|
310
|
+
const de_DeleteEndpointCommand = async (output, context) => {
|
|
311
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
312
|
+
return de_CommandError(output, context);
|
|
313
|
+
}
|
|
314
|
+
const contents = smithyClient.map({
|
|
315
|
+
$metadata: deserializeMetadata(output),
|
|
317
316
|
});
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
}
|
|
317
|
+
await smithyClient.collectBody(output.body, context);
|
|
318
|
+
return contents;
|
|
321
319
|
};
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
super({
|
|
334
|
-
name: "ThrottlingException",
|
|
335
|
-
$fault: "client",
|
|
336
|
-
...opts
|
|
320
|
+
const de_ListEndpointsCommand = async (output, context) => {
|
|
321
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
322
|
+
return de_CommandError(output, context);
|
|
323
|
+
}
|
|
324
|
+
const contents = smithyClient.map({
|
|
325
|
+
$metadata: deserializeMetadata(output),
|
|
326
|
+
});
|
|
327
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
328
|
+
const doc = smithyClient.take(data, {
|
|
329
|
+
Endpoints: (_) => de_Endpoints(_),
|
|
330
|
+
NextToken: smithyClient.expectString,
|
|
337
331
|
});
|
|
338
|
-
Object.
|
|
339
|
-
|
|
340
|
-
}
|
|
332
|
+
Object.assign(contents, doc);
|
|
333
|
+
return contents;
|
|
341
334
|
};
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
Message;
|
|
349
|
-
/**
|
|
350
|
-
* @internal
|
|
351
|
-
*/
|
|
352
|
-
constructor(opts) {
|
|
353
|
-
super({
|
|
354
|
-
name: "ValidationException",
|
|
355
|
-
$fault: "client",
|
|
356
|
-
...opts
|
|
335
|
+
const de_ListOutpostsWithS3Command = async (output, context) => {
|
|
336
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
337
|
+
return de_CommandError(output, context);
|
|
338
|
+
}
|
|
339
|
+
const contents = smithyClient.map({
|
|
340
|
+
$metadata: deserializeMetadata(output),
|
|
357
341
|
});
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
342
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
343
|
+
const doc = smithyClient.take(data, {
|
|
344
|
+
NextToken: smithyClient.expectString,
|
|
345
|
+
Outposts: smithyClient._json,
|
|
346
|
+
});
|
|
347
|
+
Object.assign(contents, doc);
|
|
348
|
+
return contents;
|
|
361
349
|
};
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
350
|
+
const de_ListSharedEndpointsCommand = async (output, context) => {
|
|
351
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
352
|
+
return de_CommandError(output, context);
|
|
353
|
+
}
|
|
354
|
+
const contents = smithyClient.map({
|
|
355
|
+
$metadata: deserializeMetadata(output),
|
|
356
|
+
});
|
|
357
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
358
|
+
const doc = smithyClient.take(data, {
|
|
359
|
+
Endpoints: (_) => de_Endpoints(_),
|
|
360
|
+
NextToken: smithyClient.expectString,
|
|
361
|
+
});
|
|
362
|
+
Object.assign(contents, doc);
|
|
363
|
+
return contents;
|
|
368
364
|
};
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
b.bp("/S3Outposts/ListEndpoints");
|
|
406
|
-
const query = (0, import_smithy_client.map)({
|
|
407
|
-
[_nT]: [, input[_NT]],
|
|
408
|
-
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()]
|
|
409
|
-
});
|
|
410
|
-
let body;
|
|
411
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
412
|
-
return b.build();
|
|
413
|
-
}, "se_ListEndpointsCommand");
|
|
414
|
-
var se_ListOutpostsWithS3Command = /* @__PURE__ */ __name(async (input, context) => {
|
|
415
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
416
|
-
const headers = {};
|
|
417
|
-
b.bp("/S3Outposts/ListOutpostsWithS3");
|
|
418
|
-
const query = (0, import_smithy_client.map)({
|
|
419
|
-
[_nT]: [, input[_NT]],
|
|
420
|
-
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()]
|
|
421
|
-
});
|
|
422
|
-
let body;
|
|
423
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
424
|
-
return b.build();
|
|
425
|
-
}, "se_ListOutpostsWithS3Command");
|
|
426
|
-
var se_ListSharedEndpointsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
427
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
428
|
-
const headers = {};
|
|
429
|
-
b.bp("/S3Outposts/ListSharedEndpoints");
|
|
430
|
-
const query = (0, import_smithy_client.map)({
|
|
431
|
-
[_nT]: [, input[_NT]],
|
|
432
|
-
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
433
|
-
[_oI]: [, (0, import_smithy_client.expectNonNull)(input[_OI], `OutpostId`)]
|
|
434
|
-
});
|
|
435
|
-
let body;
|
|
436
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
437
|
-
return b.build();
|
|
438
|
-
}, "se_ListSharedEndpointsCommand");
|
|
439
|
-
var de_CreateEndpointCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
440
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
441
|
-
return de_CommandError(output, context);
|
|
442
|
-
}
|
|
443
|
-
const contents = (0, import_smithy_client.map)({
|
|
444
|
-
$metadata: deserializeMetadata(output)
|
|
445
|
-
});
|
|
446
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
447
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
448
|
-
EndpointArn: import_smithy_client.expectString
|
|
449
|
-
});
|
|
450
|
-
Object.assign(contents, doc);
|
|
451
|
-
return contents;
|
|
452
|
-
}, "de_CreateEndpointCommand");
|
|
453
|
-
var de_DeleteEndpointCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
454
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
455
|
-
return de_CommandError(output, context);
|
|
456
|
-
}
|
|
457
|
-
const contents = (0, import_smithy_client.map)({
|
|
458
|
-
$metadata: deserializeMetadata(output)
|
|
459
|
-
});
|
|
460
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
461
|
-
return contents;
|
|
462
|
-
}, "de_DeleteEndpointCommand");
|
|
463
|
-
var de_ListEndpointsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
464
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
465
|
-
return de_CommandError(output, context);
|
|
466
|
-
}
|
|
467
|
-
const contents = (0, import_smithy_client.map)({
|
|
468
|
-
$metadata: deserializeMetadata(output)
|
|
469
|
-
});
|
|
470
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
471
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
472
|
-
Endpoints: /* @__PURE__ */ __name((_) => de_Endpoints(_, context), "Endpoints"),
|
|
473
|
-
NextToken: import_smithy_client.expectString
|
|
474
|
-
});
|
|
475
|
-
Object.assign(contents, doc);
|
|
476
|
-
return contents;
|
|
477
|
-
}, "de_ListEndpointsCommand");
|
|
478
|
-
var de_ListOutpostsWithS3Command = /* @__PURE__ */ __name(async (output, context) => {
|
|
479
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
480
|
-
return de_CommandError(output, context);
|
|
481
|
-
}
|
|
482
|
-
const contents = (0, import_smithy_client.map)({
|
|
483
|
-
$metadata: deserializeMetadata(output)
|
|
484
|
-
});
|
|
485
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
486
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
487
|
-
NextToken: import_smithy_client.expectString,
|
|
488
|
-
Outposts: import_smithy_client._json
|
|
489
|
-
});
|
|
490
|
-
Object.assign(contents, doc);
|
|
491
|
-
return contents;
|
|
492
|
-
}, "de_ListOutpostsWithS3Command");
|
|
493
|
-
var de_ListSharedEndpointsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
494
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
495
|
-
return de_CommandError(output, context);
|
|
496
|
-
}
|
|
497
|
-
const contents = (0, import_smithy_client.map)({
|
|
498
|
-
$metadata: deserializeMetadata(output)
|
|
499
|
-
});
|
|
500
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
501
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
502
|
-
Endpoints: /* @__PURE__ */ __name((_) => de_Endpoints(_, context), "Endpoints"),
|
|
503
|
-
NextToken: import_smithy_client.expectString
|
|
504
|
-
});
|
|
505
|
-
Object.assign(contents, doc);
|
|
506
|
-
return contents;
|
|
507
|
-
}, "de_ListSharedEndpointsCommand");
|
|
508
|
-
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
509
|
-
const parsedOutput = {
|
|
510
|
-
...output,
|
|
511
|
-
body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
|
|
512
|
-
};
|
|
513
|
-
const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
|
|
514
|
-
switch (errorCode) {
|
|
515
|
-
case "AccessDeniedException":
|
|
516
|
-
case "com.amazonaws.s3outposts#AccessDeniedException":
|
|
517
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
518
|
-
case "ConflictException":
|
|
519
|
-
case "com.amazonaws.s3outposts#ConflictException":
|
|
520
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
521
|
-
case "InternalServerException":
|
|
522
|
-
case "com.amazonaws.s3outposts#InternalServerException":
|
|
523
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
524
|
-
case "OutpostOfflineException":
|
|
525
|
-
case "com.amazonaws.s3outposts#OutpostOfflineException":
|
|
526
|
-
throw await de_OutpostOfflineExceptionRes(parsedOutput, context);
|
|
527
|
-
case "ResourceNotFoundException":
|
|
528
|
-
case "com.amazonaws.s3outposts#ResourceNotFoundException":
|
|
529
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
530
|
-
case "ThrottlingException":
|
|
531
|
-
case "com.amazonaws.s3outposts#ThrottlingException":
|
|
532
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
533
|
-
case "ValidationException":
|
|
534
|
-
case "com.amazonaws.s3outposts#ValidationException":
|
|
535
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
536
|
-
default:
|
|
537
|
-
const parsedBody = parsedOutput.body;
|
|
538
|
-
return throwDefaultError({
|
|
539
|
-
output,
|
|
540
|
-
parsedBody,
|
|
541
|
-
errorCode
|
|
542
|
-
});
|
|
543
|
-
}
|
|
544
|
-
}, "de_CommandError");
|
|
545
|
-
var throwDefaultError = (0, import_smithy_client.withBaseException)(S3OutpostsServiceException);
|
|
546
|
-
var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
547
|
-
const contents = (0, import_smithy_client.map)({});
|
|
548
|
-
const data = parsedOutput.body;
|
|
549
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
550
|
-
Message: import_smithy_client.expectString
|
|
551
|
-
});
|
|
552
|
-
Object.assign(contents, doc);
|
|
553
|
-
const exception = new AccessDeniedException({
|
|
554
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
555
|
-
...contents
|
|
556
|
-
});
|
|
557
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
558
|
-
}, "de_AccessDeniedExceptionRes");
|
|
559
|
-
var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
560
|
-
const contents = (0, import_smithy_client.map)({});
|
|
561
|
-
const data = parsedOutput.body;
|
|
562
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
563
|
-
Message: import_smithy_client.expectString
|
|
564
|
-
});
|
|
565
|
-
Object.assign(contents, doc);
|
|
566
|
-
const exception = new ConflictException({
|
|
567
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
568
|
-
...contents
|
|
569
|
-
});
|
|
570
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
571
|
-
}, "de_ConflictExceptionRes");
|
|
572
|
-
var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
573
|
-
const contents = (0, import_smithy_client.map)({});
|
|
574
|
-
const data = parsedOutput.body;
|
|
575
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
576
|
-
Message: import_smithy_client.expectString
|
|
577
|
-
});
|
|
578
|
-
Object.assign(contents, doc);
|
|
579
|
-
const exception = new InternalServerException({
|
|
580
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
581
|
-
...contents
|
|
582
|
-
});
|
|
583
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
584
|
-
}, "de_InternalServerExceptionRes");
|
|
585
|
-
var de_OutpostOfflineExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
586
|
-
const contents = (0, import_smithy_client.map)({});
|
|
587
|
-
const data = parsedOutput.body;
|
|
588
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
589
|
-
Message: import_smithy_client.expectString
|
|
590
|
-
});
|
|
591
|
-
Object.assign(contents, doc);
|
|
592
|
-
const exception = new OutpostOfflineException({
|
|
593
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
594
|
-
...contents
|
|
595
|
-
});
|
|
596
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
597
|
-
}, "de_OutpostOfflineExceptionRes");
|
|
598
|
-
var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
599
|
-
const contents = (0, import_smithy_client.map)({});
|
|
600
|
-
const data = parsedOutput.body;
|
|
601
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
602
|
-
Message: import_smithy_client.expectString
|
|
603
|
-
});
|
|
604
|
-
Object.assign(contents, doc);
|
|
605
|
-
const exception = new ResourceNotFoundException({
|
|
606
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
607
|
-
...contents
|
|
608
|
-
});
|
|
609
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
610
|
-
}, "de_ResourceNotFoundExceptionRes");
|
|
611
|
-
var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
612
|
-
const contents = (0, import_smithy_client.map)({});
|
|
613
|
-
const data = parsedOutput.body;
|
|
614
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
615
|
-
Message: import_smithy_client.expectString
|
|
616
|
-
});
|
|
617
|
-
Object.assign(contents, doc);
|
|
618
|
-
const exception = new ThrottlingException({
|
|
619
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
620
|
-
...contents
|
|
621
|
-
});
|
|
622
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
623
|
-
}, "de_ThrottlingExceptionRes");
|
|
624
|
-
var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
625
|
-
const contents = (0, import_smithy_client.map)({});
|
|
626
|
-
const data = parsedOutput.body;
|
|
627
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
628
|
-
Message: import_smithy_client.expectString
|
|
629
|
-
});
|
|
630
|
-
Object.assign(contents, doc);
|
|
631
|
-
const exception = new ValidationException({
|
|
632
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
633
|
-
...contents
|
|
634
|
-
});
|
|
635
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
636
|
-
}, "de_ValidationExceptionRes");
|
|
637
|
-
var de_Endpoint = /* @__PURE__ */ __name((output, context) => {
|
|
638
|
-
return (0, import_smithy_client.take)(output, {
|
|
639
|
-
AccessType: import_smithy_client.expectString,
|
|
640
|
-
CidrBlock: import_smithy_client.expectString,
|
|
641
|
-
CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTime"),
|
|
642
|
-
CustomerOwnedIpv4Pool: import_smithy_client.expectString,
|
|
643
|
-
EndpointArn: import_smithy_client.expectString,
|
|
644
|
-
FailedReason: import_smithy_client._json,
|
|
645
|
-
NetworkInterfaces: import_smithy_client._json,
|
|
646
|
-
OutpostsId: import_smithy_client.expectString,
|
|
647
|
-
SecurityGroupId: import_smithy_client.expectString,
|
|
648
|
-
Status: import_smithy_client.expectString,
|
|
649
|
-
SubnetId: import_smithy_client.expectString,
|
|
650
|
-
VpcId: import_smithy_client.expectString
|
|
651
|
-
});
|
|
652
|
-
}, "de_Endpoint");
|
|
653
|
-
var de_Endpoints = /* @__PURE__ */ __name((output, context) => {
|
|
654
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
655
|
-
return de_Endpoint(entry, context);
|
|
656
|
-
});
|
|
657
|
-
return retVal;
|
|
658
|
-
}, "de_Endpoints");
|
|
659
|
-
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
660
|
-
httpStatusCode: output.statusCode,
|
|
661
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
662
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
663
|
-
cfId: output.headers["x-amz-cf-id"]
|
|
664
|
-
}), "deserializeMetadata");
|
|
665
|
-
var _EI = "EndpointId";
|
|
666
|
-
var _MR = "MaxResults";
|
|
667
|
-
var _NT = "NextToken";
|
|
668
|
-
var _OI = "OutpostId";
|
|
669
|
-
var _eI = "endpointId";
|
|
670
|
-
var _mR = "maxResults";
|
|
671
|
-
var _nT = "nextToken";
|
|
672
|
-
var _oI = "outpostId";
|
|
673
|
-
|
|
674
|
-
// src/commands/CreateEndpointCommand.ts
|
|
675
|
-
var CreateEndpointCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
676
|
-
return [
|
|
677
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
678
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
679
|
-
];
|
|
680
|
-
}).s("S3Outposts", "CreateEndpoint", {}).n("S3OutpostsClient", "CreateEndpointCommand").f(void 0, void 0).ser(se_CreateEndpointCommand).de(de_CreateEndpointCommand).build() {
|
|
681
|
-
static {
|
|
682
|
-
__name(this, "CreateEndpointCommand");
|
|
683
|
-
}
|
|
365
|
+
const de_CommandError = async (output, context) => {
|
|
366
|
+
const parsedOutput = {
|
|
367
|
+
...output,
|
|
368
|
+
body: await core$1.parseJsonErrorBody(output.body, context),
|
|
369
|
+
};
|
|
370
|
+
const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
|
|
371
|
+
switch (errorCode) {
|
|
372
|
+
case "AccessDeniedException":
|
|
373
|
+
case "com.amazonaws.s3outposts#AccessDeniedException":
|
|
374
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput);
|
|
375
|
+
case "ConflictException":
|
|
376
|
+
case "com.amazonaws.s3outposts#ConflictException":
|
|
377
|
+
throw await de_ConflictExceptionRes(parsedOutput);
|
|
378
|
+
case "InternalServerException":
|
|
379
|
+
case "com.amazonaws.s3outposts#InternalServerException":
|
|
380
|
+
throw await de_InternalServerExceptionRes(parsedOutput);
|
|
381
|
+
case "OutpostOfflineException":
|
|
382
|
+
case "com.amazonaws.s3outposts#OutpostOfflineException":
|
|
383
|
+
throw await de_OutpostOfflineExceptionRes(parsedOutput);
|
|
384
|
+
case "ResourceNotFoundException":
|
|
385
|
+
case "com.amazonaws.s3outposts#ResourceNotFoundException":
|
|
386
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput);
|
|
387
|
+
case "ThrottlingException":
|
|
388
|
+
case "com.amazonaws.s3outposts#ThrottlingException":
|
|
389
|
+
throw await de_ThrottlingExceptionRes(parsedOutput);
|
|
390
|
+
case "ValidationException":
|
|
391
|
+
case "com.amazonaws.s3outposts#ValidationException":
|
|
392
|
+
throw await de_ValidationExceptionRes(parsedOutput);
|
|
393
|
+
default:
|
|
394
|
+
const parsedBody = parsedOutput.body;
|
|
395
|
+
return throwDefaultError({
|
|
396
|
+
output,
|
|
397
|
+
parsedBody,
|
|
398
|
+
errorCode,
|
|
399
|
+
});
|
|
400
|
+
}
|
|
684
401
|
};
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
}
|
|
402
|
+
const throwDefaultError = smithyClient.withBaseException(S3OutpostsServiceException);
|
|
403
|
+
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
404
|
+
const contents = smithyClient.map({});
|
|
405
|
+
const data = parsedOutput.body;
|
|
406
|
+
const doc = smithyClient.take(data, {
|
|
407
|
+
Message: smithyClient.expectString,
|
|
408
|
+
});
|
|
409
|
+
Object.assign(contents, doc);
|
|
410
|
+
const exception = new AccessDeniedException({
|
|
411
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
412
|
+
...contents,
|
|
413
|
+
});
|
|
414
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
699
415
|
};
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
})
|
|
711
|
-
|
|
712
|
-
__name(this, "ListEndpointsCommand");
|
|
713
|
-
}
|
|
416
|
+
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
417
|
+
const contents = smithyClient.map({});
|
|
418
|
+
const data = parsedOutput.body;
|
|
419
|
+
const doc = smithyClient.take(data, {
|
|
420
|
+
Message: smithyClient.expectString,
|
|
421
|
+
});
|
|
422
|
+
Object.assign(contents, doc);
|
|
423
|
+
const exception = new ConflictException({
|
|
424
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
425
|
+
...contents,
|
|
426
|
+
});
|
|
427
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
714
428
|
};
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
})
|
|
726
|
-
|
|
727
|
-
__name(this, "ListOutpostsWithS3Command");
|
|
728
|
-
}
|
|
429
|
+
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
430
|
+
const contents = smithyClient.map({});
|
|
431
|
+
const data = parsedOutput.body;
|
|
432
|
+
const doc = smithyClient.take(data, {
|
|
433
|
+
Message: smithyClient.expectString,
|
|
434
|
+
});
|
|
435
|
+
Object.assign(contents, doc);
|
|
436
|
+
const exception = new InternalServerException({
|
|
437
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
438
|
+
...contents,
|
|
439
|
+
});
|
|
440
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
729
441
|
};
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
})
|
|
741
|
-
|
|
742
|
-
__name(this, "ListSharedEndpointsCommand");
|
|
743
|
-
}
|
|
442
|
+
const de_OutpostOfflineExceptionRes = async (parsedOutput, context) => {
|
|
443
|
+
const contents = smithyClient.map({});
|
|
444
|
+
const data = parsedOutput.body;
|
|
445
|
+
const doc = smithyClient.take(data, {
|
|
446
|
+
Message: smithyClient.expectString,
|
|
447
|
+
});
|
|
448
|
+
Object.assign(contents, doc);
|
|
449
|
+
const exception = new OutpostOfflineException({
|
|
450
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
451
|
+
...contents,
|
|
452
|
+
});
|
|
453
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
744
454
|
};
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
455
|
+
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
456
|
+
const contents = smithyClient.map({});
|
|
457
|
+
const data = parsedOutput.body;
|
|
458
|
+
const doc = smithyClient.take(data, {
|
|
459
|
+
Message: smithyClient.expectString,
|
|
460
|
+
});
|
|
461
|
+
Object.assign(contents, doc);
|
|
462
|
+
const exception = new ResourceNotFoundException({
|
|
463
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
464
|
+
...contents,
|
|
465
|
+
});
|
|
466
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
753
467
|
};
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
468
|
+
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
469
|
+
const contents = smithyClient.map({});
|
|
470
|
+
const data = parsedOutput.body;
|
|
471
|
+
const doc = smithyClient.take(data, {
|
|
472
|
+
Message: smithyClient.expectString,
|
|
473
|
+
});
|
|
474
|
+
Object.assign(contents, doc);
|
|
475
|
+
const exception = new ThrottlingException({
|
|
476
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
477
|
+
...contents,
|
|
478
|
+
});
|
|
479
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
758
480
|
};
|
|
759
|
-
(
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
481
|
+
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
482
|
+
const contents = smithyClient.map({});
|
|
483
|
+
const data = parsedOutput.body;
|
|
484
|
+
const doc = smithyClient.take(data, {
|
|
485
|
+
Message: smithyClient.expectString,
|
|
486
|
+
});
|
|
487
|
+
Object.assign(contents, doc);
|
|
488
|
+
const exception = new ValidationException({
|
|
489
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
490
|
+
...contents,
|
|
491
|
+
});
|
|
492
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
493
|
+
};
|
|
494
|
+
const de_Endpoint = (output, context) => {
|
|
495
|
+
return smithyClient.take(output, {
|
|
496
|
+
AccessType: smithyClient.expectString,
|
|
497
|
+
CidrBlock: smithyClient.expectString,
|
|
498
|
+
CreationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
499
|
+
CustomerOwnedIpv4Pool: smithyClient.expectString,
|
|
500
|
+
EndpointArn: smithyClient.expectString,
|
|
501
|
+
FailedReason: smithyClient._json,
|
|
502
|
+
NetworkInterfaces: smithyClient._json,
|
|
503
|
+
OutpostsId: smithyClient.expectString,
|
|
504
|
+
SecurityGroupId: smithyClient.expectString,
|
|
505
|
+
Status: smithyClient.expectString,
|
|
506
|
+
SubnetId: smithyClient.expectString,
|
|
507
|
+
VpcId: smithyClient.expectString,
|
|
508
|
+
});
|
|
509
|
+
};
|
|
510
|
+
const de_Endpoints = (output, context) => {
|
|
511
|
+
const retVal = (output || [])
|
|
512
|
+
.filter((e) => e != null)
|
|
513
|
+
.map((entry) => {
|
|
514
|
+
return de_Endpoint(entry);
|
|
515
|
+
});
|
|
516
|
+
return retVal;
|
|
517
|
+
};
|
|
518
|
+
const deserializeMetadata = (output) => ({
|
|
519
|
+
httpStatusCode: output.statusCode,
|
|
520
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
521
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
522
|
+
cfId: output.headers["x-amz-cf-id"],
|
|
523
|
+
});
|
|
524
|
+
const _EI = "EndpointId";
|
|
525
|
+
const _MR = "MaxResults";
|
|
526
|
+
const _NT = "NextToken";
|
|
527
|
+
const _OI = "OutpostId";
|
|
528
|
+
const _eI = "endpointId";
|
|
529
|
+
const _mR = "maxResults";
|
|
530
|
+
const _nT = "nextToken";
|
|
531
|
+
const _oI = "outpostId";
|
|
532
|
+
|
|
533
|
+
class CreateEndpointCommand extends smithyClient.Command
|
|
534
|
+
.classBuilder()
|
|
535
|
+
.ep(commonParams)
|
|
536
|
+
.m(function (Command, cs, config, o) {
|
|
537
|
+
return [
|
|
538
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
539
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
540
|
+
];
|
|
541
|
+
})
|
|
542
|
+
.s("S3Outposts", "CreateEndpoint", {})
|
|
543
|
+
.n("S3OutpostsClient", "CreateEndpointCommand")
|
|
544
|
+
.f(void 0, void 0)
|
|
545
|
+
.ser(se_CreateEndpointCommand)
|
|
546
|
+
.de(de_CreateEndpointCommand)
|
|
547
|
+
.build() {
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
class DeleteEndpointCommand extends smithyClient.Command
|
|
551
|
+
.classBuilder()
|
|
552
|
+
.ep(commonParams)
|
|
553
|
+
.m(function (Command, cs, config, o) {
|
|
554
|
+
return [
|
|
555
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
556
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
557
|
+
];
|
|
558
|
+
})
|
|
559
|
+
.s("S3Outposts", "DeleteEndpoint", {})
|
|
560
|
+
.n("S3OutpostsClient", "DeleteEndpointCommand")
|
|
561
|
+
.f(void 0, void 0)
|
|
562
|
+
.ser(se_DeleteEndpointCommand)
|
|
563
|
+
.de(de_DeleteEndpointCommand)
|
|
564
|
+
.build() {
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
class ListEndpointsCommand extends smithyClient.Command
|
|
568
|
+
.classBuilder()
|
|
569
|
+
.ep(commonParams)
|
|
570
|
+
.m(function (Command, cs, config, o) {
|
|
571
|
+
return [
|
|
572
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
573
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
574
|
+
];
|
|
575
|
+
})
|
|
576
|
+
.s("S3Outposts", "ListEndpoints", {})
|
|
577
|
+
.n("S3OutpostsClient", "ListEndpointsCommand")
|
|
578
|
+
.f(void 0, void 0)
|
|
579
|
+
.ser(se_ListEndpointsCommand)
|
|
580
|
+
.de(de_ListEndpointsCommand)
|
|
581
|
+
.build() {
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
class ListOutpostsWithS3Command extends smithyClient.Command
|
|
585
|
+
.classBuilder()
|
|
586
|
+
.ep(commonParams)
|
|
587
|
+
.m(function (Command, cs, config, o) {
|
|
588
|
+
return [
|
|
589
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
590
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
591
|
+
];
|
|
592
|
+
})
|
|
593
|
+
.s("S3Outposts", "ListOutpostsWithS3", {})
|
|
594
|
+
.n("S3OutpostsClient", "ListOutpostsWithS3Command")
|
|
595
|
+
.f(void 0, void 0)
|
|
596
|
+
.ser(se_ListOutpostsWithS3Command)
|
|
597
|
+
.de(de_ListOutpostsWithS3Command)
|
|
598
|
+
.build() {
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
class ListSharedEndpointsCommand extends smithyClient.Command
|
|
602
|
+
.classBuilder()
|
|
603
|
+
.ep(commonParams)
|
|
604
|
+
.m(function (Command, cs, config, o) {
|
|
605
|
+
return [
|
|
606
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
607
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
608
|
+
];
|
|
609
|
+
})
|
|
610
|
+
.s("S3Outposts", "ListSharedEndpoints", {})
|
|
611
|
+
.n("S3OutpostsClient", "ListSharedEndpointsCommand")
|
|
612
|
+
.f(void 0, void 0)
|
|
613
|
+
.ser(se_ListSharedEndpointsCommand)
|
|
614
|
+
.de(de_ListSharedEndpointsCommand)
|
|
615
|
+
.build() {
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
const commands = {
|
|
619
|
+
CreateEndpointCommand,
|
|
620
|
+
DeleteEndpointCommand,
|
|
621
|
+
ListEndpointsCommand,
|
|
622
|
+
ListOutpostsWithS3Command,
|
|
623
|
+
ListSharedEndpointsCommand,
|
|
624
|
+
};
|
|
625
|
+
class S3Outposts extends S3OutpostsClient {
|
|
626
|
+
}
|
|
627
|
+
smithyClient.createAggregatedClient(commands, S3Outposts);
|
|
766
628
|
|
|
767
|
-
|
|
629
|
+
const paginateListEndpoints = core.createPaginator(S3OutpostsClient, ListEndpointsCommand, "NextToken", "NextToken", "MaxResults");
|
|
768
630
|
|
|
769
|
-
|
|
631
|
+
const paginateListOutpostsWithS3 = core.createPaginator(S3OutpostsClient, ListOutpostsWithS3Command, "NextToken", "NextToken", "MaxResults");
|
|
770
632
|
|
|
771
|
-
|
|
772
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
633
|
+
const paginateListSharedEndpoints = core.createPaginator(S3OutpostsClient, ListSharedEndpointsCommand, "NextToken", "NextToken", "MaxResults");
|
|
773
634
|
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
S3OutpostsClient,
|
|
778
|
-
S3Outposts,
|
|
779
|
-
$Command,
|
|
780
|
-
CreateEndpointCommand,
|
|
781
|
-
DeleteEndpointCommand,
|
|
782
|
-
ListEndpointsCommand,
|
|
783
|
-
ListOutpostsWithS3Command,
|
|
784
|
-
ListSharedEndpointsCommand,
|
|
785
|
-
paginateListEndpoints,
|
|
786
|
-
paginateListOutpostsWithS3,
|
|
787
|
-
paginateListSharedEndpoints,
|
|
788
|
-
AccessDeniedException,
|
|
789
|
-
ConflictException,
|
|
790
|
-
EndpointAccessType,
|
|
791
|
-
InternalServerException,
|
|
792
|
-
OutpostOfflineException,
|
|
793
|
-
ResourceNotFoundException,
|
|
794
|
-
ThrottlingException,
|
|
795
|
-
ValidationException,
|
|
796
|
-
EndpointStatus
|
|
635
|
+
Object.defineProperty(exports, "$Command", {
|
|
636
|
+
enumerable: true,
|
|
637
|
+
get: function () { return smithyClient.Command; }
|
|
797
638
|
});
|
|
798
|
-
|
|
639
|
+
Object.defineProperty(exports, "__Client", {
|
|
640
|
+
enumerable: true,
|
|
641
|
+
get: function () { return smithyClient.Client; }
|
|
642
|
+
});
|
|
643
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
644
|
+
exports.ConflictException = ConflictException;
|
|
645
|
+
exports.CreateEndpointCommand = CreateEndpointCommand;
|
|
646
|
+
exports.DeleteEndpointCommand = DeleteEndpointCommand;
|
|
647
|
+
exports.EndpointAccessType = EndpointAccessType;
|
|
648
|
+
exports.EndpointStatus = EndpointStatus;
|
|
649
|
+
exports.InternalServerException = InternalServerException;
|
|
650
|
+
exports.ListEndpointsCommand = ListEndpointsCommand;
|
|
651
|
+
exports.ListOutpostsWithS3Command = ListOutpostsWithS3Command;
|
|
652
|
+
exports.ListSharedEndpointsCommand = ListSharedEndpointsCommand;
|
|
653
|
+
exports.OutpostOfflineException = OutpostOfflineException;
|
|
654
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
655
|
+
exports.S3Outposts = S3Outposts;
|
|
656
|
+
exports.S3OutpostsClient = S3OutpostsClient;
|
|
657
|
+
exports.S3OutpostsServiceException = S3OutpostsServiceException;
|
|
658
|
+
exports.ThrottlingException = ThrottlingException;
|
|
659
|
+
exports.ValidationException = ValidationException;
|
|
660
|
+
exports.paginateListEndpoints = paginateListEndpoints;
|
|
661
|
+
exports.paginateListOutpostsWithS3 = paginateListOutpostsWithS3;
|
|
662
|
+
exports.paginateListSharedEndpoints = paginateListSharedEndpoints;
|