aws-sdk-ec2 1.384.0 → 1.385.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c23310f0eaa67f934b1ca38eae52787b6e22f2eeb7dc3fc02d3125e344561821
4
- data.tar.gz: 91ea7e27cafd94b667611b0ff48930ab6010eb9422e154614f65c7b6ef2c59b8
3
+ metadata.gz: 67c02182ef1d93574a31f5c3c7675a17fc8502efa5193ac54a873fe78cc08a09
4
+ data.tar.gz: 8b3ad8bec54e246864367ff42d3f82e272b87e8b4830bfa17390128082d9f837
5
5
  SHA512:
6
- metadata.gz: ed560f14d87ef6a8085ec9dfe3f0cc3994ea1a532a1e61b7e5f51b603abab24fdf8690257afeab9ccb1536ef73ec10a5dbc802d8fe39844defac60b7c8167ecd
7
- data.tar.gz: cccc3979388cd33ac7ee244eb04869fd8373e6e3c1b20fd31729c8aa2f7773c07cdd86631cd79787e173db6253b9785cddc632155c8e69978aad34e4903f6c23
6
+ metadata.gz: ff46f8cdbc4e67d6c4576ee73f8e21399c7620d00108786211f0ae983e9860f15d63c58f26bae115dc16feb54d7ad24c0fdf41e721461bae592ed7ae44c3001b
7
+ data.tar.gz: efd106c271b5e56f7069e9e63abac6d53eb0e090fdd45fb44e95e4034b6c4bf61ab82f6f0fa6e46415591530b5e76f3b115adce2929d422c57d2642588c0bc44
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.385.0 (2023-06-19)
5
+ ------------------
6
+
7
+ * Feature - API changes to AWS Verified Access to include data from trust providers in logs
8
+
4
9
  1.384.0 (2023-06-15)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.384.0
1
+ 1.385.0
@@ -903,32 +903,20 @@ module Aws::EC2
903
903
  # * {Types::AllocateAddressResult#carrier_ip #carrier_ip} => String
904
904
  #
905
905
  #
906
- # @example Example: To allocate an Elastic IP address for EC2-VPC
906
+ # @example Example: To allocate an Elastic IP address
907
907
  #
908
- # # This example allocates an Elastic IP address to use with an instance in a VPC.
908
+ # # This example allocates an Elastic IP address.
909
909
  #
910
910
  # resp = client.allocate_address({
911
- # domain: "vpc",
912
911
  # })
913
912
  #
914
913
  # resp.to_h outputs the following:
915
914
  # {
916
915
  # allocation_id: "eipalloc-64d5890a",
917
916
  # domain: "vpc",
917
+ # network_border_group: "us-east-1",
918
918
  # public_ip: "203.0.113.0",
919
- # }
920
- #
921
- # @example Example: To allocate an Elastic IP address for EC2-Classic
922
- #
923
- # # This example allocates an Elastic IP address to use with an instance in EC2-Classic.
924
- #
925
- # resp = client.allocate_address({
926
- # })
927
- #
928
- # resp.to_h outputs the following:
929
- # {
930
- # domain: "standard",
931
- # public_ip: "198.51.100.0",
919
+ # public_ipv_4_pool: "amazon",
932
920
  # }
933
921
  #
934
922
  # @example Request syntax with placeholder values
@@ -1589,9 +1577,9 @@ module Aws::EC2
1589
1577
  # * {Types::AssociateAddressResult#association_id #association_id} => String
1590
1578
  #
1591
1579
  #
1592
- # @example Example: To associate an Elastic IP address in EC2-VPC
1580
+ # @example Example: To associate an Elastic IP address
1593
1581
  #
1594
- # # This example associates the specified Elastic IP address with the specified instance in a VPC.
1582
+ # # This example associates the specified Elastic IP address with the specified instance.
1595
1583
  #
1596
1584
  # resp = client.associate_address({
1597
1585
  # allocation_id: "eipalloc-64d5890a",
@@ -1617,15 +1605,6 @@ module Aws::EC2
1617
1605
  # association_id: "eipassoc-2bebb745",
1618
1606
  # }
1619
1607
  #
1620
- # @example Example: To associate an Elastic IP address in EC2-Classic
1621
- #
1622
- # # This example associates an Elastic IP address with an instance in EC2-Classic.
1623
- #
1624
- # resp = client.associate_address({
1625
- # instance_id: "i-07ffe74c7330ebf53",
1626
- # public_ip: "198.51.100.0",
1627
- # })
1628
- #
1629
1608
  # @example Request syntax with placeholder values
1630
1609
  #
1631
1610
  # resp = client.associate_address({
@@ -4898,8 +4877,8 @@ module Aws::EC2
4898
4877
  # client_token: "String",
4899
4878
  # instance_type: "String", # required
4900
4879
  # instance_platform: "Linux/UNIX", # required, accepts Linux/UNIX, Red Hat Enterprise Linux, SUSE Linux, Windows, Windows with SQL Server, Windows with SQL Server Enterprise, Windows with SQL Server Standard, Windows with SQL Server Web, Linux with SQL Server Standard, Linux with SQL Server Web, Linux with SQL Server Enterprise, RHEL with SQL Server Standard, RHEL with SQL Server Enterprise, RHEL with SQL Server Web, RHEL with HA, RHEL with HA and SQL Server Standard, RHEL with HA and SQL Server Enterprise
4901
- # availability_zone: "String",
4902
- # availability_zone_id: "String",
4880
+ # availability_zone: "AvailabilityZoneName",
4881
+ # availability_zone_id: "AvailabilityZoneId",
4903
4882
  # tenancy: "default", # accepts default, dedicated
4904
4883
  # instance_count: 1, # required
4905
4884
  # ebs_optimized: false,
@@ -18944,9 +18923,6 @@ module Aws::EC2
18944
18923
  # Describes attributes of your Amazon Web Services account. The
18945
18924
  # following are the supported account attributes:
18946
18925
  #
18947
- # * `supported-platforms`: Indicates whether your account can launch
18948
- # instances into EC2-Classic and EC2-VPC, or only into EC2-VPC.
18949
- #
18950
18926
  # * `default-vpc`: The ID of the default VPC for your account, or
18951
18927
  # `none`.
18952
18928
  #
@@ -18955,25 +18931,20 @@ module Aws::EC2
18955
18931
  # Instances. For more information, see [On-Demand Instance Limits][1]
18956
18932
  # in the *Amazon Elastic Compute Cloud User Guide*.
18957
18933
  #
18958
- # * `vpc-max-security-groups-per-interface`: The maximum number of
18959
- # security groups that you can assign to a network interface.
18960
- #
18961
18934
  # * `max-elastic-ips`: The maximum number of Elastic IP addresses that
18962
- # you can allocate for use with EC2-Classic.
18935
+ # you can allocate.
18963
18936
  #
18964
- # * `vpc-max-elastic-ips`: The maximum number of Elastic IP addresses
18965
- # that you can allocate for use with EC2-VPC.
18937
+ # * `supported-platforms`: This attribute is deprecated.
18966
18938
  #
18967
- # <note markdown="1"> We are retiring EC2-Classic on August 15, 2022. We recommend that you
18968
- # migrate from EC2-Classic to a VPC. For more information, see [Migrate
18969
- # from EC2-Classic to a VPC][2] in the *Amazon EC2 User Guide*.
18939
+ # * `vpc-max-elastic-ips`: The maximum number of Elastic IP addresses
18940
+ # that you can allocate.
18970
18941
  #
18971
- # </note>
18942
+ # * `vpc-max-security-groups-per-interface`: The maximum number of
18943
+ # security groups that you can assign to a network interface.
18972
18944
  #
18973
18945
  #
18974
18946
  #
18975
18947
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-on-demand-instances.html#ec2-on-demand-instances-limits
18976
- # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html
18977
18948
  #
18978
18949
  # @option params [Array<String>] :attribute_names
18979
18950
  # The account attribute names.
@@ -19259,63 +19230,6 @@ module Aws::EC2
19259
19230
  # ],
19260
19231
  # }
19261
19232
  #
19262
- # @example Example: To describe your Elastic IP addresses for EC2-VPC
19263
- #
19264
- # # This example describes your Elastic IP addresses for use with instances in a VPC.
19265
- #
19266
- # resp = client.describe_addresses({
19267
- # filters: [
19268
- # {
19269
- # name: "domain",
19270
- # values: [
19271
- # "vpc",
19272
- # ],
19273
- # },
19274
- # ],
19275
- # })
19276
- #
19277
- # resp.to_h outputs the following:
19278
- # {
19279
- # addresses: [
19280
- # {
19281
- # allocation_id: "eipalloc-12345678",
19282
- # association_id: "eipassoc-12345678",
19283
- # domain: "vpc",
19284
- # instance_id: "i-1234567890abcdef0",
19285
- # network_interface_id: "eni-12345678",
19286
- # network_interface_owner_id: "123456789012",
19287
- # private_ip_address: "10.0.1.241",
19288
- # public_ip: "203.0.113.0",
19289
- # },
19290
- # ],
19291
- # }
19292
- #
19293
- # @example Example: To describe your Elastic IP addresses for EC2-Classic
19294
- #
19295
- # # This example describes your Elastic IP addresses for use with instances in EC2-Classic.
19296
- #
19297
- # resp = client.describe_addresses({
19298
- # filters: [
19299
- # {
19300
- # name: "domain",
19301
- # values: [
19302
- # "standard",
19303
- # ],
19304
- # },
19305
- # ],
19306
- # })
19307
- #
19308
- # resp.to_h outputs the following:
19309
- # {
19310
- # addresses: [
19311
- # {
19312
- # domain: "standard",
19313
- # instance_id: "i-1234567890abcdef0",
19314
- # public_ip: "198.51.100.0",
19315
- # },
19316
- # ],
19317
- # }
19318
- #
19319
19233
  # @example Request syntax with placeholder values
19320
19234
  #
19321
19235
  # resp = client.describe_addresses({
@@ -25208,7 +25122,7 @@ module Aws::EC2
25208
25122
  # {
25209
25123
  # attachments: [
25210
25124
  # {
25211
- # state: "available",
25125
+ # state: "attached",
25212
25126
  # vpc_id: "vpc-a01106c2",
25213
25127
  # },
25214
25128
  # ],
@@ -26953,7 +26867,7 @@ module Aws::EC2
26953
26867
  # {
26954
26868
  # moving_address_statuses: [
26955
26869
  # {
26956
- # move_status: "MovingToVpc",
26870
+ # move_status: "movingToVpc",
26957
26871
  # public_ip: "198.51.100.0",
26958
26872
  # },
26959
26873
  # ],
@@ -30385,54 +30299,6 @@ module Aws::EC2
30385
30299
  #
30386
30300
  # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
30387
30301
  #
30388
- #
30389
- # @example Example: To describe an available schedule
30390
- #
30391
- # # This example describes a schedule that occurs every week on Sunday, starting on the specified date. Note that the output
30392
- # # contains a single schedule as an example.
30393
- #
30394
- # resp = client.describe_scheduled_instance_availability({
30395
- # first_slot_start_time_range: {
30396
- # earliest_time: Time.parse("2016-01-31T00:00:00Z"),
30397
- # latest_time: Time.parse("2016-01-31T04:00:00Z"),
30398
- # },
30399
- # recurrence: {
30400
- # frequency: "Weekly",
30401
- # interval: 1,
30402
- # occurrence_days: [
30403
- # 1,
30404
- # ],
30405
- # },
30406
- # })
30407
- #
30408
- # resp.to_h outputs the following:
30409
- # {
30410
- # scheduled_instance_availability_set: [
30411
- # {
30412
- # availability_zone: "us-west-2b",
30413
- # available_instance_count: 20,
30414
- # first_slot_start_time: Time.parse("2016-01-31T00:00:00Z"),
30415
- # hourly_price: "0.095",
30416
- # instance_type: "c4.large",
30417
- # max_term_duration_in_days: 366,
30418
- # min_term_duration_in_days: 366,
30419
- # network_platform: "EC2-VPC",
30420
- # platform: "Linux/UNIX",
30421
- # purchase_token: "eyJ2IjoiMSIsInMiOjEsImMiOi...",
30422
- # recurrence: {
30423
- # frequency: "Weekly",
30424
- # interval: 1,
30425
- # occurrence_day_set: [
30426
- # 1,
30427
- # ],
30428
- # occurrence_relative_to_end: false,
30429
- # },
30430
- # slot_duration_in_hours: 23,
30431
- # total_scheduled_instance_hours: 1219,
30432
- # },
30433
- # ],
30434
- # }
30435
- #
30436
30302
  # @example Request syntax with placeholder values
30437
30303
  #
30438
30304
  # resp = client.describe_scheduled_instance_availability({
@@ -30533,47 +30399,6 @@ module Aws::EC2
30533
30399
  #
30534
30400
  # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
30535
30401
  #
30536
- #
30537
- # @example Example: To describe your Scheduled Instances
30538
- #
30539
- # # This example describes the specified Scheduled Instance.
30540
- #
30541
- # resp = client.describe_scheduled_instances({
30542
- # scheduled_instance_ids: [
30543
- # "sci-1234-1234-1234-1234-123456789012",
30544
- # ],
30545
- # })
30546
- #
30547
- # resp.to_h outputs the following:
30548
- # {
30549
- # scheduled_instance_set: [
30550
- # {
30551
- # availability_zone: "us-west-2b",
30552
- # create_date: Time.parse("2016-01-25T21:43:38.612Z"),
30553
- # hourly_price: "0.095",
30554
- # instance_count: 1,
30555
- # instance_type: "c4.large",
30556
- # network_platform: "EC2-VPC",
30557
- # next_slot_start_time: Time.parse("2016-01-31T09:00:00Z"),
30558
- # platform: "Linux/UNIX",
30559
- # recurrence: {
30560
- # frequency: "Weekly",
30561
- # interval: 1,
30562
- # occurrence_day_set: [
30563
- # 1,
30564
- # ],
30565
- # occurrence_relative_to_end: false,
30566
- # occurrence_unit: "",
30567
- # },
30568
- # scheduled_instance_id: "sci-1234-1234-1234-1234-123456789012",
30569
- # slot_duration_in_hours: 32,
30570
- # term_end_date: Time.parse("2017-01-31T09:00:00Z"),
30571
- # term_start_date: Time.parse("2016-01-31T09:00:00Z"),
30572
- # total_scheduled_instance_hours: 1696,
30573
- # },
30574
- # ],
30575
- # }
30576
- #
30577
30402
  # @example Request syntax with placeholder values
30578
30403
  #
30579
30404
  # resp = client.describe_scheduled_instances({
@@ -32480,14 +32305,14 @@ module Aws::EC2
32480
32305
  # # January.
32481
32306
  #
32482
32307
  # resp = client.describe_spot_price_history({
32483
- # end_time: Time.parse("2014-01-06T08:09:10"),
32308
+ # end_time: Time.parse("2014-01-06T08:09:10.05Z"),
32484
32309
  # instance_types: [
32485
32310
  # "m1.xlarge",
32486
32311
  # ],
32487
32312
  # product_descriptions: [
32488
32313
  # "Linux/UNIX (Amazon VPC)",
32489
32314
  # ],
32490
- # start_time: Time.parse("2014-01-06T07:08:09"),
32315
+ # start_time: Time.parse("2014-01-06T07:08:09.05Z"),
32491
32316
  # })
32492
32317
  #
32493
32318
  # resp.to_h outputs the following:
@@ -34533,6 +34358,8 @@ module Aws::EC2
34533
34358
  # resp.logging_configurations[0].access_logs.kinesis_data_firehose.delivery_status.code #=> String, one of "success", "failed"
34534
34359
  # resp.logging_configurations[0].access_logs.kinesis_data_firehose.delivery_status.message #=> String
34535
34360
  # resp.logging_configurations[0].access_logs.kinesis_data_firehose.delivery_stream #=> String
34361
+ # resp.logging_configurations[0].access_logs.log_version #=> String
34362
+ # resp.logging_configurations[0].access_logs.include_trust_context #=> Boolean
34536
34363
  # resp.next_token #=> String
34537
34364
  #
34538
34365
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeVerifiedAccessInstanceLoggingConfigurations AWS API Documentation
@@ -37709,22 +37536,14 @@ module Aws::EC2
37709
37536
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
37710
37537
  #
37711
37538
  #
37712
- # @example Example: To disassociate an Elastic IP address in EC2-VPC
37539
+ # @example Example: To disassociate an Elastic IP address
37713
37540
  #
37714
- # # This example disassociates an Elastic IP address from an instance in a VPC.
37541
+ # # This example disassociates an Elastic IP address from an instance.
37715
37542
  #
37716
37543
  # resp = client.disassociate_address({
37717
37544
  # association_id: "eipassoc-2bebb745",
37718
37545
  # })
37719
37546
  #
37720
- # @example Example: To disassociate an Elastic IP addresses in EC2-Classic
37721
- #
37722
- # # This example disassociates an Elastic IP address from an instance in EC2-Classic.
37723
- #
37724
- # resp = client.disassociate_address({
37725
- # public_ip: "198.51.100.0",
37726
- # })
37727
- #
37728
37547
  # @example Request syntax with placeholder values
37729
37548
  #
37730
37549
  # resp = client.disassociate_address({
@@ -48078,6 +47897,8 @@ module Aws::EC2
48078
47897
  # enabled: false, # required
48079
47898
  # delivery_stream: "String",
48080
47899
  # },
47900
+ # log_version: "String",
47901
+ # include_trust_context: false,
48081
47902
  # },
48082
47903
  # dry_run: false,
48083
47904
  # client_token: "String",
@@ -48100,6 +47921,8 @@ module Aws::EC2
48100
47921
  # resp.logging_configuration.access_logs.kinesis_data_firehose.delivery_status.code #=> String, one of "success", "failed"
48101
47922
  # resp.logging_configuration.access_logs.kinesis_data_firehose.delivery_status.message #=> String
48102
47923
  # resp.logging_configuration.access_logs.kinesis_data_firehose.delivery_stream #=> String
47924
+ # resp.logging_configuration.access_logs.log_version #=> String
47925
+ # resp.logging_configuration.access_logs.include_trust_context #=> Boolean
48103
47926
  #
48104
47927
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyVerifiedAccessInstanceLoggingConfiguration AWS API Documentation
48105
47928
  #
@@ -50154,50 +49977,6 @@ module Aws::EC2
50154
49977
  #
50155
49978
  # * {Types::PurchaseScheduledInstancesResult#scheduled_instance_set #scheduled_instance_set} => Array&lt;Types::ScheduledInstance&gt;
50156
49979
  #
50157
- #
50158
- # @example Example: To purchase a Scheduled Instance
50159
- #
50160
- # # This example purchases a Scheduled Instance.
50161
- #
50162
- # resp = client.purchase_scheduled_instances({
50163
- # purchase_requests: [
50164
- # {
50165
- # instance_count: 1,
50166
- # purchase_token: "eyJ2IjoiMSIsInMiOjEsImMiOi...",
50167
- # },
50168
- # ],
50169
- # })
50170
- #
50171
- # resp.to_h outputs the following:
50172
- # {
50173
- # scheduled_instance_set: [
50174
- # {
50175
- # availability_zone: "us-west-2b",
50176
- # create_date: Time.parse("2016-01-25T21:43:38.612Z"),
50177
- # hourly_price: "0.095",
50178
- # instance_count: 1,
50179
- # instance_type: "c4.large",
50180
- # network_platform: "EC2-VPC",
50181
- # next_slot_start_time: Time.parse("2016-01-31T09:00:00Z"),
50182
- # platform: "Linux/UNIX",
50183
- # recurrence: {
50184
- # frequency: "Weekly",
50185
- # interval: 1,
50186
- # occurrence_day_set: [
50187
- # 1,
50188
- # ],
50189
- # occurrence_relative_to_end: false,
50190
- # occurrence_unit: "",
50191
- # },
50192
- # scheduled_instance_id: "sci-1234-1234-1234-1234-123456789012",
50193
- # slot_duration_in_hours: 32,
50194
- # term_end_date: Time.parse("2017-01-31T09:00:00Z"),
50195
- # term_start_date: Time.parse("2016-01-31T09:00:00Z"),
50196
- # total_scheduled_instance_hours: 1696,
50197
- # },
50198
- # ],
50199
- # }
50200
- #
50201
49980
  # @example Request syntax with placeholder values
50202
49981
  #
50203
49982
  # resp = client.purchase_scheduled_instances({
@@ -51026,22 +50805,14 @@ module Aws::EC2
51026
50805
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
51027
50806
  #
51028
50807
  #
51029
- # @example Example: To release an Elastic IP address for EC2-VPC
50808
+ # @example Example: To release an Elastic IP address
51030
50809
  #
51031
- # # This example releases an Elastic IP address for use with instances in a VPC.
50810
+ # # This example releases the specified Elastic IP address.
51032
50811
  #
51033
50812
  # resp = client.release_address({
51034
50813
  # allocation_id: "eipalloc-64d5890a",
51035
50814
  # })
51036
50815
  #
51037
- # @example Example: To release an Elastic IP addresses for EC2-Classic
51038
- #
51039
- # # This example releases an Elastic IP address for use with instances in EC2-Classic.
51040
- #
51041
- # resp = client.release_address({
51042
- # public_ip: "198.51.100.0",
51043
- # })
51044
- #
51045
50816
  # @example Request syntax with placeholder values
51046
50817
  #
51047
50818
  # resp = client.release_address({
@@ -51844,8 +51615,7 @@ module Aws::EC2
51844
51615
  #
51845
51616
  # # This example creates a Spot fleet request with two launch specifications that differ only by Availability Zone. The Spot
51846
51617
  # # fleet launches the instances in the specified Availability Zone with the lowest price. If your account supports EC2-VPC
51847
- # # only, Amazon EC2 launches the Spot instances in the default subnet of the Availability Zone. If your account supports
51848
- # # EC2-Classic, Amazon EC2 launches the instances in EC2-Classic in the Availability Zone.
51618
+ # # only, Amazon EC2 launches the Spot instances in the default subnet of the Availability Zone.
51849
51619
  #
51850
51620
  # resp = client.request_spot_fleet({
51851
51621
  # spot_fleet_request_config: {
@@ -52384,8 +52154,7 @@ module Aws::EC2
52384
52154
  #
52385
52155
  # # This example creates a one-time Spot Instance request for five instances in the specified Availability Zone. If your
52386
52156
  # # account supports EC2-VPC only, Amazon EC2 launches the instances in the default subnet of the specified Availability
52387
- # # Zone. If your account supports EC2-Classic, Amazon EC2 launches the instances in EC2-Classic in the specified
52388
- # # Availability Zone.
52157
+ # # Zone.
52389
52158
  #
52390
52159
  # resp = client.request_spot_instances({
52391
52160
  # instance_count: 5,
@@ -52990,21 +52759,6 @@ module Aws::EC2
52990
52759
  # * {Types::RestoreAddressToClassicResult#public_ip #public_ip} => String
52991
52760
  # * {Types::RestoreAddressToClassicResult#status #status} => String
52992
52761
  #
52993
- #
52994
- # @example Example: To restore an address to EC2-Classic
52995
- #
52996
- # # This example restores the specified Elastic IP address to the EC2-Classic platform.
52997
- #
52998
- # resp = client.restore_address_to_classic({
52999
- # public_ip: "198.51.100.0",
53000
- # })
53001
- #
53002
- # resp.to_h outputs the following:
53003
- # {
53004
- # public_ip: "198.51.100.0",
53005
- # status: "MoveInProgress",
53006
- # }
53007
- #
53008
52762
  # @example Request syntax with placeholder values
53009
52763
  #
53010
52764
  # resp = client.restore_address_to_classic({
@@ -54511,71 +54265,6 @@ module Aws::EC2
54511
54265
  #
54512
54266
  # * {Types::RunScheduledInstancesResult#instance_id_set #instance_id_set} => Array&lt;String&gt;
54513
54267
  #
54514
- #
54515
- # @example Example: To launch a Scheduled Instance in a VPC
54516
- #
54517
- # # This example launches the specified Scheduled Instance in a VPC.
54518
- #
54519
- # resp = client.run_scheduled_instances({
54520
- # instance_count: 1,
54521
- # launch_specification: {
54522
- # iam_instance_profile: {
54523
- # name: "my-iam-role",
54524
- # },
54525
- # image_id: "ami-12345678",
54526
- # instance_type: "c4.large",
54527
- # key_name: "my-key-pair",
54528
- # network_interfaces: [
54529
- # {
54530
- # associate_public_ip_address: true,
54531
- # device_index: 0,
54532
- # groups: [
54533
- # "sg-12345678",
54534
- # ],
54535
- # subnet_id: "subnet-12345678",
54536
- # },
54537
- # ],
54538
- # },
54539
- # scheduled_instance_id: "sci-1234-1234-1234-1234-123456789012",
54540
- # })
54541
- #
54542
- # resp.to_h outputs the following:
54543
- # {
54544
- # instance_id_set: [
54545
- # "i-1234567890abcdef0",
54546
- # ],
54547
- # }
54548
- #
54549
- # @example Example: To launch a Scheduled Instance in EC2-Classic
54550
- #
54551
- # # This example launches the specified Scheduled Instance in EC2-Classic.
54552
- #
54553
- # resp = client.run_scheduled_instances({
54554
- # instance_count: 1,
54555
- # launch_specification: {
54556
- # iam_instance_profile: {
54557
- # name: "my-iam-role",
54558
- # },
54559
- # image_id: "ami-12345678",
54560
- # instance_type: "c4.large",
54561
- # key_name: "my-key-pair",
54562
- # placement: {
54563
- # availability_zone: "us-west-2b",
54564
- # },
54565
- # security_group_ids: [
54566
- # "sg-12345678",
54567
- # ],
54568
- # },
54569
- # scheduled_instance_id: "sci-1234-1234-1234-1234-123456789012",
54570
- # })
54571
- #
54572
- # resp.to_h outputs the following:
54573
- # {
54574
- # instance_id_set: [
54575
- # "i-1234567890abcdef0",
54576
- # ],
54577
- # }
54578
- #
54579
54268
  # @example Request syntax with placeholder values
54580
54269
  #
54581
54270
  # resp = client.run_scheduled_instances({
@@ -56965,7 +56654,7 @@ module Aws::EC2
56965
56654
  params: params,
56966
56655
  config: config)
56967
56656
  context[:gem_name] = 'aws-sdk-ec2'
56968
- context[:gem_version] = '1.384.0'
56657
+ context[:gem_version] = '1.385.0'
56969
56658
  Seahorse::Client::Request.new(handlers, context)
56970
56659
  end
56971
56660
 
@@ -185,6 +185,7 @@ module Aws::EC2
185
185
  AutoPlacement = Shapes::StringShape.new(name: 'AutoPlacement')
186
186
  AutoRecoveryFlag = Shapes::BooleanShape.new(name: 'AutoRecoveryFlag')
187
187
  AvailabilityZone = Shapes::StructureShape.new(name: 'AvailabilityZone')
188
+ AvailabilityZoneId = Shapes::StringShape.new(name: 'AvailabilityZoneId')
188
189
  AvailabilityZoneList = Shapes::ListShape.new(name: 'AvailabilityZoneList')
189
190
  AvailabilityZoneMessage = Shapes::StructureShape.new(name: 'AvailabilityZoneMessage')
190
191
  AvailabilityZoneMessageList = Shapes::ListShape.new(name: 'AvailabilityZoneMessageList')
@@ -4284,8 +4285,8 @@ module Aws::EC2
4284
4285
  CreateCapacityReservationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken"))
4285
4286
  CreateCapacityReservationRequest.add_member(:instance_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "InstanceType"))
4286
4287
  CreateCapacityReservationRequest.add_member(:instance_platform, Shapes::ShapeRef.new(shape: CapacityReservationInstancePlatform, required: true, location_name: "InstancePlatform"))
4287
- CreateCapacityReservationRequest.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "AvailabilityZone"))
4288
- CreateCapacityReservationRequest.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: String, location_name: "AvailabilityZoneId"))
4288
+ CreateCapacityReservationRequest.add_member(:availability_zone, Shapes::ShapeRef.new(shape: AvailabilityZoneName, location_name: "AvailabilityZone"))
4289
+ CreateCapacityReservationRequest.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: AvailabilityZoneId, location_name: "AvailabilityZoneId"))
4289
4290
  CreateCapacityReservationRequest.add_member(:tenancy, Shapes::ShapeRef.new(shape: CapacityReservationTenancy, location_name: "Tenancy"))
4290
4291
  CreateCapacityReservationRequest.add_member(:instance_count, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "InstanceCount"))
4291
4292
  CreateCapacityReservationRequest.add_member(:ebs_optimized, Shapes::ShapeRef.new(shape: Boolean, location_name: "EbsOptimized"))
@@ -14530,6 +14531,8 @@ module Aws::EC2
14530
14531
  VerifiedAccessLogOptions.add_member(:s3, Shapes::ShapeRef.new(shape: VerifiedAccessLogS3DestinationOptions, location_name: "S3"))
14531
14532
  VerifiedAccessLogOptions.add_member(:cloud_watch_logs, Shapes::ShapeRef.new(shape: VerifiedAccessLogCloudWatchLogsDestinationOptions, location_name: "CloudWatchLogs"))
14532
14533
  VerifiedAccessLogOptions.add_member(:kinesis_data_firehose, Shapes::ShapeRef.new(shape: VerifiedAccessLogKinesisDataFirehoseDestinationOptions, location_name: "KinesisDataFirehose"))
14534
+ VerifiedAccessLogOptions.add_member(:log_version, Shapes::ShapeRef.new(shape: String, location_name: "LogVersion"))
14535
+ VerifiedAccessLogOptions.add_member(:include_trust_context, Shapes::ShapeRef.new(shape: Boolean, location_name: "IncludeTrustContext"))
14533
14536
  VerifiedAccessLogOptions.struct_class = Types::VerifiedAccessLogOptions
14534
14537
 
14535
14538
  VerifiedAccessLogS3Destination.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "enabled"))
@@ -14548,6 +14551,8 @@ module Aws::EC2
14548
14551
  VerifiedAccessLogs.add_member(:s3, Shapes::ShapeRef.new(shape: VerifiedAccessLogS3Destination, location_name: "s3"))
14549
14552
  VerifiedAccessLogs.add_member(:cloud_watch_logs, Shapes::ShapeRef.new(shape: VerifiedAccessLogCloudWatchLogsDestination, location_name: "cloudWatchLogs"))
14550
14553
  VerifiedAccessLogs.add_member(:kinesis_data_firehose, Shapes::ShapeRef.new(shape: VerifiedAccessLogKinesisDataFirehoseDestination, location_name: "kinesisDataFirehose"))
14554
+ VerifiedAccessLogs.add_member(:log_version, Shapes::ShapeRef.new(shape: String, location_name: "logVersion"))
14555
+ VerifiedAccessLogs.add_member(:include_trust_context, Shapes::ShapeRef.new(shape: Boolean, location_name: "includeTrustContext"))
14551
14556
  VerifiedAccessLogs.struct_class = Types::VerifiedAccessLogs
14552
14557
 
14553
14558
  VerifiedAccessTrustProvider.add_member(:verified_access_trust_provider_id, Shapes::ShapeRef.new(shape: String, location_name: "verifiedAccessTrustProviderId"))
@@ -63149,7 +63149,7 @@ module Aws::EC2
63149
63149
  include Aws::Structure
63150
63150
  end
63151
63151
 
63152
- # Describes the destinations for Verified Access logs.
63152
+ # Options for Verified Access logs.
63153
63153
  #
63154
63154
  # @!attribute [rw] s3
63155
63155
  # Sends Verified Access logs to Amazon S3.
@@ -63163,12 +63163,24 @@ module Aws::EC2
63163
63163
  # Sends Verified Access logs to Kinesis.
63164
63164
  # @return [Types::VerifiedAccessLogKinesisDataFirehoseDestinationOptions]
63165
63165
  #
63166
+ # @!attribute [rw] log_version
63167
+ # The logging version to use.
63168
+ #
63169
+ # Valid values: `ocsf-0.1` \| `ocsf-1.0.0-rc.2`
63170
+ # @return [String]
63171
+ #
63172
+ # @!attribute [rw] include_trust_context
63173
+ # Include trust data sent by trust providers into the logs.
63174
+ # @return [Boolean]
63175
+ #
63166
63176
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VerifiedAccessLogOptions AWS API Documentation
63167
63177
  #
63168
63178
  class VerifiedAccessLogOptions < Struct.new(
63169
63179
  :s3,
63170
63180
  :cloud_watch_logs,
63171
- :kinesis_data_firehose)
63181
+ :kinesis_data_firehose,
63182
+ :log_version,
63183
+ :include_trust_context)
63172
63184
  SENSITIVE = []
63173
63185
  include Aws::Structure
63174
63186
  end
@@ -63237,7 +63249,7 @@ module Aws::EC2
63237
63249
  include Aws::Structure
63238
63250
  end
63239
63251
 
63240
- # Describes the destinations for Verified Access logs.
63252
+ # Describes the options for Verified Access logs.
63241
63253
  #
63242
63254
  # @!attribute [rw] s3
63243
63255
  # Amazon S3 logging options.
@@ -63251,12 +63263,22 @@ module Aws::EC2
63251
63263
  # Kinesis logging destination.
63252
63264
  # @return [Types::VerifiedAccessLogKinesisDataFirehoseDestination]
63253
63265
  #
63266
+ # @!attribute [rw] log_version
63267
+ # Describes current setting for the logging version.
63268
+ # @return [String]
63269
+ #
63270
+ # @!attribute [rw] include_trust_context
63271
+ # Describes current setting for including trust data into the logs.
63272
+ # @return [Boolean]
63273
+ #
63254
63274
  # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VerifiedAccessLogs AWS API Documentation
63255
63275
  #
63256
63276
  class VerifiedAccessLogs < Struct.new(
63257
63277
  :s3,
63258
63278
  :cloud_watch_logs,
63259
- :kinesis_data_firehose)
63279
+ :kinesis_data_firehose,
63280
+ :log_version,
63281
+ :include_trust_context)
63260
63282
  SENSITIVE = []
63261
63283
  include Aws::Structure
63262
63284
  end
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.384.0'
79
+ GEM_VERSION = '1.385.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.384.0
4
+ version: 1.385.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-06-15 00:00:00.000000000 Z
11
+ date: 2023-06-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4