@aws-sdk/client-payment-cryptography 3.1076.0 → 3.1078.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 +43 -325
- 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-es/runtimeConfig.browser.js +0 -2
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeConfig.native.js +0 -2
- package/dist-es/runtimeConfig.shared.js +2 -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/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.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/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/package.json +8 -10
|
@@ -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 { EnableDefaultKeyReplicationRegions$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class EnableDefaultKeyReplicationRegionsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("PaymentCryptographyControlPlane", "EnableDefaultKeyReplicationRegions", {})
|
|
13
|
-
.n("PaymentCryptographyClient", "EnableDefaultKeyReplicationRegionsCommand")
|
|
14
|
-
.sc(EnableDefaultKeyReplicationRegions$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class EnableDefaultKeyReplicationRegionsCommand extends command(_ep0, _mw0, "EnableDefaultKeyReplicationRegions", EnableDefaultKeyReplicationRegions$) {
|
|
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 { 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";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
|
-
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
2
|
import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
|
|
4
3
|
import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
5
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
@@ -23,7 +22,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
22
|
region: config?.region ?? invalidProvider("Region is missing"),
|
|
24
23
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
25
24
|
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
|
26
|
-
sha256: config?.sha256 ?? Sha256,
|
|
27
25
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
28
26
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
29
27
|
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -5,7 +5,7 @@ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credentia
|
|
|
5
5
|
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
6
6
|
import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
7
7
|
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
|
|
8
|
-
import { calculateBodyLength
|
|
8
|
+
import { calculateBodyLength } from "@smithy/core/serde";
|
|
9
9
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
10
10
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
11
11
|
export const getRuntimeConfig = (config) => {
|
|
@@ -35,7 +35,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
35
35
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
36
36
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
37
37
|
}, config),
|
|
38
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
39
38
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
40
39
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
41
40
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Sha256 } from "@aws-crypto/sha256-js";
|
|
2
1
|
import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
|
|
3
2
|
export const getRuntimeConfig = (config) => {
|
|
4
3
|
const browserDefaults = getBrowserRuntimeConfig(config);
|
|
@@ -6,6 +5,5 @@ export const getRuntimeConfig = (config) => {
|
|
|
6
5
|
...browserDefaults,
|
|
7
6
|
...config,
|
|
8
7
|
runtime: "react-native",
|
|
9
|
-
sha256: config?.sha256 ?? Sha256,
|
|
10
8
|
};
|
|
11
9
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
2
|
import { AwsJson1_0Protocol } from "@aws-sdk/core/protocols";
|
|
3
|
+
import { Sha256 } from "@smithy/core/checksum";
|
|
3
4
|
import { NoOpLogger } from "@smithy/core/client";
|
|
4
5
|
import { parseUrl } from "@smithy/core/protocols";
|
|
5
6
|
import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
|
|
@@ -31,6 +32,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
31
32
|
serviceTarget: "PaymentCryptographyControlPlane",
|
|
32
33
|
},
|
|
33
34
|
serviceId: config?.serviceId ?? "Payment Cryptography",
|
|
35
|
+
sha256: config?.sha256 ?? Sha256,
|
|
34
36
|
urlParser: config?.urlParser ?? parseUrl,
|
|
35
37
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
36
38
|
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
@@ -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>
|