@aws-sdk/client-s3outposts 3.928.0 → 3.930.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 +342 -355
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/S3OutpostsClient.js +2 -0
- package/dist-es/commands/CreateEndpointCommand.js +3 -9
- package/dist-es/commands/DeleteEndpointCommand.js +3 -9
- package/dist-es/commands/ListEndpointsCommand.js +3 -9
- package/dist-es/commands/ListOutpostsWithS3Command.js +3 -9
- package/dist-es/commands/ListSharedEndpointsCommand.js +3 -9
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +317 -0
- package/dist-types/S3OutpostsClient.d.ts +10 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +31 -0
- package/dist-types/ts3.4/S3OutpostsClient.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +36 -0
- package/package.json +33 -33
- package/dist-es/protocols/Aws_restJson1.js +0 -308
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -47
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -65
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const core_1 = require("@aws-sdk/core");
|
|
5
|
+
const protocols_1 = require("@aws-sdk/core/protocols");
|
|
5
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
7
|
const url_parser_1 = require("@smithy/url-parser");
|
|
7
8
|
const util_base64_1 = require("@smithy/util-base64");
|
|
@@ -25,6 +26,7 @@ const getRuntimeConfig = (config) => {
|
|
|
25
26
|
},
|
|
26
27
|
],
|
|
27
28
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
29
|
+
protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.s3outposts" }),
|
|
28
30
|
serviceId: config?.serviceId ?? "S3Outposts",
|
|
29
31
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
30
32
|
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
|
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
|
|
|
4
4
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
5
5
|
import { resolveRegionConfig } from "@smithy/config-resolver";
|
|
6
6
|
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
7
|
+
import { getSchemaSerdePlugin } from "@smithy/core/schema";
|
|
7
8
|
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
8
9
|
import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
|
|
9
10
|
import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
|
|
@@ -28,6 +29,7 @@ export class S3OutpostsClient extends __Client {
|
|
|
28
29
|
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
|
29
30
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
30
31
|
this.config = _config_8;
|
|
32
|
+
this.middlewareStack.use(getSchemaSerdePlugin(this.config));
|
|
31
33
|
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
32
34
|
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
33
35
|
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { CreateEndpoint } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class CreateEndpointCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("S3Outposts", "CreateEndpoint", {})
|
|
17
13
|
.n("S3OutpostsClient", "CreateEndpointCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_CreateEndpointCommand)
|
|
20
|
-
.de(de_CreateEndpointCommand)
|
|
14
|
+
.sc(CreateEndpoint)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DeleteEndpoint } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DeleteEndpointCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("S3Outposts", "DeleteEndpoint", {})
|
|
17
13
|
.n("S3OutpostsClient", "DeleteEndpointCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DeleteEndpointCommand)
|
|
20
|
-
.de(de_DeleteEndpointCommand)
|
|
14
|
+
.sc(DeleteEndpoint)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListEndpoints } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListEndpointsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("S3Outposts", "ListEndpoints", {})
|
|
17
13
|
.n("S3OutpostsClient", "ListEndpointsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListEndpointsCommand)
|
|
20
|
-
.de(de_ListEndpointsCommand)
|
|
14
|
+
.sc(ListEndpoints)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListOutpostsWithS3 } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListOutpostsWithS3Command extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("S3Outposts", "ListOutpostsWithS3", {})
|
|
17
13
|
.n("S3OutpostsClient", "ListOutpostsWithS3Command")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListOutpostsWithS3Command)
|
|
20
|
-
.de(de_ListOutpostsWithS3Command)
|
|
14
|
+
.sc(ListOutpostsWithS3)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListSharedEndpoints } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListSharedEndpointsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("S3Outposts", "ListSharedEndpoints", {})
|
|
17
13
|
.n("S3OutpostsClient", "ListSharedEndpointsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListSharedEndpointsCommand)
|
|
20
|
-
.de(de_ListSharedEndpointsCommand)
|
|
14
|
+
.sc(ListSharedEndpoints)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.s3outposts" }),
|
|
25
27
|
serviceId: config?.serviceId ?? "S3Outposts",
|
|
26
28
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
29
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
@@ -0,0 +1,317 @@
|
|
|
1
|
+
const _ADE = "AccessDeniedException";
|
|
2
|
+
const _AT = "AccessType";
|
|
3
|
+
const _CB = "CidrBlock";
|
|
4
|
+
const _CE = "ConflictException";
|
|
5
|
+
const _CER = "CreateEndpointRequest";
|
|
6
|
+
const _CERr = "CreateEndpointResult";
|
|
7
|
+
const _CEr = "CreateEndpoint";
|
|
8
|
+
const _CIB = "CapacityInBytes";
|
|
9
|
+
const _COIP = "CustomerOwnedIpv4Pool";
|
|
10
|
+
const _CT = "CreationTime";
|
|
11
|
+
const _DE = "DeleteEndpoint";
|
|
12
|
+
const _DER = "DeleteEndpointRequest";
|
|
13
|
+
const _E = "Endpoint";
|
|
14
|
+
const _EA = "EndpointArn";
|
|
15
|
+
const _EC = "ErrorCode";
|
|
16
|
+
const _EI = "EndpointId";
|
|
17
|
+
const _En = "Endpoints";
|
|
18
|
+
const _FR = "FailedReason";
|
|
19
|
+
const _ISE = "InternalServerException";
|
|
20
|
+
const _LE = "ListEndpoints";
|
|
21
|
+
const _LER = "ListEndpointsRequest";
|
|
22
|
+
const _LERi = "ListEndpointsResult";
|
|
23
|
+
const _LOWS = "ListOutpostsWithS3";
|
|
24
|
+
const _LOWSR = "ListOutpostsWithS3Request";
|
|
25
|
+
const _LOWSRi = "ListOutpostsWithS3Result";
|
|
26
|
+
const _LSE = "ListSharedEndpoints";
|
|
27
|
+
const _LSER = "ListSharedEndpointsRequest";
|
|
28
|
+
const _LSERi = "ListSharedEndpointsResult";
|
|
29
|
+
const _M = "Message";
|
|
30
|
+
const _MR = "MaxResults";
|
|
31
|
+
const _NI = "NetworkInterfaces";
|
|
32
|
+
const _NII = "NetworkInterfaceId";
|
|
33
|
+
const _NIe = "NetworkInterface";
|
|
34
|
+
const _NT = "NextToken";
|
|
35
|
+
const _O = "Outposts";
|
|
36
|
+
const _OA = "OutpostArn";
|
|
37
|
+
const _OI = "OutpostId";
|
|
38
|
+
const _OIu = "OutpostsId";
|
|
39
|
+
const _OIw = "OwnerId";
|
|
40
|
+
const _OOE = "OutpostOfflineException";
|
|
41
|
+
const _Ou = "Outpost";
|
|
42
|
+
const _RNFE = "ResourceNotFoundException";
|
|
43
|
+
const _S = "Status";
|
|
44
|
+
const _SGI = "SecurityGroupId";
|
|
45
|
+
const _SI = "SubnetId";
|
|
46
|
+
const _SOA = "S3OutpostArn";
|
|
47
|
+
const _TE = "ThrottlingException";
|
|
48
|
+
const _VE = "ValidationException";
|
|
49
|
+
const _VI = "VpcId";
|
|
50
|
+
const _c = "client";
|
|
51
|
+
const _e = "error";
|
|
52
|
+
const _eI = "endpointId";
|
|
53
|
+
const _h = "http";
|
|
54
|
+
const _hE = "httpError";
|
|
55
|
+
const _hQ = "httpQuery";
|
|
56
|
+
const _mR = "maxResults";
|
|
57
|
+
const _nT = "nextToken";
|
|
58
|
+
const _oI = "outpostId";
|
|
59
|
+
const _s = "server";
|
|
60
|
+
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.s3outposts";
|
|
61
|
+
const n0 = "com.amazonaws.s3outposts";
|
|
62
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
63
|
+
import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, OutpostOfflineException as __OutpostOfflineException, ResourceNotFoundException as __ResourceNotFoundException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/index";
|
|
64
|
+
import { S3OutpostsServiceException as __S3OutpostsServiceException } from "../models/S3OutpostsServiceException";
|
|
65
|
+
export var AccessDeniedException = [
|
|
66
|
+
-3,
|
|
67
|
+
n0,
|
|
68
|
+
_ADE,
|
|
69
|
+
{
|
|
70
|
+
[_e]: _c,
|
|
71
|
+
[_hE]: 403,
|
|
72
|
+
},
|
|
73
|
+
[_M],
|
|
74
|
+
[0],
|
|
75
|
+
];
|
|
76
|
+
TypeRegistry.for(n0).registerError(AccessDeniedException, __AccessDeniedException);
|
|
77
|
+
export var ConflictException = [
|
|
78
|
+
-3,
|
|
79
|
+
n0,
|
|
80
|
+
_CE,
|
|
81
|
+
{
|
|
82
|
+
[_e]: _c,
|
|
83
|
+
[_hE]: 409,
|
|
84
|
+
},
|
|
85
|
+
[_M],
|
|
86
|
+
[0],
|
|
87
|
+
];
|
|
88
|
+
TypeRegistry.for(n0).registerError(ConflictException, __ConflictException);
|
|
89
|
+
export var CreateEndpointRequest = [
|
|
90
|
+
3,
|
|
91
|
+
n0,
|
|
92
|
+
_CER,
|
|
93
|
+
0,
|
|
94
|
+
[_OI, _SI, _SGI, _AT, _COIP],
|
|
95
|
+
[0, 0, 0, 0, 0],
|
|
96
|
+
];
|
|
97
|
+
export var CreateEndpointResult = [3, n0, _CERr, 0, [_EA], [0]];
|
|
98
|
+
export var DeleteEndpointRequest = [
|
|
99
|
+
3,
|
|
100
|
+
n0,
|
|
101
|
+
_DER,
|
|
102
|
+
0,
|
|
103
|
+
[_EI, _OI],
|
|
104
|
+
[
|
|
105
|
+
[
|
|
106
|
+
0,
|
|
107
|
+
{
|
|
108
|
+
[_hQ]: _eI,
|
|
109
|
+
},
|
|
110
|
+
],
|
|
111
|
+
[
|
|
112
|
+
0,
|
|
113
|
+
{
|
|
114
|
+
[_hQ]: _oI,
|
|
115
|
+
},
|
|
116
|
+
],
|
|
117
|
+
],
|
|
118
|
+
];
|
|
119
|
+
export var Endpoint = [
|
|
120
|
+
3,
|
|
121
|
+
n0,
|
|
122
|
+
_E,
|
|
123
|
+
0,
|
|
124
|
+
[_EA, _OIu, _CB, _S, _CT, _NI, _VI, _SI, _SGI, _AT, _COIP, _FR],
|
|
125
|
+
[0, 0, 0, 0, 4, () => NetworkInterfaces, 0, 0, 0, 0, 0, () => FailedReason],
|
|
126
|
+
];
|
|
127
|
+
export var FailedReason = [3, n0, _FR, 0, [_EC, _M], [0, 0]];
|
|
128
|
+
export var InternalServerException = [
|
|
129
|
+
-3,
|
|
130
|
+
n0,
|
|
131
|
+
_ISE,
|
|
132
|
+
{
|
|
133
|
+
[_e]: _s,
|
|
134
|
+
[_hE]: 500,
|
|
135
|
+
},
|
|
136
|
+
[_M],
|
|
137
|
+
[0],
|
|
138
|
+
];
|
|
139
|
+
TypeRegistry.for(n0).registerError(InternalServerException, __InternalServerException);
|
|
140
|
+
export var ListEndpointsRequest = [
|
|
141
|
+
3,
|
|
142
|
+
n0,
|
|
143
|
+
_LER,
|
|
144
|
+
0,
|
|
145
|
+
[_NT, _MR],
|
|
146
|
+
[
|
|
147
|
+
[
|
|
148
|
+
0,
|
|
149
|
+
{
|
|
150
|
+
[_hQ]: _nT,
|
|
151
|
+
},
|
|
152
|
+
],
|
|
153
|
+
[
|
|
154
|
+
1,
|
|
155
|
+
{
|
|
156
|
+
[_hQ]: _mR,
|
|
157
|
+
},
|
|
158
|
+
],
|
|
159
|
+
],
|
|
160
|
+
];
|
|
161
|
+
export var ListEndpointsResult = [3, n0, _LERi, 0, [_En, _NT], [() => Endpoints, 0]];
|
|
162
|
+
export var ListOutpostsWithS3Request = [
|
|
163
|
+
3,
|
|
164
|
+
n0,
|
|
165
|
+
_LOWSR,
|
|
166
|
+
0,
|
|
167
|
+
[_NT, _MR],
|
|
168
|
+
[
|
|
169
|
+
[
|
|
170
|
+
0,
|
|
171
|
+
{
|
|
172
|
+
[_hQ]: _nT,
|
|
173
|
+
},
|
|
174
|
+
],
|
|
175
|
+
[
|
|
176
|
+
1,
|
|
177
|
+
{
|
|
178
|
+
[_hQ]: _mR,
|
|
179
|
+
},
|
|
180
|
+
],
|
|
181
|
+
],
|
|
182
|
+
];
|
|
183
|
+
export var ListOutpostsWithS3Result = [3, n0, _LOWSRi, 0, [_O, _NT], [() => Outposts, 0]];
|
|
184
|
+
export var ListSharedEndpointsRequest = [
|
|
185
|
+
3,
|
|
186
|
+
n0,
|
|
187
|
+
_LSER,
|
|
188
|
+
0,
|
|
189
|
+
[_NT, _MR, _OI],
|
|
190
|
+
[
|
|
191
|
+
[
|
|
192
|
+
0,
|
|
193
|
+
{
|
|
194
|
+
[_hQ]: _nT,
|
|
195
|
+
},
|
|
196
|
+
],
|
|
197
|
+
[
|
|
198
|
+
1,
|
|
199
|
+
{
|
|
200
|
+
[_hQ]: _mR,
|
|
201
|
+
},
|
|
202
|
+
],
|
|
203
|
+
[
|
|
204
|
+
0,
|
|
205
|
+
{
|
|
206
|
+
[_hQ]: _oI,
|
|
207
|
+
},
|
|
208
|
+
],
|
|
209
|
+
],
|
|
210
|
+
];
|
|
211
|
+
export var ListSharedEndpointsResult = [3, n0, _LSERi, 0, [_En, _NT], [() => Endpoints, 0]];
|
|
212
|
+
export var NetworkInterface = [3, n0, _NIe, 0, [_NII], [0]];
|
|
213
|
+
export var Outpost = [3, n0, _Ou, 0, [_OA, _SOA, _OI, _OIw, _CIB], [0, 0, 0, 0, 1]];
|
|
214
|
+
export var OutpostOfflineException = [
|
|
215
|
+
-3,
|
|
216
|
+
n0,
|
|
217
|
+
_OOE,
|
|
218
|
+
{
|
|
219
|
+
[_e]: _c,
|
|
220
|
+
[_hE]: 400,
|
|
221
|
+
},
|
|
222
|
+
[_M],
|
|
223
|
+
[0],
|
|
224
|
+
];
|
|
225
|
+
TypeRegistry.for(n0).registerError(OutpostOfflineException, __OutpostOfflineException);
|
|
226
|
+
export var ResourceNotFoundException = [
|
|
227
|
+
-3,
|
|
228
|
+
n0,
|
|
229
|
+
_RNFE,
|
|
230
|
+
{
|
|
231
|
+
[_e]: _c,
|
|
232
|
+
[_hE]: 404,
|
|
233
|
+
},
|
|
234
|
+
[_M],
|
|
235
|
+
[0],
|
|
236
|
+
];
|
|
237
|
+
TypeRegistry.for(n0).registerError(ResourceNotFoundException, __ResourceNotFoundException);
|
|
238
|
+
export var ThrottlingException = [
|
|
239
|
+
-3,
|
|
240
|
+
n0,
|
|
241
|
+
_TE,
|
|
242
|
+
{
|
|
243
|
+
[_e]: _c,
|
|
244
|
+
[_hE]: 429,
|
|
245
|
+
},
|
|
246
|
+
[_M],
|
|
247
|
+
[0],
|
|
248
|
+
];
|
|
249
|
+
TypeRegistry.for(n0).registerError(ThrottlingException, __ThrottlingException);
|
|
250
|
+
export var ValidationException = [
|
|
251
|
+
-3,
|
|
252
|
+
n0,
|
|
253
|
+
_VE,
|
|
254
|
+
{
|
|
255
|
+
[_e]: _c,
|
|
256
|
+
[_hE]: 400,
|
|
257
|
+
},
|
|
258
|
+
[_M],
|
|
259
|
+
[0],
|
|
260
|
+
];
|
|
261
|
+
TypeRegistry.for(n0).registerError(ValidationException, __ValidationException);
|
|
262
|
+
export var __Unit = "unit";
|
|
263
|
+
export var S3OutpostsServiceException = [-3, _sm, "S3OutpostsServiceException", 0, [], []];
|
|
264
|
+
TypeRegistry.for(_sm).registerError(S3OutpostsServiceException, __S3OutpostsServiceException);
|
|
265
|
+
export var Endpoints = [1, n0, _En, 0, () => Endpoint];
|
|
266
|
+
export var NetworkInterfaces = [1, n0, _NI, 0, () => NetworkInterface];
|
|
267
|
+
export var Outposts = [1, n0, _O, 0, () => Outpost];
|
|
268
|
+
export var CreateEndpoint = [
|
|
269
|
+
9,
|
|
270
|
+
n0,
|
|
271
|
+
_CEr,
|
|
272
|
+
{
|
|
273
|
+
[_h]: ["POST", "/S3Outposts/CreateEndpoint", 200],
|
|
274
|
+
},
|
|
275
|
+
() => CreateEndpointRequest,
|
|
276
|
+
() => CreateEndpointResult,
|
|
277
|
+
];
|
|
278
|
+
export var DeleteEndpoint = [
|
|
279
|
+
9,
|
|
280
|
+
n0,
|
|
281
|
+
_DE,
|
|
282
|
+
{
|
|
283
|
+
[_h]: ["DELETE", "/S3Outposts/DeleteEndpoint", 200],
|
|
284
|
+
},
|
|
285
|
+
() => DeleteEndpointRequest,
|
|
286
|
+
() => __Unit,
|
|
287
|
+
];
|
|
288
|
+
export var ListEndpoints = [
|
|
289
|
+
9,
|
|
290
|
+
n0,
|
|
291
|
+
_LE,
|
|
292
|
+
{
|
|
293
|
+
[_h]: ["GET", "/S3Outposts/ListEndpoints", 200],
|
|
294
|
+
},
|
|
295
|
+
() => ListEndpointsRequest,
|
|
296
|
+
() => ListEndpointsResult,
|
|
297
|
+
];
|
|
298
|
+
export var ListOutpostsWithS3 = [
|
|
299
|
+
9,
|
|
300
|
+
n0,
|
|
301
|
+
_LOWS,
|
|
302
|
+
{
|
|
303
|
+
[_h]: ["GET", "/S3Outposts/ListOutpostsWithS3", 200],
|
|
304
|
+
},
|
|
305
|
+
() => ListOutpostsWithS3Request,
|
|
306
|
+
() => ListOutpostsWithS3Result,
|
|
307
|
+
];
|
|
308
|
+
export var ListSharedEndpoints = [
|
|
309
|
+
9,
|
|
310
|
+
n0,
|
|
311
|
+
_LSE,
|
|
312
|
+
{
|
|
313
|
+
[_h]: ["GET", "/S3Outposts/ListSharedEndpoints", 200],
|
|
314
|
+
},
|
|
315
|
+
() => ListSharedEndpointsRequest,
|
|
316
|
+
() => ListSharedEndpointsResult,
|
|
317
|
+
];
|
|
@@ -5,7 +5,7 @@ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-
|
|
|
5
5
|
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
6
|
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
|
|
8
|
-
import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
8
|
+
import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, ClientProtocol, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, HttpRequest, HttpResponse, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
9
|
import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
10
|
import { CreateEndpointCommandInput, CreateEndpointCommandOutput } from "./commands/CreateEndpointCommand";
|
|
11
11
|
import { DeleteEndpointCommandInput, DeleteEndpointCommandOutput } from "./commands/DeleteEndpointCommand";
|
|
@@ -146,6 +146,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
146
146
|
* Optional extensions
|
|
147
147
|
*/
|
|
148
148
|
extensions?: RuntimeExtension[];
|
|
149
|
+
/**
|
|
150
|
+
* The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
|
|
151
|
+
* may be overridden. A default will always be set by the client.
|
|
152
|
+
* Available options depend on the service's supported protocols and will not be validated by
|
|
153
|
+
* the client.
|
|
154
|
+
* @alpha
|
|
155
|
+
*
|
|
156
|
+
*/
|
|
157
|
+
protocol?: ClientProtocol<HttpRequest, HttpResponse>;
|
|
149
158
|
/**
|
|
150
159
|
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
151
160
|
*/
|
|
@@ -29,6 +29,7 @@ export declare const getRuntimeConfig: (config: S3OutpostsClientConfig) => {
|
|
|
29
29
|
profile?: string;
|
|
30
30
|
logger: import("@smithy/types").Logger;
|
|
31
31
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
32
|
+
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
32
33
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
33
34
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
34
35
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
@@ -31,6 +31,7 @@ export declare const getRuntimeConfig: (config: S3OutpostsClientConfig) => {
|
|
|
31
31
|
profile?: string;
|
|
32
32
|
logger: import("@smithy/types").Logger;
|
|
33
33
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
34
|
+
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
34
35
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
35
36
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
36
37
|
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
@@ -27,6 +27,7 @@ export declare const getRuntimeConfig: (config: S3OutpostsClientConfig) => {
|
|
|
27
27
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
28
28
|
logger: import("@smithy/types").Logger;
|
|
29
29
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
30
|
+
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
30
31
|
defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
|
|
31
32
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
32
33
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
@@ -14,6 +14,7 @@ export declare const getRuntimeConfig: (config: S3OutpostsClientConfig) => {
|
|
|
14
14
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").S3OutpostsHttpAuthSchemeProvider;
|
|
15
15
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
16
16
|
logger: import("@smithy/types").Logger;
|
|
17
|
+
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
17
18
|
serviceId: string;
|
|
18
19
|
urlParser: import("@smithy/types").UrlParser;
|
|
19
20
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { StaticErrorSchema, StaticListSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
2
|
+
export declare var AccessDeniedException: StaticErrorSchema;
|
|
3
|
+
export declare var ConflictException: StaticErrorSchema;
|
|
4
|
+
export declare var CreateEndpointRequest: StaticStructureSchema;
|
|
5
|
+
export declare var CreateEndpointResult: StaticStructureSchema;
|
|
6
|
+
export declare var DeleteEndpointRequest: StaticStructureSchema;
|
|
7
|
+
export declare var Endpoint: StaticStructureSchema;
|
|
8
|
+
export declare var FailedReason: StaticStructureSchema;
|
|
9
|
+
export declare var InternalServerException: StaticErrorSchema;
|
|
10
|
+
export declare var ListEndpointsRequest: StaticStructureSchema;
|
|
11
|
+
export declare var ListEndpointsResult: StaticStructureSchema;
|
|
12
|
+
export declare var ListOutpostsWithS3Request: StaticStructureSchema;
|
|
13
|
+
export declare var ListOutpostsWithS3Result: StaticStructureSchema;
|
|
14
|
+
export declare var ListSharedEndpointsRequest: StaticStructureSchema;
|
|
15
|
+
export declare var ListSharedEndpointsResult: StaticStructureSchema;
|
|
16
|
+
export declare var NetworkInterface: StaticStructureSchema;
|
|
17
|
+
export declare var Outpost: StaticStructureSchema;
|
|
18
|
+
export declare var OutpostOfflineException: StaticErrorSchema;
|
|
19
|
+
export declare var ResourceNotFoundException: StaticErrorSchema;
|
|
20
|
+
export declare var ThrottlingException: StaticErrorSchema;
|
|
21
|
+
export declare var ValidationException: StaticErrorSchema;
|
|
22
|
+
export declare var __Unit: "unit";
|
|
23
|
+
export declare var S3OutpostsServiceException: StaticErrorSchema;
|
|
24
|
+
export declare var Endpoints: StaticListSchema;
|
|
25
|
+
export declare var NetworkInterfaces: StaticListSchema;
|
|
26
|
+
export declare var Outposts: StaticListSchema;
|
|
27
|
+
export declare var CreateEndpoint: StaticOperationSchema;
|
|
28
|
+
export declare var DeleteEndpoint: StaticOperationSchema;
|
|
29
|
+
export declare var ListEndpoints: StaticOperationSchema;
|
|
30
|
+
export declare var ListOutpostsWithS3: StaticOperationSchema;
|
|
31
|
+
export declare var ListSharedEndpoints: StaticOperationSchema;
|
|
@@ -30,10 +30,13 @@ import {
|
|
|
30
30
|
BodyLengthCalculator as __BodyLengthCalculator,
|
|
31
31
|
CheckOptionalClientConfig as __CheckOptionalClientConfig,
|
|
32
32
|
ChecksumConstructor as __ChecksumConstructor,
|
|
33
|
+
ClientProtocol,
|
|
33
34
|
Decoder as __Decoder,
|
|
34
35
|
Encoder as __Encoder,
|
|
35
36
|
HashConstructor as __HashConstructor,
|
|
36
37
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
38
|
+
HttpRequest,
|
|
39
|
+
HttpResponse,
|
|
37
40
|
Logger as __Logger,
|
|
38
41
|
Provider as __Provider,
|
|
39
42
|
Provider,
|
|
@@ -108,6 +111,7 @@ export interface ClientDefaults
|
|
|
108
111
|
retryMode?: string | __Provider<string>;
|
|
109
112
|
logger?: __Logger;
|
|
110
113
|
extensions?: RuntimeExtension[];
|
|
114
|
+
protocol?: ClientProtocol<HttpRequest, HttpResponse>;
|
|
111
115
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
112
116
|
}
|
|
113
117
|
export type S3OutpostsClientConfigType = Partial<
|
|
@@ -38,6 +38,10 @@ export declare const getRuntimeConfig: (config: S3OutpostsClientConfig) => {
|
|
|
38
38
|
profile?: string;
|
|
39
39
|
logger: import("@smithy/types").Logger;
|
|
40
40
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
41
|
+
protocol: import("@smithy/types").ClientProtocol<
|
|
42
|
+
import("@smithy/types").HttpRequest,
|
|
43
|
+
import("@smithy/types").HttpResponse
|
|
44
|
+
>;
|
|
41
45
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
42
46
|
userAgentAppId?:
|
|
43
47
|
| string
|
|
@@ -38,6 +38,10 @@ export declare const getRuntimeConfig: (config: S3OutpostsClientConfig) => {
|
|
|
38
38
|
profile?: string;
|
|
39
39
|
logger: import("@smithy/types").Logger;
|
|
40
40
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
41
|
+
protocol: import("@smithy/types").ClientProtocol<
|
|
42
|
+
import("@smithy/types").HttpRequest,
|
|
43
|
+
import("@smithy/types").HttpResponse
|
|
44
|
+
>;
|
|
41
45
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
42
46
|
retryStrategy?:
|
|
43
47
|
| import("@smithy/types").RetryStrategy
|
|
@@ -37,6 +37,10 @@ export declare const getRuntimeConfig: (config: S3OutpostsClientConfig) => {
|
|
|
37
37
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
38
38
|
logger: import("@smithy/types").Logger;
|
|
39
39
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
40
|
+
protocol: import("@smithy/types").ClientProtocol<
|
|
41
|
+
import("@smithy/types").HttpRequest,
|
|
42
|
+
import("@smithy/types").HttpResponse
|
|
43
|
+
>;
|
|
40
44
|
defaultsMode:
|
|
41
45
|
| import("@smithy/smithy-client").DefaultsMode
|
|
42
46
|
| import("@smithy/types").Provider<
|
|
@@ -14,6 +14,10 @@ export declare const getRuntimeConfig: (config: S3OutpostsClientConfig) => {
|
|
|
14
14
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").S3OutpostsHttpAuthSchemeProvider;
|
|
15
15
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
16
16
|
logger: import("@smithy/types").Logger;
|
|
17
|
+
protocol: import("@smithy/types").ClientProtocol<
|
|
18
|
+
import("@smithy/types").HttpRequest,
|
|
19
|
+
import("@smithy/types").HttpResponse
|
|
20
|
+
>;
|
|
17
21
|
serviceId: string;
|
|
18
22
|
urlParser: import("@smithy/types").UrlParser;
|
|
19
23
|
utf8Decoder: import("@smithy/types").Decoder;
|