@aws-sdk/client-signer 3.952.0 → 3.953.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 (39) hide show
  1. package/dist-cjs/index.js +297 -204
  2. package/dist-cjs/runtimeConfig.shared.js +6 -1
  3. package/dist-es/commands/AddProfilePermissionCommand.js +2 -2
  4. package/dist-es/commands/CancelSigningProfileCommand.js +2 -2
  5. package/dist-es/commands/DescribeSigningJobCommand.js +2 -2
  6. package/dist-es/commands/GetRevocationStatusCommand.js +2 -2
  7. package/dist-es/commands/GetSigningPlatformCommand.js +2 -2
  8. package/dist-es/commands/GetSigningProfileCommand.js +2 -2
  9. package/dist-es/commands/ListProfilePermissionsCommand.js +2 -2
  10. package/dist-es/commands/ListSigningJobsCommand.js +2 -2
  11. package/dist-es/commands/ListSigningPlatformsCommand.js +2 -2
  12. package/dist-es/commands/ListSigningProfilesCommand.js +2 -2
  13. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  14. package/dist-es/commands/PutSigningProfileCommand.js +2 -2
  15. package/dist-es/commands/RemoveProfilePermissionCommand.js +2 -2
  16. package/dist-es/commands/RevokeSignatureCommand.js +2 -2
  17. package/dist-es/commands/RevokeSigningProfileCommand.js +2 -2
  18. package/dist-es/commands/SignPayloadCommand.js +2 -2
  19. package/dist-es/commands/StartSigningJobCommand.js +2 -2
  20. package/dist-es/commands/TagResourceCommand.js +2 -2
  21. package/dist-es/commands/UntagResourceCommand.js +2 -2
  22. package/dist-es/index.js +1 -0
  23. package/dist-es/runtimeConfig.shared.js +6 -1
  24. package/dist-es/schemas/schemas_0.js +174 -166
  25. package/dist-types/SignerClient.d.ts +1 -10
  26. package/dist-types/index.d.ts +1 -0
  27. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  28. package/dist-types/runtimeConfig.d.ts +6 -2
  29. package/dist-types/runtimeConfig.native.d.ts +6 -2
  30. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  31. package/dist-types/schemas/schemas_0.d.ts +86 -101
  32. package/dist-types/ts3.4/SignerClient.d.ts +0 -4
  33. package/dist-types/ts3.4/index.d.ts +1 -0
  34. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  35. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  36. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  37. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  38. package/dist-types/ts3.4/schemas/schemas_0.d.ts +85 -101
  39. package/package.json +35 -35
@@ -26,7 +26,12 @@ const getRuntimeConfig = (config) => {
26
26
  },
27
27
  ],
28
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
- protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.signer" }),
29
+ protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
30
+ protocolSettings: config?.protocolSettings ?? {
31
+ defaultNamespace: "com.amazonaws.signer",
32
+ version: "2017-08-25",
33
+ serviceTarget: "WallabyService",
34
+ },
30
35
  serviceId: config?.serviceId ?? "signer",
31
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
32
37
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { AddProfilePermission } from "../schemas/schemas_0";
4
+ import { AddProfilePermission$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class AddProfilePermissionCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class AddProfilePermissionCommand extends $Command
11
11
  })
12
12
  .s("WallabyService", "AddProfilePermission", {})
13
13
  .n("SignerClient", "AddProfilePermissionCommand")
14
- .sc(AddProfilePermission)
14
+ .sc(AddProfilePermission$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { CancelSigningProfile } from "../schemas/schemas_0";
4
+ import { CancelSigningProfile$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CancelSigningProfileCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CancelSigningProfileCommand extends $Command
11
11
  })
12
12
  .s("WallabyService", "CancelSigningProfile", {})
13
13
  .n("SignerClient", "CancelSigningProfileCommand")
14
- .sc(CancelSigningProfile)
14
+ .sc(CancelSigningProfile$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { DescribeSigningJob } from "../schemas/schemas_0";
4
+ import { DescribeSigningJob$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DescribeSigningJobCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DescribeSigningJobCommand extends $Command
11
11
  })
12
12
  .s("WallabyService", "DescribeSigningJob", {})
13
13
  .n("SignerClient", "DescribeSigningJobCommand")
14
- .sc(DescribeSigningJob)
14
+ .sc(DescribeSigningJob$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetRevocationStatus } from "../schemas/schemas_0";
4
+ import { GetRevocationStatus$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetRevocationStatusCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetRevocationStatusCommand extends $Command
11
11
  })
12
12
  .s("WallabyService", "GetRevocationStatus", {})
13
13
  .n("SignerClient", "GetRevocationStatusCommand")
14
- .sc(GetRevocationStatus)
14
+ .sc(GetRevocationStatus$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetSigningPlatform } from "../schemas/schemas_0";
4
+ import { GetSigningPlatform$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetSigningPlatformCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetSigningPlatformCommand extends $Command
11
11
  })
12
12
  .s("WallabyService", "GetSigningPlatform", {})
13
13
  .n("SignerClient", "GetSigningPlatformCommand")
14
- .sc(GetSigningPlatform)
14
+ .sc(GetSigningPlatform$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetSigningProfile } from "../schemas/schemas_0";
4
+ import { GetSigningProfile$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetSigningProfileCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetSigningProfileCommand extends $Command
11
11
  })
12
12
  .s("WallabyService", "GetSigningProfile", {})
13
13
  .n("SignerClient", "GetSigningProfileCommand")
14
- .sc(GetSigningProfile)
14
+ .sc(GetSigningProfile$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListProfilePermissions } from "../schemas/schemas_0";
4
+ import { ListProfilePermissions$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListProfilePermissionsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListProfilePermissionsCommand extends $Command
11
11
  })
12
12
  .s("WallabyService", "ListProfilePermissions", {})
13
13
  .n("SignerClient", "ListProfilePermissionsCommand")
14
- .sc(ListProfilePermissions)
14
+ .sc(ListProfilePermissions$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListSigningJobs } from "../schemas/schemas_0";
4
+ import { ListSigningJobs$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListSigningJobsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListSigningJobsCommand extends $Command
11
11
  })
12
12
  .s("WallabyService", "ListSigningJobs", {})
13
13
  .n("SignerClient", "ListSigningJobsCommand")
14
- .sc(ListSigningJobs)
14
+ .sc(ListSigningJobs$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListSigningPlatforms } from "../schemas/schemas_0";
4
+ import { ListSigningPlatforms$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListSigningPlatformsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListSigningPlatformsCommand extends $Command
11
11
  })
12
12
  .s("WallabyService", "ListSigningPlatforms", {})
13
13
  .n("SignerClient", "ListSigningPlatformsCommand")
14
- .sc(ListSigningPlatforms)
14
+ .sc(ListSigningPlatforms$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListSigningProfiles } from "../schemas/schemas_0";
4
+ import { ListSigningProfiles$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListSigningProfilesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListSigningProfilesCommand extends $Command
11
11
  })
12
12
  .s("WallabyService", "ListSigningProfiles", {})
13
13
  .n("SignerClient", "ListSigningProfilesCommand")
14
- .sc(ListSigningProfiles)
14
+ .sc(ListSigningProfiles$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListTagsForResource } from "../schemas/schemas_0";
4
+ import { ListTagsForResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListTagsForResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListTagsForResourceCommand extends $Command
11
11
  })
12
12
  .s("WallabyService", "ListTagsForResource", {})
13
13
  .n("SignerClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource)
14
+ .sc(ListTagsForResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { PutSigningProfile } from "../schemas/schemas_0";
4
+ import { PutSigningProfile$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class PutSigningProfileCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class PutSigningProfileCommand extends $Command
11
11
  })
12
12
  .s("WallabyService", "PutSigningProfile", {})
13
13
  .n("SignerClient", "PutSigningProfileCommand")
14
- .sc(PutSigningProfile)
14
+ .sc(PutSigningProfile$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { RemoveProfilePermission } from "../schemas/schemas_0";
4
+ import { RemoveProfilePermission$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class RemoveProfilePermissionCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class RemoveProfilePermissionCommand extends $Command
11
11
  })
12
12
  .s("WallabyService", "RemoveProfilePermission", {})
13
13
  .n("SignerClient", "RemoveProfilePermissionCommand")
14
- .sc(RemoveProfilePermission)
14
+ .sc(RemoveProfilePermission$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { RevokeSignature } from "../schemas/schemas_0";
4
+ import { RevokeSignature$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class RevokeSignatureCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class RevokeSignatureCommand extends $Command
11
11
  })
12
12
  .s("WallabyService", "RevokeSignature", {})
13
13
  .n("SignerClient", "RevokeSignatureCommand")
14
- .sc(RevokeSignature)
14
+ .sc(RevokeSignature$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { RevokeSigningProfile } from "../schemas/schemas_0";
4
+ import { RevokeSigningProfile$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class RevokeSigningProfileCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class RevokeSigningProfileCommand extends $Command
11
11
  })
12
12
  .s("WallabyService", "RevokeSigningProfile", {})
13
13
  .n("SignerClient", "RevokeSigningProfileCommand")
14
- .sc(RevokeSigningProfile)
14
+ .sc(RevokeSigningProfile$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { SignPayload } from "../schemas/schemas_0";
4
+ import { SignPayload$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class SignPayloadCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class SignPayloadCommand extends $Command
11
11
  })
12
12
  .s("WallabyService", "SignPayload", {})
13
13
  .n("SignerClient", "SignPayloadCommand")
14
- .sc(SignPayload)
14
+ .sc(SignPayload$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { StartSigningJob } from "../schemas/schemas_0";
4
+ import { StartSigningJob$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class StartSigningJobCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class StartSigningJobCommand extends $Command
11
11
  })
12
12
  .s("WallabyService", "StartSigningJob", {})
13
13
  .n("SignerClient", "StartSigningJobCommand")
14
- .sc(StartSigningJob)
14
+ .sc(StartSigningJob$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { TagResource } from "../schemas/schemas_0";
4
+ import { TagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class TagResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class TagResourceCommand extends $Command
11
11
  })
12
12
  .s("WallabyService", "TagResource", {})
13
13
  .n("SignerClient", "TagResourceCommand")
14
- .sc(TagResource)
14
+ .sc(TagResource$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { UntagResource } from "../schemas/schemas_0";
4
+ import { UntagResource$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UntagResourceCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UntagResourceCommand extends $Command
11
11
  })
12
12
  .s("WallabyService", "UntagResource", {})
13
13
  .n("SignerClient", "UntagResourceCommand")
14
- .sc(UntagResource)
14
+ .sc(UntagResource$)
15
15
  .build() {
16
16
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./SignerClient";
2
2
  export * from "./Signer";
3
3
  export * from "./commands";
4
+ export * from "./schemas/schemas_0";
4
5
  export * from "./pagination";
5
6
  export * from "./waiters";
6
7
  export * from "./models/enums";
@@ -23,7 +23,12 @@ export const getRuntimeConfig = (config) => {
23
23
  },
24
24
  ],
25
25
  logger: config?.logger ?? new NoOpLogger(),
26
- protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.signer" }),
26
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.signer",
29
+ version: "2017-08-25",
30
+ serviceTarget: "WallabyService",
31
+ },
27
32
  serviceId: config?.serviceId ?? "signer",
28
33
  urlParser: config?.urlParser ?? parseUrl,
29
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,