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 (1246 lines) | stat: -rw-r--r-- 31,259 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
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
// Code generated by smithy-go-codegen DO NOT EDIT.

package types

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

// AWS account.
type Account struct {

	// Account ID of AWS account.
	AccountID *string

	noSmithyDocumentSerde
}

// Properties of a conversion job
type ConversionProperties struct {

	// The timestamp of when the snapshot being converted was taken
	DataTimestamp *string

	// Whether the volume being converted uses UEFI or not
	ForceUefi *bool

	// The root volume name of a conversion job
	RootVolumeName *string

	// A mapping between the volumes being converted and the converted snapshot ids
	VolumeToConversionMap map[string]map[string]string

	// A mapping between the volumes and their sizes
	VolumeToVolumeSize map[string]int64

	noSmithyDocumentSerde
}

// Information about a server's CPU.
type CPU struct {

	// The number of CPU cores.
	Cores int64

	// The model name of the CPU.
	ModelName *string

	noSmithyDocumentSerde
}

// Error in data replication.
type DataReplicationError struct {

	// Error in data replication.
	Error DataReplicationErrorString

	// Error in data replication.
	RawError *string

	noSmithyDocumentSerde
}

// Information about Data Replication
type DataReplicationInfo struct {

	// Error in data replication.
	DataReplicationError *DataReplicationError

	// Information about whether the data replication has been initiated.
	DataReplicationInitiation *DataReplicationInitiation

	// The state of the data replication.
	DataReplicationState DataReplicationState

	// An estimate of when the data replication will be completed.
	EtaDateTime *string

	// Data replication lag duration.
	LagDuration *string

	// The disks that should be replicated.
	ReplicatedDisks []DataReplicationInfoReplicatedDisk

	// AWS Availability zone into which data is being replicated.
	StagingAvailabilityZone *string

	noSmithyDocumentSerde
}

// A disk that should be replicated.
type DataReplicationInfoReplicatedDisk struct {

	// The size of the replication backlog in bytes.
	BackloggedStorageBytes int64

	// The name of the device.
	DeviceName *string

	// The amount of data replicated so far in bytes.
	ReplicatedStorageBytes int64

	// The amount of data to be rescanned in bytes.
	RescannedStorageBytes int64

	// The total amount of data to be replicated in bytes.
	TotalStorageBytes int64

	noSmithyDocumentSerde
}

// Data replication initiation.
type DataReplicationInitiation struct {

	// The date and time of the next attempt to initiate data replication.
	NextAttemptDateTime *string

	// The date and time of the current attempt to initiate data replication.
	StartDateTime *string

	// The steps of the current attempt to initiate data replication.
	Steps []DataReplicationInitiationStep

	noSmithyDocumentSerde
}

// Data replication initiation step.
type DataReplicationInitiationStep struct {

	// The name of the step.
	Name DataReplicationInitiationStepName

	// The status of the step.
	Status DataReplicationInitiationStepStatus

	noSmithyDocumentSerde
}

// A set of filters by which to return Jobs.
type DescribeJobsRequestFilters struct {

	// The start date in a date range query.
	FromDate *string

	// An array of Job IDs that should be returned. An empty array means all jobs.
	JobIDs []string

	// The end date in a date range query.
	ToDate *string

	noSmithyDocumentSerde
}

// A set of filters by which to return Recovery Instances.
type DescribeRecoveryInstancesRequestFilters struct {

	// An array of Recovery Instance IDs that should be returned. An empty array means
	// all Recovery Instances.
	RecoveryInstanceIDs []string

	// An array of Source Server IDs for which associated Recovery Instances should be
	// returned.
	SourceServerIDs []string

	noSmithyDocumentSerde
}

// A set of filters by which to return Recovery Snapshots.
type DescribeRecoverySnapshotsRequestFilters struct {

	// The start date in a date range query.
	FromDateTime *string

	// The end date in a date range query.
	ToDateTime *string

	noSmithyDocumentSerde
}

// A set of filters by which to return Source Networks.
type DescribeSourceNetworksRequestFilters struct {

	// Filter Source Networks by account ID containing the protected VPCs.
	OriginAccountID *string

	// Filter Source Networks by the region containing the protected VPCs.
	OriginRegion *string

	// An array of Source Network IDs that should be returned. An empty array means
	// all Source Networks.
	SourceNetworkIDs []string

	noSmithyDocumentSerde
}

// A set of filters by which to return Source Servers.
type DescribeSourceServersRequestFilters struct {

	// An ID that describes the hardware of the Source Server. This is either an EC2
	// instance id, a VMware uuid or a mac address.
	HardwareId *string

	// An array of Source Servers IDs that should be returned. An empty array means
	// all Source Servers.
	SourceServerIDs []string

	// An array of staging account IDs that extended source servers belong to. An
	// empty array means all source servers will be shown.
	StagingAccountIDs []string

	noSmithyDocumentSerde
}

// An object representing a data storage device on a server.
type Disk struct {

	// The amount of storage on the disk in bytes.
	Bytes int64

	// The disk or device name.
	DeviceName *string

	noSmithyDocumentSerde
}

// Properties of resource related to a job event.
//
// The following types satisfy this interface:
//
//	EventResourceDataMemberSourceNetworkData
type EventResourceData interface {
	isEventResourceData()
}

// Source Network properties.
type EventResourceDataMemberSourceNetworkData struct {
	Value SourceNetworkData

	noSmithyDocumentSerde
}

func (*EventResourceDataMemberSourceNetworkData) isEventResourceData() {}

// Hints used to uniquely identify a machine.
type IdentificationHints struct {

	// AWS Instance ID identification hint.
	AwsInstanceID *string

	// Fully Qualified Domain Name identification hint.
	Fqdn *string

	// Hostname identification hint.
	Hostname *string

	// vCenter VM path identification hint.
	VmWareUuid *string

	noSmithyDocumentSerde
}

// A job is an asynchronous workflow.
type Job struct {

	// The ID of the Job.
	//
	// This member is required.
	JobID *string

	// The ARN of a Job.
	Arn *string

	// The date and time of when the Job was created.
	CreationDateTime *string

	// The date and time of when the Job ended.
	EndDateTime *string

	// A string representing who initiated the Job.
	InitiatedBy InitiatedBy

	// A list of resources that the Job is acting upon.
	ParticipatingResources []ParticipatingResource

	// A list of servers that the Job is acting upon.
	ParticipatingServers []ParticipatingServer

	// The status of the Job.
	Status JobStatus

	// A list of tags associated with the Job.
	Tags map[string]string

	// The type of the Job.
	Type JobType

	noSmithyDocumentSerde
}

// A log outputted by a Job.
type JobLog struct {

	// The event represents the type of a log.
	Event JobLogEvent

	// Metadata associated with a Job log.
	EventData *JobLogEventData

	// The date and time the log was taken.
	LogDateTime *string

	noSmithyDocumentSerde
}

// Metadata associated with a Job log.
type JobLogEventData struct {

	// Properties of a conversion job
	ConversionProperties *ConversionProperties

	// The ID of a conversion server.
	ConversionServerID *string

	// Properties of resource related to a job event.
	EventResourceData EventResourceData

	// A string representing a job error.
	RawError *string

	// The ID of a Source Server.
	SourceServerID *string

	// The ID of a Recovery Instance.
	TargetInstanceID *string

	noSmithyDocumentSerde
}

// Launch action.
type LaunchAction struct {

	// Launch action code.
	ActionCode *string

	// Launch action Id.
	ActionId *string

	// Launch action version.
	ActionVersion *string

	// Whether the launch action is active.
	Active *bool

	// Launch action category.
	Category LaunchActionCategory

	// Launch action description.
	Description *string

	// Launch action name.
	Name *string

	// Whether the launch will not be marked as failed if this action fails.
	Optional *bool

	// Launch action order.
	Order int32

	// Launch action parameters.
	Parameters map[string]LaunchActionParameter

	// Launch action type.
	Type LaunchActionType

	noSmithyDocumentSerde
}

// Launch action parameter.
type LaunchActionParameter struct {

	// Type.
	Type LaunchActionParameterType

	// Value.
	Value *string

	noSmithyDocumentSerde
}

// Launch action run.
type LaunchActionRun struct {

	// Action.
	Action *LaunchAction

	// Failure reason.
	FailureReason *string

	// Run Id.
	RunId *string

	// Run status.
	Status LaunchActionRunStatus

	noSmithyDocumentSerde
}

// Resource launch actions filter.
type LaunchActionsRequestFilters struct {

	// Launch actions Ids.
	ActionIds []string

	noSmithyDocumentSerde
}

// Launch actions status.
type LaunchActionsStatus struct {

	// List of post launch action status.
	Runs []LaunchActionRun

	// Time where the AWS Systems Manager was detected as running on the launched
	// instance.
	SsmAgentDiscoveryDatetime *string

	noSmithyDocumentSerde
}

// Account level Launch Configuration Template.
type LaunchConfigurationTemplate struct {

	// ARN of the Launch Configuration Template.
	Arn *string

	// Copy private IP.
	CopyPrivateIp *bool

	// Copy tags.
	CopyTags *bool

	// S3 bucket ARN to export Source Network templates.
	ExportBucketArn *string

	// ID of the Launch Configuration Template.
	LaunchConfigurationTemplateID *string

	// Launch disposition.
	LaunchDisposition LaunchDisposition

	// DRS will set the 'launch into instance ID' of any source server when performing
	// a drill, recovery or failback to the previous region or availability zone, using
	// the instance ID of the source instance.
	LaunchIntoSourceInstance *bool

	// Licensing.
	Licensing *Licensing

	// Post-launch actions activated.
	PostLaunchEnabled *bool

	// Tags of the Launch Configuration Template.
	Tags map[string]string

	// Target instance type right-sizing method.
	TargetInstanceTypeRightSizingMethod TargetInstanceTypeRightSizingMethod

	noSmithyDocumentSerde
}

// Launch into existing instance.
type LaunchIntoInstanceProperties struct {

	// Optionally holds EC2 instance ID of an instance to launch into, instead of
	// launching a new instance during drill, recovery or failback.
	LaunchIntoEC2InstanceID *string

	noSmithyDocumentSerde
}

// Configuration of a machine's license.
type Licensing struct {

	// Whether to enable "Bring your own license" or not.
	OsByol *bool

	noSmithyDocumentSerde
}

// An object representing the Source Server Lifecycle.
type LifeCycle struct {

	// The date and time of when the Source Server was added to the service.
	AddedToServiceDateTime *string

	// The amount of time that the Source Server has been replicating for.
	ElapsedReplicationDuration *string

	// The date and time of the first byte that was replicated from the Source Server.
	FirstByteDateTime *string

	// An object containing information regarding the last launch of the Source Server.
	LastLaunch *LifeCycleLastLaunch

	// The date and time this Source Server was last seen by the service.
	LastSeenByServiceDateTime *string

	noSmithyDocumentSerde
}

// An object containing information regarding the last launch of a Source Server.
type LifeCycleLastLaunch struct {

	// An object containing information regarding the initiation of the last launch of
	// a Source Server.
	Initiated *LifeCycleLastLaunchInitiated

	// Status of Source Server's last launch.
	Status LaunchStatus

	noSmithyDocumentSerde
}

// An object containing information regarding the initiation of the last launch of
// a Source Server.
type LifeCycleLastLaunchInitiated struct {

	// The date and time the last Source Server launch was initiated.
	ApiCallDateTime *string

	// The ID of the Job that was used to last launch the Source Server.
	JobID *string

	// The Job type that was used to last launch the Source Server.
	Type LastLaunchType

	noSmithyDocumentSerde
}

// Network interface.
type NetworkInterface struct {

	// Network interface IPs.
	Ips []string

	// Whether this is the primary network interface.
	IsPrimary *bool

	// The MAC address of the network interface.
	MacAddress *string

	noSmithyDocumentSerde
}

// Operating System.
type OS struct {

	// The long name of the Operating System.
	FullString *string

	noSmithyDocumentSerde
}

// Represents a resource participating in an asynchronous Job.
type ParticipatingResource struct {

	// The launch status of a participating resource.
	LaunchStatus LaunchStatus

	// The ID of a participating resource.
	ParticipatingResourceID ParticipatingResourceID

	noSmithyDocumentSerde
}

// ID of a resource participating in an asynchronous Job.
//
// The following types satisfy this interface:
//
//	ParticipatingResourceIDMemberSourceNetworkID
type ParticipatingResourceID interface {
	isParticipatingResourceID()
}

// Source Network ID.
type ParticipatingResourceIDMemberSourceNetworkID struct {
	Value string

	noSmithyDocumentSerde
}

func (*ParticipatingResourceIDMemberSourceNetworkID) isParticipatingResourceID() {}

// Represents a server participating in an asynchronous Job.
type ParticipatingServer struct {

	// The post-launch action runs of a participating server.
	LaunchActionsStatus *LaunchActionsStatus

	// The launch status of a participating server.
	LaunchStatus LaunchStatus

	// The Recovery Instance ID of a participating server.
	RecoveryInstanceID *string

	// The Source Server ID of a participating server.
	SourceServerID *string

	noSmithyDocumentSerde
}

// A rule in the Point in Time (PIT) policy representing when to take snapshots
// and how long to retain them for.
type PITPolicyRule struct {

	// How often, in the chosen units, a snapshot should be taken.
	//
	// This member is required.
	Interval int32

	// The duration to retain a snapshot for, in the chosen units.
	//
	// This member is required.
	RetentionDuration int32

	// The units used to measure the interval and retentionDuration.
	//
	// This member is required.
	Units PITPolicyRuleUnits

	// Whether this rule is enabled or not.
	Enabled *bool

	// The ID of the rule.
	RuleID int64

	noSmithyDocumentSerde
}

// A Recovery Instance is a replica of a Source Server running on EC2.
type RecoveryInstance struct {

	// The version of the DRS agent installed on the recovery instance
	AgentVersion *string

	// The ARN of the Recovery Instance.
	Arn *string

	// The Data Replication Info of the Recovery Instance.
	DataReplicationInfo *RecoveryInstanceDataReplicationInfo

	// The EC2 instance ID of the Recovery Instance.
	Ec2InstanceID *string

	// The state of the EC2 instance for this Recovery Instance.
	Ec2InstanceState EC2InstanceState

	// An object representing failback related information of the Recovery Instance.
	Failback *RecoveryInstanceFailback

	// Whether this Recovery Instance was created for a drill or for an actual
	// Recovery event.
	IsDrill *bool

	// The ID of the Job that created the Recovery Instance.
	JobID *string

	// AWS availability zone associated with the recovery instance.
	OriginAvailabilityZone *string

	// Environment (On Premises / AWS) of the instance that the recovery instance
	// originated from.
	OriginEnvironment OriginEnvironment

	// The date and time of the Point in Time (PIT) snapshot that this Recovery
	// Instance was launched from.
	PointInTimeSnapshotDateTime *string

	// The ID of the Recovery Instance.
	RecoveryInstanceID *string

	// Properties of the Recovery Instance machine.
	RecoveryInstanceProperties *RecoveryInstanceProperties

	// The Source Server ID that this Recovery Instance is associated with.
	SourceServerID *string

	// An array of tags that are associated with the Recovery Instance.
	Tags map[string]string

	noSmithyDocumentSerde
}

// Error in data replication.
type RecoveryInstanceDataReplicationError struct {

	// Error in data replication.
	Error FailbackReplicationError

	// Error in data replication.
	RawError *string

	noSmithyDocumentSerde
}

// Information about Data Replication
type RecoveryInstanceDataReplicationInfo struct {

	// Information about Data Replication
	DataReplicationError *RecoveryInstanceDataReplicationError

	// Information about whether the data replication has been initiated.
	DataReplicationInitiation *RecoveryInstanceDataReplicationInitiation

	// The state of the data replication.
	DataReplicationState RecoveryInstanceDataReplicationState

	// An estimate of when the data replication will be completed.
	EtaDateTime *string

	// Data replication lag duration.
	LagDuration *string

	// The disks that should be replicated.
	ReplicatedDisks []RecoveryInstanceDataReplicationInfoReplicatedDisk

	// AWS Availability zone into which data is being replicated.
	StagingAvailabilityZone *string

	noSmithyDocumentSerde
}

// A disk that should be replicated.
type RecoveryInstanceDataReplicationInfoReplicatedDisk struct {

	// The size of the replication backlog in bytes.
	BackloggedStorageBytes int64

	// The name of the device.
	DeviceName *string

	// The amount of data replicated so far in bytes.
	ReplicatedStorageBytes int64

	// The amount of data to be rescanned in bytes.
	RescannedStorageBytes int64

	// The total amount of data to be replicated in bytes.
	TotalStorageBytes int64

	noSmithyDocumentSerde
}

// Data replication initiation.
type RecoveryInstanceDataReplicationInitiation struct {

	// The date and time of the current attempt to initiate data replication.
	StartDateTime *string

	// The steps of the current attempt to initiate data replication.
	Steps []RecoveryInstanceDataReplicationInitiationStep

	noSmithyDocumentSerde
}

// Data replication initiation step.
type RecoveryInstanceDataReplicationInitiationStep struct {

	// The name of the step.
	Name RecoveryInstanceDataReplicationInitiationStepName

	// The status of the step.
	Status RecoveryInstanceDataReplicationInitiationStepStatus

	noSmithyDocumentSerde
}

// An object representing a block storage device on the Recovery Instance.
type RecoveryInstanceDisk struct {

	// The amount of storage on the disk in bytes.
	Bytes int64

	// The EBS Volume ID of this disk.
	EbsVolumeID *string

	// The internal device name of this disk. This is the name that is visible on the
	// machine itself and not from the EC2 console.
	InternalDeviceName *string

	noSmithyDocumentSerde
}

// An object representing failback related information of the Recovery Instance.
type RecoveryInstanceFailback struct {

	// The date and time the agent on the Recovery Instance was last seen by the
	// service.
	AgentLastSeenByServiceDateTime *string

	// The amount of time that the Recovery Instance has been replicating for.
	ElapsedReplicationDuration *string

	// The ID of the failback client that this Recovery Instance is associated with.
	FailbackClientID *string

	// The date and time that the failback client was last seen by the service.
	FailbackClientLastSeenByServiceDateTime *string

	// The date and time that the failback initiation started.
	FailbackInitiationTime *string

	// The Job ID of the last failback log for this Recovery Instance.
	FailbackJobID *string

	// The launch type (Recovery / Drill) of the last launch for the failback
	// replication of this recovery instance.
	FailbackLaunchType FailbackLaunchType

	// Whether we are failing back to the original Source Server for this Recovery
	// Instance.
	FailbackToOriginalServer *bool

	// The date and time of the first byte that was replicated from the Recovery
	// Instance.
	FirstByteDateTime *string

	// The state of the failback process that this Recovery Instance is in.
	State FailbackState

	noSmithyDocumentSerde
}

// Properties of the Recovery Instance machine.
type RecoveryInstanceProperties struct {

	// An array of CPUs.
	Cpus []CPU

	// An array of disks.
	Disks []RecoveryInstanceDisk

	// Hints used to uniquely identify a machine.
	IdentificationHints *IdentificationHints

	// The date and time the Recovery Instance properties were last updated on.
	LastUpdatedDateTime *string

	// An array of network interfaces.
	NetworkInterfaces []NetworkInterface

	// Operating system.
	Os *OS

	// The amount of RAM in bytes.
	RamBytes int64

	noSmithyDocumentSerde
}

// An object representing the Source Network recovery Lifecycle.
type RecoveryLifeCycle struct {

	// The date and time the last Source Network recovery was initiated.
	ApiCallDateTime *time.Time

	// The ID of the Job that was used to last recover the Source Network.
	JobID *string

	// The status of the last recovery status of this Source Network.
	LastRecoveryResult RecoveryResult

	noSmithyDocumentSerde
}

// A snapshot of a Source Server used during recovery.
type RecoverySnapshot struct {

	// The timestamp of when we expect the snapshot to be taken.
	//
	// This member is required.
	ExpectedTimestamp *string

	// The ID of the Recovery Snapshot.
	//
	// This member is required.
	SnapshotID *string

	// The ID of the Source Server that the snapshot was taken for.
	//
	// This member is required.
	SourceServerID *string

	// A list of EBS snapshots.
	EbsSnapshots []string

	// The actual timestamp that the snapshot was taken.
	Timestamp *string

	noSmithyDocumentSerde
}

// The configuration of a disk of the Source Server to be replicated.
type ReplicationConfigurationReplicatedDisk struct {

	// The name of the device.
	DeviceName *string

	// The requested number of I/O operations per second (IOPS).
	Iops int64

	// Whether to boot from this disk or not.
	IsBootDisk *bool

	// The Staging Disk EBS volume type to be used during replication when
	// stagingDiskType is set to Auto. This is a read-only field.
	OptimizedStagingDiskType ReplicationConfigurationReplicatedDiskStagingDiskType

	// The Staging Disk EBS volume type to be used during replication.
	StagingDiskType ReplicationConfigurationReplicatedDiskStagingDiskType

	// The throughput to use for the EBS volume in MiB/s. This parameter is valid only
	// for gp3 volumes.
	Throughput int64

	noSmithyDocumentSerde
}

type ReplicationConfigurationTemplate struct {

	// The Replication Configuration Template ID.
	//
	// This member is required.
	ReplicationConfigurationTemplateID *string

	// The Replication Configuration Template ARN.
	Arn *string

	// Whether to associate the default Elastic Disaster Recovery Security group with
	// the Replication Configuration Template.
	AssociateDefaultSecurityGroup *bool

	// Whether to allow the AWS replication agent to automatically replicate newly
	// added disks.
	AutoReplicateNewDisks *bool

	// Configure bandwidth throttling for the outbound data transfer rate of the
	// Source Server in Mbps.
	BandwidthThrottling int64

	// Whether to create a Public IP for the Recovery Instance by default.
	CreatePublicIP *bool

	// The data plane routing mechanism that will be used for replication.
	DataPlaneRouting ReplicationConfigurationDataPlaneRouting

	// The Staging Disk EBS volume type to be used during replication.
	DefaultLargeStagingDiskType ReplicationConfigurationDefaultLargeStagingDiskType

	// The type of EBS encryption to be used during replication.
	EbsEncryption ReplicationConfigurationEbsEncryption

	// The ARN of the EBS encryption key to be used during replication.
	EbsEncryptionKeyArn *string

	// The Point in time (PIT) policy to manage snapshots taken during replication.
	PitPolicy []PITPolicyRule

	// The instance type to be used for the replication server.
	ReplicationServerInstanceType *string

	// The security group IDs that will be used by the replication server.
	ReplicationServersSecurityGroupsIDs []string

	// The subnet to be used by the replication staging area.
	StagingAreaSubnetId *string

	// A set of tags to be associated with all resources created in the replication
	// staging area: EC2 replication server, EBS volumes, EBS snapshots, etc.
	StagingAreaTags map[string]string

	// A set of tags to be associated with the Replication Configuration Template
	// resource.
	Tags map[string]string

	// Whether to use a dedicated Replication Server in the replication staging area.
	UseDedicatedReplicationServer *bool

	noSmithyDocumentSerde
}

// Properties of the cloud environment where this Source Server originated from.
type SourceCloudProperties struct {

	// AWS Account ID for an EC2-originated Source Server.
	OriginAccountID *string

	// AWS Availability Zone for an EC2-originated Source Server.
	OriginAvailabilityZone *string

	// AWS Region for an EC2-originated Source Server.
	OriginRegion *string

	noSmithyDocumentSerde
}

// The ARN of the Source Network.
type SourceNetwork struct {

	// The ARN of the Source Network.
	Arn *string

	// CloudFormation stack name that was deployed for recovering the Source Network.
	CfnStackName *string

	// An object containing information regarding the last recovery of the Source
	// Network.
	LastRecovery *RecoveryLifeCycle

	// ID of the recovered VPC following Source Network recovery.
	LaunchedVpcID *string

	// Status of Source Network Replication. Possible values: (a) STOPPED - Source
	// Network is not replicating. (b) IN_PROGRESS - Source Network is being
	// replicated. (c) PROTECTED - Source Network was replicated successfully and is
	// being synchronized for changes. (d) ERROR - Source Network replication has
	// failed
	ReplicationStatus ReplicationStatus

	// Error details in case Source Network replication status is ERROR.
	ReplicationStatusDetails *string

	// Account ID containing the VPC protected by the Source Network.
	SourceAccountID *string

	// Source Network ID.
	SourceNetworkID *string

	// Region containing the VPC protected by the Source Network.
	SourceRegion *string

	// VPC ID protected by the Source Network.
	SourceVpcID *string

	// A list of tags associated with the Source Network.
	Tags map[string]string

	noSmithyDocumentSerde
}

// Properties of Source Network related to a job event.
type SourceNetworkData struct {

	// Source Network ID.
	SourceNetworkID *string

	// VPC ID protected by the Source Network.
	SourceVpc *string

	// CloudFormation stack name that was deployed for recovering the Source Network.
	StackName *string

	// ID of the recovered VPC following Source Network recovery.
	TargetVpc *string

	noSmithyDocumentSerde
}

// Properties of the Source Server machine.
type SourceProperties struct {

	// An array of CPUs.
	Cpus []CPU

	// An array of disks.
	Disks []Disk

	// Hints used to uniquely identify a machine.
	IdentificationHints *IdentificationHints

	// The date and time the Source Properties were last updated on.
	LastUpdatedDateTime *string

	// An array of network interfaces.
	NetworkInterfaces []NetworkInterface

	// Operating system.
	Os *OS

	// The amount of RAM in bytes.
	RamBytes int64

	// The recommended EC2 instance type that will be used when recovering the Source
	// Server.
	RecommendedInstanceType *string

	// Are EC2 nitro instance types supported when recovering the Source Server.
	SupportsNitroInstances *bool

	noSmithyDocumentSerde
}

type SourceServer struct {

	// The version of the DRS agent installed on the source server
	AgentVersion *string

	// The ARN of the Source Server.
	Arn *string

	// The Data Replication Info of the Source Server.
	DataReplicationInfo *DataReplicationInfo

	// The status of the last recovery launch of this Source Server.
	LastLaunchResult LastLaunchResult

	// The lifecycle information of this Source Server.
	LifeCycle *LifeCycle

	// The ID of the Recovery Instance associated with this Source Server.
	RecoveryInstanceId *string

	// Replication direction of the Source Server.
	ReplicationDirection ReplicationDirection

	// For EC2-originated Source Servers which have been failed over and then failed
	// back, this value will mean the ARN of the Source Server on the opposite
	// replication direction.
	ReversedDirectionSourceServerArn *string

	// Source cloud properties of the Source Server.
	SourceCloudProperties *SourceCloudProperties

	// ID of the Source Network which is protecting this Source Server's network.
	SourceNetworkID *string

	// The source properties of the Source Server.
	SourceProperties *SourceProperties

	// The ID of the Source Server.
	SourceServerID *string

	// The staging area of the source server.
	StagingArea *StagingArea

	// The tags associated with the Source Server.
	Tags map[string]string

	noSmithyDocumentSerde
}

// Staging information related to source server.
type StagingArea struct {

	// Shows an error message that occurred when DRS tried to access the staging
	// source server. In this case StagingArea$status will have value EXTENSION_ERROR
	ErrorMessage *string

	// Account ID of the account to which source server belongs. If this source server
	// is extended - shows Account ID of staging source server.
	StagingAccountID *string

	// Arn of the staging source server if this source server is extended
	StagingSourceServerArn *string

	// Status of Source server extension. Possible values: (a) NOT_EXTENDED - This is
	// a source server that is replicating in the current account. (b) EXTENDED -
	// Source server is extended from a staging source server. In this case, the value
	// of stagingSourceServerArn is pointing to the Arn of the source server in the
	// staging account. (c) EXTENSION_ERROR - Some issue occurred when accessing
	// staging source server. In this case, errorMessage field will contain an error
	// message that explains what happened.
	Status ExtensionStatus

	noSmithyDocumentSerde
}

// Source server in staging account that extended source server connected to.
type StagingSourceServer struct {

	// The ARN of the source server.
	Arn *string

	// Hostname of staging source server.
	Hostname *string

	// A list of tags associated with the staging source server.
	Tags map[string]string

	noSmithyDocumentSerde
}

// An object representing the Source Server to recover.
type StartRecoveryRequestSourceServer struct {

	// The ID of the Source Server you want to recover.
	//
	// This member is required.
	SourceServerID *string

	// The ID of a Recovery Snapshot we want to recover from. Omit this field to
	// launch from the latest data by taking an on-demand snapshot.
	RecoverySnapshotID *string

	noSmithyDocumentSerde
}

// An object representing the Source Network to recover.
type StartSourceNetworkRecoveryRequestNetworkEntry struct {

	// The ID of the Source Network you want to recover.
	//
	// This member is required.
	SourceNetworkID *string

	// CloudFormation stack name to be used for recovering the network.
	CfnStackName *string

	noSmithyDocumentSerde
}

// Validate exception field.
type ValidationExceptionField struct {

	// Validate exception field message.
	Message *string

	// Validate exception field name.
	Name *string

	noSmithyDocumentSerde
}

type noSmithyDocumentSerde = smithydocument.NoSerde

// UnknownUnionMember is returned when a union member is returned over the wire,
// but has an unknown tag.
type UnknownUnionMember struct {
	Tag   string
	Value []byte

	noSmithyDocumentSerde
}

func (*UnknownUnionMember) isEventResourceData()       {}
func (*UnknownUnionMember) isParticipatingResourceID() {}