@aws-sdk/client-vpc-lattice 3.511.0 → 3.513.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/auth/httpAuthExtensionConfiguration.js +1 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/index.js +145 -87
- package/dist-cjs/runtimeConfig.shared.js +10 -0
- package/dist-es/VPCLatticeClient.js +17 -4
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/runtimeConfig.shared.js +10 -0
- package/dist-es/runtimeExtensions.js +3 -0
- package/dist-types/VPCLatticeClient.d.ts +13 -11
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
- package/dist-types/extensionConfiguration.d.ts +2 -1
- package/dist-types/runtimeConfig.browser.d.ts +6 -6
- package/dist-types/runtimeConfig.d.ts +4 -2
- package/dist-types/runtimeConfig.native.d.ts +6 -4
- package/dist-types/runtimeConfig.shared.d.ts +2 -0
- package/dist-types/ts3.4/VPCLatticeClient.d.ts +11 -9
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +3 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -5
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -4
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -8
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -0
- package/package.json +7 -7
package/dist-cjs/index.js
CHANGED
|
@@ -120,13 +120,14 @@ module.exports = __toCommonJS(src_exports);
|
|
|
120
120
|
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
121
121
|
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
122
122
|
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
123
|
-
var import_middleware_signing = require("@aws-sdk/middleware-signing");
|
|
124
123
|
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
125
124
|
var import_config_resolver = require("@smithy/config-resolver");
|
|
125
|
+
var import_core = require("@smithy/core");
|
|
126
126
|
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
127
127
|
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
128
128
|
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
129
129
|
|
|
130
|
+
var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
|
|
130
131
|
|
|
131
132
|
// src/endpoint/EndpointParameters.ts
|
|
132
133
|
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
@@ -151,19 +152,62 @@ var import_runtimeConfig = require("././runtimeConfig");
|
|
|
151
152
|
var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
|
|
152
153
|
var import_protocol_http = require("@smithy/protocol-http");
|
|
153
154
|
var import_smithy_client = require("@smithy/smithy-client");
|
|
155
|
+
|
|
156
|
+
// src/auth/httpAuthExtensionConfiguration.ts
|
|
157
|
+
var getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
|
|
158
|
+
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
159
|
+
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
160
|
+
let _credentials = runtimeConfig.credentials;
|
|
161
|
+
return {
|
|
162
|
+
setHttpAuthScheme(httpAuthScheme) {
|
|
163
|
+
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
164
|
+
if (index === -1) {
|
|
165
|
+
_httpAuthSchemes.push(httpAuthScheme);
|
|
166
|
+
} else {
|
|
167
|
+
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
httpAuthSchemes() {
|
|
171
|
+
return _httpAuthSchemes;
|
|
172
|
+
},
|
|
173
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
174
|
+
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
175
|
+
},
|
|
176
|
+
httpAuthSchemeProvider() {
|
|
177
|
+
return _httpAuthSchemeProvider;
|
|
178
|
+
},
|
|
179
|
+
setCredentials(credentials) {
|
|
180
|
+
_credentials = credentials;
|
|
181
|
+
},
|
|
182
|
+
credentials() {
|
|
183
|
+
return _credentials;
|
|
184
|
+
}
|
|
185
|
+
};
|
|
186
|
+
}, "getHttpAuthExtensionConfiguration");
|
|
187
|
+
var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
|
|
188
|
+
return {
|
|
189
|
+
httpAuthSchemes: config.httpAuthSchemes(),
|
|
190
|
+
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
191
|
+
credentials: config.credentials()
|
|
192
|
+
};
|
|
193
|
+
}, "resolveHttpAuthRuntimeConfig");
|
|
194
|
+
|
|
195
|
+
// src/runtimeExtensions.ts
|
|
154
196
|
var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
|
|
155
197
|
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
156
198
|
const extensionConfiguration = {
|
|
157
199
|
...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
|
|
158
200
|
...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
|
|
159
|
-
...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig))
|
|
201
|
+
...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
|
|
202
|
+
...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig))
|
|
160
203
|
};
|
|
161
204
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
162
205
|
return {
|
|
163
206
|
...runtimeConfig,
|
|
164
207
|
...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
165
208
|
...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
166
|
-
...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration)
|
|
209
|
+
...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
210
|
+
...resolveHttpAuthRuntimeConfig(extensionConfiguration)
|
|
167
211
|
};
|
|
168
212
|
}, "resolveRuntimeExtensions");
|
|
169
213
|
|
|
@@ -176,8 +220,8 @@ var _VPCLatticeClient = class _VPCLatticeClient extends import_smithy_client.Cli
|
|
|
176
220
|
const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
|
|
177
221
|
const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3);
|
|
178
222
|
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
179
|
-
const _config_6 = (0,
|
|
180
|
-
const _config_7 = (0,
|
|
223
|
+
const _config_6 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_5);
|
|
224
|
+
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
181
225
|
const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
|
|
182
226
|
super(_config_8);
|
|
183
227
|
this.config = _config_8;
|
|
@@ -186,8 +230,14 @@ var _VPCLatticeClient = class _VPCLatticeClient extends import_smithy_client.Cli
|
|
|
186
230
|
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
187
231
|
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
188
232
|
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
189
|
-
this.middlewareStack.use((0, import_middleware_signing.getAwsAuthPlugin)(this.config));
|
|
190
233
|
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
234
|
+
this.middlewareStack.use(
|
|
235
|
+
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
236
|
+
httpAuthSchemeParametersProvider: this.getDefaultHttpAuthSchemeParametersProvider(),
|
|
237
|
+
identityProviderConfigProvider: this.getIdentityProviderConfigProvider()
|
|
238
|
+
})
|
|
239
|
+
);
|
|
240
|
+
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
191
241
|
}
|
|
192
242
|
/**
|
|
193
243
|
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
@@ -197,6 +247,14 @@ var _VPCLatticeClient = class _VPCLatticeClient extends import_smithy_client.Cli
|
|
|
197
247
|
destroy() {
|
|
198
248
|
super.destroy();
|
|
199
249
|
}
|
|
250
|
+
getDefaultHttpAuthSchemeParametersProvider() {
|
|
251
|
+
return import_httpAuthSchemeProvider.defaultVPCLatticeHttpAuthSchemeParametersProvider;
|
|
252
|
+
}
|
|
253
|
+
getIdentityProviderConfigProvider() {
|
|
254
|
+
return async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
255
|
+
"aws.auth#sigv4": config.credentials
|
|
256
|
+
});
|
|
257
|
+
}
|
|
200
258
|
};
|
|
201
259
|
__name(_VPCLatticeClient, "VPCLatticeClient");
|
|
202
260
|
var VPCLatticeClient = _VPCLatticeClient;
|
|
@@ -211,8 +269,8 @@ var import_middleware_serde = require("@smithy/middleware-serde");
|
|
|
211
269
|
var import_types = require("@smithy/types");
|
|
212
270
|
|
|
213
271
|
// src/protocols/Aws_restJson1.ts
|
|
214
|
-
var
|
|
215
|
-
|
|
272
|
+
var import_core2 = require("@aws-sdk/core");
|
|
273
|
+
|
|
216
274
|
|
|
217
275
|
var import_uuid = require("uuid");
|
|
218
276
|
|
|
@@ -637,7 +695,7 @@ var TargetStatus = {
|
|
|
637
695
|
|
|
638
696
|
// src/protocols/Aws_restJson1.ts
|
|
639
697
|
var se_BatchUpdateRuleCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
640
|
-
const b = (0,
|
|
698
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
641
699
|
const headers = {
|
|
642
700
|
"content-type": "application/json"
|
|
643
701
|
};
|
|
@@ -654,7 +712,7 @@ var se_BatchUpdateRuleCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
654
712
|
return b.build();
|
|
655
713
|
}, "se_BatchUpdateRuleCommand");
|
|
656
714
|
var se_CreateAccessLogSubscriptionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
657
|
-
const b = (0,
|
|
715
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
658
716
|
const headers = {
|
|
659
717
|
"content-type": "application/json"
|
|
660
718
|
};
|
|
@@ -672,7 +730,7 @@ var se_CreateAccessLogSubscriptionCommand = /* @__PURE__ */ __name(async (input,
|
|
|
672
730
|
return b.build();
|
|
673
731
|
}, "se_CreateAccessLogSubscriptionCommand");
|
|
674
732
|
var se_CreateListenerCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
675
|
-
const b = (0,
|
|
733
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
676
734
|
const headers = {
|
|
677
735
|
"content-type": "application/json"
|
|
678
736
|
};
|
|
@@ -693,7 +751,7 @@ var se_CreateListenerCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
693
751
|
return b.build();
|
|
694
752
|
}, "se_CreateListenerCommand");
|
|
695
753
|
var se_CreateRuleCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
696
|
-
const b = (0,
|
|
754
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
697
755
|
const headers = {
|
|
698
756
|
"content-type": "application/json"
|
|
699
757
|
};
|
|
@@ -715,7 +773,7 @@ var se_CreateRuleCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
715
773
|
return b.build();
|
|
716
774
|
}, "se_CreateRuleCommand");
|
|
717
775
|
var se_CreateServiceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
718
|
-
const b = (0,
|
|
776
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
719
777
|
const headers = {
|
|
720
778
|
"content-type": "application/json"
|
|
721
779
|
};
|
|
@@ -735,7 +793,7 @@ var se_CreateServiceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
735
793
|
return b.build();
|
|
736
794
|
}, "se_CreateServiceCommand");
|
|
737
795
|
var se_CreateServiceNetworkCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
738
|
-
const b = (0,
|
|
796
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
739
797
|
const headers = {
|
|
740
798
|
"content-type": "application/json"
|
|
741
799
|
};
|
|
@@ -753,7 +811,7 @@ var se_CreateServiceNetworkCommand = /* @__PURE__ */ __name(async (input, contex
|
|
|
753
811
|
return b.build();
|
|
754
812
|
}, "se_CreateServiceNetworkCommand");
|
|
755
813
|
var se_CreateServiceNetworkServiceAssociationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
756
|
-
const b = (0,
|
|
814
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
757
815
|
const headers = {
|
|
758
816
|
"content-type": "application/json"
|
|
759
817
|
};
|
|
@@ -771,7 +829,7 @@ var se_CreateServiceNetworkServiceAssociationCommand = /* @__PURE__ */ __name(as
|
|
|
771
829
|
return b.build();
|
|
772
830
|
}, "se_CreateServiceNetworkServiceAssociationCommand");
|
|
773
831
|
var se_CreateServiceNetworkVpcAssociationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
774
|
-
const b = (0,
|
|
832
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
775
833
|
const headers = {
|
|
776
834
|
"content-type": "application/json"
|
|
777
835
|
};
|
|
@@ -790,7 +848,7 @@ var se_CreateServiceNetworkVpcAssociationCommand = /* @__PURE__ */ __name(async
|
|
|
790
848
|
return b.build();
|
|
791
849
|
}, "se_CreateServiceNetworkVpcAssociationCommand");
|
|
792
850
|
var se_CreateTargetGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
793
|
-
const b = (0,
|
|
851
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
794
852
|
const headers = {
|
|
795
853
|
"content-type": "application/json"
|
|
796
854
|
};
|
|
@@ -809,7 +867,7 @@ var se_CreateTargetGroupCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
809
867
|
return b.build();
|
|
810
868
|
}, "se_CreateTargetGroupCommand");
|
|
811
869
|
var se_DeleteAccessLogSubscriptionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
812
|
-
const b = (0,
|
|
870
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
813
871
|
const headers = {};
|
|
814
872
|
b.bp("/accesslogsubscriptions/{accessLogSubscriptionIdentifier}");
|
|
815
873
|
b.p(
|
|
@@ -823,7 +881,7 @@ var se_DeleteAccessLogSubscriptionCommand = /* @__PURE__ */ __name(async (input,
|
|
|
823
881
|
return b.build();
|
|
824
882
|
}, "se_DeleteAccessLogSubscriptionCommand");
|
|
825
883
|
var se_DeleteAuthPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
826
|
-
const b = (0,
|
|
884
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
827
885
|
const headers = {};
|
|
828
886
|
b.bp("/authpolicy/{resourceIdentifier}");
|
|
829
887
|
b.p("resourceIdentifier", () => input.resourceIdentifier, "{resourceIdentifier}", false);
|
|
@@ -832,7 +890,7 @@ var se_DeleteAuthPolicyCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
832
890
|
return b.build();
|
|
833
891
|
}, "se_DeleteAuthPolicyCommand");
|
|
834
892
|
var se_DeleteListenerCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
835
|
-
const b = (0,
|
|
893
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
836
894
|
const headers = {};
|
|
837
895
|
b.bp("/services/{serviceIdentifier}/listeners/{listenerIdentifier}");
|
|
838
896
|
b.p("serviceIdentifier", () => input.serviceIdentifier, "{serviceIdentifier}", false);
|
|
@@ -842,7 +900,7 @@ var se_DeleteListenerCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
842
900
|
return b.build();
|
|
843
901
|
}, "se_DeleteListenerCommand");
|
|
844
902
|
var se_DeleteResourcePolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
845
|
-
const b = (0,
|
|
903
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
846
904
|
const headers = {};
|
|
847
905
|
b.bp("/resourcepolicy/{resourceArn}");
|
|
848
906
|
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
@@ -851,7 +909,7 @@ var se_DeleteResourcePolicyCommand = /* @__PURE__ */ __name(async (input, contex
|
|
|
851
909
|
return b.build();
|
|
852
910
|
}, "se_DeleteResourcePolicyCommand");
|
|
853
911
|
var se_DeleteRuleCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
854
|
-
const b = (0,
|
|
912
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
855
913
|
const headers = {};
|
|
856
914
|
b.bp("/services/{serviceIdentifier}/listeners/{listenerIdentifier}/rules/{ruleIdentifier}");
|
|
857
915
|
b.p("serviceIdentifier", () => input.serviceIdentifier, "{serviceIdentifier}", false);
|
|
@@ -862,7 +920,7 @@ var se_DeleteRuleCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
862
920
|
return b.build();
|
|
863
921
|
}, "se_DeleteRuleCommand");
|
|
864
922
|
var se_DeleteServiceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
865
|
-
const b = (0,
|
|
923
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
866
924
|
const headers = {};
|
|
867
925
|
b.bp("/services/{serviceIdentifier}");
|
|
868
926
|
b.p("serviceIdentifier", () => input.serviceIdentifier, "{serviceIdentifier}", false);
|
|
@@ -871,7 +929,7 @@ var se_DeleteServiceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
871
929
|
return b.build();
|
|
872
930
|
}, "se_DeleteServiceCommand");
|
|
873
931
|
var se_DeleteServiceNetworkCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
874
|
-
const b = (0,
|
|
932
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
875
933
|
const headers = {};
|
|
876
934
|
b.bp("/servicenetworks/{serviceNetworkIdentifier}");
|
|
877
935
|
b.p("serviceNetworkIdentifier", () => input.serviceNetworkIdentifier, "{serviceNetworkIdentifier}", false);
|
|
@@ -880,7 +938,7 @@ var se_DeleteServiceNetworkCommand = /* @__PURE__ */ __name(async (input, contex
|
|
|
880
938
|
return b.build();
|
|
881
939
|
}, "se_DeleteServiceNetworkCommand");
|
|
882
940
|
var se_DeleteServiceNetworkServiceAssociationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
883
|
-
const b = (0,
|
|
941
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
884
942
|
const headers = {};
|
|
885
943
|
b.bp("/servicenetworkserviceassociations/{serviceNetworkServiceAssociationIdentifier}");
|
|
886
944
|
b.p(
|
|
@@ -894,7 +952,7 @@ var se_DeleteServiceNetworkServiceAssociationCommand = /* @__PURE__ */ __name(as
|
|
|
894
952
|
return b.build();
|
|
895
953
|
}, "se_DeleteServiceNetworkServiceAssociationCommand");
|
|
896
954
|
var se_DeleteServiceNetworkVpcAssociationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
897
|
-
const b = (0,
|
|
955
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
898
956
|
const headers = {};
|
|
899
957
|
b.bp("/servicenetworkvpcassociations/{serviceNetworkVpcAssociationIdentifier}");
|
|
900
958
|
b.p(
|
|
@@ -908,7 +966,7 @@ var se_DeleteServiceNetworkVpcAssociationCommand = /* @__PURE__ */ __name(async
|
|
|
908
966
|
return b.build();
|
|
909
967
|
}, "se_DeleteServiceNetworkVpcAssociationCommand");
|
|
910
968
|
var se_DeleteTargetGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
911
|
-
const b = (0,
|
|
969
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
912
970
|
const headers = {};
|
|
913
971
|
b.bp("/targetgroups/{targetGroupIdentifier}");
|
|
914
972
|
b.p("targetGroupIdentifier", () => input.targetGroupIdentifier, "{targetGroupIdentifier}", false);
|
|
@@ -917,7 +975,7 @@ var se_DeleteTargetGroupCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
917
975
|
return b.build();
|
|
918
976
|
}, "se_DeleteTargetGroupCommand");
|
|
919
977
|
var se_DeregisterTargetsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
920
|
-
const b = (0,
|
|
978
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
921
979
|
const headers = {
|
|
922
980
|
"content-type": "application/json"
|
|
923
981
|
};
|
|
@@ -933,7 +991,7 @@ var se_DeregisterTargetsCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
933
991
|
return b.build();
|
|
934
992
|
}, "se_DeregisterTargetsCommand");
|
|
935
993
|
var se_GetAccessLogSubscriptionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
936
|
-
const b = (0,
|
|
994
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
937
995
|
const headers = {};
|
|
938
996
|
b.bp("/accesslogsubscriptions/{accessLogSubscriptionIdentifier}");
|
|
939
997
|
b.p(
|
|
@@ -947,7 +1005,7 @@ var se_GetAccessLogSubscriptionCommand = /* @__PURE__ */ __name(async (input, co
|
|
|
947
1005
|
return b.build();
|
|
948
1006
|
}, "se_GetAccessLogSubscriptionCommand");
|
|
949
1007
|
var se_GetAuthPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
950
|
-
const b = (0,
|
|
1008
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
951
1009
|
const headers = {};
|
|
952
1010
|
b.bp("/authpolicy/{resourceIdentifier}");
|
|
953
1011
|
b.p("resourceIdentifier", () => input.resourceIdentifier, "{resourceIdentifier}", false);
|
|
@@ -956,7 +1014,7 @@ var se_GetAuthPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
956
1014
|
return b.build();
|
|
957
1015
|
}, "se_GetAuthPolicyCommand");
|
|
958
1016
|
var se_GetListenerCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
959
|
-
const b = (0,
|
|
1017
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
960
1018
|
const headers = {};
|
|
961
1019
|
b.bp("/services/{serviceIdentifier}/listeners/{listenerIdentifier}");
|
|
962
1020
|
b.p("serviceIdentifier", () => input.serviceIdentifier, "{serviceIdentifier}", false);
|
|
@@ -966,7 +1024,7 @@ var se_GetListenerCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
966
1024
|
return b.build();
|
|
967
1025
|
}, "se_GetListenerCommand");
|
|
968
1026
|
var se_GetResourcePolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
969
|
-
const b = (0,
|
|
1027
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
970
1028
|
const headers = {};
|
|
971
1029
|
b.bp("/resourcepolicy/{resourceArn}");
|
|
972
1030
|
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
@@ -975,7 +1033,7 @@ var se_GetResourcePolicyCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
975
1033
|
return b.build();
|
|
976
1034
|
}, "se_GetResourcePolicyCommand");
|
|
977
1035
|
var se_GetRuleCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
978
|
-
const b = (0,
|
|
1036
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
979
1037
|
const headers = {};
|
|
980
1038
|
b.bp("/services/{serviceIdentifier}/listeners/{listenerIdentifier}/rules/{ruleIdentifier}");
|
|
981
1039
|
b.p("serviceIdentifier", () => input.serviceIdentifier, "{serviceIdentifier}", false);
|
|
@@ -986,7 +1044,7 @@ var se_GetRuleCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
986
1044
|
return b.build();
|
|
987
1045
|
}, "se_GetRuleCommand");
|
|
988
1046
|
var se_GetServiceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
989
|
-
const b = (0,
|
|
1047
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
990
1048
|
const headers = {};
|
|
991
1049
|
b.bp("/services/{serviceIdentifier}");
|
|
992
1050
|
b.p("serviceIdentifier", () => input.serviceIdentifier, "{serviceIdentifier}", false);
|
|
@@ -995,7 +1053,7 @@ var se_GetServiceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
995
1053
|
return b.build();
|
|
996
1054
|
}, "se_GetServiceCommand");
|
|
997
1055
|
var se_GetServiceNetworkCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
998
|
-
const b = (0,
|
|
1056
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
999
1057
|
const headers = {};
|
|
1000
1058
|
b.bp("/servicenetworks/{serviceNetworkIdentifier}");
|
|
1001
1059
|
b.p("serviceNetworkIdentifier", () => input.serviceNetworkIdentifier, "{serviceNetworkIdentifier}", false);
|
|
@@ -1004,7 +1062,7 @@ var se_GetServiceNetworkCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
1004
1062
|
return b.build();
|
|
1005
1063
|
}, "se_GetServiceNetworkCommand");
|
|
1006
1064
|
var se_GetServiceNetworkServiceAssociationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1007
|
-
const b = (0,
|
|
1065
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1008
1066
|
const headers = {};
|
|
1009
1067
|
b.bp("/servicenetworkserviceassociations/{serviceNetworkServiceAssociationIdentifier}");
|
|
1010
1068
|
b.p(
|
|
@@ -1018,7 +1076,7 @@ var se_GetServiceNetworkServiceAssociationCommand = /* @__PURE__ */ __name(async
|
|
|
1018
1076
|
return b.build();
|
|
1019
1077
|
}, "se_GetServiceNetworkServiceAssociationCommand");
|
|
1020
1078
|
var se_GetServiceNetworkVpcAssociationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1021
|
-
const b = (0,
|
|
1079
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1022
1080
|
const headers = {};
|
|
1023
1081
|
b.bp("/servicenetworkvpcassociations/{serviceNetworkVpcAssociationIdentifier}");
|
|
1024
1082
|
b.p(
|
|
@@ -1032,7 +1090,7 @@ var se_GetServiceNetworkVpcAssociationCommand = /* @__PURE__ */ __name(async (in
|
|
|
1032
1090
|
return b.build();
|
|
1033
1091
|
}, "se_GetServiceNetworkVpcAssociationCommand");
|
|
1034
1092
|
var se_GetTargetGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1035
|
-
const b = (0,
|
|
1093
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1036
1094
|
const headers = {};
|
|
1037
1095
|
b.bp("/targetgroups/{targetGroupIdentifier}");
|
|
1038
1096
|
b.p("targetGroupIdentifier", () => input.targetGroupIdentifier, "{targetGroupIdentifier}", false);
|
|
@@ -1041,7 +1099,7 @@ var se_GetTargetGroupCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
1041
1099
|
return b.build();
|
|
1042
1100
|
}, "se_GetTargetGroupCommand");
|
|
1043
1101
|
var se_ListAccessLogSubscriptionsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1044
|
-
const b = (0,
|
|
1102
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1045
1103
|
const headers = {};
|
|
1046
1104
|
b.bp("/accesslogsubscriptions");
|
|
1047
1105
|
const query = (0, import_smithy_client.map)({
|
|
@@ -1054,7 +1112,7 @@ var se_ListAccessLogSubscriptionsCommand = /* @__PURE__ */ __name(async (input,
|
|
|
1054
1112
|
return b.build();
|
|
1055
1113
|
}, "se_ListAccessLogSubscriptionsCommand");
|
|
1056
1114
|
var se_ListListenersCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1057
|
-
const b = (0,
|
|
1115
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1058
1116
|
const headers = {};
|
|
1059
1117
|
b.bp("/services/{serviceIdentifier}/listeners");
|
|
1060
1118
|
b.p("serviceIdentifier", () => input.serviceIdentifier, "{serviceIdentifier}", false);
|
|
@@ -1067,7 +1125,7 @@ var se_ListListenersCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1067
1125
|
return b.build();
|
|
1068
1126
|
}, "se_ListListenersCommand");
|
|
1069
1127
|
var se_ListRulesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1070
|
-
const b = (0,
|
|
1128
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1071
1129
|
const headers = {};
|
|
1072
1130
|
b.bp("/services/{serviceIdentifier}/listeners/{listenerIdentifier}/rules");
|
|
1073
1131
|
b.p("serviceIdentifier", () => input.serviceIdentifier, "{serviceIdentifier}", false);
|
|
@@ -1081,7 +1139,7 @@ var se_ListRulesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1081
1139
|
return b.build();
|
|
1082
1140
|
}, "se_ListRulesCommand");
|
|
1083
1141
|
var se_ListServiceNetworksCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1084
|
-
const b = (0,
|
|
1142
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1085
1143
|
const headers = {};
|
|
1086
1144
|
b.bp("/servicenetworks");
|
|
1087
1145
|
const query = (0, import_smithy_client.map)({
|
|
@@ -1093,7 +1151,7 @@ var se_ListServiceNetworksCommand = /* @__PURE__ */ __name(async (input, context
|
|
|
1093
1151
|
return b.build();
|
|
1094
1152
|
}, "se_ListServiceNetworksCommand");
|
|
1095
1153
|
var se_ListServiceNetworkServiceAssociationsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1096
|
-
const b = (0,
|
|
1154
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1097
1155
|
const headers = {};
|
|
1098
1156
|
b.bp("/servicenetworkserviceassociations");
|
|
1099
1157
|
const query = (0, import_smithy_client.map)({
|
|
@@ -1107,7 +1165,7 @@ var se_ListServiceNetworkServiceAssociationsCommand = /* @__PURE__ */ __name(asy
|
|
|
1107
1165
|
return b.build();
|
|
1108
1166
|
}, "se_ListServiceNetworkServiceAssociationsCommand");
|
|
1109
1167
|
var se_ListServiceNetworkVpcAssociationsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1110
|
-
const b = (0,
|
|
1168
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1111
1169
|
const headers = {};
|
|
1112
1170
|
b.bp("/servicenetworkvpcassociations");
|
|
1113
1171
|
const query = (0, import_smithy_client.map)({
|
|
@@ -1121,7 +1179,7 @@ var se_ListServiceNetworkVpcAssociationsCommand = /* @__PURE__ */ __name(async (
|
|
|
1121
1179
|
return b.build();
|
|
1122
1180
|
}, "se_ListServiceNetworkVpcAssociationsCommand");
|
|
1123
1181
|
var se_ListServicesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1124
|
-
const b = (0,
|
|
1182
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1125
1183
|
const headers = {};
|
|
1126
1184
|
b.bp("/services");
|
|
1127
1185
|
const query = (0, import_smithy_client.map)({
|
|
@@ -1133,7 +1191,7 @@ var se_ListServicesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1133
1191
|
return b.build();
|
|
1134
1192
|
}, "se_ListServicesCommand");
|
|
1135
1193
|
var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1136
|
-
const b = (0,
|
|
1194
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1137
1195
|
const headers = {};
|
|
1138
1196
|
b.bp("/tags/{resourceArn}");
|
|
1139
1197
|
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
@@ -1142,7 +1200,7 @@ var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context
|
|
|
1142
1200
|
return b.build();
|
|
1143
1201
|
}, "se_ListTagsForResourceCommand");
|
|
1144
1202
|
var se_ListTargetGroupsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1145
|
-
const b = (0,
|
|
1203
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1146
1204
|
const headers = {};
|
|
1147
1205
|
b.bp("/targetgroups");
|
|
1148
1206
|
const query = (0, import_smithy_client.map)({
|
|
@@ -1156,7 +1214,7 @@ var se_ListTargetGroupsCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
1156
1214
|
return b.build();
|
|
1157
1215
|
}, "se_ListTargetGroupsCommand");
|
|
1158
1216
|
var se_ListTargetsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1159
|
-
const b = (0,
|
|
1217
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1160
1218
|
const headers = {
|
|
1161
1219
|
"content-type": "application/json"
|
|
1162
1220
|
};
|
|
@@ -1176,7 +1234,7 @@ var se_ListTargetsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1176
1234
|
return b.build();
|
|
1177
1235
|
}, "se_ListTargetsCommand");
|
|
1178
1236
|
var se_PutAuthPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1179
|
-
const b = (0,
|
|
1237
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1180
1238
|
const headers = {
|
|
1181
1239
|
"content-type": "application/json"
|
|
1182
1240
|
};
|
|
@@ -1192,7 +1250,7 @@ var se_PutAuthPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1192
1250
|
return b.build();
|
|
1193
1251
|
}, "se_PutAuthPolicyCommand");
|
|
1194
1252
|
var se_PutResourcePolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1195
|
-
const b = (0,
|
|
1253
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1196
1254
|
const headers = {
|
|
1197
1255
|
"content-type": "application/json"
|
|
1198
1256
|
};
|
|
@@ -1208,7 +1266,7 @@ var se_PutResourcePolicyCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
1208
1266
|
return b.build();
|
|
1209
1267
|
}, "se_PutResourcePolicyCommand");
|
|
1210
1268
|
var se_RegisterTargetsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1211
|
-
const b = (0,
|
|
1269
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1212
1270
|
const headers = {
|
|
1213
1271
|
"content-type": "application/json"
|
|
1214
1272
|
};
|
|
@@ -1224,7 +1282,7 @@ var se_RegisterTargetsCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
1224
1282
|
return b.build();
|
|
1225
1283
|
}, "se_RegisterTargetsCommand");
|
|
1226
1284
|
var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1227
|
-
const b = (0,
|
|
1285
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1228
1286
|
const headers = {
|
|
1229
1287
|
"content-type": "application/json"
|
|
1230
1288
|
};
|
|
@@ -1240,7 +1298,7 @@ var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1240
1298
|
return b.build();
|
|
1241
1299
|
}, "se_TagResourceCommand");
|
|
1242
1300
|
var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1243
|
-
const b = (0,
|
|
1301
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1244
1302
|
const headers = {};
|
|
1245
1303
|
b.bp("/tags/{resourceArn}");
|
|
1246
1304
|
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
@@ -1255,7 +1313,7 @@ var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1255
1313
|
return b.build();
|
|
1256
1314
|
}, "se_UntagResourceCommand");
|
|
1257
1315
|
var se_UpdateAccessLogSubscriptionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1258
|
-
const b = (0,
|
|
1316
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1259
1317
|
const headers = {
|
|
1260
1318
|
"content-type": "application/json"
|
|
1261
1319
|
};
|
|
@@ -1276,7 +1334,7 @@ var se_UpdateAccessLogSubscriptionCommand = /* @__PURE__ */ __name(async (input,
|
|
|
1276
1334
|
return b.build();
|
|
1277
1335
|
}, "se_UpdateAccessLogSubscriptionCommand");
|
|
1278
1336
|
var se_UpdateListenerCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1279
|
-
const b = (0,
|
|
1337
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1280
1338
|
const headers = {
|
|
1281
1339
|
"content-type": "application/json"
|
|
1282
1340
|
};
|
|
@@ -1293,7 +1351,7 @@ var se_UpdateListenerCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
1293
1351
|
return b.build();
|
|
1294
1352
|
}, "se_UpdateListenerCommand");
|
|
1295
1353
|
var se_UpdateRuleCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1296
|
-
const b = (0,
|
|
1354
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1297
1355
|
const headers = {
|
|
1298
1356
|
"content-type": "application/json"
|
|
1299
1357
|
};
|
|
@@ -1313,7 +1371,7 @@ var se_UpdateRuleCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1313
1371
|
return b.build();
|
|
1314
1372
|
}, "se_UpdateRuleCommand");
|
|
1315
1373
|
var se_UpdateServiceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1316
|
-
const b = (0,
|
|
1374
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1317
1375
|
const headers = {
|
|
1318
1376
|
"content-type": "application/json"
|
|
1319
1377
|
};
|
|
@@ -1330,7 +1388,7 @@ var se_UpdateServiceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1330
1388
|
return b.build();
|
|
1331
1389
|
}, "se_UpdateServiceCommand");
|
|
1332
1390
|
var se_UpdateServiceNetworkCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1333
|
-
const b = (0,
|
|
1391
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1334
1392
|
const headers = {
|
|
1335
1393
|
"content-type": "application/json"
|
|
1336
1394
|
};
|
|
@@ -1346,7 +1404,7 @@ var se_UpdateServiceNetworkCommand = /* @__PURE__ */ __name(async (input, contex
|
|
|
1346
1404
|
return b.build();
|
|
1347
1405
|
}, "se_UpdateServiceNetworkCommand");
|
|
1348
1406
|
var se_UpdateServiceNetworkVpcAssociationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1349
|
-
const b = (0,
|
|
1407
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1350
1408
|
const headers = {
|
|
1351
1409
|
"content-type": "application/json"
|
|
1352
1410
|
};
|
|
@@ -1367,7 +1425,7 @@ var se_UpdateServiceNetworkVpcAssociationCommand = /* @__PURE__ */ __name(async
|
|
|
1367
1425
|
return b.build();
|
|
1368
1426
|
}, "se_UpdateServiceNetworkVpcAssociationCommand");
|
|
1369
1427
|
var se_UpdateTargetGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1370
|
-
const b = (0,
|
|
1428
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1371
1429
|
const headers = {
|
|
1372
1430
|
"content-type": "application/json"
|
|
1373
1431
|
};
|
|
@@ -1425,7 +1483,7 @@ var de_CreateListenerCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1425
1483
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1426
1484
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1427
1485
|
arn: import_smithy_client.expectString,
|
|
1428
|
-
defaultAction: (_) => (0, import_smithy_client._json)((0,
|
|
1486
|
+
defaultAction: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
|
|
1429
1487
|
id: import_smithy_client.expectString,
|
|
1430
1488
|
name: import_smithy_client.expectString,
|
|
1431
1489
|
port: import_smithy_client.expectInt32,
|
|
@@ -1445,10 +1503,10 @@ var de_CreateRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1445
1503
|
});
|
|
1446
1504
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1447
1505
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1448
|
-
action: (_) => (0, import_smithy_client._json)((0,
|
|
1506
|
+
action: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
|
|
1449
1507
|
arn: import_smithy_client.expectString,
|
|
1450
1508
|
id: import_smithy_client.expectString,
|
|
1451
|
-
match: (_) => (0, import_smithy_client._json)((0,
|
|
1509
|
+
match: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
|
|
1452
1510
|
name: import_smithy_client.expectString,
|
|
1453
1511
|
priority: import_smithy_client.expectInt32
|
|
1454
1512
|
});
|
|
@@ -1737,7 +1795,7 @@ var de_GetListenerCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1737
1795
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1738
1796
|
arn: import_smithy_client.expectString,
|
|
1739
1797
|
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1740
|
-
defaultAction: (_) => (0, import_smithy_client._json)((0,
|
|
1798
|
+
defaultAction: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
|
|
1741
1799
|
id: import_smithy_client.expectString,
|
|
1742
1800
|
lastUpdatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1743
1801
|
name: import_smithy_client.expectString,
|
|
@@ -1772,13 +1830,13 @@ var de_GetRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
1772
1830
|
});
|
|
1773
1831
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1774
1832
|
const doc = (0, import_smithy_client.take)(data, {
|
|
1775
|
-
action: (_) => (0, import_smithy_client._json)((0,
|
|
1833
|
+
action: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
|
|
1776
1834
|
arn: import_smithy_client.expectString,
|
|
1777
1835
|
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1778
1836
|
id: import_smithy_client.expectString,
|
|
1779
1837
|
isDefault: import_smithy_client.expectBoolean,
|
|
1780
1838
|
lastUpdatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1781
|
-
match: (_) => (0, import_smithy_client._json)((0,
|
|
1839
|
+
match: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
|
|
1782
1840
|
name: import_smithy_client.expectString,
|
|
1783
1841
|
priority: import_smithy_client.expectInt32
|
|
1784
1842
|
});
|
|
@@ -2146,7 +2204,7 @@ var de_UpdateListenerCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2146
2204
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2147
2205
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2148
2206
|
arn: import_smithy_client.expectString,
|
|
2149
|
-
defaultAction: (_) => (0, import_smithy_client._json)((0,
|
|
2207
|
+
defaultAction: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
|
|
2150
2208
|
id: import_smithy_client.expectString,
|
|
2151
2209
|
name: import_smithy_client.expectString,
|
|
2152
2210
|
port: import_smithy_client.expectInt32,
|
|
@@ -2166,11 +2224,11 @@ var de_UpdateRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2166
2224
|
});
|
|
2167
2225
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2168
2226
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2169
|
-
action: (_) => (0, import_smithy_client._json)((0,
|
|
2227
|
+
action: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
|
|
2170
2228
|
arn: import_smithy_client.expectString,
|
|
2171
2229
|
id: import_smithy_client.expectString,
|
|
2172
2230
|
isDefault: import_smithy_client.expectBoolean,
|
|
2173
|
-
match: (_) => (0, import_smithy_client._json)((0,
|
|
2231
|
+
match: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
|
|
2174
2232
|
name: import_smithy_client.expectString,
|
|
2175
2233
|
priority: import_smithy_client.expectInt32
|
|
2176
2234
|
});
|
|
@@ -3547,40 +3605,40 @@ var VPCLattice = _VPCLattice;
|
|
|
3547
3605
|
(0, import_smithy_client.createAggregatedClient)(commands, VPCLattice);
|
|
3548
3606
|
|
|
3549
3607
|
// src/pagination/ListAccessLogSubscriptionsPaginator.ts
|
|
3550
|
-
|
|
3551
|
-
var paginateListAccessLogSubscriptions = (0,
|
|
3608
|
+
|
|
3609
|
+
var paginateListAccessLogSubscriptions = (0, import_core.createPaginator)(VPCLatticeClient, ListAccessLogSubscriptionsCommand, "nextToken", "nextToken", "maxResults");
|
|
3552
3610
|
|
|
3553
3611
|
// src/pagination/ListListenersPaginator.ts
|
|
3554
|
-
|
|
3555
|
-
var paginateListListeners = (0,
|
|
3612
|
+
|
|
3613
|
+
var paginateListListeners = (0, import_core.createPaginator)(VPCLatticeClient, ListListenersCommand, "nextToken", "nextToken", "maxResults");
|
|
3556
3614
|
|
|
3557
3615
|
// src/pagination/ListRulesPaginator.ts
|
|
3558
|
-
|
|
3559
|
-
var paginateListRules = (0,
|
|
3616
|
+
|
|
3617
|
+
var paginateListRules = (0, import_core.createPaginator)(VPCLatticeClient, ListRulesCommand, "nextToken", "nextToken", "maxResults");
|
|
3560
3618
|
|
|
3561
3619
|
// src/pagination/ListServiceNetworkServiceAssociationsPaginator.ts
|
|
3562
|
-
|
|
3563
|
-
var paginateListServiceNetworkServiceAssociations = (0,
|
|
3620
|
+
|
|
3621
|
+
var paginateListServiceNetworkServiceAssociations = (0, import_core.createPaginator)(VPCLatticeClient, ListServiceNetworkServiceAssociationsCommand, "nextToken", "nextToken", "maxResults");
|
|
3564
3622
|
|
|
3565
3623
|
// src/pagination/ListServiceNetworkVpcAssociationsPaginator.ts
|
|
3566
|
-
|
|
3567
|
-
var paginateListServiceNetworkVpcAssociations = (0,
|
|
3624
|
+
|
|
3625
|
+
var paginateListServiceNetworkVpcAssociations = (0, import_core.createPaginator)(VPCLatticeClient, ListServiceNetworkVpcAssociationsCommand, "nextToken", "nextToken", "maxResults");
|
|
3568
3626
|
|
|
3569
3627
|
// src/pagination/ListServiceNetworksPaginator.ts
|
|
3570
|
-
|
|
3571
|
-
var paginateListServiceNetworks = (0,
|
|
3628
|
+
|
|
3629
|
+
var paginateListServiceNetworks = (0, import_core.createPaginator)(VPCLatticeClient, ListServiceNetworksCommand, "nextToken", "nextToken", "maxResults");
|
|
3572
3630
|
|
|
3573
3631
|
// src/pagination/ListServicesPaginator.ts
|
|
3574
|
-
|
|
3575
|
-
var paginateListServices = (0,
|
|
3632
|
+
|
|
3633
|
+
var paginateListServices = (0, import_core.createPaginator)(VPCLatticeClient, ListServicesCommand, "nextToken", "nextToken", "maxResults");
|
|
3576
3634
|
|
|
3577
3635
|
// src/pagination/ListTargetGroupsPaginator.ts
|
|
3578
|
-
|
|
3579
|
-
var paginateListTargetGroups = (0,
|
|
3636
|
+
|
|
3637
|
+
var paginateListTargetGroups = (0, import_core.createPaginator)(VPCLatticeClient, ListTargetGroupsCommand, "nextToken", "nextToken", "maxResults");
|
|
3580
3638
|
|
|
3581
3639
|
// src/pagination/ListTargetsPaginator.ts
|
|
3582
|
-
|
|
3583
|
-
var paginateListTargets = (0,
|
|
3640
|
+
|
|
3641
|
+
var paginateListTargets = (0, import_core.createPaginator)(VPCLatticeClient, ListTargetsCommand, "nextToken", "nextToken", "maxResults");
|
|
3584
3642
|
|
|
3585
3643
|
// src/index.ts
|
|
3586
3644
|
var import_util_endpoints = require("@aws-sdk/util-endpoints");
|