We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b802c50 commit e858496Copy full SHA for e858496
src/shared/clients/iamClient.ts
@@ -108,9 +108,8 @@ export class DefaultIamClient {
108
public async putRolePolicy(roleArn: string, policyName: string, policyDocument: string): Promise<void> {
109
const client = await this.createSdkClient()
110
const roleName = this.getFriendlyName(roleArn)
111
- const response = await client
+ await client
112
.putRolePolicy({ RoleName: roleName, PolicyName: policyName, PolicyDocument: policyDocument })
113
.promise()
114
- console.log(response)
115
}
116
0 commit comments