aws-sdk-ec2 1.522.0 → 1.524.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +570 -110
- data/lib/aws-sdk-ec2/client_api.rb +122 -1
- data/lib/aws-sdk-ec2/instance.rb +1 -1
- data/lib/aws-sdk-ec2/resource.rb +17 -17
- data/lib/aws-sdk-ec2/security_group.rb +2 -2
- data/lib/aws-sdk-ec2/snapshot.rb +1 -1
- data/lib/aws-sdk-ec2/subnet.rb +2 -2
- data/lib/aws-sdk-ec2/types.rb +458 -4
- data/lib/aws-sdk-ec2/volume.rb +1 -1
- data/lib/aws-sdk-ec2/vpc.rb +5 -5
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +182 -101
- data/sig/instance.rbs +1 -1
- data/sig/resource.rbs +17 -17
- data/sig/security_group.rbs +2 -2
- data/sig/snapshot.rbs +1 -1
- data/sig/subnet.rbs +2 -2
- data/sig/tag.rbs +1 -1
- data/sig/types.rbs +93 -5
- data/sig/volume.rbs +1 -1
- data/sig/vpc.rbs +5 -5
- metadata +1 -1
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -1129,6 +1129,10 @@ module Aws::EC2
|
|
1129
1129
|
# specified.
|
1130
1130
|
# @return [Array<String>]
|
1131
1131
|
#
|
1132
|
+
# @!attribute [rw] availability_zone_id
|
1133
|
+
# The ID of the Availability Zone.
|
1134
|
+
# @return [String]
|
1135
|
+
#
|
1132
1136
|
# @!attribute [rw] auto_placement
|
1133
1137
|
# Indicates whether the host accepts any untargeted instance launches
|
1134
1138
|
# that match its instance type configuration, or if it only accepts
|
@@ -1187,6 +1191,7 @@ module Aws::EC2
|
|
1187
1191
|
:outpost_arn,
|
1188
1192
|
:host_maintenance,
|
1189
1193
|
:asset_ids,
|
1194
|
+
:availability_zone_id,
|
1190
1195
|
:auto_placement,
|
1191
1196
|
:client_token,
|
1192
1197
|
:instance_type,
|
@@ -1458,6 +1463,10 @@ module Aws::EC2
|
|
1458
1463
|
# The Availability Zone.
|
1459
1464
|
# @return [String]
|
1460
1465
|
#
|
1466
|
+
# @!attribute [rw] availability_zone_id
|
1467
|
+
# The ID of the Availability Zone.
|
1468
|
+
# @return [String]
|
1469
|
+
#
|
1461
1470
|
# @!attribute [rw] instance
|
1462
1471
|
# Information about the instance.
|
1463
1472
|
# @return [Types::AnalysisComponent]
|
@@ -1471,6 +1480,7 @@ module Aws::EC2
|
|
1471
1480
|
class AnalysisLoadBalancerTarget < Struct.new(
|
1472
1481
|
:address,
|
1473
1482
|
:availability_zone,
|
1483
|
+
:availability_zone_id,
|
1474
1484
|
:instance,
|
1475
1485
|
:port)
|
1476
1486
|
SENSITIVE = []
|
@@ -5540,12 +5550,17 @@ module Aws::EC2
|
|
5540
5550
|
# The tenancy of the Capacity Reservation.
|
5541
5551
|
# @return [String]
|
5542
5552
|
#
|
5553
|
+
# @!attribute [rw] availability_zone_id
|
5554
|
+
# The ID of the Availability Zone.
|
5555
|
+
# @return [String]
|
5556
|
+
#
|
5543
5557
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CapacityReservationInfo AWS API Documentation
|
5544
5558
|
#
|
5545
5559
|
class CapacityReservationInfo < Struct.new(
|
5546
5560
|
:instance_type,
|
5547
5561
|
:availability_zone,
|
5548
|
-
:tenancy
|
5562
|
+
:tenancy,
|
5563
|
+
:availability_zone_id)
|
5549
5564
|
SENSITIVE = []
|
5550
5565
|
include Aws::Structure
|
5551
5566
|
end
|
@@ -7307,7 +7322,8 @@ module Aws::EC2
|
|
7307
7322
|
# a time-based AMI copy. The specified completion duration applies to
|
7308
7323
|
# each of the snapshots associated with the AMI. Each snapshot
|
7309
7324
|
# associated with the AMI will be completed within the specified
|
7310
|
-
# completion duration,
|
7325
|
+
# completion duration, with copy throughput automatically adjusted for
|
7326
|
+
# each snapshot based on its size to meet the timing target.
|
7311
7327
|
#
|
7312
7328
|
# If you do not specify a value, the AMI copy operation is completed
|
7313
7329
|
# on a best-effort basis.
|
@@ -8702,6 +8718,85 @@ module Aws::EC2
|
|
8702
8718
|
include Aws::Structure
|
8703
8719
|
end
|
8704
8720
|
|
8721
|
+
# @!attribute [rw] client_token
|
8722
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
8723
|
+
# idempotency of the request. For more information, see [Ensuring
|
8724
|
+
# Idempotency][1].
|
8725
|
+
#
|
8726
|
+
# **A suitable default value is auto-generated.** You should normally
|
8727
|
+
# not need to pass this option.
|
8728
|
+
#
|
8729
|
+
#
|
8730
|
+
#
|
8731
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
|
8732
|
+
# @return [String]
|
8733
|
+
#
|
8734
|
+
# @!attribute [rw] dry_run
|
8735
|
+
# Checks whether you have the required permissions for the action,
|
8736
|
+
# without actually making the request, and provides an error response.
|
8737
|
+
# If you have the required permissions, the error response is
|
8738
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
8739
|
+
# @return [Boolean]
|
8740
|
+
#
|
8741
|
+
# @!attribute [rw] instance_id
|
8742
|
+
# The ID of the Amazon EC2 Mac instance.
|
8743
|
+
# @return [String]
|
8744
|
+
#
|
8745
|
+
# @!attribute [rw] mac_credentials
|
8746
|
+
# Specifies the following credentials:
|
8747
|
+
#
|
8748
|
+
# * **Internal disk administrative user**
|
8749
|
+
#
|
8750
|
+
# * **Username** - Only the default administrative user
|
8751
|
+
# (`aws-managed-user`) is supported and it is used by default. You
|
8752
|
+
# can't specify a different administrative user.
|
8753
|
+
#
|
8754
|
+
# * **Password** - If you did not change the default password for
|
8755
|
+
# `aws-managed-user`, specify the default password, which is
|
8756
|
+
# *blank*. Otherwise, specify your password.
|
8757
|
+
# * **Amazon EBS root volume administrative user**
|
8758
|
+
#
|
8759
|
+
# * **Username** - If you did not change the default administrative
|
8760
|
+
# user, specify `ec2-user`. Otherwise, specify the username for
|
8761
|
+
# your administrative user.
|
8762
|
+
#
|
8763
|
+
# * **Password** - Specify the password for the administrative user.
|
8764
|
+
#
|
8765
|
+
# The credentials must be specified in the following JSON format:
|
8766
|
+
#
|
8767
|
+
# `{ "internalDiskPassword":"internal-disk-admin_password",
|
8768
|
+
# "rootVolumeUsername":"root-volume-admin_username",
|
8769
|
+
# "rootVolumepassword":"root-volume-admin_password" }`
|
8770
|
+
# @return [String]
|
8771
|
+
#
|
8772
|
+
# @!attribute [rw] tag_specifications
|
8773
|
+
# The tags to assign to the volume ownership delegation task.
|
8774
|
+
# @return [Array<Types::TagSpecification>]
|
8775
|
+
#
|
8776
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateDelegateMacVolumeOwnershipTaskRequest AWS API Documentation
|
8777
|
+
#
|
8778
|
+
class CreateDelegateMacVolumeOwnershipTaskRequest < Struct.new(
|
8779
|
+
:client_token,
|
8780
|
+
:dry_run,
|
8781
|
+
:instance_id,
|
8782
|
+
:mac_credentials,
|
8783
|
+
:tag_specifications)
|
8784
|
+
SENSITIVE = [:mac_credentials]
|
8785
|
+
include Aws::Structure
|
8786
|
+
end
|
8787
|
+
|
8788
|
+
# @!attribute [rw] mac_modification_task
|
8789
|
+
# Information about the volume ownership delegation task.
|
8790
|
+
# @return [Types::MacModificationTask]
|
8791
|
+
#
|
8792
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateDelegateMacVolumeOwnershipTaskResult AWS API Documentation
|
8793
|
+
#
|
8794
|
+
class CreateDelegateMacVolumeOwnershipTaskResult < Struct.new(
|
8795
|
+
:mac_modification_task)
|
8796
|
+
SENSITIVE = []
|
8797
|
+
include Aws::Structure
|
8798
|
+
end
|
8799
|
+
|
8705
8800
|
# @!attribute [rw] dhcp_configurations
|
8706
8801
|
# A DHCP configuration option.
|
8707
8802
|
# @return [Array<Types::NewDhcpConfiguration>]
|
@@ -10616,6 +10711,101 @@ module Aws::EC2
|
|
10616
10711
|
include Aws::Structure
|
10617
10712
|
end
|
10618
10713
|
|
10714
|
+
# @!attribute [rw] client_token
|
10715
|
+
# Unique, case-sensitive identifier that you provide to ensure the
|
10716
|
+
# idempotency of the request. For more information, see [Ensuring
|
10717
|
+
# Idempotency][1].
|
10718
|
+
#
|
10719
|
+
# **A suitable default value is auto-generated.** You should normally
|
10720
|
+
# not need to pass this option.
|
10721
|
+
#
|
10722
|
+
#
|
10723
|
+
#
|
10724
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html
|
10725
|
+
# @return [String]
|
10726
|
+
#
|
10727
|
+
# @!attribute [rw] dry_run
|
10728
|
+
# Checks whether you have the required permissions for the action,
|
10729
|
+
# without actually making the request, and provides an error response.
|
10730
|
+
# If you have the required permissions, the error response is
|
10731
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
10732
|
+
# @return [Boolean]
|
10733
|
+
#
|
10734
|
+
# @!attribute [rw] instance_id
|
10735
|
+
# The ID of the Amazon EC2 Mac instance.
|
10736
|
+
# @return [String]
|
10737
|
+
#
|
10738
|
+
# @!attribute [rw] mac_credentials
|
10739
|
+
# **\[Apple silicon Mac instances only\]** Specifies the following
|
10740
|
+
# credentials:
|
10741
|
+
#
|
10742
|
+
# * **Internal disk administrative user**
|
10743
|
+
#
|
10744
|
+
# * **Username** - Only the default administrative user
|
10745
|
+
# (`aws-managed-user`) is supported and it is used by default. You
|
10746
|
+
# can't specify a different administrative user.
|
10747
|
+
#
|
10748
|
+
# * **Password** - If you did not change the default password for
|
10749
|
+
# `aws-managed-user`, specify the default password, which is
|
10750
|
+
# *blank*. Otherwise, specify your password.
|
10751
|
+
# * **Amazon EBS root volume administrative user**
|
10752
|
+
#
|
10753
|
+
# * **Username** - If you did not change the default administrative
|
10754
|
+
# user, specify `ec2-user`. Otherwise, specify the username for
|
10755
|
+
# your administrative user.
|
10756
|
+
#
|
10757
|
+
# * **Password** - Specify the password for the administrative user.
|
10758
|
+
#
|
10759
|
+
# The credentials must be specified in the following JSON format:
|
10760
|
+
#
|
10761
|
+
# `{ "internalDiskPassword":"internal-disk-admin_password",
|
10762
|
+
# "rootVolumeUsername":"root-volume-admin_username",
|
10763
|
+
# "rootVolumepassword":"root-volume-admin_password" }`
|
10764
|
+
# @return [String]
|
10765
|
+
#
|
10766
|
+
# @!attribute [rw] mac_system_integrity_protection_configuration
|
10767
|
+
# Specifies the overrides to selectively enable or disable individual
|
10768
|
+
# SIP settings. The individual settings you specify here override the
|
10769
|
+
# overall SIP status you specify for
|
10770
|
+
# **MacSystemIntegrityProtectionStatus**.
|
10771
|
+
# @return [Types::MacSystemIntegrityProtectionConfigurationRequest]
|
10772
|
+
#
|
10773
|
+
# @!attribute [rw] mac_system_integrity_protection_status
|
10774
|
+
# Specifies the overall SIP status for the instance. To enable all SIP
|
10775
|
+
# settings, specify `enabled`. To disable all SIP settings, specify
|
10776
|
+
# `disabled`.
|
10777
|
+
# @return [String]
|
10778
|
+
#
|
10779
|
+
# @!attribute [rw] tag_specifications
|
10780
|
+
# Specifies tags to apply to the SIP modification task.
|
10781
|
+
# @return [Array<Types::TagSpecification>]
|
10782
|
+
#
|
10783
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateMacSystemIntegrityProtectionModificationTaskRequest AWS API Documentation
|
10784
|
+
#
|
10785
|
+
class CreateMacSystemIntegrityProtectionModificationTaskRequest < Struct.new(
|
10786
|
+
:client_token,
|
10787
|
+
:dry_run,
|
10788
|
+
:instance_id,
|
10789
|
+
:mac_credentials,
|
10790
|
+
:mac_system_integrity_protection_configuration,
|
10791
|
+
:mac_system_integrity_protection_status,
|
10792
|
+
:tag_specifications)
|
10793
|
+
SENSITIVE = [:mac_credentials]
|
10794
|
+
include Aws::Structure
|
10795
|
+
end
|
10796
|
+
|
10797
|
+
# @!attribute [rw] mac_modification_task
|
10798
|
+
# Information about the SIP modification task.
|
10799
|
+
# @return [Types::MacModificationTask]
|
10800
|
+
#
|
10801
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateMacSystemIntegrityProtectionModificationTaskResult AWS API Documentation
|
10802
|
+
#
|
10803
|
+
class CreateMacSystemIntegrityProtectionModificationTaskResult < Struct.new(
|
10804
|
+
:mac_modification_task)
|
10805
|
+
SENSITIVE = []
|
10806
|
+
include Aws::Structure
|
10807
|
+
end
|
10808
|
+
|
10619
10809
|
# @!attribute [rw] dry_run
|
10620
10810
|
# Checks whether you have the required permissions for the action,
|
10621
10811
|
# without actually making the request, and provides an error response.
|
@@ -24925,6 +25115,77 @@ module Aws::EC2
|
|
24925
25115
|
include Aws::Structure
|
24926
25116
|
end
|
24927
25117
|
|
25118
|
+
# @!attribute [rw] dry_run
|
25119
|
+
# Checks whether you have the required permissions for the action,
|
25120
|
+
# without actually making the request, and provides an error response.
|
25121
|
+
# If you have the required permissions, the error response is
|
25122
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
25123
|
+
# @return [Boolean]
|
25124
|
+
#
|
25125
|
+
# @!attribute [rw] filters
|
25126
|
+
# Specifies one or more filters for the request:
|
25127
|
+
#
|
25128
|
+
# * `instance-id` - The ID of the instance for which the task was
|
25129
|
+
# created.
|
25130
|
+
#
|
25131
|
+
# * `task-state` - The state of the task (`successful` \| `failed` \|
|
25132
|
+
# `in-progress` \| `pending`).
|
25133
|
+
#
|
25134
|
+
# * `mac-system-integrity-protection-configuration.sip-status` - The
|
25135
|
+
# overall SIP state requested in the task (`enabled` \| `disabled`).
|
25136
|
+
#
|
25137
|
+
# * `start-time` - The date and time the task was created.
|
25138
|
+
#
|
25139
|
+
# * `task-type` - The type of task (`sip-modification` \|
|
25140
|
+
# `volume-ownership-delegation`).
|
25141
|
+
# @return [Array<Types::Filter>]
|
25142
|
+
#
|
25143
|
+
# @!attribute [rw] mac_modification_task_ids
|
25144
|
+
# The ID of task.
|
25145
|
+
# @return [Array<String>]
|
25146
|
+
#
|
25147
|
+
# @!attribute [rw] max_results
|
25148
|
+
# The maximum number of results to return for the request in a single
|
25149
|
+
# page. The remaining results can be seen by sending another request
|
25150
|
+
# with the returned `nextToken` value. This value can be between 5 and
|
25151
|
+
# 500. If `maxResults` is given a larger value than 500, you receive
|
25152
|
+
# an error.
|
25153
|
+
# @return [Integer]
|
25154
|
+
#
|
25155
|
+
# @!attribute [rw] next_token
|
25156
|
+
# The token to use to retrieve the next page of results.
|
25157
|
+
# @return [String]
|
25158
|
+
#
|
25159
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeMacModificationTasksRequest AWS API Documentation
|
25160
|
+
#
|
25161
|
+
class DescribeMacModificationTasksRequest < Struct.new(
|
25162
|
+
:dry_run,
|
25163
|
+
:filters,
|
25164
|
+
:mac_modification_task_ids,
|
25165
|
+
:max_results,
|
25166
|
+
:next_token)
|
25167
|
+
SENSITIVE = []
|
25168
|
+
include Aws::Structure
|
25169
|
+
end
|
25170
|
+
|
25171
|
+
# @!attribute [rw] mac_modification_tasks
|
25172
|
+
# Information about the tasks.
|
25173
|
+
# @return [Array<Types::MacModificationTask>]
|
25174
|
+
#
|
25175
|
+
# @!attribute [rw] next_token
|
25176
|
+
# The token to use to retrieve the next page of results. This value is
|
25177
|
+
# `null` when there are no more results to return.
|
25178
|
+
# @return [String]
|
25179
|
+
#
|
25180
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeMacModificationTasksResult AWS API Documentation
|
25181
|
+
#
|
25182
|
+
class DescribeMacModificationTasksResult < Struct.new(
|
25183
|
+
:mac_modification_tasks,
|
25184
|
+
:next_token)
|
25185
|
+
SENSITIVE = []
|
25186
|
+
include Aws::Structure
|
25187
|
+
end
|
25188
|
+
|
24928
25189
|
# @!attribute [rw] dry_run
|
24929
25190
|
# Checks whether you have the required permissions for the action,
|
24930
25191
|
# without actually making the request, and provides an error response.
|
@@ -26394,6 +26655,9 @@ module Aws::EC2
|
|
26394
26655
|
# * `modification-result.target-configuration.availability-zone` - The
|
26395
26656
|
# Availability Zone for the new Reserved Instances.
|
26396
26657
|
#
|
26658
|
+
# * `modification-result.target-configuration.availability-zone-id` -
|
26659
|
+
# The ID of the Availability Zone for the new Reserved Instances.
|
26660
|
+
#
|
26397
26661
|
# * `modification-result.target-configuration.instance-count ` - The
|
26398
26662
|
# number of new Reserved Instances.
|
26399
26663
|
#
|
@@ -26449,6 +26713,9 @@ module Aws::EC2
|
|
26449
26713
|
#
|
26450
26714
|
# @!attribute [rw] availability_zone
|
26451
26715
|
# The Availability Zone in which the Reserved Instance can be used.
|
26716
|
+
#
|
26717
|
+
# Either `AvailabilityZone` or `AvailabilityZoneId` can be specified,
|
26718
|
+
# but not both.
|
26452
26719
|
# @return [String]
|
26453
26720
|
#
|
26454
26721
|
# @!attribute [rw] include_marketplace
|
@@ -26501,6 +26768,13 @@ module Aws::EC2
|
|
26501
26768
|
# One or more Reserved Instances offering IDs.
|
26502
26769
|
# @return [Array<String>]
|
26503
26770
|
#
|
26771
|
+
# @!attribute [rw] availability_zone_id
|
26772
|
+
# The ID of the Availability Zone.
|
26773
|
+
#
|
26774
|
+
# Either `AvailabilityZone` or `AvailabilityZoneId` can be specified,
|
26775
|
+
# but not both.
|
26776
|
+
# @return [String]
|
26777
|
+
#
|
26504
26778
|
# @!attribute [rw] dry_run
|
26505
26779
|
# Checks whether you have the required permissions for the action,
|
26506
26780
|
# without actually making the request, and provides an error response.
|
@@ -26514,6 +26788,9 @@ module Aws::EC2
|
|
26514
26788
|
# * `availability-zone` - The Availability Zone where the Reserved
|
26515
26789
|
# Instance can be used.
|
26516
26790
|
#
|
26791
|
+
# * `availability-zone-id` - The ID of the Availability Zone where the
|
26792
|
+
# Reserved Instance can be used.
|
26793
|
+
#
|
26517
26794
|
# * `duration` - The duration of the Reserved Instance (for example,
|
26518
26795
|
# one year or three years), in seconds (`31536000` \| `94608000`).
|
26519
26796
|
#
|
@@ -26588,6 +26865,7 @@ module Aws::EC2
|
|
26588
26865
|
:offering_class,
|
26589
26866
|
:product_description,
|
26590
26867
|
:reserved_instances_offering_ids,
|
26868
|
+
:availability_zone_id,
|
26591
26869
|
:dry_run,
|
26592
26870
|
:filters,
|
26593
26871
|
:instance_tenancy,
|
@@ -26644,6 +26922,9 @@ module Aws::EC2
|
|
26644
26922
|
# * `availability-zone` - The Availability Zone where the Reserved
|
26645
26923
|
# Instance can be used.
|
26646
26924
|
#
|
26925
|
+
# * `availability-zone-id` - The ID of the Availability Zone where the
|
26926
|
+
# Reserved Instance can be used.
|
26927
|
+
#
|
26647
26928
|
# * `duration` - The duration of the Reserved Instance (one year or
|
26648
26929
|
# three years), in seconds (`31536000` \| `94608000`).
|
26649
26930
|
#
|
@@ -35641,6 +35922,10 @@ module Aws::EC2
|
|
35641
35922
|
# The Availability Zones.
|
35642
35923
|
# @return [Array<String>]
|
35643
35924
|
#
|
35925
|
+
# @!attribute [rw] availability_zone_ids
|
35926
|
+
# The IDs of the Availability Zones.
|
35927
|
+
# @return [Array<String>]
|
35928
|
+
#
|
35644
35929
|
# @!attribute [rw] cidrs
|
35645
35930
|
# The CIDR ranges.
|
35646
35931
|
# @return [Array<String>]
|
@@ -35842,6 +36127,7 @@ module Aws::EC2
|
|
35842
36127
|
:addresses,
|
35843
36128
|
:attached_to,
|
35844
36129
|
:availability_zones,
|
36130
|
+
:availability_zone_ids,
|
35845
36131
|
:cidrs,
|
35846
36132
|
:component,
|
35847
36133
|
:customer_gateway,
|
@@ -51965,6 +52251,154 @@ module Aws::EC2
|
|
51965
52251
|
include Aws::Structure
|
51966
52252
|
end
|
51967
52253
|
|
52254
|
+
# Information about a System Integrity Protection (SIP) modification
|
52255
|
+
# task or volume ownership delegation task for an Amazon EC2 Mac
|
52256
|
+
# instance.
|
52257
|
+
#
|
52258
|
+
# @!attribute [rw] instance_id
|
52259
|
+
# The ID of the Amazon EC2 Mac instance.
|
52260
|
+
# @return [String]
|
52261
|
+
#
|
52262
|
+
# @!attribute [rw] mac_modification_task_id
|
52263
|
+
# The ID of task.
|
52264
|
+
# @return [String]
|
52265
|
+
#
|
52266
|
+
# @!attribute [rw] mac_system_integrity_protection_config
|
52267
|
+
# \[SIP modification tasks only\] Information about the SIP
|
52268
|
+
# configuration.
|
52269
|
+
# @return [Types::MacSystemIntegrityProtectionConfiguration]
|
52270
|
+
#
|
52271
|
+
# @!attribute [rw] start_time
|
52272
|
+
# The date and time the task was created, in the UTC timezone
|
52273
|
+
# (`YYYY-MM-DDThh:mm:ss.sssZ`).
|
52274
|
+
# @return [Time]
|
52275
|
+
#
|
52276
|
+
# @!attribute [rw] tags
|
52277
|
+
# The tags assigned to the task.
|
52278
|
+
# @return [Array<Types::Tag>]
|
52279
|
+
#
|
52280
|
+
# @!attribute [rw] task_state
|
52281
|
+
# The state of the task.
|
52282
|
+
# @return [String]
|
52283
|
+
#
|
52284
|
+
# @!attribute [rw] task_type
|
52285
|
+
# The type of task.
|
52286
|
+
# @return [String]
|
52287
|
+
#
|
52288
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/MacModificationTask AWS API Documentation
|
52289
|
+
#
|
52290
|
+
class MacModificationTask < Struct.new(
|
52291
|
+
:instance_id,
|
52292
|
+
:mac_modification_task_id,
|
52293
|
+
:mac_system_integrity_protection_config,
|
52294
|
+
:start_time,
|
52295
|
+
:tags,
|
52296
|
+
:task_state,
|
52297
|
+
:task_type)
|
52298
|
+
SENSITIVE = []
|
52299
|
+
include Aws::Structure
|
52300
|
+
end
|
52301
|
+
|
52302
|
+
# Describes the configuration for a System Integrity Protection (SIP)
|
52303
|
+
# modification task.
|
52304
|
+
#
|
52305
|
+
# @!attribute [rw] apple_internal
|
52306
|
+
# Indicates whether Apple Internal was enabled or disabled by the
|
52307
|
+
# task.
|
52308
|
+
# @return [String]
|
52309
|
+
#
|
52310
|
+
# @!attribute [rw] base_system
|
52311
|
+
# Indicates whether Base System was enabled or disabled by the task.
|
52312
|
+
# @return [String]
|
52313
|
+
#
|
52314
|
+
# @!attribute [rw] debugging_restrictions
|
52315
|
+
# Indicates whether Debugging Restrictions was enabled or disabled by
|
52316
|
+
# the task.
|
52317
|
+
# @return [String]
|
52318
|
+
#
|
52319
|
+
# @!attribute [rw] d_trace_restrictions
|
52320
|
+
# Indicates whether Dtrace Restrictions was enabled or disabled by the
|
52321
|
+
# task.
|
52322
|
+
# @return [String]
|
52323
|
+
#
|
52324
|
+
# @!attribute [rw] filesystem_protections
|
52325
|
+
# Indicates whether Filesystem Protections was enabled or disabled by
|
52326
|
+
# the task.
|
52327
|
+
# @return [String]
|
52328
|
+
#
|
52329
|
+
# @!attribute [rw] kext_signing
|
52330
|
+
# Indicates whether Kext Signing was enabled or disabled by the task.
|
52331
|
+
# @return [String]
|
52332
|
+
#
|
52333
|
+
# @!attribute [rw] nvram_protections
|
52334
|
+
# Indicates whether NVRAM Protections was enabled or disabled by the
|
52335
|
+
# task.
|
52336
|
+
# @return [String]
|
52337
|
+
#
|
52338
|
+
# @!attribute [rw] status
|
52339
|
+
# Indicates SIP was enabled or disabled by the task.
|
52340
|
+
# @return [String]
|
52341
|
+
#
|
52342
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/MacSystemIntegrityProtectionConfiguration AWS API Documentation
|
52343
|
+
#
|
52344
|
+
class MacSystemIntegrityProtectionConfiguration < Struct.new(
|
52345
|
+
:apple_internal,
|
52346
|
+
:base_system,
|
52347
|
+
:debugging_restrictions,
|
52348
|
+
:d_trace_restrictions,
|
52349
|
+
:filesystem_protections,
|
52350
|
+
:kext_signing,
|
52351
|
+
:nvram_protections,
|
52352
|
+
:status)
|
52353
|
+
SENSITIVE = []
|
52354
|
+
include Aws::Structure
|
52355
|
+
end
|
52356
|
+
|
52357
|
+
# Describes a custom configuration for a System Integrity Protection
|
52358
|
+
# (SIP) modification task.
|
52359
|
+
#
|
52360
|
+
# @!attribute [rw] apple_internal
|
52361
|
+
# Enables or disables Apple Internal.
|
52362
|
+
# @return [String]
|
52363
|
+
#
|
52364
|
+
# @!attribute [rw] base_system
|
52365
|
+
# Enables or disables Base System.
|
52366
|
+
# @return [String]
|
52367
|
+
#
|
52368
|
+
# @!attribute [rw] debugging_restrictions
|
52369
|
+
# Enables or disables Debugging Restrictions.
|
52370
|
+
# @return [String]
|
52371
|
+
#
|
52372
|
+
# @!attribute [rw] d_trace_restrictions
|
52373
|
+
# Enables or disables Dtrace Restrictions.
|
52374
|
+
# @return [String]
|
52375
|
+
#
|
52376
|
+
# @!attribute [rw] filesystem_protections
|
52377
|
+
# Enables or disables Filesystem Protections.
|
52378
|
+
# @return [String]
|
52379
|
+
#
|
52380
|
+
# @!attribute [rw] kext_signing
|
52381
|
+
# Enables or disables Kext Signing.
|
52382
|
+
# @return [String]
|
52383
|
+
#
|
52384
|
+
# @!attribute [rw] nvram_protections
|
52385
|
+
# Enables or disables Nvram Protections.
|
52386
|
+
# @return [String]
|
52387
|
+
#
|
52388
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/MacSystemIntegrityProtectionConfigurationRequest AWS API Documentation
|
52389
|
+
#
|
52390
|
+
class MacSystemIntegrityProtectionConfigurationRequest < Struct.new(
|
52391
|
+
:apple_internal,
|
52392
|
+
:base_system,
|
52393
|
+
:debugging_restrictions,
|
52394
|
+
:d_trace_restrictions,
|
52395
|
+
:filesystem_protections,
|
52396
|
+
:kext_signing,
|
52397
|
+
:nvram_protections)
|
52398
|
+
SENSITIVE = []
|
52399
|
+
include Aws::Structure
|
52400
|
+
end
|
52401
|
+
|
51968
52402
|
# Details for Site-to-Site VPN tunnel endpoint maintenance events.
|
51969
52403
|
#
|
51970
52404
|
# @!attribute [rw] pending_maintenance
|
@@ -63812,6 +64246,10 @@ module Aws::EC2
|
|
63812
64246
|
# Any tags assigned to the resource.
|
63813
64247
|
# @return [Array<Types::Tag>]
|
63814
64248
|
#
|
64249
|
+
# @!attribute [rw] availability_zone_id
|
64250
|
+
# The ID of the Availability Zone.
|
64251
|
+
# @return [String]
|
64252
|
+
#
|
63815
64253
|
# @!attribute [rw] reserved_instances_id
|
63816
64254
|
# The ID of the Reserved Instance.
|
63817
64255
|
# @return [String]
|
@@ -63866,6 +64304,7 @@ module Aws::EC2
|
|
63866
64304
|
:recurring_charges,
|
63867
64305
|
:scope,
|
63868
64306
|
:tags,
|
64307
|
+
:availability_zone_id,
|
63869
64308
|
:reserved_instances_id,
|
63870
64309
|
:instance_type,
|
63871
64310
|
:availability_zone,
|
@@ -63909,6 +64348,10 @@ module Aws::EC2
|
|
63909
64348
|
# instances in a specific Availability Zone.
|
63910
64349
|
# @return [String]
|
63911
64350
|
#
|
64351
|
+
# @!attribute [rw] availability_zone_id
|
64352
|
+
# The ID of the Availability Zone.
|
64353
|
+
# @return [String]
|
64354
|
+
#
|
63912
64355
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ReservedInstancesConfiguration AWS API Documentation
|
63913
64356
|
#
|
63914
64357
|
class ReservedInstancesConfiguration < Struct.new(
|
@@ -63916,7 +64359,8 @@ module Aws::EC2
|
|
63916
64359
|
:instance_count,
|
63917
64360
|
:instance_type,
|
63918
64361
|
:platform,
|
63919
|
-
:scope
|
64362
|
+
:scope,
|
64363
|
+
:availability_zone_id)
|
63920
64364
|
SENSITIVE = []
|
63921
64365
|
include Aws::Structure
|
63922
64366
|
end
|
@@ -64125,6 +64569,10 @@ module Aws::EC2
|
|
64125
64569
|
# an Availability Zone.
|
64126
64570
|
# @return [String]
|
64127
64571
|
#
|
64572
|
+
# @!attribute [rw] availability_zone_id
|
64573
|
+
# The ID of the Availability Zone.
|
64574
|
+
# @return [String]
|
64575
|
+
#
|
64128
64576
|
# @!attribute [rw] reserved_instances_offering_id
|
64129
64577
|
# The ID of the Reserved Instance offering. This is the offering ID
|
64130
64578
|
# used in GetReservedInstancesExchangeQuote to confirm that an
|
@@ -64166,6 +64614,7 @@ module Aws::EC2
|
|
64166
64614
|
:pricing_details,
|
64167
64615
|
:recurring_charges,
|
64168
64616
|
:scope,
|
64617
|
+
:availability_zone_id,
|
64169
64618
|
:reserved_instances_offering_id,
|
64170
64619
|
:instance_type,
|
64171
64620
|
:availability_zone,
|
@@ -75713,6 +76162,10 @@ module Aws::EC2
|
|
75713
76162
|
# Information about the instances to which the volume is attached.
|
75714
76163
|
# @return [Array<Types::VolumeStatusAttachmentStatus>]
|
75715
76164
|
#
|
76165
|
+
# @!attribute [rw] availability_zone_id
|
76166
|
+
# The ID of the Availability Zone.
|
76167
|
+
# @return [String]
|
76168
|
+
#
|
75716
76169
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VolumeStatusItem AWS API Documentation
|
75717
76170
|
#
|
75718
76171
|
class VolumeStatusItem < Struct.new(
|
@@ -75722,7 +76175,8 @@ module Aws::EC2
|
|
75722
76175
|
:events,
|
75723
76176
|
:volume_id,
|
75724
76177
|
:volume_status,
|
75725
|
-
:attachment_statuses
|
76178
|
+
:attachment_statuses,
|
76179
|
+
:availability_zone_id)
|
75726
76180
|
SENSITIVE = []
|
75727
76181
|
include Aws::Structure
|
75728
76182
|
end
|
data/lib/aws-sdk-ec2/volume.rb
CHANGED
@@ -334,7 +334,7 @@ module Aws::EC2
|
|
334
334
|
# outpost_arn: "String",
|
335
335
|
# tag_specifications: [
|
336
336
|
# {
|
337
|
-
# resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-gateway, coip-pool, declarative-policies-report, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, ipam, ipam-pool, ipam-scope, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, network-insights-access-scope, network-insights-access-scope-analysis, outpost-lag, placement-group, prefix-list, replace-root-volume-task, reserved-instances, route-table, security-group, security-group-rule, service-link-virtual-interface, snapshot, spot-fleet-request, spot-instances-request, subnet, subnet-cidr-reservation, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-policy-table, transit-gateway-route-table, transit-gateway-route-table-announcement, volume, vpc, vpc-endpoint, vpc-endpoint-connection, vpc-endpoint-service, vpc-endpoint-service-permission, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log, capacity-reservation-fleet, traffic-mirror-filter-rule, vpc-endpoint-connection-device-type, verified-access-instance, verified-access-group, verified-access-endpoint, verified-access-policy, verified-access-trust-provider, vpn-connection-device-type, vpc-block-public-access-exclusion, route-server, route-server-endpoint, route-server-peer, ipam-resource-discovery, ipam-resource-discovery-association, instance-connect-endpoint, verified-access-endpoint-target, ipam-external-resource-verification-token
|
337
|
+
# resource_type: "capacity-reservation", # accepts capacity-reservation, client-vpn-endpoint, customer-gateway, carrier-gateway, coip-pool, declarative-policies-report, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, instance-event-window, internet-gateway, ipam, ipam-pool, ipam-scope, ipv4pool-ec2, ipv6pool-ec2, key-pair, launch-template, local-gateway, local-gateway-route-table, local-gateway-virtual-interface, local-gateway-virtual-interface-group, local-gateway-route-table-vpc-association, local-gateway-route-table-virtual-interface-group-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, network-insights-access-scope, network-insights-access-scope-analysis, outpost-lag, placement-group, prefix-list, replace-root-volume-task, reserved-instances, route-table, security-group, security-group-rule, service-link-virtual-interface, snapshot, spot-fleet-request, spot-instances-request, subnet, subnet-cidr-reservation, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-policy-table, transit-gateway-route-table, transit-gateway-route-table-announcement, volume, vpc, vpc-endpoint, vpc-endpoint-connection, vpc-endpoint-service, vpc-endpoint-service-permission, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log, capacity-reservation-fleet, traffic-mirror-filter-rule, vpc-endpoint-connection-device-type, verified-access-instance, verified-access-group, verified-access-endpoint, verified-access-policy, verified-access-trust-provider, vpn-connection-device-type, vpc-block-public-access-exclusion, route-server, route-server-endpoint, route-server-peer, ipam-resource-discovery, ipam-resource-discovery-association, instance-connect-endpoint, verified-access-endpoint-target, ipam-external-resource-verification-token, mac-modification-task
|
338
338
|
# tags: [
|
339
339
|
# {
|
340
340
|
# key: "String",
|