@aws-sdk/client-codecatalyst 3.450.0 → 3.452.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 (83) hide show
  1. package/README.md +64 -1
  2. package/dist-cjs/CodeCatalyst.js +10 -0
  3. package/dist-cjs/CodeCatalystClient.js +17 -4
  4. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  5. package/dist-cjs/auth/httpAuthSchemeProvider.js +39 -0
  6. package/dist-cjs/commands/GetWorkflowCommand.js +50 -0
  7. package/dist-cjs/commands/GetWorkflowRunCommand.js +50 -0
  8. package/dist-cjs/commands/ListWorkflowRunsCommand.js +50 -0
  9. package/dist-cjs/commands/ListWorkflowsCommand.js +50 -0
  10. package/dist-cjs/commands/StartWorkflowRunCommand.js +50 -0
  11. package/dist-cjs/commands/index.js +5 -0
  12. package/dist-cjs/models/models_0.js +25 -1
  13. package/dist-cjs/pagination/ListWorkflowRunsPaginator.js +29 -0
  14. package/dist-cjs/pagination/ListWorkflowsPaginator.js +29 -0
  15. package/dist-cjs/pagination/index.js +2 -0
  16. package/dist-cjs/protocols/Aws_restJson1.js +441 -5
  17. package/dist-cjs/runtimeConfig.browser.js +11 -0
  18. package/dist-cjs/runtimeConfig.js +10 -0
  19. package/dist-cjs/runtimeConfig.shared.js +10 -0
  20. package/dist-cjs/runtimeExtensions.js +3 -0
  21. package/dist-es/CodeCatalyst.js +10 -0
  22. package/dist-es/CodeCatalystClient.js +17 -4
  23. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  24. package/dist-es/auth/httpAuthSchemeProvider.js +33 -0
  25. package/dist-es/commands/GetWorkflowCommand.js +46 -0
  26. package/dist-es/commands/GetWorkflowRunCommand.js +46 -0
  27. package/dist-es/commands/ListWorkflowRunsCommand.js +46 -0
  28. package/dist-es/commands/ListWorkflowsCommand.js +46 -0
  29. package/dist-es/commands/StartWorkflowRunCommand.js +46 -0
  30. package/dist-es/commands/index.js +5 -0
  31. package/dist-es/models/models_0.js +24 -0
  32. package/dist-es/pagination/ListWorkflowRunsPaginator.js +25 -0
  33. package/dist-es/pagination/ListWorkflowsPaginator.js +25 -0
  34. package/dist-es/pagination/index.js +2 -0
  35. package/dist-es/protocols/Aws_restJson1.js +429 -3
  36. package/dist-es/runtimeConfig.browser.js +11 -0
  37. package/dist-es/runtimeConfig.js +10 -0
  38. package/dist-es/runtimeConfig.shared.js +10 -0
  39. package/dist-es/runtimeExtensions.js +3 -0
  40. package/dist-types/CodeCatalyst.d.ts +59 -1
  41. package/dist-types/CodeCatalystClient.d.ts +36 -6
  42. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  43. package/dist-types/auth/httpAuthSchemeProvider.d.ts +67 -0
  44. package/dist-types/commands/GetWorkflowCommand.d.ts +107 -0
  45. package/dist-types/commands/GetWorkflowRunCommand.d.ts +105 -0
  46. package/dist-types/commands/ListDevEnvironmentsCommand.d.ts +1 -1
  47. package/dist-types/commands/ListEventLogsCommand.d.ts +10 -1
  48. package/dist-types/commands/ListWorkflowRunsCommand.d.ts +114 -0
  49. package/dist-types/commands/ListWorkflowsCommand.d.ts +114 -0
  50. package/dist-types/commands/StartWorkflowRunCommand.d.ts +99 -0
  51. package/dist-types/commands/index.d.ts +5 -0
  52. package/dist-types/extensionConfiguration.d.ts +2 -1
  53. package/dist-types/index.d.ts +24 -1
  54. package/dist-types/models/models_0.d.ts +712 -222
  55. package/dist-types/pagination/ListWorkflowRunsPaginator.d.ts +7 -0
  56. package/dist-types/pagination/ListWorkflowsPaginator.d.ts +7 -0
  57. package/dist-types/pagination/index.d.ts +2 -0
  58. package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
  59. package/dist-types/runtimeConfig.browser.d.ts +3 -1
  60. package/dist-types/runtimeConfig.d.ts +3 -1
  61. package/dist-types/runtimeConfig.native.d.ts +3 -1
  62. package/dist-types/runtimeConfig.shared.d.ts +2 -0
  63. package/dist-types/ts3.4/CodeCatalyst.d.ts +85 -0
  64. package/dist-types/ts3.4/CodeCatalystClient.d.ts +38 -6
  65. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +27 -0
  66. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +40 -0
  67. package/dist-types/ts3.4/commands/GetWorkflowCommand.d.ts +35 -0
  68. package/dist-types/ts3.4/commands/GetWorkflowRunCommand.d.ts +38 -0
  69. package/dist-types/ts3.4/commands/ListWorkflowRunsCommand.d.ts +38 -0
  70. package/dist-types/ts3.4/commands/ListWorkflowsCommand.d.ts +38 -0
  71. package/dist-types/ts3.4/commands/StartWorkflowRunCommand.d.ts +38 -0
  72. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  73. package/dist-types/ts3.4/extensionConfiguration.d.ts +3 -1
  74. package/dist-types/ts3.4/models/models_0.d.ts +190 -61
  75. package/dist-types/ts3.4/pagination/ListWorkflowRunsPaginator.d.ts +11 -0
  76. package/dist-types/ts3.4/pagination/ListWorkflowsPaginator.d.ts +11 -0
  77. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  78. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
  79. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -3
  80. package/dist-types/ts3.4/runtimeConfig.d.ts +5 -3
  81. package/dist-types/ts3.4/runtimeConfig.native.d.ts +5 -3
  82. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -0
  83. package/package.json +38 -34
@@ -17,6 +17,8 @@ import { GetSourceRepositoryCommandInput, GetSourceRepositoryCommandOutput } fro
17
17
  import { GetSpaceCommandInput, GetSpaceCommandOutput } from "./commands/GetSpaceCommand";
18
18
  import { GetSubscriptionCommandInput, GetSubscriptionCommandOutput } from "./commands/GetSubscriptionCommand";
19
19
  import { GetUserDetailsCommandInput, GetUserDetailsCommandOutput } from "./commands/GetUserDetailsCommand";
20
+ import { GetWorkflowCommandInput, GetWorkflowCommandOutput } from "./commands/GetWorkflowCommand";
21
+ import { GetWorkflowRunCommandInput, GetWorkflowRunCommandOutput } from "./commands/GetWorkflowRunCommand";
20
22
  import { ListAccessTokensCommandInput, ListAccessTokensCommandOutput } from "./commands/ListAccessTokensCommand";
21
23
  import { ListDevEnvironmentsCommandInput, ListDevEnvironmentsCommandOutput } from "./commands/ListDevEnvironmentsCommand";
22
24
  import { ListDevEnvironmentSessionsCommandInput, ListDevEnvironmentSessionsCommandOutput } from "./commands/ListDevEnvironmentSessionsCommand";
@@ -25,8 +27,11 @@ import { ListProjectsCommandInput, ListProjectsCommandOutput } from "./commands/
25
27
  import { ListSourceRepositoriesCommandInput, ListSourceRepositoriesCommandOutput } from "./commands/ListSourceRepositoriesCommand";
26
28
  import { ListSourceRepositoryBranchesCommandInput, ListSourceRepositoryBranchesCommandOutput } from "./commands/ListSourceRepositoryBranchesCommand";
27
29
  import { ListSpacesCommandInput, ListSpacesCommandOutput } from "./commands/ListSpacesCommand";
30
+ import { ListWorkflowRunsCommandInput, ListWorkflowRunsCommandOutput } from "./commands/ListWorkflowRunsCommand";
31
+ import { ListWorkflowsCommandInput, ListWorkflowsCommandOutput } from "./commands/ListWorkflowsCommand";
28
32
  import { StartDevEnvironmentCommandInput, StartDevEnvironmentCommandOutput } from "./commands/StartDevEnvironmentCommand";
29
33
  import { StartDevEnvironmentSessionCommandInput, StartDevEnvironmentSessionCommandOutput } from "./commands/StartDevEnvironmentSessionCommand";
34
+ import { StartWorkflowRunCommandInput, StartWorkflowRunCommandOutput } from "./commands/StartWorkflowRunCommand";
30
35
  import { StopDevEnvironmentCommandInput, StopDevEnvironmentCommandOutput } from "./commands/StopDevEnvironmentCommand";
31
36
  import { StopDevEnvironmentSessionCommandInput, StopDevEnvironmentSessionCommandOutput } from "./commands/StopDevEnvironmentSessionCommand";
32
37
  import { UpdateDevEnvironmentCommandInput, UpdateDevEnvironmentCommandOutput } from "./commands/UpdateDevEnvironmentCommand";
@@ -136,6 +141,18 @@ export interface CodeCatalyst {
136
141
  getUserDetails(args: GetUserDetailsCommandInput, options?: __HttpHandlerOptions): Promise<GetUserDetailsCommandOutput>;
137
142
  getUserDetails(args: GetUserDetailsCommandInput, cb: (err: any, data?: GetUserDetailsCommandOutput) => void): void;
138
143
  getUserDetails(args: GetUserDetailsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetUserDetailsCommandOutput) => void): void;
144
+ /**
145
+ * @see {@link GetWorkflowCommand}
146
+ */
147
+ getWorkflow(args: GetWorkflowCommandInput, options?: __HttpHandlerOptions): Promise<GetWorkflowCommandOutput>;
148
+ getWorkflow(args: GetWorkflowCommandInput, cb: (err: any, data?: GetWorkflowCommandOutput) => void): void;
149
+ getWorkflow(args: GetWorkflowCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetWorkflowCommandOutput) => void): void;
150
+ /**
151
+ * @see {@link GetWorkflowRunCommand}
152
+ */
153
+ getWorkflowRun(args: GetWorkflowRunCommandInput, options?: __HttpHandlerOptions): Promise<GetWorkflowRunCommandOutput>;
154
+ getWorkflowRun(args: GetWorkflowRunCommandInput, cb: (err: any, data?: GetWorkflowRunCommandOutput) => void): void;
155
+ getWorkflowRun(args: GetWorkflowRunCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetWorkflowRunCommandOutput) => void): void;
139
156
  /**
140
157
  * @see {@link ListAccessTokensCommand}
141
158
  */
@@ -184,6 +201,18 @@ export interface CodeCatalyst {
184
201
  listSpaces(args: ListSpacesCommandInput, options?: __HttpHandlerOptions): Promise<ListSpacesCommandOutput>;
185
202
  listSpaces(args: ListSpacesCommandInput, cb: (err: any, data?: ListSpacesCommandOutput) => void): void;
186
203
  listSpaces(args: ListSpacesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSpacesCommandOutput) => void): void;
204
+ /**
205
+ * @see {@link ListWorkflowRunsCommand}
206
+ */
207
+ listWorkflowRuns(args: ListWorkflowRunsCommandInput, options?: __HttpHandlerOptions): Promise<ListWorkflowRunsCommandOutput>;
208
+ listWorkflowRuns(args: ListWorkflowRunsCommandInput, cb: (err: any, data?: ListWorkflowRunsCommandOutput) => void): void;
209
+ listWorkflowRuns(args: ListWorkflowRunsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListWorkflowRunsCommandOutput) => void): void;
210
+ /**
211
+ * @see {@link ListWorkflowsCommand}
212
+ */
213
+ listWorkflows(args: ListWorkflowsCommandInput, options?: __HttpHandlerOptions): Promise<ListWorkflowsCommandOutput>;
214
+ listWorkflows(args: ListWorkflowsCommandInput, cb: (err: any, data?: ListWorkflowsCommandOutput) => void): void;
215
+ listWorkflows(args: ListWorkflowsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListWorkflowsCommandOutput) => void): void;
187
216
  /**
188
217
  * @see {@link StartDevEnvironmentCommand}
189
218
  */
@@ -196,6 +225,12 @@ export interface CodeCatalyst {
196
225
  startDevEnvironmentSession(args: StartDevEnvironmentSessionCommandInput, options?: __HttpHandlerOptions): Promise<StartDevEnvironmentSessionCommandOutput>;
197
226
  startDevEnvironmentSession(args: StartDevEnvironmentSessionCommandInput, cb: (err: any, data?: StartDevEnvironmentSessionCommandOutput) => void): void;
198
227
  startDevEnvironmentSession(args: StartDevEnvironmentSessionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartDevEnvironmentSessionCommandOutput) => void): void;
228
+ /**
229
+ * @see {@link StartWorkflowRunCommand}
230
+ */
231
+ startWorkflowRun(args: StartWorkflowRunCommandInput, options?: __HttpHandlerOptions): Promise<StartWorkflowRunCommandOutput>;
232
+ startWorkflowRun(args: StartWorkflowRunCommandInput, cb: (err: any, data?: StartWorkflowRunCommandOutput) => void): void;
233
+ startWorkflowRun(args: StartWorkflowRunCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartWorkflowRunCommandOutput) => void): void;
199
234
  /**
200
235
  * @see {@link StopDevEnvironmentCommand}
201
236
  */
@@ -258,7 +293,7 @@ export interface CodeCatalyst {
258
293
  * </li>
259
294
  * <li>
260
295
  * <p>
261
- * <a>UpdateSpace</a>, which hanges one or more values for a space.</p>
296
+ * <a>UpdateSpace</a>, which changes one or more values for a space.</p>
262
297
  * </li>
263
298
  * </ul>
264
299
  * <p>Projects, by calling the following:</p>
@@ -359,6 +394,29 @@ export interface CodeCatalyst {
359
394
  * <a>UpdateDevEnvironment</a>, which changes one or more values for a Dev Environment.</p>
360
395
  * </li>
361
396
  * </ul>
397
+ * <p>Workflows, by calling the following:</p>
398
+ * <ul>
399
+ * <li>
400
+ * <p>
401
+ * <a>GetWorkflow</a>, which returns information about a workflow.</p>
402
+ * </li>
403
+ * <li>
404
+ * <p>
405
+ * <a>GetWorkflowRun</a>, which returns information about a specified run of a workflow.</p>
406
+ * </li>
407
+ * <li>
408
+ * <p>
409
+ * <a>ListWorkflowRuns</a>, which retrieves a list of runs of a specified workflow.</p>
410
+ * </li>
411
+ * <li>
412
+ * <p>
413
+ * <a>ListWorkflows</a>, which retrieves a list of workflows in a specified project.</p>
414
+ * </li>
415
+ * <li>
416
+ * <p>
417
+ * <a>StartWorkflowRun</a>, which starts a run of a specified workflow.</p>
418
+ * </li>
419
+ * </ul>
362
420
  * <p>Security, activity, and resource management in Amazon CodeCatalyst, by calling the following:</p>
363
421
  * <ul>
364
422
  * <li>
@@ -1,5 +1,4 @@
1
1
  import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
2
- import { TokenInputConfig, TokenResolvedConfig } from "@aws-sdk/middleware-token";
3
2
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
4
3
  import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
5
4
  import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
@@ -7,6 +6,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry"
7
6
  import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
8
7
  import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
9
8
  import { BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
9
+ import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
10
  import { CreateAccessTokenCommandInput, CreateAccessTokenCommandOutput } from "./commands/CreateAccessTokenCommand";
11
11
  import { CreateDevEnvironmentCommandInput, CreateDevEnvironmentCommandOutput } from "./commands/CreateDevEnvironmentCommand";
12
12
  import { CreateProjectCommandInput, CreateProjectCommandOutput } from "./commands/CreateProjectCommand";
@@ -24,6 +24,8 @@ import { GetSourceRepositoryCommandInput, GetSourceRepositoryCommandOutput } fro
24
24
  import { GetSpaceCommandInput, GetSpaceCommandOutput } from "./commands/GetSpaceCommand";
25
25
  import { GetSubscriptionCommandInput, GetSubscriptionCommandOutput } from "./commands/GetSubscriptionCommand";
26
26
  import { GetUserDetailsCommandInput, GetUserDetailsCommandOutput } from "./commands/GetUserDetailsCommand";
27
+ import { GetWorkflowCommandInput, GetWorkflowCommandOutput } from "./commands/GetWorkflowCommand";
28
+ import { GetWorkflowRunCommandInput, GetWorkflowRunCommandOutput } from "./commands/GetWorkflowRunCommand";
27
29
  import { ListAccessTokensCommandInput, ListAccessTokensCommandOutput } from "./commands/ListAccessTokensCommand";
28
30
  import { ListDevEnvironmentsCommandInput, ListDevEnvironmentsCommandOutput } from "./commands/ListDevEnvironmentsCommand";
29
31
  import { ListDevEnvironmentSessionsCommandInput, ListDevEnvironmentSessionsCommandOutput } from "./commands/ListDevEnvironmentSessionsCommand";
@@ -32,8 +34,11 @@ import { ListProjectsCommandInput, ListProjectsCommandOutput } from "./commands/
32
34
  import { ListSourceRepositoriesCommandInput, ListSourceRepositoriesCommandOutput } from "./commands/ListSourceRepositoriesCommand";
33
35
  import { ListSourceRepositoryBranchesCommandInput, ListSourceRepositoryBranchesCommandOutput } from "./commands/ListSourceRepositoryBranchesCommand";
34
36
  import { ListSpacesCommandInput, ListSpacesCommandOutput } from "./commands/ListSpacesCommand";
37
+ import { ListWorkflowRunsCommandInput, ListWorkflowRunsCommandOutput } from "./commands/ListWorkflowRunsCommand";
38
+ import { ListWorkflowsCommandInput, ListWorkflowsCommandOutput } from "./commands/ListWorkflowsCommand";
35
39
  import { StartDevEnvironmentCommandInput, StartDevEnvironmentCommandOutput } from "./commands/StartDevEnvironmentCommand";
36
40
  import { StartDevEnvironmentSessionCommandInput, StartDevEnvironmentSessionCommandOutput } from "./commands/StartDevEnvironmentSessionCommand";
41
+ import { StartWorkflowRunCommandInput, StartWorkflowRunCommandOutput } from "./commands/StartWorkflowRunCommand";
37
42
  import { StopDevEnvironmentCommandInput, StopDevEnvironmentCommandOutput } from "./commands/StopDevEnvironmentCommand";
38
43
  import { StopDevEnvironmentSessionCommandInput, StopDevEnvironmentSessionCommandOutput } from "./commands/StopDevEnvironmentSessionCommand";
39
44
  import { UpdateDevEnvironmentCommandInput, UpdateDevEnvironmentCommandOutput } from "./commands/UpdateDevEnvironmentCommand";
@@ -46,11 +51,11 @@ export { __Client };
46
51
  /**
47
52
  * @public
48
53
  */
49
- export type ServiceInputTypes = CreateAccessTokenCommandInput | CreateDevEnvironmentCommandInput | CreateProjectCommandInput | CreateSourceRepositoryBranchCommandInput | CreateSourceRepositoryCommandInput | DeleteAccessTokenCommandInput | DeleteDevEnvironmentCommandInput | DeleteProjectCommandInput | DeleteSourceRepositoryCommandInput | DeleteSpaceCommandInput | GetDevEnvironmentCommandInput | GetProjectCommandInput | GetSourceRepositoryCloneUrlsCommandInput | GetSourceRepositoryCommandInput | GetSpaceCommandInput | GetSubscriptionCommandInput | GetUserDetailsCommandInput | ListAccessTokensCommandInput | ListDevEnvironmentSessionsCommandInput | ListDevEnvironmentsCommandInput | ListEventLogsCommandInput | ListProjectsCommandInput | ListSourceRepositoriesCommandInput | ListSourceRepositoryBranchesCommandInput | ListSpacesCommandInput | StartDevEnvironmentCommandInput | StartDevEnvironmentSessionCommandInput | StopDevEnvironmentCommandInput | StopDevEnvironmentSessionCommandInput | UpdateDevEnvironmentCommandInput | UpdateProjectCommandInput | UpdateSpaceCommandInput | VerifySessionCommandInput;
54
+ export type ServiceInputTypes = CreateAccessTokenCommandInput | CreateDevEnvironmentCommandInput | CreateProjectCommandInput | CreateSourceRepositoryBranchCommandInput | CreateSourceRepositoryCommandInput | DeleteAccessTokenCommandInput | DeleteDevEnvironmentCommandInput | DeleteProjectCommandInput | DeleteSourceRepositoryCommandInput | DeleteSpaceCommandInput | GetDevEnvironmentCommandInput | GetProjectCommandInput | GetSourceRepositoryCloneUrlsCommandInput | GetSourceRepositoryCommandInput | GetSpaceCommandInput | GetSubscriptionCommandInput | GetUserDetailsCommandInput | GetWorkflowCommandInput | GetWorkflowRunCommandInput | ListAccessTokensCommandInput | ListDevEnvironmentSessionsCommandInput | ListDevEnvironmentsCommandInput | ListEventLogsCommandInput | ListProjectsCommandInput | ListSourceRepositoriesCommandInput | ListSourceRepositoryBranchesCommandInput | ListSpacesCommandInput | ListWorkflowRunsCommandInput | ListWorkflowsCommandInput | StartDevEnvironmentCommandInput | StartDevEnvironmentSessionCommandInput | StartWorkflowRunCommandInput | StopDevEnvironmentCommandInput | StopDevEnvironmentSessionCommandInput | UpdateDevEnvironmentCommandInput | UpdateProjectCommandInput | UpdateSpaceCommandInput | VerifySessionCommandInput;
50
55
  /**
51
56
  * @public
52
57
  */
53
- export type ServiceOutputTypes = CreateAccessTokenCommandOutput | CreateDevEnvironmentCommandOutput | CreateProjectCommandOutput | CreateSourceRepositoryBranchCommandOutput | CreateSourceRepositoryCommandOutput | DeleteAccessTokenCommandOutput | DeleteDevEnvironmentCommandOutput | DeleteProjectCommandOutput | DeleteSourceRepositoryCommandOutput | DeleteSpaceCommandOutput | GetDevEnvironmentCommandOutput | GetProjectCommandOutput | GetSourceRepositoryCloneUrlsCommandOutput | GetSourceRepositoryCommandOutput | GetSpaceCommandOutput | GetSubscriptionCommandOutput | GetUserDetailsCommandOutput | ListAccessTokensCommandOutput | ListDevEnvironmentSessionsCommandOutput | ListDevEnvironmentsCommandOutput | ListEventLogsCommandOutput | ListProjectsCommandOutput | ListSourceRepositoriesCommandOutput | ListSourceRepositoryBranchesCommandOutput | ListSpacesCommandOutput | StartDevEnvironmentCommandOutput | StartDevEnvironmentSessionCommandOutput | StopDevEnvironmentCommandOutput | StopDevEnvironmentSessionCommandOutput | UpdateDevEnvironmentCommandOutput | UpdateProjectCommandOutput | UpdateSpaceCommandOutput | VerifySessionCommandOutput;
58
+ export type ServiceOutputTypes = CreateAccessTokenCommandOutput | CreateDevEnvironmentCommandOutput | CreateProjectCommandOutput | CreateSourceRepositoryBranchCommandOutput | CreateSourceRepositoryCommandOutput | DeleteAccessTokenCommandOutput | DeleteDevEnvironmentCommandOutput | DeleteProjectCommandOutput | DeleteSourceRepositoryCommandOutput | DeleteSpaceCommandOutput | GetDevEnvironmentCommandOutput | GetProjectCommandOutput | GetSourceRepositoryCloneUrlsCommandOutput | GetSourceRepositoryCommandOutput | GetSpaceCommandOutput | GetSubscriptionCommandOutput | GetUserDetailsCommandOutput | GetWorkflowCommandOutput | GetWorkflowRunCommandOutput | ListAccessTokensCommandOutput | ListDevEnvironmentSessionsCommandOutput | ListDevEnvironmentsCommandOutput | ListEventLogsCommandOutput | ListProjectsCommandOutput | ListSourceRepositoriesCommandOutput | ListSourceRepositoryBranchesCommandOutput | ListSpacesCommandOutput | ListWorkflowRunsCommandOutput | ListWorkflowsCommandOutput | StartDevEnvironmentCommandOutput | StartDevEnvironmentSessionCommandOutput | StartWorkflowRunCommandOutput | StopDevEnvironmentCommandOutput | StopDevEnvironmentSessionCommandOutput | UpdateDevEnvironmentCommandOutput | UpdateProjectCommandOutput | UpdateSpaceCommandOutput | VerifySessionCommandOutput;
54
59
  /**
55
60
  * @public
56
61
  */
@@ -154,7 +159,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
154
159
  /**
155
160
  * @public
156
161
  */
157
- export type CodeCatalystClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & TokenInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
162
+ export type CodeCatalystClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & UserAgentInputConfig & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
158
163
  /**
159
164
  * @public
160
165
  *
@@ -165,7 +170,7 @@ export interface CodeCatalystClientConfig extends CodeCatalystClientConfigType {
165
170
  /**
166
171
  * @public
167
172
  */
168
- export type CodeCatalystClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & TokenResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
173
+ export type CodeCatalystClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & UserAgentResolvedConfig & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
169
174
  /**
170
175
  * @public
171
176
  *
@@ -198,7 +203,7 @@ export interface CodeCatalystClientResolvedConfig extends CodeCatalystClientReso
198
203
  * </li>
199
204
  * <li>
200
205
  * <p>
201
- * <a>UpdateSpace</a>, which hanges one or more values for a space.</p>
206
+ * <a>UpdateSpace</a>, which changes one or more values for a space.</p>
202
207
  * </li>
203
208
  * </ul>
204
209
  * <p>Projects, by calling the following:</p>
@@ -299,6 +304,29 @@ export interface CodeCatalystClientResolvedConfig extends CodeCatalystClientReso
299
304
  * <a>UpdateDevEnvironment</a>, which changes one or more values for a Dev Environment.</p>
300
305
  * </li>
301
306
  * </ul>
307
+ * <p>Workflows, by calling the following:</p>
308
+ * <ul>
309
+ * <li>
310
+ * <p>
311
+ * <a>GetWorkflow</a>, which returns information about a workflow.</p>
312
+ * </li>
313
+ * <li>
314
+ * <p>
315
+ * <a>GetWorkflowRun</a>, which returns information about a specified run of a workflow.</p>
316
+ * </li>
317
+ * <li>
318
+ * <p>
319
+ * <a>ListWorkflowRuns</a>, which retrieves a list of runs of a specified workflow.</p>
320
+ * </li>
321
+ * <li>
322
+ * <p>
323
+ * <a>ListWorkflows</a>, which retrieves a list of workflows in a specified project.</p>
324
+ * </li>
325
+ * <li>
326
+ * <p>
327
+ * <a>StartWorkflowRun</a>, which starts a run of a specified workflow.</p>
328
+ * </li>
329
+ * </ul>
302
330
  * <p>Security, activity, and resource management in Amazon CodeCatalyst, by calling the following:</p>
303
331
  * <ul>
304
332
  * <li>
@@ -333,6 +361,8 @@ export declare class CodeCatalystClient extends __Client<__HttpHandlerOptions, S
333
361
  * The resolved configuration of CodeCatalystClient class. This is resolved and normalized from the {@link CodeCatalystClientConfig | constructor configuration interface}.
334
362
  */
335
363
  readonly config: CodeCatalystClientResolvedConfig;
364
+ private getDefaultHttpAuthSchemeParametersProvider;
365
+ private getIdentityProviderConfigProvider;
336
366
  constructor(...[configuration]: __CheckOptionalClientConfig<CodeCatalystClientConfig>);
337
367
  /**
338
368
  * Destroy underlying resources, like sockets. It's usually not necessary to do this.
@@ -0,0 +1,29 @@
1
+ import { HttpAuthScheme, TokenIdentity, TokenIdentityProvider } from "@smithy/types";
2
+ import { CodeCatalystHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
3
+ /**
4
+ * @internal
5
+ */
6
+ export interface HttpAuthExtensionConfiguration {
7
+ setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
8
+ httpAuthSchemes(): HttpAuthScheme[];
9
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider: CodeCatalystHttpAuthSchemeProvider): void;
10
+ httpAuthSchemeProvider(): CodeCatalystHttpAuthSchemeProvider;
11
+ setToken(token: TokenIdentity | TokenIdentityProvider): void;
12
+ token(): TokenIdentity | TokenIdentityProvider | undefined;
13
+ }
14
+ /**
15
+ * @internal
16
+ */
17
+ export type HttpAuthRuntimeConfig = Partial<{
18
+ httpAuthSchemes: HttpAuthScheme[];
19
+ httpAuthSchemeProvider: CodeCatalystHttpAuthSchemeProvider;
20
+ token: TokenIdentity | TokenIdentityProvider;
21
+ }>;
22
+ /**
23
+ * @internal
24
+ */
25
+ export declare const getHttpAuthExtensionConfiguration: (runtimeConfig: HttpAuthRuntimeConfig) => HttpAuthExtensionConfiguration;
26
+ /**
27
+ * @internal
28
+ */
29
+ export declare const resolveHttpAuthRuntimeConfig: (config: HttpAuthExtensionConfiguration) => HttpAuthRuntimeConfig;
@@ -0,0 +1,67 @@
1
+ import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, TokenIdentity, TokenIdentityProvider } from "@smithy/types";
2
+ import { CodeCatalystClientResolvedConfig } from "../CodeCatalystClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export interface CodeCatalystHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
7
+ }
8
+ /**
9
+ * @internal
10
+ */
11
+ export interface CodeCatalystHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<CodeCatalystClientResolvedConfig, HandlerExecutionContext, CodeCatalystHttpAuthSchemeParameters, object> {
12
+ }
13
+ /**
14
+ * @internal
15
+ */
16
+ export declare const defaultCodeCatalystHttpAuthSchemeParametersProvider: (config: CodeCatalystClientResolvedConfig, context: HandlerExecutionContext, input: object) => Promise<CodeCatalystHttpAuthSchemeParameters>;
17
+ /**
18
+ * @internal
19
+ */
20
+ export interface CodeCatalystHttpAuthSchemeProvider extends HttpAuthSchemeProvider<CodeCatalystHttpAuthSchemeParameters> {
21
+ }
22
+ /**
23
+ * @internal
24
+ */
25
+ export declare const defaultCodeCatalystHttpAuthSchemeProvider: CodeCatalystHttpAuthSchemeProvider;
26
+ /**
27
+ * @internal
28
+ */
29
+ export interface HttpAuthSchemeInputConfig {
30
+ /**
31
+ * experimentalIdentityAndAuth: Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
32
+ * @internal
33
+ */
34
+ httpAuthSchemes?: HttpAuthScheme[];
35
+ /**
36
+ * experimentalIdentityAndAuth: Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
37
+ * @internal
38
+ */
39
+ httpAuthSchemeProvider?: CodeCatalystHttpAuthSchemeProvider;
40
+ /**
41
+ * The token used to authenticate requests.
42
+ */
43
+ token?: TokenIdentity | TokenIdentityProvider;
44
+ }
45
+ /**
46
+ * @internal
47
+ */
48
+ export interface HttpAuthSchemeResolvedConfig {
49
+ /**
50
+ * experimentalIdentityAndAuth: Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
51
+ * @internal
52
+ */
53
+ readonly httpAuthSchemes: HttpAuthScheme[];
54
+ /**
55
+ * experimentalIdentityAndAuth: Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
56
+ * @internal
57
+ */
58
+ readonly httpAuthSchemeProvider: CodeCatalystHttpAuthSchemeProvider;
59
+ /**
60
+ * The token used to authenticate requests.
61
+ */
62
+ readonly token?: TokenIdentityProvider;
63
+ }
64
+ /**
65
+ * @internal
66
+ */
67
+ export declare const resolveHttpAuthSchemeConfig: (config: HttpAuthSchemeInputConfig) => HttpAuthSchemeResolvedConfig;
@@ -0,0 +1,107 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { CodeCatalystClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeCatalystClient";
5
+ import { GetWorkflowRequest, GetWorkflowResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetWorkflowCommand}.
14
+ */
15
+ export interface GetWorkflowCommandInput extends GetWorkflowRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetWorkflowCommand}.
21
+ */
22
+ export interface GetWorkflowCommandOutput extends GetWorkflowResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Returns information about a workflow.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { CodeCatalystClient, GetWorkflowCommand } from "@aws-sdk/client-codecatalyst"; // ES Modules import
31
+ * // const { CodeCatalystClient, GetWorkflowCommand } = require("@aws-sdk/client-codecatalyst"); // CommonJS import
32
+ * const client = new CodeCatalystClient(config);
33
+ * const input = { // GetWorkflowRequest
34
+ * spaceName: "STRING_VALUE", // required
35
+ * id: "STRING_VALUE", // required
36
+ * projectName: "STRING_VALUE", // required
37
+ * };
38
+ * const command = new GetWorkflowCommand(input);
39
+ * const response = await client.send(command);
40
+ * // { // GetWorkflowResponse
41
+ * // spaceName: "STRING_VALUE", // required
42
+ * // projectName: "STRING_VALUE", // required
43
+ * // id: "STRING_VALUE", // required
44
+ * // name: "STRING_VALUE", // required
45
+ * // sourceRepositoryName: "STRING_VALUE",
46
+ * // sourceBranchName: "STRING_VALUE",
47
+ * // definition: { // WorkflowDefinition
48
+ * // path: "STRING_VALUE", // required
49
+ * // },
50
+ * // createdTime: new Date("TIMESTAMP"), // required
51
+ * // lastUpdatedTime: new Date("TIMESTAMP"), // required
52
+ * // runMode: "STRING_VALUE", // required
53
+ * // status: "STRING_VALUE", // required
54
+ * // };
55
+ *
56
+ * ```
57
+ *
58
+ * @param GetWorkflowCommandInput - {@link GetWorkflowCommandInput}
59
+ * @returns {@link GetWorkflowCommandOutput}
60
+ * @see {@link GetWorkflowCommandInput} for command's `input` shape.
61
+ * @see {@link GetWorkflowCommandOutput} for command's `response` shape.
62
+ * @see {@link CodeCatalystClientResolvedConfig | config} for CodeCatalystClient's `config` shape.
63
+ *
64
+ * @throws {@link AccessDeniedException} (client fault)
65
+ * <p>The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.</p>
66
+ *
67
+ * @throws {@link ConflictException} (client fault)
68
+ * <p>The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request.
69
+ * Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.</p>
70
+ *
71
+ * @throws {@link ResourceNotFoundException} (client fault)
72
+ * <p>The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.</p>
73
+ *
74
+ * @throws {@link ServiceQuotaExceededException} (client fault)
75
+ * <p>The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce
76
+ * the number of resources, or change the tier if applicable.</p>
77
+ *
78
+ * @throws {@link ThrottlingException} (client fault)
79
+ * <p>The request was denied due to request throttling.</p>
80
+ *
81
+ * @throws {@link ValidationException} (client fault)
82
+ * <p>The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.</p>
83
+ *
84
+ * @throws {@link CodeCatalystServiceException}
85
+ * <p>Base exception class for all service exceptions from CodeCatalyst service.</p>
86
+ *
87
+ */
88
+ export declare class GetWorkflowCommand extends $Command<GetWorkflowCommandInput, GetWorkflowCommandOutput, CodeCatalystClientResolvedConfig> {
89
+ readonly input: GetWorkflowCommandInput;
90
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
91
+ /**
92
+ * @public
93
+ */
94
+ constructor(input: GetWorkflowCommandInput);
95
+ /**
96
+ * @internal
97
+ */
98
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeCatalystClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetWorkflowCommandInput, GetWorkflowCommandOutput>;
99
+ /**
100
+ * @internal
101
+ */
102
+ private serialize;
103
+ /**
104
+ * @internal
105
+ */
106
+ private deserialize;
107
+ }
@@ -0,0 +1,105 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { CodeCatalystClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeCatalystClient";
5
+ import { GetWorkflowRunRequest, GetWorkflowRunResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetWorkflowRunCommand}.
14
+ */
15
+ export interface GetWorkflowRunCommandInput extends GetWorkflowRunRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetWorkflowRunCommand}.
21
+ */
22
+ export interface GetWorkflowRunCommandOutput extends GetWorkflowRunResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Returns information about a specified run of a workflow.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { CodeCatalystClient, GetWorkflowRunCommand } from "@aws-sdk/client-codecatalyst"; // ES Modules import
31
+ * // const { CodeCatalystClient, GetWorkflowRunCommand } = require("@aws-sdk/client-codecatalyst"); // CommonJS import
32
+ * const client = new CodeCatalystClient(config);
33
+ * const input = { // GetWorkflowRunRequest
34
+ * spaceName: "STRING_VALUE", // required
35
+ * id: "STRING_VALUE", // required
36
+ * projectName: "STRING_VALUE", // required
37
+ * };
38
+ * const command = new GetWorkflowRunCommand(input);
39
+ * const response = await client.send(command);
40
+ * // { // GetWorkflowRunResponse
41
+ * // spaceName: "STRING_VALUE", // required
42
+ * // projectName: "STRING_VALUE", // required
43
+ * // id: "STRING_VALUE", // required
44
+ * // workflowId: "STRING_VALUE", // required
45
+ * // status: "STRING_VALUE", // required
46
+ * // statusReasons: [ // WorkflowRunStatusReasons
47
+ * // {},
48
+ * // ],
49
+ * // startTime: new Date("TIMESTAMP"), // required
50
+ * // endTime: new Date("TIMESTAMP"),
51
+ * // lastUpdatedTime: new Date("TIMESTAMP"), // required
52
+ * // };
53
+ *
54
+ * ```
55
+ *
56
+ * @param GetWorkflowRunCommandInput - {@link GetWorkflowRunCommandInput}
57
+ * @returns {@link GetWorkflowRunCommandOutput}
58
+ * @see {@link GetWorkflowRunCommandInput} for command's `input` shape.
59
+ * @see {@link GetWorkflowRunCommandOutput} for command's `response` shape.
60
+ * @see {@link CodeCatalystClientResolvedConfig | config} for CodeCatalystClient's `config` shape.
61
+ *
62
+ * @throws {@link AccessDeniedException} (client fault)
63
+ * <p>The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.</p>
64
+ *
65
+ * @throws {@link ConflictException} (client fault)
66
+ * <p>The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request.
67
+ * Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.</p>
68
+ *
69
+ * @throws {@link ResourceNotFoundException} (client fault)
70
+ * <p>The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.</p>
71
+ *
72
+ * @throws {@link ServiceQuotaExceededException} (client fault)
73
+ * <p>The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce
74
+ * the number of resources, or change the tier if applicable.</p>
75
+ *
76
+ * @throws {@link ThrottlingException} (client fault)
77
+ * <p>The request was denied due to request throttling.</p>
78
+ *
79
+ * @throws {@link ValidationException} (client fault)
80
+ * <p>The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.</p>
81
+ *
82
+ * @throws {@link CodeCatalystServiceException}
83
+ * <p>Base exception class for all service exceptions from CodeCatalyst service.</p>
84
+ *
85
+ */
86
+ export declare class GetWorkflowRunCommand extends $Command<GetWorkflowRunCommandInput, GetWorkflowRunCommandOutput, CodeCatalystClientResolvedConfig> {
87
+ readonly input: GetWorkflowRunCommandInput;
88
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
89
+ /**
90
+ * @public
91
+ */
92
+ constructor(input: GetWorkflowRunCommandInput);
93
+ /**
94
+ * @internal
95
+ */
96
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeCatalystClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetWorkflowRunCommandInput, GetWorkflowRunCommandOutput>;
97
+ /**
98
+ * @internal
99
+ */
100
+ private serialize;
101
+ /**
102
+ * @internal
103
+ */
104
+ private deserialize;
105
+ }
@@ -32,7 +32,7 @@ export interface ListDevEnvironmentsCommandOutput extends ListDevEnvironmentsRes
32
32
  * const client = new CodeCatalystClient(config);
33
33
  * const input = { // ListDevEnvironmentsRequest
34
34
  * spaceName: "STRING_VALUE", // required
35
- * projectName: "STRING_VALUE", // required
35
+ * projectName: "STRING_VALUE",
36
36
  * filters: [ // Filters
37
37
  * { // Filter
38
38
  * key: "STRING_VALUE", // required
@@ -23,7 +23,16 @@ export interface ListEventLogsCommandOutput extends ListEventLogsResponse, __Met
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>Retrieves a list of events that occurred during a specified time period in a space. You can use these events to audit user and system activity in a space.</p>
26
+ * <p>Retrieves a list of events that occurred during a specific time in a space. You can
27
+ * use these events to audit user and system activity in a space. For more information, see
28
+ * <a href="https://docs.aws.amazon.com/codecatalyst/latest/userguide/ipa-monitoring.html">Monitoring</a> in the <i>Amazon CodeCatalyst User Guide</i>.</p>
29
+ * <note>
30
+ * <p>ListEventLogs guarantees events for the last 30 days in a given space. You can also
31
+ * view and retrieve a list of management events over the last 90 days for Amazon CodeCatalyst in the
32
+ * CloudTrail console by viewing Event history, or by creating a trail to create
33
+ * and maintain a record of events that extends past 90 days. For more information, see <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/view-cloudtrail-events.html">Working with CloudTrail Event History</a> and <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-getting-started.html">Working with
34
+ * CloudTrail trails</a>.</p>
35
+ * </note>
27
36
  * @example
28
37
  * Use a bare-bones client and the command you need to make an API call.
29
38
  * ```javascript