Skip to content

Commit

Permalink
updates to comments
Browse files Browse the repository at this point in the history
  • Loading branch information
meyertst-aws authored and Laren-AWS committed Sep 23, 2024
1 parent 240adce commit 87e5908
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public class ServiceHandler {
public func listAttachedRolePolicies(role: String) async throws -> [IAMClientTypes.AttachedPolicy] {
var policyList: [IAMClientTypes.AttachedPolicy] = []

// Use "Paginated" to get all the objects.
// Use "Paginated" to get all the attached role polices.
// This lets the SDK handle the 'isTruncated' in "ListAttachedRolePoliciesOutput".
let input = ListAttachedRolePoliciesInput(
roleName: role
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public class ServiceHandler {
public func listPolicies() async throws -> [MyPolicyRecord] {
var policyList: [MyPolicyRecord] = []

// Use "Paginated" to get all the objects.
// Use "Paginated" to get all the policies.
// This lets the SDK handle the 'isTruncated' in "ListPoliciesOutput".
let input = ListPoliciesInput()
let output = client.listPoliciesPaginated(input: input)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public class ServiceHandler {
public func listRolePolicies(role: String) async throws -> [String] {
var policyList: [String] = []

// Use "Paginated" to get all the objects.
// Use "Paginated" to get all the role policies.
// This lets the SDK handle the 'isTruncated' in "ListRolePoliciesOutput".
let input = ListRolePoliciesInput(
roleName: role
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public class ServiceHandler {
public func listRoles() async throws -> [String] {
var roleList: [String] = []

// Use "Paginated" to get all the objects.
// Use "Paginated" to get all the roles.
// This lets the SDK handle the 'isTruncated' in "ListRolesOutput".
let input = ListRolesInput()
let pages = client.listRolesPaginated(input: input)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public class ServiceHandler {
public func listUsers() async throws -> [MyUserRecord] {
var userList: [MyUserRecord] = []

// Use "Paginated" to get all the objects.
// Use "Paginated" to get all the users.
// This lets the SDK handle the 'isTruncated' in "ListUsersOutput".
let input = ListUsersInput()
let output = client.listUsersPaginated(input: input)
Expand Down

0 comments on commit 87e5908

Please sign in to comment.