@aws-sdk/client-serverlessapplicationrepository 3.948.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 (34) hide show
  1. package/dist-cjs/index.js +194 -143
  2. package/dist-cjs/runtimeConfig.shared.js +6 -2
  3. package/dist-es/commands/CreateApplicationCommand.js +2 -2
  4. package/dist-es/commands/CreateApplicationVersionCommand.js +2 -2
  5. package/dist-es/commands/CreateCloudFormationChangeSetCommand.js +2 -2
  6. package/dist-es/commands/CreateCloudFormationTemplateCommand.js +2 -2
  7. package/dist-es/commands/DeleteApplicationCommand.js +2 -2
  8. package/dist-es/commands/GetApplicationCommand.js +2 -2
  9. package/dist-es/commands/GetApplicationPolicyCommand.js +2 -2
  10. package/dist-es/commands/GetCloudFormationTemplateCommand.js +2 -2
  11. package/dist-es/commands/ListApplicationDependenciesCommand.js +2 -2
  12. package/dist-es/commands/ListApplicationVersionsCommand.js +2 -2
  13. package/dist-es/commands/ListApplicationsCommand.js +2 -2
  14. package/dist-es/commands/PutApplicationPolicyCommand.js +2 -2
  15. package/dist-es/commands/UnshareApplicationCommand.js +2 -2
  16. package/dist-es/commands/UpdateApplicationCommand.js +2 -2
  17. package/dist-es/index.js +1 -0
  18. package/dist-es/runtimeConfig.shared.js +6 -2
  19. package/dist-es/schemas/schemas_0.js +109 -115
  20. package/dist-types/ServerlessApplicationRepositoryClient.d.ts +1 -10
  21. package/dist-types/index.d.ts +1 -0
  22. package/dist-types/runtimeConfig.browser.d.ts +6 -2
  23. package/dist-types/runtimeConfig.d.ts +6 -2
  24. package/dist-types/runtimeConfig.native.d.ts +6 -2
  25. package/dist-types/runtimeConfig.shared.d.ts +6 -1
  26. package/dist-types/schemas/schemas_0.d.ts +58 -69
  27. package/dist-types/ts3.4/ServerlessApplicationRepositoryClient.d.ts +0 -4
  28. package/dist-types/ts3.4/index.d.ts +1 -0
  29. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
  30. package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
  31. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
  32. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
  33. package/dist-types/ts3.4/schemas/schemas_0.d.ts +57 -69
  34. package/package.json +34 -34
@@ -26,8 +26,12 @@ const getRuntimeConfig = (config) => {
26
26
  },
27
27
  ],
28
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
- protocol: config?.protocol ??
30
- new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.serverlessapplicationrepository" }),
29
+ protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
30
+ protocolSettings: config?.protocolSettings ?? {
31
+ defaultNamespace: "com.amazonaws.serverlessapplicationrepository",
32
+ version: "2017-09-08",
33
+ serviceTarget: "ServerlessApplicationRepository",
34
+ },
31
35
  serviceId: config?.serviceId ?? "ServerlessApplicationRepository",
32
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
33
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 { CreateApplication } from "../schemas/schemas_0";
4
+ import { CreateApplication$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateApplicationCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateApplicationCommand extends $Command
11
11
  })
12
12
  .s("ServerlessApplicationRepository", "CreateApplication", {})
13
13
  .n("ServerlessApplicationRepositoryClient", "CreateApplicationCommand")
14
- .sc(CreateApplication)
14
+ .sc(CreateApplication$)
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 { CreateApplicationVersion } from "../schemas/schemas_0";
4
+ import { CreateApplicationVersion$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateApplicationVersionCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateApplicationVersionCommand extends $Command
11
11
  })
12
12
  .s("ServerlessApplicationRepository", "CreateApplicationVersion", {})
13
13
  .n("ServerlessApplicationRepositoryClient", "CreateApplicationVersionCommand")
14
- .sc(CreateApplicationVersion)
14
+ .sc(CreateApplicationVersion$)
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 { CreateCloudFormationChangeSet } from "../schemas/schemas_0";
4
+ import { CreateCloudFormationChangeSet$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateCloudFormationChangeSetCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateCloudFormationChangeSetCommand extends $Command
11
11
  })
12
12
  .s("ServerlessApplicationRepository", "CreateCloudFormationChangeSet", {})
13
13
  .n("ServerlessApplicationRepositoryClient", "CreateCloudFormationChangeSetCommand")
14
- .sc(CreateCloudFormationChangeSet)
14
+ .sc(CreateCloudFormationChangeSet$)
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 { CreateCloudFormationTemplate } from "../schemas/schemas_0";
4
+ import { CreateCloudFormationTemplate$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CreateCloudFormationTemplateCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CreateCloudFormationTemplateCommand extends $Command
11
11
  })
12
12
  .s("ServerlessApplicationRepository", "CreateCloudFormationTemplate", {})
13
13
  .n("ServerlessApplicationRepositoryClient", "CreateCloudFormationTemplateCommand")
14
- .sc(CreateCloudFormationTemplate)
14
+ .sc(CreateCloudFormationTemplate$)
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 { DeleteApplication } from "../schemas/schemas_0";
4
+ import { DeleteApplication$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class DeleteApplicationCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class DeleteApplicationCommand extends $Command
11
11
  })
12
12
  .s("ServerlessApplicationRepository", "DeleteApplication", {})
13
13
  .n("ServerlessApplicationRepositoryClient", "DeleteApplicationCommand")
14
- .sc(DeleteApplication)
14
+ .sc(DeleteApplication$)
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 { GetApplication } from "../schemas/schemas_0";
4
+ import { GetApplication$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetApplicationCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetApplicationCommand extends $Command
11
11
  })
12
12
  .s("ServerlessApplicationRepository", "GetApplication", {})
13
13
  .n("ServerlessApplicationRepositoryClient", "GetApplicationCommand")
14
- .sc(GetApplication)
14
+ .sc(GetApplication$)
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 { GetApplicationPolicy } from "../schemas/schemas_0";
4
+ import { GetApplicationPolicy$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetApplicationPolicyCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetApplicationPolicyCommand extends $Command
11
11
  })
12
12
  .s("ServerlessApplicationRepository", "GetApplicationPolicy", {})
13
13
  .n("ServerlessApplicationRepositoryClient", "GetApplicationPolicyCommand")
14
- .sc(GetApplicationPolicy)
14
+ .sc(GetApplicationPolicy$)
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 { GetCloudFormationTemplate } from "../schemas/schemas_0";
4
+ import { GetCloudFormationTemplate$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetCloudFormationTemplateCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetCloudFormationTemplateCommand extends $Command
11
11
  })
12
12
  .s("ServerlessApplicationRepository", "GetCloudFormationTemplate", {})
13
13
  .n("ServerlessApplicationRepositoryClient", "GetCloudFormationTemplateCommand")
14
- .sc(GetCloudFormationTemplate)
14
+ .sc(GetCloudFormationTemplate$)
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 { ListApplicationDependencies } from "../schemas/schemas_0";
4
+ import { ListApplicationDependencies$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListApplicationDependenciesCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListApplicationDependenciesCommand extends $Command
11
11
  })
12
12
  .s("ServerlessApplicationRepository", "ListApplicationDependencies", {})
13
13
  .n("ServerlessApplicationRepositoryClient", "ListApplicationDependenciesCommand")
14
- .sc(ListApplicationDependencies)
14
+ .sc(ListApplicationDependencies$)
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 { ListApplicationVersions } from "../schemas/schemas_0";
4
+ import { ListApplicationVersions$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListApplicationVersionsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListApplicationVersionsCommand extends $Command
11
11
  })
12
12
  .s("ServerlessApplicationRepository", "ListApplicationVersions", {})
13
13
  .n("ServerlessApplicationRepositoryClient", "ListApplicationVersionsCommand")
14
- .sc(ListApplicationVersions)
14
+ .sc(ListApplicationVersions$)
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 { ListApplications } from "../schemas/schemas_0";
4
+ import { ListApplications$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListApplicationsCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListApplicationsCommand extends $Command
11
11
  })
12
12
  .s("ServerlessApplicationRepository", "ListApplications", {})
13
13
  .n("ServerlessApplicationRepositoryClient", "ListApplicationsCommand")
14
- .sc(ListApplications)
14
+ .sc(ListApplications$)
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 { PutApplicationPolicy } from "../schemas/schemas_0";
4
+ import { PutApplicationPolicy$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class PutApplicationPolicyCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class PutApplicationPolicyCommand extends $Command
11
11
  })
12
12
  .s("ServerlessApplicationRepository", "PutApplicationPolicy", {})
13
13
  .n("ServerlessApplicationRepositoryClient", "PutApplicationPolicyCommand")
14
- .sc(PutApplicationPolicy)
14
+ .sc(PutApplicationPolicy$)
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 { UnshareApplication } from "../schemas/schemas_0";
4
+ import { UnshareApplication$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UnshareApplicationCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UnshareApplicationCommand extends $Command
11
11
  })
12
12
  .s("ServerlessApplicationRepository", "UnshareApplication", {})
13
13
  .n("ServerlessApplicationRepositoryClient", "UnshareApplicationCommand")
14
- .sc(UnshareApplication)
14
+ .sc(UnshareApplication$)
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 { UpdateApplication } from "../schemas/schemas_0";
4
+ import { UpdateApplication$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class UpdateApplicationCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class UpdateApplicationCommand extends $Command
11
11
  })
12
12
  .s("ServerlessApplicationRepository", "UpdateApplication", {})
13
13
  .n("ServerlessApplicationRepositoryClient", "UpdateApplicationCommand")
14
- .sc(UpdateApplication)
14
+ .sc(UpdateApplication$)
15
15
  .build() {
16
16
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./ServerlessApplicationRepositoryClient";
2
2
  export * from "./ServerlessApplicationRepository";
3
3
  export * from "./commands";
4
+ export * from "./schemas/schemas_0";
4
5
  export * from "./pagination";
5
6
  export * from "./models/enums";
6
7
  export * from "./models/errors";
@@ -23,8 +23,12 @@ export const getRuntimeConfig = (config) => {
23
23
  },
24
24
  ],
25
25
  logger: config?.logger ?? new NoOpLogger(),
26
- protocol: config?.protocol ??
27
- new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.serverlessapplicationrepository" }),
26
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
27
+ protocolSettings: config?.protocolSettings ?? {
28
+ defaultNamespace: "com.amazonaws.serverlessapplicationrepository",
29
+ version: "2017-09-08",
30
+ serviceTarget: "ServerlessApplicationRepository",
31
+ },
28
32
  serviceId: config?.serviceId ?? "ServerlessApplicationRepository",
29
33
  urlParser: config?.urlParser ?? parseUrl,
30
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,