@aws-sdk/client-iam 3.958.0 → 3.962.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.
package/dist-cjs/index.js CHANGED
@@ -6208,7 +6208,7 @@ const paginateSimulatePrincipalPolicy = core.createPaginator(IAMClient, Simulate
6208
6208
  const checkState$3 = async (client, input) => {
6209
6209
  let reason;
6210
6210
  try {
6211
- const result = await client.send(new GetInstanceProfileCommand(input));
6211
+ let result = await client.send(new GetInstanceProfileCommand(input));
6212
6212
  reason = result;
6213
6213
  return { state: utilWaiter.WaiterState.SUCCESS, reason };
6214
6214
  }
@@ -6233,7 +6233,7 @@ const waitUntilInstanceProfileExists = async (params, input) => {
6233
6233
  const checkState$2 = async (client, input) => {
6234
6234
  let reason;
6235
6235
  try {
6236
- const result = await client.send(new GetPolicyCommand(input));
6236
+ let result = await client.send(new GetPolicyCommand(input));
6237
6237
  reason = result;
6238
6238
  return { state: utilWaiter.WaiterState.SUCCESS, reason };
6239
6239
  }
@@ -6258,7 +6258,7 @@ const waitUntilPolicyExists = async (params, input) => {
6258
6258
  const checkState$1 = async (client, input) => {
6259
6259
  let reason;
6260
6260
  try {
6261
- const result = await client.send(new GetRoleCommand(input));
6261
+ let result = await client.send(new GetRoleCommand(input));
6262
6262
  reason = result;
6263
6263
  return { state: utilWaiter.WaiterState.SUCCESS, reason };
6264
6264
  }
@@ -6283,7 +6283,7 @@ const waitUntilRoleExists = async (params, input) => {
6283
6283
  const checkState = async (client, input) => {
6284
6284
  let reason;
6285
6285
  try {
6286
- const result = await client.send(new GetUserCommand(input));
6286
+ let result = await client.send(new GetUserCommand(input));
6287
6287
  reason = result;
6288
6288
  return { state: utilWaiter.WaiterState.SUCCESS, reason };
6289
6289
  }
@@ -3,7 +3,7 @@ import { GetInstanceProfileCommand } from "../commands/GetInstanceProfileCommand
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new GetInstanceProfileCommand(input));
6
+ let result = await client.send(new GetInstanceProfileCommand(input));
7
7
  reason = result;
8
8
  return { state: WaiterState.SUCCESS, reason };
9
9
  }
@@ -3,7 +3,7 @@ import { GetPolicyCommand } from "../commands/GetPolicyCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new GetPolicyCommand(input));
6
+ let result = await client.send(new GetPolicyCommand(input));
7
7
  reason = result;
8
8
  return { state: WaiterState.SUCCESS, reason };
9
9
  }
@@ -3,7 +3,7 @@ import { GetRoleCommand } from "../commands/GetRoleCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new GetRoleCommand(input));
6
+ let result = await client.send(new GetRoleCommand(input));
7
7
  reason = result;
8
8
  return { state: WaiterState.SUCCESS, reason };
9
9
  }
@@ -3,7 +3,7 @@ import { GetUserCommand } from "../commands/GetUserCommand";
3
3
  const checkState = async (client, input) => {
4
4
  let reason;
5
5
  try {
6
- const result = await client.send(new GetUserCommand(input));
6
+ let result = await client.send(new GetUserCommand(input));
7
7
  reason = result;
8
8
  return { state: WaiterState.SUCCESS, reason };
9
9
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-iam",
3
3
  "description": "AWS SDK for JavaScript Iam Client for Node.js, Browser and React Native",
4
- "version": "3.958.0",
4
+ "version": "3.962.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-iam",
@@ -24,7 +24,7 @@
24
24
  "@aws-crypto/sha256-browser": "5.2.0",
25
25
  "@aws-crypto/sha256-js": "5.2.0",
26
26
  "@aws-sdk/core": "3.957.0",
27
- "@aws-sdk/credential-provider-node": "3.958.0",
27
+ "@aws-sdk/credential-provider-node": "3.962.0",
28
28
  "@aws-sdk/middleware-host-header": "3.957.0",
29
29
  "@aws-sdk/middleware-logger": "3.957.0",
30
30
  "@aws-sdk/middleware-recursion-detection": "3.957.0",