Skip to content

Commit a85d58f

Browse files
author
John Chavez
committed
Assed the Async
1 parent b9d78bb commit a85d58f

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

README.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -932,7 +932,7 @@ catch (e) {
932932

933933
```js
934934
try {
935-
const response = await EmergencyNotification.listRecipients(client, {"Size": "20"} );
935+
const response = await EmergencyNotification.listRecipientsAsync(client, {"Size": "20"} );
936936
console.log(response.emergencyNotificationRecipients.emergencyNotificationRecipient.length);
937937
//4
938938
}
@@ -944,7 +944,7 @@ catch (e) {
944944

945945
```js
946946
try {
947-
const response = await EmergencyNotification.getRecipient(client, "enrid" );
947+
const response = await EmergencyNotification.getRecipientAsync(client, "enrid" );
948948
console.log(response.emergencyNotificationRecipient.identifier);
949949
//63865500-0904-46b1-9b4f-7bd237a26363
950950
}
@@ -959,7 +959,7 @@ var en = new EmergencyNotification();
959959
en.enrid = 123;
960960

961961
try {
962-
const response = await en.replaceRecipient(client, recipient);
962+
const response = await en.replaceRecipientAsync(client, recipient);
963963
console.log(response.emergencyNotificationRecipient.identifier);
964964
//63865500-0904-46b1-9b4f-7bd237a26363
965965
}
@@ -971,7 +971,7 @@ catch (e) {
971971

972972
```js
973973
try {
974-
const response = await EmergencyNotification.createRecipient(client, recipient);
974+
const response = await EmergencyNotification.createRecipientAsync(client, recipient);
975975
console.log(response.emergencyNotificationRecipient.identifier);
976976
//63865500-0904-46b1-9b4f-7bd237a26363
977977
}
@@ -986,7 +986,7 @@ var en = new EmergencyNotification();
986986
en.enrid = 123;
987987

988988
try {
989-
const response = await en.deleteRecipient(client);
989+
const response = await en.deleteRecipientAsync(client);
990990
}
991991
catch (e) {
992992
console.log(e);
@@ -996,7 +996,7 @@ catch (e) {
996996

997997
```js
998998
try {
999-
const response = await EmergencyNotification.listGroupOrders(helper.createClient(), {Size: "20"});
999+
const response = await EmergencyNotification.listGroupOrdersAsync(helper.createClient(), {Size: "20"});
10001000
console.log(response.emergencyNotificationGroupOrders.emergencyNotificationGroupOrder.length);
10011001
//20
10021002
}
@@ -1008,7 +1008,7 @@ catch (e) {
10081008

10091009
```js
10101010
try {
1011-
const response = await EmergencyNotification.getGroupOrder(helper.createClient(), "orderId");
1011+
const response = await EmergencyNotification.getGroupOrderAsync(helper.createClient(), "orderId");
10121012
console.log(response.emergencyNotificationGroup.orderId);
10131013
//orderId
10141014
}
@@ -1020,7 +1020,7 @@ catch (e) {
10201020

10211021
```js
10221022
try {
1023-
const response = EmergencyNotification.createGroupOrder(helper.createClient(), groupOrder);
1023+
const response = EmergencyNotification.createGroupOrderAsync(helper.createClient(), groupOrder);
10241024
console.log(response.OrderId);
10251025
//900b3646-18df-4626-b237-3a8de648ebf6
10261026
}
@@ -1032,7 +1032,7 @@ catch (e) {
10321032

10331033
```js
10341034
try {
1035-
const response = await EmergencyNotification.listGroups(client, {"Size": "20"} );
1035+
const response = await EmergencyNotification.listGroupsAsync(client, {"Size": "20"} );
10361036
console.log(response.emergencyNotificationGroups.emergencyNotificationGroup.length);
10371037
//20
10381038
}
@@ -1044,7 +1044,7 @@ catch (e) {
10441044

10451045
```js
10461046
try {
1047-
const response = await EmergencyNotification.getGroup(client, "engid");
1047+
const response = await EmergencyNotification.getGroupAsync(client, "engid");
10481048
console.log(response.emergencyNotificationGroup.identifier);
10491049
//63865500-0904-46b1-9b4f-7bd237a26363
10501050
}
@@ -1056,7 +1056,7 @@ catch (e) {
10561056

10571057
```js
10581058
try {
1059-
const response = await EmergencyNotification.listEnpointOrders(client, {"Size": "20"} );
1059+
const response = await EmergencyNotification.listEnpointOrdersAsync(client, {"Size": "20"} );
10601060
console.log(response.emergencyNotificationEndpointOrders.emergencyNotificationEndpointOrder.length);
10611061
//20
10621062
}
@@ -1068,7 +1068,7 @@ catch (e) {
10681068

10691069
```js
10701070
try {
1071-
const response = await EmergencyNotification.getEndpointOrder(client, "orderId" );
1071+
const response = await EmergencyNotification.getEndpointOrderAsync(client, "orderId" );
10721072
console.log(response.emergencyNotificationEndpointOrder.orderId);
10731073
//orderId
10741074
}
@@ -1080,7 +1080,7 @@ catch (e) {
10801080

10811081
```js
10821082
try {
1083-
const response = await EmergencyNotification.createEndpointOrder(client, endpoint );
1083+
const response = await EmergencyNotification.createEndpointOrderAsync(client, endpoint );
10841084
console.log(response.emergencyNotificationEndpointOrder.orderId);
10851085
//3e9a852e-2d1d-4e2d-84c3-87223a78cb70
10861086
}
@@ -1095,7 +1095,7 @@ catch (e) {
10951095

10961096
```js
10971097
try {
1098-
const response = await Aeuis.list(client, {Size: 20} );
1098+
const response = await Aeuis.listAsync(client, {Size: 20} );
10991099
console.log(response.AlternateEndUserIdentifiers.AlternateEndUserIdentifier.length);
11001100
//20
11011101
}
@@ -1108,7 +1108,7 @@ catch (e) {
11081108

11091109
```js
11101110
try {
1111-
const response = await Aeuis.get(client, "acid" );
1111+
const response = await Aeuis.getAsync(client, "acid" );
11121112
console.log(response.AlternateEndUserIdentifier.Identifier);
11131113
//acid
11141114
}

0 commit comments

Comments
 (0)