@aws-sdk/client-payment-cryptography 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 +40 -323
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/AddKeyReplicationRegionsCommand.js +2 -14
- package/dist-es/commands/AssociateMpaTeamCommand.js +2 -14
- package/dist-es/commands/CreateAliasCommand.js +2 -14
- package/dist-es/commands/CreateKeyCommand.js +2 -14
- package/dist-es/commands/DeleteAliasCommand.js +2 -14
- package/dist-es/commands/DeleteKeyCommand.js +2 -14
- package/dist-es/commands/DeleteResourcePolicyCommand.js +2 -14
- package/dist-es/commands/DisableDefaultKeyReplicationRegionsCommand.js +2 -14
- package/dist-es/commands/DisassociateMpaTeamCommand.js +2 -14
- package/dist-es/commands/EnableDefaultKeyReplicationRegionsCommand.js +2 -14
- package/dist-es/commands/ExportKeyCommand.js +2 -14
- package/dist-es/commands/GetAliasCommand.js +2 -14
- package/dist-es/commands/GetCertificateSigningRequestCommand.js +2 -14
- package/dist-es/commands/GetDefaultKeyReplicationRegionsCommand.js +2 -14
- package/dist-es/commands/GetKeyCommand.js +2 -14
- package/dist-es/commands/GetMpaTeamAssociationCommand.js +2 -14
- package/dist-es/commands/GetParametersForExportCommand.js +2 -14
- package/dist-es/commands/GetParametersForImportCommand.js +2 -14
- package/dist-es/commands/GetPublicKeyCertificateCommand.js +2 -14
- package/dist-es/commands/GetResourcePolicyCommand.js +2 -14
- package/dist-es/commands/ImportKeyCommand.js +2 -14
- package/dist-es/commands/ListAliasesCommand.js +2 -14
- package/dist-es/commands/ListKeysCommand.js +2 -14
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
- package/dist-es/commands/PutResourcePolicyCommand.js +2 -14
- package/dist-es/commands/RemoveKeyReplicationRegionsCommand.js +2 -14
- package/dist-es/commands/RestoreKeyCommand.js +2 -14
- package/dist-es/commands/StartKeyUsageCommand.js +2 -14
- package/dist-es/commands/StopKeyUsageCommand.js +2 -14
- package/dist-es/commands/TagResourceCommand.js +2 -14
- package/dist-es/commands/UntagResourceCommand.js +2 -14
- package/dist-es/commands/UpdateAliasCommand.js +2 -14
- package/dist-es/index.js +1 -0
- package/dist-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/AddKeyReplicationRegionsCommand.d.ts +3 -8
- package/dist-types/commands/AssociateMpaTeamCommand.d.ts +3 -8
- package/dist-types/commands/CreateAliasCommand.d.ts +3 -8
- package/dist-types/commands/CreateKeyCommand.d.ts +3 -8
- package/dist-types/commands/DeleteAliasCommand.d.ts +3 -8
- package/dist-types/commands/DeleteKeyCommand.d.ts +3 -8
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +3 -8
- package/dist-types/commands/DisableDefaultKeyReplicationRegionsCommand.d.ts +3 -8
- package/dist-types/commands/DisassociateMpaTeamCommand.d.ts +3 -8
- package/dist-types/commands/EnableDefaultKeyReplicationRegionsCommand.d.ts +3 -8
- package/dist-types/commands/ExportKeyCommand.d.ts +3 -8
- package/dist-types/commands/GetAliasCommand.d.ts +3 -8
- package/dist-types/commands/GetCertificateSigningRequestCommand.d.ts +3 -8
- package/dist-types/commands/GetDefaultKeyReplicationRegionsCommand.d.ts +3 -8
- package/dist-types/commands/GetKeyCommand.d.ts +3 -8
- package/dist-types/commands/GetMpaTeamAssociationCommand.d.ts +3 -8
- package/dist-types/commands/GetParametersForExportCommand.d.ts +3 -8
- package/dist-types/commands/GetParametersForImportCommand.d.ts +3 -8
- package/dist-types/commands/GetPublicKeyCertificateCommand.d.ts +3 -8
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +3 -8
- package/dist-types/commands/ImportKeyCommand.d.ts +3 -8
- package/dist-types/commands/ListAliasesCommand.d.ts +3 -8
- package/dist-types/commands/ListKeysCommand.d.ts +3 -8
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +3 -8
- package/dist-types/commands/RemoveKeyReplicationRegionsCommand.d.ts +3 -8
- package/dist-types/commands/RestoreKeyCommand.d.ts +3 -8
- package/dist-types/commands/StartKeyUsageCommand.d.ts +3 -8
- package/dist-types/commands/StopKeyUsageCommand.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/UpdateAliasCommand.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/AddKeyReplicationRegionsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/AssociateMpaTeamCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateAliasCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/CreateKeyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteAliasCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteKeyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DisableDefaultKeyReplicationRegionsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/DisassociateMpaTeamCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/EnableDefaultKeyReplicationRegionsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ExportKeyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetAliasCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetCertificateSigningRequestCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetDefaultKeyReplicationRegionsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetKeyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetMpaTeamAssociationCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetParametersForExportCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetParametersForImportCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetPublicKeyCertificateCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ImportKeyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListAliasesCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListKeysCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/RemoveKeyReplicationRegionsCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/RestoreKeyCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/StartKeyUsageCommand.d.ts +7 -16
- package/dist-types/ts3.4/commands/StopKeyUsageCommand.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/UpdateAliasCommand.d.ts +7 -16
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/package.json +8 -8
|
@@ -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 { ExportKey$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ExportKeyCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("PaymentCryptographyControlPlane", "ExportKey", {})
|
|
13
|
-
.n("PaymentCryptographyClient", "ExportKeyCommand")
|
|
14
|
-
.sc(ExportKey$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ExportKeyCommand extends command(_ep0, _mw0, "ExportKey", ExportKey$) {
|
|
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 { GetAlias$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetAliasCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("PaymentCryptographyControlPlane", "GetAlias", {})
|
|
13
|
-
.n("PaymentCryptographyClient", "GetAliasCommand")
|
|
14
|
-
.sc(GetAlias$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetAliasCommand extends command(_ep0, _mw0, "GetAlias", GetAlias$) {
|
|
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 { GetCertificateSigningRequest$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetCertificateSigningRequestCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("PaymentCryptographyControlPlane", "GetCertificateSigningRequest", {})
|
|
13
|
-
.n("PaymentCryptographyClient", "GetCertificateSigningRequestCommand")
|
|
14
|
-
.sc(GetCertificateSigningRequest$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetCertificateSigningRequestCommand extends command(_ep0, _mw0, "GetCertificateSigningRequest", GetCertificateSigningRequest$) {
|
|
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 { GetDefaultKeyReplicationRegions$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetDefaultKeyReplicationRegionsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("PaymentCryptographyControlPlane", "GetDefaultKeyReplicationRegions", {})
|
|
13
|
-
.n("PaymentCryptographyClient", "GetDefaultKeyReplicationRegionsCommand")
|
|
14
|
-
.sc(GetDefaultKeyReplicationRegions$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetDefaultKeyReplicationRegionsCommand extends command(_ep0, _mw0, "GetDefaultKeyReplicationRegions", GetDefaultKeyReplicationRegions$) {
|
|
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 { GetKey$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetKeyCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("PaymentCryptographyControlPlane", "GetKey", {})
|
|
13
|
-
.n("PaymentCryptographyClient", "GetKeyCommand")
|
|
14
|
-
.sc(GetKey$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetKeyCommand extends command(_ep0, _mw0, "GetKey", GetKey$) {
|
|
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 { GetMpaTeamAssociation$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetMpaTeamAssociationCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("PaymentCryptographyControlPlane", "GetMpaTeamAssociation", {})
|
|
13
|
-
.n("PaymentCryptographyClient", "GetMpaTeamAssociationCommand")
|
|
14
|
-
.sc(GetMpaTeamAssociation$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetMpaTeamAssociationCommand extends command(_ep0, _mw0, "GetMpaTeamAssociation", GetMpaTeamAssociation$) {
|
|
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 { GetParametersForExport$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetParametersForExportCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("PaymentCryptographyControlPlane", "GetParametersForExport", {})
|
|
13
|
-
.n("PaymentCryptographyClient", "GetParametersForExportCommand")
|
|
14
|
-
.sc(GetParametersForExport$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetParametersForExportCommand extends command(_ep0, _mw0, "GetParametersForExport", GetParametersForExport$) {
|
|
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 { GetParametersForImport$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetParametersForImportCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("PaymentCryptographyControlPlane", "GetParametersForImport", {})
|
|
13
|
-
.n("PaymentCryptographyClient", "GetParametersForImportCommand")
|
|
14
|
-
.sc(GetParametersForImport$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetParametersForImportCommand extends command(_ep0, _mw0, "GetParametersForImport", GetParametersForImport$) {
|
|
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 { GetPublicKeyCertificate$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetPublicKeyCertificateCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("PaymentCryptographyControlPlane", "GetPublicKeyCertificate", {})
|
|
13
|
-
.n("PaymentCryptographyClient", "GetPublicKeyCertificateCommand")
|
|
14
|
-
.sc(GetPublicKeyCertificate$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetPublicKeyCertificateCommand extends command(_ep0, _mw0, "GetPublicKeyCertificate", GetPublicKeyCertificate$) {
|
|
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 { GetResourcePolicy$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class GetResourcePolicyCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("PaymentCryptographyControlPlane", "GetResourcePolicy", {})
|
|
13
|
-
.n("PaymentCryptographyClient", "GetResourcePolicyCommand")
|
|
14
|
-
.sc(GetResourcePolicy$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class GetResourcePolicyCommand extends command(_ep0, _mw0, "GetResourcePolicy", GetResourcePolicy$) {
|
|
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 { ImportKey$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ImportKeyCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("PaymentCryptographyControlPlane", "ImportKey", {})
|
|
13
|
-
.n("PaymentCryptographyClient", "ImportKeyCommand")
|
|
14
|
-
.sc(ImportKey$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ImportKeyCommand extends command(_ep0, _mw0, "ImportKey", ImportKey$) {
|
|
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 { ListAliases$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListAliasesCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("PaymentCryptographyControlPlane", "ListAliases", {})
|
|
13
|
-
.n("PaymentCryptographyClient", "ListAliasesCommand")
|
|
14
|
-
.sc(ListAliases$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListAliasesCommand extends command(_ep0, _mw0, "ListAliases", ListAliases$) {
|
|
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 { ListKeys$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class ListKeysCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("PaymentCryptographyControlPlane", "ListKeys", {})
|
|
13
|
-
.n("PaymentCryptographyClient", "ListKeysCommand")
|
|
14
|
-
.sc(ListKeys$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class ListKeysCommand extends command(_ep0, _mw0, "ListKeys", ListKeys$) {
|
|
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("PaymentCryptographyControlPlane", "ListTagsForResource", {})
|
|
13
|
-
.n("PaymentCryptographyClient", "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 { PutResourcePolicy$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class PutResourcePolicyCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("PaymentCryptographyControlPlane", "PutResourcePolicy", {})
|
|
13
|
-
.n("PaymentCryptographyClient", "PutResourcePolicyCommand")
|
|
14
|
-
.sc(PutResourcePolicy$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class PutResourcePolicyCommand extends command(_ep0, _mw0, "PutResourcePolicy", PutResourcePolicy$) {
|
|
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 { RemoveKeyReplicationRegions$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class RemoveKeyReplicationRegionsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("PaymentCryptographyControlPlane", "RemoveKeyReplicationRegions", {})
|
|
13
|
-
.n("PaymentCryptographyClient", "RemoveKeyReplicationRegionsCommand")
|
|
14
|
-
.sc(RemoveKeyReplicationRegions$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class RemoveKeyReplicationRegionsCommand extends command(_ep0, _mw0, "RemoveKeyReplicationRegions", RemoveKeyReplicationRegions$) {
|
|
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 { RestoreKey$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class RestoreKeyCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("PaymentCryptographyControlPlane", "RestoreKey", {})
|
|
13
|
-
.n("PaymentCryptographyClient", "RestoreKeyCommand")
|
|
14
|
-
.sc(RestoreKey$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class RestoreKeyCommand extends command(_ep0, _mw0, "RestoreKey", RestoreKey$) {
|
|
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 { StartKeyUsage$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class StartKeyUsageCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("PaymentCryptographyControlPlane", "StartKeyUsage", {})
|
|
13
|
-
.n("PaymentCryptographyClient", "StartKeyUsageCommand")
|
|
14
|
-
.sc(StartKeyUsage$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class StartKeyUsageCommand extends command(_ep0, _mw0, "StartKeyUsage", StartKeyUsage$) {
|
|
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 { StopKeyUsage$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class StopKeyUsageCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("PaymentCryptographyControlPlane", "StopKeyUsage", {})
|
|
13
|
-
.n("PaymentCryptographyClient", "StopKeyUsageCommand")
|
|
14
|
-
.sc(StopKeyUsage$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class StopKeyUsageCommand extends command(_ep0, _mw0, "StopKeyUsage", StopKeyUsage$) {
|
|
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("PaymentCryptographyControlPlane", "TagResource", {})
|
|
13
|
-
.n("PaymentCryptographyClient", "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("PaymentCryptographyControlPlane", "UntagResource", {})
|
|
13
|
-
.n("PaymentCryptographyClient", "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 { UpdateAlias$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class UpdateAliasCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("PaymentCryptographyControlPlane", "UpdateAlias", {})
|
|
13
|
-
.n("PaymentCryptographyClient", "UpdateAliasCommand")
|
|
14
|
-
.sc(UpdateAlias$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class UpdateAliasCommand extends command(_ep0, _mw0, "UpdateAlias", UpdateAlias$) {
|
|
16
4
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./PaymentCryptographyClient";
|
|
2
2
|
export * from "./PaymentCryptography";
|
|
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 { PaymentCryptographyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./PaymentCryptographyClient";
|
|
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, PaymentCryptographyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
8
|
+
new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, PaymentCryptographyClientResolvedConfig, 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 { AddKeyReplicationRegionsInput, AddKeyReplicationRegionsOutput } from "../models/models_0";
|
|
4
|
-
import type { PaymentCryptographyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PaymentCryptographyClient";
|
|
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 AddKeyReplicationRegionsCommandInput extends AddKeyReplicationR
|
|
|
22
19
|
export interface AddKeyReplicationRegionsCommandOutput extends AddKeyReplicationRegionsOutput, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const AddKeyReplicationRegionsCommand_base: {
|
|
25
|
-
new (input: AddKeyReplicationRegionsCommandInput): import("@smithy/core/client").CommandImpl<AddKeyReplicationRegionsCommandInput, AddKeyReplicationRegionsCommandOutput, PaymentCryptographyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: AddKeyReplicationRegionsCommandInput): import("@smithy/core/client").CommandImpl<AddKeyReplicationRegionsCommandInput, AddKeyReplicationRegionsCommandOutput, PaymentCryptographyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: AddKeyReplicationRegionsCommandInput): import("@smithy/core/client").CommandImpl<AddKeyReplicationRegionsCommandInput, AddKeyReplicationRegionsCommandOutput, import("..").PaymentCryptographyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: AddKeyReplicationRegionsCommandInput): import("@smithy/core/client").CommandImpl<AddKeyReplicationRegionsCommandInput, AddKeyReplicationRegionsCommandOutput, import("..").PaymentCryptographyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Adds replication Amazon Web Services Regions to an existing Amazon Web Services Payment Cryptography key, enabling the key to be used for cryptographic operations in additional Amazon Web Services Regions.</p> <p> <a href="https://docs.aws.amazon.com/payment-cryptography/latest/userguide/keys-multi-region-replication.html">Multi-Region key replication</a> allow you to use the same key material across multiple Amazon Web Services Regions, providing lower latency for applications distributed across regions. When you add Replication Regions, Amazon Web Services Payment Cryptography securely replicates the key material to the specified Amazon Web Services Regions.</p> <p>The key must be in an active state to add Replication Regions. You can add multiple regions in a single operation, and the key will be available for use in those regions once replication is complete.</p> <p> <b>Cross-account use:</b> This operation supports cross-account use when the key has a resource-based policy that grants access. For more information, see <a href="https://docs.aws.amazon.com/payment-cryptography/latest/userguide/security_iam_resource-based-policies.html">Resource-based policies</a>.</p> <p> <b>Related operations:</b> </p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_RemoveKeyReplicationRegions.html">RemoveKeyReplicationRegions</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_EnableDefaultKeyReplicationRegions.html">EnableDefaultKeyReplicationRegions</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_GetDefaultKeyReplicationRegions.html">GetDefaultKeyReplicationRegions</a> </p> </li> </ul>
|
|
@@ -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 { AssociateMpaTeamInput, AssociateMpaTeamOutput } from "../models/models_0";
|
|
4
|
-
import type { PaymentCryptographyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PaymentCryptographyClient";
|
|
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 AssociateMpaTeamCommandInput extends AssociateMpaTeamInput {
|
|
|
22
19
|
export interface AssociateMpaTeamCommandOutput extends AssociateMpaTeamOutput, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const AssociateMpaTeamCommand_base: {
|
|
25
|
-
new (input: AssociateMpaTeamCommandInput): import("@smithy/core/client").CommandImpl<AssociateMpaTeamCommandInput, AssociateMpaTeamCommandOutput, PaymentCryptographyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: AssociateMpaTeamCommandInput): import("@smithy/core/client").CommandImpl<AssociateMpaTeamCommandInput, AssociateMpaTeamCommandOutput, PaymentCryptographyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: AssociateMpaTeamCommandInput): import("@smithy/core/client").CommandImpl<AssociateMpaTeamCommandInput, AssociateMpaTeamCommandOutput, import("..").PaymentCryptographyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: AssociateMpaTeamCommandInput): import("@smithy/core/client").CommandImpl<AssociateMpaTeamCommandInput, AssociateMpaTeamCommandOutput, import("..").PaymentCryptographyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Associates a Multi-Party Approval (MPA) team with a protected operation. For more information, see <a href="https://docs.aws.amazon.com/payment-cryptography/latest/userguide/mpa.html">Multi-Party Approval</a> in the <i>Amazon Web Services Payment Cryptography User Guide.</i> </p> <p> <b>Cross-account use:</b> This operation can't be used across different Amazon Web Services accounts.</p> <p> <b>Related operations:</b> </p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_DisassociateMpaTeam.html">DisassociateMpaTeam</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_GetMpaTeamAssociation.html">GetMpaTeamAssociation</a> </p> </li> </ul>
|
|
@@ -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 { CreateAliasInput, CreateAliasOutput } from "../models/models_0";
|
|
4
|
-
import type { PaymentCryptographyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PaymentCryptographyClient";
|
|
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 CreateAliasCommandInput extends CreateAliasInput {
|
|
|
22
19
|
export interface CreateAliasCommandOutput extends CreateAliasOutput, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const CreateAliasCommand_base: {
|
|
25
|
-
new (input: CreateAliasCommandInput): import("@smithy/core/client").CommandImpl<CreateAliasCommandInput, CreateAliasCommandOutput, PaymentCryptographyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: CreateAliasCommandInput): import("@smithy/core/client").CommandImpl<CreateAliasCommandInput, CreateAliasCommandOutput, PaymentCryptographyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: CreateAliasCommandInput): import("@smithy/core/client").CommandImpl<CreateAliasCommandInput, CreateAliasCommandOutput, import("..").PaymentCryptographyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreateAliasCommandInput): import("@smithy/core/client").CommandImpl<CreateAliasCommandInput, CreateAliasCommandOutput, import("..").PaymentCryptographyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Creates an <i>alias</i>, or a friendly name, for an Amazon Web Services Payment Cryptography key. You can use an alias to identify a key in the console and when you call cryptographic operations such as <a href="https://docs.aws.amazon.com/payment-cryptography/latest/DataAPIReference/API_EncryptData.html">EncryptData</a> or <a href="https://docs.aws.amazon.com/payment-cryptography/latest/DataAPIReference/API_DecryptData.html">DecryptData</a>.</p> <p>You can associate the alias with any key in the same Amazon Web Services Region. Each alias is associated with only one key at a time, but a key can have multiple aliases. You can't create an alias without a key. The alias must be unique in the account and Amazon Web Services Region, but you can create another alias with the same name in a different Amazon Web Services Region.</p> <p>To change the key that's associated with the alias, call <a href="https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_UpdateAlias.html">UpdateAlias</a>. To delete the alias, call <a href="https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_DeleteAlias.html">DeleteAlias</a>. These operations don't affect the underlying key. To get the alias that you created, call <a href="https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_ListAliases.html">ListAliases</a>.</p> <p> <b>Cross-account use</b>: This operation can't be used across different Amazon Web Services accounts.</p> <p> <b>Related operations:</b> </p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_DeleteAlias.html">DeleteAlias</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_GetAlias.html">GetAlias</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_ListAliases.html">ListAliases</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_UpdateAlias.html">UpdateAlias</a> </p> </li> </ul>
|
|
@@ -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 { CreateKeyInput, CreateKeyOutput } from "../models/models_0";
|
|
4
|
-
import type { PaymentCryptographyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PaymentCryptographyClient";
|
|
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 CreateKeyCommandInput extends CreateKeyInput {
|
|
|
22
19
|
export interface CreateKeyCommandOutput extends CreateKeyOutput, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const CreateKeyCommand_base: {
|
|
25
|
-
new (input: CreateKeyCommandInput): import("@smithy/core/client").CommandImpl<CreateKeyCommandInput, CreateKeyCommandOutput, PaymentCryptographyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: CreateKeyCommandInput): import("@smithy/core/client").CommandImpl<CreateKeyCommandInput, CreateKeyCommandOutput, PaymentCryptographyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: CreateKeyCommandInput): import("@smithy/core/client").CommandImpl<CreateKeyCommandInput, CreateKeyCommandOutput, import("..").PaymentCryptographyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreateKeyCommandInput): import("@smithy/core/client").CommandImpl<CreateKeyCommandInput, CreateKeyCommandOutput, import("..").PaymentCryptographyClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Creates an Amazon Web Services Payment Cryptography key, a logical representation of a cryptographic key, that is unique in your account and Amazon Web Services Region. You use keys for cryptographic functions such as encryption and decryption. </p> <p>In addition to the key material used in cryptographic operations, an Amazon Web Services Payment Cryptography key includes metadata such as the key ARN, key usage, key origin, creation date, description, and key state.</p> <p>When you create a key, you specify both immutable and mutable data about the key. The immutable data contains key attributes that define the scope and cryptographic operations that you can perform using the key, for example key class (example: <code>SYMMETRIC_KEY</code>), key algorithm (example: <code>TDES_2KEY</code>), key usage (example: <code>TR31_P0_PIN_ENCRYPTION_KEY</code>) and key modes of use (example: <code>Encrypt</code>). Amazon Web Services Payment Cryptography binds key attributes to keys using key blocks when you store or export them. Amazon Web Services Payment Cryptography stores the key contents wrapped and never stores or transmits them in the clear.</p> <p>For information about valid combinations of key attributes, see <a href="https://docs.aws.amazon.com/payment-cryptography/latest/userguide/keys-validattributes.html">Understanding key attributes</a> in the <i>Amazon Web Services Payment Cryptography User Guide</i>. The mutable data contained within a key includes usage timestamp and key deletion timestamp and can be modified after creation.</p> <p>You can use the <code>CreateKey</code> operation to generate an ECC (Elliptic Curve Cryptography) key pair used for establishing an ECDH (Elliptic Curve Diffie-Hellman) key agreement between two parties. In the ECDH key agreement process, both parties generate their own ECC key pair with key usage K3 and exchange the public keys. Each party then use their private key, the received public key from the other party, and the key derivation parameters including key derivation function, hash algorithm, derivation data, and key algorithm to derive a shared key.</p> <p>To maintain the single-use principle of cryptographic keys in payments, ECDH derived keys should not be used for multiple purposes, such as a <code>TR31_P0_PIN_ENCRYPTION_KEY</code> and <code>TR31_K1_KEY_BLOCK_PROTECTION_KEY</code>. When creating ECC key pairs in Amazon Web Services Payment Cryptography you can optionally set the <code>DeriveKeyUsage</code> parameter, which defines the key usage bound to the symmetric key that will be derived using the ECC key pair.</p> <p> <b>Cross-account use</b>: This operation can't be used across different Amazon Web Services accounts.</p> <p> <b>Related operations:</b> </p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_DeleteKey.html">DeleteKey</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_GetKey.html">GetKey</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/payment-cryptography/latest/APIReference/API_ListKeys.html">ListKeys</a> </p> </li> </ul>
|