@aws-sdk/client-pca-connector-scep 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.
Files changed (44) hide show
  1. package/dist-cjs/index.js +20 -123
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/CreateChallengeCommand.js +2 -14
  4. package/dist-es/commands/CreateConnectorCommand.js +2 -14
  5. package/dist-es/commands/DeleteChallengeCommand.js +2 -14
  6. package/dist-es/commands/DeleteConnectorCommand.js +2 -14
  7. package/dist-es/commands/GetChallengeMetadataCommand.js +2 -14
  8. package/dist-es/commands/GetChallengePasswordCommand.js +2 -14
  9. package/dist-es/commands/GetConnectorCommand.js +2 -14
  10. package/dist-es/commands/ListChallengeMetadataCommand.js +2 -14
  11. package/dist-es/commands/ListConnectorsCommand.js +2 -14
  12. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  13. package/dist-es/commands/TagResourceCommand.js +2 -14
  14. package/dist-es/commands/UntagResourceCommand.js +2 -14
  15. package/dist-es/index.js +1 -0
  16. package/dist-types/commandBuilder.d.ts +18 -0
  17. package/dist-types/commands/CreateChallengeCommand.d.ts +3 -8
  18. package/dist-types/commands/CreateConnectorCommand.d.ts +3 -8
  19. package/dist-types/commands/DeleteChallengeCommand.d.ts +3 -8
  20. package/dist-types/commands/DeleteConnectorCommand.d.ts +3 -8
  21. package/dist-types/commands/GetChallengeMetadataCommand.d.ts +3 -8
  22. package/dist-types/commands/GetChallengePasswordCommand.d.ts +3 -8
  23. package/dist-types/commands/GetConnectorCommand.d.ts +3 -8
  24. package/dist-types/commands/ListChallengeMetadataCommand.d.ts +3 -8
  25. package/dist-types/commands/ListConnectorsCommand.d.ts +3 -8
  26. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  27. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  28. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  29. package/dist-types/index.d.ts +1 -0
  30. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  31. package/dist-types/ts3.4/commands/CreateChallengeCommand.d.ts +7 -16
  32. package/dist-types/ts3.4/commands/CreateConnectorCommand.d.ts +7 -16
  33. package/dist-types/ts3.4/commands/DeleteChallengeCommand.d.ts +7 -16
  34. package/dist-types/ts3.4/commands/DeleteConnectorCommand.d.ts +7 -16
  35. package/dist-types/ts3.4/commands/GetChallengeMetadataCommand.d.ts +7 -16
  36. package/dist-types/ts3.4/commands/GetChallengePasswordCommand.d.ts +7 -16
  37. package/dist-types/ts3.4/commands/GetConnectorCommand.d.ts +7 -16
  38. package/dist-types/ts3.4/commands/ListChallengeMetadataCommand.d.ts +7 -16
  39. package/dist-types/ts3.4/commands/ListConnectorsCommand.d.ts +7 -16
  40. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  41. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  42. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  43. package/dist-types/ts3.4/index.d.ts +1 -0
  44. 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, Command, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, 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");
@@ -68,7 +69,7 @@ const commonParams = {
68
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
69
70
  };
70
71
 
71
- var version = "3.1076.0";
72
+ var version = "3.1078.0";
72
73
  var packageInfo = {
73
74
  version: version};
74
75
 
@@ -749,148 +750,44 @@ class PcaConnectorScepClient extends Client {
749
750
  }
750
751
  }
751
752
 
752
- class CreateChallengeCommand extends Command
753
- .classBuilder()
754
- .ep(commonParams)
755
- .m(function (Command, cs, config, o) {
756
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
757
- })
758
- .s("PcaConnectorScep", "CreateChallenge", {})
759
- .n("PcaConnectorScepClient", "CreateChallengeCommand")
760
- .sc(CreateChallenge$)
761
- .build() {
753
+ const command = makeBuilder(commonParams, "PcaConnectorScep", "PcaConnectorScepClient", getEndpointPlugin);
754
+ const _ep0 = {};
755
+ const _mw0 = (Command, cs, config, o) => [];
756
+
757
+ class CreateChallengeCommand extends command(_ep0, _mw0, "CreateChallenge", CreateChallenge$) {
762
758
  }
763
759
 
764
- class CreateConnectorCommand extends Command
765
- .classBuilder()
766
- .ep(commonParams)
767
- .m(function (Command, cs, config, o) {
768
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
769
- })
770
- .s("PcaConnectorScep", "CreateConnector", {})
771
- .n("PcaConnectorScepClient", "CreateConnectorCommand")
772
- .sc(CreateConnector$)
773
- .build() {
760
+ class CreateConnectorCommand extends command(_ep0, _mw0, "CreateConnector", CreateConnector$) {
774
761
  }
775
762
 
776
- class DeleteChallengeCommand extends Command
777
- .classBuilder()
778
- .ep(commonParams)
779
- .m(function (Command, cs, config, o) {
780
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
781
- })
782
- .s("PcaConnectorScep", "DeleteChallenge", {})
783
- .n("PcaConnectorScepClient", "DeleteChallengeCommand")
784
- .sc(DeleteChallenge$)
785
- .build() {
763
+ class DeleteChallengeCommand extends command(_ep0, _mw0, "DeleteChallenge", DeleteChallenge$) {
786
764
  }
787
765
 
788
- class DeleteConnectorCommand extends Command
789
- .classBuilder()
790
- .ep(commonParams)
791
- .m(function (Command, cs, config, o) {
792
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
793
- })
794
- .s("PcaConnectorScep", "DeleteConnector", {})
795
- .n("PcaConnectorScepClient", "DeleteConnectorCommand")
796
- .sc(DeleteConnector$)
797
- .build() {
766
+ class DeleteConnectorCommand extends command(_ep0, _mw0, "DeleteConnector", DeleteConnector$) {
798
767
  }
799
768
 
800
- class GetChallengeMetadataCommand extends Command
801
- .classBuilder()
802
- .ep(commonParams)
803
- .m(function (Command, cs, config, o) {
804
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
805
- })
806
- .s("PcaConnectorScep", "GetChallengeMetadata", {})
807
- .n("PcaConnectorScepClient", "GetChallengeMetadataCommand")
808
- .sc(GetChallengeMetadata$)
809
- .build() {
769
+ class GetChallengeMetadataCommand extends command(_ep0, _mw0, "GetChallengeMetadata", GetChallengeMetadata$) {
810
770
  }
811
771
 
812
- class GetChallengePasswordCommand extends Command
813
- .classBuilder()
814
- .ep(commonParams)
815
- .m(function (Command, cs, config, o) {
816
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
817
- })
818
- .s("PcaConnectorScep", "GetChallengePassword", {})
819
- .n("PcaConnectorScepClient", "GetChallengePasswordCommand")
820
- .sc(GetChallengePassword$)
821
- .build() {
772
+ class GetChallengePasswordCommand extends command(_ep0, _mw0, "GetChallengePassword", GetChallengePassword$) {
822
773
  }
823
774
 
824
- class GetConnectorCommand extends Command
825
- .classBuilder()
826
- .ep(commonParams)
827
- .m(function (Command, cs, config, o) {
828
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
829
- })
830
- .s("PcaConnectorScep", "GetConnector", {})
831
- .n("PcaConnectorScepClient", "GetConnectorCommand")
832
- .sc(GetConnector$)
833
- .build() {
775
+ class GetConnectorCommand extends command(_ep0, _mw0, "GetConnector", GetConnector$) {
834
776
  }
835
777
 
836
- class ListChallengeMetadataCommand extends Command
837
- .classBuilder()
838
- .ep(commonParams)
839
- .m(function (Command, cs, config, o) {
840
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
841
- })
842
- .s("PcaConnectorScep", "ListChallengeMetadata", {})
843
- .n("PcaConnectorScepClient", "ListChallengeMetadataCommand")
844
- .sc(ListChallengeMetadata$)
845
- .build() {
778
+ class ListChallengeMetadataCommand extends command(_ep0, _mw0, "ListChallengeMetadata", ListChallengeMetadata$) {
846
779
  }
847
780
 
848
- class ListConnectorsCommand extends Command
849
- .classBuilder()
850
- .ep(commonParams)
851
- .m(function (Command, cs, config, o) {
852
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
853
- })
854
- .s("PcaConnectorScep", "ListConnectors", {})
855
- .n("PcaConnectorScepClient", "ListConnectorsCommand")
856
- .sc(ListConnectors$)
857
- .build() {
781
+ class ListConnectorsCommand extends command(_ep0, _mw0, "ListConnectors", ListConnectors$) {
858
782
  }
859
783
 
860
- class ListTagsForResourceCommand extends Command
861
- .classBuilder()
862
- .ep(commonParams)
863
- .m(function (Command, cs, config, o) {
864
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
865
- })
866
- .s("PcaConnectorScep", "ListTagsForResource", {})
867
- .n("PcaConnectorScepClient", "ListTagsForResourceCommand")
868
- .sc(ListTagsForResource$)
869
- .build() {
784
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
870
785
  }
871
786
 
872
- class TagResourceCommand extends Command
873
- .classBuilder()
874
- .ep(commonParams)
875
- .m(function (Command, cs, config, o) {
876
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
877
- })
878
- .s("PcaConnectorScep", "TagResource", {})
879
- .n("PcaConnectorScepClient", "TagResourceCommand")
880
- .sc(TagResource$)
881
- .build() {
787
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
882
788
  }
883
789
 
884
- class UntagResourceCommand extends Command
885
- .classBuilder()
886
- .ep(commonParams)
887
- .m(function (Command, cs, config, o) {
888
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
889
- })
890
- .s("PcaConnectorScep", "UntagResource", {})
891
- .n("PcaConnectorScepClient", "UntagResourceCommand")
892
- .sc(UntagResource$)
893
- .build() {
790
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
894
791
  }
895
792
 
896
793
  const paginateListChallengeMetadata = createPaginator(PcaConnectorScepClient, ListChallengeMetadataCommand, "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, "PcaConnectorScep", "PcaConnectorScepClient", getEndpointPlugin);
5
+ export const _ep0 = {};
6
+ export const _mw0 = (Command, cs, config, o) => [];
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateChallenge$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateChallengeCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("PcaConnectorScep", "CreateChallenge", {})
13
- .n("PcaConnectorScepClient", "CreateChallengeCommand")
14
- .sc(CreateChallenge$)
15
- .build() {
3
+ export class CreateChallengeCommand extends command(_ep0, _mw0, "CreateChallenge", CreateChallenge$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateConnector$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateConnectorCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("PcaConnectorScep", "CreateConnector", {})
13
- .n("PcaConnectorScepClient", "CreateConnectorCommand")
14
- .sc(CreateConnector$)
15
- .build() {
3
+ export class CreateConnectorCommand extends command(_ep0, _mw0, "CreateConnector", CreateConnector$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteChallenge$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteChallengeCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("PcaConnectorScep", "DeleteChallenge", {})
13
- .n("PcaConnectorScepClient", "DeleteChallengeCommand")
14
- .sc(DeleteChallenge$)
15
- .build() {
3
+ export class DeleteChallengeCommand extends command(_ep0, _mw0, "DeleteChallenge", DeleteChallenge$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteConnector$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteConnectorCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("PcaConnectorScep", "DeleteConnector", {})
13
- .n("PcaConnectorScepClient", "DeleteConnectorCommand")
14
- .sc(DeleteConnector$)
15
- .build() {
3
+ export class DeleteConnectorCommand extends command(_ep0, _mw0, "DeleteConnector", DeleteConnector$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetChallengeMetadata$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetChallengeMetadataCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("PcaConnectorScep", "GetChallengeMetadata", {})
13
- .n("PcaConnectorScepClient", "GetChallengeMetadataCommand")
14
- .sc(GetChallengeMetadata$)
15
- .build() {
3
+ export class GetChallengeMetadataCommand extends command(_ep0, _mw0, "GetChallengeMetadata", GetChallengeMetadata$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetChallengePassword$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetChallengePasswordCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("PcaConnectorScep", "GetChallengePassword", {})
13
- .n("PcaConnectorScepClient", "GetChallengePasswordCommand")
14
- .sc(GetChallengePassword$)
15
- .build() {
3
+ export class GetChallengePasswordCommand extends command(_ep0, _mw0, "GetChallengePassword", GetChallengePassword$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetConnector$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetConnectorCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("PcaConnectorScep", "GetConnector", {})
13
- .n("PcaConnectorScepClient", "GetConnectorCommand")
14
- .sc(GetConnector$)
15
- .build() {
3
+ export class GetConnectorCommand extends command(_ep0, _mw0, "GetConnector", GetConnector$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListChallengeMetadata$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListChallengeMetadataCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("PcaConnectorScep", "ListChallengeMetadata", {})
13
- .n("PcaConnectorScepClient", "ListChallengeMetadataCommand")
14
- .sc(ListChallengeMetadata$)
15
- .build() {
3
+ export class ListChallengeMetadataCommand extends command(_ep0, _mw0, "ListChallengeMetadata", ListChallengeMetadata$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListConnectors$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListConnectorsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("PcaConnectorScep", "ListConnectors", {})
13
- .n("PcaConnectorScepClient", "ListConnectorsCommand")
14
- .sc(ListConnectors$)
15
- .build() {
3
+ export class ListConnectorsCommand extends command(_ep0, _mw0, "ListConnectors", ListConnectors$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
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 { $Command };
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("PcaConnectorScep", "ListTagsForResource", {})
13
- .n("PcaConnectorScepClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource$)
15
- .build() {
3
+ export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
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 { $Command };
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("PcaConnectorScep", "TagResource", {})
13
- .n("PcaConnectorScepClient", "TagResourceCommand")
14
- .sc(TagResource$)
15
- .build() {
3
+ export class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
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 { $Command };
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("PcaConnectorScep", "UntagResource", {})
13
- .n("PcaConnectorScepClient", "UntagResourceCommand")
14
- .sc(UntagResource$)
15
- .build() {
3
+ export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./PcaConnectorScepClient";
2
2
  export * from "./PcaConnectorScep";
3
3
  export * from "./commands";
4
+ export { Command as $Command } from "@smithy/core/client";
4
5
  export * from "./schemas/schemas_0";
5
6
  export * from "./pagination";
6
7
  export * from "./models/enums";
@@ -0,0 +1,18 @@
1
+ import type { EndpointParameterInstructions } from "@smithy/types";
2
+ import type { PcaConnectorScepClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./PcaConnectorScepClient";
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, PcaConnectorScepClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, PcaConnectorScepClientResolvedConfig, 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
2
  import type { CreateChallengeRequest, CreateChallengeResponse } from "../models/models_0";
4
- import type { PcaConnectorScepClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PcaConnectorScepClient";
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 CreateChallengeCommandInput extends CreateChallengeRequest {
22
19
  export interface CreateChallengeCommandOutput extends CreateChallengeResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CreateChallengeCommand_base: {
25
- new (input: CreateChallengeCommandInput): import("@smithy/core/client").CommandImpl<CreateChallengeCommandInput, CreateChallengeCommandOutput, PcaConnectorScepClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateChallengeCommandInput): import("@smithy/core/client").CommandImpl<CreateChallengeCommandInput, CreateChallengeCommandOutput, PcaConnectorScepClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateChallengeCommandInput): import("@smithy/core/client").CommandImpl<CreateChallengeCommandInput, CreateChallengeCommandOutput, import("..").PcaConnectorScepClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateChallengeCommandInput): import("@smithy/core/client").CommandImpl<CreateChallengeCommandInput, CreateChallengeCommandOutput, import("..").PcaConnectorScepClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>For general-purpose connectors. Creates a <i>challenge password</i> for the specified connector. The SCEP protocol uses a challenge password to authenticate a request before issuing a certificate from a certificate authority (CA). Your SCEP clients include the challenge password as part of their certificate request to Connector for SCEP. To retrieve the connector Amazon Resource Names (ARNs) for the connectors in your account, call <a href="https://docs.aws.amazon.com/pca-connector-scep/latest/APIReference/API_ListConnectors.html">ListConnectors</a>.</p> <p>To create additional challenge passwords for the connector, call <code>CreateChallenge</code> again. We recommend frequently rotating your challenge passwords.</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
2
  import type { CreateConnectorRequest, CreateConnectorResponse } from "../models/models_0";
4
- import type { PcaConnectorScepClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PcaConnectorScepClient";
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 CreateConnectorCommandInput extends CreateConnectorRequest {
22
19
  export interface CreateConnectorCommandOutput extends CreateConnectorResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CreateConnectorCommand_base: {
25
- new (input: CreateConnectorCommandInput): import("@smithy/core/client").CommandImpl<CreateConnectorCommandInput, CreateConnectorCommandOutput, PcaConnectorScepClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateConnectorCommandInput): import("@smithy/core/client").CommandImpl<CreateConnectorCommandInput, CreateConnectorCommandOutput, PcaConnectorScepClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateConnectorCommandInput): import("@smithy/core/client").CommandImpl<CreateConnectorCommandInput, CreateConnectorCommandOutput, import("..").PcaConnectorScepClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateConnectorCommandInput): import("@smithy/core/client").CommandImpl<CreateConnectorCommandInput, CreateConnectorCommandOutput, import("..").PcaConnectorScepClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Creates a SCEP connector. A SCEP connector links Amazon Web Services Private Certificate Authority to your SCEP-compatible devices and mobile device management (MDM) systems. Before you create a connector, you must complete a set of prerequisites, including creation of a private certificate authority (CA) to use with this connector. For more information, see <a href="https://docs.aws.amazon.com/privateca/latest/userguide/scep-connector.htmlconnector-for-scep-prerequisites.html">Connector for SCEP prerequisites</a>.</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
2
  import type { DeleteChallengeRequest } from "../models/models_0";
4
- import type { PcaConnectorScepClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PcaConnectorScepClient";
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 DeleteChallengeCommandInput extends DeleteChallengeRequest {
22
19
  export interface DeleteChallengeCommandOutput extends __MetadataBearer {
23
20
  }
24
21
  declare const DeleteChallengeCommand_base: {
25
- new (input: DeleteChallengeCommandInput): import("@smithy/core/client").CommandImpl<DeleteChallengeCommandInput, DeleteChallengeCommandOutput, PcaConnectorScepClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DeleteChallengeCommandInput): import("@smithy/core/client").CommandImpl<DeleteChallengeCommandInput, DeleteChallengeCommandOutput, PcaConnectorScepClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: DeleteChallengeCommandInput): import("@smithy/core/client").CommandImpl<DeleteChallengeCommandInput, DeleteChallengeCommandOutput, import("..").PcaConnectorScepClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteChallengeCommandInput): import("@smithy/core/client").CommandImpl<DeleteChallengeCommandInput, DeleteChallengeCommandOutput, import("..").PcaConnectorScepClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Deletes the specified <a href="https://docs.aws.amazon.com/pca-connector-scep/latest/APIReference/API_Challenge.html">Challenge</a>.</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
2
  import type { DeleteConnectorRequest } from "../models/models_0";
4
- import type { PcaConnectorScepClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PcaConnectorScepClient";
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 DeleteConnectorCommandInput extends DeleteConnectorRequest {
22
19
  export interface DeleteConnectorCommandOutput extends __MetadataBearer {
23
20
  }
24
21
  declare const DeleteConnectorCommand_base: {
25
- new (input: DeleteConnectorCommandInput): import("@smithy/core/client").CommandImpl<DeleteConnectorCommandInput, DeleteConnectorCommandOutput, PcaConnectorScepClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DeleteConnectorCommandInput): import("@smithy/core/client").CommandImpl<DeleteConnectorCommandInput, DeleteConnectorCommandOutput, PcaConnectorScepClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: DeleteConnectorCommandInput): import("@smithy/core/client").CommandImpl<DeleteConnectorCommandInput, DeleteConnectorCommandOutput, import("..").PcaConnectorScepClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteConnectorCommandInput): import("@smithy/core/client").CommandImpl<DeleteConnectorCommandInput, DeleteConnectorCommandOutput, import("..").PcaConnectorScepClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Deletes the specified <a href="https://docs.aws.amazon.com/pca-connector-scep/latest/APIReference/API_Connector.html">Connector</a>. This operation also deletes any challenges associated with the connector.</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
2
  import type { GetChallengeMetadataRequest, GetChallengeMetadataResponse } from "../models/models_0";
4
- import type { PcaConnectorScepClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PcaConnectorScepClient";
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 GetChallengeMetadataCommandInput extends GetChallengeMetadataRe
22
19
  export interface GetChallengeMetadataCommandOutput extends GetChallengeMetadataResponse, __MetadataBearer {
23
20
  }
24
21
  declare const GetChallengeMetadataCommand_base: {
25
- new (input: GetChallengeMetadataCommandInput): import("@smithy/core/client").CommandImpl<GetChallengeMetadataCommandInput, GetChallengeMetadataCommandOutput, PcaConnectorScepClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: GetChallengeMetadataCommandInput): import("@smithy/core/client").CommandImpl<GetChallengeMetadataCommandInput, GetChallengeMetadataCommandOutput, PcaConnectorScepClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: GetChallengeMetadataCommandInput): import("@smithy/core/client").CommandImpl<GetChallengeMetadataCommandInput, GetChallengeMetadataCommandOutput, import("..").PcaConnectorScepClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetChallengeMetadataCommandInput): import("@smithy/core/client").CommandImpl<GetChallengeMetadataCommandInput, GetChallengeMetadataCommandOutput, import("..").PcaConnectorScepClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Retrieves the metadata for the specified <a href="https://docs.aws.amazon.com/pca-connector-scep/latest/APIReference/API_Challenge.html">Challenge</a>.</p>