Skip to content

Commit 7b7d5b0

Browse files
committed
updates to comments
1 parent a49c06c commit 7b7d5b0

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

swift/example_code/iam/ListAttachedRolePolicies/Sources/ServiceHandler/ServiceHandler.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

swift/example_code/iam/ListPolicies/Sources/ServiceHandler/ServiceHandler.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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)

swift/example_code/iam/ListRolePolicies/Sources/ServiceHandler/ServiceHandler.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

swift/example_code/iam/ListRoles/Sources/ServiceHandler/ServiceHandler.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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)

swift/example_code/iam/ListUsers/Sources/ServiceHandler/ServiceHandler.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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)

0 commit comments

Comments
 (0)