@aws-sdk/client-direct-connect 3.303.0 → 3.309.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/commands/AcceptDirectConnectGatewayAssociationProposalCommand.js +2 -2
- package/dist-cjs/commands/AllocateConnectionOnInterconnectCommand.js +2 -2
- package/dist-cjs/commands/AllocateHostedConnectionCommand.js +2 -2
- package/dist-cjs/commands/AllocatePrivateVirtualInterfaceCommand.js +2 -2
- package/dist-cjs/commands/AllocatePublicVirtualInterfaceCommand.js +2 -2
- package/dist-cjs/commands/AllocateTransitVirtualInterfaceCommand.js +2 -2
- package/dist-cjs/commands/AssociateConnectionWithLagCommand.js +2 -2
- package/dist-cjs/commands/AssociateHostedConnectionCommand.js +2 -2
- package/dist-cjs/commands/AssociateMacSecKeyCommand.js +2 -2
- package/dist-cjs/commands/AssociateVirtualInterfaceCommand.js +2 -2
- package/dist-cjs/commands/ConfirmConnectionCommand.js +2 -2
- package/dist-cjs/commands/ConfirmCustomerAgreementCommand.js +2 -2
- package/dist-cjs/commands/ConfirmPrivateVirtualInterfaceCommand.js +2 -2
- package/dist-cjs/commands/ConfirmPublicVirtualInterfaceCommand.js +2 -2
- package/dist-cjs/commands/ConfirmTransitVirtualInterfaceCommand.js +2 -2
- package/dist-cjs/commands/CreateBGPPeerCommand.js +2 -2
- package/dist-cjs/commands/CreateConnectionCommand.js +2 -2
- package/dist-cjs/commands/CreateDirectConnectGatewayAssociationCommand.js +2 -2
- package/dist-cjs/commands/CreateDirectConnectGatewayAssociationProposalCommand.js +2 -2
- package/dist-cjs/commands/CreateDirectConnectGatewayCommand.js +2 -2
- package/dist-cjs/commands/CreateInterconnectCommand.js +2 -2
- package/dist-cjs/commands/CreateLagCommand.js +2 -2
- package/dist-cjs/commands/CreatePrivateVirtualInterfaceCommand.js +2 -2
- package/dist-cjs/commands/CreatePublicVirtualInterfaceCommand.js +2 -2
- package/dist-cjs/commands/CreateTransitVirtualInterfaceCommand.js +2 -2
- package/dist-cjs/commands/DeleteBGPPeerCommand.js +2 -2
- package/dist-cjs/commands/DeleteConnectionCommand.js +2 -2
- package/dist-cjs/commands/DeleteDirectConnectGatewayAssociationCommand.js +2 -2
- package/dist-cjs/commands/DeleteDirectConnectGatewayAssociationProposalCommand.js +2 -2
- package/dist-cjs/commands/DeleteDirectConnectGatewayCommand.js +2 -2
- package/dist-cjs/commands/DeleteInterconnectCommand.js +2 -2
- package/dist-cjs/commands/DeleteLagCommand.js +2 -2
- package/dist-cjs/commands/DeleteVirtualInterfaceCommand.js +2 -2
- package/dist-cjs/commands/DescribeConnectionLoaCommand.js +2 -2
- package/dist-cjs/commands/DescribeConnectionsCommand.js +2 -2
- package/dist-cjs/commands/DescribeConnectionsOnInterconnectCommand.js +2 -2
- package/dist-cjs/commands/DescribeCustomerMetadataCommand.js +2 -2
- package/dist-cjs/commands/DescribeDirectConnectGatewayAssociationProposalsCommand.js +2 -2
- package/dist-cjs/commands/DescribeDirectConnectGatewayAssociationsCommand.js +2 -2
- package/dist-cjs/commands/DescribeDirectConnectGatewayAttachmentsCommand.js +2 -2
- package/dist-cjs/commands/DescribeDirectConnectGatewaysCommand.js +2 -2
- package/dist-cjs/commands/DescribeHostedConnectionsCommand.js +2 -2
- package/dist-cjs/commands/DescribeInterconnectLoaCommand.js +2 -2
- package/dist-cjs/commands/DescribeInterconnectsCommand.js +2 -2
- package/dist-cjs/commands/DescribeLagsCommand.js +2 -2
- package/dist-cjs/commands/DescribeLoaCommand.js +2 -2
- package/dist-cjs/commands/DescribeLocationsCommand.js +2 -2
- package/dist-cjs/commands/DescribeRouterConfigurationCommand.js +2 -2
- package/dist-cjs/commands/DescribeTagsCommand.js +2 -2
- package/dist-cjs/commands/DescribeVirtualGatewaysCommand.js +2 -2
- package/dist-cjs/commands/DescribeVirtualInterfacesCommand.js +2 -2
- package/dist-cjs/commands/DisassociateConnectionFromLagCommand.js +2 -2
- package/dist-cjs/commands/DisassociateMacSecKeyCommand.js +2 -2
- package/dist-cjs/commands/ListVirtualInterfaceTestHistoryCommand.js +2 -2
- package/dist-cjs/commands/StartBgpFailoverTestCommand.js +2 -2
- package/dist-cjs/commands/StopBgpFailoverTestCommand.js +2 -2
- package/dist-cjs/commands/TagResourceCommand.js +2 -2
- package/dist-cjs/commands/UntagResourceCommand.js +2 -2
- package/dist-cjs/commands/UpdateConnectionCommand.js +2 -2
- package/dist-cjs/commands/UpdateDirectConnectGatewayAssociationCommand.js +2 -2
- package/dist-cjs/commands/UpdateDirectConnectGatewayCommand.js +2 -2
- package/dist-cjs/commands/UpdateLagCommand.js +2 -2
- package/dist-cjs/commands/UpdateVirtualInterfaceAttributesCommand.js +2 -2
- package/dist-cjs/protocols/Aws_json1_1.js +923 -955
- package/dist-es/commands/AcceptDirectConnectGatewayAssociationProposalCommand.js +3 -3
- package/dist-es/commands/AllocateConnectionOnInterconnectCommand.js +3 -3
- package/dist-es/commands/AllocateHostedConnectionCommand.js +3 -3
- package/dist-es/commands/AllocatePrivateVirtualInterfaceCommand.js +3 -3
- package/dist-es/commands/AllocatePublicVirtualInterfaceCommand.js +3 -3
- package/dist-es/commands/AllocateTransitVirtualInterfaceCommand.js +3 -3
- package/dist-es/commands/AssociateConnectionWithLagCommand.js +3 -3
- package/dist-es/commands/AssociateHostedConnectionCommand.js +3 -3
- package/dist-es/commands/AssociateMacSecKeyCommand.js +3 -3
- package/dist-es/commands/AssociateVirtualInterfaceCommand.js +3 -3
- package/dist-es/commands/ConfirmConnectionCommand.js +3 -3
- package/dist-es/commands/ConfirmCustomerAgreementCommand.js +3 -3
- package/dist-es/commands/ConfirmPrivateVirtualInterfaceCommand.js +3 -3
- package/dist-es/commands/ConfirmPublicVirtualInterfaceCommand.js +3 -3
- package/dist-es/commands/ConfirmTransitVirtualInterfaceCommand.js +3 -3
- package/dist-es/commands/CreateBGPPeerCommand.js +3 -3
- package/dist-es/commands/CreateConnectionCommand.js +3 -3
- package/dist-es/commands/CreateDirectConnectGatewayAssociationCommand.js +3 -3
- package/dist-es/commands/CreateDirectConnectGatewayAssociationProposalCommand.js +3 -3
- package/dist-es/commands/CreateDirectConnectGatewayCommand.js +3 -3
- package/dist-es/commands/CreateInterconnectCommand.js +3 -3
- package/dist-es/commands/CreateLagCommand.js +3 -3
- package/dist-es/commands/CreatePrivateVirtualInterfaceCommand.js +3 -3
- package/dist-es/commands/CreatePublicVirtualInterfaceCommand.js +3 -3
- package/dist-es/commands/CreateTransitVirtualInterfaceCommand.js +3 -3
- package/dist-es/commands/DeleteBGPPeerCommand.js +3 -3
- package/dist-es/commands/DeleteConnectionCommand.js +3 -3
- package/dist-es/commands/DeleteDirectConnectGatewayAssociationCommand.js +3 -3
- package/dist-es/commands/DeleteDirectConnectGatewayAssociationProposalCommand.js +3 -3
- package/dist-es/commands/DeleteDirectConnectGatewayCommand.js +3 -3
- package/dist-es/commands/DeleteInterconnectCommand.js +3 -3
- package/dist-es/commands/DeleteLagCommand.js +3 -3
- package/dist-es/commands/DeleteVirtualInterfaceCommand.js +3 -3
- package/dist-es/commands/DescribeConnectionLoaCommand.js +3 -3
- package/dist-es/commands/DescribeConnectionsCommand.js +3 -3
- package/dist-es/commands/DescribeConnectionsOnInterconnectCommand.js +3 -3
- package/dist-es/commands/DescribeCustomerMetadataCommand.js +3 -3
- package/dist-es/commands/DescribeDirectConnectGatewayAssociationProposalsCommand.js +3 -3
- package/dist-es/commands/DescribeDirectConnectGatewayAssociationsCommand.js +3 -3
- package/dist-es/commands/DescribeDirectConnectGatewayAttachmentsCommand.js +3 -3
- package/dist-es/commands/DescribeDirectConnectGatewaysCommand.js +3 -3
- package/dist-es/commands/DescribeHostedConnectionsCommand.js +3 -3
- package/dist-es/commands/DescribeInterconnectLoaCommand.js +3 -3
- package/dist-es/commands/DescribeInterconnectsCommand.js +3 -3
- package/dist-es/commands/DescribeLagsCommand.js +3 -3
- package/dist-es/commands/DescribeLoaCommand.js +3 -3
- package/dist-es/commands/DescribeLocationsCommand.js +3 -3
- package/dist-es/commands/DescribeRouterConfigurationCommand.js +3 -3
- package/dist-es/commands/DescribeTagsCommand.js +3 -3
- package/dist-es/commands/DescribeVirtualGatewaysCommand.js +3 -3
- package/dist-es/commands/DescribeVirtualInterfacesCommand.js +3 -3
- package/dist-es/commands/DisassociateConnectionFromLagCommand.js +3 -3
- package/dist-es/commands/DisassociateMacSecKeyCommand.js +3 -3
- package/dist-es/commands/ListVirtualInterfaceTestHistoryCommand.js +3 -3
- package/dist-es/commands/StartBgpFailoverTestCommand.js +3 -3
- package/dist-es/commands/StopBgpFailoverTestCommand.js +3 -3
- package/dist-es/commands/TagResourceCommand.js +3 -3
- package/dist-es/commands/UntagResourceCommand.js +3 -3
- package/dist-es/commands/UpdateConnectionCommand.js +3 -3
- package/dist-es/commands/UpdateDirectConnectGatewayAssociationCommand.js +3 -3
- package/dist-es/commands/UpdateDirectConnectGatewayCommand.js +3 -3
- package/dist-es/commands/UpdateLagCommand.js +3 -3
- package/dist-es/commands/UpdateVirtualInterfaceAttributesCommand.js +3 -3
- package/dist-es/protocols/Aws_json1_1.js +794 -826
- package/dist-types/protocols/Aws_json1_1.d.ts +504 -126
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +126 -126
- package/package.json +29 -29
|
@@ -2,331 +2,331 @@ import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
|
2
2
|
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, throwDefaultError, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { DirectConnectServiceException as __BaseException } from "../models/DirectConnectServiceException";
|
|
4
4
|
import { DirectConnectClientException, DirectConnectServerException, DuplicateTagKeysException, TooManyTagsException, } from "../models/models_0";
|
|
5
|
-
export const
|
|
5
|
+
export const se_AcceptDirectConnectGatewayAssociationProposalCommand = async (input, context) => {
|
|
6
6
|
const headers = {
|
|
7
7
|
"content-type": "application/x-amz-json-1.1",
|
|
8
8
|
"x-amz-target": "OvertureService.AcceptDirectConnectGatewayAssociationProposal",
|
|
9
9
|
};
|
|
10
10
|
let body;
|
|
11
|
-
body = JSON.stringify(
|
|
11
|
+
body = JSON.stringify(se_AcceptDirectConnectGatewayAssociationProposalRequest(input, context));
|
|
12
12
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
13
13
|
};
|
|
14
|
-
export const
|
|
14
|
+
export const se_AllocateConnectionOnInterconnectCommand = async (input, context) => {
|
|
15
15
|
const headers = {
|
|
16
16
|
"content-type": "application/x-amz-json-1.1",
|
|
17
17
|
"x-amz-target": "OvertureService.AllocateConnectionOnInterconnect",
|
|
18
18
|
};
|
|
19
19
|
let body;
|
|
20
|
-
body = JSON.stringify(
|
|
20
|
+
body = JSON.stringify(se_AllocateConnectionOnInterconnectRequest(input, context));
|
|
21
21
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
22
22
|
};
|
|
23
|
-
export const
|
|
23
|
+
export const se_AllocateHostedConnectionCommand = async (input, context) => {
|
|
24
24
|
const headers = {
|
|
25
25
|
"content-type": "application/x-amz-json-1.1",
|
|
26
26
|
"x-amz-target": "OvertureService.AllocateHostedConnection",
|
|
27
27
|
};
|
|
28
28
|
let body;
|
|
29
|
-
body = JSON.stringify(
|
|
29
|
+
body = JSON.stringify(se_AllocateHostedConnectionRequest(input, context));
|
|
30
30
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
31
31
|
};
|
|
32
|
-
export const
|
|
32
|
+
export const se_AllocatePrivateVirtualInterfaceCommand = async (input, context) => {
|
|
33
33
|
const headers = {
|
|
34
34
|
"content-type": "application/x-amz-json-1.1",
|
|
35
35
|
"x-amz-target": "OvertureService.AllocatePrivateVirtualInterface",
|
|
36
36
|
};
|
|
37
37
|
let body;
|
|
38
|
-
body = JSON.stringify(
|
|
38
|
+
body = JSON.stringify(se_AllocatePrivateVirtualInterfaceRequest(input, context));
|
|
39
39
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
40
40
|
};
|
|
41
|
-
export const
|
|
41
|
+
export const se_AllocatePublicVirtualInterfaceCommand = async (input, context) => {
|
|
42
42
|
const headers = {
|
|
43
43
|
"content-type": "application/x-amz-json-1.1",
|
|
44
44
|
"x-amz-target": "OvertureService.AllocatePublicVirtualInterface",
|
|
45
45
|
};
|
|
46
46
|
let body;
|
|
47
|
-
body = JSON.stringify(
|
|
47
|
+
body = JSON.stringify(se_AllocatePublicVirtualInterfaceRequest(input, context));
|
|
48
48
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
49
49
|
};
|
|
50
|
-
export const
|
|
50
|
+
export const se_AllocateTransitVirtualInterfaceCommand = async (input, context) => {
|
|
51
51
|
const headers = {
|
|
52
52
|
"content-type": "application/x-amz-json-1.1",
|
|
53
53
|
"x-amz-target": "OvertureService.AllocateTransitVirtualInterface",
|
|
54
54
|
};
|
|
55
55
|
let body;
|
|
56
|
-
body = JSON.stringify(
|
|
56
|
+
body = JSON.stringify(se_AllocateTransitVirtualInterfaceRequest(input, context));
|
|
57
57
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
58
58
|
};
|
|
59
|
-
export const
|
|
59
|
+
export const se_AssociateConnectionWithLagCommand = async (input, context) => {
|
|
60
60
|
const headers = {
|
|
61
61
|
"content-type": "application/x-amz-json-1.1",
|
|
62
62
|
"x-amz-target": "OvertureService.AssociateConnectionWithLag",
|
|
63
63
|
};
|
|
64
64
|
let body;
|
|
65
|
-
body = JSON.stringify(
|
|
65
|
+
body = JSON.stringify(se_AssociateConnectionWithLagRequest(input, context));
|
|
66
66
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
67
67
|
};
|
|
68
|
-
export const
|
|
68
|
+
export const se_AssociateHostedConnectionCommand = async (input, context) => {
|
|
69
69
|
const headers = {
|
|
70
70
|
"content-type": "application/x-amz-json-1.1",
|
|
71
71
|
"x-amz-target": "OvertureService.AssociateHostedConnection",
|
|
72
72
|
};
|
|
73
73
|
let body;
|
|
74
|
-
body = JSON.stringify(
|
|
74
|
+
body = JSON.stringify(se_AssociateHostedConnectionRequest(input, context));
|
|
75
75
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
76
76
|
};
|
|
77
|
-
export const
|
|
77
|
+
export const se_AssociateMacSecKeyCommand = async (input, context) => {
|
|
78
78
|
const headers = {
|
|
79
79
|
"content-type": "application/x-amz-json-1.1",
|
|
80
80
|
"x-amz-target": "OvertureService.AssociateMacSecKey",
|
|
81
81
|
};
|
|
82
82
|
let body;
|
|
83
|
-
body = JSON.stringify(
|
|
83
|
+
body = JSON.stringify(se_AssociateMacSecKeyRequest(input, context));
|
|
84
84
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
85
85
|
};
|
|
86
|
-
export const
|
|
86
|
+
export const se_AssociateVirtualInterfaceCommand = async (input, context) => {
|
|
87
87
|
const headers = {
|
|
88
88
|
"content-type": "application/x-amz-json-1.1",
|
|
89
89
|
"x-amz-target": "OvertureService.AssociateVirtualInterface",
|
|
90
90
|
};
|
|
91
91
|
let body;
|
|
92
|
-
body = JSON.stringify(
|
|
92
|
+
body = JSON.stringify(se_AssociateVirtualInterfaceRequest(input, context));
|
|
93
93
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
94
94
|
};
|
|
95
|
-
export const
|
|
95
|
+
export const se_ConfirmConnectionCommand = async (input, context) => {
|
|
96
96
|
const headers = {
|
|
97
97
|
"content-type": "application/x-amz-json-1.1",
|
|
98
98
|
"x-amz-target": "OvertureService.ConfirmConnection",
|
|
99
99
|
};
|
|
100
100
|
let body;
|
|
101
|
-
body = JSON.stringify(
|
|
101
|
+
body = JSON.stringify(se_ConfirmConnectionRequest(input, context));
|
|
102
102
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
103
103
|
};
|
|
104
|
-
export const
|
|
104
|
+
export const se_ConfirmCustomerAgreementCommand = async (input, context) => {
|
|
105
105
|
const headers = {
|
|
106
106
|
"content-type": "application/x-amz-json-1.1",
|
|
107
107
|
"x-amz-target": "OvertureService.ConfirmCustomerAgreement",
|
|
108
108
|
};
|
|
109
109
|
let body;
|
|
110
|
-
body = JSON.stringify(
|
|
110
|
+
body = JSON.stringify(se_ConfirmCustomerAgreementRequest(input, context));
|
|
111
111
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
112
112
|
};
|
|
113
|
-
export const
|
|
113
|
+
export const se_ConfirmPrivateVirtualInterfaceCommand = async (input, context) => {
|
|
114
114
|
const headers = {
|
|
115
115
|
"content-type": "application/x-amz-json-1.1",
|
|
116
116
|
"x-amz-target": "OvertureService.ConfirmPrivateVirtualInterface",
|
|
117
117
|
};
|
|
118
118
|
let body;
|
|
119
|
-
body = JSON.stringify(
|
|
119
|
+
body = JSON.stringify(se_ConfirmPrivateVirtualInterfaceRequest(input, context));
|
|
120
120
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
121
121
|
};
|
|
122
|
-
export const
|
|
122
|
+
export const se_ConfirmPublicVirtualInterfaceCommand = async (input, context) => {
|
|
123
123
|
const headers = {
|
|
124
124
|
"content-type": "application/x-amz-json-1.1",
|
|
125
125
|
"x-amz-target": "OvertureService.ConfirmPublicVirtualInterface",
|
|
126
126
|
};
|
|
127
127
|
let body;
|
|
128
|
-
body = JSON.stringify(
|
|
128
|
+
body = JSON.stringify(se_ConfirmPublicVirtualInterfaceRequest(input, context));
|
|
129
129
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
130
130
|
};
|
|
131
|
-
export const
|
|
131
|
+
export const se_ConfirmTransitVirtualInterfaceCommand = async (input, context) => {
|
|
132
132
|
const headers = {
|
|
133
133
|
"content-type": "application/x-amz-json-1.1",
|
|
134
134
|
"x-amz-target": "OvertureService.ConfirmTransitVirtualInterface",
|
|
135
135
|
};
|
|
136
136
|
let body;
|
|
137
|
-
body = JSON.stringify(
|
|
137
|
+
body = JSON.stringify(se_ConfirmTransitVirtualInterfaceRequest(input, context));
|
|
138
138
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
139
139
|
};
|
|
140
|
-
export const
|
|
140
|
+
export const se_CreateBGPPeerCommand = async (input, context) => {
|
|
141
141
|
const headers = {
|
|
142
142
|
"content-type": "application/x-amz-json-1.1",
|
|
143
143
|
"x-amz-target": "OvertureService.CreateBGPPeer",
|
|
144
144
|
};
|
|
145
145
|
let body;
|
|
146
|
-
body = JSON.stringify(
|
|
146
|
+
body = JSON.stringify(se_CreateBGPPeerRequest(input, context));
|
|
147
147
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
148
148
|
};
|
|
149
|
-
export const
|
|
149
|
+
export const se_CreateConnectionCommand = async (input, context) => {
|
|
150
150
|
const headers = {
|
|
151
151
|
"content-type": "application/x-amz-json-1.1",
|
|
152
152
|
"x-amz-target": "OvertureService.CreateConnection",
|
|
153
153
|
};
|
|
154
154
|
let body;
|
|
155
|
-
body = JSON.stringify(
|
|
155
|
+
body = JSON.stringify(se_CreateConnectionRequest(input, context));
|
|
156
156
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
157
157
|
};
|
|
158
|
-
export const
|
|
158
|
+
export const se_CreateDirectConnectGatewayCommand = async (input, context) => {
|
|
159
159
|
const headers = {
|
|
160
160
|
"content-type": "application/x-amz-json-1.1",
|
|
161
161
|
"x-amz-target": "OvertureService.CreateDirectConnectGateway",
|
|
162
162
|
};
|
|
163
163
|
let body;
|
|
164
|
-
body = JSON.stringify(
|
|
164
|
+
body = JSON.stringify(se_CreateDirectConnectGatewayRequest(input, context));
|
|
165
165
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
166
166
|
};
|
|
167
|
-
export const
|
|
167
|
+
export const se_CreateDirectConnectGatewayAssociationCommand = async (input, context) => {
|
|
168
168
|
const headers = {
|
|
169
169
|
"content-type": "application/x-amz-json-1.1",
|
|
170
170
|
"x-amz-target": "OvertureService.CreateDirectConnectGatewayAssociation",
|
|
171
171
|
};
|
|
172
172
|
let body;
|
|
173
|
-
body = JSON.stringify(
|
|
173
|
+
body = JSON.stringify(se_CreateDirectConnectGatewayAssociationRequest(input, context));
|
|
174
174
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
175
175
|
};
|
|
176
|
-
export const
|
|
176
|
+
export const se_CreateDirectConnectGatewayAssociationProposalCommand = async (input, context) => {
|
|
177
177
|
const headers = {
|
|
178
178
|
"content-type": "application/x-amz-json-1.1",
|
|
179
179
|
"x-amz-target": "OvertureService.CreateDirectConnectGatewayAssociationProposal",
|
|
180
180
|
};
|
|
181
181
|
let body;
|
|
182
|
-
body = JSON.stringify(
|
|
182
|
+
body = JSON.stringify(se_CreateDirectConnectGatewayAssociationProposalRequest(input, context));
|
|
183
183
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
184
184
|
};
|
|
185
|
-
export const
|
|
185
|
+
export const se_CreateInterconnectCommand = async (input, context) => {
|
|
186
186
|
const headers = {
|
|
187
187
|
"content-type": "application/x-amz-json-1.1",
|
|
188
188
|
"x-amz-target": "OvertureService.CreateInterconnect",
|
|
189
189
|
};
|
|
190
190
|
let body;
|
|
191
|
-
body = JSON.stringify(
|
|
191
|
+
body = JSON.stringify(se_CreateInterconnectRequest(input, context));
|
|
192
192
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
193
193
|
};
|
|
194
|
-
export const
|
|
194
|
+
export const se_CreateLagCommand = async (input, context) => {
|
|
195
195
|
const headers = {
|
|
196
196
|
"content-type": "application/x-amz-json-1.1",
|
|
197
197
|
"x-amz-target": "OvertureService.CreateLag",
|
|
198
198
|
};
|
|
199
199
|
let body;
|
|
200
|
-
body = JSON.stringify(
|
|
200
|
+
body = JSON.stringify(se_CreateLagRequest(input, context));
|
|
201
201
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
202
202
|
};
|
|
203
|
-
export const
|
|
203
|
+
export const se_CreatePrivateVirtualInterfaceCommand = async (input, context) => {
|
|
204
204
|
const headers = {
|
|
205
205
|
"content-type": "application/x-amz-json-1.1",
|
|
206
206
|
"x-amz-target": "OvertureService.CreatePrivateVirtualInterface",
|
|
207
207
|
};
|
|
208
208
|
let body;
|
|
209
|
-
body = JSON.stringify(
|
|
209
|
+
body = JSON.stringify(se_CreatePrivateVirtualInterfaceRequest(input, context));
|
|
210
210
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
211
211
|
};
|
|
212
|
-
export const
|
|
212
|
+
export const se_CreatePublicVirtualInterfaceCommand = async (input, context) => {
|
|
213
213
|
const headers = {
|
|
214
214
|
"content-type": "application/x-amz-json-1.1",
|
|
215
215
|
"x-amz-target": "OvertureService.CreatePublicVirtualInterface",
|
|
216
216
|
};
|
|
217
217
|
let body;
|
|
218
|
-
body = JSON.stringify(
|
|
218
|
+
body = JSON.stringify(se_CreatePublicVirtualInterfaceRequest(input, context));
|
|
219
219
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
220
220
|
};
|
|
221
|
-
export const
|
|
221
|
+
export const se_CreateTransitVirtualInterfaceCommand = async (input, context) => {
|
|
222
222
|
const headers = {
|
|
223
223
|
"content-type": "application/x-amz-json-1.1",
|
|
224
224
|
"x-amz-target": "OvertureService.CreateTransitVirtualInterface",
|
|
225
225
|
};
|
|
226
226
|
let body;
|
|
227
|
-
body = JSON.stringify(
|
|
227
|
+
body = JSON.stringify(se_CreateTransitVirtualInterfaceRequest(input, context));
|
|
228
228
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
229
229
|
};
|
|
230
|
-
export const
|
|
230
|
+
export const se_DeleteBGPPeerCommand = async (input, context) => {
|
|
231
231
|
const headers = {
|
|
232
232
|
"content-type": "application/x-amz-json-1.1",
|
|
233
233
|
"x-amz-target": "OvertureService.DeleteBGPPeer",
|
|
234
234
|
};
|
|
235
235
|
let body;
|
|
236
|
-
body = JSON.stringify(
|
|
236
|
+
body = JSON.stringify(se_DeleteBGPPeerRequest(input, context));
|
|
237
237
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
238
238
|
};
|
|
239
|
-
export const
|
|
239
|
+
export const se_DeleteConnectionCommand = async (input, context) => {
|
|
240
240
|
const headers = {
|
|
241
241
|
"content-type": "application/x-amz-json-1.1",
|
|
242
242
|
"x-amz-target": "OvertureService.DeleteConnection",
|
|
243
243
|
};
|
|
244
244
|
let body;
|
|
245
|
-
body = JSON.stringify(
|
|
245
|
+
body = JSON.stringify(se_DeleteConnectionRequest(input, context));
|
|
246
246
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
247
247
|
};
|
|
248
|
-
export const
|
|
248
|
+
export const se_DeleteDirectConnectGatewayCommand = async (input, context) => {
|
|
249
249
|
const headers = {
|
|
250
250
|
"content-type": "application/x-amz-json-1.1",
|
|
251
251
|
"x-amz-target": "OvertureService.DeleteDirectConnectGateway",
|
|
252
252
|
};
|
|
253
253
|
let body;
|
|
254
|
-
body = JSON.stringify(
|
|
254
|
+
body = JSON.stringify(se_DeleteDirectConnectGatewayRequest(input, context));
|
|
255
255
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
256
256
|
};
|
|
257
|
-
export const
|
|
257
|
+
export const se_DeleteDirectConnectGatewayAssociationCommand = async (input, context) => {
|
|
258
258
|
const headers = {
|
|
259
259
|
"content-type": "application/x-amz-json-1.1",
|
|
260
260
|
"x-amz-target": "OvertureService.DeleteDirectConnectGatewayAssociation",
|
|
261
261
|
};
|
|
262
262
|
let body;
|
|
263
|
-
body = JSON.stringify(
|
|
263
|
+
body = JSON.stringify(se_DeleteDirectConnectGatewayAssociationRequest(input, context));
|
|
264
264
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
265
265
|
};
|
|
266
|
-
export const
|
|
266
|
+
export const se_DeleteDirectConnectGatewayAssociationProposalCommand = async (input, context) => {
|
|
267
267
|
const headers = {
|
|
268
268
|
"content-type": "application/x-amz-json-1.1",
|
|
269
269
|
"x-amz-target": "OvertureService.DeleteDirectConnectGatewayAssociationProposal",
|
|
270
270
|
};
|
|
271
271
|
let body;
|
|
272
|
-
body = JSON.stringify(
|
|
272
|
+
body = JSON.stringify(se_DeleteDirectConnectGatewayAssociationProposalRequest(input, context));
|
|
273
273
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
274
274
|
};
|
|
275
|
-
export const
|
|
275
|
+
export const se_DeleteInterconnectCommand = async (input, context) => {
|
|
276
276
|
const headers = {
|
|
277
277
|
"content-type": "application/x-amz-json-1.1",
|
|
278
278
|
"x-amz-target": "OvertureService.DeleteInterconnect",
|
|
279
279
|
};
|
|
280
280
|
let body;
|
|
281
|
-
body = JSON.stringify(
|
|
281
|
+
body = JSON.stringify(se_DeleteInterconnectRequest(input, context));
|
|
282
282
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
283
283
|
};
|
|
284
|
-
export const
|
|
284
|
+
export const se_DeleteLagCommand = async (input, context) => {
|
|
285
285
|
const headers = {
|
|
286
286
|
"content-type": "application/x-amz-json-1.1",
|
|
287
287
|
"x-amz-target": "OvertureService.DeleteLag",
|
|
288
288
|
};
|
|
289
289
|
let body;
|
|
290
|
-
body = JSON.stringify(
|
|
290
|
+
body = JSON.stringify(se_DeleteLagRequest(input, context));
|
|
291
291
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
292
292
|
};
|
|
293
|
-
export const
|
|
293
|
+
export const se_DeleteVirtualInterfaceCommand = async (input, context) => {
|
|
294
294
|
const headers = {
|
|
295
295
|
"content-type": "application/x-amz-json-1.1",
|
|
296
296
|
"x-amz-target": "OvertureService.DeleteVirtualInterface",
|
|
297
297
|
};
|
|
298
298
|
let body;
|
|
299
|
-
body = JSON.stringify(
|
|
299
|
+
body = JSON.stringify(se_DeleteVirtualInterfaceRequest(input, context));
|
|
300
300
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
301
301
|
};
|
|
302
|
-
export const
|
|
302
|
+
export const se_DescribeConnectionLoaCommand = async (input, context) => {
|
|
303
303
|
const headers = {
|
|
304
304
|
"content-type": "application/x-amz-json-1.1",
|
|
305
305
|
"x-amz-target": "OvertureService.DescribeConnectionLoa",
|
|
306
306
|
};
|
|
307
307
|
let body;
|
|
308
|
-
body = JSON.stringify(
|
|
308
|
+
body = JSON.stringify(se_DescribeConnectionLoaRequest(input, context));
|
|
309
309
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
310
310
|
};
|
|
311
|
-
export const
|
|
311
|
+
export const se_DescribeConnectionsCommand = async (input, context) => {
|
|
312
312
|
const headers = {
|
|
313
313
|
"content-type": "application/x-amz-json-1.1",
|
|
314
314
|
"x-amz-target": "OvertureService.DescribeConnections",
|
|
315
315
|
};
|
|
316
316
|
let body;
|
|
317
|
-
body = JSON.stringify(
|
|
317
|
+
body = JSON.stringify(se_DescribeConnectionsRequest(input, context));
|
|
318
318
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
319
319
|
};
|
|
320
|
-
export const
|
|
320
|
+
export const se_DescribeConnectionsOnInterconnectCommand = async (input, context) => {
|
|
321
321
|
const headers = {
|
|
322
322
|
"content-type": "application/x-amz-json-1.1",
|
|
323
323
|
"x-amz-target": "OvertureService.DescribeConnectionsOnInterconnect",
|
|
324
324
|
};
|
|
325
325
|
let body;
|
|
326
|
-
body = JSON.stringify(
|
|
326
|
+
body = JSON.stringify(se_DescribeConnectionsOnInterconnectRequest(input, context));
|
|
327
327
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
328
328
|
};
|
|
329
|
-
export const
|
|
329
|
+
export const se_DescribeCustomerMetadataCommand = async (input, context) => {
|
|
330
330
|
const headers = {
|
|
331
331
|
"content-type": "application/x-amz-json-1.1",
|
|
332
332
|
"x-amz-target": "OvertureService.DescribeCustomerMetadata",
|
|
@@ -334,88 +334,88 @@ export const serializeAws_json1_1DescribeCustomerMetadataCommand = async (input,
|
|
|
334
334
|
const body = "{}";
|
|
335
335
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
336
336
|
};
|
|
337
|
-
export const
|
|
337
|
+
export const se_DescribeDirectConnectGatewayAssociationProposalsCommand = async (input, context) => {
|
|
338
338
|
const headers = {
|
|
339
339
|
"content-type": "application/x-amz-json-1.1",
|
|
340
340
|
"x-amz-target": "OvertureService.DescribeDirectConnectGatewayAssociationProposals",
|
|
341
341
|
};
|
|
342
342
|
let body;
|
|
343
|
-
body = JSON.stringify(
|
|
343
|
+
body = JSON.stringify(se_DescribeDirectConnectGatewayAssociationProposalsRequest(input, context));
|
|
344
344
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
345
345
|
};
|
|
346
|
-
export const
|
|
346
|
+
export const se_DescribeDirectConnectGatewayAssociationsCommand = async (input, context) => {
|
|
347
347
|
const headers = {
|
|
348
348
|
"content-type": "application/x-amz-json-1.1",
|
|
349
349
|
"x-amz-target": "OvertureService.DescribeDirectConnectGatewayAssociations",
|
|
350
350
|
};
|
|
351
351
|
let body;
|
|
352
|
-
body = JSON.stringify(
|
|
352
|
+
body = JSON.stringify(se_DescribeDirectConnectGatewayAssociationsRequest(input, context));
|
|
353
353
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
354
354
|
};
|
|
355
|
-
export const
|
|
355
|
+
export const se_DescribeDirectConnectGatewayAttachmentsCommand = async (input, context) => {
|
|
356
356
|
const headers = {
|
|
357
357
|
"content-type": "application/x-amz-json-1.1",
|
|
358
358
|
"x-amz-target": "OvertureService.DescribeDirectConnectGatewayAttachments",
|
|
359
359
|
};
|
|
360
360
|
let body;
|
|
361
|
-
body = JSON.stringify(
|
|
361
|
+
body = JSON.stringify(se_DescribeDirectConnectGatewayAttachmentsRequest(input, context));
|
|
362
362
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
363
363
|
};
|
|
364
|
-
export const
|
|
364
|
+
export const se_DescribeDirectConnectGatewaysCommand = async (input, context) => {
|
|
365
365
|
const headers = {
|
|
366
366
|
"content-type": "application/x-amz-json-1.1",
|
|
367
367
|
"x-amz-target": "OvertureService.DescribeDirectConnectGateways",
|
|
368
368
|
};
|
|
369
369
|
let body;
|
|
370
|
-
body = JSON.stringify(
|
|
370
|
+
body = JSON.stringify(se_DescribeDirectConnectGatewaysRequest(input, context));
|
|
371
371
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
372
372
|
};
|
|
373
|
-
export const
|
|
373
|
+
export const se_DescribeHostedConnectionsCommand = async (input, context) => {
|
|
374
374
|
const headers = {
|
|
375
375
|
"content-type": "application/x-amz-json-1.1",
|
|
376
376
|
"x-amz-target": "OvertureService.DescribeHostedConnections",
|
|
377
377
|
};
|
|
378
378
|
let body;
|
|
379
|
-
body = JSON.stringify(
|
|
379
|
+
body = JSON.stringify(se_DescribeHostedConnectionsRequest(input, context));
|
|
380
380
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
381
381
|
};
|
|
382
|
-
export const
|
|
382
|
+
export const se_DescribeInterconnectLoaCommand = async (input, context) => {
|
|
383
383
|
const headers = {
|
|
384
384
|
"content-type": "application/x-amz-json-1.1",
|
|
385
385
|
"x-amz-target": "OvertureService.DescribeInterconnectLoa",
|
|
386
386
|
};
|
|
387
387
|
let body;
|
|
388
|
-
body = JSON.stringify(
|
|
388
|
+
body = JSON.stringify(se_DescribeInterconnectLoaRequest(input, context));
|
|
389
389
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
390
390
|
};
|
|
391
|
-
export const
|
|
391
|
+
export const se_DescribeInterconnectsCommand = async (input, context) => {
|
|
392
392
|
const headers = {
|
|
393
393
|
"content-type": "application/x-amz-json-1.1",
|
|
394
394
|
"x-amz-target": "OvertureService.DescribeInterconnects",
|
|
395
395
|
};
|
|
396
396
|
let body;
|
|
397
|
-
body = JSON.stringify(
|
|
397
|
+
body = JSON.stringify(se_DescribeInterconnectsRequest(input, context));
|
|
398
398
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
399
399
|
};
|
|
400
|
-
export const
|
|
400
|
+
export const se_DescribeLagsCommand = async (input, context) => {
|
|
401
401
|
const headers = {
|
|
402
402
|
"content-type": "application/x-amz-json-1.1",
|
|
403
403
|
"x-amz-target": "OvertureService.DescribeLags",
|
|
404
404
|
};
|
|
405
405
|
let body;
|
|
406
|
-
body = JSON.stringify(
|
|
406
|
+
body = JSON.stringify(se_DescribeLagsRequest(input, context));
|
|
407
407
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
408
408
|
};
|
|
409
|
-
export const
|
|
409
|
+
export const se_DescribeLoaCommand = async (input, context) => {
|
|
410
410
|
const headers = {
|
|
411
411
|
"content-type": "application/x-amz-json-1.1",
|
|
412
412
|
"x-amz-target": "OvertureService.DescribeLoa",
|
|
413
413
|
};
|
|
414
414
|
let body;
|
|
415
|
-
body = JSON.stringify(
|
|
415
|
+
body = JSON.stringify(se_DescribeLoaRequest(input, context));
|
|
416
416
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
417
417
|
};
|
|
418
|
-
export const
|
|
418
|
+
export const se_DescribeLocationsCommand = async (input, context) => {
|
|
419
419
|
const headers = {
|
|
420
420
|
"content-type": "application/x-amz-json-1.1",
|
|
421
421
|
"x-amz-target": "OvertureService.DescribeLocations",
|
|
@@ -423,25 +423,25 @@ export const serializeAws_json1_1DescribeLocationsCommand = async (input, contex
|
|
|
423
423
|
const body = "{}";
|
|
424
424
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
425
425
|
};
|
|
426
|
-
export const
|
|
426
|
+
export const se_DescribeRouterConfigurationCommand = async (input, context) => {
|
|
427
427
|
const headers = {
|
|
428
428
|
"content-type": "application/x-amz-json-1.1",
|
|
429
429
|
"x-amz-target": "OvertureService.DescribeRouterConfiguration",
|
|
430
430
|
};
|
|
431
431
|
let body;
|
|
432
|
-
body = JSON.stringify(
|
|
432
|
+
body = JSON.stringify(se_DescribeRouterConfigurationRequest(input, context));
|
|
433
433
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
434
434
|
};
|
|
435
|
-
export const
|
|
435
|
+
export const se_DescribeTagsCommand = async (input, context) => {
|
|
436
436
|
const headers = {
|
|
437
437
|
"content-type": "application/x-amz-json-1.1",
|
|
438
438
|
"x-amz-target": "OvertureService.DescribeTags",
|
|
439
439
|
};
|
|
440
440
|
let body;
|
|
441
|
-
body = JSON.stringify(
|
|
441
|
+
body = JSON.stringify(se_DescribeTagsRequest(input, context));
|
|
442
442
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
443
443
|
};
|
|
444
|
-
export const
|
|
444
|
+
export const se_DescribeVirtualGatewaysCommand = async (input, context) => {
|
|
445
445
|
const headers = {
|
|
446
446
|
"content-type": "application/x-amz-json-1.1",
|
|
447
447
|
"x-amz-target": "OvertureService.DescribeVirtualGateways",
|
|
@@ -449,137 +449,137 @@ export const serializeAws_json1_1DescribeVirtualGatewaysCommand = async (input,
|
|
|
449
449
|
const body = "{}";
|
|
450
450
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
451
451
|
};
|
|
452
|
-
export const
|
|
452
|
+
export const se_DescribeVirtualInterfacesCommand = async (input, context) => {
|
|
453
453
|
const headers = {
|
|
454
454
|
"content-type": "application/x-amz-json-1.1",
|
|
455
455
|
"x-amz-target": "OvertureService.DescribeVirtualInterfaces",
|
|
456
456
|
};
|
|
457
457
|
let body;
|
|
458
|
-
body = JSON.stringify(
|
|
458
|
+
body = JSON.stringify(se_DescribeVirtualInterfacesRequest(input, context));
|
|
459
459
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
460
460
|
};
|
|
461
|
-
export const
|
|
461
|
+
export const se_DisassociateConnectionFromLagCommand = async (input, context) => {
|
|
462
462
|
const headers = {
|
|
463
463
|
"content-type": "application/x-amz-json-1.1",
|
|
464
464
|
"x-amz-target": "OvertureService.DisassociateConnectionFromLag",
|
|
465
465
|
};
|
|
466
466
|
let body;
|
|
467
|
-
body = JSON.stringify(
|
|
467
|
+
body = JSON.stringify(se_DisassociateConnectionFromLagRequest(input, context));
|
|
468
468
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
469
469
|
};
|
|
470
|
-
export const
|
|
470
|
+
export const se_DisassociateMacSecKeyCommand = async (input, context) => {
|
|
471
471
|
const headers = {
|
|
472
472
|
"content-type": "application/x-amz-json-1.1",
|
|
473
473
|
"x-amz-target": "OvertureService.DisassociateMacSecKey",
|
|
474
474
|
};
|
|
475
475
|
let body;
|
|
476
|
-
body = JSON.stringify(
|
|
476
|
+
body = JSON.stringify(se_DisassociateMacSecKeyRequest(input, context));
|
|
477
477
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
478
478
|
};
|
|
479
|
-
export const
|
|
479
|
+
export const se_ListVirtualInterfaceTestHistoryCommand = async (input, context) => {
|
|
480
480
|
const headers = {
|
|
481
481
|
"content-type": "application/x-amz-json-1.1",
|
|
482
482
|
"x-amz-target": "OvertureService.ListVirtualInterfaceTestHistory",
|
|
483
483
|
};
|
|
484
484
|
let body;
|
|
485
|
-
body = JSON.stringify(
|
|
485
|
+
body = JSON.stringify(se_ListVirtualInterfaceTestHistoryRequest(input, context));
|
|
486
486
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
487
487
|
};
|
|
488
|
-
export const
|
|
488
|
+
export const se_StartBgpFailoverTestCommand = async (input, context) => {
|
|
489
489
|
const headers = {
|
|
490
490
|
"content-type": "application/x-amz-json-1.1",
|
|
491
491
|
"x-amz-target": "OvertureService.StartBgpFailoverTest",
|
|
492
492
|
};
|
|
493
493
|
let body;
|
|
494
|
-
body = JSON.stringify(
|
|
494
|
+
body = JSON.stringify(se_StartBgpFailoverTestRequest(input, context));
|
|
495
495
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
496
496
|
};
|
|
497
|
-
export const
|
|
497
|
+
export const se_StopBgpFailoverTestCommand = async (input, context) => {
|
|
498
498
|
const headers = {
|
|
499
499
|
"content-type": "application/x-amz-json-1.1",
|
|
500
500
|
"x-amz-target": "OvertureService.StopBgpFailoverTest",
|
|
501
501
|
};
|
|
502
502
|
let body;
|
|
503
|
-
body = JSON.stringify(
|
|
503
|
+
body = JSON.stringify(se_StopBgpFailoverTestRequest(input, context));
|
|
504
504
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
505
505
|
};
|
|
506
|
-
export const
|
|
506
|
+
export const se_TagResourceCommand = async (input, context) => {
|
|
507
507
|
const headers = {
|
|
508
508
|
"content-type": "application/x-amz-json-1.1",
|
|
509
509
|
"x-amz-target": "OvertureService.TagResource",
|
|
510
510
|
};
|
|
511
511
|
let body;
|
|
512
|
-
body = JSON.stringify(
|
|
512
|
+
body = JSON.stringify(se_TagResourceRequest(input, context));
|
|
513
513
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
514
514
|
};
|
|
515
|
-
export const
|
|
515
|
+
export const se_UntagResourceCommand = async (input, context) => {
|
|
516
516
|
const headers = {
|
|
517
517
|
"content-type": "application/x-amz-json-1.1",
|
|
518
518
|
"x-amz-target": "OvertureService.UntagResource",
|
|
519
519
|
};
|
|
520
520
|
let body;
|
|
521
|
-
body = JSON.stringify(
|
|
521
|
+
body = JSON.stringify(se_UntagResourceRequest(input, context));
|
|
522
522
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
523
523
|
};
|
|
524
|
-
export const
|
|
524
|
+
export const se_UpdateConnectionCommand = async (input, context) => {
|
|
525
525
|
const headers = {
|
|
526
526
|
"content-type": "application/x-amz-json-1.1",
|
|
527
527
|
"x-amz-target": "OvertureService.UpdateConnection",
|
|
528
528
|
};
|
|
529
529
|
let body;
|
|
530
|
-
body = JSON.stringify(
|
|
530
|
+
body = JSON.stringify(se_UpdateConnectionRequest(input, context));
|
|
531
531
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
532
532
|
};
|
|
533
|
-
export const
|
|
533
|
+
export const se_UpdateDirectConnectGatewayCommand = async (input, context) => {
|
|
534
534
|
const headers = {
|
|
535
535
|
"content-type": "application/x-amz-json-1.1",
|
|
536
536
|
"x-amz-target": "OvertureService.UpdateDirectConnectGateway",
|
|
537
537
|
};
|
|
538
538
|
let body;
|
|
539
|
-
body = JSON.stringify(
|
|
539
|
+
body = JSON.stringify(se_UpdateDirectConnectGatewayRequest(input, context));
|
|
540
540
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
541
541
|
};
|
|
542
|
-
export const
|
|
542
|
+
export const se_UpdateDirectConnectGatewayAssociationCommand = async (input, context) => {
|
|
543
543
|
const headers = {
|
|
544
544
|
"content-type": "application/x-amz-json-1.1",
|
|
545
545
|
"x-amz-target": "OvertureService.UpdateDirectConnectGatewayAssociation",
|
|
546
546
|
};
|
|
547
547
|
let body;
|
|
548
|
-
body = JSON.stringify(
|
|
548
|
+
body = JSON.stringify(se_UpdateDirectConnectGatewayAssociationRequest(input, context));
|
|
549
549
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
550
550
|
};
|
|
551
|
-
export const
|
|
551
|
+
export const se_UpdateLagCommand = async (input, context) => {
|
|
552
552
|
const headers = {
|
|
553
553
|
"content-type": "application/x-amz-json-1.1",
|
|
554
554
|
"x-amz-target": "OvertureService.UpdateLag",
|
|
555
555
|
};
|
|
556
556
|
let body;
|
|
557
|
-
body = JSON.stringify(
|
|
557
|
+
body = JSON.stringify(se_UpdateLagRequest(input, context));
|
|
558
558
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
559
559
|
};
|
|
560
|
-
export const
|
|
560
|
+
export const se_UpdateVirtualInterfaceAttributesCommand = async (input, context) => {
|
|
561
561
|
const headers = {
|
|
562
562
|
"content-type": "application/x-amz-json-1.1",
|
|
563
563
|
"x-amz-target": "OvertureService.UpdateVirtualInterfaceAttributes",
|
|
564
564
|
};
|
|
565
565
|
let body;
|
|
566
|
-
body = JSON.stringify(
|
|
566
|
+
body = JSON.stringify(se_UpdateVirtualInterfaceAttributesRequest(input, context));
|
|
567
567
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
568
568
|
};
|
|
569
|
-
export const
|
|
569
|
+
export const de_AcceptDirectConnectGatewayAssociationProposalCommand = async (output, context) => {
|
|
570
570
|
if (output.statusCode >= 300) {
|
|
571
|
-
return
|
|
571
|
+
return de_AcceptDirectConnectGatewayAssociationProposalCommandError(output, context);
|
|
572
572
|
}
|
|
573
573
|
const data = await parseBody(output.body, context);
|
|
574
574
|
let contents = {};
|
|
575
|
-
contents =
|
|
575
|
+
contents = de_AcceptDirectConnectGatewayAssociationProposalResult(data, context);
|
|
576
576
|
const response = {
|
|
577
577
|
$metadata: deserializeMetadata(output),
|
|
578
578
|
...contents,
|
|
579
579
|
};
|
|
580
580
|
return Promise.resolve(response);
|
|
581
581
|
};
|
|
582
|
-
const
|
|
582
|
+
const de_AcceptDirectConnectGatewayAssociationProposalCommandError = async (output, context) => {
|
|
583
583
|
const parsedOutput = {
|
|
584
584
|
...output,
|
|
585
585
|
body: await parseErrorBody(output.body, context),
|
|
@@ -588,10 +588,10 @@ const deserializeAws_json1_1AcceptDirectConnectGatewayAssociationProposalCommand
|
|
|
588
588
|
switch (errorCode) {
|
|
589
589
|
case "DirectConnectClientException":
|
|
590
590
|
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
591
|
-
throw await
|
|
591
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
592
592
|
case "DirectConnectServerException":
|
|
593
593
|
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
594
|
-
throw await
|
|
594
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
595
595
|
default:
|
|
596
596
|
const parsedBody = parsedOutput.body;
|
|
597
597
|
throwDefaultError({
|
|
@@ -602,20 +602,20 @@ const deserializeAws_json1_1AcceptDirectConnectGatewayAssociationProposalCommand
|
|
|
602
602
|
});
|
|
603
603
|
}
|
|
604
604
|
};
|
|
605
|
-
export const
|
|
605
|
+
export const de_AllocateConnectionOnInterconnectCommand = async (output, context) => {
|
|
606
606
|
if (output.statusCode >= 300) {
|
|
607
|
-
return
|
|
607
|
+
return de_AllocateConnectionOnInterconnectCommandError(output, context);
|
|
608
608
|
}
|
|
609
609
|
const data = await parseBody(output.body, context);
|
|
610
610
|
let contents = {};
|
|
611
|
-
contents =
|
|
611
|
+
contents = de_Connection(data, context);
|
|
612
612
|
const response = {
|
|
613
613
|
$metadata: deserializeMetadata(output),
|
|
614
614
|
...contents,
|
|
615
615
|
};
|
|
616
616
|
return Promise.resolve(response);
|
|
617
617
|
};
|
|
618
|
-
const
|
|
618
|
+
const de_AllocateConnectionOnInterconnectCommandError = async (output, context) => {
|
|
619
619
|
const parsedOutput = {
|
|
620
620
|
...output,
|
|
621
621
|
body: await parseErrorBody(output.body, context),
|
|
@@ -624,10 +624,10 @@ const deserializeAws_json1_1AllocateConnectionOnInterconnectCommandError = async
|
|
|
624
624
|
switch (errorCode) {
|
|
625
625
|
case "DirectConnectClientException":
|
|
626
626
|
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
627
|
-
throw await
|
|
627
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
628
628
|
case "DirectConnectServerException":
|
|
629
629
|
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
630
|
-
throw await
|
|
630
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
631
631
|
default:
|
|
632
632
|
const parsedBody = parsedOutput.body;
|
|
633
633
|
throwDefaultError({
|
|
@@ -638,20 +638,20 @@ const deserializeAws_json1_1AllocateConnectionOnInterconnectCommandError = async
|
|
|
638
638
|
});
|
|
639
639
|
}
|
|
640
640
|
};
|
|
641
|
-
export const
|
|
641
|
+
export const de_AllocateHostedConnectionCommand = async (output, context) => {
|
|
642
642
|
if (output.statusCode >= 300) {
|
|
643
|
-
return
|
|
643
|
+
return de_AllocateHostedConnectionCommandError(output, context);
|
|
644
644
|
}
|
|
645
645
|
const data = await parseBody(output.body, context);
|
|
646
646
|
let contents = {};
|
|
647
|
-
contents =
|
|
647
|
+
contents = de_Connection(data, context);
|
|
648
648
|
const response = {
|
|
649
649
|
$metadata: deserializeMetadata(output),
|
|
650
650
|
...contents,
|
|
651
651
|
};
|
|
652
652
|
return Promise.resolve(response);
|
|
653
653
|
};
|
|
654
|
-
const
|
|
654
|
+
const de_AllocateHostedConnectionCommandError = async (output, context) => {
|
|
655
655
|
const parsedOutput = {
|
|
656
656
|
...output,
|
|
657
657
|
body: await parseErrorBody(output.body, context),
|
|
@@ -660,16 +660,16 @@ const deserializeAws_json1_1AllocateHostedConnectionCommandError = async (output
|
|
|
660
660
|
switch (errorCode) {
|
|
661
661
|
case "DirectConnectClientException":
|
|
662
662
|
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
663
|
-
throw await
|
|
663
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
664
664
|
case "DirectConnectServerException":
|
|
665
665
|
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
666
|
-
throw await
|
|
666
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
667
667
|
case "DuplicateTagKeysException":
|
|
668
668
|
case "com.amazonaws.directconnect#DuplicateTagKeysException":
|
|
669
|
-
throw await
|
|
669
|
+
throw await de_DuplicateTagKeysExceptionRes(parsedOutput, context);
|
|
670
670
|
case "TooManyTagsException":
|
|
671
671
|
case "com.amazonaws.directconnect#TooManyTagsException":
|
|
672
|
-
throw await
|
|
672
|
+
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
673
673
|
default:
|
|
674
674
|
const parsedBody = parsedOutput.body;
|
|
675
675
|
throwDefaultError({
|
|
@@ -680,20 +680,20 @@ const deserializeAws_json1_1AllocateHostedConnectionCommandError = async (output
|
|
|
680
680
|
});
|
|
681
681
|
}
|
|
682
682
|
};
|
|
683
|
-
export const
|
|
683
|
+
export const de_AllocatePrivateVirtualInterfaceCommand = async (output, context) => {
|
|
684
684
|
if (output.statusCode >= 300) {
|
|
685
|
-
return
|
|
685
|
+
return de_AllocatePrivateVirtualInterfaceCommandError(output, context);
|
|
686
686
|
}
|
|
687
687
|
const data = await parseBody(output.body, context);
|
|
688
688
|
let contents = {};
|
|
689
|
-
contents =
|
|
689
|
+
contents = de_VirtualInterface(data, context);
|
|
690
690
|
const response = {
|
|
691
691
|
$metadata: deserializeMetadata(output),
|
|
692
692
|
...contents,
|
|
693
693
|
};
|
|
694
694
|
return Promise.resolve(response);
|
|
695
695
|
};
|
|
696
|
-
const
|
|
696
|
+
const de_AllocatePrivateVirtualInterfaceCommandError = async (output, context) => {
|
|
697
697
|
const parsedOutput = {
|
|
698
698
|
...output,
|
|
699
699
|
body: await parseErrorBody(output.body, context),
|
|
@@ -702,16 +702,16 @@ const deserializeAws_json1_1AllocatePrivateVirtualInterfaceCommandError = async
|
|
|
702
702
|
switch (errorCode) {
|
|
703
703
|
case "DirectConnectClientException":
|
|
704
704
|
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
705
|
-
throw await
|
|
705
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
706
706
|
case "DirectConnectServerException":
|
|
707
707
|
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
708
|
-
throw await
|
|
708
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
709
709
|
case "DuplicateTagKeysException":
|
|
710
710
|
case "com.amazonaws.directconnect#DuplicateTagKeysException":
|
|
711
|
-
throw await
|
|
711
|
+
throw await de_DuplicateTagKeysExceptionRes(parsedOutput, context);
|
|
712
712
|
case "TooManyTagsException":
|
|
713
713
|
case "com.amazonaws.directconnect#TooManyTagsException":
|
|
714
|
-
throw await
|
|
714
|
+
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
715
715
|
default:
|
|
716
716
|
const parsedBody = parsedOutput.body;
|
|
717
717
|
throwDefaultError({
|
|
@@ -722,20 +722,20 @@ const deserializeAws_json1_1AllocatePrivateVirtualInterfaceCommandError = async
|
|
|
722
722
|
});
|
|
723
723
|
}
|
|
724
724
|
};
|
|
725
|
-
export const
|
|
725
|
+
export const de_AllocatePublicVirtualInterfaceCommand = async (output, context) => {
|
|
726
726
|
if (output.statusCode >= 300) {
|
|
727
|
-
return
|
|
727
|
+
return de_AllocatePublicVirtualInterfaceCommandError(output, context);
|
|
728
728
|
}
|
|
729
729
|
const data = await parseBody(output.body, context);
|
|
730
730
|
let contents = {};
|
|
731
|
-
contents =
|
|
731
|
+
contents = de_VirtualInterface(data, context);
|
|
732
732
|
const response = {
|
|
733
733
|
$metadata: deserializeMetadata(output),
|
|
734
734
|
...contents,
|
|
735
735
|
};
|
|
736
736
|
return Promise.resolve(response);
|
|
737
737
|
};
|
|
738
|
-
const
|
|
738
|
+
const de_AllocatePublicVirtualInterfaceCommandError = async (output, context) => {
|
|
739
739
|
const parsedOutput = {
|
|
740
740
|
...output,
|
|
741
741
|
body: await parseErrorBody(output.body, context),
|
|
@@ -744,16 +744,16 @@ const deserializeAws_json1_1AllocatePublicVirtualInterfaceCommandError = async (
|
|
|
744
744
|
switch (errorCode) {
|
|
745
745
|
case "DirectConnectClientException":
|
|
746
746
|
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
747
|
-
throw await
|
|
747
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
748
748
|
case "DirectConnectServerException":
|
|
749
749
|
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
750
|
-
throw await
|
|
750
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
751
751
|
case "DuplicateTagKeysException":
|
|
752
752
|
case "com.amazonaws.directconnect#DuplicateTagKeysException":
|
|
753
|
-
throw await
|
|
753
|
+
throw await de_DuplicateTagKeysExceptionRes(parsedOutput, context);
|
|
754
754
|
case "TooManyTagsException":
|
|
755
755
|
case "com.amazonaws.directconnect#TooManyTagsException":
|
|
756
|
-
throw await
|
|
756
|
+
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
757
757
|
default:
|
|
758
758
|
const parsedBody = parsedOutput.body;
|
|
759
759
|
throwDefaultError({
|
|
@@ -764,20 +764,20 @@ const deserializeAws_json1_1AllocatePublicVirtualInterfaceCommandError = async (
|
|
|
764
764
|
});
|
|
765
765
|
}
|
|
766
766
|
};
|
|
767
|
-
export const
|
|
767
|
+
export const de_AllocateTransitVirtualInterfaceCommand = async (output, context) => {
|
|
768
768
|
if (output.statusCode >= 300) {
|
|
769
|
-
return
|
|
769
|
+
return de_AllocateTransitVirtualInterfaceCommandError(output, context);
|
|
770
770
|
}
|
|
771
771
|
const data = await parseBody(output.body, context);
|
|
772
772
|
let contents = {};
|
|
773
|
-
contents =
|
|
773
|
+
contents = de_AllocateTransitVirtualInterfaceResult(data, context);
|
|
774
774
|
const response = {
|
|
775
775
|
$metadata: deserializeMetadata(output),
|
|
776
776
|
...contents,
|
|
777
777
|
};
|
|
778
778
|
return Promise.resolve(response);
|
|
779
779
|
};
|
|
780
|
-
const
|
|
780
|
+
const de_AllocateTransitVirtualInterfaceCommandError = async (output, context) => {
|
|
781
781
|
const parsedOutput = {
|
|
782
782
|
...output,
|
|
783
783
|
body: await parseErrorBody(output.body, context),
|
|
@@ -786,16 +786,16 @@ const deserializeAws_json1_1AllocateTransitVirtualInterfaceCommandError = async
|
|
|
786
786
|
switch (errorCode) {
|
|
787
787
|
case "DirectConnectClientException":
|
|
788
788
|
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
789
|
-
throw await
|
|
789
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
790
790
|
case "DirectConnectServerException":
|
|
791
791
|
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
792
|
-
throw await
|
|
792
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
793
793
|
case "DuplicateTagKeysException":
|
|
794
794
|
case "com.amazonaws.directconnect#DuplicateTagKeysException":
|
|
795
|
-
throw await
|
|
795
|
+
throw await de_DuplicateTagKeysExceptionRes(parsedOutput, context);
|
|
796
796
|
case "TooManyTagsException":
|
|
797
797
|
case "com.amazonaws.directconnect#TooManyTagsException":
|
|
798
|
-
throw await
|
|
798
|
+
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
799
799
|
default:
|
|
800
800
|
const parsedBody = parsedOutput.body;
|
|
801
801
|
throwDefaultError({
|
|
@@ -806,20 +806,20 @@ const deserializeAws_json1_1AllocateTransitVirtualInterfaceCommandError = async
|
|
|
806
806
|
});
|
|
807
807
|
}
|
|
808
808
|
};
|
|
809
|
-
export const
|
|
809
|
+
export const de_AssociateConnectionWithLagCommand = async (output, context) => {
|
|
810
810
|
if (output.statusCode >= 300) {
|
|
811
|
-
return
|
|
811
|
+
return de_AssociateConnectionWithLagCommandError(output, context);
|
|
812
812
|
}
|
|
813
813
|
const data = await parseBody(output.body, context);
|
|
814
814
|
let contents = {};
|
|
815
|
-
contents =
|
|
815
|
+
contents = de_Connection(data, context);
|
|
816
816
|
const response = {
|
|
817
817
|
$metadata: deserializeMetadata(output),
|
|
818
818
|
...contents,
|
|
819
819
|
};
|
|
820
820
|
return Promise.resolve(response);
|
|
821
821
|
};
|
|
822
|
-
const
|
|
822
|
+
const de_AssociateConnectionWithLagCommandError = async (output, context) => {
|
|
823
823
|
const parsedOutput = {
|
|
824
824
|
...output,
|
|
825
825
|
body: await parseErrorBody(output.body, context),
|
|
@@ -828,10 +828,10 @@ const deserializeAws_json1_1AssociateConnectionWithLagCommandError = async (outp
|
|
|
828
828
|
switch (errorCode) {
|
|
829
829
|
case "DirectConnectClientException":
|
|
830
830
|
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
831
|
-
throw await
|
|
831
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
832
832
|
case "DirectConnectServerException":
|
|
833
833
|
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
834
|
-
throw await
|
|
834
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
835
835
|
default:
|
|
836
836
|
const parsedBody = parsedOutput.body;
|
|
837
837
|
throwDefaultError({
|
|
@@ -842,20 +842,20 @@ const deserializeAws_json1_1AssociateConnectionWithLagCommandError = async (outp
|
|
|
842
842
|
});
|
|
843
843
|
}
|
|
844
844
|
};
|
|
845
|
-
export const
|
|
845
|
+
export const de_AssociateHostedConnectionCommand = async (output, context) => {
|
|
846
846
|
if (output.statusCode >= 300) {
|
|
847
|
-
return
|
|
847
|
+
return de_AssociateHostedConnectionCommandError(output, context);
|
|
848
848
|
}
|
|
849
849
|
const data = await parseBody(output.body, context);
|
|
850
850
|
let contents = {};
|
|
851
|
-
contents =
|
|
851
|
+
contents = de_Connection(data, context);
|
|
852
852
|
const response = {
|
|
853
853
|
$metadata: deserializeMetadata(output),
|
|
854
854
|
...contents,
|
|
855
855
|
};
|
|
856
856
|
return Promise.resolve(response);
|
|
857
857
|
};
|
|
858
|
-
const
|
|
858
|
+
const de_AssociateHostedConnectionCommandError = async (output, context) => {
|
|
859
859
|
const parsedOutput = {
|
|
860
860
|
...output,
|
|
861
861
|
body: await parseErrorBody(output.body, context),
|
|
@@ -864,10 +864,10 @@ const deserializeAws_json1_1AssociateHostedConnectionCommandError = async (outpu
|
|
|
864
864
|
switch (errorCode) {
|
|
865
865
|
case "DirectConnectClientException":
|
|
866
866
|
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
867
|
-
throw await
|
|
867
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
868
868
|
case "DirectConnectServerException":
|
|
869
869
|
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
870
|
-
throw await
|
|
870
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
871
871
|
default:
|
|
872
872
|
const parsedBody = parsedOutput.body;
|
|
873
873
|
throwDefaultError({
|
|
@@ -878,20 +878,20 @@ const deserializeAws_json1_1AssociateHostedConnectionCommandError = async (outpu
|
|
|
878
878
|
});
|
|
879
879
|
}
|
|
880
880
|
};
|
|
881
|
-
export const
|
|
881
|
+
export const de_AssociateMacSecKeyCommand = async (output, context) => {
|
|
882
882
|
if (output.statusCode >= 300) {
|
|
883
|
-
return
|
|
883
|
+
return de_AssociateMacSecKeyCommandError(output, context);
|
|
884
884
|
}
|
|
885
885
|
const data = await parseBody(output.body, context);
|
|
886
886
|
let contents = {};
|
|
887
|
-
contents =
|
|
887
|
+
contents = de_AssociateMacSecKeyResponse(data, context);
|
|
888
888
|
const response = {
|
|
889
889
|
$metadata: deserializeMetadata(output),
|
|
890
890
|
...contents,
|
|
891
891
|
};
|
|
892
892
|
return Promise.resolve(response);
|
|
893
893
|
};
|
|
894
|
-
const
|
|
894
|
+
const de_AssociateMacSecKeyCommandError = async (output, context) => {
|
|
895
895
|
const parsedOutput = {
|
|
896
896
|
...output,
|
|
897
897
|
body: await parseErrorBody(output.body, context),
|
|
@@ -900,10 +900,10 @@ const deserializeAws_json1_1AssociateMacSecKeyCommandError = async (output, cont
|
|
|
900
900
|
switch (errorCode) {
|
|
901
901
|
case "DirectConnectClientException":
|
|
902
902
|
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
903
|
-
throw await
|
|
903
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
904
904
|
case "DirectConnectServerException":
|
|
905
905
|
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
906
|
-
throw await
|
|
906
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
907
907
|
default:
|
|
908
908
|
const parsedBody = parsedOutput.body;
|
|
909
909
|
throwDefaultError({
|
|
@@ -914,20 +914,20 @@ const deserializeAws_json1_1AssociateMacSecKeyCommandError = async (output, cont
|
|
|
914
914
|
});
|
|
915
915
|
}
|
|
916
916
|
};
|
|
917
|
-
export const
|
|
917
|
+
export const de_AssociateVirtualInterfaceCommand = async (output, context) => {
|
|
918
918
|
if (output.statusCode >= 300) {
|
|
919
|
-
return
|
|
919
|
+
return de_AssociateVirtualInterfaceCommandError(output, context);
|
|
920
920
|
}
|
|
921
921
|
const data = await parseBody(output.body, context);
|
|
922
922
|
let contents = {};
|
|
923
|
-
contents =
|
|
923
|
+
contents = de_VirtualInterface(data, context);
|
|
924
924
|
const response = {
|
|
925
925
|
$metadata: deserializeMetadata(output),
|
|
926
926
|
...contents,
|
|
927
927
|
};
|
|
928
928
|
return Promise.resolve(response);
|
|
929
929
|
};
|
|
930
|
-
const
|
|
930
|
+
const de_AssociateVirtualInterfaceCommandError = async (output, context) => {
|
|
931
931
|
const parsedOutput = {
|
|
932
932
|
...output,
|
|
933
933
|
body: await parseErrorBody(output.body, context),
|
|
@@ -936,10 +936,10 @@ const deserializeAws_json1_1AssociateVirtualInterfaceCommandError = async (outpu
|
|
|
936
936
|
switch (errorCode) {
|
|
937
937
|
case "DirectConnectClientException":
|
|
938
938
|
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
939
|
-
throw await
|
|
939
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
940
940
|
case "DirectConnectServerException":
|
|
941
941
|
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
942
|
-
throw await
|
|
942
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
943
943
|
default:
|
|
944
944
|
const parsedBody = parsedOutput.body;
|
|
945
945
|
throwDefaultError({
|
|
@@ -950,20 +950,20 @@ const deserializeAws_json1_1AssociateVirtualInterfaceCommandError = async (outpu
|
|
|
950
950
|
});
|
|
951
951
|
}
|
|
952
952
|
};
|
|
953
|
-
export const
|
|
953
|
+
export const de_ConfirmConnectionCommand = async (output, context) => {
|
|
954
954
|
if (output.statusCode >= 300) {
|
|
955
|
-
return
|
|
955
|
+
return de_ConfirmConnectionCommandError(output, context);
|
|
956
956
|
}
|
|
957
957
|
const data = await parseBody(output.body, context);
|
|
958
958
|
let contents = {};
|
|
959
|
-
contents =
|
|
959
|
+
contents = de_ConfirmConnectionResponse(data, context);
|
|
960
960
|
const response = {
|
|
961
961
|
$metadata: deserializeMetadata(output),
|
|
962
962
|
...contents,
|
|
963
963
|
};
|
|
964
964
|
return Promise.resolve(response);
|
|
965
965
|
};
|
|
966
|
-
const
|
|
966
|
+
const de_ConfirmConnectionCommandError = async (output, context) => {
|
|
967
967
|
const parsedOutput = {
|
|
968
968
|
...output,
|
|
969
969
|
body: await parseErrorBody(output.body, context),
|
|
@@ -972,10 +972,10 @@ const deserializeAws_json1_1ConfirmConnectionCommandError = async (output, conte
|
|
|
972
972
|
switch (errorCode) {
|
|
973
973
|
case "DirectConnectClientException":
|
|
974
974
|
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
975
|
-
throw await
|
|
975
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
976
976
|
case "DirectConnectServerException":
|
|
977
977
|
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
978
|
-
throw await
|
|
978
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
979
979
|
default:
|
|
980
980
|
const parsedBody = parsedOutput.body;
|
|
981
981
|
throwDefaultError({
|
|
@@ -986,20 +986,20 @@ const deserializeAws_json1_1ConfirmConnectionCommandError = async (output, conte
|
|
|
986
986
|
});
|
|
987
987
|
}
|
|
988
988
|
};
|
|
989
|
-
export const
|
|
989
|
+
export const de_ConfirmCustomerAgreementCommand = async (output, context) => {
|
|
990
990
|
if (output.statusCode >= 300) {
|
|
991
|
-
return
|
|
991
|
+
return de_ConfirmCustomerAgreementCommandError(output, context);
|
|
992
992
|
}
|
|
993
993
|
const data = await parseBody(output.body, context);
|
|
994
994
|
let contents = {};
|
|
995
|
-
contents =
|
|
995
|
+
contents = de_ConfirmCustomerAgreementResponse(data, context);
|
|
996
996
|
const response = {
|
|
997
997
|
$metadata: deserializeMetadata(output),
|
|
998
998
|
...contents,
|
|
999
999
|
};
|
|
1000
1000
|
return Promise.resolve(response);
|
|
1001
1001
|
};
|
|
1002
|
-
const
|
|
1002
|
+
const de_ConfirmCustomerAgreementCommandError = async (output, context) => {
|
|
1003
1003
|
const parsedOutput = {
|
|
1004
1004
|
...output,
|
|
1005
1005
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1008,10 +1008,10 @@ const deserializeAws_json1_1ConfirmCustomerAgreementCommandError = async (output
|
|
|
1008
1008
|
switch (errorCode) {
|
|
1009
1009
|
case "DirectConnectClientException":
|
|
1010
1010
|
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
1011
|
-
throw await
|
|
1011
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
1012
1012
|
case "DirectConnectServerException":
|
|
1013
1013
|
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
1014
|
-
throw await
|
|
1014
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
1015
1015
|
default:
|
|
1016
1016
|
const parsedBody = parsedOutput.body;
|
|
1017
1017
|
throwDefaultError({
|
|
@@ -1022,20 +1022,20 @@ const deserializeAws_json1_1ConfirmCustomerAgreementCommandError = async (output
|
|
|
1022
1022
|
});
|
|
1023
1023
|
}
|
|
1024
1024
|
};
|
|
1025
|
-
export const
|
|
1025
|
+
export const de_ConfirmPrivateVirtualInterfaceCommand = async (output, context) => {
|
|
1026
1026
|
if (output.statusCode >= 300) {
|
|
1027
|
-
return
|
|
1027
|
+
return de_ConfirmPrivateVirtualInterfaceCommandError(output, context);
|
|
1028
1028
|
}
|
|
1029
1029
|
const data = await parseBody(output.body, context);
|
|
1030
1030
|
let contents = {};
|
|
1031
|
-
contents =
|
|
1031
|
+
contents = de_ConfirmPrivateVirtualInterfaceResponse(data, context);
|
|
1032
1032
|
const response = {
|
|
1033
1033
|
$metadata: deserializeMetadata(output),
|
|
1034
1034
|
...contents,
|
|
1035
1035
|
};
|
|
1036
1036
|
return Promise.resolve(response);
|
|
1037
1037
|
};
|
|
1038
|
-
const
|
|
1038
|
+
const de_ConfirmPrivateVirtualInterfaceCommandError = async (output, context) => {
|
|
1039
1039
|
const parsedOutput = {
|
|
1040
1040
|
...output,
|
|
1041
1041
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1044,10 +1044,10 @@ const deserializeAws_json1_1ConfirmPrivateVirtualInterfaceCommandError = async (
|
|
|
1044
1044
|
switch (errorCode) {
|
|
1045
1045
|
case "DirectConnectClientException":
|
|
1046
1046
|
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
1047
|
-
throw await
|
|
1047
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
1048
1048
|
case "DirectConnectServerException":
|
|
1049
1049
|
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
1050
|
-
throw await
|
|
1050
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
1051
1051
|
default:
|
|
1052
1052
|
const parsedBody = parsedOutput.body;
|
|
1053
1053
|
throwDefaultError({
|
|
@@ -1058,20 +1058,20 @@ const deserializeAws_json1_1ConfirmPrivateVirtualInterfaceCommandError = async (
|
|
|
1058
1058
|
});
|
|
1059
1059
|
}
|
|
1060
1060
|
};
|
|
1061
|
-
export const
|
|
1061
|
+
export const de_ConfirmPublicVirtualInterfaceCommand = async (output, context) => {
|
|
1062
1062
|
if (output.statusCode >= 300) {
|
|
1063
|
-
return
|
|
1063
|
+
return de_ConfirmPublicVirtualInterfaceCommandError(output, context);
|
|
1064
1064
|
}
|
|
1065
1065
|
const data = await parseBody(output.body, context);
|
|
1066
1066
|
let contents = {};
|
|
1067
|
-
contents =
|
|
1067
|
+
contents = de_ConfirmPublicVirtualInterfaceResponse(data, context);
|
|
1068
1068
|
const response = {
|
|
1069
1069
|
$metadata: deserializeMetadata(output),
|
|
1070
1070
|
...contents,
|
|
1071
1071
|
};
|
|
1072
1072
|
return Promise.resolve(response);
|
|
1073
1073
|
};
|
|
1074
|
-
const
|
|
1074
|
+
const de_ConfirmPublicVirtualInterfaceCommandError = async (output, context) => {
|
|
1075
1075
|
const parsedOutput = {
|
|
1076
1076
|
...output,
|
|
1077
1077
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1080,10 +1080,10 @@ const deserializeAws_json1_1ConfirmPublicVirtualInterfaceCommandError = async (o
|
|
|
1080
1080
|
switch (errorCode) {
|
|
1081
1081
|
case "DirectConnectClientException":
|
|
1082
1082
|
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
1083
|
-
throw await
|
|
1083
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
1084
1084
|
case "DirectConnectServerException":
|
|
1085
1085
|
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
1086
|
-
throw await
|
|
1086
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
1087
1087
|
default:
|
|
1088
1088
|
const parsedBody = parsedOutput.body;
|
|
1089
1089
|
throwDefaultError({
|
|
@@ -1094,20 +1094,20 @@ const deserializeAws_json1_1ConfirmPublicVirtualInterfaceCommandError = async (o
|
|
|
1094
1094
|
});
|
|
1095
1095
|
}
|
|
1096
1096
|
};
|
|
1097
|
-
export const
|
|
1097
|
+
export const de_ConfirmTransitVirtualInterfaceCommand = async (output, context) => {
|
|
1098
1098
|
if (output.statusCode >= 300) {
|
|
1099
|
-
return
|
|
1099
|
+
return de_ConfirmTransitVirtualInterfaceCommandError(output, context);
|
|
1100
1100
|
}
|
|
1101
1101
|
const data = await parseBody(output.body, context);
|
|
1102
1102
|
let contents = {};
|
|
1103
|
-
contents =
|
|
1103
|
+
contents = de_ConfirmTransitVirtualInterfaceResponse(data, context);
|
|
1104
1104
|
const response = {
|
|
1105
1105
|
$metadata: deserializeMetadata(output),
|
|
1106
1106
|
...contents,
|
|
1107
1107
|
};
|
|
1108
1108
|
return Promise.resolve(response);
|
|
1109
1109
|
};
|
|
1110
|
-
const
|
|
1110
|
+
const de_ConfirmTransitVirtualInterfaceCommandError = async (output, context) => {
|
|
1111
1111
|
const parsedOutput = {
|
|
1112
1112
|
...output,
|
|
1113
1113
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1116,10 +1116,10 @@ const deserializeAws_json1_1ConfirmTransitVirtualInterfaceCommandError = async (
|
|
|
1116
1116
|
switch (errorCode) {
|
|
1117
1117
|
case "DirectConnectClientException":
|
|
1118
1118
|
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
1119
|
-
throw await
|
|
1119
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
1120
1120
|
case "DirectConnectServerException":
|
|
1121
1121
|
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
1122
|
-
throw await
|
|
1122
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
1123
1123
|
default:
|
|
1124
1124
|
const parsedBody = parsedOutput.body;
|
|
1125
1125
|
throwDefaultError({
|
|
@@ -1130,20 +1130,20 @@ const deserializeAws_json1_1ConfirmTransitVirtualInterfaceCommandError = async (
|
|
|
1130
1130
|
});
|
|
1131
1131
|
}
|
|
1132
1132
|
};
|
|
1133
|
-
export const
|
|
1133
|
+
export const de_CreateBGPPeerCommand = async (output, context) => {
|
|
1134
1134
|
if (output.statusCode >= 300) {
|
|
1135
|
-
return
|
|
1135
|
+
return de_CreateBGPPeerCommandError(output, context);
|
|
1136
1136
|
}
|
|
1137
1137
|
const data = await parseBody(output.body, context);
|
|
1138
1138
|
let contents = {};
|
|
1139
|
-
contents =
|
|
1139
|
+
contents = de_CreateBGPPeerResponse(data, context);
|
|
1140
1140
|
const response = {
|
|
1141
1141
|
$metadata: deserializeMetadata(output),
|
|
1142
1142
|
...contents,
|
|
1143
1143
|
};
|
|
1144
1144
|
return Promise.resolve(response);
|
|
1145
1145
|
};
|
|
1146
|
-
const
|
|
1146
|
+
const de_CreateBGPPeerCommandError = async (output, context) => {
|
|
1147
1147
|
const parsedOutput = {
|
|
1148
1148
|
...output,
|
|
1149
1149
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1152,10 +1152,10 @@ const deserializeAws_json1_1CreateBGPPeerCommandError = async (output, context)
|
|
|
1152
1152
|
switch (errorCode) {
|
|
1153
1153
|
case "DirectConnectClientException":
|
|
1154
1154
|
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
1155
|
-
throw await
|
|
1155
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
1156
1156
|
case "DirectConnectServerException":
|
|
1157
1157
|
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
1158
|
-
throw await
|
|
1158
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
1159
1159
|
default:
|
|
1160
1160
|
const parsedBody = parsedOutput.body;
|
|
1161
1161
|
throwDefaultError({
|
|
@@ -1166,20 +1166,20 @@ const deserializeAws_json1_1CreateBGPPeerCommandError = async (output, context)
|
|
|
1166
1166
|
});
|
|
1167
1167
|
}
|
|
1168
1168
|
};
|
|
1169
|
-
export const
|
|
1169
|
+
export const de_CreateConnectionCommand = async (output, context) => {
|
|
1170
1170
|
if (output.statusCode >= 300) {
|
|
1171
|
-
return
|
|
1171
|
+
return de_CreateConnectionCommandError(output, context);
|
|
1172
1172
|
}
|
|
1173
1173
|
const data = await parseBody(output.body, context);
|
|
1174
1174
|
let contents = {};
|
|
1175
|
-
contents =
|
|
1175
|
+
contents = de_Connection(data, context);
|
|
1176
1176
|
const response = {
|
|
1177
1177
|
$metadata: deserializeMetadata(output),
|
|
1178
1178
|
...contents,
|
|
1179
1179
|
};
|
|
1180
1180
|
return Promise.resolve(response);
|
|
1181
1181
|
};
|
|
1182
|
-
const
|
|
1182
|
+
const de_CreateConnectionCommandError = async (output, context) => {
|
|
1183
1183
|
const parsedOutput = {
|
|
1184
1184
|
...output,
|
|
1185
1185
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1188,16 +1188,16 @@ const deserializeAws_json1_1CreateConnectionCommandError = async (output, contex
|
|
|
1188
1188
|
switch (errorCode) {
|
|
1189
1189
|
case "DirectConnectClientException":
|
|
1190
1190
|
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
1191
|
-
throw await
|
|
1191
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
1192
1192
|
case "DirectConnectServerException":
|
|
1193
1193
|
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
1194
|
-
throw await
|
|
1194
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
1195
1195
|
case "DuplicateTagKeysException":
|
|
1196
1196
|
case "com.amazonaws.directconnect#DuplicateTagKeysException":
|
|
1197
|
-
throw await
|
|
1197
|
+
throw await de_DuplicateTagKeysExceptionRes(parsedOutput, context);
|
|
1198
1198
|
case "TooManyTagsException":
|
|
1199
1199
|
case "com.amazonaws.directconnect#TooManyTagsException":
|
|
1200
|
-
throw await
|
|
1200
|
+
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
1201
1201
|
default:
|
|
1202
1202
|
const parsedBody = parsedOutput.body;
|
|
1203
1203
|
throwDefaultError({
|
|
@@ -1208,20 +1208,20 @@ const deserializeAws_json1_1CreateConnectionCommandError = async (output, contex
|
|
|
1208
1208
|
});
|
|
1209
1209
|
}
|
|
1210
1210
|
};
|
|
1211
|
-
export const
|
|
1211
|
+
export const de_CreateDirectConnectGatewayCommand = async (output, context) => {
|
|
1212
1212
|
if (output.statusCode >= 300) {
|
|
1213
|
-
return
|
|
1213
|
+
return de_CreateDirectConnectGatewayCommandError(output, context);
|
|
1214
1214
|
}
|
|
1215
1215
|
const data = await parseBody(output.body, context);
|
|
1216
1216
|
let contents = {};
|
|
1217
|
-
contents =
|
|
1217
|
+
contents = de_CreateDirectConnectGatewayResult(data, context);
|
|
1218
1218
|
const response = {
|
|
1219
1219
|
$metadata: deserializeMetadata(output),
|
|
1220
1220
|
...contents,
|
|
1221
1221
|
};
|
|
1222
1222
|
return Promise.resolve(response);
|
|
1223
1223
|
};
|
|
1224
|
-
const
|
|
1224
|
+
const de_CreateDirectConnectGatewayCommandError = async (output, context) => {
|
|
1225
1225
|
const parsedOutput = {
|
|
1226
1226
|
...output,
|
|
1227
1227
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1230,10 +1230,10 @@ const deserializeAws_json1_1CreateDirectConnectGatewayCommandError = async (outp
|
|
|
1230
1230
|
switch (errorCode) {
|
|
1231
1231
|
case "DirectConnectClientException":
|
|
1232
1232
|
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
1233
|
-
throw await
|
|
1233
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
1234
1234
|
case "DirectConnectServerException":
|
|
1235
1235
|
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
1236
|
-
throw await
|
|
1236
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
1237
1237
|
default:
|
|
1238
1238
|
const parsedBody = parsedOutput.body;
|
|
1239
1239
|
throwDefaultError({
|
|
@@ -1244,20 +1244,20 @@ const deserializeAws_json1_1CreateDirectConnectGatewayCommandError = async (outp
|
|
|
1244
1244
|
});
|
|
1245
1245
|
}
|
|
1246
1246
|
};
|
|
1247
|
-
export const
|
|
1247
|
+
export const de_CreateDirectConnectGatewayAssociationCommand = async (output, context) => {
|
|
1248
1248
|
if (output.statusCode >= 300) {
|
|
1249
|
-
return
|
|
1249
|
+
return de_CreateDirectConnectGatewayAssociationCommandError(output, context);
|
|
1250
1250
|
}
|
|
1251
1251
|
const data = await parseBody(output.body, context);
|
|
1252
1252
|
let contents = {};
|
|
1253
|
-
contents =
|
|
1253
|
+
contents = de_CreateDirectConnectGatewayAssociationResult(data, context);
|
|
1254
1254
|
const response = {
|
|
1255
1255
|
$metadata: deserializeMetadata(output),
|
|
1256
1256
|
...contents,
|
|
1257
1257
|
};
|
|
1258
1258
|
return Promise.resolve(response);
|
|
1259
1259
|
};
|
|
1260
|
-
const
|
|
1260
|
+
const de_CreateDirectConnectGatewayAssociationCommandError = async (output, context) => {
|
|
1261
1261
|
const parsedOutput = {
|
|
1262
1262
|
...output,
|
|
1263
1263
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1266,10 +1266,10 @@ const deserializeAws_json1_1CreateDirectConnectGatewayAssociationCommandError =
|
|
|
1266
1266
|
switch (errorCode) {
|
|
1267
1267
|
case "DirectConnectClientException":
|
|
1268
1268
|
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
1269
|
-
throw await
|
|
1269
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
1270
1270
|
case "DirectConnectServerException":
|
|
1271
1271
|
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
1272
|
-
throw await
|
|
1272
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
1273
1273
|
default:
|
|
1274
1274
|
const parsedBody = parsedOutput.body;
|
|
1275
1275
|
throwDefaultError({
|
|
@@ -1280,20 +1280,20 @@ const deserializeAws_json1_1CreateDirectConnectGatewayAssociationCommandError =
|
|
|
1280
1280
|
});
|
|
1281
1281
|
}
|
|
1282
1282
|
};
|
|
1283
|
-
export const
|
|
1283
|
+
export const de_CreateDirectConnectGatewayAssociationProposalCommand = async (output, context) => {
|
|
1284
1284
|
if (output.statusCode >= 300) {
|
|
1285
|
-
return
|
|
1285
|
+
return de_CreateDirectConnectGatewayAssociationProposalCommandError(output, context);
|
|
1286
1286
|
}
|
|
1287
1287
|
const data = await parseBody(output.body, context);
|
|
1288
1288
|
let contents = {};
|
|
1289
|
-
contents =
|
|
1289
|
+
contents = de_CreateDirectConnectGatewayAssociationProposalResult(data, context);
|
|
1290
1290
|
const response = {
|
|
1291
1291
|
$metadata: deserializeMetadata(output),
|
|
1292
1292
|
...contents,
|
|
1293
1293
|
};
|
|
1294
1294
|
return Promise.resolve(response);
|
|
1295
1295
|
};
|
|
1296
|
-
const
|
|
1296
|
+
const de_CreateDirectConnectGatewayAssociationProposalCommandError = async (output, context) => {
|
|
1297
1297
|
const parsedOutput = {
|
|
1298
1298
|
...output,
|
|
1299
1299
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1302,10 +1302,10 @@ const deserializeAws_json1_1CreateDirectConnectGatewayAssociationProposalCommand
|
|
|
1302
1302
|
switch (errorCode) {
|
|
1303
1303
|
case "DirectConnectClientException":
|
|
1304
1304
|
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
1305
|
-
throw await
|
|
1305
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
1306
1306
|
case "DirectConnectServerException":
|
|
1307
1307
|
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
1308
|
-
throw await
|
|
1308
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
1309
1309
|
default:
|
|
1310
1310
|
const parsedBody = parsedOutput.body;
|
|
1311
1311
|
throwDefaultError({
|
|
@@ -1316,20 +1316,20 @@ const deserializeAws_json1_1CreateDirectConnectGatewayAssociationProposalCommand
|
|
|
1316
1316
|
});
|
|
1317
1317
|
}
|
|
1318
1318
|
};
|
|
1319
|
-
export const
|
|
1319
|
+
export const de_CreateInterconnectCommand = async (output, context) => {
|
|
1320
1320
|
if (output.statusCode >= 300) {
|
|
1321
|
-
return
|
|
1321
|
+
return de_CreateInterconnectCommandError(output, context);
|
|
1322
1322
|
}
|
|
1323
1323
|
const data = await parseBody(output.body, context);
|
|
1324
1324
|
let contents = {};
|
|
1325
|
-
contents =
|
|
1325
|
+
contents = de_Interconnect(data, context);
|
|
1326
1326
|
const response = {
|
|
1327
1327
|
$metadata: deserializeMetadata(output),
|
|
1328
1328
|
...contents,
|
|
1329
1329
|
};
|
|
1330
1330
|
return Promise.resolve(response);
|
|
1331
1331
|
};
|
|
1332
|
-
const
|
|
1332
|
+
const de_CreateInterconnectCommandError = async (output, context) => {
|
|
1333
1333
|
const parsedOutput = {
|
|
1334
1334
|
...output,
|
|
1335
1335
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1338,16 +1338,16 @@ const deserializeAws_json1_1CreateInterconnectCommandError = async (output, cont
|
|
|
1338
1338
|
switch (errorCode) {
|
|
1339
1339
|
case "DirectConnectClientException":
|
|
1340
1340
|
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
1341
|
-
throw await
|
|
1341
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
1342
1342
|
case "DirectConnectServerException":
|
|
1343
1343
|
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
1344
|
-
throw await
|
|
1344
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
1345
1345
|
case "DuplicateTagKeysException":
|
|
1346
1346
|
case "com.amazonaws.directconnect#DuplicateTagKeysException":
|
|
1347
|
-
throw await
|
|
1347
|
+
throw await de_DuplicateTagKeysExceptionRes(parsedOutput, context);
|
|
1348
1348
|
case "TooManyTagsException":
|
|
1349
1349
|
case "com.amazonaws.directconnect#TooManyTagsException":
|
|
1350
|
-
throw await
|
|
1350
|
+
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
1351
1351
|
default:
|
|
1352
1352
|
const parsedBody = parsedOutput.body;
|
|
1353
1353
|
throwDefaultError({
|
|
@@ -1358,20 +1358,20 @@ const deserializeAws_json1_1CreateInterconnectCommandError = async (output, cont
|
|
|
1358
1358
|
});
|
|
1359
1359
|
}
|
|
1360
1360
|
};
|
|
1361
|
-
export const
|
|
1361
|
+
export const de_CreateLagCommand = async (output, context) => {
|
|
1362
1362
|
if (output.statusCode >= 300) {
|
|
1363
|
-
return
|
|
1363
|
+
return de_CreateLagCommandError(output, context);
|
|
1364
1364
|
}
|
|
1365
1365
|
const data = await parseBody(output.body, context);
|
|
1366
1366
|
let contents = {};
|
|
1367
|
-
contents =
|
|
1367
|
+
contents = de_Lag(data, context);
|
|
1368
1368
|
const response = {
|
|
1369
1369
|
$metadata: deserializeMetadata(output),
|
|
1370
1370
|
...contents,
|
|
1371
1371
|
};
|
|
1372
1372
|
return Promise.resolve(response);
|
|
1373
1373
|
};
|
|
1374
|
-
const
|
|
1374
|
+
const de_CreateLagCommandError = async (output, context) => {
|
|
1375
1375
|
const parsedOutput = {
|
|
1376
1376
|
...output,
|
|
1377
1377
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1380,16 +1380,16 @@ const deserializeAws_json1_1CreateLagCommandError = async (output, context) => {
|
|
|
1380
1380
|
switch (errorCode) {
|
|
1381
1381
|
case "DirectConnectClientException":
|
|
1382
1382
|
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
1383
|
-
throw await
|
|
1383
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
1384
1384
|
case "DirectConnectServerException":
|
|
1385
1385
|
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
1386
|
-
throw await
|
|
1386
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
1387
1387
|
case "DuplicateTagKeysException":
|
|
1388
1388
|
case "com.amazonaws.directconnect#DuplicateTagKeysException":
|
|
1389
|
-
throw await
|
|
1389
|
+
throw await de_DuplicateTagKeysExceptionRes(parsedOutput, context);
|
|
1390
1390
|
case "TooManyTagsException":
|
|
1391
1391
|
case "com.amazonaws.directconnect#TooManyTagsException":
|
|
1392
|
-
throw await
|
|
1392
|
+
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
1393
1393
|
default:
|
|
1394
1394
|
const parsedBody = parsedOutput.body;
|
|
1395
1395
|
throwDefaultError({
|
|
@@ -1400,20 +1400,20 @@ const deserializeAws_json1_1CreateLagCommandError = async (output, context) => {
|
|
|
1400
1400
|
});
|
|
1401
1401
|
}
|
|
1402
1402
|
};
|
|
1403
|
-
export const
|
|
1403
|
+
export const de_CreatePrivateVirtualInterfaceCommand = async (output, context) => {
|
|
1404
1404
|
if (output.statusCode >= 300) {
|
|
1405
|
-
return
|
|
1405
|
+
return de_CreatePrivateVirtualInterfaceCommandError(output, context);
|
|
1406
1406
|
}
|
|
1407
1407
|
const data = await parseBody(output.body, context);
|
|
1408
1408
|
let contents = {};
|
|
1409
|
-
contents =
|
|
1409
|
+
contents = de_VirtualInterface(data, context);
|
|
1410
1410
|
const response = {
|
|
1411
1411
|
$metadata: deserializeMetadata(output),
|
|
1412
1412
|
...contents,
|
|
1413
1413
|
};
|
|
1414
1414
|
return Promise.resolve(response);
|
|
1415
1415
|
};
|
|
1416
|
-
const
|
|
1416
|
+
const de_CreatePrivateVirtualInterfaceCommandError = async (output, context) => {
|
|
1417
1417
|
const parsedOutput = {
|
|
1418
1418
|
...output,
|
|
1419
1419
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1422,16 +1422,16 @@ const deserializeAws_json1_1CreatePrivateVirtualInterfaceCommandError = async (o
|
|
|
1422
1422
|
switch (errorCode) {
|
|
1423
1423
|
case "DirectConnectClientException":
|
|
1424
1424
|
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
1425
|
-
throw await
|
|
1425
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
1426
1426
|
case "DirectConnectServerException":
|
|
1427
1427
|
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
1428
|
-
throw await
|
|
1428
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
1429
1429
|
case "DuplicateTagKeysException":
|
|
1430
1430
|
case "com.amazonaws.directconnect#DuplicateTagKeysException":
|
|
1431
|
-
throw await
|
|
1431
|
+
throw await de_DuplicateTagKeysExceptionRes(parsedOutput, context);
|
|
1432
1432
|
case "TooManyTagsException":
|
|
1433
1433
|
case "com.amazonaws.directconnect#TooManyTagsException":
|
|
1434
|
-
throw await
|
|
1434
|
+
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
1435
1435
|
default:
|
|
1436
1436
|
const parsedBody = parsedOutput.body;
|
|
1437
1437
|
throwDefaultError({
|
|
@@ -1442,20 +1442,20 @@ const deserializeAws_json1_1CreatePrivateVirtualInterfaceCommandError = async (o
|
|
|
1442
1442
|
});
|
|
1443
1443
|
}
|
|
1444
1444
|
};
|
|
1445
|
-
export const
|
|
1445
|
+
export const de_CreatePublicVirtualInterfaceCommand = async (output, context) => {
|
|
1446
1446
|
if (output.statusCode >= 300) {
|
|
1447
|
-
return
|
|
1447
|
+
return de_CreatePublicVirtualInterfaceCommandError(output, context);
|
|
1448
1448
|
}
|
|
1449
1449
|
const data = await parseBody(output.body, context);
|
|
1450
1450
|
let contents = {};
|
|
1451
|
-
contents =
|
|
1451
|
+
contents = de_VirtualInterface(data, context);
|
|
1452
1452
|
const response = {
|
|
1453
1453
|
$metadata: deserializeMetadata(output),
|
|
1454
1454
|
...contents,
|
|
1455
1455
|
};
|
|
1456
1456
|
return Promise.resolve(response);
|
|
1457
1457
|
};
|
|
1458
|
-
const
|
|
1458
|
+
const de_CreatePublicVirtualInterfaceCommandError = async (output, context) => {
|
|
1459
1459
|
const parsedOutput = {
|
|
1460
1460
|
...output,
|
|
1461
1461
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1464,16 +1464,16 @@ const deserializeAws_json1_1CreatePublicVirtualInterfaceCommandError = async (ou
|
|
|
1464
1464
|
switch (errorCode) {
|
|
1465
1465
|
case "DirectConnectClientException":
|
|
1466
1466
|
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
1467
|
-
throw await
|
|
1467
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
1468
1468
|
case "DirectConnectServerException":
|
|
1469
1469
|
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
1470
|
-
throw await
|
|
1470
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
1471
1471
|
case "DuplicateTagKeysException":
|
|
1472
1472
|
case "com.amazonaws.directconnect#DuplicateTagKeysException":
|
|
1473
|
-
throw await
|
|
1473
|
+
throw await de_DuplicateTagKeysExceptionRes(parsedOutput, context);
|
|
1474
1474
|
case "TooManyTagsException":
|
|
1475
1475
|
case "com.amazonaws.directconnect#TooManyTagsException":
|
|
1476
|
-
throw await
|
|
1476
|
+
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
1477
1477
|
default:
|
|
1478
1478
|
const parsedBody = parsedOutput.body;
|
|
1479
1479
|
throwDefaultError({
|
|
@@ -1484,20 +1484,20 @@ const deserializeAws_json1_1CreatePublicVirtualInterfaceCommandError = async (ou
|
|
|
1484
1484
|
});
|
|
1485
1485
|
}
|
|
1486
1486
|
};
|
|
1487
|
-
export const
|
|
1487
|
+
export const de_CreateTransitVirtualInterfaceCommand = async (output, context) => {
|
|
1488
1488
|
if (output.statusCode >= 300) {
|
|
1489
|
-
return
|
|
1489
|
+
return de_CreateTransitVirtualInterfaceCommandError(output, context);
|
|
1490
1490
|
}
|
|
1491
1491
|
const data = await parseBody(output.body, context);
|
|
1492
1492
|
let contents = {};
|
|
1493
|
-
contents =
|
|
1493
|
+
contents = de_CreateTransitVirtualInterfaceResult(data, context);
|
|
1494
1494
|
const response = {
|
|
1495
1495
|
$metadata: deserializeMetadata(output),
|
|
1496
1496
|
...contents,
|
|
1497
1497
|
};
|
|
1498
1498
|
return Promise.resolve(response);
|
|
1499
1499
|
};
|
|
1500
|
-
const
|
|
1500
|
+
const de_CreateTransitVirtualInterfaceCommandError = async (output, context) => {
|
|
1501
1501
|
const parsedOutput = {
|
|
1502
1502
|
...output,
|
|
1503
1503
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1506,16 +1506,16 @@ const deserializeAws_json1_1CreateTransitVirtualInterfaceCommandError = async (o
|
|
|
1506
1506
|
switch (errorCode) {
|
|
1507
1507
|
case "DirectConnectClientException":
|
|
1508
1508
|
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
1509
|
-
throw await
|
|
1509
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
1510
1510
|
case "DirectConnectServerException":
|
|
1511
1511
|
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
1512
|
-
throw await
|
|
1512
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
1513
1513
|
case "DuplicateTagKeysException":
|
|
1514
1514
|
case "com.amazonaws.directconnect#DuplicateTagKeysException":
|
|
1515
|
-
throw await
|
|
1515
|
+
throw await de_DuplicateTagKeysExceptionRes(parsedOutput, context);
|
|
1516
1516
|
case "TooManyTagsException":
|
|
1517
1517
|
case "com.amazonaws.directconnect#TooManyTagsException":
|
|
1518
|
-
throw await
|
|
1518
|
+
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
1519
1519
|
default:
|
|
1520
1520
|
const parsedBody = parsedOutput.body;
|
|
1521
1521
|
throwDefaultError({
|
|
@@ -1526,20 +1526,20 @@ const deserializeAws_json1_1CreateTransitVirtualInterfaceCommandError = async (o
|
|
|
1526
1526
|
});
|
|
1527
1527
|
}
|
|
1528
1528
|
};
|
|
1529
|
-
export const
|
|
1529
|
+
export const de_DeleteBGPPeerCommand = async (output, context) => {
|
|
1530
1530
|
if (output.statusCode >= 300) {
|
|
1531
|
-
return
|
|
1531
|
+
return de_DeleteBGPPeerCommandError(output, context);
|
|
1532
1532
|
}
|
|
1533
1533
|
const data = await parseBody(output.body, context);
|
|
1534
1534
|
let contents = {};
|
|
1535
|
-
contents =
|
|
1535
|
+
contents = de_DeleteBGPPeerResponse(data, context);
|
|
1536
1536
|
const response = {
|
|
1537
1537
|
$metadata: deserializeMetadata(output),
|
|
1538
1538
|
...contents,
|
|
1539
1539
|
};
|
|
1540
1540
|
return Promise.resolve(response);
|
|
1541
1541
|
};
|
|
1542
|
-
const
|
|
1542
|
+
const de_DeleteBGPPeerCommandError = async (output, context) => {
|
|
1543
1543
|
const parsedOutput = {
|
|
1544
1544
|
...output,
|
|
1545
1545
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1548,10 +1548,10 @@ const deserializeAws_json1_1DeleteBGPPeerCommandError = async (output, context)
|
|
|
1548
1548
|
switch (errorCode) {
|
|
1549
1549
|
case "DirectConnectClientException":
|
|
1550
1550
|
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
1551
|
-
throw await
|
|
1551
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
1552
1552
|
case "DirectConnectServerException":
|
|
1553
1553
|
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
1554
|
-
throw await
|
|
1554
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
1555
1555
|
default:
|
|
1556
1556
|
const parsedBody = parsedOutput.body;
|
|
1557
1557
|
throwDefaultError({
|
|
@@ -1562,20 +1562,20 @@ const deserializeAws_json1_1DeleteBGPPeerCommandError = async (output, context)
|
|
|
1562
1562
|
});
|
|
1563
1563
|
}
|
|
1564
1564
|
};
|
|
1565
|
-
export const
|
|
1565
|
+
export const de_DeleteConnectionCommand = async (output, context) => {
|
|
1566
1566
|
if (output.statusCode >= 300) {
|
|
1567
|
-
return
|
|
1567
|
+
return de_DeleteConnectionCommandError(output, context);
|
|
1568
1568
|
}
|
|
1569
1569
|
const data = await parseBody(output.body, context);
|
|
1570
1570
|
let contents = {};
|
|
1571
|
-
contents =
|
|
1571
|
+
contents = de_Connection(data, context);
|
|
1572
1572
|
const response = {
|
|
1573
1573
|
$metadata: deserializeMetadata(output),
|
|
1574
1574
|
...contents,
|
|
1575
1575
|
};
|
|
1576
1576
|
return Promise.resolve(response);
|
|
1577
1577
|
};
|
|
1578
|
-
const
|
|
1578
|
+
const de_DeleteConnectionCommandError = async (output, context) => {
|
|
1579
1579
|
const parsedOutput = {
|
|
1580
1580
|
...output,
|
|
1581
1581
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1584,10 +1584,10 @@ const deserializeAws_json1_1DeleteConnectionCommandError = async (output, contex
|
|
|
1584
1584
|
switch (errorCode) {
|
|
1585
1585
|
case "DirectConnectClientException":
|
|
1586
1586
|
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
1587
|
-
throw await
|
|
1587
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
1588
1588
|
case "DirectConnectServerException":
|
|
1589
1589
|
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
1590
|
-
throw await
|
|
1590
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
1591
1591
|
default:
|
|
1592
1592
|
const parsedBody = parsedOutput.body;
|
|
1593
1593
|
throwDefaultError({
|
|
@@ -1598,20 +1598,20 @@ const deserializeAws_json1_1DeleteConnectionCommandError = async (output, contex
|
|
|
1598
1598
|
});
|
|
1599
1599
|
}
|
|
1600
1600
|
};
|
|
1601
|
-
export const
|
|
1601
|
+
export const de_DeleteDirectConnectGatewayCommand = async (output, context) => {
|
|
1602
1602
|
if (output.statusCode >= 300) {
|
|
1603
|
-
return
|
|
1603
|
+
return de_DeleteDirectConnectGatewayCommandError(output, context);
|
|
1604
1604
|
}
|
|
1605
1605
|
const data = await parseBody(output.body, context);
|
|
1606
1606
|
let contents = {};
|
|
1607
|
-
contents =
|
|
1607
|
+
contents = de_DeleteDirectConnectGatewayResult(data, context);
|
|
1608
1608
|
const response = {
|
|
1609
1609
|
$metadata: deserializeMetadata(output),
|
|
1610
1610
|
...contents,
|
|
1611
1611
|
};
|
|
1612
1612
|
return Promise.resolve(response);
|
|
1613
1613
|
};
|
|
1614
|
-
const
|
|
1614
|
+
const de_DeleteDirectConnectGatewayCommandError = async (output, context) => {
|
|
1615
1615
|
const parsedOutput = {
|
|
1616
1616
|
...output,
|
|
1617
1617
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1620,10 +1620,10 @@ const deserializeAws_json1_1DeleteDirectConnectGatewayCommandError = async (outp
|
|
|
1620
1620
|
switch (errorCode) {
|
|
1621
1621
|
case "DirectConnectClientException":
|
|
1622
1622
|
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
1623
|
-
throw await
|
|
1623
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
1624
1624
|
case "DirectConnectServerException":
|
|
1625
1625
|
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
1626
|
-
throw await
|
|
1626
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
1627
1627
|
default:
|
|
1628
1628
|
const parsedBody = parsedOutput.body;
|
|
1629
1629
|
throwDefaultError({
|
|
@@ -1634,20 +1634,20 @@ const deserializeAws_json1_1DeleteDirectConnectGatewayCommandError = async (outp
|
|
|
1634
1634
|
});
|
|
1635
1635
|
}
|
|
1636
1636
|
};
|
|
1637
|
-
export const
|
|
1637
|
+
export const de_DeleteDirectConnectGatewayAssociationCommand = async (output, context) => {
|
|
1638
1638
|
if (output.statusCode >= 300) {
|
|
1639
|
-
return
|
|
1639
|
+
return de_DeleteDirectConnectGatewayAssociationCommandError(output, context);
|
|
1640
1640
|
}
|
|
1641
1641
|
const data = await parseBody(output.body, context);
|
|
1642
1642
|
let contents = {};
|
|
1643
|
-
contents =
|
|
1643
|
+
contents = de_DeleteDirectConnectGatewayAssociationResult(data, context);
|
|
1644
1644
|
const response = {
|
|
1645
1645
|
$metadata: deserializeMetadata(output),
|
|
1646
1646
|
...contents,
|
|
1647
1647
|
};
|
|
1648
1648
|
return Promise.resolve(response);
|
|
1649
1649
|
};
|
|
1650
|
-
const
|
|
1650
|
+
const de_DeleteDirectConnectGatewayAssociationCommandError = async (output, context) => {
|
|
1651
1651
|
const parsedOutput = {
|
|
1652
1652
|
...output,
|
|
1653
1653
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1656,10 +1656,10 @@ const deserializeAws_json1_1DeleteDirectConnectGatewayAssociationCommandError =
|
|
|
1656
1656
|
switch (errorCode) {
|
|
1657
1657
|
case "DirectConnectClientException":
|
|
1658
1658
|
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
1659
|
-
throw await
|
|
1659
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
1660
1660
|
case "DirectConnectServerException":
|
|
1661
1661
|
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
1662
|
-
throw await
|
|
1662
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
1663
1663
|
default:
|
|
1664
1664
|
const parsedBody = parsedOutput.body;
|
|
1665
1665
|
throwDefaultError({
|
|
@@ -1670,20 +1670,20 @@ const deserializeAws_json1_1DeleteDirectConnectGatewayAssociationCommandError =
|
|
|
1670
1670
|
});
|
|
1671
1671
|
}
|
|
1672
1672
|
};
|
|
1673
|
-
export const
|
|
1673
|
+
export const de_DeleteDirectConnectGatewayAssociationProposalCommand = async (output, context) => {
|
|
1674
1674
|
if (output.statusCode >= 300) {
|
|
1675
|
-
return
|
|
1675
|
+
return de_DeleteDirectConnectGatewayAssociationProposalCommandError(output, context);
|
|
1676
1676
|
}
|
|
1677
1677
|
const data = await parseBody(output.body, context);
|
|
1678
1678
|
let contents = {};
|
|
1679
|
-
contents =
|
|
1679
|
+
contents = de_DeleteDirectConnectGatewayAssociationProposalResult(data, context);
|
|
1680
1680
|
const response = {
|
|
1681
1681
|
$metadata: deserializeMetadata(output),
|
|
1682
1682
|
...contents,
|
|
1683
1683
|
};
|
|
1684
1684
|
return Promise.resolve(response);
|
|
1685
1685
|
};
|
|
1686
|
-
const
|
|
1686
|
+
const de_DeleteDirectConnectGatewayAssociationProposalCommandError = async (output, context) => {
|
|
1687
1687
|
const parsedOutput = {
|
|
1688
1688
|
...output,
|
|
1689
1689
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1692,10 +1692,10 @@ const deserializeAws_json1_1DeleteDirectConnectGatewayAssociationProposalCommand
|
|
|
1692
1692
|
switch (errorCode) {
|
|
1693
1693
|
case "DirectConnectClientException":
|
|
1694
1694
|
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
1695
|
-
throw await
|
|
1695
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
1696
1696
|
case "DirectConnectServerException":
|
|
1697
1697
|
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
1698
|
-
throw await
|
|
1698
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
1699
1699
|
default:
|
|
1700
1700
|
const parsedBody = parsedOutput.body;
|
|
1701
1701
|
throwDefaultError({
|
|
@@ -1706,20 +1706,20 @@ const deserializeAws_json1_1DeleteDirectConnectGatewayAssociationProposalCommand
|
|
|
1706
1706
|
});
|
|
1707
1707
|
}
|
|
1708
1708
|
};
|
|
1709
|
-
export const
|
|
1709
|
+
export const de_DeleteInterconnectCommand = async (output, context) => {
|
|
1710
1710
|
if (output.statusCode >= 300) {
|
|
1711
|
-
return
|
|
1711
|
+
return de_DeleteInterconnectCommandError(output, context);
|
|
1712
1712
|
}
|
|
1713
1713
|
const data = await parseBody(output.body, context);
|
|
1714
1714
|
let contents = {};
|
|
1715
|
-
contents =
|
|
1715
|
+
contents = de_DeleteInterconnectResponse(data, context);
|
|
1716
1716
|
const response = {
|
|
1717
1717
|
$metadata: deserializeMetadata(output),
|
|
1718
1718
|
...contents,
|
|
1719
1719
|
};
|
|
1720
1720
|
return Promise.resolve(response);
|
|
1721
1721
|
};
|
|
1722
|
-
const
|
|
1722
|
+
const de_DeleteInterconnectCommandError = async (output, context) => {
|
|
1723
1723
|
const parsedOutput = {
|
|
1724
1724
|
...output,
|
|
1725
1725
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1728,10 +1728,10 @@ const deserializeAws_json1_1DeleteInterconnectCommandError = async (output, cont
|
|
|
1728
1728
|
switch (errorCode) {
|
|
1729
1729
|
case "DirectConnectClientException":
|
|
1730
1730
|
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
1731
|
-
throw await
|
|
1731
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
1732
1732
|
case "DirectConnectServerException":
|
|
1733
1733
|
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
1734
|
-
throw await
|
|
1734
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
1735
1735
|
default:
|
|
1736
1736
|
const parsedBody = parsedOutput.body;
|
|
1737
1737
|
throwDefaultError({
|
|
@@ -1742,20 +1742,20 @@ const deserializeAws_json1_1DeleteInterconnectCommandError = async (output, cont
|
|
|
1742
1742
|
});
|
|
1743
1743
|
}
|
|
1744
1744
|
};
|
|
1745
|
-
export const
|
|
1745
|
+
export const de_DeleteLagCommand = async (output, context) => {
|
|
1746
1746
|
if (output.statusCode >= 300) {
|
|
1747
|
-
return
|
|
1747
|
+
return de_DeleteLagCommandError(output, context);
|
|
1748
1748
|
}
|
|
1749
1749
|
const data = await parseBody(output.body, context);
|
|
1750
1750
|
let contents = {};
|
|
1751
|
-
contents =
|
|
1751
|
+
contents = de_Lag(data, context);
|
|
1752
1752
|
const response = {
|
|
1753
1753
|
$metadata: deserializeMetadata(output),
|
|
1754
1754
|
...contents,
|
|
1755
1755
|
};
|
|
1756
1756
|
return Promise.resolve(response);
|
|
1757
1757
|
};
|
|
1758
|
-
const
|
|
1758
|
+
const de_DeleteLagCommandError = async (output, context) => {
|
|
1759
1759
|
const parsedOutput = {
|
|
1760
1760
|
...output,
|
|
1761
1761
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1764,10 +1764,10 @@ const deserializeAws_json1_1DeleteLagCommandError = async (output, context) => {
|
|
|
1764
1764
|
switch (errorCode) {
|
|
1765
1765
|
case "DirectConnectClientException":
|
|
1766
1766
|
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
1767
|
-
throw await
|
|
1767
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
1768
1768
|
case "DirectConnectServerException":
|
|
1769
1769
|
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
1770
|
-
throw await
|
|
1770
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
1771
1771
|
default:
|
|
1772
1772
|
const parsedBody = parsedOutput.body;
|
|
1773
1773
|
throwDefaultError({
|
|
@@ -1778,20 +1778,20 @@ const deserializeAws_json1_1DeleteLagCommandError = async (output, context) => {
|
|
|
1778
1778
|
});
|
|
1779
1779
|
}
|
|
1780
1780
|
};
|
|
1781
|
-
export const
|
|
1781
|
+
export const de_DeleteVirtualInterfaceCommand = async (output, context) => {
|
|
1782
1782
|
if (output.statusCode >= 300) {
|
|
1783
|
-
return
|
|
1783
|
+
return de_DeleteVirtualInterfaceCommandError(output, context);
|
|
1784
1784
|
}
|
|
1785
1785
|
const data = await parseBody(output.body, context);
|
|
1786
1786
|
let contents = {};
|
|
1787
|
-
contents =
|
|
1787
|
+
contents = de_DeleteVirtualInterfaceResponse(data, context);
|
|
1788
1788
|
const response = {
|
|
1789
1789
|
$metadata: deserializeMetadata(output),
|
|
1790
1790
|
...contents,
|
|
1791
1791
|
};
|
|
1792
1792
|
return Promise.resolve(response);
|
|
1793
1793
|
};
|
|
1794
|
-
const
|
|
1794
|
+
const de_DeleteVirtualInterfaceCommandError = async (output, context) => {
|
|
1795
1795
|
const parsedOutput = {
|
|
1796
1796
|
...output,
|
|
1797
1797
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1800,10 +1800,10 @@ const deserializeAws_json1_1DeleteVirtualInterfaceCommandError = async (output,
|
|
|
1800
1800
|
switch (errorCode) {
|
|
1801
1801
|
case "DirectConnectClientException":
|
|
1802
1802
|
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
1803
|
-
throw await
|
|
1803
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
1804
1804
|
case "DirectConnectServerException":
|
|
1805
1805
|
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
1806
|
-
throw await
|
|
1806
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
1807
1807
|
default:
|
|
1808
1808
|
const parsedBody = parsedOutput.body;
|
|
1809
1809
|
throwDefaultError({
|
|
@@ -1814,20 +1814,20 @@ const deserializeAws_json1_1DeleteVirtualInterfaceCommandError = async (output,
|
|
|
1814
1814
|
});
|
|
1815
1815
|
}
|
|
1816
1816
|
};
|
|
1817
|
-
export const
|
|
1817
|
+
export const de_DescribeConnectionLoaCommand = async (output, context) => {
|
|
1818
1818
|
if (output.statusCode >= 300) {
|
|
1819
|
-
return
|
|
1819
|
+
return de_DescribeConnectionLoaCommandError(output, context);
|
|
1820
1820
|
}
|
|
1821
1821
|
const data = await parseBody(output.body, context);
|
|
1822
1822
|
let contents = {};
|
|
1823
|
-
contents =
|
|
1823
|
+
contents = de_DescribeConnectionLoaResponse(data, context);
|
|
1824
1824
|
const response = {
|
|
1825
1825
|
$metadata: deserializeMetadata(output),
|
|
1826
1826
|
...contents,
|
|
1827
1827
|
};
|
|
1828
1828
|
return Promise.resolve(response);
|
|
1829
1829
|
};
|
|
1830
|
-
const
|
|
1830
|
+
const de_DescribeConnectionLoaCommandError = async (output, context) => {
|
|
1831
1831
|
const parsedOutput = {
|
|
1832
1832
|
...output,
|
|
1833
1833
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1836,10 +1836,10 @@ const deserializeAws_json1_1DescribeConnectionLoaCommandError = async (output, c
|
|
|
1836
1836
|
switch (errorCode) {
|
|
1837
1837
|
case "DirectConnectClientException":
|
|
1838
1838
|
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
1839
|
-
throw await
|
|
1839
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
1840
1840
|
case "DirectConnectServerException":
|
|
1841
1841
|
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
1842
|
-
throw await
|
|
1842
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
1843
1843
|
default:
|
|
1844
1844
|
const parsedBody = parsedOutput.body;
|
|
1845
1845
|
throwDefaultError({
|
|
@@ -1850,20 +1850,20 @@ const deserializeAws_json1_1DescribeConnectionLoaCommandError = async (output, c
|
|
|
1850
1850
|
});
|
|
1851
1851
|
}
|
|
1852
1852
|
};
|
|
1853
|
-
export const
|
|
1853
|
+
export const de_DescribeConnectionsCommand = async (output, context) => {
|
|
1854
1854
|
if (output.statusCode >= 300) {
|
|
1855
|
-
return
|
|
1855
|
+
return de_DescribeConnectionsCommandError(output, context);
|
|
1856
1856
|
}
|
|
1857
1857
|
const data = await parseBody(output.body, context);
|
|
1858
1858
|
let contents = {};
|
|
1859
|
-
contents =
|
|
1859
|
+
contents = de_Connections(data, context);
|
|
1860
1860
|
const response = {
|
|
1861
1861
|
$metadata: deserializeMetadata(output),
|
|
1862
1862
|
...contents,
|
|
1863
1863
|
};
|
|
1864
1864
|
return Promise.resolve(response);
|
|
1865
1865
|
};
|
|
1866
|
-
const
|
|
1866
|
+
const de_DescribeConnectionsCommandError = async (output, context) => {
|
|
1867
1867
|
const parsedOutput = {
|
|
1868
1868
|
...output,
|
|
1869
1869
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1872,10 +1872,10 @@ const deserializeAws_json1_1DescribeConnectionsCommandError = async (output, con
|
|
|
1872
1872
|
switch (errorCode) {
|
|
1873
1873
|
case "DirectConnectClientException":
|
|
1874
1874
|
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
1875
|
-
throw await
|
|
1875
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
1876
1876
|
case "DirectConnectServerException":
|
|
1877
1877
|
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
1878
|
-
throw await
|
|
1878
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
1879
1879
|
default:
|
|
1880
1880
|
const parsedBody = parsedOutput.body;
|
|
1881
1881
|
throwDefaultError({
|
|
@@ -1886,20 +1886,20 @@ const deserializeAws_json1_1DescribeConnectionsCommandError = async (output, con
|
|
|
1886
1886
|
});
|
|
1887
1887
|
}
|
|
1888
1888
|
};
|
|
1889
|
-
export const
|
|
1889
|
+
export const de_DescribeConnectionsOnInterconnectCommand = async (output, context) => {
|
|
1890
1890
|
if (output.statusCode >= 300) {
|
|
1891
|
-
return
|
|
1891
|
+
return de_DescribeConnectionsOnInterconnectCommandError(output, context);
|
|
1892
1892
|
}
|
|
1893
1893
|
const data = await parseBody(output.body, context);
|
|
1894
1894
|
let contents = {};
|
|
1895
|
-
contents =
|
|
1895
|
+
contents = de_Connections(data, context);
|
|
1896
1896
|
const response = {
|
|
1897
1897
|
$metadata: deserializeMetadata(output),
|
|
1898
1898
|
...contents,
|
|
1899
1899
|
};
|
|
1900
1900
|
return Promise.resolve(response);
|
|
1901
1901
|
};
|
|
1902
|
-
const
|
|
1902
|
+
const de_DescribeConnectionsOnInterconnectCommandError = async (output, context) => {
|
|
1903
1903
|
const parsedOutput = {
|
|
1904
1904
|
...output,
|
|
1905
1905
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1908,10 +1908,10 @@ const deserializeAws_json1_1DescribeConnectionsOnInterconnectCommandError = asyn
|
|
|
1908
1908
|
switch (errorCode) {
|
|
1909
1909
|
case "DirectConnectClientException":
|
|
1910
1910
|
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
1911
|
-
throw await
|
|
1911
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
1912
1912
|
case "DirectConnectServerException":
|
|
1913
1913
|
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
1914
|
-
throw await
|
|
1914
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
1915
1915
|
default:
|
|
1916
1916
|
const parsedBody = parsedOutput.body;
|
|
1917
1917
|
throwDefaultError({
|
|
@@ -1922,20 +1922,20 @@ const deserializeAws_json1_1DescribeConnectionsOnInterconnectCommandError = asyn
|
|
|
1922
1922
|
});
|
|
1923
1923
|
}
|
|
1924
1924
|
};
|
|
1925
|
-
export const
|
|
1925
|
+
export const de_DescribeCustomerMetadataCommand = async (output, context) => {
|
|
1926
1926
|
if (output.statusCode >= 300) {
|
|
1927
|
-
return
|
|
1927
|
+
return de_DescribeCustomerMetadataCommandError(output, context);
|
|
1928
1928
|
}
|
|
1929
1929
|
const data = await parseBody(output.body, context);
|
|
1930
1930
|
let contents = {};
|
|
1931
|
-
contents =
|
|
1931
|
+
contents = de_DescribeCustomerMetadataResponse(data, context);
|
|
1932
1932
|
const response = {
|
|
1933
1933
|
$metadata: deserializeMetadata(output),
|
|
1934
1934
|
...contents,
|
|
1935
1935
|
};
|
|
1936
1936
|
return Promise.resolve(response);
|
|
1937
1937
|
};
|
|
1938
|
-
const
|
|
1938
|
+
const de_DescribeCustomerMetadataCommandError = async (output, context) => {
|
|
1939
1939
|
const parsedOutput = {
|
|
1940
1940
|
...output,
|
|
1941
1941
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1944,10 +1944,10 @@ const deserializeAws_json1_1DescribeCustomerMetadataCommandError = async (output
|
|
|
1944
1944
|
switch (errorCode) {
|
|
1945
1945
|
case "DirectConnectClientException":
|
|
1946
1946
|
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
1947
|
-
throw await
|
|
1947
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
1948
1948
|
case "DirectConnectServerException":
|
|
1949
1949
|
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
1950
|
-
throw await
|
|
1950
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
1951
1951
|
default:
|
|
1952
1952
|
const parsedBody = parsedOutput.body;
|
|
1953
1953
|
throwDefaultError({
|
|
@@ -1958,20 +1958,20 @@ const deserializeAws_json1_1DescribeCustomerMetadataCommandError = async (output
|
|
|
1958
1958
|
});
|
|
1959
1959
|
}
|
|
1960
1960
|
};
|
|
1961
|
-
export const
|
|
1961
|
+
export const de_DescribeDirectConnectGatewayAssociationProposalsCommand = async (output, context) => {
|
|
1962
1962
|
if (output.statusCode >= 300) {
|
|
1963
|
-
return
|
|
1963
|
+
return de_DescribeDirectConnectGatewayAssociationProposalsCommandError(output, context);
|
|
1964
1964
|
}
|
|
1965
1965
|
const data = await parseBody(output.body, context);
|
|
1966
1966
|
let contents = {};
|
|
1967
|
-
contents =
|
|
1967
|
+
contents = de_DescribeDirectConnectGatewayAssociationProposalsResult(data, context);
|
|
1968
1968
|
const response = {
|
|
1969
1969
|
$metadata: deserializeMetadata(output),
|
|
1970
1970
|
...contents,
|
|
1971
1971
|
};
|
|
1972
1972
|
return Promise.resolve(response);
|
|
1973
1973
|
};
|
|
1974
|
-
const
|
|
1974
|
+
const de_DescribeDirectConnectGatewayAssociationProposalsCommandError = async (output, context) => {
|
|
1975
1975
|
const parsedOutput = {
|
|
1976
1976
|
...output,
|
|
1977
1977
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1980,10 +1980,10 @@ const deserializeAws_json1_1DescribeDirectConnectGatewayAssociationProposalsComm
|
|
|
1980
1980
|
switch (errorCode) {
|
|
1981
1981
|
case "DirectConnectClientException":
|
|
1982
1982
|
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
1983
|
-
throw await
|
|
1983
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
1984
1984
|
case "DirectConnectServerException":
|
|
1985
1985
|
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
1986
|
-
throw await
|
|
1986
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
1987
1987
|
default:
|
|
1988
1988
|
const parsedBody = parsedOutput.body;
|
|
1989
1989
|
throwDefaultError({
|
|
@@ -1994,20 +1994,20 @@ const deserializeAws_json1_1DescribeDirectConnectGatewayAssociationProposalsComm
|
|
|
1994
1994
|
});
|
|
1995
1995
|
}
|
|
1996
1996
|
};
|
|
1997
|
-
export const
|
|
1997
|
+
export const de_DescribeDirectConnectGatewayAssociationsCommand = async (output, context) => {
|
|
1998
1998
|
if (output.statusCode >= 300) {
|
|
1999
|
-
return
|
|
1999
|
+
return de_DescribeDirectConnectGatewayAssociationsCommandError(output, context);
|
|
2000
2000
|
}
|
|
2001
2001
|
const data = await parseBody(output.body, context);
|
|
2002
2002
|
let contents = {};
|
|
2003
|
-
contents =
|
|
2003
|
+
contents = de_DescribeDirectConnectGatewayAssociationsResult(data, context);
|
|
2004
2004
|
const response = {
|
|
2005
2005
|
$metadata: deserializeMetadata(output),
|
|
2006
2006
|
...contents,
|
|
2007
2007
|
};
|
|
2008
2008
|
return Promise.resolve(response);
|
|
2009
2009
|
};
|
|
2010
|
-
const
|
|
2010
|
+
const de_DescribeDirectConnectGatewayAssociationsCommandError = async (output, context) => {
|
|
2011
2011
|
const parsedOutput = {
|
|
2012
2012
|
...output,
|
|
2013
2013
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2016,10 +2016,10 @@ const deserializeAws_json1_1DescribeDirectConnectGatewayAssociationsCommandError
|
|
|
2016
2016
|
switch (errorCode) {
|
|
2017
2017
|
case "DirectConnectClientException":
|
|
2018
2018
|
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
2019
|
-
throw await
|
|
2019
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
2020
2020
|
case "DirectConnectServerException":
|
|
2021
2021
|
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
2022
|
-
throw await
|
|
2022
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
2023
2023
|
default:
|
|
2024
2024
|
const parsedBody = parsedOutput.body;
|
|
2025
2025
|
throwDefaultError({
|
|
@@ -2030,20 +2030,20 @@ const deserializeAws_json1_1DescribeDirectConnectGatewayAssociationsCommandError
|
|
|
2030
2030
|
});
|
|
2031
2031
|
}
|
|
2032
2032
|
};
|
|
2033
|
-
export const
|
|
2033
|
+
export const de_DescribeDirectConnectGatewayAttachmentsCommand = async (output, context) => {
|
|
2034
2034
|
if (output.statusCode >= 300) {
|
|
2035
|
-
return
|
|
2035
|
+
return de_DescribeDirectConnectGatewayAttachmentsCommandError(output, context);
|
|
2036
2036
|
}
|
|
2037
2037
|
const data = await parseBody(output.body, context);
|
|
2038
2038
|
let contents = {};
|
|
2039
|
-
contents =
|
|
2039
|
+
contents = de_DescribeDirectConnectGatewayAttachmentsResult(data, context);
|
|
2040
2040
|
const response = {
|
|
2041
2041
|
$metadata: deserializeMetadata(output),
|
|
2042
2042
|
...contents,
|
|
2043
2043
|
};
|
|
2044
2044
|
return Promise.resolve(response);
|
|
2045
2045
|
};
|
|
2046
|
-
const
|
|
2046
|
+
const de_DescribeDirectConnectGatewayAttachmentsCommandError = async (output, context) => {
|
|
2047
2047
|
const parsedOutput = {
|
|
2048
2048
|
...output,
|
|
2049
2049
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2052,10 +2052,10 @@ const deserializeAws_json1_1DescribeDirectConnectGatewayAttachmentsCommandError
|
|
|
2052
2052
|
switch (errorCode) {
|
|
2053
2053
|
case "DirectConnectClientException":
|
|
2054
2054
|
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
2055
|
-
throw await
|
|
2055
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
2056
2056
|
case "DirectConnectServerException":
|
|
2057
2057
|
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
2058
|
-
throw await
|
|
2058
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
2059
2059
|
default:
|
|
2060
2060
|
const parsedBody = parsedOutput.body;
|
|
2061
2061
|
throwDefaultError({
|
|
@@ -2066,20 +2066,20 @@ const deserializeAws_json1_1DescribeDirectConnectGatewayAttachmentsCommandError
|
|
|
2066
2066
|
});
|
|
2067
2067
|
}
|
|
2068
2068
|
};
|
|
2069
|
-
export const
|
|
2069
|
+
export const de_DescribeDirectConnectGatewaysCommand = async (output, context) => {
|
|
2070
2070
|
if (output.statusCode >= 300) {
|
|
2071
|
-
return
|
|
2071
|
+
return de_DescribeDirectConnectGatewaysCommandError(output, context);
|
|
2072
2072
|
}
|
|
2073
2073
|
const data = await parseBody(output.body, context);
|
|
2074
2074
|
let contents = {};
|
|
2075
|
-
contents =
|
|
2075
|
+
contents = de_DescribeDirectConnectGatewaysResult(data, context);
|
|
2076
2076
|
const response = {
|
|
2077
2077
|
$metadata: deserializeMetadata(output),
|
|
2078
2078
|
...contents,
|
|
2079
2079
|
};
|
|
2080
2080
|
return Promise.resolve(response);
|
|
2081
2081
|
};
|
|
2082
|
-
const
|
|
2082
|
+
const de_DescribeDirectConnectGatewaysCommandError = async (output, context) => {
|
|
2083
2083
|
const parsedOutput = {
|
|
2084
2084
|
...output,
|
|
2085
2085
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2088,10 +2088,10 @@ const deserializeAws_json1_1DescribeDirectConnectGatewaysCommandError = async (o
|
|
|
2088
2088
|
switch (errorCode) {
|
|
2089
2089
|
case "DirectConnectClientException":
|
|
2090
2090
|
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
2091
|
-
throw await
|
|
2091
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
2092
2092
|
case "DirectConnectServerException":
|
|
2093
2093
|
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
2094
|
-
throw await
|
|
2094
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
2095
2095
|
default:
|
|
2096
2096
|
const parsedBody = parsedOutput.body;
|
|
2097
2097
|
throwDefaultError({
|
|
@@ -2102,20 +2102,20 @@ const deserializeAws_json1_1DescribeDirectConnectGatewaysCommandError = async (o
|
|
|
2102
2102
|
});
|
|
2103
2103
|
}
|
|
2104
2104
|
};
|
|
2105
|
-
export const
|
|
2105
|
+
export const de_DescribeHostedConnectionsCommand = async (output, context) => {
|
|
2106
2106
|
if (output.statusCode >= 300) {
|
|
2107
|
-
return
|
|
2107
|
+
return de_DescribeHostedConnectionsCommandError(output, context);
|
|
2108
2108
|
}
|
|
2109
2109
|
const data = await parseBody(output.body, context);
|
|
2110
2110
|
let contents = {};
|
|
2111
|
-
contents =
|
|
2111
|
+
contents = de_Connections(data, context);
|
|
2112
2112
|
const response = {
|
|
2113
2113
|
$metadata: deserializeMetadata(output),
|
|
2114
2114
|
...contents,
|
|
2115
2115
|
};
|
|
2116
2116
|
return Promise.resolve(response);
|
|
2117
2117
|
};
|
|
2118
|
-
const
|
|
2118
|
+
const de_DescribeHostedConnectionsCommandError = async (output, context) => {
|
|
2119
2119
|
const parsedOutput = {
|
|
2120
2120
|
...output,
|
|
2121
2121
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2124,10 +2124,10 @@ const deserializeAws_json1_1DescribeHostedConnectionsCommandError = async (outpu
|
|
|
2124
2124
|
switch (errorCode) {
|
|
2125
2125
|
case "DirectConnectClientException":
|
|
2126
2126
|
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
2127
|
-
throw await
|
|
2127
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
2128
2128
|
case "DirectConnectServerException":
|
|
2129
2129
|
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
2130
|
-
throw await
|
|
2130
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
2131
2131
|
default:
|
|
2132
2132
|
const parsedBody = parsedOutput.body;
|
|
2133
2133
|
throwDefaultError({
|
|
@@ -2138,20 +2138,20 @@ const deserializeAws_json1_1DescribeHostedConnectionsCommandError = async (outpu
|
|
|
2138
2138
|
});
|
|
2139
2139
|
}
|
|
2140
2140
|
};
|
|
2141
|
-
export const
|
|
2141
|
+
export const de_DescribeInterconnectLoaCommand = async (output, context) => {
|
|
2142
2142
|
if (output.statusCode >= 300) {
|
|
2143
|
-
return
|
|
2143
|
+
return de_DescribeInterconnectLoaCommandError(output, context);
|
|
2144
2144
|
}
|
|
2145
2145
|
const data = await parseBody(output.body, context);
|
|
2146
2146
|
let contents = {};
|
|
2147
|
-
contents =
|
|
2147
|
+
contents = de_DescribeInterconnectLoaResponse(data, context);
|
|
2148
2148
|
const response = {
|
|
2149
2149
|
$metadata: deserializeMetadata(output),
|
|
2150
2150
|
...contents,
|
|
2151
2151
|
};
|
|
2152
2152
|
return Promise.resolve(response);
|
|
2153
2153
|
};
|
|
2154
|
-
const
|
|
2154
|
+
const de_DescribeInterconnectLoaCommandError = async (output, context) => {
|
|
2155
2155
|
const parsedOutput = {
|
|
2156
2156
|
...output,
|
|
2157
2157
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2160,10 +2160,10 @@ const deserializeAws_json1_1DescribeInterconnectLoaCommandError = async (output,
|
|
|
2160
2160
|
switch (errorCode) {
|
|
2161
2161
|
case "DirectConnectClientException":
|
|
2162
2162
|
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
2163
|
-
throw await
|
|
2163
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
2164
2164
|
case "DirectConnectServerException":
|
|
2165
2165
|
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
2166
|
-
throw await
|
|
2166
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
2167
2167
|
default:
|
|
2168
2168
|
const parsedBody = parsedOutput.body;
|
|
2169
2169
|
throwDefaultError({
|
|
@@ -2174,20 +2174,20 @@ const deserializeAws_json1_1DescribeInterconnectLoaCommandError = async (output,
|
|
|
2174
2174
|
});
|
|
2175
2175
|
}
|
|
2176
2176
|
};
|
|
2177
|
-
export const
|
|
2177
|
+
export const de_DescribeInterconnectsCommand = async (output, context) => {
|
|
2178
2178
|
if (output.statusCode >= 300) {
|
|
2179
|
-
return
|
|
2179
|
+
return de_DescribeInterconnectsCommandError(output, context);
|
|
2180
2180
|
}
|
|
2181
2181
|
const data = await parseBody(output.body, context);
|
|
2182
2182
|
let contents = {};
|
|
2183
|
-
contents =
|
|
2183
|
+
contents = de_Interconnects(data, context);
|
|
2184
2184
|
const response = {
|
|
2185
2185
|
$metadata: deserializeMetadata(output),
|
|
2186
2186
|
...contents,
|
|
2187
2187
|
};
|
|
2188
2188
|
return Promise.resolve(response);
|
|
2189
2189
|
};
|
|
2190
|
-
const
|
|
2190
|
+
const de_DescribeInterconnectsCommandError = async (output, context) => {
|
|
2191
2191
|
const parsedOutput = {
|
|
2192
2192
|
...output,
|
|
2193
2193
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2196,10 +2196,10 @@ const deserializeAws_json1_1DescribeInterconnectsCommandError = async (output, c
|
|
|
2196
2196
|
switch (errorCode) {
|
|
2197
2197
|
case "DirectConnectClientException":
|
|
2198
2198
|
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
2199
|
-
throw await
|
|
2199
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
2200
2200
|
case "DirectConnectServerException":
|
|
2201
2201
|
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
2202
|
-
throw await
|
|
2202
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
2203
2203
|
default:
|
|
2204
2204
|
const parsedBody = parsedOutput.body;
|
|
2205
2205
|
throwDefaultError({
|
|
@@ -2210,20 +2210,20 @@ const deserializeAws_json1_1DescribeInterconnectsCommandError = async (output, c
|
|
|
2210
2210
|
});
|
|
2211
2211
|
}
|
|
2212
2212
|
};
|
|
2213
|
-
export const
|
|
2213
|
+
export const de_DescribeLagsCommand = async (output, context) => {
|
|
2214
2214
|
if (output.statusCode >= 300) {
|
|
2215
|
-
return
|
|
2215
|
+
return de_DescribeLagsCommandError(output, context);
|
|
2216
2216
|
}
|
|
2217
2217
|
const data = await parseBody(output.body, context);
|
|
2218
2218
|
let contents = {};
|
|
2219
|
-
contents =
|
|
2219
|
+
contents = de_Lags(data, context);
|
|
2220
2220
|
const response = {
|
|
2221
2221
|
$metadata: deserializeMetadata(output),
|
|
2222
2222
|
...contents,
|
|
2223
2223
|
};
|
|
2224
2224
|
return Promise.resolve(response);
|
|
2225
2225
|
};
|
|
2226
|
-
const
|
|
2226
|
+
const de_DescribeLagsCommandError = async (output, context) => {
|
|
2227
2227
|
const parsedOutput = {
|
|
2228
2228
|
...output,
|
|
2229
2229
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2232,10 +2232,10 @@ const deserializeAws_json1_1DescribeLagsCommandError = async (output, context) =
|
|
|
2232
2232
|
switch (errorCode) {
|
|
2233
2233
|
case "DirectConnectClientException":
|
|
2234
2234
|
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
2235
|
-
throw await
|
|
2235
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
2236
2236
|
case "DirectConnectServerException":
|
|
2237
2237
|
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
2238
|
-
throw await
|
|
2238
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
2239
2239
|
default:
|
|
2240
2240
|
const parsedBody = parsedOutput.body;
|
|
2241
2241
|
throwDefaultError({
|
|
@@ -2246,20 +2246,20 @@ const deserializeAws_json1_1DescribeLagsCommandError = async (output, context) =
|
|
|
2246
2246
|
});
|
|
2247
2247
|
}
|
|
2248
2248
|
};
|
|
2249
|
-
export const
|
|
2249
|
+
export const de_DescribeLoaCommand = async (output, context) => {
|
|
2250
2250
|
if (output.statusCode >= 300) {
|
|
2251
|
-
return
|
|
2251
|
+
return de_DescribeLoaCommandError(output, context);
|
|
2252
2252
|
}
|
|
2253
2253
|
const data = await parseBody(output.body, context);
|
|
2254
2254
|
let contents = {};
|
|
2255
|
-
contents =
|
|
2255
|
+
contents = de_Loa(data, context);
|
|
2256
2256
|
const response = {
|
|
2257
2257
|
$metadata: deserializeMetadata(output),
|
|
2258
2258
|
...contents,
|
|
2259
2259
|
};
|
|
2260
2260
|
return Promise.resolve(response);
|
|
2261
2261
|
};
|
|
2262
|
-
const
|
|
2262
|
+
const de_DescribeLoaCommandError = async (output, context) => {
|
|
2263
2263
|
const parsedOutput = {
|
|
2264
2264
|
...output,
|
|
2265
2265
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2268,10 +2268,10 @@ const deserializeAws_json1_1DescribeLoaCommandError = async (output, context) =>
|
|
|
2268
2268
|
switch (errorCode) {
|
|
2269
2269
|
case "DirectConnectClientException":
|
|
2270
2270
|
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
2271
|
-
throw await
|
|
2271
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
2272
2272
|
case "DirectConnectServerException":
|
|
2273
2273
|
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
2274
|
-
throw await
|
|
2274
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
2275
2275
|
default:
|
|
2276
2276
|
const parsedBody = parsedOutput.body;
|
|
2277
2277
|
throwDefaultError({
|
|
@@ -2282,20 +2282,20 @@ const deserializeAws_json1_1DescribeLoaCommandError = async (output, context) =>
|
|
|
2282
2282
|
});
|
|
2283
2283
|
}
|
|
2284
2284
|
};
|
|
2285
|
-
export const
|
|
2285
|
+
export const de_DescribeLocationsCommand = async (output, context) => {
|
|
2286
2286
|
if (output.statusCode >= 300) {
|
|
2287
|
-
return
|
|
2287
|
+
return de_DescribeLocationsCommandError(output, context);
|
|
2288
2288
|
}
|
|
2289
2289
|
const data = await parseBody(output.body, context);
|
|
2290
2290
|
let contents = {};
|
|
2291
|
-
contents =
|
|
2291
|
+
contents = de_Locations(data, context);
|
|
2292
2292
|
const response = {
|
|
2293
2293
|
$metadata: deserializeMetadata(output),
|
|
2294
2294
|
...contents,
|
|
2295
2295
|
};
|
|
2296
2296
|
return Promise.resolve(response);
|
|
2297
2297
|
};
|
|
2298
|
-
const
|
|
2298
|
+
const de_DescribeLocationsCommandError = async (output, context) => {
|
|
2299
2299
|
const parsedOutput = {
|
|
2300
2300
|
...output,
|
|
2301
2301
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2304,10 +2304,10 @@ const deserializeAws_json1_1DescribeLocationsCommandError = async (output, conte
|
|
|
2304
2304
|
switch (errorCode) {
|
|
2305
2305
|
case "DirectConnectClientException":
|
|
2306
2306
|
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
2307
|
-
throw await
|
|
2307
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
2308
2308
|
case "DirectConnectServerException":
|
|
2309
2309
|
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
2310
|
-
throw await
|
|
2310
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
2311
2311
|
default:
|
|
2312
2312
|
const parsedBody = parsedOutput.body;
|
|
2313
2313
|
throwDefaultError({
|
|
@@ -2318,20 +2318,20 @@ const deserializeAws_json1_1DescribeLocationsCommandError = async (output, conte
|
|
|
2318
2318
|
});
|
|
2319
2319
|
}
|
|
2320
2320
|
};
|
|
2321
|
-
export const
|
|
2321
|
+
export const de_DescribeRouterConfigurationCommand = async (output, context) => {
|
|
2322
2322
|
if (output.statusCode >= 300) {
|
|
2323
|
-
return
|
|
2323
|
+
return de_DescribeRouterConfigurationCommandError(output, context);
|
|
2324
2324
|
}
|
|
2325
2325
|
const data = await parseBody(output.body, context);
|
|
2326
2326
|
let contents = {};
|
|
2327
|
-
contents =
|
|
2327
|
+
contents = de_DescribeRouterConfigurationResponse(data, context);
|
|
2328
2328
|
const response = {
|
|
2329
2329
|
$metadata: deserializeMetadata(output),
|
|
2330
2330
|
...contents,
|
|
2331
2331
|
};
|
|
2332
2332
|
return Promise.resolve(response);
|
|
2333
2333
|
};
|
|
2334
|
-
const
|
|
2334
|
+
const de_DescribeRouterConfigurationCommandError = async (output, context) => {
|
|
2335
2335
|
const parsedOutput = {
|
|
2336
2336
|
...output,
|
|
2337
2337
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2340,10 +2340,10 @@ const deserializeAws_json1_1DescribeRouterConfigurationCommandError = async (out
|
|
|
2340
2340
|
switch (errorCode) {
|
|
2341
2341
|
case "DirectConnectClientException":
|
|
2342
2342
|
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
2343
|
-
throw await
|
|
2343
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
2344
2344
|
case "DirectConnectServerException":
|
|
2345
2345
|
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
2346
|
-
throw await
|
|
2346
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
2347
2347
|
default:
|
|
2348
2348
|
const parsedBody = parsedOutput.body;
|
|
2349
2349
|
throwDefaultError({
|
|
@@ -2354,20 +2354,20 @@ const deserializeAws_json1_1DescribeRouterConfigurationCommandError = async (out
|
|
|
2354
2354
|
});
|
|
2355
2355
|
}
|
|
2356
2356
|
};
|
|
2357
|
-
export const
|
|
2357
|
+
export const de_DescribeTagsCommand = async (output, context) => {
|
|
2358
2358
|
if (output.statusCode >= 300) {
|
|
2359
|
-
return
|
|
2359
|
+
return de_DescribeTagsCommandError(output, context);
|
|
2360
2360
|
}
|
|
2361
2361
|
const data = await parseBody(output.body, context);
|
|
2362
2362
|
let contents = {};
|
|
2363
|
-
contents =
|
|
2363
|
+
contents = de_DescribeTagsResponse(data, context);
|
|
2364
2364
|
const response = {
|
|
2365
2365
|
$metadata: deserializeMetadata(output),
|
|
2366
2366
|
...contents,
|
|
2367
2367
|
};
|
|
2368
2368
|
return Promise.resolve(response);
|
|
2369
2369
|
};
|
|
2370
|
-
const
|
|
2370
|
+
const de_DescribeTagsCommandError = async (output, context) => {
|
|
2371
2371
|
const parsedOutput = {
|
|
2372
2372
|
...output,
|
|
2373
2373
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2376,10 +2376,10 @@ const deserializeAws_json1_1DescribeTagsCommandError = async (output, context) =
|
|
|
2376
2376
|
switch (errorCode) {
|
|
2377
2377
|
case "DirectConnectClientException":
|
|
2378
2378
|
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
2379
|
-
throw await
|
|
2379
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
2380
2380
|
case "DirectConnectServerException":
|
|
2381
2381
|
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
2382
|
-
throw await
|
|
2382
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
2383
2383
|
default:
|
|
2384
2384
|
const parsedBody = parsedOutput.body;
|
|
2385
2385
|
throwDefaultError({
|
|
@@ -2390,20 +2390,20 @@ const deserializeAws_json1_1DescribeTagsCommandError = async (output, context) =
|
|
|
2390
2390
|
});
|
|
2391
2391
|
}
|
|
2392
2392
|
};
|
|
2393
|
-
export const
|
|
2393
|
+
export const de_DescribeVirtualGatewaysCommand = async (output, context) => {
|
|
2394
2394
|
if (output.statusCode >= 300) {
|
|
2395
|
-
return
|
|
2395
|
+
return de_DescribeVirtualGatewaysCommandError(output, context);
|
|
2396
2396
|
}
|
|
2397
2397
|
const data = await parseBody(output.body, context);
|
|
2398
2398
|
let contents = {};
|
|
2399
|
-
contents =
|
|
2399
|
+
contents = de_VirtualGateways(data, context);
|
|
2400
2400
|
const response = {
|
|
2401
2401
|
$metadata: deserializeMetadata(output),
|
|
2402
2402
|
...contents,
|
|
2403
2403
|
};
|
|
2404
2404
|
return Promise.resolve(response);
|
|
2405
2405
|
};
|
|
2406
|
-
const
|
|
2406
|
+
const de_DescribeVirtualGatewaysCommandError = async (output, context) => {
|
|
2407
2407
|
const parsedOutput = {
|
|
2408
2408
|
...output,
|
|
2409
2409
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2412,10 +2412,10 @@ const deserializeAws_json1_1DescribeVirtualGatewaysCommandError = async (output,
|
|
|
2412
2412
|
switch (errorCode) {
|
|
2413
2413
|
case "DirectConnectClientException":
|
|
2414
2414
|
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
2415
|
-
throw await
|
|
2415
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
2416
2416
|
case "DirectConnectServerException":
|
|
2417
2417
|
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
2418
|
-
throw await
|
|
2418
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
2419
2419
|
default:
|
|
2420
2420
|
const parsedBody = parsedOutput.body;
|
|
2421
2421
|
throwDefaultError({
|
|
@@ -2426,20 +2426,20 @@ const deserializeAws_json1_1DescribeVirtualGatewaysCommandError = async (output,
|
|
|
2426
2426
|
});
|
|
2427
2427
|
}
|
|
2428
2428
|
};
|
|
2429
|
-
export const
|
|
2429
|
+
export const de_DescribeVirtualInterfacesCommand = async (output, context) => {
|
|
2430
2430
|
if (output.statusCode >= 300) {
|
|
2431
|
-
return
|
|
2431
|
+
return de_DescribeVirtualInterfacesCommandError(output, context);
|
|
2432
2432
|
}
|
|
2433
2433
|
const data = await parseBody(output.body, context);
|
|
2434
2434
|
let contents = {};
|
|
2435
|
-
contents =
|
|
2435
|
+
contents = de_VirtualInterfaces(data, context);
|
|
2436
2436
|
const response = {
|
|
2437
2437
|
$metadata: deserializeMetadata(output),
|
|
2438
2438
|
...contents,
|
|
2439
2439
|
};
|
|
2440
2440
|
return Promise.resolve(response);
|
|
2441
2441
|
};
|
|
2442
|
-
const
|
|
2442
|
+
const de_DescribeVirtualInterfacesCommandError = async (output, context) => {
|
|
2443
2443
|
const parsedOutput = {
|
|
2444
2444
|
...output,
|
|
2445
2445
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2448,10 +2448,10 @@ const deserializeAws_json1_1DescribeVirtualInterfacesCommandError = async (outpu
|
|
|
2448
2448
|
switch (errorCode) {
|
|
2449
2449
|
case "DirectConnectClientException":
|
|
2450
2450
|
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
2451
|
-
throw await
|
|
2451
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
2452
2452
|
case "DirectConnectServerException":
|
|
2453
2453
|
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
2454
|
-
throw await
|
|
2454
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
2455
2455
|
default:
|
|
2456
2456
|
const parsedBody = parsedOutput.body;
|
|
2457
2457
|
throwDefaultError({
|
|
@@ -2462,20 +2462,20 @@ const deserializeAws_json1_1DescribeVirtualInterfacesCommandError = async (outpu
|
|
|
2462
2462
|
});
|
|
2463
2463
|
}
|
|
2464
2464
|
};
|
|
2465
|
-
export const
|
|
2465
|
+
export const de_DisassociateConnectionFromLagCommand = async (output, context) => {
|
|
2466
2466
|
if (output.statusCode >= 300) {
|
|
2467
|
-
return
|
|
2467
|
+
return de_DisassociateConnectionFromLagCommandError(output, context);
|
|
2468
2468
|
}
|
|
2469
2469
|
const data = await parseBody(output.body, context);
|
|
2470
2470
|
let contents = {};
|
|
2471
|
-
contents =
|
|
2471
|
+
contents = de_Connection(data, context);
|
|
2472
2472
|
const response = {
|
|
2473
2473
|
$metadata: deserializeMetadata(output),
|
|
2474
2474
|
...contents,
|
|
2475
2475
|
};
|
|
2476
2476
|
return Promise.resolve(response);
|
|
2477
2477
|
};
|
|
2478
|
-
const
|
|
2478
|
+
const de_DisassociateConnectionFromLagCommandError = async (output, context) => {
|
|
2479
2479
|
const parsedOutput = {
|
|
2480
2480
|
...output,
|
|
2481
2481
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2484,10 +2484,10 @@ const deserializeAws_json1_1DisassociateConnectionFromLagCommandError = async (o
|
|
|
2484
2484
|
switch (errorCode) {
|
|
2485
2485
|
case "DirectConnectClientException":
|
|
2486
2486
|
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
2487
|
-
throw await
|
|
2487
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
2488
2488
|
case "DirectConnectServerException":
|
|
2489
2489
|
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
2490
|
-
throw await
|
|
2490
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
2491
2491
|
default:
|
|
2492
2492
|
const parsedBody = parsedOutput.body;
|
|
2493
2493
|
throwDefaultError({
|
|
@@ -2498,20 +2498,20 @@ const deserializeAws_json1_1DisassociateConnectionFromLagCommandError = async (o
|
|
|
2498
2498
|
});
|
|
2499
2499
|
}
|
|
2500
2500
|
};
|
|
2501
|
-
export const
|
|
2501
|
+
export const de_DisassociateMacSecKeyCommand = async (output, context) => {
|
|
2502
2502
|
if (output.statusCode >= 300) {
|
|
2503
|
-
return
|
|
2503
|
+
return de_DisassociateMacSecKeyCommandError(output, context);
|
|
2504
2504
|
}
|
|
2505
2505
|
const data = await parseBody(output.body, context);
|
|
2506
2506
|
let contents = {};
|
|
2507
|
-
contents =
|
|
2507
|
+
contents = de_DisassociateMacSecKeyResponse(data, context);
|
|
2508
2508
|
const response = {
|
|
2509
2509
|
$metadata: deserializeMetadata(output),
|
|
2510
2510
|
...contents,
|
|
2511
2511
|
};
|
|
2512
2512
|
return Promise.resolve(response);
|
|
2513
2513
|
};
|
|
2514
|
-
const
|
|
2514
|
+
const de_DisassociateMacSecKeyCommandError = async (output, context) => {
|
|
2515
2515
|
const parsedOutput = {
|
|
2516
2516
|
...output,
|
|
2517
2517
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2520,10 +2520,10 @@ const deserializeAws_json1_1DisassociateMacSecKeyCommandError = async (output, c
|
|
|
2520
2520
|
switch (errorCode) {
|
|
2521
2521
|
case "DirectConnectClientException":
|
|
2522
2522
|
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
2523
|
-
throw await
|
|
2523
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
2524
2524
|
case "DirectConnectServerException":
|
|
2525
2525
|
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
2526
|
-
throw await
|
|
2526
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
2527
2527
|
default:
|
|
2528
2528
|
const parsedBody = parsedOutput.body;
|
|
2529
2529
|
throwDefaultError({
|
|
@@ -2534,20 +2534,20 @@ const deserializeAws_json1_1DisassociateMacSecKeyCommandError = async (output, c
|
|
|
2534
2534
|
});
|
|
2535
2535
|
}
|
|
2536
2536
|
};
|
|
2537
|
-
export const
|
|
2537
|
+
export const de_ListVirtualInterfaceTestHistoryCommand = async (output, context) => {
|
|
2538
2538
|
if (output.statusCode >= 300) {
|
|
2539
|
-
return
|
|
2539
|
+
return de_ListVirtualInterfaceTestHistoryCommandError(output, context);
|
|
2540
2540
|
}
|
|
2541
2541
|
const data = await parseBody(output.body, context);
|
|
2542
2542
|
let contents = {};
|
|
2543
|
-
contents =
|
|
2543
|
+
contents = de_ListVirtualInterfaceTestHistoryResponse(data, context);
|
|
2544
2544
|
const response = {
|
|
2545
2545
|
$metadata: deserializeMetadata(output),
|
|
2546
2546
|
...contents,
|
|
2547
2547
|
};
|
|
2548
2548
|
return Promise.resolve(response);
|
|
2549
2549
|
};
|
|
2550
|
-
const
|
|
2550
|
+
const de_ListVirtualInterfaceTestHistoryCommandError = async (output, context) => {
|
|
2551
2551
|
const parsedOutput = {
|
|
2552
2552
|
...output,
|
|
2553
2553
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2556,10 +2556,10 @@ const deserializeAws_json1_1ListVirtualInterfaceTestHistoryCommandError = async
|
|
|
2556
2556
|
switch (errorCode) {
|
|
2557
2557
|
case "DirectConnectClientException":
|
|
2558
2558
|
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
2559
|
-
throw await
|
|
2559
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
2560
2560
|
case "DirectConnectServerException":
|
|
2561
2561
|
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
2562
|
-
throw await
|
|
2562
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
2563
2563
|
default:
|
|
2564
2564
|
const parsedBody = parsedOutput.body;
|
|
2565
2565
|
throwDefaultError({
|
|
@@ -2570,20 +2570,20 @@ const deserializeAws_json1_1ListVirtualInterfaceTestHistoryCommandError = async
|
|
|
2570
2570
|
});
|
|
2571
2571
|
}
|
|
2572
2572
|
};
|
|
2573
|
-
export const
|
|
2573
|
+
export const de_StartBgpFailoverTestCommand = async (output, context) => {
|
|
2574
2574
|
if (output.statusCode >= 300) {
|
|
2575
|
-
return
|
|
2575
|
+
return de_StartBgpFailoverTestCommandError(output, context);
|
|
2576
2576
|
}
|
|
2577
2577
|
const data = await parseBody(output.body, context);
|
|
2578
2578
|
let contents = {};
|
|
2579
|
-
contents =
|
|
2579
|
+
contents = de_StartBgpFailoverTestResponse(data, context);
|
|
2580
2580
|
const response = {
|
|
2581
2581
|
$metadata: deserializeMetadata(output),
|
|
2582
2582
|
...contents,
|
|
2583
2583
|
};
|
|
2584
2584
|
return Promise.resolve(response);
|
|
2585
2585
|
};
|
|
2586
|
-
const
|
|
2586
|
+
const de_StartBgpFailoverTestCommandError = async (output, context) => {
|
|
2587
2587
|
const parsedOutput = {
|
|
2588
2588
|
...output,
|
|
2589
2589
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2592,10 +2592,10 @@ const deserializeAws_json1_1StartBgpFailoverTestCommandError = async (output, co
|
|
|
2592
2592
|
switch (errorCode) {
|
|
2593
2593
|
case "DirectConnectClientException":
|
|
2594
2594
|
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
2595
|
-
throw await
|
|
2595
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
2596
2596
|
case "DirectConnectServerException":
|
|
2597
2597
|
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
2598
|
-
throw await
|
|
2598
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
2599
2599
|
default:
|
|
2600
2600
|
const parsedBody = parsedOutput.body;
|
|
2601
2601
|
throwDefaultError({
|
|
@@ -2606,20 +2606,20 @@ const deserializeAws_json1_1StartBgpFailoverTestCommandError = async (output, co
|
|
|
2606
2606
|
});
|
|
2607
2607
|
}
|
|
2608
2608
|
};
|
|
2609
|
-
export const
|
|
2609
|
+
export const de_StopBgpFailoverTestCommand = async (output, context) => {
|
|
2610
2610
|
if (output.statusCode >= 300) {
|
|
2611
|
-
return
|
|
2611
|
+
return de_StopBgpFailoverTestCommandError(output, context);
|
|
2612
2612
|
}
|
|
2613
2613
|
const data = await parseBody(output.body, context);
|
|
2614
2614
|
let contents = {};
|
|
2615
|
-
contents =
|
|
2615
|
+
contents = de_StopBgpFailoverTestResponse(data, context);
|
|
2616
2616
|
const response = {
|
|
2617
2617
|
$metadata: deserializeMetadata(output),
|
|
2618
2618
|
...contents,
|
|
2619
2619
|
};
|
|
2620
2620
|
return Promise.resolve(response);
|
|
2621
2621
|
};
|
|
2622
|
-
const
|
|
2622
|
+
const de_StopBgpFailoverTestCommandError = async (output, context) => {
|
|
2623
2623
|
const parsedOutput = {
|
|
2624
2624
|
...output,
|
|
2625
2625
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2628,10 +2628,10 @@ const deserializeAws_json1_1StopBgpFailoverTestCommandError = async (output, con
|
|
|
2628
2628
|
switch (errorCode) {
|
|
2629
2629
|
case "DirectConnectClientException":
|
|
2630
2630
|
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
2631
|
-
throw await
|
|
2631
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
2632
2632
|
case "DirectConnectServerException":
|
|
2633
2633
|
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
2634
|
-
throw await
|
|
2634
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
2635
2635
|
default:
|
|
2636
2636
|
const parsedBody = parsedOutput.body;
|
|
2637
2637
|
throwDefaultError({
|
|
@@ -2642,20 +2642,20 @@ const deserializeAws_json1_1StopBgpFailoverTestCommandError = async (output, con
|
|
|
2642
2642
|
});
|
|
2643
2643
|
}
|
|
2644
2644
|
};
|
|
2645
|
-
export const
|
|
2645
|
+
export const de_TagResourceCommand = async (output, context) => {
|
|
2646
2646
|
if (output.statusCode >= 300) {
|
|
2647
|
-
return
|
|
2647
|
+
return de_TagResourceCommandError(output, context);
|
|
2648
2648
|
}
|
|
2649
2649
|
const data = await parseBody(output.body, context);
|
|
2650
2650
|
let contents = {};
|
|
2651
|
-
contents =
|
|
2651
|
+
contents = de_TagResourceResponse(data, context);
|
|
2652
2652
|
const response = {
|
|
2653
2653
|
$metadata: deserializeMetadata(output),
|
|
2654
2654
|
...contents,
|
|
2655
2655
|
};
|
|
2656
2656
|
return Promise.resolve(response);
|
|
2657
2657
|
};
|
|
2658
|
-
const
|
|
2658
|
+
const de_TagResourceCommandError = async (output, context) => {
|
|
2659
2659
|
const parsedOutput = {
|
|
2660
2660
|
...output,
|
|
2661
2661
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2664,16 +2664,16 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
|
|
|
2664
2664
|
switch (errorCode) {
|
|
2665
2665
|
case "DirectConnectClientException":
|
|
2666
2666
|
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
2667
|
-
throw await
|
|
2667
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
2668
2668
|
case "DirectConnectServerException":
|
|
2669
2669
|
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
2670
|
-
throw await
|
|
2670
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
2671
2671
|
case "DuplicateTagKeysException":
|
|
2672
2672
|
case "com.amazonaws.directconnect#DuplicateTagKeysException":
|
|
2673
|
-
throw await
|
|
2673
|
+
throw await de_DuplicateTagKeysExceptionRes(parsedOutput, context);
|
|
2674
2674
|
case "TooManyTagsException":
|
|
2675
2675
|
case "com.amazonaws.directconnect#TooManyTagsException":
|
|
2676
|
-
throw await
|
|
2676
|
+
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
2677
2677
|
default:
|
|
2678
2678
|
const parsedBody = parsedOutput.body;
|
|
2679
2679
|
throwDefaultError({
|
|
@@ -2684,20 +2684,20 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
|
|
|
2684
2684
|
});
|
|
2685
2685
|
}
|
|
2686
2686
|
};
|
|
2687
|
-
export const
|
|
2687
|
+
export const de_UntagResourceCommand = async (output, context) => {
|
|
2688
2688
|
if (output.statusCode >= 300) {
|
|
2689
|
-
return
|
|
2689
|
+
return de_UntagResourceCommandError(output, context);
|
|
2690
2690
|
}
|
|
2691
2691
|
const data = await parseBody(output.body, context);
|
|
2692
2692
|
let contents = {};
|
|
2693
|
-
contents =
|
|
2693
|
+
contents = de_UntagResourceResponse(data, context);
|
|
2694
2694
|
const response = {
|
|
2695
2695
|
$metadata: deserializeMetadata(output),
|
|
2696
2696
|
...contents,
|
|
2697
2697
|
};
|
|
2698
2698
|
return Promise.resolve(response);
|
|
2699
2699
|
};
|
|
2700
|
-
const
|
|
2700
|
+
const de_UntagResourceCommandError = async (output, context) => {
|
|
2701
2701
|
const parsedOutput = {
|
|
2702
2702
|
...output,
|
|
2703
2703
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2706,10 +2706,10 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
|
|
|
2706
2706
|
switch (errorCode) {
|
|
2707
2707
|
case "DirectConnectClientException":
|
|
2708
2708
|
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
2709
|
-
throw await
|
|
2709
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
2710
2710
|
case "DirectConnectServerException":
|
|
2711
2711
|
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
2712
|
-
throw await
|
|
2712
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
2713
2713
|
default:
|
|
2714
2714
|
const parsedBody = parsedOutput.body;
|
|
2715
2715
|
throwDefaultError({
|
|
@@ -2720,20 +2720,20 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
|
|
|
2720
2720
|
});
|
|
2721
2721
|
}
|
|
2722
2722
|
};
|
|
2723
|
-
export const
|
|
2723
|
+
export const de_UpdateConnectionCommand = async (output, context) => {
|
|
2724
2724
|
if (output.statusCode >= 300) {
|
|
2725
|
-
return
|
|
2725
|
+
return de_UpdateConnectionCommandError(output, context);
|
|
2726
2726
|
}
|
|
2727
2727
|
const data = await parseBody(output.body, context);
|
|
2728
2728
|
let contents = {};
|
|
2729
|
-
contents =
|
|
2729
|
+
contents = de_Connection(data, context);
|
|
2730
2730
|
const response = {
|
|
2731
2731
|
$metadata: deserializeMetadata(output),
|
|
2732
2732
|
...contents,
|
|
2733
2733
|
};
|
|
2734
2734
|
return Promise.resolve(response);
|
|
2735
2735
|
};
|
|
2736
|
-
const
|
|
2736
|
+
const de_UpdateConnectionCommandError = async (output, context) => {
|
|
2737
2737
|
const parsedOutput = {
|
|
2738
2738
|
...output,
|
|
2739
2739
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2742,10 +2742,10 @@ const deserializeAws_json1_1UpdateConnectionCommandError = async (output, contex
|
|
|
2742
2742
|
switch (errorCode) {
|
|
2743
2743
|
case "DirectConnectClientException":
|
|
2744
2744
|
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
2745
|
-
throw await
|
|
2745
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
2746
2746
|
case "DirectConnectServerException":
|
|
2747
2747
|
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
2748
|
-
throw await
|
|
2748
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
2749
2749
|
default:
|
|
2750
2750
|
const parsedBody = parsedOutput.body;
|
|
2751
2751
|
throwDefaultError({
|
|
@@ -2756,20 +2756,20 @@ const deserializeAws_json1_1UpdateConnectionCommandError = async (output, contex
|
|
|
2756
2756
|
});
|
|
2757
2757
|
}
|
|
2758
2758
|
};
|
|
2759
|
-
export const
|
|
2759
|
+
export const de_UpdateDirectConnectGatewayCommand = async (output, context) => {
|
|
2760
2760
|
if (output.statusCode >= 300) {
|
|
2761
|
-
return
|
|
2761
|
+
return de_UpdateDirectConnectGatewayCommandError(output, context);
|
|
2762
2762
|
}
|
|
2763
2763
|
const data = await parseBody(output.body, context);
|
|
2764
2764
|
let contents = {};
|
|
2765
|
-
contents =
|
|
2765
|
+
contents = de_UpdateDirectConnectGatewayResponse(data, context);
|
|
2766
2766
|
const response = {
|
|
2767
2767
|
$metadata: deserializeMetadata(output),
|
|
2768
2768
|
...contents,
|
|
2769
2769
|
};
|
|
2770
2770
|
return Promise.resolve(response);
|
|
2771
2771
|
};
|
|
2772
|
-
const
|
|
2772
|
+
const de_UpdateDirectConnectGatewayCommandError = async (output, context) => {
|
|
2773
2773
|
const parsedOutput = {
|
|
2774
2774
|
...output,
|
|
2775
2775
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2778,10 +2778,10 @@ const deserializeAws_json1_1UpdateDirectConnectGatewayCommandError = async (outp
|
|
|
2778
2778
|
switch (errorCode) {
|
|
2779
2779
|
case "DirectConnectClientException":
|
|
2780
2780
|
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
2781
|
-
throw await
|
|
2781
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
2782
2782
|
case "DirectConnectServerException":
|
|
2783
2783
|
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
2784
|
-
throw await
|
|
2784
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
2785
2785
|
default:
|
|
2786
2786
|
const parsedBody = parsedOutput.body;
|
|
2787
2787
|
throwDefaultError({
|
|
@@ -2792,20 +2792,20 @@ const deserializeAws_json1_1UpdateDirectConnectGatewayCommandError = async (outp
|
|
|
2792
2792
|
});
|
|
2793
2793
|
}
|
|
2794
2794
|
};
|
|
2795
|
-
export const
|
|
2795
|
+
export const de_UpdateDirectConnectGatewayAssociationCommand = async (output, context) => {
|
|
2796
2796
|
if (output.statusCode >= 300) {
|
|
2797
|
-
return
|
|
2797
|
+
return de_UpdateDirectConnectGatewayAssociationCommandError(output, context);
|
|
2798
2798
|
}
|
|
2799
2799
|
const data = await parseBody(output.body, context);
|
|
2800
2800
|
let contents = {};
|
|
2801
|
-
contents =
|
|
2801
|
+
contents = de_UpdateDirectConnectGatewayAssociationResult(data, context);
|
|
2802
2802
|
const response = {
|
|
2803
2803
|
$metadata: deserializeMetadata(output),
|
|
2804
2804
|
...contents,
|
|
2805
2805
|
};
|
|
2806
2806
|
return Promise.resolve(response);
|
|
2807
2807
|
};
|
|
2808
|
-
const
|
|
2808
|
+
const de_UpdateDirectConnectGatewayAssociationCommandError = async (output, context) => {
|
|
2809
2809
|
const parsedOutput = {
|
|
2810
2810
|
...output,
|
|
2811
2811
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2814,10 +2814,10 @@ const deserializeAws_json1_1UpdateDirectConnectGatewayAssociationCommandError =
|
|
|
2814
2814
|
switch (errorCode) {
|
|
2815
2815
|
case "DirectConnectClientException":
|
|
2816
2816
|
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
2817
|
-
throw await
|
|
2817
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
2818
2818
|
case "DirectConnectServerException":
|
|
2819
2819
|
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
2820
|
-
throw await
|
|
2820
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
2821
2821
|
default:
|
|
2822
2822
|
const parsedBody = parsedOutput.body;
|
|
2823
2823
|
throwDefaultError({
|
|
@@ -2828,20 +2828,20 @@ const deserializeAws_json1_1UpdateDirectConnectGatewayAssociationCommandError =
|
|
|
2828
2828
|
});
|
|
2829
2829
|
}
|
|
2830
2830
|
};
|
|
2831
|
-
export const
|
|
2831
|
+
export const de_UpdateLagCommand = async (output, context) => {
|
|
2832
2832
|
if (output.statusCode >= 300) {
|
|
2833
|
-
return
|
|
2833
|
+
return de_UpdateLagCommandError(output, context);
|
|
2834
2834
|
}
|
|
2835
2835
|
const data = await parseBody(output.body, context);
|
|
2836
2836
|
let contents = {};
|
|
2837
|
-
contents =
|
|
2837
|
+
contents = de_Lag(data, context);
|
|
2838
2838
|
const response = {
|
|
2839
2839
|
$metadata: deserializeMetadata(output),
|
|
2840
2840
|
...contents,
|
|
2841
2841
|
};
|
|
2842
2842
|
return Promise.resolve(response);
|
|
2843
2843
|
};
|
|
2844
|
-
const
|
|
2844
|
+
const de_UpdateLagCommandError = async (output, context) => {
|
|
2845
2845
|
const parsedOutput = {
|
|
2846
2846
|
...output,
|
|
2847
2847
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2850,10 +2850,10 @@ const deserializeAws_json1_1UpdateLagCommandError = async (output, context) => {
|
|
|
2850
2850
|
switch (errorCode) {
|
|
2851
2851
|
case "DirectConnectClientException":
|
|
2852
2852
|
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
2853
|
-
throw await
|
|
2853
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
2854
2854
|
case "DirectConnectServerException":
|
|
2855
2855
|
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
2856
|
-
throw await
|
|
2856
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
2857
2857
|
default:
|
|
2858
2858
|
const parsedBody = parsedOutput.body;
|
|
2859
2859
|
throwDefaultError({
|
|
@@ -2864,20 +2864,20 @@ const deserializeAws_json1_1UpdateLagCommandError = async (output, context) => {
|
|
|
2864
2864
|
});
|
|
2865
2865
|
}
|
|
2866
2866
|
};
|
|
2867
|
-
export const
|
|
2867
|
+
export const de_UpdateVirtualInterfaceAttributesCommand = async (output, context) => {
|
|
2868
2868
|
if (output.statusCode >= 300) {
|
|
2869
|
-
return
|
|
2869
|
+
return de_UpdateVirtualInterfaceAttributesCommandError(output, context);
|
|
2870
2870
|
}
|
|
2871
2871
|
const data = await parseBody(output.body, context);
|
|
2872
2872
|
let contents = {};
|
|
2873
|
-
contents =
|
|
2873
|
+
contents = de_VirtualInterface(data, context);
|
|
2874
2874
|
const response = {
|
|
2875
2875
|
$metadata: deserializeMetadata(output),
|
|
2876
2876
|
...contents,
|
|
2877
2877
|
};
|
|
2878
2878
|
return Promise.resolve(response);
|
|
2879
2879
|
};
|
|
2880
|
-
const
|
|
2880
|
+
const de_UpdateVirtualInterfaceAttributesCommandError = async (output, context) => {
|
|
2881
2881
|
const parsedOutput = {
|
|
2882
2882
|
...output,
|
|
2883
2883
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2886,10 +2886,10 @@ const deserializeAws_json1_1UpdateVirtualInterfaceAttributesCommandError = async
|
|
|
2886
2886
|
switch (errorCode) {
|
|
2887
2887
|
case "DirectConnectClientException":
|
|
2888
2888
|
case "com.amazonaws.directconnect#DirectConnectClientException":
|
|
2889
|
-
throw await
|
|
2889
|
+
throw await de_DirectConnectClientExceptionRes(parsedOutput, context);
|
|
2890
2890
|
case "DirectConnectServerException":
|
|
2891
2891
|
case "com.amazonaws.directconnect#DirectConnectServerException":
|
|
2892
|
-
throw await
|
|
2892
|
+
throw await de_DirectConnectServerExceptionRes(parsedOutput, context);
|
|
2893
2893
|
default:
|
|
2894
2894
|
const parsedBody = parsedOutput.body;
|
|
2895
2895
|
throwDefaultError({
|
|
@@ -2900,55 +2900,55 @@ const deserializeAws_json1_1UpdateVirtualInterfaceAttributesCommandError = async
|
|
|
2900
2900
|
});
|
|
2901
2901
|
}
|
|
2902
2902
|
};
|
|
2903
|
-
const
|
|
2903
|
+
const de_DirectConnectClientExceptionRes = async (parsedOutput, context) => {
|
|
2904
2904
|
const body = parsedOutput.body;
|
|
2905
|
-
const deserialized =
|
|
2905
|
+
const deserialized = de_DirectConnectClientException(body, context);
|
|
2906
2906
|
const exception = new DirectConnectClientException({
|
|
2907
2907
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2908
2908
|
...deserialized,
|
|
2909
2909
|
});
|
|
2910
2910
|
return __decorateServiceException(exception, body);
|
|
2911
2911
|
};
|
|
2912
|
-
const
|
|
2912
|
+
const de_DirectConnectServerExceptionRes = async (parsedOutput, context) => {
|
|
2913
2913
|
const body = parsedOutput.body;
|
|
2914
|
-
const deserialized =
|
|
2914
|
+
const deserialized = de_DirectConnectServerException(body, context);
|
|
2915
2915
|
const exception = new DirectConnectServerException({
|
|
2916
2916
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2917
2917
|
...deserialized,
|
|
2918
2918
|
});
|
|
2919
2919
|
return __decorateServiceException(exception, body);
|
|
2920
2920
|
};
|
|
2921
|
-
const
|
|
2921
|
+
const de_DuplicateTagKeysExceptionRes = async (parsedOutput, context) => {
|
|
2922
2922
|
const body = parsedOutput.body;
|
|
2923
|
-
const deserialized =
|
|
2923
|
+
const deserialized = de_DuplicateTagKeysException(body, context);
|
|
2924
2924
|
const exception = new DuplicateTagKeysException({
|
|
2925
2925
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2926
2926
|
...deserialized,
|
|
2927
2927
|
});
|
|
2928
2928
|
return __decorateServiceException(exception, body);
|
|
2929
2929
|
};
|
|
2930
|
-
const
|
|
2930
|
+
const de_TooManyTagsExceptionRes = async (parsedOutput, context) => {
|
|
2931
2931
|
const body = parsedOutput.body;
|
|
2932
|
-
const deserialized =
|
|
2932
|
+
const deserialized = de_TooManyTagsException(body, context);
|
|
2933
2933
|
const exception = new TooManyTagsException({
|
|
2934
2934
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2935
2935
|
...deserialized,
|
|
2936
2936
|
});
|
|
2937
2937
|
return __decorateServiceException(exception, body);
|
|
2938
2938
|
};
|
|
2939
|
-
const
|
|
2939
|
+
const se_AcceptDirectConnectGatewayAssociationProposalRequest = (input, context) => {
|
|
2940
2940
|
return {
|
|
2941
2941
|
...(input.associatedGatewayOwnerAccount != null && {
|
|
2942
2942
|
associatedGatewayOwnerAccount: input.associatedGatewayOwnerAccount,
|
|
2943
2943
|
}),
|
|
2944
2944
|
...(input.directConnectGatewayId != null && { directConnectGatewayId: input.directConnectGatewayId }),
|
|
2945
2945
|
...(input.overrideAllowedPrefixesToDirectConnectGateway != null && {
|
|
2946
|
-
overrideAllowedPrefixesToDirectConnectGateway:
|
|
2946
|
+
overrideAllowedPrefixesToDirectConnectGateway: se_RouteFilterPrefixList(input.overrideAllowedPrefixesToDirectConnectGateway, context),
|
|
2947
2947
|
}),
|
|
2948
2948
|
...(input.proposalId != null && { proposalId: input.proposalId }),
|
|
2949
2949
|
};
|
|
2950
2950
|
};
|
|
2951
|
-
const
|
|
2951
|
+
const se_AllocateConnectionOnInterconnectRequest = (input, context) => {
|
|
2952
2952
|
return {
|
|
2953
2953
|
...(input.bandwidth != null && { bandwidth: input.bandwidth }),
|
|
2954
2954
|
...(input.connectionName != null && { connectionName: input.connectionName }),
|
|
@@ -2957,56 +2957,56 @@ const serializeAws_json1_1AllocateConnectionOnInterconnectRequest = (input, cont
|
|
|
2957
2957
|
...(input.vlan != null && { vlan: input.vlan }),
|
|
2958
2958
|
};
|
|
2959
2959
|
};
|
|
2960
|
-
const
|
|
2960
|
+
const se_AllocateHostedConnectionRequest = (input, context) => {
|
|
2961
2961
|
return {
|
|
2962
2962
|
...(input.bandwidth != null && { bandwidth: input.bandwidth }),
|
|
2963
2963
|
...(input.connectionId != null && { connectionId: input.connectionId }),
|
|
2964
2964
|
...(input.connectionName != null && { connectionName: input.connectionName }),
|
|
2965
2965
|
...(input.ownerAccount != null && { ownerAccount: input.ownerAccount }),
|
|
2966
|
-
...(input.tags != null && { tags:
|
|
2966
|
+
...(input.tags != null && { tags: se_TagList(input.tags, context) }),
|
|
2967
2967
|
...(input.vlan != null && { vlan: input.vlan }),
|
|
2968
2968
|
};
|
|
2969
2969
|
};
|
|
2970
|
-
const
|
|
2970
|
+
const se_AllocatePrivateVirtualInterfaceRequest = (input, context) => {
|
|
2971
2971
|
return {
|
|
2972
2972
|
...(input.connectionId != null && { connectionId: input.connectionId }),
|
|
2973
2973
|
...(input.newPrivateVirtualInterfaceAllocation != null && {
|
|
2974
|
-
newPrivateVirtualInterfaceAllocation:
|
|
2974
|
+
newPrivateVirtualInterfaceAllocation: se_NewPrivateVirtualInterfaceAllocation(input.newPrivateVirtualInterfaceAllocation, context),
|
|
2975
2975
|
}),
|
|
2976
2976
|
...(input.ownerAccount != null && { ownerAccount: input.ownerAccount }),
|
|
2977
2977
|
};
|
|
2978
2978
|
};
|
|
2979
|
-
const
|
|
2979
|
+
const se_AllocatePublicVirtualInterfaceRequest = (input, context) => {
|
|
2980
2980
|
return {
|
|
2981
2981
|
...(input.connectionId != null && { connectionId: input.connectionId }),
|
|
2982
2982
|
...(input.newPublicVirtualInterfaceAllocation != null && {
|
|
2983
|
-
newPublicVirtualInterfaceAllocation:
|
|
2983
|
+
newPublicVirtualInterfaceAllocation: se_NewPublicVirtualInterfaceAllocation(input.newPublicVirtualInterfaceAllocation, context),
|
|
2984
2984
|
}),
|
|
2985
2985
|
...(input.ownerAccount != null && { ownerAccount: input.ownerAccount }),
|
|
2986
2986
|
};
|
|
2987
2987
|
};
|
|
2988
|
-
const
|
|
2988
|
+
const se_AllocateTransitVirtualInterfaceRequest = (input, context) => {
|
|
2989
2989
|
return {
|
|
2990
2990
|
...(input.connectionId != null && { connectionId: input.connectionId }),
|
|
2991
2991
|
...(input.newTransitVirtualInterfaceAllocation != null && {
|
|
2992
|
-
newTransitVirtualInterfaceAllocation:
|
|
2992
|
+
newTransitVirtualInterfaceAllocation: se_NewTransitVirtualInterfaceAllocation(input.newTransitVirtualInterfaceAllocation, context),
|
|
2993
2993
|
}),
|
|
2994
2994
|
...(input.ownerAccount != null && { ownerAccount: input.ownerAccount }),
|
|
2995
2995
|
};
|
|
2996
2996
|
};
|
|
2997
|
-
const
|
|
2997
|
+
const se_AssociateConnectionWithLagRequest = (input, context) => {
|
|
2998
2998
|
return {
|
|
2999
2999
|
...(input.connectionId != null && { connectionId: input.connectionId }),
|
|
3000
3000
|
...(input.lagId != null && { lagId: input.lagId }),
|
|
3001
3001
|
};
|
|
3002
3002
|
};
|
|
3003
|
-
const
|
|
3003
|
+
const se_AssociateHostedConnectionRequest = (input, context) => {
|
|
3004
3004
|
return {
|
|
3005
3005
|
...(input.connectionId != null && { connectionId: input.connectionId }),
|
|
3006
3006
|
...(input.parentConnectionId != null && { parentConnectionId: input.parentConnectionId }),
|
|
3007
3007
|
};
|
|
3008
3008
|
};
|
|
3009
|
-
const
|
|
3009
|
+
const se_AssociateMacSecKeyRequest = (input, context) => {
|
|
3010
3010
|
return {
|
|
3011
3011
|
...(input.cak != null && { cak: input.cak }),
|
|
3012
3012
|
...(input.ckn != null && { ckn: input.ckn }),
|
|
@@ -3014,54 +3014,54 @@ const serializeAws_json1_1AssociateMacSecKeyRequest = (input, context) => {
|
|
|
3014
3014
|
...(input.secretARN != null && { secretARN: input.secretARN }),
|
|
3015
3015
|
};
|
|
3016
3016
|
};
|
|
3017
|
-
const
|
|
3017
|
+
const se_AssociateVirtualInterfaceRequest = (input, context) => {
|
|
3018
3018
|
return {
|
|
3019
3019
|
...(input.connectionId != null && { connectionId: input.connectionId }),
|
|
3020
3020
|
...(input.virtualInterfaceId != null && { virtualInterfaceId: input.virtualInterfaceId }),
|
|
3021
3021
|
};
|
|
3022
3022
|
};
|
|
3023
|
-
const
|
|
3023
|
+
const se_BGPPeerIdList = (input, context) => {
|
|
3024
3024
|
return input
|
|
3025
3025
|
.filter((e) => e != null)
|
|
3026
3026
|
.map((entry) => {
|
|
3027
3027
|
return entry;
|
|
3028
3028
|
});
|
|
3029
3029
|
};
|
|
3030
|
-
const
|
|
3030
|
+
const se_ConfirmConnectionRequest = (input, context) => {
|
|
3031
3031
|
return {
|
|
3032
3032
|
...(input.connectionId != null && { connectionId: input.connectionId }),
|
|
3033
3033
|
};
|
|
3034
3034
|
};
|
|
3035
|
-
const
|
|
3035
|
+
const se_ConfirmCustomerAgreementRequest = (input, context) => {
|
|
3036
3036
|
return {
|
|
3037
3037
|
...(input.agreementName != null && { agreementName: input.agreementName }),
|
|
3038
3038
|
};
|
|
3039
3039
|
};
|
|
3040
|
-
const
|
|
3040
|
+
const se_ConfirmPrivateVirtualInterfaceRequest = (input, context) => {
|
|
3041
3041
|
return {
|
|
3042
3042
|
...(input.directConnectGatewayId != null && { directConnectGatewayId: input.directConnectGatewayId }),
|
|
3043
3043
|
...(input.virtualGatewayId != null && { virtualGatewayId: input.virtualGatewayId }),
|
|
3044
3044
|
...(input.virtualInterfaceId != null && { virtualInterfaceId: input.virtualInterfaceId }),
|
|
3045
3045
|
};
|
|
3046
3046
|
};
|
|
3047
|
-
const
|
|
3047
|
+
const se_ConfirmPublicVirtualInterfaceRequest = (input, context) => {
|
|
3048
3048
|
return {
|
|
3049
3049
|
...(input.virtualInterfaceId != null && { virtualInterfaceId: input.virtualInterfaceId }),
|
|
3050
3050
|
};
|
|
3051
3051
|
};
|
|
3052
|
-
const
|
|
3052
|
+
const se_ConfirmTransitVirtualInterfaceRequest = (input, context) => {
|
|
3053
3053
|
return {
|
|
3054
3054
|
...(input.directConnectGatewayId != null && { directConnectGatewayId: input.directConnectGatewayId }),
|
|
3055
3055
|
...(input.virtualInterfaceId != null && { virtualInterfaceId: input.virtualInterfaceId }),
|
|
3056
3056
|
};
|
|
3057
3057
|
};
|
|
3058
|
-
const
|
|
3058
|
+
const se_CreateBGPPeerRequest = (input, context) => {
|
|
3059
3059
|
return {
|
|
3060
|
-
...(input.newBGPPeer != null && { newBGPPeer:
|
|
3060
|
+
...(input.newBGPPeer != null && { newBGPPeer: se_NewBGPPeer(input.newBGPPeer, context) }),
|
|
3061
3061
|
...(input.virtualInterfaceId != null && { virtualInterfaceId: input.virtualInterfaceId }),
|
|
3062
3062
|
};
|
|
3063
3063
|
};
|
|
3064
|
-
const
|
|
3064
|
+
const se_CreateConnectionRequest = (input, context) => {
|
|
3065
3065
|
return {
|
|
3066
3066
|
...(input.bandwidth != null && { bandwidth: input.bandwidth }),
|
|
3067
3067
|
...(input.connectionName != null && { connectionName: input.connectionName }),
|
|
@@ -3069,13 +3069,13 @@ const serializeAws_json1_1CreateConnectionRequest = (input, context) => {
|
|
|
3069
3069
|
...(input.location != null && { location: input.location }),
|
|
3070
3070
|
...(input.providerName != null && { providerName: input.providerName }),
|
|
3071
3071
|
...(input.requestMACSec != null && { requestMACSec: input.requestMACSec }),
|
|
3072
|
-
...(input.tags != null && { tags:
|
|
3072
|
+
...(input.tags != null && { tags: se_TagList(input.tags, context) }),
|
|
3073
3073
|
};
|
|
3074
3074
|
};
|
|
3075
|
-
const
|
|
3075
|
+
const se_CreateDirectConnectGatewayAssociationProposalRequest = (input, context) => {
|
|
3076
3076
|
return {
|
|
3077
3077
|
...(input.addAllowedPrefixesToDirectConnectGateway != null && {
|
|
3078
|
-
addAllowedPrefixesToDirectConnectGateway:
|
|
3078
|
+
addAllowedPrefixesToDirectConnectGateway: se_RouteFilterPrefixList(input.addAllowedPrefixesToDirectConnectGateway, context),
|
|
3079
3079
|
}),
|
|
3080
3080
|
...(input.directConnectGatewayId != null && { directConnectGatewayId: input.directConnectGatewayId }),
|
|
3081
3081
|
...(input.directConnectGatewayOwnerAccount != null && {
|
|
@@ -3083,41 +3083,39 @@ const serializeAws_json1_1CreateDirectConnectGatewayAssociationProposalRequest =
|
|
|
3083
3083
|
}),
|
|
3084
3084
|
...(input.gatewayId != null && { gatewayId: input.gatewayId }),
|
|
3085
3085
|
...(input.removeAllowedPrefixesToDirectConnectGateway != null && {
|
|
3086
|
-
removeAllowedPrefixesToDirectConnectGateway:
|
|
3086
|
+
removeAllowedPrefixesToDirectConnectGateway: se_RouteFilterPrefixList(input.removeAllowedPrefixesToDirectConnectGateway, context),
|
|
3087
3087
|
}),
|
|
3088
3088
|
};
|
|
3089
3089
|
};
|
|
3090
|
-
const
|
|
3090
|
+
const se_CreateDirectConnectGatewayAssociationRequest = (input, context) => {
|
|
3091
3091
|
return {
|
|
3092
3092
|
...(input.addAllowedPrefixesToDirectConnectGateway != null && {
|
|
3093
|
-
addAllowedPrefixesToDirectConnectGateway:
|
|
3093
|
+
addAllowedPrefixesToDirectConnectGateway: se_RouteFilterPrefixList(input.addAllowedPrefixesToDirectConnectGateway, context),
|
|
3094
3094
|
}),
|
|
3095
3095
|
...(input.directConnectGatewayId != null && { directConnectGatewayId: input.directConnectGatewayId }),
|
|
3096
3096
|
...(input.gatewayId != null && { gatewayId: input.gatewayId }),
|
|
3097
3097
|
...(input.virtualGatewayId != null && { virtualGatewayId: input.virtualGatewayId }),
|
|
3098
3098
|
};
|
|
3099
3099
|
};
|
|
3100
|
-
const
|
|
3100
|
+
const se_CreateDirectConnectGatewayRequest = (input, context) => {
|
|
3101
3101
|
return {
|
|
3102
3102
|
...(input.amazonSideAsn != null && { amazonSideAsn: input.amazonSideAsn }),
|
|
3103
3103
|
...(input.directConnectGatewayName != null && { directConnectGatewayName: input.directConnectGatewayName }),
|
|
3104
3104
|
};
|
|
3105
3105
|
};
|
|
3106
|
-
const
|
|
3106
|
+
const se_CreateInterconnectRequest = (input, context) => {
|
|
3107
3107
|
return {
|
|
3108
3108
|
...(input.bandwidth != null && { bandwidth: input.bandwidth }),
|
|
3109
3109
|
...(input.interconnectName != null && { interconnectName: input.interconnectName }),
|
|
3110
3110
|
...(input.lagId != null && { lagId: input.lagId }),
|
|
3111
3111
|
...(input.location != null && { location: input.location }),
|
|
3112
3112
|
...(input.providerName != null && { providerName: input.providerName }),
|
|
3113
|
-
...(input.tags != null && { tags:
|
|
3113
|
+
...(input.tags != null && { tags: se_TagList(input.tags, context) }),
|
|
3114
3114
|
};
|
|
3115
3115
|
};
|
|
3116
|
-
const
|
|
3116
|
+
const se_CreateLagRequest = (input, context) => {
|
|
3117
3117
|
return {
|
|
3118
|
-
...(input.childConnectionTags != null && {
|
|
3119
|
-
childConnectionTags: serializeAws_json1_1TagList(input.childConnectionTags, context),
|
|
3120
|
-
}),
|
|
3118
|
+
...(input.childConnectionTags != null && { childConnectionTags: se_TagList(input.childConnectionTags, context) }),
|
|
3121
3119
|
...(input.connectionId != null && { connectionId: input.connectionId }),
|
|
3122
3120
|
...(input.connectionsBandwidth != null && { connectionsBandwidth: input.connectionsBandwidth }),
|
|
3123
3121
|
...(input.lagName != null && { lagName: input.lagName }),
|
|
@@ -3125,34 +3123,34 @@ const serializeAws_json1_1CreateLagRequest = (input, context) => {
|
|
|
3125
3123
|
...(input.numberOfConnections != null && { numberOfConnections: input.numberOfConnections }),
|
|
3126
3124
|
...(input.providerName != null && { providerName: input.providerName }),
|
|
3127
3125
|
...(input.requestMACSec != null && { requestMACSec: input.requestMACSec }),
|
|
3128
|
-
...(input.tags != null && { tags:
|
|
3126
|
+
...(input.tags != null && { tags: se_TagList(input.tags, context) }),
|
|
3129
3127
|
};
|
|
3130
3128
|
};
|
|
3131
|
-
const
|
|
3129
|
+
const se_CreatePrivateVirtualInterfaceRequest = (input, context) => {
|
|
3132
3130
|
return {
|
|
3133
3131
|
...(input.connectionId != null && { connectionId: input.connectionId }),
|
|
3134
3132
|
...(input.newPrivateVirtualInterface != null && {
|
|
3135
|
-
newPrivateVirtualInterface:
|
|
3133
|
+
newPrivateVirtualInterface: se_NewPrivateVirtualInterface(input.newPrivateVirtualInterface, context),
|
|
3136
3134
|
}),
|
|
3137
3135
|
};
|
|
3138
3136
|
};
|
|
3139
|
-
const
|
|
3137
|
+
const se_CreatePublicVirtualInterfaceRequest = (input, context) => {
|
|
3140
3138
|
return {
|
|
3141
3139
|
...(input.connectionId != null && { connectionId: input.connectionId }),
|
|
3142
3140
|
...(input.newPublicVirtualInterface != null && {
|
|
3143
|
-
newPublicVirtualInterface:
|
|
3141
|
+
newPublicVirtualInterface: se_NewPublicVirtualInterface(input.newPublicVirtualInterface, context),
|
|
3144
3142
|
}),
|
|
3145
3143
|
};
|
|
3146
3144
|
};
|
|
3147
|
-
const
|
|
3145
|
+
const se_CreateTransitVirtualInterfaceRequest = (input, context) => {
|
|
3148
3146
|
return {
|
|
3149
3147
|
...(input.connectionId != null && { connectionId: input.connectionId }),
|
|
3150
3148
|
...(input.newTransitVirtualInterface != null && {
|
|
3151
|
-
newTransitVirtualInterface:
|
|
3149
|
+
newTransitVirtualInterface: se_NewTransitVirtualInterface(input.newTransitVirtualInterface, context),
|
|
3152
3150
|
}),
|
|
3153
3151
|
};
|
|
3154
3152
|
};
|
|
3155
|
-
const
|
|
3153
|
+
const se_DeleteBGPPeerRequest = (input, context) => {
|
|
3156
3154
|
return {
|
|
3157
3155
|
...(input.asn != null && { asn: input.asn }),
|
|
3158
3156
|
...(input.bgpPeerId != null && { bgpPeerId: input.bgpPeerId }),
|
|
@@ -3160,61 +3158,61 @@ const serializeAws_json1_1DeleteBGPPeerRequest = (input, context) => {
|
|
|
3160
3158
|
...(input.virtualInterfaceId != null && { virtualInterfaceId: input.virtualInterfaceId }),
|
|
3161
3159
|
};
|
|
3162
3160
|
};
|
|
3163
|
-
const
|
|
3161
|
+
const se_DeleteConnectionRequest = (input, context) => {
|
|
3164
3162
|
return {
|
|
3165
3163
|
...(input.connectionId != null && { connectionId: input.connectionId }),
|
|
3166
3164
|
};
|
|
3167
3165
|
};
|
|
3168
|
-
const
|
|
3166
|
+
const se_DeleteDirectConnectGatewayAssociationProposalRequest = (input, context) => {
|
|
3169
3167
|
return {
|
|
3170
3168
|
...(input.proposalId != null && { proposalId: input.proposalId }),
|
|
3171
3169
|
};
|
|
3172
3170
|
};
|
|
3173
|
-
const
|
|
3171
|
+
const se_DeleteDirectConnectGatewayAssociationRequest = (input, context) => {
|
|
3174
3172
|
return {
|
|
3175
3173
|
...(input.associationId != null && { associationId: input.associationId }),
|
|
3176
3174
|
...(input.directConnectGatewayId != null && { directConnectGatewayId: input.directConnectGatewayId }),
|
|
3177
3175
|
...(input.virtualGatewayId != null && { virtualGatewayId: input.virtualGatewayId }),
|
|
3178
3176
|
};
|
|
3179
3177
|
};
|
|
3180
|
-
const
|
|
3178
|
+
const se_DeleteDirectConnectGatewayRequest = (input, context) => {
|
|
3181
3179
|
return {
|
|
3182
3180
|
...(input.directConnectGatewayId != null && { directConnectGatewayId: input.directConnectGatewayId }),
|
|
3183
3181
|
};
|
|
3184
3182
|
};
|
|
3185
|
-
const
|
|
3183
|
+
const se_DeleteInterconnectRequest = (input, context) => {
|
|
3186
3184
|
return {
|
|
3187
3185
|
...(input.interconnectId != null && { interconnectId: input.interconnectId }),
|
|
3188
3186
|
};
|
|
3189
3187
|
};
|
|
3190
|
-
const
|
|
3188
|
+
const se_DeleteLagRequest = (input, context) => {
|
|
3191
3189
|
return {
|
|
3192
3190
|
...(input.lagId != null && { lagId: input.lagId }),
|
|
3193
3191
|
};
|
|
3194
3192
|
};
|
|
3195
|
-
const
|
|
3193
|
+
const se_DeleteVirtualInterfaceRequest = (input, context) => {
|
|
3196
3194
|
return {
|
|
3197
3195
|
...(input.virtualInterfaceId != null && { virtualInterfaceId: input.virtualInterfaceId }),
|
|
3198
3196
|
};
|
|
3199
3197
|
};
|
|
3200
|
-
const
|
|
3198
|
+
const se_DescribeConnectionLoaRequest = (input, context) => {
|
|
3201
3199
|
return {
|
|
3202
3200
|
...(input.connectionId != null && { connectionId: input.connectionId }),
|
|
3203
3201
|
...(input.loaContentType != null && { loaContentType: input.loaContentType }),
|
|
3204
3202
|
...(input.providerName != null && { providerName: input.providerName }),
|
|
3205
3203
|
};
|
|
3206
3204
|
};
|
|
3207
|
-
const
|
|
3205
|
+
const se_DescribeConnectionsOnInterconnectRequest = (input, context) => {
|
|
3208
3206
|
return {
|
|
3209
3207
|
...(input.interconnectId != null && { interconnectId: input.interconnectId }),
|
|
3210
3208
|
};
|
|
3211
3209
|
};
|
|
3212
|
-
const
|
|
3210
|
+
const se_DescribeConnectionsRequest = (input, context) => {
|
|
3213
3211
|
return {
|
|
3214
3212
|
...(input.connectionId != null && { connectionId: input.connectionId }),
|
|
3215
3213
|
};
|
|
3216
3214
|
};
|
|
3217
|
-
const
|
|
3215
|
+
const se_DescribeDirectConnectGatewayAssociationProposalsRequest = (input, context) => {
|
|
3218
3216
|
return {
|
|
3219
3217
|
...(input.associatedGatewayId != null && { associatedGatewayId: input.associatedGatewayId }),
|
|
3220
3218
|
...(input.directConnectGatewayId != null && { directConnectGatewayId: input.directConnectGatewayId }),
|
|
@@ -3223,7 +3221,7 @@ const serializeAws_json1_1DescribeDirectConnectGatewayAssociationProposalsReques
|
|
|
3223
3221
|
...(input.proposalId != null && { proposalId: input.proposalId }),
|
|
3224
3222
|
};
|
|
3225
3223
|
};
|
|
3226
|
-
const
|
|
3224
|
+
const se_DescribeDirectConnectGatewayAssociationsRequest = (input, context) => {
|
|
3227
3225
|
return {
|
|
3228
3226
|
...(input.associatedGatewayId != null && { associatedGatewayId: input.associatedGatewayId }),
|
|
3229
3227
|
...(input.associationId != null && { associationId: input.associationId }),
|
|
@@ -3233,7 +3231,7 @@ const serializeAws_json1_1DescribeDirectConnectGatewayAssociationsRequest = (inp
|
|
|
3233
3231
|
...(input.virtualGatewayId != null && { virtualGatewayId: input.virtualGatewayId }),
|
|
3234
3232
|
};
|
|
3235
3233
|
};
|
|
3236
|
-
const
|
|
3234
|
+
const se_DescribeDirectConnectGatewayAttachmentsRequest = (input, context) => {
|
|
3237
3235
|
return {
|
|
3238
3236
|
...(input.directConnectGatewayId != null && { directConnectGatewayId: input.directConnectGatewayId }),
|
|
3239
3237
|
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
@@ -3241,76 +3239,74 @@ const serializeAws_json1_1DescribeDirectConnectGatewayAttachmentsRequest = (inpu
|
|
|
3241
3239
|
...(input.virtualInterfaceId != null && { virtualInterfaceId: input.virtualInterfaceId }),
|
|
3242
3240
|
};
|
|
3243
3241
|
};
|
|
3244
|
-
const
|
|
3242
|
+
const se_DescribeDirectConnectGatewaysRequest = (input, context) => {
|
|
3245
3243
|
return {
|
|
3246
3244
|
...(input.directConnectGatewayId != null && { directConnectGatewayId: input.directConnectGatewayId }),
|
|
3247
3245
|
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
3248
3246
|
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
3249
3247
|
};
|
|
3250
3248
|
};
|
|
3251
|
-
const
|
|
3249
|
+
const se_DescribeHostedConnectionsRequest = (input, context) => {
|
|
3252
3250
|
return {
|
|
3253
3251
|
...(input.connectionId != null && { connectionId: input.connectionId }),
|
|
3254
3252
|
};
|
|
3255
3253
|
};
|
|
3256
|
-
const
|
|
3254
|
+
const se_DescribeInterconnectLoaRequest = (input, context) => {
|
|
3257
3255
|
return {
|
|
3258
3256
|
...(input.interconnectId != null && { interconnectId: input.interconnectId }),
|
|
3259
3257
|
...(input.loaContentType != null && { loaContentType: input.loaContentType }),
|
|
3260
3258
|
...(input.providerName != null && { providerName: input.providerName }),
|
|
3261
3259
|
};
|
|
3262
3260
|
};
|
|
3263
|
-
const
|
|
3261
|
+
const se_DescribeInterconnectsRequest = (input, context) => {
|
|
3264
3262
|
return {
|
|
3265
3263
|
...(input.interconnectId != null && { interconnectId: input.interconnectId }),
|
|
3266
3264
|
};
|
|
3267
3265
|
};
|
|
3268
|
-
const
|
|
3266
|
+
const se_DescribeLagsRequest = (input, context) => {
|
|
3269
3267
|
return {
|
|
3270
3268
|
...(input.lagId != null && { lagId: input.lagId }),
|
|
3271
3269
|
};
|
|
3272
3270
|
};
|
|
3273
|
-
const
|
|
3271
|
+
const se_DescribeLoaRequest = (input, context) => {
|
|
3274
3272
|
return {
|
|
3275
3273
|
...(input.connectionId != null && { connectionId: input.connectionId }),
|
|
3276
3274
|
...(input.loaContentType != null && { loaContentType: input.loaContentType }),
|
|
3277
3275
|
...(input.providerName != null && { providerName: input.providerName }),
|
|
3278
3276
|
};
|
|
3279
3277
|
};
|
|
3280
|
-
const
|
|
3278
|
+
const se_DescribeRouterConfigurationRequest = (input, context) => {
|
|
3281
3279
|
return {
|
|
3282
3280
|
...(input.routerTypeIdentifier != null && { routerTypeIdentifier: input.routerTypeIdentifier }),
|
|
3283
3281
|
...(input.virtualInterfaceId != null && { virtualInterfaceId: input.virtualInterfaceId }),
|
|
3284
3282
|
};
|
|
3285
3283
|
};
|
|
3286
|
-
const
|
|
3284
|
+
const se_DescribeTagsRequest = (input, context) => {
|
|
3287
3285
|
return {
|
|
3288
|
-
...(input.resourceArns != null && {
|
|
3289
|
-
resourceArns: serializeAws_json1_1ResourceArnList(input.resourceArns, context),
|
|
3290
|
-
}),
|
|
3286
|
+
...(input.resourceArns != null && { resourceArns: se_ResourceArnList(input.resourceArns, context) }),
|
|
3291
3287
|
};
|
|
3292
3288
|
};
|
|
3293
|
-
const
|
|
3289
|
+
const se_DescribeVirtualInterfacesRequest = (input, context) => {
|
|
3294
3290
|
return {
|
|
3295
3291
|
...(input.connectionId != null && { connectionId: input.connectionId }),
|
|
3296
3292
|
...(input.virtualInterfaceId != null && { virtualInterfaceId: input.virtualInterfaceId }),
|
|
3297
3293
|
};
|
|
3298
3294
|
};
|
|
3299
|
-
const
|
|
3295
|
+
const se_DisassociateConnectionFromLagRequest = (input, context) => {
|
|
3300
3296
|
return {
|
|
3301
3297
|
...(input.connectionId != null && { connectionId: input.connectionId }),
|
|
3302
3298
|
...(input.lagId != null && { lagId: input.lagId }),
|
|
3303
3299
|
};
|
|
3304
3300
|
};
|
|
3305
|
-
const
|
|
3301
|
+
const se_DisassociateMacSecKeyRequest = (input, context) => {
|
|
3306
3302
|
return {
|
|
3307
3303
|
...(input.connectionId != null && { connectionId: input.connectionId }),
|
|
3308
3304
|
...(input.secretARN != null && { secretARN: input.secretARN }),
|
|
3309
3305
|
};
|
|
3310
3306
|
};
|
|
3311
|
-
const
|
|
3307
|
+
const se_ListVirtualInterfaceTestHistoryRequest = (input, context) => {
|
|
3312
3308
|
return {
|
|
3313
|
-
...(input.bgpPeers != null && { bgpPeers:
|
|
3309
|
+
...(input.bgpPeers != null && { bgpPeers: se_BGPPeerIdList(input.bgpPeers, context) }),
|
|
3314
3310
|
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
3315
3311
|
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
3316
3312
|
...(input.status != null && { status: input.status }),
|
|
@@ -3318,7 +3314,7 @@ const serializeAws_json1_1ListVirtualInterfaceTestHistoryRequest = (input, conte
|
|
|
3318
3314
|
...(input.virtualInterfaceId != null && { virtualInterfaceId: input.virtualInterfaceId }),
|
|
3319
3315
|
};
|
|
3320
3316
|
};
|
|
3321
|
-
const
|
|
3317
|
+
const se_NewBGPPeer = (input, context) => {
|
|
3322
3318
|
return {
|
|
3323
3319
|
...(input.addressFamily != null && { addressFamily: input.addressFamily }),
|
|
3324
3320
|
...(input.amazonAddress != null && { amazonAddress: input.amazonAddress }),
|
|
@@ -3327,7 +3323,7 @@ const serializeAws_json1_1NewBGPPeer = (input, context) => {
|
|
|
3327
3323
|
...(input.customerAddress != null && { customerAddress: input.customerAddress }),
|
|
3328
3324
|
};
|
|
3329
3325
|
};
|
|
3330
|
-
const
|
|
3326
|
+
const se_NewPrivateVirtualInterface = (input, context) => {
|
|
3331
3327
|
return {
|
|
3332
3328
|
...(input.addressFamily != null && { addressFamily: input.addressFamily }),
|
|
3333
3329
|
...(input.amazonAddress != null && { amazonAddress: input.amazonAddress }),
|
|
@@ -3337,13 +3333,13 @@ const serializeAws_json1_1NewPrivateVirtualInterface = (input, context) => {
|
|
|
3337
3333
|
...(input.directConnectGatewayId != null && { directConnectGatewayId: input.directConnectGatewayId }),
|
|
3338
3334
|
...(input.enableSiteLink != null && { enableSiteLink: input.enableSiteLink }),
|
|
3339
3335
|
...(input.mtu != null && { mtu: input.mtu }),
|
|
3340
|
-
...(input.tags != null && { tags:
|
|
3336
|
+
...(input.tags != null && { tags: se_TagList(input.tags, context) }),
|
|
3341
3337
|
...(input.virtualGatewayId != null && { virtualGatewayId: input.virtualGatewayId }),
|
|
3342
3338
|
...(input.virtualInterfaceName != null && { virtualInterfaceName: input.virtualInterfaceName }),
|
|
3343
3339
|
...(input.vlan != null && { vlan: input.vlan }),
|
|
3344
3340
|
};
|
|
3345
3341
|
};
|
|
3346
|
-
const
|
|
3342
|
+
const se_NewPrivateVirtualInterfaceAllocation = (input, context) => {
|
|
3347
3343
|
return {
|
|
3348
3344
|
...(input.addressFamily != null && { addressFamily: input.addressFamily }),
|
|
3349
3345
|
...(input.amazonAddress != null && { amazonAddress: input.amazonAddress }),
|
|
@@ -3351,12 +3347,12 @@ const serializeAws_json1_1NewPrivateVirtualInterfaceAllocation = (input, context
|
|
|
3351
3347
|
...(input.authKey != null && { authKey: input.authKey }),
|
|
3352
3348
|
...(input.customerAddress != null && { customerAddress: input.customerAddress }),
|
|
3353
3349
|
...(input.mtu != null && { mtu: input.mtu }),
|
|
3354
|
-
...(input.tags != null && { tags:
|
|
3350
|
+
...(input.tags != null && { tags: se_TagList(input.tags, context) }),
|
|
3355
3351
|
...(input.virtualInterfaceName != null && { virtualInterfaceName: input.virtualInterfaceName }),
|
|
3356
3352
|
...(input.vlan != null && { vlan: input.vlan }),
|
|
3357
3353
|
};
|
|
3358
3354
|
};
|
|
3359
|
-
const
|
|
3355
|
+
const se_NewPublicVirtualInterface = (input, context) => {
|
|
3360
3356
|
return {
|
|
3361
3357
|
...(input.addressFamily != null && { addressFamily: input.addressFamily }),
|
|
3362
3358
|
...(input.amazonAddress != null && { amazonAddress: input.amazonAddress }),
|
|
@@ -3364,14 +3360,14 @@ const serializeAws_json1_1NewPublicVirtualInterface = (input, context) => {
|
|
|
3364
3360
|
...(input.authKey != null && { authKey: input.authKey }),
|
|
3365
3361
|
...(input.customerAddress != null && { customerAddress: input.customerAddress }),
|
|
3366
3362
|
...(input.routeFilterPrefixes != null && {
|
|
3367
|
-
routeFilterPrefixes:
|
|
3363
|
+
routeFilterPrefixes: se_RouteFilterPrefixList(input.routeFilterPrefixes, context),
|
|
3368
3364
|
}),
|
|
3369
|
-
...(input.tags != null && { tags:
|
|
3365
|
+
...(input.tags != null && { tags: se_TagList(input.tags, context) }),
|
|
3370
3366
|
...(input.virtualInterfaceName != null && { virtualInterfaceName: input.virtualInterfaceName }),
|
|
3371
3367
|
...(input.vlan != null && { vlan: input.vlan }),
|
|
3372
3368
|
};
|
|
3373
3369
|
};
|
|
3374
|
-
const
|
|
3370
|
+
const se_NewPublicVirtualInterfaceAllocation = (input, context) => {
|
|
3375
3371
|
return {
|
|
3376
3372
|
...(input.addressFamily != null && { addressFamily: input.addressFamily }),
|
|
3377
3373
|
...(input.amazonAddress != null && { amazonAddress: input.amazonAddress }),
|
|
@@ -3379,14 +3375,14 @@ const serializeAws_json1_1NewPublicVirtualInterfaceAllocation = (input, context)
|
|
|
3379
3375
|
...(input.authKey != null && { authKey: input.authKey }),
|
|
3380
3376
|
...(input.customerAddress != null && { customerAddress: input.customerAddress }),
|
|
3381
3377
|
...(input.routeFilterPrefixes != null && {
|
|
3382
|
-
routeFilterPrefixes:
|
|
3378
|
+
routeFilterPrefixes: se_RouteFilterPrefixList(input.routeFilterPrefixes, context),
|
|
3383
3379
|
}),
|
|
3384
|
-
...(input.tags != null && { tags:
|
|
3380
|
+
...(input.tags != null && { tags: se_TagList(input.tags, context) }),
|
|
3385
3381
|
...(input.virtualInterfaceName != null && { virtualInterfaceName: input.virtualInterfaceName }),
|
|
3386
3382
|
...(input.vlan != null && { vlan: input.vlan }),
|
|
3387
3383
|
};
|
|
3388
3384
|
};
|
|
3389
|
-
const
|
|
3385
|
+
const se_NewTransitVirtualInterface = (input, context) => {
|
|
3390
3386
|
return {
|
|
3391
3387
|
...(input.addressFamily != null && { addressFamily: input.addressFamily }),
|
|
3392
3388
|
...(input.amazonAddress != null && { amazonAddress: input.amazonAddress }),
|
|
@@ -3396,12 +3392,12 @@ const serializeAws_json1_1NewTransitVirtualInterface = (input, context) => {
|
|
|
3396
3392
|
...(input.directConnectGatewayId != null && { directConnectGatewayId: input.directConnectGatewayId }),
|
|
3397
3393
|
...(input.enableSiteLink != null && { enableSiteLink: input.enableSiteLink }),
|
|
3398
3394
|
...(input.mtu != null && { mtu: input.mtu }),
|
|
3399
|
-
...(input.tags != null && { tags:
|
|
3395
|
+
...(input.tags != null && { tags: se_TagList(input.tags, context) }),
|
|
3400
3396
|
...(input.virtualInterfaceName != null && { virtualInterfaceName: input.virtualInterfaceName }),
|
|
3401
3397
|
...(input.vlan != null && { vlan: input.vlan }),
|
|
3402
3398
|
};
|
|
3403
3399
|
};
|
|
3404
|
-
const
|
|
3400
|
+
const se_NewTransitVirtualInterfaceAllocation = (input, context) => {
|
|
3405
3401
|
return {
|
|
3406
3402
|
...(input.addressFamily != null && { addressFamily: input.addressFamily }),
|
|
3407
3403
|
...(input.amazonAddress != null && { amazonAddress: input.amazonAddress }),
|
|
@@ -3409,93 +3405,93 @@ const serializeAws_json1_1NewTransitVirtualInterfaceAllocation = (input, context
|
|
|
3409
3405
|
...(input.authKey != null && { authKey: input.authKey }),
|
|
3410
3406
|
...(input.customerAddress != null && { customerAddress: input.customerAddress }),
|
|
3411
3407
|
...(input.mtu != null && { mtu: input.mtu }),
|
|
3412
|
-
...(input.tags != null && { tags:
|
|
3408
|
+
...(input.tags != null && { tags: se_TagList(input.tags, context) }),
|
|
3413
3409
|
...(input.virtualInterfaceName != null && { virtualInterfaceName: input.virtualInterfaceName }),
|
|
3414
3410
|
...(input.vlan != null && { vlan: input.vlan }),
|
|
3415
3411
|
};
|
|
3416
3412
|
};
|
|
3417
|
-
const
|
|
3413
|
+
const se_ResourceArnList = (input, context) => {
|
|
3418
3414
|
return input
|
|
3419
3415
|
.filter((e) => e != null)
|
|
3420
3416
|
.map((entry) => {
|
|
3421
3417
|
return entry;
|
|
3422
3418
|
});
|
|
3423
3419
|
};
|
|
3424
|
-
const
|
|
3420
|
+
const se_RouteFilterPrefix = (input, context) => {
|
|
3425
3421
|
return {
|
|
3426
3422
|
...(input.cidr != null && { cidr: input.cidr }),
|
|
3427
3423
|
};
|
|
3428
3424
|
};
|
|
3429
|
-
const
|
|
3425
|
+
const se_RouteFilterPrefixList = (input, context) => {
|
|
3430
3426
|
return input
|
|
3431
3427
|
.filter((e) => e != null)
|
|
3432
3428
|
.map((entry) => {
|
|
3433
|
-
return
|
|
3429
|
+
return se_RouteFilterPrefix(entry, context);
|
|
3434
3430
|
});
|
|
3435
3431
|
};
|
|
3436
|
-
const
|
|
3432
|
+
const se_StartBgpFailoverTestRequest = (input, context) => {
|
|
3437
3433
|
return {
|
|
3438
|
-
...(input.bgpPeers != null && { bgpPeers:
|
|
3434
|
+
...(input.bgpPeers != null && { bgpPeers: se_BGPPeerIdList(input.bgpPeers, context) }),
|
|
3439
3435
|
...(input.testDurationInMinutes != null && { testDurationInMinutes: input.testDurationInMinutes }),
|
|
3440
3436
|
...(input.virtualInterfaceId != null && { virtualInterfaceId: input.virtualInterfaceId }),
|
|
3441
3437
|
};
|
|
3442
3438
|
};
|
|
3443
|
-
const
|
|
3439
|
+
const se_StopBgpFailoverTestRequest = (input, context) => {
|
|
3444
3440
|
return {
|
|
3445
3441
|
...(input.virtualInterfaceId != null && { virtualInterfaceId: input.virtualInterfaceId }),
|
|
3446
3442
|
};
|
|
3447
3443
|
};
|
|
3448
|
-
const
|
|
3444
|
+
const se_Tag = (input, context) => {
|
|
3449
3445
|
return {
|
|
3450
3446
|
...(input.key != null && { key: input.key }),
|
|
3451
3447
|
...(input.value != null && { value: input.value }),
|
|
3452
3448
|
};
|
|
3453
3449
|
};
|
|
3454
|
-
const
|
|
3450
|
+
const se_TagKeyList = (input, context) => {
|
|
3455
3451
|
return input
|
|
3456
3452
|
.filter((e) => e != null)
|
|
3457
3453
|
.map((entry) => {
|
|
3458
3454
|
return entry;
|
|
3459
3455
|
});
|
|
3460
3456
|
};
|
|
3461
|
-
const
|
|
3457
|
+
const se_TagList = (input, context) => {
|
|
3462
3458
|
return input
|
|
3463
3459
|
.filter((e) => e != null)
|
|
3464
3460
|
.map((entry) => {
|
|
3465
|
-
return
|
|
3461
|
+
return se_Tag(entry, context);
|
|
3466
3462
|
});
|
|
3467
3463
|
};
|
|
3468
|
-
const
|
|
3464
|
+
const se_TagResourceRequest = (input, context) => {
|
|
3469
3465
|
return {
|
|
3470
3466
|
...(input.resourceArn != null && { resourceArn: input.resourceArn }),
|
|
3471
|
-
...(input.tags != null && { tags:
|
|
3467
|
+
...(input.tags != null && { tags: se_TagList(input.tags, context) }),
|
|
3472
3468
|
};
|
|
3473
3469
|
};
|
|
3474
|
-
const
|
|
3470
|
+
const se_UntagResourceRequest = (input, context) => {
|
|
3475
3471
|
return {
|
|
3476
3472
|
...(input.resourceArn != null && { resourceArn: input.resourceArn }),
|
|
3477
|
-
...(input.tagKeys != null && { tagKeys:
|
|
3473
|
+
...(input.tagKeys != null && { tagKeys: se_TagKeyList(input.tagKeys, context) }),
|
|
3478
3474
|
};
|
|
3479
3475
|
};
|
|
3480
|
-
const
|
|
3476
|
+
const se_UpdateConnectionRequest = (input, context) => {
|
|
3481
3477
|
return {
|
|
3482
3478
|
...(input.connectionId != null && { connectionId: input.connectionId }),
|
|
3483
3479
|
...(input.connectionName != null && { connectionName: input.connectionName }),
|
|
3484
3480
|
...(input.encryptionMode != null && { encryptionMode: input.encryptionMode }),
|
|
3485
3481
|
};
|
|
3486
3482
|
};
|
|
3487
|
-
const
|
|
3483
|
+
const se_UpdateDirectConnectGatewayAssociationRequest = (input, context) => {
|
|
3488
3484
|
return {
|
|
3489
3485
|
...(input.addAllowedPrefixesToDirectConnectGateway != null && {
|
|
3490
|
-
addAllowedPrefixesToDirectConnectGateway:
|
|
3486
|
+
addAllowedPrefixesToDirectConnectGateway: se_RouteFilterPrefixList(input.addAllowedPrefixesToDirectConnectGateway, context),
|
|
3491
3487
|
}),
|
|
3492
3488
|
...(input.associationId != null && { associationId: input.associationId }),
|
|
3493
3489
|
...(input.removeAllowedPrefixesToDirectConnectGateway != null && {
|
|
3494
|
-
removeAllowedPrefixesToDirectConnectGateway:
|
|
3490
|
+
removeAllowedPrefixesToDirectConnectGateway: se_RouteFilterPrefixList(input.removeAllowedPrefixesToDirectConnectGateway, context),
|
|
3495
3491
|
}),
|
|
3496
3492
|
};
|
|
3497
3493
|
};
|
|
3498
|
-
const
|
|
3494
|
+
const se_UpdateDirectConnectGatewayRequest = (input, context) => {
|
|
3499
3495
|
return {
|
|
3500
3496
|
...(input.directConnectGatewayId != null && { directConnectGatewayId: input.directConnectGatewayId }),
|
|
3501
3497
|
...(input.newDirectConnectGatewayName != null && {
|
|
@@ -3503,7 +3499,7 @@ const serializeAws_json1_1UpdateDirectConnectGatewayRequest = (input, context) =
|
|
|
3503
3499
|
}),
|
|
3504
3500
|
};
|
|
3505
3501
|
};
|
|
3506
|
-
const
|
|
3502
|
+
const se_UpdateLagRequest = (input, context) => {
|
|
3507
3503
|
return {
|
|
3508
3504
|
...(input.encryptionMode != null && { encryptionMode: input.encryptionMode }),
|
|
3509
3505
|
...(input.lagId != null && { lagId: input.lagId }),
|
|
@@ -3511,7 +3507,7 @@ const serializeAws_json1_1UpdateLagRequest = (input, context) => {
|
|
|
3511
3507
|
...(input.minimumLinks != null && { minimumLinks: input.minimumLinks }),
|
|
3512
3508
|
};
|
|
3513
3509
|
};
|
|
3514
|
-
const
|
|
3510
|
+
const se_UpdateVirtualInterfaceAttributesRequest = (input, context) => {
|
|
3515
3511
|
return {
|
|
3516
3512
|
...(input.enableSiteLink != null && { enableSiteLink: input.enableSiteLink }),
|
|
3517
3513
|
...(input.mtu != null && { mtu: input.mtu }),
|
|
@@ -3519,32 +3515,30 @@ const serializeAws_json1_1UpdateVirtualInterfaceAttributesRequest = (input, cont
|
|
|
3519
3515
|
...(input.virtualInterfaceName != null && { virtualInterfaceName: input.virtualInterfaceName }),
|
|
3520
3516
|
};
|
|
3521
3517
|
};
|
|
3522
|
-
const
|
|
3518
|
+
const de_AcceptDirectConnectGatewayAssociationProposalResult = (output, context) => {
|
|
3523
3519
|
return {
|
|
3524
3520
|
directConnectGatewayAssociation: output.directConnectGatewayAssociation != null
|
|
3525
|
-
?
|
|
3521
|
+
? de_DirectConnectGatewayAssociation(output.directConnectGatewayAssociation, context)
|
|
3526
3522
|
: undefined,
|
|
3527
3523
|
};
|
|
3528
3524
|
};
|
|
3529
|
-
const
|
|
3525
|
+
const de_AgreementList = (output, context) => {
|
|
3530
3526
|
const retVal = (output || [])
|
|
3531
3527
|
.filter((e) => e != null)
|
|
3532
3528
|
.map((entry) => {
|
|
3533
3529
|
if (entry === null) {
|
|
3534
3530
|
return null;
|
|
3535
3531
|
}
|
|
3536
|
-
return
|
|
3532
|
+
return de_CustomerAgreement(entry, context);
|
|
3537
3533
|
});
|
|
3538
3534
|
return retVal;
|
|
3539
3535
|
};
|
|
3540
|
-
const
|
|
3536
|
+
const de_AllocateTransitVirtualInterfaceResult = (output, context) => {
|
|
3541
3537
|
return {
|
|
3542
|
-
virtualInterface: output.virtualInterface != null
|
|
3543
|
-
? deserializeAws_json1_1VirtualInterface(output.virtualInterface, context)
|
|
3544
|
-
: undefined,
|
|
3538
|
+
virtualInterface: output.virtualInterface != null ? de_VirtualInterface(output.virtualInterface, context) : undefined,
|
|
3545
3539
|
};
|
|
3546
3540
|
};
|
|
3547
|
-
const
|
|
3541
|
+
const de_AssociatedGateway = (output, context) => {
|
|
3548
3542
|
return {
|
|
3549
3543
|
id: __expectString(output.id),
|
|
3550
3544
|
ownerAccount: __expectString(output.ownerAccount),
|
|
@@ -3552,13 +3546,13 @@ const deserializeAws_json1_1AssociatedGateway = (output, context) => {
|
|
|
3552
3546
|
type: __expectString(output.type),
|
|
3553
3547
|
};
|
|
3554
3548
|
};
|
|
3555
|
-
const
|
|
3549
|
+
const de_AssociateMacSecKeyResponse = (output, context) => {
|
|
3556
3550
|
return {
|
|
3557
3551
|
connectionId: __expectString(output.connectionId),
|
|
3558
|
-
macSecKeys: output.macSecKeys != null ?
|
|
3552
|
+
macSecKeys: output.macSecKeys != null ? de_MacSecKeyList(output.macSecKeys, context) : undefined,
|
|
3559
3553
|
};
|
|
3560
3554
|
};
|
|
3561
|
-
const
|
|
3555
|
+
const de_AvailableMacSecPortSpeeds = (output, context) => {
|
|
3562
3556
|
const retVal = (output || [])
|
|
3563
3557
|
.filter((e) => e != null)
|
|
3564
3558
|
.map((entry) => {
|
|
@@ -3569,7 +3563,7 @@ const deserializeAws_json1_1AvailableMacSecPortSpeeds = (output, context) => {
|
|
|
3569
3563
|
});
|
|
3570
3564
|
return retVal;
|
|
3571
3565
|
};
|
|
3572
|
-
const
|
|
3566
|
+
const de_AvailablePortSpeeds = (output, context) => {
|
|
3573
3567
|
const retVal = (output || [])
|
|
3574
3568
|
.filter((e) => e != null)
|
|
3575
3569
|
.map((entry) => {
|
|
@@ -3580,7 +3574,7 @@ const deserializeAws_json1_1AvailablePortSpeeds = (output, context) => {
|
|
|
3580
3574
|
});
|
|
3581
3575
|
return retVal;
|
|
3582
3576
|
};
|
|
3583
|
-
const
|
|
3577
|
+
const de_BGPPeer = (output, context) => {
|
|
3584
3578
|
return {
|
|
3585
3579
|
addressFamily: __expectString(output.addressFamily),
|
|
3586
3580
|
amazonAddress: __expectString(output.amazonAddress),
|
|
@@ -3594,7 +3588,7 @@ const deserializeAws_json1_1BGPPeer = (output, context) => {
|
|
|
3594
3588
|
customerAddress: __expectString(output.customerAddress),
|
|
3595
3589
|
};
|
|
3596
3590
|
};
|
|
3597
|
-
const
|
|
3591
|
+
const de_BGPPeerIdList = (output, context) => {
|
|
3598
3592
|
const retVal = (output || [])
|
|
3599
3593
|
.filter((e) => e != null)
|
|
3600
3594
|
.map((entry) => {
|
|
@@ -3605,43 +3599,43 @@ const deserializeAws_json1_1BGPPeerIdList = (output, context) => {
|
|
|
3605
3599
|
});
|
|
3606
3600
|
return retVal;
|
|
3607
3601
|
};
|
|
3608
|
-
const
|
|
3602
|
+
const de_BGPPeerList = (output, context) => {
|
|
3609
3603
|
const retVal = (output || [])
|
|
3610
3604
|
.filter((e) => e != null)
|
|
3611
3605
|
.map((entry) => {
|
|
3612
3606
|
if (entry === null) {
|
|
3613
3607
|
return null;
|
|
3614
3608
|
}
|
|
3615
|
-
return
|
|
3609
|
+
return de_BGPPeer(entry, context);
|
|
3616
3610
|
});
|
|
3617
3611
|
return retVal;
|
|
3618
3612
|
};
|
|
3619
|
-
const
|
|
3613
|
+
const de_ConfirmConnectionResponse = (output, context) => {
|
|
3620
3614
|
return {
|
|
3621
3615
|
connectionState: __expectString(output.connectionState),
|
|
3622
3616
|
};
|
|
3623
3617
|
};
|
|
3624
|
-
const
|
|
3618
|
+
const de_ConfirmCustomerAgreementResponse = (output, context) => {
|
|
3625
3619
|
return {
|
|
3626
3620
|
status: __expectString(output.status),
|
|
3627
3621
|
};
|
|
3628
3622
|
};
|
|
3629
|
-
const
|
|
3623
|
+
const de_ConfirmPrivateVirtualInterfaceResponse = (output, context) => {
|
|
3630
3624
|
return {
|
|
3631
3625
|
virtualInterfaceState: __expectString(output.virtualInterfaceState),
|
|
3632
3626
|
};
|
|
3633
3627
|
};
|
|
3634
|
-
const
|
|
3628
|
+
const de_ConfirmPublicVirtualInterfaceResponse = (output, context) => {
|
|
3635
3629
|
return {
|
|
3636
3630
|
virtualInterfaceState: __expectString(output.virtualInterfaceState),
|
|
3637
3631
|
};
|
|
3638
3632
|
};
|
|
3639
|
-
const
|
|
3633
|
+
const de_ConfirmTransitVirtualInterfaceResponse = (output, context) => {
|
|
3640
3634
|
return {
|
|
3641
3635
|
virtualInterfaceState: __expectString(output.virtualInterfaceState),
|
|
3642
3636
|
};
|
|
3643
3637
|
};
|
|
3644
|
-
const
|
|
3638
|
+
const de_Connection = (output, context) => {
|
|
3645
3639
|
return {
|
|
3646
3640
|
awsDevice: __expectString(output.awsDevice),
|
|
3647
3641
|
awsDeviceV2: __expectString(output.awsDeviceV2),
|
|
@@ -3659,178 +3653,168 @@ const deserializeAws_json1_1Connection = (output, context) => {
|
|
|
3659
3653
|
: undefined,
|
|
3660
3654
|
location: __expectString(output.location),
|
|
3661
3655
|
macSecCapable: __expectBoolean(output.macSecCapable),
|
|
3662
|
-
macSecKeys: output.macSecKeys != null ?
|
|
3656
|
+
macSecKeys: output.macSecKeys != null ? de_MacSecKeyList(output.macSecKeys, context) : undefined,
|
|
3663
3657
|
ownerAccount: __expectString(output.ownerAccount),
|
|
3664
3658
|
partnerName: __expectString(output.partnerName),
|
|
3665
3659
|
portEncryptionStatus: __expectString(output.portEncryptionStatus),
|
|
3666
3660
|
providerName: __expectString(output.providerName),
|
|
3667
3661
|
region: __expectString(output.region),
|
|
3668
|
-
tags: output.tags != null ?
|
|
3662
|
+
tags: output.tags != null ? de_TagList(output.tags, context) : undefined,
|
|
3669
3663
|
vlan: __expectInt32(output.vlan),
|
|
3670
3664
|
};
|
|
3671
3665
|
};
|
|
3672
|
-
const
|
|
3666
|
+
const de_ConnectionList = (output, context) => {
|
|
3673
3667
|
const retVal = (output || [])
|
|
3674
3668
|
.filter((e) => e != null)
|
|
3675
3669
|
.map((entry) => {
|
|
3676
3670
|
if (entry === null) {
|
|
3677
3671
|
return null;
|
|
3678
3672
|
}
|
|
3679
|
-
return
|
|
3673
|
+
return de_Connection(entry, context);
|
|
3680
3674
|
});
|
|
3681
3675
|
return retVal;
|
|
3682
3676
|
};
|
|
3683
|
-
const
|
|
3677
|
+
const de_Connections = (output, context) => {
|
|
3684
3678
|
return {
|
|
3685
|
-
connections: output.connections != null ?
|
|
3679
|
+
connections: output.connections != null ? de_ConnectionList(output.connections, context) : undefined,
|
|
3686
3680
|
};
|
|
3687
3681
|
};
|
|
3688
|
-
const
|
|
3682
|
+
const de_CreateBGPPeerResponse = (output, context) => {
|
|
3689
3683
|
return {
|
|
3690
|
-
virtualInterface: output.virtualInterface != null
|
|
3691
|
-
? deserializeAws_json1_1VirtualInterface(output.virtualInterface, context)
|
|
3692
|
-
: undefined,
|
|
3684
|
+
virtualInterface: output.virtualInterface != null ? de_VirtualInterface(output.virtualInterface, context) : undefined,
|
|
3693
3685
|
};
|
|
3694
3686
|
};
|
|
3695
|
-
const
|
|
3687
|
+
const de_CreateDirectConnectGatewayAssociationProposalResult = (output, context) => {
|
|
3696
3688
|
return {
|
|
3697
3689
|
directConnectGatewayAssociationProposal: output.directConnectGatewayAssociationProposal != null
|
|
3698
|
-
?
|
|
3690
|
+
? de_DirectConnectGatewayAssociationProposal(output.directConnectGatewayAssociationProposal, context)
|
|
3699
3691
|
: undefined,
|
|
3700
3692
|
};
|
|
3701
3693
|
};
|
|
3702
|
-
const
|
|
3694
|
+
const de_CreateDirectConnectGatewayAssociationResult = (output, context) => {
|
|
3703
3695
|
return {
|
|
3704
3696
|
directConnectGatewayAssociation: output.directConnectGatewayAssociation != null
|
|
3705
|
-
?
|
|
3697
|
+
? de_DirectConnectGatewayAssociation(output.directConnectGatewayAssociation, context)
|
|
3706
3698
|
: undefined,
|
|
3707
3699
|
};
|
|
3708
3700
|
};
|
|
3709
|
-
const
|
|
3701
|
+
const de_CreateDirectConnectGatewayResult = (output, context) => {
|
|
3710
3702
|
return {
|
|
3711
|
-
directConnectGateway: output.directConnectGateway != null
|
|
3712
|
-
? deserializeAws_json1_1DirectConnectGateway(output.directConnectGateway, context)
|
|
3713
|
-
: undefined,
|
|
3703
|
+
directConnectGateway: output.directConnectGateway != null ? de_DirectConnectGateway(output.directConnectGateway, context) : undefined,
|
|
3714
3704
|
};
|
|
3715
3705
|
};
|
|
3716
|
-
const
|
|
3706
|
+
const de_CreateTransitVirtualInterfaceResult = (output, context) => {
|
|
3717
3707
|
return {
|
|
3718
|
-
virtualInterface: output.virtualInterface != null
|
|
3719
|
-
? deserializeAws_json1_1VirtualInterface(output.virtualInterface, context)
|
|
3720
|
-
: undefined,
|
|
3708
|
+
virtualInterface: output.virtualInterface != null ? de_VirtualInterface(output.virtualInterface, context) : undefined,
|
|
3721
3709
|
};
|
|
3722
3710
|
};
|
|
3723
|
-
const
|
|
3711
|
+
const de_CustomerAgreement = (output, context) => {
|
|
3724
3712
|
return {
|
|
3725
3713
|
agreementName: __expectString(output.agreementName),
|
|
3726
3714
|
status: __expectString(output.status),
|
|
3727
3715
|
};
|
|
3728
3716
|
};
|
|
3729
|
-
const
|
|
3717
|
+
const de_DeleteBGPPeerResponse = (output, context) => {
|
|
3730
3718
|
return {
|
|
3731
|
-
virtualInterface: output.virtualInterface != null
|
|
3732
|
-
? deserializeAws_json1_1VirtualInterface(output.virtualInterface, context)
|
|
3733
|
-
: undefined,
|
|
3719
|
+
virtualInterface: output.virtualInterface != null ? de_VirtualInterface(output.virtualInterface, context) : undefined,
|
|
3734
3720
|
};
|
|
3735
3721
|
};
|
|
3736
|
-
const
|
|
3722
|
+
const de_DeleteDirectConnectGatewayAssociationProposalResult = (output, context) => {
|
|
3737
3723
|
return {
|
|
3738
3724
|
directConnectGatewayAssociationProposal: output.directConnectGatewayAssociationProposal != null
|
|
3739
|
-
?
|
|
3725
|
+
? de_DirectConnectGatewayAssociationProposal(output.directConnectGatewayAssociationProposal, context)
|
|
3740
3726
|
: undefined,
|
|
3741
3727
|
};
|
|
3742
3728
|
};
|
|
3743
|
-
const
|
|
3729
|
+
const de_DeleteDirectConnectGatewayAssociationResult = (output, context) => {
|
|
3744
3730
|
return {
|
|
3745
3731
|
directConnectGatewayAssociation: output.directConnectGatewayAssociation != null
|
|
3746
|
-
?
|
|
3732
|
+
? de_DirectConnectGatewayAssociation(output.directConnectGatewayAssociation, context)
|
|
3747
3733
|
: undefined,
|
|
3748
3734
|
};
|
|
3749
3735
|
};
|
|
3750
|
-
const
|
|
3736
|
+
const de_DeleteDirectConnectGatewayResult = (output, context) => {
|
|
3751
3737
|
return {
|
|
3752
|
-
directConnectGateway: output.directConnectGateway != null
|
|
3753
|
-
? deserializeAws_json1_1DirectConnectGateway(output.directConnectGateway, context)
|
|
3754
|
-
: undefined,
|
|
3738
|
+
directConnectGateway: output.directConnectGateway != null ? de_DirectConnectGateway(output.directConnectGateway, context) : undefined,
|
|
3755
3739
|
};
|
|
3756
3740
|
};
|
|
3757
|
-
const
|
|
3741
|
+
const de_DeleteInterconnectResponse = (output, context) => {
|
|
3758
3742
|
return {
|
|
3759
3743
|
interconnectState: __expectString(output.interconnectState),
|
|
3760
3744
|
};
|
|
3761
3745
|
};
|
|
3762
|
-
const
|
|
3746
|
+
const de_DeleteVirtualInterfaceResponse = (output, context) => {
|
|
3763
3747
|
return {
|
|
3764
3748
|
virtualInterfaceState: __expectString(output.virtualInterfaceState),
|
|
3765
3749
|
};
|
|
3766
3750
|
};
|
|
3767
|
-
const
|
|
3751
|
+
const de_DescribeConnectionLoaResponse = (output, context) => {
|
|
3768
3752
|
return {
|
|
3769
|
-
loa: output.loa != null ?
|
|
3753
|
+
loa: output.loa != null ? de_Loa(output.loa, context) : undefined,
|
|
3770
3754
|
};
|
|
3771
3755
|
};
|
|
3772
|
-
const
|
|
3756
|
+
const de_DescribeCustomerMetadataResponse = (output, context) => {
|
|
3773
3757
|
return {
|
|
3774
|
-
agreements: output.agreements != null ?
|
|
3758
|
+
agreements: output.agreements != null ? de_AgreementList(output.agreements, context) : undefined,
|
|
3775
3759
|
nniPartnerType: __expectString(output.nniPartnerType),
|
|
3776
3760
|
};
|
|
3777
3761
|
};
|
|
3778
|
-
const
|
|
3762
|
+
const de_DescribeDirectConnectGatewayAssociationProposalsResult = (output, context) => {
|
|
3779
3763
|
return {
|
|
3780
3764
|
directConnectGatewayAssociationProposals: output.directConnectGatewayAssociationProposals != null
|
|
3781
|
-
?
|
|
3765
|
+
? de_DirectConnectGatewayAssociationProposalList(output.directConnectGatewayAssociationProposals, context)
|
|
3782
3766
|
: undefined,
|
|
3783
3767
|
nextToken: __expectString(output.nextToken),
|
|
3784
3768
|
};
|
|
3785
3769
|
};
|
|
3786
|
-
const
|
|
3770
|
+
const de_DescribeDirectConnectGatewayAssociationsResult = (output, context) => {
|
|
3787
3771
|
return {
|
|
3788
3772
|
directConnectGatewayAssociations: output.directConnectGatewayAssociations != null
|
|
3789
|
-
?
|
|
3773
|
+
? de_DirectConnectGatewayAssociationList(output.directConnectGatewayAssociations, context)
|
|
3790
3774
|
: undefined,
|
|
3791
3775
|
nextToken: __expectString(output.nextToken),
|
|
3792
3776
|
};
|
|
3793
3777
|
};
|
|
3794
|
-
const
|
|
3778
|
+
const de_DescribeDirectConnectGatewayAttachmentsResult = (output, context) => {
|
|
3795
3779
|
return {
|
|
3796
3780
|
directConnectGatewayAttachments: output.directConnectGatewayAttachments != null
|
|
3797
|
-
?
|
|
3781
|
+
? de_DirectConnectGatewayAttachmentList(output.directConnectGatewayAttachments, context)
|
|
3798
3782
|
: undefined,
|
|
3799
3783
|
nextToken: __expectString(output.nextToken),
|
|
3800
3784
|
};
|
|
3801
3785
|
};
|
|
3802
|
-
const
|
|
3786
|
+
const de_DescribeDirectConnectGatewaysResult = (output, context) => {
|
|
3803
3787
|
return {
|
|
3804
3788
|
directConnectGateways: output.directConnectGateways != null
|
|
3805
|
-
?
|
|
3789
|
+
? de_DirectConnectGatewayList(output.directConnectGateways, context)
|
|
3806
3790
|
: undefined,
|
|
3807
3791
|
nextToken: __expectString(output.nextToken),
|
|
3808
3792
|
};
|
|
3809
3793
|
};
|
|
3810
|
-
const
|
|
3794
|
+
const de_DescribeInterconnectLoaResponse = (output, context) => {
|
|
3811
3795
|
return {
|
|
3812
|
-
loa: output.loa != null ?
|
|
3796
|
+
loa: output.loa != null ? de_Loa(output.loa, context) : undefined,
|
|
3813
3797
|
};
|
|
3814
3798
|
};
|
|
3815
|
-
const
|
|
3799
|
+
const de_DescribeRouterConfigurationResponse = (output, context) => {
|
|
3816
3800
|
return {
|
|
3817
3801
|
customerRouterConfig: __expectString(output.customerRouterConfig),
|
|
3818
|
-
router: output.router != null ?
|
|
3802
|
+
router: output.router != null ? de_RouterType(output.router, context) : undefined,
|
|
3819
3803
|
virtualInterfaceId: __expectString(output.virtualInterfaceId),
|
|
3820
3804
|
virtualInterfaceName: __expectString(output.virtualInterfaceName),
|
|
3821
3805
|
};
|
|
3822
3806
|
};
|
|
3823
|
-
const
|
|
3807
|
+
const de_DescribeTagsResponse = (output, context) => {
|
|
3824
3808
|
return {
|
|
3825
|
-
resourceTags: output.resourceTags != null ?
|
|
3809
|
+
resourceTags: output.resourceTags != null ? de_ResourceTagList(output.resourceTags, context) : undefined,
|
|
3826
3810
|
};
|
|
3827
3811
|
};
|
|
3828
|
-
const
|
|
3812
|
+
const de_DirectConnectClientException = (output, context) => {
|
|
3829
3813
|
return {
|
|
3830
3814
|
message: __expectString(output.message),
|
|
3831
3815
|
};
|
|
3832
3816
|
};
|
|
3833
|
-
const
|
|
3817
|
+
const de_DirectConnectGateway = (output, context) => {
|
|
3834
3818
|
return {
|
|
3835
3819
|
amazonSideAsn: __expectLong(output.amazonSideAsn),
|
|
3836
3820
|
directConnectGatewayId: __expectString(output.directConnectGatewayId),
|
|
@@ -3840,14 +3824,12 @@ const deserializeAws_json1_1DirectConnectGateway = (output, context) => {
|
|
|
3840
3824
|
stateChangeError: __expectString(output.stateChangeError),
|
|
3841
3825
|
};
|
|
3842
3826
|
};
|
|
3843
|
-
const
|
|
3827
|
+
const de_DirectConnectGatewayAssociation = (output, context) => {
|
|
3844
3828
|
return {
|
|
3845
3829
|
allowedPrefixesToDirectConnectGateway: output.allowedPrefixesToDirectConnectGateway != null
|
|
3846
|
-
?
|
|
3847
|
-
: undefined,
|
|
3848
|
-
associatedGateway: output.associatedGateway != null
|
|
3849
|
-
? deserializeAws_json1_1AssociatedGateway(output.associatedGateway, context)
|
|
3830
|
+
? de_RouteFilterPrefixList(output.allowedPrefixesToDirectConnectGateway, context)
|
|
3850
3831
|
: undefined,
|
|
3832
|
+
associatedGateway: output.associatedGateway != null ? de_AssociatedGateway(output.associatedGateway, context) : undefined,
|
|
3851
3833
|
associationId: __expectString(output.associationId),
|
|
3852
3834
|
associationState: __expectString(output.associationState),
|
|
3853
3835
|
directConnectGatewayId: __expectString(output.directConnectGatewayId),
|
|
@@ -3858,46 +3840,44 @@ const deserializeAws_json1_1DirectConnectGatewayAssociation = (output, context)
|
|
|
3858
3840
|
virtualGatewayRegion: __expectString(output.virtualGatewayRegion),
|
|
3859
3841
|
};
|
|
3860
3842
|
};
|
|
3861
|
-
const
|
|
3843
|
+
const de_DirectConnectGatewayAssociationList = (output, context) => {
|
|
3862
3844
|
const retVal = (output || [])
|
|
3863
3845
|
.filter((e) => e != null)
|
|
3864
3846
|
.map((entry) => {
|
|
3865
3847
|
if (entry === null) {
|
|
3866
3848
|
return null;
|
|
3867
3849
|
}
|
|
3868
|
-
return
|
|
3850
|
+
return de_DirectConnectGatewayAssociation(entry, context);
|
|
3869
3851
|
});
|
|
3870
3852
|
return retVal;
|
|
3871
3853
|
};
|
|
3872
|
-
const
|
|
3854
|
+
const de_DirectConnectGatewayAssociationProposal = (output, context) => {
|
|
3873
3855
|
return {
|
|
3874
|
-
associatedGateway: output.associatedGateway != null
|
|
3875
|
-
? deserializeAws_json1_1AssociatedGateway(output.associatedGateway, context)
|
|
3876
|
-
: undefined,
|
|
3856
|
+
associatedGateway: output.associatedGateway != null ? de_AssociatedGateway(output.associatedGateway, context) : undefined,
|
|
3877
3857
|
directConnectGatewayId: __expectString(output.directConnectGatewayId),
|
|
3878
3858
|
directConnectGatewayOwnerAccount: __expectString(output.directConnectGatewayOwnerAccount),
|
|
3879
3859
|
existingAllowedPrefixesToDirectConnectGateway: output.existingAllowedPrefixesToDirectConnectGateway != null
|
|
3880
|
-
?
|
|
3860
|
+
? de_RouteFilterPrefixList(output.existingAllowedPrefixesToDirectConnectGateway, context)
|
|
3881
3861
|
: undefined,
|
|
3882
3862
|
proposalId: __expectString(output.proposalId),
|
|
3883
3863
|
proposalState: __expectString(output.proposalState),
|
|
3884
3864
|
requestedAllowedPrefixesToDirectConnectGateway: output.requestedAllowedPrefixesToDirectConnectGateway != null
|
|
3885
|
-
?
|
|
3865
|
+
? de_RouteFilterPrefixList(output.requestedAllowedPrefixesToDirectConnectGateway, context)
|
|
3886
3866
|
: undefined,
|
|
3887
3867
|
};
|
|
3888
3868
|
};
|
|
3889
|
-
const
|
|
3869
|
+
const de_DirectConnectGatewayAssociationProposalList = (output, context) => {
|
|
3890
3870
|
const retVal = (output || [])
|
|
3891
3871
|
.filter((e) => e != null)
|
|
3892
3872
|
.map((entry) => {
|
|
3893
3873
|
if (entry === null) {
|
|
3894
3874
|
return null;
|
|
3895
3875
|
}
|
|
3896
|
-
return
|
|
3876
|
+
return de_DirectConnectGatewayAssociationProposal(entry, context);
|
|
3897
3877
|
});
|
|
3898
3878
|
return retVal;
|
|
3899
3879
|
};
|
|
3900
|
-
const
|
|
3880
|
+
const de_DirectConnectGatewayAttachment = (output, context) => {
|
|
3901
3881
|
return {
|
|
3902
3882
|
attachmentState: __expectString(output.attachmentState),
|
|
3903
3883
|
attachmentType: __expectString(output.attachmentType),
|
|
@@ -3908,45 +3888,45 @@ const deserializeAws_json1_1DirectConnectGatewayAttachment = (output, context) =
|
|
|
3908
3888
|
virtualInterfaceRegion: __expectString(output.virtualInterfaceRegion),
|
|
3909
3889
|
};
|
|
3910
3890
|
};
|
|
3911
|
-
const
|
|
3891
|
+
const de_DirectConnectGatewayAttachmentList = (output, context) => {
|
|
3912
3892
|
const retVal = (output || [])
|
|
3913
3893
|
.filter((e) => e != null)
|
|
3914
3894
|
.map((entry) => {
|
|
3915
3895
|
if (entry === null) {
|
|
3916
3896
|
return null;
|
|
3917
3897
|
}
|
|
3918
|
-
return
|
|
3898
|
+
return de_DirectConnectGatewayAttachment(entry, context);
|
|
3919
3899
|
});
|
|
3920
3900
|
return retVal;
|
|
3921
3901
|
};
|
|
3922
|
-
const
|
|
3902
|
+
const de_DirectConnectGatewayList = (output, context) => {
|
|
3923
3903
|
const retVal = (output || [])
|
|
3924
3904
|
.filter((e) => e != null)
|
|
3925
3905
|
.map((entry) => {
|
|
3926
3906
|
if (entry === null) {
|
|
3927
3907
|
return null;
|
|
3928
3908
|
}
|
|
3929
|
-
return
|
|
3909
|
+
return de_DirectConnectGateway(entry, context);
|
|
3930
3910
|
});
|
|
3931
3911
|
return retVal;
|
|
3932
3912
|
};
|
|
3933
|
-
const
|
|
3913
|
+
const de_DirectConnectServerException = (output, context) => {
|
|
3934
3914
|
return {
|
|
3935
3915
|
message: __expectString(output.message),
|
|
3936
3916
|
};
|
|
3937
3917
|
};
|
|
3938
|
-
const
|
|
3918
|
+
const de_DisassociateMacSecKeyResponse = (output, context) => {
|
|
3939
3919
|
return {
|
|
3940
3920
|
connectionId: __expectString(output.connectionId),
|
|
3941
|
-
macSecKeys: output.macSecKeys != null ?
|
|
3921
|
+
macSecKeys: output.macSecKeys != null ? de_MacSecKeyList(output.macSecKeys, context) : undefined,
|
|
3942
3922
|
};
|
|
3943
3923
|
};
|
|
3944
|
-
const
|
|
3924
|
+
const de_DuplicateTagKeysException = (output, context) => {
|
|
3945
3925
|
return {
|
|
3946
3926
|
message: __expectString(output.message),
|
|
3947
3927
|
};
|
|
3948
3928
|
};
|
|
3949
|
-
const
|
|
3929
|
+
const de_Interconnect = (output, context) => {
|
|
3950
3930
|
return {
|
|
3951
3931
|
awsDevice: __expectString(output.awsDevice),
|
|
3952
3932
|
awsDeviceV2: __expectString(output.awsDeviceV2),
|
|
@@ -3964,32 +3944,32 @@ const deserializeAws_json1_1Interconnect = (output, context) => {
|
|
|
3964
3944
|
location: __expectString(output.location),
|
|
3965
3945
|
providerName: __expectString(output.providerName),
|
|
3966
3946
|
region: __expectString(output.region),
|
|
3967
|
-
tags: output.tags != null ?
|
|
3947
|
+
tags: output.tags != null ? de_TagList(output.tags, context) : undefined,
|
|
3968
3948
|
};
|
|
3969
3949
|
};
|
|
3970
|
-
const
|
|
3950
|
+
const de_InterconnectList = (output, context) => {
|
|
3971
3951
|
const retVal = (output || [])
|
|
3972
3952
|
.filter((e) => e != null)
|
|
3973
3953
|
.map((entry) => {
|
|
3974
3954
|
if (entry === null) {
|
|
3975
3955
|
return null;
|
|
3976
3956
|
}
|
|
3977
|
-
return
|
|
3957
|
+
return de_Interconnect(entry, context);
|
|
3978
3958
|
});
|
|
3979
3959
|
return retVal;
|
|
3980
3960
|
};
|
|
3981
|
-
const
|
|
3961
|
+
const de_Interconnects = (output, context) => {
|
|
3982
3962
|
return {
|
|
3983
|
-
interconnects: output.interconnects != null ?
|
|
3963
|
+
interconnects: output.interconnects != null ? de_InterconnectList(output.interconnects, context) : undefined,
|
|
3984
3964
|
};
|
|
3985
3965
|
};
|
|
3986
|
-
const
|
|
3966
|
+
const de_Lag = (output, context) => {
|
|
3987
3967
|
return {
|
|
3988
3968
|
allowsHostedConnections: __expectBoolean(output.allowsHostedConnections),
|
|
3989
3969
|
awsDevice: __expectString(output.awsDevice),
|
|
3990
3970
|
awsDeviceV2: __expectString(output.awsDeviceV2),
|
|
3991
3971
|
awsLogicalDeviceId: __expectString(output.awsLogicalDeviceId),
|
|
3992
|
-
connections: output.connections != null ?
|
|
3972
|
+
connections: output.connections != null ? de_ConnectionList(output.connections, context) : undefined,
|
|
3993
3973
|
connectionsBandwidth: __expectString(output.connectionsBandwidth),
|
|
3994
3974
|
encryptionMode: __expectString(output.encryptionMode),
|
|
3995
3975
|
hasLogicalRedundancy: __expectString(output.hasLogicalRedundancy),
|
|
@@ -3999,78 +3979,74 @@ const deserializeAws_json1_1Lag = (output, context) => {
|
|
|
3999
3979
|
lagState: __expectString(output.lagState),
|
|
4000
3980
|
location: __expectString(output.location),
|
|
4001
3981
|
macSecCapable: __expectBoolean(output.macSecCapable),
|
|
4002
|
-
macSecKeys: output.macSecKeys != null ?
|
|
3982
|
+
macSecKeys: output.macSecKeys != null ? de_MacSecKeyList(output.macSecKeys, context) : undefined,
|
|
4003
3983
|
minimumLinks: __expectInt32(output.minimumLinks),
|
|
4004
3984
|
numberOfConnections: __expectInt32(output.numberOfConnections),
|
|
4005
3985
|
ownerAccount: __expectString(output.ownerAccount),
|
|
4006
3986
|
providerName: __expectString(output.providerName),
|
|
4007
3987
|
region: __expectString(output.region),
|
|
4008
|
-
tags: output.tags != null ?
|
|
3988
|
+
tags: output.tags != null ? de_TagList(output.tags, context) : undefined,
|
|
4009
3989
|
};
|
|
4010
3990
|
};
|
|
4011
|
-
const
|
|
3991
|
+
const de_LagList = (output, context) => {
|
|
4012
3992
|
const retVal = (output || [])
|
|
4013
3993
|
.filter((e) => e != null)
|
|
4014
3994
|
.map((entry) => {
|
|
4015
3995
|
if (entry === null) {
|
|
4016
3996
|
return null;
|
|
4017
3997
|
}
|
|
4018
|
-
return
|
|
3998
|
+
return de_Lag(entry, context);
|
|
4019
3999
|
});
|
|
4020
4000
|
return retVal;
|
|
4021
4001
|
};
|
|
4022
|
-
const
|
|
4002
|
+
const de_Lags = (output, context) => {
|
|
4023
4003
|
return {
|
|
4024
|
-
lags: output.lags != null ?
|
|
4004
|
+
lags: output.lags != null ? de_LagList(output.lags, context) : undefined,
|
|
4025
4005
|
};
|
|
4026
4006
|
};
|
|
4027
|
-
const
|
|
4007
|
+
const de_ListVirtualInterfaceTestHistoryResponse = (output, context) => {
|
|
4028
4008
|
return {
|
|
4029
4009
|
nextToken: __expectString(output.nextToken),
|
|
4030
4010
|
virtualInterfaceTestHistory: output.virtualInterfaceTestHistory != null
|
|
4031
|
-
?
|
|
4011
|
+
? de_VirtualInterfaceTestHistoryList(output.virtualInterfaceTestHistory, context)
|
|
4032
4012
|
: undefined,
|
|
4033
4013
|
};
|
|
4034
4014
|
};
|
|
4035
|
-
const
|
|
4015
|
+
const de_Loa = (output, context) => {
|
|
4036
4016
|
return {
|
|
4037
4017
|
loaContent: output.loaContent != null ? context.base64Decoder(output.loaContent) : undefined,
|
|
4038
4018
|
loaContentType: __expectString(output.loaContentType),
|
|
4039
4019
|
};
|
|
4040
4020
|
};
|
|
4041
|
-
const
|
|
4021
|
+
const de_Location = (output, context) => {
|
|
4042
4022
|
return {
|
|
4043
4023
|
availableMacSecPortSpeeds: output.availableMacSecPortSpeeds != null
|
|
4044
|
-
?
|
|
4045
|
-
: undefined,
|
|
4046
|
-
availablePortSpeeds: output.availablePortSpeeds != null
|
|
4047
|
-
? deserializeAws_json1_1AvailablePortSpeeds(output.availablePortSpeeds, context)
|
|
4048
|
-
: undefined,
|
|
4049
|
-
availableProviders: output.availableProviders != null
|
|
4050
|
-
? deserializeAws_json1_1ProviderList(output.availableProviders, context)
|
|
4024
|
+
? de_AvailableMacSecPortSpeeds(output.availableMacSecPortSpeeds, context)
|
|
4051
4025
|
: undefined,
|
|
4026
|
+
availablePortSpeeds: output.availablePortSpeeds != null ? de_AvailablePortSpeeds(output.availablePortSpeeds, context) : undefined,
|
|
4027
|
+
availableProviders: output.availableProviders != null ? de_ProviderList(output.availableProviders, context) : undefined,
|
|
4052
4028
|
locationCode: __expectString(output.locationCode),
|
|
4053
4029
|
locationName: __expectString(output.locationName),
|
|
4054
4030
|
region: __expectString(output.region),
|
|
4055
4031
|
};
|
|
4056
4032
|
};
|
|
4057
|
-
const
|
|
4033
|
+
const de_LocationList = (output, context) => {
|
|
4058
4034
|
const retVal = (output || [])
|
|
4059
4035
|
.filter((e) => e != null)
|
|
4060
4036
|
.map((entry) => {
|
|
4061
4037
|
if (entry === null) {
|
|
4062
4038
|
return null;
|
|
4063
4039
|
}
|
|
4064
|
-
return
|
|
4040
|
+
return de_Location(entry, context);
|
|
4065
4041
|
});
|
|
4066
4042
|
return retVal;
|
|
4067
4043
|
};
|
|
4068
|
-
const
|
|
4044
|
+
const de_Locations = (output, context) => {
|
|
4069
4045
|
return {
|
|
4070
|
-
locations: output.locations != null ?
|
|
4046
|
+
locations: output.locations != null ? de_LocationList(output.locations, context) : undefined,
|
|
4071
4047
|
};
|
|
4072
4048
|
};
|
|
4073
|
-
const
|
|
4049
|
+
const de_MacSecKey = (output, context) => {
|
|
4074
4050
|
return {
|
|
4075
4051
|
ckn: __expectString(output.ckn),
|
|
4076
4052
|
secretARN: __expectString(output.secretARN),
|
|
@@ -4078,18 +4054,18 @@ const deserializeAws_json1_1MacSecKey = (output, context) => {
|
|
|
4078
4054
|
state: __expectString(output.state),
|
|
4079
4055
|
};
|
|
4080
4056
|
};
|
|
4081
|
-
const
|
|
4057
|
+
const de_MacSecKeyList = (output, context) => {
|
|
4082
4058
|
const retVal = (output || [])
|
|
4083
4059
|
.filter((e) => e != null)
|
|
4084
4060
|
.map((entry) => {
|
|
4085
4061
|
if (entry === null) {
|
|
4086
4062
|
return null;
|
|
4087
4063
|
}
|
|
4088
|
-
return
|
|
4064
|
+
return de_MacSecKey(entry, context);
|
|
4089
4065
|
});
|
|
4090
4066
|
return retVal;
|
|
4091
4067
|
};
|
|
4092
|
-
const
|
|
4068
|
+
const de_ProviderList = (output, context) => {
|
|
4093
4069
|
const retVal = (output || [])
|
|
4094
4070
|
.filter((e) => e != null)
|
|
4095
4071
|
.map((entry) => {
|
|
@@ -4100,40 +4076,40 @@ const deserializeAws_json1_1ProviderList = (output, context) => {
|
|
|
4100
4076
|
});
|
|
4101
4077
|
return retVal;
|
|
4102
4078
|
};
|
|
4103
|
-
const
|
|
4079
|
+
const de_ResourceTag = (output, context) => {
|
|
4104
4080
|
return {
|
|
4105
4081
|
resourceArn: __expectString(output.resourceArn),
|
|
4106
|
-
tags: output.tags != null ?
|
|
4082
|
+
tags: output.tags != null ? de_TagList(output.tags, context) : undefined,
|
|
4107
4083
|
};
|
|
4108
4084
|
};
|
|
4109
|
-
const
|
|
4085
|
+
const de_ResourceTagList = (output, context) => {
|
|
4110
4086
|
const retVal = (output || [])
|
|
4111
4087
|
.filter((e) => e != null)
|
|
4112
4088
|
.map((entry) => {
|
|
4113
4089
|
if (entry === null) {
|
|
4114
4090
|
return null;
|
|
4115
4091
|
}
|
|
4116
|
-
return
|
|
4092
|
+
return de_ResourceTag(entry, context);
|
|
4117
4093
|
});
|
|
4118
4094
|
return retVal;
|
|
4119
4095
|
};
|
|
4120
|
-
const
|
|
4096
|
+
const de_RouteFilterPrefix = (output, context) => {
|
|
4121
4097
|
return {
|
|
4122
4098
|
cidr: __expectString(output.cidr),
|
|
4123
4099
|
};
|
|
4124
4100
|
};
|
|
4125
|
-
const
|
|
4101
|
+
const de_RouteFilterPrefixList = (output, context) => {
|
|
4126
4102
|
const retVal = (output || [])
|
|
4127
4103
|
.filter((e) => e != null)
|
|
4128
4104
|
.map((entry) => {
|
|
4129
4105
|
if (entry === null) {
|
|
4130
4106
|
return null;
|
|
4131
4107
|
}
|
|
4132
|
-
return
|
|
4108
|
+
return de_RouteFilterPrefix(entry, context);
|
|
4133
4109
|
});
|
|
4134
4110
|
return retVal;
|
|
4135
4111
|
};
|
|
4136
|
-
const
|
|
4112
|
+
const de_RouterType = (output, context) => {
|
|
4137
4113
|
return {
|
|
4138
4114
|
platform: __expectString(output.platform),
|
|
4139
4115
|
routerTypeIdentifier: __expectString(output.routerTypeIdentifier),
|
|
@@ -4143,87 +4119,83 @@ const deserializeAws_json1_1RouterType = (output, context) => {
|
|
|
4143
4119
|
xsltTemplateNameForMacSec: __expectString(output.xsltTemplateNameForMacSec),
|
|
4144
4120
|
};
|
|
4145
4121
|
};
|
|
4146
|
-
const
|
|
4122
|
+
const de_StartBgpFailoverTestResponse = (output, context) => {
|
|
4147
4123
|
return {
|
|
4148
4124
|
virtualInterfaceTest: output.virtualInterfaceTest != null
|
|
4149
|
-
?
|
|
4125
|
+
? de_VirtualInterfaceTestHistory(output.virtualInterfaceTest, context)
|
|
4150
4126
|
: undefined,
|
|
4151
4127
|
};
|
|
4152
4128
|
};
|
|
4153
|
-
const
|
|
4129
|
+
const de_StopBgpFailoverTestResponse = (output, context) => {
|
|
4154
4130
|
return {
|
|
4155
4131
|
virtualInterfaceTest: output.virtualInterfaceTest != null
|
|
4156
|
-
?
|
|
4132
|
+
? de_VirtualInterfaceTestHistory(output.virtualInterfaceTest, context)
|
|
4157
4133
|
: undefined,
|
|
4158
4134
|
};
|
|
4159
4135
|
};
|
|
4160
|
-
const
|
|
4136
|
+
const de_Tag = (output, context) => {
|
|
4161
4137
|
return {
|
|
4162
4138
|
key: __expectString(output.key),
|
|
4163
4139
|
value: __expectString(output.value),
|
|
4164
4140
|
};
|
|
4165
4141
|
};
|
|
4166
|
-
const
|
|
4142
|
+
const de_TagList = (output, context) => {
|
|
4167
4143
|
const retVal = (output || [])
|
|
4168
4144
|
.filter((e) => e != null)
|
|
4169
4145
|
.map((entry) => {
|
|
4170
4146
|
if (entry === null) {
|
|
4171
4147
|
return null;
|
|
4172
4148
|
}
|
|
4173
|
-
return
|
|
4149
|
+
return de_Tag(entry, context);
|
|
4174
4150
|
});
|
|
4175
4151
|
return retVal;
|
|
4176
4152
|
};
|
|
4177
|
-
const
|
|
4153
|
+
const de_TagResourceResponse = (output, context) => {
|
|
4178
4154
|
return {};
|
|
4179
4155
|
};
|
|
4180
|
-
const
|
|
4156
|
+
const de_TooManyTagsException = (output, context) => {
|
|
4181
4157
|
return {
|
|
4182
4158
|
message: __expectString(output.message),
|
|
4183
4159
|
};
|
|
4184
4160
|
};
|
|
4185
|
-
const
|
|
4161
|
+
const de_UntagResourceResponse = (output, context) => {
|
|
4186
4162
|
return {};
|
|
4187
4163
|
};
|
|
4188
|
-
const
|
|
4164
|
+
const de_UpdateDirectConnectGatewayAssociationResult = (output, context) => {
|
|
4189
4165
|
return {
|
|
4190
4166
|
directConnectGatewayAssociation: output.directConnectGatewayAssociation != null
|
|
4191
|
-
?
|
|
4167
|
+
? de_DirectConnectGatewayAssociation(output.directConnectGatewayAssociation, context)
|
|
4192
4168
|
: undefined,
|
|
4193
4169
|
};
|
|
4194
4170
|
};
|
|
4195
|
-
const
|
|
4171
|
+
const de_UpdateDirectConnectGatewayResponse = (output, context) => {
|
|
4196
4172
|
return {
|
|
4197
|
-
directConnectGateway: output.directConnectGateway != null
|
|
4198
|
-
? deserializeAws_json1_1DirectConnectGateway(output.directConnectGateway, context)
|
|
4199
|
-
: undefined,
|
|
4173
|
+
directConnectGateway: output.directConnectGateway != null ? de_DirectConnectGateway(output.directConnectGateway, context) : undefined,
|
|
4200
4174
|
};
|
|
4201
4175
|
};
|
|
4202
|
-
const
|
|
4176
|
+
const de_VirtualGateway = (output, context) => {
|
|
4203
4177
|
return {
|
|
4204
4178
|
virtualGatewayId: __expectString(output.virtualGatewayId),
|
|
4205
4179
|
virtualGatewayState: __expectString(output.virtualGatewayState),
|
|
4206
4180
|
};
|
|
4207
4181
|
};
|
|
4208
|
-
const
|
|
4182
|
+
const de_VirtualGatewayList = (output, context) => {
|
|
4209
4183
|
const retVal = (output || [])
|
|
4210
4184
|
.filter((e) => e != null)
|
|
4211
4185
|
.map((entry) => {
|
|
4212
4186
|
if (entry === null) {
|
|
4213
4187
|
return null;
|
|
4214
4188
|
}
|
|
4215
|
-
return
|
|
4189
|
+
return de_VirtualGateway(entry, context);
|
|
4216
4190
|
});
|
|
4217
4191
|
return retVal;
|
|
4218
4192
|
};
|
|
4219
|
-
const
|
|
4193
|
+
const de_VirtualGateways = (output, context) => {
|
|
4220
4194
|
return {
|
|
4221
|
-
virtualGateways: output.virtualGateways != null
|
|
4222
|
-
? deserializeAws_json1_1VirtualGatewayList(output.virtualGateways, context)
|
|
4223
|
-
: undefined,
|
|
4195
|
+
virtualGateways: output.virtualGateways != null ? de_VirtualGatewayList(output.virtualGateways, context) : undefined,
|
|
4224
4196
|
};
|
|
4225
4197
|
};
|
|
4226
|
-
const
|
|
4198
|
+
const de_VirtualInterface = (output, context) => {
|
|
4227
4199
|
return {
|
|
4228
4200
|
addressFamily: __expectString(output.addressFamily),
|
|
4229
4201
|
amazonAddress: __expectString(output.amazonAddress),
|
|
@@ -4232,7 +4204,7 @@ const deserializeAws_json1_1VirtualInterface = (output, context) => {
|
|
|
4232
4204
|
authKey: __expectString(output.authKey),
|
|
4233
4205
|
awsDeviceV2: __expectString(output.awsDeviceV2),
|
|
4234
4206
|
awsLogicalDeviceId: __expectString(output.awsLogicalDeviceId),
|
|
4235
|
-
bgpPeers: output.bgpPeers != null ?
|
|
4207
|
+
bgpPeers: output.bgpPeers != null ? de_BGPPeerList(output.bgpPeers, context) : undefined,
|
|
4236
4208
|
connectionId: __expectString(output.connectionId),
|
|
4237
4209
|
customerAddress: __expectString(output.customerAddress),
|
|
4238
4210
|
customerRouterConfig: __expectString(output.customerRouterConfig),
|
|
@@ -4242,11 +4214,9 @@ const deserializeAws_json1_1VirtualInterface = (output, context) => {
|
|
|
4242
4214
|
mtu: __expectInt32(output.mtu),
|
|
4243
4215
|
ownerAccount: __expectString(output.ownerAccount),
|
|
4244
4216
|
region: __expectString(output.region),
|
|
4245
|
-
routeFilterPrefixes: output.routeFilterPrefixes != null
|
|
4246
|
-
? deserializeAws_json1_1RouteFilterPrefixList(output.routeFilterPrefixes, context)
|
|
4247
|
-
: undefined,
|
|
4217
|
+
routeFilterPrefixes: output.routeFilterPrefixes != null ? de_RouteFilterPrefixList(output.routeFilterPrefixes, context) : undefined,
|
|
4248
4218
|
siteLinkEnabled: __expectBoolean(output.siteLinkEnabled),
|
|
4249
|
-
tags: output.tags != null ?
|
|
4219
|
+
tags: output.tags != null ? de_TagList(output.tags, context) : undefined,
|
|
4250
4220
|
virtualGatewayId: __expectString(output.virtualGatewayId),
|
|
4251
4221
|
virtualInterfaceId: __expectString(output.virtualInterfaceId),
|
|
4252
4222
|
virtualInterfaceName: __expectString(output.virtualInterfaceName),
|
|
@@ -4255,27 +4225,25 @@ const deserializeAws_json1_1VirtualInterface = (output, context) => {
|
|
|
4255
4225
|
vlan: __expectInt32(output.vlan),
|
|
4256
4226
|
};
|
|
4257
4227
|
};
|
|
4258
|
-
const
|
|
4228
|
+
const de_VirtualInterfaceList = (output, context) => {
|
|
4259
4229
|
const retVal = (output || [])
|
|
4260
4230
|
.filter((e) => e != null)
|
|
4261
4231
|
.map((entry) => {
|
|
4262
4232
|
if (entry === null) {
|
|
4263
4233
|
return null;
|
|
4264
4234
|
}
|
|
4265
|
-
return
|
|
4235
|
+
return de_VirtualInterface(entry, context);
|
|
4266
4236
|
});
|
|
4267
4237
|
return retVal;
|
|
4268
4238
|
};
|
|
4269
|
-
const
|
|
4239
|
+
const de_VirtualInterfaces = (output, context) => {
|
|
4270
4240
|
return {
|
|
4271
|
-
virtualInterfaces: output.virtualInterfaces != null
|
|
4272
|
-
? deserializeAws_json1_1VirtualInterfaceList(output.virtualInterfaces, context)
|
|
4273
|
-
: undefined,
|
|
4241
|
+
virtualInterfaces: output.virtualInterfaces != null ? de_VirtualInterfaceList(output.virtualInterfaces, context) : undefined,
|
|
4274
4242
|
};
|
|
4275
4243
|
};
|
|
4276
|
-
const
|
|
4244
|
+
const de_VirtualInterfaceTestHistory = (output, context) => {
|
|
4277
4245
|
return {
|
|
4278
|
-
bgpPeers: output.bgpPeers != null ?
|
|
4246
|
+
bgpPeers: output.bgpPeers != null ? de_BGPPeerIdList(output.bgpPeers, context) : undefined,
|
|
4279
4247
|
endTime: output.endTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.endTime))) : undefined,
|
|
4280
4248
|
ownerAccount: __expectString(output.ownerAccount),
|
|
4281
4249
|
startTime: output.startTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startTime))) : undefined,
|
|
@@ -4285,14 +4253,14 @@ const deserializeAws_json1_1VirtualInterfaceTestHistory = (output, context) => {
|
|
|
4285
4253
|
virtualInterfaceId: __expectString(output.virtualInterfaceId),
|
|
4286
4254
|
};
|
|
4287
4255
|
};
|
|
4288
|
-
const
|
|
4256
|
+
const de_VirtualInterfaceTestHistoryList = (output, context) => {
|
|
4289
4257
|
const retVal = (output || [])
|
|
4290
4258
|
.filter((e) => e != null)
|
|
4291
4259
|
.map((entry) => {
|
|
4292
4260
|
if (entry === null) {
|
|
4293
4261
|
return null;
|
|
4294
4262
|
}
|
|
4295
|
-
return
|
|
4263
|
+
return de_VirtualInterfaceTestHistory(entry, context);
|
|
4296
4264
|
});
|
|
4297
4265
|
return retVal;
|
|
4298
4266
|
};
|