kiro-agent-team 1.0.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.
Files changed (155) hide show
  1. package/.kiro/README.md +228 -0
  2. package/.kiro/agents/backend-engineer.json +6 -0
  3. package/.kiro/agents/backend-engineer.md +643 -0
  4. package/.kiro/agents/database-specialist.json +6 -0
  5. package/.kiro/agents/database-specialist.md +390 -0
  6. package/.kiro/agents/development-logger.json +6 -0
  7. package/.kiro/agents/development-logger.md +265 -0
  8. package/.kiro/agents/devops-engineer.json +6 -0
  9. package/.kiro/agents/devops-engineer.md +287 -0
  10. package/.kiro/agents/frontend-architect.json +6 -0
  11. package/.kiro/agents/frontend-architect.md +1032 -0
  12. package/.kiro/agents/hooks/backend-engineer-hooks.yaml +540 -0
  13. package/.kiro/agents/hooks/database-specialist-hooks.yaml +488 -0
  14. package/.kiro/agents/hooks/development-logger-hooks.yaml +361 -0
  15. package/.kiro/agents/hooks/devops-engineer-hooks.yaml +345 -0
  16. package/.kiro/agents/hooks/frontend-architect-hooks.yaml +521 -0
  17. package/.kiro/agents/hooks/project-manager-hooks.yaml +513 -0
  18. package/.kiro/agents/hooks/security-specialist-hooks.yaml +358 -0
  19. package/.kiro/agents/hooks/test-orchestrator-hooks.yaml +380 -0
  20. package/.kiro/agents/hooks/ui-ux-designer-hooks.yaml +353 -0
  21. package/.kiro/agents/project-manager.json +6 -0
  22. package/.kiro/agents/project-manager.md +344 -0
  23. package/.kiro/agents/prompts/backend-engineer-system.md +815 -0
  24. package/.kiro/agents/prompts/database-specialist-system.md +332 -0
  25. package/.kiro/agents/prompts/development-logger-system.md +232 -0
  26. package/.kiro/agents/prompts/devops-engineer-system.md +260 -0
  27. package/.kiro/agents/prompts/frontend-architect-system.md +305 -0
  28. package/.kiro/agents/prompts/project-manager-system.md +285 -0
  29. package/.kiro/agents/prompts/security-specialist-system.md +231 -0
  30. package/.kiro/agents/prompts/test-orchestrator-system.md +214 -0
  31. package/.kiro/agents/prompts/ui-ux-designer-system.md +270 -0
  32. package/.kiro/agents/security-specialist.json +6 -0
  33. package/.kiro/agents/security-specialist.md +277 -0
  34. package/.kiro/agents/test-orchestrator.json +6 -0
  35. package/.kiro/agents/test-orchestrator.md +266 -0
  36. package/.kiro/agents/ui-ux-designer.json +6 -0
  37. package/.kiro/agents/ui-ux-designer.md +284 -0
  38. package/.kiro/devlog/00-START-HERE.md +444 -0
  39. package/.kiro/devlog/COMPLETE-WORKFLOW.md +553 -0
  40. package/.kiro/devlog/DEVLOG-INTEGRATION.md +413 -0
  41. package/.kiro/devlog/DEVLOG-PROCESS-FLOWS.md +484 -0
  42. package/.kiro/devlog/DEVLOG-QUICK-REF.md +299 -0
  43. package/.kiro/devlog/DEVLOG.md +22 -0
  44. package/.kiro/devlog/IMPLEMENTATION-COMPLETE.txt +434 -0
  45. package/.kiro/devlog/IMPLEMENTATION-SUMMARY.md +358 -0
  46. package/.kiro/devlog/README.md +363 -0
  47. package/.kiro/devlog/devlog-update.bat +136 -0
  48. package/.kiro/devlog/devlog-update.sh +275 -0
  49. package/.kiro/devlog/feature-completion-hook.bat +78 -0
  50. package/.kiro/devlog/feature-completion-hook.sh +84 -0
  51. package/.kiro/documentation/cli.md +31 -0
  52. package/.kiro/documentation/docs_cli.md +41 -0
  53. package/.kiro/documentation/docs_cli_authentication.md +43 -0
  54. package/.kiro/documentation/docs_cli_autocomplete.md +132 -0
  55. package/.kiro/documentation/docs_cli_billing.md +31 -0
  56. package/.kiro/documentation/docs_cli_billing_contact-support.md +43 -0
  57. package/.kiro/documentation/docs_cli_billing_managing-taxes.md +67 -0
  58. package/.kiro/documentation/docs_cli_billing_related-questions.md +49 -0
  59. package/.kiro/documentation/docs_cli_billing_subscription-portal.md +31 -0
  60. package/.kiro/documentation/docs_cli_chat.md +84 -0
  61. package/.kiro/documentation/docs_cli_chat_configuration.md +40 -0
  62. package/.kiro/documentation/docs_cli_chat_context.md +258 -0
  63. package/.kiro/documentation/docs_cli_chat_git-aware-selection.md +41 -0
  64. package/.kiro/documentation/docs_cli_chat_images.md +53 -0
  65. package/.kiro/documentation/docs_cli_chat_manage-prompts.md +216 -0
  66. package/.kiro/documentation/docs_cli_chat_model-selection.md +153 -0
  67. package/.kiro/documentation/docs_cli_chat_permissions.md +68 -0
  68. package/.kiro/documentation/docs_cli_chat_planning-agent.md +230 -0
  69. package/.kiro/documentation/docs_cli_chat_responding.md +123 -0
  70. package/.kiro/documentation/docs_cli_chat_security.md +87 -0
  71. package/.kiro/documentation/docs_cli_chat_subagents.md +77 -0
  72. package/.kiro/documentation/docs_cli_code-intelligence.md +251 -0
  73. package/.kiro/documentation/docs_cli_custom-agents.md +37 -0
  74. package/.kiro/documentation/docs_cli_custom-agents_configuration-reference.md +941 -0
  75. package/.kiro/documentation/docs_cli_custom-agents_creating.md +93 -0
  76. package/.kiro/documentation/docs_cli_custom-agents_examples.md +360 -0
  77. package/.kiro/documentation/docs_cli_custom-agents_troubleshooting.md +180 -0
  78. package/.kiro/documentation/docs_cli_enterprise_billing.md +33 -0
  79. package/.kiro/documentation/docs_cli_enterprise_concepts.md +34 -0
  80. package/.kiro/documentation/docs_cli_enterprise_getting-started.md +19 -0
  81. package/.kiro/documentation/docs_cli_enterprise_iam.md +251 -0
  82. package/.kiro/documentation/docs_cli_enterprise_monitor-and-track.md +15 -0
  83. package/.kiro/documentation/docs_cli_enterprise_monitor-and-track_dashboard.md +62 -0
  84. package/.kiro/documentation/docs_cli_enterprise_monitor-and-track_prompt-logging.md +165 -0
  85. package/.kiro/documentation/docs_cli_enterprise_monitor-and-track_user-activity.md +123 -0
  86. package/.kiro/documentation/docs_cli_enterprise_settings.md +15 -0
  87. package/.kiro/documentation/docs_cli_enterprise_subscribe.md +36 -0
  88. package/.kiro/documentation/docs_cli_enterprise_subscription-management.md +55 -0
  89. package/.kiro/documentation/docs_cli_enterprise_supported-regions.md +39 -0
  90. package/.kiro/documentation/docs_cli_experimental.md +282 -0
  91. package/.kiro/documentation/docs_cli_experimental_checkpointing.md +439 -0
  92. package/.kiro/documentation/docs_cli_experimental_delegate.md +422 -0
  93. package/.kiro/documentation/docs_cli_experimental_knowledge-management.md +449 -0
  94. package/.kiro/documentation/docs_cli_experimental_tangent-mode.md +357 -0
  95. package/.kiro/documentation/docs_cli_experimental_thinking.md +331 -0
  96. package/.kiro/documentation/docs_cli_experimental_todo-lists.md +385 -0
  97. package/.kiro/documentation/docs_cli_hooks.md +207 -0
  98. package/.kiro/documentation/docs_cli_installation.md +235 -0
  99. package/.kiro/documentation/docs_cli_mcp.md +106 -0
  100. package/.kiro/documentation/docs_cli_mcp_configuration.md +294 -0
  101. package/.kiro/documentation/docs_cli_mcp_examples.md +273 -0
  102. package/.kiro/documentation/docs_cli_mcp_governance.md +436 -0
  103. package/.kiro/documentation/docs_cli_mcp_security.md +77 -0
  104. package/.kiro/documentation/docs_cli_migrating-from-q.md +129 -0
  105. package/.kiro/documentation/docs_cli_privacy-and-security.md +83 -0
  106. package/.kiro/documentation/docs_cli_privacy-and-security_compliance-validation.md +17 -0
  107. package/.kiro/documentation/docs_cli_privacy-and-security_data-protection.md +104 -0
  108. package/.kiro/documentation/docs_cli_privacy-and-security_firewalls.md +26 -0
  109. package/.kiro/documentation/docs_cli_privacy-and-security_infrastructure-security.md +10 -0
  110. package/.kiro/documentation/docs_cli_privacy-and-security_vpc-endpoints.md +41 -0
  111. package/.kiro/documentation/docs_cli_reference_built-in-tools.md +624 -0
  112. package/.kiro/documentation/docs_cli_reference_cli-commands.md +689 -0
  113. package/.kiro/documentation/docs_cli_reference_settings.md +294 -0
  114. package/.kiro/documentation/docs_cli_reference_slash-commands.md +559 -0
  115. package/.kiro/documentation/docs_cli_steering.md +84 -0
  116. package/.kiro/guides/AGENT_WORKFLOW_GUIDE.md +294 -0
  117. package/.kiro/guides/DEVLOG.md +882 -0
  118. package/.kiro/guides/IMPLEMENTATION_EXAMPLES.md +611 -0
  119. package/.kiro/guides/PIV Loop.md +122 -0
  120. package/.kiro/guides/PIV Loop.png +0 -0
  121. package/.kiro/guides/PIVLoop.png +0 -0
  122. package/.kiro/guides/QUICK_REFERENCE.md +202 -0
  123. package/.kiro/guides/README.md +149 -0
  124. package/.kiro/guides/advanced-patterns.md +514 -0
  125. package/.kiro/guides/agent-coordination.md +434 -0
  126. package/.kiro/guides/core-workflows.md +409 -0
  127. package/.kiro/guides/emergency-procedures.md +414 -0
  128. package/.kiro/guides/project-evaluation.md +534 -0
  129. package/.kiro/guides/quality-assurance.md +431 -0
  130. package/.kiro/guides/quick-start.md +235 -0
  131. package/.kiro/guides/troubleshooting.md +575 -0
  132. package/.kiro/guides/walkthroughs.md +711 -0
  133. package/.kiro/prompts/add-to-devlog.md +263 -0
  134. package/.kiro/prompts/code-review-fix.md +18 -0
  135. package/.kiro/prompts/code-review-hackathon.md +167 -0
  136. package/.kiro/prompts/code-review-security.md +454 -0
  137. package/.kiro/prompts/code-review.md +113 -0
  138. package/.kiro/prompts/create-prd.md +151 -0
  139. package/.kiro/prompts/execute-backend.md +257 -0
  140. package/.kiro/prompts/execute-frontend.md +438 -0
  141. package/.kiro/prompts/execute-logging.md +491 -0
  142. package/.kiro/prompts/execute-security.md +482 -0
  143. package/.kiro/prompts/execute-testing.md +528 -0
  144. package/.kiro/prompts/execute.md +101 -0
  145. package/.kiro/prompts/execution-report.md +72 -0
  146. package/.kiro/prompts/implement-fix.md +228 -0
  147. package/.kiro/prompts/plan-feature.md +433 -0
  148. package/.kiro/prompts/prime.md +73 -0
  149. package/.kiro/prompts/quality-metrics.md +622 -0
  150. package/.kiro/prompts/quickstart.md +318 -0
  151. package/.kiro/prompts/rca.md +220 -0
  152. package/.kiro/prompts/system-review.md +189 -0
  153. package/README.md +32 -0
  154. package/bin/cli.js +97 -0
  155. package/package.json +33 -0
@@ -0,0 +1,34 @@
1
+ # Concepts
2
+ ## AWS IAM Identity Center[](https://kiro.dev/docs/cli/enterprise/concepts/#aws-iam-identity-center)
3
+ An AWS service that provides a central place to manage user identities of Kiro subscribers.
4
+ ## AWS region[](https://kiro.dev/docs/cli/enterprise/concepts/#aws-region)
5
+ A physical location around the world where AWS clusters its data centers. There are two AWS Regions relevant to Kiro administrators:
6
+ * The Region where your IAM Identity Center instance is enabled. This is where user identities are managed, and where subscriptions are stored.
7
+ * The Region where your Kiro profile is created. This is where data is stored, and might be different from your IAM Identity Center instance's Region.
8
+
9
+
10
+ For more information about Regions, see [Supported Regions](https://kiro.dev/docs/cli/enterprise/supported-regions).
11
+ ## Group[](https://kiro.dev/docs/cli/enterprise/concepts/#group)
12
+ A collection of users within IAM Identity Center. When you subscribe a group to Kiro, the users within it are individually subscribed. (There is no concept of a group subscription.)
13
+ ## Kiro console[](https://kiro.dev/docs/cli/enterprise/concepts/#kiro-console)
14
+ A console within the AWS console where you create and manage Kiro subscriptions and control settings. The Kiro console appears as **Kiro** in the drop-down list of AWS services.
15
+ ## Kiro credits[](https://kiro.dev/docs/cli/enterprise/concepts/#kiro-credits)
16
+ A unit of consumption that measures usage of Kiro's AI-powered features. Credits are spent when you interact with AI capabilities and are replenished based on your subscription tier.
17
+ ## Kiro enterprise user[](https://kiro.dev/docs/cli/enterprise/concepts/#kiro-enterprise-user)
18
+ A user that you have added and subscribed to a Kiro subscription tier through the AWS console, capable of accessing Kiro through IAM Identity Center.
19
+ ## Kiro profile[](https://kiro.dev/docs/cli/enterprise/concepts/#kiro-profile)
20
+ The management abstraction that defines and enforces administrative settings and subscriptions to enterprise users in a given AWS account and Region. A Kiro profile corresponds to a combination of an AWS account (management or member) and the Region for that account. This implies that you can only have one profile for each AWS account in a given Region. You set up Kiro profiles through the Kiro console.
21
+ ## Kiro subscription tier[](https://kiro.dev/docs/cli/enterprise/concepts/#kiro-subscription-tier)
22
+ A distinctive pricing plan with a predetermined number of Kiro credits.
23
+ Page updated: November 16, 2025
24
+ [IAM](https://kiro.dev/docs/cli/enterprise/iam/)
25
+ [Privacy and security](https://kiro.dev/docs/cli/privacy-and-security/)
26
+ On this page
27
+ * [AWS IAM Identity Center](https://kiro.dev/docs/cli/enterprise/concepts/#aws-iam-identity-center)
28
+ * [AWS region](https://kiro.dev/docs/cli/enterprise/concepts/#aws-region)
29
+ * [Group](https://kiro.dev/docs/cli/enterprise/concepts/#group)
30
+ * [Kiro console](https://kiro.dev/docs/cli/enterprise/concepts/#kiro-console)
31
+ * [Kiro credits](https://kiro.dev/docs/cli/enterprise/concepts/#kiro-credits)
32
+ * [Kiro enterprise user](https://kiro.dev/docs/cli/enterprise/concepts/#kiro-enterprise-user)
33
+ * [Kiro profile](https://kiro.dev/docs/cli/enterprise/concepts/#kiro-profile)
34
+ * [Kiro subscription tier](https://kiro.dev/docs/cli/enterprise/concepts/#kiro-subscription-tier)
@@ -0,0 +1,19 @@
1
+ # Onboarding quickstart
2
+ ## Audience[](https://kiro.dev/docs/cli/enterprise/getting-started/#audience)
3
+ Read this page, and the **Enterprise** section, if you're an administrator who wants to onboard your team to Kiro and manage their subscriptions.
4
+ **Info**
5
+ For detailed onboarding instructions, see [Subscribe your team to Kiro](https://kiro.dev/docs/cli/enterprise/subscribe).
6
+ ## To onboard your team to Kiro[](https://kiro.dev/docs/cli/enterprise/getting-started/#to-onboard-your-team-to-kiro)
7
+ 1. **Create an AWS account** if you don't have one already (see [Create an AWS account](https://docs.aws.amazon.com/accounts/latest/reference/manage-acct-creating.html)).
8
+ 2. **Sign in to your AWS account**. You can sign in as an AWS root user or as a user with a privileged role. Alternatively, [allow adminitrators to use Kiro with minimum permissions](https://kiro.dev/docs/cli/enterprise/iam/#policy-allow-administrators-to-configure-kiro-and-subscribe-users).
9
+ 3. **Enable AWS IAM Identity Center** in your AWS account. Add users to its directory, or connect it to an external identity provider (IdP). If this is your first time setting up an IAM Identity Center instance, see [Getting started with IAM Identity Center](https://docs.aws.amazon.com/singlesignon/latest/userguide/getting-started.html).
10
+ 4. **Create a Kiro profile and subscribe users**. Within the AWS console, navigate to the Kiro console and use the available UI to create a profile and subscribe users. The profile is the glue that ties your user identities with their Kiro subscriptions and settings. Once your Kiro profile is created and connected, you can import your users and groups and [subscribe your team to Kiro](https://kiro.dev/docs/cli/enterprise/subscribe).
11
+ 5. **Have users check their email**. Within 24 hours of being subscribed, users should receive an email that contains download instructions for the Kiro IDE and Kiro CLI, as well as sign-in instructions.
12
+
13
+
14
+ Page updated: November 18, 2025
15
+ [Contacting billing support](https://kiro.dev/docs/cli/billing/contact-support/)
16
+ [Subscribe your team](https://kiro.dev/docs/cli/enterprise/subscribe/)
17
+ On this page
18
+ * [Audience](https://kiro.dev/docs/cli/enterprise/getting-started/#audience)
19
+ * [To onboard your team to Kiro](https://kiro.dev/docs/cli/enterprise/getting-started/#to-onboard-your-team-to-kiro)
@@ -0,0 +1,251 @@
1
+ # How Kiro works with identity and access management (IAM)
2
+ To access the Kiro console and perform tasks related to your Kiro subscription, you need permissions provisioned through AWS Identity and Access Management (IAM). AWS IAM is an AWS service that helps an administrator securely control access to AWS resources and is available at no additional charge.
3
+ To enable access, you can create an identity-based policy with the necessary permissions and attach it to the IAM identity that is configuring Kiro subscriptions. For more information, see [Identity-based policies for Kiro](https://kiro.dev/docs/cli/enterprise/iam/#identity-based-policies-for-kiro).
4
+ In addition, Kiro uses AWS IAM service-linked roles. A service-linked role is a unique type of IAM role that is linked directly to Kiro, rather than to an identity, and they are automatically created for you when you subscribe. For more information, see [Service-linked roles for Kiro](https://kiro.dev/docs/cli/enterprise/iam/#service-linked-roles-for-kiro).
5
+ ## Identity-based policies for Kiro[](https://kiro.dev/docs/cli/enterprise/iam/#identity-based-policies-for-kiro)
6
+ Identity-based policies are JSON permissions policy documents that you can attach to an identity, such as an IAM user, group of users, or role. These policies control what actions users and roles can perform, on which resources, and under what conditions.
7
+ To subscribe users and configure your subscription, you need the permissions defined in Allow administrators to configure and subscribe to Kiro in the console.
8
+ To learn how to create an identity-based policy, see [Define custom IAM permissions with customer managed policies](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_create.html) in the _AWS IAM User Guide_.
9
+ ### Policy: allow administrators to configure Kiro and subscribe users[](https://kiro.dev/docs/cli/enterprise/iam/#policy-allow-administrators-to-configure-kiro-and-subscribe-users)
10
+ The following example policy grants permissions to perform actions in the Kiro console. The Kiro console is where you subscribe users to Kiro, configure Kiro’s integration with AWS IAM Identity Center and AWS Organizations, and manage subscription settings. This policy also includes permissions to create and configure customer managed KMS keys.
11
+ Show policy
12
+ json
13
+ ```
14
+
15
+ {
16
+ "Version":"2012-10-17",
17
+ "Statement": [
18
+ {
19
+ "Effect": "Allow",
20
+ "Action": [
21
+ "sso:ListInstances",
22
+ "sso:CreateInstance",
23
+ "sso:CreateApplication",
24
+ "sso:PutApplicationAuthenticationMethod",
25
+ "sso:PutApplicationGrant",
26
+ "sso:PutApplicationAssignmentConfiguration",
27
+ "sso:ListApplications",
28
+ "sso:GetSharedSsoConfiguration",
29
+ "sso:DescribeInstance",
30
+ "sso:PutApplicationAccessScope",
31
+ "sso:DescribeApplication",
32
+ "sso:DeleteApplication",
33
+ "sso:CreateApplicationAssignment",
34
+ "sso:DeleteApplicationAssignment",
35
+ "sso:UpdateApplication",
36
+ "sso:DescribeRegisteredRegions",
37
+ "sso:GetSSOStatus"
38
+ ],
39
+ "Resource": [
40
+ "*"
41
+ ]
42
+ },
43
+ {
44
+ "Effect": "Allow",
45
+ "Action": [
46
+ "iam:ListRoles"
47
+ ],
48
+ "Resource": [
49
+ "*"
50
+ ]
51
+ },
52
+ {
53
+ "Effect": "Allow",
54
+ "Action": [
55
+ "identitystore:DescribeUser"
56
+ ],
57
+ "Resource": [
58
+ "*"
59
+ ]
60
+ },
61
+ {
62
+ "Effect": "Allow",
63
+ "Action": [
64
+ "sso-directory:GetUserPoolInfo",
65
+ "sso-directory:DescribeUser",
66
+ "sso-directory:DescribeUsers",
67
+ "sso-directory:DescribeGroups",
68
+ "sso-directory:SearchGroups",
69
+ "sso-directory:SearchUsers",
70
+ "sso-directory:DescribeDirectory"
71
+ ],
72
+ "Resource": [
73
+ "*"
74
+ ]
75
+ },
76
+ {
77
+ "Effect": "Allow",
78
+ "Action": [
79
+ "signin:ListTrustedIdentityPropagationApplicationsForConsole",
80
+ "signin:CreateTrustedIdentityPropagationApplicationForConsole"
81
+ ],
82
+ "Resource": [
83
+ "*"
84
+ ]
85
+ },
86
+ {
87
+ "Effect": "Allow",
88
+ "Action": [
89
+ "user-subscriptions:ListClaims",
90
+ "user-subscriptions:ListApplicationClaims",
91
+ "user-subscriptions:ListUserSubscriptions",
92
+ "user-subscriptions:CreateClaim",
93
+ "user-subscriptions:DeleteClaim",
94
+ "user-subscriptions:UpdateClaim",
95
+ "user-subscriptions:SetOverageConfig"
96
+ ],
97
+ "Resource": [
98
+ "*"
99
+ ]
100
+ },
101
+ {
102
+ "Effect": "Allow",
103
+ "Action": [
104
+ "organizations:DescribeAccount",
105
+ "organizations:DescribeOrganization",
106
+ "organizations:ListAWSServiceAccessForOrganization",
107
+ "organizations:DisableAWSServiceAccess",
108
+ "organizations:EnableAWSServiceAccess"
109
+ ],
110
+ "Resource": [
111
+ "*"
112
+ ]
113
+ },
114
+ {
115
+ "Effect": "Allow",
116
+ "Action": [
117
+ "kms:ListAliases",
118
+ "kms:CreateGrant",
119
+ "kms:Encrypt",
120
+ "kms:Decrypt",
121
+ "kms:GenerateDataKey*",
122
+ "kms:RetireGrant",
123
+ "kms:DescribeKey"
124
+ ],
125
+ "Resource": [
126
+ "*"
127
+ ]
128
+ },
129
+ {
130
+ "Effect": "Allow",
131
+ "Action": [
132
+ "codeguru-security:UpdateAccountConfiguration"
133
+ ],
134
+ "Resource": [
135
+ "*"
136
+ ]
137
+ },
138
+ {
139
+ "Effect": "Allow",
140
+ "Action": [
141
+ "iam:CreateServiceLinkedRole"
142
+ ],
143
+ "Resource": [
144
+ "arn:aws:iam::*:role/aws-service-role/q.amazonaws.com/AWSServiceRoleForAmazonQDeveloper"
145
+ ]
146
+ },
147
+ {
148
+ "Effect": "Allow",
149
+ "Action": [
150
+ "codewhisperer:UpdateProfile",
151
+ "codewhisperer:ListProfiles",
152
+ "codewhisperer:TagResource",
153
+ "codewhisperer:UnTagResource",
154
+ "codewhisperer:ListTagsForResource",
155
+ "codewhisperer:CreateProfile"
156
+ ],
157
+ "Resource": [
158
+ "*"
159
+ ]
160
+ },
161
+ {
162
+ "Effect": "Allow",
163
+ "Action": [
164
+ "q:ListDashboardMetrics",
165
+ "q:CreateAssignment",
166
+ "q:DeleteAssignment",
167
+ "q:UpdateAssignment"
168
+ ],
169
+ "Resource": [
170
+ "*"
171
+ ]
172
+ },
173
+ {
174
+ "Effect": "Allow",
175
+ "Action": [
176
+ "cloudwatch:GetMetricData",
177
+ "cloudwatch:ListMetrics"
178
+ ],
179
+ "Resource": [
180
+ "*"
181
+ ]
182
+ }
183
+ ]
184
+ }
185
+
186
+
187
+ ```
188
+
189
+ ## Service-linked roles for Kiro[](https://kiro.dev/docs/cli/enterprise/iam/#service-linked-roles-for-kiro)
190
+ A service-linked role is a unique type of IAM role that is linked directly to Kiro. Service-linked roles are predefined by AWS and include all the permissions that Kiro requires to call other AWS services on your behalf.
191
+ A service-linked role makes setting up Kiro easier because you don’t have to manually add the necessary permissions. Kiro defines the permissions of its service-linked roles, and unless defined otherwise, only Kiro can assume its roles. The defined permissions include the trust policy and the permissions policy, and that permissions policy cannot be attached to any other IAM entity.
192
+ You can delete a service-linked role only after first deleting their related resources. This protects your Kiro resources because you can't inadvertently remove permission to access the resources. For more information about service-linked roles, see the [AWS IAM User Guide](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles.html#id_roles_terms-and-concepts).
193
+ There are two service-linked roles that will be created for you when you subscribe with Kiro enterprise:
194
+ * [AWSServiceRoleForUserSubscriptions](https://kiro.dev/docs/cli/enterprise/iam/#service-linked-role-awsserviceroleforusersubscriptions)
195
+ * [AWSServiceRoleForAmazonQDeveloper](https://kiro.dev/docs/cli/enterprise/iam/#service-linked-role-awsserviceroleforamazonqdeveloper)
196
+
197
+
198
+ ### Service-linked role: AWSServiceRoleForUserSubscriptions[](https://kiro.dev/docs/cli/enterprise/iam/#service-linked-role-awsserviceroleforusersubscriptions)
199
+ Kiro uses the service-linked role named **AWSServiceRoleForUserSubscriptions**. This role grants permissions for Kiro to access your IAM Identity Center resources in order to automatically update your subscriptions.
200
+ The AWSServiceRoleForUserSubscriptions service-linked role trusts the following services to assume the role:
201
+ * `user-subscriptions.amazonaws.com`
202
+
203
+
204
+ The role permissions policy named AWSServiceRoleForUserSubscriptions allows Kiro to complete the following actions on the specified resources:
205
+ * Action: `identitystore:DescribeGroup` on `*`
206
+ * Action: `identitystore:DescribeUser` on `*`
207
+ * Action: `identitystore:IsMemberInGroups` on `*`
208
+ * Action: `identitystore:ListGroupMemberships` on `*`
209
+ * Action: `organizations:DescribeOrganization` on `*`
210
+ * Action: `sso:DescribeApplication` on `*`
211
+ * Action: `sso:DescribeInstance` on `*`
212
+ * Action: `sso:ListInstances` on `*`
213
+ * Action: `sso-directory:DescribeUser` on `*`
214
+
215
+
216
+ You must configure permissions to allow your users, groups, or roles to create, edit, or delete a service-linked role. For more information, see [Service-linked role permissions](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create-service-linked-role.html#service-linked-role-permissions) in the _AWS IAM User Guide_.
217
+ ### Service-linked role: AWSServiceRoleForAmazonQDeveloper[](https://kiro.dev/docs/cli/enterprise/iam/#service-linked-role-awsserviceroleforamazonqdeveloper)
218
+ Kiro uses the service-linked role named **AWSServiceRoleForAmazonQDeveloper**. This role grants permissions for Kiro to access data in your account to calculate billing, provides access to create and access security reports in Amazon CodeGuru, and emit data to CloudWatch.
219
+ The AWSServiceRoleForAmazonQDeveloper service-linked role trusts the following services to assume the role:
220
+ * `q.amazonaws.com`
221
+
222
+
223
+ The role permissions policy named AWSServiceRoleForAmazonQDeveloper allows Kiro to complete the following actions on the specified resources:
224
+ * Action: `cloudwatch:PutMetricData` on `AWS/Q CloudWatch namespace`
225
+
226
+
227
+ You must configure permissions to allow your users, groups, or roles to create, edit, or delete a service-linked role. For more information, see [Service-linked role permissions](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create-service-linked-role.html#service-linked-role-permissions) in the _AWS IAM User Guide_.
228
+ ### Managing service-linked roles[](https://kiro.dev/docs/cli/enterprise/iam/#managing-service-linked-roles)
229
+ You don't need to manually create a service-linked role. When you create a profile for Kiro in the AWS Management Console, Kiro creates the service-linked role for you. If you delete this service-linked role, and then need to create it again, you can use the same process to recreate the role in your account.
230
+ You can also use the IAM console or AWS CLI to create a service-linked role with the `q.amazonaws.com` service name. For more information, see [Creating a service-linked role](https://docs.aws.amazon.com/IAM/latest/UserGuide/using-service-linked-roles.html#create-service-linked-role) in the _AWS IAM User Guide_. If you delete this service-linked role, you can use the same process to create the role again.
231
+ Kiro does not allow you to edit the AWSServiceRoleForUserSubscriptions or AWSServiceRoleForAmazonQDeveloper service-linked roles. After you create a service-linked role, you cannot change the name of the role because various entities might reference the role. However, you can edit the description of the role using IAM. For more information, see [Editing a service-linked role](https://docs.aws.amazon.com/IAM/latest/UserGuide/using-service-linked-roles.html#edit-service-linked-role) in the _AWS IAM User Guide_.
232
+ If you no longer need to use a feature or service that requires a service-linked role, we recommend that you delete that role. That way you don’t have an unused entity that is not actively monitored or maintained. However, you must clean up the resources for your service-linked role before you can manually delete it. Use the IAM console, the AWS CLI, or the AWS API to delete the service-linked roles. For more information, see [Deleting a service-linked role](https://docs.aws.amazon.com/IAM/latest/UserGuide/using-service-linked-roles.html#delete-service-linked-role) in the _AWS IAM User Guide_.
233
+ **Info**
234
+ Note: If Kiro is using the role when you try to delete the resources, then the deletion might fail. If that happens, wait for a few minutes and try the operation again.
235
+ ### Supported regions for Kiro service-linked roles[](https://kiro.dev/docs/cli/enterprise/iam/#supported-regions-for-kiro-service-linked-roles)
236
+ You can use the AWSServiceRoleForUserSubscriptions and AWSServiceRoleForAmazonQDeveloper roles in the following AWS Regions. For more information on Regions, see [AWS Regions and endpoints](https://docs.aws.amazon.com/general/latest/gr/rande.html) in the _AWS General Reference_.
237
+ Region name | Region identity
238
+ ---|---
239
+ US East (N. Virginia) | us-east-1
240
+ Europe (Frankfurt) | eu-central-1
241
+ Page updated: December 11, 2025
242
+ [Billing](https://kiro.dev/docs/cli/enterprise/billing/)
243
+ [Concepts](https://kiro.dev/docs/cli/enterprise/concepts/)
244
+ On this page
245
+ * [Identity-based policies for Kiro](https://kiro.dev/docs/cli/enterprise/iam/#identity-based-policies-for-kiro)
246
+ * [Policy: allow administrators to configure Kiro and subscribe users](https://kiro.dev/docs/cli/enterprise/iam/#policy-allow-administrators-to-configure-kiro-and-subscribe-users)
247
+ * [Service-linked roles for Kiro](https://kiro.dev/docs/cli/enterprise/iam/#service-linked-roles-for-kiro)
248
+ * [Service-linked role: AWSServiceRoleForUserSubscriptions](https://kiro.dev/docs/cli/enterprise/iam/#service-linked-role-awsserviceroleforusersubscriptions)
249
+ * [Service-linked role: AWSServiceRoleForAmazonQDeveloper](https://kiro.dev/docs/cli/enterprise/iam/#service-linked-role-awsserviceroleforamazonqdeveloper)
250
+ * [Managing service-linked roles](https://kiro.dev/docs/cli/enterprise/iam/#managing-service-linked-roles)
251
+ * [Supported regions for Kiro service-linked roles](https://kiro.dev/docs/cli/enterprise/iam/#supported-regions-for-kiro-service-linked-roles)
@@ -0,0 +1,15 @@
1
+ # Monitoring and tracking
2
+ Monitoring is an important part of maintaining the reliability, availability, and performance of Kiro and your other AWS solutions. Kiro includes the following features to help you track and record user activity:
3
+ * _A dashboard_ shows you aggregate user activity metrics of Kiro subscribers. For more information, see [Viewing Kiro usage on the dashboard](https://kiro.dev/docs/cli/enterprise/monitor-and-track/dashboard).
4
+ * _User activity reports_ show you what individual users are up to in Kiro. For more information, see [Viewing per-user activity](https://kiro.dev/docs/cli/enterprise/monitor-and-track/user-activity).
5
+ * _Prompt logs_ provide you with a record of all the prompts that users enter into the Kiro chat in their integrated development environment (IDE). For more information, see [Logging users' prompts](https://kiro.dev/docs/cli/enterprise/monitor-and-track/prompt-logging).
6
+
7
+
8
+ AWS also provides the following tools and features to monitor and record Kiro activity:
9
+ * _AWS CloudTrail_ captures API calls and related events made by or on behalf of your AWS account and delivers the log files to an Amazon Simple Storage Service (Amazon S3) bucket that you specify. You can identify which users and accounts called AWS, the source IP address from which the calls were made, and when the calls occurred.
10
+ * _Amazon CloudWatch_ monitors your AWS resources and the applications you run on AWS in real time. You can collect and track metrics, create customized dashboards, and set alarms that notify you or take actions when a specified metric reaches a threshold that you specify. For example, you can have CloudWatch track the number of times that Kiro has been invoked on your account, or the number of daily active users.
11
+
12
+
13
+ Page updated: November 14, 2025
14
+ [Supported regions](https://kiro.dev/docs/cli/enterprise/supported-regions/)
15
+ [View usage (dashboard)](https://kiro.dev/docs/cli/enterprise/monitor-and-track/dashboard/)
@@ -0,0 +1,62 @@
1
+ # Viewing Kiro usage on the dashboard
2
+ Available only for Kiro admins, the Kiro dashboard summarizes useful data about how your subscribers use the Kiro IDE and Kiro CLI.
3
+ Kiro generates and displays new metrics on an hourly basis for the most part. The only section that is not updated hourly is the **Active users** widget, which is updated daily according to the coordinated universal time (UTC) clock.
4
+ ## View the dashboard[](https://kiro.dev/docs/cli/enterprise/monitor-and-track/dashboard/#view-the-dashboard)
5
+ 1. Sign in to the AWS Management Console.
6
+ 2. Switch to the Kiro console.
7
+ 3. From the navigation pane, choose **Dashboard**.
8
+ 4. (Optional) Filter the information by date range or programming language.
9
+
10
+
11
+ **Info**
12
+ * If the **Dashboard** link is not available in the navigation pane, see [Troubleshoot the dashboard](https://kiro.dev/docs/cli/enterprise/monitor-and-track/dashboard/#troubleshoot-the-dashboard).
13
+ * If you'd like to send user metrics to a daily report with a per-user breakdown of their Kiro usage, see [View per-user activity in Kiro](https://kiro.dev/docs/cli/enterprise/monitor-and-track/user-activity).
14
+ * For information about specific metrics, see [Dashboard metrics](https://kiro.dev/docs/cli/enterprise/monitor-and-track/dashboard/#dashboard-metrics) or choose the help link at the top-right of the dashboard page.
15
+
16
+
17
+ ## Disable the dashboard[](https://kiro.dev/docs/cli/enterprise/monitor-and-track/dashboard/#disable-the-dashboard)
18
+ You might want to disable the Kiro dashboard if you have concerns about data privacy, page load times, or other potential issues. When you disable the dashboard, the dashboard page (and any links to it) will no longer be available in the Kiro console.
19
+ For more information about the dashboard, see [viewing usage metrics (dashboard)](https://kiro.dev/docs/enterprise/monitor-and-track/dashboard/#dashboard-metrics).
20
+ #### To disable the dashboard[](https://kiro.dev/docs/cli/enterprise/monitor-and-track/dashboard/#to-disable-the-dashboard)
21
+ 1. Sign in to the AWS Management Console.
22
+ 2. Switch to the Kiro console.
23
+ 3. Choose **Settings** , and in the **Kiro Settings** section, disable **Kiro usage dashboard**.
24
+
25
+
26
+ ## Troubleshoot the dashboard[](https://kiro.dev/docs/cli/enterprise/monitor-and-track/dashboard/#troubleshoot-the-dashboard)
27
+ If the Kiro dashboard page is not available, do the following:
28
+ * **Verify your permissions**. To view the dashboard, you need the following permissions:
29
+ * `q:ListDashboardMetrics`
30
+ * `codewhisperer:ListProfiles`
31
+ * `sso:ListInstances`
32
+ * `user-subscriptions:ListUserSubscriptions`
33
+ For more information about permissions, see [Policy: Allow administrators to configure Kiro and subscribe users](https://kiro.dev/docs/cli/enterprise/iam/#policy-allow-administrators-to-configure-kiro-and-subscribe-users).
34
+ * **Verify your settings**. In the Kiro console, choose **Settings** and make sure that the **Kiro usage dashboard** toggle is enabled.
35
+
36
+
37
+ ## Dashboard metrics[](https://kiro.dev/docs/cli/enterprise/monitor-and-track/dashboard/#dashboard-metrics)
38
+ The following table describes the metrics shown in the Kiro dashboard.
39
+ Metric name | Description
40
+ ---|---
41
+ **Total subscriptions per tier** | Shows the total subscriptions broken down by subscription tier (Pro, Pro+, Power). Displays both per-group breakdown and total counts across all groups in the current AWS account, as well as subscriptions in member accounts if you're signed in to a management account for which organization-wide visibility of subscriptions has been enabled.
42
+ **Active subscriptions per tier** | Shows the total active subscriptions broken down by subscription tier (Pro, Pro+, Power).
43
+
44
+ _Active subscriptions_ are those belonging to users who have started using Kiro in their integrated development environment (IDE) or CLI. You are being charged for these subscriptions. For more information about active subscriptions, see [Subscription statuses](https://kiro.dev/docs/cli/enterprise/subscription-management#subscription-statuses).
45
+ **Pending subscriptions per tier** | Shows the total pending subscriptions broken down by subscription tier (Pro, Pro+, Power).
46
+
47
+ _Pending subscriptions_ are those belonging to users who have not yet started using Kiro. You are not being charged for these subscriptions. For more information about pending subscriptions, see [Subscription statuses](https://kiro.dev/docs/cli/enterprise/subscription-management#subscription-statuses).
48
+ **Active users** | Shows the number of unique users actively utilizing Kiro on a daily, weekly, and monthly basis. Includes breakdowns by:
49
+ - **Client type** (IDE vs. CLI)
50
+ - **Subscription tier** (Pro, Pro+, Power)
51
+ **Credits consumed** | Shows total Kiro credits consumed with time-based views (daily, weekly, monthly). Includes breakdowns by:
52
+ - **Subscription tier** (Pro, Pro+, Power)
53
+ - **Client type** (IDE vs. CLI)
54
+ Page updated: November 26, 2025
55
+ [Monitor and track](https://kiro.dev/docs/cli/enterprise/monitor-and-track/)
56
+ [View per-user activity](https://kiro.dev/docs/cli/enterprise/monitor-and-track/user-activity/)
57
+ On this page
58
+ * [View the dashboard](https://kiro.dev/docs/cli/enterprise/monitor-and-track/dashboard/#view-the-dashboard)
59
+ * [Disable the dashboard](https://kiro.dev/docs/cli/enterprise/monitor-and-track/dashboard/#disable-the-dashboard)
60
+ * [To disable the dashboard](https://kiro.dev/docs/cli/enterprise/monitor-and-track/dashboard/#to-disable-the-dashboard)
61
+ * [Troubleshoot the dashboard](https://kiro.dev/docs/cli/enterprise/monitor-and-track/dashboard/#troubleshoot-the-dashboard)
62
+ * [Dashboard metrics](https://kiro.dev/docs/cli/enterprise/monitor-and-track/dashboard/#dashboard-metrics)
@@ -0,0 +1,165 @@
1
+ # Logging user prompts
2
+ Kiro admins can enable the logging of all inline suggestions and chat conversations that users have in the Kiro IDE. These logs can help with auditing, debugging, analytics, and ensuring compliance.
3
+ ## About prompt logs[](https://kiro.dev/docs/cli/enterprise/monitor-and-track/prompt-logging/#about-prompt-logs)
4
+ With prompt logging enabled, Kiro will log both the user prompts and Kiro's responses. Kiro stores the logs in an Amazon S3 bucket of your choice in your own account. For examples and explanations of log file contents, see [prompt log examples](https://kiro.dev/docs/cli/enterprise/monitor-and-track/prompt-logging/#prompt-log-examples).
5
+ There is no charge for the prompt logging feature other than the storage cost of the Amazon S3 bucket used to hold the logs, and a small fee for the optional KMS key used to encrypt the bucket.
6
+ ## Enabling prompt logging[](https://kiro.dev/docs/cli/enterprise/monitor-and-track/prompt-logging/#enabling-prompt-logging)
7
+ ### Prerequisites[](https://kiro.dev/docs/cli/enterprise/monitor-and-track/prompt-logging/#prerequisites)
8
+ * Create an Amazon S3 bucket to hold the prompt logs. The bucket must:
9
+ * Be in the AWS Region where the Kiro profile was installed. This profile was installed when you subscribed users to Kiro Pro for the first time. For more information about this profile and the Regions where it's supported, see [Concepts](https://kiro.dev/docs/cli/enterprise/concepts) and [Supported Regions](https://kiro.dev/docs/cli/enterprise/subscription-management/supported-regions).
10
+ * Be in the AWS account where users are subscribed.
11
+ * Have a bucket policy like the one that follows. Replace `bucketName`, `Region`, `accountId`, and `prefix` with your own information.
12
+
13
+
14
+ json
15
+ ```
16
+
17
+ {
18
+ "Version": "2012-10-17",
19
+ "Statement": [
20
+ {
21
+ "Sid": "KiroLogsWrite",
22
+ "Effect": "Allow",
23
+ "Principal": {
24
+ "Service": "q.amazonaws.com"
25
+ },
26
+ "Action": [
27
+ "s3:PutObject"
28
+ ],
29
+ "Resource": [
30
+ "arn:aws:s3:::bucketName/prefix/*"
31
+ ],
32
+ "Condition": {
33
+ "StringEquals": {
34
+ "aws:SourceAccount": "111122223333"
35
+ },
36
+ "ArnLike": {
37
+ "aws:SourceArn": "arn:aws:codewhisperer:us-east-1:111122223333:*"
38
+ }
39
+ }
40
+ }
41
+ ]
42
+ }
43
+
44
+
45
+ ```
46
+
47
+ To learn about protecting the data in your Amazon S3 bucket, see [Protecting data with encryption](https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingEncryption.html) in the _Amazon Simple Storage Service User Guide_.
48
+ ### To enable prompt logging[](https://kiro.dev/docs/cli/enterprise/monitor-and-track/prompt-logging/#to-enable-prompt-logging)
49
+ 1. Open the Kiro console.
50
+ 2. Choose **Settings**.
51
+ 3. Look for **Kiro Settings > Logging**.
52
+ 4. Toggle the switch for **Log Kiro prompts with metadata**.
53
+ 5. Under Amazon S3 location, enter the Amazon S3 URI that you will use to receive the logs. Example: `s3://amzn-s3-demo-bucket/kiro-prompt-logs/`
54
+
55
+
56
+ ## Prompt log examples[](https://kiro.dev/docs/cli/enterprise/monitor-and-track/prompt-logging/#prompt-log-examples)
57
+ This section provides examples of prompt logs generated by Kiro.
58
+ Following each example is a table that describes the log file's fields.
59
+ ### Inline suggestions log example[](https://kiro.dev/docs/cli/enterprise/monitor-and-track/prompt-logging/#inline-suggestions-log-example)
60
+ The following example shows a log file that is generated when a user accepts an inline suggestion.
61
+ json
62
+ ```
63
+
64
+ {
65
+ "records": [
66
+ {
67
+ "generateCompletionsEventRequest": {
68
+ "leftContext": "import * cdk from 'aws-cdk-lib';\r\nimport * s3 from 'aws-cdk-lib/aws-s3';\r\nimport { Stack, StackProps } from 'constructs';\r\nexport class MyStack extends Stack {\r\n constructor(scope: cdk.App, id: string, props?: StackProps) {\r\n super(scope, id, props);\r\n\r\n new s3.Bucket(this, 'XXXXXXXX', {\r\n versioned: true\r\n });\r\n }\r\n ",
69
+ "rightContext": "",
70
+ "fileName": "cdk-modified.ts",
71
+ "customizationArn": null,
72
+ "userId": "d-92675051d5.b8f1f340-9081-70ad-5fc5-0f37151937a6",
73
+ "timeStamp": "2025-01-06T15:09:16.412719Z"
74
+ },
75
+ "generateCompletionsEventResponse": {
76
+ "completions": ["synth() {\n return cdk.App.prototype.synth.apply(this, arguments);\n }"],
77
+ "requestId": "797c70ee-abc9-4cc7-a148-b9df17f6ce48"
78
+ }
79
+ }
80
+ ]
81
+ }
82
+
83
+
84
+ ```
85
+
86
+ The following table describes the fields in the log file for inline suggestions.
87
+ Field name | Description
88
+ ---|---
89
+ `records` | Top-level field that contains a set of inline suggestions, also known as inline completions.
90
+ `generateCompletionsEventRequest` | Describes the request for an inline code suggestion. The request is made by Kiro, on behalf of the user.
91
+ `leftContext` | Indicates the code before the cursor that Kiro is using for context to generate an inline suggestion.
92
+ `rightContext` | Indicates the code after the cursor that Kiro is using for context to generate an inline suggestion.
93
+ `fileName` | Indicates the name of the file in which an inline suggestion was requested.
94
+ `userId` | Indicates the user ID of the user who requested an inline suggestion.
95
+ `timeStamp` | Indicates the date and time that the inline suggestion was requested. The timestamp is in Coordinated Universal Time (UTC).
96
+ `generateCompletionsEventResponse` | Describes the inline suggestion generated by Kiro.
97
+ `completions` | Indicates the inline suggestion that Kiro provided and that the user accepted.
98
+ `requestId` | The ID of the inline request that uniquely identifies the event.
99
+ ### Chat log example[](https://kiro.dev/docs/cli/enterprise/monitor-and-track/prompt-logging/#chat-log-example)
100
+ The following example shows a log file that is generated when a user chats using Kiro in their IDE.
101
+ json
102
+ ```
103
+
104
+ {
105
+ "records": [
106
+ {
107
+ "generateAssistantResponseEventRequest": {
108
+ "prompt": "Can you explain how to set up object-level access control in an S3 bucket using AWS CDK?",
109
+ "chatTriggerType": "MANUAL",
110
+ "customizationArn": null,
111
+ "userId": "d-92675051d5.b8f1f340-9081-70ad-5fc5-0f37151937a6",
112
+ "timeStamp": "2025-01-06T15:05:56.313070Z"
113
+ },
114
+ "generateAssistantResponseEventResponse": {
115
+ "assistantResponse": "I'll explain how to set up object-level access control for an S3 bucket using AWS CDK...",
116
+ "followupPrompts": "How can you implement multi-factor authentication for S3 bucket access using AWS CDK?",
117
+ "messageMetadata": {
118
+ "conversationId": "491bd3cd-d70d-40c0-a452-5ef3f0878422",
119
+ "utteranceId": null
120
+ },
121
+ "codeReferenceEvents": [],
122
+ "supplementaryWebLinksEvent": [
123
+ {
124
+ "uri": "https://docs.aws.amazon.com/AmazonS3/latest/API/s3_example_s3_Scenario_ManageACLs_section.html",
125
+ "title": "[1] Manage access control lists (ACLs) for Amazon S3 buckets using an AWS SDK",
126
+ "snippet": "The following code example shows how to manage access control lists (ACLs) for Amazon S3 buckets..."
127
+ }
128
+ ],
129
+ "requestId": "dad38fc0-815c-45f7-970a-db916cb7f131"
130
+ }
131
+ }
132
+ ]
133
+ }
134
+
135
+
136
+ ```
137
+
138
+ Field name | Description
139
+ ---|---
140
+ `records` | Top-level field that contains a set of prompts and responses.
141
+ `generateAssistantResponseEventRequest` | Describes the prompt entered by the user in the chat window in their IDE.
142
+ `prompt` | Indicates the prompt the user entered into the chat window.
143
+ `chatTriggerType` | `MANUAL` indicates that the user entered a prompt into the chat window, or clicked on one of the suggested questions in the chat window. `INLINE_CHAT` indicates that the user entered a prompt into the small input screen in the main coding window.
144
+ `userId` | Indicates the user ID of the user who entered the prompt.
145
+ `timeStamp` | Indicates the date and time that the user entered the prompt. The timestamp is in universal time (UTC).
146
+ `generateAssistantResponseEventResponse` | Describes the response generated by Kiro.
147
+ `assistantResponse` | Indicates the response that Kiro provided to the user's prompt.
148
+ `followupPrompts` | Indicates the follow-up example prompts that were displayed to the user at the end of the response.
149
+ `messageMetadata` | Describes metadata associated with the response.
150
+ `conversationId` | Indicates the conversation ID of the response. The conversation ID groups together messages in a chat session.
151
+ `utteranceId` | Indicates the utterance ID of the response. An utterance ID is a label that distinguishes one prompt from another within a dialogue or data set.
152
+ `codeReferenceEvents` | Describes links to code references included in the response.
153
+ `supplementaryWebLinksEvent` | Indicates the links that were displayed to the user at the end of the response.
154
+ `requestId` | The ID of the response that uniquely identifies the event.
155
+ Page updated: December 16, 2025
156
+ [View per-user activity](https://kiro.dev/docs/cli/enterprise/monitor-and-track/user-activity/)
157
+ [Settings](https://kiro.dev/docs/cli/enterprise/settings/)
158
+ On this page
159
+ * [About prompt logs](https://kiro.dev/docs/cli/enterprise/monitor-and-track/prompt-logging/#about-prompt-logs)
160
+ * [Enabling prompt logging](https://kiro.dev/docs/cli/enterprise/monitor-and-track/prompt-logging/#enabling-prompt-logging)
161
+ * [Prerequisites](https://kiro.dev/docs/cli/enterprise/monitor-and-track/prompt-logging/#prerequisites)
162
+ * [To enable prompt logging](https://kiro.dev/docs/cli/enterprise/monitor-and-track/prompt-logging/#to-enable-prompt-logging)
163
+ * [Prompt log examples](https://kiro.dev/docs/cli/enterprise/monitor-and-track/prompt-logging/#prompt-log-examples)
164
+ * [Inline suggestions log example](https://kiro.dev/docs/cli/enterprise/monitor-and-track/prompt-logging/#inline-suggestions-log-example)
165
+ * [Chat log example](https://kiro.dev/docs/cli/enterprise/monitor-and-track/prompt-logging/#chat-log-example)