File: types.go

package info (click to toggle)
golang-github-aws-aws-sdk-go-v2 1.24.1-2~bpo12%2B1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm-backports
  • size: 554,032 kB
  • sloc: java: 15,941; makefile: 419; sh: 175
file content (666 lines) | stat: -rw-r--r-- 16,235 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
// Code generated by smithy-go-codegen DO NOT EDIT.

package types

import (
	smithydocument "github.com/aws/smithy-go/document"
	"time"
)

// Information about a specified personal access token (PAT).
type AccessTokenSummary struct {

	// The system-generated ID of the personal access token.
	//
	// This member is required.
	Id *string

	// The friendly name of the personal access token.
	//
	// This member is required.
	Name *string

	// The date and time when the personal access token will expire, in coordinated
	// universal time (UTC) timestamp format as specified in RFC 3339 (https://www.rfc-editor.org/rfc/rfc3339#section-5.6)
	// .
	ExpiresTime *time.Time

	noSmithyDocumentSerde
}

// Information about connection details for a Dev Environment.
type DevEnvironmentAccessDetails struct {

	// The URL used to send commands to and from the Dev Environment.
	//
	// This member is required.
	StreamUrl *string

	// An encrypted token value that contains session and caller information used to
	// authenticate the connection.
	//
	// This member is required.
	TokenValue *string

	noSmithyDocumentSerde
}

// Information about the source repsitory for a Dev Environment.
type DevEnvironmentRepositorySummary struct {

	// The name of the source repository.
	//
	// This member is required.
	RepositoryName *string

	// The name of the branch in a source repository cloned into the Dev Environment.
	BranchName *string

	noSmithyDocumentSerde
}

// Information about the configuration of a Dev Environment session.
type DevEnvironmentSessionConfiguration struct {

	// The type of the session.
	//
	// This member is required.
	SessionType DevEnvironmentSessionType

	// Information about optional commands that will be run on the Dev Environment
	// when the SSH session begins.
	ExecuteCommandSessionConfiguration *ExecuteCommandSessionConfiguration

	noSmithyDocumentSerde
}

// Information about active sessions for a Dev Environment.
type DevEnvironmentSessionSummary struct {

	// The system-generated unique ID of the Dev Environment.
	//
	// This member is required.
	DevEnvironmentId *string

	// The system-generated unique ID of the Dev Environment session.
	//
	// This member is required.
	Id *string

	// The name of the project in the space.
	//
	// This member is required.
	ProjectName *string

	// The name of the space.
	//
	// This member is required.
	SpaceName *string

	// The date and time the session started, in coordinated universal time (UTC)
	// timestamp format as specified in RFC 3339 (https://www.rfc-editor.org/rfc/rfc3339#section-5.6)
	//
	// This member is required.
	StartedTime *time.Time

	noSmithyDocumentSerde
}

// Information about a Dev Environment.
type DevEnvironmentSummary struct {

	// The system-generated unique ID of the user who created the Dev Environment.
	//
	// This member is required.
	CreatorId *string

	// The system-generated unique ID for the Dev Environment.
	//
	// This member is required.
	Id *string

	// The amount of time the Dev Environment will run without any activity detected
	// before stopping, in minutes. Dev Environments consume compute minutes when
	// running.
	//
	// This member is required.
	InactivityTimeoutMinutes int32

	// The Amazon EC2 instace type used for the Dev Environment.
	//
	// This member is required.
	InstanceType InstanceType

	// The time when the Dev Environment was last updated, in coordinated universal
	// time (UTC) timestamp format as specified in RFC 3339 (https://www.rfc-editor.org/rfc/rfc3339#section-5.6)
	// .
	//
	// This member is required.
	LastUpdatedTime *time.Time

	// Information about the configuration of persistent storage for the Dev
	// Environment.
	//
	// This member is required.
	PersistentStorage *PersistentStorage

	// Information about the repositories that will be cloned into the Dev
	// Environment. If no rvalue is specified, no repository is cloned.
	//
	// This member is required.
	Repositories []DevEnvironmentRepositorySummary

	// The status of the Dev Environment.
	//
	// This member is required.
	Status DevEnvironmentStatus

	// The user-specified alias for the Dev Environment.
	Alias *string

	// Information about the integrated development environment (IDE) configured for a
	// Dev Environment.
	Ides []Ide

	// The name of the project in the space.
	ProjectName *string

	// The name of the space.
	SpaceName *string

	// The reason for the status.
	StatusReason *string

	// The name of the connection used to connect to Amazon VPC used when the Dev
	// Environment was created, if any.
	VpcConnectionName *string

	noSmithyDocumentSerde
}

// Information about an email address.
type EmailAddress struct {

	// The email address.
	Email *string

	// Whether the email address has been verified.
	Verified *bool

	noSmithyDocumentSerde
}

// Information about an entry in an event log of Amazon CodeCatalyst activity.
type EventLogEntry struct {

	// The category for the event.
	//
	// This member is required.
	EventCategory *string

	// The name of the event.
	//
	// This member is required.
	EventName *string

	// The source of the event.
	//
	// This member is required.
	EventSource *string

	// The time the event took place, in coordinated universal time (UTC) timestamp
	// format as specified in RFC 3339 (https://www.rfc-editor.org/rfc/rfc3339#section-5.6)
	// .
	//
	// This member is required.
	EventTime *time.Time

	// The type of the event.
	//
	// This member is required.
	EventType *string

	// The system-generated unique ID of the event.
	//
	// This member is required.
	Id *string

	// The type of the event.
	//
	// This member is required.
	OperationType OperationType

	// The system-generated unique ID of the user whose actions are recorded in the
	// event.
	//
	// This member is required.
	UserIdentity *UserIdentity

	// The code of the error, if any.
	ErrorCode *string

	// Information about the project where the event occurred.
	ProjectInformation *ProjectInformation

	// The system-generated unique ID of the request.
	RequestId *string

	// Information about the payload of the request.
	RequestPayload *EventPayload

	// Information about the payload of the response, if any.
	ResponsePayload *EventPayload

	// The IP address of the user whose actions are recorded in the event.
	SourceIpAddress *string

	// The user agent whose actions are recorded in the event.
	UserAgent *string

	noSmithyDocumentSerde
}

// Information about the payload of an event recording Amazon CodeCatalyst
// activity.
type EventPayload struct {

	// The type of content in the event payload.
	ContentType *string

	// The data included in the event payload.
	Data *string

	noSmithyDocumentSerde
}

// Information about the commands that will be run on a Dev Environment when an
// SSH session begins.
type ExecuteCommandSessionConfiguration struct {

	// The command used at the beginning of the SSH session to a Dev Environment.
	//
	// This member is required.
	Command *string

	// An array of arguments containing arguments and members.
	Arguments []string

	noSmithyDocumentSerde
}

// Information about a filter used to limit results of a query.
type Filter struct {

	// A key that can be used to sort results.
	//
	// This member is required.
	Key *string

	// The values of the key.
	//
	// This member is required.
	Values []string

	// The operator used to compare the fields.
	ComparisonOperator *string

	noSmithyDocumentSerde
}

// Information about an integrated development environment (IDE) used in a Dev
// Environment.
type Ide struct {

	// The name of the IDE.
	Name *string

	// A link to the IDE runtime image.
	Runtime *string

	noSmithyDocumentSerde
}

// Information about the configuration of an integrated development environment
// (IDE) for a Dev Environment.
type IdeConfiguration struct {

	// The name of the IDE. Valid values include Cloud9 , IntelliJ , PyCharm , GoLand ,
	// and VSCode .
	Name *string

	// A link to the IDE runtime image. This parameter is not required for VSCode .
	Runtime *string

	noSmithyDocumentSerde
}

// Information about a source repository returned in a list of source repositories.
type ListSourceRepositoriesItem struct {

	// The time the source repository was created, in coordinated universal time (UTC)
	// timestamp format as specified in RFC 3339 (https://www.rfc-editor.org/rfc/rfc3339#section-5.6)
	// .
	//
	// This member is required.
	CreatedTime *time.Time

	// The system-generated unique ID of the source repository.
	//
	// This member is required.
	Id *string

	// The time the source repository was last updated, in coordinated universal time
	// (UTC) timestamp format as specified in RFC 3339 (https://www.rfc-editor.org/rfc/rfc3339#section-5.6)
	// .
	//
	// This member is required.
	LastUpdatedTime *time.Time

	// The name of the source repository.
	//
	// This member is required.
	Name *string

	// The description of the repository, if any.
	Description *string

	noSmithyDocumentSerde
}

// Information about a branch of a source repository returned in a list of
// branches.
type ListSourceRepositoryBranchesItem struct {

	// The commit ID of the tip of the branch at the time of the request, also known
	// as the head commit.
	HeadCommitId *string

	// The time the branch was last updated, in coordinated universal time (UTC)
	// timestamp format as specified in RFC 3339 (https://www.rfc-editor.org/rfc/rfc3339#section-5.6)
	// .
	LastUpdatedTime *time.Time

	// The name of the branch.
	Name *string

	// The Git reference name of the branch.
	Ref *string

	noSmithyDocumentSerde
}

// Information about the persistent storage for a Dev Environment.
type PersistentStorage struct {

	// The size of the persistent storage in gigabytes (specifically GiB). Valid
	// values for storage are based on memory sizes in 16GB increments. Valid values
	// are 16, 32, and 64.
	//
	// This member is required.
	SizeInGiB *int32

	noSmithyDocumentSerde
}

// Information about the configuration of persistent storage for a Dev Environment.
type PersistentStorageConfiguration struct {

	// The size of the persistent storage in gigabytes (specifically GiB). Valid
	// values for storage are based on memory sizes in 16GB increments. Valid values
	// are 16, 32, and 64.
	//
	// This member is required.
	SizeInGiB *int32

	noSmithyDocumentSerde
}

// Information about a project in a space.
type ProjectInformation struct {

	// The name of the project in the space.
	Name *string

	// The system-generated unique ID of the project.
	ProjectId *string

	noSmithyDocumentSerde
}

// nformation about the filter used to narrow the results returned in a list of
// projects.
type ProjectListFilter struct {

	// A key that can be used to sort results.
	//
	// This member is required.
	Key FilterKey

	// The values of the key.
	//
	// This member is required.
	Values []string

	// The operator used to compare the fields.
	ComparisonOperator ComparisonOperator

	noSmithyDocumentSerde
}

// Information about a project.
type ProjectSummary struct {

	// The name of the project in the space.
	//
	// This member is required.
	Name *string

	// The description of the project.
	Description *string

	// The friendly name displayed to users of the project in Amazon CodeCatalyst.
	DisplayName *string

	noSmithyDocumentSerde
}

// Information about a repository that will be cloned to a Dev Environment.
type RepositoryInput struct {

	// The name of the source repository.
	//
	// This member is required.
	RepositoryName *string

	// The name of the branch in a source repository.
	BranchName *string

	noSmithyDocumentSerde
}

// Information about an space.
type SpaceSummary struct {

	// The name of the space.
	//
	// This member is required.
	Name *string

	// The Amazon Web Services Region where the space exists.
	//
	// This member is required.
	RegionName *string

	// The description of the space.
	Description *string

	// The friendly name of the space displayed to users.
	DisplayName *string

	noSmithyDocumentSerde
}

// Information about a user whose activity is recorded in an event for a space.
type UserIdentity struct {

	// The ID of the Amazon CodeCatalyst service principal.
	//
	// This member is required.
	PrincipalId *string

	// The role assigned to the user in a Amazon CodeCatalyst space or project when
	// the event occurred.
	//
	// This member is required.
	UserType UserType

	// The Amazon Web Services account number of the user in Amazon Web Services, if
	// any.
	AwsAccountId *string

	// The display name of the user in Amazon CodeCatalyst.
	UserName *string

	noSmithyDocumentSerde
}

// Information about a workflow definition file.
type WorkflowDefinition struct {

	// The path to the workflow definition file stored in the source repository for
	// the project, including the file name.
	//
	// This member is required.
	Path *string

	noSmithyDocumentSerde
}

// Information about a workflow definition.
type WorkflowDefinitionSummary struct {

	// The path to the workflow definition file stored in the source repository for
	// the project, including the file name.
	//
	// This member is required.
	Path *string

	noSmithyDocumentSerde
}

// Information used to sort workflow runs in the returned list.
type WorkflowRunSortCriteria struct {
	noSmithyDocumentSerde
}

// Information about the status of a workflow run.
type WorkflowRunStatusReason struct {
	noSmithyDocumentSerde
}

// Information about a workflow run.
type WorkflowRunSummary struct {

	// The system-generated unique ID of the workflow run.
	//
	// This member is required.
	Id *string

	// The date and time the workflow was last updated, in coordinated universal time
	// (UTC) timestamp format as specified in RFC 3339 (https://www.rfc-editor.org/rfc/rfc3339#section-5.6)
	//
	// This member is required.
	LastUpdatedTime *time.Time

	// The date and time the workflow run began, in coordinated universal time (UTC)
	// timestamp format as specified in RFC 3339 (https://www.rfc-editor.org/rfc/rfc3339#section-5.6)
	// .
	//
	// This member is required.
	StartTime *time.Time

	// The status of the workflow run.
	//
	// This member is required.
	Status WorkflowRunStatus

	// The system-generated unique ID of the workflow.
	//
	// This member is required.
	WorkflowId *string

	// The name of the workflow.
	//
	// This member is required.
	WorkflowName *string

	// The date and time the workflow run ended, in coordinated universal time (UTC)
	// timestamp format as specified in RFC 3339 (https://www.rfc-editor.org/rfc/rfc3339#section-5.6)
	EndTime *time.Time

	// The reasons for the workflow run status.
	StatusReasons []WorkflowRunStatusReason

	noSmithyDocumentSerde
}

// Information used to sort workflows in the returned list.
type WorkflowSortCriteria struct {
	noSmithyDocumentSerde
}

// Information about a workflow.
type WorkflowSummary struct {

	// The date and time the workflow was created, in coordinated universal time (UTC)
	// timestamp format as specified in RFC 3339 (https://www.rfc-editor.org/rfc/rfc3339#section-5.6)
	//
	// This member is required.
	CreatedTime *time.Time

	// Information about the workflow definition file.
	//
	// This member is required.
	Definition *WorkflowDefinitionSummary

	// The system-generated unique ID of a workflow.
	//
	// This member is required.
	Id *string

	// The date and time the workflow was last updated, in coordinated universal time
	// (UTC) timestamp format as specified in RFC 3339 (https://www.rfc-editor.org/rfc/rfc3339#section-5.6)
	//
	// This member is required.
	LastUpdatedTime *time.Time

	// The name of the workflow.
	//
	// This member is required.
	Name *string

	// The run mode of the workflow.
	//
	// This member is required.
	RunMode WorkflowRunMode

	// The name of the branch of the source repository where the workflow definition
	// file is stored.
	//
	// This member is required.
	SourceBranchName *string

	// The name of the source repository where the workflow definition file is stored.
	//
	// This member is required.
	SourceRepositoryName *string

	// The status of the workflow.
	//
	// This member is required.
	Status WorkflowStatus

	noSmithyDocumentSerde
}

type noSmithyDocumentSerde = smithydocument.NoSerde