@aws-sdk/client-interconnect 3.1077.0 → 3.1079.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +21 -133
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/AcceptConnectionProposalCommand.js +2 -14
- package/dist-es/commands/CreateConnectionCommand.js +2 -14
- package/dist-es/commands/DeleteConnectionCommand.js +2 -14
- package/dist-es/commands/DescribeConnectionProposalCommand.js +2 -14
- package/dist-es/commands/GetConnectionCommand.js +2 -14
- package/dist-es/commands/GetEnvironmentCommand.js +2 -14
- package/dist-es/commands/ListAttachPointsCommand.js +2 -14
- package/dist-es/commands/ListConnectionsCommand.js +2 -14
- package/dist-es/commands/ListEnvironmentsCommand.js +2 -14
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
- package/dist-es/commands/TagResourceCommand.js +2 -14
- package/dist-es/commands/UntagResourceCommand.js +2 -14
- package/dist-es/commands/UpdateConnectionCommand.js +2 -14
- package/dist-es/index.js +1 -0
- package/dist-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/AcceptConnectionProposalCommand.d.ts +3 -8
- package/dist-types/commands/CreateConnectionCommand.d.ts +3 -8
- package/dist-types/commands/DeleteConnectionCommand.d.ts +3 -8
- package/dist-types/commands/DescribeConnectionProposalCommand.d.ts +3 -8
- package/dist-types/commands/GetConnectionCommand.d.ts +3 -8
- package/dist-types/commands/GetEnvironmentCommand.d.ts +3 -8
- package/dist-types/commands/ListAttachPointsCommand.d.ts +3 -8
- package/dist-types/commands/ListConnectionsCommand.d.ts +3 -8
- package/dist-types/commands/ListEnvironmentsCommand.d.ts +3 -8
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
- package/dist-types/commands/TagResourceCommand.d.ts +3 -8
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
- package/dist-types/commands/UpdateConnectionCommand.d.ts +3 -8
- package/dist-types/index.d.ts +1 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
- package/dist-types/ts3.4/commands/AcceptConnectionProposalCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateConnectionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteConnectionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DescribeConnectionProposalCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetConnectionCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetEnvironmentCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListAttachPointsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListConnectionsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListEnvironmentsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/UpdateConnectionCommand.d.ts +7 -16
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/package.json +8 -8
package/dist-cjs/index.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
2
2
|
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
3
|
-
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client,
|
|
4
|
-
|
|
3
|
+
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createWaiter, checkExceptions, WaiterState, createAggregatedClient } = require("@smithy/core/client");
|
|
4
|
+
const { Command: $Command } = require("@smithy/core/client");
|
|
5
|
+
exports.$Command = $Command;
|
|
5
6
|
exports.__Client = Client;
|
|
6
7
|
const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
|
|
7
8
|
const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
@@ -66,7 +67,7 @@ const commonParams = {
|
|
|
66
67
|
Region: { type: "builtInParams", name: "region" },
|
|
67
68
|
};
|
|
68
69
|
|
|
69
|
-
var version = "3.
|
|
70
|
+
var version = "3.1078.0";
|
|
70
71
|
var packageInfo = {
|
|
71
72
|
version: version};
|
|
72
73
|
|
|
@@ -719,160 +720,47 @@ class InterconnectClient extends Client {
|
|
|
719
720
|
}
|
|
720
721
|
}
|
|
721
722
|
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
})
|
|
728
|
-
.s("Interconnect", "AcceptConnectionProposal", {})
|
|
729
|
-
.n("InterconnectClient", "AcceptConnectionProposalCommand")
|
|
730
|
-
.sc(AcceptConnectionProposal$)
|
|
731
|
-
.build() {
|
|
723
|
+
const command = makeBuilder(commonParams, "Interconnect", "InterconnectClient", getEndpointPlugin);
|
|
724
|
+
const _ep0 = {};
|
|
725
|
+
const _mw0 = (Command, cs, config, o) => [];
|
|
726
|
+
|
|
727
|
+
class AcceptConnectionProposalCommand extends command(_ep0, _mw0, "AcceptConnectionProposal", AcceptConnectionProposal$) {
|
|
732
728
|
}
|
|
733
729
|
|
|
734
|
-
class CreateConnectionCommand extends
|
|
735
|
-
.classBuilder()
|
|
736
|
-
.ep(commonParams)
|
|
737
|
-
.m(function (Command, cs, config, o) {
|
|
738
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
739
|
-
})
|
|
740
|
-
.s("Interconnect", "CreateConnection", {})
|
|
741
|
-
.n("InterconnectClient", "CreateConnectionCommand")
|
|
742
|
-
.sc(CreateConnection$)
|
|
743
|
-
.build() {
|
|
730
|
+
class CreateConnectionCommand extends command(_ep0, _mw0, "CreateConnection", CreateConnection$) {
|
|
744
731
|
}
|
|
745
732
|
|
|
746
|
-
class DeleteConnectionCommand extends
|
|
747
|
-
.classBuilder()
|
|
748
|
-
.ep(commonParams)
|
|
749
|
-
.m(function (Command, cs, config, o) {
|
|
750
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
751
|
-
})
|
|
752
|
-
.s("Interconnect", "DeleteConnection", {})
|
|
753
|
-
.n("InterconnectClient", "DeleteConnectionCommand")
|
|
754
|
-
.sc(DeleteConnection$)
|
|
755
|
-
.build() {
|
|
733
|
+
class DeleteConnectionCommand extends command(_ep0, _mw0, "DeleteConnection", DeleteConnection$) {
|
|
756
734
|
}
|
|
757
735
|
|
|
758
|
-
class DescribeConnectionProposalCommand extends
|
|
759
|
-
.classBuilder()
|
|
760
|
-
.ep(commonParams)
|
|
761
|
-
.m(function (Command, cs, config, o) {
|
|
762
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
763
|
-
})
|
|
764
|
-
.s("Interconnect", "DescribeConnectionProposal", {})
|
|
765
|
-
.n("InterconnectClient", "DescribeConnectionProposalCommand")
|
|
766
|
-
.sc(DescribeConnectionProposal$)
|
|
767
|
-
.build() {
|
|
736
|
+
class DescribeConnectionProposalCommand extends command(_ep0, _mw0, "DescribeConnectionProposal", DescribeConnectionProposal$) {
|
|
768
737
|
}
|
|
769
738
|
|
|
770
|
-
class GetConnectionCommand extends
|
|
771
|
-
.classBuilder()
|
|
772
|
-
.ep(commonParams)
|
|
773
|
-
.m(function (Command, cs, config, o) {
|
|
774
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
775
|
-
})
|
|
776
|
-
.s("Interconnect", "GetConnection", {})
|
|
777
|
-
.n("InterconnectClient", "GetConnectionCommand")
|
|
778
|
-
.sc(GetConnection$)
|
|
779
|
-
.build() {
|
|
739
|
+
class GetConnectionCommand extends command(_ep0, _mw0, "GetConnection", GetConnection$) {
|
|
780
740
|
}
|
|
781
741
|
|
|
782
|
-
class GetEnvironmentCommand extends
|
|
783
|
-
.classBuilder()
|
|
784
|
-
.ep(commonParams)
|
|
785
|
-
.m(function (Command, cs, config, o) {
|
|
786
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
787
|
-
})
|
|
788
|
-
.s("Interconnect", "GetEnvironment", {})
|
|
789
|
-
.n("InterconnectClient", "GetEnvironmentCommand")
|
|
790
|
-
.sc(GetEnvironment$)
|
|
791
|
-
.build() {
|
|
742
|
+
class GetEnvironmentCommand extends command(_ep0, _mw0, "GetEnvironment", GetEnvironment$) {
|
|
792
743
|
}
|
|
793
744
|
|
|
794
|
-
class ListAttachPointsCommand extends
|
|
795
|
-
.classBuilder()
|
|
796
|
-
.ep(commonParams)
|
|
797
|
-
.m(function (Command, cs, config, o) {
|
|
798
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
799
|
-
})
|
|
800
|
-
.s("Interconnect", "ListAttachPoints", {})
|
|
801
|
-
.n("InterconnectClient", "ListAttachPointsCommand")
|
|
802
|
-
.sc(ListAttachPoints$)
|
|
803
|
-
.build() {
|
|
745
|
+
class ListAttachPointsCommand extends command(_ep0, _mw0, "ListAttachPoints", ListAttachPoints$) {
|
|
804
746
|
}
|
|
805
747
|
|
|
806
|
-
class ListConnectionsCommand extends
|
|
807
|
-
.classBuilder()
|
|
808
|
-
.ep(commonParams)
|
|
809
|
-
.m(function (Command, cs, config, o) {
|
|
810
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
811
|
-
})
|
|
812
|
-
.s("Interconnect", "ListConnections", {})
|
|
813
|
-
.n("InterconnectClient", "ListConnectionsCommand")
|
|
814
|
-
.sc(ListConnections$)
|
|
815
|
-
.build() {
|
|
748
|
+
class ListConnectionsCommand extends command(_ep0, _mw0, "ListConnections", ListConnections$) {
|
|
816
749
|
}
|
|
817
750
|
|
|
818
|
-
class ListEnvironmentsCommand extends
|
|
819
|
-
.classBuilder()
|
|
820
|
-
.ep(commonParams)
|
|
821
|
-
.m(function (Command, cs, config, o) {
|
|
822
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
823
|
-
})
|
|
824
|
-
.s("Interconnect", "ListEnvironments", {})
|
|
825
|
-
.n("InterconnectClient", "ListEnvironmentsCommand")
|
|
826
|
-
.sc(ListEnvironments$)
|
|
827
|
-
.build() {
|
|
751
|
+
class ListEnvironmentsCommand extends command(_ep0, _mw0, "ListEnvironments", ListEnvironments$) {
|
|
828
752
|
}
|
|
829
753
|
|
|
830
|
-
class ListTagsForResourceCommand extends
|
|
831
|
-
.classBuilder()
|
|
832
|
-
.ep(commonParams)
|
|
833
|
-
.m(function (Command, cs, config, o) {
|
|
834
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
835
|
-
})
|
|
836
|
-
.s("Interconnect", "ListTagsForResource", {})
|
|
837
|
-
.n("InterconnectClient", "ListTagsForResourceCommand")
|
|
838
|
-
.sc(ListTagsForResource$)
|
|
839
|
-
.build() {
|
|
754
|
+
class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
|
|
840
755
|
}
|
|
841
756
|
|
|
842
|
-
class TagResourceCommand extends
|
|
843
|
-
.classBuilder()
|
|
844
|
-
.ep(commonParams)
|
|
845
|
-
.m(function (Command, cs, config, o) {
|
|
846
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
847
|
-
})
|
|
848
|
-
.s("Interconnect", "TagResource", {})
|
|
849
|
-
.n("InterconnectClient", "TagResourceCommand")
|
|
850
|
-
.sc(TagResource$)
|
|
851
|
-
.build() {
|
|
757
|
+
class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
|
|
852
758
|
}
|
|
853
759
|
|
|
854
|
-
class UntagResourceCommand extends
|
|
855
|
-
.classBuilder()
|
|
856
|
-
.ep(commonParams)
|
|
857
|
-
.m(function (Command, cs, config, o) {
|
|
858
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
859
|
-
})
|
|
860
|
-
.s("Interconnect", "UntagResource", {})
|
|
861
|
-
.n("InterconnectClient", "UntagResourceCommand")
|
|
862
|
-
.sc(UntagResource$)
|
|
863
|
-
.build() {
|
|
760
|
+
class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
|
|
864
761
|
}
|
|
865
762
|
|
|
866
|
-
class UpdateConnectionCommand extends
|
|
867
|
-
.classBuilder()
|
|
868
|
-
.ep(commonParams)
|
|
869
|
-
.m(function (Command, cs, config, o) {
|
|
870
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
871
|
-
})
|
|
872
|
-
.s("Interconnect", "UpdateConnection", {})
|
|
873
|
-
.n("InterconnectClient", "UpdateConnectionCommand")
|
|
874
|
-
.sc(UpdateConnection$)
|
|
875
|
-
.build() {
|
|
763
|
+
class UpdateConnectionCommand extends command(_ep0, _mw0, "UpdateConnection", UpdateConnection$) {
|
|
876
764
|
}
|
|
877
765
|
|
|
878
766
|
const paginateListAttachPoints = createPaginator(InterconnectClient, ListAttachPointsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { makeBuilder } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "./endpoint/EndpointParameters";
|
|
4
|
+
export const command = makeBuilder(commonParams, "Interconnect", "InterconnectClient", getEndpointPlugin);
|
|
5
|
+
export const _ep0 = {};
|
|
6
|
+
export const _mw0 = (Command, cs, config, o) => [];
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { AcceptConnectionProposal$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class AcceptConnectionProposalCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("Interconnect", "AcceptConnectionProposal", {})
|
|
13
|
-
.n("InterconnectClient", "AcceptConnectionProposalCommand")
|
|
14
|
-
.sc(AcceptConnectionProposal$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class AcceptConnectionProposalCommand extends command(_ep0, _mw0, "AcceptConnectionProposal", AcceptConnectionProposal$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { CreateConnection$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class CreateConnectionCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("Interconnect", "CreateConnection", {})
|
|
13
|
-
.n("InterconnectClient", "CreateConnectionCommand")
|
|
14
|
-
.sc(CreateConnection$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class CreateConnectionCommand extends command(_ep0, _mw0, "CreateConnection", CreateConnection$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { DeleteConnection$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DeleteConnectionCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("Interconnect", "DeleteConnection", {})
|
|
13
|
-
.n("InterconnectClient", "DeleteConnectionCommand")
|
|
14
|
-
.sc(DeleteConnection$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DeleteConnectionCommand extends command(_ep0, _mw0, "DeleteConnection", DeleteConnection$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { DescribeConnectionProposal$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class DescribeConnectionProposalCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("Interconnect", "DescribeConnectionProposal", {})
|
|
13
|
-
.n("InterconnectClient", "DescribeConnectionProposalCommand")
|
|
14
|
-
.sc(DescribeConnectionProposal$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class DescribeConnectionProposalCommand extends command(_ep0, _mw0, "DescribeConnectionProposal", DescribeConnectionProposal$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetConnection$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetConnectionCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("Interconnect", "GetConnection", {})
|
|
13
|
-
.n("InterconnectClient", "GetConnectionCommand")
|
|
14
|
-
.sc(GetConnection$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetConnectionCommand extends command(_ep0, _mw0, "GetConnection", GetConnection$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { GetEnvironment$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetEnvironmentCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("Interconnect", "GetEnvironment", {})
|
|
13
|
-
.n("InterconnectClient", "GetEnvironmentCommand")
|
|
14
|
-
.sc(GetEnvironment$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetEnvironmentCommand extends command(_ep0, _mw0, "GetEnvironment", GetEnvironment$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListAttachPoints$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListAttachPointsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("Interconnect", "ListAttachPoints", {})
|
|
13
|
-
.n("InterconnectClient", "ListAttachPointsCommand")
|
|
14
|
-
.sc(ListAttachPoints$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListAttachPointsCommand extends command(_ep0, _mw0, "ListAttachPoints", ListAttachPoints$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListConnections$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListConnectionsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("Interconnect", "ListConnections", {})
|
|
13
|
-
.n("InterconnectClient", "ListConnectionsCommand")
|
|
14
|
-
.sc(ListConnections$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListConnectionsCommand extends command(_ep0, _mw0, "ListConnections", ListConnections$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListEnvironments$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListEnvironmentsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("Interconnect", "ListEnvironments", {})
|
|
13
|
-
.n("InterconnectClient", "ListEnvironmentsCommand")
|
|
14
|
-
.sc(ListEnvironments$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListEnvironmentsCommand extends command(_ep0, _mw0, "ListEnvironments", ListEnvironments$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { ListTagsForResource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListTagsForResourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("Interconnect", "ListTagsForResource", {})
|
|
13
|
-
.n("InterconnectClient", "ListTagsForResourceCommand")
|
|
14
|
-
.sc(ListTagsForResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { TagResource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class TagResourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("Interconnect", "TagResource", {})
|
|
13
|
-
.n("InterconnectClient", "TagResourceCommand")
|
|
14
|
-
.sc(TagResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UntagResource$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UntagResourceCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("Interconnect", "UntagResource", {})
|
|
13
|
-
.n("InterconnectClient", "UntagResourceCommand")
|
|
14
|
-
.sc(UntagResource$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
|
|
16
4
|
}
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { UpdateConnection$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateConnectionCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("Interconnect", "UpdateConnection", {})
|
|
13
|
-
.n("InterconnectClient", "UpdateConnectionCommand")
|
|
14
|
-
.sc(UpdateConnection$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateConnectionCommand extends command(_ep0, _mw0, "UpdateConnection", UpdateConnection$) {
|
|
16
4
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { EndpointParameterInstructions } from "@smithy/types";
|
|
2
|
+
import type { InterconnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./InterconnectClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
|
|
7
|
+
new (input: I): import("@smithy/core/client").CommandImpl<I, O, InterconnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
8
|
+
new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, InterconnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
9
|
+
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
export declare const _ep0: EndpointParameterInstructions;
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { InterconnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../InterconnectClient";
|
|
4
2
|
import type { AcceptConnectionProposalRequest, AcceptConnectionProposalResponse } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface AcceptConnectionProposalCommandInput extends AcceptConnectionPr
|
|
|
22
19
|
export interface AcceptConnectionProposalCommandOutput extends AcceptConnectionProposalResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const AcceptConnectionProposalCommand_base: {
|
|
25
|
-
new (input: AcceptConnectionProposalCommandInput): import("@smithy/core/client").CommandImpl<AcceptConnectionProposalCommandInput, AcceptConnectionProposalCommandOutput, InterconnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: AcceptConnectionProposalCommandInput): import("@smithy/core/client").CommandImpl<AcceptConnectionProposalCommandInput, AcceptConnectionProposalCommandOutput, InterconnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: AcceptConnectionProposalCommandInput): import("@smithy/core/client").CommandImpl<AcceptConnectionProposalCommandInput, AcceptConnectionProposalCommandOutput, import("..").InterconnectClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: AcceptConnectionProposalCommandInput): import("@smithy/core/client").CommandImpl<AcceptConnectionProposalCommandInput, AcceptConnectionProposalCommandOutput, import("..").InterconnectClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Accepts a connection proposal which was generated at a supported partner's portal.</p> <p>The proposal contains the Environment and bandwidth that were chosen on the partner's portal and cannot be modified.</p> <p>Upon accepting the proposal a connection will be made between the AWS network as accessed via the selected Attach Point and the network previously selected network on the partner's portal.</p>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { InterconnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../InterconnectClient";
|
|
4
2
|
import type { CreateConnectionRequest, CreateConnectionResponse } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface CreateConnectionCommandInput extends CreateConnectionRequest {
|
|
|
22
19
|
export interface CreateConnectionCommandOutput extends CreateConnectionResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const CreateConnectionCommand_base: {
|
|
25
|
-
new (input: CreateConnectionCommandInput): import("@smithy/core/client").CommandImpl<CreateConnectionCommandInput, CreateConnectionCommandOutput, InterconnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: CreateConnectionCommandInput): import("@smithy/core/client").CommandImpl<CreateConnectionCommandInput, CreateConnectionCommandOutput, InterconnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: CreateConnectionCommandInput): import("@smithy/core/client").CommandImpl<CreateConnectionCommandInput, CreateConnectionCommandOutput, import("..").InterconnectClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreateConnectionCommandInput): import("@smithy/core/client").CommandImpl<CreateConnectionCommandInput, CreateConnectionCommandOutput, import("..").InterconnectClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Initiates the process to create a Connection across the specified Environment. </p> <p>The Environment dictates the specified partner and location to which the other end of the connection should attach. You can see a list of the available Environments by calling <a>ListEnvironments</a> </p> <p>The Attach Point specifies where within the AWS Network your connection will logically connect.</p> <p>After a successful call to this method, the resulting <a>Connection</a> will return an Activation Key which will need to be brought to the specific partner's portal to confirm the <a>Connection</a> on both sides. (See <a>Environment$activationPageUrl</a> for a direct link to the partner portal). </p>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { InterconnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../InterconnectClient";
|
|
4
2
|
import type { DeleteConnectionRequest, DeleteConnectionResponse } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface DeleteConnectionCommandInput extends DeleteConnectionRequest {
|
|
|
22
19
|
export interface DeleteConnectionCommandOutput extends DeleteConnectionResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const DeleteConnectionCommand_base: {
|
|
25
|
-
new (input: DeleteConnectionCommandInput): import("@smithy/core/client").CommandImpl<DeleteConnectionCommandInput, DeleteConnectionCommandOutput, InterconnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: DeleteConnectionCommandInput): import("@smithy/core/client").CommandImpl<DeleteConnectionCommandInput, DeleteConnectionCommandOutput, InterconnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: DeleteConnectionCommandInput): import("@smithy/core/client").CommandImpl<DeleteConnectionCommandInput, DeleteConnectionCommandOutput, import("..").InterconnectClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: DeleteConnectionCommandInput): import("@smithy/core/client").CommandImpl<DeleteConnectionCommandInput, DeleteConnectionCommandOutput, import("..").InterconnectClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Deletes an existing Connection with the supplied identifier.</p> <p>This operation will also inform the remote partner of your intention to delete your connection. Note, the partner may still require you to delete to fully clean up resources, but the network connectivity provided by the <a>Connection</a> will cease to exist.</p>
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { InterconnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../InterconnectClient";
|
|
4
2
|
import type { DescribeConnectionProposalRequest, DescribeConnectionProposalResponse } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface DescribeConnectionProposalCommandInput extends DescribeConnecti
|
|
|
22
19
|
export interface DescribeConnectionProposalCommandOutput extends DescribeConnectionProposalResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const DescribeConnectionProposalCommand_base: {
|
|
25
|
-
new (input: DescribeConnectionProposalCommandInput): import("@smithy/core/client").CommandImpl<DescribeConnectionProposalCommandInput, DescribeConnectionProposalCommandOutput, InterconnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: DescribeConnectionProposalCommandInput): import("@smithy/core/client").CommandImpl<DescribeConnectionProposalCommandInput, DescribeConnectionProposalCommandOutput, InterconnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: DescribeConnectionProposalCommandInput): import("@smithy/core/client").CommandImpl<DescribeConnectionProposalCommandInput, DescribeConnectionProposalCommandOutput, import("..").InterconnectClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: DescribeConnectionProposalCommandInput): import("@smithy/core/client").CommandImpl<DescribeConnectionProposalCommandInput, DescribeConnectionProposalCommandOutput, import("..").InterconnectClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Describes the details of a connection proposal generated at a partner's portal.</p>
|