@aws-sdk/client-service-catalog-appregistry 3.418.0 → 3.421.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 (2) hide show
  1. package/README.md +7 -10
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -23,22 +23,19 @@ using your favorite package manager:
23
23
 
24
24
  The AWS SDK is modulized by clients and commands.
25
25
  To send a request, you only need to import the `ServiceCatalogAppRegistryClient` and
26
- the commands you need, for example `AssociateAttributeGroupCommand`:
26
+ the commands you need, for example `ListApplicationsCommand`:
27
27
 
28
28
  ```js
29
29
  // ES5 example
30
30
  const {
31
31
  ServiceCatalogAppRegistryClient,
32
- AssociateAttributeGroupCommand,
32
+ ListApplicationsCommand,
33
33
  } = require("@aws-sdk/client-service-catalog-appregistry");
34
34
  ```
35
35
 
36
36
  ```ts
37
37
  // ES6+ example
38
- import {
39
- ServiceCatalogAppRegistryClient,
40
- AssociateAttributeGroupCommand,
41
- } from "@aws-sdk/client-service-catalog-appregistry";
38
+ import { ServiceCatalogAppRegistryClient, ListApplicationsCommand } from "@aws-sdk/client-service-catalog-appregistry";
42
39
  ```
43
40
 
44
41
  ### Usage
@@ -57,7 +54,7 @@ const client = new ServiceCatalogAppRegistryClient({ region: "REGION" });
57
54
  const params = {
58
55
  /** input parameters */
59
56
  };
60
- const command = new AssociateAttributeGroupCommand(params);
57
+ const command = new ListApplicationsCommand(params);
61
58
  ```
62
59
 
63
60
  #### Async/await
@@ -136,7 +133,7 @@ const client = new AWS.ServiceCatalogAppRegistry({ region: "REGION" });
136
133
 
137
134
  // async/await.
138
135
  try {
139
- const data = await client.associateAttributeGroup(params);
136
+ const data = await client.listApplications(params);
140
137
  // process data.
141
138
  } catch (error) {
142
139
  // error handling.
@@ -144,7 +141,7 @@ try {
144
141
 
145
142
  // Promises.
146
143
  client
147
- .associateAttributeGroup(params)
144
+ .listApplications(params)
148
145
  .then((data) => {
149
146
  // process data.
150
147
  })
@@ -153,7 +150,7 @@ client
153
150
  });
154
151
 
155
152
  // callbacks.
156
- client.associateAttributeGroup(params, (err, data) => {
153
+ client.listApplications(params, (err, data) => {
157
154
  // process err and data.
158
155
  });
159
156
  ```
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-service-catalog-appregistry",
3
3
  "description": "AWS SDK for JavaScript Service Catalog Appregistry Client for Node.js, Browser and React Native",
4
- "version": "3.418.0",
4
+ "version": "3.421.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,8 +21,8 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.418.0",
25
- "@aws-sdk/credential-provider-node": "3.418.0",
24
+ "@aws-sdk/client-sts": "3.421.0",
25
+ "@aws-sdk/credential-provider-node": "3.421.0",
26
26
  "@aws-sdk/middleware-host-header": "3.418.0",
27
27
  "@aws-sdk/middleware-logger": "3.418.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.418.0",