@aws-sdk/client-pca-connector-scep 3.595.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 (143) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +305 -0
  3. package/dist-cjs/PcaConnectorScep.js +35 -0
  4. package/dist-cjs/PcaConnectorScepClient.js +56 -0
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  6. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  7. package/dist-cjs/commands/CreateChallengeCommand.js +29 -0
  8. package/dist-cjs/commands/CreateConnectorCommand.js +28 -0
  9. package/dist-cjs/commands/DeleteChallengeCommand.js +28 -0
  10. package/dist-cjs/commands/DeleteConnectorCommand.js +28 -0
  11. package/dist-cjs/commands/GetChallengeMetadataCommand.js +28 -0
  12. package/dist-cjs/commands/GetChallengePasswordCommand.js +29 -0
  13. package/dist-cjs/commands/GetConnectorCommand.js +28 -0
  14. package/dist-cjs/commands/ListChallengeMetadataCommand.js +28 -0
  15. package/dist-cjs/commands/ListConnectorsCommand.js +28 -0
  16. package/dist-cjs/commands/ListTagsForResourceCommand.js +28 -0
  17. package/dist-cjs/commands/TagResourceCommand.js +28 -0
  18. package/dist-cjs/commands/UntagResourceCommand.js +28 -0
  19. package/dist-cjs/commands/index.js +15 -0
  20. package/dist-cjs/endpoint/EndpointParameters.js +18 -0
  21. package/dist-cjs/endpoint/endpointResolver.js +14 -0
  22. package/dist-cjs/endpoint/ruleset.js +7 -0
  23. package/dist-cjs/extensionConfiguration.js +2 -0
  24. package/dist-cjs/index.js +11 -0
  25. package/dist-cjs/models/PcaConnectorScepServiceException.js +12 -0
  26. package/dist-cjs/models/index.js +4 -0
  27. package/dist-cjs/models/models_0.js +177 -0
  28. package/dist-cjs/pagination/Interfaces.js +2 -0
  29. package/dist-cjs/pagination/ListChallengeMetadataPaginator.js +7 -0
  30. package/dist-cjs/pagination/ListConnectorsPaginator.js +7 -0
  31. package/dist-cjs/pagination/index.js +6 -0
  32. package/dist-cjs/protocols/Aws_restJson1.js +565 -0
  33. package/dist-cjs/runtimeConfig.browser.js +39 -0
  34. package/dist-cjs/runtimeConfig.js +49 -0
  35. package/dist-cjs/runtimeConfig.native.js +15 -0
  36. package/dist-cjs/runtimeConfig.shared.js +34 -0
  37. package/dist-cjs/runtimeExtensions.js +25 -0
  38. package/dist-es/PcaConnectorScep.js +31 -0
  39. package/dist-es/PcaConnectorScepClient.js +52 -0
  40. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  41. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  42. package/dist-es/commands/CreateChallengeCommand.js +25 -0
  43. package/dist-es/commands/CreateConnectorCommand.js +24 -0
  44. package/dist-es/commands/DeleteChallengeCommand.js +24 -0
  45. package/dist-es/commands/DeleteConnectorCommand.js +24 -0
  46. package/dist-es/commands/GetChallengeMetadataCommand.js +24 -0
  47. package/dist-es/commands/GetChallengePasswordCommand.js +25 -0
  48. package/dist-es/commands/GetConnectorCommand.js +24 -0
  49. package/dist-es/commands/ListChallengeMetadataCommand.js +24 -0
  50. package/dist-es/commands/ListConnectorsCommand.js +24 -0
  51. package/dist-es/commands/ListTagsForResourceCommand.js +24 -0
  52. package/dist-es/commands/TagResourceCommand.js +24 -0
  53. package/dist-es/commands/UntagResourceCommand.js +24 -0
  54. package/dist-es/commands/index.js +12 -0
  55. package/dist-es/endpoint/EndpointParameters.js +14 -0
  56. package/dist-es/endpoint/endpointResolver.js +10 -0
  57. package/dist-es/endpoint/ruleset.js +4 -0
  58. package/dist-es/extensionConfiguration.js +1 -0
  59. package/dist-es/index.js +6 -0
  60. package/dist-es/models/PcaConnectorScepServiceException.js +8 -0
  61. package/dist-es/models/index.js +1 -0
  62. package/dist-es/models/models_0.js +163 -0
  63. package/dist-es/pagination/Interfaces.js +1 -0
  64. package/dist-es/pagination/ListChallengeMetadataPaginator.js +4 -0
  65. package/dist-es/pagination/ListConnectorsPaginator.js +4 -0
  66. package/dist-es/pagination/index.js +3 -0
  67. package/dist-es/protocols/Aws_restJson1.js +538 -0
  68. package/dist-es/runtimeConfig.browser.js +34 -0
  69. package/dist-es/runtimeConfig.js +44 -0
  70. package/dist-es/runtimeConfig.native.js +11 -0
  71. package/dist-es/runtimeConfig.shared.js +30 -0
  72. package/dist-es/runtimeExtensions.js +21 -0
  73. package/dist-types/PcaConnectorScep.d.ts +99 -0
  74. package/dist-types/PcaConnectorScepClient.d.ts +187 -0
  75. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  76. package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
  77. package/dist-types/commands/CreateChallengeCommand.d.ts +101 -0
  78. package/dist-types/commands/CreateConnectorCommand.d.ts +97 -0
  79. package/dist-types/commands/DeleteChallengeCommand.d.ts +82 -0
  80. package/dist-types/commands/DeleteConnectorCommand.d.ts +82 -0
  81. package/dist-types/commands/GetChallengeMetadataCommand.d.ts +85 -0
  82. package/dist-types/commands/GetChallengePasswordCommand.d.ts +80 -0
  83. package/dist-types/commands/GetConnectorCommand.d.ts +100 -0
  84. package/dist-types/commands/ListChallengeMetadataCommand.d.ts +90 -0
  85. package/dist-types/commands/ListConnectorsCommand.d.ts +101 -0
  86. package/dist-types/commands/ListTagsForResourceCommand.d.ts +86 -0
  87. package/dist-types/commands/TagResourceCommand.d.ts +81 -0
  88. package/dist-types/commands/UntagResourceCommand.d.ts +81 -0
  89. package/dist-types/commands/index.d.ts +12 -0
  90. package/dist-types/endpoint/EndpointParameters.d.ts +40 -0
  91. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  92. package/dist-types/endpoint/ruleset.d.ts +2 -0
  93. package/dist-types/extensionConfiguration.d.ts +9 -0
  94. package/dist-types/index.d.ts +18 -0
  95. package/dist-types/models/PcaConnectorScepServiceException.d.ts +14 -0
  96. package/dist-types/models/index.d.ts +1 -0
  97. package/dist-types/models/models_0.d.ts +763 -0
  98. package/dist-types/pagination/Interfaces.d.ts +8 -0
  99. package/dist-types/pagination/ListChallengeMetadataPaginator.d.ts +7 -0
  100. package/dist-types/pagination/ListConnectorsPaginator.d.ts +7 -0
  101. package/dist-types/pagination/index.d.ts +3 -0
  102. package/dist-types/protocols/Aws_restJson1.d.ts +110 -0
  103. package/dist-types/runtimeConfig.browser.d.ts +45 -0
  104. package/dist-types/runtimeConfig.d.ts +45 -0
  105. package/dist-types/runtimeConfig.native.d.ts +44 -0
  106. package/dist-types/runtimeConfig.shared.d.ts +21 -0
  107. package/dist-types/runtimeExtensions.d.ts +17 -0
  108. package/dist-types/ts3.4/PcaConnectorScep.d.ts +212 -0
  109. package/dist-types/ts3.4/PcaConnectorScepClient.d.ts +195 -0
  110. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  111. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
  112. package/dist-types/ts3.4/commands/CreateChallengeCommand.d.ts +39 -0
  113. package/dist-types/ts3.4/commands/CreateConnectorCommand.d.ts +39 -0
  114. package/dist-types/ts3.4/commands/DeleteChallengeCommand.d.ts +34 -0
  115. package/dist-types/ts3.4/commands/DeleteConnectorCommand.d.ts +34 -0
  116. package/dist-types/ts3.4/commands/GetChallengeMetadataCommand.d.ts +40 -0
  117. package/dist-types/ts3.4/commands/GetChallengePasswordCommand.d.ts +40 -0
  118. package/dist-types/ts3.4/commands/GetConnectorCommand.d.ts +36 -0
  119. package/dist-types/ts3.4/commands/ListChallengeMetadataCommand.d.ts +40 -0
  120. package/dist-types/ts3.4/commands/ListConnectorsCommand.d.ts +39 -0
  121. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +40 -0
  122. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +34 -0
  123. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +34 -0
  124. package/dist-types/ts3.4/commands/index.d.ts +12 -0
  125. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
  126. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  127. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  128. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  129. package/dist-types/ts3.4/index.d.ts +9 -0
  130. package/dist-types/ts3.4/models/PcaConnectorScepServiceException.d.ts +9 -0
  131. package/dist-types/ts3.4/models/index.d.ts +1 -0
  132. package/dist-types/ts3.4/models/models_0.d.ts +257 -0
  133. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  134. package/dist-types/ts3.4/pagination/ListChallengeMetadataPaginator.d.ts +11 -0
  135. package/dist-types/ts3.4/pagination/ListConnectorsPaginator.d.ts +11 -0
  136. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  137. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +149 -0
  138. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +87 -0
  139. package/dist-types/ts3.4/runtimeConfig.d.ts +91 -0
  140. package/dist-types/ts3.4/runtimeConfig.native.d.ts +81 -0
  141. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +23 -0
  142. package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
  143. package/package.json +103 -0
@@ -0,0 +1,163 @@
1
+ import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
+ import { PcaConnectorScepServiceException as __BaseException } from "./PcaConnectorScepServiceException";
3
+ export class AccessDeniedException extends __BaseException {
4
+ constructor(opts) {
5
+ super({
6
+ name: "AccessDeniedException",
7
+ $fault: "client",
8
+ ...opts,
9
+ });
10
+ this.name = "AccessDeniedException";
11
+ this.$fault = "client";
12
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
13
+ this.Message = opts.Message;
14
+ }
15
+ }
16
+ export class BadRequestException extends __BaseException {
17
+ constructor(opts) {
18
+ super({
19
+ name: "BadRequestException",
20
+ $fault: "client",
21
+ ...opts,
22
+ });
23
+ this.name = "BadRequestException";
24
+ this.$fault = "client";
25
+ Object.setPrototypeOf(this, BadRequestException.prototype);
26
+ this.Message = opts.Message;
27
+ }
28
+ }
29
+ export class ConflictException extends __BaseException {
30
+ constructor(opts) {
31
+ super({
32
+ name: "ConflictException",
33
+ $fault: "client",
34
+ ...opts,
35
+ });
36
+ this.name = "ConflictException";
37
+ this.$fault = "client";
38
+ Object.setPrototypeOf(this, ConflictException.prototype);
39
+ this.Message = opts.Message;
40
+ this.ResourceId = opts.ResourceId;
41
+ this.ResourceType = opts.ResourceType;
42
+ }
43
+ }
44
+ export class InternalServerException extends __BaseException {
45
+ constructor(opts) {
46
+ super({
47
+ name: "InternalServerException",
48
+ $fault: "server",
49
+ ...opts,
50
+ });
51
+ this.name = "InternalServerException";
52
+ this.$fault = "server";
53
+ this.$retryable = {};
54
+ Object.setPrototypeOf(this, InternalServerException.prototype);
55
+ this.Message = opts.Message;
56
+ }
57
+ }
58
+ export class ResourceNotFoundException extends __BaseException {
59
+ constructor(opts) {
60
+ super({
61
+ name: "ResourceNotFoundException",
62
+ $fault: "client",
63
+ ...opts,
64
+ });
65
+ this.name = "ResourceNotFoundException";
66
+ this.$fault = "client";
67
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
68
+ this.Message = opts.Message;
69
+ this.ResourceId = opts.ResourceId;
70
+ this.ResourceType = opts.ResourceType;
71
+ }
72
+ }
73
+ export class ServiceQuotaExceededException extends __BaseException {
74
+ constructor(opts) {
75
+ super({
76
+ name: "ServiceQuotaExceededException",
77
+ $fault: "client",
78
+ ...opts,
79
+ });
80
+ this.name = "ServiceQuotaExceededException";
81
+ this.$fault = "client";
82
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
83
+ this.Message = opts.Message;
84
+ this.ResourceType = opts.ResourceType;
85
+ this.ServiceCode = opts.ServiceCode;
86
+ this.QuotaCode = opts.QuotaCode;
87
+ }
88
+ }
89
+ export class ThrottlingException extends __BaseException {
90
+ constructor(opts) {
91
+ super({
92
+ name: "ThrottlingException",
93
+ $fault: "client",
94
+ ...opts,
95
+ });
96
+ this.name = "ThrottlingException";
97
+ this.$fault = "client";
98
+ this.$retryable = {
99
+ throttling: true,
100
+ };
101
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
102
+ this.Message = opts.Message;
103
+ }
104
+ }
105
+ export const ValidationExceptionReason = {
106
+ CA_CERT_VALIDITY_TOO_SHORT: "CA_CERT_VALIDITY_TOO_SHORT",
107
+ INVALID_CA_USAGE_MODE: "INVALID_CA_USAGE_MODE",
108
+ INVALID_CONNECTOR_TYPE: "INVALID_CONNECTOR_TYPE",
109
+ INVALID_STATE: "INVALID_STATE",
110
+ NO_CLIENT_TOKEN: "NO_CLIENT_TOKEN",
111
+ OTHER: "OTHER",
112
+ UNKNOWN_OPERATION: "UNKNOWN_OPERATION",
113
+ };
114
+ export class ValidationException extends __BaseException {
115
+ constructor(opts) {
116
+ super({
117
+ name: "ValidationException",
118
+ $fault: "client",
119
+ ...opts,
120
+ });
121
+ this.name = "ValidationException";
122
+ this.$fault = "client";
123
+ Object.setPrototypeOf(this, ValidationException.prototype);
124
+ this.Message = opts.Message;
125
+ this.Reason = opts.Reason;
126
+ }
127
+ }
128
+ export var MobileDeviceManagement;
129
+ (function (MobileDeviceManagement) {
130
+ MobileDeviceManagement.visit = (value, visitor) => {
131
+ if (value.Intune !== undefined)
132
+ return visitor.Intune(value.Intune);
133
+ return visitor._(value.$unknown[0], value.$unknown[1]);
134
+ };
135
+ })(MobileDeviceManagement || (MobileDeviceManagement = {}));
136
+ export const ConnectorStatus = {
137
+ ACTIVE: "ACTIVE",
138
+ CREATING: "CREATING",
139
+ DELETING: "DELETING",
140
+ FAILED: "FAILED",
141
+ };
142
+ export const ConnectorStatusReason = {
143
+ INTERNAL_FAILURE: "INTERNAL_FAILURE",
144
+ PRIVATECA_ACCESS_DENIED: "PRIVATECA_ACCESS_DENIED",
145
+ PRIVATECA_INVALID_STATE: "PRIVATECA_INVALID_STATE",
146
+ PRIVATECA_RESOURCE_NOT_FOUND: "PRIVATECA_RESOURCE_NOT_FOUND",
147
+ };
148
+ export const ConnectorType = {
149
+ GENERAL_PURPOSE: "GENERAL_PURPOSE",
150
+ INTUNE: "INTUNE",
151
+ };
152
+ export const ChallengeFilterSensitiveLog = (obj) => ({
153
+ ...obj,
154
+ ...(obj.Password && { Password: SENSITIVE_STRING }),
155
+ });
156
+ export const CreateChallengeResponseFilterSensitiveLog = (obj) => ({
157
+ ...obj,
158
+ ...(obj.Challenge && { Challenge: ChallengeFilterSensitiveLog(obj.Challenge) }),
159
+ });
160
+ export const GetChallengePasswordResponseFilterSensitiveLog = (obj) => ({
161
+ ...obj,
162
+ ...(obj.Password && { Password: SENSITIVE_STRING }),
163
+ });
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListChallengeMetadataCommand, } from "../commands/ListChallengeMetadataCommand";
3
+ import { PcaConnectorScepClient } from "../PcaConnectorScepClient";
4
+ export const paginateListChallengeMetadata = createPaginator(PcaConnectorScepClient, ListChallengeMetadataCommand, "NextToken", "NextToken", "MaxResults");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListConnectorsCommand, } from "../commands/ListConnectorsCommand";
3
+ import { PcaConnectorScepClient } from "../PcaConnectorScepClient";
4
+ export const paginateListConnectors = createPaginator(PcaConnectorScepClient, ListConnectorsCommand, "NextToken", "NextToken", "MaxResults");
@@ -0,0 +1,3 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListChallengeMetadataPaginator";
3
+ export * from "./ListConnectorsPaginator";