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
|
// Code generated by smithy-go-codegen DO NOT EDIT.
package types
import (
smithydocument "github.com/aws/smithy-go/document"
"time"
)
// Details about a beta appliance software update.
type AlternateSoftwareMetadata struct {
// The appliance software version.
Version *string
noSmithyDocumentSerde
}
// An application instance on a device.
type ApplicationInstance struct {
// The application instance's ID.
ApplicationInstanceId *string
// The application instance's ARN.
Arn *string
// When the application instance was created.
CreatedTime *time.Time
// The device's ID.
DefaultRuntimeContextDevice *string
// The device's name.
DefaultRuntimeContextDeviceName *string
// The application instance's description.
Description *string
// The application instance's health status.
HealthStatus ApplicationInstanceHealthStatus
// The application instance's name.
Name *string
// The application's state.
RuntimeContextStates []ReportedRuntimeContextState
// The application instance's status.
Status ApplicationInstanceStatus
// The application instance's status description.
StatusDescription *string
// The application instance's tags.
Tags map[string]string
noSmithyDocumentSerde
}
// A conflict exception error argument.
type ConflictExceptionErrorArgument struct {
// The error argument's name.
//
// This member is required.
Name *string
// The error argument's value.
//
// This member is required.
Value *string
noSmithyDocumentSerde
}
// A device.
type Device struct {
// The device's maker.
Brand DeviceBrand
// When the device was created.
CreatedTime *time.Time
// A device's current software.
CurrentSoftware *string
// A description for the device.
Description *string
// A device's aggregated status. Including the device's connection status,
// provisioning status, and lease status.
DeviceAggregatedStatus DeviceAggregatedStatus
// The device's ID.
DeviceId *string
// When the device was updated.
LastUpdatedTime *time.Time
// A device's latest job. Includes the target image version, and the update job
// status.
LatestDeviceJob *LatestDeviceJob
// The device's lease expiration time.
LeaseExpirationTime *time.Time
// The device's name.
Name *string
// The device's provisioning status.
ProvisioningStatus DeviceStatus
// The device's tags.
Tags map[string]string
// The device's type.
Type DeviceType
noSmithyDocumentSerde
}
// A job that runs on a device.
type DeviceJob struct {
// When the job was created.
CreatedTime *time.Time
// The ID of the target device.
DeviceId *string
// The name of the target device
DeviceName *string
// The job's ID.
JobId *string
// The job's type.
JobType JobType
noSmithyDocumentSerde
}
// A job's configuration.
type DeviceJobConfig struct {
// A configuration for an over-the-air (OTA) upgrade. Required for OTA jobs.
OTAJobConfig *OTAJobConfig
noSmithyDocumentSerde
}
// A device's network configuration.
type EthernetPayload struct {
// How the device gets an IP address.
//
// This member is required.
ConnectionType ConnectionType
// Network configuration for a static IP connection.
StaticIpConnectionInfo *StaticIpConnectionInfo
noSmithyDocumentSerde
}
// A device's Ethernet status.
type EthernetStatus struct {
// The device's connection status.
ConnectionStatus NetworkConnectionStatus
// The device's physical address.
HwAddress *string
// The device's IP address.
IpAddress *string
noSmithyDocumentSerde
}
// A job for a device.
type Job struct {
// The target device's ID.
DeviceId *string
// The job's ID.
JobId *string
noSmithyDocumentSerde
}
// Tags for a job.
type JobResourceTags struct {
// The job's type.
//
// This member is required.
ResourceType JobResourceType
// The job's tags.
//
// This member is required.
Tags map[string]string
noSmithyDocumentSerde
}
// Returns information about the latest device job.
type LatestDeviceJob struct {
// The target version of the device software.
ImageVersion *string
// The job's type.
JobType JobType
// Status of the latest device job.
Status UpdateProgress
noSmithyDocumentSerde
}
// Parameter overrides for an application instance. This is a JSON document that
// has a single key ( PayloadData ) where the value is an escaped string
// representation of the overrides document.
//
// The following types satisfy this interface:
//
// ManifestOverridesPayloadMemberPayloadData
type ManifestOverridesPayload interface {
isManifestOverridesPayload()
}
// The overrides document.
type ManifestOverridesPayloadMemberPayloadData struct {
Value string
noSmithyDocumentSerde
}
func (*ManifestOverridesPayloadMemberPayloadData) isManifestOverridesPayload() {}
// A application verion's manifest file. This is a JSON document that has a single
// key ( PayloadData ) where the value is an escaped string representation of the
// application manifest ( graph.json ). This file is located in the graphs folder
// in your application source.
//
// The following types satisfy this interface:
//
// ManifestPayloadMemberPayloadData
type ManifestPayload interface {
isManifestPayload()
}
// The application manifest.
type ManifestPayloadMemberPayloadData struct {
Value string
noSmithyDocumentSerde
}
func (*ManifestPayloadMemberPayloadData) isManifestPayload() {}
// The network configuration for a device.
type NetworkPayload struct {
// Settings for Ethernet port 0.
Ethernet0 *EthernetPayload
// Settings for Ethernet port 1.
Ethernet1 *EthernetPayload
// Network time protocol (NTP) server settings.
Ntp *NtpPayload
noSmithyDocumentSerde
}
// The network status of a device.
type NetworkStatus struct {
// The status of Ethernet port 0.
Ethernet0Status *EthernetStatus
// The status of Ethernet port 1.
Ethernet1Status *EthernetStatus
// When the network status changed.
LastUpdatedTime *time.Time
// Details about a network time protocol (NTP) server connection.
NtpStatus *NtpStatus
noSmithyDocumentSerde
}
// An application node that represents a camera stream, a model, code, or output.
type Node struct {
// The node's category.
//
// This member is required.
Category NodeCategory
// When the node was created.
//
// This member is required.
CreatedTime *time.Time
// The node's name.
//
// This member is required.
Name *string
// The node's ID.
//
// This member is required.
NodeId *string
// The node's package ID.
//
// This member is required.
PackageId *string
// The node's package name.
//
// This member is required.
PackageName *string
// The node's package version.
//
// This member is required.
PackageVersion *string
// The node's patch version.
//
// This member is required.
PatchVersion *string
// The node's description.
Description *string
// The account ID of the node's owner.
OwnerAccount *string
// The node's ARN.
PackageArn *string
noSmithyDocumentSerde
}
// A job to create a camera stream node.
type NodeFromTemplateJob struct {
// When the job was created.
CreatedTime *time.Time
// The job's ID.
JobId *string
// The node's name.
NodeName *string
// The job's status.
Status NodeFromTemplateJobStatus
// The job's status message.
StatusMessage *string
// The job's template type.
TemplateType TemplateType
noSmithyDocumentSerde
}
// A node input port.
type NodeInputPort struct {
// The input port's default value.
DefaultValue *string
// The input port's description.
Description *string
// The input port's max connections.
MaxConnections int32
// The input port's name.
Name *string
// The input port's type.
Type PortType
noSmithyDocumentSerde
}
// A node instance.
type NodeInstance struct {
// The instance's current status.
//
// This member is required.
CurrentStatus NodeInstanceStatus
// The instance's ID.
//
// This member is required.
NodeInstanceId *string
// The node's ID.
NodeId *string
// The instance's name.
NodeName *string
// The instance's package name.
PackageName *string
// The instance's package patch version.
PackagePatchVersion *string
// The instance's package version.
PackageVersion *string
noSmithyDocumentSerde
}
// A node interface.
type NodeInterface struct {
// The node interface's inputs.
//
// This member is required.
Inputs []NodeInputPort
// The node interface's outputs.
//
// This member is required.
Outputs []NodeOutputPort
noSmithyDocumentSerde
}
// A node output port.
type NodeOutputPort struct {
// The output port's description.
Description *string
// The output port's name.
Name *string
// The output port's type.
Type PortType
noSmithyDocumentSerde
}
// A signal to a camera node to start or stop processing video.
type NodeSignal struct {
// The camera node's name, from the application manifest.
//
// This member is required.
NodeInstanceId *string
// The signal value.
//
// This member is required.
Signal NodeSignalValue
noSmithyDocumentSerde
}
// Network time protocol (NTP) server settings. Use this option to connect to
// local NTP servers instead of pool.ntp.org .
type NtpPayload struct {
// NTP servers to use, in order of preference.
//
// This member is required.
NtpServers []string
noSmithyDocumentSerde
}
// Details about an NTP server connection.
type NtpStatus struct {
// The connection's status.
ConnectionStatus NetworkConnectionStatus
// The IP address of the server.
IpAddress *string
// The domain name of the server.
NtpServerName *string
noSmithyDocumentSerde
}
// An over-the-air update (OTA) job configuration.
type OTAJobConfig struct {
// The target version of the device software.
//
// This member is required.
ImageVersion *string
// Whether to apply the update if it is a major version change.
AllowMajorVersionUpdate bool
noSmithyDocumentSerde
}
// The location of an output object in Amazon S3.
type OutPutS3Location struct {
// The object's bucket.
//
// This member is required.
BucketName *string
// The object's key.
//
// This member is required.
ObjectKey *string
noSmithyDocumentSerde
}
// A job to import a package version.
type PackageImportJob struct {
// When the job was created.
CreatedTime *time.Time
// The job's ID.
JobId *string
// The job's type.
JobType PackageImportJobType
// When the job was updated.
LastUpdatedTime *time.Time
// The job's status.
Status PackageImportJobStatus
// The job's status message.
StatusMessage *string
noSmithyDocumentSerde
}
// A configuration for a package import job.
type PackageImportJobInputConfig struct {
// The package version's input configuration.
PackageVersionInputConfig *PackageVersionInputConfig
noSmithyDocumentSerde
}
// Results of a package import job.
type PackageImportJobOutput struct {
// The package's output location.
//
// This member is required.
OutputS3Location *OutPutS3Location
// The package's ID.
//
// This member is required.
PackageId *string
// The package's version.
//
// This member is required.
PackageVersion *string
// The package's patch version.
//
// This member is required.
PatchVersion *string
noSmithyDocumentSerde
}
// An output configuration for a package import job.
type PackageImportJobOutputConfig struct {
// The package version's output configuration.
PackageVersionOutputConfig *PackageVersionOutputConfig
noSmithyDocumentSerde
}
// A package summary.
type PackageListItem struct {
// The package's ARN.
Arn *string
// When the package was created.
CreatedTime *time.Time
// The package's ID.
PackageId *string
// The package's name.
PackageName *string
// The package's tags.
Tags map[string]string
noSmithyDocumentSerde
}
// A package object.
type PackageObject struct {
// The object's name.
//
// This member is required.
Name *string
// The object's package version.
//
// This member is required.
PackageVersion *string
// The object's patch version.
//
// This member is required.
PatchVersion *string
noSmithyDocumentSerde
}
// A package version input configuration.
type PackageVersionInputConfig struct {
// A location in Amazon S3.
//
// This member is required.
S3Location *S3Location
noSmithyDocumentSerde
}
// A package version output configuration.
type PackageVersionOutputConfig struct {
// The output's package name.
//
// This member is required.
PackageName *string
// The output's package version.
//
// This member is required.
PackageVersion *string
// Indicates that the version is recommended for all users.
MarkLatest bool
noSmithyDocumentSerde
}
// An application instance's state.
type ReportedRuntimeContextState struct {
// The application's desired state.
//
// This member is required.
DesiredState DesiredState
// The application's reported status.
//
// This member is required.
DeviceReportedStatus DeviceReportedStatus
// When the device reported the application's state.
//
// This member is required.
DeviceReportedTime *time.Time
// The device's name.
//
// This member is required.
RuntimeContextName *string
noSmithyDocumentSerde
}
// A location in Amazon S3.
type S3Location struct {
// A bucket name.
//
// This member is required.
BucketName *string
// An object key.
//
// This member is required.
ObjectKey *string
// The bucket's Region.
Region *string
noSmithyDocumentSerde
}
// A static IP configuration.
type StaticIpConnectionInfo struct {
// The connection's default gateway.
//
// This member is required.
DefaultGateway *string
// The connection's DNS address.
//
// This member is required.
Dns []string
// The connection's IP address.
//
// This member is required.
IpAddress *string
// The connection's DNS mask.
//
// This member is required.
Mask *string
noSmithyDocumentSerde
}
// A storage location.
type StorageLocation struct {
// The location's binary prefix.
//
// This member is required.
BinaryPrefixLocation *string
// The location's bucket.
//
// This member is required.
Bucket *string
// The location's generated prefix.
//
// This member is required.
GeneratedPrefixLocation *string
// The location's manifest prefix.
//
// This member is required.
ManifestPrefixLocation *string
// The location's repo prefix.
//
// This member is required.
RepoPrefixLocation *string
noSmithyDocumentSerde
}
// A validation exception error argument.
type ValidationExceptionErrorArgument struct {
// The argument's name.
//
// This member is required.
Name *string
// The argument's value.
//
// This member is required.
Value *string
noSmithyDocumentSerde
}
// A validation exception field.
type ValidationExceptionField struct {
// The field's message.
//
// This member is required.
Message *string
// The field's name.
//
// This member is required.
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) isManifestOverridesPayload() {}
func (*UnknownUnionMember) isManifestPayload() {}
|