@aws-sdk/client-service-catalog-appregistry 3.928.0 → 3.930.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 (45) hide show
  1. package/dist-cjs/index.js +912 -1028
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/ServiceCatalogAppRegistryClient.js +2 -0
  4. package/dist-es/commands/AssociateAttributeGroupCommand.js +3 -9
  5. package/dist-es/commands/AssociateResourceCommand.js +3 -9
  6. package/dist-es/commands/CreateApplicationCommand.js +3 -9
  7. package/dist-es/commands/CreateAttributeGroupCommand.js +3 -9
  8. package/dist-es/commands/DeleteApplicationCommand.js +3 -9
  9. package/dist-es/commands/DeleteAttributeGroupCommand.js +3 -9
  10. package/dist-es/commands/DisassociateAttributeGroupCommand.js +3 -9
  11. package/dist-es/commands/DisassociateResourceCommand.js +3 -9
  12. package/dist-es/commands/GetApplicationCommand.js +3 -9
  13. package/dist-es/commands/GetAssociatedResourceCommand.js +3 -9
  14. package/dist-es/commands/GetAttributeGroupCommand.js +3 -9
  15. package/dist-es/commands/GetConfigurationCommand.js +3 -9
  16. package/dist-es/commands/ListApplicationsCommand.js +3 -9
  17. package/dist-es/commands/ListAssociatedAttributeGroupsCommand.js +3 -9
  18. package/dist-es/commands/ListAssociatedResourcesCommand.js +3 -9
  19. package/dist-es/commands/ListAttributeGroupsCommand.js +3 -9
  20. package/dist-es/commands/ListAttributeGroupsForApplicationCommand.js +3 -9
  21. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  22. package/dist-es/commands/PutConfigurationCommand.js +3 -9
  23. package/dist-es/commands/SyncResourceCommand.js +3 -9
  24. package/dist-es/commands/TagResourceCommand.js +3 -9
  25. package/dist-es/commands/UntagResourceCommand.js +3 -9
  26. package/dist-es/commands/UpdateApplicationCommand.js +3 -9
  27. package/dist-es/commands/UpdateAttributeGroupCommand.js +3 -9
  28. package/dist-es/runtimeConfig.shared.js +2 -0
  29. package/dist-es/schemas/schemas_0.js +853 -0
  30. package/dist-types/ServiceCatalogAppRegistryClient.d.ts +10 -1
  31. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  32. package/dist-types/runtimeConfig.d.ts +1 -0
  33. package/dist-types/runtimeConfig.native.d.ts +1 -0
  34. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  35. package/dist-types/schemas/schemas_0.d.ts +105 -0
  36. package/dist-types/ts3.4/ServiceCatalogAppRegistryClient.d.ts +4 -0
  37. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  38. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  39. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  40. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  41. package/dist-types/ts3.4/schemas/schemas_0.d.ts +110 -0
  42. package/package.json +33 -34
  43. package/dist-es/protocols/Aws_restJson1.js +0 -846
  44. package/dist-types/protocols/Aws_restJson1.d.ts +0 -218
  45. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -293
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateApplicationCommand, se_UpdateApplicationCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateApplication } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateApplicationCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWS242AppRegistry", "UpdateApplication", {})
17
13
  .n("ServiceCatalogAppRegistryClient", "UpdateApplicationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateApplicationCommand)
20
- .de(de_UpdateApplicationCommand)
14
+ .sc(UpdateApplication)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateAttributeGroupCommand, se_UpdateAttributeGroupCommand } from "../protocols/Aws_restJson1";
4
+ import { UpdateAttributeGroup } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateAttributeGroupCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWS242AppRegistry", "UpdateAttributeGroup", {})
17
13
  .n("ServiceCatalogAppRegistryClient", "UpdateAttributeGroupCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateAttributeGroupCommand)
20
- .de(de_UpdateAttributeGroupCommand)
14
+ .sc(UpdateAttributeGroup)
21
15
  .build() {
22
16
  }
@@ -1,4 +1,5 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core";
2
+ import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
2
3
  import { NoOpLogger } from "@smithy/smithy-client";
3
4
  import { parseUrl } from "@smithy/url-parser";
4
5
  import { fromBase64, toBase64 } from "@smithy/util-base64";
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
22
23
  },
23
24
  ],
24
25
  logger: config?.logger ?? new NoOpLogger(),
26
+ protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.servicecatalogappregistry" }),
25
27
  serviceId: config?.serviceId ?? "Service Catalog AppRegistry",
26
28
  urlParser: config?.urlParser ?? parseUrl,
27
29
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,