aws-sdk-ec2 1.420.0 → 1.422.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -11753,10 +11753,16 @@ module Aws::EC2
11753
11753
  # The ID of the tenant application with the device-identity provider.
11754
11754
  # @return [String]
11755
11755
  #
11756
+ # @!attribute [rw] public_signing_key_url
11757
+ # The URL Amazon Web Services Verified Access will use to verify the
11758
+ # authenticity of the device tokens.
11759
+ # @return [String]
11760
+ #
11756
11761
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVerifiedAccessTrustProviderDeviceOptions AWS API Documentation
11757
11762
  #
11758
11763
  class CreateVerifiedAccessTrustProviderDeviceOptions < Struct.new(
11759
- :tenant_id)
11764
+ :tenant_id,
11765
+ :public_signing_key_url)
11760
11766
  SENSITIVE = []
11761
11767
  include Aws::Structure
11762
11768
  end
@@ -21453,6 +21459,73 @@ module Aws::EC2
21453
21459
  include Aws::Structure
21454
21460
  end
21455
21461
 
21462
+ # @!attribute [rw] filters
21463
+ # The filters.
21464
+ #
21465
+ # * `lock-state` - The state of the snapshot lock
21466
+ # (`compliance-cooloff` \| `governance` \| `compliance` \|
21467
+ # `expired`).
21468
+ #
21469
+ # ^
21470
+ # @return [Array<Types::Filter>]
21471
+ #
21472
+ # @!attribute [rw] max_results
21473
+ # The maximum number of items to return for this request. To get the
21474
+ # next page of items, make another request with the token returned in
21475
+ # the output. For more information, see [Pagination][1].
21476
+ #
21477
+ #
21478
+ #
21479
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination
21480
+ # @return [Integer]
21481
+ #
21482
+ # @!attribute [rw] next_token
21483
+ # The token returned from a previous paginated request. Pagination
21484
+ # continues from the end of the items returned by the previous
21485
+ # request.
21486
+ # @return [String]
21487
+ #
21488
+ # @!attribute [rw] snapshot_ids
21489
+ # The IDs of the snapshots for which to view the lock status.
21490
+ # @return [Array<String>]
21491
+ #
21492
+ # @!attribute [rw] dry_run
21493
+ # Checks whether you have the required permissions for the action,
21494
+ # without actually making the request, and provides an error response.
21495
+ # If you have the required permissions, the error response is
21496
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
21497
+ # @return [Boolean]
21498
+ #
21499
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeLockedSnapshotsRequest AWS API Documentation
21500
+ #
21501
+ class DescribeLockedSnapshotsRequest < Struct.new(
21502
+ :filters,
21503
+ :max_results,
21504
+ :next_token,
21505
+ :snapshot_ids,
21506
+ :dry_run)
21507
+ SENSITIVE = []
21508
+ include Aws::Structure
21509
+ end
21510
+
21511
+ # @!attribute [rw] snapshots
21512
+ # Information about the snapshots.
21513
+ # @return [Array<Types::LockedSnapshotsInfo>]
21514
+ #
21515
+ # @!attribute [rw] next_token
21516
+ # The token to include in another request to get the next page of
21517
+ # items. This value is `null` when there are no more items to return.
21518
+ # @return [String]
21519
+ #
21520
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeLockedSnapshotsResult AWS API Documentation
21521
+ #
21522
+ class DescribeLockedSnapshotsResult < Struct.new(
21523
+ :snapshots,
21524
+ :next_token)
21525
+ SENSITIVE = []
21526
+ include Aws::Structure
21527
+ end
21528
+
21456
21529
  # @!attribute [rw] dry_run
21457
21530
  # Checks whether you have the required permissions for the action,
21458
21531
  # without actually making the request, and provides an error response.
@@ -27699,10 +27772,16 @@ module Aws::EC2
27699
27772
  # The ID of the tenant application with the device-identity provider.
27700
27773
  # @return [String]
27701
27774
  #
27775
+ # @!attribute [rw] public_signing_key_url
27776
+ # The URL Amazon Web Services Verified Access will use to verify the
27777
+ # authenticity of the device tokens.
27778
+ # @return [String]
27779
+ #
27702
27780
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeviceOptions AWS API Documentation
27703
27781
  #
27704
27782
  class DeviceOptions < Struct.new(
27705
- :tenant_id)
27783
+ :tenant_id,
27784
+ :public_signing_key_url)
27706
27785
  SENSITIVE = []
27707
27786
  include Aws::Structure
27708
27787
  end
@@ -44694,6 +44773,251 @@ module Aws::EC2
44694
44773
  include Aws::Structure
44695
44774
  end
44696
44775
 
44776
+ # @!attribute [rw] snapshot_id
44777
+ # The ID of the snapshot to lock.
44778
+ # @return [String]
44779
+ #
44780
+ # @!attribute [rw] dry_run
44781
+ # Checks whether you have the required permissions for the action,
44782
+ # without actually making the request, and provides an error response.
44783
+ # If you have the required permissions, the error response is
44784
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
44785
+ # @return [Boolean]
44786
+ #
44787
+ # @!attribute [rw] lock_mode
44788
+ # The mode in which to lock the snapshot. Specify one of the
44789
+ # following:
44790
+ #
44791
+ # * `governance` - Locks the snapshot in governance mode. Snapshots
44792
+ # locked in governance mode can't be deleted until one of the
44793
+ # following conditions are met:
44794
+ #
44795
+ # * The lock duration expires.
44796
+ #
44797
+ # * The snapshot is unlocked by a user with the appropriate
44798
+ # permissions.
44799
+ #
44800
+ # Users with the appropriate IAM permissions can unlock the
44801
+ # snapshot, increase or decrease the lock duration, and change the
44802
+ # lock mode to `compliance` at any time.
44803
+ #
44804
+ # If you lock a snapshot in `governance` mode, omit <b>
44805
+ # CoolOffPeriod</b>.
44806
+ #
44807
+ # * `compliance` - Locks the snapshot in compliance mode. Snapshots
44808
+ # locked in compliance mode can't be unlocked by any user. They can
44809
+ # be deleted only after the lock duration expires. Users can't
44810
+ # decrease the lock duration or change the lock mode to
44811
+ # `governance`. However, users with appropriate IAM permissions can
44812
+ # increase the lock duration at any time.
44813
+ #
44814
+ # If you lock a snapshot in `compliance` mode, you can optionally
44815
+ # specify **CoolOffPeriod**.
44816
+ # @return [String]
44817
+ #
44818
+ # @!attribute [rw] cool_off_period
44819
+ # The cooling-off period during which you can unlock the snapshot or
44820
+ # modify the lock settings after locking the snapshot in compliance
44821
+ # mode, in hours. After the cooling-off period expires, you can't
44822
+ # unlock or delete the snapshot, decrease the lock duration, or change
44823
+ # the lock mode. You can increase the lock duration after the
44824
+ # cooling-off period expires.
44825
+ #
44826
+ # The cooling-off period is optional when locking a snapshot in
44827
+ # compliance mode. If you are locking the snapshot in governance mode,
44828
+ # omit this parameter.
44829
+ #
44830
+ # To lock the snapshot in compliance mode immediately without a
44831
+ # cooling-off period, omit this parameter.
44832
+ #
44833
+ # If you are extending the lock duration for a snapshot that is locked
44834
+ # in compliance mode after the cooling-off period has expired, omit
44835
+ # this parameter. If you specify a cooling-period in a such a request,
44836
+ # the request fails.
44837
+ #
44838
+ # Allowed values: Min 1, max 72.
44839
+ # @return [Integer]
44840
+ #
44841
+ # @!attribute [rw] lock_duration
44842
+ # The period of time for which to lock the snapshot, in days. The
44843
+ # snapshot lock will automatically expire after this period lapses.
44844
+ #
44845
+ # You must specify either this parameter or **ExpirationDate**, but
44846
+ # not both.
44847
+ #
44848
+ # Allowed values: Min: 1, max 36500
44849
+ # @return [Integer]
44850
+ #
44851
+ # @!attribute [rw] expiration_date
44852
+ # The date and time at which the snapshot lock is to automatically
44853
+ # expire, in the UTC time zone (`YYYY-MM-DDThh:mm:ss.sssZ`).
44854
+ #
44855
+ # You must specify either this parameter or **LockDuration**, but not
44856
+ # both.
44857
+ # @return [Time]
44858
+ #
44859
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LockSnapshotRequest AWS API Documentation
44860
+ #
44861
+ class LockSnapshotRequest < Struct.new(
44862
+ :snapshot_id,
44863
+ :dry_run,
44864
+ :lock_mode,
44865
+ :cool_off_period,
44866
+ :lock_duration,
44867
+ :expiration_date)
44868
+ SENSITIVE = []
44869
+ include Aws::Structure
44870
+ end
44871
+
44872
+ # @!attribute [rw] snapshot_id
44873
+ # The ID of the snapshot
44874
+ # @return [String]
44875
+ #
44876
+ # @!attribute [rw] lock_state
44877
+ # The state of the snapshot lock. Valid states include:
44878
+ #
44879
+ # * `compliance-cooloff` - The snapshot has been locked in compliance
44880
+ # mode but it is still within the cooling-off period. The snapshot
44881
+ # can't be deleted, but it can be unlocked and the lock settings
44882
+ # can be modified by users with appropriate permissions.
44883
+ #
44884
+ # * `governance` - The snapshot is locked in governance mode. The
44885
+ # snapshot can't be deleted, but it can be unlocked and the lock
44886
+ # settings can be modified by users with appropriate permissions.
44887
+ #
44888
+ # * `compliance` - The snapshot is locked in compliance mode and the
44889
+ # cooling-off period has expired. The snapshot can't be unlocked or
44890
+ # deleted. The lock duration can only be increased by users with
44891
+ # appropriate permissions.
44892
+ #
44893
+ # * `expired` - The snapshot was locked in compliance or governance
44894
+ # mode but the lock duration has expired. The snapshot is not locked
44895
+ # and can be deleted.
44896
+ # @return [String]
44897
+ #
44898
+ # @!attribute [rw] lock_duration
44899
+ # The period of time for which the snapshot is locked, in days.
44900
+ # @return [Integer]
44901
+ #
44902
+ # @!attribute [rw] cool_off_period
44903
+ # The compliance mode cooling-off period, in hours.
44904
+ # @return [Integer]
44905
+ #
44906
+ # @!attribute [rw] cool_off_period_expires_on
44907
+ # The date and time at which the compliance mode cooling-off period
44908
+ # expires, in the UTC time zone (`YYYY-MM-DDThh:mm:ss.sssZ`).
44909
+ # @return [Time]
44910
+ #
44911
+ # @!attribute [rw] lock_created_on
44912
+ # The date and time at which the snapshot was locked, in the UTC time
44913
+ # zone (`YYYY-MM-DDThh:mm:ss.sssZ`).
44914
+ # @return [Time]
44915
+ #
44916
+ # @!attribute [rw] lock_expires_on
44917
+ # The date and time at which the lock will expire, in the UTC time
44918
+ # zone (`YYYY-MM-DDThh:mm:ss.sssZ`).
44919
+ # @return [Time]
44920
+ #
44921
+ # @!attribute [rw] lock_duration_start_time
44922
+ # The date and time at which the lock duration started, in the UTC
44923
+ # time zone (`YYYY-MM-DDThh:mm:ss.sssZ`).
44924
+ # @return [Time]
44925
+ #
44926
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LockSnapshotResult AWS API Documentation
44927
+ #
44928
+ class LockSnapshotResult < Struct.new(
44929
+ :snapshot_id,
44930
+ :lock_state,
44931
+ :lock_duration,
44932
+ :cool_off_period,
44933
+ :cool_off_period_expires_on,
44934
+ :lock_created_on,
44935
+ :lock_expires_on,
44936
+ :lock_duration_start_time)
44937
+ SENSITIVE = []
44938
+ include Aws::Structure
44939
+ end
44940
+
44941
+ # Information about a locked snapshot.
44942
+ #
44943
+ # @!attribute [rw] owner_id
44944
+ # The account ID of the Amazon Web Services account that owns the
44945
+ # snapshot.
44946
+ # @return [String]
44947
+ #
44948
+ # @!attribute [rw] snapshot_id
44949
+ # The ID of the snapshot.
44950
+ # @return [String]
44951
+ #
44952
+ # @!attribute [rw] lock_state
44953
+ # The state of the snapshot lock. Valid states include:
44954
+ #
44955
+ # * `compliance-cooloff` - The snapshot has been locked in compliance
44956
+ # mode but it is still within the cooling-off period. The snapshot
44957
+ # can't be deleted, but it can be unlocked and the lock settings
44958
+ # can be modified by users with appropriate permissions.
44959
+ #
44960
+ # * `governance` - The snapshot is locked in governance mode. The
44961
+ # snapshot can't be deleted, but it can be unlocked and the lock
44962
+ # settings can be modified by users with appropriate permissions.
44963
+ #
44964
+ # * `compliance` - The snapshot is locked in compliance mode and the
44965
+ # cooling-off period has expired. The snapshot can't be unlocked or
44966
+ # deleted. The lock duration can only be increased by users with
44967
+ # appropriate permissions.
44968
+ #
44969
+ # * `expired` - The snapshot was locked in compliance or governance
44970
+ # mode but the lock duration has expired. The snapshot is not locked
44971
+ # and can be deleted.
44972
+ # @return [String]
44973
+ #
44974
+ # @!attribute [rw] lock_duration
44975
+ # The period of time for which the snapshot is locked, in days.
44976
+ # @return [Integer]
44977
+ #
44978
+ # @!attribute [rw] cool_off_period
44979
+ # The compliance mode cooling-off period, in hours.
44980
+ # @return [Integer]
44981
+ #
44982
+ # @!attribute [rw] cool_off_period_expires_on
44983
+ # The date and time at which the compliance mode cooling-off period
44984
+ # expires, in the UTC time zone (`YYYY-MM-DDThh:mm:ss.sssZ`).
44985
+ # @return [Time]
44986
+ #
44987
+ # @!attribute [rw] lock_created_on
44988
+ # The date and time at which the snapshot was locked, in the UTC time
44989
+ # zone (`YYYY-MM-DDThh:mm:ss.sssZ`).
44990
+ # @return [Time]
44991
+ #
44992
+ # @!attribute [rw] lock_duration_start_time
44993
+ # The date and time at which the lock duration started, in the UTC
44994
+ # time zone (`YYYY-MM-DDThh:mm:ss.sssZ`).
44995
+ #
44996
+ # If you lock a snapshot that is in the `pending` state, the lock
44997
+ # duration starts only once the snapshot enters the `completed` state.
44998
+ # @return [Time]
44999
+ #
45000
+ # @!attribute [rw] lock_expires_on
45001
+ # The date and time at which the lock will expire, in the UTC time
45002
+ # zone (`YYYY-MM-DDThh:mm:ss.sssZ`).
45003
+ # @return [Time]
45004
+ #
45005
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LockedSnapshotsInfo AWS API Documentation
45006
+ #
45007
+ class LockedSnapshotsInfo < Struct.new(
45008
+ :owner_id,
45009
+ :snapshot_id,
45010
+ :lock_state,
45011
+ :lock_duration,
45012
+ :cool_off_period,
45013
+ :cool_off_period_expires_on,
45014
+ :lock_created_on,
45015
+ :lock_duration_start_time,
45016
+ :lock_expires_on)
45017
+ SENSITIVE = []
45018
+ include Aws::Structure
45019
+ end
45020
+
44697
45021
  # Details for Site-to-Site VPN tunnel endpoint maintenance events.
44698
45022
  #
44699
45023
  # @!attribute [rw] pending_maintenance
@@ -48151,6 +48475,22 @@ module Aws::EC2
48151
48475
  include Aws::Structure
48152
48476
  end
48153
48477
 
48478
+ # Modifies the configuration of the specified device-based Amazon Web
48479
+ # Services Verified Access trust provider.
48480
+ #
48481
+ # @!attribute [rw] public_signing_key_url
48482
+ # The URL Amazon Web Services Verified Access will use to verify the
48483
+ # authenticity of the device tokens.
48484
+ # @return [String]
48485
+ #
48486
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVerifiedAccessTrustProviderDeviceOptions AWS API Documentation
48487
+ #
48488
+ class ModifyVerifiedAccessTrustProviderDeviceOptions < Struct.new(
48489
+ :public_signing_key_url)
48490
+ SENSITIVE = []
48491
+ include Aws::Structure
48492
+ end
48493
+
48154
48494
  # Options for an OpenID Connect-compatible user-identity trust provider.
48155
48495
  #
48156
48496
  # @!attribute [rw] issuer
@@ -48206,6 +48546,11 @@ module Aws::EC2
48206
48546
  # provider.
48207
48547
  # @return [Types::ModifyVerifiedAccessTrustProviderOidcOptions]
48208
48548
  #
48549
+ # @!attribute [rw] device_options
48550
+ # The options for a device-based trust provider. This parameter is
48551
+ # required when the provider type is `device`.
48552
+ # @return [Types::ModifyVerifiedAccessTrustProviderDeviceOptions]
48553
+ #
48209
48554
  # @!attribute [rw] description
48210
48555
  # A description for the Verified Access trust provider.
48211
48556
  # @return [String]
@@ -48239,6 +48584,7 @@ module Aws::EC2
48239
48584
  class ModifyVerifiedAccessTrustProviderRequest < Struct.new(
48240
48585
  :verified_access_trust_provider_id,
48241
48586
  :oidc_options,
48587
+ :device_options,
48242
48588
  :description,
48243
48589
  :dry_run,
48244
48590
  :client_token,
@@ -63938,6 +64284,38 @@ module Aws::EC2
63938
64284
  include Aws::Structure
63939
64285
  end
63940
64286
 
64287
+ # @!attribute [rw] snapshot_id
64288
+ # The ID of the snapshot to unlock.
64289
+ # @return [String]
64290
+ #
64291
+ # @!attribute [rw] dry_run
64292
+ # Checks whether you have the required permissions for the action,
64293
+ # without actually making the request, and provides an error response.
64294
+ # If you have the required permissions, the error response is
64295
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
64296
+ # @return [Boolean]
64297
+ #
64298
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UnlockSnapshotRequest AWS API Documentation
64299
+ #
64300
+ class UnlockSnapshotRequest < Struct.new(
64301
+ :snapshot_id,
64302
+ :dry_run)
64303
+ SENSITIVE = []
64304
+ include Aws::Structure
64305
+ end
64306
+
64307
+ # @!attribute [rw] snapshot_id
64308
+ # The ID of the snapshot.
64309
+ # @return [String]
64310
+ #
64311
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/UnlockSnapshotResult AWS API Documentation
64312
+ #
64313
+ class UnlockSnapshotResult < Struct.new(
64314
+ :snapshot_id)
64315
+ SENSITIVE = []
64316
+ include Aws::Structure
64317
+ end
64318
+
63941
64319
  # @!attribute [rw] instance_ids
63942
64320
  # The IDs of the instances.
63943
64321
  # @return [Array<String>]
data/lib/aws-sdk-ec2.rb CHANGED
@@ -76,6 +76,6 @@ require_relative 'aws-sdk-ec2/customizations'
76
76
  # @!group service
77
77
  module Aws::EC2
78
78
 
79
- GEM_VERSION = '1.420.0'
79
+ GEM_VERSION = '1.422.0'
80
80
 
81
81
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-ec2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.420.0
4
+ version: 1.422.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-13 00:00:00.000000000 Z
11
+ date: 2023-11-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4