forked from aws-amplify/aws-sdk-ios
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAWSEC2Model.h
10745 lines (7761 loc) · 311 KB
/
AWSEC2Model.h
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
/**
Copyright 2010-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License").
You may not use this file except in compliance with the License.
A copy of the License is located at
http://aws.amazon.com/apache2.0
or in the "license" file accompanying this file. This file is distributed
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
express or implied. See the License for the specific language governing
permissions and limitations under the License.
*/
#import <Foundation/Foundation.h>
#import <AWSCore/AWSNetworking.h>
#import <AWSCore/AWSModel.h>
FOUNDATION_EXPORT NSString *const AWSEC2ErrorDomain;
typedef NS_ENUM(NSInteger, AWSEC2ErrorType) {
AWSEC2ErrorUnknown,
AWSEC2ErrorAuthFailure,
AWSEC2ErrorSignatureDoesNotMatch,
};
typedef NS_ENUM(NSInteger, AWSEC2AccountAttributeName) {
AWSEC2AccountAttributeNameUnknown,
AWSEC2AccountAttributeNameSupportedPlatforms,
AWSEC2AccountAttributeNameDefaultVPC,
};
typedef NS_ENUM(NSInteger, AWSEC2ArchitectureValues) {
AWSEC2ArchitectureValuesUnknown,
AWSEC2ArchitectureValuesI386,
AWSEC2ArchitectureValuesX86_64,
};
typedef NS_ENUM(NSInteger, AWSEC2AttachmentStatus) {
AWSEC2AttachmentStatusUnknown,
AWSEC2AttachmentStatusAttaching,
AWSEC2AttachmentStatusAttached,
AWSEC2AttachmentStatusDetaching,
AWSEC2AttachmentStatusDetached,
};
typedef NS_ENUM(NSInteger, AWSEC2AvailabilityZoneState) {
AWSEC2AvailabilityZoneStateUnknown,
AWSEC2AvailabilityZoneStateAvailable,
};
typedef NS_ENUM(NSInteger, AWSEC2BundleTaskState) {
AWSEC2BundleTaskStateUnknown,
AWSEC2BundleTaskStatePending,
AWSEC2BundleTaskStateWaitingForShutdown,
AWSEC2BundleTaskStateBundling,
AWSEC2BundleTaskStateStoring,
AWSEC2BundleTaskStateCancelling,
AWSEC2BundleTaskStateComplete,
AWSEC2BundleTaskStateFailed,
};
typedef NS_ENUM(NSInteger, AWSEC2CancelSpotInstanceRequestState) {
AWSEC2CancelSpotInstanceRequestStateUnknown,
AWSEC2CancelSpotInstanceRequestStateActive,
AWSEC2CancelSpotInstanceRequestStateOpen,
AWSEC2CancelSpotInstanceRequestStateClosed,
AWSEC2CancelSpotInstanceRequestStateCancelled,
AWSEC2CancelSpotInstanceRequestStateCompleted,
};
typedef NS_ENUM(NSInteger, AWSEC2ContainerFormat) {
AWSEC2ContainerFormatUnknown,
AWSEC2ContainerFormatOVA,
};
typedef NS_ENUM(NSInteger, AWSEC2ConversionTaskState) {
AWSEC2ConversionTaskStateUnknown,
AWSEC2ConversionTaskStateActive,
AWSEC2ConversionTaskStateCancelling,
AWSEC2ConversionTaskStateCancelled,
AWSEC2ConversionTaskStateCompleted,
};
typedef NS_ENUM(NSInteger, AWSEC2CurrencyCodeValues) {
AWSEC2CurrencyCodeValuesUnknown,
AWSEC2CurrencyCodeValuesUSD,
};
typedef NS_ENUM(NSInteger, AWSEC2DatafeedSubscriptionState) {
AWSEC2DatafeedSubscriptionStateUnknown,
AWSEC2DatafeedSubscriptionStateActive,
AWSEC2DatafeedSubscriptionStateInactive,
};
typedef NS_ENUM(NSInteger, AWSEC2DeviceType) {
AWSEC2DeviceTypeUnknown,
AWSEC2DeviceTypeEBS,
AWSEC2DeviceTypeInstanceStore,
};
typedef NS_ENUM(NSInteger, AWSEC2DiskImageFormat) {
AWSEC2DiskImageFormatUnknown,
AWSEC2DiskImageFormatVMDK,
AWSEC2DiskImageFormatRAW,
AWSEC2DiskImageFormatVHD,
};
typedef NS_ENUM(NSInteger, AWSEC2DomainType) {
AWSEC2DomainTypeUnknown,
AWSEC2DomainTypeVPC,
AWSEC2DomainTypeStandard,
};
typedef NS_ENUM(NSInteger, AWSEC2EventCode) {
AWSEC2EventCodeUnknown,
AWSEC2EventCodeInstanceReboot,
AWSEC2EventCodeSystemReboot,
AWSEC2EventCodeSystemMaintenance,
AWSEC2EventCodeInstanceRetirement,
AWSEC2EventCodeInstanceStop,
};
typedef NS_ENUM(NSInteger, AWSEC2ExportEnvironment) {
AWSEC2ExportEnvironmentUnknown,
AWSEC2ExportEnvironmentCitrix,
AWSEC2ExportEnvironmentVMware,
AWSEC2ExportEnvironmentMicrosoft,
};
typedef NS_ENUM(NSInteger, AWSEC2ExportTaskState) {
AWSEC2ExportTaskStateUnknown,
AWSEC2ExportTaskStateActive,
AWSEC2ExportTaskStateCancelling,
AWSEC2ExportTaskStateCancelled,
AWSEC2ExportTaskStateCompleted,
};
typedef NS_ENUM(NSInteger, AWSEC2GatewayType) {
AWSEC2GatewayTypeUnknown,
AWSEC2GatewayTypeIpsec1,
};
typedef NS_ENUM(NSInteger, AWSEC2HypervisorType) {
AWSEC2HypervisorTypeUnknown,
AWSEC2HypervisorTypeOvm,
AWSEC2HypervisorTypeXen,
};
typedef NS_ENUM(NSInteger, AWSEC2ImageAttributeName) {
AWSEC2ImageAttributeNameUnknown,
AWSEC2ImageAttributeNameDescription,
AWSEC2ImageAttributeNameKernel,
AWSEC2ImageAttributeNameRAMDisk,
AWSEC2ImageAttributeNameLaunchPermission,
AWSEC2ImageAttributeNameProductCodes,
AWSEC2ImageAttributeNameBlockDeviceMapping,
};
typedef NS_ENUM(NSInteger, AWSEC2ImageState) {
AWSEC2ImageStateUnknown,
AWSEC2ImageStateAvailable,
AWSEC2ImageStateDeregistered,
};
typedef NS_ENUM(NSInteger, AWSEC2ImageTypeValues) {
AWSEC2ImageTypeValuesUnknown,
AWSEC2ImageTypeValuesMachine,
AWSEC2ImageTypeValuesKernel,
AWSEC2ImageTypeValuesRAMDisk,
};
typedef NS_ENUM(NSInteger, AWSEC2InstanceAttributeName) {
AWSEC2InstanceAttributeNameUnknown,
AWSEC2InstanceAttributeNameInstanceType,
AWSEC2InstanceAttributeNameKernel,
AWSEC2InstanceAttributeNameRAMDisk,
AWSEC2InstanceAttributeNameUserData,
AWSEC2InstanceAttributeNameDisableApiTermination,
AWSEC2InstanceAttributeNameInstanceInitiatedShutdownBehavior,
AWSEC2InstanceAttributeNameRootDeviceName,
AWSEC2InstanceAttributeNameBlockDeviceMapping,
AWSEC2InstanceAttributeNameProductCodes,
AWSEC2InstanceAttributeNameSourceDestCheck,
AWSEC2InstanceAttributeNameGroupSet,
AWSEC2InstanceAttributeNameEBSOptimized,
AWSEC2InstanceAttributeNameSriovNetSupport,
};
typedef NS_ENUM(NSInteger, AWSEC2InstanceLifecycleType) {
AWSEC2InstanceLifecycleTypeUnknown,
AWSEC2InstanceLifecycleTypeSpot,
};
typedef NS_ENUM(NSInteger, AWSEC2InstanceStateName) {
AWSEC2InstanceStateNameUnknown,
AWSEC2InstanceStateNamePending,
AWSEC2InstanceStateNameRunning,
AWSEC2InstanceStateNameShuttingDown,
AWSEC2InstanceStateNameTerminated,
AWSEC2InstanceStateNameStopping,
AWSEC2InstanceStateNameStopped,
};
typedef NS_ENUM(NSInteger, AWSEC2InstanceType) {
AWSEC2InstanceTypeUnknown,
AWSEC2InstanceTypeT1_micro,
AWSEC2InstanceTypeM1_small,
AWSEC2InstanceTypeM1_medium,
AWSEC2InstanceTypeM1_large,
AWSEC2InstanceTypeM1_xlarge,
AWSEC2InstanceTypeM3_medium,
AWSEC2InstanceTypeM3_large,
AWSEC2InstanceTypeM3_xlarge,
AWSEC2InstanceTypeM3_2xlarge,
AWSEC2InstanceTypeT2_micro,
AWSEC2InstanceTypeT2_small,
AWSEC2InstanceTypeT2_medium,
AWSEC2InstanceTypeM2_xlarge,
AWSEC2InstanceTypeM2_2xlarge,
AWSEC2InstanceTypeM2_4xlarge,
AWSEC2InstanceTypeCR1_8xlarge,
AWSEC2InstanceTypeI2_xlarge,
AWSEC2InstanceTypeI2_2xlarge,
AWSEC2InstanceTypeI2_4xlarge,
AWSEC2InstanceTypeI2_8xlarge,
AWSEC2InstanceTypeHI1_4xlarge,
AWSEC2InstanceTypeHS1_8xlarge,
AWSEC2InstanceTypeC1_medium,
AWSEC2InstanceTypeC1_xlarge,
AWSEC2InstanceTypeC3_large,
AWSEC2InstanceTypeC3_xlarge,
AWSEC2InstanceTypeC3_2xlarge,
AWSEC2InstanceTypeC3_4xlarge,
AWSEC2InstanceTypeC3_8xlarge,
AWSEC2InstanceTypeCC1_4xlarge,
AWSEC2InstanceTypeCC2_8xlarge,
AWSEC2InstanceTypeG2_2xlarge,
AWSEC2InstanceTypeCG1_4xlarge,
AWSEC2InstanceTypeR3_large,
AWSEC2InstanceTypeR3_xlarge,
AWSEC2InstanceTypeR3_2xlarge,
AWSEC2InstanceTypeR3_4xlarge,
AWSEC2InstanceTypeR3_8xlarge,
};
typedef NS_ENUM(NSInteger, AWSEC2ListingState) {
AWSEC2ListingStateUnknown,
AWSEC2ListingStateAvailable,
AWSEC2ListingStateSold,
AWSEC2ListingStateCancelled,
AWSEC2ListingStatePending,
};
typedef NS_ENUM(NSInteger, AWSEC2ListingStatus) {
AWSEC2ListingStatusUnknown,
AWSEC2ListingStatusActive,
AWSEC2ListingStatusPending,
AWSEC2ListingStatusCancelled,
AWSEC2ListingStatusClosed,
};
typedef NS_ENUM(NSInteger, AWSEC2MonitoringState) {
AWSEC2MonitoringStateUnknown,
AWSEC2MonitoringStateDisabled,
AWSEC2MonitoringStateEnabled,
AWSEC2MonitoringStatePending,
};
typedef NS_ENUM(NSInteger, AWSEC2NetworkInterfaceAttribute) {
AWSEC2NetworkInterfaceAttributeUnknown,
AWSEC2NetworkInterfaceAttributeDescription,
AWSEC2NetworkInterfaceAttributeGroupSet,
AWSEC2NetworkInterfaceAttributeSourceDestCheck,
AWSEC2NetworkInterfaceAttributeAttachment,
};
typedef NS_ENUM(NSInteger, AWSEC2NetworkInterfaceStatus) {
AWSEC2NetworkInterfaceStatusUnknown,
AWSEC2NetworkInterfaceStatusAvailable,
AWSEC2NetworkInterfaceStatusAttaching,
AWSEC2NetworkInterfaceStatusInUse,
AWSEC2NetworkInterfaceStatusDetaching,
};
typedef NS_ENUM(NSInteger, AWSEC2OfferingTypeValues) {
AWSEC2OfferingTypeValuesUnknown,
AWSEC2OfferingTypeValuesHeavyUtilization,
AWSEC2OfferingTypeValuesMediumUtilization,
AWSEC2OfferingTypeValuesLightUtilization,
};
typedef NS_ENUM(NSInteger, AWSEC2PermissionGroup) {
AWSEC2PermissionGroupUnknown,
AWSEC2PermissionGroupAll,
};
typedef NS_ENUM(NSInteger, AWSEC2PlacementGroupState) {
AWSEC2PlacementGroupStateUnknown,
AWSEC2PlacementGroupStatePending,
AWSEC2PlacementGroupStateAvailable,
AWSEC2PlacementGroupStateDeleting,
AWSEC2PlacementGroupStateDeleted,
};
typedef NS_ENUM(NSInteger, AWSEC2PlacementStrategy) {
AWSEC2PlacementStrategyUnknown,
AWSEC2PlacementStrategyCluster,
};
typedef NS_ENUM(NSInteger, AWSEC2PlatformValues) {
AWSEC2PlatformValuesUnknown,
AWSEC2PlatformValuesWindows,
};
typedef NS_ENUM(NSInteger, AWSEC2ProductCodeValues) {
AWSEC2ProductCodeValuesUnknown,
AWSEC2ProductCodeValuesDevpay,
AWSEC2ProductCodeValuesMarketplace,
};
typedef NS_ENUM(NSInteger, AWSEC2RIProductDescription) {
AWSEC2RIProductDescriptionUnknown,
AWSEC2RIProductDescriptionLinuxUNIX,
AWSEC2RIProductDescriptionLinuxUNIXAmazonVPC,
AWSEC2RIProductDescriptionWindows,
AWSEC2RIProductDescriptionWindowsAmazonVPC,
};
typedef NS_ENUM(NSInteger, AWSEC2RecurringChargeFrequency) {
AWSEC2RecurringChargeFrequencyUnknown,
AWSEC2RecurringChargeFrequencyHourly,
};
typedef NS_ENUM(NSInteger, AWSEC2ReportInstanceReasonCodes) {
AWSEC2ReportInstanceReasonCodesUnknown,
AWSEC2ReportInstanceReasonCodesInstanceStuckInState,
AWSEC2ReportInstanceReasonCodesUnresponsive,
AWSEC2ReportInstanceReasonCodesNotAcceptingCredentials,
AWSEC2ReportInstanceReasonCodesPasswordNotAvailable,
AWSEC2ReportInstanceReasonCodesPerformanceNetwork,
AWSEC2ReportInstanceReasonCodesPerformanceInstanceStore,
AWSEC2ReportInstanceReasonCodesPerformanceEBSVolume,
AWSEC2ReportInstanceReasonCodesPerformanceOther,
AWSEC2ReportInstanceReasonCodesOther,
};
typedef NS_ENUM(NSInteger, AWSEC2ReportStatusType) {
AWSEC2ReportStatusTypeUnknown,
AWSEC2ReportStatusTypeOK,
AWSEC2ReportStatusTypeImpaired,
};
typedef NS_ENUM(NSInteger, AWSEC2ReservedInstanceState) {
AWSEC2ReservedInstanceStateUnknown,
AWSEC2ReservedInstanceStatePaymentPending,
AWSEC2ReservedInstanceStateActive,
AWSEC2ReservedInstanceStatePaymentFailed,
AWSEC2ReservedInstanceStateRetired,
};
typedef NS_ENUM(NSInteger, AWSEC2ResetImageAttributeName) {
AWSEC2ResetImageAttributeNameUnknown,
AWSEC2ResetImageAttributeNameLaunchPermission,
};
typedef NS_ENUM(NSInteger, AWSEC2ResourceType) {
AWSEC2ResourceTypeUnknown,
AWSEC2ResourceTypeCustomerGateway,
AWSEC2ResourceTypeDHCPOptions,
AWSEC2ResourceTypeImage,
AWSEC2ResourceTypeInstance,
AWSEC2ResourceTypeInternetGateway,
AWSEC2ResourceTypeNetworkACL,
AWSEC2ResourceTypeNetworkInterface,
AWSEC2ResourceTypeReservedInstances,
AWSEC2ResourceTypeRouteTable,
AWSEC2ResourceTypeSnapshot,
AWSEC2ResourceTypeSpotInstancesRequest,
AWSEC2ResourceTypeSubnet,
AWSEC2ResourceTypeSecurityGroup,
AWSEC2ResourceTypeVolume,
AWSEC2ResourceTypeVPC,
AWSEC2ResourceTypeVpnConnection,
AWSEC2ResourceTypeVpnGateway,
};
typedef NS_ENUM(NSInteger, AWSEC2RouteOrigin) {
AWSEC2RouteOriginUnknown,
AWSEC2RouteOriginCreateRouteTable,
AWSEC2RouteOriginCreateRoute,
AWSEC2RouteOriginEnableVgwRoutePropagation,
};
typedef NS_ENUM(NSInteger, AWSEC2RouteState) {
AWSEC2RouteStateUnknown,
AWSEC2RouteStateActive,
AWSEC2RouteStateBlackhole,
};
typedef NS_ENUM(NSInteger, AWSEC2RuleAction) {
AWSEC2RuleActionUnknown,
AWSEC2RuleActionAllow,
AWSEC2RuleActionDeny,
};
typedef NS_ENUM(NSInteger, AWSEC2ShutdownBehavior) {
AWSEC2ShutdownBehaviorUnknown,
AWSEC2ShutdownBehaviorStop,
AWSEC2ShutdownBehaviorTerminate,
};
typedef NS_ENUM(NSInteger, AWSEC2SnapshotAttributeName) {
AWSEC2SnapshotAttributeNameUnknown,
AWSEC2SnapshotAttributeNameProductCodes,
AWSEC2SnapshotAttributeNameCreateVolumePermission,
};
typedef NS_ENUM(NSInteger, AWSEC2SnapshotState) {
AWSEC2SnapshotStateUnknown,
AWSEC2SnapshotStatePending,
AWSEC2SnapshotStateCompleted,
AWSEC2SnapshotStateError,
};
typedef NS_ENUM(NSInteger, AWSEC2SpotInstanceState) {
AWSEC2SpotInstanceStateUnknown,
AWSEC2SpotInstanceStateOpen,
AWSEC2SpotInstanceStateActive,
AWSEC2SpotInstanceStateClosed,
AWSEC2SpotInstanceStateCancelled,
AWSEC2SpotInstanceStateFailed,
};
typedef NS_ENUM(NSInteger, AWSEC2SpotInstanceType) {
AWSEC2SpotInstanceTypeUnknown,
AWSEC2SpotInstanceTypeOneTime,
AWSEC2SpotInstanceTypePersistent,
};
typedef NS_ENUM(NSInteger, AWSEC2StatusName) {
AWSEC2StatusNameUnknown,
AWSEC2StatusNameReachability,
};
typedef NS_ENUM(NSInteger, AWSEC2StatusType) {
AWSEC2StatusTypeUnknown,
AWSEC2StatusTypePassed,
AWSEC2StatusTypeFailed,
AWSEC2StatusTypeInsufficientData,
};
typedef NS_ENUM(NSInteger, AWSEC2SubnetState) {
AWSEC2SubnetStateUnknown,
AWSEC2SubnetStatePending,
AWSEC2SubnetStateAvailable,
};
typedef NS_ENUM(NSInteger, AWSEC2SummaryStatus) {
AWSEC2SummaryStatusUnknown,
AWSEC2SummaryStatusOK,
AWSEC2SummaryStatusImpaired,
AWSEC2SummaryStatusInsufficientData,
AWSEC2SummaryStatusNotApplicable,
};
typedef NS_ENUM(NSInteger, AWSEC2TelemetryStatus) {
AWSEC2TelemetryStatusUnknown,
AWSEC2TelemetryStatusUp,
AWSEC2TelemetryStatusDown,
};
typedef NS_ENUM(NSInteger, AWSEC2Tenancy) {
AWSEC2TenancyUnknown,
AWSEC2TenancyDefault,
AWSEC2TenancyDedicated,
};
typedef NS_ENUM(NSInteger, AWSEC2VirtualizationType) {
AWSEC2VirtualizationTypeUnknown,
AWSEC2VirtualizationTypeHVM,
AWSEC2VirtualizationTypeParavirtual,
};
typedef NS_ENUM(NSInteger, AWSEC2VolumeAttachmentState) {
AWSEC2VolumeAttachmentStateUnknown,
AWSEC2VolumeAttachmentStateAttaching,
AWSEC2VolumeAttachmentStateAttached,
AWSEC2VolumeAttachmentStateDetaching,
AWSEC2VolumeAttachmentStateDetached,
};
typedef NS_ENUM(NSInteger, AWSEC2VolumeAttributeName) {
AWSEC2VolumeAttributeNameUnknown,
AWSEC2VolumeAttributeNameAutoEnableIO,
AWSEC2VolumeAttributeNameProductCodes,
};
typedef NS_ENUM(NSInteger, AWSEC2VolumeState) {
AWSEC2VolumeStateUnknown,
AWSEC2VolumeStateCreating,
AWSEC2VolumeStateAvailable,
AWSEC2VolumeStateInUse,
AWSEC2VolumeStateDeleting,
AWSEC2VolumeStateDeleted,
AWSEC2VolumeStateError,
};
typedef NS_ENUM(NSInteger, AWSEC2VolumeStatusInfoStatus) {
AWSEC2VolumeStatusInfoStatusUnknown,
AWSEC2VolumeStatusInfoStatusOK,
AWSEC2VolumeStatusInfoStatusImpaired,
AWSEC2VolumeStatusInfoStatusInsufficientData,
};
typedef NS_ENUM(NSInteger, AWSEC2VolumeStatusName) {
AWSEC2VolumeStatusNameUnknown,
AWSEC2VolumeStatusNameIoEnabled,
AWSEC2VolumeStatusNameIoPerformance,
};
typedef NS_ENUM(NSInteger, AWSEC2VolumeType) {
AWSEC2VolumeTypeUnknown,
AWSEC2VolumeTypeStandard,
AWSEC2VolumeTypeIO1,
AWSEC2VolumeTypeGp2,
};
typedef NS_ENUM(NSInteger, AWSEC2VpcAttributeName) {
AWSEC2VpcAttributeNameUnknown,
AWSEC2VpcAttributeNameEnableDNSSupport,
AWSEC2VpcAttributeNameEnableDNSHostnames,
};
typedef NS_ENUM(NSInteger, AWSEC2VpcState) {
AWSEC2VpcStateUnknown,
AWSEC2VpcStatePending,
AWSEC2VpcStateAvailable,
};
typedef NS_ENUM(NSInteger, AWSEC2VpnState) {
AWSEC2VpnStateUnknown,
AWSEC2VpnStatePending,
AWSEC2VpnStateAvailable,
AWSEC2VpnStateDeleting,
AWSEC2VpnStateDeleted,
};
typedef NS_ENUM(NSInteger, AWSEC2VpnStaticRouteSource) {
AWSEC2VpnStaticRouteSourceUnknown,
AWSEC2VpnStaticRouteSourceStatic,
};
@class AWSEC2AcceptVpcPeeringConnectionRequest;
@class AWSEC2AcceptVpcPeeringConnectionResult;
@class AWSEC2AccountAttribute;
@class AWSEC2AccountAttributeValue;
@class AWSEC2Address;
@class AWSEC2AllocateAddressRequest;
@class AWSEC2AllocateAddressResult;
@class AWSEC2AssignPrivateIpAddressesRequest;
@class AWSEC2AssociateAddressRequest;
@class AWSEC2AssociateAddressResult;
@class AWSEC2AssociateDhcpOptionsRequest;
@class AWSEC2AssociateRouteTableRequest;
@class AWSEC2AssociateRouteTableResult;
@class AWSEC2AttachInternetGatewayRequest;
@class AWSEC2AttachNetworkInterfaceRequest;
@class AWSEC2AttachNetworkInterfaceResult;
@class AWSEC2AttachVolumeRequest;
@class AWSEC2AttachVpnGatewayRequest;
@class AWSEC2AttachVpnGatewayResult;
@class AWSEC2AttributeBooleanValue;
@class AWSEC2AttributeValue;
@class AWSEC2AuthorizeSecurityGroupEgressRequest;
@class AWSEC2AuthorizeSecurityGroupIngressRequest;
@class AWSEC2AvailabilityZone;
@class AWSEC2AvailabilityZoneMessage;
@class AWSEC2BlobAttributeValue;
@class AWSEC2BlockDeviceMapping;
@class AWSEC2BundleInstanceRequest;
@class AWSEC2BundleInstanceResult;
@class AWSEC2BundleTask;
@class AWSEC2BundleTaskError;
@class AWSEC2CancelBundleTaskRequest;
@class AWSEC2CancelBundleTaskResult;
@class AWSEC2CancelConversionRequest;
@class AWSEC2CancelExportTaskRequest;
@class AWSEC2CancelReservedInstancesListingRequest;
@class AWSEC2CancelReservedInstancesListingResult;
@class AWSEC2CancelSpotInstanceRequestsRequest;
@class AWSEC2CancelSpotInstanceRequestsResult;
@class AWSEC2CancelledSpotInstanceRequest;
@class AWSEC2ConfirmProductInstanceRequest;
@class AWSEC2ConfirmProductInstanceResult;
@class AWSEC2ConversionTask;
@class AWSEC2CreateCustomerGatewayRequest;
@class AWSEC2CreateCustomerGatewayResult;
@class AWSEC2CreateDhcpOptionsRequest;
@class AWSEC2CreateDhcpOptionsResult;
@class AWSEC2CreateImageRequest;
@class AWSEC2CreateImageResult;
@class AWSEC2CreateInstanceExportTaskRequest;
@class AWSEC2CreateInstanceExportTaskResult;
@class AWSEC2CreateInternetGatewayRequest;
@class AWSEC2CreateInternetGatewayResult;
@class AWSEC2CreateKeyPairRequest;
@class AWSEC2CreateNetworkAclEntryRequest;
@class AWSEC2CreateNetworkAclRequest;
@class AWSEC2CreateNetworkAclResult;
@class AWSEC2CreateNetworkInterfaceRequest;
@class AWSEC2CreateNetworkInterfaceResult;
@class AWSEC2CreatePlacementGroupRequest;
@class AWSEC2CreateReservedInstancesListingRequest;
@class AWSEC2CreateReservedInstancesListingResult;
@class AWSEC2CreateRouteRequest;
@class AWSEC2CreateRouteTableRequest;
@class AWSEC2CreateRouteTableResult;
@class AWSEC2CreateSecurityGroupRequest;
@class AWSEC2CreateSecurityGroupResult;
@class AWSEC2CreateSnapshotRequest;
@class AWSEC2CreateSpotDatafeedSubscriptionRequest;
@class AWSEC2CreateSpotDatafeedSubscriptionResult;
@class AWSEC2CreateSubnetRequest;
@class AWSEC2CreateSubnetResult;
@class AWSEC2CreateTagsRequest;
@class AWSEC2CreateVolumePermission;
@class AWSEC2CreateVolumePermissionModifications;
@class AWSEC2CreateVolumeRequest;
@class AWSEC2CreateVpcPeeringConnectionRequest;
@class AWSEC2CreateVpcPeeringConnectionResult;
@class AWSEC2CreateVpcRequest;
@class AWSEC2CreateVpcResult;
@class AWSEC2CreateVpnConnectionRequest;
@class AWSEC2CreateVpnConnectionResult;
@class AWSEC2CreateVpnConnectionRouteRequest;
@class AWSEC2CreateVpnGatewayRequest;
@class AWSEC2CreateVpnGatewayResult;
@class AWSEC2CustomerGateway;
@class AWSEC2DeleteCustomerGatewayRequest;
@class AWSEC2DeleteDhcpOptionsRequest;
@class AWSEC2DeleteInternetGatewayRequest;
@class AWSEC2DeleteKeyPairRequest;
@class AWSEC2DeleteNetworkAclEntryRequest;
@class AWSEC2DeleteNetworkAclRequest;
@class AWSEC2DeleteNetworkInterfaceRequest;
@class AWSEC2DeletePlacementGroupRequest;
@class AWSEC2DeleteRouteRequest;
@class AWSEC2DeleteRouteTableRequest;
@class AWSEC2DeleteSecurityGroupRequest;
@class AWSEC2DeleteSnapshotRequest;
@class AWSEC2DeleteSpotDatafeedSubscriptionRequest;
@class AWSEC2DeleteSubnetRequest;
@class AWSEC2DeleteTagsRequest;
@class AWSEC2DeleteVolumeRequest;
@class AWSEC2DeleteVpcPeeringConnectionRequest;
@class AWSEC2DeleteVpcPeeringConnectionResult;
@class AWSEC2DeleteVpcRequest;
@class AWSEC2DeleteVpnConnectionRequest;
@class AWSEC2DeleteVpnConnectionRouteRequest;
@class AWSEC2DeleteVpnGatewayRequest;
@class AWSEC2DeregisterImageRequest;
@class AWSEC2DescribeAccountAttributesRequest;
@class AWSEC2DescribeAccountAttributesResult;
@class AWSEC2DescribeAddressesRequest;
@class AWSEC2DescribeAddressesResult;
@class AWSEC2DescribeAvailabilityZonesRequest;
@class AWSEC2DescribeAvailabilityZonesResult;
@class AWSEC2DescribeBundleTasksRequest;
@class AWSEC2DescribeBundleTasksResult;
@class AWSEC2DescribeConversionTasksRequest;
@class AWSEC2DescribeConversionTasksResult;
@class AWSEC2DescribeCustomerGatewaysRequest;
@class AWSEC2DescribeCustomerGatewaysResult;
@class AWSEC2DescribeDhcpOptionsRequest;
@class AWSEC2DescribeDhcpOptionsResult;
@class AWSEC2DescribeExportTasksRequest;
@class AWSEC2DescribeExportTasksResult;
@class AWSEC2DescribeImageAttributeRequest;
@class AWSEC2DescribeImagesRequest;
@class AWSEC2DescribeImagesResult;
@class AWSEC2DescribeInstanceAttributeRequest;
@class AWSEC2DescribeInstanceStatusRequest;
@class AWSEC2DescribeInstanceStatusResult;
@class AWSEC2DescribeInstancesRequest;
@class AWSEC2DescribeInstancesResult;
@class AWSEC2DescribeInternetGatewaysRequest;
@class AWSEC2DescribeInternetGatewaysResult;
@class AWSEC2DescribeKeyPairsRequest;
@class AWSEC2DescribeKeyPairsResult;
@class AWSEC2DescribeNetworkAclsRequest;
@class AWSEC2DescribeNetworkAclsResult;
@class AWSEC2DescribeNetworkInterfaceAttributeRequest;
@class AWSEC2DescribeNetworkInterfaceAttributeResult;
@class AWSEC2DescribeNetworkInterfacesRequest;
@class AWSEC2DescribeNetworkInterfacesResult;
@class AWSEC2DescribePlacementGroupsRequest;
@class AWSEC2DescribePlacementGroupsResult;
@class AWSEC2DescribeRegionsRequest;
@class AWSEC2DescribeRegionsResult;
@class AWSEC2DescribeReservedInstancesListingsRequest;
@class AWSEC2DescribeReservedInstancesListingsResult;
@class AWSEC2DescribeReservedInstancesModificationsRequest;
@class AWSEC2DescribeReservedInstancesModificationsResult;
@class AWSEC2DescribeReservedInstancesOfferingsRequest;
@class AWSEC2DescribeReservedInstancesOfferingsResult;
@class AWSEC2DescribeReservedInstancesRequest;
@class AWSEC2DescribeReservedInstancesResult;
@class AWSEC2DescribeRouteTablesRequest;
@class AWSEC2DescribeRouteTablesResult;
@class AWSEC2DescribeSecurityGroupsRequest;
@class AWSEC2DescribeSecurityGroupsResult;
@class AWSEC2DescribeSnapshotAttributeRequest;
@class AWSEC2DescribeSnapshotAttributeResult;
@class AWSEC2DescribeSnapshotsRequest;
@class AWSEC2DescribeSnapshotsResult;
@class AWSEC2DescribeSpotDatafeedSubscriptionRequest;
@class AWSEC2DescribeSpotDatafeedSubscriptionResult;
@class AWSEC2DescribeSpotInstanceRequestsRequest;
@class AWSEC2DescribeSpotInstanceRequestsResult;
@class AWSEC2DescribeSpotPriceHistoryRequest;
@class AWSEC2DescribeSpotPriceHistoryResult;
@class AWSEC2DescribeSubnetsRequest;
@class AWSEC2DescribeSubnetsResult;
@class AWSEC2DescribeTagsRequest;
@class AWSEC2DescribeTagsResult;
@class AWSEC2DescribeVolumeAttributeRequest;
@class AWSEC2DescribeVolumeAttributeResult;
@class AWSEC2DescribeVolumeStatusRequest;
@class AWSEC2DescribeVolumeStatusResult;
@class AWSEC2DescribeVolumesRequest;
@class AWSEC2DescribeVolumesResult;
@class AWSEC2DescribeVpcAttributeRequest;
@class AWSEC2DescribeVpcAttributeResult;
@class AWSEC2DescribeVpcPeeringConnectionsRequest;
@class AWSEC2DescribeVpcPeeringConnectionsResult;
@class AWSEC2DescribeVpcsRequest;
@class AWSEC2DescribeVpcsResult;
@class AWSEC2DescribeVpnConnectionsRequest;
@class AWSEC2DescribeVpnConnectionsResult;
@class AWSEC2DescribeVpnGatewaysRequest;
@class AWSEC2DescribeVpnGatewaysResult;
@class AWSEC2DetachInternetGatewayRequest;
@class AWSEC2DetachNetworkInterfaceRequest;
@class AWSEC2DetachVolumeRequest;
@class AWSEC2DetachVpnGatewayRequest;
@class AWSEC2DhcpConfiguration;
@class AWSEC2DhcpOptions;
@class AWSEC2DisableVgwRoutePropagationRequest;
@class AWSEC2DisassociateAddressRequest;
@class AWSEC2DisassociateRouteTableRequest;
@class AWSEC2DiskImage;
@class AWSEC2DiskImageDescription;
@class AWSEC2DiskImageDetail;
@class AWSEC2DiskImageVolumeDescription;
@class AWSEC2EbsBlockDevice;
@class AWSEC2EbsInstanceBlockDevice;
@class AWSEC2EbsInstanceBlockDeviceSpecification;
@class AWSEC2EnableVgwRoutePropagationRequest;
@class AWSEC2EnableVolumeIORequest;
@class AWSEC2ExportTask;
@class AWSEC2ExportToS3Task;
@class AWSEC2ExportToS3TaskSpecification;
@class AWSEC2Filter;
@class AWSEC2GetConsoleOutputRequest;
@class AWSEC2GetConsoleOutputResult;
@class AWSEC2GetPasswordDataRequest;
@class AWSEC2GetPasswordDataResult;
@class AWSEC2GroupIdentifier;
@class AWSEC2IamInstanceProfile;
@class AWSEC2IamInstanceProfileSpecification;
@class AWSEC2IcmpTypeCode;
@class AWSEC2Image;
@class AWSEC2ImageAttribute;
@class AWSEC2ImportInstanceLaunchSpecification;
@class AWSEC2ImportInstanceRequest;
@class AWSEC2ImportInstanceResult;
@class AWSEC2ImportInstanceTaskDetails;
@class AWSEC2ImportInstanceVolumeDetailItem;
@class AWSEC2ImportKeyPairRequest;
@class AWSEC2ImportKeyPairResult;
@class AWSEC2ImportVolumeRequest;
@class AWSEC2ImportVolumeResult;
@class AWSEC2ImportVolumeTaskDetails;
@class AWSEC2Instance;
@class AWSEC2InstanceAttribute;
@class AWSEC2InstanceBlockDeviceMapping;
@class AWSEC2InstanceBlockDeviceMappingSpecification;
@class AWSEC2InstanceCount;
@class AWSEC2InstanceExportDetails;
@class AWSEC2InstanceMonitoring;
@class AWSEC2InstanceNetworkInterface;
@class AWSEC2InstanceNetworkInterfaceAssociation;
@class AWSEC2InstanceNetworkInterfaceAttachment;
@class AWSEC2InstanceNetworkInterfaceSpecification;
@class AWSEC2InstancePrivateIpAddress;
@class AWSEC2InstanceState;
@class AWSEC2InstanceStateChange;
@class AWSEC2InstanceStatus;
@class AWSEC2InstanceStatusDetails;
@class AWSEC2InstanceStatusEvent;
@class AWSEC2InstanceStatusSummary;
@class AWSEC2InternetGateway;
@class AWSEC2InternetGatewayAttachment;
@class AWSEC2IpPermission;
@class AWSEC2IpRange;
@class AWSEC2KeyPair;
@class AWSEC2KeyPairInfo;
@class AWSEC2LatestDhcpConfiguration;
@class AWSEC2LaunchPermission;
@class AWSEC2LaunchPermissionModifications;
@class AWSEC2LaunchSpecification;
@class AWSEC2ModifyImageAttributeRequest;
@class AWSEC2ModifyInstanceAttributeRequest;
@class AWSEC2ModifyNetworkInterfaceAttributeRequest;
@class AWSEC2ModifyReservedInstancesRequest;
@class AWSEC2ModifyReservedInstancesResult;
@class AWSEC2ModifySnapshotAttributeRequest;
@class AWSEC2ModifySubnetAttributeRequest;
@class AWSEC2ModifyVolumeAttributeRequest;
@class AWSEC2ModifyVpcAttributeRequest;
@class AWSEC2MonitorInstancesRequest;
@class AWSEC2MonitorInstancesResult;
@class AWSEC2Monitoring;
@class AWSEC2NetworkAcl;
@class AWSEC2NetworkAclAssociation;
@class AWSEC2NetworkAclEntry;
@class AWSEC2NetworkInterface;
@class AWSEC2NetworkInterfaceAssociation;
@class AWSEC2NetworkInterfaceAttachment;
@class AWSEC2NetworkInterfaceAttachmentChanges;
@class AWSEC2NetworkInterfacePrivateIpAddress;
@class AWSEC2Placement;
@class AWSEC2PlacementGroup;
@class AWSEC2PortRange;
@class AWSEC2PriceSchedule;
@class AWSEC2PriceScheduleSpecification;
@class AWSEC2PricingDetail;
@class AWSEC2PrivateIpAddressSpecification;
@class AWSEC2ProductCode;
@class AWSEC2PropagatingVgw;
@class AWSEC2PurchaseReservedInstancesOfferingRequest;
@class AWSEC2PurchaseReservedInstancesOfferingResult;
@class AWSEC2RebootInstancesRequest;
@class AWSEC2RecurringCharge;
@class AWSEC2Region;
@class AWSEC2RegisterImageRequest;
@class AWSEC2RegisterImageResult;
@class AWSEC2RejectVpcPeeringConnectionRequest;
@class AWSEC2RejectVpcPeeringConnectionResult;
@class AWSEC2ReleaseAddressRequest;
@class AWSEC2ReplaceNetworkAclAssociationRequest;
@class AWSEC2ReplaceNetworkAclAssociationResult;
@class AWSEC2ReplaceNetworkAclEntryRequest;
@class AWSEC2ReplaceRouteRequest;
@class AWSEC2ReplaceRouteTableAssociationRequest;
@class AWSEC2ReplaceRouteTableAssociationResult;
@class AWSEC2ReplicateImageRequest;
@class AWSEC2ReplicateImageResult;
@class AWSEC2ReplicateSnapshotRequest;
@class AWSEC2ReplicateSnapshotResult;
@class AWSEC2ReportInstanceStatusRequest;
@class AWSEC2RequestSpotInstancesRequest;
@class AWSEC2RequestSpotInstancesResult;
@class AWSEC2RequestSpotLaunchSpecification;
@class AWSEC2Reservation;
@class AWSEC2ReservedInstanceLimitPrice;
@class AWSEC2ReservedInstances;
@class AWSEC2ReservedInstancesConfiguration;
@class AWSEC2ReservedInstancesId;
@class AWSEC2ReservedInstancesListing;
@class AWSEC2ReservedInstancesModification;
@class AWSEC2ReservedInstancesModificationResult;
@class AWSEC2ReservedInstancesOffering;
@class AWSEC2ResetImageAttributeRequest;
@class AWSEC2ResetInstanceAttributeRequest;
@class AWSEC2ResetNetworkInterfaceAttributeRequest;
@class AWSEC2ResetSnapshotAttributeRequest;
@class AWSEC2RevokeSecurityGroupEgressRequest;
@class AWSEC2RevokeSecurityGroupIngressRequest;
@class AWSEC2Route;
@class AWSEC2RouteTable;
@class AWSEC2RouteTableAssociation;
@class AWSEC2RunInstancesMonitoringEnabled;
@class AWSEC2RunInstancesRequest;
@class AWSEC2S3Storage;
@class AWSEC2SecurityGroup;
@class AWSEC2Snapshot;
@class AWSEC2SpotDatafeedSubscription;
@class AWSEC2SpotInstanceRequest;
@class AWSEC2SpotInstanceStateFault;
@class AWSEC2SpotInstanceStatus;
@class AWSEC2SpotPlacement;
@class AWSEC2SpotPrice;
@class AWSEC2StartInstancesRequest;
@class AWSEC2StartInstancesResult;
@class AWSEC2StateReason;
@class AWSEC2StopInstancesRequest;
@class AWSEC2StopInstancesResult;
@class AWSEC2Storage;
@class AWSEC2Subnet;
@class AWSEC2Tag;
@class AWSEC2TagDescription;
@class AWSEC2TerminateInstancesRequest;
@class AWSEC2TerminateInstancesResult;
@class AWSEC2UnassignPrivateIpAddressesRequest;
@class AWSEC2UnmonitorInstancesRequest;
@class AWSEC2UnmonitorInstancesResult;
@class AWSEC2UserIdGroupPair;
@class AWSEC2VgwTelemetry;
@class AWSEC2Volume;
@class AWSEC2VolumeAttachment;
@class AWSEC2VolumeDetail;
@class AWSEC2VolumeStatusAction;
@class AWSEC2VolumeStatusDetails;
@class AWSEC2VolumeStatusEvent;
@class AWSEC2VolumeStatusInfo;
@class AWSEC2VolumeStatusItem;
@class AWSEC2Vpc;
@class AWSEC2VpcAttachment;
@class AWSEC2VpcPeeringConnection;
@class AWSEC2VpcPeeringConnectionStateReason;
@class AWSEC2VpcPeeringConnectionVpcInfo;
@class AWSEC2VpnConnection;
@class AWSEC2VpnConnectionOptions;
@class AWSEC2VpnConnectionOptionsSpecification;
@class AWSEC2VpnGateway;
@class AWSEC2VpnStaticRoute;
/**
*/
@interface AWSEC2AcceptVpcPeeringConnectionRequest : AWSRequest
/**
*/
@property (nonatomic, strong) NSNumber *dryRun;
/**
<p>The ID of the VPC peering connection.</p>
*/
@property (nonatomic, strong) NSString *vpcPeeringConnectionId;
@end
/**
*/
@interface AWSEC2AcceptVpcPeeringConnectionResult : AWSModel
/**
<p>Information about the VPC peering connection.</p>
*/
@property (nonatomic, strong) AWSEC2VpcPeeringConnection *vpcPeeringConnection;
@end
/**
<p>Describes an account attribute.</p>
*/
@interface AWSEC2AccountAttribute : AWSModel
/**
<p>The name of the account attribute.</p>
*/
@property (nonatomic, strong) NSString *attributeName;
/**
<p>One or more values for the account attribute.</p>
*/
@property (nonatomic, strong) NSArray *attributeValues;
@end
/**
<p>Describes a value of an account attribute.</p>
*/
@interface AWSEC2AccountAttributeValue : AWSModel
/**
<p>The value of the attribute.</p>
*/
@property (nonatomic, strong) NSString *attributeValue;
@end
/**
<p>Describes an Elastic IP address.</p>
*/
@interface AWSEC2Address : AWSModel
/**
<p>The ID representing the allocation of the address for use with EC2-VPC.</p>