File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed
ListAttachedRolePolicies/Sources/ServiceHandler
ListPolicies/Sources/ServiceHandler
ListRolePolicies/Sources/ServiceHandler
ListRoles/Sources/ServiceHandler
ListUsers/Sources/ServiceHandler Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ public class ServiceHandler {
5555 public func listAttachedRolePolicies( role: String ) async throws -> [ IAMClientTypes . AttachedPolicy ] {
5656 var policyList : [ IAMClientTypes . AttachedPolicy ] = [ ]
5757
58- // Use "Paginated" to get all the objects .
58+ // Use "Paginated" to get all the attached role polices .
5959 // This lets the SDK handle the 'isTruncated' in "ListAttachedRolePoliciesOutput".
6060 let input = ListAttachedRolePoliciesInput (
6161 roleName: role
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ public class ServiceHandler {
5050 public func listPolicies( ) async throws -> [ MyPolicyRecord ] {
5151 var policyList : [ MyPolicyRecord ] = [ ]
5252
53- // Use "Paginated" to get all the objects .
53+ // Use "Paginated" to get all the policies .
5454 // This lets the SDK handle the 'isTruncated' in "ListPoliciesOutput".
5555 let input = ListPoliciesInput ( )
5656 let output = client. listPoliciesPaginated ( input: input)
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ public class ServiceHandler {
5151 public func listRolePolicies( role: String ) async throws -> [ String ] {
5252 var policyList : [ String ] = [ ]
5353
54- // Use "Paginated" to get all the objects .
54+ // Use "Paginated" to get all the role policies .
5555 // This lets the SDK handle the 'isTruncated' in "ListRolePoliciesOutput".
5656 let input = ListRolePoliciesInput (
5757 roleName: role
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ public class ServiceHandler {
5050 public func listRoles( ) async throws -> [ String ] {
5151 var roleList : [ String ] = [ ]
5252
53- // Use "Paginated" to get all the objects .
53+ // Use "Paginated" to get all the roles .
5454 // This lets the SDK handle the 'isTruncated' in "ListRolesOutput".
5555 let input = ListRolesInput ( )
5656 let pages = client. listRolesPaginated ( input: input)
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ public class ServiceHandler {
4141 public func listUsers( ) async throws -> [ MyUserRecord ] {
4242 var userList : [ MyUserRecord ] = [ ]
4343
44- // Use "Paginated" to get all the objects .
44+ // Use "Paginated" to get all the users .
4545 // This lets the SDK handle the 'isTruncated' in "ListUsersOutput".
4646 let input = ListUsersInput ( )
4747 let output = client. listUsersPaginated ( input: input)
You can’t perform that action at this time.
0 commit comments