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
|
// Code generated by smithy-go-codegen DO NOT EDIT.
package types
import (
smithydocument "github.com/aws/smithy-go/document"
)
// 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
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 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
}
// 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 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
// 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
}
// 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
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 server participating in an asynchronous Job.
type ParticipatingServer struct {
// 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 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
// 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
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
// 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
}
// 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
// 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 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
noSmithyDocumentSerde
}
type SourceServer struct {
// 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
// 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
}
// Validate exception field.
type ValidationExceptionField struct {
// Validate exception field message.
Message *string
// Validate exception field name.
Name *string
noSmithyDocumentSerde
}
type noSmithyDocumentSerde = smithydocument.NoSerde
|