aws-sdk-ec2 1.223.0 → 1.228.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -2521,8 +2521,8 @@ module Aws::EC2
2521
2521
  AssociateRouteTableResult.add_member(:association_state, Shapes::ShapeRef.new(shape: RouteTableAssociationState, location_name: "associationState"))
2522
2522
  AssociateRouteTableResult.struct_class = Types::AssociateRouteTableResult
2523
2523
 
2524
- AssociateSubnetCidrBlockRequest.add_member(:ipv_6_cidr_block, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ipv6CidrBlock"))
2525
2524
  AssociateSubnetCidrBlockRequest.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, required: true, location_name: "subnetId"))
2525
+ AssociateSubnetCidrBlockRequest.add_member(:ipv_6_cidr_block, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ipv6CidrBlock"))
2526
2526
  AssociateSubnetCidrBlockRequest.struct_class = Types::AssociateSubnetCidrBlockRequest
2527
2527
 
2528
2528
  AssociateSubnetCidrBlockResult.add_member(:ipv_6_cidr_block_association, Shapes::ShapeRef.new(shape: SubnetIpv6CidrBlockAssociation, location_name: "ipv6CidrBlockAssociation"))
@@ -3115,6 +3115,7 @@ module Aws::EC2
3115
3115
  CopyImageRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
3116
3116
  CopyImageRequest.add_member(:source_image_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SourceImageId"))
3117
3117
  CopyImageRequest.add_member(:source_region, Shapes::ShapeRef.new(shape: String, required: true, location_name: "SourceRegion"))
3118
+ CopyImageRequest.add_member(:destination_outpost_arn, Shapes::ShapeRef.new(shape: String, location_name: "DestinationOutpostArn"))
3118
3119
  CopyImageRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
3119
3120
  CopyImageRequest.struct_class = Types::CopyImageRequest
3120
3121
 
@@ -3122,6 +3123,7 @@ module Aws::EC2
3122
3123
  CopyImageResult.struct_class = Types::CopyImageResult
3123
3124
 
3124
3125
  CopySnapshotRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
3126
+ CopySnapshotRequest.add_member(:destination_outpost_arn, Shapes::ShapeRef.new(shape: String, location_name: "DestinationOutpostArn"))
3125
3127
  CopySnapshotRequest.add_member(:destination_region, Shapes::ShapeRef.new(shape: String, location_name: "destinationRegion"))
3126
3128
  CopySnapshotRequest.add_member(:encrypted, Shapes::ShapeRef.new(shape: Boolean, location_name: "encrypted"))
3127
3129
  CopySnapshotRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "kmsKeyId"))
@@ -3409,11 +3411,11 @@ module Aws::EC2
3409
3411
  CreateManagedPrefixListResult.add_member(:prefix_list, Shapes::ShapeRef.new(shape: ManagedPrefixList, location_name: "prefixList"))
3410
3412
  CreateManagedPrefixListResult.struct_class = Types::CreateManagedPrefixListResult
3411
3413
 
3412
- CreateNatGatewayRequest.add_member(:allocation_id, Shapes::ShapeRef.new(shape: AllocationId, required: true, location_name: "AllocationId"))
3413
3414
  CreateNatGatewayRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
3414
3415
  CreateNatGatewayRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
3415
3416
  CreateNatGatewayRequest.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, required: true, location_name: "SubnetId"))
3416
3417
  CreateNatGatewayRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
3418
+ CreateNatGatewayRequest.add_member(:allocation_id, Shapes::ShapeRef.new(shape: AllocationId, required: true, location_name: "AllocationId"))
3417
3419
  CreateNatGatewayRequest.struct_class = Types::CreateNatGatewayRequest
3418
3420
 
3419
3421
  CreateNatGatewayResult.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
@@ -3539,6 +3541,7 @@ module Aws::EC2
3539
3541
  CreateSecurityGroupResult.struct_class = Types::CreateSecurityGroupResult
3540
3542
 
3541
3543
  CreateSnapshotRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
3544
+ CreateSnapshotRequest.add_member(:outpost_arn, Shapes::ShapeRef.new(shape: String, location_name: "OutpostArn"))
3542
3545
  CreateSnapshotRequest.add_member(:volume_id, Shapes::ShapeRef.new(shape: VolumeId, required: true, location_name: "VolumeId"))
3543
3546
  CreateSnapshotRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
3544
3547
  CreateSnapshotRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
@@ -3546,6 +3549,7 @@ module Aws::EC2
3546
3549
 
3547
3550
  CreateSnapshotsRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
3548
3551
  CreateSnapshotsRequest.add_member(:instance_specification, Shapes::ShapeRef.new(shape: InstanceSpecification, required: true, location_name: "InstanceSpecification"))
3552
+ CreateSnapshotsRequest.add_member(:outpost_arn, Shapes::ShapeRef.new(shape: String, location_name: "OutpostArn"))
3549
3553
  CreateSnapshotsRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
3550
3554
  CreateSnapshotsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
3551
3555
  CreateSnapshotsRequest.add_member(:copy_tags_from_source, Shapes::ShapeRef.new(shape: CopyTagsFromSource, location_name: "CopyTagsFromSource"))
@@ -3565,11 +3569,11 @@ module Aws::EC2
3565
3569
  CreateSubnetRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
3566
3570
  CreateSubnetRequest.add_member(:availability_zone, Shapes::ShapeRef.new(shape: String, location_name: "AvailabilityZone"))
3567
3571
  CreateSubnetRequest.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: String, location_name: "AvailabilityZoneId"))
3568
- CreateSubnetRequest.add_member(:cidr_block, Shapes::ShapeRef.new(shape: String, required: true, location_name: "CidrBlock"))
3569
3572
  CreateSubnetRequest.add_member(:ipv_6_cidr_block, Shapes::ShapeRef.new(shape: String, location_name: "Ipv6CidrBlock"))
3570
3573
  CreateSubnetRequest.add_member(:outpost_arn, Shapes::ShapeRef.new(shape: String, location_name: "OutpostArn"))
3571
3574
  CreateSubnetRequest.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, required: true, location_name: "VpcId"))
3572
3575
  CreateSubnetRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
3576
+ CreateSubnetRequest.add_member(:cidr_block, Shapes::ShapeRef.new(shape: String, required: true, location_name: "CidrBlock"))
3573
3577
  CreateSubnetRequest.struct_class = Types::CreateSubnetRequest
3574
3578
 
3575
3579
  CreateSubnetResult.add_member(:subnet, Shapes::ShapeRef.new(shape: Subnet, location_name: "subnet"))
@@ -5822,6 +5826,7 @@ module Aws::EC2
5822
5826
  EbsBlockDevice.add_member(:volume_type, Shapes::ShapeRef.new(shape: VolumeType, location_name: "volumeType"))
5823
5827
  EbsBlockDevice.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "KmsKeyId"))
5824
5828
  EbsBlockDevice.add_member(:throughput, Shapes::ShapeRef.new(shape: Integer, location_name: "throughput"))
5829
+ EbsBlockDevice.add_member(:outpost_arn, Shapes::ShapeRef.new(shape: String, location_name: "outpostArn"))
5825
5830
  EbsBlockDevice.add_member(:encrypted, Shapes::ShapeRef.new(shape: Boolean, location_name: "encrypted"))
5826
5831
  EbsBlockDevice.struct_class = Types::EbsBlockDevice
5827
5832
 
@@ -9682,6 +9687,7 @@ module Aws::EC2
9682
9687
  Snapshot.add_member(:volume_id, Shapes::ShapeRef.new(shape: String, location_name: "volumeId"))
9683
9688
  Snapshot.add_member(:volume_size, Shapes::ShapeRef.new(shape: Integer, location_name: "volumeSize"))
9684
9689
  Snapshot.add_member(:owner_alias, Shapes::ShapeRef.new(shape: String, location_name: "ownerAlias"))
9690
+ Snapshot.add_member(:outpost_arn, Shapes::ShapeRef.new(shape: String, location_name: "outpostArn"))
9685
9691
  Snapshot.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
9686
9692
  Snapshot.struct_class = Types::Snapshot
9687
9693
 
@@ -9717,6 +9723,7 @@ module Aws::EC2
9717
9723
  SnapshotInfo.add_member(:progress, Shapes::ShapeRef.new(shape: String, location_name: "progress"))
9718
9724
  SnapshotInfo.add_member(:owner_id, Shapes::ShapeRef.new(shape: String, location_name: "ownerId"))
9719
9725
  SnapshotInfo.add_member(:snapshot_id, Shapes::ShapeRef.new(shape: String, location_name: "snapshotId"))
9726
+ SnapshotInfo.add_member(:outpost_arn, Shapes::ShapeRef.new(shape: String, location_name: "outpostArn"))
9720
9727
  SnapshotInfo.struct_class = Types::SnapshotInfo
9721
9728
 
9722
9729
  SnapshotList.member = Shapes::ShapeRef.new(shape: Snapshot, location_name: "item")
@@ -9989,7 +9996,7 @@ module Aws::EC2
9989
9996
 
9990
9997
  SubnetIdStringList.member = Shapes::ShapeRef.new(shape: SubnetId, location_name: "SubnetId")
9991
9998
 
9992
- SubnetIpv6CidrBlockAssociation.add_member(:association_id, Shapes::ShapeRef.new(shape: String, location_name: "associationId"))
9999
+ SubnetIpv6CidrBlockAssociation.add_member(:association_id, Shapes::ShapeRef.new(shape: SubnetCidrAssociationId, location_name: "associationId"))
9993
10000
  SubnetIpv6CidrBlockAssociation.add_member(:ipv_6_cidr_block, Shapes::ShapeRef.new(shape: String, location_name: "ipv6CidrBlock"))
9994
10001
  SubnetIpv6CidrBlockAssociation.add_member(:ipv_6_cidr_block_state, Shapes::ShapeRef.new(shape: SubnetCidrBlockState, location_name: "ipv6CidrBlockState"))
9995
10002
  SubnetIpv6CidrBlockAssociation.struct_class = Types::SubnetIpv6CidrBlockAssociation
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -485,10 +485,10 @@ module Aws::EC2
485
485
  # @option options [required, String] :attribute
486
486
  # The AMI attribute.
487
487
  #
488
- # **Note**\: Depending on your account privileges, the
489
- # `blockDeviceMapping` attribute may return a `Client.AuthFailure`
490
- # error. If this happens, use DescribeImages to get information about
491
- # the block device mapping for the AMI.
488
+ # **Note**\: The `blockDeviceMapping` attribute is deprecated. Using
489
+ # this attribute returns the `Client.AuthFailure` error. To get
490
+ # information about the block device mappings for an AMI, use the
491
+ # DescribeImages action.
492
492
  # @option options [Boolean] :dry_run
493
493
  # Checks whether you have the required permissions for the action,
494
494
  # without actually making the request, and provides an error response.
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -654,6 +654,7 @@ module Aws::EC2
654
654
  # volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
655
655
  # kms_key_id: "String",
656
656
  # throughput: 1,
657
+ # outpost_arn: "String",
657
658
  # encrypted: false,
658
659
  # },
659
660
  # no_device: "String",
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -107,8 +107,8 @@ module Aws::EC2
107
107
  data[:private_ip_addresses]
108
108
  end
109
109
 
110
- # The ID of the entity that launched the instance on your behalf (for
111
- # example, AWS Management Console or Auto Scaling).
110
+ # The alias or AWS account ID of the principal or service that created
111
+ # the network interface.
112
112
  # @return [String]
113
113
  def requester_id
114
114
  data[:requester_id]
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -92,13 +92,14 @@ module Aws::EC2
92
92
  # volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
93
93
  # kms_key_id: "String",
94
94
  # throughput: 1,
95
+ # outpost_arn: "String",
95
96
  # encrypted: false,
96
97
  # },
97
98
  # no_device: "String",
98
99
  # },
99
100
  # ],
100
101
  # image_id: "ImageId",
101
- # instance_type: "t1.micro", # accepts t1.micro, t2.nano, t2.micro, t2.small, t2.medium, t2.large, t2.xlarge, t2.2xlarge, t3.nano, t3.micro, t3.small, t3.medium, t3.large, t3.xlarge, t3.2xlarge, t3a.nano, t3a.micro, t3a.small, t3a.medium, t3a.large, t3a.xlarge, t3a.2xlarge, t4g.nano, t4g.micro, t4g.small, t4g.medium, t4g.large, t4g.xlarge, t4g.2xlarge, m1.small, m1.medium, m1.large, m1.xlarge, m3.medium, m3.large, m3.xlarge, m3.2xlarge, m4.large, m4.xlarge, m4.2xlarge, m4.4xlarge, m4.10xlarge, m4.16xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, cr1.8xlarge, r3.large, r3.xlarge, r3.2xlarge, r3.4xlarge, r3.8xlarge, r4.large, r4.xlarge, r4.2xlarge, r4.4xlarge, r4.8xlarge, r4.16xlarge, r5.large, r5.xlarge, r5.2xlarge, r5.4xlarge, r5.8xlarge, r5.12xlarge, r5.16xlarge, r5.24xlarge, r5.metal, r5a.large, r5a.xlarge, r5a.2xlarge, r5a.4xlarge, r5a.8xlarge, r5a.12xlarge, r5a.16xlarge, r5a.24xlarge, r5b.large, r5b.xlarge, r5b.2xlarge, r5b.4xlarge, r5b.8xlarge, r5b.12xlarge, r5b.16xlarge, r5b.24xlarge, r5b.metal, r5d.large, r5d.xlarge, r5d.2xlarge, r5d.4xlarge, r5d.8xlarge, r5d.12xlarge, r5d.16xlarge, r5d.24xlarge, r5d.metal, r5ad.large, r5ad.xlarge, r5ad.2xlarge, r5ad.4xlarge, r5ad.8xlarge, r5ad.12xlarge, r5ad.16xlarge, r5ad.24xlarge, r6g.metal, r6g.medium, r6g.large, r6g.xlarge, r6g.2xlarge, r6g.4xlarge, r6g.8xlarge, r6g.12xlarge, r6g.16xlarge, r6gd.metal, r6gd.medium, r6gd.large, r6gd.xlarge, r6gd.2xlarge, r6gd.4xlarge, r6gd.8xlarge, r6gd.12xlarge, r6gd.16xlarge, x1.16xlarge, x1.32xlarge, x1e.xlarge, x1e.2xlarge, x1e.4xlarge, x1e.8xlarge, x1e.16xlarge, x1e.32xlarge, i2.xlarge, i2.2xlarge, i2.4xlarge, i2.8xlarge, i3.large, i3.xlarge, i3.2xlarge, i3.4xlarge, i3.8xlarge, i3.16xlarge, i3.metal, i3en.large, i3en.xlarge, i3en.2xlarge, i3en.3xlarge, i3en.6xlarge, i3en.12xlarge, i3en.24xlarge, i3en.metal, hi1.4xlarge, hs1.8xlarge, c1.medium, c1.xlarge, c3.large, c3.xlarge, c3.2xlarge, c3.4xlarge, c3.8xlarge, c4.large, c4.xlarge, c4.2xlarge, c4.4xlarge, c4.8xlarge, c5.large, c5.xlarge, c5.2xlarge, c5.4xlarge, c5.9xlarge, c5.12xlarge, c5.18xlarge, c5.24xlarge, c5.metal, c5a.large, c5a.xlarge, c5a.2xlarge, c5a.4xlarge, c5a.8xlarge, c5a.12xlarge, c5a.16xlarge, c5a.24xlarge, c5ad.large, c5ad.xlarge, c5ad.2xlarge, c5ad.4xlarge, c5ad.8xlarge, c5ad.12xlarge, c5ad.16xlarge, c5ad.24xlarge, c5d.large, c5d.xlarge, c5d.2xlarge, c5d.4xlarge, c5d.9xlarge, c5d.12xlarge, c5d.18xlarge, c5d.24xlarge, c5d.metal, c5n.large, c5n.xlarge, c5n.2xlarge, c5n.4xlarge, c5n.9xlarge, c5n.18xlarge, c5n.metal, c6g.metal, c6g.medium, c6g.large, c6g.xlarge, c6g.2xlarge, c6g.4xlarge, c6g.8xlarge, c6g.12xlarge, c6g.16xlarge, c6gd.metal, c6gd.medium, c6gd.large, c6gd.xlarge, c6gd.2xlarge, c6gd.4xlarge, c6gd.8xlarge, c6gd.12xlarge, c6gd.16xlarge, c6gn.medium, c6gn.large, c6gn.xlarge, c6gn.2xlarge, c6gn.4xlarge, c6gn.8xlarge, c6gn.12xlarge, c6gn.16xlarge, cc1.4xlarge, cc2.8xlarge, g2.2xlarge, g2.8xlarge, g3.4xlarge, g3.8xlarge, g3.16xlarge, g3s.xlarge, g4ad.4xlarge, g4ad.8xlarge, g4ad.16xlarge, g4dn.xlarge, g4dn.2xlarge, g4dn.4xlarge, g4dn.8xlarge, g4dn.12xlarge, g4dn.16xlarge, g4dn.metal, cg1.4xlarge, p2.xlarge, p2.8xlarge, p2.16xlarge, p3.2xlarge, p3.8xlarge, p3.16xlarge, p3dn.24xlarge, p4d.24xlarge, d2.xlarge, d2.2xlarge, d2.4xlarge, d2.8xlarge, d3.xlarge, d3.2xlarge, d3.4xlarge, d3.8xlarge, d3en.xlarge, d3en.2xlarge, d3en.4xlarge, d3en.6xlarge, d3en.8xlarge, d3en.12xlarge, f1.2xlarge, f1.4xlarge, f1.16xlarge, m5.large, m5.xlarge, m5.2xlarge, m5.4xlarge, m5.8xlarge, m5.12xlarge, m5.16xlarge, m5.24xlarge, m5.metal, m5a.large, m5a.xlarge, m5a.2xlarge, m5a.4xlarge, m5a.8xlarge, m5a.12xlarge, m5a.16xlarge, m5a.24xlarge, m5d.large, m5d.xlarge, m5d.2xlarge, m5d.4xlarge, m5d.8xlarge, m5d.12xlarge, m5d.16xlarge, m5d.24xlarge, m5d.metal, m5ad.large, m5ad.xlarge, m5ad.2xlarge, m5ad.4xlarge, m5ad.8xlarge, m5ad.12xlarge, m5ad.16xlarge, m5ad.24xlarge, m5zn.large, m5zn.xlarge, m5zn.2xlarge, m5zn.3xlarge, m5zn.6xlarge, m5zn.12xlarge, m5zn.metal, h1.2xlarge, h1.4xlarge, h1.8xlarge, h1.16xlarge, z1d.large, z1d.xlarge, z1d.2xlarge, z1d.3xlarge, z1d.6xlarge, z1d.12xlarge, z1d.metal, u-6tb1.metal, u-9tb1.metal, u-12tb1.metal, u-18tb1.metal, u-24tb1.metal, a1.medium, a1.large, a1.xlarge, a1.2xlarge, a1.4xlarge, a1.metal, m5dn.large, m5dn.xlarge, m5dn.2xlarge, m5dn.4xlarge, m5dn.8xlarge, m5dn.12xlarge, m5dn.16xlarge, m5dn.24xlarge, m5n.large, m5n.xlarge, m5n.2xlarge, m5n.4xlarge, m5n.8xlarge, m5n.12xlarge, m5n.16xlarge, m5n.24xlarge, r5dn.large, r5dn.xlarge, r5dn.2xlarge, r5dn.4xlarge, r5dn.8xlarge, r5dn.12xlarge, r5dn.16xlarge, r5dn.24xlarge, r5n.large, r5n.xlarge, r5n.2xlarge, r5n.4xlarge, r5n.8xlarge, r5n.12xlarge, r5n.16xlarge, r5n.24xlarge, inf1.xlarge, inf1.2xlarge, inf1.6xlarge, inf1.24xlarge, m6g.metal, m6g.medium, m6g.large, m6g.xlarge, m6g.2xlarge, m6g.4xlarge, m6g.8xlarge, m6g.12xlarge, m6g.16xlarge, m6gd.metal, m6gd.medium, m6gd.large, m6gd.xlarge, m6gd.2xlarge, m6gd.4xlarge, m6gd.8xlarge, m6gd.12xlarge, m6gd.16xlarge, mac1.metal
102
+ # instance_type: "t1.micro", # accepts t1.micro, t2.nano, t2.micro, t2.small, t2.medium, t2.large, t2.xlarge, t2.2xlarge, t3.nano, t3.micro, t3.small, t3.medium, t3.large, t3.xlarge, t3.2xlarge, t3a.nano, t3a.micro, t3a.small, t3a.medium, t3a.large, t3a.xlarge, t3a.2xlarge, t4g.nano, t4g.micro, t4g.small, t4g.medium, t4g.large, t4g.xlarge, t4g.2xlarge, m1.small, m1.medium, m1.large, m1.xlarge, m3.medium, m3.large, m3.xlarge, m3.2xlarge, m4.large, m4.xlarge, m4.2xlarge, m4.4xlarge, m4.10xlarge, m4.16xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, cr1.8xlarge, r3.large, r3.xlarge, r3.2xlarge, r3.4xlarge, r3.8xlarge, r4.large, r4.xlarge, r4.2xlarge, r4.4xlarge, r4.8xlarge, r4.16xlarge, r5.large, r5.xlarge, r5.2xlarge, r5.4xlarge, r5.8xlarge, r5.12xlarge, r5.16xlarge, r5.24xlarge, r5.metal, r5a.large, r5a.xlarge, r5a.2xlarge, r5a.4xlarge, r5a.8xlarge, r5a.12xlarge, r5a.16xlarge, r5a.24xlarge, r5b.large, r5b.xlarge, r5b.2xlarge, r5b.4xlarge, r5b.8xlarge, r5b.12xlarge, r5b.16xlarge, r5b.24xlarge, r5b.metal, r5d.large, r5d.xlarge, r5d.2xlarge, r5d.4xlarge, r5d.8xlarge, r5d.12xlarge, r5d.16xlarge, r5d.24xlarge, r5d.metal, r5ad.large, r5ad.xlarge, r5ad.2xlarge, r5ad.4xlarge, r5ad.8xlarge, r5ad.12xlarge, r5ad.16xlarge, r5ad.24xlarge, r6g.metal, r6g.medium, r6g.large, r6g.xlarge, r6g.2xlarge, r6g.4xlarge, r6g.8xlarge, r6g.12xlarge, r6g.16xlarge, r6gd.metal, r6gd.medium, r6gd.large, r6gd.xlarge, r6gd.2xlarge, r6gd.4xlarge, r6gd.8xlarge, r6gd.12xlarge, r6gd.16xlarge, x1.16xlarge, x1.32xlarge, x1e.xlarge, x1e.2xlarge, x1e.4xlarge, x1e.8xlarge, x1e.16xlarge, x1e.32xlarge, i2.xlarge, i2.2xlarge, i2.4xlarge, i2.8xlarge, i3.large, i3.xlarge, i3.2xlarge, i3.4xlarge, i3.8xlarge, i3.16xlarge, i3.metal, i3en.large, i3en.xlarge, i3en.2xlarge, i3en.3xlarge, i3en.6xlarge, i3en.12xlarge, i3en.24xlarge, i3en.metal, hi1.4xlarge, hs1.8xlarge, c1.medium, c1.xlarge, c3.large, c3.xlarge, c3.2xlarge, c3.4xlarge, c3.8xlarge, c4.large, c4.xlarge, c4.2xlarge, c4.4xlarge, c4.8xlarge, c5.large, c5.xlarge, c5.2xlarge, c5.4xlarge, c5.9xlarge, c5.12xlarge, c5.18xlarge, c5.24xlarge, c5.metal, c5a.large, c5a.xlarge, c5a.2xlarge, c5a.4xlarge, c5a.8xlarge, c5a.12xlarge, c5a.16xlarge, c5a.24xlarge, c5ad.large, c5ad.xlarge, c5ad.2xlarge, c5ad.4xlarge, c5ad.8xlarge, c5ad.12xlarge, c5ad.16xlarge, c5ad.24xlarge, c5d.large, c5d.xlarge, c5d.2xlarge, c5d.4xlarge, c5d.9xlarge, c5d.12xlarge, c5d.18xlarge, c5d.24xlarge, c5d.metal, c5n.large, c5n.xlarge, c5n.2xlarge, c5n.4xlarge, c5n.9xlarge, c5n.18xlarge, c5n.metal, c6g.metal, c6g.medium, c6g.large, c6g.xlarge, c6g.2xlarge, c6g.4xlarge, c6g.8xlarge, c6g.12xlarge, c6g.16xlarge, c6gd.metal, c6gd.medium, c6gd.large, c6gd.xlarge, c6gd.2xlarge, c6gd.4xlarge, c6gd.8xlarge, c6gd.12xlarge, c6gd.16xlarge, c6gn.medium, c6gn.large, c6gn.xlarge, c6gn.2xlarge, c6gn.4xlarge, c6gn.8xlarge, c6gn.12xlarge, c6gn.16xlarge, cc1.4xlarge, cc2.8xlarge, g2.2xlarge, g2.8xlarge, g3.4xlarge, g3.8xlarge, g3.16xlarge, g3s.xlarge, g4ad.4xlarge, g4ad.8xlarge, g4ad.16xlarge, g4dn.xlarge, g4dn.2xlarge, g4dn.4xlarge, g4dn.8xlarge, g4dn.12xlarge, g4dn.16xlarge, g4dn.metal, cg1.4xlarge, p2.xlarge, p2.8xlarge, p2.16xlarge, p3.2xlarge, p3.8xlarge, p3.16xlarge, p3dn.24xlarge, p4d.24xlarge, d2.xlarge, d2.2xlarge, d2.4xlarge, d2.8xlarge, d3.xlarge, d3.2xlarge, d3.4xlarge, d3.8xlarge, d3en.xlarge, d3en.2xlarge, d3en.4xlarge, d3en.6xlarge, d3en.8xlarge, d3en.12xlarge, f1.2xlarge, f1.4xlarge, f1.16xlarge, m5.large, m5.xlarge, m5.2xlarge, m5.4xlarge, m5.8xlarge, m5.12xlarge, m5.16xlarge, m5.24xlarge, m5.metal, m5a.large, m5a.xlarge, m5a.2xlarge, m5a.4xlarge, m5a.8xlarge, m5a.12xlarge, m5a.16xlarge, m5a.24xlarge, m5d.large, m5d.xlarge, m5d.2xlarge, m5d.4xlarge, m5d.8xlarge, m5d.12xlarge, m5d.16xlarge, m5d.24xlarge, m5d.metal, m5ad.large, m5ad.xlarge, m5ad.2xlarge, m5ad.4xlarge, m5ad.8xlarge, m5ad.12xlarge, m5ad.16xlarge, m5ad.24xlarge, m5zn.large, m5zn.xlarge, m5zn.2xlarge, m5zn.3xlarge, m5zn.6xlarge, m5zn.12xlarge, m5zn.metal, h1.2xlarge, h1.4xlarge, h1.8xlarge, h1.16xlarge, z1d.large, z1d.xlarge, z1d.2xlarge, z1d.3xlarge, z1d.6xlarge, z1d.12xlarge, z1d.metal, u-6tb1.metal, u-9tb1.metal, u-12tb1.metal, u-18tb1.metal, u-24tb1.metal, a1.medium, a1.large, a1.xlarge, a1.2xlarge, a1.4xlarge, a1.metal, m5dn.large, m5dn.xlarge, m5dn.2xlarge, m5dn.4xlarge, m5dn.8xlarge, m5dn.12xlarge, m5dn.16xlarge, m5dn.24xlarge, m5n.large, m5n.xlarge, m5n.2xlarge, m5n.4xlarge, m5n.8xlarge, m5n.12xlarge, m5n.16xlarge, m5n.24xlarge, r5dn.large, r5dn.xlarge, r5dn.2xlarge, r5dn.4xlarge, r5dn.8xlarge, r5dn.12xlarge, r5dn.16xlarge, r5dn.24xlarge, r5n.large, r5n.xlarge, r5n.2xlarge, r5n.4xlarge, r5n.8xlarge, r5n.12xlarge, r5n.16xlarge, r5n.24xlarge, inf1.xlarge, inf1.2xlarge, inf1.6xlarge, inf1.24xlarge, m6g.metal, m6g.medium, m6g.large, m6g.xlarge, m6g.2xlarge, m6g.4xlarge, m6g.8xlarge, m6g.12xlarge, m6g.16xlarge, m6gd.metal, m6gd.medium, m6gd.large, m6gd.xlarge, m6gd.2xlarge, m6gd.4xlarge, m6gd.8xlarge, m6gd.12xlarge, m6gd.16xlarge, mac1.metal, x2gd.medium, x2gd.large, x2gd.xlarge, x2gd.2xlarge, x2gd.4xlarge, x2gd.8xlarge, x2gd.12xlarge, x2gd.16xlarge, x2gd.metal
102
103
  # ipv_6_address_count: 1,
103
104
  # ipv_6_addresses: [
104
105
  # {
@@ -412,7 +413,7 @@ module Aws::EC2
412
413
  #
413
414
  # Default: `false`
414
415
  # @option options [Types::IamInstanceProfileSpecification] :iam_instance_profile
415
- # The IAM instance profile.
416
+ # The name or Amazon Resource Name (ARN) of an IAM instance profile.
416
417
  # @option options [String] :instance_initiated_shutdown_behavior
417
418
  # Indicates whether an instance stops or terminates when you initiate
418
419
  # shutdown from the instance (using the operating system command for
@@ -619,7 +620,6 @@ module Aws::EC2
619
620
  # @example Request syntax with placeholder values
620
621
  #
621
622
  # natgateway = ec2.create_nat_gateway({
622
- # allocation_id: "AllocationId", # required
623
623
  # client_token: "String",
624
624
  # dry_run: false,
625
625
  # subnet_id: "SubnetId", # required
@@ -634,12 +634,9 @@ module Aws::EC2
634
634
  # ],
635
635
  # },
636
636
  # ],
637
+ # allocation_id: "AllocationId", # required
637
638
  # })
638
639
  # @param [Hash] options ({})
639
- # @option options [required, String] :allocation_id
640
- # The allocation ID of an Elastic IP address to associate with the NAT
641
- # gateway. If the Elastic IP address is associated with another
642
- # resource, you must first disassociate it.
643
640
  # @option options [String] :client_token
644
641
  # Unique, case-sensitive identifier that you provide to ensure the
645
642
  # idempotency of the request. For more information, see [How to Ensure
@@ -659,6 +656,10 @@ module Aws::EC2
659
656
  # The subnet in which to create the NAT gateway.
660
657
  # @option options [Array<Types::TagSpecification>] :tag_specifications
661
658
  # The tags to assign to the NAT gateway.
659
+ # @option options [required, String] :allocation_id
660
+ # The allocation ID of an Elastic IP address to associate with the NAT
661
+ # gateway. If the Elastic IP address is associated with another
662
+ # resource, you must first disassociate it.
662
663
  # @return [NatGateway]
663
664
  def create_nat_gateway(options = {})
664
665
  resp = @client.create_nat_gateway(options)
@@ -948,6 +949,7 @@ module Aws::EC2
948
949
  #
949
950
  # snapshot = ec2.create_snapshot({
950
951
  # description: "String",
952
+ # outpost_arn: "String",
951
953
  # volume_id: "VolumeId", # required
952
954
  # tag_specifications: [
953
955
  # {
@@ -965,6 +967,27 @@ module Aws::EC2
965
967
  # @param [Hash] options ({})
966
968
  # @option options [String] :description
967
969
  # A description for the snapshot.
970
+ # @option options [String] :outpost_arn
971
+ # The Amazon Resource Name (ARN) of the AWS Outpost on which to create a
972
+ # local snapshot.
973
+ #
974
+ # * To create a snapshot of a volume in a Region, omit this parameter.
975
+ # The snapshot is created in the same Region as the volume.
976
+ #
977
+ # * To create a snapshot of a volume on an Outpost and store the
978
+ # snapshot in the Region, omit this parameter. The snapshot is created
979
+ # in the Region for the Outpost.
980
+ #
981
+ # * To create a snapshot of a volume on an Outpost and store the
982
+ # snapshot on an Outpost, specify the ARN of the destination Outpost.
983
+ # The snapshot must be created on the same Outpost as the volume.
984
+ #
985
+ # For more information, see [ Creating local snapshots from volumes on
986
+ # an Outpost][1] in the *Amazon Elastic Compute Cloud User Guide*.
987
+ #
988
+ #
989
+ #
990
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#create-snapshot
968
991
  # @option options [required, String] :volume_id
969
992
  # The ID of the EBS volume.
970
993
  # @option options [Array<Types::TagSpecification>] :tag_specifications
@@ -1000,11 +1023,11 @@ module Aws::EC2
1000
1023
  # ],
1001
1024
  # availability_zone: "String",
1002
1025
  # availability_zone_id: "String",
1003
- # cidr_block: "String", # required
1004
1026
  # ipv_6_cidr_block: "String",
1005
1027
  # outpost_arn: "String",
1006
1028
  # vpc_id: "VpcId", # required
1007
1029
  # dry_run: false,
1030
+ # cidr_block: "String", # required
1008
1031
  # })
1009
1032
  # @param [Hash] options ({})
1010
1033
  # @option options [Array<Types::TagSpecification>] :tag_specifications
@@ -1029,11 +1052,6 @@ module Aws::EC2
1029
1052
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-available-regions
1030
1053
  # @option options [String] :availability_zone_id
1031
1054
  # The AZ ID or the Local Zone ID of the subnet.
1032
- # @option options [required, String] :cidr_block
1033
- # The IPv4 network range for the subnet, in CIDR notation. For example,
1034
- # `10.0.0.0/24`. We modify the specified CIDR block to its canonical
1035
- # form; for example, if you specify `100.68.0.18/18`, we modify it to
1036
- # `100.68.0.0/18`.
1037
1055
  # @option options [String] :ipv_6_cidr_block
1038
1056
  # The IPv6 network range for the subnet, in CIDR notation. The subnet
1039
1057
  # size must use a /64 prefix length.
@@ -1048,6 +1066,11 @@ module Aws::EC2
1048
1066
  # without actually making the request, and provides an error response.
1049
1067
  # If you have the required permissions, the error response is
1050
1068
  # `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
1069
+ # @option options [required, String] :cidr_block
1070
+ # The IPv4 network range for the subnet, in CIDR notation. For example,
1071
+ # `10.0.0.0/24`. We modify the specified CIDR block to its canonical
1072
+ # form; for example, if you specify `100.68.0.18/18`, we modify it to
1073
+ # `100.68.0.0/18`.
1051
1074
  # @return [Subnet]
1052
1075
  def create_subnet(options = {})
1053
1076
  resp = @client.create_subnet(options)
@@ -1505,6 +1528,7 @@ module Aws::EC2
1505
1528
  # volume_type: "standard", # accepts standard, io1, io2, gp2, sc1, st1, gp3
1506
1529
  # kms_key_id: "String",
1507
1530
  # throughput: 1,
1531
+ # outpost_arn: "String",
1508
1532
  # encrypted: false,
1509
1533
  # },
1510
1534
  # no_device: "String",
@@ -1538,6 +1562,20 @@ module Aws::EC2
1538
1562
  # AMIs, the architecture specified in the manifest file.
1539
1563
  # @option options [Array<Types::BlockDeviceMapping>] :block_device_mappings
1540
1564
  # The block device mapping entries.
1565
+ #
1566
+ # If you specify an EBS volume using the ID of an EBS snapshot, you
1567
+ # can't specify the encryption state of the volume.
1568
+ #
1569
+ # If you create an AMI on an Outpost, then all backing snapshots must be
1570
+ # on the same Outpost or in the Region of that Outpost. AMIs on an
1571
+ # Outpost that include local snapshots can be used to launch instances
1572
+ # on the same Outpost only. For more information, [ Amazon EBS local
1573
+ # snapshots on Outposts][1] in the *Amazon Elastic Compute Cloud User
1574
+ # Guide*.
1575
+ #
1576
+ #
1577
+ #
1578
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/snapshots-outposts.html#ami
1541
1579
  # @option options [String] :description
1542
1580
  # A description for your AMI.
1543
1581
  # @option options [Boolean] :dry_run
@@ -1816,13 +1854,14 @@ module Aws::EC2
1816
1854
  #
1817
1855
  # * `name` - The name of the AMI (provided during image creation).
1818
1856
  #
1819
- # * `owner-alias` - The owner alias, from an Amazon-maintained list
1820
- # (`amazon` \| `aws-marketplace`). This is not the user-configured AWS
1821
- # account alias set using the IAM console. We recommend that you use
1822
- # the related parameter instead of this filter.
1857
+ # * `owner-alias` - The owner alias (`amazon` \| `aws-marketplace`). The
1858
+ # valid aliases are defined in an Amazon-maintained list. This is not
1859
+ # the AWS account alias that can be set using the IAM console. We
1860
+ # recommend that you use the **Owner** request parameter instead of
1861
+ # this filter.
1823
1862
  #
1824
1863
  # * `owner-id` - The AWS account ID of the owner. We recommend that you
1825
- # use the related parameter instead of this filter.
1864
+ # use the **Owner** request parameter instead of this filter.
1826
1865
  #
1827
1866
  # * `platform` - The platform. To only list Windows-based AMIs, use
1828
1867
  # `windows`.
@@ -2632,9 +2671,8 @@ module Aws::EC2
2632
2671
  # * `private-dns-name` - The private DNS name of the network interface
2633
2672
  # (IPv4).
2634
2673
  #
2635
- # * `requester-id` - The ID of the entity that launched the instance on
2636
- # your behalf (for example, AWS Management Console, Auto Scaling, and
2637
- # so on).
2674
+ # * `requester-id` - The alias or AWS account ID of the principal or
2675
+ # service that created the network interface.
2638
2676
  #
2639
2677
  # * `requester-managed` - Indicates whether the network interface is
2640
2678
  # being managed by an AWS service (for example, AWS Management
@@ -2932,7 +2970,7 @@ module Aws::EC2
2932
2970
  # has been referenced in an outbound security group rule.
2933
2971
  #
2934
2972
  # * `egress.ip-permission.group-name` - The name of a security group
2935
- # that has been referenced in an outbound security group rule.
2973
+ # that is referenced in an outbound security group rule.
2936
2974
  #
2937
2975
  # * `egress.ip-permission.ipv6-cidr` - An IPv6 CIDR block for an
2938
2976
  # outbound security group rule.
@@ -2941,7 +2979,8 @@ module Aws::EC2
2941
2979
  # which a security group rule allows outbound access.
2942
2980
  #
2943
2981
  # * `egress.ip-permission.protocol` - The IP protocol for an outbound
2944
- # security group rule (`tcp` \| `udp` \| `icmp` or a protocol number).
2982
+ # security group rule (`tcp` \| `udp` \| `icmp`, a protocol number, or
2983
+ # -1 for all protocols).
2945
2984
  #
2946
2985
  # * `egress.ip-permission.to-port` - For an outbound rule, the end of
2947
2986
  # port range for the TCP and UDP protocols, or an ICMP code.
@@ -2962,8 +3001,8 @@ module Aws::EC2
2962
3001
  # * `ip-permission.group-id` - The ID of a security group that has been
2963
3002
  # referenced in an inbound security group rule.
2964
3003
  #
2965
- # * `ip-permission.group-name` - The name of a security group that has
2966
- # been referenced in an inbound security group rule.
3004
+ # * `ip-permission.group-name` - The name of a security group that is
3005
+ # referenced in an inbound security group rule.
2967
3006
  #
2968
3007
  # * `ip-permission.ipv6-cidr` - An IPv6 CIDR block for an inbound
2969
3008
  # security group rule.
@@ -2972,7 +3011,8 @@ module Aws::EC2
2972
3011
  # a security group rule allows inbound access.
2973
3012
  #
2974
3013
  # * `ip-permission.protocol` - The IP protocol for an inbound security
2975
- # group rule (`tcp` \| `udp` \| `icmp` or a protocol number).
3014
+ # group rule (`tcp` \| `udp` \| `icmp`, a protocol number, or -1 for
3015
+ # all protocols).
2976
3016
  #
2977
3017
  # * `ip-permission.to-port` - For an inbound rule, the end of port range
2978
3018
  # for the TCP and UDP protocols, or an ICMP code.