@aws-sdk/client-payment-cryptography 3.349.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 (163) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +369 -0
  3. package/dist-cjs/PaymentCryptography.js +51 -0
  4. package/dist-cjs/PaymentCryptographyClient.js +41 -0
  5. package/dist-cjs/commands/CreateAliasCommand.js +46 -0
  6. package/dist-cjs/commands/CreateKeyCommand.js +46 -0
  7. package/dist-cjs/commands/DeleteAliasCommand.js +46 -0
  8. package/dist-cjs/commands/DeleteKeyCommand.js +46 -0
  9. package/dist-cjs/commands/ExportKeyCommand.js +47 -0
  10. package/dist-cjs/commands/GetAliasCommand.js +46 -0
  11. package/dist-cjs/commands/GetKeyCommand.js +46 -0
  12. package/dist-cjs/commands/GetParametersForExportCommand.js +47 -0
  13. package/dist-cjs/commands/GetParametersForImportCommand.js +47 -0
  14. package/dist-cjs/commands/GetPublicKeyCertificateCommand.js +47 -0
  15. package/dist-cjs/commands/ImportKeyCommand.js +47 -0
  16. package/dist-cjs/commands/ListAliasesCommand.js +46 -0
  17. package/dist-cjs/commands/ListKeysCommand.js +46 -0
  18. package/dist-cjs/commands/ListTagsForResourceCommand.js +46 -0
  19. package/dist-cjs/commands/RestoreKeyCommand.js +46 -0
  20. package/dist-cjs/commands/StartKeyUsageCommand.js +46 -0
  21. package/dist-cjs/commands/StopKeyUsageCommand.js +46 -0
  22. package/dist-cjs/commands/TagResourceCommand.js +46 -0
  23. package/dist-cjs/commands/UntagResourceCommand.js +46 -0
  24. package/dist-cjs/commands/UpdateAliasCommand.js +46 -0
  25. package/dist-cjs/commands/index.js +23 -0
  26. package/dist-cjs/endpoint/EndpointParameters.js +12 -0
  27. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  28. package/dist-cjs/endpoint/ruleset.js +7 -0
  29. package/dist-cjs/index.js +11 -0
  30. package/dist-cjs/models/PaymentCryptographyServiceException.js +12 -0
  31. package/dist-cjs/models/index.js +4 -0
  32. package/dist-cjs/models/models_0.js +291 -0
  33. package/dist-cjs/pagination/Interfaces.js +2 -0
  34. package/dist-cjs/pagination/ListAliasesPaginator.js +29 -0
  35. package/dist-cjs/pagination/ListKeysPaginator.js +29 -0
  36. package/dist-cjs/pagination/ListTagsForResourcePaginator.js +29 -0
  37. package/dist-cjs/pagination/index.js +7 -0
  38. package/dist-cjs/protocols/Aws_json1_0.js +1396 -0
  39. package/dist-cjs/runtimeConfig.browser.js +39 -0
  40. package/dist-cjs/runtimeConfig.js +48 -0
  41. package/dist-cjs/runtimeConfig.native.js +15 -0
  42. package/dist-cjs/runtimeConfig.shared.js +21 -0
  43. package/dist-es/PaymentCryptography.js +47 -0
  44. package/dist-es/PaymentCryptographyClient.js +37 -0
  45. package/dist-es/commands/CreateAliasCommand.js +42 -0
  46. package/dist-es/commands/CreateKeyCommand.js +42 -0
  47. package/dist-es/commands/DeleteAliasCommand.js +42 -0
  48. package/dist-es/commands/DeleteKeyCommand.js +42 -0
  49. package/dist-es/commands/ExportKeyCommand.js +43 -0
  50. package/dist-es/commands/GetAliasCommand.js +42 -0
  51. package/dist-es/commands/GetKeyCommand.js +42 -0
  52. package/dist-es/commands/GetParametersForExportCommand.js +43 -0
  53. package/dist-es/commands/GetParametersForImportCommand.js +43 -0
  54. package/dist-es/commands/GetPublicKeyCertificateCommand.js +43 -0
  55. package/dist-es/commands/ImportKeyCommand.js +43 -0
  56. package/dist-es/commands/ListAliasesCommand.js +42 -0
  57. package/dist-es/commands/ListKeysCommand.js +42 -0
  58. package/dist-es/commands/ListTagsForResourceCommand.js +42 -0
  59. package/dist-es/commands/RestoreKeyCommand.js +42 -0
  60. package/dist-es/commands/StartKeyUsageCommand.js +42 -0
  61. package/dist-es/commands/StopKeyUsageCommand.js +42 -0
  62. package/dist-es/commands/TagResourceCommand.js +42 -0
  63. package/dist-es/commands/UntagResourceCommand.js +42 -0
  64. package/dist-es/commands/UpdateAliasCommand.js +42 -0
  65. package/dist-es/commands/index.js +20 -0
  66. package/dist-es/endpoint/EndpointParameters.js +8 -0
  67. package/dist-es/endpoint/endpointResolver.js +8 -0
  68. package/dist-es/endpoint/ruleset.js +4 -0
  69. package/dist-es/index.js +6 -0
  70. package/dist-es/models/PaymentCryptographyServiceException.js +8 -0
  71. package/dist-es/models/index.js +1 -0
  72. package/dist-es/models/models_0.js +267 -0
  73. package/dist-es/pagination/Interfaces.js +1 -0
  74. package/dist-es/pagination/ListAliasesPaginator.js +25 -0
  75. package/dist-es/pagination/ListKeysPaginator.js +25 -0
  76. package/dist-es/pagination/ListTagsForResourcePaginator.js +25 -0
  77. package/dist-es/pagination/index.js +4 -0
  78. package/dist-es/protocols/Aws_json1_0.js +1353 -0
  79. package/dist-es/runtimeConfig.browser.js +34 -0
  80. package/dist-es/runtimeConfig.js +43 -0
  81. package/dist-es/runtimeConfig.native.js +11 -0
  82. package/dist-es/runtimeConfig.shared.js +17 -0
  83. package/dist-types/PaymentCryptography.d.ts +154 -0
  84. package/dist-types/PaymentCryptographyClient.d.ts +186 -0
  85. package/dist-types/commands/CreateAliasCommand.d.ts +130 -0
  86. package/dist-types/commands/CreateKeyCommand.d.ts +175 -0
  87. package/dist-types/commands/DeleteAliasCommand.d.ts +120 -0
  88. package/dist-types/commands/DeleteKeyCommand.d.ts +149 -0
  89. package/dist-types/commands/ExportKeyCommand.d.ts +153 -0
  90. package/dist-types/commands/GetAliasCommand.d.ts +121 -0
  91. package/dist-types/commands/GetKeyCommand.d.ts +142 -0
  92. package/dist-types/commands/GetParametersForExportCommand.d.ts +120 -0
  93. package/dist-types/commands/GetParametersForImportCommand.d.ts +120 -0
  94. package/dist-types/commands/GetPublicKeyCertificateCommand.d.ts +95 -0
  95. package/dist-types/commands/ImportKeyCommand.d.ts +301 -0
  96. package/dist-types/commands/ListAliasesCommand.d.ts +127 -0
  97. package/dist-types/commands/ListKeysCommand.d.ts +143 -0
  98. package/dist-types/commands/ListTagsForResourceCommand.d.ts +119 -0
  99. package/dist-types/commands/RestoreKeyCommand.d.ts +150 -0
  100. package/dist-types/commands/StartKeyUsageCommand.d.ts +138 -0
  101. package/dist-types/commands/StopKeyUsageCommand.d.ts +144 -0
  102. package/dist-types/commands/TagResourceCommand.d.ts +122 -0
  103. package/dist-types/commands/UntagResourceCommand.d.ts +115 -0
  104. package/dist-types/commands/UpdateAliasCommand.d.ts +125 -0
  105. package/dist-types/commands/index.d.ts +20 -0
  106. package/dist-types/endpoint/EndpointParameters.d.ts +20 -0
  107. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  108. package/dist-types/endpoint/ruleset.d.ts +2 -0
  109. package/dist-types/index.d.ts +15 -0
  110. package/dist-types/models/PaymentCryptographyServiceException.d.ts +13 -0
  111. package/dist-types/models/index.d.ts +1 -0
  112. package/dist-types/models/models_0.d.ts +1222 -0
  113. package/dist-types/pagination/Interfaces.d.ts +8 -0
  114. package/dist-types/pagination/ListAliasesPaginator.d.ts +7 -0
  115. package/dist-types/pagination/ListKeysPaginator.d.ts +7 -0
  116. package/dist-types/pagination/ListTagsForResourcePaginator.d.ts +7 -0
  117. package/dist-types/pagination/index.d.ts +4 -0
  118. package/dist-types/protocols/Aws_json1_0.d.ts +182 -0
  119. package/dist-types/runtimeConfig.browser.d.ts +42 -0
  120. package/dist-types/runtimeConfig.d.ts +42 -0
  121. package/dist-types/runtimeConfig.native.d.ts +41 -0
  122. package/dist-types/runtimeConfig.shared.d.ts +18 -0
  123. package/dist-types/ts3.4/PaymentCryptography.d.ts +347 -0
  124. package/dist-types/ts3.4/PaymentCryptographyClient.d.ts +235 -0
  125. package/dist-types/ts3.4/commands/CreateAliasCommand.d.ts +35 -0
  126. package/dist-types/ts3.4/commands/CreateKeyCommand.d.ts +35 -0
  127. package/dist-types/ts3.4/commands/DeleteAliasCommand.d.ts +35 -0
  128. package/dist-types/ts3.4/commands/DeleteKeyCommand.d.ts +35 -0
  129. package/dist-types/ts3.4/commands/ExportKeyCommand.d.ts +35 -0
  130. package/dist-types/ts3.4/commands/GetAliasCommand.d.ts +35 -0
  131. package/dist-types/ts3.4/commands/GetKeyCommand.d.ts +33 -0
  132. package/dist-types/ts3.4/commands/GetParametersForExportCommand.d.ts +42 -0
  133. package/dist-types/ts3.4/commands/GetParametersForImportCommand.d.ts +42 -0
  134. package/dist-types/ts3.4/commands/GetPublicKeyCertificateCommand.d.ts +42 -0
  135. package/dist-types/ts3.4/commands/ImportKeyCommand.d.ts +35 -0
  136. package/dist-types/ts3.4/commands/ListAliasesCommand.d.ts +35 -0
  137. package/dist-types/ts3.4/commands/ListKeysCommand.d.ts +35 -0
  138. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
  139. package/dist-types/ts3.4/commands/RestoreKeyCommand.d.ts +35 -0
  140. package/dist-types/ts3.4/commands/StartKeyUsageCommand.d.ts +35 -0
  141. package/dist-types/ts3.4/commands/StopKeyUsageCommand.d.ts +35 -0
  142. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +35 -0
  143. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +35 -0
  144. package/dist-types/ts3.4/commands/UpdateAliasCommand.d.ts +35 -0
  145. package/dist-types/ts3.4/commands/index.d.ts +20 -0
  146. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +32 -0
  147. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  148. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  149. package/dist-types/ts3.4/index.d.ts +6 -0
  150. package/dist-types/ts3.4/models/PaymentCryptographyServiceException.d.ts +8 -0
  151. package/dist-types/ts3.4/models/index.d.ts +1 -0
  152. package/dist-types/ts3.4/models/models_0.d.ts +490 -0
  153. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  154. package/dist-types/ts3.4/pagination/ListAliasesPaginator.d.ts +11 -0
  155. package/dist-types/ts3.4/pagination/ListKeysPaginator.d.ts +11 -0
  156. package/dist-types/ts3.4/pagination/ListTagsForResourcePaginator.d.ts +11 -0
  157. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  158. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +245 -0
  159. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +96 -0
  160. package/dist-types/ts3.4/runtimeConfig.d.ts +93 -0
  161. package/dist-types/ts3.4/runtimeConfig.native.d.ts +87 -0
  162. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +20 -0
  163. package/package.json +99 -0
@@ -0,0 +1,245 @@
1
+ import {
2
+ HttpRequest as __HttpRequest,
3
+ HttpResponse as __HttpResponse,
4
+ } from "@smithy/protocol-http";
5
+ import { SerdeContext as __SerdeContext } from "@smithy/types";
6
+ import {
7
+ CreateAliasCommandInput,
8
+ CreateAliasCommandOutput,
9
+ } from "../commands/CreateAliasCommand";
10
+ import {
11
+ CreateKeyCommandInput,
12
+ CreateKeyCommandOutput,
13
+ } from "../commands/CreateKeyCommand";
14
+ import {
15
+ DeleteAliasCommandInput,
16
+ DeleteAliasCommandOutput,
17
+ } from "../commands/DeleteAliasCommand";
18
+ import {
19
+ DeleteKeyCommandInput,
20
+ DeleteKeyCommandOutput,
21
+ } from "../commands/DeleteKeyCommand";
22
+ import {
23
+ ExportKeyCommandInput,
24
+ ExportKeyCommandOutput,
25
+ } from "../commands/ExportKeyCommand";
26
+ import {
27
+ GetAliasCommandInput,
28
+ GetAliasCommandOutput,
29
+ } from "../commands/GetAliasCommand";
30
+ import {
31
+ GetKeyCommandInput,
32
+ GetKeyCommandOutput,
33
+ } from "../commands/GetKeyCommand";
34
+ import {
35
+ GetParametersForExportCommandInput,
36
+ GetParametersForExportCommandOutput,
37
+ } from "../commands/GetParametersForExportCommand";
38
+ import {
39
+ GetParametersForImportCommandInput,
40
+ GetParametersForImportCommandOutput,
41
+ } from "../commands/GetParametersForImportCommand";
42
+ import {
43
+ GetPublicKeyCertificateCommandInput,
44
+ GetPublicKeyCertificateCommandOutput,
45
+ } from "../commands/GetPublicKeyCertificateCommand";
46
+ import {
47
+ ImportKeyCommandInput,
48
+ ImportKeyCommandOutput,
49
+ } from "../commands/ImportKeyCommand";
50
+ import {
51
+ ListAliasesCommandInput,
52
+ ListAliasesCommandOutput,
53
+ } from "../commands/ListAliasesCommand";
54
+ import {
55
+ ListKeysCommandInput,
56
+ ListKeysCommandOutput,
57
+ } from "../commands/ListKeysCommand";
58
+ import {
59
+ ListTagsForResourceCommandInput,
60
+ ListTagsForResourceCommandOutput,
61
+ } from "../commands/ListTagsForResourceCommand";
62
+ import {
63
+ RestoreKeyCommandInput,
64
+ RestoreKeyCommandOutput,
65
+ } from "../commands/RestoreKeyCommand";
66
+ import {
67
+ StartKeyUsageCommandInput,
68
+ StartKeyUsageCommandOutput,
69
+ } from "../commands/StartKeyUsageCommand";
70
+ import {
71
+ StopKeyUsageCommandInput,
72
+ StopKeyUsageCommandOutput,
73
+ } from "../commands/StopKeyUsageCommand";
74
+ import {
75
+ TagResourceCommandInput,
76
+ TagResourceCommandOutput,
77
+ } from "../commands/TagResourceCommand";
78
+ import {
79
+ UntagResourceCommandInput,
80
+ UntagResourceCommandOutput,
81
+ } from "../commands/UntagResourceCommand";
82
+ import {
83
+ UpdateAliasCommandInput,
84
+ UpdateAliasCommandOutput,
85
+ } from "../commands/UpdateAliasCommand";
86
+ export declare const se_CreateAliasCommand: (
87
+ input: CreateAliasCommandInput,
88
+ context: __SerdeContext
89
+ ) => Promise<__HttpRequest>;
90
+ export declare const se_CreateKeyCommand: (
91
+ input: CreateKeyCommandInput,
92
+ context: __SerdeContext
93
+ ) => Promise<__HttpRequest>;
94
+ export declare const se_DeleteAliasCommand: (
95
+ input: DeleteAliasCommandInput,
96
+ context: __SerdeContext
97
+ ) => Promise<__HttpRequest>;
98
+ export declare const se_DeleteKeyCommand: (
99
+ input: DeleteKeyCommandInput,
100
+ context: __SerdeContext
101
+ ) => Promise<__HttpRequest>;
102
+ export declare const se_ExportKeyCommand: (
103
+ input: ExportKeyCommandInput,
104
+ context: __SerdeContext
105
+ ) => Promise<__HttpRequest>;
106
+ export declare const se_GetAliasCommand: (
107
+ input: GetAliasCommandInput,
108
+ context: __SerdeContext
109
+ ) => Promise<__HttpRequest>;
110
+ export declare const se_GetKeyCommand: (
111
+ input: GetKeyCommandInput,
112
+ context: __SerdeContext
113
+ ) => Promise<__HttpRequest>;
114
+ export declare const se_GetParametersForExportCommand: (
115
+ input: GetParametersForExportCommandInput,
116
+ context: __SerdeContext
117
+ ) => Promise<__HttpRequest>;
118
+ export declare const se_GetParametersForImportCommand: (
119
+ input: GetParametersForImportCommandInput,
120
+ context: __SerdeContext
121
+ ) => Promise<__HttpRequest>;
122
+ export declare const se_GetPublicKeyCertificateCommand: (
123
+ input: GetPublicKeyCertificateCommandInput,
124
+ context: __SerdeContext
125
+ ) => Promise<__HttpRequest>;
126
+ export declare const se_ImportKeyCommand: (
127
+ input: ImportKeyCommandInput,
128
+ context: __SerdeContext
129
+ ) => Promise<__HttpRequest>;
130
+ export declare const se_ListAliasesCommand: (
131
+ input: ListAliasesCommandInput,
132
+ context: __SerdeContext
133
+ ) => Promise<__HttpRequest>;
134
+ export declare const se_ListKeysCommand: (
135
+ input: ListKeysCommandInput,
136
+ context: __SerdeContext
137
+ ) => Promise<__HttpRequest>;
138
+ export declare const se_ListTagsForResourceCommand: (
139
+ input: ListTagsForResourceCommandInput,
140
+ context: __SerdeContext
141
+ ) => Promise<__HttpRequest>;
142
+ export declare const se_RestoreKeyCommand: (
143
+ input: RestoreKeyCommandInput,
144
+ context: __SerdeContext
145
+ ) => Promise<__HttpRequest>;
146
+ export declare const se_StartKeyUsageCommand: (
147
+ input: StartKeyUsageCommandInput,
148
+ context: __SerdeContext
149
+ ) => Promise<__HttpRequest>;
150
+ export declare const se_StopKeyUsageCommand: (
151
+ input: StopKeyUsageCommandInput,
152
+ context: __SerdeContext
153
+ ) => Promise<__HttpRequest>;
154
+ export declare const se_TagResourceCommand: (
155
+ input: TagResourceCommandInput,
156
+ context: __SerdeContext
157
+ ) => Promise<__HttpRequest>;
158
+ export declare const se_UntagResourceCommand: (
159
+ input: UntagResourceCommandInput,
160
+ context: __SerdeContext
161
+ ) => Promise<__HttpRequest>;
162
+ export declare const se_UpdateAliasCommand: (
163
+ input: UpdateAliasCommandInput,
164
+ context: __SerdeContext
165
+ ) => Promise<__HttpRequest>;
166
+ export declare const de_CreateAliasCommand: (
167
+ output: __HttpResponse,
168
+ context: __SerdeContext
169
+ ) => Promise<CreateAliasCommandOutput>;
170
+ export declare const de_CreateKeyCommand: (
171
+ output: __HttpResponse,
172
+ context: __SerdeContext
173
+ ) => Promise<CreateKeyCommandOutput>;
174
+ export declare const de_DeleteAliasCommand: (
175
+ output: __HttpResponse,
176
+ context: __SerdeContext
177
+ ) => Promise<DeleteAliasCommandOutput>;
178
+ export declare const de_DeleteKeyCommand: (
179
+ output: __HttpResponse,
180
+ context: __SerdeContext
181
+ ) => Promise<DeleteKeyCommandOutput>;
182
+ export declare const de_ExportKeyCommand: (
183
+ output: __HttpResponse,
184
+ context: __SerdeContext
185
+ ) => Promise<ExportKeyCommandOutput>;
186
+ export declare const de_GetAliasCommand: (
187
+ output: __HttpResponse,
188
+ context: __SerdeContext
189
+ ) => Promise<GetAliasCommandOutput>;
190
+ export declare const de_GetKeyCommand: (
191
+ output: __HttpResponse,
192
+ context: __SerdeContext
193
+ ) => Promise<GetKeyCommandOutput>;
194
+ export declare const de_GetParametersForExportCommand: (
195
+ output: __HttpResponse,
196
+ context: __SerdeContext
197
+ ) => Promise<GetParametersForExportCommandOutput>;
198
+ export declare const de_GetParametersForImportCommand: (
199
+ output: __HttpResponse,
200
+ context: __SerdeContext
201
+ ) => Promise<GetParametersForImportCommandOutput>;
202
+ export declare const de_GetPublicKeyCertificateCommand: (
203
+ output: __HttpResponse,
204
+ context: __SerdeContext
205
+ ) => Promise<GetPublicKeyCertificateCommandOutput>;
206
+ export declare const de_ImportKeyCommand: (
207
+ output: __HttpResponse,
208
+ context: __SerdeContext
209
+ ) => Promise<ImportKeyCommandOutput>;
210
+ export declare const de_ListAliasesCommand: (
211
+ output: __HttpResponse,
212
+ context: __SerdeContext
213
+ ) => Promise<ListAliasesCommandOutput>;
214
+ export declare const de_ListKeysCommand: (
215
+ output: __HttpResponse,
216
+ context: __SerdeContext
217
+ ) => Promise<ListKeysCommandOutput>;
218
+ export declare const de_ListTagsForResourceCommand: (
219
+ output: __HttpResponse,
220
+ context: __SerdeContext
221
+ ) => Promise<ListTagsForResourceCommandOutput>;
222
+ export declare const de_RestoreKeyCommand: (
223
+ output: __HttpResponse,
224
+ context: __SerdeContext
225
+ ) => Promise<RestoreKeyCommandOutput>;
226
+ export declare const de_StartKeyUsageCommand: (
227
+ output: __HttpResponse,
228
+ context: __SerdeContext
229
+ ) => Promise<StartKeyUsageCommandOutput>;
230
+ export declare const de_StopKeyUsageCommand: (
231
+ output: __HttpResponse,
232
+ context: __SerdeContext
233
+ ) => Promise<StopKeyUsageCommandOutput>;
234
+ export declare const de_TagResourceCommand: (
235
+ output: __HttpResponse,
236
+ context: __SerdeContext
237
+ ) => Promise<TagResourceCommandOutput>;
238
+ export declare const de_UntagResourceCommand: (
239
+ output: __HttpResponse,
240
+ context: __SerdeContext
241
+ ) => Promise<UntagResourceCommandOutput>;
242
+ export declare const de_UpdateAliasCommand: (
243
+ output: __HttpResponse,
244
+ context: __SerdeContext
245
+ ) => Promise<UpdateAliasCommandOutput>;
@@ -0,0 +1,96 @@
1
+ import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
+ import { PaymentCryptographyClientConfig } from "./PaymentCryptographyClient";
3
+ export declare const getRuntimeConfig: (
4
+ config: PaymentCryptographyClientConfig
5
+ ) => {
6
+ runtime: string;
7
+ defaultsMode: import("@aws-sdk/types").Provider<
8
+ import("@aws-sdk/smithy-client").ResolvedDefaultsMode
9
+ >;
10
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
11
+ credentialDefaultProvider: (
12
+ input: any
13
+ ) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
14
+ defaultUserAgentProvider: import("@aws-sdk/types").Provider<
15
+ import("@aws-sdk/types").UserAgent
16
+ >;
17
+ maxAttempts: (number | import("@smithy/types").Provider<number>) &
18
+ (number | import("@aws-sdk/types").Provider<number>);
19
+ region: string | import("@aws-sdk/types").Provider<any>;
20
+ requestHandler:
21
+ | (import("@aws-sdk/types").RequestHandler<
22
+ any,
23
+ any,
24
+ import("@aws-sdk/types").HttpHandlerOptions
25
+ > &
26
+ import("@smithy/protocol-http").HttpHandler)
27
+ | RequestHandler;
28
+ retryMode: string | import("@smithy/types").Provider<string>;
29
+ sha256: import("@aws-sdk/types").HashConstructor;
30
+ streamCollector: import("@smithy/types").StreamCollector;
31
+ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
32
+ (boolean | import("@aws-sdk/types").Provider<boolean>);
33
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
34
+ (boolean | import("@aws-sdk/types").Provider<boolean>);
35
+ apiVersion: string;
36
+ urlParser: import("@aws-sdk/types").UrlParser;
37
+ base64Decoder: import("@smithy/types").Decoder;
38
+ base64Encoder: import("@smithy/types").Encoder;
39
+ utf8Decoder: import("@smithy/types").Decoder;
40
+ utf8Encoder: import("@smithy/types").Encoder;
41
+ disableHostPrefix: boolean;
42
+ serviceId: string;
43
+ logger: import("@aws-sdk/types").Logger;
44
+ endpoint?:
45
+ | ((
46
+ | string
47
+ | import("@aws-sdk/types").Endpoint
48
+ | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
49
+ | import("@aws-sdk/types").EndpointV2
50
+ | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>
51
+ ) &
52
+ (
53
+ | string
54
+ | import("@smithy/types").Provider<string>
55
+ | import("@smithy/types").Endpoint
56
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
57
+ | import("@aws-sdk/types").EndpointV2
58
+ | import("@smithy/types").Provider<
59
+ import("@aws-sdk/types").EndpointV2
60
+ >
61
+ ))
62
+ | undefined;
63
+ endpointProvider: (
64
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
65
+ context?: {
66
+ logger?: import("@aws-sdk/types").Logger | undefined;
67
+ }
68
+ ) => import("@aws-sdk/types").EndpointV2;
69
+ tls?: boolean | undefined;
70
+ retryStrategy?:
71
+ | import("@aws-sdk/types").RetryStrategy
72
+ | import("@aws-sdk/types").RetryStrategyV2
73
+ | undefined;
74
+ credentials?:
75
+ | import("@aws-sdk/types").AwsCredentialIdentity
76
+ | import("@aws-sdk/types").Provider<
77
+ import("@aws-sdk/types").AwsCredentialIdentity
78
+ >
79
+ | undefined;
80
+ signer?:
81
+ | import("@aws-sdk/types").RequestSigner
82
+ | ((
83
+ authScheme?: import("@aws-sdk/types").AuthScheme | undefined
84
+ ) => Promise<import("@aws-sdk/types").RequestSigner>)
85
+ | undefined;
86
+ signingEscapePath?: boolean | undefined;
87
+ systemClockOffset?: number | undefined;
88
+ signingRegion?: string | undefined;
89
+ signerConstructor?:
90
+ | (new (
91
+ options: import("@aws-sdk/signature-v4").SignatureV4Init &
92
+ import("@aws-sdk/signature-v4").SignatureV4CryptoInit
93
+ ) => import("@aws-sdk/types").RequestSigner)
94
+ | undefined;
95
+ customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
96
+ };
@@ -0,0 +1,93 @@
1
+ import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
2
+ import { PaymentCryptographyClientConfig } from "./PaymentCryptographyClient";
3
+ export declare const getRuntimeConfig: (
4
+ config: PaymentCryptographyClientConfig
5
+ ) => {
6
+ runtime: string;
7
+ defaultsMode: import("@aws-sdk/types").Provider<
8
+ import("@aws-sdk/smithy-client").ResolvedDefaultsMode
9
+ >;
10
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
11
+ credentialDefaultProvider: (
12
+ input: any
13
+ ) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
14
+ defaultUserAgentProvider: import("@aws-sdk/types").Provider<
15
+ import("@aws-sdk/types").UserAgent
16
+ >;
17
+ maxAttempts: number | import("@aws-sdk/types").Provider<number>;
18
+ region: string | import("@aws-sdk/types").Provider<string>;
19
+ requestHandler:
20
+ | (import("@aws-sdk/types").RequestHandler<
21
+ any,
22
+ any,
23
+ import("@aws-sdk/types").HttpHandlerOptions
24
+ > &
25
+ import("@smithy/protocol-http").HttpHandler)
26
+ | RequestHandler;
27
+ retryMode: string | import("@smithy/types").Provider<string>;
28
+ sha256: import("@aws-sdk/types").HashConstructor;
29
+ streamCollector: import("@smithy/types").StreamCollector;
30
+ useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
31
+ useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
32
+ apiVersion: string;
33
+ urlParser: import("@aws-sdk/types").UrlParser;
34
+ base64Decoder: import("@smithy/types").Decoder;
35
+ base64Encoder: import("@smithy/types").Encoder;
36
+ utf8Decoder: import("@smithy/types").Decoder;
37
+ utf8Encoder: import("@smithy/types").Encoder;
38
+ disableHostPrefix: boolean;
39
+ serviceId: string;
40
+ logger: import("@aws-sdk/types").Logger;
41
+ endpoint?:
42
+ | ((
43
+ | string
44
+ | import("@aws-sdk/types").Endpoint
45
+ | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
46
+ | import("@aws-sdk/types").EndpointV2
47
+ | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>
48
+ ) &
49
+ (
50
+ | string
51
+ | import("@smithy/types").Provider<string>
52
+ | import("@smithy/types").Endpoint
53
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
54
+ | import("@aws-sdk/types").EndpointV2
55
+ | import("@smithy/types").Provider<
56
+ import("@aws-sdk/types").EndpointV2
57
+ >
58
+ ))
59
+ | undefined;
60
+ endpointProvider: (
61
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
62
+ context?: {
63
+ logger?: import("@aws-sdk/types").Logger | undefined;
64
+ }
65
+ ) => import("@aws-sdk/types").EndpointV2;
66
+ tls?: boolean | undefined;
67
+ retryStrategy?:
68
+ | import("@aws-sdk/types").RetryStrategy
69
+ | import("@aws-sdk/types").RetryStrategyV2
70
+ | undefined;
71
+ credentials?:
72
+ | import("@aws-sdk/types").AwsCredentialIdentity
73
+ | import("@aws-sdk/types").Provider<
74
+ import("@aws-sdk/types").AwsCredentialIdentity
75
+ >
76
+ | undefined;
77
+ signer?:
78
+ | import("@aws-sdk/types").RequestSigner
79
+ | ((
80
+ authScheme?: import("@aws-sdk/types").AuthScheme | undefined
81
+ ) => Promise<import("@aws-sdk/types").RequestSigner>)
82
+ | undefined;
83
+ signingEscapePath?: boolean | undefined;
84
+ systemClockOffset?: number | undefined;
85
+ signingRegion?: string | undefined;
86
+ signerConstructor?:
87
+ | (new (
88
+ options: import("@aws-sdk/signature-v4").SignatureV4Init &
89
+ import("@aws-sdk/signature-v4").SignatureV4CryptoInit
90
+ ) => import("@aws-sdk/types").RequestSigner)
91
+ | undefined;
92
+ customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
93
+ };
@@ -0,0 +1,87 @@
1
+ import { PaymentCryptographyClientConfig } from "./PaymentCryptographyClient";
2
+ export declare const getRuntimeConfig: (
3
+ config: PaymentCryptographyClientConfig
4
+ ) => {
5
+ runtime: string;
6
+ sha256: import("@aws-sdk/types").HashConstructor;
7
+ requestHandler:
8
+ | (import("@aws-sdk/types").RequestHandler<
9
+ any,
10
+ any,
11
+ import("@aws-sdk/types").HttpHandlerOptions
12
+ > &
13
+ import("@smithy/protocol-http").HttpHandler)
14
+ | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
15
+ apiVersion: string;
16
+ urlParser: import("@aws-sdk/types").UrlParser;
17
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
18
+ streamCollector: import("@smithy/types").StreamCollector;
19
+ base64Decoder: import("@smithy/types").Decoder;
20
+ base64Encoder: import("@smithy/types").Encoder;
21
+ utf8Decoder: import("@smithy/types").Decoder;
22
+ utf8Encoder: import("@smithy/types").Encoder;
23
+ disableHostPrefix: boolean;
24
+ serviceId: string;
25
+ useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
26
+ (boolean | import("@aws-sdk/types").Provider<boolean>);
27
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
28
+ (boolean | import("@aws-sdk/types").Provider<boolean>);
29
+ region: string | import("@aws-sdk/types").Provider<any>;
30
+ credentialDefaultProvider: (
31
+ input: any
32
+ ) => import("@smithy/types").Provider<import("@aws-sdk/types").Credentials>;
33
+ defaultUserAgentProvider: import("@aws-sdk/types").Provider<
34
+ import("@aws-sdk/types").UserAgent
35
+ >;
36
+ maxAttempts: (number | import("@smithy/types").Provider<number>) &
37
+ (number | import("@aws-sdk/types").Provider<number>);
38
+ retryMode: string | import("@smithy/types").Provider<string>;
39
+ logger: import("@aws-sdk/types").Logger;
40
+ defaultsMode:
41
+ | import("@aws-sdk/smithy-client").DefaultsMode
42
+ | import("@smithy/types").Provider<
43
+ import("@aws-sdk/smithy-client").DefaultsMode
44
+ >;
45
+ endpoint?:
46
+ | string
47
+ | import("@aws-sdk/types").EndpointV2
48
+ | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> &
49
+ import("@smithy/types").Provider<import("@smithy/types").Endpoint>)
50
+ | (import("@aws-sdk/types").Endpoint & import("@smithy/types").Endpoint)
51
+ | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2> &
52
+ import("@smithy/types").Provider<import("@aws-sdk/types").EndpointV2>)
53
+ | undefined;
54
+ endpointProvider: (
55
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
56
+ context?: {
57
+ logger?: import("@aws-sdk/types").Logger | undefined;
58
+ }
59
+ ) => import("@aws-sdk/types").EndpointV2;
60
+ tls?: boolean | undefined;
61
+ retryStrategy?:
62
+ | import("@aws-sdk/types").RetryStrategy
63
+ | import("@aws-sdk/types").RetryStrategyV2
64
+ | undefined;
65
+ credentials?:
66
+ | import("@aws-sdk/types").AwsCredentialIdentity
67
+ | import("@aws-sdk/types").Provider<
68
+ import("@aws-sdk/types").AwsCredentialIdentity
69
+ >
70
+ | undefined;
71
+ signer?:
72
+ | import("@aws-sdk/types").RequestSigner
73
+ | ((
74
+ authScheme?: import("@aws-sdk/types").AuthScheme | undefined
75
+ ) => Promise<import("@aws-sdk/types").RequestSigner>)
76
+ | undefined;
77
+ signingEscapePath?: boolean | undefined;
78
+ systemClockOffset?: number | undefined;
79
+ signingRegion?: string | undefined;
80
+ signerConstructor?:
81
+ | (new (
82
+ options: import("@aws-sdk/signature-v4").SignatureV4Init &
83
+ import("@aws-sdk/signature-v4").SignatureV4CryptoInit
84
+ ) => import("@aws-sdk/types").RequestSigner)
85
+ | undefined;
86
+ customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
87
+ };
@@ -0,0 +1,20 @@
1
+ import { PaymentCryptographyClientConfig } from "./PaymentCryptographyClient";
2
+ export declare const getRuntimeConfig: (
3
+ config: PaymentCryptographyClientConfig
4
+ ) => {
5
+ apiVersion: string;
6
+ base64Decoder: import("@smithy/types").Decoder;
7
+ base64Encoder: import("@smithy/types").Encoder;
8
+ disableHostPrefix: boolean;
9
+ endpointProvider: (
10
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
11
+ context?: {
12
+ logger?: import("@aws-sdk/types").Logger | undefined;
13
+ }
14
+ ) => import("@aws-sdk/types").EndpointV2;
15
+ logger: import("@aws-sdk/types").Logger;
16
+ serviceId: string;
17
+ urlParser: import("@aws-sdk/types").UrlParser;
18
+ utf8Decoder: import("@smithy/types").Decoder;
19
+ utf8Encoder: import("@smithy/types").Encoder;
20
+ };
package/package.json ADDED
@@ -0,0 +1,99 @@
1
+ {
2
+ "name": "@aws-sdk/client-payment-cryptography",
3
+ "description": "AWS SDK for JavaScript Payment Cryptography Client for Node.js, Browser and React Native",
4
+ "version": "3.349.0",
5
+ "scripts": {
6
+ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
+ "build:cjs": "tsc -p tsconfig.cjs.json",
8
+ "build:docs": "typedoc",
9
+ "build:es": "tsc -p tsconfig.es.json",
10
+ "build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
11
+ "build:types": "tsc -p tsconfig.types.json",
12
+ "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
13
+ "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
14
+ "extract:docs": "api-extractor run --local",
15
+ "generate:client": "node ../../scripts/generate-clients/single-service --solo payment-cryptography"
16
+ },
17
+ "main": "./dist-cjs/index.js",
18
+ "types": "./dist-types/index.d.ts",
19
+ "module": "./dist-es/index.js",
20
+ "sideEffects": false,
21
+ "dependencies": {
22
+ "@aws-crypto/sha256-browser": "3.0.0",
23
+ "@aws-crypto/sha256-js": "3.0.0",
24
+ "@aws-sdk/client-sts": "3.348.0",
25
+ "@aws-sdk/config-resolver": "3.347.0",
26
+ "@aws-sdk/credential-provider-node": "3.348.0",
27
+ "@aws-sdk/fetch-http-handler": "3.347.0",
28
+ "@aws-sdk/hash-node": "3.347.0",
29
+ "@aws-sdk/invalid-dependency": "3.347.0",
30
+ "@aws-sdk/middleware-content-length": "3.347.0",
31
+ "@aws-sdk/middleware-endpoint": "3.347.0",
32
+ "@aws-sdk/middleware-host-header": "3.347.0",
33
+ "@aws-sdk/middleware-logger": "3.347.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.347.0",
35
+ "@aws-sdk/middleware-retry": "3.347.0",
36
+ "@aws-sdk/middleware-serde": "3.347.0",
37
+ "@aws-sdk/middleware-signing": "3.347.0",
38
+ "@aws-sdk/middleware-stack": "3.347.0",
39
+ "@aws-sdk/middleware-user-agent": "3.347.0",
40
+ "@aws-sdk/node-config-provider": "3.347.0",
41
+ "@aws-sdk/node-http-handler": "3.348.0",
42
+ "@aws-sdk/smithy-client": "3.347.0",
43
+ "@aws-sdk/types": "3.347.0",
44
+ "@aws-sdk/url-parser": "3.347.0",
45
+ "@aws-sdk/util-base64": "3.310.0",
46
+ "@aws-sdk/util-body-length-browser": "3.310.0",
47
+ "@aws-sdk/util-body-length-node": "3.310.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.347.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.347.0",
50
+ "@aws-sdk/util-endpoints": "3.347.0",
51
+ "@aws-sdk/util-retry": "3.347.0",
52
+ "@aws-sdk/util-user-agent-browser": "3.347.0",
53
+ "@aws-sdk/util-user-agent-node": "3.347.0",
54
+ "@aws-sdk/util-utf8": "3.310.0",
55
+ "@smithy/protocol-http": "^1.0.1",
56
+ "@smithy/types": "^1.0.0",
57
+ "tslib": "^2.5.0"
58
+ },
59
+ "devDependencies": {
60
+ "@aws-sdk/service-client-documentation-generator": "3.310.0",
61
+ "@tsconfig/node14": "1.0.3",
62
+ "@types/node": "^14.14.31",
63
+ "concurrently": "7.0.0",
64
+ "downlevel-dts": "0.10.1",
65
+ "rimraf": "3.0.2",
66
+ "typedoc": "0.23.23",
67
+ "typescript": "~4.9.5"
68
+ },
69
+ "engines": {
70
+ "node": ">=14.0.0"
71
+ },
72
+ "typesVersions": {
73
+ "<4.0": {
74
+ "dist-types/*": [
75
+ "dist-types/ts3.4/*"
76
+ ]
77
+ }
78
+ },
79
+ "files": [
80
+ "dist-*/**"
81
+ ],
82
+ "author": {
83
+ "name": "AWS SDK for JavaScript Team",
84
+ "url": "https://aws.amazon.com/javascript/"
85
+ },
86
+ "license": "Apache-2.0",
87
+ "browser": {
88
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
89
+ },
90
+ "react-native": {
91
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
92
+ },
93
+ "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-payment-cryptography",
94
+ "repository": {
95
+ "type": "git",
96
+ "url": "https://github.com/aws/aws-sdk-js-v3.git",
97
+ "directory": "clients/client-payment-cryptography"
98
+ }
99
+ }