@scaleway/sdk 2.58.0 → 2.60.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.
Files changed (98) hide show
  1. package/dist/api/applesilicon/v1alpha1/api.gen.cjs +117 -0
  2. package/dist/api/applesilicon/v1alpha1/api.gen.d.ts +54 -1
  3. package/dist/api/applesilicon/v1alpha1/api.gen.js +120 -3
  4. package/dist/api/applesilicon/v1alpha1/content.gen.cjs +4 -0
  5. package/dist/api/applesilicon/v1alpha1/content.gen.d.ts +5 -1
  6. package/dist/api/applesilicon/v1alpha1/content.gen.js +4 -0
  7. package/dist/api/applesilicon/v1alpha1/index.gen.cjs +3 -0
  8. package/dist/api/applesilicon/v1alpha1/index.gen.d.ts +2 -2
  9. package/dist/api/applesilicon/v1alpha1/index.gen.js +5 -2
  10. package/dist/api/applesilicon/v1alpha1/marshalling.gen.cjs +60 -0
  11. package/dist/api/applesilicon/v1alpha1/marshalling.gen.d.ts +6 -1
  12. package/dist/api/applesilicon/v1alpha1/marshalling.gen.js +60 -0
  13. package/dist/api/applesilicon/v1alpha1/types.gen.d.ts +100 -0
  14. package/dist/api/audit_trail/v1alpha1/index.gen.d.ts +1 -1
  15. package/dist/api/audit_trail/v1alpha1/marshalling.gen.cjs +12 -0
  16. package/dist/api/audit_trail/v1alpha1/marshalling.gen.js +12 -0
  17. package/dist/api/audit_trail/v1alpha1/types.gen.d.ts +9 -0
  18. package/dist/api/edge_services/v1alpha1/types.gen.d.ts +4 -4
  19. package/dist/api/iam/v1alpha1/api.gen.cjs +54 -0
  20. package/dist/api/iam/v1alpha1/api.gen.d.ts +26 -1
  21. package/dist/api/iam/v1alpha1/api.gen.js +55 -1
  22. package/dist/api/iam/v1alpha1/index.gen.d.ts +1 -1
  23. package/dist/api/iam/v1alpha1/marshalling.gen.cjs +23 -0
  24. package/dist/api/iam/v1alpha1/marshalling.gen.d.ts +4 -1
  25. package/dist/api/iam/v1alpha1/marshalling.gen.js +23 -0
  26. package/dist/api/iam/v1alpha1/types.gen.d.ts +29 -1
  27. package/dist/api/iam/v1alpha1/validation-rules.gen.cjs +8 -0
  28. package/dist/api/iam/v1alpha1/validation-rules.gen.d.ts +7 -0
  29. package/dist/api/iam/v1alpha1/validation-rules.gen.js +9 -1
  30. package/dist/api/index.gen.d.ts +2 -1
  31. package/dist/api/interlink/index.gen.cjs +4 -0
  32. package/dist/api/interlink/index.gen.d.ts +5 -0
  33. package/dist/api/interlink/index.gen.js +4 -0
  34. package/dist/api/interlink/v1beta1/api.gen.cjs +405 -0
  35. package/dist/api/interlink/v1beta1/api.gen.d.ts +208 -0
  36. package/dist/api/interlink/v1beta1/api.gen.js +405 -0
  37. package/dist/api/interlink/v1beta1/index.gen.cjs +6 -0
  38. package/dist/api/interlink/v1beta1/index.gen.d.ts +3 -0
  39. package/dist/api/interlink/v1beta1/index.gen.js +6 -0
  40. package/dist/api/interlink/v1beta1/marshalling.gen.cjs +180 -0
  41. package/dist/api/interlink/v1beta1/marshalling.gen.d.ts +16 -0
  42. package/dist/api/interlink/v1beta1/marshalling.gen.js +180 -0
  43. package/dist/api/interlink/v1beta1/types.gen.d.ts +455 -0
  44. package/dist/api/interlink/v1beta1/validation-rules.gen.cjs +107 -0
  45. package/dist/api/interlink/v1beta1/validation-rules.gen.d.ts +93 -0
  46. package/dist/api/interlink/v1beta1/validation-rules.gen.js +107 -0
  47. package/dist/api/ipam/v1/api.gen.cjs +1 -0
  48. package/dist/api/ipam/v1/api.gen.js +1 -0
  49. package/dist/api/ipam/v1/types.gen.d.ts +12 -10
  50. package/dist/api/k8s/v1/api.gen.cjs +22 -20
  51. package/dist/api/k8s/v1/api.gen.d.ts +22 -20
  52. package/dist/api/k8s/v1/api.gen.js +22 -20
  53. package/dist/api/k8s/v1/marshalling.gen.cjs +2 -5
  54. package/dist/api/k8s/v1/marshalling.gen.js +2 -5
  55. package/dist/api/k8s/v1/types.gen.d.ts +65 -49
  56. package/dist/api/lb/v1/types.gen.d.ts +6 -6
  57. package/dist/api/marketplace/v2/types.gen.d.ts +5 -2
  58. package/dist/api/mongodb/v1alpha1/api.gen.cjs +13 -1
  59. package/dist/api/mongodb/v1alpha1/api.gen.d.ts +8 -1
  60. package/dist/api/mongodb/v1alpha1/api.gen.js +13 -1
  61. package/dist/api/mongodb/v1alpha1/index.gen.d.ts +1 -1
  62. package/dist/api/mongodb/v1alpha1/types.gen.d.ts +11 -0
  63. package/dist/api/mongodb/v1alpha1/validation-rules.gen.cjs +8 -0
  64. package/dist/api/mongodb/v1alpha1/validation-rules.gen.d.ts +7 -0
  65. package/dist/api/mongodb/v1alpha1/validation-rules.gen.js +8 -0
  66. package/dist/api/secret/v1beta1/marshalling.gen.cjs +1 -0
  67. package/dist/api/secret/v1beta1/marshalling.gen.js +1 -0
  68. package/dist/api/secret/v1beta1/types.gen.d.ts +2 -0
  69. package/dist/api/vpcgw/index.gen.cjs +2 -0
  70. package/dist/api/vpcgw/index.gen.d.ts +1 -0
  71. package/dist/api/vpcgw/index.gen.js +3 -1
  72. package/dist/api/vpcgw/v2/api.gen.cjs +518 -0
  73. package/dist/api/vpcgw/v2/api.gen.d.ts +267 -0
  74. package/dist/api/vpcgw/v2/api.gen.js +518 -0
  75. package/dist/api/vpcgw/v2/content.gen.cjs +15 -0
  76. package/dist/api/vpcgw/v2/content.gen.d.ts +5 -0
  77. package/dist/api/vpcgw/v2/content.gen.js +15 -0
  78. package/dist/api/vpcgw/v2/index.gen.cjs +7 -0
  79. package/dist/api/vpcgw/v2/index.gen.d.ts +3 -0
  80. package/dist/api/vpcgw/v2/index.gen.js +7 -0
  81. package/dist/api/vpcgw/v2/marshalling.gen.cjs +259 -0
  82. package/dist/api/vpcgw/v2/marshalling.gen.d.ts +22 -0
  83. package/dist/api/vpcgw/v2/marshalling.gen.js +259 -0
  84. package/dist/api/vpcgw/v2/types.gen.d.ts +452 -0
  85. package/dist/api/webhosting/v1/api.gen.cjs +20 -0
  86. package/dist/api/webhosting/v1/api.gen.d.ts +8 -1
  87. package/dist/api/webhosting/v1/api.gen.js +21 -1
  88. package/dist/api/webhosting/v1/index.gen.d.ts +1 -1
  89. package/dist/api/webhosting/v1/marshalling.gen.cjs +30 -2
  90. package/dist/api/webhosting/v1/marshalling.gen.d.ts +2 -1
  91. package/dist/api/webhosting/v1/marshalling.gen.js +31 -3
  92. package/dist/api/webhosting/v1/types.gen.d.ts +50 -2
  93. package/dist/index.cjs +26 -24
  94. package/dist/index.js +26 -24
  95. package/dist/scw/constants.cjs +1 -1
  96. package/dist/scw/constants.d.ts +2 -2
  97. package/dist/scw/constants.js +1 -1
  98. package/package.json +2 -2
@@ -0,0 +1,180 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const json = require("../../../helpers/json.cjs");
4
+ const marshalling = require("../../../helpers/marshalling.cjs");
5
+ require("../../../vendor/base64/index.cjs");
6
+ const unmarshalLink = (data) => {
7
+ if (!json.isJSONObject(data)) {
8
+ throw new TypeError(
9
+ `Unmarshalling the type 'Link' failed as data isn't a dictionary.`
10
+ );
11
+ }
12
+ return {
13
+ bandwidthMbps: data.bandwidth_mbps,
14
+ bgpV4Status: data.bgp_v4_status,
15
+ bgpV6Status: data.bgp_v6_status,
16
+ createdAt: marshalling.unmarshalDate(data.created_at),
17
+ enableRoutePropagation: data.enable_route_propagation,
18
+ id: data.id,
19
+ name: data.name,
20
+ organizationId: data.organization_id,
21
+ pairingKey: data.pairing_key,
22
+ partnerId: data.partner_id,
23
+ popId: data.pop_id,
24
+ projectId: data.project_id,
25
+ region: data.region,
26
+ routingPolicyId: data.routing_policy_id,
27
+ status: data.status,
28
+ tags: data.tags,
29
+ updatedAt: marshalling.unmarshalDate(data.updated_at),
30
+ vpcId: data.vpc_id
31
+ };
32
+ };
33
+ const unmarshalPartner = (data) => {
34
+ if (!json.isJSONObject(data)) {
35
+ throw new TypeError(
36
+ `Unmarshalling the type 'Partner' failed as data isn't a dictionary.`
37
+ );
38
+ }
39
+ return {
40
+ contactEmail: data.contact_email,
41
+ createdAt: marshalling.unmarshalDate(data.created_at),
42
+ id: data.id,
43
+ logoUrl: data.logo_url,
44
+ name: data.name,
45
+ portalUrl: data.portal_url,
46
+ updatedAt: marshalling.unmarshalDate(data.updated_at)
47
+ };
48
+ };
49
+ const unmarshalPop = (data) => {
50
+ if (!json.isJSONObject(data)) {
51
+ throw new TypeError(
52
+ `Unmarshalling the type 'Pop' failed as data isn't a dictionary.`
53
+ );
54
+ }
55
+ return {
56
+ address: data.address,
57
+ availableLinkBandwidthsMbps: data.available_link_bandwidths_mbps,
58
+ city: data.city,
59
+ hostingProviderName: data.hosting_provider_name,
60
+ id: data.id,
61
+ logoUrl: data.logo_url,
62
+ name: data.name,
63
+ region: data.region
64
+ };
65
+ };
66
+ const unmarshalRoutingPolicy = (data) => {
67
+ if (!json.isJSONObject(data)) {
68
+ throw new TypeError(
69
+ `Unmarshalling the type 'RoutingPolicy' failed as data isn't a dictionary.`
70
+ );
71
+ }
72
+ return {
73
+ createdAt: marshalling.unmarshalDate(data.created_at),
74
+ id: data.id,
75
+ name: data.name,
76
+ organizationId: data.organization_id,
77
+ prefixFilterIn: data.prefix_filter_in,
78
+ prefixFilterOut: data.prefix_filter_out,
79
+ projectId: data.project_id,
80
+ region: data.region,
81
+ tags: data.tags,
82
+ updatedAt: marshalling.unmarshalDate(data.updated_at)
83
+ };
84
+ };
85
+ const unmarshalListLinksResponse = (data) => {
86
+ if (!json.isJSONObject(data)) {
87
+ throw new TypeError(
88
+ `Unmarshalling the type 'ListLinksResponse' failed as data isn't a dictionary.`
89
+ );
90
+ }
91
+ return {
92
+ links: marshalling.unmarshalArrayOfObject(data.links, unmarshalLink),
93
+ totalCount: data.total_count
94
+ };
95
+ };
96
+ const unmarshalListPartnersResponse = (data) => {
97
+ if (!json.isJSONObject(data)) {
98
+ throw new TypeError(
99
+ `Unmarshalling the type 'ListPartnersResponse' failed as data isn't a dictionary.`
100
+ );
101
+ }
102
+ return {
103
+ partners: marshalling.unmarshalArrayOfObject(data.partners, unmarshalPartner),
104
+ totalCount: data.total_count
105
+ };
106
+ };
107
+ const unmarshalListPopsResponse = (data) => {
108
+ if (!json.isJSONObject(data)) {
109
+ throw new TypeError(
110
+ `Unmarshalling the type 'ListPopsResponse' failed as data isn't a dictionary.`
111
+ );
112
+ }
113
+ return {
114
+ pops: marshalling.unmarshalArrayOfObject(data.pops, unmarshalPop),
115
+ totalCount: data.total_count
116
+ };
117
+ };
118
+ const unmarshalListRoutingPoliciesResponse = (data) => {
119
+ if (!json.isJSONObject(data)) {
120
+ throw new TypeError(
121
+ `Unmarshalling the type 'ListRoutingPoliciesResponse' failed as data isn't a dictionary.`
122
+ );
123
+ }
124
+ return {
125
+ routingPolicies: marshalling.unmarshalArrayOfObject(
126
+ data.routing_policies,
127
+ unmarshalRoutingPolicy
128
+ ),
129
+ totalCount: data.total_count
130
+ };
131
+ };
132
+ const marshalAttachRoutingPolicyRequest = (request, defaults) => ({
133
+ routing_policy_id: request.routingPolicyId
134
+ });
135
+ const marshalAttachVpcRequest = (request, defaults) => ({
136
+ vpc_id: request.vpcId
137
+ });
138
+ const marshalCreateLinkRequest = (request, defaults) => ({
139
+ bandwidth_mbps: request.bandwidthMbps,
140
+ name: request.name,
141
+ pop_id: request.popId,
142
+ project_id: request.projectId ?? defaults.defaultProjectId,
143
+ tags: request.tags,
144
+ ...marshalling.resolveOneOf([
145
+ { param: "dedicated", value: request.dedicated },
146
+ { param: "port_id", value: request.portId },
147
+ { param: "partner_id", value: request.partnerId }
148
+ ])
149
+ });
150
+ const marshalCreateRoutingPolicyRequest = (request, defaults) => ({
151
+ name: request.name,
152
+ prefix_filter_in: request.prefixFilterIn,
153
+ prefix_filter_out: request.prefixFilterOut,
154
+ project_id: request.projectId ?? defaults.defaultProjectId,
155
+ tags: request.tags
156
+ });
157
+ const marshalUpdateLinkRequest = (request, defaults) => ({
158
+ name: request.name,
159
+ tags: request.tags
160
+ });
161
+ const marshalUpdateRoutingPolicyRequest = (request, defaults) => ({
162
+ name: request.name,
163
+ prefix_filter_in: request.prefixFilterIn,
164
+ prefix_filter_out: request.prefixFilterOut,
165
+ tags: request.tags
166
+ });
167
+ exports.marshalAttachRoutingPolicyRequest = marshalAttachRoutingPolicyRequest;
168
+ exports.marshalAttachVpcRequest = marshalAttachVpcRequest;
169
+ exports.marshalCreateLinkRequest = marshalCreateLinkRequest;
170
+ exports.marshalCreateRoutingPolicyRequest = marshalCreateRoutingPolicyRequest;
171
+ exports.marshalUpdateLinkRequest = marshalUpdateLinkRequest;
172
+ exports.marshalUpdateRoutingPolicyRequest = marshalUpdateRoutingPolicyRequest;
173
+ exports.unmarshalLink = unmarshalLink;
174
+ exports.unmarshalListLinksResponse = unmarshalListLinksResponse;
175
+ exports.unmarshalListPartnersResponse = unmarshalListPartnersResponse;
176
+ exports.unmarshalListPopsResponse = unmarshalListPopsResponse;
177
+ exports.unmarshalListRoutingPoliciesResponse = unmarshalListRoutingPoliciesResponse;
178
+ exports.unmarshalPartner = unmarshalPartner;
179
+ exports.unmarshalPop = unmarshalPop;
180
+ exports.unmarshalRoutingPolicy = unmarshalRoutingPolicy;
@@ -0,0 +1,16 @@
1
+ import type { DefaultValues } from '../../../bridge';
2
+ import type { AttachRoutingPolicyRequest, AttachVpcRequest, CreateLinkRequest, CreateRoutingPolicyRequest, Link, ListLinksResponse, ListPartnersResponse, ListPopsResponse, ListRoutingPoliciesResponse, Partner, Pop, RoutingPolicy, UpdateLinkRequest, UpdateRoutingPolicyRequest } from './types.gen';
3
+ export declare const unmarshalLink: (data: unknown) => Link;
4
+ export declare const unmarshalPartner: (data: unknown) => Partner;
5
+ export declare const unmarshalPop: (data: unknown) => Pop;
6
+ export declare const unmarshalRoutingPolicy: (data: unknown) => RoutingPolicy;
7
+ export declare const unmarshalListLinksResponse: (data: unknown) => ListLinksResponse;
8
+ export declare const unmarshalListPartnersResponse: (data: unknown) => ListPartnersResponse;
9
+ export declare const unmarshalListPopsResponse: (data: unknown) => ListPopsResponse;
10
+ export declare const unmarshalListRoutingPoliciesResponse: (data: unknown) => ListRoutingPoliciesResponse;
11
+ export declare const marshalAttachRoutingPolicyRequest: (request: AttachRoutingPolicyRequest, defaults: DefaultValues) => Record<string, unknown>;
12
+ export declare const marshalAttachVpcRequest: (request: AttachVpcRequest, defaults: DefaultValues) => Record<string, unknown>;
13
+ export declare const marshalCreateLinkRequest: (request: CreateLinkRequest, defaults: DefaultValues) => Record<string, unknown>;
14
+ export declare const marshalCreateRoutingPolicyRequest: (request: CreateRoutingPolicyRequest, defaults: DefaultValues) => Record<string, unknown>;
15
+ export declare const marshalUpdateLinkRequest: (request: UpdateLinkRequest, defaults: DefaultValues) => Record<string, unknown>;
16
+ export declare const marshalUpdateRoutingPolicyRequest: (request: UpdateRoutingPolicyRequest, defaults: DefaultValues) => Record<string, unknown>;
@@ -0,0 +1,180 @@
1
+ import { isJSONObject } from "../../../helpers/json.js";
2
+ import { unmarshalDate, unmarshalArrayOfObject, resolveOneOf } from "../../../helpers/marshalling.js";
3
+ import "../../../vendor/base64/index.js";
4
+ const unmarshalLink = (data) => {
5
+ if (!isJSONObject(data)) {
6
+ throw new TypeError(
7
+ `Unmarshalling the type 'Link' failed as data isn't a dictionary.`
8
+ );
9
+ }
10
+ return {
11
+ bandwidthMbps: data.bandwidth_mbps,
12
+ bgpV4Status: data.bgp_v4_status,
13
+ bgpV6Status: data.bgp_v6_status,
14
+ createdAt: unmarshalDate(data.created_at),
15
+ enableRoutePropagation: data.enable_route_propagation,
16
+ id: data.id,
17
+ name: data.name,
18
+ organizationId: data.organization_id,
19
+ pairingKey: data.pairing_key,
20
+ partnerId: data.partner_id,
21
+ popId: data.pop_id,
22
+ projectId: data.project_id,
23
+ region: data.region,
24
+ routingPolicyId: data.routing_policy_id,
25
+ status: data.status,
26
+ tags: data.tags,
27
+ updatedAt: unmarshalDate(data.updated_at),
28
+ vpcId: data.vpc_id
29
+ };
30
+ };
31
+ const unmarshalPartner = (data) => {
32
+ if (!isJSONObject(data)) {
33
+ throw new TypeError(
34
+ `Unmarshalling the type 'Partner' failed as data isn't a dictionary.`
35
+ );
36
+ }
37
+ return {
38
+ contactEmail: data.contact_email,
39
+ createdAt: unmarshalDate(data.created_at),
40
+ id: data.id,
41
+ logoUrl: data.logo_url,
42
+ name: data.name,
43
+ portalUrl: data.portal_url,
44
+ updatedAt: unmarshalDate(data.updated_at)
45
+ };
46
+ };
47
+ const unmarshalPop = (data) => {
48
+ if (!isJSONObject(data)) {
49
+ throw new TypeError(
50
+ `Unmarshalling the type 'Pop' failed as data isn't a dictionary.`
51
+ );
52
+ }
53
+ return {
54
+ address: data.address,
55
+ availableLinkBandwidthsMbps: data.available_link_bandwidths_mbps,
56
+ city: data.city,
57
+ hostingProviderName: data.hosting_provider_name,
58
+ id: data.id,
59
+ logoUrl: data.logo_url,
60
+ name: data.name,
61
+ region: data.region
62
+ };
63
+ };
64
+ const unmarshalRoutingPolicy = (data) => {
65
+ if (!isJSONObject(data)) {
66
+ throw new TypeError(
67
+ `Unmarshalling the type 'RoutingPolicy' failed as data isn't a dictionary.`
68
+ );
69
+ }
70
+ return {
71
+ createdAt: unmarshalDate(data.created_at),
72
+ id: data.id,
73
+ name: data.name,
74
+ organizationId: data.organization_id,
75
+ prefixFilterIn: data.prefix_filter_in,
76
+ prefixFilterOut: data.prefix_filter_out,
77
+ projectId: data.project_id,
78
+ region: data.region,
79
+ tags: data.tags,
80
+ updatedAt: unmarshalDate(data.updated_at)
81
+ };
82
+ };
83
+ const unmarshalListLinksResponse = (data) => {
84
+ if (!isJSONObject(data)) {
85
+ throw new TypeError(
86
+ `Unmarshalling the type 'ListLinksResponse' failed as data isn't a dictionary.`
87
+ );
88
+ }
89
+ return {
90
+ links: unmarshalArrayOfObject(data.links, unmarshalLink),
91
+ totalCount: data.total_count
92
+ };
93
+ };
94
+ const unmarshalListPartnersResponse = (data) => {
95
+ if (!isJSONObject(data)) {
96
+ throw new TypeError(
97
+ `Unmarshalling the type 'ListPartnersResponse' failed as data isn't a dictionary.`
98
+ );
99
+ }
100
+ return {
101
+ partners: unmarshalArrayOfObject(data.partners, unmarshalPartner),
102
+ totalCount: data.total_count
103
+ };
104
+ };
105
+ const unmarshalListPopsResponse = (data) => {
106
+ if (!isJSONObject(data)) {
107
+ throw new TypeError(
108
+ `Unmarshalling the type 'ListPopsResponse' failed as data isn't a dictionary.`
109
+ );
110
+ }
111
+ return {
112
+ pops: unmarshalArrayOfObject(data.pops, unmarshalPop),
113
+ totalCount: data.total_count
114
+ };
115
+ };
116
+ const unmarshalListRoutingPoliciesResponse = (data) => {
117
+ if (!isJSONObject(data)) {
118
+ throw new TypeError(
119
+ `Unmarshalling the type 'ListRoutingPoliciesResponse' failed as data isn't a dictionary.`
120
+ );
121
+ }
122
+ return {
123
+ routingPolicies: unmarshalArrayOfObject(
124
+ data.routing_policies,
125
+ unmarshalRoutingPolicy
126
+ ),
127
+ totalCount: data.total_count
128
+ };
129
+ };
130
+ const marshalAttachRoutingPolicyRequest = (request, defaults) => ({
131
+ routing_policy_id: request.routingPolicyId
132
+ });
133
+ const marshalAttachVpcRequest = (request, defaults) => ({
134
+ vpc_id: request.vpcId
135
+ });
136
+ const marshalCreateLinkRequest = (request, defaults) => ({
137
+ bandwidth_mbps: request.bandwidthMbps,
138
+ name: request.name,
139
+ pop_id: request.popId,
140
+ project_id: request.projectId ?? defaults.defaultProjectId,
141
+ tags: request.tags,
142
+ ...resolveOneOf([
143
+ { param: "dedicated", value: request.dedicated },
144
+ { param: "port_id", value: request.portId },
145
+ { param: "partner_id", value: request.partnerId }
146
+ ])
147
+ });
148
+ const marshalCreateRoutingPolicyRequest = (request, defaults) => ({
149
+ name: request.name,
150
+ prefix_filter_in: request.prefixFilterIn,
151
+ prefix_filter_out: request.prefixFilterOut,
152
+ project_id: request.projectId ?? defaults.defaultProjectId,
153
+ tags: request.tags
154
+ });
155
+ const marshalUpdateLinkRequest = (request, defaults) => ({
156
+ name: request.name,
157
+ tags: request.tags
158
+ });
159
+ const marshalUpdateRoutingPolicyRequest = (request, defaults) => ({
160
+ name: request.name,
161
+ prefix_filter_in: request.prefixFilterIn,
162
+ prefix_filter_out: request.prefixFilterOut,
163
+ tags: request.tags
164
+ });
165
+ export {
166
+ marshalAttachRoutingPolicyRequest,
167
+ marshalAttachVpcRequest,
168
+ marshalCreateLinkRequest,
169
+ marshalCreateRoutingPolicyRequest,
170
+ marshalUpdateLinkRequest,
171
+ marshalUpdateRoutingPolicyRequest,
172
+ unmarshalLink,
173
+ unmarshalListLinksResponse,
174
+ unmarshalListPartnersResponse,
175
+ unmarshalListPopsResponse,
176
+ unmarshalListRoutingPoliciesResponse,
177
+ unmarshalPartner,
178
+ unmarshalPop,
179
+ unmarshalRoutingPolicy
180
+ };