@aws-sdk/client-ec2-instance-connect 3.1075.0 → 3.1077.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.
@@ -1,159 +0,0 @@
1
- const _AE = "AuthException";
2
- const _AZ = "AvailabilityZone";
3
- const _ECINFE = "EC2InstanceNotFoundException";
4
- const _ECISIE = "EC2InstanceStateInvalidException";
5
- const _ECITIE = "EC2InstanceTypeInvalidException";
6
- const _ECIUE = "EC2InstanceUnavailableException";
7
- const _IAE = "InvalidArgsException";
8
- const _II = "InstanceId";
9
- const _IOSU = "InstanceOSUser";
10
- const _M = "Message";
11
- const _RI = "RequestId";
12
- const _S = "Success";
13
- const _SCADE = "SerialConsoleAccessDisabledException";
14
- const _SCSLEE = "SerialConsoleSessionLimitExceededException";
15
- const _SCSUE = "SerialConsoleSessionUnavailableException";
16
- const _SCSUEe = "SerialConsoleSessionUnsupportedException";
17
- const _SE = "ServiceException";
18
- const _SP = "SerialPort";
19
- const _SSCSSHPK = "SendSerialConsoleSSHPublicKey";
20
- const _SSCSSHPKR = "SendSerialConsoleSSHPublicKeyRequest";
21
- const _SSCSSHPKRe = "SendSerialConsoleSSHPublicKeyResponse";
22
- const _SSHPK = "SSHPublicKey";
23
- const _SSSHPK = "SendSSHPublicKey";
24
- const _SSSHPKR = "SendSSHPublicKeyRequest";
25
- const _SSSHPKRe = "SendSSHPublicKeyResponse";
26
- const _TE = "ThrottlingException";
27
- const _aQE = "awsQueryError";
28
- const _c = "client";
29
- const _e = "error";
30
- const _hE = "httpError";
31
- const _s = "smithy.ts.sdk.synthetic.com.amazonaws.ec2instanceconnect";
32
- const _se = "server";
33
- const n0 = "com.amazonaws.ec2instanceconnect";
34
- const { TypeRegistry } = require("@smithy/core/schema");
35
- const { EC2InstanceConnectServiceException } = require("../models/EC2InstanceConnectServiceException");
36
- const { AuthException, EC2InstanceNotFoundException, EC2InstanceStateInvalidException, EC2InstanceTypeInvalidException, EC2InstanceUnavailableException, InvalidArgsException, SerialConsoleAccessDisabledException, SerialConsoleSessionLimitExceededException, SerialConsoleSessionUnavailableException, SerialConsoleSessionUnsupportedException, ServiceException, ThrottlingException } = require("../models/errors");
37
- const _s_registry = TypeRegistry.for(_s);
38
- const EC2InstanceConnectServiceException$ = [-3, _s, "EC2InstanceConnectServiceException", 0, [], []];
39
- exports.EC2InstanceConnectServiceException$ = EC2InstanceConnectServiceException$;
40
- _s_registry.registerError(EC2InstanceConnectServiceException$, EC2InstanceConnectServiceException);
41
- const n0_registry = TypeRegistry.for(n0);
42
- const AuthException$ = [-3, n0, _AE,
43
- { [_aQE]: [`Forbidden`, 403], [_e]: _c, [_hE]: 403 },
44
- [_M],
45
- [0]
46
- ];
47
- exports.AuthException$ = AuthException$;
48
- n0_registry.registerError(AuthException$, AuthException);
49
- const EC2InstanceNotFoundException$ = [-3, n0, _ECINFE,
50
- { [_aQE]: [`EC2InstanceNotFound`, 404], [_e]: _c, [_hE]: 404 },
51
- [_M],
52
- [0]
53
- ];
54
- exports.EC2InstanceNotFoundException$ = EC2InstanceNotFoundException$;
55
- n0_registry.registerError(EC2InstanceNotFoundException$, EC2InstanceNotFoundException);
56
- const EC2InstanceStateInvalidException$ = [-3, n0, _ECISIE,
57
- { [_aQE]: [`EC2InstanceStateInvalid`, 400], [_e]: _c, [_hE]: 400 },
58
- [_M],
59
- [0]
60
- ];
61
- exports.EC2InstanceStateInvalidException$ = EC2InstanceStateInvalidException$;
62
- n0_registry.registerError(EC2InstanceStateInvalidException$, EC2InstanceStateInvalidException);
63
- const EC2InstanceTypeInvalidException$ = [-3, n0, _ECITIE,
64
- { [_aQE]: [`EC2InstanceTypeInvalid`, 400], [_e]: _c, [_hE]: 400 },
65
- [_M],
66
- [0]
67
- ];
68
- exports.EC2InstanceTypeInvalidException$ = EC2InstanceTypeInvalidException$;
69
- n0_registry.registerError(EC2InstanceTypeInvalidException$, EC2InstanceTypeInvalidException);
70
- const EC2InstanceUnavailableException$ = [-3, n0, _ECIUE,
71
- { [_aQE]: [`EC2InstanceUnavailable`, 503], [_e]: _se, [_hE]: 503 },
72
- [_M],
73
- [0]
74
- ];
75
- exports.EC2InstanceUnavailableException$ = EC2InstanceUnavailableException$;
76
- n0_registry.registerError(EC2InstanceUnavailableException$, EC2InstanceUnavailableException);
77
- const InvalidArgsException$ = [-3, n0, _IAE,
78
- { [_aQE]: [`InvalidArguments`, 400], [_e]: _c, [_hE]: 400 },
79
- [_M],
80
- [0]
81
- ];
82
- exports.InvalidArgsException$ = InvalidArgsException$;
83
- n0_registry.registerError(InvalidArgsException$, InvalidArgsException);
84
- const SerialConsoleAccessDisabledException$ = [-3, n0, _SCADE,
85
- { [_aQE]: [`SerialConsoleAccessDisabled`, 403], [_e]: _c, [_hE]: 403 },
86
- [_M],
87
- [0]
88
- ];
89
- exports.SerialConsoleAccessDisabledException$ = SerialConsoleAccessDisabledException$;
90
- n0_registry.registerError(SerialConsoleAccessDisabledException$, SerialConsoleAccessDisabledException);
91
- const SerialConsoleSessionLimitExceededException$ = [-3, n0, _SCSLEE,
92
- { [_aQE]: [`SerialConsoleSessionLimitExceeded`, 400], [_e]: _c, [_hE]: 400 },
93
- [_M],
94
- [0]
95
- ];
96
- exports.SerialConsoleSessionLimitExceededException$ = SerialConsoleSessionLimitExceededException$;
97
- n0_registry.registerError(SerialConsoleSessionLimitExceededException$, SerialConsoleSessionLimitExceededException);
98
- const SerialConsoleSessionUnavailableException$ = [-3, n0, _SCSUE,
99
- { [_aQE]: [`SerialConsoleSessionUnavailable`, 500], [_e]: _se, [_hE]: 500 },
100
- [_M],
101
- [0]
102
- ];
103
- exports.SerialConsoleSessionUnavailableException$ = SerialConsoleSessionUnavailableException$;
104
- n0_registry.registerError(SerialConsoleSessionUnavailableException$, SerialConsoleSessionUnavailableException);
105
- const SerialConsoleSessionUnsupportedException$ = [-3, n0, _SCSUEe,
106
- { [_aQE]: [`SerialConsoleSessionUnsupported`, 400], [_e]: _c, [_hE]: 400 },
107
- [_M],
108
- [0]
109
- ];
110
- exports.SerialConsoleSessionUnsupportedException$ = SerialConsoleSessionUnsupportedException$;
111
- n0_registry.registerError(SerialConsoleSessionUnsupportedException$, SerialConsoleSessionUnsupportedException);
112
- const ServiceException$ = [-3, n0, _SE,
113
- { [_aQE]: [`InternalServerError`, 500], [_e]: _se, [_hE]: 500 },
114
- [_M],
115
- [0]
116
- ];
117
- exports.ServiceException$ = ServiceException$;
118
- n0_registry.registerError(ServiceException$, ServiceException);
119
- const ThrottlingException$ = [-3, n0, _TE,
120
- { [_aQE]: [`TooManyRequests`, 429], [_e]: _c, [_hE]: 429 },
121
- [_M],
122
- [0]
123
- ];
124
- exports.ThrottlingException$ = ThrottlingException$;
125
- n0_registry.registerError(ThrottlingException$, ThrottlingException);
126
- exports.errorTypeRegistries = [
127
- _s_registry,
128
- n0_registry,
129
- ];
130
- const SendSerialConsoleSSHPublicKeyRequest$ = [3, n0, _SSCSSHPKR,
131
- 0,
132
- [_II, _SSHPK, _SP],
133
- [0, 0, 1], 2
134
- ];
135
- exports.SendSerialConsoleSSHPublicKeyRequest$ = SendSerialConsoleSSHPublicKeyRequest$;
136
- const SendSerialConsoleSSHPublicKeyResponse$ = [3, n0, _SSCSSHPKRe,
137
- 0,
138
- [_RI, _S],
139
- [0, 2]
140
- ];
141
- exports.SendSerialConsoleSSHPublicKeyResponse$ = SendSerialConsoleSSHPublicKeyResponse$;
142
- const SendSSHPublicKeyRequest$ = [3, n0, _SSSHPKR,
143
- 0,
144
- [_II, _IOSU, _SSHPK, _AZ],
145
- [0, 0, 0, 0], 3
146
- ];
147
- exports.SendSSHPublicKeyRequest$ = SendSSHPublicKeyRequest$;
148
- const SendSSHPublicKeyResponse$ = [3, n0, _SSSHPKRe,
149
- 0,
150
- [_RI, _S],
151
- [0, 2]
152
- ];
153
- exports.SendSSHPublicKeyResponse$ = SendSSHPublicKeyResponse$;
154
- exports.SendSerialConsoleSSHPublicKey$ = [9, n0, _SSCSSHPK,
155
- 0, () => SendSerialConsoleSSHPublicKeyRequest$, () => SendSerialConsoleSSHPublicKeyResponse$
156
- ];
157
- exports.SendSSHPublicKey$ = [9, n0, _SSSHPK,
158
- 0, () => SendSSHPublicKeyRequest$, () => SendSSHPublicKeyResponse$
159
- ];