aws-sdk-ec2 1.290.0 → 1.291.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 54cf3d69c696db1fbfa43fe33e8362c9d02d8ccb62f24b993ba7d97467e52a45
4
- data.tar.gz: 406ddf589c1558194116822a301cf7c7bf350c65505ec0755466eba59025c37e
3
+ metadata.gz: fef3fda8854baea2b2479e36b60ff3b2912381bb9fddb2764bff2d20de154356
4
+ data.tar.gz: fcdeb75c1519c9aaf3e67968dc690545c700b1d362c293f4734b853fb4cc5ae9
5
5
  SHA512:
6
- metadata.gz: fdd3a7450e6410a4873c3fbe8cbd7ad9690f7c0510a1bc7f160bf8e799831d1093fae0ae4ec4b80ba8f9bf158d6d80238392f7c898e5906590ecfadd46fac87e
7
- data.tar.gz: e2a0bd4ce34d11461beadc5263701da7626f0a682db49f1aeb3567bcec103454ed3bd911f8f4ab312a48856dc0d3ca228b7a35046a2ed2e25d4a459f3bf1b239
6
+ metadata.gz: 1f7224ce5199f8c9b180a1dfa3964becf391218010d759613aa6f216ac5ef3ee520538c4e9626370343f2a92371d4dc44ccc8cbb88000908cb0ee61018333a7a
7
+ data.tar.gz: bb69d48223413a33e2c236a69b9d6361826838618e9810195f2a4b96355578fc4fc29f4d773df8689957f499341f7620a2cb2ae78d910f64d8238a587d6d5df3
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.291.0 (2022-01-10)
5
+ ------------------
6
+
7
+ * Feature - New feature: Updated EC2 API to support faster launching for Windows images. Optimized images are pre-provisioned, using snapshots to launch instances up to 65% faster.
8
+
4
9
  1.290.0 (2022-01-06)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.290.0
1
+ 1.291.0
@@ -8751,8 +8751,8 @@ module Aws::EC2
8751
8751
  # resp = client.create_network_insights_path({
8752
8752
  # source_ip: "IpAddress",
8753
8753
  # destination_ip: "IpAddress",
8754
- # source: "String", # required
8755
- # destination: "String", # required
8754
+ # source: "NetworkInsightsResourceId", # required
8755
+ # destination: "NetworkInsightsResourceId", # required
8756
8756
  # protocol: "tcp", # required, accepts tcp, udp
8757
8757
  # destination_port: 1,
8758
8758
  # tag_specifications: [
@@ -18670,6 +18670,86 @@ module Aws::EC2
18670
18670
  req.send_request(options)
18671
18671
  end
18672
18672
 
18673
+ # Describe details for Windows AMIs that are configured for faster
18674
+ # launching.
18675
+ #
18676
+ # @option params [Array<String>] :image_ids
18677
+ # Details for one or more Windows AMI image IDs.
18678
+ #
18679
+ # @option params [Array<Types::Filter>] :filters
18680
+ # Use the following filters to streamline results.
18681
+ #
18682
+ # * `resource-type` - The resource type for pre-provisioning.
18683
+ #
18684
+ # * `launch-template` - The launch template that is associated with the
18685
+ # pre-provisioned Windows AMI.
18686
+ #
18687
+ # * `owner-id` - The owner ID for the pre-provisioning resource.
18688
+ #
18689
+ # * `state` - The current state of fast launching for the Windows AMI.
18690
+ #
18691
+ # @option params [Integer] :max_results
18692
+ # The maximum number of results to return in a single call. To retrieve
18693
+ # the remaining results, make another request with the returned
18694
+ # NextToken value. If this parameter is not specified, then all results
18695
+ # are returned.
18696
+ #
18697
+ # @option params [String] :next_token
18698
+ # The token for the next set of results.
18699
+ #
18700
+ # @option params [Boolean] :dry_run
18701
+ # Checks whether you have the required permissions for the action,
18702
+ # without actually making the request, and provides an error response.
18703
+ # If you have the required permissions, the error response is
18704
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
18705
+ #
18706
+ # @return [Types::DescribeFastLaunchImagesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
18707
+ #
18708
+ # * {Types::DescribeFastLaunchImagesResult#fast_launch_images #fast_launch_images} => Array&lt;Types::DescribeFastLaunchImagesSuccessItem&gt;
18709
+ # * {Types::DescribeFastLaunchImagesResult#next_token #next_token} => String
18710
+ #
18711
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
18712
+ #
18713
+ # @example Request syntax with placeholder values
18714
+ #
18715
+ # resp = client.describe_fast_launch_images({
18716
+ # image_ids: ["ImageId"],
18717
+ # filters: [
18718
+ # {
18719
+ # name: "String",
18720
+ # values: ["String"],
18721
+ # },
18722
+ # ],
18723
+ # max_results: 1,
18724
+ # next_token: "NextToken",
18725
+ # dry_run: false,
18726
+ # })
18727
+ #
18728
+ # @example Response structure
18729
+ #
18730
+ # resp.fast_launch_images #=> Array
18731
+ # resp.fast_launch_images[0].image_id #=> String
18732
+ # resp.fast_launch_images[0].resource_type #=> String, one of "snapshot"
18733
+ # resp.fast_launch_images[0].snapshot_configuration.target_resource_count #=> Integer
18734
+ # resp.fast_launch_images[0].launch_template.launch_template_id #=> String
18735
+ # resp.fast_launch_images[0].launch_template.launch_template_name #=> String
18736
+ # resp.fast_launch_images[0].launch_template.version #=> String
18737
+ # resp.fast_launch_images[0].max_parallel_launches #=> Integer
18738
+ # resp.fast_launch_images[0].owner_id #=> String
18739
+ # resp.fast_launch_images[0].state #=> String, one of "enabling", "enabling-failed", "enabled", "enabled-failed", "disabling", "disabling-failed"
18740
+ # resp.fast_launch_images[0].state_transition_reason #=> String
18741
+ # resp.fast_launch_images[0].state_transition_time #=> Time
18742
+ # resp.next_token #=> String
18743
+ #
18744
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeFastLaunchImages AWS API Documentation
18745
+ #
18746
+ # @overload describe_fast_launch_images(params = {})
18747
+ # @param [Hash] params ({})
18748
+ def describe_fast_launch_images(params = {}, options = {})
18749
+ req = build_request(:describe_fast_launch_images, params)
18750
+ req.send_request(options)
18751
+ end
18752
+
18673
18753
  # Describes the state of fast snapshot restores for your snapshots.
18674
18754
  #
18675
18755
  # @option params [Array<Types::Filter>] :filters
@@ -32413,6 +32493,70 @@ module Aws::EC2
32413
32493
  req.send_request(options)
32414
32494
  end
32415
32495
 
32496
+ # Discontinue faster launching for a Windows AMI, and clean up existing
32497
+ # pre-provisioned snapshots. When you disable faster launching, the AMI
32498
+ # uses the standard launch process for each instance. All
32499
+ # pre-provisioned snapshots must be removed before you can enable faster
32500
+ # launching again.
32501
+ #
32502
+ # @option params [required, String] :image_id
32503
+ # The ID of the image for which you’re turning off faster launching, and
32504
+ # removing pre-provisioned snapshots.
32505
+ #
32506
+ # @option params [Boolean] :force
32507
+ # Forces the image settings to turn off faster launching for your
32508
+ # Windows AMI. This parameter overrides any errors that are encountered
32509
+ # while cleaning up resources in your account.
32510
+ #
32511
+ # @option params [Boolean] :dry_run
32512
+ # Checks whether you have the required permissions for the action,
32513
+ # without actually making the request, and provides an error response.
32514
+ # If you have the required permissions, the error response is
32515
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
32516
+ #
32517
+ # @return [Types::DisableFastLaunchResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
32518
+ #
32519
+ # * {Types::DisableFastLaunchResult#image_id #image_id} => String
32520
+ # * {Types::DisableFastLaunchResult#resource_type #resource_type} => String
32521
+ # * {Types::DisableFastLaunchResult#snapshot_configuration #snapshot_configuration} => Types::FastLaunchSnapshotConfigurationResponse
32522
+ # * {Types::DisableFastLaunchResult#launch_template #launch_template} => Types::FastLaunchLaunchTemplateSpecificationResponse
32523
+ # * {Types::DisableFastLaunchResult#max_parallel_launches #max_parallel_launches} => Integer
32524
+ # * {Types::DisableFastLaunchResult#owner_id #owner_id} => String
32525
+ # * {Types::DisableFastLaunchResult#state #state} => String
32526
+ # * {Types::DisableFastLaunchResult#state_transition_reason #state_transition_reason} => String
32527
+ # * {Types::DisableFastLaunchResult#state_transition_time #state_transition_time} => Time
32528
+ #
32529
+ # @example Request syntax with placeholder values
32530
+ #
32531
+ # resp = client.disable_fast_launch({
32532
+ # image_id: "ImageId", # required
32533
+ # force: false,
32534
+ # dry_run: false,
32535
+ # })
32536
+ #
32537
+ # @example Response structure
32538
+ #
32539
+ # resp.image_id #=> String
32540
+ # resp.resource_type #=> String, one of "snapshot"
32541
+ # resp.snapshot_configuration.target_resource_count #=> Integer
32542
+ # resp.launch_template.launch_template_id #=> String
32543
+ # resp.launch_template.launch_template_name #=> String
32544
+ # resp.launch_template.version #=> String
32545
+ # resp.max_parallel_launches #=> Integer
32546
+ # resp.owner_id #=> String
32547
+ # resp.state #=> String, one of "enabling", "enabling-failed", "enabled", "enabled-failed", "disabling", "disabling-failed"
32548
+ # resp.state_transition_reason #=> String
32549
+ # resp.state_transition_time #=> Time
32550
+ #
32551
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableFastLaunch AWS API Documentation
32552
+ #
32553
+ # @overload disable_fast_launch(params = {})
32554
+ # @param [Hash] params ({})
32555
+ def disable_fast_launch(params = {}, options = {})
32556
+ req = build_request(:disable_fast_launch, params)
32557
+ req.send_request(options)
32558
+ end
32559
+
32416
32560
  # Disables fast snapshot restores for the specified snapshots in the
32417
32561
  # specified Availability Zones.
32418
32562
  #
@@ -33380,6 +33524,94 @@ module Aws::EC2
33380
33524
  req.send_request(options)
33381
33525
  end
33382
33526
 
33527
+ # When you enable faster launching for a Windows AMI, images are
33528
+ # pre-provisioned, using snapshots to launch instances up to 65% faster.
33529
+ # To create the optimized Windows image, Amazon EC2 launches an instance
33530
+ # and runs through Sysprep steps, rebooting as required. Then it creates
33531
+ # a set of reserved snapshots that are used for subsequent launches. The
33532
+ # reserved snapshots are automatically replenished as they are used,
33533
+ # depending on your settings for launch frequency.
33534
+ #
33535
+ # @option params [required, String] :image_id
33536
+ # The ID of the image for which you’re enabling faster launching.
33537
+ #
33538
+ # @option params [String] :resource_type
33539
+ # The type of resource to use for pre-provisioning the Windows AMI for
33540
+ # faster launching. Supported values include: `snapshot`, which is the
33541
+ # default value.
33542
+ #
33543
+ # @option params [Types::FastLaunchSnapshotConfigurationRequest] :snapshot_configuration
33544
+ # Configuration settings for creating and managing the snapshots that
33545
+ # are used for pre-provisioning the Windows AMI for faster launching.
33546
+ # The associated `ResourceType` must be `snapshot`.
33547
+ #
33548
+ # @option params [Types::FastLaunchLaunchTemplateSpecificationRequest] :launch_template
33549
+ # The launch template to use when launching Windows instances from
33550
+ # pre-provisioned snapshots. Launch template parameters can include
33551
+ # either the name or ID of the launch template, but not both.
33552
+ #
33553
+ # @option params [Integer] :max_parallel_launches
33554
+ # The maximum number of parallel instances to launch for creating
33555
+ # resources.
33556
+ #
33557
+ # @option params [Boolean] :dry_run
33558
+ # Checks whether you have the required permissions for the action,
33559
+ # without actually making the request, and provides an error response.
33560
+ # If you have the required permissions, the error response is
33561
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
33562
+ #
33563
+ # @return [Types::EnableFastLaunchResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
33564
+ #
33565
+ # * {Types::EnableFastLaunchResult#image_id #image_id} => String
33566
+ # * {Types::EnableFastLaunchResult#resource_type #resource_type} => String
33567
+ # * {Types::EnableFastLaunchResult#snapshot_configuration #snapshot_configuration} => Types::FastLaunchSnapshotConfigurationResponse
33568
+ # * {Types::EnableFastLaunchResult#launch_template #launch_template} => Types::FastLaunchLaunchTemplateSpecificationResponse
33569
+ # * {Types::EnableFastLaunchResult#max_parallel_launches #max_parallel_launches} => Integer
33570
+ # * {Types::EnableFastLaunchResult#owner_id #owner_id} => String
33571
+ # * {Types::EnableFastLaunchResult#state #state} => String
33572
+ # * {Types::EnableFastLaunchResult#state_transition_reason #state_transition_reason} => String
33573
+ # * {Types::EnableFastLaunchResult#state_transition_time #state_transition_time} => Time
33574
+ #
33575
+ # @example Request syntax with placeholder values
33576
+ #
33577
+ # resp = client.enable_fast_launch({
33578
+ # image_id: "ImageId", # required
33579
+ # resource_type: "String",
33580
+ # snapshot_configuration: {
33581
+ # target_resource_count: 1,
33582
+ # },
33583
+ # launch_template: {
33584
+ # launch_template_id: "LaunchTemplateId",
33585
+ # launch_template_name: "String",
33586
+ # version: "String", # required
33587
+ # },
33588
+ # max_parallel_launches: 1,
33589
+ # dry_run: false,
33590
+ # })
33591
+ #
33592
+ # @example Response structure
33593
+ #
33594
+ # resp.image_id #=> String
33595
+ # resp.resource_type #=> String, one of "snapshot"
33596
+ # resp.snapshot_configuration.target_resource_count #=> Integer
33597
+ # resp.launch_template.launch_template_id #=> String
33598
+ # resp.launch_template.launch_template_name #=> String
33599
+ # resp.launch_template.version #=> String
33600
+ # resp.max_parallel_launches #=> Integer
33601
+ # resp.owner_id #=> String
33602
+ # resp.state #=> String, one of "enabling", "enabling-failed", "enabled", "enabled-failed", "disabling", "disabling-failed"
33603
+ # resp.state_transition_reason #=> String
33604
+ # resp.state_transition_time #=> Time
33605
+ #
33606
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableFastLaunch AWS API Documentation
33607
+ #
33608
+ # @overload enable_fast_launch(params = {})
33609
+ # @param [Hash] params ({})
33610
+ def enable_fast_launch(params = {}, options = {})
33611
+ req = build_request(:enable_fast_launch, params)
33612
+ req.send_request(options)
33613
+ end
33614
+
33383
33615
  # Enables fast snapshot restores for the specified snapshots in the
33384
33616
  # specified Availability Zones.
33385
33617
  #
@@ -48840,7 +49072,7 @@ module Aws::EC2
48840
49072
  params: params,
48841
49073
  config: config)
48842
49074
  context[:gem_name] = 'aws-sdk-ec2'
48843
- context[:gem_version] = '1.290.0'
49075
+ context[:gem_version] = '1.291.0'
48844
49076
  Seahorse::Client::Request.new(handlers, context)
48845
49077
  end
48846
49078
 
@@ -694,6 +694,11 @@ module Aws::EC2
694
694
  DescribeExportImageTasksResult = Shapes::StructureShape.new(name: 'DescribeExportImageTasksResult')
695
695
  DescribeExportTasksRequest = Shapes::StructureShape.new(name: 'DescribeExportTasksRequest')
696
696
  DescribeExportTasksResult = Shapes::StructureShape.new(name: 'DescribeExportTasksResult')
697
+ DescribeFastLaunchImagesRequest = Shapes::StructureShape.new(name: 'DescribeFastLaunchImagesRequest')
698
+ DescribeFastLaunchImagesRequestMaxResults = Shapes::IntegerShape.new(name: 'DescribeFastLaunchImagesRequestMaxResults')
699
+ DescribeFastLaunchImagesResult = Shapes::StructureShape.new(name: 'DescribeFastLaunchImagesResult')
700
+ DescribeFastLaunchImagesSuccessItem = Shapes::StructureShape.new(name: 'DescribeFastLaunchImagesSuccessItem')
701
+ DescribeFastLaunchImagesSuccessSet = Shapes::ListShape.new(name: 'DescribeFastLaunchImagesSuccessSet')
697
702
  DescribeFastSnapshotRestoreSuccessItem = Shapes::StructureShape.new(name: 'DescribeFastSnapshotRestoreSuccessItem')
698
703
  DescribeFastSnapshotRestoreSuccessSet = Shapes::ListShape.new(name: 'DescribeFastSnapshotRestoreSuccessSet')
699
704
  DescribeFastSnapshotRestoresMaxResults = Shapes::IntegerShape.new(name: 'DescribeFastSnapshotRestoresMaxResults')
@@ -965,6 +970,8 @@ module Aws::EC2
965
970
  DirectoryServiceAuthenticationRequest = Shapes::StructureShape.new(name: 'DirectoryServiceAuthenticationRequest')
966
971
  DisableEbsEncryptionByDefaultRequest = Shapes::StructureShape.new(name: 'DisableEbsEncryptionByDefaultRequest')
967
972
  DisableEbsEncryptionByDefaultResult = Shapes::StructureShape.new(name: 'DisableEbsEncryptionByDefaultResult')
973
+ DisableFastLaunchRequest = Shapes::StructureShape.new(name: 'DisableFastLaunchRequest')
974
+ DisableFastLaunchResult = Shapes::StructureShape.new(name: 'DisableFastLaunchResult')
968
975
  DisableFastSnapshotRestoreErrorItem = Shapes::StructureShape.new(name: 'DisableFastSnapshotRestoreErrorItem')
969
976
  DisableFastSnapshotRestoreErrorSet = Shapes::ListShape.new(name: 'DisableFastSnapshotRestoreErrorSet')
970
977
  DisableFastSnapshotRestoreStateError = Shapes::StructureShape.new(name: 'DisableFastSnapshotRestoreStateError')
@@ -1063,6 +1070,8 @@ module Aws::EC2
1063
1070
  EnaSupport = Shapes::StringShape.new(name: 'EnaSupport')
1064
1071
  EnableEbsEncryptionByDefaultRequest = Shapes::StructureShape.new(name: 'EnableEbsEncryptionByDefaultRequest')
1065
1072
  EnableEbsEncryptionByDefaultResult = Shapes::StructureShape.new(name: 'EnableEbsEncryptionByDefaultResult')
1073
+ EnableFastLaunchRequest = Shapes::StructureShape.new(name: 'EnableFastLaunchRequest')
1074
+ EnableFastLaunchResult = Shapes::StructureShape.new(name: 'EnableFastLaunchResult')
1066
1075
  EnableFastSnapshotRestoreErrorItem = Shapes::StructureShape.new(name: 'EnableFastSnapshotRestoreErrorItem')
1067
1076
  EnableFastSnapshotRestoreErrorSet = Shapes::ListShape.new(name: 'EnableFastSnapshotRestoreErrorSet')
1068
1077
  EnableFastSnapshotRestoreStateError = Shapes::StructureShape.new(name: 'EnableFastSnapshotRestoreStateError')
@@ -1129,6 +1138,13 @@ module Aws::EC2
1129
1138
  FailedCapacityReservationFleetCancellationResultSet = Shapes::ListShape.new(name: 'FailedCapacityReservationFleetCancellationResultSet')
1130
1139
  FailedQueuedPurchaseDeletion = Shapes::StructureShape.new(name: 'FailedQueuedPurchaseDeletion')
1131
1140
  FailedQueuedPurchaseDeletionSet = Shapes::ListShape.new(name: 'FailedQueuedPurchaseDeletionSet')
1141
+ FastLaunchImageIdList = Shapes::ListShape.new(name: 'FastLaunchImageIdList')
1142
+ FastLaunchLaunchTemplateSpecificationRequest = Shapes::StructureShape.new(name: 'FastLaunchLaunchTemplateSpecificationRequest')
1143
+ FastLaunchLaunchTemplateSpecificationResponse = Shapes::StructureShape.new(name: 'FastLaunchLaunchTemplateSpecificationResponse')
1144
+ FastLaunchResourceType = Shapes::StringShape.new(name: 'FastLaunchResourceType')
1145
+ FastLaunchSnapshotConfigurationRequest = Shapes::StructureShape.new(name: 'FastLaunchSnapshotConfigurationRequest')
1146
+ FastLaunchSnapshotConfigurationResponse = Shapes::StructureShape.new(name: 'FastLaunchSnapshotConfigurationResponse')
1147
+ FastLaunchStateCode = Shapes::StringShape.new(name: 'FastLaunchStateCode')
1132
1148
  FastSnapshotRestoreStateCode = Shapes::StringShape.new(name: 'FastSnapshotRestoreStateCode')
1133
1149
  FederatedAuthentication = Shapes::StructureShape.new(name: 'FederatedAuthentication')
1134
1150
  FederatedAuthenticationRequest = Shapes::StructureShape.new(name: 'FederatedAuthenticationRequest')
@@ -1860,6 +1876,7 @@ module Aws::EC2
1860
1876
  NetworkInsightsPathId = Shapes::StringShape.new(name: 'NetworkInsightsPathId')
1861
1877
  NetworkInsightsPathIdList = Shapes::ListShape.new(name: 'NetworkInsightsPathIdList')
1862
1878
  NetworkInsightsPathList = Shapes::ListShape.new(name: 'NetworkInsightsPathList')
1879
+ NetworkInsightsResourceId = Shapes::StringShape.new(name: 'NetworkInsightsResourceId')
1863
1880
  NetworkInterface = Shapes::StructureShape.new(name: 'NetworkInterface')
1864
1881
  NetworkInterfaceAssociation = Shapes::StructureShape.new(name: 'NetworkInterfaceAssociation')
1865
1882
  NetworkInterfaceAttachment = Shapes::StructureShape.new(name: 'NetworkInterfaceAttachment')
@@ -4120,8 +4137,8 @@ module Aws::EC2
4120
4137
 
4121
4138
  CreateNetworkInsightsPathRequest.add_member(:source_ip, Shapes::ShapeRef.new(shape: IpAddress, location_name: "SourceIp"))
4122
4139
  CreateNetworkInsightsPathRequest.add_member(:destination_ip, Shapes::ShapeRef.new(shape: IpAddress, location_name: "DestinationIp"))
4123
- CreateNetworkInsightsPathRequest.add_member(:source, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Source"))
4124
- CreateNetworkInsightsPathRequest.add_member(:destination, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Destination"))
4140
+ CreateNetworkInsightsPathRequest.add_member(:source, Shapes::ShapeRef.new(shape: NetworkInsightsResourceId, required: true, location_name: "Source"))
4141
+ CreateNetworkInsightsPathRequest.add_member(:destination, Shapes::ShapeRef.new(shape: NetworkInsightsResourceId, required: true, location_name: "Destination"))
4125
4142
  CreateNetworkInsightsPathRequest.add_member(:protocol, Shapes::ShapeRef.new(shape: Protocol, required: true, location_name: "Protocol"))
4126
4143
  CreateNetworkInsightsPathRequest.add_member(:destination_port, Shapes::ShapeRef.new(shape: Port, location_name: "DestinationPort"))
4127
4144
  CreateNetworkInsightsPathRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
@@ -5349,6 +5366,30 @@ module Aws::EC2
5349
5366
  DescribeExportTasksResult.add_member(:export_tasks, Shapes::ShapeRef.new(shape: ExportTaskList, location_name: "exportTaskSet"))
5350
5367
  DescribeExportTasksResult.struct_class = Types::DescribeExportTasksResult
5351
5368
 
5369
+ DescribeFastLaunchImagesRequest.add_member(:image_ids, Shapes::ShapeRef.new(shape: FastLaunchImageIdList, location_name: "ImageId"))
5370
+ DescribeFastLaunchImagesRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filter"))
5371
+ DescribeFastLaunchImagesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: DescribeFastLaunchImagesRequestMaxResults, location_name: "MaxResults"))
5372
+ DescribeFastLaunchImagesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
5373
+ DescribeFastLaunchImagesRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
5374
+ DescribeFastLaunchImagesRequest.struct_class = Types::DescribeFastLaunchImagesRequest
5375
+
5376
+ DescribeFastLaunchImagesResult.add_member(:fast_launch_images, Shapes::ShapeRef.new(shape: DescribeFastLaunchImagesSuccessSet, location_name: "fastLaunchImageSet"))
5377
+ DescribeFastLaunchImagesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
5378
+ DescribeFastLaunchImagesResult.struct_class = Types::DescribeFastLaunchImagesResult
5379
+
5380
+ DescribeFastLaunchImagesSuccessItem.add_member(:image_id, Shapes::ShapeRef.new(shape: ImageId, location_name: "imageId"))
5381
+ DescribeFastLaunchImagesSuccessItem.add_member(:resource_type, Shapes::ShapeRef.new(shape: FastLaunchResourceType, location_name: "resourceType"))
5382
+ DescribeFastLaunchImagesSuccessItem.add_member(:snapshot_configuration, Shapes::ShapeRef.new(shape: FastLaunchSnapshotConfigurationResponse, location_name: "snapshotConfiguration"))
5383
+ DescribeFastLaunchImagesSuccessItem.add_member(:launch_template, Shapes::ShapeRef.new(shape: FastLaunchLaunchTemplateSpecificationResponse, location_name: "launchTemplate"))
5384
+ DescribeFastLaunchImagesSuccessItem.add_member(:max_parallel_launches, Shapes::ShapeRef.new(shape: Integer, location_name: "maxParallelLaunches"))
5385
+ DescribeFastLaunchImagesSuccessItem.add_member(:owner_id, Shapes::ShapeRef.new(shape: String, location_name: "ownerId"))
5386
+ DescribeFastLaunchImagesSuccessItem.add_member(:state, Shapes::ShapeRef.new(shape: FastLaunchStateCode, location_name: "state"))
5387
+ DescribeFastLaunchImagesSuccessItem.add_member(:state_transition_reason, Shapes::ShapeRef.new(shape: String, location_name: "stateTransitionReason"))
5388
+ DescribeFastLaunchImagesSuccessItem.add_member(:state_transition_time, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "stateTransitionTime"))
5389
+ DescribeFastLaunchImagesSuccessItem.struct_class = Types::DescribeFastLaunchImagesSuccessItem
5390
+
5391
+ DescribeFastLaunchImagesSuccessSet.member = Shapes::ShapeRef.new(shape: DescribeFastLaunchImagesSuccessItem, location_name: "item")
5392
+
5352
5393
  DescribeFastSnapshotRestoreSuccessItem.add_member(:snapshot_id, Shapes::ShapeRef.new(shape: String, location_name: "snapshotId"))
5353
5394
  DescribeFastSnapshotRestoreSuccessItem.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "availabilityZone"))
5354
5395
  DescribeFastSnapshotRestoreSuccessItem.add_member(:state, Shapes::ShapeRef.new(shape: FastSnapshotRestoreStateCode, location_name: "state"))
@@ -6609,6 +6650,22 @@ module Aws::EC2
6609
6650
  DisableEbsEncryptionByDefaultResult.add_member(:ebs_encryption_by_default, Shapes::ShapeRef.new(shape: Boolean, location_name: "ebsEncryptionByDefault"))
6610
6651
  DisableEbsEncryptionByDefaultResult.struct_class = Types::DisableEbsEncryptionByDefaultResult
6611
6652
 
6653
+ DisableFastLaunchRequest.add_member(:image_id, Shapes::ShapeRef.new(shape: ImageId, required: true, location_name: "ImageId"))
6654
+ DisableFastLaunchRequest.add_member(:force, Shapes::ShapeRef.new(shape: Boolean, location_name: "Force"))
6655
+ DisableFastLaunchRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
6656
+ DisableFastLaunchRequest.struct_class = Types::DisableFastLaunchRequest
6657
+
6658
+ DisableFastLaunchResult.add_member(:image_id, Shapes::ShapeRef.new(shape: ImageId, location_name: "imageId"))
6659
+ DisableFastLaunchResult.add_member(:resource_type, Shapes::ShapeRef.new(shape: FastLaunchResourceType, location_name: "resourceType"))
6660
+ DisableFastLaunchResult.add_member(:snapshot_configuration, Shapes::ShapeRef.new(shape: FastLaunchSnapshotConfigurationResponse, location_name: "snapshotConfiguration"))
6661
+ DisableFastLaunchResult.add_member(:launch_template, Shapes::ShapeRef.new(shape: FastLaunchLaunchTemplateSpecificationResponse, location_name: "launchTemplate"))
6662
+ DisableFastLaunchResult.add_member(:max_parallel_launches, Shapes::ShapeRef.new(shape: Integer, location_name: "maxParallelLaunches"))
6663
+ DisableFastLaunchResult.add_member(:owner_id, Shapes::ShapeRef.new(shape: String, location_name: "ownerId"))
6664
+ DisableFastLaunchResult.add_member(:state, Shapes::ShapeRef.new(shape: FastLaunchStateCode, location_name: "state"))
6665
+ DisableFastLaunchResult.add_member(:state_transition_reason, Shapes::ShapeRef.new(shape: String, location_name: "stateTransitionReason"))
6666
+ DisableFastLaunchResult.add_member(:state_transition_time, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "stateTransitionTime"))
6667
+ DisableFastLaunchResult.struct_class = Types::DisableFastLaunchResult
6668
+
6612
6669
  DisableFastSnapshotRestoreErrorItem.add_member(:snapshot_id, Shapes::ShapeRef.new(shape: String, location_name: "snapshotId"))
6613
6670
  DisableFastSnapshotRestoreErrorItem.add_member(:fast_snapshot_restore_state_errors, Shapes::ShapeRef.new(shape: DisableFastSnapshotRestoreStateErrorSet, location_name: "fastSnapshotRestoreStateErrorSet"))
6614
6671
  DisableFastSnapshotRestoreErrorItem.struct_class = Types::DisableFastSnapshotRestoreErrorItem
@@ -6918,6 +6975,25 @@ module Aws::EC2
6918
6975
  EnableEbsEncryptionByDefaultResult.add_member(:ebs_encryption_by_default, Shapes::ShapeRef.new(shape: Boolean, location_name: "ebsEncryptionByDefault"))
6919
6976
  EnableEbsEncryptionByDefaultResult.struct_class = Types::EnableEbsEncryptionByDefaultResult
6920
6977
 
6978
+ EnableFastLaunchRequest.add_member(:image_id, Shapes::ShapeRef.new(shape: ImageId, required: true, location_name: "ImageId"))
6979
+ EnableFastLaunchRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, location_name: "ResourceType"))
6980
+ EnableFastLaunchRequest.add_member(:snapshot_configuration, Shapes::ShapeRef.new(shape: FastLaunchSnapshotConfigurationRequest, location_name: "SnapshotConfiguration"))
6981
+ EnableFastLaunchRequest.add_member(:launch_template, Shapes::ShapeRef.new(shape: FastLaunchLaunchTemplateSpecificationRequest, location_name: "LaunchTemplate"))
6982
+ EnableFastLaunchRequest.add_member(:max_parallel_launches, Shapes::ShapeRef.new(shape: Integer, location_name: "MaxParallelLaunches"))
6983
+ EnableFastLaunchRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
6984
+ EnableFastLaunchRequest.struct_class = Types::EnableFastLaunchRequest
6985
+
6986
+ EnableFastLaunchResult.add_member(:image_id, Shapes::ShapeRef.new(shape: ImageId, location_name: "imageId"))
6987
+ EnableFastLaunchResult.add_member(:resource_type, Shapes::ShapeRef.new(shape: FastLaunchResourceType, location_name: "resourceType"))
6988
+ EnableFastLaunchResult.add_member(:snapshot_configuration, Shapes::ShapeRef.new(shape: FastLaunchSnapshotConfigurationResponse, location_name: "snapshotConfiguration"))
6989
+ EnableFastLaunchResult.add_member(:launch_template, Shapes::ShapeRef.new(shape: FastLaunchLaunchTemplateSpecificationResponse, location_name: "launchTemplate"))
6990
+ EnableFastLaunchResult.add_member(:max_parallel_launches, Shapes::ShapeRef.new(shape: Integer, location_name: "maxParallelLaunches"))
6991
+ EnableFastLaunchResult.add_member(:owner_id, Shapes::ShapeRef.new(shape: String, location_name: "ownerId"))
6992
+ EnableFastLaunchResult.add_member(:state, Shapes::ShapeRef.new(shape: FastLaunchStateCode, location_name: "state"))
6993
+ EnableFastLaunchResult.add_member(:state_transition_reason, Shapes::ShapeRef.new(shape: String, location_name: "stateTransitionReason"))
6994
+ EnableFastLaunchResult.add_member(:state_transition_time, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "stateTransitionTime"))
6995
+ EnableFastLaunchResult.struct_class = Types::EnableFastLaunchResult
6996
+
6921
6997
  EnableFastSnapshotRestoreErrorItem.add_member(:snapshot_id, Shapes::ShapeRef.new(shape: String, location_name: "snapshotId"))
6922
6998
  EnableFastSnapshotRestoreErrorItem.add_member(:fast_snapshot_restore_state_errors, Shapes::ShapeRef.new(shape: EnableFastSnapshotRestoreStateErrorSet, location_name: "fastSnapshotRestoreStateErrorSet"))
6923
6999
  EnableFastSnapshotRestoreErrorItem.struct_class = Types::EnableFastSnapshotRestoreErrorItem
@@ -7182,6 +7258,24 @@ module Aws::EC2
7182
7258
 
7183
7259
  FailedQueuedPurchaseDeletionSet.member = Shapes::ShapeRef.new(shape: FailedQueuedPurchaseDeletion, location_name: "item")
7184
7260
 
7261
+ FastLaunchImageIdList.member = Shapes::ShapeRef.new(shape: ImageId, location_name: "ImageId")
7262
+
7263
+ FastLaunchLaunchTemplateSpecificationRequest.add_member(:launch_template_id, Shapes::ShapeRef.new(shape: LaunchTemplateId, location_name: "LaunchTemplateId"))
7264
+ FastLaunchLaunchTemplateSpecificationRequest.add_member(:launch_template_name, Shapes::ShapeRef.new(shape: String, location_name: "LaunchTemplateName"))
7265
+ FastLaunchLaunchTemplateSpecificationRequest.add_member(:version, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Version"))
7266
+ FastLaunchLaunchTemplateSpecificationRequest.struct_class = Types::FastLaunchLaunchTemplateSpecificationRequest
7267
+
7268
+ FastLaunchLaunchTemplateSpecificationResponse.add_member(:launch_template_id, Shapes::ShapeRef.new(shape: LaunchTemplateId, location_name: "launchTemplateId"))
7269
+ FastLaunchLaunchTemplateSpecificationResponse.add_member(:launch_template_name, Shapes::ShapeRef.new(shape: String, location_name: "launchTemplateName"))
7270
+ FastLaunchLaunchTemplateSpecificationResponse.add_member(:version, Shapes::ShapeRef.new(shape: String, location_name: "version"))
7271
+ FastLaunchLaunchTemplateSpecificationResponse.struct_class = Types::FastLaunchLaunchTemplateSpecificationResponse
7272
+
7273
+ FastLaunchSnapshotConfigurationRequest.add_member(:target_resource_count, Shapes::ShapeRef.new(shape: Integer, location_name: "TargetResourceCount"))
7274
+ FastLaunchSnapshotConfigurationRequest.struct_class = Types::FastLaunchSnapshotConfigurationRequest
7275
+
7276
+ FastLaunchSnapshotConfigurationResponse.add_member(:target_resource_count, Shapes::ShapeRef.new(shape: Integer, location_name: "targetResourceCount"))
7277
+ FastLaunchSnapshotConfigurationResponse.struct_class = Types::FastLaunchSnapshotConfigurationResponse
7278
+
7185
7279
  FederatedAuthentication.add_member(:saml_provider_arn, Shapes::ShapeRef.new(shape: String, location_name: "samlProviderArn"))
7186
7280
  FederatedAuthentication.add_member(:self_service_saml_provider_arn, Shapes::ShapeRef.new(shape: String, location_name: "selfServiceSamlProviderArn"))
7187
7281
  FederatedAuthentication.struct_class = Types::FederatedAuthentication
@@ -14791,6 +14885,20 @@ module Aws::EC2
14791
14885
  o.output = Shapes::ShapeRef.new(shape: DescribeExportTasksResult)
14792
14886
  end)
14793
14887
 
14888
+ api.add_operation(:describe_fast_launch_images, Seahorse::Model::Operation.new.tap do |o|
14889
+ o.name = "DescribeFastLaunchImages"
14890
+ o.http_method = "POST"
14891
+ o.http_request_uri = "/"
14892
+ o.input = Shapes::ShapeRef.new(shape: DescribeFastLaunchImagesRequest)
14893
+ o.output = Shapes::ShapeRef.new(shape: DescribeFastLaunchImagesResult)
14894
+ o[:pager] = Aws::Pager.new(
14895
+ limit_key: "max_results",
14896
+ tokens: {
14897
+ "next_token" => "next_token"
14898
+ }
14899
+ )
14900
+ end)
14901
+
14794
14902
  api.add_operation(:describe_fast_snapshot_restores, Seahorse::Model::Operation.new.tap do |o|
14795
14903
  o.name = "DescribeFastSnapshotRestores"
14796
14904
  o.http_method = "POST"
@@ -16194,6 +16302,14 @@ module Aws::EC2
16194
16302
  o.output = Shapes::ShapeRef.new(shape: DisableEbsEncryptionByDefaultResult)
16195
16303
  end)
16196
16304
 
16305
+ api.add_operation(:disable_fast_launch, Seahorse::Model::Operation.new.tap do |o|
16306
+ o.name = "DisableFastLaunch"
16307
+ o.http_method = "POST"
16308
+ o.http_request_uri = "/"
16309
+ o.input = Shapes::ShapeRef.new(shape: DisableFastLaunchRequest)
16310
+ o.output = Shapes::ShapeRef.new(shape: DisableFastLaunchResult)
16311
+ end)
16312
+
16197
16313
  api.add_operation(:disable_fast_snapshot_restores, Seahorse::Model::Operation.new.tap do |o|
16198
16314
  o.name = "DisableFastSnapshotRestores"
16199
16315
  o.http_method = "POST"
@@ -16354,6 +16470,14 @@ module Aws::EC2
16354
16470
  o.output = Shapes::ShapeRef.new(shape: EnableEbsEncryptionByDefaultResult)
16355
16471
  end)
16356
16472
 
16473
+ api.add_operation(:enable_fast_launch, Seahorse::Model::Operation.new.tap do |o|
16474
+ o.name = "EnableFastLaunch"
16475
+ o.http_method = "POST"
16476
+ o.http_request_uri = "/"
16477
+ o.input = Shapes::ShapeRef.new(shape: EnableFastLaunchRequest)
16478
+ o.output = Shapes::ShapeRef.new(shape: EnableFastLaunchResult)
16479
+ end)
16480
+
16357
16481
  api.add_operation(:enable_fast_snapshot_restores, Seahorse::Model::Operation.new.tap do |o|
16358
16482
  o.name = "EnableFastSnapshotRestores"
16359
16483
  o.http_method = "POST"
@@ -10135,8 +10135,8 @@ module Aws::EC2
10135
10135
  # {
10136
10136
  # source_ip: "IpAddress",
10137
10137
  # destination_ip: "IpAddress",
10138
- # source: "String", # required
10139
- # destination: "String", # required
10138
+ # source: "NetworkInsightsResourceId", # required
10139
+ # destination: "NetworkInsightsResourceId", # required
10140
10140
  # protocol: "tcp", # required, accepts tcp, udp
10141
10141
  # destination_port: 1,
10142
10142
  # tag_specifications: [
@@ -18815,6 +18815,150 @@ module Aws::EC2
18815
18815
  include Aws::Structure
18816
18816
  end
18817
18817
 
18818
+ # @note When making an API call, you may pass DescribeFastLaunchImagesRequest
18819
+ # data as a hash:
18820
+ #
18821
+ # {
18822
+ # image_ids: ["ImageId"],
18823
+ # filters: [
18824
+ # {
18825
+ # name: "String",
18826
+ # values: ["String"],
18827
+ # },
18828
+ # ],
18829
+ # max_results: 1,
18830
+ # next_token: "NextToken",
18831
+ # dry_run: false,
18832
+ # }
18833
+ #
18834
+ # @!attribute [rw] image_ids
18835
+ # Details for one or more Windows AMI image IDs.
18836
+ # @return [Array<String>]
18837
+ #
18838
+ # @!attribute [rw] filters
18839
+ # Use the following filters to streamline results.
18840
+ #
18841
+ # * `resource-type` - The resource type for pre-provisioning.
18842
+ #
18843
+ # * `launch-template` - The launch template that is associated with
18844
+ # the pre-provisioned Windows AMI.
18845
+ #
18846
+ # * `owner-id` - The owner ID for the pre-provisioning resource.
18847
+ #
18848
+ # * `state` - The current state of fast launching for the Windows AMI.
18849
+ # @return [Array<Types::Filter>]
18850
+ #
18851
+ # @!attribute [rw] max_results
18852
+ # The maximum number of results to return in a single call. To
18853
+ # retrieve the remaining results, make another request with the
18854
+ # returned NextToken value. If this parameter is not specified, then
18855
+ # all results are returned.
18856
+ # @return [Integer]
18857
+ #
18858
+ # @!attribute [rw] next_token
18859
+ # The token for the next set of results.
18860
+ # @return [String]
18861
+ #
18862
+ # @!attribute [rw] dry_run
18863
+ # Checks whether you have the required permissions for the action,
18864
+ # without actually making the request, and provides an error response.
18865
+ # If you have the required permissions, the error response is
18866
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
18867
+ # @return [Boolean]
18868
+ #
18869
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeFastLaunchImagesRequest AWS API Documentation
18870
+ #
18871
+ class DescribeFastLaunchImagesRequest < Struct.new(
18872
+ :image_ids,
18873
+ :filters,
18874
+ :max_results,
18875
+ :next_token,
18876
+ :dry_run)
18877
+ SENSITIVE = []
18878
+ include Aws::Structure
18879
+ end
18880
+
18881
+ # @!attribute [rw] fast_launch_images
18882
+ # A collection of details about the fast-launch enabled Windows images
18883
+ # that meet the requested criteria.
18884
+ # @return [Array<Types::DescribeFastLaunchImagesSuccessItem>]
18885
+ #
18886
+ # @!attribute [rw] next_token
18887
+ # The token to use for the next set of results. This value is null
18888
+ # when there are no more results to return.
18889
+ # @return [String]
18890
+ #
18891
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeFastLaunchImagesResult AWS API Documentation
18892
+ #
18893
+ class DescribeFastLaunchImagesResult < Struct.new(
18894
+ :fast_launch_images,
18895
+ :next_token)
18896
+ SENSITIVE = []
18897
+ include Aws::Structure
18898
+ end
18899
+
18900
+ # Describe details about a fast-launch enabled Windows image that meets
18901
+ # the requested criteria. Criteria are defined by the
18902
+ # `DescribeFastLaunchImages` action filters.
18903
+ #
18904
+ # @!attribute [rw] image_id
18905
+ # The image ID that identifies the fast-launch enabled Windows image.
18906
+ # @return [String]
18907
+ #
18908
+ # @!attribute [rw] resource_type
18909
+ # The resource type that is used for pre-provisioning the Windows AMI.
18910
+ # Supported values include: `snapshot`.
18911
+ # @return [String]
18912
+ #
18913
+ # @!attribute [rw] snapshot_configuration
18914
+ # A group of parameters that are used for pre-provisioning the
18915
+ # associated Windows AMI using snapshots.
18916
+ # @return [Types::FastLaunchSnapshotConfigurationResponse]
18917
+ #
18918
+ # @!attribute [rw] launch_template
18919
+ # The launch template that the fast-launch enabled Windows AMI uses
18920
+ # when it launches Windows instances from pre-provisioned snapshots.
18921
+ # @return [Types::FastLaunchLaunchTemplateSpecificationResponse]
18922
+ #
18923
+ # @!attribute [rw] max_parallel_launches
18924
+ # The maximum number of parallel instances that are launched for
18925
+ # creating resources.
18926
+ # @return [Integer]
18927
+ #
18928
+ # @!attribute [rw] owner_id
18929
+ # The owner ID for the fast-launch enabled Windows AMI.
18930
+ # @return [String]
18931
+ #
18932
+ # @!attribute [rw] state
18933
+ # The current state of faster launching for the specified Windows AMI.
18934
+ # @return [String]
18935
+ #
18936
+ # @!attribute [rw] state_transition_reason
18937
+ # The reason that faster launching for the Windows AMI changed to the
18938
+ # current state.
18939
+ # @return [String]
18940
+ #
18941
+ # @!attribute [rw] state_transition_time
18942
+ # The time that faster launching for the Windows AMI changed to the
18943
+ # current state.
18944
+ # @return [Time]
18945
+ #
18946
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribeFastLaunchImagesSuccessItem AWS API Documentation
18947
+ #
18948
+ class DescribeFastLaunchImagesSuccessItem < Struct.new(
18949
+ :image_id,
18950
+ :resource_type,
18951
+ :snapshot_configuration,
18952
+ :launch_template,
18953
+ :max_parallel_launches,
18954
+ :owner_id,
18955
+ :state,
18956
+ :state_transition_reason,
18957
+ :state_transition_time)
18958
+ SENSITIVE = []
18959
+ include Aws::Structure
18960
+ end
18961
+
18818
18962
  # Describes fast snapshot restores for a snapshot.
18819
18963
  #
18820
18964
  # @!attribute [rw] snapshot_id
@@ -29436,6 +29580,104 @@ module Aws::EC2
29436
29580
  include Aws::Structure
29437
29581
  end
29438
29582
 
29583
+ # @note When making an API call, you may pass DisableFastLaunchRequest
29584
+ # data as a hash:
29585
+ #
29586
+ # {
29587
+ # image_id: "ImageId", # required
29588
+ # force: false,
29589
+ # dry_run: false,
29590
+ # }
29591
+ #
29592
+ # @!attribute [rw] image_id
29593
+ # The ID of the image for which you’re turning off faster launching,
29594
+ # and removing pre-provisioned snapshots.
29595
+ # @return [String]
29596
+ #
29597
+ # @!attribute [rw] force
29598
+ # Forces the image settings to turn off faster launching for your
29599
+ # Windows AMI. This parameter overrides any errors that are
29600
+ # encountered while cleaning up resources in your account.
29601
+ # @return [Boolean]
29602
+ #
29603
+ # @!attribute [rw] dry_run
29604
+ # Checks whether you have the required permissions for the action,
29605
+ # without actually making the request, and provides an error response.
29606
+ # If you have the required permissions, the error response is
29607
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
29608
+ # @return [Boolean]
29609
+ #
29610
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableFastLaunchRequest AWS API Documentation
29611
+ #
29612
+ class DisableFastLaunchRequest < Struct.new(
29613
+ :image_id,
29614
+ :force,
29615
+ :dry_run)
29616
+ SENSITIVE = []
29617
+ include Aws::Structure
29618
+ end
29619
+
29620
+ # @!attribute [rw] image_id
29621
+ # The ID of the image for which faster-launching has been turned off.
29622
+ # @return [String]
29623
+ #
29624
+ # @!attribute [rw] resource_type
29625
+ # The pre-provisioning resource type that must be cleaned after
29626
+ # turning off faster launching for the Windows AMI. Supported values
29627
+ # include: `snapshot`.
29628
+ # @return [String]
29629
+ #
29630
+ # @!attribute [rw] snapshot_configuration
29631
+ # Parameters that were used for faster launching for the Windows AMI
29632
+ # before faster launching was turned off. This informs the clean-up
29633
+ # process.
29634
+ # @return [Types::FastLaunchSnapshotConfigurationResponse]
29635
+ #
29636
+ # @!attribute [rw] launch_template
29637
+ # The launch template that was used to launch Windows instances from
29638
+ # pre-provisioned snapshots.
29639
+ # @return [Types::FastLaunchLaunchTemplateSpecificationResponse]
29640
+ #
29641
+ # @!attribute [rw] max_parallel_launches
29642
+ # The maximum number of parallel instances to launch for creating
29643
+ # resources.
29644
+ # @return [Integer]
29645
+ #
29646
+ # @!attribute [rw] owner_id
29647
+ # The owner of the Windows AMI for which faster launching was turned
29648
+ # off.
29649
+ # @return [String]
29650
+ #
29651
+ # @!attribute [rw] state
29652
+ # The current state of faster launching for the specified Windows AMI.
29653
+ # @return [String]
29654
+ #
29655
+ # @!attribute [rw] state_transition_reason
29656
+ # The reason that the state changed for faster launching for the
29657
+ # Windows AMI.
29658
+ # @return [String]
29659
+ #
29660
+ # @!attribute [rw] state_transition_time
29661
+ # The time that the state changed for faster launching for the Windows
29662
+ # AMI.
29663
+ # @return [Time]
29664
+ #
29665
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableFastLaunchResult AWS API Documentation
29666
+ #
29667
+ class DisableFastLaunchResult < Struct.new(
29668
+ :image_id,
29669
+ :resource_type,
29670
+ :snapshot_configuration,
29671
+ :launch_template,
29672
+ :max_parallel_launches,
29673
+ :owner_id,
29674
+ :state,
29675
+ :state_transition_reason,
29676
+ :state_transition_time)
29677
+ SENSITIVE = []
29678
+ include Aws::Structure
29679
+ end
29680
+
29439
29681
  # Contains information about the errors that occurred when disabling
29440
29682
  # fast snapshot restores.
29441
29683
  #
@@ -31171,6 +31413,133 @@ module Aws::EC2
31171
31413
  include Aws::Structure
31172
31414
  end
31173
31415
 
31416
+ # @note When making an API call, you may pass EnableFastLaunchRequest
31417
+ # data as a hash:
31418
+ #
31419
+ # {
31420
+ # image_id: "ImageId", # required
31421
+ # resource_type: "String",
31422
+ # snapshot_configuration: {
31423
+ # target_resource_count: 1,
31424
+ # },
31425
+ # launch_template: {
31426
+ # launch_template_id: "LaunchTemplateId",
31427
+ # launch_template_name: "String",
31428
+ # version: "String", # required
31429
+ # },
31430
+ # max_parallel_launches: 1,
31431
+ # dry_run: false,
31432
+ # }
31433
+ #
31434
+ # @!attribute [rw] image_id
31435
+ # The ID of the image for which you’re enabling faster launching.
31436
+ # @return [String]
31437
+ #
31438
+ # @!attribute [rw] resource_type
31439
+ # The type of resource to use for pre-provisioning the Windows AMI for
31440
+ # faster launching. Supported values include: `snapshot`, which is the
31441
+ # default value.
31442
+ # @return [String]
31443
+ #
31444
+ # @!attribute [rw] snapshot_configuration
31445
+ # Configuration settings for creating and managing the snapshots that
31446
+ # are used for pre-provisioning the Windows AMI for faster launching.
31447
+ # The associated `ResourceType` must be `snapshot`.
31448
+ # @return [Types::FastLaunchSnapshotConfigurationRequest]
31449
+ #
31450
+ # @!attribute [rw] launch_template
31451
+ # The launch template to use when launching Windows instances from
31452
+ # pre-provisioned snapshots. Launch template parameters can include
31453
+ # either the name or ID of the launch template, but not both.
31454
+ # @return [Types::FastLaunchLaunchTemplateSpecificationRequest]
31455
+ #
31456
+ # @!attribute [rw] max_parallel_launches
31457
+ # The maximum number of parallel instances to launch for creating
31458
+ # resources.
31459
+ # @return [Integer]
31460
+ #
31461
+ # @!attribute [rw] dry_run
31462
+ # Checks whether you have the required permissions for the action,
31463
+ # without actually making the request, and provides an error response.
31464
+ # If you have the required permissions, the error response is
31465
+ # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
31466
+ # @return [Boolean]
31467
+ #
31468
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableFastLaunchRequest AWS API Documentation
31469
+ #
31470
+ class EnableFastLaunchRequest < Struct.new(
31471
+ :image_id,
31472
+ :resource_type,
31473
+ :snapshot_configuration,
31474
+ :launch_template,
31475
+ :max_parallel_launches,
31476
+ :dry_run)
31477
+ SENSITIVE = []
31478
+ include Aws::Structure
31479
+ end
31480
+
31481
+ # @!attribute [rw] image_id
31482
+ # The image ID that identifies the Windows AMI for which faster
31483
+ # launching was enabled.
31484
+ # @return [String]
31485
+ #
31486
+ # @!attribute [rw] resource_type
31487
+ # The type of resource that was defined for pre-provisioning the
31488
+ # Windows AMI for faster launching.
31489
+ # @return [String]
31490
+ #
31491
+ # @!attribute [rw] snapshot_configuration
31492
+ # The configuration settings that were defined for creating and
31493
+ # managing the pre-provisioned snapshots for faster launching of the
31494
+ # Windows AMI. This property is returned when the associated
31495
+ # `resourceType` is `snapshot`.
31496
+ # @return [Types::FastLaunchSnapshotConfigurationResponse]
31497
+ #
31498
+ # @!attribute [rw] launch_template
31499
+ # The launch template that is used when launching Windows instances
31500
+ # from pre-provisioned snapshots.
31501
+ # @return [Types::FastLaunchLaunchTemplateSpecificationResponse]
31502
+ #
31503
+ # @!attribute [rw] max_parallel_launches
31504
+ # The maximum number of parallel instances to launch for creating
31505
+ # resources.
31506
+ # @return [Integer]
31507
+ #
31508
+ # @!attribute [rw] owner_id
31509
+ # The owner ID for the Windows AMI for which faster launching was
31510
+ # enabled.
31511
+ # @return [String]
31512
+ #
31513
+ # @!attribute [rw] state
31514
+ # The current state of faster launching for the specified Windows AMI.
31515
+ # @return [String]
31516
+ #
31517
+ # @!attribute [rw] state_transition_reason
31518
+ # The reason that the state changed for faster launching for the
31519
+ # Windows AMI.
31520
+ # @return [String]
31521
+ #
31522
+ # @!attribute [rw] state_transition_time
31523
+ # The time that the state changed for faster launching for the Windows
31524
+ # AMI.
31525
+ # @return [Time]
31526
+ #
31527
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableFastLaunchResult AWS API Documentation
31528
+ #
31529
+ class EnableFastLaunchResult < Struct.new(
31530
+ :image_id,
31531
+ :resource_type,
31532
+ :snapshot_configuration,
31533
+ :launch_template,
31534
+ :max_parallel_launches,
31535
+ :owner_id,
31536
+ :state,
31537
+ :state_transition_reason,
31538
+ :state_transition_time)
31539
+ SENSITIVE = []
31540
+ include Aws::Structure
31541
+ end
31542
+
31174
31543
  # Contains information about the errors that occurred when enabling fast
31175
31544
  # snapshot restores.
31176
31545
  #
@@ -32647,6 +33016,115 @@ module Aws::EC2
32647
33016
  include Aws::Structure
32648
33017
  end
32649
33018
 
33019
+ # Request to create a launch template for a fast-launch enabled Windows
33020
+ # AMI.
33021
+ #
33022
+ # <note markdown="1"> Note - You can specify either the `LaunchTemplateName` or the
33023
+ # `LaunchTemplateId`, but not both.
33024
+ #
33025
+ # </note>
33026
+ #
33027
+ # @note When making an API call, you may pass FastLaunchLaunchTemplateSpecificationRequest
33028
+ # data as a hash:
33029
+ #
33030
+ # {
33031
+ # launch_template_id: "LaunchTemplateId",
33032
+ # launch_template_name: "String",
33033
+ # version: "String", # required
33034
+ # }
33035
+ #
33036
+ # @!attribute [rw] launch_template_id
33037
+ # The ID of the launch template to use for faster launching for a
33038
+ # Windows AMI.
33039
+ # @return [String]
33040
+ #
33041
+ # @!attribute [rw] launch_template_name
33042
+ # The name of the launch template to use for faster launching for a
33043
+ # Windows AMI.
33044
+ # @return [String]
33045
+ #
33046
+ # @!attribute [rw] version
33047
+ # The version of the launch template to use for faster launching for a
33048
+ # Windows AMI.
33049
+ # @return [String]
33050
+ #
33051
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/FastLaunchLaunchTemplateSpecificationRequest AWS API Documentation
33052
+ #
33053
+ class FastLaunchLaunchTemplateSpecificationRequest < Struct.new(
33054
+ :launch_template_id,
33055
+ :launch_template_name,
33056
+ :version)
33057
+ SENSITIVE = []
33058
+ include Aws::Structure
33059
+ end
33060
+
33061
+ # Identifies the launch template to use for faster launching of the
33062
+ # Windows AMI.
33063
+ #
33064
+ # @!attribute [rw] launch_template_id
33065
+ # The ID of the launch template for faster launching of the associated
33066
+ # Windows AMI.
33067
+ # @return [String]
33068
+ #
33069
+ # @!attribute [rw] launch_template_name
33070
+ # The name of the launch template for faster launching of the
33071
+ # associated Windows AMI.
33072
+ # @return [String]
33073
+ #
33074
+ # @!attribute [rw] version
33075
+ # The version of the launch template for faster launching of the
33076
+ # associated Windows AMI.
33077
+ # @return [String]
33078
+ #
33079
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/FastLaunchLaunchTemplateSpecificationResponse AWS API Documentation
33080
+ #
33081
+ class FastLaunchLaunchTemplateSpecificationResponse < Struct.new(
33082
+ :launch_template_id,
33083
+ :launch_template_name,
33084
+ :version)
33085
+ SENSITIVE = []
33086
+ include Aws::Structure
33087
+ end
33088
+
33089
+ # Configuration settings for creating and managing pre-provisioned
33090
+ # snapshots for a fast-launch enabled Windows AMI.
33091
+ #
33092
+ # @note When making an API call, you may pass FastLaunchSnapshotConfigurationRequest
33093
+ # data as a hash:
33094
+ #
33095
+ # {
33096
+ # target_resource_count: 1,
33097
+ # }
33098
+ #
33099
+ # @!attribute [rw] target_resource_count
33100
+ # The number of pre-provisioned snapshots to keep on hand for a
33101
+ # fast-launch enabled Windows AMI.
33102
+ # @return [Integer]
33103
+ #
33104
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/FastLaunchSnapshotConfigurationRequest AWS API Documentation
33105
+ #
33106
+ class FastLaunchSnapshotConfigurationRequest < Struct.new(
33107
+ :target_resource_count)
33108
+ SENSITIVE = []
33109
+ include Aws::Structure
33110
+ end
33111
+
33112
+ # Configuration settings for creating and managing pre-provisioned
33113
+ # snapshots for a fast-launch enabled Windows AMI.
33114
+ #
33115
+ # @!attribute [rw] target_resource_count
33116
+ # The number of pre-provisioned snapshots requested to keep on hand
33117
+ # for a fast-launch enabled Windows AMI.
33118
+ # @return [Integer]
33119
+ #
33120
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/FastLaunchSnapshotConfigurationResponse AWS API Documentation
33121
+ #
33122
+ class FastLaunchSnapshotConfigurationResponse < Struct.new(
33123
+ :target_resource_count)
33124
+ SENSITIVE = []
33125
+ include Aws::Structure
33126
+ end
33127
+
32650
33128
  # Describes the IAM SAML identity providers used for federated
32651
33129
  # authentication.
32652
33130
  #
data/lib/aws-sdk-ec2.rb CHANGED
@@ -72,6 +72,6 @@ require_relative 'aws-sdk-ec2/customizations'
72
72
  # @!group service
73
73
  module Aws::EC2
74
74
 
75
- GEM_VERSION = '1.290.0'
75
+ GEM_VERSION = '1.291.0'
76
76
 
77
77
  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.290.0
4
+ version: 1.291.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: 2022-01-06 00:00:00.000000000 Z
11
+ date: 2022-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4