@aws-sdk/client-snow-device-management 3.687.0 → 3.692.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -45,7 +45,7 @@ export interface CancelTaskOutput {
45
45
  * <p>The ID of the task that you are attempting to cancel.</p>
46
46
  * @public
47
47
  */
48
- taskId?: string;
48
+ taskId?: string | undefined;
49
49
  }
50
50
  /**
51
51
  * <p>An unexpected error occurred while processing the request.</p>
@@ -108,27 +108,27 @@ export interface Capacity {
108
108
  * <p>The name of the type of capacity, such as memory.</p>
109
109
  * @public
110
110
  */
111
- name?: string;
111
+ name?: string | undefined;
112
112
  /**
113
113
  * <p>The unit of measure for the type of capacity.</p>
114
114
  * @public
115
115
  */
116
- unit?: string;
116
+ unit?: string | undefined;
117
117
  /**
118
118
  * <p>The total capacity on the device.</p>
119
119
  * @public
120
120
  */
121
- total?: number;
121
+ total?: number | undefined;
122
122
  /**
123
123
  * <p>The amount of capacity used on the device.</p>
124
124
  * @public
125
125
  */
126
- used?: number;
126
+ used?: number | undefined;
127
127
  /**
128
128
  * <p>The amount of capacity available for use on the device.</p>
129
129
  * @public
130
130
  */
131
- available?: number;
131
+ available?: number | undefined;
132
132
  }
133
133
  /**
134
134
  * <p>A structure used to reboot the device.</p>
@@ -193,12 +193,12 @@ export interface CpuOptions {
193
193
  * <p>The number of cores that the CPU can use.</p>
194
194
  * @public
195
195
  */
196
- coreCount?: number;
196
+ coreCount?: number | undefined;
197
197
  /**
198
198
  * <p>The number of threads per core in the CPU.</p>
199
199
  * @public
200
200
  */
201
- threadsPerCore?: number;
201
+ threadsPerCore?: number | undefined;
202
202
  }
203
203
  /**
204
204
  * @public
@@ -218,18 +218,18 @@ export interface CreateTaskInput {
218
218
  * <p>A description of the task and its targets.</p>
219
219
  * @public
220
220
  */
221
- description?: string;
221
+ description?: string | undefined;
222
222
  /**
223
223
  * <p>Optional metadata that you assign to a resource. You can use tags to categorize a resource
224
224
  * in different ways, such as by purpose, owner, or environment. </p>
225
225
  * @public
226
226
  */
227
- tags?: Record<string, string>;
227
+ tags?: Record<string, string> | undefined;
228
228
  /**
229
229
  * <p>A token ensuring that the action is called only once with the specified details.</p>
230
230
  * @public
231
231
  */
232
- clientToken?: string;
232
+ clientToken?: string | undefined;
233
233
  }
234
234
  /**
235
235
  * @public
@@ -239,12 +239,12 @@ export interface CreateTaskOutput {
239
239
  * <p>The ID of the task that you created.</p>
240
240
  * @public
241
241
  */
242
- taskId?: string;
242
+ taskId?: string | undefined;
243
243
  /**
244
244
  * <p>The Amazon Resource Name (ARN) of the task that you created.</p>
245
245
  * @public
246
246
  */
247
- taskArn?: string;
247
+ taskArn?: string | undefined;
248
248
  }
249
249
  /**
250
250
  * <p>The request would cause a service quota to be exceeded.</p>
@@ -317,39 +317,39 @@ export interface PhysicalNetworkInterface {
317
317
  * <p>The physical network interface ID.</p>
318
318
  * @public
319
319
  */
320
- physicalNetworkInterfaceId?: string;
320
+ physicalNetworkInterfaceId?: string | undefined;
321
321
  /**
322
322
  * <p>The
323
323
  * physical
324
324
  * connector type.</p>
325
325
  * @public
326
326
  */
327
- physicalConnectorType?: PhysicalConnectorType;
327
+ physicalConnectorType?: PhysicalConnectorType | undefined;
328
328
  /**
329
329
  * <p>A value that describes whether the IP address is dynamic or persistent.</p>
330
330
  * @public
331
331
  */
332
- ipAddressAssignment?: IpAddressAssignment;
332
+ ipAddressAssignment?: IpAddressAssignment | undefined;
333
333
  /**
334
334
  * <p>The IP address of the device.</p>
335
335
  * @public
336
336
  */
337
- ipAddress?: string;
337
+ ipAddress?: string | undefined;
338
338
  /**
339
339
  * <p>The netmask used to divide the IP address into subnets.</p>
340
340
  * @public
341
341
  */
342
- netmask?: string;
342
+ netmask?: string | undefined;
343
343
  /**
344
344
  * <p>The default gateway of the device.</p>
345
345
  * @public
346
346
  */
347
- defaultGateway?: string;
347
+ defaultGateway?: string | undefined;
348
348
  /**
349
349
  * <p>The MAC address of the device.</p>
350
350
  * @public
351
351
  */
352
- macAddress?: string;
352
+ macAddress?: string | undefined;
353
353
  }
354
354
  /**
355
355
  * <p>Information about the software on the device.</p>
@@ -360,18 +360,18 @@ export interface SoftwareInformation {
360
360
  * <p>The version of the software currently installed on the device.</p>
361
361
  * @public
362
362
  */
363
- installedVersion?: string;
363
+ installedVersion?: string | undefined;
364
364
  /**
365
365
  * <p>The version of the software being installed on the device.</p>
366
366
  * @public
367
367
  */
368
- installingVersion?: string;
368
+ installingVersion?: string | undefined;
369
369
  /**
370
370
  * <p>The state of the software that is installed or that is being installed on the
371
371
  * device.</p>
372
372
  * @public
373
373
  */
374
- installState?: string;
374
+ installState?: string | undefined;
375
375
  }
376
376
  /**
377
377
  * @public
@@ -382,59 +382,59 @@ export interface DescribeDeviceOutput {
382
382
  * online.</p>
383
383
  * @public
384
384
  */
385
- lastReachedOutAt?: Date;
385
+ lastReachedOutAt?: Date | undefined;
386
386
  /**
387
387
  * <p>When the device last pushed an update to the Amazon Web Services Cloud. Indicates when the device cache
388
388
  * was refreshed.</p>
389
389
  * @public
390
390
  */
391
- lastUpdatedAt?: Date;
391
+ lastUpdatedAt?: Date | undefined;
392
392
  /**
393
393
  * <p>Optional metadata that you assign to a resource. You can use tags to categorize a resource
394
394
  * in different ways, such as by purpose, owner, or environment. </p>
395
395
  * @public
396
396
  */
397
- tags?: Record<string, string>;
397
+ tags?: Record<string, string> | undefined;
398
398
  /**
399
399
  * <p>The ID of the device that you checked the information for.</p>
400
400
  * @public
401
401
  */
402
- managedDeviceId?: string;
402
+ managedDeviceId?: string | undefined;
403
403
  /**
404
404
  * <p>The Amazon Resource Name (ARN) of the device.</p>
405
405
  * @public
406
406
  */
407
- managedDeviceArn?: string;
407
+ managedDeviceArn?: string | undefined;
408
408
  /**
409
409
  * <p>The type of Amazon Web Services Snow Family device.</p>
410
410
  * @public
411
411
  */
412
- deviceType?: string;
412
+ deviceType?: string | undefined;
413
413
  /**
414
414
  * <p>The ID of the job used when ordering the device.</p>
415
415
  * @public
416
416
  */
417
- associatedWithJob?: string;
417
+ associatedWithJob?: string | undefined;
418
418
  /**
419
419
  * <p>The current state of the device.</p>
420
420
  * @public
421
421
  */
422
- deviceState?: UnlockState;
422
+ deviceState?: UnlockState | undefined;
423
423
  /**
424
424
  * <p>The network interfaces available on the device.</p>
425
425
  * @public
426
426
  */
427
- physicalNetworkInterfaces?: PhysicalNetworkInterface[];
427
+ physicalNetworkInterfaces?: PhysicalNetworkInterface[] | undefined;
428
428
  /**
429
429
  * <p>The hardware specifications of the device. </p>
430
430
  * @public
431
431
  */
432
- deviceCapacities?: Capacity[];
432
+ deviceCapacities?: Capacity[] | undefined;
433
433
  /**
434
434
  * <p>The software installed on the device.</p>
435
435
  * @public
436
436
  */
437
- software?: SoftwareInformation;
437
+ software?: SoftwareInformation | undefined;
438
438
  }
439
439
  /**
440
440
  * @public
@@ -461,22 +461,22 @@ export interface EbsInstanceBlockDevice {
461
461
  * <p>When the attachment was initiated.</p>
462
462
  * @public
463
463
  */
464
- attachTime?: Date;
464
+ attachTime?: Date | undefined;
465
465
  /**
466
466
  * <p>A value that indicates whether the volume is deleted on instance termination.</p>
467
467
  * @public
468
468
  */
469
- deleteOnTermination?: boolean;
469
+ deleteOnTermination?: boolean | undefined;
470
470
  /**
471
471
  * <p>The attachment state.</p>
472
472
  * @public
473
473
  */
474
- status?: AttachmentStatus;
474
+ status?: AttachmentStatus | undefined;
475
475
  /**
476
476
  * <p>The ID of the Amazon EBS volume.</p>
477
477
  * @public
478
478
  */
479
- volumeId?: string;
479
+ volumeId?: string | undefined;
480
480
  }
481
481
  /**
482
482
  * <p>The description of a block device mapping.</p>
@@ -487,13 +487,13 @@ export interface InstanceBlockDeviceMapping {
487
487
  * <p>The block device name.</p>
488
488
  * @public
489
489
  */
490
- deviceName?: string;
490
+ deviceName?: string | undefined;
491
491
  /**
492
492
  * <p>The parameters used to automatically set up Amazon Elastic Block Store (Amazon EBS)
493
493
  * volumes when the instance is launched. </p>
494
494
  * @public
495
495
  */
496
- ebs?: EbsInstanceBlockDevice;
496
+ ebs?: EbsInstanceBlockDevice | undefined;
497
497
  }
498
498
  /**
499
499
  * <p>Information about the device's security group.</p>
@@ -504,12 +504,12 @@ export interface SecurityGroupIdentifier {
504
504
  * <p>The security group ID.</p>
505
505
  * @public
506
506
  */
507
- groupId?: string;
507
+ groupId?: string | undefined;
508
508
  /**
509
509
  * <p>The security group name.</p>
510
510
  * @public
511
511
  */
512
- groupName?: string;
512
+ groupName?: string | undefined;
513
513
  }
514
514
  /**
515
515
  * @public
@@ -577,14 +577,14 @@ export interface InstanceState {
577
577
  * decimal. </p>
578
578
  * @public
579
579
  */
580
- code?: number;
580
+ code?: number | undefined;
581
581
  /**
582
582
  * <p>The current
583
583
  * state
584
584
  * of the instance.</p>
585
585
  * @public
586
586
  */
587
- name?: InstanceStateName;
587
+ name?: InstanceStateName | undefined;
588
588
  }
589
589
  /**
590
590
  * <p>The description of an
@@ -597,68 +597,68 @@ export interface Instance {
597
597
  * <p>The ID of the AMI used to launch the instance.</p>
598
598
  * @public
599
599
  */
600
- imageId?: string;
600
+ imageId?: string | undefined;
601
601
  /**
602
602
  * <p>The Amazon Machine Image (AMI) launch index, which you can use to find this instance in
603
603
  * the launch group. </p>
604
604
  * @public
605
605
  */
606
- amiLaunchIndex?: number;
606
+ amiLaunchIndex?: number | undefined;
607
607
  /**
608
608
  * <p>The ID of the instance.</p>
609
609
  * @public
610
610
  */
611
- instanceId?: string;
611
+ instanceId?: string | undefined;
612
612
  /**
613
613
  * <p>The description of the current state of an instance.</p>
614
614
  * @public
615
615
  */
616
- state?: InstanceState;
616
+ state?: InstanceState | undefined;
617
617
  /**
618
618
  * <p>The instance type.</p>
619
619
  * @public
620
620
  */
621
- instanceType?: string;
621
+ instanceType?: string | undefined;
622
622
  /**
623
623
  * <p>The private IPv4 address assigned to the instance.</p>
624
624
  * @public
625
625
  */
626
- privateIpAddress?: string;
626
+ privateIpAddress?: string | undefined;
627
627
  /**
628
628
  * <p>The public IPv4 address assigned to the instance.</p>
629
629
  * @public
630
630
  */
631
- publicIpAddress?: string;
631
+ publicIpAddress?: string | undefined;
632
632
  /**
633
633
  * <p>When the instance was created.</p>
634
634
  * @public
635
635
  */
636
- createdAt?: Date;
636
+ createdAt?: Date | undefined;
637
637
  /**
638
638
  * <p>When the instance was last updated.</p>
639
639
  * @public
640
640
  */
641
- updatedAt?: Date;
641
+ updatedAt?: Date | undefined;
642
642
  /**
643
643
  * <p>Any block device mapping entries for the instance.</p>
644
644
  * @public
645
645
  */
646
- blockDeviceMappings?: InstanceBlockDeviceMapping[];
646
+ blockDeviceMappings?: InstanceBlockDeviceMapping[] | undefined;
647
647
  /**
648
648
  * <p>The security groups for the instance.</p>
649
649
  * @public
650
650
  */
651
- securityGroups?: SecurityGroupIdentifier[];
651
+ securityGroups?: SecurityGroupIdentifier[] | undefined;
652
652
  /**
653
653
  * <p>The CPU options for the instance.</p>
654
654
  * @public
655
655
  */
656
- cpuOptions?: CpuOptions;
656
+ cpuOptions?: CpuOptions | undefined;
657
657
  /**
658
658
  * <p>The device name of the root device volume (for example, <code>/dev/sda1</code>). </p>
659
659
  * @public
660
660
  */
661
- rootDeviceName?: string;
661
+ rootDeviceName?: string | undefined;
662
662
  }
663
663
  /**
664
664
  * <p>The details about the instance.</p>
@@ -669,12 +669,12 @@ export interface InstanceSummary {
669
669
  * <p>A structure containing details about the instance.</p>
670
670
  * @public
671
671
  */
672
- instance?: Instance;
672
+ instance?: Instance | undefined;
673
673
  /**
674
674
  * <p>When the instance summary was last updated.</p>
675
675
  * @public
676
676
  */
677
- lastUpdatedAt?: Date;
677
+ lastUpdatedAt?: Date | undefined;
678
678
  }
679
679
  /**
680
680
  * @public
@@ -684,7 +684,7 @@ export interface DescribeDeviceEc2Output {
684
684
  * <p>A list of structures containing information about each instance. </p>
685
685
  * @public
686
686
  */
687
- instances?: InstanceSummary[];
687
+ instances?: InstanceSummary[] | undefined;
688
688
  }
689
689
  /**
690
690
  * @public
@@ -726,32 +726,32 @@ export interface DescribeExecutionOutput {
726
726
  * <p>The ID of the task being executed on the device.</p>
727
727
  * @public
728
728
  */
729
- taskId?: string;
729
+ taskId?: string | undefined;
730
730
  /**
731
731
  * <p>The ID of the execution.</p>
732
732
  * @public
733
733
  */
734
- executionId?: string;
734
+ executionId?: string | undefined;
735
735
  /**
736
736
  * <p>The ID of the managed device that the task is being executed on.</p>
737
737
  * @public
738
738
  */
739
- managedDeviceId?: string;
739
+ managedDeviceId?: string | undefined;
740
740
  /**
741
741
  * <p>The current state of the execution.</p>
742
742
  * @public
743
743
  */
744
- state?: ExecutionState;
744
+ state?: ExecutionState | undefined;
745
745
  /**
746
746
  * <p>When the execution began.</p>
747
747
  * @public
748
748
  */
749
- startedAt?: Date;
749
+ startedAt?: Date | undefined;
750
750
  /**
751
751
  * <p>When the status of the execution was last updated.</p>
752
752
  * @public
753
753
  */
754
- lastUpdatedAt?: Date;
754
+ lastUpdatedAt?: Date | undefined;
755
755
  }
756
756
  /**
757
757
  * @public
@@ -784,48 +784,48 @@ export interface DescribeTaskOutput {
784
784
  * <p>The ID of the task.</p>
785
785
  * @public
786
786
  */
787
- taskId?: string;
787
+ taskId?: string | undefined;
788
788
  /**
789
789
  * <p>The Amazon Resource Name (ARN) of the task.</p>
790
790
  * @public
791
791
  */
792
- taskArn?: string;
792
+ taskArn?: string | undefined;
793
793
  /**
794
794
  * <p>The managed devices that the task was sent to.</p>
795
795
  * @public
796
796
  */
797
- targets?: string[];
797
+ targets?: string[] | undefined;
798
798
  /**
799
799
  * <p>The current state of the task.</p>
800
800
  * @public
801
801
  */
802
- state?: TaskState;
802
+ state?: TaskState | undefined;
803
803
  /**
804
804
  * <p>When the <code>CreateTask</code> operation was called.</p>
805
805
  * @public
806
806
  */
807
- createdAt?: Date;
807
+ createdAt?: Date | undefined;
808
808
  /**
809
809
  * <p>When the state of the task was last updated.</p>
810
810
  * @public
811
811
  */
812
- lastUpdatedAt?: Date;
812
+ lastUpdatedAt?: Date | undefined;
813
813
  /**
814
814
  * <p>When the task was completed.</p>
815
815
  * @public
816
816
  */
817
- completedAt?: Date;
817
+ completedAt?: Date | undefined;
818
818
  /**
819
819
  * <p>The description provided of the task and managed devices.</p>
820
820
  * @public
821
821
  */
822
- description?: string;
822
+ description?: string | undefined;
823
823
  /**
824
824
  * <p>Optional metadata that you assign to a resource. You can use tags to categorize a resource
825
825
  * in different ways, such as by purpose, owner, or environment.</p>
826
826
  * @public
827
827
  */
828
- tags?: Record<string, string>;
828
+ tags?: Record<string, string> | undefined;
829
829
  }
830
830
  /**
831
831
  * <p>Identifying information about the device.</p>
@@ -836,23 +836,23 @@ export interface DeviceSummary {
836
836
  * <p>The ID of the device.</p>
837
837
  * @public
838
838
  */
839
- managedDeviceId?: string;
839
+ managedDeviceId?: string | undefined;
840
840
  /**
841
841
  * <p>The Amazon Resource Name (ARN) of the device.</p>
842
842
  * @public
843
843
  */
844
- managedDeviceArn?: string;
844
+ managedDeviceArn?: string | undefined;
845
845
  /**
846
846
  * <p>The ID of the job used to order the device.</p>
847
847
  * @public
848
848
  */
849
- associatedWithJob?: string;
849
+ associatedWithJob?: string | undefined;
850
850
  /**
851
851
  * <p>Optional metadata that you assign to a resource. You can use tags to categorize a resource
852
852
  * in different ways, such as by purpose, owner, or environment.</p>
853
853
  * @public
854
854
  */
855
- tags?: Record<string, string>;
855
+ tags?: Record<string, string> | undefined;
856
856
  }
857
857
  /**
858
858
  * @public
@@ -867,17 +867,17 @@ export interface ListExecutionsInput {
867
867
  * <p>A structure used to filter the tasks by their current state.</p>
868
868
  * @public
869
869
  */
870
- state?: ExecutionState;
870
+ state?: ExecutionState | undefined;
871
871
  /**
872
872
  * <p>The maximum number of tasks to list per page.</p>
873
873
  * @public
874
874
  */
875
- maxResults?: number;
875
+ maxResults?: number | undefined;
876
876
  /**
877
877
  * <p>A pagination token to continue to the next page of tasks.</p>
878
878
  * @public
879
879
  */
880
- nextToken?: string;
880
+ nextToken?: string | undefined;
881
881
  }
882
882
  /**
883
883
  * <p>The summary of a task execution on a specified device.</p>
@@ -888,22 +888,22 @@ export interface ExecutionSummary {
888
888
  * <p>The ID of the task.</p>
889
889
  * @public
890
890
  */
891
- taskId?: string;
891
+ taskId?: string | undefined;
892
892
  /**
893
893
  * <p>The ID of the execution.</p>
894
894
  * @public
895
895
  */
896
- executionId?: string;
896
+ executionId?: string | undefined;
897
897
  /**
898
898
  * <p>The ID of the managed device that the task is being executed on.</p>
899
899
  * @public
900
900
  */
901
- managedDeviceId?: string;
901
+ managedDeviceId?: string | undefined;
902
902
  /**
903
903
  * <p>The state of the execution.</p>
904
904
  * @public
905
905
  */
906
- state?: ExecutionState;
906
+ state?: ExecutionState | undefined;
907
907
  }
908
908
  /**
909
909
  * @public
@@ -914,12 +914,12 @@ export interface ListExecutionsOutput {
914
914
  * executing on, the execution ID, and the status of the execution.</p>
915
915
  * @public
916
916
  */
917
- executions?: ExecutionSummary[];
917
+ executions?: ExecutionSummary[] | undefined;
918
918
  /**
919
919
  * <p>A pagination token to continue to the next page of executions.</p>
920
920
  * @public
921
921
  */
922
- nextToken?: string;
922
+ nextToken?: string | undefined;
923
923
  }
924
924
  /**
925
925
  * @public
@@ -934,17 +934,17 @@ export interface ListDeviceResourcesInput {
934
934
  * <p>A structure used to filter the results by type of resource.</p>
935
935
  * @public
936
936
  */
937
- type?: string;
937
+ type?: string | undefined;
938
938
  /**
939
939
  * <p>The maximum number of resources per page.</p>
940
940
  * @public
941
941
  */
942
- maxResults?: number;
942
+ maxResults?: number | undefined;
943
943
  /**
944
944
  * <p>A pagination token to continue to the next page of results.</p>
945
945
  * @public
946
946
  */
947
- nextToken?: string;
947
+ nextToken?: string | undefined;
948
948
  }
949
949
  /**
950
950
  * <p>A summary of a resource available on the device.</p>
@@ -960,12 +960,12 @@ export interface ResourceSummary {
960
960
  * <p>The Amazon Resource Name (ARN) of the resource.</p>
961
961
  * @public
962
962
  */
963
- arn?: string;
963
+ arn?: string | undefined;
964
964
  /**
965
965
  * <p>The ID of the resource.</p>
966
966
  * @public
967
967
  */
968
- id?: string;
968
+ id?: string | undefined;
969
969
  }
970
970
  /**
971
971
  * @public
@@ -975,12 +975,12 @@ export interface ListDeviceResourcesOutput {
975
975
  * <p>A structure defining the resource's type, Amazon Resource Name (ARN), and ID.</p>
976
976
  * @public
977
977
  */
978
- resources?: ResourceSummary[];
978
+ resources?: ResourceSummary[] | undefined;
979
979
  /**
980
980
  * <p>A pagination token to continue to the next page of results.</p>
981
981
  * @public
982
982
  */
983
- nextToken?: string;
983
+ nextToken?: string | undefined;
984
984
  }
985
985
  /**
986
986
  * @public
@@ -990,17 +990,17 @@ export interface ListDevicesInput {
990
990
  * <p>The ID of the job used to order the device.</p>
991
991
  * @public
992
992
  */
993
- jobId?: string;
993
+ jobId?: string | undefined;
994
994
  /**
995
995
  * <p>The maximum number of devices to list per page.</p>
996
996
  * @public
997
997
  */
998
- maxResults?: number;
998
+ maxResults?: number | undefined;
999
999
  /**
1000
1000
  * <p>A pagination token to continue to the next page of results.</p>
1001
1001
  * @public
1002
1002
  */
1003
- nextToken?: string;
1003
+ nextToken?: string | undefined;
1004
1004
  }
1005
1005
  /**
1006
1006
  * @public
@@ -1010,12 +1010,12 @@ export interface ListDevicesOutput {
1010
1010
  * <p>A list of device structures that contain information about the device.</p>
1011
1011
  * @public
1012
1012
  */
1013
- devices?: DeviceSummary[];
1013
+ devices?: DeviceSummary[] | undefined;
1014
1014
  /**
1015
1015
  * <p>A pagination token to continue to the next page of devices.</p>
1016
1016
  * @public
1017
1017
  */
1018
- nextToken?: string;
1018
+ nextToken?: string | undefined;
1019
1019
  }
1020
1020
  /**
1021
1021
  * @public
@@ -1035,7 +1035,7 @@ export interface ListTagsForResourceOutput {
1035
1035
  * <p>The list of tags for the device or task.</p>
1036
1036
  * @public
1037
1037
  */
1038
- tags?: Record<string, string>;
1038
+ tags?: Record<string, string> | undefined;
1039
1039
  }
1040
1040
  /**
1041
1041
  * @public
@@ -1045,17 +1045,17 @@ export interface ListTasksInput {
1045
1045
  * <p>A structure used to filter the list of tasks.</p>
1046
1046
  * @public
1047
1047
  */
1048
- state?: TaskState;
1048
+ state?: TaskState | undefined;
1049
1049
  /**
1050
1050
  * <p>The maximum number of tasks per page.</p>
1051
1051
  * @public
1052
1052
  */
1053
- maxResults?: number;
1053
+ maxResults?: number | undefined;
1054
1054
  /**
1055
1055
  * <p>A pagination token to continue to the next page of tasks.</p>
1056
1056
  * @public
1057
1057
  */
1058
- nextToken?: string;
1058
+ nextToken?: string | undefined;
1059
1059
  }
1060
1060
  /**
1061
1061
  * <p>Information about the task assigned to one or many devices.</p>
@@ -1071,18 +1071,18 @@ export interface TaskSummary {
1071
1071
  * <p>The Amazon Resource Name (ARN) of the task.</p>
1072
1072
  * @public
1073
1073
  */
1074
- taskArn?: string;
1074
+ taskArn?: string | undefined;
1075
1075
  /**
1076
1076
  * <p>The state of the task assigned to one or many devices.</p>
1077
1077
  * @public
1078
1078
  */
1079
- state?: TaskState;
1079
+ state?: TaskState | undefined;
1080
1080
  /**
1081
1081
  * <p>Optional metadata that you assign to a resource. You can use tags to categorize a resource
1082
1082
  * in different ways, such as by purpose, owner, or environment.</p>
1083
1083
  * @public
1084
1084
  */
1085
- tags?: Record<string, string>;
1085
+ tags?: Record<string, string> | undefined;
1086
1086
  }
1087
1087
  /**
1088
1088
  * @public
@@ -1092,12 +1092,12 @@ export interface ListTasksOutput {
1092
1092
  * <p>A list of task structures containing details about each task.</p>
1093
1093
  * @public
1094
1094
  */
1095
- tasks?: TaskSummary[];
1095
+ tasks?: TaskSummary[] | undefined;
1096
1096
  /**
1097
1097
  * <p>A pagination token to continue to the next page of tasks.</p>
1098
1098
  * @public
1099
1099
  */
1100
- nextToken?: string;
1100
+ nextToken?: string | undefined;
1101
1101
  }
1102
1102
  /**
1103
1103
  * @public
@@ -19,7 +19,7 @@ export interface CancelTaskInput {
19
19
  taskId: string | undefined;
20
20
  }
21
21
  export interface CancelTaskOutput {
22
- taskId?: string;
22
+ taskId?: string | undefined;
23
23
  }
24
24
  export declare class InternalServerException extends __BaseException {
25
25
  readonly name: "InternalServerException";
@@ -54,11 +54,11 @@ export declare class ValidationException extends __BaseException {
54
54
  );
55
55
  }
56
56
  export interface Capacity {
57
- name?: string;
58
- unit?: string;
59
- total?: number;
60
- used?: number;
61
- available?: number;
57
+ name?: string | undefined;
58
+ unit?: string | undefined;
59
+ total?: number | undefined;
60
+ used?: number | undefined;
61
+ available?: number | undefined;
62
62
  }
63
63
  export interface Reboot {}
64
64
  export interface Unlock {}
@@ -90,19 +90,19 @@ export declare namespace Command {
90
90
  const visit: <T>(value: Command, visitor: Visitor<T>) => T;
91
91
  }
92
92
  export interface CpuOptions {
93
- coreCount?: number;
94
- threadsPerCore?: number;
93
+ coreCount?: number | undefined;
94
+ threadsPerCore?: number | undefined;
95
95
  }
96
96
  export interface CreateTaskInput {
97
97
  targets: string[] | undefined;
98
98
  command: Command | undefined;
99
- description?: string;
100
- tags?: Record<string, string>;
101
- clientToken?: string;
99
+ description?: string | undefined;
100
+ tags?: Record<string, string> | undefined;
101
+ clientToken?: string | undefined;
102
102
  }
103
103
  export interface CreateTaskOutput {
104
- taskId?: string;
105
- taskArn?: string;
104
+ taskId?: string | undefined;
105
+ taskArn?: string | undefined;
106
106
  }
107
107
  export declare class ServiceQuotaExceededException extends __BaseException {
108
108
  readonly name: "ServiceQuotaExceededException";
@@ -136,49 +136,49 @@ export declare const PhysicalConnectorType: {
136
136
  export type PhysicalConnectorType =
137
137
  (typeof PhysicalConnectorType)[keyof typeof PhysicalConnectorType];
138
138
  export interface PhysicalNetworkInterface {
139
- physicalNetworkInterfaceId?: string;
140
- physicalConnectorType?: PhysicalConnectorType;
141
- ipAddressAssignment?: IpAddressAssignment;
142
- ipAddress?: string;
143
- netmask?: string;
144
- defaultGateway?: string;
145
- macAddress?: string;
139
+ physicalNetworkInterfaceId?: string | undefined;
140
+ physicalConnectorType?: PhysicalConnectorType | undefined;
141
+ ipAddressAssignment?: IpAddressAssignment | undefined;
142
+ ipAddress?: string | undefined;
143
+ netmask?: string | undefined;
144
+ defaultGateway?: string | undefined;
145
+ macAddress?: string | undefined;
146
146
  }
147
147
  export interface SoftwareInformation {
148
- installedVersion?: string;
149
- installingVersion?: string;
150
- installState?: string;
148
+ installedVersion?: string | undefined;
149
+ installingVersion?: string | undefined;
150
+ installState?: string | undefined;
151
151
  }
152
152
  export interface DescribeDeviceOutput {
153
- lastReachedOutAt?: Date;
154
- lastUpdatedAt?: Date;
155
- tags?: Record<string, string>;
156
- managedDeviceId?: string;
157
- managedDeviceArn?: string;
158
- deviceType?: string;
159
- associatedWithJob?: string;
160
- deviceState?: UnlockState;
161
- physicalNetworkInterfaces?: PhysicalNetworkInterface[];
162
- deviceCapacities?: Capacity[];
163
- software?: SoftwareInformation;
153
+ lastReachedOutAt?: Date | undefined;
154
+ lastUpdatedAt?: Date | undefined;
155
+ tags?: Record<string, string> | undefined;
156
+ managedDeviceId?: string | undefined;
157
+ managedDeviceArn?: string | undefined;
158
+ deviceType?: string | undefined;
159
+ associatedWithJob?: string | undefined;
160
+ deviceState?: UnlockState | undefined;
161
+ physicalNetworkInterfaces?: PhysicalNetworkInterface[] | undefined;
162
+ deviceCapacities?: Capacity[] | undefined;
163
+ software?: SoftwareInformation | undefined;
164
164
  }
165
165
  export interface DescribeDeviceEc2Input {
166
166
  managedDeviceId: string | undefined;
167
167
  instanceIds: string[] | undefined;
168
168
  }
169
169
  export interface EbsInstanceBlockDevice {
170
- attachTime?: Date;
171
- deleteOnTermination?: boolean;
172
- status?: AttachmentStatus;
173
- volumeId?: string;
170
+ attachTime?: Date | undefined;
171
+ deleteOnTermination?: boolean | undefined;
172
+ status?: AttachmentStatus | undefined;
173
+ volumeId?: string | undefined;
174
174
  }
175
175
  export interface InstanceBlockDeviceMapping {
176
- deviceName?: string;
177
- ebs?: EbsInstanceBlockDevice;
176
+ deviceName?: string | undefined;
177
+ ebs?: EbsInstanceBlockDevice | undefined;
178
178
  }
179
179
  export interface SecurityGroupIdentifier {
180
- groupId?: string;
181
- groupName?: string;
180
+ groupId?: string | undefined;
181
+ groupName?: string | undefined;
182
182
  }
183
183
  export declare const InstanceStateName: {
184
184
  readonly PENDING: "PENDING";
@@ -191,30 +191,30 @@ export declare const InstanceStateName: {
191
191
  export type InstanceStateName =
192
192
  (typeof InstanceStateName)[keyof typeof InstanceStateName];
193
193
  export interface InstanceState {
194
- code?: number;
195
- name?: InstanceStateName;
194
+ code?: number | undefined;
195
+ name?: InstanceStateName | undefined;
196
196
  }
197
197
  export interface Instance {
198
- imageId?: string;
199
- amiLaunchIndex?: number;
200
- instanceId?: string;
201
- state?: InstanceState;
202
- instanceType?: string;
203
- privateIpAddress?: string;
204
- publicIpAddress?: string;
205
- createdAt?: Date;
206
- updatedAt?: Date;
207
- blockDeviceMappings?: InstanceBlockDeviceMapping[];
208
- securityGroups?: SecurityGroupIdentifier[];
209
- cpuOptions?: CpuOptions;
210
- rootDeviceName?: string;
198
+ imageId?: string | undefined;
199
+ amiLaunchIndex?: number | undefined;
200
+ instanceId?: string | undefined;
201
+ state?: InstanceState | undefined;
202
+ instanceType?: string | undefined;
203
+ privateIpAddress?: string | undefined;
204
+ publicIpAddress?: string | undefined;
205
+ createdAt?: Date | undefined;
206
+ updatedAt?: Date | undefined;
207
+ blockDeviceMappings?: InstanceBlockDeviceMapping[] | undefined;
208
+ securityGroups?: SecurityGroupIdentifier[] | undefined;
209
+ cpuOptions?: CpuOptions | undefined;
210
+ rootDeviceName?: string | undefined;
211
211
  }
212
212
  export interface InstanceSummary {
213
- instance?: Instance;
214
- lastUpdatedAt?: Date;
213
+ instance?: Instance | undefined;
214
+ lastUpdatedAt?: Date | undefined;
215
215
  }
216
216
  export interface DescribeDeviceEc2Output {
217
- instances?: InstanceSummary[];
217
+ instances?: InstanceSummary[] | undefined;
218
218
  }
219
219
  export interface DescribeExecutionInput {
220
220
  taskId: string | undefined;
@@ -232,12 +232,12 @@ export declare const ExecutionState: {
232
232
  export type ExecutionState =
233
233
  (typeof ExecutionState)[keyof typeof ExecutionState];
234
234
  export interface DescribeExecutionOutput {
235
- taskId?: string;
236
- executionId?: string;
237
- managedDeviceId?: string;
238
- state?: ExecutionState;
239
- startedAt?: Date;
240
- lastUpdatedAt?: Date;
235
+ taskId?: string | undefined;
236
+ executionId?: string | undefined;
237
+ managedDeviceId?: string | undefined;
238
+ state?: ExecutionState | undefined;
239
+ startedAt?: Date | undefined;
240
+ lastUpdatedAt?: Date | undefined;
241
241
  }
242
242
  export interface DescribeTaskInput {
243
243
  taskId: string | undefined;
@@ -249,82 +249,82 @@ export declare const TaskState: {
249
249
  };
250
250
  export type TaskState = (typeof TaskState)[keyof typeof TaskState];
251
251
  export interface DescribeTaskOutput {
252
- taskId?: string;
253
- taskArn?: string;
254
- targets?: string[];
255
- state?: TaskState;
256
- createdAt?: Date;
257
- lastUpdatedAt?: Date;
258
- completedAt?: Date;
259
- description?: string;
260
- tags?: Record<string, string>;
252
+ taskId?: string | undefined;
253
+ taskArn?: string | undefined;
254
+ targets?: string[] | undefined;
255
+ state?: TaskState | undefined;
256
+ createdAt?: Date | undefined;
257
+ lastUpdatedAt?: Date | undefined;
258
+ completedAt?: Date | undefined;
259
+ description?: string | undefined;
260
+ tags?: Record<string, string> | undefined;
261
261
  }
262
262
  export interface DeviceSummary {
263
- managedDeviceId?: string;
264
- managedDeviceArn?: string;
265
- associatedWithJob?: string;
266
- tags?: Record<string, string>;
263
+ managedDeviceId?: string | undefined;
264
+ managedDeviceArn?: string | undefined;
265
+ associatedWithJob?: string | undefined;
266
+ tags?: Record<string, string> | undefined;
267
267
  }
268
268
  export interface ListExecutionsInput {
269
269
  taskId: string | undefined;
270
- state?: ExecutionState;
271
- maxResults?: number;
272
- nextToken?: string;
270
+ state?: ExecutionState | undefined;
271
+ maxResults?: number | undefined;
272
+ nextToken?: string | undefined;
273
273
  }
274
274
  export interface ExecutionSummary {
275
- taskId?: string;
276
- executionId?: string;
277
- managedDeviceId?: string;
278
- state?: ExecutionState;
275
+ taskId?: string | undefined;
276
+ executionId?: string | undefined;
277
+ managedDeviceId?: string | undefined;
278
+ state?: ExecutionState | undefined;
279
279
  }
280
280
  export interface ListExecutionsOutput {
281
- executions?: ExecutionSummary[];
282
- nextToken?: string;
281
+ executions?: ExecutionSummary[] | undefined;
282
+ nextToken?: string | undefined;
283
283
  }
284
284
  export interface ListDeviceResourcesInput {
285
285
  managedDeviceId: string | undefined;
286
- type?: string;
287
- maxResults?: number;
288
- nextToken?: string;
286
+ type?: string | undefined;
287
+ maxResults?: number | undefined;
288
+ nextToken?: string | undefined;
289
289
  }
290
290
  export interface ResourceSummary {
291
291
  resourceType: string | undefined;
292
- arn?: string;
293
- id?: string;
292
+ arn?: string | undefined;
293
+ id?: string | undefined;
294
294
  }
295
295
  export interface ListDeviceResourcesOutput {
296
- resources?: ResourceSummary[];
297
- nextToken?: string;
296
+ resources?: ResourceSummary[] | undefined;
297
+ nextToken?: string | undefined;
298
298
  }
299
299
  export interface ListDevicesInput {
300
- jobId?: string;
301
- maxResults?: number;
302
- nextToken?: string;
300
+ jobId?: string | undefined;
301
+ maxResults?: number | undefined;
302
+ nextToken?: string | undefined;
303
303
  }
304
304
  export interface ListDevicesOutput {
305
- devices?: DeviceSummary[];
306
- nextToken?: string;
305
+ devices?: DeviceSummary[] | undefined;
306
+ nextToken?: string | undefined;
307
307
  }
308
308
  export interface ListTagsForResourceInput {
309
309
  resourceArn: string | undefined;
310
310
  }
311
311
  export interface ListTagsForResourceOutput {
312
- tags?: Record<string, string>;
312
+ tags?: Record<string, string> | undefined;
313
313
  }
314
314
  export interface ListTasksInput {
315
- state?: TaskState;
316
- maxResults?: number;
317
- nextToken?: string;
315
+ state?: TaskState | undefined;
316
+ maxResults?: number | undefined;
317
+ nextToken?: string | undefined;
318
318
  }
319
319
  export interface TaskSummary {
320
320
  taskId: string | undefined;
321
- taskArn?: string;
322
- state?: TaskState;
323
- tags?: Record<string, string>;
321
+ taskArn?: string | undefined;
322
+ state?: TaskState | undefined;
323
+ tags?: Record<string, string> | undefined;
324
324
  }
325
325
  export interface ListTasksOutput {
326
- tasks?: TaskSummary[];
327
- nextToken?: string;
326
+ tasks?: TaskSummary[] | undefined;
327
+ nextToken?: string | undefined;
328
328
  }
329
329
  export interface TagResourceInput {
330
330
  resourceArn: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-snow-device-management",
3
3
  "description": "AWS SDK for JavaScript Snow Device Management Client for Node.js, Browser and React Native",
4
- "version": "3.687.0",
4
+ "version": "3.692.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-snow-device-management",
@@ -20,43 +20,43 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.687.0",
24
- "@aws-sdk/client-sts": "3.687.0",
25
- "@aws-sdk/core": "3.686.0",
26
- "@aws-sdk/credential-provider-node": "3.687.0",
27
- "@aws-sdk/middleware-host-header": "3.686.0",
28
- "@aws-sdk/middleware-logger": "3.686.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.686.0",
30
- "@aws-sdk/middleware-user-agent": "3.687.0",
31
- "@aws-sdk/region-config-resolver": "3.686.0",
32
- "@aws-sdk/types": "3.686.0",
33
- "@aws-sdk/util-endpoints": "3.686.0",
34
- "@aws-sdk/util-user-agent-browser": "3.686.0",
35
- "@aws-sdk/util-user-agent-node": "3.687.0",
36
- "@smithy/config-resolver": "^3.0.10",
37
- "@smithy/core": "^2.5.1",
38
- "@smithy/fetch-http-handler": "^4.0.0",
39
- "@smithy/hash-node": "^3.0.8",
40
- "@smithy/invalid-dependency": "^3.0.8",
41
- "@smithy/middleware-content-length": "^3.0.10",
42
- "@smithy/middleware-endpoint": "^3.2.1",
43
- "@smithy/middleware-retry": "^3.0.25",
44
- "@smithy/middleware-serde": "^3.0.8",
45
- "@smithy/middleware-stack": "^3.0.8",
46
- "@smithy/node-config-provider": "^3.1.9",
47
- "@smithy/node-http-handler": "^3.2.5",
48
- "@smithy/protocol-http": "^4.1.5",
49
- "@smithy/smithy-client": "^3.4.2",
50
- "@smithy/types": "^3.6.0",
51
- "@smithy/url-parser": "^3.0.8",
23
+ "@aws-sdk/client-sso-oidc": "3.692.0",
24
+ "@aws-sdk/client-sts": "3.692.0",
25
+ "@aws-sdk/core": "3.692.0",
26
+ "@aws-sdk/credential-provider-node": "3.692.0",
27
+ "@aws-sdk/middleware-host-header": "3.692.0",
28
+ "@aws-sdk/middleware-logger": "3.692.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.692.0",
30
+ "@aws-sdk/middleware-user-agent": "3.692.0",
31
+ "@aws-sdk/region-config-resolver": "3.692.0",
32
+ "@aws-sdk/types": "3.692.0",
33
+ "@aws-sdk/util-endpoints": "3.692.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.692.0",
35
+ "@aws-sdk/util-user-agent-node": "3.692.0",
36
+ "@smithy/config-resolver": "^3.0.11",
37
+ "@smithy/core": "^2.5.2",
38
+ "@smithy/fetch-http-handler": "^4.1.0",
39
+ "@smithy/hash-node": "^3.0.9",
40
+ "@smithy/invalid-dependency": "^3.0.9",
41
+ "@smithy/middleware-content-length": "^3.0.11",
42
+ "@smithy/middleware-endpoint": "^3.2.2",
43
+ "@smithy/middleware-retry": "^3.0.26",
44
+ "@smithy/middleware-serde": "^3.0.9",
45
+ "@smithy/middleware-stack": "^3.0.9",
46
+ "@smithy/node-config-provider": "^3.1.10",
47
+ "@smithy/node-http-handler": "^3.3.0",
48
+ "@smithy/protocol-http": "^4.1.6",
49
+ "@smithy/smithy-client": "^3.4.3",
50
+ "@smithy/types": "^3.7.0",
51
+ "@smithy/url-parser": "^3.0.9",
52
52
  "@smithy/util-base64": "^3.0.0",
53
53
  "@smithy/util-body-length-browser": "^3.0.0",
54
54
  "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.25",
56
- "@smithy/util-defaults-mode-node": "^3.0.25",
57
- "@smithy/util-endpoints": "^2.1.4",
58
- "@smithy/util-middleware": "^3.0.8",
59
- "@smithy/util-retry": "^3.0.8",
55
+ "@smithy/util-defaults-mode-browser": "^3.0.26",
56
+ "@smithy/util-defaults-mode-node": "^3.0.26",
57
+ "@smithy/util-endpoints": "^2.1.5",
58
+ "@smithy/util-middleware": "^3.0.9",
59
+ "@smithy/util-retry": "^3.0.9",
60
60
  "@smithy/util-utf8": "^3.0.0",
61
61
  "@types/uuid": "^9.0.1",
62
62
  "tslib": "^2.6.2",