aws-sdk-ec2 1.670.0 → 1.671.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.
@@ -180,6 +180,8 @@ module Aws::EC2
180
180
  AssociateIpamByoasnResult = Shapes::StructureShape.new(name: 'AssociateIpamByoasnResult')
181
181
  AssociateIpamResourceDiscoveryRequest = Shapes::StructureShape.new(name: 'AssociateIpamResourceDiscoveryRequest')
182
182
  AssociateIpamResourceDiscoveryResult = Shapes::StructureShape.new(name: 'AssociateIpamResourceDiscoveryResult')
183
+ AssociateKmsKeyIdRequest = Shapes::StructureShape.new(name: 'AssociateKmsKeyIdRequest')
184
+ AssociateKmsKeyIdResult = Shapes::StructureShape.new(name: 'AssociateKmsKeyIdResult')
183
185
  AssociateNatGatewayAddressRequest = Shapes::StructureShape.new(name: 'AssociateNatGatewayAddressRequest')
184
186
  AssociateNatGatewayAddressResult = Shapes::StructureShape.new(name: 'AssociateNatGatewayAddressResult')
185
187
  AssociateNetworkingFlexCostAllocationPolicyRequest = Shapes::StructureShape.new(name: 'AssociateNetworkingFlexCostAllocationPolicyRequest')
@@ -202,6 +204,8 @@ module Aws::EC2
202
204
  AssociateTrunkInterfaceResult = Shapes::StructureShape.new(name: 'AssociateTrunkInterfaceResult')
203
205
  AssociateVpcCidrBlockRequest = Shapes::StructureShape.new(name: 'AssociateVpcCidrBlockRequest')
204
206
  AssociateVpcCidrBlockResult = Shapes::StructureShape.new(name: 'AssociateVpcCidrBlockResult')
207
+ AssociatedKmsKey = Shapes::StructureShape.new(name: 'AssociatedKmsKey')
208
+ AssociatedKmsKeySet = Shapes::ListShape.new(name: 'AssociatedKmsKeySet')
205
209
  AssociatedNetworkType = Shapes::StringShape.new(name: 'AssociatedNetworkType')
206
210
  AssociatedRole = Shapes::StructureShape.new(name: 'AssociatedRole')
207
211
  AssociatedRolesList = Shapes::ListShape.new(name: 'AssociatedRolesList')
@@ -740,6 +744,8 @@ module Aws::EC2
740
744
  CreateTransitGatewayMulticastDomainRequest = Shapes::StructureShape.new(name: 'CreateTransitGatewayMulticastDomainRequest')
741
745
  CreateTransitGatewayMulticastDomainRequestOptions = Shapes::StructureShape.new(name: 'CreateTransitGatewayMulticastDomainRequestOptions')
742
746
  CreateTransitGatewayMulticastDomainResult = Shapes::StructureShape.new(name: 'CreateTransitGatewayMulticastDomainResult')
747
+ CreateTransitGatewayNetworkFunctionAttachmentRequest = Shapes::StructureShape.new(name: 'CreateTransitGatewayNetworkFunctionAttachmentRequest')
748
+ CreateTransitGatewayNetworkFunctionAttachmentResult = Shapes::StructureShape.new(name: 'CreateTransitGatewayNetworkFunctionAttachmentResult')
743
749
  CreateTransitGatewayPeeringAttachmentRequest = Shapes::StructureShape.new(name: 'CreateTransitGatewayPeeringAttachmentRequest')
744
750
  CreateTransitGatewayPeeringAttachmentRequestOptions = Shapes::StructureShape.new(name: 'CreateTransitGatewayPeeringAttachmentRequestOptions')
745
751
  CreateTransitGatewayPeeringAttachmentResult = Shapes::StructureShape.new(name: 'CreateTransitGatewayPeeringAttachmentResult')
@@ -997,6 +1003,8 @@ module Aws::EC2
997
1003
  DeleteTransitGatewayMeteringPolicyResult = Shapes::StructureShape.new(name: 'DeleteTransitGatewayMeteringPolicyResult')
998
1004
  DeleteTransitGatewayMulticastDomainRequest = Shapes::StructureShape.new(name: 'DeleteTransitGatewayMulticastDomainRequest')
999
1005
  DeleteTransitGatewayMulticastDomainResult = Shapes::StructureShape.new(name: 'DeleteTransitGatewayMulticastDomainResult')
1006
+ DeleteTransitGatewayNetworkFunctionAttachmentRequest = Shapes::StructureShape.new(name: 'DeleteTransitGatewayNetworkFunctionAttachmentRequest')
1007
+ DeleteTransitGatewayNetworkFunctionAttachmentResult = Shapes::StructureShape.new(name: 'DeleteTransitGatewayNetworkFunctionAttachmentResult')
1000
1008
  DeleteTransitGatewayPeeringAttachmentRequest = Shapes::StructureShape.new(name: 'DeleteTransitGatewayPeeringAttachmentRequest')
1001
1009
  DeleteTransitGatewayPeeringAttachmentResult = Shapes::StructureShape.new(name: 'DeleteTransitGatewayPeeringAttachmentResult')
1002
1010
  DeleteTransitGatewayPolicyTableEntryRequest = Shapes::StructureShape.new(name: 'DeleteTransitGatewayPolicyTableEntryRequest')
@@ -1467,6 +1475,8 @@ module Aws::EC2
1467
1475
  DescribeTransitGatewayMeteringPoliciesResult = Shapes::StructureShape.new(name: 'DescribeTransitGatewayMeteringPoliciesResult')
1468
1476
  DescribeTransitGatewayMulticastDomainsRequest = Shapes::StructureShape.new(name: 'DescribeTransitGatewayMulticastDomainsRequest')
1469
1477
  DescribeTransitGatewayMulticastDomainsResult = Shapes::StructureShape.new(name: 'DescribeTransitGatewayMulticastDomainsResult')
1478
+ DescribeTransitGatewayNetworkFunctionAttachmentsRequest = Shapes::StructureShape.new(name: 'DescribeTransitGatewayNetworkFunctionAttachmentsRequest')
1479
+ DescribeTransitGatewayNetworkFunctionAttachmentsResult = Shapes::StructureShape.new(name: 'DescribeTransitGatewayNetworkFunctionAttachmentsResult')
1470
1480
  DescribeTransitGatewayPeeringAttachmentsRequest = Shapes::StructureShape.new(name: 'DescribeTransitGatewayPeeringAttachmentsRequest')
1471
1481
  DescribeTransitGatewayPeeringAttachmentsResult = Shapes::StructureShape.new(name: 'DescribeTransitGatewayPeeringAttachmentsResult')
1472
1482
  DescribeTransitGatewayPolicyTablesRequest = Shapes::StructureShape.new(name: 'DescribeTransitGatewayPolicyTablesRequest')
@@ -1643,6 +1653,8 @@ module Aws::EC2
1643
1653
  DisassociateIpamByoasnResult = Shapes::StructureShape.new(name: 'DisassociateIpamByoasnResult')
1644
1654
  DisassociateIpamResourceDiscoveryRequest = Shapes::StructureShape.new(name: 'DisassociateIpamResourceDiscoveryRequest')
1645
1655
  DisassociateIpamResourceDiscoveryResult = Shapes::StructureShape.new(name: 'DisassociateIpamResourceDiscoveryResult')
1656
+ DisassociateKmsKeyIdRequest = Shapes::StructureShape.new(name: 'DisassociateKmsKeyIdRequest')
1657
+ DisassociateKmsKeyIdResult = Shapes::StructureShape.new(name: 'DisassociateKmsKeyIdResult')
1646
1658
  DisassociateNatGatewayAddressRequest = Shapes::StructureShape.new(name: 'DisassociateNatGatewayAddressRequest')
1647
1659
  DisassociateNatGatewayAddressResult = Shapes::StructureShape.new(name: 'DisassociateNatGatewayAddressResult')
1648
1660
  DisassociateNetworkingFlexCostAllocationPolicyRequest = Shapes::StructureShape.new(name: 'DisassociateNetworkingFlexCostAllocationPolicyRequest')
@@ -3031,6 +3043,8 @@ module Aws::EC2
3031
3043
  ModifyTransitGatewayAttachmentNatConfigurationResult = Shapes::StructureShape.new(name: 'ModifyTransitGatewayAttachmentNatConfigurationResult')
3032
3044
  ModifyTransitGatewayMeteringPolicyRequest = Shapes::StructureShape.new(name: 'ModifyTransitGatewayMeteringPolicyRequest')
3033
3045
  ModifyTransitGatewayMeteringPolicyResult = Shapes::StructureShape.new(name: 'ModifyTransitGatewayMeteringPolicyResult')
3046
+ ModifyTransitGatewayNetworkFunctionAttachmentRequest = Shapes::StructureShape.new(name: 'ModifyTransitGatewayNetworkFunctionAttachmentRequest')
3047
+ ModifyTransitGatewayNetworkFunctionAttachmentResult = Shapes::StructureShape.new(name: 'ModifyTransitGatewayNetworkFunctionAttachmentResult')
3034
3048
  ModifyTransitGatewayOptions = Shapes::StructureShape.new(name: 'ModifyTransitGatewayOptions')
3035
3049
  ModifyTransitGatewayPolicyTableEntryRequest = Shapes::StructureShape.new(name: 'ModifyTransitGatewayPolicyTableEntryRequest')
3036
3050
  ModifyTransitGatewayPolicyTableEntryResult = Shapes::StructureShape.new(name: 'ModifyTransitGatewayPolicyTableEntryResult')
@@ -3147,6 +3161,8 @@ module Aws::EC2
3147
3161
  NetworkCardInfoList = Shapes::ListShape.new(name: 'NetworkCardInfoList')
3148
3162
  NetworkCardInterfaceType = Shapes::StringShape.new(name: 'NetworkCardInterfaceType')
3149
3163
  NetworkCardInterfaceTypeList = Shapes::ListShape.new(name: 'NetworkCardInterfaceTypeList')
3164
+ NetworkFunctionAttachmentAZIdList = Shapes::ListShape.new(name: 'NetworkFunctionAttachmentAZIdList')
3165
+ NetworkFunctionAttachmentAZNameList = Shapes::ListShape.new(name: 'NetworkFunctionAttachmentAZNameList')
3150
3166
  NetworkInfo = Shapes::StructureShape.new(name: 'NetworkInfo')
3151
3167
  NetworkInsightsAccessScope = Shapes::StructureShape.new(name: 'NetworkInsightsAccessScope')
3152
3168
  NetworkInsightsAccessScopeAnalysis = Shapes::StructureShape.new(name: 'NetworkInsightsAccessScopeAnalysis')
@@ -3268,6 +3284,7 @@ module Aws::EC2
3268
3284
  Period = Shapes::IntegerShape.new(name: 'Period')
3269
3285
  PeriodType = Shapes::StringShape.new(name: 'PeriodType')
3270
3286
  PermissionGroup = Shapes::StringShape.new(name: 'PermissionGroup')
3287
+ PermissionType = Shapes::StringShape.new(name: 'PermissionType')
3271
3288
  Phase1DHGroupNumbersList = Shapes::ListShape.new(name: 'Phase1DHGroupNumbersList')
3272
3289
  Phase1DHGroupNumbersListValue = Shapes::StructureShape.new(name: 'Phase1DHGroupNumbersListValue')
3273
3290
  Phase1DHGroupNumbersRequestList = Shapes::ListShape.new(name: 'Phase1DHGroupNumbersRequestList')
@@ -4005,6 +4022,7 @@ module Aws::EC2
4005
4022
  TransitGatewayAttachmentBgpConfiguration = Shapes::StructureShape.new(name: 'TransitGatewayAttachmentBgpConfiguration')
4006
4023
  TransitGatewayAttachmentBgpConfigurationList = Shapes::ListShape.new(name: 'TransitGatewayAttachmentBgpConfigurationList')
4007
4024
  TransitGatewayAttachmentId = Shapes::StringShape.new(name: 'TransitGatewayAttachmentId')
4025
+ TransitGatewayAttachmentIdList = Shapes::ListShape.new(name: 'TransitGatewayAttachmentIdList')
4008
4026
  TransitGatewayAttachmentIdStringList = Shapes::ListShape.new(name: 'TransitGatewayAttachmentIdStringList')
4009
4027
  TransitGatewayAttachmentList = Shapes::ListShape.new(name: 'TransitGatewayAttachmentList')
4010
4028
  TransitGatewayAttachmentNatGatewaySupportState = Shapes::StringShape.new(name: 'TransitGatewayAttachmentNatGatewaySupportState')
@@ -4064,6 +4082,9 @@ module Aws::EC2
4064
4082
  TransitGatewayNatRuleRequest = Shapes::StructureShape.new(name: 'TransitGatewayNatRuleRequest')
4065
4083
  TransitGatewayNatRuleRequestList = Shapes::ListShape.new(name: 'TransitGatewayNatRuleRequestList')
4066
4084
  TransitGatewayNatRuleState = Shapes::StringShape.new(name: 'TransitGatewayNatRuleState')
4085
+ TransitGatewayNetworkFunctionAttachment = Shapes::StructureShape.new(name: 'TransitGatewayNetworkFunctionAttachment')
4086
+ TransitGatewayNetworkFunctionAttachmentIdList = Shapes::ListShape.new(name: 'TransitGatewayNetworkFunctionAttachmentIdList')
4087
+ TransitGatewayNetworkFunctionAttachmentList = Shapes::ListShape.new(name: 'TransitGatewayNetworkFunctionAttachmentList')
4067
4088
  TransitGatewayNetworkInterfaceIdList = Shapes::ListShape.new(name: 'TransitGatewayNetworkInterfaceIdList')
4068
4089
  TransitGatewayOptions = Shapes::StructureShape.new(name: 'TransitGatewayOptions')
4069
4090
  TransitGatewayPeeringAttachment = Shapes::StructureShape.new(name: 'TransitGatewayPeeringAttachment')
@@ -4462,6 +4483,7 @@ module Aws::EC2
4462
4483
  AcceptVpcEndpointConnectionsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
4463
4484
  AcceptVpcEndpointConnectionsRequest.add_member(:service_id, Shapes::ShapeRef.new(shape: VpcEndpointServiceId, required: true, location_name: "ServiceId"))
4464
4485
  AcceptVpcEndpointConnectionsRequest.add_member(:vpc_endpoint_ids, Shapes::ShapeRef.new(shape: VpcEndpointIdList, required: true, location_name: "VpcEndpointId"))
4486
+ AcceptVpcEndpointConnectionsRequest.add_member(:transit_gateway_attachment_ids, Shapes::ShapeRef.new(shape: TransitGatewayAttachmentIdList, location_name: "TransitGatewayAttachmentId"))
4465
4487
  AcceptVpcEndpointConnectionsRequest.struct_class = Types::AcceptVpcEndpointConnectionsRequest
4466
4488
 
4467
4489
  AcceptVpcEndpointConnectionsResult.add_member(:unsuccessful, Shapes::ShapeRef.new(shape: UnsuccessfulItemSet, location_name: "unsuccessful"))
@@ -4567,6 +4589,7 @@ module Aws::EC2
4567
4589
  AddedPrincipal.add_member(:principal, Shapes::ShapeRef.new(shape: String, location_name: "principal"))
4568
4590
  AddedPrincipal.add_member(:service_permission_id, Shapes::ShapeRef.new(shape: String, location_name: "servicePermissionId"))
4569
4591
  AddedPrincipal.add_member(:service_id, Shapes::ShapeRef.new(shape: String, location_name: "serviceId"))
4592
+ AddedPrincipal.add_member(:permission_type, Shapes::ShapeRef.new(shape: PermissionType, location_name: "permissionType"))
4570
4593
  AddedPrincipal.struct_class = Types::AddedPrincipal
4571
4594
 
4572
4595
  AddedPrincipalSet.member = Shapes::ShapeRef.new(shape: AddedPrincipal, location_name: "item")
@@ -4694,6 +4717,7 @@ module Aws::EC2
4694
4717
  AllowedPrincipal.add_member(:service_permission_id, Shapes::ShapeRef.new(shape: String, location_name: "servicePermissionId"))
4695
4718
  AllowedPrincipal.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
4696
4719
  AllowedPrincipal.add_member(:service_id, Shapes::ShapeRef.new(shape: String, location_name: "serviceId"))
4720
+ AllowedPrincipal.add_member(:permission_type, Shapes::ShapeRef.new(shape: PermissionType, location_name: "permissionType"))
4697
4721
  AllowedPrincipal.struct_class = Types::AllowedPrincipal
4698
4722
 
4699
4723
  AllowedPrincipalSet.member = Shapes::ShapeRef.new(shape: AllowedPrincipal, location_name: "item")
@@ -4999,6 +5023,14 @@ module Aws::EC2
4999
5023
  AssociateIpamResourceDiscoveryResult.add_member(:ipam_resource_discovery_association, Shapes::ShapeRef.new(shape: IpamResourceDiscoveryAssociation, location_name: "ipamResourceDiscoveryAssociation"))
5000
5024
  AssociateIpamResourceDiscoveryResult.struct_class = Types::AssociateIpamResourceDiscoveryResult
5001
5025
 
5026
+ AssociateKmsKeyIdRequest.add_member(:snapshot_id, Shapes::ShapeRef.new(shape: SnapshotId, location_name: "SnapshotId"))
5027
+ AssociateKmsKeyIdRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, required: true, location_name: "KmsKeyId"))
5028
+ AssociateKmsKeyIdRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
5029
+ AssociateKmsKeyIdRequest.struct_class = Types::AssociateKmsKeyIdRequest
5030
+
5031
+ AssociateKmsKeyIdResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
5032
+ AssociateKmsKeyIdResult.struct_class = Types::AssociateKmsKeyIdResult
5033
+
5002
5034
  AssociateNatGatewayAddressRequest.add_member(:nat_gateway_id, Shapes::ShapeRef.new(shape: NatGatewayId, required: true, location_name: "NatGatewayId"))
5003
5035
  AssociateNatGatewayAddressRequest.add_member(:allocation_ids, Shapes::ShapeRef.new(shape: AllocationIdList, required: true, location_name: "AllocationId"))
5004
5036
  AssociateNatGatewayAddressRequest.add_member(:private_ip_addresses, Shapes::ShapeRef.new(shape: IpList, location_name: "PrivateIpAddress"))
@@ -5113,6 +5145,11 @@ module Aws::EC2
5113
5145
  AssociateVpcCidrBlockResult.add_member(:vpc_id, Shapes::ShapeRef.new(shape: String, location_name: "vpcId"))
5114
5146
  AssociateVpcCidrBlockResult.struct_class = Types::AssociateVpcCidrBlockResult
5115
5147
 
5148
+ AssociatedKmsKey.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "kmsKeyId"))
5149
+ AssociatedKmsKey.struct_class = Types::AssociatedKmsKey
5150
+
5151
+ AssociatedKmsKeySet.member = Shapes::ShapeRef.new(shape: AssociatedKmsKey, location_name: "item")
5152
+
5116
5153
  AssociatedRole.add_member(:associated_role_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "associatedRoleArn"))
5117
5154
  AssociatedRole.add_member(:certificate_s3_bucket_name, Shapes::ShapeRef.new(shape: String, location_name: "certificateS3BucketName"))
5118
5155
  AssociatedRole.add_member(:certificate_s3_object_key, Shapes::ShapeRef.new(shape: String, location_name: "certificateS3ObjectKey"))
@@ -7400,6 +7437,17 @@ module Aws::EC2
7400
7437
  CreateTransitGatewayMulticastDomainResult.add_member(:transit_gateway_multicast_domain, Shapes::ShapeRef.new(shape: TransitGatewayMulticastDomain, location_name: "transitGatewayMulticastDomain"))
7401
7438
  CreateTransitGatewayMulticastDomainResult.struct_class = Types::CreateTransitGatewayMulticastDomainResult
7402
7439
 
7440
+ CreateTransitGatewayNetworkFunctionAttachmentRequest.add_member(:transit_gateway_id, Shapes::ShapeRef.new(shape: TransitGatewayId, required: true, location_name: "TransitGatewayId"))
7441
+ CreateTransitGatewayNetworkFunctionAttachmentRequest.add_member(:service_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ServiceName"))
7442
+ CreateTransitGatewayNetworkFunctionAttachmentRequest.add_member(:availability_zones, Shapes::ShapeRef.new(shape: NetworkFunctionAttachmentAZNameList, location_name: "AvailabilityZone"))
7443
+ CreateTransitGatewayNetworkFunctionAttachmentRequest.add_member(:availability_zone_ids, Shapes::ShapeRef.new(shape: NetworkFunctionAttachmentAZIdList, location_name: "AvailabilityZoneId"))
7444
+ CreateTransitGatewayNetworkFunctionAttachmentRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
7445
+ CreateTransitGatewayNetworkFunctionAttachmentRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
7446
+ CreateTransitGatewayNetworkFunctionAttachmentRequest.struct_class = Types::CreateTransitGatewayNetworkFunctionAttachmentRequest
7447
+
7448
+ CreateTransitGatewayNetworkFunctionAttachmentResult.add_member(:transit_gateway_network_function_attachment, Shapes::ShapeRef.new(shape: TransitGatewayNetworkFunctionAttachment, location_name: "transitGatewayNetworkFunctionAttachment"))
7449
+ CreateTransitGatewayNetworkFunctionAttachmentResult.struct_class = Types::CreateTransitGatewayNetworkFunctionAttachmentResult
7450
+
7403
7451
  CreateTransitGatewayPeeringAttachmentRequest.add_member(:transit_gateway_id, Shapes::ShapeRef.new(shape: TransitGatewayId, required: true, location_name: "TransitGatewayId"))
7404
7452
  CreateTransitGatewayPeeringAttachmentRequest.add_member(:peer_transit_gateway_id, Shapes::ShapeRef.new(shape: TransitAssociationGatewayId, required: true, location_name: "PeerTransitGatewayId"))
7405
7453
  CreateTransitGatewayPeeringAttachmentRequest.add_member(:peer_account_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "PeerAccountId"))
@@ -8424,6 +8472,13 @@ module Aws::EC2
8424
8472
  DeleteTransitGatewayMulticastDomainResult.add_member(:transit_gateway_multicast_domain, Shapes::ShapeRef.new(shape: TransitGatewayMulticastDomain, location_name: "transitGatewayMulticastDomain"))
8425
8473
  DeleteTransitGatewayMulticastDomainResult.struct_class = Types::DeleteTransitGatewayMulticastDomainResult
8426
8474
 
8475
+ DeleteTransitGatewayNetworkFunctionAttachmentRequest.add_member(:transit_gateway_attachment_id, Shapes::ShapeRef.new(shape: TransitGatewayAttachmentId, required: true, location_name: "TransitGatewayAttachmentId"))
8476
+ DeleteTransitGatewayNetworkFunctionAttachmentRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
8477
+ DeleteTransitGatewayNetworkFunctionAttachmentRequest.struct_class = Types::DeleteTransitGatewayNetworkFunctionAttachmentRequest
8478
+
8479
+ DeleteTransitGatewayNetworkFunctionAttachmentResult.add_member(:transit_gateway_network_function_attachment, Shapes::ShapeRef.new(shape: TransitGatewayNetworkFunctionAttachment, location_name: "transitGatewayNetworkFunctionAttachment"))
8480
+ DeleteTransitGatewayNetworkFunctionAttachmentResult.struct_class = Types::DeleteTransitGatewayNetworkFunctionAttachmentResult
8481
+
8427
8482
  DeleteTransitGatewayPeeringAttachmentRequest.add_member(:transit_gateway_attachment_id, Shapes::ShapeRef.new(shape: TransitGatewayAttachmentId, required: true, location_name: "TransitGatewayAttachmentId"))
8428
8483
  DeleteTransitGatewayPeeringAttachmentRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
8429
8484
  DeleteTransitGatewayPeeringAttachmentRequest.struct_class = Types::DeleteTransitGatewayPeeringAttachmentRequest
@@ -10485,6 +10540,17 @@ module Aws::EC2
10485
10540
  DescribeTransitGatewayMulticastDomainsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
10486
10541
  DescribeTransitGatewayMulticastDomainsResult.struct_class = Types::DescribeTransitGatewayMulticastDomainsResult
10487
10542
 
10543
+ DescribeTransitGatewayNetworkFunctionAttachmentsRequest.add_member(:transit_gateway_attachment_ids, Shapes::ShapeRef.new(shape: TransitGatewayNetworkFunctionAttachmentIdList, location_name: "TransitGatewayAttachmentId"))
10544
+ DescribeTransitGatewayNetworkFunctionAttachmentsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filter"))
10545
+ DescribeTransitGatewayNetworkFunctionAttachmentsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: TransitGatewayMaxResults, location_name: "MaxResults"))
10546
+ DescribeTransitGatewayNetworkFunctionAttachmentsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
10547
+ DescribeTransitGatewayNetworkFunctionAttachmentsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
10548
+ DescribeTransitGatewayNetworkFunctionAttachmentsRequest.struct_class = Types::DescribeTransitGatewayNetworkFunctionAttachmentsRequest
10549
+
10550
+ DescribeTransitGatewayNetworkFunctionAttachmentsResult.add_member(:transit_gateway_network_function_attachments, Shapes::ShapeRef.new(shape: TransitGatewayNetworkFunctionAttachmentList, location_name: "transitGatewayNetworkFunctionAttachmentSet"))
10551
+ DescribeTransitGatewayNetworkFunctionAttachmentsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
10552
+ DescribeTransitGatewayNetworkFunctionAttachmentsResult.struct_class = Types::DescribeTransitGatewayNetworkFunctionAttachmentsResult
10553
+
10488
10554
  DescribeTransitGatewayPeeringAttachmentsRequest.add_member(:transit_gateway_attachment_ids, Shapes::ShapeRef.new(shape: TransitGatewayAttachmentIdStringList, location_name: "TransitGatewayAttachmentIds"))
10489
10555
  DescribeTransitGatewayPeeringAttachmentsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filter"))
10490
10556
  DescribeTransitGatewayPeeringAttachmentsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: TransitGatewayMaxResults, location_name: "MaxResults"))
@@ -11221,6 +11287,14 @@ module Aws::EC2
11221
11287
  DisassociateIpamResourceDiscoveryResult.add_member(:ipam_resource_discovery_association, Shapes::ShapeRef.new(shape: IpamResourceDiscoveryAssociation, location_name: "ipamResourceDiscoveryAssociation"))
11222
11288
  DisassociateIpamResourceDiscoveryResult.struct_class = Types::DisassociateIpamResourceDiscoveryResult
11223
11289
 
11290
+ DisassociateKmsKeyIdRequest.add_member(:snapshot_id, Shapes::ShapeRef.new(shape: SnapshotId, location_name: "SnapshotId"))
11291
+ DisassociateKmsKeyIdRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, required: true, location_name: "KmsKeyId"))
11292
+ DisassociateKmsKeyIdRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
11293
+ DisassociateKmsKeyIdRequest.struct_class = Types::DisassociateKmsKeyIdRequest
11294
+
11295
+ DisassociateKmsKeyIdResult.add_member(:return, Shapes::ShapeRef.new(shape: Boolean, location_name: "return"))
11296
+ DisassociateKmsKeyIdResult.struct_class = Types::DisassociateKmsKeyIdResult
11297
+
11224
11298
  DisassociateNatGatewayAddressRequest.add_member(:nat_gateway_id, Shapes::ShapeRef.new(shape: NatGatewayId, required: true, location_name: "NatGatewayId"))
11225
11299
  DisassociateNatGatewayAddressRequest.add_member(:association_ids, Shapes::ShapeRef.new(shape: EipAssociationIdList, required: true, location_name: "AssociationId"))
11226
11300
  DisassociateNatGatewayAddressRequest.add_member(:max_drain_duration_seconds, Shapes::ShapeRef.new(shape: DrainSeconds, location_name: "MaxDrainDurationSeconds"))
@@ -16500,6 +16574,17 @@ module Aws::EC2
16500
16574
  ModifyTransitGatewayMeteringPolicyResult.add_member(:transit_gateway_metering_policy, Shapes::ShapeRef.new(shape: TransitGatewayMeteringPolicy, location_name: "transitGatewayMeteringPolicy"))
16501
16575
  ModifyTransitGatewayMeteringPolicyResult.struct_class = Types::ModifyTransitGatewayMeteringPolicyResult
16502
16576
 
16577
+ ModifyTransitGatewayNetworkFunctionAttachmentRequest.add_member(:transit_gateway_attachment_id, Shapes::ShapeRef.new(shape: TransitGatewayAttachmentId, required: true, location_name: "TransitGatewayAttachmentId"))
16578
+ ModifyTransitGatewayNetworkFunctionAttachmentRequest.add_member(:add_availability_zones, Shapes::ShapeRef.new(shape: NetworkFunctionAttachmentAZNameList, location_name: "AddAvailabilityZone"))
16579
+ ModifyTransitGatewayNetworkFunctionAttachmentRequest.add_member(:add_availability_zone_ids, Shapes::ShapeRef.new(shape: NetworkFunctionAttachmentAZIdList, location_name: "AddAvailabilityZoneId"))
16580
+ ModifyTransitGatewayNetworkFunctionAttachmentRequest.add_member(:remove_availability_zones, Shapes::ShapeRef.new(shape: NetworkFunctionAttachmentAZNameList, location_name: "RemoveAvailabilityZone"))
16581
+ ModifyTransitGatewayNetworkFunctionAttachmentRequest.add_member(:remove_availability_zone_ids, Shapes::ShapeRef.new(shape: NetworkFunctionAttachmentAZIdList, location_name: "RemoveAvailabilityZoneId"))
16582
+ ModifyTransitGatewayNetworkFunctionAttachmentRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
16583
+ ModifyTransitGatewayNetworkFunctionAttachmentRequest.struct_class = Types::ModifyTransitGatewayNetworkFunctionAttachmentRequest
16584
+
16585
+ ModifyTransitGatewayNetworkFunctionAttachmentResult.add_member(:transit_gateway_network_function_attachment, Shapes::ShapeRef.new(shape: TransitGatewayNetworkFunctionAttachment, location_name: "transitGatewayNetworkFunctionAttachment"))
16586
+ ModifyTransitGatewayNetworkFunctionAttachmentResult.struct_class = Types::ModifyTransitGatewayNetworkFunctionAttachmentResult
16587
+
16503
16588
  ModifyTransitGatewayOptions.add_member(:add_transit_gateway_cidr_blocks, Shapes::ShapeRef.new(shape: TransitGatewayCidrBlockStringList, location_name: "AddTransitGatewayCidrBlocks"))
16504
16589
  ModifyTransitGatewayOptions.add_member(:remove_transit_gateway_cidr_blocks, Shapes::ShapeRef.new(shape: TransitGatewayCidrBlockStringList, location_name: "RemoveTransitGatewayCidrBlocks"))
16505
16590
  ModifyTransitGatewayOptions.add_member(:vpn_ecmp_support, Shapes::ShapeRef.new(shape: VpnEcmpSupportValue, location_name: "VpnEcmpSupport"))
@@ -16815,6 +16900,7 @@ module Aws::EC2
16815
16900
  ModifyVpcEndpointServicePermissionsRequest.add_member(:service_id, Shapes::ShapeRef.new(shape: VpcEndpointServiceId, required: true, location_name: "ServiceId"))
16816
16901
  ModifyVpcEndpointServicePermissionsRequest.add_member(:add_allowed_principals, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "AddAllowedPrincipals"))
16817
16902
  ModifyVpcEndpointServicePermissionsRequest.add_member(:remove_allowed_principals, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "RemoveAllowedPrincipals"))
16903
+ ModifyVpcEndpointServicePermissionsRequest.add_member(:permission_type, Shapes::ShapeRef.new(shape: PermissionType, location_name: "PermissionType"))
16818
16904
  ModifyVpcEndpointServicePermissionsRequest.struct_class = Types::ModifyVpcEndpointServicePermissionsRequest
16819
16905
 
16820
16906
  ModifyVpcEndpointServicePermissionsResult.add_member(:added_principals, Shapes::ShapeRef.new(shape: AddedPrincipalSet, location_name: "addedPrincipalSet"))
@@ -17067,6 +17153,10 @@ module Aws::EC2
17067
17153
 
17068
17154
  NetworkCardInterfaceTypeList.member = Shapes::ShapeRef.new(shape: NetworkCardInterfaceType, location_name: "item")
17069
17155
 
17156
+ NetworkFunctionAttachmentAZIdList.member = Shapes::ShapeRef.new(shape: String, location_name: "item")
17157
+
17158
+ NetworkFunctionAttachmentAZNameList.member = Shapes::ShapeRef.new(shape: String, location_name: "item")
17159
+
17070
17160
  NetworkInfo.add_member(:network_performance, Shapes::ShapeRef.new(shape: NetworkPerformance, location_name: "networkPerformance"))
17071
17161
  NetworkInfo.add_member(:maximum_network_interfaces, Shapes::ShapeRef.new(shape: MaxNetworkInterfaces, location_name: "maximumNetworkInterfaces"))
17072
17162
  NetworkInfo.add_member(:maximum_network_cards, Shapes::ShapeRef.new(shape: MaximumNetworkCards, location_name: "maximumNetworkCards"))
@@ -18008,6 +18098,7 @@ module Aws::EC2
18008
18098
  RejectVpcEndpointConnectionsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
18009
18099
  RejectVpcEndpointConnectionsRequest.add_member(:service_id, Shapes::ShapeRef.new(shape: VpcEndpointServiceId, required: true, location_name: "ServiceId"))
18010
18100
  RejectVpcEndpointConnectionsRequest.add_member(:vpc_endpoint_ids, Shapes::ShapeRef.new(shape: VpcEndpointIdList, required: true, location_name: "VpcEndpointId"))
18101
+ RejectVpcEndpointConnectionsRequest.add_member(:transit_gateway_attachment_ids, Shapes::ShapeRef.new(shape: TransitGatewayAttachmentIdList, location_name: "TransitGatewayAttachmentId"))
18011
18102
  RejectVpcEndpointConnectionsRequest.struct_class = Types::RejectVpcEndpointConnectionsRequest
18012
18103
 
18013
18104
  RejectVpcEndpointConnectionsResult.add_member(:unsuccessful, Shapes::ShapeRef.new(shape: UnsuccessfulItemSet, location_name: "unsuccessful"))
@@ -19365,6 +19456,7 @@ module Aws::EC2
19365
19456
  Snapshot.add_member(:completion_duration_minutes, Shapes::ShapeRef.new(shape: SnapshotCompletionDurationMinutesResponse, location_name: "completionDurationMinutes"))
19366
19457
  Snapshot.add_member(:completion_time, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "completionTime"))
19367
19458
  Snapshot.add_member(:full_snapshot_size_in_bytes, Shapes::ShapeRef.new(shape: Long, location_name: "fullSnapshotSizeInBytes"))
19459
+ Snapshot.add_member(:associated_kms_keys, Shapes::ShapeRef.new(shape: AssociatedKmsKeySet, location_name: "associatedKmsKeySet"))
19368
19460
  Snapshot.add_member(:snapshot_id, Shapes::ShapeRef.new(shape: String, location_name: "snapshotId"))
19369
19461
  Snapshot.add_member(:volume_id, Shapes::ShapeRef.new(shape: String, location_name: "volumeId"))
19370
19462
  Snapshot.add_member(:state, Shapes::ShapeRef.new(shape: SnapshotState, location_name: "status"))
@@ -20099,6 +20191,8 @@ module Aws::EC2
20099
20191
 
20100
20192
  TransitGatewayAttachmentBgpConfigurationList.member = Shapes::ShapeRef.new(shape: TransitGatewayAttachmentBgpConfiguration, location_name: "item")
20101
20193
 
20194
+ TransitGatewayAttachmentIdList.member = Shapes::ShapeRef.new(shape: TransitGatewayAttachmentId, location_name: "item")
20195
+
20102
20196
  TransitGatewayAttachmentIdStringList.member = Shapes::ShapeRef.new(shape: TransitGatewayAttachmentId)
20103
20197
 
20104
20198
  TransitGatewayAttachmentList.member = Shapes::ShapeRef.new(shape: TransitGatewayAttachment, location_name: "item")
@@ -20289,6 +20383,22 @@ module Aws::EC2
20289
20383
 
20290
20384
  TransitGatewayNatRuleRequestList.member = Shapes::ShapeRef.new(shape: TransitGatewayNatRuleRequest, location_name: "item")
20291
20385
 
20386
+ TransitGatewayNetworkFunctionAttachment.add_member(:transit_gateway_attachment_id, Shapes::ShapeRef.new(shape: TransitGatewayAttachmentId, location_name: "transitGatewayAttachmentId"))
20387
+ TransitGatewayNetworkFunctionAttachment.add_member(:transit_gateway_id, Shapes::ShapeRef.new(shape: String, location_name: "transitGatewayId"))
20388
+ TransitGatewayNetworkFunctionAttachment.add_member(:transit_gateway_owner_id, Shapes::ShapeRef.new(shape: String, location_name: "transitGatewayOwnerId"))
20389
+ TransitGatewayNetworkFunctionAttachment.add_member(:resource_owner_id, Shapes::ShapeRef.new(shape: String, location_name: "resourceOwnerId"))
20390
+ TransitGatewayNetworkFunctionAttachment.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, location_name: "resourceId"))
20391
+ TransitGatewayNetworkFunctionAttachment.add_member(:availability_zones, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "availabilityZoneSet"))
20392
+ TransitGatewayNetworkFunctionAttachment.add_member(:availability_zone_ids, Shapes::ShapeRef.new(shape: ValueStringList, location_name: "availabilityZoneIdSet"))
20393
+ TransitGatewayNetworkFunctionAttachment.add_member(:state, Shapes::ShapeRef.new(shape: TransitGatewayAttachmentState, location_name: "state"))
20394
+ TransitGatewayNetworkFunctionAttachment.add_member(:creation_time, Shapes::ShapeRef.new(shape: MillisecondDateTime, location_name: "creationTime"))
20395
+ TransitGatewayNetworkFunctionAttachment.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
20396
+ TransitGatewayNetworkFunctionAttachment.struct_class = Types::TransitGatewayNetworkFunctionAttachment
20397
+
20398
+ TransitGatewayNetworkFunctionAttachmentIdList.member = Shapes::ShapeRef.new(shape: TransitGatewayAttachmentId, location_name: "item")
20399
+
20400
+ TransitGatewayNetworkFunctionAttachmentList.member = Shapes::ShapeRef.new(shape: TransitGatewayNetworkFunctionAttachment, location_name: "item")
20401
+
20292
20402
  TransitGatewayNetworkInterfaceIdList.member = Shapes::ShapeRef.new(shape: NetworkInterfaceId, location_name: "item")
20293
20403
 
20294
20404
  TransitGatewayOptions.add_member(:amazon_side_asn, Shapes::ShapeRef.new(shape: Long, location_name: "amazonSideAsn"))
@@ -21279,6 +21389,8 @@ module Aws::EC2
21279
21389
  VpcEndpointConnection.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
21280
21390
  VpcEndpointConnection.add_member(:vpc_endpoint_region, Shapes::ShapeRef.new(shape: String, location_name: "vpcEndpointRegion"))
21281
21391
  VpcEndpointConnection.add_member(:payer_responsibilities, Shapes::ShapeRef.new(shape: PayerResponsibilitySet, location_name: "payerResponsibilitySet"))
21392
+ VpcEndpointConnection.add_member(:transit_gateway_attachment_id, Shapes::ShapeRef.new(shape: TransitGatewayAttachmentId, location_name: "transitGatewayAttachmentId"))
21393
+ VpcEndpointConnection.add_member(:transit_gateway_attachment_owner, Shapes::ShapeRef.new(shape: String, location_name: "transitGatewayAttachmentOwner"))
21282
21394
  VpcEndpointConnection.struct_class = Types::VpcEndpointConnection
21283
21395
 
21284
21396
  VpcEndpointConnectionSet.member = Shapes::ShapeRef.new(shape: VpcEndpointConnection, location_name: "item")
@@ -21710,6 +21822,14 @@ module Aws::EC2
21710
21822
  o.output = Shapes::ShapeRef.new(shape: AssociateIpamResourceDiscoveryResult)
21711
21823
  end)
21712
21824
 
21825
+ api.add_operation(:associate_kms_key_id, Seahorse::Model::Operation.new.tap do |o|
21826
+ o.name = "AssociateKmsKeyId"
21827
+ o.http_method = "POST"
21828
+ o.http_request_uri = "/"
21829
+ o.input = Shapes::ShapeRef.new(shape: AssociateKmsKeyIdRequest)
21830
+ o.output = Shapes::ShapeRef.new(shape: AssociateKmsKeyIdResult)
21831
+ end)
21832
+
21713
21833
  api.add_operation(:associate_nat_gateway_address, Seahorse::Model::Operation.new.tap do |o|
21714
21834
  o.name = "AssociateNatGatewayAddress"
21715
21835
  o.http_method = "POST"
@@ -22726,6 +22846,14 @@ module Aws::EC2
22726
22846
  o.output = Shapes::ShapeRef.new(shape: CreateTransitGatewayMulticastDomainResult)
22727
22847
  end)
22728
22848
 
22849
+ api.add_operation(:create_transit_gateway_network_function_attachment, Seahorse::Model::Operation.new.tap do |o|
22850
+ o.name = "CreateTransitGatewayNetworkFunctionAttachment"
22851
+ o.http_method = "POST"
22852
+ o.http_request_uri = "/"
22853
+ o.input = Shapes::ShapeRef.new(shape: CreateTransitGatewayNetworkFunctionAttachmentRequest)
22854
+ o.output = Shapes::ShapeRef.new(shape: CreateTransitGatewayNetworkFunctionAttachmentResult)
22855
+ end)
22856
+
22729
22857
  api.add_operation(:create_transit_gateway_peering_attachment, Seahorse::Model::Operation.new.tap do |o|
22730
22858
  o.name = "CreateTransitGatewayPeeringAttachment"
22731
22859
  o.http_method = "POST"
@@ -23526,6 +23654,14 @@ module Aws::EC2
23526
23654
  o.output = Shapes::ShapeRef.new(shape: DeleteTransitGatewayMulticastDomainResult)
23527
23655
  end)
23528
23656
 
23657
+ api.add_operation(:delete_transit_gateway_network_function_attachment, Seahorse::Model::Operation.new.tap do |o|
23658
+ o.name = "DeleteTransitGatewayNetworkFunctionAttachment"
23659
+ o.http_method = "POST"
23660
+ o.http_request_uri = "/"
23661
+ o.input = Shapes::ShapeRef.new(shape: DeleteTransitGatewayNetworkFunctionAttachmentRequest)
23662
+ o.output = Shapes::ShapeRef.new(shape: DeleteTransitGatewayNetworkFunctionAttachmentResult)
23663
+ end)
23664
+
23529
23665
  api.add_operation(:delete_transit_gateway_peering_attachment, Seahorse::Model::Operation.new.tap do |o|
23530
23666
  o.name = "DeleteTransitGatewayPeeringAttachment"
23531
23667
  o.http_method = "POST"
@@ -25773,6 +25909,14 @@ module Aws::EC2
25773
25909
  )
25774
25910
  end)
25775
25911
 
25912
+ api.add_operation(:describe_transit_gateway_network_function_attachments, Seahorse::Model::Operation.new.tap do |o|
25913
+ o.name = "DescribeTransitGatewayNetworkFunctionAttachments"
25914
+ o.http_method = "POST"
25915
+ o.http_request_uri = "/"
25916
+ o.input = Shapes::ShapeRef.new(shape: DescribeTransitGatewayNetworkFunctionAttachmentsRequest)
25917
+ o.output = Shapes::ShapeRef.new(shape: DescribeTransitGatewayNetworkFunctionAttachmentsResult)
25918
+ end)
25919
+
25776
25920
  api.add_operation(:describe_transit_gateway_peering_attachments, Seahorse::Model::Operation.new.tap do |o|
25777
25921
  o.name = "DescribeTransitGatewayPeeringAttachments"
25778
25922
  o.http_method = "POST"
@@ -26493,6 +26637,14 @@ module Aws::EC2
26493
26637
  o.output = Shapes::ShapeRef.new(shape: DisassociateIpamResourceDiscoveryResult)
26494
26638
  end)
26495
26639
 
26640
+ api.add_operation(:disassociate_kms_key_id, Seahorse::Model::Operation.new.tap do |o|
26641
+ o.name = "DisassociateKmsKeyId"
26642
+ o.http_method = "POST"
26643
+ o.http_request_uri = "/"
26644
+ o.input = Shapes::ShapeRef.new(shape: DisassociateKmsKeyIdRequest)
26645
+ o.output = Shapes::ShapeRef.new(shape: DisassociateKmsKeyIdResult)
26646
+ end)
26647
+
26496
26648
  api.add_operation(:disassociate_nat_gateway_address, Seahorse::Model::Operation.new.tap do |o|
26497
26649
  o.name = "DisassociateNatGatewayAddress"
26498
26650
  o.http_method = "POST"
@@ -28229,6 +28381,14 @@ module Aws::EC2
28229
28381
  o.output = Shapes::ShapeRef.new(shape: ModifyTransitGatewayMeteringPolicyResult)
28230
28382
  end)
28231
28383
 
28384
+ api.add_operation(:modify_transit_gateway_network_function_attachment, Seahorse::Model::Operation.new.tap do |o|
28385
+ o.name = "ModifyTransitGatewayNetworkFunctionAttachment"
28386
+ o.http_method = "POST"
28387
+ o.http_request_uri = "/"
28388
+ o.input = Shapes::ShapeRef.new(shape: ModifyTransitGatewayNetworkFunctionAttachmentRequest)
28389
+ o.output = Shapes::ShapeRef.new(shape: ModifyTransitGatewayNetworkFunctionAttachmentResult)
28390
+ end)
28391
+
28232
28392
  api.add_operation(:modify_transit_gateway_policy_table_entry, Seahorse::Model::Operation.new.tap do |o|
28233
28393
  o.name = "ModifyTransitGatewayPolicyTableEntry"
28234
28394
  o.http_method = "POST"
@@ -139,6 +139,12 @@ module Aws::EC2
139
139
  data[:full_snapshot_size_in_bytes]
140
140
  end
141
141
 
142
+ # The additional KMS keys that are associated with the snapshot.
143
+ # @return [Array<Types::AssociatedKmsKey>]
144
+ def associated_kms_keys
145
+ data[:associated_kms_keys]
146
+ end
147
+
142
148
  # The ID of the volume that was used to create the snapshot. Snapshots
143
149
  # created by a copy snapshot operation have an arbitrary volume ID that
144
150
  # you should not use for any purpose.